nexus-agents 8.133.0 → 8.133.2
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-C6W6B3OW.js → ast-rule-runner-3ILUYP2S.js} +4 -4
- package/dist/{child-mcp-config-PDUF5U7O.js → child-mcp-config-ZAVMFMHC.js} +3 -3
- package/dist/{chunk-KW7ECGXK.js → chunk-26YUABXD.js} +2 -2
- package/dist/{chunk-4KI6E4LC.js → chunk-37PFBRXG.js} +7 -7
- package/dist/{chunk-X6N5UKRS.js → chunk-4LOCKA6Z.js} +5 -5
- package/dist/{chunk-WJHEEFLZ.js → chunk-4VZPN6XN.js} +42 -25
- package/dist/chunk-4VZPN6XN.js.map +1 -0
- package/dist/{chunk-WFPQRMIG.js → chunk-5TIVCAPR.js} +10 -10
- package/dist/{chunk-45TGZZJL.js → chunk-6JDBJO7N.js} +4 -4
- package/dist/{chunk-MWYANPB4.js → chunk-7TWS65XL.js} +3 -3
- package/dist/chunk-A4LJDRY7.js +227 -0
- package/dist/chunk-A4LJDRY7.js.map +1 -0
- package/dist/{chunk-VDDV7HXG.js → chunk-ASEDGRDA.js} +30 -19
- package/dist/{chunk-VDDV7HXG.js.map → chunk-ASEDGRDA.js.map} +1 -1
- package/dist/{chunk-KM6MFU4Y.js → chunk-DUCHVCCB.js} +4 -4
- package/dist/{chunk-SNEW43GH.js → chunk-DVPTF7E2.js} +2 -2
- package/dist/{chunk-GTTOMOJ5.js → chunk-F4PEUZ4X.js} +2 -2
- package/dist/{chunk-R5S4MG43.js → chunk-FYMHYIMX.js} +547 -54
- package/dist/chunk-FYMHYIMX.js.map +1 -0
- package/dist/{chunk-XFH34QGM.js → chunk-FZ4UDXNX.js} +67 -62
- package/dist/{chunk-XFH34QGM.js.map → chunk-FZ4UDXNX.js.map} +1 -1
- package/dist/{chunk-X77XLLW6.js → chunk-G32F24ON.js} +2 -2
- package/dist/{chunk-R2CQATAM.js → chunk-GZISUG3E.js} +2 -2
- package/dist/{chunk-ZHQE7OM3.js → chunk-IGC3MTMN.js} +258 -232
- package/dist/chunk-IGC3MTMN.js.map +1 -0
- package/dist/{chunk-6SI6FDW7.js → chunk-INQLOYI2.js} +8 -8
- package/dist/{chunk-723M5TZC.js → chunk-J63YVVKW.js} +3 -3
- package/dist/{chunk-U2X3V32C.js → chunk-JM2CABHD.js} +2 -2
- package/dist/{chunk-ETCRF6VK.js → chunk-JT3B4XMV.js} +4 -4
- package/dist/{chunk-5E4NVY3A.js → chunk-KIJY44AB.js} +3 -3
- package/dist/{chunk-IJ55CLUM.js → chunk-LBDXYMXS.js} +2 -2
- package/dist/{chunk-LDNOTDO2.js → chunk-MQKHFDCM.js} +2 -2
- package/dist/{chunk-K7M2NMG2.js → chunk-NQMKCTX6.js} +2 -2
- package/dist/{chunk-TLYWXYL4.js → chunk-OXJBQRYD.js} +3 -3
- package/dist/{chunk-2767DZTS.js → chunk-PRX4ERTK.js} +4 -4
- package/dist/{chunk-XQBJMKVQ.js → chunk-R6K2MRFJ.js} +2 -2
- package/dist/{chunk-QRHXWTGZ.js → chunk-RH6XKNZR.js} +3 -3
- package/dist/{chunk-5DE2SNQ2.js → chunk-RIJFSLQ2.js} +14 -11
- package/dist/chunk-RIJFSLQ2.js.map +1 -0
- package/dist/{chunk-UUSUJSOU.js → chunk-SRRECWT6.js} +6 -6
- package/dist/{chunk-43HJNOMW.js → chunk-U7VICPNO.js} +5 -5
- package/dist/{chunk-5ILC445X.js → chunk-VUCDRYGE.js} +27 -14
- package/dist/chunk-VUCDRYGE.js.map +1 -0
- package/dist/{chunk-LJDYERQN.js → chunk-Y7ZQ2FXW.js} +2 -2
- package/dist/{chunk-FKYZKQ6H.js → chunk-YKW32JWJ.js} +2 -2
- package/dist/{chunk-R24WSIHY.js → chunk-Z2T54LTR.js} +2 -2
- package/dist/{cli-circuit-breaker-QTL7HCHC.js → cli-circuit-breaker-WIQOCIV3.js} +4 -4
- package/dist/{cli-readiness-QG5UOTYW.js → cli-readiness-AMPWLQCT.js} +8 -8
- package/dist/cli.js +63 -63
- package/dist/{composite-router-PIU7ONRT.js → composite-router-WAJXYCCX.js} +3 -3
- package/dist/{consensus-vote-2RO5X7FI.js → consensus-vote-QGKRHZQ2.js} +20 -20
- package/dist/{context-retriever-DZBSLUFC.js → context-retriever-MCPOXBLT.js} +9 -9
- package/dist/{doctor-deep-LNSVVAWG.js → doctor-deep-R6LOSA7S.js} +4 -4
- package/dist/{doctor-gateway-report-O5V5IGJ3.js → doctor-gateway-report-AJCXLLBP.js} +9 -9
- package/dist/{doctor-live-DTXAT6FB.js → doctor-live-24G6DWUF.js} +14 -14
- package/dist/{expert-bridge-OMARZJ2Z.js → expert-bridge-ZIK2FIR3.js} +5 -5
- package/dist/{factory-D2UBJQBR.js → factory-NDYEOO6R.js} +12 -12
- package/dist/{factory-AN6TV3AB.js → factory-QRL47DUV.js} +6 -6
- package/dist/{improvement-review-GBHJG2AP.js → improvement-review-F32B7NWE.js} +7 -7
- package/dist/index.d.ts +9 -2
- package/dist/index.js +35 -35
- package/dist/{init-opencode-CXIGUC67.js → init-opencode-QMIGCOL6.js} +7 -7
- package/dist/{issue-triage-EZV57IDT.js → issue-triage-BYJM6NLT.js} +7 -7
- package/dist/{model-config-helpers-NLNQYE56.js → model-config-helpers-JMW2UUV2.js} +3 -3
- package/dist/{openai-compat-adapter-ZHN7LOPX.js → openai-compat-adapter-KXLQWNMR.js} +7 -7
- package/dist/{outcome-store-adapter-3FCJYMBZ.js → outcome-store-adapter-SOXHKXH7.js} +3 -3
- package/dist/{pr-reviewer-helpers-SCWR3W6P.js → pr-reviewer-helpers-7VD2TIXW.js} +5 -5
- package/dist/{registry-command-CS5YW2FX.js → registry-command-UB6XFR7W.js} +5 -5
- package/dist/{repo-security-plan-ABT4IKDB.js → repo-security-plan-JHXDYI7I.js} +4 -4
- package/dist/{research-helpers-synthesize-WSRE5HD6.js → research-helpers-synthesize-3XVMWIDK.js} +5 -5
- package/dist/{routing-memory-X3FJUVBJ.js → routing-memory-AMB3K7VB.js} +3 -3
- package/dist/{session-memory-WNAX4N2H.js → session-memory-IN2M5V56.js} +4 -4
- package/dist/{setup-config-DBSLU44W.js → setup-config-BHTIRLV3.js} +4 -4
- package/dist/{setup-custom-api-OXAVVWSF.js → setup-custom-api-RGPES2HW.js} +5 -5
- package/dist/setup-data-dir-KM2CKBUE.js +36 -0
- package/dist/{tool-memory-VGQLJBRX.js → tool-memory-IFCSNEA6.js} +6 -6
- package/dist/{unified-registry-EKLRF3AC.js → unified-registry-NZPESKZQ.js} +13 -13
- package/dist/{weather-report-FZK5BBCN.js → weather-report-7FN3OUJ2.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-5DE2SNQ2.js.map +0 -1
- package/dist/chunk-5ILC445X.js.map +0 -1
- package/dist/chunk-L4RWKSLH.js +0 -617
- package/dist/chunk-L4RWKSLH.js.map +0 -1
- package/dist/chunk-R5S4MG43.js.map +0 -1
- package/dist/chunk-WJHEEFLZ.js.map +0 -1
- package/dist/chunk-ZHQE7OM3.js.map +0 -1
- package/dist/setup-data-dir-OLEGFMCM.js +0 -36
- /package/dist/{ast-rule-runner-C6W6B3OW.js.map → ast-rule-runner-3ILUYP2S.js.map} +0 -0
- /package/dist/{child-mcp-config-PDUF5U7O.js.map → child-mcp-config-ZAVMFMHC.js.map} +0 -0
- /package/dist/{chunk-KW7ECGXK.js.map → chunk-26YUABXD.js.map} +0 -0
- /package/dist/{chunk-4KI6E4LC.js.map → chunk-37PFBRXG.js.map} +0 -0
- /package/dist/{chunk-X6N5UKRS.js.map → chunk-4LOCKA6Z.js.map} +0 -0
- /package/dist/{chunk-WFPQRMIG.js.map → chunk-5TIVCAPR.js.map} +0 -0
- /package/dist/{chunk-45TGZZJL.js.map → chunk-6JDBJO7N.js.map} +0 -0
- /package/dist/{chunk-MWYANPB4.js.map → chunk-7TWS65XL.js.map} +0 -0
- /package/dist/{chunk-KM6MFU4Y.js.map → chunk-DUCHVCCB.js.map} +0 -0
- /package/dist/{chunk-SNEW43GH.js.map → chunk-DVPTF7E2.js.map} +0 -0
- /package/dist/{chunk-GTTOMOJ5.js.map → chunk-F4PEUZ4X.js.map} +0 -0
- /package/dist/{chunk-X77XLLW6.js.map → chunk-G32F24ON.js.map} +0 -0
- /package/dist/{chunk-R2CQATAM.js.map → chunk-GZISUG3E.js.map} +0 -0
- /package/dist/{chunk-6SI6FDW7.js.map → chunk-INQLOYI2.js.map} +0 -0
- /package/dist/{chunk-723M5TZC.js.map → chunk-J63YVVKW.js.map} +0 -0
- /package/dist/{chunk-U2X3V32C.js.map → chunk-JM2CABHD.js.map} +0 -0
- /package/dist/{chunk-ETCRF6VK.js.map → chunk-JT3B4XMV.js.map} +0 -0
- /package/dist/{chunk-5E4NVY3A.js.map → chunk-KIJY44AB.js.map} +0 -0
- /package/dist/{chunk-IJ55CLUM.js.map → chunk-LBDXYMXS.js.map} +0 -0
- /package/dist/{chunk-LDNOTDO2.js.map → chunk-MQKHFDCM.js.map} +0 -0
- /package/dist/{chunk-K7M2NMG2.js.map → chunk-NQMKCTX6.js.map} +0 -0
- /package/dist/{chunk-TLYWXYL4.js.map → chunk-OXJBQRYD.js.map} +0 -0
- /package/dist/{chunk-2767DZTS.js.map → chunk-PRX4ERTK.js.map} +0 -0
- /package/dist/{chunk-XQBJMKVQ.js.map → chunk-R6K2MRFJ.js.map} +0 -0
- /package/dist/{chunk-QRHXWTGZ.js.map → chunk-RH6XKNZR.js.map} +0 -0
- /package/dist/{chunk-UUSUJSOU.js.map → chunk-SRRECWT6.js.map} +0 -0
- /package/dist/{chunk-43HJNOMW.js.map → chunk-U7VICPNO.js.map} +0 -0
- /package/dist/{chunk-LJDYERQN.js.map → chunk-Y7ZQ2FXW.js.map} +0 -0
- /package/dist/{chunk-FKYZKQ6H.js.map → chunk-YKW32JWJ.js.map} +0 -0
- /package/dist/{chunk-R24WSIHY.js.map → chunk-Z2T54LTR.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-QTL7HCHC.js.map → cli-circuit-breaker-WIQOCIV3.js.map} +0 -0
- /package/dist/{cli-readiness-QG5UOTYW.js.map → cli-readiness-AMPWLQCT.js.map} +0 -0
- /package/dist/{composite-router-PIU7ONRT.js.map → composite-router-WAJXYCCX.js.map} +0 -0
- /package/dist/{consensus-vote-2RO5X7FI.js.map → consensus-vote-QGKRHZQ2.js.map} +0 -0
- /package/dist/{context-retriever-DZBSLUFC.js.map → context-retriever-MCPOXBLT.js.map} +0 -0
- /package/dist/{doctor-deep-LNSVVAWG.js.map → doctor-deep-R6LOSA7S.js.map} +0 -0
- /package/dist/{doctor-gateway-report-O5V5IGJ3.js.map → doctor-gateway-report-AJCXLLBP.js.map} +0 -0
- /package/dist/{doctor-live-DTXAT6FB.js.map → doctor-live-24G6DWUF.js.map} +0 -0
- /package/dist/{expert-bridge-OMARZJ2Z.js.map → expert-bridge-ZIK2FIR3.js.map} +0 -0
- /package/dist/{factory-AN6TV3AB.js.map → factory-NDYEOO6R.js.map} +0 -0
- /package/dist/{factory-D2UBJQBR.js.map → factory-QRL47DUV.js.map} +0 -0
- /package/dist/{improvement-review-GBHJG2AP.js.map → improvement-review-F32B7NWE.js.map} +0 -0
- /package/dist/{init-opencode-CXIGUC67.js.map → init-opencode-QMIGCOL6.js.map} +0 -0
- /package/dist/{issue-triage-EZV57IDT.js.map → issue-triage-BYJM6NLT.js.map} +0 -0
- /package/dist/{model-config-helpers-NLNQYE56.js.map → model-config-helpers-JMW2UUV2.js.map} +0 -0
- /package/dist/{openai-compat-adapter-ZHN7LOPX.js.map → openai-compat-adapter-KXLQWNMR.js.map} +0 -0
- /package/dist/{outcome-store-adapter-3FCJYMBZ.js.map → outcome-store-adapter-SOXHKXH7.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-SCWR3W6P.js.map → pr-reviewer-helpers-7VD2TIXW.js.map} +0 -0
- /package/dist/{registry-command-CS5YW2FX.js.map → registry-command-UB6XFR7W.js.map} +0 -0
- /package/dist/{repo-security-plan-ABT4IKDB.js.map → repo-security-plan-JHXDYI7I.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-WSRE5HD6.js.map → research-helpers-synthesize-3XVMWIDK.js.map} +0 -0
- /package/dist/{routing-memory-X3FJUVBJ.js.map → routing-memory-AMB3K7VB.js.map} +0 -0
- /package/dist/{session-memory-WNAX4N2H.js.map → session-memory-IN2M5V56.js.map} +0 -0
- /package/dist/{setup-config-DBSLU44W.js.map → setup-config-BHTIRLV3.js.map} +0 -0
- /package/dist/{setup-custom-api-OXAVVWSF.js.map → setup-custom-api-RGPES2HW.js.map} +0 -0
- /package/dist/{setup-data-dir-OLEGFMCM.js.map → setup-data-dir-KM2CKBUE.js.map} +0 -0
- /package/dist/{tool-memory-VGQLJBRX.js.map → tool-memory-IFCSNEA6.js.map} +0 -0
- /package/dist/{unified-registry-EKLRF3AC.js.map → unified-registry-NZPESKZQ.js.map} +0 -0
- /package/dist/{weather-report-FZK5BBCN.js.map → weather-report-7FN3OUJ2.js.map} +0 -0
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
getBuiltInAstRulesPath,
|
|
10
10
|
loadRules,
|
|
11
11
|
runAstQaRules
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-26YUABXD.js";
|
|
13
|
+
import "./chunk-FYMHYIMX.js";
|
|
14
14
|
import "./chunk-XBEKMUTO.js";
|
|
15
|
-
import "./chunk-4PN3UVZV.js";
|
|
16
15
|
import "./chunk-UE7A2XHM.js";
|
|
17
16
|
import "./chunk-LWOX65CP.js";
|
|
17
|
+
import "./chunk-4PN3UVZV.js";
|
|
18
18
|
import "./chunk-PX6F3LHL.js";
|
|
19
19
|
export {
|
|
20
20
|
AST_RULE_LANGUAGES,
|
|
@@ -28,4 +28,4 @@ export {
|
|
|
28
28
|
loadRules,
|
|
29
29
|
runAstQaRules
|
|
30
30
|
};
|
|
31
|
-
//# sourceMappingURL=ast-rule-runner-
|
|
31
|
+
//# sourceMappingURL=ast-rule-runner-3ILUYP2S.js.map
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-JPFRRNRR.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FYMHYIMX.js";
|
|
7
7
|
import "./chunk-XBEKMUTO.js";
|
|
8
|
-
import "./chunk-4PN3UVZV.js";
|
|
9
8
|
import "./chunk-UE7A2XHM.js";
|
|
10
9
|
import "./chunk-LWOX65CP.js";
|
|
10
|
+
import "./chunk-4PN3UVZV.js";
|
|
11
11
|
import "./chunk-PX6F3LHL.js";
|
|
12
12
|
|
|
13
13
|
// src/cli-adapters/child-mcp-config.ts
|
|
@@ -75,4 +75,4 @@ async function generateMcpConfig(options) {
|
|
|
75
75
|
export {
|
|
76
76
|
generateMcpConfig
|
|
77
77
|
};
|
|
78
|
-
//# sourceMappingURL=child-mcp-config-
|
|
78
|
+
//# sourceMappingURL=child-mcp-config-ZAVMFMHC.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
createLogger,
|
|
5
5
|
formatZodError,
|
|
6
6
|
resolveInsideRoot
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FYMHYIMX.js";
|
|
8
8
|
|
|
9
9
|
// src/security/ast-rule-runner.ts
|
|
10
10
|
import { existsSync } from "node:fs";
|
|
@@ -241,4 +241,4 @@ export {
|
|
|
241
241
|
collectAstQaFindings,
|
|
242
242
|
runAstQaRules
|
|
243
243
|
};
|
|
244
|
-
//# sourceMappingURL=chunk-
|
|
244
|
+
//# sourceMappingURL=chunk-26YUABXD.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureGatewayDiscovered,
|
|
3
3
|
gatewayDiscoveryGeneration
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KIJY44AB.js";
|
|
5
5
|
import {
|
|
6
6
|
createLogger,
|
|
7
7
|
getTimeProvider,
|
|
8
8
|
isRateLimitText,
|
|
9
9
|
resolveCliSlot
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FYMHYIMX.js";
|
|
11
11
|
|
|
12
12
|
// src/pipeline/expert-access-mode.ts
|
|
13
13
|
var logger = createLogger({ component: "expert-bridge" });
|
|
@@ -78,7 +78,7 @@ async function dispatchWithMcpConfig(router, content, expertType, start, options
|
|
|
78
78
|
let config;
|
|
79
79
|
if (requestedAccessModeOf(options) === "default") {
|
|
80
80
|
try {
|
|
81
|
-
const { generateMcpConfig } = await import("./child-mcp-config-
|
|
81
|
+
const { generateMcpConfig } = await import("./child-mcp-config-ZAVMFMHC.js");
|
|
82
82
|
config = await generateMcpConfig();
|
|
83
83
|
activeMcpConfigs.add(config);
|
|
84
84
|
} catch (error) {
|
|
@@ -167,8 +167,8 @@ async function getRouter() {
|
|
|
167
167
|
}
|
|
168
168
|
if (cachedRouter !== null) return cachedRouter;
|
|
169
169
|
routerInitPromise ??= (async () => {
|
|
170
|
-
const { createAllAdapters } = await import("./factory-
|
|
171
|
-
const { createCompositeRouter } = await import("./composite-router-
|
|
170
|
+
const { createAllAdapters } = await import("./factory-NDYEOO6R.js");
|
|
171
|
+
const { createCompositeRouter } = await import("./composite-router-WAJXYCCX.js");
|
|
172
172
|
const adapters = createAllAdapters();
|
|
173
173
|
const superseded = generation !== routerGeneration;
|
|
174
174
|
if (adapters.size === 0) {
|
|
@@ -179,7 +179,7 @@ async function getRouter() {
|
|
|
179
179
|
if (superseded) return router;
|
|
180
180
|
cachedRouter = router;
|
|
181
181
|
try {
|
|
182
|
-
const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-
|
|
182
|
+
const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-WIQOCIV3.js");
|
|
183
183
|
cachedCircuitBreaker = createCliCircuitBreakerIntegration([...adapters.values()]);
|
|
184
184
|
} catch (error) {
|
|
185
185
|
const msg = error instanceof Error ? error.message : String(error);
|
|
@@ -320,4 +320,4 @@ export {
|
|
|
320
320
|
tokenSplitFromUsage,
|
|
321
321
|
executeExpert
|
|
322
322
|
};
|
|
323
|
-
//# sourceMappingURL=chunk-
|
|
323
|
+
//# sourceMappingURL=chunk-37PFBRXG.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-R6K2MRFJ.js";
|
|
5
5
|
import {
|
|
6
6
|
ReputationCache,
|
|
7
7
|
assessReputation,
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
resolveEnvMode,
|
|
10
10
|
resolveReputationGatingMode,
|
|
11
11
|
sanitizeInput
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Z2T54LTR.js";
|
|
13
13
|
import {
|
|
14
14
|
hasToken
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DVPTF7E2.js";
|
|
16
16
|
import {
|
|
17
17
|
toContentTrustProvenanceRecord
|
|
18
18
|
} from "./chunk-ZO6ZKR7L.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
getErrorMessage,
|
|
28
28
|
getTimeProvider,
|
|
29
29
|
ok
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-FYMHYIMX.js";
|
|
31
31
|
import {
|
|
32
32
|
CLI_SUBPROCESS_TIMEOUTS
|
|
33
33
|
} from "./chunk-4PN3UVZV.js";
|
|
@@ -2663,4 +2663,4 @@ export {
|
|
|
2663
2663
|
IssueTriage,
|
|
2664
2664
|
createIssueTriage
|
|
2665
2665
|
};
|
|
2666
|
-
//# sourceMappingURL=chunk-
|
|
2666
|
+
//# sourceMappingURL=chunk-4LOCKA6Z.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
VERSION,
|
|
8
8
|
isNodeVersionSupported,
|
|
9
9
|
recordServerTransport
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-J63YVVKW.js";
|
|
11
11
|
import {
|
|
12
12
|
checkGatewayHealth,
|
|
13
13
|
cliFailsVerdict,
|
|
@@ -17,14 +17,14 @@ import {
|
|
|
17
17
|
gatewaySlotServing,
|
|
18
18
|
gatewayVerdict,
|
|
19
19
|
printVoterTransportCheck
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-SRRECWT6.js";
|
|
21
21
|
import {
|
|
22
22
|
readOpenAICompatEndpoint,
|
|
23
23
|
readOpenAICompatEnv
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-U7VICPNO.js";
|
|
25
25
|
import {
|
|
26
26
|
claimGlobalRegistry
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-VUCDRYGE.js";
|
|
28
28
|
import {
|
|
29
29
|
CODEX_LEGACY_LANDLOCK_CONFIG,
|
|
30
30
|
CODEX_MCP_SERVER_UNAVAILABLE_REASON,
|
|
@@ -32,23 +32,23 @@ import {
|
|
|
32
32
|
codexSandboxPreflight,
|
|
33
33
|
createAllAdapters,
|
|
34
34
|
createCliAdapter
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-ASEDGRDA.js";
|
|
36
36
|
import {
|
|
37
37
|
getNexusTmpDir
|
|
38
38
|
} from "./chunk-JPFRRNRR.js";
|
|
39
|
+
import {
|
|
40
|
+
resolveGatewayEnv
|
|
41
|
+
} from "./chunk-LBDXYMXS.js";
|
|
39
42
|
import {
|
|
40
43
|
probeCli
|
|
41
44
|
} from "./chunk-TW6PJYTP.js";
|
|
42
|
-
import {
|
|
43
|
-
resolveGatewayEnv
|
|
44
|
-
} from "./chunk-IJ55CLUM.js";
|
|
45
45
|
import {
|
|
46
46
|
SERVES_PROBE_PROMPT
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-DUCHVCCB.js";
|
|
48
48
|
import {
|
|
49
49
|
ClaudeCliAdapter,
|
|
50
50
|
IN_FAMILY_FALLBACK_OPTION
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-RIJFSLQ2.js";
|
|
52
52
|
import {
|
|
53
53
|
DEFAULT_CAPABILITIES,
|
|
54
54
|
capitalize,
|
|
@@ -69,13 +69,11 @@ import {
|
|
|
69
69
|
isCliDisabled,
|
|
70
70
|
isDurableCapacityText,
|
|
71
71
|
ok,
|
|
72
|
+
resolveAuthEvidence,
|
|
72
73
|
resolveGatewayCostDeclaration,
|
|
73
74
|
symbols,
|
|
74
75
|
writeLine
|
|
75
|
-
} from "./chunk-
|
|
76
|
-
import {
|
|
77
|
-
resolveClassGuardMs
|
|
78
|
-
} from "./chunk-4PN3UVZV.js";
|
|
76
|
+
} from "./chunk-FYMHYIMX.js";
|
|
79
77
|
import {
|
|
80
78
|
getLearningDir,
|
|
81
79
|
getOutcomesFile,
|
|
@@ -91,6 +89,9 @@ import {
|
|
|
91
89
|
nexusDataPath,
|
|
92
90
|
parseBoolEnv
|
|
93
91
|
} from "./chunk-LWOX65CP.js";
|
|
92
|
+
import {
|
|
93
|
+
resolveClassGuardMs
|
|
94
|
+
} from "./chunk-4PN3UVZV.js";
|
|
94
95
|
|
|
95
96
|
// src/cli/setup-data-dir.ts
|
|
96
97
|
import { mkdirSync, existsSync as existsSync3 } from "node:fs";
|
|
@@ -710,8 +711,10 @@ function printCliResult(cli, gatewayCovered) {
|
|
|
710
711
|
if (cli.installed) {
|
|
711
712
|
printInstalledCliDetails(cli);
|
|
712
713
|
} else {
|
|
713
|
-
|
|
714
|
-
|
|
714
|
+
writeLine(` ${colors.red}Error: ${cli.error ?? "Not installed"}${colors.reset}`);
|
|
715
|
+
}
|
|
716
|
+
if (cli.authEvidence !== void 0) {
|
|
717
|
+
writeLine(` Auth evidence: ${cli.authEvidence.rung} (${cli.authEvidence.description})`);
|
|
715
718
|
}
|
|
716
719
|
if (cli.fix !== void 0 && cli.fix !== "") {
|
|
717
720
|
writeLine(` ${colors.dim}Fix: ${cli.fix}${colors.reset}`);
|
|
@@ -734,12 +737,11 @@ function printCapabilities(clis) {
|
|
|
734
737
|
const bestSpeed = installedClis.reduce(
|
|
735
738
|
(best, c) => caps[c.name].speed > caps[best.name].speed ? c : best
|
|
736
739
|
);
|
|
737
|
-
const contextTokensK = (caps[bestContext.name].contextWindow / 1e3).toFixed(0);
|
|
738
740
|
writeLine(
|
|
739
741
|
`${formatStatus(true)} Complex reasoning: ${colors.bold}${capitalize(bestReasoning.name)}${colors.reset}`
|
|
740
742
|
);
|
|
741
743
|
writeLine(
|
|
742
|
-
`${formatStatus(true)} Large context: ${colors.bold}${capitalize(bestContext.name)}${colors.reset} (${
|
|
744
|
+
`${formatStatus(true)} Large context: ${colors.bold}${capitalize(bestContext.name)}${colors.reset} (${(caps[bestContext.name].contextWindow / 1e3).toFixed(0)}K tokens)`
|
|
743
745
|
);
|
|
744
746
|
writeLine(
|
|
745
747
|
`${formatStatus(true)} Fast execution: ${colors.bold}${capitalize(bestSpeed.name)}${colors.reset}`
|
|
@@ -753,11 +755,10 @@ function printNodeVersionCheck(check) {
|
|
|
753
755
|
}
|
|
754
756
|
}
|
|
755
757
|
function printApiKeysCheck(keys) {
|
|
756
|
-
const configuredCount = keys.filter((k) => k.configured).length;
|
|
757
758
|
const configuredNames = keys.filter((k) => k.configured).map((k) => k.name);
|
|
758
|
-
const hasAny =
|
|
759
|
+
const hasAny = configuredNames.length > 0;
|
|
759
760
|
writeLine(
|
|
760
|
-
`${formatStatus(hasAny, !hasAny)} API keys configured: ${String(
|
|
761
|
+
`${formatStatus(hasAny, !hasAny)} API keys configured: ${String(configuredNames.length)} of ${String(keys.length)}`
|
|
761
762
|
);
|
|
762
763
|
if (hasAny) {
|
|
763
764
|
writeLine(` ${colors.dim}Keys: ${configuredNames.join(", ")}${colors.reset}`);
|
|
@@ -1145,6 +1146,7 @@ function createHealthyResult(name, health, authProbe, capacity, adapter) {
|
|
|
1145
1146
|
const versionOk = health.healthy;
|
|
1146
1147
|
const authenticated = versionOk && authProbe.state === "authenticated";
|
|
1147
1148
|
const authState = resolveAuthState(authenticated, authProbe.state);
|
|
1149
|
+
const evidence = resolveAuthEvidence(authProbe);
|
|
1148
1150
|
const result = {
|
|
1149
1151
|
name,
|
|
1150
1152
|
installed: true,
|
|
@@ -1152,6 +1154,7 @@ function createHealthyResult(name, health, authProbe, capacity, adapter) {
|
|
|
1152
1154
|
versionStatus: health.versionStatus,
|
|
1153
1155
|
authenticated,
|
|
1154
1156
|
authState,
|
|
1157
|
+
authEvidence: { ...evidence, description: describeAuthEvidence(authProbe, evidence) },
|
|
1155
1158
|
routerAdmits: isCliAdmitted(health, authProbe),
|
|
1156
1159
|
...authenticated && { authMethod: detectAuthMethod(name) },
|
|
1157
1160
|
...capacity !== void 0 && { capacity }
|
|
@@ -1174,6 +1177,20 @@ function createHealthyResult(name, health, authProbe, capacity, adapter) {
|
|
|
1174
1177
|
}
|
|
1175
1178
|
return result;
|
|
1176
1179
|
}
|
|
1180
|
+
function describeAuthEvidence(probe, evidence) {
|
|
1181
|
+
if (evidence.source === "artifact") {
|
|
1182
|
+
if (probe.state === "authenticated" && probe.via === "env-var") {
|
|
1183
|
+
const envVar = probe.cli === "claude" ? "ANTHROPIC_API_KEY" : "OPENAI_API_KEY";
|
|
1184
|
+
return `${envVar} environment variable`;
|
|
1185
|
+
}
|
|
1186
|
+
return "claude credentials file";
|
|
1187
|
+
}
|
|
1188
|
+
if (evidence.source === "cli") {
|
|
1189
|
+
return probe.cli === "codex" ? "codex login status" : "opencode auth list";
|
|
1190
|
+
}
|
|
1191
|
+
const binary = probe.cli === "gemini" ? "agy" : probe.cli;
|
|
1192
|
+
return `${binary} probe ${evidence.probeState}`;
|
|
1193
|
+
}
|
|
1177
1194
|
async function checkCli(name) {
|
|
1178
1195
|
const adapters = createAllAdapters();
|
|
1179
1196
|
const slotArm = adapters.get(name);
|
|
@@ -1539,7 +1556,7 @@ async function doctorCommand(options = {}) {
|
|
|
1539
1556
|
options.onResult?.(result);
|
|
1540
1557
|
printDoctorResults(result, void 0, options.deferSummary === true);
|
|
1541
1558
|
if (options.gateway === true || options.probe === true) {
|
|
1542
|
-
const { formatGatewayReport } = await import("./doctor-gateway-report-
|
|
1559
|
+
const { formatGatewayReport } = await import("./doctor-gateway-report-AJCXLLBP.js");
|
|
1543
1560
|
for (const line of formatGatewayReport(result.gateway, result.clis)) {
|
|
1544
1561
|
process.stdout.write(line + "\n");
|
|
1545
1562
|
}
|
|
@@ -1558,13 +1575,13 @@ async function runDoctorFix(result) {
|
|
|
1558
1575
|
writeLine2("\u2500".repeat(40));
|
|
1559
1576
|
let fixCount = 0;
|
|
1560
1577
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1561
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1578
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-KM2CKBUE.js");
|
|
1562
1579
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1563
1580
|
writeLine2(outcome.line);
|
|
1564
1581
|
if (outcome.counted) fixCount++;
|
|
1565
1582
|
}
|
|
1566
1583
|
if (!result.configFile.found) {
|
|
1567
|
-
const { runConfigInitSync } = await import("./setup-config-
|
|
1584
|
+
const { runConfigInitSync } = await import("./setup-config-BHTIRLV3.js");
|
|
1568
1585
|
const configResult = runConfigInitSync(process.cwd(), false, false);
|
|
1569
1586
|
if (configResult.success && configResult.created) {
|
|
1570
1587
|
writeLine2(`\u2713 Generated config: ${configResult.path}`);
|
|
@@ -1663,4 +1680,4 @@ export {
|
|
|
1663
1680
|
startStdioServer,
|
|
1664
1681
|
closeServer
|
|
1665
1682
|
};
|
|
1666
|
-
//# sourceMappingURL=chunk-
|
|
1683
|
+
//# sourceMappingURL=chunk-4VZPN6XN.js.map
|