Repository navigation
fix(docs): migrate shared catalog samples to A2UI 1.0 - #8164
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Production Digest-Pinning AuditAll 43 services digest-pinned. Run 2026-11-04 06:11:49 PST — 0 finding(s). |
mme
left a comment
There was a problem hiding this comment.
Looks good, thanks. "v1.0" becomes "1.0" in all three operations, and nothing else in the repo still emits "v1.0". Running every sample through the published validator is a nice regression guard.
Two small, non-blocking notes:
- The lockfile now has two copies of
@ag-ui/core: 1.0.3 at the top level, pulled in by@copilotkit/shared's range, and 1.0.2 nested under the client, encoder, proto and react-core packages. That's harmless for the docs app, and an override would dedupe it if you care. @copilotkit/sharedis pinned separately from@copilotkit/react-core. If one gets bumped without the other, the test would validate the samples against a different version than the renderer ships. Bumping them together (or a short comment next to the pin) would keep that from drifting.
Assert that the published shared validator and React renderer stay pinned to the same version. Pin AG-UI core to the exact 1.0.2 version required by the renderer and transport packages, removing four redundant nested copies without overrides.
The shared standard catalog still emitted
version: "v1.0", which CopilotKit 1.84 rejects. Emit canonical"1.0"operations and upgrade the standalone docs renderer from 1.81.0 to published 1.84.0 in the same change. This fixes both the docs component previews/copyable operations and theexamples/v2/a2ui-markdowncatalog, which already consumes the workspace 1.84 renderer.Add a regression that checks every shared sample operation against the real published 1.84 validator and standard catalog manifest. Pin
@copilotkit/shareddirectly as a test dependency and update the standalone npm lockfile. Older A2UI catalogs are unchanged.Validation:
v1.0versus1.0); passes after the migration.npm ci; scoped formatter/lint; docs generation and explicit typecheck; 91 test files / 585 tests pass.1.0. The markdown catalog renders all 39 samples / 88 canonical operations, with a working button event and no page errors.Follow-up to #8155. This uses published 1.84.0 packages; there is no package release blocker or compatibility shim.
Summary by CodeRabbit
1.0version format instead ofv1.0for surface creation and related data-model and component updates. This aligns the version shown in sample operations and initial-data examples. The condition for generating optional data-model updates remains unchanged.