@probelabs/visor 0.1.153 → 0.1.154
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 +185 -67
- package/dist/output/traces/{run-2026-03-04T13-24-27-240Z.ndjson → run-2026-03-04T15-57-32-312Z.ndjson} +84 -84
- package/dist/{traces/run-2026-03-04T13-25-12-321Z.ndjson → output/traces/run-2026-03-04T15-58-17-868Z.ndjson} +1774 -1774
- package/dist/providers/mcp-custom-sse-server.d.ts.map +1 -1
- package/dist/scheduler/schedule-tool.d.ts.map +1 -1
- package/dist/sdk/{check-provider-registry-OEPUY5P6.mjs → check-provider-registry-2HT3USLQ.mjs} +7 -7
- package/dist/sdk/{check-provider-registry-ZOGNKTC3.mjs → check-provider-registry-CQTR5OVS.mjs} +7 -7
- package/dist/sdk/{check-provider-registry-CSIZGIKC.mjs → check-provider-registry-PK3OTEX6.mjs} +7 -7
- package/dist/sdk/{chunk-CPYQDJ27.mjs → chunk-AS6LIEO4.mjs} +3 -3
- package/dist/sdk/{chunk-KBX4OIXL.mjs → chunk-AU6RDTY4.mjs} +2 -2
- package/dist/sdk/{chunk-Y3XWPKFP.mjs → chunk-GQ7H7E4Y.mjs} +2 -2
- package/dist/sdk/{chunk-Y3XWPKFP.mjs.map → chunk-GQ7H7E4Y.mjs.map} +1 -1
- package/dist/sdk/{chunk-WG7P66MJ.mjs → chunk-ILIWDV37.mjs} +2 -2
- package/dist/sdk/{chunk-DNDS7R3N.mjs → chunk-NZADFXHE.mjs} +7 -1
- package/dist/sdk/chunk-NZADFXHE.mjs.map +1 -0
- package/dist/sdk/{chunk-U7KB66AN.mjs → chunk-PW3RK2IS.mjs} +55 -35
- package/dist/sdk/chunk-PW3RK2IS.mjs.map +1 -0
- package/dist/sdk/{chunk-NYK7WDGH.mjs → chunk-RH7C77KY.mjs} +55 -35
- package/dist/sdk/chunk-RH7C77KY.mjs.map +1 -0
- package/dist/sdk/{chunk-SMR5N5MG.mjs → chunk-S6MIZBKN.mjs} +3 -3
- package/dist/sdk/{chunk-SMR5N5MG.mjs.map → chunk-S6MIZBKN.mjs.map} +1 -1
- package/dist/sdk/{chunk-ZCUGMT7X.mjs → chunk-SPCGI24K.mjs} +3 -3
- package/dist/sdk/{chunk-EYQWEVZF.mjs → chunk-WPF7PJ64.mjs} +55 -35
- package/dist/sdk/chunk-WPF7PJ64.mjs.map +1 -0
- package/dist/sdk/{chunk-VBN45DBR.mjs → chunk-ZPRIWRM2.mjs} +3 -3
- package/dist/sdk/{config-SW3VO4DQ.mjs → config-CWHZO5AL.mjs} +2 -2
- package/dist/sdk/{failure-condition-evaluator-R3UE4PE7.mjs → failure-condition-evaluator-LYFZMQ6Y.mjs} +3 -3
- package/dist/sdk/{failure-condition-evaluator-Y32S6DB2.mjs → failure-condition-evaluator-TCB66TZU.mjs} +3 -3
- package/dist/sdk/{github-frontend-6KZSVSPC.mjs → github-frontend-6C7WVBEL.mjs} +3 -3
- package/dist/sdk/{github-frontend-6SIR7QWX.mjs → github-frontend-XKPAYXOT.mjs} +3 -3
- package/dist/sdk/{host-A5HS6F6G.mjs → host-6DJCOUJE.mjs} +2 -2
- package/dist/sdk/{host-YBJOWFT4.mjs → host-LKPQXXCY.mjs} +2 -2
- package/dist/sdk/{routing-MMEOAH34.mjs → routing-5U4Z5KI2.mjs} +4 -4
- package/dist/sdk/{routing-U63OJMZQ.mjs → routing-L224WQSY.mjs} +4 -4
- package/dist/sdk/{schedule-tool-NMCFABHK.mjs → schedule-tool-7VHYOB5O.mjs} +7 -7
- package/dist/sdk/{schedule-tool-NYRLSV4F.mjs → schedule-tool-HRFONU5J.mjs} +7 -7
- package/dist/sdk/{schedule-tool-74VMD77T.mjs → schedule-tool-MVXQWDE2.mjs} +7 -7
- package/dist/sdk/{schedule-tool-handler-2TFSBZ2O.mjs → schedule-tool-handler-KXZC4ZOR.mjs} +7 -7
- package/dist/sdk/{schedule-tool-handler-DRVRLVGD.mjs → schedule-tool-handler-NY67TD3Y.mjs} +7 -7
- package/dist/sdk/{schedule-tool-handler-EOQBRZSD.mjs → schedule-tool-handler-VYXBBOB6.mjs} +7 -7
- package/dist/sdk/sdk.js +45 -19
- package/dist/sdk/sdk.js.map +1 -1
- package/dist/sdk/sdk.mjs +6 -6
- package/dist/sdk/{trace-helpers-JJLVZ2RJ.mjs → trace-helpers-AWTAWKRA.mjs} +2 -2
- package/dist/sdk/{trace-helpers-2BIVADUK.mjs → trace-helpers-GI65SVE2.mjs} +2 -2
- package/dist/sdk/{workflow-check-provider-GIW4WECT.mjs → workflow-check-provider-6QS4QI55.mjs} +7 -7
- package/dist/sdk/{workflow-check-provider-UQMMFLSK.mjs → workflow-check-provider-HGFTX64I.mjs} +7 -7
- package/dist/sdk/{workflow-check-provider-4NHVFLMQ.mjs → workflow-check-provider-PJSFGBCM.mjs} +7 -7
- package/dist/sdk/{workflow-registry-MHUSKSD6.mjs → workflow-registry-NGV3SESX.mjs} +2 -2
- package/dist/slack/schedule-tool-handler.d.ts.map +1 -1
- package/dist/traces/{run-2026-03-04T13-24-27-240Z.ndjson → run-2026-03-04T15-57-32-312Z.ndjson} +84 -84
- package/dist/{output/traces/run-2026-03-04T13-25-12-321Z.ndjson → traces/run-2026-03-04T15-58-17-868Z.ndjson} +1774 -1774
- package/dist/workflow-registry.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/sdk/chunk-DNDS7R3N.mjs.map +0 -1
- package/dist/sdk/chunk-EYQWEVZF.mjs.map +0 -1
- package/dist/sdk/chunk-NYK7WDGH.mjs.map +0 -1
- package/dist/sdk/chunk-U7KB66AN.mjs.map +0 -1
- /package/dist/sdk/{check-provider-registry-CSIZGIKC.mjs.map → check-provider-registry-2HT3USLQ.mjs.map} +0 -0
- /package/dist/sdk/{check-provider-registry-OEPUY5P6.mjs.map → check-provider-registry-CQTR5OVS.mjs.map} +0 -0
- /package/dist/sdk/{check-provider-registry-ZOGNKTC3.mjs.map → check-provider-registry-PK3OTEX6.mjs.map} +0 -0
- /package/dist/sdk/{chunk-CPYQDJ27.mjs.map → chunk-AS6LIEO4.mjs.map} +0 -0
- /package/dist/sdk/{chunk-KBX4OIXL.mjs.map → chunk-AU6RDTY4.mjs.map} +0 -0
- /package/dist/sdk/{chunk-WG7P66MJ.mjs.map → chunk-ILIWDV37.mjs.map} +0 -0
- /package/dist/sdk/{chunk-VBN45DBR.mjs.map → chunk-SPCGI24K.mjs.map} +0 -0
- /package/dist/sdk/{chunk-ZCUGMT7X.mjs.map → chunk-ZPRIWRM2.mjs.map} +0 -0
- /package/dist/sdk/{config-SW3VO4DQ.mjs.map → config-CWHZO5AL.mjs.map} +0 -0
- /package/dist/sdk/{failure-condition-evaluator-R3UE4PE7.mjs.map → failure-condition-evaluator-LYFZMQ6Y.mjs.map} +0 -0
- /package/dist/sdk/{failure-condition-evaluator-Y32S6DB2.mjs.map → failure-condition-evaluator-TCB66TZU.mjs.map} +0 -0
- /package/dist/sdk/{github-frontend-6KZSVSPC.mjs.map → github-frontend-6C7WVBEL.mjs.map} +0 -0
- /package/dist/sdk/{github-frontend-6SIR7QWX.mjs.map → github-frontend-XKPAYXOT.mjs.map} +0 -0
- /package/dist/sdk/{host-A5HS6F6G.mjs.map → host-6DJCOUJE.mjs.map} +0 -0
- /package/dist/sdk/{host-YBJOWFT4.mjs.map → host-LKPQXXCY.mjs.map} +0 -0
- /package/dist/sdk/{routing-MMEOAH34.mjs.map → routing-5U4Z5KI2.mjs.map} +0 -0
- /package/dist/sdk/{routing-U63OJMZQ.mjs.map → routing-L224WQSY.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-74VMD77T.mjs.map → schedule-tool-7VHYOB5O.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-NMCFABHK.mjs.map → schedule-tool-HRFONU5J.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-NYRLSV4F.mjs.map → schedule-tool-MVXQWDE2.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-handler-2TFSBZ2O.mjs.map → schedule-tool-handler-KXZC4ZOR.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-handler-DRVRLVGD.mjs.map → schedule-tool-handler-NY67TD3Y.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-handler-EOQBRZSD.mjs.map → schedule-tool-handler-VYXBBOB6.mjs.map} +0 -0
- /package/dist/sdk/{trace-helpers-2BIVADUK.mjs.map → trace-helpers-AWTAWKRA.mjs.map} +0 -0
- /package/dist/sdk/{trace-helpers-JJLVZ2RJ.mjs.map → trace-helpers-GI65SVE2.mjs.map} +0 -0
- /package/dist/sdk/{workflow-check-provider-4NHVFLMQ.mjs.map → workflow-check-provider-6QS4QI55.mjs.map} +0 -0
- /package/dist/sdk/{workflow-check-provider-GIW4WECT.mjs.map → workflow-check-provider-HGFTX64I.mjs.map} +0 -0
- /package/dist/sdk/{workflow-check-provider-UQMMFLSK.mjs.map → workflow-check-provider-PJSFGBCM.mjs.map} +0 -0
- /package/dist/sdk/{workflow-registry-MHUSKSD6.mjs.map → workflow-registry-NGV3SESX.mjs.map} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FailureConditionEvaluator,
|
|
3
3
|
init_failure_condition_evaluator
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AU6RDTY4.mjs";
|
|
5
5
|
import {
|
|
6
6
|
addEvent,
|
|
7
7
|
init_trace_helpers
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-S6MIZBKN.mjs";
|
|
9
9
|
import {
|
|
10
10
|
createExtendedLiquid,
|
|
11
11
|
init_liquid_extensions
|
|
@@ -1499,4 +1499,4 @@ export {
|
|
|
1499
1499
|
evaluateTransitions,
|
|
1500
1500
|
init_routing
|
|
1501
1501
|
};
|
|
1502
|
-
//# sourceMappingURL=chunk-
|
|
1502
|
+
//# sourceMappingURL=chunk-ZPRIWRM2.mjs.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
ConfigManager,
|
|
3
3
|
VALID_EVENT_TRIGGERS,
|
|
4
4
|
init_config
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AS6LIEO4.mjs";
|
|
6
6
|
import "./chunk-NCWIZVOT.mjs";
|
|
7
7
|
import "./chunk-LW3INISN.mjs";
|
|
8
8
|
import "./chunk-SZXICFQ3.mjs";
|
|
@@ -13,4 +13,4 @@ export {
|
|
|
13
13
|
ConfigManager,
|
|
14
14
|
VALID_EVENT_TRIGGERS
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=config-
|
|
16
|
+
//# sourceMappingURL=config-CWHZO5AL.mjs.map
|
|
@@ -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-ILIWDV37.mjs";
|
|
5
|
+
import "./chunk-GQ7H7E4Y.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-LYFZMQ6Y.mjs.map
|
|
@@ -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-AU6RDTY4.mjs";
|
|
5
|
+
import "./chunk-S6MIZBKN.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-TCB66TZU.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-AU6RDTY4.mjs";
|
|
13
|
+
import "./chunk-S6MIZBKN.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-6C7WVBEL.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-ILIWDV37.mjs";
|
|
13
|
+
import "./chunk-GQ7H7E4Y.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-XKPAYXOT.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-XKPAYXOT.mjs");
|
|
25
25
|
this.frontends.push(new GitHubFrontend());
|
|
26
26
|
} else if (spec.name === "slack") {
|
|
27
27
|
const { SlackFrontend } = await import("./slack-frontend-TZU2HIK7.mjs");
|
|
@@ -60,4 +60,4 @@ init_host();
|
|
|
60
60
|
export {
|
|
61
61
|
FrontendsHost
|
|
62
62
|
};
|
|
63
|
-
//# sourceMappingURL=host-
|
|
63
|
+
//# sourceMappingURL=host-6DJCOUJE.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-6C7WVBEL.mjs");
|
|
25
25
|
this.frontends.push(new GitHubFrontend());
|
|
26
26
|
} else if (spec.name === "slack") {
|
|
27
27
|
const { SlackFrontend } = await import("./slack-frontend-TZU2HIK7.mjs");
|
|
@@ -60,4 +60,4 @@ init_host();
|
|
|
60
60
|
export {
|
|
61
61
|
FrontendsHost
|
|
62
62
|
};
|
|
63
|
-
//# sourceMappingURL=host-
|
|
63
|
+
//# sourceMappingURL=host-LKPQXXCY.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-ZPRIWRM2.mjs";
|
|
8
|
+
import "./chunk-AU6RDTY4.mjs";
|
|
9
|
+
import "./chunk-S6MIZBKN.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-5U4Z5KI2.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-SPCGI24K.mjs";
|
|
8
|
+
import "./chunk-ILIWDV37.mjs";
|
|
9
|
+
import "./chunk-GQ7H7E4Y.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-L224WQSY.mjs.map
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
handleScheduleAction,
|
|
5
5
|
init_schedule_tool,
|
|
6
6
|
isScheduleTool
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PW3RK2IS.mjs";
|
|
8
8
|
import "./chunk-KFKHU6CM.mjs";
|
|
9
9
|
import "./chunk-M3BYMES6.mjs";
|
|
10
10
|
import "./chunk-LG4AUKHB.mjs";
|
|
11
11
|
import "./chunk-B7BVQM5K.mjs";
|
|
12
12
|
import "./chunk-XXAEN5KU.mjs";
|
|
13
13
|
import "./chunk-GEW6LS32.mjs";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-NZADFXHE.mjs";
|
|
15
|
+
import "./chunk-AS6LIEO4.mjs";
|
|
16
16
|
import "./chunk-NCWIZVOT.mjs";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-SPCGI24K.mjs";
|
|
18
|
+
import "./chunk-ILIWDV37.mjs";
|
|
19
|
+
import "./chunk-GQ7H7E4Y.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-7VHYOB5O.mjs.map
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
handleScheduleAction,
|
|
5
5
|
init_schedule_tool,
|
|
6
6
|
isScheduleTool
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WPF7PJ64.mjs";
|
|
8
8
|
import "./chunk-KFKHU6CM.mjs";
|
|
9
9
|
import "./chunk-M3BYMES6.mjs";
|
|
10
10
|
import "./chunk-LG4AUKHB.mjs";
|
|
11
11
|
import "./chunk-B7BVQM5K.mjs";
|
|
12
12
|
import "./chunk-XXAEN5KU.mjs";
|
|
13
13
|
import "./chunk-GEW6LS32.mjs";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-NZADFXHE.mjs";
|
|
15
|
+
import "./chunk-AS6LIEO4.mjs";
|
|
16
16
|
import "./chunk-NCWIZVOT.mjs";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-SPCGI24K.mjs";
|
|
18
|
+
import "./chunk-ILIWDV37.mjs";
|
|
19
|
+
import "./chunk-GQ7H7E4Y.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-HRFONU5J.mjs.map
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
handleScheduleAction,
|
|
5
5
|
init_schedule_tool,
|
|
6
6
|
isScheduleTool
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RH7C77KY.mjs";
|
|
8
8
|
import "./chunk-KFKHU6CM.mjs";
|
|
9
9
|
import "./chunk-M3BYMES6.mjs";
|
|
10
10
|
import "./chunk-LG4AUKHB.mjs";
|
|
11
11
|
import "./chunk-B7BVQM5K.mjs";
|
|
12
12
|
import "./chunk-XXAEN5KU.mjs";
|
|
13
13
|
import "./chunk-GEW6LS32.mjs";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-NZADFXHE.mjs";
|
|
15
|
+
import "./chunk-AS6LIEO4.mjs";
|
|
16
16
|
import "./chunk-NCWIZVOT.mjs";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-ZPRIWRM2.mjs";
|
|
18
|
+
import "./chunk-AU6RDTY4.mjs";
|
|
19
|
+
import "./chunk-S6MIZBKN.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-MVXQWDE2.mjs.map
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
extractSlackContext,
|
|
7
7
|
init_schedule_tool_handler,
|
|
8
8
|
isScheduleToolCall
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WPF7PJ64.mjs";
|
|
10
10
|
import "./chunk-KFKHU6CM.mjs";
|
|
11
11
|
import "./chunk-M3BYMES6.mjs";
|
|
12
12
|
import "./chunk-LG4AUKHB.mjs";
|
|
13
13
|
import "./chunk-B7BVQM5K.mjs";
|
|
14
14
|
import "./chunk-XXAEN5KU.mjs";
|
|
15
15
|
import "./chunk-GEW6LS32.mjs";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-NZADFXHE.mjs";
|
|
17
|
+
import "./chunk-AS6LIEO4.mjs";
|
|
18
18
|
import "./chunk-NCWIZVOT.mjs";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-SPCGI24K.mjs";
|
|
20
|
+
import "./chunk-ILIWDV37.mjs";
|
|
21
|
+
import "./chunk-GQ7H7E4Y.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-KXZC4ZOR.mjs.map
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
extractSlackContext,
|
|
7
7
|
init_schedule_tool_handler,
|
|
8
8
|
isScheduleToolCall
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PW3RK2IS.mjs";
|
|
10
10
|
import "./chunk-KFKHU6CM.mjs";
|
|
11
11
|
import "./chunk-M3BYMES6.mjs";
|
|
12
12
|
import "./chunk-LG4AUKHB.mjs";
|
|
13
13
|
import "./chunk-B7BVQM5K.mjs";
|
|
14
14
|
import "./chunk-XXAEN5KU.mjs";
|
|
15
15
|
import "./chunk-GEW6LS32.mjs";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-NZADFXHE.mjs";
|
|
17
|
+
import "./chunk-AS6LIEO4.mjs";
|
|
18
18
|
import "./chunk-NCWIZVOT.mjs";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-SPCGI24K.mjs";
|
|
20
|
+
import "./chunk-ILIWDV37.mjs";
|
|
21
|
+
import "./chunk-GQ7H7E4Y.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-NY67TD3Y.mjs.map
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
extractSlackContext,
|
|
7
7
|
init_schedule_tool_handler,
|
|
8
8
|
isScheduleToolCall
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RH7C77KY.mjs";
|
|
10
10
|
import "./chunk-KFKHU6CM.mjs";
|
|
11
11
|
import "./chunk-M3BYMES6.mjs";
|
|
12
12
|
import "./chunk-LG4AUKHB.mjs";
|
|
13
13
|
import "./chunk-B7BVQM5K.mjs";
|
|
14
14
|
import "./chunk-XXAEN5KU.mjs";
|
|
15
15
|
import "./chunk-GEW6LS32.mjs";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-NZADFXHE.mjs";
|
|
17
|
+
import "./chunk-AS6LIEO4.mjs";
|
|
18
18
|
import "./chunk-NCWIZVOT.mjs";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-ZPRIWRM2.mjs";
|
|
20
|
+
import "./chunk-AU6RDTY4.mjs";
|
|
21
|
+
import "./chunk-S6MIZBKN.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-VYXBBOB6.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.154",
|
|
650
650
|
main: "dist/index.js",
|
|
651
651
|
bin: {
|
|
652
652
|
visor: "./dist/index.js"
|
|
@@ -760,7 +760,7 @@ var require_package = __commonJS({
|
|
|
760
760
|
"@opentelemetry/sdk-node": "^0.203.0",
|
|
761
761
|
"@opentelemetry/sdk-trace-base": "^1.30.1",
|
|
762
762
|
"@opentelemetry/semantic-conventions": "^1.30.1",
|
|
763
|
-
"@probelabs/probe": "^0.6.0-
|
|
763
|
+
"@probelabs/probe": "^0.6.0-rc271",
|
|
764
764
|
"@types/commander": "^2.12.0",
|
|
765
765
|
"@types/uuid": "^10.0.0",
|
|
766
766
|
acorn: "^8.16.0",
|
|
@@ -10939,6 +10939,12 @@ var init_workflow_registry = __esm({
|
|
|
10939
10939
|
message: "Input parameter schema is recommended"
|
|
10940
10940
|
});
|
|
10941
10941
|
}
|
|
10942
|
+
if (input.schema?.type === "array" && !input.schema.items) {
|
|
10943
|
+
warnings.push({
|
|
10944
|
+
path: `inputs[${i}].schema`,
|
|
10945
|
+
message: 'Array schema should define "items" (e.g. items: { type: string }). Some LLM providers (Gemini) reject array schemas without items.'
|
|
10946
|
+
});
|
|
10947
|
+
}
|
|
10942
10948
|
}
|
|
10943
10949
|
}
|
|
10944
10950
|
if (workflow.outputs) {
|
|
@@ -20285,17 +20291,11 @@ function formatTrigger(trigger) {
|
|
|
20285
20291
|
return `\`${trigger.id.substring(0, 8)}\` - channels: ${channels} \u2192 workflow: "${trigger.workflow}"${filterStr}${status}`;
|
|
20286
20292
|
}
|
|
20287
20293
|
async function handleCreateTrigger(args, context2, store) {
|
|
20288
|
-
|
|
20289
|
-
|
|
20290
|
-
success: false,
|
|
20291
|
-
message: "Missing workflow",
|
|
20292
|
-
error: "Please specify the workflow to run when the trigger fires."
|
|
20293
|
-
};
|
|
20294
|
-
}
|
|
20295
|
-
if (context2.availableWorkflows && !context2.availableWorkflows.includes(args.workflow)) {
|
|
20294
|
+
const workflow = args.workflow || "default";
|
|
20295
|
+
if (context2.availableWorkflows && !context2.availableWorkflows.includes(workflow)) {
|
|
20296
20296
|
return {
|
|
20297
20297
|
success: false,
|
|
20298
|
-
message: `Workflow "${
|
|
20298
|
+
message: `Workflow "${workflow}" not found`,
|
|
20299
20299
|
error: `Available workflows: ${context2.availableWorkflows.slice(0, 5).join(", ")}${context2.availableWorkflows.length > 5 ? "..." : ""}`
|
|
20300
20300
|
};
|
|
20301
20301
|
}
|
|
@@ -20306,7 +20306,7 @@ async function handleCreateTrigger(args, context2, store) {
|
|
|
20306
20306
|
error: "Please specify at least one filter: trigger_channels, trigger_from, trigger_contains, or trigger_match."
|
|
20307
20307
|
};
|
|
20308
20308
|
}
|
|
20309
|
-
const permissionCheck = checkSchedulePermissions(context2,
|
|
20309
|
+
const permissionCheck = checkSchedulePermissions(context2, workflow);
|
|
20310
20310
|
if (!permissionCheck.allowed) {
|
|
20311
20311
|
return {
|
|
20312
20312
|
success: false,
|
|
@@ -20326,13 +20326,13 @@ async function handleCreateTrigger(args, context2, store) {
|
|
|
20326
20326
|
contains: args.trigger_contains,
|
|
20327
20327
|
matchPattern: args.trigger_match,
|
|
20328
20328
|
threads: args.trigger_threads ?? "any",
|
|
20329
|
-
workflow
|
|
20329
|
+
workflow,
|
|
20330
20330
|
inputs: args.workflow_inputs,
|
|
20331
20331
|
status: "active",
|
|
20332
20332
|
enabled: true
|
|
20333
20333
|
});
|
|
20334
20334
|
logger.info(
|
|
20335
|
-
`[ScheduleTool] Created message trigger ${trigger.id} for user ${context2.userId}: workflow="${
|
|
20335
|
+
`[ScheduleTool] Created message trigger ${trigger.id} for user ${context2.userId}: workflow="${workflow}"`
|
|
20336
20336
|
);
|
|
20337
20337
|
return {
|
|
20338
20338
|
success: true,
|
|
@@ -20449,12 +20449,17 @@ function getScheduleToolDefinition() {
|
|
|
20449
20449
|
|
|
20450
20450
|
YOU (the AI) must extract and structure all scheduling parameters. Do NOT pass natural language time expressions - convert them to cron or ISO timestamps.
|
|
20451
20451
|
|
|
20452
|
-
CRITICAL WORKFLOW RULE:
|
|
20452
|
+
CRITICAL WORKFLOW RULE (for 'create' action only):
|
|
20453
20453
|
- To schedule a WORKFLOW, the user MUST use a '%' prefix (e.g., "schedule %my-workflow daily").
|
|
20454
20454
|
- If the '%' prefix is present, extract the word following it as the 'workflow' parameter (without the '%').
|
|
20455
20455
|
- If the '%' prefix is NOT present, the request is a simple text reminder. The ENTIRE user request (excluding the schedule expression) MUST be placed in the 'reminder_text' parameter.
|
|
20456
20456
|
- DO NOT guess or infer a workflow name from a user's request without the '%' prefix.
|
|
20457
20457
|
|
|
20458
|
+
WORKFLOW RULE FOR TRIGGERS (create_trigger action):
|
|
20459
|
+
- Triggers ALWAYS require a workflow. The '%' prefix rule does NOT apply to triggers.
|
|
20460
|
+
- If the user specifies a workflow name (with or without '%'), use it directly.
|
|
20461
|
+
- If the user does NOT specify a workflow name, use "default" as the workflow name.
|
|
20462
|
+
|
|
20458
20463
|
ACTIONS:
|
|
20459
20464
|
- create: Schedule a new reminder or workflow
|
|
20460
20465
|
- list: Show user's active schedules
|
|
@@ -20467,7 +20472,7 @@ Slack messages in specific channels. Use the create_trigger, list_triggers, dele
|
|
|
20467
20472
|
actions for this. Message triggers fire workflows based on message content, channel, sender, and thread scope.
|
|
20468
20473
|
|
|
20469
20474
|
TRIGGER ACTIONS:
|
|
20470
|
-
- create_trigger: Create a new message trigger (requires
|
|
20475
|
+
- create_trigger: Create a new message trigger (requires at least one filter; workflow defaults to "default" if not specified). Supports filtering by user IDs (trigger_from), channels, keywords, regex, and thread scope.
|
|
20471
20476
|
- list_triggers: Show user's message triggers
|
|
20472
20477
|
- delete_trigger: Remove a trigger by ID
|
|
20473
20478
|
- update_trigger: Enable/disable a trigger by ID
|
|
@@ -20567,6 +20572,9 @@ User: "watch #cicd for messages containing 'failed' and run %handle-cicd"
|
|
|
20567
20572
|
User: "trigger on each of my messages in this channel and run %auto-reply" (user ID is U3P2L4XNE)
|
|
20568
20573
|
\u2192 { "action": "create_trigger", "trigger_channels": ["C09V810NY6R"], "trigger_from": ["U3P2L4XNE"], "workflow": "auto-reply" }
|
|
20569
20574
|
|
|
20575
|
+
User: "trigger on each message in this channel" (no workflow specified \u2014 use "default")
|
|
20576
|
+
\u2192 { "action": "create_trigger", "trigger_channels": ["C09V810NY6R"], "workflow": "default" }
|
|
20577
|
+
|
|
20570
20578
|
User: "list my message triggers"
|
|
20571
20579
|
\u2192 { "action": "list_triggers" }
|
|
20572
20580
|
|
|
@@ -20600,7 +20608,7 @@ User: "disable trigger abc123"
|
|
|
20600
20608
|
},
|
|
20601
20609
|
workflow: {
|
|
20602
20610
|
type: "string",
|
|
20603
|
-
description: 'For create: workflow ID to run. ONLY populate this if the user used the % prefix (e.g., "%my-workflow"). Extract the name without the % symbol. If no % prefix, use reminder_text instead.'
|
|
20611
|
+
description: 'For create: workflow ID to run. ONLY populate this if the user used the % prefix (e.g., "%my-workflow"). Extract the name without the % symbol. If no % prefix, use reminder_text instead. For create_trigger: workflow is REQUIRED \u2014 use the workflow name the user specified (% prefix optional), or "default" if not specified.'
|
|
20604
20612
|
},
|
|
20605
20613
|
workflow_inputs: {
|
|
20606
20614
|
type: "object",
|
|
@@ -20904,7 +20912,16 @@ async function executeScheduleTool(args, slackContext, slackClient, availableWor
|
|
|
20904
20912
|
run_at: args.run_at,
|
|
20905
20913
|
original_expression: args.original_expression,
|
|
20906
20914
|
// For cancel/pause/resume
|
|
20907
|
-
schedule_id: args.schedule_id
|
|
20915
|
+
schedule_id: args.schedule_id,
|
|
20916
|
+
// For trigger actions
|
|
20917
|
+
trigger_channels: args.trigger_channels,
|
|
20918
|
+
trigger_from: args.trigger_from,
|
|
20919
|
+
trigger_from_bots: args.trigger_from_bots,
|
|
20920
|
+
trigger_contains: args.trigger_contains,
|
|
20921
|
+
trigger_match: args.trigger_match,
|
|
20922
|
+
trigger_threads: args.trigger_threads,
|
|
20923
|
+
trigger_description: args.trigger_description,
|
|
20924
|
+
trigger_id: args.trigger_id
|
|
20908
20925
|
};
|
|
20909
20926
|
if (!toolArgs.target_type && slackContext.channel) {
|
|
20910
20927
|
if (slackContext.threadTs) {
|
|
@@ -21544,7 +21561,16 @@ var init_mcp_custom_sse_server = __esm({
|
|
|
21544
21561
|
run_at: args.run_at,
|
|
21545
21562
|
original_expression: args.original_expression,
|
|
21546
21563
|
// For cancel/pause/resume
|
|
21547
|
-
schedule_id: args.schedule_id
|
|
21564
|
+
schedule_id: args.schedule_id,
|
|
21565
|
+
// For trigger actions
|
|
21566
|
+
trigger_channels: args.trigger_channels,
|
|
21567
|
+
trigger_from: args.trigger_from,
|
|
21568
|
+
trigger_from_bots: args.trigger_from_bots,
|
|
21569
|
+
trigger_contains: args.trigger_contains,
|
|
21570
|
+
trigger_match: args.trigger_match,
|
|
21571
|
+
trigger_threads: args.trigger_threads,
|
|
21572
|
+
trigger_description: args.trigger_description,
|
|
21573
|
+
trigger_id: args.trigger_id
|
|
21548
21574
|
};
|
|
21549
21575
|
const scheduleResult = await handleScheduleAction(scheduleArgs, scheduleContext);
|
|
21550
21576
|
result = scheduleResult.success ? scheduleResult.message : `Error: ${scheduleResult.error}`;
|