@probelabs/visor 0.1.75 → 0.1.77

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.
@@ -0,0 +1,904 @@
1
+ export declare const configSchema: {
2
+ readonly $schema: "http://json-schema.org/draft-07/schema#";
3
+ readonly $ref: "#/definitions/VisorConfig";
4
+ readonly definitions: {
5
+ readonly VisorConfig: {
6
+ readonly type: "object";
7
+ readonly properties: {
8
+ readonly version: {
9
+ readonly type: "string";
10
+ readonly description: "Configuration version";
11
+ };
12
+ readonly extends: {
13
+ readonly anyOf: readonly [{
14
+ readonly type: "string";
15
+ }, {
16
+ readonly type: "array";
17
+ readonly items: {
18
+ readonly type: "string";
19
+ };
20
+ }];
21
+ readonly description: "Extends from other configurations - can be file path, HTTP(S) URL, or \"default\"";
22
+ };
23
+ readonly checks: {
24
+ readonly $ref: "#/definitions/Record%3Cstring%2CCheckConfig%3E";
25
+ readonly description: "Check configurations";
26
+ };
27
+ readonly output: {
28
+ readonly $ref: "#/definitions/OutputConfig";
29
+ readonly description: "Output configuration";
30
+ };
31
+ readonly http_server: {
32
+ readonly $ref: "#/definitions/HttpServerConfig";
33
+ readonly description: "HTTP server configuration for receiving webhooks";
34
+ };
35
+ readonly env: {
36
+ readonly $ref: "#/definitions/EnvConfig";
37
+ readonly description: "Global environment variables";
38
+ };
39
+ readonly ai_model: {
40
+ readonly type: "string";
41
+ readonly description: "Global AI model setting";
42
+ };
43
+ readonly ai_provider: {
44
+ readonly type: "string";
45
+ readonly description: "Global AI provider setting";
46
+ };
47
+ readonly ai_mcp_servers: {
48
+ readonly $ref: "#/definitions/Record%3Cstring%2CMcpServerConfig%3E";
49
+ readonly description: "Global MCP servers configuration for AI checks";
50
+ };
51
+ readonly max_parallelism: {
52
+ readonly type: "number";
53
+ readonly description: "Maximum number of checks to run in parallel (default: 3)";
54
+ };
55
+ readonly fail_fast: {
56
+ readonly type: "boolean";
57
+ readonly description: "Stop execution when any check fails (default: false)";
58
+ };
59
+ readonly fail_if: {
60
+ readonly type: "string";
61
+ readonly description: "Simple global fail condition - fails if expression evaluates to true";
62
+ };
63
+ readonly failure_conditions: {
64
+ readonly $ref: "#/definitions/FailureConditions";
65
+ readonly description: "Global failure conditions - optional (deprecated, use fail_if)";
66
+ };
67
+ readonly tag_filter: {
68
+ readonly $ref: "#/definitions/TagFilter";
69
+ readonly description: "Tag filter for selective check execution";
70
+ };
71
+ readonly routing: {
72
+ readonly $ref: "#/definitions/RoutingDefaults";
73
+ readonly description: "Optional routing defaults for retry/goto/run policies";
74
+ };
75
+ };
76
+ readonly required: readonly ["version", "checks", "output"];
77
+ readonly additionalProperties: false;
78
+ readonly description: "Main Visor configuration";
79
+ readonly patternProperties: {
80
+ readonly '^x-': {};
81
+ };
82
+ };
83
+ readonly 'Record<string,CheckConfig>': {
84
+ readonly type: "object";
85
+ readonly additionalProperties: {
86
+ readonly $ref: "#/definitions/CheckConfig";
87
+ };
88
+ };
89
+ readonly CheckConfig: {
90
+ readonly type: "object";
91
+ readonly properties: {
92
+ readonly type: {
93
+ readonly $ref: "#/definitions/ConfigCheckType";
94
+ readonly description: "Type of check to perform (defaults to 'ai' if not specified)";
95
+ };
96
+ readonly prompt: {
97
+ readonly type: "string";
98
+ readonly description: "AI prompt for the check - can be inline string or file path (auto-detected) - required for AI checks";
99
+ };
100
+ readonly appendPrompt: {
101
+ readonly type: "string";
102
+ readonly description: "Additional prompt to append when extending configurations - merged with parent prompt";
103
+ };
104
+ readonly exec: {
105
+ readonly type: "string";
106
+ readonly description: "Command execution with Liquid template support - required for command checks";
107
+ };
108
+ readonly stdin: {
109
+ readonly type: "string";
110
+ readonly description: "Stdin input for tools with Liquid template support - optional for tool checks";
111
+ };
112
+ readonly url: {
113
+ readonly type: "string";
114
+ readonly description: "HTTP URL - required for http output checks";
115
+ };
116
+ readonly body: {
117
+ readonly type: "string";
118
+ readonly description: "HTTP body template (Liquid) - required for http output checks";
119
+ };
120
+ readonly method: {
121
+ readonly type: "string";
122
+ readonly description: "HTTP method (defaults to POST)";
123
+ };
124
+ readonly headers: {
125
+ readonly $ref: "#/definitions/Record%3Cstring%2Cstring%3E";
126
+ readonly description: "HTTP headers";
127
+ };
128
+ readonly endpoint: {
129
+ readonly type: "string";
130
+ readonly description: "HTTP endpoint path - required for http_input checks";
131
+ };
132
+ readonly transform: {
133
+ readonly type: "string";
134
+ readonly description: "Transform template for http_input data (Liquid) - optional";
135
+ };
136
+ readonly transform_js: {
137
+ readonly type: "string";
138
+ readonly description: "Transform using JavaScript expressions (evaluated in secure sandbox) - optional";
139
+ };
140
+ readonly schedule: {
141
+ readonly type: "string";
142
+ readonly description: "Cron schedule expression (e.g., \"0 2 * * *\") - optional for any check type";
143
+ };
144
+ readonly focus: {
145
+ readonly type: "string";
146
+ readonly description: "Focus area for the check (security/performance/style/architecture/all) - optional";
147
+ };
148
+ readonly command: {
149
+ readonly type: "string";
150
+ readonly description: "Command that triggers this check (e.g., \"review\", \"security-scan\") - optional";
151
+ };
152
+ readonly on: {
153
+ readonly type: "array";
154
+ readonly items: {
155
+ readonly $ref: "#/definitions/EventTrigger";
156
+ };
157
+ readonly description: "Events that trigger this check (defaults to ['manual'] if not specified)";
158
+ };
159
+ readonly triggers: {
160
+ readonly type: "array";
161
+ readonly items: {
162
+ readonly type: "string";
163
+ };
164
+ readonly description: "File patterns that trigger this check (optional)";
165
+ };
166
+ readonly ai: {
167
+ readonly $ref: "#/definitions/AIProviderConfig";
168
+ readonly description: "AI provider configuration (optional)";
169
+ };
170
+ readonly ai_model: {
171
+ readonly type: "string";
172
+ readonly description: "AI model to use for this check - overrides global setting";
173
+ };
174
+ readonly ai_provider: {
175
+ readonly type: "string";
176
+ readonly description: "AI provider to use for this check - overrides global setting";
177
+ };
178
+ readonly ai_mcp_servers: {
179
+ readonly $ref: "#/definitions/Record%3Cstring%2CMcpServerConfig%3E";
180
+ readonly description: "MCP servers for this AI check - overrides global setting";
181
+ };
182
+ readonly claude_code: {
183
+ readonly $ref: "#/definitions/ClaudeCodeConfig";
184
+ readonly description: "Claude Code configuration (for claude-code type checks)";
185
+ };
186
+ readonly env: {
187
+ readonly $ref: "#/definitions/EnvConfig";
188
+ readonly description: "Environment variables for this check";
189
+ };
190
+ readonly depends_on: {
191
+ readonly type: "array";
192
+ readonly items: {
193
+ readonly type: "string";
194
+ };
195
+ readonly description: "Check IDs that this check depends on (optional)";
196
+ };
197
+ readonly group: {
198
+ readonly type: "string";
199
+ readonly description: "Group name for comment separation (e.g., \"code-review\", \"pr-overview\") - optional";
200
+ };
201
+ readonly schema: {
202
+ readonly anyOf: readonly [{
203
+ readonly type: "string";
204
+ }, {
205
+ readonly $ref: "#/definitions/Record%3Cstring%2Cunknown%3E";
206
+ }];
207
+ readonly description: "Schema type for template rendering (e.g., \"code-review\", \"markdown\") or inline JSON schema object - optional";
208
+ };
209
+ readonly template: {
210
+ readonly $ref: "#/definitions/CustomTemplateConfig";
211
+ readonly description: "Custom template configuration - optional";
212
+ };
213
+ readonly if: {
214
+ readonly type: "string";
215
+ readonly description: "Condition to determine if check should run - runs if expression evaluates to true";
216
+ };
217
+ readonly reuse_ai_session: {
218
+ readonly type: "boolean";
219
+ readonly description: "Whether to reuse AI session from dependency checks (only works with depends_on)";
220
+ };
221
+ readonly fail_if: {
222
+ readonly type: "string";
223
+ readonly description: "Simple fail condition - fails check if expression evaluates to true";
224
+ };
225
+ readonly failure_conditions: {
226
+ readonly $ref: "#/definitions/FailureConditions";
227
+ readonly description: "Check-specific failure conditions - optional (deprecated, use fail_if)";
228
+ };
229
+ readonly tags: {
230
+ readonly type: "array";
231
+ readonly items: {
232
+ readonly type: "string";
233
+ };
234
+ readonly description: "Tags for categorizing and filtering checks (e.g., [\"local\", \"fast\", \"security\"])";
235
+ };
236
+ readonly forEach: {
237
+ readonly type: "boolean";
238
+ readonly description: "Process output as array and run dependent checks for each item";
239
+ };
240
+ readonly on_fail: {
241
+ readonly $ref: "#/definitions/OnFailConfig";
242
+ readonly description: "Failure routing configuration for this check (retry/goto/run)";
243
+ };
244
+ readonly on_success: {
245
+ readonly $ref: "#/definitions/OnSuccessConfig";
246
+ readonly description: "Success routing configuration for this check (post-actions and optional goto)";
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
+ };
269
+ };
270
+ readonly additionalProperties: false;
271
+ readonly description: "Configuration for a single check";
272
+ readonly patternProperties: {
273
+ readonly '^x-': {};
274
+ };
275
+ };
276
+ readonly ConfigCheckType: {
277
+ readonly type: "string";
278
+ readonly enum: readonly ["ai", "command", "http", "http_input", "http_client", "noop", "log", "claude-code"];
279
+ readonly description: "Valid check types in configuration";
280
+ };
281
+ readonly 'Record<string,string>': {
282
+ readonly type: "object";
283
+ readonly additionalProperties: {
284
+ readonly type: "string";
285
+ };
286
+ };
287
+ readonly EventTrigger: {
288
+ readonly type: "string";
289
+ readonly enum: readonly ["pr_opened", "pr_updated", "pr_closed", "issue_opened", "issue_comment", "manual", "schedule", "webhook_received"];
290
+ readonly description: "Valid event triggers for checks";
291
+ };
292
+ readonly AIProviderConfig: {
293
+ readonly type: "object";
294
+ readonly properties: {
295
+ readonly provider: {
296
+ readonly type: "string";
297
+ readonly enum: readonly ["google", "anthropic", "openai", "bedrock", "mock"];
298
+ readonly description: "AI provider to use";
299
+ };
300
+ readonly model: {
301
+ readonly type: "string";
302
+ readonly description: "Model name to use";
303
+ };
304
+ readonly apiKey: {
305
+ readonly type: "string";
306
+ readonly description: "API key (usually from environment variables)";
307
+ };
308
+ readonly timeout: {
309
+ readonly type: "number";
310
+ readonly description: "Request timeout in milliseconds";
311
+ };
312
+ readonly debug: {
313
+ readonly type: "boolean";
314
+ readonly description: "Enable debug mode";
315
+ };
316
+ readonly mcpServers: {
317
+ readonly $ref: "#/definitions/Record%3Cstring%2CMcpServerConfig%3E";
318
+ readonly description: "MCP servers configuration";
319
+ };
320
+ };
321
+ readonly additionalProperties: false;
322
+ readonly description: "AI provider configuration";
323
+ readonly patternProperties: {
324
+ readonly '^x-': {};
325
+ };
326
+ };
327
+ readonly 'Record<string,McpServerConfig>': {
328
+ readonly type: "object";
329
+ readonly additionalProperties: {
330
+ readonly $ref: "#/definitions/McpServerConfig";
331
+ };
332
+ };
333
+ readonly McpServerConfig: {
334
+ readonly type: "object";
335
+ readonly properties: {
336
+ readonly command: {
337
+ readonly type: "string";
338
+ readonly description: "Command to execute for the MCP server";
339
+ };
340
+ readonly args: {
341
+ readonly type: "array";
342
+ readonly items: {
343
+ readonly type: "string";
344
+ };
345
+ readonly description: "Arguments to pass to the command";
346
+ };
347
+ readonly env: {
348
+ readonly $ref: "#/definitions/Record%3Cstring%2Cstring%3E";
349
+ readonly description: "Environment variables for the MCP server";
350
+ };
351
+ };
352
+ readonly required: readonly ["command"];
353
+ readonly additionalProperties: false;
354
+ readonly description: "MCP Server configuration";
355
+ readonly patternProperties: {
356
+ readonly '^x-': {};
357
+ };
358
+ };
359
+ readonly ClaudeCodeConfig: {
360
+ readonly type: "object";
361
+ readonly properties: {
362
+ readonly allowedTools: {
363
+ readonly type: "array";
364
+ readonly items: {
365
+ readonly type: "string";
366
+ };
367
+ readonly description: "List of allowed tools for Claude Code to use";
368
+ };
369
+ readonly maxTurns: {
370
+ readonly type: "number";
371
+ readonly description: "Maximum number of turns in conversation";
372
+ };
373
+ readonly systemPrompt: {
374
+ readonly type: "string";
375
+ readonly description: "System prompt for Claude Code";
376
+ };
377
+ readonly mcpServers: {
378
+ readonly $ref: "#/definitions/Record%3Cstring%2CMcpServerConfig%3E";
379
+ readonly description: "MCP servers configuration";
380
+ };
381
+ readonly subagent: {
382
+ readonly type: "string";
383
+ readonly description: "Path to subagent script";
384
+ };
385
+ readonly hooks: {
386
+ readonly type: "object";
387
+ readonly properties: {
388
+ readonly onStart: {
389
+ readonly type: "string";
390
+ readonly description: "Called when check starts";
391
+ };
392
+ readonly onEnd: {
393
+ readonly type: "string";
394
+ readonly description: "Called when check ends";
395
+ };
396
+ readonly onError: {
397
+ readonly type: "string";
398
+ readonly description: "Called when check encounters an error";
399
+ };
400
+ };
401
+ readonly additionalProperties: false;
402
+ readonly description: "Event hooks for lifecycle management";
403
+ readonly patternProperties: {
404
+ readonly '^x-': {};
405
+ };
406
+ };
407
+ };
408
+ readonly additionalProperties: false;
409
+ readonly description: "Claude Code configuration";
410
+ readonly patternProperties: {
411
+ readonly '^x-': {};
412
+ };
413
+ };
414
+ readonly EnvConfig: {
415
+ readonly type: "object";
416
+ readonly additionalProperties: {
417
+ readonly type: readonly ["string", "number", "boolean"];
418
+ };
419
+ readonly description: "Environment variable reference configuration";
420
+ };
421
+ readonly 'Record<string,unknown>': {
422
+ readonly type: "object";
423
+ readonly additionalProperties: {};
424
+ };
425
+ readonly CustomTemplateConfig: {
426
+ readonly type: "object";
427
+ readonly properties: {
428
+ readonly file: {
429
+ readonly type: "string";
430
+ readonly description: "Path to custom template file (relative to config file or absolute)";
431
+ };
432
+ readonly content: {
433
+ readonly type: "string";
434
+ readonly description: "Raw template content as string";
435
+ };
436
+ };
437
+ readonly additionalProperties: false;
438
+ readonly description: "Custom template configuration";
439
+ readonly patternProperties: {
440
+ readonly '^x-': {};
441
+ };
442
+ };
443
+ readonly FailureConditions: {
444
+ readonly type: "object";
445
+ readonly additionalProperties: {
446
+ readonly $ref: "#/definitions/FailureCondition";
447
+ };
448
+ readonly description: "Collection of failure conditions";
449
+ };
450
+ readonly FailureCondition: {
451
+ readonly anyOf: readonly [{
452
+ readonly $ref: "#/definitions/SimpleFailureCondition";
453
+ }, {
454
+ readonly $ref: "#/definitions/ComplexFailureCondition";
455
+ }];
456
+ readonly description: "Failure condition - can be a simple expression string or complex object";
457
+ };
458
+ readonly SimpleFailureCondition: {
459
+ readonly type: "string";
460
+ readonly description: "Simple failure condition - just an expression string";
461
+ };
462
+ readonly ComplexFailureCondition: {
463
+ readonly type: "object";
464
+ readonly properties: {
465
+ readonly condition: {
466
+ readonly type: "string";
467
+ readonly description: "Expression to evaluate using Function Constructor";
468
+ };
469
+ readonly message: {
470
+ readonly type: "string";
471
+ readonly description: "Human-readable message when condition is met";
472
+ };
473
+ readonly severity: {
474
+ readonly $ref: "#/definitions/FailureConditionSeverity";
475
+ readonly description: "Severity level of the failure";
476
+ };
477
+ readonly halt_execution: {
478
+ readonly type: "boolean";
479
+ readonly description: "Whether this condition should halt execution";
480
+ };
481
+ };
482
+ readonly required: readonly ["condition"];
483
+ readonly additionalProperties: false;
484
+ readonly description: "Complex failure condition with additional metadata";
485
+ readonly patternProperties: {
486
+ readonly '^x-': {};
487
+ };
488
+ };
489
+ readonly FailureConditionSeverity: {
490
+ readonly type: "string";
491
+ readonly enum: readonly ["error", "warning", "info"];
492
+ readonly description: "Failure condition severity levels";
493
+ };
494
+ readonly OnFailConfig: {
495
+ readonly type: "object";
496
+ readonly properties: {
497
+ readonly retry: {
498
+ readonly $ref: "#/definitions/RetryPolicy";
499
+ readonly description: "Retry policy";
500
+ };
501
+ readonly run: {
502
+ readonly type: "array";
503
+ readonly items: {
504
+ readonly type: "string";
505
+ };
506
+ readonly description: "Remediation steps to run before reattempt";
507
+ };
508
+ readonly goto: {
509
+ readonly type: "string";
510
+ readonly description: "Jump back to an ancestor step (by id)";
511
+ };
512
+ readonly goto_js: {
513
+ readonly type: "string";
514
+ readonly description: "Dynamic goto: JS expression returning step id or null";
515
+ };
516
+ readonly run_js: {
517
+ readonly type: "string";
518
+ readonly description: "Dynamic remediation list: JS expression returning string[]";
519
+ };
520
+ };
521
+ readonly additionalProperties: false;
522
+ readonly description: "Failure routing configuration per check";
523
+ readonly patternProperties: {
524
+ readonly '^x-': {};
525
+ };
526
+ };
527
+ readonly RetryPolicy: {
528
+ readonly type: "object";
529
+ readonly properties: {
530
+ readonly max: {
531
+ readonly type: "number";
532
+ readonly description: "Maximum retry attempts (excluding the first attempt)";
533
+ };
534
+ readonly backoff: {
535
+ readonly $ref: "#/definitions/BackoffPolicy";
536
+ readonly description: "Backoff policy";
537
+ };
538
+ };
539
+ readonly additionalProperties: false;
540
+ readonly description: "Retry policy for a step";
541
+ readonly patternProperties: {
542
+ readonly '^x-': {};
543
+ };
544
+ };
545
+ readonly BackoffPolicy: {
546
+ readonly type: "object";
547
+ readonly properties: {
548
+ readonly mode: {
549
+ readonly type: "string";
550
+ readonly enum: readonly ["fixed", "exponential"];
551
+ readonly description: "Backoff mode";
552
+ };
553
+ readonly delay_ms: {
554
+ readonly type: "number";
555
+ readonly description: "Initial delay in milliseconds";
556
+ };
557
+ };
558
+ readonly additionalProperties: false;
559
+ readonly description: "Backoff policy for retries";
560
+ readonly patternProperties: {
561
+ readonly '^x-': {};
562
+ };
563
+ };
564
+ readonly OnSuccessConfig: {
565
+ readonly type: "object";
566
+ readonly properties: {
567
+ readonly run: {
568
+ readonly type: "array";
569
+ readonly items: {
570
+ readonly type: "string";
571
+ };
572
+ readonly description: "Post-success steps to run";
573
+ };
574
+ readonly goto: {
575
+ readonly type: "string";
576
+ readonly description: "Optional jump back to ancestor step (by id)";
577
+ };
578
+ readonly goto_js: {
579
+ readonly type: "string";
580
+ readonly description: "Dynamic goto: JS expression returning step id or null";
581
+ };
582
+ readonly run_js: {
583
+ readonly type: "string";
584
+ readonly description: "Dynamic post-success steps: JS expression returning string[]";
585
+ };
586
+ };
587
+ readonly additionalProperties: false;
588
+ readonly description: "Success routing configuration per check";
589
+ readonly patternProperties: {
590
+ readonly '^x-': {};
591
+ };
592
+ };
593
+ readonly OutputConfig: {
594
+ readonly type: "object";
595
+ readonly properties: {
596
+ readonly pr_comment: {
597
+ readonly $ref: "#/definitions/PrCommentOutput";
598
+ readonly description: "PR comment configuration";
599
+ };
600
+ readonly file_comment: {
601
+ readonly $ref: "#/definitions/FileCommentOutput";
602
+ readonly description: "File comment configuration (optional)";
603
+ };
604
+ readonly github_checks: {
605
+ readonly $ref: "#/definitions/GitHubCheckOutput";
606
+ readonly description: "GitHub check runs configuration (optional)";
607
+ };
608
+ readonly suppressionEnabled: {
609
+ readonly type: "boolean";
610
+ readonly description: "Whether to enable issue suppression via visor-disable comments (default: true)";
611
+ };
612
+ };
613
+ readonly required: readonly ["pr_comment"];
614
+ readonly additionalProperties: false;
615
+ readonly description: "Output configuration";
616
+ readonly patternProperties: {
617
+ readonly '^x-': {};
618
+ };
619
+ };
620
+ readonly PrCommentOutput: {
621
+ readonly type: "object";
622
+ readonly properties: {
623
+ readonly format: {
624
+ readonly $ref: "#/definitions/ConfigOutputFormat";
625
+ readonly description: "Format of the output";
626
+ };
627
+ readonly group_by: {
628
+ readonly $ref: "#/definitions/GroupByOption";
629
+ readonly description: "How to group the results";
630
+ };
631
+ readonly collapse: {
632
+ readonly type: "boolean";
633
+ readonly description: "Whether to collapse sections by default";
634
+ };
635
+ readonly debug: {
636
+ readonly $ref: "#/definitions/DebugConfig";
637
+ readonly description: "Debug mode configuration (optional)";
638
+ };
639
+ };
640
+ readonly required: readonly ["format", "group_by", "collapse"];
641
+ readonly additionalProperties: false;
642
+ readonly description: "PR comment output configuration";
643
+ readonly patternProperties: {
644
+ readonly '^x-': {};
645
+ };
646
+ };
647
+ readonly ConfigOutputFormat: {
648
+ readonly type: "string";
649
+ readonly enum: readonly ["table", "json", "markdown", "sarif"];
650
+ readonly description: "Valid output formats";
651
+ };
652
+ readonly GroupByOption: {
653
+ readonly type: "string";
654
+ readonly enum: readonly ["check", "file", "severity"];
655
+ readonly description: "Valid grouping options";
656
+ };
657
+ readonly DebugConfig: {
658
+ readonly type: "object";
659
+ readonly properties: {
660
+ readonly enabled: {
661
+ readonly type: "boolean";
662
+ readonly description: "Enable debug mode";
663
+ };
664
+ readonly includePrompts: {
665
+ readonly type: "boolean";
666
+ readonly description: "Include AI prompts in debug output";
667
+ };
668
+ readonly includeRawResponses: {
669
+ readonly type: "boolean";
670
+ readonly description: "Include raw AI responses in debug output";
671
+ };
672
+ readonly includeTiming: {
673
+ readonly type: "boolean";
674
+ readonly description: "Include timing information";
675
+ };
676
+ readonly includeProviderInfo: {
677
+ readonly type: "boolean";
678
+ readonly description: "Include provider information";
679
+ };
680
+ };
681
+ readonly required: readonly ["enabled", "includePrompts", "includeRawResponses", "includeTiming", "includeProviderInfo"];
682
+ readonly additionalProperties: false;
683
+ readonly description: "Debug mode configuration";
684
+ readonly patternProperties: {
685
+ readonly '^x-': {};
686
+ };
687
+ };
688
+ readonly FileCommentOutput: {
689
+ readonly type: "object";
690
+ readonly properties: {
691
+ readonly enabled: {
692
+ readonly type: "boolean";
693
+ readonly description: "Whether file comments are enabled";
694
+ };
695
+ readonly inline: {
696
+ readonly type: "boolean";
697
+ readonly description: "Whether to show inline comments";
698
+ };
699
+ };
700
+ readonly required: readonly ["enabled", "inline"];
701
+ readonly additionalProperties: false;
702
+ readonly description: "File comment output configuration";
703
+ readonly patternProperties: {
704
+ readonly '^x-': {};
705
+ };
706
+ };
707
+ readonly GitHubCheckOutput: {
708
+ readonly type: "object";
709
+ readonly properties: {
710
+ readonly enabled: {
711
+ readonly type: "boolean";
712
+ readonly description: "Whether GitHub check runs are enabled";
713
+ };
714
+ readonly per_check: {
715
+ readonly type: "boolean";
716
+ readonly description: "Whether to create individual check runs per configured check";
717
+ };
718
+ readonly name_prefix: {
719
+ readonly type: "string";
720
+ readonly description: "Custom name prefix for check runs";
721
+ };
722
+ };
723
+ readonly required: readonly ["enabled", "per_check"];
724
+ readonly additionalProperties: false;
725
+ readonly description: "GitHub Check Runs output configuration";
726
+ readonly patternProperties: {
727
+ readonly '^x-': {};
728
+ };
729
+ };
730
+ readonly HttpServerConfig: {
731
+ readonly type: "object";
732
+ readonly properties: {
733
+ readonly enabled: {
734
+ readonly type: "boolean";
735
+ readonly description: "Whether HTTP server is enabled";
736
+ };
737
+ readonly port: {
738
+ readonly type: "number";
739
+ readonly description: "Port to listen on";
740
+ };
741
+ readonly host: {
742
+ readonly type: "string";
743
+ readonly description: "Host/IP to bind to (defaults to 0.0.0.0)";
744
+ };
745
+ readonly tls: {
746
+ readonly $ref: "#/definitions/TlsConfig";
747
+ readonly description: "TLS/SSL configuration for HTTPS";
748
+ };
749
+ readonly auth: {
750
+ readonly $ref: "#/definitions/HttpAuthConfig";
751
+ readonly description: "Authentication configuration";
752
+ };
753
+ readonly endpoints: {
754
+ readonly type: "array";
755
+ readonly items: {
756
+ readonly $ref: "#/definitions/HttpEndpointConfig";
757
+ };
758
+ readonly description: "HTTP endpoints configuration";
759
+ };
760
+ };
761
+ readonly required: readonly ["enabled", "port"];
762
+ readonly additionalProperties: false;
763
+ readonly description: "HTTP server configuration for receiving webhooks";
764
+ readonly patternProperties: {
765
+ readonly '^x-': {};
766
+ };
767
+ };
768
+ readonly TlsConfig: {
769
+ readonly type: "object";
770
+ readonly properties: {
771
+ readonly enabled: {
772
+ readonly type: "boolean";
773
+ readonly description: "Enable TLS/HTTPS";
774
+ };
775
+ readonly cert: {
776
+ readonly type: "string";
777
+ readonly description: "Path to TLS certificate file or certificate content";
778
+ };
779
+ readonly key: {
780
+ readonly type: "string";
781
+ readonly description: "Path to TLS key file or key content";
782
+ };
783
+ readonly ca: {
784
+ readonly type: "string";
785
+ readonly description: "Path to CA certificate file or CA content (optional)";
786
+ };
787
+ readonly rejectUnauthorized: {
788
+ readonly type: "boolean";
789
+ readonly description: "Reject unauthorized connections (default: true)";
790
+ };
791
+ };
792
+ readonly required: readonly ["enabled"];
793
+ readonly additionalProperties: false;
794
+ readonly description: "TLS/SSL configuration for HTTPS server";
795
+ readonly patternProperties: {
796
+ readonly '^x-': {};
797
+ };
798
+ };
799
+ readonly HttpAuthConfig: {
800
+ readonly type: "object";
801
+ readonly properties: {
802
+ readonly type: {
803
+ readonly type: "string";
804
+ readonly enum: readonly ["bearer_token", "hmac", "basic", "none"];
805
+ readonly description: "Authentication type";
806
+ };
807
+ readonly secret: {
808
+ readonly type: "string";
809
+ readonly description: "Secret or token for authentication";
810
+ };
811
+ readonly username: {
812
+ readonly type: "string";
813
+ readonly description: "Username for basic auth";
814
+ };
815
+ readonly password: {
816
+ readonly type: "string";
817
+ readonly description: "Password for basic auth";
818
+ };
819
+ };
820
+ readonly required: readonly ["type"];
821
+ readonly additionalProperties: false;
822
+ readonly description: "HTTP server authentication configuration";
823
+ readonly patternProperties: {
824
+ readonly '^x-': {};
825
+ };
826
+ };
827
+ readonly HttpEndpointConfig: {
828
+ readonly type: "object";
829
+ readonly properties: {
830
+ readonly path: {
831
+ readonly type: "string";
832
+ readonly description: "Path for the webhook endpoint";
833
+ };
834
+ readonly transform: {
835
+ readonly type: "string";
836
+ readonly description: "Optional transform template (Liquid) for the received data";
837
+ };
838
+ readonly name: {
839
+ readonly type: "string";
840
+ readonly description: "Optional name/ID for this endpoint";
841
+ };
842
+ };
843
+ readonly required: readonly ["path"];
844
+ readonly additionalProperties: false;
845
+ readonly description: "HTTP server endpoint configuration";
846
+ readonly patternProperties: {
847
+ readonly '^x-': {};
848
+ };
849
+ };
850
+ readonly TagFilter: {
851
+ readonly type: "object";
852
+ readonly properties: {
853
+ readonly include: {
854
+ readonly type: "array";
855
+ readonly items: {
856
+ readonly type: "string";
857
+ };
858
+ readonly description: "Tags that checks must have to be included (ANY match)";
859
+ };
860
+ readonly exclude: {
861
+ readonly type: "array";
862
+ readonly items: {
863
+ readonly type: "string";
864
+ };
865
+ readonly description: "Tags that will exclude checks if present (ANY match)";
866
+ };
867
+ };
868
+ readonly additionalProperties: false;
869
+ readonly description: "Tag filter configuration for selective check execution";
870
+ readonly patternProperties: {
871
+ readonly '^x-': {};
872
+ };
873
+ };
874
+ readonly RoutingDefaults: {
875
+ readonly type: "object";
876
+ readonly properties: {
877
+ readonly max_loops: {
878
+ readonly type: "number";
879
+ readonly description: "Per-scope cap on routing transitions (success + failure)";
880
+ };
881
+ readonly defaults: {
882
+ readonly type: "object";
883
+ readonly properties: {
884
+ readonly on_fail: {
885
+ readonly $ref: "#/definitions/OnFailConfig";
886
+ };
887
+ };
888
+ readonly additionalProperties: false;
889
+ readonly description: "Default policies applied to checks (step-level overrides take precedence)";
890
+ readonly patternProperties: {
891
+ readonly '^x-': {};
892
+ };
893
+ };
894
+ };
895
+ readonly additionalProperties: false;
896
+ readonly description: "Global routing defaults";
897
+ readonly patternProperties: {
898
+ readonly '^x-': {};
899
+ };
900
+ };
901
+ };
902
+ };
903
+ export default configSchema;
904
+ //# sourceMappingURL=config-schema.d.ts.map