nexus-agents 7.0.1 → 8.0.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/{child-mcp-config-ORXLS5HP.js → child-mcp-config-V2ESGPZ4.js} +7 -7
- package/dist/{chunk-RBF64DXJ.js → chunk-2S7Q7GHX.js} +5 -5
- package/dist/{chunk-6E2M3P5A.js → chunk-3GMYW66U.js} +14 -14
- package/dist/{chunk-4OW67KT2.js → chunk-4HXPNLZS.js} +6 -6
- package/dist/{chunk-W4Q5NZYZ.js → chunk-4QHAMZLU.js} +3 -3
- package/dist/{chunk-KSQSWEFH.js → chunk-54Z2II7G.js} +21 -11
- package/dist/chunk-54Z2II7G.js.map +1 -0
- package/dist/{chunk-UJPVBDYG.js → chunk-5FBPGOKA.js} +24 -24
- package/dist/chunk-5FBPGOKA.js.map +1 -0
- package/dist/{chunk-RSMG2DPB.js → chunk-64GMIUM5.js} +5 -5
- package/dist/{chunk-RLBJTZHA.js → chunk-AHTOZ2UR.js} +2 -2
- package/dist/{chunk-JNZ3D5B5.js → chunk-AL5E5T3O.js} +4 -4
- package/dist/{chunk-3CGUPSBW.js → chunk-BKAUGBSF.js} +2 -2
- package/dist/{chunk-XREG2HTQ.js → chunk-BSWLRSOG.js} +4 -4
- package/dist/{chunk-JJT7NVNY.js → chunk-CHU7NTUR.js} +4 -4
- package/dist/{chunk-UVO673OY.js → chunk-DBDXS7PE.js} +3 -3
- package/dist/{chunk-VYAXMVI5.js → chunk-DEYXS6IZ.js} +5 -5
- package/dist/{chunk-VYAXMVI5.js.map → chunk-DEYXS6IZ.js.map} +1 -1
- package/dist/{chunk-HFOQKCD2.js → chunk-DGWT7DXX.js} +3 -3
- package/dist/{chunk-HFOQKCD2.js.map → chunk-DGWT7DXX.js.map} +1 -1
- package/dist/{chunk-LVYRGNOC.js → chunk-DWUF5YWG.js} +2 -2
- package/dist/{chunk-VVXHIUFQ.js → chunk-EGWPONTU.js} +6 -6
- package/dist/{chunk-SS5FADQN.js → chunk-EXAULYXZ.js} +19 -19
- package/dist/{chunk-K2AWJGQO.js → chunk-FSY2TYFX.js} +8 -8
- package/dist/{chunk-6GYTTWNM.js → chunk-FVHUWXM2.js} +2 -2
- package/dist/{chunk-ZGEDIKAM.js → chunk-FW2FBZBD.js} +4 -4
- package/dist/{chunk-ZD4VEHEG.js → chunk-H6BUSSTF.js} +2 -2
- package/dist/{chunk-D6TL5GZV.js → chunk-HKKLVWRO.js} +5 -5
- package/dist/{chunk-GBHJ37V3.js → chunk-ITCKXMOH.js} +4 -4
- package/dist/{chunk-Y742U2YM.js → chunk-J7SPTP2E.js} +119 -104
- package/dist/chunk-J7SPTP2E.js.map +1 -0
- package/dist/{chunk-KJWD2V4K.js → chunk-JFE3JT5Q.js} +7 -7
- package/dist/chunk-KRG23W3T.js +7 -0
- package/dist/{chunk-33FI7W3G.js → chunk-L2PDPA23.js} +3 -3
- package/dist/{chunk-XZEYSIGG.js → chunk-LOKTE5WE.js} +4 -4
- package/dist/{chunk-HA2MM4C2.js → chunk-LOYIV3HG.js} +234 -225
- package/dist/chunk-LOYIV3HG.js.map +1 -0
- package/dist/{chunk-Q6IODDEA.js → chunk-LVSKLVYC.js} +12 -12
- package/dist/{chunk-Q6IODDEA.js.map → chunk-LVSKLVYC.js.map} +1 -1
- package/dist/{chunk-JEAKVUWM.js → chunk-M6E5E7QV.js} +3 -3
- package/dist/{chunk-OGHEKPLD.js → chunk-MM223CVS.js} +10 -10
- package/dist/{chunk-6Q3KSZVI.js → chunk-MWS56UFF.js} +2 -2
- package/dist/{chunk-PDMWQ2NK.js → chunk-OYWFWMLH.js} +58 -41
- package/dist/chunk-OYWFWMLH.js.map +1 -0
- package/dist/{chunk-S2Z7CME3.js → chunk-PXJ6CB5V.js} +2 -2
- package/dist/{chunk-Y5GYBP52.js → chunk-QTDUIXOJ.js} +4 -4
- package/dist/{chunk-7U7HAYPB.js → chunk-R4B4UJ6F.js} +25 -59
- package/dist/chunk-R4B4UJ6F.js.map +1 -0
- package/dist/{chunk-QAHGHWC7.js → chunk-WIJ5J7AH.js} +23 -23
- package/dist/{chunk-BTWKDT4F.js → chunk-YJ7Q2NHE.js} +20 -20
- package/dist/{chunk-IWTK6FDT.js → chunk-ZTPBXWA7.js} +4 -4
- package/dist/{cli-circuit-breaker-5FYJDS5O.js → cli-circuit-breaker-YFHX4FN2.js} +5 -5
- package/dist/cli.js +378 -379
- package/dist/cli.js.map +1 -1
- package/dist/{codebase-search-RHBGEWXK.js → codebase-search-3D4TW3KR.js} +2 -2
- package/dist/{composite-router-GE24MYPP.js → composite-router-224FZMI2.js} +4 -4
- package/dist/{consensus-vote-355WNDBN.js → consensus-vote-57SKG3EN.js} +22 -22
- package/dist/{context-retriever-3OO6N4V6.js → context-retriever-CCVDD7TO.js} +12 -12
- package/dist/{dist-IKZ53APZ.js → dist-JK32DFHT.js} +2 -2
- package/dist/doctor-deep-37II5V7H.js +13 -0
- package/dist/{doctor-live-J7JIZH3T.js → doctor-live-VXQOZW37.js} +13 -13
- package/dist/{expert-bridge-PWRVRFDG.js → expert-bridge-7LGHU7IL.js} +6 -6
- package/dist/factory-5URERSHK.js +25 -0
- package/dist/factory-SF6ZPN6D.js +15 -0
- package/dist/{improvement-review-PO4LS6GO.js → improvement-review-2AFBFUQX.js} +8 -8
- package/dist/index.d.ts +75 -57
- package/dist/index.js +65 -76
- package/dist/index.js.map +1 -1
- package/dist/{init-opencode-GDPE4U65.js → init-opencode-ZFCKUI2N.js} +10 -10
- package/dist/issue-triage-IVYGGNB4.js +17 -0
- package/dist/{learning-persistence-7O5QYDM7.js → learning-persistence-7N5SZHNX.js} +3 -3
- package/dist/{pr-reviewer-helpers-KBOP72XG.js → pr-reviewer-helpers-TS2HJMZR.js} +6 -6
- package/dist/{registry-command-ZK4NQ2MX.js → registry-command-M6LXKNEY.js} +7 -7
- package/dist/{repo-analyze-UJOWFGNM.js → repo-analyze-DI65XOTQ.js} +2 -2
- package/dist/{repo-security-plan-SZU4O2TN.js → repo-security-plan-LS5GCASE.js} +6 -6
- package/dist/research-helpers-synthesize-NQMSFDMD.js +14 -0
- package/dist/{routing-memory-2SMMUPTB.js → routing-memory-BBHAEJUL.js} +4 -4
- package/dist/{session-memory-YQQVPLKM.js → session-memory-GYIEP7MM.js} +5 -5
- package/dist/setup-config-YIQ7ZZT3.js +11 -0
- package/dist/{setup-custom-api-ZSBUIJID.js → setup-custom-api-CHISHJZV.js} +7 -7
- package/dist/setup-data-dir-KQKFLBKQ.js +29 -0
- package/dist/tool-memory-TGNVGKUT.js +22 -0
- package/dist/tool-memory-registry-adapters-35IPCJLV.js +12 -0
- package/dist/unified-registry-D4QCQ36Z.js +26 -0
- package/dist/{weather-report-6AVPMHHM.js → weather-report-ZLQGZUDL.js} +4 -4
- package/package.json +4 -8
- package/dist/chunk-7U7HAYPB.js.map +0 -1
- package/dist/chunk-HA2MM4C2.js.map +0 -1
- package/dist/chunk-KSQSWEFH.js.map +0 -1
- package/dist/chunk-MNG6VKJP.js +0 -7
- package/dist/chunk-PDMWQ2NK.js.map +0 -1
- package/dist/chunk-UJPVBDYG.js.map +0 -1
- package/dist/chunk-Y742U2YM.js.map +0 -1
- package/dist/doctor-deep-6WHVRRVQ.js +0 -13
- package/dist/factory-3BZDQQYM.js +0 -25
- package/dist/factory-UFKRSADE.js +0 -15
- package/dist/issue-triage-2LNYGQRJ.js +0 -17
- package/dist/research-helpers-synthesize-QY3DDHTD.js +0 -14
- package/dist/setup-config-LMZE4IRV.js +0 -11
- package/dist/setup-data-dir-O2EABCPO.js +0 -29
- package/dist/tool-memory-GUPG2M25.js +0 -22
- package/dist/tool-memory-registry-adapters-IMRSOAAV.js +0 -12
- package/dist/unified-registry-RPT4O3XB.js +0 -26
- package/scripts/postinstall.js +0 -12
- /package/dist/{child-mcp-config-ORXLS5HP.js.map → child-mcp-config-V2ESGPZ4.js.map} +0 -0
- /package/dist/{chunk-RBF64DXJ.js.map → chunk-2S7Q7GHX.js.map} +0 -0
- /package/dist/{chunk-6E2M3P5A.js.map → chunk-3GMYW66U.js.map} +0 -0
- /package/dist/{chunk-4OW67KT2.js.map → chunk-4HXPNLZS.js.map} +0 -0
- /package/dist/{chunk-W4Q5NZYZ.js.map → chunk-4QHAMZLU.js.map} +0 -0
- /package/dist/{chunk-RSMG2DPB.js.map → chunk-64GMIUM5.js.map} +0 -0
- /package/dist/{chunk-RLBJTZHA.js.map → chunk-AHTOZ2UR.js.map} +0 -0
- /package/dist/{chunk-JNZ3D5B5.js.map → chunk-AL5E5T3O.js.map} +0 -0
- /package/dist/{chunk-3CGUPSBW.js.map → chunk-BKAUGBSF.js.map} +0 -0
- /package/dist/{chunk-XREG2HTQ.js.map → chunk-BSWLRSOG.js.map} +0 -0
- /package/dist/{chunk-JJT7NVNY.js.map → chunk-CHU7NTUR.js.map} +0 -0
- /package/dist/{chunk-UVO673OY.js.map → chunk-DBDXS7PE.js.map} +0 -0
- /package/dist/{chunk-LVYRGNOC.js.map → chunk-DWUF5YWG.js.map} +0 -0
- /package/dist/{chunk-VVXHIUFQ.js.map → chunk-EGWPONTU.js.map} +0 -0
- /package/dist/{chunk-SS5FADQN.js.map → chunk-EXAULYXZ.js.map} +0 -0
- /package/dist/{chunk-K2AWJGQO.js.map → chunk-FSY2TYFX.js.map} +0 -0
- /package/dist/{chunk-6GYTTWNM.js.map → chunk-FVHUWXM2.js.map} +0 -0
- /package/dist/{chunk-ZGEDIKAM.js.map → chunk-FW2FBZBD.js.map} +0 -0
- /package/dist/{chunk-ZD4VEHEG.js.map → chunk-H6BUSSTF.js.map} +0 -0
- /package/dist/{chunk-D6TL5GZV.js.map → chunk-HKKLVWRO.js.map} +0 -0
- /package/dist/{chunk-GBHJ37V3.js.map → chunk-ITCKXMOH.js.map} +0 -0
- /package/dist/{chunk-KJWD2V4K.js.map → chunk-JFE3JT5Q.js.map} +0 -0
- /package/dist/{chunk-MNG6VKJP.js.map → chunk-KRG23W3T.js.map} +0 -0
- /package/dist/{chunk-33FI7W3G.js.map → chunk-L2PDPA23.js.map} +0 -0
- /package/dist/{chunk-XZEYSIGG.js.map → chunk-LOKTE5WE.js.map} +0 -0
- /package/dist/{chunk-JEAKVUWM.js.map → chunk-M6E5E7QV.js.map} +0 -0
- /package/dist/{chunk-OGHEKPLD.js.map → chunk-MM223CVS.js.map} +0 -0
- /package/dist/{chunk-6Q3KSZVI.js.map → chunk-MWS56UFF.js.map} +0 -0
- /package/dist/{chunk-S2Z7CME3.js.map → chunk-PXJ6CB5V.js.map} +0 -0
- /package/dist/{chunk-Y5GYBP52.js.map → chunk-QTDUIXOJ.js.map} +0 -0
- /package/dist/{chunk-QAHGHWC7.js.map → chunk-WIJ5J7AH.js.map} +0 -0
- /package/dist/{chunk-BTWKDT4F.js.map → chunk-YJ7Q2NHE.js.map} +0 -0
- /package/dist/{chunk-IWTK6FDT.js.map → chunk-ZTPBXWA7.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-5FYJDS5O.js.map → cli-circuit-breaker-YFHX4FN2.js.map} +0 -0
- /package/dist/{codebase-search-RHBGEWXK.js.map → codebase-search-3D4TW3KR.js.map} +0 -0
- /package/dist/{composite-router-GE24MYPP.js.map → composite-router-224FZMI2.js.map} +0 -0
- /package/dist/{consensus-vote-355WNDBN.js.map → consensus-vote-57SKG3EN.js.map} +0 -0
- /package/dist/{context-retriever-3OO6N4V6.js.map → context-retriever-CCVDD7TO.js.map} +0 -0
- /package/dist/{dist-IKZ53APZ.js.map → dist-JK32DFHT.js.map} +0 -0
- /package/dist/{doctor-deep-6WHVRRVQ.js.map → doctor-deep-37II5V7H.js.map} +0 -0
- /package/dist/{doctor-live-J7JIZH3T.js.map → doctor-live-VXQOZW37.js.map} +0 -0
- /package/dist/{expert-bridge-PWRVRFDG.js.map → expert-bridge-7LGHU7IL.js.map} +0 -0
- /package/dist/{factory-3BZDQQYM.js.map → factory-5URERSHK.js.map} +0 -0
- /package/dist/{factory-UFKRSADE.js.map → factory-SF6ZPN6D.js.map} +0 -0
- /package/dist/{improvement-review-PO4LS6GO.js.map → improvement-review-2AFBFUQX.js.map} +0 -0
- /package/dist/{init-opencode-GDPE4U65.js.map → init-opencode-ZFCKUI2N.js.map} +0 -0
- /package/dist/{issue-triage-2LNYGQRJ.js.map → issue-triage-IVYGGNB4.js.map} +0 -0
- /package/dist/{learning-persistence-7O5QYDM7.js.map → learning-persistence-7N5SZHNX.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-KBOP72XG.js.map → pr-reviewer-helpers-TS2HJMZR.js.map} +0 -0
- /package/dist/{registry-command-ZK4NQ2MX.js.map → registry-command-M6LXKNEY.js.map} +0 -0
- /package/dist/{repo-analyze-UJOWFGNM.js.map → repo-analyze-DI65XOTQ.js.map} +0 -0
- /package/dist/{repo-security-plan-SZU4O2TN.js.map → repo-security-plan-LS5GCASE.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-QY3DDHTD.js.map → research-helpers-synthesize-NQMSFDMD.js.map} +0 -0
- /package/dist/{routing-memory-2SMMUPTB.js.map → routing-memory-BBHAEJUL.js.map} +0 -0
- /package/dist/{session-memory-YQQVPLKM.js.map → session-memory-GYIEP7MM.js.map} +0 -0
- /package/dist/{setup-config-LMZE4IRV.js.map → setup-config-YIQ7ZZT3.js.map} +0 -0
- /package/dist/{setup-custom-api-ZSBUIJID.js.map → setup-custom-api-CHISHJZV.js.map} +0 -0
- /package/dist/{setup-data-dir-O2EABCPO.js.map → setup-data-dir-KQKFLBKQ.js.map} +0 -0
- /package/dist/{tool-memory-GUPG2M25.js.map → tool-memory-TGNVGKUT.js.map} +0 -0
- /package/dist/{tool-memory-registry-adapters-IMRSOAAV.js.map → tool-memory-registry-adapters-35IPCJLV.js.map} +0 -0
- /package/dist/{unified-registry-RPT4O3XB.js.map → unified-registry-D4QCQ36Z.js.map} +0 -0
- /package/dist/{weather-report-6AVPMHHM.js.map → weather-report-ZLQGZUDL.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail,
|
|
3
3
|
priceBasisOf
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2S7Q7GHX.js";
|
|
5
5
|
import {
|
|
6
6
|
allOf
|
|
7
7
|
} from "./chunk-OQB3XC5O.js";
|
|
@@ -23,22 +23,22 @@ import {
|
|
|
23
23
|
toolSuccessStructured,
|
|
24
24
|
withProgressHeartbeat,
|
|
25
25
|
wrapToolWithTimeout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-OYWFWMLH.js";
|
|
27
27
|
import {
|
|
28
28
|
assessPanelIndependence,
|
|
29
29
|
countDistinctModels,
|
|
30
30
|
createEvent,
|
|
31
31
|
getGlobalRegistry
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-HKKLVWRO.js";
|
|
33
33
|
import {
|
|
34
34
|
getToolMemory
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-R4B4UJ6F.js";
|
|
36
36
|
import {
|
|
37
37
|
authRemediation,
|
|
38
38
|
delay,
|
|
39
39
|
getAvailableClis,
|
|
40
40
|
withTimeout
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-YJ7Q2NHE.js";
|
|
42
42
|
import {
|
|
43
43
|
AgentError,
|
|
44
44
|
CLI_NAMES,
|
|
@@ -67,16 +67,16 @@ import {
|
|
|
67
67
|
registerPersistentOutcomeStoreFactory,
|
|
68
68
|
resolveClassGuardMs,
|
|
69
69
|
resolveVoteTimeout
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-J7SPTP2E.js";
|
|
71
71
|
import {
|
|
72
72
|
ensureLearningDir,
|
|
73
73
|
getOutcomesFile
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-ITCKXMOH.js";
|
|
75
75
|
import {
|
|
76
76
|
getNexusDataDir,
|
|
77
77
|
nexusDataPath,
|
|
78
78
|
nexusDataPathEnsure
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-MM223CVS.js";
|
|
80
80
|
|
|
81
81
|
// src/mcp/tools/consensus-vote.ts
|
|
82
82
|
import { z as z10 } from "zod";
|
|
@@ -4264,7 +4264,7 @@ function createCorrelationTracker(config) {
|
|
|
4264
4264
|
}
|
|
4265
4265
|
|
|
4266
4266
|
// src/consensus/correlation-persistence.ts
|
|
4267
|
-
import * as fs from "fs";
|
|
4267
|
+
import * as fs from "node:fs";
|
|
4268
4268
|
import { z as z5 } from "zod";
|
|
4269
4269
|
var logger5 = createLogger({ component: "correlation-persistence" });
|
|
4270
4270
|
var VOTING_SUBDIR = "voting";
|
|
@@ -4810,11 +4810,11 @@ function applyErrorPolicy(votes, policy) {
|
|
|
4810
4810
|
}
|
|
4811
4811
|
|
|
4812
4812
|
// src/audit/vote-record-store.ts
|
|
4813
|
-
import { appendFileSync as appendFileSync2, existsSync as existsSync2, mkdirSync as mkdirSync2, readFileSync as readFileSync2 } from "fs";
|
|
4814
|
-
import { dirname, isAbsolute, relative, resolve, sep } from "path";
|
|
4813
|
+
import { appendFileSync as appendFileSync2, existsSync as existsSync2, mkdirSync as mkdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
4814
|
+
import { dirname, isAbsolute, relative, resolve, sep } from "node:path";
|
|
4815
4815
|
|
|
4816
4816
|
// src/audit/vote-record.ts
|
|
4817
|
-
import * as crypto from "crypto";
|
|
4817
|
+
import * as crypto from "node:crypto";
|
|
4818
4818
|
import { z as z7 } from "zod";
|
|
4819
4819
|
var VoteRecordDecisionSchema = z7.enum(["approved", "rejected", "no_quorum"]);
|
|
4820
4820
|
var VoteRecordOptionCoverageSchema = z7.object({
|
|
@@ -5160,7 +5160,7 @@ function parseVoteRecordsText(text) {
|
|
|
5160
5160
|
}
|
|
5161
5161
|
|
|
5162
5162
|
// src/orchestration/outcomes/outcome-store-persistence.ts
|
|
5163
|
-
import { appendFileSync as appendFileSync3, readFileSync as readFileSync3, writeFileSync as writeFileSync2, existsSync as existsSync3 } from "fs";
|
|
5163
|
+
import { appendFileSync as appendFileSync3, readFileSync as readFileSync3, writeFileSync as writeFileSync2, existsSync as existsSync3 } from "node:fs";
|
|
5164
5164
|
var PersistentOutcomeStore = class extends OutcomeStore {
|
|
5165
5165
|
filePath;
|
|
5166
5166
|
logger;
|
|
@@ -5545,7 +5545,7 @@ function warnOnce(toolName, logger10) {
|
|
|
5545
5545
|
}
|
|
5546
5546
|
|
|
5547
5547
|
// src/mcp/jobs/job-result-store.ts
|
|
5548
|
-
import { existsSync as existsSync4, readFileSync as readFileSync4, readdirSync, writeFileSync as writeFileSync3, chmodSync } from "fs";
|
|
5548
|
+
import { existsSync as existsSync4, readFileSync as readFileSync4, readdirSync, writeFileSync as writeFileSync3, chmodSync } from "node:fs";
|
|
5549
5549
|
import { z as z8 } from "zod";
|
|
5550
5550
|
var logger7 = createLogger({ component: "job-result-store" });
|
|
5551
5551
|
var JobStatusSchema = z8.enum(["pending", "complete", "failed", "cancelled"]);
|
|
@@ -5746,8 +5746,8 @@ function unregisterJobAbort(jobId) {
|
|
|
5746
5746
|
}
|
|
5747
5747
|
|
|
5748
5748
|
// src/mcp/jobs/job-idempotency.ts
|
|
5749
|
-
import { createHash as createHash2, randomUUID } from "crypto";
|
|
5750
|
-
import { existsSync as existsSync5, readFileSync as readFileSync5, writeFileSync as writeFileSync4 } from "fs";
|
|
5749
|
+
import { createHash as createHash2, randomUUID } from "node:crypto";
|
|
5750
|
+
import { existsSync as existsSync5, readFileSync as readFileSync5, writeFileSync as writeFileSync4 } from "node:fs";
|
|
5751
5751
|
import { z as z9 } from "zod";
|
|
5752
5752
|
var logger8 = createLogger({ component: "job-idempotency" });
|
|
5753
5753
|
var IdempotencyIndexEntrySchema = z9.object({
|
|
@@ -6111,7 +6111,7 @@ async function runJobInBackground(jobId, params) {
|
|
|
6111
6111
|
}
|
|
6112
6112
|
|
|
6113
6113
|
// src/mcp/tools/consensus-vote.ts
|
|
6114
|
-
import { randomUUID as randomUUID2 } from "crypto";
|
|
6114
|
+
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
6115
6115
|
var persistentCorrelationTracker;
|
|
6116
6116
|
function getOrCreateCorrelationTracker() {
|
|
6117
6117
|
persistentCorrelationTracker ??= createPersistentCorrelationTracker();
|
|
@@ -6314,7 +6314,7 @@ function logPartialProposal(bounded, log) {
|
|
|
6314
6314
|
}
|
|
6315
6315
|
async function runContrarianCheck(proposal, log) {
|
|
6316
6316
|
try {
|
|
6317
|
-
const { executeExpert } = await import("./expert-bridge-
|
|
6317
|
+
const { executeExpert } = await import("./expert-bridge-7LGHU7IL.js");
|
|
6318
6318
|
const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
|
|
6319
6319
|
logPartialProposal(bounded, log);
|
|
6320
6320
|
const result = await executeExpert("architecture", buildContrarianPrompt(bounded));
|
|
@@ -6892,4 +6892,4 @@ export {
|
|
|
6892
6892
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
6893
6893
|
registerConsensusVoteTool
|
|
6894
6894
|
};
|
|
6895
|
-
//# sourceMappingURL=chunk-
|
|
6895
|
+
//# sourceMappingURL=chunk-EXAULYXZ.js.map
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
getErrorMessage,
|
|
6
6
|
ok,
|
|
7
7
|
parseBoolEnv
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-J7SPTP2E.js";
|
|
9
9
|
|
|
10
10
|
// src/cli/research-helpers-io.ts
|
|
11
|
-
import * as fs2 from "fs/promises";
|
|
12
|
-
import { join, resolve as resolve3 } from "path";
|
|
11
|
+
import * as fs2 from "node:fs/promises";
|
|
12
|
+
import { join, resolve as resolve3 } from "node:path";
|
|
13
13
|
|
|
14
14
|
// src/security/safe-path.ts
|
|
15
|
-
import { resolve, sep } from "path";
|
|
15
|
+
import { resolve, sep } from "node:path";
|
|
16
16
|
function resolveInsideRoot(filePath, root = process.cwd()) {
|
|
17
17
|
const resolvedRoot = resolve(root);
|
|
18
18
|
const resolved = resolve(resolvedRoot, filePath);
|
|
@@ -25,9 +25,9 @@ function resolveInsideRoot(filePath, root = process.cwd()) {
|
|
|
25
25
|
import { parse as parseYaml, stringify as stringifyYaml2 } from "yaml";
|
|
26
26
|
|
|
27
27
|
// src/cli/research-scaffold.ts
|
|
28
|
-
import * as fs from "fs/promises";
|
|
29
|
-
import { existsSync } from "fs";
|
|
30
|
-
import { dirname, resolve as resolve2 } from "path";
|
|
28
|
+
import * as fs from "node:fs/promises";
|
|
29
|
+
import { existsSync } from "node:fs";
|
|
30
|
+
import { dirname, resolve as resolve2 } from "node:path";
|
|
31
31
|
import { stringify as stringifyYaml } from "yaml";
|
|
32
32
|
var SCHEMA_VERSION = "1.0";
|
|
33
33
|
var ANNOUNCED = /* @__PURE__ */ new Set();
|
|
@@ -156,4 +156,4 @@ export {
|
|
|
156
156
|
loadPapersRegistry,
|
|
157
157
|
savePapersRegistry
|
|
158
158
|
};
|
|
159
|
-
//# sourceMappingURL=chunk-
|
|
159
|
+
//# sourceMappingURL=chunk-FSY2TYFX.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
MODEL_IDS,
|
|
4
4
|
getTimeProvider,
|
|
5
5
|
resolveModelIdentitySync
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-J7SPTP2E.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-FVHUWXM2.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
createLogger,
|
|
4
4
|
err,
|
|
5
5
|
ok
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-J7SPTP2E.js";
|
|
7
7
|
|
|
8
8
|
// src/adapters/sdk/types.ts
|
|
9
9
|
var PROVIDER_ENV_KEYS = {
|
|
@@ -16,8 +16,8 @@ var CUSTOM_API_BASE_URL_ENV = "NEXUS_CUSTOM_API_BASE_URL";
|
|
|
16
16
|
var CUSTOM_API_ALLOW_PRIVATE_ENV = "NEXUS_CUSTOM_API_ALLOW_PRIVATE";
|
|
17
17
|
|
|
18
18
|
// src/adapters/sdk/custom-api-validation.ts
|
|
19
|
-
import { isIPv4, isIPv6 } from "net";
|
|
20
|
-
import { lookup as dnsLookup } from "dns/promises";
|
|
19
|
+
import { isIPv4, isIPv6 } from "node:net";
|
|
20
|
+
import { lookup as dnsLookup } from "node:dns/promises";
|
|
21
21
|
var logger = createLogger({ module: "custom-api-validation" });
|
|
22
22
|
function validateCustomApiBaseUrl(raw, opts = {}) {
|
|
23
23
|
if (raw === void 0 || raw.trim() === "") {
|
|
@@ -260,4 +260,4 @@ export {
|
|
|
260
260
|
validateCustomApiBaseUrl,
|
|
261
261
|
assertCustomApiHostResolvesPublic
|
|
262
262
|
};
|
|
263
|
-
//# sourceMappingURL=chunk-
|
|
263
|
+
//# sourceMappingURL=chunk-FW2FBZBD.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
createGetRetryConfig,
|
|
12
12
|
createGetTimeout,
|
|
13
13
|
createGetToolRateLimit
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-J7SPTP2E.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-H6BUSSTF.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAutoAdapter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YJ7Q2NHE.js";
|
|
4
4
|
import {
|
|
5
5
|
getDefaultCliCircuitBreakerRegistry,
|
|
6
6
|
mapModelErrorToCategory
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PXJ6CB5V.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-J7SPTP2E.js";
|
|
28
28
|
|
|
29
29
|
// src/config/model-equivalence.ts
|
|
30
30
|
function canonicalModelKey(modelId) {
|
|
@@ -56,7 +56,7 @@ function assessPanelIndependence(modelIds) {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
// src/agents/collaboration/event-bus-helpers.ts
|
|
59
|
-
import { randomUUID } from "crypto";
|
|
59
|
+
import { randomUUID } from "node:crypto";
|
|
60
60
|
var DEFAULT_MAX_HISTORY_SIZE = 1e3;
|
|
61
61
|
var MAX_SUBSCRIPTIONS = 500;
|
|
62
62
|
var MAX_TOPIC_PATTERN_LENGTH = 200;
|
|
@@ -904,4 +904,4 @@ export {
|
|
|
904
904
|
getGlobalRegistry,
|
|
905
905
|
resetGlobalRegistry
|
|
906
906
|
};
|
|
907
|
-
//# sourceMappingURL=chunk-
|
|
907
|
+
//# sourceMappingURL=chunk-HKKLVWRO.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getNexusDataDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MM223CVS.js";
|
|
4
4
|
|
|
5
5
|
// src/config/learning-persistence.ts
|
|
6
|
-
import { mkdirSync } from "fs";
|
|
7
|
-
import { join } from "path";
|
|
6
|
+
import { mkdirSync } from "node:fs";
|
|
7
|
+
import { join } from "node:path";
|
|
8
8
|
function getLearningDir() {
|
|
9
9
|
return join(getNexusDataDir(), "learning");
|
|
10
10
|
}
|
|
@@ -45,4 +45,4 @@ export {
|
|
|
45
45
|
isPersistenceEnabled,
|
|
46
46
|
ensureLearningDir
|
|
47
47
|
};
|
|
48
|
-
//# sourceMappingURL=chunk-
|
|
48
|
+
//# sourceMappingURL=chunk-ITCKXMOH.js.map
|