@probelabs/visor 0.1.157 → 0.1.158
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/frontends/slack-frontend.d.ts.map +1 -1
- package/dist/index.js +29 -16
- package/dist/output/traces/{run-2026-03-04T20-18-38-877Z.ndjson → run-2026-03-05T09-35-31-694Z.ndjson} +84 -84
- package/dist/output/traces/{run-2026-03-04T20-19-23-273Z.ndjson → run-2026-03-05T09-36-16-833Z.ndjson} +1779 -1779
- package/dist/scheduler/scheduler.d.ts.map +1 -1
- package/dist/sdk/{check-provider-registry-GJ4EZAIO.mjs → check-provider-registry-2GTN7M37.mjs} +3 -3
- package/dist/sdk/{check-provider-registry-46N5DY3V.mjs → check-provider-registry-IRHRMYUJ.mjs} +6 -6
- package/dist/sdk/{check-provider-registry-3O2PAJPF.mjs → check-provider-registry-LVXLROAJ.mjs} +3 -3
- package/dist/sdk/{chunk-M3BYMES6.mjs → chunk-AVMMKGLQ.mjs} +1 -16
- package/dist/sdk/{chunk-M3BYMES6.mjs.map → chunk-AVMMKGLQ.mjs.map} +1 -1
- package/dist/sdk/{chunk-PLMM6W3K.mjs → chunk-FRTHLKIG.mjs} +20 -14
- package/dist/sdk/chunk-FRTHLKIG.mjs.map +1 -0
- package/dist/sdk/{chunk-BAHN2OFA.mjs → chunk-FRVHW725.mjs} +3 -3
- package/dist/sdk/{chunk-RR6AHRAI.mjs → chunk-IJGA5TFA.mjs} +2 -2
- package/dist/sdk/{chunk-ADYVRVDK.mjs → chunk-QRTO7XNW.mjs} +27 -21
- package/dist/sdk/chunk-QRTO7XNW.mjs.map +1 -0
- package/dist/sdk/{chunk-74V66BDH.mjs → chunk-TLXAIQLH.mjs} +2 -2
- package/dist/sdk/{chunk-74V66BDH.mjs.map → chunk-TLXAIQLH.mjs.map} +1 -1
- package/dist/sdk/{chunk-D7STLGAD.mjs → chunk-ZWPQV2VT.mjs} +20 -14
- package/dist/sdk/chunk-ZWPQV2VT.mjs.map +1 -0
- package/dist/sdk/{failure-condition-evaluator-BQXDXL44.mjs → failure-condition-evaluator-ORMMBR23.mjs} +3 -3
- package/dist/sdk/{github-frontend-DLMDMCE3.mjs → github-frontend-NNWL7IXV.mjs} +3 -3
- package/dist/sdk/{host-OO5PLU4L.mjs → host-MICUIU7J.mjs} +3 -3
- package/dist/sdk/{host-4ONWAJ6Q.mjs → host-YKTAWW33.mjs} +2 -2
- package/dist/sdk/{routing-IK63T3E4.mjs → routing-SVLHRQEW.mjs} +4 -4
- package/dist/sdk/{schedule-tool-SLR7ZHBZ.mjs → schedule-tool-526VUPMF.mjs} +3 -3
- package/dist/sdk/{schedule-tool-EZVQOF55.mjs → schedule-tool-6KIQPMWM.mjs} +3 -3
- package/dist/sdk/{schedule-tool-NEH23XPP.mjs → schedule-tool-JNL6TFP4.mjs} +6 -6
- package/dist/sdk/{schedule-tool-handler-TPNX4EAS.mjs → schedule-tool-handler-4SG6HYLF.mjs} +6 -6
- package/dist/sdk/{schedule-tool-handler-O7T66M3I.mjs → schedule-tool-handler-IYK54BWK.mjs} +3 -3
- package/dist/sdk/{schedule-tool-handler-XVHYK4KT.mjs → schedule-tool-handler-Z5VWUB76.mjs} +3 -3
- package/dist/sdk/sdk.js +13 -21
- package/dist/sdk/sdk.js.map +1 -1
- package/dist/sdk/sdk.mjs +5 -5
- package/dist/sdk/{slack-frontend-6KDUMDDI.mjs → slack-frontend-QO7LW5BH.mjs} +3 -4
- package/dist/sdk/slack-frontend-QO7LW5BH.mjs.map +1 -0
- package/dist/sdk/{trace-helpers-L5ZNK3CK.mjs → trace-helpers-TOEA67GA.mjs} +2 -2
- package/dist/sdk/{workflow-check-provider-4DC4KOHI.mjs → workflow-check-provider-5G6BGZEX.mjs} +3 -3
- package/dist/sdk/{workflow-check-provider-TWDKDSUK.mjs → workflow-check-provider-MVDV4U7F.mjs} +6 -6
- package/dist/sdk/{workflow-check-provider-NYBQAYVH.mjs → workflow-check-provider-V5QHQPTG.mjs} +3 -3
- package/dist/slack/socket-runner.d.ts.map +1 -1
- package/dist/traces/{run-2026-03-04T20-18-38-877Z.ndjson → run-2026-03-05T09-35-31-694Z.ndjson} +84 -84
- package/dist/traces/{run-2026-03-04T20-19-23-273Z.ndjson → run-2026-03-05T09-36-16-833Z.ndjson} +1779 -1779
- package/package.json +1 -1
- package/dist/sdk/chunk-ADYVRVDK.mjs.map +0 -1
- package/dist/sdk/chunk-D7STLGAD.mjs.map +0 -1
- package/dist/sdk/chunk-PLMM6W3K.mjs.map +0 -1
- package/dist/sdk/slack-frontend-6KDUMDDI.mjs.map +0 -1
- /package/dist/sdk/{check-provider-registry-3O2PAJPF.mjs.map → check-provider-registry-2GTN7M37.mjs.map} +0 -0
- /package/dist/sdk/{check-provider-registry-46N5DY3V.mjs.map → check-provider-registry-IRHRMYUJ.mjs.map} +0 -0
- /package/dist/sdk/{check-provider-registry-GJ4EZAIO.mjs.map → check-provider-registry-LVXLROAJ.mjs.map} +0 -0
- /package/dist/sdk/{chunk-BAHN2OFA.mjs.map → chunk-FRVHW725.mjs.map} +0 -0
- /package/dist/sdk/{chunk-RR6AHRAI.mjs.map → chunk-IJGA5TFA.mjs.map} +0 -0
- /package/dist/sdk/{failure-condition-evaluator-BQXDXL44.mjs.map → failure-condition-evaluator-ORMMBR23.mjs.map} +0 -0
- /package/dist/sdk/{github-frontend-DLMDMCE3.mjs.map → github-frontend-NNWL7IXV.mjs.map} +0 -0
- /package/dist/sdk/{host-4ONWAJ6Q.mjs.map → host-MICUIU7J.mjs.map} +0 -0
- /package/dist/sdk/{host-OO5PLU4L.mjs.map → host-YKTAWW33.mjs.map} +0 -0
- /package/dist/sdk/{routing-IK63T3E4.mjs.map → routing-SVLHRQEW.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-EZVQOF55.mjs.map → schedule-tool-526VUPMF.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-NEH23XPP.mjs.map → schedule-tool-6KIQPMWM.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-SLR7ZHBZ.mjs.map → schedule-tool-JNL6TFP4.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-handler-O7T66M3I.mjs.map → schedule-tool-handler-4SG6HYLF.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-handler-TPNX4EAS.mjs.map → schedule-tool-handler-IYK54BWK.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-handler-XVHYK4KT.mjs.map → schedule-tool-handler-Z5VWUB76.mjs.map} +0 -0
- /package/dist/sdk/{trace-helpers-L5ZNK3CK.mjs.map → trace-helpers-TOEA67GA.mjs.map} +0 -0
- /package/dist/sdk/{workflow-check-provider-4DC4KOHI.mjs.map → workflow-check-provider-5G6BGZEX.mjs.map} +0 -0
- /package/dist/sdk/{workflow-check-provider-NYBQAYVH.mjs.map → workflow-check-provider-MVDV4U7F.mjs.map} +0 -0
- /package/dist/sdk/{workflow-check-provider-TWDKDSUK.mjs.map → workflow-check-provider-V5QHQPTG.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-IJGA5TFA.mjs";
|
|
5
|
+
import "./chunk-TLXAIQLH.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-ORMMBR23.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-IJGA5TFA.mjs";
|
|
13
|
+
import "./chunk-TLXAIQLH.mjs";
|
|
14
14
|
import "./chunk-JL7JXCET.mjs";
|
|
15
15
|
import "./chunk-25IC7KXZ.mjs";
|
|
16
16
|
import "./chunk-LW3INISN.mjs";
|
|
@@ -1365,4 +1365,4 @@ init_github_frontend();
|
|
|
1365
1365
|
export {
|
|
1366
1366
|
GitHubFrontend
|
|
1367
1367
|
};
|
|
1368
|
-
//# sourceMappingURL=github-frontend-
|
|
1368
|
+
//# sourceMappingURL=github-frontend-NNWL7IXV.mjs.map
|
|
@@ -21,10 +21,10 @@ 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-NNWL7IXV.mjs");
|
|
25
25
|
this.frontends.push(new GitHubFrontend());
|
|
26
26
|
} else if (spec.name === "slack") {
|
|
27
|
-
const { SlackFrontend } = await import("./slack-frontend-
|
|
27
|
+
const { SlackFrontend } = await import("./slack-frontend-QO7LW5BH.mjs");
|
|
28
28
|
this.frontends.push(new SlackFrontend(spec.config));
|
|
29
29
|
} else if (spec.name === "tui") {
|
|
30
30
|
const { TuiFrontend } = await import("./tui-frontend-T56PZB67.mjs");
|
|
@@ -60,4 +60,4 @@ init_host();
|
|
|
60
60
|
export {
|
|
61
61
|
FrontendsHost
|
|
62
62
|
};
|
|
63
|
-
//# sourceMappingURL=host-
|
|
63
|
+
//# sourceMappingURL=host-MICUIU7J.mjs.map
|
|
@@ -24,7 +24,7 @@ var init_host = __esm({
|
|
|
24
24
|
const { GitHubFrontend } = await import("./github-frontend-XKPAYXOT.mjs");
|
|
25
25
|
this.frontends.push(new GitHubFrontend());
|
|
26
26
|
} else if (spec.name === "slack") {
|
|
27
|
-
const { SlackFrontend } = await import("./slack-frontend-
|
|
27
|
+
const { SlackFrontend } = await import("./slack-frontend-QO7LW5BH.mjs");
|
|
28
28
|
this.frontends.push(new SlackFrontend(spec.config));
|
|
29
29
|
} else if (spec.name === "tui") {
|
|
30
30
|
const { TuiFrontend } = await import("./tui-frontend-T56PZB67.mjs");
|
|
@@ -60,4 +60,4 @@ init_host();
|
|
|
60
60
|
export {
|
|
61
61
|
FrontendsHost
|
|
62
62
|
};
|
|
63
|
-
//# sourceMappingURL=host-
|
|
63
|
+
//# sourceMappingURL=host-YKTAWW33.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-FRVHW725.mjs";
|
|
8
|
+
import "./chunk-IJGA5TFA.mjs";
|
|
9
|
+
import "./chunk-TLXAIQLH.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-SVLHRQEW.mjs.map
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
handleScheduleAction,
|
|
5
5
|
init_schedule_tool,
|
|
6
6
|
isScheduleTool
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FRTHLKIG.mjs";
|
|
8
8
|
import "./chunk-KFKHU6CM.mjs";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-AVMMKGLQ.mjs";
|
|
10
10
|
import "./chunk-LG4AUKHB.mjs";
|
|
11
11
|
import "./chunk-B7BVQM5K.mjs";
|
|
12
12
|
import "./chunk-XXAEN5KU.mjs";
|
|
@@ -32,4 +32,4 @@ export {
|
|
|
32
32
|
handleScheduleAction,
|
|
33
33
|
isScheduleTool
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=schedule-tool-
|
|
35
|
+
//# sourceMappingURL=schedule-tool-526VUPMF.mjs.map
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
handleScheduleAction,
|
|
5
5
|
init_schedule_tool,
|
|
6
6
|
isScheduleTool
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZWPQV2VT.mjs";
|
|
8
8
|
import "./chunk-KFKHU6CM.mjs";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-AVMMKGLQ.mjs";
|
|
10
10
|
import "./chunk-LG4AUKHB.mjs";
|
|
11
11
|
import "./chunk-B7BVQM5K.mjs";
|
|
12
12
|
import "./chunk-XXAEN5KU.mjs";
|
|
@@ -32,4 +32,4 @@ export {
|
|
|
32
32
|
handleScheduleAction,
|
|
33
33
|
isScheduleTool
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=schedule-tool-
|
|
35
|
+
//# sourceMappingURL=schedule-tool-6KIQPMWM.mjs.map
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
handleScheduleAction,
|
|
5
5
|
init_schedule_tool,
|
|
6
6
|
isScheduleTool
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QRTO7XNW.mjs";
|
|
8
8
|
import "./chunk-KFKHU6CM.mjs";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-AVMMKGLQ.mjs";
|
|
10
10
|
import "./chunk-LG4AUKHB.mjs";
|
|
11
11
|
import "./chunk-B7BVQM5K.mjs";
|
|
12
12
|
import "./chunk-XXAEN5KU.mjs";
|
|
@@ -14,9 +14,9 @@ import "./chunk-GEW6LS32.mjs";
|
|
|
14
14
|
import "./chunk-NZADFXHE.mjs";
|
|
15
15
|
import "./chunk-AS6LIEO4.mjs";
|
|
16
16
|
import "./chunk-NCWIZVOT.mjs";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-FRVHW725.mjs";
|
|
18
|
+
import "./chunk-IJGA5TFA.mjs";
|
|
19
|
+
import "./chunk-TLXAIQLH.mjs";
|
|
20
20
|
import "./chunk-JL7JXCET.mjs";
|
|
21
21
|
import "./chunk-ZUEQNCKB.mjs";
|
|
22
22
|
import "./chunk-25IC7KXZ.mjs";
|
|
@@ -32,4 +32,4 @@ export {
|
|
|
32
32
|
handleScheduleAction,
|
|
33
33
|
isScheduleTool
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=schedule-tool-
|
|
35
|
+
//# sourceMappingURL=schedule-tool-JNL6TFP4.mjs.map
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
extractSlackContext,
|
|
7
7
|
init_schedule_tool_handler,
|
|
8
8
|
isScheduleToolCall
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QRTO7XNW.mjs";
|
|
10
10
|
import "./chunk-KFKHU6CM.mjs";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-AVMMKGLQ.mjs";
|
|
12
12
|
import "./chunk-LG4AUKHB.mjs";
|
|
13
13
|
import "./chunk-B7BVQM5K.mjs";
|
|
14
14
|
import "./chunk-XXAEN5KU.mjs";
|
|
@@ -16,9 +16,9 @@ import "./chunk-GEW6LS32.mjs";
|
|
|
16
16
|
import "./chunk-NZADFXHE.mjs";
|
|
17
17
|
import "./chunk-AS6LIEO4.mjs";
|
|
18
18
|
import "./chunk-NCWIZVOT.mjs";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-FRVHW725.mjs";
|
|
20
|
+
import "./chunk-IJGA5TFA.mjs";
|
|
21
|
+
import "./chunk-TLXAIQLH.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-4SG6HYLF.mjs.map
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
extractSlackContext,
|
|
7
7
|
init_schedule_tool_handler,
|
|
8
8
|
isScheduleToolCall
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZWPQV2VT.mjs";
|
|
10
10
|
import "./chunk-KFKHU6CM.mjs";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-AVMMKGLQ.mjs";
|
|
12
12
|
import "./chunk-LG4AUKHB.mjs";
|
|
13
13
|
import "./chunk-B7BVQM5K.mjs";
|
|
14
14
|
import "./chunk-XXAEN5KU.mjs";
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
extractSlackContext,
|
|
37
37
|
isScheduleToolCall
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=schedule-tool-handler-
|
|
39
|
+
//# sourceMappingURL=schedule-tool-handler-IYK54BWK.mjs.map
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
extractSlackContext,
|
|
7
7
|
init_schedule_tool_handler,
|
|
8
8
|
isScheduleToolCall
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FRTHLKIG.mjs";
|
|
10
10
|
import "./chunk-KFKHU6CM.mjs";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-AVMMKGLQ.mjs";
|
|
12
12
|
import "./chunk-LG4AUKHB.mjs";
|
|
13
13
|
import "./chunk-B7BVQM5K.mjs";
|
|
14
14
|
import "./chunk-XXAEN5KU.mjs";
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
extractSlackContext,
|
|
37
37
|
isScheduleToolCall
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=schedule-tool-handler-
|
|
39
|
+
//# sourceMappingURL=schedule-tool-handler-Z5VWUB76.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.158",
|
|
650
650
|
main: "dist/index.js",
|
|
651
651
|
bin: {
|
|
652
652
|
visor: "./dist/index.js"
|
|
@@ -6929,20 +6929,6 @@ var init_comment_metadata = __esm({
|
|
|
6929
6929
|
});
|
|
6930
6930
|
|
|
6931
6931
|
// src/slack/markdown.ts
|
|
6932
|
-
function extractMermaidDiagrams(text) {
|
|
6933
|
-
const diagrams = [];
|
|
6934
|
-
const regex = /```mermaid\s*\n([\s\S]*?)```/g;
|
|
6935
|
-
let match;
|
|
6936
|
-
while ((match = regex.exec(text)) !== null) {
|
|
6937
|
-
diagrams.push({
|
|
6938
|
-
fullMatch: match[0],
|
|
6939
|
-
code: match[1].trim(),
|
|
6940
|
-
startIndex: match.index,
|
|
6941
|
-
endIndex: match.index + match[0].length
|
|
6942
|
-
});
|
|
6943
|
-
}
|
|
6944
|
-
return diagrams;
|
|
6945
|
-
}
|
|
6946
6932
|
async function renderMermaidToPng(mermaidCode) {
|
|
6947
6933
|
const tmpDir = os.tmpdir();
|
|
6948
6934
|
const inputFile = path7.join(
|
|
@@ -19241,9 +19227,11 @@ var init_scheduler = __esm({
|
|
|
19241
19227
|
if (!import_node_cron.default.validate(job.schedule)) {
|
|
19242
19228
|
throw new Error(`Invalid cron expression: ${job.schedule}`);
|
|
19243
19229
|
}
|
|
19244
|
-
|
|
19245
|
-
|
|
19246
|
-
|
|
19230
|
+
if (job.workflow !== "default") {
|
|
19231
|
+
const allChecks = Object.keys(this.visorConfig.checks || {});
|
|
19232
|
+
if (!allChecks.includes(job.workflow)) {
|
|
19233
|
+
throw new Error(`Workflow "${job.workflow}" not found in configuration`);
|
|
19234
|
+
}
|
|
19247
19235
|
}
|
|
19248
19236
|
const internalId = `__static_cron__:${jobId}`;
|
|
19249
19237
|
const cronJob = import_node_cron.default.schedule(
|
|
@@ -19629,7 +19617,11 @@ var init_scheduler = __esm({
|
|
|
19629
19617
|
return { message: "No execution engine configured" };
|
|
19630
19618
|
}
|
|
19631
19619
|
const allChecks = Object.keys(this.visorConfig.checks || {});
|
|
19632
|
-
|
|
19620
|
+
const checksToRun = schedule.workflow === "default" ? allChecks : [schedule.workflow];
|
|
19621
|
+
if (checksToRun.length === 0) {
|
|
19622
|
+
throw new Error("No checks configured");
|
|
19623
|
+
}
|
|
19624
|
+
if (schedule.workflow !== "default" && !allChecks.includes(schedule.workflow)) {
|
|
19633
19625
|
throw new Error(`Workflow "${schedule.workflow}" not found in configuration`);
|
|
19634
19626
|
}
|
|
19635
19627
|
const syntheticPayload = {
|
|
@@ -19659,7 +19651,7 @@ var init_scheduler = __esm({
|
|
|
19659
19651
|
}
|
|
19660
19652
|
const { engine: runEngine, config: cfgForRun } = this.prepareExecution(schedule);
|
|
19661
19653
|
await runEngine.executeChecks({
|
|
19662
|
-
checks:
|
|
19654
|
+
checks: checksToRun,
|
|
19663
19655
|
showDetails: true,
|
|
19664
19656
|
outputFormat: "json",
|
|
19665
19657
|
config: cfgForRun,
|
|
@@ -56972,7 +56964,7 @@ ${message}`;
|
|
|
56972
56964
|
);
|
|
56973
56965
|
return;
|
|
56974
56966
|
}
|
|
56975
|
-
const diagrams =
|
|
56967
|
+
const diagrams = [];
|
|
56976
56968
|
let processedText = text;
|
|
56977
56969
|
if (diagrams.length > 0) {
|
|
56978
56970
|
try {
|