@probelabs/visor 0.1.127 → 0.1.128

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 (147) hide show
  1. package/dist/ai-review-service.d.ts +1 -0
  2. package/dist/ai-review-service.d.ts.map +1 -1
  3. package/dist/docs/commands.md +1 -1
  4. package/dist/docs/timeouts.md +1 -1
  5. package/dist/generated/config-schema.d.ts +55 -9
  6. package/dist/generated/config-schema.d.ts.map +1 -1
  7. package/dist/generated/config-schema.json +59 -11
  8. package/dist/index.js +11247 -6695
  9. package/dist/output/traces/{run-2026-02-01T09-59-08-165Z.ndjson → run-2026-02-05T13-36-03-279Z.ndjson} +84 -84
  10. package/dist/output/traces/{run-2026-02-01T09-59-52-595Z.ndjson → run-2026-02-05T13-36-48-767Z.ndjson} +843 -1063
  11. package/dist/output/traces/run-2026-02-05T13-36-58-960Z.ndjson +17 -0
  12. package/dist/output/traces/run-2026-02-05T13-37-00-184Z.ndjson +205 -0
  13. package/dist/providers/ai-check-provider.d.ts +16 -0
  14. package/dist/providers/ai-check-provider.d.ts.map +1 -1
  15. package/dist/providers/command-check-provider.d.ts.map +1 -1
  16. package/dist/providers/mcp-check-provider.d.ts +3 -0
  17. package/dist/providers/mcp-check-provider.d.ts.map +1 -1
  18. package/dist/providers/mcp-custom-sse-server.d.ts +22 -2
  19. package/dist/providers/mcp-custom-sse-server.d.ts.map +1 -1
  20. package/dist/providers/workflow-check-provider.d.ts.map +1 -1
  21. package/dist/providers/workflow-tool-executor.d.ts +2 -0
  22. package/dist/providers/workflow-tool-executor.d.ts.map +1 -1
  23. package/dist/sdk/check-provider-registry-OB5FEBJU.mjs +28 -0
  24. package/dist/sdk/check-provider-registry-UC2LPSB4.mjs +28 -0
  25. package/dist/sdk/{chunk-CNX7V5JK.mjs → chunk-25IC7KXZ.mjs} +2 -2
  26. package/dist/sdk/{chunk-YSN4G6CI.mjs → chunk-4HVFUUNB.mjs} +2 -2
  27. package/dist/sdk/{chunk-3OMWVM6J.mjs → chunk-B7BVQM5K.mjs} +2 -2
  28. package/dist/sdk/{chunk-XWJPT5KQ.mjs → chunk-D55IQCUP.mjs} +63 -17
  29. package/dist/sdk/chunk-D55IQCUP.mjs.map +1 -0
  30. package/dist/sdk/{chunk-BOVFH3LI.mjs → chunk-EJN6Q4D3.mjs} +16 -7
  31. package/dist/sdk/chunk-EJN6Q4D3.mjs.map +1 -0
  32. package/dist/sdk/{chunk-WMJKH4XE.mjs → chunk-J7LXIPZS.mjs} +16 -1
  33. package/dist/sdk/{chunk-EXFGO4FX.mjs → chunk-KFKHU6CM.mjs} +2 -2
  34. package/dist/sdk/{chunk-BHOKBQPB.mjs → chunk-LMJSJQPP.mjs} +5 -5
  35. package/dist/sdk/{chunk-VW2GBXQT.mjs → chunk-N7IVCCGH.mjs} +3 -3
  36. package/dist/sdk/{chunk-O5EZDNYL.mjs → chunk-NCWIZVOT.mjs} +2 -2
  37. package/dist/sdk/{chunk-3NMLT3YS.mjs → chunk-P6YFV6N2.mjs} +3 -3
  38. package/dist/sdk/{chunk-HQL734ZI.mjs → chunk-QRXSDDYN.mjs} +3 -3
  39. package/dist/sdk/{chunk-J2QWVDXK.mjs → chunk-SIMCSNXO.mjs} +3 -3
  40. package/dist/sdk/{chunk-IHZOSIF4.mjs → chunk-UEWXVJ6C.mjs} +3 -3
  41. package/dist/sdk/{chunk-MPS4HVQI.mjs → chunk-UKG5UP5U.mjs} +8 -8
  42. package/dist/sdk/chunk-UPKHRMUA.mjs +35108 -0
  43. package/dist/sdk/chunk-UPKHRMUA.mjs.map +1 -0
  44. package/dist/sdk/chunk-V7RIRPO7.mjs +35108 -0
  45. package/dist/sdk/chunk-V7RIRPO7.mjs.map +1 -0
  46. package/dist/sdk/{chunk-EORMDOZU.mjs → chunk-VEROLBCD.mjs} +7 -7
  47. package/dist/sdk/{chunk-ZYAUYXSW.mjs → chunk-WVNQ56DO.mjs} +3 -3
  48. package/dist/sdk/{chunk-NAW3DB3I.mjs → chunk-XXAEN5KU.mjs} +3 -3
  49. package/dist/sdk/{chunk-S2RUE2RG.mjs → chunk-YCUWMIV5.mjs} +3 -3
  50. package/dist/sdk/command-executor-C4DGIQ4Q.mjs +14 -0
  51. package/dist/sdk/config-GYTBTHRZ.mjs +16 -0
  52. package/dist/sdk/config-merger-RKCZJQ44.mjs +10 -0
  53. package/dist/sdk/{event-bus-5BEVPQ6T.mjs → event-bus-XV2TOQFU.mjs} +2 -2
  54. package/dist/sdk/failure-condition-evaluator-KRFY4OLQ.mjs +17 -0
  55. package/dist/sdk/{git-repository-analyzer-HJC4MYW4.mjs → git-repository-analyzer-VO7OZMTM.mjs} +2 -2
  56. package/dist/sdk/{github-frontend-5PCKKHVC.mjs → github-frontend-UC326PMS.mjs} +11 -11
  57. package/dist/sdk/{host-H3AWNZ2F.mjs → host-H7MKML2H.mjs} +5 -5
  58. package/dist/sdk/{liquid-extensions-I7O7KMHF.mjs → liquid-extensions-WJAC7QKG.mjs} +8 -8
  59. package/dist/sdk/memory-store-LPOZWQ5E.mjs +12 -0
  60. package/dist/sdk/{metrics-7PP3EJUH.mjs → metrics-CSBGJEWW.mjs} +4 -4
  61. package/dist/sdk/{ndjson-sink-B4V4NTAQ.mjs → ndjson-sink-JQ2INHTS.mjs} +2 -2
  62. package/dist/sdk/{prompt-state-EZYOUG75.mjs → prompt-state-X2WDGSEM.mjs} +5 -5
  63. package/dist/sdk/{renderer-schema-CKFB5NDB.mjs → renderer-schema-FRCLA6KH.mjs} +4 -4
  64. package/dist/sdk/routing-745DOEKR.mjs +24 -0
  65. package/dist/sdk/sdk.d.mts +61 -3
  66. package/dist/sdk/sdk.d.ts +61 -3
  67. package/dist/sdk/sdk.js +17890 -375
  68. package/dist/sdk/sdk.js.map +1 -1
  69. package/dist/sdk/sdk.mjs +107 -34
  70. package/dist/sdk/sdk.mjs.map +1 -1
  71. package/dist/sdk/session-registry-6PV6SGEJ.mjs +10 -0
  72. package/dist/sdk/{slack-frontend-JUT3TYVC.mjs → slack-frontend-UPYUYCUQ.mjs} +5 -5
  73. package/dist/sdk/{trace-helpers-VP6QYVBX.mjs → trace-helpers-LUCR52GY.mjs} +4 -4
  74. package/dist/sdk/tracer-init-XPRWKMZT.mjs +10 -0
  75. package/dist/sdk/workflow-check-provider-AA3VNYUY.mjs +28 -0
  76. package/dist/sdk/workflow-check-provider-LQNQZUN5.mjs +28 -0
  77. package/dist/sdk/workflow-check-provider-LQNQZUN5.mjs.map +1 -0
  78. package/dist/sdk/workflow-registry-W7IEH7GK.mjs +12 -0
  79. package/dist/sdk/workflow-registry-W7IEH7GK.mjs.map +1 -0
  80. package/dist/test-runner/index.d.ts +5 -0
  81. package/dist/test-runner/index.d.ts.map +1 -1
  82. package/dist/traces/{run-2026-02-01T09-59-08-165Z.ndjson → run-2026-02-05T13-36-03-279Z.ndjson} +84 -84
  83. package/dist/traces/{run-2026-02-01T09-59-52-595Z.ndjson → run-2026-02-05T13-36-48-767Z.ndjson} +843 -1063
  84. package/dist/traces/run-2026-02-05T13-36-58-960Z.ndjson +17 -0
  85. package/dist/traces/run-2026-02-05T13-37-00-184Z.ndjson +205 -0
  86. package/dist/types/config.d.ts +61 -3
  87. package/dist/types/config.d.ts.map +1 -1
  88. package/dist/utils/sandbox.d.ts.map +1 -1
  89. package/dist/utils/workspace-manager.d.ts +22 -2
  90. package/dist/utils/workspace-manager.d.ts.map +1 -1
  91. package/dist/utils/worktree-manager.d.ts +2 -1
  92. package/dist/utils/worktree-manager.d.ts.map +1 -1
  93. package/package.json +3 -3
  94. package/dist/sdk/check-provider-registry-CVUONJ5A.mjs +0 -28
  95. package/dist/sdk/chunk-BOVFH3LI.mjs.map +0 -1
  96. package/dist/sdk/chunk-TS6BUNAI.mjs +0 -17722
  97. package/dist/sdk/chunk-TS6BUNAI.mjs.map +0 -1
  98. package/dist/sdk/chunk-XWJPT5KQ.mjs.map +0 -1
  99. package/dist/sdk/command-executor-Q7MHJKZJ.mjs +0 -14
  100. package/dist/sdk/config-DXX64GD3.mjs +0 -16
  101. package/dist/sdk/config-merger-PX3WIT57.mjs +0 -10
  102. package/dist/sdk/failure-condition-evaluator-G4HMJPXF.mjs +0 -17
  103. package/dist/sdk/memory-store-RW5N2NGJ.mjs +0 -12
  104. package/dist/sdk/routing-QHTGDIXF.mjs +0 -24
  105. package/dist/sdk/session-registry-4E6YRQ77.mjs +0 -10
  106. package/dist/sdk/tracer-init-GSLPPLCD.mjs +0 -10
  107. package/dist/sdk/workflow-check-provider-3IWBAZP7.mjs +0 -28
  108. package/dist/sdk/workflow-registry-KFWSDSLM.mjs +0 -12
  109. /package/dist/sdk/{check-provider-registry-CVUONJ5A.mjs.map → check-provider-registry-OB5FEBJU.mjs.map} +0 -0
  110. /package/dist/sdk/{chunk-WMJKH4XE.mjs.map → check-provider-registry-UC2LPSB4.mjs.map} +0 -0
  111. /package/dist/sdk/{chunk-CNX7V5JK.mjs.map → chunk-25IC7KXZ.mjs.map} +0 -0
  112. /package/dist/sdk/{chunk-YSN4G6CI.mjs.map → chunk-4HVFUUNB.mjs.map} +0 -0
  113. /package/dist/sdk/{chunk-3OMWVM6J.mjs.map → chunk-B7BVQM5K.mjs.map} +0 -0
  114. /package/dist/sdk/{command-executor-Q7MHJKZJ.mjs.map → chunk-J7LXIPZS.mjs.map} +0 -0
  115. /package/dist/sdk/{chunk-EXFGO4FX.mjs.map → chunk-KFKHU6CM.mjs.map} +0 -0
  116. /package/dist/sdk/{chunk-BHOKBQPB.mjs.map → chunk-LMJSJQPP.mjs.map} +0 -0
  117. /package/dist/sdk/{chunk-VW2GBXQT.mjs.map → chunk-N7IVCCGH.mjs.map} +0 -0
  118. /package/dist/sdk/{chunk-O5EZDNYL.mjs.map → chunk-NCWIZVOT.mjs.map} +0 -0
  119. /package/dist/sdk/{chunk-3NMLT3YS.mjs.map → chunk-P6YFV6N2.mjs.map} +0 -0
  120. /package/dist/sdk/{chunk-HQL734ZI.mjs.map → chunk-QRXSDDYN.mjs.map} +0 -0
  121. /package/dist/sdk/{chunk-J2QWVDXK.mjs.map → chunk-SIMCSNXO.mjs.map} +0 -0
  122. /package/dist/sdk/{chunk-IHZOSIF4.mjs.map → chunk-UEWXVJ6C.mjs.map} +0 -0
  123. /package/dist/sdk/{chunk-MPS4HVQI.mjs.map → chunk-UKG5UP5U.mjs.map} +0 -0
  124. /package/dist/sdk/{chunk-EORMDOZU.mjs.map → chunk-VEROLBCD.mjs.map} +0 -0
  125. /package/dist/sdk/{chunk-ZYAUYXSW.mjs.map → chunk-WVNQ56DO.mjs.map} +0 -0
  126. /package/dist/sdk/{chunk-NAW3DB3I.mjs.map → chunk-XXAEN5KU.mjs.map} +0 -0
  127. /package/dist/sdk/{chunk-S2RUE2RG.mjs.map → chunk-YCUWMIV5.mjs.map} +0 -0
  128. /package/dist/sdk/{config-DXX64GD3.mjs.map → command-executor-C4DGIQ4Q.mjs.map} +0 -0
  129. /package/dist/sdk/{config-merger-PX3WIT57.mjs.map → config-GYTBTHRZ.mjs.map} +0 -0
  130. /package/dist/sdk/{failure-condition-evaluator-G4HMJPXF.mjs.map → config-merger-RKCZJQ44.mjs.map} +0 -0
  131. /package/dist/sdk/{event-bus-5BEVPQ6T.mjs.map → event-bus-XV2TOQFU.mjs.map} +0 -0
  132. /package/dist/sdk/{liquid-extensions-I7O7KMHF.mjs.map → failure-condition-evaluator-KRFY4OLQ.mjs.map} +0 -0
  133. /package/dist/sdk/{git-repository-analyzer-HJC4MYW4.mjs.map → git-repository-analyzer-VO7OZMTM.mjs.map} +0 -0
  134. /package/dist/sdk/{github-frontend-5PCKKHVC.mjs.map → github-frontend-UC326PMS.mjs.map} +0 -0
  135. /package/dist/sdk/{host-H3AWNZ2F.mjs.map → host-H7MKML2H.mjs.map} +0 -0
  136. /package/dist/sdk/{memory-store-RW5N2NGJ.mjs.map → liquid-extensions-WJAC7QKG.mjs.map} +0 -0
  137. /package/dist/sdk/{metrics-7PP3EJUH.mjs.map → memory-store-LPOZWQ5E.mjs.map} +0 -0
  138. /package/dist/sdk/{prompt-state-EZYOUG75.mjs.map → metrics-CSBGJEWW.mjs.map} +0 -0
  139. /package/dist/sdk/{ndjson-sink-B4V4NTAQ.mjs.map → ndjson-sink-JQ2INHTS.mjs.map} +0 -0
  140. /package/dist/sdk/{routing-QHTGDIXF.mjs.map → prompt-state-X2WDGSEM.mjs.map} +0 -0
  141. /package/dist/sdk/{renderer-schema-CKFB5NDB.mjs.map → renderer-schema-FRCLA6KH.mjs.map} +0 -0
  142. /package/dist/sdk/{session-registry-4E6YRQ77.mjs.map → routing-745DOEKR.mjs.map} +0 -0
  143. /package/dist/sdk/{trace-helpers-VP6QYVBX.mjs.map → session-registry-6PV6SGEJ.mjs.map} +0 -0
  144. /package/dist/sdk/{slack-frontend-JUT3TYVC.mjs.map → slack-frontend-UPYUYCUQ.mjs.map} +0 -0
  145. /package/dist/sdk/{tracer-init-GSLPPLCD.mjs.map → trace-helpers-LUCR52GY.mjs.map} +0 -0
  146. /package/dist/sdk/{workflow-check-provider-3IWBAZP7.mjs.map → tracer-init-XPRWKMZT.mjs.map} +0 -0
  147. /package/dist/sdk/{workflow-registry-KFWSDSLM.mjs.map → workflow-check-provider-AA3VNYUY.mjs.map} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  FailureConditionEvaluator,
