@remnic/core 9.66.8 → 9.66.10
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 +98 -97
- 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 +2 -2
- package/dist/access-http-query.js +25 -25
- package/dist/access-http.d.ts +12 -12
- package/dist/access-http.js +41 -41
- 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-output-schemas.js +1 -1
- package/dist/access-mcp.d.ts +11 -11
- package/dist/access-mcp.js +33 -33
- package/dist/access-memory-search-fanout.d.ts +2 -2
- package/dist/{access-namespace-preflight-50VIkPhB.d.ts → access-namespace-preflight-S8fhQcCo.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-operations-batch.js +26 -26
- package/dist/access-operations.d.ts +16 -16
- package/dist/access-operations.js +31 -31
- 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 +89 -89
- package/dist/access-schema.js +3 -3
- package/dist/{access-service-C2tV2-uL.d.ts → access-service-DcfM0Vf0.d.ts} +71 -71
- 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/active-recall.js +2 -2
- 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/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 +10 -10
- 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/{catalog-C2jA-gLm.d.ts → catalog-BmBXTtOs.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 +11 -11
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/{chunk-EKUABFXQ.js → chunk-245QROHZ.js} +6 -6
- package/dist/{chunk-UMZUKOJU.js → chunk-2L5FSNPC.js} +16 -11
- package/dist/chunk-2L5FSNPC.js.map +1 -0
- package/dist/{chunk-KH2LZMD5.js → chunk-2OXBS2LV.js} +2 -2
- package/dist/{chunk-K7NUAY36.js → chunk-4PHT7KE2.js} +5 -5
- package/dist/{chunk-AZLSFKGU.js → chunk-4PWANX5V.js} +6 -6
- package/dist/{chunk-5S6TQ36T.js → chunk-4QKWBVEE.js} +12 -12
- package/dist/{chunk-5S6TQ36T.js.map → chunk-4QKWBVEE.js.map} +1 -1
- package/dist/{chunk-GO657WPH.js → chunk-52I6AHO6.js} +2 -2
- package/dist/{chunk-MBXTGOFR.js → chunk-54BRW3BL.js} +2 -2
- package/dist/{chunk-LWI43S46.js → chunk-5E7KXID5.js} +1 -1
- package/dist/{chunk-MWLBRFLY.js → chunk-5KVMT25I.js} +2 -2
- package/dist/{chunk-KKGWB2LG.js → chunk-7BS5UVXA.js} +3 -3
- package/dist/{chunk-O2RJZR6J.js → chunk-7FLINMUE.js} +2 -2
- package/dist/{chunk-XORZMKVF.js → chunk-7MOYAT4Y.js} +3 -3
- package/dist/{chunk-AVYNKPFS.js → chunk-C6TMLF3A.js} +5 -5
- package/dist/{chunk-C24UZSFW.js → chunk-CEH2AFXG.js} +6 -6
- package/dist/{chunk-IE7N2YK6.js → chunk-CNZVEU4X.js} +2 -2
- package/dist/{chunk-FNK4KIYR.js → chunk-D3AUQXTJ.js} +2 -2
- package/dist/{chunk-BDGWA5GK.js → chunk-DJLH3XWM.js} +2 -2
- package/dist/{chunk-2V4YPDIX.js → chunk-E2PORO7O.js} +2 -2
- package/dist/{chunk-5IYJWCLC.js → chunk-E62M4H4M.js} +2 -2
- package/dist/{chunk-NEWY74GS.js → chunk-EG4FHU5C.js} +2 -2
- package/dist/{chunk-KMPEBHH5.js → chunk-EMAEDM2J.js} +2 -2
- package/dist/{chunk-2YDU4VR7.js → chunk-G3B3LP6A.js} +21 -21
- package/dist/{chunk-D6Q5EPOV.js → chunk-HCERYDRI.js} +2 -2
- package/dist/{chunk-6BYJQ3L2.js → chunk-HJQZQUPC.js} +11 -11
- package/dist/{chunk-S63O62DN.js → chunk-HPGXB56F.js} +2 -2
- package/dist/{chunk-KQAFEZQX.js → chunk-IPLYGWQF.js} +5 -5
- package/dist/{chunk-QK375NXZ.js → chunk-ISX7JODR.js} +2 -2
- package/dist/{chunk-RKNJBZ55.js → chunk-JBPKEARU.js} +4 -4
- package/dist/{chunk-RI4CMRTZ.js → chunk-JNZSNJ43.js} +2 -2
- package/dist/{chunk-IGOINKTD.js → chunk-K4E3Y3ZX.js} +2 -2
- package/dist/chunk-K4E3Y3ZX.js.map +1 -0
- package/dist/{chunk-GUG4LW4I.js → chunk-KIJCXLW7.js} +2 -2
- package/dist/{chunk-XDUQR5R7.js → chunk-KT3ERTF6.js} +2 -2
- package/dist/{chunk-2MYBDWUY.js → chunk-KWLDB64F.js} +2 -2
- package/dist/{chunk-UOQZOV2J.js → chunk-KWVXCRFZ.js} +225 -55
- package/dist/chunk-KWVXCRFZ.js.map +1 -0
- package/dist/chunk-LD72P4YS.js +29 -0
- package/dist/chunk-LD72P4YS.js.map +1 -0
- package/dist/{chunk-UMSTKKMV.js → chunk-LPSTQR26.js} +2 -2
- package/dist/{chunk-MFIFCXS3.js → chunk-LTWFU6VJ.js} +2 -2
- package/dist/{chunk-X32ALJQB.js → chunk-M2BY5IZL.js} +2 -2
- package/dist/{chunk-UJICQ77Y.js → chunk-MK7EJLB4.js} +2 -2
- package/dist/{chunk-7X63THIR.js → chunk-NR36NW24.js} +39 -39
- package/dist/{chunk-VYIPVLRX.js → chunk-QB66LBXA.js} +2 -2
- package/dist/{chunk-RPHCLGQ7.js → chunk-QKTGCL6M.js} +2 -2
- package/dist/{chunk-OMA2B7GY.js → chunk-RLEJULGN.js} +2 -2
- package/dist/chunk-S47XNAWD.js +202 -0
- package/dist/chunk-S47XNAWD.js.map +1 -0
- package/dist/{chunk-I2TIUGLC.js → chunk-SQEIPTDV.js} +2 -2
- package/dist/{chunk-NEDBOZ7G.js → chunk-TGKLVAML.js} +2 -2
- package/dist/{chunk-FY62KW6Q.js → chunk-TS37MXC7.js} +2 -2
- package/dist/{chunk-XUKS57W7.js → chunk-TXCLDIXJ.js} +2 -2
- package/dist/{chunk-YSYHSZWD.js → chunk-VSQG4AXL.js} +2 -2
- package/dist/{chunk-46XR5FNZ.js → chunk-VSWRJQQW.js} +31 -5
- package/dist/chunk-VSWRJQQW.js.map +1 -0
- package/dist/{chunk-ULTK4NZY.js → chunk-WD424KYT.js} +2 -2
- package/dist/{chunk-OERZXNSK.js → chunk-X5SDZMO7.js} +2 -2
- package/dist/{chunk-XSPVSEAN.js → chunk-XN33JLRF.js} +3 -3
- package/dist/{chunk-6ULLVM2V.js → chunk-Y2ECPAJI.js} +8 -8
- package/dist/{chunk-5UP5R37C.js → chunk-Y6KDJQLK.js} +7 -7
- package/dist/{chunk-EZ25VE3G.js → chunk-YNDLCWXS.js} +4 -4
- package/dist/{chunk-6ZRLH4VS.js → chunk-YYDOUOYM.js} +3 -3
- package/dist/{chunk-XVCYV7WQ.js → chunk-ZIGSNLYI.js} +3 -3
- package/dist/{chunk-FI6FT6YX.js → chunk-ZPZLGN4Y.js} +2 -2
- package/dist/{chunk-SVATDJNY.js → chunk-ZRQPX2DW.js} +2 -2
- package/dist/{cli-CsfFMe6n.d.ts → cli-CFpMhqz5.d.ts} +5 -5
- package/dist/cli.d.ts +13 -13
- package/dist/cli.js +67 -67
- package/dist/coding/export-okf-codegraph.d.ts +1 -1
- package/dist/coding/export-okf-codegraph.js +10 -10
- package/dist/coding/pre-action-gate.d.ts +1 -1
- package/dist/compounding/engine.d.ts +2 -2
- package/dist/compounding/engine.js +10 -10
- package/dist/compounding/preference-consolidator.d.ts +1 -1
- package/dist/compression-optimizer.d.ts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +2 -2
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +10 -10
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +10 -10
- package/dist/consolidation-provenance-check.d.ts +2 -2
- package/dist/consolidation-undo.d.ts +2 -2
- package/dist/contradiction/index.d.ts +3 -3
- package/dist/converge-config.d.ts +1 -1
- package/dist/convergence-refresh.d.ts +2 -2
- package/dist/convergence-refresh.js +12 -12
- 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 +12 -12
- package/dist/cross-lingual-recall.d.ts +1 -1
- package/dist/dashboard-runtime.js +2 -2
- 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-D4WMbOwA.d.ts → dependency-propagation-delivery-BC3bCEet.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 +10 -10
- 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 +9 -9
- 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-span-tokens.d.ts +16 -0
- package/dist/extraction-span-tokens.js +34 -0
- package/dist/extraction-span-tokens.js.map +1 -0
- package/dist/extraction.d.ts +1 -1
- package/dist/extraction.js +13 -13
- 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-DuJnzwHv.d.ts → index-D4hS9uxK.d.ts} +2 -2
- package/dist/index.d.ts +820 -700
- package/dist/index.js +144 -133
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/engine.js +5 -4
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/index.js +13 -12
- 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/location/index.d.ts +3 -3
- package/dist/location/index.js +12 -12
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/maintenance/memory-governance.js +10 -10
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +10 -10
- package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-projection.js +11 -11
- package/dist/{maintenance-BBeaeYRR.d.ts → maintenance-BRcc3Hx8.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-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 +11 -11
- package/dist/memory-subject.d.ts +11 -11
- 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 +11 -11
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/search.js +7 -7
- package/dist/namespaces/storage.d.ts +3 -3
- package/dist/namespaces/storage.js +10 -10
- package/dist/native-binding-hint.d.ts +24 -0
- package/dist/native-binding-hint.js +10 -0
- package/dist/native-binding-hint.js.map +1 -0
- 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 +13 -13
- package/dist/operator-doctor-replica.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +3 -3
- package/dist/operator-toolkit.js +20 -20
- package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
- package/dist/orchestration/maintenance.d.ts +4 -4
- package/dist/orchestration/maintenance.js +19 -19
- package/dist/{orchestrator-CaqnwNwM.d.ts → orchestrator-Btq9lzAN.d.ts} +8 -8
- package/dist/orchestrator.d.ts +9 -9
- package/dist/orchestrator.js +99 -98
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/{pipeline-CrxVjlJr.d.ts → pipeline-CZoNdFb5.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-Cwvl4QZr.d.ts → public-http-C9-CHc40.d.ts} +1 -1
- package/dist/{qmd-BZgbJm0g.d.ts → qmd-VIjSCKIE.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-deep-frontier.d.ts +15 -0
- package/dist/recall-deep-frontier.js +29 -0
- package/dist/recall-deep-frontier.js.map +1 -0
- 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-navigate-access.d.ts +1 -1
- package/dist/recall-navigate.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/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 +3 -3
- package/dist/retrieval-agents.d.ts +2 -2
- package/dist/retrieval-tiers.d.ts +1 -1
- package/dist/routing/engine.d.ts +1 -1
- package/dist/routing/store.d.ts +1 -1
- package/dist/salvage-envelope.d.ts +1 -1
- package/dist/schemas.d.ts +176 -176
- package/dist/{scope-profiles-DFaojvoP.d.ts → scope-profiles-DqbxQXIS.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 +6 -6
- package/dist/search/index.d.ts +1 -1
- package/dist/search/index.js +12 -12
- 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-BiX68wZA.d.ts → semantic-consolidation-DW3rEUoW.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +11 -11
- package/dist/semantic-rule-promotion.js +10 -10
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +10 -10
- package/dist/{service-D5h2zZ0M.d.ts → service-B2vJU_Bx.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 +7 -7
- package/dist/signal.d.ts +1 -1
- package/dist/source-agent-qualifier.d.ts +1 -1
- package/dist/source-agent-qualifier.js +12 -12
- package/dist/standup/build.d.ts +9 -3
- package/dist/standup/build.js +99 -7
- package/dist/{storage-CtsaojWD.d.ts → storage-6fn7BPmb.d.ts} +1 -1
- package/dist/storage.d.ts +2 -2
- package/dist/storage.js +9 -9
- package/dist/subject-config.d.ts +1 -1
- 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/autodetect.js +1 -1
- package/dist/transfer/backup.js +1 -1
- package/dist/transfer/capsule-export.js +2 -2
- package/dist/transfer/export-okf.d.ts +1 -1
- package/dist/transfer/export-okf.js +11 -11
- package/dist/transfer/types.d.ts +78 -78
- package/dist/trust-score-stage.d.ts +1 -1
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-CIpfYz1I.d.ts → types-eM7QIcX2.d.ts} +4 -0
- package/dist/types.d.ts +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.js +10 -10
- package/dist/who-knows-cli.d.ts +11 -11
- package/dist/who-knows-cli.js +11 -11
- package/dist/who-knows.d.ts +11 -11
- package/dist/who-knows.js +10 -10
- package/dist/write-envelope.d.ts +1 -1
- package/package.json +2 -2
- package/scripts/ensure-better-sqlite3.mjs +10 -0
- package/src/access-mcp-output-schemas.ts +1 -1
- package/src/activity/config.test.ts +1 -1
- package/src/activity/config.ts +20 -4
- package/src/activity/index.ts +2 -0
- package/src/activity/journal.test.ts +40 -0
- package/src/activity/privacy-status.test.ts +117 -0
- package/src/activity/privacy-status.ts +65 -0
- package/src/activity/timeline/index.ts +2 -0
- package/src/activity/timeline/recap-window.test.ts +129 -0
- package/src/activity/timeline/recap-window.ts +55 -0
- package/src/activity/timeline/week-previous.test.ts +119 -0
- package/src/activity/timeline/week-previous.ts +83 -0
- package/src/activity/types.ts +4 -0
- package/src/activity/vault-insert.test.ts +105 -0
- package/src/activity/vault-insert.ts +86 -0
- package/src/config.test.ts +1 -1
- package/src/dedup/index.ts +7 -0
- package/src/dedup/merge-decision.test.ts +157 -0
- package/src/dedup/merge-decision.ts +78 -0
- package/src/extraction-span-tokens.test.ts +69 -0
- package/src/extraction-span-tokens.ts +44 -0
- package/src/lcm/engine.ts +4 -1
- package/src/native-binding-hint.test.ts +38 -0
- package/src/native-binding-hint.ts +51 -0
- package/src/recall-deep-frontier.test.ts +85 -0
- package/src/recall-deep-frontier.ts +39 -0
- package/src/standup/build.test.ts +138 -12
- package/src/standup/build.ts +172 -23
- package/src/standup/http-glue.ts +1 -1
- package/dist/chunk-46XR5FNZ.js.map +0 -1
- package/dist/chunk-IGOINKTD.js.map +0 -1
- package/dist/chunk-UMZUKOJU.js.map +0 -1
- package/dist/chunk-UOQZOV2J.js.map +0 -1
- package/dist/chunk-VOSWUO3K.js +0 -100
- package/dist/chunk-VOSWUO3K.js.map +0 -1
- /package/dist/{chunk-EKUABFXQ.js.map → chunk-245QROHZ.js.map} +0 -0
- /package/dist/{chunk-KH2LZMD5.js.map → chunk-2OXBS2LV.js.map} +0 -0
- /package/dist/{chunk-K7NUAY36.js.map → chunk-4PHT7KE2.js.map} +0 -0
- /package/dist/{chunk-AZLSFKGU.js.map → chunk-4PWANX5V.js.map} +0 -0
- /package/dist/{chunk-GO657WPH.js.map → chunk-52I6AHO6.js.map} +0 -0
- /package/dist/{chunk-MBXTGOFR.js.map → chunk-54BRW3BL.js.map} +0 -0
- /package/dist/{chunk-LWI43S46.js.map → chunk-5E7KXID5.js.map} +0 -0
- /package/dist/{chunk-MWLBRFLY.js.map → chunk-5KVMT25I.js.map} +0 -0
- /package/dist/{chunk-KKGWB2LG.js.map → chunk-7BS5UVXA.js.map} +0 -0
- /package/dist/{chunk-O2RJZR6J.js.map → chunk-7FLINMUE.js.map} +0 -0
- /package/dist/{chunk-XORZMKVF.js.map → chunk-7MOYAT4Y.js.map} +0 -0
- /package/dist/{chunk-AVYNKPFS.js.map → chunk-C6TMLF3A.js.map} +0 -0
- /package/dist/{chunk-C24UZSFW.js.map → chunk-CEH2AFXG.js.map} +0 -0
- /package/dist/{chunk-IE7N2YK6.js.map → chunk-CNZVEU4X.js.map} +0 -0
- /package/dist/{chunk-FNK4KIYR.js.map → chunk-D3AUQXTJ.js.map} +0 -0
- /package/dist/{chunk-BDGWA5GK.js.map → chunk-DJLH3XWM.js.map} +0 -0
- /package/dist/{chunk-2V4YPDIX.js.map → chunk-E2PORO7O.js.map} +0 -0
- /package/dist/{chunk-5IYJWCLC.js.map → chunk-E62M4H4M.js.map} +0 -0
- /package/dist/{chunk-NEWY74GS.js.map → chunk-EG4FHU5C.js.map} +0 -0
- /package/dist/{chunk-KMPEBHH5.js.map → chunk-EMAEDM2J.js.map} +0 -0
- /package/dist/{chunk-2YDU4VR7.js.map → chunk-G3B3LP6A.js.map} +0 -0
- /package/dist/{chunk-D6Q5EPOV.js.map → chunk-HCERYDRI.js.map} +0 -0
- /package/dist/{chunk-6BYJQ3L2.js.map → chunk-HJQZQUPC.js.map} +0 -0
- /package/dist/{chunk-S63O62DN.js.map → chunk-HPGXB56F.js.map} +0 -0
- /package/dist/{chunk-KQAFEZQX.js.map → chunk-IPLYGWQF.js.map} +0 -0
- /package/dist/{chunk-QK375NXZ.js.map → chunk-ISX7JODR.js.map} +0 -0
- /package/dist/{chunk-RKNJBZ55.js.map → chunk-JBPKEARU.js.map} +0 -0
- /package/dist/{chunk-RI4CMRTZ.js.map → chunk-JNZSNJ43.js.map} +0 -0
- /package/dist/{chunk-GUG4LW4I.js.map → chunk-KIJCXLW7.js.map} +0 -0
- /package/dist/{chunk-XDUQR5R7.js.map → chunk-KT3ERTF6.js.map} +0 -0
- /package/dist/{chunk-2MYBDWUY.js.map → chunk-KWLDB64F.js.map} +0 -0
- /package/dist/{chunk-UMSTKKMV.js.map → chunk-LPSTQR26.js.map} +0 -0
- /package/dist/{chunk-MFIFCXS3.js.map → chunk-LTWFU6VJ.js.map} +0 -0
- /package/dist/{chunk-X32ALJQB.js.map → chunk-M2BY5IZL.js.map} +0 -0
- /package/dist/{chunk-UJICQ77Y.js.map → chunk-MK7EJLB4.js.map} +0 -0
- /package/dist/{chunk-7X63THIR.js.map → chunk-NR36NW24.js.map} +0 -0
- /package/dist/{chunk-VYIPVLRX.js.map → chunk-QB66LBXA.js.map} +0 -0
- /package/dist/{chunk-RPHCLGQ7.js.map → chunk-QKTGCL6M.js.map} +0 -0
- /package/dist/{chunk-OMA2B7GY.js.map → chunk-RLEJULGN.js.map} +0 -0
- /package/dist/{chunk-I2TIUGLC.js.map → chunk-SQEIPTDV.js.map} +0 -0
- /package/dist/{chunk-NEDBOZ7G.js.map → chunk-TGKLVAML.js.map} +0 -0
- /package/dist/{chunk-FY62KW6Q.js.map → chunk-TS37MXC7.js.map} +0 -0
- /package/dist/{chunk-XUKS57W7.js.map → chunk-TXCLDIXJ.js.map} +0 -0
- /package/dist/{chunk-YSYHSZWD.js.map → chunk-VSQG4AXL.js.map} +0 -0
- /package/dist/{chunk-ULTK4NZY.js.map → chunk-WD424KYT.js.map} +0 -0
- /package/dist/{chunk-OERZXNSK.js.map → chunk-X5SDZMO7.js.map} +0 -0
- /package/dist/{chunk-XSPVSEAN.js.map → chunk-XN33JLRF.js.map} +0 -0
- /package/dist/{chunk-6ULLVM2V.js.map → chunk-Y2ECPAJI.js.map} +0 -0
- /package/dist/{chunk-5UP5R37C.js.map → chunk-Y6KDJQLK.js.map} +0 -0
- /package/dist/{chunk-EZ25VE3G.js.map → chunk-YNDLCWXS.js.map} +0 -0
- /package/dist/{chunk-6ZRLH4VS.js.map → chunk-YYDOUOYM.js.map} +0 -0
- /package/dist/{chunk-XVCYV7WQ.js.map → chunk-ZIGSNLYI.js.map} +0 -0
- /package/dist/{chunk-FI6FT6YX.js.map → chunk-ZPZLGN4Y.js.map} +0 -0
- /package/dist/{chunk-SVATDJNY.js.map → chunk-ZRQPX2DW.js.map} +0 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// src/native-binding-hint.ts
|
|
2
|
+
var BINDING_ERROR_MARKERS = [
|
|
3
|
+
"could not locate the bindings file",
|
|
4
|
+
"was compiled against a different node.js version",
|
|
5
|
+
"node_module_version",
|
|
6
|
+
"invalid elf header",
|
|
7
|
+
"better_sqlite3.node"
|
|
8
|
+
];
|
|
9
|
+
function messageOf(error) {
|
|
10
|
+
if (error instanceof Error) return error.message;
|
|
11
|
+
if (typeof error === "string") return error;
|
|
12
|
+
return "";
|
|
13
|
+
}
|
|
14
|
+
function isNativeBindingError(error) {
|
|
15
|
+
const message = messageOf(error).toLowerCase();
|
|
16
|
+
if (message.length === 0) return false;
|
|
17
|
+
return BINDING_ERROR_MARKERS.some((marker) => message.includes(marker));
|
|
18
|
+
}
|
|
19
|
+
function nativeBindingRecoveryHint(error) {
|
|
20
|
+
if (!isNativeBindingError(error)) return "";
|
|
21
|
+
const major = process.versions.node.split(".")[0] ?? process.versions.node;
|
|
22
|
+
return ` \u2014 better-sqlite3 has no loadable native binding for Node ${major} (ABI ${process.versions.modules}); rebuild it with \`npm rebuild better-sqlite3 --build-from-source\``;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export {
|
|
26
|
+
isNativeBindingError,
|
|
27
|
+
nativeBindingRecoveryHint
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=chunk-LD72P4YS.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/native-binding-hint.ts"],"sourcesContent":["/**\n * Actionable recovery hint for a missing or ABI-mismatched better-sqlite3\n * native binding (issue #2719).\n *\n * `better-sqlite3` publishes prebuilds for LTS Node only, so a newer runtime\n * installs the package with no loadable binding and every SQLite-backed path\n * fails with a bindings-resolution error. The raw error names neither the\n * running ABI nor the command that fixes it, so operators saw only\n * \"Could not locate the bindings file\" at first use.\n *\n * The repair itself lives in the `@remnic/core` postinstall script — an\n * OpenClaw plugin package may not ship a child-process-spawning file, so the\n * host-facing packages surface this hint instead of re-implementing a rebuild.\n */\n\n/** Substrings that identify a native-binding load failure, lowercased. */\nconst BINDING_ERROR_MARKERS = [\n \"could not locate the bindings file\",\n \"was compiled against a different node.js version\",\n \"node_module_version\",\n \"invalid elf header\",\n \"better_sqlite3.node\",\n];\n\nfunction messageOf(error: unknown): string {\n if (error instanceof Error) return error.message;\n if (typeof error === \"string\") return error;\n return \"\";\n}\n\n/** True when the error is a better-sqlite3 native-binding load failure. */\nexport function isNativeBindingError(error: unknown): boolean {\n const message = messageOf(error).toLowerCase();\n if (message.length === 0) return false;\n return BINDING_ERROR_MARKERS.some((marker) => message.includes(marker));\n}\n\n/**\n * Suffix naming the running Node ABI and the exact rebuild command, or an\n * empty string when the error is unrelated. Callers append it to their own\n * message so an unrelated failure reads exactly as before.\n */\nexport function nativeBindingRecoveryHint(error: unknown): string {\n if (!isNativeBindingError(error)) return \"\";\n const major = process.versions.node.split(\".\")[0] ?? process.versions.node;\n return (\n ` — better-sqlite3 has no loadable native binding for Node ${major}` +\n ` (ABI ${process.versions.modules}); rebuild it with` +\n \" `npm rebuild better-sqlite3 --build-from-source`\"\n );\n}\n"],"mappings":";AAgBA,IAAM,wBAAwB;AAAA,EAC5B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEA,SAAS,UAAU,OAAwB;AACzC,MAAI,iBAAiB,MAAO,QAAO,MAAM;AACzC,MAAI,OAAO,UAAU,SAAU,QAAO;AACtC,SAAO;AACT;AAGO,SAAS,qBAAqB,OAAyB;AAC5D,QAAM,UAAU,UAAU,KAAK,EAAE,YAAY;AAC7C,MAAI,QAAQ,WAAW,EAAG,QAAO;AACjC,SAAO,sBAAsB,KAAK,CAAC,WAAW,QAAQ,SAAS,MAAM,CAAC;AACxE;AAOO,SAAS,0BAA0B,OAAwB;AAChE,MAAI,CAAC,qBAAqB,KAAK,EAAG,QAAO;AACzC,QAAM,QAAQ,QAAQ,SAAS,KAAK,MAAM,GAAG,EAAE,CAAC,KAAK,QAAQ,SAAS;AACtE,SACE,kEAA6D,KAAK,SACzD,QAAQ,SAAS,OAAO;AAGrC;","names":[]}
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-7ZNJN5WZ.js";
|
|
24
24
|
import {
|
|
25
25
|
compareEntityTimestamps
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-4PHT7KE2.js";
|
|
27
27
|
import {
|
|
28
28
|
normalizeEntityName
|
|
29
29
|
} from "./chunk-YXZG5TVN.js";
|
|
@@ -918,4 +918,4 @@ export {
|
|
|
918
918
|
entityIndexVersion,
|
|
919
919
|
entityRecentTranscriptLookbackHours
|
|
920
920
|
};
|
|
921
|
-
//# sourceMappingURL=chunk-
|
|
921
|
+
//# sourceMappingURL=chunk-LPSTQR26.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StorageManager
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4PHT7KE2.js";
|
|
4
4
|
import {
|
|
5
5
|
keyring_exports,
|
|
6
6
|
secureStoreDir
|
|
@@ -412,4 +412,4 @@ export {
|
|
|
412
412
|
resolveNamespaceStorageRoot,
|
|
413
413
|
NamespaceStorageRouter
|
|
414
414
|
};
|
|
415
|
-
//# sourceMappingURL=chunk-
|
|
415
|
+
//# sourceMappingURL=chunk-LTWFU6VJ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OKF_RESERVED_BASENAMES
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4PHT7KE2.js";
|
|
4
4
|
import {
|
|
5
5
|
MAGIC_BYTES
|
|
6
6
|
} from "./chunk-ET2CNMLD.js";
|
|
@@ -199,4 +199,4 @@ export {
|
|
|
199
199
|
publishBundle,
|
|
200
200
|
rejectSymlinkPath
|
|
201
201
|
};
|
|
202
|
-
//# sourceMappingURL=chunk-
|
|
202
|
+
//# sourceMappingURL=chunk-M2BY5IZL.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-OD4FM2U7.js";
|
|
11
11
|
import {
|
|
12
12
|
parseQmdExplain
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-CEH2AFXG.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveLifecycleState
|
|
16
16
|
} from "./chunk-TBBDFYXW.js";
|
|
@@ -1712,4 +1712,4 @@ export {
|
|
|
1712
1712
|
ExtractionDeadlineError,
|
|
1713
1713
|
ExtractionRunCoordinator
|
|
1714
1714
|
};
|
|
1715
|
-
//# sourceMappingURL=chunk-
|
|
1715
|
+
//# sourceMappingURL=chunk-MK7EJLB4.js.map
|
|
@@ -1,25 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
openclawReplayNormalizer
|
|
3
|
-
} from "./chunk-H4CKS5B2.js";
|
|
4
1
|
import {
|
|
5
2
|
chatgptReplayNormalizer
|
|
6
3
|
} from "./chunk-MMACM5G2.js";
|
|
7
4
|
import {
|
|
8
5
|
claudeReplayNormalizer
|
|
9
6
|
} from "./chunk-54BGIBCR.js";
|
|
7
|
+
import {
|
|
8
|
+
openclawReplayNormalizer
|
|
9
|
+
} from "./chunk-H4CKS5B2.js";
|
|
10
|
+
import {
|
|
11
|
+
importSqlite
|
|
12
|
+
} from "./chunk-PYHOAXTI.js";
|
|
13
|
+
import {
|
|
14
|
+
exportJsonBundle
|
|
15
|
+
} from "./chunk-UP6MOYCB.js";
|
|
10
16
|
import {
|
|
11
17
|
exportOkfBundle,
|
|
12
18
|
parseIncludeStatus
|
|
13
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-YYDOUOYM.js";
|
|
14
20
|
import {
|
|
15
21
|
exportSqlite
|
|
16
22
|
} from "./chunk-BV2TIZ4F.js";
|
|
17
23
|
import {
|
|
18
24
|
importMarkdownBundle
|
|
19
25
|
} from "./chunk-HDDRVXX4.js";
|
|
20
|
-
import {
|
|
21
|
-
importSqlite
|
|
22
|
-
} from "./chunk-PYHOAXTI.js";
|
|
23
26
|
import {
|
|
24
27
|
detectImportFormat
|
|
25
28
|
} from "./chunk-OZKVVUJB.js";
|
|
@@ -29,9 +32,6 @@ import {
|
|
|
29
32
|
import {
|
|
30
33
|
backupMemoryDir
|
|
31
34
|
} from "./chunk-2NLLXCJG.js";
|
|
32
|
-
import {
|
|
33
|
-
exportJsonBundle
|
|
34
|
-
} from "./chunk-UP6MOYCB.js";
|
|
35
35
|
import {
|
|
36
36
|
exportMarkdownBundle
|
|
37
37
|
} from "./chunk-765K3SAT.js";
|
|
@@ -53,9 +53,12 @@ import {
|
|
|
53
53
|
import {
|
|
54
54
|
WebDavServer
|
|
55
55
|
} from "./chunk-PYIFUBRK.js";
|
|
56
|
+
import {
|
|
57
|
+
migrateObservations
|
|
58
|
+
} from "./chunk-IIFFC3RL.js";
|
|
56
59
|
import {
|
|
57
60
|
rebuildMemoryLifecycleLedger
|
|
58
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-WD424KYT.js";
|
|
59
62
|
import {
|
|
60
63
|
rebuildObservations
|
|
61
64
|
} from "./chunk-DQTCGVFK.js";
|
|
@@ -63,8 +66,8 @@ import {
|
|
|
63
66
|
archiveObservations
|
|
64
67
|
} from "./chunk-YLBE6PLR.js";
|
|
65
68
|
import {
|
|
66
|
-
|
|
67
|
-
} from "./chunk-
|
|
69
|
+
runCompatChecks
|
|
70
|
+
} from "./chunk-CDKHKZL5.js";
|
|
68
71
|
import {
|
|
69
72
|
getBulkImportSource,
|
|
70
73
|
listBulkImportSources,
|
|
@@ -73,13 +76,7 @@ import {
|
|
|
73
76
|
} from "./chunk-HSSERO3E.js";
|
|
74
77
|
import {
|
|
75
78
|
lintOkfDir
|
|
76
|
-
} from "./chunk-
|
|
77
|
-
import {
|
|
78
|
-
runCompatChecks
|
|
79
|
-
} from "./chunk-CDKHKZL5.js";
|
|
80
|
-
import {
|
|
81
|
-
searchVerifiedEpisodes
|
|
82
|
-
} from "./chunk-2MYBDWUY.js";
|
|
79
|
+
} from "./chunk-M2BY5IZL.js";
|
|
83
80
|
import {
|
|
84
81
|
getUtilityLearningStatus,
|
|
85
82
|
learnUtilityPromotionWeights
|
|
@@ -88,20 +85,23 @@ import {
|
|
|
88
85
|
getUtilityTelemetryStatus,
|
|
89
86
|
recordUtilityTelemetryEvent
|
|
90
87
|
} from "./chunk-6FC3IZ26.js";
|
|
88
|
+
import {
|
|
89
|
+
searchVerifiedEpisodes
|
|
90
|
+
} from "./chunk-KWLDB64F.js";
|
|
91
91
|
import {
|
|
92
92
|
ThreadingManager
|
|
93
93
|
} from "./chunk-OJP3N7UK.js";
|
|
94
|
-
import {
|
|
95
|
-
searchVerifiedSemanticRules
|
|
96
|
-
} from "./chunk-KMPEBHH5.js";
|
|
97
94
|
import {
|
|
98
95
|
promoteSemanticRuleFromMemory
|
|
99
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-SQEIPTDV.js";
|
|
97
|
+
import {
|
|
98
|
+
searchVerifiedSemanticRules
|
|
99
|
+
} from "./chunk-EMAEDM2J.js";
|
|
100
100
|
import {
|
|
101
101
|
buildResumeBundleFromState,
|
|
102
102
|
getResumeBundleStatus,
|
|
103
103
|
recordResumeBundle
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-52I6AHO6.js";
|
|
105
105
|
import {
|
|
106
106
|
getWorkProductLedgerStatus,
|
|
107
107
|
recordWorkProductLedgerEntry,
|
|
@@ -125,7 +125,7 @@ import {
|
|
|
125
125
|
runOperatorInventory,
|
|
126
126
|
runOperatorRepair,
|
|
127
127
|
runOperatorSetup
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-Y2ECPAJI.js";
|
|
129
129
|
import {
|
|
130
130
|
analyzeSessionIntegrity,
|
|
131
131
|
applySessionRepair,
|
|
@@ -162,7 +162,7 @@ import {
|
|
|
162
162
|
} from "./chunk-UOBPK2OS.js";
|
|
163
163
|
import {
|
|
164
164
|
searchHarmonicRetrieval
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-5E7KXID5.js";
|
|
166
166
|
import {
|
|
167
167
|
createEvalBaselineSnapshot,
|
|
168
168
|
getEvalHarnessStatus,
|
|
@@ -176,13 +176,13 @@ import {
|
|
|
176
176
|
rebuildMemoryProjection,
|
|
177
177
|
repairMemoryProjection,
|
|
178
178
|
verifyMemoryProjection
|
|
179
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-ZIGSNLYI.js";
|
|
180
180
|
import {
|
|
181
181
|
getCueAnchorStoreStatus
|
|
182
182
|
} from "./chunk-ACPCA4NO.js";
|
|
183
183
|
import {
|
|
184
184
|
GraphDashboardServer
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-YNDLCWXS.js";
|
|
186
186
|
import {
|
|
187
187
|
buildConnectorRowsFromDefinitions,
|
|
188
188
|
parseConnectorsListOptions,
|
|
@@ -203,11 +203,11 @@ import {
|
|
|
203
203
|
} from "./chunk-6TBIWIAG.js";
|
|
204
204
|
import {
|
|
205
205
|
parseConfig
|
|
206
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-KIJCXLW7.js";
|
|
207
207
|
import {
|
|
208
208
|
EngramAccessHttpServer,
|
|
209
209
|
MeetingsInputError
|
|
210
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-4QKWBVEE.js";
|
|
211
211
|
import {
|
|
212
212
|
WearablesInputError
|
|
213
213
|
} from "./chunk-V7IZKJI3.js";
|
|
@@ -217,13 +217,13 @@ import {
|
|
|
217
217
|
loadChatSession,
|
|
218
218
|
processChatMessage,
|
|
219
219
|
sessionBelongsToPrincipal
|
|
220
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-C6TMLF3A.js";
|
|
221
221
|
import {
|
|
222
222
|
getAbstractionNodeStoreStatus
|
|
223
223
|
} from "./chunk-DJUKBGAD.js";
|
|
224
224
|
import {
|
|
225
225
|
EngramAccessService
|
|
226
|
-
} from "./chunk-
|
|
226
|
+
} from "./chunk-G3B3LP6A.js";
|
|
227
227
|
import {
|
|
228
228
|
WorkStorage
|
|
229
229
|
} from "./chunk-GDB4J2H3.js";
|
|
@@ -243,7 +243,7 @@ import {
|
|
|
243
243
|
} from "./chunk-H6RSANGQ.js";
|
|
244
244
|
import {
|
|
245
245
|
readAggregateExtractionWatermark
|
|
246
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-TGKLVAML.js";
|
|
247
247
|
import {
|
|
248
248
|
getObjectiveStateStoreStatus
|
|
249
249
|
} from "./chunk-HTP6XRUI.js";
|
|
@@ -252,15 +252,15 @@ import {
|
|
|
252
252
|
readMemoryGovernanceRunArtifact,
|
|
253
253
|
restoreMemoryGovernanceRun,
|
|
254
254
|
runMemoryGovernance
|
|
255
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-7FLINMUE.js";
|
|
256
256
|
import {
|
|
257
257
|
listNamespaces,
|
|
258
258
|
runNamespaceMigration,
|
|
259
259
|
verifyNamespaces
|
|
260
|
-
} from "./chunk-
|
|
260
|
+
} from "./chunk-7MOYAT4Y.js";
|
|
261
261
|
import {
|
|
262
262
|
resolveNamespaceChildRoot
|
|
263
|
-
} from "./chunk-
|
|
263
|
+
} from "./chunk-ZPZLGN4Y.js";
|
|
264
264
|
import {
|
|
265
265
|
analyzeGraphHealth
|
|
266
266
|
} from "./chunk-YMOPYG3K.js";
|
|
@@ -268,7 +268,7 @@ import {
|
|
|
268
268
|
OKF_RESERVED_BASENAMES,
|
|
269
269
|
meetingIdDate,
|
|
270
270
|
okfTypeForCategory
|
|
271
|
-
} from "./chunk-
|
|
271
|
+
} from "./chunk-4PHT7KE2.js";
|
|
272
272
|
import {
|
|
273
273
|
isValidTranscriptDate
|
|
274
274
|
} from "./chunk-UHVXE24Y.js";
|
|
@@ -8865,4 +8865,4 @@ export {
|
|
|
8865
8865
|
listMemoryMarkdownFilePaths,
|
|
8866
8866
|
registerCli
|
|
8867
8867
|
};
|
|
8868
|
-
//# sourceMappingURL=chunk-
|
|
8868
|
+
//# sourceMappingURL=chunk-NR36NW24.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseEntityFile
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4PHT7KE2.js";
|
|
4
4
|
import {
|
|
5
5
|
inferMemoryStatus
|
|
6
6
|
} from "./chunk-7RJUVTVF.js";
|
|
@@ -253,4 +253,4 @@ export {
|
|
|
253
253
|
WHO_KNOWS_MCP_TOOLS,
|
|
254
254
|
handleWhoKnowsHttpQuery
|
|
255
255
|
};
|
|
256
|
-
//# sourceMappingURL=chunk-
|
|
256
|
+
//# sourceMappingURL=chunk-QB66LBXA.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SupportPassportError,
|
|
3
3
|
getOperation
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-G3B3LP6A.js";
|
|
5
5
|
import {
|
|
6
6
|
abortError,
|
|
7
7
|
isAbortError
|
|
@@ -499,4 +499,4 @@ export {
|
|
|
499
499
|
buildSupportPassportPublicRequestHandler,
|
|
500
500
|
composeSupportPassportExternalRequestHandlers
|
|
501
501
|
};
|
|
502
|
-
//# sourceMappingURL=chunk-
|
|
502
|
+
//# sourceMappingURL=chunk-QKTGCL6M.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
headerConnector,
|
|
4
4
|
renderExtractionConversation,
|
|
5
5
|
resolveSourceConnector
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CNZVEU4X.js";
|
|
7
7
|
import {
|
|
8
8
|
ConsolidationResultSchema,
|
|
9
9
|
DaySummaryResultSchema,
|
|
@@ -2387,4 +2387,4 @@ export {
|
|
|
2387
2387
|
shouldEnableLocalExtractionThinking,
|
|
2388
2388
|
ExtractionEngine
|
|
2389
2389
|
};
|
|
2390
|
-
//# sourceMappingURL=chunk-
|
|
2390
|
+
//# sourceMappingURL=chunk-RLEJULGN.js.map
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import {
|
|
2
|
+
parseFrontmatter
|
|
3
|
+
} from "./chunk-4PHT7KE2.js";
|
|
4
|
+
import {
|
|
5
|
+
activityDigestPath,
|
|
6
|
+
isValidActivityDate
|
|
7
|
+
} from "./chunk-M6L7HI7R.js";
|
|
8
|
+
import {
|
|
9
|
+
EngramAccessInputError
|
|
10
|
+
} from "./chunk-2Z24E5W2.js";
|
|
11
|
+
|
|
12
|
+
// src/standup/build.ts
|
|
13
|
+
import { readdirSync, readFileSync } from "fs";
|
|
14
|
+
import path from "path";
|
|
15
|
+
function parseStandupDate(raw, now = /* @__PURE__ */ new Date()) {
|
|
16
|
+
if (raw === void 0 || raw === null) {
|
|
17
|
+
return now.toISOString().slice(0, 10);
|
|
18
|
+
}
|
|
19
|
+
const value = String(raw);
|
|
20
|
+
if (!isValidActivityDate(value)) {
|
|
21
|
+
throw new EngramAccessInputError(`invalid --date ${value}; expected YYYY-MM-DD`);
|
|
22
|
+
}
|
|
23
|
+
return value;
|
|
24
|
+
}
|
|
25
|
+
var STANDUP_PRIOR_DAY_LOOKBACK = 7;
|
|
26
|
+
function shiftDays(date, days) {
|
|
27
|
+
const ms = Date.parse(`${date}T00:00:00Z`);
|
|
28
|
+
return new Date(ms + days * 864e5).toISOString().slice(0, 10);
|
|
29
|
+
}
|
|
30
|
+
function previousActiveDate(memoryDir, date) {
|
|
31
|
+
for (let back = 1; back <= STANDUP_PRIOR_DAY_LOOKBACK; back += 1) {
|
|
32
|
+
const candidate = shiftDays(date, -back);
|
|
33
|
+
if (readOptional(activityDigestPath(memoryDir, candidate)) !== null) return candidate;
|
|
34
|
+
}
|
|
35
|
+
return shiftDays(date, -1);
|
|
36
|
+
}
|
|
37
|
+
function buildStandup(memoryDir, date) {
|
|
38
|
+
const yesterday = previousActiveDate(memoryDir, date);
|
|
39
|
+
const todayBody = readOptional(activityDigestPath(memoryDir, date));
|
|
40
|
+
const yesterdayBody = readOptional(activityDigestPath(memoryDir, yesterday));
|
|
41
|
+
const highlights = extractHighlights(yesterdayBody);
|
|
42
|
+
const commitments = sortCommitments(readOpenCommitments(memoryDir));
|
|
43
|
+
const dateMs = Date.parse(`${date}T00:00:00Z`);
|
|
44
|
+
const overdue = commitments.filter(
|
|
45
|
+
(c) => c.expiresAt !== void 0 && Number.isFinite(Date.parse(c.expiresAt)) && Date.parse(c.expiresAt) < dateMs
|
|
46
|
+
);
|
|
47
|
+
const open = commitments.filter((c) => !overdue.includes(c));
|
|
48
|
+
const priorities = open.map((c) => c.expiresAt ? `${c.text} (due ${c.expiresAt.slice(0, 10)})` : c.text);
|
|
49
|
+
const blockers = [
|
|
50
|
+
...extractBlockers(yesterdayBody),
|
|
51
|
+
...overdue.map((c) => `commitment past due: ${c.text} (was due ${c.expiresAt?.slice(0, 10)})`)
|
|
52
|
+
];
|
|
53
|
+
const activityGrid = renderGrid(yesterday, yesterdayBody);
|
|
54
|
+
const markdown = [
|
|
55
|
+
`# Standup ${date}`,
|
|
56
|
+
"",
|
|
57
|
+
`## Yesterday (${yesterday})`,
|
|
58
|
+
yesterdayBody ? firstLines(yesterdayBody, 8) : "_No activity digest._",
|
|
59
|
+
"",
|
|
60
|
+
`## Today (${date})`,
|
|
61
|
+
todayBody ? firstLines(todayBody, 8) : "_No activity digest._",
|
|
62
|
+
"",
|
|
63
|
+
"## Highlights",
|
|
64
|
+
...highlights.length > 0 ? highlights.map((line) => `- ${line}`) : ["- _None._"],
|
|
65
|
+
"",
|
|
66
|
+
"## Today's priorities",
|
|
67
|
+
...priorities.length > 0 ? priorities.map((line) => `- ${line}`) : ["- (no tracked commitments \u2014 add priorities manually)"],
|
|
68
|
+
"",
|
|
69
|
+
"## Blockers",
|
|
70
|
+
...blockers.length > 0 ? blockers.map((line) => `- ${line}`) : ["- _None._"],
|
|
71
|
+
"",
|
|
72
|
+
"## Activity grid",
|
|
73
|
+
"",
|
|
74
|
+
activityGrid,
|
|
75
|
+
""
|
|
76
|
+
].join("\n");
|
|
77
|
+
return {
|
|
78
|
+
date,
|
|
79
|
+
yesterday,
|
|
80
|
+
today: date,
|
|
81
|
+
highlights,
|
|
82
|
+
priorities,
|
|
83
|
+
blockers,
|
|
84
|
+
activityGrid,
|
|
85
|
+
markdown
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
function readOptional(filePath) {
|
|
89
|
+
try {
|
|
90
|
+
return readFileSync(filePath, "utf8");
|
|
91
|
+
} catch {
|
|
92
|
+
return null;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
function stripFrontmatter(body) {
|
|
96
|
+
const lines = body.split("\n");
|
|
97
|
+
if (lines[0]?.trim() !== "---") return body;
|
|
98
|
+
const end = lines.indexOf("---", 1);
|
|
99
|
+
return end < 0 ? body : lines.slice(end + 1).join("\n");
|
|
100
|
+
}
|
|
101
|
+
function firstLines(body, n) {
|
|
102
|
+
return stripFrontmatter(body).split("\n").filter((line) => line.trim().length > 0 && !line.startsWith("#") && !line.startsWith("---")).slice(0, n).join("\n").trim() || "_Empty digest._";
|
|
103
|
+
}
|
|
104
|
+
function extractHighlights(body) {
|
|
105
|
+
if (!body) return [];
|
|
106
|
+
return stripFrontmatter(body).split("\n").map((line) => line.replace(/^[-*]\s+/, "").trim()).filter((line) => line.length > 0 && !line.startsWith("#") && !line.startsWith("---")).slice(0, 5);
|
|
107
|
+
}
|
|
108
|
+
function extractBlockers(body) {
|
|
109
|
+
if (!body) return [];
|
|
110
|
+
return stripFrontmatter(body).split("\n").map((line) => line.replace(/^[-*]\s+/, "").trim()).filter((line) => line.length > 0 && /blocker|blocked|stuck|waiting/i.test(line)).slice(0, 5);
|
|
111
|
+
}
|
|
112
|
+
var GRID_GLYPHS = ["\u2591", "\u2581", "\u2582", "\u2583", "\u2584", "\u2588"];
|
|
113
|
+
function spanHour(line) {
|
|
114
|
+
if (!line.startsWith("- [")) return null;
|
|
115
|
+
const close = line.indexOf("]", 3);
|
|
116
|
+
if (close < 0) return null;
|
|
117
|
+
const clock = line.slice(3, close);
|
|
118
|
+
const sep = clock.indexOf(":");
|
|
119
|
+
if (sep <= 0) return null;
|
|
120
|
+
const hour = Number.parseInt(clock.slice(0, sep), 10);
|
|
121
|
+
return Number.isInteger(hour) && hour >= 0 && hour <= 23 ? hour : null;
|
|
122
|
+
}
|
|
123
|
+
function renderGrid(yesterday, body) {
|
|
124
|
+
if (!body) return `prior day ${yesterday}: no activity digest (empty)`;
|
|
125
|
+
const counts = new Array(24).fill(0);
|
|
126
|
+
for (const line of stripFrontmatter(body).split("\n")) {
|
|
127
|
+
const hour = spanHour(line);
|
|
128
|
+
if (hour !== null) counts[hour] = counts[hour] + 1;
|
|
129
|
+
}
|
|
130
|
+
const max = Math.max(...counts);
|
|
131
|
+
if (max === 0) return `prior day ${yesterday}: digest present, no timeline activity`;
|
|
132
|
+
const glyphs = counts.map(
|
|
133
|
+
(count) => count === 0 ? "\xB7" : GRID_GLYPHS[Math.min(GRID_GLYPHS.length - 1, Math.ceil(count / max * GRID_GLYPHS.length) - 1)]
|
|
134
|
+
).join("");
|
|
135
|
+
const nonEmpty = counts.map((count, hour) => count > 0 ? `${hour}` : null).filter((h) => h !== null);
|
|
136
|
+
return [`prior day ${yesterday} \u2014 24 hour buckets (\xB7 = idle):`, glyphs, `non-empty hours: ${nonEmpty.join(", ")}`].join(
|
|
137
|
+
"\n"
|
|
138
|
+
);
|
|
139
|
+
}
|
|
140
|
+
function readOpenCommitments(memoryDir) {
|
|
141
|
+
const factsDir = path.join(memoryDir, "facts");
|
|
142
|
+
let dayDirs;
|
|
143
|
+
try {
|
|
144
|
+
dayDirs = readdirSync(factsDir, { withFileTypes: true }).filter((entry) => entry.isDirectory() && !entry.isSymbolicLink() && isValidActivityDate(entry.name)).map((entry) => entry.name).sort();
|
|
145
|
+
} catch {
|
|
146
|
+
return [];
|
|
147
|
+
}
|
|
148
|
+
const out = [];
|
|
149
|
+
for (const day of dayDirs) {
|
|
150
|
+
let files;
|
|
151
|
+
try {
|
|
152
|
+
files = readdirSync(path.join(factsDir, day), { withFileTypes: true }).filter((entry) => entry.isFile() && !entry.isSymbolicLink() && entry.name.endsWith(".md")).map((entry) => entry.name).sort();
|
|
153
|
+
} catch {
|
|
154
|
+
continue;
|
|
155
|
+
}
|
|
156
|
+
for (const name of files) {
|
|
157
|
+
const parsed = parseFrontmatter(readOptional(path.join(factsDir, day, name)) ?? "");
|
|
158
|
+
if (!parsed) continue;
|
|
159
|
+
const fm = parsed.frontmatter;
|
|
160
|
+
if (fm.category !== "commitment") continue;
|
|
161
|
+
if ((fm.status ?? "active") !== "active") continue;
|
|
162
|
+
if (fm.tags.some((tag) => tag === "fulfilled" || tag === "expired")) continue;
|
|
163
|
+
const text = parsed.content.split("\n").map((line) => line.trim()).find((line) => line.length > 0);
|
|
164
|
+
if (!text) continue;
|
|
165
|
+
out.push({
|
|
166
|
+
id: fm.id,
|
|
167
|
+
text,
|
|
168
|
+
created: fm.created,
|
|
169
|
+
...fm.expiresAt !== void 0 ? { expiresAt: fm.expiresAt } : {}
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
return out;
|
|
174
|
+
}
|
|
175
|
+
function sortCommitments(list) {
|
|
176
|
+
return [...list].sort((a, b) => {
|
|
177
|
+
const aDated = a.expiresAt !== void 0 ? 0 : 1;
|
|
178
|
+
const bDated = b.expiresAt !== void 0 ? 0 : 1;
|
|
179
|
+
if (aDated !== bDated) return aDated - bDated;
|
|
180
|
+
const ka = a.expiresAt ?? a.created;
|
|
181
|
+
const kb = b.expiresAt ?? b.created;
|
|
182
|
+
if (ka !== kb) return ka < kb ? -1 : 1;
|
|
183
|
+
if (a.id !== b.id) return a.id < b.id ? -1 : 1;
|
|
184
|
+
return 0;
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
function standupHelp() {
|
|
188
|
+
return `Usage: remnic standup [--date YYYY-MM-DD]
|
|
189
|
+
|
|
190
|
+
Deterministic yesterday/today/blockers brief: prior-working-day highlights,
|
|
191
|
+
today's priorities from open commitments, blocker candidates, and a 24-hour
|
|
192
|
+
activity grid.
|
|
193
|
+
`;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export {
|
|
197
|
+
parseStandupDate,
|
|
198
|
+
previousActiveDate,
|
|
199
|
+
buildStandup,
|
|
200
|
+
standupHelp
|
|
201
|
+
};
|
|
202
|
+
//# sourceMappingURL=chunk-S47XNAWD.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/standup/build.ts"],"sourcesContent":["import { readdirSync, readFileSync } from \"node:fs\";\nimport path from \"node:path\";\n\nimport { EngramAccessInputError } from \"../access-errors.js\";\nimport { activityDigestPath, isValidActivityDate } from \"../activity/digest.js\";\nimport { parseFrontmatter } from \"../storage.js\";\n\nexport interface StandupBrief {\n date: string;\n yesterday: string;\n today: string;\n highlights: string[];\n priorities: string[];\n blockers: string[];\n activityGrid: string;\n markdown: string;\n}\n\nexport function parseStandupDate(raw: unknown, now = new Date()): string {\n if (raw === undefined || raw === null) {\n return now.toISOString().slice(0, 10);\n }\n const value = String(raw);\n if (!isValidActivityDate(value)) {\n // Typed so the HTTP surface maps it to 400 (EngramAccessInputError);\n // subclasses Error, so the CLI still prints the message verbatim.\n throw new EngramAccessInputError(`invalid --date ${value}; expected YYYY-MM-DD`);\n }\n return value;\n}\n\n/** Look back at most this many days for the prior active day (issue #1981). */\nconst STANDUP_PRIOR_DAY_LOOKBACK = 7;\n\nfunction shiftDays(date: string, days: number): string {\n const ms = Date.parse(`${date}T00:00:00Z`);\n return new Date(ms + days * 86_400_000).toISOString().slice(0, 10);\n}\n\n/**\n * Prior active day: the most recent of the 7 days before `date` that has an\n * activity digest (working-day lookback — Monday resolves to Friday, not\n * Sunday, when the weekend has no digests). Calendar-previous day when no\n * day in the window qualifies.\n */\nexport function previousActiveDate(memoryDir: string, date: string): string {\n for (let back = 1; back <= STANDUP_PRIOR_DAY_LOOKBACK; back += 1) {\n const candidate = shiftDays(date, -back);\n if (readOptional(activityDigestPath(memoryDir, candidate)) !== null) return candidate;\n }\n return shiftDays(date, -1);\n}\n\nexport function buildStandup(memoryDir: string, date: string): StandupBrief {\n const yesterday = previousActiveDate(memoryDir, date);\n const todayBody = readOptional(activityDigestPath(memoryDir, date));\n const yesterdayBody = readOptional(activityDigestPath(memoryDir, yesterday));\n const highlights = extractHighlights(yesterdayBody);\n const commitments = sortCommitments(readOpenCommitments(memoryDir));\n const dateMs = Date.parse(`${date}T00:00:00Z`);\n const overdue = commitments.filter(\n (c) => c.expiresAt !== undefined && Number.isFinite(Date.parse(c.expiresAt)) && Date.parse(c.expiresAt) < dateMs,\n );\n const open = commitments.filter((c) => !overdue.includes(c));\n const priorities = open.map((c) => (c.expiresAt ? `${c.text} (due ${c.expiresAt.slice(0, 10)})` : c.text));\n const blockers = [\n ...extractBlockers(yesterdayBody),\n ...overdue.map((c) => `commitment past due: ${c.text} (was due ${c.expiresAt?.slice(0, 10)})`),\n ];\n const activityGrid = renderGrid(yesterday, yesterdayBody);\n const markdown = [\n `# Standup ${date}`,\n \"\",\n `## Yesterday (${yesterday})`,\n yesterdayBody ? firstLines(yesterdayBody, 8) : \"_No activity digest._\",\n \"\",\n `## Today (${date})`,\n todayBody ? firstLines(todayBody, 8) : \"_No activity digest._\",\n \"\",\n \"## Highlights\",\n ...(highlights.length > 0 ? highlights.map((line) => `- ${line}`) : [\"- _None._\"]),\n \"\",\n \"## Today's priorities\",\n ...(priorities.length > 0 ? priorities.map((line) => `- ${line}`) : [\"- (no tracked commitments — add priorities manually)\"]),\n \"\",\n \"## Blockers\",\n ...(blockers.length > 0 ? blockers.map((line) => `- ${line}`) : [\"- _None._\"]),\n \"\",\n \"## Activity grid\",\n \"\",\n activityGrid,\n \"\",\n ].join(\"\\n\");\n return {\n date,\n yesterday,\n today: date,\n highlights,\n priorities,\n blockers,\n activityGrid,\n markdown,\n };\n}\n\nfunction readOptional(filePath: string): string | null {\n try {\n return readFileSync(filePath, \"utf8\");\n } catch {\n return null;\n }\n}\n\n/** Drop a leading `--- … ---` frontmatter block so its fields never render. */\nfunction stripFrontmatter(body: string): string {\n const lines = body.split(\"\\n\");\n if (lines[0]?.trim() !== \"---\") return body;\n const end = lines.indexOf(\"---\", 1);\n return end < 0 ? body : lines.slice(end + 1).join(\"\\n\");\n}\n\nfunction firstLines(body: string, n: number): string {\n return (\n stripFrontmatter(body)\n .split(\"\\n\")\n .filter((line) => line.trim().length > 0 && !line.startsWith(\"#\") && !line.startsWith(\"---\"))\n .slice(0, n)\n .join(\"\\n\")\n .trim() || \"_Empty digest._\"\n );\n}\n\nfunction extractHighlights(body: string | null): string[] {\n if (!body) return [];\n return stripFrontmatter(body)\n .split(\"\\n\")\n .map((line) => line.replace(/^[-*]\\s+/, \"\").trim())\n .filter((line) => line.length > 0 && !line.startsWith(\"#\") && !line.startsWith(\"---\"))\n .slice(0, 5);\n}\n\nfunction extractBlockers(body: string | null): string[] {\n if (!body) return [];\n return stripFrontmatter(body)\n .split(\"\\n\")\n .map((line) => line.replace(/^[-*]\\s+/, \"\").trim())\n .filter((line) => line.length > 0 && /blocker|blocked|stuck|waiting/i.test(line))\n .slice(0, 5);\n}\n\n// ── Activity grid (24 hour buckets, byte-stable) ────────────────────────────\n\nconst GRID_GLYPHS = [\"░\", \"▁\", \"▂\", \"▃\", \"▄\", \"█\"] as const;\n\n/** Local hour of a digest timeline span line `- [HH:MM] app — window`, or null. */\nfunction spanHour(line: string): number | null {\n if (!line.startsWith(\"- [\")) return null;\n const close = line.indexOf(\"]\", 3);\n if (close < 0) return null;\n const clock = line.slice(3, close);\n const sep = clock.indexOf(\":\");\n if (sep <= 0) return null;\n const hour = Number.parseInt(clock.slice(0, sep), 10);\n return Number.isInteger(hour) && hour >= 0 && hour <= 23 ? hour : null;\n}\n\nfunction renderGrid(yesterday: string, body: string | null): string {\n if (!body) return `prior day ${yesterday}: no activity digest (empty)`;\n const counts: number[] = new Array(24).fill(0);\n for (const line of stripFrontmatter(body).split(\"\\n\")) {\n const hour = spanHour(line);\n if (hour !== null) counts[hour] = counts[hour]! + 1;\n }\n const max = Math.max(...counts);\n if (max === 0) return `prior day ${yesterday}: digest present, no timeline activity`;\n const glyphs = counts\n .map((count) =>\n count === 0 ? \"·\" : GRID_GLYPHS[Math.min(GRID_GLYPHS.length - 1, Math.ceil((count / max) * GRID_GLYPHS.length) - 1)],\n )\n .join(\"\");\n const nonEmpty = counts.map((count, hour) => (count > 0 ? `${hour}` : null)).filter((h): h is string => h !== null);\n return [`prior day ${yesterday} — 24 hour buckets (· = idle):`, glyphs, `non-empty hours: ${nonEmpty.join(\", \")}`].join(\n \"\\n\",\n );\n}\n\n// ── Open commitments (deterministic facts scan) ─────────────────────────────\n\ninterface OpenCommitment {\n id: string;\n text: string;\n created: string;\n expiresAt?: string;\n}\n\nfunction readOpenCommitments(memoryDir: string): OpenCommitment[] {\n const factsDir = path.join(memoryDir, \"facts\");\n let dayDirs: string[];\n try {\n dayDirs = readdirSync(factsDir, { withFileTypes: true })\n .filter((entry) => entry.isDirectory() && !entry.isSymbolicLink() && isValidActivityDate(entry.name))\n .map((entry) => entry.name)\n .sort();\n } catch {\n return [];\n }\n const out: OpenCommitment[] = [];\n for (const day of dayDirs) {\n let files: string[];\n try {\n files = readdirSync(path.join(factsDir, day), { withFileTypes: true })\n .filter((entry) => entry.isFile() && !entry.isSymbolicLink() && entry.name.endsWith(\".md\"))\n .map((entry) => entry.name)\n .sort();\n } catch {\n continue;\n }\n for (const name of files) {\n const parsed = parseFrontmatter(readOptional(path.join(factsDir, day, name)) ?? \"\");\n if (!parsed) continue;\n const fm = parsed.frontmatter;\n if (fm.category !== \"commitment\") continue;\n if ((fm.status ?? \"active\") !== \"active\") continue;\n if (fm.tags.some((tag) => tag === \"fulfilled\" || tag === \"expired\")) continue;\n const text = parsed.content\n .split(\"\\n\")\n .map((line) => line.trim())\n .find((line) => line.length > 0);\n if (!text) continue;\n out.push({\n id: fm.id,\n text,\n created: fm.created,\n ...(fm.expiresAt !== undefined ? { expiresAt: fm.expiresAt } : {}),\n });\n }\n }\n return out;\n}\n\nfunction sortCommitments(list: OpenCommitment[]): OpenCommitment[] {\n return [...list].sort((a, b) => {\n // Due-ness first: a commitment with a concrete expiry outranks an\n // undated one; earlier expiry is more due. Created, then id, as the\n // stable tiebreak (§12).\n const aDated = a.expiresAt !== undefined ? 0 : 1;\n const bDated = b.expiresAt !== undefined ? 0 : 1;\n if (aDated !== bDated) return aDated - bDated;\n const ka = a.expiresAt ?? a.created;\n const kb = b.expiresAt ?? b.created;\n if (ka !== kb) return ka < kb ? -1 : 1;\n if (a.id !== b.id) return a.id < b.id ? -1 : 1;\n return 0;\n });\n}\n\nexport function standupHelp(): string {\n return `Usage: remnic standup [--date YYYY-MM-DD]\n\nDeterministic yesterday/today/blockers brief: prior-working-day highlights,\ntoday's priorities from open commitments, blocker candidates, and a 24-hour\nactivity grid.\n`;\n}\n"],"mappings":";;;;;;;;;;;;AAAA,SAAS,aAAa,oBAAoB;AAC1C,OAAO,UAAU;AAiBV,SAAS,iBAAiB,KAAc,MAAM,oBAAI,KAAK,GAAW;AACvE,MAAI,QAAQ,UAAa,QAAQ,MAAM;AACrC,WAAO,IAAI,YAAY,EAAE,MAAM,GAAG,EAAE;AAAA,EACtC;AACA,QAAM,QAAQ,OAAO,GAAG;AACxB,MAAI,CAAC,oBAAoB,KAAK,GAAG;AAG/B,UAAM,IAAI,uBAAuB,kBAAkB,KAAK,uBAAuB;AAAA,EACjF;AACA,SAAO;AACT;AAGA,IAAM,6BAA6B;AAEnC,SAAS,UAAU,MAAc,MAAsB;AACrD,QAAM,KAAK,KAAK,MAAM,GAAG,IAAI,YAAY;AACzC,SAAO,IAAI,KAAK,KAAK,OAAO,KAAU,EAAE,YAAY,EAAE,MAAM,GAAG,EAAE;AACnE;AAQO,SAAS,mBAAmB,WAAmB,MAAsB;AAC1E,WAAS,OAAO,GAAG,QAAQ,4BAA4B,QAAQ,GAAG;AAChE,UAAM,YAAY,UAAU,MAAM,CAAC,IAAI;AACvC,QAAI,aAAa,mBAAmB,WAAW,SAAS,CAAC,MAAM,KAAM,QAAO;AAAA,EAC9E;AACA,SAAO,UAA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 export {
|
|
|
546
546
|
setSemanticRulePromotionTestHooks,
|
|
547
547
|
promoteSemanticRuleFromMemory
|
|
548
548
|
};
|
|
549
|
-
//# sourceMappingURL=chunk-
|
|
549
|
+
//# sourceMappingURL=chunk-SQEIPTDV.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveCorpusNamespaceRoots
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-D3AUQXTJ.js";
|
|
4
4
|
import {
|
|
5
5
|
capabilityAllowsNamespace
|
|
6
6
|
} from "./chunk-MZWSOLMT.js";
|
|
@@ -200,4 +200,4 @@ async function readAggregateExtractionWatermark(options) {
|
|
|
200
200
|
export {
|
|
201
201
|
readAggregateExtractionWatermark
|
|
202
202
|
};
|
|
203
|
-
//# sourceMappingURL=chunk-
|
|
203
|
+
//# sourceMappingURL=chunk-TGKLVAML.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SupportPassportCreateGrantRequestSchema,
|
|
3
3
|
defineOperation
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-G3B3LP6A.js";
|
|
5
5
|
import {
|
|
6
6
|
SupportPassportCardCategorySchema,
|
|
7
7
|
SupportPassportMemoryIdSchema,
|
|
@@ -220,4 +220,4 @@ var supportPassportGrantAskOperation = defineOperation({
|
|
|
220
220
|
result: await ctx.service.supportPassportAskGrant(grantId, secret, question, ctx.abortSignal)
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
|
-
//# sourceMappingURL=chunk-
|
|
223
|
+
//# sourceMappingURL=chunk-TS37MXC7.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-5JMAGU26.js";
|
|
6
6
|
import {
|
|
7
7
|
runPostConsolidationMaterialize
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZPZLGN4Y.js";
|
|
9
9
|
import {
|
|
10
10
|
isSemanticConsolidationLlmOperator
|
|
11
11
|
} from "./chunk-G7D6GZ5J.js";
|
|
@@ -220,4 +220,4 @@ export {
|
|
|
220
220
|
buildExtensionsBlockForConsolidation,
|
|
221
221
|
materializeAfterSemanticConsolidation
|
|
222
222
|
};
|
|
223
|
-
//# sourceMappingURL=chunk-
|
|
223
|
+
//# sourceMappingURL=chunk-TXCLDIXJ.js.map
|