vibefast-cli 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DOCS-CLEANUP-SUMMARY.md +140 -0
- package/DOCS.md +141 -0
- package/IMPLEMENTATION-COMPLETE.md +6 -5
- package/MANUAL-STEPS-GUIDE.md +385 -0
- package/MANUAL-STEPS-USER-FLOW.md +231 -0
- package/PLAN-VS-IMPLEMENTATION.md +248 -0
- package/PUBLISHED-0.2.2.md +65 -0
- package/README.md +24 -2
- package/START-HERE.md +115 -0
- package/docs/next-steps.md +12 -0
- package/package.json +10 -1
- package/recipes/audio-recorder@latest.zip +0 -0
- package/recipes/charts/apps/native/src/app/charts/index.tsx +3 -0
- package/recipes/charts/apps/native/src/features/charts/app/preview.tsx +3 -0
- package/recipes/charts/apps/native/src/features/charts/components/area-chart.tsx +3 -0
- package/recipes/charts/apps/native/src/features/charts/components/bar-chart.tsx +3 -0
- package/recipes/charts/apps/native/src/features/charts/components/candlestick-chart.tsx +3 -0
- package/recipes/charts/apps/native/src/features/charts/components/chart-card.tsx +3 -0
- package/recipes/charts/apps/native/src/features/charts/components/column-chart.tsx +3 -0
- package/recipes/charts/apps/native/src/features/charts/components/doughnut-chart.tsx +3 -0
- package/recipes/charts/apps/native/src/features/charts/components/index.ts +3 -0
- package/recipes/charts/apps/native/src/features/charts/components/line-chart.tsx +3 -0
- package/recipes/charts/apps/native/src/features/charts/components/radar-chart.tsx +3 -0
- package/recipes/charts/apps/native/src/features/charts/components/radial-bar-chart.tsx +3 -0
- package/recipes/charts/apps/native/src/features/charts/components/stacked-area-chart.tsx +3 -0
- package/recipes/charts/apps/native/src/features/charts/components/stacked-bar-chart.tsx +3 -0
- package/recipes/charts/apps/native/src/features/charts/data/mock-data.ts +3 -0
- package/recipes/charts/apps/native/src/features/charts/types/index.ts +3 -0
- package/recipes/charts/recipe.json +7 -1
- package/recipes/charts@latest.zip +0 -0
- package/recipes/chatbot/apps/native/src/app/chatbot/index.tsx +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/app/index.tsx +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/components/chat-header-buttons.tsx +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/components/chat-input-bar.tsx +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/components/chat-markdown.tsx +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/components/chat-message-bubble.tsx +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/components/chat-settings-modal.tsx +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/components/image-preview-list.tsx +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/components/markdown/code-block.tsx +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/components/markdown/index.ts +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/components/markdown/table-renderer.tsx +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/components/message-error-boundary.tsx +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/components/message-list.tsx +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/components/model-selector.tsx +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/components/report-content-modal.tsx +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/components/suggested-messages.tsx +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/constants/models.ts +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/constants/report-reasons.ts +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/hooks/use-attachment-cache.ts +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/hooks/use-chat-config.ts +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/hooks/use-chat-handlers.ts +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/hooks/use-chatbot-settings.ts +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/hooks/use-conversation.ts +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/hooks/use-image-picker.ts +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/hooks/use-keyboard-coordinator.ts +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/hooks/use-smart-scroll-manager.ts +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/models/index.ts +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/models/models.ts +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/models/providers.ts +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/models/types.ts +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/services/file-uploader.ts +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/services/message-handler-service.ts +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/types/index.ts +1 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/utils/chat-telemetry.ts +1 -0
- package/recipes/chatbot/packages/backend/convex/chatbot/index.ts +30 -0
- package/recipes/chatbot/recipe.json +16 -1
- package/recipes/chatbot@latest.zip +0 -0
- package/recipes/image-generator@latest.zip +0 -0
- package/recipes/quiz@latest.zip +0 -0
- package/recipes/tracker-app@latest.zip +0 -0
- package/recipes/voice-bot@latest.zip +0 -0
- package/scripts/create-recipes.mjs +33 -1
- package/MONITORING-AND-ANNOUNCEMENT-GUIDE.md +0 -669
- package/PRE-PUBLISH-CHECKLIST.md +0 -558
- package/PUBLISHED-SUCCESS.md +0 -282
- package/READY-TO-PUBLISH.md +0 -419
- package/RECIPES-READY.md +0 -172
- package/cloudflare-worker/mini-native@latest.zip +0 -0
- package/cloudflare-worker/test-recipe/apps/native/src/app/mini/index.tsx +0 -15
- package/cloudflare-worker/test-recipe/recipe.json +0 -16
- package/text.md +0 -27
- /package/{AUTO-DETECT-DEPS.md → docs/archive/AUTO-DETECT-DEPS.md} +0 -0
- /package/{FINAL-PACKAGE-STRATEGY.md → docs/archive/FINAL-PACKAGE-STRATEGY.md} +0 -0
- /package/{FINAL-SIMPLE-PLAN.md → docs/archive/FINAL-SIMPLE-PLAN.md} +0 -0
- /package/{FINAL-STATUS.md → docs/archive/FINAL-STATUS.md} +0 -0
- /package/{FLOW-DIAGRAM.md → docs/archive/FLOW-DIAGRAM.md} +0 -0
- /package/{GOTCHAS-AND-RISKS.md → docs/archive/GOTCHAS-AND-RISKS.md} +0 -0
- /package/{IMPLEMENTATION-PLAN.md → docs/archive/IMPLEMENTATION-PLAN.md} +0 -0
- /package/{PLAN.md → docs/archive/PLAN.md} +0 -0
- /package/{PRODUCTION-READINESS.md → docs/archive/PRODUCTION-READINESS.md} +0 -0
- /package/{PRODUCTION-TEST-RESULTS.md → docs/archive/PRODUCTION-TEST-RESULTS.md} +0 -0
- /package/{SIMPLIFIED-PLAN.md → docs/archive/SIMPLIFIED-PLAN.md} +0 -0
- /package/{STATUS.md → docs/archive/STATUS.md} +0 -0
- /package/{SUCCESS.md → docs/archive/SUCCESS.md} +0 -0
- /package/{TEST-SUMMARY.md → docs/archive/TEST-SUMMARY.md} +0 -0
- /package/{TESTING-CHECKLIST.md → docs/archive/TESTING-CHECKLIST.md} +0 -0
- /package/{USER-MODIFICATIONS.md → docs/archive/USER-MODIFICATIONS.md} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vibefast-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "CLI for installing VibeFast features into your monorepo",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -21,6 +21,15 @@
|
|
|
21
21
|
],
|
|
22
22
|
"author": "VibeFast",
|
|
23
23
|
"license": "MIT",
|
|
24
|
+
"homepage": "https://github.com/vibefast/vibefast-cli#readme",
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "https://github.com/vibefast/vibefast-cli.git"
|
|
28
|
+
},
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/vibefast/vibefast-cli/issues",
|
|
31
|
+
"email": "support@vibefast.pro"
|
|
32
|
+
},
|
|
24
33
|
"dependencies": {
|
|
25
34
|
"commander": "^12.0.0",
|
|
26
35
|
"picocolors": "^1.0.0",
|
|
Binary file
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
// vibefast license: c1e9fcd2-muhammad
|
|
2
|
+
// vibefast license: c1e9fcd2-muhammad
|
|
3
|
+
// vibefast license: c1e9fcd2-muhammad
|
|
1
4
|
import { Canvas, Group, RoundedRect } from '@shopify/react-native-skia';
|
|
2
5
|
import React, { useEffect, useState } from 'react';
|
|
3
6
|
import { type LayoutChangeEvent, View, type ViewStyle } from 'react-native';
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
// vibefast license: c1e9fcd2-muhammad
|
|
2
|
+
// vibefast license: c1e9fcd2-muhammad
|
|
3
|
+
// vibefast license: c1e9fcd2-muhammad
|
|
1
4
|
import { Canvas, Group, RoundedRect } from '@shopify/react-native-skia';
|
|
2
5
|
import React, { useEffect, useState } from 'react';
|
|
3
6
|
import { type LayoutChangeEvent, View, type ViewStyle } from 'react-native';
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
// vibefast license: c1e9fcd2-muhammad
|
|
2
|
+
// vibefast license: c1e9fcd2-muhammad
|
|
3
|
+
// vibefast license: c1e9fcd2-muhammad
|
|
1
4
|
import { Canvas, Group, RoundedRect } from '@shopify/react-native-skia';
|
|
2
5
|
import React, { useEffect, useState } from 'react';
|
|
3
6
|
import { type LayoutChangeEvent, View, type ViewStyle } from 'react-native';
|
|
Binary file
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chatbot Domain Aggregator
|
|
3
|
+
*
|
|
4
|
+
* This module serves as the single entry point for all chatbot-related
|
|
5
|
+
* Convex functions. It re-exports functions from the underlying modules
|
|
6
|
+
* to decouple the frontend from the internal file structure.
|
|
7
|
+
*
|
|
8
|
+
* Benefits:
|
|
9
|
+
* - Frontend only imports from this aggregator via the gateway
|
|
10
|
+
* - Backend refactors don't cascade to frontend
|
|
11
|
+
* - Clear domain boundaries
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
// Agent functions (streaming, session management)
|
|
15
|
+
export {
|
|
16
|
+
getAgentSession,
|
|
17
|
+
getAgentStreamBody,
|
|
18
|
+
startAgentStream,
|
|
19
|
+
} from '../chatbotAgent';
|
|
20
|
+
|
|
21
|
+
// History functions (messages, conversations)
|
|
22
|
+
export {
|
|
23
|
+
clearConversationMessages,
|
|
24
|
+
createConversation,
|
|
25
|
+
deleteUserMessage,
|
|
26
|
+
getOrCreateDefaultConversation,
|
|
27
|
+
listMessages,
|
|
28
|
+
storeFinalBotMessage,
|
|
29
|
+
storeMessage,
|
|
30
|
+
} from '../chatbotHistory';
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
{
|
|
11
11
|
"from": "apps/native/src/features/chatbot",
|
|
12
12
|
"to": "apps/native/src/features/chatbot"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"from": "packages/backend/convex/chatbot",
|
|
16
|
+
"to": "packages/backend/convex/chatbot"
|
|
13
17
|
}
|
|
14
18
|
],
|
|
15
19
|
"nav": {
|
|
@@ -18,5 +22,16 @@
|
|
|
18
22
|
"icon": "💬",
|
|
19
23
|
"color": "#F43F5E"
|
|
20
24
|
},
|
|
21
|
-
"target": "native"
|
|
25
|
+
"target": "native",
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"expo": [
|
|
28
|
+
"convex",
|
|
29
|
+
"expo-clipboard",
|
|
30
|
+
"markdown-it",
|
|
31
|
+
"react-native-markdown-display",
|
|
32
|
+
"react-syntax-highlighter",
|
|
33
|
+
"react-native-reanimated",
|
|
34
|
+
"react-native-safe-area-context"
|
|
35
|
+
]
|
|
36
|
+
}
|
|
22
37
|
}
|
|
Binary file
|
|
Binary file
|
package/recipes/quiz@latest.zip
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -17,6 +17,9 @@ const features = [
|
|
|
17
17
|
icon: '📊',
|
|
18
18
|
description: 'Beautiful data visualization with charts',
|
|
19
19
|
color: '#6366F1',
|
|
20
|
+
dependencies: {
|
|
21
|
+
expo: ['@shopify/react-native-skia', 'react-native-svg'],
|
|
22
|
+
},
|
|
20
23
|
},
|
|
21
24
|
{
|
|
22
25
|
name: 'chatbot',
|
|
@@ -24,6 +27,17 @@ const features = [
|
|
|
24
27
|
icon: '💬',
|
|
25
28
|
description: 'AI-powered chat assistant',
|
|
26
29
|
color: '#F43F5E',
|
|
30
|
+
dependencies: {
|
|
31
|
+
expo: [
|
|
32
|
+
'convex',
|
|
33
|
+
'expo-clipboard',
|
|
34
|
+
'markdown-it',
|
|
35
|
+
'react-native-markdown-display',
|
|
36
|
+
'react-syntax-highlighter',
|
|
37
|
+
'react-native-reanimated',
|
|
38
|
+
'react-native-safe-area-context',
|
|
39
|
+
],
|
|
40
|
+
},
|
|
27
41
|
},
|
|
28
42
|
{
|
|
29
43
|
name: 'voice-bot',
|
|
@@ -97,7 +111,7 @@ async function createRecipe(feature) {
|
|
|
97
111
|
});
|
|
98
112
|
console.log(` ✓ Copied app route`);
|
|
99
113
|
}
|
|
100
|
-
|
|
114
|
+
|
|
101
115
|
// Check if feature components exist
|
|
102
116
|
if (await exists(featurePath)) {
|
|
103
117
|
const destFeaturePath = join(recipeDir, 'apps/native/src/features', feature.name);
|
|
@@ -110,6 +124,19 @@ async function createRecipe(feature) {
|
|
|
110
124
|
console.log(` ✓ Copied feature components`);
|
|
111
125
|
}
|
|
112
126
|
|
|
127
|
+
// Check if Convex backend exists for this feature
|
|
128
|
+
const convexPath = join(monorepoPath, 'packages/backend/convex', feature.name);
|
|
129
|
+
if (await exists(convexPath)) {
|
|
130
|
+
const destConvexPath = join(recipeDir, 'packages/backend/convex', feature.name);
|
|
131
|
+
await mkdir(dirname(destConvexPath), { recursive: true });
|
|
132
|
+
await cp(convexPath, destConvexPath, { recursive: true });
|
|
133
|
+
copySpecs.push({
|
|
134
|
+
from: `packages/backend/convex/${feature.name}`,
|
|
135
|
+
to: `packages/backend/convex/${feature.name}`,
|
|
136
|
+
});
|
|
137
|
+
console.log(` ✓ Copied Convex backend`);
|
|
138
|
+
}
|
|
139
|
+
|
|
113
140
|
if (copySpecs.length === 0) {
|
|
114
141
|
console.log(` ⚠️ No files found for ${feature.name}, skipping...`);
|
|
115
142
|
return null;
|
|
@@ -130,6 +157,11 @@ async function createRecipe(feature) {
|
|
|
130
157
|
target: 'native',
|
|
131
158
|
};
|
|
132
159
|
|
|
160
|
+
// Add dependencies if defined
|
|
161
|
+
if (feature.dependencies) {
|
|
162
|
+
manifest.dependencies = feature.dependencies;
|
|
163
|
+
}
|
|
164
|
+
|
|
133
165
|
await writeFile(
|
|
134
166
|
join(recipeDir, 'recipe.json'),
|
|
135
167
|
JSON.stringify(manifest, null, 2)
|