569132d
zed 0.181.5
Joseph T. Lyons created
569132d
zed 0.181.5
Joseph T. Lyons created
2a60092
Try to identify dSYMs by UUID not channel (cherry-pick #28268) (#28294)
Cherry-picked Try to identify dSYMs by UUID not channel (#28268) This should make it possible to more reliably symbolicate crash reports from nightly, and from users with pending auto-updates. Release Notes: - N/A --------- Co-authored-by: Ben Kunkle <ben.kunkle@gmail.com> Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com> Co-authored-by: Ben Kunkle <ben.kunkle@gmail.com>
gcp-cherry-pick-bot[bot] , Conrad Irwin , and Ben Kunkle created
bcaa7cb
Properly store editor restoration data (cherry-pick #28296) (#28299)
gcp-cherry-pick-bot[bot] created
bb1ae36
agent: Add headers for code blocks (#28253)
<img width="639" alt="image" src="https://github.com/user-attachments/assets/1fd51387-cbdc-474d-b1a3-3d0201f3735a" /> Release Notes: - N/A --------- Co-authored-by: Danilo Leal <daniloleal09@gmail.com> Co-authored-by: Antonio Scandurra <me@as-cii.com>
Bennet Bo Fenner , Danilo Leal , and Antonio Scandurra created
8400adb
agent: Refine individual file item design in the edit disclosure (#28283)
<img src="https://github.com/user-attachments/assets/f1ad0598-d864-407f-8b81-6ca29e2ffae3" width="650"/> Release Notes: - N/A
Danilo Leal created
7230d17
agent: Add the history button back in the toolbar and make it a toggle (#28275)
Release Notes: - agent: The history view is now more easily accessible via the icon button in the Agent Panel toolbar. --------- Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Danilo Leal and Bennet Bo Fenner created
350fd6d
agent: Copy text as Markdown (#28272)
Release Notes: - agent: Copying text in the Agent Panel will now copy it as Markdown. Co-authored-by: Antonio Scandurra <me@as-cii.com>
Marshall Bowers and Antonio Scandurra created
45fea28
agent: Add a way to go back to thread from settings/history (#28273)
Release Notes: - N/A
Bennet Bo Fenner created
08bf1ef
agent: Adjust the thread generation design (#28193)
This PR simplifies the button to send a new message as well as the "generation" display design. Release Notes: - N/A --------- Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Danilo Leal and Bennet Bo Fenner created
0f5184a
markdown: Move `open_url` to the `MarkdownElement` as `on_url_click` (#28269)
Release Notes: - N/A --------- Co-authored-by: Antonio Scandurra <me@as-cii.com>
Marshall Bowers and Antonio Scandurra created
45aff05
Fix bad unicode calculations in do_completion (cherry-pick #28259) (#28286)
Cherry-picked Fix bad unicode calculations in do_completion (#28259) Co-authored-by: João Marcos <marcospb19@hotmail.com> Release Notes: - Fixed a panic with completions around non-ASCII code --------- Co-authored-by: João Marcos <marcospb19@hotmail.com> Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com> Co-authored-by: João Marcos <marcospb19@hotmail.com>
gcp-cherry-pick-bot[bot] , Conrad Irwin , and João Marcos created
9fd7b19
markdown: Don't retain `MarkdownStyle` in favor of using `MarkdownElement` directly (#28255)
This PR removes the retained `MarkdownStyle` on the `Markdown` entity in favor of using the `MarkdownElement` directly and passing the `MarkdownStyle` to it. This makes it so switching themes will be reflected live in the code block styles. Release Notes: - N/A --------- Co-authored-by: Antonio Scandurra <me@as-cii.com> Co-authored-by: Agus Zubiaga <hi@aguz.me>
Marshall Bowers , Antonio Scandurra , and Agus Zubiaga created
cb1b17f
agent: Remove duplicated keybinding for creating new thread in Linux (#28254)
Release Notes: - N/A
Danilo Leal created
e2eb7ea
Fix typo in system prompt (#28246)
Release Notes: - N/A
Richard Feldman created
18e7d1c
prompt_store: Remove additional code for /project (#27981)
Found leftover from https://github.com/zed-industries/zed/pull/27660 Release Notes: - N/A
Neo Nie created
d55cb8f
agent: Display keybinding to delete Prompt Editor item (#28168)
This PR makes the keybinding to remove Prompt Editor items visible in the icon button tooltip. Release Notes: - N/A
Danilo Leal created
a00ae09
Link to cited code blocks (#28217)
<img width="612" alt="Screenshot 2025-04-06 at 9 59 41 PM" src="https://github.com/user-attachments/assets/3a996b4a-ef5c-4ca6-bd16-3b180b364a3a" /> Release Notes: - Agent panel now shows links to relevant source code files above code blocks.
Richard Feldman created
46280a6
Restore direct use of the input text for Markdown `Text` (#27620)
PR #24388 changed the markdown parsing to copy parsed text in order to handle markdown escaping, removing the optimization to instead reuse text from the input. Another issue with that change was that handling of finding links within `Text` intermixed use of `text` and `parsed`, relying on the offsets matching up (which I believe was true in practice). The solution is to distinguish pulldown_cmark `Text` nodes that share bytes with the input and those that do not. Release Notes: - N/A
Michael Sloan created
3a9fe61
zed 0.181.4
Joseph T. Lyons created
28cca25
agent: Refresh UI when context or thread history changes (#28188)
I found a few more cases where the UI wasn't updated immediately after an interaction. Release Notes: - agent: Fixed delay after removing threads from "Past Interactions" - agent: Fixed delay after adding/remove context via keyboard
Agus Zubiaga created
3fde499
agent: Refresh UI when sending first message (#28180)
Release Notes: - Agent Beta: Fixed a delay when sending the first message in a new thread
Agus Zubiaga created
f176715
Try to improve behavior when agent is stuck (#28169)
Currently, it's pretty common that when the agent gets stuck, it deletes whatever it's stuck on and replaces it with a TODO comment, then cheerfully reports that it has "simpified" the implementation. This is worse than leaving the broken code, because at least a human could take over and try to get it across the finish line. This system prompt adjustment attempts to make the agent do something more useful when in this situation: report that it's stuck, explain why it's stuck, and ask the user what to do. Release Notes: - N/A
Richard Feldman created
4a302a2
If file is too big, provide the outline and suggest a follow-up tool (#28158)
<img width="622" alt="Screenshot 2025-04-05 at 5 48 14 PM" src="https://github.com/user-attachments/assets/24b9c7d4-d3e2-4929-bca8-79db5b4e5748" /> Release Notes: - The `read_files` tool now reads only the symbol outline files above a certain size, to conserve context window space. Then it suggests that the agent call `read_files` again with the relevant line ranges it saw in the outline.
Richard Feldman created
3154b53
assistant: Fix `assistant: open prompt library` not opening the prompt library (#28156)
This PR fixes the `assistant: open prompt library` action in the command palette not opening the prompt library when the Assistant Panel did not have focus. Fixes https://github.com/zed-industries/zed/issues/28058. Release Notes: - assistant: Fixed `assistant: open prompt library` not opening the prompt library when the Assistant Panel was not focused.
Marshall Bowers created
959d5f5
bedrock: Add support for tool use, cross-region inference, and Claude 3.7 Thinking (#28137)
Closes #27223 Merges: #27996, #26734, #27949 Release Notes: - AWS Bedrock: Added advanced authentication strategies with: - Short lived credentials with Session Tokens - AWS Named Profile - EC2 Identity, Pod Identity, Web Identity - AWS Bedrock: Added Claude 3.7 Thinking support. - AWS Bedrock: Adding Cross Region Inference for all combinations of regions and model availability. - Agent Beta: Added support for AWS Bedrock. --------- Co-authored-by: Marshall Bowers <git@maxdeviant.com>
Shardul Vaidya and Marshall Bowers created
2771623
copilot: Create Copilot directory if it does not exist (cherry-pick #28157) (#28178)
Cherry-picked copilot: Create Copilot directory if it does not exist (#28157) Closes https://github.com/zed-industries/zed/issues/27966 Issue: - Copilot is failing to launch because the copilot directory is missing <img width="497" alt="image" src="https://github.com/user-attachments/assets/af35eb66-7e91-4dc6-a862-d1575da33b5b" /> <img width="943" alt="image" src="https://github.com/user-attachments/assets/0b195c8c-52eb-42b9-bf36-40086398cc3f" /> Release Notes: - copilot: Fixed an issue where GitHub Copilot would not install properly if the directory was not present. --------- Co-authored-by: Marshall Bowers <git@maxdeviant.com> Co-authored-by: Richard Hao <richard@0xdev.dev> Co-authored-by: Marshall Bowers <git@maxdeviant.com>
gcp-cherry-pick-bot[bot] , Richard Hao , and Marshall Bowers created
9204877
agent: Fix opening configuration view from the model selector (cherry-pick #28154) (#28155)
Cherry-picked agent: Fix opening configuration view from the model selector (#28154) This PR fixes an issue where opening the configuration view from the model selector in the Agent (or inline assist) was not working properly. Fixes https://github.com/zed-industries/zed/issues/28078. Release Notes: - Agent Beta: Fixed an issue where selecting "Configure" in the model selector would not bring up the configuration view. Co-authored-by: Marshall Bowers <git@maxdeviant.com>
gcp-cherry-pick-bot[bot] and Marshall Bowers created
3d5035d
title_bar: Ensure git onboarding banner dismissal is properly respected (cherry-pick #28147) (#28148)
Cherry-picked title_bar: Ensure git onboarding banner dismissal is properly respected (#28147) A user reported this issue [on Discord](https://discord.com/channels/869392257814519848/873292398204170290/1357879959422636185). The issue here only arises for users which recently installed Zed or had previously not dismissed the Git Onboarding component. It was introduced by https://github.com/zed-industries/zed/pull/27412, which made the banner component reusable. For every banner, there is a value stored in the KVP store when it was first dismissed. For the git onboarding banner, this was `zed_git_banner_dismissed_at` initially, but this key would have been changed by the linked PR. A change would have resulted in the banner being shown again for users who already dismissed the panel, so for the special case of `Git Onboarding`, a check was added which ensured this would not happen. However, this check was only added for reading from the key from the DB but not on writing the git onboarding dismissal it to the DB. Thus, if a user who had not previously dismissed the panel opened Zed, we would check for the old key to be present in the DB. Since that would not be the case, the banner would be shown. If the user dismissed the panel, it would be stored in the database with the new key. Thus, on a reopen of Zed, the banner would again be shown since for the old key there would still be no value present and users are unable to dismiss the panel. This PR fixes this behavior by moving the check into the method that generates the key. With this, users which were unaffected by the bug will still not see the panel again. Users who would install Zed with this change present will be able to properly dismiss the panel aswell. Users which were affected by the bug need to dismiss the banner one more time. That happens because I did not want to modify the dismissal check to check for two keys (the original one and the new one), as it would clutter the logic even more for this special case. If this would be preferred, feel free to let me know. Release Notes: - Fixed an issue where dismissing the git onboarding banner would not be persisted across sessions. Co-authored-by: Finn Evers <dev@bahn.sh>
gcp-cherry-pick-bot[bot] and Finn Evers created
d047801
agent: Fix tool use output rendering (#28146)
Tool use output wouldn't get rendered in some states. Release Notes: - N/A
Agus Zubiaga created
e7d1d73
agent: Add missing notify in `ThreadHistory::delete_thread` (#28144)
This would cause the history view not to get refreshed immediately when a thread was deleted Release Notes: - agent: Fixed a bug where the history view wouldn't refresh after deleting a thread
Agus Zubiaga created
149db5c
agent: Fix thread summary generation (#28143)
#28102 introduced a bug where thread summaries wouldn't get generated because they would get set to the default title instead of `None`. Not adding a release note because the bug didn't make it to Preview. Release Notes: - N/A
Agus Zubiaga created
992d791
Introduce "Near" block type (#28032)
A "Near" block acts similarly to a "Below" block, but can (if it's
height is <= one line height) be shown on the end of the preceding line
instead of adding an entire blank line to the editor.
You can test it out by pasting this into `go_to_diagnostic_impl` and
then press `F8`
```
let buffer = self.buffer.read(cx).snapshot(cx);
let selection = self.selections.newest_anchor();
self.display_map.update(cx, |display_map, cx| {
display_map.insert_blocks(
[BlockProperties {
placement: BlockPlacement::Near(selection.start),
height: Some(1),
style: BlockStyle::Flex,
render: Arc::new(|_| {
div()
.w(px(100.))
.h(px(16.))
.bg(gpui::hsla(0., 0., 1., 0.5))
.into_any_element()
}),
priority: 0,
}],
cx,
)
});
return;
```
Release Notes:
- N/A
---------
Co-authored-by: Antonio Scandurra <me@as-cii.com>
Conrad Irwin and Antonio Scandurra created
18bf078
Fix panic calling blocks_intersecting_buffer_range with an empty range (#28049)
Previously, when comparing a block with an empty range to an empty query range in non-inclusive mode, our binary search logic could end up computing an inverted range, causing a panic. This commit adds special casing when comparing empty blocks with empty ranges. cc @as-cii: I'm realizing that the approach to searching for the intersecting replacement blocks makes some invalid assumptions about the ordering of replace decorations. They aren't ordered at all by their end range. @maxbrunsfeld and I are wondering if long term, we should remove replace decorations and find another solution for folding buffers in multi buffers. Release Notes: - Fixed an occasional panic that would occur when navigating to the next change hunk with a pending inline transformation present. Co-authored-by: Peter Tripp <petertripp@gmail.com>
Nathan Sobo and Peter Tripp created
3ba619d
agent: Fix panic when opening Agent diff from the workspace (#28132)
This PR fixes a panic that could occur when opening the Agent diff from the workspace (with the agent panel closed). Release Notes: - agent: Fixed a panic when running the `agent: open agent diff` command with the Agent Panel closed.
Marshall Bowers created
3559464
agent: Use Markdown to render tool input and output content (#28127)
Release Notes: - agent: Tool call's input and output content are now rendered with Markdown, which allows them to be selected and copied. --------- Co-authored-by: Agus Zubiaga <hi@aguz.me>
Danilo Leal and Agus Zubiaga created
32a03ee
agent: Hide the scrollbar if there's no mouse movement (#28129)
Release Notes: - agent: The scrollbar now automatically hides if there's no mouse movement on the thread list. --------- Co-authored-by: Agus Zubiaga <agus@zed.dev> Co-authored-by: Agus Zubiaga <hi@aguz.me>
Danilo Leal , Agus Zubiaga , and Agus Zubiaga created
912ce5d
Add tool calling support for GitHub Copilot Chat (#28035)
This PR adds tool calling support for GitHub Copilot Chat models. Currently only supports the Claude family of models. Release Notes: - agent: Added tool calling support for Claude models in GitHub Copilot Chat. --------- Co-authored-by: Marshall Bowers <git@maxdeviant.com>
Bennet Bo Fenner and Marshall Bowers created
97e8f49
agent: Fix deleting threads in history via keyboard (#28113)
Using `shift-backspace` now because we need `backspace` for search Release Notes: - agent: Fix deleting threads in history via keyboard
Agus Zubiaga created
736d5e6
agent: Disable redundant tools (might delete later) (#28114)
Release Notes: - agent: Disable tools that are redundant in the presence of the bash tool
Agus Zubiaga created
68023fd
Properly query remote ssh server for language servers by name (cherry-pick #28124) (#28125)
Cherry-picked Properly query remote ssh server for language servers by name (#28124) Follow-up of https://github.com/zed-industries/zed/pull/27775 Release Notes: - N/A Co-authored-by: Kirill Bulatov <kirill@zed.dev>
gcp-cherry-pick-bot[bot] and Kirill Bulatov created
253ef7e
jsx-tag-auto-close: Remove potential source of bugs and panics (cherry-pick #28119) (#28122)
Cherry-picked jsx-tag-auto-close: Remove potential source of bugs and panics (#28119) Switch to using anchors for storing edited ranges rather than offsets as they have to be used with multiple buffer snapshots Release Notes: - N/A Co-authored-by: Ben Kunkle <ben@zed.dev>
gcp-cherry-pick-bot[bot] and Ben Kunkle created
687cc5d
Fix panic or bad hunks when expanding hunks w/ multiple ranges in 1 hunk (#28117)
Release Notes: - Fixed a crash that could happen when expanding diff hunks with multiple cursors in one hunk.
Max Brunsfeld created
290d249
agent: Fix invalid tool names in batch tool description (#28109)
The description of the Batch Tool was still referring using `-` as a seperator for tool names Release Notes: - N/A
Bennet Bo Fenner created
4922a00
agent: Remove `edit_files` tool (#28041)
Release Notes: - agent: Remove `edit_files` tool in favor of `find_replace`
Agus Zubiaga created
96c9824
agent: Allow renaming threads (#28102)
Release Notes: - agent: Add support for renaming threads --------- Co-authored-by: Danilo Leal <daniloleal09@gmail.com> Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de> Co-authored-by: Richard Feldman <oss@rtfeldman.com>
Agus Zubiaga , Danilo Leal , Bennet Bo Fenner , and Richard Feldman created
a831517
Try adding beta token-efficient tool use for 3.7 Sonnet (#28100)
Release Notes: - Enabled [token-efficient tool use (beta)](https://docs.anthropic.com/en/docs/build-with-claude/tool-use/token-efficient-tool-use) for Claude 3.7 Sonnet models
Richard Feldman created
9933512
zed 0.181.3
Joseph T. Lyons created
e845765
ai: Separate model settings for each feature (#28088)
Closes: https://github.com/zed-industries/zed/issues/20582 Allows users to select a specific model for each AI-powered feature: - Agent panel - Inline assistant - Thread summarization - Commit message generation If unspecified for a given feature, it will use the `default_model` setting. Release Notes: - Added support for configuring a specific model for each AI-powered feature --------- Co-authored-by: Danilo Leal <daniloleal09@gmail.com> Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Agus Zubiaga , Danilo Leal , and Bennet Bo Fenner created
b037c91
assistant_eval: Add ACE framework (#27181)
Release Notes: - N/A --------- Co-authored-by: Michael Sloan <michael@zed.dev>
Thomas Mickley-Doyle and Michael Sloan created
aca7f54
agent: Add search to Thread History (#28085)
 Release Notes: - agent: Add search box to thread history --------- Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de> Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Agus Zubiaga , Bennet Bo Fenner , and Danilo Leal created