Commit log

6602377 Remove redundant env var filtering in TerminalBuilder

Click to expand commit body
The sandbox_exec_main wrapper already scrubs the inherited process
environment before exec-ing the real shell. The TerminalBuilder
filtering only pruned the additive env HashMap, not the inherited
environment, so it was both redundant and incomplete. The single
filtering point in sandbox_exec_main is the authoritative one.

Richard Feldman created

d856614 Document why SandboxExecConfig::to_json cannot fail

Click to expand commit body
The struct contains only Strings, Vec<String>, and bool — no cycles
or non-serializable types — so the expect is justified.

Richard Feldman created

51918d8 Make --sandbox-exec CLI parsing explicit and robust

Click to expand commit body
Add trailing_var_arg = true to the Args command attribute so clap
greedily captures all remaining arguments (including flags like -l)
into paths_or_urls after the -- separator.

Fix doc comment that incorrectly said base64-encoded JSON.

Richard Feldman created

e6e6f44 Delete planning doc

Richard Feldman created

2f85843 Implement Landlock network restriction on Linux

Click to expand commit body
When allow_network is false, handle AccessNet in the Landlock ruleset
without adding any NetPort allow-rules, which denies all TCP bind and
connect operations. This requires kernel 6.4+ (Landlock ABI V4).

If the kernel doesn't support network restriction, return a clear
error instead of silently running without it. For partially enforced
sandboxes, log a warning that network restriction may be degraded.

Richard Feldman created

b045c36 Tighten macOS Seatbelt sandbox permissions

Click to expand commit body
- Scope mach-lookup to a specific allowlist of Mach services needed
  for shell operation (DNS, directory services, security, logging,
  launch services, etc.) instead of granting unrestricted IPC access.
  Add troubleshooting comment for diagnosing missing services.

- Remove blanket iokit-open permission. Terminal shells don't need
  IOKit user client access (no GPU, audio, USB, or HID). Random
  numbers use /dev/urandom or getentropy(), timing uses syscalls.

- Remove blanket process-exec and rely on the existing subpath rules
  that grant process-exec only to designated executable directories.
  Add process-exec to the project directory rule so users can run
  scripts like ./build.sh or ./gradlew.

Richard Feldman created

4e170db Canonicalize sandbox paths to prevent symlink bypass

Click to expand commit body
Resolve symlinks via std::fs::canonicalize on all sandbox paths
before applying the OS-level sandbox. Without this, a symlink
pointing outside the intended sandbox boundary would be followed
and the target would be accessible.

project_dir canonicalization failure logs a warning. System and
additional paths silently fall back to the original path if they
don't exist (handled gracefully downstream).

Richard Feldman created

60fae47 Escape paths in SBPL profile to prevent sandbox injection

Click to expand commit body
Paths interpolated into the macOS Seatbelt SBPL profile were not
escaped, allowing a crafted path containing double-quote characters
to inject arbitrary SBPL rules and potentially disable the sandbox.

Add sbpl_escape() which escapes backslash and double-quote characters
in path strings before interpolation into SBPL literal and subpath
forms.

Richard Feldman created

fd6d5c7 Merge remote-tracking branch 'origin/main' into local-sandboxing

Richard Feldman created

6ba132a Enable TerminalSandboxFeatureFlag for staff

Richard Feldman created

e150fbe Implement terminal sandboxing (macOS Seatbelt + Linux Landlock)

Click to expand commit body
Add OS-level kernel-enforced sandboxing for Zed's terminal, covering both
the interactive user terminal and the agent's terminal tool.

## Architecture

When sandbox is enabled, the shell passed to alacritty is wrapped with the
Zed binary itself invoked as `--sandbox-exec <json-config> -- <shell> [args]`.
This wrapper process:
1. Filters environment variables to an allowed set
2. Applies the OS sandbox (Seatbelt on macOS, Landlock on Linux)
3. Execs the real shell — sandbox is inherited by all children

This avoids any changes to the alacritty fork.

## Settings