3
3
  init_failure_condition_evaluator
4
- } from "./chunk-MPS4HVQI.mjs";
4
+ } from "./chunk-UKG5UP5U.mjs";
5
5
  import {
6
6
  addEvent,
7
7
  init_trace_helpers
8
- } from "./chunk-ZYAUYXSW.mjs";
8
+ } from "./chunk-WVNQ56DO.mjs";
9
9
  import {
10
10
  compileAndRun,
11
11
  createSecureSandbox,
12
12
  init_sandbox
13
- } from "./chunk-BOVFH3LI.mjs";
13
+ } from "./chunk-EJN6Q4D3.mjs";
14
14
  import {
15
15
  MemoryStore,
16
16
  init_memory_store
17
- } from "./chunk-IHZOSIF4.mjs";
17
+ } from "./chunk-UEWXVJ6C.mjs";
18
18
  import {
19
19
  init_logger,
20
20
  logger
21
- } from "./chunk-3NMLT3YS.mjs";
21
+ } from "./chunk-P6YFV6N2.mjs";
22
22
  import {
23
23
  __esm,
24
24
  __export,
25
25
  __toCommonJS
26
- } from "./chunk-WMJKH4XE.mjs";
26
+ } from "./chunk-J7LXIPZS.mjs";
27
27
 
