ZIm/crates/collab/src
Bennet Bo Fenner 9cb5ffac25
context_store: Refactor state management (#29910)
Because we instantiated `ContextServerManager` both in `agent` and
`assistant-context-editor`, and these two entities track the running MCP
servers separately, we were effectively running every MCP server twice.

This PR moves the `ContextServerManager` into the project crate (now
called `ContextServerStore`). The store can be accessed via a project
instance. This ensures that we only instantiate one `ContextServerStore`
per project.

Also, this PR adds a bunch of tests to ensure that the
`ContextServerStore` behaves correctly (Previously there were none).

Closes #28714
Closes #29530

Release Notes:

- N/A
2025-05-05 21:36:12 +02:00
..
api collab: Improve GET /billing/usage endpoint (#29898) 2025-05-05 02:31:02 +00:00
bin windows: Make collab run on Windows (#23117) 2025-01-17 09:39:13 +02:00
db collab: Pass down staff usage in UpdatePlan message (#29939) 2025-05-05 18:02:54 +00:00
llm collab: Pass down staff usage in UpdatePlan message (#29939) 2025-05-05 18:02:54 +00:00
rpc chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
tests context_store: Refactor state management (#29910) 2025-05-05 21:36:12 +02:00
api.rs collab: Return feature flags with authenticated user (#29455) 2025-04-26 01:49:25 +00:00
auth.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
cents.rs Send llm events to snowflake too (#21091) 2024-11-22 20:40:39 -07:00
completion.rs Supermaven (#10788) 2024-05-03 12:50:42 -07:00
db.rs debugger/tasks: Remove TaskType enum (#29208) 2025-04-26 01:44:56 +02:00
env.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
errors.rs Remove more unused code related to GitHub auth and errors 2022-04-21 08:57:49 -06:00
executor.rs chore: Prepare for Rust edition bump to 2024 (without autofix) (#27791) 2025-03-31 20:10:36 +02:00
lib.rs collab: Look up Stripe prices with lookup keys (#29715) 2025-05-01 00:26:31 +00:00
llm.rs collab: Add has_extended_trial to LlmTokenClaims (#29622) 2025-04-29 20:22:51 +00:00
main.rs collab: Sync model request overages to Stripe (#29583) 2025-04-28 23:06:30 -04:00
migrations.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
rpc.rs collab: Pass down staff usage in UpdatePlan message (#29939) 2025-05-05 18:02:54 +00:00
seed.rs feature_flags: Remove remoting feature flag (#29390) 2025-04-25 03:41:11 +00:00
stripe_billing.rs collab: Add ability to initiate a checkout session for the Zed Free plan (#29767) 2025-05-01 23:35:23 +00:00
tests.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
user_backfiller.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00