@remnic/core 9.69.45 → 9.69.47
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 -14
- package/dist/access-admin-ops-surface.js +40 -39
- package/dist/access-audit.js +2 -2
- package/dist/access-authorization-probe.d.ts +15 -14
- package/dist/access-authorization-probe.js +41 -40
- package/dist/access-boundary.d.ts +15 -14
- package/dist/access-boundary.js +40 -39
- package/dist/access-cli.js +110 -104
- 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 +15 -14
- package/dist/access-extraction-force-flush.js +40 -39
- package/dist/access-health-types.d.ts +1 -1
- package/dist/access-http-briefing.d.ts +15 -14
- package/dist/access-http-briefing.js +41 -40
- package/dist/access-http-lcm-compaction.d.ts +15 -14
- package/dist/access-http-lifecycle-flush.d.ts +15 -14
- package/dist/access-http-offline-stream.d.ts +15 -14
- package/dist/access-http-query.d.ts +2 -2
- package/dist/access-http-query.js +42 -41
- package/dist/access-http.d.ts +16 -15
- package/dist/access-http.js +64 -60
- package/dist/access-identity-continuity-surface.d.ts +11 -11
- package/dist/access-identity-continuity-surface.js +40 -39
- package/dist/access-lcm-surface.d.ts +15 -14
- package/dist/access-lcm-surface.js +40 -39
- package/dist/access-mcp-output-schemas.js +1 -1
- package/dist/access-mcp-shared-context-tools.d.ts +15 -14
- package/dist/access-mcp.d.ts +15 -14
- package/dist/access-mcp.js +53 -50
- package/dist/access-memory-search-fanout.d.ts +2 -2
- package/dist/{access-namespace-preflight-DDnsN22V.d.ts → access-namespace-preflight-CetF9ziA.d.ts} +1 -1
- package/dist/access-namespace-preflight.d.ts +3 -3
- package/dist/access-namespace-preflight.js +40 -39
- package/dist/access-observe-transcript.d.ts +11 -11
- package/dist/access-observe-write-category.d.ts +3 -3
- package/dist/access-observe-write-surface.d.ts +15 -14
- package/dist/access-observe-write-surface.js +40 -39
- package/dist/access-offline-manifest.d.ts +11 -11
- package/dist/access-offline-manifest.js +2 -2
- package/dist/access-operations-batch.js +42 -41
- package/dist/access-operations.d.ts +16 -15
- package/dist/access-operations.js +49 -47
- package/dist/access-recall-concurrency.d.ts +15 -14
- package/dist/access-recall-concurrency.js +40 -39
- package/dist/access-recall-response.d.ts +15 -14
- package/dist/access-recall-response.js +40 -39
- package/dist/access-recall-surface.d.ts +15 -14
- package/dist/access-recall-surface.js +40 -39
- package/dist/access-schema.d.ts +1 -1
- package/dist/{access-service-CDteK_Gt.d.ts → access-service-BXYrJ3pO.d.ts} +13 -10
- package/dist/access-service-helpers.d.ts +15 -14
- package/dist/access-service.d.ts +15 -14
- package/dist/access-service.js +40 -39
- package/dist/access-surface-catalog.d.ts +15 -14
- package/dist/access-surface-catalog.js +48 -41
- package/dist/access-surface-catalog.js.map +1 -1
- package/dist/access-wearables-meetings-surface.d.ts +4 -4
- 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 +3 -2
- package/dist/active-recall.js.map +1 -1
- package/dist/activity/digest.d.ts +1 -1
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/ambient-provenance.d.ts +1 -1
- package/dist/artifact-search.d.ts +1 -1
- package/dist/background-generation.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 +11 -11
- package/dist/briefing-window.d.ts +2 -2
- package/dist/briefing.d.ts +2 -2
- package/dist/briefing.js +13 -13
- 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 +5 -5
- 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-Dl2hYqpS.d.ts → catalog-Bns9zpl3.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-consolidation.js +14 -14
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/{chunk-OREGA7GY.js → chunk-2JFSQWFH.js} +5 -5
- package/dist/chunk-2JFSQWFH.js.map +1 -0
- package/dist/{chunk-C3MCMFNV.js → chunk-2QX65IEC.js} +2 -2
- package/dist/{chunk-HBGSZ62Z.js → chunk-3RKVSECD.js} +8 -8
- package/dist/{chunk-7LKXP4QG.js → chunk-44BILQ7U.js} +85 -43
- package/dist/chunk-44BILQ7U.js.map +1 -0
- package/dist/{chunk-R4HFCATE.js → chunk-4LPIVP77.js} +2 -2
- package/dist/{chunk-PW4HTWXL.js → chunk-55XWRL6F.js} +2 -2
- package/dist/{chunk-E5VOKZQV.js → chunk-5KBI2MOC.js} +1 -1
- package/dist/{chunk-ZQ533JDE.js → chunk-6A6HSXWV.js} +2 -2
- package/dist/{chunk-4HTQ76O4.js → chunk-7SJCSDQ3.js} +2 -2
- package/dist/{chunk-A2YN3FR4.js → chunk-7YUX52XZ.js} +3 -3
- package/dist/{chunk-NKDQXDFL.js → chunk-AS4YKT75.js} +36 -26
- package/dist/chunk-AS4YKT75.js.map +1 -0
- package/dist/{chunk-LQVXSRAJ.js → chunk-B4EGAHHS.js} +2 -2
- package/dist/{chunk-EUP4AXIW.js → chunk-B6VDWDFN.js} +2 -2
- package/dist/{chunk-Z5YNVWRD.js → chunk-BMENHAJL.js} +2 -2
- package/dist/{chunk-5ZXGH2ZL.js → chunk-BXOPUJ3W.js} +2 -2
- package/dist/{chunk-J6NEOCQC.js → chunk-CD7VTZIG.js} +2 -2
- package/dist/{chunk-EC5SVM6H.js → chunk-DE4ZGH2N.js} +2 -2
- package/dist/{chunk-2LRO73MN.js → chunk-DRLZB3CN.js} +2 -2
- package/dist/{chunk-SHEHQBCG.js → chunk-DUJYRVUD.js} +638 -45
- package/dist/chunk-DUJYRVUD.js.map +1 -0
- package/dist/{chunk-Q4MI2KCG.js → chunk-EGOWY342.js} +2 -2
- package/dist/chunk-EIB4FJVR.js +46 -0
- package/dist/chunk-EIB4FJVR.js.map +1 -0
- package/dist/{chunk-W44T2KHG.js → chunk-EWBDJQ5Y.js} +3 -3
- package/dist/{chunk-JMBTNVMW.js → chunk-FGRJJBFO.js} +2 -2
- package/dist/{chunk-F3TURDFG.js → chunk-FPB5LQWW.js} +4 -1
- package/dist/{chunk-F3TURDFG.js.map → chunk-FPB5LQWW.js.map} +1 -1
- package/dist/{chunk-OOBUWMPY.js → chunk-G2SJRFGP.js} +6 -6
- package/dist/{chunk-WGZHSQDV.js → chunk-G2XZFGYN.js} +4 -4
- package/dist/{chunk-JPNUKKSL.js → chunk-GGROFIYX.js} +2 -2
- package/dist/chunk-GXJSLNYO.js +74 -0
- package/dist/chunk-GXJSLNYO.js.map +1 -0
- package/dist/{chunk-VA5QRTZX.js → chunk-HG74GEVY.js} +2 -2
- package/dist/chunk-HMDYSGY6.js +54 -0
- package/dist/chunk-HMDYSGY6.js.map +1 -0
- package/dist/{chunk-WUUGE7QC.js → chunk-HS75MCQF.js} +4 -4
- package/dist/{chunk-DO6R3LIE.js → chunk-I6IJDTRP.js} +2 -2
- package/dist/{chunk-T3F2HWIG.js → chunk-IO7K7GES.js} +2 -2
- package/dist/{chunk-6II55MXS.js → chunk-JXLEQIJ7.js} +2 -2
- package/dist/{chunk-4XTSKGLX.js → chunk-JYXLW22X.js} +3 -3
- package/dist/chunk-LI4APB6M.js +218 -0
- package/dist/chunk-LI4APB6M.js.map +1 -0
- package/dist/{chunk-IFULZYYQ.js → chunk-LIAM7U2J.js} +2 -2
- package/dist/{chunk-LZAJONO5.js → chunk-LIDJWAQV.js} +2 -2
- package/dist/{chunk-B55FYF6F.js → chunk-LYMJ36UI.js} +2 -2
- package/dist/chunk-M4DB6ZNN.js +87 -0
- package/dist/chunk-M4DB6ZNN.js.map +1 -0
- package/dist/{chunk-5TKHJ5RW.js → chunk-MMQVWKFY.js} +17 -13
- package/dist/chunk-MMQVWKFY.js.map +1 -0
- package/dist/{chunk-IAT5WFEU.js → chunk-MNG536IS.js} +261 -797
- package/dist/chunk-MNG536IS.js.map +1 -0
- package/dist/{chunk-AOMUIF3R.js → chunk-MQT3WP3F.js} +2 -2
- package/dist/{chunk-F6AYWLRN.js → chunk-NE45P3OF.js} +2 -2
- package/dist/{chunk-5XTILJRI.js → chunk-NMA7RQPR.js} +2 -2
- package/dist/{chunk-46A4RGBC.js → chunk-OS4JVTHR.js} +3 -3
- package/dist/{chunk-W6YDAIVB.js → chunk-OSTXIFZW.js} +13 -2
- package/dist/chunk-OSTXIFZW.js.map +1 -0
- package/dist/chunk-P3YNEMYY.js +212 -0
- package/dist/chunk-P3YNEMYY.js.map +1 -0
- package/dist/{chunk-C3YEB7CR.js → chunk-PA67GXYJ.js} +5 -5
- package/dist/{chunk-NGAFYIHQ.js → chunk-PPJLJD2D.js} +2 -2
- package/dist/{chunk-AG6PANBG.js → chunk-PXJ6HE2W.js} +11 -11
- package/dist/{chunk-BOWAP64Q.js → chunk-QB4VXCFN.js} +2 -2
- package/dist/{chunk-L63M2PE4.js → chunk-QGAKUOKU.js} +2 -2
- package/dist/{chunk-T2ZNUWUY.js → chunk-QKFYJVDG.js} +2 -2
- package/dist/{chunk-YHSEUZV5.js → chunk-QLCMOHRE.js} +2 -2
- package/dist/{chunk-Q4AUIFUA.js → chunk-QMWKENNK.js} +4 -4
- package/dist/{chunk-UJXNBZYJ.js → chunk-R4JTUTU6.js} +12 -5
- package/dist/chunk-R4JTUTU6.js.map +1 -0
- package/dist/{chunk-TFS5FAAC.js → chunk-ROBGBT3D.js} +213 -77
- package/dist/chunk-ROBGBT3D.js.map +1 -0
- package/dist/{chunk-TNQR7N52.js → chunk-S3YM4SZQ.js} +2 -1
- package/dist/chunk-S3YM4SZQ.js.map +1 -0
- package/dist/{chunk-RW4QNB4J.js → chunk-S45INSV3.js} +3 -1
- package/dist/{chunk-RW4QNB4J.js.map → chunk-S45INSV3.js.map} +1 -1
- package/dist/{chunk-HVGCQMTQ.js → chunk-SJ7ZNUXB.js} +2 -2
- package/dist/{chunk-WCQ7L54B.js → chunk-SK6HEQTW.js} +2 -2
- package/dist/{chunk-PGAB2V53.js → chunk-SMBWBEE7.js} +2 -2
- package/dist/{chunk-SPN5YFXN.js → chunk-SS33RR4F.js} +8 -8
- package/dist/{chunk-NRFUYVW7.js → chunk-T3T5HTZZ.js} +2 -2
- package/dist/{chunk-KG2OOAFF.js → chunk-TQSCR5DU.js} +6 -6
- package/dist/{chunk-7K5Q6COX.js → chunk-TVVEYCNW.js} +4 -4
- package/dist/{chunk-ZLVURGAJ.js → chunk-V2XNMIAM.js} +2 -2
- package/dist/{chunk-AS2NOPDM.js → chunk-V7IONNTJ.js} +2 -2
- package/dist/{chunk-OFBJD3V5.js → chunk-VV5GCNKG.js} +2 -2
- package/dist/{chunk-MDYZCPNQ.js → chunk-WL3PGPGU.js} +2 -2
- package/dist/{chunk-66YUOI53.js → chunk-WQW6KPVC.js} +1 -1
- package/dist/chunk-WQW6KPVC.js.map +1 -0
- package/dist/{chunk-2AV75BJW.js → chunk-WVI43D54.js} +24 -1
- package/dist/chunk-WVI43D54.js.map +1 -0
- package/dist/{chunk-N6I257OM.js → chunk-WYU66IVZ.js} +3 -3
- package/dist/{chunk-A7GQBJP5.js → chunk-X2NFFBTO.js} +4 -4
- package/dist/{chunk-D3DJYGU2.js → chunk-XEHLYA5Z.js} +3 -3
- package/dist/{chunk-JIWZVOQM.js → chunk-XKHRNAK7.js} +2 -2
- package/dist/{chunk-VW5TGNJN.js → chunk-XXLH6KFO.js} +2 -2
- package/dist/{chunk-WMTYEQO5.js → chunk-XZUHXKM3.js} +2 -2
- package/dist/{chunk-K4KE5MYE.js → chunk-Y5VT7BIT.js} +2 -2
- package/dist/{chunk-M7ECD3KN.js → chunk-YOSLKZLZ.js} +2 -2
- package/dist/{chunk-K75H7FSO.js → chunk-YXWMZAAN.js} +2 -2
- package/dist/{chunk-DSHSQGSN.js → chunk-ZEIJQ4I3.js} +2 -2
- package/dist/{cli-CZDhIcxu.d.ts → cli-B8YyIrPR.d.ts} +5 -5
- package/dist/cli.d.ts +17 -16
- package/dist/cli.js +81 -76
- package/dist/coding/export-okf-codegraph.d.ts +1 -1
- package/dist/coding/export-okf-codegraph.js +12 -12
- package/dist/coding/pre-action-gate.d.ts +1 -1
- package/dist/compounding/engine.d.ts +2 -2
- package/dist/compounding/engine.js +13 -13
- 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 +3 -2
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +13 -13
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +13 -13
- package/dist/consolidation-provenance-check.d.ts +2 -2
- package/dist/consolidation-undo.d.ts +2 -2
- package/dist/contradiction/index.d.ts +4 -4
- package/dist/converge-config.d.ts +1 -1
- package/dist/convergence-refresh.d.ts +2 -2
- package/dist/convergence-refresh.js +15 -15
- 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 +15 -15
- package/dist/cross-lingual-recall.d.ts +1 -1
- package/dist/day-summary.d.ts +1 -1
- package/dist/deep-recall-http-glue.d.ts +15 -14
- package/dist/deep-recall-mcp-tools.d.ts +15 -14
- package/dist/deep-recall-policy-llm.d.ts +2 -2
- package/dist/deep-recall-seeds.d.ts +1 -1
- package/dist/deep-recall.js +2 -2
- package/dist/delinearize.d.ts +1 -1
- package/dist/dependency-propagation-config.d.ts +1 -1
- package/dist/{dependency-propagation-delivery-BXaUoVUf.d.ts → dependency-propagation-delivery-B-LvcDaq.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 +13 -13
- package/dist/entity-schema.d.ts +1 -1
- package/dist/episodic-context.d.ts +1 -1
- package/dist/eval-trajectory-contracts.d.ts +1 -1
- package/dist/eval-trajectory-store.d.ts +1 -1
- package/dist/eval-trajectory.d.ts +1 -1
- package/dist/explicit-capture.d.ts +11 -11
- package/dist/explicit-capture.js +2 -2
- package/dist/external-wiki-access.d.ts +15 -14
- package/dist/external-wiki-access.js +41 -40
- 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 +15 -14
- package/dist/extraction-error-classification.d.ts +1 -1
- package/dist/extraction-evidence-class.d.ts +142 -0
- package/dist/extraction-evidence-class.js +113 -0
- package/dist/extraction-evidence-class.js.map +1 -0
- package/dist/extraction-faithfulness.d.ts +2 -2
- package/dist/extraction-judge-telemetry.d.ts +2 -2
- package/dist/extraction-judge-training.d.ts +2 -2
- package/dist/extraction-judge.d.ts +2 -2
- 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-source-grounding.js +2 -2
- package/dist/extraction-span-config.d.ts +1 -1
- package/dist/extraction-span-materialize.d.ts +1 -1
- package/dist/extraction-span-wire.d.ts +1 -1
- package/dist/extraction.d.ts +2 -2
- package/dist/extraction.js +21 -21
- package/dist/fallback-llm-codex-subscription.d.ts +1 -1
- package/dist/fallback-llm.d.ts +1 -1
- package/dist/{generic-recall-paths-BkVVEoeO.d.ts → generic-recall-paths-Bfc7zigS.d.ts} +1 -1
- package/dist/graph-append-error.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-jsonl.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/importers/test-utils.d.ts +1 -1
- package/dist/in-flight-reads.d.ts +1 -1
- package/dist/{index-TBPe6NvB.d.ts → index-C7IA1DxB.d.ts} +3 -3
- package/dist/index.d.ts +121 -30
- package/dist/index.js +170 -123
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/engine.js +2 -2
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/index.js +4 -4
- 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-DdrhmecM.d.ts → local-llm-DH4tWtck.d.ts} +1 -1
- package/dist/local-llm-helpers.d.ts +2 -2
- package/dist/local-llm.d.ts +2 -2
- package/dist/local-llm.js +2 -2
- package/dist/local-model-endpoint.d.ts +1 -1
- package/dist/location/index.d.ts +5 -5
- package/dist/location/index.js +15 -15
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/maintenance/memory-governance.js +13 -13
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +13 -13
- package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-projection.js +14 -14
- package/dist/{maintenance-B813YFWJ.d.ts → maintenance-n6yeTQhR.d.ts} +4 -4
- package/dist/mcp-memory-inspector-app.d.ts +15 -14
- package/dist/mcp-read-only-tools.js +1 -1
- package/dist/memory-action-policy.d.ts +1 -1
- package/dist/memory-age.d.ts +100 -0
- package/dist/memory-age.js +22 -0
- package/dist/memory-age.js.map +1 -0
- package/dist/memory-browse-http-glue.d.ts +170 -0
- package/dist/memory-browse-http-glue.js +9 -0
- package/dist/memory-browse-http-glue.js.map +1 -0
- package/dist/memory-browse-mcp-tools.d.ts +160 -0
- package/dist/memory-browse-mcp-tools.js +8 -0
- package/dist/memory-browse-mcp-tools.js.map +1 -0
- package/dist/memory-browse-operations.d.ts +2 -0
- package/dist/memory-browse-operations.js +246 -0
- package/dist/memory-browse-operations.js.map +1 -0
- package/dist/memory-browse.d.ts +113 -0
- package/dist/memory-browse.js +49 -0
- package/dist/memory-browse.js.map +1 -0
- package/dist/memory-cache.d.ts +1 -1
- package/dist/memory-controller.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-snapshot.d.ts +1 -1
- package/dist/memory-subject-cli.d.ts +15 -14
- package/dist/memory-subject.d.ts +15 -14
- 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 +14 -14
- 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 +13 -13
- 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 +16 -16
- package/dist/operator-doctor-replica.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +3 -3
- package/dist/operator-toolkit.js +23 -22
- package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
- package/dist/orchestration/maintenance.d.ts +4 -4
- package/dist/orchestration/maintenance.js +23 -23
- package/dist/{orchestrator-BCvQavIS.d.ts → orchestrator-Cirjo3ZB.d.ts} +10 -10
- package/dist/orchestrator.d.ts +11 -11
- package/dist/orchestrator.js +112 -106
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/{pipeline-4lqKJZ_0.d.ts → pipeline-DK79FrgH.d.ts} +1 -1
- package/dist/policy-runtime.d.ts +1 -1
- package/dist/proactive-contention.d.ts +2 -2
- package/dist/provenance.d.ts +77 -2
- package/dist/provenance.js +7 -3
- package/dist/{public-http-NH72a6aa.d.ts → public-http-VB85y0ZH.d.ts} +1 -1
- package/dist/{qmd-DnoWaXKb.d.ts → qmd-BT0ErlRS.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-navigate-access.d.ts +1 -1
- package/dist/recall-navigate-access.js +2 -2
- package/dist/recall-navigate-disclosure.d.ts +1 -1
- package/dist/recall-navigate-disclosure.js +2 -2
- package/dist/recall-navigate.d.ts +1 -1
- package/dist/recall-navigate.js +2 -2
- package/dist/recall-navigation-http-glue.d.ts +15 -14
- package/dist/recall-navigation-mcp-tools.d.ts +15 -14
- package/dist/recall-navigation-operations.js +41 -40
- package/dist/recall-navigation-renderer.d.ts +1 -1
- package/dist/recall-navigation.d.ts +1 -1
- package/dist/recall-navigation.js +40 -39
- package/dist/recall-planner-llm.d.ts +1 -1
- package/dist/recall-state-view-admission.d.ts +2 -2
- package/dist/recall-state-view-admission.js +5 -5
- package/dist/recall-state-view-anchors.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/reconcile/cursor.d.ts +1 -1
- package/dist/reconcile/manifest.d.ts +4 -1
- package/dist/reconcile/manifest.js +1 -1
- 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/resume-bundles.js +4 -3
- package/dist/retrieval-agents.d.ts +2 -2
- package/dist/retrieval-tiers.d.ts +1 -1
- package/dist/routing/engine.d.ts +1 -1
- package/dist/routing/store.d.ts +1 -1
- package/dist/salvage-envelope.d.ts +1 -1
- package/dist/{scope-profiles-crazXegZ.d.ts → scope-profiles-BgPQx9iE.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-B09JI9WM.d.ts → semantic-consolidation-BrAWKVcm.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +14 -14
- package/dist/semantic-rule-promotion.js +13 -13
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +13 -13
- package/dist/{service-Echc5Xso.d.ts → service-CqHOTg87.d.ts} +2 -2
- package/dist/session-observer-bands.d.ts +1 -1
- package/dist/session-observer-state.d.ts +1 -1
- package/dist/shared-context/manager.d.ts +1 -1
- package/dist/signal.d.ts +1 -1
- package/dist/source-agent-qualifier.d.ts +1 -1
- package/dist/source-agent-qualifier.js +17 -17
- package/dist/standing-memory-block.d.ts +77 -0
- package/dist/standing-memory-block.js +40 -0
- package/dist/standing-memory-block.js.map +1 -0
- package/dist/standup/build.js +13 -13
- package/dist/{storage-ClkHCQSE.d.ts → storage-mD2YQ8_2.d.ts} +17 -3
- package/dist/storage.d.ts +2 -2
- package/dist/storage.js +12 -12
- package/dist/subject-config.d.ts +1 -1
- package/dist/summarizer.d.ts +1 -1
- package/dist/summarizer.js +3 -3
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/support-passport/index.d.ts +18 -17
- package/dist/support-passport/index.js +43 -42
- package/dist/{tagging-ksktJ60G.d.ts → tagging-CiAVA-ID.d.ts} +2 -2
- 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/export-okf.d.ts +1 -1
- package/dist/transfer/export-okf.js +13 -13
- package/dist/trust-score-stage.d.ts +1 -1
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-nmhnJpxx.d.ts → types-DgDaoY61.d.ts} +6 -0
- 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 +13 -13
- package/dist/who-knows-cli.d.ts +15 -14
- package/dist/who-knows-cli.js +14 -14
- package/dist/who-knows.d.ts +15 -14
- package/dist/who-knows.js +13 -13
- package/dist/write-envelope.d.ts +1 -1
- package/package.json +2 -2
- package/src/access-boundary.ts +3 -0
- package/src/access-http.ts +2 -2
- package/src/access-mcp-output-schemas.ts +25 -0
- package/src/access-mcp.ts +3 -3
- package/src/access-operations.ts +2 -0
- package/src/access-service.ts +6 -1
- package/src/access-surface-catalog.test.ts +20 -0
- package/src/access-surface-catalog.ts +6 -0
- package/src/activity/timeline/index.ts +1 -0
- package/src/activity/timeline/journal-recap.test.ts +17 -0
- package/src/activity/timeline/journal-recap.ts +19 -6
- package/src/activity/timeline/recap-export-range.test.ts +289 -0
- package/src/activity/timeline/recap-export-range.ts +169 -0
- package/src/activity/timeline/recap-export.test.ts +73 -1
- package/src/activity/timeline/recap-export.ts +57 -4
- package/src/cli/memory-browse-commands.ts +77 -0
- package/src/cli.ts +2 -2
- package/src/config.ts +11 -0
- package/src/dedup/merge.test.ts +185 -8
- package/src/extraction-evidence-class.test.ts +355 -0
- package/src/extraction-evidence-class.ts +241 -0
- package/src/index.ts +1 -0
- package/src/mcp-read-only-tools.ts +3 -0
- package/src/memory-age.test.ts +106 -0
- package/src/memory-age.ts +196 -0
- package/src/memory-browse-http-glue.ts +93 -0
- package/src/memory-browse-mcp-tools.ts +57 -0
- package/src/memory-browse-operations.ts +88 -0
- package/src/memory-browse-surface.test.ts +500 -0
- package/src/memory-browse.ts +316 -0
- package/src/orchestration/recall-search-pipeline.test.ts +207 -1
- package/src/orchestration/recall-search-pipeline.ts +13 -9
- package/src/orchestration/semantic-merge-commit-effects.ts +31 -9
- package/src/orchestration/semantic-merge-persist.ts +16 -5
- package/src/provenance.ts +3 -3
- package/src/reconcile/manifest.test.ts +27 -0
- package/src/reconcile/manifest.ts +7 -0
- package/src/standing-memory-block.test.ts +262 -0
- package/src/standing-memory-block.ts +331 -0
- package/src/storage/cas-revision-host.ts +22 -0
- package/src/storage/cas-revision-store.test.ts +44 -1
- package/src/storage/cas-revision-store.ts +23 -0
- package/src/storage/tombstone-blocked-capture-sync.ts +26 -1
- package/src/storage-frontmatter-cas.test.ts +49 -1
- package/src/storage.ts +1 -1
- package/src/types.ts +6 -0
- package/dist/chunk-2AV75BJW.js.map +0 -1
- package/dist/chunk-5TKHJ5RW.js.map +0 -1
- package/dist/chunk-66YUOI53.js.map +0 -1
- package/dist/chunk-7LKXP4QG.js.map +0 -1
- package/dist/chunk-IAT5WFEU.js.map +0 -1
- package/dist/chunk-NKDQXDFL.js.map +0 -1
- package/dist/chunk-OREGA7GY.js.map +0 -1
- package/dist/chunk-SHEHQBCG.js.map +0 -1
- package/dist/chunk-TFS5FAAC.js.map +0 -1
- package/dist/chunk-TNQR7N52.js.map +0 -1
- package/dist/chunk-UJXNBZYJ.js.map +0 -1
- package/dist/chunk-W6YDAIVB.js.map +0 -1
- /package/dist/{chunk-C3MCMFNV.js.map → chunk-2QX65IEC.js.map} +0 -0
- /package/dist/{chunk-HBGSZ62Z.js.map → chunk-3RKVSECD.js.map} +0 -0
- /package/dist/{chunk-R4HFCATE.js.map → chunk-4LPIVP77.js.map} +0 -0
- /package/dist/{chunk-PW4HTWXL.js.map → chunk-55XWRL6F.js.map} +0 -0
- /package/dist/{chunk-E5VOKZQV.js.map → chunk-5KBI2MOC.js.map} +0 -0
- /package/dist/{chunk-ZQ533JDE.js.map → chunk-6A6HSXWV.js.map} +0 -0
- /package/dist/{chunk-4HTQ76O4.js.map → chunk-7SJCSDQ3.js.map} +0 -0
- /package/dist/{chunk-A2YN3FR4.js.map → chunk-7YUX52XZ.js.map} +0 -0
- /package/dist/{chunk-LQVXSRAJ.js.map → chunk-B4EGAHHS.js.map} +0 -0
- /package/dist/{chunk-EUP4AXIW.js.map → chunk-B6VDWDFN.js.map} +0 -0
- /package/dist/{chunk-Z5YNVWRD.js.map → chunk-BMENHAJL.js.map} +0 -0
- /package/dist/{chunk-5ZXGH2ZL.js.map → chunk-BXOPUJ3W.js.map} +0 -0
- /package/dist/{chunk-J6NEOCQC.js.map → chunk-CD7VTZIG.js.map} +0 -0
- /package/dist/{chunk-EC5SVM6H.js.map → chunk-DE4ZGH2N.js.map} +0 -0
- /package/dist/{chunk-2LRO73MN.js.map → chunk-DRLZB3CN.js.map} +0 -0
- /package/dist/{chunk-Q4MI2KCG.js.map → chunk-EGOWY342.js.map} +0 -0
- /package/dist/{chunk-W44T2KHG.js.map → chunk-EWBDJQ5Y.js.map} +0 -0
- /package/dist/{chunk-JMBTNVMW.js.map → chunk-FGRJJBFO.js.map} +0 -0
- /package/dist/{chunk-OOBUWMPY.js.map → chunk-G2SJRFGP.js.map} +0 -0
- /package/dist/{chunk-WGZHSQDV.js.map → chunk-G2XZFGYN.js.map} +0 -0
- /package/dist/{chunk-JPNUKKSL.js.map → chunk-GGROFIYX.js.map} +0 -0
- /package/dist/{chunk-VA5QRTZX.js.map → chunk-HG74GEVY.js.map} +0 -0
- /package/dist/{chunk-WUUGE7QC.js.map → chunk-HS75MCQF.js.map} +0 -0
- /package/dist/{chunk-DO6R3LIE.js.map → chunk-I6IJDTRP.js.map} +0 -0
- /package/dist/{chunk-T3F2HWIG.js.map → chunk-IO7K7GES.js.map} +0 -0
- /package/dist/{chunk-6II55MXS.js.map → chunk-JXLEQIJ7.js.map} +0 -0
- /package/dist/{chunk-4XTSKGLX.js.map → chunk-JYXLW22X.js.map} +0 -0
- /package/dist/{chunk-IFULZYYQ.js.map → chunk-LIAM7U2J.js.map} +0 -0
- /package/dist/{chunk-LZAJONO5.js.map → chunk-LIDJWAQV.js.map} +0 -0
- /package/dist/{chunk-B55FYF6F.js.map → chunk-LYMJ36UI.js.map} +0 -0
- /package/dist/{chunk-AOMUIF3R.js.map → chunk-MQT3WP3F.js.map} +0 -0
- /package/dist/{chunk-F6AYWLRN.js.map → chunk-NE45P3OF.js.map} +0 -0
- /package/dist/{chunk-5XTILJRI.js.map → chunk-NMA7RQPR.js.map} +0 -0
- /package/dist/{chunk-46A4RGBC.js.map → chunk-OS4JVTHR.js.map} +0 -0
- /package/dist/{chunk-C3YEB7CR.js.map → chunk-PA67GXYJ.js.map} +0 -0
- /package/dist/{chunk-NGAFYIHQ.js.map → chunk-PPJLJD2D.js.map} +0 -0
- /package/dist/{chunk-AG6PANBG.js.map → chunk-PXJ6HE2W.js.map} +0 -0
- /package/dist/{chunk-BOWAP64Q.js.map → chunk-QB4VXCFN.js.map} +0 -0
- /package/dist/{chunk-L63M2PE4.js.map → chunk-QGAKUOKU.js.map} +0 -0
- /package/dist/{chunk-T2ZNUWUY.js.map → chunk-QKFYJVDG.js.map} +0 -0
- /package/dist/{chunk-YHSEUZV5.js.map → chunk-QLCMOHRE.js.map} +0 -0
- /package/dist/{chunk-Q4AUIFUA.js.map → chunk-QMWKENNK.js.map} +0 -0
- /package/dist/{chunk-HVGCQMTQ.js.map → chunk-SJ7ZNUXB.js.map} +0 -0
- /package/dist/{chunk-WCQ7L54B.js.map → chunk-SK6HEQTW.js.map} +0 -0
- /package/dist/{chunk-PGAB2V53.js.map → chunk-SMBWBEE7.js.map} +0 -0
- /package/dist/{chunk-SPN5YFXN.js.map → chunk-SS33RR4F.js.map} +0 -0
- /package/dist/{chunk-NRFUYVW7.js.map → chunk-T3T5HTZZ.js.map} +0 -0
- /package/dist/{chunk-KG2OOAFF.js.map → chunk-TQSCR5DU.js.map} +0 -0
- /package/dist/{chunk-7K5Q6COX.js.map → chunk-TVVEYCNW.js.map} +0 -0
- /package/dist/{chunk-ZLVURGAJ.js.map → chunk-V2XNMIAM.js.map} +0 -0
- /package/dist/{chunk-AS2NOPDM.js.map → chunk-V7IONNTJ.js.map} +0 -0
- /package/dist/{chunk-OFBJD3V5.js.map → chunk-VV5GCNKG.js.map} +0 -0
- /package/dist/{chunk-MDYZCPNQ.js.map → chunk-WL3PGPGU.js.map} +0 -0
- /package/dist/{chunk-N6I257OM.js.map → chunk-WYU66IVZ.js.map} +0 -0
- /package/dist/{chunk-A7GQBJP5.js.map → chunk-X2NFFBTO.js.map} +0 -0
- /package/dist/{chunk-D3DJYGU2.js.map → chunk-XEHLYA5Z.js.map} +0 -0
- /package/dist/{chunk-JIWZVOQM.js.map → chunk-XKHRNAK7.js.map} +0 -0
- /package/dist/{chunk-VW5TGNJN.js.map → chunk-XXLH6KFO.js.map} +0 -0
- /package/dist/{chunk-WMTYEQO5.js.map → chunk-XZUHXKM3.js.map} +0 -0
- /package/dist/{chunk-K4KE5MYE.js.map → chunk-Y5VT7BIT.js.map} +0 -0
- /package/dist/{chunk-M7ECD3KN.js.map → chunk-YOSLKZLZ.js.map} +0 -0
- /package/dist/{chunk-K75H7FSO.js.map → chunk-YXWMZAAN.js.map} +0 -0
- /package/dist/{chunk-DSHSQGSN.js.map → chunk-ZEIJQ4I3.js.map} +0 -0
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
ActivityStore,
|
|
15
15
|
MaintenanceScheduler
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3RKVSECD.js";
|
|
17
17
|
import {
|
|
18
18
|
runPeerProfileReasoner
|
|
19
19
|
} from "./chunk-I74SUMNI.js";
|
|
@@ -22,20 +22,20 @@ import {
|
|
|
22
22
|
} from "./chunk-VZAKYDMJ.js";
|
|
23
23
|
import {
|
|
24
24
|
LcmEngine
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-X2NFFBTO.js";
|
|
26
|
+
import {
|
|
27
|
+
chunkTranscriptEntries
|
|
28
|
+
} from "./chunk-TECVW3JP.js";
|
|
26
29
|
import {
|
|
27
30
|
cleanupConversationChunks
|
|
28
31
|
} from "./chunk-C5JF6EZ7.js";
|
|
29
32
|
import {
|
|
30
33
|
CompoundingEngine,
|
|
31
34
|
defaultTierMigrationCycleBudget
|
|
32
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-CD7VTZIG.js";
|
|
33
36
|
import {
|
|
34
37
|
SharedContextManager
|
|
35
38
|
} from "./chunk-Z22M4JCY.js";
|
|
36
|
-
import {
|
|
37
|
-
chunkTranscriptEntries
|
|
38
|
-
} from "./chunk-TECVW3JP.js";
|
|
39
39
|
import {
|
|
40
40
|
cleanArchivedUserMessage
|
|
41
41
|
} from "./chunk-47DU4SGJ.js";
|
|
@@ -47,9 +47,6 @@ import {
|
|
|
47
47
|
import {
|
|
48
48
|
extractTopics
|
|
49
49
|
} from "./chunk-KVDUKH5E.js";
|
|
50
|
-
import {
|
|
51
|
-
buildTemporalTimelineRecallSection
|
|
52
|
-
} from "./chunk-2NKY7OC6.js";
|
|
53
50
|
import {
|
|
54
51
|
CODEX_THREAD_KEY_PREFIX
|
|
55
52
|
} from "./chunk-4EX5WZ4M.js";
|
|
@@ -66,13 +63,12 @@ import {
|
|
|
66
63
|
buildTargetedFactRecallSection,
|
|
67
64
|
shouldRecallTargetedFactEvidence
|
|
68
65
|
} from "./chunk-T67LUYCR.js";
|
|
66
|
+
import {
|
|
67
|
+
buildTemporalTimelineRecallSection
|
|
68
|
+
} from "./chunk-2NKY7OC6.js";
|
|
69
69
|
import {
|
|
70
70
|
SessionObserverState
|
|
71
71
|
} from "./chunk-ODZKV2F7.js";
|
|
72
|
-
import {
|
|
73
|
-
buildResponseGuidanceRecallSection,
|
|
74
|
-
shouldRecallResponseGuidance
|
|
75
|
-
} from "./chunk-6TCXIRP5.js";
|
|
76
72
|
import {
|
|
77
73
|
mergeWithAgentResults,
|
|
78
74
|
runDirectAgent,
|
|
@@ -97,9 +93,6 @@ import {
|
|
|
97
93
|
import {
|
|
98
94
|
applyRuntimeRetrievalPolicy
|
|
99
95
|
} from "./chunk-5IZL4DCV.js";
|
|
100
|
-
import {
|
|
101
|
-
findUnresolvedEntityRefs
|
|
102
|
-
} from "./chunk-X7XN6YU4.js";
|
|
103
96
|
import {
|
|
104
97
|
RelevanceStore
|
|
105
98
|
} from "./chunk-KATEWTQJ.js";
|
|
@@ -108,10 +101,17 @@ import {
|
|
|
108
101
|
reorderByRankedKeys,
|
|
109
102
|
rerankLocalOrNoop
|
|
110
103
|
} from "./chunk-LUDXM7MD.js";
|
|
104
|
+
import {
|
|
105
|
+
buildResponseGuidanceRecallSection,
|
|
106
|
+
shouldRecallResponseGuidance
|
|
107
|
+
} from "./chunk-6TCXIRP5.js";
|
|
108
|
+
import {
|
|
109
|
+
findUnresolvedEntityRefs
|
|
110
|
+
} from "./chunk-X7XN6YU4.js";
|
|
111
111
|
import {
|
|
112
112
|
indexStateViewAnnotatedResults,
|
|
113
113
|
resolveRecallStateViewActive
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-I6IJDTRP.js";
|
|
115
115
|
import {
|
|
116
116
|
applyRecallStateViews
|
|
117
117
|
} from "./chunk-DBB5JPSL.js";
|
|
@@ -120,9 +120,6 @@ import {
|
|
|
120
120
|
filterRecentScanMemories,
|
|
121
121
|
stateViewPacketActive
|
|
122
122
|
} from "./chunk-VSN2DMQK.js";
|
|
123
|
-
import {
|
|
124
|
-
reorderRecallResultsWithMmr
|
|
125
|
-
} from "./chunk-YDBIWGNI.js";
|
|
126
123
|
import {
|
|
127
124
|
dedupeResultsByNamespace,
|
|
128
125
|
hasMemoryForResult,
|
|
@@ -131,6 +128,9 @@ import {
|
|
|
131
128
|
memoryMapKey,
|
|
132
129
|
resultHasKey
|
|
133
130
|
} from "./chunk-D3V3UMET.js";
|
|
131
|
+
import {
|
|
132
|
+
reorderRecallResultsWithMmr
|
|
133
|
+
} from "./chunk-YDBIWGNI.js";
|
|
134
134
|
import {
|
|
135
135
|
applyReasoningTraceBoost
|
|
136
136
|
} from "./chunk-ZZTOURJI.js";
|
|
@@ -144,6 +144,10 @@ import {
|
|
|
144
144
|
applyMemoryWorthFilter,
|
|
145
145
|
buildMemoryWorthCounterMap
|
|
146
146
|
} from "./chunk-3GPTTA4J.js";
|
|
147
|
+
import {
|
|
148
|
+
applyRecencyBoost,
|
|
149
|
+
collectMtimeFallbackContext
|
|
150
|
+
} from "./chunk-M4DB6ZNN.js";
|
|
147
151
|
import {
|
|
148
152
|
runLiveConnectorsOnce
|
|
149
153
|
} from "./chunk-YHLWPYHT.js";
|
|
@@ -162,7 +166,7 @@ import {
|
|
|
162
166
|
} from "./chunk-XXSOVESA.js";
|
|
163
167
|
import {
|
|
164
168
|
ExtractionEngine
|
|
165
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-PXJ6HE2W.js";
|
|
166
170
|
import {
|
|
167
171
|
buildFocusedListRecallSection,
|
|
168
172
|
shouldRecallFocusedListEvidence
|
|
@@ -197,7 +201,7 @@ import {
|
|
|
197
201
|
buildEntityRecallSection,
|
|
198
202
|
entityRecentTranscriptLookbackHours,
|
|
199
203
|
readRecentEntityTranscriptEntries
|
|
200
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-JXLEQIJ7.js";
|
|
201
205
|
import {
|
|
202
206
|
planEpisodeWindowsWithFallback
|
|
203
207
|
} from "./chunk-T3GIETKV.js";
|
|
@@ -209,7 +213,7 @@ import {
|
|
|
209
213
|
} from "./chunk-V2HHAAPI.js";
|
|
210
214
|
import {
|
|
211
215
|
refreshConvergedNamespaces
|
|
212
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-LYMJ36UI.js";
|
|
213
217
|
import {
|
|
214
218
|
formatDaySummaryMemories
|
|
215
219
|
} from "./chunk-LVXBC6YB.js";
|
|
@@ -221,7 +225,7 @@ import {
|
|
|
221
225
|
runTimelinePublishCli,
|
|
222
226
|
screenCandidateFact,
|
|
223
227
|
summarizeVaultPublish
|
|
224
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-44BILQ7U.js";
|
|
225
229
|
import {
|
|
226
230
|
normalizeReplaySessionKey
|
|
227
231
|
} from "./chunk-AJVLDJU6.js";
|
|
@@ -231,14 +235,14 @@ import {
|
|
|
231
235
|
import {
|
|
232
236
|
compareVerifiedEpisodeResults,
|
|
233
237
|
searchVerifiedEpisodes
|
|
234
|
-
} from "./chunk-
|
|
238
|
+
} from "./chunk-T3T5HTZZ.js";
|
|
235
239
|
import {
|
|
236
240
|
ThreadingManager
|
|
237
241
|
} from "./chunk-OJP3N7UK.js";
|
|
238
242
|
import {
|
|
239
243
|
compareVerifiedSemanticRuleResults,
|
|
240
244
|
searchVerifiedSemanticRules
|
|
241
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-LIAM7U2J.js";
|
|
242
246
|
import {
|
|
243
247
|
searchWorkProductLedgerEntries
|
|
244
248
|
} from "./chunk-G7NYVKD6.js";
|
|
@@ -251,10 +255,10 @@ import {
|
|
|
251
255
|
import {
|
|
252
256
|
runNamespaceMaintenanceFanout,
|
|
253
257
|
summarizeNamespaceMaintenanceHealth
|
|
254
|
-
} from "./chunk-
|
|
258
|
+
} from "./chunk-SS33RR4F.js";
|
|
255
259
|
import {
|
|
256
260
|
planNamespaceMaintenance
|
|
257
|
-
} from "./chunk-
|
|
261
|
+
} from "./chunk-WYU66IVZ.js";
|
|
258
262
|
import {
|
|
259
263
|
isAboveImportanceThreshold,
|
|
260
264
|
scoreImportance
|
|
@@ -283,7 +287,7 @@ import {
|
|
|
283
287
|
materializeAfterSemanticConsolidation,
|
|
284
288
|
parseConsolidationResponse,
|
|
285
289
|
parseOperatorAwareConsolidationResponse
|
|
286
|
-
} from "./chunk-
|
|
290
|
+
} from "./chunk-HG74GEVY.js";
|
|
287
291
|
import {
|
|
288
292
|
semanticChunkContent
|
|
289
293
|
} from "./chunk-2GBFKHBZ.js";
|
|
@@ -292,7 +296,7 @@ import {
|
|
|
292
296
|
} from "./chunk-6TBIWIAG.js";
|
|
293
297
|
import {
|
|
294
298
|
SmartBuffer
|
|
295
|
-
} from "./chunk-
|
|
299
|
+
} from "./chunk-XKHRNAK7.js";
|
|
296
300
|
import {
|
|
297
301
|
buildRecallQueryPolicy
|
|
298
302
|
} from "./chunk-C6WMSXCJ.js";
|
|
@@ -320,7 +324,7 @@ import {
|
|
|
320
324
|
detectMeetings,
|
|
321
325
|
embeddingsFromCosineHits,
|
|
322
326
|
normalizeConnectorScope
|
|
323
|
-
} from "./chunk-
|
|
327
|
+
} from "./chunk-OSTXIFZW.js";
|
|
324
328
|
import {
|
|
325
329
|
compileCorrectionRule,
|
|
326
330
|
correctionsFilePath,
|
|
@@ -338,7 +342,7 @@ import {
|
|
|
338
342
|
} from "./chunk-QW27DOHG.js";
|
|
339
343
|
import {
|
|
340
344
|
MeetingsInputError
|
|
341
|
-
} from "./chunk-
|
|
345
|
+
} from "./chunk-MMQVWKFY.js";
|
|
342
346
|
import {
|
|
343
347
|
WearablesInputError,
|
|
344
348
|
describeErrorForOperator
|
|
@@ -356,14 +360,14 @@ import {
|
|
|
356
360
|
} from "./chunk-DGS34QSY.js";
|
|
357
361
|
import {
|
|
358
362
|
NamespaceCatalog
|
|
359
|
-
} from "./chunk-
|
|
363
|
+
} from "./chunk-SK6HEQTW.js";
|
|
360
364
|
import {
|
|
361
365
|
RecallResultFormatter,
|
|
362
366
|
SessionContextCoordinator,
|
|
363
367
|
capturePassiveCorrections,
|
|
364
368
|
clusterByKey,
|
|
365
369
|
detectPassiveCorrections
|
|
366
|
-
} from "./chunk-
|
|
370
|
+
} from "./chunk-AS4YKT75.js";
|
|
367
371
|
import {
|
|
368
372
|
importCapsule
|
|
369
373
|
} from "./chunk-ZHXSOMYH.js";
|
|
@@ -383,30 +387,30 @@ import {
|
|
|
383
387
|
} from "./chunk-ROBHL3GL.js";
|
|
384
388
|
import {
|
|
385
389
|
HourlySummarizer
|
|
386
|
-
} from "./chunk-
|
|
390
|
+
} from "./chunk-BXOPUJ3W.js";
|
|
387
391
|
import {
|
|
388
392
|
LastRecallStore,
|
|
389
393
|
RecallHandleHistoryStore,
|
|
390
394
|
TierMigrationStatusStore,
|
|
391
395
|
clampGraphRecallExpandedEntries
|
|
392
396
|
} from "./chunk-5UBH37SL.js";
|
|
393
|
-
import {
|
|
394
|
-
filterRecallCandidates,
|
|
395
|
-
isGenericRecallExcludedPath,
|
|
396
|
-
isTopLevelArchivePath,
|
|
397
|
-
journalPath,
|
|
398
|
-
writeJournalFile
|
|
399
|
-
} from "./chunk-EC5SVM6H.js";
|
|
400
397
|
import {
|
|
401
398
|
buildXraySnapshot
|
|
402
|
-
} from "./chunk-
|
|
399
|
+
} from "./chunk-XXLH6KFO.js";
|
|
403
400
|
import {
|
|
404
401
|
objectiveStateStoreOverrideForNamespace,
|
|
405
402
|
searchObjectiveStateSnapshots
|
|
406
403
|
} from "./chunk-HM7RHKS4.js";
|
|
404
|
+
import {
|
|
405
|
+
filterRecallCandidates,
|
|
406
|
+
isGenericRecallExcludedPath,
|
|
407
|
+
isTopLevelArchivePath,
|
|
408
|
+
journalPath,
|
|
409
|
+
writeJournalFile
|
|
410
|
+
} from "./chunk-DE4ZGH2N.js";
|
|
407
411
|
import {
|
|
408
412
|
searchHarmonicRetrieval
|
|
409
|
-
} from "./chunk-
|
|
413
|
+
} from "./chunk-5KBI2MOC.js";
|
|
410
414
|
import {
|
|
411
415
|
ProfilingCollector
|
|
412
416
|
} from "./chunk-NLE6TSLG.js";
|
|
@@ -415,14 +419,14 @@ import {
|
|
|
415
419
|
} from "./chunk-WLZYGLJ4.js";
|
|
416
420
|
import {
|
|
417
421
|
LocalLlmClient
|
|
418
|
-
} from "./chunk-
|
|
422
|
+
} from "./chunk-G2XZFGYN.js";
|
|
419
423
|
import {
|
|
420
424
|
contentMatchesRedactionRules,
|
|
421
425
|
loadRedactionRules
|
|
422
426
|
} from "./chunk-LTHVM4XN.js";
|
|
423
427
|
import {
|
|
424
428
|
shouldSkipImplicitExtraction
|
|
425
|
-
} from "./chunk-
|
|
429
|
+
} from "./chunk-B4EGAHHS.js";
|
|
426
430
|
import {
|
|
427
431
|
boundRecallContextComposition,
|
|
428
432
|
composeRecallContext,
|
|
@@ -433,7 +437,7 @@ import {
|
|
|
433
437
|
} from "./chunk-7ZNJN5WZ.js";
|
|
434
438
|
import {
|
|
435
439
|
NamespaceStorageRouter
|
|
436
|
-
} from "./chunk-
|
|
440
|
+
} from "./chunk-XZUHXKM3.js";
|
|
437
441
|
import {
|
|
438
442
|
pruneOrphanCueAnchors
|
|
439
443
|
} from "./chunk-BMWN7B3Y.js";
|
|
@@ -447,7 +451,7 @@ import {
|
|
|
447
451
|
ExtractionDeadlineError,
|
|
448
452
|
ExtractionRunCoordinator,
|
|
449
453
|
classifyExtractionOrigin
|
|
450
|
-
} from "./chunk-
|
|
454
|
+
} from "./chunk-B6VDWDFN.js";
|
|
451
455
|
import {
|
|
452
456
|
ARTIFACT_STATUS_CACHE_TTL_MS,
|
|
453
457
|
BulkImportBatchPartialFailureError,
|
|
@@ -487,7 +491,7 @@ import {
|
|
|
487
491
|
throwIfRecallAborted,
|
|
488
492
|
tokenizeRecallQuery,
|
|
489
493
|
utcDateKeysForLocalDay
|
|
490
|
-
} from "./chunk-
|
|
494
|
+
} from "./chunk-Y5VT7BIT.js";
|
|
491
495
|
import {
|
|
492
496
|
inferIntentFromText,
|
|
493
497
|
intentCompatibilityScore,
|
|
@@ -500,11 +504,10 @@ import {
|
|
|
500
504
|
} from "./chunk-TBBDFYXW.js";
|
|
501
505
|
import {
|
|
502
506
|
buildChainFollowupGenerator
|
|
503
|
-
} from "./chunk-
|
|
507
|
+
} from "./chunk-QLCMOHRE.js";
|
|
504
508
|
import {
|
|
505
509
|
QmdResultResolver,
|
|
506
510
|
StorageManager,
|
|
507
|
-
canonicalSemanticFileText,
|
|
508
511
|
compareEntityTimestamps,
|
|
509
512
|
composeFusionDayMeta,
|
|
510
513
|
composeMeetingRecord,
|
|
@@ -520,7 +523,7 @@ import {
|
|
|
520
523
|
reconstructFusionInputs,
|
|
521
524
|
selfDeps,
|
|
522
525
|
serializeFusionDay
|
|
523
|
-
} from "./chunk-
|
|
526
|
+
} from "./chunk-MNG536IS.js";
|
|
524
527
|
import {
|
|
525
528
|
buildRetiredFactTombstoneInputs
|
|
526
529
|
} from "./chunk-46WM6JX2.js";
|
|
@@ -537,12 +540,12 @@ import {
|
|
|
537
540
|
import {
|
|
538
541
|
NamespaceSearchRouter,
|
|
539
542
|
namespaceCollectionName
|
|
540
|
-
} from "./chunk-
|
|
543
|
+
} from "./chunk-IO7K7GES.js";
|
|
541
544
|
import {
|
|
542
545
|
createConversationIndexRuntime,
|
|
543
546
|
createSearchBackend,
|
|
544
547
|
isSearchBackendEnabled
|
|
545
|
-
} from "./chunk-
|
|
548
|
+
} from "./chunk-PA67GXYJ.js";
|
|
546
549
|
import {
|
|
547
550
|
NoopSearchBackend
|
|
548
551
|
} from "./chunk-CYEPCZN5.js";
|
|
@@ -556,7 +559,7 @@ import {
|
|
|
556
559
|
} from "./chunk-S2V7RUCL.js";
|
|
557
560
|
import {
|
|
558
561
|
confidenceTier
|
|
559
|
-
} from "./chunk-
|
|
562
|
+
} from "./chunk-WQW6KPVC.js";
|
|
560
563
|
import {
|
|
561
564
|
lintWorkspaceFiles,
|
|
562
565
|
rotateMarkdownFileToArchive
|
|
@@ -567,8 +570,9 @@ import {
|
|
|
567
570
|
runFaithfulnessGateBatch
|
|
568
571
|
} from "./chunk-J3IWHCMF.js";
|
|
569
572
|
import {
|
|
573
|
+
canonicalSemanticFileText,
|
|
570
574
|
casCommittedRevisionOf
|
|
571
|
-
} from "./chunk-
|
|
575
|
+
} from "./chunk-DUJYRVUD.js";
|
|
572
576
|
import {
|
|
573
577
|
checkCorpusReadAbort
|
|
574
578
|
} from "./chunk-5GINB5LC.js";
|
|
@@ -5499,11 +5503,21 @@ async function rewriteMergedTargetGraphEdges(storage, input) {
|
|
|
5499
5503
|
try {
|
|
5500
5504
|
appended = await input.build() ?? void 0;
|
|
5501
5505
|
const committedNow = await storage.getMemoryByIdIncludingArchived(input.targetId);
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
}
|
|
5506
|
-
|
|
5506
|
+
let standing;
|
|
5507
|
+
if (committedNow === null) {
|
|
5508
|
+
standing = { status: "absent" };
|
|
5509
|
+
} else {
|
|
5510
|
+
standing = await storage.readCasRevisionStatus(committedNow.path).catch((err) => ({
|
|
5511
|
+
status: "unavailable",
|
|
5512
|
+
reason: err instanceof Error ? err.message : String(err)
|
|
5513
|
+
}));
|
|
5514
|
+
}
|
|
5515
|
+
if (!committedNow || committedNow.content !== input.mergedContent || standing.status === "unavailable" || (standing.status === "present" ? standing.revision : void 0) !== input.revisionChecked) {
|
|
5516
|
+
if (standing.status === "unavailable") {
|
|
5517
|
+
log.warn(
|
|
5518
|
+
`rewriteMergedTargetGraphEdges: CAS revision status for ${input.memoryRelPath} is unavailable (${standing.reason}); aborting the install \u2014 an unverified replacement must not install (#2837)`
|
|
5519
|
+
);
|
|
5520
|
+
}
|
|
5507
5521
|
await rollbackNodeEdgeRewrite(storage.dir, input.memoryRelPath, input.rewriteTypes, removedEdges, input.targetId, appended);
|
|
5508
5522
|
return false;
|
|
5509
5523
|
}
|
|
@@ -6207,12 +6221,18 @@ async function runMergedTargetPostEffects(deps, storage, merge, input) {
|
|
|
6207
6221
|
if (input.graphCaps.entityGraph) rewriteTypes.push("entity");
|
|
6208
6222
|
if (input.graphCaps.timeGraph) rewriteTypes.push("time");
|
|
6209
6223
|
if (input.graphCaps.causalGraph) rewriteTypes.push("causal");
|
|
6224
|
+
const receiptStatus = await storage.readCasRevisionStatus(committed.path);
|
|
6225
|
+
if (receiptStatus.status === "unavailable") {
|
|
6226
|
+
log.warn(
|
|
6227
|
+
`runMergedTargetPostEffects: CAS revision status for ${committed.path} is unavailable (${receiptStatus.reason}); skipping the graph rewrite \u2014 the next merge retries it (#2837)`
|
|
6228
|
+
);
|
|
6229
|
+
return signals;
|
|
6230
|
+
}
|
|
6210
6231
|
rewriteInstalled = await rewriteMergedTargetGraphEdges(storage, {
|
|
6211
6232
|
targetId: merge.targetId,
|
|
6212
6233
|
memoryRelPath,
|
|
6213
6234
|
mergedContent: merge.mergedContent,
|
|
6214
|
-
|
|
6215
|
-
revisionChecked: await storage.readCasRevision(committed.path),
|
|
6235
|
+
revisionChecked: receiptStatus.status === "present" ? receiptStatus.revision : void 0,
|
|
6216
6236
|
rewriteTypes,
|
|
6217
6237
|
build: () => deps.buildGraphEdge(
|
|
6218
6238
|
storage,
|
|
@@ -15377,18 +15397,17 @@ var RecallSearchPipelineCoordinator = class {
|
|
|
15377
15397
|
}
|
|
15378
15398
|
const boosted = [];
|
|
15379
15399
|
const recencyWeight = this.deps.effectiveRecencyWeight();
|
|
15400
|
+
const mtimeFallback = recencyWeight > 0 ? await collectMtimeFallbackContext(
|
|
15401
|
+
safeResults.flatMap((r) => {
|
|
15402
|
+
const m = memoryForResult(memoryByPath, r);
|
|
15403
|
+
return m ? [m] : [];
|
|
15404
|
+
})
|
|
15405
|
+
) : null;
|
|
15380
15406
|
for (const r of safeResults) {
|
|
15381
15407
|
const memory = memoryForResult(memoryByPath, r);
|
|
15382
15408
|
let score = r.score;
|
|
15383
15409
|
if (memory) {
|
|
15384
|
-
|
|
15385
|
-
const createdAt = new Date(memory.frontmatter.created).getTime();
|
|
15386
|
-
const ageMs = now - createdAt;
|
|
15387
|
-
const ageDays = ageMs / (1e3 * 60 * 60 * 24);
|
|
15388
|
-
const halfLifeDays = 7;
|
|
15389
|
-
const recencyScore = Math.pow(0.5, ageDays / halfLifeDays);
|
|
15390
|
-
score = score * (1 - recencyWeight) + recencyScore * recencyWeight;
|
|
15391
|
-
}
|
|
15410
|
+
score = applyRecencyBoost(score, memory, recencyWeight, now, mtimeFallback);
|
|
15392
15411
|
if (this.deps.config.boostAccessCount && memory.frontmatter.accessCount) {
|
|
15393
15412
|
const accessBoost = Math.log10(memory.frontmatter.accessCount + 1) / 3;
|
|
15394
15413
|
score += applyUtilityRankingRuntimeDelta(
|
|
@@ -27868,7 +27887,7 @@ function clipToWindow(cards, winStart, winEnd) {
|
|
|
27868
27887
|
clipped.sort((left, right) => {
|
|
27869
27888
|
const byStart = left.startMs - right.startMs;
|
|
27870
27889
|
if (byStart !== 0) return byStart;
|
|
27871
|
-
const byTitle = left.card.title.localeCompare(right.card.title);
|
|
27890
|
+
const byTitle = (left.card.title ?? "").localeCompare(right.card.title ?? "");
|
|
27872
27891
|
if (byTitle !== 0) return byTitle;
|
|
27873
27892
|
return left.card.id.localeCompare(right.card.id);
|
|
27874
27893
|
});
|
|
@@ -27919,7 +27938,7 @@ function renderDeterministicJournal(cards, options) {
|
|
|
27919
27938
|
winEnd,
|
|
27920
27939
|
clipped.map((row) => [row.startMs, row.endMs])
|
|
27921
27940
|
);
|
|
27922
|
-
const cardLines = clipped.length === 0 ? ["_No cards._"] : clipped.map((row) => `- ${formatMinutes(row.durationMs)} ${row.card.title}`);
|
|
27941
|
+
const cardLines = clipped.length === 0 ? ["_No cards._"] : clipped.map((row) => `- ${formatMinutes(row.durationMs)} ${row.card.title ?? row.card.id}`);
|
|
27923
27942
|
return [
|
|
27924
27943
|
`# Journal \u2014 ${options.date} (${options.timezone})`,
|
|
27925
27944
|
"",
|
|
@@ -28181,27 +28200,140 @@ function persistWeeklySnapshot(input) {
|
|
|
28181
28200
|
}
|
|
28182
28201
|
|
|
28183
28202
|
// src/activity/timeline/recap-export.ts
|
|
28203
|
+
function projectCardForRecapExport(card, includeObservations) {
|
|
28204
|
+
const projected = {
|
|
28205
|
+
id: card.id,
|
|
28206
|
+
kind: card.kind,
|
|
28207
|
+
summary: card.summary,
|
|
28208
|
+
categoryId: card.categoryId,
|
|
28209
|
+
confidence: card.confidence,
|
|
28210
|
+
startUtc: card.startUtc,
|
|
28211
|
+
endUtc: card.endUtc,
|
|
28212
|
+
dayKey: card.dayKey,
|
|
28213
|
+
timezone: card.timezone,
|
|
28214
|
+
machine: card.machine,
|
|
28215
|
+
evidenceIds: card.evidenceIds,
|
|
28216
|
+
evidenceRange: card.evidenceRange
|
|
28217
|
+
};
|
|
28218
|
+
if (card.manualEdit !== void 0) {
|
|
28219
|
+
projected.manualEdit = card.manualEdit;
|
|
28220
|
+
}
|
|
28221
|
+
if (includeObservations) {
|
|
28222
|
+
projected.title = card.title;
|
|
28223
|
+
}
|
|
28224
|
+
return projected;
|
|
28225
|
+
}
|
|
28184
28226
|
function compareCardIds(a, b) {
|
|
28185
28227
|
if (a.id < b.id) return -1;
|
|
28186
28228
|
if (a.id > b.id) return 1;
|
|
28187
28229
|
return 0;
|
|
28188
28230
|
}
|
|
28189
28231
|
function exportDeterministicRecap(options) {
|
|
28232
|
+
const includeObservations = options.includeObservations === true;
|
|
28190
28233
|
return {
|
|
28191
28234
|
date: options.date,
|
|
28192
28235
|
timezone: options.timezone,
|
|
28193
|
-
cards:
|
|
28236
|
+
cards: options.cards.map((card) => projectCardForRecapExport(card, includeObservations)).sort(compareCardIds)
|
|
28194
28237
|
};
|
|
28195
28238
|
}
|
|
28196
28239
|
|
|
28197
|
-
// src/activity/timeline/recap-
|
|
28240
|
+
// src/activity/timeline/recap-date.ts
|
|
28241
|
+
var RECAP_DATE = /^\d{4}-\d{2}-\d{2}$/;
|
|
28242
|
+
function parseRecapDate(value) {
|
|
28243
|
+
const date = value.trim();
|
|
28244
|
+
if (date.length === 0) return { ok: false, error: "missing_date" };
|
|
28245
|
+
if (!RECAP_DATE.test(date)) return { ok: false, error: "invalid_date" };
|
|
28246
|
+
return { ok: true, date };
|
|
28247
|
+
}
|
|
28248
|
+
|
|
28249
|
+
// src/activity/timeline/recap-export-range.ts
|
|
28250
|
+
var DEFAULT_RECAP_RANGE_MAX_DAYS = 366;
|
|
28198
28251
|
function compareCardIds2(a, b) {
|
|
28199
28252
|
if (a.id < b.id) return -1;
|
|
28200
28253
|
if (a.id > b.id) return 1;
|
|
28201
28254
|
return 0;
|
|
28202
28255
|
}
|
|
28256
|
+
function* isoDays(startDate, endDate) {
|
|
28257
|
+
const endMs = Date.parse(`${endDate}T00:00:00Z`);
|
|
28258
|
+
let cursor = /* @__PURE__ */ new Date(`${startDate}T00:00:00Z`);
|
|
28259
|
+
while (cursor.getTime() <= endMs) {
|
|
28260
|
+
yield cursor.toISOString().slice(0, 10);
|
|
28261
|
+
cursor = new Date(cursor.getTime() + 864e5);
|
|
28262
|
+
}
|
|
28263
|
+
}
|
|
28264
|
+
function dayCount(startDate, endDate) {
|
|
28265
|
+
return (Date.parse(`${endDate}T00:00:00Z`) - Date.parse(`${startDate}T00:00:00Z`)) / 864e5 + 1;
|
|
28266
|
+
}
|
|
28267
|
+
function exportDeterministicRecapRange(options) {
|
|
28268
|
+
const start = parseRecapDate(options.startDate);
|
|
28269
|
+
if (!start.ok || !isValidActivityDate(start.date)) {
|
|
28270
|
+
return { ok: false, error: "invalid_start_date" };
|
|
28271
|
+
}
|
|
28272
|
+
const end = parseRecapDate(options.endDate);
|
|
28273
|
+
if (!end.ok || !isValidActivityDate(end.date)) {
|
|
28274
|
+
return { ok: false, error: "invalid_end_date" };
|
|
28275
|
+
}
|
|
28276
|
+
if (Date.parse(`${end.date}T00:00:00Z`) < Date.parse(`${start.date}T00:00:00Z`)) {
|
|
28277
|
+
return { ok: false, error: "end_before_start" };
|
|
28278
|
+
}
|
|
28279
|
+
const limit = options.maxDays ?? DEFAULT_RECAP_RANGE_MAX_DAYS;
|
|
28280
|
+
if (!Number.isInteger(limit) || limit < 1) {
|
|
28281
|
+
throw new RangeError(`maxDays must be a positive integer; got ${options.maxDays}`);
|
|
28282
|
+
}
|
|
28283
|
+
if (dayCount(start.date, end.date) > limit) {
|
|
28284
|
+
return { ok: false, error: "range_too_large", limit };
|
|
28285
|
+
}
|
|
28286
|
+
const includeObservations = options.includeObservations === true;
|
|
28287
|
+
const byDay = /* @__PURE__ */ new Map();
|
|
28288
|
+
for (const card of options.cards) {
|
|
28289
|
+
if (card.dayKey < start.date || card.dayKey > end.date) continue;
|
|
28290
|
+
const bucket = byDay.get(card.dayKey);
|
|
28291
|
+
const projected = projectCardForRecapExport(card, includeObservations);
|
|
28292
|
+
if (bucket === void 0) byDay.set(card.dayKey, [projected]);
|
|
28293
|
+
else bucket.push(projected);
|
|
28294
|
+
}
|
|
28295
|
+
const days = [];
|
|
28296
|
+
for (const date of isoDays(start.date, end.date)) {
|
|
28297
|
+
days.push({
|
|
28298
|
+
date,
|
|
28299
|
+
timezone: options.timezone,
|
|
28300
|
+
cards: (byDay.get(date) ?? []).sort(compareCardIds2)
|
|
28301
|
+
});
|
|
28302
|
+
}
|
|
28303
|
+
return {
|
|
28304
|
+
ok: true,
|
|
28305
|
+
range: {
|
|
28306
|
+
startDate: start.date,
|
|
28307
|
+
endDate: end.date,
|
|
28308
|
+
timezone: options.timezone,
|
|
28309
|
+
days
|
|
28310
|
+
}
|
|
28311
|
+
};
|
|
28312
|
+
}
|
|
28313
|
+
function renderDeterministicJournalRange(options) {
|
|
28314
|
+
const exported = exportDeterministicRecapRange(options);
|
|
28315
|
+
if (!exported.ok) return exported;
|
|
28316
|
+
const sections = exported.range.days.map(
|
|
28317
|
+
(day) => renderDeterministicJournal(day.cards, {
|
|
28318
|
+
date: day.date,
|
|
28319
|
+
timezone: day.timezone
|
|
28320
|
+
})
|
|
28321
|
+
);
|
|
28322
|
+
return {
|
|
28323
|
+
ok: true,
|
|
28324
|
+
markdown: sections.join("\n"),
|
|
28325
|
+
dayCount: exported.range.days.length
|
|
28326
|
+
};
|
|
28327
|
+
}
|
|
28328
|
+
|
|
28329
|
+
// src/activity/timeline/recap-markdown.ts
|
|
28330
|
+
function compareCardIds3(a, b) {
|
|
28331
|
+
if (a.id < b.id) return -1;
|
|
28332
|
+
if (a.id > b.id) return 1;
|
|
28333
|
+
return 0;
|
|
28334
|
+
}
|
|
28203
28335
|
function renderRecapMarkdown(options) {
|
|
28204
|
-
const cards = [...options.cards].sort(
|
|
28336
|
+
const cards = [...options.cards].sort(compareCardIds3);
|
|
28205
28337
|
const body = cards.length === 0 ? ["(empty)"] : cards.map((card) => `- ${card.id}`);
|
|
28206
28338
|
return [`# Recap \u2014 ${options.date} (${options.timezone})`, "", ...body, ""].join("\n");
|
|
28207
28339
|
}
|
|
@@ -30728,7 +30860,11 @@ export {
|
|
|
30728
30860
|
WEEKLY_SNAPSHOT_DIR,
|
|
30729
30861
|
weeklySnapshotPath,
|
|
30730
30862
|
persistWeeklySnapshot,
|
|
30863
|
+
projectCardForRecapExport,
|
|
30731
30864
|
exportDeterministicRecap,
|
|
30865
|
+
DEFAULT_RECAP_RANGE_MAX_DAYS,
|
|
30866
|
+
exportDeterministicRecapRange,
|
|
30867
|
+
renderDeterministicJournalRange,
|
|
30732
30868
|
renderRecapMarkdown,
|
|
30733
30869
|
exportDeterministicWeek,
|
|
30734
30870
|
renderWeekSnapshot,
|
|
@@ -30815,4 +30951,4 @@ export {
|
|
|
30815
30951
|
qmdStartupCollectionChecksWithTimeout,
|
|
30816
30952
|
Orchestrator
|
|
30817
30953
|
};
|
|
30818
|
-
//# sourceMappingURL=chunk-
|
|
30954
|
+
//# sourceMappingURL=chunk-ROBGBT3D.js.map
|