Tags: github/copilot-sdk
Tags
Expose enableConfigDiscovery in all SDK languages (#1044) * Expose enableConfigDiscovery in all SDK languages Add enableConfigDiscovery option to session config types in Node.js, Python, Go, and .NET SDKs. When set to true, the runtime automatically discovers MCP server configurations (.mcp.json, .vscode/mcp.json) and skill directories from the working directory, merging them with any explicitly provided values (explicit takes precedence on name collision). This surfaces a capability already implemented in copilot-agent-runtime's resolveDiscoveredConfig() for SDK consumers. Changes per SDK: - Node.js: SessionConfig + ResumeSessionConfig pick + client passthrough - Python: create_session/resume_session params + payload serialization - Go: config structs + wire request structs + client passthrough - .NET: config classes + clone constructors + wire records + client passthrough Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix gofmt alignment in wire request structs Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Expose enableConfigDiscovery in all SDK languages (#1044) * Expose enableConfigDiscovery in all SDK languages Add enableConfigDiscovery option to session config types in Node.js, Python, Go, and .NET SDKs. When set to true, the runtime automatically discovers MCP server configurations (.mcp.json, .vscode/mcp.json) and skill directories from the working directory, merging them with any explicitly provided values (explicit takes precedence on name collision). This surfaces a capability already implemented in copilot-agent-runtime's resolveDiscoveredConfig() for SDK consumers. Changes per SDK: - Node.js: SessionConfig + ResumeSessionConfig pick + client passthrough - Python: create_session/resume_session params + payload serialization - Go: config structs + wire request structs + client passthrough - .NET: config classes + clone constructors + wire records + client passthrough Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix gofmt alignment in wire request structs Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update @github/copilot to 1.0.17 (#999) * Update @github/copilot to 1.0.17 - Updated nodejs and test harness dependencies - Re-ran code generators - Formatted generated code * Skip permission RPC response when resolvedByHook is true When the runtime resolves a permission request via a permissionRequest hook, it sets resolvedByHook=true on the broadcast event. The SDK broadcast handlers were unconditionally invoking the permission handler and sending an RPC response, causing duplicate/invalid responses. Add a guard in all four SDKs (Node, Python, Go, .NET) to skip the permission handler and RPC response when resolvedByHook is set, while still allowing event subscribers to observe the event. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Mackinnon Buck <mackinnon.buck@gmail.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update @github/copilot to 1.0.17 (#999) * Update @github/copilot to 1.0.17 - Updated nodejs and test harness dependencies - Re-ran code generators - Formatted generated code * Skip permission RPC response when resolvedByHook is true When the runtime resolves a permission request via a permissionRequest hook, it sets resolvedByHook=true on the broadcast event. The SDK broadcast handlers were unconditionally invoking the permission handler and sending an RPC response, causing duplicate/invalid responses. Add a guard in all four SDKs (Node, Python, Go, .NET) to skip the permission handler and RPC response when resolvedByHook is set, while still allowing event subscribers to observe the event. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Mackinnon Buck <mackinnon.buck@gmail.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
fix: Cross-SDK Consistency Reviewer posts duplicate comments per comm… …it (#983) * Initial plan * fix: prevent duplicate PR comments from Cross-SDK Consistency Reviewer - Add tracker-id: sdk-consistency-review to identify workflow's comments - Add hide-older-comments: true (with allowed-reasons: [outdated]) to add-comment safe-output so older comments are hidden before a new one is posted on each commit - Move roles: all under on: block (codemod roles-to-on-roles, v0.10.0) required to compile with current gh aw v0.65.5 - Recompile both sdk-consistency-review.lock.yml and issue-triage.lock.yml (same roles migration needed for the latter to compile too) Agent-Logs-Url: https://github.com/github/copilot-sdk/sessions/c025f75a-3f57-4fde-8282-0768b84d77cf Co-authored-by: SteveSandersonMS <1101362+SteveSandersonMS@users.noreply.github.com> * revert: restore .github/agents and .github/aw/schemas to pre-PR state gh aw fix --write applied extra codemods beyond roles-to-on-roles: - replaced old per-task agent files with a new dispatcher agent file - deleted the agentic-workflow.json schema file (delete-schema-file codemod) These changes are unrelated to the duplicate-comment fix. Restore all four affected files to their original state. Agent-Logs-Url: https://github.com/github/copilot-sdk/sessions/5d0ca850-de42-4b6d-b65e-dec287140b60 Co-authored-by: SteveSandersonMS <1101362+SteveSandersonMS@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: SteveSandersonMS <1101362+SteveSandersonMS@users.noreply.github.com>
fix: Cross-SDK Consistency Reviewer posts duplicate comments per comm… …it (#983) * Initial plan * fix: prevent duplicate PR comments from Cross-SDK Consistency Reviewer - Add tracker-id: sdk-consistency-review to identify workflow's comments - Add hide-older-comments: true (with allowed-reasons: [outdated]) to add-comment safe-output so older comments are hidden before a new one is posted on each commit - Move roles: all under on: block (codemod roles-to-on-roles, v0.10.0) required to compile with current gh aw v0.65.5 - Recompile both sdk-consistency-review.lock.yml and issue-triage.lock.yml (same roles migration needed for the latter to compile too) Agent-Logs-Url: https://github.com/github/copilot-sdk/sessions/c025f75a-3f57-4fde-8282-0768b84d77cf Co-authored-by: SteveSandersonMS <1101362+SteveSandersonMS@users.noreply.github.com> * revert: restore .github/agents and .github/aw/schemas to pre-PR state gh aw fix --write applied extra codemods beyond roles-to-on-roles: - replaced old per-task agent files with a new dispatcher agent file - deleted the agentic-workflow.json schema file (delete-schema-file codemod) These changes are unrelated to the duplicate-comment fix. Restore all four affected files to their original state. Agent-Logs-Url: https://github.com/github/copilot-sdk/sessions/5d0ca850-de42-4b6d-b65e-dec287140b60 Co-authored-by: SteveSandersonMS <1101362+SteveSandersonMS@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: SteveSandersonMS <1101362+SteveSandersonMS@users.noreply.github.com>
PreviousNext