@probelabs/visor 0.1.188-ee → 0.1.189-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 (28) hide show
  1. package/dist/generated/config-schema.d.ts +4 -0
  2. package/dist/generated/config-schema.d.ts.map +1 -1
  3. package/dist/index.js +17 -4
  4. package/dist/providers/ai-check-provider.d.ts.map +1 -1
  5. package/dist/sdk/{check-provider-registry-QUUL6JI2.mjs → check-provider-registry-IAELLOZG.mjs} +3 -3
  6. package/dist/sdk/{chunk-HQCCT6WP.mjs → chunk-KHKXPX5U.mjs} +17 -9
  7. package/dist/sdk/chunk-KHKXPX5U.mjs.map +1 -0
  8. package/dist/sdk/{chunk-YTG5DN72.mjs → chunk-SEILOYKH.mjs} +5 -1
  9. package/dist/sdk/chunk-SEILOYKH.mjs.map +1 -0
  10. package/dist/sdk/{config-H5IOLBFA.mjs → config-QIGISFEC.mjs} +2 -2
  11. package/dist/sdk/{schedule-tool-ODMIDBMT.mjs → schedule-tool-XAIYY2M3.mjs} +3 -3
  12. package/dist/sdk/{schedule-tool-handler-IQSKBFLS.mjs → schedule-tool-handler-AWA7PXYF.mjs} +3 -3
  13. package/dist/sdk/sdk.d.mts +2 -0
  14. package/dist/sdk/sdk.d.ts +2 -0
  15. package/dist/sdk/sdk.js +12 -0
  16. package/dist/sdk/sdk.js.map +1 -1
  17. package/dist/sdk/sdk.mjs +2 -2
  18. package/dist/sdk/{workflow-check-provider-XOWQYWTC.mjs → workflow-check-provider-JLSARQZC.mjs} +3 -3
  19. package/dist/types/config.d.ts +2 -0
  20. package/dist/types/config.d.ts.map +1 -1
  21. package/package.json +1 -1
  22. package/dist/sdk/chunk-HQCCT6WP.mjs.map +0 -1
  23. package/dist/sdk/chunk-YTG5DN72.mjs.map +0 -1
  24. /package/dist/sdk/{check-provider-registry-QUUL6JI2.mjs.map → check-provider-registry-IAELLOZG.mjs.map} +0 -0
  25. /package/dist/sdk/{config-H5IOLBFA.mjs.map → config-QIGISFEC.mjs.map} +0 -0
  26. /package/dist/sdk/{schedule-tool-ODMIDBMT.mjs.map → schedule-tool-XAIYY2M3.mjs.map} +0 -0
  27. /package/dist/sdk/{schedule-tool-handler-IQSKBFLS.mjs.map → schedule-tool-handler-AWA7PXYF.mjs.map} +0 -0
  28. /package/dist/sdk/{workflow-check-provider-XOWQYWTC.mjs.map → workflow-check-provider-JLSARQZC.mjs.map} +0 -0
@@ -2,7 +2,7 @@ import {
2
2
  ConfigManager,
3
3
  VALID_EVENT_TRIGGERS,
4
4
  init_config
5
- } from "./chunk-YTG5DN72.mjs";
5
+ } from "./chunk-SEILOYKH.mjs";
6
6
  import "./chunk-KWTCTEFT.mjs";
7
7
  import "./chunk-LW3INISN.mjs";
8
8
  import "./chunk-6E625R3C.mjs";
@@ -13,4 +13,4 @@ export {
13
13
  ConfigManager,
14
14
  VALID_EVENT_TRIGGERS
15
15
  };
16
- //# sourceMappingURL=config-H5IOLBFA.mjs.map
16
+ //# sourceMappingURL=config-QIGISFEC.mjs.map
@@ -4,7 +4,7 @@ import {
4
4
  handleScheduleAction,
5
5
  init_schedule_tool,
6
6
  isScheduleTool
7
- } from "./chunk-HQCCT6WP.mjs";
7
+ } from "./chunk-KHKXPX5U.mjs";
8
8
  import "./chunk-YSOIR46P.mjs";
9
9
  import "./chunk-QT766ZLD.mjs";
10
10
  import "./chunk-2LLKENYD.mjs";
@@ -17,7 +17,7 @@ import "./chunk-B7BVQM5K.mjs";
17
17
  import "./chunk-77AKSSW2.mjs";
18
18
  import "./chunk-ZNKL6ESZ.mjs";