28
28
  // src/snapshot-store.ts
29
29
  var snapshot_store_exports = {};
@@ -1412,4 +1412,4 @@ export {
1412
1412
  evaluateTransitions,
1413
1413
  init_routing
1414
1414
  };
1415
- //# sourceMappingURL=chunk-EORMDOZU.mjs.map
1415
+ //# sourceMappingURL=chunk-VEROLBCD.mjs.map
@@ -3,13 +3,13 @@ import {
3
3
  context,
4
4
  init_lazy_otel,
5
5
  trace
6
- } from "./chunk-YSN4G6CI.mjs";
6
+ } from "./chunk-4HVFUUNB.mjs";
7
7
  import {
8
8
  __esm,
9
9
  __export,
10
10
  __require,
11
11
  __toCommonJS
12
- } from "./chunk-WMJKH4XE.mjs";
12
+ } from "./chunk-J7LXIPZS.mjs";
13
13
 
14
14
  // src/telemetry/fallback-ndjson.ts
15
15
  var fallback_ndjson_exports = {};
@@ -203,4 +203,4 @@ export {
203
203
  _appendRunMarker,
204
204
  init_trace_helpers
205
205
  };
206
- //# sourceMappingURL=chunk-ZYAUYXSW.mjs.map
206
+ //# sourceMappingURL=chunk-WVNQ56DO.mjs.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __esm,
3
3
  __export