New `terminal.sandbox` settings block with:
- `enabled` (default: false)
- `apply_to`: "terminal", "tool", "both", "neither"
- `system_paths`: OS-specific executable/read-only/read-write path lists
- `additional_executable_paths`, `additional_read_only_paths`,
  `additional_read_write_paths`: user-specified path allowlists
- `allow_network` (default: true)
- `allowed_env_vars`: env var allowlist

## Feature flag

Gated behind TerminalSandboxFeatureFlag (reusing "agent-git-worktrees"
flag string from the database).

## Files changed

- settings_content/terminal.rs: SandboxSettingsContent, SystemPathsSettingsContent, SandboxApplyTo
- terminal/terminal_settings.rs: SandboxConfig, ResolvedSystemPaths with OS defaults
- terminal/sandbox_macos.rs: Seatbelt FFI + SBPL profile generation
- terminal/sandbox_linux.rs: Landlock ruleset construction
- terminal/sandbox_exec.rs: --sandbox-exec wrapper entry point
- terminal/terminal.rs: env filtering + shell wrapping in TerminalBuilder::new
- project/terminals.rs: sandbox resolution for user terminal + create_terminal_task
- acp_thread/terminal.rs: sandbox resolution for agent terminal tool
- zed/main.rs: --sandbox-exec CLI argument handler
- feature_flags/flags.rs: TerminalSandboxFeatureFlag
- assets/settings/default.json: default sandbox settings

Richard Feldman created

