@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.
Files changed (43) hide show
  1. package/README.md +36 -2
  2. package/dist/chunk-NWL4LVVI.js +1015 -0
  3. package/dist/src-BOTTM5XC.js +2230 -0
  4. package/dist/vibiz.js +3302 -0
  5. package/package.json +37 -4
  6. package/templates/nextjs-saas/.env.example +13 -0
  7. package/templates/nextjs-saas/README.md +106 -0
  8. package/templates/nextjs-saas/_gitignore +8 -0
  9. package/templates/nextjs-saas/_npmrc +1 -0
  10. package/templates/nextjs-saas/app/api/auth/[...path]/route.ts +30 -0
  11. package/templates/nextjs-saas/app/api/chat/route.ts +76 -0
  12. package/templates/nextjs-saas/app/dashboard/actions.ts +32 -0
  13. package/templates/nextjs-saas/app/dashboard/page.tsx +130 -0
  14. package/templates/nextjs-saas/app/globals.css +17 -0
  15. package/templates/nextjs-saas/app/layout.tsx +28 -0
  16. package/templates/nextjs-saas/app/not-found.tsx +13 -0
  17. package/templates/nextjs-saas/app/page.tsx +63 -0
  18. package/templates/nextjs-saas/app/sign-in/page.tsx +8 -0
  19. package/templates/nextjs-saas/app/sign-up/page.tsx +8 -0
  20. package/templates/nextjs-saas/app.config.ts +15 -0
  21. package/templates/nextjs-saas/components/analytics.tsx +20 -0
  22. package/templates/nextjs-saas/components/auth-form.tsx +144 -0
  23. package/templates/nextjs-saas/components/auth-page.tsx +30 -0
  24. package/templates/nextjs-saas/components/chat-box.tsx +95 -0
  25. package/templates/nextjs-saas/components/header.tsx +24 -0
  26. package/templates/nextjs-saas/components/not-configured.tsx +17 -0
  27. package/templates/nextjs-saas/components/replay-consent.tsx +75 -0
  28. package/templates/nextjs-saas/components/replay-identify.tsx +21 -0
  29. package/templates/nextjs-saas/components/sign-out-button.tsx +25 -0
  30. package/templates/nextjs-saas/components/ui.tsx +47 -0
  31. package/templates/nextjs-saas/db/migrate.ts +21 -0
  32. package/templates/nextjs-saas/db/schema.ts +18 -0
  33. package/templates/nextjs-saas/lib/auth/client.ts +6 -0
  34. package/templates/nextjs-saas/lib/auth/server.ts +44 -0
  35. package/templates/nextjs-saas/lib/db.ts +32 -0
  36. package/templates/nextjs-saas/lib/env.ts +36 -0
  37. package/templates/nextjs-saas/lib/replay.ts +55 -0
  38. package/templates/nextjs-saas/next.config.ts +9 -0
  39. package/templates/nextjs-saas/package-lock.json +5359 -0
  40. package/templates/nextjs-saas/package.json +32 -0
  41. package/templates/nextjs-saas/postcss.config.mjs +3 -0
  42. package/templates/nextjs-saas/proxy.ts +18 -0
  43. package/templates/nextjs-saas/tsconfig.json +21 -0
package/README.md CHANGED
@@ -1,3 +1,37 @@
1
- # Temporary Holding Version
1
+ # vibiz
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
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