@remnic/core 9.31.0 → 9.32.0
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 +10 -10
- package/dist/access-admin-ops-surface.js +15 -10
- package/dist/access-authorization-probe.d.ts +10 -10
- package/dist/access-authorization-probe.js +16 -11
- package/dist/access-boundary.d.ts +10 -10
- package/dist/access-boundary.js +15 -10
- package/dist/access-cli.js +35 -36
- package/dist/access-cli.js.map +1 -1
- package/dist/access-extraction-force-flush.d.ts +10 -10
- package/dist/access-extraction-force-flush.js +15 -10
- package/dist/access-health-types.d.ts +1 -1
- package/dist/access-http-lcm-compaction.d.ts +10 -10
- package/dist/access-http-lifecycle-flush.d.ts +10 -10
- package/dist/access-http.d.ts +10 -10
- package/dist/access-http.js +20 -15
- package/dist/access-identity-continuity-surface.d.ts +8 -8
- package/dist/access-identity-continuity-surface.js +15 -10
- package/dist/access-lcm-surface.d.ts +10 -10
- package/dist/access-lcm-surface.js +15 -10
- package/dist/access-mcp.d.ts +10 -10
- package/dist/access-mcp.js +18 -13
- package/dist/access-memory-search-fanout.d.ts +2 -2
- package/dist/{access-namespace-preflight-D4vW97H1.d.ts → access-namespace-preflight-COhbXBqS.d.ts} +1 -1
- package/dist/access-namespace-preflight.d.ts +3 -3
- package/dist/access-namespace-preflight.js +15 -10
- package/dist/access-observe-write-surface.d.ts +10 -10
- package/dist/access-observe-write-surface.js +15 -10
- package/dist/access-operations-batch.js +16 -11
- package/dist/access-operations.d.ts +10 -10
- package/dist/access-operations.js +17 -12
- package/dist/access-recall-concurrency.d.ts +10 -10
- package/dist/access-recall-concurrency.js +15 -10
- package/dist/access-recall-response.d.ts +10 -10
- package/dist/access-recall-response.js +15 -10
- package/dist/access-recall-surface.d.ts +10 -10
- package/dist/access-recall-surface.js +15 -10
- package/dist/{access-service-B6PZ_xUL.d.ts → access-service-BmBTtEKO.d.ts} +7 -7
- package/dist/access-service-helpers.d.ts +10 -10
- package/dist/access-service.d.ts +10 -10
- package/dist/access-service.js +15 -10
- package/dist/access-surface-catalog.d.ts +10 -10
- package/dist/access-wearables-meetings-surface.d.ts +3 -3
- 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 +8 -8
- package/dist/briefing.d.ts +2 -2
- package/dist/briefing.js +3 -3
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer-turn-helpers.d.ts +1 -1
- package/dist/buffer.d.ts +2 -2
- package/dist/bulk-import/index.d.ts +3 -3
- package/dist/calibration.d.ts +1 -1
- package/dist/capabilities.d.ts +1 -1
- package/dist/{catalog-CGFYmTT8.d.ts → catalog-Dm-DvNBY.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-consolidation.js +6 -7
- package/dist/causal-consolidation.js.map +1 -1
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/{chunk-Z4SWV4VW.js → chunk-27HHNYSQ.js} +2 -2
- package/dist/{chunk-U52AKICI.js → chunk-2NTGBZLZ.js} +3 -3
- package/dist/{chunk-EJCAV3QZ.js → chunk-2Q4JJ3FZ.js} +2 -2
- package/dist/{chunk-GTTAHHD3.js → chunk-2QIMTVEJ.js} +5 -4
- package/dist/chunk-2QIMTVEJ.js.map +1 -0
- package/dist/{chunk-H36LJIPD.js → chunk-35IVNNRK.js} +2 -2
- package/dist/{chunk-YFOMN2II.js → chunk-3EQ2XB3W.js} +5 -5
- package/dist/{chunk-5XA7PQ5I.js → chunk-5WZVQRHV.js} +2 -2
- package/dist/{chunk-27P5YVDU.js → chunk-6P7MTSU5.js} +2 -2
- package/dist/{chunk-BUGVGH4N.js → chunk-AJL6NNX6.js} +2 -2
- package/dist/{chunk-GOUILH55.js → chunk-AQEJE3WO.js} +2 -2
- package/dist/{chunk-NFXQJHJD.js → chunk-AQWVJURR.js} +2 -2
- package/dist/{chunk-NYCGIQRA.js → chunk-CE5355TT.js} +21 -5
- package/dist/chunk-CE5355TT.js.map +1 -0
- package/dist/{chunk-AJEMDQNA.js → chunk-CJDNT45S.js} +6 -6
- package/dist/{chunk-7G5MH4NT.js → chunk-FHBITMRY.js} +2 -2
- package/dist/{chunk-FI4F5X2V.js → chunk-FMFLGS5Z.js} +6 -6
- package/dist/{chunk-PNPOWBGC.js → chunk-G2YQ57YO.js} +4 -4
- package/dist/{chunk-4XHR3I67.js → chunk-HFQQWAMS.js} +19 -19
- package/dist/{chunk-JCFTIQBR.js → chunk-HKPJPOW7.js} +2 -2
- package/dist/{chunk-VANLTS5F.js → chunk-IGWFKW4B.js} +2 -2
- package/dist/{chunk-OGCNZPKX.js → chunk-J3ZGPYXB.js} +24 -10
- package/dist/chunk-J3ZGPYXB.js.map +1 -0
- package/dist/{chunk-RUYJ7TWU.js → chunk-LUQ443JP.js} +21 -18
- package/dist/chunk-LUQ443JP.js.map +1 -0
- package/dist/{chunk-UR77VKF7.js → chunk-ODGOP7P2.js} +2 -2
- package/dist/{chunk-BR2K43MK.js → chunk-OPBTPRGY.js} +2 -2
- package/dist/{chunk-KE353EWI.js → chunk-QDTZ2HF7.js} +3 -3
- package/dist/{chunk-CIVDJD6P.js → chunk-QMWFQBIL.js} +2 -2
- package/dist/{chunk-KIT6M7EB.js → chunk-THCPRMRF.js} +2 -2
- package/dist/{chunk-E4PWACUN.js → chunk-U7QYBSQJ.js} +2 -2
- package/dist/{chunk-XHDIB4T4.js → chunk-UORKJ34C.js} +2 -2
- package/dist/{chunk-CZDOT5I2.js → chunk-VMZ56EE3.js} +2 -2
- package/dist/{chunk-7DRETLP5.js → chunk-VVDPPDDF.js} +1 -1
- package/dist/{chunk-7DRETLP5.js.map → chunk-VVDPPDDF.js.map} +1 -1
- package/dist/{chunk-C4VQMFVM.js → chunk-YX5LN6JR.js} +3 -3
- package/dist/{chunk-QGENAYVS.js → chunk-Z7XKUWYS.js} +2 -2
- package/dist/{cli-BptUDTtp.d.ts → cli-DRJLv1Xt.d.ts} +5 -5
- package/dist/cli.d.ts +12 -12
- package/dist/cli.js +30 -27
- package/dist/compounding/engine.d.ts +2 -2
- package/dist/compounding/engine.js +3 -3
- 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 +3 -4
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +3 -2
- package/dist/connectors/index.js +11 -10
- package/dist/consolidation-provenance-check.d.ts +2 -2
- package/dist/consolidation-undo.d.ts +2 -2
- package/dist/contradiction/index.d.ts +2 -2
- 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/corpus-watermark.d.ts +1 -1
- package/dist/corpus-watermark.js +5 -5
- 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 +2 -2
- package/dist/entity-retrieval.js +3 -3
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +8 -8
- package/dist/extraction-error-classification.d.ts +1 -1
- 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-liveness.d.ts +1 -1
- package/dist/extraction-source-grounding-rules.d.ts +1 -1
- package/dist/extraction-source-grounding.d.ts +1 -1
- package/dist/extraction.d.ts +1 -1
- 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/importance.d.ts +1 -1
- package/dist/importers/index.d.ts +1 -1
- package/dist/in-flight-reads.d.ts +1 -1
- package/dist/index.d.ts +19 -19
- package/dist/index.js +71 -72
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/index.d.ts +1 -1
- 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 +3 -3
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +3 -3
- package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-projection.js +4 -4
- package/dist/{maintenance-b6f92bRz.d.ts → maintenance-C6Pffz30.d.ts} +3 -3
- package/dist/mcp-memory-inspector-app.d.ts +10 -10
- 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 +2 -2
- package/dist/models-json.d.ts +1 -1
- package/dist/namespaces/migrate.d.ts +3 -3
- package/dist/namespaces/migrate.js +4 -4
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/storage.d.ts +3 -3
- package/dist/namespaces/storage.js +3 -3
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/offline-sync-impression-drain.d.ts +1 -1
- package/dist/operator-doctor-corpus.d.ts +1 -1
- package/dist/operator-doctor-corpus.js +6 -6
- package/dist/operator-doctor-replica.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +3 -3
- package/dist/operator-toolkit.js +10 -10
- package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
- package/dist/orchestration/maintenance.d.ts +4 -4
- package/dist/orchestration/maintenance.js +8 -8
- package/dist/{orchestrator-3uGxC1qO.d.ts → orchestrator-eQlmasno.d.ts} +7 -7
- package/dist/orchestrator.d.ts +8 -8
- package/dist/orchestrator.js +35 -36
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/{pipeline-DepuNr-m.d.ts → pipeline-CZGmAMQ2.d.ts} +1 -1
- package/dist/policy-runtime.d.ts +1 -1
- package/dist/proactive-contention.d.ts +1 -1
- package/dist/provenance.d.ts +1 -1
- package/dist/{qmd-Dalr3Jby.d.ts → qmd-DBj4MF8T.d.ts} +1 -1
- package/dist/qmd-preflight.d.ts +2 -2
- package/dist/qmd-recall-cache.d.ts +1 -1
- package/dist/qmd.d.ts +2 -2
- package/dist/recall-concurrency-config.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-explain-renderer.js +3 -3
- package/dist/recall-memory-map.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-timings.d.ts +1 -1
- package/dist/recall-xray-cli.d.ts +1 -1
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.d.ts +1 -1
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.d.ts +1 -1
- package/dist/recall-xray.js +2 -2
- package/dist/replay/normalizers/chatgpt.d.ts +1 -1
- package/dist/replay/normalizers/claude.d.ts +1 -1
- package/dist/replay/normalizers/openclaw.d.ts +1 -1
- package/dist/replay/normalizers/shared.d.ts +1 -1
- package/dist/replay/runner.d.ts +1 -1
- package/dist/replay/types.d.ts +1 -1
- package/dist/replica-divergence.d.ts +1 -1
- package/dist/replica-peers-config.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 +2 -2
- 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/salvage-envelope.d.ts +1 -1
- package/dist/{scope-profiles-BpiM5hTU.d.ts → scope-profiles-S85lrsUn.d.ts} +1 -1
- package/dist/search/embed-helper.d.ts +1 -1
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/index.d.ts +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/{semantic-consolidation-CMtVrf9f.d.ts → semantic-consolidation-DVzDcV6x.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +5 -6
- package/dist/semantic-rule-promotion.js +3 -3
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +3 -3
- package/dist/{service-DuAxwSgg.d.ts → service-C2M-wD4W.d.ts} +2 -2
- 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/signal.d.ts +1 -1
- package/dist/{storage-CF0Ih8GP.d.ts → storage-dyBC3Q84.d.ts} +1 -1
- package/dist/storage.d.ts +2 -2
- package/dist/storage.js +2 -2
- package/dist/summarizer.d.ts +1 -1
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/temporal-supersession.d.ts +2 -2
- package/dist/temporal-timeline-recall.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 +2 -2
- package/dist/tier-routing.d.ts +1 -1
- package/dist/topics.d.ts +1 -1
- package/dist/transcript.d.ts +1 -1
- package/dist/trust-score-stage.d.ts +1 -1
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-BpaYvJ6v.d.ts → types-D63ZI--P.d.ts} +1 -0
- package/dist/types.d.ts +1 -1
- package/dist/types.js +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.js +3 -3
- package/dist/write-envelope.d.ts +1 -1
- package/package.json +2 -2
- package/src/connectors/index.ts +1 -1
- package/src/connectors/label.ts +18 -0
- package/src/orchestration/recall-result-formatter.ts +21 -2
- package/src/orchestration/recall-search-pipeline.test.ts +34 -0
- package/src/orchestration/recall-search-pipeline.ts +9 -1
- package/src/recall-source-connector-label.test.ts +300 -0
- package/src/types.ts +1 -1
- package/dist/chunk-3UXOZBHV.js +0 -20
- package/dist/chunk-3UXOZBHV.js.map +0 -1
- package/dist/chunk-GTTAHHD3.js.map +0 -1
- package/dist/chunk-NYCGIQRA.js.map +0 -1
- package/dist/chunk-OGCNZPKX.js.map +0 -1
- package/dist/chunk-RUYJ7TWU.js.map +0 -1
- /package/dist/{chunk-Z4SWV4VW.js.map → chunk-27HHNYSQ.js.map} +0 -0
- /package/dist/{chunk-U52AKICI.js.map → chunk-2NTGBZLZ.js.map} +0 -0
- /package/dist/{chunk-EJCAV3QZ.js.map → chunk-2Q4JJ3FZ.js.map} +0 -0
- /package/dist/{chunk-H36LJIPD.js.map → chunk-35IVNNRK.js.map} +0 -0
- /package/dist/{chunk-YFOMN2II.js.map → chunk-3EQ2XB3W.js.map} +0 -0
- /package/dist/{chunk-5XA7PQ5I.js.map → chunk-5WZVQRHV.js.map} +0 -0
- /package/dist/{chunk-27P5YVDU.js.map → chunk-6P7MTSU5.js.map} +0 -0
- /package/dist/{chunk-BUGVGH4N.js.map → chunk-AJL6NNX6.js.map} +0 -0
- /package/dist/{chunk-GOUILH55.js.map → chunk-AQEJE3WO.js.map} +0 -0
- /package/dist/{chunk-NFXQJHJD.js.map → chunk-AQWVJURR.js.map} +0 -0
- /package/dist/{chunk-AJEMDQNA.js.map → chunk-CJDNT45S.js.map} +0 -0
- /package/dist/{chunk-7G5MH4NT.js.map → chunk-FHBITMRY.js.map} +0 -0
- /package/dist/{chunk-FI4F5X2V.js.map → chunk-FMFLGS5Z.js.map} +0 -0
- /package/dist/{chunk-PNPOWBGC.js.map → chunk-G2YQ57YO.js.map} +0 -0
- /package/dist/{chunk-4XHR3I67.js.map → chunk-HFQQWAMS.js.map} +0 -0
- /package/dist/{chunk-JCFTIQBR.js.map → chunk-HKPJPOW7.js.map} +0 -0
- /package/dist/{chunk-VANLTS5F.js.map → chunk-IGWFKW4B.js.map} +0 -0
- /package/dist/{chunk-UR77VKF7.js.map → chunk-ODGOP7P2.js.map} +0 -0
- /package/dist/{chunk-BR2K43MK.js.map → chunk-OPBTPRGY.js.map} +0 -0
- /package/dist/{chunk-KE353EWI.js.map → chunk-QDTZ2HF7.js.map} +0 -0
- /package/dist/{chunk-CIVDJD6P.js.map → chunk-QMWFQBIL.js.map} +0 -0
- /package/dist/{chunk-KIT6M7EB.js.map → chunk-THCPRMRF.js.map} +0 -0
- /package/dist/{chunk-E4PWACUN.js.map → chunk-U7QYBSQJ.js.map} +0 -0
- /package/dist/{chunk-XHDIB4T4.js.map → chunk-UORKJ34C.js.map} +0 -0
- /package/dist/{chunk-CZDOT5I2.js.map → chunk-VMZ56EE3.js.map} +0 -0
- /package/dist/{chunk-C4VQMFVM.js.map → chunk-YX5LN6JR.js.map} +0 -0
- /package/dist/{chunk-QGENAYVS.js.map → chunk-Z7XKUWYS.js.map} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
resolveDefaultNamespaceRoot,
|
|
6
6
|
resolveNamespaceStorageRoot
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Z7XKUWYS.js";
|
|
8
8
|
import {
|
|
9
9
|
namespaceIdentityFromToken,
|
|
10
10
|
namespaceIdentityToken,
|
|
@@ -2204,4 +2204,4 @@ export {
|
|
|
2204
2204
|
runNamespaceMaintenancePlan,
|
|
2205
2205
|
runNamespaceMaintenanceBatchPlan
|
|
2206
2206
|
};
|
|
2207
|
-
//# sourceMappingURL=chunk-
|
|
2207
|
+
//# sourceMappingURL=chunk-35IVNNRK.js.map
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
} from "./chunk-666A3MOW.js";
|
|
10
10
|
import {
|
|
11
11
|
rebuildMemoryLifecycleLedger
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-HKPJPOW7.js";
|
|
13
13
|
import {
|
|
14
14
|
rebuildMemoryProjection
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YX5LN6JR.js";
|
|
16
16
|
import {
|
|
17
17
|
planNamespaceMaintenance,
|
|
18
18
|
runNamespaceMaintenanceBatchPlan
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-35IVNNRK.js";
|
|
20
20
|
import {
|
|
21
21
|
activityDayWindow,
|
|
22
22
|
activityDigestPath,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from "./chunk-7RAJ3GXO.js";
|
|
29
29
|
import {
|
|
30
30
|
readProjectionRebuiltAt
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-FHBITMRY.js";
|
|
32
32
|
import {
|
|
33
33
|
STATE_FILE_MAX_DECRYPT_BYTES,
|
|
34
34
|
drainPendingLifecycleLedgerIfAny,
|
|
@@ -1716,4 +1716,4 @@ export {
|
|
|
1716
1716
|
ActivitySyncScheduler,
|
|
1717
1717
|
MaintenanceScheduler
|
|
1718
1718
|
};
|
|
1719
|
-
//# sourceMappingURL=chunk-
|
|
1719
|
+
//# sourceMappingURL=chunk-3EQ2XB3W.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-B7RWBZXW.js";
|
|
4
4
|
import {
|
|
5
5
|
StorageManager
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FHBITMRY.js";
|
|
7
7
|
import {
|
|
8
8
|
getCachedEpisodeMap,
|
|
9
9
|
setCachedEpisodeMap
|
|
@@ -109,4 +109,4 @@ export {
|
|
|
109
109
|
compareVerifiedEpisodeResults,
|
|
110
110
|
searchVerifiedEpisodes
|
|
111
111
|
};
|
|
112
|
-
//# sourceMappingURL=chunk-
|
|
112
|
+
//# sourceMappingURL=chunk-5WZVQRHV.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listNamespaces
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-27HHNYSQ.js";
|
|
4
4
|
import {
|
|
5
5
|
capabilityAllowsNamespace
|
|
6
6
|
} from "./chunk-MZWSOLMT.js";
|
|
@@ -265,4 +265,4 @@ export {
|
|
|
265
265
|
computeServiceCorpusWatermarks,
|
|
266
266
|
computeServiceCorpusCensus
|
|
267
267
|
};
|
|
268
|
-
//# sourceMappingURL=chunk-
|
|
268
|
+
//# sourceMappingURL=chunk-6P7MTSU5.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StorageManager
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FHBITMRY.js";
|
|
4
4
|
import {
|
|
5
5
|
serializeMutations
|
|
6
6
|
} from "./chunk-FFAZ2XFU.js";
|
|
@@ -958,4 +958,4 @@ export {
|
|
|
958
958
|
resolveBriefingSaveDir,
|
|
959
959
|
briefingFilename
|
|
960
960
|
};
|
|
961
|
-
//# sourceMappingURL=chunk-
|
|
961
|
+
//# sourceMappingURL=chunk-AJL6NNX6.js.map
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk-WWUVONGW.js";
|
|
23
23
|
import {
|
|
24
24
|
getOperation
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-J3ZGPYXB.js";
|
|
26
26
|
import {
|
|
27
27
|
assertOperationAllowed,
|
|
28
28
|
capabilityAllowsOp,
|
|
@@ -3754,4 +3754,4 @@ export {
|
|
|
3754
3754
|
MCP_SUPPORTED_PROTOCOL_VERSIONS,
|
|
3755
3755
|
EngramMcpServer
|
|
3756
3756
|
};
|
|
3757
|
-
//# sourceMappingURL=chunk-
|
|
3757
|
+
//# sourceMappingURL=chunk-AQEJE3WO.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-2DQ2XREU.js";
|
|
7
7
|
import {
|
|
8
8
|
compareEntityTimestamps
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FHBITMRY.js";
|
|
10
10
|
import {
|
|
11
11
|
normalizeEntityName
|
|
12
12
|
} from "./chunk-YXZG5TVN.js";
|
|
@@ -843,4 +843,4 @@ export {
|
|
|
843
843
|
entityIndexVersion,
|
|
844
844
|
entityRecentTranscriptLookbackHours
|
|
845
845
|
};
|
|
846
|
-
//# sourceMappingURL=chunk-
|
|
846
|
+
//# sourceMappingURL=chunk-AQWVJURR.js.map
|
|
@@ -2,12 +2,9 @@ import {
|
|
|
2
2
|
hasCodexMaterializeSentinel,
|
|
3
3
|
materializeForNamespace
|
|
4
4
|
} from "./chunk-KSXJOC4F.js";
|
|
5
|
-
import {
|
|
6
|
-
resolveNamespaceChildRoot
|
|
7
|
-
} from "./chunk-3UXOZBHV.js";
|
|
8
5
|
import {
|
|
9
6
|
StorageManager
|
|
10
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FHBITMRY.js";
|
|
11
8
|
import {
|
|
12
9
|
isSafeRouteNamespace
|
|
13
10
|
} from "./chunk-U3PN77QT.js";
|
|
@@ -17,6 +14,24 @@ import {
|
|
|
17
14
|
|
|
18
15
|
// src/connectors/codex-materialize-runner.ts
|
|
19
16
|
import { existsSync } from "fs";
|
|
17
|
+
|
|
18
|
+
// src/namespaces/path.ts
|
|
19
|
+
import path from "path";
|
|
20
|
+
function assertNamespacePathInsideRoot(root, candidate, namespace, label = "namespace path") {
|
|
21
|
+
const relative = path.relative(root, candidate);
|
|
22
|
+
if (relative === "" || !relative.startsWith("..") && !path.isAbsolute(relative)) {
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
throw new Error(`invalid ${label}: ${namespace}`);
|
|
26
|
+
}
|
|
27
|
+
function resolveNamespaceChildRoot(memoryDir, namespace, label = "namespace path") {
|
|
28
|
+
const namespaceRoot = path.resolve(memoryDir, "namespaces");
|
|
29
|
+
const candidate = path.resolve(namespaceRoot, namespace);
|
|
30
|
+
assertNamespacePathInsideRoot(namespaceRoot, candidate, namespace, label);
|
|
31
|
+
return candidate;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// src/connectors/codex-materialize-runner.ts
|
|
20
35
|
async function runCodexMaterialize(options) {
|
|
21
36
|
const cfg = options.config;
|
|
22
37
|
if (!cfg.codexMaterializeMemories) {
|
|
@@ -115,7 +130,8 @@ function resolveNamespaceDir(memoryDir, namespace, cfg) {
|
|
|
115
130
|
}
|
|
116
131
|
|
|
117
132
|
export {
|
|
133
|
+
resolveNamespaceChildRoot,
|
|
118
134
|
runCodexMaterialize,
|
|
119
135
|
runPostConsolidationMaterialize
|
|
120
136
|
};
|
|
121
|
-
//# sourceMappingURL=chunk-
|
|
137
|
+
//# sourceMappingURL=chunk-CE5355TT.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/connectors/codex-materialize-runner.ts","../src/namespaces/path.ts"],"sourcesContent":["/**\n * codex-materialize-runner.ts — Thin I/O bridge for the Codex materializer.\n *\n * The pure rendering logic lives in {@link ./codex-materialize.js}. This file\n * is the place callers (consolidation hooks, CLI, session-end hook) go when\n * they want the whole \"load memories from storage → render → write\" flow.\n *\n * Kept deliberately small so #378 never has to reach into orchestrator.ts /\n * importance.ts — the two files Wave 1 agents are editing concurrently.\n */\n\nimport { existsSync } from \"node:fs\";\n\nimport { log } from \"../logger.js\";\nimport { resolveNamespaceChildRoot } from \"../namespaces/path.js\";\nimport { isSafeRouteNamespace } from \"../routing/engine.js\";\nimport { StorageManager } from \"../storage.js\";\nimport type { PluginConfig, MemoryFile } from \"../types.js\";\nimport {\n hasCodexMaterializeSentinel,\n materializeForNamespace,\n type MaterializeResult,\n type RolloutSummaryInput,\n} from \"./codex-materialize.js\";\n\n/** Options accepted by the shared post-consolidation materialize helper. */\nexport interface PostConsolidationMaterializeOptions {\n config: PluginConfig;\n namespace?: string;\n memories?: MemoryFile[];\n memoryDir?: string;\n codexHome?: string;\n rolloutSummaries?: RolloutSummaryInput[];\n now?: Date;\n}\n\n/** Options accepted by the runner. */\nexport interface RunMaterializeOptions {\n /** Remnic config — we only read the `codexMaterialize*` fields. */\n config: PluginConfig;\n /** Namespace to materialize. Overrides the config's `codexMaterializeNamespace`. */\n namespace?: string;\n /** Override the memory directory (defaults to `config.memoryDir`). */\n memoryDir?: string;\n /** Override `<codex_home>` (useful for tests). */\n codexHome?: string;\n /** Optional pre-loaded memories (bypasses disk read — used in tests). */\n memories?: MemoryFile[];\n /** Optional rollout summaries supplied by the caller. */\n rolloutSummaries?: RolloutSummaryInput[];\n /** Current time injection for deterministic runs. */\n now?: Date;\n /** Reason string — logged for observability. */\n reason?: \"consolidation\" | \"session_end\" | \"manual\" | \"cli\";\n}\n\n/**\n * Run the Codex materialization end-to-end. Returns `null` when the feature\n * is disabled in config or when the user hasn't opted in via the sentinel.\n * Never throws for \"expected\" skips; only throws on schema validation or I/O\n * errors that callers actually need to surface.\n */\nexport async function runCodexMaterialize(\n options: RunMaterializeOptions,\n): Promise<MaterializeResult | null> {\n const cfg = options.config;\n if (!cfg.codexMaterializeMemories) {\n log.debug(`[codex-materialize] skipped — codexMaterializeMemories=false`);\n return null;\n }\n\n // Per-trigger gate: session-end runs must honor codexMaterializeOnSessionEnd.\n // The Codex Stop hook (remnic-codex-hook.cjs, session-end event) passes\n // reason=\"session_end\"; when the user has turned off the session-end trigger\n // we short-circuit here without touching disk.\n if (options.reason === \"session_end\" && cfg.codexMaterializeOnSessionEnd === false) {\n log.debug(\n `[codex-materialize] skipped — session-end disabled via codexMaterializeOnSessionEnd=false`,\n );\n return null;\n }\n\n const namespace = resolveNamespace(options.namespace, cfg);\n const memoryDir = options.memoryDir ?? cfg.memoryDir;\n const codexHome = options.codexHome ?? cfg.codex?.codexHome ?? undefined;\n if (!memoryDir) {\n log.warn(`[codex-materialize] skipped — no memoryDir available`);\n return null;\n }\n\n let memories: MemoryFile[];\n if (options.memories) {\n memories = options.memories;\n } else {\n if (!hasCodexMaterializeSentinel(codexHome)) {\n return materializeForNamespace(namespace, {\n memories: [],\n codexHome,\n maxSummaryTokens: cfg.codexMaterializeMaxSummaryTokens,\n rolloutRetentionDays: cfg.codexMaterializeRolloutRetentionDays,\n rolloutSummaries: options.rolloutSummaries,\n now: options.now,\n });\n }\n const nsDir = resolveNamespaceDir(memoryDir, namespace, cfg);\n const storage = new StorageManager(nsDir);\n memories = await storage.readAllMemories();\n }\n\n // Intentionally NOT catching here: per the JSDoc contract above,\n // schema-validation and I/O errors from `materializeForNamespace` must\n // surface to callers so they can exit non-zero (CLI) or log + recover\n // (consolidation post-hook, which has its own narrower try/catch).\n // Catching everything would make a broken MEMORY.md render look like a\n // successful skip, and invisible failures are strictly worse than loud\n // ones for a feature that writes to `~/.codex/memories`.\n const result = materializeForNamespace(namespace, {\n memories,\n codexHome,\n maxSummaryTokens: cfg.codexMaterializeMaxSummaryTokens,\n rolloutRetentionDays: cfg.codexMaterializeRolloutRetentionDays,\n rolloutSummaries: options.rolloutSummaries,\n now: options.now,\n });\n if (options.reason) {\n log.debug(\n `[codex-materialize] ran reason=${options.reason} wrote=${result.wrote} files=${result.filesWritten.length}`,\n );\n }\n return result;\n}\n\n/**\n * Shared helper for post-consolidation materialize hooks.\n *\n * `materializeAfterSemanticConsolidation` and `materializeAfterCausalConsolidation`\n * used to be two nearly-identical copies of this logic; keeping the actual\n * body here means any future guard/logging change happens in one place.\n *\n * The only per-caller knob is `logPrefix`, which is used to tag the\n * non-fatal warning emitted when the materializer throws.\n */\nexport async function runPostConsolidationMaterialize(\n logPrefix: string,\n options: PostConsolidationMaterializeOptions,\n): Promise<MaterializeResult | null> {\n if (!options.config.codexMaterializeMemories) return null;\n if (!options.config.codexMaterializeOnConsolidation) return null;\n try {\n return await runCodexMaterialize({\n config: options.config,\n namespace: options.namespace,\n memories: options.memories,\n memoryDir: options.memoryDir,\n codexHome: options.codexHome,\n rolloutSummaries: options.rolloutSummaries,\n now: options.now,\n reason: \"consolidation\",\n });\n } catch (error) {\n log.warn(\n `${logPrefix} Codex materialize post-hook failed (non-fatal): ${\n error instanceof Error ? error.message : String(error)\n }`,\n );\n return null;\n }\n}\n\nfunction resolveNamespace(override: string | undefined, cfg: PluginConfig): string {\n const requested = (override ?? cfg.codexMaterializeNamespace ?? \"auto\").trim();\n const defaultNamespace = (cfg.defaultNamespace ?? \"\").trim();\n const namespace =\n requested.length === 0 || requested === \"auto\"\n ? (defaultNamespace.length > 0 ? defaultNamespace : \"default\")\n : requested;\n if (!isSafeRouteNamespace(namespace)) {\n throw new Error(`invalid materialize namespace: ${namespace}`);\n }\n return namespace;\n}\n\n/**\n * Resolve the on-disk storage root for a namespace, matching\n * `NamespaceStorageRouter` in `packages/remnic-core/src/namespaces/storage.ts`.\n *\n * Contract:\n * - When namespaces are disabled, every namespace maps to `memoryDir` itself.\n * - When namespaces are enabled, non-default namespaces always live under\n * `memoryDir/namespaces/<namespace>`.\n * - The default namespace prefers `memoryDir/namespaces/<defaultNamespace>`\n * when that directory already exists (migrated install); otherwise it\n * falls back to the legacy `memoryDir` root so materialization does not\n * silently switch directories out from under an existing install.\n */\nfunction resolveNamespaceDir(\n memoryDir: string,\n namespace: string,\n cfg: PluginConfig,\n): string {\n if (!cfg.namespacesEnabled) return memoryDir;\n\n const configuredDefaultNamespace = (cfg.defaultNamespace ?? \"\").trim();\n const defaultNamespace =\n configuredDefaultNamespace.length > 0 ? configuredDefaultNamespace : \"default\";\n const ns = (namespace || defaultNamespace).trim();\n if (!isSafeRouteNamespace(ns)) {\n throw new Error(`invalid materialize namespace: ${ns}`);\n }\n const namespacedRoot = resolveNamespaceChildRoot(memoryDir, ns, \"materialize namespace path\");\n\n if (ns === defaultNamespace) {\n return existsSync(namespacedRoot) ? namespacedRoot : memoryDir;\n }\n return namespacedRoot;\n}\n","import path from \"node:path\";\n\nexport function assertNamespacePathInsideRoot(\n root: string,\n candidate: string,\n namespace: string,\n label = \"namespace path\",\n): void {\n const relative = path.relative(root, candidate);\n if (relative === \"\" || (!relative.startsWith(\"..\") && !path.isAbsolute(relative))) {\n return;\n }\n throw new Error(`invalid ${label}: ${namespace}`);\n}\n\nexport function resolveNamespaceChildRoot(\n memoryDir: string,\n namespace: string,\n label = \"namespace path\",\n): string {\n const namespaceRoot = path.resolve(memoryDir, \"namespaces\");\n const candidate = path.resolve(namespaceRoot, namespace);\n assertNamespacePathInsideRoot(namespaceRoot, candidate, namespace, label);\n return candidate;\n}\n"],"mappings":";;;;;;;;;;;;;;;AAWA,SAAS,kBAAkB;;;ACX3B,OAAO,UAAU;AAEV,SAAS,8BACd,MACA,WACA,WACA,QAAQ,kBACF;AACN,QAAM,WAAW,KAAK,SAAS,MAAM,SAAS;AAC9C,MAAI,aAAa,MAAO,CAAC,SAAS,WAAW,IAAI,KAAK,CAAC,KAAK,WAAW,QAAQ,GAAI;AACjF;AAAA,EACF;AACA,QAAM,IAAI,MAAM,WAAW,KAAK,KAAK,SAAS,EAAE;AAClD;AAEO,SAAS,0BACd,WACA,WACA,QAAQ,kBACA;AACR,QAAM,gBAAgB,KAAK,QAAQ,WAAW,YAAY;AAC1D,QAAM,YAAY,KAAK,QAAQ,eAAe,SAAS;AACvD,gCAA8B,eAAe,WAAW,WAAW,KAAK;AACxE,SAAO;AACT;;;ADsCA,eAAsB,oBACpB,SACmC;AACnC,QAAM,MAAM,QAAQ;AACpB,MAAI,CAAC,IAAI,0BAA0B;AACjC,QAAI,MAAM,mEAA8D;AACxE,WAAO;AAAA,EACT;AAMA,MAAI,QAAQ,WAAW,iBAAiB,IAAI,iCAAiC,OAAO;AAClF,QAAI;AAAA,MACF;AAAA,IACF;AACA,WAAO;AAAA,EACT;AAEA,QAAM,YAAY,iBAAiB,QAAQ,WAAW,GAAG;AACzD,QAAM,YAAY,QAAQ,aAAa,IAAI;AAC3C,QAAM,YAAY,QAAQ,aAAa,IAAI,OAAO,aAAa;AAC/D,MAAI,CAAC,WAAW;AACd,QAAI,KAAK,2DAAsD;AAC/D,WAAO;AAAA,EACT;AAEA,MAAI;AACJ,MAAI,QAAQ,UAAU;AACpB,eAAW,QAAQ;AAAA,EACrB,OAAO;AACL,QAAI,CAAC,4BAA4B,SAAS,GAAG;AAC3C,aAAO,wBAAwB,WAAW;AAAA,QACxC,UAAU,CAAC;AAAA,QACX;AAAA,QACA,kBAAkB,IAAI;AAAA,QACtB,sBAAsB,IAAI;AAAA,QAC1B,kBAAkB,QAAQ;AAAA,QAC1B,KAAK,QAAQ;AAAA,MACf,CAAC;AAAA,IACH;AACA,UAAM,QAAQ,oBAAoB,WAAW,WAAW,GAAG;AAC3D,UAAM,UAAU,IAAI,eAAe,KAAK;AACxC,eAAW,MAAM,QAAQ,gBAAgB;AAAA,EAC3C;AASA,QAAM,SAAS,wBAAwB,WAAW;AAAA,IAChD;AAAA,IACA;AAAA,IACA,kBAAkB,IAAI;AAAA,IACtB,sBAAsB,IAAI;AAAA,IAC1B,kBAAkB,QAAQ;AAAA,IAC1B,KAAK,QAAQ;AAAA,EACf,CAAC;AACD,MAAI,QAAQ,QAAQ;AAClB,QAAI;AAAA,MACF,kCAAkC,QAAQ,MAAM,UAAU,OAAO,KAAK,UAAU,OAAO,aAAa,MAAM;AAAA,IAC5G;AAAA,EACF;AACA,SAAO;AACT;AAYA,eAAsB,gCACpB,WACA,SACmC;AACnC,MAAI,CAAC,QAAQ,OAAO,yBAA0B,QAAO;AACrD,MAAI,CAAC,QAAQ,OAAO,gCAAiC,QAAO;AAC5D,MAAI;AACF,WAAO,MAAM,oBAAoB;AAAA,MAC/B,QAAQ,QAAQ;AAAA,MAChB,WAAW,QAAQ;AAAA,MACnB,UAAU,QAAQ;AAAA,MAClB,WAAW,QAAQ;AAAA,MACnB,WAAW,QAAQ;AAAA,MACnB,kBAAkB,QAAQ;AAAA,MAC1B,KAAK,QAAQ;AAAA,MACb,QAAQ;AAAA,IACV,CAAC;AAAA,EACH,SAAS,OAAO;AACd,QAAI;AAAA,MACF,GAAG,SAAS,oDACV,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK,CACvD;AAAA,IACF;AACA,WAAO;AAAA,EACT;AACF;AAEA,SAAS,iBAAiB,UAA8B,KAA2B;AACjF,QAAM,aAAa,YAAY,IAAI,6BAA6B,QAAQ,KAAK;AAC7E,QAAM,oBAAoB,IAAI,oBAAoB,IAAI,KAAK;AAC3D,QAAM,YACJ,UAAU,WAAW,KAAK,cAAc,SACnC,iBAAiB,SAAS,IAAI,mBAAmB,YAClD;AACN,MAAI,CAAC,qBAAqB,SAAS,GAAG;AACpC,UAAM,IAAI,MAAM,kCAAkC,SAAS,EAAE;AAAA,EAC/D;AACA,SAAO;AACT;AAeA,SAAS,oBACP,WACA,WACA,KACQ;AACR,MAAI,CAAC,IAAI,kBAAmB,QAAO;AAEnC,QAAM,8BAA8B,IAAI,oBAAoB,IAAI,KAAK;AACrE,QAAM,mBACJ,2BAA2B,SAAS,IAAI,6BAA6B;AACvE,QAAM,MAAM,aAAa,kBAAkB,KAAK;AAChD,MAAI,CAAC,qBAAqB,EAAE,GAAG;AAC7B,UAAM,IAAI,MAAM,kCAAkC,EAAE,EAAE;AAAA,EACxD;AACA,QAAM,iBAAiB,0BAA0B,WAAW,IAAI,4BAA4B;AAE5F,MAAI,OAAO,kBAAkB;AAC3B,WAAO,WAAW,cAAc,IAAI,iBAAiB;AAAA,EACvD;AACA,SAAO;AACT;","names":[]}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
readNamespaceMaintenanceLastRanStatuses,
|
|
4
4
|
readNamespaceMaintenanceStatuses,
|
|
5
5
|
runNamespaceMaintenancePlan
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-35IVNNRK.js";
|
|
7
7
|
import {
|
|
8
8
|
analyzeSessionIntegrity,
|
|
9
9
|
applySessionRepair,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-CMTINOFS.js";
|
|
15
15
|
import {
|
|
16
16
|
summarizeCorpusAndReplica
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2Q4JJ3FZ.js";
|
|
18
18
|
import {
|
|
19
19
|
readJudgeVerdictStats
|
|
20
20
|
} from "./chunk-OZKOPQCM.js";
|
|
@@ -42,16 +42,16 @@ import {
|
|
|
42
42
|
import {
|
|
43
43
|
listMemoryGovernanceRuns,
|
|
44
44
|
readMemoryGovernanceRunArtifact
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-THCPRMRF.js";
|
|
46
46
|
import {
|
|
47
47
|
listNamespaces
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-27HHNYSQ.js";
|
|
49
49
|
import {
|
|
50
50
|
analyzeGraphHealth
|
|
51
51
|
} from "./chunk-L2DPF4DF.js";
|
|
52
52
|
import {
|
|
53
53
|
StorageManager
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-FHBITMRY.js";
|
|
55
55
|
import {
|
|
56
56
|
lintWorkspaceFiles
|
|
57
57
|
} from "./chunk-DM2T26WE.js";
|
|
@@ -1679,4 +1679,4 @@ export {
|
|
|
1679
1679
|
runBenchmarkRecall,
|
|
1680
1680
|
runOperatorRepair
|
|
1681
1681
|
};
|
|
1682
|
-
//# sourceMappingURL=chunk-
|
|
1682
|
+
//# sourceMappingURL=chunk-CJDNT45S.js.map
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
import {
|
|
32
32
|
SPECULATIVE_TTL_DAYS,
|
|
33
33
|
confidenceTier
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-VVDPPDDF.js";
|
|
35
35
|
import {
|
|
36
36
|
appendLifecycleEventsSerialized,
|
|
37
37
|
drainPendingLifecycleLedgerForSync,
|
|
@@ -10200,4 +10200,4 @@ export {
|
|
|
10200
10200
|
isValidBufferSurpriseEvent,
|
|
10201
10201
|
StorageManager3 as StorageManager
|
|
10202
10202
|
};
|
|
10203
|
-
//# sourceMappingURL=chunk-
|
|
10203
|
+
//# sourceMappingURL=chunk-FHBITMRY.js.map
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
processChatMessage,
|
|
17
17
|
sessionBelongsToPrincipal,
|
|
18
18
|
subscribeChatTranscript
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AQEJE3WO.js";
|
|
20
20
|
import {
|
|
21
21
|
RelayMissionStoreError
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-QMWFQBIL.js";
|
|
23
23
|
import {
|
|
24
24
|
executeResolution,
|
|
25
25
|
isValidResolutionVerb
|
|
@@ -41,12 +41,12 @@ import {
|
|
|
41
41
|
import {
|
|
42
42
|
authorizationProbeNamespaces,
|
|
43
43
|
probeOperationAuthorization
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-ODGOP7P2.js";
|
|
45
45
|
import {
|
|
46
46
|
CorrectionContractError,
|
|
47
47
|
getOperation,
|
|
48
48
|
resolveQueryNamespaceWritablePreflight
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-J3ZGPYXB.js";
|
|
50
50
|
import {
|
|
51
51
|
isTrustZoneName
|
|
52
52
|
} from "./chunk-JGSKJHF7.js";
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
} from "./chunk-BUE5E2HL.js";
|
|
59
59
|
import {
|
|
60
60
|
isRecallDisclosure
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-VVDPPDDF.js";
|
|
62
62
|
import {
|
|
63
63
|
assertOperationAllowed,
|
|
64
64
|
enforceNamespaceAllowList,
|
|
@@ -3218,4 +3218,4 @@ export {
|
|
|
3218
3218
|
MeetingsInputError,
|
|
3219
3219
|
EngramAccessHttpServer
|
|
3220
3220
|
};
|
|
3221
|
-
//# sourceMappingURL=chunk-
|
|
3221
|
+
//# sourceMappingURL=chunk-FMFLGS5Z.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
runPostConsolidationMaterialize
|
|
3
|
-
} from "./chunk-NYCGIQRA.js";
|
|
4
1
|
import {
|
|
5
2
|
discoverMemoryExtensions,
|
|
6
3
|
renderExtensionsBlock,
|
|
7
4
|
resolveExtensionsRoot
|
|
8
5
|
} from "./chunk-JLNBQWZ2.js";
|
|
6
|
+
import {
|
|
7
|
+
runPostConsolidationMaterialize
|
|
8
|
+
} from "./chunk-CE5355TT.js";
|
|
9
9
|
import {
|
|
10
10
|
isSemanticConsolidationLlmOperator
|
|
11
11
|
} from "./chunk-G7D6GZ5J.js";
|
|
@@ -220,4 +220,4 @@ export {
|
|
|
220
220
|
buildExtensionsBlockForConsolidation,
|
|
221
221
|
materializeAfterSemanticConsolidation
|
|
222
222
|
};
|
|
223
|
-
//# sourceMappingURL=chunk-
|
|
223
|
+
//# sourceMappingURL=chunk-G2YQ57YO.js.map
|
|
@@ -51,12 +51,12 @@ import {
|
|
|
51
51
|
} from "./chunk-AJVLDJU6.js";
|
|
52
52
|
import {
|
|
53
53
|
rebuildMemoryLifecycleLedger
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-HKPJPOW7.js";
|
|
55
55
|
import {
|
|
56
56
|
rebuildMemoryProjection,
|
|
57
57
|
repairMemoryProjection,
|
|
58
58
|
verifyMemoryProjection
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-YX5LN6JR.js";
|
|
60
60
|
import {
|
|
61
61
|
rebuildObservations
|
|
62
62
|
} from "./chunk-DX3XRGLH.js";
|
|
@@ -85,16 +85,16 @@ import {
|
|
|
85
85
|
} from "./chunk-TERNBNJB.js";
|
|
86
86
|
import {
|
|
87
87
|
searchVerifiedEpisodes
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-5WZVQRHV.js";
|
|
89
89
|
import {
|
|
90
90
|
ThreadingManager
|
|
91
91
|
} from "./chunk-OJP3N7UK.js";
|
|
92
92
|
import {
|
|
93
93
|
promoteSemanticRuleFromMemory
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-IGWFKW4B.js";
|
|
95
95
|
import {
|
|
96
96
|
searchVerifiedSemanticRules
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-UORKJ34C.js";
|
|
98
98
|
import {
|
|
99
99
|
buildResumeBundleFromState,
|
|
100
100
|
getResumeBundleStatus,
|
|
@@ -110,7 +110,7 @@ import {
|
|
|
110
110
|
} from "./chunk-HYQJQGD3.js";
|
|
111
111
|
import {
|
|
112
112
|
parseXrayCliOptions
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-QDTZ2HF7.js";
|
|
114
114
|
import {
|
|
115
115
|
readRuntimePolicySnapshot,
|
|
116
116
|
sanitizeRuntimePolicyValues
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
runOperatorInventory,
|
|
124
124
|
runOperatorRepair,
|
|
125
125
|
runOperatorSetup
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-CJDNT45S.js";
|
|
127
127
|
import {
|
|
128
128
|
analyzeSessionIntegrity,
|
|
129
129
|
applySessionRepair,
|
|
@@ -191,9 +191,6 @@ import {
|
|
|
191
191
|
recordCommitmentLedgerEntry,
|
|
192
192
|
transitionCommitmentLedgerEntryState
|
|
193
193
|
} from "./chunk-LMDRGRJ2.js";
|
|
194
|
-
import {
|
|
195
|
-
resolveNamespaceChildRoot
|
|
196
|
-
} from "./chunk-3UXOZBHV.js";
|
|
197
194
|
import {
|
|
198
195
|
chunkContent
|
|
199
196
|
} from "./chunk-UQ7RN5HK.js";
|
|
@@ -203,7 +200,7 @@ import {
|
|
|
203
200
|
import {
|
|
204
201
|
EngramAccessHttpServer,
|
|
205
202
|
MeetingsInputError
|
|
206
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-FMFLGS5Z.js";
|
|
207
204
|
import {
|
|
208
205
|
WearablesInputError
|
|
209
206
|
} from "./chunk-V7IZKJI3.js";
|
|
@@ -216,13 +213,13 @@ import {
|
|
|
216
213
|
createProductionChatLlmAdapter,
|
|
217
214
|
loadChatSession,
|
|
218
215
|
sessionBelongsToPrincipal
|
|
219
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-AQEJE3WO.js";
|
|
220
217
|
import {
|
|
221
218
|
getAbstractionNodeStoreStatus
|
|
222
219
|
} from "./chunk-OADWQ5CR.js";
|
|
223
220
|
import {
|
|
224
221
|
EngramAccessService
|
|
225
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-J3ZGPYXB.js";
|
|
226
223
|
import {
|
|
227
224
|
WorkStorage
|
|
228
225
|
} from "./chunk-GDB4J2H3.js";
|
|
@@ -239,13 +236,13 @@ import {
|
|
|
239
236
|
parseRecallExplainFormat,
|
|
240
237
|
renderRecallExplain,
|
|
241
238
|
renderXray
|
|
242
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-VMZ56EE3.js";
|
|
243
240
|
import {
|
|
244
241
|
listMemoryGovernanceRuns,
|
|
245
242
|
readMemoryGovernanceRunArtifact,
|
|
246
243
|
restoreMemoryGovernanceRun,
|
|
247
244
|
runMemoryGovernance
|
|
248
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-THCPRMRF.js";
|
|
249
246
|
import {
|
|
250
247
|
getObjectiveStateStoreStatus
|
|
251
248
|
} from "./chunk-6HMYUWXR.js";
|
|
@@ -253,26 +250,29 @@ import {
|
|
|
253
250
|
listNamespaces,
|
|
254
251
|
runNamespaceMigration,
|
|
255
252
|
verifyNamespaces
|
|
256
|
-
} from "./chunk-
|
|
253
|
+
} from "./chunk-27HHNYSQ.js";
|
|
257
254
|
import {
|
|
258
255
|
analyzeGraphHealth
|
|
259
256
|
} from "./chunk-L2DPF4DF.js";
|
|
260
257
|
import {
|
|
261
258
|
renderQmdBacklogStatus
|
|
262
259
|
} from "./chunk-IUM3VSHI.js";
|
|
260
|
+
import {
|
|
261
|
+
resolveNamespaceChildRoot
|
|
262
|
+
} from "./chunk-CE5355TT.js";
|
|
263
263
|
import {
|
|
264
264
|
getCausalTrajectoryStoreStatus
|
|
265
265
|
} from "./chunk-NRV4Y3PM.js";
|
|
266
266
|
import {
|
|
267
267
|
meetingIdDate
|
|
268
|
-
} from "./chunk-
|
|
268
|
+
} from "./chunk-FHBITMRY.js";
|
|
269
269
|
import {
|
|
270
270
|
isValidTranscriptDate
|
|
271
271
|
} from "./chunk-UHVXE24Y.js";
|
|
272
272
|
import {
|
|
273
273
|
RECALL_DISCLOSURE_LEVELS,
|
|
274
274
|
isRecallDisclosure
|
|
275
|
-
} from "./chunk-
|
|
275
|
+
} from "./chunk-VVDPPDDF.js";
|
|
276
276
|
import {
|
|
277
277
|
STATE_FILE_MAX_DECRYPT_BYTES
|
|
278
278
|
} from "./chunk-7VUAG236.js";
|
|
@@ -7981,4 +7981,4 @@ export {
|
|
|
7981
7981
|
listMemoryMarkdownFilePaths,
|
|
7982
7982
|
registerCli
|
|
7983
7983
|
};
|
|
7984
|
-
//# sourceMappingURL=chunk-
|
|
7984
|
+
//# sourceMappingURL=chunk-HFQQWAMS.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
StorageManager,
|
|
10
10
|
assertInjectedStorageRooted
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FHBITMRY.js";
|
|
12
12
|
import {
|
|
13
13
|
MEMORY_LIFECYCLE_LEDGER_LOCK_STALE_MS,
|
|
14
14
|
buildLifecycleEventsForMemory,
|
|
@@ -263,4 +263,4 @@ export {
|
|
|
263
263
|
backupExistingLedger,
|
|
264
264
|
rebuildMemoryLifecycleLedger
|
|
265
265
|
};
|
|
266
|
-
//# sourceMappingURL=chunk-
|
|
266
|
+
//# sourceMappingURL=chunk-HKPJPOW7.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StorageManager
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FHBITMRY.js";
|
|
4
4
|
import {
|
|
5
5
|
composeMemoryEnvelope
|
|
6
6
|
} from "./chunk-CGASUJVP.js";
|
|
@@ -546,4 +546,4 @@ export {
|
|
|
546
546
|
setSemanticRulePromotionTestHooks,
|
|
547
547
|
promoteSemanticRuleFromMemory
|
|
548
548
|
};
|
|
549
|
-
//# sourceMappingURL=chunk-
|
|
549
|
+
//# sourceMappingURL=chunk-IGWFKW4B.js.map
|
|
@@ -9,6 +9,9 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
importCapsule
|
|
11
11
|
} from "./chunk-65ZPVYTA.js";
|
|
12
|
+
import {
|
|
13
|
+
CONNECTOR_ID_PATTERN
|
|
14
|
+
} from "./chunk-2QIMTVEJ.js";
|
|
12
15
|
import {
|
|
13
16
|
WriteQuarantineStore
|
|
14
17
|
} from "./chunk-PJSK6OJM.js";
|
|
@@ -35,10 +38,10 @@ import {
|
|
|
35
38
|
} from "./chunk-H7XKCNR6.js";
|
|
36
39
|
import {
|
|
37
40
|
toRecallExplainJson
|
|
38
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-VMZ56EE3.js";
|
|
39
42
|
import {
|
|
40
43
|
estimateRecallTokens
|
|
41
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-OPBTPRGY.js";
|
|
42
45
|
import {
|
|
43
46
|
boundRecallContextComposition,
|
|
44
47
|
composeRecallContext
|
|
@@ -50,7 +53,7 @@ import {
|
|
|
50
53
|
listMemoryGovernanceRuns,
|
|
51
54
|
readMemoryGovernanceRunArtifact,
|
|
52
55
|
runMemoryGovernance
|
|
53
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-THCPRMRF.js";
|
|
54
57
|
import {
|
|
55
58
|
recordObjectiveStateSnapshotsFromObservedMessages
|
|
56
59
|
} from "./chunk-ICP53SKG.js";
|
|
@@ -95,7 +98,7 @@ import {
|
|
|
95
98
|
import {
|
|
96
99
|
CorpusWatermarkCache,
|
|
97
100
|
computeServiceCorpusCensus
|
|
98
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-6P7MTSU5.js";
|
|
99
102
|
import {
|
|
100
103
|
namespaceCollectionName
|
|
101
104
|
} from "./chunk-E6BMSH7U.js";
|
|
@@ -130,20 +133,20 @@ import {
|
|
|
130
133
|
enqueuePassiveCorrectionNotification,
|
|
131
134
|
parseBriefingFocus,
|
|
132
135
|
parseBriefingWindow
|
|
133
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-AJL6NNX6.js";
|
|
134
137
|
import {
|
|
135
138
|
parseEntityFile,
|
|
136
139
|
qmdCollectionPathParts,
|
|
137
140
|
qmdResultPathCandidates,
|
|
138
141
|
selfDeps
|
|
139
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-FHBITMRY.js";
|
|
140
143
|
import {
|
|
141
144
|
supersessionKeysForFact
|
|
142
145
|
} from "./chunk-DNHVPZOD.js";
|
|
143
146
|
import {
|
|
144
147
|
DEFAULT_RECALL_DISCLOSURE,
|
|
145
148
|
isRecallDisclosure
|
|
146
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-VVDPPDDF.js";
|
|
147
150
|
import {
|
|
148
151
|
namespaceIdentityFromToken
|
|
149
152
|
} from "./chunk-EGGE52UU.js";
|
|
@@ -8061,6 +8064,15 @@ import * as nodePath2 from "path";
|
|
|
8061
8064
|
|
|
8062
8065
|
// src/orchestration/recall-result-formatter.ts
|
|
8063
8066
|
import path8 from "path";
|
|
8067
|
+
|
|
8068
|
+
// src/connectors/label.ts
|
|
8069
|
+
var CONNECTOR_LABEL_MAX_LENGTH = 64;
|
|
8070
|
+
|
|
8071
|
+
// src/orchestration/recall-result-formatter.ts
|
|
8072
|
+
function renderConnectorLabel(connector) {
|
|
8073
|
+
if (!connector || !CONNECTOR_ID_PATTERN.test(connector)) return null;
|
|
8074
|
+
return connector.length <= CONNECTOR_LABEL_MAX_LENGTH ? connector : `${connector.slice(0, CONNECTOR_LABEL_MAX_LENGTH - 1)}\u2026`;
|
|
8075
|
+
}
|
|
8064
8076
|
function hasIdentityRecoveryIntent(prompt) {
|
|
8065
8077
|
const text = typeof prompt === "string" ? prompt.toLowerCase() : "";
|
|
8066
8078
|
if (!text) return false;
|
|
@@ -8145,14 +8157,16 @@ var RecallResultFormatter = class {
|
|
|
8145
8157
|
${snippet}`;
|
|
8146
8158
|
const handle = handleByIndex.get(i);
|
|
8147
8159
|
const withHandle = handle ? `${head.trimEnd()} ${handle}` : head.trimEnd();
|
|
8160
|
+
const connectorLabel = renderConnectorLabel(r.sourceConnector);
|
|
8161
|
+
const withConnector = connectorLabel ? `${withHandle} [agent: ${connectorLabel}]` : withHandle;
|
|
8148
8162
|
if (hedgeMap) {
|
|
8149
8163
|
const item = trustResultFor(hedgeMap, r);
|
|
8150
8164
|
if (item) {
|
|
8151
8165
|
const hedge = renderEpistemicHedge(item.trust);
|
|
8152
|
-
if (hedge.length > 0) return `${
|
|
8166
|
+
if (hedge.length > 0) return `${withConnector} ${hedge}`;
|
|
8153
8167
|
}
|
|
8154
8168
|
}
|
|
8155
|
-
return
|
|
8169
|
+
return withConnector;
|
|
8156
8170
|
});
|
|
8157
8171
|
return { heading: `## ${title}`, entries };
|
|
8158
8172
|
}
|
|
@@ -13311,4 +13325,4 @@ export {
|
|
|
13311
13325
|
EngramAccessService,
|
|
13312
13326
|
AccessAdminOpsSurface
|
|
13313
13327
|
};
|
|
13314
|
-
//# sourceMappingURL=chunk-
|
|
13328
|
+
//# sourceMappingURL=chunk-J3ZGPYXB.js.map
|