Skip to content

Update CopilotKit dependencies to v1.59.1#16

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

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

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate Bot commented May 26, 2026

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

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

Release Notes

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

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

v1.56.5

Compare Source

v1.56.4

Compare Source

v1.56.3

Compare Source

v1.56.2

Compare Source

Release v1.56.2

v1.56.1

Compare Source

Release v1.56.1

v1.56.0

Compare Source

Release v1.56.0

v1.55.3

Release v1.55.3

v1.54.0

Compare Source

@​copilotkit/react-core
1.54.0
Minor Changes
  • fa0d1cd: Add support for Standard Schema (instead of just Zod)
Patch Changes
@​copilotkit/react-ui
1.54.0
Patch Changes
@​copilotkit/sdk-js
1.54.0
Patch Changes
@​copilotkit/react-textarea
1.54.0
Patch Changes
@​copilotkit/runtime
1.54.0
Minor Changes
  • fa0d1cd: Add support for Standard Schema (instead of just Zod)
Patch Changes
@​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
@​copilotkit/react-ui
1.54.0
Patch Changes
@​copilotkit/sdk-js
1.54.0
Patch Changes
@​copilotkit/react-textarea
1.54.0
Patch Changes
@​copilotkit/runtime
1.54.0
Minor Changes
  • fa0d1cd: Add support for Standard Schema (instead of just Zod)
Patch Changes
@​copilotkit/runtime-client-gql
1.54.0
Patch Changes
@​copilotkit/shared
1.54.0

v1.53.0

Compare Source

@​copilotkit/react-core
1.53.0
Patch Changes
@​copilotkit/react-ui
1.53.0
Patch Changes
@​copilotkit/sdk-js
1.53.0
Patch Changes
@​copilotkit/react-textarea
1.53.0
Patch Changes
@​copilotkit/runtime
1.53.0
Minor Changes
  • f822c05: Updating the path and devex for mcp apps
Patch Changes
@​copilotkit/runtime-client-gql
1.53.0
Patch Changes
@​copilotkit/shared
1.53.0
Patch Changes
  • 1510f64: feat: enable mcp and a2ui middleware directly from copilotkit runtime
  • bf1fc6f: fix: convertJsonSchemaToZodSchema drops enum constraints
@​copilotkit/react-core
1.53.0
Patch Changes
@​copilotkit/react-ui
1.53.0
Patch Changes
@​copilotkit/sdk-js
1.53.0
Patch Changes
@​copilotkit/react-textarea
1.53.0
Patch Changes
@​copilotkit/runtime
1.53.0
Minor Changes
  • f822c05: Updating the path and devex for mcp apps
Patch Changes
@​copilotkit/runtime-client-gql
1.53.0
Patch Changes
@​copilotkit/shared
1.53.0
Patch Changes
  • 1510f64: feat: enable mcp and a2ui middleware directly from copilotkit runtime
  • bf1fc6f: fix: convertJsonSchemaToZodSchema drops enum constraints

v1.52.1

Compare Source

@​copilotkit/react-core
1.52.1
Patch Changes
@​copilotkit/react-ui
1.52.1
Patch Changes
@​copilotkit/sdk-js
1.52.1
Patch Changes
@​copilotkit/react-textarea
1.52.1
Patch Changes
@​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
@​copilotkit/react-ui
1.52.1
Patch Changes
@​copilotkit/sdk-js
1.52.1
Patch Changes
@​copilotkit/react-textarea
1.52.1
Patch Changes
@​copilotkit/runtime
1.52.1
Patch Changes
@​copilotkit/runtime-client-gql
1.52.1
Patch Changes
@​copilotkit/shared
1.52.1

v1.52.0

Compare 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:

useComponent

Register custom UI components that render directly inside the chat context. Clean, composable, and framework-aligned.

import { useComponent } from "@​copilotkitnext/react";

useComponent({
  name: "WeatherCard",
  render: ({ data }) => (
    <div className="weather-card">
      <h3>{data.city}</h3>
      <p>{data.temp}°F — {data.conditions}</p>
    </div>
  ),
});
useRenderTool

Wire up a named tool call renderer with full Zod-typed args and lifecycle-aware render props (in-progressexecutingcomplete). You get type safety and granular control over how each tool call looks to the user.

