@remnic/core 9.3.612 → 9.3.614
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/access-cli.js +58 -57
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.d.ts +4 -2
- package/dist/access-http.js +22 -22
- package/dist/access-mcp.d.ts +9 -2
- package/dist/access-mcp.js +19 -19
- package/dist/access-schema.d.ts +12 -12
- package/dist/access-schema.js +3 -3
- package/dist/{access-service-D2J9dh_9.d.ts → access-service-DGG_2xPK.d.ts} +1 -1
- package/dist/access-service.d.ts +2 -2
- package/dist/access-service.js +16 -16
- package/dist/active-recall.js +20 -3
- package/dist/active-recall.js.map +1 -1
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/behavior-learner.js +2 -3
- package/dist/behavior-learner.js.map +1 -1
- package/dist/bootstrap.d.ts +1 -1
- package/dist/briefing.js +3 -3
- package/dist/buffer.d.ts +1 -1
- package/dist/buffer.js +1 -1
- package/dist/calibration.d.ts +5 -2
- package/dist/calibration.js +7 -5
- package/dist/calibration.js.map +1 -1
- package/dist/{capsule-crypto-7FJQINUR.js → capsule-crypto-YO5QJ6L3.js} +2 -2
- package/dist/causal-consolidation.d.ts +8 -2
- package/dist/causal-consolidation.js +13 -11
- package/dist/causal-consolidation.js.map +1 -1
- package/dist/{chunk-3BP57I6J.js → chunk-2F6NP3NT.js} +2 -1
- package/dist/{chunk-3BP57I6J.js.map → chunk-2F6NP3NT.js.map} +1 -1
- package/dist/{chunk-AU7Q3LSC.js → chunk-2QSZNTDO.js} +4 -4
- package/dist/{chunk-HSVJGWYS.js → chunk-2ROPI5OE.js} +2 -2
- package/dist/{chunk-C4SQJZAF.js → chunk-2SGJY2UY.js} +6 -3
- package/dist/chunk-2SGJY2UY.js.map +1 -0
- package/dist/{chunk-ZDTVJXIP.js → chunk-3MAONBX3.js} +13 -5
- package/dist/chunk-3MAONBX3.js.map +1 -0
- package/dist/{chunk-G3Z3QEF5.js → chunk-3PY7VHV7.js} +2 -2
- package/dist/chunk-3PY7VHV7.js.map +1 -0
- package/dist/{chunk-CF3ZF2YU.js → chunk-3QSU4NFF.js} +3 -3
- package/dist/{chunk-AJA46VX5.js → chunk-3T74IZB3.js} +11 -2
- package/dist/chunk-3T74IZB3.js.map +1 -0
- package/dist/{chunk-KVEVLBKC.js → chunk-4HFJQCJZ.js} +13 -8
- package/dist/chunk-4HFJQCJZ.js.map +1 -0
- package/dist/{chunk-KGK2QKWL.js → chunk-4R4KTDIE.js} +1 -1
- package/dist/chunk-4R4KTDIE.js.map +1 -0
- package/dist/{chunk-OI27U2HT.js → chunk-5BTCT236.js} +2 -2
- package/dist/{chunk-CO7ZO4TU.js → chunk-5VDJMYTF.js} +2 -2
- package/dist/{chunk-BFBF3XEF.js → chunk-6BDVBBBY.js} +33 -25
- package/dist/{chunk-BFBF3XEF.js.map → chunk-6BDVBBBY.js.map} +1 -1
- package/dist/{chunk-EAZGEEG2.js → chunk-6L46YAEZ.js} +45 -9
- package/dist/chunk-6L46YAEZ.js.map +1 -0
- package/dist/{chunk-YFS5OEKO.js → chunk-7MLB4NCL.js} +2 -2
- package/dist/{chunk-IOTENEVL.js → chunk-7YQFWOF7.js} +57 -50
- package/dist/chunk-7YQFWOF7.js.map +1 -0
- package/dist/{chunk-2QANQKSQ.js → chunk-ADNZVFXG.js} +15 -15
- package/dist/{chunk-LZ3VEOU5.js → chunk-AL4RAJL5.js} +22 -5
- package/dist/chunk-AL4RAJL5.js.map +1 -0
- package/dist/{chunk-557IAFPD.js → chunk-APRRL26Q.js} +2 -2
- package/dist/{chunk-QDDHYAKV.js → chunk-AZDOWD2L.js} +2 -2
- package/dist/{chunk-TH67Q46T.js → chunk-B6FDZPCF.js} +17 -9
- package/dist/chunk-B6FDZPCF.js.map +1 -0
- package/dist/{chunk-MLT75J5S.js → chunk-B6SU7YSE.js} +3 -3
- package/dist/{chunk-FXKPZ3H6.js → chunk-BPSGLMQ4.js} +2 -2
- package/dist/{chunk-2NLLXCJG.js → chunk-BXLOS5AJ.js} +2 -2
- package/dist/{chunk-NOMEVTUD.js → chunk-C6C7XVKG.js} +5 -4
- package/dist/chunk-C6C7XVKG.js.map +1 -0
- package/dist/{chunk-XKIQZXUB.js → chunk-CI7RKSRE.js} +7 -1
- package/dist/chunk-CI7RKSRE.js.map +1 -0
- package/dist/{chunk-IK34DVAC.js → chunk-CIOMS6DI.js} +2 -2
- package/dist/{chunk-2I5JGH3M.js → chunk-CYEPCZN5.js} +2 -2
- package/dist/{chunk-2I5JGH3M.js.map → chunk-CYEPCZN5.js.map} +1 -1
- package/dist/{chunk-JHMFYY7L.js → chunk-DCGT4FPP.js} +13 -5
- package/dist/chunk-DCGT4FPP.js.map +1 -0
- package/dist/{chunk-7DZRO2DC.js → chunk-DEPRLVLK.js} +2 -2
- package/dist/{chunk-CSKLPDN6.js → chunk-DEVUWMME.js} +52 -19
- package/dist/chunk-DEVUWMME.js.map +1 -0
- package/dist/{chunk-DHGSZ3UD.js → chunk-DGNQRNLL.js} +2 -2
- package/dist/{chunk-X7Y7WX73.js → chunk-DQEMWVMT.js} +1 -1
- package/dist/chunk-FAV25DUZ.js +12 -0
- package/dist/chunk-FAV25DUZ.js.map +1 -0
- package/dist/{chunk-ETUPBUHB.js → chunk-GDASG7NC.js} +2 -2
- package/dist/{chunk-L227SKTB.js → chunk-GDB4J2H3.js} +17 -1
- package/dist/chunk-GDB4J2H3.js.map +1 -0
- package/dist/{chunk-IP73YCZP.js → chunk-GLPBYIXN.js} +4 -2
- package/dist/chunk-GLPBYIXN.js.map +1 -0
- package/dist/{chunk-4HP7HIE3.js → chunk-HP5FMB6L.js} +2 -2
- package/dist/{chunk-EVZFIAPG.js → chunk-IBTZEBUD.js} +23 -10
- package/dist/chunk-IBTZEBUD.js.map +1 -0
- package/dist/{chunk-DOX2CG6Y.js → chunk-IEUU7O4F.js} +2 -2
- package/dist/{chunk-JNANKJLN.js → chunk-JOASJWQR.js} +2 -2
- package/dist/chunk-JOASJWQR.js.map +1 -0
- package/dist/{chunk-WSGF57U2.js → chunk-JQDZQ4TB.js} +2 -2
- package/dist/{chunk-HINSGUA7.js → chunk-KBL3JJR6.js} +9 -13
- package/dist/chunk-KBL3JJR6.js.map +1 -0
- package/dist/{chunk-W7L6HXUC.js → chunk-LXOM6IQU.js} +2 -2
- package/dist/{chunk-G6R5UD3Q.js → chunk-MGN7VHWQ.js} +42 -1
- package/dist/{chunk-G6R5UD3Q.js.map → chunk-MGN7VHWQ.js.map} +1 -1
- package/dist/{chunk-DLJ4IR6M.js → chunk-MHQC2WU2.js} +2 -2
- package/dist/chunk-MHQC2WU2.js.map +1 -0
- package/dist/{chunk-6JGNHWCI.js → chunk-OBIRVF36.js} +3 -3
- package/dist/{chunk-CHCA44C3.js → chunk-ODPLEWB6.js} +3 -3
- package/dist/chunk-ODPLEWB6.js.map +1 -0
- package/dist/{chunk-HENLZHIT.js → chunk-OIF36KGD.js} +7 -4
- package/dist/chunk-OIF36KGD.js.map +1 -0
- package/dist/{chunk-GUPISBV2.js → chunk-PP2JH3GP.js} +2 -2
- package/dist/{chunk-OXJBNGBK.js → chunk-PSUB67YB.js} +2 -2
- package/dist/{chunk-UWY7GIVS.js → chunk-PYIFUBRK.js} +45 -13
- package/dist/chunk-PYIFUBRK.js.map +1 -0
- package/dist/{chunk-KIB7SDIJ.js → chunk-Q6YIJGXJ.js} +2 -2
- package/dist/{chunk-PPPZY2EU.js → chunk-QEMCQFDW.js} +2 -2
- package/dist/{chunk-ZT3EGNLR.js → chunk-QPD426WT.js} +2 -2
- package/dist/{chunk-RLV3PQGH.js → chunk-QVO4YOB7.js} +6 -6
- package/dist/{chunk-GMAG2HS4.js → chunk-RG3LBSGH.js} +46 -9
- package/dist/chunk-RG3LBSGH.js.map +1 -0
- package/dist/{chunk-XSWKORGM.js → chunk-S53OYO3F.js} +3 -1
- package/dist/chunk-S53OYO3F.js.map +1 -0
- package/dist/{chunk-YCN4BVDK.js → chunk-SCPFRKIT.js} +4 -2
- package/dist/chunk-SCPFRKIT.js.map +1 -0
- package/dist/{chunk-HJNQQICM.js → chunk-T5XWMMU2.js} +107 -50
- package/dist/chunk-T5XWMMU2.js.map +1 -0
- package/dist/{chunk-NZPF2SYV.js → chunk-T7N6KQGS.js} +138 -5
- package/dist/chunk-T7N6KQGS.js.map +1 -0
- package/dist/{chunk-VJXSUAO7.js → chunk-TNOWU6RP.js} +13 -10
- package/dist/chunk-TNOWU6RP.js.map +1 -0
- package/dist/{chunk-PCI747N2.js → chunk-TZVQQTG4.js} +48 -19
- package/dist/chunk-TZVQQTG4.js.map +1 -0
- package/dist/{chunk-KQAFEZQX.js → chunk-VDX2J7OX.js} +2 -2
- package/dist/{chunk-IK7DCC5H.js → chunk-VMGLYN42.js} +2 -2
- package/dist/{chunk-5RPTH6AU.js → chunk-VPGUMLBA.js} +8 -7
- package/dist/chunk-VPGUMLBA.js.map +1 -0
- package/dist/{chunk-KM2A35EO.js → chunk-WB3LYXC5.js} +11 -7
- package/dist/chunk-WB3LYXC5.js.map +1 -0
- package/dist/{chunk-NSKYFGDL.js → chunk-X4QQB7O6.js} +2 -2
- package/dist/{chunk-HPWVAEET.js → chunk-X6IRLNOO.js} +3 -7
- package/dist/chunk-X6IRLNOO.js.map +1 -0
- package/dist/{chunk-46GJIW5M.js → chunk-XAZOWLW4.js} +5 -5
- package/dist/{chunk-46GJIW5M.js.map → chunk-XAZOWLW4.js.map} +1 -1
- package/dist/{chunk-XPSVGJYA.js → chunk-YRMKDTKF.js} +12 -9
- package/dist/chunk-YRMKDTKF.js.map +1 -0
- package/dist/{chunk-6ZZP4EJF.js → chunk-ZJR7VG5L.js} +3 -3
- package/dist/{chunk-6ZZP4EJF.js.map → chunk-ZJR7VG5L.js.map} +1 -1
- package/dist/{cli-OrfKXNU4.d.ts → cli-DWeu7eTY.d.ts} +6 -2
- package/dist/cli.d.ts +3 -3
- package/dist/cli.js +60 -59
- package/dist/compounding/engine.js +3 -3
- package/dist/compounding/preference-consolidator.js +39 -11
- package/dist/compounding/preference-consolidator.js.map +1 -1
- package/dist/config.js +1 -1
- package/dist/connectors/codex-materialize-runner.js +3 -3
- package/dist/connectors/index.js +3 -3
- package/dist/consolidation-provenance-check.js +1 -1
- package/dist/contradiction/index.js +4 -4
- package/dist/conversation-index/backend.js +2 -2
- package/dist/conversation-index/indexer.js +1 -1
- package/dist/cross-namespace-budget.js +1 -1
- package/dist/enrichment/index.js +1 -1
- package/dist/entity-retrieval.js +3 -3
- package/dist/evals.js +1 -1
- package/dist/explicit-capture.d.ts +1 -1
- package/dist/extraction-judge.js +8 -1
- package/dist/extraction.js +2 -2
- package/dist/fallback-llm.d.ts +23 -6
- package/dist/fallback-llm.js +5 -3
- package/dist/{first-start-migration-GYJWIH36.js → first-start-migration-FF7YFGRP.js} +6 -6
- package/dist/index.d.ts +3 -3
- package/dist/index.js +94 -93
- package/dist/index.js.map +1 -1
- package/dist/lcm/archive.js +2 -2
- package/dist/lcm/engine.js +5 -5
- package/dist/lcm/index.js +7 -7
- package/dist/lcm/summarizer.js +3 -3
- package/dist/maintenance/memory-governance-cron.d.ts +6 -4
- package/dist/maintenance/memory-governance-cron.js +1 -1
- package/dist/maintenance/memory-governance.js +3 -3
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +3 -3
- package/dist/maintenance/rebuild-memory-projection.js +4 -4
- package/dist/mcp-memory-inspector-app.d.ts +2 -2
- package/dist/mcp-memory-inspector-app.js +1 -1
- package/dist/migrate/from-engram.js +1 -1
- package/dist/namespaces/migrate.js +16 -15
- package/dist/namespaces/search.js +12 -11
- package/dist/namespaces/storage.js +3 -3
- package/dist/network/webdav.d.ts +2 -0
- package/dist/network/webdav.js +1 -1
- package/dist/objective-state-writers.js +2 -2
- package/dist/operator-toolkit.d.ts +3 -1
- package/dist/operator-toolkit.js +21 -20
- package/dist/{orchestrator-DTRQG75J.d.ts → orchestrator-CqWOjfgl.d.ts} +46 -3
- package/dist/orchestrator.d.ts +1 -1
- package/dist/orchestrator.js +47 -44
- package/dist/patterns-cli.js +1 -1
- package/dist/qmd-recall-cache.d.ts +2 -0
- package/dist/qmd-recall-cache.js +1 -1
- package/dist/qmd.d.ts +37 -2
- package/dist/qmd.js +4 -1
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-planner-llm.d.ts +57 -0
- package/dist/recall-planner-llm.js +167 -0
- package/dist/recall-planner-llm.js.map +1 -0
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.js +2 -2
- package/dist/resume-bundles.js +2 -2
- package/dist/retrieval-agents.js +2 -2
- package/dist/routing/store.js +1 -1
- package/dist/search/factory.js +11 -10
- package/dist/search/index.js +11 -10
- package/dist/search/lancedb-backend.d.ts +1 -1
- package/dist/search/lancedb-backend.js +3 -2
- package/dist/search/meilisearch-backend.d.ts +1 -1
- package/dist/search/meilisearch-backend.js +3 -2
- package/dist/search/noop-backend.d.ts +1 -1
- package/dist/search/noop-backend.js +1 -1
- package/dist/search/orama-backend.d.ts +1 -1
- package/dist/search/orama-backend.js +3 -2
- package/dist/search/port.d.ts +6 -1
- package/dist/search/port.js +7 -0
- package/dist/search/remote-backend.d.ts +1 -1
- package/dist/search/remote-backend.js +1 -1
- package/dist/semantic-consolidation.js +4 -4
- package/dist/semantic-rule-promotion.js +3 -3
- package/dist/semantic-rule-verifier.js +3 -3
- package/dist/session-observer-state.js +1 -1
- package/dist/storage.js +2 -2
- package/dist/summarizer.js +2 -2
- package/dist/temporal-index.js +1 -1
- package/dist/{tier-stats-SKML2OSF.js → tier-stats-3LYQ3VV5.js} +3 -3
- package/dist/transfer/backup.js +2 -2
- package/dist/transfer/capsule-export.js +2 -2
- package/dist/transfer/capsule-import.js +2 -2
- package/dist/transfer/export-sqlite.js +1 -1
- package/dist/types.d.ts +32 -0
- package/dist/types.js +1 -1
- package/dist/utility-learner.js +1 -1
- package/dist/utility-runtime.js +2 -2
- package/dist/verified-recall.js +3 -3
- package/dist/work/board.js +2 -2
- package/dist/work/storage.d.ts +2 -0
- package/dist/work/storage.js +1 -1
- package/package.json +1 -1
- package/src/access-http.ts +3 -0
- package/src/access-mcp.test.ts +51 -0
- package/src/access-mcp.ts +26 -5
- package/src/active-recall.test.ts +40 -0
- package/src/active-recall.ts +19 -2
- package/src/behavior-learner.ts +5 -3
- package/src/buffer-session.test.ts +58 -0
- package/src/buffer-surprise-trigger.test.ts +4 -18
- package/src/buffer.ts +39 -11
- package/src/calibration.ts +10 -4
- package/src/causal-consolidation.test.ts +47 -2
- package/src/causal-consolidation.ts +13 -9
- package/src/cli.ts +19 -4
- package/src/compounding/engine.ts +2 -0
- package/src/compounding/preference-consolidator.test.ts +292 -0
- package/src/compounding/preference-consolidator.ts +55 -19
- package/src/config.test.ts +213 -0
- package/src/config.ts +175 -4
- package/src/connectors/codex-materialize-runner.ts +7 -4
- package/src/consolidation-provenance-check.ts +24 -5
- package/src/conversation-index/indexer.test.ts +22 -0
- package/src/conversation-index/indexer.ts +7 -3
- package/src/cross-namespace-budget.test.ts +44 -21
- package/src/cross-namespace-budget.ts +2 -2
- package/src/enrichment/pipeline.ts +11 -16
- package/src/evals.ts +1 -1
- package/src/extraction-judge-chain.test.ts +55 -0
- package/src/extraction-judge.ts +7 -9
- package/src/extraction.ts +16 -5
- package/src/fallback-llm.test.ts +600 -1
- package/src/fallback-llm.ts +91 -22
- package/src/maintenance/memory-governance-cron.ts +39 -29
- package/src/mcp-memory-inspector-app.ts +54 -12
- package/src/message-parts/index.ts +6 -0
- package/src/message-parts/message-parts.test.ts +30 -0
- package/src/migrate/from-engram.ts +19 -5
- package/src/namespaces/search.test.ts +15 -2
- package/src/namespaces/search.ts +1 -1
- package/src/network/webdav.ts +61 -21
- package/src/operator-toolkit.ts +6 -2
- package/src/orchestrator.ts +173 -20
- package/src/qmd-client.test.ts +85 -0
- package/src/qmd-recall-cache.test.ts +16 -0
- package/src/qmd-recall-cache.ts +7 -0
- package/src/qmd.test.ts +54 -0
- package/src/qmd.ts +119 -19
- package/src/recall-planner-llm.test.ts +224 -0
- package/src/recall-planner-llm.ts +289 -0
- package/src/routing/store.ts +4 -8
- package/src/search/factory.ts +3 -0
- package/src/search/lancedb-backend.ts +15 -3
- package/src/search/meilisearch-backend.ts +70 -7
- package/src/search/noop-backend.ts +5 -1
- package/src/search/orama-backend.ts +15 -3
- package/src/search/port.ts +15 -0
- package/src/search/remote-backend.ts +5 -1
- package/src/session-observer-state.ts +1 -1
- package/src/summarizer.ts +3 -3
- package/src/temporal-index.test.ts +18 -0
- package/src/temporal-index.ts +45 -0
- package/src/training-export/cli-date-validation.test.ts +36 -0
- package/src/training-export/date-parse.ts +21 -2
- package/src/transfer/export-sqlite.ts +3 -0
- package/src/types.ts +35 -0
- package/src/utility-learner.ts +1 -0
- package/src/work/storage.ts +23 -0
- package/dist/chunk-5RPTH6AU.js.map +0 -1
- package/dist/chunk-AJA46VX5.js.map +0 -1
- package/dist/chunk-C4SQJZAF.js.map +0 -1
- package/dist/chunk-CHCA44C3.js.map +0 -1
- package/dist/chunk-CSKLPDN6.js.map +0 -1
- package/dist/chunk-DLJ4IR6M.js.map +0 -1
- package/dist/chunk-EAZGEEG2.js.map +0 -1
- package/dist/chunk-EVZFIAPG.js.map +0 -1
- package/dist/chunk-G3Z3QEF5.js.map +0 -1
- package/dist/chunk-GMAG2HS4.js.map +0 -1
- package/dist/chunk-HENLZHIT.js.map +0 -1
- package/dist/chunk-HINSGUA7.js.map +0 -1
- package/dist/chunk-HJNQQICM.js.map +0 -1
- package/dist/chunk-HPWVAEET.js.map +0 -1
- package/dist/chunk-IOTENEVL.js.map +0 -1
- package/dist/chunk-IP73YCZP.js.map +0 -1
- package/dist/chunk-JHMFYY7L.js.map +0 -1
- package/dist/chunk-JNANKJLN.js.map +0 -1
- package/dist/chunk-KGK2QKWL.js.map +0 -1
- package/dist/chunk-KM2A35EO.js.map +0 -1
- package/dist/chunk-KVEVLBKC.js.map +0 -1
- package/dist/chunk-L227SKTB.js.map +0 -1
- package/dist/chunk-LZ3VEOU5.js.map +0 -1
- package/dist/chunk-NOMEVTUD.js.map +0 -1
- package/dist/chunk-NZPF2SYV.js.map +0 -1
- package/dist/chunk-PCI747N2.js.map +0 -1
- package/dist/chunk-TH67Q46T.js.map +0 -1
- package/dist/chunk-UWY7GIVS.js.map +0 -1
- package/dist/chunk-VJXSUAO7.js.map +0 -1
- package/dist/chunk-XKIQZXUB.js.map +0 -1
- package/dist/chunk-XPSVGJYA.js.map +0 -1
- package/dist/chunk-XSWKORGM.js.map +0 -1
- package/dist/chunk-YCN4BVDK.js.map +0 -1
- package/dist/chunk-ZDTVJXIP.js.map +0 -1
- /package/dist/{capsule-crypto-7FJQINUR.js.map → capsule-crypto-YO5QJ6L3.js.map} +0 -0
- /package/dist/{chunk-AU7Q3LSC.js.map → chunk-2QSZNTDO.js.map} +0 -0
- /package/dist/{chunk-HSVJGWYS.js.map → chunk-2ROPI5OE.js.map} +0 -0
- /package/dist/{chunk-CF3ZF2YU.js.map → chunk-3QSU4NFF.js.map} +0 -0
- /package/dist/{chunk-OI27U2HT.js.map → chunk-5BTCT236.js.map} +0 -0
- /package/dist/{chunk-CO7ZO4TU.js.map → chunk-5VDJMYTF.js.map} +0 -0
- /package/dist/{chunk-YFS5OEKO.js.map → chunk-7MLB4NCL.js.map} +0 -0
- /package/dist/{chunk-2QANQKSQ.js.map → chunk-ADNZVFXG.js.map} +0 -0
- /package/dist/{chunk-557IAFPD.js.map → chunk-APRRL26Q.js.map} +0 -0
- /package/dist/{chunk-QDDHYAKV.js.map → chunk-AZDOWD2L.js.map} +0 -0
- /package/dist/{chunk-MLT75J5S.js.map → chunk-B6SU7YSE.js.map} +0 -0
- /package/dist/{chunk-FXKPZ3H6.js.map → chunk-BPSGLMQ4.js.map} +0 -0
- /package/dist/{chunk-2NLLXCJG.js.map → chunk-BXLOS5AJ.js.map} +0 -0
- /package/dist/{chunk-IK34DVAC.js.map → chunk-CIOMS6DI.js.map} +0 -0
- /package/dist/{chunk-7DZRO2DC.js.map → chunk-DEPRLVLK.js.map} +0 -0
- /package/dist/{chunk-DHGSZ3UD.js.map → chunk-DGNQRNLL.js.map} +0 -0
- /package/dist/{chunk-X7Y7WX73.js.map → chunk-DQEMWVMT.js.map} +0 -0
- /package/dist/{chunk-ETUPBUHB.js.map → chunk-GDASG7NC.js.map} +0 -0
- /package/dist/{chunk-4HP7HIE3.js.map → chunk-HP5FMB6L.js.map} +0 -0
- /package/dist/{chunk-DOX2CG6Y.js.map → chunk-IEUU7O4F.js.map} +0 -0
- /package/dist/{chunk-WSGF57U2.js.map → chunk-JQDZQ4TB.js.map} +0 -0
- /package/dist/{chunk-W7L6HXUC.js.map → chunk-LXOM6IQU.js.map} +0 -0
- /package/dist/{chunk-6JGNHWCI.js.map → chunk-OBIRVF36.js.map} +0 -0
- /package/dist/{chunk-GUPISBV2.js.map → chunk-PP2JH3GP.js.map} +0 -0
- /package/dist/{chunk-OXJBNGBK.js.map → chunk-PSUB67YB.js.map} +0 -0
- /package/dist/{chunk-KIB7SDIJ.js.map → chunk-Q6YIJGXJ.js.map} +0 -0
- /package/dist/{chunk-PPPZY2EU.js.map → chunk-QEMCQFDW.js.map} +0 -0
- /package/dist/{chunk-ZT3EGNLR.js.map → chunk-QPD426WT.js.map} +0 -0
- /package/dist/{chunk-RLV3PQGH.js.map → chunk-QVO4YOB7.js.map} +0 -0
- /package/dist/{chunk-KQAFEZQX.js.map → chunk-VDX2J7OX.js.map} +0 -0
- /package/dist/{chunk-IK7DCC5H.js.map → chunk-VMGLYN42.js.map} +0 -0
- /package/dist/{chunk-NSKYFGDL.js.map → chunk-X4QQB7O6.js.map} +0 -0
- /package/dist/{first-start-migration-GYJWIH36.js.map → first-start-migration-FF7YFGRP.js.map} +0 -0
- /package/dist/{tier-stats-SKML2OSF.js.map → tier-stats-3LYQ3VV5.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrateFromEngram
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4HFJQCJZ.js";
|
|
4
4
|
import {
|
|
5
5
|
ensureContradictionScanCron,
|
|
6
6
|
ensureDaySummaryCron,
|
|
@@ -9,28 +9,31 @@ import {
|
|
|
9
9
|
ensurePatternReinforcementCron,
|
|
10
10
|
ensureProceduralMiningCron,
|
|
11
11
|
graphEdgeDecayCadenceToCronExpr
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6BDVBBBY.js";
|
|
13
13
|
import {
|
|
14
14
|
LcmEngine
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QVO4YOB7.js";
|
|
16
|
+
import {
|
|
17
|
+
chunkTranscriptEntries
|
|
18
|
+
} from "./chunk-TECVW3JP.js";
|
|
16
19
|
import {
|
|
17
20
|
cleanupConversationChunks
|
|
18
21
|
} from "./chunk-T2PO5MUF.js";
|
|
19
22
|
import {
|
|
20
23
|
CompoundingEngine,
|
|
21
24
|
defaultTierMigrationCycleBudget
|
|
22
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-GLPBYIXN.js";
|
|
23
26
|
import {
|
|
24
27
|
SharedContextManager
|
|
25
28
|
} from "./chunk-DRD2Q7HQ.js";
|
|
26
|
-
import {
|
|
27
|
-
chunkTranscriptEntries
|
|
28
|
-
} from "./chunk-TECVW3JP.js";
|
|
29
29
|
import {
|
|
30
30
|
applyUtilityPromotionRuntimePolicy,
|
|
31
31
|
applyUtilityRankingRuntimeDelta,
|
|
32
32
|
loadUtilityRuntimeValues
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-LXOM6IQU.js";
|
|
34
|
+
import {
|
|
35
|
+
decideTierTransition
|
|
36
|
+
} from "./chunk-S75M5ZRK.js";
|
|
34
37
|
import {
|
|
35
38
|
TmtBuilder
|
|
36
39
|
} from "./chunk-ECZU5BJH.js";
|
|
@@ -52,15 +55,12 @@ import {
|
|
|
52
55
|
import {
|
|
53
56
|
TierMigrationExecutor
|
|
54
57
|
} from "./chunk-VOUOLGIP.js";
|
|
55
|
-
import {
|
|
56
|
-
decideTierTransition
|
|
57
|
-
} from "./chunk-S75M5ZRK.js";
|
|
58
58
|
import {
|
|
59
59
|
HourlySummarizer
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-XAZOWLW4.js";
|
|
61
61
|
import {
|
|
62
62
|
SessionObserverState
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-MHQC2WU2.js";
|
|
64
64
|
import {
|
|
65
65
|
buildResponseGuidanceRecallSection,
|
|
66
66
|
shouldRecallResponseGuidance
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
runDirectAgent,
|
|
71
71
|
runTemporalAgent,
|
|
72
72
|
shouldRunAgent
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-2ROPI5OE.js";
|
|
74
74
|
import {
|
|
75
75
|
clearIndexes,
|
|
76
76
|
deindexMemory,
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
queryByTagsAsync,
|
|
83
83
|
recencyWindowFromPrompt,
|
|
84
84
|
resolvePromptTagPrefilterAsync
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-MGN7VHWQ.js";
|
|
86
86
|
import {
|
|
87
87
|
applyRuntimeRetrievalPolicy
|
|
88
88
|
} from "./chunk-5IZL4DCV.js";
|
|
@@ -111,7 +111,7 @@ import {
|
|
|
111
111
|
buildQmdRecallCacheKey,
|
|
112
112
|
getCachedQmdRecall,
|
|
113
113
|
setCachedQmdRecall
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-SCPFRKIT.js";
|
|
115
115
|
import {
|
|
116
116
|
applyReasoningTraceBoost
|
|
117
117
|
} from "./chunk-ZZTOURJI.js";
|
|
@@ -147,10 +147,10 @@ import {
|
|
|
147
147
|
getVerdictKind,
|
|
148
148
|
judgeFactDurability,
|
|
149
149
|
validateProcedureExtraction
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-2SGJY2UY.js";
|
|
151
151
|
import {
|
|
152
152
|
ExtractionEngine
|
|
153
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-WB3LYXC5.js";
|
|
154
154
|
import {
|
|
155
155
|
parseMemoryActionEligibilityContext
|
|
156
156
|
} from "./chunk-ROZJACKP.js";
|
|
@@ -168,7 +168,7 @@ import {
|
|
|
168
168
|
buildEntityRecallSection,
|
|
169
169
|
entityRecentTranscriptLookbackHours,
|
|
170
170
|
readRecentEntityTranscriptEntries
|
|
171
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-IEUU7O4F.js";
|
|
172
172
|
import {
|
|
173
173
|
buildEventOrderRecallSection,
|
|
174
174
|
shouldRecallEventOrderEvidence
|
|
@@ -203,22 +203,22 @@ import {
|
|
|
203
203
|
materializeAfterSemanticConsolidation,
|
|
204
204
|
parseConsolidationResponse,
|
|
205
205
|
parseOperatorAwareConsolidationResponse
|
|
206
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-DEPRLVLK.js";
|
|
207
207
|
import {
|
|
208
208
|
normalizeReplaySessionKey
|
|
209
209
|
} from "./chunk-2PRQG7PV.js";
|
|
210
210
|
import {
|
|
211
211
|
RoutingRulesStore
|
|
212
|
-
} from "./chunk-
|
|
212
|
+
} from "./chunk-X6IRLNOO.js";
|
|
213
213
|
import {
|
|
214
214
|
searchVerifiedEpisodes
|
|
215
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-QPD426WT.js";
|
|
216
216
|
import {
|
|
217
217
|
ThreadingManager
|
|
218
218
|
} from "./chunk-W4RVMTHR.js";
|
|
219
219
|
import {
|
|
220
220
|
searchVerifiedSemanticRules
|
|
221
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-PP2JH3GP.js";
|
|
222
222
|
import {
|
|
223
223
|
searchWorkProductLedgerEntries
|
|
224
224
|
} from "./chunk-ZRWB5D4H.js";
|
|
@@ -227,26 +227,26 @@ import {
|
|
|
227
227
|
} from "./chunk-A6D7A2FW.js";
|
|
228
228
|
import {
|
|
229
229
|
NamespaceSearchRouter
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-ZJR7VG5L.js";
|
|
231
231
|
import {
|
|
232
232
|
createConversationIndexRuntime,
|
|
233
233
|
createSearchBackend
|
|
234
|
-
} from "./chunk-
|
|
234
|
+
} from "./chunk-YRMKDTKF.js";
|
|
235
235
|
import {
|
|
236
236
|
NoopSearchBackend
|
|
237
|
-
} from "./chunk-
|
|
237
|
+
} from "./chunk-CYEPCZN5.js";
|
|
238
238
|
import {
|
|
239
239
|
NamespaceStorageRouter
|
|
240
|
-
} from "./chunk-
|
|
240
|
+
} from "./chunk-VMGLYN42.js";
|
|
241
241
|
import {
|
|
242
242
|
namespaceIdentityFromToken
|
|
243
243
|
} from "./chunk-ZFXCQPNO.js";
|
|
244
244
|
import {
|
|
245
245
|
writeConversationChunks
|
|
246
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-OIF36KGD.js";
|
|
247
247
|
import {
|
|
248
248
|
parseQmdExplain
|
|
249
|
-
} from "./chunk-
|
|
249
|
+
} from "./chunk-TZVQQTG4.js";
|
|
250
250
|
import {
|
|
251
251
|
PolicyRuntimeManager
|
|
252
252
|
} from "./chunk-33JBK2XP.js";
|
|
@@ -264,7 +264,7 @@ import {
|
|
|
264
264
|
} from "./chunk-BEUDU7Y4.js";
|
|
265
265
|
import {
|
|
266
266
|
recordEvalShadowRecall
|
|
267
|
-
} from "./chunk-
|
|
267
|
+
} from "./chunk-3PY7VHV7.js";
|
|
268
268
|
import {
|
|
269
269
|
EXTRACTION_JUDGE_VERDICT_CATEGORY,
|
|
270
270
|
recordJudgeVerdict
|
|
@@ -280,11 +280,11 @@ import {
|
|
|
280
280
|
} from "./chunk-4WMCPJWX.js";
|
|
281
281
|
import {
|
|
282
282
|
SmartBuffer
|
|
283
|
-
} from "./chunk-
|
|
283
|
+
} from "./chunk-IBTZEBUD.js";
|
|
284
284
|
import {
|
|
285
285
|
FallbackLlmClient,
|
|
286
286
|
fallbackLlmRuntimeContextFromConfig
|
|
287
|
-
} from "./chunk-
|
|
287
|
+
} from "./chunk-DEVUWMME.js";
|
|
288
288
|
import {
|
|
289
289
|
buildRecallQueryPolicy
|
|
290
290
|
} from "./chunk-LBJBNWS2.js";
|
|
@@ -317,7 +317,7 @@ import {
|
|
|
317
317
|
} from "./chunk-JGSKJHF7.js";
|
|
318
318
|
import {
|
|
319
319
|
buildXraySnapshot
|
|
320
|
-
} from "./chunk-
|
|
320
|
+
} from "./chunk-BPSGLMQ4.js";
|
|
321
321
|
import {
|
|
322
322
|
objectiveStateStoreOverrideForNamespace,
|
|
323
323
|
searchObjectiveStateSnapshots
|
|
@@ -342,7 +342,7 @@ import {
|
|
|
342
342
|
normalizeAttributePairs,
|
|
343
343
|
normalizeEntityName,
|
|
344
344
|
parseEntityFile
|
|
345
|
-
} from "./chunk-
|
|
345
|
+
} from "./chunk-7MLB4NCL.js";
|
|
346
346
|
import {
|
|
347
347
|
attachCitation,
|
|
348
348
|
hasCitationForTemplate,
|
|
@@ -350,7 +350,7 @@ import {
|
|
|
350
350
|
} from "./chunk-4H5ZJHEN.js";
|
|
351
351
|
import {
|
|
352
352
|
confidenceTier
|
|
353
|
-
} from "./chunk-
|
|
353
|
+
} from "./chunk-4R4KTDIE.js";
|
|
354
354
|
import {
|
|
355
355
|
isActiveMemoryStatus
|
|
356
356
|
} from "./chunk-RULE4VG5.js";
|
|
@@ -1273,8 +1273,8 @@ function computeArtifactRecallLimit(recallMode, recallResultLimit, verbatimArtif
|
|
|
1273
1273
|
function resolveEffectiveRecallMode(options) {
|
|
1274
1274
|
return resolveRecallModeDecision(options).effectiveMode;
|
|
1275
1275
|
}
|
|
1276
|
-
function
|
|
1277
|
-
let plannedMode =
|
|
1276
|
+
function finalizeRecallModeDecision(plannedModeRaw, options) {
|
|
1277
|
+
let plannedMode = plannedModeRaw;
|
|
1278
1278
|
const graphExpandedIntentDetected = options.plannerEnabled && options.graphExpandedIntentEnabled === true && hasBroadGraphIntent(options.prompt);
|
|
1279
1279
|
if (plannedMode !== "graph_mode" && graphExpandedIntentDetected) {
|
|
1280
1280
|
plannedMode = "graph_mode";
|
|
@@ -1293,6 +1293,46 @@ function resolveRecallModeDecision(options) {
|
|
|
1293
1293
|
graphExpandedIntentDetected
|
|
1294
1294
|
};
|
|
1295
1295
|
}
|
|
1296
|
+
function resolveRecallModeDecision(options) {
|
|
1297
|
+
const plannedMode = options.plannerEnabled ? planRecallMode(options.prompt) : "full";
|
|
1298
|
+
return finalizeRecallModeDecision(plannedMode, options);
|
|
1299
|
+
}
|
|
1300
|
+
async function resolveRecallModeDecisionAsync(options) {
|
|
1301
|
+
const heuristicDecision = resolveRecallModeDecision(options);
|
|
1302
|
+
if (!options.plannerEnabled || !options.config.recallPlannerLlmEnabled) {
|
|
1303
|
+
return heuristicDecision;
|
|
1304
|
+
}
|
|
1305
|
+
const { planRecallModeLLM } = await import("./recall-planner-llm.js");
|
|
1306
|
+
const planned = await planRecallModeLLM(
|
|
1307
|
+
options.prompt,
|
|
1308
|
+
options.hints,
|
|
1309
|
+
options.config,
|
|
1310
|
+
options.llm,
|
|
1311
|
+
options.signal
|
|
1312
|
+
);
|
|
1313
|
+
if (options.config.recallPlannerShadowMode) {
|
|
1314
|
+
return {
|
|
1315
|
+
...heuristicDecision,
|
|
1316
|
+
plannerSource: planned.source,
|
|
1317
|
+
plannerReason: `shadow:${planned.reason}`,
|
|
1318
|
+
plannerLatencyMs: planned.latencyMs,
|
|
1319
|
+
plannerFallbackUsed: planned.fallbackUsed,
|
|
1320
|
+
plannerModelUsed: planned.modelUsed,
|
|
1321
|
+
plannerHeuristicMode: planned.heuristicMode,
|
|
1322
|
+
shadowLlmMode: planned.mode
|
|
1323
|
+
};
|
|
1324
|
+
}
|
|
1325
|
+
const llmDecision = finalizeRecallModeDecision(planned.mode, options);
|
|
1326
|
+
return {
|
|
1327
|
+
...llmDecision,
|
|
1328
|
+
plannerSource: planned.source,
|
|
1329
|
+
plannerReason: planned.reason,
|
|
1330
|
+
plannerLatencyMs: planned.latencyMs,
|
|
1331
|
+
plannerFallbackUsed: planned.fallbackUsed,
|
|
1332
|
+
plannerModelUsed: planned.modelUsed,
|
|
1333
|
+
plannerHeuristicMode: planned.heuristicMode
|
|
1334
|
+
};
|
|
1335
|
+
}
|
|
1296
1336
|
function hasIdentityRecoveryIntent(prompt) {
|
|
1297
1337
|
const text = typeof prompt === "string" ? prompt.toLowerCase() : "";
|
|
1298
1338
|
if (!text) return false;
|
|
@@ -2356,9 +2396,11 @@ var Orchestrator = class _Orchestrator {
|
|
|
2356
2396
|
this.config.namespacesEnabled ? this.namespaceSearchRouter.ensureNamespaceCollection(
|
|
2357
2397
|
namespace,
|
|
2358
2398
|
{ signal: collectionCheckAbort.signal }
|
|
2359
|
-
) : this.qmd.ensureCollection(
|
|
2360
|
-
|
|
2361
|
-
|
|
2399
|
+
) : this.qmd.ensureCollection(
|
|
2400
|
+
this.config.memoryDir,
|
|
2401
|
+
this.config.qmdCollection,
|
|
2402
|
+
{ signal: collectionCheckAbort.signal }
|
|
2403
|
+
),
|
|
2362
2404
|
collectionCheckAbort,
|
|
2363
2405
|
namespace
|
|
2364
2406
|
);
|
|
@@ -2565,7 +2607,7 @@ var Orchestrator = class _Orchestrator {
|
|
|
2565
2607
|
if (signal.aborted) return;
|
|
2566
2608
|
if (this.config.lifecyclePolicyEnabled && this.config.qmdTierMigrationEnabled) {
|
|
2567
2609
|
try {
|
|
2568
|
-
const { runFirstStartMigration } = await import("./first-start-migration-
|
|
2610
|
+
const { runFirstStartMigration } = await import("./first-start-migration-FF7YFGRP.js");
|
|
2569
2611
|
const result = await runFirstStartMigration({
|
|
2570
2612
|
storage: this.storage,
|
|
2571
2613
|
config: this.config,
|
|
@@ -2616,7 +2658,7 @@ var Orchestrator = class _Orchestrator {
|
|
|
2616
2658
|
const states = await Promise.all(
|
|
2617
2659
|
namespaces.map(async (namespace) => ({
|
|
2618
2660
|
namespace,
|
|
2619
|
-
state: this.config.namespacesEnabled ? await this.namespaceSearchRouter.ensureNamespaceCollection(namespace, { signal }) : await this.qmd.ensureCollection(this.config.memoryDir, { signal })
|
|
2661
|
+
state: this.config.namespacesEnabled ? await this.namespaceSearchRouter.ensureNamespaceCollection(namespace, { signal }) : await this.qmd.ensureCollection(this.config.memoryDir, this.config.qmdCollection, { signal })
|
|
2620
2662
|
}))
|
|
2621
2663
|
);
|
|
2622
2664
|
if (signal?.aborted) {
|
|
@@ -3027,18 +3069,18 @@ ${doc.content}` : doc.content,
|
|
|
3027
3069
|
);
|
|
3028
3070
|
return result;
|
|
3029
3071
|
}
|
|
3030
|
-
const { FallbackLlmClient: FallbackLlmClient2 } = await import("./fallback-llm.js");
|
|
3072
|
+
const { FallbackLlmClient: FallbackLlmClient2, gatewayTaskChainOptions } = await import("./fallback-llm.js");
|
|
3031
3073
|
const useGateway = this.config.modelSource === "gateway";
|
|
3032
3074
|
const modelSetting = this.config.semanticConsolidationModel;
|
|
3033
3075
|
if (modelSetting === "fast" && this.fastLlm && !useGateway) {
|
|
3034
3076
|
log.info("[semantic-consolidation] using fast local LLM for synthesis");
|
|
3035
3077
|
}
|
|
3036
|
-
const
|
|
3078
|
+
const gatewayChainOptions = !useGateway ? {} : modelSetting === "fast" ? this.config.fastGatewayAgentId ? { agentId: this.config.fastGatewayAgentId } : this.config.gatewayAgentId ? { agentId: this.config.gatewayAgentId } : {} : gatewayTaskChainOptions(this.config);
|
|
3037
3079
|
const llm = new FallbackLlmClient2(
|
|
3038
3080
|
this.config.gatewayConfig,
|
|
3039
3081
|
fallbackLlmRuntimeContextFromConfig(this.config)
|
|
3040
3082
|
);
|
|
3041
|
-
if (!llm.isAvailable(
|
|
3083
|
+
if (!llm.isAvailable(gatewayChainOptions) && !(modelSetting === "fast" && this.fastLlm && !useGateway)) {
|
|
3042
3084
|
log.warn(
|
|
3043
3085
|
"[semantic-consolidation] no LLM available \u2014 skipping synthesis"
|
|
3044
3086
|
);
|
|
@@ -3067,7 +3109,7 @@ ${doc.content}` : doc.content,
|
|
|
3067
3109
|
const llmOpts = { temperature: 0.2, maxTokens: 2e3 };
|
|
3068
3110
|
let response = null;
|
|
3069
3111
|
if (useGateway) {
|
|
3070
|
-
response = await llm.chatCompletion(messages, { ...llmOpts,
|
|
3112
|
+
response = await llm.chatCompletion(messages, { ...llmOpts, ...gatewayChainOptions });
|
|
3071
3113
|
} else if (modelSetting === "fast" && this.fastLlm) {
|
|
3072
3114
|
const fastResult = await this.fastLlm.chatCompletion(messages, {
|
|
3073
3115
|
operation: "semantic-consolidation",
|
|
@@ -4558,6 +4600,8 @@ ${r.snippet.trim()}
|
|
|
4558
4600
|
if (primaryResults.length < qmdFetchLimit && (!qmdRecallBudgetEnabled || Date.now() - startedAtMs < qmdRecallBudgetMs)) {
|
|
4559
4601
|
if (debugSearchOptions?.intent) {
|
|
4560
4602
|
lastHybridTopUpSkippedReason = "intent_hint_active";
|
|
4603
|
+
} else if (this.config.qmdSearchStrategy === "lex") {
|
|
4604
|
+
lastHybridTopUpSkippedReason = "lex_strategy";
|
|
4561
4605
|
} else {
|
|
4562
4606
|
const hybridResults = options.collection ? await this.qmd.hybridSearch(
|
|
4563
4607
|
prompt,
|
|
@@ -5103,15 +5147,25 @@ ${r.snippet.trim()}
|
|
|
5103
5147
|
let identityInjectedChars = 0;
|
|
5104
5148
|
let identityInjectionTruncated = false;
|
|
5105
5149
|
timings.queryPolicy = `${queryPolicy.promptShape}/${queryPolicy.retrievalBudgetMode}${queryPolicy.skipConversationRecall ? "/skip-conv" : ""}`;
|
|
5106
|
-
const
|
|
5150
|
+
const recallModeDecisionOptions = {
|
|
5107
5151
|
plannerEnabled: this.config.recallPlannerEnabled,
|
|
5108
5152
|
graphRecallEnabled: this.config.graphRecallEnabled,
|
|
5109
5153
|
multiGraphMemoryEnabled: this.config.multiGraphMemoryEnabled,
|
|
5110
5154
|
graphExpandedIntentEnabled: this.config.graphExpandedIntentEnabled === true,
|
|
5111
5155
|
prompt
|
|
5156
|
+
};
|
|
5157
|
+
const requestedMode = options.mode;
|
|
5158
|
+
const recallDecision = requestedMode !== void 0 ? resolveRecallModeDecision(recallModeDecisionOptions) : await resolveRecallModeDecisionAsync({
|
|
5159
|
+
...recallModeDecisionOptions,
|
|
5160
|
+
config: this.config,
|
|
5161
|
+
signal: options.abortSignal
|
|
5112
5162
|
});
|
|
5163
|
+
if (this.config.recallPlannerTelemetryEnabled && recallDecision.plannerSource && recallDecision.plannerSource !== "heuristic") {
|
|
5164
|
+
log.debug(
|
|
5165
|
+
`[recall-planner] mode=${recallDecision.shadowLlmMode ?? recallDecision.effectiveMode} source=${recallDecision.plannerSource} planned=${recallDecision.plannedMode} heuristic=${recallDecision.plannerHeuristicMode ?? recallDecision.plannedMode} model=${recallDecision.plannerModelUsed ?? "n/a"} latencyMs=${recallDecision.plannerLatencyMs ?? 0} fallback=${recallDecision.plannerFallbackUsed ?? false}` + (recallDecision.shadowLlmMode ? " (shadow)" : "")
|
|
5166
|
+
);
|
|
5167
|
+
}
|
|
5113
5168
|
this.profiler.endSpan("planning", profileTraceId);
|
|
5114
|
-
const requestedMode = options.mode;
|
|
5115
5169
|
const recallMode = requestedMode ?? recallDecision.effectiveMode;
|
|
5116
5170
|
const queryIntent = inferIntentFromText(retrievalQuery);
|
|
5117
5171
|
const qmdSearchOptions = this.buildConfiguredQmdSearchOptions(retrievalQuery);
|
|
@@ -6213,7 +6267,9 @@ ${lines.join("\n\n")}`;
|
|
|
6213
6267
|
recallMode,
|
|
6214
6268
|
maxResults: qmdFetchLimit,
|
|
6215
6269
|
memoryDir: this.config.memoryDir,
|
|
6216
|
-
searchOptions: qmdSearchOptions
|
|
6270
|
+
searchOptions: qmdSearchOptions,
|
|
6271
|
+
searchStrategy: this.config.qmdSearchStrategy,
|
|
6272
|
+
subprocessStrategy: this.config.qmdSubprocessStrategy
|
|
6217
6273
|
});
|
|
6218
6274
|
const cachedQmd = getCachedQmdRecall(
|
|
6219
6275
|
qmdCacheKey,
|
|
@@ -12426,6 +12482,7 @@ export {
|
|
|
12426
12482
|
computeArtifactRecallLimit,
|
|
12427
12483
|
resolveEffectiveRecallMode,
|
|
12428
12484
|
resolveRecallModeDecision,
|
|
12485
|
+
resolveRecallModeDecisionAsync,
|
|
12429
12486
|
hasIdentityRecoveryIntent,
|
|
12430
12487
|
resolveEffectiveIdentityInjectionMode,
|
|
12431
12488
|
computeArtifactCandidateFetchLimit,
|
|
@@ -12441,4 +12498,4 @@ export {
|
|
|
12441
12498
|
resolvePersistedMemoryRelativePath,
|
|
12442
12499
|
Orchestrator
|
|
12443
12500
|
};
|
|
12444
|
-
//# sourceMappingURL=chunk-
|
|
12501
|
+
//# sourceMappingURL=chunk-T5XWMMU2.js.map
|