@viberaven/cli 0.1.0-beta.0 → 0.1.0-beta.2
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 +82 -5
- package/README.md +25 -12
- package/SECURITY.md +36 -0
- package/assets/report/assets/provider-authjs.svg +5 -0
- package/assets/report/assets/provider-aws.svg +5 -0
- package/assets/report/assets/provider-logrocket.svg +4 -0
- package/assets/report/assets/viberaven-logo.png +0 -0
- package/assets/report/report-cli.css +1446 -0
- package/assets/report/station.css +11619 -0
- package/dist/cli.js +5154 -444
- package/dist/cli.js.map +4 -4
- package/dist/report/assets/provider-authjs.svg +5 -0
- package/dist/report/assets/provider-aws.svg +5 -0
- package/dist/report/assets/provider-logrocket.svg +4 -0
- package/dist/report/assets/viberaven-logo.png +0 -0
- package/dist/report/report-cli.css +1446 -0
- package/dist/report/station.css +11619 -0
- package/package.json +9 -2
- package/templates/AGENTS.snippet.md +40 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viberaven/cli",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.2",
|
|
4
4
|
"description": "VibeRaven launch readiness for Claude Code, Codex, and terminal agents — scan, map, and agent-ready prompts.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "VibeRaven",
|
|
@@ -31,10 +31,13 @@
|
|
|
31
31
|
},
|
|
32
32
|
"files": [
|
|
33
33
|
"dist",
|
|
34
|
+
"assets/report",
|
|
34
35
|
"AGENTS.md",
|
|
36
|
+
"SECURITY.md",
|
|
35
37
|
"templates"
|
|
36
38
|
],
|
|
37
39
|
"scripts": {
|
|
40
|
+
"sync-report-assets": "node scripts/sync-report-assets.mjs",
|
|
38
41
|
"build": "node scripts/build.mjs",
|
|
39
42
|
"dev": "node scripts/build.mjs && node dist/cli.js",
|
|
40
43
|
"typecheck": "tsc -p tsconfig.json",
|
|
@@ -42,11 +45,15 @@
|
|
|
42
45
|
"verify:beta:smoke": "npm run build && node scripts/verify-beta-flow.mjs --smoke",
|
|
43
46
|
"verify:beta:live": "npm run build && node scripts/verify-beta-flow.mjs --live",
|
|
44
47
|
"test": "vitest run",
|
|
45
|
-
"prepublishOnly": "npm run typecheck && npm run test && npm run build"
|
|
48
|
+
"prepublishOnly": "npm run sync-report-assets && npm run typecheck && npm run test && npm run build"
|
|
46
49
|
},
|
|
47
50
|
"engines": {
|
|
48
51
|
"node": ">=20"
|
|
49
52
|
},
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"@clack/prompts": "^0.10.1",
|
|
55
|
+
"picocolors": "^1.1.1"
|
|
56
|
+
},
|
|
50
57
|
"devDependencies": {
|
|
51
58
|
"esbuild": "^0.25.0",
|
|
52
59
|
"typescript": "^5.8.0",
|
|
@@ -1,23 +1,54 @@
|
|
|
1
1
|
## VibeRaven launch readiness (CLI)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
### For humans
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
+
npx -y @viberaven/cli@beta login
|
|
6
7
|
npx -y @viberaven/cli@beta scan --open
|
|
7
8
|
```
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
Sign in once, then scan with `--open` to view the report in your browser.
|
|
11
|
+
|
|
12
|
+
### For agents (Claude Code, Codex, Cursor)
|
|
13
|
+
|
|
14
|
+
When the user asks if their AI-built app is production-ready, launch-ready, or what is missing before ship:
|
|
15
|
+
|
|
16
|
+
1. If not signed in: `npx -y @viberaven/cli@beta login` (browser device approval, once)
|
|
17
|
+
2. `npx -y @viberaven/cli@beta scan` — agents do not need `--open`
|
|
18
|
+
3. Read `.viberaven/agent-summary.md` — briefing for you
|
|
19
|
+
4. `npx -y @viberaven/cli@beta prompt` — copy-ready prompt for the top gap
|
|
20
|
+
5. Implement in the repo
|
|
21
|
+
6. `npx -y @viberaven/cli@beta scan` — verify readiness improved
|
|
10
22
|
|
|
11
|
-
|
|
23
|
+
Also available:
|
|
12
24
|
|
|
13
|
-
- `.viberaven/agent-summary.md` — briefing for you
|
|
14
25
|
- `.viberaven/last-scan.json` — full mission map + gaps
|
|
15
|
-
- `.viberaven/report.html` — visual map for the user
|
|
26
|
+
- `.viberaven/report.html` — visual map for the user (use `scan --open` when the user wants the browser map)
|
|
16
27
|
|
|
17
|
-
|
|
28
|
+
Repeat steps 4–6 until critical gaps are resolved.
|
|
29
|
+
|
|
30
|
+
If scan output says `LOGIN_REQUIRED`, stop and ask the user to complete:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
npx -y @viberaven/cli@beta login
|
|
34
|
+
```
|
|
18
35
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
36
|
+
Then rerun:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
npx -y @viberaven/cli@beta scan
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Stable scan labels:
|
|
43
|
+
|
|
44
|
+
- `READY` — scan finished; read `.viberaven/agent-summary.md` before changing code.
|
|
45
|
+
- `LOGIN_REQUIRED` — stop and ask the user to complete login.
|
|
46
|
+
- `UPGRADE_REQUIRED` — stop; the user must upgrade or wait for quota reset.
|
|
47
|
+
- `MANUAL_ACTION_REQUIRED` — provider dashboard, billing, DNS, webhook, MCP, or live verification needs user/provider action.
|
|
48
|
+
- `ERROR` — report the error and retry only when the cause is clear.
|
|
49
|
+
|
|
50
|
+
Run `viberaven prompt` or `viberaven prompt --gap <id>` for repo-code fixes.
|
|
51
|
+
|
|
52
|
+
Do not claim human-provider actions as repo-code fixes. Human-provider actions include dashboard setup, billing/product configuration, DNS, webhooks, provider credentials, quota upgrades, and read-only MCP/provider-live verification.
|
|
22
53
|
|
|
23
54
|
Same VibeRaven account and scan quota as the VS Code extension.
|