Skip to content

refactor: isolate v1 under deprecated source folders - #6655

Closed
ataibarkai wants to merge 4 commits into
chore/6582-reapply-v1-deprecation-contentfrom
refactor/6589-reapply-v1-deprecated-folders
Closed

ataibarkai wants to merge 4 commits into
chore/6582-reapply-v1-deprecation-contentfrom
refactor/6589-reapply-v1-deprecated-folders

Conversation

@ataibarkai

Copy link
Copy Markdown
Contributor

Stack

Stacked PR #2. Do not merge until the stack below lands in order.

  1. #6653 restores the pre-merge baseline.
  2. #6654 reapplies the content-only v1 deprecation changes.
  3. This PR reapplies the folder/isolation refactor on top of chore: reapply v1 SDK deprecation content #6654.

Base: chore/6582-reapply-v1-deprecation-content at c578bd9f8b805ae5a28368b8a39e5c5e8829e032.

The four original PR #6589 commits were replayed in their canonical order with Atai's author identity, author dates, and subjects preserved. This is the folder/isolation stack, but it is not literally rename-only: the source moves require matching build, test, configuration, generated-notice, and runtime-layout adjustments to preserve the public contract.

Folder transition

React Core becomes:

packages/react-core/src/
|-- index.ts
|-- v1-deprecated-compatibility.ts
|-- v1-deprecated/
|   |-- components/
|   |-- hooks/
|   |-- types/
|   +-- index.ts
+-- v2/
    |-- components/
    |-- hooks/
    |-- types/
    +-- index.ts

Runtime follows the same boundary:

packages/runtime/src/
|-- index.ts
|-- v1-deprecated-compatibility.ts
|-- v1-deprecated/
|   |-- agents/
|   |-- graphql/
|   |-- lib/
|   |-- service-adapters/
|   |-- utils/
|   +-- index.ts
+-- v2/

Runtime's shared/current agent/ directory remains outside v1-deprecated/ because v2 uses BuiltInAgent.

Public contract

  • Package-root imports remain the deprecated v1 compatibility API.
  • /v2 remains the preferred public API.
  • No public /v1 or /v1-deprecated entrypoint is added.
  • Runtime build output is flattened back to its historical public layout.
  • The Runtime post-build hook waits for both concurrent ESM and CJS builds before flattening, runs once per build cycle, resets for watch cycles, and fails loudly if required v1 output is missing after the full barrier.
  • Moved legacy files preserve their code and import grouping; relative paths, build entrypoints, test paths, TypeDoc source links, generated notices, and manifests change only as required by the move.
  • Tests move under v1-deprecated/ only when they exercise deprecated compatibility code. Version-neutral and v2-only contract tests remain at neutral or v2 paths.
  • The v2 thread contract remains outside the deprecated tree.
  • Vue is not part of this transition.

Exact replay verification

  • Final tree: 5b6cef381242fa2e33c5b047bf1a29c41592f7a5
  • Original accidental-merge head c2b5e579^{tree}: 5b6cef381242fa2e33c5b047bf1a29c41592f7a5
  • Tree diff against c2b5e579: empty
  • Exactly four commits above the chore: reapply v1 SDK deprecation content #6654 base, in the original order
  • Original Atai author identity, author date, and subject match for all four commits

Validation

  • Architecture/deprecation tests: 16/16
  • Public API manifest contract: 1/1; checked-in manifest current
  • Built declaration notices: 150 v1 exports checked across React Core and Runtime entrypoints
  • React Core, Runtime, and Web Inspector uncached tests: pass
  • React Core, Runtime, and Web Inspector uncached typechecks: pass
  • React Core, Runtime, and Web Inspector uncached builds: pass, including dual ESM/CJS output
  • Shell docs focused v1-deprecation and v2-reference tests: pass
  • Shell docs typecheck: pass
  • Shell docs production build: pass, 223/223 pages
  • Scoped formatter: all 233 touched existing files clean
  • Repository lint: 0 errors (5,030 inherited warnings)
  • git diff --check: pass
  • Vue: no diff
  • Worktree clean after generated-docs verification

Inherited baseline checks

The repository-wide formatter reports 25 pre-existing formatting failures outside this stack's diff. The scoped formatter passes all 233 touched files.

A broader selected shell-docs suite reaches 68/69. The sole failure is the existing Mastra tool-rendering fixture expecting a createTool import while its generated setup is skipped because that demo is not bundled for Mastra. The focused deprecation/reference tests, docs typecheck, and full 223-page production build pass. The reviewed tree is intentionally preserved rather than adding an unrelated fix.

GTM impact

None. This stack changes SDK source isolation and the corresponding build/test/docs plumbing; it does not change website CTAs, tracking, experiments, routes, or campaign links.

@github-actions

Copy link
Copy Markdown
Contributor

Production Digest-Pinning Audit

All 42 services digest-pinned.

Run 2026-08-21 18:02:52 PDT — 0 finding(s).

@pkg-pr-new

pkg-pr-new Bot commented Aug 22, 2026

Copy link
Copy Markdown

Open in StackBlitz

@copilotkit/a2ui-renderer

pnpm add https://pkg.pr.new/@copilotkit/a2ui-renderer@6655

@copilotkit/agentcore-runner

pnpm add https://pkg.pr.new/@copilotkit/agentcore-runner@6655

@copilotkit/angular

pnpm add https://pkg.pr.new/@copilotkit/angular@6655

