Skip to content

feat: update schemas to v1.26.0 and v2.0.0-alpha.9 - #285

Merged
benbrandt merged 1 commit into
mainfrom
feat/update-schema-1-26
Oct 16, 2026
Merged

benbrandt merged 1 commit into
mainfrom
feat/update-schema-1-26

Conversation

@benbrandt

Copy link
Copy Markdown
Member

Summary

  • Update generation pins to schema v1.26.0 and draft v2.0.0-alpha.9, corresponding to schema crate 1.12.0, and regenerate vendored schemas, types, validators, guards, and API documentation.
  • Remove retired Next Edit Suggestions and document-event APIs from both entry points, legacy adapters, routing, and obsolete tests. Unknown removed capability fields no longer map into v1 initialization.
  • Carry client-provided system prompts through the generated lifecycle request types and validators.
  • Synchronize current foreground state before every successful resume response in the dual-version example, including without history replay.
  • Document aggregate foreground snapshots, metadata patches, capability negotiation, system-prompt gates, and active fork semantics.

Validation

  • npm run generate
  • npm run check (generation drift, lint, formatting, spellcheck, build, tests, and both TypeDoc entry points)
  • Verified vendored schemas against release asset SHA-256 digests.
  • Exercised the compiled dual-version agent over stdio: insertion receipts, running/idle, resume snapshots with/without replay, unsupported-cursor rejection, and close.
  • Checked generated v1/v2 system-prompt validators accept valid instructions and reject malformed acted-on values.

Notes

  • NES was removed upstream; this removes its SDK surface rather than retaining it as a separate experiment. This overlaps with feat: isolate NES behind an experimental entrypoint #284, which proposes isolating NES instead.
  • npm ci reports four existing high-severity dependency advisories. No unrelated dependency or SDK package-version changes are included.

@benbrandt
benbrandt merged commit 93599f3 into main Oct 16, 2026
6 checks passed
@benbrandt
benbrandt deleted the feat/update-schema-1-26 branch October 16, 2026 10:27
This was referenced Oct 19, 2026
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.

1 participant