Skip to content

Update Copilot CLI to 1.0.84-2 - #2572

Open
andyfeller wants to merge 3 commits into
mainfrom
update-copilot-1.0.84-2
Open

Update Copilot CLI to 1.0.84-2#2572
andyfeller wants to merge 3 commits into
mainfrom
update-copilot-1.0.84-2

Conversation

@andyfeller

Copy link
Copy Markdown
Contributor

Updates the Copilot CLI release used by the SDKs from 1.0.83 to 1.0.84-2.

Changes

  • Updated the shared release pin in nodejs/package.json
  • Validated and regenerated all SDK contracts from the published release schemas
  • Updated Java generated-record coverage for the new optional AgentInfo.prompt field
  • Updated Rust plugin E2E requests for the new optional working_directory field
  • Refreshed the Node.js sample lockfile metadata

This supersedes #2549, which targets 1.0.84-1.

Validation

  • Node.js: 952 passed, 11 skipped
  • Python: 828 passed, 8 skipped
  • Go: full test suite passed
  • .NET: 814 passed, 4 skipped
  • Java: full mvn verify passed, including 2,923 unit tests with 24 skipped
  • Rust: formatting and Clippy passed; plugin enable and disable E2E tests passed; an unrelated replay-proxy failure from the full suite passed when rerun

andyfeller and others added 3 commits September 8, 2026 09:36
Use the generated API and session-event schemas from runtime commit 8e41d1de as a temporary local base while the 1.0.84-2 release is publishing. Keep the shared CLI release pin unchanged until the signed release assets are available.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Pin the official prerelease, refresh the sample lockfile metadata, and adapt Java generated-record coverage for the new AgentInfo prompt field.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Set the new optional working directory field explicitly when enabling and disabling marketplace plugins.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings September 8, 2026 14:58
@andyfeller
andyfeller requested a review from a team as a code owner September 8, 2026 14:58
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

SDK Consistency Review

This PR only modifies auto-generated files:

  • dotnet/src/Generated/Rpc.cs, dotnet/src/Generated/SessionEvents.cs
  • go/rpc/*.go, go/zsession_events.go
  • java/sdk/src/generated/java/** (including new files RecommendedAutoTier.java, SessionAutoTierRecommendationEvent.java, SubagentTaskModelSource.java, FactoryPauseCheckpointAction.java)

These changes bring the .NET, Go, and Java generated types up to date with new schema definitions (AutoTier, RecommendedAutoTier, SessionAutoTierRecommendationEvent, SubagentTaskModelSource, FactoryPauseCheckpointAction, and related fields on ModelSwitchAutoTier*/FactoryRun* types).

I checked the equivalent generated sources in Node.js (nodejs/src/generated/rpc.ts, session-events.ts), Python (python/copilot/generated/), and Rust (rust/src/generated/) — they already contain these same symbols/fields. So this PR is a type-generation catch-up sync for the three lagging SDKs rather than a new feature introduced in only one language.

✅ No cross-SDK consistency issues found — this maintains feature parity by aligning generated types across languages. No hand-written client/API logic was touched, so no naming/parameter/behavior divergence to flag.

Generated by SDK Consistency Review Agent for #2572 · copilot · sonnet50 · 22.9 AIC · ⌖ 12.8 AIC · ⊞ 9.7K ·

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.

Copilot review overview

🔵 Needs a closer look

Critical compatibility regressions and missing public Auto-tier support must be addressed.

Review tier: Balanced
Findings: None

What changed in this PR

Updates Copilot CLI from 1.0.83 to 1.0.84-2 and regenerates SDK protocol contracts across supported languages.

Changes:

  • Updates CLI pins and Node.js lockfile metadata.
  • Regenerates RPC and session-event models.
  • Updates Java coverage and Rust plugin E2E requests.

Unresolved comments:

  • Critical (2 votes): Preserve Python SessionPermissionsChangedData positional field order.
  • Critical (2 votes): Protect Rust public protocol structs from source-breaking field additions.
  • Moderate (2 votes): Add FAST to Java’s handwritten AutoTier and tests.
  • Moderate (2 votes): Add "fast" to Python’s public AutoTier alias and tests.
  • Nit (1 vote): Add AutoTier::Fast to Rust CAPI round-trip tests.
