Skip to content

Support additional skill directories via additionalRoots meta parameter#406

Draft
egor-baranov wants to merge 8 commits intozed-industries:mainfrom
egor-baranov:feat/additional-directories-support
Draft

Support additional skill directories via additionalRoots meta parameter#406
egor-baranov wants to merge 8 commits intozed-industries:mainfrom
egor-baranov:feat/additional-directories-support

Conversation

@egor-baranov
Copy link

@egor-baranov egor-baranov commented Mar 10, 2026

Add support for _meta.additionalRoots in claude-agent-acp.

This change introduces a top-level additionalRoots field in session metadata and forwards it to Claude by merging it into additionalDirectories when creating a session.

Behavior:

  • reads _meta.additionalRoots from the ACP session request
  • treats it as a string[]
  • merges it with any user-provided claudeCode.options.additionalDirectories
  • passes the combined list through to Claude unchanged

This keeps additionalRoots as an ACP-level extension rather than a Claude-specific option, while mapping it onto Claude's existing additionalDirectories support.

@cla-bot
Copy link

cla-bot bot commented Mar 10, 2026

We require contributors to sign our Contributor License Agreement, and we don't have @egor-baranov on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@egor-baranov
Copy link
Author

@cla-bot check

@cla-bot cla-bot bot added the cla-signed label Mar 10, 2026
@cla-bot
Copy link

cla-bot bot commented Mar 10, 2026

The cla-bot has been summoned, and re-checked this pull request!

@egor-baranov egor-baranov marked this pull request as draft March 10, 2026 18:03
@egor-baranov egor-baranov marked this pull request as ready for review March 11, 2026 13:01
@egor-baranov egor-baranov marked this pull request as draft March 11, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant