Skip to content

Update @github/copilot to 1.0.69-3#1940

Merged
stephentoub merged 2 commits into
mainfrom
update-copilot-1.0.69-3
Jul 7, 2026
Merged

Update @github/copilot to 1.0.69-3#1940
stephentoub merged 2 commits into
mainfrom
update-copilot-1.0.69-3

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Automated update of @github/copilot to version 1.0.69-3.

Changes

  • Updated @github/copilot in nodejs/package.json and test/harness/package.json
  • Re-ran all code generators (scripts/codegen)
  • Formatted generated output
  • Updated Java codegen dependency, POM property, and regenerated Java types

Java Handwritten Code Adaptation Plan

If java-sdk-tests CI fails on this PR, follow these steps:

  1. Identify failures: Run mvn clean, mvn verify from java/ locally or check the java-sdk-tests workflow run logs.
  2. Categorize errors:
    • Constructor signature changes (new fields added to generated records)
    • Enum value additions/renames in generated types
    • New event types requiring handler registration
    • Removed or renamed generated types
  3. Fix handwritten source (java/src/main/java/com/github/copilot/sdk/):
    • Update call sites passing positional constructor args to include new fields (typically null for optional new fields).
    • Update switch/if-else over enum values to handle new cases.
    • Register handlers for new event types in CopilotSession.java if applicable.
  4. Fix handwritten tests (java/src/test/java/com/github/copilot/sdk/):
    • Same constructor/enum fixes as above.
    • Add new test methods for new functionality if the change adds user-facing API surface.
  5. Validate: cd java && mvn clean test-compile jar:jar && mvn verify -Dskip.test.harness=true
  6. Format: cd java && mvn spotless:apply
  7. Push fixes to this PR branch.

To automate this, trigger the java-adapt-handwritten-code-to-accept-upgrade-changes agentic workflow instead.

Next steps

When ready, click Ready for review to trigger CI checks.

Created by the Update @github/copilot Dependency workflow.

- Updated nodejs and test harness dependencies
- Re-ran code generators
- Formatted generated code
@stephentoub stephentoub marked this pull request as ready for review July 7, 2026 22:23
@stephentoub stephentoub requested a review from a team as a code owner July 7, 2026 22:23
Copilot AI review requested due to automatic review settings July 7, 2026 22:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR bumps the monorepo’s pinned @github/copilot protocol/schema dependency to 1.0.69-3 and regenerates the language SDK protocol surfaces (events + RPC types) to match the updated CLI schema.

Changes:

  • Updated @github/copilot version pins across Node SDK, test harness, and Java codegen.
  • Regenerated protocol types for Rust/Python/Node/Go/.NET/Java, adding new event + new options fields (e.g., assistant.tool_call_delta, verbosity, sandbox-bypass request metadata).
  • Updated generated docs/comments to reflect updated protocol semantics (e.g., managed settings and OAuth gating descriptions).
