@probelabs/visor 0.1.152-ee → 0.1.153-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.
Files changed (57) hide show
  1. package/dist/config.d.ts.map +1 -1
  2. package/dist/docs/ai-configuration.md +4 -4
  3. package/dist/docs/sandbox-engines.md +53 -5
  4. package/dist/examples/ai-with-bash.yaml +2 -2
  5. package/dist/examples/sandbox-bind-paths.yaml +31 -0
  6. package/dist/examples/sandbox-host-workdir.yaml +27 -0
  7. package/dist/examples/workflow-sandbox.yaml +43 -0
  8. package/dist/generated/config-schema.d.ts +38 -8
  9. package/dist/generated/config-schema.d.ts.map +1 -1
  10. package/dist/generated/config-schema.json +40 -8
  11. package/dist/index.js +148 -36
  12. package/dist/sandbox/bubblewrap-sandbox.d.ts.map +1 -1
  13. package/dist/sandbox/check-runner.d.ts.map +1 -1
  14. package/dist/sandbox/docker-image-sandbox.d.ts.map +1 -1
  15. package/dist/sandbox/seatbelt-sandbox.d.ts.map +1 -1
  16. package/dist/sandbox/types.d.ts +13 -0
  17. package/dist/sandbox/types.d.ts.map +1 -1
  18. package/dist/scheduler/schedule-tool.d.ts +2 -0
  19. package/dist/scheduler/schedule-tool.d.ts.map +1 -1
  20. package/dist/sdk/{check-provider-registry-HR6YM5MI.mjs → check-provider-registry-XZE5PRSE.mjs} +3 -3
  21. package/dist/sdk/{check-provider-registry-QBURXJ6B.mjs → check-provider-registry-ZOGNKTC3.mjs} +3 -3
  22. package/dist/sdk/{chunk-FYK2DJK6.mjs → chunk-CPYQDJ27.mjs} +86 -26
  23. package/dist/sdk/chunk-CPYQDJ27.mjs.map +1 -0
  24. package/dist/sdk/{chunk-JRDGCUEG.mjs → chunk-DXNWUIAN.mjs} +130 -91
  25. package/dist/sdk/chunk-DXNWUIAN.mjs.map +1 -0
  26. package/dist/sdk/{chunk-QRR6OJQN.mjs → chunk-EYQWEVZF.mjs} +130 -91
  27. package/dist/sdk/chunk-EYQWEVZF.mjs.map +1 -0
  28. package/dist/sdk/{config-MTEIGCOQ.mjs → config-SW3VO4DQ.mjs} +2 -2
  29. package/dist/sdk/{schedule-tool-62XTFB6K.mjs → schedule-tool-74VMD77T.mjs} +3 -3
  30. package/dist/sdk/{schedule-tool-6NALFGQR.mjs → schedule-tool-WSZKJUNQ.mjs} +3 -3
  31. package/dist/sdk/{schedule-tool-handler-5K275UT6.mjs → schedule-tool-handler-EOQBRZSD.mjs} +3 -3
  32. package/dist/sdk/{schedule-tool-handler-RLAKPPPX.mjs → schedule-tool-handler-Q7E5NBHS.mjs} +3 -3
  33. package/dist/sdk/sdk.d.mts +15 -2
  34. package/dist/sdk/sdk.d.ts +15 -2
  35. package/dist/sdk/sdk.js +209 -110
  36. package/dist/sdk/sdk.js.map +1 -1
  37. package/dist/sdk/sdk.mjs +2 -2
  38. package/dist/sdk/{workflow-check-provider-6TEZHBZJ.mjs → workflow-check-provider-GIW4WECT.mjs} +3 -3
  39. package/dist/sdk/{workflow-check-provider-KG6IFH6W.mjs → workflow-check-provider-JHHACJHF.mjs} +3 -3
  40. package/dist/state-machine/workflow-projection.d.ts.map +1 -1
  41. package/dist/types/config.d.ts +2 -2
  42. package/dist/types/config.d.ts.map +1 -1
  43. package/dist/types/workflow.d.ts +8 -0
  44. package/dist/types/workflow.d.ts.map +1 -1
  45. package/package.json +1 -1
  46. package/dist/sdk/chunk-FYK2DJK6.mjs.map +0 -1
  47. package/dist/sdk/chunk-JRDGCUEG.mjs.map +0 -1
  48. package/dist/sdk/chunk-QRR6OJQN.mjs.map +0 -1
  49. /package/dist/sdk/{check-provider-registry-HR6YM5MI.mjs.map → check-provider-registry-XZE5PRSE.mjs.map} +0 -0
  50. /package/dist/sdk/{check-provider-registry-QBURXJ6B.mjs.map → check-provider-registry-ZOGNKTC3.mjs.map} +0 -0
  51. /package/dist/sdk/{config-MTEIGCOQ.mjs.map → config-SW3VO4DQ.mjs.map} +0 -0
  52. /package/dist/sdk/{schedule-tool-62XTFB6K.mjs.map → schedule-tool-74VMD77T.mjs.map} +0 -0
  53. /package/dist/sdk/{schedule-tool-6NALFGQR.mjs.map → schedule-tool-WSZKJUNQ.mjs.map} +0 -0
  54. /package/dist/sdk/{schedule-tool-handler-5K275UT6.mjs.map → schedule-tool-handler-EOQBRZSD.mjs.map} +0 -0
  55. /package/dist/sdk/{schedule-tool-handler-RLAKPPPX.mjs.map → schedule-tool-handler-Q7E5NBHS.mjs.map} +0 -0
  56. /package/dist/sdk/{workflow-check-provider-6TEZHBZJ.mjs.map → workflow-check-provider-GIW4WECT.mjs.map} +0 -0
  57. /package/dist/sdk/{workflow-check-provider-KG6IFH6W.mjs.map → workflow-check-provider-JHHACJHF.mjs.map} +0 -0
