nexus-agents 8.9.3 → 8.9.4
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-TWZ2RW5M.js → ast-rule-runner-S5KGVU4S.js} +3 -3
- package/dist/{child-mcp-config-24J5URLG.js → child-mcp-config-ISYCXDSN.js} +2 -2
- package/dist/{chunk-CYQNTTB7.js → chunk-247L25JT.js} +2 -2
- package/dist/{chunk-TF7U7OH4.js → chunk-2PU6JF77.js} +4 -4
- package/dist/{chunk-PJ77YCAA.js → chunk-3DNUX26F.js} +2 -2
- package/dist/{chunk-KGGXT3DG.js → chunk-3WB3DLXA.js} +9 -9
- package/dist/{chunk-TXJLJKFL.js → chunk-3WDD4JRX.js} +5 -5
- package/dist/{chunk-3576CTEM.js → chunk-4WRUZUIR.js} +3 -3
- package/dist/{chunk-5IKSN5ST.js → chunk-5A3OLT7R.js} +5 -5
- package/dist/{chunk-7DYMRQGR.js → chunk-6OJHAKZX.js} +2 -2
- package/dist/{chunk-TJIERMYC.js → chunk-763L2RGR.js} +2 -2
- package/dist/chunk-7EEWG75D.js +7 -0
- package/dist/{chunk-OQLTEQOV.js → chunk-A6P5DVI3.js} +2 -2
- package/dist/{chunk-X7FVLNJI.js → chunk-AEWE2PHQ.js} +7 -7
- package/dist/{chunk-BXLIOFX4.js → chunk-E5JJ44JB.js} +6 -6
- package/dist/{chunk-47PHYHB6.js → chunk-ED4HM436.js} +3 -3
- package/dist/{chunk-RUP5N62O.js → chunk-F53DPBFY.js} +2 -2
- package/dist/{chunk-P7EBMC7O.js → chunk-FFOZNBAP.js} +51 -8
- package/dist/chunk-FFOZNBAP.js.map +1 -0
- package/dist/{chunk-EXNRO3SH.js → chunk-H52IALUH.js} +7 -7
- package/dist/{chunk-BYS7PWMU.js → chunk-JYCG7H5K.js} +2 -2
- package/dist/{chunk-MFSUNQB6.js → chunk-K2TH7QAO.js} +2 -2
- package/dist/{chunk-UNWIW57R.js → chunk-L2ENAWJN.js} +4 -4
- package/dist/{chunk-TQWV7OW4.js → chunk-L72BBGGT.js} +4 -4
- package/dist/{chunk-RTFZVC5U.js → chunk-LIE34LYJ.js} +2 -2
- package/dist/{chunk-YNCTXH4U.js → chunk-PHUEK7RS.js} +3 -3
- package/dist/{chunk-ZW4SNPGB.js → chunk-PP3NS73G.js} +2 -2
- package/dist/{chunk-UDWGQFXG.js → chunk-QQ3B6ORL.js} +8 -8
- package/dist/{chunk-PCCKBDLY.js → chunk-R4VUFXDT.js} +3 -3
- package/dist/{chunk-33GXJ3BD.js → chunk-T2GT6AEZ.js} +2 -2
- package/dist/{chunk-C4PEWJWB.js → chunk-UKUPKCQT.js} +2 -2
- package/dist/{chunk-TIGUKO3N.js → chunk-VI3UO4NX.js} +2 -2
- package/dist/{chunk-DU6P5JXZ.js → chunk-VLIY2RC7.js} +2 -2
- package/dist/{chunk-6XOAEDH5.js → chunk-XG4PUNNB.js} +2 -2
- package/dist/{chunk-PUZ2VWSR.js → chunk-XGCW25K6.js} +2249 -2213
- package/dist/chunk-XGCW25K6.js.map +1 -0
- package/dist/{chunk-CK6QMNTR.js → chunk-XX4XIEVH.js} +2 -2
- package/dist/{chunk-YVTDIMGU.js → chunk-ZFTX3VFD.js} +2 -2
- package/dist/{cli-circuit-breaker-DCMU3M3F.js → cli-circuit-breaker-LHZNVS74.js} +3 -3
- package/dist/cli.js +45 -43
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-ENJIHHN6.js → composite-router-CM5WAUZH.js} +2 -2
- package/dist/{consensus-vote-MLDCVB4P.js → consensus-vote-SB5MKVCD.js} +17 -17
- package/dist/{context-retriever-QAEAPXHX.js → context-retriever-OGJS6QKB.js} +8 -8
- package/dist/{doctor-deep-7YU3PZLB.js → doctor-deep-GPHJAX3O.js} +3 -3
- package/dist/{doctor-live-XNYLPFNW.js → doctor-live-RPQCEMAU.js} +9 -9
- package/dist/{expert-bridge-EAJYA4R4.js → expert-bridge-UOHXF2KS.js} +4 -4
- package/dist/{factory-2NU65DB7.js → factory-RSMVL5PC.js} +9 -9
- package/dist/{factory-4RVFKLVD.js → factory-ZLPQJI7R.js} +5 -5
- package/dist/{improvement-review-OYUKCJUY.js → improvement-review-WMXKRZP3.js} +6 -6
- package/dist/index.d.ts +13 -0
- package/dist/index.js +32 -32
- package/dist/{init-opencode-B3NWRL5O.js → init-opencode-XK6AIVWF.js} +6 -6
- package/dist/issue-triage-AAX6LWEN.js +17 -0
- package/dist/{pr-reviewer-helpers-MSYQIXLD.js → pr-reviewer-helpers-LIIHJVVY.js} +4 -4
- package/dist/{registry-command-2WZZXTMW.js → registry-command-JBPDQJTG.js} +2 -2
- package/dist/{repo-security-plan-IGHSJBWU.js → repo-security-plan-HWBOFUGP.js} +3 -3
- package/dist/{research-helpers-synthesize-SBC5IICO.js → research-helpers-synthesize-RHUOZSYA.js} +4 -4
- package/dist/{routing-memory-QT4QKYBO.js → routing-memory-ZA2VZBE6.js} +2 -2
- package/dist/{session-memory-ZKORURX2.js → session-memory-X3I7ERTQ.js} +3 -3
- package/dist/{setup-config-I4SN3N3W.js → setup-config-RBCLR7AW.js} +3 -3
- package/dist/{setup-custom-api-CO47LRSF.js → setup-custom-api-5KKGFMOC.js} +4 -4
- package/dist/setup-data-dir-Z6DLT5LU.js +29 -0
- package/dist/{tool-memory-RNBO7UH7.js → tool-memory-IZGWX73Y.js} +7 -5
- package/dist/{unified-registry-FVKBD7FZ.js → unified-registry-IT56R237.js} +10 -10
- package/dist/{weather-report-I62Q3K6O.js → weather-report-PVQ6T3KZ.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-P7EBMC7O.js.map +0 -1
- package/dist/chunk-PUZ2VWSR.js.map +0 -1
- package/dist/chunk-XPP6B5CS.js +0 -7
- package/dist/issue-triage-WL5OOXIM.js +0 -17
- package/dist/setup-data-dir-HDSIMOQU.js +0 -29
- /package/dist/{ast-rule-runner-TWZ2RW5M.js.map → ast-rule-runner-S5KGVU4S.js.map} +0 -0
- /package/dist/{child-mcp-config-24J5URLG.js.map → child-mcp-config-ISYCXDSN.js.map} +0 -0
- /package/dist/{chunk-CYQNTTB7.js.map → chunk-247L25JT.js.map} +0 -0
- /package/dist/{chunk-TF7U7OH4.js.map → chunk-2PU6JF77.js.map} +0 -0
- /package/dist/{chunk-PJ77YCAA.js.map → chunk-3DNUX26F.js.map} +0 -0
- /package/dist/{chunk-KGGXT3DG.js.map → chunk-3WB3DLXA.js.map} +0 -0
- /package/dist/{chunk-TXJLJKFL.js.map → chunk-3WDD4JRX.js.map} +0 -0
- /package/dist/{chunk-3576CTEM.js.map → chunk-4WRUZUIR.js.map} +0 -0
- /package/dist/{chunk-5IKSN5ST.js.map → chunk-5A3OLT7R.js.map} +0 -0
- /package/dist/{chunk-7DYMRQGR.js.map → chunk-6OJHAKZX.js.map} +0 -0
- /package/dist/{chunk-TJIERMYC.js.map → chunk-763L2RGR.js.map} +0 -0
- /package/dist/{chunk-XPP6B5CS.js.map → chunk-7EEWG75D.js.map} +0 -0
- /package/dist/{chunk-OQLTEQOV.js.map → chunk-A6P5DVI3.js.map} +0 -0
- /package/dist/{chunk-X7FVLNJI.js.map → chunk-AEWE2PHQ.js.map} +0 -0
- /package/dist/{chunk-BXLIOFX4.js.map → chunk-E5JJ44JB.js.map} +0 -0
- /package/dist/{chunk-47PHYHB6.js.map → chunk-ED4HM436.js.map} +0 -0
- /package/dist/{chunk-RUP5N62O.js.map → chunk-F53DPBFY.js.map} +0 -0
- /package/dist/{chunk-EXNRO3SH.js.map → chunk-H52IALUH.js.map} +0 -0
- /package/dist/{chunk-BYS7PWMU.js.map → chunk-JYCG7H5K.js.map} +0 -0
- /package/dist/{chunk-MFSUNQB6.js.map → chunk-K2TH7QAO.js.map} +0 -0
- /package/dist/{chunk-UNWIW57R.js.map → chunk-L2ENAWJN.js.map} +0 -0
- /package/dist/{chunk-TQWV7OW4.js.map → chunk-L72BBGGT.js.map} +0 -0
- /package/dist/{chunk-RTFZVC5U.js.map → chunk-LIE34LYJ.js.map} +0 -0
- /package/dist/{chunk-YNCTXH4U.js.map → chunk-PHUEK7RS.js.map} +0 -0
- /package/dist/{chunk-ZW4SNPGB.js.map → chunk-PP3NS73G.js.map} +0 -0
- /package/dist/{chunk-UDWGQFXG.js.map → chunk-QQ3B6ORL.js.map} +0 -0
- /package/dist/{chunk-PCCKBDLY.js.map → chunk-R4VUFXDT.js.map} +0 -0
- /package/dist/{chunk-33GXJ3BD.js.map → chunk-T2GT6AEZ.js.map} +0 -0
- /package/dist/{chunk-C4PEWJWB.js.map → chunk-UKUPKCQT.js.map} +0 -0
- /package/dist/{chunk-TIGUKO3N.js.map → chunk-VI3UO4NX.js.map} +0 -0
- /package/dist/{chunk-DU6P5JXZ.js.map → chunk-VLIY2RC7.js.map} +0 -0
- /package/dist/{chunk-6XOAEDH5.js.map → chunk-XG4PUNNB.js.map} +0 -0
- /package/dist/{chunk-CK6QMNTR.js.map → chunk-XX4XIEVH.js.map} +0 -0
- /package/dist/{chunk-YVTDIMGU.js.map → chunk-ZFTX3VFD.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-DCMU3M3F.js.map → cli-circuit-breaker-LHZNVS74.js.map} +0 -0
- /package/dist/{composite-router-ENJIHHN6.js.map → composite-router-CM5WAUZH.js.map} +0 -0
- /package/dist/{consensus-vote-MLDCVB4P.js.map → consensus-vote-SB5MKVCD.js.map} +0 -0
- /package/dist/{context-retriever-QAEAPXHX.js.map → context-retriever-OGJS6QKB.js.map} +0 -0
- /package/dist/{doctor-deep-7YU3PZLB.js.map → doctor-deep-GPHJAX3O.js.map} +0 -0
- /package/dist/{doctor-live-XNYLPFNW.js.map → doctor-live-RPQCEMAU.js.map} +0 -0
- /package/dist/{expert-bridge-EAJYA4R4.js.map → expert-bridge-UOHXF2KS.js.map} +0 -0
- /package/dist/{factory-2NU65DB7.js.map → factory-RSMVL5PC.js.map} +0 -0
- /package/dist/{factory-4RVFKLVD.js.map → factory-ZLPQJI7R.js.map} +0 -0
- /package/dist/{improvement-review-OYUKCJUY.js.map → improvement-review-WMXKRZP3.js.map} +0 -0
- /package/dist/{init-opencode-B3NWRL5O.js.map → init-opencode-XK6AIVWF.js.map} +0 -0
- /package/dist/{issue-triage-WL5OOXIM.js.map → issue-triage-AAX6LWEN.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-MSYQIXLD.js.map → pr-reviewer-helpers-LIIHJVVY.js.map} +0 -0
- /package/dist/{registry-command-2WZZXTMW.js.map → registry-command-JBPDQJTG.js.map} +0 -0
- /package/dist/{repo-security-plan-IGHSJBWU.js.map → repo-security-plan-HWBOFUGP.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-SBC5IICO.js.map → research-helpers-synthesize-RHUOZSYA.js.map} +0 -0
- /package/dist/{routing-memory-QT4QKYBO.js.map → routing-memory-ZA2VZBE6.js.map} +0 -0
- /package/dist/{session-memory-ZKORURX2.js.map → session-memory-X3I7ERTQ.js.map} +0 -0
- /package/dist/{setup-config-I4SN3N3W.js.map → setup-config-RBCLR7AW.js.map} +0 -0
- /package/dist/{setup-custom-api-CO47LRSF.js.map → setup-custom-api-5KKGFMOC.js.map} +0 -0
- /package/dist/{setup-data-dir-HDSIMOQU.js.map → setup-data-dir-Z6DLT5LU.js.map} +0 -0
- /package/dist/{tool-memory-RNBO7UH7.js.map → tool-memory-IZGWX73Y.js.map} +0 -0
- /package/dist/{unified-registry-FVKBD7FZ.js.map → unified-registry-IT56R237.js.map} +0 -0
- /package/dist/{weather-report-I62Q3K6O.js.map → weather-report-PVQ6T3KZ.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-LIE34LYJ.js";
|
|
13
|
+
import "./chunk-4WRUZUIR.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-S5KGVU4S.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-4WRUZUIR.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-ISYCXDSN.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
TASK_CATEGORIES,
|
|
3
3
|
getAdaptiveBonus,
|
|
4
4
|
getOutcomeStore
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4WRUZUIR.js";
|
|
6
6
|
|
|
7
7
|
// src/cli/doctor-deep.ts
|
|
8
8
|
var CLI_NAMES = ["claude", "gemini", "codex", "opencode"];
|
|
@@ -106,4 +106,4 @@ export {
|
|
|
106
106
|
runDeepDiagnostics,
|
|
107
107
|
formatDeepDiagnostics
|
|
108
108
|
};
|
|
109
|
-
//# sourceMappingURL=chunk-
|
|
109
|
+
//# sourceMappingURL=chunk-247L25JT.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAutoAdapter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QQ3B6ORL.js";
|
|
4
4
|
import {
|
|
5
5
|
getDefaultCliCircuitBreakerRegistry,
|
|
6
6
|
mapModelErrorToCategory
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PP3NS73G.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-4WRUZUIR.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-2PU6JF77.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
getErrorMessage,
|
|
7
7
|
ok,
|
|
8
8
|
parseBoolEnv
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4WRUZUIR.js";
|
|
10
10
|
import {
|
|
11
11
|
findRepoRoot,
|
|
12
12
|
getActiveWorkspaceRoot,
|
|
@@ -223,4 +223,4 @@ export {
|
|
|
223
223
|
loadPapersRegistry,
|
|
224
224
|
savePapersRegistry
|
|
225
225
|
};
|
|
226
|
-
//# sourceMappingURL=chunk-
|
|
226
|
+
//# sourceMappingURL=chunk-3DNUX26F.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail,
|
|
3
3
|
priceBasisOf
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XX4XIEVH.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-L72BBGGT.js";
|
|
27
27
|
import {
|
|
28
28
|
VERSION
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-7EEWG75D.js";
|
|
30
30
|
import {
|
|
31
31
|
assessPanelIndependence,
|
|
32
32
|
countDistinctModels,
|
|
33
33
|
createEvent,
|
|
34
34
|
getGlobalRegistry
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-2PU6JF77.js";
|
|
36
36
|
import {
|
|
37
37
|
getToolMemory
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-FFOZNBAP.js";
|
|
39
39
|
import {
|
|
40
40
|
authRemediation,
|
|
41
41
|
delay,
|
|
42
42
|
getAvailableClis,
|
|
43
43
|
withTimeout
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-QQ3B6ORL.js";
|
|
45
45
|
import {
|
|
46
46
|
AgentError,
|
|
47
47
|
CLI_NAMES,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
registerPersistentOutcomeStoreFactory,
|
|
71
71
|
resolveClassGuardMs,
|
|
72
72
|
resolveVoteTimeout
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-4WRUZUIR.js";
|
|
74
74
|
import {
|
|
75
75
|
ensureLearningDir,
|
|
76
76
|
getOutcomesFile
|
|
@@ -6388,7 +6388,7 @@ function logPartialProposal(bounded, log) {
|
|
|
6388
6388
|
}
|
|
6389
6389
|
async function runContrarianCheck(proposal, log) {
|
|
6390
6390
|
try {
|
|
6391
|
-
const { executeExpert } = await import("./expert-bridge-
|
|
6391
|
+
const { executeExpert } = await import("./expert-bridge-UOHXF2KS.js");
|
|
6392
6392
|
const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
|
|
6393
6393
|
logPartialProposal(bounded, log);
|
|
6394
6394
|
const result = await executeExpert("architecture", buildContrarianPrompt(bounded));
|
|
@@ -6972,4 +6972,4 @@ export {
|
|
|
6972
6972
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
6973
6973
|
registerConsensusVoteTool
|
|
6974
6974
|
};
|
|
6975
|
-
//# sourceMappingURL=chunk-
|
|
6975
|
+
//# sourceMappingURL=chunk-3WB3DLXA.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail,
|
|
3
3
|
recordUsageEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XX4XIEVH.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-F53DPBFY.js";
|
|
12
12
|
import {
|
|
13
13
|
assertCustomApiHostResolvesPublic
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-UKUPKCQT.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-4WRUZUIR.js";
|
|
26
26
|
|
|
27
27
|
// src/adapters/openai-types.ts
|
|
28
28
|
var OPENAI_MODELS = {
|
|
@@ -833,4 +833,4 @@ export {
|
|
|
833
833
|
discoverModels,
|
|
834
834
|
buildOpenAICompatAdapters
|
|
835
835
|
};
|
|
836
|
-
//# sourceMappingURL=chunk-
|
|
836
|
+
//# sourceMappingURL=chunk-3WDD4JRX.js.map
|
|
@@ -2650,7 +2650,7 @@ function setDefaultRegistry(registry) {
|
|
|
2650
2650
|
}
|
|
2651
2651
|
async function reloadDefaultRegistry() {
|
|
2652
2652
|
globalRegistry = buildDefaultRegistry();
|
|
2653
|
-
const { resetGlobalRegistry } = await import("./unified-registry-
|
|
2653
|
+
const { resetGlobalRegistry } = await import("./unified-registry-IT56R237.js");
|
|
2654
2654
|
resetGlobalRegistry();
|
|
2655
2655
|
return globalRegistry;
|
|
2656
2656
|
}
|
|
@@ -15370,7 +15370,7 @@ var CompositeRouter = class _CompositeRouter {
|
|
|
15370
15370
|
*/
|
|
15371
15371
|
async consultUnifiedContext(task) {
|
|
15372
15372
|
try {
|
|
15373
|
-
const { getContextForTask, inferTaskCategory } = await import("./context-retriever-
|
|
15373
|
+
const { getContextForTask, inferTaskCategory } = await import("./context-retriever-OGJS6QKB.js");
|
|
15374
15374
|
const ctx = await getContextForTask({
|
|
15375
15375
|
task: task.content,
|
|
15376
15376
|
category: inferTaskCategory(task.content),
|
|
@@ -17021,4 +17021,4 @@ export {
|
|
|
17021
17021
|
AgentCapability,
|
|
17022
17022
|
OrchestratorError
|
|
17023
17023
|
};
|
|
17024
|
-
//# sourceMappingURL=chunk-
|
|
17024
|
+
//# sourceMappingURL=chunk-4WRUZUIR.js.map
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
loadTechniquesRegistry,
|
|
6
6
|
resolveInsideRoot,
|
|
7
7
|
savePapersRegistry
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3DNUX26F.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveToken
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JYCG7H5K.js";
|
|
12
12
|
import {
|
|
13
13
|
getToolMemory
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FFOZNBAP.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-4WRUZUIR.js";
|
|
44
44
|
import {
|
|
45
45
|
ensureLearningDir,
|
|
46
46
|
getRulesFile
|
|
@@ -4165,4 +4165,4 @@ export {
|
|
|
4165
4165
|
DEFAULT_CONTEXT_BUDGET_TOKENS,
|
|
4166
4166
|
getContextPromptPrefix
|
|
4167
4167
|
};
|
|
4168
|
-
//# sourceMappingURL=chunk-
|
|
4168
|
+
//# sourceMappingURL=chunk-5A3OLT7R.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRandomProvider,
|
|
3
3
|
getTimeProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4WRUZUIR.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-6OJHAKZX.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
createGetRetryConfig,
|
|
12
12
|
createGetTimeout,
|
|
13
13
|
createGetToolRateLimit
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4WRUZUIR.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-763L2RGR.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getErrorMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4WRUZUIR.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-A6P5DVI3.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readOpenAICompatEnv
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3WDD4JRX.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-7EEWG75D.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-QQ3B6ORL.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-4WRUZUIR.js";
|
|
32
32
|
import {
|
|
33
33
|
getLearningDir,
|
|
34
34
|
getOutcomesFile,
|
|
@@ -1201,13 +1201,13 @@ async function runDoctorFix(result) {
|
|
|
1201
1201
|
writeLine2("\u2500".repeat(40));
|
|
1202
1202
|
let fixCount = 0;
|
|
1203
1203
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1204
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1204
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-Z6DLT5LU.js");
|
|
1205
1205
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1206
1206
|
writeLine2(outcome.line);
|
|
1207
1207
|
if (outcome.counted) fixCount++;
|
|
1208
1208
|
}
|
|
1209
1209
|
if (!result.configFile.found) {
|
|
1210
|
-
const { runConfigInitSync } = await import("./setup-config-
|
|
1210
|
+
const { runConfigInitSync } = await import("./setup-config-RBCLR7AW.js");
|
|
1211
1211
|
const configResult = runConfigInitSync(process.cwd(), false, false);
|
|
1212
1212
|
if (configResult.success && configResult.created) {
|
|
1213
1213
|
writeLine2(`\u2713 Generated config: ${configResult.path}`);
|
|
@@ -1303,4 +1303,4 @@ export {
|
|
|
1303
1303
|
startStdioServer,
|
|
1304
1304
|
closeServer
|
|
1305
1305
|
};
|
|
1306
|
-
//# sourceMappingURL=chunk-
|
|
1306
|
+
//# sourceMappingURL=chunk-AEWE2PHQ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VI3UO4NX.js";
|
|
5
5
|
import {
|
|
6
6
|
ROLE_DEFAULT_TRUST,
|
|
7
7
|
ReputationCache,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
resolveEnvMode,
|
|
13
13
|
resolveReputationGatingMode,
|
|
14
14
|
sanitizeInput
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-K2TH7QAO.js";
|
|
16
16
|
import {
|
|
17
17
|
MAX_STRIPPED_ELEMENTS_PER_EVENT,
|
|
18
18
|
createAuditTrail,
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
emitReputationEvent,
|
|
21
21
|
emitSanitizationEvent,
|
|
22
22
|
emitTrustEvent
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ZFTX3VFD.js";
|
|
24
24
|
import {
|
|
25
25
|
hasToken
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-JYCG7H5K.js";
|
|
27
27
|
import {
|
|
28
28
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
29
29
|
createLogger,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
getErrorMessage,
|
|
32
32
|
getTimeProvider,
|
|
33
33
|
ok
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-4WRUZUIR.js";
|
|
35
35
|
|
|
36
36
|
// src/security/firewall/firewall-policy-mode.ts
|
|
37
37
|
import { z } from "zod";
|
|
@@ -2091,4 +2091,4 @@ export {
|
|
|
2091
2091
|
IssueTriage,
|
|
2092
2092
|
createIssueTriage
|
|
2093
2093
|
};
|
|
2094
|
-
//# sourceMappingURL=chunk-
|
|
2094
|
+
//# sourceMappingURL=chunk-E5JJ44JB.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-L72BBGGT.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-4WRUZUIR.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-ED4HM436.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
lookupInTreeCapability,
|
|
14
14
|
ok,
|
|
15
15
|
resolveRetryAfterMs
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4WRUZUIR.js";
|
|
17
17
|
|
|
18
18
|
// src/config/model-parameter-support.ts
|
|
19
19
|
function parseClaudeMajorMinor(bareId) {
|
|
@@ -834,4 +834,4 @@ export {
|
|
|
834
834
|
DEFAULT_COLLECT_STREAM_MAX_CHUNKS,
|
|
835
835
|
collectStream
|
|
836
836
|
};
|
|
837
|
-
//# sourceMappingURL=chunk-
|
|
837
|
+
//# sourceMappingURL=chunk-F53DPBFY.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-T2GT6AEZ.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-6OJHAKZX.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-4WRUZUIR.js";
|
|
33
33
|
import {
|
|
34
34
|
nexusDataPath
|
|
35
35
|
} from "./chunk-J7QCZRVK.js";
|
|
@@ -4325,6 +4325,15 @@ var MemoryDecayManager = class {
|
|
|
4325
4325
|
this.log = logger7 ?? createLogger({ component: "MemoryDecayManager" });
|
|
4326
4326
|
this.tracker = new CrossReferenceTracker(this.log);
|
|
4327
4327
|
}
|
|
4328
|
+
/**
|
|
4329
|
+
* The effective configuration this manager runs with (defaults overlaid by
|
|
4330
|
+
* whatever the constructor received). #5097: the startup line in
|
|
4331
|
+
* tool-memory reads THIS, not the value it passed in, so the log reports
|
|
4332
|
+
* what the manager holds rather than what the caller believes it sent.
|
|
4333
|
+
*/
|
|
4334
|
+
getConfig() {
|
|
4335
|
+
return this.config;
|
|
4336
|
+
}
|
|
4328
4337
|
/**
|
|
4329
4338
|
* Initialize with memory system references.
|
|
4330
4339
|
*/
|
|
@@ -4696,6 +4705,15 @@ var TYPED_DB_PATH = path3.join(MEMORY_BASE, "typed.db");
|
|
|
4696
4705
|
var MOBIMEM_DB_PATH = path3.join(MEMORY_BASE, "mobimem.db");
|
|
4697
4706
|
var MARKDOWN_DIR = path3.join(MEMORY_BASE, "markdown");
|
|
4698
4707
|
var sharedInstance = null;
|
|
4708
|
+
var pendingOptions = {};
|
|
4709
|
+
var DECAY_SOURCE_NEVER_CONFIGURED = "defaults (configureToolMemory never called)";
|
|
4710
|
+
function definedDecayOverrides(input) {
|
|
4711
|
+
const out = {};
|
|
4712
|
+
for (const [key, value] of Object.entries(input)) {
|
|
4713
|
+
if (value !== void 0) out[key] = value;
|
|
4714
|
+
}
|
|
4715
|
+
return out;
|
|
4716
|
+
}
|
|
4699
4717
|
function attachToRegistry(domain, backend) {
|
|
4700
4718
|
try {
|
|
4701
4719
|
ensureSharedMemoryRegistry();
|
|
@@ -4704,15 +4722,28 @@ function attachToRegistry(domain, backend) {
|
|
|
4704
4722
|
}
|
|
4705
4723
|
}
|
|
4706
4724
|
function getToolMemory(logger7) {
|
|
4707
|
-
sharedInstance ??= new ToolMemoryManager(logger7);
|
|
4725
|
+
sharedInstance ??= new ToolMemoryManager(logger7, pendingOptions);
|
|
4708
4726
|
return sharedInstance;
|
|
4709
4727
|
}
|
|
4728
|
+
function configureToolMemory(options) {
|
|
4729
|
+
if (sharedInstance !== null) {
|
|
4730
|
+
const reason = "tool memory already constructed; decay config not applied";
|
|
4731
|
+
(options.logger ?? createLogger({ component: "ToolMemory" })).warn(
|
|
4732
|
+
"Tool memory already constructed; decay config not applied",
|
|
4733
|
+
{ decay: options.memoryConfig?.decay }
|
|
4734
|
+
);
|
|
4735
|
+
return { applied: false, reason };
|
|
4736
|
+
}
|
|
4737
|
+
pendingOptions = { decay: options.memoryConfig?.decay, decaySource: "config" };
|
|
4738
|
+
return { applied: true };
|
|
4739
|
+
}
|
|
4710
4740
|
function shutdownToolMemory() {
|
|
4711
4741
|
if (sharedInstance !== null) {
|
|
4712
4742
|
sharedInstance.shutdownDecay();
|
|
4713
4743
|
sharedInstance.endSession();
|
|
4714
4744
|
sharedInstance = null;
|
|
4715
4745
|
}
|
|
4746
|
+
pendingOptions = {};
|
|
4716
4747
|
}
|
|
4717
4748
|
async function reinitializeMemoryBackends() {
|
|
4718
4749
|
return getToolMemory().reinitializeSqliteBackends();
|
|
@@ -4728,9 +4759,13 @@ var ToolMemoryManager = class {
|
|
|
4728
4759
|
typedBackend = null;
|
|
4729
4760
|
mobimem = null;
|
|
4730
4761
|
decayManager = null;
|
|
4762
|
+
decayConfig;
|
|
4763
|
+
decaySource;
|
|
4731
4764
|
initPromise = null;
|
|
4732
|
-
constructor(logger7) {
|
|
4765
|
+
constructor(logger7, options = {}) {
|
|
4733
4766
|
this.log = logger7 ?? createLogger({ component: "ToolMemory" });
|
|
4767
|
+
this.decayConfig = definedDecayOverrides(options.decay ?? {});
|
|
4768
|
+
this.decaySource = options.decaySource ?? DECAY_SOURCE_NEVER_CONFIGURED;
|
|
4734
4769
|
this.memory = new SessionMemory({
|
|
4735
4770
|
memoryDir: DEFAULT_MEMORY_DIR,
|
|
4736
4771
|
logger: this.log
|
|
@@ -4928,9 +4963,13 @@ var ToolMemoryManager = class {
|
|
|
4928
4963
|
shutdownDecay() {
|
|
4929
4964
|
this.decayManager?.stopAutoDecay();
|
|
4930
4965
|
}
|
|
4966
|
+
/** Provenance of the decay config this instance was built with (#5097). */
|
|
4967
|
+
getDecayConfigSource() {
|
|
4968
|
+
return this.decaySource;
|
|
4969
|
+
}
|
|
4931
4970
|
initDecayManager() {
|
|
4932
4971
|
try {
|
|
4933
|
-
this.decayManager = new MemoryDecayManager(
|
|
4972
|
+
this.decayManager = new MemoryDecayManager(this.decayConfig, this.log);
|
|
4934
4973
|
this.decayManager.initialize({
|
|
4935
4974
|
beliefs: this.beliefs,
|
|
4936
4975
|
agentic: this.agentic,
|
|
@@ -4943,7 +4982,10 @@ var ToolMemoryManager = class {
|
|
|
4943
4982
|
error: getErrorMessage(error)
|
|
4944
4983
|
});
|
|
4945
4984
|
});
|
|
4946
|
-
this.log.info("MemoryDecayManager activated (Phase 5 #746)"
|
|
4985
|
+
this.log.info("MemoryDecayManager activated (Phase 5 #746)", {
|
|
4986
|
+
...this.decayManager.getConfig(),
|
|
4987
|
+
source: this.decaySource
|
|
4988
|
+
});
|
|
4947
4989
|
} catch (error) {
|
|
4948
4990
|
this.log.debug("MemoryDecayManager init failed", {
|
|
4949
4991
|
error: getErrorMessage(error)
|
|
@@ -5613,8 +5655,9 @@ export {
|
|
|
5613
5655
|
calculateTextJaccardSimilarity,
|
|
5614
5656
|
DEFAULT_RELEVANCE_CONFIG,
|
|
5615
5657
|
getToolMemory,
|
|
5658
|
+
configureToolMemory,
|
|
5616
5659
|
shutdownToolMemory,
|
|
5617
5660
|
reinitializeMemoryBackends,
|
|
5618
5661
|
ToolMemoryManager
|
|
5619
5662
|
};
|
|
5620
|
-
//# sourceMappingURL=chunk-
|
|
5663
|
+
//# sourceMappingURL=chunk-FFOZNBAP.js.map
|