nexus-agents 11.3.1 → 11.4.1
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-725WWM62.js → ast-rule-runner-5DLFJFMH.js} +5 -5
- package/dist/{child-mcp-config-XILEOWB5.js → child-mcp-config-YESBJIIN.js} +4 -4
- package/dist/{chunk-XAEGIDWX.js → chunk-2XQ5R6AK.js} +8 -8
- package/dist/{chunk-R4ZN6AQO.js → chunk-3XWRIUTZ.js} +4 -4
- package/dist/{chunk-T3SLFKSX.js → chunk-4WY34EPP.js} +2 -2
- package/dist/{chunk-VMU25QVH.js → chunk-6ITRVAVX.js} +2 -2
- package/dist/{chunk-24CFATEC.js → chunk-7HPKVHS3.js} +2 -2
- package/dist/{chunk-VIJSBKRY.js → chunk-A5GX6R3B.js} +3 -3
- package/dist/{chunk-R3O4NJYH.js → chunk-AAWQWODF.js} +13 -13
- package/dist/{chunk-WDAND5YU.js → chunk-BDP422B2.js} +4 -2
- package/dist/{chunk-WDAND5YU.js.map → chunk-BDP422B2.js.map} +1 -1
- package/dist/{chunk-YGD52X37.js → chunk-GKV6J3R7.js} +2 -2
- package/dist/{chunk-ORYATV3T.js → chunk-JZKUQXWH.js} +7 -7
- package/dist/{chunk-FW7QME5N.js → chunk-K3LKXWRM.js} +1287 -651
- package/dist/chunk-K3LKXWRM.js.map +1 -0
- package/dist/{chunk-QDCUEJQW.js → chunk-LBM65LVS.js} +2 -2
- package/dist/{chunk-RWZIF3UK.js → chunk-LHOGSQFR.js} +4 -4
- package/dist/{chunk-YEWHPFMD.js → chunk-M2GQRH7V.js} +3 -3
- package/dist/{chunk-3KA7JCK3.js → chunk-MDYW3IEZ.js} +3 -3
- package/dist/{chunk-SRAMHULV.js → chunk-MMGDKFCK.js} +7 -7
- package/dist/{chunk-EL4XXJM6.js → chunk-MPFSKGUN.js} +4 -4
- package/dist/{chunk-WRNLFRB5.js → chunk-MXOMOBUS.js} +2 -2
- package/dist/{chunk-PPH3CAMR.js → chunk-NV35EWPD.js} +4 -4
- package/dist/{chunk-QBZZGFWK.js → chunk-O5MOOY6Q.js} +6 -6
- package/dist/{chunk-SN5FNPUR.js → chunk-OLU5DHHD.js} +2 -2
- package/dist/{chunk-M44B64SR.js → chunk-P6EHGBXO.js} +2 -2
- package/dist/{chunk-NUEO6DH6.js → chunk-RZLGYXOF.js} +2 -2
- package/dist/{chunk-I34P7L4Z.js → chunk-TKDCGMCN.js} +9 -9
- package/dist/chunk-TKDCGMCN.js.map +1 -0
- package/dist/{chunk-5LBCX3I4.js → chunk-UDGIAEDA.js} +5 -5
- package/dist/{chunk-3JF47YAU.js → chunk-V33OG3N6.js} +4 -4
- package/dist/{chunk-G6KGFOCE.js → chunk-VN5UL4NT.js} +2 -2
- package/dist/{chunk-3WOPUDGR.js → chunk-VUE3KUNA.js} +4 -4
- package/dist/{chunk-QOJPTGQI.js → chunk-VYL44D3U.js} +3 -3
- package/dist/{chunk-3W65DEPM.js → chunk-WAUESMKP.js} +2 -2
- package/dist/{chunk-RGTJML3H.js → chunk-WFTSGCCT.js} +2 -2
- package/dist/{chunk-AKLRGCFR.js → chunk-XEXIN2GR.js} +3 -3
- package/dist/{chunk-RDUMFICX.js → chunk-XOJA7TGX.js} +2 -2
- package/dist/{chunk-6P7CCAQH.js → chunk-YHRK5NXU.js} +13 -13
- package/dist/{cli-circuit-breaker-UO6DRFZD.js → cli-circuit-breaker-SLK4VLEW.js} +5 -5
- package/dist/{cli-readiness-XPZNJLCW.js → cli-readiness-QJLRNIBW.js} +8 -8
- package/dist/{cli-server-gateway-AWEOQD4E.js → cli-server-gateway-Y7DARRN4.js} +12 -12
- package/dist/cli.js +44 -44
- package/dist/{composite-router-S4ZOD4GS.js → composite-router-EPKFE75R.js} +4 -4
- package/dist/{consensus-vote-KCT6UPVD.js → consensus-vote-5LP4VCRL.js} +16 -16
- package/dist/{context-retriever-ZKIAEF43.js → context-retriever-EGTIDKSC.js} +10 -10
- package/dist/{doctor-deep-FCSBGTAN.js → doctor-deep-Y3VNBVZL.js} +5 -5
- package/dist/{doctor-gateway-report-2QH7JMEO.js → doctor-gateway-report-MM2GZYZO.js} +7 -7
- package/dist/{doctor-live-PMYIFAWV.js → doctor-live-3A5KHNYV.js} +12 -12
- package/dist/{expert-bridge-S6WYRFOU.js → expert-bridge-KWQNHV7R.js} +6 -6
- package/dist/{factory-CKEO6H4B.js → factory-OEDSHQEO.js} +7 -7
- package/dist/{factory-55RVYW75.js → factory-XNOZN4U7.js} +11 -11
- package/dist/{improvement-review-ILGECXTE.js → improvement-review-DTTBROYK.js} +7 -7
- package/dist/index.d.ts +61 -0
- package/dist/index.js +30 -30
- package/dist/{init-opencode-IL32T2AA.js → init-opencode-MSQKRMEB.js} +6 -6
- package/dist/{issue-triage-6BEBWXMY.js → issue-triage-TYG5G6LE.js} +7 -7
- package/dist/{model-config-helpers-A32ALQ5R.js → model-config-helpers-YSCNO2KP.js} +3 -3
- package/dist/{openai-compat-adapter-WK3Q5GR7.js → openai-compat-adapter-LROLIS67.js} +6 -6
- package/dist/{pr-reviewer-helpers-HZGPA2OS.js → pr-reviewer-helpers-JM63IL74.js} +6 -6
- package/dist/{registry-command-JYPM6LXE.js → registry-command-AAGEJWK4.js} +2 -2
- package/dist/{repo-security-plan-56ZPEFGG.js → repo-security-plan-JQINRGIE.js} +4 -4
- package/dist/{research-helpers-synthesize-B4KYVM4T.js → research-helpers-synthesize-E5GX5ZZ3.js} +6 -6
- package/dist/{routing-memory-KVLCI3TU.js → routing-memory-4YJBOE5Z.js} +4 -4
- package/dist/{session-memory-SYCL2GCL.js → session-memory-OXW7Y572.js} +5 -5
- package/dist/{setup-config-OWLLNO6I.js → setup-config-AA6YWIGF.js} +5 -5
- package/dist/{setup-custom-api-TI6REX7V.js → setup-custom-api-IB3EDW5S.js} +5 -5
- package/dist/{setup-data-dir-R2XY27IM.js → setup-data-dir-67KPY33F.js} +15 -15
- package/dist/{tool-memory-Z3M7LGS4.js → tool-memory-MV3FTINY.js} +7 -7
- package/dist/{unified-registry-I54IDLWC.js → unified-registry-EQQVBI6P.js} +11 -11
- package/dist/{weather-report-3MRZJISW.js → weather-report-TC7QTTPT.js} +4 -4
- package/package.json +1 -1
- package/dist/chunk-FW7QME5N.js.map +0 -1
- package/dist/chunk-I34P7L4Z.js.map +0 -1
- /package/dist/{ast-rule-runner-725WWM62.js.map → ast-rule-runner-5DLFJFMH.js.map} +0 -0
- /package/dist/{child-mcp-config-XILEOWB5.js.map → child-mcp-config-YESBJIIN.js.map} +0 -0
- /package/dist/{chunk-XAEGIDWX.js.map → chunk-2XQ5R6AK.js.map} +0 -0
- /package/dist/{chunk-R4ZN6AQO.js.map → chunk-3XWRIUTZ.js.map} +0 -0
- /package/dist/{chunk-T3SLFKSX.js.map → chunk-4WY34EPP.js.map} +0 -0
- /package/dist/{chunk-VMU25QVH.js.map → chunk-6ITRVAVX.js.map} +0 -0
- /package/dist/{chunk-24CFATEC.js.map → chunk-7HPKVHS3.js.map} +0 -0
- /package/dist/{chunk-VIJSBKRY.js.map → chunk-A5GX6R3B.js.map} +0 -0
- /package/dist/{chunk-R3O4NJYH.js.map → chunk-AAWQWODF.js.map} +0 -0
- /package/dist/{chunk-YGD52X37.js.map → chunk-GKV6J3R7.js.map} +0 -0
- /package/dist/{chunk-ORYATV3T.js.map → chunk-JZKUQXWH.js.map} +0 -0
- /package/dist/{chunk-QDCUEJQW.js.map → chunk-LBM65LVS.js.map} +0 -0
- /package/dist/{chunk-RWZIF3UK.js.map → chunk-LHOGSQFR.js.map} +0 -0
- /package/dist/{chunk-YEWHPFMD.js.map → chunk-M2GQRH7V.js.map} +0 -0
- /package/dist/{chunk-3KA7JCK3.js.map → chunk-MDYW3IEZ.js.map} +0 -0
- /package/dist/{chunk-SRAMHULV.js.map → chunk-MMGDKFCK.js.map} +0 -0
- /package/dist/{chunk-EL4XXJM6.js.map → chunk-MPFSKGUN.js.map} +0 -0
- /package/dist/{chunk-WRNLFRB5.js.map → chunk-MXOMOBUS.js.map} +0 -0
- /package/dist/{chunk-PPH3CAMR.js.map → chunk-NV35EWPD.js.map} +0 -0
- /package/dist/{chunk-QBZZGFWK.js.map → chunk-O5MOOY6Q.js.map} +0 -0
- /package/dist/{chunk-SN5FNPUR.js.map → chunk-OLU5DHHD.js.map} +0 -0
- /package/dist/{chunk-M44B64SR.js.map → chunk-P6EHGBXO.js.map} +0 -0
- /package/dist/{chunk-NUEO6DH6.js.map → chunk-RZLGYXOF.js.map} +0 -0
- /package/dist/{chunk-5LBCX3I4.js.map → chunk-UDGIAEDA.js.map} +0 -0
- /package/dist/{chunk-3JF47YAU.js.map → chunk-V33OG3N6.js.map} +0 -0
- /package/dist/{chunk-G6KGFOCE.js.map → chunk-VN5UL4NT.js.map} +0 -0
- /package/dist/{chunk-3WOPUDGR.js.map → chunk-VUE3KUNA.js.map} +0 -0
- /package/dist/{chunk-QOJPTGQI.js.map → chunk-VYL44D3U.js.map} +0 -0
- /package/dist/{chunk-3W65DEPM.js.map → chunk-WAUESMKP.js.map} +0 -0
- /package/dist/{chunk-RGTJML3H.js.map → chunk-WFTSGCCT.js.map} +0 -0
- /package/dist/{chunk-AKLRGCFR.js.map → chunk-XEXIN2GR.js.map} +0 -0
- /package/dist/{chunk-RDUMFICX.js.map → chunk-XOJA7TGX.js.map} +0 -0
- /package/dist/{chunk-6P7CCAQH.js.map → chunk-YHRK5NXU.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-UO6DRFZD.js.map → cli-circuit-breaker-SLK4VLEW.js.map} +0 -0
- /package/dist/{cli-readiness-XPZNJLCW.js.map → cli-readiness-QJLRNIBW.js.map} +0 -0
- /package/dist/{cli-server-gateway-AWEOQD4E.js.map → cli-server-gateway-Y7DARRN4.js.map} +0 -0
- /package/dist/{composite-router-S4ZOD4GS.js.map → composite-router-EPKFE75R.js.map} +0 -0
- /package/dist/{consensus-vote-KCT6UPVD.js.map → consensus-vote-5LP4VCRL.js.map} +0 -0
- /package/dist/{context-retriever-ZKIAEF43.js.map → context-retriever-EGTIDKSC.js.map} +0 -0
- /package/dist/{doctor-deep-FCSBGTAN.js.map → doctor-deep-Y3VNBVZL.js.map} +0 -0
- /package/dist/{doctor-gateway-report-2QH7JMEO.js.map → doctor-gateway-report-MM2GZYZO.js.map} +0 -0
- /package/dist/{doctor-live-PMYIFAWV.js.map → doctor-live-3A5KHNYV.js.map} +0 -0
- /package/dist/{expert-bridge-S6WYRFOU.js.map → expert-bridge-KWQNHV7R.js.map} +0 -0
- /package/dist/{factory-55RVYW75.js.map → factory-OEDSHQEO.js.map} +0 -0
- /package/dist/{factory-CKEO6H4B.js.map → factory-XNOZN4U7.js.map} +0 -0
- /package/dist/{improvement-review-ILGECXTE.js.map → improvement-review-DTTBROYK.js.map} +0 -0
- /package/dist/{init-opencode-IL32T2AA.js.map → init-opencode-MSQKRMEB.js.map} +0 -0
- /package/dist/{issue-triage-6BEBWXMY.js.map → issue-triage-TYG5G6LE.js.map} +0 -0
- /package/dist/{model-config-helpers-A32ALQ5R.js.map → model-config-helpers-YSCNO2KP.js.map} +0 -0
- /package/dist/{openai-compat-adapter-WK3Q5GR7.js.map → openai-compat-adapter-LROLIS67.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-HZGPA2OS.js.map → pr-reviewer-helpers-JM63IL74.js.map} +0 -0
- /package/dist/{registry-command-JYPM6LXE.js.map → registry-command-AAGEJWK4.js.map} +0 -0
- /package/dist/{repo-security-plan-56ZPEFGG.js.map → repo-security-plan-JQINRGIE.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-B4KYVM4T.js.map → research-helpers-synthesize-E5GX5ZZ3.js.map} +0 -0
- /package/dist/{routing-memory-KVLCI3TU.js.map → routing-memory-4YJBOE5Z.js.map} +0 -0
- /package/dist/{session-memory-SYCL2GCL.js.map → session-memory-OXW7Y572.js.map} +0 -0
- /package/dist/{setup-config-OWLLNO6I.js.map → setup-config-AA6YWIGF.js.map} +0 -0
- /package/dist/{setup-custom-api-TI6REX7V.js.map → setup-custom-api-IB3EDW5S.js.map} +0 -0
- /package/dist/{setup-data-dir-R2XY27IM.js.map → setup-data-dir-67KPY33F.js.map} +0 -0
- /package/dist/{tool-memory-Z3M7LGS4.js.map → tool-memory-MV3FTINY.js.map} +0 -0
- /package/dist/{unified-registry-I54IDLWC.js.map → unified-registry-EQQVBI6P.js.map} +0 -0
- /package/dist/{weather-report-3MRZJISW.js.map → weather-report-TC7QTTPT.js.map} +0 -0
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
getBuiltInAstRulesPath,
|
|
10
10
|
loadRules,
|
|
11
11
|
runAstQaRules
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-WFTSGCCT.js";
|
|
13
|
+
import "./chunk-JZKUQXWH.js";
|
|
14
14
|
import "./chunk-XBEKMUTO.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-VN5UL4NT.js";
|
|
16
|
+
import "./chunk-7HPKVHS3.js";
|
|
17
17
|
import "./chunk-RUHKJC3X.js";
|
|
18
18
|
import "./chunk-UFAK5UGH.js";
|
|
19
19
|
import "./chunk-GR6WCJWY.js";
|
|
@@ -34,4 +34,4 @@ export {
|
|
|
34
34
|
loadRules,
|
|
35
35
|
runAstQaRules
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=ast-rule-runner-
|
|
37
|
+
//# sourceMappingURL=ast-rule-runner-5DLFJFMH.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
nexusMkdtempSync
|
|
3
3
|
} from "./chunk-U7HL7FGS.js";
|
|
4
|
-
import "./chunk-
|
|
4
|
+
import "./chunk-JZKUQXWH.js";
|
|
5
5
|
import "./chunk-XBEKMUTO.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-VN5UL4NT.js";
|
|
7
|
+
import "./chunk-7HPKVHS3.js";
|
|
8
8
|
import "./chunk-RUHKJC3X.js";
|
|
9
9
|
import "./chunk-UFAK5UGH.js";
|
|
10
10
|
import {
|
|
@@ -81,4 +81,4 @@ async function generateMcpConfig(options) {
|
|
|
81
81
|
export {
|
|
82
82
|
generateMcpConfig
|
|
83
83
|
};
|
|
84
|
-
//# sourceMappingURL=child-mcp-config-
|
|
84
|
+
//# sourceMappingURL=child-mcp-config-YESBJIIN.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureGatewayDiscovered,
|
|
3
3
|
gatewayDiscoveryGeneration
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LHOGSQFR.js";
|
|
5
5
|
import {
|
|
6
6
|
isRateLimitText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JZKUQXWH.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveCliSlot
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VN5UL4NT.js";
|
|
11
11
|
import {
|
|
12
12
|
createLogger,
|
|
13
13
|
getTimeProvider
|
|
@@ -82,7 +82,7 @@ async function dispatchWithMcpConfig(router, content, expertType, start, options
|
|
|
82
82
|
let config;
|
|
83
83
|
if (requestedAccessModeOf(options) === "default") {
|
|
84
84
|
try {
|
|
85
|
-
const { generateMcpConfig } = await import("./child-mcp-config-
|
|
85
|
+
const { generateMcpConfig } = await import("./child-mcp-config-YESBJIIN.js");
|
|
86
86
|
config = await generateMcpConfig();
|
|
87
87
|
activeMcpConfigs.add(config);
|
|
88
88
|
} catch (error) {
|
|
@@ -171,8 +171,8 @@ async function getRouter() {
|
|
|
171
171
|
}
|
|
172
172
|
if (cachedRouter !== null) return cachedRouter;
|
|
173
173
|
routerInitPromise ??= (async () => {
|
|
174
|
-
const { createAllAdapters } = await import("./factory-
|
|
175
|
-
const { createCompositeRouter } = await import("./composite-router-
|
|
174
|
+
const { createAllAdapters } = await import("./factory-XNOZN4U7.js");
|
|
175
|
+
const { createCompositeRouter } = await import("./composite-router-EPKFE75R.js");
|
|
176
176
|
const adapters = createAllAdapters();
|
|
177
177
|
const superseded = generation !== routerGeneration;
|
|
178
178
|
if (adapters.size === 0) {
|
|
@@ -183,7 +183,7 @@ async function getRouter() {
|
|
|
183
183
|
if (superseded) return router;
|
|
184
184
|
cachedRouter = router;
|
|
185
185
|
try {
|
|
186
|
-
const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-
|
|
186
|
+
const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-SLK4VLEW.js");
|
|
187
187
|
cachedCircuitBreaker = createCliCircuitBreakerIntegration([...adapters.values()]);
|
|
188
188
|
} catch (error) {
|
|
189
189
|
const msg = error instanceof Error ? error.message : String(error);
|
|
@@ -324,4 +324,4 @@ export {
|
|
|
324
324
|
tokenSplitFromUsage,
|
|
325
325
|
executeExpert
|
|
326
326
|
};
|
|
327
|
-
//# sourceMappingURL=chunk-
|
|
327
|
+
//# sourceMappingURL=chunk-2XQ5R6AK.js.map
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
discoverGatewayCatalog,
|
|
9
9
|
gatewayProxyUrl,
|
|
10
10
|
readOpenAICompatEnv
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MPFSKGUN.js";
|
|
12
12
|
import {
|
|
13
13
|
redactGatewaySecrets
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GKV6J3R7.js";
|
|
15
15
|
import {
|
|
16
16
|
DEFAULT_OPENAI_COMPAT_ENDPOINT,
|
|
17
17
|
GATEWAY_COST_ENV,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
isCliDisabled,
|
|
29
29
|
symbols,
|
|
30
30
|
writeLine
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-JZKUQXWH.js";
|
|
32
32
|
import {
|
|
33
33
|
getTimeProvider
|
|
34
34
|
} from "./chunk-GR6WCJWY.js";
|
|
@@ -384,4 +384,4 @@ export {
|
|
|
384
384
|
formatGatewayReport,
|
|
385
385
|
formatGatewaySlotWarnings
|
|
386
386
|
};
|
|
387
|
-
//# sourceMappingURL=chunk-
|
|
387
|
+
//# sourceMappingURL=chunk-3XWRIUTZ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRandomProvider
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JZKUQXWH.js";
|
|
4
4
|
import {
|
|
5
5
|
getTimeProvider
|
|
6
6
|
} from "./chunk-GR6WCJWY.js";
|
|
@@ -26,4 +26,4 @@ export {
|
|
|
26
26
|
generateHyphenId,
|
|
27
27
|
generateUUID
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=chunk-
|
|
29
|
+
//# sourceMappingURL=chunk-4WY34EPP.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
|
|
5
5
|
// src/version.ts
|
|
6
6
|
import semver from "semver";
|
|
7
|
-
var VERSION = true ? "11.
|
|
7
|
+
var VERSION = true ? "11.4.1" : "dev";
|
|
8
8
|
var NODE_ENGINE_RANGE = ">=24";
|
|
9
9
|
function isNodeVersionSupported(version) {
|
|
10
10
|
return semver.satisfies(version, NODE_ENGINE_RANGE);
|
|
@@ -106,4 +106,4 @@ export {
|
|
|
106
106
|
contextForLogging,
|
|
107
107
|
measuredTrustTier
|
|
108
108
|
};
|
|
109
|
-
//# sourceMappingURL=chunk-
|
|
109
|
+
//# sourceMappingURL=chunk-6ITRVAVX.js.map
|
|
@@ -1645,7 +1645,7 @@ function setDefaultRegistry(registry) {
|
|
|
1645
1645
|
}
|
|
1646
1646
|
async function reloadDefaultRegistry() {
|
|
1647
1647
|
globalRegistry = buildDefaultRegistry();
|
|
1648
|
-
const { resetGlobalRegistry } = await import("./unified-registry-
|
|
1648
|
+
const { resetGlobalRegistry } = await import("./unified-registry-EQQVBI6P.js");
|
|
1649
1649
|
resetGlobalRegistry();
|
|
1650
1650
|
return globalRegistry;
|
|
1651
1651
|
}
|
|
@@ -1674,4 +1674,4 @@ export {
|
|
|
1674
1674
|
setDefaultRegistry,
|
|
1675
1675
|
reloadDefaultRegistry
|
|
1676
1676
|
};
|
|
1677
|
-
//# sourceMappingURL=chunk-
|
|
1677
|
+
//# sourceMappingURL=chunk-7HPKVHS3.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IN_FAMILY_FALLBACK_OPTION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-O5MOOY6Q.js";
|
|
4
4
|
import {
|
|
5
5
|
sanitizeErrorDetails
|
|
6
6
|
} from "./chunk-7LKX7AUQ.js";
|
|
7
7
|
import {
|
|
8
8
|
classifyExtractedError,
|
|
9
9
|
isTimeoutText
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JZKUQXWH.js";
|
|
11
11
|
import {
|
|
12
12
|
getTimeProvider
|
|
13
13
|
} from "./chunk-GR6WCJWY.js";
|
|
@@ -158,4 +158,4 @@ export {
|
|
|
158
158
|
SERVES_PROBE_PROMPT,
|
|
159
159
|
probeServes
|
|
160
160
|
};
|
|
161
|
-
//# sourceMappingURL=chunk-
|
|
161
|
+
//# sourceMappingURL=chunk-A5GX6R3B.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
VERSION,
|
|
8
8
|
isNodeVersionSupported,
|
|
9
9
|
recordServerTransport
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6ITRVAVX.js";
|
|
11
11
|
import {
|
|
12
12
|
checkGatewayHealth,
|
|
13
13
|
cliFailsVerdict,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
gatewaySlotServing,
|
|
18
18
|
gatewayVerdict,
|
|
19
19
|
printVoterTransportCheck
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3XWRIUTZ.js";
|
|
21
21
|
import {
|
|
22
22
|
CODEX_LEGACY_LANDLOCK_CONFIG,
|
|
23
23
|
CODEX_MCP_SERVER_UNAVAILABLE_REASON,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
codexSandboxPreflight,
|
|
27
27
|
createAllAdapters,
|
|
28
28
|
createCliAdapter
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-TKDCGMCN.js";
|
|
30
30
|
import {
|
|
31
31
|
DEFAULT_EXECUTION_MODE,
|
|
32
32
|
SecurityConfigSchema
|
|
@@ -37,17 +37,17 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
readOpenAICompatEndpoint,
|
|
39
39
|
readOpenAICompatEnv
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-MPFSKGUN.js";
|
|
41
41
|
import {
|
|
42
42
|
probeCli
|
|
43
43
|
} from "./chunk-JZYTBKAP.js";
|
|
44
44
|
import {
|
|
45
45
|
SERVES_PROBE_PROMPT
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-A5GX6R3B.js";
|
|
47
47
|
import {
|
|
48
48
|
ClaudeCliAdapter,
|
|
49
49
|
IN_FAMILY_FALLBACK_OPTION
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-O5MOOY6Q.js";
|
|
51
51
|
import {
|
|
52
52
|
DEFAULT_CAPABILITIES,
|
|
53
53
|
capitalize,
|
|
@@ -68,15 +68,15 @@ import {
|
|
|
68
68
|
resolveInsideRoot,
|
|
69
69
|
symbols,
|
|
70
70
|
writeLine
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-JZKUQXWH.js";
|
|
72
72
|
import {
|
|
73
73
|
getCliModelName,
|
|
74
74
|
getDefaultModelForCli,
|
|
75
75
|
getInTreeCapabilitiesMatrix
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-VN5UL4NT.js";
|
|
77
77
|
import {
|
|
78
78
|
getDefaultRegistry
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-7HPKVHS3.js";
|
|
80
80
|
import {
|
|
81
81
|
getLearningDir,
|
|
82
82
|
getOutcomesFile,
|
|
@@ -2244,7 +2244,7 @@ async function doctorCommand(options = {}) {
|
|
|
2244
2244
|
options.onResult?.(result);
|
|
2245
2245
|
printDoctorResults(result, void 0, options.deferSummary === true);
|
|
2246
2246
|
if (options.gateway === true || options.probe === true) {
|
|
2247
|
-
const { formatGatewayReport } = await import("./doctor-gateway-report-
|
|
2247
|
+
const { formatGatewayReport } = await import("./doctor-gateway-report-MM2GZYZO.js");
|
|
2248
2248
|
for (const line of formatGatewayReport(result.gateway, result.clis)) {
|
|
2249
2249
|
process.stdout.write(line + "\n");
|
|
2250
2250
|
}
|
|
@@ -2263,13 +2263,13 @@ async function runDoctorFix(result) {
|
|
|
2263
2263
|
writeLine2("\u2500".repeat(40));
|
|
2264
2264
|
let fixCount = 0;
|
|
2265
2265
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
2266
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
2266
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-67KPY33F.js");
|
|
2267
2267
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
2268
2268
|
writeLine2(outcome.line);
|
|
2269
2269
|
if (outcome.counted) fixCount++;
|
|
2270
2270
|
}
|
|
2271
2271
|
if (!result.configFile.found) {
|
|
2272
|
-
const { runConfigInitSync } = await import("./setup-config-
|
|
2272
|
+
const { runConfigInitSync } = await import("./setup-config-AA6YWIGF.js");
|
|
2273
2273
|
const configResult = runConfigInitSync(process.cwd(), false, false);
|
|
2274
2274
|
if (configResult.success && configResult.created) {
|
|
2275
2275
|
writeLine2(`\u2713 Generated config: ${configResult.path}`);
|
|
@@ -2383,4 +2383,4 @@ export {
|
|
|
2383
2383
|
startStdioServer,
|
|
2384
2384
|
closeServer
|
|
2385
2385
|
};
|
|
2386
|
-
//# sourceMappingURL=chunk-
|
|
2386
|
+
//# sourceMappingURL=chunk-AAWQWODF.js.map
|
|
@@ -24,7 +24,9 @@ var SecurityFindingSchema = z.object({
|
|
|
24
24
|
/** Scanner confidence (0-1). */
|
|
25
25
|
confidence: z.number().min(0).max(1).default(0.5),
|
|
26
26
|
/** Code snippet around the finding (optional). */
|
|
27
|
-
snippet: z.string().
|
|
27
|
+
snippet: z.string().optional(),
|
|
28
|
+
/** Scanner reported incompleteness or unusable truncation metadata; unsafe to match. */
|
|
29
|
+
snippetTruncated: z.boolean().optional(),
|
|
28
30
|
/** Help URL for remediation guidance. */
|
|
29
31
|
helpUrl: z.string().optional()
|
|
30
32
|
});
|
|
@@ -43,4 +45,4 @@ export {
|
|
|
43
45
|
SARIF_LEVEL_MAP,
|
|
44
46
|
SEVERITY_ORDER
|
|
45
47
|
};
|
|
46
|
-
//# sourceMappingURL=chunk-
|
|
48
|
+
//# sourceMappingURL=chunk-BDP422B2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/security/sarif-types.ts"],"sourcesContent":["/**\n * SARIF Types and Security Finding Schema (#1682)\n *\n * Types for parsing SARIF (Static Analysis Results Interchange Format)\n * output from security scanners (Semgrep, CodeQL, Bandit, ESLint).\n * Normalizes findings into a unified schema for MCP tool consumption.\n *\n * @module security/sarif-types\n * (Source: Issue #1681, #1682 — Proactive Defensive Security)\n */\n\nimport { z } from 'zod';\n\n// ============================================================================\n// Unified Security Finding Schema\n// ============================================================================\n\n/**\n * Canonical 5-value finding-severity vocabulary (CVSS-aligned), most→least\n * severe. THE single source of truth — every 5-value finding-severity zod enum\n * (severity-consensus, finding-triage, agents/output-schemas, expert-types\n * VulnerabilitySeverity) and both SEVERITY_ORDER maps derive from this (#3570).\n * Tuple order is authoritative: SEVERITY_ORDER below maps it to ascending ranks.\n */\nexport const FINDING_SEVERITY_LEVELS = ['critical', 'high', 'medium', 'low', 'info'] as const;\n\n/** Severity levels aligned with CVSS and common scanner output. */\nexport const FindingSeveritySchema = z.enum(FINDING_SEVERITY_LEVELS);\nexport type FindingSeverity = z.infer<typeof FindingSeveritySchema>;\n\n/** A normalized security finding from any SARIF-compatible scanner. */\nexport const SecurityFindingSchema = z.object({\n /** Unique finding ID (scanner-specific rule ID). */\n id: z.string().min(1),\n /** Scanner that produced this finding. */\n scanner: z.string().min(1),\n /** Rule identifier (e.g., 'javascript.lang.security.detect-eval'). */\n rule: z.string().min(1),\n /** Normalized severity. */\n severity: FindingSeveritySchema,\n /** Human-readable description of the finding. */\n message: z.string().min(1).max(2000),\n /** File path where the finding was detected. */\n file: z.string().min(1),\n /** Start line number (1-based). */\n startLine: z.number().int().min(1),\n /** End line number (1-based, optional). */\n endLine: z.number().int().min(1).optional(),\n /** CWE identifiers (e.g., ['CWE-79', 'CWE-89']). */\n cweIds: z.array(z.string()).default([]),\n /** Scanner confidence (0-1). */\n confidence: z.number().min(0).max(1).default(0.5),\n /** Code snippet around the finding (optional). */\n snippet: z.string().
|
|
1
|
+
{"version":3,"sources":["../src/security/sarif-types.ts"],"sourcesContent":["/**\n * SARIF Types and Security Finding Schema (#1682)\n *\n * Types for parsing SARIF (Static Analysis Results Interchange Format)\n * output from security scanners (Semgrep, CodeQL, Bandit, ESLint).\n * Normalizes findings into a unified schema for MCP tool consumption.\n *\n * @module security/sarif-types\n * (Source: Issue #1681, #1682 — Proactive Defensive Security)\n */\n\nimport { z } from 'zod';\n\n// ============================================================================\n// Unified Security Finding Schema\n// ============================================================================\n\n/**\n * Canonical 5-value finding-severity vocabulary (CVSS-aligned), most→least\n * severe. THE single source of truth — every 5-value finding-severity zod enum\n * (severity-consensus, finding-triage, agents/output-schemas, expert-types\n * VulnerabilitySeverity) and both SEVERITY_ORDER maps derive from this (#3570).\n * Tuple order is authoritative: SEVERITY_ORDER below maps it to ascending ranks.\n */\nexport const FINDING_SEVERITY_LEVELS = ['critical', 'high', 'medium', 'low', 'info'] as const;\n\n/** Severity levels aligned with CVSS and common scanner output. */\nexport const FindingSeveritySchema = z.enum(FINDING_SEVERITY_LEVELS);\nexport type FindingSeverity = z.infer<typeof FindingSeveritySchema>;\n\n/** A normalized security finding from any SARIF-compatible scanner. */\nexport const SecurityFindingSchema = z.object({\n /** Unique finding ID (scanner-specific rule ID). */\n id: z.string().min(1),\n /** Scanner that produced this finding. */\n scanner: z.string().min(1),\n /** Rule identifier (e.g., 'javascript.lang.security.detect-eval'). */\n rule: z.string().min(1),\n /** Normalized severity. */\n severity: FindingSeveritySchema,\n /** Human-readable description of the finding. */\n message: z.string().min(1).max(2000),\n /** File path where the finding was detected. */\n file: z.string().min(1),\n /** Start line number (1-based). */\n startLine: z.number().int().min(1),\n /** End line number (1-based, optional). */\n endLine: z.number().int().min(1).optional(),\n /** CWE identifiers (e.g., ['CWE-79', 'CWE-89']). */\n cweIds: z.array(z.string()).default([]),\n /** Scanner confidence (0-1). */\n confidence: z.number().min(0).max(1).default(0.5),\n /** Code snippet around the finding (optional). */\n snippet: z.string().optional(),\n /** Scanner reported incompleteness or unusable truncation metadata; unsafe to match. */\n snippetTruncated: z.boolean().optional(),\n /** Help URL for remediation guidance. */\n helpUrl: z.string().optional(),\n});\n\nexport type SecurityFinding = z.infer<typeof SecurityFindingSchema>;\n\n/** A scanner-reported file parse gap, requiring comparison before it can be excused. */\nexport interface ScannerParseDiagnostic {\n readonly file: string;\n readonly kind: 'parse' | 'partial-parse';\n /** Full diagnostic identity, including the location and unexpected syntax. */\n readonly message: string;\n}\n\n/** Result of parsing a SARIF file. */\nexport interface SarifParseResult {\n /** Scanner name extracted from SARIF. */\n readonly scanner: string;\n /** Total findings parsed. */\n readonly totalFindings: number;\n /** Findings sorted by severity (critical first). */\n readonly findings: readonly SecurityFinding[];\n /** Parsing errors (non-fatal). */\n readonly errors: readonly string[];\n /** False for capped/malformed findings or non-parse failures; inspect parseDiagnostics too. */\n readonly coverageComplete?: boolean;\n /** Attributable parse gaps, distinct from unusable results and non-parse errors. */\n readonly parseDiagnostics?: readonly ScannerParseDiagnostic[];\n /** Version measured from the scanner executable, when run by security_scan. */\n readonly scannerVersion?: string;\n}\n\n// ============================================================================\n// SARIF Input Types (subset of the SARIF 2.1.0 spec we need)\n// ============================================================================\n\n/** SARIF result level → our severity mapping. */\nexport const SARIF_LEVEL_MAP: Readonly<Record<string, FindingSeverity>> = {\n error: 'high',\n warning: 'medium',\n note: 'low',\n none: 'info',\n};\n\n/**\n * Severity order for sorting (lower = more severe). Derived from the canonical\n * tuple so it can never drift from {@link FINDING_SEVERITY_LEVELS} (#3570).\n */\nexport const SEVERITY_ORDER: Readonly<Record<FindingSeverity, number>> = Object.fromEntries(\n FINDING_SEVERITY_LEVELS.map((level, index) => [level, index])\n) as Record<FindingSeverity, number>;\n"],"mappings":";AAWA,SAAS,SAAS;AAaX,IAAM,0BAA0B,CAAC,YAAY,QAAQ,UAAU,OAAO,MAAM;AAG5E,IAAM,wBAAwB,EAAE,KAAK,uBAAuB;AAI5D,IAAM,wBAAwB,EAAE,OAAO;AAAA;AAAA,EAE5C,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC;AAAA;AAAA,EAEpB,SAAS,EAAE,OAAO,EAAE,IAAI,CAAC;AAAA;AAAA,EAEzB,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC;AAAA;AAAA,EAEtB,UAAU;AAAA;AAAA,EAEV,SAAS,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,IAAI,GAAI;AAAA;AAAA,EAEnC,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC;AAAA;AAAA,EAEtB,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC;AAAA;AAAA,EAEjC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,SAAS;AAAA;AAAA,EAE1C,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,QAAQ,CAAC,CAAC;AAAA;AAAA,EAEtC,YAAY,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,IAAI,CAAC,EAAE,QAAQ,GAAG;AAAA;AAAA,EAEhD,SAAS,EAAE,OAAO,EAAE,SAAS;AAAA;AAAA,EAE7B,kBAAkB,EAAE,QAAQ,EAAE,SAAS;AAAA;AAAA,EAEvC,SAAS,EAAE,OAAO,EAAE,SAAS;AAC/B,CAAC;AAmCM,IAAM,kBAA6D;AAAA,EACxE,OAAO;AAAA,EACP,SAAS;AAAA,EACT,MAAM;AAAA,EACN,MAAM;AACR;AAMO,IAAM,iBAA4D,OAAO;AAAA,EAC9E,wBAAwB,IAAI,CAAC,OAAO,UAAU,CAAC,OAAO,KAAK,CAAC;AAC9D;","names":[]}
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
OPENAI_COMPAT_URL_ENV,
|
|
6
6
|
err,
|
|
7
7
|
ok
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JZKUQXWH.js";
|
|
9
9
|
import {
|
|
10
10
|
createLogger
|
|
11
11
|
} from "./chunk-GR6WCJWY.js";
|
|
@@ -307,4 +307,4 @@ export {
|
|
|
307
307
|
hostnameOf,
|
|
308
308
|
redactApiKey
|
|
309
309
|
};
|
|
310
|
-
//# sourceMappingURL=chunk-
|
|
310
|
+
//# sourceMappingURL=chunk-GKV6J3R7.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
getModelPricing,
|
|
12
12
|
resolveCliCostPer1M,
|
|
13
13
|
resolveCliModelName
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VN5UL4NT.js";
|
|
15
15
|
import {
|
|
16
16
|
DEFAULT_MODEL_PER_CLI,
|
|
17
17
|
buildInTreeEntries,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
pricingSourceOf,
|
|
22
22
|
resolveModelIdentitySync,
|
|
23
23
|
unpricedCliCostPer1M
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-7HPKVHS3.js";
|
|
25
25
|
import {
|
|
26
26
|
ensureLearningDir,
|
|
27
27
|
getDecisionCostFile,
|
|
@@ -4717,7 +4717,7 @@ function adapterReadiness(adapter, options) {
|
|
|
4717
4717
|
const ceiling = resolveClassGuardMs("interactive");
|
|
4718
4718
|
const requested = options.timeoutMs ?? ceiling;
|
|
4719
4719
|
const timeoutMs = Number.isFinite(requested) && requested > 0 ? Math.min(requested, ceiling) : ceiling;
|
|
4720
|
-
const flight = import("./cli-readiness-
|
|
4720
|
+
const flight = import("./cli-readiness-QJLRNIBW.js").then(({ probeServes }) => probeServes(adapter, timeoutMs)).finally(() => readinessFlights.delete(adapter));
|
|
4721
4721
|
readinessFlights.set(adapter, flight);
|
|
4722
4722
|
return flight;
|
|
4723
4723
|
}
|
|
@@ -4727,7 +4727,7 @@ async function servesListedModel(adapter, modelId, cli) {
|
|
|
4727
4727
|
const models = await adapter.listModels();
|
|
4728
4728
|
if (models.length === 0) return "unknown";
|
|
4729
4729
|
const requestedKey = canonicalModelKey(modelId);
|
|
4730
|
-
const findCanonicalModel = cli === "codex" ? (await import("./model-config-helpers-
|
|
4730
|
+
const findCanonicalModel = cli === "codex" ? (await import("./model-config-helpers-YSCNO2KP.js")).findCanonicalModel : void 0;
|
|
4731
4731
|
const requestedEntry = requestedKey === null ? findCanonicalModel?.("codex", modelId) : void 0;
|
|
4732
4732
|
const listed = models.some((model) => {
|
|
4733
4733
|
const listedEntry = findCanonicalModel?.("codex", model.id);
|
|
@@ -6402,7 +6402,7 @@ var ModelToCliAdapter = class {
|
|
|
6402
6402
|
}
|
|
6403
6403
|
async execute(task, options) {
|
|
6404
6404
|
const gatewayArm = this.gatewayArmField().gatewayArm;
|
|
6405
|
-
const breaker = gatewayArm !== void 0 && this.modelAdapter.providerId === `cli-${this.name}` ? (await import("./cli-circuit-breaker-
|
|
6405
|
+
const breaker = gatewayArm !== void 0 && this.modelAdapter.providerId === `cli-${this.name}` ? (await import("./cli-circuit-breaker-SLK4VLEW.js")).getDefaultCliCircuitBreakerRegistry().getArmBreaker(breakerKeys.forArm({ name: this.name, gatewayArm })) : void 0;
|
|
6406
6406
|
const result = await this.modelAdapter.complete(this.toCompletionRequest(task, options));
|
|
6407
6407
|
if (!result.ok) {
|
|
6408
6408
|
const cliError = this.toCliError(result.error);
|
|
@@ -17618,7 +17618,7 @@ var CompositeRouter = class _CompositeRouter {
|
|
|
17618
17618
|
*/
|
|
17619
17619
|
async consultUnifiedContext(task) {
|
|
17620
17620
|
try {
|
|
17621
|
-
const { getContextForTask, inferTaskCategory } = await import("./context-retriever-
|
|
17621
|
+
const { getContextForTask, inferTaskCategory } = await import("./context-retriever-EGTIDKSC.js");
|
|
17622
17622
|
const ctx = await getContextForTask({
|
|
17623
17623
|
task: task.content,
|
|
17624
17624
|
category: inferTaskCategory(task.content),
|
|
@@ -19295,4 +19295,4 @@ export {
|
|
|
19295
19295
|
AgentCapability,
|
|
19296
19296
|
OrchestratorError
|
|
19297
19297
|
};
|
|
19298
|
-
//# sourceMappingURL=chunk-
|
|
19298
|
+
//# sourceMappingURL=chunk-JZKUQXWH.js.map
|