@remnic/core 9.39.0 → 9.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access-admin-ops-surface.d.ts +10 -10
- package/dist/access-admin-ops-surface.js +13 -12
- package/dist/access-authorization-probe.d.ts +10 -10
- package/dist/access-authorization-probe.js +14 -13
- package/dist/access-boundary.d.ts +10 -10
- package/dist/access-boundary.js +13 -12
- package/dist/access-cli.js +35 -34
- package/dist/access-cli.js.map +1 -1
- package/dist/access-extraction-force-flush.d.ts +10 -10
- package/dist/access-extraction-force-flush.js +13 -12
- package/dist/access-health-types.d.ts +1 -1
- package/dist/access-http-lcm-compaction.d.ts +10 -10
- package/dist/access-http-lifecycle-flush.d.ts +10 -10
- package/dist/access-http.d.ts +10 -10
- package/dist/access-http.js +18 -17
- package/dist/access-identity-continuity-surface.d.ts +8 -8
- package/dist/access-identity-continuity-surface.js +13 -12
- package/dist/access-lcm-surface.d.ts +10 -10
- package/dist/access-lcm-surface.js +13 -12
- package/dist/access-mcp.d.ts +10 -10
- package/dist/access-mcp.js +16 -15
- package/dist/access-memory-search-fanout.d.ts +2 -2
- package/dist/{access-namespace-preflight-CWyL4Zai.d.ts → access-namespace-preflight-47dOyty9.d.ts} +1 -1
- package/dist/access-namespace-preflight.d.ts +3 -3
- package/dist/access-namespace-preflight.js +13 -12
- package/dist/access-observe-write-surface.d.ts +10 -10
- package/dist/access-observe-write-surface.js +13 -12
- package/dist/access-operations-batch.js +14 -13
- package/dist/access-operations.d.ts +13 -13
- package/dist/access-operations.js +15 -14
- package/dist/access-recall-concurrency.d.ts +10 -10
- package/dist/access-recall-concurrency.js +13 -12
- package/dist/access-recall-response.d.ts +10 -10
- package/dist/access-recall-response.js +13 -12
- package/dist/access-recall-surface.d.ts +10 -10
- package/dist/access-recall-surface.js +13 -12
- package/dist/access-schema.d.ts +84 -84
- package/dist/{access-service-C6QuKBCG.d.ts → access-service-D1BkxwSf.d.ts} +7 -7
- package/dist/access-service-helpers.d.ts +10 -10
- package/dist/access-service.d.ts +10 -10
- package/dist/access-service.js +13 -12
- package/dist/access-surface-catalog.d.ts +10 -10
- package/dist/access-wearables-meetings-surface.d.ts +3 -3
- package/dist/action-confidence.d.ts +1 -1
- package/dist/active-memory-bridge.d.ts +1 -1
- package/dist/active-recall.d.ts +1 -1
- package/dist/active-recall.js +2 -2
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +8 -8
- package/dist/briefing.d.ts +2 -2
- package/dist/briefing.js +3 -3
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer-turn-helpers.d.ts +1 -1
- package/dist/buffer.d.ts +2 -2
- package/dist/bulk-import/index.d.ts +3 -3
- package/dist/calibration.d.ts +1 -1
- package/dist/capabilities.d.ts +1 -1
- package/dist/{catalog-Du4bpZWM.d.ts → catalog-DPQynQZG.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 +4 -4
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/{chunk-AVGTOOYP.js → chunk-3C2TGBDB.js} +2 -2
- package/dist/{chunk-443XCR34.js → chunk-3SG4FGDV.js} +53 -41
- package/dist/chunk-3SG4FGDV.js.map +1 -0
- package/dist/{chunk-MHCRASVK.js → chunk-5N26WBPQ.js} +2 -2
- package/dist/{chunk-CMFUYOYB.js → chunk-5TOV3D6U.js} +2 -2
- package/dist/{chunk-SHTPVI47.js → chunk-6GIMMNVK.js} +3 -3
- package/dist/{chunk-5JUYBWJD.js → chunk-6I2C3EOH.js} +18 -18
- package/dist/chunk-7VIB7PAE.js +142 -0
- package/dist/chunk-7VIB7PAE.js.map +1 -0
- package/dist/{chunk-CNZLKQEL.js → chunk-AXUU7SG3.js} +2 -2
- package/dist/{chunk-7ERHAARG.js → chunk-BI6RE2ZS.js} +2 -2
- package/dist/{chunk-GYGXKATH.js → chunk-CQ5MR2HQ.js} +16 -12
- package/dist/chunk-CQ5MR2HQ.js.map +1 -0
- package/dist/{chunk-CYM2PHLB.js → chunk-CWPDM66T.js} +8 -7
- package/dist/chunk-CWPDM66T.js.map +1 -0
- package/dist/{chunk-UGAZILZG.js → chunk-F2KMAFEB.js} +2 -2
- package/dist/{chunk-G57BGHQ2.js → chunk-FHEJ22B7.js} +11 -5
- package/dist/chunk-FHEJ22B7.js.map +1 -0
- package/dist/{chunk-DMT2RGAZ.js → chunk-FXGLFGIG.js} +3 -3
- package/dist/{chunk-6BNE62PM.js → chunk-GDC4INBF.js} +2 -2
- package/dist/{chunk-HXDWZFNP.js → chunk-GSL47NPM.js} +1 -1
- package/dist/chunk-GSL47NPM.js.map +1 -0
- package/dist/{chunk-DJH35IVS.js → chunk-JDXDA5OO.js} +2 -2
- package/dist/{chunk-ZBDORYWM.js → chunk-KPJQTSRJ.js} +2 -2
- package/dist/{chunk-CPD6C6K6.js → chunk-KXGN6G2Y.js} +3 -3
- package/dist/chunk-KXGN6G2Y.js.map +1 -0
- package/dist/{chunk-F5EVTFQK.js → chunk-MSXWUXFE.js} +2 -2
- package/dist/{chunk-XSPD6KQL.js → chunk-MVW234LO.js} +2 -2
- package/dist/{chunk-5TRIAPT4.js → chunk-NHRNYJPJ.js} +4 -4
- package/dist/{chunk-VGK33D3K.js → chunk-OEXKYYVH.js} +2 -2
- package/dist/{chunk-VK33JSBR.js → chunk-OYFDEJZB.js} +23 -6
- package/dist/chunk-OYFDEJZB.js.map +1 -0
- package/dist/{chunk-JKTHT4KX.js → chunk-PWKZV4A3.js} +3 -3
- package/dist/{chunk-BVJIAIB3.js → chunk-Q4XL7LJW.js} +32 -11
- package/dist/chunk-Q4XL7LJW.js.map +1 -0
- package/dist/{chunk-AL73FWSS.js → chunk-QY66HJ4X.js} +2 -2
- package/dist/{chunk-KWU6MAD4.js → chunk-R4Q7CQGZ.js} +2 -2
- package/dist/{chunk-IB26HVAJ.js → chunk-TM72UOX2.js} +3 -3
- package/dist/chunk-TM72UOX2.js.map +1 -0
- package/dist/{chunk-MYXWPG5O.js → chunk-TXBU7YDV.js} +2 -2
- package/dist/{chunk-KJP2R5MJ.js → chunk-UGCUVLOL.js} +25 -21
- package/dist/chunk-UGCUVLOL.js.map +1 -0
- package/dist/{chunk-7OCTH7AJ.js → chunk-UQVGDEAJ.js} +2 -2
- package/dist/{chunk-VQTRSX4R.js → chunk-WGCTFGLW.js} +2 -2
- package/dist/{chunk-4CSTEPFA.js → chunk-XRWVXPEM.js} +2 -2
- package/dist/{chunk-ENLZOWYK.js → chunk-ZERSIPFC.js} +2 -2
- package/dist/{cli-ClXRCu08.d.ts → cli-IUhV-lmk.d.ts} +5 -5
- package/dist/cli.d.ts +12 -12
- package/dist/cli.js +30 -29
- package/dist/compounding/engine.d.ts +2 -2
- package/dist/compounding/engine.js +3 -3
- package/dist/compounding/preference-consolidator.d.ts +1 -1
- package/dist/compression-optimizer.d.ts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +2 -2
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +3 -3
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +3 -3
- package/dist/consolidation-provenance-check.d.ts +2 -2
- package/dist/consolidation-undo.d.ts +2 -2
- package/dist/contradiction/index.d.ts +2 -2
- package/dist/conversation-index/backend.d.ts +1 -1
- package/dist/conversation-index/chunker.d.ts +1 -1
- package/dist/conversation-index/faiss-adapter.d.ts +1 -1
- package/dist/conversation-index/indexer.d.ts +1 -1
- package/dist/conversation-index/search.d.ts +1 -1
- package/dist/corpus-watermark.d.ts +7 -1
- package/dist/corpus-watermark.js +5 -5
- package/dist/day-summary.d.ts +1 -1
- package/dist/delinearize.d.ts +1 -1
- package/dist/direct-answer-wiring.d.ts +1 -1
- package/dist/direct-answer.d.ts +1 -1
- package/dist/embedding-fallback.d.ts +1 -1
- package/dist/enrichment/index.d.ts +1 -1
- package/dist/entity-retrieval.d.ts +2 -2
- package/dist/entity-retrieval.js +3 -3
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +8 -8
- package/dist/extraction-error-classification.d.ts +1 -1
- package/dist/extraction-faithfulness.d.ts +1 -1
- package/dist/extraction-judge-telemetry.d.ts +1 -1
- package/dist/extraction-judge-training.d.ts +1 -1
- package/dist/extraction-judge.d.ts +1 -1
- package/dist/extraction-liveness.d.ts +1 -1
- package/dist/extraction-liveness.js +3 -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 +3 -3
- package/dist/fallback-llm.d.ts +1 -1
- package/dist/graph-dashboard-diff.d.ts +1 -1
- package/dist/graph-dashboard-key.d.ts +1 -1
- package/dist/graph-dashboard-parser.d.ts +1 -1
- package/dist/graph-edge-reinforcement.d.ts +1 -1
- package/dist/graph-snapshot.d.ts +1 -1
- package/dist/graph.d.ts +1 -1
- package/dist/importance.d.ts +1 -1
- package/dist/importers/index.d.ts +1 -1
- package/dist/in-flight-reads.d.ts +1 -1
- package/dist/index.d.ts +407 -407
- package/dist/index.js +35 -34
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/tools.d.ts +1 -1
- package/dist/lifecycle.d.ts +1 -1
- package/dist/live-connectors-runner.d.ts +1 -1
- package/dist/local-llm.d.ts +1 -1
- package/dist/local-model-endpoint.d.ts +1 -1
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/maintenance/memory-governance.js +3 -3
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +3 -3
- package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-projection.js +4 -4
- package/dist/{maintenance-Dsvprbod.d.ts → maintenance-DVBLXkFw.d.ts} +3 -3
- package/dist/mcp-memory-inspector-app.d.ts +10 -10
- package/dist/memory-action-policy.d.ts +1 -1
- package/dist/memory-cache.d.ts +1 -1
- package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
- package/dist/memory-projection-store.d.ts +1 -1
- package/dist/memory-provenance.d.ts +1 -1
- package/dist/memory-worth-outcomes.d.ts +2 -2
- package/dist/models-json.d.ts +1 -1
- package/dist/namespaces/migrate.d.ts +4 -3
- package/dist/namespaces/migrate.js +4 -4
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/storage.d.ts +3 -3
- package/dist/namespaces/storage.js +3 -3
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/offline-sync-impression-drain.d.ts +1 -1
- package/dist/operator-doctor-corpus.d.ts +1 -1
- package/dist/operator-doctor-corpus.js +6 -6
- package/dist/operator-doctor-replica.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +5 -4
- package/dist/operator-toolkit.js +12 -11
- package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
- package/dist/orchestration/maintenance.d.ts +4 -4
- package/dist/orchestration/maintenance.js +8 -8
- package/dist/{orchestrator-CEhod0MJ.d.ts → orchestrator-fYTncnLy.d.ts} +7 -7
- package/dist/orchestrator.d.ts +8 -8
- package/dist/orchestrator.js +35 -34
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/{pipeline-DSLWFeHz.d.ts → pipeline-Cs76XC-p.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-BSDGyr0H.d.ts → qmd-WJwvBgiF.d.ts} +1 -1
- package/dist/qmd-preflight.d.ts +2 -2
- package/dist/qmd-recall-cache.d.ts +1 -1
- package/dist/qmd.d.ts +2 -2
- package/dist/recall-concurrency-config.d.ts +1 -1
- package/dist/recall-disclosure-escalation.d.ts +1 -1
- package/dist/recall-explain-renderer.d.ts +1 -1
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-memory-map.d.ts +1 -1
- package/dist/recall-planner-llm.d.ts +1 -1
- package/dist/recall-state.d.ts +1 -1
- package/dist/recall-tag-filter.d.ts +1 -1
- package/dist/recall-timings.d.ts +1 -1
- package/dist/recall-xray-cli.d.ts +1 -1
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.d.ts +1 -1
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.d.ts +1 -1
- package/dist/recall-xray.js +2 -2
- package/dist/replay/normalizers/chatgpt.d.ts +1 -1
- package/dist/replay/normalizers/claude.d.ts +1 -1
- package/dist/replay/normalizers/openclaw.d.ts +1 -1
- package/dist/replay/normalizers/shared.d.ts +1 -1
- package/dist/replay/runner.d.ts +1 -1
- package/dist/replay/types.d.ts +1 -1
- package/dist/replica-divergence.d.ts +1 -1
- package/dist/replica-peers-config.d.ts +1 -1
- package/dist/resolve-auth-token.d.ts +1 -1
- package/dist/resume-bundles.js +3 -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-C4zY-a2K.d.ts → scope-profiles-CQ0NAleS.d.ts} +1 -1
- package/dist/search/embed-helper.d.ts +1 -1
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/index.d.ts +1 -1
- package/dist/search/lancedb-backend.d.ts +1 -1
- package/dist/search/meilisearch-backend.d.ts +1 -1
- package/dist/search/noop-backend.d.ts +1 -1
- package/dist/search/orama-backend.d.ts +1 -1
- package/dist/search/port.d.ts +1 -1
- package/dist/search/remote-backend.d.ts +1 -1
- package/dist/{semantic-consolidation-ChKRYpRO.d.ts → semantic-consolidation-BWxOBMtz.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +4 -4
- package/dist/semantic-rule-promotion.js +3 -3
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +3 -3
- package/dist/{service-BlOfGid8.d.ts → service-CLuMO-pa.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/source-agent-qualifier.d.ts +1 -1
- package/dist/source-agent-qualifier.js +3 -3
- package/dist/{storage-CNKZocJF.d.ts → storage-Blr71GpS.d.ts} +1 -1
- package/dist/storage.d.ts +2 -2
- package/dist/storage.js +2 -2
- package/dist/summarizer.d.ts +1 -1
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/temporal-supersession.d.ts +2 -2
- package/dist/temporal-timeline-recall.d.ts +1 -1
- package/dist/temporal-validity.d.ts +1 -1
- package/dist/threading.d.ts +1 -1
- package/dist/tier-migration.d.ts +2 -2
- package/dist/tier-routing.d.ts +1 -1
- package/dist/topics.d.ts +1 -1
- package/dist/transcript.d.ts +1 -1
- package/dist/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-5398p7Zm.d.ts → types-CqWwMPr_.d.ts} +42 -66
- package/dist/types.d.ts +1 -1
- package/dist/types.js +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.js +3 -3
- package/dist/write-envelope.d.ts +1 -1
- package/package.json +2 -2
- package/src/access-http.test.ts +62 -2
- package/src/access-http.ts +2 -1
- package/src/access-service-health.test.ts +39 -17
- package/src/access-service.ts +25 -3
- package/src/access-surface-catalog.test.ts +1 -0
- package/src/cli.ts +3 -3
- package/src/config.test.ts +4 -0
- package/src/config.ts +1 -5
- package/src/corpus-watermark.test.ts +16 -0
- package/src/corpus-watermark.ts +28 -5
- package/src/extraction-liveness.test.ts +81 -19
- package/src/extraction-liveness.ts +96 -98
- package/src/extraction-watermark.test.ts +290 -0
- package/src/namespaces/migrate.ts +10 -2
- package/src/operator-doctor-corpus.test.ts +7 -0
- package/src/operator-doctor-corpus.ts +1 -1
- package/src/operator-toolkit.ts +8 -8
- package/src/orchestration/extraction-watermark.ts +188 -0
- package/src/types.ts +1 -7
- package/dist/chunk-443XCR34.js.map +0 -1
- package/dist/chunk-BVJIAIB3.js.map +0 -1
- package/dist/chunk-CPD6C6K6.js.map +0 -1
- package/dist/chunk-CYM2PHLB.js.map +0 -1
- package/dist/chunk-G57BGHQ2.js.map +0 -1
- package/dist/chunk-GYGXKATH.js.map +0 -1
- package/dist/chunk-HXDWZFNP.js.map +0 -1
- package/dist/chunk-IB26HVAJ.js.map +0 -1
- package/dist/chunk-KJP2R5MJ.js.map +0 -1
- package/dist/chunk-VK33JSBR.js.map +0 -1
- /package/dist/{chunk-AVGTOOYP.js.map → chunk-3C2TGBDB.js.map} +0 -0
- /package/dist/{chunk-MHCRASVK.js.map → chunk-5N26WBPQ.js.map} +0 -0
- /package/dist/{chunk-CMFUYOYB.js.map → chunk-5TOV3D6U.js.map} +0 -0
- /package/dist/{chunk-SHTPVI47.js.map → chunk-6GIMMNVK.js.map} +0 -0
- /package/dist/{chunk-5JUYBWJD.js.map → chunk-6I2C3EOH.js.map} +0 -0
- /package/dist/{chunk-CNZLKQEL.js.map → chunk-AXUU7SG3.js.map} +0 -0
- /package/dist/{chunk-7ERHAARG.js.map → chunk-BI6RE2ZS.js.map} +0 -0
- /package/dist/{chunk-UGAZILZG.js.map → chunk-F2KMAFEB.js.map} +0 -0
- /package/dist/{chunk-DMT2RGAZ.js.map → chunk-FXGLFGIG.js.map} +0 -0
- /package/dist/{chunk-6BNE62PM.js.map → chunk-GDC4INBF.js.map} +0 -0
- /package/dist/{chunk-DJH35IVS.js.map → chunk-JDXDA5OO.js.map} +0 -0
- /package/dist/{chunk-ZBDORYWM.js.map → chunk-KPJQTSRJ.js.map} +0 -0
- /package/dist/{chunk-F5EVTFQK.js.map → chunk-MSXWUXFE.js.map} +0 -0
- /package/dist/{chunk-XSPD6KQL.js.map → chunk-MVW234LO.js.map} +0 -0
- /package/dist/{chunk-5TRIAPT4.js.map → chunk-NHRNYJPJ.js.map} +0 -0
- /package/dist/{chunk-VGK33D3K.js.map → chunk-OEXKYYVH.js.map} +0 -0
- /package/dist/{chunk-JKTHT4KX.js.map → chunk-PWKZV4A3.js.map} +0 -0
- /package/dist/{chunk-AL73FWSS.js.map → chunk-QY66HJ4X.js.map} +0 -0
- /package/dist/{chunk-KWU6MAD4.js.map → chunk-R4Q7CQGZ.js.map} +0 -0
- /package/dist/{chunk-MYXWPG5O.js.map → chunk-TXBU7YDV.js.map} +0 -0
- /package/dist/{chunk-7OCTH7AJ.js.map → chunk-UQVGDEAJ.js.map} +0 -0
- /package/dist/{chunk-VQTRSX4R.js.map → chunk-WGCTFGLW.js.map} +0 -0
- /package/dist/{chunk-4CSTEPFA.js.map → chunk-XRWVXPEM.js.map} +0 -0
- /package/dist/{chunk-ENLZOWYK.js.map → chunk-ZERSIPFC.js.map} +0 -0
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
|
+
format: "openclaw-engram-export";
|
|
24
24
|
createdAt: string;
|
|
25
|
+
pluginVersion: string;
|
|
25
26
|
files: {
|
|
26
27
|
path: string;
|
|
27
28
|
sha256: string;
|
|
28
29
|
bytes: number;
|
|
29
30
|
}[];
|
|
30
|
-
|
|
31
|
-
pluginVersion: string;
|
|
31
|
+
schemaVersion: 1;
|
|
32
32
|
includesTranscripts: boolean;
|
|
33
33
|
}, {
|
|
34
|
-
|
|
34
|
+
format: "openclaw-engram-export";
|
|
35
35
|
createdAt: string;
|
|
36
|
+
pluginVersion: string;
|
|
36
37
|
files: {
|
|
37
38
|
path: string;
|
|
38
39
|
sha256: string;
|
|
39
40
|
bytes: number;
|
|
40
41
|
}[];
|
|
41
|
-
|
|
42
|
-
pluginVersion: string;
|
|
42
|
+
schemaVersion: 1;
|
|
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
|
+
format: "openclaw-engram-export";
|
|
79
79
|
createdAt: string;
|
|
80
|
+
pluginVersion: string;
|
|
80
81
|
files: {
|
|
81
82
|
path: string;
|
|
82
83
|
sha256: string;
|
|
83
84
|
bytes: number;
|
|
84
85
|
}[];
|
|
85
|
-
|
|
86
|
-
pluginVersion: string;
|
|
86
|
+
schemaVersion: 1;
|
|
87
87
|
includesTranscripts: boolean;
|
|
88
88
|
}, {
|
|
89
|
-
|
|
89
|
+
format: "openclaw-engram-export";
|
|
90
90
|
createdAt: string;
|
|
91
|
+
pluginVersion: string;
|
|
91
92
|
files: {
|
|
92
93
|
path: string;
|
|
93
94
|
sha256: string;
|
|
94
95
|
bytes: number;
|
|
95
96
|
}[];
|
|
96
|
-
|
|
97
|
-
pluginVersion: string;
|
|
97
|
+
schemaVersion: 1;
|
|
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
|
+
format: "openclaw-engram-export";
|
|
113
113
|
createdAt: string;
|
|
114
|
+
pluginVersion: string;
|
|
114
115
|
files: {
|
|
115
116
|
path: string;
|
|
116
117
|
sha256: string;
|
|
117
118
|
bytes: number;
|
|
118
119
|
}[];
|
|
119
|
-
|
|
120
|
-
pluginVersion: string;
|
|
120
|
+
schemaVersion: 1;
|
|
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
|
+
format: "openclaw-engram-export";
|
|
130
130
|
createdAt: string;
|
|
131
|
+
pluginVersion: string;
|
|
131
132
|
files: {
|
|
132
133
|
path: string;
|
|
133
134
|
sha256: string;
|
|
134
135
|
bytes: number;
|
|
135
136
|
}[];
|
|
136
|
-
|
|
137
|
-
pluginVersion: string;
|
|
137
|
+
schemaVersion: 1;
|
|
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;
|
|
317
316
|
includes: {
|
|
318
317
|
procedural: boolean;
|
|
319
318
|
taxonomy: boolean;
|
|
320
319
|
identityAnchors: boolean;
|
|
321
320
|
peerProfiles: boolean;
|
|
322
321
|
};
|
|
322
|
+
description: string;
|
|
323
323
|
id: string;
|
|
324
|
+
schemaVersion: string;
|
|
324
325
|
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;
|
|
338
337
|
includes: {
|
|
339
338
|
procedural: boolean;
|
|
340
339
|
taxonomy: boolean;
|
|
341
340
|
identityAnchors: boolean;
|
|
342
341
|
peerProfiles: boolean;
|
|
343
342
|
};
|
|
343
|
+
description: string;
|
|
344
344
|
id: string;
|
|
345
|
+
schemaVersion: string;
|
|
345
346
|
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;
|
|
468
467
|
includes: {
|
|
469
468
|
procedural: boolean;
|
|
470
469
|
taxonomy: boolean;
|
|
471
470
|
identityAnchors: boolean;
|
|
472
471
|
peerProfiles: boolean;
|
|
473
472
|
};
|
|
473
|
+
description: string;
|
|
474
474
|
id: string;
|
|
475
|
+
schemaVersion: string;
|
|
475
476
|
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;
|
|
489
488
|
includes: {
|
|
490
489
|
procedural: boolean;
|
|
491
490
|
taxonomy: boolean;
|
|
492
491
|
identityAnchors: boolean;
|
|
493
492
|
peerProfiles: boolean;
|
|
494
493
|
};
|
|
494
|
+
description: string;
|
|
495
495
|
id: string;
|
|
496
|
+
schemaVersion: string;
|
|
496
497
|
version: string;
|
|
497
|
-
description: string;
|
|
498
498
|
parentCapsule: string | null;
|
|
499
499
|
retrievalPolicy: {
|
|
500
500
|
tierWeights: Record<string, number>;
|
|
@@ -507,27 +507,25 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
507
507
|
} | null | undefined;
|
|
508
508
|
}>;
|
|
509
509
|
}, "strip", z.ZodTypeAny, {
|
|
510
|
-
|
|
510
|
+
format: "openclaw-engram-export";
|
|
511
511
|
createdAt: string;
|
|
512
|
+
pluginVersion: string;
|
|
512
513
|
files: {
|
|
513
514
|
path: string;
|
|
514
515
|
sha256: string;
|
|
515
516
|
bytes: number;
|
|
516
517
|
}[];
|
|
517
|
-
format: "openclaw-engram-export";
|
|
518
|
-
pluginVersion: string;
|
|
519
|
-
includesTranscripts: boolean;
|
|
520
518
|
capsule: {
|
|
521
|
-
schemaVersion: string;
|
|
522
519
|
includes: {
|
|
523
520
|
procedural: boolean;
|
|
524
521
|
taxonomy: boolean;
|
|
525
522
|
identityAnchors: boolean;
|
|
526
523
|
peerProfiles: boolean;
|
|
527
524
|
};
|
|
525
|
+
description: string;
|
|
528
526
|
id: string;
|
|
527
|
+
schemaVersion: string;
|
|
529
528
|
version: string;
|
|
530
|
-
description: string;
|
|
531
529
|
parentCapsule: string | null;
|
|
532
530
|
parent: {
|
|
533
531
|
version: string;
|
|
@@ -539,28 +537,28 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
539
537
|
directAnswerEnabled: boolean;
|
|
540
538
|
};
|
|
541
539
|
};
|
|
542
|
-
}, {
|
|
543
540
|
schemaVersion: 2;
|
|
541
|
+
includesTranscripts: boolean;
|
|
542
|
+
}, {
|
|
543
|
+
format: "openclaw-engram-export";
|
|
544
544
|
createdAt: string;
|
|
545
|
+
pluginVersion: string;
|
|
545
546
|
files: {
|
|
546
547
|
path: string;
|
|
547
548
|
sha256: string;
|
|
548
549
|
bytes: number;
|
|
549
550
|
}[];
|
|
550
|
-
format: "openclaw-engram-export";
|
|
551
|
-
pluginVersion: string;
|
|
552
|
-
includesTranscripts: boolean;
|
|
553
551
|
capsule: {
|
|
554
|
-
schemaVersion: string;
|
|
555
552
|
includes: {
|
|
556
553
|
procedural: boolean;
|
|
557
554
|
taxonomy: boolean;
|
|
558
555
|
identityAnchors: boolean;
|
|
559
556
|
peerProfiles: boolean;
|
|
560
557
|
};
|
|
558
|
+
description: string;
|
|
561
559
|
id: string;
|
|
560
|
+
schemaVersion: string;
|
|
562
561
|
version: string;
|
|
563
|
-
description: string;
|
|
564
562
|
parentCapsule: string | null;
|
|
565
563
|
retrievalPolicy: {
|
|
566
564
|
tierWeights: Record<string, number>;
|
|
@@ -572,6 +570,8 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
572
570
|
forkRoot: string;
|
|
573
571
|
} | null | undefined;
|
|
574
572
|
};
|
|
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;
|
|
687
686
|
includes: {
|
|
688
687
|
procedural: boolean;
|
|
689
688
|
taxonomy: boolean;
|
|
690
689
|
identityAnchors: boolean;
|
|
691
690
|
peerProfiles: boolean;
|
|
692
691
|
};
|
|
692
|
+
description: string;
|
|
693
693
|
id: string;
|
|
694
|
+
schemaVersion: string;
|
|
694
695
|
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;
|
|
708
707
|
includes: {
|
|
709
708
|
procedural: boolean;
|
|
710
709
|
taxonomy: boolean;
|
|
711
710
|
identityAnchors: boolean;
|
|
712
711
|
peerProfiles: boolean;
|
|
713
712
|
};
|
|
713
|
+
description: string;
|
|
714
714
|
id: string;
|
|
715
|
+
schemaVersion: string;
|
|
715
716
|
version: string;
|
|
716
|
-
description: string;
|
|
717
717
|
parentCapsule: string | null;
|
|
718
718
|
retrievalPolicy: {
|
|
719
719
|
tierWeights: Record<string, number>;
|
|
@@ -726,27 +726,25 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
726
726
|
} | null | undefined;
|
|
727
727
|
}>;
|
|
728
728
|
}, "strip", z.ZodTypeAny, {
|
|
729
|
-
|
|
729
|
+
format: "openclaw-engram-export";
|
|
730
730
|
createdAt: string;
|
|
731
|
+
pluginVersion: string;
|
|
731
732
|
files: {
|
|
732
733
|
path: string;
|
|
733
734
|
sha256: string;
|
|
734
735
|
bytes: number;
|
|
735
736
|
}[];
|
|
736
|
-
format: "openclaw-engram-export";
|
|
737
|
-
pluginVersion: string;
|
|
738
|
-
includesTranscripts: boolean;
|
|
739
737
|
capsule: {
|
|
740
|
-
schemaVersion: string;
|
|
741
738
|
includes: {
|
|
742
739
|
procedural: boolean;
|
|
743
740
|
taxonomy: boolean;
|
|
744
741
|
identityAnchors: boolean;
|
|
745
742
|
peerProfiles: boolean;
|
|
746
743
|
};
|
|
744
|
+
description: string;
|
|
747
745
|
id: string;
|
|
746
|
+
schemaVersion: string;
|
|
748
747
|
version: string;
|
|
749
|
-
description: string;
|
|
750
748
|
parentCapsule: string | null;
|
|
751
749
|
parent: {
|
|
752
750
|
version: string;
|
|
@@ -758,28 +756,28 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
758
756
|
directAnswerEnabled: boolean;
|
|
759
757
|
};
|
|
760
758
|
};
|
|
761
|
-
}, {
|
|
762
759
|
schemaVersion: 2;
|
|
760
|
+
includesTranscripts: boolean;
|
|
761
|
+
}, {
|
|
762
|
+
format: "openclaw-engram-export";
|
|
763
763
|
createdAt: string;
|
|
764
|
+
pluginVersion: string;
|
|
764
765
|
files: {
|
|
765
766
|
path: string;
|
|
766
767
|
sha256: string;
|
|
767
768
|
bytes: number;
|
|
768
769
|
}[];
|
|
769
|
-
format: "openclaw-engram-export";
|
|
770
|
-
pluginVersion: string;
|
|
771
|
-
includesTranscripts: boolean;
|
|
772
770
|
capsule: {
|
|
773
|
-
schemaVersion: string;
|
|
774
771
|
includes: {
|
|
775
772
|
procedural: boolean;
|
|
776
773
|
taxonomy: boolean;
|
|
777
774
|
identityAnchors: boolean;
|
|
778
775
|
peerProfiles: boolean;
|
|
779
776
|
};
|
|
777
|
+
description: string;
|
|
780
778
|
id: string;
|
|
779
|
+
schemaVersion: string;
|
|
781
780
|
version: string;
|
|
782
|
-
description: string;
|
|
783
781
|
parentCapsule: string | null;
|
|
784
782
|
retrievalPolicy: {
|
|
785
783
|
tierWeights: Record<string, number>;
|
|
@@ -791,6 +789,8 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
791
789
|
forkRoot: string;
|
|
792
790
|
} | null | undefined;
|
|
793
791
|
};
|
|
792
|
+
schemaVersion: 2;
|
|
793
|
+
includesTranscripts: boolean;
|
|
794
794
|
}>;
|
|
795
795
|
records: z.ZodArray<z.ZodObject<{
|
|
796
796
|
path: z.ZodString;
|
|
@@ -804,27 +804,25 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
804
804
|
}>, "many">;
|
|
805
805
|
}, "strip", z.ZodTypeAny, {
|
|
806
806
|
manifest: {
|
|
807
|
-
|
|
807
|
+
format: "openclaw-engram-export";
|
|
808
808
|
createdAt: string;
|
|
809
|
+
pluginVersion: string;
|
|
809
810
|
files: {
|
|
810
811
|
path: string;
|
|
811
812
|
sha256: string;
|
|
812
813
|
bytes: number;
|
|
813
814
|
}[];
|
|
814
|
-
format: "openclaw-engram-export";
|
|
815
|
-
pluginVersion: string;
|
|
816
|
-
includesTranscripts: boolean;
|
|
817
815
|
capsule: {
|
|
818
|
-
schemaVersion: string;
|
|
819
816
|
includes: {
|
|
820
817
|
procedural: boolean;
|
|
821
818
|
taxonomy: boolean;
|
|
822
819
|
identityAnchors: boolean;
|
|
823
820
|
peerProfiles: boolean;
|
|
824
821
|
};
|
|
822
|
+
description: string;
|
|
825
823
|
id: string;
|
|
824
|
+
schemaVersion: string;
|
|
826
825
|
version: string;
|
|
827
|
-
description: string;
|
|
828
826
|
parentCapsule: string | null;
|
|
829
827
|
parent: {
|
|
830
828
|
version: string;
|
|
@@ -836,6 +834,8 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
836
834
|
directAnswerEnabled: boolean;
|
|
837
835
|
};
|
|
838
836
|
};
|
|
837
|
+
schemaVersion: 2;
|
|
838
|
+
includesTranscripts: boolean;
|
|
839
839
|
};
|
|
840
840
|
records: {
|
|
841
841
|
content: string;
|
|
@@ -843,27 +843,25 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
843
843
|
}[];
|
|
844
844
|
}, {
|
|
845
845
|
manifest: {
|
|
846
|
-
|
|
846
|
+
format: "openclaw-engram-export";
|
|
847
847
|
createdAt: string;
|
|
848
|
+
pluginVersion: string;
|
|
848
849
|
files: {
|
|
849
850
|
path: string;
|
|
850
851
|
sha256: string;
|
|
851
852
|
bytes: number;
|
|
852
853
|
}[];
|
|
853
|
-
format: "openclaw-engram-export";
|
|
854
|
-
pluginVersion: string;
|
|
855
|
-
includesTranscripts: boolean;
|
|
856
854
|
capsule: {
|
|
857
|
-
schemaVersion: string;
|
|
858
855
|
includes: {
|
|
859
856
|
procedural: boolean;
|
|
860
857
|
taxonomy: boolean;
|
|
861
858
|
identityAnchors: boolean;
|
|
862
859
|
peerProfiles: boolean;
|
|
863
860
|
};
|
|
861
|
+
description: string;
|
|
864
862
|
id: string;
|
|
863
|
+
schemaVersion: string;
|
|
865
864
|
version: string;
|
|
866
|
-
description: string;
|
|
867
865
|
parentCapsule: string | null;
|
|
868
866
|
retrievalPolicy: {
|
|
869
867
|
tierWeights: Record<string, number>;
|
|
@@ -875,6 +873,8 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
875
873
|
forkRoot: string;
|
|
876
874
|
} | null | undefined;
|
|
877
875
|
};
|
|
876
|
+
schemaVersion: 2;
|
|
877
|
+
includesTranscripts: boolean;
|
|
878
878
|
};
|
|
879
879
|
records: {
|
|
880
880
|
content: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FaithfulnessFrontmatter, O as ProvenanceSource, U as TrustWeights, Q as QmdSearchResult } from './types-
|
|
1
|
+
import { F as FaithfulnessFrontmatter, O as ProvenanceSource, U as TrustWeights, Q as QmdSearchResult } from './types-CqWwMPr_.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
|
@@ -977,23 +977,31 @@ interface ExtractionBufferSnapshot {
|
|
|
977
977
|
interface ExtractionBufferSource {
|
|
978
978
|
getBufferSnapshot(): Promise<ExtractionBufferSnapshot>;
|
|
979
979
|
}
|
|
980
|
+
interface ExtractionRootStats {
|
|
981
|
+
extractionCount?: number;
|
|
982
|
+
lastConsolidationAt?: string | null;
|
|
983
|
+
}
|
|
984
|
+
interface ExtractionWatermarkRead {
|
|
985
|
+
lastExtractionAt: string | null;
|
|
986
|
+
readFailed: boolean;
|
|
987
|
+
readError?: string;
|
|
988
|
+
pending?: boolean;
|
|
989
|
+
rootStats?: ExtractionRootStats;
|
|
990
|
+
}
|
|
991
|
+
type ExtractionWatermarkOrStorage = ExtractionWatermarkRead | {
|
|
992
|
+
readMetadata(): Promise<{
|
|
993
|
+
lastExtractionAt?: string | null;
|
|
994
|
+
} | null>;
|
|
995
|
+
} | {
|
|
996
|
+
loadMeta(): Promise<{
|
|
997
|
+
lastExtractionAt?: string | null;
|
|
998
|
+
}>;
|
|
999
|
+
};
|
|
1000
|
+
declare function coerceExtractionWatermark(watermark: ExtractionWatermarkOrStorage): Promise<ExtractionWatermarkRead>;
|
|
980
1001
|
/**
|
|
981
|
-
* The liveness payload surfaced on `/health.extraction` and in
|
|
982
|
-
* details.
|
|
983
|
-
*
|
|
984
|
-
* DAEMON-SCOPED SIGNAL: a daemon exposes a single extraction verdict; the
|
|
985
|
-
* last-extraction watermark is read from the daemon's default/root store, so
|
|
986
|
-
* `/health` returns the same `extraction` block for every namespace argument.
|
|
987
|
-
*
|
|
988
|
-
* KNOWN LIMITATION (issue #2159): extraction stamps `lastExtractionAt` on the
|
|
989
|
-
* PER-NAMESPACE store (`storageFor(selfNamespace)`), so this watermark reflects
|
|
990
|
-
* only extraction that stamped the root store (default-namespace work). On a
|
|
991
|
-
* single-namespace deployment (the common case) the watermark and buffer share
|
|
992
|
-
* one scope and the verdict is exact. On a multi-namespace deployment the verdict
|
|
993
|
-
* is NOT guaranteed correct for work isolated to a non-default namespace: it can
|
|
994
|
-
* over-report `degraded` (the default namespace idle while another is extracting)
|
|
995
|
-
* or miss a stall confined to a non-default namespace. Aggregating the watermark
|
|
996
|
-
* across namespace stores is tracked in #2159.
|
|
1002
|
+
* The daemon-scoped liveness payload surfaced on `/health.extraction` and in
|
|
1003
|
+
* doctor/stats details. Its watermark is the maximum successful extraction
|
|
1004
|
+
* across every distinct namespace store, matching the daemon-wide buffer scope.
|
|
997
1005
|
*/
|
|
998
1006
|
interface ExtractionLivenessStatus {
|
|
999
1007
|
lastExtractionAt: string | null;
|
|
@@ -1002,17 +1010,8 @@ interface ExtractionLivenessStatus {
|
|
|
1002
1010
|
oldestBufferedTurnAgeMs: number | null;
|
|
1003
1011
|
degraded: boolean;
|
|
1004
1012
|
degradedReason: string | null;
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
* daemon's default/root store only), `aggregate` once it is resolved across
|
|
1008
|
-
* every namespace store (#2159). A monitor can alert on
|
|
1009
|
-
* `watermarkScope !== "aggregate"` while namespaces are enabled instead of
|
|
1010
|
-
* trusting a number that may be wrong in either direction.
|
|
1011
|
-
*/
|
|
1012
|
-
watermarkScope: "root-store" | "aggregate";
|
|
1013
|
-
}
|
|
1014
|
-
interface ExtractionLivenessStorageLike {
|
|
1015
|
-
loadMeta(): Promise<Pick<MetaState, "lastExtractionAt">>;
|
|
1013
|
+
watermarkPending?: boolean;
|
|
1014
|
+
watermarkScope: "aggregate";
|
|
1016
1015
|
}
|
|
1017
1016
|
interface ExtractionLivenessOrchestratorLike {
|
|
1018
1017
|
config: Pick<PluginConfig, "extractionLiveness">;
|
|
@@ -1048,17 +1047,16 @@ declare function evaluateExtractionLiveness(input: {
|
|
|
1048
1047
|
nowMs: number;
|
|
1049
1048
|
metaReadFailed?: boolean;
|
|
1050
1049
|
metaReadError?: string;
|
|
1051
|
-
|
|
1050
|
+
watermarkPending?: boolean;
|
|
1052
1051
|
}): ExtractionLivenessStatus;
|
|
1053
1052
|
/**
|
|
1054
|
-
* Gather the liveness status from
|
|
1055
|
-
*
|
|
1056
|
-
*
|
|
1057
|
-
* swallowed into a healthy-looking verdict; no failure path throws.
|
|
1053
|
+
* Gather the liveness status from an aggregate watermark read and an optional
|
|
1054
|
+
* buffer. A read failure on either side is surfaced as a degraded status with a
|
|
1055
|
+
* distinct reason rather than swallowed into a healthy-looking verdict.
|
|
1058
1056
|
*/
|
|
1059
1057
|
declare function gatherExtractionLivenessStatus(input: {
|
|
1060
1058
|
config: ExtractionLivenessConfig;
|
|
1061
|
-
|
|
1059
|
+
watermark: ExtractionWatermarkOrStorage;
|
|
1062
1060
|
buffer: ExtractionBufferSource | undefined;
|
|
1063
1061
|
nowMs: number;
|
|
1064
1062
|
}): Promise<ExtractionLivenessStatus>;
|
|
@@ -1089,38 +1087,22 @@ declare function resolveExtractionLivenessConfig(block: {
|
|
|
1089
1087
|
staleWindowMs?: unknown;
|
|
1090
1088
|
} | undefined): ExtractionLivenessConfig;
|
|
1091
1089
|
/**
|
|
1092
|
-
* Compute the liveness status for the authenticated `/health`
|
|
1093
|
-
* the throttled
|
|
1094
|
-
*
|
|
1095
|
-
* The watermark is read from the daemon's default/root store (`orchestrator.storage`),
|
|
1096
|
-
* which is why `/health` returns the same `extraction` block for any namespace
|
|
1097
|
-
* argument. KNOWN LIMITATION (issue #2159): extraction writes `lastExtractionAt`
|
|
1098
|
-
* per-namespace, so this watermark reflects only default-namespace extraction and
|
|
1099
|
-
* the verdict is exact only for a single-namespace daemon (see
|
|
1100
|
-
* `ExtractionLivenessStatus`).
|
|
1090
|
+
* Compute the daemon-wide liveness status for the authenticated `/health`
|
|
1091
|
+
* payload and emit the throttled aggregate warning.
|
|
1101
1092
|
*/
|
|
1102
|
-
declare function computeExtractionLivenessStatus(orchestrator: ExtractionLivenessOrchestratorLike
|
|
1103
|
-
storage: ExtractionLivenessStorageLike;
|
|
1104
|
-
}, throttle?: ExtractionLivenessWarnThrottle, nowMs?: number): Promise<ExtractionLivenessStatus>;
|
|
1093
|
+
declare function computeExtractionLivenessStatus(orchestrator: ExtractionLivenessOrchestratorLike, watermark: ExtractionWatermarkOrStorage, throttle?: ExtractionLivenessWarnThrottle, nowMs?: number): Promise<ExtractionLivenessStatus>;
|
|
1105
1094
|
/**
|
|
1106
1095
|
* `remnic doctor` check for extraction-pipeline liveness. Status `warn` when
|
|
1107
1096
|
* degraded (with a remediation hint), `ok` otherwise.
|
|
1108
1097
|
*/
|
|
1109
|
-
declare function summarizeExtractionLiveness(config: Pick<PluginConfig, "extractionLiveness">,
|
|
1110
|
-
/** Meta fields the `remnic stats` view renders directly, beyond the liveness watermark. */
|
|
1111
|
-
type ExtractionStatsMeta = Pick<MetaState, "extractionCount" | "lastExtractionAt" | "lastConsolidationAt">;
|
|
1098
|
+
declare function summarizeExtractionLiveness(config: Pick<PluginConfig, "extractionLiveness">, watermark: ExtractionWatermarkOrStorage, buffer?: ExtractionBufferSource, nowMs?: number): Promise<OperatorDoctorCheck>;
|
|
1112
1099
|
/**
|
|
1113
|
-
* Lines for `remnic stats`: extraction watermark,
|
|
1114
|
-
*
|
|
1115
|
-
*
|
|
1116
|
-
*
|
|
1117
|
-
* crashing the whole `stats` command.
|
|
1100
|
+
* Lines for `remnic stats`: the aggregate extraction watermark, root metadata
|
|
1101
|
+
* counters, buffer backlog, and liveness verdict. Root counter failures render
|
|
1102
|
+
* those counters unavailable; the injected aggregate read alone determines
|
|
1103
|
+
* watermark liveness so stats cannot diverge from health and doctor.
|
|
1118
1104
|
*/
|
|
1119
|
-
declare function renderExtractionLivenessStats(orchestrator: ExtractionLivenessOrchestratorLike
|
|
1120
|
-
storage: {
|
|
1121
|
-
loadMeta(): Promise<ExtractionStatsMeta>;
|
|
1122
|
-
};
|
|
1123
|
-
}, nowMs?: number): Promise<string[]>;
|
|
1105
|
+
declare function renderExtractionLivenessStats(orchestrator: ExtractionLivenessOrchestratorLike, watermark: ExtractionWatermarkRead, nowMs?: number): Promise<string[]>;
|
|
1124
1106
|
|
|
1125
1107
|
/**
|
|
1126
1108
|
* `replicaPeers` config surface (issue #2149) — types + parser.
|
|
@@ -2373,13 +2355,7 @@ interface PluginConfig extends BoundedJsonlStateConfig {
|
|
|
2373
2355
|
/** OpenClaw bridge mode (#2120): `"embedded"` (default) or `"delegate"`. */
|
|
2374
2356
|
bridgeMode: string;
|
|
2375
2357
|
codexCompat: CodexCompatConfig;
|
|
2376
|
-
/**
|
|
2377
|
-
* When true (default), the extraction prompt instructs the LLM to classify
|
|
2378
|
-
* each fact as `"project"` or `"global"` scope. Global-scoped facts are
|
|
2379
|
-
* promoted to the shared namespace so they are visible across all projects.
|
|
2380
|
-
* When false, all facts go to whatever namespace the session is in (pre-
|
|
2381
|
-
* scope-classification behavior). Rule 30: configuration gate.
|
|
2382
|
-
*/
|
|
2358
|
+
/** When true (default), LLM classifies facts as `"project"` or `"global"` scope for promotion across projects. */
|
|
2383
2359
|
extractionScopeClassificationEnabled: boolean;
|
|
2384
2360
|
/** Enable the LLM-as-judge fact-worthiness gate on extracted facts. Default false (opt-in). */
|
|
2385
2361
|
extractionJudgeEnabled: boolean;
|
|
@@ -4696,4 +4672,4 @@ interface HourlySummary {
|
|
|
4696
4672
|
generatedAt: string;
|
|
4697
4673
|
}
|
|
4698
4674
|
|
|
4699
|
-
export { type ExtractionFailureClass 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 ExtractionResult as J, type ConsolidationResult as K, type LiveConnectorsConfig as L, type MemoryFile as M, type DaySummaryResult as N, type ProvenanceSource as O, type PluginConfig as P, type QmdSearchResult as Q, type RecallPlanMode as R, type SessionObserverBandConfig as S, type TranscriptEntry as T, type TrustWeights as U, type ConversationThread as V, type LifecycleState as W, type VerificationState as X, type PolicyClass as Y, type ReplicaPeersConfig as Z, type ReplicaPeerConfig as _, type DreamsRunResult as a, type WearableSourceStatus as a$, type ImportanceLevel as a0, type ActiveRecallChatType as a1, type ActiveRecallQueryMode as a2, type ActiveRecallPromptStyle as a3, type ActiveRecallThinking as a4, type ActiveRecallModelFallbackPolicy as a5, type BehaviorSignalEvent as a6, type BufferSurpriseEvent as a7, type ImportTurn as a8, type BulkImportOptions as a9, type
|
|
4675
|
+
export { type ExtractionFailureClass 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 ExtractionResult as J, type ConsolidationResult as K, type LiveConnectorsConfig as L, type MemoryFile as M, type DaySummaryResult as N, type ProvenanceSource as O, type PluginConfig as P, type QmdSearchResult as Q, type RecallPlanMode as R, type SessionObserverBandConfig as S, type TranscriptEntry as T, type TrustWeights as U, type ConversationThread as V, type LifecycleState as W, type VerificationState as X, type PolicyClass as Y, type ReplicaPeersConfig as Z, type ReplicaPeerConfig as _, type DreamsRunResult as a, type WearableSourceStatus as a$, type ImportanceLevel as a0, type ActiveRecallChatType as a1, type ActiveRecallQueryMode as a2, type ActiveRecallPromptStyle as a3, type ActiveRecallThinking as a4, type ActiveRecallModelFallbackPolicy as a5, type BehaviorSignalEvent as a6, type BufferSurpriseEvent as a7, type ImportTurn as a8, type BulkImportOptions as a9, type TopicScore as aA, type QmdSearchExplain as aB, type ActivitySnapshot as aC, type ActivityConfig as aD, type ActivitySourceConfig as aE, type ActivitySourceClient as aF, type FusedWearableConversation as aG, type FusedDayMeta as aH, type FusedDayFile as aI, type MeetingRecord as aJ, type MeetingDetectionSource as aK, type FusedMeeting as aL, type EntityTimelineEntry as aM, type MemoryLink as aN, type BufferState as aO, type FileHygieneConfig as aP, type EntityRelationship as aQ, type EntityActivityEntry as aR, type AccessTrackingEntry as aS, type MemorySummary as aT, type WearableConversation as aU, type WearableSourceSettings as aV, type WearableNativeMemory as aW, type WearableMemoryMode as aX, type WearableSourceConnector as aY, type WearablesConfig as aZ, type WearableSyncSummary as a_, type BulkImportSource as aa, type BulkImportResult as ab, type CompressionGuidelineOptimizerEventCounts as ac, type CompressionGuidelineOptimizerActionSummary as ad, type CompressionGuidelineOptimizerRuleUpdate as ae, type MemoryActionType as af, type MemoryActionEvent as ag, type CompressionGuidelineOptimizerState as ah, type EntityMention as ai, type EntitySchemaDefinition as aj, type EntitySchemaSectionDefinition as ak, type EntityStructuredSection as al, type ProvenanceConfig as am, type ImportanceScore as an, type MemoryIntent as ao, type MemoryActionEligibilityContext as ap, type MemoryActionPolicyResult as aq, type MemoryLifecycleEventType as ar, type MemoryLifecycleStateSummary as as, type ModelProviderConfig as at, type NativeKnowledgeConfig as au, type ExtractionBufferSource as av, type MetaState as aw, summarizeExtractionLiveness as ax, type RetrievalTier as ay, type SignalScanResult as az, type RecallDisclosure as b, type ExtractionLivenessConfig as b$, type WearableDayTranscript as b0, type WearableCorrectionRule as b1, type MeetingBuildInput as b2, type MeetingsConfig as b3, type MeetingsDetectionInput as b4, type FusionConversationInput as b5, type MeetingActivitySnapshot as b6, type DetectedMeeting as b7, type CodingContext as b8, type DreamsStatusResult as b9, type BulkImportSourceAdapter as bA, type CodexCompatConfig as bB, DEFAULT_RECALL_DISCLOSURE as bC, type DisagreementKind as bD, type ExtractedFact as bE, type FusedContribution as bF, type FusedConversationProvenance as bG, type FusedSegmentProvenance as bH, type FusionSegmentInput as bI, type ImportSourceRole as bJ, type ImportTurnValidationIssue as bK, type MeetingScreenContextEvent as bL, type MeetingSummaryMode as bM, type MemoryActionEligibilitySource as bN, type MemoryObservation as bO, type MemoryScope as bP, RECALL_DISCLOSURE_LEVELS as bQ, type SegmentPickReason as bR, type WearableAuthCheck as bS, type WearableFetchOptions as bT, type WearableFetchPage as bU, type WearableNativeMemoryPage as bV, type WearableTranscriptSegment as bW, isImportRole as bX, isRecallDisclosure as bY, parseIsoTimestamp as bZ, validateImportTurn as b_, type RecallSectionConfig as ba, type BootstrapOptions as bb, type BootstrapResult as bc, type ConsolidationObservation as bd, type CodingModeConfig as be, type FusedSpeaker as bf, type FusedSegment as bg, type FusedDisagreement as bh, type FusionOptions as bi, type FusionDayResult as bj, type CodingKnowledgeConfig as bk, type WearableCleanupSettings as bl, type WearableFusionConfig as bm, type WearableDayTranscriptMeta as bn, type ActivityDayMeta as bo, type ActivityDayDigest as bp, type ActivitySourceCheck as bq, type ActivitySnapshotPage as br, type MeetingsDetectionConfig as bs, type MeetingAudioWindow as bt, type MeetingAppSpan as bu, type ActivityExtractionMode as bv, type BriefingConfig as bw, type BriefingOpenCommitment as bx, type BriefingWindow as by, type BulkImportError as bz, type RecallTierExplain as c, type HeartbeatDetectionMode as c$, ExtractionLivenessWarnThrottle as c0, type ExtractionRootStats as c1, type ExtractionWatermarkOrStorage as c2, type ExtractionWatermarkRead as c3, coerceExtractionWatermark as c4, computeExtractionLivenessStatus as c5, evaluateExtractionLiveness as c6, formatAgeMs as c7, gatherExtractionLivenessStatus as c8, parseExtractionLivenessConfig as c9, type CodingGraphLspConfig as cA, type CompressionGuidelineActivationState as cB, type CompressionGuidelineOptimizerSourceWindow as cC, type ConfidenceTier as cD, type ConsolidationAction as cE, type ConsolidationItem as cF, type ContradictionScanConfig as cG, type CronConversationRecallMode as cH, type CronRecallMode as cI, type DreamingConfig as cJ, type DreamingNarrativePromptStyle as cK, type DreamsDeepSleepConfig as cL, type DreamsLightSleepConfig as cM, type DreamsPhaseStatus as cN, type DreamsPhasesConfig as cO, type DreamsRemConfig as cP, type EngramTraceEvent as cQ, type ExtractedProcedureStep as cR, type ExtractedQuestion as cS, type ExtractedReasoningTrace as cT, type ExtractedReasoningTraceStep as cU, type ExtractedRelationship as cV, type ExtractionPassSource as cW, type GitHubLiveConnectorConfig as cX, type GmailLiveConnectorConfig as cY, type GoogleDriveLiveConnectorConfig as cZ, type HeartbeatConfig as c_, renderExtractionLivenessStats as ca, resolveExtractionLivenessConfig as cb, parseReplicaPeersConfig as cc, resolveReplicaPeersConfig as cd, type BufferTurnOwner as ce, ProbeTimeoutError as cf, bufferTurnArrayIsSuffixOfSnapshot as cg, bufferTurnArraysEqual as ch, bufferTurnsEqual as ci, copyBufferTurn as cj, describeError as ck, liveTurnsFromExtractionSnapshot as cl, matchingQueuedExtractionPrefixLength as cm, probeWithTimeout as cn, type AgentAccessHttpConfig as co, type AgentDefaultsConfig as cp, type AgentPersona as cq, type BehaviorLoopAdjustment as cr, type BehaviorSignalDirection as cs, type BehaviorSignalType as ct, type BriefingCalendarSourceError as cu, type BufferEntryState as cv, type ChatConfig as cw, type CodexCliReasoningEffort as cx, type CodexCompactionFlushMode as cy, type CodexConnectorConfig as cz, type BriefingFollowup as d, type LlmTraceCallback as d0, type LlmTraceEvent as d1, type MemoryActionOutcome as d2, type MemoryActionPolicyDecision as d3, type MemoryActionStatus as d4, type MemoryLinkType as d5, type MemoryOsPresetName as d6, type ModelApi as d7, type ModelDefinitionConfig as d8, type ModelProviderAuthMode as d9, type NamespacePolicy as da, type NativeKnowledgeFolderRuleConfig as db, type NativeKnowledgeObsidianVaultConfig as dc, type NativeKnowledgeOpenClawWorkspaceConfig as dd, type NotionLiveConnectorConfig as de, type PrincipalFromSessionKeyMode as df, type PrincipalRule as dg, type ProceduralConfig as dh, type QuestionEntry as di, type ReasoningEffort as dj, type RecallPipelineConfig as dk, type RecallTraceEvent as dl, type RelevanceFeedback as dm, SPECULATIVE_TTL_DAYS as dn, type ScopeProfileAutoPromoteConfig as dp, type ScopeProfileTeamProjectConfig as dq, type ScopeTeamConfig as dr, type ScoredEntity as ds, type SemanticChunkingConfigShape as dt, type SignalLevel as du, type SlotBehaviorConfig as dv, type SlotMismatchMode as dw, type TriggerMode as dx, confidenceTier as dy, 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 CaptureMode as w, type MemoryStatus as x, type MemoryProjectionCurrentState as y, type MemoryLifecycleEvent as z };
|