nexus-agents 8.48.0 → 8.48.1
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-74D2KNCC.js → ast-rule-runner-SUEOULTY.js} +3 -3
- package/dist/{child-mcp-config-KTR6MPNZ.js → child-mcp-config-Y3GST6L4.js} +2 -2
- package/dist/{chunk-7XT6WVSB.js → chunk-2CB4RKGK.js} +2 -2
- package/dist/{chunk-7I3LY4HJ.js → chunk-4Y5TFSYP.js} +2 -2
- package/dist/{chunk-DVBGHGU3.js → chunk-53EL53NC.js} +2 -2
- package/dist/{chunk-CJ5FEUI2.js → chunk-6AX4544S.js} +3 -3
- package/dist/{chunk-QOKB6MWY.js → chunk-6GKP2RLC.js} +4 -4
- package/dist/{chunk-7YHOHQJR.js → chunk-A4WAADEC.js} +5 -5
- package/dist/{chunk-2SINF73A.js → chunk-A7GKD65R.js} +4 -4
- package/dist/{chunk-USBSYHBT.js → chunk-BDYBNBGJ.js} +3 -3
- package/dist/{chunk-X7EXIH67.js → chunk-CE6OZA5X.js} +4 -4
- package/dist/{chunk-RBNJYWQ6.js → chunk-F6LB2JEI.js} +4 -4
- package/dist/{chunk-GLDBWMOB.js → chunk-FASXNWT3.js} +5 -5
- package/dist/{chunk-SBCEQWUN.js → chunk-GFW5IMOF.js} +8 -8
- package/dist/{chunk-7QY3RIIY.js → chunk-GLDK3R2H.js} +7 -7
- package/dist/{chunk-F6HORFHH.js → chunk-GTCZLDKW.js} +2 -2
- package/dist/{chunk-TRV4NNEE.js → chunk-HBCY7CEH.js} +38 -11
- package/dist/chunk-HBCY7CEH.js.map +1 -0
- package/dist/{chunk-4TE5DJHO.js → chunk-KITJQPDR.js} +2 -2
- package/dist/{chunk-JOVBHYWW.js → chunk-MOVW4ZFU.js} +2 -2
- package/dist/{chunk-2HRAO3DD.js → chunk-MPJILKDK.js} +3 -3
- package/dist/{chunk-DF6M73XJ.js → chunk-N56KU4KM.js} +2 -2
- package/dist/{chunk-KRPSDJOP.js → chunk-NEKNNWPU.js} +2 -2
- package/dist/{chunk-JHDP6Z2M.js → chunk-OFZOWP7Q.js} +8 -8
- package/dist/{chunk-LO36HW55.js → chunk-OUEZ4AMS.js} +2 -2
- package/dist/{chunk-62CSX5QU.js → chunk-P6D43B4F.js} +2 -2
- package/dist/{chunk-TE6UUPOA.js → chunk-PJKJF6FQ.js} +2 -2
- package/dist/{chunk-5ONSIV4D.js → chunk-RCTVIHUT.js} +2 -2
- package/dist/{chunk-SBMYB6N3.js → chunk-RJSW5FD3.js} +2 -2
- package/dist/{chunk-YPU4OHBU.js → chunk-VDBBLFZR.js} +2 -2
- package/dist/{chunk-AZPM542H.js → chunk-VKBFV6OD.js} +8 -3
- package/dist/{chunk-AZPM542H.js.map → chunk-VKBFV6OD.js.map} +1 -1
- package/dist/{chunk-ODPVHHUW.js → chunk-WNEVQONR.js} +2 -2
- package/dist/{chunk-R247RR7W.js → chunk-YLTUPAKL.js} +2 -2
- package/dist/{chunk-WID3S2DT.js → chunk-YYQ6NX5R.js} +2 -2
- package/dist/{chunk-CKG2K5WC.js → chunk-ZHWB34CG.js} +50 -42
- package/dist/{chunk-CKG2K5WC.js.map → chunk-ZHWB34CG.js.map} +1 -1
- package/dist/{chunk-E4GEUHMH.js → chunk-ZQVU3NKP.js} +6 -6
- package/dist/{chunk-L7DROS6X.js → chunk-ZWJOB76B.js} +2 -2
- package/dist/{cli-circuit-breaker-QZLD2EOM.js → cli-circuit-breaker-BDQFZL7E.js} +3 -3
- package/dist/cli.js +43 -43
- package/dist/{composite-router-JLXK7CPT.js → composite-router-XPWI4EAG.js} +2 -2
- package/dist/{consensus-vote-MMWVMVH2.js → consensus-vote-3FSEGUY4.js} +17 -17
- package/dist/{context-retriever-7RE3EZCH.js → context-retriever-JLTSIPDG.js} +8 -8
- package/dist/{doctor-deep-LVNRCVLP.js → doctor-deep-CGDO6NJC.js} +3 -3
- package/dist/{doctor-live-5JJSWTEW.js → doctor-live-A56SMTQ7.js} +9 -9
- package/dist/{expert-bridge-VKTP3RAL.js → expert-bridge-GK7M6JDD.js} +4 -4
- package/dist/{factory-XV6E75D7.js → factory-AX4DQMR4.js} +5 -5
- package/dist/{factory-GESVEWDP.js → factory-K6QWZRX3.js} +9 -9
- package/dist/{improvement-review-NX7446V6.js → improvement-review-VFORQM3O.js} +6 -6
- package/dist/index.js +31 -31
- package/dist/{init-opencode-522IQ3OS.js → init-opencode-ED575MZA.js} +6 -6
- package/dist/issue-triage-7QOEFZP5.js +17 -0
- package/dist/{pr-reviewer-helpers-UZVC2NQW.js → pr-reviewer-helpers-FYY7JOX6.js} +4 -4
- package/dist/{registry-command-257AWC4P.js → registry-command-TKJBG3DI.js} +2 -2
- package/dist/{repo-security-plan-BF7VE3ML.js → repo-security-plan-MTS46MYL.js} +3 -3
- package/dist/{research-helpers-synthesize-RNF6Y7XV.js → research-helpers-synthesize-5LWQYXLC.js} +4 -4
- package/dist/{routing-memory-RBKPFXHQ.js → routing-memory-S3FP5MQY.js} +2 -2
- package/dist/{session-memory-BQVXGS2D.js → session-memory-JUYGIQI4.js} +3 -3
- package/dist/{setup-config-IXTT2I5T.js → setup-config-KIZ2V5PW.js} +3 -3
- package/dist/{setup-custom-api-75HAWD5G.js → setup-custom-api-DUEOVPOA.js} +4 -4
- package/dist/setup-data-dir-NPUCOQEV.js +30 -0
- package/dist/{tool-memory-FU5M6HD5.js → tool-memory-XD7YZBBU.js} +5 -5
- package/dist/{unified-registry-YJ2Z43E2.js → unified-registry-MUUCHM4T.js} +10 -10
- package/dist/{weather-report-ME2HVR3F.js → weather-report-7M3VSROJ.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-TRV4NNEE.js.map +0 -1
- package/dist/issue-triage-WCJZQONF.js +0 -17
- package/dist/setup-data-dir-O7Y4FGDJ.js +0 -30
- /package/dist/{ast-rule-runner-74D2KNCC.js.map → ast-rule-runner-SUEOULTY.js.map} +0 -0
- /package/dist/{child-mcp-config-KTR6MPNZ.js.map → child-mcp-config-Y3GST6L4.js.map} +0 -0
- /package/dist/{chunk-7XT6WVSB.js.map → chunk-2CB4RKGK.js.map} +0 -0
- /package/dist/{chunk-7I3LY4HJ.js.map → chunk-4Y5TFSYP.js.map} +0 -0
- /package/dist/{chunk-DVBGHGU3.js.map → chunk-53EL53NC.js.map} +0 -0
- /package/dist/{chunk-CJ5FEUI2.js.map → chunk-6AX4544S.js.map} +0 -0
- /package/dist/{chunk-QOKB6MWY.js.map → chunk-6GKP2RLC.js.map} +0 -0
- /package/dist/{chunk-7YHOHQJR.js.map → chunk-A4WAADEC.js.map} +0 -0
- /package/dist/{chunk-2SINF73A.js.map → chunk-A7GKD65R.js.map} +0 -0
- /package/dist/{chunk-USBSYHBT.js.map → chunk-BDYBNBGJ.js.map} +0 -0
- /package/dist/{chunk-X7EXIH67.js.map → chunk-CE6OZA5X.js.map} +0 -0
- /package/dist/{chunk-RBNJYWQ6.js.map → chunk-F6LB2JEI.js.map} +0 -0
- /package/dist/{chunk-GLDBWMOB.js.map → chunk-FASXNWT3.js.map} +0 -0
- /package/dist/{chunk-SBCEQWUN.js.map → chunk-GFW5IMOF.js.map} +0 -0
- /package/dist/{chunk-7QY3RIIY.js.map → chunk-GLDK3R2H.js.map} +0 -0
- /package/dist/{chunk-F6HORFHH.js.map → chunk-GTCZLDKW.js.map} +0 -0
- /package/dist/{chunk-4TE5DJHO.js.map → chunk-KITJQPDR.js.map} +0 -0
- /package/dist/{chunk-JOVBHYWW.js.map → chunk-MOVW4ZFU.js.map} +0 -0
- /package/dist/{chunk-2HRAO3DD.js.map → chunk-MPJILKDK.js.map} +0 -0
- /package/dist/{chunk-DF6M73XJ.js.map → chunk-N56KU4KM.js.map} +0 -0
- /package/dist/{chunk-KRPSDJOP.js.map → chunk-NEKNNWPU.js.map} +0 -0
- /package/dist/{chunk-JHDP6Z2M.js.map → chunk-OFZOWP7Q.js.map} +0 -0
- /package/dist/{chunk-LO36HW55.js.map → chunk-OUEZ4AMS.js.map} +0 -0
- /package/dist/{chunk-62CSX5QU.js.map → chunk-P6D43B4F.js.map} +0 -0
- /package/dist/{chunk-TE6UUPOA.js.map → chunk-PJKJF6FQ.js.map} +0 -0
- /package/dist/{chunk-5ONSIV4D.js.map → chunk-RCTVIHUT.js.map} +0 -0
- /package/dist/{chunk-SBMYB6N3.js.map → chunk-RJSW5FD3.js.map} +0 -0
- /package/dist/{chunk-YPU4OHBU.js.map → chunk-VDBBLFZR.js.map} +0 -0
- /package/dist/{chunk-ODPVHHUW.js.map → chunk-WNEVQONR.js.map} +0 -0
- /package/dist/{chunk-R247RR7W.js.map → chunk-YLTUPAKL.js.map} +0 -0
- /package/dist/{chunk-WID3S2DT.js.map → chunk-YYQ6NX5R.js.map} +0 -0
- /package/dist/{chunk-E4GEUHMH.js.map → chunk-ZQVU3NKP.js.map} +0 -0
- /package/dist/{chunk-L7DROS6X.js.map → chunk-ZWJOB76B.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-QZLD2EOM.js.map → cli-circuit-breaker-BDQFZL7E.js.map} +0 -0
- /package/dist/{composite-router-JLXK7CPT.js.map → composite-router-XPWI4EAG.js.map} +0 -0
- /package/dist/{consensus-vote-MMWVMVH2.js.map → consensus-vote-3FSEGUY4.js.map} +0 -0
- /package/dist/{context-retriever-7RE3EZCH.js.map → context-retriever-JLTSIPDG.js.map} +0 -0
- /package/dist/{doctor-deep-LVNRCVLP.js.map → doctor-deep-CGDO6NJC.js.map} +0 -0
- /package/dist/{doctor-live-5JJSWTEW.js.map → doctor-live-A56SMTQ7.js.map} +0 -0
- /package/dist/{expert-bridge-VKTP3RAL.js.map → expert-bridge-GK7M6JDD.js.map} +0 -0
- /package/dist/{factory-GESVEWDP.js.map → factory-AX4DQMR4.js.map} +0 -0
- /package/dist/{factory-XV6E75D7.js.map → factory-K6QWZRX3.js.map} +0 -0
- /package/dist/{improvement-review-NX7446V6.js.map → improvement-review-VFORQM3O.js.map} +0 -0
- /package/dist/{init-opencode-522IQ3OS.js.map → init-opencode-ED575MZA.js.map} +0 -0
- /package/dist/{issue-triage-WCJZQONF.js.map → issue-triage-7QOEFZP5.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-UZVC2NQW.js.map → pr-reviewer-helpers-FYY7JOX6.js.map} +0 -0
- /package/dist/{registry-command-257AWC4P.js.map → registry-command-TKJBG3DI.js.map} +0 -0
- /package/dist/{repo-security-plan-BF7VE3ML.js.map → repo-security-plan-MTS46MYL.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-RNF6Y7XV.js.map → research-helpers-synthesize-5LWQYXLC.js.map} +0 -0
- /package/dist/{routing-memory-RBKPFXHQ.js.map → routing-memory-S3FP5MQY.js.map} +0 -0
- /package/dist/{session-memory-BQVXGS2D.js.map → session-memory-JUYGIQI4.js.map} +0 -0
- /package/dist/{setup-config-IXTT2I5T.js.map → setup-config-KIZ2V5PW.js.map} +0 -0
- /package/dist/{setup-custom-api-75HAWD5G.js.map → setup-custom-api-DUEOVPOA.js.map} +0 -0
- /package/dist/{setup-data-dir-O7Y4FGDJ.js.map → setup-data-dir-NPUCOQEV.js.map} +0 -0
- /package/dist/{tool-memory-FU5M6HD5.js.map → tool-memory-XD7YZBBU.js.map} +0 -0
- /package/dist/{unified-registry-YJ2Z43E2.js.map → unified-registry-MUUCHM4T.js.map} +0 -0
- /package/dist/{weather-report-ME2HVR3F.js.map → weather-report-7M3VSROJ.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-NEKNNWPU.js";
|
|
13
|
+
import "./chunk-VKBFV6OD.js";
|
|
14
14
|
import "./chunk-MTYJPPIG.js";
|
|
15
15
|
import "./chunk-BTYRPZON.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-SUEOULTY.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-T46RV7Y7.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VKBFV6OD.js";
|
|
7
7
|
import "./chunk-MTYJPPIG.js";
|
|
8
8
|
import "./chunk-BTYRPZON.js";
|
|
9
9
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -60,4 +60,4 @@ export {
|
|
|
60
60
|
generateMcpConfig,
|
|
61
61
|
getDefaultAllowedTools
|
|
62
62
|
};
|
|
63
|
-
//# sourceMappingURL=child-mcp-config-
|
|
63
|
+
//# sourceMappingURL=child-mcp-config-Y3GST6L4.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getErrorMessage,
|
|
5
5
|
getTimeProvider,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VKBFV6OD.js";
|
|
8
8
|
|
|
9
9
|
// src/context/session-memory.ts
|
|
10
10
|
import * as fs from "node:fs";
|
|
@@ -370,4 +370,4 @@ export {
|
|
|
370
370
|
SessionMemory,
|
|
371
371
|
createSessionMemory
|
|
372
372
|
};
|
|
373
|
-
//# sourceMappingURL=chunk-
|
|
373
|
+
//# sourceMappingURL=chunk-2CB4RKGK.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
CACHE_TIMEOUTS,
|
|
3
3
|
createLogger,
|
|
4
4
|
getTimeProvider
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VKBFV6OD.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-4Y5TFSYP.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createLogger,
|
|
3
3
|
err,
|
|
4
4
|
ok
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VKBFV6OD.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-53EL53NC.js.map
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
assessReputation,
|
|
12
12
|
sanitizeInput
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4Y5TFSYP.js";
|
|
14
14
|
import {
|
|
15
15
|
createLogger,
|
|
16
16
|
err,
|
|
17
17
|
getTimeProvider,
|
|
18
18
|
ok
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-VKBFV6OD.js";
|
|
20
20
|
|
|
21
21
|
// src/dogfooding/pr-reviewer-helpers.ts
|
|
22
22
|
import { randomUUID } from "node:crypto";
|
|
@@ -416,4 +416,4 @@ export {
|
|
|
416
416
|
createFailedReview,
|
|
417
417
|
reviewPostingBlock
|
|
418
418
|
};
|
|
419
|
-
//# sourceMappingURL=chunk-
|
|
419
|
+
//# sourceMappingURL=chunk-6AX4544S.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAutoAdapter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GFW5IMOF.js";
|
|
4
4
|
import {
|
|
5
5
|
getDefaultCliCircuitBreakerRegistry,
|
|
6
6
|
mapModelErrorToCategory
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-N56KU4KM.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-VKBFV6OD.js";
|
|
28
28
|
|
|
29
29
|
// src/config/model-equivalence.ts
|
|
30
30
|
function canonicalModelKey(modelId) {
|
|
@@ -909,4 +909,4 @@ export {
|
|
|
909
909
|
getGlobalRegistry,
|
|
910
910
|
resetGlobalRegistry
|
|
911
911
|
};
|
|
912
|
-
//# sourceMappingURL=chunk-
|
|
912
|
+
//# sourceMappingURL=chunk-6GKP2RLC.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail,
|
|
3
3
|
recordUsageEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PJKJF6FQ.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-YLTUPAKL.js";
|
|
12
12
|
import {
|
|
13
13
|
assertCustomApiHostResolvesPublic
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VDBBLFZR.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-VKBFV6OD.js";
|
|
26
26
|
|
|
27
27
|
// src/adapters/openai-types.ts
|
|
28
28
|
var OPENAI_MODELS = {
|
|
@@ -842,4 +842,4 @@ export {
|
|
|
842
842
|
discoverModels,
|
|
843
843
|
buildOpenAICompatAdapters
|
|
844
844
|
};
|
|
845
|
-
//# sourceMappingURL=chunk-
|
|
845
|
+
//# sourceMappingURL=chunk-A4WAADEC.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OUEZ4AMS.js";
|
|
4
4
|
import {
|
|
5
5
|
emitClawGuardViolation
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MOVW4ZFU.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-VKBFV6OD.js";
|
|
23
23
|
import {
|
|
24
24
|
getNexusDataDir
|
|
25
25
|
} from "./chunk-BTYRPZON.js";
|
|
@@ -2360,4 +2360,4 @@ export {
|
|
|
2360
2360
|
VOTING_THRESHOLDS,
|
|
2361
2361
|
ConsensusMetricsSchema
|
|
2362
2362
|
};
|
|
2363
|
-
//# sourceMappingURL=chunk-
|
|
2363
|
+
//# sourceMappingURL=chunk-A7GKD65R.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-A7GKD65R.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-VKBFV6OD.js";
|
|
24
24
|
import {
|
|
25
25
|
getNexusDataDir,
|
|
26
26
|
nexusDataPath
|
|
@@ -2173,4 +2173,4 @@ export {
|
|
|
2173
2173
|
runImprovementReview,
|
|
2174
2174
|
registerImprovementReviewTool
|
|
2175
2175
|
};
|
|
2176
|
-
//# sourceMappingURL=chunk-
|
|
2176
|
+
//# sourceMappingURL=chunk-BDYBNBGJ.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RCTVIHUT.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveToken
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-53EL53NC.js";
|
|
8
8
|
import {
|
|
9
9
|
err,
|
|
10
10
|
ok
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VKBFV6OD.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-CE6OZA5X.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-7LP6VJRP.js";
|
|
6
6
|
import {
|
|
7
7
|
SessionMemory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2CB4RKGK.js";
|
|
9
9
|
import {
|
|
10
10
|
StatsOnlyAdapter,
|
|
11
11
|
ensureSharedMemoryRegistry
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-MUJCGBZW.js";
|
|
16
16
|
import {
|
|
17
17
|
generateId
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-P6D43B4F.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-VKBFV6OD.js";
|
|
33
33
|
import {
|
|
34
34
|
nexusDataPath
|
|
35
35
|
} from "./chunk-BTYRPZON.js";
|
|
@@ -5825,4 +5825,4 @@ export {
|
|
|
5825
5825
|
reinitializeMemoryBackends,
|
|
5826
5826
|
ToolMemoryManager
|
|
5827
5827
|
};
|
|
5828
|
-
//# sourceMappingURL=chunk-
|
|
5828
|
+
//# sourceMappingURL=chunk-F6LB2JEI.js.map
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
loadTechniquesRegistry,
|
|
6
6
|
resolveInsideRoot,
|
|
7
7
|
savePapersRegistry
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WNEVQONR.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveToken
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-53EL53NC.js";
|
|
12
12
|
import {
|
|
13
13
|
getToolMemory
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-F6LB2JEI.js";
|
|
15
15
|
import {
|
|
16
16
|
capitalizeWords,
|
|
17
17
|
tokenizeFiltered,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
ok,
|
|
41
41
|
registerPersistentDistillerFactory,
|
|
42
42
|
sigmoidConfidence
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-VKBFV6OD.js";
|
|
44
44
|
import {
|
|
45
45
|
ensureLearningDir,
|
|
46
46
|
getRulesFile
|
|
@@ -4238,4 +4238,4 @@ export {
|
|
|
4238
4238
|
DEFAULT_CONTEXT_BUDGET_TOKENS,
|
|
4239
4239
|
getContextPromptPrefix
|
|
4240
4240
|
};
|
|
4241
|
-
//# sourceMappingURL=chunk-
|
|
4241
|
+
//# sourceMappingURL=chunk-FASXNWT3.js.map
|
|
@@ -5,34 +5,34 @@ import {
|
|
|
5
5
|
planOptionalParams,
|
|
6
6
|
requireApiKey,
|
|
7
7
|
validateApiKeyPresence
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YLTUPAKL.js";
|
|
9
9
|
import {
|
|
10
10
|
CUSTOM_API_DEFAULT_MODEL
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZWJOB76B.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-VDBBLFZR.js";
|
|
18
18
|
import {
|
|
19
19
|
nexusMkdtempSync
|
|
20
20
|
} from "./chunk-T46RV7Y7.js";
|
|
21
21
|
import {
|
|
22
22
|
getAvailabilityCache
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-KITJQPDR.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-P6D43B4F.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-N56KU4KM.js";
|
|
36
36
|
import {
|
|
37
37
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
38
38
|
CLI_TIMEOUTS,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
resolveCliModelName,
|
|
74
74
|
resolveRetryAfterMs,
|
|
75
75
|
retryAfterMsFromContext
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-VKBFV6OD.js";
|
|
77
77
|
import {
|
|
78
78
|
parseBoolValue
|
|
79
79
|
} from "./chunk-BTYRPZON.js";
|
|
@@ -4992,4 +4992,4 @@ export {
|
|
|
4992
4992
|
SdkAdapter,
|
|
4993
4993
|
createAutoAdapter
|
|
4994
4994
|
};
|
|
4995
|
-
//# sourceMappingURL=chunk-
|
|
4995
|
+
//# sourceMappingURL=chunk-GFW5IMOF.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveCliSlot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KITJQPDR.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider,
|
|
7
7
|
isRateLimitText
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VKBFV6OD.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-Y3GST6L4.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-K6QWZRX3.js");
|
|
97
|
+
const { createCompositeRouter } = await import("./composite-router-XPWI4EAG.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-BDQFZL7E.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-GLDK3R2H.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getErrorMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VKBFV6OD.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-GTCZLDKW.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail,
|
|
3
3
|
priceBasisOf
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PJKJF6FQ.js";
|
|
5
5
|
import {
|
|
6
6
|
allOf
|
|
7
7
|
} from "./chunk-OQB3XC5O.js";
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
toolSuccessStructured,
|
|
24
24
|
withProgressHeartbeat,
|
|
25
25
|
wrapToolWithTimeout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-A7GKD65R.js";
|
|
27
27
|
import {
|
|
28
28
|
VERSION
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-OUEZ4AMS.js";
|
|
30
30
|
import {
|
|
31
31
|
assessPanelIndependence,
|
|
32
32
|
countDistinctModels,
|
|
33
33
|
createEvent,
|
|
34
34
|
getGlobalRegistry
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-6GKP2RLC.js";
|
|
36
36
|
import {
|
|
37
37
|
getToolMemory
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-F6LB2JEI.js";
|
|
39
39
|
import {
|
|
40
40
|
authRemediation,
|
|
41
41
|
delay,
|
|
42
42
|
getAvailableClis,
|
|
43
43
|
sleep,
|
|
44
44
|
withTimeout
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-GFW5IMOF.js";
|
|
46
46
|
import {
|
|
47
47
|
AgentError,
|
|
48
48
|
CLI_NAMES,
|
|
@@ -58,6 +58,7 @@ import {
|
|
|
58
58
|
err,
|
|
59
59
|
formatPercentage,
|
|
60
60
|
formatZodError,
|
|
61
|
+
formatZodIssueWithRoot,
|
|
61
62
|
getErrorMessage,
|
|
62
63
|
getMcpSafeDeadlineMs,
|
|
63
64
|
getOutcomeStore,
|
|
@@ -70,7 +71,7 @@ import {
|
|
|
70
71
|
registerPersistentOutcomeStoreFactory,
|
|
71
72
|
resolveClassGuardMs,
|
|
72
73
|
resolveVoteTimeout
|
|
73
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-VKBFV6OD.js";
|
|
74
75
|
import {
|
|
75
76
|
ensureLearningDir,
|
|
76
77
|
getOutcomesFile
|
|
@@ -5155,6 +5156,25 @@ function applyErrorPolicy(votes, policy) {
|
|
|
5155
5156
|
import { appendFileSync as appendFileSync2, existsSync as existsSync2, mkdirSync as mkdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
5156
5157
|
import { dirname, isAbsolute, relative, resolve, sep } from "node:path";
|
|
5157
5158
|
|
|
5159
|
+
// src/audit/ledger-append.ts
|
|
5160
|
+
var UNREADABLE_RECORD_PREFIX = "refusing to persist an unreadable";
|
|
5161
|
+
function serializeValidatedRecord(schema, record, ledgerName) {
|
|
5162
|
+
const parsed = schema.safeParse(record);
|
|
5163
|
+
if (!parsed.success) {
|
|
5164
|
+
const paths = parsed.error.issues.map(formatZodIssueWithRoot).join("; ");
|
|
5165
|
+
throw new Error(`${UNREADABLE_RECORD_PREFIX} ${ledgerName} record: ${paths}`);
|
|
5166
|
+
}
|
|
5167
|
+
const line = JSON.stringify(record);
|
|
5168
|
+
const roundTrip = schema.safeParse(JSON.parse(line));
|
|
5169
|
+
if (!roundTrip.success) {
|
|
5170
|
+
const paths = roundTrip.error.issues.map(formatZodIssueWithRoot).join("; ");
|
|
5171
|
+
throw new Error(
|
|
5172
|
+
`${UNREADABLE_RECORD_PREFIX} ${ledgerName} record: JSON round-trip changed it \u2014 ${paths}`
|
|
5173
|
+
);
|
|
5174
|
+
}
|
|
5175
|
+
return line + "\n";
|
|
5176
|
+
}
|
|
5177
|
+
|
|
5158
5178
|
// src/audit/vote-record.ts
|
|
5159
5179
|
import * as crypto from "node:crypto";
|
|
5160
5180
|
import { z as z7 } from "zod";
|
|
@@ -5421,7 +5441,13 @@ var VOTE_RECORDS_FILENAME = "vote-records.jsonl";
|
|
|
5421
5441
|
var VOTE_RECORDS_PATH_ENV = "NEXUS_VOTE_RECORDS_PATH";
|
|
5422
5442
|
var MAX_PROPOSAL_RECORD_CHARS = 500;
|
|
5423
5443
|
function voteRecordWriteFailedMessage(path2) {
|
|
5424
|
-
return
|
|
5444
|
+
return (
|
|
5445
|
+
// #6054: `undefined` from the store now has TWO causes — an unwritable path,
|
|
5446
|
+
// or a record the read schema would reject (refused before it became
|
|
5447
|
+
// durable). This text reaches the MCP caller, so it must not assert the
|
|
5448
|
+
// filesystem cause it cannot distinguish; the server log names which.
|
|
5449
|
+
`Authentic vote record NOT persisted (${path2}). Either the resolved data directory is not writable, or the record was refused because the read schema would reject it. The server log line "Failed to persist authentic vote record" carries the cause \u2014 a filesystem error, or the offending field. For the path case, check permissions on the .nexus-agents data dir or set ${VOTE_RECORDS_PATH_ENV} to a writable absolute file path.`
|
|
5450
|
+
);
|
|
5425
5451
|
}
|
|
5426
5452
|
function outcomeToDecision(result, votes, errorVoided) {
|
|
5427
5453
|
const errorCount = votes.filter((v) => v.source === "error").length;
|
|
@@ -5592,7 +5618,7 @@ function persistVoteRecord(opts) {
|
|
|
5592
5618
|
sequence: maxSequence + 1,
|
|
5593
5619
|
previousHash: lastHash
|
|
5594
5620
|
});
|
|
5595
|
-
appendFileSync2(filePath,
|
|
5621
|
+
appendFileSync2(filePath, serializeValidatedRecord(VoteRecordSchema, record, "vote"), "utf-8");
|
|
5596
5622
|
logger11.info("Persisted authentic vote record", {
|
|
5597
5623
|
id: record.id,
|
|
5598
5624
|
decision: record.decision,
|
|
@@ -7310,7 +7336,7 @@ function logPartialProposal(bounded, log) {
|
|
|
7310
7336
|
}
|
|
7311
7337
|
async function runContrarianCheck(proposal, log) {
|
|
7312
7338
|
try {
|
|
7313
|
-
const { executeExpert } = await import("./expert-bridge-
|
|
7339
|
+
const { executeExpert } = await import("./expert-bridge-GK7M6JDD.js");
|
|
7314
7340
|
const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
|
|
7315
7341
|
logPartialProposal(bounded, log);
|
|
7316
7342
|
const result = await executeExpert("architecture", buildContrarianPrompt(bounded));
|
|
@@ -7893,6 +7919,7 @@ export {
|
|
|
7893
7919
|
ConsensusVoteInputSchema,
|
|
7894
7920
|
toRecordDecision,
|
|
7895
7921
|
mapOutcomeToDecision,
|
|
7922
|
+
serializeValidatedRecord,
|
|
7896
7923
|
recordAuthenticVote,
|
|
7897
7924
|
recordDecisionCost,
|
|
7898
7925
|
checkSimulationAllowed,
|
|
@@ -7908,4 +7935,4 @@ export {
|
|
|
7908
7935
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
7909
7936
|
registerConsensusVoteTool
|
|
7910
7937
|
};
|
|
7911
|
-
//# sourceMappingURL=chunk-
|
|
7938
|
+
//# sourceMappingURL=chunk-HBCY7CEH.js.map
|