import { useRenderTool } from "@&#8203;copilotkitnext/react";
import { z } from "zod";

useRenderTool({
  name: "lookupOrder",
  args: z.object({ orderId: z.string() }),
  render: ({ args, status, result }) => {
    if (status === "in-progress") return <Spinner text={`Looking up #${args.orderId}...`} />;
    if (status === "executing") return <Spinner text="Fetching details..." />;
    return <OrderCard order={JSON.parse(result)} />;
  },
});
useDefaultRenderTool

The 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.

import { useDefaultRenderTool } from "@&#8203;copilotkitnext/react";

useDefaultRenderTool({
  render: ({ name, status }) => (
    <div className="tool-call">
      <span>{status === "complete" ? "✓" : "⏳"}</span>
      <span>Running <code>{name}</code>...</span>
    </div>
  ),
});
useInterrupt

A 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.
  • agentId scoping — Target interrupts from a specific agent only.
import { useInterrupt } from "@&#8203;copilotkitnext/react";

useInterrupt({
  render: ({ event, resolve }) => (
    <div className="confirm-dialog">
      <p>Agent wants to: {event.value.action}</p>
      <button onClick={() => resolve({ approved: true })}>Approve</button>
      <button onClick={() => resolve({ approved: false })}>Deny</button>
    </div>
  ),
  enabled: ({ agentName }) => agentName === "research-agent",
});

Under the hood, the existing useLangGraphInterrupt v1 hook now delegates to useInterrupt, converting v2 InterruptEvent objects to the legacy shape so nothing breaks.

All four hooks are exported from packages/v2/react alongside the existing v2 hooks (useFrontendTool, useAgent, useAgentContext, etc.).


New Features
available Prop on useFrontendTool()

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 cpk prefix on all internal utility classes via extendTailwindMerge({ 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
  • Zero breaking changes. All v1 APIs stay fully backward compatible.
  • If CopilotKit was messing with your Tailwind styles, the new cpk prefix should fix that automatically.
  • Want the new v2 hooks? Import from @copilotkit/react-core/v2 instead of @copilotkit/react-core.

v1.51.4

Compare Source

@​copilotkit/react-core
1.51.4
Patch Changes
@​copilotkit/react-ui
1.51.4
Patch Changes
@​copilotkit/sdk-js
1.51.4
Patch Changes
@​copilotkit/react-textarea
1.51.4
Patch Changes
@​copilotkit/runtime
1.51.4
Patch Changes
@​copilotkit/runtime-client-gql
1.51.4
Patch Changes
@​copilotkit/shared
1.51.4
@​copilotkit/react-core
1.51.4
Patch Changes
@​copilotkit/react-ui
1.51.4
Patch Changes
@​copilotkit/sdk-js
1.51.4
Patch Changes
@​copilotkit/react-textarea
1.51.4
Patch Changes
@​copilotkit/runtime
1.51.4
Patch Changes
@​copilotkit/runtime-client-gql
1.51.4
Patch Changes
@​copilotkit/shared
1.51.4

v1.51.3

Compare 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
@​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
@​copilotkit/runtime-client-gql
1.8.2
Patch Changes
@​copilotkit/shared
1.8.2

v1.51.2

Compare Source

@​copilotkit and @​copilotkitnext dependencies moved from peer dependencies to dependencies

v1.51.1

Add support for MCP Apps Middleware

v1.50.1

Compare Source

@​copilotkit/react-core
1.50.1
Patch Changes
@​copilotkit/react-ui
1.50.1
Patch Changes
@​copilotkit/sdk-js
1.50.1
Patch Changes
@​copilotkit/react-textarea
1.50.1
Patch Changes
@​copilotkit/runtime
1.50.1
Patch Changes
@​copilotkit/runtime-client-gql
1.50.1
Patch Changes
@​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:/

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
Copy link
Copy Markdown

vercel Bot commented May 26, 2026

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

Project Deployment Actions Updated (UTC)
open-multi-agent-canvas Error Error May 30, 2026 12:06pm

Request Review

@renovate renovate Bot force-pushed the renovate/copilotkit-dependencies branch from 374ecca to afa70d6 Compare May 30, 2026 12:04
@renovate renovate Bot changed the title Update CopilotKit dependencies to v1.58.0 Update CopilotKit dependencies to v1.59.1 May 30, 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