@remnic/core 9.27.0 → 9.28.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 +13 -10
- package/dist/access-admin-ops-surface.js +43 -38
- package/dist/access-audit.js +2 -2
- package/dist/access-authorization-probe.d.ts +13 -10
- package/dist/access-authorization-probe.js +44 -39
- package/dist/access-boundary.d.ts +13 -10
- package/dist/access-boundary.js +43 -38
- package/dist/access-cli.js +100 -94
- package/dist/access-cli.js.map +1 -1
- package/dist/access-health-types.d.ts +10 -1
- package/dist/access-http-lcm-compaction.d.ts +13 -10
- package/dist/access-http.d.ts +13 -10
- package/dist/access-http.js +53 -48
- package/dist/access-identity-continuity-surface.d.ts +9 -8
- package/dist/access-identity-continuity-surface.js +43 -38
- package/dist/access-lcm-surface.d.ts +13 -10
- package/dist/access-lcm-surface.js +43 -38
- package/dist/access-mcp.d.ts +13 -10
- package/dist/access-mcp.js +48 -43
- package/dist/access-memory-search-fanout.d.ts +2 -2
- package/dist/{access-namespace-preflight-wRSZEO5V.d.ts → access-namespace-preflight-BiQ_-iUJ.d.ts} +1 -1
- package/dist/access-namespace-preflight.d.ts +3 -3
- package/dist/access-namespace-preflight.js +43 -38
- package/dist/access-observe-write-surface.d.ts +13 -10
- package/dist/access-observe-write-surface.js +43 -38
- package/dist/access-operations-batch.js +45 -40
- package/dist/access-operations.d.ts +16 -13
- package/dist/access-operations.js +47 -42
- package/dist/access-recall-concurrency.d.ts +13 -10
- package/dist/access-recall-concurrency.js +43 -38
- package/dist/access-recall-response.d.ts +13 -10
- package/dist/access-recall-response.js +43 -38
- package/dist/access-recall-surface.d.ts +13 -10
- package/dist/access-recall-surface.js +43 -38
- package/dist/access-schema.d.ts +80 -80
- package/dist/access-schema.js +4 -4
- package/dist/{access-service-B4-Fu9x2.d.ts → access-service-CXkIgcGh.d.ts} +12 -8
- package/dist/access-service.d.ts +13 -10
- package/dist/access-service.js +43 -38
- package/dist/access-surface-catalog.d.ts +13 -10
- package/dist/access-wearables-meetings-surface.d.ts +4 -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 +4 -2
- package/dist/active-recall.js.map +1 -1
- package/dist/adapters/index.js +7 -7
- package/dist/adapters/registry.js +3 -3
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +9 -8
- package/dist/briefing.d.ts +3 -2
- package/dist/briefing.js +12 -10
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer.d.ts +3 -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/{capsule-crypto-YO5QJ6L3.js → capsule-crypto-7FJQINUR.js} +2 -2
- package/dist/{catalog-BLLxZ5L5.d.ts → catalog-Bouj8Gfg.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 +13 -11
- package/dist/causal-consolidation.js.map +1 -1
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/{chunk-7RZJWZ46.js → chunk-227UFSEQ.js} +5 -5
- package/dist/{chunk-UT3OQPFA.js → chunk-2BEJ4XCF.js} +2 -2
- package/dist/{chunk-EOLC6EXV.js → chunk-2FYNLDKJ.js} +24 -3
- package/dist/chunk-2FYNLDKJ.js.map +1 -0
- package/dist/{chunk-BXLOS5AJ.js → chunk-2NLLXCJG.js} +2 -2
- package/dist/{chunk-6NNNURLK.js → chunk-2PHX3I5C.js} +8 -8
- package/dist/{chunk-HORJVJ6K.js → chunk-2TQ2UFKH.js} +65 -60
- package/dist/chunk-2TQ2UFKH.js.map +1 -0
- package/dist/{chunk-RPA2RX5P.js → chunk-3BSJBIZ3.js} +2 -2
- package/dist/{chunk-JCVQV6QX.js → chunk-3UOSVTFR.js} +11 -11
- package/dist/{chunk-AJ7QCSIS.js → chunk-7CPOZH6Y.js} +2 -2
- package/dist/{chunk-MEBQFQ26.js → chunk-AHFZXUZM.js} +7 -5
- package/dist/chunk-AHFZXUZM.js.map +1 -0
- package/dist/{chunk-U3TH5Q2Q.js → chunk-ALTP3MFS.js} +2 -2
- package/dist/{chunk-77CNV7DY.js → chunk-BLAKS3CP.js} +4 -4
- package/dist/{chunk-XQ4EH6DI.js → chunk-BR4UFMLO.js} +2 -2
- package/dist/chunk-CVILPI77.js +432 -0
- package/dist/chunk-CVILPI77.js.map +1 -0
- package/dist/{chunk-WEAO45M4.js → chunk-DKQM5Q6Q.js} +2 -2
- package/dist/{chunk-CSXHRAJJ.js → chunk-EG64LXKL.js} +3 -3
- package/dist/{chunk-PTN6UAUA.js → chunk-ES36HTSC.js} +4 -4
- package/dist/{chunk-5BRT4Z2I.js → chunk-EZWWCN7I.js} +2 -2
- package/dist/{chunk-XKGPIWGI.js → chunk-FBZTWUK5.js} +5 -5
- package/dist/{chunk-GJJBPI6I.js → chunk-FOCEI3TN.js} +6 -3
- package/dist/chunk-FOCEI3TN.js.map +1 -0
- package/dist/{chunk-FRVTCCGD.js → chunk-GJPCP5CA.js} +2 -2
- package/dist/{chunk-CI26JDZA.js → chunk-GQSMYXKL.js} +6 -4
- package/dist/{chunk-CI26JDZA.js.map → chunk-GQSMYXKL.js.map} +1 -1
- package/dist/{chunk-TGQ2NTWH.js → chunk-IJ6WHMFB.js} +16 -2
- package/dist/{chunk-TGQ2NTWH.js.map → chunk-IJ6WHMFB.js.map} +1 -1
- package/dist/{chunk-VDX2J7OX.js → chunk-IPLYGWQF.js} +6 -6
- package/dist/{chunk-YSGBD3QN.js → chunk-IYT632D5.js} +3 -3
- package/dist/{chunk-2QSZNTDO.js → chunk-JBPKEARU.js} +7 -7
- package/dist/{chunk-RSYJV25N.js → chunk-JIF3VRKQ.js} +8 -8
- package/dist/{chunk-V25OWXAC.js → chunk-JQ7T5VDC.js} +1 -1
- package/dist/chunk-JQ7T5VDC.js.map +1 -0
- package/dist/{chunk-EUSLKI4X.js → chunk-KKBTBUVT.js} +2 -2
- package/dist/{chunk-RNY3BO35.js → chunk-LIHC3T43.js} +2 -2
- package/dist/{chunk-RGJBM7Z3.js → chunk-MJPV4LBH.js} +79 -79
- package/dist/{chunk-RGJBM7Z3.js.map → chunk-MJPV4LBH.js.map} +1 -1
- package/dist/{chunk-UGH6VPPO.js → chunk-MWTMTW2T.js} +2 -2
- package/dist/{chunk-MG6MNSP4.js → chunk-MXJ3VP6S.js} +6 -6
- package/dist/{chunk-XKO7BM2C.js → chunk-NBNDVNJ2.js} +186 -25
- package/dist/chunk-NBNDVNJ2.js.map +1 -0
- package/dist/{chunk-M5EPMNS4.js → chunk-P2CLYN6H.js} +2 -2
- package/dist/{chunk-BNGPHGVZ.js → chunk-PXQM2HOG.js} +13 -6
- package/dist/{chunk-BNGPHGVZ.js.map → chunk-PXQM2HOG.js.map} +1 -1
- package/dist/{chunk-CIQXI47W.js → chunk-Q5VJUNXA.js} +1192 -268
- package/dist/chunk-Q5VJUNXA.js.map +1 -0
- package/dist/{chunk-KGTD2KZJ.js → chunk-Q6YJW6KE.js} +2 -2
- package/dist/{chunk-X3SQYAPP.js → chunk-R372P2EH.js} +2 -2
- package/dist/{chunk-4MJZTF42.js → chunk-RKXZ7P4V.js} +3 -3
- package/dist/chunk-RMMVQQA6.js +70 -0
- package/dist/chunk-RMMVQQA6.js.map +1 -0
- package/dist/{chunk-2RAC4JIG.js → chunk-S24E4MBQ.js} +14 -14
- package/dist/chunk-S24E4MBQ.js.map +1 -0
- package/dist/{chunk-RYHWZ52A.js → chunk-S2BBISHU.js} +4 -4
- package/dist/{chunk-LLISELSY.js → chunk-TBMRQZDY.js} +2 -2
- package/dist/{chunk-FMLKOL2Z.js → chunk-TC3VNKGX.js} +4 -4
- package/dist/{chunk-7K5Q6COX.js → chunk-TVVEYCNW.js} +4 -4
- package/dist/{chunk-NUWMZIYZ.js → chunk-UR5SIN7H.js} +53 -35
- package/dist/chunk-UR5SIN7H.js.map +1 -0
- package/dist/{chunk-JDOJZTFF.js → chunk-VFNI3RPT.js} +2 -2
- package/dist/chunk-VNA7W7QF.js +134 -0
- package/dist/chunk-VNA7W7QF.js.map +1 -0
- package/dist/{chunk-EYJSW2RV.js → chunk-VYYNBJXH.js} +5 -5
- package/dist/chunk-WNIUPHWV.js +152 -0
- package/dist/chunk-WNIUPHWV.js.map +1 -0
- package/dist/chunk-WRJVB3C2.js +118 -0
- package/dist/chunk-WRJVB3C2.js.map +1 -0
- package/dist/{chunk-BHLN7L7M.js → chunk-WVVK2RFM.js} +6 -6
- package/dist/{chunk-DQEMWVMT.js → chunk-X7Y7WX73.js} +1 -1
- package/dist/{chunk-HEXSNYJD.js → chunk-YOBNCD3Z.js} +6 -6
- package/dist/chunk-YXZG5TVN.js +40 -0
- package/dist/chunk-YXZG5TVN.js.map +1 -0
- package/dist/{chunk-4DJQYKMN.js → chunk-ZIKENA2C.js} +2 -2
- package/dist/chunk-ZIKENA2C.js.map +1 -0
- package/dist/{chunk-SK3EYPKC.js → chunk-ZN4UZWMT.js} +2 -2
- package/dist/{cli-Bz7X7dGx.d.ts → cli-DJbkaZBU.d.ts} +5 -5
- package/dist/cli.d.ts +14 -12
- package/dist/cli.js +79 -74
- package/dist/compounding/engine.d.ts +3 -2
- package/dist/compounding/engine.js +12 -10
- 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 +4 -2
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +12 -10
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +12 -10
- package/dist/consolidation-provenance-check.d.ts +3 -2
- package/dist/consolidation-undo.d.ts +3 -2
- package/dist/contradiction/index.d.ts +3 -2
- package/dist/conversation-index/backend.d.ts +1 -1
- package/dist/conversation-index/backend.js +2 -2
- 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 +15 -2
- package/dist/corpus-watermark.js +25 -21
- 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-id-normalization.d.ts +4 -0
- package/dist/entity-id-normalization.js +10 -0
- package/dist/entity-id-normalization.js.map +1 -0
- package/dist/entity-retrieval-boundaries.d.ts +3 -0
- package/dist/entity-retrieval-boundaries.js +8 -0
- package/dist/entity-retrieval-boundaries.js.map +1 -0
- package/dist/entity-retrieval.d.ts +3 -2
- package/dist/entity-retrieval.js +13 -10
- package/dist/entity-schema.d.ts +1 -1
- package/dist/entity-schema.js +1 -1
- package/dist/explicit-capture.d.ts +9 -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.d.ts +1 -1
- package/dist/fallback-llm.d.ts +1 -1
- package/dist/{first-start-migration-LEXL3XYL.js → first-start-migration-BKNGOFED.js} +4 -4
- 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 +409 -407
- package/dist/index.js +147 -141
- 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 +9 -9
- 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 +12 -10
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +3 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +12 -10
- package/dist/maintenance/rebuild-memory-projection.d.ts +3 -2
- package/dist/maintenance/rebuild-memory-projection.js +13 -11
- package/dist/{maintenance-DgnD2z8S.d.ts → maintenance-DveW6azo.d.ts} +3 -3
- package/dist/mcp-memory-inspector-app.d.ts +13 -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-mutations.d.ts +4 -0
- package/dist/memory-projection-mutations.js +15 -0
- package/dist/memory-projection-mutations.js.map +1 -0
- package/dist/memory-projection-store.d.ts +1 -1
- package/dist/memory-provenance.d.ts +1 -1
- package/dist/memory-worth-outcomes.d.ts +3 -2
- package/dist/models-json.d.ts +1 -1
- package/dist/namespaces/migrate.d.ts +4 -3
- package/dist/namespaces/migrate.js +22 -20
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/search.js +9 -9
- package/dist/namespaces/storage.d.ts +4 -3
- package/dist/namespaces/storage.js +12 -10
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/offline-sync-impression-drain.d.ts +1 -1
- package/dist/offline-sync-impression-drain.js +3 -3
- package/dist/operator-doctor-corpus.d.ts +22 -3
- package/dist/operator-doctor-corpus.js +32 -22
- package/dist/operator-doctor-replica.d.ts +52 -0
- package/dist/operator-doctor-replica.js +15 -0
- package/dist/operator-doctor-replica.js.map +1 -0
- package/dist/operator-toolkit.d.ts +7 -3
- package/dist/operator-toolkit.js +33 -27
- package/dist/orchestration/compression-guideline-coordinator.d.ts +3 -2
- package/dist/orchestration/maintenance.d.ts +5 -4
- package/dist/orchestration/maintenance.js +17 -15
- package/dist/{orchestrator-rIHmHpv1.d.ts → orchestrator-Cvlgpe6I.d.ts} +7 -7
- package/dist/orchestrator.d.ts +9 -8
- package/dist/orchestrator.js +99 -93
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/{pipeline-Bq5zU6Bp.d.ts → pipeline-BveYVaz7.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-3ILJkC70.d.ts → qmd-CLWDsbYR.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-state.js +2 -2
- 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 +279 -0
- package/dist/replica-divergence.js +28 -0
- package/dist/replica-divergence.js.map +1 -0
- package/dist/replica-peers-config.d.ts +5 -0
- package/dist/replica-peers-config.js +13 -0
- package/dist/replica-peers-config.js.map +1 -0
- package/dist/resolve-auth-token.d.ts +21 -2
- package/dist/resolve-auth-token.js +5 -1
- package/dist/resume-bundles.js +5 -3
- 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/schemas.d.ts +76 -76
- package/dist/{scope-profiles-D0-ff4xT.d.ts → scope-profiles-BVf3DZ7z.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 +8 -8
- package/dist/search/index.d.ts +1 -1
- package/dist/search/index.js +13 -13
- package/dist/search/lancedb-backend.d.ts +1 -1
- package/dist/search/lancedb-backend.js +2 -2
- package/dist/search/meilisearch-backend.d.ts +1 -1
- package/dist/search/meilisearch-backend.js +2 -2
- package/dist/search/noop-backend.d.ts +1 -1
- package/dist/search/orama-backend.d.ts +1 -1
- package/dist/search/orama-backend.js +2 -2
- package/dist/search/port.d.ts +1 -1
- package/dist/search/remote-backend.d.ts +1 -1
- package/dist/{semantic-consolidation-4Tfh7c1g.d.ts → semantic-consolidation-DXLV47y2.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +13 -11
- package/dist/semantic-rule-promotion.js +12 -10
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +12 -10
- package/dist/{service-cTvil7D_.d.ts → service-DbgPTeMJ.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 +9 -9
- package/dist/signal.d.ts +1 -1
- package/dist/{storage-C9ibpTme.d.ts → storage-DOzTm8wG.d.ts} +13 -19
- package/dist/storage.d.ts +3 -2
- package/dist/storage.js +13 -10
- package/dist/summarizer.d.ts +1 -1
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/temporal-supersession.d.ts +3 -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 +3 -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/autodetect.js +1 -1
- package/dist/transfer/backup.js +2 -2
- package/dist/transfer/capsule-export.js +3 -3
- 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-DHBxIF0s.d.ts → types-BA7W-_xy.d.ts} +53 -4
- 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 +12 -10
- package/dist/write-envelope.d.ts +1 -1
- package/package.json +2 -2
- package/src/access-health-types.ts +8 -0
- package/src/access-http.test.ts +4 -0
- package/src/access-service-health.test.ts +23 -0
- package/src/access-service.ts +27 -4
- package/src/cli.ts +9 -7
- package/src/config.ts +2 -1
- package/src/corpus-watermark.test.ts +21 -0
- package/src/corpus-watermark.ts +25 -3
- package/src/entity-id-normalization.ts +55 -0
- package/src/entity-retrieval-boundaries.ts +134 -0
- package/src/entity-retrieval.ts +253 -27
- package/src/entity-schema.ts +2 -1
- package/src/memory-projection-mutations.ts +132 -0
- package/src/namespaces/storage.ts +5 -3
- package/src/operator-doctor-corpus.ts +41 -0
- package/src/operator-doctor-replica.test.ts +261 -0
- package/src/operator-doctor-replica.ts +129 -0
- package/src/operator-toolkit.ts +5 -4
- package/src/orchestration/orchestrator-init.ts +2 -2
- package/src/replica-divergence.test.ts +1475 -0
- package/src/replica-divergence.ts +910 -0
- package/src/replica-peers-config.ts +250 -0
- package/src/resolve-auth-token.ts +38 -0
- package/src/storage/entity-canonical-id-migration-adapter.ts +72 -0
- package/src/storage/entity-canonical-id-migration-runner.ts +68 -0
- package/src/storage/entity-canonical-id-migration.ts +904 -0
- package/src/storage/entity-store.ts +44 -0
- package/src/storage/memory-frontmatter-metadata.ts +17 -0
- package/src/storage/memory-migration-serialization.ts +37 -0
- package/src/storage/memory-read-store.ts +3 -2
- package/src/storage/profile-header.ts +8 -7
- package/src/storage-profile-timestamp.test.ts +68 -0
- package/src/storage.ts +68 -69
- package/src/types.ts +3 -3
- package/dist/chunk-2RAC4JIG.js.map +0 -1
- package/dist/chunk-4DJQYKMN.js.map +0 -1
- package/dist/chunk-CIQXI47W.js.map +0 -1
- package/dist/chunk-EOLC6EXV.js.map +0 -1
- package/dist/chunk-GJJBPI6I.js.map +0 -1
- package/dist/chunk-HORJVJ6K.js.map +0 -1
- package/dist/chunk-MEBQFQ26.js.map +0 -1
- package/dist/chunk-NUWMZIYZ.js.map +0 -1
- package/dist/chunk-V25OWXAC.js.map +0 -1
- package/dist/chunk-XKO7BM2C.js.map +0 -1
- /package/dist/{capsule-crypto-YO5QJ6L3.js.map → capsule-crypto-7FJQINUR.js.map} +0 -0
- /package/dist/{chunk-7RZJWZ46.js.map → chunk-227UFSEQ.js.map} +0 -0
- /package/dist/{chunk-UT3OQPFA.js.map → chunk-2BEJ4XCF.js.map} +0 -0
- /package/dist/{chunk-BXLOS5AJ.js.map → chunk-2NLLXCJG.js.map} +0 -0
- /package/dist/{chunk-6NNNURLK.js.map → chunk-2PHX3I5C.js.map} +0 -0
- /package/dist/{chunk-RPA2RX5P.js.map → chunk-3BSJBIZ3.js.map} +0 -0
- /package/dist/{chunk-JCVQV6QX.js.map → chunk-3UOSVTFR.js.map} +0 -0
- /package/dist/{chunk-AJ7QCSIS.js.map → chunk-7CPOZH6Y.js.map} +0 -0
- /package/dist/{chunk-U3TH5Q2Q.js.map → chunk-ALTP3MFS.js.map} +0 -0
- /package/dist/{chunk-77CNV7DY.js.map → chunk-BLAKS3CP.js.map} +0 -0
- /package/dist/{chunk-XQ4EH6DI.js.map → chunk-BR4UFMLO.js.map} +0 -0
- /package/dist/{chunk-WEAO45M4.js.map → chunk-DKQM5Q6Q.js.map} +0 -0
- /package/dist/{chunk-CSXHRAJJ.js.map → chunk-EG64LXKL.js.map} +0 -0
- /package/dist/{chunk-PTN6UAUA.js.map → chunk-ES36HTSC.js.map} +0 -0
- /package/dist/{chunk-5BRT4Z2I.js.map → chunk-EZWWCN7I.js.map} +0 -0
- /package/dist/{chunk-XKGPIWGI.js.map → chunk-FBZTWUK5.js.map} +0 -0
- /package/dist/{chunk-FRVTCCGD.js.map → chunk-GJPCP5CA.js.map} +0 -0
- /package/dist/{chunk-VDX2J7OX.js.map → chunk-IPLYGWQF.js.map} +0 -0
- /package/dist/{chunk-YSGBD3QN.js.map → chunk-IYT632D5.js.map} +0 -0
- /package/dist/{chunk-2QSZNTDO.js.map → chunk-JBPKEARU.js.map} +0 -0
- /package/dist/{chunk-RSYJV25N.js.map → chunk-JIF3VRKQ.js.map} +0 -0
- /package/dist/{chunk-EUSLKI4X.js.map → chunk-KKBTBUVT.js.map} +0 -0
- /package/dist/{chunk-RNY3BO35.js.map → chunk-LIHC3T43.js.map} +0 -0
- /package/dist/{chunk-UGH6VPPO.js.map → chunk-MWTMTW2T.js.map} +0 -0
- /package/dist/{chunk-MG6MNSP4.js.map → chunk-MXJ3VP6S.js.map} +0 -0
- /package/dist/{chunk-M5EPMNS4.js.map → chunk-P2CLYN6H.js.map} +0 -0
- /package/dist/{chunk-KGTD2KZJ.js.map → chunk-Q6YJW6KE.js.map} +0 -0
- /package/dist/{chunk-X3SQYAPP.js.map → chunk-R372P2EH.js.map} +0 -0
- /package/dist/{chunk-4MJZTF42.js.map → chunk-RKXZ7P4V.js.map} +0 -0
- /package/dist/{chunk-RYHWZ52A.js.map → chunk-S2BBISHU.js.map} +0 -0
- /package/dist/{chunk-LLISELSY.js.map → chunk-TBMRQZDY.js.map} +0 -0
- /package/dist/{chunk-FMLKOL2Z.js.map → chunk-TC3VNKGX.js.map} +0 -0
- /package/dist/{chunk-7K5Q6COX.js.map → chunk-TVVEYCNW.js.map} +0 -0
- /package/dist/{chunk-JDOJZTFF.js.map → chunk-VFNI3RPT.js.map} +0 -0
- /package/dist/{chunk-EYJSW2RV.js.map → chunk-VYYNBJXH.js.map} +0 -0
- /package/dist/{chunk-BHLN7L7M.js.map → chunk-WVVK2RFM.js.map} +0 -0
- /package/dist/{chunk-DQEMWVMT.js.map → chunk-X7Y7WX73.js.map} +0 -0
- /package/dist/{chunk-HEXSNYJD.js.map → chunk-YOBNCD3Z.js.map} +0 -0
- /package/dist/{chunk-SK3EYPKC.js.map → chunk-ZN4UZWMT.js.map} +0 -0
- /package/dist/{first-start-migration-LEXL3XYL.js.map → first-start-migration-BKNGOFED.js.map} +0 -0
package/dist/topics.d.ts
CHANGED
package/dist/transcript.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginConfig, T as TranscriptEntry, m as Checkpoint } from './types-
|
|
1
|
+
import { P as PluginConfig, T as TranscriptEntry, m as Checkpoint } from './types-BA7W-_xy.js';
|
|
2
2
|
import { SessionIntegrityReport } from './session-integrity.js';
|
|
3
3
|
import './message-parts/index.js';
|
|
4
4
|
import './bounded-jsonl-state.js';
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
import "../chunk-2DL3OFLD.js";
|
|
5
5
|
import "../chunk-G4IAEX6D.js";
|
|
6
6
|
import "../chunk-765K3SAT.js";
|
|
7
|
-
import "../chunk-WEHSQBFR.js";
|
|
8
7
|
import "../chunk-J4EB7DNW.js";
|
|
8
|
+
import "../chunk-WEHSQBFR.js";
|
|
9
9
|
import "../chunk-UI3NYK34.js";
|
|
10
10
|
import "../chunk-GCGJW34D.js";
|
|
11
11
|
import "../chunk-PZ5AY32C.js";
|
package/dist/transfer/backup.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
backupMemoryDir
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-2NLLXCJG.js";
|
|
4
4
|
import "../chunk-765K3SAT.js";
|
|
5
|
-
import "../chunk-DQEMWVMT.js";
|
|
6
5
|
import "../chunk-J4EB7DNW.js";
|
|
6
|
+
import "../chunk-X7Y7WX73.js";
|
|
7
7
|
import "../chunk-BJMBJZ2Y.js";
|
|
8
8
|
import "../chunk-UKJAGEXH.js";
|
|
9
9
|
import "../chunk-FP2373TW.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exportCapsule,
|
|
3
3
|
isValidCapsuleSince
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-WEHSQBFR.js";
|
|
6
|
-
import "../chunk-DQEMWVMT.js";
|
|
4
|
+
} from "../chunk-IPLYGWQF.js";
|
|
7
5
|
import "../chunk-J4EB7DNW.js";
|
|
6
|
+
import "../chunk-WEHSQBFR.js";
|
|
7
|
+
import "../chunk-X7Y7WX73.js";
|
|
8
8
|
import "../chunk-BJMBJZ2Y.js";
|
|
9
9
|
import "../chunk-UKJAGEXH.js";
|
|
10
10
|
import "../chunk-FP2373TW.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
importCapsule
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-7CPOZH6Y.js";
|
|
4
4
|
import "../chunk-5VQJBH2G.js";
|
|
5
5
|
import "../chunk-AITCS2RC.js";
|
|
6
6
|
import "../chunk-XMMESCPD.js";
|
|
7
7
|
import "../chunk-42JKGUFJ.js";
|
|
8
8
|
import "../chunk-PDJTHRAW.js";
|
|
9
9
|
import "../chunk-WEHSQBFR.js";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-X7Y7WX73.js";
|
|
11
11
|
import "../chunk-BJMBJZ2Y.js";
|
|
12
12
|
import "../chunk-UKJAGEXH.js";
|
|
13
13
|
import "../chunk-FP2373TW.js";
|
package/dist/transfer/types.d.ts
CHANGED
|
@@ -20,26 +20,26 @@ declare const ExportManifestV1Schema: z.ZodObject<{
|
|
|
20
20
|
bytes: number;
|
|
21
21
|
}>, "many">;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
|
-
|
|
23
|
+
schemaVersion: 1;
|
|
24
24
|
createdAt: string;
|
|
25
|
-
pluginVersion: string;
|
|
26
25
|
files: {
|
|
27
26
|
path: string;
|
|
28
27
|
sha256: string;
|
|
29
28
|
bytes: number;
|
|
30
29
|
}[];
|
|
31
|
-
|
|
30
|
+
format: "openclaw-engram-export";
|
|
31
|
+
pluginVersion: string;
|
|
32
32
|
includesTranscripts: boolean;
|
|
33
33
|
}, {
|
|
34
|
-
|
|
34
|
+
schemaVersion: 1;
|
|
35
35
|
createdAt: string;
|
|
36
|
-
pluginVersion: string;
|
|
37
36
|
files: {
|
|
38
37
|
path: string;
|
|
39
38
|
sha256: string;
|
|
40
39
|
bytes: number;
|
|
41
40
|
}[];
|
|
42
|
-
|
|
41
|
+
format: "openclaw-engram-export";
|
|
42
|
+
pluginVersion: string;
|
|
43
43
|
includesTranscripts: boolean;
|
|
44
44
|
}>;
|
|
45
45
|
type ExportManifestV1 = z.infer<typeof ExportManifestV1Schema>;
|
|
@@ -75,26 +75,26 @@ declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
75
75
|
bytes: number;
|
|
76
76
|
}>, "many">;
|
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
|
78
|
-
|
|
78
|
+
schemaVersion: 1;
|
|
79
79
|
createdAt: string;
|
|
80
|
-
pluginVersion: string;
|
|
81
80
|
files: {
|
|
82
81
|
path: string;
|
|
83
82
|
sha256: string;
|
|
84
83
|
bytes: number;
|
|
85
84
|
}[];
|
|
86
|
-
|
|
85
|
+
format: "openclaw-engram-export";
|
|
86
|
+
pluginVersion: string;
|
|
87
87
|
includesTranscripts: boolean;
|
|
88
88
|
}, {
|
|
89
|
-
|
|
89
|
+
schemaVersion: 1;
|
|
90
90
|
createdAt: string;
|
|
91
|
-
pluginVersion: string;
|
|
92
91
|
files: {
|
|
93
92
|
path: string;
|
|
94
93
|
sha256: string;
|
|
95
94
|
bytes: number;
|
|
96
95
|
}[];
|
|
97
|
-
|
|
96
|
+
format: "openclaw-engram-export";
|
|
97
|
+
pluginVersion: string;
|
|
98
98
|
includesTranscripts: boolean;
|
|
99
99
|
}>;
|
|
100
100
|
records: z.ZodArray<z.ZodObject<{
|
|
@@ -109,15 +109,15 @@ declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
109
109
|
}>, "many">;
|
|
110
110
|
}, "strip", z.ZodTypeAny, {
|
|
111
111
|
manifest: {
|
|
112
|
-
|
|
112
|
+
schemaVersion: 1;
|
|
113
113
|
createdAt: string;
|
|
114
|
-
pluginVersion: string;
|
|
115
114
|
files: {
|
|
116
115
|
path: string;
|
|
117
116
|
sha256: string;
|
|
118
117
|
bytes: number;
|
|
119
118
|
}[];
|
|
120
|
-
|
|
119
|
+
format: "openclaw-engram-export";
|
|
120
|
+
pluginVersion: string;
|
|
121
121
|
includesTranscripts: boolean;
|
|
122
122
|
};
|
|
123
123
|
records: {
|
|
@@ -126,15 +126,15 @@ declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
126
126
|
}[];
|
|
127
127
|
}, {
|
|
128
128
|
manifest: {
|
|
129
|
-
|
|
129
|
+
schemaVersion: 1;
|
|
130
130
|
createdAt: string;
|
|
131
|
-
pluginVersion: string;
|
|
132
131
|
files: {
|
|
133
132
|
path: string;
|
|
134
133
|
sha256: string;
|
|
135
134
|
bytes: number;
|
|
136
135
|
}[];
|
|
137
|
-
|
|
136
|
+
format: "openclaw-engram-export";
|
|
137
|
+
pluginVersion: string;
|
|
138
138
|
includesTranscripts: boolean;
|
|
139
139
|
};
|
|
140
140
|
records: {
|
|
@@ -313,16 +313,16 @@ declare const CapsuleBlockSchema: z.ZodObject<{
|
|
|
313
313
|
peerProfiles: boolean;
|
|
314
314
|
}>;
|
|
315
315
|
}, "strip", z.ZodTypeAny, {
|
|
316
|
+
schemaVersion: string;
|
|
316
317
|
includes: {
|
|
317
318
|
procedural: boolean;
|
|
318
319
|
taxonomy: boolean;
|
|
319
320
|
identityAnchors: boolean;
|
|
320
321
|
peerProfiles: boolean;
|
|
321
322
|
};
|
|
322
|
-
description: string;
|
|
323
323
|
id: string;
|
|
324
|
-
schemaVersion: string;
|
|
325
324
|
version: string;
|
|
325
|
+
description: string;
|
|
326
326
|
parentCapsule: string | null;
|
|
327
327
|
parent: {
|
|
328
328
|
version: string;
|
|
@@ -334,16 +334,16 @@ declare const CapsuleBlockSchema: z.ZodObject<{
|
|
|
334
334
|
directAnswerEnabled: boolean;
|
|
335
335
|
};
|
|
336
336
|
}, {
|
|
337
|
+
schemaVersion: string;
|
|
337
338
|
includes: {
|
|
338
339
|
procedural: boolean;
|
|
339
340
|
taxonomy: boolean;
|
|
340
341
|
identityAnchors: boolean;
|
|
341
342
|
peerProfiles: boolean;
|
|
342
343
|
};
|
|
343
|
-
description: string;
|
|
344
344
|
id: string;
|
|
345
|
-
schemaVersion: string;
|
|
346
345
|
version: string;
|
|
346
|
+
description: string;
|
|
347
347
|
parentCapsule: string | null;
|
|
348
348
|
retrievalPolicy: {
|
|
349
349
|
tierWeights: Record<string, number>;
|
|
@@ -464,16 +464,16 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
464
464
|
peerProfiles: boolean;
|
|
465
465
|
}>;
|
|
466
466
|
}, "strip", z.ZodTypeAny, {
|
|
467
|
+
schemaVersion: string;
|
|
467
468
|
includes: {
|
|
468
469
|
procedural: boolean;
|
|
469
470
|
taxonomy: boolean;
|
|
470
471
|
identityAnchors: boolean;
|
|
471
472
|
peerProfiles: boolean;
|
|
472
473
|
};
|
|
473
|
-
description: string;
|
|
474
474
|
id: string;
|
|
475
|
-
schemaVersion: string;
|
|
476
475
|
version: string;
|
|
476
|
+
description: string;
|
|
477
477
|
parentCapsule: string | null;
|
|
478
478
|
parent: {
|
|
479
479
|
version: string;
|
|
@@ -485,16 +485,16 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
485
485
|
directAnswerEnabled: boolean;
|
|
486
486
|
};
|
|
487
487
|
}, {
|
|
488
|
+
schemaVersion: string;
|
|
488
489
|
includes: {
|
|
489
490
|
procedural: boolean;
|
|
490
491
|
taxonomy: boolean;
|
|
491
492
|
identityAnchors: boolean;
|
|
492
493
|
peerProfiles: boolean;
|
|
493
494
|
};
|
|
494
|
-
description: string;
|
|
495
495
|
id: string;
|
|
496
|
-
schemaVersion: string;
|
|
497
496
|
version: string;
|
|
497
|
+
description: string;
|
|
498
498
|
parentCapsule: string | null;
|
|
499
499
|
retrievalPolicy: {
|
|
500
500
|
tierWeights: Record<string, number>;
|
|
@@ -507,25 +507,27 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
507
507
|
} | null | undefined;
|
|
508
508
|
}>;
|
|
509
509
|
}, "strip", z.ZodTypeAny, {
|
|
510
|
-
|
|
510
|
+
schemaVersion: 2;
|
|
511
511
|
createdAt: string;
|
|
512
|
-
pluginVersion: string;
|
|
513
512
|
files: {
|
|
514
513
|
path: string;
|
|
515
514
|
sha256: string;
|
|
516
515
|
bytes: number;
|
|
517
516
|
}[];
|
|
517
|
+
format: "openclaw-engram-export";
|
|
518
|
+
pluginVersion: string;
|
|
519
|
+
includesTranscripts: boolean;
|
|
518
520
|
capsule: {
|
|
521
|
+
schemaVersion: string;
|
|
519
522
|
includes: {
|
|
520
523
|
procedural: boolean;
|
|
521
524
|
taxonomy: boolean;
|
|
522
525
|
identityAnchors: boolean;
|
|
523
526
|
peerProfiles: boolean;
|
|
524
527
|
};
|
|
525
|
-
description: string;
|
|
526
528
|
id: string;
|
|
527
|
-
schemaVersion: string;
|
|
528
529
|
version: string;
|
|
530
|
+
description: string;
|
|
529
531
|
parentCapsule: string | null;
|
|
530
532
|
parent: {
|
|
531
533
|
version: string;
|
|
@@ -537,28 +539,28 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
537
539
|
directAnswerEnabled: boolean;
|
|
538
540
|
};
|
|
539
541
|
};
|
|
540
|
-
schemaVersion: 2;
|
|
541
|
-
includesTranscripts: boolean;
|
|
542
542
|
}, {
|
|
543
|
-
|
|
543
|
+
schemaVersion: 2;
|
|
544
544
|
createdAt: string;
|
|
545
|
-
pluginVersion: string;
|
|
546
545
|
files: {
|
|
547
546
|
path: string;
|
|
548
547
|
sha256: string;
|
|
549
548
|
bytes: number;
|
|
550
549
|
}[];
|
|
550
|
+
format: "openclaw-engram-export";
|
|
551
|
+
pluginVersion: string;
|
|
552
|
+
includesTranscripts: boolean;
|
|
551
553
|
capsule: {
|
|
554
|
+
schemaVersion: string;
|
|
552
555
|
includes: {
|
|
553
556
|
procedural: boolean;
|
|
554
557
|
taxonomy: boolean;
|
|
555
558
|
identityAnchors: boolean;
|
|
556
559
|
peerProfiles: boolean;
|
|
557
560
|
};
|
|
558
|
-
description: string;
|
|
559
561
|
id: string;
|
|
560
|
-
schemaVersion: string;
|
|
561
562
|
version: string;
|
|
563
|
+
description: string;
|
|
562
564
|
parentCapsule: string | null;
|
|
563
565
|
retrievalPolicy: {
|
|
564
566
|
tierWeights: Record<string, number>;
|
|
@@ -570,8 +572,6 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
570
572
|
forkRoot: string;
|
|
571
573
|
} | null | undefined;
|
|
572
574
|
};
|
|
573
|
-
schemaVersion: 2;
|
|
574
|
-
includesTranscripts: boolean;
|
|
575
575
|
}>;
|
|
576
576
|
type ExportManifestV2 = z.infer<typeof ExportManifestV2Schema>;
|
|
577
577
|
declare const ExportBundleV2Schema: z.ZodObject<{
|
|
@@ -683,16 +683,16 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
683
683
|
peerProfiles: boolean;
|
|
684
684
|
}>;
|
|
685
685
|
}, "strip", z.ZodTypeAny, {
|
|
686
|
+
schemaVersion: string;
|
|
686
687
|
includes: {
|
|
687
688
|
procedural: boolean;
|
|
688
689
|
taxonomy: boolean;
|
|
689
690
|
identityAnchors: boolean;
|
|
690
691
|
peerProfiles: boolean;
|
|
691
692
|
};
|
|
692
|
-
description: string;
|
|
693
693
|
id: string;
|
|
694
|
-
schemaVersion: string;
|
|
695
694
|
version: string;
|
|
695
|
+
description: string;
|
|
696
696
|
parentCapsule: string | null;
|
|
697
697
|
parent: {
|
|
698
698
|
version: string;
|
|
@@ -704,16 +704,16 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
704
704
|
directAnswerEnabled: boolean;
|
|
705
705
|
};
|
|
706
706
|
}, {
|
|
707
|
+
schemaVersion: string;
|
|
707
708
|
includes: {
|
|
708
709
|
procedural: boolean;
|
|
709
710
|
taxonomy: boolean;
|
|
710
711
|
identityAnchors: boolean;
|
|
711
712
|
peerProfiles: boolean;
|
|
712
713
|
};
|
|
713
|
-
description: string;
|
|
714
714
|
id: string;
|
|
715
|
-
schemaVersion: string;
|
|
716
715
|
version: string;
|
|
716
|
+
description: string;
|
|
717
717
|
parentCapsule: string | null;
|
|
718
718
|
retrievalPolicy: {
|
|
719
719
|
tierWeights: Record<string, number>;
|
|
@@ -726,25 +726,27 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
726
726
|
} | null | undefined;
|
|
727
727
|
}>;
|
|
728
728
|
}, "strip", z.ZodTypeAny, {
|
|
729
|
-
|
|
729
|
+
schemaVersion: 2;
|
|
730
730
|
createdAt: string;
|
|
731
|
-
pluginVersion: string;
|
|
732
731
|
files: {
|
|
733
732
|
path: string;
|
|
734
733
|
sha256: string;
|
|
735
734
|
bytes: number;
|
|
736
735
|
}[];
|
|
736
|
+
format: "openclaw-engram-export";
|
|
737
|
+
pluginVersion: string;
|
|
738
|
+
includesTranscripts: boolean;
|
|
737
739
|
capsule: {
|
|
740
|
+
schemaVersion: string;
|
|
738
741
|
includes: {
|
|
739
742
|
procedural: boolean;
|
|
740
743
|
taxonomy: boolean;
|
|
741
744
|
identityAnchors: boolean;
|
|
742
745
|
peerProfiles: boolean;
|
|
743
746
|
};
|
|
744
|
-
description: string;
|
|
745
747
|
id: string;
|
|
746
|
-
schemaVersion: string;
|
|
747
748
|
version: string;
|
|
749
|
+
description: string;
|
|
748
750
|
parentCapsule: string | null;
|
|
749
751
|
parent: {
|
|
750
752
|
version: string;
|
|
@@ -756,28 +758,28 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
756
758
|
directAnswerEnabled: boolean;
|
|
757
759
|
};
|
|
758
760
|
};
|
|
759
|
-
schemaVersion: 2;
|
|
760
|
-
includesTranscripts: boolean;
|
|
761
761
|
}, {
|
|
762
|
-
|
|
762
|
+
schemaVersion: 2;
|
|
763
763
|
createdAt: string;
|
|
764
|
-
pluginVersion: string;
|
|
765
764
|
files: {
|
|
766
765
|
path: string;
|
|
767
766
|
sha256: string;
|
|
768
767
|
bytes: number;
|
|
769
768
|
}[];
|
|
769
|
+
format: "openclaw-engram-export";
|
|
770
|
+
pluginVersion: string;
|
|
771
|
+
includesTranscripts: boolean;
|
|
770
772
|
capsule: {
|
|
773
|
+
schemaVersion: string;
|
|
771
774
|
includes: {
|
|
772
775
|
procedural: boolean;
|
|
773
776
|
taxonomy: boolean;
|
|
774
777
|
identityAnchors: boolean;
|
|
775
778
|
peerProfiles: boolean;
|
|
776
779
|
};
|
|
777
|
-
description: string;
|
|
778
780
|
id: string;
|
|
779
|
-
schemaVersion: string;
|
|
780
781
|
version: string;
|
|
782
|
+
description: string;
|
|
781
783
|
parentCapsule: string | null;
|
|
782
784
|
retrievalPolicy: {
|
|
783
785
|
tierWeights: Record<string, number>;
|
|
@@ -789,8 +791,6 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
789
791
|
forkRoot: string;
|
|
790
792
|
} | null | undefined;
|
|
791
793
|
};
|
|
792
|
-
schemaVersion: 2;
|
|
793
|
-
includesTranscripts: boolean;
|
|
794
794
|
}>;
|
|
795
795
|
records: z.ZodArray<z.ZodObject<{
|
|
796
796
|
path: z.ZodString;
|
|
@@ -804,25 +804,27 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
804
804
|
}>, "many">;
|
|
805
805
|
}, "strip", z.ZodTypeAny, {
|
|
806
806
|
manifest: {
|
|
807
|
-
|
|
807
|
+
schemaVersion: 2;
|
|
808
808
|
createdAt: string;
|
|
809
|
-
pluginVersion: string;
|
|
810
809
|
files: {
|
|
811
810
|
path: string;
|
|
812
811
|
sha256: string;
|
|
813
812
|
bytes: number;
|
|
814
813
|
}[];
|
|
814
|
+
format: "openclaw-engram-export";
|
|
815
|
+
pluginVersion: string;
|
|
816
|
+
includesTranscripts: boolean;
|
|
815
817
|
capsule: {
|
|
818
|
+
schemaVersion: string;
|
|
816
819
|
includes: {
|
|
817
820
|
procedural: boolean;
|
|
818
821
|
taxonomy: boolean;
|
|
819
822
|
identityAnchors: boolean;
|
|
820
823
|
peerProfiles: boolean;
|
|
821
824
|
};
|
|
822
|
-
description: string;
|
|
823
825
|
id: string;
|
|
824
|
-
schemaVersion: string;
|
|
825
826
|
version: string;
|
|
827
|
+
description: string;
|
|
826
828
|
parentCapsule: string | null;
|
|
827
829
|
parent: {
|
|
828
830
|
version: string;
|
|
@@ -834,8 +836,6 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
834
836
|
directAnswerEnabled: boolean;
|
|
835
837
|
};
|
|
836
838
|
};
|
|
837
|
-
schemaVersion: 2;
|
|
838
|
-
includesTranscripts: boolean;
|
|
839
839
|
};
|
|
840
840
|
records: {
|
|
841
841
|
content: string;
|
|
@@ -843,25 +843,27 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
843
843
|
}[];
|
|
844
844
|
}, {
|
|
845
845
|
manifest: {
|
|
846
|
-
|
|
846
|
+
schemaVersion: 2;
|
|
847
847
|
createdAt: string;
|
|
848
|
-
pluginVersion: string;
|
|
849
848
|
files: {
|
|
850
849
|
path: string;
|
|
851
850
|
sha256: string;
|
|
852
851
|
bytes: number;
|
|
853
852
|
}[];
|
|
853
|
+
format: "openclaw-engram-export";
|
|
854
|
+
pluginVersion: string;
|
|
855
|
+
includesTranscripts: boolean;
|
|
854
856
|
capsule: {
|
|
857
|
+
schemaVersion: string;
|
|
855
858
|
includes: {
|
|
856
859
|
procedural: boolean;
|
|
857
860
|
taxonomy: boolean;
|
|
858
861
|
identityAnchors: boolean;
|
|
859
862
|
peerProfiles: boolean;
|
|
860
863
|
};
|
|
861
|
-
description: string;
|
|
862
864
|
id: string;
|
|
863
|
-
schemaVersion: string;
|
|
864
865
|
version: string;
|
|
866
|
+
description: string;
|
|
865
867
|
parentCapsule: string | null;
|
|
866
868
|
retrievalPolicy: {
|
|
867
869
|
tierWeights: Record<string, number>;
|
|
@@ -873,8 +875,6 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
873
875
|
forkRoot: string;
|
|
874
876
|
} | null | undefined;
|
|
875
877
|
};
|
|
876
|
-
schemaVersion: 2;
|
|
877
|
-
includesTranscripts: boolean;
|
|
878
878
|
};
|
|
879
879
|
records: {
|
|
880
880
|
content: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FaithfulnessFrontmatter,
|
|
1
|
+
import { F as FaithfulnessFrontmatter, N as ProvenanceSource, O as TrustWeights, Q as QmdSearchResult } from './types-BA7W-_xy.js';
|
|
2
2
|
import { TrustScoreResult, TrustSignals, TrustBand, TrustScoreComponent } from './trust-score.js';
|
|
3
3
|
import './message-parts/index.js';
|
|
4
4
|
import './bounded-jsonl-state.js';
|
package/dist/trust-score.d.ts
CHANGED
|
@@ -1122,6 +1122,56 @@ declare function renderExtractionLivenessStats(orchestrator: ExtractionLivenessO
|
|
|
1122
1122
|
};
|
|
1123
1123
|
}, nowMs?: number): Promise<string[]>;
|
|
1124
1124
|
|
|
1125
|
+
/**
|
|
1126
|
+
* `replicaPeers` config surface (issue #2149) — types + parser.
|
|
1127
|
+
*
|
|
1128
|
+
* Deliberately split out of replica-divergence.ts as a LIGHT module: it imports
|
|
1129
|
+
* no heavy modules (no corpus-watermark, no access-token-capabilities). PluginConfig
|
|
1130
|
+
* carries `replicaPeers: ReplicaPeersConfig`, so types.ts imports ReplicaPeersConfig
|
|
1131
|
+
* from HERE. If that type instead lived in replica-divergence.ts (which pulls in the
|
|
1132
|
+
* corpus census graph), then types.ts -> replica-divergence.ts -> corpus-watermark.ts
|
|
1133
|
+
* -> types.ts would form a heavy import cycle that rollup-plugin-dts re-expands across
|
|
1134
|
+
* every PluginConfig-inlining entry, OOMing the default-heap DTS worker (the issue
|
|
1135
|
+
* #1562 heap cliff). Keeping the config surface corpus-free severs that cycle.
|
|
1136
|
+
*/
|
|
1137
|
+
|
|
1138
|
+
interface ReplicaPeerConfig {
|
|
1139
|
+
/** Base URL of the peer's agent-access HTTP server (http/https). */
|
|
1140
|
+
url: string;
|
|
1141
|
+
/**
|
|
1142
|
+
* Bearer token for the peer's authenticated `/health`. A literal string
|
|
1143
|
+
* (env-expanded) or an unresolved SecretRef preserved verbatim and resolved
|
|
1144
|
+
* at poll time — mirrors `agentAccessHttp.authToken` exactly.
|
|
1145
|
+
*/
|
|
1146
|
+
token?: AgentAccessAuthToken;
|
|
1147
|
+
}
|
|
1148
|
+
interface ReplicaPeersConfig {
|
|
1149
|
+
/** Master gate. Default false — a daemon with no peers behaves exactly as before. */
|
|
1150
|
+
enabled: boolean;
|
|
1151
|
+
/** Peers to poll. Default []. */
|
|
1152
|
+
peers: ReplicaPeerConfig[];
|
|
1153
|
+
/** How often a peer is re-polled (SWR TTL), ms. Default 5 min. */
|
|
1154
|
+
pollIntervalMs: number;
|
|
1155
|
+
/** Per-peer request timeout, ms. Default 10s. */
|
|
1156
|
+
requestTimeoutMs: number;
|
|
1157
|
+
/** File-count delta (per namespace) beyond which a peer is flagged diverged. Default 100. */
|
|
1158
|
+
maxFileCountDelta: number;
|
|
1159
|
+
/** Newest-write timestamp gap (per namespace) beyond which a peer is flagged diverged, ms. Default 15 min. */
|
|
1160
|
+
maxWatermarkAgeDeltaMs: number;
|
|
1161
|
+
}
|
|
1162
|
+
declare function parseReplicaPeersConfig(cfg: Record<string, unknown>): ReplicaPeersConfig;
|
|
1163
|
+
/**
|
|
1164
|
+
* READ-boundary resolver (mirrors `resolveExtractionLivenessConfig`, issue #2155).
|
|
1165
|
+
* `parseConfig` always populates `replicaPeers`, but a host adapter, an older
|
|
1166
|
+
* persisted config, or a hand-built `PluginConfig` can hand a READ surface
|
|
1167
|
+
* (/health, doctor) an absent, partial, or loosely-typed block. Every replica
|
|
1168
|
+
* surface must degrade to the documented default (disabled, no peers, no polling)
|
|
1169
|
+
* rather than throw — `/health` must stay answerable. Unlike the strict parser, a
|
|
1170
|
+
* present-but-invalid field falls back to its default here instead of throwing, and
|
|
1171
|
+
* a malformed peer entry is dropped rather than aborting the whole block.
|
|
1172
|
+
*/
|
|
1173
|
+
declare function resolveReplicaPeersConfig(block: unknown): ReplicaPeersConfig;
|
|
1174
|
+
|
|
1125
1175
|
/**
|
|
1126
1176
|
* dreams-ledger.ts — per-phase telemetry for the Dreams consolidation pipeline.
|
|
1127
1177
|
*
|
|
@@ -2270,9 +2320,8 @@ interface PluginConfig extends BoundedJsonlStateConfig {
|
|
|
2270
2320
|
dreamsPhases: DreamsPhasesConfig;
|
|
2271
2321
|
procedural: ProceduralConfig;
|
|
2272
2322
|
extractionLiveness: ExtractionLivenessConfig;
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
*/
|
|
2323
|
+
replicaPeers: ReplicaPeersConfig;
|
|
2324
|
+
/** Claim-level provenance spans (#1575); see `ProvenanceConfig` for defaults. */
|
|
2276
2325
|
provenance: ProvenanceConfig;
|
|
2277
2326
|
/**
|
|
2278
2327
|
* Wearable transcript ingestion (Limitless / Bee / Omi connectors).
|
|
@@ -4626,4 +4675,4 @@ interface HourlySummary {
|
|
|
4626
4675
|
generatedAt: string;
|
|
4627
4676
|
}
|
|
4628
4677
|
|
|
4629
|
-
export { type
|
|
4678
|
+
export { type ImportanceLevel as $, type AgentPersonaModelConfig as A, type BriefingSections as B, type CalendarSource as C, type DreamsPhase as D, type EntityFile as E, type FaithfulnessFrontmatter as F, type GatewayConfig as G, type HourlySummary as H, type IdentityInjectionMode as I, type ConsolidationResult as J, type DaySummaryResult as K, type LiveConnectorsConfig as L, type MemoryFile as M, type ProvenanceSource as N, type TrustWeights as O, type PluginConfig as P, type QmdSearchResult as Q, type RecallPlanMode as R, type SessionObserverBandConfig as S, type TranscriptEntry as T, type ConversationThread as U, type LifecycleState as V, type VerificationState as W, type PolicyClass as X, type ReplicaPeersConfig as Y, type ReplicaPeerConfig as Z, type ExtractionFailureClass as _, type DreamsRunResult as a, type WearableDayTranscript as a$, type ActiveRecallChatType as a0, type ActiveRecallQueryMode as a1, type ActiveRecallPromptStyle as a2, type ActiveRecallThinking as a3, type ActiveRecallModelFallbackPolicy as a4, type BehaviorSignalEvent as a5, type BufferSurpriseEvent as a6, type ImportTurn as a7, type BulkImportOptions as a8, type BulkImportSource as a9, type ActivitySnapshot as aA, type ActivityConfig as aB, type ActivitySourceConfig as aC, type ActivitySourceClient as aD, type FusedWearableConversation as aE, type FusedDayMeta as aF, type FusedDayFile as aG, type MeetingRecord as aH, type MeetingDetectionSource as aI, type FusedMeeting as aJ, type EntityTimelineEntry as aK, type MemoryLink as aL, type BufferState as aM, type MetaState as aN, type FileHygieneConfig as aO, type EntityRelationship as aP, type EntityActivityEntry as aQ, type AccessTrackingEntry as aR, type MemorySummary as aS, type WearableConversation as aT, type WearableSourceSettings as aU, type WearableNativeMemory as aV, type WearableMemoryMode as aW, type WearableSourceConnector as aX, type WearablesConfig as aY, type WearableSyncSummary as aZ, type WearableSourceStatus as a_, type BulkImportResult as aa, type CompressionGuidelineOptimizerEventCounts as ab, type CompressionGuidelineOptimizerActionSummary as ac, type CompressionGuidelineOptimizerRuleUpdate as ad, type MemoryActionType as ae, type MemoryActionEvent as af, type CompressionGuidelineOptimizerState as ag, type EntityMention as ah, type EntitySchemaDefinition as ai, type EntitySchemaSectionDefinition as aj, type EntityStructuredSection as ak, type ImportanceScore as al, type MemoryIntent as am, type MemoryActionEligibilityContext as an, type MemoryActionPolicyResult as ao, type MemoryLifecycleEventType as ap, type MemoryLifecycleStateSummary as aq, type ModelProviderConfig as ar, type NativeKnowledgeConfig as as, type ExtractionBufferSource as at, summarizeExtractionLiveness as au, type ProvenanceConfig as av, type RetrievalTier as aw, type SignalScanResult as ax, type TopicScore as ay, type QmdSearchExplain as az, type RecallDisclosure as b, ExtractionLivenessWarnThrottle as b$, type WearableCorrectionRule as b0, type MeetingBuildInput as b1, type MeetingsConfig as b2, type MeetingsDetectionInput as b3, type FusionConversationInput as b4, type MeetingActivitySnapshot as b5, type DetectedMeeting as b6, type CodingContext as b7, type DreamsStatusResult as b8, type RecallSectionConfig as b9, type CodexCompatConfig as bA, DEFAULT_RECALL_DISCLOSURE as bB, type DisagreementKind as bC, type ExtractedFact as bD, type FusedContribution as bE, type FusedConversationProvenance as bF, type FusedSegmentProvenance as bG, type FusionSegmentInput as bH, type ImportSourceRole as bI, type ImportTurnValidationIssue as bJ, type MeetingScreenContextEvent as bK, type MeetingSummaryMode as bL, type MemoryActionEligibilitySource as bM, type MemoryObservation as bN, type MemoryScope as bO, RECALL_DISCLOSURE_LEVELS as bP, type SegmentPickReason as bQ, type WearableAuthCheck as bR, type WearableFetchOptions as bS, type WearableFetchPage as bT, type WearableNativeMemoryPage as bU, type WearableTranscriptSegment as bV, isImportRole as bW, isRecallDisclosure as bX, parseIsoTimestamp as bY, validateImportTurn as bZ, type ExtractionLivenessConfig as b_, type BootstrapOptions as ba, type BootstrapResult as bb, type ConsolidationObservation as bc, type CodingModeConfig as bd, type FusedSpeaker as be, type FusedSegment as bf, type FusedDisagreement as bg, type FusionOptions as bh, type FusionDayResult as bi, type CodingKnowledgeConfig as bj, type WearableCleanupSettings as bk, type WearableFusionConfig as bl, type WearableDayTranscriptMeta as bm, type ActivityDayMeta as bn, type ActivityDayDigest as bo, type ActivitySourceCheck as bp, type ActivitySnapshotPage as bq, type MeetingsDetectionConfig as br, type MeetingAudioWindow as bs, type MeetingAppSpan as bt, type ActivityExtractionMode as bu, type BriefingConfig as bv, type BriefingOpenCommitment as bw, type BriefingWindow as bx, type BulkImportError as by, type BulkImportSourceAdapter as bz, type RecallTierExplain as c, type NativeKnowledgeOpenClawWorkspaceConfig as c$, computeExtractionLivenessStatus as c0, evaluateExtractionLiveness as c1, formatAgeMs as c2, gatherExtractionLivenessStatus as c3, parseExtractionLivenessConfig as c4, renderExtractionLivenessStats as c5, resolveExtractionLivenessConfig as c6, parseReplicaPeersConfig as c7, resolveReplicaPeersConfig as c8, type AgentAccessHttpConfig as c9, type DreamsPhasesConfig as cA, type DreamsRemConfig as cB, type EngramTraceEvent as cC, type ExtractedProcedureStep as cD, type ExtractedQuestion as cE, type ExtractedReasoningTrace as cF, type ExtractedReasoningTraceStep as cG, type ExtractedRelationship as cH, type ExtractionPassSource as cI, type GitHubLiveConnectorConfig as cJ, type GmailLiveConnectorConfig as cK, type GoogleDriveLiveConnectorConfig as cL, type HeartbeatConfig as cM, type HeartbeatDetectionMode as cN, type LlmTraceCallback as cO, type LlmTraceEvent as cP, type MemoryActionOutcome as cQ, type MemoryActionPolicyDecision as cR, type MemoryActionStatus as cS, type MemoryLinkType as cT, type MemoryOsPresetName as cU, type ModelApi as cV, type ModelDefinitionConfig as cW, type ModelProviderAuthMode as cX, type NamespacePolicy as cY, type NativeKnowledgeFolderRuleConfig as cZ, type NativeKnowledgeObsidianVaultConfig as c_, type AgentDefaultsConfig as ca, type AgentPersona as cb, type BehaviorLoopAdjustment as cc, type BehaviorSignalDirection as cd, type BehaviorSignalType as ce, type BriefingCalendarSourceError as cf, type BufferEntryState as cg, type CaptureMode as ch, type ChatConfig as ci, type CodexCliReasoningEffort as cj, type CodexCompactionFlushMode as ck, type CodexConnectorConfig as cl, type CodingGraphLspConfig as cm, type CompressionGuidelineActivationState as cn, type CompressionGuidelineOptimizerSourceWindow as co, type ConfidenceTier as cp, type ConsolidationAction as cq, type ConsolidationItem as cr, type ContradictionScanConfig as cs, type CronConversationRecallMode as ct, type CronRecallMode as cu, type DreamingConfig as cv, type DreamingNarrativePromptStyle as cw, type DreamsDeepSleepConfig as cx, type DreamsLightSleepConfig as cy, type DreamsPhaseStatus as cz, type BriefingFollowup as d, type NotionLiveConnectorConfig as d0, type PrincipalFromSessionKeyMode as d1, type PrincipalRule as d2, type ProceduralConfig as d3, type QuestionEntry as d4, type ReasoningEffort as d5, type RecallPipelineConfig as d6, type RecallTraceEvent as d7, type RelevanceFeedback as d8, SPECULATIVE_TTL_DAYS as d9, type ScopeProfileAutoPromoteConfig as da, type ScopeProfileTeamProjectConfig as db, type ScopeTeamConfig as dc, type ScoredEntity as dd, type SemanticChunkingConfigShape as de, type SignalLevel as df, type SlotBehaviorConfig as dg, type SlotMismatchMode as dh, type TriggerMode as di, confidenceTier as dj, type BriefingFocus as e, type CalendarEvent as f, type BriefingActiveThread as g, type BriefingResult as h, type BriefingRecentEntity as i, type BufferTurn as j, type ExtractionBufferSnapshot as k, type MemoryFrontmatter as l, type Checkpoint as m, type SourceConnectorProvenance as n, type ScopeProfileConfig as o, type ScopeProfileLayerId as p, type ScopeProfilePromotionTarget as q, type BehaviorLoopPolicyState as r, type SecretRef as s, type AgentAccessAuthToken as t, type ExtractionLivenessStatus as u, type MemoryCategory as v, type MemoryStatus as w, type MemoryProjectionCurrentState as x, type MemoryLifecycleEvent as y, type ExtractionResult as z };
|