@remnic/core 9.23.4 → 9.25.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 +12 -10
- package/dist/access-admin-ops-surface.js +40 -39
- package/dist/access-authorization-probe.d.ts +122 -0
- package/dist/access-authorization-probe.js +154 -0
- package/dist/access-boundary.d.ts +12 -10
- package/dist/access-boundary.js +40 -39
- package/dist/access-cli.js +119 -117
- package/dist/access-cli.js.map +1 -1
- package/dist/access-health-types.d.ts +54 -0
- package/dist/access-health-types.js +1 -0
- package/dist/access-http.d.ts +12 -10
- package/dist/access-http.js +51 -49
- package/dist/access-identity-continuity-surface.d.ts +9 -8
- package/dist/access-identity-continuity-surface.js +40 -39
- package/dist/access-lcm-surface.d.ts +12 -10
- package/dist/access-lcm-surface.js +40 -39
- package/dist/access-mcp.d.ts +12 -10
- package/dist/access-mcp.js +46 -45
- package/dist/access-memory-search-fanout.d.ts +3 -2
- package/dist/{access-namespace-preflight-CmErR03h.d.ts → access-namespace-preflight-wRSZEO5V.d.ts} +1 -1
- package/dist/access-namespace-preflight.d.ts +4 -3
- package/dist/access-namespace-preflight.js +40 -39
- package/dist/access-observe-write-surface.d.ts +13 -11
- package/dist/access-observe-write-surface.js +40 -39
- package/dist/access-operations-batch.js +42 -41
- package/dist/access-operations.d.ts +13 -11
- package/dist/access-operations.js +44 -43
- package/dist/access-recall-concurrency.d.ts +12 -10
- package/dist/access-recall-concurrency.js +40 -39
- package/dist/access-recall-response.d.ts +12 -10
- package/dist/access-recall-response.js +40 -39
- package/dist/access-recall-surface.d.ts +12 -10
- package/dist/access-recall-surface.js +40 -39
- package/dist/access-schema.d.ts +10 -10
- package/dist/access-schema.js +8 -8
- package/dist/{access-service-Pl-h7x4p.d.ts → access-service-BlNKWBC9.d.ts} +10 -40
- package/dist/access-service.d.ts +13 -11
- package/dist/access-service.js +40 -39
- package/dist/access-surface-catalog.d.ts +12 -10
- package/dist/access-token-capabilities.d.ts +15 -1
- package/dist/access-token-capabilities.js +3 -1
- package/dist/access-wearables-meetings-surface.d.ts +4 -3
- package/dist/action-confidence.d.ts +2 -1
- package/dist/active-memory-bridge.d.ts +2 -1
- package/dist/active-recall.d.ts +2 -1
- package/dist/active-recall.js +7 -6
- package/dist/active-recall.js.map +1 -1
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/auto-sync-5OE5QOZB.js +1 -1
- package/dist/behavior-learner.d.ts +2 -1
- package/dist/behavior-signals.d.ts +2 -1
- package/dist/bootstrap.d.ts +9 -8
- package/dist/briefing.d.ts +3 -2
- package/dist/briefing.js +9 -9
- package/dist/buffer-surprise-report.d.ts +2 -1
- package/dist/buffer.d.ts +6 -2
- package/dist/buffer.js +1 -1
- package/dist/bulk-import/index.d.ts +4 -3
- package/dist/calibration.d.ts +2 -1
- package/dist/capabilities.d.ts +2 -1
- package/dist/{capsule-crypto-YO5QJ6L3.js → capsule-crypto-7FJQINUR.js} +2 -2
- package/dist/capsule-crypto-7FJQINUR.js.map +1 -0
- package/dist/{catalog-BFTVo2Ez.d.ts → catalog-BLLxZ5L5.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +2 -1
- package/dist/causal-behavior.js +2 -2
- package/dist/causal-chain.js +2 -2
- package/dist/causal-consolidation.d.ts +2 -1
- package/dist/causal-consolidation.js +12 -12
- package/dist/causal-retrieval.js +2 -2
- package/dist/causal-trajectory-graph.d.ts +2 -1
- package/dist/causal-trajectory-graph.js +2 -2
- package/dist/causal-trajectory.js +1 -1
- package/dist/{chunk-LEPOP46W.js → chunk-227UFSEQ.js} +4 -4
- package/dist/{chunk-BXLOS5AJ.js → chunk-2NLLXCJG.js} +2 -2
- package/dist/{chunk-34RC5RT7.js → chunk-2SA56WMI.js} +4 -4
- package/dist/{chunk-POHSSW2T.js → chunk-3CDMIR3C.js} +2 -2
- package/dist/{chunk-EXH5AK46.js → chunk-3I35RLJW.js} +27 -15
- package/dist/chunk-3I35RLJW.js.map +1 -0
- package/dist/{chunk-JRQBPN63.js → chunk-3UOSVTFR.js} +8 -8
- package/dist/chunk-443XCR34.js +213 -0
- package/dist/chunk-443XCR34.js.map +1 -0
- package/dist/{chunk-354T54RR.js → chunk-4TFIRMTE.js} +28 -1
- package/dist/chunk-4TFIRMTE.js.map +1 -0
- package/dist/{chunk-CNUZ2PN2.js → chunk-5ZGWA4AG.js} +14 -10
- package/dist/chunk-5ZGWA4AG.js.map +1 -0
- package/dist/{chunk-AT7XL2JJ.js → chunk-6LRTGCRV.js} +10 -10
- package/dist/{chunk-AJ7QCSIS.js → chunk-7CPOZH6Y.js} +2 -2
- package/dist/{chunk-EHOTE26K.js → chunk-AGR7MGUX.js} +2 -2
- package/dist/{chunk-D5ILARSD.js → chunk-AL4TZWI3.js} +2 -2
- package/dist/{chunk-RPOSRICW.js → chunk-AT6DNUCM.js} +2 -2
- package/dist/{chunk-KNB7IBBU.js → chunk-CKMO4RDY.js} +5 -5
- package/dist/{chunk-5CPI2QWG.js → chunk-CSXHRAJJ.js} +3 -3
- package/dist/{chunk-5XMJ2P62.js → chunk-DPYYSG6F.js} +7 -7
- package/dist/{chunk-YNDLCWXS.js → chunk-EZ25VE3G.js} +4 -4
- package/dist/{chunk-K3C6CJOF.js → chunk-FIGDB2HR.js} +2 -2
- package/dist/{chunk-Z54EM5YZ.js → chunk-GF22HWS2.js} +4 -4
- package/dist/{chunk-ZYU7ZFLT.js → chunk-GJJBPI6I.js} +5 -1
- package/dist/chunk-GJJBPI6I.js.map +1 -0
- package/dist/{chunk-UZ7HGRHK.js → chunk-GNFZFJBJ.js} +2 -2
- package/dist/{chunk-W6ROK2KU.js → chunk-HNZKVLAN.js} +2 -2
- package/dist/{chunk-HVYOZAQ7.js → chunk-IE4HB6O5.js} +3 -3
- package/dist/{chunk-RKNJBZ55.js → chunk-JBPKEARU.js} +4 -4
- package/dist/chunk-JMDZDT24.js +38 -0
- package/dist/chunk-JMDZDT24.js.map +1 -0
- package/dist/{chunk-UZGJFIIG.js → chunk-JYIFGGEM.js} +2 -2
- package/dist/{chunk-VDX2J7OX.js → chunk-KQAFEZQX.js} +2 -2
- package/dist/{chunk-3SHB4YAW.js → chunk-L2DPF4DF.js} +4 -4
- package/dist/{chunk-SPWOLGXT.js → chunk-LARPWF3S.js} +3 -3
- package/dist/{chunk-NSRTLSBX.js → chunk-LFHMUWA2.js} +131 -131
- package/dist/{chunk-AYAROCWD.js → chunk-LLISELSY.js} +2 -2
- package/dist/{chunk-W3BKLKG6.js → chunk-LXKJNUND.js} +2 -2
- package/dist/{chunk-MMTG3SCJ.js → chunk-M5EPMNS4.js} +2 -2
- package/dist/{chunk-KYP5FSPG.js → chunk-MNLZGCM2.js} +10 -10
- package/dist/{chunk-TMX4MBSK.js → chunk-MPDX5QMH.js} +2 -2
- package/dist/{chunk-PO5LSKQO.js → chunk-MU7ZHSZE.js} +2 -2
- package/dist/{chunk-7AMFUATK.js → chunk-MZWSOLMT.js} +14 -1
- package/dist/chunk-MZWSOLMT.js.map +1 -0
- package/dist/{chunk-JVOA5VDZ.js → chunk-NMGO2HAZ.js} +3 -3
- package/dist/{chunk-CAGPP5NB.js → chunk-NRV4Y3PM.js} +1 -1
- package/dist/{chunk-H2M4YA6K.js → chunk-NVYCTASB.js} +2 -2
- package/dist/{chunk-M2PG7OTI.js → chunk-P25IPRXP.js} +7 -7
- package/dist/{chunk-6MFMTNY4.js → chunk-RROMWDDC.js} +50 -54
- package/dist/chunk-RROMWDDC.js.map +1 -0
- package/dist/{chunk-FPJWQZ35.js → chunk-SZN6XVFC.js} +2 -2
- package/dist/{chunk-ZLDMAGCB.js → chunk-TG2DJFH7.js} +80 -80
- package/dist/chunk-TG2DJFH7.js.map +1 -0
- package/dist/{chunk-4E3DWNTJ.js → chunk-THHPDPMS.js} +2 -2
- package/dist/{chunk-XPLTZEJU.js → chunk-U37RGPJT.js} +2 -2
- package/dist/{chunk-SCOT5DTA.js → chunk-V25OWXAC.js} +1 -1
- package/dist/chunk-V25OWXAC.js.map +1 -0
- package/dist/{chunk-3UD5ZAUA.js → chunk-VY6SDKWZ.js} +2 -2
- package/dist/{chunk-XJTYLU6J.js → chunk-W4ZDTHWZ.js} +3 -3
- package/dist/{chunk-3NAHZQU3.js → chunk-X3SQYAPP.js} +2 -2
- package/dist/{chunk-WMLHJ5UW.js → chunk-X6ROIHFE.js} +2 -2
- package/dist/{chunk-DQEMWVMT.js → chunk-X7Y7WX73.js} +1 -1
- package/dist/{chunk-GCQIMJFH.js → chunk-XTAAG4SQ.js} +8 -8
- package/dist/{chunk-RSLXMGFP.js → chunk-ZN4UZWMT.js} +2 -2
- package/dist/{cli-DuMB83Mw.d.ts → cli-Zc6UclD1.d.ts} +5 -5
- package/dist/cli.d.ts +14 -12
- package/dist/cli.js +82 -80
- package/dist/compounding/engine.d.ts +3 -2
- package/dist/compounding/engine.js +9 -9
- package/dist/compounding/preference-consolidator.d.ts +2 -1
- package/dist/compression-optimizer.d.ts +2 -1
- package/dist/config.d.ts +2 -1
- package/dist/config.js +4 -3
- package/dist/connectors/codex-materialize-runner.d.ts +2 -1
- package/dist/connectors/codex-materialize-runner.js +9 -9
- package/dist/connectors/codex-materialize.d.ts +2 -1
- package/dist/connectors/index.d.ts +2 -1
- package/dist/connectors/index.js +12 -12
- package/dist/consolidation-provenance-check.d.ts +3 -2
- package/dist/consolidation-provenance-check.js +2 -2
- package/dist/consolidation-undo.d.ts +3 -2
- package/dist/contradiction/index.d.ts +3 -2
- package/dist/contradiction/index.js +1 -1
- package/dist/conversation-index/backend.d.ts +2 -1
- package/dist/conversation-index/backend.js +2 -2
- package/dist/conversation-index/chunker.d.ts +2 -1
- package/dist/conversation-index/faiss-adapter.d.ts +2 -1
- package/dist/conversation-index/indexer.d.ts +2 -1
- package/dist/conversation-index/search.d.ts +2 -1
- package/dist/corpus-watermark.d.ts +2 -1
- package/dist/corpus-watermark.js +18 -18
- package/dist/dashboard-runtime.js +2 -2
- package/dist/day-summary.d.ts +2 -1
- package/dist/delinearize.d.ts +2 -1
- package/dist/direct-answer-wiring.d.ts +2 -1
- package/dist/direct-answer.d.ts +2 -1
- package/dist/embedding-fallback.d.ts +2 -1
- package/dist/enrichment/index.d.ts +2 -1
- package/dist/entity-retrieval.d.ts +3 -2
- package/dist/entity-retrieval.js +9 -9
- package/dist/entity-schema.d.ts +2 -1
- package/dist/explicit-capture.d.ts +9 -8
- package/dist/explicit-capture.js +1 -1
- package/dist/extraction-error-classification.d.ts +2 -1
- package/dist/extraction-faithfulness.d.ts +2 -1
- package/dist/extraction-judge-telemetry.d.ts +2 -1
- package/dist/extraction-judge-training.d.ts +2 -1
- package/dist/extraction-judge.d.ts +2 -1
- package/dist/extraction-liveness.d.ts +5 -0
- package/dist/extraction-liveness.js +26 -0
- package/dist/extraction-liveness.js.map +1 -0
- package/dist/extraction.d.ts +2 -1
- package/dist/extraction.js +1 -1
- package/dist/fallback-llm.d.ts +2 -1
- package/dist/graph-dashboard-diff.d.ts +2 -1
- package/dist/graph-dashboard-key.d.ts +2 -1
- package/dist/graph-dashboard-parser.d.ts +2 -1
- package/dist/{graph-edge-decay-GF3ZSGSP.js → graph-edge-decay-Z6ENALU2.js} +4 -4
- package/dist/graph-edge-decay-Z6ENALU2.js.map +1 -0
- package/dist/graph-edge-reinforcement.d.ts +2 -1
- package/dist/graph-snapshot.d.ts +2 -1
- package/dist/graph-snapshot.js +3 -3
- package/dist/graph.d.ts +2 -1
- package/dist/graph.js +2 -2
- package/dist/importance.d.ts +2 -1
- package/dist/importers/index.d.ts +2 -1
- package/dist/in-flight-reads.d.ts +2 -1
- package/dist/index.d.ts +53 -51
- package/dist/index.js +229 -227
- package/dist/intent.d.ts +2 -1
- package/dist/lcm/engine.d.ts +2 -1
- package/dist/lcm/engine.js +2 -2
- package/dist/lcm/index.d.ts +2 -1
- package/dist/lcm/index.js +4 -4
- package/dist/lcm/tools.d.ts +2 -1
- package/dist/lifecycle.d.ts +2 -1
- package/dist/live-connectors-runner.d.ts +2 -1
- package/dist/local-llm.d.ts +2 -1
- package/dist/local-model-endpoint.d.ts +2 -1
- package/dist/maintenance/memory-governance.d.ts +2 -1
- package/dist/maintenance/memory-governance.js +9 -9
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +3 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +9 -9
- package/dist/maintenance/rebuild-memory-projection.d.ts +3 -2
- package/dist/maintenance/rebuild-memory-projection.js +10 -10
- package/dist/{maintenance-DGvDB1xF.d.ts → maintenance-DD22oIx9.d.ts} +3 -3
- package/dist/mcp-memory-inspector-app.d.ts +12 -10
- package/dist/memory-action-policy.d.ts +2 -1
- package/dist/memory-cache.d.ts +2 -1
- package/dist/memory-lifecycle-ledger-utils.d.ts +2 -1
- package/dist/memory-projection-store.d.ts +2 -1
- package/dist/memory-provenance.d.ts +2 -1
- package/dist/memory-worth-outcomes.d.ts +3 -2
- package/dist/models-json.d.ts +2 -1
- package/dist/namespaces/migrate.d.ts +4 -3
- package/dist/namespaces/migrate.js +16 -16
- package/dist/namespaces/principal.d.ts +2 -1
- package/dist/namespaces/search.d.ts +2 -1
- package/dist/namespaces/search.js +6 -6
- package/dist/namespaces/storage.d.ts +4 -3
- package/dist/namespaces/storage.js +9 -9
- package/dist/native-knowledge.d.ts +2 -1
- package/dist/offline-sync-impression-drain.d.ts +2 -1
- package/dist/offline-sync-impression-drain.js +1 -1
- package/dist/operator-doctor-corpus.d.ts +2 -15
- package/dist/operator-doctor-corpus.js +19 -19
- package/dist/operator-doctor-types.d.ts +22 -0
- package/dist/operator-doctor-types.js +1 -0
- package/dist/operator-doctor-types.js.map +1 -0
- package/dist/operator-toolkit.d.ts +10 -13
- package/dist/operator-toolkit.js +32 -28
- package/dist/orchestration/compression-guideline-coordinator.d.ts +3 -2
- package/dist/orchestration/maintenance.d.ts +5 -4
- package/dist/orchestration/maintenance.js +15 -15
- package/dist/{orchestrator-RXHefhAy.d.ts → orchestrator-BTGgoKli.d.ts} +7 -7
- package/dist/orchestrator.d.ts +9 -8
- package/dist/orchestrator.js +120 -118
- package/dist/patterns-cli.d.ts +2 -1
- package/dist/{pipeline-id_-sqYm.d.ts → pipeline-Bq5zU6Bp.d.ts} +1 -1
- package/dist/policy-runtime.d.ts +2 -1
- package/dist/proactive-contention.d.ts +2 -1
- package/dist/provenance.d.ts +2 -1
- package/dist/{qmd-R6XaQOZK.d.ts → qmd-3ILJkC70.d.ts} +1 -1
- package/dist/qmd-preflight.d.ts +3 -2
- package/dist/qmd-recall-cache.d.ts +2 -1
- package/dist/qmd.d.ts +3 -2
- package/dist/recall-concurrency-config.d.ts +2 -1
- package/dist/recall-disclosure-escalation.d.ts +2 -1
- package/dist/recall-explain-renderer.d.ts +2 -1
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-memory-map.d.ts +2 -1
- package/dist/recall-planner-llm.d.ts +2 -1
- package/dist/recall-state.d.ts +2 -1
- package/dist/recall-tag-filter.d.ts +2 -1
- package/dist/recall-timings.d.ts +2 -1
- package/dist/recall-xray-cli.d.ts +2 -1
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.d.ts +2 -1
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.d.ts +2 -1
- package/dist/recall-xray.js +2 -2
- package/dist/replay/normalizers/chatgpt.d.ts +2 -1
- package/dist/replay/normalizers/claude.d.ts +2 -1
- package/dist/replay/normalizers/openclaw.d.ts +2 -1
- package/dist/replay/normalizers/shared.d.ts +2 -1
- package/dist/replay/runner.d.ts +2 -1
- package/dist/replay/types.d.ts +2 -1
- package/dist/resolution-3K27T4VO.js +1 -1
- package/dist/resolve-auth-token.d.ts +2 -1
- package/dist/resume-bundles.js +6 -5
- package/dist/retrieval-agents.d.ts +3 -2
- package/dist/retrieval-tiers.d.ts +2 -1
- package/dist/routing/engine.d.ts +2 -1
- package/dist/routing/store.d.ts +2 -1
- package/dist/salvage-envelope.d.ts +2 -1
- package/dist/salvage-envelope.js +1 -1
- package/dist/{scope-profiles-EhyuAKkd.d.ts → scope-profiles-D0-ff4xT.d.ts} +1 -1
- package/dist/search/embed-helper.d.ts +2 -1
- package/dist/search/factory.d.ts +2 -1
- package/dist/search/factory.js +5 -5
- package/dist/search/index.d.ts +2 -1
- package/dist/search/index.js +9 -9
- package/dist/search/lancedb-backend.d.ts +2 -1
- package/dist/search/meilisearch-backend.d.ts +2 -1
- package/dist/search/noop-backend.d.ts +2 -1
- package/dist/search/orama-backend.d.ts +2 -1
- package/dist/search/port.d.ts +2 -1
- package/dist/search/remote-backend.d.ts +2 -1
- package/dist/{semantic-consolidation-B2xo26UQ.d.ts → semantic-consolidation-4Tfh7c1g.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +3 -2
- package/dist/semantic-consolidation.js +14 -14
- package/dist/semantic-rule-promotion.js +9 -9
- package/dist/semantic-rule-verifier.d.ts +2 -1
- package/dist/semantic-rule-verifier.js +9 -9
- package/dist/{service-BrWqlsZ4.d.ts → service-Z8uzoAST.d.ts} +2 -2
- package/dist/session-observer-bands.d.ts +2 -1
- package/dist/session-observer-state.d.ts +2 -1
- package/dist/shared-context/manager.d.ts +2 -1
- package/dist/signal.d.ts +2 -1
- package/dist/{storage-DgNVexXm.d.ts → storage-BZVMn8yJ.d.ts} +1 -1
- package/dist/storage.d.ts +3 -2
- package/dist/storage.js +8 -8
- package/dist/summarizer.d.ts +2 -1
- package/dist/summary-snapshot.d.ts +2 -1
- package/dist/temporal-supersession.d.ts +3 -2
- package/dist/temporal-timeline-recall.d.ts +2 -1
- package/dist/temporal-validity.d.ts +2 -1
- package/dist/threading.d.ts +2 -1
- package/dist/tier-migration.d.ts +3 -2
- package/dist/tier-routing.d.ts +2 -1
- package/dist/tokens.js +2 -2
- package/dist/topics.d.ts +2 -1
- package/dist/transcript.d.ts +2 -1
- package/dist/transfer/backup.js +4 -4
- package/dist/transfer/capsule-export.js +4 -4
- package/dist/transfer/capsule-import.js +3 -3
- package/dist/trust-score-stage.d.ts +2 -1
- package/dist/trust-score.d.ts +2 -1
- package/dist/{types-Bbs0qz6b.d.ts → types-DHBxIF0s.d.ts} +181 -5
- package/dist/types.d.ts +2 -1
- package/dist/types.js +1 -1
- package/dist/utility-runtime.d.ts +2 -1
- package/dist/verified-recall.js +9 -9
- package/dist/write-envelope.d.ts +2 -1
- package/dist/write-envelope.js +1 -1
- package/package.json +2 -2
- package/src/access-authorization-probe.ts +43 -0
- package/src/access-boundary.ts +2 -31
- package/src/access-health-types.ts +51 -0
- package/src/access-http.test.ts +94 -0
- package/src/access-http.ts +11 -0
- package/src/access-service-health.test.ts +212 -0
- package/src/access-service.ts +11 -39
- package/src/access-surface-catalog.test.ts +4 -3
- package/src/access-token-capabilities.ts +31 -0
- package/src/buffer.ts +30 -0
- package/src/cli.ts +2 -4
- package/src/config.ts +4 -4
- package/src/extraction-liveness.test.ts +461 -0
- package/src/extraction-liveness.ts +462 -0
- package/src/operator-doctor-types.ts +20 -0
- package/src/operator-toolkit.ts +9 -10
- package/src/types.ts +4 -4
- package/dist/chunk-354T54RR.js.map +0 -1
- package/dist/chunk-6MFMTNY4.js.map +0 -1
- package/dist/chunk-7AMFUATK.js.map +0 -1
- package/dist/chunk-CNUZ2PN2.js.map +0 -1
- package/dist/chunk-EXH5AK46.js.map +0 -1
- package/dist/chunk-SCOT5DTA.js.map +0 -1
- package/dist/chunk-ZLDMAGCB.js.map +0 -1
- package/dist/chunk-ZYU7ZFLT.js.map +0 -1
- /package/dist/{capsule-crypto-YO5QJ6L3.js.map → access-authorization-probe.js.map} +0 -0
- /package/dist/{graph-edge-decay-GF3ZSGSP.js.map → access-health-types.js.map} +0 -0
- /package/dist/{chunk-LEPOP46W.js.map → chunk-227UFSEQ.js.map} +0 -0
- /package/dist/{chunk-BXLOS5AJ.js.map → chunk-2NLLXCJG.js.map} +0 -0
- /package/dist/{chunk-34RC5RT7.js.map → chunk-2SA56WMI.js.map} +0 -0
- /package/dist/{chunk-POHSSW2T.js.map → chunk-3CDMIR3C.js.map} +0 -0
- /package/dist/{chunk-JRQBPN63.js.map → chunk-3UOSVTFR.js.map} +0 -0
- /package/dist/{chunk-AT7XL2JJ.js.map → chunk-6LRTGCRV.js.map} +0 -0
- /package/dist/{chunk-AJ7QCSIS.js.map → chunk-7CPOZH6Y.js.map} +0 -0
- /package/dist/{chunk-EHOTE26K.js.map → chunk-AGR7MGUX.js.map} +0 -0
- /package/dist/{chunk-D5ILARSD.js.map → chunk-AL4TZWI3.js.map} +0 -0
- /package/dist/{chunk-RPOSRICW.js.map → chunk-AT6DNUCM.js.map} +0 -0
- /package/dist/{chunk-KNB7IBBU.js.map → chunk-CKMO4RDY.js.map} +0 -0
- /package/dist/{chunk-5CPI2QWG.js.map → chunk-CSXHRAJJ.js.map} +0 -0
- /package/dist/{chunk-5XMJ2P62.js.map → chunk-DPYYSG6F.js.map} +0 -0
- /package/dist/{chunk-YNDLCWXS.js.map → chunk-EZ25VE3G.js.map} +0 -0
- /package/dist/{chunk-K3C6CJOF.js.map → chunk-FIGDB2HR.js.map} +0 -0
- /package/dist/{chunk-Z54EM5YZ.js.map → chunk-GF22HWS2.js.map} +0 -0
- /package/dist/{chunk-UZ7HGRHK.js.map → chunk-GNFZFJBJ.js.map} +0 -0
- /package/dist/{chunk-W6ROK2KU.js.map → chunk-HNZKVLAN.js.map} +0 -0
- /package/dist/{chunk-HVYOZAQ7.js.map → chunk-IE4HB6O5.js.map} +0 -0
- /package/dist/{chunk-RKNJBZ55.js.map → chunk-JBPKEARU.js.map} +0 -0
- /package/dist/{chunk-UZGJFIIG.js.map → chunk-JYIFGGEM.js.map} +0 -0
- /package/dist/{chunk-VDX2J7OX.js.map → chunk-KQAFEZQX.js.map} +0 -0
- /package/dist/{chunk-3SHB4YAW.js.map → chunk-L2DPF4DF.js.map} +0 -0
- /package/dist/{chunk-SPWOLGXT.js.map → chunk-LARPWF3S.js.map} +0 -0
- /package/dist/{chunk-NSRTLSBX.js.map → chunk-LFHMUWA2.js.map} +0 -0
- /package/dist/{chunk-AYAROCWD.js.map → chunk-LLISELSY.js.map} +0 -0
- /package/dist/{chunk-W3BKLKG6.js.map → chunk-LXKJNUND.js.map} +0 -0
- /package/dist/{chunk-MMTG3SCJ.js.map → chunk-M5EPMNS4.js.map} +0 -0
- /package/dist/{chunk-KYP5FSPG.js.map → chunk-MNLZGCM2.js.map} +0 -0
- /package/dist/{chunk-TMX4MBSK.js.map → chunk-MPDX5QMH.js.map} +0 -0
- /package/dist/{chunk-PO5LSKQO.js.map → chunk-MU7ZHSZE.js.map} +0 -0
- /package/dist/{chunk-JVOA5VDZ.js.map → chunk-NMGO2HAZ.js.map} +0 -0
- /package/dist/{chunk-CAGPP5NB.js.map → chunk-NRV4Y3PM.js.map} +0 -0
- /package/dist/{chunk-H2M4YA6K.js.map → chunk-NVYCTASB.js.map} +0 -0
- /package/dist/{chunk-M2PG7OTI.js.map → chunk-P25IPRXP.js.map} +0 -0
- /package/dist/{chunk-FPJWQZ35.js.map → chunk-SZN6XVFC.js.map} +0 -0
- /package/dist/{chunk-4E3DWNTJ.js.map → chunk-THHPDPMS.js.map} +0 -0
- /package/dist/{chunk-XPLTZEJU.js.map → chunk-U37RGPJT.js.map} +0 -0
- /package/dist/{chunk-3UD5ZAUA.js.map → chunk-VY6SDKWZ.js.map} +0 -0
- /package/dist/{chunk-XJTYLU6J.js.map → chunk-W4ZDTHWZ.js.map} +0 -0
- /package/dist/{chunk-3NAHZQU3.js.map → chunk-X3SQYAPP.js.map} +0 -0
- /package/dist/{chunk-WMLHJ5UW.js.map → chunk-X6ROIHFE.js.map} +0 -0
- /package/dist/{chunk-DQEMWVMT.js.map → chunk-X7Y7WX73.js.map} +0 -0
- /package/dist/{chunk-GCQIMJFH.js.map → chunk-XTAAG4SQ.js.map} +0 -0
- /package/dist/{chunk-RSLXMGFP.js.map → chunk-ZN4UZWMT.js.map} +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { LcmMessagePartInput, MessagePartSourceFormat } from './message-parts/index.js';
|
|
2
2
|
import { BoundedJsonlStateConfig } from './bounded-jsonl-state.js';
|
|
3
|
+
import { OperatorDoctorCheck } from './operator-doctor-types.js';
|
|
3
4
|
import './types-continuity.js';
|
|
4
5
|
|
|
5
6
|
interface BulkImportSource {
|
|
@@ -945,6 +946,182 @@ interface WearableSourceStatus {
|
|
|
945
946
|
transcriptDays: number;
|
|
946
947
|
}
|
|
947
948
|
|
|
949
|
+
interface ExtractionLivenessConfig {
|
|
950
|
+
/** Master gate. When false, liveness is never reported degraded. Default true. */
|
|
951
|
+
enabled: boolean;
|
|
952
|
+
/**
|
|
953
|
+
* How stale the last-successful-extraction watermark may get (ms) before a
|
|
954
|
+
* non-empty buffer flags the pipeline degraded. Default 24h.
|
|
955
|
+
*/
|
|
956
|
+
staleWindowMs: number;
|
|
957
|
+
}
|
|
958
|
+
/**
|
|
959
|
+
* A read-only snapshot of buffered, not-yet-extracted work. Structurally
|
|
960
|
+
* satisfied by `SmartBuffer.getBufferSnapshot()` so callers can pass the live
|
|
961
|
+
* buffer without this module depending on the buffer implementation.
|
|
962
|
+
*/
|
|
963
|
+
interface ExtractionBufferSnapshot {
|
|
964
|
+
bufferedSessionCount: number;
|
|
965
|
+
pendingTurnCount: number;
|
|
966
|
+
oldestTurnTimestamp: string | null;
|
|
967
|
+
/**
|
|
968
|
+
* Set by the liveness reader (never by `SmartBuffer`) when the buffer exists
|
|
969
|
+
* but its snapshot read threw. An unreadable buffer is a pipeline fault, not
|
|
970
|
+
* an empty queue (§22): it degrades the pipeline with a distinct reason
|
|
971
|
+
* instead of masquerading as a zero-backlog (healthy) snapshot.
|
|
972
|
+
*/
|
|
973
|
+
readFailed?: boolean;
|
|
974
|
+
/** Read-failure detail, surfaced in the degraded reason when `readFailed`. */
|
|
975
|
+
readError?: string;
|
|
976
|
+
}
|
|
977
|
+
interface ExtractionBufferSource {
|
|
978
|
+
getBufferSnapshot(): Promise<ExtractionBufferSnapshot>;
|
|
979
|
+
}
|
|
980
|
+
/**
|
|
981
|
+
* The liveness payload surfaced on `/health.extraction` and in the doctor/stats
|
|
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.
|
|
997
|
+
*/
|
|
998
|
+
interface ExtractionLivenessStatus {
|
|
999
|
+
lastExtractionAt: string | null;
|
|
1000
|
+
bufferedSessionCount: number;
|
|
1001
|
+
pendingTurnCount: number;
|
|
1002
|
+
oldestBufferedTurnAgeMs: number | null;
|
|
1003
|
+
degraded: boolean;
|
|
1004
|
+
degradedReason: string | null;
|
|
1005
|
+
/**
|
|
1006
|
+
* Scope of the last-extraction watermark: `root-store` today (read from the
|
|
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">>;
|
|
1016
|
+
}
|
|
1017
|
+
interface ExtractionLivenessOrchestratorLike {
|
|
1018
|
+
config: Pick<PluginConfig, "extractionLiveness">;
|
|
1019
|
+
buffer?: ExtractionBufferSource;
|
|
1020
|
+
}
|
|
1021
|
+
/**
|
|
1022
|
+
* Parse the `extractionLiveness` config block. Follows the nested-block shape
|
|
1023
|
+
* validation used elsewhere in `config.ts` and coerces string booleans (§24:
|
|
1024
|
+
* CLI/JSON deliver `"false"`/`"0"` as strings, which must read as falsy).
|
|
1025
|
+
*/
|
|
1026
|
+
declare function parseExtractionLivenessConfig(cfg: Record<string, unknown>): ExtractionLivenessConfig;
|
|
1027
|
+
/** Compact human-readable duration ("3d", "5h", "12m", "45s") for logs and CLI output. */
|
|
1028
|
+
declare function formatAgeMs(ms: number): string;
|
|
1029
|
+
/**
|
|
1030
|
+
* Pure liveness verdict. Degraded when the feature is enabled AND any of: the
|
|
1031
|
+
* last-extraction watermark could not be READ (a storage fault, §22), the buffer
|
|
1032
|
+
* read failed (a pipeline fault, §22), or the buffer is non-empty and the
|
|
1033
|
+
* watermark is absent or stale. Each cause yields a DISTINCT reason so an
|
|
1034
|
+
* operator can tell a meta-read failure from a buffer-read failure from a
|
|
1035
|
+
* pipeline that has genuinely never extracted.
|
|
1036
|
+
*
|
|
1037
|
+
* Staleness uses a half-open freshness window (§23): an extraction is fresh
|
|
1038
|
+
* while its age is in `[0, staleWindowMs)`, so an age of EXACTLY `staleWindowMs`
|
|
1039
|
+
* is stale (the upper bound on "fresh" is exclusive). A null/unparsable watermark
|
|
1040
|
+
* means "never succeeded" and is treated as stale — as is a FUTURE watermark (a
|
|
1041
|
+
* clock-skewed or corrupt timestamp ahead of now must not read as a fresh
|
|
1042
|
+
* extraction and hide a real backlog stall).
|
|
1043
|
+
*/
|
|
1044
|
+
declare function evaluateExtractionLiveness(input: {
|
|
1045
|
+
config: ExtractionLivenessConfig;
|
|
1046
|
+
lastExtractionAt: string | null;
|
|
1047
|
+
snapshot: ExtractionBufferSnapshot;
|
|
1048
|
+
nowMs: number;
|
|
1049
|
+
metaReadFailed?: boolean;
|
|
1050
|
+
metaReadError?: string;
|
|
1051
|
+
watermarkScope?: "root-store" | "aggregate";
|
|
1052
|
+
}): ExtractionLivenessStatus;
|
|
1053
|
+
/**
|
|
1054
|
+
* Gather the liveness status from a meta store (last-extraction watermark) and
|
|
1055
|
+
* an optional buffer (backlog). A read failure on EITHER side is captured and
|
|
1056
|
+
* surfaced as a DEGRADED status with a distinct reason (§22) rather than being
|
|
1057
|
+
* swallowed into a healthy-looking verdict; no failure path throws.
|
|
1058
|
+
*/
|
|
1059
|
+
declare function gatherExtractionLivenessStatus(input: {
|
|
1060
|
+
config: ExtractionLivenessConfig;
|
|
1061
|
+
storage: ExtractionLivenessStorageLike;
|
|
1062
|
+
buffer: ExtractionBufferSource | undefined;
|
|
1063
|
+
nowMs: number;
|
|
1064
|
+
}): Promise<ExtractionLivenessStatus>;
|
|
1065
|
+
/**
|
|
1066
|
+
* Aggregated-WARN throttle (issue #2151): emit at most ONE warning per
|
|
1067
|
+
* staleness window while degraded — not one line per failed extraction attempt.
|
|
1068
|
+
* State is instance-scoped (held by the owning service), never a module global
|
|
1069
|
+
* (§5), so multiple service instances throttle independently.
|
|
1070
|
+
*/
|
|
1071
|
+
declare class ExtractionLivenessWarnThrottle {
|
|
1072
|
+
private lastWarnAtMs;
|
|
1073
|
+
/** Warn if degraded and outside the throttle window; returns whether a WARN was emitted. */
|
|
1074
|
+
maybeWarn(status: ExtractionLivenessStatus, staleWindowMs: number, nowMs: number): boolean;
|
|
1075
|
+
}
|
|
1076
|
+
/**
|
|
1077
|
+
* Normalize the `extractionLiveness` block at the read boundary. `parseConfig`
|
|
1078
|
+
* always populates it, but a host adapter, an older persisted config, or a
|
|
1079
|
+
* hand-built `PluginConfig` can hand us an absent, partial, or loosely-typed
|
|
1080
|
+
* block - and every liveness surface (/health, doctor, stats) must degrade to
|
|
1081
|
+
* the documented default (enabled, 24h window) rather than throw. Both fields
|
|
1082
|
+
* are coerced with the same rules as `parseExtractionLivenessConfig` (§24:
|
|
1083
|
+
* `"false"`/`"0"` read as falsy; a numeric string like `"5000"` parses), except a
|
|
1084
|
+
* present but non-integer or non-positive `staleWindowMs` falls back to the
|
|
1085
|
+
* default here rather than throwing.
|
|
1086
|
+
*/
|
|
1087
|
+
declare function resolveExtractionLivenessConfig(block: {
|
|
1088
|
+
enabled?: unknown;
|
|
1089
|
+
staleWindowMs?: unknown;
|
|
1090
|
+
} | undefined): ExtractionLivenessConfig;
|
|
1091
|
+
/**
|
|
1092
|
+
* Compute the liveness status for the authenticated `/health` payload and emit
|
|
1093
|
+
* the throttled aggregated WARN.
|
|
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`).
|
|
1101
|
+
*/
|
|
1102
|
+
declare function computeExtractionLivenessStatus(orchestrator: ExtractionLivenessOrchestratorLike & {
|
|
1103
|
+
storage: ExtractionLivenessStorageLike;
|
|
1104
|
+
}, throttle?: ExtractionLivenessWarnThrottle, nowMs?: number): Promise<ExtractionLivenessStatus>;
|
|
1105
|
+
/**
|
|
1106
|
+
* `remnic doctor` check for extraction-pipeline liveness. Status `warn` when
|
|
1107
|
+
* degraded (with a remediation hint), `ok` otherwise.
|
|
1108
|
+
*/
|
|
1109
|
+
declare function summarizeExtractionLiveness(config: Pick<PluginConfig, "extractionLiveness">, storage: ExtractionLivenessStorageLike, buffer?: ExtractionBufferSource, nowMs?: number): Promise<OperatorDoctorCheck>;
|
|
1110
|
+
/** Meta fields the `remnic stats` view renders directly, beyond the liveness watermark. */
|
|
1111
|
+
type ExtractionStatsMeta = Pick<MetaState, "extractionCount" | "lastExtractionAt" | "lastConsolidationAt">;
|
|
1112
|
+
/**
|
|
1113
|
+
* Lines for `remnic stats`: extraction watermark, buffer backlog, and the
|
|
1114
|
+
* liveness verdict so dashboards can alert on a stalled pipeline. The meta
|
|
1115
|
+
* watermark is loaded HERE (not by the caller) so a meta-read failure surfaces
|
|
1116
|
+
* as an explicit DEGRADED verdict plus "unavailable" counts (§22) instead of
|
|
1117
|
+
* crashing the whole `stats` command.
|
|
1118
|
+
*/
|
|
1119
|
+
declare function renderExtractionLivenessStats(orchestrator: ExtractionLivenessOrchestratorLike & {
|
|
1120
|
+
storage: {
|
|
1121
|
+
loadMeta(): Promise<ExtractionStatsMeta>;
|
|
1122
|
+
};
|
|
1123
|
+
}, nowMs?: number): Promise<string[]>;
|
|
1124
|
+
|
|
948
1125
|
/**
|
|
949
1126
|
* dreams-ledger.ts — per-phase telemetry for the Dreams consolidation pipeline.
|
|
950
1127
|
*
|
|
@@ -2092,10 +2269,9 @@ interface PluginConfig extends BoundedJsonlStateConfig {
|
|
|
2092
2269
|
*/
|
|
2093
2270
|
dreamsPhases: DreamsPhasesConfig;
|
|
2094
2271
|
procedural: ProceduralConfig;
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
*
|
|
2098
|
-
* defaults. PR 1 parses + persists only; extraction wiring lands in PR 2.
|
|
2272
|
+
extractionLiveness: ExtractionLivenessConfig;
|
|
2273
|
+
/** Claim-level provenance spans (#1575); see `ProvenanceConfig` for defaults.
|
|
2274
|
+
* PR 1 parses + persists only; extraction wiring lands in PR 2.
|
|
2099
2275
|
*/
|
|
2100
2276
|
provenance: ProvenanceConfig;
|
|
2101
2277
|
/**
|
|
@@ -4450,4 +4626,4 @@ interface HourlySummary {
|
|
|
4450
4626
|
generatedAt: string;
|
|
4451
4627
|
}
|
|
4452
4628
|
|
|
4453
|
-
export { type
|
|
4629
|
+
export { type ActiveRecallThinking 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 ProvenanceSource as J, type TrustWeights as K, type LiveConnectorsConfig as L, type MemoryFile as M, type ConversationThread as N, type LifecycleState as O, type PluginConfig as P, type QmdSearchResult as Q, type RecallPlanMode as R, type SessionObserverBandConfig as S, type TranscriptEntry as T, type PolicyClass as U, type VerificationState as V, type ExtractionFailureClass as W, type ImportanceLevel as X, type ActiveRecallChatType as Y, type ActiveRecallQueryMode as Z, type ActiveRecallPromptStyle as _, type DreamsRunResult as a, type MeetingBuildInput as a$, type ActiveRecallModelFallbackPolicy as a0, type BehaviorSignalEvent as a1, type BufferSurpriseEvent as a2, type ImportTurn as a3, type BulkImportOptions as a4, type BulkImportSource as a5, type BulkImportResult as a6, type SecretRef as a7, type AgentAccessAuthToken as a8, type CompressionGuidelineOptimizerEventCounts as a9, type ActivitySourceConfig as aA, type ActivitySourceClient as aB, type FusedWearableConversation as aC, type FusedDayMeta as aD, type FusedDayFile as aE, type MeetingRecord as aF, type MeetingDetectionSource as aG, type FusedMeeting as aH, type EntityTimelineEntry as aI, type MemoryLink as aJ, type BufferState as aK, type MetaState as aL, type FileHygieneConfig as aM, type EntityRelationship as aN, type EntityActivityEntry as aO, type AccessTrackingEntry as aP, type MemorySummary as aQ, type WearableConversation as aR, type WearableSourceSettings as aS, type WearableNativeMemory as aT, type WearableMemoryMode as aU, type WearableSourceConnector as aV, type WearablesConfig as aW, type WearableSyncSummary as aX, type WearableSourceStatus as aY, type WearableDayTranscript as aZ, type WearableCorrectionRule as a_, type CompressionGuidelineOptimizerActionSummary as aa, type CompressionGuidelineOptimizerRuleUpdate as ab, type MemoryActionType as ac, type MemoryActionEvent as ad, type CompressionGuidelineOptimizerState as ae, type EntityMention as af, type EntitySchemaDefinition as ag, type EntitySchemaSectionDefinition as ah, type EntityStructuredSection as ai, type ImportanceScore as aj, type MemoryIntent as ak, type MemoryActionEligibilityContext as al, type MemoryActionPolicyResult as am, type MemoryLifecycleEventType as an, type MemoryLifecycleStateSummary as ao, type ModelProviderConfig as ap, type NativeKnowledgeConfig as aq, type ExtractionBufferSource as ar, summarizeExtractionLiveness as as, type ProvenanceConfig as at, type RetrievalTier as au, type SignalScanResult as av, type TopicScore as aw, type QmdSearchExplain as ax, type ActivitySnapshot as ay, type ActivityConfig as az, type RecallDisclosure as b, evaluateExtractionLiveness as b$, type MeetingsConfig as b0, type MeetingsDetectionInput as b1, type FusionConversationInput as b2, type MeetingActivitySnapshot as b3, type DetectedMeeting as b4, type CodingContext as b5, type DreamsStatusResult as b6, type RecallSectionConfig as b7, type BootstrapOptions as b8, type BootstrapResult as b9, type DisagreementKind as bA, type ExtractedFact as bB, type FusedContribution as bC, type FusedConversationProvenance as bD, type FusedSegmentProvenance as bE, type FusionSegmentInput as bF, type ImportSourceRole as bG, type ImportTurnValidationIssue as bH, type MeetingScreenContextEvent as bI, type MeetingSummaryMode as bJ, type MemoryActionEligibilitySource as bK, type MemoryObservation as bL, type MemoryScope as bM, RECALL_DISCLOSURE_LEVELS as bN, type SegmentPickReason as bO, type WearableAuthCheck as bP, type WearableFetchOptions as bQ, type WearableFetchPage as bR, type WearableNativeMemoryPage as bS, type WearableTranscriptSegment as bT, isImportRole as bU, isRecallDisclosure as bV, parseIsoTimestamp as bW, validateImportTurn as bX, type ExtractionLivenessConfig as bY, ExtractionLivenessWarnThrottle as bZ, computeExtractionLivenessStatus as b_, type ConsolidationObservation as ba, type CodingModeConfig as bb, type FusedSpeaker as bc, type FusedSegment as bd, type FusedDisagreement as be, type FusionOptions as bf, type FusionDayResult as bg, type CodingKnowledgeConfig as bh, type WearableCleanupSettings as bi, type WearableFusionConfig as bj, type WearableDayTranscriptMeta as bk, type ActivityDayMeta as bl, type ActivityDayDigest as bm, type ActivitySourceCheck as bn, type ActivitySnapshotPage as bo, type MeetingsDetectionConfig as bp, type MeetingAudioWindow as bq, type MeetingAppSpan as br, type ActivityExtractionMode as bs, type BriefingConfig as bt, type BriefingOpenCommitment as bu, type BriefingWindow as bv, type BulkImportError as bw, type BulkImportSourceAdapter as bx, type CodexCompatConfig as by, DEFAULT_RECALL_DISCLOSURE as bz, type RecallTierExplain as c, type ProceduralConfig as c$, formatAgeMs as c0, gatherExtractionLivenessStatus as c1, parseExtractionLivenessConfig as c2, renderExtractionLivenessStats as c3, resolveExtractionLivenessConfig as c4, type AgentAccessHttpConfig as c5, type AgentDefaultsConfig as c6, type AgentPersona as c7, type BehaviorLoopAdjustment as c8, type BehaviorSignalDirection as c9, type ExtractedQuestion as cA, type ExtractedReasoningTrace as cB, type ExtractedReasoningTraceStep as cC, type ExtractedRelationship as cD, type ExtractionPassSource as cE, type GitHubLiveConnectorConfig as cF, type GmailLiveConnectorConfig as cG, type GoogleDriveLiveConnectorConfig as cH, type HeartbeatConfig as cI, type HeartbeatDetectionMode as cJ, type LlmTraceCallback as cK, type LlmTraceEvent as cL, type MemoryActionOutcome as cM, type MemoryActionPolicyDecision as cN, type MemoryActionStatus as cO, type MemoryLinkType as cP, type MemoryOsPresetName as cQ, type ModelApi as cR, type ModelDefinitionConfig as cS, type ModelProviderAuthMode as cT, type NamespacePolicy as cU, type NativeKnowledgeFolderRuleConfig as cV, type NativeKnowledgeObsidianVaultConfig as cW, type NativeKnowledgeOpenClawWorkspaceConfig as cX, type NotionLiveConnectorConfig as cY, type PrincipalFromSessionKeyMode as cZ, type PrincipalRule as c_, type BehaviorSignalType as ca, type BriefingCalendarSourceError as cb, type BufferEntryState as cc, type CaptureMode as cd, type ChatConfig as ce, type CodexCliReasoningEffort as cf, type CodexCompactionFlushMode as cg, type CodexConnectorConfig as ch, type CodingGraphLspConfig as ci, type CompressionGuidelineActivationState as cj, type CompressionGuidelineOptimizerSourceWindow as ck, type ConfidenceTier as cl, type ConsolidationAction as cm, type ConsolidationItem as cn, type ContradictionScanConfig as co, type CronConversationRecallMode as cp, type CronRecallMode as cq, type DreamingConfig as cr, type DreamingNarrativePromptStyle as cs, type DreamsDeepSleepConfig as ct, type DreamsLightSleepConfig as cu, type DreamsPhaseStatus as cv, type DreamsPhasesConfig as cw, type DreamsRemConfig as cx, type EngramTraceEvent as cy, type ExtractedProcedureStep as cz, type BriefingFollowup as d, type QuestionEntry as d0, type ReasoningEffort as d1, type RecallPipelineConfig as d2, type RecallTraceEvent as d3, type RelevanceFeedback as d4, SPECULATIVE_TTL_DAYS as d5, type ScopeProfileAutoPromoteConfig as d6, type ScopeProfileTeamProjectConfig as d7, type ScopeTeamConfig as d8, type ScoredEntity as d9, type SemanticChunkingConfigShape as da, type SignalLevel as db, type SlotBehaviorConfig as dc, type SlotMismatchMode as dd, type TriggerMode as de, confidenceTier as df, 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 ExtractionLivenessStatus as s, type MemoryCategory as t, type MemoryStatus as u, type MemoryProjectionCurrentState as v, type MemoryLifecycleEvent as w, type ExtractionResult as x, type ConsolidationResult as y, type DaySummaryResult as z };
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aP as AccessTrackingEntry, Y as ActiveRecallChatType, a0 as ActiveRecallModelFallbackPolicy, _ as ActiveRecallPromptStyle, Z as ActiveRecallQueryMode, $ as ActiveRecallThinking, a8 as AgentAccessAuthToken, c5 as AgentAccessHttpConfig, c6 as AgentDefaultsConfig, c7 as AgentPersona, A as AgentPersonaModelConfig, c8 as BehaviorLoopAdjustment, r as BehaviorLoopPolicyState, c9 as BehaviorSignalDirection, a1 as BehaviorSignalEvent, ca as BehaviorSignalType, b8 as BootstrapOptions, b9 as BootstrapResult, g as BriefingActiveThread, cb as BriefingCalendarSourceError, bt as BriefingConfig, e as BriefingFocus, d as BriefingFollowup, bu as BriefingOpenCommitment, i as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bv as BriefingWindow, cc as BufferEntryState, aK as BufferState, a2 as BufferSurpriseEvent, j as BufferTurn, f as CalendarEvent, C as CalendarSource, cd as CaptureMode, ce as ChatConfig, m as Checkpoint, cf as CodexCliReasoningEffort, cg as CodexCompactionFlushMode, by as CodexCompatConfig, ch as CodexConnectorConfig, b5 as CodingContext, ci as CodingGraphLspConfig, bh as CodingKnowledgeConfig, bb as CodingModeConfig, cj as CompressionGuidelineActivationState, aa as CompressionGuidelineOptimizerActionSummary, a9 as CompressionGuidelineOptimizerEventCounts, ab as CompressionGuidelineOptimizerRuleUpdate, ck as CompressionGuidelineOptimizerSourceWindow, ae as CompressionGuidelineOptimizerState, cl as ConfidenceTier, cm as ConsolidationAction, cn as ConsolidationItem, ba as ConsolidationObservation, y as ConsolidationResult, co as ContradictionScanConfig, N as ConversationThread, cp as CronConversationRecallMode, cq as CronRecallMode, bz as DEFAULT_RECALL_DISCLOSURE, z as DaySummaryResult, cr as DreamingConfig, cs as DreamingNarrativePromptStyle, ct as DreamsDeepSleepConfig, cu as DreamsLightSleepConfig, D as DreamsPhase, cv as DreamsPhaseStatus, cw as DreamsPhasesConfig, cx as DreamsRemConfig, a as DreamsRunResult, b6 as DreamsStatusResult, cy as EngramTraceEvent, aO as EntityActivityEntry, E as EntityFile, af as EntityMention, aN as EntityRelationship, ag as EntitySchemaDefinition, ah as EntitySchemaSectionDefinition, ai as EntityStructuredSection, aI as EntityTimelineEntry, bB as ExtractedFact, cz as ExtractedProcedureStep, cA as ExtractedQuestion, cB as ExtractedReasoningTrace, cC as ExtractedReasoningTraceStep, cD as ExtractedRelationship, W as ExtractionFailureClass, cE as ExtractionPassSource, x as ExtractionResult, F as FaithfulnessFrontmatter, aM as FileHygieneConfig, G as GatewayConfig, cF as GitHubLiveConnectorConfig, cG as GmailLiveConnectorConfig, cH as GoogleDriveLiveConnectorConfig, cI as HeartbeatConfig, cJ as HeartbeatDetectionMode, H as HourlySummary, I as IdentityInjectionMode, X as ImportanceLevel, aj as ImportanceScore, O as LifecycleState, L as LiveConnectorsConfig, cK as LlmTraceCallback, cL as LlmTraceEvent, al as MemoryActionEligibilityContext, bK as MemoryActionEligibilitySource, ad as MemoryActionEvent, cM as MemoryActionOutcome, cN as MemoryActionPolicyDecision, am as MemoryActionPolicyResult, cO as MemoryActionStatus, ac as MemoryActionType, t as MemoryCategory, M as MemoryFile, l as MemoryFrontmatter, ak as MemoryIntent, w as MemoryLifecycleEvent, an as MemoryLifecycleEventType, ao as MemoryLifecycleStateSummary, aJ as MemoryLink, cP as MemoryLinkType, bL as MemoryObservation, cQ as MemoryOsPresetName, v as MemoryProjectionCurrentState, bM as MemoryScope, u as MemoryStatus, aQ as MemorySummary, aL as MetaState, cR as ModelApi, cS as ModelDefinitionConfig, cT as ModelProviderAuthMode, ap as ModelProviderConfig, cU as NamespacePolicy, aq as NativeKnowledgeConfig, cV as NativeKnowledgeFolderRuleConfig, cW as NativeKnowledgeObsidianVaultConfig, cX as NativeKnowledgeOpenClawWorkspaceConfig, cY as NotionLiveConnectorConfig, P as PluginConfig, U as PolicyClass, cZ as PrincipalFromSessionKeyMode, c_ as PrincipalRule, c$ as ProceduralConfig, at as ProvenanceConfig, J as ProvenanceSource, ax as QmdSearchExplain, Q as QmdSearchResult, d0 as QuestionEntry, bN as RECALL_DISCLOSURE_LEVELS, d1 as ReasoningEffort, b as RecallDisclosure, d2 as RecallPipelineConfig, R as RecallPlanMode, b7 as RecallSectionConfig, c as RecallTierExplain, d3 as RecallTraceEvent, d4 as RelevanceFeedback, au as RetrievalTier, d5 as SPECULATIVE_TTL_DAYS, d6 as ScopeProfileAutoPromoteConfig, o as ScopeProfileConfig, p as ScopeProfileLayerId, q as ScopeProfilePromotionTarget, d7 as ScopeProfileTeamProjectConfig, d8 as ScopeTeamConfig, d9 as ScoredEntity, a7 as SecretRef, da as SemanticChunkingConfigShape, S as SessionObserverBandConfig, db as SignalLevel, av as SignalScanResult, dc as SlotBehaviorConfig, dd as SlotMismatchMode, n as SourceConnectorProvenance, aw as TopicScore, T as TranscriptEntry, de as TriggerMode, K as TrustWeights, V as VerificationState, df as confidenceTier, bV as isRecallDisclosure } from './types-DHBxIF0s.js';
|
|
2
2
|
import './message-parts/index.js';
|
|
3
3
|
import './bounded-jsonl-state.js';
|
|
4
4
|
export { ContinuityImprovementLoop, ContinuityIncidentCloseInput, ContinuityIncidentOpenInput, ContinuityIncidentRecord, ContinuityIncidentState, ContinuityLoopCadence, ContinuityLoopReviewInput, ContinuityLoopStatus, ContinuityLoopUpsertInput } from './types-continuity.js';
|
|
5
|
+
import './operator-doctor-types.js';
|
package/dist/types.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { TierRoutingPolicy } from './tier-routing.js';
|
|
2
|
-
import './types-
|
|
2
|
+
import './types-DHBxIF0s.js';
|
|
3
3
|
import './message-parts/index.js';
|
|
4
4
|
import './bounded-jsonl-state.js';
|
|
5
|
+
import './operator-doctor-types.js';
|
|
5
6
|
import './types-continuity.js';
|
|
6
7
|
import './lifecycle.js';
|
|
7
8
|
|
package/dist/verified-recall.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compareVerifiedEpisodeResults,
|
|
3
3
|
searchVerifiedEpisodes
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VY6SDKWZ.js";
|
|
5
5
|
import "./chunk-B7RWBZXW.js";
|
|
6
6
|
import "./chunk-ZBJMUXZH.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-XTAAG4SQ.js";
|
|
8
8
|
import "./chunk-UHVXE24Y.js";
|
|
9
9
|
import "./chunk-2QMKMVHH.js";
|
|
10
10
|
import "./chunk-DEBHXHJR.js";
|
|
@@ -12,7 +12,7 @@ import "./chunk-DNHVPZOD.js";
|
|
|
12
12
|
import "./chunk-6CIAGZ6X.js";
|
|
13
13
|
import "./chunk-J6A3CX5N.js";
|
|
14
14
|
import "./chunk-HKF5VASQ.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-V25OWXAC.js";
|
|
16
16
|
import "./chunk-XKGPIWGI.js";
|
|
17
17
|
import "./chunk-EGGE52UU.js";
|
|
18
18
|
import "./chunk-GCASGYIO.js";
|
|
@@ -28,31 +28,31 @@ import "./chunk-R3DJVOSM.js";
|
|
|
28
28
|
import "./chunk-BT7NVCML.js";
|
|
29
29
|
import "./chunk-JYIJNNN3.js";
|
|
30
30
|
import "./chunk-AAD2ZS6P.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-W5H6ZRPT.js";
|
|
32
32
|
import "./chunk-5VQJBH2G.js";
|
|
33
33
|
import "./chunk-AITCS2RC.js";
|
|
34
34
|
import "./chunk-XMMESCPD.js";
|
|
35
35
|
import "./chunk-42JKGUFJ.js";
|
|
36
36
|
import "./chunk-PDJTHRAW.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-G7D6GZ5J.js";
|
|
38
38
|
import "./chunk-C23BYTJV.js";
|
|
39
39
|
import "./chunk-QIEUU4UK.js";
|
|
40
40
|
import "./chunk-L2EXJQJP.js";
|
|
41
41
|
import "./chunk-45GF7Y3V.js";
|
|
42
42
|
import "./chunk-RGMVMVMF.js";
|
|
43
43
|
import "./chunk-N7RWREIQ.js";
|
|
44
|
-
import "./chunk-BJMBJZ2Y.js";
|
|
45
|
-
import "./chunk-UKJAGEXH.js";
|
|
46
|
-
import "./chunk-FP2373TW.js";
|
|
47
44
|
import "./chunk-5I4M26Q7.js";
|
|
48
45
|
import "./chunk-5GKPFL3S.js";
|
|
49
46
|
import "./chunk-4DJQYKMN.js";
|
|
50
47
|
import "./chunk-PQVCH2AE.js";
|
|
51
48
|
import "./chunk-EYIEWJNI.js";
|
|
52
49
|
import "./chunk-JUC24CTX.js";
|
|
53
|
-
import "./chunk-P7FMDTKL.js";
|
|
54
50
|
import "./chunk-6MKAMLQL.js";
|
|
55
51
|
import "./chunk-JAKIDQB2.js";
|
|
52
|
+
import "./chunk-BJMBJZ2Y.js";
|
|
53
|
+
import "./chunk-UKJAGEXH.js";
|
|
54
|
+
import "./chunk-FP2373TW.js";
|
|
55
|
+
import "./chunk-P7FMDTKL.js";
|
|
56
56
|
import "./chunk-RDQGLJRR.js";
|
|
57
57
|
import "./chunk-FF4KLI5W.js";
|
|
58
58
|
import "./chunk-AIK5W3IW.js";
|
package/dist/write-envelope.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as MemoryCategory } from './types-DHBxIF0s.js';
|
|
2
2
|
import './message-parts/index.js';
|
|
3
3
|
import './bounded-jsonl-state.js';
|
|
4
|
+
import './operator-doctor-types.js';
|
|
4
5
|
import './types-continuity.js';
|
|
5
6
|
|
|
6
7
|
/**
|
package/dist/write-envelope.js
CHANGED
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
import "./chunk-R3DJVOSM.js";
|
|
16
16
|
import "./chunk-BT7NVCML.js";
|
|
17
17
|
import "./chunk-5GKPFL3S.js";
|
|
18
|
-
import "./chunk-P7FMDTKL.js";
|
|
19
18
|
import "./chunk-JAKIDQB2.js";
|
|
19
|
+
import "./chunk-P7FMDTKL.js";
|
|
20
20
|
import "./chunk-PZ5AY32C.js";
|
|
21
21
|
export {
|
|
22
22
|
FINGERPRINT_EXEMPT_FIELDS,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remnic/core",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.25.0",
|
|
4
4
|
"description": "Framework-agnostic Remnic memory engine — orchestrator, storage, extraction, search, trust zones",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -3056,7 +3056,7 @@
|
|
|
3056
3056
|
"core"
|
|
3057
3057
|
],
|
|
3058
3058
|
"peerDependencies": {
|
|
3059
|
-
"@remnic/coding-graph": "^9.
|
|
3059
|
+
"@remnic/coding-graph": "^9.25.0"
|
|
3060
3060
|
},
|
|
3061
3061
|
"peerDependenciesMeta": {
|
|
3062
3062
|
"@remnic/coding-graph": {
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getOperation, type OperationName, OPERATION_NAMES } from "./access-boundary.js";
|
|
2
|
+
import { EngramAccessInputError } from "./access-errors.js";
|
|
3
|
+
import {
|
|
4
|
+
assertOperationAuthorizationAllowed,
|
|
5
|
+
type TokenCapabilities,
|
|
6
|
+
} from "./access-token-capabilities.js";
|
|
7
|
+
|
|
8
|
+
export interface AuthorizationProbeResponse {
|
|
9
|
+
readonly authorized: true;
|
|
10
|
+
readonly operations: readonly OperationName[];
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Verify that the presenting token may call every requested operation without
|
|
15
|
+
* invoking any operation handler.
|
|
16
|
+
*/
|
|
17
|
+
export function probeOperationAuthorization(
|
|
18
|
+
capabilities: TokenCapabilities | undefined | null,
|
|
19
|
+
requestedOperations: readonly string[],
|
|
20
|
+
): AuthorizationProbeResponse {
|
|
21
|
+
const operations: OperationName[] = [];
|
|
22
|
+
for (const candidate of requestedOperations) {
|
|
23
|
+
if (!OPERATION_NAMES.includes(candidate as OperationName)) {
|
|
24
|
+
throw new EngramAccessInputError(`unsupported operation: ${candidate}`);
|
|
25
|
+
}
|
|
26
|
+
const operation = candidate as OperationName;
|
|
27
|
+
if (!operations.includes(operation)) operations.push(operation);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
if (operations.length === 0) {
|
|
31
|
+
throw new EngramAccessInputError("at least one operation is required");
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
for (const operation of operations) {
|
|
35
|
+
const boundOperation = getOperation(operation);
|
|
36
|
+
if (!boundOperation) {
|
|
37
|
+
throw new Error(`authorization probe operation is not registered: ${operation}`);
|
|
38
|
+
}
|
|
39
|
+
assertOperationAuthorizationAllowed(capabilities, boundOperation.spec);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
return { authorized: true, operations };
|
|
43
|
+
}
|
package/src/access-boundary.ts
CHANGED
|
@@ -16,12 +16,9 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import { z } from "zod";
|
|
19
|
-
import { EngramAccessForbiddenError } from "./access-errors.js";
|
|
20
19
|
import { EngramAccessInputError, type EngramAccessService } from "./access-service.js";
|
|
21
20
|
import {
|
|
22
|
-
|
|
23
|
-
assertOperationAllowed,
|
|
24
|
-
capabilityAllowsOp,
|
|
21
|
+
assertOperationAuthorizationAllowed,
|
|
25
22
|
tokenCapabilityStore,
|
|
26
23
|
} from "./access-token-capabilities.js";
|
|
27
24
|
import { expandTildePath } from "./utils/path.js";
|
|
@@ -423,33 +420,7 @@ export function defineOperation<In, Out>(spec: OperationSpec<In, Out>): BoundOpe
|
|
|
423
420
|
if (!parseResult.success) {
|
|
424
421
|
throw new EngramAccessInputError(formatZodIssues(parseResult.error));
|
|
425
422
|
}
|
|
426
|
-
|
|
427
|
-
// token carries an ops allow-list, reject operations not in it. The
|
|
428
|
-
// capability record is carried via AsyncLocalStorage, set once per
|
|
429
|
-
// authorized HTTP/MCP request; absent (CLI/tests/direct callers) ⇒
|
|
430
|
-
// unrestricted. Default-deny ONLY when an ops axis is present — legacy
|
|
431
|
-
// tokens (absent record) and explicit-unrestricted new tokens are
|
|
432
|
-
// unaffected.
|
|
433
|
-
// When the op declares alternate grant ops, permit any of them (so the
|
|
434
|
-
// batch/MCP path matches an HTTP transport that relaxes the same op);
|
|
435
|
-
// otherwise the token must carry the op's own name. Unrestricted/legacy
|
|
436
|
-
// tokens pass either way (capabilityAllowsOp is true when no ops axis).
|
|
437
|
-
if (spec.allowedByOps && spec.allowedByOps.length > 0) {
|
|
438
|
-
const store = tokenCapabilityStore.getStore();
|
|
439
|
-
if (!spec.allowedByOps.some((op) => capabilityAllowsOp(store, op))) {
|
|
440
|
-
throw new EngramAccessForbiddenError(`token is not permitted to call operation: ${spec.name}`);
|
|
441
|
-
}
|
|
442
|
-
} else {
|
|
443
|
-
assertOperationAllowed(tokenCapabilityStore.getStore(), spec.name);
|
|
444
|
-
}
|
|
445
|
-
// Fleet-wide / global maintenance ops (issue #1850 round 10): these run
|
|
446
|
-
// across all namespaces with no `namespace` arg, so the tools/call
|
|
447
|
-
// effective-namespace gate never fires. A namespace-SCOPED token must not
|
|
448
|
-
// trigger cross-namespace maintenance — fail closed BEFORE the handler so
|
|
449
|
-
// a denial never leaks a partial mutation. No-op for unrestricted/legacy.
|
|
450
|
-
if (spec.fleetWide) {
|
|
451
|
-
assertFleetWideOperationAllowed(tokenCapabilityStore.getStore());
|
|
452
|
-
}
|
|
423
|
+
assertOperationAuthorizationAllowed(tokenCapabilityStore.getStore(), spec);
|
|
453
424
|
return spec.handler(parseResult.data, ctx);
|
|
454
425
|
},
|
|
455
426
|
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Health-response types for the authenticated Engram access surface.
|
|
3
|
+
*
|
|
4
|
+
* Extracted verbatim from access-service.ts when PR #2151 (extraction liveness)
|
|
5
|
+
* merged with #2149 (corpus watermarks): both features add a field to
|
|
6
|
+
* EngramAccessHealthResponse, and the two together pushed access-service.ts past
|
|
7
|
+
* its grandfathered line ceiling (issue #1520/#1995). Relocating this
|
|
8
|
+
* self-contained type cluster keeps that god-file shrinking; the three types are
|
|
9
|
+
* re-exported from access-service.ts so existing importers resolve unchanged.
|
|
10
|
+
*/
|
|
11
|
+
import type { ExtractionLivenessStatus } from "./extraction-liveness.js";
|
|
12
|
+
import type { CorpusWatermark } from "./corpus-watermark.js";
|
|
13
|
+
|
|
14
|
+
export interface EngramAccessHealthResponse {
|
|
15
|
+
ok: true;
|
|
16
|
+
memoryDir: string;
|
|
17
|
+
namespacesEnabled: boolean;
|
|
18
|
+
defaultNamespace: string;
|
|
19
|
+
searchBackend: string;
|
|
20
|
+
qmdEnabled: boolean;
|
|
21
|
+
qmd: EngramAccessQmdHealthResponse;
|
|
22
|
+
nativeKnowledgeEnabled: boolean;
|
|
23
|
+
projectionAvailable: boolean;
|
|
24
|
+
extraction: ExtractionLivenessStatus;
|
|
25
|
+
corpus: CorpusWatermark[];
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export type EngramAccessQmdCollectionState =
|
|
29
|
+
| "present"
|
|
30
|
+
| "missing"
|
|
31
|
+
| "unknown"
|
|
32
|
+
| "skipped";
|
|
33
|
+
|
|
34
|
+
export interface EngramAccessQmdHealthResponse {
|
|
35
|
+
enabled: boolean;
|
|
36
|
+
active: boolean;
|
|
37
|
+
degraded: boolean;
|
|
38
|
+
mode: "cli" | "daemon" | "fallback" | "disabled" | "not-selected";
|
|
39
|
+
collection: string;
|
|
40
|
+
collectionState: EngramAccessQmdCollectionState;
|
|
41
|
+
installedVersion: string | null;
|
|
42
|
+
supportedVersion: string | null;
|
|
43
|
+
supported: boolean | null;
|
|
44
|
+
upgradeAvailable: boolean | null;
|
|
45
|
+
doctorAvailable: boolean | null;
|
|
46
|
+
debugStatus: string;
|
|
47
|
+
pendingEmbeddings: number | null;
|
|
48
|
+
oldestPendingAgeMs: number | null;
|
|
49
|
+
embeddingBacklogThreshold: number;
|
|
50
|
+
degradedReason?: string;
|
|
51
|
+
}
|