@probelabs/visor 0.1.162 → 0.1.163
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 +31 -20
- package/dist/output/traces/{run-2026-03-05T18-25-15-635Z.ndjson → run-2026-03-05T19-35-29-511Z.ndjson} +84 -84
- package/dist/{traces/run-2026-03-05T18-25-59-700Z.ndjson → output/traces/run-2026-03-05T19-36-14-950Z.ndjson} +1917 -1917
- package/dist/providers/git-checkout-provider.d.ts.map +1 -1
- package/dist/sdk/{check-provider-registry-YKW7KIYX.mjs → check-provider-registry-BDPHCHX3.mjs} +5 -5
- package/dist/sdk/{check-provider-registry-ZNIJMJWI.mjs → check-provider-registry-JGXU3OEJ.mjs} +5 -5
- package/dist/sdk/{check-provider-registry-KAGT6VHC.mjs → check-provider-registry-XE2FY37D.mjs} +5 -5
- package/dist/sdk/{chunk-2EZB4TRC.mjs → chunk-53RHNNWQ.mjs} +28 -20
- package/dist/sdk/{chunk-P7N3YELW.mjs.map → chunk-53RHNNWQ.mjs.map} +1 -1
- package/dist/sdk/{chunk-P7N3YELW.mjs → chunk-7JOA3LUH.mjs} +28 -20
- package/dist/sdk/{chunk-2EZB4TRC.mjs.map → chunk-7JOA3LUH.mjs.map} +1 -1
- package/dist/sdk/{chunk-YSQKVMO5.mjs → chunk-I7J2BNOK.mjs} +2 -2
- package/dist/sdk/{chunk-BIURECPI.mjs → chunk-PQACCZF7.mjs} +28 -20
- package/dist/sdk/{chunk-BIURECPI.mjs.map → chunk-PQACCZF7.mjs.map} +1 -1
- package/dist/sdk/{chunk-2LL6GIEU.mjs → chunk-R5PIUZSD.mjs} +3 -3
- package/dist/sdk/{chunk-HT3EFZ75.mjs → chunk-TH6WMIV7.mjs} +2 -2
- package/dist/sdk/{chunk-M3EWWHFF.mjs → chunk-TLM6C3Q6.mjs} +3 -3
- package/dist/sdk/{chunk-M3EWWHFF.mjs.map → chunk-TLM6C3Q6.mjs.map} +1 -1
- package/dist/sdk/{chunk-6RKCJSGY.mjs → chunk-WBSARB5X.mjs} +3 -3
- package/dist/sdk/{chunk-CYIKOFJZ.mjs → chunk-ZH6K5NSC.mjs} +2 -2
- package/dist/sdk/{chunk-CYIKOFJZ.mjs.map → chunk-ZH6K5NSC.mjs.map} +1 -1
- package/dist/sdk/{failure-condition-evaluator-K5DZL2BE.mjs → failure-condition-evaluator-MEX6VNYT.mjs} +3 -3
- package/dist/sdk/{failure-condition-evaluator-3Q45T5EW.mjs → failure-condition-evaluator-NBRX4N23.mjs} +3 -3
- package/dist/sdk/{github-frontend-QG3BIZUQ.mjs → github-frontend-QSXBPYQZ.mjs} +3 -3
- package/dist/sdk/{github-frontend-SZBGCH43.mjs → github-frontend-UKDXNGOG.mjs} +3 -3
- package/dist/sdk/{host-AQY5SN7S.mjs → host-PRANMDPG.mjs} +2 -2
- package/dist/sdk/{host-FB2HG74L.mjs → host-Q4N357JE.mjs} +2 -2
- package/dist/sdk/{routing-GGZBWOLZ.mjs → routing-7CQ7QWYE.mjs} +4 -4
- package/dist/sdk/{routing-TFHFMCZV.mjs → routing-N2XJVSCQ.mjs} +4 -4
- package/dist/sdk/{schedule-tool-7GDLFKEV.mjs → schedule-tool-DCODWSDM.mjs} +5 -5
- package/dist/sdk/{schedule-tool-W2PY6VT6.mjs → schedule-tool-FYV3JUF7.mjs} +5 -5
- package/dist/sdk/{schedule-tool-6VZPH74P.mjs → schedule-tool-VUAATWZX.mjs} +5 -5
- package/dist/sdk/{schedule-tool-handler-BUP7XMCC.mjs → schedule-tool-handler-A5PN6FU3.mjs} +5 -5
- package/dist/sdk/{schedule-tool-handler-QAM5ORVM.mjs → schedule-tool-handler-ALCEOPSP.mjs} +5 -5
- package/dist/sdk/{schedule-tool-handler-ZBGUWCTW.mjs → schedule-tool-handler-D6Z3PCDJ.mjs} +5 -5
- package/dist/sdk/sdk.js +15 -7
- package/dist/sdk/sdk.js.map +1 -1
- package/dist/sdk/sdk.mjs +4 -4
- package/dist/sdk/{trace-helpers-AXJZLLWE.mjs → trace-helpers-JFELCJZT.mjs} +2 -2
- package/dist/sdk/{trace-helpers-VQUCAZO3.mjs → trace-helpers-VDR4RKGC.mjs} +2 -2
- package/dist/sdk/{workflow-check-provider-FREHQYRZ.mjs → workflow-check-provider-B2FOW6P2.mjs} +5 -5
- package/dist/sdk/{workflow-check-provider-ZZDIPHGY.mjs → workflow-check-provider-EO2U27T5.mjs} +5 -5
- package/dist/sdk/{workflow-check-provider-CCZ5EOLX.mjs → workflow-check-provider-XIZZYC3E.mjs} +5 -5
- package/dist/traces/{run-2026-03-05T18-25-15-635Z.ndjson → run-2026-03-05T19-35-29-511Z.ndjson} +84 -84
- package/dist/{output/traces/run-2026-03-05T18-25-59-700Z.ndjson → traces/run-2026-03-05T19-36-14-950Z.ndjson} +1917 -1917
- package/dist/utils/worktree-manager.d.ts +9 -2
- package/dist/utils/worktree-manager.d.ts.map +1 -1
- package/package.json +2 -2
- /package/dist/sdk/{check-provider-registry-KAGT6VHC.mjs.map → check-provider-registry-BDPHCHX3.mjs.map} +0 -0
- /package/dist/sdk/{check-provider-registry-YKW7KIYX.mjs.map → check-provider-registry-JGXU3OEJ.mjs.map} +0 -0
- /package/dist/sdk/{check-provider-registry-ZNIJMJWI.mjs.map → check-provider-registry-XE2FY37D.mjs.map} +0 -0
- /package/dist/sdk/{chunk-HT3EFZ75.mjs.map → chunk-I7J2BNOK.mjs.map} +0 -0
- /package/dist/sdk/{chunk-2LL6GIEU.mjs.map → chunk-R5PIUZSD.mjs.map} +0 -0
- /package/dist/sdk/{chunk-YSQKVMO5.mjs.map → chunk-TH6WMIV7.mjs.map} +0 -0
- /package/dist/sdk/{chunk-6RKCJSGY.mjs.map → chunk-WBSARB5X.mjs.map} +0 -0
- /package/dist/sdk/{failure-condition-evaluator-3Q45T5EW.mjs.map → failure-condition-evaluator-MEX6VNYT.mjs.map} +0 -0
- /package/dist/sdk/{failure-condition-evaluator-K5DZL2BE.mjs.map → failure-condition-evaluator-NBRX4N23.mjs.map} +0 -0
- /package/dist/sdk/{github-frontend-QG3BIZUQ.mjs.map → github-frontend-QSXBPYQZ.mjs.map} +0 -0
- /package/dist/sdk/{github-frontend-SZBGCH43.mjs.map → github-frontend-UKDXNGOG.mjs.map} +0 -0
- /package/dist/sdk/{host-AQY5SN7S.mjs.map → host-PRANMDPG.mjs.map} +0 -0
- /package/dist/sdk/{host-FB2HG74L.mjs.map → host-Q4N357JE.mjs.map} +0 -0
- /package/dist/sdk/{routing-GGZBWOLZ.mjs.map → routing-7CQ7QWYE.mjs.map} +0 -0
- /package/dist/sdk/{routing-TFHFMCZV.mjs.map → routing-N2XJVSCQ.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-6VZPH74P.mjs.map → schedule-tool-DCODWSDM.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-7GDLFKEV.mjs.map → schedule-tool-FYV3JUF7.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-W2PY6VT6.mjs.map → schedule-tool-VUAATWZX.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-handler-BUP7XMCC.mjs.map → schedule-tool-handler-A5PN6FU3.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-handler-QAM5ORVM.mjs.map → schedule-tool-handler-ALCEOPSP.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-handler-ZBGUWCTW.mjs.map → schedule-tool-handler-D6Z3PCDJ.mjs.map} +0 -0
- /package/dist/sdk/{trace-helpers-AXJZLLWE.mjs.map → trace-helpers-JFELCJZT.mjs.map} +0 -0
- /package/dist/sdk/{trace-helpers-VQUCAZO3.mjs.map → trace-helpers-VDR4RKGC.mjs.map} +0 -0
- /package/dist/sdk/{workflow-check-provider-CCZ5EOLX.mjs.map → workflow-check-provider-B2FOW6P2.mjs.map} +0 -0
- /package/dist/sdk/{workflow-check-provider-FREHQYRZ.mjs.map → workflow-check-provider-EO2U27T5.mjs.map} +0 -0
- /package/dist/sdk/{workflow-check-provider-ZZDIPHGY.mjs.map → workflow-check-provider-XIZZYC3E.mjs.map} +0 -0
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
extractSlackContext,
|
|
7
7
|
init_schedule_tool_handler,
|
|
8
8
|
isScheduleToolCall
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7JOA3LUH.mjs";
|
|
10
10
|
import "./chunk-KFKHU6CM.mjs";
|
|
11
11
|
import "./chunk-AVMMKGLQ.mjs";
|
|
12
12
|
import "./chunk-LG4AUKHB.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-WBSARB5X.mjs";
|
|
20
|
+
import "./chunk-TH6WMIV7.mjs";
|
|
21
|
+
import "./chunk-TLM6C3Q6.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-ALCEOPSP.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-PQACCZF7.mjs";
|
|
10
10
|
import "./chunk-KFKHU6CM.mjs";
|
|
11
11
|
import "./chunk-AVMMKGLQ.mjs";
|
|
12
12
|
import "./chunk-LG4AUKHB.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-R5PIUZSD.mjs";
|
|
20
|
+
import "./chunk-I7J2BNOK.mjs";
|
|
21
|
+
import "./chunk-ZH6K5NSC.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-D6Z3PCDJ.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.163",
|
|
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-rc276",
|
|
764
764
|
"@types/commander": "^2.12.0",
|
|
765
765
|
"@types/uuid": "^10.0.0",
|
|
766
766
|
acorn: "^8.16.0",
|
|
@@ -46880,13 +46880,20 @@ var init_worktree_manager = __esm({
|
|
|
46880
46880
|
return path21.join(this.config.base_path, "worktrees");
|
|
46881
46881
|
}
|
|
46882
46882
|
/**
|
|
46883
|
-
* Generate a
|
|
46884
|
-
*
|
|
46883
|
+
* Generate a worktree ID based on repository, ref, and session.
|
|
46884
|
+
*
|
|
46885
|
+
* When a sessionId is provided, the ID is scoped to that session so each
|
|
46886
|
+
* agent run gets its own isolated worktree. Steps within the same session
|
|
46887
|
+
* that checkout the same repo+ref will reuse the worktree (efficient).
|
|
46888
|
+
*
|
|
46889
|
+
* Without sessionId, falls back to deterministic repo+ref hashing
|
|
46890
|
+
* (legacy behavior).
|
|
46885
46891
|
*/
|
|
46886
|
-
generateWorktreeId(repository, ref) {
|
|
46892
|
+
generateWorktreeId(repository, ref, sessionId) {
|
|
46887
46893
|
const sanitizedRepo = repository.replace(/[^a-zA-Z0-9-]/g, "-");
|
|
46888
46894
|
const sanitizedRef = ref.replace(/[^a-zA-Z0-9-]/g, "-");
|
|
46889
|
-
const
|
|
46895
|
+
const hashInput = sessionId ? `${repository}:${ref}:${sessionId}` : `${repository}:${ref}`;
|
|
46896
|
+
const hash = crypto.createHash("md5").update(hashInput).digest("hex").substring(0, 8);
|
|
46890
46897
|
return `${sanitizedRepo}-${sanitizedRef}-${hash}`;
|
|
46891
46898
|
}
|
|
46892
46899
|
/**
|
|
@@ -47042,7 +47049,7 @@ var init_worktree_manager = __esm({
|
|
|
47042
47049
|
options.fetchDepth,
|
|
47043
47050
|
options.cloneTimeoutMs
|
|
47044
47051
|
);
|
|
47045
|
-
const worktreeId = this.generateWorktreeId(repository, ref);
|
|
47052
|
+
const worktreeId = this.generateWorktreeId(repository, ref, options.sessionId);
|
|
47046
47053
|
let worktreePath = options.workingDirectory || path21.join(this.getWorktreesDir(), worktreeId);
|
|
47047
47054
|
if (options.workingDirectory) {
|
|
47048
47055
|
worktreePath = this.validatePath(options.workingDirectory);
|
|
@@ -47732,6 +47739,7 @@ var init_git_checkout_provider = __esm({
|
|
|
47732
47739
|
clean: checkoutConfig.clean !== false,
|
|
47733
47740
|
// Default: true
|
|
47734
47741
|
workflowId: context2?.workflowId,
|
|
47742
|
+
sessionId: context2?.sessionId || context2?._parentContext?.sessionId,
|
|
47735
47743
|
fetchDepth: checkoutConfig.fetch_depth,
|
|
47736
47744
|
cloneTimeoutMs: checkoutConfig.clone_timeout_ms
|
|
47737
47745
|
}
|