@@ -2,7 +2,7 @@ import {
2
2
  ConfigManager,
3
3
  VALID_EVENT_TRIGGERS,
4
4
  init_config
5
- } from "./chunk-FYK2DJK6.mjs";
5
+ } from "./chunk-CPYQDJ27.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-MTEIGCOQ.mjs.map
16
+ //# sourceMappingURL=config-SW3VO4DQ.mjs.map
@@ -4,7 +4,7 @@ import {
4
4
  handleScheduleAction,
5
5
  init_schedule_tool,
6
6
  isScheduleTool
7
- } from "./chunk-QRR6OJQN.mjs";
7
+ } from "./chunk-EYQWEVZF.mjs";
8
8
  import "./chunk-KFKHU6CM.mjs";
9
9
  import "./chunk-M3BYMES6.mjs";
10
10
  import "./chunk-LG4AUKHB.mjs";
@@ -12,7 +12,7 @@ import "./chunk-B7BVQM5K.mjs";
12
12
  import "./chunk-XXAEN5KU.mjs";
13
13
  import "./chunk-GEW6LS32.mjs";
14
14
  import "./chunk-DNDS7R3N.mjs";
15
- import "./chunk-FYK2DJK6.mjs";
15
+ import "./chunk-CPYQDJ27.mjs";
16
16
  import "./chunk-NCWIZVOT.mjs";
17
17
  import "./chunk-ZCUGMT7X.mjs";
18
18
  import "./chunk-WG7P66MJ.mjs";
@@ -32,4 +32,4 @@ export {
32
32
  handleScheduleAction,
33
33
  isScheduleTool
34
34
  };