File Description
rust/​tests/​e2e/​rpc_server_plugins.rs Adds plugin working directories.
rust/​src/​generated/​session_events.rs Regenerates Rust event contracts.
rust/​src/​generated/​rpc.rs Adds generated Rust RPC methods.
rust/​src/​generated/​api_types.rs Regenerates Rust RPC types.
python/​copilot/​generated/​session_events.py Regenerates Python event contracts.
nodejs/​src/​generated/​session-events.ts Regenerates TypeScript event types.
nodejs/​src/​generated/​rpc.ts Regenerates TypeScript RPC contracts.
nodejs/​src/​cliVersion.ts Updates the runtime CLI version.
nodejs/​samples/​package-lock.json Refreshes linked SDK metadata.
nodejs/​package.json Updates the shared CLI release pin.
java/​sdk/​src/​test/​java/​com/​github/​copilot/​generated/​rpc/​GeneratedRpcRecordsCoverageTest.java Updates generated-record coverage.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​SubagentTaskModelSource.java Adds model-source values.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​SubagentStartedEvent.java Adds model-source metadata.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​SessionEvent.java Registers the recommendation event.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​SessionCompactionCompleteEvent.java Adds factory compaction metadata.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​SessionAutoTierRecommendationEvent.java Adds Auto-tier recommendations.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​SessionSandboxDisableForSessionResult.java Adds sandbox-disable results.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​SessionSandboxDisableForSessionParams.java Adds sandbox-disable parameters.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​SessionSandboxApi.java Exposes sandbox disabling.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​SessionModelSetAllowedModelsResult.java Adds model-policy results.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​SessionModelSetAllowedModelsParams.java Adds model-policy parameters.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​SessionModelApi.java Exposes model allowlist updates.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​SessionFactoryRunResult.java Adds pause metadata.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​SessionFactoryRunFromToolResult.java Adds tool-run pause metadata.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​SessionFactoryPauseResult.java Adds factory-pause results.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​SessionFactoryPauseParams.java Adds factory-pause parameters.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​SessionFactoryPauseAtCheckpointResult.java Adds checkpoint-pause results.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​SessionFactoryPauseAtCheckpointParams.java Adds checkpoint-pause parameters.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​SessionFactoryGetRunResult.java Adds run pause metadata.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​SessionFactoryGetRunDetailResult.java Adds resume eligibility.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​SessionFactoryCancelResult.java Adds cancellation pause metadata.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​SessionFactoryApi.java Exposes factory pause operations.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​ServerPluginsApi.java Updates plugin RPC documentation.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​PluginsEnableParams.java Adds plugin working directory.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​PluginsDisableParams.java Adds plugin working directory.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​FactoryRunTerminal.java Adds terminal pause metadata.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​FactoryRunSummary.java Adds resume eligibility.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​FactoryRunStatus.java Adds paused status.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​FactoryRunResult.java Adds pause metadata.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​FactoryPauseCheckpointAction.java Adds checkpoint actions.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​FactoryAgentOptions.java Updates option documentation.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​FactoryAbortParams.java Adds execution tokens.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​CapiSessionOptions.java Documents the fast Auto tier.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​AutoTier.java Adds the fast Auto tier.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​rpc/​AgentInfo.java Adds invocation metadata.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​RecommendedAutoTier.java Adds recommendation values.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​FactoryRunSettledStatus.java Adds paused status.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​CustomAgentsUpdatedAgent.java Adds invocation metadata.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​CompactionCompleteCompactionTokensUsedCopilotUsageTokenDetail.java Adds billing model metadata.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​CompactionCompleteCompactionTokensUsedCopilotUsage.java Adds default billing model.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​AutoTier.java Adds the fast event-tier value.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​AssistantUsageCopilotUsageTokenDetail.java Adds billing model metadata.
java/​sdk/​src/​generated/​java/​com/​github/​copilot/​generated/​AssistantUsageCopilotUsage.java Adds default billing model.
go/​zsession_events.go Re-exports new Go event types.
go/​rpc/​zsession_events.go Regenerates Go event contracts.
go/​rpc/​zsession_encoding.go Adds event-union encoding.
go/​rpc/​zrpc.go Regenerates Go RPC contracts.
go/​rpc/​zrpc_encoding.go Adds factory-pause encoding.
dotnet/​src/​Generated/​SessionEvents.cs Regenerates .NET event contracts.
Files not reviewed (5)
  • 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
  • nodejs/samples/package-lock.json: Generated file

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@SteveSandersonMS SteveSandersonMS 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.

Approving assuming tests still pass

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.

3 participants