mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
codex/cloudplot-showcase-migration
36 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
42d3c92fbd | chore: merge origin/main into tyler/default-browser-inspector | ||
|
|
84dd86f2ed |
test(examples): gate the starters' Intelligence wiring block on one shape (closes OSS-982)
The marked block that wires managed Intelligence is the region a hosted reader copies verbatim, and nothing checked it. Both gaps were deliberate: the parity manifest lists `src/app/api/copilotkit/**` under `allowedDivergence` for every instance it tracks, and no `docker-compose.test.yml` sets `COPILOTKIT_LICENSE_TOKEN`, so every smoke-tested starter takes the else arm and the `intelligence:` arm has never run in CI. The cost was already visible. The block's code was byte-identical in 21 of 22 starters, but its warning comment had drifted into five variants and the two `ms-agent-framework-*` starters shipped the `demo-user` stub with no warning at all. That drift is how the localhost default of OSS-981 survived in all 22 copies at once. Add `scripts/validate-intelligence-wiring-block.ts`, which greps the opening marker, compares every site against the north-star starter, and fails on the first line that differs. Two normalisations keep it usable: the block is dedented, because `agentcore` nests it deeper, and the else arm's runner name is masked, because `agentcore` runs `AgentCoreRunner` in front of a Bedrock session where an in-process runner has nothing to run. Everything else, comment text included, must match to the byte. Then unify the warning at all 22 sites on the fullest wording, which also says the id must exist in Intelligence or thread operations can fail. The check passes on day one, so it is a ratchet rather than a migration. It is a shape gate, not a content gate: 22 identically wrong copies still pass. What it guarantees is that a fix reaches all of them or none. Not covered: enrolling the `intelligence:` arm in the smoke path. That needs a license token in CI and a reachable endpoint from the compose network, and is tracked separately. |
||
|
|
8483f434f7 |
fix(examples): stop overriding the managed Intelligence URL defaults (closes OSS-981)
CopilotKitIntelligence resolves apiUrl/wsUrl to the managed hosts when they are omitted, and its own docstring says leaving both unset is always correct against the managed service. Every starter's runtime route supplied `?? "http://localhost:4201"` instead, so a managed reader who copied the block got a runtime aimed at a local stack that is not running -- the failure the starter's own .env.example warns about two files away. Replace the fallbacks with the conditional spread these same starters already use in channel-host.mts, so a self-hosted override still works and the managed default applies when it is absent. Three .env.example files also set the values uncommented, two of them directly under a comment telling the reader to leave them unset; comment those out to match the other nineteen starters. Guard both shapes in validate-intelligence-env-names.ts, which already polices the canonical Intelligence key name and hosts and runs unfiltered on every PR. The rule is the pattern rather than the literal, so a staging host substituted for localhost fails the same way. Local e2e harnesses and demo stacks that genuinely target a local deployment are allowlisted with their reasons. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|
|
a5f775c2db | chore(examples): remove obsolete inspector configuration | ||
|
|
d5b804698d |
fix(examples): suppress browser-extension hydration warning on <body> across integration demos (#5568)
## What 1. Add `suppressHydrationWarning` to `<body>` across **all 14 integration demo templates** (`examples/integrations/*/src/app/layout.tsx`). 2. Fix a pre-existing **double-escaped Windows path** bug in the parity manifest's `packageJsonOverrides`. ## Why (hydration) **Mike Ryan hit a hydration error on first load of a fresh `langgraph-python` init — caused by his Grammarly browser extension.** Grammarly (and similar extensions) inject attributes onto `<body>` *before* React hydrates: ``` data-new-gr-c-s-check-loaded="9.98.0" data-gr-ext-installed="" ``` Those attributes are in the client DOM but absent from the server HTML, so Next.js reports: > A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. It's a **false positive** — the app works, and end users (without dev extensions) never see it — but it's a red console error on the first load of our flagship eval/showcase templates, which is a poor first impression. ## Fix (hydration) `suppressHydrationWarning` on `<body>` is the React/Next.js-recommended escape hatch for this. It is **scoped and one level deep**: it only relaxes the check for `<body>`'s *own* attributes/text — **everything rendered inside `<body>` (the whole app) is still fully hydration-checked** — and `<body>`'s only attribute here is a static `className`, so none of our own markup is masked. An inline comment documents this so a future maintainer who adds dynamic `<body>` attributes knows the check is relaxed. `agent-spec` already had `suppressHydrationWarning` on `<html>`; the Grammarly attributes land on `<body>`, so it needed the body-level relaxation too (the `<html>` one is a level up and doesn't cover `<body>`'s attributes). ## Commits 1. `b1fa482a7` — north-star (`langgraph-python`) + parity instances (`langgraph-js`, `langgraph-fastapi`, `strands-python`) via `pnpm parity:sync`. 2. `9f9c415d9` — the non-parity templates (not tracked by `_parity/manifest.json`): `adk`, `agno`, `crewai-crews`, `crewai-flows`, `llamaindex`, `mastra`, `ms-agent-framework-dotnet`, `ms-agent-framework-python`, `pydantic-ai`, `agent-spec`. *(The repo's `oxfmt` pre-commit hook also collapsed some multiline `<CopilotKit …>` JSX in these files — standard auto-format on touched files; the only semantic change is the suppression.)* 3. `7d60e49de` — parity manifest path-escaping fix (see below). ## The manifest bug (commit 3) While syncing I found the `langgraph-js` and `strands-python` `packageJsonOverrides` double-escaped the Windows `.bat` fallback, producing `scripts\\run-agent.bat` (two backslashes) instead of `scripts\run-agent.bat`: - `langgraph-js/package.json` had already been synced with the broken value. - `strands-python/package.json` was still correct — and `parity:sync` would have **corrupted** it on the next run (which is what surfaced this). Fixed the three overrides and re-ran `parity:sync`, which corrects `langgraph-js/package.json` and leaves `strands-python`'s correct value intact. ## Test plan - [x] `pnpm parity:verify` → 0 errors - [x] lefthook pre-commit green on all 3 commits (lint + `packages/**` tests + commitlint) - [x] All 14 templates confirmed to have body-level `suppressHydrationWarning` - [ ] Reviewer with Grammarly installed: run/`init` a template and confirm no hydration error on first load |
||
|
|
9f9c415d98 |
fix(examples): suppress browser-extension hydration warning on <body> (non-parity templates)
Extend the same `<body suppressHydrationWarning>` fix to the integration templates that are not tracked by examples/integrations/_parity/manifest.json, so they don't surface a Grammarly-style hydration mismatch on first load: adk, agno, crewai-crews, crewai-flows, llamaindex, mastra, ms-agent-framework-dotnet, ms-agent-framework-python, pydantic-ai, agent-spec. agent-spec already had suppressHydrationWarning on <html>; the Grammarly attributes land on <body>, so it needs the body-level relaxation too (the <html> one is one level up and does not cover <body>'s attributes). |
||
|
|
ab47e6b132 |
fix(examples): update threads license command (#5564)
## Summary - Update locked Threads drawer copy in integration examples to use `npx copilotkit@latest license` - Keep the command consistent across the example variants that render the licensed feature panel ## Validation - Pre-commit hooks ran lint/check package hooks successfully - Verified integration examples no longer render the stale `copilotkit license` command |
||
|
|
469070e501 | fix(examples): update threads license command | ||
|
|
07981f146a |
chore(examples): regenerate integration starter lockfiles for 1.61.0
1.61.0 is now published. Regenerates all 20 starter package-lock.json files so @copilotkit/* resolves to 1.61.0 and the transitive @copilotkit/license-verifier moves 0.4.2 -> 0.5.0 (shipped by runtime@1.61.0). ENT-939 |
||
|
|
ce1ee7283d |
chore(examples): bump @copilotkit/* deps to 1.61.0 across integration starters
Prep for the 1.61.0 release. Pins every @copilotkit/* dependency in the examples/integrations starter projects to exact 1.61.0 (not yet published). ENT-939 |
||
|
|
a144323d35 |
fix(examples): regenerate integration lockfiles for npm ci
The previous lockfiles were written with `npm install --package-lock-only`, which left out optional transitive deps (e.g. @emnapi/wasi-threads). The Docker smoke-starter build runs strict `npm ci`, which then failed with "package.json and package-lock.json not in sync" (crewai-crews, 9s fail). Regenerated each lockfile with a full `npm install --ignore-scripts` so the tree is complete. Verified `npm ci` now succeeds (crewai-crews, mastra) and all resolve @ag-ui/client 0.0.57. |
||
|
|
cef4fab9d7 |
fix(examples): bump remaining integrations to 1.60.1 + @ag-ui 0.0.57
Follow-up to the @copilotkit 1.60.1 bump so the integration-demo parity check passes. The north-star (langgraph-python) is now on 1.60.1, and the _parity manifest requires every examples/integrations/* demo to track the same @copilotkit version — so all integrations must move together. - @copilotkit/* 1.60.0 -> 1.60.1 across the remaining integrations. - Starter-fleet apps force a single @ag-ui tree via `overrides` (@ag-ui/client|core|encoder|proto). Bump that single-tree pin 0.0.53/0.0.55 -> 0.0.57 so they actually carry the HttpAgent fetch fix (Illegal invocation) instead of a 1.60.1<->0.0.55 skew. Adapter packages (@ag-ui/crewai, @ag-ui/mastra, @ag-ui/llamaindex, @ag-ui/a2a, middlewares) are left untouched. - Lockfiles regenerated; all resolve @ag-ui/client 0.0.57. Per-integration smoke-starter CI validates each starter against 0.0.57. |
||
|
|
717cfccedb |
chore(examples/integrations): bump CopilotKit to 1.60.0
Bumps every @copilotkit/* pin (react-core, react-ui, runtime, a2ui-renderer, sdk-js) from 1.59.5 to 1.60.0 across the threads-enabled integration examples, and regenerates each package-lock.json to the 1.60.0 dependency closure. Excludes the vestigial langgraph-python-threads example. |
||
|
|
3a7f546fbd |
fix(examples): correct Threads locked-state license command to copilotkit license (ENT-804)
The locked-state card told users to add an Intelligence license with `copilotkit add-intelligence`, but that command only drops the Intelligence overlay and does not issue a license (and is not yet wired into the CLI dispatch). The command that issues a license key is `copilotkit license`. |
||
|
|
46da9bbf7f | chore(examples): bump starter integrations to @copilotkit 1.59.5 | ||
|
|
3de8146d5d |
chore(integrations): unify all threads examples on CopilotKit 1.59.3
- bump a2a-middleware, mcp-apps, agent-spec from 1.59.1 (their verified pre-revert state) to 1.59.3 to match the starters - regenerate package-lock.json for the 11 examples whose package.json changed (drawer deps re-added on starters, version bumps on the three) - update the migration contract test's version assertions to 1.59.3 (43/43 passing); oxfmt pass Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|
|
041a561381 |
Revert "Revert "feat(integrations): add Intelligence threads to agent-spec" (#5216)"
This reverts commit |
||
|
|
806c35e4af | Revert "feat(integrations): add Intelligence threads to agent-spec" | ||
|
|
4a2fdb611b | feat(integrations): add Intelligence threads to agent-spec | ||
|
|
23af69041c |
fix(examples): migrate integrations from v1 to v2 API surface
Migrate 15 example integrations from the v1 compatibility facade to native v2 CopilotKit APIs. The v1 surface delegates to v2 internally so this is an API surface change, not a functional one. Key changes per integration: - Import paths: @copilotkit/react-core -> react-core/v2, @copilotkit/runtime -> runtime/v2 - Hook renames: useCoAgent -> useAgent, useCopilotAction -> useFrontendTool, useRenderToolCall -> useRenderTool - UI: CopilotSidebar from react-ui -> react-core/v2 - Styles: react-ui/styles.css -> react-core/v2/styles.css - Runtime: copilotRuntimeNextJSAppRouterEndpoint -> createCopilotEndpoint + hono/vercel - Removed @copilotkit/react-ui and @copilotkit/shared deps Integrations migrated (v1 -> v2): a2a-middleware, adk, agno, crewai-crews, crewai-flows, langgraph-js, llamaindex, mastra, ms-agent-framework-dotnet, ms-agent-framework-python, pydantic-ai, strands-python Mixed integrations cleaned up (stale deps removed): agent-spec, agentcore, langgraph-fastapi, langgraph-python, langgraph-python-threads |
||
|
|
12d3547842 |
fix(deps): update copilotkit examples (major) (#4755)
> ℹ️ **Note** > > This PR body was truncated due to platform limits. This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [@copilotkit/a2ui-renderer](https://redirect.github.com/CopilotKit/CopilotKit) ([source](https://redirect.github.com/CopilotKit/CopilotKit/tree/HEAD/packages/a2ui-renderer)) | [`0.0.0-mme-ag-ui-0-0-46-20260227141603` → `1.57.1`](https://renovatebot.com/diffs/npm/@copilotkit%2fa2ui-renderer/0.0.0-mme-ag-ui-0-0-46-20260227141603/1.57.1) |  |  | | [@copilotkit/react-core](https://redirect.github.com/CopilotKit/CopilotKit) | [`0.0.0-mme-ag-ui-0-0-46-20260227141603` → `1.57.1`](https://renovatebot.com/diffs/npm/@copilotkit%2freact-core/0.0.0-mme-ag-ui-0-0-46-20260227141603/1.57.1) |  |  | | [@copilotkit/react-ui](https://redirect.github.com/CopilotKit/CopilotKit) | [`0.0.0-mme-ag-ui-0-0-46-20260227141603` → `1.57.1`](https://renovatebot.com/diffs/npm/@copilotkit%2freact-ui/0.0.0-mme-ag-ui-0-0-46-20260227141603/1.57.1) |  |  | | [@copilotkit/runtime](https://redirect.github.com/CopilotKit/CopilotKit) | [`0.0.0-mme-ag-ui-0-0-46-20260227141603` → `1.57.1`](https://renovatebot.com/diffs/npm/@copilotkit%2fruntime/0.0.0-mme-ag-ui-0-0-46-20260227141603/1.57.1) |  |  | | [@copilotkit/runtime-client-gql](https://redirect.github.com/CopilotKit/CopilotKit) | [`0.0.0-mme-ag-ui-0-0-46-20260227141603` → `1.57.1`](https://renovatebot.com/diffs/npm/@copilotkit%2fruntime-client-gql/0.0.0-mme-ag-ui-0-0-46-20260227141603/1.57.1) |  |  | | [@copilotkit/shared](https://redirect.github.com/CopilotKit/CopilotKit) | [`0.0.0-mme-ag-ui-0-0-46-20260227141603` → `1.57.1`](https://renovatebot.com/diffs/npm/@copilotkit%2fshared/0.0.0-mme-ag-ui-0-0-46-20260227141603/1.57.1) |  |  | | copilotkit | [`^0.0.45` → `^2.0.0`](https://renovatebot.com/diffs/npm/copilotkit/0.0.45/2.0.4) |  |  | --- ### Release Notes <details> <summary>CopilotKit/CopilotKit (@​copilotkit/a2ui-renderer)</summary> ### [`v1.57.1`](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.57.0...v1.57.1) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.57.0...v1.57.1) ### [`v1.57.0`](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.56.5...v1.57.0) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.56.5...v1.57.0) ### [`v1.56.5`](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.56.4...v1.56.5) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.56.4...v1.56.5) ### [`v1.56.4`](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.56.3...v1.56.4) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.56.3...v1.56.4) ### [`v1.56.3`](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.56.2...v1.56.3) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.56.2...v1.56.3) ### [`v1.56.2`](https://redirect.github.com/CopilotKit/CopilotKit/releases/tag/v1.56.2) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.56.1...v1.56.2) ### CopilotKit v1.56.2 A hygiene release on the `1.56` line. Removes a leftover peer dependency that was generating install warnings for users not on LangChain. #### Install ```bash npm install @​copilotkit/react-core@1.56.2 @​copilotkit/react-ui@1.56.2 @​copilotkit/runtime@1.56.2 ``` #### SDK fixes (`@copilotkit/sdk-js`) - **Remove unused `@langchain/community` peer dependency** — `@langchain/community` was a leftover peer dep that nothing inside `@copilotkit/sdk-js` actually used, but it still generated install warnings for anyone not on LangChain. Dropped. If you've been installing `@langchain/community` only to quiet a peer-dep warning, you can drop it. ([#​3960](https://redirect.github.com/CopilotKit/CopilotKit/pull/3960)) #### Packages republished at `1.56.2` `@copilotkit/runtime`, `@copilotkit/react-core`, `@copilotkit/react-ui`, `@copilotkit/core`, `@copilotkit/shared`, `@copilotkit/runtime-client-gql`, `@copilotkit/sdk-js`, `@copilotkit/voice`, `@copilotkit/web-inspector`, `@copilotkit/a2ui-renderer`, `@copilotkit/react-textarea`, `@copilotkit/sqlite-runner`, and `@copilotkit/angular`. ### [`v1.56.1`](https://redirect.github.com/CopilotKit/CopilotKit/releases/tag/v1.56.1) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.56.0...v1.56.1) ### CopilotKit v1.56.1 A patch release on the `1.56` line. No breaking API changes — thirty-plus fixes across adapters, the React UI surface, and the runtime/agent layer. Most of these address long-standing issues that had been quietly biting users; batch-resolved here. #### Install ```bash npm install @​copilotkit/react-core@1.56.1 @​copilotkit/react-ui@1.56.1 @​copilotkit/runtime@1.56.1 ``` #### Adapter fixes (`@copilotkit/runtime`) - **Anthropic `max_tokens` default bumped 1024 → 4096** — the old default was short enough that longer completions were getting truncated without warning. ([#​3785](https://redirect.github.com/CopilotKit/CopilotKit/pull/3785)) - **Anthropic adapter skips unknown `tool_use` blocks** — no more crash when Anthropic emits `content_block_delta` for a `tool_use` the adapter hasn't seen. ([#​3824](https://redirect.github.com/CopilotKit/CopilotKit/pull/3824), closes [#​2504](https://redirect.github.com/CopilotKit/CopilotKit/issues/2504)) - **Anthropic `tool_result` paired with `tool_use` after token trimming** — token trimming no longer orphans `tool_result` messages. ([#​3820](https://redirect.github.com/CopilotKit/CopilotKit/pull/3820), closes [#​2450](https://redirect.github.com/CopilotKit/CopilotKit/issues/2450)) - **Configurable `maxInputTokens` on OpenAI and Anthropic adapters** — cap input tokens explicitly per request. ([#​3823](https://redirect.github.com/CopilotKit/CopilotKit/pull/3823), closes [#​2405](https://redirect.github.com/CopilotKit/CopilotKit/issues/2405)) - **LangChain adapter always generates unique message IDs** — prevents downstream deduplication issues. ([#​3829](https://redirect.github.com/CopilotKit/CopilotKit/pull/3829)) - **Zod v4 compatibility for schema-to-JSON conversion** — the schema-to-JSON converter now handles the Zod v4 shape. ([#​3837](https://redirect.github.com/CopilotKit/CopilotKit/pull/3837)) - **MCP `TOOL_CALL_RESULT` array-content normalization** — array-shaped tool results are now normalized into strings the runtime can emit. ([#​3832](https://redirect.github.com/CopilotKit/CopilotKit/pull/3832)) - **Non-unique provider IDs replaced with UUIDs** — placeholders like `txt-0` were colliding; the adapter now emits proper UUIDs. ([#​3800](https://redirect.github.com/CopilotKit/CopilotKit/pull/3800), closes [#​3410](https://redirect.github.com/CopilotKit/CopilotKit/issues/3410), [#​3623](https://redirect.github.com/CopilotKit/CopilotKit/issues/3623)) #### React fixes (`@copilotkit/react-core`, `@copilotkit/react-ui`) - **Export `CopilotModal` and `CopilotModalProps`** — public components without a public export, now corrected. ([#​3817](https://redirect.github.com/CopilotKit/CopilotKit/pull/3817), closes [#​2194](https://redirect.github.com/CopilotKit/CopilotKit/issues/2194)) - **`Button` uses `forwardRef` for Radix interop** — no more ref warnings when composing with Radix `DropdownMenuTrigger`. ([#​3830](https://redirect.github.com/CopilotKit/CopilotKit/pull/3830)) - **IME composition guard in `CopilotChatInput`** — no more accidental sends mid-composition for CJK/IME input. ([#​3835](https://redirect.github.com/CopilotKit/CopilotKit/pull/3835)) - **Loading indicator during tool execution** — keeps the UI honest about what's happening mid-tool-call. ([#​3833](https://redirect.github.com/CopilotKit/CopilotKit/pull/3833)) - **Controlled-input reset after send** — `onChange("")` fires after submit in controlled mode. ([#​3836](https://redirect.github.com/CopilotKit/CopilotKit/pull/3836)) - **`available: "disabled"` tools excluded from `buildFrontendTools`** — disabled tools are no longer announced to the model. ([#​3793](https://redirect.github.com/CopilotKit/CopilotKit/pull/3793), closes [#​3020](https://redirect.github.com/CopilotKit/CopilotKit/issues/3020)) - **Thumbs callbacks receive `AssistantMessage`** — `onThumbsUp`/`onThumbsDown` now pass the message instead of a `SyntheticEvent`. ([#​3796](https://redirect.github.com/CopilotKit/CopilotKit/pull/3796), closes [#​3457](https://redirect.github.com/CopilotKit/CopilotKit/issues/3457)) - **`urlTransform` forwards to `ReactMarkdown`** — the prop was being dropped silently. ([#​3845](https://redirect.github.com/CopilotKit/CopilotKit/pull/3845)) - **Message footer width** — hardcoded `97%` replaced with `100%`. ([#​3786](https://redirect.github.com/CopilotKit/CopilotKit/pull/3786)) #### Runtime + agent fixes (`@copilotkit/runtime`, `@copilotkit/react-core`) - **Duck-type `Request` for Hono polyfill compat** — `instanceof` was brittle under Hono's polyfilled `Request`; the runtime now type-sniffs instead. ([#​3790](https://redirect.github.com/CopilotKit/CopilotKit/pull/3790)) - **LangGraph agent pagination default 10 → 100** — larger default page size for LangGraph thread/run listings. ([#​3812](https://redirect.github.com/CopilotKit/CopilotKit/pull/3812), closes [#​2056](https://redirect.github.com/CopilotKit/CopilotKit/issues/2056)) - **Handle void return from `sendFunction` in `usePushToTalk`** — push-to-talk no longer assumes a non-void return. ([#​3783](https://redirect.github.com/CopilotKit/CopilotKit/pull/3783)) - **`useRenderCustomMessages` returns `null` when agent missing** — used to throw; now safely no-ops. ([#​3797](https://redirect.github.com/CopilotKit/CopilotKit/pull/3797), closes [#​3497](https://redirect.github.com/CopilotKit/CopilotKit/issues/3497)) - **`CopilotListeners` guards empty agents map** — stops `useAgent` throwing on initial boot. ([#​3798](https://redirect.github.com/CopilotKit/CopilotKit/pull/3798), closes [#​3249](https://redirect.github.com/CopilotKit/CopilotKit/issues/3249)) - **Skip version check when `showDevConsole={false}`** — fewer requests when the dev console is disabled. ([#​3827](https://redirect.github.com/CopilotKit/CopilotKit/pull/3827)) - **Forward credentials on all agent registration paths** — one registration path was not forwarding credentials; now consistent. ([#​3839](https://redirect.github.com/CopilotKit/CopilotKit/pull/3839)) - **`toolCallId` passed to `useRenderTool` render components** — render functions now receive the tool call ID. ([#​3843](https://redirect.github.com/CopilotKit/CopilotKit/pull/3843)) - **`hookParams` passed to `onAfterRequest`** — the callback was receiving an empty object. Now receives the actual hook params. ([#​3801](https://redirect.github.com/CopilotKit/CopilotKit/pull/3801), closes [#​2124](https://redirect.github.com/CopilotKit/CopilotKit/issues/2124)) - **Configurable audio `mediaType` + mic tracks released on stop** — mic tracks no longer linger after a recording ends. ([#​3811](https://redirect.github.com/CopilotKit/CopilotKit/pull/3811), closes [#​2049](https://redirect.github.com/CopilotKit/CopilotKit/issues/2049), [#​2050](https://redirect.github.com/CopilotKit/CopilotKit/issues/2050)) #### Build / packaging - **Release pipeline hardened** — registry error handling, tag-existence checks before publish, and prerelease smoke tests in the release workflow. ([#​3858](https://redirect.github.com/CopilotKit/CopilotKit/pull/3858)) #### Packages republished at `1.56.1` `@copilotkit/runtime`, `@copilotkit/react-core`, `@copilotkit/react-ui`, `@copilotkit/core`, `@copilotkit/shared`, `@copilotkit/runtime-client-gql`, `@copilotkit/sdk-js`, `@copilotkit/voice`, `@copilotkit/web-inspector`, `@copilotkit/a2ui-renderer`, `@copilotkit/react-textarea`, `@copilotkit/sqlite-runner`, and `@copilotkit/angular`. ### [`v1.56.0`](https://redirect.github.com/CopilotKit/CopilotKit/releases/tag/v1.56.0) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.55.3...v1.56.0) ### CopilotKit v1.56.0 A minor release on the `1.56` line. The headline is **debug mode** — a single `debug` flag on the runtime and the `<CopilotKit>` provider that threads structured logging through the full stack, with PII-safe defaults. Also fixes the state streaming path on LangGraph prebuilt agents and realigns A2UI with the v0.9 spec. #### Install ```bash npm install @​copilotkit/react-core@1.56.0 @​copilotkit/react-ui@1.56.0 @​copilotkit/runtime@1.56.0 ``` #### Features - **Debug mode for runtime and client** — a single `debug` flag on `CopilotRuntime` and the `<CopilotKit>` provider, with structured logging across the SSE event pipeline. Defaults to `verbose: false` to prevent accidental PII exposure in logs. Shared `DebugConfig` type and `resolveDebugConfig` helper live in `@copilotkit/shared`. Changes apply at runtime; toggling the flag does not require a remount. ([#​3562](https://redirect.github.com/CopilotKit/CopilotKit/pull/3562)) ```tsx // Client import { CopilotKit } from "@​copilotkit/react-core"; <CopilotKit debug runtimeUrl="/api/copilotkit"> <App /> </CopilotKit> ``` ```ts // Runtime import { CopilotRuntime } from "@​copilotkit/runtime"; const runtime = new CopilotRuntime({ debug: { events: true, lifecycle: true, verbose: false }, }); ``` - **State streaming on LangGraph prebuilt agents** — the state streaming path now works on prebuilt LangGraph agents without unwrapping the graph manually. A reference example landed alongside the fix. ([#​3934](https://redirect.github.com/CopilotKit/CopilotKit/pull/3934), [#​3649](https://redirect.github.com/CopilotKit/CopilotKit/pull/3649)) #### Runtime fixes (`@copilotkit/runtime`) - **A2UI schema realigned with v0.9 spec** — the schema format had drifted from the v0.9 spec as upstream tightened constraints. Realigned, with improved path-binding prompts so the model produces schema-valid output more reliably. ([#​3929](https://redirect.github.com/CopilotKit/CopilotKit/pull/3929)) - **Latest `@ag-ui/langgraph` packages** — runtime and examples now pull the latest `@ag-ui/langgraph` packages, picking up upstream fixes. No API change. ([#​3932](https://redirect.github.com/CopilotKit/CopilotKit/pull/3932)) #### Build / packaging - **Release pipeline hardening** — registry error handling, a tag-existence check before publish, and prerelease smoke tests so release-time failures get caught before the git tag. ([#​3858](https://redirect.github.com/CopilotKit/CopilotKit/pull/3858)) - **Docs-sync PR flow** — review items now staged before creating the PR. ([#​3779](https://redirect.github.com/CopilotKit/CopilotKit/pull/3779)) #### Packages republished at `1.56.0` `@copilotkit/runtime`, `@copilotkit/react-core`, `@copilotkit/react-ui`, `@copilotkit/core`, `@copilotkit/shared`, `@copilotkit/runtime-client-gql`, `@copilotkit/sdk-js`, `@copilotkit/voice`, `@copilotkit/web-inspector`, `@copilotkit/a2ui-renderer`, `@copilotkit/react-textarea`, `@copilotkit/sqlite-runner`, and `@copilotkit/angular`. ### [`v1.55.3`](https://redirect.github.com/CopilotKit/CopilotKit/releases/tag/v1.55.3) ### CopilotKit v1.55.3 A consolidation release on the `1.55` line, rolling up everything that landed in `1.55.0`, `1.55.1`, and `1.55.2`. The headline: every `@copilotkitnext/*` package has been folded into its flat `@copilotkit/*` equivalent. v1 imports stay on `@copilotkit/react-core`; v2 imports continue to use the `@copilotkit/react-core/v2` subpath. On top of the consolidation: multimodal attachments for the built-in agent, A2UI v0.9 with Open Generative UI, a fetch-based runtime handler, Vertex AI provider, `BuiltInAgent` factory mode, and a long list of fixes to streaming, reasoning, layout, and re-render behavior. #### Install ```bash npm install @​copilotkit/react-core@1.55.3 @​copilotkit/react-ui@1.55.3 @​copilotkit/runtime@1.55.3 ``` #### Features - **Package consolidation: `@copilotkitnext/*` → `@copilotkit/*`** — every `@copilotkitnext/*` package is folded into its flat `@copilotkit/*` equivalent. The v1 API surface stays at the package root (e.g. `@copilotkit/react-core`); the v2 API surface continues to be available via the `@copilotkit/react-core/v2` subpath. The `@copilotkitnext/*` scope was deprecated in 1.54 and is removed here. - **Multimodal attachments for the built-in agent** — `@copilotkit/runtime` now accepts multimodal attachments (images, files, anything non-text) and passes them through to the model with content types preserved. ([#​3604](https://redirect.github.com/CopilotKit/CopilotKit/pull/3604)) - **A2UI v0.9 + Open Generative UI** — A2UI aligns with the v0.9 spec and Open Generative UI lands with BYOC catalogs (the agent renders from your component catalog), built-in dark mode, and sandboxed UI generation (generated components render inside a sandbox instead of being spliced into the host tree). ([#​3588](https://redirect.github.com/CopilotKit/CopilotKit/pull/3588)) - **Fetch-based runtime handler** — `@copilotkit/runtime` exposes a fetch-based handler alongside the Node/Hono integrations, plus a consistency pass on public function names. Targets Cloudflare Workers, Vercel Edge, and other Web `fetch` runtimes. ([#​3550](https://redirect.github.com/CopilotKit/CopilotKit/pull/3550)) - **`BuiltInAgent` factory mode** — the built-in agent now supports a factory construction path, so you can pass your own LLM-producing factory and decouple the agent from the providers baked in today. Landed in 1.55.2. ([#​3572](https://redirect.github.com/CopilotKit/CopilotKit/pull/3572)) - **Auto-detected runtime transport** — `@copilotkit/core` and `@copilotkit/react-core` now detect REST vs. single-endpoint transport from the runtime and adapt automatically. ([#​3601](https://redirect.github.com/CopilotKit/CopilotKit/pull/3601)) - **Vertex AI provider** — first-class provider on the runtime. - **State streaming LangGraph middleware re-exported** — re-exported directly from `@copilotkit/runtime` so callers no longer have to reach into `@ag-ui/*` to wire it up. ([#​3473](https://redirect.github.com/CopilotKit/CopilotKit/pull/3473)) - **Custom `mcpClients` configuration** — pass your own MCP client configuration to the runtime to control how tool providers connect and reuse. ([#​3493](https://redirect.github.com/CopilotKit/CopilotKit/pull/3493)) #### Runtime fixes (`@copilotkit/runtime`) - **Reasoning lifecycle hardening** — keeps the AG-UI reasoning event stream well-formed regardless of SDK behavior: skip empty reasoning deltas (which violate the `@ag-ui/core` schema), auto-close reasoning when the SDK omits `reasoning-end` (covers consecutive-start, phase changes, aborts, errors, and fallback paths), make `reasoning-end` idempotent, regenerate `reasoningMessageId` between consecutive reasoning blocks, and close reasoning in the outer catch block. ([#​3526](https://redirect.github.com/CopilotKit/CopilotKit/pull/3526)) - **Race condition dropping agent runs** — `RunHandler.runAgent()` had a race that could drop runs invoked in quick succession. Closed. ([#​3514](https://redirect.github.com/CopilotKit/CopilotKit/pull/3514)) - **Empty tool arguments no longer crash** — tool calls with empty, `null`, or `undefined` argument strings were throwing a JSON parse error instead of being treated as the logically empty object they represent. The runtime now normalizes them to `{}`. ([#​3439](https://redirect.github.com/CopilotKit/CopilotKit/pull/3439)) - **Open-generative-ui middleware import fix** — corrects an incorrect import in the open-generative-ui middleware that surfaced after the consolidation. Shipped in 1.55.1. ([#​3680](https://redirect.github.com/CopilotKit/CopilotKit/pull/3680)) #### React fixes (`@copilotkit/react-core`, `@copilotkit/react-ui`) - **`messageView` and `labels` props stabilized** — `CopilotChat` was re-rendering the entire message list on every keystroke because prop identity was shifting. Replaced with `useShallowStableRef` to keep references stable. ([#​3646](https://redirect.github.com/CopilotKit/CopilotKit/pull/3646)) - **Multiple `CopilotChat` instances no longer share state across `threadId`s** — two chats mounted at different threads were sharing message state. Per-thread agent instances are now isolated. ([#​3525](https://redirect.github.com/CopilotKit/CopilotKit/pull/3525)) - **Markdown components ref stabilized** — the Markdown component ref was changing every render, cascading into unnecessary work during streaming. Stabilized. ([#​3535](https://redirect.github.com/CopilotKit/CopilotKit/pull/3535)) - **Assistant text preserved across multi-tool turns** — when an assistant turn emitted text plus multiple tool calls, the text portion could get dropped. Preserved correctly now (CPK-7154). ([#​3622](https://redirect.github.com/CopilotKit/CopilotKit/pull/3622)) - **Chat layout regressions from 1.55.0 fixed** — the chat input is pinned to the bottom of the window again, and mounting `CopilotSidebar` no longer adds empty space below the page content. ([#​3759](https://redirect.github.com/CopilotKit/CopilotKit/pull/3759)) - **React keys on `CopilotMessages` children** — suppresses the "unique key prop" warning React was emitting. - **`defaultOpen={false}` respected in `CopilotSidebar` and `CopilotPopup`** — the prop was being ignored on initial mount. #### Upgrading - The `@copilotkitnext/*` scope is removed in this release. The deprecation notice shipped in v1.54.0. - For v2 imports, switch from `@copilotkitnext/react` to the `@copilotkit/react-core/v2` subpath: ```diff - import { CopilotChat } from "@​copilotkitnext/react"; + import { CopilotChat } from "@​copilotkit/react-core/v2"; ``` - Other `@copilotkitnext/*` packages map one-to-one to their `@copilotkit/*` equivalents (e.g. `@copilotkitnext/angular` → `@copilotkit/angular`). - v1 APIs are unchanged. If you were importing v1 hooks from `@copilotkit/react-core`, nothing changes. #### Packages republished at `1.55.3` `@copilotkit/runtime`, `@copilotkit/react-core`, `@copilotkit/react-ui`, `@copilotkit/core`, `@copilotkit/shared`, `@copilotkit/runtime-client-gql`, `@copilotkit/sdk-js`, `@copilotkit/voice`, `@copilotkit/web-inspector`, `@copilotkit/a2ui-renderer`, `@copilotkit/react-textarea`, `@copilotkit/sqlite-runner`, and `@copilotkit/angular`. ### [`v1.55.2`](https://redirect.github.com/CopilotKit/CopilotKit/blob/HEAD/packages/a2ui-renderer/CHANGELOG.md#1552) ##### Patch Changes - [`62c6042`](https://redirect.github.com/CopilotKit/CopilotKit/commit/62c6042): Bumping the a2ui-middleware underneath the a2ui renderer ### [`v1.55.1`](https://redirect.github.com/CopilotKit/CopilotKit/blob/HEAD/packages/a2ui-renderer/CHANGELOG.md#1551) ### [`v1.55.0`](https://redirect.github.com/CopilotKit/CopilotKit/blob/HEAD/packages/a2ui-renderer/CHANGELOG.md#1550) ##### Minor Changes - [`1ceb963`](https://redirect.github.com/CopilotKit/CopilotKit/commit/1ceb963): refactor: consolidate V1/V2 packages into flat @​copilotkit/\* structure - [`434ccd8`](https://redirect.github.com/CopilotKit/CopilotKit/commit/434ccd8): A2UI v0.9 + Open Generative UI: BYOC catalogs, dark mode, sandboxed UI generation ##### Patch Changes - [`52a9322`](https://redirect.github.com/CopilotKit/CopilotKit/commit/52a9322): Fixing license warnings, barrel export and typing ### [`v1.54.1`](https://redirect.github.com/CopilotKit/CopilotKit/blob/HEAD/packages/a2ui-renderer/CHANGELOG.md#1541-next6) ### [`v1.54.0`](https://redirect.github.com/CopilotKit/CopilotKit/blob/HEAD/packages/a2ui-renderer/CHANGELOG.md#1540) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.53.0...v1.54.0) ##### Patch Changes - [`6e0cddf`](https://redirect.github.com/CopilotKit/CopilotKit/commit/6e0cddf): feat: move a2ui message renderer to v2s react package - [`7916df6`](https://redirect.github.com/CopilotKit/CopilotKit/commit/7916df6): feat: set default a2ui theme to fit cpk main theme ### [`v1.53.0`](https://redirect.github.com/CopilotKit/CopilotKit/blob/HEAD/packages/a2ui-renderer/CHANGELOG.md#1530) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.52.1...v1.53.0) ##### Patch Changes - Updated dependencies \[[`1510f64`](https://redirect.github.com/CopilotKit/CopilotKit/commit/1510f64)] - Updated dependencies \[[`f1eaa4c`](https://redirect.github.com/CopilotKit/CopilotKit/commit/f1eaa4c)] - Updated dependencies \[[`ac31331`](https://redirect.github.com/CopilotKit/CopilotKit/commit/ac31331)] - [@​copilotkit/react-core](https://redirect.github.com/copilotkit/react-core)@​1.53.0 ### [`v1.52.1`](https://redirect.github.com/CopilotKit/CopilotKit/blob/HEAD/packages/a2ui-renderer/CHANGELOG.md#1521) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.52.0...v1.52.1) ##### Patch Changes - Updated dependencies \[[`b555ac4`](https://redirect.github.com/CopilotKit/CopilotKit/commit/b555ac4)] - [@​copilotkit/react-core](https://redirect.github.com/copilotkit/react-core)@​1.52.1 ### [`v1.52.0`](https://redirect.github.com/CopilotKit/CopilotKit/blob/HEAD/packages/a2ui-renderer/CHANGELOG.md#1520) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.51.4...v1.52.0) ##### Patch Changes - [`80418e3`](https://redirect.github.com/CopilotKit/CopilotKit/commit/80418e3): Fix a2ui-renderer to use workspace:\* for [@​copilotkit/react-core](https://redirect.github.com/copilotkit/react-core) peer dependency, preventing lockfile drift on release - Updated dependencies \[[`6dd6c84`](https://redirect.github.com/CopilotKit/CopilotKit/commit/6dd6c84)] - Updated dependencies \[[`d77f347`](https://redirect.github.com/CopilotKit/CopilotKit/commit/d77f347)] - Updated dependencies \[[`2007f8b`](https://redirect.github.com/CopilotKit/CopilotKit/commit/2007f8b)] - Updated dependencies \[[`ef0f539`](https://redirect.github.com/CopilotKit/CopilotKit/commit/ef0f539)] - Updated dependencies \[[`412965a`](https://redirect.github.com/CopilotKit/CopilotKit/commit/412965a)] - Updated dependencies \[[`5f941db`](https://redirect.github.com/CopilotKit/CopilotKit/commit/5f941db)] - [@​copilotkit/react-core](https://redirect.github.com/copilotkit/react-core)@​1.52.0 ### [`v1.51.4`](https://redirect.github.com/CopilotKit/CopilotKit/blob/HEAD/packages/a2ui-renderer/CHANGELOG.md#1514) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.51.3...v1.51.4) ##### Patch Changes - [`ac64163`](https://redirect.github.com/CopilotKit/CopilotKit/commit/ac64163): feat(a2ui-renderer): replace Lit wrapper with React renderer - Updated dependencies \[[`6b9c60e`](https://redirect.github.com/CopilotKit/CopilotKit/commit/6b9c60e)] - Updated dependencies \[[`12ee574`](https://redirect.github.com/CopilotKit/CopilotKit/commit/12ee574)] - Updated dependencies \[[`9bc868d`](https://redirect.github.com/CopilotKit/CopilotKit/commit/9bc868d)] - Updated dependencies \[[`c998f30`](https://redirect.github.com/CopilotKit/CopilotKit/commit/c998f30)] - Updated dependencies \[[`6b7d8ef`](https://redirect.github.com/CopilotKit/CopilotKit/commit/6b7d8ef)] - [@​copilotkit/react-core](https://redirect.github.com/copilotkit/react-core)@​1.51.4 ### [`v1.51.3`](https://redirect.github.com/CopilotKit/CopilotKit/blob/HEAD/packages/a2ui-renderer/CHANGELOG.md#1513) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.51.2...v1.51.3) ##### Patch Changes - [`d36fc1e`](https://redirect.github.com/CopilotKit/CopilotKit/commit/d36fc1e): Add UMD export - [`ffb46f4`](https://redirect.github.com/CopilotKit/CopilotKit/commit/ffb46f4): fix(a2ui-renderer): ensure the component updates when A2UI operations change - Updated dependencies \[[`d655e75`](https://redirect.github.com/CopilotKit/CopilotKit/commit/d655e75)] - Updated dependencies \[[`d36fc1e`](https://redirect.github.com/CopilotKit/CopilotKit/commit/d36fc1e)] - Updated dependencies \[[`e89fe98`](https://redirect.github.com/CopilotKit/CopilotKit/commit/e89fe98)] - Updated dependencies \[[`3f00a01`](https://redirect.github.com/CopilotKit/CopilotKit/commit/3f00a01)] - [@​copilotkit/react-core](https://redirect.github.com/copilotkit/react-core)@​1.51.3 ### [`v1.51.2`](https://redirect.github.com/CopilotKit/CopilotKit/blob/HEAD/packages/a2ui-renderer/CHANGELOG.md#1512) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.51.1...v1.51.2) ##### Patch Changes - [`e59d23f`](https://redirect.github.com/CopilotKit/CopilotKit/commit/e59d23f): Use deps instead of peerdeps - [`e59d23f`](https://redirect.github.com/CopilotKit/CopilotKit/commit/e59d23f): Move in-repo deps from peerdeps to actual deps - Updated dependencies \[[`e59d23f`](https://redirect.github.com/CopilotKit/CopilotKit/commit/e59d23f)] - Updated dependencies \[[`e59d23f`](https://redirect.github.com/CopilotKit/CopilotKit/commit/e59d23f)] - [@​copilotkit/react-core](https://redirect.github.com/copilotkit/react-core)@​1.51.2 ### [`v1.51.1`](https://redirect.github.com/CopilotKit/CopilotKit/blob/HEAD/packages/a2ui-renderer/CHANGELOG.md#1511) ##### Patch Changes - Updated dependencies \[[`329653b`](https://redirect.github.com/CopilotKit/CopilotKit/commit/329653b)] - [@​copilotkit/react-core](https://redirect.github.com/copilotkit/react-core)@​1.51.1 ### [`v1.51.0`](https://redirect.github.com/CopilotKit/CopilotKit/blob/HEAD/packages/a2ui-renderer/CHANGELOG.md#1510) ##### Patch Changes - [`2839a15`](https://redirect.github.com/CopilotKit/CopilotKit/commit/2839a15): Update versioning strategy - Updated dependencies \[[`2839a15`](https://redirect.github.com/CopilotKit/CopilotKit/commit/2839a15)] - [@​copilotkit/react-core](https://redirect.github.com/copilotkit/react-core)@​1.51.0 ### [`v1.50.1`](https://redirect.github.com/CopilotKit/CopilotKit/blob/HEAD/packages/a2ui-renderer/CHANGELOG.md#1501) ##### Patch Changes - [`eac8b20`](https://redirect.github.com/CopilotKit/CopilotKit/commit/eac8b20): - fix: use latest vnext - Updated dependencies \[[`bdc7a8f`](https://redirect.github.com/CopilotKit/CopilotKit/commit/bdc7a8f)] - Updated dependencies \[[`80dffec`](https://redirect.github.com/CopilotKit/CopilotKit/commit/80dffec)] - Updated dependencies \[[`cfa4185`](https://redirect.github.com/CopilotKit/CopilotKit/commit/cfa4185)] - Updated dependencies \[[`eac8b20`](https://redirect.github.com/CopilotKit/CopilotKit/commit/eac8b20)] - [@​copilotkit/react-core](https://redirect.github.com/copilotkit/react-core)@​1.50.1 </details> <details> <summary>CopilotKit/CopilotKit (@​copilotkit/react-core)</summary> ### [`v1.57.1`](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.57.0...v1.57.1) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.57.0...v1.57.1) ### [`v1.57.0`](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.56.5...v1.57.0) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.56.5...v1.57.0) ### [`v1.56.5`](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.56.4...v1.56.5) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.56.4...v1.56.5) ### [`v1.56.4`](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.56.3...v1.56.4) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.56.3...v1.56.4) ### [`v1.56.3`](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.56.2...v1.56.3) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.56.2...v1.56.3) ### [`v1.56.2`](https://redirect.github.com/CopilotKit/CopilotKit/releases/tag/v1.56.2) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.56.1...v1.56.2) Release v1.56.2 ### [`v1.56.1`](https://redirect.github.com/CopilotKit/CopilotKit/releases/tag/v1.56.1) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.56.0...v1.56.1) Release v1.56.1 ### [`v1.56.0`](https://redirect.github.com/CopilotKit/CopilotKit/releases/tag/v1.56.0) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.55.3...v1.56.0) Release v1.56.0 ### [`v1.55.3`](https://redirect.github.com/CopilotKit/CopilotKit/releases/tag/v1.55.3) Release v1.55.3 ### [`v1.54.0`](https://redirect.github.com/CopilotKit/CopilotKit/releases/tag/v1.54.0) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.53.0...v1.54.0) ##### [@​copilotkit/react-core](https://redirect.github.com/copilotkit/react-core) ##### 1.54.0 ##### Minor Changes - [`fa0d1cd`](https://redirect.github.com/CopilotKit/CopilotKit/commit/fa0d1cd): Add support for Standard Schema (instead of just Zod) ##### Patch Changes - [`c80498e`](https://redirect.github.com/CopilotKit/CopilotKit/commit/c80498e): feat(core): add copilotkit.runTool() for programmatic tool execution - [`af11b1e`](https://redirect.github.com/CopilotKit/CopilotKit/commit/af11b1e): Fixed hook render registrations lost under React Strict Mode. - Updated dependencies \[[`eb1e0bf`](https://redirect.github.com/CopilotKit/CopilotKit/commit/eb1e0bf)] - Updated dependencies \[[`3780c6a`](https://redirect.github.com/CopilotKit/CopilotKit/commit/3780c6a)] - Updated dependencies \[[`6e0cddf`](https://redirect.github.com/CopilotKit/CopilotKit/commit/6e0cddf)] - Updated dependencies \[[`fa0d1cd`](https://redirect.github.com/CopilotKit/CopilotKit/commit/fa0d1cd)] - Updated dependencies \[[`c80498e`](https://redirect.github.com/CopilotKit/CopilotKit/commit/c80498e)] - Updated dependencies \[[`d746e4f`](https://redirect.github.com/CopilotKit/CopilotKit/commit/d746e4f)] - Updated dependencies \[[`f1571ef`](https://redirect.github.com/CopilotKit/CopilotKit/commit/f1571ef)] - [@​copilotkitnext/core](https://redirect.github.com/copilotkitnext/core)@​1.54.0 - [@​copilotkitnext/react](https://redirect.github.com/copilotkitnext/react)@​1.54.0 - [@​copilotkit/runtime-client-gql](https://redirect.github.com/copilotkit/runtime-client-gql)@​1.54.0 - [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared)@​1.54.0 ##### [@​copilotkit/react-ui](https://redirect.github.com/copilotkit/react-ui) ##### 1.54.0 ##### Patch Changes - Updated dependencies \[[`fa0d1cd`](https://redirect.github.com/CopilotKit/CopilotKit/commit/fa0d1cd)] - Updated dependencies \[[`c80498e`](https://redirect.github.com/CopilotKit/CopilotKit/commit/c80498e)] - Updated dependencies \[[`af11b1e`](https://redirect.github.com/CopilotKit/CopilotKit/commit/af11b1e)] - [@​copilotkit/react-core](https://redirect.github.com/copilotkit/react-core)@​1.54.0 - [@​copilotkit/runtime-client-gql](https://redirect.github.com/copilotkit/runtime-client-gql)@​1.54.0 - [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared)@​1.54.0 ##### [@​copilotkit/sdk-js](https://redirect.github.com/copilotkit/sdk-js) ##### 1.54.0 ##### Patch Changes - [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared)@​1.54.0 ##### [@​copilotkit/react-textarea](https://redirect.github.com/copilotkit/react-textarea) ##### 1.54.0 ##### Patch Changes - [`40c22a0`](https://redirect.github.com/CopilotKit/CopilotKit/commit/40c22a0): fix: restore focus to textarea when hitting Escape in CMD+K popup - Updated dependencies \[[`fa0d1cd`](https://redirect.github.com/CopilotKit/CopilotKit/commit/fa0d1cd)] - Updated dependencies \[[`c80498e`](https://redirect.github.com/CopilotKit/CopilotKit/commit/c80498e)] - Updated dependencies \[[`af11b1e`](https://redirect.github.com/CopilotKit/CopilotKit/commit/af11b1e)] - [@​copilotkit/react-core](https://redirect.github.com/copilotkit/react-core)@​1.54.0 - [@​copilotkit/runtime-client-gql](https://redirect.github.com/copilotkit/runtime-client-gql)@​1.54.0 - [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared)@​1.54.0 ##### [@​copilotkit/runtime](https://redirect.github.com/copilotkit/runtime) ##### 1.54.0 ##### Minor Changes - [`fa0d1cd`](https://redirect.github.com/CopilotKit/CopilotKit/commit/fa0d1cd): Add support for Standard Schema (instead of just Zod) ##### Patch Changes - Updated dependencies \[[`3780c6a`](https://redirect.github.com/CopilotKit/CopilotKit/commit/3780c6a)] - Updated dependencies \[[`fa0d1cd`](https://redirect.github.com/CopilotKit/CopilotKit/commit/fa0d1cd)] - [@​copilotkitnext/agent](https://redirect.github.com/copilotkitnext/agent)@​1.54.0 - [@​copilotkitnext/runtime](https://redirect.github.com/copilotkitnext/runtime)@​1.54.0 - [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared)@​1.54.0 ##### [@​copilotkit/runtime-client-gql](https://redirect.github.com/copilotkit/runtime-client-gql) ##### 1.54.0 ##### Patch Changes - [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared)@​1.54.0 ##### [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared) ##### 1.54.0 ##### [@​copilotkit/react-core](https://redirect.github.com/copilotkit/react-core) ##### 1.54.0 ##### Minor Changes - [`fa0d1cd`](https://redirect.github.com/CopilotKit/CopilotKit/commit/fa0d1cd): Add support for Standard Schema (instead of just Zod) ##### Patch Changes - [`c80498e`](https://redirect.github.com/CopilotKit/CopilotKit/commit/c80498e): feat(core): add copilotkit.runTool() for programmatic tool execution - [`af11b1e`](https://redirect.github.com/CopilotKit/CopilotKit/commit/af11b1e): Fixed hook render registrations lost under React Strict Mode. - Updated dependencies \[[`eb1e0bf`](https://redirect.github.com/CopilotKit/CopilotKit/commit/eb1e0bf)] - Updated dependencies \[[`3780c6a`](https://redirect.github.com/CopilotKit/CopilotKit/commit/3780c6a)] - Updated dependencies \[[`6e0cddf`](https://redirect.github.com/CopilotKit/CopilotKit/commit/6e0cddf)] - Updated dependencies \[[`fa0d1cd`](https://redirect.github.com/CopilotKit/CopilotKit/commit/fa0d1cd)] - Updated dependencies \[[`c80498e`](https://redirect.github.com/CopilotKit/CopilotKit/commit/c80498e)] - Updated dependencies \[[`d746e4f`](https://redirect.github.com/CopilotKit/CopilotKit/commit/d746e4f)] - Updated dependencies \[[`f1571ef`](https://redirect.github.com/CopilotKit/CopilotKit/commit/f1571ef)] - [@​copilotkitnext/core](https://redirect.github.com/copilotkitnext/core)@​1.54.0 - [@​copilotkitnext/react](https://redirect.github.com/copilotkitnext/react)@​1.54.0 - [@​copilotkit/runtime-client-gql](https://redirect.github.com/copilotkit/runtime-client-gql)@​1.54.0 - [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared)@​1.54.0 ##### [@​copilotkit/react-ui](https://redirect.github.com/copilotkit/react-ui) ##### 1.54.0 ##### Patch Changes - Updated dependencies \[[`fa0d1cd`](https://redirect.github.com/CopilotKit/CopilotKit/commit/fa0d1cd)] - Updated dependencies \[[`c80498e`](https://redirect.github.com/CopilotKit/CopilotKit/commit/c80498e)] - Updated dependencies \[[`af11b1e`](https://redirect.github.com/CopilotKit/CopilotKit/commit/af11b1e)] - [@​copilotkit/react-core](https://redirect.github.com/copilotkit/react-core)@​1.54.0 - [@​copilotkit/runtime-client-gql](https://redirect.github.com/copilotkit/runtime-client-gql)@​1.54.0 - [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared)@​1.54.0 ##### [@​copilotkit/sdk-js](https://redirect.github.com/copilotkit/sdk-js) ##### 1.54.0 ##### Patch Changes - [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared)@​1.54.0 ##### [@​copilotkit/react-textarea](https://redirect.github.com/copilotkit/react-textarea) ##### 1.54.0 ##### Patch Changes - [`40c22a0`](https://redirect.github.com/CopilotKit/CopilotKit/commit/40c22a0): fix: restore focus to textarea when hitting Escape in CMD+K popup - Updated dependencies \[[`fa0d1cd`](https://redirect.github.com/CopilotKit/CopilotKit/commit/fa0d1cd)] - Updated dependencies \[[`c80498e`](https://redirect.github.com/CopilotKit/CopilotKit/commit/c80498e)] - Updated dependencies \[[`af11b1e`](https://redirect.github.com/CopilotKit/CopilotKit/commit/af11b1e)] - [@​copilotkit/react-core](https://redirect.github.com/copilotkit/react-core)@​1.54.0 - [@​copilotkit/runtime-client-gql](https://redirect.github.com/copilotkit/runtime-client-gql)@​1.54.0 - [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared)@​1.54.0 ##### [@​copilotkit/runtime](https://redirect.github.com/copilotkit/runtime) ##### 1.54.0 ##### Minor Changes - [`fa0d1cd`](https://redirect.github.com/CopilotKit/CopilotKit/commit/fa0d1cd): Add support for Standard Schema (instead of just Zod) ##### Patch Changes - Updated dependencies \[[`3780c6a`](https://redirect.github.com/CopilotKit/CopilotKit/commit/3780c6a)] - Updated dependencies \[[`fa0d1cd`](https://redirect.github.com/CopilotKit/CopilotKit/commit/fa0d1cd)] - [@​copilotkitnext/agent](https://redirect.github.com/copilotkitnext/agent)@​1.54.0 - [@​copilotkitnext/runtime](https://redirect.github.com/copilotkitnext/runtime)@​1.54.0 - [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared)@​1.54.0 ##### [@​copilotkit/runtime-client-gql](https://redirect.github.com/copilotkit/runtime-client-gql) ##### 1.54.0 ##### Patch Changes - [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared)@​1.54.0 ##### [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared) ##### 1.54.0 ### [`v1.53.0`](https://redirect.github.com/CopilotKit/CopilotKit/releases/tag/v1.53.0) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.52.1...v1.53.0) ##### [@​copilotkit/react-core](https://redirect.github.com/copilotkit/react-core) ##### 1.53.0 ##### Patch Changes - [`1510f64`](https://redirect.github.com/CopilotKit/CopilotKit/commit/1510f64): feat: enable mcp and a2ui middleware directly from copilotkit runtime - [`f1eaa4c`](https://redirect.github.com/CopilotKit/CopilotKit/commit/f1eaa4c): Fixing a regression with setModalOpen - [`ac31331`](https://redirect.github.com/CopilotKit/CopilotKit/commit/ac31331): - Prevents error propagating out of CPK when an agent runtime is defined but not reachable - Adds an onError callback to CopilotChat and CopilotKitProvider - Updated dependencies \[[`1510f64`](https://redirect.github.com/CopilotKit/CopilotKit/commit/1510f64)] - Updated dependencies \[[`bf1fc6f`](https://redirect.github.com/CopilotKit/CopilotKit/commit/bf1fc6f)] - [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared)@​1.53.0 - [@​copilotkitnext/core](https://redirect.github.com/copilotkitnext/core)@​1.53.0 - [@​copilotkitnext/react](https://redirect.github.com/copilotkitnext/react)@​1.53.0 - [@​copilotkit/runtime-client-gql](https://redirect.github.com/copilotkit/runtime-client-gql)@​1.53.0 ##### [@​copilotkit/react-ui](https://redirect.github.com/copilotkit/react-ui) ##### 1.53.0 ##### Patch Changes - Updated dependencies \[[`1510f64`](https://redirect.github.com/CopilotKit/CopilotKit/commit/1510f64)] - Updated dependencies \[[`f1eaa4c`](https://redirect.github.com/CopilotKit/CopilotKit/commit/f1eaa4c)] - Updated dependencies \[[`bf1fc6f`](https://redirect.github.com/CopilotKit/CopilotKit/commit/bf1fc6f)] - Updated dependencies \[[`ac31331`](https://redirect.github.com/CopilotKit/CopilotKit/commit/ac31331)] - [@​copilotkit/react-core](https://redirect.github.com/copilotkit/react-core)@​1.53.0 - [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared)@​1.53.0 - [@​copilotkit/runtime-client-gql](https://redirect.github.com/copilotkit/runtime-client-gql)@​1.53.0 ##### [@​copilotkit/sdk-js](https://redirect.github.com/copilotkit/sdk-js) ##### 1.53.0 ##### Patch Changes - Updated dependencies \[[`1510f64`](https://redirect.github.com/CopilotKit/CopilotKit/commit/1510f64)] - Updated dependencies \[[`bf1fc6f`](https://redirect.github.com/CopilotKit/CopilotKit/commit/bf1fc6f)] - [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared)@​1.53.0 ##### [@​copilotkit/react-textarea](https://redirect.github.com/copilotkit/react-textarea) ##### 1.53.0 ##### Patch Changes - Updated dependencies \[[`1510f64`](https://redirect.github.com/CopilotKit/CopilotKit/commit/1510f64)] - Updated dependencies \[[`f1eaa4c`](https://redirect.github.com/CopilotKit/CopilotKit/commit/f1eaa4c)] - Updated dependencies \[[`bf1fc6f`](https://redirect.github.com/CopilotKit/CopilotKit/commit/bf1fc6f)] - Updated dependencies \[[`ac31331`](https://redirect.github.com/CopilotKit/CopilotKit/commit/ac31331)] - [@​copilotkit/react-core](https://redirect.github.com/copilotkit/react-core)@​1.53.0 - [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared)@​1.53.0 - [@​copilotkit/runtime-client-gql](https://redirect.github.com/copilotkit/runtime-client-gql)@​1.53.0 ##### [@​copilotkit/runtime](https://redirect.github.com/copilotkit/runtime) ##### 1.53.0 ##### Minor Changes - [`f822c05`](https://redirect.github.com/CopilotKit/CopilotKit/commit/f822c05): Updating the path and devex for mcp apps ##### Patch Changes - [`d1f7aba`](https://redirect.github.com/CopilotKit/CopilotKit/commit/d1f7aba): feat(runtime): expose messages in afterRequestMiddleware - [`1510f64`](https://redirect.github.com/CopilotKit/CopilotKit/commit/1510f64): feat: enable mcp and a2ui middleware directly from copilotkit runtime - [`8e0f94f`](https://redirect.github.com/CopilotKit/CopilotKit/commit/8e0f94f): Bump AI SDK from v5 to v6 - [`501e8d7`](https://redirect.github.com/CopilotKit/CopilotKit/commit/501e8d7): surpress sse warning in middleware callback - Updated dependencies \[[`1510f64`](https://redirect.github.com/CopilotKit/CopilotKit/commit/1510f64)] - Updated dependencies \[[`bf1fc6f`](https://redirect.github.com/CopilotKit/CopilotKit/commit/bf1fc6f)] - [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared)@​1.53.0 - [@​copilotkitnext/agent](https://redirect.github.com/copilotkitnext/agent)@​1.53.0 - [@​copilotkitnext/runtime](https://redirect.github.com/copilotkitnext/runtime)@​1.53.0 ##### [@​copilotkit/runtime-client-gql](https://redirect.github.com/copilotkit/runtime-client-gql) ##### 1.53.0 ##### Patch Changes - Updated dependencies \[[`1510f64`](https://redirect.github.com/CopilotKit/CopilotKit/commit/1510f64)] - Updated dependencies \[[`bf1fc6f`](https://redirect.github.com/CopilotKit/CopilotKit/commit/bf1fc6f)] - [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared)@​1.53.0 ##### [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared) ##### 1.53.0 ##### Patch Changes - [`1510f64`](https://redirect.github.com/CopilotKit/CopilotKit/commit/1510f64): feat: enable mcp and a2ui middleware directly from copilotkit runtime - [`bf1fc6f`](https://redirect.github.com/CopilotKit/CopilotKit/commit/bf1fc6f): fix: `convertJsonSchemaToZodSchema` drops enum constraints ##### [@​copilotkit/react-core](https://redirect.github.com/copilotkit/react-core) ##### 1.53.0 ##### Patch Changes - [`1510f64`](https://redirect.github.com/CopilotKit/CopilotKit/commit/1510f64): feat: enable mcp and a2ui middleware directly from copilotkit runtime - [`f1eaa4c`](https://redirect.github.com/CopilotKit/CopilotKit/commit/f1eaa4c): Fixing a regression with setModalOpen - [`ac31331`](https://redirect.github.com/CopilotKit/CopilotKit/commit/ac31331): - Prevents error propagating out of CPK when an agent runtime is defined but not reachable - Adds an onError callback to CopilotChat and CopilotKitProvider - Updated dependencies \[[`1510f64`](https://redirect.github.com/CopilotKit/CopilotKit/commit/1510f64)] - Updated dependencies \[[`bf1fc6f`](https://redirect.github.com/CopilotKit/CopilotKit/commit/bf1fc6f)] - [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared)@​1.53.0 - [@​copilotkitnext/core](https://redirect.github.com/copilotkitnext/core)@​1.53.0 - [@​copilotkitnext/react](https://redirect.github.com/copilotkitnext/react)@​1.53.0 - [@​copilotkit/runtime-client-gql](https://redirect.github.com/copilotkit/runtime-client-gql)@​1.53.0 ##### [@​copilotkit/react-ui](https://redirect.github.com/copilotkit/react-ui) ##### 1.53.0 ##### Patch Changes - Updated dependencies \[[`1510f64`](https://redirect.github.com/CopilotKit/CopilotKit/commit/1510f64)] - Updated dependencies \[[`f1eaa4c`](https://redirect.github.com/CopilotKit/CopilotKit/commit/f1eaa4c)] - Updated dependencies \[[`bf1fc6f`](https://redirect.github.com/CopilotKit/CopilotKit/commit/bf1fc6f)] - Updated dependencies \[[`ac31331`](https://redirect.github.com/CopilotKit/CopilotKit/commit/ac31331)] - [@​copilotkit/react-core](https://redirect.github.com/copilotkit/react-core)@​1.53.0 - [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared)@​1.53.0 - [@​copilotkit/runtime-client-gql](https://redirect.github.com/copilotkit/runtime-client-gql)@​1.53.0 ##### [@​copilotkit/sdk-js](https://redirect.github.com/copilotkit/sdk-js) ##### 1.53.0 ##### Patch Changes - Updated dependencies \[[`1510f64`](https://redirect.github.com/CopilotKit/CopilotKit/commit/1510f64)] - Updated dependencies \[[`bf1fc6f`](https://redirect.github.com/CopilotKit/CopilotKit/commit/bf1fc6f)] - [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared)@​1.53.0 ##### [@​copilotkit/react-textarea](https://redirect.github.com/copilotkit/react-textarea) ##### 1.53.0 ##### Patch Changes - Updated dependencies \[[`1510f64`](https://redirect.github.com/CopilotKit/CopilotKit/commit/1510f64)] - Updated dependencies \[[`f1eaa4c`](https://redirect.github.com/CopilotKit/CopilotKit/commit/f1eaa4c)] - Updated dependencies \[[`bf1fc6f`](https://redirect.github.com/CopilotKit/CopilotKit/commit/bf1fc6f)] - Updated dependencies \[[`ac31331`](https://redirect.github.com/CopilotKit/CopilotKit/commit/ac31331)] - [@​copilotkit/react-core](https://redirect.github.com/copilotkit/react-core)@​1.53.0 - [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared)@​1.53.0 - [@​copilotkit/runtime-client-gql](https://redirect.github.com/copilotkit/runtime-client-gql)@​1.53.0 ##### [@​copilotkit/runtime](https://redirect.github.com/copilotkit/runtime) ##### 1.53.0 ##### Minor Changes - [`f822c05`](https://redirect.github.com/CopilotKit/CopilotKit/commit/f822c05): Updating the path and devex for mcp apps ##### Patch Changes - [`d1f7aba`](https://redirect.github.com/CopilotKit/CopilotKit/commit/d1f7aba): feat(runtime): expose messages in afterRequestMiddleware - [`1510f64`](https://redirect.github.com/CopilotKit/CopilotKit/commit/1510f64): feat: enable mcp and a2ui middleware directly from copilotkit runtime - [`8e0f94f`](https://redirect.github.com/CopilotKit/CopilotKit/commit/8e0f94f): Bump AI SDK from v5 to v6 - [`501e8d7`](https://redirect.github.com/CopilotKit/CopilotKit/commit/501e8d7): surpress sse warning in middleware callback - Updated dependencies \[[`1510f64`](https://redirect.github.com/CopilotKit/CopilotKit/commit/1510f64)] - Updated dependencies \[[`bf1fc6f`](https://redirect.github.com/CopilotKit/CopilotKit/commit/bf1fc6f)] - [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared)@​1.53.0 - [@​copilotkitnext/agent](https://redirect.github.com/copilotkitnext/agent)@​1.53.0 - [@​copilotkitnext/runtime](https://redirect.github.com/copilotkitnext/runtime)@​1.53.0 ##### [@​copilotkit/runtime-client-gql](https://redirect.github.com/copilotkit/runtime-client-gql) ##### 1.53.0 ##### Patch Changes - Updated dependencies \[[`1510f64`](https://redirect.github.com/CopilotKit/CopilotKit/commit/1510f64)] - Updated dependencies \[[`bf1fc6f`](https://redirect.github.com/CopilotKit/CopilotKit/commit/bf1fc6f)] - [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared)@​1.53.0 ##### [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared) ##### 1.53.0 ##### Patch Changes - [`1510f64`](https://redirect.github.com/CopilotKit/CopilotKit/commit/1510f64): feat: enable mcp and a2ui middleware directly from copilotkit runtime - [`bf1fc6f`](https://redirect.github.com/CopilotKit/CopilotKit/commit/bf1fc6f): fix: `convertJsonSchemaToZodSchema` drops enum constraints ### [`v1.52.1`](https://redirect.github.com/CopilotKit/CopilotKit/releases/tag/v1.52.1) [Compare Source](https://redirect.github.com/CopilotKit/CopilotKit/compare/v1.52.0...v1.52.1) ##### [@​copilotkit/react-core](https://redirect.github.com/copilotkit/react-core) ##### 1.52.1 ##### Patch Changes - [`b555ac4`](https://redirect.github.com/CopilotKit/CopilotKit/commit/b555ac4): fix(react-core): allow overriding useSingleEndpoint in CopilotKit provider The V1 `<CopilotKit>` provider previously hardcoded `useSingleEndpoint={true}` when wrapping the V2 provider, preventing users from opting into REST transport mode. The prop is now passed through from user config, defaulting to `true` to preserve backward compatibility. - Updated dependencies \[[`bbdf67d`](https://redirect.github.com/CopilotKit/CopilotKit/commit/bbdf67d)] - [@​copilotkitnext/react](https://redirect.github.com/copilotkitnext/react)@​1.52.1 - [@​copilotkit/runtime-client-gql](https://redirect.github.com/copilotkit/runtime-client-gql)@​1.52.1 - [@​copilotkit/shared](https://redirect.github.com/copilotkit/shared)@​1.52.1 - [@​copilotkitnext/core](https://redirect.github.com/copilotkitnext/core)@​1.52.1 ##### [@​copilotkit/react-ui](https://redirect.github.com/copilotkit/react-ui) ##### 1.52.1 ##### Patch Changes - [`bbdf67d`](https://redirect.github.com/CopilotKit/CopilotKit/commit/bbdf67d): fix(css): address imcompat with CJS - Updated dependencies \[[`b555ac4`](https://redirect.github.com/CopilotKit/CopilotKit/commit/b555ac4)] - [@​co > ✂ **Note** > > PR body was truncated to here. </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/CopilotKit/CopilotKit). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNTkuMiIsInVwZGF0ZWRJblZlciI6IjQzLjE1OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJleGFtcGxlcyJdfQ==--> |
||
|
|
2482317ccc |
style: apply ruff format to Python codebase
320 files reformatted. One-time alignment to match the ruff format check added to CI in #4812. |
||
|
|
1b96bfae87 | fix(deps): update copilotkit examples | ||
|
|
41e57ed74b |
fix: remove .bat fallback pattern, fix README typos and phantom scripts
- Remove '|| .bat' fallback from all starter package.json scripts so real errors on Linux/macOS are not masked by a failing .bat attempt - Fix typos: 'isseus' -> 'issues', 'interactin' -> 'interacting' - Fix crewai-crews README title/body saying 'Flow' instead of 'Crew' - Fix a2a-a2ui README wrong agent name and file path - Remove phantom lint/dev:debug scripts from README Available Scripts sections where those scripts don't exist in package.json - Add missing dev:ui and dev:agent to mastra README |
||
|
|
0d4b887d8b |
fix: set execute bit on .sh scripts, fix langgraph-js Docker builds
- chmod +x all new .sh scripts so they work on Linux/macOS - Use --ignore-scripts in langgraph-js Dockerfiles to avoid postinstall failure (agent/ dir not yet copied during npm install stage) - Install agent deps in production Dockerfile after COPY agent/ - Fix hardcoded pnpm commands in agent-spec README |
||
|
|
96ed9151d7 |
fix: default to npm in all starter READMEs, support any package manager
Reorder package manager instructions to show npm first as the default. Remove stale 'ignores lock files' notes since lock file entries were removed from .gitignore. All starters now work with npm, pnpm, yarn, or bun — user's choice. |
||
|
|
4f49da19e0 |
fix: remove lock file entries from all starter .gitignore files
Starters should not constrain users to a specific package manager. The .gitignore gets cloned into the user's project, so ignoring certain lock files would prevent them from committing their chosen package manager's lock file. |
||
|
|
c27b162589 |
fix: pin @ag-ui/client to 0.0.52 in CLI templates
Templates were pinned at old @ag-ui/client versions (0.0.40–0.0.46). @copilotkit/runtime@1.55.2 ships 0.0.52, which added private fields to AbstractAgent. The version split caused a nominal type error on build. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|
|
ff2093102c |
chore(lint): add new oxlint rules and auto-fix violations
Enable stricter oxlint rules for better code health: - typescript/consistent-type-imports: enforce `import type` for type-only imports - typescript/no-import-type-side-effects: prefer top-level type imports - import/consistent-type-specifier-style: consistent type specifier placement - typescript/no-unnecessary-type-assertion: bump to error - react/self-closing-comp: enforce self-closing JSX components - unicorn/prefer-optional-catch-binding: drop unused catch params - eslint/no-useless-computed-key: simplify object keys - unicorn/prefer-string-slice: prefer .slice() over .substring() - unicorn/prefer-array-flat-map: prefer .flatMap() over .map().flat() All existing violations auto-fixed via oxlint --fix. |
||
|
|
65508a641d | feat: add /health endpoint to all starter integration examples | ||
|
|
2fb966bd68 |
fix: apply a2ui-root Strict Mode fix to example apps
Follow-up to #3607 — the same problematic `import { v0_8 } from "@a2ui/lit"` pattern existed in 4 example files. Switch to `@a2ui/lit/0.8` subpath for value imports and remove an unused v0_8 import. Also broaden the lint rule glob to cover `examples/` and prevent regression. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|
|
79ce60c580 |
chore: migrate from eslint+prettier to oxlint+oxfmt
Replace eslint and prettier with oxlint and oxfmt for faster linting and formatting across the monorepo. Remove all eslint and prettier configs, dependencies, and related packages. Add .oxlintrc.json and .oxfmtrc.json for the new tooling. Update CI workflows and lefthook hooks accordingly. Reformat codebase with oxfmt. https://claude.ai/code/session_01GMkSf29p78HuMR1mbXn8He |
||
|
|
96885b5959 |
refactor: consolidate V1/V2 packages into flat @copilotkit/* structure
Flatten all packages from packages/v1/* and packages/v2/* into packages/* — every package now lives directly under the @copilotkit/ scope with no v1/v2 subdirectories. - Move all v1 packages (react-core, react-ui, runtime, shared, etc.) from packages/v1/* to packages/* - Absorb v2 react code into packages/react-core/src/v2/ (exported via /v2 subpath) - Absorb v2 agent code into packages/runtime/src/agent/ (exported via /v2 subpath) - Move v2 packages (core, angular, demo-agents, etc.) to packages/* - Replace all @copilotkitnext/* imports with @copilotkit/* equivalents - Keep @copilotkitnext/angular as the sole exception (angular remains on next) - Update CI workflows, renovate config, release scripts for flat structure - No public API surface changes — all exports fields are preserved Co-authored-by: Alem Tuzlak <t.zlak@hotmail.com> Signed-off-by: Tyler Slaton <tyler@copilotkit.ai> |
||
|
|
fd34bbfbf6 |
style: format all example files with prettier
Run prettier on ~1,865 files across examples/ to match the monorepo's formatting standards. These files were imported as-is from standalone repos that used different prettier configs. |
||
|
|
34268b756a |
fix: remove SVG from LFS tracking
SVG files are text-based XML averaging ~218 bytes each. LFS tracking adds per-file HTTP fetch overhead with no storage benefit, suppresses git diff output, and breaks tutorial clone instructions that use GIT_LFS_SKIP_SMUDGE=1 (users get LFS pointers instead of icons). |
||
|
|
ec3a5ff114 | feat: consolidate 47 demo repos into examples/ |