35
- //# sourceMappingURL=schedule-tool-62XTFB6K.mjs.map
35
+ //# sourceMappingURL=schedule-tool-74VMD77T.mjs.map
@@ -4,7 +4,7 @@ import {
4
4
  handleScheduleAction,
5
5
  init_schedule_tool,
6
6
  isScheduleTool
7
- } from "./chunk-JRDGCUEG.mjs";
7
+ } from "./chunk-DXNWUIAN.mjs";
8
8
  import "./chunk-KFKHU6CM.mjs";
9
9
  import "./chunk-M3BYMES6.mjs";
10
10
  import "./chunk-LG4AUKHB.mjs";
@@ -12,7 +12,7 @@ import "./chunk-B7BVQM5K.mjs";
12
12
  import "./chunk-XXAEN5KU.mjs";
13
13
  import "./chunk-GEW6LS32.mjs";
14
14
  import "./chunk-DNDS7R3N.mjs";
15
- import "./chunk-FYK2DJK6.mjs";
15
+ import "./chunk-CPYQDJ27.mjs";
16
16
  import "./chunk-NCWIZVOT.mjs";
17
17
  import "./chunk-ZCUGMT7X.mjs";
18
18
  import "./chunk-WG7P66MJ.mjs";
@@ -32,4 +32,4 @@ export {
32
32
  handleScheduleAction,
33
33
  isScheduleTool
34
34
  };
35
- //# sourceMappingURL=schedule-tool-6NALFGQR.mjs.map
35
+ //# sourceMappingURL=schedule-tool-WSZKJUNQ.mjs.map
@@ -6,7 +6,7 @@ import {
6
6
  extractSlackContext,
7
7
  init_schedule_tool_handler,
8
8
  isScheduleToolCall
9
- } from "./chunk-QRR6OJQN.mjs";
9
+ } from "./chunk-EYQWEVZF.mjs";
10
10
  import "./chunk-KFKHU6CM.mjs";
11
11
  import "./chunk-M3BYMES6.mjs";
12
12
  import "./chunk-LG4AUKHB.mjs";
@@ -14,7 +14,7 @@ import "./chunk-B7BVQM5K.mjs";
14
14
  import "./chunk-XXAEN5KU.mjs";
15
15
  import "./chunk-GEW6LS32.mjs";
16
16
  import "./chunk-DNDS7R3N.mjs";
17
- import "./chunk-FYK2DJK6.mjs";
17
+ import "./chunk-CPYQDJ27.mjs";
18
18
  import "./chunk-NCWIZVOT.mjs";
19
19
  import "./chunk-ZCUGMT7X.mjs";
20
20
  import "./chunk-WG7P66MJ.mjs";
@@ -36,4 +36,4 @@ export {
36
36
  extractSlackContext,
37
37
  isScheduleToolCall
38
38
  };
39
- //# sourceMappingURL=schedule-tool-handler-5K275UT6.mjs.map
39
+ //# sourceMappingURL=schedule-tool-handler-EOQBRZSD.mjs.map
@@ -6,7 +6,7 @@ import {
6
6
  extractSlackContext,
7
7
  init_schedule_tool_handler,
8
8
  isScheduleToolCall
9
- } from "./chunk-JRDGCUEG.mjs";
9
+ } from "./chunk-DXNWUIAN.mjs";
10
10
  import "./chunk-KFKHU6CM.mjs";
11
11
  import "./chunk-M3BYMES6.mjs";
12
12
  import "./chunk-LG4AUKHB.mjs";
@@ -14,7 +14,7 @@ import "./chunk-B7BVQM5K.mjs";
14
14
  import "./chunk-XXAEN5KU.mjs";
15
15
  import "./chunk-GEW6LS32.mjs";
16
16
  import "./chunk-DNDS7R3N.mjs";
17
- import "./chunk-FYK2DJK6.mjs";
17
+ import "./chunk-CPYQDJ27.mjs";
18
18
  import "./chunk-NCWIZVOT.mjs";
19
19
  import "./chunk-ZCUGMT7X.mjs";
