Skip to content

Update CopilotKit dependencies to v1.62.2#35

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/copilotkit-dependencies
Open

Update CopilotKit dependencies to v1.62.2#35
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/copilotkit-dependencies

Conversation

@renovate

@renovate renovate Bot commented May 26, 2026

Copy link
Copy Markdown

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@copilotkit/react-core 1.6.01.62.2 age confidence
@copilotkit/react-ui 1.6.01.62.2 age confidence
@copilotkit/runtime 1.6.01.62.2 age confidence

Release Notes

CopilotKit/CopilotKit (@​copilotkit/react-core)

v1.62.2

Compare Source

v1.62.1

Compare Source

v1.62.0

Compare Source

v1.61.2

Compare Source

v1.61.1

Compare Source

v1.61.0

Compare Source

v1.60.2

Compare Source

CopilotKit v1.60.2

A patch release on the 1.60 line. Headline: a sweep of @copilotkit/react-core chat-surface stability fixes — pin-to-send scrolling, scoped Streamdown markdown styles, thread-header refresh on provider updates, an awaited useInterrupt resolve, and dark-mode default tool rendering — landing alongside agent-native Slack APIs (assistant pane + native streaming, default-on) in @copilotkit/bot-slack 0.0.2 (#​5447). This cut also adds a runtime A2UI opt-out predicate (#​5385), fixes Angular OnPush rendering on addMessage (#​5418), and rides @ag-ui/* 0.0.57.

Install

npm install @​copilotkit/react-core@1.60.2 @​copilotkit/react-ui@1.60.2 @​copilotkit/runtime@1.60.2

Features

  • @copilotkit/bot-slack: agent-native Slack APIs (0.0.2) — adds the Slack assistant pane and native streaming, on by default, and enables them in the Slack example. (#​5447)
  • @copilotkit/runtime: A2UI enabled opt-out — a shared isA2UIEnabled predicate lets you opt out of A2UI injection instead of it being implicitly on. (#​5385)

Fixes

  • @copilotkit/react-core: stabilize pin-to-send scrolling — keeps the user message pinned without the jump/drift on send. (#​5386)
  • @copilotkit/react-core: scope Streamdown markdown styles — markdown styling (including mermaid blocks and sub/superscript) is scoped so it no longer leaks into the surrounding app. (#​5099)
  • @copilotkit/react-core: refresh thread headers on provider updates — thread headers re-render when the provider changes instead of showing stale titles. (#​5300)
  • @copilotkit/react-core: await runAgent in useInterrupt::resolve — the resolve path now awaits the agent run (and propagates through demo-local hooks) so resume completes deterministically. (#​5461)
  • @copilotkit/react-core: dark-mode default tool rendering — the default tool renderer now has dark-theme styling. (#​5455)
  • @copilotkitnext/angular: OnPush views render on addMessage — emit a fresh messages array so OnPush change detection picks up appended messages. (#​5418)
  • @copilotkit/vue: keep the user message pinned — adjust the pin-to-send spacer in both directions. (#​5423)
  • @copilotkit/shared: preserve lambda client CJS export — restores the lambda client export in the CommonJS build. (#​5419)
  • @copilotkit/web-inspector: persist announcement popout dismissal — dismissing the announcement popout via its X control now sticks. (#​5448)

Dependencies

  • @ag-ui/* stays at 0.0.57 — no version change from 1.60.1; @ag-ui/core / @ag-ui/client / @ag-ui/encoder at 0.0.57, @ag-ui/langgraph at 0.0.41, @ag-ui/a2ui-middleware at 0.0.8.

Docs

  • Vue quick start guide (#​5492), @copilotkit/react-native reference docs (#​5397), and Built-in Agent docs served at the docs root (#​5404).
  • Renamed premium docs sections to Enterprise / Intelligence platform (#​5511).

CI / release

  • One-click canary publish orchestrator + release-pipeline lint guards — a canary publish workflow plus lint and scope-drift guards for the release pipelines. (#​5370)

Packages republished at 1.60.2

@copilotkit/runtime, @copilotkit/react-core, @copilotkit/react-ui, @copilotkit/react-native, @copilotkit/core, @copilotkit/shared, @copilotkit/runtime-client-gql, @copilotkit/sdk-js, @copilotkit/vue, @copilotkit/voice, @copilotkit/web-inspector, @copilotkit/a2ui-renderer, @copilotkit/react-textarea, @copilotkit/sqlite-runner, and @copilotkit/agentcore-runner. @copilotkit/bot and @copilotkit/bot-slack republished at 0.0.2.

v1.60.1

Compare Source

CopilotKit v1.60.1

A patch release on the 1.60 line. It bumps @ag-ui/* to 0.0.57 — picking up the @ag-ui/client transport fetch fix and adapting @copilotkit/bot-slack to the new runHttpRequest signature (#​5408) — alongside internal test-infrastructure and example hardening.

Install

npm install @​copilotkit/react-core@1.60.1 @​copilotkit/react-ui@1.60.1 @​copilotkit/runtime@1.60.1

Dependencies

  • @ag-ui/* bumped to 0.0.57@ag-ui/core, @ag-ui/client, @ag-ui/encoder 0.0.56 → 0.0.57 across packages, picking up the @ag-ui/client transport fetch fix; @ag-ui/langgraph at 0.0.41, @ag-ui/a2ui-middleware at 0.0.8. @copilotkit/bot-slack adapts its runHttpRequest call to the 0.0.57 fetch-thunk signature. (#​5408)

Docs

  • CopilotKit skills migrated to the v2 API — the bundled CopilotKit skills now target the v2 API (useAgent etc.). (#​5394)

Packages republished at 1.60.1

@copilotkit/runtime, @copilotkit/react-core, @copilotkit/react-ui, @copilotkit/react-native, @copilotkit/core, @copilotkit/shared, @copilotkit/runtime-client-gql, @copilotkit/sdk-js, @copilotkit/vue, @copilotkit/voice, @copilotkit/web-inspector, @copilotkit/a2ui-renderer, @copilotkit/react-textarea, @copilotkit/sqlite-runner, and @copilotkit/agentcore-runner.

v1.60.0

Compare Source

CopilotKit v1.60.0

A minor release on the 1.60 line. Headline: the new @copilotkit/bot family — a platform-agnostic bot engine, a cross-platform JSX UI runtime, and a Slack platform adapter (#​5274) — debuts alongside the AG-UI A2UIToolParams single-arg API on @ag-ui 0.0.56 (#​5339). This cut also scopes the A2UI catalog context per-agent instead of broadcasting it into every run (#​5369), makes a single unhealthy MCP server non-fatal to a run, threads app-user IDs through Intelligence thread reads and deletes (#​5389), and fixes the Intelligence indicator icon that rendered blank outside Chrome (#​5316).

Install

npm install @​copilotkit/react-core@1.60.0 @​copilotkit/react-ui@1.60.0 @​copilotkit/runtime@1.60.0

New packages

  • @copilotkit/bot, @copilotkit/bot-ui, @copilotkit/bot-slack (0.0.1) — A new family for building AG-UI agents into chat platforms, landing the production rework of the earlier Slack PoC (#​4883).
    • bot — a platform-agnostic engine: createBot with onMention/onMessage/onInterrupt/onCommand handler registration, the agent run/tool/interrupt loop, content-stable JSX action binding with cold-path rehydration from a pluggable ActionStore, the PlatformAdapter boundary, capability-gated thread methods, a shared BotToolContext, defineBotTool/defineBotCommand, and typed interaction/interrupt handlers (ships fake-adapter/fake-agent test utilities).
    • bot-ui — a JSX runtime, intermediate representation, and a cross-platform component vocabulary.
    • bot-slack — a Slack adapter: JSX → Block Kit rendering with per-element budgets and graceful degradation, Socket Mode ingress, opaque-id interactions (ack within 3 s, run async), chat.update streaming with chunking, accent attachments, and sender-profile resolution. Bolt initialization is deferred to start().
    • A 100% JSX Slack on-call triage bot example (over Linear + Notion MCP) ships under examples/slack — issue/page cards, tables, Chart.js charts, Mermaid diagrams, a confirm_write HITL gate, and /agent + /triage slash commands. (#​5274)

Features

  • A2UI adopts the single-arg A2UIToolParams APIgetA2UITools / get_a2ui_tools in the LangGraph middlewares now take one A2UIToolParams object (model inside), with composition_guide folded into the guidelines bag. Counterpart to ag-ui#1894, which re-enables A2UI generation and design guidelines via the shared params bag. (#​5339, #​5314)

Fixes

  • @copilotkit/core / runtime / react-core / vue: scope A2UI context per agent — the A2UI catalog context was being injected into every agent's runs. Context entries are now scoped per-agent, the runtime info response forwards per-agent A2UI scoping, and the a2ui agent list is preserved through the core context path — so only the runtime's designated a2ui agents receive the catalog. (#​5369, #​5383)
  • @copilotkit/runtime: MCP server failures are non-fatal — a single unavailable MCP server (down, 5xx, timeout, bad auth) no longer fails the whole run. It's skipped with an error log and the run continues with the healthy servers and the agent's own tools. (#​5274)
  • @copilotkit/runtime: pass app-user IDs to Intelligence thread reads — the Intelligence REST API now requires explicit app-user ownership for direct thread reads, message-history lookups, and destructive thread mutations. Runtime now threads the resolved userId (and agentId on deletes) through those calls as route params; create/list/connect/lock already sent it. Wire-contract assertions added to the runtime tests. (#​5389)
  • @copilotkit/react-core: Intelligence indicator icon renders cross-browser — the indicator's spinner→checkmark icon was blank in Safari and Firefox because its geometry lived in the Blink-only CSS d: property. Geometry moved to the SVG d attribute, replaced the Chrome-only path-morph with two overlaid static shapes (a fading spinning arc + a self-drawing checkmark), and rotated the arc via transform-box: fill-box; transform-origin: center so it renders instantly and on-center in every engine. (#​5316)
  • @copilotkit/core: adapt to @ag-ui/client 0.0.56's runHttpRequest0.0.56 changed runHttpRequest from (url, requestInit) to a fetch-thunk signature (() => Promise<Response>). The single-route and connect transport paths in ProxiedCopilotRuntimeAgent now wrap the request as () => this.fetch(url, init), restoring the envelope transports; @ag-ui/* added to minimum-release-age-exclude so the fresh publish installs in CI. (#​5344)
  • @copilotkit/shared / a2ui-renderer: repair check-types rot — define license context types locally (drop the dead LicenseMode redefinition), remove dead 0.8-era a2ui-renderer viewer files, and resolve Angular workspace paths to dist first in typecheck. (#​5356)
  • @copilotkit/web-inspector: Node 25 compatibility — shim localStorage in the vitest setup so the suite runs on Node 25. (#​5274)
  • @copilotkitnext/angular: support Angular 19–21 install — widen the @angular/* peer range to ^19 || ^20 || ^21 (a clean install on Angular 20/21 no longer needs --legacy-peer-deps) and correct the README to the real package name @copilotkitnext/angular. Rides the separate @copilotkitnext/angular version line (not part of the 1.60.0 republish). (#​5342)

Dependencies

  • @ag-ui/* bumped to 0.0.56@ag-ui/core, @ag-ui/client, @ag-ui/encoder 0.0.53 → 0.0.56 across all packages; @ag-ui/langgraph at 0.0.41, @ag-ui/a2ui-middleware at 0.0.8. (#​5339, #​5344)

Packages republished at 1.60.0

@copilotkit/runtime, @copilotkit/react-core, @copilotkit/react-ui, @copilotkit/react-native, @copilotkit/core, @copilotkit/shared, @copilotkit/runtime-client-gql, @copilotkit/sdk-js, @copilotkit/vue, @copilotkit/voice, @copilotkit/web-inspector, @copilotkit/a2ui-renderer, @copilotkit/react-textarea, @copilotkit/sqlite-runner, and @copilotkit/agentcore-runner.

v1.59.5

Compare Source

v1.59.4

Compare Source

v1.59.3

Compare Source

v1.59.2

Compare Source

v1.59.1

Compare Source

v1.59.0

Compare Source

v1.58.0

Compare Source

v1.57.4

Compare Source

v1.57.3

Compare Source

v1.57.2

Compare Source

v1.57.1

Compare Source

v1.57.0

Compare Source

CopilotKit v1.57.0

A minor release on the 1.57 line. The headline is a new Threads tab in the web inspector — backed by a thread-store registry in @copilotkit/core, a useThreads hook, and per-thread inspection endpoints in the runtime — plus registerProxiedAgent for mounting frontend tools/context against a server-defined agent, IntelligenceIndicator auto-mount, and requiresUser for OAuth-gated MCP HTTP servers.

Install
npm install @&#8203;copilotkit/react-core@1.57.0 @&#8203;copilotkit/react-ui@1.57.0 @&#8203;copilotkit/runtime@1.57.0
Features
  • Threads tab in @copilotkit/web-inspector — Each agent's threads now appear in a dedicated tab with three sub-views: Conversation (historical messages with expandable tool-call blocks), Agent State (last STATE_SNAPSHOT payload), and AG-UI Events (full event stream with payload highlighting). Backed by:

    • ThreadStoreRegistry in @copilotkit/core (keyed by agentId) and a new onAgentRunStarted subscriber event so the inspector subscribes before agent.runAgent() snapshots the subscriber list.
    • useThreads hook in @copilotkit/react-core that fetches threads and subscribes to a Phoenix WebSocket channel for real-time metadata.
    • New runtime endpoints GET /threads/:id/events and GET /threads/:id/state, plus list/update/archive/delete handlers, wired through both InMemoryAgentRunner and the Intelligence platform's _inspect/threads/:id/{events,state} endpoints. getThreadState() walks per-run compacted events and returns the latest STATE_SNAPSHOT payload.
    • All thread mutations authenticate via identifyUser(request); userId in the request body is ignored.
    • Inspector UI built in Lit, with tab DOM mounted once and toggled via display:none so switching sub-views is a CSS swap rather than a re-render.

    The tab is publicly accessible and integrates out-of-the-box into [CopilotKit Enterprise Intelligence](https://docs.copilotkit.ai/threads?ref=1.57.0-release-notes).

  • registerProxiedAgent in @copilotkit/core — New API for mounting a frontend-side agent (with frontend tools, context, render hooks) against a server-defined runtime agent. Replaces an earlier per-thread cloning approach, which has been reverted because it wiped agent state on tool calls. The registry now keeps a single agent per id. ([e576bc16](e576bc1), reverts [#​3525](#​3525))

    ts copilotkit.registerProxiedAgent({ id: "research", agent: clientAgent });

  • IntelligenceIndicator auto-mounts in @copilotkit/react-core — When intelligence is configured on the <CopilotKit> provider, the indicator now mounts automatically. No manual placement required. ([678d143b](678d143))

  • requiresUser flag on MCPClientConfigHTTP — The runtime now accepts a requiresUser flag for HTTP MCP clients, signaling that the tool requires an authenticated end user (OAuth flow). Pairs with per-call MCP HTTP header resolution on BuiltInAgent, so headers can be derived per request rather than baked into the client config. ([8a2e6bd3](8a2e6bd), [5ee569e0](5ee569e))

Core fixes (@copilotkit/core)
  • ThreadStoreRegistry hardening — guard auto-unregister against the initial empty-agents seed; forward prevStore on unregister and freeze getAll() snapshots; tighten notify ordering so subscribers don't observe partial state during register/unregister. Internal ɵMAX_SOCKET_RETRIES is now exported for tests. ([bd9fe016](bd9fe01), [9b7c0517](9b7c051), [f5787e0b](f5787e0), [9fdfe23b](9fdfe23))
React fixes (@copilotkit/react-core)
  • Pin-to-send re-anchors on reflow — when chat content reflows underneath the pinned send button, the anchor now recomputes instead of leaving the button visually orphaned. ([4c41270e](4c41270))
  • Drop redundant copilotkit.headers from useEffect deps — prevents needless re-runs when the reference is stable. ([cdffd840](cdffd84))
Inspector fixes (@copilotkit/web-inspector)
  • Announcement banner — moved into the scrollable area, hardened copy-button helpers, scoped per-button reset timeouts, and consolidated escapeHtml into a module-level helper. ([#​4639](#​4639))
  • Tab DOM caching — keep tab DOM mounted, cache panel templates, defer off-screen events. Switching between Conversation / Agent State / AG-UI Events is now a CSS visibility swap rather than a re-render. ([e05c5ef1](e05c5ef))
  • Tool-call status from parsed args — frontend-rendered generative-UI tools (charts, custom UI) never produce a role: tool result message. The inspector now derives DONE from parsed-args presence so they no longer appear stuck in IN_PROGRESS. ([ce004920](ce00492))
  • Lazy-load events/state with spinner — tab clicks feel instant; the heavy fetch happens after the panel is visible. ([762eb79d](762eb79))
  • Live conversation updates — re-fetch on active-agent message emit; silent background re-fetch keeps the panel in sync without flicker. ([94305c09](94305c0), [09970072](0997007))
  • Type / JSDoc tightening — runtime+inspector types aligned with reality after the threads work; data-staleness, error-swallowing, and silent parse-fail paths plugged. ([3d616661](3d61666), [daf52a20](daf52a2))
Packages republished at 1.57.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, and @copilotkit/sqlite-runner.

v1.56.5

Compare Source

CopilotKit v1.56.5

A patch release on the 1.56 line. No breaking API changes — fixes to the runtime stream converters, reasoning lifecycle, LangGraph wrappers, Express compatibility, and React chat surfaces, plus a new LangGraph state-injection helper and a new memory runner package.

Install
npm install @&#8203;copilotkit/react-core@1.56.5 @&#8203;copilotkit/react-ui@1.56.5 @&#8203;copilotkit/runtime@1.56.5
Features
  • LangGraph state injection in @copilotkit/sdk-jscreateCopilotkitMiddleware now exposes an ExposeStateOption (boolean | readonly string[]) that injects selected graph state into the CopilotKit middleware. (#​4354)
Runtime fixes (@copilotkit/runtime)
  • TanStack converter — stop converting the stream after RUN_FINISHED. The TanStack chat() engine runs a multi-turn agent loop and calls processToolCalls() on frontend-only tools, which produced an unmatched TOOL_CALL_END and tripped the AG-UI verify middleware. (#​4476)
  • TanStack state-tool detection — fall back to rawContent ?? raw.result so state-tool results are recognised even when only the legacy field is populated. (a48e9a17)
  • Reasoning lifecycle — close any open reasoning message on REASONING_END, and reopen cleanly when a new REASONING_START arrives. (18f6c1e2)
  • Reasoning lifecycle — track REASONING message-open and run-open state separately to avoid duplicate REASONING_MESSAGE_END events. (7bcd2f81)
  • LangGraph subagents — default streamSubgraphs to true in the agent wrapper. @ag-ui/langgraph 0.0.31+ flipped the default to undefined, breaking subagent streaming; this restores the previous behaviour while preserving any explicit caller override via nullish coalescing. (#​4446)
  • Express 4/5 compatibility — replace string wildcards with RegExp routes in the Express adapter and switch to {*splat} syntax for path-to-regexp v8, so the runtime works across Express 4, 4.20+, and 5. (#​4447)
SDK fixes (@copilotkit/sdk-js)
  • Zod v4 state fields preserved in LangGraph output_schema — adds a zodState helper that attaches a ~standard.jsonSchema.input hook to Standard-Schema-compatible schemas. Without it, Zod v4 fields carry only ~standard.validate + vendor, so LangGraph's isStandardJSONSchema() returned false and getJsonSchemaFromSchema silently dropped fields from the graph's output_schema, which then filtered them out of STATE_SNAPSHOT events. (#​4358)
React fixes (@copilotkit/react-core, @copilotkit/react-ui)
  • Suggestions on the welcome screen — pills marked available: "always" now render on the welcome screen when a runtimeUrl is configured, instead of being hidden until the first message. (#​4462)
  • Input overlay observer — re-attach the chat-input overlay observer when leaving the welcome screen, so overlays mount correctly on the first user interaction after welcome. (#​4472)
  • Image attachments — render image attachments as compact 80×80 thumbnails laid out in a horizontal row above the message text (rather than 300×300 stacked below), aligning with conventional chat UIs. (#​4459)
Dependency hygiene
  • Bump @ag-ui/* packages to 0.0.53. (#​4477)
  • Deep security sweep across the workspace — 155 advisories down to 3 unfixable transitives (parse-git-config, elliptic). Includes ~36 new pnpm overrides for resolvable transitives plus storybook/vite/vitest devDep bumps. (868f6b17)
Build / packaging
  • @copilotkit/a2ui-renderer — remove a redundant prepack script that was breaking canary publishes with ENOENT. (#​4467)
Monorepo
Packages republished at 1.56.5

@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, and @copilotkit/sqlite-runner.

v1.56.4

Compare Source

CopilotKit v1.56.4

A patch release on the 1.56 line. No breaking API changes — adds a CopilotKitStateSchema helper for LangGraph's StateSchema API, fixes a chat-input overlay regression on scroll, restores telemetry calls that were lost in the fetch-handler migration, and tightens A2UI generation prompts.

Install
npm install @&#8203;copilotkit/react-core@1.56.4 @&#8203;copilotkit/react-ui@1.56.4 @&#8203;copilotkit/runtime@1.56.4
Features
  • CopilotKitStateSchema for LangGraph StateSchema API@copilotkit/sdk-js now exposes a CopilotKitStateSchema helper that wraps Standard Schema-compatible schemas for use with LangGraph's StateSchema API, exporting through both the public root and the langgraph subpath. (#​4272)
React fixes (@copilotkit/react-core)
  • Chat input overlays scroll area — pin the chat input over the scroll area so it remains visible while scrolling through long conversations, with the attachment queue laid out correctly above the composer. (#​4185)
  • Default chat feather overlay to empty render — the feather overlay now defaults to an empty render so apps that don't override it don't get an unintended visual element. (b621e96e)
Runtime fixes (@copilotkit/runtime)
  • Telemetry calls restored after fetch migration — telemetry calls were dropped during the v2 endpoints refactor onto the fetch-based handler. Restored across the Express, Hono, and Hono-single integrations. (#​4266)
  • Telemetry refactor — drop the framework tag from v2 telemetry events and remove the Segment channel from the v2 telemetry client; telemetry now flows through a single, simpler path. (b8e7b575, 3ba588ca)
Shared fixes (@copilotkit/shared)
  • A2UI generation guidelines — document the id="root" entry-point requirement in the A2UI generation prompts so the model produces schema-valid root entries more reliably. (bec1fd08)
Packages republished at 1.56.4

@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, and @copilotkit/sqlite-runner.

v1.56.3

Compare Source

CopilotKit v1.56.3

A patch release on the 1.56 line. Restores the welcome screen for wrappers that pre-generate thread UUIDs, drops a stray A2UI theme background, and recovers main CI after recent infrastructure changes.

Install
npm install @&#8203;copilotkit/react-core@1.56.3 @&#8203;copilotkit/react-ui@1.56.3 @&#8203;copilotkit/runtime@1.56.3
React fixes (@copilotkit/react-core)
  • Welcome screen restored when a wrapper passes a generated thread UUID — the generated-UUID path was short-circuiting the welcome screen check. (#​4172)
Build / packaging
  • Drop stray a2ui-theme background and bump the generated CLI version.
Packages republished at 1.56.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.56.2

Compare Source

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
npm install @&#8203;copilotkit/react-core@1.56.2 @&#8203;copilotkit/react-ui@1.56.2 @&#8203;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)
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

Compare Source

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
npm install @&#8203;copilotkit/react-core@1.56.1 @&#8203;copilotkit/react-ui@1.56.1 @&#8203;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)
  • 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, closes #​2504)
  • Anthropic tool_result paired with tool_use after token trimming — token trimming no longer orphans tool_result messages. (#​3820, closes #​2450)
  • Configurable maxInputTokens on OpenAI and Anthropic adapters — cap input tokens explicitly per request. (#​3823, closes #​2405)
  • LangChain adapter always generates unique message IDs — prevents downstream deduplication issues. (#​3829)
  • Zod v4 compatibility for schema-to-JSON conversion — the schema-to-JSON converter now handles the Zod v4 shape. (#​3837)
  • MCP TOOL_CALL_RESULT array-content normalization — array-shaped tool results are now normalized into strings the runtime can emit. (#​3832)
  • Non-unique provider IDs replaced with UUIDs — placeholders like txt-0 were colliding; the adapter now emits proper UUIDs. (#​3800, closes #​3410, #​3623)
React fixes (@copilotkit/react-core, @copilotkit/react-ui)
  • Export CopilotModal and CopilotModalProps — public components without a public export, now corrected. (#​3817, closes #​2194)
  • Button uses forwardRef for Radix interop — no more ref warnings when composing with Radix DropdownMenuTrigger. (#​3830)
  • IME composition guard in CopilotChatInput — no more accidental sends mid-composition for CJK/IME input. (#​3835)
  • Loading indicator during tool execution — keeps the UI honest about what's happening mid-tool-call. (#​3833)
  • Controlled-input reset after sendonChange("") fires after submit in controlled mode. (#​3836)
  • available: "disabled" tools excluded from buildFrontendTools — disabled tools are no longer announced to the model. (#​3793, closes #​3020)
  • Thumbs callbacks receive AssistantMessageonThumbsUp/onThumbsDown now pass the message instead of a SyntheticEvent. (#​3796, closes #​3457)
  • urlTransform forwards to ReactMarkdown — the prop was being dropped silently. (#​3845)
  • Message footer width — hardcoded 97% replaced with 100%. (#​3786)
Runtime + agent fixes (@copilotkit/runtime, @copilotkit/react-core)
  • Duck-type Request for Hono polyfill compatinstanceof was brittle under Hono's polyfilled Request; the runtime now type-sniffs instead. (#​3790)
  • LangGraph agent pagination default 10 → 100 — larger default page size for LangGraph thread/run listings. (#​3812, closes #​2056)
  • Handle void return from sendFunction in usePushToTalk — push-to-talk no longer assumes a non-void return. (#​3783)
  • useRenderCustomMessages returns null when agent missing — used to throw; now safely no-ops. (#​3797, closes #​3497)
  • CopilotListeners guards empty agents map — stops useAgent throwing on initial boot. (#​3798, closes #​3249)
  • Skip version check when showDevConsole={false} — fewer requests when the dev console is disabled. (#​3827)
  • Forward credentials on all agent registration paths — one registration path was not forwarding credentials; now consistent. (#​3839)
  • toolCallId passed to useRenderTool render components — render functions now receive the tool call ID. (#​3843)
  • hookParams passed to onAfterRequest — the callback was receiving an empty object. Now receives the actual hook params. (#​3801, closes #​2124)
  • Configurable audio mediaType + mic tracks released on stop — mic tracks no longer linger after a recording ends. (#​3811, closes #​2049, #​2050)
Build / packaging
  • Release pipeline hardened — registry error handling, tag-existence checks before publish, and prerelease smoke tests in the release workflow. (#​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

Compare Source

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
npm install @&#8203;copilotkit/react-core@1.56.0 @&#8203;copilotkit/react-ui@1.56.0 @&#8203;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)

    // Client
    import { CopilotKit } from "@&#8203;copilotkit/react-core";
    
    <CopilotKit debug runtimeUrl="/api/copilotkit">
      <App />
    </CopilotKit>
    // Runtime
    import { CopilotRuntime } from "@&#8203;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, #​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)
  • Latest @ag-ui/langgraph packages — runtime and examples now pull the latest @ag-ui/langgraph packages, picking up upstream fixes. No API change. (#​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)
  • Docs-sync PR flow — review items now staged before creating the PR. (#​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

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
npm install @&#8203;copilotkit/react-core@1.55.3 @&#8203;copilotkit/react-ui@1.55.3 @&#8203;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)
  • 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)
  • 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)
  • 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)
  • Auto-detected runtime transport@copilotkit/core and @copilotkit/react-core now detect REST vs. single-endpoint transport from the runtime and adapt automatically. (#​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)
  • Custom mcpClients configuration — pass your own MCP client configuration to the runtime to control how tool providers connect and reuse. (#​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)
  • Race condition dropping agent runsRunHandler.runAgent() had a race that could drop runs invoked in quick succession. Closed. (#​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)
  • 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)
React fixes (@copilotkit/react-core, @copilotkit/react-ui)
  • messageView and labels props stabilizedCopilotChat was re-rendering the entire message list on every keystroke because prop identity was shifting. Replaced with useShallowStableRef to keep references stable. (#​3646)
  • Multiple CopilotChat instances no longer share state across threadIds — two chats mounted at different threads were sharing message state. Per-thread agent instances are now isolated. (#​3525)
  • Markdown components ref stabilized — the Markdown component ref was changing every render, cascading into unnecessary work during streaming. Stabilized. (#​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)
  • 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)
  • 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:

    - import { CopilotChat } from "@&#8203;copilotkitnext/react";
    + import { CopilotChat } from "@&#8203;copilotkit/react-core/v2";
  • Other @copilotkitnext/* pa

Note

PR body was truncated to here.


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.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the copilotkit label May 26, 2026
@vercel

vercel Bot commented May 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mcp-client-langgraph Error Error Jul 4, 2026 4:18am

Request Review

@renovate renovate Bot force-pushed the renovate/copilotkit-dependencies branch from 89c30f1 to 078dfdb Compare May 30, 2026 12:05
@renovate renovate Bot changed the title Update CopilotKit dependencies to v1.58.0 Update CopilotKit dependencies to v1.59.1 May 30, 2026
@renovate renovate Bot force-pushed the renovate/copilotkit-dependencies branch from 078dfdb to e5657f4 Compare June 4, 2026 04:03
@renovate renovate Bot changed the title Update CopilotKit dependencies to v1.59.1 Update CopilotKit dependencies to v1.59.3 Jun 4, 2026
@renovate renovate Bot force-pushed the renovate/copilotkit-dependencies branch from e5657f4 to 3d66035 Compare June 6, 2026 16:14
@renovate renovate Bot changed the title Update CopilotKit dependencies to v1.59.3 Update CopilotKit dependencies to v1.59.5 Jun 6, 2026
@renovate renovate Bot force-pushed the renovate/copilotkit-dependencies branch from 3d66035 to 0c4f241 Compare June 12, 2026 15:06
@renovate renovate Bot changed the title Update CopilotKit dependencies to v1.59.5 Update CopilotKit dependencies to v1.60.1 Jun 12, 2026
@renovate renovate Bot force-pushed the renovate/copilotkit-dependencies branch from 0c4f241 to 17c216d Compare June 20, 2026 23:44
@renovate renovate Bot changed the title Update CopilotKit dependencies to v1.60.1 Update CopilotKit dependencies to v1.61.0 Jun 20, 2026
@renovate renovate Bot force-pushed the renovate/copilotkit-dependencies branch from 17c216d to 412259c Compare June 24, 2026 11:51
@renovate renovate Bot changed the title Update CopilotKit dependencies to v1.61.0 Update CopilotKit dependencies to v1.61.1 Jun 24, 2026
@renovate renovate Bot force-pushed the renovate/copilotkit-dependencies branch from 412259c to a4d5557 Compare June 27, 2026 07:47
@renovate renovate Bot changed the title Update CopilotKit dependencies to v1.61.1 Update CopilotKit dependencies to v1.61.2 Jun 27, 2026
@renovate renovate Bot force-pushed the renovate/copilotkit-dependencies branch from a4d5557 to b267b5e Compare July 4, 2026 04:16
@renovate renovate Bot changed the title Update CopilotKit dependencies to v1.61.2 Update CopilotKit dependencies to v1.62.2 Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants