@probelabs/visor 0.1.138 → 0.1.139
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/index.js +26 -14
- package/dist/output/traces/{run-2026-02-23T15-25-03-052Z.ndjson → run-2026-02-24T09-10-20-312Z.ndjson} +84 -84
- package/dist/{traces/run-2026-02-23T15-25-53-483Z.ndjson → output/traces/run-2026-02-24T09-11-09-877Z.ndjson} +1092 -1092
- package/dist/providers/mcp-check-provider.d.ts.map +1 -1
- package/dist/providers/workflow-check-provider.d.ts.map +1 -1
- package/dist/sdk/{check-provider-registry-ZVPNBYEA.mjs → check-provider-registry-DGL4AGIV.mjs} +5 -5
- package/dist/sdk/{check-provider-registry-XRD3J74K.mjs → check-provider-registry-EHLKMSLE.mjs} +2 -2
- package/dist/sdk/{check-provider-registry-JX7FK3MS.mjs → check-provider-registry-QDSFKMQN.mjs} +2 -2
- package/dist/sdk/{chunk-GIGTDZHF.mjs → chunk-AZEZKZV3.mjs} +2 -2
- package/dist/sdk/{chunk-GIGTDZHF.mjs.map → chunk-AZEZKZV3.mjs.map} +1 -1
- package/dist/sdk/{chunk-ROCFDJFL.mjs → chunk-F7UJSECZ.mjs} +2 -2
- package/dist/sdk/{chunk-HIRALSSN.mjs → chunk-GTEY4DVM.mjs} +38 -26
- package/dist/sdk/{chunk-3CREE2RR.mjs.map → chunk-GTEY4DVM.mjs.map} +1 -1
- package/dist/sdk/{chunk-K7O7DMJU.mjs → chunk-HUKN7UKV.mjs} +3 -3
- package/dist/sdk/{chunk-3CREE2RR.mjs → chunk-TJXIVJ37.mjs} +30 -18
- package/dist/sdk/{chunk-QSB2P6VY.mjs.map → chunk-TJXIVJ37.mjs.map} +1 -1
- package/dist/sdk/{chunk-QSB2P6VY.mjs → chunk-UYMFCE4F.mjs} +30 -18
- package/dist/sdk/{chunk-HIRALSSN.mjs.map → chunk-UYMFCE4F.mjs.map} +1 -1
- package/dist/sdk/{failure-condition-evaluator-DPLWUGYG.mjs → failure-condition-evaluator-TBEIP7RD.mjs} +3 -3
- package/dist/sdk/{github-frontend-QSMW366Z.mjs → github-frontend-KERJN37X.mjs} +3 -3
- package/dist/sdk/{host-FISPPQTH.mjs → host-HYYJTFCQ.mjs} +2 -2
- package/dist/sdk/{routing-7QCNYAVE.mjs → routing-MCP7FOF6.mjs} +4 -4
- package/dist/sdk/{schedule-tool-handler-WHB5AGLT.mjs → schedule-tool-handler-7FGVBTTW.mjs} +2 -2
- package/dist/sdk/{schedule-tool-handler-RU76H4W5.mjs → schedule-tool-handler-OBFDMIHE.mjs} +5 -5
- package/dist/sdk/{schedule-tool-handler-LBSAGK6P.mjs → schedule-tool-handler-S3R5YY5S.mjs} +2 -2
- package/dist/sdk/sdk.js +25 -13
- package/dist/sdk/sdk.js.map +1 -1
- package/dist/sdk/sdk.mjs +4 -4
- package/dist/sdk/{trace-helpers-2ADE6X4I.mjs → trace-helpers-7VRDBNXM.mjs} +2 -2
- package/dist/sdk/{workflow-check-provider-MIFPOENL.mjs → workflow-check-provider-A6J5AEK4.mjs} +2 -2
- package/dist/sdk/{workflow-check-provider-I3SB5RG7.mjs → workflow-check-provider-O2NXWYDY.mjs} +2 -2
- package/dist/sdk/{workflow-check-provider-YDA7DL3O.mjs → workflow-check-provider-XNNNVDAG.mjs} +5 -5
- package/dist/state-machine/workflow-projection.d.ts.map +1 -1
- package/dist/traces/{run-2026-02-23T15-25-03-052Z.ndjson → run-2026-02-24T09-10-20-312Z.ndjson} +84 -84
- package/dist/{output/traces/run-2026-02-23T15-25-53-483Z.ndjson → traces/run-2026-02-24T09-11-09-877Z.ndjson} +1092 -1092
- package/dist/types/workflow.d.ts +2 -0
- package/dist/types/workflow.d.ts.map +1 -1
- package/package.json +1 -1
- /package/dist/sdk/{check-provider-registry-JX7FK3MS.mjs.map → check-provider-registry-DGL4AGIV.mjs.map} +0 -0
- /package/dist/sdk/{check-provider-registry-XRD3J74K.mjs.map → check-provider-registry-EHLKMSLE.mjs.map} +0 -0
- /package/dist/sdk/{check-provider-registry-ZVPNBYEA.mjs.map → check-provider-registry-QDSFKMQN.mjs.map} +0 -0
- /package/dist/sdk/{chunk-ROCFDJFL.mjs.map → chunk-F7UJSECZ.mjs.map} +0 -0
- /package/dist/sdk/{chunk-K7O7DMJU.mjs.map → chunk-HUKN7UKV.mjs.map} +0 -0
- /package/dist/sdk/{failure-condition-evaluator-DPLWUGYG.mjs.map → failure-condition-evaluator-TBEIP7RD.mjs.map} +0 -0
- /package/dist/sdk/{github-frontend-QSMW366Z.mjs.map → github-frontend-KERJN37X.mjs.map} +0 -0
- /package/dist/sdk/{host-FISPPQTH.mjs.map → host-HYYJTFCQ.mjs.map} +0 -0
- /package/dist/sdk/{routing-7QCNYAVE.mjs.map → routing-MCP7FOF6.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-handler-LBSAGK6P.mjs.map → schedule-tool-handler-7FGVBTTW.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-handler-RU76H4W5.mjs.map → schedule-tool-handler-OBFDMIHE.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-handler-WHB5AGLT.mjs.map → schedule-tool-handler-S3R5YY5S.mjs.map} +0 -0
- /package/dist/sdk/{trace-helpers-2ADE6X4I.mjs.map → trace-helpers-7VRDBNXM.mjs.map} +0 -0
- /package/dist/sdk/{workflow-check-provider-I3SB5RG7.mjs.map → workflow-check-provider-A6J5AEK4.mjs.map} +0 -0
- /package/dist/sdk/{workflow-check-provider-MIFPOENL.mjs.map → workflow-check-provider-O2NXWYDY.mjs.map} +0 -0
- /package/dist/sdk/{workflow-check-provider-YDA7DL3O.mjs.map → workflow-check-provider-XNNNVDAG.mjs.map} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FailureConditionEvaluator,
|
|
3
3
|
init_failure_condition_evaluator
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-F7UJSECZ.mjs";
|
|
5
|
+
import "./chunk-AZEZKZV3.mjs";
|
|
6
6
|
import "./chunk-JL7JXCET.mjs";
|
|
7
7
|
import "./chunk-25IC7KXZ.mjs";
|
|
8
8
|
import "./chunk-LW3INISN.mjs";
|
|
@@ -14,4 +14,4 @@ init_failure_condition_evaluator();
|
|
|
14
14
|
export {
|
|
15
15
|
FailureConditionEvaluator
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=failure-condition-evaluator-
|
|
17
|
+
//# sourceMappingURL=failure-condition-evaluator-TBEIP7RD.mjs.map
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
failure_condition_evaluator_exports,
|
|
11
11
|
init_failure_condition_evaluator
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-F7UJSECZ.mjs";
|
|
13
|
+
import "./chunk-AZEZKZV3.mjs";
|
|
14
14
|
import "./chunk-JL7JXCET.mjs";
|
|
15
15
|
import "./chunk-25IC7KXZ.mjs";
|
|
16
16
|
import "./chunk-LW3INISN.mjs";
|
|
@@ -1353,4 +1353,4 @@ init_github_frontend();
|
|
|
1353
1353
|
export {
|
|
1354
1354
|
GitHubFrontend
|
|
1355
1355
|
};
|
|
1356
|
-
//# sourceMappingURL=github-frontend-
|
|
1356
|
+
//# sourceMappingURL=github-frontend-KERJN37X.mjs.map
|
|
@@ -21,7 +21,7 @@ var init_host = __esm({
|
|
|
21
21
|
const { NdjsonSink } = await import("./ndjson-sink-FD2PSXGD.mjs");
|
|
22
22
|
this.frontends.push(new NdjsonSink(spec.config));
|
|
23
23
|
} else if (spec.name === "github") {
|
|
24
|
-
const { GitHubFrontend } = await import("./github-frontend-
|
|
24
|
+
const { GitHubFrontend } = await import("./github-frontend-KERJN37X.mjs");
|
|
25
25
|
this.frontends.push(new GitHubFrontend());
|
|
26
26
|
} else if (spec.name === "slack") {
|
|
27
27
|
const { SlackFrontend } = await import("./slack-frontend-JS2VAZWB.mjs");
|
|
@@ -60,4 +60,4 @@ init_host();
|
|
|
60
60
|
export {
|
|
61
61
|
FrontendsHost
|
|
62
62
|
};
|
|
63
|
-
//# sourceMappingURL=host-
|
|
63
|
+
//# sourceMappingURL=host-HYYJTFCQ.mjs.map
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
evaluateTransitions,
|
|
5
5
|
handleRouting,
|
|
6
6
|
init_routing
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-HUKN7UKV.mjs";
|
|
8
|
+
import "./chunk-F7UJSECZ.mjs";
|
|
9
|
+
import "./chunk-AZEZKZV3.mjs";
|
|
10
10
|
import "./chunk-JL7JXCET.mjs";
|
|
11
11
|
import "./chunk-ZUEQNCKB.mjs";
|
|
12
12
|
import "./chunk-25IC7KXZ.mjs";
|
|
@@ -22,4 +22,4 @@ export {
|
|
|
22
22
|
evaluateTransitions,
|
|
23
23
|
handleRouting
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=routing-
|
|
25
|
+
//# sourceMappingURL=routing-MCP7FOF6.mjs.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
extractSlackContext,
|
|
7
7
|
init_schedule_tool_handler,
|
|
8
8
|
isScheduleToolCall
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TJXIVJ37.mjs";
|
|
10
10
|
import "./chunk-LG4AUKHB.mjs";
|
|
11
11
|
import "./chunk-KFKHU6CM.mjs";
|
|
12
12
|
import "./chunk-B7BVQM5K.mjs";
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
extractSlackContext,
|
|
37
37
|
isScheduleToolCall
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=schedule-tool-handler-
|
|
39
|
+
//# sourceMappingURL=schedule-tool-handler-7FGVBTTW.mjs.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
extractSlackContext,
|
|
7
7
|
init_schedule_tool_handler,
|
|
8
8
|
isScheduleToolCall
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GTEY4DVM.mjs";
|
|
10
10
|
import "./chunk-LG4AUKHB.mjs";
|
|
11
11
|
import "./chunk-KFKHU6CM.mjs";
|
|
12
12
|
import "./chunk-B7BVQM5K.mjs";
|
|
@@ -16,9 +16,9 @@ import "./chunk-DIND4ZCV.mjs";
|
|
|
16
16
|
import "./chunk-KPRFDKQX.mjs";
|
|
17
17
|
import "./chunk-NCWIZVOT.mjs";
|
|
18
18
|
import "./chunk-XKCER23W.mjs";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-HUKN7UKV.mjs";
|
|
20
|
+
import "./chunk-F7UJSECZ.mjs";
|
|
21
|
+
import "./chunk-AZEZKZV3.mjs";
|
|
22
22
|
import "./chunk-JL7JXCET.mjs";
|
|
23
23
|
import "./chunk-ZUEQNCKB.mjs";
|
|
24
24
|
import "./chunk-25IC7KXZ.mjs";
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
extractSlackContext,
|
|
37
37
|
isScheduleToolCall
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=schedule-tool-handler-
|
|
39
|
+
//# sourceMappingURL=schedule-tool-handler-OBFDMIHE.mjs.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
extractSlackContext,
|
|
7
7
|
init_schedule_tool_handler,
|
|
8
8
|
isScheduleToolCall
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UYMFCE4F.mjs";
|
|
10
10
|
import "./chunk-LG4AUKHB.mjs";
|
|
11
11
|
import "./chunk-KFKHU6CM.mjs";
|
|
12
12
|
import "./chunk-B7BVQM5K.mjs";
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
extractSlackContext,
|
|
37
37
|
isScheduleToolCall
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=schedule-tool-handler-
|
|
39
|
+
//# sourceMappingURL=schedule-tool-handler-S3R5YY5S.mjs.map
|
package/dist/sdk/sdk.js
CHANGED
|
@@ -646,7 +646,7 @@ var require_package = __commonJS({
|
|
|
646
646
|
"package.json"(exports2, module2) {
|
|
647
647
|
module2.exports = {
|
|
648
648
|
name: "@probelabs/visor",
|
|
649
|
-
version: "0.1.
|
|
649
|
+
version: "0.1.139",
|
|
650
650
|
main: "dist/index.js",
|
|
651
651
|
bin: {
|
|
652
652
|
visor: "./dist/index.js"
|
|
@@ -11238,6 +11238,7 @@ function projectWorkflowToGraph(workflow, workflowInputs, _parentCheckId) {
|
|
|
11238
11238
|
}
|
|
11239
11239
|
const config = {
|
|
11240
11240
|
checks,
|
|
11241
|
+
tools: workflow.tools,
|
|
11241
11242
|
version: "1.0",
|
|
11242
11243
|
output: {
|
|
11243
11244
|
pr_comment: {
|
|
@@ -17189,7 +17190,8 @@ ${errors}`);
|
|
|
17189
17190
|
on: loaded.on,
|
|
17190
17191
|
// Carry over optional inputs/outputs if present so callers can consume them
|
|
17191
17192
|
inputs: loaded.inputs,
|
|
17192
|
-
outputs: loaded.outputs
|
|
17193
|
+
outputs: loaded.outputs,
|
|
17194
|
+
tools: loaded.tools
|
|
17193
17195
|
};
|
|
17194
17196
|
return workflowDef;
|
|
17195
17197
|
}
|
|
@@ -42353,7 +42355,13 @@ var init_mcp_check_provider = __esm({
|
|
|
42353
42355
|
};
|
|
42354
42356
|
}
|
|
42355
42357
|
}
|
|
42356
|
-
const result = await this.executeMcpMethod(
|
|
42358
|
+
const result = await this.executeMcpMethod(
|
|
42359
|
+
cfg,
|
|
42360
|
+
methodArgs,
|
|
42361
|
+
prInfo,
|
|
42362
|
+
dependencyResults,
|
|
42363
|
+
sessionInfo
|
|
42364
|
+
);
|
|
42357
42365
|
let finalOutput = result;
|
|
42358
42366
|
if (cfg.transform) {
|
|
42359
42367
|
try {
|
|
@@ -42454,22 +42462,26 @@ var init_mcp_check_provider = __esm({
|
|
|
42454
42462
|
/**
|
|
42455
42463
|
* Execute an MCP method using the configured transport
|
|
42456
42464
|
*/
|
|
42457
|
-
async executeMcpMethod(config, methodArgs, prInfo, dependencyResults) {
|
|
42465
|
+
async executeMcpMethod(config, methodArgs, prInfo, dependencyResults, sessionInfo) {
|
|
42458
42466
|
const transport = config.transport || "stdio";
|
|
42459
42467
|
const timeout = (config.timeout || 60) * 1e3;
|
|
42460
42468
|
if (transport === "custom") {
|
|
42461
|
-
|
|
42462
|
-
|
|
42463
|
-
|
|
42464
|
-
);
|
|
42465
|
-
}
|
|
42466
|
-
const
|
|
42467
|
-
|
|
42468
|
-
|
|
42469
|
+
const localTools = sessionInfo?._parentContext?.config?.tools || sessionInfo?.config?.tools || {};
|
|
42470
|
+
let localExecutor;
|
|
42471
|
+
if (Object.keys(localTools).length > 0) {
|
|
42472
|
+
localExecutor = new CustomToolExecutor(localTools);
|
|
42473
|
+
}
|
|
42474
|
+
const hasLocalTool = localExecutor ? await localExecutor.hasTool(config.method) : false;
|
|
42475
|
+
const hasGlobalTool = this.customToolExecutor ? await this.customToolExecutor.hasTool(config.method) : false;
|
|
42476
|
+
if (!hasLocalTool && !hasGlobalTool) {
|
|
42477
|
+
const localNames = localExecutor ? await localExecutor.getToolNames() : [];
|
|
42478
|
+
const globalNames = this.customToolExecutor ? await this.customToolExecutor.getToolNames() : [];
|
|
42479
|
+
const availableToolNames = [.../* @__PURE__ */ new Set([...localNames, ...globalNames])];
|
|
42469
42480
|
throw new Error(
|
|
42470
42481
|
`Custom tool not found: ${config.method}. Available tools: ${availableToolNames.join(", ")}`
|
|
42471
42482
|
);
|
|
42472
42483
|
}
|
|
42484
|
+
const activeExecutor = hasLocalTool ? localExecutor : this.customToolExecutor;
|
|
42473
42485
|
const context2 = {
|
|
42474
42486
|
pr: prInfo ? {
|
|
42475
42487
|
number: prInfo.number,
|
|
@@ -42482,7 +42494,7 @@ var init_mcp_check_provider = __esm({
|
|
|
42482
42494
|
outputs: this.buildOutputContext(dependencyResults),
|
|
42483
42495
|
env: this.getSafeEnvironmentVariables()
|
|
42484
42496
|
};
|
|
42485
|
-
return await
|
|
42497
|
+
return await activeExecutor.execute(config.method, methodArgs, context2);
|
|
42486
42498
|
} else if (transport === "stdio") {
|
|
42487
42499
|
return await this.executeStdioMethod(config, methodArgs, timeout);
|
|
42488
42500
|
} else if (transport === "sse") {
|