@copilotkit/channels

pnpm add https://pkg.pr.new/@copilotkit/channels@6655

@copilotkit/channels-core

pnpm add https://pkg.pr.new/@copilotkit/channels-core@6655

@copilotkit/channels-discord

pnpm add https://pkg.pr.new/@copilotkit/channels-discord@6655

@copilotkit/channels-intelligence

pnpm add https://pkg.pr.new/@copilotkit/channels-intelligence@6655

@copilotkit/channels-slack

pnpm add https://pkg.pr.new/@copilotkit/channels-slack@6655

@copilotkit/channels-teams

pnpm add https://pkg.pr.new/@copilotkit/channels-teams@6655

@copilotkit/channels-telegram

pnpm add https://pkg.pr.new/@copilotkit/channels-telegram@6655

@copilotkit/channels-ui

pnpm add https://pkg.pr.new/@copilotkit/channels-ui@6655

@copilotkit/channels-whatsapp

pnpm add https://pkg.pr.new/@copilotkit/channels-whatsapp@6655

@copilotkit/core

pnpm add https://pkg.pr.new/@copilotkit/core@6655

@copilotkit/react-core

pnpm add https://pkg.pr.new/@copilotkit/react-core@6655

@copilotkit/react-native

pnpm add https://pkg.pr.new/@copilotkit/react-native@6655

@copilotkit/react-textarea

pnpm add https://pkg.pr.new/@copilotkit/react-textarea@6655

@copilotkit/react-ui

pnpm add https://pkg.pr.new/@copilotkit/react-ui@6655

@copilotkit/runtime

pnpm add https://pkg.pr.new/@copilotkit/runtime@6655

@copilotkit/runtime-client-gql

pnpm add https://pkg.pr.new/@copilotkit/runtime-client-gql@6655

@copilotkit/sdk-js

pnpm add https://pkg.pr.new/@copilotkit/sdk-js@6655

@copilotkit/shared

pnpm add https://pkg.pr.new/@copilotkit/shared@6655

@copilotkit/sqlite-runner

pnpm add https://pkg.pr.new/@copilotkit/sqlite-runner@6655

@copilotkit/voice

pnpm add https://pkg.pr.new/@copilotkit/voice@6655

@copilotkit/vue

pnpm add https://pkg.pr.new/@copilotkit/vue@6655

@copilotkit/web-components

pnpm add https://pkg.pr.new/@copilotkit/web-components@6655

@copilotkit/web-inspector

pnpm add https://pkg.pr.new/@copilotkit/web-inspector@6655

commit: 7d3f4a9

@github-actions

Copy link
Copy Markdown
Contributor

Size Change: +83 B (+0.01%)

Total Size: 1.44 MB

