CopilotKit v1.58.0
A minor release on the 1.5 line. Ships pre-built UI for @copilotkit/react-native — CopilotChat, 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.0For React Native:
npm install @copilotkit/react-native@1.58.0Features
@copilotkit/react-native: pre-built chat UI — AddsCopilotChat(aFlatList-based message view with tool-call rendering viauseRenderToolRegistry, error states, empty state with suggestion pills,KeyboardAvoidingViewwrapping,extraData-driven re-renders, and aFlatListComponentprop for bottom-sheet compatibility),CopilotModal(a bottom-sheet overlay using@gorhom/bottom-sheet'sBottomSheetFlatListfor gesture-safe scrolling, configurable snap points, imperativeopen()/close()API, anddisableKeyboardAvoidingto prevent double-avoidance when embedding inside another keyboard-aware view),AssistantMessage/UserMessagechat bubbles, aTypingIndicatoranimation, and aCopilotMarkdowncomponent that wraps Software Mansion Labs'react-native-streamdownfor streaming-friendly markdown in AI responses. A newuseRenderToolhook plusRenderToolContextregister tools and their renderers throughuseSyncExternalStore;RenderToolProvideris auto-wrapped byCopilotKitProviderso 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.