Update CopilotKit dependencies to v1.59.1#16
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
374ecca to
afa70d6
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.5.18→1.59.11.5.18→1.59.1Release Notes
CopilotKit/CopilotKit (@copilotkit/react-core)
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
v1.56.5Compare Source
v1.56.4Compare Source
v1.56.3Compare Source
v1.56.2Compare Source
Release v1.56.2
v1.56.1Compare Source
Release v1.56.1
v1.56.0Compare Source
Release v1.56.0
v1.55.3Release v1.55.3
v1.54.0Compare Source
@copilotkit/react-core
1.54.0
Minor Changes
fa0d1cd: Add support for Standard Schema (instead of just Zod)Patch Changes
c80498e: feat(core): add copilotkit.runTool() for programmatic tool executionaf11b1e: Fixed hook render registrations lost under React Strict Mode.eb1e0bf]3780c6a]6e0cddf]fa0d1cd]c80498e]d746e4f]f1571ef]@copilotkit/react-ui
1.54.0
Patch Changes
fa0d1cd]c80498e]af11b1e]@copilotkit/sdk-js
1.54.0
Patch Changes
@copilotkit/react-textarea
1.54.0
Patch Changes
40c22a0: fix: restore focus to textarea when hitting Escape in CMD+K popupfa0d1cd]c80498e]af11b1e]@copilotkit/runtime
1.54.0
Minor Changes
fa0d1cd: Add support for Standard Schema (instead of just Zod)Patch Changes
3780c6a]fa0d1cd]@copilotkit/runtime-client-gql
1.54.0
Patch Changes
@copilotkit/shared
1.54.0
@copilotkit/react-core
1.54.0
Minor Changes
fa0d1cd: Add support for Standard Schema (instead of just Zod)Patch Changes
c80498e: feat(core): add copilotkit.runTool() for programmatic tool executionaf11b1e: Fixed hook render registrations lost under React Strict Mode.eb1e0bf]3780c6a]6e0cddf]fa0d1cd]c80498e]d746e4f]f1571ef]@copilotkit/react-ui
1.54.0
Patch Changes
fa0d1cd]c80498e]af11b1e]@copilotkit/sdk-js
1.54.0
Patch Changes
@copilotkit/react-textarea
1.54.0
Patch Changes
40c22a0: fix: restore focus to textarea when hitting Escape in CMD+K popupfa0d1cd]c80498e]af11b1e]@copilotkit/runtime
1.54.0
Minor Changes
fa0d1cd: Add support for Standard Schema (instead of just Zod)Patch Changes
3780c6a]fa0d1cd]@copilotkit/runtime-client-gql
1.54.0
Patch Changes
@copilotkit/shared
1.54.0
v1.53.0Compare Source
@copilotkit/react-core
1.53.0
Patch Changes
1510f64: feat: enable mcp and a2ui middleware directly from copilotkit runtimef1eaa4c: Fixing a regression with setModalOpenac31331: - Prevents error propagating out of CPK when an agent runtime is defined but not reachable1510f64]bf1fc6f]@copilotkit/react-ui
1.53.0
Patch Changes
1510f64]f1eaa4c]bf1fc6f]ac31331]@copilotkit/sdk-js
1.53.0
Patch Changes
1510f64]bf1fc6f]@copilotkit/react-textarea
1.53.0
Patch Changes
1510f64]f1eaa4c]bf1fc6f]ac31331]@copilotkit/runtime
1.53.0
Minor Changes
f822c05: Updating the path and devex for mcp appsPatch Changes
d1f7aba: feat(runtime): expose messages in afterRequestMiddleware1510f64: feat: enable mcp and a2ui middleware directly from copilotkit runtime8e0f94f: Bump AI SDK from v5 to v6501e8d7: surpress sse warning in middleware callback1510f64]bf1fc6f]@copilotkit/runtime-client-gql
1.53.0
Patch Changes
1510f64]bf1fc6f]@copilotkit/shared
1.53.0
Patch Changes
1510f64: feat: enable mcp and a2ui middleware directly from copilotkit runtimebf1fc6f: fix:convertJsonSchemaToZodSchemadrops enum constraints@copilotkit/react-core
1.53.0
Patch Changes
1510f64: feat: enable mcp and a2ui middleware directly from copilotkit runtimef1eaa4c: Fixing a regression with setModalOpenac31331: - Prevents error propagating out of CPK when an agent runtime is defined but not reachable1510f64]bf1fc6f]@copilotkit/react-ui
1.53.0
Patch Changes
1510f64]f1eaa4c]bf1fc6f]ac31331]@copilotkit/sdk-js
1.53.0
Patch Changes
1510f64]bf1fc6f]@copilotkit/react-textarea
1.53.0
Patch Changes
1510f64]f1eaa4c]bf1fc6f]ac31331]@copilotkit/runtime
1.53.0
Minor Changes
f822c05: Updating the path and devex for mcp appsPatch Changes
d1f7aba: feat(runtime): expose messages in afterRequestMiddleware1510f64: feat: enable mcp and a2ui middleware directly from copilotkit runtime8e0f94f: Bump AI SDK from v5 to v6501e8d7: surpress sse warning in middleware callback1510f64]bf1fc6f]@copilotkit/runtime-client-gql
1.53.0
Patch Changes
1510f64]bf1fc6f]@copilotkit/shared
1.53.0
Patch Changes
1510f64: feat: enable mcp and a2ui middleware directly from copilotkit runtimebf1fc6f: fix:convertJsonSchemaToZodSchemadrops enum constraintsv1.52.1Compare Source
@copilotkit/react-core
1.52.1
Patch Changes
b555ac4: fix(react-core): allow overriding useSingleEndpoint in CopilotKit providerThe V1
<CopilotKit>provider previously hardcodeduseSingleEndpoint={true}when wrapping the V2 provider, preventing users from opting into REST transport mode. The prop is now passed through from user config, defaulting totrueto preserve backward compatibility.Updated dependencies [
bbdf67d]@copilotkit/react-ui
1.52.1
Patch Changes
bbdf67d: fix(css): address imcompat with CJSb555ac4]@copilotkit/sdk-js
1.52.1
Patch Changes
@copilotkit/react-textarea
1.52.1
Patch Changes
bbdf67d: fix(css): address imcompat with CJSb555ac4]@copilotkit/runtime
1.52.1
Patch Changes
@copilotkit/runtime-client-gql
1.52.1
Patch Changes
@copilotkit/shared
1.52.1
@copilotkit/react-core
1.52.1
Patch Changes
b555ac4: fix(react-core): allow overriding useSingleEndpoint in CopilotKit providerThe V1
<CopilotKit>provider previously hardcodeduseSingleEndpoint={true}when wrapping the V2 provider, preventing users from opting into REST transport mode. The prop is now passed through from user config, defaulting totrueto preserve backward compatibility.Updated dependencies [
bbdf67d]@copilotkit/react-ui
1.52.1
Patch Changes
bbdf67d: fix(css): address imcompat with CJSb555ac4]@copilotkit/sdk-js
1.52.1
Patch Changes
@copilotkit/react-textarea
1.52.1
Patch Changes
bbdf67d: fix(css): address imcompat with CJSb555ac4]@copilotkit/runtime
1.52.1
Patch Changes
@copilotkit/runtime-client-gql
1.52.1
Patch Changes
@copilotkit/shared
1.52.1
v1.52.0Compare Source
v1.52.0 drops a fresh batch of v2 hooks, brings first-class interrupt handling, adds reasoning message rendering, and squashes the Tailwind style-leak bug that's been messing with host apps. Seven packages updated, zero breaking changes. Let's get into it.
New Hooks
This release adds four new hooks to the v2 API surface in
@copilotkit/react-core/v2:useComponentRegister custom UI components that render directly inside the chat context. Clean, composable, and framework-aligned.
useRenderToolWire up a named tool call renderer with full Zod-typed args and lifecycle-aware render props (
in-progress→executing→complete). You get type safety and granular control over how each tool call looks to the user.useDefaultRenderToolThe wildcard (
*) catch-all. Any tool call that doesn't have its own renderer falls through to this one — great for building default loading states or generic tool UIs without registering every single tool name.useInterruptA clean way to handle interrupt events on the frontend. Supports:
render— Show custom UI when an interrupt fires (confirmation dialogs, approval forms, you name it).handler— Handle interrupts programmatically, no UI needed.enabled— Conditionally filter which interrupts to respond to, with access to agent metadata.agentIdscoping — Target interrupts from a specific agent only.Under the hood, the existing
useLangGraphInterruptv1 hook now delegates touseInterrupt, converting v2InterruptEventobjects to the legacy shape so nothing breaks.All four hooks are exported from
packages/v2/reactalongside the existing v2 hooks (useFrontendTool,useAgent,useAgentContext, etc.).New Features
availableProp onuseFrontendTool()You can now pass
available: "enabled" | "disabled"to dynamically show or hide a tool from the LLM without unmounting the hook. Perfect for multi-step workflows where certain actions should only surface at the right moment.Reasoning Message Support
The chat UI now renders model reasoning/thinking steps out of the box with new default components. Ships with both React and Angular support — no extra setup required.
Bug Fixes
Tailwind Style Scoping
The big one. CopilotKit's Tailwind classes were leaking into host applications and stomping on your styles. This release introduces a
cpkprefix on all internal utility classes viaextendTailwindMerge({ prefix: "cpk" }). Your app's Tailwind config stays clean, CopilotKit stays in its lane.Style Generation Pipeline
Additional fixes to the CSS generation pipeline ensure proper isolation — CopilotKit styles no longer interfere with existing application styling, period.
Under the Hood
v1 → v2 Bridge
All the v1 hooks (
useFrontendTool,useRenderToolCall,useLangGraphInterrupt) are now thin compatibility wrappers around the v2 implementations. Your existing code keeps working exactly as before — the v2 engine is just running underneath. This sets up a smooth migration path when you're ready to adopt the new API directly.Upgrading
cpkprefix should fix that automatically.@copilotkit/react-core/v2instead of@copilotkit/react-core.v1.51.4Compare Source
@copilotkit/react-core
1.51.4
Patch Changes
6b9c60e: fix: add dependencies to fix stale state of regenerate method12ee574: v2 UI improvements9bc868d: Frontend tools integration with core in Angular packagec998f30: fix(core): prevent tool call results from leaking into wrong thread on thread switch6b7d8ef: feat(react): apply resource CSP domains to MCP Apps sandbox iframec998f30]a3090d5]@copilotkit/react-ui
1.51.4
Patch Changes
6b9c60e]12ee574]9bc868d]c998f30]6b7d8ef]@copilotkit/sdk-js
1.51.4
Patch Changes
c07362d: feat: add app context readables to prebuilt LG agent middleware@copilotkit/react-textarea
1.51.4
Patch Changes
6b9c60e]12ee574]9bc868d]c998f30]6b7d8ef]@copilotkit/runtime
1.51.4
Patch Changes
8d67519: fix: propagate agent error messages into RUN_ERROR events4886f18: fix: use langgraph clone fix on latest agui@copilotkit/runtime-client-gql
1.51.4
Patch Changes
8d67519]4886f18]@copilotkit/shared
1.51.4
@copilotkit/react-core
1.51.4
Patch Changes
6b9c60e: fix: add dependencies to fix stale state of regenerate method12ee574: v2 UI improvements9bc868d: Frontend tools integration with core in Angular packagec998f30: fix(core): prevent tool call results from leaking into wrong thread on thread switch6b7d8ef: feat(react): apply resource CSP domains to MCP Apps sandbox iframec998f30]a3090d5]@copilotkit/react-ui
1.51.4
Patch Changes
6b9c60e]12ee574]9bc868d]c998f30]6b7d8ef]@copilotkit/sdk-js
1.51.4
Patch Changes
c07362d: feat: add app context readables to prebuilt LG agent middleware@copilotkit/react-textarea
1.51.4
Patch Changes
6b9c60e]12ee574]9bc868d]c998f30]6b7d8ef]@copilotkit/runtime
1.51.4
Patch Changes
8d67519: fix: propagate agent error messages into RUN_ERROR events4886f18: fix: use langgraph clone fix on latest agui@copilotkit/runtime-client-gql
1.51.4
Patch Changes
8d67519]4886f18]@copilotkit/shared
1.51.4
v1.51.3Compare Source
@copilotkit/react-core
1.8.2
Patch Changes
@copilotkit/react-ui
1.8.2
Patch Changes
@copilotkit/sdk-js
1.8.2
Patch Changes
@copilotkit/react-textarea
1.8.2
Patch Changes
@copilotkit/runtime
1.8.2
Patch Changes
4eedf97: - fix: handle failure to fetch langgraph schema@copilotkit/runtime-client-gql
1.8.2
Patch Changes
@copilotkit/shared
1.8.2
@copilotkit/react-core
1.8.2
Patch Changes
@copilotkit/react-ui
1.8.2
Patch Changes
@copilotkit/sdk-js
1.8.2
Patch Changes
@copilotkit/react-textarea
1.8.2
Patch Changes
@copilotkit/runtime
1.8.2
Patch Changes
4eedf97: - fix: handle failure to fetch langgraph schema@copilotkit/runtime-client-gql
1.8.2
Patch Changes
@copilotkit/shared
1.8.2
v1.51.2Compare Source
@copilotkit and @copilotkitnext dependencies moved from peer dependencies to dependencies
v1.51.1Add support for MCP Apps Middleware
v1.50.1Compare Source
@copilotkit/react-core
1.50.1
Patch Changes
bdc7a8f: - fix: restore message callbacks80dffec: Updated the default model and API version for the Google GenAI adaptercfa4185: - fix: fix stale state in handlereac8b20: - fix: use latest vnext80dffec]@copilotkit/react-ui
1.50.1
Patch Changes
bdc7a8f: - fix: restore message callbacks80dffec: Updated the default model and API version for the Google GenAI adapterbdc7a8f]80dffec]cfa4185]eac8b20]@copilotkit/sdk-js
1.50.1
Patch Changes
80dffec: Updated the default model and API version for the Google GenAI adapter80dffec]@copilotkit/react-textarea
1.50.1
Patch Changes
80dffec: Updated the default model and API version for the Google GenAI adapterbdc7a8f]80dffec]cfa4185]eac8b20]@copilotkit/runtime
1.50.1
Patch Changes
80dffec: Updated the default model and API version for the Google GenAI adaptereac8b20: - fix: use latest vnext80dffec]@copilotkit/runtime-client-gql
1.50.1
Patch Changes
80dffec: Updated the default model and API version for the Google GenAI adapter80dffec]@copilotkit/shared
1.50.1
Patch Changes
80dffec: Updated the default model and API version for the Google GenAI adapter@copilotkit/react-core
1.50.1
Patch Changes
bdc7a8f](https:/Configuration
📅 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.