v1.61.2
CopilotKit v1.61.2
A patch release on the 1.61 line. Headline: the v2 thread store gains unarchiveThread across @copilotkit/core and @copilotkit/react-core (#5624), and useInterrupt + BuiltInAgent now support AG-UI standard interrupts (#5480).
Install
npm install @copilotkit/react-core@1.61.2 @copilotkit/react-ui@1.61.2 @copilotkit/runtime@1.61.2Features
@copilotkit/core+@copilotkit/react-core:unarchiveThread— the v2 thread store and theuseThreadshook can now un-archive a thread, completing the archive/unarchive round trip. (#5624)- AG-UI standard interrupt support in
useInterrupt+ BuiltInAgent — interrupts now follow the AG-UI standard interrupt contract, souseInterruptand BuiltInAgent handle native interrupts consistently. (#5480) @copilotkit/a2ui-renderer: catalog-on-provider auto-enables A2UI — passing a catalog to the provider now auto-enables A2UI and injects the A2UI tool, removing a manual wiring step. (#5611)
Fixes
@copilotkit/core: preserve agent-level headers — agent-level headers are merged instead of being overwritten by connection defaults. (#5635, #5637)@copilotkit/react-core: resolve interrupt typecheck failures — the interrupt types now check cleanly, unblockingcheck-typesfor consumers on the interrupt surface.@copilotkit/runtime: fail loud on a malformed approval request — a malformed approval request now raises a clear error instead of failing silently.@copilotkit/web-inspector: read the telemetry package version from metadata — the inspector reads its telemetry package version from package metadata, so the reported version stays accurate.
Dependencies
@ag-ui/*unchanged from1.61.1—@ag-ui/langgraphat0.0.42,@ag-ui/a2ui-middlewareat0.0.10,@ag-ui/core/@ag-ui/client/@ag-ui/encoderat0.0.57.@copilotkit/license-verifierstays at~0.5.0.
Packages republished at 1.61.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.