@remnic/core 9.69.55 → 9.69.57
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/abort-error.d.ts +5 -6
- package/dist/abort-error.d.ts.map +1 -0
- package/dist/abstraction-nodes.d.ts +12 -13
- package/dist/abstraction-nodes.d.ts.map +1 -0
- package/dist/access-admin-ops-surface.d.ts +20 -153
- package/dist/access-admin-ops-surface.d.ts.map +1 -0
- package/dist/access-admin-ops-surface.js +65 -60
- package/dist/access-audit.d.ts +6 -10
- package/dist/access-audit.d.ts.map +1 -0
- package/dist/access-audit.js +2 -2
- package/dist/access-authorization-probe.d.ts +7 -152
- package/dist/access-authorization-probe.d.ts.map +1 -0
- package/dist/access-authorization-probe.js +66 -61
- package/dist/access-boundary.d.ts +156 -145
- package/dist/access-boundary.d.ts.map +1 -0
- package/dist/access-boundary.js +65 -60
- package/dist/access-citation-namespace.d.ts +3 -3
- package/dist/access-citation-namespace.d.ts.map +1 -0
- package/dist/access-citation.d.ts +6 -7
- package/dist/access-citation.d.ts.map +1 -0
- package/dist/access-cli.d.ts +7 -7
- package/dist/access-cli.d.ts.map +1 -0
- package/dist/access-cli.js +157 -152
- package/dist/access-cli.js.map +1 -1
- package/dist/access-coding-context-resolution.d.ts +4 -23
- package/dist/access-coding-context-resolution.d.ts.map +1 -0
- package/dist/access-errors.d.ts +57 -5
- package/dist/access-errors.d.ts.map +1 -0
- package/dist/access-errors.js +13 -3
- package/dist/access-extraction-force-flush.d.ts +5 -150
- package/dist/access-extraction-force-flush.d.ts.map +1 -0
- package/dist/access-extraction-force-flush.js +65 -60
- package/dist/access-health-types.d.ts +7 -30
- package/dist/access-health-types.d.ts.map +1 -0
- package/dist/access-http-briefing.d.ts +5 -150
- package/dist/access-http-briefing.d.ts.map +1 -0
- package/dist/access-http-briefing.js +66 -61
- package/dist/access-http-lcm-compaction.d.ts +12 -156
- package/dist/access-http-lcm-compaction.d.ts.map +1 -0
- package/dist/access-http-lifecycle-flush.d.ts +6 -150
- package/dist/access-http-lifecycle-flush.d.ts.map +1 -0
- package/dist/access-http-offline-stream.d.ts +6 -151
- package/dist/access-http-offline-stream.d.ts.map +1 -0
- package/dist/access-http-query.d.ts +6 -26
- package/dist/access-http-query.d.ts.map +1 -0
- package/dist/access-http-query.js +67 -62
- package/dist/access-http.d.ts +22 -189
- package/dist/access-http.d.ts.map +1 -0
- package/dist/access-http.js +93 -89
- package/dist/access-idempotency.d.ts +5 -5
- package/dist/access-idempotency.d.ts.map +1 -0
- package/dist/access-identity-continuity-surface.d.ts +4 -115
- package/dist/access-identity-continuity-surface.d.ts.map +1 -0
- package/dist/access-identity-continuity-surface.js +65 -60
- package/dist/access-lcm-surface.d.ts +5 -151
- package/dist/access-lcm-surface.d.ts.map +1 -0
- package/dist/access-lcm-surface.js +65 -60
- package/dist/access-mcp-admin-tools.d.ts +4 -5
- package/dist/access-mcp-admin-tools.d.ts.map +1 -0
- package/dist/access-mcp-output-schemas.d.ts +2 -3
- package/dist/access-mcp-output-schemas.d.ts.map +1 -0
- package/dist/access-mcp-output-schemas.js +1 -1
- package/dist/access-mcp-shared-context-tools.d.ts +3 -150
- package/dist/access-mcp-shared-context-tools.d.ts.map +1 -0
- package/dist/access-mcp-sse.d.ts +3 -5
- package/dist/access-mcp-sse.d.ts.map +1 -0
- package/dist/access-mcp-tool-names.d.ts +9 -10
- package/dist/access-mcp-tool-names.d.ts.map +1 -0
- package/dist/access-mcp.d.ts +178 -145
- package/dist/access-mcp.d.ts.map +1 -0
- package/dist/access-mcp.js +80 -76
- package/dist/access-memory-search-fanout.d.ts +18 -37
- package/dist/access-memory-search-fanout.d.ts.map +1 -0
- package/dist/access-memory-search-fanout.js +2 -2
- package/dist/access-namespace-preflight.d.ts +18 -22
- package/dist/access-namespace-preflight.d.ts.map +1 -0
- package/dist/access-namespace-preflight.js +65 -60
- package/dist/access-observe-helpers.d.ts +4 -5
- package/dist/access-observe-helpers.d.ts.map +1 -0
- package/dist/access-observe-transcript.d.ts +5 -115
- package/dist/access-observe-transcript.d.ts.map +1 -0
- package/dist/access-observe-write-category.d.ts +5 -42
- package/dist/access-observe-write-category.d.ts.map +1 -0
- package/dist/access-observe-write-category.js +7 -7
- package/dist/access-observe-write-surface.d.ts +6 -151
- package/dist/access-observe-write-surface.d.ts.map +1 -0
- package/dist/access-observe-write-surface.js +65 -60
- package/dist/access-offline-manifest.d.ts +10 -124
- package/dist/access-offline-manifest.d.ts.map +1 -0
- package/dist/access-offline-manifest.js +7 -7
- package/dist/access-operations-batch.d.ts +12 -2
- package/dist/access-operations-batch.d.ts.map +1 -0
- package/dist/access-operations-batch.js +69 -66
- package/dist/access-operations.d.ts +66 -188
- package/dist/access-operations.d.ts.map +1 -0
- package/dist/access-operations.js +76 -73
- package/dist/access-recall-concurrency.d.ts +11 -156
- package/dist/access-recall-concurrency.d.ts.map +1 -0
- package/dist/access-recall-concurrency.js +65 -60
- package/dist/access-recall-diagnostics.d.ts +64 -0
- package/dist/access-recall-diagnostics.d.ts.map +1 -0
- package/dist/access-recall-diagnostics.js +26 -0
- package/dist/access-recall-response.d.ts +7 -151
- package/dist/access-recall-response.d.ts.map +1 -0
- package/dist/access-recall-response.js +65 -60
- package/dist/access-recall-surface.d.ts +11 -152
- package/dist/access-recall-surface.d.ts.map +1 -0
- package/dist/access-recall-surface.js +65 -60
- package/dist/access-schema.d.ts +106 -124
- package/dist/access-schema.d.ts.map +1 -0
- package/dist/access-schema.js +3 -3
- package/dist/access-service-helpers.d.ts +33 -145
- package/dist/access-service-helpers.d.ts.map +1 -0
- package/dist/access-service.d.ts +1825 -145
- package/dist/access-service.d.ts.map +1 -0
- package/dist/access-service.js +65 -60
- package/dist/access-surface-catalog.d.ts +7 -154
- package/dist/access-surface-catalog.d.ts.map +1 -0
- package/dist/access-surface-catalog.js +69 -62
- package/dist/access-surface-catalog.js.map +1 -1
- package/dist/access-token-capabilities.d.ts +19 -22
- package/dist/access-token-capabilities.d.ts.map +1 -0
- package/dist/access-token-capabilities.js +2 -2
- package/dist/access-wearables-meetings-surface.d.ts +14 -54
- package/dist/access-wearables-meetings-surface.d.ts.map +1 -0
- package/dist/action-confidence.d.ts +19 -40
- package/dist/action-confidence.d.ts.map +1 -0
- package/dist/active-context-config.d.ts +7 -8
- package/dist/active-context-config.d.ts.map +1 -0
- package/dist/active-context-transform.d.ts +31 -33
- package/dist/active-context-transform.d.ts.map +1 -0
- package/dist/active-memory-bridge.d.ts +10 -28
- package/dist/active-memory-bridge.d.ts.map +1 -0
- package/dist/active-recall.d.ts +11 -30
- package/dist/active-recall.d.ts.map +1 -0
- package/dist/active-recall.js +23 -23
- package/dist/activity/config.d.ts +24 -0
- package/dist/activity/config.d.ts.map +1 -0
- package/dist/activity/digest.d.ts +15 -35
- package/dist/activity/digest.d.ts.map +1 -0
- package/dist/activity/dwell.d.ts +14 -0
- package/dist/activity/dwell.d.ts.map +1 -0
- package/dist/activity/from-ms.d.ts +7 -0
- package/dist/activity/from-ms.d.ts.map +1 -0
- package/dist/activity/heading-level.d.ts +15 -0
- package/dist/activity/heading-level.d.ts.map +1 -0
- package/dist/activity/heading-title.d.ts +15 -0
- package/dist/activity/heading-title.d.ts.map +1 -0
- package/dist/activity/index.d.ts +46 -0
- package/dist/activity/index.d.ts.map +1 -0
- package/dist/activity/journal-extract.d.ts +68 -0
- package/dist/activity/journal-extract.d.ts.map +1 -0
- package/dist/activity/journal-heading.d.ts +26 -0
- package/dist/activity/journal-heading.d.ts.map +1 -0
- package/dist/activity/journal-path.d.ts +9 -0
- package/dist/activity/journal-path.d.ts.map +1 -0
- package/dist/activity/journal-read.d.ts +31 -0
- package/dist/activity/journal-read.d.ts.map +1 -0
- package/dist/activity/journal-section.d.ts +17 -0
- package/dist/activity/journal-section.d.ts.map +1 -0
- package/dist/activity/journal-source.d.ts +25 -0
- package/dist/activity/journal-source.d.ts.map +1 -0
- package/dist/activity/journal-state.d.ts +21 -0
- package/dist/activity/journal-state.d.ts.map +1 -0
- package/dist/activity/journal-state.lock-worker.d.ts +2 -0
- package/dist/activity/journal-state.lock-worker.d.ts.map +1 -0
- package/dist/activity/journal-strip.d.ts +6 -0
- package/dist/activity/journal-strip.d.ts.map +1 -0
- package/dist/activity/journal-vault-prereq.d.ts +23 -0
- package/dist/activity/journal-vault-prereq.d.ts.map +1 -0
- package/dist/activity/journal-vault-provenance.d.ts +12 -0
- package/dist/activity/journal-vault-provenance.d.ts.map +1 -0
- package/dist/activity/journal-vault-read.d.ts +32 -0
- package/dist/activity/journal-vault-read.d.ts.map +1 -0
- package/dist/activity/journal.d.ts +29 -0
- package/dist/activity/journal.d.ts.map +1 -0
- package/dist/activity/memory-gen.d.ts +71 -0
- package/dist/activity/memory-gen.d.ts.map +1 -0
- package/dist/activity/pipeline.d.ts +44 -0
- package/dist/activity/pipeline.d.ts.map +1 -0
- package/dist/activity/privacy-delete-plan.d.ts +22 -0
- package/dist/activity/privacy-delete-plan.d.ts.map +1 -0
- package/dist/activity/privacy-enabled.d.ts +16 -0
- package/dist/activity/privacy-enabled.d.ts.map +1 -0
- package/dist/activity/privacy-gate-resolve.d.ts +17 -0
- package/dist/activity/privacy-gate-resolve.d.ts.map +1 -0
- package/dist/activity/privacy-keys.d.ts +8 -0
- package/dist/activity/privacy-keys.d.ts.map +1 -0
- package/dist/activity/privacy-redact.d.ts +13 -0
- package/dist/activity/privacy-redact.d.ts.map +1 -0
- package/dist/activity/privacy-status.d.ts +30 -0
- package/dist/activity/privacy-status.d.ts.map +1 -0
- package/dist/activity/privacy-window.d.ts +15 -0
- package/dist/activity/privacy-window.d.ts.map +1 -0
- package/dist/activity/privacy.d.ts +17 -0
- package/dist/activity/privacy.d.ts.map +1 -0
- package/dist/activity/reindex.d.ts +23 -0
- package/dist/activity/reindex.d.ts.map +1 -0
- package/dist/activity/retain-days.d.ts +8 -0
- package/dist/activity/retain-days.d.ts.map +1 -0
- package/dist/activity/runner.d.ts +100 -0
- package/dist/activity/runner.d.ts.map +1 -0
- package/dist/activity/scheduler.d.ts +90 -0
- package/dist/activity/scheduler.d.ts.map +1 -0
- package/dist/activity/source-client.d.ts +24 -0
- package/dist/activity/source-client.d.ts.map +1 -0
- package/dist/activity/store.d.ts +53 -0
- package/dist/activity/store.d.ts.map +1 -0
- package/dist/activity/sync-registration.d.ts +83 -0
- package/dist/activity/sync-registration.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-batch-empty.d.ts +8 -0
- package/dist/activity/timeline/analysis-batch-empty.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-batch.d.ts +12 -0
- package/dist/activity/timeline/analysis-batch.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-claim.d.ts +14 -0
- package/dist/activity/timeline/analysis-claim.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-dup.d.ts +8 -0
- package/dist/activity/timeline/analysis-dup.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-empty.d.ts +8 -0
- package/dist/activity/timeline/analysis-empty.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-evidence.d.ts +12 -0
- package/dist/activity/timeline/analysis-evidence.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-failure.d.ts +19 -0
- package/dist/activity/timeline/analysis-failure.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-max.d.ts +8 -0
- package/dist/activity/timeline/analysis-max.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-metadata.d.ts +30 -0
- package/dist/activity/timeline/analysis-metadata.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-order.d.ts +8 -0
- package/dist/activity/timeline/analysis-order.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-overlap.d.ts +8 -0
- package/dist/activity/timeline/analysis-overlap.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-prompt.d.ts +13 -0
- package/dist/activity/timeline/analysis-prompt.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-provider.d.ts +84 -0
- package/dist/activity/timeline/analysis-provider.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-run.d.ts +40 -0
- package/dist/activity/timeline/analysis-run.d.ts.map +1 -0
- package/dist/activity/timeline/analysis.d.ts +63 -0
- package/dist/activity/timeline/analysis.d.ts.map +1 -0
- package/dist/activity/timeline/build.d.ts +50 -0
- package/dist/activity/timeline/build.d.ts.map +1 -0
- package/dist/activity/timeline/categories.d.ts +27 -0
- package/dist/activity/timeline/categories.d.ts.map +1 -0
- package/dist/activity/timeline/classify.d.ts +20 -0
- package/dist/activity/timeline/classify.d.ts.map +1 -0
- package/dist/activity/timeline/corrections.d.ts +37 -0
- package/dist/activity/timeline/corrections.d.ts.map +1 -0
- package/dist/activity/timeline/index.d.ts +35 -0
- package/dist/activity/timeline/index.d.ts.map +1 -0
- package/dist/activity/timeline/journal-recap-persist.d.ts +14 -0
- package/dist/activity/timeline/journal-recap-persist.d.ts.map +1 -0
- package/dist/activity/timeline/journal-recap.d.ts +21 -0
- package/dist/activity/timeline/journal-recap.d.ts.map +1 -0
- package/dist/activity/timeline/publish-cli.d.ts +17 -0
- package/dist/activity/timeline/publish-cli.d.ts.map +1 -0
- package/dist/activity/timeline/query.d.ts +86 -0
- package/dist/activity/timeline/query.d.ts.map +1 -0
- package/dist/activity/timeline/recap-card-count.d.ts +7 -0
- package/dist/activity/timeline/recap-card-count.d.ts.map +1 -0
- package/dist/activity/timeline/recap-card-id.d.ts +14 -0
- package/dist/activity/timeline/recap-card-id.d.ts.map +1 -0
- package/dist/activity/timeline/recap-date.d.ts +15 -0
- package/dist/activity/timeline/recap-date.d.ts.map +1 -0
- package/dist/activity/timeline/recap-empty.d.ts +8 -0
- package/dist/activity/timeline/recap-empty.d.ts.map +1 -0
- package/dist/activity/timeline/recap-export-range.d.ts +55 -0
- package/dist/activity/timeline/recap-export-range.d.ts.map +1 -0
- package/dist/activity/timeline/recap-export.d.ts +48 -0
- package/dist/activity/timeline/recap-export.d.ts.map +1 -0
- package/dist/activity/timeline/recap-fallback.d.ts +47 -0
- package/dist/activity/timeline/recap-fallback.d.ts.map +1 -0
- package/dist/activity/timeline/recap-id.d.ts +8 -0
- package/dist/activity/timeline/recap-id.d.ts.map +1 -0
- package/dist/activity/timeline/recap-markdown.d.ts +15 -0
- package/dist/activity/timeline/recap-markdown.d.ts.map +1 -0
- package/dist/activity/timeline/recap-merge-edits.d.ts +24 -0
- package/dist/activity/timeline/recap-merge-edits.d.ts.map +1 -0
- package/dist/activity/timeline/recap-sort-key.d.ts +9 -0
- package/dist/activity/timeline/recap-sort-key.d.ts.map +1 -0
- package/dist/activity/timeline/recap-tz.d.ts +15 -0
- package/dist/activity/timeline/recap-tz.d.ts.map +1 -0
- package/dist/activity/timeline/recap-window.d.ts +19 -0
- package/dist/activity/timeline/recap-window.d.ts.map +1 -0
- package/dist/activity/timeline/regenerate.d.ts +84 -0
- package/dist/activity/timeline/regenerate.d.ts.map +1 -0
- package/dist/activity/timeline/types.d.ts +98 -0
- package/dist/activity/timeline/types.d.ts.map +1 -0
- package/dist/activity/timeline/week-config-hash.d.ts +13 -0
- package/dist/activity/timeline/week-config-hash.d.ts.map +1 -0
- package/dist/activity/timeline/week-count.d.ts +7 -0
- package/dist/activity/timeline/week-count.d.ts.map +1 -0
- package/dist/activity/timeline/week-dashboard.d.ts +79 -0
- package/dist/activity/timeline/week-dashboard.d.ts.map +1 -0
- package/dist/activity/timeline/week-days.d.ts +6 -0
- package/dist/activity/timeline/week-days.d.ts.map +1 -0
- package/dist/activity/timeline/week-export.d.ts +27 -0
- package/dist/activity/timeline/week-export.d.ts.map +1 -0
- package/dist/activity/timeline/week-iso.d.ts +16 -0
- package/dist/activity/timeline/week-iso.d.ts.map +1 -0
- package/dist/activity/timeline/week-monday.d.ts +3 -0
- package/dist/activity/timeline/week-monday.d.ts.map +1 -0
- package/dist/activity/timeline/week-previous.d.ts +39 -0
- package/dist/activity/timeline/week-previous.d.ts.map +1 -0
- package/dist/activity/timeline/week-range.d.ts +10 -0
- package/dist/activity/timeline/week-range.d.ts.map +1 -0
- package/dist/activity/timeline/week-recurring.d.ts +21 -0
- package/dist/activity/timeline/week-recurring.d.ts.map +1 -0
- package/dist/activity/timeline/week-snapshot.d.ts +17 -0
- package/dist/activity/timeline/week-snapshot.d.ts.map +1 -0
- package/dist/activity/timeline/week-span.d.ts +2 -0
- package/dist/activity/timeline/week-span.d.ts.map +1 -0
- package/dist/activity/timeline/week-sunday.d.ts +3 -0
- package/dist/activity/timeline/week-sunday.d.ts.map +1 -0
- package/dist/activity/timeline/weekly-persist.d.ts +18 -0
- package/dist/activity/timeline/weekly-persist.d.ts.map +1 -0
- package/dist/activity/timeline/weekly.d.ts +42 -0
- package/dist/activity/timeline/weekly.d.ts.map +1 -0
- package/dist/activity/to-ms.d.ts +7 -0
- package/dist/activity/to-ms.d.ts.map +1 -0
- package/dist/activity/types.d.ts +208 -0
- package/dist/activity/types.d.ts.map +1 -0
- package/dist/activity/vault-begin.d.ts +8 -0
- package/dist/activity/vault-begin.d.ts.map +1 -0
- package/dist/activity/vault-body-trim.d.ts +7 -0
- package/dist/activity/vault-body-trim.d.ts.map +1 -0
- package/dist/activity/vault-dry-run.d.ts +13 -0
- package/dist/activity/vault-dry-run.d.ts.map +1 -0
- package/dist/activity/vault-end.d.ts +8 -0
- package/dist/activity/vault-end.d.ts.map +1 -0
- package/dist/activity/vault-frontmatter.d.ts +41 -0
- package/dist/activity/vault-frontmatter.d.ts.map +1 -0
- package/dist/activity/vault-insert.d.ts +24 -0
- package/dist/activity/vault-insert.d.ts.map +1 -0
- package/dist/activity/vault-join.d.ts +2 -0
- package/dist/activity/vault-join.d.ts.map +1 -0
- package/dist/activity/vault-marker.d.ts +12 -0
- package/dist/activity/vault-marker.d.ts.map +1 -0
- package/dist/activity/vault-name-trim.d.ts +7 -0
- package/dist/activity/vault-name-trim.d.ts.map +1 -0
- package/dist/activity/vault-path.d.ts +20 -0
- package/dist/activity/vault-path.d.ts.map +1 -0
- package/dist/activity/vault-publish.d.ts +71 -0
- package/dist/activity/vault-publish.d.ts.map +1 -0
- package/dist/activity/vault-publisher.d.ts +58 -0
- package/dist/activity/vault-publisher.d.ts.map +1 -0
- package/dist/activity/vault-region-pair.d.ts +17 -0
- package/dist/activity/vault-region-pair.d.ts.map +1 -0
- package/dist/activity/vault-region.d.ts +24 -0
- package/dist/activity/vault-region.d.ts.map +1 -0
- package/dist/activity/vault-status.d.ts +32 -0
- package/dist/activity/vault-status.d.ts.map +1 -0
- package/dist/activity/vault-suffix.d.ts +7 -0
- package/dist/activity/vault-suffix.d.ts.map +1 -0
- package/dist/activity/vault-wikilink.d.ts +2 -0
- package/dist/activity/vault-wikilink.d.ts.map +1 -0
- package/dist/activity/window-order.d.ts +17 -0
- package/dist/activity/window-order.d.ts.map +1 -0
- package/dist/adapters/claude-code.d.ts +3 -5
- package/dist/adapters/claude-code.d.ts.map +1 -0
- package/dist/adapters/codex.d.ts +3 -5
- package/dist/adapters/codex.d.ts.map +1 -0
- package/dist/adapters/grok.d.ts +23 -0
- package/dist/adapters/grok.d.ts.map +1 -0
- package/dist/adapters/hermes.d.ts +3 -5
- package/dist/adapters/hermes.d.ts.map +1 -0
- package/dist/adapters/index.d.ts +9 -51
- package/dist/adapters/index.d.ts.map +1 -0
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/opencode.d.ts +22 -0
- package/dist/adapters/opencode.d.ts.map +1 -0
- package/dist/adapters/registry.d.ts +3 -5
- package/dist/adapters/registry.d.ts.map +1 -0
- package/dist/adapters/registry.js +2 -2
- package/dist/adapters/replit.d.ts +3 -5
- package/dist/adapters/replit.d.ts.map +1 -0
- package/dist/adapters/types.d.ts +5 -6
- package/dist/adapters/types.d.ts.map +1 -0
- package/dist/admin/admin-surfaces.d.ts +362 -0
- package/dist/admin/admin-surfaces.d.ts.map +1 -0
- package/dist/ambient-provenance.d.ts +10 -30
- package/dist/ambient-provenance.d.ts.map +1 -0
- package/dist/archive-mutation-version.d.ts +8 -9
- package/dist/archive-mutation-version.d.ts.map +1 -0
- package/dist/artifact-search.d.ts +5 -25
- package/dist/artifact-search.d.ts.map +1 -0
- package/dist/auto-sync-CWSZDLLW.js +1 -1
- package/dist/background-generation-config.d.ts +3 -4
- package/dist/background-generation-config.d.ts.map +1 -0
- package/dist/background-generation.d.ts +5 -24
- package/dist/background-generation.d.ts.map +1 -0
- package/dist/behavior-learner.d.ts +6 -25
- package/dist/behavior-learner.d.ts.map +1 -0
- package/dist/behavior-signals.d.ts +5 -24
- package/dist/behavior-signals.d.ts.map +1 -0
- package/dist/binary-lifecycle/backend.d.ts +46 -0
- package/dist/binary-lifecycle/backend.d.ts.map +1 -0
- package/dist/binary-lifecycle/index.d.ts +13 -0
- package/dist/binary-lifecycle/index.d.ts.map +1 -0
- package/dist/binary-lifecycle/manifest.d.ts +22 -0
- package/dist/binary-lifecycle/manifest.d.ts.map +1 -0
- package/dist/binary-lifecycle/pipeline.d.ts +33 -0
- package/dist/binary-lifecycle/pipeline.d.ts.map +1 -0
- package/dist/binary-lifecycle/scanner.d.ts +21 -0
- package/dist/binary-lifecycle/scanner.d.ts.map +1 -0
- package/dist/binary-lifecycle/types.d.ts +70 -0
- package/dist/binary-lifecycle/types.d.ts.map +1 -0
- package/dist/bootstrap.d.ts +6 -115
- package/dist/bootstrap.d.ts.map +1 -0
- package/dist/bounded-jsonl-state.d.ts +5 -5
- package/dist/bounded-jsonl-state.d.ts.map +1 -0
- package/dist/boxes.d.ts +9 -9
- package/dist/boxes.d.ts.map +1 -0
- package/dist/briefing-window.d.ts +8 -40
- package/dist/briefing-window.d.ts.map +1 -0
- package/dist/briefing.d.ts +28 -61
- package/dist/briefing.d.ts.map +1 -0
- package/dist/briefing.js +14 -14
- package/dist/buffer-surprise-report.d.ts +6 -26
- package/dist/buffer-surprise-report.d.ts.map +1 -0
- package/dist/buffer-surprise.d.ts +5 -6
- package/dist/buffer-surprise.d.ts.map +1 -0
- package/dist/buffer-turn-helpers.d.ts +32 -18
- package/dist/buffer-turn-helpers.d.ts.map +1 -0
- package/dist/buffer.d.ts +9 -41
- package/dist/buffer.d.ts.map +1 -0
- package/dist/buffer.js +3 -3
- package/dist/bulk-import/index.d.ts +4 -44
- package/dist/bulk-import/index.d.ts.map +1 -0
- package/dist/bulk-import/pipeline.d.ts +30 -0
- package/dist/bulk-import/pipeline.d.ts.map +1 -0
- package/dist/bulk-import/registry.d.ts +23 -0
- package/dist/bulk-import/registry.d.ts.map +1 -0
- package/dist/bulk-import/types.d.ts +83 -0
- package/dist/bulk-import/types.d.ts.map +1 -0
- package/dist/calibration.d.ts +14 -37
- package/dist/calibration.d.ts.map +1 -0
- package/dist/capabilities.d.ts +64 -84
- package/dist/capabilities.d.ts.map +1 -0
- package/dist/capsule-cli.d.ts +23 -24
- package/dist/capsule-cli.d.ts.map +1 -0
- package/dist/capsule-crypto-7FJQINUR.js +18 -0
- package/dist/causal-behavior.d.ts +9 -38
- package/dist/causal-behavior.d.ts.map +1 -0
- package/dist/causal-behavior.js +2 -2
- package/dist/causal-chain.d.ts +13 -17
- package/dist/causal-chain.d.ts.map +1 -0
- package/dist/causal-chain.js +2 -2
- package/dist/causal-consolidation.d.ts +10 -29
- package/dist/causal-consolidation.d.ts.map +1 -0
- package/dist/causal-consolidation.js +17 -17
- package/dist/causal-retrieval.d.ts +6 -11
- package/dist/causal-retrieval.d.ts.map +1 -0
- package/dist/causal-retrieval.js +2 -2
- package/dist/causal-trajectory-graph.d.ts +7 -29
- package/dist/causal-trajectory-graph.d.ts.map +1 -0
- package/dist/causal-trajectory-graph.js +2 -2
- package/dist/causal-trajectory.d.ts +23 -25
- package/dist/causal-trajectory.d.ts.map +1 -0
- package/dist/causal-trajectory.js +1 -1
- package/dist/census-validation.d.ts +5 -6
- package/dist/census-validation.d.ts.map +1 -0
- package/dist/chat/chat-cli.d.ts +38 -0
- package/dist/chat/chat-cli.d.ts.map +1 -0
- package/dist/chat/chat-config.d.ts +25 -0
- package/dist/chat/chat-config.d.ts.map +1 -0
- package/dist/chat/chat-engine.d.ts +82 -0
- package/dist/chat/chat-engine.d.ts.map +1 -0
- package/dist/chat/chat-executor.d.ts +26 -0
- package/dist/chat/chat-executor.d.ts.map +1 -0
- package/dist/chat/chat-factory.d.ts +46 -0
- package/dist/chat/chat-factory.d.ts.map +1 -0
- package/dist/chat/chat-http.d.ts +83 -0
- package/dist/chat/chat-http.d.ts.map +1 -0
- package/dist/chat/chat-llm.d.ts +77 -0
- package/dist/chat/chat-llm.d.ts.map +1 -0
- package/dist/chat/chat-session.d.ts +118 -0
- package/dist/chat/chat-session.d.ts.map +1 -0
- package/dist/chat/chat-system-prompt.d.ts +23 -0
- package/dist/chat/chat-system-prompt.d.ts.map +1 -0
- package/dist/chat/chat-tools.d.ts +22 -0
- package/dist/chat/chat-tools.d.ts.map +1 -0
- package/dist/chat/chat-types.d.ts +134 -0
- package/dist/chat/chat-types.d.ts.map +1 -0
- package/dist/chunk-2CBWEIS4.js +1286 -0
- package/dist/chunk-2JQZSQXI.js +81 -0
- package/dist/chunk-2KHIBLO5.js +33 -0
- package/dist/chunk-2KHIBLO5.js.map +1 -0
- package/dist/chunk-2NLLXCJG.js +112 -0
- package/dist/chunk-2WMXZYMS.js +25 -0
- package/dist/chunk-34ZGBAGE.js +61 -0
- package/dist/chunk-36S7UHAW.js +623 -0
- package/dist/chunk-3JLWSFTV.js +801 -0
- package/dist/chunk-3MUKQQ7A.js +157 -0
- package/dist/chunk-3MUKQQ7A.js.map +1 -0
- package/dist/chunk-3RZOLUZT.js +140 -0
- package/dist/chunk-3SL52JKD.js +160 -0
- package/dist/chunk-4ALOINQ4.js +18512 -0
- package/dist/chunk-4ALOINQ4.js.map +1 -0
- package/dist/chunk-4QEZS7PK.js +502 -0
- package/dist/chunk-52VL6LCY.js +648 -0
- package/dist/chunk-52VL6LCY.js.map +1 -0
- package/dist/chunk-5HFVWYHL.js +111 -0
- package/dist/chunk-5HFVWYHL.js.map +1 -0
- package/dist/chunk-5QRYGLZN.js +35 -0
- package/dist/chunk-5R3C5LEZ.js +263 -0
- package/dist/chunk-634UKELB.js +77 -0
- package/dist/chunk-64JK4TL7.js +801 -0
- package/dist/chunk-6E5GYDIE.js +141 -0
- package/dist/chunk-6ISP2EN2.js +51 -0
- package/dist/chunk-6RD7MSIO.js +212 -0
- package/dist/chunk-6UDLN4IA.js +70 -0
- package/dist/chunk-754XN6LX.js +256 -0
- package/dist/chunk-7H2LEYYJ.js +256 -0
- package/dist/chunk-A7AISUJI.js +103 -0
- package/dist/chunk-AULKCNZW.js +727 -0
- package/dist/chunk-B7SSU55V.js +1686 -0
- package/dist/chunk-BICNRVEC.js +224 -0
- package/dist/chunk-BJI2D4SU.js +53 -0
- package/dist/chunk-BQB5ZMYO.js +28 -0
- package/dist/chunk-BSDBDFKZ.js +168 -0
- package/dist/chunk-BSDBDFKZ.js.map +1 -0
- package/dist/chunk-C5CPYMLX.js +315 -0
- package/dist/chunk-C6LRFPZL.js +4007 -0
- package/dist/chunk-C6LRFPZL.js.map +1 -0
- package/dist/chunk-CS2JO77A.js +95 -0
- package/dist/chunk-DTABICJ3.js +549 -0
- package/dist/chunk-DXODYQ7J.js +319 -0
- package/dist/chunk-DXODYQ7J.js.map +1 -0
- package/dist/chunk-E6UNM67F.js +432 -0
- package/dist/chunk-ENUI3IO7.js +271 -0
- package/dist/chunk-FF2XYADH.js +1084 -0
- package/dist/chunk-FF6N7BXC.js +389 -0
- package/dist/chunk-FNQEXI3D.js +22 -0
- package/dist/chunk-FNQEXI3D.js.map +1 -0
- package/dist/chunk-FSXD6Y4H.js +203 -0
- package/dist/chunk-GK6NOQE6.js +3400 -0
- package/dist/chunk-GRSFFLUY.js +43 -0
- package/dist/chunk-GWK7FEUL.js +761 -0
- package/dist/chunk-GWQVMKUJ.js +218 -0
- package/dist/chunk-H7O5L2IQ.js +3560 -0
- package/dist/chunk-H7O5L2IQ.js.map +1 -0
- package/dist/chunk-HKHZWJ3E.js +63 -0
- package/dist/chunk-IAZPYX6W.js +182 -0
- package/dist/chunk-IG747LRN.js +189 -0
- package/dist/chunk-IK63WA5A.js +30 -0
- package/dist/chunk-IRGQYQQ7.js +143 -0
- package/dist/chunk-IRGQYQQ7.js.map +1 -0
- package/dist/chunk-IUD6NLNM.js +24 -0
- package/dist/chunk-JSJZ2NXS.js +9782 -0
- package/dist/chunk-JUOJGZPV.js +566 -0
- package/dist/chunk-KA4U5GQN.js +960 -0
- package/dist/chunk-KQAFEZQX.js +264 -0
- package/dist/chunk-L4WBADKG.js +72 -0
- package/dist/chunk-LAL4B37X.js +275 -0
- package/dist/chunk-LELJRLPY.js +253 -0
- package/dist/chunk-LMMQKZK3.js +403 -0
- package/dist/chunk-LQ23DMTT.js +74 -0
- package/dist/chunk-LV6ZB6CA.js +285 -0
- package/dist/chunk-M5IJP3YW.js +5505 -0
- package/dist/chunk-MMMYRC7Q.js +606 -0
- package/dist/chunk-MMMYRC7Q.js.map +1 -0
- package/dist/chunk-MWZMVLXL.js +415 -0
- package/dist/chunk-MZUQVWVC.js +72 -0
- package/dist/chunk-MZUQVWVC.js.map +1 -0
- package/dist/chunk-N4VCHRLD.js +29 -0
- package/dist/chunk-NKXHCCLB.js +879 -0
- package/dist/chunk-NVCWA4QC.js +112 -0
- package/dist/chunk-ONWVMYHX.js +122 -0
- package/dist/chunk-P6P35FY4.js +54 -0
- package/dist/chunk-P7M22CYB.js +346 -0
- package/dist/chunk-QMWKENNK.js +111 -0
- package/dist/chunk-QOPB6KE3.js +1530 -0
- package/dist/chunk-RBULO7DO.js +223 -0
- package/dist/chunk-RDESQOEE.js +1008 -0
- package/dist/chunk-RMF763SX.js +115 -0
- package/dist/chunk-RN6ZCNM5.js +321 -0
- package/dist/chunk-S2OBXHMN.js +11341 -0
- package/dist/chunk-S3JPD4N7.js +216 -0
- package/dist/chunk-SF6RFI5Z.js +165 -0
- package/dist/chunk-SJV3AOZ2.js +2453 -0
- package/dist/chunk-SLULR4GC.js +202 -0
- package/dist/chunk-TFXXMTHV.js +1476 -0
- package/dist/chunk-TYP7GYRI.js +216 -0
- package/dist/chunk-TYZK56OA.js +2440 -0
- package/dist/chunk-VLDVNZQE.js +921 -0
- package/dist/chunk-W6YK672C.js +511 -0
- package/dist/chunk-X2NFFBTO.js +576 -0
- package/dist/chunk-X45KZOT2.js +1917 -0
- package/dist/chunk-X7Y7WX73.js +249 -0
- package/dist/chunk-XIXM6G7I.js +43 -0
- package/dist/chunk-XLXYARWC.js +210 -0
- package/dist/chunk-XVW52M6I.js +223 -0
- package/dist/chunk-YHU5XUF4.js +342 -0
- package/dist/chunk-YRH3C2OJ.js +73 -0
- package/dist/chunk-YXQE67A7.js +137 -0
- package/dist/chunk-ZHUVMSHI.js +731 -0
- package/dist/chunk-ZHXSOMYH.js +297 -0
- package/dist/chunk-ZIEZJMFW.js +768 -0
- package/dist/chunk-ZMT4ZVJU.js +31013 -0
- package/dist/chunk-ZMT4ZVJU.js.map +1 -0
- package/dist/chunk-ZOASYXBS.js +629 -0
- package/dist/chunk-ZOASYXBS.js.map +1 -0
- package/dist/chunk-ZSEFGDCI.js +98 -0
- package/dist/chunk-ZX5N5D6M.js +65 -0
- package/dist/chunking.d.ts +9 -10
- package/dist/chunking.d.ts.map +1 -0
- package/dist/citations.d.ts +8 -9
- package/dist/citations.d.ts.map +1 -0
- package/dist/cli/creation-ledger-commands.d.ts +24 -0
- package/dist/cli/creation-ledger-commands.d.ts.map +1 -0
- package/dist/cli/deep-recall-commands.d.ts +19 -0
- package/dist/cli/deep-recall-commands.d.ts.map +1 -0
- package/dist/cli/harmonic-search.d.ts +12 -0
- package/dist/cli/harmonic-search.d.ts.map +1 -0
- package/dist/cli/meetings-commands.d.ts +16 -0
- package/dist/cli/meetings-commands.d.ts.map +1 -0
- package/dist/cli/memory-browse-commands.d.ts +11 -0
- package/dist/cli/memory-browse-commands.d.ts.map +1 -0
- package/dist/cli/okf-commands.d.ts +5 -0
- package/dist/cli/okf-commands.d.ts.map +1 -0
- package/dist/cli/recall-navigation-commands.d.ts +11 -0
- package/dist/cli/recall-navigation-commands.d.ts.map +1 -0
- package/dist/cli/research-status-commands.d.ts +26 -0
- package/dist/cli/research-status-commands.d.ts.map +1 -0
- package/dist/cli/skills-commands.d.ts +14 -0
- package/dist/cli/skills-commands.d.ts.map +1 -0
- package/dist/cli/timeline-publish-commands.d.ts +11 -0
- package/dist/cli/timeline-publish-commands.d.ts.map +1 -0
- package/dist/cli-fallback.d.ts +13 -14
- package/dist/cli-fallback.d.ts.map +1 -0
- package/dist/cli.d.ts +1036 -165
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +120 -116
- package/dist/coding/action-gate.d.ts +176 -0
- package/dist/coding/action-gate.d.ts.map +1 -0
- package/dist/coding/architecture-card.d.ts +135 -0
- package/dist/coding/architecture-card.d.ts.map +1 -0
- package/dist/coding/architecture-surfaces.d.ts +166 -0
- package/dist/coding/architecture-surfaces.d.ts.map +1 -0
- package/dist/coding/codegraph-runtime.d.ts +321 -0
- package/dist/coding/codegraph-runtime.d.ts.map +1 -0
- package/dist/coding/codegraph-surfaces.d.ts +191 -0
- package/dist/coding/codegraph-surfaces.d.ts.map +1 -0
- package/dist/coding/coding-graph-types.d.ts +16 -17
- package/dist/coding/coding-graph-types.d.ts.map +1 -0
- package/dist/coding/coding-knowledge-config.d.ts +69 -0
- package/dist/coding/coding-knowledge-config.d.ts.map +1 -0
- package/dist/coding/coding-namespace.d.ts +214 -0
- package/dist/coding/coding-namespace.d.ts.map +1 -0
- package/dist/coding/decision-records.d.ts +120 -0
- package/dist/coding/decision-records.d.ts.map +1 -0
- package/dist/coding/decision-surfaces.d.ts +143 -0
- package/dist/coding/decision-surfaces.d.ts.map +1 -0
- package/dist/coding/export-okf-codegraph.d.ts +9 -28
- package/dist/coding/export-okf-codegraph.d.ts.map +1 -0
- package/dist/coding/export-okf-codegraph.js +13 -13
- package/dist/coding/git-context.d.ts +92 -0
- package/dist/coding/git-context.d.ts.map +1 -0
- package/dist/coding/optional-coding-graph.d.ts +9 -10
- package/dist/coding/optional-coding-graph.d.ts.map +1 -0
- package/dist/coding/pre-action-gate.d.ts +58 -18
- package/dist/coding/pre-action-gate.d.ts.map +1 -0
- package/dist/coding/pre-action-gate.js +2 -2
- package/dist/coding/review-context.d.ts +147 -0
- package/dist/coding/review-context.d.ts.map +1 -0
- package/dist/coding/session-delta-surfaces.d.ts +138 -0
- package/dist/coding/session-delta-surfaces.d.ts.map +1 -0
- package/dist/coding/session-delta.d.ts +201 -0
- package/dist/coding/session-delta.d.ts.map +1 -0
- package/dist/coding/structural-context.d.ts +194 -0
- package/dist/coding/structural-context.d.ts.map +1 -0
- package/dist/coding/structural-subprocess-provider.d.ts +50 -0
- package/dist/coding/structural-subprocess-provider.d.ts.map +1 -0
- package/dist/commitment-ledger.d.ts +13 -14
- package/dist/commitment-ledger.d.ts.map +1 -0
- package/dist/compat/checks.d.ts +3 -5
- package/dist/compat/checks.d.ts.map +1 -0
- package/dist/compat/codex-cli-fallback.d.ts +15 -1
- package/dist/compat/codex-cli-fallback.d.ts.map +1 -0
- package/dist/compat/codex-thread-key.d.ts +15 -1
- package/dist/compat/codex-thread-key.d.ts.map +1 -0
- package/dist/compat/types.d.ts +7 -8
- package/dist/compat/types.d.ts.map +1 -0
- package/dist/compounding/engine.d.ts +11 -44
- package/dist/compounding/engine.d.ts.map +1 -0
- package/dist/compounding/engine.js +14 -14
- package/dist/compounding/preference-consolidator.d.ts +10 -37
- package/dist/compounding/preference-consolidator.d.ts.map +1 -0
- package/dist/compression-optimizer.d.ts +10 -29
- package/dist/compression-optimizer.d.ts.map +1 -0
- package/dist/config-discovery.d.ts +4 -5
- package/dist/config-discovery.d.ts.map +1 -0
- package/dist/config-qmd.d.ts +7 -8
- package/dist/config-qmd.d.ts.map +1 -0
- package/dist/config-record.d.ts +2 -3
- package/dist/config-record.d.ts.map +1 -0
- package/dist/config-security.d.ts +2 -3
- package/dist/config-security.d.ts.map +1 -0
- package/dist/config.d.ts +7 -26
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +23 -23
- package/dist/connectors/codex-marketplace.d.ts +124 -0
- package/dist/connectors/codex-marketplace.d.ts.map +1 -0
- package/dist/connectors/codex-materialize-runner.d.ts +7 -27
- package/dist/connectors/codex-materialize-runner.d.ts.map +1 -0
- package/dist/connectors/codex-materialize-runner.js +14 -14
- package/dist/connectors/codex-materialize.d.ts +23 -41
- package/dist/connectors/codex-materialize.d.ts.map +1 -0
- package/dist/connectors/coerce.d.ts +73 -0
- package/dist/connectors/coerce.d.ts.map +1 -0
- package/dist/connectors/droid-mcp.d.ts +122 -0
- package/dist/connectors/droid-mcp.d.ts.map +1 -0
- package/dist/connectors/hermes-shim.d.ts +135 -0
- package/dist/connectors/hermes-shim.d.ts.map +1 -0
- package/dist/connectors/index.d.ts +42 -247
- package/dist/connectors/index.d.ts.map +1 -0
- package/dist/connectors/index.js +20 -20
- package/dist/connectors/label.d.ts +19 -0
- package/dist/connectors/label.d.ts.map +1 -0
- package/dist/connectors/live/framework.d.ts +169 -0
- package/dist/connectors/live/framework.d.ts.map +1 -0
- package/dist/connectors/live/github.d.ts +156 -0
- package/dist/connectors/live/github.d.ts.map +1 -0
- package/dist/connectors/live/gmail.d.ts +253 -0
- package/dist/connectors/live/gmail.d.ts.map +1 -0
- package/dist/connectors/live/google-drive.d.ts +198 -0
- package/dist/connectors/live/google-drive.d.ts.map +1 -0
- package/dist/connectors/live/index.d.ts +20 -0
- package/dist/connectors/live/index.d.ts.map +1 -0
- package/dist/connectors/live/notion.d.ts +146 -0
- package/dist/connectors/live/notion.d.ts.map +1 -0
- package/dist/connectors/live/registry.d.ts +53 -0
- package/dist/connectors/live/registry.d.ts.map +1 -0
- package/dist/connectors/live/state-store.d.ts +120 -0
- package/dist/connectors/live/state-store.d.ts.map +1 -0
- package/dist/connectors/live/transient-errors.d.ts +45 -0
- package/dist/connectors/live/transient-errors.d.ts.map +1 -0
- package/dist/connectors/materialize-paths.d.ts +15 -0
- package/dist/connectors/materialize-paths.d.ts.map +1 -0
- package/dist/connectors/materialize-skills.d.ts +52 -0
- package/dist/connectors/materialize-skills.d.ts.map +1 -0
- package/dist/connectors/paths.d.ts +78 -0
- package/dist/connectors/paths.d.ts.map +1 -0
- package/dist/connectors/prime-agent.d.ts +13 -0
- package/dist/connectors/prime-agent.d.ts.map +1 -0
- package/dist/connectors-cli.d.ts +170 -2
- package/dist/connectors-cli.d.ts.map +1 -0
- package/dist/console/state.d.ts +154 -0
- package/dist/console/state.d.ts.map +1 -0
- package/dist/console/trace.d.ts +199 -0
- package/dist/console/trace.d.ts.map +1 -0
- package/dist/console/tui.d.ts +106 -0
- package/dist/console/tui.d.ts.map +1 -0
- package/dist/consolidation-operator.d.ts +8 -9
- package/dist/consolidation-operator.d.ts.map +1 -0
- package/dist/consolidation-provenance-check.d.ts +5 -40
- package/dist/consolidation-provenance-check.d.ts.map +1 -0
- package/dist/consolidation-undo.d.ts +10 -44
- package/dist/consolidation-undo.d.ts.map +1 -0
- package/dist/content-hash.d.ts +6 -7
- package/dist/content-hash.d.ts.map +1 -0
- package/dist/context-summary.d.ts +8 -9
- package/dist/context-summary.d.ts.map +1 -0
- package/dist/contradiction/contradiction-judge.d.ts +65 -0
- package/dist/contradiction/contradiction-judge.d.ts.map +1 -0
- package/dist/contradiction/contradiction-review.d.ts +117 -0
- package/dist/contradiction/contradiction-review.d.ts.map +1 -0
- package/dist/contradiction/contradiction-scan.d.ts +74 -0
- package/dist/contradiction/contradiction-scan.d.ts.map +1 -0
- package/dist/contradiction/index.d.ts +12 -41
- package/dist/contradiction/index.d.ts.map +1 -0
- package/dist/contradiction/index.js +11 -11
- package/dist/contradiction/resolution.d.ts +57 -0
- package/dist/contradiction/resolution.d.ts.map +1 -0
- package/dist/contradiction-config.d.ts +5 -6
- package/dist/contradiction-config.d.ts.map +1 -0
- package/dist/converge-config.d.ts +9 -28
- package/dist/converge-config.d.ts.map +1 -0
- package/dist/convergence-refresh.d.ts +5 -40
- package/dist/convergence-refresh.d.ts.map +1 -0
- package/dist/convergence-refresh.js +16 -16
- package/dist/conversation-index/backend.d.ts +12 -31
- package/dist/conversation-index/backend.d.ts.map +1 -0
- package/dist/conversation-index/chunker.d.ts +4 -23
- package/dist/conversation-index/chunker.d.ts.map +1 -0
- package/dist/conversation-index/cleanup.d.ts +2 -3
- package/dist/conversation-index/cleanup.d.ts.map +1 -0
- package/dist/conversation-index/faiss-adapter.d.ts +63 -22
- package/dist/conversation-index/faiss-adapter.d.ts.map +1 -0
- package/dist/conversation-index/indexer.d.ts +9 -31
- package/dist/conversation-index/indexer.d.ts.map +1 -0
- package/dist/conversation-index/search.d.ts +10 -22
- package/dist/conversation-index/search.d.ts.map +1 -0
- package/dist/corpus-read-cancellation.d.ts +3 -4
- package/dist/corpus-read-cancellation.d.ts.map +1 -0
- package/dist/corpus-watermark.d.ts +19 -40
- package/dist/corpus-watermark.d.ts.map +1 -0
- package/dist/corpus-watermark.js +18 -18
- package/dist/correction/correction-access-wiring.d.ts +129 -0
- package/dist/correction/correction-access-wiring.d.ts.map +1 -0
- package/dist/correction/correction-contract.d.ts +220 -0
- package/dist/correction/correction-contract.d.ts.map +1 -0
- package/dist/correction/correction-executor.d.ts +174 -0
- package/dist/correction/correction-executor.d.ts.map +1 -0
- package/dist/correction/correction-planner.d.ts +162 -0
- package/dist/correction/correction-planner.d.ts.map +1 -0
- package/dist/correction/correction-service.d.ts +124 -0
- package/dist/correction/correction-service.d.ts.map +1 -0
- package/dist/correction/index.d.ts +23 -0
- package/dist/correction/index.d.ts.map +1 -0
- package/dist/correction/passive-capture.d.ts +107 -0
- package/dist/correction/passive-capture.d.ts.map +1 -0
- package/dist/correction/passive-correction-detector.d.ts +60 -0
- package/dist/correction/passive-correction-detector.d.ts.map +1 -0
- package/dist/correction/passive-correction-notifications.d.ts +36 -0
- package/dist/correction/passive-correction-notifications.d.ts.map +1 -0
- package/dist/cross-lingual-recall.d.ts +10 -29
- package/dist/cross-lingual-recall.d.ts.map +1 -0
- package/dist/cross-namespace-budget.d.ts +9 -10
- package/dist/cross-namespace-budget.d.ts.map +1 -0
- package/dist/cue-anchors.d.ts +11 -12
- package/dist/cue-anchors.d.ts.map +1 -0
- package/dist/curation/index.d.ts +98 -0
- package/dist/curation/index.d.ts.map +1 -0
- package/dist/dashboard-runtime.d.ts +4 -5
- package/dist/dashboard-runtime.d.ts.map +1 -0
- package/dist/day-summary.d.ts +5 -24
- package/dist/day-summary.d.ts.map +1 -0
- package/dist/dedup/connector-scope.d.ts +28 -0
- package/dist/dedup/connector-scope.d.ts.map +1 -0
- package/dist/dedup/index.d.ts +78 -0
- package/dist/dedup/index.d.ts.map +1 -0
- package/dist/dedup/merge-content.d.ts +24 -0
- package/dist/dedup/merge-content.d.ts.map +1 -0
- package/dist/dedup/merge-count.d.ts +7 -0
- package/dist/dedup/merge-count.d.ts.map +1 -0
- package/dist/dedup/merge-decision.d.ts +26 -0
- package/dist/dedup/merge-decision.d.ts.map +1 -0
- package/dist/dedup/merge-dup.d.ts +8 -0
- package/dist/dedup/merge-dup.d.ts.map +1 -0
- package/dist/dedup/merge-empty.d.ts +15 -0
- package/dist/dedup/merge-empty.d.ts.map +1 -0
- package/dist/dedup/merge-id.d.ts +8 -0
- package/dist/dedup/merge-id.d.ts.map +1 -0
- package/dist/dedup/merge-judge.d.ts +33 -0
- package/dist/dedup/merge-judge.d.ts.map +1 -0
- package/dist/dedup/merge-min-score.d.ts +2 -0
- package/dist/dedup/merge-min-score.d.ts.map +1 -0
- package/dist/dedup/merge-on-write-wire.d.ts +17 -0
- package/dist/dedup/merge-on-write-wire.d.ts.map +1 -0
- package/dist/dedup/merge-on-write.d.ts +32 -0
- package/dist/dedup/merge-on-write.d.ts.map +1 -0
- package/dist/dedup/merge-pair.d.ts +8 -0
- package/dist/dedup/merge-pair.d.ts.map +1 -0
- package/dist/dedup/merge-provenance.d.ts +43 -0
- package/dist/dedup/merge-provenance.d.ts.map +1 -0
- package/dist/dedup/merge-score.d.ts +7 -0
- package/dist/dedup/merge-score.d.ts.map +1 -0
- package/dist/dedup/merge-self.d.ts +13 -0
- package/dist/dedup/merge-self.d.ts.map +1 -0
- package/dist/dedup/merge-threshold.d.ts +13 -0
- package/dist/dedup/merge-threshold.d.ts.map +1 -0
- package/dist/dedup/merge-tie.d.ts +8 -0
- package/dist/dedup/merge-tie.d.ts.map +1 -0
- package/dist/dedup/merge-unique.d.ts +7 -0
- package/dist/dedup/merge-unique.d.ts.map +1 -0
- package/dist/dedup/merge-verdict.d.ts +19 -0
- package/dist/dedup/merge-verdict.d.ts.map +1 -0
- package/dist/dedup/merge.d.ts +122 -0
- package/dist/dedup/merge.d.ts.map +1 -0
- package/dist/dedup/novelty-gate.d.ts +60 -0
- package/dist/dedup/novelty-gate.d.ts.map +1 -0
- package/dist/dedup/semantic.d.ts +86 -0
- package/dist/dedup/semantic.d.ts.map +1 -0
- package/dist/deep-recall-config.d.ts +7 -8
- package/dist/deep-recall-config.d.ts.map +1 -0
- package/dist/deep-recall-config.js +2 -2
- package/dist/deep-recall-http-glue.d.ts +5 -151
- package/dist/deep-recall-http-glue.d.ts.map +1 -0
- package/dist/deep-recall-http-glue.js +6 -6
- package/dist/deep-recall-mcp-tools.d.ts +3 -150
- package/dist/deep-recall-mcp-tools.d.ts.map +1 -0
- package/dist/deep-recall-policy-llm.d.ts +6 -30
- package/dist/deep-recall-policy-llm.d.ts.map +1 -0
- package/dist/deep-recall-renderer.d.ts +3 -9
- package/dist/deep-recall-renderer.d.ts.map +1 -0
- package/dist/deep-recall-seeds.d.ts +7 -30
- package/dist/deep-recall-seeds.d.ts.map +1 -0
- package/dist/deep-recall.d.ts +15 -17
- package/dist/deep-recall.d.ts.map +1 -0
- package/dist/delinearize.d.ts +5 -25
- package/dist/delinearize.d.ts.map +1 -0
- package/dist/dependency-propagation-config.d.ts +3 -22
- package/dist/dependency-propagation-config.d.ts.map +1 -0
- package/dist/deterministic-order.d.ts +3 -4
- package/dist/deterministic-order.d.ts.map +1 -0
- package/dist/direct-answer-wiring.d.ts +8 -28
- package/dist/direct-answer-wiring.d.ts.map +1 -0
- package/dist/direct-answer.d.ts +10 -30
- package/dist/direct-answer.d.ts.map +1 -0
- package/dist/directory-sidecars.d.ts +17 -18
- package/dist/directory-sidecars.d.ts.map +1 -0
- package/dist/embedding-fallback.d.ts +6 -25
- package/dist/embedding-fallback.d.ts.map +1 -0
- package/dist/emit-legacy-tools.d.ts +3 -4
- package/dist/emit-legacy-tools.d.ts.map +1 -0
- package/dist/enrichment/audit.d.ts +27 -0
- package/dist/enrichment/audit.d.ts.map +1 -0
- package/dist/enrichment/index.d.ts +8 -177
- package/dist/enrichment/index.d.ts.map +1 -0
- package/dist/enrichment/pipeline.d.ts +15 -0
- package/dist/enrichment/pipeline.d.ts.map +1 -0
- package/dist/enrichment/provider-registry.d.ts +28 -0
- package/dist/enrichment/provider-registry.d.ts.map +1 -0
- package/dist/enrichment/types.d.ts +65 -0
- package/dist/enrichment/types.d.ts.map +1 -0
- package/dist/enrichment/web-search-provider.d.ts +26 -0
- package/dist/enrichment/web-search-provider.d.ts.map +1 -0
- package/dist/entity-id-normalization.d.ts +3 -4
- package/dist/entity-id-normalization.d.ts.map +1 -0
- package/dist/entity-origin-fields.d.ts +6 -24
- package/dist/entity-origin-fields.d.ts.map +1 -0
- package/dist/entity-recall-cancellation.d.ts +6 -7
- package/dist/entity-recall-cancellation.d.ts.map +1 -0
- package/dist/entity-retrieval-boundaries.d.ts +2 -3
- package/dist/entity-retrieval-boundaries.d.ts.map +1 -0
- package/dist/entity-retrieval-i18n.d.ts +5 -6
- package/dist/entity-retrieval-i18n.d.ts.map +1 -0
- package/dist/entity-retrieval.d.ts +8 -41
- package/dist/entity-retrieval.d.ts.map +1 -0
- package/dist/entity-retrieval.js +14 -14
- package/dist/entity-schema.d.ts +9 -28
- package/dist/entity-schema.d.ts.map +1 -0
- package/dist/episodic-context.d.ts +10 -30
- package/dist/episodic-context.d.ts.map +1 -0
- package/dist/eval-trajectory-contracts.d.ts +48 -68
- package/dist/eval-trajectory-contracts.d.ts.map +1 -0
- package/dist/eval-trajectory-store.d.ts +7 -28
- package/dist/eval-trajectory-store.d.ts.map +1 -0
- package/dist/eval-trajectory.d.ts +9 -30
- package/dist/eval-trajectory.d.ts.map +1 -0
- package/dist/evals.d.ts +29 -30
- package/dist/evals.d.ts.map +1 -0
- package/dist/event-order-query.d.ts +2 -3
- package/dist/event-order-query.d.ts.map +1 -0
- package/dist/event-order-recall.d.ts +6 -8
- package/dist/event-order-recall.d.ts.map +1 -0
- package/dist/event-time.d.ts +7 -8
- package/dist/event-time.d.ts.map +1 -0
- package/dist/evidence-pack.d.ts +7 -8
- package/dist/evidence-pack.d.ts.map +1 -0
- package/dist/experience/session-experience-config.d.ts +19 -0
- package/dist/experience/session-experience-config.d.ts.map +1 -0
- package/dist/experience/session-experience-mining.d.ts +31 -0
- package/dist/experience/session-experience-mining.d.ts.map +1 -0
- package/dist/experience/session-experience-recall.d.ts +19 -0
- package/dist/experience/session-experience-recall.d.ts.map +1 -0
- package/dist/experience/session-experience.d.ts +74 -0
- package/dist/experience/session-experience.d.ts.map +1 -0
- package/dist/explicit-capture.d.ts +20 -128
- package/dist/explicit-capture.d.ts.map +1 -0
- package/dist/explicit-capture.js +1 -1
- package/dist/explicit-cue-recall.d.ts +17 -19
- package/dist/explicit-cue-recall.d.ts.map +1 -0
- package/dist/external-wiki-access.d.ts +4 -152
- package/dist/external-wiki-access.d.ts.map +1 -0
- package/dist/external-wiki-access.js +66 -61
- package/dist/external-wiki-cli.d.ts +4 -5
- package/dist/external-wiki-cli.d.ts.map +1 -0
- package/dist/external-wiki-collection-registration.d.ts +7 -27
- package/dist/external-wiki-collection-registration.d.ts.map +1 -0
- package/dist/external-wiki-collection.d.ts +9 -29
- package/dist/external-wiki-collection.d.ts.map +1 -0
- package/dist/external-wiki-config.d.ts +3 -4
- package/dist/external-wiki-config.d.ts.map +1 -0
- package/dist/external-wiki-guard.d.ts +6 -7
- package/dist/external-wiki-guard.d.ts.map +1 -0
- package/dist/external-wiki-mcp-tools.d.ts +3 -149
- package/dist/external-wiki-mcp-tools.d.ts.map +1 -0
- package/dist/external-wiki-search.d.ts +12 -13
- package/dist/external-wiki-search.d.ts.map +1 -0
- package/dist/external-wiki.d.ts +12 -13
- package/dist/external-wiki.d.ts.map +1 -0
- package/dist/extraction-error-classification.d.ts +5 -24
- package/dist/extraction-error-classification.d.ts.map +1 -0
- package/dist/extraction-evidence-class.d.ts +13 -33
- package/dist/extraction-evidence-class.d.ts.map +1 -0
- package/dist/extraction-evidence-class.js +2 -2
- package/dist/extraction-faithfulness.d.ts +23 -46
- package/dist/extraction-faithfulness.d.ts.map +1 -0
- package/dist/extraction-judge-telemetry.d.ts +9 -36
- package/dist/extraction-judge-telemetry.d.ts.map +1 -0
- package/dist/extraction-judge-training.d.ts +9 -36
- package/dist/extraction-judge-training.d.ts.map +1 -0
- package/dist/extraction-judge.d.ts +20 -44
- package/dist/extraction-judge.d.ts.map +1 -0
- package/dist/extraction-liveness.d.ts +161 -18
- package/dist/extraction-liveness.d.ts.map +1 -0
- package/dist/extraction-normalization.d.ts +7 -26
- package/dist/extraction-normalization.d.ts.map +1 -0
- package/dist/extraction-prompt.d.ts +14 -34
- package/dist/extraction-prompt.d.ts.map +1 -0
- package/dist/extraction-redaction-rules.d.ts +6 -7
- package/dist/extraction-redaction-rules.d.ts.map +1 -0
- package/dist/extraction-source-grounding-helpers.d.ts +31 -32
- package/dist/extraction-source-grounding-helpers.d.ts.map +1 -0
- package/dist/extraction-source-grounding-rules.d.ts +6 -25
- package/dist/extraction-source-grounding-rules.d.ts.map +1 -0
- package/dist/extraction-source-grounding.d.ts +7 -25
- package/dist/extraction-source-grounding.d.ts.map +1 -0
- package/dist/extraction-source-grounding.js +3 -3
- package/dist/extraction-span-bench.d.ts +3 -4
- package/dist/extraction-span-bench.d.ts.map +1 -0
- package/dist/extraction-span-clip.d.ts +5 -6
- package/dist/extraction-span-clip.d.ts.map +1 -0
- package/dist/extraction-span-config.d.ts +40 -18
- package/dist/extraction-span-config.d.ts.map +1 -0
- package/dist/extraction-span-contains.d.ts +2 -3
- package/dist/extraction-span-contains.d.ts.map +1 -0
- package/dist/extraction-span-fallback.d.ts +5 -6
- package/dist/extraction-span-fallback.d.ts.map +1 -0
- package/dist/extraction-span-gap.d.ts +2 -3
- package/dist/extraction-span-gap.d.ts.map +1 -0
- package/dist/extraction-span-gate.d.ts +7 -8
- package/dist/extraction-span-gate.d.ts.map +1 -0
- package/dist/extraction-span-join.d.ts +5 -6
- package/dist/extraction-span-join.d.ts.map +1 -0
- package/dist/extraction-span-length.d.ts +2 -3
- package/dist/extraction-span-length.d.ts.map +1 -0
- package/dist/extraction-span-materialize.d.ts +18 -37
- package/dist/extraction-span-materialize.d.ts.map +1 -0
- package/dist/extraction-span-materialize.js +2 -2
- package/dist/extraction-span-overlap.d.ts +2 -3
- package/dist/extraction-span-overlap.d.ts.map +1 -0
- package/dist/extraction-span-provenance.d.ts +4 -5
- package/dist/extraction-span-provenance.d.ts.map +1 -0
- package/dist/extraction-span-shift.d.ts +2 -3
- package/dist/extraction-span-shift.d.ts.map +1 -0
- package/dist/extraction-span-slice.d.ts +2 -3
- package/dist/extraction-span-slice.d.ts.map +1 -0
- package/dist/extraction-span-source-hash.d.ts +5 -6
- package/dist/extraction-span-source-hash.d.ts.map +1 -0
- package/dist/extraction-span-tokens.d.ts +4 -5
- package/dist/extraction-span-tokens.d.ts.map +1 -0
- package/dist/extraction-span-validate.d.ts +5 -6
- package/dist/extraction-span-validate.d.ts.map +1 -0
- package/dist/extraction-span-wire.d.ts +5 -25
- package/dist/extraction-span-wire.d.ts.map +1 -0
- package/dist/extraction-span.d.ts +4 -5
- package/dist/extraction-span.d.ts.map +1 -0
- package/dist/extraction.d.ts +11 -44
- package/dist/extraction.d.ts.map +1 -0
- package/dist/extraction.js +26 -26
- package/dist/faithfulness-config.d.ts +3 -4
- package/dist/faithfulness-config.d.ts.map +1 -0
- package/dist/fallback-llm-codex-subscription.d.ts +23 -42
- package/dist/fallback-llm-codex-subscription.d.ts.map +1 -0
- package/dist/fallback-llm.d.ts +9 -30
- package/dist/fallback-llm.d.ts.map +1 -0
- package/dist/focused-list-recall.d.ts +5 -8
- package/dist/focused-list-recall.d.ts.map +1 -0
- package/dist/graph-append-error.d.ts +3 -27
- package/dist/graph-append-error.d.ts.map +1 -0
- package/dist/graph-dashboard-diff.d.ts +5 -28
- package/dist/graph-dashboard-diff.d.ts.map +1 -0
- package/dist/graph-dashboard-key.d.ts +3 -26
- package/dist/graph-dashboard-key.d.ts.map +1 -0
- package/dist/graph-dashboard-parser.d.ts +6 -29
- package/dist/graph-dashboard-parser.d.ts.map +1 -0
- package/dist/graph-edge-decay-ROSUPDX3.js +30 -0
- package/dist/graph-edge-reinforcement.d.ts +12 -36
- package/dist/graph-edge-reinforcement.d.ts.map +1 -0
- package/dist/graph-events.d.ts +13 -16
- package/dist/graph-events.d.ts.map +1 -0
- package/dist/graph-jsonl.d.ts +8 -31
- package/dist/graph-jsonl.d.ts.map +1 -0
- package/dist/graph-jsonl.js +3 -3
- package/dist/graph-path-reconstruction.d.ts +22 -22
- package/dist/graph-path-reconstruction.d.ts.map +1 -0
- package/dist/graph-path-scoring-config.d.ts +3 -4
- package/dist/graph-path-scoring-config.d.ts.map +1 -0
- package/dist/graph-path-scoring.d.ts +8 -30
- package/dist/graph-path-scoring.d.ts.map +1 -0
- package/dist/graph-recall.d.ts +7 -10
- package/dist/graph-recall.d.ts.map +1 -0
- package/dist/graph-retrieval.d.ts +19 -20
- package/dist/graph-retrieval.d.ts.map +1 -0
- package/dist/graph-snapshot.d.ts +14 -38
- package/dist/graph-snapshot.d.ts.map +1 -0
- package/dist/graph-snapshot.js +3 -3
- package/dist/graph-write-lock.d.ts +7 -10
- package/dist/graph-write-lock.d.ts.map +1 -0
- package/dist/graph.d.ts +325 -22
- package/dist/graph.d.ts.map +1 -0
- package/dist/graph.js +2 -2
- package/dist/harmonic-construction.d.ts +11 -13
- package/dist/harmonic-construction.d.ts.map +1 -0
- package/dist/harmonic-retrieval.d.ts +10 -12
- package/dist/harmonic-retrieval.d.ts.map +1 -0
- package/dist/harmonic-retrieval.js +1 -1
- package/dist/himem.d.ts +3 -4
- package/dist/himem.d.ts.map +1 -0
- package/dist/host-embedding-provider.d.ts +7 -8
- package/dist/host-embedding-provider.d.ts.map +1 -0
- package/dist/http-retry.d.ts +9 -10
- package/dist/http-retry.d.ts.map +1 -0
- package/dist/hygiene.d.ts +4 -5
- package/dist/hygiene.d.ts.map +1 -0
- package/dist/identity-continuity.d.ts +9 -11
- package/dist/identity-continuity.d.ts.map +1 -0
- package/dist/importance.d.ts +6 -26
- package/dist/importance.d.ts.map +1 -0
- package/dist/importers/base.d.ts +261 -0
- package/dist/importers/base.d.ts.map +1 -0
- package/dist/importers/index.d.ts +3 -280
- package/dist/importers/index.d.ts.map +1 -0
- package/dist/importers/test-utils.d.ts +5 -24
- package/dist/importers/test-utils.d.ts.map +1 -0
- package/dist/in-flight-reads.d.ts +10 -29
- package/dist/in-flight-reads.d.ts.map +1 -0
- package/dist/included-memories.d.ts +6 -7
- package/dist/included-memories.d.ts.map +1 -0
- package/dist/index.d.ts +185 -9836
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +275 -229
- package/dist/inline-script.d.ts +2 -3
- package/dist/inline-script.d.ts.map +1 -0
- package/dist/intent.d.ts +7 -26
- package/dist/intent.d.ts.map +1 -0
- package/dist/json-extract.d.ts +3 -4
- package/dist/json-extract.d.ts.map +1 -0
- package/dist/json-store.d.ts +9 -9
- package/dist/json-store.d.ts.map +1 -0
- package/dist/lcm/archive.d.ts +11 -13
- package/dist/lcm/archive.d.ts.map +1 -0
- package/dist/lcm/dag.d.ts +5 -7
- package/dist/lcm/dag.d.ts.map +1 -0
- package/dist/lcm/engine.d.ts +10 -32
- package/dist/lcm/engine.d.ts.map +1 -0
- package/dist/lcm/engine.js +4 -4
- package/dist/lcm/evidence-identity.d.ts +20 -0
- package/dist/lcm/evidence-identity.d.ts.map +1 -0
- package/dist/lcm/index.d.ts +9 -52
- package/dist/lcm/index.d.ts.map +1 -0
- package/dist/lcm/index.js +13 -13
- package/dist/lcm/queue.d.ts +7 -10
- package/dist/lcm/queue.d.ts.map +1 -0
- package/dist/lcm/recall.d.ts +8 -13
- package/dist/lcm/recall.d.ts.map +1 -0
- package/dist/lcm/schema.d.ts +5 -8
- package/dist/lcm/schema.d.ts.map +1 -0
- package/dist/lcm/summarizer.d.ts +7 -11
- package/dist/lcm/summarizer.d.ts.map +1 -0
- package/dist/lcm/tools.d.ts +4 -30
- package/dist/lcm/tools.d.ts.map +1 -0
- package/dist/lcm-fallback-read.d.ts +4 -5
- package/dist/lcm-fallback-read.d.ts.map +1 -0
- package/dist/lifecycle/seed-graduation-config-types.d.ts +21 -0
- package/dist/lifecycle/seed-graduation-config-types.d.ts.map +1 -0
- package/dist/lifecycle/seed-graduation.d.ts +97 -0
- package/dist/lifecycle/seed-graduation.d.ts.map +1 -0
- package/dist/lifecycle/tombstones.d.ts +389 -0
- package/dist/lifecycle/tombstones.d.ts.map +1 -0
- package/dist/lifecycle.d.ts +14 -33
- package/dist/lifecycle.d.ts.map +1 -0
- package/dist/live-connectors-runner.d.ts +11 -29
- package/dist/live-connectors-runner.d.ts.map +1 -0
- package/dist/local-llm-config.d.ts +5 -7
- package/dist/local-llm-config.d.ts.map +1 -0
- package/dist/local-llm-config.js +1 -1
- package/dist/local-llm-helpers.d.ts +102 -20
- package/dist/local-llm-helpers.d.ts.map +1 -0
- package/dist/local-llm-transport.d.ts +4 -6
- package/dist/local-llm-transport.d.ts.map +1 -0
- package/dist/local-llm.d.ts +145 -20
- package/dist/local-llm.d.ts.map +1 -0
- package/dist/local-model-endpoint.d.ts +10 -29
- package/dist/local-model-endpoint.d.ts.map +1 -0
- package/dist/location/access-operations.d.ts +9 -0
- package/dist/location/access-operations.d.ts.map +1 -0
- package/dist/location/backfill.d.ts +57 -0
- package/dist/location/backfill.d.ts.map +1 -0
- package/dist/location/cli.d.ts +67 -0
- package/dist/location/cli.d.ts.map +1 -0
- package/dist/location/config.d.ts +11 -0
- package/dist/location/config.d.ts.map +1 -0
- package/dist/location/http-glue.d.ts +20 -0
- package/dist/location/http-glue.d.ts.map +1 -0
- package/dist/location/index.d.ts +21 -534
- package/dist/location/index.d.ts.map +1 -0
- package/dist/location/index.js +17 -17
- package/dist/location/intervals.d.ts +61 -0
- package/dist/location/intervals.d.ts.map +1 -0
- package/dist/location/matching.d.ts +124 -0
- package/dist/location/matching.d.ts.map +1 -0
- package/dist/location/mcp-tools.d.ts +12 -0
- package/dist/location/mcp-tools.d.ts.map +1 -0
- package/dist/location/parse-companions.d.ts +7 -0
- package/dist/location/parse-companions.d.ts.map +1 -0
- package/dist/location/pipeline.d.ts +44 -0
- package/dist/location/pipeline.d.ts.map +1 -0
- package/dist/location/provider-setup.d.ts +33 -0
- package/dist/location/provider-setup.d.ts.map +1 -0
- package/dist/location/registry.d.ts +15 -0
- package/dist/location/registry.d.ts.map +1 -0
- package/dist/location/scheduler.d.ts +48 -0
- package/dist/location/scheduler.d.ts.map +1 -0
- package/dist/location/store.d.ts +95 -0
- package/dist/location/store.d.ts.map +1 -0
- package/dist/location/surfaces.d.ts +76 -0
- package/dist/location/surfaces.d.ts.map +1 -0
- package/dist/location/tagging.d.ts +116 -0
- package/dist/location/tagging.d.ts.map +1 -0
- package/dist/location/types.d.ts +109 -0
- package/dist/location/types.d.ts.map +1 -0
- package/dist/logger.d.ts +7 -8
- package/dist/logger.d.ts.map +1 -0
- package/dist/maintenance/archive-observations.d.ts +5 -5
- package/dist/maintenance/archive-observations.d.ts.map +1 -0
- package/dist/maintenance/atomic-file.d.ts +4 -5
- package/dist/maintenance/atomic-file.d.ts.map +1 -0
- package/dist/maintenance/backup-stamp.d.ts +2 -3
- package/dist/maintenance/backup-stamp.d.ts.map +1 -0
- package/dist/maintenance/day-summary-cron.d.ts +20 -0
- package/dist/maintenance/day-summary-cron.d.ts.map +1 -0
- package/dist/maintenance/dreams-ledger.d.ts +172 -0
- package/dist/maintenance/dreams-ledger.d.ts.map +1 -0
- package/dist/maintenance/first-start-migration.d.ts +61 -0
- package/dist/maintenance/first-start-migration.d.ts.map +1 -0
- package/dist/maintenance/forget.d.ts +59 -0
- package/dist/maintenance/forget.d.ts.map +1 -0
- package/dist/maintenance/graph-edge-decay.d.ts +122 -0
- package/dist/maintenance/graph-edge-decay.d.ts.map +1 -0
- package/dist/maintenance/memory-governance-cron.d.ts +9 -10
- package/dist/maintenance/memory-governance-cron.d.ts.map +1 -0
- package/dist/maintenance/memory-governance.d.ts +25 -43
- package/dist/maintenance/memory-governance.d.ts.map +1 -0
- package/dist/maintenance/memory-governance.js +14 -14
- package/dist/maintenance/migrate-observations.d.ts +4 -5
- package/dist/maintenance/migrate-observations.d.ts.map +1 -0
- package/dist/maintenance/namespace-maintenance-fanout.d.ts +132 -0
- package/dist/maintenance/namespace-maintenance-fanout.d.ts.map +1 -0
- package/dist/maintenance/namespace-planner.d.ts +96 -0
- package/dist/maintenance/namespace-planner.d.ts.map +1 -0
- package/dist/maintenance/observation-ledger-utils.d.ts +5 -6
- package/dist/maintenance/observation-ledger-utils.d.ts.map +1 -0
- package/dist/maintenance/pattern-reinforcement.d.ts +129 -0
- package/dist/maintenance/pattern-reinforcement.d.ts.map +1 -0
- package/dist/maintenance/projection-support.d.ts +76 -0
- package/dist/maintenance/projection-support.d.ts.map +1 -0
- package/dist/maintenance/purge.d.ts +85 -0
- package/dist/maintenance/purge.d.ts.map +1 -0
- package/dist/maintenance/rebuild-memory-lifecycle-ledger-cli.d.ts +24 -0
- package/dist/maintenance/rebuild-memory-lifecycle-ledger-cli.d.ts.map +1 -0
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +11 -43
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts.map +1 -0
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +14 -14
- package/dist/maintenance/rebuild-memory-projection.d.ts +14 -72
- package/dist/maintenance/rebuild-memory-projection.d.ts.map +1 -0
- package/dist/maintenance/rebuild-memory-projection.js +15 -15
- package/dist/maintenance/rebuild-observations.d.ts +4 -5
- package/dist/maintenance/rebuild-observations.d.ts.map +1 -0
- package/dist/maintenance/tier-stats.d.ts +59 -0
- package/dist/maintenance/tier-stats.d.ts.map +1 -0
- package/dist/mcp-memory-inspector-app.d.ts +15 -158
- package/dist/mcp-memory-inspector-app.d.ts.map +1 -0
- package/dist/mcp-read-only-tools.d.ts +2 -3
- package/dist/mcp-read-only-tools.d.ts.map +1 -0
- package/dist/mcp-read-only-tools.js +1 -1
- package/dist/meetings/build-scheduler.d.ts +43 -0
- package/dist/meetings/build-scheduler.d.ts.map +1 -0
- package/dist/meetings/build.d.ts +137 -0
- package/dist/meetings/build.d.ts.map +1 -0
- package/dist/meetings/cli.d.ts +37 -0
- package/dist/meetings/cli.d.ts.map +1 -0
- package/dist/meetings/config.d.ts +18 -0
- package/dist/meetings/config.d.ts.map +1 -0
- package/dist/meetings/day-source.d.ts +103 -0
- package/dist/meetings/day-source.d.ts.map +1 -0
- package/dist/meetings/detect.d.ts +33 -0
- package/dist/meetings/detect.d.ts.map +1 -0
- package/dist/meetings/errors.d.ts +10 -0
- package/dist/meetings/errors.d.ts.map +1 -0
- package/dist/meetings/fuse.d.ts +30 -0
- package/dist/meetings/fuse.d.ts.map +1 -0
- package/dist/meetings/http-glue.d.ts +37 -0
- package/dist/meetings/http-glue.d.ts.map +1 -0
- package/dist/meetings/index.d.ts +20 -0
- package/dist/meetings/index.d.ts.map +1 -0
- package/dist/meetings/mcp-tools.d.ts +10 -0
- package/dist/meetings/mcp-tools.d.ts.map +1 -0
- package/dist/meetings/memory-gen.d.ts +157 -0
- package/dist/meetings/memory-gen.d.ts.map +1 -0
- package/dist/meetings/memory-generator.d.ts +113 -0
- package/dist/meetings/memory-generator.d.ts.map +1 -0
- package/dist/meetings/service.d.ts +80 -0
- package/dist/meetings/service.d.ts.map +1 -0
- package/dist/meetings/store.d.ts +121 -0
- package/dist/meetings/store.d.ts.map +1 -0
- package/dist/meetings/summary-extractor.d.ts +96 -0
- package/dist/meetings/summary-extractor.d.ts.map +1 -0
- package/dist/meetings/types.d.ts +155 -0
- package/dist/meetings/types.d.ts.map +1 -0
- package/dist/memory-action-policy.d.ts +6 -25
- package/dist/memory-action-policy.d.ts.map +1 -0
- package/dist/memory-age.d.ts +16 -17
- package/dist/memory-age.d.ts.map +1 -0
- package/dist/memory-browse-http-glue.d.ts +5 -151
- package/dist/memory-browse-http-glue.d.ts.map +1 -0
- package/dist/memory-browse-http-glue.js +2 -2
- package/dist/memory-browse-mcp-tools.d.ts +3 -150
- package/dist/memory-browse-mcp-tools.d.ts.map +1 -0
- package/dist/memory-browse-operations.d.ts +11 -2
- package/dist/memory-browse-operations.d.ts.map +1 -0
- package/dist/memory-browse-operations.js +66 -61
- package/dist/memory-browse.d.ts +16 -36
- package/dist/memory-browse.d.ts.map +1 -0
- package/dist/memory-browse.js +4 -4
- package/dist/memory-cache.d.ts +27 -46
- package/dist/memory-cache.d.ts.map +1 -0
- package/dist/memory-controller.d.ts +29 -50
- package/dist/memory-controller.d.ts.map +1 -0
- package/dist/memory-corpus-version.d.ts +3 -4
- package/dist/memory-corpus-version.d.ts.map +1 -0
- package/dist/memory-extension/claude-code-publisher.d.ts +18 -0
- package/dist/memory-extension/claude-code-publisher.d.ts.map +1 -0
- package/dist/memory-extension/codex-publisher.d.ts +22 -0
- package/dist/memory-extension/codex-publisher.d.ts.map +1 -0
- package/dist/memory-extension/hermes-publisher.d.ts +18 -0
- package/dist/memory-extension/hermes-publisher.d.ts.map +1 -0
- package/dist/memory-extension/index.d.ts +57 -0
- package/dist/memory-extension/index.d.ts.map +1 -0
- package/dist/memory-extension/shared-instructions.d.ts +30 -0
- package/dist/memory-extension/shared-instructions.d.ts.map +1 -0
- package/dist/memory-extension/types.d.ts +88 -0
- package/dist/memory-extension/types.d.ts.map +1 -0
- package/dist/memory-extension-host/host-discovery.d.ts +38 -0
- package/dist/memory-extension-host/host-discovery.d.ts.map +1 -0
- package/dist/memory-extension-host/index.d.ts +7 -0
- package/dist/memory-extension-host/index.d.ts.map +1 -0
- package/dist/memory-extension-host/render-extensions-block.d.ts +23 -0
- package/dist/memory-extension-host/render-extensions-block.d.ts.map +1 -0
- package/dist/memory-extension-host/types.d.ts +20 -0
- package/dist/memory-extension-host/types.d.ts.map +1 -0
- package/dist/memory-lifecycle-ledger-utils.d.ts +19 -38
- package/dist/memory-lifecycle-ledger-utils.d.ts.map +1 -0
- package/dist/memory-projection-format.d.ts +3 -4
- package/dist/memory-projection-format.d.ts.map +1 -0
- package/dist/memory-projection-mutations.d.ts +3 -4
- package/dist/memory-projection-mutations.d.ts.map +1 -0
- package/dist/memory-projection-store.d.ts +35 -54
- package/dist/memory-projection-store.d.ts.map +1 -0
- package/dist/memory-provenance.d.ts +10 -29
- package/dist/memory-provenance.d.ts.map +1 -0
- package/dist/memory-snapshot.d.ts +3 -22
- package/dist/memory-snapshot.d.ts.map +1 -0
- package/dist/memory-subject-cli.d.ts +9 -156
- package/dist/memory-subject-cli.d.ts.map +1 -0
- package/dist/memory-subject.d.ts +132 -145
- package/dist/memory-subject.d.ts.map +1 -0
- package/dist/memory-worth-bench.d.ts +4 -5
- package/dist/memory-worth-bench.d.ts.map +1 -0
- package/dist/memory-worth-filter.d.ts +8 -11
- package/dist/memory-worth-filter.d.ts.map +1 -0
- package/dist/memory-worth-outcomes.d.ts +11 -45
- package/dist/memory-worth-outcomes.d.ts.map +1 -0
- package/dist/memory-worth.d.ts +4 -5
- package/dist/memory-worth.d.ts.map +1 -0
- package/dist/message-parts/index.d.ts +15 -16
- package/dist/message-parts/index.d.ts.map +1 -0
- package/dist/migrate/from-engram.d.ts +6 -7
- package/dist/migrate/from-engram.d.ts.map +1 -0
- package/dist/model-registry.d.ts +3 -4
- package/dist/model-registry.d.ts.map +1 -0
- package/dist/models-json.d.ts +5 -24
- package/dist/models-json.d.ts.map +1 -0
- package/dist/namespaces/catalog.d.ts +473 -0
- package/dist/namespaces/catalog.d.ts.map +1 -0
- package/dist/namespaces/identity.d.ts +5 -0
- package/dist/namespaces/identity.d.ts.map +1 -0
- package/dist/namespaces/migrate.d.ts +11 -46
- package/dist/namespaces/migrate.d.ts.map +1 -0
- package/dist/namespaces/migrate.js +15 -15
- package/dist/namespaces/path.d.ts +3 -0
- package/dist/namespaces/path.d.ts.map +1 -0
- package/dist/namespaces/principal.d.ts +9 -28
- package/dist/namespaces/principal.d.ts.map +1 -0
- package/dist/namespaces/scope-profile-config.d.ts +5 -0
- package/dist/namespaces/scope-profile-config.d.ts.map +1 -0
- package/dist/namespaces/scope-profiles.d.ts +46 -0
- package/dist/namespaces/scope-profiles.d.ts.map +1 -0
- package/dist/namespaces/search.d.ts +10 -28
- package/dist/namespaces/search.d.ts.map +1 -0
- package/dist/namespaces/search.js +5 -5
- package/dist/namespaces/storage.d.ts +8 -41
- package/dist/namespaces/storage.d.ts.map +1 -0
- package/dist/namespaces/storage.js +14 -14
- package/dist/native-binding-hint.d.ts +3 -4
- package/dist/native-binding-hint.d.ts.map +1 -0
- package/dist/native-knowledge.d.ts +15 -34
- package/dist/native-knowledge.d.ts.map +1 -0
- package/dist/negative.d.ts +3 -4
- package/dist/negative.d.ts.map +1 -0
- package/dist/network/tailscale.d.ts +7 -8
- package/dist/network/tailscale.d.ts.map +1 -0
- package/dist/network/webdav.d.ts +9 -10
- package/dist/network/webdav.d.ts.map +1 -0
- package/dist/objective-state-writers.d.ts +8 -9
- package/dist/objective-state-writers.d.ts.map +1 -0
- package/dist/objective-state.d.ts +15 -16
- package/dist/objective-state.d.ts.map +1 -0
- package/dist/offline-sync-exclude-globs.d.ts +3 -4
- package/dist/offline-sync-exclude-globs.d.ts.map +1 -0
- package/dist/offline-sync-file-io.d.ts +8 -9
- package/dist/offline-sync-file-io.d.ts.map +1 -0
- package/dist/offline-sync-impression-drain.d.ts +8 -26
- package/dist/offline-sync-impression-drain.d.ts.map +1 -0
- package/dist/offline-sync-impression-drain.js +2 -2
- package/dist/offline-sync.d.ts +57 -58
- package/dist/offline-sync.d.ts.map +1 -0
- package/dist/okf/cli.d.ts +10 -0
- package/dist/okf/cli.d.ts.map +1 -0
- package/dist/okf/config.d.ts +11 -0
- package/dist/okf/config.d.ts.map +1 -0
- package/dist/okf/index-files.d.ts +7 -0
- package/dist/okf/index-files.d.ts.map +1 -0
- package/dist/okf/lint.d.ts +12 -0
- package/dist/okf/lint.d.ts.map +1 -0
- package/dist/okf/render.d.ts +29 -0
- package/dist/okf/render.d.ts.map +1 -0
- package/dist/okf/sweep.d.ts +9 -0
- package/dist/okf/sweep.d.ts.map +1 -0
- package/dist/okf/type-mapping.d.ts +30 -0
- package/dist/okf/type-mapping.d.ts.map +1 -0
- package/dist/onboarding/index.d.ts +63 -0
- package/dist/onboarding/index.d.ts.map +1 -0
- package/dist/openai-chat-compat.d.ts +6 -7
- package/dist/openai-chat-compat.d.ts.map +1 -0
- package/dist/operator-doctor-corpus.d.ts +8 -29
- package/dist/operator-doctor-corpus.d.ts.map +1 -0
- package/dist/operator-doctor-corpus.js +21 -21
- package/dist/operator-doctor-replica.d.ts +8 -29
- package/dist/operator-doctor-replica.d.ts.map +1 -0
- package/dist/operator-doctor-replica.js +4 -4
- package/dist/operator-doctor-types.d.ts +2 -3
- package/dist/operator-doctor-types.d.ts.map +1 -0
- package/dist/operator-toolkit.d.ts +43 -75
- package/dist/operator-toolkit.d.ts.map +1 -0
- package/dist/operator-toolkit.js +37 -37
- package/dist/opik-exporter.d.ts +6 -8
- package/dist/opik-exporter.d.ts.map +1 -0
- package/dist/orchestration/compression-guideline-coordinator.d.ts +6 -40
- package/dist/orchestration/compression-guideline-coordinator.d.ts.map +1 -0
- package/dist/orchestration/consolidation-run.d.ts +93 -0
- package/dist/orchestration/consolidation-run.d.ts.map +1 -0
- package/dist/orchestration/contradiction-linking-coordinator.d.ts +102 -0
- package/dist/orchestration/contradiction-linking-coordinator.d.ts.map +1 -0
- package/dist/orchestration/conversation-index-coordinator.d.ts +99 -0
- package/dist/orchestration/conversation-index-coordinator.d.ts.map +1 -0
- package/dist/orchestration/dependency-propagation-delivery.d.ts +129 -0
- package/dist/orchestration/dependency-propagation-delivery.d.ts.map +1 -0
- package/dist/orchestration/dependency-propagation-queue-state.d.ts +15 -0
- package/dist/orchestration/dependency-propagation-queue-state.d.ts.map +1 -0
- package/dist/orchestration/dependency-propagation-recovery-replay.d.ts +49 -0
- package/dist/orchestration/dependency-propagation-recovery-replay.d.ts.map +1 -0
- package/dist/orchestration/dependency-propagation-replay-reconciliation.d.ts +25 -0
- package/dist/orchestration/dependency-propagation-replay-reconciliation.d.ts.map +1 -0
- package/dist/orchestration/dependency-propagation.d.ts +64 -0
- package/dist/orchestration/dependency-propagation.d.ts.map +1 -0
- package/dist/orchestration/dependency-revalidation.d.ts +45 -0
- package/dist/orchestration/dependency-revalidation.d.ts.map +1 -0
- package/dist/orchestration/entity-synthesis-coordinator.d.ts +64 -0
- package/dist/orchestration/entity-synthesis-coordinator.d.ts.map +1 -0
- package/dist/orchestration/episodic-context-section.d.ts +30 -0
- package/dist/orchestration/episodic-context-section.d.ts.map +1 -0
- package/dist/orchestration/extraction-anchor-snapshot.d.ts +20 -0
- package/dist/orchestration/extraction-anchor-snapshot.d.ts.map +1 -0
- package/dist/orchestration/extraction-envelope.d.ts +40 -0
- package/dist/orchestration/extraction-envelope.d.ts.map +1 -0
- package/dist/orchestration/extraction-injection-gate.d.ts +51 -0
- package/dist/orchestration/extraction-injection-gate.d.ts.map +1 -0
- package/dist/orchestration/extraction-origin-context.d.ts +19 -0
- package/dist/orchestration/extraction-origin-context.d.ts.map +1 -0
- package/dist/orchestration/extraction-persist-deps.d.ts +76 -0
- package/dist/orchestration/extraction-persist-deps.d.ts.map +1 -0
- package/dist/orchestration/extraction-persist-promotion.d.ts +203 -0
- package/dist/orchestration/extraction-persist-promotion.d.ts.map +1 -0
- package/dist/orchestration/extraction-persist.d.ts +19 -0
- package/dist/orchestration/extraction-persist.d.ts.map +1 -0
- package/dist/orchestration/extraction-queue-coordinator.d.ts +103 -0
- package/dist/orchestration/extraction-queue-coordinator.d.ts.map +1 -0
- package/dist/orchestration/extraction-run-helpers.d.ts +123 -0
- package/dist/orchestration/extraction-run-helpers.d.ts.map +1 -0
- package/dist/orchestration/extraction-run.d.ts +174 -0
- package/dist/orchestration/extraction-run.d.ts.map +1 -0
- package/dist/orchestration/extraction-shutdown.d.ts +6 -0
- package/dist/orchestration/extraction-shutdown.d.ts.map +1 -0
- package/dist/orchestration/extraction-watermark.d.ts +28 -0
- package/dist/orchestration/extraction-watermark.d.ts.map +1 -0
- package/dist/orchestration/generic-recall-paths.d.ts +36 -0
- package/dist/orchestration/generic-recall-paths.d.ts.map +1 -0
- package/dist/orchestration/graph-path-state-loader.d.ts +15 -0
- package/dist/orchestration/graph-path-state-loader.d.ts.map +1 -0
- package/dist/orchestration/graph-recall-coordinator.d.ts +107 -0
- package/dist/orchestration/graph-recall-coordinator.d.ts.map +1 -0
- package/dist/orchestration/harmonic-construction-persist.d.ts +58 -0
- package/dist/orchestration/harmonic-construction-persist.d.ts.map +1 -0
- package/dist/orchestration/lifecycle-policy-coordinator.d.ts +81 -0
- package/dist/orchestration/lifecycle-policy-coordinator.d.ts.map +1 -0
- package/dist/orchestration/maintenance.d.ts +229 -37
- package/dist/orchestration/maintenance.d.ts.map +1 -0
- package/dist/orchestration/maintenance.js +25 -25
- package/dist/orchestration/namespace-read-fanout.d.ts +95 -0
- package/dist/orchestration/namespace-read-fanout.d.ts.map +1 -0
- package/dist/orchestration/orchestrator-helpers.d.ts +408 -0
- package/dist/orchestration/orchestrator-helpers.d.ts.map +1 -0
- package/dist/orchestration/orchestrator-init.d.ts +124 -0
- package/dist/orchestration/orchestrator-init.d.ts.map +1 -0
- package/dist/orchestration/orchestrator-namespace-scope.d.ts +19 -0
- package/dist/orchestration/orchestrator-namespace-scope.d.ts.map +1 -0
- package/dist/orchestration/persistence-index.d.ts +141 -0
- package/dist/orchestration/persistence-index.d.ts.map +1 -0
- package/dist/orchestration/projection-rebuild-schedule.d.ts +21 -0
- package/dist/orchestration/projection-rebuild-schedule.d.ts.map +1 -0
- package/dist/orchestration/qmd-result-resolver.d.ts +75 -0
- package/dist/orchestration/qmd-result-resolver.d.ts.map +1 -0
- package/dist/orchestration/recall-background-writes.d.ts +3 -0
- package/dist/orchestration/recall-background-writes.d.ts.map +1 -0
- package/dist/orchestration/recall-entry.d.ts +78 -0
- package/dist/orchestration/recall-entry.d.ts.map +1 -0
- package/dist/orchestration/recall-internal-deps.d.ts +311 -0
- package/dist/orchestration/recall-internal-deps.d.ts.map +1 -0
- package/dist/orchestration/recall-internal.d.ts +30 -0
- package/dist/orchestration/recall-internal.d.ts.map +1 -0
- package/dist/orchestration/recall-introspection.d.ts +108 -0
- package/dist/orchestration/recall-introspection.d.ts.map +1 -0
- package/dist/orchestration/recall-profile-storage.d.ts +20 -0
- package/dist/orchestration/recall-profile-storage.d.ts.map +1 -0
- package/dist/orchestration/recall-recognition-index.d.ts +23 -0
- package/dist/orchestration/recall-recognition-index.d.ts.map +1 -0
- package/dist/orchestration/recall-recognition-search.d.ts +7 -0
- package/dist/orchestration/recall-recognition-search.d.ts.map +1 -0
- package/dist/orchestration/recall-rerank-coordinator.d.ts +126 -0
- package/dist/orchestration/recall-rerank-coordinator.d.ts.map +1 -0
- package/dist/orchestration/recall-result-formatter.d.ts +128 -0
- package/dist/orchestration/recall-result-formatter.d.ts.map +1 -0
- package/dist/orchestration/recall-search-pipeline.d.ts +284 -0
- package/dist/orchestration/recall-search-pipeline.d.ts.map +1 -0
- package/dist/orchestration/recall-search-prefilter.d.ts +31 -0
- package/dist/orchestration/recall-search-prefilter.d.ts.map +1 -0
- package/dist/orchestration/recall-section-coordinator.d.ts +92 -0
- package/dist/orchestration/recall-section-coordinator.d.ts.map +1 -0
- package/dist/orchestration/self-deps.d.ts +27 -0
- package/dist/orchestration/self-deps.d.ts.map +1 -0
- package/dist/orchestration/semantic-consolidation-coordinator.d.ts +64 -0
- package/dist/orchestration/semantic-consolidation-coordinator.d.ts.map +1 -0
- package/dist/orchestration/semantic-merge-commit-effects.d.ts +193 -0
- package/dist/orchestration/semantic-merge-commit-effects.d.ts.map +1 -0
- package/dist/orchestration/semantic-merge-persist.d.ts +318 -0
- package/dist/orchestration/semantic-merge-persist.d.ts.map +1 -0
- package/dist/orchestration/semantic-merge-promotion-payload.d.ts +132 -0
- package/dist/orchestration/semantic-merge-promotion-payload.d.ts.map +1 -0
- package/dist/orchestration/session-context.d.ts +225 -0
- package/dist/orchestration/session-context.d.ts.map +1 -0
- package/dist/orchestration/startup-collection-checks.d.ts +23 -0
- package/dist/orchestration/startup-collection-checks.d.ts.map +1 -0
- package/dist/orchestration/tier-migration-coordinator.d.ts +65 -0
- package/dist/orchestration/tier-migration-coordinator.d.ts.map +1 -0
- package/dist/orchestration/turn-ingestion.d.ts +227 -0
- package/dist/orchestration/turn-ingestion.d.ts.map +1 -0
- package/dist/orchestration/update-localization.d.ts +37 -0
- package/dist/orchestration/update-localization.d.ts.map +1 -0
- package/dist/orchestration/workspace-ops.d.ts +154 -0
- package/dist/orchestration/workspace-ops.d.ts.map +1 -0
- package/dist/orchestration/xray-capture-queue.d.ts +17 -0
- package/dist/orchestration/xray-capture-queue.d.ts.map +1 -0
- package/dist/orchestrator.d.ts +867 -109
- package/dist/orchestrator.d.ts.map +1 -0
- package/dist/orchestrator.js +157 -152
- package/dist/page-versioning.d.ts +16 -17
- package/dist/page-versioning.d.ts.map +1 -0
- package/dist/patterns-cli.d.ts +20 -40
- package/dist/patterns-cli.d.ts.map +1 -0
- package/dist/peers/index.d.ts +17 -327
- package/dist/peers/index.d.ts.map +1 -0
- package/dist/peers/migrate-from-identity-anchor.d.ts +119 -0
- package/dist/peers/migrate-from-identity-anchor.d.ts.map +1 -0
- package/dist/peers/profile-reasoner.d.ts +204 -0
- package/dist/peers/profile-reasoner.d.ts.map +1 -0
- package/dist/peers/storage.d.ts +163 -0
- package/dist/peers/storage.d.ts.map +1 -0
- package/dist/peers/types.d.ts +125 -0
- package/dist/peers/types.d.ts.map +1 -0
- package/dist/plugin-entry-resolver.d.ts +3 -4
- package/dist/plugin-entry-resolver.d.ts.map +1 -0
- package/dist/plugin-id.d.ts +4 -5
- package/dist/plugin-id.d.ts.map +1 -0
- package/dist/policy-runtime.d.ts +7 -26
- package/dist/policy-runtime.d.ts.map +1 -0
- package/dist/preferences/drift-config.d.ts +27 -0
- package/dist/preferences/drift-config.d.ts.map +1 -0
- package/dist/preferences/drift-recall.d.ts +74 -0
- package/dist/preferences/drift-recall.d.ts.map +1 -0
- package/dist/preferences/drift-types.d.ts +59 -0
- package/dist/preferences/drift-types.d.ts.map +1 -0
- package/dist/preferences/index.d.ts +12 -0
- package/dist/preferences/index.d.ts.map +1 -0
- package/dist/preferences/preference-drift.d.ts +144 -0
- package/dist/preferences/preference-drift.d.ts.map +1 -0
- package/dist/prioritized-embed.d.ts +3 -4
- package/dist/prioritized-embed.d.ts.map +1 -0
- package/dist/proactive-contention.d.ts +4 -24
- package/dist/proactive-contention.d.ts.map +1 -0
- package/dist/procedural/library-maintenance.d.ts +102 -0
- package/dist/procedural/library-maintenance.d.ts.map +1 -0
- package/dist/procedural/maintenance-config.d.ts +9 -0
- package/dist/procedural/maintenance-config.d.ts.map +1 -0
- package/dist/procedural/procedure-miner.d.ts +20 -0
- package/dist/procedural/procedure-miner.d.ts.map +1 -0
- package/dist/procedural/procedure-recall.d.ts +30 -0
- package/dist/procedural/procedure-recall.d.ts.map +1 -0
- package/dist/procedural/procedure-stats.d.ts +68 -0
- package/dist/procedural/procedure-stats.d.ts.map +1 -0
- package/dist/procedural/procedure-types.d.ts +26 -0
- package/dist/procedural/procedure-types.d.ts.map +1 -0
- package/dist/procedural/reinforcement-core.d.ts +39 -0
- package/dist/procedural/reinforcement-core.d.ts.map +1 -0
- package/dist/procedural/skill-io.d.ts +70 -0
- package/dist/procedural/skill-io.d.ts.map +1 -0
- package/dist/procedural/skill-projection.d.ts +98 -0
- package/dist/procedural/skill-projection.d.ts.map +1 -0
- package/dist/profiling.d.ts +10 -11
- package/dist/profiling.d.ts.map +1 -0
- package/dist/projection/index.d.ts +62 -0
- package/dist/projection/index.d.ts.map +1 -0
- package/dist/provenance.d.ts +13 -33
- package/dist/provenance.d.ts.map +1 -0
- package/dist/provenance.js +2 -2
- package/dist/providers/codex-subscription.d.ts +115 -0
- package/dist/providers/codex-subscription.d.ts.map +1 -0
- package/dist/qmd-preflight.d.ts +31 -21
- package/dist/qmd-preflight.d.ts.map +1 -0
- package/dist/qmd-recall-cache.d.ts +11 -30
- package/dist/qmd-recall-cache.d.ts.map +1 -0
- package/dist/qmd-status.d.ts +10 -11
- package/dist/qmd-status.d.ts.map +1 -0
- package/dist/qmd.d.ts +325 -21
- package/dist/qmd.d.ts.map +1 -0
- package/dist/reasoning-trace-recall.d.ts +7 -8
- package/dist/reasoning-trace-recall.d.ts.map +1 -0
- package/dist/reasoning-trace-types.d.ts +9 -10
- package/dist/reasoning-trace-types.d.ts.map +1 -0
- package/dist/recall-audit-anomaly.d.ts +11 -15
- package/dist/recall-audit-anomaly.d.ts.map +1 -0
- package/dist/recall-audit.d.ts +6 -8
- package/dist/recall-audit.d.ts.map +1 -0
- package/dist/recall-composition-decision.d.ts +9 -12
- package/dist/recall-composition-decision.d.ts.map +1 -0
- package/dist/recall-concurrency-config.d.ts +3 -22
- package/dist/recall-concurrency-config.d.ts.map +1 -0
- package/dist/recall-context-composition.d.ts +21 -22
- package/dist/recall-context-composition.d.ts.map +1 -0
- package/dist/recall-deep-access.d.ts +9 -12
- package/dist/recall-deep-access.d.ts.map +1 -0
- package/dist/recall-deep-budget-left.d.ts +2 -3
- package/dist/recall-deep-budget-left.d.ts.map +1 -0
- package/dist/recall-deep-budget.d.ts +2 -3
- package/dist/recall-deep-budget.d.ts.map +1 -0
- package/dist/recall-deep-expand-select.d.ts +4 -5
- package/dist/recall-deep-expand-select.d.ts.map +1 -0
- package/dist/recall-deep-expand.d.ts +2 -3
- package/dist/recall-deep-expand.d.ts.map +1 -0
- package/dist/recall-deep-frontier.d.ts +4 -5
- package/dist/recall-deep-frontier.d.ts.map +1 -0
- package/dist/recall-deep-policy.d.ts +5 -6
- package/dist/recall-deep-policy.d.ts.map +1 -0
- package/dist/recall-deep-query.d.ts +3 -4
- package/dist/recall-deep-query.d.ts.map +1 -0
- package/dist/recall-deep-refine.d.ts +2 -3
- package/dist/recall-deep-refine.d.ts.map +1 -0
- package/dist/recall-deep-render.d.ts +3 -6
- package/dist/recall-deep-render.d.ts.map +1 -0
- package/dist/recall-deep-rewrite.d.ts +4 -5
- package/dist/recall-deep-rewrite.d.ts.map +1 -0
- package/dist/recall-deep-step-count.d.ts +2 -3
- package/dist/recall-deep-step-count.d.ts.map +1 -0
- package/dist/recall-deep-stop-reason.d.ts +5 -6
- package/dist/recall-deep-stop-reason.d.ts.map +1 -0
- package/dist/recall-deep-stop.d.ts +6 -7
- package/dist/recall-deep-stop.d.ts.map +1 -0
- package/dist/recall-deep-trace-empty.d.ts +2 -3
- package/dist/recall-deep-trace-empty.d.ts.map +1 -0
- package/dist/recall-deep-working-set.d.ts +2 -3
- package/dist/recall-deep-working-set.d.ts.map +1 -0
- package/dist/recall-deep.d.ts +11 -12
- package/dist/recall-deep.d.ts.map +1 -0
- package/dist/recall-disclosure-escalation.d.ts +9 -29
- package/dist/recall-disclosure-escalation.d.ts.map +1 -0
- package/dist/recall-explain-renderer.d.ts +12 -38
- package/dist/recall-explain-renderer.d.ts.map +1 -0
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-handles.d.ts +23 -24
- package/dist/recall-handles.d.ts.map +1 -0
- package/dist/recall-memory-map.d.ts +8 -27
- package/dist/recall-memory-map.d.ts.map +1 -0
- package/dist/recall-mmr.d.ts +13 -14
- package/dist/recall-mmr.d.ts.map +1 -0
- package/dist/recall-navigate-access.d.ts +6 -27
- package/dist/recall-navigate-access.d.ts.map +1 -0
- package/dist/recall-navigate-access.js +2 -2
- package/dist/recall-navigate-action.d.ts +5 -5
- package/dist/recall-navigate-action.d.ts.map +1 -0
- package/dist/recall-navigate-budget.d.ts +3 -4
- package/dist/recall-navigate-budget.d.ts.map +1 -0
- package/dist/recall-navigate-cost.d.ts +2 -3
- package/dist/recall-navigate-cost.d.ts.map +1 -0
- package/dist/recall-navigate-depth.d.ts +2 -3
- package/dist/recall-navigate-depth.d.ts.map +1 -0
- package/dist/recall-navigate-disclosure.d.ts +5 -25
- package/dist/recall-navigate-disclosure.d.ts.map +1 -0
- package/dist/recall-navigate-disclosure.js +2 -2
- package/dist/recall-navigate-link.d.ts +5 -5
- package/dist/recall-navigate-link.d.ts.map +1 -0
- package/dist/recall-navigate-max-children.d.ts +2 -3
- package/dist/recall-navigate-max-children.d.ts.map +1 -0
- package/dist/recall-navigate-node.d.ts +3 -4
- package/dist/recall-navigate-node.d.ts.map +1 -0
- package/dist/recall-navigate-path.d.ts +2 -3
- package/dist/recall-navigate-path.d.ts.map +1 -0
- package/dist/recall-navigate-render.d.ts +3 -4
- package/dist/recall-navigate-render.d.ts.map +1 -0
- package/dist/recall-navigate-traverse.d.ts +5 -6
- package/dist/recall-navigate-traverse.d.ts.map +1 -0
- package/dist/recall-navigate-window.d.ts +5 -6
- package/dist/recall-navigate-window.d.ts.map +1 -0
- package/dist/recall-navigate.d.ts +13 -33
- package/dist/recall-navigate.d.ts.map +1 -0
- package/dist/recall-navigate.js +2 -2
- package/dist/recall-navigation-config.d.ts +7 -8
- package/dist/recall-navigation-config.d.ts.map +1 -0
- package/dist/recall-navigation-http-glue.d.ts +5 -151
- package/dist/recall-navigation-http-glue.d.ts.map +1 -0
- package/dist/recall-navigation-http-glue.js +2 -2
- package/dist/recall-navigation-mcp-tools.d.ts +3 -150
- package/dist/recall-navigation-mcp-tools.d.ts.map +1 -0
- package/dist/recall-navigation-operations.d.ts +11 -2
- package/dist/recall-navigation-operations.d.ts.map +1 -0
- package/dist/recall-navigation-operations.js +66 -61
- package/dist/recall-navigation-renderer.d.ts +4 -28
- package/dist/recall-navigation-renderer.d.ts.map +1 -0
- package/dist/recall-navigation.d.ts +13 -34
- package/dist/recall-navigation.d.ts.map +1 -0
- package/dist/recall-navigation.js +65 -60
- package/dist/recall-pipeline-stages.d.ts +6 -9
- package/dist/recall-pipeline-stages.d.ts.map +1 -0
- package/dist/recall-planner-i18n.d.ts +13 -14
- package/dist/recall-planner-i18n.d.ts.map +1 -0
- package/dist/recall-planner-llm.d.ts +8 -30
- package/dist/recall-planner-llm.d.ts.map +1 -0
- package/dist/recall-qos.d.ts +13 -15
- package/dist/recall-qos.d.ts.map +1 -0
- package/dist/recall-query-policy.d.ts +9 -10
- package/dist/recall-query-policy.d.ts.map +1 -0
- package/dist/recall-recognition-tier.d.ts +27 -28
- package/dist/recall-recognition-tier.d.ts.map +1 -0
- package/dist/recall-state-view-admission.d.ts +7 -26
- package/dist/recall-state-view-admission.d.ts.map +1 -0
- package/dist/recall-state-view-admission.js +3 -3
- package/dist/recall-state-view-anchors.d.ts +10 -29
- package/dist/recall-state-view-anchors.d.ts.map +1 -0
- package/dist/recall-state-view-current.d.ts +4 -5
- package/dist/recall-state-view-current.d.ts.map +1 -0
- package/dist/recall-state-view-inject.d.ts +3 -7
- package/dist/recall-state-view-inject.d.ts.map +1 -0
- package/dist/recall-state-view-kind.d.ts +5 -5
- package/dist/recall-state-view-kind.d.ts.map +1 -0
- package/dist/recall-state-view-label.d.ts +3 -6
- package/dist/recall-state-view-label.d.ts.map +1 -0
- package/dist/recall-state-view-packet.d.ts +7 -9
- package/dist/recall-state-view-packet.d.ts.map +1 -0
- package/dist/recall-state-view-render.d.ts +4 -7
- package/dist/recall-state-view-render.d.ts.map +1 -0
- package/dist/recall-state-view-successor.d.ts +3 -4
- package/dist/recall-state-view-successor.d.ts.map +1 -0
- package/dist/recall-state-view-superseded.d.ts +3 -4
- package/dist/recall-state-view-superseded.d.ts.map +1 -0
- package/dist/recall-state-view-transition.d.ts +4 -5
- package/dist/recall-state-view-transition.d.ts.map +1 -0
- package/dist/recall-state-view-widen.d.ts +3 -6
- package/dist/recall-state-view-widen.d.ts.map +1 -0
- package/dist/recall-state-view-wire.d.ts +3 -6
- package/dist/recall-state-view-wire.d.ts.map +1 -0
- package/dist/recall-state-view-zero-diff.d.ts +4 -5
- package/dist/recall-state-view-zero-diff.d.ts.map +1 -0
- package/dist/recall-state-view.d.ts +16 -17
- package/dist/recall-state-view.d.ts.map +1 -0
- package/dist/recall-state.d.ts +17 -35
- package/dist/recall-state.d.ts.map +1 -0
- package/dist/recall-tag-filter.d.ts +10 -33
- package/dist/recall-tag-filter.d.ts.map +1 -0
- package/dist/recall-timings.d.ts +10 -29
- package/dist/recall-timings.d.ts.map +1 -0
- package/dist/recall-tokenization.d.ts +7 -8
- package/dist/recall-tokenization.d.ts.map +1 -0
- package/dist/recall-why-cli.d.ts +25 -0
- package/dist/recall-why-cli.d.ts.map +1 -0
- package/dist/recall-why-cli.js +9 -0
- package/dist/recall-why-cli.js.map +1 -0
- package/dist/recall-why-renderer.d.ts +25 -0
- package/dist/recall-why-renderer.d.ts.map +1 -0
- package/dist/recall-why-renderer.js +18 -0
- package/dist/recall-why-renderer.js.map +1 -0
- package/dist/recall-why-service.d.ts +49 -0
- package/dist/recall-why-service.d.ts.map +1 -0
- package/dist/recall-why-service.js +46 -0
- package/dist/recall-why-service.js.map +1 -0
- package/dist/recall-why.d.ts +175 -0
- package/dist/recall-why.d.ts.map +1 -0
- package/dist/recall-why.js +25 -0
- package/dist/recall-why.js.map +1 -0
- package/dist/recall-xray-cli.d.ts +7 -31
- package/dist/recall-xray-cli.d.ts.map +1 -0
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.d.ts +9 -33
- package/dist/recall-xray-renderer.d.ts.map +1 -0
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.d.ts +19 -39
- package/dist/recall-xray.d.ts.map +1 -0
- package/dist/recall-xray.js +2 -2
- package/dist/reconcile/cursor.d.ts +15 -37
- package/dist/reconcile/cursor.d.ts.map +1 -0
- package/dist/reconcile/manifest.d.ts +19 -40
- package/dist/reconcile/manifest.d.ts.map +1 -0
- package/dist/reconcile/manifest.js +2 -2
- package/dist/reconcile/plan.d.ts +22 -42
- package/dist/reconcile/plan.d.ts.map +1 -0
- package/dist/reconstruct.d.ts +2 -3
- package/dist/reconstruct.d.ts.map +1 -0
- package/dist/relay/mission-access.d.ts +28 -0
- package/dist/relay/mission-access.d.ts.map +1 -0
- package/dist/relay/mission-fixture.d.ts +11 -0
- package/dist/relay/mission-fixture.d.ts.map +1 -0
- package/dist/relay/mission.d.ts +3952 -0
- package/dist/relay/mission.d.ts.map +1 -0
- package/dist/release-changelog.d.ts +3 -4
- package/dist/release-changelog.d.ts.map +1 -0
- package/dist/relevance.d.ts +3 -3
- package/dist/relevance.d.ts.map +1 -0
- package/dist/replay/normalizers/chatgpt.d.ts +3 -23
- package/dist/replay/normalizers/chatgpt.d.ts.map +1 -0
- package/dist/replay/normalizers/claude.d.ts +3 -23
- package/dist/replay/normalizers/claude.d.ts.map +1 -0
- package/dist/replay/normalizers/openclaw.d.ts +3 -23
- package/dist/replay/normalizers/openclaw.d.ts.map +1 -0
- package/dist/replay/normalizers/shared.d.ts +6 -25
- package/dist/replay/normalizers/shared.d.ts.map +1 -0
- package/dist/replay/runner.d.ts +10 -30
- package/dist/replay/runner.d.ts.map +1 -0
- package/dist/replay/types.d.ts +18 -37
- package/dist/replay/types.d.ts.map +1 -0
- package/dist/replica-divergence.d.ts +24 -45
- package/dist/replica-divergence.d.ts.map +1 -0
- package/dist/replica-divergence.js +3 -3
- package/dist/replica-peers-config.d.ts +50 -18
- package/dist/replica-peers-config.d.ts.map +1 -0
- package/dist/rerank.d.ts +8 -9
- package/dist/rerank.d.ts.map +1 -0
- package/dist/resolution-CHNISQJB.js +36 -0
- package/dist/resolution-CHNISQJB.js.map +1 -0
- package/dist/resolve-auth-token.d.ts +9 -27
- package/dist/resolve-auth-token.d.ts.map +1 -0
- package/dist/resolve-provider-secret.d.ts +10 -11
- package/dist/resolve-provider-secret.d.ts.map +1 -0
- package/dist/response-guidance-recall.d.ts +5 -8
- package/dist/response-guidance-recall.d.ts.map +1 -0
- package/dist/resume-bundles.d.ts +9 -10
- package/dist/resume-bundles.d.ts.map +1 -0
- package/dist/resume-bundles.js +24 -24
- package/dist/retrieval-agents.d.ts +14 -36
- package/dist/retrieval-agents.d.ts.map +1 -0
- package/dist/retrieval-tiers.d.ts +4 -24
- package/dist/retrieval-tiers.d.ts.map +1 -0
- package/dist/retrieval.d.ts +5 -6
- package/dist/retrieval.d.ts.map +1 -0
- package/dist/review/frontmatter.d.ts +6 -0
- package/dist/review/frontmatter.d.ts.map +1 -0
- package/dist/review/index.d.ts +81 -0
- package/dist/review/index.d.ts.map +1 -0
- package/dist/review/review-deck-http-base.d.ts +10 -0
- package/dist/review/review-deck-http-base.d.ts.map +1 -0
- package/dist/review/review-deck-mutation.d.ts +51 -0
- package/dist/review/review-deck-mutation.d.ts.map +1 -0
- package/dist/review/review-deck-snapshot.d.ts +10 -0
- package/dist/review/review-deck-snapshot.d.ts.map +1 -0
- package/dist/review/review-deck-surface.d.ts +33 -0
- package/dist/review/review-deck-surface.d.ts.map +1 -0
- package/dist/review/review-deck.d.ts +107 -0
- package/dist/review/review-deck.d.ts.map +1 -0
- package/dist/routing/engine.d.ts +12 -31
- package/dist/routing/engine.d.ts.map +1 -0
- package/dist/routing/store.d.ts +3 -23
- package/dist/routing/store.d.ts.map +1 -0
- package/dist/runtime/better-sqlite.d.ts +9 -10
- package/dist/runtime/better-sqlite.d.ts.map +1 -0
- package/dist/runtime/child-process.d.ts +5 -5
- package/dist/runtime/child-process.d.ts.map +1 -0
- package/dist/runtime/daemon-health.d.ts +2 -0
- package/dist/runtime/daemon-health.d.ts.map +1 -0
- package/dist/runtime/env.d.ts +5 -6
- package/dist/runtime/env.d.ts.map +1 -0
- package/dist/runtime/http-transport.d.ts +3 -4
- package/dist/runtime/http-transport.d.ts.map +1 -0
- package/dist/salvage-envelope.d.ts +3 -23
- package/dist/salvage-envelope.d.ts.map +1 -0
- package/dist/sanitize.d.ts +5 -7
- package/dist/sanitize.d.ts.map +1 -0
- package/dist/schemas.d.ts +135 -137
- package/dist/schemas.d.ts.map +1 -0
- package/dist/scopes/scope-plan.d.ts +258 -0
- package/dist/scopes/scope-plan.d.ts.map +1 -0
- package/dist/sdk-compat.d.ts +4 -5
- package/dist/sdk-compat.d.ts.map +1 -0
- package/dist/search/abort.d.ts +5 -0
- package/dist/search/abort.d.ts.map +1 -0
- package/dist/search/document-scanner.d.ts +3 -4
- package/dist/search/document-scanner.d.ts.map +1 -0
- package/dist/search/embed-helper.d.ts +8 -26
- package/dist/search/embed-helper.d.ts.map +1 -0
- package/dist/search/factory.d.ts +10 -31
- package/dist/search/factory.d.ts.map +1 -0
- package/dist/search/factory.js +4 -4
- package/dist/search/index.d.ts +11 -32
- package/dist/search/index.d.ts.map +1 -0
- package/dist/search/index.js +10 -10
- package/dist/search/lancedb-backend.d.ts +5 -26
- package/dist/search/lancedb-backend.d.ts.map +1 -0
- package/dist/search/meilisearch-backend.d.ts +4 -24
- package/dist/search/meilisearch-backend.d.ts.map +1 -0
- package/dist/search/noop-backend.d.ts +3 -23
- package/dist/search/noop-backend.d.ts.map +1 -0
- package/dist/search/orama-backend.d.ts +6 -27
- package/dist/search/orama-backend.d.ts.map +1 -0
- package/dist/search/orama-cjk-tokenizer.d.ts +53 -0
- package/dist/search/orama-cjk-tokenizer.d.ts.map +1 -0
- package/dist/search/port.d.ts +10 -29
- package/dist/search/port.d.ts.map +1 -0
- package/dist/search/remote-backend.d.ts +4 -24
- package/dist/search/remote-backend.d.ts.map +1 -0
- package/dist/secure-store/cipher.d.ts +127 -0
- package/dist/secure-store/cipher.d.ts.map +1 -0
- package/dist/secure-store/cli-handlers.d.ts +134 -0
- package/dist/secure-store/cli-handlers.d.ts.map +1 -0
- package/dist/secure-store/cli-renderer.d.ts +16 -0
- package/dist/secure-store/cli-renderer.d.ts.map +1 -0
- package/dist/secure-store/header.d.ts +137 -0
- package/dist/secure-store/header.d.ts.map +1 -0
- package/dist/secure-store/index.d.ts +23 -899
- package/dist/secure-store/index.d.ts.map +1 -0
- package/dist/secure-store/kdf.d.ts +101 -0
- package/dist/secure-store/kdf.d.ts.map +1 -0
- package/dist/secure-store/keyring.d.ts +58 -0
- package/dist/secure-store/keyring.d.ts.map +1 -0
- package/dist/secure-store/metadata.d.ts +104 -0
- package/dist/secure-store/metadata.d.ts.map +1 -0
- package/dist/secure-store/passphrase-reader.d.ts +40 -0
- package/dist/secure-store/passphrase-reader.d.ts.map +1 -0
- package/dist/secure-store/secure-fs.d.ts +227 -0
- package/dist/secure-store/secure-fs.d.ts.map +1 -0
- package/dist/security/audit-memory-cli.d.ts +9 -0
- package/dist/security/audit-memory-cli.d.ts.map +1 -0
- package/dist/security/audit-memory.d.ts +48 -0
- package/dist/security/audit-memory.d.ts.map +1 -0
- package/dist/security/injection-screen.d.ts +19 -0
- package/dist/security/injection-screen.d.ts.map +1 -0
- package/dist/security/origin-authority.d.ts +30 -0
- package/dist/security/origin-authority.d.ts.map +1 -0
- package/dist/security/types.d.ts +13 -0
- package/dist/security/types.d.ts.map +1 -0
- package/dist/semantic-chunking.d.ts +13 -16
- package/dist/semantic-chunking.d.ts.map +1 -0
- package/dist/semantic-consolidation.d.ts +126 -22
- package/dist/semantic-consolidation.d.ts.map +1 -0
- package/dist/semantic-consolidation.js +15 -15
- package/dist/semantic-merge-config.d.ts +2 -3
- package/dist/semantic-merge-config.d.ts.map +1 -0
- package/dist/semantic-rule-promotion.d.ts +7 -7
- package/dist/semantic-rule-promotion.d.ts.map +1 -0
- package/dist/semantic-rule-promotion.js +14 -14
- package/dist/semantic-rule-verifier.d.ts +6 -25
- package/dist/semantic-rule-verifier.d.ts.map +1 -0
- package/dist/semantic-rule-verifier.js +14 -14
- package/dist/session-identity.d.ts +10 -11
- package/dist/session-identity.d.ts.map +1 -0
- package/dist/session-integrity.d.ts +14 -15
- package/dist/session-integrity.d.ts.map +1 -0
- package/dist/session-namespace-bindings.d.ts +10 -11
- package/dist/session-namespace-bindings.d.ts.map +1 -0
- package/dist/session-observer-bands.d.ts +4 -23
- package/dist/session-observer-bands.d.ts.map +1 -0
- package/dist/session-observer-state.d.ts +6 -25
- package/dist/session-observer-state.d.ts.map +1 -0
- package/dist/session-summaries/adapters.d.ts +5 -0
- package/dist/session-summaries/adapters.d.ts.map +1 -0
- package/dist/session-summaries/index.d.ts +7 -0
- package/dist/session-summaries/index.d.ts.map +1 -0
- package/dist/session-summaries/redaction.d.ts +8 -0
- package/dist/session-summaries/redaction.d.ts.map +1 -0
- package/dist/session-summaries/types.d.ts +113 -0
- package/dist/session-summaries/types.d.ts.map +1 -0
- package/dist/session-toggles.d.ts +4 -4
- package/dist/session-toggles.d.ts.map +1 -0
- package/dist/session-transcript-migration.d.ts +9 -10
- package/dist/session-transcript-migration.d.ts.map +1 -0
- package/dist/shared-context/authority-precedence.d.ts +22 -0
- package/dist/shared-context/authority-precedence.d.ts.map +1 -0
- package/dist/shared-context/authority.d.ts +18 -0
- package/dist/shared-context/authority.d.ts.map +1 -0
- package/dist/shared-context/claim-key.d.ts +14 -0
- package/dist/shared-context/claim-key.d.ts.map +1 -0
- package/dist/shared-context/contradictions.d.ts +20 -0
- package/dist/shared-context/contradictions.d.ts.map +1 -0
- package/dist/shared-context/curation-lint.d.ts +23 -0
- package/dist/shared-context/curation-lint.d.ts.map +1 -0
- package/dist/shared-context/envelope-actor.d.ts +14 -0
- package/dist/shared-context/envelope-actor.d.ts.map +1 -0
- package/dist/shared-context/envelope-at.d.ts +19 -0
- package/dist/shared-context/envelope-at.d.ts.map +1 -0
- package/dist/shared-context/envelope-id.d.ts +14 -0
- package/dist/shared-context/envelope-id.d.ts.map +1 -0
- package/dist/shared-context/envelope-io.d.ts +100 -0
- package/dist/shared-context/envelope-io.d.ts.map +1 -0
- package/dist/shared-context/envelope-required.d.ts +14 -0
- package/dist/shared-context/envelope-required.d.ts.map +1 -0
- package/dist/shared-context/envelope-ttl.d.ts +12 -0
- package/dist/shared-context/envelope-ttl.d.ts.map +1 -0
- package/dist/shared-context/governance.d.ts +28 -0
- package/dist/shared-context/governance.d.ts.map +1 -0
- package/dist/shared-context/iso-instant.d.ts +19 -0
- package/dist/shared-context/iso-instant.d.ts.map +1 -0
- package/dist/shared-context/manager.d.ts +13 -40
- package/dist/shared-context/manager.d.ts.map +1 -0
- package/dist/shared-context/provenance.d.ts +18 -0
- package/dist/shared-context/provenance.d.ts.map +1 -0
- package/dist/shared-context/staleness.d.ts +18 -0
- package/dist/shared-context/staleness.d.ts.map +1 -0
- package/dist/shared-context/supersession-chain.d.ts +41 -0
- package/dist/shared-context/supersession-chain.d.ts.map +1 -0
- package/dist/shared-context/trajectories.d.ts +24 -0
- package/dist/shared-context/trajectories.d.ts.map +1 -0
- package/dist/shared-context/write-output-controls.d.ts +4 -5
- package/dist/shared-context/write-output-controls.d.ts.map +1 -0
- package/dist/signal.d.ts +4 -23
- package/dist/signal.d.ts.map +1 -0
- package/dist/skills-registry.d.ts +4 -5
- package/dist/skills-registry.d.ts.map +1 -0
- package/dist/source-agent-qualifier.d.ts +8 -27
- package/dist/source-agent-qualifier.d.ts.map +1 -0
- package/dist/source-agent-qualifier.js +23 -23
- package/dist/source-attribution.d.ts +20 -21
- package/dist/source-attribution.d.ts.map +1 -0
- package/dist/spaces/index.d.ts +148 -0
- package/dist/spaces/index.d.ts.map +1 -0
- package/dist/standing-memory-block.d.ts +25 -26
- package/dist/standing-memory-block.d.ts.map +1 -0
- package/dist/standup/access-operations.d.ts +2 -0
- package/dist/standup/access-operations.d.ts.map +1 -0
- package/dist/standup/build.d.ts +6 -7
- package/dist/standup/build.d.ts.map +1 -0
- package/dist/standup/build.js +15 -15
- package/dist/standup/http-glue.d.ts +4 -0
- package/dist/standup/http-glue.d.ts.map +1 -0
- package/dist/standup/mcp-tools.d.ts +3 -0
- package/dist/standup/mcp-tools.d.ts.map +1 -0
- package/dist/storage/cas-revision-host.d.ts +34 -0
- package/dist/storage/cas-revision-host.d.ts.map +1 -0
- package/dist/storage/cas-revision-store.d.ts +176 -0
- package/dist/storage/cas-revision-store.d.ts.map +1 -0
- package/dist/storage/citation-hash-source.d.ts +3 -0
- package/dist/storage/citation-hash-source.d.ts.map +1 -0
- package/dist/storage/committed-invalidation.d.ts +9 -0
- package/dist/storage/committed-invalidation.d.ts.map +1 -0
- package/dist/storage/content-hash-index.d.ts +269 -0
- package/dist/storage/content-hash-index.d.ts.map +1 -0
- package/dist/storage/context-transform-ledger.d.ts +10 -0
- package/dist/storage/context-transform-ledger.d.ts.map +1 -0
- package/dist/storage/deletion-revision-store.d.ts +79 -0
- package/dist/storage/deletion-revision-store.d.ts.map +1 -0
- package/dist/storage/entity-alias-config.d.ts +2 -0
- package/dist/storage/entity-alias-config.d.ts.map +1 -0
- package/dist/storage/entity-canonical-id-lock.d.ts +4 -0
- package/dist/storage/entity-canonical-id-lock.d.ts.map +1 -0
- package/dist/storage/entity-canonical-id-migration-adapter.d.ts +24 -0
- package/dist/storage/entity-canonical-id-migration-adapter.d.ts.map +1 -0
- package/dist/storage/entity-canonical-id-migration-runner.d.ts +16 -0
- package/dist/storage/entity-canonical-id-migration-runner.d.ts.map +1 -0
- package/dist/storage/entity-canonical-id-migration.d.ts +44 -0
- package/dist/storage/entity-canonical-id-migration.d.ts.map +1 -0
- package/dist/storage/entity-canonical-id-references.d.ts +173 -0
- package/dist/storage/entity-canonical-id-references.d.ts.map +1 -0
- package/dist/storage/entity-id-safety.d.ts +2 -0
- package/dist/storage/entity-id-safety.d.ts.map +1 -0
- package/dist/storage/entity-ref-repair.d.ts +45 -0
- package/dist/storage/entity-ref-repair.d.ts.map +1 -0
- package/dist/storage/entity-store.d.ts +131 -0
- package/dist/storage/entity-store.d.ts.map +1 -0
- package/dist/storage/entity-timeline.d.ts +34 -0
- package/dist/storage/entity-timeline.d.ts.map +1 -0
- package/dist/storage/identity-continuity-store.d.ts +40 -0
- package/dist/storage/identity-continuity-store.d.ts.map +1 -0
- package/dist/storage/memory-frontmatter-metadata.d.ts +4 -0
- package/dist/storage/memory-frontmatter-metadata.d.ts.map +1 -0
- package/dist/storage/memory-lifecycle-ledger-access.d.ts +194 -0
- package/dist/storage/memory-lifecycle-ledger-access.d.ts.map +1 -0
- package/dist/storage/memory-migration-serialization.d.ts +5 -0
- package/dist/storage/memory-migration-serialization.d.ts.map +1 -0
- package/dist/storage/memory-read-store.d.ts +193 -0
- package/dist/storage/memory-read-store.d.ts.map +1 -0
- package/dist/storage/profile-header.d.ts +16 -0
- package/dist/storage/profile-header.d.ts.map +1 -0
- package/dist/storage/questions-file.d.ts +11 -0
- package/dist/storage/questions-file.d.ts.map +1 -0
- package/dist/storage/secure-line-reader.d.ts +53 -0
- package/dist/storage/secure-line-reader.d.ts.map +1 -0
- package/dist/storage/supersession-audit.d.ts +7 -0
- package/dist/storage/supersession-audit.d.ts.map +1 -0
- package/dist/storage/supersession-side-effects.d.ts +51 -0
- package/dist/storage/supersession-side-effects.d.ts.map +1 -0
- package/dist/storage/tombstone-blocked-capture-index.d.ts +93 -0
- package/dist/storage/tombstone-blocked-capture-index.d.ts.map +1 -0
- package/dist/storage/tombstone-blocked-capture-mutation.d.ts +53 -0
- package/dist/storage/tombstone-blocked-capture-mutation.d.ts.map +1 -0
- package/dist/storage/tombstone-blocked-capture-sync.d.ts +96 -0
- package/dist/storage/tombstone-blocked-capture-sync.d.ts.map +1 -0
- package/dist/storage/tombstone-migration-sources.d.ts +24 -0
- package/dist/storage/tombstone-migration-sources.d.ts.map +1 -0
- package/dist/storage/windowed-memory-read.d.ts +28 -0
- package/dist/storage/windowed-memory-read.d.ts.map +1 -0
- package/dist/storage-contract/harness.d.ts +59 -0
- package/dist/storage-contract/harness.d.ts.map +1 -0
- package/dist/storage-guards.d.ts +6 -7
- package/dist/storage-guards.d.ts.map +1 -0
- package/dist/storage-paths.d.ts +8 -9
- package/dist/storage-paths.d.ts.map +1 -0
- package/dist/storage.d.ts +1362 -33
- package/dist/storage.d.ts.map +1 -0
- package/dist/storage.js +15 -15
- package/dist/store-contract.d.ts +9 -10
- package/dist/store-contract.d.ts.map +1 -0
- package/dist/structured-attributes.d.ts +6 -7
- package/dist/structured-attributes.d.ts.map +1 -0
- package/dist/subject-config.d.ts +4 -24
- package/dist/subject-config.d.ts.map +1 -0
- package/dist/summarizer.d.ts +7 -27
- package/dist/summarizer.d.ts.map +1 -0
- package/dist/summarizer.js +3 -3
- package/dist/summary-snapshot.d.ts +6 -25
- package/dist/summary-snapshot.d.ts.map +1 -0
- package/dist/support-passport/access-http-base.d.ts +20 -0
- package/dist/support-passport/access-http-base.d.ts.map +1 -0
- package/dist/support-passport/access-http.d.ts +64 -0
- package/dist/support-passport/access-http.d.ts.map +1 -0
- package/dist/support-passport/access-operations.d.ts +197 -0
- package/dist/support-passport/access-operations.d.ts.map +1 -0
- package/dist/support-passport/access-service-base.d.ts +86 -0
- package/dist/support-passport/access-service-base.d.ts.map +1 -0
- package/dist/support-passport/access-surface.d.ts +118 -0
- package/dist/support-passport/access-surface.d.ts.map +1 -0
- package/dist/support-passport/card-projection.d.ts +83 -0
- package/dist/support-passport/card-projection.d.ts.map +1 -0
- package/dist/support-passport/card-replacement.d.ts +21 -0
- package/dist/support-passport/card-replacement.d.ts.map +1 -0
- package/dist/support-passport/card-service.d.ts +65 -0
- package/dist/support-passport/card-service.d.ts.map +1 -0
- package/dist/support-passport/card-state.d.ts +28 -0
- package/dist/support-passport/card-state.d.ts.map +1 -0
- package/dist/support-passport/config.d.ts +4 -0
- package/dist/support-passport/config.d.ts.map +1 -0
- package/dist/support-passport/contracts.d.ts +165 -0
- package/dist/support-passport/contracts.d.ts.map +1 -0
- package/dist/support-passport/errors.d.ts +7 -0
- package/dist/support-passport/errors.d.ts.map +1 -0
- package/dist/support-passport/generated-batch.d.ts +47 -0
- package/dist/support-passport/generated-batch.d.ts.map +1 -0
- package/dist/support-passport/grant-contracts.d.ts +443 -0
- package/dist/support-passport/grant-contracts.d.ts.map +1 -0
- package/dist/support-passport/grant-service.d.ts +48 -0
- package/dist/support-passport/grant-service.d.ts.map +1 -0
- package/dist/support-passport/grant-store.d.ts +84 -0
- package/dist/support-passport/grant-store.d.ts.map +1 -0
- package/dist/support-passport/index.d.ts +17 -571
- package/dist/support-passport/index.d.ts.map +1 -0
- package/dist/support-passport/index.js +75 -70
- package/dist/support-passport/mcp-tools.d.ts +16 -0
- package/dist/support-passport/mcp-tools.d.ts.map +1 -0
- package/dist/support-passport/model-adapter.d.ts +90 -0
- package/dist/support-passport/model-adapter.d.ts.map +1 -0
- package/dist/support-passport/model-audit.d.ts +115 -0
- package/dist/support-passport/model-audit.d.ts.map +1 -0
- package/dist/support-passport/model-bridge.d.ts +105 -0
- package/dist/support-passport/model-bridge.d.ts.map +1 -0
- package/dist/support-passport/model-contracts.d.ts +219 -0
- package/dist/support-passport/model-contracts.d.ts.map +1 -0
- package/dist/support-passport/model-service.d.ts +58 -0
- package/dist/support-passport/model-service.d.ts.map +1 -0
- package/dist/support-passport/offline-sync-guard.d.ts +46 -0
- package/dist/support-passport/offline-sync-guard.d.ts.map +1 -0
- package/dist/support-passport/owner-lock.d.ts +16 -0
- package/dist/support-passport/owner-lock.d.ts.map +1 -0
- package/dist/support-passport/private-file.d.ts +16 -0
- package/dist/support-passport/private-file.d.ts.map +1 -0
- package/dist/support-passport/public-http.d.ts +23 -0
- package/dist/support-passport/public-http.d.ts.map +1 -0
- package/dist/surfaces/dreams.d.ts +4 -5
- package/dist/surfaces/dreams.d.ts.map +1 -0
- package/dist/surfaces/heartbeat.d.ts +4 -5
- package/dist/surfaces/heartbeat.d.ts.map +1 -0
- package/dist/sync/index.d.ts +69 -0
- package/dist/sync/index.d.ts.map +1 -0
- package/dist/targeted-fact-recall.d.ts +5 -8
- package/dist/targeted-fact-recall.d.ts.map +1 -0
- package/dist/task-llm-config.d.ts +4 -5
- package/dist/task-llm-config.d.ts.map +1 -0
- package/dist/taxonomy/default-taxonomy.d.ts +7 -0
- package/dist/taxonomy/default-taxonomy.d.ts.map +1 -0
- package/dist/taxonomy/index.d.ts +11 -0
- package/dist/taxonomy/index.d.ts.map +1 -0
- package/dist/taxonomy/resolver-doc-generator.d.ts +17 -0
- package/dist/taxonomy/resolver-doc-generator.d.ts.map +1 -0
- package/dist/taxonomy/resolver.d.ts +25 -0
- package/dist/taxonomy/resolver.d.ts.map +1 -0
- package/dist/taxonomy/taxonomy-loader.d.ts +38 -0
- package/dist/taxonomy/taxonomy-loader.d.ts.map +1 -0
- package/dist/taxonomy/types.d.ts +49 -0
- package/dist/taxonomy/types.d.ts.map +1 -0
- package/dist/telemetry-transcript.d.ts +6 -7
- package/dist/telemetry-transcript.d.ts.map +1 -0
- package/dist/temporal-index-batch.d.ts +30 -1
- package/dist/temporal-index-batch.d.ts.map +1 -0
- package/dist/temporal-index-compat.d.ts +7 -267
- package/dist/temporal-index-compat.d.ts.map +1 -0
- package/dist/temporal-index.d.ts +230 -1
- package/dist/temporal-index.d.ts.map +1 -0
- package/dist/temporal-supersession.d.ts +14 -34
- package/dist/temporal-supersession.d.ts.map +1 -0
- package/dist/temporal-timeline-recall.d.ts +5 -24
- package/dist/temporal-timeline-recall.d.ts.map +1 -0
- package/dist/temporal-validity.d.ts +7 -27
- package/dist/temporal-validity.d.ts.map +1 -0
- package/dist/testing/lifecycle-matrix.d.ts +11 -12
- package/dist/testing/lifecycle-matrix.d.ts.map +1 -0
- package/dist/testing/orchestrator-lite.d.ts +80 -0
- package/dist/testing/orchestrator-lite.d.ts.map +1 -0
- package/dist/testing/subjects/meetings-namespace-harness.d.ts +32 -0
- package/dist/testing/subjects/meetings-namespace-harness.d.ts.map +1 -0
- package/dist/testing/tmp-dir.d.ts +9 -0
- package/dist/testing/tmp-dir.d.ts.map +1 -0
- package/dist/thread-key.d.ts +2 -3
- package/dist/thread-key.d.ts.map +1 -0
- package/dist/threading.d.ts +3 -23
- package/dist/threading.d.ts.map +1 -0
- package/dist/tier-migration.d.ts +10 -43
- package/dist/tier-migration.d.ts.map +1 -0
- package/dist/tier-routing.d.ts +8 -27
- package/dist/tier-routing.d.ts.map +1 -0
- package/dist/tmt.d.ts +18 -19
- package/dist/tmt.d.ts.map +1 -0
- package/dist/token-estimate.d.ts +2 -3
- package/dist/token-estimate.d.ts.map +1 -0
- package/dist/tokens.d.ts +15 -19
- package/dist/tokens.d.ts.map +1 -0
- package/dist/tokens.js +3 -3
- package/dist/tool-scoped-memory.d.ts +7 -8
- package/dist/tool-scoped-memory.d.ts.map +1 -0
- package/dist/topics.d.ts +4 -24
- package/dist/topics.d.ts.map +1 -0
- package/dist/training-export/converter.d.ts +18 -0
- package/dist/training-export/converter.d.ts.map +1 -0
- package/dist/training-export/date-parse.d.ts +38 -0
- package/dist/training-export/date-parse.d.ts.map +1 -0
- package/dist/training-export/index.d.ts +10 -0
- package/dist/training-export/index.d.ts.map +1 -0
- package/dist/training-export/registry.d.ts +27 -0
- package/dist/training-export/registry.d.ts.map +1 -0
- package/dist/training-export/types.d.ts +29 -0
- package/dist/training-export/types.d.ts.map +1 -0
- package/dist/transcript.d.ts +5 -24
- package/dist/transcript.d.ts.map +1 -0
- package/dist/transfer/autodetect.d.ts +3 -4
- package/dist/transfer/autodetect.d.ts.map +1 -0
- package/dist/transfer/backup.d.ts +3 -4
- package/dist/transfer/backup.d.ts.map +1 -0
- package/dist/transfer/backup.js +2 -2
- package/dist/transfer/capsule-crypto.d.ts +168 -0
- package/dist/transfer/capsule-crypto.d.ts.map +1 -0
- package/dist/transfer/capsule-export.d.ts +6 -9
- package/dist/transfer/capsule-export.d.ts.map +1 -0
- package/dist/transfer/capsule-export.js +2 -2
- package/dist/transfer/capsule-fork.d.ts +117 -0
- package/dist/transfer/capsule-fork.d.ts.map +1 -0
- package/dist/transfer/capsule-import.d.ts +10 -13
- package/dist/transfer/capsule-import.d.ts.map +1 -0
- package/dist/transfer/capsule-import.js +2 -2
- package/dist/transfer/capsule-merge.d.ts +124 -0
- package/dist/transfer/capsule-merge.d.ts.map +1 -0
- package/dist/transfer/conflict-policy.d.ts +5 -0
- package/dist/transfer/conflict-policy.d.ts.map +1 -0
- package/dist/transfer/constants.d.ts +4 -5
- package/dist/transfer/constants.d.ts.map +1 -0
- package/dist/transfer/exclusions.d.ts +8 -0
- package/dist/transfer/exclusions.d.ts.map +1 -0
- package/dist/transfer/export-json.d.ts +3 -4
- package/dist/transfer/export-json.d.ts.map +1 -0
- package/dist/transfer/export-md.d.ts +4 -5
- package/dist/transfer/export-md.d.ts.map +1 -0
- package/dist/transfer/export-okf.d.ts +11 -31
- package/dist/transfer/export-okf.d.ts.map +1 -0
- package/dist/transfer/export-okf.js +14 -14
- package/dist/transfer/export-sqlite.d.ts +3 -4
- package/dist/transfer/export-sqlite.d.ts.map +1 -0
- package/dist/transfer/fs-utils.d.ts +20 -21
- package/dist/transfer/fs-utils.d.ts.map +1 -0
- package/dist/transfer/import-json.d.ts +6 -7
- package/dist/transfer/import-json.d.ts.map +1 -0
- package/dist/transfer/import-md.d.ts +5 -6
- package/dist/transfer/import-md.d.ts.map +1 -0
- package/dist/transfer/import-sqlite.d.ts +5 -6
- package/dist/transfer/import-sqlite.d.ts.map +1 -0
- package/dist/transfer/integrity.d.ts +8 -0
- package/dist/transfer/integrity.d.ts.map +1 -0
- package/dist/transfer/sqlite-schema.d.ts +3 -4
- package/dist/transfer/sqlite-schema.d.ts.map +1 -0
- package/dist/transfer/types.d.ts +48 -50
- package/dist/transfer/types.d.ts.map +1 -0
- package/dist/trust-score-stage.d.ts +21 -40
- package/dist/trust-score-stage.d.ts.map +1 -0
- package/dist/trust-score.d.ts +15 -34
- package/dist/trust-score.d.ts.map +1 -0
- package/dist/trust-zones.d.ts +29 -30
- package/dist/trust-zones.d.ts.map +1 -0
- package/dist/types-continuity.d.ts +10 -11
- package/dist/types-continuity.d.ts.map +1 -0
- package/dist/types.d.ts +3500 -18
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +1 -1
- package/dist/user-message-cleaning.d.ts +3 -4
- package/dist/user-message-cleaning.d.ts.map +1 -0
- package/dist/user-model.d.ts +17 -18
- package/dist/user-model.d.ts.map +1 -0
- package/dist/utility-learner.d.ts +10 -12
- package/dist/utility-learner.d.ts.map +1 -0
- package/dist/utility-runtime.d.ts +6 -27
- package/dist/utility-runtime.d.ts.map +1 -0
- package/dist/utility-telemetry.d.ts +12 -13
- package/dist/utility-telemetry.d.ts.map +1 -0
- package/dist/utils/category-dir.d.ts +45 -0
- package/dist/utils/category-dir.d.ts.map +1 -0
- package/dist/utils/errno.d.ts +4 -0
- package/dist/utils/errno.d.ts.map +1 -0
- package/dist/utils/iso-timestamp.d.ts +18 -0
- package/dist/utils/iso-timestamp.d.ts.map +1 -0
- package/dist/utils/path-containment.d.ts +50 -0
- package/dist/utils/path-containment.d.ts.map +1 -0
- package/dist/utils/path.d.ts +2 -3
- package/dist/utils/path.d.ts.map +1 -0
- package/dist/utils/script-aware-text.d.ts +27 -0
- package/dist/utils/script-aware-text.d.ts.map +1 -0
- package/dist/utils/serialize-mutations.d.ts +6 -7
- package/dist/utils/serialize-mutations.d.ts.map +1 -0
- package/dist/utils/yaml-scalar.d.ts +9 -0
- package/dist/utils/yaml-scalar.d.ts.map +1 -0
- package/dist/verified-recall.d.ts +5 -7
- package/dist/verified-recall.d.ts.map +1 -0
- package/dist/verified-recall.js +14 -14
- package/dist/version-utils.d.ts +3 -4
- package/dist/version-utils.d.ts.map +1 -0
- package/dist/wearables/auto-sync.d.ts +63 -0
- package/dist/wearables/auto-sync.d.ts.map +1 -0
- package/dist/wearables/cleanup.d.ts +39 -0
- package/dist/wearables/cleanup.d.ts.map +1 -0
- package/dist/wearables/cli.d.ts +24 -0
- package/dist/wearables/cli.d.ts.map +1 -0
- package/dist/wearables/config.d.ts +22 -0
- package/dist/wearables/config.d.ts.map +1 -0
- package/dist/wearables/corrections.d.ts +46 -0
- package/dist/wearables/corrections.d.ts.map +1 -0
- package/dist/wearables/day-store.d.ts +152 -0
- package/dist/wearables/day-store.d.ts.map +1 -0
- package/dist/wearables/errors.d.ts +19 -0
- package/dist/wearables/errors.d.ts.map +1 -0
- package/dist/wearables/fusion/cluster.d.ts +70 -0
- package/dist/wearables/fusion/cluster.d.ts.map +1 -0
- package/dist/wearables/fusion/fuse.d.ts +40 -0
- package/dist/wearables/fusion/fuse.d.ts.map +1 -0
- package/dist/wearables/fusion/index.d.ts +16 -0
- package/dist/wearables/fusion/index.d.ts.map +1 -0
- package/dist/wearables/fusion/reconcile.d.ts +52 -0
- package/dist/wearables/fusion/reconcile.d.ts.map +1 -0
- package/dist/wearables/fusion/reconstruct.d.ts +37 -0
- package/dist/wearables/fusion/reconstruct.d.ts.map +1 -0
- package/dist/wearables/fusion/store.d.ts +131 -0
- package/dist/wearables/fusion/store.d.ts.map +1 -0
- package/dist/wearables/fusion/types.d.ts +219 -0
- package/dist/wearables/fusion/types.d.ts.map +1 -0
- package/dist/wearables/http-glue.d.ts +12 -0
- package/dist/wearables/http-glue.d.ts.map +1 -0
- package/dist/wearables/index.d.ts +23 -0
- package/dist/wearables/index.d.ts.map +1 -0
- package/dist/wearables/mcp-tools.d.ts +12 -0
- package/dist/wearables/mcp-tools.d.ts.map +1 -0
- package/dist/wearables/memory-gen.d.ts +139 -0
- package/dist/wearables/memory-gen.d.ts.map +1 -0
- package/dist/wearables/pipeline.d.ts +81 -0
- package/dist/wearables/pipeline.d.ts.map +1 -0
- package/dist/wearables/redaction.d.ts +75 -0
- package/dist/wearables/redaction.d.ts.map +1 -0
- package/dist/wearables/registry.d.ts +47 -0
- package/dist/wearables/registry.d.ts.map +1 -0
- package/dist/wearables/service.d.ts +225 -0
- package/dist/wearables/service.d.ts.map +1 -0
- package/dist/wearables/speakers.d.ts +83 -0
- package/dist/wearables/speakers.d.ts.map +1 -0
- package/dist/wearables/sync-state.d.ts +52 -0
- package/dist/wearables/sync-state.d.ts.map +1 -0
- package/dist/wearables/text-language.d.ts +41 -0
- package/dist/wearables/text-language.d.ts.map +1 -0
- package/dist/wearables/trust.d.ts +93 -0
- package/dist/wearables/trust.d.ts.map +1 -0
- package/dist/wearables/types.d.ts +389 -0
- package/dist/wearables/types.d.ts.map +1 -0
- package/dist/whitespace.d.ts +7 -8
- package/dist/whitespace.d.ts.map +1 -0
- package/dist/who-knows-cli.d.ts +8 -155
- package/dist/who-knows-cli.d.ts.map +1 -0
- package/dist/who-knows-cli.js +16 -16
- package/dist/who-knows.d.ts +97 -145
- package/dist/who-knows.d.ts.map +1 -0
- package/dist/who-knows.js +15 -15
- package/dist/work/board.d.ts +8 -10
- package/dist/work/board.d.ts.map +1 -0
- package/dist/work/boundary.d.ts +5 -6
- package/dist/work/boundary.d.ts.map +1 -0
- package/dist/work/storage.d.ts +4 -6
- package/dist/work/storage.d.ts.map +1 -0
- package/dist/work/types.d.ts +11 -12
- package/dist/work/types.d.ts.map +1 -0
- package/dist/work-product-ledger.d.ts +12 -13
- package/dist/work-product-ledger.d.ts.map +1 -0
- package/dist/write-envelope.d.ts +23 -42
- package/dist/write-envelope.d.ts.map +1 -0
- package/dist/write-quarantine.d.ts +8 -9
- package/dist/write-quarantine.d.ts.map +1 -0
- package/dist/write-rate-limiter.d.ts +4 -4
- package/dist/write-rate-limiter.d.ts.map +1 -0
- package/package.json +2 -2
- package/scripts/build-with-heap.mjs +40 -19
- package/src/access-boundary.ts +1 -0
- package/src/access-errors.test.ts +182 -0
- package/src/access-errors.ts +252 -1
- package/src/access-http.ts +36 -103
- package/src/access-mcp-output-schemas.ts +1 -0
- package/src/access-mcp.ts +21 -2
- package/src/access-operations-batch.ts +8 -0
- package/src/access-recall-diagnostics.ts +236 -0
- package/src/access-service.ts +6 -0
- package/src/access-surface-catalog.ts +2 -0
- package/src/index.ts +11 -0
- package/src/mcp-read-only-tools.ts +1 -0
- package/src/orchestration/orchestrator-helpers.ts +7 -0
- package/src/orchestration/recall-internal.ts +1 -1
- package/src/recall-degradation-sink.test.ts +144 -0
- package/src/recall-why-cli.ts +59 -0
- package/src/recall-why-renderer.ts +142 -0
- package/src/recall-why-service.test.ts +306 -0
- package/src/recall-why-service.ts +218 -0
- package/src/recall-why.test.ts +511 -0
- package/src/recall-why.ts +568 -0
- package/src/types.ts +1 -0
- package/dist/access-namespace-preflight-U9RAdxqZ.d.ts +0 -146
- package/dist/access-service-H-qEdnSs.d.ts +0 -4700
- package/dist/capsule-crypto-YO5QJ6L3.js +0 -18
- package/dist/catalog-BuMyYPUn.d.ts +0 -473
- package/dist/chunk-27MKMTBY.js +0 -342
- package/dist/chunk-2HJKAVAS.js +0 -216
- package/dist/chunk-2QZJ4P27.js +0 -203
- package/dist/chunk-2SIKTXWX.js +0 -502
- package/dist/chunk-2Z24E5W2.js +0 -22
- package/dist/chunk-2Z24E5W2.js.map +0 -1
- package/dist/chunk-3R23DDD3.js +0 -9782
- package/dist/chunk-3S6URXEH.js +0 -63
- package/dist/chunk-43IQRLEF.js +0 -256
- package/dist/chunk-4UVJ6EIT.js +0 -22
- package/dist/chunk-4UVJ6EIT.js.map +0 -1
- package/dist/chunk-5FAGCOZD.js +0 -761
- package/dist/chunk-75YZ5VAI.js +0 -140
- package/dist/chunk-7IRZK6MM.js +0 -256
- package/dist/chunk-7QVYVSEH.js +0 -285
- package/dist/chunk-7RGX7BMF.js +0 -103
- package/dist/chunk-7RKAE6Y4.js +0 -727
- package/dist/chunk-AH44WTLJ.js +0 -415
- package/dist/chunk-AHVJ6GLL.js +0 -95
- package/dist/chunk-AIVRD66I.js +0 -511
- package/dist/chunk-AQ55YKEV.js +0 -29
- package/dist/chunk-AQWGCHIV.js +0 -263
- package/dist/chunk-ARRKSBQU.js +0 -72
- package/dist/chunk-AYHNTYVG.js +0 -43
- package/dist/chunk-BSCNBIF4.js +0 -24
- package/dist/chunk-BXLOS5AJ.js +0 -112
- package/dist/chunk-BXOPUJ3W.js +0 -801
- package/dist/chunk-CEO4DONG.js +0 -28
- package/dist/chunk-CVILPI77.js +0 -432
- package/dist/chunk-D2N3PMAE.js +0 -51
- package/dist/chunk-D7VT2LED.js +0 -253
- package/dist/chunk-DAOMWGO2.js +0 -65
- package/dist/chunk-DGS34QSY.js +0 -141
- package/dist/chunk-DI52XAKG.js +0 -223
- package/dist/chunk-DQEMWVMT.js +0 -249
- package/dist/chunk-DZP2XMZC.js +0 -1084
- package/dist/chunk-EVQ33D3N.js +0 -731
- package/dist/chunk-FPB5LQWW.js +0 -71
- package/dist/chunk-FPB5LQWW.js.map +0 -1
- package/dist/chunk-FROKVQQY.js +0 -3997
- package/dist/chunk-FROKVQQY.js.map +0 -1
- package/dist/chunk-G7S37WD4.js +0 -801
- package/dist/chunk-GRDRVYXJ.js +0 -1917
- package/dist/chunk-H6WOFMOV.js +0 -346
- package/dist/chunk-HMDYSGY6.js +0 -54
- package/dist/chunk-HNHIHXSD.js +0 -879
- package/dist/chunk-HWLIMQE2.js +0 -165
- package/dist/chunk-IWO6QXWJ.js +0 -224
- package/dist/chunk-IYNCJKBM.js +0 -3602
- package/dist/chunk-IYNCJKBM.js.map +0 -1
- package/dist/chunk-J54B5DGD.js +0 -1530
- package/dist/chunk-JMZQS6OS.js +0 -81
- package/dist/chunk-K4KE5MYE.js +0 -648
- package/dist/chunk-K4KE5MYE.js.map +0 -1
- package/dist/chunk-KH2D26LQ.js +0 -2440
- package/dist/chunk-KIGC55FQ.js +0 -5505
- package/dist/chunk-KQVBR7BC.js +0 -1286
- package/dist/chunk-L63GFNKL.js +0 -403
- package/dist/chunk-LIAKZGOY.js +0 -25
- package/dist/chunk-LVFI5LG7.js +0 -576
- package/dist/chunk-MTWD4KMM.js +0 -223
- package/dist/chunk-MWVYHNSU.js +0 -623
- package/dist/chunk-MZWSOLMT.js +0 -189
- package/dist/chunk-NNEWBRUL.js +0 -271
- package/dist/chunk-NPX6WMFJ.js +0 -1686
- package/dist/chunk-O7OVWKT4.js +0 -768
- package/dist/chunk-PLJ2MQFT.js +0 -182
- package/dist/chunk-Q4AUIFUA.js +0 -111
- package/dist/chunk-QWQB7TOB.js +0 -11341
- package/dist/chunk-QZ4U67KO.js +0 -98
- package/dist/chunk-RMMVQQA6.js +0 -70
- package/dist/chunk-RSMNPYBM.js +0 -61
- package/dist/chunk-RUUJXAGT.js +0 -122
- package/dist/chunk-S45INSV3.js +0 -389
- package/dist/chunk-SCXURCVT.js +0 -218
- package/dist/chunk-SGUDMW2K.js +0 -3400
- package/dist/chunk-SLGD36MM.js +0 -53
- package/dist/chunk-SMBWBEE7.js +0 -73
- package/dist/chunk-SPFNGHHP.js +0 -115
- package/dist/chunk-SPWNCGSM.js +0 -77
- package/dist/chunk-SZ7IVZGD.js +0 -112
- package/dist/chunk-TJNDFNCU.js +0 -597
- package/dist/chunk-TJNDFNCU.js.map +0 -1
- package/dist/chunk-TQT4AOPO.js +0 -321
- package/dist/chunk-TTFJQ5B5.js +0 -43
- package/dist/chunk-U2SK45U3.js +0 -1476
- package/dist/chunk-UCH2RWFX.js +0 -216
- package/dist/chunk-UDJMJNBK.js +0 -549
- package/dist/chunk-UJBIWY5M.js +0 -212
- package/dist/chunk-ULQVG6G3.js +0 -275
- package/dist/chunk-VDX2J7OX.js +0 -264
- package/dist/chunk-VGO57TU7.js +0 -960
- package/dist/chunk-VUV472VH.js +0 -1008
- package/dist/chunk-VVX5PZFS.js +0 -297
- package/dist/chunk-WH7RINGG.js +0 -315
- package/dist/chunk-WUJD4CHZ.js +0 -137
- package/dist/chunk-X7WAM3IY.js +0 -30
- package/dist/chunk-XPFJSUOR.js +0 -921
- package/dist/chunk-XVZA6VXC.js +0 -160
- package/dist/chunk-XZRZJHBW.js +0 -31013
- package/dist/chunk-XZRZJHBW.js.map +0 -1
- package/dist/chunk-Y4G6LHJW.js +0 -35
- package/dist/chunk-Y7LZ5V7N.js +0 -202
- package/dist/chunk-YEIKOBOW.js +0 -628
- package/dist/chunk-YEIKOBOW.js.map +0 -1
- package/dist/chunk-YIIW2OH2.js +0 -566
- package/dist/chunk-ZBYVR5W4.js +0 -18504
- package/dist/chunk-ZBYVR5W4.js.map +0 -1
- package/dist/chunk-ZN7SMKAK.js +0 -210
- package/dist/chunk-ZP73EM2X.js +0 -74
- package/dist/chunk-ZXQPAYCS.js +0 -2453
- package/dist/cli-VGDSn2zY.d.ts +0 -1136
- package/dist/conflict-policy-DyJ2wd-h.d.ts +0 -4
- package/dist/connectors-cli-2iaQ5tX2.d.ts +0 -263
- package/dist/dependency-propagation-delivery-BrhPjAHQ.d.ts +0 -41
- package/dist/faiss-adapter-BHecI1fF.d.ts +0 -73
- package/dist/framework-CNDn2164.d.ts +0 -170
- package/dist/generic-recall-paths-C0J1Oxb7.d.ts +0 -23
- package/dist/graph-DRkl22KE.d.ts +0 -347
- package/dist/graph-edge-decay-MKIRZ762.js +0 -30
- package/dist/index-B735x-tK.d.ts +0 -284
- package/dist/local-llm-BkkEK9rn.d.ts +0 -247
- package/dist/maintenance-CLBIvVxg.d.ts +0 -749
- package/dist/orchestrator-iexgVLow.d.ts +0 -2701
- package/dist/pipeline-DvtDtyo9.d.ts +0 -32
- package/dist/public-http-P0cnHzYB.d.ts +0 -25
- package/dist/qmd-CBYBJ6HW.d.ts +0 -353
- package/dist/resolution-LXFQQ4AE.js +0 -36
- package/dist/scope-profiles-BN1Dgfha.d.ts +0 -30
- package/dist/semantic-BalR6EXU.d.ts +0 -87
- package/dist/semantic-consolidation-D--qe0eE.d.ts +0 -180
- package/dist/service-VealHeqO.d.ts +0 -846
- package/dist/storage-BhS9gUx3.d.ts +0 -166
- package/dist/storage-CMm-3aD3.d.ts +0 -2421
- package/dist/tagging-BjsNFKWz.d.ts +0 -240
- package/dist/types-B1VHaf2w.d.ts +0 -126
- package/dist/types-DJhqDJUV.d.ts +0 -50
- package/dist/types-Du6VdoAg.d.ts +0 -5482
- /package/dist/{capsule-crypto-YO5QJ6L3.js.map → access-recall-diagnostics.js.map} +0 -0
- /package/dist/{graph-edge-decay-MKIRZ762.js.map → capsule-crypto-7FJQINUR.js.map} +0 -0
- /package/dist/{chunk-KQVBR7BC.js.map → chunk-2CBWEIS4.js.map} +0 -0
- /package/dist/{chunk-JMZQS6OS.js.map → chunk-2JQZSQXI.js.map} +0 -0
- /package/dist/{chunk-BXLOS5AJ.js.map → chunk-2NLLXCJG.js.map} +0 -0
- /package/dist/{chunk-LIAKZGOY.js.map → chunk-2WMXZYMS.js.map} +0 -0
- /package/dist/{chunk-RSMNPYBM.js.map → chunk-34ZGBAGE.js.map} +0 -0
- /package/dist/{chunk-MWVYHNSU.js.map → chunk-36S7UHAW.js.map} +0 -0
- /package/dist/{chunk-G7S37WD4.js.map → chunk-3JLWSFTV.js.map} +0 -0
- /package/dist/{chunk-75YZ5VAI.js.map → chunk-3RZOLUZT.js.map} +0 -0
- /package/dist/{chunk-XVZA6VXC.js.map → chunk-3SL52JKD.js.map} +0 -0
- /package/dist/{chunk-2SIKTXWX.js.map → chunk-4QEZS7PK.js.map} +0 -0
- /package/dist/{chunk-Y4G6LHJW.js.map → chunk-5QRYGLZN.js.map} +0 -0
- /package/dist/{chunk-AQWGCHIV.js.map → chunk-5R3C5LEZ.js.map} +0 -0
- /package/dist/{chunk-SPWNCGSM.js.map → chunk-634UKELB.js.map} +0 -0
- /package/dist/{chunk-BXOPUJ3W.js.map → chunk-64JK4TL7.js.map} +0 -0
- /package/dist/{chunk-DGS34QSY.js.map → chunk-6E5GYDIE.js.map} +0 -0
- /package/dist/{chunk-D2N3PMAE.js.map → chunk-6ISP2EN2.js.map} +0 -0
- /package/dist/{chunk-UJBIWY5M.js.map → chunk-6RD7MSIO.js.map} +0 -0
- /package/dist/{chunk-RMMVQQA6.js.map → chunk-6UDLN4IA.js.map} +0 -0
- /package/dist/{chunk-7IRZK6MM.js.map → chunk-754XN6LX.js.map} +0 -0
- /package/dist/{chunk-43IQRLEF.js.map → chunk-7H2LEYYJ.js.map} +0 -0
- /package/dist/{chunk-7RGX7BMF.js.map → chunk-A7AISUJI.js.map} +0 -0
- /package/dist/{chunk-7RKAE6Y4.js.map → chunk-AULKCNZW.js.map} +0 -0
- /package/dist/{chunk-NPX6WMFJ.js.map → chunk-B7SSU55V.js.map} +0 -0
- /package/dist/{chunk-IWO6QXWJ.js.map → chunk-BICNRVEC.js.map} +0 -0
- /package/dist/{chunk-SLGD36MM.js.map → chunk-BJI2D4SU.js.map} +0 -0
- /package/dist/{chunk-CEO4DONG.js.map → chunk-BQB5ZMYO.js.map} +0 -0
- /package/dist/{chunk-WH7RINGG.js.map → chunk-C5CPYMLX.js.map} +0 -0
- /package/dist/{chunk-AHVJ6GLL.js.map → chunk-CS2JO77A.js.map} +0 -0
- /package/dist/{chunk-UDJMJNBK.js.map → chunk-DTABICJ3.js.map} +0 -0
- /package/dist/{chunk-CVILPI77.js.map → chunk-E6UNM67F.js.map} +0 -0
- /package/dist/{chunk-NNEWBRUL.js.map → chunk-ENUI3IO7.js.map} +0 -0
- /package/dist/{chunk-DZP2XMZC.js.map → chunk-FF2XYADH.js.map} +0 -0
- /package/dist/{chunk-S45INSV3.js.map → chunk-FF6N7BXC.js.map} +0 -0
- /package/dist/{chunk-2QZJ4P27.js.map → chunk-FSXD6Y4H.js.map} +0 -0
- /package/dist/{chunk-SGUDMW2K.js.map → chunk-GK6NOQE6.js.map} +0 -0
- /package/dist/{chunk-TTFJQ5B5.js.map → chunk-GRSFFLUY.js.map} +0 -0
- /package/dist/{chunk-5FAGCOZD.js.map → chunk-GWK7FEUL.js.map} +0 -0
- /package/dist/{chunk-SCXURCVT.js.map → chunk-GWQVMKUJ.js.map} +0 -0
- /package/dist/{chunk-3S6URXEH.js.map → chunk-HKHZWJ3E.js.map} +0 -0
- /package/dist/{chunk-PLJ2MQFT.js.map → chunk-IAZPYX6W.js.map} +0 -0
- /package/dist/{chunk-MZWSOLMT.js.map → chunk-IG747LRN.js.map} +0 -0
- /package/dist/{chunk-X7WAM3IY.js.map → chunk-IK63WA5A.js.map} +0 -0
- /package/dist/{chunk-BSCNBIF4.js.map → chunk-IUD6NLNM.js.map} +0 -0
- /package/dist/{chunk-3R23DDD3.js.map → chunk-JSJZ2NXS.js.map} +0 -0
- /package/dist/{chunk-YIIW2OH2.js.map → chunk-JUOJGZPV.js.map} +0 -0
- /package/dist/{chunk-VGO57TU7.js.map → chunk-KA4U5GQN.js.map} +0 -0
- /package/dist/{chunk-VDX2J7OX.js.map → chunk-KQAFEZQX.js.map} +0 -0
- /package/dist/{chunk-ARRKSBQU.js.map → chunk-L4WBADKG.js.map} +0 -0
- /package/dist/{chunk-ULQVG6G3.js.map → chunk-LAL4B37X.js.map} +0 -0
- /package/dist/{chunk-D7VT2LED.js.map → chunk-LELJRLPY.js.map} +0 -0
- /package/dist/{chunk-L63GFNKL.js.map → chunk-LMMQKZK3.js.map} +0 -0
- /package/dist/{chunk-ZP73EM2X.js.map → chunk-LQ23DMTT.js.map} +0 -0
- /package/dist/{chunk-7QVYVSEH.js.map → chunk-LV6ZB6CA.js.map} +0 -0
- /package/dist/{chunk-KIGC55FQ.js.map → chunk-M5IJP3YW.js.map} +0 -0
- /package/dist/{chunk-AH44WTLJ.js.map → chunk-MWZMVLXL.js.map} +0 -0
- /package/dist/{chunk-AQ55YKEV.js.map → chunk-N4VCHRLD.js.map} +0 -0
- /package/dist/{chunk-HNHIHXSD.js.map → chunk-NKXHCCLB.js.map} +0 -0
- /package/dist/{chunk-SZ7IVZGD.js.map → chunk-NVCWA4QC.js.map} +0 -0
- /package/dist/{chunk-RUUJXAGT.js.map → chunk-ONWVMYHX.js.map} +0 -0
- /package/dist/{chunk-HMDYSGY6.js.map → chunk-P6P35FY4.js.map} +0 -0
- /package/dist/{chunk-H6WOFMOV.js.map → chunk-P7M22CYB.js.map} +0 -0
- /package/dist/{chunk-Q4AUIFUA.js.map → chunk-QMWKENNK.js.map} +0 -0
- /package/dist/{chunk-J54B5DGD.js.map → chunk-QOPB6KE3.js.map} +0 -0
- /package/dist/{chunk-DI52XAKG.js.map → chunk-RBULO7DO.js.map} +0 -0
- /package/dist/{chunk-VUV472VH.js.map → chunk-RDESQOEE.js.map} +0 -0
- /package/dist/{chunk-SPFNGHHP.js.map → chunk-RMF763SX.js.map} +0 -0
- /package/dist/{chunk-TQT4AOPO.js.map → chunk-RN6ZCNM5.js.map} +0 -0
- /package/dist/{chunk-QWQB7TOB.js.map → chunk-S2OBXHMN.js.map} +0 -0
- /package/dist/{chunk-UCH2RWFX.js.map → chunk-S3JPD4N7.js.map} +0 -0
- /package/dist/{chunk-HWLIMQE2.js.map → chunk-SF6RFI5Z.js.map} +0 -0
- /package/dist/{chunk-ZXQPAYCS.js.map → chunk-SJV3AOZ2.js.map} +0 -0
- /package/dist/{chunk-Y7LZ5V7N.js.map → chunk-SLULR4GC.js.map} +0 -0
- /package/dist/{chunk-U2SK45U3.js.map → chunk-TFXXMTHV.js.map} +0 -0
- /package/dist/{chunk-2HJKAVAS.js.map → chunk-TYP7GYRI.js.map} +0 -0
- /package/dist/{chunk-KH2D26LQ.js.map → chunk-TYZK56OA.js.map} +0 -0
- /package/dist/{chunk-XPFJSUOR.js.map → chunk-VLDVNZQE.js.map} +0 -0
- /package/dist/{chunk-AIVRD66I.js.map → chunk-W6YK672C.js.map} +0 -0
- /package/dist/{chunk-LVFI5LG7.js.map → chunk-X2NFFBTO.js.map} +0 -0
- /package/dist/{chunk-GRDRVYXJ.js.map → chunk-X45KZOT2.js.map} +0 -0
- /package/dist/{chunk-DQEMWVMT.js.map → chunk-X7Y7WX73.js.map} +0 -0
- /package/dist/{chunk-AYHNTYVG.js.map → chunk-XIXM6G7I.js.map} +0 -0
- /package/dist/{chunk-ZN7SMKAK.js.map → chunk-XLXYARWC.js.map} +0 -0
- /package/dist/{chunk-MTWD4KMM.js.map → chunk-XVW52M6I.js.map} +0 -0
- /package/dist/{chunk-27MKMTBY.js.map → chunk-YHU5XUF4.js.map} +0 -0
- /package/dist/{chunk-SMBWBEE7.js.map → chunk-YRH3C2OJ.js.map} +0 -0
- /package/dist/{chunk-WUJD4CHZ.js.map → chunk-YXQE67A7.js.map} +0 -0
- /package/dist/{chunk-EVQ33D3N.js.map → chunk-ZHUVMSHI.js.map} +0 -0
- /package/dist/{chunk-VVX5PZFS.js.map → chunk-ZHXSOMYH.js.map} +0 -0
- /package/dist/{chunk-O7OVWKT4.js.map → chunk-ZIEZJMFW.js.map} +0 -0
- /package/dist/{chunk-QZ4U67KO.js.map → chunk-ZSEFGDCI.js.map} +0 -0
- /package/dist/{chunk-DAOMWGO2.js.map → chunk-ZX5N5D6M.js.map} +0 -0
- /package/dist/{resolution-LXFQQ4AE.js.map → graph-edge-decay-ROSUPDX3.js.map} +0 -0
|
@@ -0,0 +1,1530 @@
|
|
|
1
|
+
import {
|
|
2
|
+
coerceBooleanLike,
|
|
3
|
+
coerceNumber
|
|
4
|
+
} from "./chunk-PQVCH2AE.js";
|
|
5
|
+
import {
|
|
6
|
+
isLoopbackHost
|
|
7
|
+
} from "./chunk-C5C7IJ4Q.js";
|
|
8
|
+
import {
|
|
9
|
+
assertValidTimezone,
|
|
10
|
+
isValidActivityDate
|
|
11
|
+
} from "./chunk-353C5UNV.js";
|
|
12
|
+
import {
|
|
13
|
+
extractJsonCandidates
|
|
14
|
+
} from "./chunk-RGMVMVMF.js";
|
|
15
|
+
import {
|
|
16
|
+
expandTildePath
|
|
17
|
+
} from "./chunk-6KH5NLQS.js";
|
|
18
|
+
import {
|
|
19
|
+
log
|
|
20
|
+
} from "./chunk-3WCASNQZ.js";
|
|
21
|
+
|
|
22
|
+
// src/activity/journal-vault-prereq.ts
|
|
23
|
+
var VAULT_JOURNAL_PREREQUISITES = [
|
|
24
|
+
"vault.enabled",
|
|
25
|
+
"vault.dailyNotePath",
|
|
26
|
+
"vault.readback.journalSection"
|
|
27
|
+
];
|
|
28
|
+
function checkVaultJournalPrerequisites(input) {
|
|
29
|
+
const missing = [];
|
|
30
|
+
if (input.vaultEnabled !== true) missing.push("vault.enabled");
|
|
31
|
+
if (typeof input.dailyNotePath !== "string" || input.dailyNotePath.trim().length === 0) {
|
|
32
|
+
missing.push("vault.dailyNotePath");
|
|
33
|
+
}
|
|
34
|
+
if (typeof input.journalSection !== "string" || input.journalSection.trim().length === 0) {
|
|
35
|
+
missing.push("vault.readback.journalSection");
|
|
36
|
+
}
|
|
37
|
+
if (missing.length === 0) return { ok: true };
|
|
38
|
+
return {
|
|
39
|
+
ok: false,
|
|
40
|
+
missing,
|
|
41
|
+
message: `vault journal read-back prerequisites unmet: ${missing.join(", ")}`
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// src/activity/vault-path.ts
|
|
46
|
+
import path from "path";
|
|
47
|
+
var VAULT_TEMPLATE_TOKENS = [
|
|
48
|
+
"{yyyy}",
|
|
49
|
+
"{yy}",
|
|
50
|
+
"{M}",
|
|
51
|
+
"{MM}",
|
|
52
|
+
"{d}",
|
|
53
|
+
"{dd}",
|
|
54
|
+
"{ww}",
|
|
55
|
+
"{MMM}",
|
|
56
|
+
"{MMMM}",
|
|
57
|
+
"{ddd}",
|
|
58
|
+
"{dddd}"
|
|
59
|
+
];
|
|
60
|
+
var TOKEN_LOOKUP = Object.fromEntries(VAULT_TEMPLATE_TOKENS.map((t) => [t, true]));
|
|
61
|
+
var ANY_BRACED_RE = /\{[^{}]*\}/g;
|
|
62
|
+
var MONTH_NAMES = [
|
|
63
|
+
"January",
|
|
64
|
+
"February",
|
|
65
|
+
"March",
|
|
66
|
+
"April",
|
|
67
|
+
"May",
|
|
68
|
+
"June",
|
|
69
|
+
"July",
|
|
70
|
+
"August",
|
|
71
|
+
"September",
|
|
72
|
+
"October",
|
|
73
|
+
"November",
|
|
74
|
+
"December"
|
|
75
|
+
];
|
|
76
|
+
var WEEKDAY_NAMES = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
|
|
77
|
+
function templateValues(date) {
|
|
78
|
+
const [yyyy, mm, dd] = date.split("-");
|
|
79
|
+
const monthIndex = Number(mm) - 1;
|
|
80
|
+
const weekday = new Date(Date.UTC(Number(yyyy), monthIndex, Number(dd))).getUTCDay();
|
|
81
|
+
return {
|
|
82
|
+
"{yyyy}": yyyy,
|
|
83
|
+
"{yy}": yyyy.slice(2),
|
|
84
|
+
"{MM}": mm,
|
|
85
|
+
"{dd}": dd,
|
|
86
|
+
"{M}": String(Number(mm)),
|
|
87
|
+
"{d}": String(Number(dd)),
|
|
88
|
+
"{ww}": isoWeekNumber(date),
|
|
89
|
+
"{MMM}": MONTH_NAMES[monthIndex].slice(0, 3),
|
|
90
|
+
"{MMMM}": MONTH_NAMES[monthIndex],
|
|
91
|
+
"{ddd}": WEEKDAY_NAMES[weekday].slice(0, 3),
|
|
92
|
+
"{dddd}": WEEKDAY_NAMES[weekday]
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
function expandVaultTemplateTokens(text, date) {
|
|
96
|
+
if (!isValidActivityDate(date)) {
|
|
97
|
+
throw new RangeError(`Invalid vault date "${date}"; expected YYYY-MM-DD.`);
|
|
98
|
+
}
|
|
99
|
+
if (typeof text !== "string" || text.length === 0) {
|
|
100
|
+
throw new RangeError("Vault template must be a non-empty string.");
|
|
101
|
+
}
|
|
102
|
+
const values = templateValues(date);
|
|
103
|
+
return text.replace(ANY_BRACED_RE, (token) => {
|
|
104
|
+
if (TOKEN_LOOKUP[token] === true) return values[token];
|
|
105
|
+
throw new RangeError(
|
|
106
|
+
`Unknown vault template token ${token}; valid tokens are ${VAULT_TEMPLATE_TOKENS.join(" ")}.`
|
|
107
|
+
);
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
function validateVaultNoteTemplate(template) {
|
|
111
|
+
if (typeof template !== "string" || template.length === 0) {
|
|
112
|
+
throw new RangeError("Vault note path template must be a non-empty relative path.");
|
|
113
|
+
}
|
|
114
|
+
if (path.posix.isAbsolute(template) || path.win32.isAbsolute(template)) {
|
|
115
|
+
throw new RangeError("Vault note path template must be relative; absolute templates are rejected.");
|
|
116
|
+
}
|
|
117
|
+
if (template.split(/[\\/]/).some((segment) => segment === "..")) {
|
|
118
|
+
throw new RangeError("Vault note path template must not contain `..` segments.");
|
|
119
|
+
}
|
|
120
|
+
expandVaultTemplateTokens(template, "2026-01-04");
|
|
121
|
+
}
|
|
122
|
+
function resolveVaultNotePath(template, date, options) {
|
|
123
|
+
if (!isValidActivityDate(date)) {
|
|
124
|
+
throw new RangeError(`Invalid vault date "${date}"; expected YYYY-MM-DD.`);
|
|
125
|
+
}
|
|
126
|
+
if (options?.timezone !== void 0) {
|
|
127
|
+
assertValidTimezone(options.timezone);
|
|
128
|
+
}
|
|
129
|
+
validateVaultNoteTemplate(template);
|
|
130
|
+
const expanded = expandVaultTemplateTokens(template, date);
|
|
131
|
+
if (path.posix.isAbsolute(expanded) || path.win32.isAbsolute(expanded)) {
|
|
132
|
+
throw new RangeError("Vault note path template must be relative; absolute templates are rejected.");
|
|
133
|
+
}
|
|
134
|
+
return expanded;
|
|
135
|
+
}
|
|
136
|
+
function isoWeekNumber(date) {
|
|
137
|
+
const [year, month, day] = date.split("-").map(Number);
|
|
138
|
+
const utc = new Date(Date.UTC(year, month - 1, day));
|
|
139
|
+
const dayNum = utc.getUTCDay() || 7;
|
|
140
|
+
utc.setUTCDate(utc.getUTCDate() + 4 - dayNum);
|
|
141
|
+
const yearStart = new Date(Date.UTC(utc.getUTCFullYear(), 0, 1));
|
|
142
|
+
const weekNo = Math.ceil(((utc.getTime() - yearStart.getTime()) / 864e5 + 1) / 7);
|
|
143
|
+
return String(weekNo).padStart(2, "0");
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
// src/activity/vault-publish.ts
|
|
147
|
+
import { createHash, randomBytes } from "crypto";
|
|
148
|
+
import { readFileSync, renameSync, statSync, unlinkSync, writeFileSync } from "fs";
|
|
149
|
+
import path2 from "path";
|
|
150
|
+
function applyManagedRegion(fileText, opts) {
|
|
151
|
+
if (opts.strategy === "heading") return applyHeadingRegion(fileText, opts.name, opts.content);
|
|
152
|
+
const startMarker = `<!-- remnic:${opts.name}:start -->`;
|
|
153
|
+
const endMarker = `<!-- remnic:${opts.name}:end -->`;
|
|
154
|
+
const rows = fileLines(fileText);
|
|
155
|
+
let startRow;
|
|
156
|
+
let endRow;
|
|
157
|
+
for (const row of rows) {
|
|
158
|
+
if (row.fenced) continue;
|
|
159
|
+
const trimmed = row.line.trim();
|
|
160
|
+
if (startRow === void 0) {
|
|
161
|
+
if (trimmed === startMarker) startRow = row;
|
|
162
|
+
} else if (endRow === void 0 && trimmed === endMarker) {
|
|
163
|
+
endRow = row;
|
|
164
|
+
break;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
if (startRow === void 0 || endRow === void 0) {
|
|
168
|
+
return { ok: false, reason: "no_marker", text: fileText };
|
|
169
|
+
}
|
|
170
|
+
const { body, eol } = ownedBody(fileText, opts.content);
|
|
171
|
+
return {
|
|
172
|
+
ok: true,
|
|
173
|
+
text: `${fileText.slice(0, startRow.start + startRow.line.length)}${eol}${body}${eol}${fileText.slice(endRow.start)}`
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
function applyHeadingRegion(fileText, name, content) {
|
|
177
|
+
const wanted = name.trim();
|
|
178
|
+
const rows = fileLines(fileText);
|
|
179
|
+
const hits = [];
|
|
180
|
+
for (const row of rows) {
|
|
181
|
+
if (row.fenced) continue;
|
|
182
|
+
const heading = parseAtxHeading(row.line);
|
|
183
|
+
if (heading && heading.text === wanted) {
|
|
184
|
+
hits.push({ line: row.number, level: heading.level, next: row.next });
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
if (hits.length === 0) return { ok: false, reason: "no_heading", text: fileText };
|
|
188
|
+
if (hits.length > 1) {
|
|
189
|
+
return { ok: false, reason: "duplicate_heading", lines: hits.map((hit2) => hit2.line), text: fileText };
|
|
190
|
+
}
|
|
191
|
+
const hit = hits[0];
|
|
192
|
+
let sectionEnd = fileText.length;
|
|
193
|
+
for (const row of rows) {
|
|
194
|
+
if (row.start < hit.next || row.fenced) continue;
|
|
195
|
+
const heading = parseAtxHeading(row.line);
|
|
196
|
+
if (heading && heading.level <= hit.level) {
|
|
197
|
+
sectionEnd = row.start;
|
|
198
|
+
break;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
const { body, eol } = ownedBody(fileText, demoteOwnedHeadings(content, hit.level));
|
|
202
|
+
const prefix = hit.next === fileText.length && !fileText.endsWith("\n") && !fileText.endsWith("\r") ? `${fileText}${eol}` : fileText.slice(0, hit.next);
|
|
203
|
+
return { ok: true, text: `${prefix}${body}${eol}${fileText.slice(sectionEnd)}` };
|
|
204
|
+
}
|
|
205
|
+
function demoteOwnedHeadings(content, owningLevel) {
|
|
206
|
+
const rows = fileLines(content);
|
|
207
|
+
let out = "";
|
|
208
|
+
let cursor = 0;
|
|
209
|
+
for (const row of rows) {
|
|
210
|
+
const heading = row.fenced ? null : parseAtxHeading(row.line);
|
|
211
|
+
if (heading === null) continue;
|
|
212
|
+
const level = Math.min(owningLevel + heading.level, 6);
|
|
213
|
+
const replacement = level > owningLevel ? `${"#".repeat(level)} ${heading.text}` : `**${heading.text}**`;
|
|
214
|
+
out += content.slice(cursor, row.start) + replacement;
|
|
215
|
+
cursor = row.start + row.line.length;
|
|
216
|
+
}
|
|
217
|
+
return out + content.slice(cursor);
|
|
218
|
+
}
|
|
219
|
+
function ownedBody(fileText, content) {
|
|
220
|
+
const eol = fileText.includes("\r\n") ? "\r\n" : "\n";
|
|
221
|
+
let body = content.replace(/\r\n/g, "\n").replace(/\r/g, "\n");
|
|
222
|
+
if (eol === "\r\n") body = body.replace(/\n/g, "\r\n");
|
|
223
|
+
if (body.endsWith(eol)) body = body.slice(0, -eol.length);
|
|
224
|
+
return { body, eol };
|
|
225
|
+
}
|
|
226
|
+
function fileLines(fileText) {
|
|
227
|
+
const rows = [];
|
|
228
|
+
let start = 0;
|
|
229
|
+
let number = 1;
|
|
230
|
+
let fence = null;
|
|
231
|
+
while (start < fileText.length) {
|
|
232
|
+
let i = start;
|
|
233
|
+
while (i < fileText.length && fileText[i] !== "\n" && fileText[i] !== "\r") i++;
|
|
234
|
+
let next = i;
|
|
235
|
+
if (fileText[i] === "\r" && fileText[i + 1] === "\n") next = i + 2;
|
|
236
|
+
else if (fileText[i] === "\n" || fileText[i] === "\r") next = i + 1;
|
|
237
|
+
else next = fileText.length;
|
|
238
|
+
const line = fileText.slice(start, i);
|
|
239
|
+
const indentedCode = indentColumn(line) >= 4;
|
|
240
|
+
const run = indentedCode ? null : fenceRun(line);
|
|
241
|
+
let fenced;
|
|
242
|
+
if (fence === null) {
|
|
243
|
+
if (run !== null && !(run.char === "`" && run.info.includes("`"))) {
|
|
244
|
+
fence = { char: run.char, len: run.len };
|
|
245
|
+
}
|
|
246
|
+
fenced = fence !== null || indentedCode;
|
|
247
|
+
} else {
|
|
248
|
+
fenced = true;
|
|
249
|
+
if (run !== null && run.char === fence.char && run.len >= fence.len && run.info.length === 0) {
|
|
250
|
+
fence = null;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
rows.push({ line, start, next, number, fenced });
|
|
254
|
+
number += 1;
|
|
255
|
+
start = next;
|
|
256
|
+
}
|
|
257
|
+
return rows;
|
|
258
|
+
}
|
|
259
|
+
function indentColumn(line) {
|
|
260
|
+
let col = 0;
|
|
261
|
+
for (let i = 0; i < line.length; i += 1) {
|
|
262
|
+
const ch = line[i];
|
|
263
|
+
if (ch === " ") col += 1;
|
|
264
|
+
else if (ch === " ") col += 4 - col % 4;
|
|
265
|
+
else break;
|
|
266
|
+
}
|
|
267
|
+
return col;
|
|
268
|
+
}
|
|
269
|
+
function fenceRun(line) {
|
|
270
|
+
const body = line.trimStart();
|
|
271
|
+
const char = body[0];
|
|
272
|
+
if (char !== "`" && char !== "~") return null;
|
|
273
|
+
let len = 0;
|
|
274
|
+
while (len < body.length && body[len] === char) len++;
|
|
275
|
+
if (len < 3) return null;
|
|
276
|
+
return { char, len, info: body.slice(len).trim() };
|
|
277
|
+
}
|
|
278
|
+
function parseAtxHeading(line) {
|
|
279
|
+
let at = 0;
|
|
280
|
+
let indent = 0;
|
|
281
|
+
while (at < line.length && (line[at] === " " || line[at] === " ")) {
|
|
282
|
+
indent += line[at] === " " ? 1 : 4 - indent % 4;
|
|
283
|
+
if (indent >= 4) return null;
|
|
284
|
+
at += 1;
|
|
285
|
+
}
|
|
286
|
+
let level = 0;
|
|
287
|
+
while (level < 6 && line[at + level] === "#") level++;
|
|
288
|
+
if (level === 0) return null;
|
|
289
|
+
const after = line[at + level];
|
|
290
|
+
if (after !== " " && after !== " ") return null;
|
|
291
|
+
let start = at + level + 1;
|
|
292
|
+
let end = line.length;
|
|
293
|
+
while (start < end && (line[start] === " " || line[start] === " ")) start++;
|
|
294
|
+
while (end > start && (line[end - 1] === " " || line[end - 1] === " ")) end--;
|
|
295
|
+
let hashEnd = end;
|
|
296
|
+
while (hashEnd > start && line[hashEnd - 1] === "#") hashEnd--;
|
|
297
|
+
if (hashEnd < end && hashEnd > start && (line[hashEnd - 1] === " " || line[end - 1] === " ")) {
|
|
298
|
+
end = hashEnd;
|
|
299
|
+
while (end > start && (line[end - 1] === " " || line[end - 1] === " ")) end--;
|
|
300
|
+
}
|
|
301
|
+
return { level, text: line.slice(start, end) };
|
|
302
|
+
}
|
|
303
|
+
function headingSurvivesRoundTrip(name) {
|
|
304
|
+
const parsed = parseAtxHeading(`## ${name}`);
|
|
305
|
+
return parsed !== null && parsed.text === name;
|
|
306
|
+
}
|
|
307
|
+
function publishVaultRegion(input) {
|
|
308
|
+
const vault = expandTildePath(input.vaultPath);
|
|
309
|
+
try {
|
|
310
|
+
if (!statSync(vault).isDirectory()) return { ok: false, reason: "not_directory" };
|
|
311
|
+
} catch {
|
|
312
|
+
return { ok: false, reason: "not_directory" };
|
|
313
|
+
}
|
|
314
|
+
if (input.relativeFile.length === 0 || path2.isAbsolute(input.relativeFile)) {
|
|
315
|
+
return { ok: false, reason: "missing_file" };
|
|
316
|
+
}
|
|
317
|
+
const root = path2.resolve(vault);
|
|
318
|
+
const dest = path2.resolve(root, input.relativeFile);
|
|
319
|
+
const rel = path2.relative(root, dest);
|
|
320
|
+
if (rel.length === 0 || rel.startsWith("..") || path2.isAbsolute(rel)) {
|
|
321
|
+
return { ok: false, reason: "missing_file" };
|
|
322
|
+
}
|
|
323
|
+
let existing;
|
|
324
|
+
try {
|
|
325
|
+
if (!statSync(dest).isFile()) return { ok: false, reason: "missing_file" };
|
|
326
|
+
existing = readFileSync(dest, "utf8");
|
|
327
|
+
} catch (err) {
|
|
328
|
+
if (err.code === "ENOENT") return { ok: false, reason: "missing_file" };
|
|
329
|
+
throw err;
|
|
330
|
+
}
|
|
331
|
+
const applied = applyManagedRegion(existing, {
|
|
332
|
+
strategy: "markers",
|
|
333
|
+
name: input.name,
|
|
334
|
+
content: input.content
|
|
335
|
+
});
|
|
336
|
+
if (!applied.ok) return { ok: false, reason: "no_marker" };
|
|
337
|
+
const prevHash = createHash("sha256").update(existing, "utf8").digest("hex");
|
|
338
|
+
const nextHash = createHash("sha256").update(applied.text, "utf8").digest("hex");
|
|
339
|
+
if (prevHash === nextHash) return { ok: true, status: "unchanged" };
|
|
340
|
+
const tmpPath = path2.join(path2.dirname(dest), `.remnic-vault-${randomBytes(8).toString("hex")}.tmp`);
|
|
341
|
+
writeFileSync(tmpPath, applied.text);
|
|
342
|
+
try {
|
|
343
|
+
renameSync(tmpPath, dest);
|
|
344
|
+
} catch (renameErr) {
|
|
345
|
+
try {
|
|
346
|
+
unlinkSync(tmpPath);
|
|
347
|
+
} catch {
|
|
348
|
+
}
|
|
349
|
+
throw renameErr;
|
|
350
|
+
}
|
|
351
|
+
return { ok: true, status: "updated" };
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
// src/activity/vault-region.ts
|
|
355
|
+
function validateRegionName(name) {
|
|
356
|
+
if (typeof name !== "string") {
|
|
357
|
+
return { ok: false, error: "invalid_name" };
|
|
358
|
+
}
|
|
359
|
+
if (name.includes("\n") || name.includes("\r") || name.includes("-->") || name.includes(":")) {
|
|
360
|
+
return { ok: false, error: "invalid_name" };
|
|
361
|
+
}
|
|
362
|
+
if (name.trim() !== name || name.trim().length === 0) {
|
|
363
|
+
return { ok: false, error: "invalid_name" };
|
|
364
|
+
}
|
|
365
|
+
return { ok: true, name };
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
// src/activity/timeline/analysis-failure.ts
|
|
369
|
+
var ANALYSIS_FAILURE_KINDS = [
|
|
370
|
+
"provider_unavailable",
|
|
371
|
+
"timeout",
|
|
372
|
+
"aborted",
|
|
373
|
+
"rate_limited",
|
|
374
|
+
"malformed_json",
|
|
375
|
+
"invalid_schema",
|
|
376
|
+
"partial_output",
|
|
377
|
+
"invalid_config"
|
|
378
|
+
];
|
|
379
|
+
var RETRYABLE_BY_KIND = {
|
|
380
|
+
provider_unavailable: true,
|
|
381
|
+
timeout: true,
|
|
382
|
+
rate_limited: true,
|
|
383
|
+
aborted: false,
|
|
384
|
+
malformed_json: false,
|
|
385
|
+
invalid_schema: false,
|
|
386
|
+
partial_output: false,
|
|
387
|
+
invalid_config: false
|
|
388
|
+
};
|
|
389
|
+
function isAnalysisFailureKind(value) {
|
|
390
|
+
return typeof value === "string" && ANALYSIS_FAILURE_KINDS.includes(value);
|
|
391
|
+
}
|
|
392
|
+
function classifyAnalysisFailure(kind) {
|
|
393
|
+
if (!isAnalysisFailureKind(kind)) {
|
|
394
|
+
throw new TypeError(
|
|
395
|
+
`unknown analysis failure kind: ${String(kind)}; allowed kinds: ${ANALYSIS_FAILURE_KINDS.join(", ")}`
|
|
396
|
+
);
|
|
397
|
+
}
|
|
398
|
+
return {
|
|
399
|
+
kind,
|
|
400
|
+
retryable: RETRYABLE_BY_KIND[kind],
|
|
401
|
+
preservesDeterministic: true
|
|
402
|
+
};
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
// src/activity/timeline/analysis-provider.ts
|
|
406
|
+
var TimelineAnalysisProviderError = class extends Error {
|
|
407
|
+
constructor(kind, message) {
|
|
408
|
+
super(message);
|
|
409
|
+
this.kind = kind;
|
|
410
|
+
}
|
|
411
|
+
kind;
|
|
412
|
+
name = "TimelineAnalysisProviderError";
|
|
413
|
+
};
|
|
414
|
+
var TIMELINE_ANALYSIS_LOCAL_PROVIDER_ID = "local";
|
|
415
|
+
var RATE_LIMIT_MESSAGE = /rate limit|too many requests/i;
|
|
416
|
+
function classifyAnalysisProviderError(error) {
|
|
417
|
+
if (error instanceof TimelineAnalysisProviderError) return error.kind;
|
|
418
|
+
if (error instanceof Error) {
|
|
419
|
+
if (error.name === "AbortError" || "code" in error && error.code === "ABORT_ERR") {
|
|
420
|
+
return "aborted";
|
|
421
|
+
}
|
|
422
|
+
if (error.name === "TimeoutError") return "timeout";
|
|
423
|
+
const status = "status" in error ? error.status : "statusCode" in error ? error.statusCode : void 0;
|
|
424
|
+
if (status === 429 || RATE_LIMIT_MESSAGE.test(error.message)) return "rate_limited";
|
|
425
|
+
}
|
|
426
|
+
return "provider_unavailable";
|
|
427
|
+
}
|
|
428
|
+
function timelineAnalysisCompleteFromClients(input) {
|
|
429
|
+
const { localLlm, remoteLlm } = input;
|
|
430
|
+
return async ({ prompt, provider, model, signal }) => {
|
|
431
|
+
const messages = [{ role: "user", content: prompt }];
|
|
432
|
+
if (provider === TIMELINE_ANALYSIS_LOCAL_PROVIDER_ID) {
|
|
433
|
+
if (!localLlm) {
|
|
434
|
+
throw new TimelineAnalysisProviderError(
|
|
435
|
+
"provider_unavailable",
|
|
436
|
+
"timeline analysis local provider is not configured"
|
|
437
|
+
);
|
|
438
|
+
}
|
|
439
|
+
const failureDiag2 = {};
|
|
440
|
+
const result2 = await localLlm.chatCompletion(messages, {
|
|
441
|
+
temperature: 0,
|
|
442
|
+
maxTokens: 2048,
|
|
443
|
+
signal,
|
|
444
|
+
operation: "timeline-analysis",
|
|
445
|
+
redactProviderErrors: true,
|
|
446
|
+
model,
|
|
447
|
+
failureDiag: failureDiag2
|
|
448
|
+
});
|
|
449
|
+
if (result2 === null) {
|
|
450
|
+
throw new TimelineAnalysisProviderError(
|
|
451
|
+
classifyAnalysisProviderError(failureDiag2.lastError),
|
|
452
|
+
"timeline analysis local provider returned no completion"
|
|
453
|
+
);
|
|
454
|
+
}
|
|
455
|
+
return result2.content;
|
|
456
|
+
}
|
|
457
|
+
if (!remoteLlm) {
|
|
458
|
+
throw new TimelineAnalysisProviderError(
|
|
459
|
+
"provider_unavailable",
|
|
460
|
+
"timeline analysis remote provider is not configured"
|
|
461
|
+
);
|
|
462
|
+
}
|
|
463
|
+
const failureDiag = {};
|
|
464
|
+
const result = await remoteLlm.chatCompletion(messages, {
|
|
465
|
+
temperature: 0,
|
|
466
|
+
maxTokens: 2048,
|
|
467
|
+
signal,
|
|
468
|
+
modelChain: { primary: `${provider}/${model}` },
|
|
469
|
+
includeDefaultModelFallback: false,
|
|
470
|
+
redactProviderErrors: true,
|
|
471
|
+
failureDiag
|
|
472
|
+
});
|
|
473
|
+
if (result === null) {
|
|
474
|
+
throw new TimelineAnalysisProviderError(
|
|
475
|
+
classifyAnalysisProviderError(failureDiag.lastError),
|
|
476
|
+
`timeline analysis provider "${provider}" is not configured`
|
|
477
|
+
);
|
|
478
|
+
}
|
|
479
|
+
return result.content;
|
|
480
|
+
};
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
// src/activity/timeline/categories.ts
|
|
484
|
+
var TIMELINE_RESERVED_UNKNOWN = "system.unknown";
|
|
485
|
+
var TIMELINE_RESERVED_IDLE = "system.idle";
|
|
486
|
+
var TIMELINE_RESERVED_PAUSE = "system.pause";
|
|
487
|
+
var COLOR_PATTERN = /^#[0-9a-fA-F]{6}$/;
|
|
488
|
+
function isTimelineCategoryId(id) {
|
|
489
|
+
const parts = id.split(".");
|
|
490
|
+
if (parts.length === 0) return false;
|
|
491
|
+
for (const part of parts) {
|
|
492
|
+
if (part.length === 0) return false;
|
|
493
|
+
const first = part.charCodeAt(0);
|
|
494
|
+
if (first < 97 || first > 122) return false;
|
|
495
|
+
for (let i = 1; i < part.length; i += 1) {
|
|
496
|
+
const code = part.charCodeAt(i);
|
|
497
|
+
const ok = code >= 97 && code <= 122 || code >= 48 && code <= 57 || code === 45;
|
|
498
|
+
if (!ok) return false;
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
return true;
|
|
502
|
+
}
|
|
503
|
+
var DEFAULT_TIMELINE_CATEGORIES = [
|
|
504
|
+
{ id: "development", name: "Development", color: "#3b82f6", description: "Editors, terminals, IDEs, and code forges.", order: 10 },
|
|
505
|
+
{ id: "communication", name: "Communication", color: "#f59e0b", description: "Mail, chat, and meetings.", order: 20 },
|
|
506
|
+
{ id: "browsing", name: "Browsing", color: "#6366f1", description: "Web browsing without a more specific domain match.", order: 30 },
|
|
507
|
+
{ id: "documents", name: "Documents", color: "#10b981", description: "Writing, notes, and PDFs.", order: 40 },
|
|
508
|
+
{ id: "design", name: "Design & Media", color: "#ec4899", description: "Design, audio, and video tools.", order: 50 },
|
|
509
|
+
{ id: "data", name: "Data & Analysis", color: "#84cc16", description: "Spreadsheets, dashboards, and databases.", order: 60 },
|
|
510
|
+
{ id: "admin", name: "Admin", color: "#64748b", description: "File managers, settings, and system utilities.", order: 70 },
|
|
511
|
+
{ id: "entertainment", name: "Entertainment", color: "#ef4444", description: "Video, music, and games.", order: 80 },
|
|
512
|
+
{ id: TIMELINE_RESERVED_UNKNOWN, name: "Uncategorized", color: "#9ca3af", description: "Activity with no matching classification signal. Kept visible, never silently reassigned.", order: 990, system: true },
|
|
513
|
+
{ id: TIMELINE_RESERVED_IDLE, name: "Idle", color: "#d1d5db", description: "Derived gap between cards where no activity was observed.", order: 991, system: true, idle: true },
|
|
514
|
+
{ id: TIMELINE_RESERVED_PAUSE, name: "Paused", color: "#a78bfa", description: "User-declared pause interval.", order: 992, system: true }
|
|
515
|
+
];
|
|
516
|
+
function validateTimelineCategories(categories) {
|
|
517
|
+
if (!Array.isArray(categories) || categories.length === 0) {
|
|
518
|
+
throw new RangeError("timeline categories must be a non-empty array");
|
|
519
|
+
}
|
|
520
|
+
const seen = /* @__PURE__ */ new Set();
|
|
521
|
+
for (const category of categories) {
|
|
522
|
+
if (typeof category.id !== "string" || !isTimelineCategoryId(category.id)) {
|
|
523
|
+
throw new RangeError(`timeline category id must be dotted kebab-case: ${String(category.id)}`);
|
|
524
|
+
}
|
|
525
|
+
if (seen.has(category.id)) {
|
|
526
|
+
throw new RangeError(`timeline category id must be unique: ${category.id}`);
|
|
527
|
+
}
|
|
528
|
+
seen.add(category.id);
|
|
529
|
+
if (typeof category.name !== "string" || category.name.length === 0) {
|
|
530
|
+
throw new RangeError(`timeline category ${category.id}: name must be a non-empty string`);
|
|
531
|
+
}
|
|
532
|
+
if (typeof category.color !== "string" || !COLOR_PATTERN.test(category.color)) {
|
|
533
|
+
throw new RangeError(`timeline category ${category.id}: color must be #RRGGBB`);
|
|
534
|
+
}
|
|
535
|
+
if (typeof category.description !== "string" || category.description.length === 0) {
|
|
536
|
+
throw new RangeError(`timeline category ${category.id}: description must be a non-empty string`);
|
|
537
|
+
}
|
|
538
|
+
if (!Number.isInteger(category.order)) {
|
|
539
|
+
throw new RangeError(`timeline category ${category.id}: order must be an integer`);
|
|
540
|
+
}
|
|
541
|
+
const isReserved = category.id === TIMELINE_RESERVED_UNKNOWN || category.id === TIMELINE_RESERVED_IDLE || category.id === TIMELINE_RESERVED_PAUSE;
|
|
542
|
+
if (isReserved && category.system !== true) {
|
|
543
|
+
throw new RangeError(`timeline category ${category.id} is reserved and must set system: true`);
|
|
544
|
+
}
|
|
545
|
+
if (!isReserved) {
|
|
546
|
+
if (category.id.startsWith("system.")) {
|
|
547
|
+
throw new RangeError(`timeline category id namespace "system." is reserved: ${category.id}`);
|
|
548
|
+
}
|
|
549
|
+
if (category.system === true || category.idle === true) {
|
|
550
|
+
throw new RangeError(`timeline category ${category.id}: only reserved categories may set system/idle flags`);
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
const idle = categories.find((category) => category.id === TIMELINE_RESERVED_IDLE);
|
|
555
|
+
if (idle !== void 0 && idle.idle !== true) {
|
|
556
|
+
throw new RangeError(`timeline category ${TIMELINE_RESERVED_IDLE} must set idle: true`);
|
|
557
|
+
}
|
|
558
|
+
for (const reserved of [TIMELINE_RESERVED_UNKNOWN, TIMELINE_RESERVED_IDLE, TIMELINE_RESERVED_PAUSE]) {
|
|
559
|
+
if (!categories.some((category) => category.id === reserved)) {
|
|
560
|
+
throw new RangeError(`timeline categories must include the reserved "${reserved}" category`);
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
function sortTimelineCategories(categories) {
|
|
565
|
+
return [...categories].sort((a, b) => a.order - b.order || (a.id < b.id ? -1 : a.id > b.id ? 1 : 0));
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
// src/activity/timeline/analysis.ts
|
|
569
|
+
var TIMELINE_ANALYSIS_PROMPT_VERSION = 1;
|
|
570
|
+
var TIMELINE_ANALYSIS_BATCH_SIZE = 40;
|
|
571
|
+
var TIMELINE_ANALYSIS_BATCH_OVERLAP = 2;
|
|
572
|
+
var TIMELINE_ANALYSIS_DEFAULT_TIMEOUT_MS = 15e3;
|
|
573
|
+
var TimelineAnalysisConfigError = class extends Error {
|
|
574
|
+
name = "TimelineAnalysisConfigError";
|
|
575
|
+
code = "invalid_config";
|
|
576
|
+
constructor(message) {
|
|
577
|
+
super(message);
|
|
578
|
+
}
|
|
579
|
+
};
|
|
580
|
+
var INSTRUCTIONS = [
|
|
581
|
+
"Use only supplied evidence.",
|
|
582
|
+
"Preserve chronology.",
|
|
583
|
+
"Do not invent people, places, or tasks.",
|
|
584
|
+
"Avoid productivity or emotional claims.",
|
|
585
|
+
"Merge adjacent activity only when the evidence justifies it.",
|
|
586
|
+
'Return strict JSON: {"ops":[...]} with evidenceRange, title, summary, categoryId, confidence, uncertainty.',
|
|
587
|
+
"Cite evidence ranges for every op. Empty ops is a valid no-op."
|
|
588
|
+
].join(" ");
|
|
589
|
+
function fail(status, cards, provider, model, kind) {
|
|
590
|
+
log.info(`timeline analysis status=${status} provider=${provider} model=${model} promptVersion=${TIMELINE_ANALYSIS_PROMPT_VERSION}`);
|
|
591
|
+
return {
|
|
592
|
+
status,
|
|
593
|
+
cards,
|
|
594
|
+
provider,
|
|
595
|
+
model,
|
|
596
|
+
promptVersion: TIMELINE_ANALYSIS_PROMPT_VERSION,
|
|
597
|
+
failure: classifyAnalysisFailure(kind)
|
|
598
|
+
};
|
|
599
|
+
}
|
|
600
|
+
function requiredToken(value, name) {
|
|
601
|
+
if (typeof value !== "string" || value.trim().length === 0) {
|
|
602
|
+
throw new TimelineAnalysisConfigError(`${name} is required`);
|
|
603
|
+
}
|
|
604
|
+
return value.trim();
|
|
605
|
+
}
|
|
606
|
+
function evidenceKeyOf(observation) {
|
|
607
|
+
const parsed = Date.parse(observation.capturedAtUtc);
|
|
608
|
+
const instant = Number.isFinite(parsed) ? new Date(parsed).toISOString() : observation.capturedAtUtc;
|
|
609
|
+
return `${observation.machine}|${instant}|${observation.contentHash}`;
|
|
610
|
+
}
|
|
611
|
+
function sortObservations(observations) {
|
|
612
|
+
return [...observations].sort((a, b) => {
|
|
613
|
+
const time = Date.parse(a.capturedAtUtc) - Date.parse(b.capturedAtUtc);
|
|
614
|
+
if (time !== 0) return time;
|
|
615
|
+
if (a.contentHash !== b.contentHash) return a.contentHash < b.contentHash ? -1 : 1;
|
|
616
|
+
return a.id - b.id;
|
|
617
|
+
});
|
|
618
|
+
}
|
|
619
|
+
function batchObservations(observations) {
|
|
620
|
+
if (observations.length === 0) return [[]];
|
|
621
|
+
const size = TIMELINE_ANALYSIS_BATCH_SIZE;
|
|
622
|
+
const overlap = TIMELINE_ANALYSIS_BATCH_OVERLAP;
|
|
623
|
+
const step = size - overlap;
|
|
624
|
+
const batches = [];
|
|
625
|
+
for (let start = 0; start < observations.length; start += step) {
|
|
626
|
+
batches.push(observations.slice(start, start + size));
|
|
627
|
+
if (start + size >= observations.length) break;
|
|
628
|
+
}
|
|
629
|
+
return batches;
|
|
630
|
+
}
|
|
631
|
+
function safeObservation(observation) {
|
|
632
|
+
return {
|
|
633
|
+
id: observation.id,
|
|
634
|
+
machine: observation.machine,
|
|
635
|
+
capturedAtUtc: observation.capturedAtUtc,
|
|
636
|
+
app: observation.app,
|
|
637
|
+
windowTitle: observation.windowTitle,
|
|
638
|
+
...observation.browserUrl ? { browserUrl: observation.browserUrl } : {},
|
|
639
|
+
contentHash: observation.contentHash
|
|
640
|
+
};
|
|
641
|
+
}
|
|
642
|
+
function safeCard(card) {
|
|
643
|
+
return {
|
|
644
|
+
id: card.id,
|
|
645
|
+
kind: card.kind,
|
|
646
|
+
title: card.title,
|
|
647
|
+
summary: card.summary,
|
|
648
|
+
categoryId: card.categoryId,
|
|
649
|
+
confidence: card.confidence,
|
|
650
|
+
startUtc: card.startUtc,
|
|
651
|
+
endUtc: card.endUtc,
|
|
652
|
+
machine: card.machine,
|
|
653
|
+
evidenceIds: card.evidenceIds,
|
|
654
|
+
evidenceRange: card.evidenceRange,
|
|
655
|
+
...card.manualEdit ? { manualEdit: card.manualEdit } : {}
|
|
656
|
+
};
|
|
657
|
+
}
|
|
658
|
+
function buildTimelineAnalysisPrompt(input) {
|
|
659
|
+
const payload = {
|
|
660
|
+
date: input.date ?? null,
|
|
661
|
+
timezone: input.timezone ?? null,
|
|
662
|
+
categories: input.categories.map((category) => ({ id: category.id, name: category.name })),
|
|
663
|
+
preferences: input.preferences ?? [],
|
|
664
|
+
priorEdits: input.priorEdits ?? [],
|
|
665
|
+
cards: input.cards.map(safeCard),
|
|
666
|
+
observations: input.observations.map(safeObservation)
|
|
667
|
+
};
|
|
668
|
+
return `${INSTRUCTIONS}
|
|
669
|
+
${JSON.stringify(payload)}`;
|
|
670
|
+
}
|
|
671
|
+
async function callComplete(complete, prompt, provider, model, timeoutMs, parent) {
|
|
672
|
+
const { promise: timeoutPromise, reject } = Promise.withResolvers();
|
|
673
|
+
const failOnce = (message, name) => {
|
|
674
|
+
reject(Object.assign(new Error(message), { name }));
|
|
675
|
+
};
|
|
676
|
+
const timer = setTimeout(() => failOnce("timeline analysis timed out", "TimeoutError"), timeoutMs);
|
|
677
|
+
if (parent?.aborted) {
|
|
678
|
+
clearTimeout(timer);
|
|
679
|
+
throw Object.assign(new Error("timeline analysis aborted"), { name: "AbortError" });
|
|
680
|
+
}
|
|
681
|
+
const onAbort = () => failOnce("timeline analysis aborted", "AbortError");
|
|
682
|
+
parent?.addEventListener("abort", onAbort, { once: true });
|
|
683
|
+
const signal = parent ? AbortSignal.any([parent, AbortSignal.timeout(timeoutMs)]) : AbortSignal.timeout(timeoutMs);
|
|
684
|
+
try {
|
|
685
|
+
return await Promise.race([complete({ prompt, provider, model, signal }), timeoutPromise]);
|
|
686
|
+
} finally {
|
|
687
|
+
clearTimeout(timer);
|
|
688
|
+
parent?.removeEventListener("abort", onAbort);
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
function asOp(value) {
|
|
692
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) return null;
|
|
693
|
+
if (!("cardId" in value) || typeof value.cardId !== "string" || value.cardId.length === 0) return null;
|
|
694
|
+
if (!("evidenceRange" in value)) return null;
|
|
695
|
+
const range = value.evidenceRange;
|
|
696
|
+
if (!range || typeof range !== "object" || Array.isArray(range)) return null;
|
|
697
|
+
if (!("firstKey" in range) || typeof range.firstKey !== "string" || range.firstKey.length === 0) return null;
|
|
698
|
+
if (!("lastKey" in range) || typeof range.lastKey !== "string" || range.lastKey.length === 0) return null;
|
|
699
|
+
if ("title" in value && value.title !== void 0 && typeof value.title !== "string") return null;
|
|
700
|
+
if ("summary" in value && value.summary !== void 0 && typeof value.summary !== "string") return null;
|
|
701
|
+
if ("categoryId" in value && value.categoryId !== void 0 && typeof value.categoryId !== "string") return null;
|
|
702
|
+
if ("uncertainty" in value && value.uncertainty !== void 0 && typeof value.uncertainty !== "string") return null;
|
|
703
|
+
if ("confidence" in value && value.confidence !== void 0 && (typeof value.confidence !== "number" || value.confidence < 0 || value.confidence > 1)) {
|
|
704
|
+
return null;
|
|
705
|
+
}
|
|
706
|
+
return {
|
|
707
|
+
cardId: value.cardId,
|
|
708
|
+
title: "title" in value && typeof value.title === "string" ? value.title : void 0,
|
|
709
|
+
summary: "summary" in value && typeof value.summary === "string" ? value.summary : void 0,
|
|
710
|
+
categoryId: "categoryId" in value && typeof value.categoryId === "string" ? value.categoryId : void 0,
|
|
711
|
+
confidence: "confidence" in value && typeof value.confidence === "number" ? value.confidence : void 0,
|
|
712
|
+
uncertainty: "uncertainty" in value && typeof value.uncertainty === "string" ? value.uncertainty : void 0,
|
|
713
|
+
evidenceRange: { firstKey: range.firstKey, lastKey: range.lastKey }
|
|
714
|
+
};
|
|
715
|
+
}
|
|
716
|
+
function parseOps(raw) {
|
|
717
|
+
if (typeof raw !== "string" || raw.trim().length === 0) return { ok: false, kind: "partial_output" };
|
|
718
|
+
let sawParsableShape = false;
|
|
719
|
+
for (const candidate of extractJsonCandidates(raw)) {
|
|
720
|
+
try {
|
|
721
|
+
const parsed = JSON.parse(candidate);
|
|
722
|
+
if (!parsed || typeof parsed !== "object" || Array.isArray(parsed)) continue;
|
|
723
|
+
if (!("ops" in parsed) || !Array.isArray(parsed.ops)) {
|
|
724
|
+
sawParsableShape = true;
|
|
725
|
+
continue;
|
|
726
|
+
}
|
|
727
|
+
const out = [];
|
|
728
|
+
let valid = true;
|
|
729
|
+
for (const item of parsed.ops) {
|
|
730
|
+
const op = asOp(item);
|
|
731
|
+
if (!op) {
|
|
732
|
+
valid = false;
|
|
733
|
+
break;
|
|
734
|
+
}
|
|
735
|
+
out.push(op);
|
|
736
|
+
}
|
|
737
|
+
if (valid) return { ok: true, ops: out };
|
|
738
|
+
sawParsableShape = true;
|
|
739
|
+
} catch {
|
|
740
|
+
continue;
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
if (sawParsableShape) return { ok: false, kind: "invalid_schema" };
|
|
744
|
+
return { ok: false, kind: "malformed_json" };
|
|
745
|
+
}
|
|
746
|
+
function knownEvidenceKeys(cards, observations) {
|
|
747
|
+
const keys = /* @__PURE__ */ new Set();
|
|
748
|
+
for (const observation of observations) keys.add(evidenceKeyOf(observation));
|
|
749
|
+
for (const card of cards) {
|
|
750
|
+
if (card.evidenceRange) {
|
|
751
|
+
keys.add(card.evidenceRange.firstKey);
|
|
752
|
+
keys.add(card.evidenceRange.lastKey);
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
return keys;
|
|
756
|
+
}
|
|
757
|
+
function applyOps(cards, ops, categories, evidenceKeys) {
|
|
758
|
+
if (ops.length === 0) return cards;
|
|
759
|
+
const byId = new Map(cards.map((card) => [card.id, card]));
|
|
760
|
+
const allowedCategories = new Set(categories.map((category) => category.id));
|
|
761
|
+
const next = /* @__PURE__ */ new Map();
|
|
762
|
+
for (const op of ops) {
|
|
763
|
+
const card = byId.get(op.cardId);
|
|
764
|
+
if (!card) return null;
|
|
765
|
+
if (!evidenceKeys.has(op.evidenceRange.firstKey) || !evidenceKeys.has(op.evidenceRange.lastKey)) return null;
|
|
766
|
+
if (op.categoryId !== void 0 && !allowedCategories.has(op.categoryId)) return null;
|
|
767
|
+
if (card.manualEdit) continue;
|
|
768
|
+
next.set(card.id, {
|
|
769
|
+
...card,
|
|
770
|
+
...op.title !== void 0 ? { title: op.title } : {},
|
|
771
|
+
...op.summary !== void 0 ? { summary: op.summary } : {},
|
|
772
|
+
...op.categoryId !== void 0 ? { categoryId: op.categoryId } : {},
|
|
773
|
+
...op.confidence !== void 0 ? { confidence: op.confidence } : {}
|
|
774
|
+
});
|
|
775
|
+
}
|
|
776
|
+
if (next.size === 0) return cards;
|
|
777
|
+
return cards.map((card) => next.get(card.id) ?? card);
|
|
778
|
+
}
|
|
779
|
+
async function analyzeTimelineCards(input) {
|
|
780
|
+
const cards = input.cards;
|
|
781
|
+
if (!input.enabled) {
|
|
782
|
+
return { status: "disabled", cards };
|
|
783
|
+
}
|
|
784
|
+
const provider = requiredToken(input.provider, "provider");
|
|
785
|
+
const model = requiredToken(input.model, "model");
|
|
786
|
+
const complete = input.complete;
|
|
787
|
+
if (typeof complete !== "function") {
|
|
788
|
+
throw new TimelineAnalysisConfigError("complete is required");
|
|
789
|
+
}
|
|
790
|
+
const timeoutMs = input.timeoutMs ?? TIMELINE_ANALYSIS_DEFAULT_TIMEOUT_MS;
|
|
791
|
+
if (!Number.isInteger(timeoutMs) || timeoutMs <= 0) {
|
|
792
|
+
throw new TimelineAnalysisConfigError("timeoutMs must be a positive integer");
|
|
793
|
+
}
|
|
794
|
+
if (input.cards.length === 0 && input.observations.length === 0) {
|
|
795
|
+
return {
|
|
796
|
+
status: "invalid_output",
|
|
797
|
+
cards,
|
|
798
|
+
provider,
|
|
799
|
+
model,
|
|
800
|
+
promptVersion: TIMELINE_ANALYSIS_PROMPT_VERSION
|
|
801
|
+
};
|
|
802
|
+
}
|
|
803
|
+
const categories = input.categories ?? DEFAULT_TIMELINE_CATEGORIES;
|
|
804
|
+
const ordered = sortObservations(input.observations);
|
|
805
|
+
const batches = batchObservations(ordered);
|
|
806
|
+
const merged = /* @__PURE__ */ new Map();
|
|
807
|
+
try {
|
|
808
|
+
for (const batch of batches) {
|
|
809
|
+
const prompt = buildTimelineAnalysisPrompt({
|
|
810
|
+
date: input.date,
|
|
811
|
+
timezone: input.timezone,
|
|
812
|
+
cards: input.cards,
|
|
813
|
+
observations: batch,
|
|
814
|
+
categories,
|
|
815
|
+
preferences: input.preferences,
|
|
816
|
+
priorEdits: input.priorEdits
|
|
817
|
+
});
|
|
818
|
+
const raw = await callComplete(complete, prompt, provider, model, timeoutMs, input.signal);
|
|
819
|
+
const parsed = parseOps(raw);
|
|
820
|
+
if (!parsed.ok) return fail("invalid_output", cards, provider, model, parsed.kind);
|
|
821
|
+
for (const op of parsed.ops) merged.set(op.cardId, op);
|
|
822
|
+
}
|
|
823
|
+
} catch (error) {
|
|
824
|
+
return fail("provider_failed", cards, provider, model, classifyAnalysisProviderError(error));
|
|
825
|
+
}
|
|
826
|
+
const applied = applyOps(cards, [...merged.values()], categories, knownEvidenceKeys(cards, ordered));
|
|
827
|
+
if (!applied) return fail("invalid_output", cards, provider, model, "invalid_schema");
|
|
828
|
+
log.info(`timeline analysis status=ok provider=${provider} model=${model} promptVersion=${TIMELINE_ANALYSIS_PROMPT_VERSION}`);
|
|
829
|
+
return {
|
|
830
|
+
status: "ok",
|
|
831
|
+
cards: applied,
|
|
832
|
+
provider,
|
|
833
|
+
model,
|
|
834
|
+
promptVersion: TIMELINE_ANALYSIS_PROMPT_VERSION
|
|
835
|
+
};
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
// src/activity/timeline/analysis-metadata.ts
|
|
839
|
+
var ANALYSIS_METADATA_MAX_FIELD_LENGTH = 120;
|
|
840
|
+
var isAnalysisIdentifier = (value) => IDENTIFIER.test(value);
|
|
841
|
+
var IDENTIFIER = /^[A-Za-z0-9][A-Za-z0-9._:\-\/]*$/;
|
|
842
|
+
var FIELD_PATTERNS = {
|
|
843
|
+
provider: IDENTIFIER,
|
|
844
|
+
model: IDENTIFIER,
|
|
845
|
+
promptVersion: IDENTIFIER
|
|
846
|
+
};
|
|
847
|
+
function validateMetadataField(field, value) {
|
|
848
|
+
if (typeof value !== "string") {
|
|
849
|
+
throw new RangeError(
|
|
850
|
+
`analysis run metadata ${field} must be a string; received ${typeof value}`
|
|
851
|
+
);
|
|
852
|
+
}
|
|
853
|
+
if (value.length === 0) {
|
|
854
|
+
throw new RangeError(`analysis run metadata ${field} must not be empty`);
|
|
855
|
+
}
|
|
856
|
+
if (value.length > ANALYSIS_METADATA_MAX_FIELD_LENGTH) {
|
|
857
|
+
throw new RangeError(
|
|
858
|
+
`analysis run metadata ${field} is too long (max ${ANALYSIS_METADATA_MAX_FIELD_LENGTH} characters)`
|
|
859
|
+
);
|
|
860
|
+
}
|
|
861
|
+
if (/[\n\r\u2028\u2029]/.test(value)) {
|
|
862
|
+
throw new RangeError(`analysis run metadata ${field} must not contain a line break`);
|
|
863
|
+
}
|
|
864
|
+
const pattern = FIELD_PATTERNS[field];
|
|
865
|
+
if (pattern === void 0) {
|
|
866
|
+
throw new RangeError(`analysis run metadata has no pattern for field ${field}`);
|
|
867
|
+
}
|
|
868
|
+
if (!pattern.test(value)) {
|
|
869
|
+
throw new RangeError(
|
|
870
|
+
`analysis run metadata ${field} must be an identifier (letters, digits, and ._:-/ only)`
|
|
871
|
+
);
|
|
872
|
+
}
|
|
873
|
+
return value;
|
|
874
|
+
}
|
|
875
|
+
function buildAnalysisRunMetadata(input) {
|
|
876
|
+
const provider = validateMetadataField("provider", input.provider);
|
|
877
|
+
const model = validateMetadataField("model", input.model);
|
|
878
|
+
const promptVersion = validateMetadataField("promptVersion", input.promptVersion);
|
|
879
|
+
const observationCount = input.observationCount;
|
|
880
|
+
if (typeof observationCount !== "number" || !Number.isInteger(observationCount) || observationCount < 0) {
|
|
881
|
+
throw new RangeError(
|
|
882
|
+
`analysis run metadata observationCount must be a non-negative integer; received ${typeof observationCount}`
|
|
883
|
+
);
|
|
884
|
+
}
|
|
885
|
+
return { provider, model, promptVersion, observationCount };
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
// src/activity/config.ts
|
|
889
|
+
import path3 from "path";
|
|
890
|
+
|
|
891
|
+
// src/activity/journal-heading.ts
|
|
892
|
+
function normalizeJournalHeading(value) {
|
|
893
|
+
const heading = value.trim();
|
|
894
|
+
if (heading.length === 0) return { ok: false, error: "empty_heading" };
|
|
895
|
+
if (heading.includes("\n") || heading.includes("\r")) {
|
|
896
|
+
return { ok: false, error: "invalid_heading" };
|
|
897
|
+
}
|
|
898
|
+
return { ok: true, heading };
|
|
899
|
+
}
|
|
900
|
+
function applyLegacyJournalHeading(input) {
|
|
901
|
+
if (input.heading === void 0) {
|
|
902
|
+
return { journalSection: input.journalSection, usedLegacyHeading: false, ignoredLegacyHeading: false };
|
|
903
|
+
}
|
|
904
|
+
if (typeof input.heading !== "string") {
|
|
905
|
+
throw new TypeError("activity.timeline.journal.heading must be a string");
|
|
906
|
+
}
|
|
907
|
+
const normalized = normalizeJournalHeading(input.heading);
|
|
908
|
+
if (!normalized.ok) {
|
|
909
|
+
throw new RangeError(
|
|
910
|
+
normalized.error === "empty_heading" ? "activity.timeline.journal.heading must be a non-empty string" : "activity.timeline.journal.heading must not contain a newline"
|
|
911
|
+
);
|
|
912
|
+
}
|
|
913
|
+
if (input.journalSection.trim().length > 0) {
|
|
914
|
+
return {
|
|
915
|
+
journalSection: input.journalSection,
|
|
916
|
+
usedLegacyHeading: false,
|
|
917
|
+
ignoredLegacyHeading: true
|
|
918
|
+
};
|
|
919
|
+
}
|
|
920
|
+
return {
|
|
921
|
+
journalSection: normalized.heading,
|
|
922
|
+
usedLegacyHeading: true,
|
|
923
|
+
ignoredLegacyHeading: false
|
|
924
|
+
};
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
// src/activity/journal-source.ts
|
|
928
|
+
var JOURNAL_SOURCES = ["memoryDir", "vault"];
|
|
929
|
+
function resolveJournalSource(input) {
|
|
930
|
+
if (input.source === "file") {
|
|
931
|
+
return { ok: true, mode: "memoryDir", deprecatedAlias: "file" };
|
|
932
|
+
}
|
|
933
|
+
if (JOURNAL_SOURCES.includes(input.source)) {
|
|
934
|
+
return { ok: true, mode: input.source };
|
|
935
|
+
}
|
|
936
|
+
return { ok: false, error: "unknown_source" };
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
// src/activity/config.ts
|
|
940
|
+
var EXTRACTION_MODES = ["off", "smart"];
|
|
941
|
+
var IMPORTANCE_LEVELS = ["critical", "high", "normal", "low", "trivial"];
|
|
942
|
+
function defaultActivityConfig() {
|
|
943
|
+
return {
|
|
944
|
+
enabled: false,
|
|
945
|
+
timezone: "UTC",
|
|
946
|
+
syncDays: 1,
|
|
947
|
+
autoSyncIntervalMinutes: 15,
|
|
948
|
+
sources: [],
|
|
949
|
+
extractionMode: "off",
|
|
950
|
+
sourceTrust: 0.6,
|
|
951
|
+
autoApproveTrust: 0.8,
|
|
952
|
+
reviewTrust: 0.5,
|
|
953
|
+
minConfidence: 0.7,
|
|
954
|
+
minImportance: "normal",
|
|
955
|
+
maxMemoriesPerDay: 0,
|
|
956
|
+
timeline: {
|
|
957
|
+
enabled: false,
|
|
958
|
+
analysis: parseTimelineAnalysisConfig(void 0),
|
|
959
|
+
journal: { enabled: false, source: "memoryDir", extractionMode: "off" },
|
|
960
|
+
qa: { enabled: false, maxRangeDays: 31 },
|
|
961
|
+
vault: parseTimelineVaultConfig(void 0)
|
|
962
|
+
}
|
|
963
|
+
};
|
|
964
|
+
}
|
|
965
|
+
function asRecord(value, name) {
|
|
966
|
+
if (typeof value !== "object" || value === null || Array.isArray(value)) {
|
|
967
|
+
throw new TypeError(`${name} must be an object`);
|
|
968
|
+
}
|
|
969
|
+
return value;
|
|
970
|
+
}
|
|
971
|
+
function optionalString(value, name) {
|
|
972
|
+
if (value === void 0) return void 0;
|
|
973
|
+
if (typeof value !== "string" || value.length === 0) throw new TypeError(`${name} must be a non-empty string`);
|
|
974
|
+
return value;
|
|
975
|
+
}
|
|
976
|
+
function parseUnitInterval(value, key, fallback) {
|
|
977
|
+
if (value === void 0) return fallback;
|
|
978
|
+
const parsed = coerceNumber(value);
|
|
979
|
+
if (parsed === void 0 || !Number.isFinite(parsed) || parsed < 0 || parsed > 1) {
|
|
980
|
+
throw new RangeError(`activity.${key} must be a number in [0, 1]`);
|
|
981
|
+
}
|
|
982
|
+
return parsed;
|
|
983
|
+
}
|
|
984
|
+
function validateActivityBaseUrl(baseUrl) {
|
|
985
|
+
let parsed;
|
|
986
|
+
try {
|
|
987
|
+
parsed = new URL(baseUrl);
|
|
988
|
+
} catch {
|
|
989
|
+
throw new RangeError(`activity source baseUrl must be a valid URL: ${baseUrl}`);
|
|
990
|
+
}
|
|
991
|
+
if (parsed.protocol !== "http:" && parsed.protocol !== "https:") {
|
|
992
|
+
throw new RangeError("activity source baseUrl must use HTTP or HTTPS");
|
|
993
|
+
}
|
|
994
|
+
if (!isLoopbackHost(parsed.hostname)) {
|
|
995
|
+
throw new RangeError(`activity source baseUrl must target a loopback host (got ${parsed.hostname})`);
|
|
996
|
+
}
|
|
997
|
+
return parsed;
|
|
998
|
+
}
|
|
999
|
+
function parseSource(value) {
|
|
1000
|
+
const raw = asRecord(value, "activity source");
|
|
1001
|
+
const machineLabel = optionalString(raw.machineLabel, "activity source machineLabel");
|
|
1002
|
+
const baseUrl = optionalString(raw.baseUrl, "activity source baseUrl");
|
|
1003
|
+
if (machineLabel === void 0 || baseUrl === void 0) {
|
|
1004
|
+
throw new TypeError("activity source requires machineLabel and baseUrl");
|
|
1005
|
+
}
|
|
1006
|
+
if (machineLabel.trim().length === 0) {
|
|
1007
|
+
throw new RangeError("activity source machineLabel must not be blank");
|
|
1008
|
+
}
|
|
1009
|
+
validateActivityBaseUrl(baseUrl);
|
|
1010
|
+
const token = optionalString(raw.token, "activity source token");
|
|
1011
|
+
return { machineLabel, baseUrl, ...token === void 0 ? {} : { token } };
|
|
1012
|
+
}
|
|
1013
|
+
function parseActivityConfig(raw) {
|
|
1014
|
+
const defaults = defaultActivityConfig();
|
|
1015
|
+
if (raw === void 0 || raw === null) {
|
|
1016
|
+
return { ...defaults };
|
|
1017
|
+
}
|
|
1018
|
+
const config = asRecord(raw, "activity");
|
|
1019
|
+
const enabledValue = coerceBooleanLike(config.enabled, "activity.enabled");
|
|
1020
|
+
if (config.enabled !== void 0 && enabledValue === void 0) {
|
|
1021
|
+
throw new TypeError("activity.enabled must be a boolean");
|
|
1022
|
+
}
|
|
1023
|
+
const timezone = optionalString(config.timezone, "activity.timezone") ?? "UTC";
|
|
1024
|
+
assertValidTimezone(timezone);
|
|
1025
|
+
const syncDaysValue = coerceNumber(config.syncDays, "activity.syncDays");
|
|
1026
|
+
if (config.syncDays !== void 0 && syncDaysValue === void 0) {
|
|
1027
|
+
throw new TypeError("activity.syncDays must be a finite number");
|
|
1028
|
+
}
|
|
1029
|
+
const syncDays = syncDaysValue ?? 1;
|
|
1030
|
+
if (!Number.isInteger(syncDays) || syncDays < 1 || syncDays > 90) {
|
|
1031
|
+
throw new RangeError("activity.syncDays must be an integer from 1 to 90");
|
|
1032
|
+
}
|
|
1033
|
+
const intervalValue = coerceNumber(config.autoSyncIntervalMinutes, "activity.autoSyncIntervalMinutes");
|
|
1034
|
+
if (config.autoSyncIntervalMinutes !== void 0 && intervalValue === void 0) {
|
|
1035
|
+
throw new TypeError("activity.autoSyncIntervalMinutes must be a finite number");
|
|
1036
|
+
}
|
|
1037
|
+
const autoSyncIntervalMinutes = intervalValue ?? 15;
|
|
1038
|
+
if (!Number.isInteger(autoSyncIntervalMinutes) || autoSyncIntervalMinutes < 1 || autoSyncIntervalMinutes > 1440) {
|
|
1039
|
+
throw new RangeError("activity.autoSyncIntervalMinutes must be an integer from 1 to 1440");
|
|
1040
|
+
}
|
|
1041
|
+
if (config.sources !== void 0 && !Array.isArray(config.sources)) {
|
|
1042
|
+
throw new TypeError("activity.sources must be an array");
|
|
1043
|
+
}
|
|
1044
|
+
const sources = (config.sources ?? []).map(parseSource);
|
|
1045
|
+
const labels = /* @__PURE__ */ new Set();
|
|
1046
|
+
for (const source of sources) {
|
|
1047
|
+
if (labels.has(source.machineLabel)) {
|
|
1048
|
+
throw new RangeError(`activity source machineLabel must be unique: ${source.machineLabel}`);
|
|
1049
|
+
}
|
|
1050
|
+
labels.add(source.machineLabel);
|
|
1051
|
+
}
|
|
1052
|
+
const enabled = enabledValue ?? false;
|
|
1053
|
+
if (enabled && sources.length === 0) throw new RangeError("activity.enabled requires at least one source");
|
|
1054
|
+
const extractionMode = config.extractionMode === void 0 ? defaults.extractionMode : config.extractionMode;
|
|
1055
|
+
if (typeof extractionMode !== "string" || !EXTRACTION_MODES.includes(extractionMode)) {
|
|
1056
|
+
throw new RangeError(`activity.extractionMode must be one of: ${EXTRACTION_MODES.join(", ")}`);
|
|
1057
|
+
}
|
|
1058
|
+
const minImportance = config.minImportance === void 0 ? defaults.minImportance : config.minImportance;
|
|
1059
|
+
if (typeof minImportance !== "string" || !IMPORTANCE_LEVELS.includes(minImportance)) {
|
|
1060
|
+
throw new RangeError(`activity.minImportance must be one of: ${IMPORTANCE_LEVELS.join(", ")}`);
|
|
1061
|
+
}
|
|
1062
|
+
const rawMaxMemoriesPerDay = config.maxMemoriesPerDay === void 0 ? defaults.maxMemoriesPerDay : config.maxMemoriesPerDay;
|
|
1063
|
+
const maxMemoriesPerDay = coerceNumber(rawMaxMemoriesPerDay);
|
|
1064
|
+
if (maxMemoriesPerDay === void 0 || !Number.isInteger(maxMemoriesPerDay) || maxMemoriesPerDay < 0) {
|
|
1065
|
+
throw new RangeError("activity.maxMemoriesPerDay must be a non-negative integer");
|
|
1066
|
+
}
|
|
1067
|
+
const autoApproveTrust = parseUnitInterval(config.autoApproveTrust, "autoApproveTrust", defaults.autoApproveTrust);
|
|
1068
|
+
const reviewTrust = parseUnitInterval(config.reviewTrust, "reviewTrust", defaults.reviewTrust);
|
|
1069
|
+
if (reviewTrust >= autoApproveTrust) {
|
|
1070
|
+
throw new RangeError(
|
|
1071
|
+
`activity.reviewTrust (${reviewTrust}) must be below autoApproveTrust (${autoApproveTrust})`
|
|
1072
|
+
);
|
|
1073
|
+
}
|
|
1074
|
+
return {
|
|
1075
|
+
enabled,
|
|
1076
|
+
timezone,
|
|
1077
|
+
syncDays,
|
|
1078
|
+
autoSyncIntervalMinutes,
|
|
1079
|
+
sources,
|
|
1080
|
+
extractionMode,
|
|
1081
|
+
sourceTrust: parseUnitInterval(config.sourceTrust, "sourceTrust", defaults.sourceTrust),
|
|
1082
|
+
autoApproveTrust,
|
|
1083
|
+
reviewTrust,
|
|
1084
|
+
minConfidence: parseUnitInterval(config.minConfidence, "minConfidence", defaults.minConfidence),
|
|
1085
|
+
minImportance,
|
|
1086
|
+
maxMemoriesPerDay,
|
|
1087
|
+
timeline: parseTimelineConfig(config.timeline)
|
|
1088
|
+
};
|
|
1089
|
+
}
|
|
1090
|
+
function parseTimelineConfig(raw) {
|
|
1091
|
+
if (raw === void 0) {
|
|
1092
|
+
return {
|
|
1093
|
+
enabled: false,
|
|
1094
|
+
analysis: parseTimelineAnalysisConfig(void 0),
|
|
1095
|
+
journal: { enabled: false, source: "memoryDir", extractionMode: "off" },
|
|
1096
|
+
qa: parseTimelineQaConfig(void 0),
|
|
1097
|
+
vault: parseTimelineVaultConfig(void 0)
|
|
1098
|
+
};
|
|
1099
|
+
}
|
|
1100
|
+
if (typeof raw !== "object" || raw === null || Array.isArray(raw)) {
|
|
1101
|
+
throw new TypeError("activity.timeline must be an object");
|
|
1102
|
+
}
|
|
1103
|
+
const timeline = raw;
|
|
1104
|
+
const enabledValue = coerceBooleanLike(timeline.enabled, "activity.timeline.enabled");
|
|
1105
|
+
if (timeline.enabled !== void 0 && enabledValue === void 0) {
|
|
1106
|
+
throw new TypeError("activity.timeline.enabled must be a boolean");
|
|
1107
|
+
}
|
|
1108
|
+
const journal = parseTimelineJournalConfig(timeline.journal);
|
|
1109
|
+
let vault = parseTimelineVaultConfig(timeline.vault);
|
|
1110
|
+
const journalRaw = timeline.journal;
|
|
1111
|
+
const headingRaw = typeof journalRaw === "object" && journalRaw !== null && !Array.isArray(journalRaw) ? journalRaw.heading : void 0;
|
|
1112
|
+
if (headingRaw !== void 0) {
|
|
1113
|
+
const aliased = applyLegacyJournalHeading({
|
|
1114
|
+
journalSection: vault.readback.journalSection,
|
|
1115
|
+
heading: headingRaw
|
|
1116
|
+
});
|
|
1117
|
+
process.emitWarning(
|
|
1118
|
+
aliased.ignoredLegacyHeading ? "activity.timeline.journal.heading is deprecated and ignored because activity.timeline.vault.readback.journalSection is set; use vault.readback.journalSection." : "activity.timeline.journal.heading is deprecated; use activity.timeline.vault.readback.journalSection.",
|
|
1119
|
+
{ type: "DeprecationWarning", code: "REMNIC_DEP_JOURNAL_HEADING" }
|
|
1120
|
+
);
|
|
1121
|
+
if (aliased.usedLegacyHeading) {
|
|
1122
|
+
vault = { ...vault, readback: { ...vault.readback, journalSection: aliased.journalSection } };
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
if (journal.source === "vault") {
|
|
1126
|
+
const prereq = checkVaultJournalPrerequisites({
|
|
1127
|
+
vaultEnabled: vault.enabled,
|
|
1128
|
+
dailyNotePath: vault.dailyNotePath,
|
|
1129
|
+
journalSection: vault.readback.journalSection
|
|
1130
|
+
});
|
|
1131
|
+
if (!prereq.ok) {
|
|
1132
|
+
throw new RangeError(
|
|
1133
|
+
`activity.timeline.journal.source "vault" requires ${prereq.message}`
|
|
1134
|
+
);
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
return {
|
|
1138
|
+
enabled: enabledValue ?? false,
|
|
1139
|
+
analysis: parseTimelineAnalysisConfig(timeline.analysis),
|
|
1140
|
+
journal,
|
|
1141
|
+
qa: parseTimelineQaConfig(timeline.qa),
|
|
1142
|
+
vault
|
|
1143
|
+
};
|
|
1144
|
+
}
|
|
1145
|
+
function parseTimelineAnalysisConfig(raw) {
|
|
1146
|
+
if (raw === void 0) return { enabled: false };
|
|
1147
|
+
if (typeof raw !== "object" || raw === null || Array.isArray(raw)) {
|
|
1148
|
+
throw new TypeError("activity.timeline.analysis must be an object");
|
|
1149
|
+
}
|
|
1150
|
+
const analysis = raw;
|
|
1151
|
+
const enabled = requireBool(analysis.enabled, "activity.timeline.analysis.enabled", false);
|
|
1152
|
+
const provider = optionalNonEmptyString(analysis.provider, "activity.timeline.analysis.provider")?.trim();
|
|
1153
|
+
const model = optionalNonEmptyString(analysis.model, "activity.timeline.analysis.model")?.trim();
|
|
1154
|
+
for (const [key, value] of [
|
|
1155
|
+
["provider", provider],
|
|
1156
|
+
["model", model]
|
|
1157
|
+
]) {
|
|
1158
|
+
if (value === void 0) continue;
|
|
1159
|
+
if (key === "provider" && value.includes("/")) {
|
|
1160
|
+
throw new RangeError(
|
|
1161
|
+
"activity.timeline.analysis.provider must be a single provider segment (no '/')"
|
|
1162
|
+
);
|
|
1163
|
+
}
|
|
1164
|
+
if (!isAnalysisIdentifier(value)) {
|
|
1165
|
+
throw new RangeError(
|
|
1166
|
+
`activity.timeline.analysis.${key} must be an identifier (letters, digits, and ._:-/ only)`
|
|
1167
|
+
);
|
|
1168
|
+
}
|
|
1169
|
+
if (value.length > ANALYSIS_METADATA_MAX_FIELD_LENGTH) {
|
|
1170
|
+
throw new RangeError(
|
|
1171
|
+
`activity.timeline.analysis.${key} must be at most ${ANALYSIS_METADATA_MAX_FIELD_LENGTH} characters`
|
|
1172
|
+
);
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
if (enabled && (provider === void 0 || model === void 0)) {
|
|
1176
|
+
throw new RangeError(
|
|
1177
|
+
"activity.timeline.analysis.provider and model are required when analysis is enabled"
|
|
1178
|
+
);
|
|
1179
|
+
}
|
|
1180
|
+
const timeoutMsValue = coerceNumber(analysis.timeoutMs, "activity.timeline.analysis.timeoutMs");
|
|
1181
|
+
if (analysis.timeoutMs !== void 0 && timeoutMsValue === void 0) {
|
|
1182
|
+
throw new TypeError("activity.timeline.analysis.timeoutMs must be a finite number");
|
|
1183
|
+
}
|
|
1184
|
+
const timeoutMs = timeoutMsValue ?? TIMELINE_ANALYSIS_DEFAULT_TIMEOUT_MS;
|
|
1185
|
+
if (!Number.isInteger(timeoutMs) || timeoutMs < 1e3 || timeoutMs > 12e4) {
|
|
1186
|
+
throw new RangeError("activity.timeline.analysis.timeoutMs must be an integer from 1000 to 120000");
|
|
1187
|
+
}
|
|
1188
|
+
if (analysis.preferences !== void 0) {
|
|
1189
|
+
if (!Array.isArray(analysis.preferences)) {
|
|
1190
|
+
throw new TypeError("activity.timeline.analysis.preferences must be an array of strings");
|
|
1191
|
+
}
|
|
1192
|
+
if (analysis.preferences.length > 16) {
|
|
1193
|
+
throw new RangeError("activity.timeline.analysis.preferences supports at most 16 entries");
|
|
1194
|
+
}
|
|
1195
|
+
for (const entry of analysis.preferences) {
|
|
1196
|
+
if (typeof entry !== "string" || entry.trim().length === 0) {
|
|
1197
|
+
throw new TypeError("activity.timeline.analysis.preferences entries must be non-empty strings");
|
|
1198
|
+
}
|
|
1199
|
+
if (entry.length > 200) {
|
|
1200
|
+
throw new RangeError("activity.timeline.analysis.preferences entries must be at most 200 characters");
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
const preferences = analysis.preferences;
|
|
1205
|
+
return {
|
|
1206
|
+
enabled,
|
|
1207
|
+
...provider === void 0 ? {} : { provider },
|
|
1208
|
+
...model === void 0 ? {} : { model },
|
|
1209
|
+
...analysis.timeoutMs !== void 0 || timeoutMsValue !== void 0 ? { timeoutMs } : {},
|
|
1210
|
+
...preferences === void 0 ? {} : { preferences }
|
|
1211
|
+
};
|
|
1212
|
+
}
|
|
1213
|
+
function parseTimelineVaultConfig(raw) {
|
|
1214
|
+
if (raw === void 0) return defaultVaultConfig();
|
|
1215
|
+
if (typeof raw !== "object" || raw === null || Array.isArray(raw)) {
|
|
1216
|
+
throw new TypeError("activity.timeline.vault must be an object");
|
|
1217
|
+
}
|
|
1218
|
+
const vault = raw;
|
|
1219
|
+
const enabled = requireBool(vault.enabled, "activity.timeline.vault.enabled", false);
|
|
1220
|
+
const createMissingNotes = requireBool(vault.createMissingNotes, "activity.timeline.vault.createMissingNotes", false);
|
|
1221
|
+
const autoPublish = requireBool(vault.autoPublish, "activity.timeline.vault.autoPublish", true);
|
|
1222
|
+
const vaultPath = optionalNonEmptyString(vault.vaultPath, "activity.timeline.vault.vaultPath") ?? "";
|
|
1223
|
+
const dailyNotePath = optionalNonEmptyString(vault.dailyNotePath, "activity.timeline.vault.dailyNotePath") ?? "{yyyy}-{MM}-{dd}.md";
|
|
1224
|
+
const weeklyNotePath = optionalNonEmptyString(vault.weeklyNotePath, "activity.timeline.vault.weeklyNotePath") ?? "";
|
|
1225
|
+
const noteTemplate = optionalNonEmptyString(vault.noteTemplate, "activity.timeline.vault.noteTemplate") ?? "";
|
|
1226
|
+
const insertUnderHeading = optionalNonEmptyString(vault.insertUnderHeading, "activity.timeline.vault.insertUnderHeading") ?? "";
|
|
1227
|
+
if (insertUnderHeading.length > 0) {
|
|
1228
|
+
const heading = normalizeJournalHeading(insertUnderHeading);
|
|
1229
|
+
if (!heading.ok || heading.heading !== insertUnderHeading) {
|
|
1230
|
+
throw new RangeError(
|
|
1231
|
+
"activity.timeline.vault.insertUnderHeading must be a non-empty trimmed single-line heading"
|
|
1232
|
+
);
|
|
1233
|
+
}
|
|
1234
|
+
if (!headingSurvivesRoundTrip(insertUnderHeading)) {
|
|
1235
|
+
throw new RangeError(
|
|
1236
|
+
"activity.timeline.vault.insertUnderHeading must survive a heading render-and-parse round trip"
|
|
1237
|
+
);
|
|
1238
|
+
}
|
|
1239
|
+
}
|
|
1240
|
+
if (typeof vault.sectionStrategy !== "undefined" && typeof vault.sectionStrategy !== "string") {
|
|
1241
|
+
throw new TypeError("activity.timeline.vault.sectionStrategy must be a string");
|
|
1242
|
+
}
|
|
1243
|
+
const sectionStrategy = vault.sectionStrategy ?? "markers";
|
|
1244
|
+
if (sectionStrategy !== "markers" && sectionStrategy !== "heading") {
|
|
1245
|
+
throw new RangeError('activity.timeline.vault.sectionStrategy must be one of "markers", "heading"');
|
|
1246
|
+
}
|
|
1247
|
+
const tildeRooted = vaultPath === "~" || vaultPath.startsWith("~/") || vaultPath.startsWith("~\\");
|
|
1248
|
+
if (enabled && (vaultPath.trim().length === 0 || !tildeRooted && !path3.isAbsolute(vaultPath))) {
|
|
1249
|
+
throw new RangeError(
|
|
1250
|
+
`activity.timeline.vault.vaultPath must be an absolute or \`~\`-rooted path when activity.timeline.vault.enabled is true; a relative path resolves against the process working directory (got ${JSON.stringify(vaultPath)})`
|
|
1251
|
+
);
|
|
1252
|
+
}
|
|
1253
|
+
try {
|
|
1254
|
+
validateVaultNoteTemplate(dailyNotePath);
|
|
1255
|
+
} catch (err) {
|
|
1256
|
+
throw new RangeError(`activity.timeline.vault.dailyNotePath: ${err.message}`);
|
|
1257
|
+
}
|
|
1258
|
+
if (weeklyNotePath.length > 0) {
|
|
1259
|
+
try {
|
|
1260
|
+
validateVaultNoteTemplate(weeklyNotePath);
|
|
1261
|
+
} catch (err) {
|
|
1262
|
+
throw new RangeError(`activity.timeline.vault.weeklyNotePath: ${err.message}`);
|
|
1263
|
+
}
|
|
1264
|
+
}
|
|
1265
|
+
if (createMissingNotes) {
|
|
1266
|
+
if (noteTemplate.length === 0) {
|
|
1267
|
+
throw new RangeError(
|
|
1268
|
+
"activity.timeline.vault.noteTemplate must name a vault-relative template file when activity.timeline.vault.createMissingNotes is true"
|
|
1269
|
+
);
|
|
1270
|
+
}
|
|
1271
|
+
try {
|
|
1272
|
+
validateVaultNoteTemplate(noteTemplate);
|
|
1273
|
+
} catch (err) {
|
|
1274
|
+
throw new RangeError(`activity.timeline.vault.noteTemplate: ${err.message}`);
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
const publish = parseVaultPublishBlock(vault.publish, weeklyNotePath);
|
|
1278
|
+
if (sectionStrategy === "heading") {
|
|
1279
|
+
for (const kind of ["timeline", "standup", "weekly", "locations"]) {
|
|
1280
|
+
if (!headingSurvivesRoundTrip(publish[kind].section)) {
|
|
1281
|
+
throw new RangeError(
|
|
1282
|
+
`activity.timeline.vault.publish.${kind}.section must survive a heading render-and-parse round trip`
|
|
1283
|
+
);
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
}
|
|
1287
|
+
const wikilinksRaw = vault.wikilinks;
|
|
1288
|
+
const wikilinks = wikilinksRaw === void 0 ? { places: false, placesFolder: "Places" } : parseVaultWikilinks(wikilinksRaw);
|
|
1289
|
+
const propertiesRaw = vault.properties;
|
|
1290
|
+
const properties = propertiesRaw === void 0 ? { mode: "off", prefix: "remnic_" } : parseVaultProperties(propertiesRaw);
|
|
1291
|
+
const readbackRaw = vault.readback;
|
|
1292
|
+
if (readbackRaw !== void 0 && (typeof readbackRaw !== "object" || readbackRaw === null || Array.isArray(readbackRaw))) {
|
|
1293
|
+
throw new TypeError("activity.timeline.vault.readback must be an object");
|
|
1294
|
+
}
|
|
1295
|
+
const readbackJournalSection = optionalNonEmptyString(
|
|
1296
|
+
readbackRaw?.journalSection,
|
|
1297
|
+
"activity.timeline.vault.readback.journalSection"
|
|
1298
|
+
);
|
|
1299
|
+
if (readbackJournalSection !== void 0 && readbackJournalSection.length > 0) {
|
|
1300
|
+
const heading = normalizeJournalHeading(readbackJournalSection);
|
|
1301
|
+
if (!heading.ok || heading.heading !== readbackJournalSection) {
|
|
1302
|
+
throw new RangeError(
|
|
1303
|
+
"activity.timeline.vault.readback.journalSection must be a non-empty trimmed single-line heading"
|
|
1304
|
+
);
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
const readback = {
|
|
1308
|
+
journalSection: readbackJournalSection ?? ""
|
|
1309
|
+
};
|
|
1310
|
+
return {
|
|
1311
|
+
enabled,
|
|
1312
|
+
vaultPath,
|
|
1313
|
+
dailyNotePath,
|
|
1314
|
+
weeklyNotePath,
|
|
1315
|
+
createMissingNotes,
|
|
1316
|
+
noteTemplate,
|
|
1317
|
+
sectionStrategy,
|
|
1318
|
+
publish,
|
|
1319
|
+
insertUnderHeading,
|
|
1320
|
+
readback,
|
|
1321
|
+
wikilinks,
|
|
1322
|
+
properties,
|
|
1323
|
+
autoPublish
|
|
1324
|
+
};
|
|
1325
|
+
}
|
|
1326
|
+
function defaultVaultConfig() {
|
|
1327
|
+
return {
|
|
1328
|
+
enabled: false,
|
|
1329
|
+
vaultPath: "",
|
|
1330
|
+
dailyNotePath: "{yyyy}-{MM}-{dd}.md",
|
|
1331
|
+
weeklyNotePath: "",
|
|
1332
|
+
createMissingNotes: false,
|
|
1333
|
+
noteTemplate: "",
|
|
1334
|
+
sectionStrategy: "markers",
|
|
1335
|
+
publish: {
|
|
1336
|
+
timeline: { enabled: true, target: "daily", section: "Timeline" },
|
|
1337
|
+
standup: { enabled: false, target: "daily", section: "Standup" },
|
|
1338
|
+
weekly: { enabled: false, target: "weekly", section: "Weekly Review" },
|
|
1339
|
+
locations: { enabled: false, target: "daily", section: "Locations" }
|
|
1340
|
+
},
|
|
1341
|
+
insertUnderHeading: "",
|
|
1342
|
+
wikilinks: { places: false, placesFolder: "Places" },
|
|
1343
|
+
properties: { mode: "off", prefix: "remnic_" },
|
|
1344
|
+
autoPublish: true,
|
|
1345
|
+
readback: { journalSection: "" }
|
|
1346
|
+
};
|
|
1347
|
+
}
|
|
1348
|
+
function requireBool(value, key, fallback) {
|
|
1349
|
+
const coerced = coerceBooleanLike(value, key);
|
|
1350
|
+
if (value === void 0) return fallback;
|
|
1351
|
+
if (coerced === void 0) {
|
|
1352
|
+
throw new TypeError(`${key} must be a boolean`);
|
|
1353
|
+
}
|
|
1354
|
+
return coerced;
|
|
1355
|
+
}
|
|
1356
|
+
function optionalNonEmptyString(value, key) {
|
|
1357
|
+
if (value === void 0) return void 0;
|
|
1358
|
+
if (typeof value !== "string") {
|
|
1359
|
+
throw new TypeError(`${key} must be a string`);
|
|
1360
|
+
}
|
|
1361
|
+
return value;
|
|
1362
|
+
}
|
|
1363
|
+
function parseVaultPublishBlock(raw, weeklyNotePath) {
|
|
1364
|
+
const defaults = defaultVaultConfig().publish;
|
|
1365
|
+
if (raw === void 0) return defaults;
|
|
1366
|
+
if (typeof raw !== "object" || raw === null || Array.isArray(raw)) {
|
|
1367
|
+
throw new TypeError("activity.timeline.vault.publish must be an object");
|
|
1368
|
+
}
|
|
1369
|
+
const block = raw;
|
|
1370
|
+
const publish = {
|
|
1371
|
+
timeline: parseVaultTarget(block.timeline, "timeline", defaults.timeline, weeklyNotePath),
|
|
1372
|
+
standup: parseVaultTarget(block.standup, "standup", defaults.standup, weeklyNotePath),
|
|
1373
|
+
weekly: parseVaultTarget(block.weekly, "weekly", defaults.weekly, weeklyNotePath),
|
|
1374
|
+
locations: parseVaultTarget(block.locations, "locations", defaults.locations, weeklyNotePath)
|
|
1375
|
+
};
|
|
1376
|
+
for (const targetFile of ["daily", "weekly"]) {
|
|
1377
|
+
const sections = ["timeline", "standup", "weekly", "locations"].filter((kind) => publish[kind].target === targetFile && publish[kind].enabled).map((kind) => publish[kind].section);
|
|
1378
|
+
const duplicates = sections.filter((section, index) => sections.indexOf(section) !== index);
|
|
1379
|
+
if (duplicates.length > 0) {
|
|
1380
|
+
throw new RangeError(
|
|
1381
|
+
`activity.timeline.vault.publish section names must be unique per target file; duplicate ${targetFile} section(s): ${[...new Set(duplicates)].join(", ")}`
|
|
1382
|
+
);
|
|
1383
|
+
}
|
|
1384
|
+
}
|
|
1385
|
+
return publish;
|
|
1386
|
+
}
|
|
1387
|
+
function parseVaultTarget(raw, kind, fallback, weeklyNotePath) {
|
|
1388
|
+
if (raw === void 0) return fallback;
|
|
1389
|
+
if (typeof raw !== "object" || raw === null || Array.isArray(raw)) {
|
|
1390
|
+
throw new TypeError(`activity.timeline.vault.publish.${kind} must be an object`);
|
|
1391
|
+
}
|
|
1392
|
+
const entry = raw;
|
|
1393
|
+
const enabled = requireBool(entry.enabled, `activity.timeline.vault.publish.${kind}.enabled`, fallback.enabled);
|
|
1394
|
+
const target = entry.target === void 0 ? fallback.target : entry.target;
|
|
1395
|
+
if (target !== "daily" && target !== "weekly") {
|
|
1396
|
+
throw new RangeError(`activity.timeline.vault.publish.${kind}.target must be one of "daily", "weekly"`);
|
|
1397
|
+
}
|
|
1398
|
+
const section = entry.section === void 0 ? fallback.section : entry.section;
|
|
1399
|
+
if (typeof section !== "string" || section.trim().length === 0 || section !== section.trim()) {
|
|
1400
|
+
throw new RangeError(`activity.timeline.vault.publish.${kind}.section must be a non-empty trimmed string`);
|
|
1401
|
+
}
|
|
1402
|
+
if (!validateRegionName(section).ok) {
|
|
1403
|
+
throw new RangeError(
|
|
1404
|
+
`activity.timeline.vault.publish.${kind}.section must not contain a line break or "-->"`
|
|
1405
|
+
);
|
|
1406
|
+
}
|
|
1407
|
+
if (enabled && target === "weekly" && weeklyNotePath.length === 0) {
|
|
1408
|
+
throw new RangeError(
|
|
1409
|
+
`activity.timeline.vault.publish.${kind}.target is "weekly" but activity.timeline.vault.weeklyNotePath is empty; configure weeklyNotePath first`
|
|
1410
|
+
);
|
|
1411
|
+
}
|
|
1412
|
+
return { enabled, target, section };
|
|
1413
|
+
}
|
|
1414
|
+
function parseVaultWikilinks(raw) {
|
|
1415
|
+
if (typeof raw !== "object" || raw === null || Array.isArray(raw)) {
|
|
1416
|
+
throw new TypeError("activity.timeline.vault.wikilinks must be an object");
|
|
1417
|
+
}
|
|
1418
|
+
const block = raw;
|
|
1419
|
+
const places = requireBool(block.places, "activity.timeline.vault.wikilinks.places", false);
|
|
1420
|
+
const placesFolder = optionalNonEmptyString(block.placesFolder, "activity.timeline.vault.wikilinks.placesFolder") ?? "Places";
|
|
1421
|
+
return { places, placesFolder };
|
|
1422
|
+
}
|
|
1423
|
+
function parseVaultProperties(raw) {
|
|
1424
|
+
if (typeof raw !== "object" || raw === null || Array.isArray(raw)) {
|
|
1425
|
+
throw new TypeError("activity.timeline.vault.properties must be an object");
|
|
1426
|
+
}
|
|
1427
|
+
const block = raw;
|
|
1428
|
+
const mode = block.mode === void 0 ? "off" : block.mode;
|
|
1429
|
+
if (mode !== "off" && mode !== "frontmatter" && mode !== "dataview-inline") {
|
|
1430
|
+
throw new RangeError(
|
|
1431
|
+
'activity.timeline.vault.properties.mode must be one of "off", "frontmatter", "dataview-inline"'
|
|
1432
|
+
);
|
|
1433
|
+
}
|
|
1434
|
+
const prefix = optionalNonEmptyString(block.prefix, "activity.timeline.vault.properties.prefix") ?? "remnic_";
|
|
1435
|
+
if (prefix.trim().length === 0 || prefix !== prefix.trim()) {
|
|
1436
|
+
throw new RangeError("activity.timeline.vault.properties.prefix must be non-empty and trimmed");
|
|
1437
|
+
}
|
|
1438
|
+
return { mode, prefix };
|
|
1439
|
+
}
|
|
1440
|
+
function parseTimelineJournalConfig(raw) {
|
|
1441
|
+
if (raw === void 0) return { enabled: false, source: "memoryDir", extractionMode: "off" };
|
|
1442
|
+
if (typeof raw !== "object" || raw === null || Array.isArray(raw)) {
|
|
1443
|
+
throw new TypeError("activity.timeline.journal must be an object");
|
|
1444
|
+
}
|
|
1445
|
+
const journal = raw;
|
|
1446
|
+
const enabledValue = coerceBooleanLike(journal.enabled, "activity.timeline.journal.enabled");
|
|
1447
|
+
if (journal.enabled !== void 0 && enabledValue === void 0) {
|
|
1448
|
+
throw new TypeError("activity.timeline.journal.enabled must be a boolean");
|
|
1449
|
+
}
|
|
1450
|
+
const source = journal.source === void 0 ? "memoryDir" : typeof journal.source === "string" ? journal.source : "";
|
|
1451
|
+
const resolved = resolveJournalSource({ source });
|
|
1452
|
+
if (!resolved.ok) {
|
|
1453
|
+
throw new RangeError('activity.timeline.journal.source must be one of "memoryDir", "vault"');
|
|
1454
|
+
}
|
|
1455
|
+
if (resolved.deprecatedAlias === "file") {
|
|
1456
|
+
process.emitWarning(
|
|
1457
|
+
'activity.timeline.journal.source "file" is deprecated; use "memoryDir".',
|
|
1458
|
+
{ type: "DeprecationWarning", code: "REMNIC_DEP_JOURNAL_SOURCE_FILE" }
|
|
1459
|
+
);
|
|
1460
|
+
}
|
|
1461
|
+
const extractionMode = journal.extractionMode === void 0 ? "off" : journal.extractionMode;
|
|
1462
|
+
if (extractionMode !== "off" && extractionMode !== "review") {
|
|
1463
|
+
throw new RangeError('activity.timeline.journal.extractionMode must be one of "off", "review"');
|
|
1464
|
+
}
|
|
1465
|
+
return { enabled: enabledValue ?? false, source: resolved.mode, extractionMode };
|
|
1466
|
+
}
|
|
1467
|
+
function parseTimelineQaConfig(raw) {
|
|
1468
|
+
if (raw === void 0) return { enabled: false, maxRangeDays: 31 };
|
|
1469
|
+
if (typeof raw !== "object" || raw === null || Array.isArray(raw)) {
|
|
1470
|
+
throw new TypeError("activity.timeline.qa must be an object");
|
|
1471
|
+
}
|
|
1472
|
+
const qa = raw;
|
|
1473
|
+
const enabledValue = coerceBooleanLike(qa.enabled, "activity.timeline.qa.enabled");
|
|
1474
|
+
if (qa.enabled !== void 0 && enabledValue === void 0) {
|
|
1475
|
+
throw new TypeError("activity.timeline.qa.enabled must be a boolean");
|
|
1476
|
+
}
|
|
1477
|
+
const maxRangeDaysValue = coerceNumber(qa.maxRangeDays, "activity.timeline.qa.maxRangeDays");
|
|
1478
|
+
if (qa.maxRangeDays !== void 0 && maxRangeDaysValue === void 0) {
|
|
1479
|
+
throw new TypeError("activity.timeline.qa.maxRangeDays must be an integer from 1 to 366");
|
|
1480
|
+
}
|
|
1481
|
+
const maxRangeDays = maxRangeDaysValue ?? 31;
|
|
1482
|
+
if (!Number.isInteger(maxRangeDays) || maxRangeDays < 1 || maxRangeDays > 366) {
|
|
1483
|
+
throw new RangeError("activity.timeline.qa.maxRangeDays must be an integer from 1 to 366");
|
|
1484
|
+
}
|
|
1485
|
+
return { enabled: enabledValue ?? false, maxRangeDays };
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
export {
|
|
1489
|
+
VAULT_JOURNAL_PREREQUISITES,
|
|
1490
|
+
checkVaultJournalPrerequisites,
|
|
1491
|
+
resolveJournalSource,
|
|
1492
|
+
VAULT_TEMPLATE_TOKENS,
|
|
1493
|
+
expandVaultTemplateTokens,
|
|
1494
|
+
validateVaultNoteTemplate,
|
|
1495
|
+
resolveVaultNotePath,
|
|
1496
|
+
applyManagedRegion,
|
|
1497
|
+
fileLines,
|
|
1498
|
+
parseAtxHeading,
|
|
1499
|
+
headingSurvivesRoundTrip,
|
|
1500
|
+
publishVaultRegion,
|
|
1501
|
+
validateRegionName,
|
|
1502
|
+
ANALYSIS_FAILURE_KINDS,
|
|
1503
|
+
isAnalysisFailureKind,
|
|
1504
|
+
classifyAnalysisFailure,
|
|
1505
|
+
TimelineAnalysisProviderError,
|
|
1506
|
+
TIMELINE_ANALYSIS_LOCAL_PROVIDER_ID,
|
|
1507
|
+
classifyAnalysisProviderError,
|
|
1508
|
+
timelineAnalysisCompleteFromClients,
|
|
1509
|
+
TIMELINE_RESERVED_UNKNOWN,
|
|
1510
|
+
TIMELINE_RESERVED_IDLE,
|
|
1511
|
+
TIMELINE_RESERVED_PAUSE,
|
|
1512
|
+
DEFAULT_TIMELINE_CATEGORIES,
|
|
1513
|
+
validateTimelineCategories,
|
|
1514
|
+
sortTimelineCategories,
|
|
1515
|
+
TIMELINE_ANALYSIS_PROMPT_VERSION,
|
|
1516
|
+
TIMELINE_ANALYSIS_BATCH_SIZE,
|
|
1517
|
+
TIMELINE_ANALYSIS_BATCH_OVERLAP,
|
|
1518
|
+
TIMELINE_ANALYSIS_DEFAULT_TIMEOUT_MS,
|
|
1519
|
+
TimelineAnalysisConfigError,
|
|
1520
|
+
buildTimelineAnalysisPrompt,
|
|
1521
|
+
analyzeTimelineCards,
|
|
1522
|
+
ANALYSIS_METADATA_MAX_FIELD_LENGTH,
|
|
1523
|
+
isAnalysisIdentifier,
|
|
1524
|
+
buildAnalysisRunMetadata,
|
|
1525
|
+
defaultActivityConfig,
|
|
1526
|
+
validateActivityBaseUrl,
|
|
1527
|
+
parseActivityConfig,
|
|
1528
|
+
parseTimelineVaultConfig
|
|
1529
|
+
};
|
|
1530
|
+
//# sourceMappingURL=chunk-QOPB6KE3.js.map
|