Show a summary per file
File Description
test/harness/package.json Bumps harness devDependency on @github/copilot to ^1.0.69-3.
test/harness/package-lock.json Updates resolved @github/copilot and platform optional deps to 1.0.69-3.
rust/src/generated/session_events.rs Regenerates Rust session event types (adds assistant.tool_call_delta, Verbosity, sandbox-bypass fields, etc.).
rust/src/generated/api_types.rs Regenerates Rust RPC types (adds verbosity, renames managed settings option, adds internal fields).
python/copilot/generated/session_events.py Regenerates Python session events (adds ASSISTANT_TOOL_CALL_DELTA, Verbosity, sandbox-bypass fields).
python/copilot/generated/rpc.py Regenerates Python RPC surface (adds verbosity, managed settings rename, internal fields).
nodejs/src/generated/session-events.ts Regenerates Node session event types (adds AssistantToolCallDeltaEvent, Verbosity, sandbox-bypass fields).
nodejs/src/generated/rpc.ts Regenerates Node RPC types (adds verbosity, managed settings rename, internal fields).
nodejs/samples/package-lock.json Updates sample lockfile to resolve @github/copilot ^1.0.69-3.
nodejs/package.json Bumps Node SDK dependency on @github/copilot to ^1.0.69-3.
nodejs/package-lock.json Updates resolved @github/copilot and platform optional deps to 1.0.69-3.
java/src/generated/java/com/github/copilot/generated/Verbosity.java Adds new generated Verbosity enum for session-events schema.
java/src/generated/java/com/github/copilot/generated/SessionStartEvent.java Adds verbosity field to generated SessionStartEventData.
java/src/generated/java/com/github/copilot/generated/SessionResumeEvent.java Adds verbosity field to generated SessionResumeEventData.
java/src/generated/java/com/github/copilot/generated/SessionModelChangeEvent.java Adds previousVerbosity + verbosity fields to model-change event data.
java/src/generated/java/com/github/copilot/generated/SessionEvent.java Registers new AssistantToolCallDeltaEvent subtype in the sealed event hierarchy.
java/src/generated/java/com/github/copilot/generated/rpc/Verbosity.java Adds new generated Verbosity enum for API schema (RPC).
java/src/generated/java/com/github/copilot/generated/rpc/SessionOptionsUpdateParams.java Adds verbosity to session options update params.
java/src/generated/java/com/github/copilot/generated/rpc/SessionModelSwitchToParams.java Adds verbosity to model switch params.
java/src/generated/java/com/github/copilot/generated/rpc/SessionEventLogRegisterInterestParams.java Updates generated doc text for register-interest gating semantics.
java/src/generated/java/com/github/copilot/generated/AssistantToolCallDeltaEvent.java Adds new generated event class for assistant.tool_call_delta.
java/scripts/codegen/package.json Bumps Java codegen’s @github/copilot dependency to ^1.0.69-3.
java/scripts/codegen/package-lock.json Updates codegen lockfile to resolve @github/copilot 1.0.69-3.
java/pom.xml Updates Java POM pinned reference implementation version property to ^1.0.69-3.
go/zsession_events.go Regenerates Go facade aliases/constants to include new event/type (AssistantToolCallDeltaData, Verbosity).
go/rpc/zsession_events.go Regenerates Go session event types (adds tool-call delta, verbosity, sandbox-bypass fields).
go/rpc/zsession_encoding.go Updates Go session event decoder to handle assistant.tool_call_delta.
go/rpc/zrpc.go Regenerates Go RPC types (adds verbosity, managed settings rename, internal fields).
go/rpc/zrpc_encoding.go Updates Go RPC JSON decoding for renamed/added session open options fields.
dotnet/src/Generated/SessionEvents.cs Regenerates .NET session event types (adds tool-call delta event/data, verbosity, sandbox-bypass fields).
dotnet/src/Generated/Rpc.cs Regenerates .NET RPC types (adds verbosity support; updates managed settings docs/fields; adds internal fields).

Review details

Files not reviewed (9)
  • 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
  • go/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/31 changed files
  • Comments generated: 2
  • Review effort level: Low

Comment thread dotnet/src/Generated/Rpc.cs
Comment thread dotnet/src/Generated/Rpc.cs
@github-actions

This comment has been minimized.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

Cross-SDK Consistency Review ✅

This PR updates @github/copilot to 1.0.69-3 and propagates schema changes consistently across all six SDKs. Here's what was checked:

New Schema Features

Feature Node.js Python Go .NET Java Rust
Verbosity type (low/medium/high)
AssistantToolCallDelta event
verbosity in ModelSwitchToRequest
verbosity in SessionUpdateOptionsParams
verbosity in session event data types

Public API Layer Consistency

All SDKs consistently do not yet expose verbosity in their public setModel / SetModelAsync / set_model APIs — this is a uniform, intentional state:

  • Node.js: session.setModel(model, { reasoningEffort, reasoningSummary, contextTier, modelCapabilities })
  • Python: session.set_model(model, *, reasoning_effort, reasoning_summary, context_tier, model_capabilities)
  • Go: session.SetModel(ctx, model, &SetModelOptions{...})Verbosity not in SetModelOptions
  • .NET: session.SetModelAsync(model, SetModelOptions{...})Verbosity not in SetModelOptions, passes null to RPC
  • Java: session.setModel(model, reasoningEffort) — passes null for verbosity to RPC
  • Rust: Explicitly passes verbosity: None in the model switch request

Handwritten Adaptation

The .NET and Java handwritten adapter code was correctly updated to pass null for the new verbosity parameter in internal RPC calls, maintaining backward compatibility.

No cross-SDK consistency issues found. All SDKs are in alignment with this schema update.

Generated by SDK Consistency Review Agent for issue #1940 · sonnet46 3.8M ·

@stephentoub stephentoub added this pull request to the merge queue Jul 7, 2026
Merged via the queue into main with commit 5eead9c Jul 7, 2026
45 checks passed
@stephentoub stephentoub deleted the update-copilot-1.0.69-3 branch July 7, 2026 23:20
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.

2 participants