@remnic/core 9.63.3 → 9.63.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access-admin-ops-surface.d.ts +11 -11
- package/dist/access-admin-ops-surface.js +23 -23
- package/dist/access-authorization-probe.d.ts +11 -11
- package/dist/access-authorization-probe.js +24 -24
- package/dist/access-boundary.d.ts +11 -11
- package/dist/access-boundary.js +23 -23
- package/dist/access-cli.js +55 -54
- package/dist/access-cli.js.map +1 -1
- package/dist/access-coding-context-resolution.d.ts +1 -1
- package/dist/access-extraction-force-flush.d.ts +11 -11
- package/dist/access-extraction-force-flush.js +23 -23
- package/dist/access-health-types.d.ts +1 -1
- package/dist/access-http-lcm-compaction.d.ts +11 -11
- package/dist/access-http-lifecycle-flush.d.ts +11 -11
- package/dist/access-http-offline-stream.d.ts +11 -11
- package/dist/access-http-query.d.ts +13 -1
- package/dist/access-http-query.js +27 -24
- package/dist/access-http.d.ts +12 -12
- package/dist/access-http.js +34 -33
- package/dist/access-identity-continuity-surface.d.ts +9 -9
- package/dist/access-identity-continuity-surface.js +23 -23
- package/dist/access-lcm-surface.d.ts +11 -11
- package/dist/access-lcm-surface.js +23 -23
- package/dist/access-mcp.d.ts +11 -11
- package/dist/access-mcp.js +28 -28
- package/dist/access-memory-search-fanout.d.ts +2 -2
- package/dist/{access-namespace-preflight-yO4LMGFH.d.ts → access-namespace-preflight-DB0zXFek.d.ts} +1 -1
- package/dist/access-namespace-preflight.d.ts +3 -3
- package/dist/access-namespace-preflight.js +23 -23
- package/dist/access-observe-write-surface.d.ts +11 -11
- package/dist/access-observe-write-surface.js +23 -23
- package/dist/access-offline-manifest.d.ts +9 -9
- package/dist/access-offline-manifest.js +3 -3
- package/dist/access-operations-batch.js +24 -24
- package/dist/access-operations.d.ts +14 -14
- package/dist/access-operations.js +27 -27
- package/dist/access-recall-concurrency.d.ts +11 -11
- package/dist/access-recall-concurrency.js +23 -23
- package/dist/access-recall-response.d.ts +11 -11
- package/dist/access-recall-response.js +23 -23
- package/dist/access-recall-surface.d.ts +11 -11
- package/dist/access-recall-surface.js +23 -23
- package/dist/access-schema.d.ts +88 -88
- package/dist/{access-service-M4LgO141.d.ts → access-service-cKQrte9Z.d.ts} +71 -77
- package/dist/access-service-helpers.d.ts +11 -11
- package/dist/access-service.d.ts +11 -11
- package/dist/access-service.js +23 -23
- package/dist/access-surface-catalog.d.ts +11 -11
- package/dist/access-surface-catalog.js +25 -25
- package/dist/access-wearables-meetings-surface.d.ts +3 -3
- package/dist/action-confidence.d.ts +1 -1
- package/dist/active-memory-bridge.d.ts +1 -1
- package/dist/active-recall.d.ts +1 -1
- package/dist/ambient-provenance.d.ts +1 -1
- package/dist/artifact-search.d.ts +1 -1
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +9 -9
- package/dist/briefing-window.d.ts +2 -2
- package/dist/briefing.d.ts +2 -2
- package/dist/briefing.js +11 -11
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer-turn-helpers.d.ts +1 -1
- package/dist/buffer.d.ts +2 -2
- package/dist/buffer.js +4 -4
- package/dist/bulk-import/index.d.ts +3 -3
- package/dist/calibration.d.ts +1 -1
- package/dist/capabilities.d.ts +1 -1
- package/dist/{capsule-merge-HCJJMLPS.js → capsule-merge-SGIVB3WA.js} +5 -5
- package/dist/{catalog-CyYTf_ok.d.ts → catalog-CCzmf8IH.d.ts} +3 -11
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-consolidation.js +12 -12
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/{chunk-XFCQIQQU.js → chunk-2UM6WHME.js} +3 -3
- package/dist/{chunk-6F2UMP4H.js → chunk-3Z5TGRFA.js} +8 -8
- package/dist/{chunk-JJX5XEIG.js → chunk-77QZW2D6.js} +4 -4
- package/dist/{chunk-X4MGNVOO.js → chunk-7AF243WZ.js} +1 -1
- package/dist/{chunk-2ASAS3CQ.js → chunk-7KQB4EBS.js} +2 -2
- package/dist/{chunk-3LJ2L3T3.js → chunk-7LF2OHIJ.js} +2 -2
- package/dist/{chunk-VAMQU4W7.js → chunk-AYVCKGA6.js} +2 -2
- package/dist/{chunk-GTRGH4ZT.js → chunk-BB2LH5JM.js} +2 -2
- package/dist/{chunk-XMMESCPD.js → chunk-C64XATK7.js} +17 -27
- package/dist/chunk-C64XATK7.js.map +1 -0
- package/dist/{chunk-6UZR7KEK.js → chunk-CUDSA46O.js} +8 -2
- package/dist/chunk-CUDSA46O.js.map +1 -0
- package/dist/{chunk-PADG72LJ.js → chunk-DXDAQZ2K.js} +2 -2
- package/dist/{chunk-EJQXDKYK.js → chunk-DYZR3Z6D.js} +3 -3
- package/dist/{chunk-VN7IIQGS.js → chunk-E4KMY4KR.js} +2 -2
- package/dist/{chunk-ZQKXRKMR.js → chunk-EFKZT6AY.js} +2 -2
- package/dist/{chunk-DNRTKO2U.js → chunk-EJY3HJMT.js} +2 -2
- package/dist/{chunk-RYGJGXL6.js → chunk-ERPBRXVZ.js} +2 -2
- package/dist/{chunk-5UFQCU6M.js → chunk-F6JYBVL6.js} +27 -57
- package/dist/{chunk-5UFQCU6M.js.map → chunk-F6JYBVL6.js.map} +1 -1
- package/dist/{chunk-JWPG65LH.js → chunk-FHKXVTM5.js} +38 -39
- package/dist/chunk-FHKXVTM5.js.map +1 -0
- package/dist/{chunk-RPKJHYVE.js → chunk-FPEZ74F7.js} +2 -2
- package/dist/{chunk-Z334TJRB.js → chunk-GF7RQWXC.js} +2 -2
- package/dist/{chunk-6D7PZKCJ.js → chunk-GG4DN63W.js} +2 -2
- package/dist/{chunk-IM56VPKO.js → chunk-GTD4Q62X.js} +2 -6
- package/dist/{chunk-A73QHOZP.js → chunk-I5FLIB2J.js} +2 -2
- package/dist/{chunk-JJ7JW62R.js → chunk-IVXVLDNT.js} +12 -22
- package/dist/chunk-IVXVLDNT.js.map +1 -0
- package/dist/{chunk-NRFU5MVH.js → chunk-JOEJG4SD.js} +47 -1
- package/dist/chunk-JOEJG4SD.js.map +1 -0
- package/dist/{chunk-EJLTNPRY.js → chunk-KHCUVYCY.js} +3 -3
- package/dist/{chunk-QSIQVC32.js → chunk-KYTRF64R.js} +2 -2
- package/dist/{chunk-R74NCKEY.js → chunk-LX4TNSAE.js} +4 -4
- package/dist/{chunk-H6ZXNH5I.js → chunk-MUJ4QFUQ.js} +3 -3
- package/dist/{chunk-4NMVX5U7.js → chunk-NA56NSKL.js} +2 -2
- package/dist/{chunk-MR5HWQHS.js → chunk-NKB43PGI.js} +2 -2
- package/dist/{chunk-DLQQU4EG.js → chunk-NS5ETDYD.js} +2 -2
- package/dist/{chunk-44KHFMCM.js → chunk-OETHJBAL.js} +76 -53
- package/dist/{chunk-44KHFMCM.js.map → chunk-OETHJBAL.js.map} +1 -1
- package/dist/{chunk-KWN6NOHQ.js → chunk-PB4WVYGC.js} +2 -2
- package/dist/{chunk-Q35XGIEM.js → chunk-PBRCYYO7.js} +2 -2
- package/dist/{chunk-QYN5PXDZ.js → chunk-PMVPCZJZ.js} +4 -4
- package/dist/{chunk-AJSZ2EK6.js → chunk-QI5RDDEL.js} +3 -3
- package/dist/{chunk-I6OQCT3Y.js → chunk-QRWMS6SI.js} +2 -2
- package/dist/{chunk-ITYAXU4S.js → chunk-R6UMNP5C.js} +3 -3
- package/dist/{chunk-5W62VEFH.js → chunk-RWMSMTQP.js} +2 -2
- package/dist/{chunk-FKJVEW6O.js → chunk-SYVGVK4S.js} +2 -2
- package/dist/{chunk-TRPX6F2G.js → chunk-TSTI6A3A.js} +10 -13
- package/dist/chunk-TSTI6A3A.js.map +1 -0
- package/dist/{chunk-XZPSBGHA.js → chunk-UCLMKNHA.js} +2 -2
- package/dist/{chunk-ZMSZVISA.js → chunk-UFKPQBXH.js} +3 -3
- package/dist/{chunk-B2OOJCUX.js → chunk-UGHCZS6K.js} +2 -2
- package/dist/chunk-V3KIRICY.js +727 -0
- package/dist/chunk-V3KIRICY.js.map +1 -0
- package/dist/{chunk-6ZYQ36IB.js → chunk-VPHSMJ2E.js} +15 -2
- package/dist/chunk-VPHSMJ2E.js.map +1 -0
- package/dist/{chunk-E2GYBTSP.js → chunk-VYEPACWY.js} +2 -2
- package/dist/{chunk-5W5N7XJZ.js → chunk-X7LEDA74.js} +20 -753
- package/dist/chunk-X7LEDA74.js.map +1 -0
- package/dist/{chunk-KMAP7SNQ.js → chunk-XCB6QDL6.js} +2 -2
- package/dist/{chunk-WDUG2CH3.js → chunk-YEQCMA5L.js} +2 -2
- package/dist/{chunk-LZCSOUJ7.js → chunk-YFCEBB5P.js} +2 -2
- package/dist/{chunk-IKXUG6KC.js → chunk-YXMHUBN2.js} +2 -2
- package/dist/{chunk-GFNS3BHV.js → chunk-ZUPKNWRZ.js} +3 -3
- package/dist/{chunk-GSTIBXBW.js → chunk-ZVPVTPGI.js} +2 -2
- package/dist/{cli-Bw9z-KqX.d.ts → cli-BFBDYV0D.d.ts} +5 -5
- package/dist/cli.d.ts +13 -13
- package/dist/cli.js +45 -44
- package/dist/coding/pre-action-gate.d.ts +1 -1
- package/dist/compounding/engine.d.ts +2 -2
- package/dist/compounding/engine.js +11 -11
- 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/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +11 -11
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +11 -11
- package/dist/consolidation-provenance-check.d.ts +2 -2
- package/dist/consolidation-provenance-check.js +5 -5
- package/dist/consolidation-undo.d.ts +2 -2
- package/dist/consolidation-undo.js +4 -4
- package/dist/contradiction/index.d.ts +2 -2
- package/dist/converge-config.d.ts +1 -1
- package/dist/convergence-refresh.d.ts +2 -2
- package/dist/convergence-refresh.js +13 -13
- package/dist/conversation-index/backend.d.ts +1 -1
- package/dist/conversation-index/chunker.d.ts +1 -1
- package/dist/conversation-index/faiss-adapter.d.ts +1 -1
- package/dist/conversation-index/indexer.d.ts +1 -1
- package/dist/conversation-index/search.d.ts +1 -1
- package/dist/corpus-watermark.d.ts +1 -1
- package/dist/corpus-watermark.js +13 -13
- package/dist/day-summary.d.ts +1 -1
- package/dist/delinearize.d.ts +1 -1
- package/dist/dependency-propagation-config.d.ts +1 -1
- package/dist/{dependency-propagation-delivery-BxhvAppj.d.ts → dependency-propagation-delivery-DiY5T63p.d.ts} +1 -1
- package/dist/direct-answer-wiring.d.ts +1 -1
- package/dist/direct-answer.d.ts +1 -1
- package/dist/embedding-fallback.d.ts +1 -1
- package/dist/enrichment/index.d.ts +1 -1
- package/dist/entity-origin-fields.d.ts +1 -1
- package/dist/entity-retrieval.d.ts +2 -2
- package/dist/entity-retrieval.js +11 -11
- package/dist/entity-schema.d.ts +1 -1
- package/dist/episodic-context.d.ts +1 -1
- package/dist/explicit-capture.d.ts +9 -9
- package/dist/explicit-capture.js +5 -5
- package/dist/external-wiki-access.d.ts +11 -11
- package/dist/external-wiki-access.js +24 -24
- package/dist/external-wiki-collection-registration.d.ts +1 -1
- package/dist/external-wiki-collection.d.ts +1 -1
- package/dist/external-wiki-mcp-tools.d.ts +11 -11
- package/dist/extraction-error-classification.d.ts +1 -1
- package/dist/extraction-faithfulness.d.ts +1 -1
- package/dist/extraction-judge-telemetry.d.ts +1 -1
- package/dist/extraction-judge-training.d.ts +1 -1
- package/dist/extraction-judge.d.ts +1 -1
- package/dist/extraction-liveness.d.ts +1 -1
- package/dist/extraction-normalization.d.ts +1 -1
- package/dist/extraction-prompt.d.ts +1 -1
- package/dist/extraction-source-grounding-rules.d.ts +1 -1
- package/dist/extraction-source-grounding.d.ts +1 -1
- package/dist/extraction.d.ts +1 -1
- package/dist/extraction.js +14 -14
- package/dist/fallback-llm.d.ts +1 -1
- package/dist/graph-dashboard-diff.d.ts +1 -1
- package/dist/graph-dashboard-key.d.ts +1 -1
- package/dist/graph-dashboard-parser.d.ts +1 -1
- package/dist/graph-edge-reinforcement.d.ts +1 -1
- package/dist/graph-path-reconstruction.d.ts +1 -1
- package/dist/graph-path-scoring.d.ts +1 -1
- package/dist/graph-snapshot.d.ts +1 -1
- package/dist/graph.d.ts +1 -1
- package/dist/harmonic-retrieval.js +1 -1
- package/dist/importance.d.ts +1 -1
- package/dist/importers/index.d.ts +1 -1
- package/dist/in-flight-reads.d.ts +1 -1
- package/dist/index.d.ts +697 -697
- package/dist/index.js +57 -56
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/tools.d.ts +1 -1
- package/dist/lifecycle.d.ts +1 -1
- package/dist/live-connectors-runner.d.ts +1 -1
- package/dist/local-llm.d.ts +1 -1
- package/dist/local-model-endpoint.d.ts +1 -1
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/maintenance/memory-governance.js +11 -11
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +11 -11
- package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-projection.js +12 -12
- package/dist/{maintenance-uJb74j64.d.ts → maintenance-CaqA4z7V.d.ts} +3 -3
- package/dist/mcp-memory-inspector-app.d.ts +11 -11
- package/dist/memory-action-policy.d.ts +1 -1
- package/dist/memory-cache.d.ts +1 -1
- package/dist/memory-cache.js +1 -1
- package/dist/memory-corpus-version.js +2 -2
- package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
- package/dist/memory-projection-store.d.ts +1 -1
- package/dist/memory-provenance.d.ts +1 -1
- package/dist/memory-snapshot.d.ts +1 -1
- package/dist/memory-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 +4 -4
- package/dist/namespaces/storage.d.ts +3 -3
- package/dist/namespaces/storage.js +11 -11
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/offline-sync-impression-drain.d.ts +1 -1
- package/dist/operator-doctor-corpus.d.ts +1 -1
- package/dist/operator-doctor-corpus.js +14 -14
- package/dist/operator-doctor-replica.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +3 -3
- package/dist/operator-toolkit.js +20 -19
- package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
- package/dist/orchestration/maintenance.d.ts +4 -4
- package/dist/orchestration/maintenance.js +17 -16
- package/dist/{orchestrator-CFi-5JSR.d.ts → orchestrator-CSc9GfQv.d.ts} +8 -8
- package/dist/orchestrator.d.ts +9 -9
- package/dist/orchestrator.js +55 -54
- package/dist/page-versioning.js +4 -4
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/{pipeline-BdF3ferY.d.ts → pipeline-X606GdRJ.d.ts} +1 -1
- package/dist/policy-runtime.d.ts +1 -1
- package/dist/proactive-contention.d.ts +1 -1
- package/dist/provenance.d.ts +1 -1
- package/dist/{public-http-DK-QwaBu.d.ts → public-http-8PcrDIYi.d.ts} +1 -1
- package/dist/{qmd-CBSxevyb.d.ts → qmd-DCKeR-GX.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 +2 -2
- package/dist/recall-concurrency-config.d.ts +1 -1
- package/dist/recall-disclosure-escalation.d.ts +1 -1
- package/dist/recall-explain-renderer.d.ts +1 -1
- package/dist/recall-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-renderer.d.ts +1 -1
- package/dist/recall-xray.d.ts +1 -1
- package/dist/reconcile/cursor.d.ts +1 -1
- package/dist/reconcile/manifest.d.ts +1 -1
- package/dist/reconcile/manifest.js +2 -2
- package/dist/reconcile/plan.d.ts +1 -1
- package/dist/replay/normalizers/chatgpt.d.ts +1 -1
- package/dist/replay/normalizers/claude.d.ts +1 -1
- package/dist/replay/normalizers/openclaw.d.ts +1 -1
- package/dist/replay/normalizers/shared.d.ts +1 -1
- package/dist/replay/runner.d.ts +1 -1
- package/dist/replay/types.d.ts +1 -1
- package/dist/replica-divergence.d.ts +1 -1
- package/dist/replica-peers-config.d.ts +1 -1
- package/dist/resolve-auth-token.d.ts +1 -1
- package/dist/retrieval-agents.d.ts +2 -2
- package/dist/retrieval-tiers.d.ts +1 -1
- package/dist/routing/engine.d.ts +1 -1
- package/dist/routing/store.d.ts +1 -1
- package/dist/salvage-envelope.d.ts +1 -1
- package/dist/schemas.d.ts +108 -108
- package/dist/{scope-profiles-CeMv7pP0.d.ts → scope-profiles-_Y_RHCeE.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 +3 -3
- package/dist/search/index.d.ts +1 -1
- package/dist/search/index.js +3 -3
- 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-B-85brYj.d.ts → semantic-consolidation-DT2VSrU0.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +12 -12
- package/dist/semantic-rule-promotion.js +11 -11
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +11 -11
- package/dist/{service-CoO0HA2E.d.ts → service-BMo-gwDE.d.ts} +3 -3
- package/dist/session-observer-bands.d.ts +1 -1
- package/dist/session-observer-state.d.ts +1 -1
- package/dist/shared-context/manager.d.ts +9 -9
- package/dist/signal.d.ts +1 -1
- package/dist/source-agent-qualifier.d.ts +1 -1
- package/dist/source-agent-qualifier.js +13 -13
- package/dist/{storage-BVAVitkO.d.ts → storage-CGzJGUUu.d.ts} +49 -24
- package/dist/storage.d.ts +2 -2
- package/dist/storage.js +10 -10
- package/dist/summarizer.d.ts +1 -1
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/support-passport/index.d.ts +14 -14
- package/dist/support-passport/index.js +26 -26
- package/dist/temporal-supersession.d.ts +2 -2
- package/dist/temporal-timeline-recall.d.ts +1 -1
- package/dist/temporal-validity.d.ts +1 -1
- package/dist/threading.d.ts +1 -1
- package/dist/tier-migration.d.ts +2 -2
- package/dist/tier-routing.d.ts +1 -1
- package/dist/topics.d.ts +1 -1
- package/dist/transcript.d.ts +1 -1
- package/dist/transfer/capsule-import.js +5 -5
- package/dist/transfer/types.d.ts +66 -66
- package/dist/trust-score-stage.d.ts +1 -1
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-DWHOxlZP.d.ts → types-CBEAYU76.d.ts} +112 -128
- package/dist/types.d.ts +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.js +11 -11
- package/dist/write-envelope.d.ts +1 -1
- package/package.json +2 -2
- package/src/access-http-query.ts +12 -0
- package/src/access-http.test.ts +32 -0
- package/src/access-http.ts +3 -7
- package/src/admin/admin-surfaces.test.ts +5 -10
- package/src/admin/admin-surfaces.ts +0 -16
- package/src/binary-lifecycle/pipeline.test.ts +1 -1
- package/src/binary-lifecycle/pipeline.ts +23 -9
- package/src/buffer.ts +6 -0
- package/src/chat/chat-cli.test.ts +53 -0
- package/src/chat/chat-cli.ts +22 -58
- package/src/dedup/index.test.ts +65 -1
- package/src/dedup/index.ts +24 -2
- package/src/maintenance/namespace-planner.ts +0 -2
- package/src/meetings/build.test.ts +20 -4
- package/src/meetings/build.ts +2 -2
- package/src/meetings/day-source.test.ts +3 -1
- package/src/meetings/day-source.ts +1 -12
- package/src/meetings/fuse.test.ts +64 -15
- package/src/meetings/fuse.ts +18 -12
- package/src/meetings/types.ts +4 -19
- package/src/memory-cache-derived.test.ts +90 -0
- package/src/memory-cache.ts +40 -42
- package/src/namespaces/catalog.test.ts +53 -8
- package/src/namespaces/catalog.ts +5 -37
- package/src/orchestration/turn-ingestion-snapshot.test.ts +167 -0
- package/src/orchestration/turn-ingestion.ts +2 -1
- package/src/storage/content-hash-index.ts +54 -0
- package/src/storage-contract/content-hash.test.ts +59 -1
- package/src/storage-fact-hash-index-defer.test.ts +9 -9
- package/src/storage.ts +39 -40
- package/dist/chunk-5W5N7XJZ.js.map +0 -1
- package/dist/chunk-6UZR7KEK.js.map +0 -1
- package/dist/chunk-6ZYQ36IB.js.map +0 -1
- package/dist/chunk-JJ7JW62R.js.map +0 -1
- package/dist/chunk-JWPG65LH.js.map +0 -1
- package/dist/chunk-NRFU5MVH.js.map +0 -1
- package/dist/chunk-TRPX6F2G.js.map +0 -1
- package/dist/chunk-XMMESCPD.js.map +0 -1
- /package/dist/{capsule-merge-HCJJMLPS.js.map → capsule-merge-SGIVB3WA.js.map} +0 -0
- /package/dist/{chunk-XFCQIQQU.js.map → chunk-2UM6WHME.js.map} +0 -0
- /package/dist/{chunk-6F2UMP4H.js.map → chunk-3Z5TGRFA.js.map} +0 -0
- /package/dist/{chunk-JJX5XEIG.js.map → chunk-77QZW2D6.js.map} +0 -0
- /package/dist/{chunk-X4MGNVOO.js.map → chunk-7AF243WZ.js.map} +0 -0
- /package/dist/{chunk-2ASAS3CQ.js.map → chunk-7KQB4EBS.js.map} +0 -0
- /package/dist/{chunk-3LJ2L3T3.js.map → chunk-7LF2OHIJ.js.map} +0 -0
- /package/dist/{chunk-VAMQU4W7.js.map → chunk-AYVCKGA6.js.map} +0 -0
- /package/dist/{chunk-GTRGH4ZT.js.map → chunk-BB2LH5JM.js.map} +0 -0
- /package/dist/{chunk-PADG72LJ.js.map → chunk-DXDAQZ2K.js.map} +0 -0
- /package/dist/{chunk-EJQXDKYK.js.map → chunk-DYZR3Z6D.js.map} +0 -0
- /package/dist/{chunk-VN7IIQGS.js.map → chunk-E4KMY4KR.js.map} +0 -0
- /package/dist/{chunk-ZQKXRKMR.js.map → chunk-EFKZT6AY.js.map} +0 -0
- /package/dist/{chunk-DNRTKO2U.js.map → chunk-EJY3HJMT.js.map} +0 -0
- /package/dist/{chunk-RYGJGXL6.js.map → chunk-ERPBRXVZ.js.map} +0 -0
- /package/dist/{chunk-RPKJHYVE.js.map → chunk-FPEZ74F7.js.map} +0 -0
- /package/dist/{chunk-Z334TJRB.js.map → chunk-GF7RQWXC.js.map} +0 -0
- /package/dist/{chunk-6D7PZKCJ.js.map → chunk-GG4DN63W.js.map} +0 -0
- /package/dist/{chunk-IM56VPKO.js.map → chunk-GTD4Q62X.js.map} +0 -0
- /package/dist/{chunk-A73QHOZP.js.map → chunk-I5FLIB2J.js.map} +0 -0
- /package/dist/{chunk-EJLTNPRY.js.map → chunk-KHCUVYCY.js.map} +0 -0
- /package/dist/{chunk-QSIQVC32.js.map → chunk-KYTRF64R.js.map} +0 -0
- /package/dist/{chunk-R74NCKEY.js.map → chunk-LX4TNSAE.js.map} +0 -0
- /package/dist/{chunk-H6ZXNH5I.js.map → chunk-MUJ4QFUQ.js.map} +0 -0
- /package/dist/{chunk-4NMVX5U7.js.map → chunk-NA56NSKL.js.map} +0 -0
- /package/dist/{chunk-MR5HWQHS.js.map → chunk-NKB43PGI.js.map} +0 -0
- /package/dist/{chunk-DLQQU4EG.js.map → chunk-NS5ETDYD.js.map} +0 -0
- /package/dist/{chunk-KWN6NOHQ.js.map → chunk-PB4WVYGC.js.map} +0 -0
- /package/dist/{chunk-Q35XGIEM.js.map → chunk-PBRCYYO7.js.map} +0 -0
- /package/dist/{chunk-QYN5PXDZ.js.map → chunk-PMVPCZJZ.js.map} +0 -0
- /package/dist/{chunk-AJSZ2EK6.js.map → chunk-QI5RDDEL.js.map} +0 -0
- /package/dist/{chunk-I6OQCT3Y.js.map → chunk-QRWMS6SI.js.map} +0 -0
- /package/dist/{chunk-ITYAXU4S.js.map → chunk-R6UMNP5C.js.map} +0 -0
- /package/dist/{chunk-5W62VEFH.js.map → chunk-RWMSMTQP.js.map} +0 -0
- /package/dist/{chunk-FKJVEW6O.js.map → chunk-SYVGVK4S.js.map} +0 -0
- /package/dist/{chunk-XZPSBGHA.js.map → chunk-UCLMKNHA.js.map} +0 -0
- /package/dist/{chunk-ZMSZVISA.js.map → chunk-UFKPQBXH.js.map} +0 -0
- /package/dist/{chunk-B2OOJCUX.js.map → chunk-UGHCZS6K.js.map} +0 -0
- /package/dist/{chunk-E2GYBTSP.js.map → chunk-VYEPACWY.js.map} +0 -0
- /package/dist/{chunk-KMAP7SNQ.js.map → chunk-XCB6QDL6.js.map} +0 -0
- /package/dist/{chunk-WDUG2CH3.js.map → chunk-YEQCMA5L.js.map} +0 -0
- /package/dist/{chunk-LZCSOUJ7.js.map → chunk-YFCEBB5P.js.map} +0 -0
- /package/dist/{chunk-IKXUG6KC.js.map → chunk-YXMHUBN2.js.map} +0 -0
- /package/dist/{chunk-GFNS3BHV.js.map → chunk-ZUPKNWRZ.js.map} +0 -0
- /package/dist/{chunk-GSTIBXBW.js.map → chunk-ZVPVTPGI.js.map} +0 -0
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
ActivityStore,
|
|
12
12
|
MaintenanceScheduler
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LX4TNSAE.js";
|
|
14
14
|
import {
|
|
15
15
|
runPeerProfileReasoner
|
|
16
16
|
} from "./chunk-I74SUMNI.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
import {
|
|
33
33
|
CompoundingEngine,
|
|
34
34
|
defaultTierMigrationCycleBudget
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-E4KMY4KR.js";
|
|
36
36
|
import {
|
|
37
37
|
SharedContextManager
|
|
38
38
|
} from "./chunk-VI637ILW.js";
|
|
@@ -162,7 +162,7 @@ import {
|
|
|
162
162
|
} from "./chunk-XXSOVESA.js";
|
|
163
163
|
import {
|
|
164
164
|
ExtractionEngine
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-YXMHUBN2.js";
|
|
166
166
|
import {
|
|
167
167
|
parseMemoryActionEligibilityContext
|
|
168
168
|
} from "./chunk-4NZHHGVL.js";
|
|
@@ -200,7 +200,7 @@ import {
|
|
|
200
200
|
buildEntityRecallSection,
|
|
201
201
|
entityRecentTranscriptLookbackHours,
|
|
202
202
|
readRecentEntityTranscriptEntries
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-PBRCYYO7.js";
|
|
204
204
|
import {
|
|
205
205
|
planEpisodeWindowsWithFallback
|
|
206
206
|
} from "./chunk-T3GIETKV.js";
|
|
@@ -215,14 +215,14 @@ import {
|
|
|
215
215
|
} from "./chunk-DFEODULB.js";
|
|
216
216
|
import {
|
|
217
217
|
refreshConvergedNamespaces
|
|
218
|
-
} from "./chunk-
|
|
218
|
+
} from "./chunk-SYVGVK4S.js";
|
|
219
219
|
import {
|
|
220
220
|
builtInConnectorPackageSpecifier,
|
|
221
221
|
ensureBuiltInWearableConnectors,
|
|
222
222
|
getWearableConnector,
|
|
223
223
|
listWearableConnectors,
|
|
224
224
|
screenCandidateFact
|
|
225
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-F6JYBVL6.js";
|
|
226
226
|
import {
|
|
227
227
|
RoutingRulesStore
|
|
228
228
|
} from "./chunk-TBUEE7XF.js";
|
|
@@ -232,14 +232,14 @@ import {
|
|
|
232
232
|
import {
|
|
233
233
|
compareVerifiedEpisodeResults,
|
|
234
234
|
searchVerifiedEpisodes
|
|
235
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-2UM6WHME.js";
|
|
236
236
|
import {
|
|
237
237
|
ThreadingManager
|
|
238
238
|
} from "./chunk-OJP3N7UK.js";
|
|
239
239
|
import {
|
|
240
240
|
compareVerifiedSemanticRuleResults,
|
|
241
241
|
searchVerifiedSemanticRules
|
|
242
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-R6UMNP5C.js";
|
|
243
243
|
import {
|
|
244
244
|
searchWorkProductLedgerEntries
|
|
245
245
|
} from "./chunk-NRLELHAY.js";
|
|
@@ -252,18 +252,17 @@ import {
|
|
|
252
252
|
import {
|
|
253
253
|
runNamespaceMaintenanceFanout,
|
|
254
254
|
summarizeNamespaceMaintenanceHealth
|
|
255
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-3Z5TGRFA.js";
|
|
256
256
|
import {
|
|
257
|
-
NamespaceCatalog,
|
|
258
257
|
planNamespaceMaintenance
|
|
259
|
-
} from "./chunk-
|
|
258
|
+
} from "./chunk-V3KIRICY.js";
|
|
260
259
|
import {
|
|
261
260
|
isAboveImportanceThreshold,
|
|
262
261
|
scoreImportance
|
|
263
262
|
} from "./chunk-JXS5PDQ7.js";
|
|
264
263
|
import {
|
|
265
264
|
searchHarmonicRetrieval
|
|
266
|
-
} from "./chunk-
|
|
265
|
+
} from "./chunk-7AF243WZ.js";
|
|
267
266
|
import {
|
|
268
267
|
EXTRACTION_JUDGE_VERDICT_CATEGORY,
|
|
269
268
|
recordJudgeVerdict
|
|
@@ -284,7 +283,7 @@ import {
|
|
|
284
283
|
} from "./chunk-NOB2T2FC.js";
|
|
285
284
|
import {
|
|
286
285
|
SmartBuffer
|
|
287
|
-
} from "./chunk-
|
|
286
|
+
} from "./chunk-CUDSA46O.js";
|
|
288
287
|
import {
|
|
289
288
|
buildConsolidationPrompt,
|
|
290
289
|
buildExtensionsBlockForConsolidation,
|
|
@@ -294,7 +293,7 @@ import {
|
|
|
294
293
|
materializeAfterSemanticConsolidation,
|
|
295
294
|
parseConsolidationResponse,
|
|
296
295
|
parseOperatorAwareConsolidationResponse
|
|
297
|
-
} from "./chunk-
|
|
296
|
+
} from "./chunk-DXDAQZ2K.js";
|
|
298
297
|
import {
|
|
299
298
|
BootstrapEngine
|
|
300
299
|
} from "./chunk-MYVPLJOO.js";
|
|
@@ -337,11 +336,14 @@ import {
|
|
|
337
336
|
} from "./chunk-KD3QD3A5.js";
|
|
338
337
|
import {
|
|
339
338
|
MeetingsInputError
|
|
340
|
-
} from "./chunk-
|
|
339
|
+
} from "./chunk-TSTI6A3A.js";
|
|
341
340
|
import {
|
|
342
341
|
WearablesInputError,
|
|
343
342
|
describeErrorForOperator
|
|
344
343
|
} from "./chunk-V7IZKJI3.js";
|
|
344
|
+
import {
|
|
345
|
+
NamespaceCatalog
|
|
346
|
+
} from "./chunk-X7LEDA74.js";
|
|
345
347
|
import {
|
|
346
348
|
recordDreamsPhaseRun
|
|
347
349
|
} from "./chunk-EQWEIIKQ.js";
|
|
@@ -358,10 +360,10 @@ import {
|
|
|
358
360
|
filterRecallCandidates,
|
|
359
361
|
isGenericRecallExcludedPath,
|
|
360
362
|
isTopLevelArchivePath
|
|
361
|
-
} from "./chunk-
|
|
363
|
+
} from "./chunk-IVXVLDNT.js";
|
|
362
364
|
import {
|
|
363
365
|
importCapsule
|
|
364
|
-
} from "./chunk-
|
|
366
|
+
} from "./chunk-PMVPCZJZ.js";
|
|
365
367
|
import {
|
|
366
368
|
isCodingGraphInstalled
|
|
367
369
|
} from "./chunk-VQ7B2Q6M.js";
|
|
@@ -398,7 +400,7 @@ import {
|
|
|
398
400
|
} from "./chunk-QDW3E4RD.js";
|
|
399
401
|
import {
|
|
400
402
|
shouldSkipImplicitExtraction
|
|
401
|
-
} from "./chunk-
|
|
403
|
+
} from "./chunk-NS5ETDYD.js";
|
|
402
404
|
import {
|
|
403
405
|
boundRecallContextComposition,
|
|
404
406
|
composeRecallContext,
|
|
@@ -409,7 +411,7 @@ import {
|
|
|
409
411
|
} from "./chunk-7ZNJN5WZ.js";
|
|
410
412
|
import {
|
|
411
413
|
NamespaceStorageRouter
|
|
412
|
-
} from "./chunk-
|
|
414
|
+
} from "./chunk-KYTRF64R.js";
|
|
413
415
|
import {
|
|
414
416
|
GraphIndex
|
|
415
417
|
} from "./chunk-YMOPYG3K.js";
|
|
@@ -453,7 +455,7 @@ import {
|
|
|
453
455
|
throwIfRecallAborted,
|
|
454
456
|
tokenizeRecallQuery,
|
|
455
457
|
utcDateKeysForLocalDay
|
|
456
|
-
} from "./chunk-
|
|
458
|
+
} from "./chunk-BB2LH5JM.js";
|
|
457
459
|
import {
|
|
458
460
|
inferIntentFromText,
|
|
459
461
|
intentCompatibilityScore,
|
|
@@ -465,7 +467,7 @@ import {
|
|
|
465
467
|
} from "./chunk-GPFZFCRN.js";
|
|
466
468
|
import {
|
|
467
469
|
buildChainFollowupGenerator
|
|
468
|
-
} from "./chunk-
|
|
470
|
+
} from "./chunk-AYVCKGA6.js";
|
|
469
471
|
import {
|
|
470
472
|
QmdResultResolver,
|
|
471
473
|
StorageManager,
|
|
@@ -484,7 +486,7 @@ import {
|
|
|
484
486
|
reconstructFusionInputs,
|
|
485
487
|
selfDeps,
|
|
486
488
|
serializeFusionDay
|
|
487
|
-
} from "./chunk-
|
|
489
|
+
} from "./chunk-FHKXVTM5.js";
|
|
488
490
|
import {
|
|
489
491
|
buildRetiredFactTombstoneInputs
|
|
490
492
|
} from "./chunk-46WM6JX2.js";
|
|
@@ -501,12 +503,12 @@ import {
|
|
|
501
503
|
import {
|
|
502
504
|
NamespaceSearchRouter,
|
|
503
505
|
namespaceCollectionName
|
|
504
|
-
} from "./chunk-
|
|
506
|
+
} from "./chunk-GF7RQWXC.js";
|
|
505
507
|
import {
|
|
506
508
|
createConversationIndexRuntime,
|
|
507
509
|
createSearchBackend,
|
|
508
510
|
isSearchBackendEnabled
|
|
509
|
-
} from "./chunk-
|
|
511
|
+
} from "./chunk-GG4DN63W.js";
|
|
510
512
|
import {
|
|
511
513
|
NoopSearchBackend
|
|
512
514
|
} from "./chunk-CYEPCZN5.js";
|
|
@@ -543,7 +545,7 @@ import {
|
|
|
543
545
|
} from "./chunk-5GINB5LC.js";
|
|
544
546
|
import {
|
|
545
547
|
bumpMemoryCorpusVersionForDir
|
|
546
|
-
} from "./chunk-
|
|
548
|
+
} from "./chunk-XCB6QDL6.js";
|
|
547
549
|
import {
|
|
548
550
|
HistoricalEntityCanonicalIdCache,
|
|
549
551
|
canonicalizeEntityRefFrontmatter,
|
|
@@ -554,7 +556,7 @@ import {
|
|
|
554
556
|
requestEntityCanonicalIdReconcile,
|
|
555
557
|
requestEntityCanonicalIdReconcileSync,
|
|
556
558
|
withRawEntityPageMutation
|
|
557
|
-
} from "./chunk-
|
|
559
|
+
} from "./chunk-ZVPVTPGI.js";
|
|
558
560
|
import {
|
|
559
561
|
applyTemporalSupersession,
|
|
560
562
|
applyTemporalSupersessionPrimaryMutation,
|
|
@@ -636,7 +638,7 @@ import {
|
|
|
636
638
|
} from "./chunk-7RJUVTVF.js";
|
|
637
639
|
import {
|
|
638
640
|
ContentHashIndex
|
|
639
|
-
} from "./chunk-
|
|
641
|
+
} from "./chunk-JOEJG4SD.js";
|
|
640
642
|
import {
|
|
641
643
|
excludeSupportPassportPrivateMemories,
|
|
642
644
|
isSupportPassportPrivateMemory
|
|
@@ -13906,8 +13908,9 @@ var TurnIngestionCoordinator = class {
|
|
|
13906
13908
|
};
|
|
13907
13909
|
const outcome = typeof this.deps.buffer.addTurnWithOutcome === "function" ? await this.deps.buffer.addTurnWithOutcome(bufferKey, turn) : { decision: await this.deps.buffer.addTurn(bufferKey, turn) };
|
|
13908
13910
|
if (outcome.decision === "keep_buffering") return;
|
|
13911
|
+
if (!outcome.extractionTurns) return;
|
|
13909
13912
|
await this.deps.queueBufferedExtraction(
|
|
13910
|
-
outcome.extractionTurns
|
|
13913
|
+
outcome.extractionTurns,
|
|
13911
13914
|
"trigger_mode",
|
|
13912
13915
|
{ bufferKey }
|
|
13913
13916
|
);
|
|
@@ -16773,12 +16776,14 @@ function shortenUrl(url) {
|
|
|
16773
16776
|
return url.replace(/^[a-z]+:\/\//i, "");
|
|
16774
16777
|
}
|
|
16775
16778
|
function contextLabel(snap) {
|
|
16776
|
-
if (snap.
|
|
16777
|
-
|
|
16779
|
+
if (snap.browserUrl !== void 0 && snap.browserUrl.length > 0) {
|
|
16780
|
+
return `${snap.app}: ${shortenUrl(snap.browserUrl)}`;
|
|
16781
|
+
}
|
|
16782
|
+
if (snap.windowTitle.length > 0) return `${snap.app}: ${snap.windowTitle}`;
|
|
16778
16783
|
return snap.app;
|
|
16779
16784
|
}
|
|
16780
16785
|
function isMeetingAppSnapshot(snap, meetingApp, appPatterns) {
|
|
16781
|
-
const hay = `${snap.app} ${snap.
|
|
16786
|
+
const hay = `${snap.app} ${snap.windowTitle} ${snap.browserUrl ?? ""}`.toLowerCase();
|
|
16782
16787
|
if (meetingApp !== void 0 && meetingApp.length > 0 && hay.includes(meetingApp.toLowerCase())) {
|
|
16783
16788
|
return true;
|
|
16784
16789
|
}
|
|
@@ -16789,8 +16794,9 @@ function isMeetingAppSnapshot(snap, meetingApp, appPatterns) {
|
|
|
16789
16794
|
}
|
|
16790
16795
|
var MEETING_APP_KEY = "\0meeting-app";
|
|
16791
16796
|
function buildScreenContext(activity, windowStartMs, windowEndMs, meetingApp, config) {
|
|
16792
|
-
const win = activity.map((snap) => ({ snap, ms: Date.parse(snap.
|
|
16793
|
-
const
|
|
16797
|
+
const win = activity.map((snap) => ({ snap, ms: Date.parse(snap.capturedAtUtc) })).filter((entry) => Number.isFinite(entry.ms) && entry.ms >= windowStartMs && entry.ms < windowEndMs).sort((a, b) => a.ms - b.ms || SORT_STR(a.snap.app, b.snap.app));
|
|
16798
|
+
const keyDetail = (snap) => snap.browserUrl !== void 0 && snap.browserUrl.length > 0 ? snap.browserUrl : snap.windowTitle;
|
|
16799
|
+
const keyOf = (snap) => isMeetingAppSnapshot(snap, meetingApp, config.appPatterns) ? MEETING_APP_KEY : `${snap.app}\0${keyDetail(snap)}`;
|
|
16794
16800
|
const events = [];
|
|
16795
16801
|
const includedText = [];
|
|
16796
16802
|
let runStartIdx = 0;
|
|
@@ -16806,7 +16812,7 @@ function buildScreenContext(activity, windowStartMs, windowEndMs, meetingApp, co
|
|
|
16806
16812
|
if (isMeetingApp) {
|
|
16807
16813
|
for (let i = runStartIdx; i < runEndIdx; i++) {
|
|
16808
16814
|
const text = win[i].snap.text;
|
|
16809
|
-
if (text
|
|
16815
|
+
if (text.trim().length > 0) includedText.push(text.trim());
|
|
16810
16816
|
}
|
|
16811
16817
|
} else if (dwellSeconds >= config.contextDwellSeconds) {
|
|
16812
16818
|
events.push({
|
|
@@ -16818,7 +16824,7 @@ function buildScreenContext(activity, windowStartMs, windowEndMs, meetingApp, co
|
|
|
16818
16824
|
});
|
|
16819
16825
|
for (let i = runStartIdx; i < runEndIdx; i++) {
|
|
16820
16826
|
const text = win[i].snap.text;
|
|
16821
|
-
if (text
|
|
16827
|
+
if (text.trim().length > 0) includedText.push(text.trim());
|
|
16822
16828
|
}
|
|
16823
16829
|
}
|
|
16824
16830
|
runStartIdx = runEndIdx;
|
|
@@ -17513,13 +17519,6 @@ function storageWearableDayReader(store) {
|
|
|
17513
17519
|
}
|
|
17514
17520
|
};
|
|
17515
17521
|
}
|
|
17516
|
-
function toMeetingActivitySnapshot(snapshot) {
|
|
17517
|
-
const out = { tsUtc: snapshot.capturedAtUtc, app: snapshot.app };
|
|
17518
|
-
if (snapshot.windowTitle.length > 0) out.title = snapshot.windowTitle;
|
|
17519
|
-
if (snapshot.browserUrl !== void 0 && snapshot.browserUrl.length > 0) out.url = snapshot.browserUrl;
|
|
17520
|
-
if (snapshot.text.length > 0) out.text = snapshot.text;
|
|
17521
|
-
return out;
|
|
17522
|
-
}
|
|
17523
17522
|
var LONE_TRAILING_SPAN_MS = 5 * 6e4;
|
|
17524
17523
|
function estimateSamplingIntervalMs(sorted) {
|
|
17525
17524
|
const gaps = [];
|
|
@@ -17655,13 +17654,12 @@ var ActivityWearablesMeetingsDaySource = class {
|
|
|
17655
17654
|
}
|
|
17656
17655
|
const { startUtc, endUtc } = activityDayWindow(date, this.deps.timezone);
|
|
17657
17656
|
const snapshots = this.deps.activity ? await this.deps.activity.listSnapshotsForDay(null, startUtc, endUtc) : [];
|
|
17658
|
-
const activity = snapshots.map(toMeetingActivitySnapshot);
|
|
17659
17657
|
const appSpans = deriveAppSpans(snapshots, this.deps.config.appPatterns);
|
|
17660
17658
|
const bodies = await this.deps.wearables.readDayBodies(date);
|
|
17661
17659
|
const tzBySource = new Map(bodies.map((b) => [b.source, b.timezone ?? ""]));
|
|
17662
17660
|
const conversations = shiftFusionInputsToUtc(reconstructFusionInputs(date, bodies), tzBySource);
|
|
17663
17661
|
const audioWindows = buildAudioWindows(conversations);
|
|
17664
|
-
return { detection: { date, appSpans, audioWindows }, conversations, activity };
|
|
17662
|
+
return { detection: { date, appSpans, audioWindows }, conversations, activity: snapshots };
|
|
17665
17663
|
}
|
|
17666
17664
|
};
|
|
17667
17665
|
|
|
@@ -22676,11 +22674,24 @@ async function stageRedirect(memoryDir, assets, log2, dryRun, readMarkdownFile,
|
|
|
22676
22674
|
continue;
|
|
22677
22675
|
}
|
|
22678
22676
|
if (asset.redirectedAt === void 0) {
|
|
22679
|
-
|
|
22680
|
-
|
|
22677
|
+
let remoteSeen = false;
|
|
22678
|
+
for (const mdPath of mdFiles) {
|
|
22679
|
+
try {
|
|
22680
|
+
const content = await readMarkdownFile(mdPath);
|
|
22681
|
+
if (content.includes(asset.mirroredPath)) {
|
|
22682
|
+
remoteSeen = true;
|
|
22683
|
+
break;
|
|
22684
|
+
}
|
|
22685
|
+
} catch {
|
|
22686
|
+
}
|
|
22687
|
+
}
|
|
22688
|
+
if (!remoteSeen) {
|
|
22689
|
+
if (!dryRun) {
|
|
22690
|
+
asset.status = "mirrored";
|
|
22691
|
+
}
|
|
22692
|
+
log2.info(`[binary-lifecycle] preserved mirrored asset without redirected marker: ${asset.originalPath}${dryRun ? " [dry-run]" : ""}`);
|
|
22693
|
+
continue;
|
|
22681
22694
|
}
|
|
22682
|
-
log2.info(`[binary-lifecycle] preserved mirrored asset without redirected marker: ${asset.originalPath}${dryRun ? " [dry-run]" : ""}`);
|
|
22683
|
-
continue;
|
|
22684
22695
|
}
|
|
22685
22696
|
if (!Number.isFinite(new Date(asset.mirroredAt).getTime())) {
|
|
22686
22697
|
const msg = `redirect blocked for ${asset.originalPath}: manifest mirroredAt is invalid`;
|
|
@@ -22757,8 +22768,6 @@ async function stageRedirect(memoryDir, assets, log2, dryRun, readMarkdownFile,
|
|
|
22757
22768
|
);
|
|
22758
22769
|
continue;
|
|
22759
22770
|
}
|
|
22760
|
-
const redirectedAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
22761
|
-
asset.redirectedAt = redirectedAt;
|
|
22762
22771
|
const verifyResult = await countRemainingLocalReferences(
|
|
22763
22772
|
memoryDir,
|
|
22764
22773
|
asset,
|
|
@@ -22768,6 +22777,7 @@ async function stageRedirect(memoryDir, assets, log2, dryRun, readMarkdownFile,
|
|
|
22768
22777
|
);
|
|
22769
22778
|
if (verifyResult.errors.length > 0 || verifyResult.remaining > 0) {
|
|
22770
22779
|
asset.status = "error";
|
|
22780
|
+
delete asset.redirectedAt;
|
|
22771
22781
|
for (const msg of verifyResult.errors) {
|
|
22772
22782
|
log2.error(`[binary-lifecycle] ${msg}`);
|
|
22773
22783
|
errors.push(msg);
|
|
@@ -22780,7 +22790,7 @@ async function stageRedirect(memoryDir, assets, log2, dryRun, readMarkdownFile,
|
|
|
22780
22790
|
continue;
|
|
22781
22791
|
}
|
|
22782
22792
|
asset.status = "redirected";
|
|
22783
|
-
asset.redirectedAt =
|
|
22793
|
+
asset.redirectedAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
22784
22794
|
redirected++;
|
|
22785
22795
|
log2.info(`[binary-lifecycle] redirected: ${asset.originalPath}`);
|
|
22786
22796
|
}
|
|
@@ -24248,8 +24258,21 @@ function containsNegation(text) {
|
|
|
24248
24258
|
const words = text.split(/\s+/);
|
|
24249
24259
|
return words.some((w) => NEGATION_WORDS.has(w));
|
|
24250
24260
|
}
|
|
24261
|
+
function escapeRegExp(value) {
|
|
24262
|
+
return value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
24263
|
+
}
|
|
24264
|
+
var stripNegationPattern = null;
|
|
24265
|
+
var stripNegationPatternSource = null;
|
|
24266
|
+
function stripNegationRegex() {
|
|
24267
|
+
const alternation = [...NEGATION_WORDS].sort((a, b) => b.length - a.length).map(escapeRegExp).join("|");
|
|
24268
|
+
if (stripNegationPattern === null || stripNegationPatternSource !== alternation) {
|
|
24269
|
+
stripNegationPattern = new RegExp(`\\b(?:${alternation})\\b`, "gi");
|
|
24270
|
+
stripNegationPatternSource = alternation;
|
|
24271
|
+
}
|
|
24272
|
+
return stripNegationPattern;
|
|
24273
|
+
}
|
|
24251
24274
|
function stripNegation(text) {
|
|
24252
|
-
return text.replace(
|
|
24275
|
+
return text.replace(stripNegationRegex(), "").replace(/\s+/g, " ").trim();
|
|
24253
24276
|
}
|
|
24254
24277
|
function loadMemories(memoryDir, categories, maxLoad = 1e4) {
|
|
24255
24278
|
const result = [];
|
|
@@ -27401,4 +27424,4 @@ export {
|
|
|
27401
27424
|
blendGraphExpandedRecallScore,
|
|
27402
27425
|
Orchestrator
|
|
27403
27426
|
};
|
|
27404
|
-
//# sourceMappingURL=chunk-
|
|
27427
|
+
//# sourceMappingURL=chunk-OETHJBAL.js.map
|