nexus-agents 8.15.2 → 8.16.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-T3REZDT7.js → ast-rule-runner-AJAWZQNS.js} +3 -3
- package/dist/{child-mcp-config-CLACXGLL.js → child-mcp-config-JQCVNB3Y.js} +2 -2
- package/dist/{chunk-EVBYS5PY.js → chunk-2LQAHGNZ.js} +7 -7
- package/dist/{chunk-JMKRLWED.js → chunk-46V3G76B.js} +4 -4
- package/dist/{chunk-DG2AWTET.js → chunk-5OTOOVOF.js} +4 -4
- package/dist/{chunk-CYRPFUM5.js → chunk-6ZU3FUAX.js} +2 -2
- package/dist/{chunk-7NE6ERWJ.js → chunk-7JPBVZXW.js} +3 -3
- package/dist/{chunk-EH7BVUH5.js → chunk-A62DB47B.js} +8 -8
- package/dist/{chunk-P7E5EBZC.js → chunk-BYKZ4FMO.js} +7 -7
- package/dist/{chunk-YJQMBTRO.js → chunk-CQK5SIEX.js} +3 -3
- package/dist/{chunk-LZ65QEVJ.js → chunk-CV4BKEFW.js} +4 -4
- package/dist/{chunk-Y47JLN3E.js → chunk-D7WQNTAK.js} +2 -2
- package/dist/{chunk-TDYSYKVH.js → chunk-DBGIP6GK.js} +2 -2
- package/dist/{chunk-4AAIUCZF.js → chunk-ETMIOP3R.js} +2 -2
- package/dist/{chunk-PYIVLWVO.js → chunk-F5L6XR7O.js} +28 -11
- package/dist/chunk-F5L6XR7O.js.map +1 -0
- package/dist/{chunk-B7OYAWOE.js → chunk-FZFSJPGP.js} +87 -48
- package/dist/chunk-FZFSJPGP.js.map +1 -0
- package/dist/{chunk-JJEMPUTM.js → chunk-GWQE5MBQ.js} +2 -2
- package/dist/{chunk-UJBQAWAN.js → chunk-HUKQIOQJ.js} +3 -3
- package/dist/{chunk-UZPSVN36.js → chunk-IJH2U2QL.js} +2 -2
- package/dist/{chunk-5X67Q3D2.js → chunk-IVGQWADP.js} +2 -2
- package/dist/{chunk-YIKZVQ2G.js → chunk-JEOQY42Z.js} +5 -5
- package/dist/{chunk-2E36UWL7.js → chunk-JYMFL4M6.js} +2 -2
- package/dist/{chunk-MBXLGNKF.js → chunk-KJFX7JUP.js} +33 -12
- package/dist/chunk-KJFX7JUP.js.map +1 -0
- package/dist/{chunk-ZZ57L2XX.js → chunk-KQRF4ZHX.js} +2 -2
- package/dist/{chunk-4X6OQY7X.js → chunk-KUKQ7UHD.js} +4 -4
- package/dist/{chunk-BOKIPN5F.js → chunk-LMJ7BKIL.js} +2 -2
- package/dist/{chunk-LAQI75I6.js → chunk-NBXYA5O6.js} +3 -3
- package/dist/{chunk-LAQI75I6.js.map → chunk-NBXYA5O6.js.map} +1 -1
- package/dist/{chunk-SPWGAWE7.js → chunk-PBVNGI67.js} +2 -2
- package/dist/{chunk-LG6226RT.js → chunk-QBU2RG7U.js} +2 -2
- package/dist/{chunk-FIRMC57S.js → chunk-R2VSXNGB.js} +6 -6
- package/dist/{chunk-PBVKU72T.js → chunk-R3QNEXOU.js} +2 -2
- package/dist/{chunk-MM6NZTDW.js → chunk-R7V4C5UL.js} +2 -2
- package/dist/{chunk-M4PYLLYN.js → chunk-RJO6I6JV.js} +2 -2
- package/dist/chunk-W3TYQ4CB.js +7 -0
- package/dist/{chunk-55WGNJRG.js → chunk-ZB7XPHFZ.js} +2 -2
- package/dist/{chunk-5QOJAEGM.js → chunk-ZXLF3NDV.js} +2 -2
- package/dist/{cli-circuit-breaker-PLGPPDBH.js → cli-circuit-breaker-2LQZLFVP.js} +3 -3
- package/dist/cli.js +43 -43
- package/dist/{composite-router-HLAZHG3C.js → composite-router-XNVULYDV.js} +2 -2
- package/dist/{consensus-vote-ZPD6EGE7.js → consensus-vote-HIWPU4AA.js} +17 -17
- package/dist/{context-retriever-WR3WXM53.js → context-retriever-GWAJG6XT.js} +8 -8
- package/dist/{doctor-deep-VN6F7IRM.js → doctor-deep-ZATGXGNC.js} +3 -3
- package/dist/{doctor-live-76EBRB57.js → doctor-live-L264NFJO.js} +9 -9
- package/dist/{expert-bridge-Z5AB5X5H.js → expert-bridge-KCQ457YZ.js} +4 -4
- package/dist/{factory-4GAB7J3C.js → factory-FFKHIV6Q.js} +5 -5
- package/dist/{factory-7DHP2SB5.js → factory-S2SVFA6W.js} +9 -9
- package/dist/{improvement-review-XWZY5HJM.js → improvement-review-TYR5BN75.js} +6 -6
- package/dist/index.d.ts +13 -0
- package/dist/index.js +32 -32
- package/dist/{init-opencode-EZIST672.js → init-opencode-CDW4DAWF.js} +6 -6
- package/dist/issue-triage-MGKLKK43.js +17 -0
- package/dist/{pr-reviewer-helpers-3NMGM46D.js → pr-reviewer-helpers-6TRRYFHP.js} +4 -4
- package/dist/{registry-command-ZPQX324A.js → registry-command-4Y7RJH47.js} +2 -2
- package/dist/{repo-security-plan-JYXBWJ5K.js → repo-security-plan-XZ6YBLUE.js} +3 -3
- package/dist/{research-helpers-synthesize-EZPG6ZGS.js → research-helpers-synthesize-OKCOMCE2.js} +4 -4
- package/dist/{routing-memory-S537TMB4.js → routing-memory-QUA5ORUA.js} +2 -2
- package/dist/{session-memory-UBBYMYO4.js → session-memory-XKHKWRP3.js} +3 -3
- package/dist/{setup-config-LFHGW5O7.js → setup-config-NMVR2OBN.js} +3 -3
- package/dist/{setup-custom-api-KS3WSTFD.js → setup-custom-api-VV3FT66F.js} +4 -4
- package/dist/setup-data-dir-MCRACRZA.js +29 -0
- package/dist/{tool-memory-LSIG7GD4.js → tool-memory-MCIIYDQR.js} +5 -5
- package/dist/{unified-registry-63264J7Q.js → unified-registry-LPSJ2KMV.js} +10 -10
- package/dist/{weather-report-3B7CQC3N.js → weather-report-KHFJ756C.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-B7OYAWOE.js.map +0 -1
- package/dist/chunk-BSMWRMH2.js +0 -7
- package/dist/chunk-MBXLGNKF.js.map +0 -1
- package/dist/chunk-PYIVLWVO.js.map +0 -1
- package/dist/issue-triage-HDNDWDPO.js +0 -17
- package/dist/setup-data-dir-BUW4LREF.js +0 -29
- /package/dist/{ast-rule-runner-T3REZDT7.js.map → ast-rule-runner-AJAWZQNS.js.map} +0 -0
- /package/dist/{child-mcp-config-CLACXGLL.js.map → child-mcp-config-JQCVNB3Y.js.map} +0 -0
- /package/dist/{chunk-EVBYS5PY.js.map → chunk-2LQAHGNZ.js.map} +0 -0
- /package/dist/{chunk-JMKRLWED.js.map → chunk-46V3G76B.js.map} +0 -0
- /package/dist/{chunk-DG2AWTET.js.map → chunk-5OTOOVOF.js.map} +0 -0
- /package/dist/{chunk-CYRPFUM5.js.map → chunk-6ZU3FUAX.js.map} +0 -0
- /package/dist/{chunk-7NE6ERWJ.js.map → chunk-7JPBVZXW.js.map} +0 -0
- /package/dist/{chunk-EH7BVUH5.js.map → chunk-A62DB47B.js.map} +0 -0
- /package/dist/{chunk-P7E5EBZC.js.map → chunk-BYKZ4FMO.js.map} +0 -0
- /package/dist/{chunk-YJQMBTRO.js.map → chunk-CQK5SIEX.js.map} +0 -0
- /package/dist/{chunk-LZ65QEVJ.js.map → chunk-CV4BKEFW.js.map} +0 -0
- /package/dist/{chunk-Y47JLN3E.js.map → chunk-D7WQNTAK.js.map} +0 -0
- /package/dist/{chunk-TDYSYKVH.js.map → chunk-DBGIP6GK.js.map} +0 -0
- /package/dist/{chunk-4AAIUCZF.js.map → chunk-ETMIOP3R.js.map} +0 -0
- /package/dist/{chunk-JJEMPUTM.js.map → chunk-GWQE5MBQ.js.map} +0 -0
- /package/dist/{chunk-UJBQAWAN.js.map → chunk-HUKQIOQJ.js.map} +0 -0
- /package/dist/{chunk-UZPSVN36.js.map → chunk-IJH2U2QL.js.map} +0 -0
- /package/dist/{chunk-5X67Q3D2.js.map → chunk-IVGQWADP.js.map} +0 -0
- /package/dist/{chunk-YIKZVQ2G.js.map → chunk-JEOQY42Z.js.map} +0 -0
- /package/dist/{chunk-2E36UWL7.js.map → chunk-JYMFL4M6.js.map} +0 -0
- /package/dist/{chunk-ZZ57L2XX.js.map → chunk-KQRF4ZHX.js.map} +0 -0
- /package/dist/{chunk-4X6OQY7X.js.map → chunk-KUKQ7UHD.js.map} +0 -0
- /package/dist/{chunk-BOKIPN5F.js.map → chunk-LMJ7BKIL.js.map} +0 -0
- /package/dist/{chunk-SPWGAWE7.js.map → chunk-PBVNGI67.js.map} +0 -0
- /package/dist/{chunk-LG6226RT.js.map → chunk-QBU2RG7U.js.map} +0 -0
- /package/dist/{chunk-FIRMC57S.js.map → chunk-R2VSXNGB.js.map} +0 -0
- /package/dist/{chunk-PBVKU72T.js.map → chunk-R3QNEXOU.js.map} +0 -0
- /package/dist/{chunk-MM6NZTDW.js.map → chunk-R7V4C5UL.js.map} +0 -0
- /package/dist/{chunk-M4PYLLYN.js.map → chunk-RJO6I6JV.js.map} +0 -0
- /package/dist/{chunk-BSMWRMH2.js.map → chunk-W3TYQ4CB.js.map} +0 -0
- /package/dist/{chunk-55WGNJRG.js.map → chunk-ZB7XPHFZ.js.map} +0 -0
- /package/dist/{chunk-5QOJAEGM.js.map → chunk-ZXLF3NDV.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-PLGPPDBH.js.map → cli-circuit-breaker-2LQZLFVP.js.map} +0 -0
- /package/dist/{composite-router-HLAZHG3C.js.map → composite-router-XNVULYDV.js.map} +0 -0
- /package/dist/{consensus-vote-ZPD6EGE7.js.map → consensus-vote-HIWPU4AA.js.map} +0 -0
- /package/dist/{context-retriever-WR3WXM53.js.map → context-retriever-GWAJG6XT.js.map} +0 -0
- /package/dist/{doctor-deep-VN6F7IRM.js.map → doctor-deep-ZATGXGNC.js.map} +0 -0
- /package/dist/{doctor-live-76EBRB57.js.map → doctor-live-L264NFJO.js.map} +0 -0
- /package/dist/{expert-bridge-Z5AB5X5H.js.map → expert-bridge-KCQ457YZ.js.map} +0 -0
- /package/dist/{factory-4GAB7J3C.js.map → factory-FFKHIV6Q.js.map} +0 -0
- /package/dist/{factory-7DHP2SB5.js.map → factory-S2SVFA6W.js.map} +0 -0
- /package/dist/{improvement-review-XWZY5HJM.js.map → improvement-review-TYR5BN75.js.map} +0 -0
- /package/dist/{init-opencode-EZIST672.js.map → init-opencode-CDW4DAWF.js.map} +0 -0
- /package/dist/{issue-triage-HDNDWDPO.js.map → issue-triage-MGKLKK43.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-3NMGM46D.js.map → pr-reviewer-helpers-6TRRYFHP.js.map} +0 -0
- /package/dist/{registry-command-ZPQX324A.js.map → registry-command-4Y7RJH47.js.map} +0 -0
- /package/dist/{repo-security-plan-JYXBWJ5K.js.map → repo-security-plan-XZ6YBLUE.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-EZPG6ZGS.js.map → research-helpers-synthesize-OKCOMCE2.js.map} +0 -0
- /package/dist/{routing-memory-S537TMB4.js.map → routing-memory-QUA5ORUA.js.map} +0 -0
- /package/dist/{session-memory-UBBYMYO4.js.map → session-memory-XKHKWRP3.js.map} +0 -0
- /package/dist/{setup-config-LFHGW5O7.js.map → setup-config-NMVR2OBN.js.map} +0 -0
- /package/dist/{setup-custom-api-KS3WSTFD.js.map → setup-custom-api-VV3FT66F.js.map} +0 -0
- /package/dist/{setup-data-dir-BUW4LREF.js.map → setup-data-dir-MCRACRZA.js.map} +0 -0
- /package/dist/{tool-memory-LSIG7GD4.js.map → tool-memory-MCIIYDQR.js.map} +0 -0
- /package/dist/{unified-registry-63264J7Q.js.map → unified-registry-LPSJ2KMV.js.map} +0 -0
- /package/dist/{weather-report-3B7CQC3N.js.map → weather-report-KHFJ756C.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-ZXLF3NDV.js";
|
|
13
|
+
import "./chunk-NBXYA5O6.js";
|
|
14
14
|
import "./chunk-7WJGV5DN.js";
|
|
15
15
|
import "./chunk-J7QCZRVK.js";
|
|
16
16
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -26,4 +26,4 @@ export {
|
|
|
26
26
|
loadRules,
|
|
27
27
|
runAstQaRules
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=ast-rule-runner-
|
|
29
|
+
//# sourceMappingURL=ast-rule-runner-AJAWZQNS.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-DKHBIJO4.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NBXYA5O6.js";
|
|
7
7
|
import "./chunk-7WJGV5DN.js";
|
|
8
8
|
import "./chunk-J7QCZRVK.js";
|
|
9
9
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -62,4 +62,4 @@ export {
|
|
|
62
62
|
generateMcpConfig,
|
|
63
63
|
getDefaultAllowedTools
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=child-mcp-config-
|
|
65
|
+
//# sourceMappingURL=child-mcp-config-JQCVNB3Y.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveCliSlot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IJH2U2QL.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider,
|
|
7
7
|
isRateLimitText
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NBXYA5O6.js";
|
|
9
9
|
|
|
10
10
|
// src/pipeline/expert-bridge.ts
|
|
11
11
|
function resolveCliFromModelString(model) {
|
|
@@ -21,7 +21,7 @@ async function getMcpConfigPath() {
|
|
|
21
21
|
if (cachedMcpConfigPath !== null) return cachedMcpConfigPath;
|
|
22
22
|
mcpConfigInitPromise ??= (async () => {
|
|
23
23
|
try {
|
|
24
|
-
const { generateMcpConfig } = await import("./child-mcp-config-
|
|
24
|
+
const { generateMcpConfig } = await import("./child-mcp-config-JQCVNB3Y.js");
|
|
25
25
|
const config = await generateMcpConfig();
|
|
26
26
|
cachedMcpConfigPath = config.configPath;
|
|
27
27
|
cachedMcpConfigCleanup = config.cleanup;
|
|
@@ -93,8 +93,8 @@ var routerInitPromise = null;
|
|
|
93
93
|
async function getRouter() {
|
|
94
94
|
if (cachedRouter !== null) return cachedRouter;
|
|
95
95
|
routerInitPromise ??= (async () => {
|
|
96
|
-
const { createAllAdapters } = await import("./factory-
|
|
97
|
-
const { createCompositeRouter } = await import("./composite-router-
|
|
96
|
+
const { createAllAdapters } = await import("./factory-S2SVFA6W.js");
|
|
97
|
+
const { createCompositeRouter } = await import("./composite-router-XNVULYDV.js");
|
|
98
98
|
const adapters = createAllAdapters();
|
|
99
99
|
if (adapters.size === 0) {
|
|
100
100
|
routerInitPromise = null;
|
|
@@ -102,7 +102,7 @@ async function getRouter() {
|
|
|
102
102
|
}
|
|
103
103
|
cachedRouter = adaptCompositeRouter(createCompositeRouter(adapters));
|
|
104
104
|
try {
|
|
105
|
-
const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-
|
|
105
|
+
const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-2LQZLFVP.js");
|
|
106
106
|
cachedCircuitBreaker = createCliCircuitBreakerIntegration([...adapters.values()]);
|
|
107
107
|
} catch (error) {
|
|
108
108
|
const msg = error instanceof Error ? error.message : String(error);
|
|
@@ -213,4 +213,4 @@ export {
|
|
|
213
213
|
tokenSplitFromUsage,
|
|
214
214
|
executeExpert
|
|
215
215
|
};
|
|
216
|
-
//# sourceMappingURL=chunk-
|
|
216
|
+
//# sourceMappingURL=chunk-2LQAHGNZ.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAutoAdapter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-A62DB47B.js";
|
|
4
4
|
import {
|
|
5
5
|
getDefaultCliCircuitBreakerRegistry,
|
|
6
6
|
mapModelErrorToCategory
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6ZU3FUAX.js";
|
|
8
8
|
import {
|
|
9
9
|
CLI_NAMES,
|
|
10
10
|
CircularBuffer,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
recordRateLimitEvent,
|
|
25
25
|
resolveModelIdentitySync,
|
|
26
26
|
toRateLimitError
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-NBXYA5O6.js";
|
|
28
28
|
|
|
29
29
|
// src/config/model-equivalence.ts
|
|
30
30
|
function canonicalModelKey(modelId) {
|
|
@@ -904,4 +904,4 @@ export {
|
|
|
904
904
|
getGlobalRegistry,
|
|
905
905
|
resetGlobalRegistry
|
|
906
906
|
};
|
|
907
|
-
//# sourceMappingURL=chunk-
|
|
907
|
+
//# sourceMappingURL=chunk-46V3G76B.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-6T3EPABN.js";
|
|
6
6
|
import {
|
|
7
7
|
SessionMemory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LMJ7BKIL.js";
|
|
9
9
|
import {
|
|
10
10
|
StatsOnlyAdapter,
|
|
11
11
|
ensureSharedMemoryRegistry
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-YYJFZ7TO.js";
|
|
16
16
|
import {
|
|
17
17
|
generateId
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-KQRF4ZHX.js";
|
|
19
19
|
import {
|
|
20
20
|
ErrorCode,
|
|
21
21
|
NexusError,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
ok,
|
|
30
30
|
openSqliteDatabase,
|
|
31
31
|
setSharedMobiMemDbPathResolver
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-NBXYA5O6.js";
|
|
33
33
|
import {
|
|
34
34
|
nexusDataPath
|
|
35
35
|
} from "./chunk-J7QCZRVK.js";
|
|
@@ -5661,4 +5661,4 @@ export {
|
|
|
5661
5661
|
reinitializeMemoryBackends,
|
|
5662
5662
|
ToolMemoryManager
|
|
5663
5663
|
};
|
|
5664
|
-
//# sourceMappingURL=chunk-
|
|
5664
|
+
//# sourceMappingURL=chunk-5OTOOVOF.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getTimeProvider,
|
|
9
9
|
isRateLimitText,
|
|
10
10
|
ok
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NBXYA5O6.js";
|
|
12
12
|
|
|
13
13
|
// src/cli-adapters/circuit-breaker-types.ts
|
|
14
14
|
var CircuitErrorCode = {
|
|
@@ -541,4 +541,4 @@ export {
|
|
|
541
541
|
CliCircuitBreakerIntegration,
|
|
542
542
|
createCliCircuitBreakerIntegration
|
|
543
543
|
};
|
|
544
|
-
//# sourceMappingURL=chunk-
|
|
544
|
+
//# sourceMappingURL=chunk-6ZU3FUAX.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CV4BKEFW.js";
|
|
11
11
|
import {
|
|
12
12
|
JsonlStore,
|
|
13
13
|
SECURITY_KEYWORDS,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
getTimeProvider,
|
|
21
21
|
isDeclaredNeverDeprecate,
|
|
22
22
|
isRegisteredToolName
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NBXYA5O6.js";
|
|
24
24
|
import {
|
|
25
25
|
getNexusDataDir,
|
|
26
26
|
nexusDataPath
|
|
@@ -2159,4 +2159,4 @@ export {
|
|
|
2159
2159
|
runImprovementReview,
|
|
2160
2160
|
registerImprovementReviewTool
|
|
2161
2161
|
};
|
|
2162
|
-
//# sourceMappingURL=chunk-
|
|
2162
|
+
//# sourceMappingURL=chunk-7JPBVZXW.js.map
|
|
@@ -5,34 +5,34 @@ import {
|
|
|
5
5
|
planOptionalParams,
|
|
6
6
|
requireApiKey,
|
|
7
7
|
validateApiKeyPresence
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-R7V4C5UL.js";
|
|
9
9
|
import {
|
|
10
10
|
CUSTOM_API_DEFAULT_MODEL
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-R3QNEXOU.js";
|
|
12
12
|
import {
|
|
13
13
|
CUSTOM_API_BASE_URL_ENV,
|
|
14
14
|
PROVIDER_ENV_KEYS,
|
|
15
15
|
assertCustomApiHostResolvesPublic,
|
|
16
16
|
validateCustomApiBaseUrl
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PBVNGI67.js";
|
|
18
18
|
import {
|
|
19
19
|
nexusMkdtempSync
|
|
20
20
|
} from "./chunk-DKHBIJO4.js";
|
|
21
21
|
import {
|
|
22
22
|
getAvailabilityCache
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IJH2U2QL.js";
|
|
24
24
|
import {
|
|
25
25
|
extractSystemPrompt
|
|
26
26
|
} from "./chunk-QZUG667L.js";
|
|
27
27
|
import {
|
|
28
28
|
generateHyphenId
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-KQRF4ZHX.js";
|
|
30
30
|
import {
|
|
31
31
|
CliCircuitBreaker,
|
|
32
32
|
DEFAULT_CIRCUIT_BREAKER_CONFIG,
|
|
33
33
|
getCliCircuitBreakerSnapshot,
|
|
34
34
|
getDefaultCliCircuitBreakerRegistry
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-6ZU3FUAX.js";
|
|
36
36
|
import {
|
|
37
37
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
38
38
|
CLI_TIMEOUTS,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
resolveCliAlias,
|
|
73
73
|
resolveRetryAfterMs,
|
|
74
74
|
retryAfterMsFromContext
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-NBXYA5O6.js";
|
|
76
76
|
|
|
77
77
|
// src/cli-adapters/cli-to-model-adapter.ts
|
|
78
78
|
var CliToModelAdapter = class {
|
|
@@ -4946,4 +4946,4 @@ export {
|
|
|
4946
4946
|
SdkAdapter,
|
|
4947
4947
|
createAutoAdapter
|
|
4948
4948
|
};
|
|
4949
|
-
//# sourceMappingURL=chunk-
|
|
4949
|
+
//# sourceMappingURL=chunk-A62DB47B.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readOpenAICompatEnv
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JEOQY42Z.js";
|
|
4
4
|
import {
|
|
5
5
|
allOf
|
|
6
6
|
} from "./chunk-OQB3XC5O.js";
|
|
7
7
|
import {
|
|
8
8
|
VERSION
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-W3TYQ4CB.js";
|
|
10
10
|
import {
|
|
11
11
|
capitalize
|
|
12
12
|
} from "./chunk-6T3EPABN.js";
|
|
13
13
|
import {
|
|
14
14
|
createAllAdapters,
|
|
15
15
|
probeCli
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-A62DB47B.js";
|
|
17
17
|
import {
|
|
18
18
|
getNexusTmpDir
|
|
19
19
|
} from "./chunk-DKHBIJO4.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
ok,
|
|
29
29
|
symbols,
|
|
30
30
|
writeLine
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-NBXYA5O6.js";
|
|
32
32
|
import {
|
|
33
33
|
getLearningDir,
|
|
34
34
|
getOutcomesFile,
|
|
@@ -1220,13 +1220,13 @@ async function runDoctorFix(result) {
|
|
|
1220
1220
|
writeLine2("\u2500".repeat(40));
|
|
1221
1221
|
let fixCount = 0;
|
|
1222
1222
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1223
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1223
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-MCRACRZA.js");
|
|
1224
1224
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1225
1225
|
writeLine2(outcome.line);
|
|
1226
1226
|
if (outcome.counted) fixCount++;
|
|
1227
1227
|
}
|
|
1228
1228
|
if (!result.configFile.found) {
|
|
1229
|
-
const { runConfigInitSync } = await import("./setup-config-
|
|
1229
|
+
const { runConfigInitSync } = await import("./setup-config-NMVR2OBN.js");
|
|
1230
1230
|
const configResult = runConfigInitSync(process.cwd(), false, false);
|
|
1231
1231
|
if (configResult.success && configResult.created) {
|
|
1232
1232
|
writeLine2(`\u2713 Generated config: ${configResult.path}`);
|
|
@@ -1322,4 +1322,4 @@ export {
|
|
|
1322
1322
|
startStdioServer,
|
|
1323
1323
|
closeServer
|
|
1324
1324
|
};
|
|
1325
|
-
//# sourceMappingURL=chunk-
|
|
1325
|
+
//# sourceMappingURL=chunk-BYKZ4FMO.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadPapersRegistry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GWQE5MBQ.js";
|
|
4
4
|
import {
|
|
5
5
|
getErrorMessage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NBXYA5O6.js";
|
|
7
7
|
|
|
8
8
|
// src/cli/research-helpers-synthesize.ts
|
|
9
9
|
import { z } from "zod";
|
|
@@ -886,4 +886,4 @@ export {
|
|
|
886
886
|
AttributedInsightSchema,
|
|
887
887
|
synthesizeResearch
|
|
888
888
|
};
|
|
889
|
-
//# sourceMappingURL=chunk-
|
|
889
|
+
//# sourceMappingURL=chunk-CQK5SIEX.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-W3TYQ4CB.js";
|
|
4
4
|
import {
|
|
5
5
|
emitClawGuardViolation
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IVGQWADP.js";
|
|
7
7
|
import {
|
|
8
8
|
CACHE_TIMEOUTS,
|
|
9
9
|
MCP_TIMEOUTS,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
getTimeProvider,
|
|
20
20
|
ok,
|
|
21
21
|
resolveToolClassGuardMs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-NBXYA5O6.js";
|
|
23
23
|
import {
|
|
24
24
|
getNexusDataDir
|
|
25
25
|
} from "./chunk-J7QCZRVK.js";
|
|
@@ -2246,4 +2246,4 @@ export {
|
|
|
2246
2246
|
VOTING_THRESHOLDS,
|
|
2247
2247
|
ConsensusMetricsSchema
|
|
2248
2248
|
};
|
|
2249
|
-
//# sourceMappingURL=chunk-
|
|
2249
|
+
//# sourceMappingURL=chunk-CV4BKEFW.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
createLogger,
|
|
4
4
|
getDefaultRegistry,
|
|
5
5
|
roundToMicroUsd
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NBXYA5O6.js";
|
|
7
7
|
import {
|
|
8
8
|
getNexusDataDir
|
|
9
9
|
} from "./chunk-J7QCZRVK.js";
|
|
@@ -196,4 +196,4 @@ export {
|
|
|
196
196
|
loadUsageEvents,
|
|
197
197
|
rollupByModel
|
|
198
198
|
};
|
|
199
|
-
//# sourceMappingURL=chunk-
|
|
199
|
+
//# sourceMappingURL=chunk-D7WQNTAK.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NBXYA5O6.js";
|
|
8
8
|
|
|
9
9
|
// src/mcp/tools/scanner-registry-fetcher.ts
|
|
10
10
|
import { z } from "zod";
|
|
@@ -721,4 +721,4 @@ export {
|
|
|
721
721
|
generateSecurityPlan,
|
|
722
722
|
buildPlanFromAnalysis
|
|
723
723
|
};
|
|
724
|
-
//# sourceMappingURL=chunk-
|
|
724
|
+
//# sourceMappingURL=chunk-DBGIP6GK.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
err,
|
|
5
5
|
getErrorMessage,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NBXYA5O6.js";
|
|
8
8
|
|
|
9
9
|
// src/scm/types.ts
|
|
10
10
|
var ScmError = class extends Error {
|
|
@@ -263,4 +263,4 @@ export {
|
|
|
263
263
|
ScmError,
|
|
264
264
|
GitHubProvider
|
|
265
265
|
};
|
|
266
|
-
//# sourceMappingURL=chunk-
|
|
266
|
+
//# sourceMappingURL=chunk-ETMIOP3R.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail,
|
|
3
3
|
priceBasisOf
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-D7WQNTAK.js";
|
|
5
5
|
import {
|
|
6
6
|
allOf
|
|
7
7
|
} from "./chunk-OQB3XC5O.js";
|
|
@@ -23,25 +23,25 @@ import {
|
|
|
23
23
|
toolSuccessStructured,
|
|
24
24
|
withProgressHeartbeat,
|
|
25
25
|
wrapToolWithTimeout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-CV4BKEFW.js";
|
|
27
27
|
import {
|
|
28
28
|
VERSION
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-W3TYQ4CB.js";
|
|
30
30
|
import {
|
|
31
31
|
assessPanelIndependence,
|
|
32
32
|
countDistinctModels,
|
|
33
33
|
createEvent,
|
|
34
34
|
getGlobalRegistry
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-46V3G76B.js";
|
|
36
36
|
import {
|
|
37
37
|
getToolMemory
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-5OTOOVOF.js";
|
|
39
39
|
import {
|
|
40
40
|
authRemediation,
|
|
41
41
|
delay,
|
|
42
42
|
getAvailableClis,
|
|
43
43
|
withTimeout
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-A62DB47B.js";
|
|
45
45
|
import {
|
|
46
46
|
AgentError,
|
|
47
47
|
CLI_NAMES,
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
registerPersistentOutcomeStoreFactory,
|
|
70
70
|
resolveClassGuardMs,
|
|
71
71
|
resolveVoteTimeout
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-NBXYA5O6.js";
|
|
73
73
|
import {
|
|
74
74
|
ensureLearningDir,
|
|
75
75
|
getOutcomesFile
|
|
@@ -147,8 +147,25 @@ function checkCodexConcurrency(codexBoundConcurrency) {
|
|
|
147
147
|
|
|
148
148
|
// src/cli/panel-independence.ts
|
|
149
149
|
function reportPanelIndependence(adapters, roleCount, phase, logger10) {
|
|
150
|
+
reportPanelModelIndependence(
|
|
151
|
+
adapters.map((adapter) => adapter.modelId),
|
|
152
|
+
roleCount,
|
|
153
|
+
phase,
|
|
154
|
+
logger10
|
|
155
|
+
);
|
|
156
|
+
}
|
|
157
|
+
function reportVoteIndependence(results, logger10) {
|
|
158
|
+
const successful = results.filter((result) => result.source === "llm");
|
|
159
|
+
reportPanelModelIndependence(
|
|
160
|
+
successful.map((result) => result.model),
|
|
161
|
+
successful.length,
|
|
162
|
+
"post-vote",
|
|
163
|
+
logger10
|
|
164
|
+
);
|
|
165
|
+
}
|
|
166
|
+
function reportPanelModelIndependence(modelIds, roleCount, phase, logger10) {
|
|
150
167
|
if (roleCount <= 1) return;
|
|
151
|
-
const verdict = assessPanelIndependence(
|
|
168
|
+
const verdict = assessPanelIndependence(modelIds);
|
|
152
169
|
if (verdict.kind === "collapsed") {
|
|
153
170
|
logger10.warn("Consensus panel ran on ONE model \u2014 votes may correlate", {
|
|
154
171
|
model: verdict.model,
|
|
@@ -1359,7 +1376,7 @@ async function collectRealVotes(options) {
|
|
|
1359
1376
|
interDelay,
|
|
1360
1377
|
signal: options.signal
|
|
1361
1378
|
});
|
|
1362
|
-
|
|
1379
|
+
reportVoteIndependence(results, logger10);
|
|
1363
1380
|
return results;
|
|
1364
1381
|
}
|
|
1365
1382
|
|
|
@@ -6398,7 +6415,7 @@ function logPartialProposal(bounded, log) {
|
|
|
6398
6415
|
}
|
|
6399
6416
|
async function runContrarianCheck(proposal, log) {
|
|
6400
6417
|
try {
|
|
6401
|
-
const { executeExpert } = await import("./expert-bridge-
|
|
6418
|
+
const { executeExpert } = await import("./expert-bridge-KCQ457YZ.js");
|
|
6402
6419
|
const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
|
|
6403
6420
|
logPartialProposal(bounded, log);
|
|
6404
6421
|
const result = await executeExpert("architecture", buildContrarianPrompt(bounded));
|
|
@@ -6988,4 +7005,4 @@ export {
|
|
|
6988
7005
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
6989
7006
|
registerConsensusVoteTool
|
|
6990
7007
|
};
|
|
6991
|
-
//# sourceMappingURL=chunk-
|
|
7008
|
+
//# sourceMappingURL=chunk-F5L6XR7O.js.map
|