19
19
  import "./chunk-4ZLYHSN4.mjs";
20
- import "./chunk-YTG5DN72.mjs";
20
+ import "./chunk-SEILOYKH.mjs";
21
21
  import "./chunk-KWTCTEFT.mjs";
22
22
  import "./chunk-BBLBZVWC.mjs";
23
23
  import "./chunk-PZADRRLX.mjs";
@@ -38,4 +38,4 @@ export {
38
38
  handleScheduleAction,
39
39
  isScheduleTool
40
40
  };
41
- //# sourceMappingURL=schedule-tool-ODMIDBMT.mjs.map
41
+ //# sourceMappingURL=schedule-tool-XAIYY2M3.mjs.map
@@ -6,7 +6,7 @@ import {
6
6
  extractSlackContext,
7
7
  init_schedule_tool_handler,
8
8
  isScheduleToolCall
9
- } from "./chunk-HQCCT6WP.mjs";
9
+ } from "./chunk-KHKXPX5U.mjs";
10
10
  import "./chunk-YSOIR46P.mjs";
11
11
  import "./chunk-QT766ZLD.mjs";
12
12
  import "./chunk-2LLKENYD.mjs";
@@ -19,7 +19,7 @@ import "./chunk-B7BVQM5K.mjs";
19
19
  import "./chunk-77AKSSW2.mjs";
20
20
  import "./chunk-ZNKL6ESZ.mjs";
21
21
  import "./chunk-4ZLYHSN4.mjs";
22
- import "./chunk-YTG5DN72.mjs";
22
+ import "./chunk-SEILOYKH.mjs";
23
23
  import "./chunk-KWTCTEFT.mjs";
24
24
  import "./chunk-BBLBZVWC.mjs";
25
25
  import "./chunk-PZADRRLX.mjs";
@@ -42,4 +42,4 @@ export {
42
42
  extractSlackContext,
43
43
  isScheduleToolCall
44
44
  };
45
- //# sourceMappingURL=schedule-tool-handler-IQSKBFLS.mjs.map
45
+ //# sourceMappingURL=schedule-tool-handler-AWA7PXYF.mjs.map
@@ -629,6 +629,8 @@ interface McpServerConfig {
629
629
  url?: string;
630
630
  /** Transport type */
631
631
  transport?: 'stdio' | 'sse' | 'http';
632
+ /** HTTP headers for SSE/HTTP transport (e.g. Authorization) */
633
+ headers?: Record<string, string>;
632
634
  /** Workflow ID or path (presence indicates workflow tool) */
633
635
  workflow?: string;
634
636
  /** Inputs to pass to workflow */
package/dist/sdk/sdk.d.ts CHANGED
@@ -629,6 +629,8 @@ interface McpServerConfig {
629
629
  url?: string;
630
630
  /** Transport type */
631
631
  transport?: 'stdio' | 'sse' | 'http';
632
+ /** HTTP headers for SSE/HTTP transport (e.g. Authorization) */
633
+ headers?: Record<string, string>;
632
634
  /** Workflow ID or path (presence indicates workflow tool) */
633
635
  workflow?: string;
634
636
  /** Inputs to pass to workflow */
package/dist/sdk/sdk.js CHANGED
@@ -17133,6 +17133,10 @@ var init_config_schema = __esm({
17133
17133
  enum: ["stdio", "sse", "http"],
17134
17134
  description: "Transport type"
17135
17135
  },
17136
+ headers: {
17137
+ $ref: "#/definitions/Record%3Cstring%2Cstring%3E",
17138
+ description: "HTTP headers for SSE/HTTP transport (e.g. Authorization). Supports ${VAR} env var substitution."
17139
+ },
17136
17140
  workflow: {
17137
17141
  type: "string",
17138
17142
  description: "Workflow ID or path (presence indicates workflow tool)"
@@ -32623,6 +32627,14 @@ ${preview}`);
32623
32627
  }
32624
32628
  serverConfig.env = resolvedEnv;
32625
32629
  }
32630
+ const headers = serverConfig.headers;
32631
+ if (headers && typeof headers === "object") {
32632
+ for (const [key, value] of Object.entries(headers)) {
32633
+ if (typeof value === "string") {
32634
+ headers[key] = String(EnvironmentResolver.resolveValue(value));
32635
+ }
32636
+ }
32637
+ }
32626
32638
  }
32627
32639
  let customToolsServer = null;
32628
32640
  let customToolsToLoad = [];