@probelabs/visor 0.1.76 → 0.1.78
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/dist/config.d.ts.map +1 -1
- package/dist/generated/config-schema.d.ts +49 -28
- package/dist/generated/config-schema.d.ts.map +1 -1
- package/dist/generated/config-schema.json +26 -0
- package/dist/index.js +856 -802
- package/dist/sdk/sdk.d.mts +14 -0
- package/dist/sdk/sdk.d.ts +14 -0
- package/dist/sdk/sdk.js +674 -685
- package/dist/sdk/sdk.js.map +1 -1
- package/dist/sdk/sdk.mjs +736 -747
- package/dist/sdk/sdk.mjs.map +1 -1
- package/dist/types/config.d.ts +14 -0
- package/dist/types/config.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/licenses.txt +0 -2300
- package/dist/tiktoken_bg.wasm +0 -0
package/dist/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/config.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,WAAW,EAOX,oBAAoB,EACpB,YAAY,EACZ,iBAAiB,EAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAMzC;;GAEG;AACH,qBAAa,aAAa;IACxB,OAAO,CAAC,eAAe,CASrB;IACF,OAAO,CAAC,kBAAkB,CASxB;IACF,OAAO,CAAC,kBAAkB,CAAgE;IAC1F,OAAO,CAAC,mBAAmB,CAAkD;IAE7E;;OAEG;IACU,UAAU,CACrB,UAAU,EAAE,MAAM,EAClB,OAAO,GAAE,iBAAsB,GAC9B,OAAO,CAAC,WAAW,CAAC;IA2FvB;;OAEG;IACU,iBAAiB,CAAC,OAAO,GAAE,iBAAsB,GAAG,OAAO,CAAC,WAAW,CAAC;IAyBrF;;OAEG;YACW,qBAAqB;IAiBnC;;OAEG;IACU,gBAAgB,IAAI,OAAO,CAAC,WAAW,CAAC;IA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OAEG;IACU,0BAA0B,IAAI,OAAO,CAAC;QACjD,MAAM,CAAC,EAAE,WAAW,CAAC;QACrB,oBAAoB,EAAE,oBAAoB,CAAC;KAC5C,CAAC;IA2BF;;OAEG;IACH,OAAO,CAAC,cAAc;IAsKtB;;OAEG;IACH,OAAO,CAAC,mBAAmB;IAiK3B;;OAEG;IACH,OAAO,CAAC,wBAAwB;IA0DhC;;;OAGG;IACH,OAAO,CAAC,qBAAqB;IAyE7B;;OAEG;IACH,OAAO,CAAC,iBAAiB;IA6DzB;;OAEG;IACH,OAAO,CAAC,wBAAwB;IA6EhC;;OAEG;IACH,OAAO,CAAC,oBAAoB;IA+B5B;;OAEG;IACH,OAAO,CAAC,sBAAsB;IAY9B;;OAEG;IACH,OAAO,CAAC,iBAAiB;CA6B1B"}
|
|
@@ -77,10 +77,10 @@ export declare const configSchema: {
|
|
|
77
77
|
readonly additionalProperties: false;
|
|
78
78
|
readonly description: "Main Visor configuration";
|
|
79
79
|
readonly patternProperties: {
|
|
80
|
-
readonly
|
|
80
|
+
readonly '^x-': {};
|
|
81
81
|
};
|
|
82
82
|
};
|
|
83
|
-
readonly
|
|
83
|
+
readonly 'Record<string,CheckConfig>': {
|
|
84
84
|
readonly type: "object";
|
|
85
85
|
readonly additionalProperties: {
|
|
86
86
|
readonly $ref: "#/definitions/CheckConfig";
|
|
@@ -245,11 +245,32 @@ export declare const configSchema: {
|
|
|
245
245
|
readonly $ref: "#/definitions/OnSuccessConfig";
|
|
246
246
|
readonly description: "Success routing configuration for this check (post-actions and optional goto)";
|
|
247
247
|
};
|
|
248
|
+
readonly message: {
|
|
249
|
+
readonly type: "string";
|
|
250
|
+
readonly description: "Message template for log checks";
|
|
251
|
+
};
|
|
252
|
+
readonly level: {
|
|
253
|
+
readonly type: "string";
|
|
254
|
+
readonly enum: readonly ["debug", "info", "warn", "error"];
|
|
255
|
+
readonly description: "Log level for log checks";
|
|
256
|
+
};
|
|
257
|
+
readonly include_pr_context: {
|
|
258
|
+
readonly type: "boolean";
|
|
259
|
+
readonly description: "Include PR context in log output";
|
|
260
|
+
};
|
|
261
|
+
readonly include_dependencies: {
|
|
262
|
+
readonly type: "boolean";
|
|
263
|
+
readonly description: "Include dependency summaries in log output";
|
|
264
|
+
};
|
|
265
|
+
readonly include_metadata: {
|
|
266
|
+
readonly type: "boolean";
|
|
267
|
+
readonly description: "Include execution metadata in log output";
|
|
268
|
+
};
|
|
248
269
|
};
|
|
249
270
|
readonly additionalProperties: false;
|
|
250
271
|
readonly description: "Configuration for a single check";
|
|
251
272
|
readonly patternProperties: {
|
|
252
|
-
readonly
|
|
273
|
+
readonly '^x-': {};
|
|
253
274
|
};
|
|
254
275
|
};
|
|
255
276
|
readonly ConfigCheckType: {
|
|
@@ -257,7 +278,7 @@ export declare const configSchema: {
|
|
|
257
278
|
readonly enum: readonly ["ai", "command", "http", "http_input", "http_client", "noop", "log", "claude-code"];
|
|
258
279
|
readonly description: "Valid check types in configuration";
|
|
259
280
|
};
|
|
260
|
-
readonly
|
|
281
|
+
readonly 'Record<string,string>': {
|
|
261
282
|
readonly type: "object";
|
|
262
283
|
readonly additionalProperties: {
|
|
263
284
|
readonly type: "string";
|
|
@@ -300,10 +321,10 @@ export declare const configSchema: {
|
|
|
300
321
|
readonly additionalProperties: false;
|
|
301
322
|
readonly description: "AI provider configuration";
|
|
302
323
|
readonly patternProperties: {
|
|
303
|
-
readonly
|
|
324
|
+
readonly '^x-': {};
|
|
304
325
|
};
|
|
305
326
|
};
|
|
306
|
-
readonly
|
|
327
|
+
readonly 'Record<string,McpServerConfig>': {
|
|
307
328
|
readonly type: "object";
|
|
308
329
|
readonly additionalProperties: {
|
|
309
330
|
readonly $ref: "#/definitions/McpServerConfig";
|
|
@@ -332,7 +353,7 @@ export declare const configSchema: {
|
|
|
332
353
|
readonly additionalProperties: false;
|
|
333
354
|
readonly description: "MCP Server configuration";
|
|
334
355
|
readonly patternProperties: {
|
|
335
|
-
readonly
|
|
356
|
+
readonly '^x-': {};
|
|
336
357
|
};
|
|
337
358
|
};
|
|
338
359
|
readonly ClaudeCodeConfig: {
|
|
@@ -380,14 +401,14 @@ export declare const configSchema: {
|
|
|
380
401
|
readonly additionalProperties: false;
|
|
381
402
|
readonly description: "Event hooks for lifecycle management";
|
|
382
403
|
readonly patternProperties: {
|
|
383
|
-
readonly
|
|
404
|
+
readonly '^x-': {};
|
|
384
405
|
};
|
|
385
406
|
};
|
|
386
407
|
};
|
|
387
408
|
readonly additionalProperties: false;
|
|
388
409
|
readonly description: "Claude Code configuration";
|
|
389
410
|
readonly patternProperties: {
|
|
390
|
-
readonly
|
|
411
|
+
readonly '^x-': {};
|
|
391
412
|
};
|
|
392
413
|
};
|
|
393
414
|
readonly EnvConfig: {
|
|
@@ -397,7 +418,7 @@ export declare const configSchema: {
|
|
|
397
418
|
};
|
|
398
419
|
readonly description: "Environment variable reference configuration";
|
|
399
420
|
};
|
|
400
|
-
readonly
|
|
421
|
+
readonly 'Record<string,unknown>': {
|
|
401
422
|
readonly type: "object";
|
|
402
423
|
readonly additionalProperties: {};
|
|
403
424
|
};
|
|
@@ -416,7 +437,7 @@ export declare const configSchema: {
|
|
|
416
437
|
readonly additionalProperties: false;
|
|
417
438
|
readonly description: "Custom template configuration";
|
|
418
439
|
readonly patternProperties: {
|
|
419
|
-
readonly
|
|
440
|
+
readonly '^x-': {};
|
|
420
441
|
};
|
|
421
442
|
};
|
|
422
443
|
readonly FailureConditions: {
|
|
@@ -462,7 +483,7 @@ export declare const configSchema: {
|
|
|
462
483
|
readonly additionalProperties: false;
|
|
463
484
|
readonly description: "Complex failure condition with additional metadata";
|
|
464
485
|
readonly patternProperties: {
|
|
465
|
-
readonly
|
|
486
|
+
readonly '^x-': {};
|
|
466
487
|
};
|
|
467
488
|
};
|
|
468
489
|
readonly FailureConditionSeverity: {
|
|
@@ -500,7 +521,7 @@ export declare const configSchema: {
|
|
|
500
521
|
readonly additionalProperties: false;
|
|
501
522
|
readonly description: "Failure routing configuration per check";
|
|
502
523
|
readonly patternProperties: {
|
|
503
|
-
readonly
|
|
524
|
+
readonly '^x-': {};
|
|
504
525
|
};
|
|
505
526
|
};
|
|
506
527
|
readonly RetryPolicy: {
|
|
@@ -518,7 +539,7 @@ export declare const configSchema: {
|
|
|
518
539
|
readonly additionalProperties: false;
|
|
519
540
|
readonly description: "Retry policy for a step";
|
|
520
541
|
readonly patternProperties: {
|
|
521
|
-
readonly
|
|
542
|
+
readonly '^x-': {};
|
|
522
543
|
};
|
|
523
544
|
};
|
|
524
545
|
readonly BackoffPolicy: {
|
|
@@ -537,7 +558,7 @@ export declare const configSchema: {
|
|
|
537
558
|
readonly additionalProperties: false;
|
|
538
559
|
readonly description: "Backoff policy for retries";
|
|
539
560
|
readonly patternProperties: {
|
|
540
|
-
readonly
|
|
561
|
+
readonly '^x-': {};
|
|
541
562
|
};
|
|
542
563
|
};
|
|
543
564
|
readonly OnSuccessConfig: {
|
|
@@ -566,7 +587,7 @@ export declare const configSchema: {
|
|
|
566
587
|
readonly additionalProperties: false;
|
|
567
588
|
readonly description: "Success routing configuration per check";
|
|
568
589
|
readonly patternProperties: {
|
|
569
|
-
readonly
|
|
590
|
+
readonly '^x-': {};
|
|
570
591
|
};
|
|
571
592
|
};
|
|
572
593
|
readonly OutputConfig: {
|
|
@@ -593,7 +614,7 @@ export declare const configSchema: {
|
|
|
593
614
|
readonly additionalProperties: false;
|
|
594
615
|
readonly description: "Output configuration";
|
|
595
616
|
readonly patternProperties: {
|
|
596
|
-
readonly
|
|
617
|
+
readonly '^x-': {};
|
|
597
618
|
};
|
|
598
619
|
};
|
|
599
620
|
readonly PrCommentOutput: {
|
|
@@ -620,7 +641,7 @@ export declare const configSchema: {
|
|
|
620
641
|
readonly additionalProperties: false;
|
|
621
642
|
readonly description: "PR comment output configuration";
|
|
622
643
|
readonly patternProperties: {
|
|
623
|
-
readonly
|
|
644
|
+
readonly '^x-': {};
|
|
624
645
|
};
|
|
625
646
|
};
|
|
626
647
|
readonly ConfigOutputFormat: {
|
|
@@ -661,7 +682,7 @@ export declare const configSchema: {
|
|
|
661
682
|
readonly additionalProperties: false;
|
|
662
683
|
readonly description: "Debug mode configuration";
|
|
663
684
|
readonly patternProperties: {
|
|
664
|
-
readonly
|
|
685
|
+
readonly '^x-': {};
|
|
665
686
|
};
|
|
666
687
|
};
|
|
667
688
|
readonly FileCommentOutput: {
|
|
@@ -680,7 +701,7 @@ export declare const configSchema: {
|
|
|
680
701
|
readonly additionalProperties: false;
|
|
681
702
|
readonly description: "File comment output configuration";
|
|
682
703
|
readonly patternProperties: {
|
|
683
|
-
readonly
|
|
704
|
+
readonly '^x-': {};
|
|
684
705
|
};
|
|
685
706
|
};
|
|
686
707
|
readonly GitHubCheckOutput: {
|
|
@@ -703,7 +724,7 @@ export declare const configSchema: {
|
|
|
703
724
|
readonly additionalProperties: false;
|
|
704
725
|
readonly description: "GitHub Check Runs output configuration";
|
|
705
726
|
readonly patternProperties: {
|
|
706
|
-
readonly
|
|
727
|
+
readonly '^x-': {};
|
|
707
728
|
};
|
|
708
729
|
};
|
|
709
730
|
readonly HttpServerConfig: {
|
|
@@ -741,7 +762,7 @@ export declare const configSchema: {
|
|
|
741
762
|
readonly additionalProperties: false;
|
|
742
763
|
readonly description: "HTTP server configuration for receiving webhooks";
|
|
743
764
|
readonly patternProperties: {
|
|
744
|
-
readonly
|
|
765
|
+
readonly '^x-': {};
|
|
745
766
|
};
|
|
746
767
|
};
|
|
747
768
|
readonly TlsConfig: {
|
|
@@ -772,7 +793,7 @@ export declare const configSchema: {
|
|
|
772
793
|
readonly additionalProperties: false;
|
|
773
794
|
readonly description: "TLS/SSL configuration for HTTPS server";
|
|
774
795
|
readonly patternProperties: {
|
|
775
|
-
readonly
|
|
796
|
+
readonly '^x-': {};
|
|
776
797
|
};
|
|
777
798
|
};
|
|
778
799
|
readonly HttpAuthConfig: {
|
|
@@ -800,7 +821,7 @@ export declare const configSchema: {
|
|
|
800
821
|
readonly additionalProperties: false;
|
|
801
822
|
readonly description: "HTTP server authentication configuration";
|
|
802
823
|
readonly patternProperties: {
|
|
803
|
-
readonly
|
|
824
|
+
readonly '^x-': {};
|
|
804
825
|
};
|
|
805
826
|
};
|
|
806
827
|
readonly HttpEndpointConfig: {
|
|
@@ -823,7 +844,7 @@ export declare const configSchema: {
|
|
|
823
844
|
readonly additionalProperties: false;
|
|
824
845
|
readonly description: "HTTP server endpoint configuration";
|
|
825
846
|
readonly patternProperties: {
|
|
826
|
-
readonly
|
|
847
|
+
readonly '^x-': {};
|
|
827
848
|
};
|
|
828
849
|
};
|
|
829
850
|
readonly TagFilter: {
|
|
@@ -847,7 +868,7 @@ export declare const configSchema: {
|
|
|
847
868
|
readonly additionalProperties: false;
|
|
848
869
|
readonly description: "Tag filter configuration for selective check execution";
|
|
849
870
|
readonly patternProperties: {
|
|
850
|
-
readonly
|
|
871
|
+
readonly '^x-': {};
|
|
851
872
|
};
|
|
852
873
|
};
|
|
853
874
|
readonly RoutingDefaults: {
|
|
@@ -867,14 +888,14 @@ export declare const configSchema: {
|
|
|
867
888
|
readonly additionalProperties: false;
|
|
868
889
|
readonly description: "Default policies applied to checks (step-level overrides take precedence)";
|
|
869
890
|
readonly patternProperties: {
|
|
870
|
-
readonly
|
|
891
|
+
readonly '^x-': {};
|
|
871
892
|
};
|
|
872
893
|
};
|
|
873
894
|
};
|
|
874
895
|
readonly additionalProperties: false;
|
|
875
896
|
readonly description: "Global routing defaults";
|
|
876
897
|
readonly patternProperties: {
|
|
877
|
-
readonly
|
|
898
|
+
readonly '^x-': {};
|
|
878
899
|
};
|
|
879
900
|
};
|
|
880
901
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-schema.d.ts","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/generated/config-schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"config-schema.d.ts","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/generated/config-schema.ts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itions/OnSuccessConfig",
|
|
256
256
|
"description": "Success routing configuration for this check (post-actions and optional goto)"
|
|
257
|
+
},
|
|
258
|
+
"message": {
|
|
259
|
+
"type": "string",
|
|
260
|
+
"description": "Message template for log checks"
|
|
261
|
+
},
|
|
262
|
+
"level": {
|
|
263
|
+
"type": "string",
|
|
264
|
+
"enum": [
|
|
265
|
+
"debug",
|
|
266
|
+
"info",
|
|
267
|
+
"warn",
|
|
268
|
+
"error"
|
|
269
|
+
],
|
|
270
|
+
"description": "Log level for log checks"
|
|
271
|
+
},
|
|
272
|
+
"include_pr_context": {
|
|
273
|
+
"type": "boolean",
|
|
274
|
+
"description": "Include PR context in log output"
|
|
275
|
+
},
|
|
276
|
+
"include_dependencies": {
|
|
277
|
+
"type": "boolean",
|
|
278
|
+
"description": "Include dependency summaries in log output"
|
|
279
|
+
},
|
|
280
|
+
"include_metadata": {
|
|
281
|
+
"type": "boolean",
|
|
282
|
+
"description": "Include execution metadata in log output"
|
|
257
283
|
}
|
|
258
284
|
},
|
|
259
285
|
"additionalProperties": false,
|