github CopilotKit/CopilotKit v1.58.0

latest releases: v1.60.1, v1.60.0, v1.59.5...
17 days ago

CopilotKit v1.58.0

A minor release on the 1.5 line. Ships pre-built UI for @copilotkit/react-nativeCopilotChat, CopilotModal, a useRenderTool hook, and a streaming Markdown component — closing the parity gap with the web SDK, which previously left React Native as a headless-only target.

Install

npm install @copilotkit/react-core@1.58.0 @copilotkit/react-ui@1.58.0 @copilotkit/runtime@1.58.0

For React Native:

npm install @copilotkit/react-native@1.58.0

Features

  • @copilotkit/react-native: pre-built chat UI — Adds CopilotChat (a FlatList-based message view with tool-call rendering via useRenderToolRegistry, error states, empty state with suggestion pills, KeyboardAvoidingView wrapping, extraData-driven re-renders, and a FlatListComponent prop for bottom-sheet compatibility), CopilotModal (a bottom-sheet overlay using @gorhom/bottom-sheet's BottomSheetFlatList for gesture-safe scrolling, configurable snap points, imperative open() / close() API, and disableKeyboardAvoiding to prevent double-avoidance when embedding inside another keyboard-aware view), AssistantMessage / UserMessage chat bubbles, a TypingIndicator animation, and a CopilotMarkdown component that wraps Software Mansion Labs' react-native-streamdown for streaming-friendly markdown in AI responses. A new useRenderTool hook plus RenderToolContext register tools and their renderers through useSyncExternalStore; RenderToolProvider is auto-wrapped by CopilotKitProvider so no extra wiring is required. The package previously shipped headless (hooks + transport) and could only render via consumer-supplied components; React Native apps can now drop in the same chat surface the web SDK provides. (#4715)

Packages republished at 1.58.0

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

Don't miss a new CopilotKit release

NewReleases is sending notifications on new releases.