@remnic/core 9.64.0 → 9.64.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access-admin-ops-surface.d.ts +12 -11
- package/dist/access-admin-ops-surface.js +24 -23
- package/dist/access-authorization-probe.d.ts +12 -11
- package/dist/access-authorization-probe.js +25 -24
- package/dist/access-boundary.d.ts +13 -12
- package/dist/access-boundary.js +24 -23
- package/dist/access-cli.js +74 -72
- 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 +12 -11
- package/dist/access-extraction-force-flush.js +24 -23
- package/dist/access-health-types.d.ts +1 -1
- package/dist/access-http-lcm-compaction.d.ts +12 -11
- package/dist/access-http-lifecycle-flush.d.ts +12 -11
- package/dist/access-http-offline-stream.d.ts +12 -11
- package/dist/access-http-query.d.ts +2 -2
- package/dist/access-http-query.js +26 -25
- package/dist/access-http.d.ts +13 -12
- package/dist/access-http.js +41 -40
- package/dist/access-identity-continuity-surface.d.ts +9 -9
- package/dist/access-identity-continuity-surface.js +24 -23
- package/dist/access-lcm-surface.d.ts +12 -11
- package/dist/access-lcm-surface.js +24 -23
- package/dist/access-mcp-output-schemas.js +1 -1
- package/dist/access-mcp.d.ts +12 -186
- package/dist/access-mcp.js +33 -32
- package/dist/access-memory-search-fanout.d.ts +2 -2
- package/dist/{access-namespace-preflight-CrF0FKaz.d.ts → access-namespace-preflight-CYeI1R2_.d.ts} +1 -1
- package/dist/access-namespace-preflight.d.ts +3 -3
- package/dist/access-namespace-preflight.js +24 -23
- package/dist/access-observe-write-surface.d.ts +12 -11
- package/dist/access-observe-write-surface.js +24 -23
- package/dist/access-offline-manifest.d.ts +9 -9
- package/dist/access-operations-batch.js +27 -26
- package/dist/access-operations.d.ts +13 -12
- package/dist/access-operations.js +30 -29
- package/dist/access-recall-concurrency.d.ts +12 -11
- package/dist/access-recall-concurrency.js +24 -23
- package/dist/access-recall-response.d.ts +12 -11
- package/dist/access-recall-response.js +24 -23
- package/dist/access-recall-surface.d.ts +12 -11
- package/dist/access-recall-surface.js +24 -23
- package/dist/access-schema.js +3 -3
- package/dist/{access-service-BqF4UK8Z.d.ts → access-service-BKtdXnyk.d.ts} +294 -12
- package/dist/access-service-helpers.d.ts +12 -11
- package/dist/access-service.d.ts +12 -11
- package/dist/access-service.js +24 -23
- package/dist/access-surface-catalog.d.ts +12 -11
- package/dist/access-surface-catalog.js +28 -25
- package/dist/access-surface-catalog.js.map +1 -1
- 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 +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/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 +2 -2
- package/dist/bulk-import/index.d.ts +3 -3
- package/dist/calibration.d.ts +1 -1
- package/dist/capabilities.d.ts +1 -1
- package/dist/{capsule-crypto-GWVG7LGC.js → capsule-crypto-7FJQINUR.js} +2 -2
- package/dist/{catalog-C0KIwZqR.d.ts → catalog-CLAqQO2L.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-BTUIHRRR.js → chunk-246HFJVG.js} +2 -2
- package/dist/{chunk-OWHERGF2.js → chunk-2NLLXCJG.js} +2 -2
- package/dist/{chunk-5SZ6CLGJ.js → chunk-2QI2JBLQ.js} +360 -238
- package/dist/chunk-2QI2JBLQ.js.map +1 -0
- package/dist/{chunk-6NMZXEJ7.js → chunk-3A46U7XG.js} +2 -2
- package/dist/{chunk-S6KMN6MJ.js → chunk-3LOQN3TO.js} +10 -5
- package/dist/chunk-3LOQN3TO.js.map +1 -0
- package/dist/{chunk-Z3Q5I5F6.js → chunk-44DSGZFF.js} +2 -2
- package/dist/{chunk-VENMDW4U.js → chunk-55SJFHVD.js} +6 -6
- package/dist/{chunk-VCBG52MM.js → chunk-5HERQ5FX.js} +7 -7
- package/dist/{chunk-IRXMJLTW.js → chunk-5HK3CJAR.js} +2 -2
- package/dist/{chunk-KG2CT762.js → chunk-6LTCUN3T.js} +2 -2
- package/dist/{chunk-UUYQWKHO.js → chunk-7BVO64UC.js} +2 -2
- package/dist/{chunk-X6HNXVXS.js → chunk-7V3AZWWZ.js} +4 -4
- package/dist/{chunk-EHC3FIJ4.js → chunk-A2IBK3TG.js} +2 -2
- package/dist/{chunk-6BV6ZZZA.js → chunk-C6AKYOFO.js} +2 -2
- package/dist/{chunk-7ML7STOD.js → chunk-CKZHKFY3.js} +3 -3
- package/dist/{chunk-CUDSA46O.js → chunk-CUIAHZPZ.js} +2 -2
- package/dist/{chunk-QFPX7QZG.js → chunk-DA2O3F5V.js} +25 -11
- package/dist/chunk-DA2O3F5V.js.map +1 -0
- package/dist/{chunk-CTD5CPD2.js → chunk-DC4FJY2G.js} +22 -7
- package/dist/{chunk-CTD5CPD2.js.map → chunk-DC4FJY2G.js.map} +1 -1
- package/dist/{chunk-2BRCV2IV.js → chunk-DG6MJD7W.js} +2 -2
- package/dist/{chunk-YGSDWO3U.js → chunk-DHKV6E4A.js} +2 -2
- package/dist/{chunk-DZFPHARJ.js → chunk-EJDLQRUO.js} +2 -2
- package/dist/{chunk-VD2OT77P.js → chunk-GEULB2VI.js} +2 -1
- package/dist/chunk-GEULB2VI.js.map +1 -0
- package/dist/{chunk-BPLPGOUJ.js → chunk-GVRLED7R.js} +2 -2
- package/dist/{chunk-YINSSARY.js → chunk-H5CGAD7L.js} +1 -1
- package/dist/{chunk-QICOU4RY.js → chunk-IFK3PVM7.js} +2 -2
- package/dist/{chunk-E7MYSCSL.js → chunk-IJXECCUV.js} +2 -2
- package/dist/{chunk-RKNJBZ55.js → chunk-JBPKEARU.js} +4 -4
- package/dist/{chunk-WQ6TRWAE.js → chunk-JCSUNXYJ.js} +3 -3
- package/dist/{chunk-5W7CTZ2E.js → chunk-KQAFEZQX.js} +4 -4
- package/dist/{chunk-6IKXAAJI.js → chunk-KRPE7ANR.js} +2 -2
- package/dist/{chunk-FEP45MYY.js → chunk-LOETWOEB.js} +2 -2
- package/dist/{chunk-4IIDTPSK.js → chunk-LZKCMK3U.js} +2 -2
- package/dist/{chunk-ML4MI2RR.js → chunk-MJRVF7SF.js} +29 -28
- package/dist/chunk-MJRVF7SF.js.map +1 -0
- package/dist/{chunk-K547KS3X.js → chunk-ML3U4KPR.js} +4 -4
- package/dist/{chunk-HIEWDJ2O.js → chunk-MSTNSVXI.js} +2 -1
- package/dist/chunk-MSTNSVXI.js.map +1 -0
- package/dist/{chunk-BTBAHTQ5.js → chunk-NO7B6DRB.js} +2 -2
- package/dist/{chunk-G5F4MXXC.js → chunk-ON2P3SHG.js} +2 -2
- package/dist/{chunk-2Q4UAPLD.js → chunk-OQIRBGUU.js} +4 -4
- package/dist/{chunk-PQODT53H.js → chunk-PE76XIDM.js} +3 -3
- package/dist/{chunk-MVIYRRVJ.js → chunk-PMVPCZJZ.js} +5 -5
- package/dist/{chunk-CK3DZ6OE.js → chunk-PVIXAMWM.js} +2 -2
- package/dist/{chunk-BB2LH5JM.js → chunk-RNORDDD6.js} +11 -1
- package/dist/chunk-RNORDDD6.js.map +1 -0
- package/dist/{chunk-HZXO2CJ6.js → chunk-RWLRKMZK.js} +2 -2
- package/dist/{chunk-SYU5JOBQ.js → chunk-SB6YBB2V.js} +2 -2
- package/dist/{chunk-3F3CVVDS.js → chunk-SHQFYZTD.js} +2 -2
- package/dist/chunk-TKI2WOL5.js +256 -0
- package/dist/chunk-TKI2WOL5.js.map +1 -0
- package/dist/chunk-TY35YQ6E.js +77 -0
- package/dist/chunk-TY35YQ6E.js.map +1 -0
- package/dist/{chunk-R7XE5ZUR.js → chunk-UIYYS2YI.js} +2 -2
- package/dist/{chunk-ZWYXSF2T.js → chunk-UMDZXW5J.js} +118 -4
- package/dist/chunk-UMDZXW5J.js.map +1 -0
- package/dist/{chunk-G5OB4XZX.js → chunk-VANZKHTN.js} +4 -4
- package/dist/{chunk-QATILW4B.js → chunk-VLES5S4K.js} +271 -62
- package/dist/chunk-VLES5S4K.js.map +1 -0
- package/dist/{chunk-AR253JBM.js → chunk-VRYEXPRX.js} +1 -1
- package/dist/chunk-VRYEXPRX.js.map +1 -0
- package/dist/{chunk-7DRSWPUV.js → chunk-VUP47UJI.js} +3 -3
- package/dist/{chunk-65NQFK7D.js → chunk-WBM5NR4E.js} +2 -2
- package/dist/{chunk-UVYI6VIX.js → chunk-X7Y7WX73.js} +1 -1
- package/dist/{chunk-GIMQJ5RX.js → chunk-XACYILRA.js} +49 -14
- package/dist/chunk-XACYILRA.js.map +1 -0
- package/dist/{chunk-63JMI45N.js → chunk-XBRGJJK7.js} +2 -2
- package/dist/{chunk-WCWIV2JH.js → chunk-XH4IQVTN.js} +2 -2
- package/dist/{chunk-77E7LLMV.js → chunk-XZUCNVGE.js} +8 -8
- package/dist/{chunk-LJQGQUNS.js → chunk-YFQTDE7N.js} +2 -2
- package/dist/{chunk-5OOTHWGJ.js → chunk-YXGU3MDQ.js} +2 -2
- package/dist/{chunk-SRLQROQJ.js → chunk-Z6CJLYXT.js} +4 -4
- package/dist/{chunk-Z4UPRZR6.js → chunk-ZSYE2QVJ.js} +2 -2
- package/dist/{cli-BX0O688c.d.ts → cli-CLvBewKf.d.ts} +5 -5
- package/dist/cli.d.ts +13 -13
- package/dist/cli.js +57 -56
- 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 +1 -1
- 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 +2 -2
- package/dist/contradiction/index.js +4 -4
- 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/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-Cph4PnBe.d.ts → dependency-propagation-delivery-DMqIw9Zh.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/explicit-capture.d.ts +9 -9
- package/dist/external-wiki-access.d.ts +12 -11
- package/dist/external-wiki-access.js +25 -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 +12 -13
- package/dist/extraction-error-classification.d.ts +1 -1
- package/dist/extraction-faithfulness.d.ts +1 -1
- package/dist/extraction-judge-telemetry.d.ts +1 -1
- package/dist/extraction-judge-training.d.ts +1 -1
- package/dist/extraction-judge.d.ts +1 -1
- package/dist/extraction-liveness.d.ts +1 -1
- package/dist/extraction-normalization.d.ts +1 -1
- package/dist/extraction-prompt.d.ts +1 -1
- package/dist/extraction-source-grounding-rules.d.ts +1 -1
- package/dist/extraction-source-grounding.d.ts +1 -1
- package/dist/extraction.d.ts +1 -1
- package/dist/extraction.js +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.d.ts +33 -24
- package/dist/index.js +120 -84
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/engine.js +3 -3
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/index.js +11 -11
- package/dist/lcm/tools.d.ts +1 -1
- package/dist/lifecycle.d.ts +1 -1
- package/dist/live-connectors-runner.d.ts +1 -1
- package/dist/local-llm.d.ts +1 -1
- package/dist/local-model-endpoint.d.ts +1 -1
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/maintenance/memory-governance.js +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-BNq31xpo.d.ts → maintenance-DITiehFX.d.ts} +3 -3
- package/dist/mcp-memory-inspector-app.d.ts +12 -11
- package/dist/mcp-read-only-tools.js +1 -1
- package/dist/memory-action-policy.d.ts +1 -1
- package/dist/memory-cache.d.ts +1 -1
- package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
- package/dist/memory-projection-store.d.ts +1 -1
- package/dist/memory-provenance.d.ts +1 -1
- package/dist/memory-snapshot.d.ts +1 -1
- package/dist/memory-worth-outcomes.d.ts +2 -2
- package/dist/models-json.d.ts +1 -1
- package/dist/namespaces/migrate.d.ts +3 -3
- package/dist/namespaces/migrate.js +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-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 +19 -19
- package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
- package/dist/orchestration/maintenance.d.ts +4 -4
- package/dist/orchestration/maintenance.js +16 -16
- package/dist/{orchestrator-CBuUOP2J.d.ts → orchestrator-6fPa2l9x.d.ts} +8 -8
- package/dist/orchestrator.d.ts +9 -9
- package/dist/orchestrator.js +74 -72
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/{pipeline-CW_Q4WvX.d.ts → pipeline-DHpYtfM3.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-BeJ1_JI1.d.ts → public-http-BT36aBb-.d.ts} +1 -1
- package/dist/{qmd-q-cAzYuC.d.ts → qmd-BaX31tM0.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/recall-concurrency-config.d.ts +1 -1
- package/dist/recall-disclosure-escalation.d.ts +1 -1
- package/dist/recall-explain-renderer.d.ts +1 -1
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-memory-map.d.ts +1 -1
- package/dist/recall-planner-llm.d.ts +1 -1
- package/dist/recall-state.d.ts +1 -1
- package/dist/recall-tag-filter.d.ts +1 -1
- package/dist/recall-timings.d.ts +1 -1
- package/dist/recall-xray-cli.d.ts +1 -1
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.d.ts +1 -1
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.d.ts +1 -1
- package/dist/recall-xray.js +2 -2
- package/dist/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 +2 -2
- 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-CIr4mXgp.d.ts → scope-profiles-1hYWJ9bM.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 +10 -10
- package/dist/search/lancedb-backend.d.ts +1 -1
- package/dist/search/lancedb-backend.js +2 -2
- package/dist/search/meilisearch-backend.d.ts +1 -1
- package/dist/search/meilisearch-backend.js +2 -2
- package/dist/search/noop-backend.d.ts +1 -1
- package/dist/search/orama-backend.d.ts +1 -1
- package/dist/search/orama-backend.js +2 -2
- package/dist/search/port.d.ts +1 -1
- package/dist/search/remote-backend.d.ts +1 -1
- package/dist/{semantic-consolidation-BZ6J46j-.d.ts → semantic-consolidation-Chmddvcg.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-CCl4iyyY.d.ts → service-DMs_dCCg.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 +12 -12
- package/dist/{storage-BPXmJKIt.d.ts → storage-CzorrpcN.d.ts} +12 -3
- package/dist/storage.d.ts +2 -2
- package/dist/storage.js +9 -9
- package/dist/summarizer.d.ts +1 -1
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/support-passport/index.d.ts +15 -14
- package/dist/support-passport/index.js +27 -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/backup.js +2 -2
- package/dist/transfer/capsule-export.js +2 -2
- package/dist/transfer/capsule-import.js +2 -2
- package/dist/trust-score-stage.d.ts +1 -1
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-CltSWcND.d.ts → types-BP5MC8UU.d.ts} +34 -8
- 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 +10 -10
- package/dist/who-knows-cli.d.ts +155 -0
- package/dist/who-knows-cli.js +109 -0
- package/dist/who-knows-cli.js.map +1 -0
- package/dist/who-knows.d.ts +127 -0
- package/dist/who-knows.js +118 -0
- package/dist/who-knows.js.map +1 -0
- package/dist/write-envelope.d.ts +1 -1
- package/package.json +2 -2
- package/src/access-boundary.ts +1 -0
- package/src/access-http.ts +15 -0
- package/src/access-mcp-output-schemas.ts +1 -0
- package/src/access-mcp.ts +3 -2
- package/src/access-operations-batch.ts +8 -0
- package/src/access-service.ts +26 -0
- package/src/access-surface-catalog.ts +2 -0
- package/src/cli/okf-commands.ts +23 -0
- package/src/cli.ts +2 -1
- package/src/config.ts +7 -7
- package/src/index.ts +3 -0
- package/src/location/cli.ts +163 -0
- package/src/location/config.test.ts +75 -0
- package/src/location/config.ts +105 -0
- package/src/location/intervals.test.ts +202 -0
- package/src/location/intervals.ts +221 -0
- package/src/location/parse-companions.ts +12 -0
- package/src/location/pipeline.test.ts +324 -0
- package/src/location/pipeline.ts +245 -0
- package/src/location/recall-exclusion.test.ts +36 -0
- package/src/location/registry.test.ts +74 -0
- package/src/location/registry.ts +54 -0
- package/src/location/store.test.ts +170 -0
- package/src/location/store.ts +478 -0
- package/src/location/types.ts +95 -0
- package/src/mcp-read-only-tools.ts +1 -0
- package/src/okf/cli.ts +42 -0
- package/src/okf/config.ts +34 -0
- package/src/okf/lint.ts +110 -0
- package/src/okf/sweep.ts +63 -0
- package/src/okf/type-mapping.test.ts +207 -0
- package/src/okf/type-mapping.ts +79 -0
- package/src/orchestration/generic-recall-paths.ts +17 -0
- package/src/orchestration/orchestrator-helpers.ts +22 -0
- package/src/orchestration/qmd-result-resolver.ts +1 -0
- package/src/orchestrator.ts +2 -0
- package/src/storage/entity-store.ts +9 -5
- package/src/storage/profile-header.ts +33 -9
- package/src/storage/questions-file.ts +50 -0
- package/src/storage.ts +76 -63
- package/src/types.ts +6 -8
- package/src/who-knows-cli.ts +96 -0
- package/src/who-knows.test.ts +257 -0
- package/src/who-knows.ts +364 -0
- package/dist/chunk-5SZ6CLGJ.js.map +0 -1
- package/dist/chunk-AR253JBM.js.map +0 -1
- package/dist/chunk-BB2LH5JM.js.map +0 -1
- package/dist/chunk-GIMQJ5RX.js.map +0 -1
- package/dist/chunk-HIEWDJ2O.js.map +0 -1
- package/dist/chunk-ML4MI2RR.js.map +0 -1
- package/dist/chunk-QATILW4B.js.map +0 -1
- package/dist/chunk-QFPX7QZG.js.map +0 -1
- package/dist/chunk-S6KMN6MJ.js.map +0 -1
- package/dist/chunk-VD2OT77P.js.map +0 -1
- package/dist/chunk-ZWYXSF2T.js.map +0 -1
- /package/dist/{capsule-crypto-GWVG7LGC.js.map → capsule-crypto-7FJQINUR.js.map} +0 -0
- /package/dist/{chunk-BTUIHRRR.js.map → chunk-246HFJVG.js.map} +0 -0
- /package/dist/{chunk-OWHERGF2.js.map → chunk-2NLLXCJG.js.map} +0 -0
- /package/dist/{chunk-6NMZXEJ7.js.map → chunk-3A46U7XG.js.map} +0 -0
- /package/dist/{chunk-Z3Q5I5F6.js.map → chunk-44DSGZFF.js.map} +0 -0
- /package/dist/{chunk-VENMDW4U.js.map → chunk-55SJFHVD.js.map} +0 -0
- /package/dist/{chunk-VCBG52MM.js.map → chunk-5HERQ5FX.js.map} +0 -0
- /package/dist/{chunk-IRXMJLTW.js.map → chunk-5HK3CJAR.js.map} +0 -0
- /package/dist/{chunk-KG2CT762.js.map → chunk-6LTCUN3T.js.map} +0 -0
- /package/dist/{chunk-UUYQWKHO.js.map → chunk-7BVO64UC.js.map} +0 -0
- /package/dist/{chunk-X6HNXVXS.js.map → chunk-7V3AZWWZ.js.map} +0 -0
- /package/dist/{chunk-EHC3FIJ4.js.map → chunk-A2IBK3TG.js.map} +0 -0
- /package/dist/{chunk-6BV6ZZZA.js.map → chunk-C6AKYOFO.js.map} +0 -0
- /package/dist/{chunk-7ML7STOD.js.map → chunk-CKZHKFY3.js.map} +0 -0
- /package/dist/{chunk-CUDSA46O.js.map → chunk-CUIAHZPZ.js.map} +0 -0
- /package/dist/{chunk-2BRCV2IV.js.map → chunk-DG6MJD7W.js.map} +0 -0
- /package/dist/{chunk-YGSDWO3U.js.map → chunk-DHKV6E4A.js.map} +0 -0
- /package/dist/{chunk-DZFPHARJ.js.map → chunk-EJDLQRUO.js.map} +0 -0
- /package/dist/{chunk-BPLPGOUJ.js.map → chunk-GVRLED7R.js.map} +0 -0
- /package/dist/{chunk-YINSSARY.js.map → chunk-H5CGAD7L.js.map} +0 -0
- /package/dist/{chunk-QICOU4RY.js.map → chunk-IFK3PVM7.js.map} +0 -0
- /package/dist/{chunk-E7MYSCSL.js.map → chunk-IJXECCUV.js.map} +0 -0
- /package/dist/{chunk-RKNJBZ55.js.map → chunk-JBPKEARU.js.map} +0 -0
- /package/dist/{chunk-WQ6TRWAE.js.map → chunk-JCSUNXYJ.js.map} +0 -0
- /package/dist/{chunk-5W7CTZ2E.js.map → chunk-KQAFEZQX.js.map} +0 -0
- /package/dist/{chunk-6IKXAAJI.js.map → chunk-KRPE7ANR.js.map} +0 -0
- /package/dist/{chunk-FEP45MYY.js.map → chunk-LOETWOEB.js.map} +0 -0
- /package/dist/{chunk-4IIDTPSK.js.map → chunk-LZKCMK3U.js.map} +0 -0
- /package/dist/{chunk-K547KS3X.js.map → chunk-ML3U4KPR.js.map} +0 -0
- /package/dist/{chunk-BTBAHTQ5.js.map → chunk-NO7B6DRB.js.map} +0 -0
- /package/dist/{chunk-G5F4MXXC.js.map → chunk-ON2P3SHG.js.map} +0 -0
- /package/dist/{chunk-2Q4UAPLD.js.map → chunk-OQIRBGUU.js.map} +0 -0
- /package/dist/{chunk-PQODT53H.js.map → chunk-PE76XIDM.js.map} +0 -0
- /package/dist/{chunk-MVIYRRVJ.js.map → chunk-PMVPCZJZ.js.map} +0 -0
- /package/dist/{chunk-CK3DZ6OE.js.map → chunk-PVIXAMWM.js.map} +0 -0
- /package/dist/{chunk-HZXO2CJ6.js.map → chunk-RWLRKMZK.js.map} +0 -0
- /package/dist/{chunk-SYU5JOBQ.js.map → chunk-SB6YBB2V.js.map} +0 -0
- /package/dist/{chunk-3F3CVVDS.js.map → chunk-SHQFYZTD.js.map} +0 -0
- /package/dist/{chunk-R7XE5ZUR.js.map → chunk-UIYYS2YI.js.map} +0 -0
- /package/dist/{chunk-G5OB4XZX.js.map → chunk-VANZKHTN.js.map} +0 -0
- /package/dist/{chunk-7DRSWPUV.js.map → chunk-VUP47UJI.js.map} +0 -0
- /package/dist/{chunk-65NQFK7D.js.map → chunk-WBM5NR4E.js.map} +0 -0
- /package/dist/{chunk-UVYI6VIX.js.map → chunk-X7Y7WX73.js.map} +0 -0
- /package/dist/{chunk-63JMI45N.js.map → chunk-XBRGJJK7.js.map} +0 -0
- /package/dist/{chunk-WCWIV2JH.js.map → chunk-XH4IQVTN.js.map} +0 -0
- /package/dist/{chunk-77E7LLMV.js.map → chunk-XZUCNVGE.js.map} +0 -0
- /package/dist/{chunk-LJQGQUNS.js.map → chunk-YFQTDE7N.js.map} +0 -0
- /package/dist/{chunk-5OOTHWGJ.js.map → chunk-YXGU3MDQ.js.map} +0 -0
- /package/dist/{chunk-SRLQROQJ.js.map → chunk-Z6CJLYXT.js.map} +0 -0
- /package/dist/{chunk-Z4UPRZR6.js.map → chunk-ZSYE2QVJ.js.map} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
scanMemoryDir
|
|
3
|
+
} from "./chunk-W7IGLX4G.js";
|
|
1
4
|
import {
|
|
2
5
|
isSearchAborted,
|
|
3
6
|
throwIfSearchAborted
|
|
4
7
|
} from "./chunk-GUMZC2BO.js";
|
|
5
|
-
import {
|
|
6
|
-
scanMemoryDir
|
|
7
|
-
} from "./chunk-W7IGLX4G.js";
|
|
8
8
|
import {
|
|
9
9
|
reportSearchDegradation,
|
|
10
10
|
resolveEnsureCollectionArgs
|
|
@@ -253,4 +253,4 @@ function isMeilisearchIndexNotFoundError(err) {
|
|
|
253
253
|
export {
|
|
254
254
|
MeilisearchBackend
|
|
255
255
|
};
|
|
256
|
-
//# sourceMappingURL=chunk-
|
|
256
|
+
//# sourceMappingURL=chunk-VANZKHTN.js.map
|
|
@@ -7,27 +7,27 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
openclawReplayNormalizer
|
|
9
9
|
} from "./chunk-H4CKS5B2.js";
|
|
10
|
+
import {
|
|
11
|
+
exportSqlite
|
|
12
|
+
} from "./chunk-BV2TIZ4F.js";
|
|
10
13
|
import {
|
|
11
14
|
importMarkdownBundle
|
|
12
15
|
} from "./chunk-HDDRVXX4.js";
|
|
13
16
|
import {
|
|
14
17
|
importSqlite
|
|
15
18
|
} from "./chunk-PYHOAXTI.js";
|
|
16
|
-
import {
|
|
17
|
-
backupMemoryDir
|
|
18
|
-
} from "./chunk-OWHERGF2.js";
|
|
19
|
-
import {
|
|
20
|
-
exportJsonBundle
|
|
21
|
-
} from "./chunk-UP6MOYCB.js";
|
|
22
|
-
import {
|
|
23
|
-
exportSqlite
|
|
24
|
-
} from "./chunk-BV2TIZ4F.js";
|
|
25
19
|
import {
|
|
26
20
|
detectImportFormat
|
|
27
21
|
} from "./chunk-OZKVVUJB.js";
|
|
28
22
|
import {
|
|
29
23
|
importJsonBundle
|
|
30
24
|
} from "./chunk-2DL3OFLD.js";
|
|
25
|
+
import {
|
|
26
|
+
backupMemoryDir
|
|
27
|
+
} from "./chunk-2NLLXCJG.js";
|
|
28
|
+
import {
|
|
29
|
+
exportJsonBundle
|
|
30
|
+
} from "./chunk-UP6MOYCB.js";
|
|
31
31
|
import {
|
|
32
32
|
exportMarkdownBundle
|
|
33
33
|
} from "./chunk-765K3SAT.js";
|
|
@@ -49,6 +49,9 @@ import {
|
|
|
49
49
|
import {
|
|
50
50
|
WebDavServer
|
|
51
51
|
} from "./chunk-PYIFUBRK.js";
|
|
52
|
+
import {
|
|
53
|
+
rebuildMemoryLifecycleLedger
|
|
54
|
+
} from "./chunk-ZSYE2QVJ.js";
|
|
52
55
|
import {
|
|
53
56
|
rebuildObservations
|
|
54
57
|
} from "./chunk-DQTCGVFK.js";
|
|
@@ -58,9 +61,6 @@ import {
|
|
|
58
61
|
import {
|
|
59
62
|
migrateObservations
|
|
60
63
|
} from "./chunk-IIFFC3RL.js";
|
|
61
|
-
import {
|
|
62
|
-
rebuildMemoryLifecycleLedger
|
|
63
|
-
} from "./chunk-Z4UPRZR6.js";
|
|
64
64
|
import {
|
|
65
65
|
getBulkImportSource,
|
|
66
66
|
listBulkImportSources,
|
|
@@ -80,21 +80,21 @@ import {
|
|
|
80
80
|
} from "./chunk-6FC3IZ26.js";
|
|
81
81
|
import {
|
|
82
82
|
searchVerifiedEpisodes
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-NO7B6DRB.js";
|
|
84
84
|
import {
|
|
85
85
|
ThreadingManager
|
|
86
86
|
} from "./chunk-OJP3N7UK.js";
|
|
87
87
|
import {
|
|
88
88
|
promoteSemanticRuleFromMemory
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-LZKCMK3U.js";
|
|
90
90
|
import {
|
|
91
91
|
searchVerifiedSemanticRules
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-A2IBK3TG.js";
|
|
93
93
|
import {
|
|
94
94
|
buildResumeBundleFromState,
|
|
95
95
|
getResumeBundleStatus,
|
|
96
96
|
recordResumeBundle
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-YXGU3MDQ.js";
|
|
98
98
|
import {
|
|
99
99
|
getWorkProductLedgerStatus,
|
|
100
100
|
recordWorkProductLedgerEntry,
|
|
@@ -105,7 +105,7 @@ import {
|
|
|
105
105
|
} from "./chunk-AM4T6CHX.js";
|
|
106
106
|
import {
|
|
107
107
|
parseXrayCliOptions
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-VUP47UJI.js";
|
|
109
109
|
import {
|
|
110
110
|
readRuntimePolicySnapshot,
|
|
111
111
|
sanitizeRuntimePolicyValues
|
|
@@ -118,7 +118,7 @@ import {
|
|
|
118
118
|
runOperatorInventory,
|
|
119
119
|
runOperatorRepair,
|
|
120
120
|
runOperatorSetup
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-XZUCNVGE.js";
|
|
122
122
|
import {
|
|
123
123
|
analyzeSessionIntegrity,
|
|
124
124
|
applySessionRepair,
|
|
@@ -155,7 +155,7 @@ import {
|
|
|
155
155
|
} from "./chunk-UOBPK2OS.js";
|
|
156
156
|
import {
|
|
157
157
|
searchHarmonicRetrieval
|
|
158
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-H5CGAD7L.js";
|
|
159
159
|
import {
|
|
160
160
|
createEvalBaselineSnapshot,
|
|
161
161
|
getEvalHarnessStatus,
|
|
@@ -175,7 +175,7 @@ import {
|
|
|
175
175
|
rebuildMemoryProjection,
|
|
176
176
|
repairMemoryProjection,
|
|
177
177
|
verifyMemoryProjection
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-JCSUNXYJ.js";
|
|
179
179
|
import {
|
|
180
180
|
buildConnectorRowsFromDefinitions,
|
|
181
181
|
parseConnectorsListOptions,
|
|
@@ -196,11 +196,11 @@ import {
|
|
|
196
196
|
} from "./chunk-6TBIWIAG.js";
|
|
197
197
|
import {
|
|
198
198
|
parseConfig
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-UMDZXW5J.js";
|
|
200
200
|
import {
|
|
201
201
|
EngramAccessHttpServer,
|
|
202
202
|
MeetingsInputError
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-DA2O3F5V.js";
|
|
204
204
|
import {
|
|
205
205
|
WearablesInputError
|
|
206
206
|
} from "./chunk-V7IZKJI3.js";
|
|
@@ -210,13 +210,13 @@ import {
|
|
|
210
210
|
loadChatSession,
|
|
211
211
|
processChatMessage,
|
|
212
212
|
sessionBelongsToPrincipal
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-3LOQN3TO.js";
|
|
214
214
|
import {
|
|
215
215
|
getAbstractionNodeStoreStatus
|
|
216
216
|
} from "./chunk-DJUKBGAD.js";
|
|
217
217
|
import {
|
|
218
218
|
EngramAccessService
|
|
219
|
-
} from "./chunk-
|
|
219
|
+
} from "./chunk-XACYILRA.js";
|
|
220
220
|
import {
|
|
221
221
|
WorkStorage
|
|
222
222
|
} from "./chunk-GDB4J2H3.js";
|
|
@@ -233,10 +233,10 @@ import {
|
|
|
233
233
|
parseRecallExplainFormat,
|
|
234
234
|
renderRecallExplain,
|
|
235
235
|
renderXray
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-SHQFYZTD.js";
|
|
237
237
|
import {
|
|
238
238
|
readAggregateExtractionWatermark
|
|
239
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-XH4IQVTN.js";
|
|
240
240
|
import {
|
|
241
241
|
getObjectiveStateStoreStatus
|
|
242
242
|
} from "./chunk-HTP6XRUI.js";
|
|
@@ -245,31 +245,33 @@ import {
|
|
|
245
245
|
readMemoryGovernanceRunArtifact,
|
|
246
246
|
restoreMemoryGovernanceRun,
|
|
247
247
|
runMemoryGovernance
|
|
248
|
-
} from "./chunk-
|
|
248
|
+
} from "./chunk-3A46U7XG.js";
|
|
249
249
|
import {
|
|
250
250
|
listNamespaces,
|
|
251
251
|
runNamespaceMigration,
|
|
252
252
|
verifyNamespaces
|
|
253
|
-
} from "./chunk-
|
|
253
|
+
} from "./chunk-CKZHKFY3.js";
|
|
254
254
|
import {
|
|
255
255
|
analyzeGraphHealth
|
|
256
256
|
} from "./chunk-YMOPYG3K.js";
|
|
257
257
|
import {
|
|
258
258
|
resolveNamespaceChildRoot
|
|
259
|
-
} from "./chunk-
|
|
259
|
+
} from "./chunk-7BVO64UC.js";
|
|
260
260
|
import {
|
|
261
261
|
getCausalTrajectoryStoreStatus
|
|
262
262
|
} from "./chunk-GPFZFCRN.js";
|
|
263
263
|
import {
|
|
264
|
-
|
|
265
|
-
|
|
264
|
+
OKF_RESERVED_BASENAMES,
|
|
265
|
+
meetingIdDate,
|
|
266
|
+
okfTypeForCategory
|
|
267
|
+
} from "./chunk-2QI2JBLQ.js";
|
|
266
268
|
import {
|
|
267
269
|
isValidTranscriptDate
|
|
268
270
|
} from "./chunk-UHVXE24Y.js";
|
|
269
271
|
import {
|
|
270
272
|
RECALL_DISCLOSURE_LEVELS,
|
|
271
273
|
isRecallDisclosure
|
|
272
|
-
} from "./chunk-
|
|
274
|
+
} from "./chunk-VRYEXPRX.js";
|
|
273
275
|
import {
|
|
274
276
|
bumpMemoryCorpusVersionForDir
|
|
275
277
|
} from "./chunk-XCB6QDL6.js";
|
|
@@ -335,6 +337,7 @@ import {
|
|
|
335
337
|
resolveHomeDir
|
|
336
338
|
} from "./chunk-JUC24CTX.js";
|
|
337
339
|
import {
|
|
340
|
+
MAGIC_BYTES,
|
|
338
341
|
SECURE_STORE_ENVELOPE_OVERHEAD_BYTES,
|
|
339
342
|
probeEncryptedRegularFileHeader
|
|
340
343
|
} from "./chunk-XQ3HXAQH.js";
|
|
@@ -346,7 +349,7 @@ import {
|
|
|
346
349
|
} from "./chunk-3WCASNQZ.js";
|
|
347
350
|
|
|
348
351
|
// src/cli.ts
|
|
349
|
-
import
|
|
352
|
+
import path5 from "path";
|
|
350
353
|
import { access, lstat as lstat2, readFile, readdir as readdir2, realpath as realpath2, unlink } from "fs/promises";
|
|
351
354
|
import { createHash } from "crypto";
|
|
352
355
|
|
|
@@ -1144,6 +1147,210 @@ function registerMeetingsCommands(cmd, orchestrator) {
|
|
|
1144
1147
|
});
|
|
1145
1148
|
}
|
|
1146
1149
|
|
|
1150
|
+
// src/okf/lint.ts
|
|
1151
|
+
import fs from "fs";
|
|
1152
|
+
import path from "path";
|
|
1153
|
+
function isEncryptedBlob(raw) {
|
|
1154
|
+
return raw.startsWith(MAGIC_BYTES.toString("ascii"));
|
|
1155
|
+
}
|
|
1156
|
+
function hasFrontmatter(raw) {
|
|
1157
|
+
return raw.startsWith("---\n") || raw.startsWith("---\r\n");
|
|
1158
|
+
}
|
|
1159
|
+
function readType(raw) {
|
|
1160
|
+
const close = raw.indexOf("\n---", 4);
|
|
1161
|
+
if (close === -1) return void 0;
|
|
1162
|
+
const block = raw.slice(4, close);
|
|
1163
|
+
const match = /^type:[ \t]*(.*)$/m.exec(block);
|
|
1164
|
+
if (!match) return void 0;
|
|
1165
|
+
const value = match[1].trim().replace(/^["']|["']$/g, "");
|
|
1166
|
+
return value;
|
|
1167
|
+
}
|
|
1168
|
+
function walkMarkdown(root, out) {
|
|
1169
|
+
let entries;
|
|
1170
|
+
try {
|
|
1171
|
+
entries = fs.readdirSync(root, { withFileTypes: true });
|
|
1172
|
+
} catch {
|
|
1173
|
+
return;
|
|
1174
|
+
}
|
|
1175
|
+
for (const entry of entries.sort((a, b) => a.name.localeCompare(b.name))) {
|
|
1176
|
+
if (entry.name === "state" || entry.name === ".git") continue;
|
|
1177
|
+
const full = path.join(root, entry.name);
|
|
1178
|
+
let stat;
|
|
1179
|
+
try {
|
|
1180
|
+
stat = fs.lstatSync(full);
|
|
1181
|
+
} catch {
|
|
1182
|
+
continue;
|
|
1183
|
+
}
|
|
1184
|
+
if (stat.isSymbolicLink()) continue;
|
|
1185
|
+
if (stat.isDirectory()) {
|
|
1186
|
+
walkMarkdown(full, out);
|
|
1187
|
+
continue;
|
|
1188
|
+
}
|
|
1189
|
+
if (stat.isFile() && entry.name.endsWith(".md")) out.push(full);
|
|
1190
|
+
}
|
|
1191
|
+
}
|
|
1192
|
+
function lintOkfDir(memoryDir) {
|
|
1193
|
+
const files = [];
|
|
1194
|
+
walkMarkdown(memoryDir, files);
|
|
1195
|
+
const findings = [];
|
|
1196
|
+
for (const file of files) {
|
|
1197
|
+
const rel = path.relative(memoryDir, file);
|
|
1198
|
+
const base = path.basename(file);
|
|
1199
|
+
if (OKF_RESERVED_BASENAMES[base] === true) {
|
|
1200
|
+
findings.push({
|
|
1201
|
+
file: rel,
|
|
1202
|
+
code: "reserved_basename",
|
|
1203
|
+
message: `${base} is reserved by OKF \xA76/\xA77`
|
|
1204
|
+
});
|
|
1205
|
+
continue;
|
|
1206
|
+
}
|
|
1207
|
+
let raw;
|
|
1208
|
+
try {
|
|
1209
|
+
raw = fs.readFileSync(file, "utf8");
|
|
1210
|
+
} catch {
|
|
1211
|
+
continue;
|
|
1212
|
+
}
|
|
1213
|
+
if (isEncryptedBlob(raw)) {
|
|
1214
|
+
findings.push({
|
|
1215
|
+
file: rel,
|
|
1216
|
+
code: "skipped_encrypted",
|
|
1217
|
+
message: "skipped (encrypted)"
|
|
1218
|
+
});
|
|
1219
|
+
continue;
|
|
1220
|
+
}
|
|
1221
|
+
if (!hasFrontmatter(raw)) {
|
|
1222
|
+
findings.push({
|
|
1223
|
+
file: rel,
|
|
1224
|
+
code: "missing_frontmatter",
|
|
1225
|
+
message: "missing YAML frontmatter"
|
|
1226
|
+
});
|
|
1227
|
+
continue;
|
|
1228
|
+
}
|
|
1229
|
+
const type = readType(raw);
|
|
1230
|
+
if (type === void 0) {
|
|
1231
|
+
findings.push({ file: rel, code: "missing_type", message: "missing type" });
|
|
1232
|
+
} else if (type.length === 0) {
|
|
1233
|
+
findings.push({ file: rel, code: "empty_type", message: "empty type" });
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
const actionable = findings.filter((f) => f.code !== "skipped_encrypted");
|
|
1237
|
+
return { ok: actionable.length === 0, scanned: files.length, findings };
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
// src/okf/sweep.ts
|
|
1241
|
+
import fs2 from "fs";
|
|
1242
|
+
import path2 from "path";
|
|
1243
|
+
function insertType(raw, type) {
|
|
1244
|
+
const crlf = raw.startsWith("---\r\n");
|
|
1245
|
+
if (!crlf && !raw.startsWith("---\n")) return null;
|
|
1246
|
+
const lines = raw.split("\n");
|
|
1247
|
+
let close = -1;
|
|
1248
|
+
for (let index = 1; index < lines.length; index += 1) {
|
|
1249
|
+
const line = lines[index];
|
|
1250
|
+
if (line === "---" || line === "---\r" || line === "...") {
|
|
1251
|
+
close = index;
|
|
1252
|
+
break;
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1255
|
+
if (close === -1) return null;
|
|
1256
|
+
const block = lines.slice(1, close);
|
|
1257
|
+
const categoryLine = block.find((line) => line.startsWith("category:"));
|
|
1258
|
+
const category = categoryLine ? categoryLine.slice("category:".length).trim().replace(/^["']|["']$/g, "") : "fact";
|
|
1259
|
+
const resolved = type || okfTypeForCategory(category);
|
|
1260
|
+
const typeIndex = block.findIndex((line) => line.startsWith("type:"));
|
|
1261
|
+
if (typeIndex === -1) {
|
|
1262
|
+
block.push(`type: ${resolved}${crlf ? "\r" : ""}`);
|
|
1263
|
+
} else {
|
|
1264
|
+
const current = block[typeIndex];
|
|
1265
|
+
const bare = current.endsWith("\r") ? current.slice(0, -1) : current;
|
|
1266
|
+
const value = bare.slice("type:".length).trim().replace(/^["']|["']$/g, "");
|
|
1267
|
+
if (value !== "") return null;
|
|
1268
|
+
block[typeIndex] = `type: ${resolved}${current.endsWith("\r") ? "\r" : ""}`;
|
|
1269
|
+
}
|
|
1270
|
+
return [lines[0], ...block, ...lines.slice(close)].join("\n");
|
|
1271
|
+
}
|
|
1272
|
+
function runOkfConformanceSweep(memoryDir, options) {
|
|
1273
|
+
if (!options.sweepEnabled || !options.conformanceEnabled) {
|
|
1274
|
+
return { scanned: 0, written: 0 };
|
|
1275
|
+
}
|
|
1276
|
+
const lint = lintOkfDir(memoryDir);
|
|
1277
|
+
let written = 0;
|
|
1278
|
+
for (const finding of lint.findings) {
|
|
1279
|
+
if (finding.code !== "missing_type" && finding.code !== "empty_type") continue;
|
|
1280
|
+
const file = path2.join(memoryDir, finding.file);
|
|
1281
|
+
const raw = fs2.readFileSync(file, "utf8");
|
|
1282
|
+
const next = insertType(raw, "");
|
|
1283
|
+
if (next === null || next === raw) continue;
|
|
1284
|
+
fs2.writeFileSync(file, next);
|
|
1285
|
+
written += 1;
|
|
1286
|
+
}
|
|
1287
|
+
return { scanned: lint.scanned, written };
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
// src/okf/cli.ts
|
|
1291
|
+
async function runOkfCliCommand(argv, io, ctx) {
|
|
1292
|
+
const [subcommand, ...rest] = argv;
|
|
1293
|
+
if (subcommand === "help" || subcommand === "--help" || subcommand === "-h") {
|
|
1294
|
+
io.stdout.write(`usage: remnic okf <lint|sweep> [--json]
|
|
1295
|
+
lint report OKF conformance findings (exit 1 when findings remain)
|
|
1296
|
+
sweep backfill missing type values (requires okf.sweepEnabled)
|
|
1297
|
+
`);
|
|
1298
|
+
return 0;
|
|
1299
|
+
}
|
|
1300
|
+
if (subcommand !== "lint" && subcommand !== "sweep") {
|
|
1301
|
+
io.stderr.write("okf: expected lint or sweep\n");
|
|
1302
|
+
return 1;
|
|
1303
|
+
}
|
|
1304
|
+
for (const token of rest) {
|
|
1305
|
+
if (token === "--json") continue;
|
|
1306
|
+
io.stderr.write(`okf: unexpected argument '${token}' \u2014 usage: remnic okf <lint|sweep> [--json]
|
|
1307
|
+
`);
|
|
1308
|
+
return 1;
|
|
1309
|
+
}
|
|
1310
|
+
const json = rest.includes("--json");
|
|
1311
|
+
if (subcommand === "sweep") {
|
|
1312
|
+
const result2 = runOkfConformanceSweep(ctx.memoryDir, ctx);
|
|
1313
|
+
if (json) io.stdout.write(`${JSON.stringify(result2)}
|
|
1314
|
+
`);
|
|
1315
|
+
else io.stdout.write(`okf sweep: scanned ${result2.scanned}, wrote ${result2.written}
|
|
1316
|
+
`);
|
|
1317
|
+
return 0;
|
|
1318
|
+
}
|
|
1319
|
+
const result = lintOkfDir(ctx.memoryDir);
|
|
1320
|
+
if (json) io.stdout.write(`${JSON.stringify(result)}
|
|
1321
|
+
`);
|
|
1322
|
+
else {
|
|
1323
|
+
io.stdout.write(`okf lint: scanned ${result.scanned}, findings ${result.findings.length}
|
|
1324
|
+
`);
|
|
1325
|
+
for (const finding of result.findings) {
|
|
1326
|
+
io.stdout.write(` ${finding.file}: ${finding.message}
|
|
1327
|
+
`);
|
|
1328
|
+
}
|
|
1329
|
+
}
|
|
1330
|
+
return result.ok ? 0 : 1;
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
// src/cli/okf-commands.ts
|
|
1334
|
+
function registerOkfCommands(cmd, orchestrator) {
|
|
1335
|
+
const okfCmd = cmd.command("okf").description("OKF v0.1 conformance (lint, sweep)");
|
|
1336
|
+
const forward = async (argv) => {
|
|
1337
|
+
const code = await runOkfCliCommand(argv, { stdout: process.stdout, stderr: process.stderr }, {
|
|
1338
|
+
memoryDir: orchestrator.config.memoryDir,
|
|
1339
|
+
conformanceEnabled: orchestrator.config.okf.conformanceEnabled,
|
|
1340
|
+
sweepEnabled: orchestrator.config.okf.sweepEnabled
|
|
1341
|
+
});
|
|
1342
|
+
if (code !== 0) process.exitCode = code;
|
|
1343
|
+
};
|
|
1344
|
+
okfCmd.command("lint").description("Report OKF conformance findings").option("--json", "JSON output").action(async (...args) => {
|
|
1345
|
+
const options = args[0] ?? {};
|
|
1346
|
+
await forward(["lint", ...options.json === true ? ["--json"] : []]);
|
|
1347
|
+
});
|
|
1348
|
+
okfCmd.command("sweep").description("Add missing type fields without bumping updated").option("--json", "JSON output").action(async (...args) => {
|
|
1349
|
+
const options = args[0] ?? {};
|
|
1350
|
+
await forward(["sweep", ...options.json === true ? ["--json"] : []]);
|
|
1351
|
+
});
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1147
1354
|
// src/cli/harmonic-search.ts
|
|
1148
1355
|
async function runHarmonicSearchCliCommand(options) {
|
|
1149
1356
|
if (!options.harmonicRetrievalEnabled) return [];
|
|
@@ -1507,10 +1714,10 @@ function registerCreationLedgerCommands(cmd, orchestrator) {
|
|
|
1507
1714
|
}
|
|
1508
1715
|
|
|
1509
1716
|
// src/maintenance/rebuild-memory-lifecycle-ledger-cli.ts
|
|
1510
|
-
import
|
|
1717
|
+
import path3 from "path";
|
|
1511
1718
|
async function runRebuildMemoryLifecycleLedgerCliCommand(options) {
|
|
1512
1719
|
const storage = options.storage;
|
|
1513
|
-
const ledgerPath =
|
|
1720
|
+
const ledgerPath = path3.join(options.memoryDir, "state", "memory-lifecycle-ledger.jsonl");
|
|
1514
1721
|
const encrypted = await probeEncryptedRegularFileHeader(ledgerPath);
|
|
1515
1722
|
if (encrypted && !(storage?.isSecureStoreUnlocked() ?? false)) {
|
|
1516
1723
|
throw new Error(
|
|
@@ -2008,7 +2215,7 @@ assistant> ${result.reply}
|
|
|
2008
2215
|
// src/training-export/converter.ts
|
|
2009
2216
|
import { constants } from "fs";
|
|
2010
2217
|
import { lstat, open, readdir, realpath } from "fs/promises";
|
|
2011
|
-
import
|
|
2218
|
+
import path4 from "path";
|
|
2012
2219
|
function parseFrontmatter(raw) {
|
|
2013
2220
|
const match = raw.match(/^---\n([\s\S]*?)\n---\n?([\s\S]*)$/);
|
|
2014
2221
|
if (!match) return null;
|
|
@@ -2048,7 +2255,7 @@ async function safeRealpath(p) {
|
|
|
2048
2255
|
}
|
|
2049
2256
|
}
|
|
2050
2257
|
function isContainedPath(real, containmentRoot) {
|
|
2051
|
-
return real === containmentRoot || real.startsWith(containmentRoot +
|
|
2258
|
+
return real === containmentRoot || real.startsWith(containmentRoot + path4.sep);
|
|
2052
2259
|
}
|
|
2053
2260
|
async function collectMarkdownFiles(dir, containmentRoot) {
|
|
2054
2261
|
const files = [];
|
|
@@ -2068,7 +2275,7 @@ async function collectMarkdownFiles(dir, containmentRoot) {
|
|
|
2068
2275
|
}
|
|
2069
2276
|
const sorted = [...entries].sort((a, b) => a.name.localeCompare(b.name));
|
|
2070
2277
|
for (const entry of sorted) {
|
|
2071
|
-
const full =
|
|
2278
|
+
const full = path4.join(d, entry.name);
|
|
2072
2279
|
if (entry.isSymbolicLink()) continue;
|
|
2073
2280
|
if (entry.isDirectory()) {
|
|
2074
2281
|
await walk(full);
|
|
@@ -2150,9 +2357,9 @@ async function convertMemoriesToRecords(options) {
|
|
|
2150
2357
|
const { memoryDir } = options;
|
|
2151
2358
|
const containmentRoot = await safeRealpath(memoryDir);
|
|
2152
2359
|
if (!containmentRoot) return [];
|
|
2153
|
-
const dirs = RECALL_FALLBACK_DIRS.map((dir) =>
|
|
2360
|
+
const dirs = RECALL_FALLBACK_DIRS.map((dir) => path4.join(memoryDir, dir));
|
|
2154
2361
|
if (options.includeEntities) {
|
|
2155
|
-
dirs.push(
|
|
2362
|
+
dirs.push(path4.join(memoryDir, "entities"));
|
|
2156
2363
|
}
|
|
2157
2364
|
const allFiles = [];
|
|
2158
2365
|
for (const dir of dirs) {
|
|
@@ -3160,7 +3367,7 @@ function policyVersionForValues(values, config) {
|
|
|
3160
3367
|
return createHash("sha256").update(JSON.stringify(normalized)).digest("hex").slice(0, 12);
|
|
3161
3368
|
}
|
|
3162
3369
|
async function readRuntimePolicySnapshot2(config, fileName) {
|
|
3163
|
-
const filePath =
|
|
3370
|
+
const filePath = path5.join(config.memoryDir, "state", fileName);
|
|
3164
3371
|
const snapshot = await readRuntimePolicySnapshot(filePath, {
|
|
3165
3372
|
maxStaleDecayThreshold: config.lifecycleArchiveDecayThreshold
|
|
3166
3373
|
});
|
|
@@ -3937,7 +4144,7 @@ async function exists(p) {
|
|
|
3937
4144
|
}
|
|
3938
4145
|
}
|
|
3939
4146
|
function assertSafeNamespaceSegment(namespace) {
|
|
3940
|
-
if (namespace.length === 0 || namespace === "." || namespace === ".." || namespace.includes("/") || namespace.includes("\\") ||
|
|
4147
|
+
if (namespace.length === 0 || namespace === "." || namespace === ".." || namespace.includes("/") || namespace.includes("\\") || path5.isAbsolute(namespace) || path5.win32.isAbsolute(namespace)) {
|
|
3941
4148
|
throw new Error(`invalid namespace: ${namespace}`);
|
|
3942
4149
|
}
|
|
3943
4150
|
}
|
|
@@ -3987,7 +4194,7 @@ async function walkMemoryMarkdownFiles(memoryDir, visit) {
|
|
|
3987
4194
|
for (const entry of entries) {
|
|
3988
4195
|
if (entry.isSymbolicLink()) continue;
|
|
3989
4196
|
const entryName = typeof entry.name === "string" ? entry.name : entry.name.toString("utf-8");
|
|
3990
|
-
const fullPath =
|
|
4197
|
+
const fullPath = path5.join(dir, entryName);
|
|
3991
4198
|
try {
|
|
3992
4199
|
assertPathInsideRoot(memoryRootReal, await realpath2(fullPath), fullPath);
|
|
3993
4200
|
} catch (err) {
|
|
@@ -4002,7 +4209,7 @@ async function walkMemoryMarkdownFiles(memoryDir, visit) {
|
|
|
4002
4209
|
await visit(fullPath);
|
|
4003
4210
|
}
|
|
4004
4211
|
};
|
|
4005
|
-
for (const root of RECALL_FALLBACK_DIRS.map((dir) =>
|
|
4212
|
+
for (const root of RECALL_FALLBACK_DIRS.map((dir) => path5.join(memoryDir, dir))) {
|
|
4006
4213
|
await walk(root);
|
|
4007
4214
|
}
|
|
4008
4215
|
}
|
|
@@ -4612,7 +4819,7 @@ function registerCli(api, orchestrator, registerOptions = {}) {
|
|
|
4612
4819
|
if (plan.moved.length > 0) {
|
|
4613
4820
|
console.log("\nEntries:");
|
|
4614
4821
|
for (const move of plan.moved) {
|
|
4615
|
-
console.log(`- ${
|
|
4822
|
+
console.log(`- ${path5.basename(move.from)}`);
|
|
4616
4823
|
}
|
|
4617
4824
|
}
|
|
4618
4825
|
if (dryRun) {
|
|
@@ -4911,15 +5118,15 @@ function registerCli(api, orchestrator, registerOptions = {}) {
|
|
|
4911
5118
|
const capsulesDir = defaultCapsulesDir(memoryDir);
|
|
4912
5119
|
const { stat: statMerge } = await import("fs/promises");
|
|
4913
5120
|
let sourceArchive = expandTildePath(parsed.archive);
|
|
4914
|
-
const looksLikePath = sourceArchive.startsWith("/") || sourceArchive.startsWith("./") || sourceArchive.startsWith("../") || sourceArchive.includes(
|
|
5121
|
+
const looksLikePath = sourceArchive.startsWith("/") || sourceArchive.startsWith("./") || sourceArchive.startsWith("../") || sourceArchive.includes(path5.sep);
|
|
4915
5122
|
if (!looksLikePath) {
|
|
4916
|
-
const cwdResolved =
|
|
5123
|
+
const cwdResolved = path5.resolve(sourceArchive);
|
|
4917
5124
|
const cwdSt = await statMerge(cwdResolved).catch(() => null);
|
|
4918
5125
|
if (cwdSt && cwdSt.isFile()) {
|
|
4919
5126
|
sourceArchive = cwdResolved;
|
|
4920
5127
|
} else {
|
|
4921
|
-
const byId =
|
|
4922
|
-
const byIdEnc =
|
|
5128
|
+
const byId = path5.join(capsulesDir, `${sourceArchive}.capsule.json.gz`);
|
|
5129
|
+
const byIdEnc = path5.join(capsulesDir, `${sourceArchive}.capsule.json.gz.enc`);
|
|
4923
5130
|
const stId = await statMerge(byId).catch(() => null);
|
|
4924
5131
|
if (stId && stId.isFile()) {
|
|
4925
5132
|
sourceArchive = byId;
|
|
@@ -4932,7 +5139,7 @@ function registerCli(api, orchestrator, registerOptions = {}) {
|
|
|
4932
5139
|
}
|
|
4933
5140
|
}
|
|
4934
5141
|
if (sourceArchive.endsWith(".enc")) {
|
|
4935
|
-
const { isEncryptedCapsuleFile } = await import("./capsule-crypto-
|
|
5142
|
+
const { isEncryptedCapsuleFile } = await import("./capsule-crypto-7FJQINUR.js");
|
|
4936
5143
|
const encDetected = await isEncryptedCapsuleFile(sourceArchive).catch(() => true);
|
|
4937
5144
|
if (encDetected) {
|
|
4938
5145
|
throw new Error(
|
|
@@ -5000,10 +5207,10 @@ function registerCli(api, orchestrator, registerOptions = {}) {
|
|
|
5000
5207
|
).sort();
|
|
5001
5208
|
const entries = [];
|
|
5002
5209
|
for (const archiveName of archives) {
|
|
5003
|
-
const archivePath =
|
|
5210
|
+
const archivePath = path5.join(capsulesDir, archiveName);
|
|
5004
5211
|
const id = archiveName.replace(/\.capsule\.json\.gz\.enc$/, "").replace(/\.capsule\.json\.gz$/, "");
|
|
5005
5212
|
const manifestName = `${id}.manifest.json`;
|
|
5006
|
-
const manifestPath =
|
|
5213
|
+
const manifestPath = path5.join(capsulesDir, manifestName);
|
|
5007
5214
|
let createdAt = null;
|
|
5008
5215
|
let pluginVersion = null;
|
|
5009
5216
|
let fileCount = null;
|
|
@@ -5058,15 +5265,15 @@ function registerCli(api, orchestrator, registerOptions = {}) {
|
|
|
5058
5265
|
const parsed = parseCapsuleInspectOptions(archiveArg, opts);
|
|
5059
5266
|
const { stat } = await import("fs/promises");
|
|
5060
5267
|
let archivePath = expandTildePath(parsed.archive);
|
|
5061
|
-
const looksLikePath = archivePath.startsWith("/") || archivePath.startsWith("./") || archivePath.startsWith("../") || archivePath.includes(
|
|
5268
|
+
const looksLikePath = archivePath.startsWith("/") || archivePath.startsWith("./") || archivePath.startsWith("../") || archivePath.includes(path5.sep);
|
|
5062
5269
|
if (!looksLikePath) {
|
|
5063
|
-
const cwdResolved =
|
|
5270
|
+
const cwdResolved = path5.resolve(archivePath);
|
|
5064
5271
|
const cwdSt = await stat(cwdResolved).catch(() => null);
|
|
5065
5272
|
if (cwdSt && cwdSt.isFile()) {
|
|
5066
5273
|
archivePath = cwdResolved;
|
|
5067
5274
|
} else {
|
|
5068
|
-
const byId =
|
|
5069
|
-
const byIdEnc =
|
|
5275
|
+
const byId = path5.join(capsulesDir, `${archivePath}.capsule.json.gz`);
|
|
5276
|
+
const byIdEnc = path5.join(capsulesDir, `${archivePath}.capsule.json.gz.enc`);
|
|
5070
5277
|
const st = await stat(byId).catch(() => null);
|
|
5071
5278
|
if (st && st.isFile()) {
|
|
5072
5279
|
archivePath = byId;
|
|
@@ -5095,7 +5302,7 @@ function registerCli(api, orchestrator, registerOptions = {}) {
|
|
|
5095
5302
|
const { parseExportBundle } = await import("./transfer/types.js");
|
|
5096
5303
|
let decryptedBuf;
|
|
5097
5304
|
try {
|
|
5098
|
-
const { decryptCapsuleFileInMemory } = await import("./capsule-crypto-
|
|
5305
|
+
const { decryptCapsuleFileInMemory } = await import("./capsule-crypto-7FJQINUR.js");
|
|
5099
5306
|
decryptedBuf = await decryptCapsuleFileInMemory(archivePath, memoryDir);
|
|
5100
5307
|
} catch (decErr) {
|
|
5101
5308
|
const msg = decErr instanceof Error ? decErr.message : String(decErr);
|
|
@@ -6015,6 +6222,7 @@ ${doc.content}` : doc.content,
|
|
|
6015
6222
|
registerResearchStatusCommands(cmd, orchestrator);
|
|
6016
6223
|
registerCreationLedgerCommands(cmd, orchestrator);
|
|
6017
6224
|
registerMeetingsCommands(cmd, orchestrator);
|
|
6225
|
+
registerOkfCommands(cmd, orchestrator);
|
|
6018
6226
|
cmd.command("trust-zone-promote").description("Dry-run or apply a trust-zone promotion with provenance enforcement").requiredOption("--record-id <recordId>", "Source trust-zone record id").requiredOption("--target-zone <targetZone>", "Promotion target zone (working|trusted)").requiredOption("--reason <reason>", "Human-readable promotion reason").option("--recorded-at <isoTimestamp>", "Promotion timestamp (defaults to now)").option("--summary <summary>", "Optional replacement summary for the promoted record").option("--dry-run", "Show the promotion plan without writing the promoted record").action(async (...args) => {
|
|
6019
6227
|
const options = args[0] ?? {};
|
|
6020
6228
|
const result = await runTrustZonePromoteCliCommand({
|
|
@@ -7056,7 +7264,7 @@ Semantic consolidation complete. clusters=${result.clustersFound}, consolidated=
|
|
|
7056
7264
|
return;
|
|
7057
7265
|
}
|
|
7058
7266
|
const expandedTarget = expandTildePath(rawTarget);
|
|
7059
|
-
const targetPath =
|
|
7267
|
+
const targetPath = path5.isAbsolute(expandedTarget) ? expandedTarget : path5.join(orchestrator.config.memoryDir, expandedTarget);
|
|
7060
7268
|
const { runConsolidationUndo, formatConsolidationUndoResult } = await import("./consolidation-undo.js");
|
|
7061
7269
|
const result = await runConsolidationUndo({
|
|
7062
7270
|
storage: orchestrator.storage,
|
|
@@ -7094,7 +7302,7 @@ Semantic consolidation complete. clusters=${result.clustersFound}, consolidated=
|
|
|
7094
7302
|
}
|
|
7095
7303
|
});
|
|
7096
7304
|
cmd.command("identity").description("Show agent identity reflections").action(async () => {
|
|
7097
|
-
const workspaceDir =
|
|
7305
|
+
const workspaceDir = path5.join(resolveHomeDir(), ".openclaw", "workspace");
|
|
7098
7306
|
const identity = await orchestrator.storage.readIdentity(workspaceDir);
|
|
7099
7307
|
if (!identity) {
|
|
7100
7308
|
console.log("No identity file found.");
|
|
@@ -7317,8 +7525,8 @@ Semantic consolidation complete. clusters=${result.clustersFound}, consolidated=
|
|
|
7317
7525
|
const options = args[0] ?? {};
|
|
7318
7526
|
const threadId = options.thread;
|
|
7319
7527
|
const top = parseInt(options.top ?? "10", 10);
|
|
7320
|
-
const memoryDir =
|
|
7321
|
-
const threading = new ThreadingManager(
|
|
7528
|
+
const memoryDir = path5.join(resolveHomeDir(), ".openclaw", "workspace", "memory", "local");
|
|
7529
|
+
const threading = new ThreadingManager(path5.join(memoryDir, "threads"));
|
|
7322
7530
|
if (threadId) {
|
|
7323
7531
|
const thread = await threading.loadThread(threadId);
|
|
7324
7532
|
if (!thread) {
|
|
@@ -8246,6 +8454,7 @@ export {
|
|
|
8246
8454
|
ensureBuiltInWearableConnectors,
|
|
8247
8455
|
runWearablesCliCommand,
|
|
8248
8456
|
runMeetingsCliCommand,
|
|
8457
|
+
runOkfCliCommand,
|
|
8249
8458
|
runHarmonicSearchCliCommand,
|
|
8250
8459
|
runRebuildMemoryLifecycleLedgerCliCommand,
|
|
8251
8460
|
convertMemoriesToRecords,
|
|
@@ -8344,4 +8553,4 @@ export {
|
|
|
8344
8553
|
listMemoryMarkdownFilePaths,
|
|
8345
8554
|
registerCli
|
|
8346
8555
|
};
|
|
8347
|
-
//# sourceMappingURL=chunk-
|
|
8556
|
+
//# sourceMappingURL=chunk-VLES5S4K.js.map
|