Update @github/copilot to 1.0.63#1686
Conversation
- Updated nodejs and test harness dependencies - Re-ran code generators - Formatted generated code
There was a problem hiding this comment.
Pull request overview
Automated dependency upgrade of @github/copilot to 1.0.63, followed by regeneration of the cross-language RPC + session-event generated types so SDKs stay in sync with the updated schema.
Changes:
- Bumped
@github/copilotto^1.0.63across Node packages, test harness, and Java codegen inputs. - Regenerated SDK types adding new schema fields (e.g., usage
finishReason/contentFilterTriggered, tool resultstructuredContent, MCPdeferTools, workspaces diffignoreWhitespace). - Updated Java POM property used for the reference implementation version pin.
Show a summary per file
| File | Description |
|---|---|
| test/harness/package.json | Bumps harness devDependency to @github/copilot@^1.0.63. |
| test/harness/package-lock.json | Lockfile updates for @github/copilot@1.0.63 and platform packages. |
| rust/src/generated/session_events.rs | Adds new generated fields for usage + tool results. |
| rust/src/generated/api_types.rs | Adds MCP defer_tools, workspace diff ignore_whitespace, and other schema fields. |
| python/copilot/generated/session_events.py | Regenerated event models (usage + tool result structured_content). |
| python/copilot/generated/rpc.py | Regenerated RPC types (MCP deferTools, workspaces diff ignoreWhitespace, etc.). |
| nodejs/src/generated/session-events.ts | Regenerated session event interfaces including structuredContent. |
| nodejs/src/generated/rpc.ts | Regenerated RPC types including MCP deferTools and workspaces diff ignoreWhitespace. |
| nodejs/samples/package-lock.json | Sample lockfile bump to @github/copilot@^1.0.63. |
| nodejs/package.json | Bumps Node SDK dependency to @github/copilot@^1.0.63. |
| nodejs/package-lock.json | Lockfile updates for @github/copilot@1.0.63 and platform packages. |
| java/src/generated/java/com/github/copilot/generated/ToolExecutionCompleteResult.java | Adds structuredContent to generated tool result record. |
| java/src/generated/java/com/github/copilot/generated/rpc/SessionWorkspacesDiffParams.java | Adds ignoreWhitespace to workspace diff params. |
| java/src/generated/java/com/github/copilot/generated/AssistantUsageEvent.java | Adds finishReason and contentFilterTriggered fields to usage event data. |
| java/scripts/codegen/package.json | Bumps Java codegen input dependency to @github/copilot@^1.0.63. |
| java/scripts/codegen/package-lock.json | Lockfile updates for Java codegen dependency bump. |
| java/pom.xml | Updates the pinned reference implementation version property to ^1.0.63. |
| go/rpc/zsession_events.go | Regenerated event structs adding usage/tool-result fields. |
| go/rpc/zsession_encoding.go | Updates JSON decoding to include structuredContent. |
| go/rpc/zrpc.go | Regenerated RPC types for MCP deferTools and workspace diff ignoreWhitespace. |
| go/rpc/zrpc_encoding.go | Updates JSON decoding for MCP server config deferTools. |
| dotnet/src/Generated/SessionEvents.cs | Regenerated session events with new usage/tool-result fields. |
| dotnet/src/Generated/Rpc.cs | Regenerated RPC models and updated Workspaces diff API signature. |
Copilot's findings
Files not reviewed (8)
- go/rpc/zrpc.go: Generated file
- go/rpc/zrpc_encoding.go: Generated file
- go/rpc/zsession_encoding.go: Generated file
- go/rpc/zsession_events.go: Generated file
- java/scripts/codegen/package-lock.json: Generated file
- nodejs/package-lock.json: Generated file
- nodejs/samples/package-lock.json: Generated file
- test/harness/package-lock.json: Generated file
- Files reviewed: 4/23 changed files
- Comments generated: 1
This comment has been minimized.
This comment has been minimized.
…quest The 1.0.63 type regeneration added an optional ignore_whitespace field to the generated WorkspacesDiffRequest struct. The explicit struct literal in rpc_workspace_checkpoints.rs failed to compile (E0063: missing field), which broke clippy on ubuntu and cargo test on macos/windows. Add ..Default::default() to the literal, matching the existing pattern in rpc_session_state.rs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Cross-SDK Consistency ReviewThis PR is an automated schema update (v1.0.62 → v1.0.63) regenerating types across all SDKs. Most changes are well-aligned. Here's a summary: ✅ Consistent across all relevant SDKs
1 Java doesn't generate
|
* chore(schema): bump CLI schema 1.0.61 -> 1.0.63 and regenerate Pins @github/copilot to 1.0.63 and regenerates generated/event_specs.clj from the refreshed JSON Schemas. Pulls in new wire surface: the session.todos_changed event, optional AssistantUsageData fields (contentFilterTriggered, finishReason), ToolExecutionCompleteResult structuredContent, ToolExecutionStartData toolDescription, and the plugin/session ExtensionSource values. Upstream: github/copilot-sdk#1686 (1.0.63), commit a115246a (1.0.62). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * feat(sync): port post-v1.0.1 config, lifecycle, and event additions Adds the public-SDK surface introduced upstream after v1.0.1: - :memory session config ({:enabled boolean}) forwarded on both create-session and resume-session, omitted when unset. github/copilot-sdk#1617 - :otlp-protocol telemetry option mapped to OTEL_EXPORTER_OTLP_PROTOCOL. github/copilot-sdk#1648 - Graceful runtime.shutdown in stop! for SDK-owned processes, bounded by a 10s timeout; force-stop! left unchanged. github/copilot-sdk#1667 - :mcp-defer-tools (#{:auto :never}) on MCP stdio/http server configs, rendered as deferTools on the wire (1.0.63 schema). - :token-prices on ::model-billing. github/copilot-sdk#1633 - Optional event-data fields surfaced by the 1.0.63 schema (assistant.usage content-filter/finish-reason, tool.execution_complete structured-content) and the :copilot/session.todos_changed public event. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * test(sync): cover memory, otlp, graceful shutdown, and deferTools Adds integration coverage for the new session config and wire mappings, mock-server handling for the runtime.shutdown RPC, and process-level assertions for graceful termination ordering. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * docs(sync): document new config and bump version to 1.0.1.1 Documents :memory, :otlp-protocol, MCP :defer-tools, :token-prices, the session.todos_changed event, and graceful shutdown across API.md, the MCP overview, and CHANGELOG. Bumps the Clojure patch to 1.0.1.1. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix(sync): address Copilot review feedback Resolve four findings from the Copilot Code Review bot on PR #139: - process.clj: preserve the thread interrupt flag in wait-for-exit!. .waitFor throws InterruptedException (a subclass of Exception), so the generic catch was swallowing it and clearing the interrupt flag. Catch it separately and re-set the flag via (.interrupt (Thread/currentThread)) so callers still observe cancellation. - util.clj: correct the mcp-server->wire docstring example. clj->wire produces camelCase keyword keys, not string keys. - specs.clj: fix the memory-config comment to cite upstream PR #1617 (not #1638). - CHANGELOG.md: drop the nonexistent ::memory-enabled spec reference; only ::memory exists (reusing the existing ::enabled spec). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * docs(sync): drop non-exposed RPC method reference from todos_changed row The session.todos_changed event reference pointed Clojure users at session.plan.readSqlTodosWithDependencies(), a TS-style method call for an @experimental upstream method this SDK does not expose. Reword the row as signal-only with no payload, consistent with how the rest of the doc names JSON-RPC methods. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Automated update of
@github/copilotto version1.0.63.Changes
@github/copilotinnodejs/package.jsonandtest/harness/package.jsonscripts/codegen)rust/tests/e2e/rpc_workspace_checkpoints.rsfor the newly generated optionalignore_whitespacefield onWorkspacesDiffRequest(added..Default::default())Java Handwritten Code Adaptation Plan
If
java-sdk-testsCI fails on this PR, follow these steps:mvn clean,mvn verifyfromjava/locally or check thejava-sdk-testsworkflow run logs.java/src/main/java/com/github/copilot/sdk/):nullfor optional new fields).CopilotSession.javaif applicable.java/src/test/java/com/github/copilot/sdk/):cd java && mvn clean test-compile jar:jar && mvn verify -Dskip.test.harness=truecd java && mvn spotless:applyNext steps
When ready, click Ready for review to trigger CI checks.