568e1d0
acp: Add e2e test support for NativeAgent (#36635)
Click to expand commit body
Release Notes: - N/A
Ben Brandt created
568e1d0
acp: Add e2e test support for NativeAgent (#36635)
Release Notes: - N/A
Ben Brandt created
6f24277
acp: Update to 0.0.30 (#36643)
See: https://github.com/zed-industries/agent-client-protocol/pull/20 Release Notes: - N/A
Agus Zubiaga created
8ef9ecc
windows: Fix `RevealInFileManager` (#36592)
Closes #36314 This PR takes inspiration from [Electron’s implementation](https://github.com/electron/electron/blob/dd54e84a58531b52680f7f736f593ee887eff6a7/shell/common/platform_util_win.cc#L268-L314). Before and after: https://github.com/user-attachments/assets/53eec5d3-23c7-4ee1-8477-e524b0538f60 Release Notes: - N/A
张小白 created
3dd3629
docs: Add table of all actions (#36642)
Closes #ISSUE Release Notes: - N/A *or* Added/Fixed/Improved ...
Ben Kunkle created
74c0ba9
acp: Reliably suppress gemini abort error (#36640)
https://github.com/zed-industries/zed/pull/36633 relied on the prompt request responding before cancel, but that's not guaranteed Release Notes: - N/A
Agus Zubiaga created
c20233e
agent_ui: Fix signed-in check in Zed provider configuration (#36639)
This PR fixes the check for if the user is signed in in the Agent panel configuration. Supersedes https://github.com/zed-industries/zed/pull/36634. Release Notes: - Fixed the user's plan badge near the Zed provider in the Agent panel not showing despite being signed in.
Marshall Bowers created
ffb9951
acp: Supress gemini aborted errors (#36633)
This PR adds a temporary workaround to supress "Aborted" errors from Gemini when cancelling generation. This won't be needed once https://github.com/google-gemini/gemini-cli/pull/6656 is generally available. Release Notes: - N/A
Agus Zubiaga created
5120b6b
acp: Handle Gemini Auth Better (#36631)
Release Notes: - N/A --------- Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Conrad Irwin and Danilo Leal created
c9c708f
nix: Re-enable nightly builds (#36632)
Release Notes: - N/A
Julia Ryan created
9e34bb3
acp: Hide feedback buttons for external agents (#36630)
Release Notes: - N/A
Agus Zubiaga created
595cf1c
acp: Rename `assistant::QuoteSelection` and support it in agent2 threads (#36628)
Release Notes: - N/A
Cole Miller created
d1820b1
acp: Suggest installing gemini@preview instead of latest (#36629)
Release Notes: - N/A
Agus Zubiaga created
fb7edbf
thread_view: Add recent history entries & adjust empty state (#36625)
Release Notes: - N/A
Danilo Leal created
02dabbb
acp thread view: Do not go into editing mode if unsupported (#36623)
Release Notes: - N/A
Agus Zubiaga created
fa8bef1
Bump Zed to v0.202 (#36622)
Release Notes: -N/A
Joseph T. Lyons created
739e455
Fix typo in `Excerpt::contains` (#36621)
Follow-up to #36524 Release Notes: - N/A
Cole Miller created
b0bef3a
agent2: Clean up tool descriptions (#36619)
schemars was passing along the newlines from the doc comments. This should make these closer to the markdown file versions we had in the old agent. Release Notes: - N/A
Ben Brandt created
2813073
message editor: Only allow types of content the agent can handle (#36616)
Uses the new [`acp::PromptCapabilities`](https://github.com/zed-industries/agent-client-protocol/blob/a39b7f635d67528f0a4e05e086ab283b9fc5cb93/rust/agent.rs#L194-L215) to disable non-file mentions and images for agents that don't support them. Release Notes: - N/A
Agus Zubiaga created
74ce543
clippy: println_empty_string & non_minimal_cfg (#36614)
- **clippy: Fix println-empty-string** - **clippy: non-minimal-cfg** Related to #36577 Release Notes: - N/A
Piotr Osiewicz created
b6722ca
Remove special case for singleton buffers from `MultiBufferSnapshot::anchor_at` (#36524)
This may be responsible for a panic that we've been seeing with increased frequency in agent2 threads. Release Notes: - N/A Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Cole Miller and Conrad Irwin created
ec8106d
Fix `clippy::println_empty_string`, `clippy::while_let_on_iterator`, `clippy::while_let_on_iterator` lint style violations (#36613)
Related: #36577 Release Notes: - N/A
Umesh Yadav created
41e28a7
Add tracked buffers for agent2 mentions (#36608)
Release Notes: - N/A
Cole Miller created
8334cdb
agent2: Port feedback (#36603)
Release Notes: - N/A --------- Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
Bennet Bo Fenner and Ben Brandt created
d0fb612
Fix scrollbar flicker when streaming agent2 response (#36606)
This was caused by calling `list_state.splice` on updated entries. We don't need to splice the entry, as we'll recompute its measurements automatically when we render it. Release Notes: - N/A
Antonio Scandurra created
699f58a
Capture telemetry when requesting completions in agent2 (#36600)
Release Notes: - N/A
Antonio Scandurra created
1e6cefa
Fix `clippy::len_zero` lint style violations (#36589)
Related: #36577 Release Notes: - N/A --------- Signed-off-by: Umesh Yadav <git@umesh.dev>
Umesh Yadav created
92352f9
Fix `clippy::map_clone` lint violations (#36585)
#36577 Release Notes: - N/A
tidely created
eaf6b56
Miscellaneous UX fixes for agent2 (#36591)
Release Notes: - N/A
Antonio Scandurra created
85865fc
agent2: New thread from summary (#36578)
Release Notes: - N/A --------- Co-authored-by: Agus Zubiaga <agus@zed.dev> Co-authored-by: Cole Miller <cole@zed.dev>
Bennet Bo Fenner , Agus Zubiaga , and Cole Miller created
c5040bd
remote: Do not leave client hanging on unhandled proto message (#36590)
Otherwise the client will wait for a response that never arrives, causing the task to lock up Release Notes: - N/A
Lukas Wirth created
bc79076
Fix `clippy::manual_map` lint violations (#36584)
#36577 Release Notes: - N/A
tidely created
de12633
Wait for agent2 feature flag before loading panel (#36583)
Release Notes: - N/A
Antonio Scandurra created
6ed29fb
Enforce style lints which do not have violations (#36580)
Release Notes: - N/A
tidely created
4ee565c
Fix mentions roundtrip from/to database and other history bugs (#36575)
Release Notes: - N/A
Antonio Scandurra created
f80a0ba
Move clippy lints which aren't apart of the style category (#36579)
Move lints which aren't apart of the style category. Motivation: They might get accidentally get reverted when we turn the style category on again and remove the manual lint enforcements. Release Notes: - N/A
tidely created
7bdc99a
Fix `clippy::redundant_clone` lint violations (#36558)
This removes around 900 unnecessary clones, ranging from cloning a few ints all the way to large data structures and images. A lot of these were fixed using `cargo clippy --fix --workspace --all-targets`, however it often breaks other lints and needs to be run again. This was then followed up with some manual fixing. I understand this is a large diff, but all the changes are pretty trivial. Rust is doing some heavy lifting here for us. Once I get it up to speed with main, I'd appreciate this getting merged rather sooner than later. Release Notes: - N/A
tidely created
cf7c64d
lints: A bunch of extra style lint fixes (#36568)
- **lints: Fix 'doc_lazy_continuation'** - **lints: Fix 'doc_overindented_list_items'** - **inherent_to_string and io_other_error** - **Some more lint fixes** - **lints: enable bool_assert_comparison, match_like_matches_macro and wrong_self_convention** Release Notes: - N/A
Piotr Osiewicz created
a32a264
agent2: Use correct completion intent when generating summary (#36573)
Release Notes: - N/A
Bennet Bo Fenner created
0a80209
agent2: Fix remaining update_model_request_usage todos (#36570)
Release Notes: - N/A
Bennet Bo Fenner created
83d361b
Add more string and comment overrides (#36566)
Follow-up to #36469 Part of the issue was that we hadn't defined comment and string overrides for some languages. Hence, even after the fix edit predictions would show up in comments for me in e.g. JSONC files. This PR adds some more overrides where possible for this repo to ensure this happens less frequently. Release Notes: - N/A
Finn Evers created
4290f04
agent2: Fix token count not updating when changing model/toggling burn mode (#36562)
Release Notes: - N/A --------- Co-authored-by: Antonio Scandurra <me@as-cii.com>
Bennet Bo Fenner and Antonio Scandurra created
44941b5
Fix `clippy::for_kv_map` lint violations (#36493)
Release Notes: - N/A
tidely created
d4d049d
agent2: Port more Zed AI features (#36559)
Release Notes: - N/A --------- Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Bennet Bo Fenner and Danilo Leal created
4c85a0d
project: Register dynamic capabilities even when registerOptions doesn't exist (#36554)
Closes #36482 Looks like we accidentally referenced [common/formatting.ts#L67-L70](https://github.com/microsoft/vscode-languageserver-node/blob/d90a87f9557a0df9142cfb33e251cfa6fe27d970/client/src/common/formatting.ts#L67-L70) instead of [common/client.ts#L2133](https://github.com/microsoft/vscode-languageserver-node/blob/d90a87f9557a0df9142cfb33e251cfa6fe27d970/client/src/common/client.ts#L2133). Release Notes: - Fixed code not formatting on save in language servers like Biome. (Preview Only)
Smit Barmase created
5d2bb24
ACP history mentions (#36551)
- **TEMP** - **Update @-mentions to use new history** Closes #ISSUE Release Notes: - N/A
Conrad Irwin created
159b5e9
agent2: Port `user_modifier_to_send` setting (#36550)
Release Notes: - N/A
Danilo Leal created
1e1110e
thread_view: Increase click area of the user rules links (#36549)
Release Notes: - N/A
Danilo Leal created
6096040
thread view: Refine the UI a bit (#36504)
Release Notes: - N/A --------- Co-authored-by: Agus Zubiaga <agus@zed.dev>
Danilo Leal and Agus Zubiaga created
fbba6ad
docs: Document `global_lsp_settings.button` and remove duplicate docs for `lsp_highlight_debounce` (#36547)
Follow up to this discussion: https://github.com/zed-industries/zed/pull/36337 Release Notes: - N/A This will (gracefully) break links to https://zed.dev/docs/configuring-zed#lsp-highlight-debounce-1 I don't see anything show up for that on google or github search and I don't think its load bearing. --------- Co-authored-by: zumbalogy <3770982+zumbalogy@users.noreply.github.com>
zumbalogy and zumbalogy created
d273aca
agent_ui: Add check to prevent sending empty messages in MessageEditor (#36545)
Release Notes: - N/A
Ben Brandt created