mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
24a93672f1
Bump the canonical CopilotKit pin across all showcase integrations + shell
to 1.61.2 (canonical-pins.json, every package.json + package-lock.json),
which carries CopilotKit#5611: passing a catalog to the provider
(`<CopilotKit a2ui={{ catalog }}>`) now auto-enables A2UI and defaults tool
injection on, so the runtime no longer needs an explicit `a2ui` config.
Demonstrate the feature on the A2UI dynamic (declarative-gen-ui) demos by
removing the now-redundant runtime `a2ui` block (`injectA2UITool: true` +
`defaultCatalogId`) from:
- langgraph-python, langgraph-fastapi, langgraph-typescript
- strands, strands-typescript
- google-adk
The forwarded catalog supplies its own catalogId (sdk-js A2UI middleware
auto-derives `defaultCatalogId` from it), so the previous "Catalog not found"
fallback no longer applies.
Verified: validate-pins drift ratchet unchanged (38 / same hash);
langgraph-python D6 `gen-ui-declarative` green end-to-end (no Catalog-not-found).
6 lines
1.1 KiB
JSON
6 lines
1.1 KiB
JSON
{
|
|
"_comment": "Canonical pin set for showcase-internal pin validation. `canonicalCopilotKitVersion` is the SINGLE source of truth for every `@copilotkit/*` dep across all `showcase/integrations/<slug>/package.json` files; validate-pins.ts FAILs any showcase integration whose `@copilotkit/*` pins do not match. Use `overrides[slug]` to legitimately deviate from the canonical version for a specific integration (e.g. a `pkg.pr.new` URL during a runtime upgrade, or an older stable for a special-purpose harness). `overrides[slug]['@copilotkit/<pkg>']` maps a single dep name to its allowed verbatim spec; entries match by exact dep name. Exact-pin discipline (no ^/~/>=/latest/next/dist-tags/workspace:*) still applies to ALL framework deps in EVERY integration; the override list only relaxes the canonical-version check for the named @copilotkit deps. To bump the canonical version: edit `canonicalCopilotKitVersion`, regen each `showcase/integrations/<slug>/package.json` + `package-lock.json`, then re-baseline `fail-baseline.json` (validate-pins.ts prints the new count/hash on a clean run).",
|
|
"canonicalCopilotKitVersion": "1.61.2",
|
|
"overrides": {}
|
|
}
|