Skip to content

Extract shell_command_parser into shared crate#48660

Merged
rtfeldman merged 2 commits intomainfrom
pr/shell-command-parser-extraction
Feb 9, 2026
Merged

Extract shell_command_parser into shared crate#48660
rtfeldman merged 2 commits intomainfrom
pr/shell-command-parser-extraction

Conversation

@rtfeldman
Copy link
Contributor

@rtfeldman rtfeldman commented Feb 7, 2026

Move shell command parsing logic (extract_commands and supporting code) from the agent crate into a new shell_command_parser crate so it can be reused by agent_servers for ACP permission checking.

Release Notes:

  • N/A

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 7, 2026
@zed-community-bot zed-community-bot bot added the staff Pull requests authored by a current member of Zed staff label Feb 7, 2026
Move shell command parsing logic (extract_commands and supporting code)
from the agent crate into a new shell_command_parser crate so it can be
reused by agent_servers for ACP permission checking.

- New crate: shell_command_parser with brush-parser dependency
- agent/src/shell_parser.rs now re-exports from shell_command_parser
- agent_servers gets a shell_parser.rs re-export module
- All 72 shell parser tests moved to the new crate
@rtfeldman rtfeldman force-pushed the pr/shell-command-parser-extraction branch from 9b4c24c to c128ebf Compare February 7, 2026 03:33
@rtfeldman rtfeldman force-pushed the pr/shell-command-parser-extraction branch from 740f146 to b6e5d80 Compare February 7, 2026 04:49
@rtfeldman rtfeldman marked this pull request as ready for review February 9, 2026 13:56
@rtfeldman rtfeldman merged commit 415b558 into main Feb 9, 2026
27 checks passed
@rtfeldman rtfeldman deleted the pr/shell-command-parser-extraction branch February 9, 2026 13:56
melocene pushed a commit to melocene/zed that referenced this pull request Feb 16, 2026
Move shell command parsing logic (`extract_commands` and supporting
code) from the agent crate into a new `shell_command_parser` crate so it
can be reused by `agent_servers` for ACP permission checking.

Release Notes:

- N/A
naaiyy added a commit to Glass-HQ/Glass that referenced this pull request Feb 16, 2026
Key changes:
- Side-by-side diff UX improvements (zed-industries#48821) - major diff view polish
- Display map refactoring - large cleanup of display_map.rs (~1000 line reduction)
- Split editor growth (zed-industries#48753) - significant expansion of split.rs
- Multi-char folds fix (zed-industries#48721)
- New multi workspace (zed-industries#47795, then reverted zed-industries#48776)
- Default view mode setting for SplittableEditor (zed-industries#48440)
- macOS drag-drop fix: reset external_files_dragged (zed-industries#48727)
- Windows: OS caption/buttons for custom titlebar (zed-industries#48330)
- Windows timer resolution guard (zed-industries#48379)
- Bedrock Claude Opus 4.6 model (zed-industries#48525)
- MCP servers: fix disabled servers disappearing after restart (zed-industries#47758)
- Shell command parser extracted to shared crate (zed-industries#48660)
- Format-on-save for streaming edit file tool (zed-industries#48663)
- Agent: insert images at cursor position (zed-industries#48779)
- Project panel: improved file/folder creation in folded paths (zed-industries#46750)
- Folding ranges panic fix (zed-industries#48809)
- REPL: shutdown all kernels on app quit (zed-industries#48760)
- Extension CI improvements
- Security updates: time v0.3.47, git2 v0.20.4

Conflict resolution:
- collab (Cargo.toml, extensions API, db, tests): deleted
- GPUI (8 files): deleted from Glass (handled in Obsydian-HQ/gpui)
- Cargo.lock: took upstream

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant