@vibiz/cli 0.0.0-stage → 0.1.0
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/README.md +36 -2
- package/dist/chunk-NWL4LVVI.js +1015 -0
- package/dist/src-BOTTM5XC.js +2230 -0
- package/dist/vibiz.js +3302 -0
- package/package.json +37 -4
- package/templates/nextjs-saas/.env.example +13 -0
- package/templates/nextjs-saas/README.md +106 -0
- package/templates/nextjs-saas/_gitignore +8 -0
- package/templates/nextjs-saas/_npmrc +1 -0
- package/templates/nextjs-saas/app/api/auth/[...path]/route.ts +30 -0
- package/templates/nextjs-saas/app/api/chat/route.ts +76 -0
- package/templates/nextjs-saas/app/dashboard/actions.ts +32 -0
- package/templates/nextjs-saas/app/dashboard/page.tsx +130 -0
- package/templates/nextjs-saas/app/globals.css +17 -0
- package/templates/nextjs-saas/app/layout.tsx +28 -0
- package/templates/nextjs-saas/app/not-found.tsx +13 -0
- package/templates/nextjs-saas/app/page.tsx +63 -0
- package/templates/nextjs-saas/app/sign-in/page.tsx +8 -0
- package/templates/nextjs-saas/app/sign-up/page.tsx +8 -0
- package/templates/nextjs-saas/app.config.ts +15 -0
- package/templates/nextjs-saas/components/analytics.tsx +20 -0
- package/templates/nextjs-saas/components/auth-form.tsx +144 -0
- package/templates/nextjs-saas/components/auth-page.tsx +30 -0
- package/templates/nextjs-saas/components/chat-box.tsx +95 -0
- package/templates/nextjs-saas/components/header.tsx +24 -0
- package/templates/nextjs-saas/components/not-configured.tsx +17 -0
- package/templates/nextjs-saas/components/replay-consent.tsx +75 -0
- package/templates/nextjs-saas/components/replay-identify.tsx +21 -0
- package/templates/nextjs-saas/components/sign-out-button.tsx +25 -0
- package/templates/nextjs-saas/components/ui.tsx +47 -0
- package/templates/nextjs-saas/db/migrate.ts +21 -0
- package/templates/nextjs-saas/db/schema.ts +18 -0
- package/templates/nextjs-saas/lib/auth/client.ts +6 -0
- package/templates/nextjs-saas/lib/auth/server.ts +44 -0
- package/templates/nextjs-saas/lib/db.ts +32 -0
- package/templates/nextjs-saas/lib/env.ts +36 -0
- package/templates/nextjs-saas/lib/replay.ts +55 -0
- package/templates/nextjs-saas/next.config.ts +9 -0
- package/templates/nextjs-saas/package-lock.json +5359 -0
- package/templates/nextjs-saas/package.json +32 -0
- package/templates/nextjs-saas/postcss.config.mjs +3 -0
- package/templates/nextjs-saas/proxy.ts +18 -0
- package/templates/nextjs-saas/tsconfig.json +21 -0
package/README.md
CHANGED
|
@@ -1,3 +1,37 @@
|
|
|
1
|
-
#
|
|
1
|
+
# vibiz
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The [Vibiz Stack](https://app.vibiz.app/docs) CLI and MCP server: website, database, sign-in, email
|
|
4
|
+
and AI for a new business, from a terminal or an AI agent.
|
|
5
|
+
|
|
6
|
+
```bash
|
|
7
|
+
npx @vibiz/cli login --key vz_sk_… --api https://app.vibiz.app
|
|
8
|
+
npx @vibiz/cli init "Acme Bakery" # a project, linked to this folder
|
|
9
|
+
npx @vibiz/cli deploy # put it online
|
|
10
|
+
npx @vibiz/cli --help # every command; `vibiz <command> --help` for one
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Or install it once: `npm install -g @vibiz/cli`, then run `vibiz …`.
|
|
14
|
+
|
|
15
|
+
## MCP server
|
|
16
|
+
|
|
17
|
+
`vibiz mcp` serves the Vibiz tools (and the docs, as resources) to any MCP client over stdio. It
|
|
18
|
+
uses the same login as the CLI, or `VIBIZ_API_KEY` / `VIBIZ_API_URL` from its env.
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
claude mcp add vibiz --env VIBIZ_API_KEY=vz_sk_… -- npx -y @vibiz/cli mcp
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
```json
|
|
25
|
+
{
|
|
26
|
+
"mcpServers": {
|
|
27
|
+
"vibiz": {
|
|
28
|
+
"command": "npx",
|
|
29
|
+
"args": ["-y", "vibiz", "mcp"],
|
|
30
|
+
"env": { "VIBIZ_API_KEY": "vz_sk_…" }
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
Node 20+. Docs: https://app.vibiz.app/docs
|