Skip to content

Tags: zed-industries/zed

Tags

collab-staging

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
assistant: Make scripting a first-class concept instead of a tool (#2…

…6338)

This PR makes refactors the scripting functionality to be a first-class
concept of the assistant instead of a generic tool, which will allow us
to build a more customized experience.

- The tool prompt has been slightly tweaked and is now included as a
system message in all conversations. I'm getting decent results, but now
that it isn't in the tools framework, it will probably require more
refining.

- The model will now include an `<eval ...>` tag at the end of the
message with the script. We parse this tag incrementally as it streams
in so that we can indicate that we are generating a script before we see
the closing `</eval>` tag. Later, this will help us interpret the script
as it arrives also.

- Threads now hold a `ScriptSession` entity which manages the state of
all scripts (from parsing to exited) in a centralized way, and will
later collect all script operations so they can be displayed in the UI.

- `script_tool` has been renamed to `assistant_scripting` 

- Script source now opens in a regular read-only buffer  

Note: We still need to handle persistence properly

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <git@maxdeviant.com>

nightly

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
diagnostics: Fix losing focus when activating from diagnostics view (#…

…25517)

Closes #25509

Changes:
- If active item is already diagnostics, don't try to focus it again.

Instead of not focusing, should it just not activate instead? Something
like:

            if !workspace
                .active_item(cx)
                .map(|item| item.item_id() == existing.item_id())
                .unwrap_or(false)
            {
workspace.activate_item(&existing, true, true, window, cx);
            }


Release Notes:

- N/A

v0.177.5-pre

zed 0.177.5

v0.177.4-pre

Git askpass (#25953)

Supersedes #25848

Release Notes:

- git: Supporting push/pull/fetch when remote requires auth

---------

Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>

v0.176.3

Bump to 0.176.3 for @maxdeviant

v0.177.3-pre

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix panic when expanding a deletion hunk with blame open (cherry-pick #…

…26130) (#26142)

Cherry-picked Fix panic when expanding a deletion hunk with blame open
(#26130)

Closes #26118

Release Notes:

- Fixed a panic when expanding diff hunks while git blame is open

Co-authored-by: Cole Miller <cole@zed.dev>

v0.177.2-pre

zed 0.177.2

v0.177.1-pre

zed 0.177.1

v0.176.2

on stable, this action only exists as string.

v0.177.0-pre

v0.177.x preview