4
- } from "./chunk-WMJKH4XE.mjs";
4
+ } from "./chunk-J7LXIPZS.mjs";
5
5
 
6
6
  // src/session-registry.ts
7
7
  var session_registry_exports = {};
@@ -114,7 +114,7 @@ var init_session_registry = __esm({
114
114
  });
115
115
  if (sourceAgent.debug && checkName) {
116
116
  try {
117
- const { initializeTracer } = await import("./tracer-init-GSLPPLCD.mjs");
117
+ const { initializeTracer } = await import("./tracer-init-XPRWKMZT.mjs");
118
118
  const tracerResult = await initializeTracer(newSessionId, checkName);
119
119
  if (tracerResult) {
120
120
  clonedAgent.tracer = tracerResult.tracer;
@@ -194,4 +194,4 @@ export {
194
194
  session_registry_exports,
195
195
  init_session_registry
196
196
  };
197
- //# sourceMappingURL=chunk-NAW3DB3I.mjs.map
197
+ //# sourceMappingURL=chunk-XXAEN5KU.mjs.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  init_lazy_otel,
3
3
  metrics
4
- } from "./chunk-YSN4G6CI.mjs";
4
+ } from "./chunk-4HVFUUNB.mjs";
5
5
  import {
6
6
  __esm
7
- } from "./chunk-WMJKH4XE.mjs";
7
+ } from "./chunk-J7LXIPZS.mjs";
8
8
 
9
9
  // src/telemetry/metrics.ts