8762b7f Reuse existing bundled file editors (#51053)

Click to expand commit body
Closes #46837

Reuse the existing read-only bundled editor when opening default
settings or default key bindings again, instead of creating a duplicate
tab each time.

Also adds a regression test covering repeated `OpenDefaultSettings`
dispatches.

### Before


https://github.com/user-attachments/assets/ac2477b0-dc57-451c-a400-667c3613da2c


### After


https://github.com/user-attachments/assets/309fbd32-6dad-40a0-a864-b638a583ef52



Before you mark this PR as ready for review, make sure that you have:
- [x] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [x] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- Fixed default settings and default key bindings reopening duplicate
tabs instead of reusing the existing tab.

ishaksebsib created

598f8ac docs: Fix YAML syntax error in frontmatter (#51004)

Click to expand commit body
The title in the YAML front matter contained a colon, which YAML
interprets as a key-value separator, causing a parse error. Quoted the
title value to fix it.

<img width="1087" height="248" alt="image"
src="https://github.com/user-attachments/assets/f074af0e-937c-4289-80a9-83cde294fd23"
/>

Release Notes:

- N/A

---------

Co-authored-by: Kunall Banerjee <hey@kimchiii.space>

ishaksebsib and Kunall Banerjee created

dde76cd Enable extended reasoning for Anthropic models in Copilot (#46540)

Click to expand commit body
Fixes https://github.com/zed-industries/zed/issues/45668

https://github.com/microsoft/vscode-copilot-chat used as a reference for
headers and properties we need to set

| Before | After | 
| --- | --- |
| <img width="300"
src="https://github.com/user-attachments/assets/d112a9ef-52d2-42ff-a77b-4b4b15f950fe"
/>| <img width="300"
src="https://github.com/user-attachments/assets/0f1d7ae0-bee1-46f7-92ef-aea0fa6cde7a"
/> |

Release Notes:

- Enabled thinking mode when using Anthropic models with Copilot

John Tur created

af2b35a ep: Make repair parser more robust (#51044)

Click to expand commit body
Release Notes:

- N/A

Oleksiy Syvokon created

50ca710 gpui(linux): Pass display_id to layer shell get_layer_surface (#50520)

Click to expand commit body
Previously, `get_layer_surface` always passed `None` as the output,
causing all layer shell windows to appear on the compositor's default
output regardless of the requested display.

Store `wl_output` proxies in client state and resolve them from
`DisplayId` so the correct output is passed to `get_layer_surface`.

Release Notes:

- N/A

Leonard Seibold created

4031db1 Disable the IME on Windows when text input is unexpected (#51041)

Click to expand commit body
Fixes #42444

- Changed `accepts_text_input` on the editor to be more precise.
Previously, it returned `true` only in insert mode. Now it also returns
`true` when an operator is pending.
- On Windows, we disable the IME whenever there is no input handler
which `accepts_text_input`.
- How this improves Vim mode: in insert mode, the IME is enabled; in
normal mode, it is disabled (command keys are not intercepted); when an
operator is pending, the IME is re-enabled.

Release Notes:

- On Windows, the IME is disabled in Vim normal and visual modes.

John Tur created

8d083a6 Lazily initialize kernelspecs (#51026)

Click to expand commit body
On Windows, the WSL VM always boots up when Zed is opened, because we
eagerly discover which jupyter kernels are installed inside WSL on
startup. This is not desirable if the REPL feature is not being used.
Defer this work to the point where we actually need to know what kernels
are installed.

Release Notes:

- N/A

John Tur created

ba8f4d8 git_ui: Fix mouse cursor hiding when clicking git entry in project diff (#51016)

Click to expand commit body
Release Notes:

- Fixed mouse cursor disappearing when clicking a changed file in the Git Changes panel.

Smit Barmase created

9663d05 extension_api: Add language server schema methods (#48334)

Click to expand commit body
(This should be merged after #48332)

This PR exposes the LSP settings schema functionality to extensions,
allowing them to provide JSON schema for `initialization_options` and
`settings` fields to enable autocomplete in settings files.

New extension API methods (v0.8.0+):
- `language_server_initialization_options_schema`
- `language_server_settings_schema`

Both methods return an optional JSON string conforming to JSON schema.
Older extension versions gracefully return `None`.

Release Notes:

- Added support for settings schemas for the next version of the
extension API so that settings autocompletion can be provided for
language server settings.

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: MrSubidubi <finn@zed.dev>

Shuhei Kadowaki , Claude Opus 4.5 , and MrSubidubi created

5c481c6 Fix retain cycle in on_app_quit (#50985)

Click to expand commit body
Updates #50970

While investigating the executor shutdown code, Claude noticed that we
never
actually drop the app because of a reference cycle.

Release Notes:

- N/A

Conrad Irwin created

6c9b813 Remove Executor::close() (#50970)

Click to expand commit body
Co-Authored-By: Eric Holk <eric@zed.dev>

In app drop we had been calling `.close()` on the executors. This caused
problems with the BackgroundExecutor on Linux because it raced with
concurrent work: If task A was running and about to poll task B, the
poll to task B would panic with "Task polled after completion". This
didn't really matter (because the app was shutting down anyway) but
inflated our panic metrics on Linux.

It turns out that the call to `.close()` is not needed. It was added to
prevent foreground tasks being scheduled after the app was dropped; but
on all platforms the App run method does not return until after the
ForegroundExecutor is stopped (so no further tasks will run anyway).

The background case is more interesting. In test code it didn't matter
(the background executor is simulated on the main thread so tests can't
leak tasks); in app code it also didn't really make a difference. When
`fn main` returns (which it does immediately after the app is dropped)
all the background threads will be cancelled anyway.

Further confounding debugging, it turns out that the App does not get
dropped on macOS and Windows due to a reference cycle; so this was only
happening on Linux where the app quit callback is dropped instead of
retained after being called. (Fix in #50985)

Release Notes:

- N/A

---------

Co-authored-by: Eric Holk <eric@zed.dev>

Conrad Irwin and Eric Holk created

c841b48 Fix OpenGL initialization on Intel HD 4000 (#50983)

Click to expand commit body
Almost there!

Release Notes:

- N/A

John Tur created

1dd80ac agent_ui: Add more refinements for v2 flag (#50968)

Click to expand commit body
- Fixes message editor in empty state not consuming the whole height of
the panel
- Remove duped focused method in the `ListItem`
- Remove duped "new thread" buttons when group is empty
- Add some UI adjustments like removing labels and fading out truncated
items

Release Notes:

- N/A

Danilo Leal created

1dd09c3 Add Zed Feature Process document (#50747)

Click to expand commit body
Release Notes:

- N/A

Mikayla Maki created

5b2d39e ep: Add captured example fetching (#50960)

Click to expand commit body
Closes #ISSUE

Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [ ] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- N/A *or* Added/Fixed/Improved ...

Ben Kunkle created

4b3660b ep: Unify code in `parse_output` and `zeta_prompt` (#50958)

Click to expand commit body
This also fixed `ep parse-output` for newer formats

Release Notes:

- N/A

Oleksiy Syvokon created

e784c92 zed: Clear the FORCE_CLI_MODE environment variable after reading (#46475)

Click to expand commit body
This prevents child processes (e.g. shells) from inheriting it. This
generally isn't an issue, since zed is the only thing that cares about
it, but if you're trying to run zed *from* zed, you would first need to
unset it manually.

Release Notes:

- N/A

Josh Robson Chase created

dc0e41f Refresh LLM API token on organization change (#50931)

Click to expand commit body
Emit client-side organization changed events through
`RefreshLlmTokenListener` so it produces the same `RefreshLlmTokenEvent`
used for server-pushed `UserUpdated` messages.

This keeps token refresh fan-out in one place.

Closes CLO-383.

Release Notes:

- N/A

---------

Co-authored-by: Tom Houlé <tom@tomhoule.com>

Neel and Tom Houlé created

21e202e repl: Switch to util::process::Child to rely on process groups (#48839)

Click to expand commit body
Follow up to https://github.com/zed-industries/zed/pull/48760 thanks to
@miguelraz and @reflectronic.

No new notes since #48760 did the same thing, only wasn't opting in to
process groups we already had in place.

Release Notes:

- N/A

Kyle Kelley created

a3d9269 ai: Add LMStudio API URL & API key support (#48309)

Click to expand commit body
Hello,

This pull request aims to improve usage of lmstudio ai provider for
remote lmstudio nodes and support api key authentication.

This has been tested on my local network from a headless lms node. See
attached demo vid

Release Notes:

- lmstudio: Added support for specifying an API key via the UI


https://github.com/user-attachments/assets/7594cf49-3198-4171-b3e9-c3264cf35b6e

---------

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>

Antoine Mathie and Bennet Bo Fenner created

1418af6 sidebar: Improve keyboard navigation (#50938)

Click to expand commit body
We know outline the focus sidebar entry similar to the project panel.
This allows users to see what they have selected vs active

Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [x] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- N/A

Anthony Eid created

0e83147 markdown_preview: Fix slow checkbox check/uncheck UI updates (#48633)

Click to expand commit body
When checking a box in the markdown preview, it's generally very slow.

Preview updates when typing in the editor are debounced to be every
200ms, but when clicking an element in the preview, it feels sluggish to
wait that long.

In debugging, I found that the debounced task from the editor event
subscriptions replaced the non-debounced event on [line
605](https://github.com/zed-industries/zed/blob/263d8e58d809b493044160cb26fb690169007e4e/crates/markdown_preview/src/markdown_preview_view.rs#L600C49-L602C51),
and the UI took around 200 ms to update.

Therefore, I've changed the markdown parsing function to not replace the
task, unless another non-debounced task comes along. UI updates from the
editor are still debounced.

Before: 

[Screencast_20260206_145702.webm](https://github.com/user-attachments/assets/fed5f8fa-866e-4291-9ec3-f876bb6dc6ab)

After:

[Screencast_20260206_150124.webm](https://github.com/user-attachments/assets/e4e7dc2b-d899-42ff-bd28-ad1dc5a8d3d9)

Release Notes:

- Improved speed at which markdown lists update after checking or
unchecking items

Wesley Weisenberger created

a5525a8 ep: Refresh available experiments when opening ep button (#50949)

Click to expand commit body
Closes #ISSUE

Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [ ] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- N/A *or* Added/Fixed/Improved ...

Ben Kunkle created

ba3aea0 agent: Don't connect to MCP servers when AI is globally disabled (#47857)

Click to expand commit body
Closes #46846

When `disable_ai: true` is set in user settings, Zed was still
connecting to configured MCP (context) servers and sending
initialization requests. This change adds checks for `DisableAiSettings`
in `ContextServerStore` to:

- Skip server connections when AI is disabled
- Disconnect from running servers when AI becomes disabled
- Connect to servers when AI is re-enabled
- Prevent registry changes from triggering connections while AI is
disabled

The fix tracks `ai_disabled` state to detect transitions and properly
manage server connections when AI is toggled.

Release Notes:

- Fixed Zed connecting to MCP servers when AI is disabled.

---------

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>

Oliver Azevedo Barnes and Bennet Bo Fenner created

a216f9d crashes: Bump minidumper crate to 0.9 (#50937)

Click to expand commit body
Release Notes:

- N/A

Jakub Konka created

2fd5c7b workspace: Fix dock/panel resizing (#50947)

Click to expand commit body
Before the panel resize wouldn't take into account the width of the
sidebar and the right dock could push the left dock on resize too.

Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [x] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)


Co-authored-by: Cameron \<cameron.studdstreet@gmail.com\>

Release Notes:

- N/A

Anthony Eid created

2d0bd7c Add more verbosity for panic inside `summaries_for_anchors_with_payloads` (#50940)

Click to expand commit body
We are seeing the timestamp comparison fail in an unexpected way, e.g.
https://zed-dev.sentry.io/issues/7293482758/events/c7f7eab3f8f2463f879d4889a80d623e,
where it seems like `text::Anchor::is_max` should be returning true but
it apparently isn't. Add some more information when this panic happens
to understand what's going on.

Release Notes:

- N/A

Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>

Cole Miller and Piotr Osiewicz created

f69ab1d agent: Fail faster in case streaming tool call fails (#50834)

Click to expand commit body
If a streaming tool call (e.g. edit file) returns an error during
streaming, we would wait until we received the whole input.

Release Notes:

- N/A

---------

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>

Bennet Bo Fenner and Ben Brandt created

db6b47a agent_ui: Fix agent panel focus stealing from modals (#50511)

Click to expand commit body
Closes #49336

Before you mark this PR as ready for review, make sure that you have:
- [x] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI

checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

### Video:

https://drive.google.com/file/d/1qAwAoDr4wr8cs1dosvLocU-a4pngJZvr/view?usp=sharing

Release Notes:

- Fixed agent panel stealing keyboard focus from modals during workspace
restoration

João Soares created

3fe3776 agent: Update `old_text` docs for `StreamingEditFileTool` (#50921)

Click to expand commit body
In the old edit agent tool we encouraged the LLM to respond with whole
lines, which we did not do in the new edit file tool.

Release Notes:

- N/A

Bennet Bo Fenner created

84daec5 agent_ui: Add safeguards for deep link prompt injections (#50936)

Click to expand commit body
- Show a warning asking users to review pre-filled prompts from external
links before sending.
- Strip control characters and bidi control characters from pre-filled
prompts.
- Collapse 3+ consecutive newlines in pre-filled prompts to prevent
newline padding attacks.
- API changes make it impossible to auto-submit pre-filled prompts from
external sources.

Release Notes:

- N/A

Smit Barmase created

09b4140 lsp: Use correct LSP adapter for completion labels in remote development (#50697)

Click to expand commit body
Closes #47917

Currently, during remote development, Zed uses the first available local
LSP adapter to handle all label computing. This isn't ideal and causes
bugs because different adapters may expect different label formats. By
leveraging the `all_capable_for_proto_request` method, we can now
retrieve the specific language server name and use it as a key to find
the correct LSP adapter for label population. Even if this lookup fails,
we can still fall back to the first adapter, so this PR should provide
more accurate label population than before.

This addresses the root cause of #47917, which stems from two main
issues. For example, in remote Python development, the `basedpyright`
adapter might incorrectly handle labels even when the remote server is
actually `ty`. The completion items returned by `ty` are slightly
different from `basedpyright`: `ty` stores labels in
`labelDetails.detail`, while basedpyright uses
`labelDetails.description`. By matching the correct adapter, we ensure
labels are populated properly for completion items.
```json
// RPC message returned by `ty`, label is in `labelDetails.detail`
{
  ...
  "labelDetails": { "detail": " (import pathlib)" },
  ...
}

// RPC message returned by `basedpyright`, label is in `labelDetails.description`
{
  ...
  "labelDetails": { "description": "pathlib" },
  ...
}
```
Additionally, adapters registered via `register_available_lsp_adapter`
are lazy-loaded into the `LanguageRegistry` (which is the case for `ty`
before). In remote scenarios, the adapter might be loaded on the remote
server but not on the local host, making it hard to find in
`lsp_adapters`. This is partially resolved in #50662, and combined with
this PR, we can fully address #47917.

There is still more to do, however. In some cases, we still can't find
the correct local LSP adapter if the local host lacks the registry that
the remote server has; this typically happens when the adapter is
registered via `register_available_lsp_adapter`. I've opened a feature
discussion #49178 to track this. If it's decided that this needs further
refinement, I'm happy to continue working on it.


Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [x] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- Fixed missing labels for `ty` completion items in remote development.

Xin Zhao created

33e5301 gpui: Add `property_test` macro (#50935)

Click to expand commit body
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>

Cameron Mcloughlin and Conrad Irwin created

66de3d9 repl: Treat WSL as a separate kernel type from SSH remote (#50721)

Click to expand commit body
Split WslRemote out of the remote_kernels bucket in the kernel picker,
giving it its own "WSL Kernels" section. Use the distro name and
kernelspec display name for WSL entries instead of the generic "WSL"
string.

In python_env_kernel_specifications, detect WSL projects via
RemoteConnectionOptions and return WslRemote instead of SshRemote. Stop
marking WSL worktrees as remote so global kernel specs load.

Fix ark kernel stdout pollution by building the wsl.exe bash command
with a quoted cd and inline env assignment, so exec replaces the shell
and doesn't echo input back.

Closes #50459 

Before you mark this PR as ready for review, make sure that you have:
- [x] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [x] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- N/A

MostlyK created

5db8d6d agent: Only use AgentSessionInfo in history (#50933)

Click to expand commit body
Previously we required AgentSessionInfo all over the place, which meant
there were lots of unnecessary fake ones created all over the place.

Made the methods and functions only take the data they need so we only
use these in history contexts now, as intended.

Release Notes:

- N/A

Ben Brandt created

8a38d2d agent_ui: Adjust empty state for the panel for v2 (#50932)

Click to expand commit body
Making the message editor take all the available space, and improving
the loading state for external agents a bit.

Release Notes:

- N/A

Danilo Leal created

e95b5c3 sidebar: Add some refinements (#50923)

Click to expand commit body
- Make clicking on the project header collapse/expand the group as
opposed to activating the workspace
- Added the "threads" label close to the sidebar toggle button
- Made the open folder icon button open the file finder directly as
opposed to the recent projects popover

Release Notes:

- N/A

Danilo Leal created

61e7032 agent_ui: Adjust panel toolbar design for v2 (#50927)

Click to expand commit body
Adding some adjustments so the toolbar looks more like the designs we've
been working on. All that changes here are only valid for the v2 feature
flag. Haven't changed anything for today's production version.

Release Notes:

- N/A

Danilo Leal created

77fa028 Ensure consistent newline behavior in auto-height editors with JetBrains keymap (#47595)

Click to expand commit body
Add an explicit `Editor && mode == auto_height` context block. This
ensures that `Shift+Enter` and `Ctrl+Enter` correctly insert a newline
at the cursor position in editors like the AI Agent Panel,
preventing them from inheriting conflicting overrides (e.g., JetBrains
mapping `Shift+Enter` to `editor::NewlineBelow`).

Closes #47269

Release Notes:

- Fixed an issue where `Shift+Enter` would insert a newline at the end
of the text instead of the cursor position in the Agent Panel when using
certain keymaps.

Daniel Strobusch created