nexus-agents 3.9.3 → 3.9.5
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/{child-mcp-config-XIZWCWS3.js → child-mcp-config-MJNB5GXS.js} +2 -2
- package/dist/{chunk-OJCIP6W5.js → chunk-32AWWH4F.js} +2 -2
- package/dist/{chunk-EZXYOWCX.js → chunk-3WWE26PG.js} +2 -2
- package/dist/{chunk-65WAPYJ6.js → chunk-6VUIQQ3O.js} +116 -46
- package/dist/chunk-6VUIQQ3O.js.map +1 -0
- package/dist/{chunk-AENOTEID.js → chunk-7FJFN74H.js} +5 -5
- package/dist/{chunk-3MUJKEAQ.js → chunk-ABV3XE7D.js} +5 -5
- package/dist/{chunk-VCNOCG2J.js → chunk-DMKV7ANB.js} +8 -8
- package/dist/{chunk-KIE4R424.js → chunk-ERCCVO4N.js} +2 -2
- package/dist/{chunk-P5WOAEDY.js → chunk-FJKMNLTU.js} +4 -4
- package/dist/{chunk-7PBXPMKW.js → chunk-G5GOWK5T.js} +2 -2
- package/dist/{chunk-XYVYKPIB.js → chunk-G6AVXG6F.js} +2 -2
- package/dist/{chunk-U62XLYIK.js → chunk-JB3ZZ3Y2.js} +20 -10
- package/dist/chunk-JB3ZZ3Y2.js.map +1 -0
- package/dist/{chunk-YAZW2ANJ.js → chunk-JBLM3UZA.js} +5 -5
- package/dist/{chunk-SXWUCWLR.js → chunk-JBSL2HKV.js} +3 -3
- package/dist/{chunk-SMBJQBEC.js → chunk-JJZF37X2.js} +3 -3
- package/dist/{chunk-2CN7DD4C.js → chunk-JPMXFYKW.js} +3 -3
- package/dist/{chunk-DSP6PMDI.js → chunk-K3TRG2CD.js} +3 -3
- package/dist/{chunk-R43Y6TXS.js → chunk-KLMXZRDK.js} +2 -2
- package/dist/{chunk-EGUKCGGM.js → chunk-KPYPJGSD.js} +7 -7
- package/dist/{chunk-N5UQGELR.js → chunk-LZJT2DDT.js} +5 -5
- package/dist/{chunk-AQBM5CAX.js → chunk-M3HKW5HF.js} +2 -2
- package/dist/{chunk-PBD5LS4B.js → chunk-M7566JRS.js} +8 -8
- package/dist/{chunk-ACWU2RRK.js → chunk-MAP3BVCT.js} +2 -2
- package/dist/{chunk-WVN62JSE.js → chunk-MXJEMYC7.js} +2 -2
- package/dist/{chunk-NZCBB4SP.js → chunk-N62DDWV3.js} +2 -2
- package/dist/{chunk-MUBJ4ROO.js → chunk-OL6TRWBA.js} +2 -2
- package/dist/{chunk-FZ5YJSM6.js → chunk-QUOCOEDQ.js} +4 -4
- package/dist/{chunk-EDM4A2NG.js → chunk-RJGW6BKM.js} +87 -37
- package/dist/chunk-RJGW6BKM.js.map +1 -0
- package/dist/{chunk-6YEAUZBF.js → chunk-SOCKDRK6.js} +4 -4
- package/dist/{chunk-Q2UUVPVY.js → chunk-TJ6UFU3I.js} +2 -2
- package/dist/{chunk-YP25ZDI2.js → chunk-TU4FRZWU.js} +2 -2
- package/dist/{chunk-OM5VAEYP.js → chunk-VF4ZV4KG.js} +2 -2
- package/dist/{chunk-7GA5V4L2.js → chunk-XMNMIMR6.js} +2 -2
- package/dist/{chunk-3ZGYVPN3.js → chunk-ZVZHNAQH.js} +2 -2
- package/dist/{cli-circuit-breaker-M5JY42QE.js → cli-circuit-breaker-JWCKCVDX.js} +3 -3
- package/dist/cli.js +41 -41
- package/dist/{composite-router-AU7QAE3Z.js → composite-router-5OCKHBR3.js} +2 -2
- package/dist/{consensus-vote-FUQNZAHI.js → consensus-vote-HG5BE56Y.js} +16 -16
- package/dist/{context-retriever-BJL3MZTY.js → context-retriever-JNXUAPWJ.js} +8 -8
- package/dist/{doctor-deep-CSIYPBWB.js → doctor-deep-IZAAFLBC.js} +3 -3
- package/dist/{doctor-live-Z3EUWDEM.js → doctor-live-Z5IP2TWY.js} +9 -9
- package/dist/{expert-bridge-NI3ZJASZ.js → expert-bridge-XI4BNDI7.js} +4 -4
- package/dist/{factory-663E66YC.js → factory-QAH46LJX.js} +9 -9
- package/dist/{factory-BQAVRQGT.js → factory-WU2VY6QI.js} +5 -5
- package/dist/{improvement-review-J6TNYY37.js → improvement-review-E2PK2AEA.js} +5 -5
- package/dist/index.d.ts +28 -1
- package/dist/index.js +30 -30
- package/dist/{init-opencode-EY7LKRNG.js → init-opencode-BQHWMUOD.js} +6 -6
- package/dist/{issue-triage-SVM7E5KL.js → issue-triage-EBQFRWOQ.js} +6 -6
- package/dist/{pr-reviewer-helpers-545VXQVR.js → pr-reviewer-helpers-RN35E43S.js} +4 -4
- package/dist/{registry-command-7YZHWM5F.js → registry-command-J2FV4BT2.js} +2 -2
- package/dist/{repo-security-plan-F32BFXAV.js → repo-security-plan-IRILDORZ.js} +3 -3
- package/dist/{research-helpers-synthesize-DQXRIADN.js → research-helpers-synthesize-KUZRNHXY.js} +4 -4
- package/dist/{routing-memory-MUUFFXDI.js → routing-memory-GFO76574.js} +2 -2
- package/dist/{session-memory-OPYU2ZX3.js → session-memory-CY3T3XNO.js} +3 -3
- package/dist/{setup-command-3X4IM6NA.js → setup-command-EJFRH3LH.js} +14 -14
- package/dist/{setup-config-EUBS3LFF.js → setup-config-A27SDCRY.js} +3 -3
- package/dist/{setup-custom-api-XT23L2NX.js → setup-custom-api-UZV66PZA.js} +4 -4
- package/dist/{tool-memory-HEHBDQDP.js → tool-memory-YYEWKSC4.js} +5 -5
- package/dist/{unified-registry-FYD2XQ43.js → unified-registry-PKDBZ6FO.js} +10 -10
- package/dist/{weather-report-ZG3JCRLK.js → weather-report-MXQTPLDG.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-65WAPYJ6.js.map +0 -1
- package/dist/chunk-EDM4A2NG.js.map +0 -1
- package/dist/chunk-U62XLYIK.js.map +0 -1
- /package/dist/{child-mcp-config-XIZWCWS3.js.map → child-mcp-config-MJNB5GXS.js.map} +0 -0
- /package/dist/{chunk-OJCIP6W5.js.map → chunk-32AWWH4F.js.map} +0 -0
- /package/dist/{chunk-EZXYOWCX.js.map → chunk-3WWE26PG.js.map} +0 -0
- /package/dist/{chunk-AENOTEID.js.map → chunk-7FJFN74H.js.map} +0 -0
- /package/dist/{chunk-3MUJKEAQ.js.map → chunk-ABV3XE7D.js.map} +0 -0
- /package/dist/{chunk-VCNOCG2J.js.map → chunk-DMKV7ANB.js.map} +0 -0
- /package/dist/{chunk-KIE4R424.js.map → chunk-ERCCVO4N.js.map} +0 -0
- /package/dist/{chunk-P5WOAEDY.js.map → chunk-FJKMNLTU.js.map} +0 -0
- /package/dist/{chunk-7PBXPMKW.js.map → chunk-G5GOWK5T.js.map} +0 -0
- /package/dist/{chunk-XYVYKPIB.js.map → chunk-G6AVXG6F.js.map} +0 -0
- /package/dist/{chunk-YAZW2ANJ.js.map → chunk-JBLM3UZA.js.map} +0 -0
- /package/dist/{chunk-SXWUCWLR.js.map → chunk-JBSL2HKV.js.map} +0 -0
- /package/dist/{chunk-SMBJQBEC.js.map → chunk-JJZF37X2.js.map} +0 -0
- /package/dist/{chunk-2CN7DD4C.js.map → chunk-JPMXFYKW.js.map} +0 -0
- /package/dist/{chunk-DSP6PMDI.js.map → chunk-K3TRG2CD.js.map} +0 -0
- /package/dist/{chunk-R43Y6TXS.js.map → chunk-KLMXZRDK.js.map} +0 -0
- /package/dist/{chunk-EGUKCGGM.js.map → chunk-KPYPJGSD.js.map} +0 -0
- /package/dist/{chunk-N5UQGELR.js.map → chunk-LZJT2DDT.js.map} +0 -0
- /package/dist/{chunk-AQBM5CAX.js.map → chunk-M3HKW5HF.js.map} +0 -0
- /package/dist/{chunk-PBD5LS4B.js.map → chunk-M7566JRS.js.map} +0 -0
- /package/dist/{chunk-ACWU2RRK.js.map → chunk-MAP3BVCT.js.map} +0 -0
- /package/dist/{chunk-WVN62JSE.js.map → chunk-MXJEMYC7.js.map} +0 -0
- /package/dist/{chunk-NZCBB4SP.js.map → chunk-N62DDWV3.js.map} +0 -0
- /package/dist/{chunk-MUBJ4ROO.js.map → chunk-OL6TRWBA.js.map} +0 -0
- /package/dist/{chunk-FZ5YJSM6.js.map → chunk-QUOCOEDQ.js.map} +0 -0
- /package/dist/{chunk-6YEAUZBF.js.map → chunk-SOCKDRK6.js.map} +0 -0
- /package/dist/{chunk-Q2UUVPVY.js.map → chunk-TJ6UFU3I.js.map} +0 -0
- /package/dist/{chunk-YP25ZDI2.js.map → chunk-TU4FRZWU.js.map} +0 -0
- /package/dist/{chunk-OM5VAEYP.js.map → chunk-VF4ZV4KG.js.map} +0 -0
- /package/dist/{chunk-7GA5V4L2.js.map → chunk-XMNMIMR6.js.map} +0 -0
- /package/dist/{chunk-3ZGYVPN3.js.map → chunk-ZVZHNAQH.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-M5JY42QE.js.map → cli-circuit-breaker-JWCKCVDX.js.map} +0 -0
- /package/dist/{composite-router-AU7QAE3Z.js.map → composite-router-5OCKHBR3.js.map} +0 -0
- /package/dist/{consensus-vote-FUQNZAHI.js.map → consensus-vote-HG5BE56Y.js.map} +0 -0
- /package/dist/{context-retriever-BJL3MZTY.js.map → context-retriever-JNXUAPWJ.js.map} +0 -0
- /package/dist/{doctor-deep-CSIYPBWB.js.map → doctor-deep-IZAAFLBC.js.map} +0 -0
- /package/dist/{doctor-live-Z3EUWDEM.js.map → doctor-live-Z5IP2TWY.js.map} +0 -0
- /package/dist/{expert-bridge-NI3ZJASZ.js.map → expert-bridge-XI4BNDI7.js.map} +0 -0
- /package/dist/{factory-663E66YC.js.map → factory-QAH46LJX.js.map} +0 -0
- /package/dist/{factory-BQAVRQGT.js.map → factory-WU2VY6QI.js.map} +0 -0
- /package/dist/{improvement-review-J6TNYY37.js.map → improvement-review-E2PK2AEA.js.map} +0 -0
- /package/dist/{init-opencode-EY7LKRNG.js.map → init-opencode-BQHWMUOD.js.map} +0 -0
- /package/dist/{issue-triage-SVM7E5KL.js.map → issue-triage-EBQFRWOQ.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-545VXQVR.js.map → pr-reviewer-helpers-RN35E43S.js.map} +0 -0
- /package/dist/{registry-command-7YZHWM5F.js.map → registry-command-J2FV4BT2.js.map} +0 -0
- /package/dist/{repo-security-plan-F32BFXAV.js.map → repo-security-plan-IRILDORZ.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-DQXRIADN.js.map → research-helpers-synthesize-KUZRNHXY.js.map} +0 -0
- /package/dist/{routing-memory-MUUFFXDI.js.map → routing-memory-GFO76574.js.map} +0 -0
- /package/dist/{session-memory-OPYU2ZX3.js.map → session-memory-CY3T3XNO.js.map} +0 -0
- /package/dist/{setup-command-3X4IM6NA.js.map → setup-command-EJFRH3LH.js.map} +0 -0
- /package/dist/{setup-config-EUBS3LFF.js.map → setup-config-A27SDCRY.js.map} +0 -0
- /package/dist/{setup-custom-api-XT23L2NX.js.map → setup-custom-api-UZV66PZA.js.map} +0 -0
- /package/dist/{tool-memory-HEHBDQDP.js.map → tool-memory-YYEWKSC4.js.map} +0 -0
- /package/dist/{unified-registry-FYD2XQ43.js.map → unified-registry-PKDBZ6FO.js.map} +0 -0
- /package/dist/{weather-report-ZG3JCRLK.js.map → weather-report-MXQTPLDG.js.map} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail,
|
|
3
3
|
recordUsageEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-M3HKW5HF.js";
|
|
5
5
|
import {
|
|
6
6
|
BaseAdapter,
|
|
7
7
|
createStream,
|
|
8
8
|
planOptionalParams,
|
|
9
9
|
requireApiKey,
|
|
10
10
|
validateApiKeyPresence
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-32AWWH4F.js";
|
|
12
12
|
import {
|
|
13
13
|
assertCustomApiHostResolvesPublic
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ERCCVO4N.js";
|
|
15
15
|
import {
|
|
16
16
|
ConfigError,
|
|
17
17
|
ModelCapability,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
getTimeProvider,
|
|
23
23
|
getTokenEstimator,
|
|
24
24
|
ok
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-6VUIQQ3O.js";
|
|
26
26
|
|
|
27
27
|
// src/adapters/openai-types.ts
|
|
28
28
|
var OPENAI_MODELS = {
|
|
@@ -831,4 +831,4 @@ export {
|
|
|
831
831
|
discoverModels,
|
|
832
832
|
buildOpenAICompatAdapters
|
|
833
833
|
};
|
|
834
|
-
//# sourceMappingURL=chunk-
|
|
834
|
+
//# sourceMappingURL=chunk-7FJFN74H.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3WWE26PG.js";
|
|
5
5
|
import {
|
|
6
6
|
ROLE_DEFAULT_TRUST,
|
|
7
7
|
ReputationCache,
|
|
@@ -11,17 +11,17 @@ import {
|
|
|
11
11
|
gateWithReputation,
|
|
12
12
|
resolveReputationGatingMode,
|
|
13
13
|
sanitizeInput
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XMNMIMR6.js";
|
|
15
15
|
import {
|
|
16
16
|
emitPolicyEvent
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZVZHNAQH.js";
|
|
18
18
|
import {
|
|
19
19
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
20
20
|
createLogger,
|
|
21
21
|
err,
|
|
22
22
|
getTimeProvider,
|
|
23
23
|
ok
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6VUIQQ3O.js";
|
|
25
25
|
|
|
26
26
|
// src/security/trust-classifier.ts
|
|
27
27
|
function mapAuthorAssociation(association) {
|
|
@@ -1219,4 +1219,4 @@ export {
|
|
|
1219
1219
|
IssueTriage,
|
|
1220
1220
|
createIssueTriage
|
|
1221
1221
|
};
|
|
1222
|
-
//# sourceMappingURL=chunk-
|
|
1222
|
+
//# sourceMappingURL=chunk-ABV3XE7D.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail,
|
|
3
3
|
priceBasisOf
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-M3HKW5HF.js";
|
|
5
5
|
import {
|
|
6
6
|
allOf
|
|
7
7
|
} from "./chunk-OQB3XC5O.js";
|
|
@@ -22,20 +22,20 @@ import {
|
|
|
22
22
|
toolSuccess,
|
|
23
23
|
withProgressHeartbeat,
|
|
24
24
|
wrapToolWithTimeout
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-K3TRG2CD.js";
|
|
26
26
|
import {
|
|
27
27
|
createEvent,
|
|
28
28
|
getGlobalRegistry
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-SOCKDRK6.js";
|
|
30
30
|
import {
|
|
31
31
|
getToolMemory
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-QUOCOEDQ.js";
|
|
33
33
|
import {
|
|
34
34
|
authRemediation,
|
|
35
35
|
delay,
|
|
36
36
|
getAvailableClis,
|
|
37
37
|
withTimeout
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-M7566JRS.js";
|
|
39
39
|
import {
|
|
40
40
|
AgentError,
|
|
41
41
|
CLI_NAMES,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
resolveClassGuardMs,
|
|
65
65
|
resolveModelIdentitySync,
|
|
66
66
|
resolveVoteTimeout
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-6VUIQQ3O.js";
|
|
68
68
|
import {
|
|
69
69
|
ensureLearningDir,
|
|
70
70
|
getOutcomesFile
|
|
@@ -6190,7 +6190,7 @@ async function processVotesWithCascade(engineVotes, opts) {
|
|
|
6190
6190
|
var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
|
|
6191
6191
|
async function runContrarianCheck(proposal, log) {
|
|
6192
6192
|
try {
|
|
6193
|
-
const { executeExpert } = await import("./expert-bridge-
|
|
6193
|
+
const { executeExpert } = await import("./expert-bridge-XI4BNDI7.js");
|
|
6194
6194
|
const prompt = [
|
|
6195
6195
|
"You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
|
|
6196
6196
|
"Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
|
|
@@ -6756,4 +6756,4 @@ export {
|
|
|
6756
6756
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
6757
6757
|
registerConsensusVoteTool
|
|
6758
6758
|
};
|
|
6759
|
-
//# sourceMappingURL=chunk-
|
|
6759
|
+
//# sourceMappingURL=chunk-DMKV7ANB.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
createLogger,
|
|
4
4
|
err,
|
|
5
5
|
ok
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6VUIQQ3O.js";
|
|
7
7
|
|
|
8
8
|
// src/adapters/sdk/types.ts
|
|
9
9
|
var PROVIDER_ENV_KEYS = {
|
|
@@ -169,4 +169,4 @@ export {
|
|
|
169
169
|
validateCustomApiBaseUrl,
|
|
170
170
|
assertCustomApiHostResolvesPublic
|
|
171
171
|
};
|
|
172
|
-
//# sourceMappingURL=chunk-
|
|
172
|
+
//# sourceMappingURL=chunk-ERCCVO4N.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3WWE26PG.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveToken
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-G6AVXG6F.js";
|
|
8
8
|
import {
|
|
9
9
|
err,
|
|
10
10
|
ok
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6VUIQQ3O.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-FJKMNLTU.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
createGetRetryConfig,
|
|
12
12
|
createGetTimeout,
|
|
13
13
|
createGetToolRateLimit
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6VUIQQ3O.js";
|
|
15
15
|
|
|
16
16
|
// src/config/defaults.ts
|
|
17
17
|
var CUSTOM_API_DEFAULT_MODEL = "gpt-5.5";
|
|
@@ -230,4 +230,4 @@ export {
|
|
|
230
230
|
CUSTOM_API_DEFAULT_MODEL,
|
|
231
231
|
DEFAULTS
|
|
232
232
|
};
|
|
233
|
-
//# sourceMappingURL=chunk-
|
|
233
|
+
//# sourceMappingURL=chunk-G5GOWK5T.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createLogger,
|
|
3
3
|
err,
|
|
4
4
|
ok
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6VUIQQ3O.js";
|
|
6
6
|
|
|
7
7
|
// src/scm/token-resolver.ts
|
|
8
8
|
import { execFile } from "child_process";
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
hasToken,
|
|
88
88
|
getTokenEnvVars
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=chunk-
|
|
90
|
+
//# sourceMappingURL=chunk-G6AVXG6F.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readOpenAICompatEnv
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7FJFN74H.js";
|
|
4
4
|
import {
|
|
5
5
|
allOf
|
|
6
6
|
} from "./chunk-OQB3XC5O.js";
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
createAllAdapters,
|
|
15
15
|
probeCli
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-M7566JRS.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULTS
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-G5GOWK5T.js";
|
|
20
20
|
import {
|
|
21
21
|
getNexusTmpDir
|
|
22
22
|
} from "./chunk-SNJNRDKZ.js";
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
ok,
|
|
37
37
|
symbols,
|
|
38
38
|
writeLine
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-6VUIQQ3O.js";
|
|
40
40
|
import {
|
|
41
41
|
getLearningDir,
|
|
42
42
|
getOutcomesFile,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
} from "./chunk-OQLFRJCW.js";
|
|
53
53
|
|
|
54
54
|
// src/version.ts
|
|
55
|
-
var VERSION = true ? "3.9.
|
|
55
|
+
var VERSION = true ? "3.9.5" : "dev";
|
|
56
56
|
|
|
57
57
|
// src/config/schemas-core.ts
|
|
58
58
|
import { z } from "zod";
|
|
@@ -1560,7 +1560,7 @@ function formatCapacity(capacity) {
|
|
|
1560
1560
|
}
|
|
1561
1561
|
function printInstalledCliDetails(cli) {
|
|
1562
1562
|
writeLine(` Version: ${cli.version} (${formatVersionStatus(cli.versionStatus)})`);
|
|
1563
|
-
const authText = cli.authenticated ? `${colors.green}${cli.authMethod ?? "Authenticated"}${colors.reset}` : `${colors.red}Not authenticated${colors.reset}`;
|
|
1563
|
+
const authText = cli.authState === "authenticated" ? `${colors.green}${cli.authMethod ?? "Authenticated"}${colors.reset}` : cli.authState === "unverified" ? `${colors.yellow}unverified (no non-interactive auth check)${colors.reset}` : `${colors.red}Not authenticated${colors.reset}`;
|
|
1564
1564
|
writeLine(` Auth: ${authText}`);
|
|
1565
1565
|
if (cli.capacity !== void 0) {
|
|
1566
1566
|
writeLine(` Capacity: ${formatCapacity(cli.capacity)}`);
|
|
@@ -1979,6 +1979,10 @@ function getFixCommand(name, issue) {
|
|
|
1979
1979
|
function createNotFoundResult(name, errorMsg) {
|
|
1980
1980
|
return {
|
|
1981
1981
|
name,
|
|
1982
|
+
// Not installed, so auth was never probed. `not-authenticated` would claim
|
|
1983
|
+
// a determination nobody made; the auth line is not printed for an
|
|
1984
|
+
// uninstalled CLI anyway (#4661).
|
|
1985
|
+
authState: "unverified",
|
|
1982
1986
|
installed: false,
|
|
1983
1987
|
version: "N/A",
|
|
1984
1988
|
versionStatus: "unsupported",
|
|
@@ -1996,15 +2000,21 @@ function detectAuthMethod(name) {
|
|
|
1996
2000
|
};
|
|
1997
2001
|
return authMethods[name];
|
|
1998
2002
|
}
|
|
2003
|
+
function resolveAuthState(authenticated, probeState) {
|
|
2004
|
+
if (authenticated) return "authenticated";
|
|
2005
|
+
return probeState === "unknown" ? "unverified" : "not-authenticated";
|
|
2006
|
+
}
|
|
1999
2007
|
function createHealthyResult(name, health, authProbe, capacity) {
|
|
2000
2008
|
const versionOk = health.healthy;
|
|
2001
2009
|
const authenticated = versionOk && authProbe.state === "authenticated";
|
|
2010
|
+
const authState = resolveAuthState(authenticated, authProbe.state);
|
|
2002
2011
|
const result = {
|
|
2003
2012
|
name,
|
|
2004
2013
|
installed: true,
|
|
2005
2014
|
version: health.version,
|
|
2006
2015
|
versionStatus: health.versionStatus,
|
|
2007
2016
|
authenticated,
|
|
2017
|
+
authState,
|
|
2008
2018
|
...authenticated && { authMethod: detectAuthMethod(name) },
|
|
2009
2019
|
...capacity !== void 0 && { capacity }
|
|
2010
2020
|
};
|
|
@@ -2018,7 +2028,7 @@ function createHealthyResult(name, health, authProbe, capacity) {
|
|
|
2018
2028
|
fix: authProbe.fixCommand
|
|
2019
2029
|
};
|
|
2020
2030
|
}
|
|
2021
|
-
if (
|
|
2031
|
+
if (authState === "not-authenticated") {
|
|
2022
2032
|
return { ...result, fix: getFixCommand(name, "auth") };
|
|
2023
2033
|
}
|
|
2024
2034
|
if (health.versionStatus === "outdated") {
|
|
@@ -2324,7 +2334,7 @@ async function runDoctorFix(result) {
|
|
|
2324
2334
|
writeLine2("\u2500".repeat(40));
|
|
2325
2335
|
let fixCount = 0;
|
|
2326
2336
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
2327
|
-
const { runSetup } = await import("./setup-command-
|
|
2337
|
+
const { runSetup } = await import("./setup-command-EJFRH3LH.js");
|
|
2328
2338
|
const setupResult = runSetup({
|
|
2329
2339
|
skipMcp: true,
|
|
2330
2340
|
skipRules: true,
|
|
@@ -2338,7 +2348,7 @@ async function runDoctorFix(result) {
|
|
|
2338
2348
|
}
|
|
2339
2349
|
}
|
|
2340
2350
|
if (!result.configFile.found) {
|
|
2341
|
-
const { runConfigInitSync } = await import("./setup-config-
|
|
2351
|
+
const { runConfigInitSync } = await import("./setup-config-A27SDCRY.js");
|
|
2342
2352
|
const configResult = runConfigInitSync(process.cwd(), false, false);
|
|
2343
2353
|
if (configResult.success && configResult.created) {
|
|
2344
2354
|
writeLine2(`\u2713 Generated config: ${configResult.path}`);
|
|
@@ -2437,4 +2447,4 @@ export {
|
|
|
2437
2447
|
startStdioServer,
|
|
2438
2448
|
closeServer
|
|
2439
2449
|
};
|
|
2440
|
-
//# sourceMappingURL=chunk-
|
|
2450
|
+
//# sourceMappingURL=chunk-JB3ZZ3Y2.js.map
|