@remnic/core 9.3.751 → 9.3.753
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-admin-ops-surface.d.ts +194 -0
- package/dist/access-admin-ops-surface.js +128 -0
- package/dist/access-boundary.d.ts +5 -5
- package/dist/access-boundary.js +30 -30
- package/dist/access-cli.js +92 -92
- package/dist/access-http.d.ts +5 -5
- package/dist/access-http.js +38 -38
- package/dist/access-mcp.d.ts +5 -5
- package/dist/access-mcp.js +35 -35
- package/dist/access-operations-batch.js +32 -32
- package/dist/access-operations.d.ts +11 -11
- package/dist/access-operations.js +34 -34
- package/dist/access-recall-surface.d.ts +363 -0
- package/dist/access-recall-surface.js +128 -0
- package/dist/access-schema.d.ts +116 -116
- package/dist/access-schema.js +8 -8
- package/dist/{access-service-DmAEOJdJ.d.ts → access-service-MitduesD.d.ts} +75 -118
- package/dist/access-service.d.ts +5 -5
- package/dist/access-service.js +33 -29
- 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 +6 -6
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- 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 +3 -3
- package/dist/briefing.js +10 -10
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer.d.ts +3 -3
- 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/capsule-crypto-CZJSLEFG.js.map +1 -0
- package/dist/{catalog-BpOcwHdE.d.ts → catalog-BEmNVRN0.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 +15 -15
- 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-6SXNQFHB.js → chunk-243P7YYV.js} +7 -7
- package/dist/{chunk-2NLLXCJG.js → chunk-2BFLDH5F.js} +2 -2
- package/dist/{chunk-ZBVQ4ZM4.js → chunk-34THARMH.js} +17 -17
- package/dist/{chunk-SNEXVX3U.js → chunk-3HGZX26P.js} +21 -21
- package/dist/{chunk-5PZCDUJ6.js → chunk-3ZIKDH6C.js} +4 -4
- package/dist/{chunk-X7Y7WX73.js → chunk-437S3G37.js} +2 -2
- package/dist/{chunk-RS25QOKZ.js → chunk-64SE4X5G.js} +2 -2
- package/dist/{chunk-JBPKEARU.js → chunk-AU7Q3LSC.js} +4 -4
- package/dist/{chunk-6FNZ3NMS.js → chunk-AXBRVBT6.js} +2 -2
- package/dist/{chunk-W3BFT5OJ.js → chunk-BWOEYBRB.js} +2 -2
- package/dist/{chunk-UU32EAIY.js → chunk-C3IHRWIC.js} +7 -7
- package/dist/{chunk-DBRVU5PR.js → chunk-DKIZ4BUQ.js} +14 -14
- package/dist/{chunk-EEKDRAWX.js → chunk-DS4QM6I7.js} +4 -4
- package/dist/{chunk-WOX2UW4K.js → chunk-E3MRYDUQ.js} +2 -2
- package/dist/{chunk-K2R3DEEH.js → chunk-E6LENGYV.js} +2 -2
- package/dist/{chunk-CGZWGVQF.js → chunk-EEO4YWQ7.js} +9 -9
- package/dist/{chunk-ORAK3LNZ.js → chunk-ER3CCWK2.js} +2 -2
- package/dist/{chunk-TPLE6SNY.js → chunk-GWGWBK5Y.js} +7 -7
- package/dist/{chunk-BJMBJZ2Y.js → chunk-GWTFLF2P.js} +59 -59
- package/dist/chunk-GWTFLF2P.js.map +1 -0
- package/dist/{chunk-IKHKHADN.js → chunk-ITLJATQI.js} +5 -5
- package/dist/{chunk-E4PFDD3N.js → chunk-JES2O5Q6.js} +4 -4
- package/dist/{chunk-QOGXUNWL.js → chunk-JGPURIEH.js} +7 -7
- package/dist/{chunk-YGGXUNS4.js → chunk-KY4WOZ3P.js} +55 -55
- package/dist/{chunk-WA7FECSG.js → chunk-KYHGLDFU.js} +7 -7
- package/dist/{chunk-V5RVMULT.js → chunk-LZ73Y56P.js} +10 -10
- package/dist/{chunk-ARV3AUOM.js → chunk-M5QKGHCR.js} +2 -2
- package/dist/{chunk-SD34EK4Z.js → chunk-N3VE7OCY.js} +4 -4
- package/dist/{chunk-KQAFEZQX.js → chunk-OUXPVWTZ.js} +6 -6
- package/dist/{chunk-NNL4LJAD.js → chunk-OZMBT7N3.js} +5 -5
- package/dist/{chunk-RWZB6MAY.js → chunk-PN5AMCK2.js} +1065 -1176
- package/dist/chunk-PN5AMCK2.js.map +1 -0
- package/dist/{chunk-WWSXVOGY.js → chunk-QIRZI3C3.js} +2 -2
- package/dist/{chunk-B35L45HZ.js → chunk-TVISHYL5.js} +2 -2
- package/dist/{chunk-SQNED75R.js → chunk-V5UV7BOA.js} +1 -1
- package/dist/{chunk-7TWA7DKP.js → chunk-VVSV2QVY.js} +2 -2
- package/dist/{chunk-4NWIGAIC.js → chunk-XOPLMSVV.js} +2 -2
- package/dist/{chunk-K2JM4DZZ.js → chunk-YNBEHUZH.js} +2 -2
- package/dist/{chunk-EZ25VE3G.js → chunk-YNDLCWXS.js} +4 -4
- package/dist/{chunk-UETBEHBA.js → chunk-ZECLLIMX.js} +3442 -3085
- package/dist/chunk-ZECLLIMX.js.map +1 -0
- package/dist/{chunk-QRRBXD24.js → chunk-ZIFPFKB2.js} +7 -7
- package/dist/{chunk-HYI2GP3F.js → chunk-ZMHDSIEX.js} +7 -7
- package/dist/{cli-lmf5RGyQ.d.ts → cli-DqonYBZ0.d.ts} +3 -3
- package/dist/cli.d.ts +6 -6
- package/dist/cli.js +64 -64
- package/dist/compounding/engine.d.ts +3 -3
- package/dist/compounding/engine.js +11 -11
- 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 +3 -3
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +11 -11
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +12 -12
- 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-2SODRNUF.js} +3 -3
- package/dist/contradiction-scan-2SODRNUF.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/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/enrichment/index.d.ts +1 -1
- package/dist/entity-retrieval.d.ts +1 -1
- package/dist/entity-retrieval.js +11 -11
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +6 -6
- 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 +3 -3
- package/dist/fallback-llm.d.ts +1 -1
- package/dist/{first-start-migration-4I3VDSYS.js → first-start-migration-DY6YCRC2.js} +2 -2
- package/dist/{forget-WYLR4ZFV.js → forget-OEE5OELK.js} +2 -2
- 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 +1284 -1284
- package/dist/index.js +148 -148
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/engine.js +4 -4
- 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-model-endpoint.d.ts +1 -1
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/maintenance/memory-governance.js +10 -10
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +10 -10
- package/dist/maintenance/rebuild-memory-projection.js +11 -11
- 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 +13 -13
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/search.js +1 -1
- package/dist/namespaces/storage.d.ts +2 -2
- package/dist/namespaces/storage.js +12 -12
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +1 -1
- package/dist/operator-toolkit.js +19 -19
- package/dist/orchestration/compression-guideline-coordinator.d.ts +1 -1
- package/dist/orchestration/maintenance.d.ts +2 -2
- package/dist/orchestration/maintenance.js +15 -15
- package/dist/{orchestrator-D7bb8ZGp.d.ts → orchestrator-D7ZGOQLX.d.ts} +101 -180
- package/dist/orchestrator.d.ts +4 -4
- package/dist/orchestrator.js +92 -92
- 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 +3 -3
- 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/schemas.d.ts +100 -100
- package/dist/search/embed-helper.d.ts +1 -1
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/factory.js +1 -1
- package/dist/search/index.d.ts +1 -1
- package/dist/search/index.js +1 -1
- 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-7Sndms2M.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +13 -13
- package/dist/semantic-rule-promotion.js +10 -10
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +10 -10
- 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 +9 -9
- package/dist/signal.d.ts +1 -1
- package/dist/storage.d.ts +1 -1
- package/dist/storage.js +9 -9
- package/dist/summarizer.d.ts +1 -1
- package/dist/summarizer.js +2 -2
- 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/{tier-stats-5XF4UBRQ.js → tier-stats-TG6GUZ6N.js} +4 -4
- package/dist/topics.d.ts +1 -1
- package/dist/transcript.d.ts +1 -1
- package/dist/transfer/autodetect.js +1 -1
- package/dist/transfer/backup.js +3 -3
- package/dist/transfer/capsule-export.js +4 -4
- package/dist/transfer/capsule-import.js +3 -3
- package/dist/transfer/types.d.ts +110 -110
- package/dist/trust-score-stage.d.ts +1 -1
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-D4NYDtXI.d.ts → types-DTEFxFuL.d.ts} +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.js +10 -10
- package/package.json +2 -2
- package/src/access-admin-ops-surface.ts +828 -0
- package/src/access-recall-surface.ts +1552 -0
- package/src/access-service.ts +70 -1917
- 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-admin-ops-surface.js.map} +0 -0
- /package/dist/{contradiction-scan-3FJYWS3G.js.map → access-recall-surface.js.map} +0 -0
- /package/dist/{chunk-6SXNQFHB.js.map → chunk-243P7YYV.js.map} +0 -0
- /package/dist/{chunk-2NLLXCJG.js.map → chunk-2BFLDH5F.js.map} +0 -0
- /package/dist/{chunk-ZBVQ4ZM4.js.map → chunk-34THARMH.js.map} +0 -0
- /package/dist/{chunk-SNEXVX3U.js.map → chunk-3HGZX26P.js.map} +0 -0
- /package/dist/{chunk-5PZCDUJ6.js.map → chunk-3ZIKDH6C.js.map} +0 -0
- /package/dist/{chunk-X7Y7WX73.js.map → chunk-437S3G37.js.map} +0 -0
- /package/dist/{chunk-RS25QOKZ.js.map → chunk-64SE4X5G.js.map} +0 -0
- /package/dist/{chunk-JBPKEARU.js.map → chunk-AU7Q3LSC.js.map} +0 -0
- /package/dist/{chunk-6FNZ3NMS.js.map → chunk-AXBRVBT6.js.map} +0 -0
- /package/dist/{chunk-W3BFT5OJ.js.map → chunk-BWOEYBRB.js.map} +0 -0
- /package/dist/{chunk-UU32EAIY.js.map → chunk-C3IHRWIC.js.map} +0 -0
- /package/dist/{chunk-DBRVU5PR.js.map → chunk-DKIZ4BUQ.js.map} +0 -0
- /package/dist/{chunk-EEKDRAWX.js.map → chunk-DS4QM6I7.js.map} +0 -0
- /package/dist/{chunk-WOX2UW4K.js.map → chunk-E3MRYDUQ.js.map} +0 -0
- /package/dist/{chunk-K2R3DEEH.js.map → chunk-E6LENGYV.js.map} +0 -0
- /package/dist/{chunk-CGZWGVQF.js.map → chunk-EEO4YWQ7.js.map} +0 -0
- /package/dist/{chunk-ORAK3LNZ.js.map → chunk-ER3CCWK2.js.map} +0 -0
- /package/dist/{chunk-TPLE6SNY.js.map → chunk-GWGWBK5Y.js.map} +0 -0
- /package/dist/{chunk-IKHKHADN.js.map → chunk-ITLJATQI.js.map} +0 -0
- /package/dist/{chunk-E4PFDD3N.js.map → chunk-JES2O5Q6.js.map} +0 -0
- /package/dist/{chunk-QOGXUNWL.js.map → chunk-JGPURIEH.js.map} +0 -0
- /package/dist/{chunk-YGGXUNS4.js.map → chunk-KY4WOZ3P.js.map} +0 -0
- /package/dist/{chunk-WA7FECSG.js.map → chunk-KYHGLDFU.js.map} +0 -0
- /package/dist/{chunk-V5RVMULT.js.map → chunk-LZ73Y56P.js.map} +0 -0
- /package/dist/{chunk-ARV3AUOM.js.map → chunk-M5QKGHCR.js.map} +0 -0
- /package/dist/{chunk-SD34EK4Z.js.map → chunk-N3VE7OCY.js.map} +0 -0
- /package/dist/{chunk-KQAFEZQX.js.map → chunk-OUXPVWTZ.js.map} +0 -0
- /package/dist/{chunk-NNL4LJAD.js.map → chunk-OZMBT7N3.js.map} +0 -0
- /package/dist/{chunk-WWSXVOGY.js.map → chunk-QIRZI3C3.js.map} +0 -0
- /package/dist/{chunk-B35L45HZ.js.map → chunk-TVISHYL5.js.map} +0 -0
- /package/dist/{chunk-SQNED75R.js.map → chunk-V5UV7BOA.js.map} +0 -0
- /package/dist/{chunk-7TWA7DKP.js.map → chunk-VVSV2QVY.js.map} +0 -0
- /package/dist/{chunk-4NWIGAIC.js.map → chunk-XOPLMSVV.js.map} +0 -0
- /package/dist/{chunk-K2JM4DZZ.js.map → chunk-YNBEHUZH.js.map} +0 -0
- /package/dist/{chunk-EZ25VE3G.js.map → chunk-YNDLCWXS.js.map} +0 -0
- /package/dist/{chunk-QRRBXD24.js.map → chunk-ZIFPFKB2.js.map} +0 -0
- /package/dist/{chunk-HYI2GP3F.js.map → chunk-ZMHDSIEX.js.map} +0 -0
- /package/dist/{first-start-migration-4I3VDSYS.js.map → first-start-migration-DY6YCRC2.js.map} +0 -0
- /package/dist/{forget-WYLR4ZFV.js.map → forget-OEE5OELK.js.map} +0 -0
- /package/dist/{tier-stats-5XF4UBRQ.js.map → tier-stats-TG6GUZ6N.js.map} +0 -0
|
@@ -1,29 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MaintenanceScheduler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-XOPLMSVV.js";
|
|
4
4
|
import "../chunk-666A3MOW.js";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-EEO4YWQ7.js";
|
|
6
|
+
import "../chunk-C3IHRWIC.js";
|
|
7
7
|
import "../chunk-W3M34XT4.js";
|
|
8
8
|
import "../chunk-ZFXCQPNO.js";
|
|
9
9
|
import "../chunk-O75CRYGF.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-PE6XR4GG.js";
|
|
11
|
+
import "../chunk-U3PN77QT.js";
|
|
12
|
+
import "../chunk-VSF7AAGE.js";
|
|
13
|
+
import "../chunk-34THARMH.js";
|
|
12
14
|
import "../chunk-L2B3EE7B.js";
|
|
15
|
+
import "../chunk-M7XQSUBB.js";
|
|
13
16
|
import "../chunk-5UZXUTVO.js";
|
|
14
17
|
import "../chunk-5GPPACXK.js";
|
|
15
|
-
import "../chunk-SVOZFLIQ.js";
|
|
16
|
-
import "../chunk-LTJAMRGI.js";
|
|
17
18
|
import "../chunk-TKZ3AL5V.js";
|
|
18
19
|
import "../chunk-6CIAGZ6X.js";
|
|
20
|
+
import "../chunk-SVOZFLIQ.js";
|
|
21
|
+
import "../chunk-LTJAMRGI.js";
|
|
19
22
|
import "../chunk-J6A3CX5N.js";
|
|
20
23
|
import "../chunk-JS2HKKOK.js";
|
|
24
|
+
import "../chunk-MB5RSUW6.js";
|
|
25
|
+
import "../chunk-6KYMPV2O.js";
|
|
21
26
|
import "../chunk-AWJ2FHCF.js";
|
|
22
27
|
import "../chunk-42JKGUFJ.js";
|
|
23
28
|
import "../chunk-RULE4VG5.js";
|
|
24
29
|
import "../chunk-SCU65EZI.js";
|
|
25
|
-
import "../chunk-MB5RSUW6.js";
|
|
26
|
-
import "../chunk-6KYMPV2O.js";
|
|
27
30
|
import "../chunk-DM2T26WE.js";
|
|
28
31
|
import "../chunk-LDXUBPMO.js";
|
|
29
32
|
import "../chunk-YTU7WKYN.js";
|
|
@@ -37,22 +40,19 @@ import "../chunk-L2EXJQJP.js";
|
|
|
37
40
|
import "../chunk-VL7DP3OW.js";
|
|
38
41
|
import "../chunk-RGMVMVMF.js";
|
|
39
42
|
import "../chunk-N7RWREIQ.js";
|
|
40
|
-
import "../chunk-PE6XR4GG.js";
|
|
41
|
-
import "../chunk-U3PN77QT.js";
|
|
42
|
-
import "../chunk-VSF7AAGE.js";
|
|
43
43
|
import "../chunk-OEHCMALU.js";
|
|
44
44
|
import "../chunk-PHK3HARR.js";
|
|
45
|
-
import "../chunk-5GKPFL3S.js";
|
|
46
45
|
import "../chunk-4DJQYKMN.js";
|
|
46
|
+
import "../chunk-5GKPFL3S.js";
|
|
47
47
|
import "../chunk-EYIEWJNI.js";
|
|
48
48
|
import "../chunk-JUC24CTX.js";
|
|
49
|
+
import "../chunk-6MKAMLQL.js";
|
|
50
|
+
import "../chunk-JAKIDQB2.js";
|
|
49
51
|
import "../chunk-NU3CSQ4H.js";
|
|
50
52
|
import "../chunk-J2HSAU72.js";
|
|
51
53
|
import "../chunk-A6XUJE5D.js";
|
|
52
54
|
import "../chunk-P7FMDTKL.js";
|
|
53
55
|
import "../chunk-VS2IYZRU.js";
|
|
54
|
-
import "../chunk-6MKAMLQL.js";
|
|
55
|
-
import "../chunk-JAKIDQB2.js";
|
|
56
56
|
import "../chunk-PZ5AY32C.js";
|
|
57
57
|
export {
|
|
58
58
|
MaintenanceScheduler
|
|
@@ -8,12 +8,12 @@ import { HourlySummarizer } from './summarizer.js';
|
|
|
8
8
|
import { LocalLlmClient } from './local-llm.js';
|
|
9
9
|
import { FallbackLlmClient } from './fallback-llm.js';
|
|
10
10
|
import { MaintenanceScheduler } from './orchestration/maintenance.js';
|
|
11
|
-
import { aB as ScopeProfileConfig, aC as ScopeProfileLayerId, aD as ScopeProfilePromotionTarget,
|
|
11
|
+
import { aB as ScopeProfileConfig, aC as ScopeProfileLayerId, aD as ScopeProfilePromotionTarget, p as BufferTurn, x as ExtractionResult, h as MemoryCategory, ae as ImportanceScore, u as MemoryStatus, aE as WearableConversation, aF as WearableSourceSettings, aG as WearableNativeMemory, aH as WearableMemoryMode, aI as WearableSourceConnector, aJ as WearablesConfig, aK as WearableSyncSummary, aL as WearableSourceStatus, aM as WearableDayTranscript, aN as WearableCorrectionRule, P as PluginConfig, M as MemoryFile, a2 as MemoryActionEvent, Q as QmdSearchResult, a8 as ContinuityIncidentRecord, b as RecallPlanMode, I as IdentityInjectionMode, aO as RecallSectionConfig, ar as MemoryLink, az as CodingContext, af as MemoryIntent, q as MemoryFrontmatter, g as BehaviorLoopPolicyState, aP as BootstrapOptions, aQ as BootstrapResult, aR as ConsolidationObservation, z as DaySummaryResult } from './types-DTEFxFuL.js';
|
|
12
12
|
import { TierMigrationStatusStore, TierMigrationStatusSnapshot, TierMigrationCycleSummary, LastRecallBudgetSummary, GraphRecallExpandedEntry, LastRecallStore, RecallHandleHistoryStore, LastRecallSnapshot } from './recall-state.js';
|
|
13
13
|
import { CompoundingEngine } from './compounding/engine.js';
|
|
14
14
|
import { UtilityRuntimeValues } from './utility-runtime.js';
|
|
15
15
|
import { CompressionGuidelineCoordinator } from './orchestration/compression-guideline-coordinator.js';
|
|
16
|
-
import { S as SemanticConsolidationResult } from './semantic-consolidation-
|
|
16
|
+
import { S as SemanticConsolidationResult } from './semantic-consolidation-7Sndms2M.js';
|
|
17
17
|
import { EmbeddingFallback } from './embedding-fallback.js';
|
|
18
18
|
import { ExtractionEngine } from './extraction.js';
|
|
19
19
|
import { ObjectiveStateSearchResult } from './objective-state.js';
|
|
@@ -43,7 +43,7 @@ import { ReplayTurn } from './replay/types.js';
|
|
|
43
43
|
import { I as ImportTurn } from './types-gb_SNtjR.js';
|
|
44
44
|
import { JudgeCandidate, JudgeBatchResult } from './extraction-judge.js';
|
|
45
45
|
import { LcmEngine } from './lcm/engine.js';
|
|
46
|
-
import { b as NamespaceKind, N as NamespaceCatalog } from './catalog-
|
|
46
|
+
import { b as NamespaceKind, N as NamespaceCatalog } from './catalog-BEmNVRN0.js';
|
|
47
47
|
import { NamespaceSearchHealth } from './namespaces/search.js';
|
|
48
48
|
import { SharedContextManager } from './shared-context/manager.js';
|
|
49
49
|
import { RuntimePolicyValues } from './policy-runtime.js';
|
|
@@ -76,6 +76,80 @@ interface ResolvedScopeProfilePlan {
|
|
|
76
76
|
warnings: string[];
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
+
/**
|
|
80
|
+
* Pattern-reinforcement maintenance job (issue #687 PR 2/4).
|
|
81
|
+
*
|
|
82
|
+
* Reads all memories via `StorageManager.readAllMemories()`, clusters
|
|
83
|
+
* non-procedural memories by normalized content, and reinforces the
|
|
84
|
+
* most-recent member of each large-enough cluster:
|
|
85
|
+
*
|
|
86
|
+
* 1. Cluster across active AND already-superseded members. This is
|
|
87
|
+
* load-bearing: after the first reinforcement pass, older
|
|
88
|
+
* duplicates are marked `superseded`, so on the next pass the
|
|
89
|
+
* "active count" alone would be just `canonical + N-new`. By
|
|
90
|
+
* keeping superseded members in the cluster for the threshold
|
|
91
|
+
* check, an established canonical (count >= minCount) keeps
|
|
92
|
+
* growing as soon as a single new duplicate arrives.
|
|
93
|
+
* `forgotten` / `archived` / `quarantined` / `pending_review` /
|
|
94
|
+
* `rejected` stay excluded per CLAUDE.md rule 53.
|
|
95
|
+
* 2. Pick the most-recent ACTIVE member of each cluster as the
|
|
96
|
+
* canonical. Stamp it with `reinforcement_count` (total cluster
|
|
97
|
+
* size including superseded members) and `last_reinforced_at`.
|
|
98
|
+
* Record provenance: `derived_from = [...source-ids...]` and
|
|
99
|
+
* `derived_via = "pattern-reinforcement"`.
|
|
100
|
+
* 3. Mark any still-active duplicates with `status: "superseded"`
|
|
101
|
+
* and point `supersededBy` at the canonical id.
|
|
102
|
+
*
|
|
103
|
+
* The job is idempotent: re-running on the same corpus does not
|
|
104
|
+
* double-bump `reinforcement_count` (the bump-only-on-change guard
|
|
105
|
+
* compares cluster size to the canonical's previous counter), and
|
|
106
|
+
* already-superseded duplicates simply pass through.
|
|
107
|
+
*
|
|
108
|
+
* Recall integration (boost from `reinforcement_count`) and the CLI
|
|
109
|
+
* surface ship in PR 3/4 and PR 4/4 respectively — this PR only wires
|
|
110
|
+
* the maintenance job and storage plumbing.
|
|
111
|
+
*/
|
|
112
|
+
|
|
113
|
+
interface PatternReinforcementClusterResult {
|
|
114
|
+
/** Memory id of the canonical (most-recent) member. */
|
|
115
|
+
canonicalId: string;
|
|
116
|
+
/** Cluster size at run time (mirrors `reinforcement_count`). */
|
|
117
|
+
count: number;
|
|
118
|
+
/** IDs of the source memories that contributed (canonical + duplicates). */
|
|
119
|
+
sourceIds: readonly string[];
|
|
120
|
+
/** IDs of the older duplicates that were marked superseded. */
|
|
121
|
+
supersededIds: readonly string[];
|
|
122
|
+
/**
|
|
123
|
+
* `true` when the canonical's `reinforcement_count` actually
|
|
124
|
+
* changed during this run. False when the job converged
|
|
125
|
+
* idempotently (same cluster size as the previous run).
|
|
126
|
+
*/
|
|
127
|
+
reinforcementBumped: boolean;
|
|
128
|
+
}
|
|
129
|
+
interface PatternReinforcementResult {
|
|
130
|
+
/** Number of clusters that met the `minCount` threshold. */
|
|
131
|
+
clustersFound: number;
|
|
132
|
+
/** Number of canonical memories whose reinforcement counter changed. */
|
|
133
|
+
canonicalsUpdated: number;
|
|
134
|
+
/** Total duplicate memories newly marked `status: "superseded"`. */
|
|
135
|
+
duplicatesSuperseded: number;
|
|
136
|
+
/** Per-cluster details for tests / observability. */
|
|
137
|
+
clusters: PatternReinforcementClusterResult[];
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
interface CorroborationContext {
|
|
141
|
+
/**
|
|
142
|
+
* Same-day transcript bodies from OTHER sources, keyed by source id.
|
|
143
|
+
* Pre-tokenized once per sync (day bodies are large).
|
|
144
|
+
*/
|
|
145
|
+
otherSourceDayTokens: Map<string, Set<string>>;
|
|
146
|
+
/** Existing active memories: id + content. */
|
|
147
|
+
existingMemories: Array<{
|
|
148
|
+
id: string;
|
|
149
|
+
content: string;
|
|
150
|
+
}>;
|
|
151
|
+
}
|
|
152
|
+
|
|
79
153
|
/**
|
|
80
154
|
* Wearable speaker registry — maps provider diarization labels to
|
|
81
155
|
* human names, persistently, per source.
|
|
@@ -132,19 +206,6 @@ declare function distinctSpeakerLabels(sourceId: string, segments: Array<{
|
|
|
132
206
|
isWearer?: boolean;
|
|
133
207
|
}>, registry: SpeakerRegistry): string[];
|
|
134
208
|
|
|
135
|
-
interface CorroborationContext {
|
|
136
|
-
/**
|
|
137
|
-
* Same-day transcript bodies from OTHER sources, keyed by source id.
|
|
138
|
-
* Pre-tokenized once per sync (day bodies are large).
|
|
139
|
-
*/
|
|
140
|
-
otherSourceDayTokens: Map<string, Set<string>>;
|
|
141
|
-
/** Existing active memories: id + content. */
|
|
142
|
-
existingMemories: Array<{
|
|
143
|
-
id: string;
|
|
144
|
-
content: string;
|
|
145
|
-
}>;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
209
|
/**
|
|
149
210
|
* Wearable memory generation — trust-gated extraction from cleaned day
|
|
150
211
|
* transcripts.
|
|
@@ -1859,67 +1920,6 @@ declare function resolvePersistedMemoryRelativePath(options: {
|
|
|
1859
1920
|
category: string;
|
|
1860
1921
|
}): string;
|
|
1861
1922
|
|
|
1862
|
-
/**
|
|
1863
|
-
* Pattern-reinforcement maintenance job (issue #687 PR 2/4).
|
|
1864
|
-
*
|
|
1865
|
-
* Reads all memories via `StorageManager.readAllMemories()`, clusters
|
|
1866
|
-
* non-procedural memories by normalized content, and reinforces the
|
|
1867
|
-
* most-recent member of each large-enough cluster:
|
|
1868
|
-
*
|
|
1869
|
-
* 1. Cluster across active AND already-superseded members. This is
|
|
1870
|
-
* load-bearing: after the first reinforcement pass, older
|
|
1871
|
-
* duplicates are marked `superseded`, so on the next pass the
|
|
1872
|
-
* "active count" alone would be just `canonical + N-new`. By
|
|
1873
|
-
* keeping superseded members in the cluster for the threshold
|
|
1874
|
-
* check, an established canonical (count >= minCount) keeps
|
|
1875
|
-
* growing as soon as a single new duplicate arrives.
|
|
1876
|
-
* `forgotten` / `archived` / `quarantined` / `pending_review` /
|
|
1877
|
-
* `rejected` stay excluded per CLAUDE.md rule 53.
|
|
1878
|
-
* 2. Pick the most-recent ACTIVE member of each cluster as the
|
|
1879
|
-
* canonical. Stamp it with `reinforcement_count` (total cluster
|
|
1880
|
-
* size including superseded members) and `last_reinforced_at`.
|
|
1881
|
-
* Record provenance: `derived_from = [...source-ids...]` and
|
|
1882
|
-
* `derived_via = "pattern-reinforcement"`.
|
|
1883
|
-
* 3. Mark any still-active duplicates with `status: "superseded"`
|
|
1884
|
-
* and point `supersededBy` at the canonical id.
|
|
1885
|
-
*
|
|
1886
|
-
* The job is idempotent: re-running on the same corpus does not
|
|
1887
|
-
* double-bump `reinforcement_count` (the bump-only-on-change guard
|
|
1888
|
-
* compares cluster size to the canonical's previous counter), and
|
|
1889
|
-
* already-superseded duplicates simply pass through.
|
|
1890
|
-
*
|
|
1891
|
-
* Recall integration (boost from `reinforcement_count`) and the CLI
|
|
1892
|
-
* surface ship in PR 3/4 and PR 4/4 respectively — this PR only wires
|
|
1893
|
-
* the maintenance job and storage plumbing.
|
|
1894
|
-
*/
|
|
1895
|
-
|
|
1896
|
-
interface PatternReinforcementClusterResult {
|
|
1897
|
-
/** Memory id of the canonical (most-recent) member. */
|
|
1898
|
-
canonicalId: string;
|
|
1899
|
-
/** Cluster size at run time (mirrors `reinforcement_count`). */
|
|
1900
|
-
count: number;
|
|
1901
|
-
/** IDs of the source memories that contributed (canonical + duplicates). */
|
|
1902
|
-
sourceIds: readonly string[];
|
|
1903
|
-
/** IDs of the older duplicates that were marked superseded. */
|
|
1904
|
-
supersededIds: readonly string[];
|
|
1905
|
-
/**
|
|
1906
|
-
* `true` when the canonical's `reinforcement_count` actually
|
|
1907
|
-
* changed during this run. False when the job converged
|
|
1908
|
-
* idempotently (same cluster size as the previous run).
|
|
1909
|
-
*/
|
|
1910
|
-
reinforcementBumped: boolean;
|
|
1911
|
-
}
|
|
1912
|
-
interface PatternReinforcementResult {
|
|
1913
|
-
/** Number of clusters that met the `minCount` threshold. */
|
|
1914
|
-
clustersFound: number;
|
|
1915
|
-
/** Number of canonical memories whose reinforcement counter changed. */
|
|
1916
|
-
canonicalsUpdated: number;
|
|
1917
|
-
/** Total duplicate memories newly marked `status: "superseded"`. */
|
|
1918
|
-
duplicatesSuperseded: number;
|
|
1919
|
-
/** Per-cluster details for tests / observability. */
|
|
1920
|
-
clusters: PatternReinforcementClusterResult[];
|
|
1921
|
-
}
|
|
1922
|
-
|
|
1923
1923
|
type NamespaceMaintenanceJobName = string;
|
|
1924
1924
|
type NamespaceMaintenanceSkipReason = "fanout_disabled" | "empty_root" | "branch_disabled" | "project_disabled" | "team_project_disabled" | "catalog_read_failed" | "unsafe_or_stale_root" | "budget_exhausted" | "lock_held" | "batch_lock_incomplete" | "throttled" | "job_failed";
|
|
1925
1925
|
interface NamespaceMaintenanceCandidate {
|
|
@@ -2114,7 +2114,7 @@ declare class Orchestrator {
|
|
|
2114
2114
|
* project/branch scope a session is operating in (rule 42 — read + write
|
|
2115
2115
|
* through the same namespace layer).
|
|
2116
2116
|
*/
|
|
2117
|
-
private
|
|
2117
|
+
private _codingContextBySession;
|
|
2118
2118
|
/**
|
|
2119
2119
|
* Per-session peer ID registry (issue #679 PR 3/5).
|
|
2120
2120
|
* Set by connectors / hooks via `setPeerIdForSession` so `recallInternal`
|
|
@@ -2123,7 +2123,16 @@ declare class Orchestrator {
|
|
|
2123
2123
|
* Keyed by sessionKey so concurrent sessions don't clobber each other
|
|
2124
2124
|
* (rule 11 — scope globals per plugin ID / session).
|
|
2125
2125
|
*/
|
|
2126
|
-
private
|
|
2126
|
+
private _peerIdBySession;
|
|
2127
|
+
/**
|
|
2128
|
+
* Defensive init for the session-binding maps (issue #1526 seam 28
|
|
2129
|
+
* review). `Object.create(Orchestrator.prototype)` stubs in legacy
|
|
2130
|
+
* tests skip class-field initializers, so the maps may be undefined on
|
|
2131
|
+
* fakes; SessionContextCoordinator calls this before writing so the
|
|
2132
|
+
* maps are created ON THE ORCHESTRATOR (or fake), never on the
|
|
2133
|
+
* coordinator.
|
|
2134
|
+
*/
|
|
2135
|
+
ensureSessionBindingMaps(): void;
|
|
2127
2136
|
private routingRulesStore;
|
|
2128
2137
|
private contentHashIndex;
|
|
2129
2138
|
private readonly contentHashIndexesByStorageDir;
|
|
@@ -2248,110 +2257,11 @@ declare class Orchestrator {
|
|
|
2248
2257
|
clearRecallWorkspaceOverride(sessionKey: string): void;
|
|
2249
2258
|
resolvePrincipal(sessionKey?: string): string | undefined;
|
|
2250
2259
|
resolveSelfNamespace(sessionKey?: string): string;
|
|
2251
|
-
/**
|
|
2252
|
-
* Effective namespace a same-session LCM/structured-history READER must use
|
|
2253
|
-
* to find what the access `observe` surface WROTE (#1495 thread 2).
|
|
2254
|
-
*
|
|
2255
|
-
* This MUST mirror the `observe` scope plan's write-namespace resolution, NOT
|
|
2256
|
-
* `resolveSelfNamespace`: when no coding overlay applies, `observe` archives
|
|
2257
|
-
* under `config.defaultNamespace` (an unqualified observed turn is NOT moved
|
|
2258
|
-
* to the principal self namespace — identical to
|
|
2259
|
-
* `resolveCodingScopedWriteNamespace`/`memory_store`, rule 39). Only when a
|
|
2260
|
-
* coding overlay actually changes the namespace does the writer (and so the
|
|
2261
|
-
* reader) use the overlaid `project-*` namespace. Returning the self base for
|
|
2262
|
-
* the no-overlay case would prefix the read key with a namespace the writer
|
|
2263
|
-
* never used, so the reader would miss its own evidence.
|
|
2264
|
-
*
|
|
2265
|
-
* Honours the access-surface `principalOverride` (#1505 thread 2, codex): when
|
|
2266
|
-
* a recall supplies an authenticated principal NOT encoded in the raw
|
|
2267
|
-
* `sessionKey`, `observe` archived LCM under THAT principal's base namespace.
|
|
2268
|
-
* Deriving the base from `resolvePrincipal(sessionKey)` alone could fall back
|
|
2269
|
-
* to `default`, so principal `alice` observing `sess-1` would write under
|
|
2270
|
-
* `alice` but READ under `default`. Threading the override here keeps the read
|
|
2271
|
-
* base identical to the write base.
|
|
2272
|
-
*
|
|
2273
|
-
* READ-AUTHORIZATION gate (#1505 round 3, codex P2 "Gate LCM recall keys by
|
|
2274
|
-
* readable namespaces"): the overlay LCM read key is a `<principal>-project-*`
|
|
2275
|
-
* sub-namespace of the principal SELF base. The normal recall namespace set
|
|
2276
|
-
* below only substitutes the coding overlay when the principal SELF base is
|
|
2277
|
-
* actually in the readable recall set (`recallNamespacesForPrincipal` — gated
|
|
2278
|
-
* by `defaultRecallNamespaces.includes("self")` AND `canReadNamespace`). If a
|
|
2279
|
-
* principal can WRITE but not READ its self namespace (or `defaultRecall-
|
|
2280
|
-
* Namespaces` omits `self`), QMD/file recall never touches those overlay rows,
|
|
2281
|
-
* so neither may the LCM read key. When the self base is NOT readable, fall
|
|
2282
|
-
* back to the default store — exactly what an unqualified, unauthorized recall
|
|
2283
|
-
* resolves to — rather than injecting overlay rows the rest of recall excludes
|
|
2284
|
-
* (rule 42 read/write parity; rule 48 least-privilege).
|
|
2285
|
-
*/
|
|
2286
2260
|
private lcmReadNamespaceForSession;
|
|
2287
|
-
/**
|
|
2288
|
-
* Attach a coding-agent context to a session (issue #569). Called by the
|
|
2289
|
-
* Claude Code / Codex / Cursor connectors at session start after
|
|
2290
|
-
* `resolveGitContext(cwd)`. The context is consulted by the recall path
|
|
2291
|
-
* and the write path so that memories route to a project- (and optionally
|
|
2292
|
-
* branch-) scoped namespace.
|
|
2293
|
-
*
|
|
2294
|
-
* Pass `null` to clear.
|
|
2295
|
-
*/
|
|
2296
2261
|
setCodingContextForSession(sessionKey: string, codingContext: CodingContext | null): void;
|
|
2297
|
-
/**
|
|
2298
|
-
* Read-only accessor for the coding context attached to a session. Returns
|
|
2299
|
-
* `null` when none is set. Used by `remnic doctor` and by tests.
|
|
2300
|
-
*
|
|
2301
|
-
* Defensive `_codingContextBySession` lookup — legacy orchestrator-flush
|
|
2302
|
-
* tests use `Object.create(Orchestrator.prototype)` which does not run
|
|
2303
|
-
* class-field initializers, so the Map may be undefined on stubs.
|
|
2304
|
-
*/
|
|
2305
2262
|
getCodingContextForSession(sessionKey: string | undefined): CodingContext | null;
|
|
2306
|
-
/**
|
|
2307
|
-
* Shared helper used by both the recall path and the write path (rule 42).
|
|
2308
|
-
*
|
|
2309
|
-
* Given a base namespace computed from the principal, returns the overlaid
|
|
2310
|
-
* coding namespace when the session has a coding context AND
|
|
2311
|
-
* `codingMode.projectScope` is true AND `namespacesEnabled` is true.
|
|
2312
|
-
* Otherwise returns `baseNamespace` unchanged — CLAUDE.md #30 escape hatch.
|
|
2313
|
-
*
|
|
2314
|
-
* Principal isolation (CLAUDE.md rule 42): the overlay is COMBINED with
|
|
2315
|
-
* the principal-derived `baseNamespace` rather than replacing it, so two
|
|
2316
|
-
* principals working in the same repository do not share memories through
|
|
2317
|
-
* a common `project-*` namespace.
|
|
2318
|
-
*
|
|
2319
|
-
* Namespaces-disabled gate: when `namespacesEnabled` is false, the
|
|
2320
|
-
* storage router maps every namespace to the same `memoryDir`. Returning
|
|
2321
|
-
* `project-*` in that mode would create apparent route separation with
|
|
2322
|
-
* no actual storage isolation — a false-isolation trap. In that mode we
|
|
2323
|
-
* return `baseNamespace` unchanged so coding mode degrades to the existing
|
|
2324
|
-
* unscoped behavior.
|
|
2325
|
-
*
|
|
2326
|
-
* @internal
|
|
2327
|
-
*/
|
|
2328
2263
|
applyCodingNamespaceOverlay(sessionKey: string | undefined, baseNamespace: string): string;
|
|
2329
|
-
/**
|
|
2330
|
-
* Register a peer ID for a session so recall can inject the peer's
|
|
2331
|
-
* profile into context (issue #679 PR 3/5). Pass `null` to clear.
|
|
2332
|
-
*
|
|
2333
|
-
* Connectors and the `before_agent_start` hook call this when the
|
|
2334
|
-
* session's counter-party is known. The ID is validated against
|
|
2335
|
-
* `PEER_ID_PATTERN` before storing.
|
|
2336
|
-
*
|
|
2337
|
-
* Fail-closed (Codex P1 review): an invalid peerId clears any
|
|
2338
|
-
* previously registered mapping for the session rather than silently
|
|
2339
|
-
* keeping stale data. This prevents a malformed metadata update from
|
|
2340
|
-
* mixing one peer's profile context into another session.
|
|
2341
|
-
*
|
|
2342
|
-
* Defensive init (Cursor review + rule 16): `Object.create(
|
|
2343
|
-
* Orchestrator.prototype)` stubs in legacy tests skip class-field
|
|
2344
|
-
* initializers, so `_peerIdBySession` may be undefined. Mirror the
|
|
2345
|
-
* same guard used by `setCodingContextForSession`.
|
|
2346
|
-
*/
|
|
2347
2264
|
setPeerIdForSession(sessionKey: string, peerId: string | null): void;
|
|
2348
|
-
/**
|
|
2349
|
-
* Return the peer ID registered for a session, or `null` when none
|
|
2350
|
-
* is set. Used by `recallInternal` to inject the peer profile section.
|
|
2351
|
-
* Defensive `_peerIdBySession` lookup — legacy orchestrator-flush tests
|
|
2352
|
-
* use `Object.create(Orchestrator.prototype)` which skips class-field
|
|
2353
|
-
* initializers, so the Map may be undefined on stubs.
|
|
2354
|
-
*/
|
|
2355
2265
|
getPeerIdForSession(sessionKey: string | undefined): string | null;
|
|
2356
2266
|
/**
|
|
2357
2267
|
* Read-side overlay: returns the list of namespaces a session should read
|
|
@@ -2738,6 +2648,19 @@ declare class Orchestrator {
|
|
|
2738
2648
|
*/
|
|
2739
2649
|
private _namespaceReadFanoutCoordinator;
|
|
2740
2650
|
private get namespaceReadFanoutCoordinator();
|
|
2651
|
+
/** RecallEntryCoordinator (issue #1526 seam 28). Lazy; selfDeps live wiring. */
|
|
2652
|
+
private _recallEntryCoordinator;
|
|
2653
|
+
private get recallEntryCoordinator();
|
|
2654
|
+
/** SessionContextCoordinator (issue #1526 seam 28). Lazy; selfDeps live wiring. */
|
|
2655
|
+
private _sessionContextCoordinator;
|
|
2656
|
+
/**
|
|
2657
|
+
* Self-handle read through the selfDeps proxy (seam 28): coordinators
|
|
2658
|
+
* that construct services against the orchestrator instance (e.g. the
|
|
2659
|
+
* passive-correction CorrectionService) receive it via deps instead of
|
|
2660
|
+
* capturing the coordinator's own `this`.
|
|
2661
|
+
*/
|
|
2662
|
+
get orchestratorSelf(): Orchestrator;
|
|
2663
|
+
private get sessionContextCoordinator();
|
|
2741
2664
|
private recallInternal;
|
|
2742
2665
|
processTurn(role: "user" | "assistant", content: string, sessionKey?: string, options?: {
|
|
2743
2666
|
bufferKey?: string;
|
|
@@ -2806,8 +2729,6 @@ declare class Orchestrator {
|
|
|
2806
2729
|
private buildExtractionFingerprint;
|
|
2807
2730
|
private shouldQueueExtraction;
|
|
2808
2731
|
private maybeCapturePassiveCorrections;
|
|
2809
|
-
/** Lazily construct the CorrectionService for passive capture. Stateless
|
|
2810
|
-
* across requests (per #1580 design); cached for the orchestrator's life. */
|
|
2811
2732
|
private passiveCorrectionService;
|
|
2812
2733
|
runExtraction(...args: Parameters<ExtractionRunCoordinator["runExtraction"]>): Promise<ExtractionRunResult>;
|
|
2813
2734
|
private recordProcessedExtractionFingerprint;
|
package/dist/orchestrator.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import './summarizer.js';
|
|
|
8
8
|
import './local-llm.js';
|
|
9
9
|
import './fallback-llm.js';
|
|
10
10
|
import './orchestration/maintenance.js';
|
|
11
|
-
export { Q as BulkImportBatchIngestResult, T as BulkImportBatchPartialFailureError, U as COMPACTION_SIGNAL_MAX_AGE_MS, V as DaySummaryGatherOptions, X as ExtractionRunResult, Y as GraphRecallRankedResult, Z as GraphRecallShadowComparison, G as GraphRecallSnapshot, I as IntentDebugSnapshot, O as Orchestrator, _ as QmdRecallSnapshot, $ as QueryAwarePrefilter, a0 as RecallInvocationOptions, a1 as RecallModeDecision, a2 as appendMemoryToGraphContext, a3 as applyQueryAwareCandidateFilter, a4 as blendGraphExpandedRecallScore, a5 as buildCompressionGuidelinesMarkdown, a6 as buildMemoryPathById, a7 as computeArtifactCandidateFetchLimit, a8 as computeArtifactRecallLimit, a9 as computeQmdHybridFetchLimit, t as defaultWorkspaceDir, aa as deriveTopicsFromExtraction, ab as filterHourlySummaryMarkdownForLocalDay, ac as filterRecallCandidates, ad as formatDateInTimeZone, ae as graphPathRelativeToStorage, af as hasIdentityRecoveryIntent, ag as isArtifactMemoryPath, ah as lifecycleRecallScoreAdjustment, ai as mapRecallSourceToXrayServedBy, aj as mergeArtifactRecallCandidates, ak as mergeGraphExpandedResults, al as normalizeIanaTimeZone, am as parseFiniteDate, an as parseGraphRecallRankedResults, ao as parseMemoryIntentSnapshot, ap as parseQmdRecallResults, aq as qmdStartupCollectionCheckWithTimeout, ar as raceRecallAbort, as as resolveEffectiveIdentityInjectionMode, at as resolveEffectiveRecallMode, au as resolvePersistedMemoryRelativePath, av as resolveRecallModeDecision, aw as resolveRecallModeDecisionAsync, ax as resolveRecentThreadMemoryPaths, E as sanitizeSessionKeyForFilename, ay as shouldFilterLifecycleRecallCandidate, az as splitTurnsBySourceValidAt, aA as summarizeGraphShadowComparison, aB as targetSourceValidAtSortMs, aC as throwIfRecallAborted, aD as tokenizeRecallQuery, aE as utcDateKeysForLocalDay } from './orchestrator-
|
|
11
|
+
export { Q as BulkImportBatchIngestResult, T as BulkImportBatchPartialFailureError, U as COMPACTION_SIGNAL_MAX_AGE_MS, V as DaySummaryGatherOptions, X as ExtractionRunResult, Y as GraphRecallRankedResult, Z as GraphRecallShadowComparison, G as GraphRecallSnapshot, I as IntentDebugSnapshot, O as Orchestrator, _ as QmdRecallSnapshot, $ as QueryAwarePrefilter, a0 as RecallInvocationOptions, a1 as RecallModeDecision, a2 as appendMemoryToGraphContext, a3 as applyQueryAwareCandidateFilter, a4 as blendGraphExpandedRecallScore, a5 as buildCompressionGuidelinesMarkdown, a6 as buildMemoryPathById, a7 as computeArtifactCandidateFetchLimit, a8 as computeArtifactRecallLimit, a9 as computeQmdHybridFetchLimit, t as defaultWorkspaceDir, aa as deriveTopicsFromExtraction, ab as filterHourlySummaryMarkdownForLocalDay, ac as filterRecallCandidates, ad as formatDateInTimeZone, ae as graphPathRelativeToStorage, af as hasIdentityRecoveryIntent, ag as isArtifactMemoryPath, ah as lifecycleRecallScoreAdjustment, ai as mapRecallSourceToXrayServedBy, aj as mergeArtifactRecallCandidates, ak as mergeGraphExpandedResults, al as normalizeIanaTimeZone, am as parseFiniteDate, an as parseGraphRecallRankedResults, ao as parseMemoryIntentSnapshot, ap as parseQmdRecallResults, aq as qmdStartupCollectionCheckWithTimeout, ar as raceRecallAbort, as as resolveEffectiveIdentityInjectionMode, at as resolveEffectiveRecallMode, au as resolvePersistedMemoryRelativePath, av as resolveRecallModeDecision, aw as resolveRecallModeDecisionAsync, ax as resolveRecentThreadMemoryPaths, E as sanitizeSessionKeyForFilename, ay as shouldFilterLifecycleRecallCandidate, az as splitTurnsBySourceValidAt, aA as summarizeGraphShadowComparison, aB as targetSourceValidAtSortMs, aC as throwIfRecallAborted, aD as tokenizeRecallQuery, aE as utcDateKeysForLocalDay } from './orchestrator-D7ZGOQLX.js';
|
|
12
12
|
export { formatCompressionGuidelinesForRecall } from './orchestration/compression-guideline-coordinator.js';
|
|
13
13
|
import './live-connectors-runner.js';
|
|
14
14
|
import './model-registry.js';
|
|
@@ -22,10 +22,10 @@ import './semantic-DJR8_DMQ.js';
|
|
|
22
22
|
import './replay/types.js';
|
|
23
23
|
import './types-gb_SNtjR.js';
|
|
24
24
|
import './lcm/engine.js';
|
|
25
|
-
import './semantic-consolidation-
|
|
25
|
+
import './semantic-consolidation-7Sndms2M.js';
|
|
26
26
|
import './conversation-index/backend.js';
|
|
27
|
-
import './catalog-
|
|
28
|
-
import './types-
|
|
27
|
+
import './catalog-BEmNVRN0.js';
|
|
28
|
+
import './types-DTEFxFuL.js';
|
|
29
29
|
import './namespaces/search.js';
|
|
30
30
|
import './shared-context/manager.js';
|
|
31
31
|
import './compounding/engine.js';
|