@probelabs/visor 0.1.132-ee → 0.1.137-ee
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/config-reloader.d.ts +1 -0
- package/dist/config/config-reloader.d.ts.map +1 -1
- package/dist/config/config-watcher.d.ts +1 -0
- package/dist/config/config-watcher.d.ts.map +1 -1
- package/dist/config.d.ts +4 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/docs/ai-custom-tools-usage.md +37 -0
- package/dist/docs/ai-custom-tools.md +43 -1
- package/dist/docs/custom-tools.md +70 -1
- package/dist/docs/script.md +542 -27
- package/dist/docs/testing/cookbook.md +47 -0
- package/dist/examples/README.md +4 -0
- package/dist/examples/api-tools-ai-example.yaml +63 -0
- package/dist/examples/api-tools-inline-overlay-example.yaml +126 -0
- package/dist/examples/api-tools-library.yaml +18 -0
- package/dist/examples/api-tools-mcp-example.yaml +55 -0
- package/dist/examples/openapi/profiles-overlay-rename.yaml +3 -0
- package/dist/examples/openapi/users-api.json +91 -0
- package/dist/examples/openapi/users-overlay-rename.yaml +3 -0
- package/dist/generated/config-schema.d.ts +223 -74
- package/dist/generated/config-schema.d.ts.map +1 -1
- package/dist/generated/config-schema.json +251 -79
- package/dist/index.js +45128 -25001
- package/dist/providers/ai-check-provider.d.ts.map +1 -1
- package/dist/providers/api-tool-executor.d.ts +43 -0
- package/dist/providers/api-tool-executor.d.ts.map +1 -0
- package/dist/providers/command-check-provider.d.ts.map +1 -1
- package/dist/providers/custom-tool-executor.d.ts +21 -0
- package/dist/providers/custom-tool-executor.d.ts.map +1 -1
- package/dist/providers/mcp-check-provider.d.ts.map +1 -1
- package/dist/providers/mcp-custom-sse-server.d.ts.map +1 -1
- package/dist/providers/script-check-provider.d.ts +18 -2
- package/dist/providers/script-check-provider.d.ts.map +1 -1
- package/dist/sdk/{check-provider-registry-7TCA3NSG.mjs → check-provider-registry-SCL4KP55.mjs} +9 -8
- package/dist/sdk/{check-provider-registry-KUDVEKAC.mjs → check-provider-registry-ULZRI3TC.mjs} +9 -8
- package/dist/sdk/{chunk-27RV5RR2.mjs → chunk-BRD36I43.mjs} +3 -3
- package/dist/sdk/{chunk-BGBXLPLL.mjs → chunk-E2N3U5HU.mjs} +5 -5
- package/dist/sdk/{chunk-XGI47XIH.mjs → chunk-F4K5WFSM.mjs} +1896 -1762
- package/dist/sdk/chunk-F4K5WFSM.mjs.map +1 -0
- package/dist/sdk/{chunk-2RNTEWOA.mjs → chunk-HQIVGUSV.mjs} +1896 -1762
- package/dist/sdk/chunk-HQIVGUSV.mjs.map +1 -0
- package/dist/sdk/{chunk-U3BLLEW3.mjs → chunk-KPRFDKQX.mjs} +329 -80
- package/dist/sdk/chunk-KPRFDKQX.mjs.map +1 -0
- package/dist/sdk/{chunk-VF6XIUE4.mjs → chunk-LW3INISN.mjs} +32 -1
- package/dist/sdk/{chunk-VF6XIUE4.mjs.map → chunk-LW3INISN.mjs.map} +1 -1
- package/dist/sdk/{chunk-VG7FWDC2.mjs → chunk-QUEWQWDX.mjs} +11 -4
- package/dist/sdk/{chunk-VG7FWDC2.mjs.map → chunk-QUEWQWDX.mjs.map} +1 -1
- package/dist/sdk/chunk-XKCER23W.mjs +1490 -0
- package/dist/sdk/chunk-XKCER23W.mjs.map +1 -0
- package/dist/sdk/{chunk-XJQKTK6V.mjs → chunk-ZUEQNCKB.mjs} +2 -2
- package/dist/sdk/{config-FMIIATKX.mjs → config-3UIU4TMP.mjs} +3 -3
- package/dist/sdk/{failure-condition-evaluator-PNONVBXD.mjs → failure-condition-evaluator-B5JJFYKU.mjs} +4 -4
- package/dist/sdk/{github-frontend-WR4S3NG5.mjs → github-frontend-VAWVSCNX.mjs} +4 -4
- package/dist/sdk/{host-TROSAWTE.mjs → host-67XTJ3BN.mjs} +2 -2
- package/dist/sdk/{host-U7V54J2H.mjs → host-TEQ7HKKH.mjs} +2 -2
- package/dist/sdk/{liquid-extensions-YDIIH33Q.mjs → liquid-extensions-PLBOMRLI.mjs} +3 -3
- package/dist/sdk/{routing-F4FOWVKF.mjs → routing-SEQYM4N6.mjs} +6 -6
- package/dist/sdk/schedule-tool-2COUUTF7.mjs +18 -0
- package/dist/sdk/{schedule-tool-handler-ULNF7TZW.mjs → schedule-tool-handler-5BDMLHS5.mjs} +10 -9
- package/dist/sdk/{schedule-tool-handler-VFES42DD.mjs → schedule-tool-handler-D7XX7WM4.mjs} +10 -9
- package/dist/sdk/sdk.d.mts +55 -2
- package/dist/sdk/sdk.d.ts +55 -2
- package/dist/sdk/sdk.js +2424 -539
- package/dist/sdk/sdk.js.map +1 -1
- package/dist/sdk/sdk.mjs +8 -7
- package/dist/sdk/sdk.mjs.map +1 -1
- package/dist/sdk/{trace-helpers-RDPXIN4S.mjs → trace-helpers-FAAGLXBI.mjs} +2 -2
- package/dist/sdk/{workflow-check-provider-4NFWH6YO.mjs → workflow-check-provider-K4MQQOYQ.mjs} +10 -9
- package/dist/sdk/{workflow-check-provider-5XS62BCJ.mjs → workflow-check-provider-WLA7LO56.mjs} +10 -9
- package/dist/sdk/workflow-check-provider-WLA7LO56.mjs.map +1 -0
- package/dist/state-machine/dispatch/execution-invoker.d.ts.map +1 -1
- package/dist/state-machine-execution-engine.d.ts.map +1 -1
- package/dist/test-runner/core/test-execution-wrapper.d.ts.map +1 -1
- package/dist/test-runner/index.d.ts.map +1 -1
- package/dist/test-runner/validator.d.ts.map +1 -1
- package/dist/types/config.d.ts +55 -2
- 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/sandbox.d.ts +8 -0
- package/dist/utils/sandbox.d.ts.map +1 -1
- package/dist/utils/script-tool-environment.d.ts +90 -0
- package/dist/utils/script-tool-environment.d.ts.map +1 -0
- package/dist/utils/tool-resolver.d.ts +18 -0
- package/dist/utils/tool-resolver.d.ts.map +1 -0
- package/package.json +11 -4
- package/dist/sdk/chunk-2RNTEWOA.mjs.map +0 -1
- package/dist/sdk/chunk-U3BLLEW3.mjs.map +0 -1
- package/dist/sdk/chunk-XGI47XIH.mjs.map +0 -1
- /package/dist/sdk/{check-provider-registry-7TCA3NSG.mjs.map → check-provider-registry-SCL4KP55.mjs.map} +0 -0
- /package/dist/sdk/{check-provider-registry-KUDVEKAC.mjs.map → check-provider-registry-ULZRI3TC.mjs.map} +0 -0
- /package/dist/sdk/{chunk-27RV5RR2.mjs.map → chunk-BRD36I43.mjs.map} +0 -0
- /package/dist/sdk/{chunk-BGBXLPLL.mjs.map → chunk-E2N3U5HU.mjs.map} +0 -0
- /package/dist/sdk/{chunk-XJQKTK6V.mjs.map → chunk-ZUEQNCKB.mjs.map} +0 -0
- /package/dist/sdk/{config-FMIIATKX.mjs.map → config-3UIU4TMP.mjs.map} +0 -0
- /package/dist/sdk/{failure-condition-evaluator-PNONVBXD.mjs.map → failure-condition-evaluator-B5JJFYKU.mjs.map} +0 -0
- /package/dist/sdk/{github-frontend-WR4S3NG5.mjs.map → github-frontend-VAWVSCNX.mjs.map} +0 -0
- /package/dist/sdk/{host-TROSAWTE.mjs.map → host-67XTJ3BN.mjs.map} +0 -0
- /package/dist/sdk/{host-U7V54J2H.mjs.map → host-TEQ7HKKH.mjs.map} +0 -0
- /package/dist/sdk/{liquid-extensions-YDIIH33Q.mjs.map → liquid-extensions-PLBOMRLI.mjs.map} +0 -0
- /package/dist/sdk/{routing-F4FOWVKF.mjs.map → routing-SEQYM4N6.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-handler-ULNF7TZW.mjs.map → schedule-tool-2COUUTF7.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-handler-VFES42DD.mjs.map → schedule-tool-handler-5BDMLHS5.mjs.map} +0 -0
- /package/dist/sdk/{trace-helpers-RDPXIN4S.mjs.map → schedule-tool-handler-D7XX7WM4.mjs.map} +0 -0
- /package/dist/sdk/{workflow-check-provider-4NFWH6YO.mjs.map → trace-helpers-FAAGLXBI.mjs.map} +0 -0
- /package/dist/sdk/{workflow-check-provider-5XS62BCJ.mjs.map → workflow-check-provider-K4MQQOYQ.mjs.map} +0 -0
|
@@ -193,6 +193,11 @@ export declare const configSchema: {
|
|
|
193
193
|
readonly CustomToolDefinition: {
|
|
194
194
|
readonly type: "object";
|
|
195
195
|
readonly properties: {
|
|
196
|
+
readonly type: {
|
|
197
|
+
readonly type: "string";
|
|
198
|
+
readonly enum: readonly ["command", "api"];
|
|
199
|
+
readonly description: "Tool implementation type (defaults to 'command')";
|
|
200
|
+
};
|
|
196
201
|
readonly name: {
|
|
197
202
|
readonly type: "string";
|
|
198
203
|
readonly description: "Tool name - used to reference the tool in MCP blocks";
|
|
@@ -230,7 +235,7 @@ export declare const configSchema: {
|
|
|
230
235
|
};
|
|
231
236
|
readonly exec: {
|
|
232
237
|
readonly type: "string";
|
|
233
|
-
readonly description: "Command to execute - supports Liquid template";
|
|
238
|
+
readonly description: "Command to execute - supports Liquid template (required for type: 'command')";
|
|
234
239
|
};
|
|
235
240
|
readonly stdin: {
|
|
236
241
|
readonly type: "string";
|
|
@@ -264,8 +269,115 @@ export declare const configSchema: {
|
|
|
264
269
|
readonly $ref: "#/definitions/Record%3Cstring%2Cunknown%3E";
|
|
265
270
|
readonly description: "Expected output schema for validation";
|
|
266
271
|
};
|
|
272
|
+
readonly spec: {
|
|
273
|
+
readonly anyOf: readonly [{
|
|
274
|
+
readonly type: "string";
|
|
275
|
+
}, {
|
|
276
|
+
readonly $ref: "#/definitions/Record%3Cstring%2Cunknown%3E";
|
|
277
|
+
}];
|
|
278
|
+
readonly description: "OpenAPI specification path/URL or inline object (required for type: 'api')";
|
|
279
|
+
};
|
|
280
|
+
readonly overlays: {
|
|
281
|
+
readonly anyOf: readonly [{
|
|
282
|
+
readonly type: "string";
|
|
283
|
+
}, {
|
|
284
|
+
readonly $ref: "#/definitions/Record%3Cstring%2Cunknown%3E";
|
|
285
|
+
}, {
|
|
286
|
+
readonly type: "array";
|
|
287
|
+
readonly items: {
|
|
288
|
+
readonly anyOf: readonly [{
|
|
289
|
+
readonly type: "string";
|
|
290
|
+
}, {
|
|
291
|
+
readonly $ref: "#/definitions/Record%3Cstring%2Cunknown%3E";
|
|
292
|
+
}];
|
|
293
|
+
};
|
|
294
|
+
}];
|
|
295
|
+
readonly description: "Overlay path/URL, inline object, or a mixed array applied in order";
|
|
296
|
+
};
|
|
297
|
+
readonly targetUrl: {
|
|
298
|
+
readonly type: "string";
|
|
299
|
+
readonly description: "Override API base URL instead of OpenAPI servers";
|
|
300
|
+
};
|
|
301
|
+
readonly target_url: {
|
|
302
|
+
readonly type: "string";
|
|
303
|
+
readonly description: "Alias for targetUrl (snake_case)";
|
|
304
|
+
};
|
|
305
|
+
readonly whitelist: {
|
|
306
|
+
readonly anyOf: readonly [{
|
|
307
|
+
readonly type: "array";
|
|
308
|
+
readonly items: {
|
|
309
|
+
readonly type: "string";
|
|
310
|
+
};
|
|
311
|
+
}, {
|
|
312
|
+
readonly type: "string";
|
|
313
|
+
}];
|
|
314
|
+
readonly description: "Include only operations matching these glob patterns (operationId or METHOD:/path)";
|
|
315
|
+
};
|
|
316
|
+
readonly blacklist: {
|
|
317
|
+
readonly anyOf: readonly [{
|
|
318
|
+
readonly type: "array";
|
|
319
|
+
readonly items: {
|
|
320
|
+
readonly type: "string";
|
|
321
|
+
};
|
|
322
|
+
}, {
|
|
323
|
+
readonly type: "string";
|
|
324
|
+
}];
|
|
325
|
+
readonly description: "Exclude operations matching these glob patterns (ignored when whitelist is set)";
|
|
326
|
+
};
|
|
327
|
+
readonly headers: {
|
|
328
|
+
readonly $ref: "#/definitions/Record%3Cstring%2Cstring%3E";
|
|
329
|
+
readonly description: "Extra headers added to all API requests";
|
|
330
|
+
};
|
|
331
|
+
readonly disableXMcp: {
|
|
332
|
+
readonly type: "boolean";
|
|
333
|
+
readonly description: "Disable X-MCP: 1 request header";
|
|
334
|
+
};
|
|
335
|
+
readonly disable_x_mcp: {
|
|
336
|
+
readonly type: "boolean";
|
|
337
|
+
readonly description: "Alias for disableXMcp (snake_case)";
|
|
338
|
+
};
|
|
339
|
+
readonly apiKey: {
|
|
340
|
+
readonly type: "string";
|
|
341
|
+
readonly description: "API key fallback credential used by security schemes";
|
|
342
|
+
};
|
|
343
|
+
readonly api_key: {
|
|
344
|
+
readonly type: "string";
|
|
345
|
+
readonly description: "Alias for apiKey (snake_case)";
|
|
346
|
+
};
|
|
347
|
+
readonly securitySchemeName: {
|
|
348
|
+
readonly type: "string";
|
|
349
|
+
readonly description: "Preferred security scheme name (optional hint)";
|
|
350
|
+
};
|
|
351
|
+
readonly security_scheme_name: {
|
|
352
|
+
readonly type: "string";
|
|
353
|
+
readonly description: "Alias for securitySchemeName (snake_case)";
|
|
354
|
+
};
|
|
355
|
+
readonly securityCredentials: {
|
|
356
|
+
readonly $ref: "#/definitions/Record%3Cstring%2Cstring%3E";
|
|
357
|
+
readonly description: "Credentials by OpenAPI security scheme name";
|
|
358
|
+
};
|
|
359
|
+
readonly security_credentials: {
|
|
360
|
+
readonly $ref: "#/definitions/Record%3Cstring%2Cstring%3E";
|
|
361
|
+
readonly description: "Alias for securityCredentials (snake_case)";
|
|
362
|
+
};
|
|
363
|
+
readonly namePrefix: {
|
|
364
|
+
readonly type: "string";
|
|
365
|
+
readonly description: "Optional prefix prepended to generated operation tool names";
|
|
366
|
+
};
|
|
367
|
+
readonly name_prefix: {
|
|
368
|
+
readonly type: "string";
|
|
369
|
+
readonly description: "Alias for namePrefix (snake_case)";
|
|
370
|
+
};
|
|
371
|
+
readonly requestTimeoutMs: {
|
|
372
|
+
readonly type: "number";
|
|
373
|
+
readonly description: "Request timeout in milliseconds for API calls";
|
|
374
|
+
};
|
|
375
|
+
readonly request_timeout_ms: {
|
|
376
|
+
readonly type: "number";
|
|
377
|
+
readonly description: "Alias for requestTimeoutMs (snake_case)";
|
|
378
|
+
};
|
|
267
379
|
};
|
|
268
|
-
readonly required: readonly ["name"
|
|
380
|
+
readonly required: readonly ["name"];
|
|
269
381
|
readonly additionalProperties: false;
|
|
270
382
|
readonly description: "Custom tool definition for use in MCP blocks";
|
|
271
383
|
readonly patternProperties: {
|
|
@@ -396,6 +508,43 @@ export declare const configSchema: {
|
|
|
396
508
|
readonly type: "string";
|
|
397
509
|
readonly description: "Script content to execute for script checks";
|
|
398
510
|
};
|
|
511
|
+
readonly tools: {
|
|
512
|
+
readonly type: "array";
|
|
513
|
+
readonly items: {
|
|
514
|
+
readonly anyOf: readonly [{
|
|
515
|
+
readonly type: "string";
|
|
516
|
+
}, {
|
|
517
|
+
readonly type: "object";
|
|
518
|
+
readonly properties: {
|
|
519
|
+
readonly workflow: {
|
|
520
|
+
readonly type: "string";
|
|
521
|
+
};
|
|
522
|
+
readonly args: {
|
|
523
|
+
readonly $ref: "#/definitions/Record%3Cstring%2Cunknown%3E";
|
|
524
|
+
};
|
|
525
|
+
};
|
|
526
|
+
readonly required: readonly ["workflow"];
|
|
527
|
+
readonly additionalProperties: false;
|
|
528
|
+
}];
|
|
529
|
+
};
|
|
530
|
+
readonly description: "Tool names to expose inside script checks (string names or workflow references)";
|
|
531
|
+
};
|
|
532
|
+
readonly tools_js: {
|
|
533
|
+
readonly type: "string";
|
|
534
|
+
readonly description: "JavaScript expression to dynamically compute tools for script checks";
|
|
535
|
+
};
|
|
536
|
+
readonly mcp_servers: {
|
|
537
|
+
readonly $ref: "#/definitions/Record%3Cstring%2CMcpServerConfig%3E";
|
|
538
|
+
readonly description: "MCP servers whose tools are exposed inside script checks";
|
|
539
|
+
};
|
|
540
|
+
readonly enable_fetch: {
|
|
541
|
+
readonly type: "boolean";
|
|
542
|
+
readonly description: "Enable fetch() function in script checks (default: false)";
|
|
543
|
+
};
|
|
544
|
+
readonly enable_bash: {
|
|
545
|
+
readonly type: "boolean";
|
|
546
|
+
readonly description: "Enable bash() function in script checks (default: false)";
|
|
547
|
+
};
|
|
399
548
|
readonly schedule: {
|
|
400
549
|
readonly type: "string";
|
|
401
550
|
readonly description: "Cron schedule expression (e.g., \"0 2 * * *\") - optional for any check type";
|
|
@@ -726,7 +875,7 @@ export declare const configSchema: {
|
|
|
726
875
|
readonly description: "Arguments/inputs for the workflow";
|
|
727
876
|
};
|
|
728
877
|
readonly overrides: {
|
|
729
|
-
readonly $ref: "#/definitions/Record%3Cstring%2CPartial%3Cinterface-src_types_config.ts-13489-
|
|
878
|
+
readonly $ref: "#/definitions/Record%3Cstring%2CPartial%3Cinterface-src_types_config.ts-13489-28083-src_types_config.ts-0-53867%3E%3E";
|
|
730
879
|
readonly description: "Override specific step configurations in the workflow";
|
|
731
880
|
};
|
|
732
881
|
readonly output_mapping: {
|
|
@@ -742,7 +891,7 @@ export declare const configSchema: {
|
|
|
742
891
|
readonly description: "Config file path - alternative to workflow ID (loads a Visor config file as workflow)";
|
|
743
892
|
};
|
|
744
893
|
readonly workflow_overrides: {
|
|
745
|
-
readonly $ref: "#/definitions/Record%3Cstring%2CPartial%3Cinterface-src_types_config.ts-13489-
|
|
894
|
+
readonly $ref: "#/definitions/Record%3Cstring%2CPartial%3Cinterface-src_types_config.ts-13489-28083-src_types_config.ts-0-53867%3E%3E";
|
|
746
895
|
readonly description: "Alias for overrides - workflow step overrides (backward compatibility)";
|
|
747
896
|
};
|
|
748
897
|
readonly ref: {
|
|
@@ -829,6 +978,72 @@ export declare const configSchema: {
|
|
|
829
978
|
readonly enum: readonly ["ai", "command", "script", "http", "http_input", "http_client", "noop", "log", "memory", "github", "claude-code", "mcp", "human-input", "workflow", "git-checkout"];
|
|
830
979
|
readonly description: "Valid check types in configuration";
|
|
831
980
|
};
|
|
981
|
+
readonly 'Record<string,McpServerConfig>': {
|
|
982
|
+
readonly type: "object";
|
|
983
|
+
readonly additionalProperties: {
|
|
984
|
+
readonly $ref: "#/definitions/McpServerConfig";
|
|
985
|
+
};
|
|
986
|
+
};
|
|
987
|
+
readonly McpServerConfig: {
|
|
988
|
+
readonly type: "object";
|
|
989
|
+
readonly properties: {
|
|
990
|
+
readonly command: {
|
|
991
|
+
readonly type: "string";
|
|
992
|
+
readonly description: "Command to execute (presence indicates stdio server)";
|
|
993
|
+
};
|
|
994
|
+
readonly args: {
|
|
995
|
+
readonly type: "array";
|
|
996
|
+
readonly items: {
|
|
997
|
+
readonly type: "string";
|
|
998
|
+
};
|
|
999
|
+
readonly description: "Arguments to pass to the command";
|
|
1000
|
+
};
|
|
1001
|
+
readonly env: {
|
|
1002
|
+
readonly $ref: "#/definitions/Record%3Cstring%2Cstring%3E";
|
|
1003
|
+
readonly description: "Environment variables for the MCP server";
|
|
1004
|
+
};
|
|
1005
|
+
readonly url: {
|
|
1006
|
+
readonly type: "string";
|
|
1007
|
+
readonly description: "URL endpoint (presence indicates external server)";
|
|
1008
|
+
};
|
|
1009
|
+
readonly transport: {
|
|
1010
|
+
readonly type: "string";
|
|
1011
|
+
readonly enum: readonly ["stdio", "sse", "http"];
|
|
1012
|
+
readonly description: "Transport type";
|
|
1013
|
+
};
|
|
1014
|
+
readonly workflow: {
|
|
1015
|
+
readonly type: "string";
|
|
1016
|
+
readonly description: "Workflow ID or path (presence indicates workflow tool)";
|
|
1017
|
+
};
|
|
1018
|
+
readonly inputs: {
|
|
1019
|
+
readonly $ref: "#/definitions/Record%3Cstring%2Cunknown%3E";
|
|
1020
|
+
readonly description: "Inputs to pass to workflow";
|
|
1021
|
+
};
|
|
1022
|
+
readonly description: {
|
|
1023
|
+
readonly type: "string";
|
|
1024
|
+
readonly description: "Tool description for AI";
|
|
1025
|
+
};
|
|
1026
|
+
readonly allowedMethods: {
|
|
1027
|
+
readonly type: "array";
|
|
1028
|
+
readonly items: {
|
|
1029
|
+
readonly type: "string";
|
|
1030
|
+
};
|
|
1031
|
+
readonly description: "Whitelist specific methods from this MCP server (supports wildcards like \"search_*\")";
|
|
1032
|
+
};
|
|
1033
|
+
readonly blockedMethods: {
|
|
1034
|
+
readonly type: "array";
|
|
1035
|
+
readonly items: {
|
|
1036
|
+
readonly type: "string";
|
|
1037
|
+
};
|
|
1038
|
+
readonly description: "Block specific methods from this MCP server (supports wildcards like \"*_delete\")";
|
|
1039
|
+
};
|
|
1040
|
+
};
|
|
1041
|
+
readonly additionalProperties: false;
|
|
1042
|
+
readonly description: "Unified MCP server/tool entry - type detected by which properties are present\n\nDetection logic (priority order): 1. Has `command` → stdio MCP server (external process) 2. Has `url` → SSE/HTTP MCP server (external endpoint) 3. Has `workflow` → workflow tool reference 4. Empty `{}` or just key → auto-detect from `tools:` section";
|
|
1043
|
+
readonly patternProperties: {
|
|
1044
|
+
readonly '^x-': {};
|
|
1045
|
+
};
|
|
1046
|
+
};
|
|
832
1047
|
readonly EventTrigger: {
|
|
833
1048
|
readonly type: "string";
|
|
834
1049
|
readonly enum: readonly ["pr_opened", "pr_updated", "pr_closed", "issue_opened", "issue_comment", "manual", "schedule", "webhook_received"];
|
|
@@ -948,72 +1163,6 @@ export declare const configSchema: {
|
|
|
948
1163
|
readonly '^x-': {};
|
|
949
1164
|
};
|
|
950
1165
|
};
|
|
951
|
-
readonly 'Record<string,McpServerConfig>': {
|
|
952
|
-
readonly type: "object";
|
|
953
|
-
readonly additionalProperties: {
|
|
954
|
-
readonly $ref: "#/definitions/McpServerConfig";
|
|
955
|
-
};
|
|
956
|
-
};
|
|
957
|
-
readonly McpServerConfig: {
|
|
958
|
-
readonly type: "object";
|
|
959
|
-
readonly properties: {
|
|
960
|
-
readonly command: {
|
|
961
|
-
readonly type: "string";
|
|
962
|
-
readonly description: "Command to execute (presence indicates stdio server)";
|
|
963
|
-
};
|
|
964
|
-
readonly args: {
|
|
965
|
-
readonly type: "array";
|
|
966
|
-
readonly items: {
|
|
967
|
-
readonly type: "string";
|
|
968
|
-
};
|
|
969
|
-
readonly description: "Arguments to pass to the command";
|
|
970
|
-
};
|
|
971
|
-
readonly env: {
|
|
972
|
-
readonly $ref: "#/definitions/Record%3Cstring%2Cstring%3E";
|
|
973
|
-
readonly description: "Environment variables for the MCP server";
|
|
974
|
-
};
|
|
975
|
-
readonly url: {
|
|
976
|
-
readonly type: "string";
|
|
977
|
-
readonly description: "URL endpoint (presence indicates external server)";
|
|
978
|
-
};
|
|
979
|
-
readonly transport: {
|
|
980
|
-
readonly type: "string";
|
|
981
|
-
readonly enum: readonly ["stdio", "sse", "http"];
|
|
982
|
-
readonly description: "Transport type";
|
|
983
|
-
};
|
|
984
|
-
readonly workflow: {
|
|
985
|
-
readonly type: "string";
|
|
986
|
-
readonly description: "Workflow ID or path (presence indicates workflow tool)";
|
|
987
|
-
};
|
|
988
|
-
readonly inputs: {
|
|
989
|
-
readonly $ref: "#/definitions/Record%3Cstring%2Cunknown%3E";
|
|
990
|
-
readonly description: "Inputs to pass to workflow";
|
|
991
|
-
};
|
|
992
|
-
readonly description: {
|
|
993
|
-
readonly type: "string";
|
|
994
|
-
readonly description: "Tool description for AI";
|
|
995
|
-
};
|
|
996
|
-
readonly allowedMethods: {
|
|
997
|
-
readonly type: "array";
|
|
998
|
-
readonly items: {
|
|
999
|
-
readonly type: "string";
|
|
1000
|
-
};
|
|
1001
|
-
readonly description: "Whitelist specific methods from this MCP server (supports wildcards like \"search_*\")";
|
|
1002
|
-
};
|
|
1003
|
-
readonly blockedMethods: {
|
|
1004
|
-
readonly type: "array";
|
|
1005
|
-
readonly items: {
|
|
1006
|
-
readonly type: "string";
|
|
1007
|
-
};
|
|
1008
|
-
readonly description: "Block specific methods from this MCP server (supports wildcards like \"*_delete\")";
|
|
1009
|
-
};
|
|
1010
|
-
};
|
|
1011
|
-
readonly additionalProperties: false;
|
|
1012
|
-
readonly description: "Unified MCP server/tool entry - type detected by which properties are present\n\nDetection logic (priority order): 1. Has `command` → stdio MCP server (external process) 2. Has `url` → SSE/HTTP MCP server (external endpoint) 3. Has `workflow` → workflow tool reference 4. Empty `{}` or just key → auto-detect from `tools:` section";
|
|
1013
|
-
readonly patternProperties: {
|
|
1014
|
-
readonly '^x-': {};
|
|
1015
|
-
};
|
|
1016
|
-
};
|
|
1017
1166
|
readonly AIRetryConfig: {
|
|
1018
1167
|
readonly type: "object";
|
|
1019
1168
|
readonly properties: {
|
|
@@ -1394,7 +1543,7 @@ export declare const configSchema: {
|
|
|
1394
1543
|
readonly description: "Custom output name (defaults to workflow name)";
|
|
1395
1544
|
};
|
|
1396
1545
|
readonly overrides: {
|
|
1397
|
-
readonly $ref: "#/definitions/Record%3Cstring%2CPartial%3Cinterface-src_types_config.ts-13489-
|
|
1546
|
+
readonly $ref: "#/definitions/Record%3Cstring%2CPartial%3Cinterface-src_types_config.ts-13489-28083-src_types_config.ts-0-53867%3E%3E";
|
|
1398
1547
|
readonly description: "Step overrides";
|
|
1399
1548
|
};
|
|
1400
1549
|
readonly output_mapping: {
|
|
@@ -1409,13 +1558,13 @@ export declare const configSchema: {
|
|
|
1409
1558
|
readonly '^x-': {};
|
|
1410
1559
|
};
|
|
1411
1560
|
};
|
|
1412
|
-
readonly 'Record<string,Partial<interface-src_types_config.ts-13489-
|
|
1561
|
+
readonly 'Record<string,Partial<interface-src_types_config.ts-13489-28083-src_types_config.ts-0-53867>>': {
|
|
1413
1562
|
readonly type: "object";
|
|
1414
1563
|
readonly additionalProperties: {
|
|
1415
|
-
readonly $ref: "#/definitions/Partial%3Cinterface-src_types_config.ts-13489-
|
|
1564
|
+
readonly $ref: "#/definitions/Partial%3Cinterface-src_types_config.ts-13489-28083-src_types_config.ts-0-53867%3E";
|
|
1416
1565
|
};
|
|
1417
1566
|
};
|
|
1418
|
-
readonly 'Partial<interface-src_types_config.ts-13489-
|
|
1567
|
+
readonly 'Partial<interface-src_types_config.ts-13489-28083-src_types_config.ts-0-53867>': {
|
|
1419
1568
|
readonly type: "object";
|
|
1420
1569
|
readonly additionalProperties: false;
|
|
1421
1570
|
};
|
|
@@ -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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