11---
2- title : " @react-native-vibe-code-sdk /chat"
2+ title : " @react-native-vibe-code/chat"
33description : AI-powered chat components and multi-provider LLM integration for React Native Vibe Code
44---
55
@@ -16,7 +16,7 @@ This package provides the complete chat interface for React Native Vibe Code SDK
1616## Installation
1717
1818``` bash
19- pnpm add @react-native-vibe-code-sdk /chat
19+ pnpm add @react-native-vibe-code/chat
2020```
2121
2222## Exports
@@ -25,16 +25,16 @@ The package provides multiple entry points:
2525
2626``` typescript
2727// Main exports (everything)
28- import { ... } from ' @react-native-vibe-code-sdk /chat'
28+ import { ... } from ' @react-native-vibe-code/chat'
2929
3030// Components only
31- import { ChatPanel , Messages , ChatInput } from ' @react-native-vibe-code-sdk /chat/components'
31+ import { ChatPanel , Messages , ChatInput } from ' @react-native-vibe-code/chat/components'
3232
3333// Hooks only
34- import { useAudioRecorder } from ' @react-native-vibe-code-sdk /chat/hooks'
34+ import { useAudioRecorder } from ' @react-native-vibe-code/chat/hooks'
3535
3636// Library utilities
37- import { getModelClient , getChatHistoryLimit } from ' @react-native-vibe-code-sdk /chat/lib'
37+ import { getModelClient , getChatHistoryLimit } from ' @react-native-vibe-code/chat/lib'
3838```
3939
4040## Supported LLM Providers
@@ -58,7 +58,7 @@ import { getModelClient, getChatHistoryLimit } from '@react-native-vibe-code-sdk
5858### Basic Chat Panel
5959
6060``` typescript
61- import { ChatPanel } from ' @react-native-vibe-code-sdk /chat'
61+ import { ChatPanel } from ' @react-native-vibe-code/chat'
6262
6363function MyChat() {
6464 return (
@@ -85,7 +85,7 @@ function MyChat() {
8585### Creating Model Clients
8686
8787``` typescript
88- import { getModelClient , type LLMModel , type LLMModelConfig } from ' @react-native-vibe-code-sdk /chat'
88+ import { getModelClient , type LLMModel , type LLMModelConfig } from ' @react-native-vibe-code/chat'
8989
9090const model: LLMModel = {
9191 id: ' claude-sonnet-4-20250514' ,
@@ -106,7 +106,7 @@ const client = getModelClient(model, config)
106106### Audio Recording
107107
108108``` typescript
109- import { useAudioRecorder } from ' @react-native-vibe-code-sdk /chat/hooks'
109+ import { useAudioRecorder } from ' @react-native-vibe-code/chat/hooks'
110110
111111function VoiceInput() {
112112 const {
@@ -127,7 +127,7 @@ function VoiceInput() {
127127### Chat Configuration
128128
129129``` typescript
130- import { CHAT_HISTORY_LIMIT , getChatHistoryLimit } from ' @react-native-vibe-code-sdk /chat/lib'
130+ import { CHAT_HISTORY_LIMIT , getChatHistoryLimit } from ' @react-native-vibe-code/chat/lib'
131131
132132// Get configured history limit (default: 10)
133133const limit = getChatHistoryLimit ()
@@ -229,7 +229,7 @@ interface HoverSelectionData {
229229
230230## Message Usage Tracking
231231
232- The package integrates with ` @react-native-vibe-code-sdk /payments ` for message usage tracking:
232+ The package integrates with ` @react-native-vibe-code/payments ` for message usage tracking:
233233
234234``` typescript
235235import {
@@ -238,10 +238,10 @@ import {
238238 canUserSendMessage ,
239239 incrementMessageUsage ,
240240 getUserUsageHistory ,
241- } from ' @react-native-vibe-code-sdk /chat/lib'
241+ } from ' @react-native-vibe-code/chat/lib'
242242```
243243
244- > ** Note:** These functions are re-exported from ` @react-native-vibe-code-sdk /payments/server ` for convenience.
244+ > ** Note:** These functions are re-exported from ` @react-native-vibe-code/payments/server ` for convenience.
245245
246246## Package Structure
247247
0 commit comments