Repository navigation
v1.0.17-preview.4
Pre-releaseFeature: sub-agent lifecycle hooks
Register OnSubagentStart and OnSubagentStop hooks on the parent session. Start hooks can prepend context to a sub-agent's first prompt. Stop hooks can inspect the response, replace it, or block the stop with a follow-up instruction. (6b4f3a3)
Hooks = new SessionHooks { OnSubagentStart = (input, inv) =>
Task.FromResult<SubagentStartHookOutput?>(new() { AdditionalContext = "Read the file first." }) }Hooks: &copilot.SessionHooks{OnSubagentStart: func(in copilot.SubagentStartHookInput, inv copilot.HookInvocation) (*copilot.SubagentStartHookOutput, error) {
return &copilot.SubagentStartHookOutput{AdditionalContext: "Read the file first."}, nil }}Feature: binary session filesystem providers
A session filesystem provider can now serve exact file bytes, so the view tool can read provider-only images. Implement the binary provider interface and set Capabilities.Binary. Reads and writes are capped at about 48 MiB. (6b4f3a3)
- C#: implement
ISessionFsBinaryProvider(ReadFileBytesAsync,WriteFileBytesAsync) - Go: implement
SessionFSBinaryProvider(ReadFileBytes,WriteFileBytes)
Other changes
- improvement: update the bundled Copilot CLI to 1.0.92-4 and regenerate RPC and session event types across all SDKs (6b4f3a3)
- feature: new session events
tool.shell_outputandhuman_response.recorded, plus file-edit details ontool.execution_complete(6b4f3a3) - feature: new customization reload RPC result types and model discovery types (6b4f3a3)
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
github.com
To allow these domains, add them to the network.allowed list in your workflow frontmatter:
network:
allowed:
- defaults
- "github.com"See Network Configuration for more information.
Generated by Release Notes Generator · copilot · auto · 33.3 AIC · ⌖ 6.48 AIC · ⊞ 10.4K