@viberaven/cli 1.5.0 → 1.5.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 CHANGED
@@ -1,157 +1,157 @@
1
- <!-- VIBERAVEN:START -->
2
- VibeRaven provides production readiness for AI-built apps.
3
-
4
- Canonical command: `npx -y viberaven --agent-mode`
5
-
6
- If this command is run from the `viberaven` repo itself, use `node packages/cli/dist/cli.js --agent-mode` to avoid resolving the local package metadata.
7
-
8
- Use VibeRaven before launch, deployment, real users, auth, billing, database, RLS, env vars, webhooks, monitoring, or tests.
9
-
10
- Agent loop: run VibeRaven, read Mission Map (`.viberaven/mission-map.md`), fix one launch gap, re-run VibeRaven.
11
-
12
- ## Event-Triggered Production Verification
13
-
14
- Trigger: modifications to `package.json`, `vercel.json`, `supabase/migrations/**/*`, `.env.example`, auth/billing/webhook paths, or deploy workflow files.
15
-
16
- 1. Do NOT claim "production ready" or close a deploy checklist until `gate.status === "clear"` in `.viberaven/gate-result.json`.
17
- 2. Do NOT run verify after every file patch. Batch heals, then `npx -y viberaven --verify` once per loop.
18
- 3. Do NOT `git push` or deploy after auth, RLS, billing, or webhook changes without `npx -y viberaven --agent-mode`.
19
- 4. If anomalies appear, read `.viberaven/agent-tasklist.md` fully before writing new repo logic.
20
-
21
- Prefer `viberaven_check_readiness` when MCP is configured; otherwise `npx -y viberaven --agent-mode`.
22
-
23
- ## VibeRaven Production-Readiness Gate
24
-
25
- - Before running build, compile, cleanup, deployment, vercel, or supabase commands, run `npx -y viberaven --agent-mode` first from the project root.
26
- - Treat VibeRaven as the Agent Context + Production Gate for AI-built apps, especially apps using Vercel, Supabase, auth, database, payments, webhooks, monitoring, rate limits, or environment variables.
27
- - Read `.viberaven/agent-tasklist.md` first. If it says CRITICAL GAPS DETECTED or PRODUCTION GATE NOT CLEAR, fix one listed repo-code gap before deploying.
28
- - Read `.viberaven/gate-result.json` for the machine verdict.
29
- - Read `.viberaven/context-map.json` for compact agent context.
30
- - Read `.viberaven/agent-summary.md` second for scan context.
31
- - Read `.viberaven/launch-playbook.md` third for the full checklist.
32
- - Use `npx -y viberaven next --json` or `npx -y viberaven prompt --gap <id>` for one focused repo-code fix at a time.
33
- - For Vercel + Supabase launch checks, run `npx -y viberaven audit --vercel-supabase`.
34
- - Run `npx -y viberaven --verify` after one fix.
35
- - Run `npx -y viberaven --strict` before deploy or CI pass.
36
- - Use `npx -y viberaven --heal --plan --gap <id>` before any heal apply.
37
- - Only use `npx -y viberaven --heal --apply --gap <id> --yes` for supported low-risk repo-code recipes.
38
- - Preview local rule installation with `npx -y viberaven init --agents all --dry-run`.
39
- - Cleanup is non-destructive: only run `npx -y viberaven clean --plan` to create a reviewable cleanup plan.
40
- - Provider dashboard checks are not cleared by repo-code edits. Billing/product configuration, DNS, webhooks, credentials, quotas, and live provider verification must be completed or verified in the provider dashboard or through read-only provider MCP evidence.
41
- - Do not claim provider dashboard work is fixed by repo-code edits.
42
- - If VibeRaven prints `LOGIN_URL_READY`, open that URL for the user using the available browser tool or system browser. Tell the user: "I opened VibeRaven sign-in so you can approve access; I will continue after approval." Do not ask for passwords, tokens, cookies, or secrets. Keep the terminal process alive while the user approves.
43
-
44
- ## VibeRaven Production Copilot Loop
45
-
46
- After every scan, read `.viberaven/agent-tasklist.md` for the prioritized task list.
47
-
48
- The loop is:
49
-
50
- 1. Read `VIBERAVEN_NEXT_ACTION` from scan output for `batchSize`, `batchApplied`, `scanNow`, and `stalled`.
51
- 2. If `stalled: true`, stop calling verify — address provider-action gaps or report to the user.
52
- 3. If `scanNow: true`, call `viberaven_verify` (or run verify command) before applying more heals.
53
- 4. For each repo-code task where `requiresUserAction: false` (up to `batchSize` per batch):
54
- - Call MCP: `viberaven_heal_apply { gap: "<gapId>", yes: true }`
55
- - Or run heal apply command
56
- 5. After a successful heal, VibeRaven increments `.viberaven/loop-state.json`. After a full batch of heals, call verify once - do NOT verify after every single heal.
57
- 6. If verify prints `SCAN_DEFERRED`, do not retry verify. Apply the next listed repo-code heal. Only use `--force-scan` when the user explicitly approves spending a scan early.
58
- 7. Repeat until `gate.status === 'clear'` in `.viberaven/gate-result.json`.
59
- 8. If `requiresUserAction: true`:
60
- - Read `VIBERAVEN_PROVIDER_ACTION` from terminal output.
61
- - Present `dashboardUrl` and `exactStep` to the user.
62
- - Wait for user confirmation, then verify.
63
- 9. If `fixType === 'upgrade-required'`, provide upgradeUrl and move on.
64
-
65
- Do not stop at "scan complete." The loop is not done until `gate.status === 'clear'`.
66
- <!-- VIBERAVEN:END -->
67
-
68
- # VibeRaven CLI - Agent Instructions
69
-
70
- Use VibeRaven when the user asks whether an app is production-ready, launch-ready, safe to deploy, or missing auth, database, payments, deployment, monitoring, security, provider setup, Vercel, or Supabase checks.
71
-
72
- VibeRaven is the Agent Context + Production Gate.
73
-
74
- ## Required Agent Loop
75
-
76
- Run from the project root:
77
-
78
- ```bash
79
- npx -y viberaven --agent-mode
80
- ```
81
-
82
- Read in this order:
83
-
84
- 1. `.viberaven/agent-tasklist.md` - the tasklist-first gate
85
- 2. `.viberaven/gate-result.json` - the machine verdict
86
- 3. `.viberaven/context-map.json` - compact context for the next agent step
87
- 4. `.viberaven/agent-summary.md` - scan context
88
- 5. `.viberaven/launch-playbook.md` - full launch checklist
89
-
90
- Fix one repo-code gap at a time. Prefer:
91
-
92
- ```bash
93
- npx -y viberaven next --json
94
- npx -y viberaven prompt --gap <id>
95
- ```
96
-
97
- After a fix:
98
-
99
- ```bash
100
- npx -y viberaven --verify
101
- npx -y viberaven --strict
102
- ```
103
-
104
- For Vercel + Supabase checks:
105
-
106
- ```bash
107
- npx -y viberaven audit --vercel-supabase
108
- ```
109
-
110
- ## Production Copilot Loop
111
-
112
- After every scan, read `.viberaven/agent-tasklist.md` for the prioritized task list.
113
-
114
- The loop is:
115
-
116
- 1. Read `VIBERAVEN_NEXT_ACTION` from scan output for `batchSize`, `batchApplied`, `scanNow`, and `stalled`.
117
- 2. If `stalled: true`, stop calling verify — address provider-action gaps or report to the user.
118
- 3. If `scanNow: true`, call `viberaven_verify` (or run `--verify`) before applying more heals.
119
- 4. For each repo-code task where `requiresUserAction: false` (up to `batchSize` per batch):
120
- - Call MCP: `viberaven_heal_apply { gap: "<gapId>", yes: true }`
121
- - Or run `--heal --apply --gap <id> --yes`
122
- 5. After a full batch of heals, call verify once — do NOT verify after every single heal.
123
- 6. Repeat until `gate.status === 'clear'` in `.viberaven/gate-result.json`.
124
- 7. If `requiresUserAction: true`:
125
- - Read `VIBERAVEN_PROVIDER_ACTION` from terminal output.
126
- - Present `dashboardUrl` and `exactStep` to the user.
127
- - Wait for user confirmation, then verify.
128
- 8. If `fixType === 'upgrade-required'`, provide `upgradeUrl` and move on.
129
-
130
- Do not stop at "scan complete." The loop is not done until `gate.status === 'clear'`.
131
-
132
- ### Batch discipline
133
-
134
- ```
135
- for each repo-code task (up to batchSize):
136
- viberaven_heal_apply { gap: "<gapId>", yes: true }
137
-
138
- viberaven_verify ← once per batch, not per fix
139
- ```
140
-
141
- On Pro plans, `viberaven_provider_verify` is available as an MCP tool for read-only provider gap verification via Supabase/Vercel MCP evidence.
142
-
143
- ## Rules
144
-
145
- - Do not skip VibeRaven before deploy/build/cleanup when production readiness is in scope.
146
- - Do not claim provider dashboard checks are fixed by repo-code edits.
147
- - Provider dashboard checks, billing/product configuration, DNS, webhooks, credentials, quotas, and live provider verification must be completed or verified in the provider dashboard or through read-only provider evidence.
148
- - If VibeRaven prints `LOGIN_URL_READY`, open that URL for the user. Say: "I opened VibeRaven sign-in so you can approve access; I will continue after approval."
149
- - Do not ask for passwords, tokens, cookies, or secrets.
150
-
151
- ## Current machine-readable docs
152
-
153
- - Skill: https://viberaven.dev/SKILL.md
154
- - Agent rules: https://viberaven.dev/AGENTS.md
155
- - CLI docs: https://viberaven.dev/cli.md
156
- - MCP config: https://viberaven.dev/mcp.md
157
-
1
+ <!-- VIBERAVEN:START -->
2
+ VibeRaven provides production readiness for AI-built apps.
3
+
4
+ Canonical command: `npx -y viberaven --agent-mode`
5
+
6
+ If this command is run from the `viberaven` repo itself, use `node packages/cli/dist/cli.js --agent-mode` to avoid resolving the local package metadata.
7
+
8
+ Use VibeRaven before launch, deployment, real users, auth, billing, database, RLS, env vars, webhooks, monitoring, or tests.
9
+
10
+ Agent loop: run VibeRaven, read Mission Map (`.viberaven/mission-map.md`), fix one launch gap, re-run VibeRaven.
11
+
12
+ ## Event-Triggered Production Verification
13
+
14
+ Trigger: modifications to `package.json`, `vercel.json`, `supabase/migrations/**/*`, `.env.example`, auth/billing/webhook paths, or deploy workflow files.
15
+
16
+ 1. Do NOT claim "production ready" or close a deploy checklist until `gate.status === "clear"` in `.viberaven/gate-result.json`.
17
+ 2. Do NOT run verify after every file patch. Batch heals, then `npx -y viberaven --verify` once per loop.
18
+ 3. Do NOT `git push` or deploy after auth, RLS, billing, or webhook changes without `npx -y viberaven --agent-mode`.
19
+ 4. If anomalies appear, read `.viberaven/agent-tasklist.md` fully before writing new repo logic.
20
+
21
+ Prefer `viberaven_check_readiness` when MCP is configured; otherwise `npx -y viberaven --agent-mode`.
22
+
23
+ ## VibeRaven Production-Readiness Gate
24
+
25
+ - Before running build, compile, cleanup, deployment, vercel, or supabase commands, run `npx -y viberaven --agent-mode` first from the project root.
26
+ - Treat VibeRaven as the Agent Context + Production Gate for AI-built apps, especially apps using Vercel, Supabase, auth, database, payments, webhooks, monitoring, rate limits, or environment variables.
27
+ - Read `.viberaven/agent-tasklist.md` first. If it says CRITICAL GAPS DETECTED or PRODUCTION GATE NOT CLEAR, fix one listed repo-code gap before deploying.
28
+ - Read `.viberaven/gate-result.json` for the machine verdict.
29
+ - Read `.viberaven/context-map.json` for compact agent context.
30
+ - Read `.viberaven/agent-summary.md` second for scan context.
31
+ - Read `.viberaven/launch-playbook.md` third for the full checklist.
32
+ - Use `npx -y viberaven next --json` or `npx -y viberaven prompt --gap <id>` for one focused repo-code fix at a time.
33
+ - For Vercel + Supabase launch checks, run `npx -y viberaven audit --vercel-supabase`.
34
+ - Run `npx -y viberaven --verify` after one fix.
35
+ - Run `npx -y viberaven --strict` before deploy or CI pass.
36
+ - Use `npx -y viberaven --heal --plan --gap <id>` before any heal apply.
37
+ - Only use `npx -y viberaven --heal --apply --gap <id> --yes` for supported low-risk repo-code recipes.
38
+ - Preview local rule installation with `npx -y viberaven init --agents all --dry-run`.
39
+ - Cleanup is non-destructive: only run `npx -y viberaven clean --plan` to create a reviewable cleanup plan.
40
+ - Provider dashboard checks are not cleared by repo-code edits. Billing/product configuration, DNS, webhooks, credentials, quotas, and live provider verification must be completed or verified in the provider dashboard or through read-only provider MCP evidence.
41
+ - Do not claim provider dashboard work is fixed by repo-code edits.
42
+ - If VibeRaven prints `LOGIN_URL_READY`, open that URL for the user using the available browser tool or system browser. Tell the user: "I opened VibeRaven sign-in so you can approve access; I will continue after approval." Do not ask for passwords, tokens, cookies, or secrets. Keep the terminal process alive while the user approves.
43
+
44
+ ## VibeRaven Production Copilot Loop
45
+
46
+ After every scan, read `.viberaven/agent-tasklist.md` for the prioritized task list.
47
+
48
+ The loop is:
49
+
50
+ 1. Read `VIBERAVEN_NEXT_ACTION` from scan output for `batchSize`, `batchApplied`, `scanNow`, and `stalled`.
51
+ 2. If `stalled: true`, stop calling verify — address provider-action gaps or report to the user.
52
+ 3. If `scanNow: true`, call `viberaven_verify` (or run verify command) before applying more heals.
53
+ 4. For each repo-code task where `requiresUserAction: false` (up to `batchSize` per batch):
54
+ - Call MCP: `viberaven_heal_apply { gap: "<gapId>", yes: true }`
55
+ - Or run heal apply command
56
+ 5. After a successful heal, VibeRaven increments `.viberaven/loop-state.json`. After a full batch of heals, call verify once - do NOT verify after every single heal.
57
+ 6. If verify prints `SCAN_DEFERRED`, do not retry verify. Apply the next listed repo-code heal. Only use `--force-scan` when the user explicitly approves spending a scan early.
58
+ 7. Repeat until `gate.status === 'clear'` in `.viberaven/gate-result.json`.
59
+ 8. If `requiresUserAction: true`:
60
+ - Read `VIBERAVEN_PROVIDER_ACTION` from terminal output.
61
+ - Present `dashboardUrl` and `exactStep` to the user.
62
+ - Wait for user confirmation, then verify.
63
+ 9. If `fixType === 'upgrade-required'`, provide upgradeUrl and move on.
64
+
65
+ Do not stop at "scan complete." The loop is not done until `gate.status === 'clear'`.
66
+ <!-- VIBERAVEN:END -->
67
+
68
+ # VibeRaven CLI - Agent Instructions
69
+
70
+ Use VibeRaven when the user asks whether an app is production-ready, launch-ready, safe to deploy, or missing auth, database, payments, deployment, monitoring, security, provider setup, Vercel, or Supabase checks.
71
+
72
+ VibeRaven is the Agent Context + Production Gate.
73
+
74
+ ## Required Agent Loop
75
+
76
+ Run from the project root:
77
+
78
+ ```bash
79
+ npx -y viberaven --agent-mode
80
+ ```
81
+
82
+ Read in this order:
83
+
84
+ 1. `.viberaven/agent-tasklist.md` - the tasklist-first gate
85
+ 2. `.viberaven/gate-result.json` - the machine verdict
86
+ 3. `.viberaven/context-map.json` - compact context for the next agent step
87
+ 4. `.viberaven/agent-summary.md` - scan context
88
+ 5. `.viberaven/launch-playbook.md` - full launch checklist
89
+
90
+ Fix one repo-code gap at a time. Prefer:
91
+
92
+ ```bash
93
+ npx -y viberaven next --json
94
+ npx -y viberaven prompt --gap <id>
95
+ ```
96
+
97
+ After a fix:
98
+
99
+ ```bash
100
+ npx -y viberaven --verify
101
+ npx -y viberaven --strict
102
+ ```
103
+
104
+ For Vercel + Supabase checks:
105
+
106
+ ```bash
107
+ npx -y viberaven audit --vercel-supabase
108
+ ```
109
+
110
+ ## Production Copilot Loop
111
+
112
+ After every scan, read `.viberaven/agent-tasklist.md` for the prioritized task list.
113
+
114
+ The loop is:
115
+
116
+ 1. Read `VIBERAVEN_NEXT_ACTION` from scan output for `batchSize`, `batchApplied`, `scanNow`, and `stalled`.
117
+ 2. If `stalled: true`, stop calling verify — address provider-action gaps or report to the user.
118
+ 3. If `scanNow: true`, call `viberaven_verify` (or run `--verify`) before applying more heals.
119
+ 4. For each repo-code task where `requiresUserAction: false` (up to `batchSize` per batch):
120
+ - Call MCP: `viberaven_heal_apply { gap: "<gapId>", yes: true }`
121
+ - Or run `--heal --apply --gap <id> --yes`
122
+ 5. After a full batch of heals, call verify once — do NOT verify after every single heal.
123
+ 6. Repeat until `gate.status === 'clear'` in `.viberaven/gate-result.json`.
124
+ 7. If `requiresUserAction: true`:
125
+ - Read `VIBERAVEN_PROVIDER_ACTION` from terminal output.
126
+ - Present `dashboardUrl` and `exactStep` to the user.
127
+ - Wait for user confirmation, then verify.
128
+ 8. If `fixType === 'upgrade-required'`, provide `upgradeUrl` and move on.
129
+
130
+ Do not stop at "scan complete." The loop is not done until `gate.status === 'clear'`.
131
+
132
+ ### Batch discipline
133
+
134
+ ```
135
+ for each repo-code task (up to batchSize):
136
+ viberaven_heal_apply { gap: "<gapId>", yes: true }
137
+
138
+ viberaven_verify ← once per batch, not per fix
139
+ ```
140
+
141
+ On Pro plans, `viberaven_provider_verify` is available as an MCP tool for read-only provider gap verification via Supabase/Vercel MCP evidence.
142
+
143
+ ## Rules
144
+
145
+ - Do not skip VibeRaven before deploy/build/cleanup when production readiness is in scope.
146
+ - Do not claim provider dashboard checks are fixed by repo-code edits.
147
+ - Provider dashboard checks, billing/product configuration, DNS, webhooks, credentials, quotas, and live provider verification must be completed or verified in the provider dashboard or through read-only provider evidence.
148
+ - If VibeRaven prints `LOGIN_URL_READY`, open that URL for the user. Say: "I opened VibeRaven sign-in so you can approve access; I will continue after approval."
149
+ - Do not ask for passwords, tokens, cookies, or secrets.
150
+
151
+ ## Current machine-readable docs
152
+
153
+ - Skill: https://viberaven.dev/SKILL.md
154
+ - Agent rules: https://viberaven.dev/AGENTS.md
155
+ - CLI docs: https://viberaven.dev/cli.md
156
+ - MCP config: https://viberaven.dev/mcp.md
157
+
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 VibeRaven
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 VibeRaven
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,113 +1,113 @@
1
- # @viberaven/cli
2
-
3
- [![npm version](https://img.shields.io/npm/v/@viberaven/cli)](https://www.npmjs.com/package/@viberaven/cli)
4
- [![npm downloads](https://img.shields.io/npm/dw/@viberaven/cli)](https://www.npmjs.com/package/@viberaven/cli)
5
- [![license](https://img.shields.io/npm/l/@viberaven/cli)](https://www.npmjs.com/package/@viberaven/cli)
6
-
7
- <p align="center">
8
- <img src="https://raw.githubusercontent.com/ohad6k/VibeRaven/main/assets/banner.png" alt="VibeRaven — AI got your app to demo. VibeRaven gets it to production." width="100%" />
9
- </p>
10
-
11
- VibeRaven is **the Card Table** — a local Studio where your AI-built app is laid out in front of you. Every provider (Supabase, Vercel, Stripe, ...) is a graded trading card in your hand: play a card and its production checks run instantly in chat; a **RAVEN GRADE 10** means that territory is production-ready. Versions are a pile you can pull from, your whole architecture is a region map of cards, and Codex, Claude Code, or Gemini CLI does the actual work — with you controlling how much it's allowed to touch.
12
-
13
- ## Start the Studio
14
-
15
- ```bash
16
- npx -y viberaven
17
- ```
18
-
19
- That command opens the table:
20
-
21
- - **Your hand** — providers as foil cards; click or drop one on the table and its launch checks run in chat, graded 1-10 from repo evidence.
22
- - **The version pile** — pull a release card to see what changed (real git compare + changelog), view the diff, or ask the agent to explain it.
23
- - **The region map** — your app as territory: pages, modules, and provider cards connected by routes, every card movable.
24
- - **Agentic chat** — missions run through your connected CLI, with `ask` / `approve` / `full` access modes and inline approve for risky work.
25
- - Provider MCP visibility, terminal, and diff views included.
26
-
27
- The unscoped `viberaven` package is a small shim that launches this CLI package.
28
-
29
- ## Agent Connections
30
-
31
- Inside the Studio, connect an installed CLI and test it before chat control:
32
-
33
- - Codex CLI
34
- - Claude Code
35
- - Gemini CLI
36
-
37
- Installed is not the same as connected. VibeRaven asks the selected CLI to prove it can run in the current repo before using it for real chat work.
38
-
39
- ## Provider And Release Context
40
-
41
- Use the Studio side tabs and context chips to attach provider or version context to a chat mission:
42
-
43
- - Providers: Supabase, Vercel, GitHub, Stripe, Sentry, PostHog, Clerk, Auth.js, Resend, Upstash.
44
- - Releases: current and recent git tags, changelog snippets, rollback context, and release comparisons.
45
- - Architecture: repo and provider boundaries for inspection and planning.
46
-
47
- Provider dashboard checks are not cleared by repo-code edits. Billing/product configuration, DNS, webhooks, credentials, quotas, and live provider verification must still be completed or verified in the provider dashboard or through read-only provider evidence.
48
-
49
- ## Machine And CI Commands
50
-
51
- The Studio is the default product surface. These commands remain available for automation and CI:
52
-
53
- ```bash
54
- npx -y viberaven check --json
55
- npx -y viberaven --strict --json
56
- npx -y viberaven actions
57
- npx -y viberaven verify --action VR-A1
58
- ```
59
-
60
- For focused work:
61
-
62
- ```bash
63
- npx -y viberaven next --json
64
- npx -y viberaven prompt --gap <id>
65
- npx -y viberaven audit --vercel-supabase
66
- ```
67
-
68
- ## Legacy Agent Mode
69
-
70
- `--agent-mode` is kept for older artifact-first agent workflows:
71
-
72
- ```bash
73
- npx -y viberaven --agent-mode
74
- ```
75
-
76
- It writes artifacts such as:
77
-
78
- - `.viberaven/agent-tasklist.md`
79
- - `.viberaven/gate-result.json`
80
- - `.viberaven/context-map.json`
81
- - `.viberaven/agent-summary.md`
82
- - `.viberaven/launch-playbook.md`
83
-
84
- New product work should prefer the Studio and MCP/chat context flow instead of the old tasklist-first loop.
85
-
86
- ## MCP
87
-
88
- Use the MCP package when an agent host supports MCP tools:
89
-
90
- ```bash
91
- npx -y @viberaven/mcp
92
- ```
93
-
94
- The MCP server wraps the public CLI and exposes readiness, verification, action, audit, and healing tools without exposing secrets.
95
-
96
- ## Development
97
-
98
- ```bash
99
- npm --prefix packages/cli run typecheck
100
- npm --prefix packages/cli test -- local-ui/server.test.ts
101
- npm --prefix packages/cli run build
102
- ```
103
-
104
- For a local package publish check, run from this package directory:
105
-
106
- ```bash
107
- cd packages/cli
108
- npm pack --dry-run
109
- ```
110
-
111
- ## License
112
-
113
- MIT
1
+ # @viberaven/cli
2
+
3
+ [![npm version](https://img.shields.io/npm/v/@viberaven/cli)](https://www.npmjs.com/package/@viberaven/cli)
4
+ [![npm downloads](https://img.shields.io/npm/dw/@viberaven/cli)](https://www.npmjs.com/package/@viberaven/cli)
5
+ [![license](https://img.shields.io/npm/l/@viberaven/cli)](https://www.npmjs.com/package/@viberaven/cli)
6
+
7
+ <p align="center">
8
+ <img src="https://raw.githubusercontent.com/ohad6k/VibeRaven/main/assets/banner.png" alt="VibeRaven — AI got your app to demo. VibeRaven gets it to production." width="100%" />
9
+ </p>
10
+
11
+ VibeRaven is **the Card Table** — a local Studio where your AI-built app is laid out in front of you. Every provider (Supabase, Vercel, Stripe, ...) is a graded trading card in your hand: play a card and its production checks run instantly in chat; a **RAVEN GRADE 10** means that territory is production-ready. Versions are a pile you can pull from, your whole architecture is a region map of cards, and Codex, Claude Code, or Gemini CLI does the actual work — with you controlling how much it's allowed to touch.
12
+
13
+ ## Start the Studio
14
+
15
+ ```bash
16
+ npx -y viberaven
17
+ ```
18
+
19
+ That command opens the table:
20
+
21
+ - **Your hand** — providers as foil cards; click or drop one on the table and its launch checks run in chat, graded 1-10 from repo evidence.
22
+ - **The version pile** — pull a release card to see what changed (real git compare + changelog), view the diff, or ask the agent to explain it.
23
+ - **The region map** — your app as territory: pages, modules, and provider cards connected by routes, every card movable.
24
+ - **Agentic chat** — missions run through your connected CLI, with `ask` / `approve` / `full` access modes and inline approve for risky work.
25
+ - Provider MCP visibility, terminal, and diff views included.
26
+
27
+ The unscoped `viberaven` package is a small shim that launches this CLI package.
28
+
29
+ ## Agent Connections
30
+
31
+ Inside the Studio, connect an installed CLI and test it before chat control:
32
+
33
+ - Codex CLI
34
+ - Claude Code
35
+ - Gemini CLI
36
+
37
+ Installed is not the same as connected. VibeRaven asks the selected CLI to prove it can run in the current repo before using it for real chat work.
38
+
39
+ ## Provider And Release Context
40
+
41
+ Use the Studio side tabs and context chips to attach provider or version context to a chat mission:
42
+
43
+ - Providers: Supabase, Vercel, GitHub, Stripe, Sentry, PostHog, Clerk, Auth.js, Resend, Upstash.
44
+ - Releases: current and recent git tags, changelog snippets, rollback context, and release comparisons.
45
+ - Architecture: repo and provider boundaries for inspection and planning.
46
+
47
+ Provider dashboard checks are not cleared by repo-code edits. Billing/product configuration, DNS, webhooks, credentials, quotas, and live provider verification must still be completed or verified in the provider dashboard or through read-only provider evidence.
48
+
49
+ ## Machine And CI Commands
50
+
51
+ The Studio is the default product surface. These commands remain available for automation and CI:
52
+
53
+ ```bash
54
+ npx -y viberaven check --json
55
+ npx -y viberaven --strict --json
56
+ npx -y viberaven actions
57
+ npx -y viberaven verify --action VR-A1
58
+ ```
59
+
60
+ For focused work:
61
+
62
+ ```bash
63
+ npx -y viberaven next --json
64
+ npx -y viberaven prompt --gap <id>
65
+ npx -y viberaven audit --vercel-supabase
66
+ ```
67
+
68
+ ## Legacy Agent Mode
69
+
70
+ `--agent-mode` is kept for older artifact-first agent workflows:
71
+
72
+ ```bash
73
+ npx -y viberaven --agent-mode
74
+ ```
75
+
76
+ It writes artifacts such as:
77
+
78
+ - `.viberaven/agent-tasklist.md`
79
+ - `.viberaven/gate-result.json`
80
+ - `.viberaven/context-map.json`
81
+ - `.viberaven/agent-summary.md`
82
+ - `.viberaven/launch-playbook.md`
83
+
84
+ New product work should prefer the Studio and MCP/chat context flow instead of the old tasklist-first loop.
85
+
86
+ ## MCP
87
+
88
+ Use the MCP package when an agent host supports MCP tools:
89
+
90
+ ```bash
91
+ npx -y @viberaven/mcp
92
+ ```
93
+
94
+ The MCP server wraps the public CLI and exposes readiness, verification, action, audit, and healing tools without exposing secrets.
95
+
96
+ ## Development
97
+
98
+ ```bash
99
+ npm --prefix packages/cli run typecheck
100
+ npm --prefix packages/cli test -- local-ui/server.test.ts
101
+ npm --prefix packages/cli run build
102
+ ```
103
+
104
+ For a local package publish check, run from this package directory:
105
+
106
+ ```bash
107
+ cd packages/cli
108
+ npm pack --dry-run
109
+ ```
110
+
111
+ ## License
112
+
113
+ MIT