📦 View Changed
Filename Size Change
packages/react-core/dist/copilotkit-BE04y_Nh.mjs 110 kB +110 kB (new file) 🆕
packages/react-core/dist/copilotkit-Bed1ddGU.cjs 111 kB +111 kB (new file) 🆕
packages/react-core/dist/copilotkit-DOMr3DRO.cjs 0 B -111 kB (removed) 🏆
packages/react-core/dist/copilotkit-ykQW_VJZ.mjs 0 B -110 kB (removed) 🏆
packages/react-core/dist/index.cjs 17 kB +8 B (+0.05%)
packages/react-core/dist/index.mjs 17 kB +4 B (+0.02%)
packages/react-core/dist/index.umd.js 65.8 kB +11 B (+0.02%)
packages/react-core/dist/v2/index.cjs 1.31 kB -2 B (-0.15%)
packages/react-core/dist/v2/index.mjs 1.13 kB +1 B (+0.09%)
packages/react-core/dist/v2/index.umd.js 111 kB +12 B (+0.01%)
ℹ️ View Unchanged
Filename Size
packages/a2ui-renderer/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/a2ui-renderer/dist/a2ui-types.cjs 172 B
packages/a2ui-renderer/dist/a2ui-types.mjs 171 B
packages/a2ui-renderer/dist/index.cjs 943 B
packages/a2ui-renderer/dist/index.mjs 619 B
packages/a2ui-renderer/dist/index.umd.js 12.6 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/A2uiSurface.cjs 1.49 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/A2uiSurface.mjs 1.43 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/adapter.cjs 1.07 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/adapter.mjs 1.01 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/AudioPlayer.cjs 904 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/AudioPlayer.mjs 492 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Button.cjs 1 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Button.mjs 596 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Card.cjs 829 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Card.mjs 419 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/CheckBox.cjs 1.1 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/CheckBox.mjs 1.02 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChildList.cjs 799 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChildList.mjs 737 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChoicePicker.cjs 1.63 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChoicePicker.mjs 1.57 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Column.cjs 856 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Column.mjs 802 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/DateTimeInput.cjs 1.12 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/DateTimeInput.mjs 1.05 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Divider.cjs 842 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Divider.mjs 432 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Icon.cjs 877 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Icon.mjs 469 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Image.cjs 995 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Image.mjs 587 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/List.cjs 920 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/List.mjs 508 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Modal.cjs 1.19 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Modal.mjs 1.13 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Row.cjs 855 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Row.mjs 801 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Slider.cjs 1.06 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Slider.mjs 984 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Tabs.cjs 1.1 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Tabs.mjs 1.04 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Text.cjs 903 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Text.mjs 489 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/TextField.cjs 1.21 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/TextField.mjs 1.14 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Video.cjs 788 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Video.mjs 378 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/index.cjs 928 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/index.mjs 855 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/utils.cjs 579 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/utils.mjs 556 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Button.cjs 982 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Button.mjs 580 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/ChildList.cjs 800 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/ChildList.mjs 735 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Column.cjs 1.08 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Column.mjs 1.02 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Row.cjs 1.07 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Row.mjs 1.01 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Text.cjs 894 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Text.mjs 839 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/TextField.cjs 1.21 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/TextField.mjs 802 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/index.cjs 849 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/index.mjs 804 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/index.cjs 310 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/index.mjs 325 B
packages/a2ui-renderer/dist/react-renderer/catalog-utils.cjs 1.59 kB
packages/a2ui-renderer/dist/react-renderer/catalog-utils.mjs 1.52 kB
packages/a2ui-renderer/dist/react-renderer/core/A2UIProvider.cjs 1.5 kB
packages/a2ui-renderer/dist/react-renderer/core/A2UIProvider.mjs 1.42 kB
packages/a2ui-renderer/dist/react-renderer/core/A2UIRenderer.cjs 728 B
packages/a2ui-renderer/dist/react-renderer/core/A2UIRenderer.mjs 671 B
packages/a2ui-renderer/dist/react-renderer/create-catalog.cjs 1.35 kB
packages/a2ui-renderer/dist/react-renderer/create-catalog.mjs 1.28 kB
packages/a2ui-renderer/dist/react-renderer/filter-catalog.cjs 622 B
packages/a2ui-renderer/dist/react-renderer/filter-catalog.mjs 569 B
packages/a2ui-renderer/dist/react-renderer/hooks/useA2UI.cjs 316 B
packages/a2ui-renderer/dist/react-renderer/hooks/useA2UI.mjs 309 B
packages/a2ui-renderer/dist/react-renderer/index.cjs 409 B
packages/a2ui-renderer/dist/react-renderer/index.mjs 568 B
packages/a2ui-renderer/dist/react-renderer/lib/utils.cjs 236 B
packages/a2ui-renderer/dist/react-renderer/lib/utils.mjs 188 B
packages/a2ui-renderer/dist/react-renderer/styles/index.cjs 239 B
packages/a2ui-renderer/dist/react-renderer/styles/index.mjs 231 B
packages/a2ui-renderer/dist/react-renderer/theme/ThemeContext.cjs 436 B
packages/a2ui-renderer/dist/react-renderer/theme/ThemeContext.mjs 381 B
packages/a2ui-renderer/dist/web-components/_virtual/_rolldown/runtime.cjs 260 B
packages/a2ui-renderer/dist/web-components/_virtual/_rolldown/runtime.mjs 258 B
packages/a2ui-renderer/dist/web-components/adapter.cjs 346 B
packages/a2ui-renderer/dist/web-components/adapter.mjs 335 B
packages/a2ui-renderer/dist/web-components/bound-component.cjs 670 B
packages/a2ui-renderer/dist/web-components/bound-component.mjs 662 B
packages/a2ui-renderer/dist/web-components/catalog/basic/audio-player.cjs 536 B
packages/a2ui-renderer/dist/web-components/catalog/basic/audio-player.mjs 492 B
packages/a2ui-renderer/dist/web-components/catalog/basic/button.cjs 647 B
packages/a2ui-renderer/dist/web-components/catalog/basic/button.mjs 604 B
packages/a2ui-renderer/dist/web-components/catalog/basic/card.cjs 448 B
packages/a2ui-renderer/dist/web-components/catalog/basic/card.mjs 402 B
packages/a2ui-renderer/dist/web-components/catalog/basic/check-box.cjs 743 B
packages/a2ui-renderer/dist/web-components/catalog/basic/check-box.mjs 695 B
packages/a2ui-renderer/dist/web-components/catalog/basic/choice-picker.cjs 1.27 kB
packages/a2ui-renderer/dist/web-components/catalog/basic/choice-picker.mjs 1.24 kB
packages/a2ui-renderer/dist/web-components/catalog/basic/column.cjs 474 B
packages/a2ui-renderer/dist/web-components/catalog/basic/column.mjs 431 B
packages/a2ui-renderer/dist/web-components/catalog/basic/components.cjs 482 B
packages/a2ui-renderer/dist/web-components/catalog/basic/components.mjs 424 B
packages/a2ui-renderer/dist/web-components/catalog/basic/date-time-input.cjs 756 B
packages/a2ui-renderer/dist/web-components/catalog/basic/date-time-input.mjs 714 B
packages/a2ui-renderer/dist/web-components/catalog/basic/divider.cjs 450 B
packages/a2ui-renderer/dist/web-components/catalog/basic/divider.mjs 404 B
packages/a2ui-renderer/dist/web-components/catalog/basic/icon.cjs 504 B
packages/a2ui-renderer/dist/web-components/catalog/basic/icon.mjs 455 B
packages/a2ui-renderer/dist/web-components/catalog/basic/ids.cjs 192 B
packages/a2ui-renderer/dist/web-components/catalog/basic/ids.mjs 190 B
packages/a2ui-renderer/dist/web-components/catalog/basic/image.cjs 624 B
packages/a2ui-renderer/dist/web-components/catalog/basic/image.mjs 578 B
packages/a2ui-renderer/dist/web-components/catalog/basic/index.cjs 465 B
packages/a2ui-renderer/dist/web-components/catalog/basic/index.mjs 526 B
packages/a2ui-renderer/dist/web-components/catalog/basic/list.cjs 534 B
packages/a2ui-renderer/dist/web-components/catalog/basic/list.mjs 483 B
packages/a2ui-renderer/dist/web-components/catalog/basic/modal.cjs 842 B
packages/a2ui-renderer/dist/web-components/catalog/basic/modal.mjs 800 B
packages/a2ui-renderer/dist/web-components/catalog/basic/row.cjs 471 B
packages/a2ui-renderer/dist/web-components/catalog/basic/row.mjs 427 B
packages/a2ui-renderer/dist/web-components/catalog/basic/slider.cjs 701 B
packages/a2ui-renderer/dist/web-components/catalog/basic/slider.mjs 653 B
packages/a2ui-renderer/dist/web-components/catalog/basic/tabs.cjs 780 B
packages/a2ui-renderer/dist/web-components/catalog/basic/tabs.mjs 730 B
packages/a2ui-renderer/dist/web-components/catalog/basic/text-field.cjs 857 B
packages/a2ui-renderer/dist/web-components/catalog/basic/text-field.mjs 814 B
packages/a2ui-renderer/dist/web-components/catalog/basic/text.cjs 553 B
packages/a2ui-renderer/dist/web-components/catalog/basic/text.mjs 501 B
packages/a2ui-renderer/dist/web-components/catalog/basic/utils.cjs 484 B
packages/a2ui-renderer/dist/web-components/catalog/basic/utils.mjs 462 B
packages/a2ui-renderer/dist/web-components/catalog/basic/video.cjs 400 B
packages/a2ui-renderer/dist/web-components/catalog/basic/video.mjs 352 B
packages/a2ui-renderer/dist/web-components/catalog/children.cjs 302 B
packages/a2ui-renderer/dist/web-components/catalog/children.mjs 300 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/button.cjs 629 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/button.mjs 584 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/column.cjs 609 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/column.mjs 559 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/components.cjs 245 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/components.mjs 263 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/index.cjs 724 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/index.mjs 654 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/row.cjs 593 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/row.mjs 544 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/text-field.cjs 874 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/text-field.mjs 822 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/text.cjs 509 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/text.mjs 477 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/utils.cjs 291 B
packages/a2ui-renderer/dist/web-components/catalog/minimal/utils.mjs 287 B
packages/a2ui-renderer/dist/web-components/create-catalog.cjs 1.89 kB
packages/a2ui-renderer/dist/web-components/create-catalog.mjs 1.83 kB
packages/a2ui-renderer/dist/web-components/define.cjs 440 B
packages/a2ui-renderer/dist/web-components/define.mjs 341 B
packages/a2ui-renderer/dist/web-components/index.cjs 960 B
packages/a2ui-renderer/dist/web-components/index.mjs 655 B
packages/a2ui-renderer/dist/web-components/node.cjs 1.05 kB
packages/a2ui-renderer/dist/web-components/node.mjs 1.04 kB
packages/a2ui-renderer/dist/web-components/surface.cjs 2.83 kB
packages/a2ui-renderer/dist/web-components/surface.mjs 2.81 kB
packages/core/dist/index.cjs 54.1 kB
packages/core/dist/index.mjs 53.7 kB
packages/core/dist/index.umd.js 57.8 kB
packages/react-core/dist/v2/context.cjs 1.55 kB
packages/react-core/dist/v2/context.mjs 1.47 kB
packages/react-core/dist/v2/headless.cjs 13.7 kB
packages/react-core/dist/v2/headless.mjs 13.1 kB
packages/react-native/dist/chunk-C0xms8kb.cjs 546 B
packages/react-native/dist/components/index.cjs 8.25 kB
packages/react-native/dist/components/index.mjs 8.06 kB
packages/react-native/dist/headless.cjs 630 B
packages/react-native/dist/headless.mjs 371 B
packages/react-native/dist/index.cjs 6.52 kB
packages/react-native/dist/index.mjs 6.15 kB
packages/react-native/dist/polyfills.cjs 158 B
packages/react-native/dist/polyfills.mjs 160 B
packages/react-native/dist/polyfills/crypto.cjs 373 B
packages/react-native/dist/polyfills/crypto.mjs 381 B
packages/react-native/dist/polyfills/dom.cjs 540 B
packages/react-native/dist/polyfills/dom.mjs 550 B
packages/react-native/dist/polyfills/encoding.cjs 332 B
packages/react-native/dist/polyfills/encoding.mjs 307 B
packages/react-native/dist/polyfills/location.cjs 236 B
packages/react-native/dist/polyfills/location.mjs 244 B
packages/react-native/dist/polyfills/streams.cjs 371 B
packages/react-native/dist/polyfills/streams.mjs 339 B
packages/react-native/dist/streaming-fetch-BnQh3vBz.mjs 2.22 kB
packages/react-native/dist/streaming-fetch-BTESzLKX.cjs 2.27 kB
packages/react-native/dist/useRenderTool-CKEPq7MQ.cjs 2.09 kB
packages/react-native/dist/useRenderTool-l7M-I8rT.mjs 1.95 kB
packages/react-textarea/dist/index.cjs 18.1 kB
packages/react-textarea/dist/index.mjs 17.4 kB
packages/react-textarea/dist/index.umd.js 18.8 kB
packages/react-ui/dist/index.cjs 25.2 kB
packages/react-ui/dist/index.mjs 24.5 kB
packages/react-ui/dist/index.umd.js 26.5 kB
packages/runtime-client-gql/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/runtime-client-gql/dist/client/conversion.cjs 1.52 kB
packages/runtime-client-gql/dist/client/conversion.mjs 1.45 kB
packages/runtime-client-gql/dist/client/CopilotRuntimeClient.cjs 1.58 kB
packages/runtime-client-gql/dist/client/CopilotRuntimeClient.mjs 1.54 kB
packages/runtime-client-gql/dist/client/types.cjs 701 B
packages/runtime-client-gql/dist/client/types.mjs 642 B
packages/runtime-client-gql/dist/graphql/@generated/gql.cjs 850 B
packages/runtime-client-gql/dist/graphql/@generated/gql.mjs 850 B
packages/runtime-client-gql/dist/graphql/@generated/graphql.cjs 2.4 kB
packages/runtime-client-gql/dist/graphql/@generated/graphql.mjs 2.36 kB
packages/runtime-client-gql/dist/graphql/definitions/mutations.cjs 740 B
packages/runtime-client-gql/dist/graphql/definitions/mutations.mjs 732 B
packages/runtime-client-gql/dist/graphql/definitions/queries.cjs 316 B
packages/runtime-client-gql/dist/graphql/definitions/queries.mjs 304 B
packages/runtime-client-gql/dist/index.cjs 679 B
packages/runtime-client-gql/dist/index.mjs 495 B
packages/runtime-client-gql/dist/index.umd.js 9.58 kB
packages/runtime-client-gql/dist/message-conversion/agui-to-gql.cjs 1.72 kB
packages/runtime-client-gql/dist/message-conversion/agui-to-gql.mjs 1.7 kB
packages/runtime-client-gql/dist/message-conversion/gql-to-agui.cjs 1.56 kB
packages/runtime-client-gql/dist/message-conversion/gql-to-agui.mjs 1.53 kB
packages/runtime-client-gql/dist/package.cjs 181 B
packages/runtime-client-gql/dist/package.mjs 116 B
packages/shared/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/shared/dist/a2ui-prompts.cjs 2.85 kB
packages/shared/dist/a2ui-prompts.mjs 2.85 kB
packages/shared/dist/attachments/utils.cjs 1.74 kB
packages/shared/dist/attachments/utils.mjs 1.7 kB
packages/shared/dist/constants/index.cjs 362 B
packages/shared/dist/constants/index.mjs 345 B
packages/shared/dist/debug.cjs 454 B
packages/shared/dist/debug.mjs 452 B
packages/shared/dist/finalize-events.cjs 1.05 kB
packages/shared/dist/finalize-events.mjs 1 kB
packages/shared/dist/index.cjs 2.03 kB
packages/shared/dist/index.mjs 1.69 kB
packages/shared/dist/index.umd.js 21.5 kB
packages/shared/dist/logger.cjs 112 B
packages/shared/dist/logger.mjs 112 B
packages/shared/dist/package.cjs 181 B
packages/shared/dist/package.mjs 116 B
packages/shared/dist/standard-schema.cjs 740 B
packages/shared/dist/standard-schema.mjs 737 B
packages/shared/dist/telemetry/lambda-client.cjs 1.14 kB
packages/shared/dist/telemetry/lambda-client.mjs 1.13 kB
packages/shared/dist/telemetry/telemetry-client.cjs 1.33 kB
packages/shared/dist/telemetry/telemetry-client.mjs 1.27 kB
packages/shared/dist/telemetry/utils.cjs 321 B
packages/shared/dist/telemetry/utils.mjs 277 B
packages/shared/dist/transcription-errors.cjs 951 B
packages/shared/dist/transcription-errors.mjs 944 B
packages/shared/dist/utils/clipboard.cjs 407 B
packages/shared/dist/utils/clipboard.mjs 405 B
packages/shared/dist/utils/conditions.cjs 540 B
packages/shared/dist/utils/conditions.mjs 536 B
packages/shared/dist/utils/console-styling.cjs 1.24 kB
packages/shared/dist/utils/console-styling.mjs 1.22 kB
packages/shared/dist/utils/errors.cjs 4.51 kB
packages/shared/dist/utils/errors.mjs 4.41 kB
packages/shared/dist/utils/index.cjs 1.4 kB
packages/shared/dist/utils/index.mjs 1.67 kB
packages/shared/dist/utils/inspector-metadata.cjs 1.46 kB
packages/shared/dist/utils/inspector-metadata.mjs 1.45 kB
packages/shared/dist/utils/json-schema.cjs 1.97 kB
packages/shared/dist/utils/json-schema.mjs 1.91 kB
packages/shared/dist/utils/random-id.cjs 618 B
packages/shared/dist/utils/random-id.mjs 559 B
packages/shared/dist/utils/requests.cjs 706 B
packages/shared/dist/utils/requests.mjs 704 B
packages/shared/dist/utils/types.cjs 161 B
packages/shared/dist/utils/types.mjs 160 B
packages/voice/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/voice/dist/index.cjs 175 B
packages/voice/dist/index.mjs 95 B
packages/voice/dist/index.umd.js 1.5 kB
packages/voice/dist/transcription/transcription-service-openai.cjs 495 B
packages/voice/dist/transcription/transcription-service-openai.mjs 434 B
packages/web-inspector/dist/assets/inspector-logo-kite.cjs 2.36 kB
packages/web-inspector/dist/assets/inspector-logo-kite.mjs 2.3 kB
packages/web-inspector/dist/assets/inspector-logo.cjs 4.32 kB
packages/web-inspector/dist/assets/inspector-logo.mjs 4.23 kB
packages/web-inspector/dist/index.cjs 92.7 kB
packages/web-inspector/dist/index.mjs 92.7 kB
packages/web-inspector/dist/index.umd.js 132 kB
packages/web-inspector/dist/lib/context-helpers.cjs 862 B
packages/web-inspector/dist/lib/context-helpers.mjs 830 B
packages/web-inspector/dist/lib/home-briefing.cjs 2.36 kB
packages/web-inspector/dist/lib/home-briefing.mjs 2.36 kB
packages/web-inspector/dist/lib/inspector-metadata.cjs 760 B
packages/web-inspector/dist/lib/inspector-metadata.mjs 750 B
packages/web-inspector/dist/lib/inspector-nav.cjs 668 B
packages/web-inspector/dist/lib/inspector-nav.mjs 649 B
packages/web-inspector/dist/lib/persistence.cjs 2.18 kB
packages/web-inspector/dist/lib/persistence.mjs 2.11 kB
packages/web-inspector/dist/lib/pop-out.cjs 1.07 kB
packages/web-inspector/dist/lib/pop-out.mjs 1.05 kB
packages/web-inspector/dist/lib/telemetry.cjs 3.83 kB
packages/web-inspector/dist/lib/telemetry.mjs 3.7 kB
packages/web-inspector/dist/lib/thread-selection.cjs 566 B
packages/web-inspector/dist/lib/thread-selection.mjs 563 B
packages/web-inspector/dist/package.cjs 181 B
packages/web-inspector/dist/package.mjs 116 B
packages/web-inspector/dist/styles/generated.cjs 17 kB
packages/web-inspector/dist/styles/generated.mjs 16.9 kB

