@viberaven/cli 1.4.4 → 1.5.0

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/README.md CHANGED
@@ -1,115 +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="assets/report/assets/viberaven-hero.png" alt="VibeRaven — the raven fanning its hand of provider cards" width="460" />
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
- ![The VibeRaven Card Table](assets/report/assets/viberaven-table.png)
14
-
15
- ## Start the Studio
16
-
17
- ```bash
18
- npx -y viberaven
19
- ```
20
-
21
- That command opens the table:
22
-
23
- - **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.
24
- - **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.
25
- - **The region map** — your app as territory: pages, modules, and provider cards connected by routes, every card movable.
26
- - **Agentic chat** — missions run through your connected CLI, with `ask` / `approve` / `full` access modes and inline approve for risky work.
27
- - Provider MCP visibility, terminal, and diff views included.
28
-
29
- The unscoped `viberaven` package is a small shim that launches this CLI package.
30
-
31
- ## Agent Connections
32
-
33
- Inside the Studio, connect an installed CLI and test it before chat control:
34
-
35
- - Codex CLI
36
- - Claude Code
37
- - Gemini CLI
38
-
39
- 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.
40
-
41
- ## Provider And Release Context
42
-
43
- Use the Studio side tabs and context chips to attach provider or version context to a chat mission:
44
-
45
- - Providers: Supabase, Vercel, GitHub, Stripe, Sentry, PostHog, Clerk, Auth.js, Resend, Upstash.
46
- - Releases: current and recent git tags, changelog snippets, rollback context, and release comparisons.
47
- - Architecture: repo and provider boundaries for inspection and planning.
48
-
49
- 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.
50
-
51
- ## Machine And CI Commands
52
-
53
- The Studio is the default product surface. These commands remain available for automation and CI:
54
-
55
- ```bash
56
- npx -y viberaven check --json
57
- npx -y viberaven --strict --json
58
- npx -y viberaven actions
59
- npx -y viberaven verify --action VR-A1
60
- ```
61
-
62
- For focused work:
63
-
64
- ```bash
65
- npx -y viberaven next --json
66
- npx -y viberaven prompt --gap <id>
67
- npx -y viberaven audit --vercel-supabase
68
- ```
69
-
70
- ## Legacy Agent Mode
71
-
72
- `--agent-mode` is kept for older artifact-first agent workflows:
73
-
74
- ```bash
75
- npx -y viberaven --agent-mode
76
- ```
77
-
78
- It writes artifacts such as:
79
-
80
- - `.viberaven/agent-tasklist.md`
81
- - `.viberaven/gate-result.json`
82
- - `.viberaven/context-map.json`
83
- - `.viberaven/agent-summary.md`
84
- - `.viberaven/launch-playbook.md`
85
-
86
- New product work should prefer the Studio and MCP/chat context flow instead of the old tasklist-first loop.
87
-
88
- ## MCP
89
-
90
- Use the MCP package when an agent host supports MCP tools:
91
-
92
- ```bash
93
- npx -y @viberaven/mcp
94
- ```
95
-
96
- The MCP server wraps the public CLI and exposes readiness, verification, action, audit, and healing tools without exposing secrets.
97
-
98
- ## Development
99
-
100
- ```bash
101
- npm --prefix packages/cli run typecheck
102
- npm --prefix packages/cli test -- local-ui/server.test.ts
103
- npm --prefix packages/cli run build
104
- ```
105
-
106
- For a local package publish check, run from this package directory:
107
-
108
- ```bash
109
- cd packages/cli
110
- npm pack --dry-run
111
- ```
112
-
113
- ## License
114
-
115
- 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
package/SECURITY.md CHANGED
@@ -47,6 +47,12 @@ Repo scanners redact common key patterns in evidence strings; the CLI runs an ex
47
47
 
48
48
  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 evidence.
49
49
 
50
+ ## MCP and npm Configuration
51
+
52
+ `@viberaven/mcp` runs the CLI as `npx -y --package=@viberaven/cli@<its own version> -- viberaven ...`. Before it starts that npx, it removes every `npm_package_*` and `npm_lifecycle_*` variable and every `npm_config_*` variable except registry, proxy, TLS and auth settings. So the environment the MCP was started in cannot change what npx runs, add `node-options`, or point npx at another npmrc file.
53
+
54
+ The child npx still reads npmrc files the normal way: your `~/.npmrc`, the global npmrc, and the `.npmrc` of the folder it runs in. That last one is the scanned repo's own `.npmrc`. It applies exactly as it does when you run `npx viberaven` in that folder yourself, and it can set options such as `node-options`. Only run VibeRaven, through MCP or directly, on repos whose `.npmrc` you would run npx under.
55
+
50
56
  ## Reporting Issues
51
57
 
52
58
  If you believe a scan artifact leaked a secret, rotate the key immediately and open an issue at https://github.com/ohad6k/VibeRaven/issues with the redacted file path only.