ZIm/crates/project/src
Bennet Bo Fenner 95d78ff8d5
context server: Make requests type safe (#32254)
This changes the context server crate so that the input/output for a
request are encoded at the type level, similar to how it is done for LSP
requests.

This also makes it easier to write tests that mock context servers, e.g.
you can write something like this now when using the `test-support`
feature of the `context-server` crate:

```rust
create_fake_transport("mcp-1", cx.background_executor())
    .on_request::<context_server::types::request::PromptsList>(|_params| {
        PromptsListResponse {
            prompts: vec![/* some prompts */],
            ..
        }
    })
```

Release Notes:

- N/A
2025-06-06 17:47:21 +02:00
..
context_server_store context_store: Refactor state management (#29910) 2025-05-05 21:36:12 +02:00
debugger debugger: Use UUID for Go debug binary names, do not rely on OUT_DIR (#32004) 2025-06-04 11:18:04 +02:00
git_store Fix a panic in merge conflict parsing (#32119) 2025-06-04 20:05:26 -04:00
lsp_command Remove language::markdown (#25136) 2025-02-19 08:55:36 -07:00
lsp_store Pull diagnostics fixes (#32242) 2025-06-06 16:18:05 +03:00
manifest_tree python: Re-land usage of source file path in toolchain picker (#31893) 2025-06-02 16:29:06 +00:00
buffer_store.rs Show progress as the agent locates which range it needs to edit (#31582) 2025-05-28 12:32:54 +00:00
color_extractor.rs Simplify static expression to a constant (#23193) 2025-01-15 19:31:21 +00:00
connection_manager.rs Finish removing git repository state and scanning logic from worktrees (#27568) 2025-04-01 17:41:20 -04:00
context_server_store.rs context server: Make requests type safe (#32254) 2025-06-06 17:47:21 +02:00
debounced_delay.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
debugger.rs debugger: More tidy up for SSH (#28993) 2025-04-21 16:00:03 +00:00
direnv.rs Environment loading fixes (#19144) 2024-10-16 12:14:40 +02:00
environment.rs Properly load environment variables from the login shell (#31799) 2025-06-03 19:16:26 -06:00
git_store.rs git: Pick which remote to fetch (#26897) 2025-06-06 11:28:07 -04:00
image_store.rs zlog: Replace usages of env_logger in tests with zlog (#31436) 2025-05-26 11:48:50 -04:00
lsp_command.rs Pull diagnostics fixes (#32242) 2025-06-06 16:18:05 +03:00
lsp_store.rs Pull diagnostics fixes (#32242) 2025-06-06 16:18:05 +03:00
manifest_tree.rs python: Re-land usage of source file path in toolchain picker (#31893) 2025-06-02 16:29:06 +00:00
prettier_store.rs Use read-only access methods for read-only entity operations (#31479) 2025-05-26 23:04:31 -04:00
project.rs Pull diagnostics fixes (#32242) 2025-06-06 16:18:05 +03:00
project_settings.rs Pull diagnostics fixes (#32242) 2025-06-06 16:18:05 +03:00
project_tests.rs Pull diagnostics fixes (#32242) 2025-06-06 16:18:05 +03:00
search.rs Reduce allocations (#31223) 2025-05-23 14:25:17 +03:00
search_history.rs project: Use VecDeque in SearchHistory (#31224) 2025-05-23 14:25:40 +03:00
task_inventory.rs debugger: Run locators on LSP tasks for the new process modal (#32097) 2025-06-05 13:25:51 -04:00
task_store.rs Improve TypeScript task detection (#31711) 2025-05-29 20:51:20 +00:00
terminals.rs terminal: Match trait bounds with terminal input (#31441) 2025-06-02 21:12:28 -06:00
toolchain_store.rs python: Re-land usage of source file path in toolchain picker (#31893) 2025-06-02 16:29:06 +00:00
worktree_store.rs Improve TypeScript task detection (#31711) 2025-05-29 20:51:20 +00:00
yarn.rs Use read-only access methods for read-only entity operations (#31479) 2025-05-26 23:04:31 -04:00