nexus-agents 8.9.2 → 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-BEUFFQWL.js → ast-rule-runner-S5KGVU4S.js} +3 -3
- package/dist/{child-mcp-config-QFPSL7Y2.js → child-mcp-config-ISYCXDSN.js} +2 -2
- package/dist/{chunk-WKYDGROH.js → chunk-247L25JT.js} +2 -2
- package/dist/{chunk-BTPPGHG3.js → chunk-2PU6JF77.js} +4 -4
- package/dist/{chunk-I3J7WUMV.js → chunk-3DNUX26F.js} +2 -2
- package/dist/{chunk-JLCOIDJJ.js → chunk-3WB3DLXA.js} +9 -9
- package/dist/{chunk-MZUUIMRQ.js → chunk-3WDD4JRX.js} +5 -5
- package/dist/{chunk-AOBIUJX5.js → chunk-4WRUZUIR.js} +3 -6
- package/dist/chunk-4WRUZUIR.js.map +1 -0
- package/dist/{chunk-S2B4UBHK.js → chunk-5A3OLT7R.js} +5 -5
- package/dist/{chunk-D3TZZO6L.js → chunk-6OJHAKZX.js} +2 -2
- package/dist/{chunk-36BA6D6J.js → chunk-763L2RGR.js} +2 -2
- package/dist/chunk-7EEWG75D.js +7 -0
- package/dist/{chunk-K2GDWPVK.js → chunk-A6P5DVI3.js} +2 -2
- package/dist/{chunk-6VGKI5QE.js → chunk-AEWE2PHQ.js} +7 -7
- package/dist/{chunk-FPHFCZ2E.js → chunk-E5JJ44JB.js} +6 -6
- package/dist/{chunk-I4TQ5VQ7.js → chunk-ED4HM436.js} +3 -3
- package/dist/{chunk-VQRXDFVF.js → chunk-F53DPBFY.js} +2 -2
- package/dist/{chunk-SGOBMAZK.js → chunk-FFOZNBAP.js} +51 -8
- package/dist/chunk-FFOZNBAP.js.map +1 -0
- package/dist/{chunk-4GSFZS6M.js → chunk-H52IALUH.js} +7 -7
- package/dist/{chunk-CMQO6WEQ.js → chunk-JYCG7H5K.js} +2 -2
- package/dist/{chunk-M33EQB7P.js → chunk-K2TH7QAO.js} +2 -2
- package/dist/{chunk-PCPQ75EC.js → chunk-L2ENAWJN.js} +4 -4
- package/dist/{chunk-MJHNCHJI.js → chunk-L72BBGGT.js} +4 -4
- package/dist/{chunk-FDZ3SLMV.js → chunk-LIE34LYJ.js} +2 -2
- package/dist/{chunk-UXCE2OBL.js → chunk-PHUEK7RS.js} +3 -3
- package/dist/{chunk-2RZWKIDU.js → chunk-PP3NS73G.js} +2 -2
- package/dist/{chunk-OJSG734P.js → chunk-QQ3B6ORL.js} +8 -8
- package/dist/{chunk-WFZARRYN.js → chunk-R4VUFXDT.js} +3 -3
- package/dist/{chunk-DLVIES6W.js → chunk-T2GT6AEZ.js} +2 -2
- package/dist/{chunk-FOYSPWOA.js → chunk-UKUPKCQT.js} +2 -2
- package/dist/{chunk-Q55JVMUD.js → chunk-VI3UO4NX.js} +2 -2
- package/dist/{chunk-V7PXKAZD.js → chunk-VLIY2RC7.js} +2 -2
- package/dist/{chunk-HQ2A4DGU.js → chunk-XG4PUNNB.js} +2 -2
- package/dist/{chunk-2ZOPJGMY.js → chunk-XGCW25K6.js} +2256 -2221
- package/dist/chunk-XGCW25K6.js.map +1 -0
- package/dist/{chunk-WANBZFP2.js → chunk-XX4XIEVH.js} +2 -2
- package/dist/{chunk-46YGVSBD.js → chunk-ZFTX3VFD.js} +2 -2
- package/dist/{cli-circuit-breaker-BOZNYIZE.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-NG7BLVVR.js → composite-router-CM5WAUZH.js} +2 -2
- package/dist/{consensus-vote-T6D4XVUA.js → consensus-vote-SB5MKVCD.js} +17 -17
- package/dist/{context-retriever-QKMSSV6W.js → context-retriever-OGJS6QKB.js} +8 -8
- package/dist/{doctor-deep-CPMR6TDF.js → doctor-deep-GPHJAX3O.js} +3 -3
- package/dist/{doctor-live-GWE5IA7D.js → doctor-live-RPQCEMAU.js} +9 -9
- package/dist/{expert-bridge-6WZ333NT.js → expert-bridge-UOHXF2KS.js} +4 -4
- package/dist/{factory-73WKMDVR.js → factory-RSMVL5PC.js} +9 -9
- package/dist/{factory-2DD2YGBU.js → factory-ZLPQJI7R.js} +5 -5
- package/dist/{improvement-review-TGACR3DL.js → improvement-review-WMXKRZP3.js} +6 -6
- package/dist/index.d.ts +36 -3
- package/dist/index.js +32 -32
- package/dist/index.js.map +1 -1
- package/dist/{init-opencode-7PKVI3LD.js → init-opencode-XK6AIVWF.js} +6 -6
- package/dist/issue-triage-AAX6LWEN.js +17 -0
- package/dist/{pr-reviewer-helpers-7DSP3YTT.js → pr-reviewer-helpers-LIIHJVVY.js} +4 -4
- package/dist/{registry-command-YXFZ7LVE.js → registry-command-JBPDQJTG.js} +2 -2
- package/dist/{repo-security-plan-M36GODNF.js → repo-security-plan-HWBOFUGP.js} +3 -3
- package/dist/{research-helpers-synthesize-7CI4MFYP.js → research-helpers-synthesize-RHUOZSYA.js} +4 -4
- package/dist/{routing-memory-MIK3LGDH.js → routing-memory-ZA2VZBE6.js} +2 -2
- package/dist/{session-memory-T2X4BM33.js → session-memory-X3I7ERTQ.js} +3 -3
- package/dist/{setup-config-6JSBY6OG.js → setup-config-RBCLR7AW.js} +3 -3
- package/dist/{setup-custom-api-2OXG6ERI.js → setup-custom-api-5KKGFMOC.js} +4 -4
- package/dist/setup-data-dir-Z6DLT5LU.js +29 -0
- package/dist/{tool-memory-AL3RAR67.js → tool-memory-IZGWX73Y.js} +7 -5
- package/dist/{unified-registry-5YUSIEML.js → unified-registry-IT56R237.js} +10 -10
- package/dist/{weather-report-W34L4HW5.js → weather-report-PVQ6T3KZ.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-2ZOPJGMY.js.map +0 -1
- package/dist/chunk-AOBIUJX5.js.map +0 -1
- package/dist/chunk-DQ5FYBSF.js +0 -7
- package/dist/chunk-SGOBMAZK.js.map +0 -1
- package/dist/issue-triage-MLBUABPA.js +0 -17
- package/dist/setup-data-dir-KVIXN5DN.js +0 -29
- /package/dist/{ast-rule-runner-BEUFFQWL.js.map → ast-rule-runner-S5KGVU4S.js.map} +0 -0
- /package/dist/{child-mcp-config-QFPSL7Y2.js.map → child-mcp-config-ISYCXDSN.js.map} +0 -0
- /package/dist/{chunk-WKYDGROH.js.map → chunk-247L25JT.js.map} +0 -0
- /package/dist/{chunk-BTPPGHG3.js.map → chunk-2PU6JF77.js.map} +0 -0
- /package/dist/{chunk-I3J7WUMV.js.map → chunk-3DNUX26F.js.map} +0 -0
- /package/dist/{chunk-JLCOIDJJ.js.map → chunk-3WB3DLXA.js.map} +0 -0
- /package/dist/{chunk-MZUUIMRQ.js.map → chunk-3WDD4JRX.js.map} +0 -0
- /package/dist/{chunk-S2B4UBHK.js.map → chunk-5A3OLT7R.js.map} +0 -0
- /package/dist/{chunk-D3TZZO6L.js.map → chunk-6OJHAKZX.js.map} +0 -0
- /package/dist/{chunk-36BA6D6J.js.map → chunk-763L2RGR.js.map} +0 -0
- /package/dist/{chunk-DQ5FYBSF.js.map → chunk-7EEWG75D.js.map} +0 -0
- /package/dist/{chunk-K2GDWPVK.js.map → chunk-A6P5DVI3.js.map} +0 -0
- /package/dist/{chunk-6VGKI5QE.js.map → chunk-AEWE2PHQ.js.map} +0 -0
- /package/dist/{chunk-FPHFCZ2E.js.map → chunk-E5JJ44JB.js.map} +0 -0
- /package/dist/{chunk-I4TQ5VQ7.js.map → chunk-ED4HM436.js.map} +0 -0
- /package/dist/{chunk-VQRXDFVF.js.map → chunk-F53DPBFY.js.map} +0 -0
- /package/dist/{chunk-4GSFZS6M.js.map → chunk-H52IALUH.js.map} +0 -0
- /package/dist/{chunk-CMQO6WEQ.js.map → chunk-JYCG7H5K.js.map} +0 -0
- /package/dist/{chunk-M33EQB7P.js.map → chunk-K2TH7QAO.js.map} +0 -0
- /package/dist/{chunk-PCPQ75EC.js.map → chunk-L2ENAWJN.js.map} +0 -0
- /package/dist/{chunk-MJHNCHJI.js.map → chunk-L72BBGGT.js.map} +0 -0
- /package/dist/{chunk-FDZ3SLMV.js.map → chunk-LIE34LYJ.js.map} +0 -0
- /package/dist/{chunk-UXCE2OBL.js.map → chunk-PHUEK7RS.js.map} +0 -0
- /package/dist/{chunk-2RZWKIDU.js.map → chunk-PP3NS73G.js.map} +0 -0
- /package/dist/{chunk-OJSG734P.js.map → chunk-QQ3B6ORL.js.map} +0 -0
- /package/dist/{chunk-WFZARRYN.js.map → chunk-R4VUFXDT.js.map} +0 -0
- /package/dist/{chunk-DLVIES6W.js.map → chunk-T2GT6AEZ.js.map} +0 -0
- /package/dist/{chunk-FOYSPWOA.js.map → chunk-UKUPKCQT.js.map} +0 -0
- /package/dist/{chunk-Q55JVMUD.js.map → chunk-VI3UO4NX.js.map} +0 -0
- /package/dist/{chunk-V7PXKAZD.js.map → chunk-VLIY2RC7.js.map} +0 -0
- /package/dist/{chunk-HQ2A4DGU.js.map → chunk-XG4PUNNB.js.map} +0 -0
- /package/dist/{chunk-WANBZFP2.js.map → chunk-XX4XIEVH.js.map} +0 -0
- /package/dist/{chunk-46YGVSBD.js.map → chunk-ZFTX3VFD.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-BOZNYIZE.js.map → cli-circuit-breaker-LHZNVS74.js.map} +0 -0
- /package/dist/{composite-router-NG7BLVVR.js.map → composite-router-CM5WAUZH.js.map} +0 -0
- /package/dist/{consensus-vote-T6D4XVUA.js.map → consensus-vote-SB5MKVCD.js.map} +0 -0
- /package/dist/{context-retriever-QKMSSV6W.js.map → context-retriever-OGJS6QKB.js.map} +0 -0
- /package/dist/{doctor-deep-CPMR6TDF.js.map → doctor-deep-GPHJAX3O.js.map} +0 -0
- /package/dist/{doctor-live-GWE5IA7D.js.map → doctor-live-RPQCEMAU.js.map} +0 -0
- /package/dist/{expert-bridge-6WZ333NT.js.map → expert-bridge-UOHXF2KS.js.map} +0 -0
- /package/dist/{factory-2DD2YGBU.js.map → factory-RSMVL5PC.js.map} +0 -0
- /package/dist/{factory-73WKMDVR.js.map → factory-ZLPQJI7R.js.map} +0 -0
- /package/dist/{improvement-review-TGACR3DL.js.map → improvement-review-WMXKRZP3.js.map} +0 -0
- /package/dist/{init-opencode-7PKVI3LD.js.map → init-opencode-XK6AIVWF.js.map} +0 -0
- /package/dist/{issue-triage-MLBUABPA.js.map → issue-triage-AAX6LWEN.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-7DSP3YTT.js.map → pr-reviewer-helpers-LIIHJVVY.js.map} +0 -0
- /package/dist/{registry-command-YXFZ7LVE.js.map → registry-command-JBPDQJTG.js.map} +0 -0
- /package/dist/{repo-security-plan-M36GODNF.js.map → repo-security-plan-HWBOFUGP.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-7CI4MFYP.js.map → research-helpers-synthesize-RHUOZSYA.js.map} +0 -0
- /package/dist/{routing-memory-MIK3LGDH.js.map → routing-memory-ZA2VZBE6.js.map} +0 -0
- /package/dist/{session-memory-T2X4BM33.js.map → session-memory-X3I7ERTQ.js.map} +0 -0
- /package/dist/{setup-config-6JSBY6OG.js.map → setup-config-RBCLR7AW.js.map} +0 -0
- /package/dist/{setup-custom-api-2OXG6ERI.js.map → setup-custom-api-5KKGFMOC.js.map} +0 -0
- /package/dist/{setup-data-dir-KVIXN5DN.js.map → setup-data-dir-Z6DLT5LU.js.map} +0 -0
- /package/dist/{tool-memory-AL3RAR67.js.map → tool-memory-IZGWX73Y.js.map} +0 -0
- /package/dist/{unified-registry-5YUSIEML.js.map → unified-registry-IT56R237.js.map} +0 -0
- /package/dist/{weather-report-W34L4HW5.js.map → weather-report-PVQ6T3KZ.js.map} +0 -0
|
@@ -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
|