@viberaven/cli 0.1.0-beta.4 → 0.1.0-beta.7

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 CHANGED
@@ -36,43 +36,21 @@ npx -y @viberaven/cli@beta scan
36
36
 
37
37
 
38
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
- ```
39
+ If not signed in, `scan` starts VibeRaven sign-in, opens the browser approval page when possible, waits for the user to approve the editor/agent connection, then continues the scan.
64
40
 
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.
41
+ If the local agent environment cannot open a browser, show the printed `Open:` URL to the user. After approval, rerun `npx -y @viberaven/cli@beta scan`.
72
42
 
43
+ Manual fallback if the scan flow cannot start login:
73
44
 
45
+ ```bash
46
+ npx -y @viberaven/cli@beta login
47
+ ```
74
48
 
75
- ## Read
49
+ Agents should use `scan` without `--open`; open the report only when the user wants the browser map.
50
+
51
+
52
+
53
+ ## Read
76
54
 
77
55
 
78
56
 
package/README.md CHANGED
@@ -4,41 +4,43 @@ Launch readiness for Claude Code, Codex, and other coding agents — same missio
4
4
 
5
5
  ## For humans
6
6
 
7
+ ```bash
8
+ npx -y @viberaven/cli@beta login
9
+ npx -y @viberaven/cli@beta scan --open
10
+ ```
11
+
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.
13
+
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).
15
+
16
+ ## For coding agents
17
+
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
+
20
+ ```bash
21
+ npx -y @viberaven/cli@beta scan
22
+ ```
23
+
24
+ If login is missing, `scan` starts VibeRaven sign-in, opens the browser approval page when possible, waits for the user to approve the connection, then continues the scan.
25
+
26
+ If the local agent environment cannot open a browser, show the printed `Open:` URL to the user. After they approve it, rerun:
27
+
7
28
  ```bash
8
- npx -y @viberaven/cli@beta
29
+ npx -y @viberaven/cli@beta scan
9
30
  ```
10
31
 
11
- Use the menu to sign in, sign out, scan, open `.viberaven/report.html`, copy the top prompt, and rescan. Direct commands also work:
32
+ Manual fallback:
12
33
 
13
34
  ```bash
14
35
  npx -y @viberaven/cli@beta login
15
- npx -y @viberaven/cli@beta logout
16
- npx -y @viberaven/cli@beta status
17
- npx -y @viberaven/cli@beta scan --open
18
36
  ```
19
-
20
- 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).
21
-
22
- Quota:
23
-
24
- - Free: 2 lifetime scans
25
- - Pro: 50 scans per month
26
37
 
27
- ## For coding agents
28
-
29
- Use VibeRaven when the user asks whether an AI-built app is launch-ready, production-ready, or missing auth/database/payments/deployment/security work.
30
-
31
- ```bash
32
- npx -y @viberaven/cli@beta scan
33
- ```
34
-
35
- If output includes `LOGIN_REQUIRED`, ask the user to run:
38
+ Read `.viberaven/agent-summary.md` and `.viberaven/launch-playbook.md`. Loop:
36
39
 
37
- ```bash
38
- npx -y @viberaven/cli@beta login
39
- ```
40
-
41
- 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.
40
+ 1. `viberaven next --json`
41
+ 2. Repo fix → `viberaven prompt --gap <id>` → implement → `viberaven report` (free) or `scan`
42
+ 3. Provider → `viberaven guide <provider>` and `viberaven open <provider>`
43
+ 4. Repeat until done; check `viberaven status --json` before each new scan
42
44
 
43
45
  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.
44
46
 
@@ -49,14 +51,13 @@ See [AGENTS.md](./AGENTS.md). Paste [templates/AGENTS.snippet.md](./templates/AG
49
51
  | File | Purpose |
50
52
  |------|---------|
51
53
  | `.viberaven/last-scan.json` | Full scan payload |
52
- | `.viberaven/agent-summary.md` | Short briefing for agents |
54
+ | `.viberaven/agent-summary.md` | Short briefing + next action for agents |
55
+ | `.viberaven/launch-playbook.md` | Ordered launch checklist |
53
56
  | `.viberaven/report.html` | Visual mission map + `report/station.css` (extension editorial UI) |
54
57
 
55
- ## Switch providers (matches the extension map)
56
-
57
- 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.
58
-
59
- To persist a provider choice for the next scan, use:
58
+ ## Switch providers (matches the extension map)
59
+
60
+ The report shows a provider switch per production area (database, auth, payments, deployment, monitoring, security). Picking one copies a command:
60
61
 
61
62
  ```bash
62
63
  viberaven stack set database neon && viberaven scan --open
@@ -70,9 +71,7 @@ viberaven stack list
70
71
  viberaven stack clear # remove all overrides
71
72
  ```
72
73
 
73
- The next `scan` re-maps that area using your chosen provider.
74
-
75
- Agent-readable scan labels are stable: `READY`, `LOGIN_REQUIRED`, `UPGRADE_REQUIRED`, `MANUAL_ACTION_REQUIRED`, and `ERROR`.
74
+ The next `scan` re-maps that area using your chosen provider.
76
75
 
77
76
  ## Development
78
77