nexus-agents 8.114.0 → 8.116.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-GNHF4O4A.js} +3 -3
- package/dist/{child-mcp-config-CLT4G6JV.js → child-mcp-config-DLOIMQKO.js} +2 -2
- package/dist/{chunk-2PTEHHTT.js → chunk-4UB3C5R2.js} +3 -3
- package/dist/{chunk-PWWOIE47.js → chunk-64QDL4SB.js} +2 -2
- package/dist/{chunk-X3S62T3S.js → chunk-6UNJI3OG.js} +2 -2
- package/dist/{chunk-RWKINNVG.js → chunk-7FKLPIUM.js} +2 -2
- package/dist/{chunk-AVTM3R4Z.js → chunk-B6M5WICO.js} +34 -15
- package/dist/chunk-B6M5WICO.js.map +1 -0
- package/dist/{chunk-VWXR7HKU.js → chunk-C732JUHQ.js} +190 -56
- package/dist/chunk-C732JUHQ.js.map +1 -0
- package/dist/{chunk-N2KD7MXE.js → chunk-C7FXKV2P.js} +4 -4
- package/dist/{chunk-T3QVO4Z6.js → chunk-DU4ESNXS.js} +2 -2
- package/dist/{chunk-ZQ6ZYMZY.js → chunk-FM6C3UWQ.js} +2 -2
- package/dist/{chunk-MW7YAOG7.js → chunk-G66CSQMK.js} +2 -2
- package/dist/{chunk-JA2S2P2L.js → chunk-IWQMBHJG.js} +2 -2
- package/dist/{chunk-Y37VBZ62.js → chunk-J6MUBNKK.js} +2 -2
- package/dist/{chunk-UBEZZIYC.js → chunk-K3AUOQB2.js} +3 -3
- package/dist/{chunk-RLKQFOSZ.js → chunk-KXPBURIH.js} +50 -45
- package/dist/{chunk-RLKQFOSZ.js.map → chunk-KXPBURIH.js.map} +1 -1
- package/dist/{chunk-7S7DKO4D.js → chunk-KZGDUTQN.js} +47 -7
- package/dist/chunk-KZGDUTQN.js.map +1 -0
- package/dist/{chunk-OKQJMAFY.js → chunk-M5QCGAYF.js} +49 -63
- package/dist/chunk-M5QCGAYF.js.map +1 -0
- package/dist/{chunk-6RN764V2.js → chunk-NGXE6VXJ.js} +8 -8
- package/dist/{chunk-XIQB6CXL.js → chunk-OVVZRG33.js} +2 -2
- package/dist/{chunk-CKPFNZZM.js → chunk-PETUFYMB.js} +2 -2
- package/dist/{chunk-5TRZCY36.js → chunk-PHSLNOPR.js} +2 -2
- package/dist/{chunk-2RXTHEUD.js → chunk-PUBYBZ2S.js} +5 -5
- package/dist/{chunk-ATDFYA5W.js → chunk-Q35K5U3X.js} +2 -2
- package/dist/{chunk-NMJV4JR4.js → chunk-S56RRNNL.js} +2 -2
- package/dist/{chunk-7LBOZF2X.js → chunk-SNAHNAUS.js} +5 -5
- package/dist/{chunk-ZEZQ7GV4.js → chunk-V3HFKN3R.js} +2 -2
- package/dist/{chunk-PFJZIJ6A.js → chunk-VBZP2VOE.js} +3 -3
- package/dist/{chunk-DUITQUQG.js → chunk-VKA7ME24.js} +4 -4
- package/dist/{chunk-UBZNEZAG.js → chunk-WYYXTTVO.js} +2 -2
- package/dist/{chunk-YQTRQRH7.js → chunk-Y4DH464N.js} +5 -5
- package/dist/{chunk-DP7JQSU7.js → chunk-Y4IYZ4LX.js} +4 -4
- package/dist/{chunk-YHPMSOFB.js → chunk-YPI2HTHK.js} +2 -2
- package/dist/{chunk-F2MBHW5Y.js → chunk-YYZQUSDZ.js} +2 -2
- package/dist/{chunk-67GC5TY5.js → chunk-ZBSF7CRL.js} +5 -5
- package/dist/{chunk-NPUKKXZV.js → chunk-ZDX6ZOXE.js} +3 -3
- package/dist/{chunk-IS2PAAEU.js → chunk-ZGH4F2BO.js} +2 -2
- package/dist/{chunk-LHVKCINJ.js → chunk-ZO6PWR53.js} +5 -5
- package/dist/{cli-circuit-breaker-NY4BI2M4.js → cli-circuit-breaker-PG3T3Q3G.js} +3 -3
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +46 -46
- package/dist/{composite-router-FCW4AZCS.js → composite-router-VERMHGE7.js} +2 -2
- package/dist/{consensus-vote-XQ3EAK2G.js → consensus-vote-BQM6MYPK.js} +18 -18
- package/dist/{consensus-vote-types-CYc7VWVO.d.ts → consensus-vote-types-BEomLY99.d.ts} +330 -21
- package/dist/{context-retriever-HCN7NCXO.js → context-retriever-2O2OV2YT.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-OQD4K3QR.js} +3 -3
- package/dist/doctor-gateway-report-BXCDIG32.js +17 -0
- package/dist/{doctor-live-62GNMKMA.js → doctor-live-IMXHVIE5.js} +11 -11
- package/dist/{expert-bridge-WDISX7RG.js → expert-bridge-QJR4CSLR.js} +5 -5
- package/dist/{factory-NCCP3VNN.js → factory-E7BJZQX3.js} +10 -10
- package/dist/{factory-OMJSMBSL.js → factory-YDZTRD2U.js} +5 -5
- package/dist/{improvement-review-YFQLWYLJ.js → improvement-review-D2VOPRCP.js} +6 -6
- package/dist/index.d.ts +98 -382
- package/dist/index.js +33 -33
- package/dist/{init-opencode-SYTACFM2.js → init-opencode-RCPKDRML.js} +6 -6
- package/dist/{issue-triage-VSXJ7AY3.js → issue-triage-7RNRPHK6.js} +6 -6
- package/dist/models-dev-snapshot.json +236 -20
- package/dist/{openai-compat-adapter-YZRFOEEI.js → openai-compat-adapter-EMSD6COX.js} +6 -6
- package/dist/{pr-reviewer-helpers-RAF7DGIB.js → pr-reviewer-helpers-PV32NO33.js} +4 -4
- package/dist/{registry-command-WG5TUJC4.js → registry-command-AB3DASZP.js} +2 -2
- package/dist/{repo-security-plan-5FLHCCTG.js → repo-security-plan-5EBZQQJH.js} +3 -3
- package/dist/{research-helpers-synthesize-EYCKTVZU.js → research-helpers-synthesize-J35PMZZ6.js} +4 -4
- package/dist/{routing-memory-Z2HE7IH3.js → routing-memory-4S32OBZT.js} +2 -2
- package/dist/{session-memory-5QIPC7O6.js → session-memory-NTR3KRDX.js} +3 -3
- package/dist/{setup-config-HNHBQG52.js → setup-config-MXBTRCST.js} +3 -3
- package/dist/{setup-custom-api-2KYNK6WT.js → setup-custom-api-LB62J2QJ.js} +4 -4
- package/dist/setup-data-dir-VP6FGUDK.js +34 -0
- package/dist/{tool-memory-LWPWVKWR.js → tool-memory-2NRWKSMJ.js} +5 -5
- package/dist/{unified-registry-A72U42LZ.js → unified-registry-JY6TQURW.js} +12 -12
- package/dist/{weather-report-HVUNR7SZ.js → weather-report-S3TUBVN5.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-GNHF4O4A.js.map} +0 -0
- /package/dist/{child-mcp-config-CLT4G6JV.js.map → child-mcp-config-DLOIMQKO.js.map} +0 -0
- /package/dist/{chunk-2PTEHHTT.js.map → chunk-4UB3C5R2.js.map} +0 -0
- /package/dist/{chunk-PWWOIE47.js.map → chunk-64QDL4SB.js.map} +0 -0
- /package/dist/{chunk-X3S62T3S.js.map → chunk-6UNJI3OG.js.map} +0 -0
- /package/dist/{chunk-RWKINNVG.js.map → chunk-7FKLPIUM.js.map} +0 -0
- /package/dist/{chunk-N2KD7MXE.js.map → chunk-C7FXKV2P.js.map} +0 -0
- /package/dist/{chunk-T3QVO4Z6.js.map → chunk-DU4ESNXS.js.map} +0 -0
- /package/dist/{chunk-ZQ6ZYMZY.js.map → chunk-FM6C3UWQ.js.map} +0 -0
- /package/dist/{chunk-MW7YAOG7.js.map → chunk-G66CSQMK.js.map} +0 -0
- /package/dist/{chunk-JA2S2P2L.js.map → chunk-IWQMBHJG.js.map} +0 -0
- /package/dist/{chunk-Y37VBZ62.js.map → chunk-J6MUBNKK.js.map} +0 -0
- /package/dist/{chunk-UBEZZIYC.js.map → chunk-K3AUOQB2.js.map} +0 -0
- /package/dist/{chunk-6RN764V2.js.map → chunk-NGXE6VXJ.js.map} +0 -0
- /package/dist/{chunk-XIQB6CXL.js.map → chunk-OVVZRG33.js.map} +0 -0
- /package/dist/{chunk-CKPFNZZM.js.map → chunk-PETUFYMB.js.map} +0 -0
- /package/dist/{chunk-5TRZCY36.js.map → chunk-PHSLNOPR.js.map} +0 -0
- /package/dist/{chunk-2RXTHEUD.js.map → chunk-PUBYBZ2S.js.map} +0 -0
- /package/dist/{chunk-ATDFYA5W.js.map → chunk-Q35K5U3X.js.map} +0 -0
- /package/dist/{chunk-NMJV4JR4.js.map → chunk-S56RRNNL.js.map} +0 -0
- /package/dist/{chunk-7LBOZF2X.js.map → chunk-SNAHNAUS.js.map} +0 -0
- /package/dist/{chunk-ZEZQ7GV4.js.map → chunk-V3HFKN3R.js.map} +0 -0
- /package/dist/{chunk-PFJZIJ6A.js.map → chunk-VBZP2VOE.js.map} +0 -0
- /package/dist/{chunk-DUITQUQG.js.map → chunk-VKA7ME24.js.map} +0 -0
- /package/dist/{chunk-UBZNEZAG.js.map → chunk-WYYXTTVO.js.map} +0 -0
- /package/dist/{chunk-YQTRQRH7.js.map → chunk-Y4DH464N.js.map} +0 -0
- /package/dist/{chunk-DP7JQSU7.js.map → chunk-Y4IYZ4LX.js.map} +0 -0
- /package/dist/{chunk-YHPMSOFB.js.map → chunk-YPI2HTHK.js.map} +0 -0
- /package/dist/{chunk-F2MBHW5Y.js.map → chunk-YYZQUSDZ.js.map} +0 -0
- /package/dist/{chunk-67GC5TY5.js.map → chunk-ZBSF7CRL.js.map} +0 -0
- /package/dist/{chunk-NPUKKXZV.js.map → chunk-ZDX6ZOXE.js.map} +0 -0
- /package/dist/{chunk-IS2PAAEU.js.map → chunk-ZGH4F2BO.js.map} +0 -0
- /package/dist/{chunk-LHVKCINJ.js.map → chunk-ZO6PWR53.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-NY4BI2M4.js.map → cli-circuit-breaker-PG3T3Q3G.js.map} +0 -0
- /package/dist/{composite-router-FCW4AZCS.js.map → composite-router-VERMHGE7.js.map} +0 -0
- /package/dist/{consensus-vote-XQ3EAK2G.js.map → consensus-vote-BQM6MYPK.js.map} +0 -0
- /package/dist/{context-retriever-HCN7NCXO.js.map → context-retriever-2O2OV2YT.js.map} +0 -0
- /package/dist/{doctor-deep-JUR5KWJV.js.map → doctor-deep-OQD4K3QR.js.map} +0 -0
- /package/dist/{doctor-gateway-report-6SVJILTL.js.map → doctor-gateway-report-BXCDIG32.js.map} +0 -0
- /package/dist/{doctor-live-62GNMKMA.js.map → doctor-live-IMXHVIE5.js.map} +0 -0
- /package/dist/{expert-bridge-WDISX7RG.js.map → expert-bridge-QJR4CSLR.js.map} +0 -0
- /package/dist/{factory-NCCP3VNN.js.map → factory-E7BJZQX3.js.map} +0 -0
- /package/dist/{factory-OMJSMBSL.js.map → factory-YDZTRD2U.js.map} +0 -0
- /package/dist/{improvement-review-YFQLWYLJ.js.map → improvement-review-D2VOPRCP.js.map} +0 -0
- /package/dist/{init-opencode-SYTACFM2.js.map → init-opencode-RCPKDRML.js.map} +0 -0
- /package/dist/{issue-triage-VSXJ7AY3.js.map → issue-triage-7RNRPHK6.js.map} +0 -0
- /package/dist/{openai-compat-adapter-YZRFOEEI.js.map → openai-compat-adapter-EMSD6COX.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-RAF7DGIB.js.map → pr-reviewer-helpers-PV32NO33.js.map} +0 -0
- /package/dist/{registry-command-WG5TUJC4.js.map → registry-command-AB3DASZP.js.map} +0 -0
- /package/dist/{repo-security-plan-5FLHCCTG.js.map → repo-security-plan-5EBZQQJH.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-EYCKTVZU.js.map → research-helpers-synthesize-J35PMZZ6.js.map} +0 -0
- /package/dist/{routing-memory-Z2HE7IH3.js.map → routing-memory-4S32OBZT.js.map} +0 -0
- /package/dist/{session-memory-5QIPC7O6.js.map → session-memory-NTR3KRDX.js.map} +0 -0
- /package/dist/{setup-config-HNHBQG52.js.map → setup-config-MXBTRCST.js.map} +0 -0
- /package/dist/{setup-custom-api-2KYNK6WT.js.map → setup-custom-api-LB62J2QJ.js.map} +0 -0
- /package/dist/{setup-data-dir-B56LLZNT.js.map → setup-data-dir-VP6FGUDK.js.map} +0 -0
- /package/dist/{tool-memory-LWPWVKWR.js.map → tool-memory-2NRWKSMJ.js.map} +0 -0
- /package/dist/{unified-registry-A72U42LZ.js.map → unified-registry-JY6TQURW.js.map} +0 -0
- /package/dist/{weather-report-HVUNR7SZ.js.map → weather-report-S3TUBVN5.js.map} +0 -0
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
getBuiltInAstRulesPath,
|
|
10
10
|
loadRules,
|
|
11
11
|
runAstQaRules
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-G66CSQMK.js";
|
|
13
13
|
import "./chunk-XEPZSDN5.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-KZGDUTQN.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-GNHF4O4A.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-KZGDUTQN.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-DLOIMQKO.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
assessReputation,
|
|
6
6
|
sanitizeInput
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YYZQUSDZ.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-KZGDUTQN.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-4UB3C5R2.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createLogger,
|
|
3
3
|
err,
|
|
4
4
|
ok
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KZGDUTQN.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-64QDL4SB.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getErrorMessage,
|
|
3
3
|
getTimeProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KZGDUTQN.js";
|
|
5
5
|
|
|
6
6
|
// src/adapters/gateway-rediscovery.ts
|
|
7
7
|
var GATEWAY_REDISCOVERY_INTERVAL_MS = 6e4;
|
|
@@ -79,4 +79,4 @@ export {
|
|
|
79
79
|
setGatewayRediscovery,
|
|
80
80
|
ensureGatewayDiscovered
|
|
81
81
|
};
|
|
82
|
-
//# sourceMappingURL=chunk-
|
|
82
|
+
//# sourceMappingURL=chunk-6UNJI3OG.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
MODEL_IDS,
|
|
4
4
|
getTimeProvider,
|
|
5
5
|
resolveModelIdentitySync
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KZGDUTQN.js";
|
|
7
7
|
|
|
8
8
|
// src/config/model-availability.ts
|
|
9
9
|
var DEFAULT_TTL_MS = 6e4;
|
|
@@ -150,4 +150,4 @@ export {
|
|
|
150
150
|
resetAvailabilityCache,
|
|
151
151
|
filterAvailableModels
|
|
152
152
|
};
|
|
153
|
-
//# sourceMappingURL=chunk-
|
|
153
|
+
//# sourceMappingURL=chunk-7FKLPIUM.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SERVES_PROBE_PROMPT
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PHSLNOPR.js";
|
|
4
4
|
import {
|
|
5
5
|
checkGatewayHealth,
|
|
6
6
|
cliFailsVerdict,
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
gatewaySlotServing,
|
|
11
11
|
gatewayVerdict,
|
|
12
12
|
printVoterTransportCheck
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZO6PWR53.js";
|
|
14
14
|
import {
|
|
15
15
|
NODE_ENGINE_RANGE,
|
|
16
16
|
VERSION,
|
|
17
17
|
isNodeVersionSupported,
|
|
18
18
|
recordServerTransport
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-K3AUOQB2.js";
|
|
20
20
|
import {
|
|
21
21
|
allOf,
|
|
22
22
|
anyOf
|
|
@@ -24,10 +24,10 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
readOpenAICompatEndpoint,
|
|
26
26
|
readOpenAICompatEnv
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-SNAHNAUS.js";
|
|
28
28
|
import {
|
|
29
29
|
claimGlobalRegistry
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-PUBYBZ2S.js";
|
|
31
31
|
import {
|
|
32
32
|
capitalize
|
|
33
33
|
} from "./chunk-SX5DB6UR.js";
|
|
@@ -36,13 +36,14 @@ import {
|
|
|
36
36
|
ClaudeCliAdapter,
|
|
37
37
|
IN_FAMILY_FALLBACK_OPTION,
|
|
38
38
|
codexMcpServerAvailable,
|
|
39
|
+
codexSandboxPreflight,
|
|
39
40
|
createAllAdapters,
|
|
40
41
|
isCliAdmitted,
|
|
41
42
|
probeCli
|
|
42
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-C732JUHQ.js";
|
|
43
44
|
import {
|
|
44
45
|
resolveGatewayEnv
|
|
45
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-YPI2HTHK.js";
|
|
46
47
|
import {
|
|
47
48
|
getNexusTmpDir
|
|
48
49
|
} from "./chunk-OITVVSWO.js";
|
|
@@ -68,7 +69,7 @@ import {
|
|
|
68
69
|
resolveGatewayCostDeclaration,
|
|
69
70
|
symbols,
|
|
70
71
|
writeLine
|
|
71
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-KZGDUTQN.js";
|
|
72
73
|
import {
|
|
73
74
|
getLearningDir,
|
|
74
75
|
getOutcomesFile,
|
|
@@ -444,6 +445,16 @@ function formatClaudeModelLine(probe) {
|
|
|
444
445
|
return `${icon} Claude model ${probe.alias}: ${STATUS_LABEL[probe.status]}${detail}`;
|
|
445
446
|
}
|
|
446
447
|
|
|
448
|
+
// src/cli/doctor-codex-sandbox.ts
|
|
449
|
+
function formatCodexSandboxLine(result) {
|
|
450
|
+
if (result === void 0) return void 0;
|
|
451
|
+
if (result.status === "ok") {
|
|
452
|
+
return `${colors.green}${symbols.check}${colors.reset} Codex read-only sandbox: available`;
|
|
453
|
+
}
|
|
454
|
+
const text = result.status === "broken" ? `unavailable \u2014 ${result.reason}; a running MCP server keeps this verdict until restarted` : `unknown \u2014 ${result.reason}; read-only execution proceeds with the configured sandbox`;
|
|
455
|
+
return `${colors.yellow}${symbols.warn}${colors.reset} Codex read-only sandbox: ${text}`;
|
|
456
|
+
}
|
|
457
|
+
|
|
447
458
|
// src/cli/doctor-disabled-clis.ts
|
|
448
459
|
var DISABLED_BY_ENV = "disabled by NEXUS_DISABLED_CLIS";
|
|
449
460
|
function disabledCliModelReason(cli, gateway, clis) {
|
|
@@ -867,6 +878,8 @@ function printDoctorResults(result) {
|
|
|
867
878
|
for (const cli of result.clis) printCliResult(cli, covered.includes(cli.name));
|
|
868
879
|
printCliListNotes(result);
|
|
869
880
|
writeLine(formatClaudeModelLine(result.claudeModel));
|
|
881
|
+
const codexSandboxLine = formatCodexSandboxLine(result.codexSandbox);
|
|
882
|
+
if (codexSandboxLine !== void 0) writeLine(codexSandboxLine);
|
|
870
883
|
writeLine("");
|
|
871
884
|
writeLine(`${colors.cyan}Checking MCP configuration...${colors.reset}`);
|
|
872
885
|
writeLine("");
|
|
@@ -1420,6 +1433,13 @@ function hasAnyAuthMethod(apiKeys, clis, gateway) {
|
|
|
1420
1433
|
function measureGateway(check, probe) {
|
|
1421
1434
|
return (check ?? checkGatewayHealth)({ probe: probe === true });
|
|
1422
1435
|
}
|
|
1436
|
+
async function codexChecksForDoctor(clis, deps) {
|
|
1437
|
+
const installed = clis.find((cli) => cli.name === "codex")?.installed === true;
|
|
1438
|
+
if (!installed) return { mcpClientReady: false };
|
|
1439
|
+
const mcpClientReady = codexMcpServerAvailable();
|
|
1440
|
+
const codexSandbox = await (deps.probeCodexSandbox ?? codexSandboxPreflight)();
|
|
1441
|
+
return { mcpClientReady, codexSandbox };
|
|
1442
|
+
}
|
|
1423
1443
|
async function runDoctor(deps = {}) {
|
|
1424
1444
|
const allClis = ["claude", "gemini", "codex", "opencode"];
|
|
1425
1445
|
const disabledClis = allClis.filter((cli) => isCliDisabled(cli));
|
|
@@ -1431,8 +1451,7 @@ async function runDoctor(deps = {}) {
|
|
|
1431
1451
|
const apiKeys = checkApiKeys();
|
|
1432
1452
|
const configFile = checkConfigFile();
|
|
1433
1453
|
const mcpServerReady = checkMcpServerReady();
|
|
1434
|
-
const
|
|
1435
|
-
const mcpClientReady = (codexCheck?.installed ?? false) && codexMcpServerAvailable();
|
|
1454
|
+
const codexChecks = await codexChecksForDoctor(clis, deps);
|
|
1436
1455
|
const learningPersistence = checkLearningPersistence();
|
|
1437
1456
|
const sqliteCheck = await checkSqlite();
|
|
1438
1457
|
const dataDirectory = checkDataDirectory();
|
|
@@ -1457,7 +1476,7 @@ async function runDoctor(deps = {}) {
|
|
|
1457
1476
|
apiKeys,
|
|
1458
1477
|
configFile,
|
|
1459
1478
|
mcpServerReady,
|
|
1460
|
-
|
|
1479
|
+
...codexChecks,
|
|
1461
1480
|
registryAdvisory,
|
|
1462
1481
|
learningPersistence,
|
|
1463
1482
|
sqliteCheck,
|
|
@@ -1478,7 +1497,7 @@ async function doctorCommand(options = {}) {
|
|
|
1478
1497
|
options.onResult?.(result);
|
|
1479
1498
|
printDoctorResults(result);
|
|
1480
1499
|
if (options.gateway === true || options.probe === true) {
|
|
1481
|
-
const { formatGatewayReport } = await import("./doctor-gateway-report-
|
|
1500
|
+
const { formatGatewayReport } = await import("./doctor-gateway-report-BXCDIG32.js");
|
|
1482
1501
|
for (const line of formatGatewayReport(result.gateway, result.clis)) {
|
|
1483
1502
|
process.stdout.write(line + "\n");
|
|
1484
1503
|
}
|
|
@@ -1497,13 +1516,13 @@ async function runDoctorFix(result) {
|
|
|
1497
1516
|
writeLine2("\u2500".repeat(40));
|
|
1498
1517
|
let fixCount = 0;
|
|
1499
1518
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1500
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1519
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-VP6FGUDK.js");
|
|
1501
1520
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1502
1521
|
writeLine2(outcome.line);
|
|
1503
1522
|
if (outcome.counted) fixCount++;
|
|
1504
1523
|
}
|
|
1505
1524
|
if (!result.configFile.found) {
|
|
1506
|
-
const { runConfigInitSync } = await import("./setup-config-
|
|
1525
|
+
const { runConfigInitSync } = await import("./setup-config-MXBTRCST.js");
|
|
1507
1526
|
const configResult = runConfigInitSync(process.cwd(), false, false);
|
|
1508
1527
|
if (configResult.success && configResult.created) {
|
|
1509
1528
|
writeLine2(`\u2713 Generated config: ${configResult.path}`);
|
|
@@ -1599,4 +1618,4 @@ export {
|
|
|
1599
1618
|
startStdioServer,
|
|
1600
1619
|
closeServer
|
|
1601
1620
|
};
|
|
1602
|
-
//# sourceMappingURL=chunk-
|
|
1621
|
+
//# sourceMappingURL=chunk-B6M5WICO.js.map
|