@remnic/core 9.65.1 → 9.65.2
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 +11 -11
- package/dist/access-admin-ops-surface.js +35 -34
- package/dist/access-authorization-probe.d.ts +12 -13
- package/dist/access-authorization-probe.js +36 -35
- package/dist/access-boundary.d.ts +12 -156
- package/dist/access-boundary.js +35 -34
- package/dist/access-cli.js +107 -104
- package/dist/access-cli.js.map +1 -1
- package/dist/access-coding-context-resolution.d.ts +1 -1
- package/dist/access-extraction-force-flush.d.ts +11 -11
- package/dist/access-extraction-force-flush.js +35 -34
- package/dist/access-health-types.d.ts +1 -1
- package/dist/access-http-lcm-compaction.d.ts +11 -11
- package/dist/access-http-lifecycle-flush.d.ts +12 -13
- package/dist/access-http-offline-stream.d.ts +11 -11
- package/dist/access-http-query.d.ts +2 -2
- package/dist/access-http-query.js +37 -36
- package/dist/access-http.d.ts +12 -12
- package/dist/access-http.js +54 -53
- package/dist/access-identity-continuity-surface.d.ts +9 -9
- package/dist/access-identity-continuity-surface.js +35 -34
- package/dist/access-lcm-surface.d.ts +11 -11
- package/dist/access-lcm-surface.js +35 -34
- package/dist/access-mcp-admin-tools.js +1 -1
- package/dist/access-mcp-output-schemas.js +1 -1
- package/dist/access-mcp.d.ts +11 -11
- package/dist/access-mcp.js +47 -44
- package/dist/access-memory-search-fanout.d.ts +2 -2
- package/dist/{access-namespace-preflight-BKUnKsBv.d.ts → access-namespace-preflight-Dhvcl-T0.d.ts} +1 -1
- package/dist/access-namespace-preflight.d.ts +3 -3
- package/dist/access-namespace-preflight.js +35 -34
- package/dist/access-observe-write-surface.d.ts +11 -11
- package/dist/access-observe-write-surface.js +35 -34
- package/dist/access-offline-manifest.d.ts +9 -9
- package/dist/access-offline-manifest.js +5 -5
- package/dist/access-operations-batch.js +38 -37
- package/dist/access-operations.d.ts +18 -19
- package/dist/access-operations.js +41 -40
- package/dist/access-recall-concurrency.d.ts +11 -11
- package/dist/access-recall-concurrency.js +35 -34
- package/dist/access-recall-response.d.ts +11 -11
- package/dist/access-recall-response.js +35 -34
- package/dist/access-recall-surface.d.ts +11 -11
- package/dist/access-recall-surface.js +35 -34
- package/dist/access-schema.d.ts +118 -118
- package/dist/access-schema.js +3 -3
- package/dist/{access-service-B1Lbb-nQ.d.ts → access-service-Bke1alZO.d.ts} +478 -74
- package/dist/access-service-helpers.d.ts +11 -11
- package/dist/access-service.d.ts +11 -11
- package/dist/access-service.js +35 -34
- package/dist/access-surface-catalog.d.ts +12 -13
- package/dist/access-surface-catalog.js +39 -36
- package/dist/access-surface-catalog.js.map +1 -1
- 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 +6 -1
- package/dist/active-recall.js.map +1 -1
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/ambient-provenance.d.ts +1 -1
- package/dist/artifact-search.d.ts +1 -1
- package/dist/{auto-sync-5L7EUZ27.js → auto-sync-H64ZCNIR.js} +13 -5
- package/dist/{auto-sync-5L7EUZ27.js.map → auto-sync-H64ZCNIR.js.map} +1 -1
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +9 -9
- package/dist/briefing-window.d.ts +2 -2
- package/dist/briefing.d.ts +2 -2
- package/dist/briefing.js +16 -15
- 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/buffer.js +4 -4
- package/dist/bulk-import/index.d.ts +3 -3
- package/dist/calibration.d.ts +1 -1
- package/dist/calibration.js +1 -1
- package/dist/capabilities.d.ts +1 -1
- package/dist/{capsule-crypto-7FJQINUR.js → capsule-crypto-YO5QJ6L3.js} +2 -2
- package/dist/{catalog-DjVhJoRM.d.ts → catalog-DV6qnbr7.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 +17 -16
- package/dist/causal-consolidation.js.map +1 -1
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/{chunk-LYIZXQYY.js → chunk-2E36UXVW.js} +2 -2
- package/dist/{chunk-7QFBLYFP.js → chunk-2XDWWPTN.js} +3 -3
- package/dist/{chunk-CFRBTATE.js → chunk-2YI72KM3.js} +3 -3
- package/dist/{chunk-3YTTAGPB.js → chunk-3DVBKTSO.js} +2 -2
- package/dist/{chunk-VPGRXEAB.js → chunk-3I7ASZN3.js} +2 -2
- package/dist/{chunk-EIR5VLIH.js → chunk-4K7IW3F7.js} +2 -2
- package/dist/chunk-4K7IW3F7.js.map +1 -0
- package/dist/{chunk-WTOE7CW4.js → chunk-4KYOLI6M.js} +13 -13
- package/dist/chunk-573TEZCD.js +88 -0
- package/dist/chunk-573TEZCD.js.map +1 -0
- package/dist/{chunk-ESCQ6LY7.js → chunk-5NM4OH4P.js} +3 -3
- package/dist/{chunk-Y23B2QXP.js → chunk-5YQ63T4B.js} +2 -2
- package/dist/{chunk-PMVPCZJZ.js → chunk-6433HV72.js} +2 -2
- package/dist/{chunk-4NZHHGVL.js → chunk-7BDZTALN.js} +4 -1
- package/dist/chunk-7BDZTALN.js.map +1 -0
- package/dist/{chunk-NS5ETDYD.js → chunk-7BEPVIH3.js} +3 -3
- package/dist/{chunk-JG22O53B.js → chunk-7CBKAQIG.js} +2 -1
- package/dist/chunk-7CBKAQIG.js.map +1 -0
- package/dist/{chunk-W6TSGWYS.js → chunk-7YQ4IYS2.js} +2 -2
- package/dist/chunk-AAXJNINV.js +55 -0
- package/dist/chunk-AAXJNINV.js.map +1 -0
- package/dist/{chunk-YQ3CBLL4.js → chunk-BWLRUMOG.js} +78 -8
- package/dist/chunk-BWLRUMOG.js.map +1 -0
- package/dist/{chunk-2NLLXCJG.js → chunk-BXLOS5AJ.js} +2 -2
- package/dist/{chunk-CEH2AFXG.js → chunk-C24UZSFW.js} +6 -6
- package/dist/{chunk-ZPN7W3OP.js → chunk-CDUUDBWJ.js} +3 -3
- package/dist/{chunk-5UYSCYR7.js → chunk-CT56C22C.js} +4 -4
- package/dist/{chunk-HJQZQUPC.js → chunk-DJZWNKFO.js} +5 -5
- package/dist/{chunk-X7Y7WX73.js → chunk-DQEMWVMT.js} +1 -1
- package/dist/{chunk-CCTVAVTT.js → chunk-DZUJ46DO.js} +2 -2
- package/dist/{chunk-N6TRHP72.js → chunk-EILZG5VC.js} +2 -2
- package/dist/{chunk-GXWDWOWP.js → chunk-GDFVPUJ5.js} +2 -2
- package/dist/{chunk-7PWWGYGO.js → chunk-GNCCUR6K.js} +2 -2
- package/dist/{chunk-KPBLJCCV.js → chunk-IID2CMUU.js} +2 -2
- package/dist/{chunk-DEFI2QBT.js → chunk-J275IYMG.js} +25 -22
- package/dist/chunk-J275IYMG.js.map +1 -0
- package/dist/{chunk-UYCIS6V5.js → chunk-JCWY73FK.js} +2 -2
- package/dist/{chunk-SYJ6EKKE.js → chunk-JYYBA7TF.js} +2 -2
- package/dist/{chunk-T42L3S6A.js → chunk-LBWQ65SX.js} +4 -4
- package/dist/{chunk-MSTNSVXI.js → chunk-LDBFXD4F.js} +2 -1
- package/dist/chunk-LDBFXD4F.js.map +1 -0
- package/dist/{chunk-LWVO2QZV.js → chunk-LGO6A7GJ.js} +50 -50
- package/dist/{chunk-CEQF6L5K.js → chunk-LUNJ3WFO.js} +9 -7
- package/dist/chunk-LUNJ3WFO.js.map +1 -0
- package/dist/{chunk-2572MRP2.js → chunk-LZH5FR2W.js} +2 -2
- package/dist/{chunk-256FBCVX.js → chunk-M4AHBM72.js} +7 -7
- package/dist/{chunk-YEQEGSJA.js → chunk-MN4KB2A4.js} +3 -3
- package/dist/{chunk-AGKIG3YA.js → chunk-NKKD4ZAU.js} +2 -2
- package/dist/{chunk-3TMYV3LP.js → chunk-NTWN6HB2.js} +5 -5
- package/dist/{chunk-63FHSH7E.js → chunk-OCZIYAE5.js} +4 -4
- package/dist/{chunk-I2HTKOOP.js → chunk-ODZG724P.js} +2 -2
- package/dist/{chunk-HQSBYI5X.js → chunk-OTHZWLUD.js} +2 -2
- package/dist/{chunk-4W6INNXO.js → chunk-PE255F4T.js} +2 -2
- package/dist/{chunk-6L27N6YI.js → chunk-QOS5LBZN.js} +2 -2
- package/dist/{chunk-G72IPMR7.js → chunk-R4OCGPSH.js} +2 -2
- package/dist/{chunk-MIBKEW7A.js → chunk-R7JAM2XF.js} +3 -3
- package/dist/{chunk-LCU5R6TQ.js → chunk-RAIUTAZZ.js} +22 -3
- package/dist/chunk-RAIUTAZZ.js.map +1 -0
- package/dist/chunk-RIAM7DND.js +167 -0
- package/dist/chunk-RIAM7DND.js.map +1 -0
- package/dist/{chunk-JBPKEARU.js → chunk-RKNJBZ55.js} +4 -4
- package/dist/{chunk-HUNSEO5U.js → chunk-S2DPMJXH.js} +2 -2
- package/dist/{chunk-3PXVYJMC.js → chunk-SB7D4BT7.js} +536 -114
- package/dist/chunk-SB7D4BT7.js.map +1 -0
- package/dist/{chunk-JFJ3MHGV.js → chunk-SBDCZ2AX.js} +1 -1
- package/dist/chunk-SBDCZ2AX.js.map +1 -0
- package/dist/{chunk-HQSPXTQO.js → chunk-SIHSCCUQ.js} +1 -1
- package/dist/{chunk-R3AAOKR2.js → chunk-SPUJNJJC.js} +2 -2
- package/dist/{chunk-IAY7YBXS.js → chunk-SQI57UCJ.js} +2 -2
- package/dist/{chunk-CTQRPANJ.js → chunk-SVSRPG6M.js} +2 -2
- package/dist/{chunk-56BSXSHC.js → chunk-TBOJ76ER.js} +14 -1
- package/dist/{chunk-56BSXSHC.js.map → chunk-TBOJ76ER.js.map} +1 -1
- package/dist/{chunk-Z54TXZ2F.js → chunk-TF77C7SV.js} +14 -7
- package/dist/chunk-TF77C7SV.js.map +1 -0
- package/dist/{chunk-S2VBSTTA.js → chunk-THG4GYIE.js} +2 -2
- package/dist/{chunk-IXRC7EQG.js → chunk-TR7DGXGI.js} +2 -2
- package/dist/{chunk-GEULB2VI.js → chunk-TZNQUNKL.js} +7 -1
- package/dist/chunk-TZNQUNKL.js.map +1 -0
- package/dist/{chunk-BC4QD3FM.js → chunk-UIN2BWDD.js} +2 -2
- package/dist/{chunk-JTSVMJHV.js → chunk-UXO5IMBK.js} +3 -3
- package/dist/{chunk-DBXZZIDU.js → chunk-V3MXUL3D.js} +138 -73
- package/dist/chunk-V3MXUL3D.js.map +1 -0
- package/dist/{chunk-KQAFEZQX.js → chunk-VDX2J7OX.js} +2 -2
- package/dist/{chunk-MUJ4QFUQ.js → chunk-W4BMEGQA.js} +4 -4
- package/dist/{chunk-5HK3CJAR.js → chunk-W675UJCZ.js} +2 -2
- package/dist/{chunk-MDVBCPOS.js → chunk-XCTXS7VY.js} +2 -2
- package/dist/{chunk-53ENM6F6.js → chunk-XRYZRW54.js} +2 -2
- package/dist/{chunk-VJ6ECBIP.js → chunk-Y7DK7HHJ.js} +2 -2
- package/dist/{chunk-3MADV4YC.js → chunk-YB42WZCY.js} +2 -2
- package/dist/{chunk-X5SDZMO7.js → chunk-YHCBJULX.js} +2 -2
- package/dist/{chunk-3RHFGGI5.js → chunk-YLDXWCZP.js} +20 -5
- package/dist/chunk-YLDXWCZP.js.map +1 -0
- package/dist/{chunk-6JJT5AKI.js → chunk-Z7PBQPJ4.js} +2 -2
- package/dist/{chunk-ALCJRQ72.js → chunk-ZO6AXLEH.js} +2 -2
- package/dist/{chunk-VZVP2W4O.js → chunk-ZQHI2BZB.js} +2 -2
- package/dist/{chunk-CUS6S7PN.js → chunk-ZWXJBFZU.js} +9 -9
- package/dist/chunk-ZWXJBFZU.js.map +1 -0
- package/dist/{cli-Pulnz-qm.d.ts → cli-cShQ13XG.d.ts} +5 -5
- package/dist/cli.d.ts +13 -13
- package/dist/cli.js +77 -75
- package/dist/coding/pre-action-gate.d.ts +1 -1
- package/dist/compounding/engine.d.ts +2 -2
- package/dist/compounding/engine.js +17 -16
- 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 +6 -1
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +16 -15
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +16 -15
- 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/contradiction/index.js +10 -2
- package/dist/converge-config.d.ts +1 -1
- package/dist/convergence-refresh.d.ts +2 -2
- package/dist/convergence-refresh.js +18 -17
- 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 +18 -17
- package/dist/cross-lingual-recall.d.ts +1 -1
- package/dist/day-summary.d.ts +1 -1
- package/dist/delinearize.d.ts +1 -1
- package/dist/dependency-propagation-config.d.ts +1 -1
- package/dist/{dependency-propagation-delivery-Co17gxYb.d.ts → dependency-propagation-delivery-CsGg-VwS.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-origin-fields.d.ts +1 -1
- package/dist/entity-retrieval.d.ts +2 -2
- package/dist/entity-retrieval.js +16 -15
- package/dist/entity-schema.d.ts +1 -1
- package/dist/episodic-context.d.ts +1 -1
- package/dist/explicit-capture.d.ts +9 -9
- package/dist/explicit-capture.js +7 -6
- package/dist/external-wiki-access.d.ts +12 -13
- package/dist/external-wiki-access.js +36 -35
- package/dist/external-wiki-collection-registration.d.ts +1 -1
- package/dist/external-wiki-collection.d.ts +1 -1
- package/dist/external-wiki-mcp-tools.d.ts +11 -11
- 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-judge.js +2 -2
- package/dist/extraction-liveness.d.ts +1 -1
- package/dist/extraction-normalization.d.ts +1 -1
- package/dist/extraction-normalization.js +2 -2
- package/dist/extraction-prompt.d.ts +2 -2
- package/dist/extraction-prompt.js +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/extraction.js +22 -21
- 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-path-reconstruction.d.ts +1 -1
- package/dist/graph-path-scoring.d.ts +1 -1
- package/dist/graph-snapshot.d.ts +1 -1
- package/dist/graph.d.ts +1 -1
- package/dist/harmonic-retrieval.js +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 +716 -699
- package/dist/index.js +173 -125
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/engine.js +3 -3
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/index.js +6 -6
- 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 +16 -15
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +16 -15
- package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-projection.js +17 -16
- package/dist/{maintenance-DiSLtVN7.d.ts → maintenance-jhMpeGne.d.ts} +3 -3
- package/dist/mcp-memory-inspector-app.d.ts +11 -11
- package/dist/mcp-read-only-tools.js +1 -1
- 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-snapshot.d.ts +1 -1
- package/dist/memory-subject-cli.d.ts +177 -0
- package/dist/memory-subject-cli.js +16 -0
- package/dist/memory-subject.d.ts +128 -0
- package/dist/memory-subject.js +44 -0
- package/dist/memory-subject.js.map +1 -0
- package/dist/memory-worth-outcomes.d.ts +5 -4
- package/dist/memory-worth-outcomes.js +1 -1
- package/dist/models-json.d.ts +1 -1
- package/dist/namespaces/migrate.d.ts +3 -3
- package/dist/namespaces/migrate.js +17 -16
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/search.js +6 -6
- package/dist/namespaces/storage.d.ts +3 -3
- package/dist/namespaces/storage.js +16 -15
- 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 +19 -18
- package/dist/operator-doctor-replica.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +3 -3
- package/dist/operator-toolkit.js +26 -24
- package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
- package/dist/orchestration/maintenance.d.ts +4 -4
- package/dist/orchestration/maintenance.js +22 -21
- package/dist/{orchestrator-DzCaxNS4.d.ts → orchestrator-DyGUC7re.d.ts} +8 -8
- package/dist/orchestrator.d.ts +9 -9
- package/dist/orchestrator.js +108 -105
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/{pipeline-HJ8DKbFl.d.ts → pipeline-C25Oxtp1.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/{public-http-DwXauTX3.d.ts → public-http-CMe7NQzj.d.ts} +1 -1
- package/dist/{qmd-BzxluoLt.d.ts → qmd-DkDVCbgF.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/qmd.js +4 -4
- 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/reconcile/cursor.d.ts +1 -1
- package/dist/reconcile/manifest.d.ts +1 -1
- package/dist/reconcile/manifest.js +3 -3
- package/dist/reconcile/plan.d.ts +1 -1
- 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/{resolution-DKMBPXHI.js → resolution-MFY72STR.js} +11 -3
- package/dist/resolution-MFY72STR.js.map +1 -0
- package/dist/resolve-auth-token.d.ts +1 -1
- package/dist/resume-bundles.js +7 -2
- 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/salvage-envelope.js +10 -2
- package/dist/schemas.d.ts +104 -90
- package/dist/schemas.js +1 -1
- package/dist/{scope-profiles-CEMZz0t5.d.ts → scope-profiles-B9xMoFO-.d.ts} +1 -1
- package/dist/search/embed-helper.d.ts +1 -1
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/factory.js +5 -5
- package/dist/search/index.d.ts +1 -1
- package/dist/search/index.js +9 -9
- 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-D9dYj6vu.d.ts → semantic-consolidation-C4uykW84.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +17 -16
- package/dist/semantic-rule-promotion.js +16 -15
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +16 -15
- package/dist/{service-_qgST_0y.d.ts → service-DCZDZNcV.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 +11 -11
- package/dist/signal.d.ts +1 -1
- package/dist/source-agent-qualifier.d.ts +1 -1
- package/dist/source-agent-qualifier.js +18 -17
- package/dist/{storage-B9lbNTYE.d.ts → storage-CcKmEjL8.d.ts} +3 -2
- package/dist/storage.d.ts +2 -2
- package/dist/storage.js +18 -17
- package/dist/subject-config.d.ts +38 -0
- package/dist/subject-config.js +20 -0
- package/dist/subject-config.js.map +1 -0
- package/dist/summarizer.d.ts +1 -1
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/support-passport/index.d.ts +14 -14
- package/dist/support-passport/index.js +38 -37
- 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/transfer/backup.js +2 -2
- package/dist/transfer/capsule-export.js +2 -2
- package/dist/transfer/capsule-import.js +2 -2
- package/dist/transfer/types.d.ts +66 -66
- package/dist/trust-score-stage.d.ts +1 -1
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-BrEzuxPA.d.ts → types-Pi0lfaEt.d.ts} +38 -29
- 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 +16 -15
- package/dist/who-knows-cli.d.ts +11 -11
- package/dist/who-knows-cli.js +17 -16
- package/dist/who-knows.d.ts +11 -11
- package/dist/who-knows.js +16 -15
- package/dist/write-envelope.d.ts +5 -2
- package/dist/write-envelope.js +10 -1
- package/package.json +2 -2
- package/scripts/build-with-heap.mjs +1 -1
- package/src/access-boundary.ts +2 -0
- package/src/access-mcp-admin-tools.ts +14 -0
- package/src/access-mcp-output-schemas.ts +6 -0
- package/src/access-mcp.ts +6 -6
- package/src/access-operations-batch.ts +8 -0
- package/src/access-service.ts +85 -0
- package/src/access-surface-catalog.ts +2 -0
- package/src/config.ts +10 -17
- package/src/extraction-prompt.ts +1 -0
- package/src/extraction.ts +4 -1
- package/src/index.ts +5 -6
- package/src/mcp-read-only-tools.ts +1 -0
- package/src/memory-subject-cli.ts +135 -0
- package/src/memory-subject.test.ts +48 -0
- package/src/memory-subject.ts +314 -0
- package/src/memory-worth-outcomes.test.ts +6 -2
- package/src/memory-worth-outcomes.ts +11 -7
- package/src/operator-toolkit.ts +1 -1
- package/src/orchestration/extraction-persist.ts +48 -48
- package/src/orchestration/recall-internal.ts +6 -5
- package/src/procedural/library-maintenance.test.ts +582 -0
- package/src/procedural/library-maintenance.ts +546 -0
- package/src/procedural/maintenance-config.ts +78 -0
- package/src/procedural/procedure-recall.ts +29 -1
- package/src/procedural/procedure-stats.ts +20 -0
- package/src/schemas.ts +7 -0
- package/src/spaces/index.ts +38 -2
- package/src/storage.ts +6 -2
- package/src/subject-config.ts +80 -0
- package/src/types.ts +26 -29
- package/src/write-envelope.test.ts +14 -0
- package/src/write-envelope.ts +24 -3
- package/dist/chunk-3PXVYJMC.js.map +0 -1
- package/dist/chunk-3RHFGGI5.js.map +0 -1
- package/dist/chunk-4NZHHGVL.js.map +0 -1
- package/dist/chunk-CEQF6L5K.js.map +0 -1
- package/dist/chunk-CUS6S7PN.js.map +0 -1
- package/dist/chunk-DBXZZIDU.js.map +0 -1
- package/dist/chunk-DEFI2QBT.js.map +0 -1
- package/dist/chunk-EIR5VLIH.js.map +0 -1
- package/dist/chunk-GEULB2VI.js.map +0 -1
- package/dist/chunk-JFJ3MHGV.js.map +0 -1
- package/dist/chunk-JG22O53B.js.map +0 -1
- package/dist/chunk-LCU5R6TQ.js.map +0 -1
- package/dist/chunk-MSTNSVXI.js.map +0 -1
- package/dist/chunk-YQ3CBLL4.js.map +0 -1
- package/dist/chunk-Z54TXZ2F.js.map +0 -1
- /package/dist/{capsule-crypto-7FJQINUR.js.map → capsule-crypto-YO5QJ6L3.js.map} +0 -0
- /package/dist/{chunk-LYIZXQYY.js.map → chunk-2E36UXVW.js.map} +0 -0
- /package/dist/{chunk-7QFBLYFP.js.map → chunk-2XDWWPTN.js.map} +0 -0
- /package/dist/{chunk-CFRBTATE.js.map → chunk-2YI72KM3.js.map} +0 -0
- /package/dist/{chunk-3YTTAGPB.js.map → chunk-3DVBKTSO.js.map} +0 -0
- /package/dist/{chunk-VPGRXEAB.js.map → chunk-3I7ASZN3.js.map} +0 -0
- /package/dist/{chunk-WTOE7CW4.js.map → chunk-4KYOLI6M.js.map} +0 -0
- /package/dist/{chunk-ESCQ6LY7.js.map → chunk-5NM4OH4P.js.map} +0 -0
- /package/dist/{chunk-Y23B2QXP.js.map → chunk-5YQ63T4B.js.map} +0 -0
- /package/dist/{chunk-PMVPCZJZ.js.map → chunk-6433HV72.js.map} +0 -0
- /package/dist/{chunk-NS5ETDYD.js.map → chunk-7BEPVIH3.js.map} +0 -0
- /package/dist/{chunk-W6TSGWYS.js.map → chunk-7YQ4IYS2.js.map} +0 -0
- /package/dist/{chunk-2NLLXCJG.js.map → chunk-BXLOS5AJ.js.map} +0 -0
- /package/dist/{chunk-CEH2AFXG.js.map → chunk-C24UZSFW.js.map} +0 -0
- /package/dist/{chunk-ZPN7W3OP.js.map → chunk-CDUUDBWJ.js.map} +0 -0
- /package/dist/{chunk-5UYSCYR7.js.map → chunk-CT56C22C.js.map} +0 -0
- /package/dist/{chunk-HJQZQUPC.js.map → chunk-DJZWNKFO.js.map} +0 -0
- /package/dist/{chunk-X7Y7WX73.js.map → chunk-DQEMWVMT.js.map} +0 -0
- /package/dist/{chunk-CCTVAVTT.js.map → chunk-DZUJ46DO.js.map} +0 -0
- /package/dist/{chunk-N6TRHP72.js.map → chunk-EILZG5VC.js.map} +0 -0
- /package/dist/{chunk-GXWDWOWP.js.map → chunk-GDFVPUJ5.js.map} +0 -0
- /package/dist/{chunk-7PWWGYGO.js.map → chunk-GNCCUR6K.js.map} +0 -0
- /package/dist/{chunk-KPBLJCCV.js.map → chunk-IID2CMUU.js.map} +0 -0
- /package/dist/{chunk-UYCIS6V5.js.map → chunk-JCWY73FK.js.map} +0 -0
- /package/dist/{chunk-SYJ6EKKE.js.map → chunk-JYYBA7TF.js.map} +0 -0
- /package/dist/{chunk-T42L3S6A.js.map → chunk-LBWQ65SX.js.map} +0 -0
- /package/dist/{chunk-LWVO2QZV.js.map → chunk-LGO6A7GJ.js.map} +0 -0
- /package/dist/{chunk-2572MRP2.js.map → chunk-LZH5FR2W.js.map} +0 -0
- /package/dist/{chunk-256FBCVX.js.map → chunk-M4AHBM72.js.map} +0 -0
- /package/dist/{chunk-YEQEGSJA.js.map → chunk-MN4KB2A4.js.map} +0 -0
- /package/dist/{chunk-AGKIG3YA.js.map → chunk-NKKD4ZAU.js.map} +0 -0
- /package/dist/{chunk-3TMYV3LP.js.map → chunk-NTWN6HB2.js.map} +0 -0
- /package/dist/{chunk-63FHSH7E.js.map → chunk-OCZIYAE5.js.map} +0 -0
- /package/dist/{chunk-I2HTKOOP.js.map → chunk-ODZG724P.js.map} +0 -0
- /package/dist/{chunk-HQSBYI5X.js.map → chunk-OTHZWLUD.js.map} +0 -0
- /package/dist/{chunk-4W6INNXO.js.map → chunk-PE255F4T.js.map} +0 -0
- /package/dist/{chunk-6L27N6YI.js.map → chunk-QOS5LBZN.js.map} +0 -0
- /package/dist/{chunk-G72IPMR7.js.map → chunk-R4OCGPSH.js.map} +0 -0
- /package/dist/{chunk-MIBKEW7A.js.map → chunk-R7JAM2XF.js.map} +0 -0
- /package/dist/{chunk-JBPKEARU.js.map → chunk-RKNJBZ55.js.map} +0 -0
- /package/dist/{chunk-HUNSEO5U.js.map → chunk-S2DPMJXH.js.map} +0 -0
- /package/dist/{chunk-HQSPXTQO.js.map → chunk-SIHSCCUQ.js.map} +0 -0
- /package/dist/{chunk-R3AAOKR2.js.map → chunk-SPUJNJJC.js.map} +0 -0
- /package/dist/{chunk-IAY7YBXS.js.map → chunk-SQI57UCJ.js.map} +0 -0
- /package/dist/{chunk-CTQRPANJ.js.map → chunk-SVSRPG6M.js.map} +0 -0
- /package/dist/{chunk-S2VBSTTA.js.map → chunk-THG4GYIE.js.map} +0 -0
- /package/dist/{chunk-IXRC7EQG.js.map → chunk-TR7DGXGI.js.map} +0 -0
- /package/dist/{chunk-BC4QD3FM.js.map → chunk-UIN2BWDD.js.map} +0 -0
- /package/dist/{chunk-JTSVMJHV.js.map → chunk-UXO5IMBK.js.map} +0 -0
- /package/dist/{chunk-KQAFEZQX.js.map → chunk-VDX2J7OX.js.map} +0 -0
- /package/dist/{chunk-MUJ4QFUQ.js.map → chunk-W4BMEGQA.js.map} +0 -0
- /package/dist/{chunk-5HK3CJAR.js.map → chunk-W675UJCZ.js.map} +0 -0
- /package/dist/{chunk-MDVBCPOS.js.map → chunk-XCTXS7VY.js.map} +0 -0
- /package/dist/{chunk-53ENM6F6.js.map → chunk-XRYZRW54.js.map} +0 -0
- /package/dist/{chunk-VJ6ECBIP.js.map → chunk-Y7DK7HHJ.js.map} +0 -0
- /package/dist/{chunk-3MADV4YC.js.map → chunk-YB42WZCY.js.map} +0 -0
- /package/dist/{chunk-X5SDZMO7.js.map → chunk-YHCBJULX.js.map} +0 -0
- /package/dist/{chunk-6JJT5AKI.js.map → chunk-Z7PBQPJ4.js.map} +0 -0
- /package/dist/{chunk-ALCJRQ72.js.map → chunk-ZO6AXLEH.js.map} +0 -0
- /package/dist/{chunk-VZVP2W4O.js.map → chunk-ZQHI2BZB.js.map} +0 -0
- /package/dist/{resolution-DKMBPXHI.js.map → memory-subject-cli.js.map} +0 -0
|
@@ -6,23 +6,23 @@ import {
|
|
|
6
6
|
loadSyncState,
|
|
7
7
|
syncWearableSource,
|
|
8
8
|
wearableSourceLabel
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
runPeerProfileReasoner
|
|
12
|
-
} from "./chunk-I74SUMNI.js";
|
|
9
|
+
} from "./chunk-CDUUDBWJ.js";
|
|
13
10
|
import {
|
|
14
11
|
CompressionGuidelineCoordinator
|
|
15
12
|
} from "./chunk-UXREWVW4.js";
|
|
16
13
|
import {
|
|
17
14
|
ActivityStore,
|
|
18
15
|
MaintenanceScheduler
|
|
19
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-CT56C22C.js";
|
|
17
|
+
import {
|
|
18
|
+
runPeerProfileReasoner
|
|
19
|
+
} from "./chunk-I74SUMNI.js";
|
|
20
20
|
import {
|
|
21
21
|
migrateFromEngram
|
|
22
22
|
} from "./chunk-7HYPN2GC.js";
|
|
23
23
|
import {
|
|
24
24
|
LcmEngine
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-M4AHBM72.js";
|
|
26
26
|
import {
|
|
27
27
|
chunkTranscriptEntries
|
|
28
28
|
} from "./chunk-TECVW3JP.js";
|
|
@@ -32,10 +32,13 @@ import {
|
|
|
32
32
|
import {
|
|
33
33
|
CompoundingEngine,
|
|
34
34
|
defaultTierMigrationCycleBudget
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-2YI72KM3.js";
|
|
36
36
|
import {
|
|
37
37
|
SharedContextManager
|
|
38
38
|
} from "./chunk-VI637ILW.js";
|
|
39
|
+
import {
|
|
40
|
+
cleanArchivedUserMessage
|
|
41
|
+
} from "./chunk-47DU4SGJ.js";
|
|
39
42
|
import {
|
|
40
43
|
applyUtilityPromotionRuntimePolicy,
|
|
41
44
|
applyUtilityRankingRuntimeDelta,
|
|
@@ -45,8 +48,8 @@ import {
|
|
|
45
48
|
extractTopics
|
|
46
49
|
} from "./chunk-KVDUKH5E.js";
|
|
47
50
|
import {
|
|
48
|
-
|
|
49
|
-
} from "./chunk-
|
|
51
|
+
buildTemporalTimelineRecallSection
|
|
52
|
+
} from "./chunk-2NKY7OC6.js";
|
|
50
53
|
import {
|
|
51
54
|
CODEX_THREAD_KEY_PREFIX
|
|
52
55
|
} from "./chunk-4EX5WZ4M.js";
|
|
@@ -59,19 +62,21 @@ import {
|
|
|
59
62
|
import {
|
|
60
63
|
TmtBuilder
|
|
61
64
|
} from "./chunk-ECZU5BJH.js";
|
|
65
|
+
import {
|
|
66
|
+
HourlySummarizer
|
|
67
|
+
} from "./chunk-EUYWQ7TS.js";
|
|
62
68
|
import {
|
|
63
69
|
buildTargetedFactRecallSection,
|
|
64
70
|
shouldRecallTargetedFactEvidence
|
|
65
71
|
} from "./chunk-T67LUYCR.js";
|
|
66
|
-
import {
|
|
67
|
-
buildTemporalTimelineRecallSection
|
|
68
|
-
} from "./chunk-2NKY7OC6.js";
|
|
69
|
-
import {
|
|
70
|
-
HourlySummarizer
|
|
71
|
-
} from "./chunk-EUYWQ7TS.js";
|
|
72
72
|
import {
|
|
73
73
|
SessionObserverState
|
|
74
74
|
} from "./chunk-ODZKV2F7.js";
|
|
75
|
+
import {
|
|
76
|
+
RerankCache,
|
|
77
|
+
reorderByRankedKeys,
|
|
78
|
+
rerankLocalOrNoop
|
|
79
|
+
} from "./chunk-LUDXM7MD.js";
|
|
75
80
|
import {
|
|
76
81
|
buildResponseGuidanceRecallSection,
|
|
77
82
|
shouldRecallResponseGuidance
|
|
@@ -106,11 +111,6 @@ import {
|
|
|
106
111
|
import {
|
|
107
112
|
RelevanceStore
|
|
108
113
|
} from "./chunk-KATEWTQJ.js";
|
|
109
|
-
import {
|
|
110
|
-
RerankCache,
|
|
111
|
-
reorderByRankedKeys,
|
|
112
|
-
rerankLocalOrNoop
|
|
113
|
-
} from "./chunk-LUDXM7MD.js";
|
|
114
114
|
import {
|
|
115
115
|
dedupeResultsByNamespace,
|
|
116
116
|
hasMemoryForResult,
|
|
@@ -128,13 +128,13 @@ import {
|
|
|
128
128
|
import {
|
|
129
129
|
installPrioritizedEmbedding
|
|
130
130
|
} from "./chunk-ROI7BK7H.js";
|
|
131
|
+
import {
|
|
132
|
+
NegativeExampleStore
|
|
133
|
+
} from "./chunk-23L3IXFD.js";
|
|
131
134
|
import {
|
|
132
135
|
applyMemoryWorthFilter,
|
|
133
136
|
buildMemoryWorthCounterMap
|
|
134
137
|
} from "./chunk-3GPTTA4J.js";
|
|
135
|
-
import {
|
|
136
|
-
NegativeExampleStore
|
|
137
|
-
} from "./chunk-23L3IXFD.js";
|
|
138
138
|
import {
|
|
139
139
|
evaluateMemoryActionPolicy
|
|
140
140
|
} from "./chunk-H63EDPFJ.js";
|
|
@@ -160,10 +160,10 @@ import {
|
|
|
160
160
|
} from "./chunk-OH7QLI6W.js";
|
|
161
161
|
import {
|
|
162
162
|
ExtractionEngine
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-LUNJ3WFO.js";
|
|
164
164
|
import {
|
|
165
165
|
parseMemoryActionEligibilityContext
|
|
166
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-7BDZTALN.js";
|
|
167
167
|
import {
|
|
168
168
|
ModelRegistry
|
|
169
169
|
} from "./chunk-WLZYGLJ4.js";
|
|
@@ -176,7 +176,7 @@ import {
|
|
|
176
176
|
getVerdictKind,
|
|
177
177
|
judgeFactDurability,
|
|
178
178
|
validateProcedureExtraction
|
|
179
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-3DVBKTSO.js";
|
|
180
180
|
import {
|
|
181
181
|
buildExplicitCueRecallSection
|
|
182
182
|
} from "./chunk-TVIVY7KU.js";
|
|
@@ -184,7 +184,7 @@ import {
|
|
|
184
184
|
buildEntityRecallSection,
|
|
185
185
|
entityRecentTranscriptLookbackHours,
|
|
186
186
|
readRecentEntityTranscriptEntries
|
|
187
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-DZUJ46DO.js";
|
|
188
188
|
import {
|
|
189
189
|
planEpisodeWindowsWithFallback
|
|
190
190
|
} from "./chunk-T3GIETKV.js";
|
|
@@ -209,31 +209,31 @@ import {
|
|
|
209
209
|
} from "./chunk-VY47VI2T.js";
|
|
210
210
|
import {
|
|
211
211
|
refreshConvergedNamespaces
|
|
212
|
-
} from "./chunk-
|
|
212
|
+
} from "./chunk-Y7DK7HHJ.js";
|
|
213
213
|
import {
|
|
214
214
|
builtInConnectorPackageSpecifier,
|
|
215
215
|
ensureBuiltInWearableConnectors,
|
|
216
216
|
getWearableConnector,
|
|
217
217
|
listWearableConnectors,
|
|
218
218
|
screenCandidateFact
|
|
219
|
-
} from "./chunk-
|
|
220
|
-
import {
|
|
221
|
-
normalizeReplaySessionKey
|
|
222
|
-
} from "./chunk-AJVLDJU6.js";
|
|
219
|
+
} from "./chunk-LGO6A7GJ.js";
|
|
223
220
|
import {
|
|
224
221
|
RoutingRulesStore
|
|
225
222
|
} from "./chunk-TBUEE7XF.js";
|
|
223
|
+
import {
|
|
224
|
+
normalizeReplaySessionKey
|
|
225
|
+
} from "./chunk-AJVLDJU6.js";
|
|
226
226
|
import {
|
|
227
227
|
compareVerifiedEpisodeResults,
|
|
228
228
|
searchVerifiedEpisodes
|
|
229
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-2E36UXVW.js";
|
|
230
230
|
import {
|
|
231
231
|
ThreadingManager
|
|
232
232
|
} from "./chunk-OJP3N7UK.js";
|
|
233
233
|
import {
|
|
234
234
|
compareVerifiedSemanticRuleResults,
|
|
235
235
|
searchVerifiedSemanticRules
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-ZO6AXLEH.js";
|
|
237
237
|
import {
|
|
238
238
|
searchWorkProductLedgerEntries
|
|
239
239
|
} from "./chunk-NRLELHAY.js";
|
|
@@ -246,13 +246,13 @@ import {
|
|
|
246
246
|
import {
|
|
247
247
|
runNamespaceMaintenanceFanout,
|
|
248
248
|
summarizeNamespaceMaintenanceHealth
|
|
249
|
-
} from "./chunk-
|
|
249
|
+
} from "./chunk-ZWXJBFZU.js";
|
|
250
250
|
import {
|
|
251
251
|
planNamespaceMaintenance
|
|
252
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-MN4KB2A4.js";
|
|
253
253
|
import {
|
|
254
254
|
searchHarmonicRetrieval
|
|
255
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-SIHSCCUQ.js";
|
|
256
256
|
import {
|
|
257
257
|
isAboveImportanceThreshold,
|
|
258
258
|
scoreImportance
|
|
@@ -277,7 +277,7 @@ import {
|
|
|
277
277
|
} from "./chunk-NOB2T2FC.js";
|
|
278
278
|
import {
|
|
279
279
|
SmartBuffer
|
|
280
|
-
} from "./chunk-
|
|
280
|
+
} from "./chunk-TR7DGXGI.js";
|
|
281
281
|
import {
|
|
282
282
|
buildConsolidationPrompt,
|
|
283
283
|
buildExtensionsBlockForConsolidation,
|
|
@@ -287,7 +287,7 @@ import {
|
|
|
287
287
|
materializeAfterSemanticConsolidation,
|
|
288
288
|
parseConsolidationResponse,
|
|
289
289
|
parseOperatorAwareConsolidationResponse
|
|
290
|
-
} from "./chunk-
|
|
290
|
+
} from "./chunk-ZQHI2BZB.js";
|
|
291
291
|
import {
|
|
292
292
|
BootstrapEngine
|
|
293
293
|
} from "./chunk-MYVPLJOO.js";
|
|
@@ -305,7 +305,7 @@ import {
|
|
|
305
305
|
} from "./chunk-6TBIWIAG.js";
|
|
306
306
|
import {
|
|
307
307
|
detectMeetings
|
|
308
|
-
} from "./chunk-
|
|
308
|
+
} from "./chunk-BWLRUMOG.js";
|
|
309
309
|
import {
|
|
310
310
|
compileCorrectionRule,
|
|
311
311
|
correctionsFilePath,
|
|
@@ -330,14 +330,14 @@ import {
|
|
|
330
330
|
} from "./chunk-KD3QD3A5.js";
|
|
331
331
|
import {
|
|
332
332
|
MeetingsInputError
|
|
333
|
-
} from "./chunk-
|
|
333
|
+
} from "./chunk-4KYOLI6M.js";
|
|
334
334
|
import {
|
|
335
335
|
WearablesInputError,
|
|
336
336
|
describeErrorForOperator
|
|
337
337
|
} from "./chunk-V7IZKJI3.js";
|
|
338
338
|
import {
|
|
339
339
|
NamespaceCatalog
|
|
340
|
-
} from "./chunk-
|
|
340
|
+
} from "./chunk-SQI57UCJ.js";
|
|
341
341
|
import {
|
|
342
342
|
recordDreamsPhaseRun
|
|
343
343
|
} from "./chunk-EQWEIIKQ.js";
|
|
@@ -354,10 +354,10 @@ import {
|
|
|
354
354
|
filterRecallCandidates,
|
|
355
355
|
isGenericRecallExcludedPath,
|
|
356
356
|
isTopLevelArchivePath
|
|
357
|
-
} from "./chunk-
|
|
357
|
+
} from "./chunk-SB7D4BT7.js";
|
|
358
358
|
import {
|
|
359
359
|
importCapsule
|
|
360
|
-
} from "./chunk-
|
|
360
|
+
} from "./chunk-6433HV72.js";
|
|
361
361
|
import {
|
|
362
362
|
isCodingGraphInstalled
|
|
363
363
|
} from "./chunk-VQ7B2Q6M.js";
|
|
@@ -380,7 +380,7 @@ import {
|
|
|
380
380
|
} from "./chunk-ZVZHG7AI.js";
|
|
381
381
|
import {
|
|
382
382
|
buildXraySnapshot
|
|
383
|
-
} from "./chunk-
|
|
383
|
+
} from "./chunk-3I7ASZN3.js";
|
|
384
384
|
import {
|
|
385
385
|
objectiveStateStoreOverrideForNamespace,
|
|
386
386
|
searchObjectiveStateSnapshots
|
|
@@ -400,7 +400,7 @@ import {
|
|
|
400
400
|
} from "./chunk-QDW3E4RD.js";
|
|
401
401
|
import {
|
|
402
402
|
shouldSkipImplicitExtraction
|
|
403
|
-
} from "./chunk-
|
|
403
|
+
} from "./chunk-7BEPVIH3.js";
|
|
404
404
|
import {
|
|
405
405
|
boundRecallContextComposition,
|
|
406
406
|
composeRecallContext,
|
|
@@ -411,7 +411,7 @@ import {
|
|
|
411
411
|
} from "./chunk-7ZNJN5WZ.js";
|
|
412
412
|
import {
|
|
413
413
|
NamespaceStorageRouter
|
|
414
|
-
} from "./chunk-
|
|
414
|
+
} from "./chunk-LZH5FR2W.js";
|
|
415
415
|
import {
|
|
416
416
|
GraphIndex
|
|
417
417
|
} from "./chunk-BIJAWZYW.js";
|
|
@@ -455,7 +455,7 @@ import {
|
|
|
455
455
|
throwIfRecallAborted,
|
|
456
456
|
tokenizeRecallQuery,
|
|
457
457
|
utcDateKeysForLocalDay
|
|
458
|
-
} from "./chunk-
|
|
458
|
+
} from "./chunk-THG4GYIE.js";
|
|
459
459
|
import {
|
|
460
460
|
inferIntentFromText,
|
|
461
461
|
intentCompatibilityScore,
|
|
@@ -467,7 +467,7 @@ import {
|
|
|
467
467
|
} from "./chunk-PP7R754B.js";
|
|
468
468
|
import {
|
|
469
469
|
buildChainFollowupGenerator
|
|
470
|
-
} from "./chunk-
|
|
470
|
+
} from "./chunk-NTWN6HB2.js";
|
|
471
471
|
import {
|
|
472
472
|
QmdResultResolver,
|
|
473
473
|
StorageManager,
|
|
@@ -486,10 +486,7 @@ import {
|
|
|
486
486
|
reconstructFusionInputs,
|
|
487
487
|
selfDeps,
|
|
488
488
|
serializeFusionDay
|
|
489
|
-
} from "./chunk-
|
|
490
|
-
import {
|
|
491
|
-
buildRetiredFactTombstoneInputs
|
|
492
|
-
} from "./chunk-46WM6JX2.js";
|
|
489
|
+
} from "./chunk-J275IYMG.js";
|
|
493
490
|
import {
|
|
494
491
|
bodyIsEscaped,
|
|
495
492
|
decodeTranscriptBody,
|
|
@@ -500,15 +497,18 @@ import {
|
|
|
500
497
|
saveSpeakerRegistry,
|
|
501
498
|
speakerRegistryKey
|
|
502
499
|
} from "./chunk-UHVXE24Y.js";
|
|
500
|
+
import {
|
|
501
|
+
buildRetiredFactTombstoneInputs
|
|
502
|
+
} from "./chunk-46WM6JX2.js";
|
|
503
503
|
import {
|
|
504
504
|
NamespaceSearchRouter,
|
|
505
505
|
namespaceCollectionName
|
|
506
|
-
} from "./chunk-
|
|
506
|
+
} from "./chunk-YHCBJULX.js";
|
|
507
507
|
import {
|
|
508
508
|
createConversationIndexRuntime,
|
|
509
509
|
createSearchBackend,
|
|
510
510
|
isSearchBackendEnabled
|
|
511
|
-
} from "./chunk-
|
|
511
|
+
} from "./chunk-DJZWNKFO.js";
|
|
512
512
|
import {
|
|
513
513
|
NoopSearchBackend
|
|
514
514
|
} from "./chunk-CYEPCZN5.js";
|
|
@@ -522,7 +522,7 @@ import {
|
|
|
522
522
|
} from "./chunk-S2V7RUCL.js";
|
|
523
523
|
import {
|
|
524
524
|
confidenceTier
|
|
525
|
-
} from "./chunk-
|
|
525
|
+
} from "./chunk-SBDCZ2AX.js";
|
|
526
526
|
import {
|
|
527
527
|
lintWorkspaceFiles,
|
|
528
528
|
rotateMarkdownFileToArchive
|
|
@@ -536,7 +536,7 @@ import {
|
|
|
536
536
|
TAG_LIMITS,
|
|
537
537
|
composeMemoryEnvelope,
|
|
538
538
|
isMemoryCategory
|
|
539
|
-
} from "./chunk-
|
|
539
|
+
} from "./chunk-RAIUTAZZ.js";
|
|
540
540
|
import {
|
|
541
541
|
normalizeTags
|
|
542
542
|
} from "./chunk-BT7NVCML.js";
|
|
@@ -590,6 +590,11 @@ import {
|
|
|
590
590
|
import {
|
|
591
591
|
assertExternalWikiRootOutsideMemoryDirCanonical
|
|
592
592
|
} from "./chunk-JV3C2MNQ.js";
|
|
593
|
+
import {
|
|
594
|
+
evaluateSubjectGuard,
|
|
595
|
+
isSharedPromotionTarget,
|
|
596
|
+
resolveWriteSubject
|
|
597
|
+
} from "./chunk-RIAM7DND.js";
|
|
593
598
|
import {
|
|
594
599
|
coerceBool
|
|
595
600
|
} from "./chunk-PQVCH2AE.js";
|
|
@@ -641,9 +646,6 @@ import {
|
|
|
641
646
|
isActiveMemoryStatus,
|
|
642
647
|
toMemoryPathRel
|
|
643
648
|
} from "./chunk-7RJUVTVF.js";
|
|
644
|
-
import {
|
|
645
|
-
ContentHashIndex
|
|
646
|
-
} from "./chunk-JOEJG4SD.js";
|
|
647
649
|
import {
|
|
648
650
|
excludeSupportPassportPrivateMemories,
|
|
649
651
|
isSupportPassportPrivateMemory
|
|
@@ -652,6 +654,9 @@ import {
|
|
|
652
654
|
normalizeAttributePairs,
|
|
653
655
|
stripAttributesSuffix
|
|
654
656
|
} from "./chunk-JDSVLVCG.js";
|
|
657
|
+
import {
|
|
658
|
+
ContentHashIndex
|
|
659
|
+
} from "./chunk-JOEJG4SD.js";
|
|
655
660
|
import {
|
|
656
661
|
sanitizeMemoryContent
|
|
657
662
|
} from "./chunk-5GKPFL3S.js";
|
|
@@ -5017,6 +5022,17 @@ var ExtractionPersistCoordinator = class {
|
|
|
5017
5022
|
const namespacesEnabled = resolveNamespaceCapabilities(this.deps.config).namespaces;
|
|
5018
5023
|
const sourceConnector = sourceContext?.sourceConnector;
|
|
5019
5024
|
const origin = classifyExtractionOrigin(sourceContext);
|
|
5025
|
+
const subjectGuardAllows = (subject, target, label) => {
|
|
5026
|
+
const decision = evaluateSubjectGuard({
|
|
5027
|
+
subject,
|
|
5028
|
+
sharedTarget: isSharedPromotionTarget(target),
|
|
5029
|
+
mode: this.deps.config.subjectGuard
|
|
5030
|
+
});
|
|
5031
|
+
if (decision.action !== "allow") {
|
|
5032
|
+
log.warn(`subject-guard(${decision.action}) ${label}: ${decision.reason}`);
|
|
5033
|
+
}
|
|
5034
|
+
return decision.action !== "reject";
|
|
5035
|
+
};
|
|
5020
5036
|
const promoteMemoryToProfileTargets = async (options) => {
|
|
5021
5037
|
if (!scopeProfileWritePlan || !profileAutoPromotionAllows(scopeProfileWritePlan, options.category, options.confidence))
|
|
5022
5038
|
return;
|
|
@@ -5033,6 +5049,7 @@ var ExtractionPersistCoordinator = class {
|
|
|
5033
5049
|
try {
|
|
5034
5050
|
const targetStorage = await this.deps.getStorageRouter().storageFor(target.namespace);
|
|
5035
5051
|
if (targetStorage.dir === options.sourceStorage.dir) continue;
|
|
5052
|
+
if (!subjectGuardAllows(options.subject, target.target, `profile promotion to ${target.target}`)) continue;
|
|
5036
5053
|
const targetPromotionEnvelope = composeSalvagedExtractionEnvelope(
|
|
5037
5054
|
{
|
|
5038
5055
|
content: citedContent,
|
|
@@ -5043,7 +5060,8 @@ var ExtractionPersistCoordinator = class {
|
|
|
5043
5060
|
entityRef: options.entityRef,
|
|
5044
5061
|
structuredAttributes: options.structuredAttributes,
|
|
5045
5062
|
validAt: options.validAt,
|
|
5046
|
-
...sourceContext?.sourceConnector ? { sourceConnector: sourceContext.sourceConnector } : {}
|
|
5063
|
+
...sourceContext?.sourceConnector ? { sourceConnector: sourceContext.sourceConnector } : {},
|
|
5064
|
+
...options.subject !== void 0 ? { subject: options.subject } : {}
|
|
5047
5065
|
},
|
|
5048
5066
|
{ source: `${options.source}-${target.target}-promotion` }
|
|
5049
5067
|
);
|
|
@@ -5168,6 +5186,7 @@ var ExtractionPersistCoordinator = class {
|
|
|
5168
5186
|
options.confidence
|
|
5169
5187
|
))
|
|
5170
5188
|
return;
|
|
5189
|
+
if (!subjectGuardAllows(options.subject, "serverShared", "shared promotion")) return;
|
|
5171
5190
|
try {
|
|
5172
5191
|
const sharedStorage = await this.deps.getStorageRouter().storageFor(
|
|
5173
5192
|
this.deps.config.sharedNamespace
|
|
@@ -5185,7 +5204,8 @@ var ExtractionPersistCoordinator = class {
|
|
|
5185
5204
|
entityRef: options.entityRef,
|
|
5186
5205
|
structuredAttributes: options.structuredAttributes,
|
|
5187
5206
|
validAt: options.validAt,
|
|
5188
|
-
...sourceContext?.sourceConnector ? { sourceConnector: sourceContext.sourceConnector } : {}
|
|
5207
|
+
...sourceContext?.sourceConnector ? { sourceConnector: sourceContext.sourceConnector } : {},
|
|
5208
|
+
...options.subject !== void 0 ? { subject: options.subject } : {}
|
|
5189
5209
|
},
|
|
5190
5210
|
{ source: `${options.source}-shared-promotion` }
|
|
5191
5211
|
);
|
|
@@ -5558,7 +5578,7 @@ var ExtractionPersistCoordinator = class {
|
|
|
5558
5578
|
content: f.content,
|
|
5559
5579
|
sourceConnector,
|
|
5560
5580
|
procedureSteps: f.procedureSteps
|
|
5561
|
-
})) {
|
|
5581
|
+
}) && subjectGuardAllows(f.subject, "serverShared", "pre-judge shared routing")) {
|
|
5562
5582
|
factNs = this.deps.config.sharedNamespace;
|
|
5563
5583
|
}
|
|
5564
5584
|
if (factNs) {
|
|
@@ -5717,6 +5737,7 @@ var ExtractionPersistCoordinator = class {
|
|
|
5717
5737
|
);
|
|
5718
5738
|
}
|
|
5719
5739
|
}
|
|
5740
|
+
const factSubject = this.deps.config.subjectClassification?.enabled === true ? resolveWriteSubject(writeCategory, fact.subject) : void 0;
|
|
5720
5741
|
if (lifecycleCaps.extractionScopeClassification && namespacesEnabled && fact.scope === "global" && !routedNamespaceExplicit) {
|
|
5721
5742
|
const currentNs = this.deps.storageDirNamespace(targetStorage.dir);
|
|
5722
5743
|
if (currentNs !== this.deps.config.sharedNamespace && profileAllowsSharedWrites) {
|
|
@@ -5725,7 +5746,7 @@ var ExtractionPersistCoordinator = class {
|
|
|
5725
5746
|
content: fact.content,
|
|
5726
5747
|
sourceConnector,
|
|
5727
5748
|
procedureSteps: fact.procedureSteps
|
|
5728
|
-
})) {
|
|
5749
|
+
}) && subjectGuardAllows(fact.subject, "serverShared", "scope-routing")) {
|
|
5729
5750
|
try {
|
|
5730
5751
|
targetStorage = await this.deps.getStorageRouter().storageFor(
|
|
5731
5752
|
this.deps.config.sharedNamespace
|
|
@@ -6178,6 +6199,7 @@ var ExtractionPersistCoordinator = class {
|
|
|
6178
6199
|
sourceStorage: targetStorage,
|
|
6179
6200
|
category: writeCategory,
|
|
6180
6201
|
content: fact.content,
|
|
6202
|
+
subject: factSubject,
|
|
6181
6203
|
confidence: fact.confidence,
|
|
6182
6204
|
tags: fact.tags,
|
|
6183
6205
|
entityRef: fact.entityRef,
|
|
@@ -6308,7 +6330,8 @@ var ExtractionPersistCoordinator = class {
|
|
|
6308
6330
|
entityRef: typeof fact.entityRef === "string" ? fact.entityRef : void 0,
|
|
6309
6331
|
structuredAttributes: fact.structuredAttributes,
|
|
6310
6332
|
validAt: biTemporal ? biTemporal.validFrom : sourceContext?.validAt,
|
|
6311
|
-
...extractionSourceConnector ? { sourceConnector: extractionSourceConnector } : {}
|
|
6333
|
+
...extractionSourceConnector ? { sourceConnector: extractionSourceConnector } : {},
|
|
6334
|
+
...factSubject !== void 0 ? { subject: factSubject } : {}
|
|
6312
6335
|
},
|
|
6313
6336
|
{ source: extractionWriteSource }
|
|
6314
6337
|
);
|
|
@@ -6405,6 +6428,7 @@ var ExtractionPersistCoordinator = class {
|
|
|
6405
6428
|
category: writeCategory,
|
|
6406
6429
|
content: fact.content,
|
|
6407
6430
|
confidence: fact.confidence,
|
|
6431
|
+
subject: factSubject,
|
|
6408
6432
|
tags: fact.tags,
|
|
6409
6433
|
entityRef: typeof fact.entityRef === "string" ? fact.entityRef : void 0,
|
|
6410
6434
|
structuredAttributes: fact.structuredAttributes,
|
|
@@ -8422,6 +8446,11 @@ async function buildProcedureRecallSection(storage, prompt, config, options) {
|
|
|
8422
8446
|
(m) => m.frontmatter.category === "procedure" && isActiveMemoryStatus(m.frontmatter.status) && (options?.partitionToolScoped !== true || canRecallToolScopedMemory(m.frontmatter, options.requestingConnector))
|
|
8423
8447
|
).map((m) => ({ m, score: scoreProcedureForPrompt(m, trimmed, queryIntent) })).filter((x) => x.score > 0.04).sort((a, b) => b.score - a.score).slice(0, maxN);
|
|
8424
8448
|
if (scored.length === 0) return null;
|
|
8449
|
+
if (options?.injectedMemories) {
|
|
8450
|
+
for (const { m } of scored) {
|
|
8451
|
+
options.injectedMemories.push({ id: m.frontmatter.id, path: m.path });
|
|
8452
|
+
}
|
|
8453
|
+
}
|
|
8425
8454
|
const security = resolveSecurityCapabilities(config);
|
|
8426
8455
|
const blocks = scored.map(({ m, score }) => {
|
|
8427
8456
|
const id = m.frontmatter.id;
|
|
@@ -8440,6 +8469,16 @@ ${body}`;
|
|
|
8440
8469
|
|
|
8441
8470
|
${blocks.join("\n\n")}`;
|
|
8442
8471
|
}
|
|
8472
|
+
function mergeProcedureInjections(existing, injected) {
|
|
8473
|
+
if (injected.length === 0) return existing;
|
|
8474
|
+
const seen = new Set(existing.map((memory) => memory.id));
|
|
8475
|
+
const extra = injected.filter((memory) => {
|
|
8476
|
+
if (seen.has(memory.id)) return false;
|
|
8477
|
+
seen.add(memory.id);
|
|
8478
|
+
return true;
|
|
8479
|
+
});
|
|
8480
|
+
return extra.length === 0 ? existing : [...existing, ...extra];
|
|
8481
|
+
}
|
|
8443
8482
|
|
|
8444
8483
|
// src/orchestration/episodic-context-section.ts
|
|
8445
8484
|
var EPISODIC_FACT_SCAN_LIMIT = 8;
|
|
@@ -10739,6 +10778,7 @@ ${formatted}`;
|
|
|
10739
10778
|
});
|
|
10740
10779
|
return section;
|
|
10741
10780
|
})();
|
|
10781
|
+
const procedureInjectedMemories = [];
|
|
10742
10782
|
const procedureRecallPromise = (async () => {
|
|
10743
10783
|
if (this.deps.config.procedural?.enabled !== true) return null;
|
|
10744
10784
|
if (!this.deps.isRecallSectionEnabled("procedure-recall", true)) return null;
|
|
@@ -10747,10 +10787,7 @@ ${formatted}`;
|
|
|
10747
10787
|
profileStorage,
|
|
10748
10788
|
retrievalQuery,
|
|
10749
10789
|
this.deps.config,
|
|
10750
|
-
{
|
|
10751
|
-
partitionToolScoped: lifecycleCaps.extractionScopeClassification,
|
|
10752
|
-
requestingConnector: options.sourceConnector
|
|
10753
|
-
}
|
|
10790
|
+
{ partitionToolScoped: lifecycleCaps.extractionScopeClassification, requestingConnector: options.sourceConnector, injectedMemories: procedureInjectedMemories }
|
|
10754
10791
|
);
|
|
10755
10792
|
} catch (err) {
|
|
10756
10793
|
log.debug(
|
|
@@ -12469,6 +12506,9 @@ ${tmtNode.summary}`
|
|
|
12469
12506
|
sectionBuckets,
|
|
12470
12507
|
contextBudgetForFooter(recallBudgetChars, curiosityFooter)
|
|
12471
12508
|
);
|
|
12509
|
+
if (procedureRecallSection !== null && assembledRecall.includedIds.includes("procedure-recall")) {
|
|
12510
|
+
assembledRecall.includedMemories = mergeProcedureInjections(assembledRecall.includedMemories, procedureInjectedMemories);
|
|
12511
|
+
}
|
|
12472
12512
|
recalledMemoryIds = assembledRecall.includedMemories.map((memory) => memory.id);
|
|
12473
12513
|
recalledMemoryPaths = assembledRecall.includedMemories.map((memory) => memory.path);
|
|
12474
12514
|
recalledMemoryNamespaces = assembledRecall.includedMemories.map((memory) => memory.namespace);
|
|
@@ -15472,7 +15512,7 @@ var OrchestratorInitCoordinator = class {
|
|
|
15472
15512
|
if (signal.aborted) return;
|
|
15473
15513
|
if (!this.deps.wearablesAutoSyncHandle && this.deps.config.wearables.enabled && this.deps.config.wearables.autoSyncEnabled && Object.values(this.deps.config.wearables.sources).some((source) => source.enabled)) {
|
|
15474
15514
|
try {
|
|
15475
|
-
const { startWearablesAutoSync } = await import("./auto-sync-
|
|
15515
|
+
const { startWearablesAutoSync } = await import("./auto-sync-H64ZCNIR.js");
|
|
15476
15516
|
if (signal.aborted) return;
|
|
15477
15517
|
this.deps.wearablesAutoSyncHandle = startWearablesAutoSync(
|
|
15478
15518
|
{
|
|
@@ -25548,6 +25588,29 @@ async function promoteSpace(sourceSpaceId, targetSpaceId, options) {
|
|
|
25548
25588
|
throw new Error("Spaces must have a parent-child relationship for promotion. Use --force to override.");
|
|
25549
25589
|
}
|
|
25550
25590
|
}
|
|
25591
|
+
const subjectWarnings = [];
|
|
25592
|
+
const warnedMemoryIds = [];
|
|
25593
|
+
if (target.kind === "team") {
|
|
25594
|
+
const sourceFiles = fs7.existsSync(source.memoryDir) ? walkMd2(fs7.realpathSync(source.memoryDir)) : [];
|
|
25595
|
+
for (const file of sourceFiles) {
|
|
25596
|
+
const fm = parseSimpleFrontmatter(fs7.readFileSync(file, "utf8"));
|
|
25597
|
+
if (!fm?.id) continue;
|
|
25598
|
+
if (options?.memoryIds?.length && !options.memoryIds.includes(fm.id)) continue;
|
|
25599
|
+
const decision = evaluateSubjectGuard({
|
|
25600
|
+
subject: fm.subject === "user" || fm.subject === "agent" ? fm.subject : void 0,
|
|
25601
|
+
sharedTarget: true,
|
|
25602
|
+
mode: options?.subjectGuard ?? "warn",
|
|
25603
|
+
allowUserSubject: options?.allowUserSubject
|
|
25604
|
+
});
|
|
25605
|
+
if (decision.action === "reject") {
|
|
25606
|
+
throw new Error(`space promote blocked by subject guard: memory ${fm.id} \u2014 ${decision.reason}`);
|
|
25607
|
+
}
|
|
25608
|
+
if (decision.action === "warn") {
|
|
25609
|
+
subjectWarnings.push(`memory ${fm.id}: ${decision.reason}`);
|
|
25610
|
+
warnedMemoryIds.push(fm.id);
|
|
25611
|
+
}
|
|
25612
|
+
}
|
|
25613
|
+
}
|
|
25551
25614
|
const result = await copyMemories(source.memoryDir, target.memoryDir, {
|
|
25552
25615
|
filterIds: options?.memoryIds,
|
|
25553
25616
|
force: options?.forceOverwrite !== void 0 ? options.forceOverwrite : options?.force ?? false
|
|
@@ -25557,7 +25620,8 @@ async function promoteSpace(sourceSpaceId, targetSpaceId, options) {
|
|
|
25557
25620
|
action: "space.promote",
|
|
25558
25621
|
sourceSpaceId,
|
|
25559
25622
|
targetSpaceId,
|
|
25560
|
-
details: `Promoted ${result.merged} memories from "${source.name}" to "${target.name}"`
|
|
25623
|
+
details: `Promoted ${result.merged} memories from "${source.name}" to "${target.name}"${subjectWarnings.length > 0 ? `; subject-guard warned ${subjectWarnings.length} user-subject memories (${warnedMemoryIds.join(", ")})` : ""}${options?.allowUserSubject === true ? "; user-subject override: --allow-user-subject" : ""}`,
|
|
25624
|
+
...warnedMemoryIds.length > 0 ? { memoryIds: warnedMemoryIds } : {}
|
|
25561
25625
|
},
|
|
25562
25626
|
options?.baseDir
|
|
25563
25627
|
);
|
|
@@ -25566,7 +25630,8 @@ async function promoteSpace(sourceSpaceId, targetSpaceId, options) {
|
|
|
25566
25630
|
targetSpaceId,
|
|
25567
25631
|
memoriesPromoted: result.merged,
|
|
25568
25632
|
conflicts: result.conflicts,
|
|
25569
|
-
durationMs: Date.now() - startTime
|
|
25633
|
+
durationMs: Date.now() - startTime,
|
|
25634
|
+
...subjectWarnings.length > 0 ? { subjectWarnings } : {}
|
|
25570
25635
|
};
|
|
25571
25636
|
}
|
|
25572
25637
|
async function mergeSpaces(sourceSpaceId, targetSpaceId, options) {
|
|
@@ -27449,4 +27514,4 @@ export {
|
|
|
27449
27514
|
blendGraphExpandedRecallScore,
|
|
27450
27515
|
Orchestrator
|
|
27451
27516
|
};
|
|
27452
|
-
//# sourceMappingURL=chunk-
|
|
27517
|
+
//# sourceMappingURL=chunk-V3MXUL3D.js.map
|