compressed-size-action

@BenTaylorDev

Copy link
Copy Markdown
Contributor

Closing as already applied. This branch's tree 5b6cef381242fa2e33c5b047bf1a29c41592f7a5 is byte-identical to main's tree at c2b5e579a8. packages/react-core/src/v1-deprecated/ and packages/runtime/src/v1-deprecated/ are on main today, along with both v1-deprecated-compatibility.ts shims.

BenTaylorDev added a commit that referenced this pull request Sep 8, 2026
…ssage (#6940)

## Summary

The v1 `useCopilotChat` JSDoc tells readers to use `sendMessage` instead
of `appendMessage`. `sendMessage` is not part of the public v1 return
type, so following that advice does not compile.

`packages/react-core/src/v1-deprecated/hooks/use-copilot-chat.ts:109`
explicitly omits it:

```ts
export type UseCopilotChatReturn = Omit<
  UseCopilotChatReturnInternal,
  | "messages"
  | "sendMessage"     // <- the JSDoc points readers here
  ...
```

`sendMessage` exists only on `useCopilotChatInternal`. The public hook
returns `appendMessage`, which is the working v1 programmatic-send path.

This replaces the misdirection with the v2 migration pointer and states
plainly what `appendMessage` is for. Comment-only change — no runtime
effect.

Found while closing #4215, where a user was told by our own docs to call
a method we do not export.

## The published page does not change yet

This fixes the source of truth. The generated page cannot be refreshed
until #6939 is resolved: running the generator today would also embed
the internal v1 deprecation banner ("AI CODING AGENTS: Never copy,
suggest, or generate these v1 APIs") into 20 public reference pages. I
deliberately excluded the regenerated `.mdx` files from this PR rather
than ship that. Once #6939 lands, a regenerate publishes this wording.

## Testing

**1. `oxfmt --check` — pass**

```
$ ./node_modules/.bin/oxfmt --check packages/react-core/src/v1-deprecated/hooks/use-copilot-chat.ts
Checking formatting...
All matched files use the correct format.
Finished in 33ms on 1 files using 18 threads.
```

**2. Generator reads this file successfully (26/26)** — confirms the
JSDoc edit is picked up, and that the only thing blocking publication is
#6939, not this change:

```
$ ./node_modules/.bin/tsx scripts/docs/gen.ts
Successfully autogenerated showcase/shell-docs/src/content/reference/v1/hooks/useCopilotChat.mdx from packages/react-core/src/v1-deprecated/hooks/use-copilot-chat.ts
All reference docs processed (26/26 succeeded)
```

The regenerated page contained the new wording as expected; I then
reverted the generated files per the section above.

**3. Diff is a single comment hunk** — verified with `git diff --stat`:
`1 file changed, 4 insertions(+), 1 deletion(-)`, all inside a JSDoc
block. No exported symbol, type, or runtime line touched, so no
typecheck or test surface is affected.

**4. Claim verified against `origin/main`,** not a local branch: `git
show
origin/main:packages/react-core/src/v1-deprecated/hooks/use-copilot-chat.ts`
confirms both the misdirecting line (`:70`) and the `Omit` (`:109-121`).

## Notes

- No changeset — comment-only.
- Branch name is a leftover misnomer
(`ben1/oss-docs-generator-v1-paths`); the change is the wording fix
only.
- @ataibarkai's #6653/#6654/#6655 stack would move this file back to
`packages/react-core/src/hooks/`. If that stack lands, this one-line
change needs carrying forward into the reapply.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Documentation**
  - Clarified the deprecated `appendMessage` option in `useCopilotChat`.
  - Documented its role for programmatic sending in v1.
  - Clarified the migration path for AG-UI format users moving to v2.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
tylerslaton added a commit that referenced this pull request Sep 15, 2026
…s, v1 actions, textarea, docs) (#6931)

Fixes the surfaces orphaned by the v1.50.0 re-implementation that fail
**silently or wrongly**, where a deprecation notice is not an adequate
answer.

Full context and the other findings: #6408.

## What changed

**`50f5384` — the CopilotTextarea insertion crash**

CopilotTextarea's insertion hook had its request stubbed out with an
object literal that has no `asStream`, then called
`runtimeClient.asStream(...)` on it. Returns an empty stream now,
matching the sibling autosuggestions hook, with a one-time warning.

This commit also carried the MCP `sse` auth-header fix. That half was
contributed independently and merged to main as e9cbe1c (#6930), so
`6df3b5c` removes it here — the merged result is identical either way.

**`9331641` — adapter provider config for ollama, unify, google**

`3f8b5e2360` fixed adapters discarding their configuration by adding
`getLanguageModel()`, and reached OpenAI, Anthropic and Groq. This
extends it to three more. `f755fa7` below closes two further gaps this
commit left. `ExperimentalOllamaAdapter` also gains a `baseUrl` option —
it previously had no way to name a host, which is why pointing
`OPENAI_BASE_URL` at Ollama was the only workaround.

`BedrockAdapter` is deliberately untouched: it needs
`@ai-sdk/amazon-bedrock`, a new dependency on a deprecated adapter,
which is a separate decision.

**`6dfae2b` — v1 `actions` and `mcpServers` execute again**

This replaces the earlier approach in `5bb9b77`, which threw on any
`actions` or `mcpServers` config. **That premise was wrong.** The
executor deleted in v1.50.0 (`remote-actions.ts`) handled *remote*
endpoints over `POST actions/execute`. In-process `action.handler` and
the live `MCPTool.execute` returned by `createMCPClient` were never part
of it — only the wiring to them was lost.

`getToolsFromActions` dropped `action.handler` and `getToolsFromMCP`
dropped `tool.execute`, substituting `execute: () => Promise.resolve()`
in both. The model called the tool, the result was `undefined`,
`JSON.stringify(undefined)` is not a string, and the emitted
`TOOL_CALL_RESULT` lost its required `content` — reaching the browser as
a Zod error. Both are now restored.

Where an action genuinely cannot run — no `handler`, or a handler that
returns nothing — `execute` returns a readable string instead of
`undefined`, so the tool result stays well formed.

`mcpServers` is also attached independently of `actions`. The old `if
(actions)` gate meant an MCP-only runtime never received its tools at
all.

**`079a939` — tool attachment is idempotent**

`assignToolsToAgents` appended unconditionally and mutates the agent.
The endpoint factory calls `handleServiceAdapter` every time it runs,
and the documented v1 route builds the endpoint inside the request
handler, so a module-scope runtime lands there once per request. Three
requests advertised three copies of every action to the model. Harmless
while `execute` was a no-op; not harmless now.

Names the agent already carries are skipped, which also leaves a tool
the agent defines itself in place instead of shadowing it.

**`acc518f` — MCP endpoints retry after a failed first connection**

`getToolsFromMCP` cached an empty tool list when `createMCPClient`
threw. A server briefly unreachable at first resolution stayed toolless
for the life of the runtime, even after it recovered.

**`f755fa7` — Unify's placeholder key, Google's dropped `apiVersion`**

Two gaps in `9331641`, both pre-existing and both untested.
`UnifyAdapter` stored the literal `"UNIFY_API_KEY"` — the *name* of the
environment variable — whenever no key was passed, and ignored the
variable itself. Both `process()` and `getLanguageModel()` read that
field, so the default path authenticated with a placeholder and came
back 401. Restoring execution is what made it reachable.

`GoogleGenerativeAIAdapter` accepted an `apiVersion` option and dropped
it, because `createGoogleGenerativeAI` has no such option and carries
the version on the base URL instead.

That one is honoured **only when the caller sets it**. The provider
default is `v1beta`, and that has been the live default ever since
`getLanguageModel` started routing around `process()`; forcing the
adapter's documented `"v1"` would strand models `v1` does not serve. A
test pins that and fails if the default is ever set unconditionally.

**`717f400` — docs**

`mcp.mdx` taught the v1 `createMCPClient` path; the
`ai-powered-textarea` tutorial sits under `integrations/built-in-agent`
where it reads as current v2 guidance; `CopilotKitRemoteEndpoint`'s
docstring did not say its `actions` are never invoked. That last one
stays accurate — `CopilotKitRemoteEndpoint` actions travel over `POST
actions/execute`, and that client genuinely was deleted.

## Testing

Every claim below was produced by running the code.

**v1 tool execution — 9 unit tests plus 2 end-to-end.** Each was written
before the fix, watched failing, and then mutation-checked: reverting
the mechanism it covers makes exactly that test fail.

```
✓ src/v1-deprecated/lib/runtime/__tests__/v1-tool-execution.test.ts (9 tests)
✓ src/v1-deprecated/lib/runtime/__tests__/v1-tool-execution-e2e.test.ts (2 tests)

 Test Files  2 passed (2)
      Tests  11 passed (11)
```

The end-to-end pair is the one that matters. The unit tests only prove
the tool definitions carry a working `execute`; they do not prove
`BuiltInAgent` ever calls it. The e2e test resolves the agent, runs it,
takes the tool the AI SDK actually received, invokes it the way the SDK
does, and replays the output through the real emission path in
`agent/index.ts:1729`. Reverting `execute` to `() => Promise.resolve()`
makes it reproduce the reported bug exactly:

```
AssertionError: expected 'undefined' to be 'string'
```

`JSON.stringify(undefined)` returns `undefined` rather than throwing, so
the `try/catch` at the emission site never fires and `content` is left
unset. That is #2915 and #3198, through the real code path.

**Tool duplication and MCP recovery**, measured on one runtime instance:

```
actions, 3 endpoint constructions   before: 3 copies of `greet`   after: 1
mcpServers, transient outage        before: 1 connect attempt, tools 0/0/0 (never recovers)
                                     after: 2 connect attempts, tools 0/0/1 (recovers)
```

Recovery lands one resolution after the reconnect, because
`handleServiceAdapter` chains onto the previous promise. The test
asserts that real sequence.

**Adapters** — 6 tests. Two caught real bugs in the fix itself: the
google implementation first crashed on `this` before `super()`, then
returned the *default* model, because `this.model` was only assigned
inside the chain closure that does not run until a request arrives.

```
✓ tests/service-adapters/ollama/ollama-adapter-language-model.test.ts (3 tests)
✓ tests/service-adapters/unify/unify-adapter-language-model.test.ts (3 tests)
✓ tests/service-adapters/google/google-adapter-language-model.test.ts (4 tests)

 Test Files  12 passed (12)
      Tests  54 passed (54)
```

The three added for `f755fa7` were mutation-checked the same way. One of
them is a guard rather than a fix: forcing Google's `baseURL`
unconditionally makes it fail, so the decision to leave the provider
default alone cannot be undone silently.

**Public API manifest** regenerated for the new `baseUrl` key on
`OllamaAdapterOptions`. Without it the manifest test reddened all six
unit shards.

**Whole runtime suite, before and after:** identical — `16 failed | 145
passed` test files, `3 failed | 2160 passed` tests. The 16 are
suite-collection errors from unbuilt `@copilotkit/channels*` in a
worktree; the 3 are pre-existing `google-genai-adapter` failures that
fail identically at the merge base. `tsc` reports no errors in any
edited file, and `oxlint` warning counts are unchanged.

## Notes for review

- **`LangChainAdapter` still throws.** `getLanguageModel` routes
*around* `process()` rather than restoring it, and a `chainFn` cannot be
expressed as a pre-configured `LanguageModel`. #3217's real ask needs a
design decision, not another adapter method.
- **CopilotTextarea `@deprecated` JSDoc is not here.** That is what
#6836 did and it was closed; not re-landing it without knowing why.
- **This will conflict with the draft stack #6653 → #6654 → #6655**,
which touches `copilot-runtime.ts` and 32 files under
`service-adapters/`. Landing this first and rebasing that stack is the
agreed sequence.

## What this closes

**Closes #2915** — Express backend actions. All four v1 integrations
route through `handleServiceAdapter`;
`copilotRuntimeNodeExpressEndpoint` and `copilotRuntimeNestEndpoint`
both delegate to `copilotRuntimeNodeHttpEndpoint`. The reporter's exact
symptom — `TOOL_CALL_RESULT` with no `content` — is what the e2e test
reproduces and the fix removes.

**Closes #3198** — the same defect reported against the function form of
`actions`. The function form is invoked and its handlers now run.

**Closes #2930** — `ExperimentalOllamaAdapter` builds a real model and
accepts a `baseUrl`.

*Correcting my own earlier draft, which said these should be `Refs`
because the PR only made them fail loudly. They now execute, so they
close.*

## What this does not close

**Refs #7116** — the v1 shim resolves agents once and so cannot use the
per-request agent factory that #2941 delivered in v2. Filed off the back
of this PR. It is what stands between here and per-request MCP
credentials, a per-run client lifecycle, and dynamic `actions` receiving
real request properties.

**Refs #2407, #2409** — both sit on the v1 MCP path. That path executes
again now, so neither is unreachable any more, but neither is repaired.
#2407 needs per-request client keying, and #2409 needs server-name
prefixing. Both are covered by the plan in #7116.

**Refs #3217** — `LangChainAdapter` still throws. Needs a design call.

**Refs #6408** — the tracker.

**#6927 is already closed** — fixed on main by #6930, not by this
branch. The duplicated hunk was removed here, so nothing in this PR
closes it.

**Not addressed here at all:** #6928, the single-route multipart
rejection that makes `/transcribe` unreachable. That one hits v2 as well
and needs its own design decision.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Added language-model support for Google, Unify, and Ollama adapters,
including custom Ollama server URLs.
- Improved runtime action and MCP tool execution, including retries and
duplicate-tool prevention.

- **Bug Fixes**
- Preserved adapter credentials, API versions, and model configuration.
  - Ensured tool execution consistently returns valid results.

- **Deprecations**
- CopilotTextarea autosuggestions and insertion no longer connect to a
backend.
- Documented migration from legacy MCP and action APIs to agent-level
configuration.

- **Tests**
  - Added coverage for adapter configuration and v1 tool execution.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
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