@vibecheckai/cli 2.8.2 → 3.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 +8 -8
- package/bin/_deprecations.js +35 -0
- package/bin/_router.js +46 -0
- package/bin/cli-hygiene.js +241 -0
- package/bin/guardrail.js +834 -0
- package/bin/runners/cli-utils.js +1070 -0
- package/bin/runners/context/ai-task-decomposer.js +337 -0
- package/bin/runners/context/analyzer.js +462 -0
- package/bin/runners/context/api-contracts.js +427 -0
- package/bin/runners/context/context-diff.js +342 -0
- package/bin/runners/context/context-pruner.js +291 -0
- package/bin/runners/context/dependency-graph.js +414 -0
- package/bin/runners/context/generators/claude.js +107 -0
- package/bin/runners/context/generators/codex.js +108 -0
- package/bin/runners/context/generators/copilot.js +119 -0
- package/bin/runners/context/generators/cursor.js +514 -0
- package/bin/runners/context/generators/mcp.js +151 -0
- package/bin/runners/context/generators/windsurf.js +180 -0
- package/bin/runners/context/git-context.js +302 -0
- package/bin/runners/context/index.js +1042 -0
- package/bin/runners/context/insights.js +173 -0
- package/bin/runners/context/mcp-server/generate-rules.js +337 -0
- package/bin/runners/context/mcp-server/index.js +1176 -0
- package/bin/runners/context/mcp-server/package.json +24 -0
- package/bin/runners/context/memory.js +200 -0
- package/bin/runners/context/monorepo.js +215 -0
- package/bin/runners/context/multi-repo-federation.js +404 -0
- package/bin/runners/context/patterns.js +253 -0
- package/bin/runners/context/proof-context.js +972 -0
- package/bin/runners/context/security-scanner.js +303 -0
- package/bin/runners/context/semantic-search.js +350 -0
- package/bin/runners/context/shared.js +264 -0
- package/bin/runners/context/team-conventions.js +310 -0
- package/bin/runners/lib/ai-bridge.js +416 -0
- package/bin/runners/lib/analysis-core.js +271 -0
- package/bin/runners/lib/analyzers.js +541 -0
- package/bin/runners/lib/audit-bridge.js +391 -0
- package/bin/runners/lib/auth-truth.js +193 -0
- package/bin/runners/lib/auth.js +215 -0
- package/bin/runners/lib/backup.js +62 -0
- package/bin/runners/lib/billing.js +107 -0
- package/bin/runners/lib/claims.js +118 -0
- package/bin/runners/lib/cli-ui.js +540 -0
- package/bin/runners/lib/compliance-bridge-new.js +0 -0
- package/bin/runners/lib/compliance-bridge.js +165 -0
- package/bin/runners/lib/contracts/auth-contract.js +194 -0
- package/bin/runners/lib/contracts/env-contract.js +178 -0
- package/bin/runners/lib/contracts/external-contract.js +198 -0
- package/bin/runners/lib/contracts/guard.js +168 -0
- package/bin/runners/lib/contracts/index.js +89 -0
- package/bin/runners/lib/contracts/plan-validator.js +311 -0
- package/bin/runners/lib/contracts/route-contract.js +192 -0
- package/bin/runners/lib/detect.js +89 -0
- package/bin/runners/lib/doctor/autofix.js +254 -0
- package/bin/runners/lib/doctor/index.js +37 -0
- package/bin/runners/lib/doctor/modules/dependencies.js +325 -0
- package/bin/runners/lib/doctor/modules/index.js +46 -0
- package/bin/runners/lib/doctor/modules/network.js +250 -0
- package/bin/runners/lib/doctor/modules/project.js +312 -0
- package/bin/runners/lib/doctor/modules/runtime.js +224 -0
- package/bin/runners/lib/doctor/modules/security.js +348 -0
- package/bin/runners/lib/doctor/modules/system.js +213 -0
- package/bin/runners/lib/doctor/modules/vibecheck.js +394 -0
- package/bin/runners/lib/doctor/reporter.js +262 -0
- package/bin/runners/lib/doctor/service.js +262 -0
- package/bin/runners/lib/doctor/types.js +113 -0
- package/bin/runners/lib/doctor/ui.js +263 -0
- package/bin/runners/lib/doctor-enhanced.js +233 -0
- package/bin/runners/lib/doctor-v2.js +608 -0
- package/bin/runners/lib/enforcement.js +72 -0
- package/bin/runners/lib/enterprise-detect.js +603 -0
- package/bin/runners/lib/enterprise-init.js +942 -0
- package/bin/runners/lib/entitlements-v2.js +381 -0
- package/bin/runners/lib/entitlements.generated.js +0 -0
- package/bin/runners/lib/entitlements.js +332 -0
- package/bin/runners/lib/env-template.js +66 -0
- package/bin/runners/lib/env.js +189 -0
- package/bin/runners/lib/error-handler.js +320 -0
- package/bin/runners/lib/firewall-prompt.js +50 -0
- package/bin/runners/lib/graph/graph-builder.js +265 -0
- package/bin/runners/lib/graph/html-renderer.js +413 -0
- package/bin/runners/lib/graph/index.js +32 -0
- package/bin/runners/lib/graph/runtime-collector.js +215 -0
- package/bin/runners/lib/graph/static-extractor.js +518 -0
- package/bin/runners/lib/init-wizard.js +308 -0
- package/bin/runners/lib/json-output.js +76 -0
- package/bin/runners/lib/llm.js +75 -0
- package/bin/runners/lib/meter.js +61 -0
- package/bin/runners/lib/missions/evidence.js +126 -0
- package/bin/runners/lib/missions/plan.js +69 -0
- package/bin/runners/lib/missions/templates.js +147 -0
- package/bin/runners/lib/patch.js +40 -0
- package/bin/runners/lib/permissions/auth-model.js +213 -0
- package/bin/runners/lib/permissions/idor-prover.js +205 -0
- package/bin/runners/lib/permissions/index.js +45 -0
- package/bin/runners/lib/permissions/matrix-builder.js +198 -0
- package/bin/runners/lib/pkgjson.js +28 -0
- package/bin/runners/lib/preflight.js +142 -0
- package/bin/runners/lib/reality-findings.js +84 -0
- package/bin/runners/lib/redact.js +29 -0
- package/bin/runners/lib/replay/capsule-manager.js +154 -0
- package/bin/runners/lib/replay/index.js +263 -0
- package/bin/runners/lib/replay/player.js +348 -0
- package/bin/runners/lib/replay/recorder.js +331 -0
- package/bin/runners/lib/report-engine.js +447 -0
- package/bin/runners/lib/report-html.js +1117 -0
- package/bin/runners/lib/report-templates.js +964 -0
- package/bin/runners/lib/route-detection.js +1140 -0
- package/bin/runners/lib/route-truth.js +477 -0
- package/bin/runners/lib/sandbox/index.js +59 -0
- package/bin/runners/lib/sandbox/proof-chain.js +399 -0
- package/bin/runners/lib/sandbox/sandbox-runner.js +205 -0
- package/bin/runners/lib/sandbox/worktree.js +174 -0
- package/bin/runners/lib/scan-cache.js +330 -0
- package/bin/runners/lib/scan-output-schema.js +344 -0
- package/bin/runners/lib/score-history.js +282 -0
- package/bin/runners/lib/security-bridge.js +249 -0
- package/bin/runners/lib/server-usage.js +513 -0
- package/bin/runners/lib/share-pack.js +239 -0
- package/bin/runners/lib/snippets.js +67 -0
- package/bin/runners/lib/truth.js +667 -0
- package/bin/runners/lib/unified-output.js +189 -0
- package/bin/runners/lib/validate-patch.js +156 -0
- package/bin/runners/lib/verification.js +345 -0
- package/bin/runners/reality/engine.js +917 -0
- package/bin/runners/reality/flows.js +122 -0
- package/bin/runners/reality/report.js +378 -0
- package/bin/runners/reality/session.js +193 -0
- package/bin/runners/runAIAgent.js +2 -0
- package/bin/runners/runAudit.js +2 -0
- package/bin/runners/runAuth.js +106 -0
- package/bin/runners/runAutopilot.js +2 -0
- package/bin/runners/runBadge.js +2 -0
- package/bin/runners/runCertify.js +2 -0
- package/bin/runners/runClaimVerifier.js +483 -0
- package/bin/runners/runContext.js +56 -0
- package/bin/runners/runContextCompiler.js +385 -0
- package/bin/runners/runCtx.js +187 -0
- package/bin/runners/runCtxGuard.js +176 -0
- package/bin/runners/runCtxSync.js +116 -0
- package/bin/runners/runDashboard.js +10 -0
- package/bin/runners/runDoctor.js +245 -0
- package/bin/runners/runEnhancedShip.js +2 -0
- package/bin/runners/runFix.js +735 -0
- package/bin/runners/runFixPacks.js +2 -0
- package/bin/runners/runGate.js +17 -0
- package/bin/runners/runGraph.js +283 -0
- package/bin/runners/runInit.js +260 -0
- package/bin/runners/runInitGha.js +101 -0
- package/bin/runners/runInstall.js +76 -0
- package/bin/runners/runInteractive.js +388 -0
- package/bin/runners/runLaunch.js +2 -0
- package/bin/runners/runMcp.js +19 -0
- package/bin/runners/runMdc.js +2 -0
- package/bin/runners/runMissionGenerator.js +282 -0
- package/bin/runners/runNaturalLanguage.js +3 -0
- package/bin/runners/runPR.js +96 -0
- package/bin/runners/runPermissions.js +290 -0
- package/bin/runners/runPromptFirewall.js +211 -0
- package/bin/runners/runProof.js +2 -0
- package/bin/runners/runProve.js +392 -0
- package/bin/runners/runReality.js +489 -0
- package/bin/runners/runRealitySniff.js +2 -0
- package/bin/runners/runReplay.js +469 -0
- package/bin/runners/runReport.js +478 -0
- package/bin/runners/runScan.js +835 -0
- package/bin/runners/runShare.js +34 -0
- package/bin/runners/runShip.js +1062 -0
- package/bin/runners/runStatus.js +136 -0
- package/bin/runners/runTruthpack.js +634 -0
- package/bin/runners/runUpgrade.js +2 -0
- package/bin/runners/runValidate.js +2 -0
- package/bin/runners/runVerifyAgentOutput.js +2 -0
- package/bin/runners/runWatch.js +230 -0
- package/bin/runners/utils.js +360 -0
- package/bin/scan.js +612 -0
- package/bin/vibecheck.js +834 -0
- package/package.json +11 -11
- package/dist/autopatch/verified-autopatch.d.ts +0 -111
- package/dist/autopatch/verified-autopatch.d.ts.map +0 -1
- package/dist/autopatch/verified-autopatch.js +0 -503
- package/dist/autopatch/verified-autopatch.js.map +0 -1
- package/dist/bundles/index.js +0 -8
- package/dist/bundles/vibecheck-core.js +0 -25799
- package/dist/bundles/vibecheck-security.js +0 -208693
- package/dist/bundles/vibecheck-ship.js +0 -2318
- package/dist/commands/baseline.d.ts +0 -7
- package/dist/commands/baseline.d.ts.map +0 -1
- package/dist/commands/baseline.js +0 -79
- package/dist/commands/baseline.js.map +0 -1
- package/dist/commands/cache.d.ts +0 -13
- package/dist/commands/cache.d.ts.map +0 -1
- package/dist/commands/cache.js +0 -165
- package/dist/commands/cache.js.map +0 -1
- package/dist/commands/checkpoint.d.ts +0 -8
- package/dist/commands/checkpoint.d.ts.map +0 -1
- package/dist/commands/checkpoint.js +0 -35
- package/dist/commands/checkpoint.js.map +0 -1
- package/dist/commands/doctor.d.ts +0 -17
- package/dist/commands/doctor.d.ts.map +0 -1
- package/dist/commands/doctor.js +0 -226
- package/dist/commands/doctor.js.map +0 -1
- package/dist/commands/evidence.d.ts +0 -45
- package/dist/commands/evidence.d.ts.map +0 -1
- package/dist/commands/evidence.js +0 -197
- package/dist/commands/evidence.js.map +0 -1
- package/dist/commands/explain.d.ts +0 -8
- package/dist/commands/explain.d.ts.map +0 -1
- package/dist/commands/explain.js +0 -52
- package/dist/commands/explain.js.map +0 -1
- package/dist/commands/fix-consolidated.d.ts +0 -19
- package/dist/commands/fix-consolidated.d.ts.map +0 -1
- package/dist/commands/fix-consolidated.js +0 -165
- package/dist/commands/fix-consolidated.js.map +0 -1
- package/dist/commands/index.d.ts +0 -8
- package/dist/commands/index.d.ts.map +0 -1
- package/dist/commands/index.js +0 -15
- package/dist/commands/index.js.map +0 -1
- package/dist/commands/init.d.ts +0 -8
- package/dist/commands/init.d.ts.map +0 -1
- package/dist/commands/init.js +0 -125
- package/dist/commands/init.js.map +0 -1
- package/dist/commands/launcher.d.ts +0 -10
- package/dist/commands/launcher.d.ts.map +0 -1
- package/dist/commands/launcher.js +0 -174
- package/dist/commands/launcher.js.map +0 -1
- package/dist/commands/on.d.ts +0 -8
- package/dist/commands/on.d.ts.map +0 -1
- package/dist/commands/on.js +0 -123
- package/dist/commands/on.js.map +0 -1
- package/dist/commands/replay.d.ts +0 -8
- package/dist/commands/replay.d.ts.map +0 -1
- package/dist/commands/replay.js +0 -52
- package/dist/commands/replay.js.map +0 -1
- package/dist/commands/scan-consolidated.d.ts +0 -61
- package/dist/commands/scan-consolidated.d.ts.map +0 -1
- package/dist/commands/scan-consolidated.js +0 -243
- package/dist/commands/scan-consolidated.js.map +0 -1
- package/dist/commands/scan-secrets.d.ts +0 -47
- package/dist/commands/scan-secrets.d.ts.map +0 -1
- package/dist/commands/scan-secrets.js +0 -225
- package/dist/commands/scan-secrets.js.map +0 -1
- package/dist/commands/scan-vulnerabilities-enhanced.d.ts +0 -41
- package/dist/commands/scan-vulnerabilities-enhanced.d.ts.map +0 -1
- package/dist/commands/scan-vulnerabilities-enhanced.js +0 -368
- package/dist/commands/scan-vulnerabilities-enhanced.js.map +0 -1
- package/dist/commands/scan-vulnerabilities-osv.d.ts +0 -58
- package/dist/commands/scan-vulnerabilities-osv.d.ts.map +0 -1
- package/dist/commands/scan-vulnerabilities-osv.js +0 -722
- package/dist/commands/scan-vulnerabilities-osv.js.map +0 -1
- package/dist/commands/scan-vulnerabilities.d.ts +0 -32
- package/dist/commands/scan-vulnerabilities.d.ts.map +0 -1
- package/dist/commands/scan-vulnerabilities.js +0 -283
- package/dist/commands/scan-vulnerabilities.js.map +0 -1
- package/dist/commands/secrets-allowlist.d.ts +0 -7
- package/dist/commands/secrets-allowlist.d.ts.map +0 -1
- package/dist/commands/secrets-allowlist.js +0 -85
- package/dist/commands/secrets-allowlist.js.map +0 -1
- package/dist/commands/ship-consolidated.d.ts +0 -58
- package/dist/commands/ship-consolidated.d.ts.map +0 -1
- package/dist/commands/ship-consolidated.js +0 -515
- package/dist/commands/ship-consolidated.js.map +0 -1
- package/dist/commands/stats.d.ts +0 -8
- package/dist/commands/stats.d.ts.map +0 -1
- package/dist/commands/stats.js +0 -134
- package/dist/commands/stats.js.map +0 -1
- package/dist/commands/upgrade.d.ts +0 -8
- package/dist/commands/upgrade.d.ts.map +0 -1
- package/dist/commands/upgrade.js +0 -30
- package/dist/commands/upgrade.js.map +0 -1
- package/dist/fix/applicator.d.ts +0 -44
- package/dist/fix/applicator.d.ts.map +0 -1
- package/dist/fix/applicator.js +0 -144
- package/dist/fix/applicator.js.map +0 -1
- package/dist/fix/backup.d.ts +0 -38
- package/dist/fix/backup.d.ts.map +0 -1
- package/dist/fix/backup.js +0 -154
- package/dist/fix/backup.js.map +0 -1
- package/dist/fix/engine.d.ts +0 -55
- package/dist/fix/engine.d.ts.map +0 -1
- package/dist/fix/engine.js +0 -285
- package/dist/fix/engine.js.map +0 -1
- package/dist/fix/index.d.ts +0 -5
- package/dist/fix/index.d.ts.map +0 -1
- package/dist/fix/index.js +0 -12
- package/dist/fix/index.js.map +0 -1
- package/dist/fix/interactive.d.ts +0 -22
- package/dist/fix/interactive.d.ts.map +0 -1
- package/dist/fix/interactive.js +0 -172
- package/dist/fix/interactive.js.map +0 -1
- package/dist/formatters/index.d.ts +0 -6
- package/dist/formatters/index.d.ts.map +0 -1
- package/dist/formatters/index.js +0 -11
- package/dist/formatters/index.js.map +0 -1
- package/dist/formatters/sarif-enhanced.d.ts +0 -78
- package/dist/formatters/sarif-enhanced.d.ts.map +0 -1
- package/dist/formatters/sarif-enhanced.js +0 -144
- package/dist/formatters/sarif-enhanced.js.map +0 -1
- package/dist/formatters/sarif-v2.d.ts +0 -121
- package/dist/formatters/sarif-v2.d.ts.map +0 -1
- package/dist/formatters/sarif-v2.js +0 -356
- package/dist/formatters/sarif-v2.js.map +0 -1
- package/dist/formatters/sarif.d.ts +0 -72
- package/dist/formatters/sarif.d.ts.map +0 -1
- package/dist/formatters/sarif.js +0 -146
- package/dist/formatters/sarif.js.map +0 -1
- package/dist/index.d.ts +0 -61
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -4388
- package/dist/index.js.map +0 -1
- package/dist/init/ci-generator.d.ts +0 -18
- package/dist/init/ci-generator.d.ts.map +0 -1
- package/dist/init/ci-generator.js +0 -317
- package/dist/init/ci-generator.js.map +0 -1
- package/dist/init/detect-framework.d.ts +0 -15
- package/dist/init/detect-framework.d.ts.map +0 -1
- package/dist/init/detect-framework.js +0 -301
- package/dist/init/detect-framework.js.map +0 -1
- package/dist/init/hooks-installer.d.ts +0 -22
- package/dist/init/hooks-installer.d.ts.map +0 -1
- package/dist/init/hooks-installer.js +0 -310
- package/dist/init/hooks-installer.js.map +0 -1
- package/dist/init/index.d.ts +0 -8
- package/dist/init/index.d.ts.map +0 -1
- package/dist/init/index.js +0 -22
- package/dist/init/index.js.map +0 -1
- package/dist/init/templates.d.ts +0 -402
- package/dist/init/templates.d.ts.map +0 -1
- package/dist/init/templates.js +0 -240
- package/dist/init/templates.js.map +0 -1
- package/dist/mcp/server.d.ts +0 -12
- package/dist/mcp/server.d.ts.map +0 -1
- package/dist/mcp/server.js +0 -42
- package/dist/mcp/server.js.map +0 -1
- package/dist/mcp/telemetry.d.ts +0 -40
- package/dist/mcp/telemetry.d.ts.map +0 -1
- package/dist/mcp/telemetry.js +0 -98
- package/dist/mcp/telemetry.js.map +0 -1
- package/dist/reality/no-dead-buttons/button-sweep-generator.d.ts +0 -32
- package/dist/reality/no-dead-buttons/button-sweep-generator.d.ts.map +0 -1
- package/dist/reality/no-dead-buttons/button-sweep-generator.js +0 -236
- package/dist/reality/no-dead-buttons/button-sweep-generator.js.map +0 -1
- package/dist/reality/no-dead-buttons/index.d.ts +0 -11
- package/dist/reality/no-dead-buttons/index.d.ts.map +0 -1
- package/dist/reality/no-dead-buttons/index.js +0 -18
- package/dist/reality/no-dead-buttons/index.js.map +0 -1
- package/dist/reality/no-dead-buttons/static-scanner.d.ts +0 -34
- package/dist/reality/no-dead-buttons/static-scanner.d.ts.map +0 -1
- package/dist/reality/no-dead-buttons/static-scanner.js +0 -230
- package/dist/reality/no-dead-buttons/static-scanner.js.map +0 -1
- package/dist/reality/reality-graph.d.ts +0 -192
- package/dist/reality/reality-graph.d.ts.map +0 -1
- package/dist/reality/reality-graph.js +0 -600
- package/dist/reality/reality-graph.js.map +0 -1
- package/dist/reality/reality-runner.d.ts +0 -89
- package/dist/reality/reality-runner.d.ts.map +0 -1
- package/dist/reality/reality-runner.js +0 -540
- package/dist/reality/reality-runner.js.map +0 -1
- package/dist/reality/receipt-generator.d.ts +0 -152
- package/dist/reality/receipt-generator.d.ts.map +0 -1
- package/dist/reality/receipt-generator.js +0 -495
- package/dist/reality/receipt-generator.js.map +0 -1
- package/dist/reality/runtime-tracer.d.ts +0 -75
- package/dist/reality/runtime-tracer.d.ts.map +0 -1
- package/dist/reality/runtime-tracer.js +0 -109
- package/dist/reality/runtime-tracer.js.map +0 -1
- package/dist/runtime/auth-utils.d.ts +0 -43
- package/dist/runtime/auth-utils.d.ts.map +0 -1
- package/dist/runtime/auth-utils.js +0 -130
- package/dist/runtime/auth-utils.js.map +0 -1
- package/dist/runtime/client.d.ts +0 -74
- package/dist/runtime/client.d.ts.map +0 -1
- package/dist/runtime/client.js +0 -222
- package/dist/runtime/client.js.map +0 -1
- package/dist/runtime/creds.d.ts +0 -48
- package/dist/runtime/creds.d.ts.map +0 -1
- package/dist/runtime/creds.js +0 -245
- package/dist/runtime/creds.js.map +0 -1
- package/dist/runtime/exit-codes.d.ts +0 -49
- package/dist/runtime/exit-codes.d.ts.map +0 -1
- package/dist/runtime/exit-codes.js +0 -93
- package/dist/runtime/exit-codes.js.map +0 -1
- package/dist/runtime/index.d.ts +0 -9
- package/dist/runtime/index.d.ts.map +0 -1
- package/dist/runtime/index.js +0 -25
- package/dist/runtime/index.js.map +0 -1
- package/dist/runtime/json-output.d.ts +0 -42
- package/dist/runtime/json-output.d.ts.map +0 -1
- package/dist/runtime/json-output.js +0 -59
- package/dist/runtime/json-output.js.map +0 -1
- package/dist/runtime/semver.d.ts +0 -37
- package/dist/runtime/semver.d.ts.map +0 -1
- package/dist/runtime/semver.js +0 -110
- package/dist/runtime/semver.js.map +0 -1
- package/dist/scan/dead-ui-detector.d.ts +0 -48
- package/dist/scan/dead-ui-detector.d.ts.map +0 -1
- package/dist/scan/dead-ui-detector.js +0 -170
- package/dist/scan/dead-ui-detector.js.map +0 -1
- package/dist/scan/playwright-sweep.d.ts +0 -40
- package/dist/scan/playwright-sweep.d.ts.map +0 -1
- package/dist/scan/playwright-sweep.js +0 -216
- package/dist/scan/playwright-sweep.js.map +0 -1
- package/dist/scan/proof-bundle.d.ts +0 -25
- package/dist/scan/proof-bundle.d.ts.map +0 -1
- package/dist/scan/proof-bundle.js +0 -203
- package/dist/scan/proof-bundle.js.map +0 -1
- package/dist/scan/proof-graph.d.ts +0 -59
- package/dist/scan/proof-graph.d.ts.map +0 -1
- package/dist/scan/proof-graph.js +0 -64
- package/dist/scan/proof-graph.js.map +0 -1
- package/dist/scan/reality-sniff.d.ts +0 -56
- package/dist/scan/reality-sniff.d.ts.map +0 -1
- package/dist/scan/reality-sniff.js +0 -200
- package/dist/scan/reality-sniff.js.map +0 -1
- package/dist/scan/structural-verifier.d.ts +0 -20
- package/dist/scan/structural-verifier.d.ts.map +0 -1
- package/dist/scan/structural-verifier.js +0 -112
- package/dist/scan/structural-verifier.js.map +0 -1
- package/dist/scan/verification-engine.d.ts +0 -47
- package/dist/scan/verification-engine.d.ts.map +0 -1
- package/dist/scan/verification-engine.js +0 -141
- package/dist/scan/verification-engine.js.map +0 -1
- package/dist/scanner/baseline.d.ts +0 -52
- package/dist/scanner/baseline.d.ts.map +0 -1
- package/dist/scanner/baseline.js +0 -85
- package/dist/scanner/baseline.js.map +0 -1
- package/dist/scanner/incremental.d.ts +0 -30
- package/dist/scanner/incremental.d.ts.map +0 -1
- package/dist/scanner/incremental.js +0 -82
- package/dist/scanner/incremental.js.map +0 -1
- package/dist/scanner/parallel.d.ts +0 -43
- package/dist/scanner/parallel.d.ts.map +0 -1
- package/dist/scanner/parallel.js +0 -99
- package/dist/scanner/parallel.js.map +0 -1
- package/dist/standalone.d.ts +0 -1
- package/dist/standalone.d.ts.map +0 -1
- package/dist/standalone.js +0 -1
- package/dist/standalone.js.map +0 -1
- package/dist/truth-pack/index.d.ts +0 -102
- package/dist/truth-pack/index.d.ts.map +0 -1
- package/dist/truth-pack/index.js +0 -694
- package/dist/truth-pack/index.js.map +0 -1
- package/dist/ui/frame.d.ts +0 -68
- package/dist/ui/frame.d.ts.map +0 -1
- package/dist/ui/frame.js +0 -165
- package/dist/ui/frame.js.map +0 -1
- package/dist/ui/index.d.ts +0 -5
- package/dist/ui/index.d.ts.map +0 -1
- package/dist/ui/index.js +0 -16
- package/dist/ui/index.js.map +0 -1
- package/dist/ui.d.ts +0 -36
- package/dist/ui.d.ts.map +0 -1
- package/dist/ui.js +0 -45
- package/dist/ui.js.map +0 -1
|
@@ -1,515 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* vibecheck ship
|
|
4
|
-
*
|
|
5
|
-
* "Ready to deploy?" gate. Enterprise mode.
|
|
6
|
-
* Runs scan + No Dead UI + Playwright + runtime proof
|
|
7
|
-
*/
|
|
8
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
9
|
-
if (k2 === undefined) k2 = k;
|
|
10
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
11
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
12
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
13
|
-
}
|
|
14
|
-
Object.defineProperty(o, k2, desc);
|
|
15
|
-
}) : (function(o, m, k, k2) {
|
|
16
|
-
if (k2 === undefined) k2 = k;
|
|
17
|
-
o[k2] = m[k];
|
|
18
|
-
}));
|
|
19
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
20
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
21
|
-
}) : function(o, v) {
|
|
22
|
-
o["default"] = v;
|
|
23
|
-
});
|
|
24
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
25
|
-
var ownKeys = function(o) {
|
|
26
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
27
|
-
var ar = [];
|
|
28
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
29
|
-
return ar;
|
|
30
|
-
};
|
|
31
|
-
return ownKeys(o);
|
|
32
|
-
};
|
|
33
|
-
return function (mod) {
|
|
34
|
-
if (mod && mod.__esModule) return mod;
|
|
35
|
-
var result = {};
|
|
36
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
37
|
-
__setModuleDefault(result, mod);
|
|
38
|
-
return result;
|
|
39
|
-
};
|
|
40
|
-
})();
|
|
41
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
|
-
exports.registerShipCommand = registerShipCommand;
|
|
43
|
-
const path_1 = require("path");
|
|
44
|
-
const fs_1 = require("fs");
|
|
45
|
-
const dead_ui_detector_1 = require("../scan/dead-ui-detector");
|
|
46
|
-
const playwright_sweep_1 = require("../scan/playwright-sweep");
|
|
47
|
-
const proof_bundle_1 = require("../scan/proof-bundle");
|
|
48
|
-
const ui_1 = require("../ui");
|
|
49
|
-
const ui_2 = require("../ui");
|
|
50
|
-
function registerShipCommand(program) {
|
|
51
|
-
program
|
|
52
|
-
.command('ship')
|
|
53
|
-
.description('Ready to deploy? gate with full checks')
|
|
54
|
-
.option('-p, --path <path>', 'Project path', '.')
|
|
55
|
-
.option('--json', 'Output as JSON')
|
|
56
|
-
.option('--plain', 'No color/unicode output')
|
|
57
|
-
.option('--details', 'Show detailed output')
|
|
58
|
-
.option('--no-runtime', 'Disable runtime checks (not recommended)')
|
|
59
|
-
.option('--open', 'Open HTML report automatically')
|
|
60
|
-
.option('-o, --output <file>', 'Output file path')
|
|
61
|
-
.action(async (options) => {
|
|
62
|
-
if (!options.json) {
|
|
63
|
-
(0, ui_1.printLogo)();
|
|
64
|
-
}
|
|
65
|
-
const projectPath = (0, path_1.resolve)(options.path);
|
|
66
|
-
const outputPath = options.output || (0, path_1.join)(projectPath, '.vibecheck', 'ship.json');
|
|
67
|
-
const artifactsDir = (0, path_1.join)(projectPath, '.vibecheck', 'artifacts', Date.now().toString());
|
|
68
|
-
// Ensure directories exist
|
|
69
|
-
if (!(0, fs_1.existsSync)(artifactsDir)) {
|
|
70
|
-
(0, fs_1.mkdirSync)(artifactsDir, { recursive: true });
|
|
71
|
-
}
|
|
72
|
-
if (!options.json) {
|
|
73
|
-
console.log(`\n${ui_2.styles.brightGreen}${ui_2.styles.bold}${ui_2.icons.ship} SHIP CHECK${ui_2.styles.reset}\n`);
|
|
74
|
-
console.log(` ${ui_2.styles.dim}Project:${ui_2.styles.reset} ${projectPath}\n`);
|
|
75
|
-
}
|
|
76
|
-
// Step 1: Run scan (with runtime enabled by default)
|
|
77
|
-
const scanOptions = {
|
|
78
|
-
path: projectPath,
|
|
79
|
-
json: true,
|
|
80
|
-
runtime: options.runtime !== false,
|
|
81
|
-
strict: true,
|
|
82
|
-
};
|
|
83
|
-
// TODO: Actually call scan command
|
|
84
|
-
// For now, create mock scan result
|
|
85
|
-
const scanResult = {
|
|
86
|
-
version: '1.0.0',
|
|
87
|
-
timestamp: new Date().toISOString(),
|
|
88
|
-
projectPath,
|
|
89
|
-
verdict: 'PASS',
|
|
90
|
-
summary: {
|
|
91
|
-
totalFindings: 0,
|
|
92
|
-
critical: 0,
|
|
93
|
-
high: 0,
|
|
94
|
-
medium: 0,
|
|
95
|
-
low: 0,
|
|
96
|
-
totalScore: 0,
|
|
97
|
-
},
|
|
98
|
-
topBlockers: [],
|
|
99
|
-
proofGraph: {
|
|
100
|
-
nodes: 0,
|
|
101
|
-
edges: 0,
|
|
102
|
-
evidenceStrength: 1.0,
|
|
103
|
-
},
|
|
104
|
-
findings: [],
|
|
105
|
-
hotspots: [],
|
|
106
|
-
nextActions: [],
|
|
107
|
-
};
|
|
108
|
-
// Step 2: No Dead UI Static Gate
|
|
109
|
-
const deadUIDetector = new dead_ui_detector_1.DeadUIDetector();
|
|
110
|
-
const deadUIScan = await deadUIDetector.scan(projectPath, {
|
|
111
|
-
exclude: ['node_modules', '.git', 'dist', 'build', '.next'],
|
|
112
|
-
includeTests: false,
|
|
113
|
-
});
|
|
114
|
-
const deadUIResult = {
|
|
115
|
-
checked: true,
|
|
116
|
-
findings: deadUIScan.findings.map(f => ({
|
|
117
|
-
id: f.id,
|
|
118
|
-
type: f.type,
|
|
119
|
-
file: f.file,
|
|
120
|
-
line: f.line,
|
|
121
|
-
issue: f.issue,
|
|
122
|
-
severity: f.severity,
|
|
123
|
-
suggestion: f.suggestion,
|
|
124
|
-
})),
|
|
125
|
-
summary: deadUIScan.summary,
|
|
126
|
-
};
|
|
127
|
-
// Step 3: Playwright Button Sweep (if UI exists and runtime enabled)
|
|
128
|
-
const playwrightSweep = new playwright_sweep_1.PlaywrightSweep();
|
|
129
|
-
let playwrightResult;
|
|
130
|
-
if (options.runtime !== false) {
|
|
131
|
-
const sweepResult = await playwrightSweep.sweep({
|
|
132
|
-
baseUrl: process.env.BASE_URL || 'http://localhost:3000',
|
|
133
|
-
pages: ['/', '/dashboard', '/settings'], // Default pages, can be configured
|
|
134
|
-
actionSelectors: [
|
|
135
|
-
'[data-action-id]',
|
|
136
|
-
'button:not([disabled])',
|
|
137
|
-
'a[href]:not([href="#"])',
|
|
138
|
-
],
|
|
139
|
-
timeout: 30000,
|
|
140
|
-
}, artifactsDir);
|
|
141
|
-
playwrightResult = {
|
|
142
|
-
ran: sweepResult.ran,
|
|
143
|
-
passed: sweepResult.passed,
|
|
144
|
-
failures: sweepResult.failures,
|
|
145
|
-
traces: sweepResult.traces,
|
|
146
|
-
summary: sweepResult.summary,
|
|
147
|
-
};
|
|
148
|
-
}
|
|
149
|
-
else {
|
|
150
|
-
playwrightResult = {
|
|
151
|
-
ran: false,
|
|
152
|
-
passed: true,
|
|
153
|
-
failures: [],
|
|
154
|
-
traces: [],
|
|
155
|
-
summary: {
|
|
156
|
-
totalActions: 0,
|
|
157
|
-
passed: 0,
|
|
158
|
-
failed: 0,
|
|
159
|
-
errors: 0,
|
|
160
|
-
},
|
|
161
|
-
};
|
|
162
|
-
}
|
|
163
|
-
// Determine verdict
|
|
164
|
-
let verdict = 'GO';
|
|
165
|
-
const hasCriticalDeadUI = deadUIResult.findings.some(f => f.severity === 'critical' || f.severity === 'high');
|
|
166
|
-
const hasPlaywrightFailures = playwrightResult.ran && !playwrightResult.passed;
|
|
167
|
-
if (scanResult.verdict === 'FAIL' || hasCriticalDeadUI || hasPlaywrightFailures) {
|
|
168
|
-
verdict = 'NO-GO';
|
|
169
|
-
}
|
|
170
|
-
else if (scanResult.verdict === 'WARN' || deadUIResult.findings.length > 0) {
|
|
171
|
-
verdict = 'WARN';
|
|
172
|
-
}
|
|
173
|
-
// Build proof bundle if failed
|
|
174
|
-
let proofBundle;
|
|
175
|
-
if (verdict === 'NO-GO') {
|
|
176
|
-
const bundleGenerator = new proof_bundle_1.ProofBundleGenerator();
|
|
177
|
-
const bundle = await bundleGenerator.createBundle(artifactsDir, scanResult, null, // proofGraph would be loaded from file
|
|
178
|
-
deadUIResult, playwrightResult);
|
|
179
|
-
if (bundle) {
|
|
180
|
-
proofBundle = {
|
|
181
|
-
path: bundle.path,
|
|
182
|
-
includes: bundle.includes,
|
|
183
|
-
};
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
// Build result
|
|
187
|
-
const result = {
|
|
188
|
-
version: '1.0.0',
|
|
189
|
-
timestamp: new Date().toISOString(),
|
|
190
|
-
projectPath,
|
|
191
|
-
verdict,
|
|
192
|
-
scan: scanResult,
|
|
193
|
-
deadUI: deadUIResult,
|
|
194
|
-
playwright: playwrightResult,
|
|
195
|
-
proofBundle,
|
|
196
|
-
nextActions: getShipNextActions(verdict, scanResult, deadUIResult, playwrightResult),
|
|
197
|
-
};
|
|
198
|
-
// Output
|
|
199
|
-
if (options.json) {
|
|
200
|
-
console.log(JSON.stringify(result, null, 2));
|
|
201
|
-
}
|
|
202
|
-
else if (options.plain) {
|
|
203
|
-
outputShipPlain(result);
|
|
204
|
-
}
|
|
205
|
-
else {
|
|
206
|
-
outputShipHumanReadable(result, options.details);
|
|
207
|
-
}
|
|
208
|
-
// Write output file
|
|
209
|
-
(0, fs_1.writeFileSync)(outputPath, JSON.stringify(result, null, 2));
|
|
210
|
-
// Generate HTML report
|
|
211
|
-
const htmlReport = generateShipHTMLReport(result);
|
|
212
|
-
const htmlPath = (0, path_1.join)(artifactsDir, 'report.html');
|
|
213
|
-
(0, fs_1.writeFileSync)(htmlPath, htmlReport);
|
|
214
|
-
if (options.open && !options.json) {
|
|
215
|
-
// Open browser
|
|
216
|
-
try {
|
|
217
|
-
const { exec } = await Promise.resolve().then(() => __importStar(require('child_process')));
|
|
218
|
-
const platform = process.platform;
|
|
219
|
-
let command;
|
|
220
|
-
if (platform === 'win32') {
|
|
221
|
-
command = `start "" "${htmlPath}"`;
|
|
222
|
-
}
|
|
223
|
-
else if (platform === 'darwin') {
|
|
224
|
-
command = `open "${htmlPath}"`;
|
|
225
|
-
}
|
|
226
|
-
else {
|
|
227
|
-
command = `xdg-open "${htmlPath}"`;
|
|
228
|
-
}
|
|
229
|
-
exec(command, (error) => {
|
|
230
|
-
if (error) {
|
|
231
|
-
console.log(` ${ui_2.styles.dim}Report: ${htmlPath}${ui_2.styles.reset}\n`);
|
|
232
|
-
}
|
|
233
|
-
});
|
|
234
|
-
}
|
|
235
|
-
catch {
|
|
236
|
-
console.log(` ${ui_2.styles.dim}Report: ${htmlPath}${ui_2.styles.reset}\n`);
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
else if (!options.json && !options.plain) {
|
|
240
|
-
console.log(` ${ui_2.styles.dim}Report: ${htmlPath}${ui_2.styles.reset}\n`);
|
|
241
|
-
}
|
|
242
|
-
// Exit code
|
|
243
|
-
if (verdict === 'NO-GO') {
|
|
244
|
-
process.exit(1);
|
|
245
|
-
}
|
|
246
|
-
else if (verdict === 'WARN') {
|
|
247
|
-
process.exit(0); // WARN doesn't fail
|
|
248
|
-
}
|
|
249
|
-
else {
|
|
250
|
-
process.exit(0);
|
|
251
|
-
}
|
|
252
|
-
});
|
|
253
|
-
}
|
|
254
|
-
// Functions removed - now using DeadUIDetector and PlaywrightSweep classes directly
|
|
255
|
-
function getShipNextActions(verdict, scan, deadUI, playwright) {
|
|
256
|
-
const actions = [];
|
|
257
|
-
if (verdict === 'NO-GO') {
|
|
258
|
-
if (scan.verdict === 'FAIL') {
|
|
259
|
-
actions.push('vibecheck fix --id <finding-id>');
|
|
260
|
-
}
|
|
261
|
-
if (deadUI.findings.length > 0) {
|
|
262
|
-
actions.push('Fix dead UI issues');
|
|
263
|
-
}
|
|
264
|
-
if (!playwright.passed) {
|
|
265
|
-
actions.push('vibecheck replay <scan-id> (to review failures)');
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
else if (verdict === 'WARN') {
|
|
269
|
-
actions.push('Review warnings before deploying');
|
|
270
|
-
}
|
|
271
|
-
else {
|
|
272
|
-
actions.push('Ready to deploy!');
|
|
273
|
-
}
|
|
274
|
-
return actions;
|
|
275
|
-
}
|
|
276
|
-
function outputShipHumanReadable(result, details = false) {
|
|
277
|
-
console.log(` ${ui_2.styles.bold}Verdict:${ui_2.styles.reset} ${getShipVerdictColor(result.verdict)}${result.verdict}${ui_2.styles.reset}\n`);
|
|
278
|
-
console.log(` ${ui_2.styles.bold}Scan:${ui_2.styles.reset} ${result.scan.verdict} (${result.scan.summary.totalFindings} findings)`);
|
|
279
|
-
console.log(` ${ui_2.styles.bold}Dead UI:${ui_2.styles.reset} ${result.deadUI.summary.total} issues (${result.deadUI.summary.critical} critical, ${result.deadUI.summary.high} high)`);
|
|
280
|
-
if (result.playwright.ran) {
|
|
281
|
-
console.log(` ${ui_2.styles.bold}Playwright:${ui_2.styles.reset} ${result.playwright.passed ? 'PASSED' : 'FAILED'} (${result.playwright.summary.passed}/${result.playwright.summary.totalActions} actions)`);
|
|
282
|
-
}
|
|
283
|
-
else {
|
|
284
|
-
console.log(` ${ui_2.styles.bold}Playwright:${ui_2.styles.reset} ${ui_2.styles.dim}Not run${ui_2.styles.reset}`);
|
|
285
|
-
}
|
|
286
|
-
console.log('');
|
|
287
|
-
if (result.nextActions.length > 0) {
|
|
288
|
-
console.log(` ${ui_2.styles.bold}Next best action:${ui_2.styles.reset} ${ui_2.styles.bold}${result.nextActions[0]}${ui_2.styles.reset}`);
|
|
289
|
-
if (details && result.nextActions.length > 1) {
|
|
290
|
-
console.log(`\n ${ui_2.styles.bold}All actions:${ui_2.styles.reset}`);
|
|
291
|
-
result.nextActions.slice(1).forEach(action => {
|
|
292
|
-
console.log(` ${ui_2.styles.cyan}${ui_2.icons.bullet}${ui_2.styles.reset} ${ui_2.styles.bold}${action}${ui_2.styles.reset}`);
|
|
293
|
-
});
|
|
294
|
-
}
|
|
295
|
-
console.log('');
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
function outputShipPlain(result) {
|
|
299
|
-
console.log(`Verdict: ${result.verdict}`);
|
|
300
|
-
console.log(`Scan: ${result.scan.verdict} (${result.scan.summary.totalFindings} findings)`);
|
|
301
|
-
console.log(`Dead UI: ${result.deadUI.summary.total} issues`);
|
|
302
|
-
if (result.playwright.ran) {
|
|
303
|
-
console.log(`Playwright: ${result.playwright.passed ? 'PASSED' : 'FAILED'} (${result.playwright.summary.passed}/${result.playwright.summary.totalActions} actions)`);
|
|
304
|
-
}
|
|
305
|
-
console.log(`\nNext best action: ${result.nextActions[0] || 'Ready to deploy!'}`);
|
|
306
|
-
}
|
|
307
|
-
function getShipVerdictColor(verdict) {
|
|
308
|
-
switch (verdict) {
|
|
309
|
-
case 'GO':
|
|
310
|
-
return ui_2.styles.brightGreen;
|
|
311
|
-
case 'NO-GO':
|
|
312
|
-
return ui_2.styles.brightRed;
|
|
313
|
-
case 'WARN':
|
|
314
|
-
return ui_2.styles.brightYellow;
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
function generateShipHTMLReport(result) {
|
|
318
|
-
const verdictColor = result.verdict === 'GO' ? '#10b981' : result.verdict === 'NO-GO' ? '#ef4444' : '#f59e0b';
|
|
319
|
-
const verdictIcon = result.verdict === 'GO' ? '✓' : result.verdict === 'NO-GO' ? '✗' : '⚠';
|
|
320
|
-
return `<!DOCTYPE html>
|
|
321
|
-
<html lang="en">
|
|
322
|
-
<head>
|
|
323
|
-
<meta charset="UTF-8">
|
|
324
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
325
|
-
<title>vibecheck Ship Report - ${result.verdict}</title>
|
|
326
|
-
<style>
|
|
327
|
-
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
328
|
-
body {
|
|
329
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
330
|
-
background: #0f172a;
|
|
331
|
-
color: #e2e8f0;
|
|
332
|
-
line-height: 1.6;
|
|
333
|
-
padding: 2rem;
|
|
334
|
-
}
|
|
335
|
-
.container { max-width: 1200px; margin: 0 auto; }
|
|
336
|
-
.header {
|
|
337
|
-
background: #1e293b;
|
|
338
|
-
border-radius: 12px;
|
|
339
|
-
padding: 2rem;
|
|
340
|
-
margin-bottom: 2rem;
|
|
341
|
-
border-left: 4px solid ${verdictColor};
|
|
342
|
-
}
|
|
343
|
-
.verdict {
|
|
344
|
-
font-size: 2rem;
|
|
345
|
-
font-weight: bold;
|
|
346
|
-
color: ${verdictColor};
|
|
347
|
-
margin-bottom: 0.5rem;
|
|
348
|
-
}
|
|
349
|
-
.timestamp { color: #94a3b8; font-size: 0.9rem; }
|
|
350
|
-
.section {
|
|
351
|
-
background: #1e293b;
|
|
352
|
-
border-radius: 12px;
|
|
353
|
-
padding: 1.5rem;
|
|
354
|
-
margin-bottom: 1.5rem;
|
|
355
|
-
}
|
|
356
|
-
.section-title {
|
|
357
|
-
font-size: 1.25rem;
|
|
358
|
-
font-weight: bold;
|
|
359
|
-
margin-bottom: 1rem;
|
|
360
|
-
color: #f1f5f9;
|
|
361
|
-
}
|
|
362
|
-
.metric {
|
|
363
|
-
display: inline-block;
|
|
364
|
-
background: #334155;
|
|
365
|
-
padding: 0.5rem 1rem;
|
|
366
|
-
border-radius: 6px;
|
|
367
|
-
margin-right: 1rem;
|
|
368
|
-
margin-bottom: 0.5rem;
|
|
369
|
-
}
|
|
370
|
-
.metric-value {
|
|
371
|
-
font-size: 1.5rem;
|
|
372
|
-
font-weight: bold;
|
|
373
|
-
color: #60a5fa;
|
|
374
|
-
}
|
|
375
|
-
.metric-label {
|
|
376
|
-
font-size: 0.875rem;
|
|
377
|
-
color: #94a3b8;
|
|
378
|
-
}
|
|
379
|
-
.finding {
|
|
380
|
-
background: #0f172a;
|
|
381
|
-
border-left: 3px solid #ef4444;
|
|
382
|
-
padding: 1rem;
|
|
383
|
-
margin-bottom: 0.75rem;
|
|
384
|
-
border-radius: 6px;
|
|
385
|
-
}
|
|
386
|
-
.finding-id {
|
|
387
|
-
font-family: 'Monaco', 'Courier New', monospace;
|
|
388
|
-
color: #60a5fa;
|
|
389
|
-
font-weight: bold;
|
|
390
|
-
}
|
|
391
|
-
.finding-file {
|
|
392
|
-
color: #94a3b8;
|
|
393
|
-
font-size: 0.875rem;
|
|
394
|
-
margin-top: 0.25rem;
|
|
395
|
-
}
|
|
396
|
-
.next-actions {
|
|
397
|
-
background: #1e293b;
|
|
398
|
-
border-radius: 12px;
|
|
399
|
-
padding: 1.5rem;
|
|
400
|
-
margin-top: 2rem;
|
|
401
|
-
}
|
|
402
|
-
.action {
|
|
403
|
-
background: #334155;
|
|
404
|
-
padding: 0.75rem 1rem;
|
|
405
|
-
border-radius: 6px;
|
|
406
|
-
margin-bottom: 0.5rem;
|
|
407
|
-
font-family: 'Monaco', 'Courier New', monospace;
|
|
408
|
-
color: #60a5fa;
|
|
409
|
-
}
|
|
410
|
-
.badge {
|
|
411
|
-
display: inline-block;
|
|
412
|
-
padding: 0.25rem 0.75rem;
|
|
413
|
-
border-radius: 4px;
|
|
414
|
-
font-size: 0.75rem;
|
|
415
|
-
font-weight: bold;
|
|
416
|
-
margin-left: 0.5rem;
|
|
417
|
-
}
|
|
418
|
-
.badge-critical { background: #ef4444; color: white; }
|
|
419
|
-
.badge-high { background: #f59e0b; color: white; }
|
|
420
|
-
.badge-medium { background: #3b82f6; color: white; }
|
|
421
|
-
.badge-low { background: #6b7280; color: white; }
|
|
422
|
-
</style>
|
|
423
|
-
</head>
|
|
424
|
-
<body>
|
|
425
|
-
<div class="container">
|
|
426
|
-
<div class="header">
|
|
427
|
-
<div class="verdict">${verdictIcon} ${result.verdict}</div>
|
|
428
|
-
<div class="timestamp">Generated: ${new Date(result.timestamp).toLocaleString()}</div>
|
|
429
|
-
<div class="timestamp">Project: ${result.projectPath}</div>
|
|
430
|
-
</div>
|
|
431
|
-
|
|
432
|
-
<div class="section">
|
|
433
|
-
<div class="section-title">Summary</div>
|
|
434
|
-
<div class="metric">
|
|
435
|
-
<div class="metric-value">${result.scan.summary.totalFindings}</div>
|
|
436
|
-
<div class="metric-label">Scan Findings</div>
|
|
437
|
-
</div>
|
|
438
|
-
<div class="metric">
|
|
439
|
-
<div class="metric-value">${result.deadUI.summary.total}</div>
|
|
440
|
-
<div class="metric-label">Dead UI Issues</div>
|
|
441
|
-
</div>
|
|
442
|
-
${result.playwright.ran ? `
|
|
443
|
-
<div class="metric">
|
|
444
|
-
<div class="metric-value">${result.playwright.summary.passed}/${result.playwright.summary.totalActions}</div>
|
|
445
|
-
<div class="metric-label">Playwright Actions</div>
|
|
446
|
-
</div>
|
|
447
|
-
` : ''}
|
|
448
|
-
</div>
|
|
449
|
-
|
|
450
|
-
${result.scan.topBlockers.length > 0 ? `
|
|
451
|
-
<div class="section">
|
|
452
|
-
<div class="section-title">Top Blockers</div>
|
|
453
|
-
${result.scan.topBlockers.slice(0, 10).map(blocker => `
|
|
454
|
-
<div class="finding">
|
|
455
|
-
<div class="finding-id">${blocker.id}</div>
|
|
456
|
-
<div>${blocker.type} - ${blocker.severity}</div>
|
|
457
|
-
<div class="finding-file">${blocker.file}:${blocker.line}</div>
|
|
458
|
-
</div>
|
|
459
|
-
`).join('')}
|
|
460
|
-
</div>
|
|
461
|
-
` : ''}
|
|
462
|
-
|
|
463
|
-
${result.deadUI.findings.length > 0 ? `
|
|
464
|
-
<div class="section">
|
|
465
|
-
<div class="section-title">Dead UI Issues</div>
|
|
466
|
-
${result.deadUI.findings.slice(0, 10).map(finding => `
|
|
467
|
-
<div class="finding">
|
|
468
|
-
<div class="finding-id">${finding.id}</div>
|
|
469
|
-
<div>${finding.issue}</div>
|
|
470
|
-
<div class="finding-file">${finding.file}:${finding.line}</div>
|
|
471
|
-
<div style="margin-top: 0.5rem; color: #94a3b8; font-size: 0.875rem;">
|
|
472
|
-
Suggestion: ${finding.suggestion}
|
|
473
|
-
</div>
|
|
474
|
-
</div>
|
|
475
|
-
`).join('')}
|
|
476
|
-
</div>
|
|
477
|
-
` : ''}
|
|
478
|
-
|
|
479
|
-
${result.playwright.failures.length > 0 ? `
|
|
480
|
-
<div class="section">
|
|
481
|
-
<div class="section-title">Playwright Failures</div>
|
|
482
|
-
${result.playwright.failures.map((failure, i) => `
|
|
483
|
-
<div class="finding">
|
|
484
|
-
<div class="finding-id">Test ${i + 1}</div>
|
|
485
|
-
<div>${failure.test}</div>
|
|
486
|
-
<div style="color: #ef4444; margin-top: 0.5rem;">${failure.error}</div>
|
|
487
|
-
${failure.trace ? `<div style="margin-top: 0.5rem; color: #60a5fa;">Trace: ${failure.trace}</div>` : ''}
|
|
488
|
-
</div>
|
|
489
|
-
`).join('')}
|
|
490
|
-
</div>
|
|
491
|
-
` : ''}
|
|
492
|
-
|
|
493
|
-
${result.proofBundle ? `
|
|
494
|
-
<div class="section">
|
|
495
|
-
<div class="section-title">Proof Bundle</div>
|
|
496
|
-
<div style="color: #94a3b8;">
|
|
497
|
-
Proof bundle available at: ${result.proofBundle.path}
|
|
498
|
-
</div>
|
|
499
|
-
<div style="margin-top: 0.5rem; color: #94a3b8; font-size: 0.875rem;">
|
|
500
|
-
Includes: ${result.proofBundle.includes.join(', ')}
|
|
501
|
-
</div>
|
|
502
|
-
</div>
|
|
503
|
-
` : ''}
|
|
504
|
-
|
|
505
|
-
<div class="next-actions">
|
|
506
|
-
<div class="section-title">Next Actions</div>
|
|
507
|
-
${result.nextActions.map(action => `
|
|
508
|
-
<div class="action">${action}</div>
|
|
509
|
-
`).join('')}
|
|
510
|
-
</div>
|
|
511
|
-
</div>
|
|
512
|
-
</body>
|
|
513
|
-
</html>`;
|
|
514
|
-
}
|
|
515
|
-
//# sourceMappingURL=ship-consolidated.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ship-consolidated.js","sourceRoot":"","sources":["../../src/commands/ship-consolidated.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6DH,kDA6NC;AAvRD,+BAAqC;AACrC,2BAA0D;AAE1D,+DAA0D;AAC1D,+DAA2D;AAC3D,uDAA4D;AAC5D,8BAAkC;AAClC,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,MAAM,CAAC,EAAE,CAAC;8BACX,MAAM;OAC7B,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC;;;;QAIT,CAAC;AACT,CAAC"}
|
package/dist/commands/stats.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* vibecheck stats
|
|
3
|
-
*
|
|
4
|
-
* Makes value visible: "hallucinations blocked" + "saved moments" + latency + trends.
|
|
5
|
-
*/
|
|
6
|
-
import { Command } from 'commander';
|
|
7
|
-
export declare function registerStatsCommand(program: Command): void;
|
|
8
|
-
//# sourceMappingURL=stats.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stats.d.ts","sourceRoot":"","sources":["../../src/commands/stats.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAqCpC,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CA8G3D"}
|