You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a `customAgentDirectories` option to the session config across all six
SDK languages, mirroring the existing `instructionDirectories` /
`skillDirectories` passthrough options. It accepts a list of directory paths
that the CLI searches for custom agent definition files, forwarded on both
session create and resume.
- nodejs: SessionConfigBase.customAgentDirectories + create/resume forwarding
- go: SessionConfig/ResumeSessionConfig + request structs + forwarding
- python: create_session/resume_session custom_agent_directories param
- dotnet: SessionConfig.CustomAgentDirectories + Clone + create/resume/update
- java: SessionConfig/ResumeSessionConfig + request builders
- rust: SessionConfig::with_custom_agent_directories + create/resume wire
Unit tests verify the option is forwarded on the session.create and
session.resume JSON-RPC requests in every language. End-to-end tests (with
handcrafted replay-proxy snapshots) additionally assert that a custom agent
placed in a `customAgentDirectories` path is discovered by the CLI and
surfaced in the task tool's `agent_type` enum, on both create and resume.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d4c94c34-dda4-49a1-b876-687fc771d0e0
0 commit comments