Skip to content

Commit 313ef3c

Browse files
committed
namespace to react-native-vibe-code
1 parent 4d96d96 commit 313ef3c

318 files changed

Lines changed: 1145 additions & 986 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.changeset/config.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
"access": "public",
88
"baseBranch": "main",
99
"updateInternalDependencies": "patch",
10-
"ignore": ["@react-native-vibe-code-sdk/web", "@react-native-vibe-code-sdk/docs"]
10+
"ignore": ["@react-native-vibe-code/web", "@react-native-vibe-code/docs"]
1111
}

‎apps/docs/content/docs/deployment/blob-storage.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ await sandbox.files.write(
8686

8787
When users build their apps for iOS, the static bundles are uploaded to blob storage for mobile app consumption.
8888

89-
**API Endpoint**: Part of `@react-native-vibe-code-sdk/sandbox` bundle builder
89+
**API Endpoint**: Part of `@react-native-vibe-code/sandbox` bundle builder
9090

9191
```typescript
9292
import { put } from '@vercel/blob'
93-
import { buildStaticBundle } from '@react-native-vibe-code-sdk/sandbox'
93+
import { buildStaticBundle } from '@react-native-vibe-code/sandbox'
9494

9595
// Build and upload bundle
9696
const result = await buildStaticBundle(

‎apps/docs/content/docs/index.mdx‎

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -51,34 +51,34 @@ React Native Vibe Code is organized as a monorepo with the following packages:
5151

5252
| Package | Description |
5353
|---------|-------------|
54-
| [@react-native-vibe-code-sdk/database](/docs/packages/database) | Drizzle ORM database layer with PostgreSQL and Neon |
55-
| [@react-native-vibe-code-sdk/auth](/docs/packages/auth) | Authentication with Better Auth and Google OAuth |
56-
| [@react-native-vibe-code-sdk/pusher](/docs/packages/pusher) | Real-time communication via Pusher |
57-
| [@react-native-vibe-code-sdk/ui](/docs/packages/ui) | Shared UI components built on Radix UI |
54+
| [@react-native-vibe-code/database](/docs/packages/database) | Drizzle ORM database layer with PostgreSQL and Neon |
55+
| [@react-native-vibe-code/auth](/docs/packages/auth) | Authentication with Better Auth and Google OAuth |
56+
| [@react-native-vibe-code/pusher](/docs/packages/pusher) | Real-time communication via Pusher |
57+
| [@react-native-vibe-code/ui](/docs/packages/ui) | Shared UI components built on Radix UI |
5858

5959
### Features
6060

6161
| Package | Description |
6262
|---------|-------------|
63-
| [@react-native-vibe-code-sdk/chat](/docs/packages/chat) | AI chat components and multi-provider LLM support |
64-
| [@react-native-vibe-code-sdk/code-editor](/docs/packages/code-editor) | Monaco-based code editor with file management |
65-
| [@react-native-vibe-code-sdk/sandbox](/docs/packages/sandbox) | E2B sandbox management and AI skills |
66-
| [@react-native-vibe-code-sdk/agent](/docs/packages/agent) | Claude Code SDK executor for AI code generation |
63+
| [@react-native-vibe-code/chat](/docs/packages/chat) | AI chat components and multi-provider LLM support |
64+
| [@react-native-vibe-code/code-editor](/docs/packages/code-editor) | Monaco-based code editor with file management |
65+
| [@react-native-vibe-code/sandbox](/docs/packages/sandbox) | E2B sandbox management and AI skills |
66+
| [@react-native-vibe-code/agent](/docs/packages/agent) | Claude Code SDK executor for AI code generation |
6767
| [Starter Kit](/docs/packages/starter-kit) | Expo starter template with 67+ packages - clone to start building |
68-
| [@react-native-vibe-code-sdk/prompt-engine](/docs/packages/prompt-engine) | AI prompt templates and guidelines |
69-
| [@react-native-vibe-code-sdk/restore](/docs/packages/restore) | Git version control and code restoration |
70-
| [@react-native-vibe-code-sdk/remix](/docs/packages/remix) | Project forking and remixing system |
68+
| [@react-native-vibe-code/prompt-engine](/docs/packages/prompt-engine) | AI prompt templates and guidelines |
69+
| [@react-native-vibe-code/restore](/docs/packages/restore) | Git version control and code restoration |
70+
| [@react-native-vibe-code/remix](/docs/packages/remix) | Project forking and remixing system |
7171

7272
### Integrations
7373

7474
| Package | Description |
7575
|---------|-------------|
76-
| [@react-native-vibe-code-sdk/payments](/docs/packages/payments) | Subscription management with Polar |
77-
| [@react-native-vibe-code-sdk/convex](/docs/packages/convex) | Convex backend integration and provisioning |
78-
| [@react-native-vibe-code-sdk/publish](/docs/packages/publish) | Cloudflare Pages deployment and custom domains |
79-
| [@react-native-vibe-code-sdk/integrations](/docs/packages/integrations) | AI and external service integrations |
80-
| [@react-native-vibe-code-sdk/visual-edits](/docs/packages/visual-edits) | Visual element selection and editing |
81-
| [@react-native-vibe-code-sdk/error-manager](/docs/packages/error-manager) | Real-time error detection and notifications |
76+
| [@react-native-vibe-code/payments](/docs/packages/payments) | Subscription management with Polar |
77+
| [@react-native-vibe-code/convex](/docs/packages/convex) | Convex backend integration and provisioning |
78+
| [@react-native-vibe-code/publish](/docs/packages/publish) | Cloudflare Pages deployment and custom domains |
79+
| [@react-native-vibe-code/integrations](/docs/packages/integrations) | AI and external service integrations |
80+
| [@react-native-vibe-code/visual-edits](/docs/packages/visual-edits) | Visual element selection and editing |
81+
| [@react-native-vibe-code/error-manager](/docs/packages/error-manager) | Real-time error detection and notifications |
8282

8383
Explore each package's documentation to learn more about their APIs and usage.
8484

‎apps/docs/content/docs/packages/agent.mdx‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "@react-native-vibe-code-sdk/agent"
2+
title: "@react-native-vibe-code/agent"
33
description: Claude Code SDK executor for AI-powered code generation
44
---
55

@@ -16,7 +16,7 @@ This package provides the bridge between React Native Vibe Code and Anthropic's
1616
## Installation
1717

1818
```bash
19-
pnpm add @react-native-vibe-code-sdk/agent
19+
pnpm add @react-native-vibe-code/agent
2020
```
2121

2222
## CLI Usage
@@ -39,7 +39,7 @@ Options:
3939
## Programmatic Usage
4040

4141
```typescript
42-
import { runExecutor, createConvexDeployHook } from '@react-native-vibe-code-sdk/agent'
42+
import { runExecutor, createConvexDeployHook } from '@react-native-vibe-code/agent'
4343

4444
const result = await runExecutor(
4545
{
@@ -66,13 +66,13 @@ if (result.success) {
6666

6767
```typescript
6868
// Main executor
69-
import { runExecutor } from '@react-native-vibe-code-sdk/agent'
69+
import { runExecutor } from '@react-native-vibe-code/agent'
7070

7171
// Hooks
72-
import { createConvexDeployHook } from '@react-native-vibe-code-sdk/agent/hooks'
72+
import { createConvexDeployHook } from '@react-native-vibe-code/agent/hooks'
7373

7474
// Utilities
75-
import { downloadImage, loadEnvFile, parseArgs } from '@react-native-vibe-code-sdk/agent/utils'
75+
import { downloadImage, loadEnvFile, parseArgs } from '@react-native-vibe-code/agent/utils'
7676

7777
// Types
7878
import type {
@@ -82,7 +82,7 @@ import type {
8282
ExecutorResult,
8383
SessionHook,
8484
SDKMessage
85-
} from '@react-native-vibe-code-sdk/agent'
85+
} from '@react-native-vibe-code/agent'
8686
```
8787

8888
## API Reference
@@ -286,7 +286,7 @@ packages/agent/
286286
## Dependencies
287287
288288
- `@anthropic-ai/claude-code` - Claude Code SDK
289-
- `@react-native-vibe-code-sdk/tsconfig` - Shared TypeScript config
289+
- `@react-native-vibe-code/tsconfig` - Shared TypeScript config
290290
291291
## Implementation Details
292292

‎apps/docs/content/docs/packages/auth.mdx‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "@react-native-vibe-code-sdk/auth"
2+
title: "@react-native-vibe-code/auth"
33
description: Authentication utilities with Better Auth and Google OAuth
44
---
55

@@ -16,7 +16,7 @@ This package provides authentication abstraction for React Native Vibe Code:
1616
## Installation
1717

1818
```bash
19-
pnpm add @react-native-vibe-code-sdk/auth
19+
pnpm add @react-native-vibe-code/auth
2020
```
2121

2222
## Configuration
@@ -43,7 +43,7 @@ NEXT_PUBLIC_APP_URL=http://localhost:3210
4343
```typescript
4444
'use client'
4545

46-
import { useSession, signInWithGoogle, signOut } from '@react-native-vibe-code-sdk/auth/client'
46+
import { useSession, signInWithGoogle, signOut } from '@react-native-vibe-code/auth/client'
4747

4848
function AuthButton() {
4949
const { data: session, isPending: loading } = useSession()
@@ -72,7 +72,7 @@ function AuthButton() {
7272
### Server-Side
7373

7474
```typescript
75-
import { getUserTeam, getAuthHeaders } from '@react-native-vibe-code-sdk/auth'
75+
import { getUserTeam, getAuthHeaders } from '@react-native-vibe-code/auth'
7676

7777
// Get user's team
7878
const team = await getUserTeam(userId)
@@ -88,7 +88,7 @@ const headers = await getAuthHeaders()
8888

8989
## Exports
9090

91-
### Client Exports (`@react-native-vibe-code-sdk/auth/client`)
91+
### Client Exports (`@react-native-vibe-code/auth/client`)
9292

9393
```typescript
9494
// Auth client instance
@@ -104,7 +104,7 @@ export function signOut(): Promise<void>
104104
export { useSession } from 'better-auth/react'
105105
```
106106

107-
### Server Exports (`@react-native-vibe-code-sdk/auth`)
107+
### Server Exports (`@react-native-vibe-code/auth`)
108108

109109
```typescript
110110
// Get user team from database
@@ -278,5 +278,5 @@ packages/auth/
278278
- `better-auth` - Authentication framework
279279
- `@polar-sh/better-auth` - Polar integration
280280
- `@polar-sh/sdk` - Polar SDK
281-
- `@react-native-vibe-code-sdk/database` - Database access
282-
- `@react-native-vibe-code-sdk/config` - Configuration
281+
- `@react-native-vibe-code/database` - Database access
282+
- `@react-native-vibe-code/config` - Configuration

‎apps/docs/content/docs/packages/chat.mdx‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "@react-native-vibe-code-sdk/chat"
2+
title: "@react-native-vibe-code/chat"
33
description: 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

6363
function 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

9090
const 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

111111
function 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)
133133
const 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
235235
import {
@@ -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

Comments
 (0)