20
20
  import "./chunk-WG7P66MJ.mjs";
@@ -36,4 +36,4 @@ export {
36
36
  extractSlackContext,
37
37
  isScheduleToolCall
38
38
  };
39
- //# sourceMappingURL=schedule-tool-handler-RLAKPPPX.mjs.map
39
+ //# sourceMappingURL=schedule-tool-handler-Q7E5NBHS.mjs.map
@@ -130,6 +130,17 @@ interface SandboxResourceConfig {
130
130
  /** CPU limit (e.g., 1.0, 0.5) */
131
131
  cpu?: number;
132
132
  }
133
+ /**
134
+ * Additional host path to bind-mount into the sandbox
135
+ */
136
+ interface SandboxBindPath {
137
+ /** Host path (supports ~ prefix for home directory) */
138
+ host: string;
139
+ /** Container path (defaults to resolved host path) */
140
+ container?: string;
141
+ /** Mount as read-only (default: true) */
142
+ read_only?: boolean;
143
+ }
133
144
  /**
134
145
  * Configuration for a single sandbox environment
135
146
  */
@@ -160,6 +171,8 @@ interface SandboxConfig {
160
171
  visor_path?: string;
161
172
  /** Cache volume configuration */
162
173
  cache?: SandboxCacheConfig;
174
+ /** Additional host paths to bind-mount into the sandbox */
175
+ bind_paths?: SandboxBindPath[];
163
176
  }
164
177
 
165
178
  /**
@@ -304,9 +317,9 @@ interface BashConfig {
304
317
  /** Array of blocked command patterns (e.g., ['rm -rf', 'sudo']) */
305
318
  deny?: string[];
306
319
  /** Disable default safe command list (use with caution) */
307
- noDefaultAllow?: boolean;
320
+ disableDefaultAllow?: boolean;
308
321
  /** Disable default dangerous command blocklist (use with extreme caution) */
309
- noDefaultDeny?: boolean;
322
+ disableDefaultDeny?: boolean;
310
323
  /** Execution timeout in milliseconds */
311
324
  timeout?: number;
312
325
  /** Default working directory for command execution */
package/dist/sdk/sdk.d.ts CHANGED
@@ -130,6 +130,17 @@ interface SandboxResourceConfig {
130
130
  /** CPU limit (e.g., 1.0, 0.5) */
131
131
  cpu?: number;
132
132
  }
133
+ /**
134
+ * Additional host path to bind-mount into the sandbox
135
+ */
136
+ interface SandboxBindPath {
137
+ /** Host path (supports ~ prefix for home directory) */
138
+ host: string;
139
+ /** Container path (defaults to resolved host path) */
140
+ container?: string;
141
+ /** Mount as read-only (default: true) */
142
+ read_only?: boolean;
143
+ }
133
144
  /**
134
145
  * Configuration for a single sandbox environment
135
146
  */
@@ -160,6 +171,8 @@ interface SandboxConfig {
160
171
  visor_path?: string;
161
172
  /** Cache volume configuration */
162
173
  cache?: SandboxCacheConfig;
174
+ /** Additional host paths to bind-mount into the sandbox */
175
+ bind_paths?: SandboxBindPath[];
163
176
  }
164
177
 
165
178
  /**
@@ -304,9 +317,9 @@ interface BashConfig {
304
317
  /** Array of blocked command patterns (e.g., ['rm -rf', 'sudo']) */
305
318
  deny?: string[];
306
319
  /** Disable default safe command list (use with caution) */
307
- noDefaultAllow?: boolean;
320
+ disableDefaultAllow?: boolean;
308
321
  /** Disable default dangerous command blocklist (use with extreme caution) */
309
- noDefaultDeny?: boolean;
322
+ disableDefaultDeny?: boolean;
310
323
  /** Execution timeout in milliseconds */
311
324
  timeout?: number;
312
325
  /** Default working directory for command execution */