@remnic/core 9.3.754 → 9.3.756
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 +5 -5
- package/dist/access-admin-ops-surface.js +34 -34
- package/dist/access-boundary.d.ts +5 -5
- package/dist/access-boundary.js +35 -35
- package/dist/access-cli.js +83 -83
- package/dist/access-http.d.ts +5 -5
- package/dist/access-http.js +44 -44
- package/dist/access-lcm-surface.d.ts +5 -5
- package/dist/access-lcm-surface.js +34 -34
- package/dist/access-mcp.d.ts +5 -5
- package/dist/access-mcp.js +41 -41
- package/dist/access-observe-write-surface.d.ts +225 -0
- package/dist/access-observe-write-surface.js +128 -0
- package/dist/access-operations-batch.js +38 -38
- package/dist/access-operations.d.ts +5 -5
- package/dist/access-operations.js +40 -40
- package/dist/access-recall-surface.d.ts +5 -5
- package/dist/access-recall-surface.js +34 -34
- package/dist/access-schema.d.ts +10 -10
- package/dist/access-schema.js +3 -3
- package/dist/{access-service-DKRV1zxh.d.ts → access-service-CJwcDoQp.d.ts} +7 -8
- package/dist/access-service.d.ts +5 -5
- package/dist/access-service.js +34 -34
- package/dist/access-surface-catalog.d.ts +5 -5
- 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/{auto-sync-G4YKBPOU.js → auto-sync-RZO5ZPHR.js} +3 -3
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +4 -4
- package/dist/briefing.d.ts +1 -1
- package/dist/briefing.js +7 -7
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer.d.ts +1 -1
- package/dist/calibration.d.ts +1 -1
- package/dist/capabilities.d.ts +1 -1
- package/dist/{capsule-crypto-CZJSLEFG.js → capsule-crypto-FFWJ4X4A.js} +2 -2
- package/dist/{catalog-BEmNVRN0.d.ts → catalog-DaKAFbSJ.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-behavior.js +2 -2
- package/dist/causal-chain.js +2 -2
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-consolidation.js +15 -15
- package/dist/causal-retrieval.js +2 -2
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/causal-trajectory.js +1 -1
- package/dist/{chunk-M5QKGHCR.js → chunk-3I2IASNK.js} +2 -2
- package/dist/{chunk-JBO6UBIE.js → chunk-4AC57RCM.js} +4 -4
- package/dist/{chunk-3DOD6ICJ.js → chunk-4I45UZ4V.js} +5 -5
- package/dist/{chunk-TAPSNIMA.js → chunk-5CEJH5ZN.js} +4 -4
- package/dist/{chunk-CXCZ4LAI.js → chunk-5VWRYFQE.js} +7 -7
- package/dist/{chunk-TXALJRYO.js → chunk-5ZKT7WTR.js} +7 -7
- package/dist/{chunk-PYVZKEZZ.js → chunk-6DA5BBLS.js} +120 -120
- package/dist/{chunk-WS6GLJ7P.js → chunk-6DXXIXED.js} +4 -4
- package/dist/{chunk-THZ4WR5L.js → chunk-7APVFQ34.js} +1182 -1009
- package/dist/chunk-7APVFQ34.js.map +1 -0
- package/dist/{chunk-OH66EBCS.js → chunk-7CFGXWYX.js} +2 -2
- package/dist/{chunk-TJATYB3F.js → chunk-A6XCHI53.js} +5 -5
- package/dist/{chunk-2MHCWXX6.js → chunk-BTH6MQJT.js} +7 -7
- package/dist/{chunk-G7LCG56O.js → chunk-CXW6Y7SI.js} +4 -4
- package/dist/{chunk-L4AS7TIG.js → chunk-DWDDQLSZ.js} +2300 -2239
- package/dist/chunk-DWDDQLSZ.js.map +1 -0
- package/dist/{chunk-DS4QM6I7.js → chunk-EEKDRAWX.js} +4 -4
- package/dist/{chunk-GAH5755F.js → chunk-EF3VFQC4.js} +2 -2
- package/dist/{chunk-437S3G37.js → chunk-EJJQDP3H.js} +1 -1
- package/dist/{chunk-V4C4SFZB.js → chunk-EVVLGYHR.js} +3 -3
- package/dist/{chunk-ZJMSTFOR.js → chunk-GBXP62CL.js} +10 -10
- package/dist/{chunk-7AL5WNPW.js → chunk-GG6G2RYR.js} +9 -9
- package/dist/{chunk-BERWPOXU.js → chunk-H2T4OJNI.js} +4 -4
- package/dist/{chunk-2MR3MFQB.js → chunk-JTYM4HPA.js} +2 -2
- package/dist/{chunk-LD53WPMU.js → chunk-LQ6JI4VH.js} +4 -4
- package/dist/{chunk-GPFXPC2V.js → chunk-NG2NHB4C.js} +7 -7
- package/dist/{chunk-COZEVVXZ.js → chunk-NLXKSM46.js} +2 -2
- package/dist/{chunk-VSU2NZGC.js → chunk-OLAVQS6S.js} +6 -6
- package/dist/{chunk-ER3CCWK2.js → chunk-ORAK3LNZ.js} +2 -2
- package/dist/{chunk-WUVUTOUV.js → chunk-PBZQVVLG.js} +5 -5
- package/dist/{chunk-PJQMISPD.js → chunk-PPAEJXVF.js} +5 -5
- package/dist/{chunk-KURUULFF.js → chunk-PRX77NPC.js} +5 -5
- package/dist/{chunk-24463PIV.js → chunk-PS572XYO.js} +2 -2
- package/dist/{chunk-U2SMR57B.js → chunk-REZ4TUD2.js} +10 -10
- package/dist/{chunk-2QSZNTDO.js → chunk-RKNJBZ55.js} +4 -4
- package/dist/{chunk-V5UV7BOA.js → chunk-SQNED75R.js} +1 -1
- package/dist/{chunk-FLVL4L3L.js → chunk-TCKP4EHY.js} +2 -2
- package/dist/{chunk-YRBXBHU7.js → chunk-TXV3I2O6.js} +7 -7
- package/dist/{chunk-CJ276MDI.js → chunk-UNV6ZGTS.js} +2 -2
- package/dist/{chunk-2BFLDH5F.js → chunk-WEPWY4HB.js} +2 -2
- package/dist/{chunk-YQGHW5ML.js → chunk-WRFKZEO6.js} +4 -4
- package/dist/{chunk-7CAJLUNW.js → chunk-Y4TAFMUE.js} +6 -6
- package/dist/{chunk-TIFF32QK.js → chunk-YMGQXBPS.js} +2 -2
- package/dist/{chunk-T422SYM6.js → chunk-ZUDM75KG.js} +5 -5
- package/dist/{chunk-4DVYRPLL.js → chunk-ZUHD6XZZ.js} +43 -43
- package/dist/{chunk-BQ6J6P3K.js → chunk-ZW5SZ3TH.js} +12 -12
- package/dist/{cli-D-xw8Sp1.d.ts → cli-cZyANcmY.d.ts} +3 -3
- package/dist/cli.d.ts +6 -6
- package/dist/cli.js +59 -59
- package/dist/compounding/engine.d.ts +1 -1
- package/dist/compounding/engine.js +8 -8
- 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 +8 -8
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +9 -9
- package/dist/consolidation-provenance-check.d.ts +1 -1
- package/dist/consolidation-undo.d.ts +1 -1
- package/dist/contradiction/index.d.ts +1 -1
- package/dist/contradiction/index.js +2 -2
- package/dist/{contradiction-scan-2SODRNUF.js → contradiction-scan-3FJYWS3G.js} +3 -3
- package/dist/contradiction-scan-3FJYWS3G.js.map +1 -0
- package/dist/conversation-index/backend.d.ts +1 -1
- package/dist/conversation-index/backend.js +2 -2
- package/dist/conversation-index/chunker.d.ts +1 -1
- package/dist/conversation-index/faiss-adapter.d.ts +1 -1
- package/dist/conversation-index/indexer.d.ts +1 -1
- package/dist/conversation-index/search.d.ts +1 -1
- package/dist/day-summary.d.ts +1 -1
- package/dist/delinearize.d.ts +1 -1
- package/dist/direct-answer-wiring.d.ts +1 -1
- package/dist/direct-answer.d.ts +1 -1
- package/dist/embedding-fallback.d.ts +1 -1
- package/dist/enrichment/index.d.ts +1 -1
- package/dist/entity-retrieval.d.ts +1 -1
- package/dist/entity-retrieval.js +8 -8
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +4 -4
- package/dist/extraction-faithfulness.d.ts +1 -1
- package/dist/extraction-judge-telemetry.d.ts +1 -1
- package/dist/extraction-judge-training.d.ts +1 -1
- package/dist/extraction-judge.d.ts +1 -1
- package/dist/extraction.d.ts +1 -1
- package/dist/extraction.js +2 -2
- 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-snapshot.d.ts +1 -1
- package/dist/graph.d.ts +1 -1
- package/dist/identity-continuity.d.ts +1 -1
- package/dist/importance.d.ts +1 -1
- package/dist/index.d.ts +9 -9
- package/dist/index.js +126 -126
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/engine.js +2 -2
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/index.js +2 -2
- 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 +8 -8
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +7 -7
- package/dist/maintenance/rebuild-memory-projection.js +9 -9
- package/dist/mcp-memory-inspector-app.d.ts +5 -5
- package/dist/memory-action-policy.d.ts +1 -1
- package/dist/memory-cache.d.ts +1 -1
- package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
- package/dist/memory-projection-store.d.ts +1 -1
- package/dist/memory-provenance.d.ts +1 -1
- package/dist/memory-worth-outcomes.d.ts +1 -1
- package/dist/models-json.d.ts +1 -1
- package/dist/namespaces/migrate.d.ts +2 -2
- package/dist/namespaces/migrate.js +18 -18
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/search.js +9 -9
- package/dist/namespaces/storage.d.ts +2 -2
- package/dist/namespaces/storage.js +9 -9
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +1 -1
- package/dist/operator-toolkit.js +24 -24
- package/dist/orchestration/compression-guideline-coordinator.d.ts +1 -1
- package/dist/orchestration/maintenance.d.ts +2 -2
- package/dist/orchestration/maintenance.js +12 -12
- package/dist/{orchestrator-D7ZGOQLX.d.ts → orchestrator-Xm6sK5jw.d.ts} +3 -3
- package/dist/orchestrator.d.ts +4 -4
- package/dist/orchestrator.js +82 -82
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/policy-runtime.d.ts +1 -1
- package/dist/provenance.d.ts +1 -1
- package/dist/qmd-recall-cache.d.ts +1 -1
- package/dist/qmd.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-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-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/resolve-auth-token.d.ts +1 -1
- package/dist/resume-bundles.js +2 -2
- package/dist/retrieval-agents.d.ts +1 -1
- 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/search/embed-helper.d.ts +1 -1
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/factory.js +8 -8
- package/dist/search/index.d.ts +1 -1
- package/dist/search/index.js +8 -8
- 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-7Sndms2M.d.ts → semantic-consolidation-bfXJNKVf.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 +7 -7
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +8 -8
- 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 +3 -3
- package/dist/signal.d.ts +1 -1
- package/dist/storage.d.ts +69 -97
- package/dist/storage.js +22 -6
- package/dist/summarizer.d.ts +1 -1
- package/dist/summarizer.js +2 -2
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/temporal-supersession.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 +1 -1
- 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/transfer/types.d.ts +12 -12
- package/dist/trust-score-stage.d.ts +1 -1
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-DTEFxFuL.d.ts → types-D1iBqhJA.d.ts} +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.js +8 -8
- package/package.json +2 -2
- package/src/access-observe-write-surface.ts +1007 -0
- package/src/access-service.ts +48 -794
- package/src/orchestration/self-deps.ts +9 -1
- package/src/storage/entity-store.ts +674 -0
- package/src/storage/memory-read-store.ts +756 -0
- package/src/storage.ts +111 -1191
- package/dist/chunk-L4AS7TIG.js.map +0 -1
- package/dist/chunk-THZ4WR5L.js.map +0 -1
- /package/dist/{capsule-crypto-CZJSLEFG.js.map → access-observe-write-surface.js.map} +0 -0
- /package/dist/{auto-sync-G4YKBPOU.js.map → auto-sync-RZO5ZPHR.js.map} +0 -0
- /package/dist/{contradiction-scan-2SODRNUF.js.map → capsule-crypto-FFWJ4X4A.js.map} +0 -0
- /package/dist/{chunk-M5QKGHCR.js.map → chunk-3I2IASNK.js.map} +0 -0
- /package/dist/{chunk-JBO6UBIE.js.map → chunk-4AC57RCM.js.map} +0 -0
- /package/dist/{chunk-3DOD6ICJ.js.map → chunk-4I45UZ4V.js.map} +0 -0
- /package/dist/{chunk-TAPSNIMA.js.map → chunk-5CEJH5ZN.js.map} +0 -0
- /package/dist/{chunk-CXCZ4LAI.js.map → chunk-5VWRYFQE.js.map} +0 -0
- /package/dist/{chunk-TXALJRYO.js.map → chunk-5ZKT7WTR.js.map} +0 -0
- /package/dist/{chunk-PYVZKEZZ.js.map → chunk-6DA5BBLS.js.map} +0 -0
- /package/dist/{chunk-WS6GLJ7P.js.map → chunk-6DXXIXED.js.map} +0 -0
- /package/dist/{chunk-OH66EBCS.js.map → chunk-7CFGXWYX.js.map} +0 -0
- /package/dist/{chunk-TJATYB3F.js.map → chunk-A6XCHI53.js.map} +0 -0
- /package/dist/{chunk-2MHCWXX6.js.map → chunk-BTH6MQJT.js.map} +0 -0
- /package/dist/{chunk-G7LCG56O.js.map → chunk-CXW6Y7SI.js.map} +0 -0
- /package/dist/{chunk-DS4QM6I7.js.map → chunk-EEKDRAWX.js.map} +0 -0
- /package/dist/{chunk-GAH5755F.js.map → chunk-EF3VFQC4.js.map} +0 -0
- /package/dist/{chunk-437S3G37.js.map → chunk-EJJQDP3H.js.map} +0 -0
- /package/dist/{chunk-V4C4SFZB.js.map → chunk-EVVLGYHR.js.map} +0 -0
- /package/dist/{chunk-ZJMSTFOR.js.map → chunk-GBXP62CL.js.map} +0 -0
- /package/dist/{chunk-7AL5WNPW.js.map → chunk-GG6G2RYR.js.map} +0 -0
- /package/dist/{chunk-BERWPOXU.js.map → chunk-H2T4OJNI.js.map} +0 -0
- /package/dist/{chunk-2MR3MFQB.js.map → chunk-JTYM4HPA.js.map} +0 -0
- /package/dist/{chunk-LD53WPMU.js.map → chunk-LQ6JI4VH.js.map} +0 -0
- /package/dist/{chunk-GPFXPC2V.js.map → chunk-NG2NHB4C.js.map} +0 -0
- /package/dist/{chunk-COZEVVXZ.js.map → chunk-NLXKSM46.js.map} +0 -0
- /package/dist/{chunk-VSU2NZGC.js.map → chunk-OLAVQS6S.js.map} +0 -0
- /package/dist/{chunk-ER3CCWK2.js.map → chunk-ORAK3LNZ.js.map} +0 -0
- /package/dist/{chunk-WUVUTOUV.js.map → chunk-PBZQVVLG.js.map} +0 -0
- /package/dist/{chunk-PJQMISPD.js.map → chunk-PPAEJXVF.js.map} +0 -0
- /package/dist/{chunk-KURUULFF.js.map → chunk-PRX77NPC.js.map} +0 -0
- /package/dist/{chunk-24463PIV.js.map → chunk-PS572XYO.js.map} +0 -0
- /package/dist/{chunk-U2SMR57B.js.map → chunk-REZ4TUD2.js.map} +0 -0
- /package/dist/{chunk-2QSZNTDO.js.map → chunk-RKNJBZ55.js.map} +0 -0
- /package/dist/{chunk-V5UV7BOA.js.map → chunk-SQNED75R.js.map} +0 -0
- /package/dist/{chunk-FLVL4L3L.js.map → chunk-TCKP4EHY.js.map} +0 -0
- /package/dist/{chunk-YRBXBHU7.js.map → chunk-TXV3I2O6.js.map} +0 -0
- /package/dist/{chunk-CJ276MDI.js.map → chunk-UNV6ZGTS.js.map} +0 -0
- /package/dist/{chunk-2BFLDH5F.js.map → chunk-WEPWY4HB.js.map} +0 -0
- /package/dist/{chunk-YQGHW5ML.js.map → chunk-WRFKZEO6.js.map} +0 -0
- /package/dist/{chunk-7CAJLUNW.js.map → chunk-Y4TAFMUE.js.map} +0 -0
- /package/dist/{chunk-TIFF32QK.js.map → chunk-YMGQXBPS.js.map} +0 -0
- /package/dist/{chunk-T422SYM6.js.map → chunk-ZUDM75KG.js.map} +0 -0
- /package/dist/{chunk-4DVYRPLL.js.map → chunk-ZUHD6XZZ.js.map} +0 -0
- /package/dist/{chunk-BQ6J6P3K.js.map → chunk-ZW5SZ3TH.js.map} +0 -0
package/dist/storage.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginConfig, u as MemoryStatus, h as MemoryCategory, ae as ImportanceScore, ar as MemoryLink, q as MemoryFrontmatter, F as FaithfulnessFrontmatter, J as ProvenanceSource,
|
|
1
|
+
import { M as MemoryFile, P as PluginConfig, u as MemoryStatus, h as MemoryCategory, ae as ImportanceScore, ar as MemoryLink, q as MemoryFrontmatter, F as FaithfulnessFrontmatter, J as ProvenanceSource, a7 as EntityStructuredSection, as as BufferState, at as MetaState, a2 as MemoryActionEvent, w as MemoryLifecycleEvent, X as BufferSurpriseEvent, B as BehaviorSignalEvent, a3 as CompressionGuidelineOptimizerState, aa as ContinuityIncidentOpenInput, a8 as ContinuityIncidentRecord, a9 as ContinuityIncidentCloseInput, ab as ContinuityImprovementLoop, ad as ContinuityLoopUpsertInput, ac as ContinuityLoopReviewInput, au as FileHygieneConfig, av as EntityRelationship, aw as EntityActivityEntry, E as EntityFile, ax as AccessTrackingEntry, v as MemoryProjectionCurrentState, ay as MemorySummary, aq as TopicScore, az as EntityTimelineEntry } from './types-D1iBqhJA.js';
|
|
2
2
|
import { VersioningConfig } from './page-versioning.js';
|
|
3
3
|
import { ConsolidationOperator } from './consolidation-operator.js';
|
|
4
4
|
import { ProjectedMemoryBrowseOptions, ProjectedMemoryBrowsePage, readProjectedGovernanceRecord } from './memory-projection-store.js';
|
|
@@ -294,6 +294,12 @@ interface MemoryLifecycleEventWriteOptions {
|
|
|
294
294
|
relatedMemoryIds?: string[];
|
|
295
295
|
correlationId?: string;
|
|
296
296
|
}
|
|
297
|
+
declare function parseFrontmatterStringValue(rawValue: string | undefined): string | undefined;
|
|
298
|
+
declare function parseFrontmatter(raw: string): {
|
|
299
|
+
frontmatter: MemoryFrontmatter;
|
|
300
|
+
content: string;
|
|
301
|
+
} | null;
|
|
302
|
+
declare function normalizeFrontmatterForPath(frontmatter: MemoryFrontmatter, pathRel: string, content?: string): MemoryFrontmatter;
|
|
297
303
|
/**
|
|
298
304
|
* Normalize an entity name to a canonical form.
|
|
299
305
|
* Strips non-alphanumeric chars, collapses hyphens, removes type prefix duplication.
|
|
@@ -358,7 +364,10 @@ declare class ContentHashIndex {
|
|
|
358
364
|
}
|
|
359
365
|
|
|
360
366
|
declare function normalizeAttributePairs(pairs: Record<string, string>): string;
|
|
367
|
+
declare function normalizeStructuredSectionFacts(facts: string[]): string[];
|
|
368
|
+
declare function compileEntityFacts(timeline: EntityTimelineEntry[], structuredSections: EntityStructuredSection[]): string[];
|
|
361
369
|
declare function compareEntityTimestamps(left?: string, right?: string): number;
|
|
370
|
+
declare function countEntityStructuredFacts(entity: EntityFile): number;
|
|
362
371
|
declare function fingerprintEntityStructuredFacts(entity: Pick<EntityFile, "structuredSections">): string | undefined;
|
|
363
372
|
declare function isEntitySynthesisStale(entity: EntityFile): boolean;
|
|
364
373
|
/**
|
|
@@ -372,6 +381,21 @@ declare function parseEntityFile(content: string, entitySchemas?: PluginConfig["
|
|
|
372
381
|
* with the legacy in-memory `summary` and `facts` fields.
|
|
373
382
|
*/
|
|
374
383
|
declare function serializeEntityFile(entity: EntityFile, entitySchemas?: PluginConfig["entitySchemas"]): string;
|
|
384
|
+
declare function buildEntitySchemaCacheKey(entitySchemas?: PluginConfig["entitySchemas"]): string;
|
|
385
|
+
/**
|
|
386
|
+
* Full-schema type guard for a `BUFFER_SURPRISE` telemetry row
|
|
387
|
+
* (issue #563 PR 3).
|
|
388
|
+
*
|
|
389
|
+
* The reader applies `limit` over the count of VALID rows, so
|
|
390
|
+
* applying only a partial check (e.g. "has a finite surpriseScore")
|
|
391
|
+
* and then deferring the rest of validation to
|
|
392
|
+
* `reportBufferSurpriseDistribution` would silently count
|
|
393
|
+
* schema-incomplete rows toward the limit, pushing genuinely-valid
|
|
394
|
+
* earlier rows out of the report window. Validate everything the
|
|
395
|
+
* downstream report requires at read time so the limit semantics and
|
|
396
|
+
* the distribution semantics stay consistent.
|
|
397
|
+
*/
|
|
398
|
+
declare function isValidBufferSurpriseEvent(value: unknown): value is BufferSurpriseEvent;
|
|
375
399
|
/** Result of {@link StorageManager.writeMemory} (issue #1645). Carries the
|
|
376
400
|
* persisted id PLUS the non-resurrection tombstone-block outcome (#1579) so
|
|
377
401
|
* post-write callers can observe it — NEVER a silent no-op (rule 34). */
|
|
@@ -388,19 +412,40 @@ declare class StorageManager {
|
|
|
388
412
|
private readonly baseDir;
|
|
389
413
|
private readonly entitySchemas?;
|
|
390
414
|
private knowledgeIndexCache;
|
|
391
|
-
private static readonly KNOWLEDGE_INDEX_CACHE_TTL_MS;
|
|
392
415
|
private artifactIndexCache;
|
|
393
|
-
|
|
416
|
+
/** Read by storage/entity-store.ts (decomposition), hence not `private`. */
|
|
417
|
+
static readonly KNOWLEDGE_INDEX_CACHE_TTL_MS = 600000;
|
|
418
|
+
/** Read by storage/memory-read-store.ts (decomposition). */
|
|
419
|
+
static readonly ARTIFACT_INDEX_CACHE_TTL_MS = 60000;
|
|
394
420
|
private static readonly artifactWriteVersionByDir;
|
|
395
421
|
private static readonly memoryStatusVersionByDir;
|
|
396
422
|
private static readonly secureStoreEntityCacheKeyIds;
|
|
397
423
|
private static nextSecureStoreEntityCacheKeyId;
|
|
398
424
|
private static readonly coldWriteVersionByDir;
|
|
399
425
|
private static readonly allMemoriesInFlight;
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
426
|
+
/** Read by storage/memory-read-store.ts (decomposition). */
|
|
427
|
+
static readonly COLD_SCAN_CACHE_TTL_MS = 30000;
|
|
428
|
+
/** Read by storage/memory-read-store.ts (decomposition). */
|
|
429
|
+
static readonly coldMemoriesCache: Map<string, {
|
|
430
|
+
memories: MemoryFile[];
|
|
431
|
+
loadedAt: number;
|
|
432
|
+
coldVersion: number;
|
|
433
|
+
}>;
|
|
434
|
+
/** Read by storage/memory-read-store.ts (decomposition). */
|
|
435
|
+
static readonly QUESTIONS_CACHE_TTL_MS = 60000;
|
|
436
|
+
/** Read by storage/memory-read-store.ts (decomposition). */
|
|
437
|
+
static readonly questionsCache: Map<string, {
|
|
438
|
+
questions: Array<{
|
|
439
|
+
id: string;
|
|
440
|
+
question: string;
|
|
441
|
+
context: string;
|
|
442
|
+
priority: number;
|
|
443
|
+
resolved: boolean;
|
|
444
|
+
created: string;
|
|
445
|
+
filePath: string;
|
|
446
|
+
}>;
|
|
447
|
+
loadedAt: number;
|
|
448
|
+
}>;
|
|
404
449
|
private factHashIndex;
|
|
405
450
|
private factHashIndexLoadPromise;
|
|
406
451
|
private factHashIndexAuthoritative;
|
|
@@ -498,7 +543,23 @@ declare class StorageManager {
|
|
|
498
543
|
*/
|
|
499
544
|
snapshotForProvenance(filePath: string): Promise<string | null>;
|
|
500
545
|
constructor(baseDir: string, entitySchemas?: PluginConfig["entitySchemas"]);
|
|
546
|
+
/**
|
|
547
|
+
* The LIVE class object of this instance (issue #1809 review of the
|
|
548
|
+
* storage decomposition): extracted store modules must read/write the
|
|
549
|
+
* shared static caches (questionsCache, coldMemoriesCache, ...) through
|
|
550
|
+
* the SAME class binding the host methods use. Referencing the imported
|
|
551
|
+
* `StorageManager` symbol from a split bundle chunk can yield a second
|
|
552
|
+
* class copy with its own statics, split-braining the caches
|
|
553
|
+
* (resolveQuestion clears copy A while readQuestions reads copy B).
|
|
554
|
+
*/
|
|
555
|
+
get storageManagerClass(): typeof StorageManager;
|
|
501
556
|
/** The root directory of this storage instance. */
|
|
557
|
+
/** MemoryReadStore (storage.ts decomposition). Lazy; selfDeps live wiring. */
|
|
558
|
+
private _memoryReadStore;
|
|
559
|
+
private get memoryReadStore();
|
|
560
|
+
/** EntityStore (storage.ts decomposition). Lazy; selfDeps live wiring. */
|
|
561
|
+
private _entityStore;
|
|
562
|
+
private get entityStore();
|
|
502
563
|
get dir(): string;
|
|
503
564
|
private identityFilePath;
|
|
504
565
|
private versionFilePath;
|
|
@@ -518,10 +579,6 @@ declare class StorageManager {
|
|
|
518
579
|
writeWearableDayTranscript(sourceId: string, date: string, serialized: string): Promise<void>;
|
|
519
580
|
/** Read a stored day transcript; null when the day has no file. */
|
|
520
581
|
readWearableDayTranscript(sourceId: string, date: string): Promise<string | null>;
|
|
521
|
-
/**
|
|
522
|
-
* List stored transcript days, newest first, optionally scoped to one
|
|
523
|
-
* source. Non-transcript files in the tree are ignored.
|
|
524
|
-
*/
|
|
525
582
|
listWearableTranscriptDays(sourceId?: string): Promise<Array<{
|
|
526
583
|
source: string;
|
|
527
584
|
date: string;
|
|
@@ -694,7 +751,6 @@ declare class StorageManager {
|
|
|
694
751
|
* store loaded last rewrite every other store's canonical entity ids.
|
|
695
752
|
*/
|
|
696
753
|
private userAliases;
|
|
697
|
-
/** Normalize an entity name using this store's alias table. */
|
|
698
754
|
normalizeEntityName(raw: string, type: string): string;
|
|
699
755
|
/**
|
|
700
756
|
* Read-only view of this store's user alias table, for call sites that
|
|
@@ -894,39 +950,12 @@ declare class StorageManager {
|
|
|
894
950
|
filePaths: string[];
|
|
895
951
|
}>;
|
|
896
952
|
private _readAllMemoriesFromDisk;
|
|
897
|
-
/**
|
|
898
|
-
* Read all memories from the cold tier by scanning the entire cold/ root
|
|
899
|
-
* tree. Previously this only scanned cold/facts/ and cold/corrections/, but
|
|
900
|
-
* structuredAttributes can appear on any MemoryCategory (preference, decision,
|
|
901
|
-
* entity, etc.). buildTierMemoryPath now routes each category to its own
|
|
902
|
-
* cold/<dir>/ subtree via the shared categoryDirName() chokepoint (issue
|
|
903
|
-
* #1546), so cold decisions/preferences/... live outside cold/facts/.
|
|
904
|
-
* Scanning the full coldRoot covers every category dir and guards against
|
|
905
|
-
* files placed in unexpected subdirectories during manual operations or future
|
|
906
|
-
* refactors.
|
|
907
|
-
*
|
|
908
|
-
* Broadened in PR #402 round-6 (Finding UTsP): scanning only facts/ and
|
|
909
|
-
* corrections/ was a narrower-than-necessary subset of the cold directory
|
|
910
|
-
* tree. Correctness trumps the minor performance difference — cold scans
|
|
911
|
-
* already happen at most once per supersession write.
|
|
912
|
-
*
|
|
913
|
-
* Used by applyTemporalSupersession so that memories already demoted to
|
|
914
|
-
* cold/ can still be marked superseded when a newer hot fact arrives.
|
|
915
|
-
*
|
|
916
|
-
* Cached with a TTL (Finding UOGi, PR #402 round-6): back-to-back
|
|
917
|
-
* structured-attribute writes in the same burst reuse the cached result
|
|
918
|
-
* instead of re-scanning the cold tree on every call. The cache is
|
|
919
|
-
* invalidated whenever a write calls invalidateAllMemoriesCache() (which
|
|
920
|
-
* covers any hot→cold demotion that changes cold-tier contents) and
|
|
921
|
-
* expires after COLD_SCAN_CACHE_TTL_MS as a safety net.
|
|
922
|
-
*/
|
|
923
953
|
readAllColdMemories(): Promise<MemoryFile[]>;
|
|
924
954
|
/**
|
|
925
955
|
* Read archived memory markdown files under archive/.
|
|
926
956
|
* Used by long-term recall fallback when hot recall has no hits.
|
|
927
957
|
*/
|
|
928
958
|
readArchivedMemories(): Promise<MemoryFile[]>;
|
|
929
|
-
/** Read a single memory file by its absolute path. Returns null if unreadable. */
|
|
930
959
|
readMemoryByPath(filePath: string): Promise<MemoryFile | null>;
|
|
931
960
|
private resolveTierRootDir;
|
|
932
961
|
private resolveMemoryDateDir;
|
|
@@ -947,7 +976,6 @@ declare class StorageManager {
|
|
|
947
976
|
archiveMemory(memory: MemoryFile, lifecycle?: MemoryLifecycleEventWriteOptions): Promise<string | null>;
|
|
948
977
|
readEntities(): Promise<string[]>;
|
|
949
978
|
readEntity(name: string): Promise<string>;
|
|
950
|
-
/** Return sorted list of entity filenames (without .md extension) */
|
|
951
979
|
listEntityNames(): Promise<string[]>;
|
|
952
980
|
/**
|
|
953
981
|
* Find an existing entity that fuzzy-matches the proposed name.
|
|
@@ -984,47 +1012,7 @@ declare class StorageManager {
|
|
|
984
1012
|
saveMeta(state: MetaState): Promise<void>;
|
|
985
1013
|
appendMemoryActionEvents(events: MemoryActionEvent[]): Promise<number>;
|
|
986
1014
|
appendMemoryLifecycleEvents(events: MemoryLifecycleEvent[]): Promise<number>;
|
|
987
|
-
/**
|
|
988
|
-
* Append a batch of `BUFFER_SURPRISE` telemetry events (issue #563 PR 3).
|
|
989
|
-
*
|
|
990
|
-
* Each event records a single buffer flush decision driven by the
|
|
991
|
-
* surprise gate. The ledger is consumed by
|
|
992
|
-
* `reportBufferSurpriseDistribution` (Doctor report) and by downstream
|
|
993
|
-
* benchmark analysis. This method is fire-and-forget by contract:
|
|
994
|
-
* callers log but do not fail the hot path if the append throws.
|
|
995
|
-
*/
|
|
996
1015
|
appendBufferSurpriseEvents(events: BufferSurpriseEvent[]): Promise<number>;
|
|
997
|
-
/**
|
|
998
|
-
* Read the buffer-surprise ledger, most recent rows last.
|
|
999
|
-
*
|
|
1000
|
-
* `limit` bounds the number of **valid rows** returned (not the
|
|
1001
|
-
* number of raw lines parsed). We parse every row, discard malformed
|
|
1002
|
-
* ones, then take the tail — so a partial/truncated trailing line
|
|
1003
|
-
* (the common failure mode after an interrupted append) cannot hide
|
|
1004
|
-
* otherwise-valid recent data above it.
|
|
1005
|
-
*
|
|
1006
|
-
* Non-positive / non-integer / non-finite limits return `[]` rather
|
|
1007
|
-
* than the entire file, matching the other ledger readers in this
|
|
1008
|
-
* class and protecting against `slice(-0.5)` → `slice(-0)` silently
|
|
1009
|
-
* devolving into an unbounded parse.
|
|
1010
|
-
*
|
|
1011
|
-
* # Performance note
|
|
1012
|
-
*
|
|
1013
|
-
* For very large ledgers (issue #563 follow-up), a tail-first reader
|
|
1014
|
-
* would avoid parsing the full file when only a recent window is
|
|
1015
|
-
* needed. We keep the full-scan implementation here because:
|
|
1016
|
-
*
|
|
1017
|
-
* - the ledger is opt-in (flag off by default), so early deployments
|
|
1018
|
-
* accumulate rows slowly;
|
|
1019
|
-
* - telemetry rows are small (~200 bytes), so even 100k rows parse
|
|
1020
|
-
* in well under a second;
|
|
1021
|
-
* - the governance archive/cleanup flow can trim the ledger when
|
|
1022
|
-
* size becomes a concern, reusing the existing maintenance hooks.
|
|
1023
|
-
*
|
|
1024
|
-
* Swap to a chunked tail-reader if production logs show this is a
|
|
1025
|
-
* hot path — leaving that work for a follow-up keeps this PR scoped
|
|
1026
|
-
* to correctness, not optimization.
|
|
1027
|
-
*/
|
|
1028
1016
|
readBufferSurpriseEvents(options?: {
|
|
1029
1017
|
limit?: number;
|
|
1030
1018
|
}): Promise<BufferSurpriseEvent[]>;
|
|
@@ -1113,9 +1101,6 @@ declare class StorageManager {
|
|
|
1113
1101
|
* Add an alias to an entity file. Deduplicates.
|
|
1114
1102
|
*/
|
|
1115
1103
|
addEntityAlias(name: string, alias: string): Promise<void>;
|
|
1116
|
-
/**
|
|
1117
|
-
* Set or rewrite the synthesis layer of an entity file.
|
|
1118
|
-
*/
|
|
1119
1104
|
updateEntitySynthesis(name: string, synthesis: string, options?: {
|
|
1120
1105
|
entityUpdatedAt?: string;
|
|
1121
1106
|
synthesisStructuredFactCount?: number;
|
|
@@ -1135,10 +1120,6 @@ declare class StorageManager {
|
|
|
1135
1120
|
total: number;
|
|
1136
1121
|
migrated: number;
|
|
1137
1122
|
}>;
|
|
1138
|
-
/**
|
|
1139
|
-
* Read all entity files and return lightweight EntityFile objects.
|
|
1140
|
-
* Parsing is fast (~50-100ms for ~1,800 files) since entity files are small.
|
|
1141
|
-
*/
|
|
1142
1123
|
readAllEntityFiles(): Promise<EntityFile[]>;
|
|
1143
1124
|
/**
|
|
1144
1125
|
* Score an entity based on recency, frequency, activity, type priority,
|
|
@@ -1147,10 +1128,6 @@ declare class StorageManager {
|
|
|
1147
1128
|
* score = recency*0.40 + frequency*0.25 + activity*0.15 + typePriority*0.10 + relationshipDensity*0.10
|
|
1148
1129
|
*/
|
|
1149
1130
|
static scoreEntity(entity: EntityFile, now: Date): number;
|
|
1150
|
-
/**
|
|
1151
|
-
* Build the Knowledge Index: a compact markdown table of top-scored entities.
|
|
1152
|
-
* Respects maxEntities and maxChars limits from config.
|
|
1153
|
-
*/
|
|
1154
1131
|
buildKnowledgeIndex(config: PluginConfig, overrides?: {
|
|
1155
1132
|
maxEntities?: number;
|
|
1156
1133
|
maxChars?: number;
|
|
@@ -1162,11 +1139,6 @@ declare class StorageManager {
|
|
|
1162
1139
|
invalidateKnowledgeIndexCache(): void;
|
|
1163
1140
|
/** Max lines for profile.md before LLM consolidation triggers */
|
|
1164
1141
|
private static readonly PROFILE_MAX_LINES;
|
|
1165
|
-
/**
|
|
1166
|
-
* Merge fragmented entity files that resolve to the same canonical name.
|
|
1167
|
-
* Preserves relationships, activity, aliases, and summary from all fragments.
|
|
1168
|
-
* Returns count of files merged.
|
|
1169
|
-
*/
|
|
1170
1142
|
mergeFragmentedEntities(): Promise<number>;
|
|
1171
1143
|
cleanExpiredCommitments(decayDays: number): Promise<MemoryFile[]>;
|
|
1172
1144
|
/**
|
|
@@ -1271,4 +1243,4 @@ declare class StorageManager {
|
|
|
1271
1243
|
private appendGeneratedMemoryLifecycleEventFailOpen;
|
|
1272
1244
|
}
|
|
1273
1245
|
|
|
1274
|
-
export { ContentHashIndex, type MemoryLifecycleEventWriteOptions, type MemoryWriteResult, type ReextractJobRequest, StorageManager, compareEntityTimestamps, fingerprintEntityStructuredFacts, isEntitySynthesisStale, normalizeAttributePairs, normalizeEntityName, parseEntityFile, serializeEntityFile };
|
|
1246
|
+
export { ContentHashIndex, type MemoryLifecycleEventWriteOptions, type MemoryWriteResult, type ReextractJobRequest, StorageManager, buildEntitySchemaCacheKey, compareEntityTimestamps, compileEntityFacts, countEntityStructuredFacts, fingerprintEntityStructuredFacts, isEntitySynthesisStale, isValidBufferSurpriseEvent, normalizeAttributePairs, normalizeEntityName, normalizeFrontmatterForPath, normalizeStructuredSectionFacts, parseEntityFile, parseFrontmatter, parseFrontmatterStringValue, serializeEntityFile };
|
package/dist/storage.js
CHANGED
|
@@ -1,39 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ContentHashIndex,
|
|
3
3
|
StorageManager,
|
|
4
|
+
buildEntitySchemaCacheKey,
|
|
4
5
|
compareEntityTimestamps,
|
|
6
|
+
compileEntityFacts,
|
|
7
|
+
countEntityStructuredFacts,
|
|
5
8
|
fingerprintEntityStructuredFacts,
|
|
6
9
|
isEntitySynthesisStale,
|
|
10
|
+
isValidBufferSurpriseEvent,
|
|
7
11
|
normalizeAttributePairs,
|
|
8
12
|
normalizeEntityName,
|
|
13
|
+
normalizeFrontmatterForPath,
|
|
14
|
+
normalizeStructuredSectionFacts,
|
|
9
15
|
parseEntityFile,
|
|
16
|
+
parseFrontmatter,
|
|
17
|
+
parseFrontmatterStringValue,
|
|
10
18
|
serializeEntityFile
|
|
11
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-7APVFQ34.js";
|
|
12
20
|
import "./chunk-M7XQSUBB.js";
|
|
13
21
|
import "./chunk-L2B3EE7B.js";
|
|
14
22
|
import "./chunk-5UZXUTVO.js";
|
|
15
23
|
import "./chunk-5GPPACXK.js";
|
|
16
24
|
import "./chunk-TKZ3AL5V.js";
|
|
17
25
|
import "./chunk-6CIAGZ6X.js";
|
|
26
|
+
import "./chunk-J6A3CX5N.js";
|
|
18
27
|
import {
|
|
19
28
|
stripAttributesSuffix
|
|
20
29
|
} from "./chunk-SVOZFLIQ.js";
|
|
21
30
|
import "./chunk-LTJAMRGI.js";
|
|
22
|
-
import "./chunk-J6A3CX5N.js";
|
|
23
31
|
import "./chunk-JS2HKKOK.js";
|
|
32
|
+
import "./chunk-RULE4VG5.js";
|
|
24
33
|
import "./chunk-SCU65EZI.js";
|
|
25
34
|
import "./chunk-MB5RSUW6.js";
|
|
26
35
|
import "./chunk-6KYMPV2O.js";
|
|
27
36
|
import "./chunk-AWJ2FHCF.js";
|
|
28
37
|
import "./chunk-42JKGUFJ.js";
|
|
29
|
-
import "./chunk-RULE4VG5.js";
|
|
30
|
-
import "./chunk-DM2T26WE.js";
|
|
31
38
|
import "./chunk-LDXUBPMO.js";
|
|
39
|
+
import "./chunk-DM2T26WE.js";
|
|
32
40
|
import "./chunk-2OZ2JEUP.js";
|
|
33
41
|
import "./chunk-AAD2ZS6P.js";
|
|
42
|
+
import "./chunk-W5H6ZRPT.js";
|
|
34
43
|
import "./chunk-G7D6GZ5J.js";
|
|
35
44
|
import "./chunk-VF4XKTX3.js";
|
|
36
|
-
import "./chunk-W5H6ZRPT.js";
|
|
37
45
|
import "./chunk-5J4OL7TJ.js";
|
|
38
46
|
import "./chunk-IQVQJJL7.js";
|
|
39
47
|
import "./chunk-VL7DP3OW.js";
|
|
@@ -42,8 +50,8 @@ import "./chunk-RGMVMVMF.js";
|
|
|
42
50
|
import "./chunk-N7RWREIQ.js";
|
|
43
51
|
import "./chunk-OEHCMALU.js";
|
|
44
52
|
import "./chunk-PHK3HARR.js";
|
|
45
|
-
import "./chunk-4DJQYKMN.js";
|
|
46
53
|
import "./chunk-5GKPFL3S.js";
|
|
54
|
+
import "./chunk-4DJQYKMN.js";
|
|
47
55
|
import "./chunk-EYIEWJNI.js";
|
|
48
56
|
import "./chunk-JUC24CTX.js";
|
|
49
57
|
import "./chunk-6MKAMLQL.js";
|
|
@@ -57,12 +65,20 @@ import "./chunk-PZ5AY32C.js";
|
|
|
57
65
|
export {
|
|
58
66
|
ContentHashIndex,
|
|
59
67
|
StorageManager,
|
|
68
|
+
buildEntitySchemaCacheKey,
|
|
60
69
|
compareEntityTimestamps,
|
|
70
|
+
compileEntityFacts,
|
|
71
|
+
countEntityStructuredFacts,
|
|
61
72
|
fingerprintEntityStructuredFacts,
|
|
62
73
|
isEntitySynthesisStale,
|
|
74
|
+
isValidBufferSurpriseEvent,
|
|
63
75
|
normalizeAttributePairs,
|
|
64
76
|
normalizeEntityName,
|
|
77
|
+
normalizeFrontmatterForPath,
|
|
78
|
+
normalizeStructuredSectionFacts,
|
|
65
79
|
parseEntityFile,
|
|
80
|
+
parseFrontmatter,
|
|
81
|
+
parseFrontmatterStringValue,
|
|
66
82
|
serializeEntityFile,
|
|
67
83
|
stripAttributesSuffix
|
|
68
84
|
};
|
package/dist/summarizer.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModelRegistry } from './model-registry.js';
|
|
2
|
-
import { P as PluginConfig, G as GatewayConfig, T as TranscriptEntry, H as HourlySummary } from './types-
|
|
2
|
+
import { P as PluginConfig, G as GatewayConfig, T as TranscriptEntry, H as HourlySummary } from './types-D1iBqhJA.js';
|
|
3
3
|
import { TranscriptManager } from './transcript.js';
|
|
4
4
|
import './types-gb_SNtjR.js';
|
|
5
5
|
import './message-parts/index.js';
|
package/dist/summarizer.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HourlySummarizer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PPAEJXVF.js";
|
|
4
4
|
import "./chunk-3FAMU5TX.js";
|
|
5
5
|
import "./chunk-PWFWCGOO.js";
|
|
6
6
|
import "./chunk-DBSMLRTO.js";
|
|
7
7
|
import "./chunk-S4DDLTPX.js";
|
|
8
8
|
import "./chunk-FF4KLI5W.js";
|
|
9
9
|
import "./chunk-O75CRYGF.js";
|
|
10
|
-
import "./chunk-VSF7AAGE.js";
|
|
11
10
|
import "./chunk-LTJAMRGI.js";
|
|
12
11
|
import "./chunk-5J4OL7TJ.js";
|
|
13
12
|
import "./chunk-IQVQJJL7.js";
|
|
@@ -15,6 +14,7 @@ import "./chunk-VL7DP3OW.js";
|
|
|
15
14
|
import "./chunk-L2EXJQJP.js";
|
|
16
15
|
import "./chunk-RGMVMVMF.js";
|
|
17
16
|
import "./chunk-N7RWREIQ.js";
|
|
17
|
+
import "./chunk-VSF7AAGE.js";
|
|
18
18
|
import "./chunk-EYIEWJNI.js";
|
|
19
19
|
import "./chunk-JUC24CTX.js";
|
|
20
20
|
import "./chunk-NU3CSQ4H.js";
|
package/dist/threading.d.ts
CHANGED
package/dist/tier-migration.d.ts
CHANGED
package/dist/tier-routing.d.ts
CHANGED
package/dist/topics.d.ts
CHANGED
package/dist/transcript.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginConfig, T as TranscriptEntry, r as Checkpoint } from './types-
|
|
1
|
+
import { P as PluginConfig, T as TranscriptEntry, r as Checkpoint } from './types-D1iBqhJA.js';
|
|
2
2
|
import { SessionIntegrityReport } from './session-integrity.js';
|
|
3
3
|
import './types-gb_SNtjR.js';
|
|
4
4
|
import './message-parts/index.js';
|
package/dist/transfer/backup.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
backupMemoryDir
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-WEPWY4HB.js";
|
|
4
4
|
import "../chunk-765K3SAT.js";
|
|
5
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-EJJQDP3H.js";
|
|
6
6
|
import "../chunk-GWTFLF2P.js";
|
|
7
7
|
import "../chunk-UKJAGEXH.js";
|
|
8
8
|
import "../chunk-FP2373TW.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exportCapsule,
|
|
3
3
|
isValidCapsuleSince
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-TCKP4EHY.js";
|
|
5
5
|
import "../chunk-WEHSQBFR.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-EJJQDP3H.js";
|
|
7
7
|
import "../chunk-GWTFLF2P.js";
|
|
8
8
|
import "../chunk-UKJAGEXH.js";
|
|
9
9
|
import "../chunk-FP2373TW.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
importCapsule
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-3I2IASNK.js";
|
|
4
4
|
import "../chunk-VF4XKTX3.js";
|
|
5
5
|
import "../chunk-WEHSQBFR.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-EJJQDP3H.js";
|
|
7
7
|
import "../chunk-GWTFLF2P.js";
|
|
8
8
|
import "../chunk-UKJAGEXH.js";
|
|
9
9
|
import "../chunk-FP2373TW.js";
|
package/dist/transfer/types.d.ts
CHANGED
|
@@ -22,23 +22,23 @@ declare const ExportManifestV1Schema: z.ZodObject<{
|
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
schemaVersion: 1;
|
|
24
24
|
createdAt: string;
|
|
25
|
-
format: "openclaw-engram-export";
|
|
26
25
|
files: {
|
|
27
26
|
path: string;
|
|
28
27
|
sha256: string;
|
|
29
28
|
bytes: number;
|
|
30
29
|
}[];
|
|
30
|
+
format: "openclaw-engram-export";
|
|
31
31
|
pluginVersion: string;
|
|
32
32
|
includesTranscripts: boolean;
|
|
33
33
|
}, {
|
|
34
34
|
schemaVersion: 1;
|
|
35
35
|
createdAt: string;
|
|
36
|
-
format: "openclaw-engram-export";
|
|
37
36
|
files: {
|
|
38
37
|
path: string;
|
|
39
38
|
sha256: string;
|
|
40
39
|
bytes: number;
|
|
41
40
|
}[];
|
|
41
|
+
format: "openclaw-engram-export";
|
|
42
42
|
pluginVersion: string;
|
|
43
43
|
includesTranscripts: boolean;
|
|
44
44
|
}>;
|
|
@@ -77,23 +77,23 @@ declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
|
78
78
|
schemaVersion: 1;
|
|
79
79
|
createdAt: string;
|
|
80
|
-
format: "openclaw-engram-export";
|
|
81
80
|
files: {
|
|
82
81
|
path: string;
|
|
83
82
|
sha256: string;
|
|
84
83
|
bytes: number;
|
|
85
84
|
}[];
|
|
85
|
+
format: "openclaw-engram-export";
|
|
86
86
|
pluginVersion: string;
|
|
87
87
|
includesTranscripts: boolean;
|
|
88
88
|
}, {
|
|
89
89
|
schemaVersion: 1;
|
|
90
90
|
createdAt: string;
|
|
91
|
-
format: "openclaw-engram-export";
|
|
92
91
|
files: {
|
|
93
92
|
path: string;
|
|
94
93
|
sha256: string;
|
|
95
94
|
bytes: number;
|
|
96
95
|
}[];
|
|
96
|
+
format: "openclaw-engram-export";
|
|
97
97
|
pluginVersion: string;
|
|
98
98
|
includesTranscripts: boolean;
|
|
99
99
|
}>;
|
|
@@ -111,12 +111,12 @@ declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
111
111
|
manifest: {
|
|
112
112
|
schemaVersion: 1;
|
|
113
113
|
createdAt: string;
|
|
114
|
-
format: "openclaw-engram-export";
|
|
115
114
|
files: {
|
|
116
115
|
path: string;
|
|
117
116
|
sha256: string;
|
|
118
117
|
bytes: number;
|
|
119
118
|
}[];
|
|
119
|
+
format: "openclaw-engram-export";
|
|
120
120
|
pluginVersion: string;
|
|
121
121
|
includesTranscripts: boolean;
|
|
122
122
|
};
|
|
@@ -128,12 +128,12 @@ declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
128
128
|
manifest: {
|
|
129
129
|
schemaVersion: 1;
|
|
130
130
|
createdAt: string;
|
|
131
|
-
format: "openclaw-engram-export";
|
|
132
131
|
files: {
|
|
133
132
|
path: string;
|
|
134
133
|
sha256: string;
|
|
135
134
|
bytes: number;
|
|
136
135
|
}[];
|
|
136
|
+
format: "openclaw-engram-export";
|
|
137
137
|
pluginVersion: string;
|
|
138
138
|
includesTranscripts: boolean;
|
|
139
139
|
};
|
|
@@ -509,12 +509,12 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
509
509
|
}, "strip", z.ZodTypeAny, {
|
|
510
510
|
schemaVersion: 2;
|
|
511
511
|
createdAt: string;
|
|
512
|
-
format: "openclaw-engram-export";
|
|
513
512
|
files: {
|
|
514
513
|
path: string;
|
|
515
514
|
sha256: string;
|
|
516
515
|
bytes: number;
|
|
517
516
|
}[];
|
|
517
|
+
format: "openclaw-engram-export";
|
|
518
518
|
pluginVersion: string;
|
|
519
519
|
includesTranscripts: boolean;
|
|
520
520
|
capsule: {
|
|
@@ -542,12 +542,12 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
542
542
|
}, {
|
|
543
543
|
schemaVersion: 2;
|
|
544
544
|
createdAt: string;
|
|
545
|
-
format: "openclaw-engram-export";
|
|
546
545
|
files: {
|
|
547
546
|
path: string;
|
|
548
547
|
sha256: string;
|
|
549
548
|
bytes: number;
|
|
550
549
|
}[];
|
|
550
|
+
format: "openclaw-engram-export";
|
|
551
551
|
pluginVersion: string;
|
|
552
552
|
includesTranscripts: boolean;
|
|
553
553
|
capsule: {
|
|
@@ -728,12 +728,12 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
728
728
|
}, "strip", z.ZodTypeAny, {
|
|
729
729
|
schemaVersion: 2;
|
|
730
730
|
createdAt: string;
|
|
731
|
-
format: "openclaw-engram-export";
|
|
732
731
|
files: {
|
|
733
732
|
path: string;
|
|
734
733
|
sha256: string;
|
|
735
734
|
bytes: number;
|
|
736
735
|
}[];
|
|
736
|
+
format: "openclaw-engram-export";
|
|
737
737
|
pluginVersion: string;
|
|
738
738
|
includesTranscripts: boolean;
|
|
739
739
|
capsule: {
|
|
@@ -761,12 +761,12 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
761
761
|
}, {
|
|
762
762
|
schemaVersion: 2;
|
|
763
763
|
createdAt: string;
|
|
764
|
-
format: "openclaw-engram-export";
|
|
765
764
|
files: {
|
|
766
765
|
path: string;
|
|
767
766
|
sha256: string;
|
|
768
767
|
bytes: number;
|
|
769
768
|
}[];
|
|
769
|
+
format: "openclaw-engram-export";
|
|
770
770
|
pluginVersion: string;
|
|
771
771
|
includesTranscripts: boolean;
|
|
772
772
|
capsule: {
|
|
@@ -806,12 +806,12 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
806
806
|
manifest: {
|
|
807
807
|
schemaVersion: 2;
|
|
808
808
|
createdAt: string;
|
|
809
|
-
format: "openclaw-engram-export";
|
|
810
809
|
files: {
|
|
811
810
|
path: string;
|
|
812
811
|
sha256: string;
|
|
813
812
|
bytes: number;
|
|
814
813
|
}[];
|
|
814
|
+
format: "openclaw-engram-export";
|
|
815
815
|
pluginVersion: string;
|
|
816
816
|
includesTranscripts: boolean;
|
|
817
817
|
capsule: {
|
|
@@ -845,12 +845,12 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
845
845
|
manifest: {
|
|
846
846
|
schemaVersion: 2;
|
|
847
847
|
createdAt: string;
|
|
848
|
-
format: "openclaw-engram-export";
|
|
849
848
|
files: {
|
|
850
849
|
path: string;
|
|
851
850
|
sha256: string;
|
|
852
851
|
bytes: number;
|
|
853
852
|
}[];
|
|
853
|
+
format: "openclaw-engram-export";
|
|
854
854
|
pluginVersion: string;
|
|
855
855
|
includesTranscripts: boolean;
|
|
856
856
|
capsule: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TrustScoreResult, TrustSignals, TrustBand, TrustScoreComponent } from './trust-score.js';
|
|
2
|
-
import { F as FaithfulnessFrontmatter, J as ProvenanceSource, K as TrustWeights } from './types-
|
|
2
|
+
import { F as FaithfulnessFrontmatter, J as ProvenanceSource, K as TrustWeights } from './types-D1iBqhJA.js';
|
|
3
3
|
import './types-gb_SNtjR.js';
|
|
4
4
|
import './message-parts/index.js';
|
|
5
5
|
|