@remnic/core 9.15.3 → 9.16.0
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 +8 -8
- package/dist/access-admin-ops-surface.js +7 -7
- package/dist/access-boundary.d.ts +8 -8
- package/dist/access-boundary.js +7 -7
- package/dist/access-cli.js +31 -30
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.d.ts +8 -8
- package/dist/access-http.js +11 -11
- package/dist/access-identity-continuity-surface.d.ts +6 -6
- package/dist/access-identity-continuity-surface.js +7 -7
- package/dist/access-lcm-surface.d.ts +8 -8
- package/dist/access-lcm-surface.js +7 -7
- package/dist/access-mcp.d.ts +8 -8
- package/dist/access-mcp.js +10 -10
- package/dist/access-memory-search-fanout.d.ts +2 -2
- package/dist/{access-namespace-preflight-B9e5GnyZ.d.ts → access-namespace-preflight-DwhEFYy3.d.ts} +1 -1
- package/dist/access-namespace-preflight.d.ts +3 -3
- package/dist/access-namespace-preflight.js +7 -7
- package/dist/access-observe-write-surface.d.ts +8 -8
- package/dist/access-observe-write-surface.js +7 -7
- package/dist/access-operations-batch.js +8 -8
- package/dist/access-operations.d.ts +8 -8
- package/dist/access-operations.js +9 -9
- package/dist/access-recall-concurrency.d.ts +8 -8
- package/dist/access-recall-concurrency.js +7 -7
- package/dist/access-recall-response.d.ts +8 -8
- package/dist/access-recall-response.js +7 -7
- package/dist/access-recall-surface.d.ts +8 -8
- package/dist/access-recall-surface.js +7 -7
- package/dist/{access-service-DgmJd_A-.d.ts → access-service-CSq1Wp2Z.d.ts} +6 -6
- package/dist/access-service.d.ts +8 -8
- package/dist/access-service.js +7 -7
- package/dist/access-surface-catalog.d.ts +8 -8
- package/dist/action-confidence.d.ts +1 -1
- package/dist/active-memory-bridge.d.ts +1 -1
- package/dist/active-recall.d.ts +1 -1
- package/dist/active-recall.js +2 -1
- package/dist/active-recall.js.map +1 -1
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +6 -6
- package/dist/briefing.d.ts +2 -2
- package/dist/briefing.js +3 -3
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer.d.ts +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/{catalog-g_dfT6oL.d.ts → catalog-B9uga4sG.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 +4 -4
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/{chunk-IRX5UCGN.js → chunk-2OH3ZRYH.js} +3 -3
- package/dist/{chunk-YXTSUIXC.js → chunk-5EKOBRCA.js} +6 -1
- package/dist/chunk-5EKOBRCA.js.map +1 -0
- package/dist/{chunk-42DJZZUB.js → chunk-7LXSPIVG.js} +2 -2
- package/dist/{chunk-47WFEKT7.js → chunk-7PK4W4RN.js} +2 -2
- package/dist/{chunk-O7ACJAHR.js → chunk-7YJLCNPF.js} +2 -2
- package/dist/{chunk-6EJL2O3G.js → chunk-AFH7PIFU.js} +2 -2
- package/dist/{chunk-JN4N2TMQ.js → chunk-ANGUOE2N.js} +7 -7
- package/dist/{chunk-GQOKO77V.js → chunk-AWT7SCWQ.js} +2 -2
- package/dist/{chunk-PXJEL55X.js → chunk-BIRPR5N7.js} +2 -2
- package/dist/{chunk-NAY25BGS.js → chunk-BTK2PIFL.js} +6 -6
- package/dist/{chunk-SYCVU556.js → chunk-C2RMQRPN.js} +3 -3
- package/dist/{chunk-T4EAQPQQ.js → chunk-G2WCVFDC.js} +2 -2
- package/dist/{chunk-UJIBXOJA.js → chunk-GEDBTSYU.js} +5 -5
- package/dist/{chunk-CXFVZ3PK.js → chunk-GRJ5UOFO.js} +84 -658
- package/dist/chunk-GRJ5UOFO.js.map +1 -0
- package/dist/chunk-GSQASASV.js +429 -0
- package/dist/chunk-GSQASASV.js.map +1 -0
- package/dist/{chunk-WIKOHCQZ.js → chunk-I6ODVWQB.js} +2 -2
- package/dist/{chunk-H4MDUPER.js → chunk-IZHXSLO7.js} +2 -2
- package/dist/{chunk-RRS5CDB6.js → chunk-JOCXI2O5.js} +2 -2
- package/dist/{chunk-EEUZQQRJ.js → chunk-KGKYTCDO.js} +2 -2
- package/dist/{chunk-JTW4TGPV.js → chunk-L3HAUO7K.js} +2 -2
- package/dist/{chunk-P53HGVJS.js → chunk-LMVAIZR5.js} +2 -2
- package/dist/{chunk-KLXG4BBO.js → chunk-M6TZQDTX.js} +2 -2
- package/dist/{chunk-FJ5IQ3SI.js → chunk-N7DK67GZ.js} +1 -1
- package/dist/chunk-N7DK67GZ.js.map +1 -0
- package/dist/{chunk-U6QWUFSM.js → chunk-OXT5TQDS.js} +2 -2
- package/dist/{chunk-T4OTDMX4.js → chunk-QDTEH6BS.js} +2 -2
- package/dist/{chunk-5MDE5MIC.js → chunk-SESF64QR.js} +2 -2
- package/dist/{chunk-4E5H4FPC.js → chunk-TUNI4GB3.js} +3 -3
- package/dist/{chunk-XJT6LNLY.js → chunk-V6LYAXGW.js} +834 -25
- package/dist/chunk-V6LYAXGW.js.map +1 -0
- package/dist/{chunk-5HFIHWOF.js → chunk-VLIY55Q5.js} +17 -17
- package/dist/{chunk-BNH2VVWP.js → chunk-WIS5JTJR.js} +2 -2
- package/dist/{chunk-OOGGUXAG.js → chunk-WQ2I6ODB.js} +2 -2
- package/dist/{cli-BXCd2cgK.d.ts → cli-DYLGXxuu.d.ts} +5 -5
- package/dist/cli.d.ts +10 -10
- package/dist/cli.js +25 -24
- package/dist/compounding/engine.d.ts +2 -2
- package/dist/compounding/engine.js +3 -3
- package/dist/compounding/preference-consolidator.d.ts +1 -1
- package/dist/compression-optimizer.d.ts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +2 -1
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +3 -3
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +3 -3
- 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/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/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 +2 -2
- package/dist/entity-retrieval.js +3 -3
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +6 -6
- 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/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/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 +289 -99
- package/dist/index.js +70 -45
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/tools.d.ts +1 -1
- package/dist/lifecycle.d.ts +1 -1
- package/dist/live-connectors-runner.d.ts +1 -1
- package/dist/local-llm.d.ts +1 -1
- package/dist/local-model-endpoint.d.ts +1 -1
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/maintenance/memory-governance.js +3 -3
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +3 -3
- package/dist/maintenance/rebuild-memory-projection.js +4 -4
- package/dist/mcp-memory-inspector-app.d.ts +8 -8
- 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 +2 -2
- package/dist/models-json.d.ts +1 -1
- package/dist/namespaces/migrate.d.ts +3 -3
- package/dist/namespaces/migrate.js +4 -4
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/storage.d.ts +3 -3
- package/dist/namespaces/storage.js +3 -3
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/offline-sync-impression-drain.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +2 -2
- package/dist/operator-toolkit.js +9 -8
- package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
- package/dist/orchestration/maintenance.d.ts +10 -7
- package/dist/orchestration/maintenance.js +7 -6
- package/dist/{orchestrator-BHfWtvEJ.d.ts → orchestrator-BHx-DWCa.d.ts} +7 -5
- package/dist/orchestrator.d.ts +6 -6
- package/dist/orchestrator.js +31 -30
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/{pipeline-CBYcnmDC.d.ts → pipeline-DDHSE876.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/{qmd-BIq-jrV4.d.ts → qmd-C4WVh6BM.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/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/resolve-auth-token.d.ts +1 -1
- package/dist/resume-bundles.js +3 -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-DDno-uvy.d.ts → scope-profiles-EqMXwzCz.d.ts} +1 -1
- package/dist/search/embed-helper.d.ts +1 -1
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/index.d.ts +1 -1
- package/dist/search/lancedb-backend.d.ts +1 -1
- package/dist/search/meilisearch-backend.d.ts +1 -1
- package/dist/search/noop-backend.d.ts +1 -1
- package/dist/search/orama-backend.d.ts +1 -1
- package/dist/search/port.d.ts +1 -1
- package/dist/search/remote-backend.d.ts +1 -1
- package/dist/{semantic-consolidation-7RIJFDwY.d.ts → semantic-consolidation-CYpvwmQc.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +4 -4
- package/dist/semantic-rule-promotion.js +3 -3
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +3 -3
- package/dist/session-observer-bands.d.ts +1 -1
- package/dist/session-observer-state.d.ts +1 -1
- package/dist/shared-context/manager.d.ts +1 -1
- package/dist/signal.d.ts +1 -1
- package/dist/{storage-DkphZiOJ.d.ts → storage-Dxd7zVZH.d.ts} +1 -1
- package/dist/storage.d.ts +2 -2
- package/dist/storage.js +2 -2
- package/dist/summarizer.d.ts +1 -1
- package/dist/summary-snapshot.d.ts +1 -1
- 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/trust-score-stage.d.ts +1 -1
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-2q_MRFcM.d.ts → types-OUCJALBK.d.ts} +98 -1
- 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 +3 -3
- package/dist/write-envelope.d.ts +1 -1
- package/package.json +2 -2
- package/src/activity/config.test.ts +113 -0
- package/src/activity/config.ts +111 -0
- package/src/activity/digest.ts +2 -2
- package/src/activity/index.ts +6 -0
- package/src/activity/pipeline.test.ts +379 -0
- package/src/activity/pipeline.ts +223 -0
- package/src/activity/reindex.test.ts +97 -0
- package/src/activity/reindex.ts +40 -0
- package/src/activity/runner.test.ts +452 -0
- package/src/activity/runner.ts +237 -0
- package/src/activity/scheduler.test.ts +303 -0
- package/src/activity/scheduler.ts +147 -0
- package/src/activity/source-client.test.ts +208 -0
- package/src/activity/source-client.ts +159 -0
- package/src/activity/sync-registration.test.ts +134 -0
- package/src/activity/sync-registration.ts +139 -0
- package/src/activity/types.ts +17 -0
- package/src/config.test.ts +19 -0
- package/src/config.ts +3 -0
- package/src/orchestration/maintenance.test.ts +42 -42
- package/src/orchestration/maintenance.ts +37 -5
- package/src/orchestration/orchestrator-helpers.ts +36 -1
- package/src/orchestration/recall-internal.ts +6 -6
- package/src/orchestration/recall-search-pipeline.ts +15 -7
- package/src/orchestrator-background-writes.test.ts +2 -2
- package/src/orchestrator.ts +3 -3
- package/src/types.ts +4 -1
- package/dist/chunk-CXFVZ3PK.js.map +0 -1
- package/dist/chunk-FJ5IQ3SI.js.map +0 -1
- package/dist/chunk-XJT6LNLY.js.map +0 -1
- package/dist/chunk-YXTSUIXC.js.map +0 -1
- /package/dist/{chunk-IRX5UCGN.js.map → chunk-2OH3ZRYH.js.map} +0 -0
- /package/dist/{chunk-42DJZZUB.js.map → chunk-7LXSPIVG.js.map} +0 -0
- /package/dist/{chunk-47WFEKT7.js.map → chunk-7PK4W4RN.js.map} +0 -0
- /package/dist/{chunk-O7ACJAHR.js.map → chunk-7YJLCNPF.js.map} +0 -0
- /package/dist/{chunk-6EJL2O3G.js.map → chunk-AFH7PIFU.js.map} +0 -0
- /package/dist/{chunk-JN4N2TMQ.js.map → chunk-ANGUOE2N.js.map} +0 -0
- /package/dist/{chunk-GQOKO77V.js.map → chunk-AWT7SCWQ.js.map} +0 -0
- /package/dist/{chunk-PXJEL55X.js.map → chunk-BIRPR5N7.js.map} +0 -0
- /package/dist/{chunk-NAY25BGS.js.map → chunk-BTK2PIFL.js.map} +0 -0
- /package/dist/{chunk-SYCVU556.js.map → chunk-C2RMQRPN.js.map} +0 -0
- /package/dist/{chunk-T4EAQPQQ.js.map → chunk-G2WCVFDC.js.map} +0 -0
- /package/dist/{chunk-UJIBXOJA.js.map → chunk-GEDBTSYU.js.map} +0 -0
- /package/dist/{chunk-WIKOHCQZ.js.map → chunk-I6ODVWQB.js.map} +0 -0
- /package/dist/{chunk-H4MDUPER.js.map → chunk-IZHXSLO7.js.map} +0 -0
- /package/dist/{chunk-RRS5CDB6.js.map → chunk-JOCXI2O5.js.map} +0 -0
- /package/dist/{chunk-EEUZQQRJ.js.map → chunk-KGKYTCDO.js.map} +0 -0
- /package/dist/{chunk-JTW4TGPV.js.map → chunk-L3HAUO7K.js.map} +0 -0
- /package/dist/{chunk-P53HGVJS.js.map → chunk-LMVAIZR5.js.map} +0 -0
- /package/dist/{chunk-KLXG4BBO.js.map → chunk-M6TZQDTX.js.map} +0 -0
- /package/dist/{chunk-U6QWUFSM.js.map → chunk-OXT5TQDS.js.map} +0 -0
- /package/dist/{chunk-T4OTDMX4.js.map → chunk-QDTEH6BS.js.map} +0 -0
- /package/dist/{chunk-5MDE5MIC.js.map → chunk-SESF64QR.js.map} +0 -0
- /package/dist/{chunk-4E5H4FPC.js.map → chunk-TUNI4GB3.js.map} +0 -0
- /package/dist/{chunk-5HFIHWOF.js.map → chunk-VLIY55Q5.js.map} +0 -0
- /package/dist/{chunk-BNH2VVWP.js.map → chunk-WIS5JTJR.js.map} +0 -0
- /package/dist/{chunk-OOGGUXAG.js.map → chunk-WQ2I6ODB.js.map} +0 -0
package/dist/graph-snapshot.d.ts
CHANGED
package/dist/graph.d.ts
CHANGED
package/dist/importance.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as ImportanceLevel, M as MemoryFile, ah as ImportanceScore, w as MemoryCategory } from './types-
|
|
1
|
+
import { _ as ImportanceLevel, M as MemoryFile, ah as ImportanceScore, w as MemoryCategory } from './types-OUCJALBK.js';
|
|
2
2
|
import './message-parts/index.js';
|
|
3
3
|
import './bounded-jsonl-state.js';
|
|
4
4
|
import './types-continuity.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ export { PluginEntryResolverOptions, resolvePluginEntry } from './plugin-entry-r
|
|
|
2
2
|
export { isOpenaiApiKeyDisabled, parseConfig, resolveEnvVars } from './config.js';
|
|
3
3
|
export { resolveRemnicConfigRecord } from './config-record.js';
|
|
4
4
|
export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
|
|
5
|
-
import { S as SpeakerRegistry, W as WearablesService } from './orchestrator-
|
|
6
|
-
export { D as DEFAULT_SELF_NAME, O as Orchestrator, R as ResolvedSpeaker, a as SpeakerOverride, b as WEARABLE_SOURCE_PREFIX, c as WearableDayTranscriptView, d as WearableMemoryGenDeps, e as WearableMemoryGenResult, f as WearableMemorySearchResult, g as WearableMemoryWriter, h as WearableSearchBackend, i as WearableStorageIo, j as WearableSyncDeps, k as WearableSyncOptions, l as WearableTranscriptSearchResult, m as WearablesServiceDeps, n as buildExtractionTurns, o as dateInTimezone, p as defaultTimezone, q as defaultWorkspaceDir, r as distinctSpeakerLabels, s as emptySpeakerRegistry, t as generateWearableMemories, u as importNativeMemories, v as loadSpeakerRegistry, w as locateTranscriptPath, x as memoryStatusForMode, y as resolveSpeaker, z as resolveSyncDates, A as sanitizeSessionKeyForFilename, B as saveSpeakerRegistry, E as speakerRegistryKey, F as speakersFilePath, H as syncWearableSource, J as wearableDayTag, K as wearableSourceLabel, L as writeDailyDigestMemory } from './orchestrator-
|
|
5
|
+
import { S as SpeakerRegistry, W as WearablesService } from './orchestrator-BHx-DWCa.js';
|
|
6
|
+
export { D as DEFAULT_SELF_NAME, O as Orchestrator, R as ResolvedSpeaker, a as SpeakerOverride, b as WEARABLE_SOURCE_PREFIX, c as WearableDayTranscriptView, d as WearableMemoryGenDeps, e as WearableMemoryGenResult, f as WearableMemorySearchResult, g as WearableMemoryWriter, h as WearableSearchBackend, i as WearableStorageIo, j as WearableSyncDeps, k as WearableSyncOptions, l as WearableTranscriptSearchResult, m as WearablesServiceDeps, n as buildExtractionTurns, o as dateInTimezone, p as defaultTimezone, q as defaultWorkspaceDir, r as distinctSpeakerLabels, s as emptySpeakerRegistry, t as generateWearableMemories, u as importNativeMemories, v as loadSpeakerRegistry, w as locateTranscriptPath, x as memoryStatusForMode, y as resolveSpeaker, z as resolveSyncDates, A as sanitizeSessionKeyForFilename, B as saveSpeakerRegistry, E as speakerRegistryKey, F as speakersFilePath, H as syncWearableSource, J as wearableDayTag, K as wearableSourceLabel, L as writeDailyDigestMemory } from './orchestrator-BHx-DWCa.js';
|
|
7
7
|
export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
|
|
8
8
|
export { ModelCapabilities, ModelRegistry } from './model-registry.js';
|
|
9
9
|
export { ACTIVE_STATUSES, ContradictionFilter, ContradictionJudgeBatchResult, ContradictionJudgeInput, ContradictionJudgeResult, ContradictionListResult, ContradictionVerdict, ResolutionResult, ResolutionVerb, ScanDependencies, ScanResult, computePairId, executeResolution, isCoolingDown, isValidResolutionVerb, judgeContradictionPairs, listPairs, readPair, resolvePair, runContradictionScan, writePair, writePairs } from './contradiction/index.js';
|
|
@@ -13,8 +13,8 @@ export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecall
|
|
|
13
13
|
export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
|
|
14
14
|
export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
|
|
15
15
|
export { EventOrderRecallOptions, buildEventOrderRecallSection, shouldRecallEventOrderEvidence } from './event-order-recall.js';
|
|
16
|
-
import { b as FusionConversationInput, c as FusedSpeaker, d as FusedSegment, e as FusedDisagreement, f as FusionOptions, g as FusionDayResult, S as StorageManager } from './storage-
|
|
17
|
-
export { C as ContentHashIndex, D as DisagreementKind, h as FUSION_KIND, i as FusedContribution, j as FusedConversationProvenance, k as FusedDayFile, l as FusedDayMeta, m as FusedSegmentProvenance, a as FusedWearableConversation, n as FusionSegmentInput, M as MemoryWriteResult, o as SegmentPickReason, p as composeFusionDayMeta, q as hashFusionBody, r as parseEntityFile, s as parseFusionDay, t as serializeEntityFile, u as serializeFusionDay } from './storage-
|
|
16
|
+
import { b as FusionConversationInput, c as FusedSpeaker, d as FusedSegment, e as FusedDisagreement, f as FusionOptions, g as FusionDayResult, S as StorageManager } from './storage-Dxd7zVZH.js';
|
|
17
|
+
export { C as ContentHashIndex, D as DisagreementKind, h as FUSION_KIND, i as FusedContribution, j as FusedConversationProvenance, k as FusedDayFile, l as FusedDayMeta, m as FusedSegmentProvenance, a as FusedWearableConversation, n as FusionSegmentInput, M as MemoryWriteResult, o as SegmentPickReason, p as composeFusionDayMeta, q as hashFusionBody, r as parseEntityFile, s as parseFusionDay, t as serializeEntityFile, u as serializeFusionDay } from './storage-Dxd7zVZH.js';
|
|
18
18
|
export { AccessWriteFingerprintParts, ComposeEnvelopeOptions, FINGERPRINT_EXEMPT_FIELDS, FINGERPRINT_SCOPE_FIELDS, FingerprintScope, MemoryWriteInput, ObserveFingerprintParts, STRUCTURED_ATTRIBUTE_LIMITS, SealedMemoryEnvelope, TAG_LIMITS, WRITE_FINGERPRINT_FIELDS, WriteContext, buildAccessWriteRequestFingerprint, buildObserveRequestFingerprint, buildWriteIdempotencyPayload, composeMemoryEnvelope, isSealedMemoryEnvelope, sealedWriteToLegacyArgs } from './write-envelope.js';
|
|
19
19
|
export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
|
|
20
20
|
export { ExtractionEngine } from './extraction.js';
|
|
@@ -22,12 +22,12 @@ export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOption
|
|
|
22
22
|
export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
|
|
23
23
|
export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
|
|
24
24
|
export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
|
|
25
|
-
import { aD as CodingContext, aT as CodingModeConfig, aF as WearableConversation, P as PluginConfig, aU as CodingKnowledgeConfig, w as MemoryCategory, aV as WearableCleanupSettings, aW as WearableFusionConfig, aG as WearableSourceSettings, aK as WearablesConfig, aJ as WearableSourceConnector, aO as WearableCorrectionRule, aX as WearableDayTranscriptMeta, aN as WearableDayTranscript } from './types-
|
|
26
|
-
export { a6 as AgentAccessAuthToken, k as BriefingActiveThread,
|
|
25
|
+
import { aD as CodingContext, aT as CodingModeConfig, aF as WearableConversation, P as PluginConfig, aU as CodingKnowledgeConfig, w as MemoryCategory, aV as WearableCleanupSettings, aW as WearableFusionConfig, aG as WearableSourceSettings, aK as WearablesConfig, aJ as WearableSourceConnector, aO as WearableCorrectionRule, aX as WearableDayTranscriptMeta, aN as WearableDayTranscript, aY as ActivitySnapshot, aZ as ActivityDayMeta, a_ as ActivityDayDigest, a$ as ActivitySourceClient, b0 as ActivitySourceCheck, b1 as ActivitySnapshotPage, b2 as ActivityConfig, b3 as ActivitySourceConfig } from './types-OUCJALBK.js';
|
|
26
|
+
export { a6 as AgentAccessAuthToken, k as BriefingActiveThread, b4 as BriefingConfig, i as BriefingFocus, h as BriefingFollowup, b5 as BriefingOpenCommitment, m as BriefingRecentEntity, l as BriefingResult, B as BriefingSections, b6 as BriefingWindow, a0 as BufferSurpriseEvent, b7 as BulkImportError, a2 as BulkImportOptions, a4 as BulkImportResult, a3 as BulkImportSource, b8 as BulkImportSourceAdapter, j as CalendarEvent, C as CalendarSource, b9 as CodexCompatConfig, aS as ConsolidationObservation, ba as DEFAULT_RECALL_DISCLOSURE, E as EntityFile, ag as EntityStructuredSection, bb as ExtractedFact, G as GatewayConfig, bc as ImportSourceRole, a1 as ImportTurn, bd as ImportTurnValidationIssue, aj as MemoryActionEligibilityContext, be as MemoryActionEligibilitySource, aa as MemoryActionType, M as MemoryFile, o as MemoryFrontmatter, bf as MemoryObservation, bg as MemoryScope, bh as RECALL_DISCLOSURE_LEVELS, b as RecallDisclosure, a5 as SecretRef, bi as WearableAuthCheck, bj as WearableFetchOptions, bk as WearableFetchPage, aI as WearableMemoryMode, aH as WearableNativeMemory, bl as WearableNativeMemoryPage, aM as WearableSourceStatus, aL as WearableSyncSummary, bm as WearableTranscriptSegment, bn as isImportRole, bo as isRecallDisclosure, bp as parseIsoTimestamp, bq as validateImportTurn } from './types-OUCJALBK.js';
|
|
27
27
|
export { JudgeBatchResult, JudgeCandidate, JudgeVerdict, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
|
|
28
28
|
export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
|
|
29
|
-
import { F as EngramAccessService } from './access-service-
|
|
30
|
-
export { P as ProcedureStatsConfigSnapshot, G as ProcedureStatsRecent, H as ProcedureStatsReport, I as ProcedureStatusCounts, J as computeProcedureStats, K as formatProcedureStatsText } from './access-service-
|
|
29
|
+
import { F as EngramAccessService } from './access-service-CSq1Wp2Z.js';
|
|
30
|
+
export { P as ProcedureStatsConfigSnapshot, G as ProcedureStatsRecent, H as ProcedureStatsReport, I as ProcedureStatusCounts, J as computeProcedureStats, K as formatProcedureStatsText } from './access-service-CSq1Wp2Z.js';
|
|
31
31
|
export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
|
|
32
32
|
export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
|
|
33
33
|
export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
|
|
@@ -35,13 +35,13 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
|
|
|
35
35
|
export { USER_BOUNDARY_SCOPES, USER_CONTEXT_SCOPES, USER_MODEL_CORE_QUESTION, USER_MODEL_DIMENSIONS, UserBoundaryScope, UserContextScope, UserModelCoverage, UserModelDimension, UserModelFacet, facetHasBoundary, isUserBoundaryScope, isUserContextScope, isUserModelDimension, normalizeUserContextScope, normalizeUserModelDimension, summarizeUserModelCoverage } from './user-model.js';
|
|
36
36
|
export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
|
|
37
37
|
export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
|
|
38
|
-
export { Q as QmdClient } from './qmd-
|
|
38
|
+
export { Q as QmdClient } from './qmd-C4WVh6BM.js';
|
|
39
39
|
export { LanceDbBackend } from './search/lancedb-backend.js';
|
|
40
40
|
export { OramaBackend } from './search/orama-backend.js';
|
|
41
41
|
export { MeilisearchBackend } from './search/meilisearch-backend.js';
|
|
42
42
|
export { buildEntityRecallSection } from './entity-retrieval.js';
|
|
43
43
|
export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
|
|
44
|
-
export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-
|
|
44
|
+
export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-B9uga4sG.js';
|
|
45
45
|
export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
|
|
46
46
|
export { storagePathHash } from './storage-paths.js';
|
|
47
47
|
export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
|
|
@@ -69,8 +69,8 @@ export { initLogger, log } from './logger.js';
|
|
|
69
69
|
export { b as SemanticDedupDecision, a as SemanticDedupHit, S as SemanticDedupLookup, c as SemanticDedupOptions, d as decideSemanticDedup } from './semantic-TddhF0y7.js';
|
|
70
70
|
export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
|
|
71
71
|
export { OFFLINE_SYNC_APPLY_MAX_BODY_BYTES, OFFLINE_SYNC_CHANGESET_FORMAT, OFFLINE_SYNC_FILE_CONTENT_MAX_CHUNK_BYTES, OFFLINE_SYNC_FILE_CONTENT_TRANSFER_CHUNK_BYTES, OFFLINE_SYNC_SNAPSHOT_BASE_MAX_BODY_BYTES, OFFLINE_SYNC_SNAPSHOT_FORMAT, OFFLINE_SYNC_STATE_VERSION, OfflineSyncApplyChangesetResult, OfflineSyncApplyFileContentChunkResult, OfflineSyncApplySnapshotResult, OfflineSyncChange, OfflineSyncChangeset, OfflineSyncConflict, OfflineSyncFileContentChunk, OfflineSyncFileDigest, OfflineSyncFileRecord, OfflineSyncFileState, OfflineSyncFileTarget, OfflineSyncFileWriteTarget, OfflineSyncSnapshot, OfflineSyncState, applyOfflineSyncChangeset, applyOfflineSyncFileContentChunk, applyOfflineSyncSnapshot, buildOfflineSyncChangeset, buildOfflineSyncChangesetFromSnapshot, buildOfflineSyncSnapshot, buildOfflineSyncSnapshotForPaths, buildOfflineSyncSnapshotFromBase, compileOfflineSyncExcludeGlobs, defaultOfflineSyncStatePath, fileStatesFromSnapshot, globToRegExp, iterateOfflineSyncSnapshotFileRecords, normalizeOfflineSyncChangeset, normalizeOfflineSyncSnapshot, offlineSyncStateFromSnapshot, readOfflineSyncFileContentChunk, readOfflineSyncState, shouldPreferIncomingOfflineRuntimeFile, summarizeOfflineSyncChangeset, summarizeOfflineSyncPendingChanges, summarizeOfflineSyncPendingFiles, writeOfflineSyncState } from './offline-sync.js';
|
|
72
|
-
import { D as DiscoveredExtension } from './semantic-consolidation-
|
|
73
|
-
export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-
|
|
72
|
+
import { D as DiscoveredExtension } from './semantic-consolidation-CYpvwmQc.js';
|
|
73
|
+
export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-CYpvwmQc.js';
|
|
74
74
|
export { ConnectorCapability, ConnectorInstance, ConnectorManifest, ConnectorRegistry, DoctorCheck, DoctorResult, InstallOptions, InstallResult, MARKETPLACE_MANIFEST_FILENAME, MARKETPLACE_SCHEMA_VERSION, MarketplaceConfig, MarketplaceEntry, MarketplaceInstallResult, MarketplaceInstallType, MarketplaceLogger, MarketplaceManifest, MarketplaceValidation, RemoveResult, checkMarketplaceManifest, coerceInstallExtension, doctorConnector, generateMarketplaceManifest, getConnectorToken, installConnector, installFromMarketplace, listConnectors, loadRegistry, removeConnector, saveRegistry, validateMarketplaceManifest, writeMarketplaceManifest } from './connectors/index.js';
|
|
75
75
|
import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
|
|
76
76
|
export { c as CONNECTOR_ID_PATTERN, C as ConnectorConfig, b as ConnectorCursor, a as ConnectorDocument, d as ConnectorDocumentSource, e as SyncIncrementalArgs, i as isValidConnectorId, p as persistableConnectorConfig, r as redactConnectorConfigSecrets } from './framework-CNDn2164.js';
|
|
@@ -85,9 +85,10 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
|
|
|
85
85
|
export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
|
|
86
86
|
export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
|
|
87
87
|
export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
|
|
88
|
-
export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-
|
|
89
|
-
export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-
|
|
88
|
+
export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-DDHSE876.js';
|
|
89
|
+
export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-DYLGXxuu.js';
|
|
90
90
|
import { BetterSqlite3Database } from './runtime/better-sqlite.js';
|
|
91
|
+
import { SearchExecutionOptions } from './search/port.js';
|
|
91
92
|
export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
|
|
92
93
|
export { FallbackLlmClient, FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
|
|
93
94
|
export { ComputeMemoryWorthInput, MemoryWorthResult, computeMemoryWorth } from './memory-worth.js';
|
|
@@ -110,7 +111,6 @@ export { normalizeAttributePairs } from './structured-attributes.js';
|
|
|
110
111
|
import './bounded-jsonl-state.js';
|
|
111
112
|
import './recall-state.js';
|
|
112
113
|
import './utils/serialize-mutations.js';
|
|
113
|
-
import './search/port.js';
|
|
114
114
|
import './extraction-faithfulness.js';
|
|
115
115
|
import './local-llm.js';
|
|
116
116
|
import './resolve-provider-secret.js';
|
|
@@ -147,7 +147,7 @@ import './faiss-adapter-BHecI1fF.js';
|
|
|
147
147
|
import './runtime/child-process.js';
|
|
148
148
|
import './namespaces/storage.js';
|
|
149
149
|
import './threading.js';
|
|
150
|
-
import './scope-profiles-
|
|
150
|
+
import './scope-profiles-EqMXwzCz.js';
|
|
151
151
|
import './graph.js';
|
|
152
152
|
import './relevance.js';
|
|
153
153
|
import './negative.js';
|
|
@@ -162,7 +162,7 @@ import './lcm/queue.js';
|
|
|
162
162
|
import './policy-runtime.js';
|
|
163
163
|
import './profiling.js';
|
|
164
164
|
import './schemas.js';
|
|
165
|
-
import './access-namespace-preflight-
|
|
165
|
+
import './access-namespace-preflight-DwhEFYy3.js';
|
|
166
166
|
import './recall-explain-renderer.js';
|
|
167
167
|
import './access-citation.js';
|
|
168
168
|
import './explicit-capture.js';
|
|
@@ -6819,87 +6819,6 @@ interface WearablesCliIo {
|
|
|
6819
6819
|
*/
|
|
6820
6820
|
declare function runWearablesCliCommand(service: WearablesService, args: string[], io: WearablesCliIo): Promise<number>;
|
|
6821
6821
|
|
|
6822
|
-
/**
|
|
6823
|
-
* Screen-activity subsystem — shared types (issue #1899).
|
|
6824
|
-
*
|
|
6825
|
-
* A third ingestion modality alongside wearables (conversations) and live
|
|
6826
|
-
* connectors (documents). Screen text has no speakers and is high-volume, so it
|
|
6827
|
-
* gets its own store and day-digest rather than being forced into the wearable
|
|
6828
|
-
* conversation shape. Capture daemons live in the à-la-carte `@remnic/capture-screen`
|
|
6829
|
-
* package; this core subsystem is host-agnostic and consumes snapshots over a
|
|
6830
|
-
* loopback HTTP client.
|
|
6831
|
-
*
|
|
6832
|
-
* All timestamps are UTC ISO-8601; day bucketing is half-open [start, end).
|
|
6833
|
-
*/
|
|
6834
|
-
/** One captured on-screen text snapshot (a single window at a single instant). */
|
|
6835
|
-
interface ActivitySnapshot {
|
|
6836
|
-
/** Store row id (assigned on insert; absent before persistence). */
|
|
6837
|
-
id?: number;
|
|
6838
|
-
/** Capture-machine label (disambiguates multi-machine stores). */
|
|
6839
|
-
machine: string;
|
|
6840
|
-
/** UTC ISO-8601 capture instant. */
|
|
6841
|
-
capturedAtUtc: string;
|
|
6842
|
-
/** Frontmost application name. */
|
|
6843
|
-
app: string;
|
|
6844
|
-
/** Frontmost window title. */
|
|
6845
|
-
windowTitle: string;
|
|
6846
|
-
/** Browser tab URL, when the frontmost window is a known browser. */
|
|
6847
|
-
browserUrl?: string;
|
|
6848
|
-
/** Extracted visible text (accessibility tree or OCR). */
|
|
6849
|
-
text: string;
|
|
6850
|
-
/** Where the text came from. */
|
|
6851
|
-
textSource: "ax" | "ocr";
|
|
6852
|
-
/** SHA-256 of the normalized snapshot content (idempotency key). */
|
|
6853
|
-
contentHash: string;
|
|
6854
|
-
/** 64-bit SimHash (hex) for near-duplicate detection, when computed. */
|
|
6855
|
-
simhash?: string;
|
|
6856
|
-
}
|
|
6857
|
-
/** Frontmatter persisted on a rendered day digest. */
|
|
6858
|
-
interface ActivityDayMeta {
|
|
6859
|
-
kind: "activity-digest";
|
|
6860
|
-
/** Local day, YYYY-MM-DD. */
|
|
6861
|
-
date: string;
|
|
6862
|
-
/** Machines that contributed snapshots, sorted. */
|
|
6863
|
-
machines: string[];
|
|
6864
|
-
snapshotCount: number;
|
|
6865
|
-
/** SHA-256 of the rendered body (rebuild-idempotency). */
|
|
6866
|
-
contentHash: string;
|
|
6867
|
-
formatVersion: number;
|
|
6868
|
-
}
|
|
6869
|
-
/** A parsed day digest (frontmatter + rendered body). */
|
|
6870
|
-
interface ActivityDayDigest {
|
|
6871
|
-
meta: ActivityDayMeta;
|
|
6872
|
-
body: string;
|
|
6873
|
-
}
|
|
6874
|
-
/** Result of a capture-daemon auth/health probe. */
|
|
6875
|
-
interface ActivitySourceCheck {
|
|
6876
|
-
ok: boolean;
|
|
6877
|
-
detail?: string;
|
|
6878
|
-
}
|
|
6879
|
-
/** One page of snapshots pulled from a capture daemon. */
|
|
6880
|
-
interface ActivitySnapshotPage {
|
|
6881
|
-
snapshots: ActivitySnapshot[];
|
|
6882
|
-
nextCursor: string | null;
|
|
6883
|
-
}
|
|
6884
|
-
/**
|
|
6885
|
-
* Client contract for a screen-capture daemon (one per capture machine).
|
|
6886
|
-
* Implemented by a later slice (the HTTP source client); defined here so the
|
|
6887
|
-
* store and pipeline can be built and tested against a fixture double first.
|
|
6888
|
-
*/
|
|
6889
|
-
interface ActivitySourceClient {
|
|
6890
|
-
/** Stable capture-machine label. */
|
|
6891
|
-
machineLabel: string;
|
|
6892
|
-
/** Probe connectivity/auth without mutating anything. */
|
|
6893
|
-
verify(signal?: AbortSignal): Promise<ActivitySourceCheck>;
|
|
6894
|
-
/** Fetch one page of snapshots for a single local day. */
|
|
6895
|
-
fetchSnapshots(opts: {
|
|
6896
|
-
date: string;
|
|
6897
|
-
timezone: string;
|
|
6898
|
-
cursor?: string | null;
|
|
6899
|
-
signal?: AbortSignal;
|
|
6900
|
-
}): Promise<ActivitySnapshotPage>;
|
|
6901
|
-
}
|
|
6902
|
-
|
|
6903
6822
|
/**
|
|
6904
6823
|
* Screen-activity SQLite store (issue #1899).
|
|
6905
6824
|
*
|
|
@@ -6960,6 +6879,7 @@ declare const ACTIVITY_DIGEST_FORMAT_VERSION = 1;
|
|
|
6960
6879
|
declare const ACTIVITY_DIR_NAME = "activity";
|
|
6961
6880
|
declare function isValidActivityDate(date: string): boolean;
|
|
6962
6881
|
declare function activityDigestPath(memoryDir: string, date: string): string;
|
|
6882
|
+
declare function assertValidTimezone(timezone: string): void;
|
|
6963
6883
|
/** Half-open [start, end) UTC ISO bounds of a local day. */
|
|
6964
6884
|
declare function activityDayWindow(date: string, timezone: string): {
|
|
6965
6885
|
startUtc: string;
|
|
@@ -6971,6 +6891,276 @@ declare function composeActivityDigestMeta(date: string, machines: string[], sna
|
|
|
6971
6891
|
declare function serializeActivityDigest(meta: ActivityDayMeta, body: string): string;
|
|
6972
6892
|
declare function parseActivityDigest(raw: string): ActivityDayDigest | null;
|
|
6973
6893
|
|
|
6894
|
+
/**
|
|
6895
|
+
* Sync cursors are scoped per (machine, local day): each date resumes its own
|
|
6896
|
+
* pagination independently, so a multi-day window never inherits an earlier
|
|
6897
|
+
* day's cursor (which could skip backfill). Encoded into the store's single
|
|
6898
|
+
* key column with a NUL separator that cannot occur in a machine label.
|
|
6899
|
+
*/
|
|
6900
|
+
declare function activityCursorKey(machine: string, date: string): string;
|
|
6901
|
+
interface ActivitySyncOptions {
|
|
6902
|
+
date: string;
|
|
6903
|
+
timezone: string;
|
|
6904
|
+
memoryDir: string;
|
|
6905
|
+
store: ActivityStore;
|
|
6906
|
+
signal?: AbortSignal;
|
|
6907
|
+
/** Runaway-pagination guard; defaults to MAX_SYNC_PAGES. */
|
|
6908
|
+
maxPages?: number;
|
|
6909
|
+
/**
|
|
6910
|
+
* Search-index refresh, run after a digest is (re)written so the durable
|
|
6911
|
+
* markdown becomes discoverable (AGENTS.md rule 31; the digest lives in the
|
|
6912
|
+
* QMD collection root but bypasses the extraction->persist->index pipeline).
|
|
6913
|
+
* Host-agnostic: the caller injects the core index seam (SearchBackend.update).
|
|
6914
|
+
* Best-effort — a failure never fails the sync (rows/digest are durable and
|
|
6915
|
+
* index on the next update); it surfaces as `reindexError`.
|
|
6916
|
+
*/
|
|
6917
|
+
afterWrites?: (signal?: AbortSignal) => Promise<void>;
|
|
6918
|
+
}
|
|
6919
|
+
interface ActivitySyncResult {
|
|
6920
|
+
machine: string;
|
|
6921
|
+
fetched: number;
|
|
6922
|
+
inserted: number;
|
|
6923
|
+
duplicates: number;
|
|
6924
|
+
cursor: string | null;
|
|
6925
|
+
digestWritten: boolean;
|
|
6926
|
+
/** Set when the post-write reindex threw; the sync still succeeded. */
|
|
6927
|
+
reindexError?: string;
|
|
6928
|
+
}
|
|
6929
|
+
/**
|
|
6930
|
+
* Pull one source's local-day snapshots and persist its cursor only after every
|
|
6931
|
+
* page and the derived digest are durable. Replays after a partial failure are
|
|
6932
|
+
* safe because ActivityStore deduplicates an exact captured snapshot.
|
|
6933
|
+
*/
|
|
6934
|
+
declare function syncActivitySource(source: ActivitySourceClient, options: ActivitySyncOptions): Promise<ActivitySyncResult>;
|
|
6935
|
+
|
|
6936
|
+
interface ActivityHttpSourceClientOptions {
|
|
6937
|
+
machineLabel: string;
|
|
6938
|
+
baseUrl: string;
|
|
6939
|
+
token?: string;
|
|
6940
|
+
/** Per-request timeout in ms; defaults to DEFAULT_REQUEST_TIMEOUT_MS. */
|
|
6941
|
+
timeoutMs?: number;
|
|
6942
|
+
}
|
|
6943
|
+
declare class ActivityHttpSourceClient implements ActivitySourceClient {
|
|
6944
|
+
readonly machineLabel: string;
|
|
6945
|
+
private readonly baseUrl;
|
|
6946
|
+
private readonly token;
|
|
6947
|
+
private readonly timeoutMs;
|
|
6948
|
+
constructor(options: ActivityHttpSourceClientOptions);
|
|
6949
|
+
private request;
|
|
6950
|
+
verify(signal?: AbortSignal): Promise<ActivitySourceCheck>;
|
|
6951
|
+
fetchSnapshots(opts: {
|
|
6952
|
+
date: string;
|
|
6953
|
+
timezone: string;
|
|
6954
|
+
cursor?: string | null;
|
|
6955
|
+
signal?: AbortSignal;
|
|
6956
|
+
}): Promise<ActivitySnapshotPage>;
|
|
6957
|
+
}
|
|
6958
|
+
|
|
6959
|
+
/**
|
|
6960
|
+
* Host-agnostic activity sync runner (issue #1900).
|
|
6961
|
+
*
|
|
6962
|
+
* Bridges parsed `config.activity` to the durable sync pipeline: the parser
|
|
6963
|
+
* (config.ts) validates settings but never contacts a daemon, and
|
|
6964
|
+
* `syncActivitySource` (pipeline.ts) syncs one source for one day. This runner
|
|
6965
|
+
* is the missing middle — it instantiates one `ActivityHttpSourceClient` per
|
|
6966
|
+
* configured source from the parsed config and drives a sync across the
|
|
6967
|
+
* `syncDays` local-day window, but ONLY when the feature is enabled.
|
|
6968
|
+
*
|
|
6969
|
+
* The feature is master default-off: source config alone never starts a sync.
|
|
6970
|
+
* When `config.enabled` is false the runner opens no store, builds no client,
|
|
6971
|
+
* and makes no HTTP call or write — it returns a disabled summary. This mirrors
|
|
6972
|
+
* `runLiveConnectorsOnce`'s disabled-vs-result reporting so a host scheduler
|
|
6973
|
+
* (CLI, cron) can trigger it through the runtime with no OpenClaw imports.
|
|
6974
|
+
*
|
|
6975
|
+
* Cursor semantics are delegated wholesale to `syncActivitySource`: the
|
|
6976
|
+
* per-machine cursor advances only after every page and the digest are durable,
|
|
6977
|
+
* so a runtime failure (or an aborted stop) leaves the cursor unadvanced and a
|
|
6978
|
+
* restart resumes from the persisted position. A per-source failure is captured
|
|
6979
|
+
* as an error item and never aborts the other sources or the host flow.
|
|
6980
|
+
*/
|
|
6981
|
+
|
|
6982
|
+
type ActivityNow = Date | (() => Date);
|
|
6983
|
+
/** One configured source's aggregate result across the synced day window. */
|
|
6984
|
+
interface ActivitySourceRunItem {
|
|
6985
|
+
machineLabel: string;
|
|
6986
|
+
/** True when at least one day synced durably (no error). */
|
|
6987
|
+
ran: boolean;
|
|
6988
|
+
fetched: number;
|
|
6989
|
+
inserted: number;
|
|
6990
|
+
duplicates: number;
|
|
6991
|
+
digestsWritten: number;
|
|
6992
|
+
/** Persisted cursor after the run; unadvanced from prior on failure. */
|
|
6993
|
+
cursor: string | null;
|
|
6994
|
+
/** Set when the source failed; distinguishes a fault from an empty page. */
|
|
6995
|
+
error?: string;
|
|
6996
|
+
/**
|
|
6997
|
+
* Set when a durable day synced but its post-digest search reindex failed.
|
|
6998
|
+
* The rows/digest/cursor are committed; the index is stale until the next
|
|
6999
|
+
* refresh, so this is a signal (not a sync failure) for the scheduler.
|
|
7000
|
+
*/
|
|
7001
|
+
reindexError?: string;
|
|
7002
|
+
}
|
|
7003
|
+
interface ActivitySyncRunSummary {
|
|
7004
|
+
ranAt: string;
|
|
7005
|
+
/** False means the feature is off: no client built, no HTTP, no write. */
|
|
7006
|
+
enabled: boolean;
|
|
7007
|
+
ranCount: number;
|
|
7008
|
+
errorCount: number;
|
|
7009
|
+
/** Sources whose durable sync succeeded but whose search reindex failed. */
|
|
7010
|
+
reindexErrorCount: number;
|
|
7011
|
+
totalInserted: number;
|
|
7012
|
+
results: ActivitySourceRunItem[];
|
|
7013
|
+
}
|
|
7014
|
+
interface ActivitySyncRunOptions {
|
|
7015
|
+
config: ActivityConfig;
|
|
7016
|
+
memoryDir: string;
|
|
7017
|
+
/** Injectable store; opened from memoryDir when omitted (and closed here). */
|
|
7018
|
+
store?: ActivityStore;
|
|
7019
|
+
/** Clock injection for deterministic day-window resolution in tests. */
|
|
7020
|
+
now?: ActivityNow;
|
|
7021
|
+
/** Abort a run in flight (stop); an aborted source leaves its cursor intact. */
|
|
7022
|
+
signal?: AbortSignal;
|
|
7023
|
+
/** Injectable client factory; builds an ActivityHttpSourceClient by default. */
|
|
7024
|
+
createSourceClient?: (source: ActivitySourceConfig) => ActivitySourceClient;
|
|
7025
|
+
/**
|
|
7026
|
+
* Search-index refresh forwarded to each source sync as `afterWrites`, run
|
|
7027
|
+
* after a digest is (re)written so it becomes discoverable (rule 31).
|
|
7028
|
+
* Host wires the core index seam (SearchBackend.update); best-effort.
|
|
7029
|
+
*/
|
|
7030
|
+
reindexSearch?: (signal?: AbortSignal) => Promise<void>;
|
|
7031
|
+
}
|
|
7032
|
+
/**
|
|
7033
|
+
* The local-day window to sync, oldest first: today back `syncDays` calendar
|
|
7034
|
+
* days in the configured timezone. Walking by calendar days (not fixed 24h
|
|
7035
|
+
* intervals) keeps the window correct across DST transitions.
|
|
7036
|
+
*/
|
|
7037
|
+
declare function resolveActivitySyncDates(syncDays: number, timezone: string, now: Date): string[];
|
|
7038
|
+
/**
|
|
7039
|
+
* Run one activity sync pass across every configured source. Disabled config
|
|
7040
|
+
* short-circuits before any store/client/HTTP work; an enabled config syncs
|
|
7041
|
+
* each source across the `syncDays` window and isolates per-source faults.
|
|
7042
|
+
*/
|
|
7043
|
+
declare function runActivitySyncOnce(options: ActivitySyncRunOptions): Promise<ActivitySyncRunSummary>;
|
|
7044
|
+
|
|
7045
|
+
/**
|
|
7046
|
+
* In-process periodic driver for activity (screen-capture) sync (issue #1900).
|
|
7047
|
+
*
|
|
7048
|
+
* The parser (config.ts) validates `config.activity` and the runner
|
|
7049
|
+
* (runner.ts) performs one durable sync pass, but nothing drove that pass on a
|
|
7050
|
+
* cadence — parsed config alone never synced. This scheduler is the missing
|
|
7051
|
+
* link: parser -> scheduler -> durable sync. It registers a repeating timer
|
|
7052
|
+
* that invokes the runner, and cancels it on stop.
|
|
7053
|
+
*
|
|
7054
|
+
* Master default-off: when `config.activity.enabled` is false, `start()`
|
|
7055
|
+
* registers no timer and never invokes — source config alone starts nothing.
|
|
7056
|
+
* `stop()` clears the timer and latches so no later tick invokes, which is what
|
|
7057
|
+
* a runtime teardown (or a config disable + restart) needs. Ticks are
|
|
7058
|
+
* overlap-guarded (a slow sync never stacks) and never throw out of the timer.
|
|
7059
|
+
*
|
|
7060
|
+
* Host-agnostic: the timer and clock are injectable, so a host schedules
|
|
7061
|
+
* through this without any OpenClaw import, and tests drive it deterministically.
|
|
7062
|
+
*/
|
|
7063
|
+
|
|
7064
|
+
/**
|
|
7065
|
+
* Default sync cadence: 15 minutes. Issue #1899 contracts
|
|
7066
|
+
* `activity.autoSyncIntervalMinutes` with a default of 15, so the effective
|
|
7067
|
+
* default interval is 15 * 60_000 = 900_000 ms. Overridable via `intervalMs`.
|
|
7068
|
+
*/
|
|
7069
|
+
declare const ACTIVITY_SYNC_DEFAULT_INTERVAL_MS = 900000;
|
|
7070
|
+
/** An opaque timer handle from whichever timer implementation is injected. */
|
|
7071
|
+
type TimerHandle = unknown;
|
|
7072
|
+
interface ActivitySyncSchedulerOptions {
|
|
7073
|
+
config: ActivityConfig;
|
|
7074
|
+
memoryDir: string;
|
|
7075
|
+
/** Cadence in ms; defaults to ACTIVITY_SYNC_DEFAULT_INTERVAL_MS. */
|
|
7076
|
+
intervalMs?: number;
|
|
7077
|
+
/** The sync pass to run each tick; defaults to the durable runner. */
|
|
7078
|
+
invoke?: (signal?: AbortSignal) => Promise<ActivitySyncRunSummary>;
|
|
7079
|
+
/** Search-index refresh forwarded to the default runner as `reindexSearch`. */
|
|
7080
|
+
reindexSearch?: (signal?: AbortSignal) => Promise<void>;
|
|
7081
|
+
/** Timer factory (injectable for tests); defaults to an unref'd setInterval. */
|
|
7082
|
+
setTimer?: (fn: () => void, ms: number) => TimerHandle;
|
|
7083
|
+
/** Timer canceller matching setTimer; defaults to clearInterval. */
|
|
7084
|
+
clearTimer?: (handle: TimerHandle) => void;
|
|
7085
|
+
/** Called with each successful run's summary (telemetry/tests). */
|
|
7086
|
+
onRun?: (summary: ActivitySyncRunSummary) => void;
|
|
7087
|
+
/** Called when a tick's sync rejects; defaults to swallowing (best-effort). */
|
|
7088
|
+
onError?: (error: unknown) => void;
|
|
7089
|
+
}
|
|
7090
|
+
interface ActivitySyncRegistration {
|
|
7091
|
+
/** True when a periodic timer was armed (feature enabled). */
|
|
7092
|
+
registered: boolean;
|
|
7093
|
+
/** The cadence the timer runs at (reported even when not registered). */
|
|
7094
|
+
intervalMs: number;
|
|
7095
|
+
}
|
|
7096
|
+
/**
|
|
7097
|
+
* Registers/cancels a periodic activity sync. One instance per memory dir;
|
|
7098
|
+
* `start()` and `stop()` are both idempotent.
|
|
7099
|
+
*/
|
|
7100
|
+
declare class ActivitySyncScheduler {
|
|
7101
|
+
private readonly config;
|
|
7102
|
+
private readonly memoryDir;
|
|
7103
|
+
private readonly intervalMs;
|
|
7104
|
+
private readonly invoke;
|
|
7105
|
+
private readonly setTimer;
|
|
7106
|
+
private readonly clearTimer;
|
|
7107
|
+
private readonly onRun;
|
|
7108
|
+
private readonly onError;
|
|
7109
|
+
private handle;
|
|
7110
|
+
private stopped;
|
|
7111
|
+
private inFlight;
|
|
7112
|
+
private inFlightPromise;
|
|
7113
|
+
private readonly abortController;
|
|
7114
|
+
constructor(options: ActivitySyncSchedulerOptions);
|
|
7115
|
+
/**
|
|
7116
|
+
* Arm the periodic sync. Disabled config (default-off) registers nothing.
|
|
7117
|
+
* Idempotent: a second call while running (or after stop) re-arms nothing.
|
|
7118
|
+
*/
|
|
7119
|
+
start(): ActivitySyncRegistration;
|
|
7120
|
+
/**
|
|
7121
|
+
* Cancel the periodic sync and abort any in-flight tick, then resolve once it
|
|
7122
|
+
* has unwound. The abort + timer-clear + stop-latch happen synchronously, so
|
|
7123
|
+
* even a caller that cannot await (a sync teardown) still signals the running
|
|
7124
|
+
* sync to stop; async callers can await the returned drain. Idempotent.
|
|
7125
|
+
*/
|
|
7126
|
+
stop(): Promise<void>;
|
|
7127
|
+
private tick;
|
|
7128
|
+
}
|
|
7129
|
+
|
|
7130
|
+
/**
|
|
7131
|
+
* Parse, protocol-check, and confine an activity source base URL to a local
|
|
7132
|
+
* loopback host. Shared with ActivityHttpSourceClient so config-load and client
|
|
7133
|
+
* construction reject the exact same shapes with the same prefixed message (a
|
|
7134
|
+
* bare `new URL()` throws an opaque TypeError on malformed input). The bearer
|
|
7135
|
+
* token travels in an Authorization header, so a non-loopback baseUrl would
|
|
7136
|
+
* exfiltrate it; the subsystem contract is local capture daemons only.
|
|
7137
|
+
*/
|
|
7138
|
+
declare function validateActivityBaseUrl(baseUrl: string): URL;
|
|
7139
|
+
declare function parseActivityConfig(raw: unknown): ActivityConfig;
|
|
7140
|
+
|
|
7141
|
+
/**
|
|
7142
|
+
* Forced, non-fake search-index refresh for direct activity digest writes
|
|
7143
|
+
* (issue #1899; AGENTS.md rule 31). The digest is written straight to the QMD
|
|
7144
|
+
* collection root, bypassing the extraction->persist->index pipeline, so it must
|
|
7145
|
+
* explicitly trigger a refresh — and that refresh must actually run.
|
|
7146
|
+
*
|
|
7147
|
+
* Ordinary `SearchBackend.update()` is fail-open: it silently returns when the
|
|
7148
|
+
* backend is unavailable, in failure backoff, or inside its min-interval gate.
|
|
7149
|
+
* A freshly written digest hit by that gate would stay unsearchable until an
|
|
7150
|
+
* unrelated reindex, and the per-day digest-unchanged guard means the next tick
|
|
7151
|
+
* won't retry. So prefer the forced/strict contracts: `updateCollectionStrict`
|
|
7152
|
+
* bypasses the min-interval gate (force) AND throws on a genuine failure instead
|
|
7153
|
+
* of reporting a fake success, then `updateStrict`, then plain `update`.
|
|
7154
|
+
*/
|
|
7155
|
+
|
|
7156
|
+
/** The subset of the search backend the activity reindex needs. */
|
|
7157
|
+
interface ActivityIndexRefresher {
|
|
7158
|
+
update(execution?: SearchExecutionOptions): Promise<void>;
|
|
7159
|
+
updateStrict?(execution?: SearchExecutionOptions): Promise<void>;
|
|
7160
|
+
updateCollectionStrict?(collection: string, execution?: SearchExecutionOptions): Promise<void>;
|
|
7161
|
+
}
|
|
7162
|
+
declare function refreshActivityIndex(qmd: ActivityIndexRefresher, collection: string, signal?: AbortSignal): Promise<void>;
|
|
7163
|
+
|
|
6974
7164
|
/**
|
|
6975
7165
|
* Meeting-intelligence subsystem — shared types (issue #1900).
|
|
6976
7166
|
*
|
|
@@ -7391,4 +7581,4 @@ declare function forkCapsule(opts: ForkCapsuleOptions): Promise<ForkCapsuleResul
|
|
|
7391
7581
|
*/
|
|
7392
7582
|
declare function readForkLineage(targetRoot: string, forkId: string): Promise<ForkLineage | null>;
|
|
7393
7583
|
|
|
7394
|
-
export { ACTIVITY_DIGEST_FORMAT_VERSION, ACTIVITY_DIR_NAME,
|
|
7584
|
+
export { ACTIVITY_DIGEST_FORMAT_VERSION, ACTIVITY_DIR_NAME, ACTIVITY_SYNC_DEFAULT_INTERVAL_MS, ActivityConfig, ActivityDayDigest, ActivityDayMeta, ActivityHttpSourceClient, type ActivityHttpSourceClientOptions, type ActivityIndexRefresher, ActivitySnapshot, ActivitySnapshotPage, ActivitySourceCheck, ActivitySourceClient, ActivitySourceConfig, type ActivitySourceRunItem, ActivityStore, type ActivitySyncOptions, type ActivitySyncRegistration, type ActivitySyncResult, type ActivitySyncRunOptions, type ActivitySyncRunSummary, ActivitySyncScheduler, type ActivitySyncSchedulerOptions, type ArchitectureHintsResult, type AuditEntry, type BinaryAssetRecord, type BinaryAssetStatus, type BinaryLifecycleConfig, type BinaryLifecycleManifest, type BinaryStorageBackend, type BinaryStorageBackendConfig, ClaudeCodeMemoryExtensionPublisher, type CleanupResult, CodexMemoryExtensionPublisher, type CodingNamespaceOverlay, type CodingScopeDescription, type CollectLocalSessionSummariesOptions, type CompiledCorrectionRule, type CompiledRedactionRule, type ConflictEntry, type ContradictionOptions, type ContradictionPair, type ContradictionResult$1 as CurateContradictionResult, type DuplicateResult as CurateDuplicateResult, type CurateOptions, type CurateResult, type CuratedStatement, DEFAULT_GRACE_PERIOD_DAYS, DEFAULT_MAX_BINARY_SIZE_BYTES, DEFAULT_MEETINGS_DETECTION_CONFIG, DEFAULT_MEETING_APP_PATTERNS, DEFAULT_PROXIMITY_GAP_MS, DEFAULT_REDACTION_RULES, DEFAULT_SCAN_PATTERNS, DEFAULT_SOURCE_TRUST, DEFAULT_TAXONOMY, DEFAULT_WINDOW_TOLERANCE_MS, type DedupOptions, type DedupResult, type DetectedMeeting, DiscoveredExtension, type DocFile, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, EngramAccessService, type FileChange, FilesystemBackend, type ForkCapsuleOptions, type ForkCapsuleResult, type ForkLineage, type FuseClusterResult, FusedDisagreement, FusedSegment, FusedSpeaker, FusionConversationInput, FusionDayResult, FusionOptions, GOOGLE_DRIVE_CONNECTOR_ID, GOOGLE_DRIVE_CURSOR_KIND, DEFAULT_POLL_INTERVAL_MS as GOOGLE_DRIVE_DEFAULT_POLL_INTERVAL_MS, type GenerateOptions, type GenerateResult, type GitContext, type GitInvoker, type GoogleDriveClient, type GoogleDriveClientFactory, type GoogleDriveConnectorConfig, type GoogleDriveSyncResult, HermesMemoryExtensionPublisher, type IngestionPlan, KNOWN_WEARABLE_SOURCE_IDS, type LanguageInfo, LiveConnector, LiveConnectorRegistry, LiveConnectorRegistryError, type LocalSessionAdapterInput, type LocalSessionAdapterOptions, type LocalSessionParseWarning, type LocalSessionParsedFile, type LocalSessionRole, type LocalSessionSourceAdapter, type LocalSessionSummaryCliOptions, type LocalSessionSummaryReport, type LocalSessionTurn, type MeetingAppSpan, type MeetingAudioWindow, type MeetingDetectionSource, type MeetingsDetectionConfig, type MeetingsDetectionInput, MemoryCategory, type MemoryEntry, type MemoryExtensionPublisher, type MergeResult, NOTION_CONNECTOR_ID, NOTION_CURSOR_KIND, NOTION_DEFAULT_POLL_INTERVAL_MS, NoneBackend, type NotionConnectorConfig, type OnboardOptions, type OnboardResult, PUBLISHERS, type PackReviewContextStructuralInput, type PipelineResult, PluginConfig, type ProjectShape, type ProvenanceEntry, type PublishContext, type PublishResult, type PublisherCapabilities, REDACTION_PLACEHOLDER, RELAY_DEMO_MISSION_ID, RELAY_DEMO_NAMESPACE, RELAY_MISSION_DEFAULT_EVENT_LIMIT, RELAY_MISSION_MAX_EVENTS, RELAY_MISSION_MAX_EVENT_LIMIT, RELAY_MISSION_MAX_FILE_BYTES, RELAY_MISSION_MAX_LINE_BYTES, RELAY_MISSION_SCHEMA_VERSION, REMNIC_CITATION_FORMAT, REMNIC_MCP_TOOL_INVENTORY, REMNIC_RECALL_DECISION_RULES, REMNIC_SEMANTIC_OVERVIEW, type RedactionConfig, type RedactionReport, type RedactionRuleConfig, type RelayAgentOutputSnapshot, type RelayAgentSnapshot, type RelayConflictSnapshot, type RelayCorrectionSnapshot, type RelayDecisionSnapshot, type RelayEvidenceRef, RelayEvidenceRefSchema, type RelayMissionAppendAccessInput, type RelayMissionAppendAccessOutput, type RelayMissionAppendResult, type RelayMissionEvent, type RelayMissionEventInput, RelayMissionEventInputSchema, RelayMissionEventSchema, type RelayMissionPayload, RelayMissionPayloadSchema, type RelayMissionReadAccessInput, type RelayMissionReadAccessOutput, type RelayMissionReadOptions, RelayMissionReadOptionsSchema, type RelayMissionSnapshot, type RelayMissionStatus, RelayMissionStore, RelayMissionStoreError, type RelayMissionStoreErrorCode, type RelayMissionStoreOptions, type RelayPropagationSnapshot, type RelayRecallSnapshot, type RelayTestSnapshot, ResolverDecision, type ReviewAction, type ReviewCandidate, type ReviewContext, type ReviewItem, type ReviewListResult, type ReviewOptions, type ReviewResult, type SessionSummaryDraft, type SessionSummaryExcerpt, type Space, type SpaceKind, type SpaceManifest, type SpacePromoteResult, type SpacePullResult, type SpacePushResult, type SpaceShareResult, type SpaceSwitchResult, SpeakerRegistry, type StatementProvenance, StorageManager, type StructuralContextDegradation, type StructuralContextErrorCode, type StructuralContextProvider, type StructuralProviderStatus, type StructuralSpawnFn, type StructuralSymbol, type SubprocessProviderOptions, type SymbolsForDiffErr, type SymbolsForDiffOk, type SymbolsForDiffResult, SyncIncrementalResult, type SyncOptions, type SyncResult, type SyncState, TRANSCRIPT_FORMAT_VERSION, Taxonomy, TokenEntry, type TrainingExportAdapter, type TrainingExportOptions, type TrainingExportRecord, type TranscriptSegmentMatch, type TreeNode, WEARABLES_DIR_NAME, WearableCleanupSettings, type WearableConnectorFactory, type WearableConnectorFactoryOptions, type WearableConnectorRegistration, WearableConversation, WearableCorrectionRule, WearableDayTranscript, WearableDayTranscriptMeta, WearableFusionConfig, WearableSourceConnector, WearableSourceSettings, type WearableSourceSyncState, type WearableSyncStateFile, type WearablesCliIo, WearablesConfig, WearablesInputError, WearablesService, activityCursorKey, activityDatabasePath, activityDayWindow, activityDigestPath, appendRelayMissionEvent, applyActivitySchema, applyCorrections, applyOffTheRecord, assertValidTimezone, bodyIsEscaped, branchNamespaceName, buildProcedureMarkdownBody, buildProcedureRecallSection, cleanConversation, clearStructuralContextProvidersForTest, clearTrainingExportAdapters, clearWearableConnectors, clusterConversations, collapseImmediateRepeats, collectLocalSessionSummaries, compareRelayEvents, compileCorrectionRule, compileCorrectionRules, compileRedactionPatterns, compileRedactionRules, composeActivityDigestBody, composeActivityDigestMeta, composeDayTranscriptBody, composeDayTranscriptMeta, convertMemoriesToRecords, correctionsFilePath, createBackend, createGoogleDriveConnector, createNotionConnector, createRelayMissionFixture, createSpace, createSubprocessStructuralProvider, curate, decodeTranscriptBody, defaultGoogleDriveClientFactory, defaultWearableCleanupSettings, defaultWearableFusionConfig, defaultWearableSourceSettings, defaultWearablesConfig, deleteSpace, describeCodingScope, describeErrorForOperator, describeStructuralProviderStatus, detectMeetings, emptyManifest, emptySyncState, ensureActivityStateDir, ensureBuiltInWearableConnectors, escapeSegmentText, findContradictions, findDuplicates, forkCapsule, fuseCluster, fuseDay, fusionInputsFromConversations, generateContextTree, generateResolverDocument, getActiveSpace, getAuditLog, getLocalSessionSourceAdapter, getManifestPath, getSpacesDir, getStructuralContextProvider, getTaxonomyDir, getTaxonomyFilePath, getTrainingExportAdapter, getWearableConnector, hashActivityBody, hashTranscriptBody, hostIdForConnector, isLowQualitySegment, isReviewPrompt, isValidActivityDate, isValidTranscriptDate, listLocalSessionSourceAdapters, listReviewItems, listSpaces, listTrainingExportAdapters, listWearableConnectors, loadCorrectionsFile, loadManifest, loadSyncState, loadTaxonomy, manifestDir, manifestPath, matchesPatterns, meetingId, mergeSpaces, normalizeOriginUrl, onboard, openActivityDatabase, packReviewContext, packReviewContextStructural, parseActivityConfig, parseActivityDigest, parseDayTranscript, parseFlexibleIsoTimestamp, parseIsoOffsetTimestamp, parseIsoUtcTimestamp, parseProcedureStepsFromBody, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, probeStructuralProviderForDoctor, projectNamespaceName, promoteSpace, publisherFor, publisherForConnector, pullFromSpace, pushToSpace, rankReviewCandidates, readForkLineage, readManifest, readRelayMission, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderExtensionsBlock, renderExtensionsFooter, renderStructuralProviderStatusLine, resolveActivitySyncDates, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, runActivitySyncOnce, runBinaryLifecyclePipeline, runLocalSessionSummaryCliCommand, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, serializeActivityDigest, serializeDayTranscript, shareSpace, stableHash, stripFillerTokens, structuralProviderActive, switchSpace, syncActivitySource, syncChanges, syncStateFilePath, toStructuralContextDegradation, unescapeSegmentText, unescapeSpeakerLabel, updateSourceSyncState, validateActivityBaseUrl, validateGoogleDriveConfig, validateNotionConfig, validateSlug, validateTaxonomy, watchForChanges, writeManifest };
|