v1.62.2

jgraph/drawiov1.62.2Jul 2, 2026by github-actions[bot]

AI Summary

A patch release enhancing CopilotKit with multi-device thread synchronization and a dedicated Vue drawer component.

Key Highlights

  • Intelligence thread runs now sync across devices on reconnect
  • New `CopilotThreadsDrawer` component for Vue with drawer-awareness state
  • Enhanced web inspector with error and timeline detail controls

New Features

  • Multi-device Intelligence reconnect sync
  • Vue Threads Drawer (CopilotThreadsDrawer)
  • Expandable error details and timeline event toggles

Full Release Notes

# CopilotKit v1.62.2

A patch release on the `1.62` line. Headline: Intelligence thread runs now **sync across devices** on reconnect ([#5741](https://github.com/CopilotKit/CopilotKit/pull/5741)), **`@copilotkit/vue`** gets its own `CopilotThreadsDrawer` (the Threads v2 Vue vertical, [#5792](https://github.com/CopilotKit/CopilotKit/pull/5792)), and the web inspector adds richer error and timeline detail controls.

## Install

```bash
npm install @copilotkit/react-core@1.62.2 @copilotkit/react-ui@1.62.2 @copilotkit/runtime@1.62.2
```

## Features

- **`@copilotkit/vue`: `CopilotThreadsDrawer`** — the Threads v2 Vue vertical lands, wrapping the shared threads-drawer web component with active-thread configuration, a mobile launcher with drawer/modal mutual-exclusion, drawer-awareness state, clear-on-fresh-thread-switch behavior, and an expanded `useThreads` surface (`unarchive`, `refetch`, `startNewThread`, `listError`, `isMutating`, plus an `enabled` gate). It imports the drawer element lazily so `@copilotkit/vue` stays SSR-safe. ([#5792](https://github.com/CopilotKit/CopilotKit/pull/5792))
- **`@copilotkit/react-core` + `@copilotkit/core`: multi-device Intelligence reconnect sync** — native threads reconnect on run activity, and the runtime exposes Intelligence thread run-activity notifications so runs stay in sync across devices. ([#5741](https://github.com/CopilotKit/CopilotKit/pull/5741))
- **`@copilotkit/web-inspector`: error and timeline detail controls** — expandable error details, raw event detail controls, and collapsible/emphasized timeline event toggles.

## Fixes

- **Threads Drawer: cold-load and dialog stacking** — the delete-confirm dialog now stays above the chat input, and a stuck "Loading threads…" state on cold load is resolved. ([#5806](https://github.com/CopilotKit/CopilotKit/pull/5806))
- **`@copilotkit/core`: harden Intelligence reconnect** — reconnect cursors are hardened and coalesced across multi-device and opaque-thread cases, streaming is stabilized, the idle reconnect fallback is gated by cursor, and duplicate wake reconnects are suppressed.
- **`@copilotkit/react-ui` docs: attachments prop** — the `attachments` prop examples now clarify that all modalities are supported.

## Dependencies

- **`@ag-ui/*` unchanged from `1.62.1`** — `@ag-ui/langgraph` at `0.0.42`, `@ag-ui/a2ui-middleware` at `0.0.10`, `@ag-ui/core` / `@ag-ui/client` / `@ag-ui/encoder` at `0.0.57`.
- **`@copilotkit/license-verifier` stays at `~0.5.0`**.

## Packages republished at `1.62.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/web-components`, `@copilotkit/a2ui-renderer`, `@copilotkit/react-textarea`, `@copilotkit/sqlite-runner`, and `@copilotkit/agentcore-runner`.