zed/crates
Smit Barmase 7ef1fa1380
agent_ui: Surface pending tool call permission when scrolled out of view (#57632)
Closes #53266

When a tool call awaiting permission is below the viewport, it’s easy to
miss why the agent has stopped working. This PR adds a floating row at
the bottom of the panel that mirrors the pending permission request.

It reuses the same permission prompt, so you can allow or deny it and
see the raw input without scrolling to the end of the thread. It offers
a "Scroll to" button to jump back to the inline prompt in the thread.
Once the inline prompt is in view, the floating row disappears. If
multiple tool calls need permission, including a subagent’s, they’re
shown one at a time so rows don’t stack on top of each other.

<img width="508" height="181" alt="image"
src="https://github.com/user-attachments/assets/7d5fedd6-bc4d-4674-8ea2-5c8f2ed3aff6"
/>

Release Notes:

- Improved visibility of pending tool call confirmations in the Agent
Panel when its scrolled out of view.

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
2026-05-26 01:17:14 +00:00
..
acp_thread acp: Enable ACP additional directories (#57497) 2026-05-22 13:56:45 +00:00
acp_tools markdown: Add ability to wrap/unwrap codeblock content (#57312) 2026-05-20 20:51:56 +00:00
action_log action_log: Accept deleted hunks after commit (#56892) 2026-05-15 16:27:14 +00:00
activity_indicator Fix activity indicator menu opening when actions are running (#56865) 2026-05-15 12:01:31 +00:00
agent Revert "Rename agent threads from the sidebar" (#57654) 2026-05-25 15:45:10 +00:00
agent_servers acp: Enable ACP additional directories (#57497) 2026-05-22 13:56:45 +00:00
agent_settings agent: Allow specifying which model is used for subagents (#56203) 2026-05-08 17:06:02 +00:00
agent_skills Fix skill frontmatter loading multi-codepoint UTF-8 graphemes at chunk boundary (#57466) 2026-05-22 15:29:06 +00:00
agent_ui agent_ui: Surface pending tool call permission when scrolled out of view (#57632) 2026-05-26 01:17:14 +00:00
ai_onboarding Fix sign in disclaimer to accurately show trial benefits (#55964) 2026-05-07 15:43:43 +00:00
anthropic agent: Add Opus 4.7 speed support (#56701) 2026-05-15 13:57:33 +00:00
askpass Fix bad GitHub merge queue merge (#54721) 2026-04-23 23:47:30 +00:00
assets
audio audio: Remove rodio audio backend (#51945) 2026-03-24 00:58:09 +01:00
auto_update ci: Build nightly more frequently (#53800) 2026-05-15 09:08:55 +00:00
auto_update_helper Fix Windows icon resource for bin zed.exe (#54738) 2026-05-01 22:33:54 +00:00
auto_update_ui Use the announcement toast for skills support (#56873) 2026-05-20 01:26:06 +00:00
aws_http_client
bedrock language_models: Remove unused cache_configuration API (#56884) 2026-05-15 16:27:11 +00:00
breadcrumbs editor: Replace BreadcrumbText with HighlightedText (#51083) 2026-03-13 08:00:22 +00:00
buffer_diff ep: Increase example capture rate (#57208) 2026-05-21 15:23:20 +00:00
call Disable auto watch when leaving a call (#57196) 2026-05-19 21:31:34 +00:00
channel client: Rename UserId to LegacyUserId (#56185) 2026-05-08 15:53:40 +00:00
cli Stop using wrong paths for zed --diff (#56380) 2026-05-11 15:53:20 +00:00
client client: Reconnect cloud websocket after it disconnects (#57078) 2026-05-21 15:21:19 +00:00
clock
cloud_api_client cloud_api_client: Add update_system_settings (#56843) 2026-05-18 14:49:40 +00:00
cloud_api_types Deprecate and migrate ACP extensions (#57133) 2026-05-21 08:32:23 +00:00
cloud_llm_client ep: Send trigger in header (#56433) 2026-05-11 15:22:43 +00:00
codestral language_model: Decouple from Zed-specific implementation details (#52913) 2026-04-02 17:06:57 -03:00
collab git: Recover branch refs when metadata lookup fails (#57285) 2026-05-25 14:29:46 +00:00
collab_ui client: Rename UserId to LegacyUserId (#56185) 2026-05-08 15:53:40 +00:00
collections Add VecMap::entry_ref (#52601) 2026-03-27 18:06:56 -07:00
command_palette Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
command_palette_hooks
component
component_preview Simplify parallel agents onboarding (#53854) 2026-04-15 21:51:15 -03:00
context_server Implement MCP OAuth client preregistration (#52900) 2026-05-19 17:45:07 +00:00
copilot node_runtime: Respect npm release-age filters for managed npm installs (#56957) 2026-05-18 21:10:06 +00:00
copilot_chat copilot: Fix issue when switching between OpenAI and Anthropic models (#56655) 2026-05-18 09:57:08 +00:00
copilot_ui agent_ui: Adjust settings UI for some providers (#56879) 2026-05-15 17:08:40 +00:00
crashes Cleanup crashes crate (#54927) 2026-05-04 06:30:47 +00:00
credentials_provider language_model: Decouple from Zed-specific implementation details (#52913) 2026-04-02 17:06:57 -03:00
csv_preview csv_preview: Implement data_table columns pining (#56619) 2026-05-15 11:12:41 +00:00
dap dap: Support IPv6 addresses in TCP transport (#52244) 2026-04-27 08:42:45 +00:00
dap_adapters Rust 1.95 (#55104) 2026-04-29 10:27:47 +00:00
db Remove smol as a dependency from a bunch of crates (#53603) 2026-04-24 10:29:51 +00:00
debug_adapter_extension
debugger_tools Fix macOS find query seeding (#56681) 2026-05-13 23:35:10 +00:00
debugger_ui Make project panel to auto reveal multi buffer excerpts with latest selection (#57236) 2026-05-25 11:53:12 +00:00
deepseek deepseek: Simplify error mapping in DeepSeek stream_completion (#57582) 2026-05-25 17:01:58 +00:00
denoise Rust 1.95 (#55104) 2026-04-29 10:27:47 +00:00
dev_container Trim nonalphanumeric chars before prefixing image tag name (#54578) 2026-04-23 07:36:36 +00:00
diagnostics Make project panel to auto reveal multi buffer excerpts with latest selection (#57236) 2026-05-25 11:53:12 +00:00
docs_preprocessor Staged docs releases (#50136) 2026-04-30 11:10:14 +00:00
edit_prediction ep: Increase example capture rate (#57208) 2026-05-21 15:23:20 +00:00
edit_prediction_cli ep: Fix bugs in the split-commit command (#57604) 2026-05-24 18:49:05 +00:00
edit_prediction_context ep: Don't open unnecessary files during context collection (#57318) 2026-05-20 22:42:31 +00:00
edit_prediction_metrics ep: Drop dependency on language/gpui (#55917) 2026-05-06 17:03:01 +00:00
edit_prediction_types edit_prediction: Disable training data collection based on organization configuration (#53639) 2026-04-10 13:27:04 -04:00
edit_prediction_ui ep: Increase example capture rate (#57208) 2026-05-21 15:23:20 +00:00
editor Make project panel to auto reveal multi buffer excerpts with latest selection (#57236) 2026-05-25 11:53:12 +00:00
editor_benchmarks editor: Improve find_matches and replace_all perf (#51941) 2026-05-06 09:28:05 +00:00
encoding_selector Make all status bar tools able to hide its button via UI (#54971) 2026-05-08 10:36:03 +00:00
env_var language_models: Refactor deps and extract cloud (#53270) 2026-04-07 12:28:19 -03:00
etw_tracing
eval_cli eval_cli: Initialize themes in eval headless mode (#57139) 2026-05-19 11:29:00 +00:00
eval_utils
explorer_command_injector
extension Deprecate and migrate ACP extensions (#57133) 2026-05-21 08:32:23 +00:00
extension_api extension_api: Add IPv6 support in DAP extensions API (#54984) 2026-04-29 07:27:05 +00:00
extension_cli Deprecate and migrate ACP extensions (#57133) 2026-05-21 08:32:23 +00:00
extension_host Deprecate and migrate ACP extensions (#57133) 2026-05-21 08:32:23 +00:00
extensions_ui Deprecate and migrate ACP extensions (#57133) 2026-05-21 08:32:23 +00:00
feature_flags agent: Add experimental update title tool (#57395) 2026-05-21 12:25:34 +00:00
feature_flags_macros Feature flag overrides (#54206) 2026-04-18 06:34:19 +00:00
feedback Cleanup crashes crate (#54927) 2026-05-04 06:30:47 +00:00
file_finder Make project panel to auto reveal multi buffer excerpts with latest selection (#57236) 2026-05-25 11:53:12 +00:00
file_icons
fs git: Degrade gracefully when refreshing git state (#57292) 2026-05-25 16:15:12 +00:00
fs_benchmarks
fuzzy fuzzy: Fix crash with Unicode chars whose lowercase expands to multiple codepoints (#52989) 2026-04-03 11:00:13 +00:00
fuzzy_nucleo fuzzy_nucleo: Refactor multi-atom code to use nucleo::Pattern (#55264) 2026-05-06 10:56:20 +00:00
git git: Degrade gracefully when refreshing git state (#57292) 2026-05-25 16:15:12 +00:00
git_graph git_graph: Show full commit message in tooltip on hover (#57032) 2026-05-21 11:07:12 +00:00
git_hosting_providers Fix GitHub bot avatar URL (#55297) 2026-04-30 14:17:32 +00:00
git_ui Batch excerpt insertions per file when opening commit view (#57330) 2026-05-25 14:42:01 +00:00
go_to_line Make all status bar tools able to hide its button via UI (#54971) 2026-05-08 10:36:03 +00:00
google_ai google: Add Google thinking level support (#57358) 2026-05-21 10:00:29 +00:00
gpui Fix multiline text truncation (#57450) 2026-05-21 22:40:35 +00:00
gpui_linux gpui: Prefer Mailbox present mode on Wayland to avoid FIFO stalls (#57077) 2026-05-18 23:57:51 +00:00
gpui_macos Improve default button focus in macOS dialogs (#56513) 2026-05-12 08:59:58 +00:00
gpui_macros Handle hiding cursor on keyboard input at GPUI level (#55664) 2026-05-04 22:51:56 +00:00
gpui_platform agent: Fix cargo test -p agent on windows (#52311) 2026-03-24 11:05:12 +00:00
gpui_shared_string gpui_shared_string: Implement SharedString via smol_str (#54649) 2026-04-24 08:58:26 +00:00
gpui_tokio gpui_tokio: Use shutdown_background to avoid WASI panic on exit (#53904) 2026-04-14 18:14:31 +02:00
gpui_util Fix bad GitHub merge queue merge (#54721) 2026-04-23 23:47:30 +00:00
gpui_web Handle hiding cursor on keyboard input at GPUI level (#55664) 2026-05-04 22:51:56 +00:00
gpui_wgpu gpui_wgpu: Bump cosmic-text to v0.19.0 (#56988) 2026-05-24 08:33:56 +00:00
gpui_windows gpui_windows: Avoid process-wide priority elevation (#56050) 2026-05-07 14:09:39 +00:00
grammars grammars: Highlight markdown code spans in tables (#57506) 2026-05-22 22:40:13 +00:00
html_to_markdown
http_client http_client: Fix GitHub download unpack failures on some filesystems (#53286) 2026-04-07 11:19:21 +05:30
http_client_tls
icons markdown: Add ability to wrap/unwrap codeblock content (#57312) 2026-05-20 20:51:56 +00:00
image_viewer Make all status bar tools able to hide its button via UI (#54971) 2026-05-08 10:36:03 +00:00
input_latency_ui telemetry: Add latency metrics (#54454) 2026-04-22 22:22:10 +00:00
inspector_ui agent_ui: Render skills as creases (#56689) 2026-05-14 22:20:34 +00:00
install_cli
journal Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
json_schema_store Rust 1.95 (#55104) 2026-04-29 10:27:47 +00:00
keymap_editor agent_ui: Render skills as creases (#56689) 2026-05-14 22:20:34 +00:00
language ep: Increase example capture rate (#57208) 2026-05-21 15:23:20 +00:00
language_core editor: Fix soft-wrap in auto-height editors (#54051) 2026-04-18 00:55:44 +02:00
language_extension language_core: Introduce fallback highlights (#52575) 2026-04-02 12:52:42 +00:00
language_model agent: Support image output from MCP tools (#57134) 2026-05-19 12:51:42 +00:00
language_model_core Fix Gemini schema conversion dropping anyOf and nullability (#57160) 2026-05-19 19:04:48 +00:00
language_models google: Add Google thinking level support (#57358) 2026-05-21 10:00:29 +00:00
language_models_cloud language_models: Remove unused cache_configuration API (#56884) 2026-05-15 16:27:11 +00:00
language_onboarding Remove some outdated comments (#52432) 2026-03-25 12:07:34 -06:00
language_selector Make all status bar tools able to hide its button via UI (#54971) 2026-05-08 10:36:03 +00:00
language_tools Stop building semantic highlights on the main thread (#57264) 2026-05-20 14:12:42 +00:00
languages node_runtime: Respect npm release-age filters for managed npm installs (#56957) 2026-05-18 21:10:06 +00:00
line_ending_selector Make all status bar tools able to hide its button via UI (#54971) 2026-05-08 10:36:03 +00:00
livekit_api
livekit_client Add ability to auto watch screens (#54839) 2026-05-01 17:29:27 +00:00
lmstudio
lsp lsp: Display readable gopls version in UI (#49835) 2026-03-17 08:36:37 +01:00
markdown markdown: Support shift+click to extend text selection (#57586) 2026-05-25 14:09:22 +00:00
markdown_preview markdown: Add ability to wrap/unwrap codeblock content (#57312) 2026-05-20 20:51:56 +00:00
media
menu
migrator Handle hiding cursor on keyboard input at GPUI level (#55664) 2026-05-04 22:51:56 +00:00
miniprofiler_ui Disable miniprofiler by default (#54645) 2026-04-23 18:41:52 +00:00
mistral Cleanup and update mistral models based on their documentation (#55443) 2026-05-06 12:27:58 +00:00
multi_buffer editor: Improve find_matches and replace_all perf (#51941) 2026-05-06 09:28:05 +00:00
nc
net
node_runtime node_runtime: Respect npm release-age filters for managed npm installs (#56957) 2026-05-18 21:10:06 +00:00
notifications Remove smol as a dependency from a bunch of crates (#53603) 2026-04-24 10:29:51 +00:00
oauth_callback_server Add ChatGPT subscription provider via OAuth 2.0 PKCE (#53166) 2026-05-14 21:03:56 +00:00
ollama Prefer Ollama configured model context length over model architecture context length (#53543) 2026-04-15 02:21:56 -04:00
onboarding zed: Add OpenStatusPage action (#57316) 2026-05-25 14:41:33 +00:00
open_ai agent: Remove unused LanguageModelImage APIs (#57050) 2026-05-18 12:22:22 +00:00
open_path_prompt Fix race condition in OpenPathDelegate (#57290) 2026-05-21 03:59:50 +00:00
open_router language_models: Refactor deps and extract cloud (#53270) 2026-04-07 12:28:19 -03:00
opencode opencode: Model updates (#57556) 2026-05-23 09:39:08 +00:00
outline outline: Fix panic due to stale outline hover selection (#55674) 2026-05-05 05:10:46 +00:00
outline_panel Make all status bar tools able to hide its button via UI (#54971) 2026-05-08 10:36:03 +00:00
panel git_panel: Add commit history view (#56500) 2026-05-12 15:52:52 +00:00
paths Migrate Rules to global Skills and AGENTS.md (#56672) 2026-05-14 16:30:08 +00:00
picker recent_projects: Allow bulk deleting entries without scroll jumping (#54777) 2026-05-06 14:06:48 +00:00
platform_title_bar Remove Agent V2 feature flag (#52792) 2026-04-08 00:34:54 +00:00
prettier Fix FormatSelections to only format selected ranges, not entire document (#51593) 2026-03-31 12:48:22 +03:00
project git: Degrade gracefully when refreshing git state (#57292) 2026-05-25 16:15:12 +00:00
project_benchmarks Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
project_panel Make project panel to auto reveal multi buffer excerpts with latest selection (#57236) 2026-05-25 11:53:12 +00:00
project_symbols Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
prompt_store Use the announcement toast for skills support (#56873) 2026-05-20 01:26:06 +00:00
proto git: Recover branch refs when metadata lookup fails (#57285) 2026-05-25 14:29:46 +00:00
recent_projects recent_projects: Fix activation defaulting to main worktree (#57321) 2026-05-21 19:48:43 +00:00
refineable
release_channel Add a function to produce docs scoped to release channel (#56917) 2026-05-15 21:17:43 +00:00
remote Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
remote_connection agent: Fix find_or_create repository to support remote (#54074) 2026-04-16 16:36:09 -07:00
remote_server git: Recover branch refs when metadata lookup fails (#57285) 2026-05-25 14:29:46 +00:00
repl repl: Refresh Python kernelspecs on buffer language change (#54709) 2026-05-15 12:07:32 +00:00
reqwest_client Actually remove file (#56223) 2026-05-08 21:03:40 +00:00
rope Swap arrayvec crate for heapless to use LenT optimization (#47101) 2026-03-21 14:05:30 +01:00
rpc git_graph: Add remote support for search operations (#55167) 2026-05-04 16:38:14 +00:00
rules_library Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
scheduler scheduler: Add the ability to suppress Running seed output (#57525) 2026-05-22 18:49:48 +00:00
schema_generator theme: Split out theme_settings crate (#52569) 2026-03-27 14:41:25 +01:00
search Make project panel to auto reveal multi buffer excerpts with latest selection (#57236) 2026-05-25 11:53:12 +00:00
session Fix shared database test isolation (#51809) 2026-03-18 12:05:57 -07:00
settings Make the commit editor's font size independently configurable (#56077) 2026-05-21 22:16:01 +00:00
settings_content Make the commit editor's font size independently configurable (#56077) 2026-05-21 22:16:01 +00:00
settings_json Remove some outdated comments (#52432) 2026-03-25 12:07:34 -06:00
settings_macros
settings_profile_selector Settings profile base option (#52456) 2026-04-02 00:44:53 +00:00
settings_ui Update skill settings immediately after changes (#57447) 2026-05-21 22:51:57 +00:00
shell_command_parser Extract nested command substitutions from arithmetic expansions (#54690) 2026-05-05 16:25:56 +00:00
sidebar Revert "Rename agent threads from the sidebar" (#57654) 2026-05-25 15:45:10 +00:00
skill_creator Fix skill creator remote project scopes (#57453) 2026-05-21 23:17:59 +00:00
snippet
snippet_provider Rust 1.95 (#55104) 2026-04-29 10:27:47 +00:00
snippets_ui Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
sqlez Remove smol as a dependency from a bunch of crates (#53603) 2026-04-24 10:29:51 +00:00
sqlez_macros
streaming_diff
sum_tree Swap arrayvec crate for heapless to use LenT optimization (#47101) 2026-03-21 14:05:30 +01:00
svg_preview gpui: Fix BGRA conversion for SVG rendering (#52641) 2026-03-29 14:43:05 +00:00
syntax_theme Extract syntax_theme crate (#52798) 2026-03-31 08:06:37 -06:00
system_specs Cleanup crashes crate (#54927) 2026-05-04 06:30:47 +00:00
tab_switcher Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
task Add support for custom git commands in the git graph context menu (#56354) 2026-05-12 16:20:53 +00:00
tasks_ui Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
telemetry
telemetry_events
terminal terminal: Fix pty info change detection race (#57257) 2026-05-20 13:13:00 +00:00
terminal_view Make file paths in backticks clickable in agent panel (#57303) 2026-05-21 22:04:32 +00:00
text editor: Improve find_matches and replace_all perf (#51941) 2026-05-06 09:28:05 +00:00
theme Add file icon for Ballerina (.bal) files (#56799) 2026-05-20 02:33:07 +00:00
theme_extension theme: Split out theme_settings crate (#52569) 2026-03-27 14:41:25 +01:00
theme_importer theme: Split out theme_settings crate (#52569) 2026-03-27 14:41:25 +01:00
theme_selector Fix bad GitHub merge queue merge (#54721) 2026-04-23 23:47:30 +00:00
theme_settings Make the commit editor's font size independently configurable (#56077) 2026-05-21 22:16:01 +00:00
time_format
title_bar client: Use cloud as source of truth for the selected organization (#57140) 2026-05-20 07:00:02 +00:00
toolchain_selector Make all status bar tools able to hide its button via UI (#54971) 2026-05-08 10:36:03 +00:00
ui Revert "Rename agent threads from the sidebar" (#57654) 2026-05-25 15:45:10 +00:00
ui_input agent_ui: Mask API key input in Add LLM provider modal (#50379) 2026-03-13 19:37:18 -03:00
ui_macros ui: Make UI independent from settings crate (#52578) 2026-03-27 15:31:49 +00:00
ui_prompt theme: Split out theme_settings crate (#52569) 2026-03-27 14:41:25 +01:00
util Fix git hang caused by accidental inheritance of stdin FD (#57572) 2026-05-25 16:20:30 +00:00
util_macros
vim vim: Fix n/N and */# selecting text after cmd+f search (#54027) 2026-05-20 03:39:36 +00:00
vim_mode_setting workspace: Only suppress auto-save on focus transfer for the Vim/Helix command palette (#51949) 2026-03-19 12:53:26 -04:00
watch
web_search
web_search_providers Fix token refresh for HTTP requests (#56559) 2026-05-12 19:40:00 +00:00
which_key theme: Split out theme_settings crate (#52569) 2026-03-27 14:41:25 +01:00
windows_resources Fix Windows icon resource for bin zed.exe (#54738) 2026-05-01 22:33:54 +00:00
workspace Make project panel to auto reveal multi buffer excerpts with latest selection (#57236) 2026-05-25 11:53:12 +00:00
worktree git: Degrade gracefully when refreshing git state (#57292) 2026-05-25 16:15:12 +00:00
worktree_benchmarks
x_ai x_ai: Update models list (#55931) 2026-05-07 09:56:04 +00:00
zed zed: Add OpenStatusPage action (#57316) 2026-05-25 14:41:33 +00:00
zed_actions zed: Add OpenStatusPage action (#57316) 2026-05-25 14:41:33 +00:00
zed_credentials_provider language_model: Decouple from Zed-specific implementation details (#52913) 2026-04-02 17:06:57 -03:00
zed_env_vars language_model: Decouple from Zed-specific implementation details (#52913) 2026-04-02 17:06:57 -03:00
zeta_prompt ep: Various ep CLI improvements (#56587) 2026-05-13 11:34:50 +00:00
zlog
zlog_settings
ztracing
ztracing_macro