Skip to content

fix(unstable): use AbsolutePath for subagent cwd and additionalDirectories - #2660

Merged
benbrandt merged 1 commit into
mainfrom
fix/subagent-absolute-paths
Oct 29, 2026
Merged

benbrandt merged 1 commit into
mainfrom
fix/subagent-absolute-paths

Conversation

@benbrandt

Copy link
Copy Markdown
Member

SubagentUpdate.cwd and additionalDirectories were the only protocol paths typed as PathBuf rather than AbsolutePath, so the unstable schema emitted bare strings without the AbsolutePath definition (native syntax, not a URI).

  • Both fields and their builders now use AbsolutePath. Builders still accept path-like values through the existing IntoMaybeUndefined<AbsolutePath> conversions.
  • Regenerated the unstable v2 schema and draft schema page.

Unstable Rust API change. Wire format unchanged.

@benbrandt
benbrandt requested a review from a team as a code owner October 29, 2026 22:26
@benbrandt
benbrandt enabled auto-merge (squash) October 29, 2026 22:28
@benbrandt
benbrandt merged commit 9ae19bf into main Oct 29, 2026
14 checks passed
@benbrandt
benbrandt deleted the fix/subagent-absolute-paths branch October 29, 2026 22:30
@acp-release-bot acp-release-bot Bot mentioned this pull request Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant