v1.59.5

AppFlowy-IO/AppFlowyv1.59.5Jun 5, 2026by github-actions[bot]

AI Summary

A patch release improving A2UI recovery rendering, removing spurious license warnings, and reapplies Intelligence threads examples.

Key Highlights

  • A2UI recovery status renderer added to prevent blank gaps during replay flows
  • Spurious 'agents' license warning removed from runtime executions
  • Intelligence threads examples reapplied after a temporary backout
  • Agent-assisted CI execution hardened to keep repository-local settings from influencing PRs

New Features

  • A2UI recovery status renderer
  • Reapplied Intelligence threads examples

Full Release Notes

# CopilotKit v1.59.5

A patch release on the `1.59` line. Improves A2UI recovery rendering in React chat, removes a noisy runtime license warning, reapplies the Intelligence threads examples rollout after the v1.59.4 backout, and hardens agent-assisted CI execution.

## Install

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

## Features

- **`@copilotkit/react-core`: A2UI recovery status renderer** — Adds a recovery renderer for A2UI activity messages so restored surfaces show an explicit status while the UI is being reconstructed. The loader now stays mounted until the target surface can actually paint, then crosses over to the rendered surface instead of disappearing on a fixed delay. This avoids blank gaps and premature loader removal during replay/recovery flows. ([#5228](https://github.com/CopilotKit/CopilotKit/pull/5228))

- **Examples: Intelligence threads rollout reapplied** — Reapplies the Intelligence threads example work that was temporarily backed out in v1.59.4, including AgentCore, A2A A2UI, CrewAI Crews, Strands Python, and the wider examples set. The follow-up rollout keeps the thread drawer and Intelligence wiring in the examples while retaining the stability fixes from the backout window. ([#5236](https://github.com/CopilotKit/CopilotKit/pull/5236), [#5198](https://github.com/CopilotKit/CopilotKit/pull/5198), [#5201](https://github.com/CopilotKit/CopilotKit/pull/5201), [#5202](https://github.com/CopilotKit/CopilotKit/pull/5202), [#5207](https://github.com/CopilotKit/CopilotKit/pull/5207))

## Fixes

- **`@copilotkit/runtime`: remove spurious `agents` license warning** — Agent runs no longer emit an incorrect license warning for the `agents` capability when the run path is valid. This removes a confusing warning from otherwise healthy runtime executions. ([#5251](https://github.com/CopilotKit/CopilotKit/pull/5251))

- **`@copilotkit/react-core`: A2UI paint timing is tied to the actual surface** — The recovery path keeps the A2UI surface mounted across the loader-to-surface transition, waits for real paint before swapping, and honors server-stamped `debugExposure` on recovery activity. Restored A2UI surfaces should now be less visually jarring and more deterministic in slow or replayed sessions. ([#5228](https://github.com/CopilotKit/CopilotKit/pull/5228))

## Build / packaging

- **Claude Code CI cleanup** — CI now removes checked-out Claude settings and MCP config before running Claude Code on PR code. That keeps repository-local agent settings from influencing the workflow when the workflow is evaluating untrusted pull-request contents. ([#4975](https://github.com/CopilotKit/CopilotKit/pull/4975))

## Packages republished at `1.59.5`

`@copilotkit/runtime`, `@copilotkit/react-core`, `@copilotkit/react-ui`, `@copilotkit/react-native`, `@copilotkit/core`, `@copilotkit/shared`, `@copilotkit/runtime-client-gql`, `@copilotkit/sdk-js`, `@copilotkit/voice`, `@copilotkit/web-inspector`, `@copilotkit/a2ui-renderer`, `@copilotkit/react-textarea`, `@copilotkit/sqlite-runner`, `@copilotkit/agentcore-runner`, and `@copilotkit/vue`.