@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 +113 -115
- package/SECURITY.md +6 -0
- package/dist/cli.js +11844 -32125
- package/dist/report/assets/provider-authjs.svg +5 -5
- package/dist/report/assets/provider-aws.svg +5 -5
- package/dist/report/assets/provider-logrocket.svg +4 -4
- package/dist/report/station.js +2 -2
- package/dist/stack/app.js +13 -0
- package/dist/stack/stack.css +442 -0
- package/dist/vendor/anime.umd.min.js +7 -7
- package/package.json +74 -75
- package/assets/report/assets/provider-authjs.svg +0 -5
- package/assets/report/assets/provider-aws.svg +0 -5
- package/assets/report/assets/provider-logrocket.svg +0 -4
- package/assets/report/assets/viberaven-favicon.png +0 -0
- package/assets/report/assets/viberaven-hero.png +0 -0
- package/assets/report/assets/viberaven-logo.png +0 -0
- package/assets/report/assets/viberaven-mascot.png +0 -0
- package/assets/report/assets/viberaven-table.png +0 -0
- package/assets/report/report-cli.css +0 -1466
- package/assets/report/station.css +0 -11854
- package/assets/report/station.js +0 -8319
- package/dist/cli.js.map +0 -7
- package/dist/report/assets/viberaven-hero.png +0 -0
- package/dist/report/assets/viberaven-table.png +0 -0
package/README.md
CHANGED
|
@@ -1,115 +1,113 @@
|
|
|
1
|
-
# @viberaven/cli
|
|
2
|
-
|
|
3
|
-
[](https://www.npmjs.com/package/@viberaven/cli)
|
|
4
|
-
[](https://www.npmjs.com/package/@viberaven/cli)
|
|
5
|
-
[](https://www.npmjs.com/package/@viberaven/cli)
|
|
6
|
-
|
|
7
|
-
<p align="center">
|
|
8
|
-
<img src="
|
|
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
|
-
|
|
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
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
npx -y viberaven
|
|
57
|
-
npx -y viberaven --
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
npx -y viberaven
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
- `.viberaven/
|
|
81
|
-
- `.viberaven/
|
|
82
|
-
- `.viberaven/
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
npm --prefix packages/cli run
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
MIT
|
|
1
|
+
# @viberaven/cli
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@viberaven/cli)
|
|
4
|
+
[](https://www.npmjs.com/package/@viberaven/cli)
|
|
5
|
+
[](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.
|