nexus-agents 8.114.0 → 8.115.0
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/{ast-rule-runner-ROCJS5V5.js → ast-rule-runner-G2KPN6K7.js} +3 -3
- package/dist/{child-mcp-config-CLT4G6JV.js → child-mcp-config-FNOVUL4M.js} +2 -2
- package/dist/{chunk-N2KD7MXE.js → chunk-27CZBXRT.js} +4 -4
- package/dist/{chunk-ATDFYA5W.js → chunk-4BI3HAUY.js} +2 -2
- package/dist/{chunk-JA2S2P2L.js → chunk-6EOQQRDE.js} +2 -2
- package/dist/{chunk-MW7YAOG7.js → chunk-6P4Z3HRH.js} +2 -2
- package/dist/{chunk-ZQ6ZYMZY.js → chunk-72PLWBQI.js} +2 -2
- package/dist/{chunk-PWWOIE47.js → chunk-A4MDN62R.js} +2 -2
- package/dist/{chunk-YHPMSOFB.js → chunk-AGZKWZON.js} +2 -2
- package/dist/{chunk-2PTEHHTT.js → chunk-AKREPJV5.js} +3 -3
- package/dist/{chunk-IS2PAAEU.js → chunk-B5WGPBZM.js} +2 -2
- package/dist/{chunk-F2MBHW5Y.js → chunk-CBPZ3XGM.js} +2 -2
- package/dist/{chunk-RLKQFOSZ.js → chunk-D45LOJ25.js} +50 -45
- package/dist/{chunk-RLKQFOSZ.js.map → chunk-D45LOJ25.js.map} +1 -1
- package/dist/{chunk-6RN764V2.js → chunk-DS44VM7F.js} +8 -8
- package/dist/{chunk-OKQJMAFY.js → chunk-EHN5AHYG.js} +16 -48
- package/dist/chunk-EHN5AHYG.js.map +1 -0
- package/dist/{chunk-DP7JQSU7.js → chunk-FW6BOHCE.js} +4 -4
- package/dist/{chunk-NMJV4JR4.js → chunk-G5PLNAGR.js} +2 -2
- package/dist/{chunk-5TRZCY36.js → chunk-H63A6JM4.js} +2 -2
- package/dist/{chunk-YQTRQRH7.js → chunk-H6UQ55EA.js} +5 -5
- package/dist/{chunk-LHVKCINJ.js → chunk-HI7HPQVN.js} +5 -5
- package/dist/{chunk-AVTM3R4Z.js → chunk-HWEHY2F4.js} +34 -15
- package/dist/chunk-HWEHY2F4.js.map +1 -0
- package/dist/{chunk-2RXTHEUD.js → chunk-IS575FB5.js} +5 -5
- package/dist/{chunk-7S7DKO4D.js → chunk-J6VJ5TYC.js} +30 -7
- package/dist/chunk-J6VJ5TYC.js.map +1 -0
- package/dist/{chunk-67GC5TY5.js → chunk-JBMKAXEF.js} +5 -5
- package/dist/{chunk-PFJZIJ6A.js → chunk-KN2ELHVK.js} +3 -3
- package/dist/{chunk-CKPFNZZM.js → chunk-KSTMQC4D.js} +2 -2
- package/dist/{chunk-VWXR7HKU.js → chunk-MCMDWVOM.js} +187 -55
- package/dist/chunk-MCMDWVOM.js.map +1 -0
- package/dist/{chunk-Y37VBZ62.js → chunk-MLEDBBTR.js} +2 -2
- package/dist/{chunk-DUITQUQG.js → chunk-MUIVCEGP.js} +4 -4
- package/dist/{chunk-UBEZZIYC.js → chunk-NTTQKH7S.js} +3 -3
- package/dist/{chunk-XIQB6CXL.js → chunk-ODXN5HI2.js} +2 -2
- package/dist/{chunk-X3S62T3S.js → chunk-Q4SAXKBY.js} +2 -2
- package/dist/{chunk-RWKINNVG.js → chunk-QLANKPYS.js} +2 -2
- package/dist/{chunk-ZEZQ7GV4.js → chunk-RRBAUC4M.js} +2 -2
- package/dist/{chunk-7LBOZF2X.js → chunk-WP4WZDGT.js} +5 -5
- package/dist/{chunk-UBZNEZAG.js → chunk-XTJYPU4D.js} +2 -2
- package/dist/{chunk-NPUKKXZV.js → chunk-XU3JUMQ5.js} +3 -3
- package/dist/{chunk-T3QVO4Z6.js → chunk-YROELXMI.js} +2 -2
- package/dist/{cli-circuit-breaker-NY4BI2M4.js → cli-circuit-breaker-TIRLZDP5.js} +3 -3
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +46 -46
- package/dist/{composite-router-FCW4AZCS.js → composite-router-LUXTQYOU.js} +2 -2
- package/dist/{consensus-vote-XQ3EAK2G.js → consensus-vote-LJ2FWWDZ.js} +18 -18
- package/dist/{consensus-vote-types-CYc7VWVO.d.ts → consensus-vote-types-Cc7IrLrK.d.ts} +325 -20
- package/dist/{context-retriever-HCN7NCXO.js → context-retriever-AK7W2DZK.js} +8 -8
- package/dist/{dist-WQ2ZUJ4M.js → dist-I2DWGJAV.js} +428 -424
- package/dist/dist-I2DWGJAV.js.map +1 -0
- package/dist/{doctor-deep-JUR5KWJV.js → doctor-deep-L4C4CZJS.js} +3 -3
- package/dist/doctor-gateway-report-DCANKPMJ.js +17 -0
- package/dist/{doctor-live-62GNMKMA.js → doctor-live-IMKEKOWD.js} +11 -11
- package/dist/{expert-bridge-WDISX7RG.js → expert-bridge-TE4FGUDQ.js} +5 -5
- package/dist/{factory-OMJSMBSL.js → factory-H3AC4GYD.js} +5 -5
- package/dist/{factory-NCCP3VNN.js → factory-J523VMRA.js} +10 -10
- package/dist/{improvement-review-YFQLWYLJ.js → improvement-review-TIMDNQ5T.js} +6 -6
- package/dist/index.d.ts +98 -382
- package/dist/index.js +33 -33
- package/dist/{init-opencode-SYTACFM2.js → init-opencode-N5HDZKQB.js} +6 -6
- package/dist/{issue-triage-VSXJ7AY3.js → issue-triage-LEM24AVK.js} +6 -6
- package/dist/models-dev-snapshot.json +236 -20
- package/dist/{openai-compat-adapter-YZRFOEEI.js → openai-compat-adapter-SEY63V5N.js} +6 -6
- package/dist/{pr-reviewer-helpers-RAF7DGIB.js → pr-reviewer-helpers-HYNAFPCS.js} +4 -4
- package/dist/{registry-command-WG5TUJC4.js → registry-command-CYKJ6ABL.js} +2 -2
- package/dist/{repo-security-plan-5FLHCCTG.js → repo-security-plan-RI3NZRCK.js} +3 -3
- package/dist/{research-helpers-synthesize-EYCKTVZU.js → research-helpers-synthesize-6G7RTDY6.js} +4 -4
- package/dist/{routing-memory-Z2HE7IH3.js → routing-memory-AFTYT6NM.js} +2 -2
- package/dist/{session-memory-5QIPC7O6.js → session-memory-PJE6GQJN.js} +3 -3
- package/dist/{setup-config-HNHBQG52.js → setup-config-FYODECIA.js} +3 -3
- package/dist/{setup-custom-api-2KYNK6WT.js → setup-custom-api-UWMUFUXZ.js} +4 -4
- package/dist/setup-data-dir-EUKCSNZH.js +34 -0
- package/dist/{tool-memory-LWPWVKWR.js → tool-memory-36UB6IZJ.js} +5 -5
- package/dist/{unified-registry-A72U42LZ.js → unified-registry-32YIA4RB.js} +12 -12
- package/dist/{weather-report-HVUNR7SZ.js → weather-report-DAXGOILL.js} +2 -2
- package/node_modules/@hono/node-server/README.md +21 -10
- package/node_modules/@hono/node-server/dist/early-hints.cjs +1 -1
- package/node_modules/@hono/node-server/dist/early-hints.mjs +1 -1
- package/node_modules/@hono/node-server/dist/index.cjs +41 -19
- package/node_modules/@hono/node-server/dist/index.mjs +42 -20
- package/node_modules/@hono/node-server/dist/serve-static.cjs +1 -0
- package/node_modules/@hono/node-server/dist/serve-static.d.cts +2 -1
- package/node_modules/@hono/node-server/dist/serve-static.d.mts +2 -1
- package/node_modules/@hono/node-server/dist/serve-static.mjs +1 -0
- package/node_modules/@hono/node-server/package.json +3 -2
- package/node_modules/hono/dist/cjs/adapter/bun/websocket.js +1 -1
- package/node_modules/hono/dist/cjs/middleware/language/language.js +1 -1
- package/node_modules/hono/dist/cjs/middleware/serve-static/index.js +1 -0
- package/node_modules/hono/dist/middleware/language/language.js +1 -1
- package/node_modules/hono/dist/middleware/serve-static/index.js +1 -0
- package/node_modules/hono/dist/types/middleware/serve-static/index.d.ts +2 -0
- package/node_modules/hono/package.json +1 -1
- package/package.json +7 -7
- package/dist/chunk-7S7DKO4D.js.map +0 -1
- package/dist/chunk-AVTM3R4Z.js.map +0 -1
- package/dist/chunk-OKQJMAFY.js.map +0 -1
- package/dist/chunk-VWXR7HKU.js.map +0 -1
- package/dist/dist-WQ2ZUJ4M.js.map +0 -1
- package/dist/doctor-gateway-report-6SVJILTL.js +0 -17
- package/dist/setup-data-dir-B56LLZNT.js +0 -34
- /package/dist/{ast-rule-runner-ROCJS5V5.js.map → ast-rule-runner-G2KPN6K7.js.map} +0 -0
- /package/dist/{child-mcp-config-CLT4G6JV.js.map → child-mcp-config-FNOVUL4M.js.map} +0 -0
- /package/dist/{chunk-N2KD7MXE.js.map → chunk-27CZBXRT.js.map} +0 -0
- /package/dist/{chunk-ATDFYA5W.js.map → chunk-4BI3HAUY.js.map} +0 -0
- /package/dist/{chunk-JA2S2P2L.js.map → chunk-6EOQQRDE.js.map} +0 -0
- /package/dist/{chunk-MW7YAOG7.js.map → chunk-6P4Z3HRH.js.map} +0 -0
- /package/dist/{chunk-ZQ6ZYMZY.js.map → chunk-72PLWBQI.js.map} +0 -0
- /package/dist/{chunk-PWWOIE47.js.map → chunk-A4MDN62R.js.map} +0 -0
- /package/dist/{chunk-YHPMSOFB.js.map → chunk-AGZKWZON.js.map} +0 -0
- /package/dist/{chunk-2PTEHHTT.js.map → chunk-AKREPJV5.js.map} +0 -0
- /package/dist/{chunk-IS2PAAEU.js.map → chunk-B5WGPBZM.js.map} +0 -0
- /package/dist/{chunk-F2MBHW5Y.js.map → chunk-CBPZ3XGM.js.map} +0 -0
- /package/dist/{chunk-6RN764V2.js.map → chunk-DS44VM7F.js.map} +0 -0
- /package/dist/{chunk-DP7JQSU7.js.map → chunk-FW6BOHCE.js.map} +0 -0
- /package/dist/{chunk-NMJV4JR4.js.map → chunk-G5PLNAGR.js.map} +0 -0
- /package/dist/{chunk-5TRZCY36.js.map → chunk-H63A6JM4.js.map} +0 -0
- /package/dist/{chunk-YQTRQRH7.js.map → chunk-H6UQ55EA.js.map} +0 -0
- /package/dist/{chunk-LHVKCINJ.js.map → chunk-HI7HPQVN.js.map} +0 -0
- /package/dist/{chunk-2RXTHEUD.js.map → chunk-IS575FB5.js.map} +0 -0
- /package/dist/{chunk-67GC5TY5.js.map → chunk-JBMKAXEF.js.map} +0 -0
- /package/dist/{chunk-PFJZIJ6A.js.map → chunk-KN2ELHVK.js.map} +0 -0
- /package/dist/{chunk-CKPFNZZM.js.map → chunk-KSTMQC4D.js.map} +0 -0
- /package/dist/{chunk-Y37VBZ62.js.map → chunk-MLEDBBTR.js.map} +0 -0
- /package/dist/{chunk-DUITQUQG.js.map → chunk-MUIVCEGP.js.map} +0 -0
- /package/dist/{chunk-UBEZZIYC.js.map → chunk-NTTQKH7S.js.map} +0 -0
- /package/dist/{chunk-XIQB6CXL.js.map → chunk-ODXN5HI2.js.map} +0 -0
- /package/dist/{chunk-X3S62T3S.js.map → chunk-Q4SAXKBY.js.map} +0 -0
- /package/dist/{chunk-RWKINNVG.js.map → chunk-QLANKPYS.js.map} +0 -0
- /package/dist/{chunk-ZEZQ7GV4.js.map → chunk-RRBAUC4M.js.map} +0 -0
- /package/dist/{chunk-7LBOZF2X.js.map → chunk-WP4WZDGT.js.map} +0 -0
- /package/dist/{chunk-UBZNEZAG.js.map → chunk-XTJYPU4D.js.map} +0 -0
- /package/dist/{chunk-NPUKKXZV.js.map → chunk-XU3JUMQ5.js.map} +0 -0
- /package/dist/{chunk-T3QVO4Z6.js.map → chunk-YROELXMI.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-NY4BI2M4.js.map → cli-circuit-breaker-TIRLZDP5.js.map} +0 -0
- /package/dist/{composite-router-FCW4AZCS.js.map → composite-router-LUXTQYOU.js.map} +0 -0
- /package/dist/{consensus-vote-XQ3EAK2G.js.map → consensus-vote-LJ2FWWDZ.js.map} +0 -0
- /package/dist/{context-retriever-HCN7NCXO.js.map → context-retriever-AK7W2DZK.js.map} +0 -0
- /package/dist/{doctor-deep-JUR5KWJV.js.map → doctor-deep-L4C4CZJS.js.map} +0 -0
- /package/dist/{doctor-gateway-report-6SVJILTL.js.map → doctor-gateway-report-DCANKPMJ.js.map} +0 -0
- /package/dist/{doctor-live-62GNMKMA.js.map → doctor-live-IMKEKOWD.js.map} +0 -0
- /package/dist/{expert-bridge-WDISX7RG.js.map → expert-bridge-TE4FGUDQ.js.map} +0 -0
- /package/dist/{factory-NCCP3VNN.js.map → factory-H3AC4GYD.js.map} +0 -0
- /package/dist/{factory-OMJSMBSL.js.map → factory-J523VMRA.js.map} +0 -0
- /package/dist/{improvement-review-YFQLWYLJ.js.map → improvement-review-TIMDNQ5T.js.map} +0 -0
- /package/dist/{init-opencode-SYTACFM2.js.map → init-opencode-N5HDZKQB.js.map} +0 -0
- /package/dist/{issue-triage-VSXJ7AY3.js.map → issue-triage-LEM24AVK.js.map} +0 -0
- /package/dist/{openai-compat-adapter-YZRFOEEI.js.map → openai-compat-adapter-SEY63V5N.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-RAF7DGIB.js.map → pr-reviewer-helpers-HYNAFPCS.js.map} +0 -0
- /package/dist/{registry-command-WG5TUJC4.js.map → registry-command-CYKJ6ABL.js.map} +0 -0
- /package/dist/{repo-security-plan-5FLHCCTG.js.map → repo-security-plan-RI3NZRCK.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-EYCKTVZU.js.map → research-helpers-synthesize-6G7RTDY6.js.map} +0 -0
- /package/dist/{routing-memory-Z2HE7IH3.js.map → routing-memory-AFTYT6NM.js.map} +0 -0
- /package/dist/{session-memory-5QIPC7O6.js.map → session-memory-PJE6GQJN.js.map} +0 -0
- /package/dist/{setup-config-HNHBQG52.js.map → setup-config-FYODECIA.js.map} +0 -0
- /package/dist/{setup-custom-api-2KYNK6WT.js.map → setup-custom-api-UWMUFUXZ.js.map} +0 -0
- /package/dist/{setup-data-dir-B56LLZNT.js.map → setup-data-dir-EUKCSNZH.js.map} +0 -0
- /package/dist/{tool-memory-LWPWVKWR.js.map → tool-memory-36UB6IZJ.js.map} +0 -0
- /package/dist/{unified-registry-A72U42LZ.js.map → unified-registry-32YIA4RB.js.map} +0 -0
- /package/dist/{weather-report-HVUNR7SZ.js.map → weather-report-DAXGOILL.js.map} +0 -0
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
getBuiltInAstRulesPath,
|
|
10
10
|
loadRules,
|
|
11
11
|
runAstQaRules
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6P4Z3HRH.js";
|
|
13
13
|
import "./chunk-XEPZSDN5.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-J6VJ5TYC.js";
|
|
15
15
|
import "./chunk-UE7A2XHM.js";
|
|
16
16
|
import "./chunk-LWOX65CP.js";
|
|
17
17
|
import "./chunk-PX6F3LHL.js";
|
|
@@ -27,4 +27,4 @@ export {
|
|
|
27
27
|
loadRules,
|
|
28
28
|
runAstQaRules
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=ast-rule-runner-
|
|
30
|
+
//# sourceMappingURL=ast-rule-runner-G2KPN6K7.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-OITVVSWO.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-J6VJ5TYC.js";
|
|
7
7
|
import "./chunk-UE7A2XHM.js";
|
|
8
8
|
import "./chunk-LWOX65CP.js";
|
|
9
9
|
import "./chunk-PX6F3LHL.js";
|
|
@@ -49,4 +49,4 @@ async function generateMcpConfig(options) {
|
|
|
49
49
|
export {
|
|
50
50
|
generateMcpConfig
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=child-mcp-config-
|
|
52
|
+
//# sourceMappingURL=child-mcp-config-FNOVUL4M.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-72PLWBQI.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveToken
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-A4MDN62R.js";
|
|
8
8
|
import {
|
|
9
9
|
err,
|
|
10
10
|
ok
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-J6VJ5TYC.js";
|
|
12
12
|
|
|
13
13
|
// src/scm/factory.ts
|
|
14
14
|
async function createScmProvider(config) {
|
|
@@ -41,4 +41,4 @@ export {
|
|
|
41
41
|
createScmProvider,
|
|
42
42
|
createGitHubProvider
|
|
43
43
|
};
|
|
44
|
-
//# sourceMappingURL=chunk-
|
|
44
|
+
//# sourceMappingURL=chunk-27CZBXRT.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getAdaptiveBonus,
|
|
9
9
|
getOutcomeStore,
|
|
10
10
|
hasMeasuredCategory
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-J6VJ5TYC.js";
|
|
12
12
|
|
|
13
13
|
// src/cli/doctor-deep.ts
|
|
14
14
|
var CLI_NAMES = ["claude", "gemini", "codex", "opencode"];
|
|
@@ -148,4 +148,4 @@ export {
|
|
|
148
148
|
runDeepDiagnostics,
|
|
149
149
|
formatDeepDiagnostics
|
|
150
150
|
};
|
|
151
|
-
//# sourceMappingURL=chunk-
|
|
151
|
+
//# sourceMappingURL=chunk-4BI3HAUY.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
MCP_TIMEOUTS,
|
|
9
9
|
TEST_TIMEOUTS,
|
|
10
10
|
WORKFLOW_TIMEOUTS
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-J6VJ5TYC.js";
|
|
12
12
|
import {
|
|
13
13
|
createGetToolRateLimit
|
|
14
14
|
} from "./chunk-LWOX65CP.js";
|
|
@@ -223,4 +223,4 @@ export {
|
|
|
223
223
|
CUSTOM_API_DEFAULT_MODEL,
|
|
224
224
|
DEFAULTS
|
|
225
225
|
};
|
|
226
|
-
//# sourceMappingURL=chunk-
|
|
226
|
+
//# sourceMappingURL=chunk-6EOQQRDE.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
ValidationError,
|
|
7
7
|
createLogger,
|
|
8
8
|
formatZodError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-J6VJ5TYC.js";
|
|
10
10
|
|
|
11
11
|
// src/security/ast-rule-runner.ts
|
|
12
12
|
import { existsSync } from "node:fs";
|
|
@@ -243,4 +243,4 @@ export {
|
|
|
243
243
|
collectAstQaFindings,
|
|
244
244
|
runAstQaRules
|
|
245
245
|
};
|
|
246
|
-
//# sourceMappingURL=chunk-
|
|
246
|
+
//# sourceMappingURL=chunk-6P4Z3HRH.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
err,
|
|
5
5
|
getErrorMessage,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-J6VJ5TYC.js";
|
|
8
8
|
|
|
9
9
|
// src/scm/types.ts
|
|
10
10
|
var ScmError = class extends Error {
|
|
@@ -281,4 +281,4 @@ export {
|
|
|
281
281
|
ScmError,
|
|
282
282
|
GitHubProvider
|
|
283
283
|
};
|
|
284
|
-
//# sourceMappingURL=chunk-
|
|
284
|
+
//# sourceMappingURL=chunk-72PLWBQI.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createLogger,
|
|
3
3
|
err,
|
|
4
4
|
ok
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-J6VJ5TYC.js";
|
|
6
6
|
|
|
7
7
|
// src/scm/token-resolver.ts
|
|
8
8
|
import { execFile } from "node:child_process";
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
hasToken,
|
|
88
88
|
getTokenEnvVars
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=chunk-
|
|
90
|
+
//# sourceMappingURL=chunk-A4MDN62R.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
createLogger,
|
|
8
8
|
err,
|
|
9
9
|
ok
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-J6VJ5TYC.js";
|
|
11
11
|
|
|
12
12
|
// src/adapters/gateway-redaction.ts
|
|
13
13
|
var GATEWAY_REDACTED = "<redacted>";
|
|
@@ -341,4 +341,4 @@ export {
|
|
|
341
341
|
validateCustomApiBaseUrl,
|
|
342
342
|
assertCustomApiHostResolvesPublic
|
|
343
343
|
};
|
|
344
|
-
//# sourceMappingURL=chunk-
|
|
344
|
+
//# sourceMappingURL=chunk-AGZKWZON.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
assessReputation,
|
|
6
6
|
sanitizeInput
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CBPZ3XGM.js";
|
|
8
8
|
import {
|
|
9
9
|
allOf
|
|
10
10
|
} from "./chunk-EZNIYU5T.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
err,
|
|
14
14
|
getTimeProvider,
|
|
15
15
|
ok
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-J6VJ5TYC.js";
|
|
17
17
|
|
|
18
18
|
// src/dogfooding/pr-reviewer-helpers.ts
|
|
19
19
|
import { randomUUID } from "node:crypto";
|
|
@@ -477,4 +477,4 @@ export {
|
|
|
477
477
|
createFailedReview,
|
|
478
478
|
reviewPostingBlock
|
|
479
479
|
};
|
|
480
|
-
//# sourceMappingURL=chunk-
|
|
480
|
+
//# sourceMappingURL=chunk-AKREPJV5.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
err,
|
|
9
9
|
getErrorMessage,
|
|
10
10
|
ok
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-J6VJ5TYC.js";
|
|
12
12
|
import {
|
|
13
13
|
findRepoRoot,
|
|
14
14
|
getActiveWorkspaceRoot,
|
|
@@ -213,4 +213,4 @@ export {
|
|
|
213
213
|
loadPapersRegistry,
|
|
214
214
|
savePapersRegistry
|
|
215
215
|
};
|
|
216
|
-
//# sourceMappingURL=chunk-
|
|
216
|
+
//# sourceMappingURL=chunk-B5WGPBZM.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
CACHE_TIMEOUTS,
|
|
8
8
|
createLogger,
|
|
9
9
|
getTimeProvider
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-J6VJ5TYC.js";
|
|
11
11
|
|
|
12
12
|
// src/security/input-sanitizer.ts
|
|
13
13
|
var DANGEROUS_HTML_PATTERN = /<(picture|source|img)\b[^>]*>[\s\S]*?<\/\1>|<(picture|source|img)\b[^>]*\/?>/gi;
|
|
@@ -509,4 +509,4 @@ export {
|
|
|
509
509
|
resolveReputationGatingMode,
|
|
510
510
|
gateWithReputation
|
|
511
511
|
};
|
|
512
|
-
//# sourceMappingURL=chunk-
|
|
512
|
+
//# sourceMappingURL=chunk-CBPZ3XGM.js.map
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
createGraphAuditBridge,
|
|
7
7
|
emitPipelinePolicyEvent,
|
|
8
8
|
readActionRefusal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-H6UQ55EA.js";
|
|
10
10
|
import {
|
|
11
11
|
withPrerequisite
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XU3JUMQ5.js";
|
|
13
13
|
import {
|
|
14
14
|
generateSecurityPlan
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RRBAUC4M.js";
|
|
16
16
|
import {
|
|
17
17
|
analyzeGitHubRepo
|
|
18
18
|
} from "./chunk-4GDMHCKX.js";
|
|
@@ -32,14 +32,14 @@ import {
|
|
|
32
32
|
} from "./chunk-WDAND5YU.js";
|
|
33
33
|
import {
|
|
34
34
|
sanitizeInput
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-CBPZ3XGM.js";
|
|
36
36
|
import {
|
|
37
37
|
DEFAULT_TASK_TTL_MS,
|
|
38
38
|
clampTaskTtl
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-HWEHY2F4.js";
|
|
40
40
|
import {
|
|
41
41
|
executeExpert
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-DS44VM7F.js";
|
|
43
43
|
import {
|
|
44
44
|
DEPRECATED_MODE_ALIAS_INPUT,
|
|
45
45
|
JobStatusSchema,
|
|
@@ -64,7 +64,6 @@ import {
|
|
|
64
64
|
heartbeatJob,
|
|
65
65
|
initTaskState,
|
|
66
66
|
isAbandonedJob,
|
|
67
|
-
isAbsentSeat,
|
|
68
67
|
isMeasuredBuildVersion,
|
|
69
68
|
isRateLimitError,
|
|
70
69
|
jobIdSchema,
|
|
@@ -90,7 +89,7 @@ import {
|
|
|
90
89
|
withFileLock,
|
|
91
90
|
withWarnings,
|
|
92
91
|
writeJobCancelled
|
|
93
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-EHN5AHYG.js";
|
|
94
93
|
import {
|
|
95
94
|
NOOP_NOTIFIER,
|
|
96
95
|
RateLimiter,
|
|
@@ -116,32 +115,32 @@ import {
|
|
|
116
115
|
toolSuccessStructured,
|
|
117
116
|
withProgressHeartbeat,
|
|
118
117
|
wrapToolWithTimeout
|
|
119
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-MUIVCEGP.js";
|
|
120
119
|
import {
|
|
121
120
|
VERSION,
|
|
122
121
|
createRequestContext,
|
|
123
122
|
measuredTrustTier
|
|
124
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-NTTQKH7S.js";
|
|
125
124
|
import {
|
|
126
125
|
allOf,
|
|
127
126
|
anyOf
|
|
128
127
|
} from "./chunk-EZNIYU5T.js";
|
|
129
128
|
import {
|
|
130
129
|
isGatewayModelAdapter
|
|
131
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-WP4WZDGT.js";
|
|
132
131
|
import {
|
|
133
132
|
normalizeTopicToCanonical,
|
|
134
133
|
synthesizeResearch
|
|
135
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-KN2ELHVK.js";
|
|
136
135
|
import {
|
|
137
136
|
EventTopics,
|
|
138
137
|
createEvent,
|
|
139
138
|
getGlobalEventBus,
|
|
140
139
|
getGlobalRegistry
|
|
141
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-IS575FB5.js";
|
|
142
141
|
import {
|
|
143
142
|
ensureGatewayDiscovered
|
|
144
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-Q4SAXKBY.js";
|
|
145
144
|
import {
|
|
146
145
|
IDENTIFIER_RE,
|
|
147
146
|
LANG_VALUES,
|
|
@@ -174,18 +173,18 @@ import {
|
|
|
174
173
|
parseRegistry,
|
|
175
174
|
sourceExistsInRegistry,
|
|
176
175
|
summarizeContextForPrompt
|
|
177
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-JBMKAXEF.js";
|
|
178
177
|
import {
|
|
179
178
|
getTokenEnvVars,
|
|
180
179
|
resolveToken
|
|
181
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-A4MDN62R.js";
|
|
182
181
|
import {
|
|
183
182
|
REGISTRY_PATH,
|
|
184
183
|
getProjectRoot,
|
|
185
184
|
loadPapersRegistry,
|
|
186
185
|
loadTechniquesRegistry,
|
|
187
186
|
resolveRegistryRoot
|
|
188
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-B5WGPBZM.js";
|
|
189
188
|
import {
|
|
190
189
|
resolveInsideRoot
|
|
191
190
|
} from "./chunk-XEPZSDN5.js";
|
|
@@ -196,7 +195,7 @@ import {
|
|
|
196
195
|
calculateTextJaccardSimilarity,
|
|
197
196
|
getToolMemory,
|
|
198
197
|
memoryTrustTierTag
|
|
199
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-FW6BOHCE.js";
|
|
200
199
|
import {
|
|
201
200
|
EXTERNAL_CONTENT_TRUST_TIER,
|
|
202
201
|
resolveContentTrustProvenance,
|
|
@@ -209,7 +208,7 @@ import {
|
|
|
209
208
|
} from "./chunk-SX5DB6UR.js";
|
|
210
209
|
import {
|
|
211
210
|
createSessionMemory
|
|
212
|
-
} from "./chunk-
|
|
211
|
+
} from "./chunk-ODXN5HI2.js";
|
|
213
212
|
import {
|
|
214
213
|
TrustTierSchema
|
|
215
214
|
} from "./chunk-CJKHQ6MV.js";
|
|
@@ -224,19 +223,21 @@ import {
|
|
|
224
223
|
} from "./chunk-MUJCGBZW.js";
|
|
225
224
|
import {
|
|
226
225
|
CliDetectionCache,
|
|
226
|
+
MODELSDEV_CATALOGUE_CAVEATS,
|
|
227
227
|
SIGKILL_GRACE_MS,
|
|
228
228
|
asRecord,
|
|
229
229
|
extractNumberField,
|
|
230
230
|
extractRequestSystemPrompt,
|
|
231
231
|
getAvailableClis,
|
|
232
|
+
isAbsentSeat,
|
|
232
233
|
sleep,
|
|
233
234
|
terminateProcessTree,
|
|
234
235
|
trackProcessTree,
|
|
235
236
|
withTimeout
|
|
236
|
-
} from "./chunk-
|
|
237
|
+
} from "./chunk-MCMDWVOM.js";
|
|
237
238
|
import {
|
|
238
239
|
DEFAULTS
|
|
239
|
-
} from "./chunk-
|
|
240
|
+
} from "./chunk-6EOQQRDE.js";
|
|
240
241
|
import {
|
|
241
242
|
DEFAULT_EXECUTION_MODE,
|
|
242
243
|
DEFAULT_TOOL_RATE_LIMITS,
|
|
@@ -248,25 +249,25 @@ import {
|
|
|
248
249
|
parseGatewayExtraHeaders,
|
|
249
250
|
requireApiKey,
|
|
250
251
|
validateApiKeyPresence
|
|
251
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-XTJYPU4D.js";
|
|
252
253
|
import {
|
|
253
254
|
resolveGatewayEnv
|
|
254
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-AGZKWZON.js";
|
|
255
256
|
import {
|
|
256
257
|
sanitizeErrorDetails
|
|
257
|
-
} from "./chunk-
|
|
258
|
+
} from "./chunk-KSTMQC4D.js";
|
|
258
259
|
import {
|
|
259
260
|
getAvailabilityCache,
|
|
260
261
|
getCliForModelId,
|
|
261
262
|
resolveFallback
|
|
262
|
-
} from "./chunk-
|
|
263
|
+
} from "./chunk-QLANKPYS.js";
|
|
263
264
|
import {
|
|
264
265
|
generateHyphenId,
|
|
265
266
|
generateUUID
|
|
266
|
-
} from "./chunk-
|
|
267
|
+
} from "./chunk-YROELXMI.js";
|
|
267
268
|
import {
|
|
268
269
|
getDefaultCliCircuitBreakerRegistry
|
|
269
|
-
} from "./chunk-
|
|
270
|
+
} from "./chunk-G5PLNAGR.js";
|
|
270
271
|
import {
|
|
271
272
|
AGENT_ROUTER_TIMEOUTS,
|
|
272
273
|
API_TIMEOUTS,
|
|
@@ -396,7 +397,7 @@ import {
|
|
|
396
397
|
throwIfAborted,
|
|
397
398
|
toExpertTaskAnalysisResult,
|
|
398
399
|
withStep
|
|
399
|
-
} from "./chunk-
|
|
400
|
+
} from "./chunk-J6VJ5TYC.js";
|
|
400
401
|
import {
|
|
401
402
|
ensureLearningDir,
|
|
402
403
|
getMetaOutcomesFile,
|
|
@@ -30401,7 +30402,7 @@ function execIdFields(executionId) {
|
|
|
30401
30402
|
async function populateUnifiedContextOnState(state, options) {
|
|
30402
30403
|
const taskCandidate = state["task"];
|
|
30403
30404
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
30404
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
30405
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-AK7W2DZK.js");
|
|
30405
30406
|
const category = inferTaskCategory2(taskCandidate);
|
|
30406
30407
|
const executionId = options?.executionId;
|
|
30407
30408
|
const execFields = execIdFields(executionId);
|
|
@@ -46642,7 +46643,7 @@ async function tryIssueTriage(task) {
|
|
|
46642
46643
|
try {
|
|
46643
46644
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
46644
46645
|
if (issueMatch === null) return null;
|
|
46645
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
46646
|
+
const { createIssueTriage } = await import("./issue-triage-LEM24AVK.js");
|
|
46646
46647
|
const triage = createIssueTriage();
|
|
46647
46648
|
const owner = issueMatch[1] ?? "";
|
|
46648
46649
|
const num2 = issueMatch[2] ?? "";
|
|
@@ -46670,7 +46671,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
46670
46671
|
]);
|
|
46671
46672
|
async function classifyWithLLM(task) {
|
|
46672
46673
|
try {
|
|
46673
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
46674
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-TE4FGUDQ.js");
|
|
46674
46675
|
const prompt = [
|
|
46675
46676
|
"Classify this task into exactly one pipeline template.",
|
|
46676
46677
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -47044,7 +47045,7 @@ function buildVotingInput(plan, config) {
|
|
|
47044
47045
|
}
|
|
47045
47046
|
async function executeSingleVote(plan, config, log) {
|
|
47046
47047
|
try {
|
|
47047
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47048
|
+
const { executeVoting } = await import("./consensus-vote-LJ2FWWDZ.js");
|
|
47048
47049
|
const input = buildVotingInput(plan, config);
|
|
47049
47050
|
const result = await executeVoting(input, log);
|
|
47050
47051
|
return parseVotingResult(result);
|
|
@@ -47913,7 +47914,7 @@ var memoryInitPromise = null;
|
|
|
47913
47914
|
async function initPipelineMemory() {
|
|
47914
47915
|
if (cachedMemory !== null) return cachedMemory;
|
|
47915
47916
|
try {
|
|
47916
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47917
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-PJE6GQJN.js");
|
|
47917
47918
|
const { getLearningDir } = await import("./learning-persistence-FB4U5AX2.js");
|
|
47918
47919
|
const mem = createSessionMemory2(getLearningDir());
|
|
47919
47920
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -47975,7 +47976,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
47975
47976
|
callRecord(routingMemoryCache);
|
|
47976
47977
|
return;
|
|
47977
47978
|
}
|
|
47978
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
47979
|
+
routingMemoryInitPromise ??= import("./routing-memory-AFTYT6NM.js").then(({ createRoutingMemory }) => {
|
|
47979
47980
|
routingMemoryCache ??= createRoutingMemory();
|
|
47980
47981
|
return routingMemoryCache;
|
|
47981
47982
|
}).catch((error) => {
|
|
@@ -48183,7 +48184,7 @@ function createVoteStage({ config, startStage }) {
|
|
|
48183
48184
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
48184
48185
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
48185
48186
|
try {
|
|
48186
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
48187
|
+
const { executeVoting } = await import("./consensus-vote-LJ2FWWDZ.js");
|
|
48187
48188
|
const votingResult = await executeVoting(
|
|
48188
48189
|
{
|
|
48189
48190
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -49039,7 +49040,7 @@ ${text}` : "";
|
|
|
49039
49040
|
}
|
|
49040
49041
|
async function getWeatherContext() {
|
|
49041
49042
|
try {
|
|
49042
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
49043
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-DAXGOILL.js");
|
|
49043
49044
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
49044
49045
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
49045
49046
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -49057,7 +49058,7 @@ ${lines}
|
|
|
49057
49058
|
}
|
|
49058
49059
|
async function getMemoryContext(task) {
|
|
49059
49060
|
try {
|
|
49060
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
49061
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-PJE6GQJN.js");
|
|
49061
49062
|
const { getLearningDir } = await import("./learning-persistence-FB4U5AX2.js");
|
|
49062
49063
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
49063
49064
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -49708,7 +49709,7 @@ async function searchCodebaseForTask(task) {
|
|
|
49708
49709
|
}
|
|
49709
49710
|
async function queryResearchRegistry(task) {
|
|
49710
49711
|
try {
|
|
49711
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
49712
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-6G7RTDY6.js");
|
|
49712
49713
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
49713
49714
|
if (topic === void 0) return null;
|
|
49714
49715
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -49779,7 +49780,7 @@ function createScanStageWrapper() {
|
|
|
49779
49780
|
try {
|
|
49780
49781
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
49781
49782
|
if (slug !== void 0) {
|
|
49782
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
49783
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-RI3NZRCK.js");
|
|
49783
49784
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
49784
49785
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
49785
49786
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -53425,7 +53426,7 @@ var GitHubTaskTracker = class {
|
|
|
53425
53426
|
cachedProvider = null;
|
|
53426
53427
|
async getProvider() {
|
|
53427
53428
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
53428
|
-
const { createScmProvider } = await import("./factory-
|
|
53429
|
+
const { createScmProvider } = await import("./factory-H3AC4GYD.js");
|
|
53429
53430
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
53430
53431
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
53431
53432
|
this.cachedProvider = result.value;
|
|
@@ -54460,10 +54461,14 @@ function withBreakerState(report) {
|
|
|
54460
54461
|
breakerOpen: getDefaultCliCircuitBreakerRegistry().isOpen(report.transport)
|
|
54461
54462
|
};
|
|
54462
54463
|
}
|
|
54464
|
+
function withCatalogueCaveat(report) {
|
|
54465
|
+
const caveat = Object.hasOwn(MODELSDEV_CATALOGUE_CAVEATS, report.transport) ? MODELSDEV_CATALOGUE_CAVEATS[report.transport] : void 0;
|
|
54466
|
+
return caveat === void 0 ? report : { ...report, catalogueCaveat: caveat };
|
|
54467
|
+
}
|
|
54463
54468
|
var GATEWAY_TRANSPORT = "gateway";
|
|
54464
54469
|
var GATEWAY_API_ARM = "api:custom-openai";
|
|
54465
54470
|
async function gatewaySource(apiArm) {
|
|
54466
|
-
const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-
|
|
54471
|
+
const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-SEY63V5N.js");
|
|
54467
54472
|
const config = readOpenAICompatEnv();
|
|
54468
54473
|
if (config !== null) {
|
|
54469
54474
|
return {
|
|
@@ -54482,7 +54487,7 @@ async function gatewaySource(apiArm) {
|
|
|
54482
54487
|
}
|
|
54483
54488
|
async function defaultSources(includeOpenRouter, adaptersFactory) {
|
|
54484
54489
|
const adapters = new Map(
|
|
54485
|
-
adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-
|
|
54490
|
+
adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-J523VMRA.js")).createAllAdapters()
|
|
54486
54491
|
);
|
|
54487
54492
|
const apiArm = adapters.get(GATEWAY_API_ARM);
|
|
54488
54493
|
adapters.delete(GATEWAY_API_ARM);
|
|
@@ -54502,7 +54507,7 @@ async function listAvailableModelsHandler(args, deps, logger59) {
|
|
|
54502
54507
|
const includeOpenRouter = parsed.data.includeOpenRouter ?? true;
|
|
54503
54508
|
const sources = deps.sourcesFactory !== void 0 ? deps.sourcesFactory(includeOpenRouter) : await defaultSources(includeOpenRouter, deps.adaptersFactory);
|
|
54504
54509
|
const probed = await Promise.all(sources.map((s) => probeSource(s, includeModelIds)));
|
|
54505
|
-
const transports = probed.map(withBreakerState);
|
|
54510
|
+
const transports = probed.map((r) => withCatalogueCaveat(withBreakerState(r)));
|
|
54506
54511
|
const response = {
|
|
54507
54512
|
transports,
|
|
54508
54513
|
healthyTransports: transports.filter((t) => t.servesModels).length,
|
|
@@ -54510,7 +54515,7 @@ async function listAvailableModelsHandler(args, deps, logger59) {
|
|
|
54510
54515
|
totalTransports: transports.length,
|
|
54511
54516
|
totalModels: transports.reduce((sum, t) => sum + t.modelCount, 0),
|
|
54512
54517
|
breakerOpenTransports: transports.filter((t) => t.breakerOpen === true).map((t) => t.transport),
|
|
54513
|
-
note: "Probe results \u2014 existence only; the in-tree registry remains authoritative for pricing/capability. healthyTransports counts transports that can serve a model; reachableTransports counts probes that merely succeeded. breakerOpen marks a CLI transport the router is currently refusing (shared circuit breaker open), whatever its probe said."
|
|
54518
|
+
note: "Probe results \u2014 existence only; the in-tree registry remains authoritative for pricing/capability. healthyTransports counts transports that can serve a model; reachableTransports counts probes that merely succeeded. breakerOpen marks a CLI transport the router is currently refusing (shared circuit breaker open), whatever its probe said. catalogueCaveat marks a transport whose list is not the set it can run (codex: a vendor-catalogue superset)."
|
|
54514
54519
|
};
|
|
54515
54520
|
logger59.debug("list_available_models probed transports", {
|
|
54516
54521
|
healthy: response.healthyTransports,
|
|
@@ -57767,4 +57772,4 @@ export {
|
|
|
57767
57772
|
startPipelineEventBridge,
|
|
57768
57773
|
shutdownPipelineEventBridge
|
|
57769
57774
|
};
|
|
57770
|
-
//# sourceMappingURL=chunk-
|
|
57775
|
+
//# sourceMappingURL=chunk-D45LOJ25.js.map
|