@remnic/core 9.23.3 → 9.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access-admin-ops-surface.d.ts +13 -10
- package/dist/access-admin-ops-surface.js +50 -46
- package/dist/access-boundary.d.ts +13 -10
- package/dist/access-boundary.js +50 -46
- package/dist/access-cli.js +125 -122
- package/dist/access-cli.js.map +1 -1
- package/dist/access-health-types.d.ts +54 -0
- package/dist/access-health-types.js +1 -0
- package/dist/access-health-types.js.map +1 -0
- package/dist/access-http.d.ts +14 -11
- package/dist/access-http.js +59 -55
- package/dist/access-identity-continuity-surface.d.ts +9 -8
- package/dist/access-identity-continuity-surface.js +50 -46
- package/dist/access-lcm-surface.d.ts +13 -10
- package/dist/access-lcm-surface.js +50 -46
- package/dist/access-mcp.d.ts +13 -10
- package/dist/access-mcp.js +55 -51
- package/dist/access-memory-search-fanout.d.ts +3 -2
- package/dist/{access-namespace-preflight-CmErR03h.d.ts → access-namespace-preflight-wRSZEO5V.d.ts} +1 -1
- package/dist/access-namespace-preflight.d.ts +4 -3
- package/dist/access-namespace-preflight.js +50 -46
- package/dist/access-observe-write-surface.d.ts +13 -10
- package/dist/access-observe-write-surface.js +50 -46
- package/dist/access-operations-batch.js +52 -48
- package/dist/access-operations.d.ts +17 -14
- package/dist/access-operations.js +54 -50
- package/dist/access-recall-concurrency.d.ts +13 -10
- package/dist/access-recall-concurrency.js +50 -46
- package/dist/access-recall-response.d.ts +13 -10
- package/dist/access-recall-response.js +50 -46
- package/dist/access-recall-surface.d.ts +13 -10
- package/dist/access-recall-surface.js +50 -46
- package/dist/access-schema.d.ts +86 -86
- package/dist/access-schema.js +8 -8
- package/dist/{access-service-CKEROeFP.d.ts → access-service-BlNKWBC9.d.ts} +11 -38
- package/dist/access-service.d.ts +15 -12
- package/dist/access-service.js +50 -46
- package/dist/access-surface-catalog.d.ts +13 -10
- package/dist/access-wearables-meetings-surface.d.ts +4 -3
- package/dist/action-confidence.d.ts +2 -1
- package/dist/active-memory-bridge.d.ts +2 -1
- package/dist/active-recall.d.ts +2 -1
- package/dist/active-recall.js +3 -2
- package/dist/active-recall.js.map +1 -1
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/behavior-learner.d.ts +2 -1
- package/dist/behavior-signals.d.ts +2 -1
- package/dist/bootstrap.d.ts +9 -8
- package/dist/briefing.d.ts +3 -2
- package/dist/briefing.js +14 -14
- package/dist/buffer-surprise-report.d.ts +2 -1
- package/dist/buffer.d.ts +6 -2
- package/dist/buffer.js +1 -1
- package/dist/bulk-import/index.d.ts +4 -3
- package/dist/calibration.d.ts +2 -1
- package/dist/capabilities.d.ts +2 -1
- package/dist/{catalog-BFTVo2Ez.d.ts → catalog-BLLxZ5L5.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +2 -1
- package/dist/causal-consolidation.d.ts +2 -1
- package/dist/causal-consolidation.js +15 -15
- package/dist/causal-trajectory-graph.d.ts +2 -1
- package/dist/{chunk-P2BLHUL2.js → chunk-2NAFR36N.js} +5 -5
- package/dist/{chunk-WMLHJ5UW.js → chunk-2WSX7U2N.js} +2 -2
- package/dist/{chunk-E3ZMFFQZ.js → chunk-3FLPLDIL.js} +2 -2
- package/dist/chunk-443XCR34.js +213 -0
- package/dist/chunk-443XCR34.js.map +1 -0
- package/dist/{chunk-JNIJBXVK.js → chunk-4KAIGQVU.js} +2 -2
- package/dist/{chunk-354T54RR.js → chunk-4TFIRMTE.js} +28 -1
- package/dist/chunk-4TFIRMTE.js.map +1 -0
- package/dist/{chunk-XWPFZX6S.js → chunk-7CP7SO32.js} +108 -37
- package/dist/chunk-7CP7SO32.js.map +1 -0
- package/dist/{chunk-XGEFGNL5.js → chunk-7IECFM4E.js} +18 -10
- package/dist/chunk-7IECFM4E.js.map +1 -0
- package/dist/{chunk-ZN4UZWMT.js → chunk-A5N6ISRK.js} +2 -2
- package/dist/{chunk-XKGPIWGI.js → chunk-AVPXXV6J.js} +4 -4
- package/dist/{chunk-4PQ4KLLK.js → chunk-BHKDCWGH.js} +9 -9
- package/dist/{chunk-5CPI2QWG.js → chunk-CSXHRAJJ.js} +3 -3
- package/dist/{chunk-QCKQEBIY.js → chunk-DFTCJVXI.js} +6 -6
- package/dist/{chunk-QE63OHLB.js → chunk-ECG64R7B.js} +5 -5
- package/dist/{chunk-ATEAL5EI.js → chunk-EFYACT2X.js} +2 -2
- package/dist/{chunk-YNDLCWXS.js → chunk-EZ25VE3G.js} +4 -4
- package/dist/{chunk-UGH6VPPO.js → chunk-FHH6R3QI.js} +2 -2
- package/dist/{chunk-WZVIB5BK.js → chunk-GCKIDUHE.js} +69 -53
- package/dist/chunk-GCKIDUHE.js.map +1 -0
- package/dist/{chunk-MAXVH44E.js → chunk-GF22HWS2.js} +10 -10
- package/dist/{chunk-ZYU7ZFLT.js → chunk-GJJBPI6I.js} +5 -1
- package/dist/chunk-GJJBPI6I.js.map +1 -0
- package/dist/{chunk-AU7Q3LSC.js → chunk-JBPKEARU.js} +4 -4
- package/dist/{chunk-IPLYGWQF.js → chunk-KQAFEZQX.js} +5 -5
- package/dist/{chunk-CUUY5CC4.js → chunk-L7DTBRTI.js} +2 -2
- package/dist/{chunk-AYAROCWD.js → chunk-LLISELSY.js} +2 -2
- package/dist/{chunk-MMTG3SCJ.js → chunk-M5EPMNS4.js} +2 -2
- package/dist/{chunk-HSSIWAZP.js → chunk-M6ZJR6HU.js} +140 -124
- package/dist/{chunk-HSSIWAZP.js.map → chunk-M6ZJR6HU.js.map} +1 -1
- package/dist/{chunk-WWZ35GWW.js → chunk-MX4TUDMB.js} +2 -2
- package/dist/{chunk-SVZGA2MK.js → chunk-NHPROHJD.js} +2 -2
- package/dist/{chunk-6TWXQ4E2.js → chunk-NM7SKDZM.js} +2 -2
- package/dist/chunk-NQ7E27HN.js +261 -0
- package/dist/chunk-NQ7E27HN.js.map +1 -0
- package/dist/{chunk-QJAQNXWI.js → chunk-ONHRRJZM.js} +6 -6
- package/dist/{chunk-V2XVMCP6.js → chunk-P25IPRXP.js} +7 -7
- package/dist/{chunk-KXGE7L62.js → chunk-RENY3AIW.js} +67 -67
- package/dist/chunk-RENY3AIW.js.map +1 -0
- package/dist/{chunk-3L5O7SMT.js → chunk-SGMORUEU.js} +3 -3
- package/dist/{chunk-3ZW6ZQO6.js → chunk-TBJV4BZE.js} +13 -13
- package/dist/{chunk-7I7AYIUQ.js → chunk-TGHUJC64.js} +5 -5
- package/dist/{chunk-SCOT5DTA.js → chunk-V25OWXAC.js} +1 -1
- package/dist/chunk-V25OWXAC.js.map +1 -0
- package/dist/{chunk-DLKRXYRL.js → chunk-V4MAO2Y4.js} +15 -15
- package/dist/{chunk-5FZQ74K5.js → chunk-WMR5WPZU.js} +2 -2
- package/dist/{chunk-M6LJXJ3J.js → chunk-WNSQOXWS.js} +6 -6
- package/dist/{chunk-KNB7IBBU.js → chunk-WO7KBATL.js} +4 -4
- package/dist/{chunk-3NAHZQU3.js → chunk-X3SQYAPP.js} +2 -2
- package/dist/{chunk-3UOSVTFR.js → chunk-XBRPEGXF.js} +5 -5
- package/dist/{chunk-GD3QOBMB.js → chunk-XHYCPA5C.js} +2 -2
- package/dist/{chunk-ES5IHQ6M.js → chunk-Z3B4V4YI.js} +5 -5
- package/dist/chunk-ZLNOX7B2.js +60 -0
- package/dist/chunk-ZLNOX7B2.js.map +1 -0
- package/dist/{cli-BrwT9YMD.d.ts → cli-Zc6UclD1.d.ts} +5 -5
- package/dist/cli.d.ts +15 -12
- package/dist/cli.js +85 -82
- package/dist/compounding/engine.d.ts +3 -2
- package/dist/compounding/engine.js +14 -14
- package/dist/compounding/preference-consolidator.d.ts +2 -1
- package/dist/compression-optimizer.d.ts +2 -1
- package/dist/config.d.ts +2 -1
- package/dist/config.js +3 -2
- package/dist/connectors/codex-materialize-runner.d.ts +2 -1
- package/dist/connectors/codex-materialize-runner.js +14 -14
- package/dist/connectors/codex-materialize.d.ts +2 -1
- package/dist/connectors/index.d.ts +2 -1
- package/dist/connectors/index.js +17 -17
- package/dist/consolidation-provenance-check.d.ts +3 -2
- package/dist/consolidation-undo.d.ts +3 -2
- package/dist/contradiction/index.d.ts +3 -2
- package/dist/conversation-index/backend.d.ts +2 -1
- package/dist/conversation-index/chunker.d.ts +2 -1
- package/dist/conversation-index/faiss-adapter.d.ts +2 -1
- package/dist/conversation-index/indexer.d.ts +2 -1
- package/dist/conversation-index/search.d.ts +2 -1
- package/dist/corpus-watermark.d.ts +228 -0
- package/dist/corpus-watermark.js +106 -0
- package/dist/corpus-watermark.js.map +1 -0
- package/dist/dashboard-runtime.js +2 -2
- package/dist/day-summary.d.ts +2 -1
- package/dist/delinearize.d.ts +2 -1
- package/dist/direct-answer-wiring.d.ts +2 -1
- package/dist/direct-answer.d.ts +2 -1
- package/dist/embedding-fallback.d.ts +2 -1
- package/dist/enrichment/index.d.ts +2 -1
- package/dist/entity-retrieval.d.ts +3 -2
- package/dist/entity-retrieval.js +14 -14
- package/dist/entity-schema.d.ts +2 -1
- package/dist/explicit-capture.d.ts +9 -8
- package/dist/extraction-error-classification.d.ts +2 -1
- package/dist/extraction-faithfulness.d.ts +2 -1
- package/dist/extraction-judge-telemetry.d.ts +2 -1
- package/dist/extraction-judge-training.d.ts +2 -1
- package/dist/extraction-judge.d.ts +2 -1
- package/dist/extraction-liveness.d.ts +5 -0
- package/dist/extraction-liveness.js +26 -0
- package/dist/extraction-liveness.js.map +1 -0
- package/dist/extraction.d.ts +2 -1
- package/dist/extraction.js +1 -1
- package/dist/fallback-llm.d.ts +2 -1
- package/dist/graph-dashboard-diff.d.ts +2 -1
- package/dist/graph-dashboard-key.d.ts +2 -1
- package/dist/graph-dashboard-parser.d.ts +2 -1
- package/dist/graph-edge-reinforcement.d.ts +2 -1
- package/dist/graph-snapshot.d.ts +2 -1
- package/dist/graph.d.ts +2 -1
- package/dist/importance.d.ts +2 -1
- package/dist/importers/index.d.ts +2 -1
- package/dist/in-flight-reads.d.ts +2 -1
- package/dist/index.d.ts +427 -424
- package/dist/index.js +212 -209
- package/dist/intent.d.ts +2 -1
- package/dist/lcm/engine.d.ts +2 -1
- package/dist/lcm/engine.js +4 -4
- package/dist/lcm/index.d.ts +2 -1
- package/dist/lcm/index.js +12 -12
- package/dist/lcm/tools.d.ts +2 -1
- package/dist/lifecycle.d.ts +2 -1
- package/dist/live-connectors-runner.d.ts +2 -1
- package/dist/local-llm.d.ts +2 -1
- package/dist/local-model-endpoint.d.ts +2 -1
- package/dist/maintenance/memory-governance.d.ts +2 -1
- package/dist/maintenance/memory-governance.js +14 -14
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +3 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +14 -14
- package/dist/maintenance/rebuild-memory-projection.d.ts +3 -2
- package/dist/maintenance/rebuild-memory-projection.js +15 -15
- package/dist/{maintenance-C98njYb8.d.ts → maintenance-DD22oIx9.d.ts} +3 -3
- package/dist/mcp-memory-inspector-app.d.ts +13 -10
- package/dist/memory-action-policy.d.ts +2 -1
- package/dist/memory-cache.d.ts +2 -1
- package/dist/memory-lifecycle-ledger-utils.d.ts +2 -1
- package/dist/memory-projection-store.d.ts +2 -1
- package/dist/memory-provenance.d.ts +2 -1
- package/dist/memory-worth-outcomes.d.ts +3 -2
- package/dist/models-json.d.ts +2 -1
- package/dist/namespaces/migrate.d.ts +4 -3
- package/dist/namespaces/migrate.js +21 -21
- package/dist/namespaces/principal.d.ts +2 -1
- package/dist/namespaces/search.d.ts +2 -1
- package/dist/namespaces/search.js +6 -6
- package/dist/namespaces/storage.d.ts +4 -3
- package/dist/namespaces/storage.js +14 -14
- package/dist/native-knowledge.d.ts +2 -1
- package/dist/offline-sync-impression-drain.d.ts +2 -1
- package/dist/offline-sync-impression-drain.js +4 -4
- package/dist/operator-doctor-corpus.d.ts +31 -0
- package/dist/operator-doctor-corpus.js +91 -0
- package/dist/operator-doctor-corpus.js.map +1 -0
- package/dist/operator-doctor-types.d.ts +22 -0
- package/dist/operator-doctor-types.js +1 -0
- package/dist/operator-doctor-types.js.map +1 -0
- package/dist/operator-toolkit.d.ts +10 -13
- package/dist/operator-toolkit.js +35 -29
- package/dist/orchestration/compression-guideline-coordinator.d.ts +3 -2
- package/dist/orchestration/maintenance.d.ts +5 -4
- package/dist/orchestration/maintenance.js +20 -20
- package/dist/{orchestrator-C9ZVppNh.d.ts → orchestrator-BTGgoKli.d.ts} +7 -7
- package/dist/orchestrator.d.ts +9 -8
- package/dist/orchestrator.js +123 -120
- package/dist/patterns-cli.d.ts +2 -1
- package/dist/{pipeline-id_-sqYm.d.ts → pipeline-Bq5zU6Bp.d.ts} +1 -1
- package/dist/policy-runtime.d.ts +2 -1
- package/dist/proactive-contention.d.ts +2 -1
- package/dist/provenance.d.ts +2 -1
- package/dist/{qmd-R6XaQOZK.d.ts → qmd-3ILJkC70.d.ts} +1 -1
- package/dist/qmd-preflight.d.ts +3 -2
- package/dist/qmd-recall-cache.d.ts +2 -1
- package/dist/qmd.d.ts +3 -2
- package/dist/qmd.js +4 -4
- package/dist/recall-concurrency-config.d.ts +2 -1
- package/dist/recall-disclosure-escalation.d.ts +2 -1
- package/dist/recall-explain-renderer.d.ts +2 -1
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-memory-map.d.ts +2 -1
- package/dist/recall-planner-llm.d.ts +2 -1
- package/dist/recall-state.d.ts +2 -1
- package/dist/recall-tag-filter.d.ts +2 -1
- package/dist/recall-timings.d.ts +2 -1
- package/dist/recall-xray-cli.d.ts +2 -1
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.d.ts +2 -1
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.d.ts +2 -1
- package/dist/recall-xray.js +2 -2
- package/dist/replay/normalizers/chatgpt.d.ts +2 -1
- package/dist/replay/normalizers/claude.d.ts +2 -1
- package/dist/replay/normalizers/openclaw.d.ts +2 -1
- package/dist/replay/normalizers/shared.d.ts +2 -1
- package/dist/replay/runner.d.ts +2 -1
- package/dist/replay/types.d.ts +2 -1
- package/dist/resolve-auth-token.d.ts +2 -1
- package/dist/resume-bundles.js +5 -4
- package/dist/retrieval-agents.d.ts +3 -2
- package/dist/retrieval-tiers.d.ts +2 -1
- package/dist/routing/engine.d.ts +2 -1
- package/dist/routing/store.d.ts +2 -1
- package/dist/salvage-envelope.d.ts +2 -1
- package/dist/schemas.d.ts +76 -76
- package/dist/{scope-profiles-EhyuAKkd.d.ts → scope-profiles-D0-ff4xT.d.ts} +1 -1
- package/dist/search/embed-helper.d.ts +2 -1
- package/dist/search/factory.d.ts +2 -1
- package/dist/search/factory.js +5 -5
- package/dist/search/index.d.ts +2 -1
- package/dist/search/index.js +9 -9
- package/dist/search/lancedb-backend.d.ts +2 -1
- package/dist/search/meilisearch-backend.d.ts +2 -1
- package/dist/search/noop-backend.d.ts +2 -1
- package/dist/search/orama-backend.d.ts +2 -1
- package/dist/search/port.d.ts +2 -1
- package/dist/search/remote-backend.d.ts +2 -1
- package/dist/{semantic-consolidation-B2xo26UQ.d.ts → semantic-consolidation-4Tfh7c1g.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +3 -2
- package/dist/semantic-consolidation.js +15 -15
- package/dist/semantic-rule-promotion.js +14 -14
- package/dist/semantic-rule-verifier.d.ts +2 -1
- package/dist/semantic-rule-verifier.js +14 -14
- package/dist/{service-DgFWlZ-r.d.ts → service-Z8uzoAST.d.ts} +2 -2
- package/dist/session-observer-bands.d.ts +2 -1
- package/dist/session-observer-state.d.ts +2 -1
- package/dist/shared-context/manager.d.ts +10 -9
- package/dist/signal.d.ts +2 -1
- package/dist/{storage-XGawwqXE.d.ts → storage-BZVMn8yJ.d.ts} +25 -2
- package/dist/storage.d.ts +3 -2
- package/dist/storage.js +13 -13
- package/dist/summarizer.d.ts +2 -1
- package/dist/summary-snapshot.d.ts +2 -1
- package/dist/temporal-supersession.d.ts +3 -2
- package/dist/temporal-timeline-recall.d.ts +2 -1
- package/dist/temporal-validity.d.ts +2 -1
- package/dist/threading.d.ts +2 -1
- package/dist/tier-migration.d.ts +3 -2
- package/dist/tier-routing.d.ts +2 -1
- package/dist/tokens.js +2 -2
- package/dist/topics.d.ts +2 -1
- package/dist/transcript.d.ts +2 -1
- package/dist/transfer/autodetect.js +1 -1
- package/dist/transfer/backup.js +3 -3
- package/dist/transfer/capsule-export.js +4 -4
- package/dist/transfer/capsule-import.js +1 -1
- package/dist/transfer/types.d.ts +66 -66
- package/dist/trust-score-stage.d.ts +2 -1
- package/dist/trust-score.d.ts +2 -1
- package/dist/{types-Bbs0qz6b.d.ts → types-DHBxIF0s.d.ts} +181 -5
- package/dist/types.d.ts +2 -1
- package/dist/types.js +1 -1
- package/dist/utility-runtime.d.ts +2 -1
- package/dist/verified-recall.js +14 -14
- package/dist/write-envelope.d.ts +2 -1
- package/package.json +12 -2
- package/src/access-health-types.ts +51 -0
- package/src/access-http.test.ts +22 -2
- package/src/access-service-health.test.ts +212 -0
- package/src/access-service.ts +14 -37
- package/src/buffer.ts +30 -0
- package/src/cli.ts +2 -4
- package/src/config.ts +4 -4
- package/src/corpus-watermark.test.ts +840 -0
- package/src/corpus-watermark.ts +531 -0
- package/src/extraction-liveness.test.ts +461 -0
- package/src/extraction-liveness.ts +462 -0
- package/src/operator-doctor-corpus.test.ts +171 -0
- package/src/operator-doctor-corpus.ts +95 -0
- package/src/operator-doctor-types.ts +20 -0
- package/src/operator-toolkit.ts +12 -13
- package/src/recall/archive-scoring.ts +18 -0
- package/src/storage/memory-read-store.ts +91 -22
- package/src/storage.ts +27 -2
- package/src/types.ts +4 -4
- package/dist/chunk-354T54RR.js.map +0 -1
- package/dist/chunk-KXGE7L62.js.map +0 -1
- package/dist/chunk-SCOT5DTA.js.map +0 -1
- package/dist/chunk-WZVIB5BK.js.map +0 -1
- package/dist/chunk-XGEFGNL5.js.map +0 -1
- package/dist/chunk-XWPFZX6S.js.map +0 -1
- package/dist/chunk-ZYU7ZFLT.js.map +0 -1
- /package/dist/{chunk-P2BLHUL2.js.map → chunk-2NAFR36N.js.map} +0 -0
- /package/dist/{chunk-WMLHJ5UW.js.map → chunk-2WSX7U2N.js.map} +0 -0
- /package/dist/{chunk-E3ZMFFQZ.js.map → chunk-3FLPLDIL.js.map} +0 -0
- /package/dist/{chunk-JNIJBXVK.js.map → chunk-4KAIGQVU.js.map} +0 -0
- /package/dist/{chunk-ZN4UZWMT.js.map → chunk-A5N6ISRK.js.map} +0 -0
- /package/dist/{chunk-XKGPIWGI.js.map → chunk-AVPXXV6J.js.map} +0 -0
- /package/dist/{chunk-4PQ4KLLK.js.map → chunk-BHKDCWGH.js.map} +0 -0
- /package/dist/{chunk-5CPI2QWG.js.map → chunk-CSXHRAJJ.js.map} +0 -0
- /package/dist/{chunk-QCKQEBIY.js.map → chunk-DFTCJVXI.js.map} +0 -0
- /package/dist/{chunk-QE63OHLB.js.map → chunk-ECG64R7B.js.map} +0 -0
- /package/dist/{chunk-ATEAL5EI.js.map → chunk-EFYACT2X.js.map} +0 -0
- /package/dist/{chunk-YNDLCWXS.js.map → chunk-EZ25VE3G.js.map} +0 -0
- /package/dist/{chunk-UGH6VPPO.js.map → chunk-FHH6R3QI.js.map} +0 -0
- /package/dist/{chunk-MAXVH44E.js.map → chunk-GF22HWS2.js.map} +0 -0
- /package/dist/{chunk-AU7Q3LSC.js.map → chunk-JBPKEARU.js.map} +0 -0
- /package/dist/{chunk-IPLYGWQF.js.map → chunk-KQAFEZQX.js.map} +0 -0
- /package/dist/{chunk-CUUY5CC4.js.map → chunk-L7DTBRTI.js.map} +0 -0
- /package/dist/{chunk-AYAROCWD.js.map → chunk-LLISELSY.js.map} +0 -0
- /package/dist/{chunk-MMTG3SCJ.js.map → chunk-M5EPMNS4.js.map} +0 -0
- /package/dist/{chunk-WWZ35GWW.js.map → chunk-MX4TUDMB.js.map} +0 -0
- /package/dist/{chunk-SVZGA2MK.js.map → chunk-NHPROHJD.js.map} +0 -0
- /package/dist/{chunk-6TWXQ4E2.js.map → chunk-NM7SKDZM.js.map} +0 -0
- /package/dist/{chunk-QJAQNXWI.js.map → chunk-ONHRRJZM.js.map} +0 -0
- /package/dist/{chunk-V2XVMCP6.js.map → chunk-P25IPRXP.js.map} +0 -0
- /package/dist/{chunk-3L5O7SMT.js.map → chunk-SGMORUEU.js.map} +0 -0
- /package/dist/{chunk-3ZW6ZQO6.js.map → chunk-TBJV4BZE.js.map} +0 -0
- /package/dist/{chunk-7I7AYIUQ.js.map → chunk-TGHUJC64.js.map} +0 -0
- /package/dist/{chunk-DLKRXYRL.js.map → chunk-V4MAO2Y4.js.map} +0 -0
- /package/dist/{chunk-5FZQ74K5.js.map → chunk-WMR5WPZU.js.map} +0 -0
- /package/dist/{chunk-M6LJXJ3J.js.map → chunk-WNSQOXWS.js.map} +0 -0
- /package/dist/{chunk-KNB7IBBU.js.map → chunk-WO7KBATL.js.map} +0 -0
- /package/dist/{chunk-3NAHZQU3.js.map → chunk-X3SQYAPP.js.map} +0 -0
- /package/dist/{chunk-3UOSVTFR.js.map → chunk-XBRPEGXF.js.map} +0 -0
- /package/dist/{chunk-GD3QOBMB.js.map → chunk-XHYCPA5C.js.map} +0 -0
- /package/dist/{chunk-ES5IHQ6M.js.map → chunk-Z3B4V4YI.js.map} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AdapterRegistry
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-42NQ7AVG.js";
|
|
3
|
+
} from "../chunk-JBPKEARU.js";
|
|
5
4
|
import "../chunk-TMSXWOBZ.js";
|
|
6
5
|
import "../chunk-J64TK33U.js";
|
|
7
6
|
import "../chunk-RSUYKGGZ.js";
|
|
7
|
+
import "../chunk-42NQ7AVG.js";
|
|
8
8
|
import "../chunk-7RXCMVFQ.js";
|
|
9
9
|
import "../chunk-PZ5AY32C.js";
|
|
10
10
|
export {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a1 as BehaviorSignalEvent, P as PluginConfig, r as BehaviorLoopPolicyState } from './types-DHBxIF0s.js';
|
|
2
2
|
import './message-parts/index.js';
|
|
3
3
|
import './bounded-jsonl-state.js';
|
|
4
|
+
import './operator-doctor-types.js';
|
|
4
5
|
import './types-continuity.js';
|
|
5
6
|
|
|
6
7
|
declare const TUNABLE_BEHAVIOR_PARAMETERS: readonly ["recencyWeight", "lifecyclePromoteHeatThreshold", "lifecycleStaleDecayThreshold", "cronRecallInstructionHeavyTokenCap"];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as MemoryCategory, a1 as BehaviorSignalEvent } from './types-DHBxIF0s.js';
|
|
2
2
|
import './message-parts/index.js';
|
|
3
3
|
import './bounded-jsonl-state.js';
|
|
4
|
+
import './operator-doctor-types.js';
|
|
4
5
|
import './types-continuity.js';
|
|
5
6
|
|
|
6
7
|
declare function buildBehaviorSignalHash(category: MemoryCategory, content: string): string;
|
package/dist/bootstrap.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { P as PluginConfig } from './types-
|
|
2
|
-
import { O as Orchestrator } from './orchestrator-
|
|
1
|
+
import { P as PluginConfig } from './types-DHBxIF0s.js';
|
|
2
|
+
import { O as Orchestrator } from './orchestrator-BTGgoKli.js';
|
|
3
3
|
import './message-parts/index.js';
|
|
4
4
|
import './bounded-jsonl-state.js';
|
|
5
|
+
import './operator-doctor-types.js';
|
|
5
6
|
import './types-continuity.js';
|
|
6
7
|
import './recall-state.js';
|
|
7
8
|
import './utils/serialize-mutations.js';
|
|
8
9
|
import './search/port.js';
|
|
9
10
|
import './briefing.js';
|
|
10
|
-
import './storage-
|
|
11
|
+
import './storage-BZVMn8yJ.js';
|
|
11
12
|
import './page-versioning.js';
|
|
12
13
|
import './consolidation-operator.js';
|
|
13
14
|
import './memory-projection-store.js';
|
|
@@ -25,8 +26,8 @@ import './resolve-provider-secret.js';
|
|
|
25
26
|
import './transcript.js';
|
|
26
27
|
import './session-integrity.js';
|
|
27
28
|
import './summarizer.js';
|
|
28
|
-
import './maintenance-
|
|
29
|
-
import './catalog-
|
|
29
|
+
import './maintenance-DD22oIx9.js';
|
|
30
|
+
import './catalog-BLLxZ5L5.js';
|
|
30
31
|
import './namespaces/search.js';
|
|
31
32
|
import './compounding/engine.js';
|
|
32
33
|
import './shared-context/manager.js';
|
|
@@ -36,7 +37,7 @@ import './utility-runtime.js';
|
|
|
36
37
|
import './tier-routing.js';
|
|
37
38
|
import './lifecycle.js';
|
|
38
39
|
import './orchestration/compression-guideline-coordinator.js';
|
|
39
|
-
import './semantic-consolidation-
|
|
40
|
+
import './semantic-consolidation-4Tfh7c1g.js';
|
|
40
41
|
import './connectors/codex-materialize.js';
|
|
41
42
|
import './logger.js';
|
|
42
43
|
import './embedding-fallback.js';
|
|
@@ -62,7 +63,7 @@ import './faiss-adapter-BHecI1fF.js';
|
|
|
62
63
|
import './runtime/child-process.js';
|
|
63
64
|
import './namespaces/storage.js';
|
|
64
65
|
import './threading.js';
|
|
65
|
-
import './scope-profiles-
|
|
66
|
+
import './scope-profiles-D0-ff4xT.js';
|
|
66
67
|
import './graph.js';
|
|
67
68
|
import './recall-xray.js';
|
|
68
69
|
import './memory-provenance.js';
|
|
@@ -74,7 +75,7 @@ import './negative.js';
|
|
|
74
75
|
import './session-observer-state.js';
|
|
75
76
|
import './semantic-TddhF0y7.js';
|
|
76
77
|
import './replay/types.js';
|
|
77
|
-
import './service-
|
|
78
|
+
import './service-Z8uzoAST.js';
|
|
78
79
|
import './extraction-judge.js';
|
|
79
80
|
import './lcm/engine.js';
|
|
80
81
|
import './lcm/archive.js';
|
package/dist/briefing.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as StorageManager } from './storage-
|
|
2
|
-
import { B as BriefingSections,
|
|
1
|
+
import { S as StorageManager } from './storage-BZVMn8yJ.js';
|
|
2
|
+
import { B as BriefingSections, d as BriefingFollowup, e as BriefingFocus, C as CalendarSource, f as CalendarEvent, M as MemoryFile, g as BriefingActiveThread, h as BriefingResult, E as EntityFile, i as BriefingRecentEntity } from './types-DHBxIF0s.js';
|
|
3
3
|
import './page-versioning.js';
|
|
4
4
|
import './consolidation-operator.js';
|
|
5
5
|
import './memory-projection-store.js';
|
|
@@ -11,6 +11,7 @@ import './structured-attributes.js';
|
|
|
11
11
|
import './types-continuity.js';
|
|
12
12
|
import './message-parts/index.js';
|
|
13
13
|
import './bounded-jsonl-state.js';
|
|
14
|
+
import './operator-doctor-types.js';
|
|
14
15
|
|
|
15
16
|
/**
|
|
16
17
|
* Daily Context Briefing (Issue #370)
|
package/dist/briefing.js
CHANGED
|
@@ -17,53 +17,53 @@ import {
|
|
|
17
17
|
renderBriefingMarkdown,
|
|
18
18
|
resolveBriefingSaveDir,
|
|
19
19
|
validateBriefingFormat
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-2QMKMVHH.js";
|
|
20
|
+
} from "./chunk-4KAIGQVU.js";
|
|
21
|
+
import "./chunk-7CP7SO32.js";
|
|
23
22
|
import "./chunk-UHVXE24Y.js";
|
|
23
|
+
import "./chunk-2QMKMVHH.js";
|
|
24
24
|
import "./chunk-DEBHXHJR.js";
|
|
25
25
|
import "./chunk-DNHVPZOD.js";
|
|
26
26
|
import "./chunk-6CIAGZ6X.js";
|
|
27
27
|
import "./chunk-J6A3CX5N.js";
|
|
28
28
|
import "./chunk-HKF5VASQ.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-V25OWXAC.js";
|
|
30
|
+
import "./chunk-AVPXXV6J.js";
|
|
31
31
|
import "./chunk-EGGE52UU.js";
|
|
32
32
|
import "./chunk-GCASGYIO.js";
|
|
33
33
|
import "./chunk-WL5EBRDH.js";
|
|
34
|
-
import "./chunk-ILGC6JH6.js";
|
|
35
34
|
import "./chunk-SCU65EZI.js";
|
|
36
35
|
import "./chunk-3CSX3ETE.js";
|
|
37
36
|
import "./chunk-RL6NEVXT.js";
|
|
38
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-ILGC6JH6.js";
|
|
39
38
|
import "./chunk-DM2T26WE.js";
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-AAD2ZS6P.js";
|
|
39
|
+
import "./chunk-LDXUBPMO.js";
|
|
42
40
|
import "./chunk-CGASUJVP.js";
|
|
43
41
|
import "./chunk-R3DJVOSM.js";
|
|
44
42
|
import "./chunk-BT7NVCML.js";
|
|
43
|
+
import "./chunk-JYIJNNN3.js";
|
|
44
|
+
import "./chunk-AAD2ZS6P.js";
|
|
45
|
+
import "./chunk-W5H6ZRPT.js";
|
|
45
46
|
import "./chunk-G7D6GZ5J.js";
|
|
46
47
|
import "./chunk-5VQJBH2G.js";
|
|
47
48
|
import "./chunk-AITCS2RC.js";
|
|
48
49
|
import "./chunk-XMMESCPD.js";
|
|
49
50
|
import "./chunk-42JKGUFJ.js";
|
|
50
51
|
import "./chunk-PDJTHRAW.js";
|
|
51
|
-
import "./chunk-W5H6ZRPT.js";
|
|
52
52
|
import "./chunk-C23BYTJV.js";
|
|
53
53
|
import "./chunk-QIEUU4UK.js";
|
|
54
54
|
import "./chunk-L2EXJQJP.js";
|
|
55
55
|
import "./chunk-45GF7Y3V.js";
|
|
56
56
|
import "./chunk-RGMVMVMF.js";
|
|
57
57
|
import "./chunk-N7RWREIQ.js";
|
|
58
|
-
import "./chunk-BJMBJZ2Y.js";
|
|
59
|
-
import "./chunk-UKJAGEXH.js";
|
|
60
|
-
import "./chunk-FP2373TW.js";
|
|
61
58
|
import "./chunk-5I4M26Q7.js";
|
|
62
|
-
import "./chunk-4DJQYKMN.js";
|
|
63
59
|
import "./chunk-5GKPFL3S.js";
|
|
60
|
+
import "./chunk-4DJQYKMN.js";
|
|
64
61
|
import "./chunk-PQVCH2AE.js";
|
|
65
62
|
import "./chunk-EYIEWJNI.js";
|
|
66
63
|
import "./chunk-JUC24CTX.js";
|
|
64
|
+
import "./chunk-BJMBJZ2Y.js";
|
|
65
|
+
import "./chunk-UKJAGEXH.js";
|
|
66
|
+
import "./chunk-FP2373TW.js";
|
|
67
67
|
import "./chunk-P7FMDTKL.js";
|
|
68
68
|
import "./chunk-6MKAMLQL.js";
|
|
69
69
|
import "./chunk-JAKIDQB2.js";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a2 as BufferSurpriseEvent } from './types-DHBxIF0s.js';
|
|
2
2
|
import './message-parts/index.js';
|
|
3
3
|
import './bounded-jsonl-state.js';
|
|
4
|
+
import './operator-doctor-types.js';
|
|
4
5
|
import './types-continuity.js';
|
|
5
6
|
|
|
6
7
|
/**
|
package/dist/buffer.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as StorageManager } from './storage-
|
|
2
|
-
import { P as PluginConfig,
|
|
1
|
+
import { S as StorageManager } from './storage-BZVMn8yJ.js';
|
|
2
|
+
import { P as PluginConfig, j as BufferTurn, k as ExtractionBufferSnapshot } from './types-DHBxIF0s.js';
|
|
3
3
|
import './page-versioning.js';
|
|
4
4
|
import './consolidation-operator.js';
|
|
5
5
|
import './memory-projection-store.js';
|
|
@@ -11,6 +11,7 @@ import './structured-attributes.js';
|
|
|
11
11
|
import './types-continuity.js';
|
|
12
12
|
import './message-parts/index.js';
|
|
13
13
|
import './bounded-jsonl-state.js';
|
|
14
|
+
import './operator-doctor-types.js';
|
|
14
15
|
|
|
15
16
|
type TriggerDecision = "extract_now" | "extract_batch" | "keep_buffering";
|
|
16
17
|
interface AddTurnOutcome {
|
|
@@ -84,6 +85,9 @@ declare class SmartBuffer {
|
|
|
84
85
|
private pruneEntries;
|
|
85
86
|
private loadUnlocked;
|
|
86
87
|
load(): Promise<void>;
|
|
88
|
+
/** Snapshot of buffered, not-yet-extracted work across sessions (#2151): session count,
|
|
89
|
+
* pending-turn total, oldest buffered turn. Counts retained (#562) + active turns per entry. */
|
|
90
|
+
getBufferSnapshot(): Promise<ExtractionBufferSnapshot>;
|
|
87
91
|
/**
|
|
88
92
|
* Reset the buffer to an empty, usable state.
|
|
89
93
|
* Called when the persisted buffer file is corrupt and load() fails,
|
package/dist/buffer.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from '../pipeline-
|
|
1
|
+
import { bx as BulkImportSourceAdapter } from '../types-DHBxIF0s.js';
|
|
2
|
+
export { bw as BulkImportError, a4 as BulkImportOptions, a6 as BulkImportResult, a5 as BulkImportSource, bG as ImportSourceRole, a3 as ImportTurn, bH as ImportTurnValidationIssue, bU as isImportRole, bW as parseIsoTimestamp, bX as validateImportTurn } from '../types-DHBxIF0s.js';
|
|
3
|
+
export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from '../pipeline-Bq5zU6Bp.js';
|
|
4
4
|
import '../message-parts/index.js';
|
|
5
5
|
import '../bounded-jsonl-state.js';
|
|
6
|
+
import '../operator-doctor-types.js';
|
|
6
7
|
import '../types-continuity.js';
|
|
7
8
|
|
|
8
9
|
/**
|
package/dist/calibration.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { FallbackLlmClient } from './fallback-llm.js';
|
|
2
|
-
import { G as GatewayConfig,
|
|
2
|
+
import { G as GatewayConfig, A as AgentPersonaModelConfig } from './types-DHBxIF0s.js';
|
|
3
3
|
import './resolve-provider-secret.js';
|
|
4
4
|
import './message-parts/index.js';
|
|
5
5
|
import './bounded-jsonl-state.js';
|
|
6
|
+
import './operator-doctor-types.js';
|
|
6
7
|
import './types-continuity.js';
|
|
7
8
|
|
|
8
9
|
/**
|
package/dist/capabilities.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { P as PluginConfig } from './types-
|
|
1
|
+
import { P as PluginConfig } from './types-DHBxIF0s.js';
|
|
2
2
|
import './message-parts/index.js';
|
|
3
3
|
import './bounded-jsonl-state.js';
|
|
4
|
+
import './operator-doctor-types.js';
|
|
4
5
|
import './types-continuity.js';
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -2,9 +2,10 @@ import { CausalChainIndex } from './causal-chain.js';
|
|
|
2
2
|
import { ConsolidatedPreference } from './compounding/preference-consolidator.js';
|
|
3
3
|
import './causal-trajectory.js';
|
|
4
4
|
import './objective-state.js';
|
|
5
|
-
import './types-
|
|
5
|
+
import './types-DHBxIF0s.js';
|
|
6
6
|
import './message-parts/index.js';
|
|
7
7
|
import './bounded-jsonl-state.js';
|
|
8
|
+
import './operator-doctor-types.js';
|
|
8
9
|
import './types-continuity.js';
|
|
9
10
|
import './lcm/engine.js';
|
|
10
11
|
import './lcm/archive.js';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { G as GatewayConfig,
|
|
1
|
+
import { G as GatewayConfig, A as AgentPersonaModelConfig, P as PluginConfig, M as MemoryFile } from './types-DHBxIF0s.js';
|
|
2
2
|
import { RolloutSummaryInput, MaterializeResult } from './connectors/codex-materialize.js';
|
|
3
3
|
import './message-parts/index.js';
|
|
4
4
|
import './bounded-jsonl-state.js';
|
|
5
|
+
import './operator-doctor-types.js';
|
|
5
6
|
import './types-continuity.js';
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-MU7ZHSZE.js";
|
|
5
5
|
import {
|
|
6
6
|
buildExtensionsBlockForConsolidation
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MX4TUDMB.js";
|
|
8
8
|
import {
|
|
9
9
|
runPostConsolidationMaterialize
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3FLPLDIL.js";
|
|
11
11
|
import "./chunk-KSXJOC4F.js";
|
|
12
12
|
import "./chunk-JLNBQWZ2.js";
|
|
13
13
|
import "./chunk-3UXOZBHV.js";
|
|
@@ -16,37 +16,37 @@ import {
|
|
|
16
16
|
resolveCausalTrajectoryStoreDir
|
|
17
17
|
} from "./chunk-NRV4Y3PM.js";
|
|
18
18
|
import "./chunk-ZBJMUXZH.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-2QMKMVHH.js";
|
|
19
|
+
import "./chunk-7CP7SO32.js";
|
|
21
20
|
import "./chunk-UHVXE24Y.js";
|
|
21
|
+
import "./chunk-2QMKMVHH.js";
|
|
22
22
|
import "./chunk-DEBHXHJR.js";
|
|
23
23
|
import "./chunk-DNHVPZOD.js";
|
|
24
24
|
import "./chunk-6CIAGZ6X.js";
|
|
25
25
|
import "./chunk-J6A3CX5N.js";
|
|
26
26
|
import "./chunk-HKF5VASQ.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-V25OWXAC.js";
|
|
28
|
+
import "./chunk-AVPXXV6J.js";
|
|
29
29
|
import "./chunk-EGGE52UU.js";
|
|
30
30
|
import "./chunk-GCASGYIO.js";
|
|
31
31
|
import "./chunk-WL5EBRDH.js";
|
|
32
|
-
import "./chunk-ILGC6JH6.js";
|
|
33
32
|
import "./chunk-SCU65EZI.js";
|
|
34
33
|
import "./chunk-3CSX3ETE.js";
|
|
35
34
|
import "./chunk-RL6NEVXT.js";
|
|
36
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-ILGC6JH6.js";
|
|
37
36
|
import "./chunk-DM2T26WE.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-AAD2ZS6P.js";
|
|
37
|
+
import "./chunk-LDXUBPMO.js";
|
|
40
38
|
import "./chunk-CGASUJVP.js";
|
|
41
39
|
import "./chunk-R3DJVOSM.js";
|
|
42
40
|
import "./chunk-BT7NVCML.js";
|
|
41
|
+
import "./chunk-JYIJNNN3.js";
|
|
42
|
+
import "./chunk-AAD2ZS6P.js";
|
|
43
|
+
import "./chunk-W5H6ZRPT.js";
|
|
43
44
|
import "./chunk-G7D6GZ5J.js";
|
|
44
45
|
import "./chunk-5VQJBH2G.js";
|
|
45
46
|
import "./chunk-AITCS2RC.js";
|
|
46
47
|
import "./chunk-XMMESCPD.js";
|
|
47
48
|
import "./chunk-42JKGUFJ.js";
|
|
48
49
|
import "./chunk-PDJTHRAW.js";
|
|
49
|
-
import "./chunk-W5H6ZRPT.js";
|
|
50
50
|
import {
|
|
51
51
|
FallbackLlmClient,
|
|
52
52
|
fallbackLlmRuntimeContextFromConfig
|
|
@@ -56,15 +56,15 @@ import "./chunk-L2EXJQJP.js";
|
|
|
56
56
|
import "./chunk-45GF7Y3V.js";
|
|
57
57
|
import "./chunk-RGMVMVMF.js";
|
|
58
58
|
import "./chunk-N7RWREIQ.js";
|
|
59
|
-
import "./chunk-BJMBJZ2Y.js";
|
|
60
|
-
import "./chunk-UKJAGEXH.js";
|
|
61
|
-
import "./chunk-FP2373TW.js";
|
|
62
59
|
import "./chunk-5I4M26Q7.js";
|
|
63
|
-
import "./chunk-4DJQYKMN.js";
|
|
64
60
|
import "./chunk-5GKPFL3S.js";
|
|
61
|
+
import "./chunk-4DJQYKMN.js";
|
|
65
62
|
import "./chunk-PQVCH2AE.js";
|
|
66
63
|
import "./chunk-EYIEWJNI.js";
|
|
67
64
|
import "./chunk-JUC24CTX.js";
|
|
65
|
+
import "./chunk-BJMBJZ2Y.js";
|
|
66
|
+
import "./chunk-UKJAGEXH.js";
|
|
67
|
+
import "./chunk-FP2373TW.js";
|
|
68
68
|
import "./chunk-P7FMDTKL.js";
|
|
69
69
|
import "./chunk-6MKAMLQL.js";
|
|
70
70
|
import "./chunk-JAKIDQB2.js";
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { GraphEdge } from './graph.js';
|
|
2
2
|
import { CausalTrajectoryRecord } from './causal-trajectory.js';
|
|
3
3
|
import './capabilities.js';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-DHBxIF0s.js';
|
|
5
5
|
import './message-parts/index.js';
|
|
6
6
|
import './bounded-jsonl-state.js';
|
|
7
|
+
import './operator-doctor-types.js';
|
|
7
8
|
import './types-continuity.js';
|
|
8
9
|
import './objective-state.js';
|
|
9
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
resolveDefaultNamespaceRoot,
|
|
3
|
-
resolveNamespaceStorageRoot
|
|
4
|
-
} from "./chunk-GD3QOBMB.js";
|
|
5
1
|
import {
|
|
6
2
|
getConfiguredNamespaces
|
|
7
3
|
} from "./chunk-MQVINOJQ.js";
|
|
4
|
+
import {
|
|
5
|
+
resolveDefaultNamespaceRoot,
|
|
6
|
+
resolveNamespaceStorageRoot
|
|
7
|
+
} from "./chunk-XHYCPA5C.js";
|
|
8
8
|
import {
|
|
9
9
|
namespaceIdentityFromToken,
|
|
10
10
|
namespaceIdentityToken,
|
|
@@ -2204,4 +2204,4 @@ export {
|
|
|
2204
2204
|
runNamespaceMaintenancePlan,
|
|
2205
2205
|
runNamespaceMaintenanceBatchPlan
|
|
2206
2206
|
};
|
|
2207
|
-
//# sourceMappingURL=chunk-
|
|
2207
|
+
//# sourceMappingURL=chunk-2NAFR36N.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
loadTokenStore,
|
|
6
6
|
revokeToken,
|
|
7
7
|
saveTokenStore
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WO7KBATL.js";
|
|
9
9
|
import {
|
|
10
10
|
getConnectorsDir,
|
|
11
11
|
getRegistryPath
|
|
@@ -3029,4 +3029,4 @@ export {
|
|
|
3029
3029
|
resolveWeCloneProxyConfigPath,
|
|
3030
3030
|
buildWeCloneProxyConfig
|
|
3031
3031
|
};
|
|
3032
|
-
//# sourceMappingURL=chunk-
|
|
3032
|
+
//# sourceMappingURL=chunk-2WSX7U2N.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-3UXOZBHV.js";
|
|
8
8
|
import {
|
|
9
9
|
StorageManager
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7CP7SO32.js";
|
|
11
11
|
import {
|
|
12
12
|
isSafeRouteNamespace
|
|
13
13
|
} from "./chunk-U3PN77QT.js";
|
|
@@ -118,4 +118,4 @@ export {
|
|
|
118
118
|
runCodexMaterialize,
|
|
119
119
|
runPostConsolidationMaterialize
|
|
120
120
|
};
|
|
121
|
-
//# sourceMappingURL=chunk-
|
|
121
|
+
//# sourceMappingURL=chunk-3FLPLDIL.js.map
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import {
|
|
2
|
+
coerceBool,
|
|
3
|
+
coerceNumber
|
|
4
|
+
} from "./chunk-PQVCH2AE.js";
|
|
5
|
+
import {
|
|
6
|
+
log
|
|
7
|
+
} from "./chunk-3WCASNQZ.js";
|
|
8
|
+
|
|
9
|
+
// src/extraction-liveness.ts
|
|
10
|
+
var DEFAULT_STALE_WINDOW_MS = 864e5;
|
|
11
|
+
function parseExtractionLivenessConfig(cfg) {
|
|
12
|
+
const raw = cfg.extractionLiveness;
|
|
13
|
+
if (raw !== void 0 && (raw === null || typeof raw !== "object" || Array.isArray(raw))) {
|
|
14
|
+
throw new Error(`extractionLiveness must be a plain object (got ${JSON.stringify(raw)})`);
|
|
15
|
+
}
|
|
16
|
+
const block = raw ?? {};
|
|
17
|
+
return {
|
|
18
|
+
// `?? true` keeps the default on when the key is absent while honoring
|
|
19
|
+
// explicit "false"/"0"/false opt-outs (coerceBool handles the string forms).
|
|
20
|
+
enabled: coerceBool(block.enabled) ?? true,
|
|
21
|
+
staleWindowMs: parseStaleWindowMs(block.staleWindowMs)
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function parseStaleWindowMs(value) {
|
|
25
|
+
if (value === void 0) return DEFAULT_STALE_WINDOW_MS;
|
|
26
|
+
const coerced = coerceNumber(value);
|
|
27
|
+
if (coerced === void 0 || !Number.isFinite(coerced) || !Number.isInteger(coerced) || coerced < 1) {
|
|
28
|
+
throw new Error(
|
|
29
|
+
`extractionLiveness.staleWindowMs must be an integer greater than or equal to 1; got ${JSON.stringify(value)}`
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
return coerced;
|
|
33
|
+
}
|
|
34
|
+
function ageMsFrom(timestamp, nowMs) {
|
|
35
|
+
if (typeof timestamp !== "string") return null;
|
|
36
|
+
const parsed = Date.parse(timestamp);
|
|
37
|
+
if (!Number.isFinite(parsed)) return null;
|
|
38
|
+
return Math.max(0, nowMs - parsed);
|
|
39
|
+
}
|
|
40
|
+
function formatAgeMs(ms) {
|
|
41
|
+
const s = Math.max(0, Math.floor(ms / 1e3));
|
|
42
|
+
if (s >= 86400) return `${Math.floor(s / 86400)}d`;
|
|
43
|
+
if (s >= 3600) return `${Math.floor(s / 3600)}h`;
|
|
44
|
+
if (s >= 60) return `${Math.floor(s / 60)}m`;
|
|
45
|
+
return `${s}s`;
|
|
46
|
+
}
|
|
47
|
+
function evaluateExtractionLiveness(input) {
|
|
48
|
+
const { config, lastExtractionAt, snapshot, nowMs } = input;
|
|
49
|
+
const lastMs = lastExtractionAt !== null ? Date.parse(lastExtractionAt) : Number.NaN;
|
|
50
|
+
const hasWatermark = Number.isFinite(lastMs);
|
|
51
|
+
const ageMs = nowMs - lastMs;
|
|
52
|
+
const stale = !hasWatermark || ageMs < 0 || ageMs >= config.staleWindowMs;
|
|
53
|
+
const hasBacklog = snapshot.bufferedSessionCount > 0;
|
|
54
|
+
const metaReadFailed = input.metaReadFailed === true;
|
|
55
|
+
const readFailed = snapshot.readFailed === true;
|
|
56
|
+
const degraded = config.enabled && (metaReadFailed || readFailed || hasBacklog && stale);
|
|
57
|
+
let degradedReason = null;
|
|
58
|
+
if (degraded) {
|
|
59
|
+
if (metaReadFailed) {
|
|
60
|
+
degradedReason = `extraction watermark unreadable: ${input.metaReadError ?? "meta read failed"}`;
|
|
61
|
+
} else if (readFailed) {
|
|
62
|
+
degradedReason = `extraction buffer unreadable: ${snapshot.readError ?? "buffer snapshot read failed"}`;
|
|
63
|
+
} else {
|
|
64
|
+
const watermark = hasWatermark ? `last succeeded ${formatAgeMs(nowMs - lastMs)} ago` : "no successful extraction on record";
|
|
65
|
+
degradedReason = `${watermark}; ${snapshot.bufferedSessionCount} buffered session(s), ${snapshot.pendingTurnCount} turn(s) pending extraction`;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
lastExtractionAt,
|
|
70
|
+
bufferedSessionCount: snapshot.bufferedSessionCount,
|
|
71
|
+
pendingTurnCount: snapshot.pendingTurnCount,
|
|
72
|
+
oldestBufferedTurnAgeMs: ageMsFrom(snapshot.oldestTurnTimestamp, nowMs),
|
|
73
|
+
degraded,
|
|
74
|
+
degradedReason,
|
|
75
|
+
watermarkScope: input.watermarkScope ?? "root-store"
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
var EMPTY_SNAPSHOT = {
|
|
79
|
+
bufferedSessionCount: 0,
|
|
80
|
+
pendingTurnCount: 0,
|
|
81
|
+
oldestTurnTimestamp: null
|
|
82
|
+
};
|
|
83
|
+
async function readBufferSnapshot(buffer) {
|
|
84
|
+
if (!buffer || typeof buffer.getBufferSnapshot !== "function") return EMPTY_SNAPSHOT;
|
|
85
|
+
try {
|
|
86
|
+
return await buffer.getBufferSnapshot();
|
|
87
|
+
} catch (err) {
|
|
88
|
+
return {
|
|
89
|
+
...EMPTY_SNAPSHOT,
|
|
90
|
+
readFailed: true,
|
|
91
|
+
readError: err instanceof Error ? err.message : String(err)
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
async function gatherExtractionLivenessStatus(input) {
|
|
96
|
+
const { config, storage, buffer, nowMs } = input;
|
|
97
|
+
let lastExtractionAt = null;
|
|
98
|
+
let metaReadFailed = false;
|
|
99
|
+
let metaReadError;
|
|
100
|
+
try {
|
|
101
|
+
lastExtractionAt = (await storage.loadMeta()).lastExtractionAt ?? null;
|
|
102
|
+
} catch (err) {
|
|
103
|
+
metaReadFailed = true;
|
|
104
|
+
metaReadError = err instanceof Error ? err.message : String(err);
|
|
105
|
+
}
|
|
106
|
+
const snapshot = await readBufferSnapshot(buffer);
|
|
107
|
+
return evaluateExtractionLiveness({
|
|
108
|
+
config,
|
|
109
|
+
lastExtractionAt,
|
|
110
|
+
snapshot,
|
|
111
|
+
nowMs,
|
|
112
|
+
metaReadFailed,
|
|
113
|
+
metaReadError,
|
|
114
|
+
// Today the watermark comes from the root store only; #2159 flips this to
|
|
115
|
+
// "aggregate" when the resolver reads across every namespace store.
|
|
116
|
+
watermarkScope: "root-store"
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
var ExtractionLivenessWarnThrottle = class {
|
|
120
|
+
lastWarnAtMs = null;
|
|
121
|
+
/** Warn if degraded and outside the throttle window; returns whether a WARN was emitted. */
|
|
122
|
+
maybeWarn(status, staleWindowMs, nowMs) {
|
|
123
|
+
if (!status.degraded) {
|
|
124
|
+
this.lastWarnAtMs = null;
|
|
125
|
+
return false;
|
|
126
|
+
}
|
|
127
|
+
if (this.lastWarnAtMs !== null && nowMs - this.lastWarnAtMs < staleWindowMs) return false;
|
|
128
|
+
this.lastWarnAtMs = nowMs;
|
|
129
|
+
log.warn(
|
|
130
|
+
`extraction pipeline liveness degraded: ${status.degradedReason ?? "buffered turns are not being extracted"}`
|
|
131
|
+
);
|
|
132
|
+
return true;
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
function resolveExtractionLivenessConfig(block) {
|
|
136
|
+
const staleWindowMs = coerceNumber(block?.staleWindowMs);
|
|
137
|
+
return {
|
|
138
|
+
enabled: coerceBool(block?.enabled) ?? true,
|
|
139
|
+
staleWindowMs: staleWindowMs !== void 0 && Number.isInteger(staleWindowMs) && staleWindowMs >= 1 ? staleWindowMs : DEFAULT_STALE_WINDOW_MS
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
async function computeExtractionLivenessStatus(orchestrator, throttle, nowMs = Date.now()) {
|
|
143
|
+
const config = resolveExtractionLivenessConfig(orchestrator.config.extractionLiveness);
|
|
144
|
+
const status = await gatherExtractionLivenessStatus({
|
|
145
|
+
config,
|
|
146
|
+
storage: orchestrator.storage,
|
|
147
|
+
buffer: orchestrator.buffer,
|
|
148
|
+
nowMs
|
|
149
|
+
});
|
|
150
|
+
throttle?.maybeWarn(status, config.staleWindowMs, nowMs);
|
|
151
|
+
return status;
|
|
152
|
+
}
|
|
153
|
+
async function summarizeExtractionLiveness(config, storage, buffer, nowMs = Date.now()) {
|
|
154
|
+
const livenessConfig = resolveExtractionLivenessConfig(config.extractionLiveness);
|
|
155
|
+
const status = await gatherExtractionLivenessStatus({
|
|
156
|
+
config: livenessConfig,
|
|
157
|
+
storage,
|
|
158
|
+
buffer,
|
|
159
|
+
nowMs
|
|
160
|
+
});
|
|
161
|
+
const scopeNote = ` Watermark scope: ${status.watermarkScope}` + (status.watermarkScope === "root-store" ? " (default-namespace only; multi-namespace aggregation tracked in #2159)." : ".");
|
|
162
|
+
const summary = (status.degraded ? `Extraction pipeline degraded: ${status.degradedReason}.` : `Extraction pipeline healthy: last extraction ${status.lastExtractionAt ?? "never"}, ${status.bufferedSessionCount} buffered session(s), ${status.pendingTurnCount} turn(s) pending${livenessConfig.enabled ? "" : " (liveness check disabled)"}.`) + scopeNote;
|
|
163
|
+
return {
|
|
164
|
+
key: "extraction_liveness",
|
|
165
|
+
status: status.degraded ? "warn" : "ok",
|
|
166
|
+
summary,
|
|
167
|
+
remediation: status.degraded ? "Extraction has stalled while turns are buffered. Inspect daemon logs for extraction timeouts or fallback-no-parsed-output errors, verify the extraction model/provider is reachable, then force a flush (e.g. `remnic flush`)." : void 0,
|
|
168
|
+
details: { ...status, staleWindowMs: livenessConfig.staleWindowMs, enabled: livenessConfig.enabled }
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
async function renderExtractionLivenessStats(orchestrator, nowMs = Date.now()) {
|
|
172
|
+
let meta = null;
|
|
173
|
+
let metaReadFailed = false;
|
|
174
|
+
let metaReadError;
|
|
175
|
+
try {
|
|
176
|
+
meta = await orchestrator.storage.loadMeta();
|
|
177
|
+
} catch (err) {
|
|
178
|
+
metaReadFailed = true;
|
|
179
|
+
metaReadError = err instanceof Error ? err.message : String(err);
|
|
180
|
+
}
|
|
181
|
+
const status = evaluateExtractionLiveness({
|
|
182
|
+
config: resolveExtractionLivenessConfig(orchestrator.config.extractionLiveness),
|
|
183
|
+
lastExtractionAt: meta?.lastExtractionAt ?? null,
|
|
184
|
+
snapshot: await readBufferSnapshot(orchestrator.buffer),
|
|
185
|
+
nowMs,
|
|
186
|
+
metaReadFailed,
|
|
187
|
+
metaReadError
|
|
188
|
+
});
|
|
189
|
+
const oldestAge = status.oldestBufferedTurnAgeMs !== null ? formatAgeMs(status.oldestBufferedTurnAgeMs) : "n/a";
|
|
190
|
+
const unavailable = metaReadFailed ? "unavailable" : "never";
|
|
191
|
+
return [
|
|
192
|
+
`Extractions: ${meta?.extractionCount ?? unavailable}`,
|
|
193
|
+
`Last extraction: ${meta?.lastExtractionAt ?? unavailable}`,
|
|
194
|
+
`Last consolidation: ${meta?.lastConsolidationAt ?? unavailable}`,
|
|
195
|
+
`Buffered sessions: ${status.bufferedSessionCount} (${status.pendingTurnCount} turns pending)`,
|
|
196
|
+
`Oldest buffered turn age: ${oldestAge}`,
|
|
197
|
+
`Extraction watermark scope: ${status.watermarkScope}`,
|
|
198
|
+
`Extraction liveness: ${status.degraded ? `DEGRADED \u2014 ${status.degradedReason}` : "ok"}`
|
|
199
|
+
];
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
export {
|
|
203
|
+
parseExtractionLivenessConfig,
|
|
204
|
+
formatAgeMs,
|
|
205
|
+
evaluateExtractionLiveness,
|
|
206
|
+
gatherExtractionLivenessStatus,
|
|
207
|
+
ExtractionLivenessWarnThrottle,
|
|
208
|
+
resolveExtractionLivenessConfig,
|
|
209
|
+
computeExtractionLivenessStatus,
|
|
210
|
+
summarizeExtractionLiveness,
|
|
211
|
+
renderExtractionLivenessStats
|
|
212
|
+
};
|
|
213
|
+
//# sourceMappingURL=chunk-443XCR34.js.map
|