@viberaven/cli 0.1.0-beta.3 → 0.1.0-beta.6
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/AGENTS.md +9 -17
- package/README.md +16 -20
- package/assets/report/assets/provider-authjs.svg +5 -5
- package/assets/report/assets/provider-aws.svg +5 -5
- package/assets/report/assets/provider-logrocket.svg +4 -4
- package/assets/report/assets/viberaven-logo.png +0 -0
- package/assets/report/report-cli.css +248 -228
- package/assets/report/station.css +238 -3
- package/dist/cli.js +5507 -2337
- package/dist/cli.js.map +4 -4
- package/dist/playbooks/_stack-default.json +11 -0
- package/dist/playbooks/auth-supabase.json +31 -0
- package/dist/playbooks/stripe.json +60 -0
- package/dist/playbooks/supabase.json +51 -0
- package/dist/playbooks/vercel.json +42 -0
- package/dist/report/assets/provider-authjs.svg +5 -5
- package/dist/report/assets/provider-aws.svg +5 -5
- package/dist/report/assets/provider-logrocket.svg +4 -4
- package/dist/report/assets/viberaven-logo.png +0 -0
- package/dist/report/report-cli.css +248 -228
- package/dist/report/station.css +238 -3
- package/package.json +4 -1
- package/playbooks/_stack-default.json +11 -0
- package/playbooks/auth-supabase.json +31 -0
- package/playbooks/stripe.json +60 -0
- package/playbooks/supabase.json +51 -0
- package/playbooks/vercel.json +42 -0
- package/templates/AGENTS.snippet.md +7 -20
package/AGENTS.md
CHANGED
|
@@ -56,23 +56,15 @@ If scan output says `LOGIN_REQUIRED`, stop and ask the user to complete:
|
|
|
56
56
|
npx -y @viberaven/cli@beta login
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
-
Then rerun:
|
|
60
|
-
|
|
61
|
-
```bash
|
|
62
|
-
npx -y @viberaven/cli@beta scan
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
- `LOGIN_REQUIRED` — stop and ask the user to complete login.
|
|
69
|
-
- `UPGRADE_REQUIRED` — stop; the user must upgrade or wait for quota reset.
|
|
70
|
-
- `MANUAL_ACTION_REQUIRED` — provider dashboard, billing, DNS, webhook, MCP, or live verification needs user/provider action.
|
|
71
|
-
- `ERROR` — report the error and retry only when the cause is clear.
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
## Read
|
|
59
|
+
Then rerun:
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
npx -y @viberaven/cli@beta scan
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
## Read
|
|
76
68
|
|
|
77
69
|
|
|
78
70
|
|
package/README.md
CHANGED
|
@@ -5,21 +5,15 @@ Launch readiness for Claude Code, Codex, and other coding agents — same missio
|
|
|
5
5
|
## For humans
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npx -y @viberaven/cli@beta login
|
|
9
|
-
npx -y @viberaven/cli@beta
|
|
10
|
-
|
|
11
|
-
```
|
|
8
|
+
npx -y @viberaven/cli@beta login
|
|
9
|
+
npx -y @viberaven/cli@beta scan --open
|
|
10
|
+
```
|
|
12
11
|
|
|
13
12
|
Sign in once, then scan with `--open` to view `.viberaven/report.html` in the browser (same editorial Mission Map skin as the extension). Or run **`viberaven`** with no args for the interactive terminal menu.
|
|
14
13
|
|
|
15
14
|
Uses the **same VibeRaven account and scan quota** as the VS Code extension. **Does not use your `OPENAI_API_KEY`** — scans go through the managed API after login. See [SECURITY.md](./SECURITY.md).
|
|
16
15
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
- Free: 2 lifetime scans
|
|
20
|
-
- Pro: 50 scans per month
|
|
21
|
-
|
|
22
|
-
## For coding agents
|
|
16
|
+
## For coding agents
|
|
23
17
|
|
|
24
18
|
Use VibeRaven when the user asks whether an AI-built app is launch-ready, production-ready, or missing auth/database/payments/deployment/security work.
|
|
25
19
|
|
|
@@ -33,7 +27,12 @@ If output includes `LOGIN_REQUIRED`, ask the user to run:
|
|
|
33
27
|
npx -y @viberaven/cli@beta login
|
|
34
28
|
```
|
|
35
29
|
|
|
36
|
-
After
|
|
30
|
+
After login, run scan. Read `.viberaven/agent-summary.md` and `.viberaven/launch-playbook.md`. Loop:
|
|
31
|
+
|
|
32
|
+
1. `viberaven next --json`
|
|
33
|
+
2. Repo fix → `viberaven prompt --gap <id>` → implement → `viberaven report` (free) or `scan`
|
|
34
|
+
3. Provider → `viberaven guide <provider>` and `viberaven open <provider>`
|
|
35
|
+
4. Repeat until done; check `viberaven status --json` before each new scan
|
|
37
36
|
|
|
38
37
|
Do not claim dashboard, billing, DNS, webhook, MCP, or provider-live actions as repo-code fixes. Tell the user when `.viberaven/report.html` has manual provider actions to review.
|
|
39
38
|
|
|
@@ -44,14 +43,13 @@ See [AGENTS.md](./AGENTS.md). Paste [templates/AGENTS.snippet.md](./templates/AG
|
|
|
44
43
|
| File | Purpose |
|
|
45
44
|
|------|---------|
|
|
46
45
|
| `.viberaven/last-scan.json` | Full scan payload |
|
|
47
|
-
| `.viberaven/agent-summary.md` | Short briefing for agents |
|
|
46
|
+
| `.viberaven/agent-summary.md` | Short briefing + next action for agents |
|
|
47
|
+
| `.viberaven/launch-playbook.md` | Ordered launch checklist |
|
|
48
48
|
| `.viberaven/report.html` | Visual mission map + `report/station.css` (extension editorial UI) |
|
|
49
49
|
|
|
50
|
-
## Switch providers (matches the extension map)
|
|
51
|
-
|
|
52
|
-
The report shows provider
|
|
53
|
-
|
|
54
|
-
To persist a provider choice for the next scan, use:
|
|
50
|
+
## Switch providers (matches the extension map)
|
|
51
|
+
|
|
52
|
+
The report shows a provider switch per production area (database, auth, payments, deployment, monitoring, security). Picking one copies a command:
|
|
55
53
|
|
|
56
54
|
```bash
|
|
57
55
|
viberaven stack set database neon && viberaven scan --open
|
|
@@ -65,9 +63,7 @@ viberaven stack list
|
|
|
65
63
|
viberaven stack clear # remove all overrides
|
|
66
64
|
```
|
|
67
65
|
|
|
68
|
-
The next `scan` re-maps that area using your chosen provider.
|
|
69
|
-
|
|
70
|
-
Agent-readable scan labels are stable: `READY`, `LOGIN_REQUIRED`, `UPGRADE_REQUIRED`, `MANUAL_ACTION_REQUIRED`, and `ERROR`.
|
|
66
|
+
The next `scan` re-maps that area using your chosen provider.
|
|
71
67
|
|
|
72
68
|
## Development
|
|
73
69
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" aria-hidden="true">
|
|
2
|
-
<path fill="#412991" d="M32 5 11 16.8v13.7c0 12.2 8.9 23.3 21 27 12.1-3.7 21-14.8 21-27V16.8L32 5Z"/>
|
|
3
|
-
<path fill="#EB5424" d="M32 5v48.7c-3.1-1.1-6.1-2.7-8.7-4.7L32 5Z"/>
|
|
4
|
-
<path fill="#FBC22C" d="m32 5 8.7 44c-2.6 2-5.6 3.6-8.7 4.7V5Z"/>
|
|
5
|
-
</svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" aria-hidden="true">
|
|
2
|
+
<path fill="#412991" d="M32 5 11 16.8v13.7c0 12.2 8.9 23.3 21 27 12.1-3.7 21-14.8 21-27V16.8L32 5Z"/>
|
|
3
|
+
<path fill="#EB5424" d="M32 5v48.7c-3.1-1.1-6.1-2.7-8.7-4.7L32 5Z"/>
|
|
4
|
+
<path fill="#FBC22C" d="m32 5 8.7 44c-2.6 2-5.6 3.6-8.7 4.7V5Z"/>
|
|
5
|
+
</svg>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 64" aria-hidden="true">
|
|
2
|
-
<text x="48" y="31" text-anchor="middle" font-family="Arial, Helvetica, sans-serif" font-size="21" font-weight="800" letter-spacing="-1.4" fill="#111827">AWS</text>
|
|
3
|
-
<path fill="#FF9900" d="M23.6 42.4c13.9 7.5 31.5 7.5 45.1-.1 1.1-.6 2.2.8 1.3 1.7-12.3 12.5-34.3 12.6-47.2.8-.9-.8-.3-2.9.8-2.4Z"/>
|
|
4
|
-
<path fill="#FF9900" d="M66.8 39.8c2.4-.3 7.8-.8 8.8 1 .9 1.6-1 5.8-2.5 8.2-.5.8-1.7.4-1.5-.6.5-2.1 1.3-4.8.5-5.8-.8-1-3.8-.8-5.4-.6-1 .1-1.2-2-.1-2.2h.2Z"/>
|
|
5
|
-
</svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 64" aria-hidden="true">
|
|
2
|
+
<text x="48" y="31" text-anchor="middle" font-family="Arial, Helvetica, sans-serif" font-size="21" font-weight="800" letter-spacing="-1.4" fill="#111827">AWS</text>
|
|
3
|
+
<path fill="#FF9900" d="M23.6 42.4c13.9 7.5 31.5 7.5 45.1-.1 1.1-.6 2.2.8 1.3 1.7-12.3 12.5-34.3 12.6-47.2.8-.9-.8-.3-2.9.8-2.4Z"/>
|
|
4
|
+
<path fill="#FF9900" d="M66.8 39.8c2.4-.3 7.8-.8 8.8 1 .9 1.6-1 5.8-2.5 8.2-.5.8-1.7.4-1.5-.6.5-2.1 1.3-4.8.5-5.8-.8-1-3.8-.8-5.4-.6-1 .1-1.2-2-.1-2.2h.2Z"/>
|
|
5
|
+
</svg>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" aria-hidden="true">
|
|
2
|
-
<path fill="#764ABC" fill-rule="evenodd" clip-rule="evenodd" d="M26.8 12.9A20.8 20.8 0 0 1 32.3 7a20.5 20.5 0 0 1 5.5 5.8 29.3 29.3 0 0 1 5.1 17.1c1.1.9 2.3 1.8 3.4 2.7a6.2 6.2 0 0 1 2 5.7c-.5 2.6-1.1 5.2-1.6 7.8a2.2 2.2 0 0 1-3.3 1.1c-1.8-1.5-3.6-3-5.4-4.5a8.4 8.4 0 0 1-5.2 2.3 8.5 8.5 0 0 1-6.1-2.2c-1.3 1-2.5 2.1-3.8 3.2-.6.6-1.2 1-1.9 1.4a2.2 2.2 0 0 1-2.9-1.4c-.6-2.5-1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