v1.63.0

bjesus/pipetv1.63.0Jul 15, 2026by github-actions[bot]

AI Summary

A minor release introducing handler-owned managed channels and improved thread onboarding in the web inspector, alongside runtime and React stability fixes.

Key Highlights

  • Handler-owned Managed Channels for simplified channel management
  • Empty-state onboarding for threads in the web inspector
  • Fixes preventing chat crashes during stream stops
  • Upgraded react-syntax-highlighter to v16

New Features

  • Threads empty-state onboarding in web inspector

Full Release Notes

# CopilotKit v1.63.0

A minor release on the `1.63` line. The headline is **handler-owned Managed Channels** — `createCopilotRuntimeHandler` now owns Channel activation, readiness, reconnect, and shutdown, so a Channel is declared next to your agents with no separate launcher — plus **Threads empty-state onboarding** in the web inspector, and a batch of runtime/core/react reliability fixes: stop-mid-stream no longer crashes chat, MCP follow-ups stay on their origin thread, and mounting no longer triggers `/info` request storms.

## Install

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

## Features
- **Threads empty-state onboarding in `@copilotkit/web-inspector`** — the empty Threads state is now a guided onboarding surface rather than a bare "No threads yet":
    - Example thread rows that open the real thread-details UI — **Timeline**, **Raw AG-UI Events**, and **State** — so the panel can be explored before any real thread exists.
    - A dismissible/reopenable example tour that persists its dismissal in local storage, plus `Learn how Threads work` / `Talk to an Engineer` CTAs surfaced in the tab nav.
    - Examples are hidden automatically once real threads are present. ([#5909](https://github.com/CopilotKit/CopilotKit/pull/5909))

## Runtime fixes (`@copilotkit/runtime`)

- **Stop mid-stream no longer crashes chat** — `finalizeRunEvents` no longer appends a trailing `TEXT_MESSAGE_END` after an aborted agent has already emitted `RUN_ERROR`, fixing the `Cannot send event type 'TEXT_MESSAGE_END': The run has already errored` crash when pressing Stop while a message streams. ([#5885](https://github.com/CopilotKit/CopilotKit/pull/5885), fixes [#5812](https://github.com/CopilotKit/CopilotKit/issues/5812))

## Core fixes (`@copilotkit/core`)

- **No more `/info` request storms** — the runtime `/info` fetch is deferred out of the `CopilotKitCore` constructor, so discarded concurrent / StrictMode / Suspense renders during mount no longer construct throwaway cores that each fire their own `/info` (reporter saw 70–80 requests on a single page load). ([#5942](https://github.com/CopilotKit/CopilotKit/pull/5942), fixes [#5801](https://github.com/CopilotKit/CopilotKit/issues/5801))

## React fixes (`@copilotkit/react-core`)

- **MCP follow-ups stay on their origin thread** — queued MCP `ui/message` follow-ups now run against the thread they were enqueued on, capturing `threadId`/`messages` at enqueue time instead of reading the shared registry agent at execution time, so switching threads while a follow-up is queued no longer leaks it onto the wrong thread. ([#5940](https://github.com/CopilotKit/CopilotKit/pull/5940), fixes [#5819](https://github.com/CopilotKit/CopilotKit/issues/5819))
- **Streamdown table controls styled in packaged CSS** — the table copy/download action controls are now scoped in `@copilotkit/react-core/v2/styles.css` for hosts that don't also ship streamdown's raw Tailwind utilities. ([#5944](https://github.com/CopilotKit/CopilotKit/pull/5944), fixes [#5775](https://github.com/CopilotKit/CopilotKit/issues/5775))
- **Published types resolve under `bundler`/`node16`/`nodenext`** — declaration files for `@copilotkit/react-core`, `@copilotkit/react-ui`, and `@copilotkit/react-textarea` now resolve cleanly, fixing the `attw` `InternalResolutionError` that was masked in CI. ([#5264](https://github.com/CopilotKit/CopilotKit/pull/5264))

## React UI fixes (`@copilotkit/react-ui`)

- **`react-syntax-highlighter` upgraded to v16** — bumped `^15.6.1` → `^16.1.1` (pulls `refractor@5` / `prismjs@^1.30.0`); `CodeBlock`'s public API is unchanged. ([#5886](https://github.com/CopilotKit/CopilotKit/pull/5886), closes [#2823](https://github.com/CopilotKit/CopilotKit/issues/2823))

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