assistant_tool: Decouple `Tool` from `Workspace` (#26309)

This PR decouples the `Tool` trait from the `Workspace` (and from the
UI, in general).

`Tool::run` now takes a `WeakEntity<Project>` instead of a
`WeakEntity<Workspace>` and a `Window`.

Release Notes:

- N/A
18f3f8097fMarshall Bowers committed on 3/7/2025, 10:41:56 PM· committed by GitHubparent4f6682c
13 files changedLine totals unavailable