@remnic/core 9.3.751 → 9.3.752
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-boundary.d.ts +5 -5
- package/dist/access-boundary.js +29 -29
- package/dist/access-cli.js +88 -88
- package/dist/access-http.d.ts +5 -5
- package/dist/access-http.js +35 -35
- package/dist/access-mcp.d.ts +5 -5
- package/dist/access-mcp.js +34 -34
- package/dist/access-operations-batch.js +31 -31
- package/dist/access-operations.d.ts +5 -5
- package/dist/access-operations.js +33 -33
- package/dist/access-recall-surface.d.ts +363 -0
- package/dist/access-recall-surface.js +128 -0
- package/dist/access-schema.js +7 -7
- package/dist/{access-service-DmAEOJdJ.d.ts → access-service-C2cOHQvg.d.ts} +7 -26
- package/dist/access-service.d.ts +5 -5
- package/dist/access-service.js +28 -28
- package/dist/access-surface-catalog.d.ts +5 -5
- package/dist/action-confidence.d.ts +1 -1
- package/dist/active-memory-bridge.d.ts +1 -1
- package/dist/active-recall.d.ts +1 -1
- package/dist/active-recall.js +1 -1
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +4 -4
- package/dist/briefing.d.ts +1 -1
- package/dist/briefing.js +4 -4
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer.d.ts +1 -1
- package/dist/buffer.js +2 -2
- package/dist/calibration.d.ts +1 -1
- package/dist/capabilities.d.ts +1 -1
- package/dist/{capsule-crypto-7FJQINUR.js → capsule-crypto-CZJSLEFG.js} +3 -3
- package/dist/{catalog-BpOcwHdE.d.ts → catalog-D_FvzTM0.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-behavior.js +2 -2
- package/dist/causal-chain.js +2 -2
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-consolidation.js +9 -9
- package/dist/causal-retrieval.js +2 -2
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/causal-trajectory.js +1 -1
- package/dist/{chunk-2NLLXCJG.js → chunk-2BFLDH5F.js} +2 -2
- package/dist/{chunk-UU32EAIY.js → chunk-2DPCAW2T.js} +5 -5
- package/dist/{chunk-5PZCDUJ6.js → chunk-2U4E34Y3.js} +4 -4
- package/dist/{chunk-JRZV3767.js → chunk-33NX5BLR.js} +4 -4
- package/dist/{chunk-X7Y7WX73.js → chunk-437S3G37.js} +2 -2
- package/dist/{chunk-HAZVVOYT.js → chunk-5DXUE7GB.js} +2 -2
- package/dist/{chunk-4DLFJJOQ.js → chunk-5JAT4ZJD.js} +4 -4
- package/dist/{chunk-RS25QOKZ.js → chunk-64SE4X5G.js} +2 -2
- package/dist/{chunk-QRRBXD24.js → chunk-67JRXV6Z.js} +7 -7
- package/dist/{chunk-WA7FECSG.js → chunk-6ROCH5JV.js} +7 -7
- package/dist/{chunk-5QANTTY2.js → chunk-BIAMJUUJ.js} +4 -4
- package/dist/{chunk-IKHKHADN.js → chunk-C4LNKQ3M.js} +5 -5
- package/dist/{chunk-B35L45HZ.js → chunk-DC5OBZS3.js} +2 -2
- package/dist/{chunk-ORAK3LNZ.js → chunk-ER3CCWK2.js} +2 -2
- package/dist/{chunk-SD34EK4Z.js → chunk-FEELYTRT.js} +5 -5
- package/dist/{chunk-KQAFEZQX.js → chunk-FLVL4L3L.js} +2 -2
- package/dist/{chunk-WIWPSQYU.js → chunk-FXRFFYWD.js} +4 -4
- package/dist/{chunk-W3M34XT4.js → chunk-GECEETQ3.js} +4 -4
- package/dist/{chunk-WWSXVOGY.js → chunk-GFGYHLON.js} +2 -2
- package/dist/{chunk-BJMBJZ2Y.js → chunk-GWTFLF2P.js} +59 -59
- package/dist/chunk-GWTFLF2P.js.map +1 -0
- package/dist/{chunk-WOX2UW4K.js → chunk-IBPEVGP5.js} +2 -2
- package/dist/{chunk-JZ7P26GF.js → chunk-IQWFWSCP.js} +4 -4
- package/dist/{chunk-6SXNQFHB.js → chunk-J2JB6BHT.js} +8 -8
- package/dist/{chunk-K2JM4DZZ.js → chunk-JHZ3LEM7.js} +2 -2
- package/dist/{chunk-YGGXUNS4.js → chunk-JNKSFIAY.js} +45 -45
- package/dist/{chunk-CGZWGVQF.js → chunk-K5CWCJKJ.js} +6 -6
- package/dist/{chunk-TPLE6SNY.js → chunk-KFNG72W7.js} +7 -7
- package/dist/{chunk-4NWIGAIC.js → chunk-KT2VQLP7.js} +8 -8
- package/dist/{chunk-6FNZ3NMS.js → chunk-L3VSTJ2V.js} +2 -2
- package/dist/{chunk-ARV3AUOM.js → chunk-M5QKGHCR.js} +2 -2
- package/dist/{chunk-E4PFDD3N.js → chunk-MEPWWSTD.js} +4 -4
- package/dist/{chunk-V5RVMULT.js → chunk-MLDAD27I.js} +7 -7
- package/dist/{chunk-K2R3DEEH.js → chunk-MTN2G4DT.js} +2 -2
- package/dist/{chunk-DBSMLRTO.js → chunk-MW7UUXTA.js} +5 -5
- package/dist/{chunk-OSMBC3JU.js → chunk-OKOF7ITI.js} +6 -6
- package/dist/{chunk-DBRVU5PR.js → chunk-OVMLS7TN.js} +3 -3
- package/dist/{chunk-NNL4LJAD.js → chunk-QMMCMV2L.js} +5 -5
- package/dist/{chunk-RNWWAS5V.js → chunk-QRM3K3XT.js} +5 -5
- package/dist/{chunk-HM6UJPPO.js → chunk-R7TGDLV3.js} +4 -4
- package/dist/{chunk-EEKDRAWX.js → chunk-RBYV3WSB.js} +4 -4
- package/dist/{chunk-LOPZ2DWR.js → chunk-RRRZ3CLN.js} +4 -4
- package/dist/{chunk-7TWA7DKP.js → chunk-S5UYWK3O.js} +6 -6
- package/dist/{chunk-QOGXUNWL.js → chunk-SC5AEZLU.js} +9 -9
- package/dist/{chunk-SNEXVX3U.js → chunk-UFNQKZV7.js} +15 -15
- package/dist/{chunk-W3BFT5OJ.js → chunk-V4ZPLQLC.js} +2 -2
- package/dist/{chunk-SQNED75R.js → chunk-V5UV7BOA.js} +1 -1
- package/dist/{chunk-RWZB6MAY.js → chunk-VQL22SHO.js} +891 -1002
- package/dist/chunk-VQL22SHO.js.map +1 -0
- package/dist/{chunk-UETBEHBA.js → chunk-VX2RYM2K.js} +2232 -1942
- package/dist/chunk-VX2RYM2K.js.map +1 -0
- package/dist/{chunk-K5LLP4CY.js → chunk-XKAOT4ZB.js} +4 -4
- package/dist/{chunk-ZBVQ4ZM4.js → chunk-YGNQG4Q6.js} +8 -8
- package/dist/{chunk-EZ25VE3G.js → chunk-YNDLCWXS.js} +4 -4
- package/dist/{chunk-HYI2GP3F.js → chunk-ZGGI3COG.js} +9 -9
- package/dist/{cli-lmf5RGyQ.d.ts → cli-DFUU9WYu.d.ts} +3 -3
- package/dist/cli.d.ts +6 -6
- package/dist/cli.js +60 -60
- package/dist/compounding/engine.d.ts +1 -1
- package/dist/compounding/engine.js +6 -6
- package/dist/compounding/preference-consolidator.d.ts +1 -1
- package/dist/compression-optimizer.d.ts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +1 -1
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +5 -5
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +7 -7
- package/dist/consolidation-provenance-check.d.ts +1 -1
- package/dist/consolidation-undo.d.ts +1 -1
- package/dist/contradiction/index.d.ts +1 -1
- package/dist/contradiction/index.js +2 -2
- package/dist/{contradiction-scan-3FJYWS3G.js → contradiction-scan-KO4WWCS4.js} +3 -3
- package/dist/contradiction-scan-KO4WWCS4.js.map +1 -0
- package/dist/conversation-index/backend.d.ts +1 -1
- package/dist/conversation-index/chunker.d.ts +1 -1
- package/dist/conversation-index/faiss-adapter.d.ts +1 -1
- package/dist/conversation-index/indexer.d.ts +1 -1
- package/dist/conversation-index/search.d.ts +1 -1
- package/dist/dashboard-runtime.js +2 -2
- package/dist/day-summary.d.ts +1 -1
- package/dist/day-summary.js +2 -2
- package/dist/delinearize.d.ts +1 -1
- package/dist/direct-answer-wiring.d.ts +1 -1
- package/dist/direct-answer.d.ts +1 -1
- package/dist/embedding-fallback.d.ts +1 -1
- package/dist/embedding-fallback.js +2 -2
- package/dist/enrichment/index.d.ts +1 -1
- package/dist/entity-retrieval.d.ts +1 -1
- package/dist/entity-retrieval.js +5 -5
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +4 -4
- package/dist/explicit-capture.js +2 -2
- package/dist/extraction-faithfulness.d.ts +1 -1
- package/dist/extraction-judge-telemetry.d.ts +1 -1
- package/dist/extraction-judge-training.d.ts +1 -1
- package/dist/extraction-judge.d.ts +1 -1
- package/dist/extraction.d.ts +1 -1
- package/dist/extraction.js +4 -4
- package/dist/fallback-llm.d.ts +1 -1
- package/dist/graph-dashboard-diff.d.ts +1 -1
- package/dist/graph-dashboard-key.d.ts +1 -1
- package/dist/graph-dashboard-parser.d.ts +1 -1
- package/dist/graph-edge-reinforcement.d.ts +1 -1
- package/dist/graph-snapshot.d.ts +1 -1
- package/dist/graph.d.ts +1 -1
- package/dist/identity-continuity.d.ts +1 -1
- package/dist/importance.d.ts +1 -1
- package/dist/index.d.ts +9 -9
- package/dist/index.js +142 -142
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/engine.js +3 -3
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/index.js +8 -8
- package/dist/lcm/tools.d.ts +1 -1
- package/dist/lifecycle.d.ts +1 -1
- package/dist/live-connectors-runner.d.ts +1 -1
- package/dist/local-llm.d.ts +1 -1
- package/dist/local-llm.js +2 -2
- package/dist/local-model-endpoint.d.ts +1 -1
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/maintenance/memory-governance.js +4 -4
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +4 -4
- package/dist/maintenance/rebuild-memory-projection.js +5 -5
- package/dist/mcp-memory-inspector-app.d.ts +5 -5
- package/dist/memory-action-policy.d.ts +1 -1
- package/dist/memory-cache.d.ts +1 -1
- package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
- package/dist/memory-projection-store.d.ts +1 -1
- package/dist/memory-provenance.d.ts +1 -1
- package/dist/memory-worth-outcomes.d.ts +1 -1
- package/dist/models-json.d.ts +1 -1
- package/dist/namespaces/migrate.d.ts +2 -2
- package/dist/namespaces/migrate.js +10 -10
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/search.js +4 -4
- package/dist/namespaces/storage.d.ts +2 -2
- package/dist/namespaces/storage.js +6 -6
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +1 -1
- package/dist/operator-toolkit.js +17 -17
- package/dist/orchestration/compression-guideline-coordinator.d.ts +1 -1
- package/dist/orchestration/compression-guideline-coordinator.js +2 -2
- package/dist/orchestration/maintenance.d.ts +2 -2
- package/dist/orchestration/maintenance.js +10 -10
- package/dist/{orchestrator-D7bb8ZGp.d.ts → orchestrator-BhxMxtQJ.d.ts} +27 -106
- package/dist/orchestrator.d.ts +4 -4
- package/dist/orchestrator.js +86 -86
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/policy-runtime.d.ts +1 -1
- package/dist/provenance.d.ts +1 -1
- package/dist/qmd-recall-cache.d.ts +1 -1
- package/dist/qmd.d.ts +1 -1
- package/dist/recall-disclosure-escalation.d.ts +1 -1
- package/dist/recall-explain-renderer.d.ts +1 -1
- package/dist/recall-planner-llm.d.ts +1 -1
- package/dist/recall-state.d.ts +1 -1
- package/dist/recall-tag-filter.d.ts +1 -1
- package/dist/recall-xray-cli.d.ts +1 -1
- package/dist/recall-xray-renderer.d.ts +1 -1
- package/dist/recall-xray.d.ts +1 -1
- package/dist/resolve-auth-token.d.ts +1 -1
- package/dist/resume-bundles.js +1 -1
- package/dist/retrieval-agents.d.ts +1 -1
- package/dist/retrieval-tiers.d.ts +1 -1
- package/dist/routing/engine.d.ts +1 -1
- package/dist/routing/store.d.ts +1 -1
- package/dist/routing/store.js +2 -2
- package/dist/schemas.d.ts +22 -22
- package/dist/search/embed-helper.d.ts +1 -1
- package/dist/search/embed-helper.js +2 -2
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/factory.js +3 -3
- package/dist/search/index.d.ts +1 -1
- package/dist/search/index.js +3 -3
- package/dist/search/lancedb-backend.d.ts +1 -1
- package/dist/search/meilisearch-backend.d.ts +1 -1
- package/dist/search/noop-backend.d.ts +1 -1
- package/dist/search/orama-backend.d.ts +1 -1
- package/dist/search/port.d.ts +1 -1
- package/dist/search/remote-backend.d.ts +1 -1
- package/dist/secure-store/index.js +2 -2
- package/dist/{semantic-consolidation-CTfbVwCA.d.ts → semantic-consolidation-BrsoFeMP.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +7 -7
- package/dist/semantic-rule-promotion.js +4 -4
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +4 -4
- package/dist/session-observer-bands.d.ts +1 -1
- package/dist/session-observer-state.d.ts +1 -1
- package/dist/shared-context/manager.d.ts +1 -1
- package/dist/shared-context/manager.js +2 -2
- package/dist/signal.d.ts +1 -1
- package/dist/storage.d.ts +1 -1
- package/dist/storage.js +3 -3
- package/dist/summarizer.d.ts +1 -1
- package/dist/summarizer.js +3 -3
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/temporal-supersession.d.ts +1 -1
- package/dist/temporal-validity.d.ts +1 -1
- package/dist/threading.d.ts +1 -1
- package/dist/tier-migration.d.ts +1 -1
- package/dist/tier-routing.d.ts +1 -1
- package/dist/topics.d.ts +1 -1
- package/dist/transcript.d.ts +1 -1
- package/dist/transfer/backup.js +3 -3
- package/dist/transfer/capsule-export.js +3 -3
- package/dist/transfer/capsule-import.js +3 -3
- package/dist/transfer/types.d.ts +12 -12
- package/dist/trust-score-stage.d.ts +1 -1
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-D4NYDtXI.d.ts → types-BfI4uJeb.d.ts} +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.js +4 -4
- package/package.json +2 -2
- package/src/access-recall-surface.ts +1552 -0
- package/src/access-service.ts +29 -1219
- package/src/orchestration/recall-entry.ts +290 -0
- package/src/orchestration/session-context.ts +407 -0
- package/src/orchestrator.ts +125 -462
- package/dist/chunk-BJMBJZ2Y.js.map +0 -1
- package/dist/chunk-RWZB6MAY.js.map +0 -1
- package/dist/chunk-UETBEHBA.js.map +0 -1
- /package/dist/{capsule-crypto-7FJQINUR.js.map → access-recall-surface.js.map} +0 -0
- /package/dist/{contradiction-scan-3FJYWS3G.js.map → capsule-crypto-CZJSLEFG.js.map} +0 -0
- /package/dist/{chunk-2NLLXCJG.js.map → chunk-2BFLDH5F.js.map} +0 -0
- /package/dist/{chunk-UU32EAIY.js.map → chunk-2DPCAW2T.js.map} +0 -0
- /package/dist/{chunk-5PZCDUJ6.js.map → chunk-2U4E34Y3.js.map} +0 -0
- /package/dist/{chunk-JRZV3767.js.map → chunk-33NX5BLR.js.map} +0 -0
- /package/dist/{chunk-X7Y7WX73.js.map → chunk-437S3G37.js.map} +0 -0
- /package/dist/{chunk-HAZVVOYT.js.map → chunk-5DXUE7GB.js.map} +0 -0
- /package/dist/{chunk-4DLFJJOQ.js.map → chunk-5JAT4ZJD.js.map} +0 -0
- /package/dist/{chunk-RS25QOKZ.js.map → chunk-64SE4X5G.js.map} +0 -0
- /package/dist/{chunk-QRRBXD24.js.map → chunk-67JRXV6Z.js.map} +0 -0
- /package/dist/{chunk-WA7FECSG.js.map → chunk-6ROCH5JV.js.map} +0 -0
- /package/dist/{chunk-5QANTTY2.js.map → chunk-BIAMJUUJ.js.map} +0 -0
- /package/dist/{chunk-IKHKHADN.js.map → chunk-C4LNKQ3M.js.map} +0 -0
- /package/dist/{chunk-B35L45HZ.js.map → chunk-DC5OBZS3.js.map} +0 -0
- /package/dist/{chunk-ORAK3LNZ.js.map → chunk-ER3CCWK2.js.map} +0 -0
- /package/dist/{chunk-SD34EK4Z.js.map → chunk-FEELYTRT.js.map} +0 -0
- /package/dist/{chunk-KQAFEZQX.js.map → chunk-FLVL4L3L.js.map} +0 -0
- /package/dist/{chunk-WIWPSQYU.js.map → chunk-FXRFFYWD.js.map} +0 -0
- /package/dist/{chunk-W3M34XT4.js.map → chunk-GECEETQ3.js.map} +0 -0
- /package/dist/{chunk-WWSXVOGY.js.map → chunk-GFGYHLON.js.map} +0 -0
- /package/dist/{chunk-WOX2UW4K.js.map → chunk-IBPEVGP5.js.map} +0 -0
- /package/dist/{chunk-JZ7P26GF.js.map → chunk-IQWFWSCP.js.map} +0 -0
- /package/dist/{chunk-6SXNQFHB.js.map → chunk-J2JB6BHT.js.map} +0 -0
- /package/dist/{chunk-K2JM4DZZ.js.map → chunk-JHZ3LEM7.js.map} +0 -0
- /package/dist/{chunk-YGGXUNS4.js.map → chunk-JNKSFIAY.js.map} +0 -0
- /package/dist/{chunk-CGZWGVQF.js.map → chunk-K5CWCJKJ.js.map} +0 -0
- /package/dist/{chunk-TPLE6SNY.js.map → chunk-KFNG72W7.js.map} +0 -0
- /package/dist/{chunk-4NWIGAIC.js.map → chunk-KT2VQLP7.js.map} +0 -0
- /package/dist/{chunk-6FNZ3NMS.js.map → chunk-L3VSTJ2V.js.map} +0 -0
- /package/dist/{chunk-ARV3AUOM.js.map → chunk-M5QKGHCR.js.map} +0 -0
- /package/dist/{chunk-E4PFDD3N.js.map → chunk-MEPWWSTD.js.map} +0 -0
- /package/dist/{chunk-V5RVMULT.js.map → chunk-MLDAD27I.js.map} +0 -0
- /package/dist/{chunk-K2R3DEEH.js.map → chunk-MTN2G4DT.js.map} +0 -0
- /package/dist/{chunk-DBSMLRTO.js.map → chunk-MW7UUXTA.js.map} +0 -0
- /package/dist/{chunk-OSMBC3JU.js.map → chunk-OKOF7ITI.js.map} +0 -0
- /package/dist/{chunk-DBRVU5PR.js.map → chunk-OVMLS7TN.js.map} +0 -0
- /package/dist/{chunk-NNL4LJAD.js.map → chunk-QMMCMV2L.js.map} +0 -0
- /package/dist/{chunk-RNWWAS5V.js.map → chunk-QRM3K3XT.js.map} +0 -0
- /package/dist/{chunk-HM6UJPPO.js.map → chunk-R7TGDLV3.js.map} +0 -0
- /package/dist/{chunk-EEKDRAWX.js.map → chunk-RBYV3WSB.js.map} +0 -0
- /package/dist/{chunk-LOPZ2DWR.js.map → chunk-RRRZ3CLN.js.map} +0 -0
- /package/dist/{chunk-7TWA7DKP.js.map → chunk-S5UYWK3O.js.map} +0 -0
- /package/dist/{chunk-QOGXUNWL.js.map → chunk-SC5AEZLU.js.map} +0 -0
- /package/dist/{chunk-SNEXVX3U.js.map → chunk-UFNQKZV7.js.map} +0 -0
- /package/dist/{chunk-W3BFT5OJ.js.map → chunk-V4ZPLQLC.js.map} +0 -0
- /package/dist/{chunk-SQNED75R.js.map → chunk-V5UV7BOA.js.map} +0 -0
- /package/dist/{chunk-K5LLP4CY.js.map → chunk-XKAOT4ZB.js.map} +0 -0
- /package/dist/{chunk-ZBVQ4ZM4.js.map → chunk-YGNQG4Q6.js.map} +0 -0
- /package/dist/{chunk-EZ25VE3G.js.map → chunk-YNDLCWXS.js.map} +0 -0
- /package/dist/{chunk-HYI2GP3F.js.map → chunk-ZGGI3COG.js.map} +0 -0
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
import { AccessAuditAdapter } from './access-audit.js';
|
|
2
|
+
import { CrossNamespaceBudget } from './cross-namespace-budget.js';
|
|
3
|
+
import { O as Orchestrator } from './orchestrator-BhxMxtQJ.js';
|
|
4
|
+
import { LastRecallSnapshot } from './recall-state.js';
|
|
5
|
+
import { RecallXraySnapshot } from './recall-xray.js';
|
|
6
|
+
import { R as RecallDisclosure, a as RecallPlanMode, M as MemoryFile } from './types-BfI4uJeb.js';
|
|
7
|
+
import { StorageManager } from './storage.js';
|
|
8
|
+
import { g as EngramAccessRecallResponse, h as EngramAccessMemorySummary, i as EngramAccessSetCodingContextRequest, j as EngramAccessRecallRequest } from './access-service-C2cOHQvg.js';
|
|
9
|
+
import './recall-audit.js';
|
|
10
|
+
import './recall-audit-anomaly.js';
|
|
11
|
+
import './briefing.js';
|
|
12
|
+
import './buffer.js';
|
|
13
|
+
import './extraction-faithfulness.js';
|
|
14
|
+
import './local-llm.js';
|
|
15
|
+
import './model-registry.js';
|
|
16
|
+
import './fallback-llm.js';
|
|
17
|
+
import './resolve-provider-secret.js';
|
|
18
|
+
import './search/port.js';
|
|
19
|
+
import './transcript.js';
|
|
20
|
+
import './session-integrity.js';
|
|
21
|
+
import './summarizer.js';
|
|
22
|
+
import './orchestration/maintenance.js';
|
|
23
|
+
import './namespaces/search.js';
|
|
24
|
+
import './catalog-D_FvzTM0.js';
|
|
25
|
+
import './compounding/engine.js';
|
|
26
|
+
import './shared-context/manager.js';
|
|
27
|
+
import 'zod';
|
|
28
|
+
import './capabilities.js';
|
|
29
|
+
import './utility-runtime.js';
|
|
30
|
+
import './tier-routing.js';
|
|
31
|
+
import './lifecycle.js';
|
|
32
|
+
import './orchestration/compression-guideline-coordinator.js';
|
|
33
|
+
import './semantic-consolidation-BrsoFeMP.js';
|
|
34
|
+
import './connectors/codex-materialize.js';
|
|
35
|
+
import './logger.js';
|
|
36
|
+
import './consolidation-operator.js';
|
|
37
|
+
import './embedding-fallback.js';
|
|
38
|
+
import './extraction.js';
|
|
39
|
+
import './schemas.js';
|
|
40
|
+
import './profiling.js';
|
|
41
|
+
import './objective-state.js';
|
|
42
|
+
import './causal-trajectory.js';
|
|
43
|
+
import './trust-zones.js';
|
|
44
|
+
import './harmonic-retrieval.js';
|
|
45
|
+
import './abstraction-nodes.js';
|
|
46
|
+
import './cue-anchors.js';
|
|
47
|
+
import './verified-recall.js';
|
|
48
|
+
import './boxes.js';
|
|
49
|
+
import './semantic-rule-verifier.js';
|
|
50
|
+
import './work-product-ledger.js';
|
|
51
|
+
import './trust-score-stage.js';
|
|
52
|
+
import './trust-score.js';
|
|
53
|
+
import './conversation-index/chunker.js';
|
|
54
|
+
import './conversation-index/backend.js';
|
|
55
|
+
import './faiss-adapter-BHecI1fF.js';
|
|
56
|
+
import './runtime/child-process.js';
|
|
57
|
+
import './namespaces/storage.js';
|
|
58
|
+
import './threading.js';
|
|
59
|
+
import './graph.js';
|
|
60
|
+
import './live-connectors-runner.js';
|
|
61
|
+
import './framework-CNDn2164.js';
|
|
62
|
+
import './relevance.js';
|
|
63
|
+
import './negative.js';
|
|
64
|
+
import './session-observer-state.js';
|
|
65
|
+
import './semantic-DJR8_DMQ.js';
|
|
66
|
+
import './replay/types.js';
|
|
67
|
+
import './message-parts/index.js';
|
|
68
|
+
import './types-gb_SNtjR.js';
|
|
69
|
+
import './extraction-judge.js';
|
|
70
|
+
import './lcm/engine.js';
|
|
71
|
+
import './lcm/archive.js';
|
|
72
|
+
import 'better-sqlite3';
|
|
73
|
+
import './lcm/summarizer.js';
|
|
74
|
+
import './lcm/dag.js';
|
|
75
|
+
import './lcm/queue.js';
|
|
76
|
+
import './policy-runtime.js';
|
|
77
|
+
import './memory-provenance.js';
|
|
78
|
+
import './user-model.js';
|
|
79
|
+
import './page-versioning.js';
|
|
80
|
+
import './memory-projection-store.js';
|
|
81
|
+
import './maintenance/memory-governance.js';
|
|
82
|
+
import './runtime/better-sqlite.js';
|
|
83
|
+
import './structured-attributes.js';
|
|
84
|
+
import './types-B1VHaf2w.js';
|
|
85
|
+
import './recall-explain-renderer.js';
|
|
86
|
+
import './explicit-capture.js';
|
|
87
|
+
import './graph-snapshot.js';
|
|
88
|
+
import './memory-worth-outcomes.js';
|
|
89
|
+
import './transfer/capsule-import.js';
|
|
90
|
+
import './transfer/types.js';
|
|
91
|
+
import './transfer/capsule-export.js';
|
|
92
|
+
import './capsule-cli.js';
|
|
93
|
+
import './offline-sync.js';
|
|
94
|
+
import './action-confidence.js';
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Access recall read-surface (extracted from access-service.ts; god-file
|
|
98
|
+
* decomposition follow-through of #1526, same playbook: verbatim move +
|
|
99
|
+
* live selfDeps wiring so Object.create(prototype) fakes and instance
|
|
100
|
+
* stubs keep working).
|
|
101
|
+
*
|
|
102
|
+
* Owns the recall read pipeline of the access layer:
|
|
103
|
+
* - executeRecall (budget/audit-gated recall + serialization)
|
|
104
|
+
* - recallXray (X-ray capture surface, #570)
|
|
105
|
+
* - serializeRecallResults / buildRecallResponseFromXraySnapshot
|
|
106
|
+
* - fetchRawExcerpts (raw-excerpt read gate)
|
|
107
|
+
*/
|
|
108
|
+
|
|
109
|
+
interface AccessRecallSurfaceDeps {
|
|
110
|
+
readonly auditAdapter: AccessAuditAdapter | null;
|
|
111
|
+
readonly budget: CrossNamespaceBudget;
|
|
112
|
+
buildRecallDebug(snapshot: LastRecallSnapshot | null, namespace: string, includeDebug: boolean, sessionKey?: string): Promise<EngramAccessRecallResponse["debug"] | undefined>;
|
|
113
|
+
buildRecallResponseFromXraySnapshot(options: {
|
|
114
|
+
query: string;
|
|
115
|
+
sessionKey?: string;
|
|
116
|
+
snapshot: RecallXraySnapshot;
|
|
117
|
+
disclosure: RecallDisclosure;
|
|
118
|
+
startedAt: number;
|
|
119
|
+
requestedMode?: RecallPlanMode | "auto";
|
|
120
|
+
normalizedMode?: RecallPlanMode;
|
|
121
|
+
/**
|
|
122
|
+
* Read-authorization-gated namespace for the raw-excerpt LCM lookup (#1505
|
|
123
|
+
* thread 2f7). Threaded through to `serializeRecallResults` so the
|
|
124
|
+
* `includeRecall` x-ray path honours the SAME read gate as normal recall and
|
|
125
|
+
* never attaches overlay transcript rows the gate excludes.
|
|
126
|
+
*/
|
|
127
|
+
rawExcerptNamespace?: string;
|
|
128
|
+
/**
|
|
129
|
+
* Ordered, read-authorized LCM read session_id SET (#1505 fallback
|
|
130
|
+
* unification). Threaded through to `serializeRecallResults` so the x-ray raw
|
|
131
|
+
* disclosure path also finds excerpts archived at the coding read fallbacks.
|
|
132
|
+
*/
|
|
133
|
+
rawExcerptSessionIds?: string[];
|
|
134
|
+
/**
|
|
135
|
+
* Force NO raw excerpts (#1505 thread NBHWz). Set when the IMPLICIT
|
|
136
|
+
* raw-excerpt read gate found NO readable LCM namespace, so the x-ray
|
|
137
|
+
* includeRecall path degrades to empty excerpts rather than falling back to
|
|
138
|
+
* the write/overlay namespace the read gate excludes.
|
|
139
|
+
*/
|
|
140
|
+
rawExcerptsSuppressed?: boolean;
|
|
141
|
+
}): Promise<EngramAccessRecallResponse>;
|
|
142
|
+
fetchRawExcerpts(disclosure: RecallDisclosure, context: {
|
|
143
|
+
query: string;
|
|
144
|
+
sessionKey?: string;
|
|
145
|
+
namespace?: string;
|
|
146
|
+
/**
|
|
147
|
+
* Pre-resolved, ordered, read-authorized LCM read session_id SET (#1505
|
|
148
|
+
* fallback unification). When supplied, raw disclosure queries each key in
|
|
149
|
+
* order (primary coding overlay → read fallbacks) and merges rows, exactly
|
|
150
|
+
* as the orchestrator recall path and `lcmSearch` do, so a branch-scoped
|
|
151
|
+
* session finds excerpts archived at project/root scope. Already
|
|
152
|
+
* read-gated by `resolveLcmReadSessionIds`, so an unauthorized
|
|
153
|
+
* `<principal>-project-*` key is never present. Falls back to the legacy
|
|
154
|
+
* single `namespace`-prefixed key when absent (sessionless / legacy
|
|
155
|
+
* callers).
|
|
156
|
+
*/
|
|
157
|
+
lcmSessionIds?: string[];
|
|
158
|
+
} | null): Promise<EngramAccessMemorySummary["rawExcerpts"] | null>;
|
|
159
|
+
maybeAttachCodingContext(sessionKey: string | undefined, options: {
|
|
160
|
+
cwd?: string;
|
|
161
|
+
projectTag?: string;
|
|
162
|
+
}): Promise<void>;
|
|
163
|
+
normalizeRecallMode(mode?: RecallPlanMode | "auto"): RecallPlanMode | undefined;
|
|
164
|
+
readonly orchestrator: Orchestrator;
|
|
165
|
+
resolveLcmReadSessionIds(explicitNamespace: string | undefined, resolvedNamespace: string, sessionKey: string, authenticatedPrincipal: string | undefined): string[];
|
|
166
|
+
resolveNamespace(namespace?: string): string;
|
|
167
|
+
resolveRawExcerptReadNamespace(explicitNamespace: string | undefined, sessionKey: string | undefined, authenticatedPrincipal: string | undefined): string | undefined;
|
|
168
|
+
resolveRecallNamespace(namespace: string | undefined, sessionKey: string | undefined, authenticatedPrincipal?: string): string | undefined;
|
|
169
|
+
resolveRequestPrincipal(sessionKey: string | undefined, authenticatedPrincipal?: string): string | undefined;
|
|
170
|
+
serializeMemorySummary(memory: MemoryFile, baseDir: string, disclosure?: RecallDisclosure, rawExcerpts?: EngramAccessMemorySummary["rawExcerpts"]): EngramAccessMemorySummary;
|
|
171
|
+
serializeRecallResults(snapshot: LastRecallSnapshot | null, disclosure: RecallDisclosure, rawContext?: {
|
|
172
|
+
query: string;
|
|
173
|
+
sessionKey?: string;
|
|
174
|
+
/**
|
|
175
|
+
* Read-authorization-gated namespace for the raw-excerpt LCM lookup
|
|
176
|
+
* (#1505 thread 2f7). When the caller supplies it, the raw lookup uses
|
|
177
|
+
* THIS namespace prefix instead of `snapshot.namespace` (the
|
|
178
|
+
* write/overlay namespace), so raw disclosure honours the SAME read
|
|
179
|
+
* gate as normal recall + `lcmSearch`. Omitted ⇒ falls back to the
|
|
180
|
+
* snapshot namespace (single-store / sessionless callers, unchanged).
|
|
181
|
+
*/
|
|
182
|
+
rawExcerptNamespace?: string;
|
|
183
|
+
/**
|
|
184
|
+
* Ordered, read-authorized LCM read session_id SET (#1505 fallback
|
|
185
|
+
* unification). When supplied, raw disclosure queries each key (primary
|
|
186
|
+
* coding overlay → read fallbacks) and merges rows so a branch-scoped
|
|
187
|
+
* session finds excerpts archived at project/root scope. Already
|
|
188
|
+
* read-gated, so no unauthorized overlay key is present. Omitted ⇒ the
|
|
189
|
+
* legacy single `rawExcerptNamespace`-prefixed key (unchanged).
|
|
190
|
+
*/
|
|
191
|
+
rawExcerptSessionIds?: string[];
|
|
192
|
+
/**
|
|
193
|
+
* Force NO raw excerpts even when `disclosure === "raw"` (#1505 thread
|
|
194
|
+
* NBHWz). Set by callers when the IMPLICIT raw-excerpt read gate found
|
|
195
|
+
* NO readable LCM namespace (a restrictive `default` READ policy with
|
|
196
|
+
* no readable overlay/self namespace). The lookup must NOT fall back to
|
|
197
|
+
* `snapshot.namespace` (the write/overlay namespace the read gate
|
|
198
|
+
* excludes) — it returns empty excerpts so raw recall degrades
|
|
199
|
+
* gracefully instead of leaking unreadable rows or throwing.
|
|
200
|
+
*/
|
|
201
|
+
rawExcerptsSuppressed?: boolean;
|
|
202
|
+
} | null): Promise<EngramAccessMemorySummary[]>;
|
|
203
|
+
setCodingContext(request: EngramAccessSetCodingContextRequest): void;
|
|
204
|
+
storageForAbsoluteRecallPath(memoryPath: string, primaryNamespace: string, recallNamespaces?: readonly string[]): Promise<{
|
|
205
|
+
storage: StorageManager;
|
|
206
|
+
dir: string;
|
|
207
|
+
} | null>;
|
|
208
|
+
xrayQueue: Promise<void>;
|
|
209
|
+
}
|
|
210
|
+
declare class AccessRecallSurface {
|
|
211
|
+
private readonly deps;
|
|
212
|
+
constructor(deps: AccessRecallSurfaceDeps);
|
|
213
|
+
buildRecallResponseFromXraySnapshot(options: {
|
|
214
|
+
query: string;
|
|
215
|
+
sessionKey?: string;
|
|
216
|
+
snapshot: RecallXraySnapshot;
|
|
217
|
+
disclosure: RecallDisclosure;
|
|
218
|
+
startedAt: number;
|
|
219
|
+
requestedMode?: RecallPlanMode | "auto";
|
|
220
|
+
normalizedMode?: RecallPlanMode;
|
|
221
|
+
/**
|
|
222
|
+
* Read-authorization-gated namespace for the raw-excerpt LCM lookup (#1505
|
|
223
|
+
* thread 2f7). Threaded through to `serializeRecallResults` so the
|
|
224
|
+
* `includeRecall` x-ray path honours the SAME read gate as normal recall and
|
|
225
|
+
* never attaches overlay transcript rows the gate excludes.
|
|
226
|
+
*/
|
|
227
|
+
rawExcerptNamespace?: string;
|
|
228
|
+
/**
|
|
229
|
+
* Ordered, read-authorized LCM read session_id SET (#1505 fallback
|
|
230
|
+
* unification). Threaded through to `serializeRecallResults` so the x-ray raw
|
|
231
|
+
* disclosure path also finds excerpts archived at the coding read fallbacks.
|
|
232
|
+
*/
|
|
233
|
+
rawExcerptSessionIds?: string[];
|
|
234
|
+
/**
|
|
235
|
+
* Force NO raw excerpts (#1505 thread NBHWz). Set when the IMPLICIT
|
|
236
|
+
* raw-excerpt read gate found NO readable LCM namespace, so the x-ray
|
|
237
|
+
* includeRecall path degrades to empty excerpts rather than falling back to
|
|
238
|
+
* the write/overlay namespace the read gate excludes.
|
|
239
|
+
*/
|
|
240
|
+
rawExcerptsSuppressed?: boolean;
|
|
241
|
+
}): Promise<EngramAccessRecallResponse>;
|
|
242
|
+
serializeRecallResults(snapshot: LastRecallSnapshot | null, disclosure: RecallDisclosure, rawContext?: {
|
|
243
|
+
query: string;
|
|
244
|
+
sessionKey?: string;
|
|
245
|
+
/**
|
|
246
|
+
* Read-authorization-gated namespace for the raw-excerpt LCM lookup
|
|
247
|
+
* (#1505 thread 2f7). When the caller supplies it, the raw lookup uses
|
|
248
|
+
* THIS namespace prefix instead of `snapshot.namespace` (the
|
|
249
|
+
* write/overlay namespace), so raw disclosure honours the SAME read
|
|
250
|
+
* gate as normal recall + `lcmSearch`. Omitted ⇒ falls back to the
|
|
251
|
+
* snapshot namespace (single-store / sessionless callers, unchanged).
|
|
252
|
+
*/
|
|
253
|
+
rawExcerptNamespace?: string;
|
|
254
|
+
/**
|
|
255
|
+
* Ordered, read-authorized LCM read session_id SET (#1505 fallback
|
|
256
|
+
* unification). When supplied, raw disclosure queries each key (primary
|
|
257
|
+
* coding overlay → read fallbacks) and merges rows so a branch-scoped
|
|
258
|
+
* session finds excerpts archived at project/root scope. Already
|
|
259
|
+
* read-gated, so no unauthorized overlay key is present. Omitted ⇒ the
|
|
260
|
+
* legacy single `rawExcerptNamespace`-prefixed key (unchanged).
|
|
261
|
+
*/
|
|
262
|
+
rawExcerptSessionIds?: string[];
|
|
263
|
+
/**
|
|
264
|
+
* Force NO raw excerpts even when `disclosure === "raw"` (#1505 thread
|
|
265
|
+
* NBHWz). Set by callers when the IMPLICIT raw-excerpt read gate found
|
|
266
|
+
* NO readable LCM namespace (a restrictive `default` READ policy with
|
|
267
|
+
* no readable overlay/self namespace). The lookup must NOT fall back to
|
|
268
|
+
* `snapshot.namespace` (the write/overlay namespace the read gate
|
|
269
|
+
* excludes) — it returns empty excerpts so raw recall degrades
|
|
270
|
+
* gracefully instead of leaking unreadable rows or throwing.
|
|
271
|
+
*/
|
|
272
|
+
rawExcerptsSuppressed?: boolean;
|
|
273
|
+
} | null): Promise<EngramAccessMemorySummary[]>;
|
|
274
|
+
/**
|
|
275
|
+
* Fetch raw transcript excerpts from the LCM archive for `disclosure ===
|
|
276
|
+
* "raw"` recalls (issue #677 PR 2/4). Returns `null` for non-raw recall
|
|
277
|
+
* depths, an empty array when LCM is disabled / not initialized / has no
|
|
278
|
+
* matches, and an array of LCM-side excerpts otherwise. Errors are
|
|
279
|
+
* swallowed and treated as "no excerpts" so a failing LCM never breaks
|
|
280
|
+
* the recall response.
|
|
281
|
+
*
|
|
282
|
+
* Namespace handling: LCM archival prefixes non-default-namespace
|
|
283
|
+
* sessions with `${namespace}:${sessionKey}` (see `observe()` around
|
|
284
|
+
* line 2498), so the lookup must mirror that prefix or raw recalls in
|
|
285
|
+
* non-default namespaces miss their own excerpts.
|
|
286
|
+
*/
|
|
287
|
+
fetchRawExcerpts(disclosure: RecallDisclosure, context: {
|
|
288
|
+
query: string;
|
|
289
|
+
sessionKey?: string;
|
|
290
|
+
namespace?: string;
|
|
291
|
+
/**
|
|
292
|
+
* Pre-resolved, ordered, read-authorized LCM read session_id SET (#1505
|
|
293
|
+
* fallback unification). When supplied, raw disclosure queries each key in
|
|
294
|
+
* order (primary coding overlay → read fallbacks) and merges rows, exactly
|
|
295
|
+
* as the orchestrator recall path and `lcmSearch` do, so a branch-scoped
|
|
296
|
+
* session finds excerpts archived at project/root scope. Already
|
|
297
|
+
* read-gated by `resolveLcmReadSessionIds`, so an unauthorized
|
|
298
|
+
* `<principal>-project-*` key is never present. Falls back to the legacy
|
|
299
|
+
* single `namespace`-prefixed key when absent (sessionless / legacy
|
|
300
|
+
* callers).
|
|
301
|
+
*/
|
|
302
|
+
lcmSessionIds?: string[];
|
|
303
|
+
} | null): Promise<EngramAccessMemorySummary["rawExcerpts"] | null>;
|
|
304
|
+
executeRecall(request: EngramAccessRecallRequest): Promise<{
|
|
305
|
+
response: EngramAccessRecallResponse;
|
|
306
|
+
budgetRecordPrincipal: string | null;
|
|
307
|
+
}>;
|
|
308
|
+
/**
|
|
309
|
+
* Recall X-ray (issue #570). Runs a recall with `xrayCapture: true`
|
|
310
|
+
* and returns the resulting snapshot as structured JSON so every
|
|
311
|
+
* surface (CLI / HTTP / MCP) gets the same payload. Namespace scope
|
|
312
|
+
* is enforced before the recall fires (CLAUDE.md rule 42 — read and
|
|
313
|
+
* write paths must resolve through the same namespace layer) so an
|
|
314
|
+
* unauthorized principal cannot capture an x-ray for a namespace it
|
|
315
|
+
* cannot read.
|
|
316
|
+
*/
|
|
317
|
+
recallXray(request: {
|
|
318
|
+
query: string;
|
|
319
|
+
sessionKey?: string;
|
|
320
|
+
namespace?: string;
|
|
321
|
+
budget?: number;
|
|
322
|
+
authenticatedPrincipal?: string;
|
|
323
|
+
/**
|
|
324
|
+
* Disclosure depth used to shape per-result payload (issue #677
|
|
325
|
+
* PR 3/4). When set, each X-ray result is decorated with the
|
|
326
|
+
* matching `disclosure` field and `estimatedTokens` computed from
|
|
327
|
+
* the actual rendered content at that depth, so the renderer's
|
|
328
|
+
* "Token spend by disclosure" summary reflects real spend rather
|
|
329
|
+
* than staying empty when no caller wires the depth knob through.
|
|
330
|
+
*/
|
|
331
|
+
disclosure?: RecallDisclosure;
|
|
332
|
+
/**
|
|
333
|
+
* Free-form recall tag filter (issue #689). Mirrors the field on
|
|
334
|
+
* `EngramAccessRecallRequest`. When non-empty, the captured X-ray
|
|
335
|
+
* snapshot's `results` are filtered down to memories whose
|
|
336
|
+
* frontmatter tags satisfy `tagMatch` ("any" by default), and a
|
|
337
|
+
* `tag-filter` entry is appended to `filters`.
|
|
338
|
+
*/
|
|
339
|
+
tags?: string[];
|
|
340
|
+
/** Match mode for `tags`. See `EngramAccessRecallRequest.tagMatch`. */
|
|
341
|
+
tagMatch?: "any" | "all";
|
|
342
|
+
/** Recall planner mode override. Mirrors `EngramAccessRecallRequest.mode`. */
|
|
343
|
+
mode?: RecallPlanMode | "auto";
|
|
344
|
+
/**
|
|
345
|
+
* User-aware context scopes active for this recall. Forwarded into
|
|
346
|
+
* provenance construction so boundary scopes are evaluated against
|
|
347
|
+
* the caller's real context instead of an empty-context default.
|
|
348
|
+
*/
|
|
349
|
+
currentContextScopes?: readonly unknown[];
|
|
350
|
+
/**
|
|
351
|
+
* Internal inspector affordance: include a recall-shaped response
|
|
352
|
+
* derived from the same X-ray snapshot. Left off by default so the
|
|
353
|
+
* regular X-ray API/CLI/MCP surfaces keep their existing payload shape.
|
|
354
|
+
*/
|
|
355
|
+
includeRecall?: boolean;
|
|
356
|
+
}): Promise<{
|
|
357
|
+
snapshotFound: boolean;
|
|
358
|
+
snapshot?: RecallXraySnapshot;
|
|
359
|
+
recall?: EngramAccessRecallResponse;
|
|
360
|
+
}>;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
export { AccessRecallSurface, type AccessRecallSurfaceDeps };
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AccessRecallSurface
|
|
3
|
+
} from "./chunk-VX2RYM2K.js";
|
|
4
|
+
import "./chunk-GDASG7NC.js";
|
|
5
|
+
import "./chunk-GDB4J2H3.js";
|
|
6
|
+
import "./chunk-M5QKGHCR.js";
|
|
7
|
+
import "./chunk-64SE4X5G.js";
|
|
8
|
+
import "./chunk-VQ7B2Q6M.js";
|
|
9
|
+
import "./chunk-ERA5RSMZ.js";
|
|
10
|
+
import "./chunk-JGSKJHF7.js";
|
|
11
|
+
import "./chunk-IQ7WCZRW.js";
|
|
12
|
+
import "./chunk-S4DDLTPX.js";
|
|
13
|
+
import "./chunk-FF4KLI5W.js";
|
|
14
|
+
import "./chunk-BT7NVCML.js";
|
|
15
|
+
import "./chunk-H7XKCNR6.js";
|
|
16
|
+
import "./chunk-2KK5WNQB.js";
|
|
17
|
+
import "./chunk-SOBJ6NEY.js";
|
|
18
|
+
import "./chunk-6MMONPHM.js";
|
|
19
|
+
import "./chunk-ICP53SKG.js";
|
|
20
|
+
import "./chunk-AQEJKOKI.js";
|
|
21
|
+
import "./chunk-6HMYUWXR.js";
|
|
22
|
+
import "./chunk-GECEETQ3.js";
|
|
23
|
+
import "./chunk-5DXUE7GB.js";
|
|
24
|
+
import "./chunk-QRM3K3XT.js";
|
|
25
|
+
import "./chunk-5CEJH5ZN.js";
|
|
26
|
+
import "./chunk-WRFKZEO6.js";
|
|
27
|
+
import "./chunk-CYEPCZN5.js";
|
|
28
|
+
import "./chunk-LQ6JI4VH.js";
|
|
29
|
+
import "./chunk-SANZHXY2.js";
|
|
30
|
+
import "./chunk-AER6MT24.js";
|
|
31
|
+
import "./chunk-R7TGDLV3.js";
|
|
32
|
+
import "./chunk-CINZGPSJ.js";
|
|
33
|
+
import "./chunk-ZFXCQPNO.js";
|
|
34
|
+
import "./chunk-JHZ3LEM7.js";
|
|
35
|
+
import "./chunk-DCWIQFNA.js";
|
|
36
|
+
import "./chunk-XBZQRZ6G.js";
|
|
37
|
+
import "./chunk-KCQA46NR.js";
|
|
38
|
+
import "./chunk-SJHM6I4J.js";
|
|
39
|
+
import "./chunk-K43PI6DQ.js";
|
|
40
|
+
import "./chunk-YNQ6DFSV.js";
|
|
41
|
+
import "./chunk-EIR5VLIH.js";
|
|
42
|
+
import "./chunk-TQT3USCG.js";
|
|
43
|
+
import "./chunk-EI6V5UXY.js";
|
|
44
|
+
import "./chunk-PNLCEFE4.js";
|
|
45
|
+
import "./chunk-O75CRYGF.js";
|
|
46
|
+
import "./chunk-QDW3E4RD.js";
|
|
47
|
+
import "./chunk-XKAOT4ZB.js";
|
|
48
|
+
import "./chunk-3ONXXHQO.js";
|
|
49
|
+
import "./chunk-ODPLEWB6.js";
|
|
50
|
+
import "./chunk-EHQ5HO5T.js";
|
|
51
|
+
import "./chunk-2LSZVONP.js";
|
|
52
|
+
import "./chunk-DEUNUKTD.js";
|
|
53
|
+
import "./chunk-ZY2MNJR6.js";
|
|
54
|
+
import "./chunk-V5UV7BOA.js";
|
|
55
|
+
import "./chunk-TBBDFYXW.js";
|
|
56
|
+
import "./chunk-ZBJMUXZH.js";
|
|
57
|
+
import "./chunk-MTN2G4DT.js";
|
|
58
|
+
import "./chunk-YGNQG4Q6.js";
|
|
59
|
+
import "./chunk-L2B3EE7B.js";
|
|
60
|
+
import "./chunk-M7XQSUBB.js";
|
|
61
|
+
import "./chunk-5UZXUTVO.js";
|
|
62
|
+
import "./chunk-5GPPACXK.js";
|
|
63
|
+
import "./chunk-SVOZFLIQ.js";
|
|
64
|
+
import "./chunk-LTJAMRGI.js";
|
|
65
|
+
import "./chunk-TKZ3AL5V.js";
|
|
66
|
+
import "./chunk-6CIAGZ6X.js";
|
|
67
|
+
import "./chunk-J6A3CX5N.js";
|
|
68
|
+
import "./chunk-JS2HKKOK.js";
|
|
69
|
+
import "./chunk-AWJ2FHCF.js";
|
|
70
|
+
import "./chunk-42JKGUFJ.js";
|
|
71
|
+
import "./chunk-RULE4VG5.js";
|
|
72
|
+
import "./chunk-SCU65EZI.js";
|
|
73
|
+
import "./chunk-MB5RSUW6.js";
|
|
74
|
+
import "./chunk-6KYMPV2O.js";
|
|
75
|
+
import "./chunk-DM2T26WE.js";
|
|
76
|
+
import "./chunk-LDXUBPMO.js";
|
|
77
|
+
import "./chunk-YTU7WKYN.js";
|
|
78
|
+
import "./chunk-AAD2ZS6P.js";
|
|
79
|
+
import "./chunk-G7D6GZ5J.js";
|
|
80
|
+
import "./chunk-VF4XKTX3.js";
|
|
81
|
+
import "./chunk-W5H6ZRPT.js";
|
|
82
|
+
import "./chunk-VUA4S7P6.js";
|
|
83
|
+
import "./chunk-IQVQJJL7.js";
|
|
84
|
+
import "./chunk-L2EXJQJP.js";
|
|
85
|
+
import "./chunk-VL7DP3OW.js";
|
|
86
|
+
import "./chunk-RGMVMVMF.js";
|
|
87
|
+
import "./chunk-N7RWREIQ.js";
|
|
88
|
+
import "./chunk-OEHCMALU.js";
|
|
89
|
+
import "./chunk-PHK3HARR.js";
|
|
90
|
+
import "./chunk-4DJQYKMN.js";
|
|
91
|
+
import "./chunk-5GKPFL3S.js";
|
|
92
|
+
import "./chunk-EYIEWJNI.js";
|
|
93
|
+
import "./chunk-JUC24CTX.js";
|
|
94
|
+
import "./chunk-NU3CSQ4H.js";
|
|
95
|
+
import "./chunk-FLVL4L3L.js";
|
|
96
|
+
import "./chunk-WEHSQBFR.js";
|
|
97
|
+
import "./chunk-437S3G37.js";
|
|
98
|
+
import "./chunk-J4EB7DNW.js";
|
|
99
|
+
import "./chunk-GWTFLF2P.js";
|
|
100
|
+
import "./chunk-UKJAGEXH.js";
|
|
101
|
+
import "./chunk-FP2373TW.js";
|
|
102
|
+
import "./chunk-X64YLC24.js";
|
|
103
|
+
import "./chunk-UI3NYK34.js";
|
|
104
|
+
import "./chunk-GCGJW34D.js";
|
|
105
|
+
import "./chunk-J2HSAU72.js";
|
|
106
|
+
import "./chunk-A6XUJE5D.js";
|
|
107
|
+
import "./chunk-P7FMDTKL.js";
|
|
108
|
+
import "./chunk-VS2IYZRU.js";
|
|
109
|
+
import "./chunk-Z2YFLXHU.js";
|
|
110
|
+
import "./chunk-I4WBNM3M.js";
|
|
111
|
+
import "./chunk-SOAU2OE2.js";
|
|
112
|
+
import "./chunk-PE6XR4GG.js";
|
|
113
|
+
import "./chunk-U3PN77QT.js";
|
|
114
|
+
import "./chunk-VSF7AAGE.js";
|
|
115
|
+
import "./chunk-6MKAMLQL.js";
|
|
116
|
+
import "./chunk-JAKIDQB2.js";
|
|
117
|
+
import "./chunk-PVGDJXVK.js";
|
|
118
|
+
import "./chunk-A2IYSXDQ.js";
|
|
119
|
+
import "./chunk-LPSF4OQH.js";
|
|
120
|
+
import "./chunk-TVVEYCNW.js";
|
|
121
|
+
import "./chunk-RFYAYKTD.js";
|
|
122
|
+
import "./chunk-LBLXEFWK.js";
|
|
123
|
+
import "./chunk-VFUEZZBS.js";
|
|
124
|
+
import "./chunk-PZ5AY32C.js";
|
|
125
|
+
export {
|
|
126
|
+
AccessRecallSurface
|
|
127
|
+
};
|
|
128
|
+
//# sourceMappingURL=access-recall-surface.js.map
|
package/dist/access-schema.js
CHANGED
|
@@ -25,17 +25,14 @@ import {
|
|
|
25
25
|
trustZoneDemoSeedRequestSchema,
|
|
26
26
|
trustZonePromoteRequestSchema,
|
|
27
27
|
validateRequest
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-KFNG72W7.js";
|
|
29
|
+
import "./chunk-FLVL4L3L.js";
|
|
30
30
|
import "./chunk-WEHSQBFR.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-437S3G37.js";
|
|
32
32
|
import "./chunk-J4EB7DNW.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-GWTFLF2P.js";
|
|
34
34
|
import "./chunk-UKJAGEXH.js";
|
|
35
35
|
import "./chunk-FP2373TW.js";
|
|
36
|
-
import "./chunk-Z2YFLXHU.js";
|
|
37
|
-
import "./chunk-I4WBNM3M.js";
|
|
38
|
-
import "./chunk-SOAU2OE2.js";
|
|
39
36
|
import "./chunk-X64YLC24.js";
|
|
40
37
|
import "./chunk-UI3NYK34.js";
|
|
41
38
|
import "./chunk-GCGJW34D.js";
|
|
@@ -43,6 +40,9 @@ import "./chunk-J2HSAU72.js";
|
|
|
43
40
|
import "./chunk-A6XUJE5D.js";
|
|
44
41
|
import "./chunk-P7FMDTKL.js";
|
|
45
42
|
import "./chunk-VS2IYZRU.js";
|
|
43
|
+
import "./chunk-Z2YFLXHU.js";
|
|
44
|
+
import "./chunk-I4WBNM3M.js";
|
|
45
|
+
import "./chunk-SOAU2OE2.js";
|
|
46
46
|
import "./chunk-PZ5AY32C.js";
|
|
47
47
|
export {
|
|
48
48
|
actionConfidenceRequestSchema,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as NamespaceRecord } from './catalog-
|
|
2
|
-
import { P as PluginConfig, ax as CodingContext,
|
|
3
|
-
import { R as ResolvedScopeProfilePlan, O as Orchestrator, I as IntentDebugSnapshot, G as GraphRecallSnapshot, P as PatternReinforcementResult, S as ScopeProfileLayerResolution, a as ScopeProfilePromotionResolution, W as WearablesService } from './orchestrator-
|
|
1
|
+
import { a as NamespaceRecord } from './catalog-D_FvzTM0.js';
|
|
2
|
+
import { P as PluginConfig, ax as CodingContext, g as MemoryCategory, D as DaySummaryResult, a as RecallPlanMode, R as RecallDisclosure, M as MemoryFile, m as MemoryLifecycleEvent, E as EntityFile, i as MemoryStatus, ay as DreamsStatusResult, az as DreamsPhase, aA as DreamsRunResult } from './types-BfI4uJeb.js';
|
|
3
|
+
import { R as ResolvedScopeProfilePlan, O as Orchestrator, I as IntentDebugSnapshot, G as GraphRecallSnapshot, P as PatternReinforcementResult, S as ScopeProfileLayerResolution, a as ScopeProfilePromotionResolution, W as WearablesService } from './orchestrator-BhxMxtQJ.js';
|
|
4
4
|
import { StorageManager } from './storage.js';
|
|
5
5
|
import { a as Peer, b as PeerProfile } from './types-B1VHaf2w.js';
|
|
6
6
|
import { RecallExplainJsonPayload } from './recall-explain-renderer.js';
|
|
@@ -1724,6 +1724,9 @@ declare class EngramAccessService {
|
|
|
1724
1724
|
private readonly budgetLocks;
|
|
1725
1725
|
private readonly budget;
|
|
1726
1726
|
private readonly auditAdapter;
|
|
1727
|
+
/** AccessRecallSurface (access-service decomposition). Lazy; selfDeps live wiring. */
|
|
1728
|
+
private _accessRecallSurface;
|
|
1729
|
+
private get accessRecallSurface();
|
|
1727
1730
|
constructor(orchestrator: Orchestrator);
|
|
1728
1731
|
get briefingEnabled(): boolean;
|
|
1729
1732
|
private resolveNamespace;
|
|
@@ -1798,19 +1801,6 @@ declare class EngramAccessService {
|
|
|
1798
1801
|
private buildRecallResponseFromXraySnapshot;
|
|
1799
1802
|
private serializeRecallResults;
|
|
1800
1803
|
private storageForAbsoluteRecallPath;
|
|
1801
|
-
/**
|
|
1802
|
-
* Fetch raw transcript excerpts from the LCM archive for `disclosure ===
|
|
1803
|
-
* "raw"` recalls (issue #677 PR 2/4). Returns `null` for non-raw recall
|
|
1804
|
-
* depths, an empty array when LCM is disabled / not initialized / has no
|
|
1805
|
-
* matches, and an array of LCM-side excerpts otherwise. Errors are
|
|
1806
|
-
* swallowed and treated as "no excerpts" so a failing LCM never breaks
|
|
1807
|
-
* the recall response.
|
|
1808
|
-
*
|
|
1809
|
-
* Namespace handling: LCM archival prefixes non-default-namespace
|
|
1810
|
-
* sessions with `${namespace}:${sessionKey}` (see `observe()` around
|
|
1811
|
-
* line 2498), so the lookup must mirror that prefix or raw recalls in
|
|
1812
|
-
* non-default namespaces miss their own excerpts.
|
|
1813
|
-
*/
|
|
1814
1804
|
private fetchRawExcerpts;
|
|
1815
1805
|
private handleIdempotentWrite;
|
|
1816
1806
|
private handleIdempotentRead;
|
|
@@ -1870,15 +1860,6 @@ declare class EngramAccessService {
|
|
|
1870
1860
|
private executeRecall;
|
|
1871
1861
|
recallExplain(request?: EngramAccessRecallExplainRequest): Promise<EngramAccessRecallExplainResponse>;
|
|
1872
1862
|
recallTierExplain(sessionKey?: string, namespace?: string, authenticatedPrincipal?: string): Promise<RecallExplainJsonPayload>;
|
|
1873
|
-
/**
|
|
1874
|
-
* Recall X-ray (issue #570). Runs a recall with `xrayCapture: true`
|
|
1875
|
-
* and returns the resulting snapshot as structured JSON so every
|
|
1876
|
-
* surface (CLI / HTTP / MCP) gets the same payload. Namespace scope
|
|
1877
|
-
* is enforced before the recall fires (CLAUDE.md rule 42 — read and
|
|
1878
|
-
* write paths must resolve through the same namespace layer) so an
|
|
1879
|
-
* unauthorized principal cannot capture an x-ray for a namespace it
|
|
1880
|
-
* cannot read.
|
|
1881
|
-
*/
|
|
1882
1863
|
recallXray(request: {
|
|
1883
1864
|
query: string;
|
|
1884
1865
|
sessionKey?: string;
|
|
@@ -2827,4 +2808,4 @@ declare class EngramAccessService {
|
|
|
2827
2808
|
}): Promise<MemoryPromotionResult>;
|
|
2828
2809
|
}
|
|
2829
2810
|
|
|
2830
|
-
export { type
|
|
2811
|
+
export { type EngramAccessOfflineSyncFileContentRequest as $, type ArchitectureSurfaceRequest as A, type EngramAccessEntityResponse as B, type CodegraphSurfaceRequest as C, type DecisionSurfaceRequest as D, type EngramAccessMemoryResponse as E, type EngramAccessEntitySummary as F, type EngramAccessHealthResponse as G, type EngramAccessLcmCompactionFlushRequest as H, type EngramAccessLcmCompactionFlushResponse as I, type EngramAccessLcmCompactionRecordRequest as J, type EngramAccessLcmCompactionRecordResponse as K, type EngramAccessLcmSearchRequest as L, type EngramAccessLcmSearchResponse as M, type EngramAccessLcmStatusResponse as N, type EngramAccessMaintenanceResponse as O, type ProcedureStatsConfigSnapshot as P, type EngramAccessMemoryBrowseRequest as Q, type EngramAccessMemoryBrowseResponse as R, type EngramAccessMemoryRecord as S, type EngramAccessMemoryStoreRequest as T, type EngramAccessObserveMessage as U, type EngramAccessObserveRequest as V, type EngramAccessObserveResponse as W, type EngramAccessOfflineSyncApplyFileContentRequest as X, type EngramAccessOfflineSyncApplyFileContentResponse as Y, type EngramAccessOfflineSyncApplyRequest as Z, type EngramAccessOfflineSyncApplyResponse as _, type ArchitectureSurfaceResponse as a, type EngramAccessOfflineSyncFileContentResponse as a0, type EngramAccessOfflineSyncFilesRequest as a1, type EngramAccessOfflineSyncFilesResponse as a2, type EngramAccessOfflineSyncSnapshotRequest as a3, type EngramAccessOfflineSyncSnapshotResponse as a4, type EngramAccessOfflineSyncSnapshotStreamResponse as a5, type EngramAccessQmdCollectionState as a6, type EngramAccessQmdHealthResponse as a7, type EngramAccessQualityResponse as a8, type EngramAccessRecallExplainRequest as a9, type EngramAccessRecallExplainResponse as aa, type EngramAccessReviewDispositionRequest as ab, type EngramAccessReviewDispositionResponse as ac, type EngramAccessReviewQueueResponse as ad, type EngramAccessScopeDebug as ae, type EngramAccessSuggestionSubmitRequest as af, type EngramAccessTimelineResponse as ag, type EngramAccessTrustZoneBrowseRequest as ah, type EngramAccessTrustZoneBrowseResponse as ai, type EngramAccessTrustZoneDemoSeedRequest as aj, type EngramAccessTrustZoneDemoSeedResponse as ak, type EngramAccessTrustZonePromoteRequest as al, type EngramAccessTrustZonePromoteResponse as am, type EngramAccessTrustZoneRecordSummary as an, type EngramAccessTrustZoneStatusResponse as ao, type EngramAccessWriteEnvelope as ap, type MemoryScopePlan as aq, shapeMemorySummary as ar, type DecisionSurfaceResponse as b, type DeltaSurfaceRequest as c, type DeltaSurfaceResponse as d, type EngramAccessWriteResponse as e, type CodegraphSurfaceResponse as f, type EngramAccessRecallResponse as g, type EngramAccessMemorySummary as h, type EngramAccessSetCodingContextRequest as i, type EngramAccessRecallRequest as j, EngramAccessService as k, EngramAccessInputError as l, type ProcedureStatsRecent as m, type ProcedureStatsReport as n, type ProcedureStatusCounts as o, computeProcedureStats as p, formatProcedureStatsText as q, type CodingScopedWriteInput as r, ENGRAM_ACCESS_WRITE_SCHEMA_VERSION as s, type EngramAccessActionConfidenceRequest as t, type EngramAccessActionConfidenceResponse as u, type EngramAccessBriefingRequest as v, type EngramAccessBriefingResponse as w, type EngramAccessCapsuleListResponse as x, type EngramAccessDaySummaryRequest as y, type EngramAccessEntityListResponse as z };
|
package/dist/access-service.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { r as CodingScopedWriteInput, s as ENGRAM_ACCESS_WRITE_SCHEMA_VERSION, t as EngramAccessActionConfidenceRequest, u as EngramAccessActionConfidenceResponse, v as EngramAccessBriefingRequest, w as EngramAccessBriefingResponse, x as EngramAccessCapsuleListResponse, y as EngramAccessDaySummaryRequest, z as EngramAccessEntityListResponse, B as EngramAccessEntityResponse, F as EngramAccessEntitySummary, G as EngramAccessHealthResponse, l as EngramAccessInputError, H as EngramAccessLcmCompactionFlushRequest, I as EngramAccessLcmCompactionFlushResponse, J as EngramAccessLcmCompactionRecordRequest, K as EngramAccessLcmCompactionRecordResponse, L as EngramAccessLcmSearchRequest, M as EngramAccessLcmSearchResponse, N as EngramAccessLcmStatusResponse, O as EngramAccessMaintenanceResponse, Q as EngramAccessMemoryBrowseRequest, R as EngramAccessMemoryBrowseResponse, S as EngramAccessMemoryRecord, E as EngramAccessMemoryResponse, T as EngramAccessMemoryStoreRequest, h as EngramAccessMemorySummary, U as EngramAccessObserveMessage, V as EngramAccessObserveRequest, W as EngramAccessObserveResponse, X as EngramAccessOfflineSyncApplyFileContentRequest, Y as EngramAccessOfflineSyncApplyFileContentResponse, Z as EngramAccessOfflineSyncApplyRequest, _ as EngramAccessOfflineSyncApplyResponse, $ as EngramAccessOfflineSyncFileContentRequest, a0 as EngramAccessOfflineSyncFileContentResponse, a1 as EngramAccessOfflineSyncFilesRequest, a2 as EngramAccessOfflineSyncFilesResponse, a3 as EngramAccessOfflineSyncSnapshotRequest, a4 as EngramAccessOfflineSyncSnapshotResponse, a5 as EngramAccessOfflineSyncSnapshotStreamResponse, a6 as EngramAccessQmdCollectionState, a7 as EngramAccessQmdHealthResponse, a8 as EngramAccessQualityResponse, a9 as EngramAccessRecallExplainRequest, aa as EngramAccessRecallExplainResponse, j as EngramAccessRecallRequest, g as EngramAccessRecallResponse, ab as EngramAccessReviewDispositionRequest, ac as EngramAccessReviewDispositionResponse, ad as EngramAccessReviewQueueResponse, ae as EngramAccessScopeDebug, k as EngramAccessService, i as EngramAccessSetCodingContextRequest, af as EngramAccessSuggestionSubmitRequest, ag as EngramAccessTimelineResponse, ah as EngramAccessTrustZoneBrowseRequest, ai as EngramAccessTrustZoneBrowseResponse, aj as EngramAccessTrustZoneDemoSeedRequest, ak as EngramAccessTrustZoneDemoSeedResponse, al as EngramAccessTrustZonePromoteRequest, am as EngramAccessTrustZonePromoteResponse, an as EngramAccessTrustZoneRecordSummary, ao as EngramAccessTrustZoneStatusResponse, ap as EngramAccessWriteEnvelope, e as EngramAccessWriteResponse, aq as MemoryScopePlan, ar as shapeMemorySummary } from './access-service-C2cOHQvg.js';
|
|
2
2
|
import './storage.js';
|
|
3
3
|
import './types-B1VHaf2w.js';
|
|
4
4
|
import './recall-explain-renderer.js';
|
|
5
|
-
import './types-
|
|
5
|
+
import './types-BfI4uJeb.js';
|
|
6
6
|
import './recall-audit-anomaly.js';
|
|
7
|
-
import './orchestrator-
|
|
7
|
+
import './orchestrator-BhxMxtQJ.js';
|
|
8
8
|
import './explicit-capture.js';
|
|
9
9
|
import './cross-namespace-budget.js';
|
|
10
10
|
import './maintenance/memory-governance.js';
|
|
@@ -23,7 +23,7 @@ import './transfer/capsule-export.js';
|
|
|
23
23
|
import './capsule-cli.js';
|
|
24
24
|
import './offline-sync.js';
|
|
25
25
|
import './action-confidence.js';
|
|
26
|
-
import './catalog-
|
|
26
|
+
import './catalog-D_FvzTM0.js';
|
|
27
27
|
import './page-versioning.js';
|
|
28
28
|
import './consolidation-operator.js';
|
|
29
29
|
import './memory-projection-store.js';
|
|
@@ -53,7 +53,7 @@ import './utility-runtime.js';
|
|
|
53
53
|
import './tier-routing.js';
|
|
54
54
|
import './lifecycle.js';
|
|
55
55
|
import './orchestration/compression-guideline-coordinator.js';
|
|
56
|
-
import './semantic-consolidation-
|
|
56
|
+
import './semantic-consolidation-BrsoFeMP.js';
|
|
57
57
|
import './connectors/codex-materialize.js';
|
|
58
58
|
import './logger.js';
|
|
59
59
|
import './embedding-fallback.js';
|