nexus-agents 8.93.1 → 8.94.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-C5LHMYPT.js → ast-rule-runner-I4ENQIHS.js} +3 -3
- package/dist/{child-mcp-config-CTOMMKVJ.js → child-mcp-config-VCCHMBNS.js} +2 -2
- package/dist/{chunk-ZLUAI55U.js → chunk-2A3T7PED.js} +2 -2
- package/dist/{chunk-CMDNHZAQ.js → chunk-4HU23BG2.js} +3 -3
- package/dist/{chunk-L4YM6N2Z.js → chunk-5QXNBWGT.js} +3 -3
- package/dist/{chunk-J2EGP5KG.js → chunk-6WTJMB6Q.js} +2 -2
- package/dist/{chunk-GGZK52PI.js → chunk-6XAFPFAG.js} +2 -2
- package/dist/{chunk-FCEJQMFL.js → chunk-BLV6VIAX.js} +4 -4
- package/dist/{chunk-FJ5XHE53.js → chunk-CF4YBYPP.js} +2 -2
- package/dist/{chunk-TA4HU7N4.js → chunk-CFVPA7NR.js} +2 -2
- package/dist/{chunk-EQVUIPCO.js → chunk-E2F4TSBQ.js} +3 -3
- package/dist/{chunk-4T3UCLPK.js → chunk-FWOY6JQT.js} +2 -2
- package/dist/{chunk-PNWES7FF.js → chunk-FZ2VWKUY.js} +2 -2
- package/dist/{chunk-3H2ZNJCF.js → chunk-GD4MN4XU.js} +3 -3
- package/dist/{chunk-BNPROKCF.js → chunk-GJHQKMTM.js} +4 -4
- package/dist/{chunk-T5IK3VPO.js → chunk-H4GB47JC.js} +5 -5
- package/dist/{chunk-XW5SWQBU.js → chunk-HKF47G45.js} +7 -7
- package/dist/{chunk-D5KSUEGN.js → chunk-IASHBBSU.js} +2 -2
- package/dist/{chunk-AKMV2YJY.js → chunk-IYSRKZIX.js} +2 -2
- package/dist/{chunk-TFOLRA66.js → chunk-L6UAMBUH.js} +28 -18
- package/dist/chunk-L6UAMBUH.js.map +1 -0
- package/dist/{chunk-L2SXYDXQ.js → chunk-L7X3BQZY.js} +2 -2
- package/dist/{chunk-SV5WT3XG.js → chunk-LXRMAIOS.js} +2 -2
- package/dist/{chunk-IVQLGIAA.js → chunk-NGCTGVPR.js} +2 -2
- package/dist/{chunk-KREP5CAW.js → chunk-NLEVWZXI.js} +3 -3
- package/dist/{chunk-G6BXJE5K.js → chunk-Q2JFJ4RK.js} +131 -90
- package/dist/chunk-Q2JFJ4RK.js.map +1 -0
- package/dist/{chunk-LCJD6TOA.js → chunk-QITSJ52I.js} +2 -2
- package/dist/{chunk-FL335N5J.js → chunk-RJWWZNG2.js} +2 -2
- package/dist/{chunk-OUSFQRDK.js → chunk-SDN3I3RB.js} +4 -4
- package/dist/{chunk-IV66ABXT.js → chunk-SJML5M4U.js} +45 -39
- package/dist/chunk-SJML5M4U.js.map +1 -0
- package/dist/{chunk-U36WRHS3.js → chunk-T7GXD2K4.js} +2 -2
- package/dist/{chunk-C6LYWR46.js → chunk-TR2EX6C3.js} +2 -2
- package/dist/{chunk-O5SJE6VM.js → chunk-TWZKH5JJ.js} +9 -9
- package/dist/{chunk-LAMGT6UJ.js → chunk-U75YSCIH.js} +2 -2
- package/dist/{chunk-PLEPRBMW.js → chunk-UO4VSK2C.js} +4 -4
- package/dist/{chunk-UMOIZ7ZO.js → chunk-YYBR4LLY.js} +5 -5
- package/dist/{cli-circuit-breaker-YIOAIOA4.js → cli-circuit-breaker-OZLAKDDO.js} +3 -3
- package/dist/cli.js +52 -47
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-AVQIOJ6H.js → composite-router-TPKJQLVF.js} +2 -2
- package/dist/{consensus-vote-AW5YYUGL.js → consensus-vote-QWTZEQYN.js} +16 -16
- package/dist/{context-retriever-DYFPLWNS.js → context-retriever-4W72UEX3.js} +8 -8
- package/dist/{doctor-deep-OCXPBF5U.js → doctor-deep-YPZR5CXM.js} +3 -3
- package/dist/{doctor-live-7J6AYMVF.js → doctor-live-CB2DWEHR.js} +10 -10
- package/dist/{expert-bridge-PBFP5WBA.js → expert-bridge-SZB6EE26.js} +4 -4
- package/dist/{factory-K5CEKT76.js → factory-ZDOCEV27.js} +9 -9
- package/dist/{factory-M7UQXXGH.js → factory-ZHXIWLTW.js} +5 -5
- package/dist/{improvement-review-GX2JT534.js → improvement-review-TOGVMH3Q.js} +5 -5
- package/dist/index.d.ts +4 -2
- package/dist/index.js +30 -30
- package/dist/{init-opencode-MJFHA4QO.js → init-opencode-GAH72DWB.js} +5 -5
- package/dist/issue-triage-O3HNXPZU.js +16 -0
- package/dist/{pr-reviewer-helpers-NG3XXGJX.js → pr-reviewer-helpers-K4NKHWJ6.js} +4 -4
- package/dist/{registry-command-SAJQUDZM.js → registry-command-BR7VROLC.js} +2 -2
- package/dist/{repo-security-plan-KGW4R3C6.js → repo-security-plan-YYPZDW46.js} +3 -3
- package/dist/{research-helpers-synthesize-TGVATGI4.js → research-helpers-synthesize-VHY423QJ.js} +4 -4
- package/dist/{routing-memory-E3CQEPM2.js → routing-memory-2BHSLLJU.js} +2 -2
- package/dist/{session-memory-5ALFJIIE.js → session-memory-DZQIMPRH.js} +3 -3
- package/dist/{setup-config-RA74BL43.js → setup-config-5SYL4UCF.js} +3 -3
- package/dist/{setup-custom-api-3KANLZ5Z.js → setup-custom-api-AEXNQZQ3.js} +4 -4
- package/dist/setup-data-dir-NTBQC3MK.js +32 -0
- package/dist/{tool-memory-C2NUHKEH.js → tool-memory-XJ5GS6J2.js} +5 -5
- package/dist/{unified-registry-4UDUMHXQ.js → unified-registry-3XREXU6M.js} +10 -10
- package/dist/{weather-report-EMYQNGKY.js → weather-report-TFBRNTTQ.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-G6BXJE5K.js.map +0 -1
- package/dist/chunk-IV66ABXT.js.map +0 -1
- package/dist/chunk-TFOLRA66.js.map +0 -1
- package/dist/issue-triage-A6AE4K76.js +0 -16
- package/dist/setup-data-dir-77SMQ67G.js +0 -32
- /package/dist/{ast-rule-runner-C5LHMYPT.js.map → ast-rule-runner-I4ENQIHS.js.map} +0 -0
- /package/dist/{child-mcp-config-CTOMMKVJ.js.map → child-mcp-config-VCCHMBNS.js.map} +0 -0
- /package/dist/{chunk-ZLUAI55U.js.map → chunk-2A3T7PED.js.map} +0 -0
- /package/dist/{chunk-CMDNHZAQ.js.map → chunk-4HU23BG2.js.map} +0 -0
- /package/dist/{chunk-L4YM6N2Z.js.map → chunk-5QXNBWGT.js.map} +0 -0
- /package/dist/{chunk-J2EGP5KG.js.map → chunk-6WTJMB6Q.js.map} +0 -0
- /package/dist/{chunk-GGZK52PI.js.map → chunk-6XAFPFAG.js.map} +0 -0
- /package/dist/{chunk-FCEJQMFL.js.map → chunk-BLV6VIAX.js.map} +0 -0
- /package/dist/{chunk-FJ5XHE53.js.map → chunk-CF4YBYPP.js.map} +0 -0
- /package/dist/{chunk-TA4HU7N4.js.map → chunk-CFVPA7NR.js.map} +0 -0
- /package/dist/{chunk-EQVUIPCO.js.map → chunk-E2F4TSBQ.js.map} +0 -0
- /package/dist/{chunk-4T3UCLPK.js.map → chunk-FWOY6JQT.js.map} +0 -0
- /package/dist/{chunk-PNWES7FF.js.map → chunk-FZ2VWKUY.js.map} +0 -0
- /package/dist/{chunk-3H2ZNJCF.js.map → chunk-GD4MN4XU.js.map} +0 -0
- /package/dist/{chunk-BNPROKCF.js.map → chunk-GJHQKMTM.js.map} +0 -0
- /package/dist/{chunk-T5IK3VPO.js.map → chunk-H4GB47JC.js.map} +0 -0
- /package/dist/{chunk-XW5SWQBU.js.map → chunk-HKF47G45.js.map} +0 -0
- /package/dist/{chunk-D5KSUEGN.js.map → chunk-IASHBBSU.js.map} +0 -0
- /package/dist/{chunk-AKMV2YJY.js.map → chunk-IYSRKZIX.js.map} +0 -0
- /package/dist/{chunk-L2SXYDXQ.js.map → chunk-L7X3BQZY.js.map} +0 -0
- /package/dist/{chunk-SV5WT3XG.js.map → chunk-LXRMAIOS.js.map} +0 -0
- /package/dist/{chunk-IVQLGIAA.js.map → chunk-NGCTGVPR.js.map} +0 -0
- /package/dist/{chunk-KREP5CAW.js.map → chunk-NLEVWZXI.js.map} +0 -0
- /package/dist/{chunk-LCJD6TOA.js.map → chunk-QITSJ52I.js.map} +0 -0
- /package/dist/{chunk-FL335N5J.js.map → chunk-RJWWZNG2.js.map} +0 -0
- /package/dist/{chunk-OUSFQRDK.js.map → chunk-SDN3I3RB.js.map} +0 -0
- /package/dist/{chunk-U36WRHS3.js.map → chunk-T7GXD2K4.js.map} +0 -0
- /package/dist/{chunk-C6LYWR46.js.map → chunk-TR2EX6C3.js.map} +0 -0
- /package/dist/{chunk-O5SJE6VM.js.map → chunk-TWZKH5JJ.js.map} +0 -0
- /package/dist/{chunk-LAMGT6UJ.js.map → chunk-U75YSCIH.js.map} +0 -0
- /package/dist/{chunk-PLEPRBMW.js.map → chunk-UO4VSK2C.js.map} +0 -0
- /package/dist/{chunk-UMOIZ7ZO.js.map → chunk-YYBR4LLY.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-YIOAIOA4.js.map → cli-circuit-breaker-OZLAKDDO.js.map} +0 -0
- /package/dist/{composite-router-AVQIOJ6H.js.map → composite-router-TPKJQLVF.js.map} +0 -0
- /package/dist/{consensus-vote-AW5YYUGL.js.map → consensus-vote-QWTZEQYN.js.map} +0 -0
- /package/dist/{context-retriever-DYFPLWNS.js.map → context-retriever-4W72UEX3.js.map} +0 -0
- /package/dist/{doctor-deep-OCXPBF5U.js.map → doctor-deep-YPZR5CXM.js.map} +0 -0
- /package/dist/{doctor-live-7J6AYMVF.js.map → doctor-live-CB2DWEHR.js.map} +0 -0
- /package/dist/{expert-bridge-PBFP5WBA.js.map → expert-bridge-SZB6EE26.js.map} +0 -0
- /package/dist/{factory-K5CEKT76.js.map → factory-ZDOCEV27.js.map} +0 -0
- /package/dist/{factory-M7UQXXGH.js.map → factory-ZHXIWLTW.js.map} +0 -0
- /package/dist/{improvement-review-GX2JT534.js.map → improvement-review-TOGVMH3Q.js.map} +0 -0
- /package/dist/{init-opencode-MJFHA4QO.js.map → init-opencode-GAH72DWB.js.map} +0 -0
- /package/dist/{issue-triage-A6AE4K76.js.map → issue-triage-O3HNXPZU.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-NG3XXGJX.js.map → pr-reviewer-helpers-K4NKHWJ6.js.map} +0 -0
- /package/dist/{registry-command-SAJQUDZM.js.map → registry-command-BR7VROLC.js.map} +0 -0
- /package/dist/{repo-security-plan-KGW4R3C6.js.map → repo-security-plan-YYPZDW46.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-TGVATGI4.js.map → research-helpers-synthesize-VHY423QJ.js.map} +0 -0
- /package/dist/{routing-memory-E3CQEPM2.js.map → routing-memory-2BHSLLJU.js.map} +0 -0
- /package/dist/{session-memory-5ALFJIIE.js.map → session-memory-DZQIMPRH.js.map} +0 -0
- /package/dist/{setup-config-RA74BL43.js.map → setup-config-5SYL4UCF.js.map} +0 -0
- /package/dist/{setup-custom-api-3KANLZ5Z.js.map → setup-custom-api-AEXNQZQ3.js.map} +0 -0
- /package/dist/{setup-data-dir-77SMQ67G.js.map → setup-data-dir-NTBQC3MK.js.map} +0 -0
- /package/dist/{tool-memory-C2NUHKEH.js.map → tool-memory-XJ5GS6J2.js.map} +0 -0
- /package/dist/{unified-registry-4UDUMHXQ.js.map → unified-registry-3XREXU6M.js.map} +0 -0
- /package/dist/{weather-report-EMYQNGKY.js.map → weather-report-TFBRNTTQ.js.map} +0 -0
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
getBuiltInAstRulesPath,
|
|
10
10
|
loadRules,
|
|
11
11
|
runAstQaRules
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-CF4YBYPP.js";
|
|
13
|
+
import "./chunk-5QXNBWGT.js";
|
|
14
14
|
import "./chunk-UE7A2XHM.js";
|
|
15
15
|
import "./chunk-LWOX65CP.js";
|
|
16
16
|
import "./chunk-PX6F3LHL.js";
|
|
@@ -26,4 +26,4 @@ export {
|
|
|
26
26
|
loadRules,
|
|
27
27
|
runAstQaRules
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=ast-rule-runner-
|
|
29
|
+
//# sourceMappingURL=ast-rule-runner-I4ENQIHS.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-5QXNBWGT.js";
|
|
7
7
|
import "./chunk-UE7A2XHM.js";
|
|
8
8
|
import "./chunk-LWOX65CP.js";
|
|
9
9
|
import "./chunk-PX6F3LHL.js";
|
|
@@ -56,4 +56,4 @@ async function generateMcpConfig(options) {
|
|
|
56
56
|
export {
|
|
57
57
|
generateMcpConfig
|
|
58
58
|
};
|
|
59
|
-
//# sourceMappingURL=child-mcp-config-
|
|
59
|
+
//# sourceMappingURL=child-mcp-config-VCCHMBNS.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5QXNBWGT.js";
|
|
8
8
|
|
|
9
9
|
// src/mcp/tools/scanner-registry-fetcher.ts
|
|
10
10
|
import { z } from "zod";
|
|
@@ -740,4 +740,4 @@ export {
|
|
|
740
740
|
generateSecurityPlan,
|
|
741
741
|
buildPlanFromAnalysis
|
|
742
742
|
};
|
|
743
|
-
//# sourceMappingURL=chunk-
|
|
743
|
+
//# sourceMappingURL=chunk-2A3T7PED.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadPapersRegistry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LXRMAIOS.js";
|
|
4
4
|
import {
|
|
5
5
|
getErrorMessage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5QXNBWGT.js";
|
|
7
7
|
|
|
8
8
|
// src/cli/research-helpers-synthesize.ts
|
|
9
9
|
import { z } from "zod";
|
|
@@ -876,4 +876,4 @@ export {
|
|
|
876
876
|
AttributedInsightSchema,
|
|
877
877
|
synthesizeResearch
|
|
878
878
|
};
|
|
879
|
-
//# sourceMappingURL=chunk-
|
|
879
|
+
//# sourceMappingURL=chunk-4HU23BG2.js.map
|
|
@@ -2696,7 +2696,7 @@ function setDefaultRegistry(registry) {
|
|
|
2696
2696
|
}
|
|
2697
2697
|
async function reloadDefaultRegistry() {
|
|
2698
2698
|
globalRegistry = buildDefaultRegistry();
|
|
2699
|
-
const { resetGlobalRegistry } = await import("./unified-registry-
|
|
2699
|
+
const { resetGlobalRegistry } = await import("./unified-registry-3XREXU6M.js");
|
|
2700
2700
|
resetGlobalRegistry();
|
|
2701
2701
|
return globalRegistry;
|
|
2702
2702
|
}
|
|
@@ -16131,7 +16131,7 @@ var CompositeRouter = class _CompositeRouter {
|
|
|
16131
16131
|
*/
|
|
16132
16132
|
async consultUnifiedContext(task) {
|
|
16133
16133
|
try {
|
|
16134
|
-
const { getContextForTask, inferTaskCategory } = await import("./context-retriever-
|
|
16134
|
+
const { getContextForTask, inferTaskCategory } = await import("./context-retriever-4W72UEX3.js");
|
|
16135
16135
|
const ctx = await getContextForTask({
|
|
16136
16136
|
task: task.content,
|
|
16137
16137
|
category: inferTaskCategory(task.content),
|
|
@@ -17791,4 +17791,4 @@ export {
|
|
|
17791
17791
|
AgentCapability,
|
|
17792
17792
|
OrchestratorError
|
|
17793
17793
|
};
|
|
17794
|
-
//# sourceMappingURL=chunk-
|
|
17794
|
+
//# sourceMappingURL=chunk-5QXNBWGT.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getAdaptiveBonus,
|
|
9
9
|
getOutcomeStore,
|
|
10
10
|
hasMeasuredCategory
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5QXNBWGT.js";
|
|
12
12
|
|
|
13
13
|
// src/cli/doctor-deep.ts
|
|
14
14
|
var CLI_NAMES = ["claude", "gemini", "codex", "opencode"];
|
|
@@ -148,4 +148,4 @@ export {
|
|
|
148
148
|
runDeepDiagnostics,
|
|
149
149
|
formatDeepDiagnostics
|
|
150
150
|
};
|
|
151
|
-
//# sourceMappingURL=chunk-
|
|
151
|
+
//# sourceMappingURL=chunk-6WTJMB6Q.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRandomProvider,
|
|
3
3
|
getTimeProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5QXNBWGT.js";
|
|
5
5
|
|
|
6
6
|
// src/utils/id-utils.ts
|
|
7
7
|
import { randomUUID } from "node:crypto";
|
|
@@ -24,4 +24,4 @@ export {
|
|
|
24
24
|
generateHyphenId,
|
|
25
25
|
generateUUID
|
|
26
26
|
};
|
|
27
|
-
//# sourceMappingURL=chunk-
|
|
27
|
+
//# sourceMappingURL=chunk-6XAFPFAG.js.map
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
planOptionalParams,
|
|
5
5
|
requireApiKey,
|
|
6
6
|
validateApiKeyPresence
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TR2EX6C3.js";
|
|
8
8
|
import {
|
|
9
9
|
assertCustomApiHostResolvesPublic,
|
|
10
10
|
hostnameOf,
|
|
11
11
|
redactApiKey
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RJWWZNG2.js";
|
|
13
13
|
import {
|
|
14
14
|
sanitizeErrorDetails
|
|
15
15
|
} from "./chunk-2NDA4DHW.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
isEndpointArmId,
|
|
32
32
|
ok,
|
|
33
33
|
recordUsageEvent
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-5QXNBWGT.js";
|
|
35
35
|
|
|
36
36
|
// src/adapters/openai-types.ts
|
|
37
37
|
var OPENAI_MODELS = {
|
|
@@ -886,4 +886,4 @@ export {
|
|
|
886
886
|
discoverModels,
|
|
887
887
|
buildOpenAICompatAdapters
|
|
888
888
|
};
|
|
889
|
-
//# sourceMappingURL=chunk-
|
|
889
|
+
//# sourceMappingURL=chunk-BLV6VIAX.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
ValidationError,
|
|
4
4
|
createLogger,
|
|
5
5
|
formatZodError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5QXNBWGT.js";
|
|
7
7
|
|
|
8
8
|
// src/security/ast-rule-runner.ts
|
|
9
9
|
import { existsSync } from "node:fs";
|
|
@@ -241,4 +241,4 @@ export {
|
|
|
241
241
|
collectAstQaFindings,
|
|
242
242
|
runAstQaRules
|
|
243
243
|
};
|
|
244
|
-
//# sourceMappingURL=chunk-
|
|
244
|
+
//# sourceMappingURL=chunk-CF4YBYPP.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
MODEL_IDS,
|
|
4
4
|
getTimeProvider,
|
|
5
5
|
resolveModelIdentitySync
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5QXNBWGT.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-CFVPA7NR.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-U75YSCIH.js";
|
|
4
4
|
import {
|
|
5
5
|
sanitizeErrorDetails
|
|
6
6
|
} from "./chunk-2NDA4DHW.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
getTimeProvider,
|
|
24
24
|
ok,
|
|
25
25
|
resolveToolClassGuardMs
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-5QXNBWGT.js";
|
|
27
27
|
import {
|
|
28
28
|
getNexusDataDir,
|
|
29
29
|
parseBoolValue
|
|
@@ -2342,4 +2342,4 @@ export {
|
|
|
2342
2342
|
DEFAULT_CONSENSUS_CONFIG,
|
|
2343
2343
|
ConsensusMetricsSchema
|
|
2344
2344
|
};
|
|
2345
|
-
//# sourceMappingURL=chunk-
|
|
2345
|
+
//# sourceMappingURL=chunk-E2F4TSBQ.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
CACHE_TIMEOUTS,
|
|
3
3
|
createLogger,
|
|
4
4
|
getTimeProvider
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5QXNBWGT.js";
|
|
6
6
|
|
|
7
7
|
// src/security/trust-types.ts
|
|
8
8
|
import { z } from "zod";
|
|
@@ -610,4 +610,4 @@ export {
|
|
|
610
610
|
resolveReputationGatingMode,
|
|
611
611
|
gateWithReputation
|
|
612
612
|
};
|
|
613
|
-
//# sourceMappingURL=chunk-
|
|
613
|
+
//# sourceMappingURL=chunk-FWOY6JQT.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createLogger,
|
|
3
3
|
err,
|
|
4
4
|
ok
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5QXNBWGT.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-FZ2VWKUY.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-E2F4TSBQ.js";
|
|
11
11
|
import {
|
|
12
12
|
JsonlStore,
|
|
13
13
|
SECURITY_KEYWORDS,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
hasMeasuredCategory,
|
|
22
22
|
isDeclaredNeverDeprecate,
|
|
23
23
|
isRegisteredToolName
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-5QXNBWGT.js";
|
|
25
25
|
import {
|
|
26
26
|
getNexusDataDir,
|
|
27
27
|
nexusDataPath
|
|
@@ -2284,4 +2284,4 @@ export {
|
|
|
2284
2284
|
runImprovementReview,
|
|
2285
2285
|
registerImprovementReviewTool
|
|
2286
2286
|
};
|
|
2287
|
-
//# sourceMappingURL=chunk-
|
|
2287
|
+
//# sourceMappingURL=chunk-GD4MN4XU.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAutoAdapter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Q2JFJ4RK.js";
|
|
4
4
|
import {
|
|
5
5
|
getDefaultCliCircuitBreakerRegistry,
|
|
6
6
|
mapModelErrorToCategory
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NGCTGVPR.js";
|
|
8
8
|
import {
|
|
9
9
|
CircularBuffer,
|
|
10
10
|
ConfigError,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
resolveModelIdentitySync,
|
|
29
29
|
toRateLimitError,
|
|
30
30
|
warnIfGatewayCostUndeclared
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-5QXNBWGT.js";
|
|
32
32
|
|
|
33
33
|
// src/config/model-equivalence.ts
|
|
34
34
|
function canonicalModelKey(modelId) {
|
|
@@ -975,4 +975,4 @@ export {
|
|
|
975
975
|
getGlobalRegistry,
|
|
976
976
|
resetGlobalRegistry
|
|
977
977
|
};
|
|
978
|
-
//# sourceMappingURL=chunk-
|
|
978
|
+
//# sourceMappingURL=chunk-GJHQKMTM.js.map
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
loadTechniquesRegistry,
|
|
9
9
|
resolveInsideRoot,
|
|
10
10
|
savePapersRegistry
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LXRMAIOS.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveToken
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FZ2VWKUY.js";
|
|
15
15
|
import {
|
|
16
16
|
getToolMemory
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-SDN3I3RB.js";
|
|
18
18
|
import {
|
|
19
19
|
capitalizeWords,
|
|
20
20
|
tokenizeFiltered,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
ok,
|
|
44
44
|
registerPersistentDistillerFactory,
|
|
45
45
|
sigmoidConfidence
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-5QXNBWGT.js";
|
|
47
47
|
import {
|
|
48
48
|
ensureLearningDir,
|
|
49
49
|
getRulesFile
|
|
@@ -4275,4 +4275,4 @@ export {
|
|
|
4275
4275
|
DEFAULT_CONTEXT_BUDGET_TOKENS,
|
|
4276
4276
|
getContextPromptPrefix
|
|
4277
4277
|
};
|
|
4278
|
-
//# sourceMappingURL=chunk-
|
|
4278
|
+
//# sourceMappingURL=chunk-H4GB47JC.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveCliSlot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CFVPA7NR.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider,
|
|
7
7
|
isRateLimitText
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5QXNBWGT.js";
|
|
9
9
|
|
|
10
10
|
// src/pipeline/expert-bridge.ts
|
|
11
11
|
function resolveCliFromModelString(model) {
|
|
@@ -30,7 +30,7 @@ async function getMcpConfigPath() {
|
|
|
30
30
|
if (cachedMcpConfigPath !== null) return cachedMcpConfigPath;
|
|
31
31
|
mcpConfigInitPromise ??= (async () => {
|
|
32
32
|
try {
|
|
33
|
-
const { generateMcpConfig } = await import("./child-mcp-config-
|
|
33
|
+
const { generateMcpConfig } = await import("./child-mcp-config-VCCHMBNS.js");
|
|
34
34
|
const config = await generateMcpConfig();
|
|
35
35
|
cachedMcpConfigPath = config.configPath;
|
|
36
36
|
cachedMcpConfigCleanup = config.cleanup;
|
|
@@ -107,8 +107,8 @@ var routerInitPromise = null;
|
|
|
107
107
|
async function getRouter() {
|
|
108
108
|
if (cachedRouter !== null) return cachedRouter;
|
|
109
109
|
routerInitPromise ??= (async () => {
|
|
110
|
-
const { createAllAdapters } = await import("./factory-
|
|
111
|
-
const { createCompositeRouter } = await import("./composite-router-
|
|
110
|
+
const { createAllAdapters } = await import("./factory-ZDOCEV27.js");
|
|
111
|
+
const { createCompositeRouter } = await import("./composite-router-TPKJQLVF.js");
|
|
112
112
|
const adapters = createAllAdapters();
|
|
113
113
|
if (adapters.size === 0) {
|
|
114
114
|
routerInitPromise = null;
|
|
@@ -116,7 +116,7 @@ async function getRouter() {
|
|
|
116
116
|
}
|
|
117
117
|
cachedRouter = adaptCompositeRouter(createCompositeRouter(adapters));
|
|
118
118
|
try {
|
|
119
|
-
const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-
|
|
119
|
+
const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-OZLAKDDO.js");
|
|
120
120
|
cachedCircuitBreaker = createCliCircuitBreakerIntegration([...adapters.values()]);
|
|
121
121
|
} catch (error) {
|
|
122
122
|
const msg = error instanceof Error ? error.message : String(error);
|
|
@@ -248,4 +248,4 @@ export {
|
|
|
248
248
|
tokenSplitFromUsage,
|
|
249
249
|
executeExpert
|
|
250
250
|
};
|
|
251
|
-
//# sourceMappingURL=chunk-
|
|
251
|
+
//# sourceMappingURL=chunk-HKF47G45.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getErrorMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5QXNBWGT.js";
|
|
4
4
|
|
|
5
5
|
// src/cli/setup-config.ts
|
|
6
6
|
import { copyFileSync, existsSync, mkdirSync, writeFileSync } from "node:fs";
|
|
@@ -77,4 +77,4 @@ function ensureBackup(outputPath) {
|
|
|
77
77
|
export {
|
|
78
78
|
runConfigInitSync
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=chunk-
|
|
80
|
+
//# sourceMappingURL=chunk-IASHBBSU.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
err,
|
|
5
5
|
getErrorMessage,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5QXNBWGT.js";
|
|
8
8
|
|
|
9
9
|
// src/scm/types.ts
|
|
10
10
|
var ScmError = class extends Error {
|
|
@@ -281,4 +281,4 @@ export {
|
|
|
281
281
|
ScmError,
|
|
282
282
|
GitHubProvider
|
|
283
283
|
};
|
|
284
|
-
//# sourceMappingURL=chunk-
|
|
284
|
+
//# sourceMappingURL=chunk-IYSRKZIX.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SERVES_PROBE_PROMPT
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-L7X3BQZY.js";
|
|
4
4
|
import {
|
|
5
5
|
readOpenAICompatEndpoint,
|
|
6
6
|
readOpenAICompatEnv
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BLV6VIAX.js";
|
|
8
8
|
import {
|
|
9
9
|
allOf
|
|
10
10
|
} from "./chunk-EZNIYU5T.js";
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
NODE_ENGINE_RANGE,
|
|
13
13
|
VERSION,
|
|
14
14
|
isNodeVersionSupported
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-U75YSCIH.js";
|
|
16
16
|
import {
|
|
17
17
|
claimGlobalRegistry
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-GJHQKMTM.js";
|
|
19
19
|
import {
|
|
20
20
|
capitalize
|
|
21
21
|
} from "./chunk-7LP6VJRP.js";
|
|
@@ -25,11 +25,12 @@ import {
|
|
|
25
25
|
IN_FAMILY_FALLBACK_OPTION,
|
|
26
26
|
codexMcpServerAvailable,
|
|
27
27
|
createAllAdapters,
|
|
28
|
+
isCliDisabled,
|
|
28
29
|
probeCli
|
|
29
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-Q2JFJ4RK.js";
|
|
30
31
|
import {
|
|
31
32
|
resolveGatewayEnv
|
|
32
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-RJWWZNG2.js";
|
|
33
34
|
import {
|
|
34
35
|
getNexusTmpDir
|
|
35
36
|
} from "./chunk-OITVVSWO.js";
|
|
@@ -59,7 +60,7 @@ import {
|
|
|
59
60
|
resolveGatewayCostDeclaration,
|
|
60
61
|
symbols,
|
|
61
62
|
writeLine
|
|
62
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-5QXNBWGT.js";
|
|
63
64
|
import {
|
|
64
65
|
getLearningDir,
|
|
65
66
|
getOutcomesFile,
|
|
@@ -461,6 +462,14 @@ function printGatewayCostLine(cost) {
|
|
|
461
462
|
writeLine(`${CHECK} Gateway cost: ${describeGatewayCostDeclaration(cost)}`);
|
|
462
463
|
}
|
|
463
464
|
|
|
465
|
+
// src/cli/doctor-disabled-clis.ts
|
|
466
|
+
function printDisabledClis(disabled) {
|
|
467
|
+
if (disabled.length === 0) return;
|
|
468
|
+
writeLine(
|
|
469
|
+
` ${colors.yellow}${symbols.circle}${colors.reset} Disabled by NEXUS_DISABLED_CLIS: ${disabled.join(", ")} (not probed)`
|
|
470
|
+
);
|
|
471
|
+
}
|
|
472
|
+
|
|
464
473
|
// src/cli/doctor-install-freshness.ts
|
|
465
474
|
var UNVERSIONED_BUILD = "dev";
|
|
466
475
|
var INSTALL_FRESHNESS_REMEDY = "npm install -g nexus-agents@latest \u2014 then RESTART any running MCP server. An already-spawned server keeps the old code until it is restarted, so updating alone leaves the session on the stale build.";
|
|
@@ -805,6 +814,7 @@ function printDoctorResults(result) {
|
|
|
805
814
|
writeLine(`${colors.cyan}Checking CLI installations...${colors.reset}`);
|
|
806
815
|
writeLine("");
|
|
807
816
|
for (const cli of result.clis) printCliResult(cli);
|
|
817
|
+
printDisabledClis(result.disabledClis);
|
|
808
818
|
writeLine(formatClaudeModelLine(result.claudeModel));
|
|
809
819
|
writeLine("");
|
|
810
820
|
writeLine(`${colors.cyan}Checking MCP configuration...${colors.reset}`);
|
|
@@ -842,8 +852,8 @@ function printInstallFreshness(check) {
|
|
|
842
852
|
`);
|
|
843
853
|
}
|
|
844
854
|
function printHarnessAlignment(check) {
|
|
845
|
-
writeLine(`${colors.cyan}Checking agent-harness alignment...${colors.reset}
|
|
846
|
-
|
|
855
|
+
writeLine(`${colors.cyan}Checking agent-harness alignment...${colors.reset}
|
|
856
|
+
`);
|
|
847
857
|
if (!check.inProject) {
|
|
848
858
|
writeLine(
|
|
849
859
|
`${colors.gray}${symbols.circle}${colors.reset} AGENTS.md: not run inside a project \u2014 harness alignment not applicable (run doctor from your repo root)
|
|
@@ -1338,12 +1348,11 @@ function probeClaudeModelFor(clis, probe = (installed) => probeClaudePinnedModel
|
|
|
1338
1348
|
return probe(claudeCheck?.installed === true);
|
|
1339
1349
|
}
|
|
1340
1350
|
async function runDoctor(deps = {}) {
|
|
1341
|
-
const
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
checkCli(
|
|
1345
|
-
|
|
1346
|
-
]);
|
|
1351
|
+
const allClis = ["claude", "gemini", "codex", "opencode"];
|
|
1352
|
+
const disabledClis = allClis.filter((cli) => isCliDisabled(cli));
|
|
1353
|
+
const clis = await Promise.all(
|
|
1354
|
+
allClis.filter((cli) => !isCliDisabled(cli)).map((cli) => checkCli(cli))
|
|
1355
|
+
);
|
|
1347
1356
|
const claudeModel = await probeClaudeModelFor(clis, deps.probeClaudeModel);
|
|
1348
1357
|
const nodeVersion = checkNodeVersion();
|
|
1349
1358
|
const apiKeys = checkApiKeys();
|
|
@@ -1368,6 +1377,7 @@ async function runDoctor(deps = {}) {
|
|
|
1368
1377
|
});
|
|
1369
1378
|
return {
|
|
1370
1379
|
clis,
|
|
1380
|
+
disabledClis,
|
|
1371
1381
|
nodeVersion,
|
|
1372
1382
|
apiKeys,
|
|
1373
1383
|
configFile,
|
|
@@ -1401,13 +1411,13 @@ async function runDoctorFix(result) {
|
|
|
1401
1411
|
writeLine2("\u2500".repeat(40));
|
|
1402
1412
|
let fixCount = 0;
|
|
1403
1413
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1404
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1414
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-NTBQC3MK.js");
|
|
1405
1415
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1406
1416
|
writeLine2(outcome.line);
|
|
1407
1417
|
if (outcome.counted) fixCount++;
|
|
1408
1418
|
}
|
|
1409
1419
|
if (!result.configFile.found) {
|
|
1410
|
-
const { runConfigInitSync } = await import("./setup-config-
|
|
1420
|
+
const { runConfigInitSync } = await import("./setup-config-5SYL4UCF.js");
|
|
1411
1421
|
const configResult = runConfigInitSync(process.cwd(), false, false);
|
|
1412
1422
|
if (configResult.success && configResult.created) {
|
|
1413
1423
|
writeLine2(`\u2713 Generated config: ${configResult.path}`);
|
|
@@ -1503,4 +1513,4 @@ export {
|
|
|
1503
1513
|
startStdioServer,
|
|
1504
1514
|
closeServer
|
|
1505
1515
|
};
|
|
1506
|
-
//# sourceMappingURL=chunk-
|
|
1516
|
+
//# sourceMappingURL=chunk-L6UAMBUH.js.map
|