nexus-agents 8.42.9 → 8.42.11
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-HYXMWPF5.js → ast-rule-runner-BOHCGJFS.js} +3 -3
- package/dist/{child-mcp-config-EX5CQUGZ.js → child-mcp-config-WGA27P5Z.js} +2 -2
- package/dist/{chunk-QV34QDLQ.js → chunk-3HEVTPO4.js} +2 -2
- package/dist/{chunk-OB6ROUO3.js → chunk-3LIAXVMB.js} +3 -3
- package/dist/{chunk-KJDCFQ6X.js → chunk-3POMCSFH.js} +7 -7
- package/dist/{chunk-FNOH5QDN.js → chunk-4XTCKYTR.js} +2 -2
- package/dist/{chunk-ZQMB7ZUX.js → chunk-5ZKIRWNN.js} +17 -5
- package/dist/chunk-5ZKIRWNN.js.map +1 -0
- package/dist/{chunk-4TII45E4.js → chunk-AZ6KLPID.js} +4 -4
- package/dist/{chunk-YSWFDYTA.js → chunk-B6Z43TVS.js} +3 -3
- package/dist/{chunk-CPQESXT6.js → chunk-CHQRA33X.js} +2 -2
- package/dist/{chunk-NQXISQVW.js → chunk-CY753H4P.js} +2 -2
- package/dist/{chunk-FDSBPZV4.js → chunk-DN63HNKL.js} +2 -2
- package/dist/{chunk-TWPQ366B.js → chunk-E4DVW7L3.js} +2 -2
- package/dist/{chunk-JPE77J4Q.js → chunk-E5POBYIY.js} +4 -4
- package/dist/{chunk-AV74AYIL.js → chunk-EPX75GNG.js} +3 -3
- package/dist/{chunk-CNDTL5PN.js → chunk-F5M4MABK.js} +2 -2
- package/dist/{chunk-QDDJCQJH.js → chunk-FDZVCOIQ.js} +2 -2
- package/dist/{chunk-JXTNFZA4.js → chunk-FGBKWWIY.js} +2 -2
- package/dist/{chunk-ROXUQNXW.js → chunk-KDFMC55T.js} +2 -2
- package/dist/{chunk-7BVK5VU7.js → chunk-KTRMTNZX.js} +4 -4
- package/dist/{chunk-NGXVNTXT.js → chunk-LEY33SKP.js} +2 -2
- package/dist/{chunk-IVAWIOCS.js → chunk-OSFYUPOO.js} +40 -37
- package/dist/{chunk-IVAWIOCS.js.map → chunk-OSFYUPOO.js.map} +1 -1
- package/dist/{chunk-IE2TKC2U.js → chunk-P6OFYKRT.js} +2 -2
- package/dist/{chunk-URTZLB3Q.js → chunk-PAQLTAX4.js} +2 -2
- package/dist/{chunk-YJZCECQY.js → chunk-PG35556E.js} +2 -2
- package/dist/{chunk-HTSKUXUY.js → chunk-QNZ5KLKB.js} +7 -7
- package/dist/{chunk-F7SJ666A.js → chunk-QRQTZNBE.js} +3 -3
- package/dist/{chunk-QYB34SJZ.js → chunk-QWWLXXQ6.js} +30 -11
- package/dist/{chunk-QYB34SJZ.js.map → chunk-QWWLXXQ6.js.map} +1 -1
- package/dist/{chunk-VS4R3N7K.js → chunk-TBK4UCWL.js} +2 -2
- package/dist/{chunk-VS4R3N7K.js.map → chunk-TBK4UCWL.js.map} +1 -1
- package/dist/{chunk-TA7XMQ5E.js → chunk-TKUKPHPX.js} +8 -8
- package/dist/{chunk-44LS5IVI.js → chunk-TSCB7FGE.js} +5 -5
- package/dist/{chunk-BTLHHT7R.js → chunk-UC4HIW3U.js} +2 -2
- package/dist/{chunk-5NAEOFBG.js → chunk-WENN453S.js} +5 -5
- package/dist/{chunk-X4MHF6Z7.js → chunk-XZ47WD7T.js} +6 -6
- package/dist/{chunk-TR2BOCPD.js → chunk-YPY3SKVB.js} +2 -2
- package/dist/{chunk-PE5VFJHN.js → chunk-ZXUJ4IZ4.js} +2 -2
- package/dist/{cli-circuit-breaker-JD2ZKKFZ.js → cli-circuit-breaker-SSHQHWU5.js} +3 -3
- package/dist/cli.js +43 -43
- package/dist/{composite-router-NNGG6VWS.js → composite-router-HA2E7JZA.js} +2 -2
- package/dist/{consensus-vote-XNC7NRAJ.js → consensus-vote-OQ7DLCES.js} +17 -17
- package/dist/{context-retriever-7DLQMRCL.js → context-retriever-HEOEBL6B.js} +8 -8
- package/dist/{doctor-deep-4Y4HJTVI.js → doctor-deep-VQH5LSJM.js} +3 -3
- package/dist/{doctor-live-NSMFWL6O.js → doctor-live-B3GFHHQZ.js} +9 -9
- package/dist/{expert-bridge-5F5B2AUR.js → expert-bridge-2DIYRMB2.js} +4 -4
- package/dist/{factory-W4QLUZH5.js → factory-C66XGNEW.js} +5 -5
- package/dist/{factory-A6M7FIDG.js → factory-JHWFG6RN.js} +9 -9
- package/dist/{improvement-review-NNGKVIM6.js → improvement-review-PIVIB42D.js} +6 -6
- package/dist/index.js +31 -31
- package/dist/{init-opencode-PY27EYTQ.js → init-opencode-NYRABAU4.js} +6 -6
- package/dist/issue-triage-JZ4MDAHR.js +17 -0
- package/dist/{pr-reviewer-helpers-MJ5GES5Y.js → pr-reviewer-helpers-LHETFNEE.js} +4 -4
- package/dist/{registry-command-RJUP3M7I.js → registry-command-J4I45ROW.js} +2 -2
- package/dist/{repo-security-plan-NAGMNMTD.js → repo-security-plan-XIZB37ZY.js} +3 -3
- package/dist/{research-helpers-synthesize-B2VB2A6Y.js → research-helpers-synthesize-PWIDEIZ6.js} +4 -4
- package/dist/{routing-memory-7CY6NMIG.js → routing-memory-DMJYEGGI.js} +2 -2
- package/dist/{session-memory-JPOLLJUU.js → session-memory-QH65QG4V.js} +3 -3
- package/dist/{setup-config-4Y6GI3IN.js → setup-config-6BNUAUFO.js} +3 -3
- package/dist/{setup-custom-api-I3MCV2BS.js → setup-custom-api-GVTCQZQM.js} +4 -4
- package/dist/setup-data-dir-CMPXMXOQ.js +29 -0
- package/dist/{tool-memory-RO2H5LBC.js → tool-memory-HICOKETR.js} +5 -5
- package/dist/{unified-registry-RPQADIOX.js → unified-registry-LLDXH3WD.js} +10 -10
- package/dist/{weather-report-FQ4WI7VE.js → weather-report-NDFTFLCH.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-ZQMB7ZUX.js.map +0 -1
- package/dist/issue-triage-NJHK46X2.js +0 -17
- package/dist/setup-data-dir-CBRVDJSC.js +0 -29
- /package/dist/{ast-rule-runner-HYXMWPF5.js.map → ast-rule-runner-BOHCGJFS.js.map} +0 -0
- /package/dist/{child-mcp-config-EX5CQUGZ.js.map → child-mcp-config-WGA27P5Z.js.map} +0 -0
- /package/dist/{chunk-QV34QDLQ.js.map → chunk-3HEVTPO4.js.map} +0 -0
- /package/dist/{chunk-OB6ROUO3.js.map → chunk-3LIAXVMB.js.map} +0 -0
- /package/dist/{chunk-KJDCFQ6X.js.map → chunk-3POMCSFH.js.map} +0 -0
- /package/dist/{chunk-FNOH5QDN.js.map → chunk-4XTCKYTR.js.map} +0 -0
- /package/dist/{chunk-4TII45E4.js.map → chunk-AZ6KLPID.js.map} +0 -0
- /package/dist/{chunk-YSWFDYTA.js.map → chunk-B6Z43TVS.js.map} +0 -0
- /package/dist/{chunk-CPQESXT6.js.map → chunk-CHQRA33X.js.map} +0 -0
- /package/dist/{chunk-NQXISQVW.js.map → chunk-CY753H4P.js.map} +0 -0
- /package/dist/{chunk-FDSBPZV4.js.map → chunk-DN63HNKL.js.map} +0 -0
- /package/dist/{chunk-TWPQ366B.js.map → chunk-E4DVW7L3.js.map} +0 -0
- /package/dist/{chunk-JPE77J4Q.js.map → chunk-E5POBYIY.js.map} +0 -0
- /package/dist/{chunk-AV74AYIL.js.map → chunk-EPX75GNG.js.map} +0 -0
- /package/dist/{chunk-CNDTL5PN.js.map → chunk-F5M4MABK.js.map} +0 -0
- /package/dist/{chunk-QDDJCQJH.js.map → chunk-FDZVCOIQ.js.map} +0 -0
- /package/dist/{chunk-JXTNFZA4.js.map → chunk-FGBKWWIY.js.map} +0 -0
- /package/dist/{chunk-ROXUQNXW.js.map → chunk-KDFMC55T.js.map} +0 -0
- /package/dist/{chunk-7BVK5VU7.js.map → chunk-KTRMTNZX.js.map} +0 -0
- /package/dist/{chunk-NGXVNTXT.js.map → chunk-LEY33SKP.js.map} +0 -0
- /package/dist/{chunk-IE2TKC2U.js.map → chunk-P6OFYKRT.js.map} +0 -0
- /package/dist/{chunk-URTZLB3Q.js.map → chunk-PAQLTAX4.js.map} +0 -0
- /package/dist/{chunk-YJZCECQY.js.map → chunk-PG35556E.js.map} +0 -0
- /package/dist/{chunk-HTSKUXUY.js.map → chunk-QNZ5KLKB.js.map} +0 -0
- /package/dist/{chunk-F7SJ666A.js.map → chunk-QRQTZNBE.js.map} +0 -0
- /package/dist/{chunk-TA7XMQ5E.js.map → chunk-TKUKPHPX.js.map} +0 -0
- /package/dist/{chunk-44LS5IVI.js.map → chunk-TSCB7FGE.js.map} +0 -0
- /package/dist/{chunk-BTLHHT7R.js.map → chunk-UC4HIW3U.js.map} +0 -0
- /package/dist/{chunk-5NAEOFBG.js.map → chunk-WENN453S.js.map} +0 -0
- /package/dist/{chunk-X4MHF6Z7.js.map → chunk-XZ47WD7T.js.map} +0 -0
- /package/dist/{chunk-TR2BOCPD.js.map → chunk-YPY3SKVB.js.map} +0 -0
- /package/dist/{chunk-PE5VFJHN.js.map → chunk-ZXUJ4IZ4.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-JD2ZKKFZ.js.map → cli-circuit-breaker-SSHQHWU5.js.map} +0 -0
- /package/dist/{composite-router-NNGG6VWS.js.map → composite-router-HA2E7JZA.js.map} +0 -0
- /package/dist/{consensus-vote-XNC7NRAJ.js.map → consensus-vote-OQ7DLCES.js.map} +0 -0
- /package/dist/{context-retriever-7DLQMRCL.js.map → context-retriever-HEOEBL6B.js.map} +0 -0
- /package/dist/{doctor-deep-4Y4HJTVI.js.map → doctor-deep-VQH5LSJM.js.map} +0 -0
- /package/dist/{doctor-live-NSMFWL6O.js.map → doctor-live-B3GFHHQZ.js.map} +0 -0
- /package/dist/{expert-bridge-5F5B2AUR.js.map → expert-bridge-2DIYRMB2.js.map} +0 -0
- /package/dist/{factory-A6M7FIDG.js.map → factory-C66XGNEW.js.map} +0 -0
- /package/dist/{factory-W4QLUZH5.js.map → factory-JHWFG6RN.js.map} +0 -0
- /package/dist/{improvement-review-NNGKVIM6.js.map → improvement-review-PIVIB42D.js.map} +0 -0
- /package/dist/{init-opencode-PY27EYTQ.js.map → init-opencode-NYRABAU4.js.map} +0 -0
- /package/dist/{issue-triage-NJHK46X2.js.map → issue-triage-JZ4MDAHR.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-MJ5GES5Y.js.map → pr-reviewer-helpers-LHETFNEE.js.map} +0 -0
- /package/dist/{registry-command-RJUP3M7I.js.map → registry-command-J4I45ROW.js.map} +0 -0
- /package/dist/{repo-security-plan-NAGMNMTD.js.map → repo-security-plan-XIZB37ZY.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-B2VB2A6Y.js.map → research-helpers-synthesize-PWIDEIZ6.js.map} +0 -0
- /package/dist/{routing-memory-7CY6NMIG.js.map → routing-memory-DMJYEGGI.js.map} +0 -0
- /package/dist/{session-memory-JPOLLJUU.js.map → session-memory-QH65QG4V.js.map} +0 -0
- /package/dist/{setup-config-4Y6GI3IN.js.map → setup-config-6BNUAUFO.js.map} +0 -0
- /package/dist/{setup-custom-api-I3MCV2BS.js.map → setup-custom-api-GVTCQZQM.js.map} +0 -0
- /package/dist/{setup-data-dir-CBRVDJSC.js.map → setup-data-dir-CMPXMXOQ.js.map} +0 -0
- /package/dist/{tool-memory-RO2H5LBC.js.map → tool-memory-HICOKETR.js.map} +0 -0
- /package/dist/{unified-registry-RPQADIOX.js.map → unified-registry-LLDXH3WD.js.map} +0 -0
- /package/dist/{weather-report-FQ4WI7VE.js.map → weather-report-NDFTFLCH.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-KDFMC55T.js";
|
|
13
|
+
import "./chunk-EPX75GNG.js";
|
|
14
14
|
import "./chunk-3HELETAQ.js";
|
|
15
15
|
import "./chunk-JVNJJ2VL.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-BOHCGJFS.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-T5GVEXSA.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EPX75GNG.js";
|
|
7
7
|
import "./chunk-3HELETAQ.js";
|
|
8
8
|
import "./chunk-JVNJJ2VL.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-WGA27P5Z.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
TASK_CATEGORIES,
|
|
3
3
|
getAdaptiveBonus,
|
|
4
4
|
getOutcomeStore
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EPX75GNG.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-3HEVTPO4.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadPapersRegistry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CHQRA33X.js";
|
|
4
4
|
import {
|
|
5
5
|
getErrorMessage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EPX75GNG.js";
|
|
7
7
|
|
|
8
8
|
// src/cli/research-helpers-synthesize.ts
|
|
9
9
|
import { z } from "zod";
|
|
@@ -886,4 +886,4 @@ export {
|
|
|
886
886
|
AttributedInsightSchema,
|
|
887
887
|
synthesizeResearch
|
|
888
888
|
};
|
|
889
|
-
//# sourceMappingURL=chunk-
|
|
889
|
+
//# sourceMappingURL=chunk-3LIAXVMB.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readOpenAICompatEnv
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WENN453S.js";
|
|
4
4
|
import {
|
|
5
5
|
allOf
|
|
6
6
|
} from "./chunk-OQB3XC5O.js";
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
NODE_ENGINE_RANGE,
|
|
9
9
|
VERSION,
|
|
10
10
|
isNodeVersionSupported
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TBK4UCWL.js";
|
|
12
12
|
import {
|
|
13
13
|
capitalize
|
|
14
14
|
} from "./chunk-7LP6VJRP.js";
|
|
15
15
|
import {
|
|
16
16
|
createAllAdapters,
|
|
17
17
|
probeCli
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TKUKPHPX.js";
|
|
19
19
|
import {
|
|
20
20
|
getNexusTmpDir
|
|
21
21
|
} from "./chunk-T5GVEXSA.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
ok,
|
|
31
31
|
symbols,
|
|
32
32
|
writeLine
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-EPX75GNG.js";
|
|
34
34
|
import {
|
|
35
35
|
getLearningDir,
|
|
36
36
|
getOutcomesFile,
|
|
@@ -1228,13 +1228,13 @@ async function runDoctorFix(result) {
|
|
|
1228
1228
|
writeLine2("\u2500".repeat(40));
|
|
1229
1229
|
let fixCount = 0;
|
|
1230
1230
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1231
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1231
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-CMPXMXOQ.js");
|
|
1232
1232
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1233
1233
|
writeLine2(outcome.line);
|
|
1234
1234
|
if (outcome.counted) fixCount++;
|
|
1235
1235
|
}
|
|
1236
1236
|
if (!result.configFile.found) {
|
|
1237
|
-
const { runConfigInitSync } = await import("./setup-config-
|
|
1237
|
+
const { runConfigInitSync } = await import("./setup-config-6BNUAUFO.js");
|
|
1238
1238
|
const configResult = runConfigInitSync(process.cwd(), false, false);
|
|
1239
1239
|
if (configResult.success && configResult.created) {
|
|
1240
1240
|
writeLine2(`\u2713 Generated config: ${configResult.path}`);
|
|
@@ -1330,4 +1330,4 @@ export {
|
|
|
1330
1330
|
startStdioServer,
|
|
1331
1331
|
closeServer
|
|
1332
1332
|
};
|
|
1333
|
-
//# sourceMappingURL=chunk-
|
|
1333
|
+
//# sourceMappingURL=chunk-3POMCSFH.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getTimeProvider,
|
|
9
9
|
isRateLimitText,
|
|
10
10
|
ok
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EPX75GNG.js";
|
|
12
12
|
|
|
13
13
|
// src/cli-adapters/circuit-breaker-types.ts
|
|
14
14
|
var CircuitErrorCode = {
|
|
@@ -541,4 +541,4 @@ export {
|
|
|
541
541
|
CliCircuitBreakerIntegration,
|
|
542
542
|
createCliCircuitBreakerIntegration
|
|
543
543
|
};
|
|
544
|
-
//# sourceMappingURL=chunk-
|
|
544
|
+
//# sourceMappingURL=chunk-4XTCKYTR.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-E4DVW7L3.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-UC4HIW3U.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-EPX75GNG.js";
|
|
33
33
|
import {
|
|
34
34
|
nexusDataPath
|
|
35
35
|
} from "./chunk-JVNJJ2VL.js";
|
|
@@ -5203,9 +5203,19 @@ var ToolMemoryManager = class {
|
|
|
5203
5203
|
/**
|
|
5204
5204
|
* Record a learning. Safe to call even if session inactive.
|
|
5205
5205
|
* High-confidence learnings are also stored as beliefs for structured retrieval.
|
|
5206
|
+
*
|
|
5207
|
+
* Returns whether the session store actually took it (#5889). It was `void`,
|
|
5208
|
+
* so `memory_write({ backend: 'session' })` had nothing to check and reported
|
|
5209
|
+
* `success: true` for a write that never landed — the one backend #4997
|
|
5210
|
+
* missed when it established that `memory_write` reports persistence, not
|
|
5211
|
+
* intent. The two failure modes were both already computed here and thrown
|
|
5212
|
+
* away: no active session (the early return), and a store that errored (the
|
|
5213
|
+
* debug log). Every other caller ignores the value, as before.
|
|
5206
5214
|
*/
|
|
5207
5215
|
recordLearning(learning) {
|
|
5208
|
-
if (!this.memory.isSessionActive())
|
|
5216
|
+
if (!this.memory.isSessionActive()) {
|
|
5217
|
+
return { persisted: false, reason: "No session in progress" };
|
|
5218
|
+
}
|
|
5209
5219
|
const result = this.memory.recordLearning(learning);
|
|
5210
5220
|
if (!result.ok) {
|
|
5211
5221
|
this.log.debug("Failed to record learning", { error: result.error.message });
|
|
@@ -5213,6 +5223,8 @@ var ToolMemoryManager = class {
|
|
|
5213
5223
|
if (learning.confidence >= 0.8) {
|
|
5214
5224
|
void this.retainBeliefFromLearning(learning);
|
|
5215
5225
|
}
|
|
5226
|
+
if (!result.ok) return { persisted: false, reason: result.error.message };
|
|
5227
|
+
return { persisted: true };
|
|
5216
5228
|
}
|
|
5217
5229
|
/**
|
|
5218
5230
|
* Record a structured belief (subject-predicate-object triple).
|
|
@@ -5813,4 +5825,4 @@ export {
|
|
|
5813
5825
|
reinitializeMemoryBackends,
|
|
5814
5826
|
ToolMemoryManager
|
|
5815
5827
|
};
|
|
5816
|
-
//# sourceMappingURL=chunk-
|
|
5828
|
+
//# sourceMappingURL=chunk-5ZKIRWNN.js.map
|