Skip to content

feat: Update to schema v1.20.0 and v2.0.0-alpha.2#225

Merged
benbrandt merged 1 commit into
mainfrom
schema-1.20.0
Jul 21, 2026
Merged

feat: Update to schema v1.20.0 and v2.0.0-alpha.2#225
benbrandt merged 1 commit into
mainfrom
schema-1.20.0

Conversation

@benbrandt

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings July 21, 2026 15:42
@benbrandt
benbrandt enabled auto-merge (squash) July 21, 2026 15:43
@benbrandt
benbrandt merged commit cb61107 into main Jul 21, 2026
7 checks passed
@benbrandt
benbrandt deleted the schema-1.20.0 branch July 21, 2026 15:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the TypeScript SDK’s generated schemas/types to align with ACP schema releases v1.20.0 and v2.0.0-alpha.2, including new enum values and an unstable tool-call naming field.

Changes:

  • Bumped the schema release pins used by the generator to schema-v1.20.0 and schema-v2.0.0-alpha.2.
  • Added "cancelled" to ToolCallStatus (v2) and PlanEntryStatus (v2) unions/zod validators.
  • Introduced an UNSTABLE optional name?: string | null field for tool calls / tool call updates (per the updated schemas).

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/v2/schema/zod.gen.ts Adds cancelled literals and ToolCallUpdate.name to v2 zod validators.
src/v2/schema/types.gen.ts Updates v2 TypeScript unions/docs for cancelled and ToolCallUpdate.name.
src/schema/zod.gen.ts Adds optional name handling to v1 zod validators (ToolCallUpdate, ToolCall).
src/schema/types.gen.ts Adds optional name field/types/docs to v1 ToolCallUpdate and ToolCall.
scripts/generate.js Bumps pinned schema release versions used for generation.
schema/v2/schema.unstable.json Updates v2 JSON schema with ToolCallUpdate.name and cancelled statuses.
schema/schema.json Updates v1 JSON schema with ToolCallUpdate.name and ToolCall.name.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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