@probelabs/visor 0.1.188-ee → 0.1.189-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/generated/config-schema.d.ts +4 -0
- package/dist/generated/config-schema.d.ts.map +1 -1
- package/dist/index.js +17 -4
- package/dist/providers/ai-check-provider.d.ts.map +1 -1
- package/dist/sdk/{check-provider-registry-QUUL6JI2.mjs → check-provider-registry-IAELLOZG.mjs} +3 -3
- package/dist/sdk/{chunk-HQCCT6WP.mjs → chunk-KHKXPX5U.mjs} +17 -9
- package/dist/sdk/chunk-KHKXPX5U.mjs.map +1 -0
- package/dist/sdk/{chunk-YTG5DN72.mjs → chunk-SEILOYKH.mjs} +5 -1
- package/dist/sdk/chunk-SEILOYKH.mjs.map +1 -0
- package/dist/sdk/{config-H5IOLBFA.mjs → config-QIGISFEC.mjs} +2 -2
- package/dist/sdk/{schedule-tool-ODMIDBMT.mjs → schedule-tool-XAIYY2M3.mjs} +3 -3
- package/dist/sdk/{schedule-tool-handler-IQSKBFLS.mjs → schedule-tool-handler-AWA7PXYF.mjs} +3 -3
- package/dist/sdk/sdk.d.mts +2 -0
- package/dist/sdk/sdk.d.ts +2 -0
- package/dist/sdk/sdk.js +12 -0
- package/dist/sdk/sdk.js.map +1 -1
- package/dist/sdk/sdk.mjs +2 -2
- package/dist/sdk/{workflow-check-provider-XOWQYWTC.mjs → workflow-check-provider-JLSARQZC.mjs} +3 -3
- package/dist/types/config.d.ts +2 -0
- package/dist/types/config.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/sdk/chunk-HQCCT6WP.mjs.map +0 -1
- package/dist/sdk/chunk-YTG5DN72.mjs.map +0 -1
- /package/dist/sdk/{check-provider-registry-QUUL6JI2.mjs.map → check-provider-registry-IAELLOZG.mjs.map} +0 -0
- /package/dist/sdk/{config-H5IOLBFA.mjs.map → config-QIGISFEC.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-ODMIDBMT.mjs.map → schedule-tool-XAIYY2M3.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-handler-IQSKBFLS.mjs.map → schedule-tool-handler-AWA7PXYF.mjs.map} +0 -0
- /package/dist/sdk/{workflow-check-provider-XOWQYWTC.mjs.map → workflow-check-provider-JLSARQZC.mjs.map} +0 -0
|
@@ -1193,6 +1193,10 @@ export declare const configSchema: {
|
|
|
1193
1193
|
readonly enum: readonly ["stdio", "sse", "http"];
|
|
1194
1194
|
readonly description: "Transport type";
|
|
1195
1195
|
};
|
|
1196
|
+
readonly headers: {
|
|
1197
|
+
readonly $ref: "#/definitions/Record%3Cstring%2Cstring%3E";
|
|
1198
|
+
readonly description: "HTTP headers for SSE/HTTP transport (e.g. Authorization). Supports ${VAR} env var substitution.";
|
|
1199
|
+
};
|
|
1196
1200
|
readonly workflow: {
|
|
1197
1201
|
readonly type: "string";
|
|
1198
1202
|
readonly description: "Workflow ID or path (presence indicates workflow tool)";
|
|
@@ -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"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAg6Hf,CAAC;AACX,eAAe,YAAY,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
process.env.VISOR_VERSION = '0.1.
|
|
2
|
+
process.env.VISOR_VERSION = '0.1.189';
|
|
3
3
|
process.env.PROBE_VERSION = '0.6.0-rc318';
|
|
4
|
-
process.env.VISOR_COMMIT_SHA = '
|
|
5
|
-
process.env.VISOR_COMMIT_SHORT = '
|
|
4
|
+
process.env.VISOR_COMMIT_SHA = 'd1f8e98a8a83a1e244cee92c2cdbf23540b2822b';
|
|
5
|
+
process.env.VISOR_COMMIT_SHORT = 'd1f8e98';
|
|
6
6
|
/******/ (() => { // webpackBootstrap
|
|
7
7
|
/******/ var __webpack_modules__ = ({
|
|
8
8
|
|
|
@@ -317960,6 +317960,10 @@ exports.configSchema = {
|
|
|
317960
317960
|
enum: ['stdio', 'sse', 'http'],
|
|
317961
317961
|
description: 'Transport type',
|
|
317962
317962
|
},
|
|
317963
|
+
headers: {
|
|
317964
|
+
$ref: '#/definitions/Record%3Cstring%2Cstring%3E',
|
|
317965
|
+
description: 'HTTP headers for SSE/HTTP transport (e.g. Authorization). Supports ${VAR} env var substitution.',
|
|
317966
|
+
},
|
|
317963
317967
|
workflow: {
|
|
317964
317968
|
type: 'string',
|
|
317965
317969
|
description: 'Workflow ID or path (presence indicates workflow tool)',
|
|
@@ -329466,7 +329470,7 @@ class AICheckProvider extends check_provider_interface_1.CheckProvider {
|
|
|
329466
329470
|
}
|
|
329467
329471
|
catch { }
|
|
329468
329472
|
}
|
|
329469
|
-
// 5. Resolve environment variable placeholders in MCP server env configs
|
|
329473
|
+
// 5. Resolve environment variable placeholders in MCP server env configs and headers
|
|
329470
329474
|
// Supports ${VAR} and ${{ env.VAR }} syntax
|
|
329471
329475
|
for (const serverConfig of Object.values(mcpServers)) {
|
|
329472
329476
|
if (serverConfig.env) {
|
|
@@ -329481,6 +329485,15 @@ class AICheckProvider extends check_provider_interface_1.CheckProvider {
|
|
|
329481
329485
|
}
|
|
329482
329486
|
serverConfig.env = resolvedEnv;
|
|
329483
329487
|
}
|
|
329488
|
+
// Resolve env vars in headers (e.g. Authorization: "Bearer ${TOKEN}")
|
|
329489
|
+
const headers = serverConfig.headers;
|
|
329490
|
+
if (headers && typeof headers === 'object') {
|
|
329491
|
+
for (const [key, value] of Object.entries(headers)) {
|
|
329492
|
+
if (typeof value === 'string') {
|
|
329493
|
+
headers[key] = String(env_resolver_1.EnvironmentResolver.resolveValue(value));
|
|
329494
|
+
}
|
|
329495
|
+
}
|
|
329496
|
+
}
|
|
329484
329497
|
}
|
|
329485
329498
|
// 6. Setup custom tools SSE server if MCP servers reference custom tools
|
|
329486
329499
|
// Check for ai_custom_tools_js (dynamic), ai_custom_tools (static), and tools: in MCP servers
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-check-provider.d.ts","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/providers/ai-check-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAChF,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AA+B5C;;GAEG;AACH,qBAAa,eAAgB,SAAQ,aAAa;IAChD,OAAO,CAAC,eAAe,CAAkB;IACzC,OAAO,CAAC,YAAY,CAA0C;IAC9D,OAAO,CAAC,OAAO,CAAwB;;IAQvC,OAAO,IAAI,MAAM;IAIjB,cAAc,IAAI,MAAM;IAIxB,8DAA8D;IAC9D,OAAO,CAAC,QAAQ;IAWhB,uFAAuF;IACvF,OAAO,CAAC,sBAAsB;IA4CxB,cAAc,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;IAkDvD;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAqB1B;;OAEG;IACH,OAAO,CAAC,qBAAqB;IAiB7B;;OAEG;YACW,aAAa;IA8B3B;;OAEG;YACW,UAAU;IAsExB;;OAEG;YACW,kBAAkB;IA0ChC;;OAEG;YACW,oBAAoB;IA6QlC;;;OAGG;YACW,YAAY;IA6IpB,OAAO,CACX,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,mBAAmB,EAC3B,kBAAkB,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,aAAa,CAAC,EAC/C,WAAW,CAAC,EAAE;QAAE,eAAe,CAAC,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,OAAO,CAAA;KAAE,GACjE,OAAO,CAAC,aAAa,CAAC;YAiBX,iBAAiB;
|
|
1
|
+
{"version":3,"file":"ai-check-provider.d.ts","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/providers/ai-check-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAChF,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AA+B5C;;GAEG;AACH,qBAAa,eAAgB,SAA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hG,sBAAsB,IAAI,MAAM,EAAE;IA4C5B,WAAW,IAAI,OAAO,CAAC,OAAO,CAAC;IAYrC,eAAe,IAAI,MAAM,EAAE;CAQ5B"}
|
package/dist/sdk/{check-provider-registry-QUUL6JI2.mjs → check-provider-registry-IAELLOZG.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CheckProviderRegistry,
|
|
3
3
|
init_check_provider_registry
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KHKXPX5U.mjs";
|
|
5
5
|
import "./chunk-YSOIR46P.mjs";
|
|
6
6
|
import "./chunk-QT766ZLD.mjs";
|
|
7
7
|
import "./chunk-2LLKENYD.mjs";
|
|
@@ -14,7 +14,7 @@ import "./chunk-B7BVQM5K.mjs";
|
|
|
14
14
|
import "./chunk-77AKSSW2.mjs";
|
|
15
15
|
import "./chunk-ZNKL6ESZ.mjs";
|
|
16
16
|
import "./chunk-4ZLYHSN4.mjs";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-SEILOYKH.mjs";
|
|
18
18
|
import "./chunk-KWTCTEFT.mjs";
|
|
19
19
|
import "./chunk-BBLBZVWC.mjs";
|
|
20
20
|
import "./chunk-PZADRRLX.mjs";
|
|
@@ -32,4 +32,4 @@ init_check_provider_registry();
|
|
|
32
32
|
export {
|
|
33
33
|
CheckProviderRegistry
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=check-provider-registry-
|
|
35
|
+
//# sourceMappingURL=check-provider-registry-IAELLOZG.mjs.map
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
import {
|
|
74
74
|
config_exports,
|
|
75
75
|
init_config
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-SEILOYKH.mjs";
|
|
77
77
|
import {
|
|
78
78
|
ExecutionJournal,
|
|
79
79
|
checkLoopBudget,
|
|
@@ -4577,7 +4577,7 @@ async function executeWorkflowAsTool(workflowId, args, context2, argsOverrides)
|
|
|
4577
4577
|
...args,
|
|
4578
4578
|
...argsOverrides
|
|
4579
4579
|
};
|
|
4580
|
-
const { WorkflowCheckProvider: WorkflowCheckProvider2 } = await import("./workflow-check-provider-
|
|
4580
|
+
const { WorkflowCheckProvider: WorkflowCheckProvider2 } = await import("./workflow-check-provider-JLSARQZC.mjs");
|
|
4581
4581
|
const provider = new WorkflowCheckProvider2();
|
|
4582
4582
|
const checkConfig = {
|
|
4583
4583
|
type: "workflow",
|
|
@@ -14893,7 +14893,7 @@ var init_state_machine_execution_engine = __esm({
|
|
|
14893
14893
|
try {
|
|
14894
14894
|
const map = options?.webhookContext?.webhookData;
|
|
14895
14895
|
if (map) {
|
|
14896
|
-
const { CheckProviderRegistry: CheckProviderRegistry2 } = await import("./check-provider-registry-
|
|
14896
|
+
const { CheckProviderRegistry: CheckProviderRegistry2 } = await import("./check-provider-registry-IAELLOZG.mjs");
|
|
14897
14897
|
const reg = CheckProviderRegistry2.getInstance();
|
|
14898
14898
|
const p = reg.getProvider("http_input");
|
|
14899
14899
|
if (p && typeof p.setWebhookContext === "function") p.setWebhookContext(map);
|
|
@@ -15006,7 +15006,7 @@ var init_state_machine_execution_engine = __esm({
|
|
|
15006
15006
|
logger.info("[StateMachine] Using state machine engine");
|
|
15007
15007
|
}
|
|
15008
15008
|
if (!config) {
|
|
15009
|
-
const { ConfigManager } = await import("./config-
|
|
15009
|
+
const { ConfigManager } = await import("./config-QIGISFEC.mjs");
|
|
15010
15010
|
const configManager = new ConfigManager();
|
|
15011
15011
|
config = await configManager.getDefaultConfig();
|
|
15012
15012
|
logger.debug("[StateMachine] Using default configuration (no config provided)");
|
|
@@ -15016,7 +15016,7 @@ var init_state_machine_execution_engine = __esm({
|
|
|
15016
15016
|
tag_filter: tagFilter
|
|
15017
15017
|
} : config;
|
|
15018
15018
|
try {
|
|
15019
|
-
const { CheckProviderRegistry: CheckProviderRegistry2 } = await import("./check-provider-registry-
|
|
15019
|
+
const { CheckProviderRegistry: CheckProviderRegistry2 } = await import("./check-provider-registry-IAELLOZG.mjs");
|
|
15020
15020
|
const registry = CheckProviderRegistry2.getInstance();
|
|
15021
15021
|
registry.setCustomTools(configWithTagFilter.tools || {});
|
|
15022
15022
|
} catch (error) {
|
|
@@ -15080,7 +15080,7 @@ var init_state_machine_execution_engine = __esm({
|
|
|
15080
15080
|
try {
|
|
15081
15081
|
const webhookData = this.executionContext?.webhookContext?.webhookData;
|
|
15082
15082
|
if (webhookData instanceof Map) {
|
|
15083
|
-
const { extractSlackContext: extractSlackContext2 } = await import("./schedule-tool-handler-
|
|
15083
|
+
const { extractSlackContext: extractSlackContext2 } = await import("./schedule-tool-handler-AWA7PXYF.mjs");
|
|
15084
15084
|
const slackCtx = extractSlackContext2(webhookData);
|
|
15085
15085
|
if (slackCtx) {
|
|
15086
15086
|
const payload = Array.from(webhookData.values())[0];
|
|
@@ -19987,6 +19987,14 @@ ${preview}`);
|
|
|
19987
19987
|
}
|
|
19988
19988
|
serverConfig.env = resolvedEnv;
|
|
19989
19989
|
}
|
|
19990
|
+
const headers = serverConfig.headers;
|
|
19991
|
+
if (headers && typeof headers === "object") {
|
|
19992
|
+
for (const [key, value] of Object.entries(headers)) {
|
|
19993
|
+
if (typeof value === "string") {
|
|
19994
|
+
headers[key] = String(EnvironmentResolver.resolveValue(value));
|
|
19995
|
+
}
|
|
19996
|
+
}
|
|
19997
|
+
}
|
|
19990
19998
|
}
|
|
19991
19999
|
let customToolsServer = null;
|
|
19992
20000
|
let customToolsToLoad = [];
|
|
@@ -43535,8 +43543,8 @@ function buildBuiltinGlobals(opts) {
|
|
|
43535
43543
|
const asyncFunctionNames = /* @__PURE__ */ new Set();
|
|
43536
43544
|
const scheduleFn = async (args = {}) => {
|
|
43537
43545
|
try {
|
|
43538
|
-
const { handleScheduleAction: handleScheduleAction2, buildScheduleToolContext: buildScheduleToolContext2 } = await import("./schedule-tool-
|
|
43539
|
-
const { extractSlackContext: extractSlackContext2 } = await import("./schedule-tool-handler-
|
|
43546
|
+
const { handleScheduleAction: handleScheduleAction2, buildScheduleToolContext: buildScheduleToolContext2 } = await import("./schedule-tool-XAIYY2M3.mjs");
|
|
43547
|
+
const { extractSlackContext: extractSlackContext2 } = await import("./schedule-tool-handler-AWA7PXYF.mjs");
|
|
43540
43548
|
const parentCtx = opts.sessionInfo?._parentContext;
|
|
43541
43549
|
const webhookData = parentCtx?.prInfo?.eventContext?.webhookData;
|
|
43542
43550
|
const webhookEventType = parentCtx?.webhookContext?.eventType || parentCtx?.prInfo?.eventContext?.eventType;
|
|
@@ -47372,4 +47380,4 @@ undici/lib/fetch/body.js:
|
|
|
47372
47380
|
undici/lib/websocket/frame.js:
|
|
47373
47381
|
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
|
|
47374
47382
|
*/
|
|
47375
|
-
//# sourceMappingURL=chunk-
|
|
47383
|
+
//# sourceMappingURL=chunk-KHKXPX5U.mjs.map
|