10
10
  function ensureInstruments() {
@@ -142,4 +142,4 @@ export {
142
142
  resetTestMetricsSnapshot,
143
143
  init_metrics
144
144
  };
145
- //# sourceMappingURL=chunk-S2RUE2RG.mjs.map
145
+ //# sourceMappingURL=chunk-YCUWMIV5.mjs.map
@@ -0,0 +1,14 @@
1
+ import {
2
+ CommandExecutor,
3
+ commandExecutor,
4
+ init_command_executor
5
+ } from "./chunk-SIMCSNXO.mjs";
6
+ import "./chunk-P6YFV6N2.mjs";
7
+ import "./chunk-4HVFUUNB.mjs";
8
+ import "./chunk-J7LXIPZS.mjs";
9
+ init_command_executor();
10
+ export {
11
+ CommandExecutor,
12
+ commandExecutor
13
+ };
14
+ //# sourceMappingURL=command-executor-C4DGIQ4Q.mjs.map
@@ -0,0 +1,16 @@
1
+ import {
2
+ ConfigManager,
3
+ VALID_EVENT_TRIGGERS,
4
+ init_config
5
+ } from "./chunk-D55IQCUP.mjs";
6
+ import "./chunk-NCWIZVOT.mjs";
7
+ import "./chunk-EJN6Q4D3.mjs";
8
+ import "./chunk-P6YFV6N2.mjs";
9
+ import "./chunk-4HVFUUNB.mjs";
10
+ import "./chunk-J7LXIPZS.mjs";
11
+ init_config();
12
+ export {
13
+ ConfigManager,
14
+ VALID_EVENT_TRIGGERS
15
+ };
16
+ //# sourceMappingURL=config-GYTBTHRZ.mjs.map
@@ -0,0 +1,10 @@
1
+ import {
2
+ ConfigMerger,
3
+ init_config_merger
4
+ } from "./chunk-NCWIZVOT.mjs";
5
+ import "./chunk-J7LXIPZS.mjs";
6
+ init_config_merger();
7
+ export {
8
+ ConfigMerger
9
+ };
10
+ //# sourceMappingURL=config-merger-RKCZJQ44.mjs.map
@@ -1,4 +1,4 @@
1
- import "./chunk-WMJKH4XE.mjs";
1
+ import "./chunk-J7LXIPZS.mjs";
2
2
 
3
3
  // src/event-bus/event-bus.ts
4
4
  var EventBus = class {
@@ -32,4 +32,4 @@ var EventBus = class {
32
32
  export {
33
33
  EventBus
34
34
  };
35
- //# sourceMappingURL=event-bus-5BEVPQ6T.mjs.map
35
+ //# sourceMappingURL=event-bus-XV2TOQFU.mjs.map
@@ -0,0 +1,17 @@
1
+ import {
2
+ FailureConditionEvaluator,
3
+ init_failure_condition_evaluator
4
+ } from "./chunk-UKG5UP5U.mjs";
5
+ import "./chunk-WVNQ56DO.mjs";
6
+ import "./chunk-YCUWMIV5.mjs";
7
+ import "./chunk-25IC7KXZ.mjs";
8
+ import "./chunk-EJN6Q4D3.mjs";
9
+ import "./chunk-UEWXVJ6C.mjs";
10
+ import "./chunk-P6YFV6N2.mjs";
11
+ import "./chunk-4HVFUUNB.mjs";
12
+ import "./chunk-J7LXIPZS.mjs";
13
+ init_failure_condition_evaluator();
14
+ export {
15
+ FailureConditionEvaluator
16
+ };
17
+ //# sourceMappingURL=failure-condition-evaluator-KRFY4OLQ.mjs.map
@@ -1,4 +1,4 @@
1
- import "./chunk-WMJKH4XE.mjs";
1
+ import "./chunk-J7LXIPZS.mjs";
2
2
 
3
3
  // src/git-repository-analyzer.ts
4
4
  import { simpleGit } from "simple-git";
@@ -455,4 +455,4 @@ ${file.patch}`).join("\n\n");
455
455
  export {
456
456
  GitRepositoryAnalyzer
457
457
  };
458
- //# sourceMappingURL=git-repository-analyzer-HJC4MYW4.mjs.map
458
+ //# sourceMappingURL=git-repository-analyzer-VO7OZMTM.mjs.map
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  generateShortHumanId,
3
3
  init_human_id
4
- } from "./chunk-EXFGO4FX.mjs";
4
+ } from "./chunk-KFKHU6CM.mjs";
5
5
  import {
6
6
  failure_condition_evaluator_exports,
7
7
  init_failure_condition_evaluator
8
- } from "./chunk-MPS4HVQI.mjs";
9
- import "./chunk-ZYAUYXSW.mjs";
10
- import "./chunk-S2RUE2RG.mjs";
11
- import "./chunk-CNX7V5JK.mjs";
12
- import "./chunk-BOVFH3LI.mjs";
13
- import "./chunk-IHZOSIF4.mjs";
8
+ } from "./chunk-UKG5UP5U.mjs";
9
+ import "./chunk-WVNQ56DO.mjs";
10
+ import "./chunk-YCUWMIV5.mjs";
11
+ import "./chunk-25IC7KXZ.mjs";
12
+ import "./chunk-EJN6Q4D3.mjs";
13
+ import "./chunk-UEWXVJ6C.mjs";
14
14
  import {
15
15
  init_logger,
16
16
  logger
17
- } from "./chunk-3NMLT3YS.mjs";
18
- import "./chunk-YSN4G6CI.mjs";
17
+ } from "./chunk-P6YFV6N2.mjs";
18
+ import "./chunk-4HVFUUNB.mjs";
19
19
  import {
20
20
  __esm,
21
21
  __export,
22
22
  __toCommonJS
23
- } from "./chunk-WMJKH4XE.mjs";
23
+ } from "./chunk-J7LXIPZS.mjs";
24
24
 
25
25
  // src/footer.ts
26
26
  function generateFooter(options = {}) {
@@ -1421,4 +1421,4 @@ ${blocks}
1421
1421
  export {
1422
1422
  GitHubFrontend
1423
1423
  };
1424
- //# sourceMappingURL=github-frontend-5PCKKHVC.mjs.map
1424
+ //# sourceMappingURL=github-frontend-UC326PMS.mjs.map
@@ -1,4 +1,4 @@
1
- import "./chunk-WMJKH4XE.mjs";
1
+ import "./chunk-J7LXIPZS.mjs";
2
2
 
3
3
  // src/frontends/host.ts
4
4
  var FrontendsHost = class {
@@ -13,13 +13,13 @@ var FrontendsHost = class {
13
13
  this.frontends = [];
14
14
  for (const spec of specs) {
15
15
  if (spec.name === "ndjson-sink") {
16
- const { NdjsonSink } = await import("./ndjson-sink-B4V4NTAQ.mjs");
16
+ const { NdjsonSink } = await import("./ndjson-sink-JQ2INHTS.mjs");
17
17
  this.frontends.push(new NdjsonSink(spec.config));
18
18
  } else if (spec.name === "github") {
19
- const { GitHubFrontend } = await import("./github-frontend-5PCKKHVC.mjs");
19
+ const { GitHubFrontend } = await import("./github-frontend-UC326PMS.mjs");
20
20
  this.frontends.push(new GitHubFrontend());
21
21
  } else if (spec.name === "slack") {
22
- const { SlackFrontend } = await import("./slack-frontend-JUT3TYVC.mjs");
22
+ const { SlackFrontend } = await import("./slack-frontend-UPYUYCUQ.mjs");
23
23
  this.frontends.push(new SlackFrontend(spec.config));
24
24
  } else {
25
25
  this.log.warn(`[FrontendsHost] Unknown frontend '${spec.name}', skipping`);
@@ -49,4 +49,4 @@ var FrontendsHost = class {
49
49
  export {
50
50
  FrontendsHost
51
51
  };
52
- //# sourceMappingURL=host-H3AWNZ2F.mjs.map
52
+ //# sourceMappingURL=host-H7MKML2H.mjs.map
@@ -6,13 +6,13 @@ import {
6
6
  sanitizeLabel,
7
7
  sanitizeLabelList,
8
8
  withPermissionsContext
9
- } from "./chunk-BHOKBQPB.mjs";
10
- import "./chunk-CNX7V5JK.mjs";
11
- import "./chunk-BOVFH3LI.mjs";
12
- import "./chunk-IHZOSIF4.mjs";
13
- import "./chunk-3NMLT3YS.mjs";
14
- import "./chunk-YSN4G6CI.mjs";
15
- import "./chunk-WMJKH4XE.mjs";
9
+ } from "./chunk-LMJSJQPP.mjs";
10
+ import "./chunk-25IC7KXZ.mjs";
11
+ import "./chunk-EJN6Q4D3.mjs";
12
+ import "./chunk-UEWXVJ6C.mjs";
13
+ import "./chunk-P6YFV6N2.mjs";
14
+ import "./chunk-4HVFUUNB.mjs";
15
+ import "./chunk-J7LXIPZS.mjs";
16
16
  init_liquid_extensions();
17
17
  export {
18
18
  ReadFileTag,
@@ -22,4 +22,4 @@ export {
22
22
  sanitizeLabelList,
23
23
  withPermissionsContext
24
24
  };
25
- //# sourceMappingURL=liquid-extensions-I7O7KMHF.mjs.map
25
+ //# sourceMappingURL=liquid-extensions-WJAC7QKG.mjs.map
@@ -0,0 +1,12 @@
1
+ import {
2
+ MemoryStore,
3
+ init_memory_store
4
+ } from "./chunk-UEWXVJ6C.mjs";
5
+ import "./chunk-P6YFV6N2.mjs";
6
+ import "./chunk-4HVFUUNB.mjs";
7
+ import "./chunk-J7LXIPZS.mjs";
8
+ init_memory_store();
9
+ export {
10
+ MemoryStore
11
+ };
12
+ //# sourceMappingURL=memory-store-LPOZWQ5E.mjs.map
@@ -10,9 +10,9 @@ import {
10
10
  recordForEachDuration,
11
11
  recordProviderDuration,
12
12
  resetTestMetricsSnapshot
13
- } from "./chunk-S2RUE2RG.mjs";
14
- import "./chunk-YSN4G6CI.mjs";
15
- import "./chunk-WMJKH4XE.mjs";
13
+ } from "./chunk-YCUWMIV5.mjs";
14
+ import "./chunk-4HVFUUNB.mjs";
15
+ import "./chunk-J7LXIPZS.mjs";
16
16
  init_metrics();
17
17
  export {
18
18
  addDiagramBlock,
@@ -26,4 +26,4 @@ export {
26
26
  recordProviderDuration,
27
27
  resetTestMetricsSnapshot
28
28
  };
29
- //# sourceMappingURL=metrics-7PP3EJUH.mjs.map
29
+ //# sourceMappingURL=metrics-CSBGJEWW.mjs.map
@@ -1,4 +1,4 @@
1
- import "./chunk-WMJKH4XE.mjs";
1
+ import "./chunk-J7LXIPZS.mjs";
2
2
 
3
3
  // src/frontends/ndjson-sink.ts
4
4
  import fs from "fs";
@@ -41,4 +41,4 @@ var NdjsonSink = class {
41
41
  export {
42
42
  NdjsonSink
43
43
  };
44
- //# sourceMappingURL=ndjson-sink-B4V4NTAQ.mjs.map
44
+ //# sourceMappingURL=ndjson-sink-JQ2INHTS.mjs.map
@@ -3,14 +3,14 @@ import {
3
3
  getPromptStateManager,
4
4
  init_prompt_state,
5
5
  resetPromptStateManager
6
- } from "./chunk-HQL734ZI.mjs";
7
- import "./chunk-3NMLT3YS.mjs";
8
- import "./chunk-YSN4G6CI.mjs";
9
- import "./chunk-WMJKH4XE.mjs";
6
+ } from "./chunk-QRXSDDYN.mjs";
7
+ import "./chunk-P6YFV6N2.mjs";
8
+ import "./chunk-4HVFUUNB.mjs";
9
+ import "./chunk-J7LXIPZS.mjs";
10
10
  init_prompt_state();
11
11
  export {
12
12
  PromptStateManager,
13
13
  getPromptStateManager,
14
14
  resetPromptStateManager
15
15
  };
16
- //# sourceMappingURL=prompt-state-EZYOUG75.mjs.map
16
+ //# sourceMappingURL=prompt-state-X2WDGSEM.mjs.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  init_logger,
3
3
  logger
4
- } from "./chunk-3NMLT3YS.mjs";
5
- import "./chunk-YSN4G6CI.mjs";
4
+ } from "./chunk-P6YFV6N2.mjs";
5
+ import "./chunk-4HVFUUNB.mjs";
6
6
  import {
7
7
  __esm
8
- } from "./chunk-WMJKH4XE.mjs";
8
+ } from "./chunk-J7LXIPZS.mjs";
9
9
 
10
10
  // src/state-machine/dispatch/renderer-schema.ts
11
11
  async function loadRendererSchema(name) {
@@ -48,4 +48,4 @@ init_renderer_schema();
48
48
  export {
49
49
  loadRendererSchema
50
50
  };
51
- //# sourceMappingURL=renderer-schema-CKFB5NDB.mjs.map
51
+ //# sourceMappingURL=renderer-schema-FRCLA6KH.mjs.map
@@ -0,0 +1,24 @@
1
+ import {
2
+ checkLoopBudget,
3
+ evaluateGoto,
4
+ evaluateTransitions,
5
+ handleRouting,
6
+ init_routing
7
+ } from "./chunk-VEROLBCD.mjs";
8
+ import "./chunk-UKG5UP5U.mjs";
9
+ import "./chunk-WVNQ56DO.mjs";
10
+ import "./chunk-YCUWMIV5.mjs";
11
+ import "./chunk-25IC7KXZ.mjs";
12
+ import "./chunk-EJN6Q4D3.mjs";
13
+ import "./chunk-UEWXVJ6C.mjs";
14
+ import "./chunk-P6YFV6N2.mjs";
15
+ import "./chunk-4HVFUUNB.mjs";
16
+ import "./chunk-J7LXIPZS.mjs";
17
+ init_routing();
18
+ export {
19
+ checkLoopBudget,
20
+ evaluateGoto,
21
+ evaluateTransitions,
22
+ handleRouting
23
+ };
24
+ //# sourceMappingURL=routing-745DOEKR.mjs.map
@@ -250,6 +250,8 @@ interface AIProviderConfig {
250
250
  mcpServers?: Record<string, McpServerConfig>;
251
251
  /** Enable the delegate tool for task distribution to subagents */
252
252
  enableDelegate?: boolean;
253
+ /** Enable task management for tracking multi-goal requests */
254
+ enableTasks?: boolean;
253
255
  /** Retry configuration for this provider */
254
256
  retry?: AIRetryConfig;
255
257
  /** Fallback configuration for provider failures */
@@ -268,15 +270,35 @@ interface AIProviderConfig {
268
270
  completion_prompt?: string;
269
271
  }
270
272
  /**
271
- * MCP Server configuration
273
+ * Unified MCP server/tool entry - type detected by which properties are present
274
+ *
275
+ * Detection logic (priority order):
276
+ * 1. Has `command` → stdio MCP server (external process)
277
+ * 2. Has `url` → SSE/HTTP MCP server (external endpoint)
278
+ * 3. Has `workflow` → workflow tool reference
279
+ * 4. Empty `{}` or just key → auto-detect from `tools:` section
272
280
  */
273
281
  interface McpServerConfig {
274
- /** Command to execute for the MCP server */
275
- command: string;
282
+ /** Command to execute (presence indicates stdio server) */
283
+ command?: string;
276
284
  /** Arguments to pass to the command */
277
285
  args?: string[];
278
286
  /** Environment variables for the MCP server */
279
287
  env?: Record<string, string>;
288
+ /** URL endpoint (presence indicates external server) */
289
+ url?: string;
290
+ /** Transport type */
291
+ transport?: 'stdio' | 'sse' | 'http';
292
+ /** Workflow ID or path (presence indicates workflow tool) */
293
+ workflow?: string;
294
+ /** Inputs to pass to workflow */
295
+ inputs?: Record<string, unknown>;
296
+ /** Tool description for AI */
297
+ description?: string;
298
+ /** Whitelist specific methods from this MCP server (supports wildcards like "search_*") */
299
+ allowedMethods?: string[];
300
+ /** Block specific methods from this MCP server (supports wildcards like "*_delete") */
301
+ blockedMethods?: string[];
280
302
  }
281
303
  /**
282
304
  * Claude Code configuration
@@ -362,8 +384,44 @@ interface CheckConfig {
362
384
  ai_custom_prompt?: string;
363
385
  /** MCP servers for this AI check - overrides global setting */
364
386
  ai_mcp_servers?: Record<string, McpServerConfig>;
387
+ /**
388
+ * JavaScript expression to dynamically compute MCP servers for this AI check.
389
+ * Expression has access to: outputs, inputs, pr, files, env, memory
390
+ * Must return an object mapping server names to McpServerConfig objects.
391
+ *
392
+ * Example:
393
+ * ```
394
+ * const servers = {};
395
+ * const tags = outputs['route-intent']?.tags || [];
396
+ * if (tags.includes('jira')) {
397
+ * servers.jira = {
398
+ * command: "npx",
399
+ * args: ["-y", "@aashari/mcp-server-atlassian-jira"],
400
+ * env: { ATLASSIAN_SITE_NAME: "mysite" }
401
+ * };
402
+ * }
403
+ * return servers;
404
+ * ```
405
+ */
406
+ ai_mcp_servers_js?: string;
365
407
  /** List of custom tool names to expose to this AI check via ephemeral SSE MCP server */
366
408
  ai_custom_tools?: string[];
409
+ /**
410
+ * JavaScript expression to dynamically compute custom tools for this AI check.
411
+ * Expression has access to: outputs, inputs, pr, files, env, memory
412
+ * Must return an array of tool names (strings) or WorkflowToolReference objects
413
+ * ({ workflow: string, args?: Record<string, unknown> })
414
+ *
415
+ * Example:
416
+ * ```
417
+ * const tools = [];
418
+ * if (outputs['route-intent'].intent === 'engineer') {
419
+ * tools.push({ workflow: 'engineer', args: { projects: ['tyk'] } });
420
+ * }
421
+ * return tools;
422
+ * ```
423
+ */
424
+ ai_custom_tools_js?: string;
367
425
  /** Claude Code configuration (for claude-code type checks) */
368
426
  claude_code?: ClaudeCodeConfig;
369
427
  /** Environment variables for this check */
package/dist/sdk/sdk.d.ts CHANGED
@@ -250,6 +250,8 @@ interface AIProviderConfig {
250
250
  mcpServers?: Record<string, McpServerConfig>;
251
251
  /** Enable the delegate tool for task distribution to subagents */
252
252
  enableDelegate?: boolean;
253
+ /** Enable task management for tracking multi-goal requests */
254
+ enableTasks?: boolean;
253
255
  /** Retry configuration for this provider */
254
256
  retry?: AIRetryConfig;
255
257
  /** Fallback configuration for provider failures */
@@ -268,15 +270,35 @@ interface AIProviderConfig {
268
270
  completion_prompt?: string;
269
271
  }
270
272
  /**
271
- * MCP Server configuration
273
+ * Unified MCP server/tool entry - type detected by which properties are present
274
+ *
275
+ * Detection logic (priority order):
276
+ * 1. Has `command` → stdio MCP server (external process)
277
+ * 2. Has `url` → SSE/HTTP MCP server (external endpoint)
278
+ * 3. Has `workflow` → workflow tool reference
279
+ * 4. Empty `{}` or just key → auto-detect from `tools:` section
272
280
  */
273
281
  interface McpServerConfig {
274
- /** Command to execute for the MCP server */
275
- command: string;
282
+ /** Command to execute (presence indicates stdio server) */
283
+ command?: string;
276
284
  /** Arguments to pass to the command */
277
285
  args?: string[];
278
286
  /** Environment variables for the MCP server */
279
287
  env?: Record<string, string>;
288
+ /** URL endpoint (presence indicates external server) */
289
+ url?: string;
290
+ /** Transport type */
291
+ transport?: 'stdio' | 'sse' | 'http';
292
+ /** Workflow ID or path (presence indicates workflow tool) */
293
+ workflow?: string;
294
+ /** Inputs to pass to workflow */
295
+ inputs?: Record<string, unknown>;
296
+ /** Tool description for AI */
297
+ description?: string;
298
+ /** Whitelist specific methods from this MCP server (supports wildcards like "search_*") */
299
+ allowedMethods?: string[];
300
+ /** Block specific methods from this MCP server (supports wildcards like "*_delete") */
301
+ blockedMethods?: string[];
280
302
  }
281
303
  /**
282
304
  * Claude Code configuration
@@ -362,8 +384,44 @@ interface CheckConfig {
362
384
  ai_custom_prompt?: string;
363
385
  /** MCP servers for this AI check - overrides global setting */
364
386
  ai_mcp_servers?: Record<string, McpServerConfig>;
387
+ /**
388
+ * JavaScript expression to dynamically compute MCP servers for this AI check.
389
+ * Expression has access to: outputs, inputs, pr, files, env, memory
390
+ * Must return an object mapping server names to McpServerConfig objects.
391
+ *
392
+ * Example:
393
+ * ```
394
+ * const servers = {};
395
+ * const tags = outputs['route-intent']?.tags || [];
396
+ * if (tags.includes('jira')) {
397
+ * servers.jira = {
398
+ * command: "npx",
399
+ * args: ["-y", "@aashari/mcp-server-atlassian-jira"],
400
+ * env: { ATLASSIAN_SITE_NAME: "mysite" }
401
+ * };
402
+ * }
403
+ * return servers;
404
+ * ```
405
+ */
406
+ ai_mcp_servers_js?: string;
365
407
  /** List of custom tool names to expose to this AI check via ephemeral SSE MCP server */
366
408
  ai_custom_tools?: string[];
409
+ /**
410
+ * JavaScript expression to dynamically compute custom tools for this AI check.
411
+ * Expression has access to: outputs, inputs, pr, files, env, memory
412
+ * Must return an array of tool names (strings) or WorkflowToolReference objects
413
+ * ({ workflow: string, args?: Record<string, unknown> })
414
+ *
415
+ * Example:
416
+ * ```
417
+ * const tools = [];
418
+ * if (outputs['route-intent'].intent === 'engineer') {
419
+ * tools.push({ workflow: 'engineer', args: { projects: ['tyk'] } });
420
+ * }
421
+ * return tools;
422
+ * ```
423
+ */
424
+ ai_custom_tools_js?: string;
367
425
  /** Claude Code configuration (for claude-code type checks) */
368
426
  claude_code?: ClaudeCodeConfig;
369
427
  /** Environment variables for this check */