@probelabs/visor 0.1.97 → 0.1.100
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 +16 -15
- package/action.yml +7 -2
- package/defaults/.visor.yaml +7 -6
- package/dist/action-cli-bridge.d.ts +1 -0
- package/dist/action-cli-bridge.d.ts.map +1 -1
- package/dist/ai-review-service.d.ts.map +1 -1
- package/dist/check-execution-engine.d.ts +8 -2
- package/dist/check-execution-engine.d.ts.map +1 -1
- package/dist/cli-main.d.ts.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/config.d.ts +5 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/debug-visualizer/debug-span-exporter.d.ts +47 -0
- package/dist/debug-visualizer/debug-span-exporter.d.ts.map +1 -0
- package/dist/debug-visualizer/trace-reader.d.ts +117 -0
- package/dist/debug-visualizer/trace-reader.d.ts.map +1 -0
- package/dist/debug-visualizer/ui/index.html +2568 -0
- package/dist/debug-visualizer/ws-server.d.ts +99 -0
- package/dist/debug-visualizer/ws-server.d.ts.map +1 -0
- package/dist/defaults/.visor.yaml +7 -6
- package/dist/failure-condition-evaluator.d.ts.map +1 -1
- package/dist/generated/config-schema.d.ts +7 -3
- package/dist/generated/config-schema.d.ts.map +1 -1
- package/dist/generated/config-schema.json +7 -3
- package/dist/git-repository-analyzer.d.ts +1 -7
- package/dist/git-repository-analyzer.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17668 -1760
- package/dist/liquid-extensions.d.ts +1 -1
- package/dist/liquid-extensions.d.ts.map +1 -1
- package/dist/output/code-review/schema.json +2 -2
- package/dist/output/traces/run-2025-10-22T10-40-34-055Z.ndjson +218 -0
- package/dist/pr-analyzer.d.ts +2 -1
- package/dist/pr-analyzer.d.ts.map +1 -1
- package/dist/providers/ai-check-provider.d.ts.map +1 -1
- package/dist/providers/check-provider-registry.d.ts.map +1 -1
- package/dist/providers/check-provider.interface.d.ts +17 -6
- package/dist/providers/check-provider.interface.d.ts.map +1 -1
- package/dist/providers/command-check-provider.d.ts.map +1 -1
- package/dist/providers/github-ops-provider.d.ts.map +1 -1
- package/dist/providers/http-check-provider.d.ts.map +1 -1
- package/dist/providers/human-input-check-provider.d.ts +78 -0
- package/dist/providers/human-input-check-provider.d.ts.map +1 -0
- package/dist/providers/index.d.ts +2 -1
- package/dist/providers/index.d.ts.map +1 -1
- package/dist/providers/mcp-check-provider.d.ts.map +1 -1
- package/dist/providers/memory-check-provider.d.ts.map +1 -1
- package/dist/sdk/check-execution-engine-F3662LY7.mjs +11 -0
- package/dist/sdk/{chunk-I3GQJIR7.mjs → chunk-B5QBV2QJ.mjs} +2 -2
- package/dist/sdk/chunk-B5QBV2QJ.mjs.map +1 -0
- package/dist/sdk/{chunk-IG3BFIIN.mjs → chunk-FVS5CJ5S.mjs} +30 -1
- package/dist/sdk/chunk-FVS5CJ5S.mjs.map +1 -0
- package/dist/sdk/{chunk-YXOWIDEF.mjs → chunk-TUTOLSFV.mjs} +15 -3
- package/dist/sdk/chunk-TUTOLSFV.mjs.map +1 -0
- package/dist/sdk/{chunk-4VK6WTYU.mjs → chunk-X2JKUOE5.mjs} +1375 -570
- package/dist/sdk/chunk-X2JKUOE5.mjs.map +1 -0
- package/dist/sdk/{liquid-extensions-GMEGEGC3.mjs → liquid-extensions-KVL4MKRH.mjs} +2 -2
- package/dist/sdk/{mermaid-telemetry-4DUEYCLE.mjs → mermaid-telemetry-FBF6D35S.mjs} +2 -2
- package/dist/sdk/sdk.d.mts +62 -4
- package/dist/sdk/sdk.d.ts +62 -4
- package/dist/sdk/sdk.js +1658 -723
- package/dist/sdk/sdk.js.map +1 -1
- package/dist/sdk/sdk.mjs +60 -15
- package/dist/sdk/sdk.mjs.map +1 -1
- package/dist/sdk/{tracer-init-RJGAIOBP.mjs → tracer-init-WC75N5NW.mjs} +2 -2
- package/dist/sdk.d.ts +5 -2
- package/dist/sdk.d.ts.map +1 -1
- package/dist/telemetry/file-span-exporter.d.ts.map +1 -1
- package/dist/telemetry/opentelemetry.d.ts +2 -0
- package/dist/telemetry/opentelemetry.d.ts.map +1 -1
- package/dist/telemetry/state-capture.d.ts +53 -0
- package/dist/telemetry/state-capture.d.ts.map +1 -0
- package/dist/telemetry/trace-helpers.d.ts.map +1 -1
- package/dist/traces/run-2025-10-22T10-40-34-055Z.ndjson +218 -0
- package/dist/types/cli.d.ts +6 -0
- package/dist/types/cli.d.ts.map +1 -1
- package/dist/types/config.d.ts +44 -3
- package/dist/types/config.d.ts.map +1 -1
- package/dist/utils/config-loader.d.ts +5 -0
- package/dist/utils/config-loader.d.ts.map +1 -1
- package/dist/utils/file-exclusion.d.ts +50 -0
- package/dist/utils/file-exclusion.d.ts.map +1 -0
- package/dist/utils/interactive-prompt.d.ts +26 -0
- package/dist/utils/interactive-prompt.d.ts.map +1 -0
- package/dist/utils/sandbox.d.ts +26 -0
- package/dist/utils/sandbox.d.ts.map +1 -0
- package/dist/utils/stdin-reader.d.ts +22 -0
- package/dist/utils/stdin-reader.d.ts.map +1 -0
- package/dist/utils/tracer-init.d.ts +0 -5
- package/dist/utils/tracer-init.d.ts.map +1 -1
- package/package.json +8 -4
- package/dist/output/traces/run-2025-10-19T14-24-36-341Z.ndjson +0 -40
- package/dist/output/traces/run-2025-10-19T14-24-48-674Z.ndjson +0 -40
- package/dist/output/traces/run-2025-10-19T14-24-49-238Z.ndjson +0 -40
- package/dist/output/traces/run-2025-10-19T14-24-49-761Z.ndjson +0 -40
- package/dist/output/traces/run-2025-10-19T14-24-50-279Z.ndjson +0 -12
- package/dist/sdk/check-execution-engine-S7BFPVWA.mjs +0 -11
- package/dist/sdk/chunk-4VK6WTYU.mjs.map +0 -1
- package/dist/sdk/chunk-I3GQJIR7.mjs.map +0 -1
- package/dist/sdk/chunk-IG3BFIIN.mjs.map +0 -1
- package/dist/sdk/chunk-YXOWIDEF.mjs.map +0 -1
- package/dist/traces/run-2025-10-19T14-24-36-341Z.ndjson +0 -40
- package/dist/traces/run-2025-10-19T14-24-48-674Z.ndjson +0 -40
- package/dist/traces/run-2025-10-19T14-24-49-238Z.ndjson +0 -40
- package/dist/traces/run-2025-10-19T14-24-49-761Z.ndjson +0 -40
- package/dist/traces/run-2025-10-19T14-24-50-279Z.ndjson +0 -12
- /package/dist/sdk/{check-execution-engine-S7BFPVWA.mjs.map → check-execution-engine-F3662LY7.mjs.map} +0 -0
- /package/dist/sdk/{liquid-extensions-GMEGEGC3.mjs.map → liquid-extensions-KVL4MKRH.mjs.map} +0 -0
- /package/dist/sdk/{mermaid-telemetry-4DUEYCLE.mjs.map → mermaid-telemetry-FBF6D35S.mjs.map} +0 -0
- /package/dist/sdk/{tracer-init-RJGAIOBP.mjs.map → tracer-init-WC75N5NW.mjs.map} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_tracer_init,
|
|
3
3
|
initializeTracer
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TUTOLSFV.mjs";
|
|
5
5
|
import "./chunk-WMJKH4XE.mjs";
|
|
6
6
|
init_tracer_init();
|
|
7
7
|
export {
|
|
8
8
|
initializeTracer
|
|
9
9
|
};
|
|
10
|
-
//# sourceMappingURL=tracer-init-
|
|
10
|
+
//# sourceMappingURL=tracer-init-WC75N5NW.mjs.map
|
package/dist/sdk.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { AnalysisResult } from './output-formatters';
|
|
2
|
-
import type { VisorConfig, TagFilter } from './types/config';
|
|
3
|
-
|
|
2
|
+
import type { VisorConfig, TagFilter, HumanInputRequest } from './types/config';
|
|
3
|
+
import type { ExecutionContext } from './providers/check-provider.interface';
|
|
4
|
+
export type { VisorConfig, TagFilter, HumanInputRequest, ExecutionContext };
|
|
4
5
|
export interface VisorOptions {
|
|
5
6
|
cwd?: string;
|
|
6
7
|
debug?: boolean;
|
|
@@ -18,6 +19,8 @@ export interface RunOptions extends VisorOptions {
|
|
|
18
19
|
};
|
|
19
20
|
/** Strict mode: treat config warnings (like unknown keys) as errors (default: false) */
|
|
20
21
|
strictValidation?: boolean;
|
|
22
|
+
/** Execution context for providers (CLI message, hooks, etc.) */
|
|
23
|
+
executionContext?: ExecutionContext;
|
|
21
24
|
}
|
|
22
25
|
/**
|
|
23
26
|
* Load and validate a Visor config.
|
package/dist/sdk.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/sdk.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/sdk.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAChF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAE7E,YAAY,EAAE,WAAW,EAAE,SAAS,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,CAAC;AAE5E,MAAM,WAAW,YAAY;IAC3B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,MAAM,WAAW,UAAW,SAAQ,YAAY;IAC9C,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,CAAA;KAAE,CAAC;IAC9D,wFAAwF;IACxF,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,iEAAiE;IACjE,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC;AAED;;;;;GAKG;AACH,wBAAsB,UAAU,CAC9B,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,EAC5C,OAAO,CAAC,EAAE;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,GAC7B,OAAO,CAAC,WAAW,CAAC,CA6BtB;AAED,wEAAwE;AACxE,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,WAAW,GAAG,SAAS,GAAG,MAAM,EAAE,CAsB3F;AAED;;;GAGG;AACH,wBAAsB,SAAS,CAAC,IAAI,GAAE,UAAe,GAAG,OAAO,CAAC,cAAc,CAAC,CAwC9E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-span-exporter.d.ts","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/telemetry/file-span-exporter.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE3E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,WAAW,uBAAuB;IACtC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,qBAAa,gBAAiB,YAAW,YAAY;IACnD,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,MAAM,CAA0C;IACxD,OAAO,CAAC,MAAM,CAAU;gBAEZ,IAAI,GAAE,uBAA4B;
|
|
1
|
+
{"version":3,"file":"file-span-exporter.d.ts","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/telemetry/file-span-exporter.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE3E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,WAAW,uBAAuB;IACtC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,qBAAa,gBAAiB,YAAW,YAAY;IACnD,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,MAAM,CAA0C;IACxD,OAAO,CAAC,MAAM,CAAU;gBAEZ,IAAI,GAAE,uBAA4B;IAiB9C,MAAM,CAAC,KAAK,EAAE,YAAY,EAAE,EAAE,cAAc,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,GAAG,IAAI;IAgBnF,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAezB,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;CAI5B"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { DebugVisualizerServer } from '../debug-visualizer/ws-server';
|
|
1
2
|
export interface TelemetryInitOptions {
|
|
2
3
|
enabled?: boolean;
|
|
3
4
|
sink?: 'otlp' | 'file' | 'console';
|
|
@@ -15,6 +16,7 @@ export interface TelemetryInitOptions {
|
|
|
15
16
|
patchConsole?: boolean;
|
|
16
17
|
autoInstrument?: boolean;
|
|
17
18
|
traceReport?: boolean;
|
|
19
|
+
debugServer?: DebugVisualizerServer;
|
|
18
20
|
}
|
|
19
21
|
/**
|
|
20
22
|
* Reset telemetry state (for testing only).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"opentelemetry.d.ts","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/telemetry/opentelemetry.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"opentelemetry.d.ts","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/telemetry/opentelemetry.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAE3E,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACnC,IAAI,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAC3E,IAAI,CAAC,EAAE;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC1D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,qBAAqB,CAAC;CACrC;AAKD;;;GAGG;AACH,wBAAgB,wBAAwB,IAAI,IAAI,CAG/C;AAED,wBAAsB,aAAa,CAAC,IAAI,GAAE,oBAAyB,GAAG,OAAO,CAAC,IAAI,CAAC,CAqNlF;AAED,wBAAsB,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,CAgCvD"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enhanced state capture for OTEL spans to enable interactive debugging.
|
|
3
|
+
*
|
|
4
|
+
* This module provides utilities to capture complete execution state in span
|
|
5
|
+
* attributes, enabling time-travel debugging and full state inspection.
|
|
6
|
+
*/
|
|
7
|
+
import { Span } from '@opentelemetry/api';
|
|
8
|
+
/**
|
|
9
|
+
* Capture check input context (Liquid template variables) in span.
|
|
10
|
+
*/
|
|
11
|
+
export declare function captureCheckInputContext(span: Span, context: Record<string, unknown>): void;
|
|
12
|
+
/**
|
|
13
|
+
* Capture check output in span.
|
|
14
|
+
*/
|
|
15
|
+
export declare function captureCheckOutput(span: Span, output: unknown): void;
|
|
16
|
+
/**
|
|
17
|
+
* Capture forEach iteration state.
|
|
18
|
+
*/
|
|
19
|
+
export declare function captureForEachState(span: Span, items: unknown[], index: number, currentItem: unknown): void;
|
|
20
|
+
/**
|
|
21
|
+
* Capture Liquid template evaluation details.
|
|
22
|
+
*/
|
|
23
|
+
export declare function captureLiquidEvaluation(span: Span, template: string, context: Record<string, unknown>, result: string): void;
|
|
24
|
+
/**
|
|
25
|
+
* Capture JavaScript transform execution.
|
|
26
|
+
*/
|
|
27
|
+
export declare function captureTransformJS(span: Span, code: string, input: unknown, output: unknown): void;
|
|
28
|
+
/**
|
|
29
|
+
* Capture provider request/response summary (safe, no raw AI content).
|
|
30
|
+
*/
|
|
31
|
+
export declare function captureProviderCall(span: Span, providerType: string, request: {
|
|
32
|
+
prompt?: string;
|
|
33
|
+
model?: string;
|
|
34
|
+
[key: string]: unknown;
|
|
35
|
+
}, response: {
|
|
36
|
+
content?: string;
|
|
37
|
+
tokens?: number;
|
|
38
|
+
[key: string]: unknown;
|
|
39
|
+
}): void;
|
|
40
|
+
/**
|
|
41
|
+
* Capture conditional evaluation (if/fail_if).
|
|
42
|
+
*/
|
|
43
|
+
export declare function captureConditionalEvaluation(span: Span, condition: string, result: boolean, context: Record<string, unknown>): void;
|
|
44
|
+
/**
|
|
45
|
+
* Capture routing decision (retry/goto/run).
|
|
46
|
+
*/
|
|
47
|
+
export declare function captureRoutingDecision(span: Span, action: 'retry' | 'goto' | 'run', target: string | string[], condition?: string): void;
|
|
48
|
+
/**
|
|
49
|
+
* Create a snapshot of the entire execution state at a point in time.
|
|
50
|
+
* This is added as a span event for time-travel debugging.
|
|
51
|
+
*/
|
|
52
|
+
export declare function captureStateSnapshot(span: Span, checkId: string, outputs: Record<string, unknown>, memory: Record<string, unknown>): void;
|
|
53
|
+
//# sourceMappingURL=state-capture.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state-capture.d.ts","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/telemetry/state-capture.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAoC1C;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CA2B3F;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,GAAG,IAAI,CAoBpE;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,OAAO,EAAE,EAChB,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,OAAO,GACnB,IAAI,CAmBN;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAChC,MAAM,EAAE,MAAM,GACb,IAAI,CAUN;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,OAAO,EACd,MAAM,EAAE,OAAO,GACd,IAAI,CAWN;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,EACpE,QAAQ,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,GACtE,IAAI,CAsBN;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAC1C,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC/B,IAAI,CAQN;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,OAAO,GAAG,MAAM,GAAG,KAAK,EAChC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,EACzB,SAAS,CAAC,EAAE,MAAM,GACjB,IAAI,CAUN;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAChC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9B,IAAI,CAWN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trace-helpers.d.ts","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/telemetry/trace-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,IAAI,EAAqC,MAAM,oBAAoB,CAAC;AAEnG,wBAAgB,SAAS,wCAExB;AAED,wBAAsB,cAAc,CAAC,CAAC,EACpC,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,EAC1C,EAAE,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,GAC7B,OAAO,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"trace-helpers.d.ts","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/telemetry/trace-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,IAAI,EAAqC,MAAM,oBAAoB,CAAC;AAEnG,wBAAgB,SAAS,wCAExB;AAED,wBAAsB,cAAc,CAAC,CAAC,EACpC,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,EAC1C,EAAE,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,GAC7B,OAAO,CAAC,CAAC,CAAC,CA6BZ;AAED,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAoB5E;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAQtE;AAED,wBAAgB,YAAY,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CAS/C;AAID,wBAAgB,uBAAuB,IAAI,MAAM,GAAG,IAAI,CAwBvD;AACD,wBAAgB,gBAAgB,IAAI,IAAI,CAQvC"}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
{"name":"visor.run","attributes":{"started":true}}
|
|
2
|
+
{"name":"visor.run","attributes":{"started":true}}
|
|
3
|
+
{"name":"visor.run","attributes":{"started":true}}
|
|
4
|
+
{"name":"visor.run","attributes":{"started":true}}
|
|
5
|
+
{"name":"visor.provider","attributes":{"visor.check.id":"overview","visor.provider.type":"ai"}}
|
|
6
|
+
{"name":"visor.check","attributes":{"visor.check.id":"overview","visor.check.input.context":"{\"pr\":{\"number\":0,\"title\":\"Local Analysis: unknown (No changes)\",\"author\":\"unknown\",\"branch\":\"unknown\",\"base\":\"main\"},\"files\":[],\"outputs\":{}}"},"events":[]}
|
|
7
|
+
{"name":"visor.check","attributes":{"visor.check.id":"overview","visor.check.output":"{\"issues\":[]}"},"events":[]}
|
|
8
|
+
{"name":"visor.check","attributes":{"visor.check.id":"overview"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
9
|
+
{"name":"visor.check","attributes":{"visor.check.id":"overview"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
10
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
11
|
+
{"name":"visor.fail_if","attributes":{"check":"overview","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global"}}]}
|
|
12
|
+
{"name":"visor.check","attributes":{"visor.check.id":"overview"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
13
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
14
|
+
{"name":"visor.fail_if","attributes":{"check":"overview","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global"}}]}
|
|
15
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
16
|
+
{"name":"visor.fail_if","attributes":{"check":"overview","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global"}}]}
|
|
17
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
18
|
+
{"name":"visor.fail_if","attributes":{"check":"overview","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global"}}]}
|
|
19
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
20
|
+
{"name":"visor.fail_if","attributes":{"check":"overview","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global"}}]}
|
|
21
|
+
{"name":"visor.provider","attributes":{"visor.check.id":"security","visor.provider.type":"ai"}}
|
|
22
|
+
{"name":"visor.check","attributes":{"visor.check.id":"security","visor.check.input.context":"{\"pr\":{\"number\":0,\"title\":\"Local Analysis: unknown (No changes)\",\"author\":\"unknown\",\"branch\":\"unknown\",\"base\":\"main\"},\"files\":[],\"outputs\":{\"overview\":{\"issues\":[]}}}"},"events":[]}
|
|
23
|
+
{"name":"visor.provider","attributes":{"visor.check.id":"architecture","visor.provider.type":"ai"}}
|
|
24
|
+
{"name":"visor.check","attributes":{"visor.check.id":"architecture","visor.check.input.context":"{\"pr\":{\"number\":0,\"title\":\"Local Analysis: unknown (No changes)\",\"author\":\"unknown\",\"branch\":\"unknown\",\"base\":\"main\"},\"files\":[],\"outputs\":{\"overview\":{\"issues\":[]}}}"},"events":[]}
|
|
25
|
+
{"name":"visor.provider","attributes":{"visor.check.id":"performance","visor.provider.type":"ai"}}
|
|
26
|
+
{"name":"visor.check","attributes":{"visor.check.id":"performance","visor.check.input.context":"{\"pr\":{\"number\":0,\"title\":\"Local Analysis: unknown (No changes)\",\"author\":\"unknown\",\"branch\":\"unknown\",\"base\":\"main\"},\"files\":[],\"outputs\":{\"overview\":{\"issues\":[]}}}"},"events":[]}
|
|
27
|
+
{"name":"visor.provider","attributes":{"visor.check.id":"quality","visor.provider.type":"ai"}}
|
|
28
|
+
{"name":"visor.check","attributes":{"visor.check.id":"quality","visor.check.input.context":"{\"pr\":{\"number\":0,\"title\":\"Local Analysis: unknown (No changes)\",\"author\":\"unknown\",\"branch\":\"unknown\",\"base\":\"main\"},\"files\":[],\"outputs\":{\"overview\":{\"issues\":[]}}}"},"events":[]}
|
|
29
|
+
{"name":"visor.check","attributes":{"visor.check.id":"security","visor.check.output":"{\"issues\":[]}"},"events":[]}
|
|
30
|
+
{"name":"visor.check","attributes":{"visor.check.id":"security"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
31
|
+
{"name":"visor.check","attributes":{"visor.check.id":"security"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
32
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"security","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
33
|
+
{"name":"visor.fail_if","attributes":{"check":"security","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"security","scope":"global"}}]}
|
|
34
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
35
|
+
{"name":"visor.fail_if","attributes":{"check":"overview","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global"}}]}
|
|
36
|
+
{"name":"visor.provider","attributes":{"visor.check.id":"style","visor.provider.type":"ai"}}
|
|
37
|
+
{"name":"visor.check","attributes":{"visor.check.id":"style","visor.check.input.context":"{\"pr\":{\"number\":0,\"title\":\"Local Analysis: unknown (No changes)\",\"author\":\"unknown\",\"branch\":\"unknown\",\"base\":\"main\"},\"files\":[],\"outputs\":{\"overview\":{\"issues\":[]}}}"},"events":[]}
|
|
38
|
+
{"name":"visor.check","attributes":{"visor.check.id":"architecture","visor.check.output":"{\"issues\":[]}"},"events":[]}
|
|
39
|
+
{"name":"visor.check","attributes":{"visor.check.id":"architecture"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
40
|
+
{"name":"visor.check","attributes":{"visor.check.id":"architecture"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
41
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"architecture","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
42
|
+
{"name":"visor.fail_if","attributes":{"check":"architecture","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"architecture","scope":"global"}}]}
|
|
43
|
+
{"name":"visor.check","attributes":{"visor.check.id":"performance","visor.check.output":"{\"issues\":[]}"},"events":[]}
|
|
44
|
+
{"name":"visor.check","attributes":{"visor.check.id":"performance"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
45
|
+
{"name":"visor.check","attributes":{"visor.check.id":"performance"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
46
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"performance","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
47
|
+
{"name":"visor.fail_if","attributes":{"check":"performance","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"performance","scope":"global"}}]}
|
|
48
|
+
{"name":"visor.check","attributes":{"visor.check.id":"quality","visor.check.output":"{\"issues\":[]}"},"events":[]}
|
|
49
|
+
{"name":"visor.check","attributes":{"visor.check.id":"quality"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
50
|
+
{"name":"visor.check","attributes":{"visor.check.id":"quality"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
51
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"quality","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
52
|
+
{"name":"visor.fail_if","attributes":{"check":"quality","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"quality","scope":"global"}}]}
|
|
53
|
+
{"name":"visor.check","attributes":{"visor.check.id":"style","visor.check.output":"{\"issues\":[]}"},"events":[]}
|
|
54
|
+
{"name":"visor.check","attributes":{"visor.check.id":"style"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
55
|
+
{"name":"visor.check","attributes":{"visor.check.id":"style"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
56
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"style","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
57
|
+
{"name":"visor.fail_if","attributes":{"check":"style","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"style","scope":"global"}}]}
|
|
58
|
+
{"name":"visor.check","attributes":{"visor.check.id":"security"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
59
|
+
{"name":"visor.check","attributes":{"visor.check.id":"architecture"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
60
|
+
{"name":"visor.check","attributes":{"visor.check.id":"performance"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
61
|
+
{"name":"visor.check","attributes":{"visor.check.id":"quality"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
62
|
+
{"name":"visor.check","attributes":{"visor.check.id":"style"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
63
|
+
{"name":"visor.run","attributes":{"started":true}}
|
|
64
|
+
{"name":"visor.run","attributes":{"started":true}}
|
|
65
|
+
{"name":"visor.run","attributes":{"started":true}}
|
|
66
|
+
{"name":"visor.run","attributes":{"started":true}}
|
|
67
|
+
{"name":"visor.provider","attributes":{"visor.check.id":"overview","visor.provider.type":"ai"}}
|
|
68
|
+
{"name":"visor.check","attributes":{"visor.check.id":"overview","visor.check.input.context":"{\"pr\":{\"number\":0,\"title\":\"Local Analysis: unknown (No changes)\",\"author\":\"unknown\",\"branch\":\"unknown\",\"base\":\"main\"},\"files\":[],\"outputs\":{}}"},"events":[]}
|
|
69
|
+
{"name":"visor.check","attributes":{"visor.check.id":"overview","visor.check.output":"{\"issues\":[]}"},"events":[]}
|
|
70
|
+
{"name":"visor.check","attributes":{"visor.check.id":"overview"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
71
|
+
{"name":"visor.check","attributes":{"visor.check.id":"overview"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
72
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
73
|
+
{"name":"visor.fail_if","attributes":{"check":"overview","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global"}}]}
|
|
74
|
+
{"name":"visor.check","attributes":{"visor.check.id":"overview"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
75
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
76
|
+
{"name":"visor.fail_if","attributes":{"check":"overview","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global"}}]}
|
|
77
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
78
|
+
{"name":"visor.fail_if","attributes":{"check":"overview","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global"}}]}
|
|
79
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
80
|
+
{"name":"visor.fail_if","attributes":{"check":"overview","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global"}}]}
|
|
81
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
82
|
+
{"name":"visor.fail_if","attributes":{"check":"overview","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global"}}]}
|
|
83
|
+
{"name":"visor.provider","attributes":{"visor.check.id":"security","visor.provider.type":"ai"}}
|
|
84
|
+
{"name":"visor.check","attributes":{"visor.check.id":"security","visor.check.input.context":"{\"pr\":{\"number\":0,\"title\":\"Local Analysis: unknown (No changes)\",\"author\":\"unknown\",\"branch\":\"unknown\",\"base\":\"main\"},\"files\":[],\"outputs\":{\"overview\":{\"issues\":[]}}}"},"events":[]}
|
|
85
|
+
{"name":"visor.provider","attributes":{"visor.check.id":"architecture","visor.provider.type":"ai"}}
|
|
86
|
+
{"name":"visor.check","attributes":{"visor.check.id":"architecture","visor.check.input.context":"{\"pr\":{\"number\":0,\"title\":\"Local Analysis: unknown (No changes)\",\"author\":\"unknown\",\"branch\":\"unknown\",\"base\":\"main\"},\"files\":[],\"outputs\":{\"overview\":{\"issues\":[]}}}"},"events":[]}
|
|
87
|
+
{"name":"visor.provider","attributes":{"visor.check.id":"performance","visor.provider.type":"ai"}}
|
|
88
|
+
{"name":"visor.check","attributes":{"visor.check.id":"performance","visor.check.input.context":"{\"pr\":{\"number\":0,\"title\":\"Local Analysis: unknown (No changes)\",\"author\":\"unknown\",\"branch\":\"unknown\",\"base\":\"main\"},\"files\":[],\"outputs\":{\"overview\":{\"issues\":[]}}}"},"events":[]}
|
|
89
|
+
{"name":"visor.provider","attributes":{"visor.check.id":"quality","visor.provider.type":"ai"}}
|
|
90
|
+
{"name":"visor.check","attributes":{"visor.check.id":"quality","visor.check.input.context":"{\"pr\":{\"number\":0,\"title\":\"Local Analysis: unknown (No changes)\",\"author\":\"unknown\",\"branch\":\"unknown\",\"base\":\"main\"},\"files\":[],\"outputs\":{\"overview\":{\"issues\":[]}}}"},"events":[]}
|
|
91
|
+
{"name":"visor.check","attributes":{"visor.check.id":"security","visor.check.output":"{\"issues\":[]}"},"events":[]}
|
|
92
|
+
{"name":"visor.check","attributes":{"visor.check.id":"security"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
93
|
+
{"name":"visor.check","attributes":{"visor.check.id":"security"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
94
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"security","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
95
|
+
{"name":"visor.fail_if","attributes":{"check":"security","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"security","scope":"global"}}]}
|
|
96
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
97
|
+
{"name":"visor.fail_if","attributes":{"check":"overview","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global"}}]}
|
|
98
|
+
{"name":"visor.provider","attributes":{"visor.check.id":"style","visor.provider.type":"ai"}}
|
|
99
|
+
{"name":"visor.check","attributes":{"visor.check.id":"style","visor.check.input.context":"{\"pr\":{\"number\":0,\"title\":\"Local Analysis: unknown (No changes)\",\"author\":\"unknown\",\"branch\":\"unknown\",\"base\":\"main\"},\"files\":[],\"outputs\":{\"overview\":{\"issues\":[]}}}"},"events":[]}
|
|
100
|
+
{"name":"visor.check","attributes":{"visor.check.id":"architecture","visor.check.output":"{\"issues\":[]}"},"events":[]}
|
|
101
|
+
{"name":"visor.check","attributes":{"visor.check.id":"architecture"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
102
|
+
{"name":"visor.check","attributes":{"visor.check.id":"architecture"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
103
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"architecture","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
104
|
+
{"name":"visor.fail_if","attributes":{"check":"architecture","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"architecture","scope":"global"}}]}
|
|
105
|
+
{"name":"visor.check","attributes":{"visor.check.id":"performance","visor.check.output":"{\"issues\":[]}"},"events":[]}
|
|
106
|
+
{"name":"visor.check","attributes":{"visor.check.id":"performance"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
107
|
+
{"name":"visor.check","attributes":{"visor.check.id":"performance"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
108
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"performance","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
109
|
+
{"name":"visor.fail_if","attributes":{"check":"performance","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"performance","scope":"global"}}]}
|
|
110
|
+
{"name":"visor.check","attributes":{"visor.check.id":"quality","visor.check.output":"{\"issues\":[]}"},"events":[]}
|
|
111
|
+
{"name":"visor.check","attributes":{"visor.check.id":"quality"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
112
|
+
{"name":"visor.check","attributes":{"visor.check.id":"quality"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
113
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"quality","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
114
|
+
{"name":"visor.fail_if","attributes":{"check":"quality","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"quality","scope":"global"}}]}
|
|
115
|
+
{"name":"visor.check","attributes":{"visor.check.id":"style","visor.check.output":"{\"issues\":[]}"},"events":[]}
|
|
116
|
+
{"name":"visor.check","attributes":{"visor.check.id":"style"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
117
|
+
{"name":"visor.check","attributes":{"visor.check.id":"style"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
118
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"style","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
119
|
+
{"name":"visor.fail_if","attributes":{"check":"style","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"style","scope":"global"}}]}
|
|
120
|
+
{"name":"visor.check","attributes":{"visor.check.id":"security"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
121
|
+
{"name":"visor.check","attributes":{"visor.check.id":"architecture"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
122
|
+
{"name":"visor.check","attributes":{"visor.check.id":"performance"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
123
|
+
{"name":"visor.check","attributes":{"visor.check.id":"quality"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
124
|
+
{"name":"visor.check","attributes":{"visor.check.id":"style"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
125
|
+
{"name":"visor.run","attributes":{"started":true}}
|
|
126
|
+
{"name":"visor.run","attributes":{"started":true}}
|
|
127
|
+
{"name":"visor.run","attributes":{"started":true}}
|
|
128
|
+
{"name":"visor.run","attributes":{"started":true}}
|
|
129
|
+
{"name":"visor.provider","attributes":{"visor.check.id":"overview","visor.provider.type":"ai"}}
|
|
130
|
+
{"name":"visor.check","attributes":{"visor.check.id":"overview","visor.check.input.context":"{\"pr\":{\"number\":0,\"title\":\"Local Analysis: unknown (No changes)\",\"author\":\"unknown\",\"branch\":\"unknown\",\"base\":\"main\"},\"files\":[],\"outputs\":{}}"},"events":[]}
|
|
131
|
+
{"name":"visor.check","attributes":{"visor.check.id":"overview","visor.check.output":"{\"issues\":[]}"},"events":[]}
|
|
132
|
+
{"name":"visor.check","attributes":{"visor.check.id":"overview"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
133
|
+
{"name":"visor.check","attributes":{"visor.check.id":"overview"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
134
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
135
|
+
{"name":"visor.fail_if","attributes":{"check":"overview","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global"}}]}
|
|
136
|
+
{"name":"visor.check","attributes":{"visor.check.id":"overview"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
137
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
138
|
+
{"name":"visor.fail_if","attributes":{"check":"overview","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global"}}]}
|
|
139
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
140
|
+
{"name":"visor.fail_if","attributes":{"check":"overview","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global"}}]}
|
|
141
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
142
|
+
{"name":"visor.fail_if","attributes":{"check":"overview","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global"}}]}
|
|
143
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
144
|
+
{"name":"visor.fail_if","attributes":{"check":"overview","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global"}}]}
|
|
145
|
+
{"name":"visor.provider","attributes":{"visor.check.id":"security","visor.provider.type":"ai"}}
|
|
146
|
+
{"name":"visor.check","attributes":{"visor.check.id":"security","visor.check.input.context":"{\"pr\":{\"number\":0,\"title\":\"Local Analysis: unknown (No changes)\",\"author\":\"unknown\",\"branch\":\"unknown\",\"base\":\"main\"},\"files\":[],\"outputs\":{\"overview\":{\"issues\":[]}}}"},"events":[]}
|
|
147
|
+
{"name":"visor.provider","attributes":{"visor.check.id":"architecture","visor.provider.type":"ai"}}
|
|
148
|
+
{"name":"visor.check","attributes":{"visor.check.id":"architecture","visor.check.input.context":"{\"pr\":{\"number\":0,\"title\":\"Local Analysis: unknown (No changes)\",\"author\":\"unknown\",\"branch\":\"unknown\",\"base\":\"main\"},\"files\":[],\"outputs\":{\"overview\":{\"issues\":[]}}}"},"events":[]}
|
|
149
|
+
{"name":"visor.provider","attributes":{"visor.check.id":"performance","visor.provider.type":"ai"}}
|
|
150
|
+
{"name":"visor.check","attributes":{"visor.check.id":"performance","visor.check.input.context":"{\"pr\":{\"number\":0,\"title\":\"Local Analysis: unknown (No changes)\",\"author\":\"unknown\",\"branch\":\"unknown\",\"base\":\"main\"},\"files\":[],\"outputs\":{\"overview\":{\"issues\":[]}}}"},"events":[]}
|
|
151
|
+
{"name":"visor.provider","attributes":{"visor.check.id":"quality","visor.provider.type":"ai"}}
|
|
152
|
+
{"name":"visor.check","attributes":{"visor.check.id":"quality","visor.check.input.context":"{\"pr\":{\"number\":0,\"title\":\"Local Analysis: unknown (No changes)\",\"author\":\"unknown\",\"branch\":\"unknown\",\"base\":\"main\"},\"files\":[],\"outputs\":{\"overview\":{\"issues\":[]}}}"},"events":[]}
|
|
153
|
+
{"name":"visor.check","attributes":{"visor.check.id":"security","visor.check.output":"{\"issues\":[]}"},"events":[]}
|
|
154
|
+
{"name":"visor.check","attributes":{"visor.check.id":"security"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
155
|
+
{"name":"visor.check","attributes":{"visor.check.id":"security"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
156
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"security","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
157
|
+
{"name":"visor.fail_if","attributes":{"check":"security","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"security","scope":"global"}}]}
|
|
158
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
159
|
+
{"name":"visor.fail_if","attributes":{"check":"overview","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global"}}]}
|
|
160
|
+
{"name":"visor.provider","attributes":{"visor.check.id":"style","visor.provider.type":"ai"}}
|
|
161
|
+
{"name":"visor.check","attributes":{"visor.check.id":"style","visor.check.input.context":"{\"pr\":{\"number\":0,\"title\":\"Local Analysis: unknown (No changes)\",\"author\":\"unknown\",\"branch\":\"unknown\",\"base\":\"main\"},\"files\":[],\"outputs\":{\"overview\":{\"issues\":[]}}}"},"events":[]}
|
|
162
|
+
{"name":"visor.check","attributes":{"visor.check.id":"architecture","visor.check.output":"{\"issues\":[]}"},"events":[]}
|
|
163
|
+
{"name":"visor.check","attributes":{"visor.check.id":"architecture"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
164
|
+
{"name":"visor.check","attributes":{"visor.check.id":"architecture"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
165
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"architecture","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
166
|
+
{"name":"visor.fail_if","attributes":{"check":"architecture","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"architecture","scope":"global"}}]}
|
|
167
|
+
{"name":"visor.check","attributes":{"visor.check.id":"performance","visor.check.output":"{\"issues\":[]}"},"events":[]}
|
|
168
|
+
{"name":"visor.check","attributes":{"visor.check.id":"performance"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
169
|
+
{"name":"visor.check","attributes":{"visor.check.id":"performance"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
170
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"performance","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
171
|
+
{"name":"visor.fail_if","attributes":{"check":"performance","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"performance","scope":"global"}}]}
|
|
172
|
+
{"name":"visor.check","attributes":{"visor.check.id":"quality","visor.check.output":"{\"issues\":[]}"},"events":[]}
|
|
173
|
+
{"name":"visor.check","attributes":{"visor.check.id":"quality"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
174
|
+
{"name":"visor.check","attributes":{"visor.check.id":"quality"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
175
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"quality","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
176
|
+
{"name":"visor.fail_if","attributes":{"check":"quality","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"quality","scope":"global"}}]}
|
|
177
|
+
{"name":"visor.check","attributes":{"visor.check.id":"style","visor.check.output":"{\"issues\":[]}"},"events":[]}
|
|
178
|
+
{"name":"visor.check","attributes":{"visor.check.id":"style"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
179
|
+
{"name":"visor.check","attributes":{"visor.check.id":"style"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
180
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"style","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
181
|
+
{"name":"visor.fail_if","attributes":{"check":"style","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"style","scope":"global"}}]}
|
|
182
|
+
{"name":"visor.check","attributes":{"visor.check.id":"security"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
183
|
+
{"name":"visor.check","attributes":{"visor.check.id":"architecture"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
184
|
+
{"name":"visor.check","attributes":{"visor.check.id":"performance"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
185
|
+
{"name":"visor.check","attributes":{"visor.check.id":"quality"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
186
|
+
{"name":"visor.check","attributes":{"visor.check.id":"style"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
187
|
+
{"name":"visor.run","attributes":{"started":true}}
|
|
188
|
+
{"name":"visor.run","attributes":{"started":true}}
|
|
189
|
+
{"name":"visor.run","attributes":{"started":true}}
|
|
190
|
+
{"name":"visor.run","attributes":{"started":true}}
|
|
191
|
+
{"name":"visor.provider","attributes":{"visor.check.id":"overview","visor.provider.type":"ai"}}
|
|
192
|
+
{"name":"visor.check","attributes":{"visor.check.id":"overview","visor.check.input.context":"{\"pr\":{\"number\":0,\"title\":\"Local Analysis: unknown (No changes)\",\"author\":\"unknown\",\"branch\":\"unknown\",\"base\":\"main\"},\"files\":[],\"outputs\":{}}"},"events":[]}
|
|
193
|
+
{"name":"visor.check","attributes":{"visor.check.id":"overview","visor.check.output":"{\"issues\":[]}"},"events":[]}
|
|
194
|
+
{"name":"visor.check","attributes":{"visor.check.id":"overview"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
195
|
+
{"name":"visor.check","attributes":{"visor.check.id":"overview"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
196
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
197
|
+
{"name":"visor.fail_if","attributes":{"check":"overview","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global"}}]}
|
|
198
|
+
{"name":"visor.check","attributes":{"visor.check.id":"overview"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
199
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
200
|
+
{"name":"visor.fail_if","attributes":{"check":"overview","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"overview","scope":"global"}}]}
|
|
201
|
+
{"name":"visor.provider","attributes":{"visor.check.id":"performance","visor.provider.type":"ai"}}
|
|
202
|
+
{"name":"visor.check","attributes":{"visor.check.id":"performance","visor.check.input.context":"{\"pr\":{\"number\":0,\"title\":\"Local Analysis: unknown (No changes)\",\"author\":\"unknown\",\"branch\":\"unknown\",\"base\":\"main\"},\"files\":[],\"outputs\":{\"overview\":{\"issues\":[]}}}"},"events":[]}
|
|
203
|
+
{"name":"visor.check","attributes":{"visor.check.id":"performance","visor.check.output":"{\"issues\":[]}"},"events":[]}
|
|
204
|
+
{"name":"visor.check","attributes":{"visor.check.id":"performance"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
205
|
+
{"name":"visor.check","attributes":{"visor.check.id":"performance"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
206
|
+
{"name":"visor.event","attributes":{},"events":[{"name":"fail_if.evaluated","attrs":{"check":"performance","scope":"global","name":"global_fail_if","expression":"output.issues && output.issues.some(i => i.severity === 'critical' || i.severity === 'error')"}}]}
|
|
207
|
+
{"name":"visor.fail_if","attributes":{"check":"performance","scope":"global"},"events":[{"name":"fail_if.evaluated","attrs":{"check":"performance","scope":"global"}}]}
|
|
208
|
+
{"name":"visor.check","attributes":{"visor.check.id":"performance"},"events":[{"name":"check.started"},{"name":"check.completed"}]}
|
|
209
|
+
{"name":"visor.run","attributes":{"started":true}}
|
|
210
|
+
{"name":"visor.run","attributes":{"started":true}}
|
|
211
|
+
{"name":"visor.run","attributes":{"started":true}}
|
|
212
|
+
{"name":"visor.run","attributes":{"started":true}}
|
|
213
|
+
{"name":"visor.run","attributes":{"started":true}}
|
|
214
|
+
{"name":"visor.run","attributes":{"started":true}}
|
|
215
|
+
{"name":"visor.run","attributes":{"started":true}}
|
|
216
|
+
{"name":"visor.run","attributes":{"started":true}}
|
|
217
|
+
{"name":"visor.check","attributes":{"visor.check.id":"performance","visor.check.input.context":"{\"pr\":{\"number\":0,\"title\":\"Local Analysis: unknown (No changes)\",\"author\":\"unknown\",\"branch\":\"unknown\",\"base\":\"main\"},\"files\":[],\"outputs\":{}}"},"events":[]}
|
|
218
|
+
{"name":"visor.check","attributes":{"visor.check.id":"performance","visor.check.output":"{\"issues\":[]}"},"events":[]}
|
package/dist/types/cli.d.ts
CHANGED
|
@@ -47,6 +47,12 @@ export interface CliOptions {
|
|
|
47
47
|
analyzeBranchDiff?: boolean;
|
|
48
48
|
/** Simulate GitHub event type for event-based filtering ('all' runs checks regardless of event triggers) */
|
|
49
49
|
event?: EventTrigger | 'all';
|
|
50
|
+
/** Enable debug visualizer server for live debugging */
|
|
51
|
+
debugServer?: boolean;
|
|
52
|
+
/** Port for debug visualizer server (default: 3456) */
|
|
53
|
+
debugPort?: number;
|
|
54
|
+
/** Message for human-input checks (inline string or file path) */
|
|
55
|
+
message?: string;
|
|
50
56
|
}
|
|
51
57
|
/**
|
|
52
58
|
* CLI command configuration
|
package/dist/types/cli.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/types/cli.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,aAAa,GAAG,cAAc,GAAG,UAAU,GAAG,OAAO,GAAG,KAAK,CAAC;AAEtF;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,CAAC;AAEnE;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,sCAAsC;IACtC,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,gCAAgC;IAChC,MAAM,EAAE,YAAY,CAAC;IACrB,iCAAiC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oFAAoF;IACpF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,+DAA+D;IAC/D,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,4CAA4C;IAC5C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,2DAA2D;IAC3D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,8CAA8C;IAC9C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oEAAoE;IACpE,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,sEAAsE;IACtE,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,qDAAqD;IACrD,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;IACjC,qBAAqB;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,mBAAmB;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,2FAA2F;IAC3F,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,UAAU,CAAC;IAC9C,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gGAAgG;IAChG,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,4GAA4G;IAC5G,KAAK,CAAC,EAAE,YAAY,GAAG,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/types/cli.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,aAAa,GAAG,cAAc,GAAG,UAAU,GAAG,OAAO,GAAG,KAAK,CAAC;AAEtF;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,CAAC;AAEnE;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,sCAAsC;IACtC,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,gCAAgC;IAChC,MAAM,EAAE,YAAY,CAAC;IACrB,iCAAiC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oFAAoF;IACpF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,+DAA+D;IAC/D,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,4CAA4C;IAC5C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,2DAA2D;IAC3D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,8CAA8C;IAC9C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oEAAoE;IACpE,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,sEAAsE;IACtE,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,qDAAqD;IACrD,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;IACjC,qBAAqB;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,mBAAmB;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,2FAA2F;IAC3F,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,UAAU,CAAC;IAC9C,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gGAAgG;IAChG,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,4GAA4G;IAC5G,KAAK,CAAC,EAAE,YAAY,GAAG,KAAK,CAAC;IAC7B,wDAAwD;IACxD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,uDAAuD;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kEAAkE;IAClE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,mBAAmB;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,0BAA0B;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,sBAAsB;IACtB,OAAO,EAAE,UAAU,CAAC;CACrB"}
|
package/dist/types/config.d.ts
CHANGED
|
@@ -171,7 +171,7 @@ export interface FailureConditionResult {
|
|
|
171
171
|
/**
|
|
172
172
|
* Valid check types in configuration
|
|
173
173
|
*/
|
|
174
|
-
export type ConfigCheckType = 'ai' | 'command' | 'http' | 'http_input' | 'http_client' | 'noop' | 'log' | 'memory' | 'github' | 'claude-code' | 'mcp';
|
|
174
|
+
export type ConfigCheckType = 'ai' | 'command' | 'http' | 'http_input' | 'http_client' | 'noop' | 'log' | 'memory' | 'github' | 'claude-code' | 'mcp' | 'human-input';
|
|
175
175
|
/**
|
|
176
176
|
* Valid event triggers for checks
|
|
177
177
|
*/
|
|
@@ -376,6 +376,17 @@ export interface CheckConfig {
|
|
|
376
376
|
argsTransform?: string;
|
|
377
377
|
/** Session ID for HTTP transport (optional, server may generate one) */
|
|
378
378
|
sessionId?: string;
|
|
379
|
+
/**
|
|
380
|
+
* Human input provider specific options (optional, only used when type === 'human-input').
|
|
381
|
+
*/
|
|
382
|
+
/** Placeholder text to show in input field */
|
|
383
|
+
placeholder?: string;
|
|
384
|
+
/** Allow empty input (default: false) */
|
|
385
|
+
allow_empty?: boolean;
|
|
386
|
+
/** Support multiline input (default: false) */
|
|
387
|
+
multiline?: boolean;
|
|
388
|
+
/** Default value if timeout occurs or empty input when allow_empty is true */
|
|
389
|
+
default?: string;
|
|
379
390
|
}
|
|
380
391
|
/**
|
|
381
392
|
* Backoff policy for retries
|
|
@@ -590,6 +601,32 @@ export interface MemoryConfig {
|
|
|
590
601
|
/** Auto-save after operations (default: true if storage: file) */
|
|
591
602
|
auto_save?: boolean;
|
|
592
603
|
}
|
|
604
|
+
/**
|
|
605
|
+
* Human input request passed to hooks
|
|
606
|
+
*/
|
|
607
|
+
export interface HumanInputRequest {
|
|
608
|
+
/** Check ID requesting input */
|
|
609
|
+
checkId: string;
|
|
610
|
+
/** Prompt to display to user */
|
|
611
|
+
prompt: string;
|
|
612
|
+
/** Placeholder text (optional) */
|
|
613
|
+
placeholder?: string;
|
|
614
|
+
/** Whether empty input is allowed */
|
|
615
|
+
allowEmpty: boolean;
|
|
616
|
+
/** Whether multiline input is supported */
|
|
617
|
+
multiline: boolean;
|
|
618
|
+
/** Timeout in milliseconds (optional) */
|
|
619
|
+
timeout?: number;
|
|
620
|
+
/** Default value if timeout or empty (optional) */
|
|
621
|
+
default?: string;
|
|
622
|
+
}
|
|
623
|
+
/**
|
|
624
|
+
* Hooks for runtime integration (SDK mode)
|
|
625
|
+
*/
|
|
626
|
+
export interface VisorHooks {
|
|
627
|
+
/** Called when human input is required */
|
|
628
|
+
onHumanInput?: (request: HumanInputRequest) => Promise<string>;
|
|
629
|
+
}
|
|
593
630
|
/**
|
|
594
631
|
* Main Visor configuration
|
|
595
632
|
*/
|
|
@@ -598,14 +635,18 @@ export interface VisorConfig {
|
|
|
598
635
|
version: string;
|
|
599
636
|
/** Extends from other configurations - can be file path, HTTP(S) URL, or "default" */
|
|
600
637
|
extends?: string | string[];
|
|
601
|
-
/**
|
|
602
|
-
|
|
638
|
+
/** Step configurations (recommended) */
|
|
639
|
+
steps?: Record<string, CheckConfig>;
|
|
640
|
+
/** Check configurations (legacy, use 'steps' instead) - always populated after normalization */
|
|
641
|
+
checks?: Record<string, CheckConfig>;
|
|
603
642
|
/** Output configuration */
|
|
604
643
|
output: OutputConfig;
|
|
605
644
|
/** HTTP server configuration for receiving webhooks */
|
|
606
645
|
http_server?: HttpServerConfig;
|
|
607
646
|
/** Memory storage configuration */
|
|
608
647
|
memory?: MemoryConfig;
|
|
648
|
+
/** Runtime hooks for SDK integration */
|
|
649
|
+
hooks?: VisorHooks;
|
|
609
650
|
/** Global environment variables */
|
|
610
651
|
env?: EnvConfig;
|
|
611
652
|
/** Global AI model setting */
|