@vibecheckai/cli 3.7.0 → 3.8.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 +135 -63
- package/bin/_deprecations.js +447 -19
- package/bin/_router.js +1 -1
- package/bin/registry.js +347 -280
- package/bin/runners/context/generators/cursor-enhanced.js +2439 -0
- package/bin/runners/lib/agent-firewall/enforcement/gateway.js +1059 -0
- package/bin/runners/lib/agent-firewall/enforcement/index.js +98 -0
- package/bin/runners/lib/agent-firewall/enforcement/mode.js +318 -0
- package/bin/runners/lib/agent-firewall/enforcement/orchestrator.js +484 -0
- package/bin/runners/lib/agent-firewall/enforcement/proof-artifact.js +418 -0
- package/bin/runners/lib/agent-firewall/enforcement/schemas/change-event.schema.json +173 -0
- package/bin/runners/lib/agent-firewall/enforcement/schemas/intent.schema.json +181 -0
- package/bin/runners/lib/agent-firewall/enforcement/schemas/verdict.schema.json +222 -0
- package/bin/runners/lib/agent-firewall/enforcement/verdict-v2.js +333 -0
- package/bin/runners/lib/agent-firewall/index.js +200 -0
- package/bin/runners/lib/agent-firewall/integration/index.js +20 -0
- package/bin/runners/lib/agent-firewall/integration/ship-gate.js +437 -0
- package/bin/runners/lib/agent-firewall/intent/alignment-engine.js +622 -0
- package/bin/runners/lib/agent-firewall/intent/auto-detect.js +426 -0
- package/bin/runners/lib/agent-firewall/intent/index.js +102 -0
- package/bin/runners/lib/agent-firewall/intent/schema.js +352 -0
- package/bin/runners/lib/agent-firewall/intent/store.js +283 -0
- package/bin/runners/lib/agent-firewall/interception/fs-interceptor.js +502 -0
- package/bin/runners/lib/agent-firewall/interception/index.js +23 -0
- package/bin/runners/lib/agent-firewall/session/collector.js +451 -0
- package/bin/runners/lib/agent-firewall/session/index.js +26 -0
- package/bin/runners/lib/artifact-envelope.js +540 -0
- package/bin/runners/lib/auth-shared.js +977 -0
- package/bin/runners/lib/checkpoint.js +941 -0
- package/bin/runners/lib/cleanup/engine.js +571 -0
- package/bin/runners/lib/cleanup/index.js +53 -0
- package/bin/runners/lib/cleanup/output.js +375 -0
- package/bin/runners/lib/cleanup/rules.js +1060 -0
- package/bin/runners/lib/doctor/diagnosis-receipt.js +454 -0
- package/bin/runners/lib/doctor/failure-signatures.js +526 -0
- package/bin/runners/lib/doctor/fix-script.js +336 -0
- package/bin/runners/lib/doctor/modules/build-tools.js +453 -0
- package/bin/runners/lib/doctor/modules/index.js +62 -3
- package/bin/runners/lib/doctor/modules/os-quirks.js +706 -0
- package/bin/runners/lib/doctor/modules/repo-integrity.js +485 -0
- package/bin/runners/lib/doctor/safe-repair.js +384 -0
- package/bin/runners/lib/engines/attack-detector.js +1192 -0
- package/bin/runners/lib/entitlements-v2.js +2 -2
- package/bin/runners/lib/missions/briefing.js +427 -0
- package/bin/runners/lib/missions/checkpoint.js +753 -0
- package/bin/runners/lib/missions/hardening.js +851 -0
- package/bin/runners/lib/missions/plan.js +421 -32
- package/bin/runners/lib/missions/safety-gates.js +645 -0
- package/bin/runners/lib/missions/schema.js +478 -0
- package/bin/runners/lib/packs/bundle.js +675 -0
- package/bin/runners/lib/packs/evidence-pack.js +671 -0
- package/bin/runners/lib/packs/pack-factory.js +837 -0
- package/bin/runners/lib/packs/permissions-pack.js +686 -0
- package/bin/runners/lib/packs/proof-graph-pack.js +779 -0
- package/bin/runners/lib/safelist/index.js +96 -0
- package/bin/runners/lib/safelist/integration.js +334 -0
- package/bin/runners/lib/safelist/matcher.js +696 -0
- package/bin/runners/lib/safelist/schema.js +948 -0
- package/bin/runners/lib/safelist/store.js +438 -0
- package/bin/runners/lib/schemas/ship-manifest.schema.json +251 -0
- package/bin/runners/lib/ship-gate.js +832 -0
- package/bin/runners/lib/ship-manifest.js +1153 -0
- package/bin/runners/lib/ship-output.js +1 -1
- package/bin/runners/lib/unified-cli-output.js +710 -383
- package/bin/runners/lib/upsell.js +3 -3
- package/bin/runners/lib/why-tree.js +650 -0
- package/bin/runners/runAllowlist.js +33 -4
- package/bin/runners/runApprove.js +240 -1122
- package/bin/runners/runAudit.js +692 -0
- package/bin/runners/runAuth.js +325 -29
- package/bin/runners/runCheckpoint.js +442 -494
- package/bin/runners/runCleanup.js +343 -0
- package/bin/runners/runDoctor.js +269 -19
- package/bin/runners/runFix.js +411 -32
- package/bin/runners/runForge.js +411 -0
- package/bin/runners/runIntent.js +906 -0
- package/bin/runners/runKickoff.js +878 -0
- package/bin/runners/runLaunch.js +2000 -0
- package/bin/runners/runLink.js +785 -0
- package/bin/runners/runMcp.js +1741 -837
- package/bin/runners/runPacks.js +2089 -0
- package/bin/runners/runPolish.js +41 -0
- package/bin/runners/runSafelist.js +1190 -0
- package/bin/runners/runScan.js +21 -9
- package/bin/runners/runShield.js +1282 -0
- package/bin/runners/runShip.js +395 -16
- package/bin/vibecheck.js +34 -6
- package/mcp-server/README.md +117 -158
- package/mcp-server/handlers/tool-handler.ts +3 -3
- package/mcp-server/index.js +16 -0
- package/mcp-server/intent-firewall-interceptor.js +529 -0
- package/mcp-server/manifest.json +473 -0
- package/mcp-server/package.json +1 -1
- package/mcp-server/registry/tool-registry.js +315 -523
- package/mcp-server/registry/tools.json +442 -428
- package/mcp-server/tier-auth.js +68 -11
- package/mcp-server/tools-v3.js +70 -16
- package/package.json +1 -1
- package/bin/runners/runProof.zip +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* vibecheck allowlist -
|
|
2
|
+
* vibecheck allowlist - DEPRECATED, use vibecheck safelist
|
|
3
3
|
*
|
|
4
4
|
* ═══════════════════════════════════════════════════════════════════════════════
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* This command is deprecated. Use 'vibecheck safelist' instead.
|
|
6
|
+
* This file now delegates to runSafelist for backwards compatibility.
|
|
7
7
|
* ═══════════════════════════════════════════════════════════════════════════════
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -12,6 +12,9 @@
|
|
|
12
12
|
const fs = require("fs");
|
|
13
13
|
const path = require("path");
|
|
14
14
|
|
|
15
|
+
// Delegate to new safelist system
|
|
16
|
+
const { runSafelist, loadSafelist, isSuppressed } = require("./runSafelist");
|
|
17
|
+
|
|
15
18
|
// Colors
|
|
16
19
|
const c = {
|
|
17
20
|
reset: '\x1b[0m',
|
|
@@ -171,6 +174,23 @@ function isAllowlisted(finding, allowlist, filePath = null) {
|
|
|
171
174
|
}
|
|
172
175
|
|
|
173
176
|
async function runAllowlist(args = [], context = {}) {
|
|
177
|
+
// Show deprecation warning unless --json or --quiet
|
|
178
|
+
const hasFlag = (flags) => flags.some(f => args.includes(f));
|
|
179
|
+
const json = hasFlag(["--json"]);
|
|
180
|
+
const quiet = hasFlag(["--quiet", "-q"]);
|
|
181
|
+
|
|
182
|
+
if (!json && !quiet) {
|
|
183
|
+
console.log(`\n ${c.yellow}⚠ DEPRECATED:${c.reset} 'vibecheck allowlist' is deprecated.`);
|
|
184
|
+
console.log(` ${c.dim}Use 'vibecheck safelist' instead for responsible suppression.${c.reset}`);
|
|
185
|
+
console.log(` ${c.dim}Run 'vibecheck safelist migrate' to upgrade your allowlist.${c.reset}\n`);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
// Delegate to new safelist system
|
|
189
|
+
return runSafelist(args, context);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
// Legacy function preserved for backwards compatibility
|
|
193
|
+
async function runAllowlistLegacy(args = [], context = {}) {
|
|
174
194
|
// Parse arguments
|
|
175
195
|
const getArg = (flags) => {
|
|
176
196
|
for (const f of flags) {
|
|
@@ -386,4 +406,13 @@ async function runAllowlist(args = [], context = {}) {
|
|
|
386
406
|
}
|
|
387
407
|
}
|
|
388
408
|
|
|
389
|
-
module.exports = {
|
|
409
|
+
module.exports = {
|
|
410
|
+
runAllowlist,
|
|
411
|
+
// Legacy exports for backwards compatibility
|
|
412
|
+
loadAllowlist,
|
|
413
|
+
saveAllowlist,
|
|
414
|
+
isAllowlisted,
|
|
415
|
+
// New safelist exports
|
|
416
|
+
loadSafelist,
|
|
417
|
+
isSuppressed,
|
|
418
|
+
};
|