@remnic/core 9.22.0 → 9.22.1
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 +15 -12
- package/dist/access-admin-ops-surface.js +25 -24
- package/dist/access-audit.js +2 -2
- package/dist/access-boundary.d.ts +13 -10
- package/dist/access-boundary.js +25 -24
- package/dist/access-cli.js +84 -82
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.d.ts +16 -9
- package/dist/access-http.js +33 -32
- package/dist/access-identity-continuity-surface.d.ts +9 -7
- package/dist/access-identity-continuity-surface.js +25 -24
- package/dist/access-lcm-surface.d.ts +12 -9
- package/dist/access-lcm-surface.js +25 -24
- package/dist/access-mcp-output-schemas.js +1 -1
- package/dist/access-mcp.d.ts +22 -10
- package/dist/access-mcp.js +31 -30
- package/dist/access-memory-search-fanout.d.ts +2 -2
- package/dist/{access-namespace-preflight-tmwQgCT6.d.ts → access-namespace-preflight-CmErR03h.d.ts} +1 -1
- package/dist/access-namespace-preflight.d.ts +3 -3
- package/dist/access-namespace-preflight.js +25 -24
- package/dist/access-observe-write-surface.d.ts +12 -9
- package/dist/access-observe-write-surface.js +25 -24
- package/dist/access-operations-batch.js +27 -26
- package/dist/access-operations.d.ts +13 -10
- package/dist/access-operations.js +28 -27
- package/dist/access-recall-concurrency.d.ts +12 -9
- package/dist/access-recall-concurrency.js +25 -24
- package/dist/access-recall-response.d.ts +12 -9
- package/dist/access-recall-response.js +25 -24
- package/dist/access-recall-surface.d.ts +14 -11
- package/dist/access-recall-surface.js +25 -24
- package/dist/{access-service-BtxW52vv.d.ts → access-service-CKEROeFP.d.ts} +22 -11
- package/dist/access-service.d.ts +13 -10
- package/dist/access-service.js +25 -24
- package/dist/access-surface-catalog.d.ts +12 -9
- package/dist/access-surface-catalog.js +6 -0
- package/dist/access-surface-catalog.js.map +1 -1
- package/dist/access-wearables-meetings-surface.d.ts +78 -0
- package/dist/access-wearables-meetings-surface.js +22 -0
- package/dist/access-wearables-meetings-surface.js.map +1 -0
- 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/{auto-sync-UPTUVE4X.js → auto-sync-5OE5QOZB.js} +3 -3
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +9 -7
- package/dist/briefing.d.ts +2 -2
- package/dist/briefing.js +5 -5
- package/dist/buffer-surprise-report.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-iWvWz61I.d.ts → catalog-BFTVo2Ez.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-behavior.js +2 -2
- package/dist/causal-chain.js +2 -2
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-consolidation.js +9 -9
- package/dist/causal-retrieval.js +2 -2
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/causal-trajectory.js +1 -1
- package/dist/{chunk-GF22HWS2.js → chunk-2PHX3I5C.js} +7 -7
- package/dist/{chunk-JFDEYXF7.js → chunk-3NAHZQU3.js} +2 -2
- package/dist/{chunk-XBRPEGXF.js → chunk-3UOSVTFR.js} +5 -5
- package/dist/{chunk-TTKWTT72.js → chunk-3ZW6ZQO6.js} +3 -3
- package/dist/{chunk-UV72DEZD.js → chunk-4B77XSG5.js} +5 -5
- package/dist/{chunk-IC2TCZJ2.js → chunk-57QKLRBV.js} +3 -1
- package/dist/chunk-57QKLRBV.js.map +1 -0
- package/dist/{chunk-LMHDFOVV.js → chunk-5CPI2QWG.js} +3 -3
- package/dist/{chunk-P72WZMWQ.js → chunk-5FZQ74K5.js} +2 -2
- package/dist/{chunk-BRT7KEXU.js → chunk-6TWXQ4E2.js} +5 -5
- package/dist/{chunk-CV6ZYXK3.js → chunk-7I7AYIUQ.js} +3 -3
- package/dist/{chunk-TVVEYCNW.js → chunk-7K5Q6COX.js} +4 -4
- package/dist/{chunk-MONWCSVL.js → chunk-7RAJ3GXO.js} +2 -1
- package/dist/chunk-7RAJ3GXO.js.map +1 -0
- package/dist/{chunk-SQEDDWAM.js → chunk-A2RFKL3V.js} +5 -34
- package/dist/chunk-A2RFKL3V.js.map +1 -0
- package/dist/{chunk-JN57HZCD.js → chunk-ATEAL5EI.js} +6 -6
- package/dist/{chunk-4PYLBXX6.js → chunk-AYAROCWD.js} +2 -2
- package/dist/chunk-BLDBT6HZ.js +39 -0
- package/dist/chunk-BLDBT6HZ.js.map +1 -0
- package/dist/{chunk-NB2P47N7.js → chunk-CUUY5CC4.js} +6 -6
- package/dist/{chunk-KL5Y6PEV.js → chunk-E3ZMFFQZ.js} +2 -2
- package/dist/{chunk-55FDQYPS.js → chunk-ES5IHQ6M.js} +2 -2
- package/dist/{chunk-N47ZWQBO.js → chunk-G2NSSQES.js} +2 -2
- package/dist/{chunk-GSWPU5CR.js → chunk-GD3QOBMB.js} +2 -2
- package/dist/{chunk-6ANPNUVL.js → chunk-IIXLB5E7.js} +58 -36
- package/dist/chunk-IIXLB5E7.js.map +1 -0
- package/dist/{chunk-SACPRJ7F.js → chunk-JNIJBXVK.js} +2 -2
- package/dist/{chunk-W3XT32W7.js → chunk-JVGUY2AU.js} +23 -13
- package/dist/chunk-JVGUY2AU.js.map +1 -0
- package/dist/{chunk-DGLON3AL.js → chunk-KNRG6ZGJ.js} +6 -6
- package/dist/{chunk-GEUDRENF.js → chunk-MMTG3SCJ.js} +2 -2
- package/dist/{chunk-WZFAPHIK.js → chunk-MU7ZHSZE.js} +2 -2
- package/dist/{chunk-W4FBGYGK.js → chunk-NRV4Y3PM.js} +1 -1
- package/dist/{chunk-QTO2FGBT.js → chunk-OUW4PAY4.js} +191 -117
- package/dist/chunk-OUW4PAY4.js.map +1 -0
- package/dist/{chunk-KQ2XCQYN.js → chunk-P2BLHUL2.js} +2 -2
- package/dist/{chunk-ACGGTPU4.js → chunk-QCKQEBIY.js} +17 -9
- package/dist/chunk-QCKQEBIY.js.map +1 -0
- package/dist/{chunk-6L775BUB.js → chunk-QE63OHLB.js} +2 -2
- package/dist/{chunk-ONHRRJZM.js → chunk-QJAQNXWI.js} +6 -6
- package/dist/{chunk-EQYBHXRR.js → chunk-ROUL7RZU.js} +385 -59
- package/dist/chunk-ROUL7RZU.js.map +1 -0
- package/dist/{chunk-N6M7MRVN.js → chunk-RT4TSR2C.js} +9034 -8726
- package/dist/chunk-RT4TSR2C.js.map +1 -0
- package/dist/{chunk-6NZ7U4R4.js → chunk-SCOT5DTA.js} +1 -1
- package/dist/chunk-SCOT5DTA.js.map +1 -0
- package/dist/{chunk-6RYWNBSA.js → chunk-SVZGA2MK.js} +2 -2
- package/dist/chunk-SYOIVK7K.js +63 -0
- package/dist/chunk-SYOIVK7K.js.map +1 -0
- package/dist/{chunk-DM5A4ZFL.js → chunk-TWCOYET2.js} +11 -1
- package/dist/chunk-TWCOYET2.js.map +1 -0
- package/dist/{chunk-7S5OMI76.js → chunk-WS32QRLO.js} +109 -44
- package/dist/chunk-WS32QRLO.js.map +1 -0
- package/dist/{chunk-OCMLGND7.js → chunk-WWZ35GWW.js} +5 -5
- package/dist/{chunk-QMGIQUBG.js → chunk-XWPFZX6S.js} +503 -139
- package/dist/chunk-XWPFZX6S.js.map +1 -0
- package/dist/{chunk-A5N6ISRK.js → chunk-ZN4UZWMT.js} +2 -2
- package/dist/{chunk-7M6APKJL.js → chunk-ZYU7ZFLT.js} +2 -2
- package/dist/{cli-D9vXgWwM.d.ts → cli-BrwT9YMD.d.ts} +5 -5
- package/dist/cli.d.ts +14 -11
- package/dist/cli.js +57 -56
- package/dist/compounding/engine.d.ts +2 -2
- package/dist/compounding/engine.js +5 -5
- 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 +5 -5
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +5 -5
- 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/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 +5 -5
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +9 -7
- package/dist/extraction-error-classification.d.ts +22 -0
- package/dist/extraction-error-classification.js +11 -0
- package/dist/extraction-error-classification.js.map +1 -0
- 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.d.ts +3 -17
- package/dist/extraction.js +5 -3
- package/dist/fallback-llm.d.ts +1 -1
- package/dist/{first-start-migration-LEXL3XYL.js → first-start-migration-BKNGOFED.js} +4 -4
- package/dist/graph-dashboard-diff.d.ts +1 -1
- package/dist/graph-dashboard-key.d.ts +1 -1
- package/dist/graph-dashboard-parser.d.ts +1 -1
- package/dist/graph-edge-reinforcement.d.ts +1 -1
- package/dist/graph-snapshot.d.ts +1 -1
- package/dist/graph.d.ts +1 -1
- package/dist/importance.d.ts +1 -1
- package/dist/importers/index.d.ts +1 -1
- package/dist/in-flight-reads.d.ts +1 -1
- package/dist/index.d.ts +309 -519
- package/dist/index.js +176 -140
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/engine.js +3 -3
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/index.js +11 -11
- 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 +6 -6
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +5 -5
- package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-projection.js +7 -7
- package/dist/maintenance-C98njYb8.d.ts +366 -0
- package/dist/mcp-memory-inspector-app.d.ts +12 -9
- package/dist/mcp-read-only-tools.js +1 -1
- package/dist/memory-action-policy.d.ts +1 -1
- package/dist/memory-cache.d.ts +1 -1
- package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
- package/dist/memory-projection-store.d.ts +1 -1
- package/dist/memory-provenance.d.ts +1 -1
- package/dist/memory-worth-outcomes.d.ts +2 -2
- package/dist/models-json.d.ts +1 -1
- package/dist/namespaces/migrate.d.ts +3 -3
- package/dist/namespaces/migrate.js +12 -12
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/search.js +6 -6
- package/dist/namespaces/storage.d.ts +3 -3
- package/dist/namespaces/storage.js +5 -5
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/offline-sync-impression-drain.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +2 -2
- package/dist/operator-toolkit.js +18 -18
- package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
- package/dist/orchestration/maintenance.d.ts +6 -223
- package/dist/orchestration/maintenance.js +12 -12
- package/dist/{orchestrator-DB93S48I.d.ts → orchestrator-C9ZVppNh.d.ts} +12 -481
- package/dist/orchestrator.d.ts +10 -8
- package/dist/orchestrator.js +84 -82
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/{pipeline-DmGc-H66.d.ts → pipeline-id_-sqYm.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-cJT0crkF.d.ts → qmd-R6XaQOZK.d.ts} +1 -1
- package/dist/qmd-preflight.d.ts +2 -2
- package/dist/qmd-recall-cache.d.ts +1 -1
- package/dist/qmd.d.ts +2 -2
- package/dist/qmd.js +4 -4
- package/dist/recall-concurrency-config.d.ts +1 -1
- package/dist/recall-disclosure-escalation.d.ts +1 -1
- package/dist/recall-explain-renderer.d.ts +1 -1
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-memory-map.d.ts +1 -1
- package/dist/recall-planner-llm.d.ts +1 -1
- package/dist/recall-state.d.ts +1 -1
- package/dist/recall-tag-filter.d.ts +1 -1
- package/dist/recall-timings.d.ts +1 -1
- package/dist/recall-xray-cli.d.ts +1 -1
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.d.ts +1 -1
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.d.ts +1 -1
- package/dist/recall-xray.js +2 -2
- package/dist/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/resolve-auth-token.d.ts +1 -1
- package/dist/resume-bundles.js +4 -4
- package/dist/retrieval-agents.d.ts +2 -2
- package/dist/retrieval-tiers.d.ts +1 -1
- package/dist/routing/engine.d.ts +1 -1
- package/dist/routing/store.d.ts +1 -1
- package/dist/salvage-envelope.d.ts +1 -1
- package/dist/{scope-profiles-KG2nODX7.d.ts → scope-profiles-EhyuAKkd.d.ts} +1 -1
- package/dist/search/embed-helper.d.ts +1 -1
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/factory.js +5 -5
- package/dist/search/index.d.ts +1 -1
- package/dist/search/index.js +9 -9
- package/dist/search/lancedb-backend.d.ts +1 -1
- package/dist/search/meilisearch-backend.d.ts +1 -1
- package/dist/search/noop-backend.d.ts +1 -1
- package/dist/search/orama-backend.d.ts +1 -1
- package/dist/search/port.d.ts +1 -1
- package/dist/search/remote-backend.d.ts +1 -1
- package/dist/{semantic-consolidation-BaZlg0D8.d.ts → semantic-consolidation-B2xo26UQ.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +7 -7
- package/dist/semantic-rule-promotion.js +5 -5
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +6 -6
- package/dist/service-DgFWlZ-r.d.ts +835 -0
- package/dist/session-observer-bands.d.ts +1 -1
- package/dist/session-observer-state.d.ts +1 -1
- package/dist/shared-context/manager.d.ts +1 -1
- package/dist/signal.d.ts +1 -1
- package/dist/{storage-BKhHHnRo.d.ts → storage-XGawwqXE.d.ts} +131 -2
- package/dist/storage.d.ts +2 -2
- package/dist/storage.js +4 -4
- package/dist/summarizer.d.ts +1 -1
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/temporal-supersession.d.ts +2 -2
- package/dist/temporal-timeline-recall.d.ts +1 -1
- package/dist/temporal-validity.d.ts +1 -1
- package/dist/threading.d.ts +1 -1
- package/dist/tier-migration.d.ts +2 -2
- package/dist/tier-routing.d.ts +1 -1
- package/dist/topics.d.ts +1 -1
- package/dist/transcript.d.ts +1 -1
- package/dist/trust-score-stage.d.ts +1 -1
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-GBQZuT7l.d.ts → types-Bbs0qz6b.d.ts} +2 -3
- 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 +6 -6
- package/dist/write-envelope.d.ts +1 -1
- package/package.json +2 -2
- package/src/access-boundary.ts +3 -0
- package/src/access-http.test.ts +63 -0
- package/src/access-http.ts +26 -37
- package/src/access-mcp-output-schemas.ts +10 -0
- package/src/access-mcp.ts +4 -121
- package/src/access-operations-batch.ts +10 -5
- package/src/access-service.ts +43 -46
- package/src/access-surface-catalog.ts +6 -0
- package/src/access-wearables-meetings-surface.ts +139 -0
- package/src/activity/digest.ts +1 -1
- package/src/activity/runner.test.ts +37 -0
- package/src/activity/runner.ts +12 -0
- package/src/activity/scheduler.test.ts +1 -0
- package/src/activity/sync-registration.ts +13 -0
- package/src/cli/meetings-commands.ts +70 -0
- package/src/cli.ts +7 -6
- package/src/extraction-error-classification.ts +52 -0
- package/src/extraction.ts +2 -50
- package/src/mcp-read-only-tools.ts +2 -0
- package/src/meetings/build-memory.test.ts +364 -0
- package/src/meetings/build-scheduler.test.ts +55 -0
- package/src/meetings/build-scheduler.ts +96 -0
- package/src/meetings/day-source.test.ts +275 -0
- package/src/meetings/day-source.ts +352 -0
- package/src/meetings/http-glue.ts +126 -0
- package/src/meetings/index.ts +5 -4
- package/src/meetings/manual-sync-flush.test.ts +72 -0
- package/src/meetings/mcp-tools.ts +65 -0
- package/src/meetings/memory-gen.test.ts +498 -0
- package/src/meetings/memory-gen.ts +549 -0
- package/src/meetings/memory-generator.ts +5 -0
- package/src/meetings/namespace-isolation.test.ts +159 -0
- package/src/meetings/service.test.ts +195 -0
- package/src/meetings/service.ts +157 -0
- package/src/meetings/summary-extractor.test.ts +287 -0
- package/src/meetings/summary-extractor.ts +264 -0
- package/src/orchestration/maintenance.ts +8 -0
- package/src/orchestration/orchestrator-init.ts +6 -1
- package/src/orchestration/workspace-ops.ts +172 -8
- package/src/orchestrator.ts +12 -13
- package/src/storage.ts +21 -0
- package/src/testing/subjects/meetings-namespace-harness.ts +159 -0
- package/src/testing/subjects/meetings-namespace.test.ts +93 -0
- package/src/types.ts +1 -2
- package/src/wearables/cli.ts +2 -1
- package/src/wearables/index.ts +1 -0
- package/src/wearables/mcp-tools.ts +143 -0
- package/src/wearables/registry.test.ts +11 -0
- package/src/wearables/registry.ts +13 -0
- package/src/wearables/service.test.ts +62 -1
- package/src/wearables/service.ts +30 -2
- package/src/wearables/transcript-search-namespace-isolation.test.ts +98 -0
- package/dist/chunk-6ANPNUVL.js.map +0 -1
- package/dist/chunk-6NZ7U4R4.js.map +0 -1
- package/dist/chunk-7S5OMI76.js.map +0 -1
- package/dist/chunk-ACGGTPU4.js.map +0 -1
- package/dist/chunk-DM5A4ZFL.js.map +0 -1
- package/dist/chunk-EQYBHXRR.js.map +0 -1
- package/dist/chunk-IC2TCZJ2.js.map +0 -1
- package/dist/chunk-MONWCSVL.js.map +0 -1
- package/dist/chunk-N6M7MRVN.js.map +0 -1
- package/dist/chunk-QMGIQUBG.js.map +0 -1
- package/dist/chunk-QTO2FGBT.js.map +0 -1
- package/dist/chunk-SQEDDWAM.js.map +0 -1
- package/dist/chunk-W3XT32W7.js.map +0 -1
- /package/dist/{auto-sync-UPTUVE4X.js.map → auto-sync-5OE5QOZB.js.map} +0 -0
- /package/dist/{chunk-GF22HWS2.js.map → chunk-2PHX3I5C.js.map} +0 -0
- /package/dist/{chunk-JFDEYXF7.js.map → chunk-3NAHZQU3.js.map} +0 -0
- /package/dist/{chunk-XBRPEGXF.js.map → chunk-3UOSVTFR.js.map} +0 -0
- /package/dist/{chunk-TTKWTT72.js.map → chunk-3ZW6ZQO6.js.map} +0 -0
- /package/dist/{chunk-UV72DEZD.js.map → chunk-4B77XSG5.js.map} +0 -0
- /package/dist/{chunk-LMHDFOVV.js.map → chunk-5CPI2QWG.js.map} +0 -0
- /package/dist/{chunk-P72WZMWQ.js.map → chunk-5FZQ74K5.js.map} +0 -0
- /package/dist/{chunk-BRT7KEXU.js.map → chunk-6TWXQ4E2.js.map} +0 -0
- /package/dist/{chunk-CV6ZYXK3.js.map → chunk-7I7AYIUQ.js.map} +0 -0
- /package/dist/{chunk-TVVEYCNW.js.map → chunk-7K5Q6COX.js.map} +0 -0
- /package/dist/{chunk-JN57HZCD.js.map → chunk-ATEAL5EI.js.map} +0 -0
- /package/dist/{chunk-4PYLBXX6.js.map → chunk-AYAROCWD.js.map} +0 -0
- /package/dist/{chunk-NB2P47N7.js.map → chunk-CUUY5CC4.js.map} +0 -0
- /package/dist/{chunk-KL5Y6PEV.js.map → chunk-E3ZMFFQZ.js.map} +0 -0
- /package/dist/{chunk-55FDQYPS.js.map → chunk-ES5IHQ6M.js.map} +0 -0
- /package/dist/{chunk-N47ZWQBO.js.map → chunk-G2NSSQES.js.map} +0 -0
- /package/dist/{chunk-GSWPU5CR.js.map → chunk-GD3QOBMB.js.map} +0 -0
- /package/dist/{chunk-SACPRJ7F.js.map → chunk-JNIJBXVK.js.map} +0 -0
- /package/dist/{chunk-DGLON3AL.js.map → chunk-KNRG6ZGJ.js.map} +0 -0
- /package/dist/{chunk-GEUDRENF.js.map → chunk-MMTG3SCJ.js.map} +0 -0
- /package/dist/{chunk-WZFAPHIK.js.map → chunk-MU7ZHSZE.js.map} +0 -0
- /package/dist/{chunk-W4FBGYGK.js.map → chunk-NRV4Y3PM.js.map} +0 -0
- /package/dist/{chunk-KQ2XCQYN.js.map → chunk-P2BLHUL2.js.map} +0 -0
- /package/dist/{chunk-6L775BUB.js.map → chunk-QE63OHLB.js.map} +0 -0
- /package/dist/{chunk-ONHRRJZM.js.map → chunk-QJAQNXWI.js.map} +0 -0
- /package/dist/{chunk-6RYWNBSA.js.map → chunk-SVZGA2MK.js.map} +0 -0
- /package/dist/{chunk-OCMLGND7.js.map → chunk-WWZ35GWW.js.map} +0 -0
- /package/dist/{chunk-A5N6ISRK.js.map → chunk-ZN4UZWMT.js.map} +0 -0
- /package/dist/{chunk-7M6APKJL.js.map → chunk-ZYU7ZFLT.js.map} +0 -0
- /package/dist/{first-start-migration-LEXL3XYL.js.map → first-start-migration-BKNGOFED.js.map} +0 -0
package/dist/signal.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ay as FusedWearableConversation, az as FusedDayMeta, aA as FusedDayFile, aB as MeetingRecord, aC as MeetingDetectionSource, aD as FusedMeeting, aE as EntityTimelineEntry, ag as EntityStructuredSection, E as EntityFile, M as MemoryFile, P as PluginConfig, x as MemoryStatus, w as MemoryCategory, ah as ImportanceScore, aF as MemoryLink, o as MemoryFrontmatter, F as FaithfulnessFrontmatter, O as ProvenanceSource, aG as BufferState, aH as MetaState, ab as MemoryActionEvent, z as MemoryLifecycleEvent, a0 as BufferSurpriseEvent, $ as BehaviorSignalEvent, ac as CompressionGuidelineOptimizerState, aI as FileHygieneConfig, aJ as EntityRelationship, aK as EntityActivityEntry, aL as AccessTrackingEntry, y as MemoryProjectionCurrentState, aM as MemorySummary, as as TopicScore } from './types-Bbs0qz6b.js';
|
|
2
2
|
import { VersioningConfig } from './page-versioning.js';
|
|
3
3
|
import { ConsolidationOperator } from './consolidation-operator.js';
|
|
4
4
|
import { ProjectedMemoryBrowseOptions, ProjectedMemoryBrowsePage, readProjectedGovernanceRecord } from './memory-projection-store.js';
|
|
@@ -146,6 +146,127 @@ declare class FusionArtifactStore {
|
|
|
146
146
|
private assertNoEscape;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
+
/**
|
|
150
|
+
* Meeting record composition, serialization, and the on-disk store (#1900).
|
|
151
|
+
*
|
|
152
|
+
* One markdown file per meeting under `<memoryDir>/meetings/<YYYY-MM-DD>/<id>.md`
|
|
153
|
+
* with YAML frontmatter. Placement mirrors the wearables day-store rationale:
|
|
154
|
+
*
|
|
155
|
+
* - OUTSIDE the memory scan roots (facts/, procedures/, …) so meeting
|
|
156
|
+
* transcripts never surface as memories in recall or governance passes;
|
|
157
|
+
* - INSIDE the QMD collection root (the memory dir) so records are full-text
|
|
158
|
+
* searchable after the next index update — but never auto-recalled raw.
|
|
159
|
+
*
|
|
160
|
+
* Records rebuild idempotently on `contentHash`: an unchanged meeting re-writes
|
|
161
|
+
* nothing. The transcript body reuses the wearables day-store line grammar
|
|
162
|
+
* (`**Name** [HH:MM]: text`, escape-aware) so existing parsers apply. File IO is
|
|
163
|
+
* injected (like the fusion artifact store) so encrypted-at-rest + atomic-write
|
|
164
|
+
* semantics are inherited without this module touching the secure-store key.
|
|
165
|
+
*/
|
|
166
|
+
|
|
167
|
+
declare const MEETINGS_DIR_NAME = "meetings";
|
|
168
|
+
declare const MEETING_KIND: "meeting";
|
|
169
|
+
declare const MEETING_FORMAT_VERSION = 1;
|
|
170
|
+
/** The detection-source label from a meeting id would be ambiguous, so validate
|
|
171
|
+
* an id AND confirm its embedded date matches the directory it lives under. */
|
|
172
|
+
declare function meetingIdDate(id: string): string | null;
|
|
173
|
+
/** Base fields (identity + detection) a fused meeting is composed with. */
|
|
174
|
+
interface MeetingRecordBase {
|
|
175
|
+
id: string;
|
|
176
|
+
date: string;
|
|
177
|
+
startUtc: string;
|
|
178
|
+
endUtc: string;
|
|
179
|
+
app?: string;
|
|
180
|
+
detectionSource: MeetingDetectionSource;
|
|
181
|
+
title?: string;
|
|
182
|
+
}
|
|
183
|
+
/** Compose a full meeting record (with contentHash) from its base + fused view. */
|
|
184
|
+
declare function composeMeetingRecord(base: MeetingRecordBase, fused: FusedMeeting): MeetingRecord;
|
|
185
|
+
/** Serialize a meeting record into its persisted markdown form. */
|
|
186
|
+
declare function serializeMeetingRecord(record: MeetingRecord): string;
|
|
187
|
+
/** A meeting record's frontmatter, parsed for listing + idempotency checks. */
|
|
188
|
+
interface MeetingRecordSummary {
|
|
189
|
+
id: string;
|
|
190
|
+
date: string;
|
|
191
|
+
startUtc: string;
|
|
192
|
+
endUtc: string;
|
|
193
|
+
app?: string;
|
|
194
|
+
detectionSource: string;
|
|
195
|
+
title?: string;
|
|
196
|
+
attendees: string[];
|
|
197
|
+
sources: string[];
|
|
198
|
+
corroboratedBy: string[];
|
|
199
|
+
snapshotCount: number;
|
|
200
|
+
contentHash: string;
|
|
201
|
+
}
|
|
202
|
+
/** Parse a meeting record's frontmatter. Returns null when the content is not a
|
|
203
|
+
* meeting record (wrong kind, missing frontmatter) so callers distinguish a
|
|
204
|
+
* non-record from a corrupt one. */
|
|
205
|
+
declare function parseMeetingRecordSummary(raw: string): MeetingRecordSummary | null;
|
|
206
|
+
/**
|
|
207
|
+
* Encrypted-at-rest + atomic file IO the meeting record store needs. Satisfied
|
|
208
|
+
* by StorageManager (which owns the secure-store key + atomic write path) and
|
|
209
|
+
* injected so this module performs NO direct fs — records inherit the same
|
|
210
|
+
* encrypted-at-rest + atomic-write semantics as memories. Same shape as the
|
|
211
|
+
* fusion artifact store's IO port (kept per-module, not shared, so each store's
|
|
212
|
+
* boundary stays explicit).
|
|
213
|
+
*/
|
|
214
|
+
interface MeetingRecordFileIo {
|
|
215
|
+
writeFile(filePath: string, content: string): Promise<void>;
|
|
216
|
+
readFile(filePath: string): Promise<string>;
|
|
217
|
+
readDir(dirPath: string): Promise<string[]>;
|
|
218
|
+
deleteFile(filePath: string): Promise<void>;
|
|
219
|
+
realpath(filePath: string): Promise<string>;
|
|
220
|
+
lstat(filePath: string): Promise<{
|
|
221
|
+
isSymbolicLink: boolean;
|
|
222
|
+
}>;
|
|
223
|
+
}
|
|
224
|
+
/** Result of an idempotent record save. */
|
|
225
|
+
interface MeetingSaveResult {
|
|
226
|
+
path: string;
|
|
227
|
+
/** False when the on-disk contentHash already matched (nothing rewritten). */
|
|
228
|
+
written: boolean;
|
|
229
|
+
contentHash: string;
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* Owns the meeting record files under `<memoryDir>/meetings/<date>/<id>.md`.
|
|
233
|
+
* Path construction, date/id validation, and symlink containment live here; the
|
|
234
|
+
* bytes flow through the injected secure IO. Containment is anchored to the real
|
|
235
|
+
* memory-dir root and mirrors the fusion artifact store (AGENTS.md pattern #3).
|
|
236
|
+
*/
|
|
237
|
+
declare class MeetingRecordStore {
|
|
238
|
+
private readonly memoryDir;
|
|
239
|
+
private readonly io;
|
|
240
|
+
private readonly meetingsDir;
|
|
241
|
+
constructor(memoryDir: string, io: MeetingRecordFileIo);
|
|
242
|
+
recordPath(date: string, id: string): string;
|
|
243
|
+
/** Idempotently persist a record: skip the write when contentHash is unchanged. */
|
|
244
|
+
saveMeetingRecord(record: MeetingRecord): Promise<MeetingSaveResult>;
|
|
245
|
+
/** Read a stored record's raw markdown; null when absent. */
|
|
246
|
+
readMeetingRecord(date: string, id: string): Promise<string | null>;
|
|
247
|
+
/**
|
|
248
|
+
* Read + parse every stored record for a day exactly ONCE, sorted by start
|
|
249
|
+
* time (ascending, id tiebreak). The single day-read path both `listMeetingIds`
|
|
250
|
+
* and `listMeetingSummaries` derive from — no record is read twice.
|
|
251
|
+
*/
|
|
252
|
+
private readDaySummaries;
|
|
253
|
+
/** List meeting ids stored for a day, sorted by start time (ascending). */
|
|
254
|
+
listMeetingIds(date: string): Promise<string[]>;
|
|
255
|
+
/** Read parsed summaries for a day, sorted by start time. */
|
|
256
|
+
listMeetingSummaries(date: string): Promise<MeetingRecordSummary[]>;
|
|
257
|
+
/** List dates that have at least one stored meeting record, newest first. */
|
|
258
|
+
listMeetingDates(): Promise<string[]>;
|
|
259
|
+
/** Remove a stored record. Idempotent: a no-op when already absent. */
|
|
260
|
+
deleteMeetingRecord(date: string, id: string): Promise<void>;
|
|
261
|
+
private readRaw;
|
|
262
|
+
private assertPathContained;
|
|
263
|
+
/** The `<meetings>/<date>` directory on the path to `targetPath`, or null when
|
|
264
|
+
* `targetPath` is the meetings root itself. */
|
|
265
|
+
private dayDirWithin;
|
|
266
|
+
private assertNotSymlink;
|
|
267
|
+
private assertNoEscape;
|
|
268
|
+
}
|
|
269
|
+
|
|
149
270
|
/** Why a tombstone was emitted. */
|
|
150
271
|
type TombstoneReason = "correction" | "supersession" | "retraction" | "contradiction_resolution";
|
|
151
272
|
/** Who emitted the tombstone. */
|
|
@@ -1161,6 +1282,14 @@ declare class StorageManager {
|
|
|
1161
1282
|
private _fusionStore?;
|
|
1162
1283
|
/** Derived fusion-day IO; file IO lives in wearables/fusion (#1810). */
|
|
1163
1284
|
fusionArtifactStore(): FusionArtifactStore;
|
|
1285
|
+
private _meetingRecordStore?;
|
|
1286
|
+
/**
|
|
1287
|
+
* Meeting record IO (issue #1900). Records live under `<baseDir>/meetings/`
|
|
1288
|
+
* — inside the QMD collection root (full-text searchable) but outside the
|
|
1289
|
+
* memory scan roots — and inherit the same encrypted-at-rest + atomic-write +
|
|
1290
|
+
* symlink-containment semantics as memories via the shared secure IO port.
|
|
1291
|
+
*/
|
|
1292
|
+
meetingRecordStore(): MeetingRecordStore;
|
|
1164
1293
|
/**
|
|
1165
1294
|
* Locate a wearable-sourced memory by exact (trimmed) content,
|
|
1166
1295
|
* ignoring the "[Attributes: ...]" suffix writeMemory appends for
|
|
@@ -1915,4 +2044,4 @@ declare class StorageManager {
|
|
|
1915
2044
|
private appendGeneratedMemoryLifecycleEventFailOpen;
|
|
1916
2045
|
}
|
|
1917
2046
|
|
|
1918
|
-
export { ContentHashIndex as C, FusionArtifactStore as F, type MemoryWriteResult as M, type ReextractJobRequest as R, StorageManager as S, type WriteMemoryOptions as W,
|
|
2047
|
+
export { countEntityStructuredFacts as A, fingerprintEntityStructuredFacts as B, ContentHashIndex as C, isEntitySynthesisStale as D, isValidBufferSurpriseEvent as E, FusionArtifactStore as F, normalizeEntityName as G, normalizeFrontmatterForPath as H, normalizeStructuredSectionFacts as I, parseFrontmatter as J, parseFrontmatterStringValue as K, type MemoryWriteResult as M, type ReextractJobRequest as R, StorageManager as S, type WriteMemoryOptions as W, MeetingRecordStore as a, type MeetingRecordSummary as b, FUSION_KIND as c, MEETINGS_DIR_NAME as d, MEETING_FORMAT_VERSION as e, MEETING_KIND as f, type MeetingRecordBase as g, type MeetingRecordFileIo as h, type MeetingSaveResult as i, composeFusionDayMeta as j, composeMeetingRecord as k, hashFusionBody as l, meetingIdDate as m, parseFusionDay as n, parseMeetingRecordSummary as o, parseEntityFile as p, serializeFusionDay as q, serializeMeetingRecord as r, serializeEntityFile as s, type ContentHashIndexLockOptions as t, FactHashIndexNotAuthoritativeError as u, type MemoryLifecycleEventWriteOptions as v, type SealedWriteExtras as w, buildEntitySchemaCacheKey as x, compareEntityTimestamps as y, compileEntityFacts as z };
|
package/dist/storage.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import './types-
|
|
2
|
-
export { C as ContentHashIndex,
|
|
1
|
+
import './types-Bbs0qz6b.js';
|
|
2
|
+
export { C as ContentHashIndex, t as ContentHashIndexLockOptions, u as FactHashIndexNotAuthoritativeError, v as MemoryLifecycleEventWriteOptions, M as MemoryWriteResult, R as ReextractJobRequest, w as SealedWriteExtras, S as StorageManager, W as WriteMemoryOptions, x as buildEntitySchemaCacheKey, y as compareEntityTimestamps, z as compileEntityFacts, A as countEntityStructuredFacts, B as fingerprintEntityStructuredFacts, D as isEntitySynthesisStale, E as isValidBufferSurpriseEvent, G as normalizeEntityName, H as normalizeFrontmatterForPath, I as normalizeStructuredSectionFacts, p as parseEntityFile, J as parseFrontmatter, K as parseFrontmatterStringValue, s as serializeEntityFile } from './storage-XGawwqXE.js';
|
|
3
3
|
import './page-versioning.js';
|
|
4
4
|
import './consolidation-operator.js';
|
|
5
5
|
import './memory-projection-store.js';
|
package/dist/storage.js
CHANGED
|
@@ -16,15 +16,15 @@ import {
|
|
|
16
16
|
parseFrontmatter,
|
|
17
17
|
parseFrontmatterStringValue,
|
|
18
18
|
serializeEntityFile
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-UHVXE24Y.js";
|
|
19
|
+
} from "./chunk-XWPFZX6S.js";
|
|
21
20
|
import "./chunk-2QMKMVHH.js";
|
|
21
|
+
import "./chunk-UHVXE24Y.js";
|
|
22
22
|
import "./chunk-DEBHXHJR.js";
|
|
23
23
|
import "./chunk-DNHVPZOD.js";
|
|
24
24
|
import "./chunk-6CIAGZ6X.js";
|
|
25
25
|
import "./chunk-J6A3CX5N.js";
|
|
26
26
|
import "./chunk-HKF5VASQ.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-SCOT5DTA.js";
|
|
28
28
|
import "./chunk-XKGPIWGI.js";
|
|
29
29
|
import "./chunk-EGGE52UU.js";
|
|
30
30
|
import "./chunk-GCASGYIO.js";
|
|
@@ -33,8 +33,8 @@ import "./chunk-ILGC6JH6.js";
|
|
|
33
33
|
import "./chunk-SCU65EZI.js";
|
|
34
34
|
import "./chunk-3CSX3ETE.js";
|
|
35
35
|
import "./chunk-RL6NEVXT.js";
|
|
36
|
-
import "./chunk-DM2T26WE.js";
|
|
37
36
|
import "./chunk-LDXUBPMO.js";
|
|
37
|
+
import "./chunk-DM2T26WE.js";
|
|
38
38
|
import "./chunk-JYIJNNN3.js";
|
|
39
39
|
import "./chunk-AAD2ZS6P.js";
|
|
40
40
|
import "./chunk-CGASUJVP.js";
|
package/dist/summarizer.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModelRegistry } from './model-registry.js';
|
|
2
|
-
import { P as PluginConfig, G as GatewayConfig, T as TranscriptEntry, H as HourlySummary } from './types-
|
|
2
|
+
import { P as PluginConfig, G as GatewayConfig, T as TranscriptEntry, H as HourlySummary } from './types-Bbs0qz6b.js';
|
|
3
3
|
import { TranscriptManager } from './transcript.js';
|
|
4
4
|
import './message-parts/index.js';
|
|
5
5
|
import './bounded-jsonl-state.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as MemoryFrontmatter } from './types-
|
|
2
|
-
import { S as StorageManager } from './storage-
|
|
1
|
+
import { o as MemoryFrontmatter } from './types-Bbs0qz6b.js';
|
|
2
|
+
import { S as StorageManager } from './storage-XGawwqXE.js';
|
|
3
3
|
import './message-parts/index.js';
|
|
4
4
|
import './bounded-jsonl-state.js';
|
|
5
5
|
import './types-continuity.js';
|
package/dist/threading.d.ts
CHANGED
package/dist/tier-migration.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as MemoryFile } from './types-
|
|
2
|
-
import { S as StorageManager } from './storage-
|
|
1
|
+
import { M as MemoryFile } from './types-Bbs0qz6b.js';
|
|
2
|
+
import { S as StorageManager } from './storage-XGawwqXE.js';
|
|
3
3
|
import { MemoryTier } from './tier-routing.js';
|
|
4
4
|
import { SearchBackend } from './search/port.js';
|
|
5
5
|
import './message-parts/index.js';
|
package/dist/tier-routing.d.ts
CHANGED
package/dist/topics.d.ts
CHANGED
package/dist/transcript.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginConfig, T as TranscriptEntry, p as Checkpoint } from './types-
|
|
1
|
+
import { P as PluginConfig, T as TranscriptEntry, p as Checkpoint } from './types-Bbs0qz6b.js';
|
|
2
2
|
import { SessionIntegrityReport } from './session-integrity.js';
|
|
3
3
|
import './message-parts/index.js';
|
|
4
4
|
import './bounded-jsonl-state.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FaithfulnessFrontmatter,
|
|
1
|
+
import { F as FaithfulnessFrontmatter, O as ProvenanceSource, U as TrustWeights, Q as QmdSearchResult } from './types-Bbs0qz6b.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
|
@@ -2104,8 +2104,7 @@ interface PluginConfig extends BoundedJsonlStateConfig {
|
|
|
2104
2104
|
*/
|
|
2105
2105
|
wearables: WearablesConfig;
|
|
2106
2106
|
activity: ActivityConfig;
|
|
2107
|
-
/**
|
|
2108
|
-
* Retrospective meeting intelligence (issue #1900): detect + fuse meetings
|
|
2107
|
+
/** Retrospective meeting intelligence (issue #1900): detect + fuse meetings
|
|
2109
2108
|
* from already-ingested audio + screen activity. Disabled by default.
|
|
2110
2109
|
*/
|
|
2111
2110
|
meetings: MeetingsConfig;
|
|
@@ -4451,4 +4450,4 @@ interface HourlySummary {
|
|
|
4451
4450
|
generatedAt: string;
|
|
4452
4451
|
}
|
|
4453
4452
|
|
|
4454
|
-
export { type BehaviorSignalEvent as $, type ActiveRecallChatType 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
|
|
4453
|
+
export { type BehaviorSignalEvent as $, type ActiveRecallChatType 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 ExtractionFailureClass as Z, type ImportanceLevel as _, type DreamsRunResult as a, type MeetingActivitySnapshot as a$, type BufferSurpriseEvent as a0, type ImportTurn as a1, type BulkImportOptions as a2, type BulkImportSource as a3, type BulkImportResult as a4, type SecretRef as a5, type AgentAccessAuthToken as a6, type CompressionGuidelineOptimizerEventCounts as a7, type CompressionGuidelineOptimizerActionSummary as a8, type CompressionGuidelineOptimizerRuleUpdate as a9, type FusedDayFile as aA, type MeetingRecord as aB, type MeetingDetectionSource as aC, type FusedMeeting as aD, type EntityTimelineEntry as aE, type MemoryLink as aF, type BufferState as aG, type MetaState as aH, type FileHygieneConfig as aI, type EntityRelationship as aJ, type EntityActivityEntry as aK, type AccessTrackingEntry as aL, type MemorySummary as aM, type WearableConversation as aN, type WearableSourceSettings as aO, type WearableNativeMemory as aP, type WearableMemoryMode as aQ, type WearableSourceConnector as aR, type WearablesConfig as aS, type WearableSyncSummary as aT, type WearableSourceStatus as aU, type WearableDayTranscript as aV, type WearableCorrectionRule as aW, type MeetingBuildInput as aX, type MeetingsConfig as aY, type MeetingsDetectionInput as aZ, type FusionConversationInput as a_, type MemoryActionType as aa, type MemoryActionEvent as ab, type CompressionGuidelineOptimizerState as ac, type EntityMention as ad, type EntitySchemaDefinition as ae, type EntitySchemaSectionDefinition as af, type EntityStructuredSection as ag, type ImportanceScore as ah, type MemoryIntent as ai, type MemoryActionEligibilityContext as aj, type MemoryActionPolicyResult as ak, type MemoryLifecycleEventType as al, type MemoryLifecycleStateSummary as am, type ModelProviderConfig as an, type NativeKnowledgeConfig as ao, type ProvenanceConfig as ap, type RetrievalTier as aq, type SignalScanResult as ar, type TopicScore as as, type QmdSearchExplain as at, type ActivitySnapshot as au, type ActivityConfig as av, type ActivitySourceConfig as aw, type ActivitySourceClient as ax, type FusedWearableConversation as ay, type FusedDayMeta as az, type RecallDisclosure as b, type BufferEntryState as b$, type DetectedMeeting as b0, type CodingContext as b1, type DreamsStatusResult as b2, type RecallSectionConfig as b3, type BootstrapOptions as b4, type BootstrapResult as b5, type ConsolidationObservation as b6, type CodingModeConfig as b7, type FusedSpeaker as b8, type FusedSegment as b9, type FusedSegmentProvenance as bA, type FusionSegmentInput as bB, type ImportSourceRole as bC, type ImportTurnValidationIssue as bD, type MeetingScreenContextEvent as bE, type MeetingSummaryMode as bF, type MemoryActionEligibilitySource as bG, type MemoryObservation as bH, type MemoryScope as bI, RECALL_DISCLOSURE_LEVELS as bJ, type SegmentPickReason as bK, type WearableAuthCheck as bL, type WearableFetchOptions as bM, type WearableFetchPage as bN, type WearableNativeMemoryPage as bO, type WearableTranscriptSegment as bP, isImportRole as bQ, isRecallDisclosure as bR, parseIsoTimestamp as bS, validateImportTurn as bT, type AgentAccessHttpConfig as bU, type AgentDefaultsConfig as bV, type AgentPersona as bW, type BehaviorLoopAdjustment as bX, type BehaviorSignalDirection as bY, type BehaviorSignalType as bZ, type BriefingCalendarSourceError as b_, type FusedDisagreement as ba, type FusionOptions as bb, type FusionDayResult as bc, type CodingKnowledgeConfig as bd, type WearableCleanupSettings as be, type WearableFusionConfig as bf, type WearableDayTranscriptMeta as bg, type ActivityDayMeta as bh, type ActivityDayDigest as bi, type ActivitySourceCheck as bj, type ActivitySnapshotPage as bk, type MeetingsDetectionConfig as bl, type MeetingAudioWindow as bm, type MeetingAppSpan as bn, type ActivityExtractionMode as bo, type BriefingConfig as bp, type BriefingOpenCommitment as bq, type BriefingWindow as br, type BulkImportError as bs, type BulkImportSourceAdapter as bt, type CodexCompatConfig as bu, DEFAULT_RECALL_DISCLOSURE as bv, type DisagreementKind as bw, type ExtractedFact as bx, type FusedContribution as by, type FusedConversationProvenance as bz, type ActiveRecallQueryMode as c, type SlotBehaviorConfig as c$, type CaptureMode as c0, type ChatConfig as c1, type CodexCliReasoningEffort as c2, type CodexCompactionFlushMode as c3, type CodexConnectorConfig as c4, type CodingGraphLspConfig as c5, type CompressionGuidelineActivationState as c6, type CompressionGuidelineOptimizerSourceWindow as c7, type ConfidenceTier as c8, type ConsolidationAction as c9, type MemoryActionPolicyDecision as cA, type MemoryActionStatus as cB, type MemoryLinkType as cC, type MemoryOsPresetName as cD, type ModelApi as cE, type ModelDefinitionConfig as cF, type ModelProviderAuthMode as cG, type NamespacePolicy as cH, type NativeKnowledgeFolderRuleConfig as cI, type NativeKnowledgeObsidianVaultConfig as cJ, type NativeKnowledgeOpenClawWorkspaceConfig as cK, type NotionLiveConnectorConfig as cL, type PrincipalFromSessionKeyMode as cM, type PrincipalRule as cN, type ProceduralConfig as cO, type QuestionEntry as cP, type ReasoningEffort as cQ, type RecallPipelineConfig as cR, type RecallTraceEvent as cS, type RelevanceFeedback as cT, SPECULATIVE_TTL_DAYS as cU, type ScopeProfileAutoPromoteConfig as cV, type ScopeProfileTeamProjectConfig as cW, type ScopeTeamConfig as cX, type ScoredEntity as cY, type SemanticChunkingConfigShape as cZ, type SignalLevel as c_, type ConsolidationItem as ca, type ContradictionScanConfig as cb, type CronConversationRecallMode as cc, type CronRecallMode as cd, type DreamingConfig as ce, type DreamingNarrativePromptStyle as cf, type DreamsDeepSleepConfig as cg, type DreamsLightSleepConfig as ch, type DreamsPhaseStatus as ci, type DreamsPhasesConfig as cj, type DreamsRemConfig as ck, type EngramTraceEvent as cl, type ExtractedProcedureStep as cm, type ExtractedQuestion as cn, type ExtractedReasoningTrace as co, type ExtractedReasoningTraceStep as cp, type ExtractedRelationship as cq, type ExtractionPassSource as cr, type GitHubLiveConnectorConfig as cs, type GmailLiveConnectorConfig as ct, type GoogleDriveLiveConnectorConfig as cu, type HeartbeatConfig as cv, type HeartbeatDetectionMode as cw, type LlmTraceCallback as cx, type LlmTraceEvent as cy, type MemoryActionOutcome as cz, type ActiveRecallPromptStyle as d, type SlotMismatchMode as d0, type TriggerMode as d1, confidenceTier as d2, type ActiveRecallThinking as e, type ActiveRecallModelFallbackPolicy as f, type RecallTierExplain as g, type BriefingFollowup as h, type BriefingFocus as i, type CalendarEvent as j, type BriefingActiveThread as k, type BriefingResult as l, type BriefingRecentEntity as m, type BufferTurn as n, type MemoryFrontmatter as o, type Checkpoint as p, type AgentPersonaModelConfig as q, type SourceConnectorProvenance as r, type ScopeProfileConfig as s, type ScopeProfileLayerId as t, type ScopeProfilePromotionTarget as u, type BehaviorLoopPolicyState as v, type MemoryCategory as w, type MemoryStatus as x, type MemoryProjectionCurrentState as y, type MemoryLifecycleEvent as z };
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aL as AccessTrackingEntry, A as ActiveRecallChatType, f as ActiveRecallModelFallbackPolicy, d as ActiveRecallPromptStyle, c as ActiveRecallQueryMode, e as ActiveRecallThinking, a6 as AgentAccessAuthToken, bU as AgentAccessHttpConfig, bV as AgentDefaultsConfig, bW as AgentPersona, q as AgentPersonaModelConfig, bX as BehaviorLoopAdjustment, v as BehaviorLoopPolicyState, bY as BehaviorSignalDirection, $ as BehaviorSignalEvent, bZ as BehaviorSignalType, b4 as BootstrapOptions, b5 as BootstrapResult, k as BriefingActiveThread, b_ as BriefingCalendarSourceError, bp as BriefingConfig, i as BriefingFocus, h as BriefingFollowup, bq as BriefingOpenCommitment, m as BriefingRecentEntity, l as BriefingResult, B as BriefingSections, br as BriefingWindow, b$ as BufferEntryState, aG as BufferState, a0 as BufferSurpriseEvent, n as BufferTurn, j as CalendarEvent, C as CalendarSource, c0 as CaptureMode, c1 as ChatConfig, p as Checkpoint, c2 as CodexCliReasoningEffort, c3 as CodexCompactionFlushMode, bu as CodexCompatConfig, c4 as CodexConnectorConfig, b1 as CodingContext, c5 as CodingGraphLspConfig, bd as CodingKnowledgeConfig, b7 as CodingModeConfig, c6 as CompressionGuidelineActivationState, a8 as CompressionGuidelineOptimizerActionSummary, a7 as CompressionGuidelineOptimizerEventCounts, a9 as CompressionGuidelineOptimizerRuleUpdate, c7 as CompressionGuidelineOptimizerSourceWindow, ac as CompressionGuidelineOptimizerState, c8 as ConfidenceTier, c9 as ConsolidationAction, ca as ConsolidationItem, b6 as ConsolidationObservation, K as ConsolidationResult, cb as ContradictionScanConfig, V as ConversationThread, cc as CronConversationRecallMode, cd as CronRecallMode, bv as DEFAULT_RECALL_DISCLOSURE, N as DaySummaryResult, ce as DreamingConfig, cf as DreamingNarrativePromptStyle, cg as DreamsDeepSleepConfig, ch as DreamsLightSleepConfig, D as DreamsPhase, ci as DreamsPhaseStatus, cj as DreamsPhasesConfig, ck as DreamsRemConfig, a as DreamsRunResult, b2 as DreamsStatusResult, cl as EngramTraceEvent, aK as EntityActivityEntry, E as EntityFile, ad as EntityMention, aJ as EntityRelationship, ae as EntitySchemaDefinition, af as EntitySchemaSectionDefinition, ag as EntityStructuredSection, aE as EntityTimelineEntry, bx as ExtractedFact, cm as ExtractedProcedureStep, cn as ExtractedQuestion, co as ExtractedReasoningTrace, cp as ExtractedReasoningTraceStep, cq as ExtractedRelationship, Z as ExtractionFailureClass, cr as ExtractionPassSource, J as ExtractionResult, F as FaithfulnessFrontmatter, aI as FileHygieneConfig, G as GatewayConfig, cs as GitHubLiveConnectorConfig, ct as GmailLiveConnectorConfig, cu as GoogleDriveLiveConnectorConfig, cv as HeartbeatConfig, cw as HeartbeatDetectionMode, H as HourlySummary, I as IdentityInjectionMode, _ as ImportanceLevel, ah as ImportanceScore, W as LifecycleState, L as LiveConnectorsConfig, cx as LlmTraceCallback, cy as LlmTraceEvent, aj as MemoryActionEligibilityContext, bG as MemoryActionEligibilitySource, ab as MemoryActionEvent, cz as MemoryActionOutcome, cA as MemoryActionPolicyDecision, ak as MemoryActionPolicyResult, cB as MemoryActionStatus, aa as MemoryActionType, w as MemoryCategory, M as MemoryFile, o as MemoryFrontmatter, ai as MemoryIntent, z as MemoryLifecycleEvent, al as MemoryLifecycleEventType, am as MemoryLifecycleStateSummary, aF as MemoryLink, cC as MemoryLinkType, bH as MemoryObservation, cD as MemoryOsPresetName, y as MemoryProjectionCurrentState, bI as MemoryScope, x as MemoryStatus, aM as MemorySummary, aH as MetaState, cE as ModelApi, cF as ModelDefinitionConfig, cG as ModelProviderAuthMode, an as ModelProviderConfig, cH as NamespacePolicy, ao as NativeKnowledgeConfig, cI as NativeKnowledgeFolderRuleConfig, cJ as NativeKnowledgeObsidianVaultConfig, cK as NativeKnowledgeOpenClawWorkspaceConfig, cL as NotionLiveConnectorConfig, P as PluginConfig, Y as PolicyClass, cM as PrincipalFromSessionKeyMode, cN as PrincipalRule, cO as ProceduralConfig, ap as ProvenanceConfig, O as ProvenanceSource, at as QmdSearchExplain, Q as QmdSearchResult, cP as QuestionEntry, bJ as RECALL_DISCLOSURE_LEVELS, cQ as ReasoningEffort, b as RecallDisclosure, cR as RecallPipelineConfig, R as RecallPlanMode, b3 as RecallSectionConfig, g as RecallTierExplain, cS as RecallTraceEvent, cT as RelevanceFeedback, aq as RetrievalTier, cU as SPECULATIVE_TTL_DAYS, cV as ScopeProfileAutoPromoteConfig, s as ScopeProfileConfig, t as ScopeProfileLayerId, u as ScopeProfilePromotionTarget, cW as ScopeProfileTeamProjectConfig, cX as ScopeTeamConfig, cY as ScoredEntity, a5 as SecretRef, cZ as SemanticChunkingConfigShape, S as SessionObserverBandConfig, c_ as SignalLevel, ar as SignalScanResult, c$ as SlotBehaviorConfig, d0 as SlotMismatchMode, r as SourceConnectorProvenance, as as TopicScore, T as TranscriptEntry, d1 as TriggerMode, U as TrustWeights, X as VerificationState, d2 as confidenceTier, bR as isRecallDisclosure } from './types-Bbs0qz6b.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';
|
package/dist/types.js
CHANGED
package/dist/verified-recall.js
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compareVerifiedEpisodeResults,
|
|
3
3
|
searchVerifiedEpisodes
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ATEAL5EI.js";
|
|
5
5
|
import "./chunk-B7RWBZXW.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-ZBJMUXZH.js";
|
|
7
|
+
import "./chunk-XWPFZX6S.js";
|
|
8
8
|
import "./chunk-2QMKMVHH.js";
|
|
9
|
+
import "./chunk-UHVXE24Y.js";
|
|
9
10
|
import "./chunk-DEBHXHJR.js";
|
|
10
11
|
import "./chunk-DNHVPZOD.js";
|
|
11
12
|
import "./chunk-6CIAGZ6X.js";
|
|
12
13
|
import "./chunk-J6A3CX5N.js";
|
|
13
14
|
import "./chunk-HKF5VASQ.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-SCOT5DTA.js";
|
|
15
16
|
import "./chunk-XKGPIWGI.js";
|
|
16
17
|
import "./chunk-EGGE52UU.js";
|
|
17
18
|
import "./chunk-GCASGYIO.js";
|
|
@@ -20,8 +21,8 @@ import "./chunk-ILGC6JH6.js";
|
|
|
20
21
|
import "./chunk-SCU65EZI.js";
|
|
21
22
|
import "./chunk-3CSX3ETE.js";
|
|
22
23
|
import "./chunk-RL6NEVXT.js";
|
|
23
|
-
import "./chunk-DM2T26WE.js";
|
|
24
24
|
import "./chunk-LDXUBPMO.js";
|
|
25
|
+
import "./chunk-DM2T26WE.js";
|
|
25
26
|
import "./chunk-JYIJNNN3.js";
|
|
26
27
|
import "./chunk-AAD2ZS6P.js";
|
|
27
28
|
import "./chunk-CGASUJVP.js";
|
|
@@ -52,7 +53,6 @@ import "./chunk-JUC24CTX.js";
|
|
|
52
53
|
import "./chunk-P7FMDTKL.js";
|
|
53
54
|
import "./chunk-6MKAMLQL.js";
|
|
54
55
|
import "./chunk-JAKIDQB2.js";
|
|
55
|
-
import "./chunk-ZBJMUXZH.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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remnic/core",
|
|
3
|
-
"version": "9.22.
|
|
3
|
+
"version": "9.22.1",
|
|
4
4
|
"description": "Framework-agnostic Remnic memory engine — orchestrator, storage, extraction, search, trust zones",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -3045,7 +3045,7 @@
|
|
|
3045
3045
|
"core"
|
|
3046
3046
|
],
|
|
3047
3047
|
"peerDependencies": {
|
|
3048
|
-
"@remnic/coding-graph": "^9.22.
|
|
3048
|
+
"@remnic/coding-graph": "^9.22.1"
|
|
3049
3049
|
},
|
|
3050
3050
|
"peerDependenciesMeta": {
|
|
3051
3051
|
"@remnic/coding-graph": {
|
package/src/access-boundary.ts
CHANGED
package/src/access-http.test.ts
CHANGED
|
@@ -2895,3 +2895,66 @@ test("HTTP namespace/writable preflight admits write-scoped tokens and rejects r
|
|
|
2895
2895
|
await server.stop();
|
|
2896
2896
|
}
|
|
2897
2897
|
});
|
|
2898
|
+
|
|
2899
|
+
test("HTTP meetings build enforces the per-principal write rate limit (issue #1937)", async () => {
|
|
2900
|
+
let builds = 0;
|
|
2901
|
+
const service = {
|
|
2902
|
+
meetingsBuild: async (date: string) => {
|
|
2903
|
+
builds += 1;
|
|
2904
|
+
return { enabled: true, date, meetings: [] };
|
|
2905
|
+
},
|
|
2906
|
+
} as unknown as EngramAccessService;
|
|
2907
|
+
const server = new EngramAccessHttpServer({
|
|
2908
|
+
service,
|
|
2909
|
+
port: 0,
|
|
2910
|
+
authToken: "test-token",
|
|
2911
|
+
adminConsoleEnabled: false,
|
|
2912
|
+
writeRateLimitMaxRequests: 1,
|
|
2913
|
+
});
|
|
2914
|
+
const status = await server.start();
|
|
2915
|
+
try {
|
|
2916
|
+
const build = () =>
|
|
2917
|
+
fetch(`http://127.0.0.1:${status.port}/engram/v1/meetings/build`, {
|
|
2918
|
+
method: "POST",
|
|
2919
|
+
headers: { authorization: "Bearer test-token", "content-type": "application/json" },
|
|
2920
|
+
body: JSON.stringify({ date: "2026-03-10" }),
|
|
2921
|
+
});
|
|
2922
|
+
const first = await build();
|
|
2923
|
+
assert.equal(first.status, 200, "the first build is within the write quota");
|
|
2924
|
+
const second = await build();
|
|
2925
|
+
assert.equal(second.status, 429, "the second build exceeds the per-principal write quota");
|
|
2926
|
+
const rateLimited = await second.json() as { code?: string };
|
|
2927
|
+
assert.equal(rateLimited.code, "write_rate_limited");
|
|
2928
|
+
assert.equal(builds, 1, "the rate-limited build never reached the service (no persist/reindex)");
|
|
2929
|
+
} finally {
|
|
2930
|
+
await server.stop();
|
|
2931
|
+
}
|
|
2932
|
+
});
|
|
2933
|
+
|
|
2934
|
+
test("HTTP meetings get returns 400 (not 500) for a malformed percent-encoded id (issue #1900)", async () => {
|
|
2935
|
+
let called = 0;
|
|
2936
|
+
const service = {
|
|
2937
|
+
meetingsGet: async () => {
|
|
2938
|
+
called += 1;
|
|
2939
|
+
return { enabled: true, found: false, id: "x", record: null };
|
|
2940
|
+
},
|
|
2941
|
+
} as unknown as EngramAccessService;
|
|
2942
|
+
const server = new EngramAccessHttpServer({
|
|
2943
|
+
service,
|
|
2944
|
+
port: 0,
|
|
2945
|
+
authToken: "test-token",
|
|
2946
|
+
adminConsoleEnabled: false,
|
|
2947
|
+
});
|
|
2948
|
+
const status = await server.start();
|
|
2949
|
+
try {
|
|
2950
|
+
const response = await fetch(`http://127.0.0.1:${status.port}/engram/v1/meetings/%E0%A4%A`, {
|
|
2951
|
+
headers: { authorization: "Bearer test-token" },
|
|
2952
|
+
});
|
|
2953
|
+
assert.equal(response.status, 400, "a malformed id is a client error, not an internal 500");
|
|
2954
|
+
const errorBody = await response.json() as { code?: string };
|
|
2955
|
+
assert.equal(errorBody.code, "invalid_request");
|
|
2956
|
+
assert.equal(called, 0, "the malformed id never reached the service");
|
|
2957
|
+
} finally {
|
|
2958
|
+
await server.stop();
|
|
2959
|
+
}
|
|
2960
|
+
});
|