@vibecheck-ai/cli 6.0.7 → 7.0.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 +55 -22
- package/completions/vibecheck.bash +71 -0
- package/completions/vibecheck.fish +119 -0
- package/completions/vibecheck.zsh +144 -0
- package/dist/cli.js +18854 -58976
- package/dist/cli.js.map +1 -1
- package/dist/guardrail/index.js +1 -0
- package/dist/guardrail/index.js.map +1 -1
- package/dist/v2/index.js +18854 -58976
- package/dist/v2/index.js.map +1 -1
- package/man/vibecheck.1 +236 -0
- package/package.json +45 -35
- package/LICENSE +0 -21
- package/dist/tree-sitter-go-7GBQNNRF.node +0 -0
- package/dist/tree-sitter-go-ACCIQON4.node +0 -0
- package/dist/tree-sitter-go-HC6ZN2TV.node +0 -0
- package/dist/tree-sitter-go-KS5SZ335.node +0 -0
- package/dist/tree-sitter-go-PSHN4YB2.node +0 -0
- package/dist/tree-sitter-go-WQMHGCYD.node +0 -0
package/man/vibecheck.1
ADDED
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
.TH VIBECHECK 1 "March 2026" "vibecheck 6.0.7" "User Commands"
|
|
2
|
+
.SH NAME
|
|
3
|
+
vibecheck \- AI hallucination prevention platform
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B vibecheck
|
|
6
|
+
[\fIcommand\fR] [\fIoptions\fR]
|
|
7
|
+
.br
|
|
8
|
+
.B vc
|
|
9
|
+
[\fIcommand\fR] [\fIoptions\fR]
|
|
10
|
+
.SH DESCRIPTION
|
|
11
|
+
VibeCheck catches the mistakes AI coding assistants make: ghost imports,
|
|
12
|
+
hardcoded secrets, mock data in production, security vulnerabilities,
|
|
13
|
+
phantom dependencies, and more.
|
|
14
|
+
.PP
|
|
15
|
+
27 scan engines \(bu 5 languages \(bu Self-healing code
|
|
16
|
+
.SH GETTING STARTED
|
|
17
|
+
.TP
|
|
18
|
+
.B kickoff
|
|
19
|
+
Interactive onboarding wizard.
|
|
20
|
+
.TP
|
|
21
|
+
.B doctor
|
|
22
|
+
Environment health check.
|
|
23
|
+
.TP
|
|
24
|
+
.B help \fR[\fIcommand\fR]
|
|
25
|
+
Show full command reference.
|
|
26
|
+
.SH SCAN & VERIFY COMMANDS
|
|
27
|
+
.TP
|
|
28
|
+
.B scan \fR[\fB--fast\fR|\fB--full\fR] [\fB--fix\fR] [\fB--format\fR \fIfmt\fR] [\fB--output\fR \fIfile\fR] [\fB--ci\fR]
|
|
29
|
+
Run 27-engine hallucination analysis. Formats: pretty, json, sarif, markdown.
|
|
30
|
+
.TP
|
|
31
|
+
.B ship
|
|
32
|
+
SHIP/BLOCK verdict with trust score.
|
|
33
|
+
.TP
|
|
34
|
+
.B prove
|
|
35
|
+
Full proof chain with evidence.
|
|
36
|
+
.TP
|
|
37
|
+
.B completeness
|
|
38
|
+
Check codebase completeness.
|
|
39
|
+
.TP
|
|
40
|
+
.B coherence
|
|
41
|
+
Check codebase coherence.
|
|
42
|
+
.TP
|
|
43
|
+
.B benchmark
|
|
44
|
+
Run hallucination benchmark suite.
|
|
45
|
+
.SH FIX & HEAL COMMANDS
|
|
46
|
+
.TP
|
|
47
|
+
.B fix
|
|
48
|
+
Auto-heal findings by applying patches.
|
|
49
|
+
.TP
|
|
50
|
+
.B autofix
|
|
51
|
+
Generate fix plans from findings.
|
|
52
|
+
.TP
|
|
53
|
+
.B polish
|
|
54
|
+
Deterministic quality improvements \(em naming, types, patterns.
|
|
55
|
+
.SH GENERATE COMMANDS
|
|
56
|
+
.TP
|
|
57
|
+
.B forge \fR[\fB--type\fR \fItype\fR] [\fB--template\fR \fItpl\fR]
|
|
58
|
+
Generate guardrails, rules, skills, and agent definitions.
|
|
59
|
+
.TP
|
|
60
|
+
.B generate
|
|
61
|
+
ISL pipeline: prompt \(-> spec \(-> code \(-> verify.
|
|
62
|
+
.SH ANALYSIS COMMANDS
|
|
63
|
+
.TP
|
|
64
|
+
.B missionpack
|
|
65
|
+
Convert findings into task packs for AI agents.
|
|
66
|
+
.TP
|
|
67
|
+
.B docguard
|
|
68
|
+
Documentation freshness and coverage check.
|
|
69
|
+
.TP
|
|
70
|
+
.B prompts \fR[\fBanalyze\fR|\fBdims\fR]
|
|
71
|
+
Git-aware code analysis with 10 quality dimensions.
|
|
72
|
+
.SH PROTECT COMMANDS
|
|
73
|
+
.TP
|
|
74
|
+
.B firewall \fR[\fBobserve\fR|\fBenforce\fR|\fBoff\fR|\fBstatus\fR|\fBprotect\fR]
|
|
75
|
+
Drift detection, intent locking, pre-commit hooks.
|
|
76
|
+
.TP
|
|
77
|
+
.B commit\-shield
|
|
78
|
+
Pre-commit risk analysis gate.
|
|
79
|
+
.SH RUNTIME COMMANDS
|
|
80
|
+
.TP
|
|
81
|
+
.B reality
|
|
82
|
+
Playwright runtime verification (smoke, chaos, stress). Requires Pro subscription.
|
|
83
|
+
.SH WORKFLOW COMMANDS
|
|
84
|
+
.TP
|
|
85
|
+
.B flow \fR[\fBinstall\fR|\fBlist\fR|\fBhelp\fR]
|
|
86
|
+
AI-driven agile development with 10 specialized agents.
|
|
87
|
+
.SH ACCOUNT COMMANDS
|
|
88
|
+
.TP
|
|
89
|
+
.B auth \fR[\fBlogin\fR|\fBlogout\fR|\fBwhoami\fR|\fBkeys\fR]
|
|
90
|
+
Authentication and API key management.
|
|
91
|
+
.SH SHIPGATE PRO COMMANDS
|
|
92
|
+
Require an active Pro subscription ($9.99/month).
|
|
93
|
+
.TP
|
|
94
|
+
.B gate
|
|
95
|
+
ShipGate SHIP/NO_SHIP gate verdict.
|
|
96
|
+
.TP
|
|
97
|
+
.B verify\-isl
|
|
98
|
+
ISL formal verification against implementation.
|
|
99
|
+
.TP
|
|
100
|
+
.B heal
|
|
101
|
+
AI-powered ISL violation auto-fix.
|
|
102
|
+
.TP
|
|
103
|
+
.B trust
|
|
104
|
+
Trust score with detailed breakdown.
|
|
105
|
+
.TP
|
|
106
|
+
.B lint
|
|
107
|
+
Lint ISL spec files for style and correctness.
|
|
108
|
+
.TP
|
|
109
|
+
.B watch
|
|
110
|
+
Continuous validation mode.
|
|
111
|
+
.TP
|
|
112
|
+
.B coverage
|
|
113
|
+
ISL spec coverage report.
|
|
114
|
+
.TP
|
|
115
|
+
.B codegen \fR[\fB--target\fR \fIlang\fR]
|
|
116
|
+
Generate code from ISL specs (TypeScript, Go, Rust, Python, etc.).
|
|
117
|
+
.TP
|
|
118
|
+
.B deep\-scan
|
|
119
|
+
Deep security + hallucination + phantom scan.
|
|
120
|
+
.SH SHIPGATE ENTERPRISE COMMANDS
|
|
121
|
+
Require an Enterprise subscription.
|
|
122
|
+
.TP
|
|
123
|
+
.B comply \fR\fIframework\fR
|
|
124
|
+
Compliance audit. Frameworks: soc2, hipaa, pci-dss, gdpr, iso27001.
|
|
125
|
+
.TP
|
|
126
|
+
.B policy \fR[\fBeval\fR|\fBlist\fR]
|
|
127
|
+
Policy-as-code management.
|
|
128
|
+
.TP
|
|
129
|
+
.B chaos
|
|
130
|
+
Chaos/fault injection testing.
|
|
131
|
+
.TP
|
|
132
|
+
.B sdk
|
|
133
|
+
Generate client SDKs from ISL specs.
|
|
134
|
+
.SH GLOBAL OPTIONS
|
|
135
|
+
.TP
|
|
136
|
+
.BR \-V ", " \-\-version
|
|
137
|
+
Show version number.
|
|
138
|
+
.TP
|
|
139
|
+
.BR \-v ", " \-\-verbose
|
|
140
|
+
Enable verbose output.
|
|
141
|
+
.TP
|
|
142
|
+
.B \-\-debug
|
|
143
|
+
Debug mode (show stack traces).
|
|
144
|
+
.TP
|
|
145
|
+
.BR \-q ", " \-\-quiet
|
|
146
|
+
Minimal output (errors only).
|
|
147
|
+
.TP
|
|
148
|
+
.B \-\-json
|
|
149
|
+
Output as JSON (for piping/scripting).
|
|
150
|
+
.TP
|
|
151
|
+
.B \-\-no\-color
|
|
152
|
+
Disable colored output.
|
|
153
|
+
.TP
|
|
154
|
+
.BI \-\-config " path"
|
|
155
|
+
Custom config file path.
|
|
156
|
+
.TP
|
|
157
|
+
.BI \-\-path " dir"
|
|
158
|
+
Project directory (default: current directory).
|
|
159
|
+
.TP
|
|
160
|
+
.B \-\-menu
|
|
161
|
+
Open interactive command menu.
|
|
162
|
+
.SH ENVIRONMENT
|
|
163
|
+
.TP
|
|
164
|
+
.B VIBECHECK_TOKEN
|
|
165
|
+
Authentication token (JWT or API key with \fBvc_\fR prefix).
|
|
166
|
+
.TP
|
|
167
|
+
.B VIBECHECK_API_URL
|
|
168
|
+
API server URL (default: https://api.vibecheckai.dev).
|
|
169
|
+
.TP
|
|
170
|
+
.B VIBECHECK_HOME
|
|
171
|
+
Config directory (default: ~/.vibecheck).
|
|
172
|
+
.TP
|
|
173
|
+
.B VIBECHECK_SKIP_AUTH
|
|
174
|
+
Set to \fB1\fR to skip authentication checks.
|
|
175
|
+
.TP
|
|
176
|
+
.B NO_COLOR
|
|
177
|
+
Disable colored output when set.
|
|
178
|
+
.SH FILES
|
|
179
|
+
.TP
|
|
180
|
+
.I ~/.vibecheck/token
|
|
181
|
+
Authentication token file.
|
|
182
|
+
.TP
|
|
183
|
+
.I .vibecheckrc.json
|
|
184
|
+
Project configuration file.
|
|
185
|
+
.TP
|
|
186
|
+
.I .vibecheck/provenance/edits.jsonl
|
|
187
|
+
AI code provenance tracking data.
|
|
188
|
+
.TP
|
|
189
|
+
.I .vibecheck-rules.yaml
|
|
190
|
+
Architecture rules configuration.
|
|
191
|
+
.SH EXIT STATUS
|
|
192
|
+
.TP
|
|
193
|
+
.B 0
|
|
194
|
+
Success (scan passed, no critical findings).
|
|
195
|
+
.TP
|
|
196
|
+
.B 1
|
|
197
|
+
Failure (critical findings, scan blocked, or error).
|
|
198
|
+
.SH EXAMPLES
|
|
199
|
+
.PP
|
|
200
|
+
Quick scan of current directory:
|
|
201
|
+
.RS
|
|
202
|
+
.B vibecheck scan --fast
|
|
203
|
+
.RE
|
|
204
|
+
.PP
|
|
205
|
+
Full scan with SARIF output for CI:
|
|
206
|
+
.RS
|
|
207
|
+
.B vibecheck scan --ci --format sarif --output results.sarif
|
|
208
|
+
.RE
|
|
209
|
+
.PP
|
|
210
|
+
Ship verdict with auto-fix:
|
|
211
|
+
.RS
|
|
212
|
+
.B vibecheck ship && vibecheck fix
|
|
213
|
+
.RE
|
|
214
|
+
.PP
|
|
215
|
+
Start MCP server for AI IDEs:
|
|
216
|
+
.RS
|
|
217
|
+
.B vibecheck mcp
|
|
218
|
+
.RE
|
|
219
|
+
.PP
|
|
220
|
+
Generate IDE context rules:
|
|
221
|
+
.RS
|
|
222
|
+
.B vibecheck forge --type rules
|
|
223
|
+
.RE
|
|
224
|
+
.SH HOMEPAGE
|
|
225
|
+
.UR https://vibecheckai.dev
|
|
226
|
+
vibecheckai.dev
|
|
227
|
+
.UE
|
|
228
|
+
.SH BUGS
|
|
229
|
+
Report bugs at
|
|
230
|
+
.UR https://github.com/vibecheck-oss/vibecheck/issues
|
|
231
|
+
GitHub Issues
|
|
232
|
+
.UE
|
|
233
|
+
.SH LICENSE
|
|
234
|
+
MIT License
|
|
235
|
+
.SH AUTHORS
|
|
236
|
+
Vibecheck Team <support@vibecheckai.dev>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibecheck-ai/cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "The AI hallucination prevention platform. 27 engines. 5 languages. Self-healing code.",
|
|
5
5
|
"main": "dist/cli.js",
|
|
6
6
|
"type": "module",
|
|
@@ -10,9 +10,33 @@
|
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"dist",
|
|
13
|
+
"man",
|
|
14
|
+
"completions",
|
|
13
15
|
"README.md",
|
|
14
16
|
"LICENSE"
|
|
15
17
|
],
|
|
18
|
+
"man": [
|
|
19
|
+
"./man/vibecheck.1"
|
|
20
|
+
],
|
|
21
|
+
"scripts": {
|
|
22
|
+
"build": "tsup",
|
|
23
|
+
"dev": "tsup --watch",
|
|
24
|
+
"start": "node dist/v2/index.js",
|
|
25
|
+
"check-types": "tsc --noEmit",
|
|
26
|
+
"test": "vitest run",
|
|
27
|
+
"test:watch": "vitest",
|
|
28
|
+
"test:cli": "vitest run tests/cli/",
|
|
29
|
+
"test:cli:help": "vitest run tests/cli/help-parity.test.ts",
|
|
30
|
+
"test:cli:headers": "vitest run tests/cli/header-parity.test.ts",
|
|
31
|
+
"test:cli:exit": "vitest run tests/cli/exitcodes.test.ts",
|
|
32
|
+
"test:cli:json": "vitest run tests/cli/json-schema.test.ts",
|
|
33
|
+
"test:cli:consistency": "vitest run tests/cli/consistency.test.ts",
|
|
34
|
+
"bench:cli": "BENCH_PROFILE=standard vitest run tests/cli/benchmark.test.ts --reporter=verbose",
|
|
35
|
+
"bench:cli:smoke": "BENCH_PROFILE=smoke vitest run tests/cli/benchmark.test.ts --reporter=verbose --testTimeout=30000",
|
|
36
|
+
"bench:cli:full": "BENCH_PROFILE=full vitest run tests/cli/benchmark.test.ts --reporter=verbose --testTimeout=300000",
|
|
37
|
+
"smoke-test": "bash ../../scripts/smoke-test-cli.sh",
|
|
38
|
+
"prepublishOnly": "pnpm run build"
|
|
39
|
+
},
|
|
16
40
|
"dependencies": {
|
|
17
41
|
"@babel/parser": "^7.24.0",
|
|
18
42
|
"@babel/traverse": "^7.24.0",
|
|
@@ -39,12 +63,17 @@
|
|
|
39
63
|
"listr2": "^8.0.0",
|
|
40
64
|
"open": "^10.1.0",
|
|
41
65
|
"ora": "^8.0.1",
|
|
66
|
+
"posthog-node": "^4.3.1",
|
|
42
67
|
"react": "^18.2.0",
|
|
43
68
|
"ts-morph": "^21.0.1",
|
|
44
69
|
"update-notifier": "^7.0.0",
|
|
45
70
|
"uuid": "^9.0.0",
|
|
46
71
|
"xxhash-wasm": "^1.0.2",
|
|
47
|
-
"zod": "^3.24.0"
|
|
72
|
+
"zod": "^3.24.0",
|
|
73
|
+
"@repo/context-engine": "workspace:*",
|
|
74
|
+
"@repo/vibe-flow": "workspace:*",
|
|
75
|
+
"@vibecheck/engines": "workspace:*",
|
|
76
|
+
"@vibecheck/core": "workspace:*"
|
|
48
77
|
},
|
|
49
78
|
"optionalDependencies": {
|
|
50
79
|
"@playwright/test": "^1.57.0",
|
|
@@ -57,6 +86,18 @@
|
|
|
57
86
|
"@types/node": "^20.19.27",
|
|
58
87
|
"@types/react": "^18.2.0",
|
|
59
88
|
"@types/update-notifier": "^6.0.0",
|
|
89
|
+
"@isl-lang/codegen": "workspace:*",
|
|
90
|
+
"@isl-lang/compliance": "workspace:*",
|
|
91
|
+
"@isl-lang/gate": "workspace:*",
|
|
92
|
+
"@isl-lang/healer": "workspace:*",
|
|
93
|
+
"@isl-lang/isl-coverage": "workspace:*",
|
|
94
|
+
"@isl-lang/isl-verify": "workspace:*",
|
|
95
|
+
"@isl-lang/parser": "workspace:*",
|
|
96
|
+
"@isl-lang/pipeline": "workspace:*",
|
|
97
|
+
"@isl-lang/sdk-typescript": "workspace:*",
|
|
98
|
+
"@isl-lang/security-policies": "workspace:*",
|
|
99
|
+
"@isl-lang/verifier-chaos": "workspace:*",
|
|
100
|
+
"@vibecheck/shipgate-engine": "workspace:*",
|
|
60
101
|
"esbuild": ">=0.25.0",
|
|
61
102
|
"execa": "^8.0.0",
|
|
62
103
|
"fastify": "^4.29.1",
|
|
@@ -65,20 +106,7 @@
|
|
|
65
106
|
"tsup": "^8.0.0",
|
|
66
107
|
"tsx": "^4.7.0",
|
|
67
108
|
"typescript": "^5.5.0",
|
|
68
|
-
"vitest": "^2.1.8"
|
|
69
|
-
"@isl-lang/healer": "0.1.0",
|
|
70
|
-
"@isl-lang/codegen": "0.1.1",
|
|
71
|
-
"@isl-lang/gate": "1.0.0",
|
|
72
|
-
"@isl-lang/isl-coverage": "1.0.1",
|
|
73
|
-
"@isl-lang/compliance": "0.1.1",
|
|
74
|
-
"@isl-lang/isl-verify": "1.0.0",
|
|
75
|
-
"@isl-lang/security-policies": "1.0.0",
|
|
76
|
-
"@isl-lang/parser": "1.0.0",
|
|
77
|
-
"@isl-lang/verifier-chaos": "0.2.1",
|
|
78
|
-
"@isl-lang/sdk-typescript": "0.1.0",
|
|
79
|
-
"@isl-lang/pipeline": "1.0.0",
|
|
80
|
-
"@vibecheck/shipgate-engine": "1.1.0",
|
|
81
|
-
"@vibecheck/core": "1.0.0"
|
|
109
|
+
"vitest": "^2.1.8"
|
|
82
110
|
},
|
|
83
111
|
"keywords": [
|
|
84
112
|
"vibecheck",
|
|
@@ -121,23 +149,5 @@
|
|
|
121
149
|
},
|
|
122
150
|
"publishConfig": {
|
|
123
151
|
"access": "public"
|
|
124
|
-
},
|
|
125
|
-
"scripts": {
|
|
126
|
-
"build": "tsup",
|
|
127
|
-
"dev": "tsup --watch",
|
|
128
|
-
"start": "node dist/v2/index.js",
|
|
129
|
-
"check-types": "tsc --noEmit",
|
|
130
|
-
"test": "vitest run",
|
|
131
|
-
"test:watch": "vitest",
|
|
132
|
-
"test:cli": "vitest run tests/cli/",
|
|
133
|
-
"test:cli:help": "vitest run tests/cli/help-parity.test.ts",
|
|
134
|
-
"test:cli:headers": "vitest run tests/cli/header-parity.test.ts",
|
|
135
|
-
"test:cli:exit": "vitest run tests/cli/exitcodes.test.ts",
|
|
136
|
-
"test:cli:json": "vitest run tests/cli/json-schema.test.ts",
|
|
137
|
-
"test:cli:consistency": "vitest run tests/cli/consistency.test.ts",
|
|
138
|
-
"bench:cli": "BENCH_PROFILE=standard vitest run tests/cli/benchmark.test.ts --reporter=verbose",
|
|
139
|
-
"bench:cli:smoke": "BENCH_PROFILE=smoke vitest run tests/cli/benchmark.test.ts --reporter=verbose --testTimeout=30000",
|
|
140
|
-
"bench:cli:full": "BENCH_PROFILE=full vitest run tests/cli/benchmark.test.ts --reporter=verbose --testTimeout=300000",
|
|
141
|
-
"smoke-test": "bash ../../scripts/smoke-test-cli.sh"
|
|
142
152
|
}
|
|
143
|
-
}
|
|
153
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2024-present Gentian Mevlani and VibeCheck AI contributors
|
|
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.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|