@viberaven/cli 0.1.0-beta.1 → 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 +114 -46
- package/README.md +22 -10
- package/assets/report/report-cli.css +602 -348
- package/assets/report/station.css +8008 -4625
- package/dist/cli.js +2477 -293
- package/dist/cli.js.map +4 -4
- package/dist/report/report-cli.css +602 -348
- package/dist/report/station.css +8008 -4625
- package/package.json +1 -1
- package/templates/AGENTS.snippet.md +24 -0
- package/assets/report/assets/raven-mark.svg +0 -7
- package/dist/report/assets/raven-mark.svg +0 -7
package/AGENTS.md
CHANGED
|
@@ -1,46 +1,114 @@
|
|
|
1
|
-
# VibeRaven CLI — agent instructions
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
-
|
|
46
|
-
|
|
1
|
+
# VibeRaven CLI — agent instructions
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
Use this when the user asks whether their app is **production-ready**, **launch-ready**, what they are **missing before ship**, or how to improve **auth / database / payments / deployment** on an AI-built project.
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## Humans (interactive menu)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
|
|
15
|
+
npx -y @viberaven/cli@beta
|
|
16
|
+
|
|
17
|
+
# or: viberaven tui
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
No subcommand needed — opens an interactive menu for scan, gaps, prompts, and sign-in.
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
## Run (agents — you run this, not the user)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
|
|
33
|
+
npx -y @viberaven/cli@beta scan
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
If not signed in:
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
|
|
45
|
+
npx -y @viberaven/cli@beta login
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
Then scan again. Agents should use `scan` without `--open`; open the report only when the user wants the browser map.
|
|
52
|
+
|
|
53
|
+
If scan output says `LOGIN_REQUIRED`, stop and ask the user to complete:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
npx -y @viberaven/cli@beta login
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Then rerun:
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
npx -y @viberaven/cli@beta scan
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Stable agent-readable labels:
|
|
66
|
+
|
|
67
|
+
- `READY` — scan finished; read `.viberaven/agent-summary.md` before changing code.
|
|
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
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
1. `.viberaven/agent-summary.md` — short briefing and top gaps
|
|
80
|
+
|
|
81
|
+
2. `.viberaven/last-scan.json` — full mission map, providers, checks
|
|
82
|
+
|
|
83
|
+
3. `.viberaven/report.html` — visual map for the user (human menu or `--open`)
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
## Fix loop
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
1. `npx -y @viberaven/cli@beta prompt` — stdout = copy-ready prompt for the top gap
|
|
92
|
+
|
|
93
|
+
Or: `viberaven prompt --gap <id>` / `--area database` / `--provider supabase`
|
|
94
|
+
|
|
95
|
+
2. Implement the change in the repo.
|
|
96
|
+
|
|
97
|
+
3. `npx -y @viberaven/cli@beta scan` — verify production core % and gap count improved.
|
|
98
|
+
|
|
99
|
+
4. Tell the user to review `.viberaven/report.html` for the provider map.
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
## Rules
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
- Do not skip the scan — VibeRaven uses repo evidence plus managed analysis, not generic checklists.
|
|
108
|
+
|
|
109
|
+
- Prefer fixing **critical** gaps first unless the user names an area.
|
|
110
|
+
|
|
111
|
+
- Do not claim external dashboard setup is done unless checks pass or the user confirmed manually.
|
|
112
|
+
|
|
113
|
+
- 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.
|
|
114
|
+
|
package/README.md
CHANGED
|
@@ -15,16 +15,24 @@ Uses the **same VibeRaven account and scan quota** as the VS Code extension. **D
|
|
|
15
15
|
|
|
16
16
|
## For coding agents
|
|
17
17
|
|
|
18
|
-
|
|
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.
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
|
-
npx -y @viberaven/cli@beta
|
|
22
|
-
npx -y @viberaven/cli@beta scan # no --open needed for agents
|
|
23
|
-
# read .viberaven/agent-summary.md
|
|
24
|
-
npx -y @viberaven/cli@beta prompt
|
|
25
|
-
# implement, then scan again
|
|
21
|
+
npx -y @viberaven/cli@beta scan
|
|
26
22
|
```
|
|
27
23
|
|
|
24
|
+
If output includes `LOGIN_REQUIRED`, ask the user to run:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npx -y @viberaven/cli@beta login
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
After the browser/device login completes, run scan again. Then read `.viberaven/agent-summary.md`, run `viberaven prompt` or `viberaven prompt --gap <id>`, implement the repo-code fix, and run `npx -y @viberaven/cli@beta scan` again.
|
|
31
|
+
|
|
32
|
+
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.
|
|
33
|
+
|
|
34
|
+
See [AGENTS.md](./AGENTS.md). Paste [templates/AGENTS.snippet.md](./templates/AGENTS.snippet.md) into your repo's `AGENTS.md`.
|
|
35
|
+
|
|
28
36
|
## Artifacts
|
|
29
37
|
|
|
30
38
|
| File | Purpose |
|
|
@@ -33,9 +41,11 @@ npx -y @viberaven/cli@beta prompt
|
|
|
33
41
|
| `.viberaven/agent-summary.md` | Short briefing for agents |
|
|
34
42
|
| `.viberaven/report.html` | Visual mission map + `report/station.css` (extension editorial UI) |
|
|
35
43
|
|
|
36
|
-
## Switch providers (matches the extension map)
|
|
37
|
-
|
|
38
|
-
The report shows
|
|
44
|
+
## Switch providers (matches the extension map)
|
|
45
|
+
|
|
46
|
+
The report shows provider paths per production area. Clicking a provider in `.viberaven/report.html` updates the static map view for review; it does not silently persist or claim that provider is connected.
|
|
47
|
+
|
|
48
|
+
To persist a provider choice for the next scan, use:
|
|
39
49
|
|
|
40
50
|
```bash
|
|
41
51
|
viberaven stack set database neon && viberaven scan --open
|
|
@@ -49,7 +59,9 @@ viberaven stack list
|
|
|
49
59
|
viberaven stack clear # remove all overrides
|
|
50
60
|
```
|
|
51
61
|
|
|
52
|
-
The next `scan` re-maps that area using your chosen provider.
|
|
62
|
+
The next `scan` re-maps that area using your chosen provider.
|
|
63
|
+
|
|
64
|
+
Agent-readable scan labels are stable: `READY`, `LOGIN_REQUIRED`, `UPGRADE_REQUIRED`, `MANUAL_ACTION_REQUIRED`, and `ERROR`.
|
|
53
65
|
|
|
54
66
|
## Development
|
|
55
67
|
|