Update CopilotKit dependencies to v1.62.2#35
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
89c30f1 to
078dfdb
Compare
078dfdb to
e5657f4
Compare
e5657f4 to
3d66035
Compare
3d66035 to
0c4f241
Compare
0c4f241 to
17c216d
Compare
17c216d to
412259c
Compare
412259c to
a4d5557
Compare
a4d5557 to
b267b5e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.6.0→1.62.21.6.0→1.62.21.6.0→1.62.2Release Notes
CopilotKit/CopilotKit (@copilotkit/react-core)
v1.62.2Compare Source
v1.62.1Compare Source
v1.62.0Compare Source
v1.61.2Compare Source
v1.61.1Compare Source
v1.61.0Compare Source
v1.60.2Compare Source
CopilotKit v1.60.2
A patch release on the
1.60line. Headline: a sweep of@copilotkit/react-corechat-surface stability fixes — pin-to-send scrolling, scoped Streamdown markdown styles, thread-header refresh on provider updates, an awaiteduseInterruptresolve, and dark-mode default tool rendering — landing alongside agent-native Slack APIs (assistant pane + native streaming, default-on) in@copilotkit/bot-slack0.0.2(#5447). This cut also adds a runtime A2UI opt-out predicate (#5385), fixes Angular OnPush rendering onaddMessage(#5418), and rides@ag-ui/*0.0.57.Install
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 sharedisA2UIEnabledpredicate 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: awaitrunAgentinuseInterrupt::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 onaddMessage— 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 at0.0.57— no version change from1.60.1;@ag-ui/core/@ag-ui/client/@ag-ui/encoderat0.0.57,@ag-ui/langgraphat0.0.41,@ag-ui/a2ui-middlewareat0.0.8.Docs
@copilotkit/react-nativereference docs (#5397), and Built-in Agent docs served at the docs root (#5404).CI / release
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/botand@copilotkit/bot-slackrepublished at0.0.2.v1.60.1Compare Source
CopilotKit v1.60.1
A patch release on the
1.60line. It bumps@ag-ui/*to0.0.57— picking up the@ag-ui/clienttransport fetch fix and adapting@copilotkit/bot-slackto the newrunHttpRequestsignature (#5408) — alongside internal test-infrastructure and example hardening.Install
Dependencies
@ag-ui/*bumped to0.0.57—@ag-ui/core,@ag-ui/client,@ag-ui/encoder0.0.56 → 0.0.57across packages, picking up the@ag-ui/clienttransport fetch fix;@ag-ui/langgraphat0.0.41,@ag-ui/a2ui-middlewareat0.0.8.@copilotkit/bot-slackadapts itsrunHttpRequestcall to the0.0.57fetch-thunk signature. (#5408)Docs
useAgentetc.). (#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.0Compare Source
CopilotKit v1.60.0
A minor release on the
1.60line. Headline: the new@copilotkit/botfamily — a platform-agnostic bot engine, a cross-platform JSX UI runtime, and a Slack platform adapter (#5274) — debuts alongside the AG-UIA2UIToolParamssingle-arg API on@ag-ui0.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
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:createBotwithonMention/onMessage/onInterrupt/onCommandhandler registration, the agent run/tool/interrupt loop, content-stable JSX action binding with cold-path rehydration from a pluggableActionStore, thePlatformAdapterboundary, capability-gated thread methods, a sharedBotToolContext,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.updatestreaming with chunking, accent attachments, and sender-profile resolution. Bolt initialization is deferred tostart().examples/slack— issue/page cards, tables, Chart.js charts, Mermaid diagrams, aconfirm_writeHITL gate, and/agent+/triageslash commands. (#5274)Features
A2UIToolParamsAPI —getA2UITools/get_a2ui_toolsin the LangGraph middlewares now take oneA2UIToolParamsobject (model inside), withcomposition_guidefolded into theguidelinesbag. 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 resolveduserId(andagentIdon 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 CSSd:property. Geometry moved to the SVGdattribute, replaced the Chrome-only path-morph with two overlaid static shapes (a fading spinning arc + a self-drawing checkmark), and rotated the arc viatransform-box: fill-box; transform-origin: centerso it renders instantly and on-center in every engine. (#5316)@copilotkit/core: adapt to@ag-ui/client0.0.56'srunHttpRequest—0.0.56changedrunHttpRequestfrom(url, requestInit)to a fetch-thunk signature (() => Promise<Response>). The single-route and connect transport paths inProxiedCopilotRuntimeAgentnow wrap the request as() => this.fetch(url, init), restoring the envelope transports;@ag-ui/*added tominimum-release-age-excludeso the fresh publish installs in CI. (#5344)@copilotkit/shared/a2ui-renderer: repaircheck-typesrot — define license context types locally (drop the deadLicenseModeredefinition), remove dead 0.8-era a2ui-renderer viewer files, and resolve Angular workspace paths todistfirst in typecheck. (#5356)@copilotkit/web-inspector: Node 25 compatibility — shimlocalStoragein 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/angularversion line (not part of the 1.60.0 republish). (#5342)Dependencies
@ag-ui/*bumped to0.0.56—@ag-ui/core,@ag-ui/client,@ag-ui/encoder0.0.53 → 0.0.56across all packages;@ag-ui/langgraphat0.0.41,@ag-ui/a2ui-middlewareat0.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.5Compare Source
v1.59.4Compare Source
v1.59.3Compare Source
v1.59.2Compare Source
v1.59.1Compare Source
v1.59.0Compare Source
v1.58.0Compare Source
v1.57.4Compare Source
v1.57.3Compare Source
v1.57.2Compare Source
v1.57.1Compare Source
v1.57.0Compare Source
CopilotKit v1.57.0
A minor release on the
1.57line. The headline is a new Threads tab in the web inspector — backed by a thread-store registry in@copilotkit/core, auseThreadshook, and per-thread inspection endpoints in the runtime — plusregisterProxiedAgentfor mounting frontend tools/context against a server-defined agent,IntelligenceIndicatorauto-mount, andrequiresUserfor OAuth-gated MCP HTTP servers.Install
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 (lastSTATE_SNAPSHOTpayload), and AG-UI Events (full event stream with payload highlighting). Backed by:ThreadStoreRegistryin@copilotkit/core(keyed byagentId) and a newonAgentRunStartedsubscriber event so the inspector subscribes beforeagent.runAgent()snapshots the subscriber list.useThreadshook in@copilotkit/react-corethat fetches threads and subscribes to a Phoenix WebSocket channel for real-time metadata.GET /threads/:id/eventsandGET /threads/:id/state, plus list/update/archive/delete handlers, wired through bothInMemoryAgentRunnerand the Intelligence platform's_inspect/threads/:id/{events,state}endpoints.getThreadState()walks per-run compacted events and returns the latestSTATE_SNAPSHOTpayload.identifyUser(request);userIdin the request body is ignored.display:noneso 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).
registerProxiedAgentin@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 });IntelligenceIndicatorauto-mounts in@copilotkit/react-core— When intelligence is configured on the<CopilotKit>provider, the indicator now mounts automatically. No manual placement required. ([678d143b](678d143))requiresUserflag onMCPClientConfigHTTP— The runtime now accepts arequiresUserflag for HTTP MCP clients, signaling that the tool requires an authenticated end user (OAuth flow). Pairs with per-call MCP HTTP header resolution onBuiltInAgent, so headers can be derived per request rather than baked into the client config. ([8a2e6bd3](8a2e6bd), [5ee569e0](5ee569e))Core fixes (
@copilotkit/core)ThreadStoreRegistryhardening — guard auto-unregister against the initial empty-agents seed; forwardprevStoreon unregister and freezegetAll()snapshots; tighten notify ordering so subscribers don't observe partial state during register/unregister. InternalɵMAX_SOCKET_RETRIESis now exported for tests. ([bd9fe016](bd9fe01), [9b7c0517](9b7c051), [f5787e0b](f5787e0), [9fdfe23b](9fdfe23))React fixes (
@copilotkit/react-core)4c41270))copilotkit.headersfromuseEffectdeps — prevents needless re-runs when the reference is stable. ([cdffd840](cdffd84))Inspector fixes (
@copilotkit/web-inspector)escapeHtmlinto a module-level helper. ([#4639](#4639))e05c5ef))role: toolresult message. The inspector now derivesDONEfrom parsed-args presence so they no longer appear stuck inIN_PROGRESS. ([ce004920](ce00492))762eb79))94305c0), [09970072](0997007))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.5Compare Source
CopilotKit v1.56.5
A patch release on the
1.56line. 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
Features
@copilotkit/sdk-js—createCopilotkitMiddlewarenow exposes anExposeStateOption(boolean | readonly string[]) that injects selected graph state into the CopilotKit middleware. (#4354)Runtime fixes (
@copilotkit/runtime)RUN_FINISHED. The TanStackchat()engine runs a multi-turn agent loop and callsprocessToolCalls()on frontend-only tools, which produced an unmatchedTOOL_CALL_ENDand tripped the AG-UI verify middleware. (#4476)rawContent ?? raw.resultso state-tool results are recognised even when only the legacy field is populated. (a48e9a17)REASONING_END, and reopen cleanly when a newREASONING_STARTarrives. (18f6c1e2)REASONINGmessage-open and run-open state separately to avoid duplicateREASONING_MESSAGE_ENDevents. (7bcd2f81)streamSubgraphstotruein the agent wrapper.@ag-ui/langgraph0.0.31+ flipped the default toundefined, breaking subagent streaming; this restores the previous behaviour while preserving any explicit caller override via nullish coalescing. (#4446){*splat}syntax for path-to-regexp v8, so the runtime works across Express 4, 4.20+, and 5. (#4447)SDK fixes (
@copilotkit/sdk-js)output_schema— adds azodStatehelper that attaches a~standard.jsonSchema.inputhook to Standard-Schema-compatible schemas. Without it, Zod v4 fields carry only~standard.validate+vendor, so LangGraph'sisStandardJSONSchema()returned false andgetJsonSchemaFromSchemasilently dropped fields from the graph'soutput_schema, which then filtered them out ofSTATE_SNAPSHOTevents. (#4358)React fixes (
@copilotkit/react-core,@copilotkit/react-ui)available: "always"now render on the welcome screen when aruntimeUrlis configured, instead of being hidden until the first message. (#4462)Dependency hygiene
@ag-ui/*packages to0.0.53. (#4477)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 redundantprepackscript that was breaking canary publishes withENOENT. (#4467)Monorepo
@copilotkit/vscode-extensionpackage has been removed from this monorepo and migrated to its own repository at CopilotKit/vscode-extension. (#4335)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.4Compare Source
CopilotKit v1.56.4
A patch release on the
1.56line. No breaking API changes — adds aCopilotKitStateSchemahelper 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
Features
CopilotKitStateSchemafor LangGraph StateSchema API —@copilotkit/sdk-jsnow exposes aCopilotKitStateSchemahelper that wraps Standard Schema-compatible schemas for use with LangGraph'sStateSchemaAPI, exporting through both the public root and thelanggraphsubpath. (#4272)React fixes (
@copilotkit/react-core)Runtime fixes (
@copilotkit/runtime)Shared fixes (
@copilotkit/shared)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.3Compare Source
CopilotKit v1.56.3
A patch release on the
1.56line. Restores the welcome screen for wrappers that pre-generate thread UUIDs, drops a stray A2UI theme background, and recoversmainCI after recent infrastructure changes.Install
React fixes (
@copilotkit/react-core)Build / packaging
a2ui-themebackground 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.2Compare Source
CopilotKit v1.56.2
A hygiene release on the
1.56line. Removes a leftover peer dependency that was generating install warnings for users not on LangChain.Install
SDK fixes (
@copilotkit/sdk-js)@langchain/communitypeer dependency —@langchain/communitywas a leftover peer dep that nothing inside@copilotkit/sdk-jsactually used, but it still generated install warnings for anyone not on LangChain. Dropped. If you've been installing@langchain/communityonly 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.1Compare Source
CopilotKit v1.56.1
A patch release on the
1.56line. 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
Adapter fixes (
@copilotkit/runtime)max_tokensdefault bumped 1024 → 4096 — the old default was short enough that longer completions were getting truncated without warning. (#3785)tool_useblocks — no more crash when Anthropic emitscontent_block_deltafor atool_usethe adapter hasn't seen. (#3824, closes #2504)tool_resultpaired withtool_useafter token trimming — token trimming no longer orphanstool_resultmessages. (#3820, closes #2450)maxInputTokenson OpenAI and Anthropic adapters — cap input tokens explicitly per request. (#3823, closes #2405)TOOL_CALL_RESULTarray-content normalization — array-shaped tool results are now normalized into strings the runtime can emit. (#3832)txt-0were colliding; the adapter now emits proper UUIDs. (#3800, closes #3410, #3623)React fixes (
@copilotkit/react-core,@copilotkit/react-ui)CopilotModalandCopilotModalProps— public components without a public export, now corrected. (#3817, closes #2194)ButtonusesforwardReffor Radix interop — no more ref warnings when composing with RadixDropdownMenuTrigger. (#3830)CopilotChatInput— no more accidental sends mid-composition for CJK/IME input. (#3835)onChange("")fires after submit in controlled mode. (#3836)available: "disabled"tools excluded frombuildFrontendTools— disabled tools are no longer announced to the model. (#3793, closes #3020)AssistantMessage—onThumbsUp/onThumbsDownnow pass the message instead of aSyntheticEvent. (#3796, closes #3457)urlTransformforwards toReactMarkdown— the prop was being dropped silently. (#3845)97%replaced with100%. (#3786)Runtime + agent fixes (
@copilotkit/runtime,@copilotkit/react-core)Requestfor Hono polyfill compat —instanceofwas brittle under Hono's polyfilledRequest; the runtime now type-sniffs instead. (#3790)sendFunctioninusePushToTalk— push-to-talk no longer assumes a non-void return. (#3783)useRenderCustomMessagesreturnsnullwhen agent missing — used to throw; now safely no-ops. (#3797, closes #3497)CopilotListenersguards empty agents map — stopsuseAgentthrowing on initial boot. (#3798, closes #3249)showDevConsole={false}— fewer requests when the dev console is disabled. (#3827)toolCallIdpassed touseRenderToolrender components — render functions now receive the tool call ID. (#3843)hookParamspassed toonAfterRequest— the callback was receiving an empty object. Now receives the actual hook params. (#3801, closes #2124)mediaType+ mic tracks released on stop — mic tracks no longer linger after a recording ends. (#3811, closes #2049, #2050)Build / packaging
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.0Compare Source
CopilotKit v1.56.0
A minor release on the
1.56line. The headline is debug mode — a singledebugflag 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
Features
Debug mode for runtime and client — a single
debugflag onCopilotRuntimeand the<CopilotKit>provider, with structured logging across the SSE event pipeline. Defaults toverbose: falseto prevent accidental PII exposure in logs. SharedDebugConfigtype andresolveDebugConfighelper live in@copilotkit/shared. Changes apply at runtime; toggling the flag does not require a remount. (#3562)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)@ag-ui/langgraphpackages — runtime and examples now pull the latest@ag-ui/langgraphpackages, picking up upstream fixes. No API change. (#3932)Build / packaging
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.3CopilotKit v1.55.3
A consolidation release on the
1.55line, rolling up everything that landed in1.55.0,1.55.1, and1.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/v2subpath.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,
BuiltInAgentfactory mode, and a long list of fixes to streaming, reasoning, layout, and re-render behavior.Install
Features
@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/v2subpath. The@copilotkitnext/*scope was deprecated in 1.54 and is removed here.@copilotkit/runtimenow accepts multimodal attachments (images, files, anything non-text) and passes them through to the model with content types preserved. (#3604)@copilotkit/runtimeexposes a fetch-based handler alongside the Node/Hono integrations, plus a consistency pass on public function names. Targets Cloudflare Workers, Vercel Edge, and other Webfetchruntimes. (#3550)BuiltInAgentfactory 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)@copilotkit/coreand@copilotkit/react-corenow detect REST vs. single-endpoint transport from the runtime and adapt automatically. (#3601)@copilotkit/runtimeso callers no longer have to reach into@ag-ui/*to wire it up. (#3473)mcpClientsconfiguration — pass your own MCP client configuration to the runtime to control how tool providers connect and reuse. (#3493)Runtime fixes (
@copilotkit/runtime)@ag-ui/coreschema), auto-close reasoning when the SDK omitsreasoning-end(covers consecutive-start, phase changes, aborts, errors, and fallback paths), makereasoning-endidempotent, regeneratereasoningMessageIdbetween consecutive reasoning blocks, and close reasoning in the outer catch block. (#3526)RunHandler.runAgent()had a race that could drop runs invoked in quick succession. Closed. (#3514)null, orundefinedargument 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)React fixes (
@copilotkit/react-core,@copilotkit/react-ui)messageViewandlabelsprops stabilized —CopilotChatwas re-rendering the entire message list on every keystroke because prop identity was shifting. Replaced withuseShallowStableRefto keep references stable. (#3646)CopilotChatinstances no longer share state acrossthreadIds — two chats mounted at different threads were sharing message state. Per-thread agent instances are now isolated. (#3525)CopilotSidebarno longer adds empty space below the page content. (#3759)CopilotMessageschildren — suppresses the "unique key prop" warning React was emitting.defaultOpen={false}respected inCopilotSidebarandCopilotPopup— 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/reactto the@copilotkit/react-core/v2subpath:Other
@copilotkitnext/*paConfiguration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.