@remnic/core 9.65.7 → 9.65.8
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 +15 -13
- package/dist/access-admin-ops-surface.js +42 -42
- package/dist/access-authorization-probe.d.ts +15 -13
- package/dist/access-authorization-probe.js +43 -43
- package/dist/access-boundary.d.ts +15 -13
- package/dist/access-boundary.js +42 -42
- package/dist/access-cli.js +143 -140
- package/dist/access-cli.js.map +1 -1
- package/dist/access-coding-context-resolution.d.ts +2 -1
- package/dist/access-extraction-force-flush.d.ts +15 -13
- package/dist/access-extraction-force-flush.js +42 -42
- package/dist/access-health-types.d.ts +2 -1
- package/dist/access-http-lcm-compaction.d.ts +15 -13
- package/dist/access-http-lifecycle-flush.d.ts +15 -13
- package/dist/access-http-offline-stream.d.ts +15 -13
- package/dist/access-http-query.d.ts +3 -2
- package/dist/access-http-query.js +44 -44
- package/dist/access-http.d.ts +16 -14
- package/dist/access-http.js +59 -59
- package/dist/access-identity-continuity-surface.d.ts +13 -11
- package/dist/access-identity-continuity-surface.js +42 -42
- package/dist/access-lcm-surface.d.ts +15 -13
- package/dist/access-lcm-surface.js +42 -42
- package/dist/access-mcp.d.ts +15 -13
- package/dist/access-mcp.js +49 -49
- package/dist/access-memory-search-fanout.d.ts +3 -2
- package/dist/{access-namespace-preflight-8VYKmRX0.d.ts → access-namespace-preflight-CpAOrS-9.d.ts} +1 -1
- package/dist/access-namespace-preflight.d.ts +4 -3
- package/dist/access-namespace-preflight.js +42 -42
- package/dist/access-observe-write-surface.d.ts +15 -13
- package/dist/access-observe-write-surface.js +42 -42
- package/dist/access-offline-manifest.d.ts +13 -11
- package/dist/access-offline-manifest.js +6 -6
- package/dist/access-operations-batch.js +45 -45
- package/dist/access-operations.d.ts +20 -18
- package/dist/access-operations.js +48 -48
- package/dist/access-recall-concurrency.d.ts +15 -13
- package/dist/access-recall-concurrency.js +42 -42
- package/dist/access-recall-response.d.ts +15 -13
- package/dist/access-recall-response.js +42 -42
- package/dist/access-recall-surface.d.ts +15 -13
- package/dist/access-recall-surface.js +42 -42
- package/dist/access-schema.d.ts +83 -83
- package/dist/{access-service-Crk__Git.d.ts → access-service-Diu61Cfv.d.ts} +71 -71
- package/dist/access-service-helpers.d.ts +15 -13
- package/dist/access-service.d.ts +15 -13
- package/dist/access-service.js +42 -42
- package/dist/access-surface-catalog.d.ts +15 -13
- package/dist/access-surface-catalog.js +44 -44
- package/dist/access-wearables-meetings-surface.d.ts +6 -3
- package/dist/action-confidence.d.ts +2 -1
- package/dist/active-context-config.d.ts +27 -0
- package/dist/active-context-config.js +14 -0
- package/dist/active-context-transform.d.ts +267 -0
- package/dist/active-context-transform.js +31 -0
- package/dist/active-context-transform.js.map +1 -0
- package/dist/active-memory-bridge.d.ts +2 -1
- package/dist/active-recall.d.ts +2 -1
- package/dist/active-recall.js +10 -9
- package/dist/active-recall.js.map +1 -1
- package/dist/adapters/index.js +7 -7
- package/dist/adapters/registry.js +3 -3
- package/dist/ambient-provenance.d.ts +2 -1
- package/dist/artifact-search.d.ts +2 -1
- package/dist/{auto-sync-XVMLL2RH.js → auto-sync-2YPITIWN.js} +6 -6
- package/dist/behavior-learner.d.ts +2 -1
- package/dist/behavior-signals.d.ts +2 -1
- package/dist/bootstrap.d.ts +13 -11
- package/dist/briefing-window.d.ts +5 -2
- package/dist/briefing.d.ts +5 -2
- package/dist/briefing.js +23 -23
- package/dist/buffer-surprise-report.d.ts +2 -1
- package/dist/buffer-turn-helpers.d.ts +2 -1
- package/dist/buffer.d.ts +5 -2
- package/dist/buffer.js +6 -6
- 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-DybwVNW3.d.ts → catalog-9f-vEQLS.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +4 -3
- package/dist/causal-consolidation.d.ts +2 -1
- package/dist/causal-consolidation.js +24 -24
- package/dist/causal-trajectory-graph.d.ts +2 -1
- package/dist/{chunk-JBPKEARU.js → chunk-2QSZNTDO.js} +7 -7
- package/dist/{chunk-S3K2CIK5.js → chunk-3A2NJP2U.js} +2 -2
- package/dist/{chunk-OPGL46PX.js → chunk-3PKAS6VL.js} +2 -2
- package/dist/{chunk-GTSVEEP3.js → chunk-3SZD4CYO.js} +3 -3
- package/dist/chunk-43HUVDTD.js +114 -0
- package/dist/chunk-43HUVDTD.js.map +1 -0
- package/dist/{chunk-YKWFK7XA.js → chunk-4F4AQFWL.js} +7 -7
- package/dist/{chunk-RGCF4XNH.js → chunk-4QEYREAV.js} +9 -9
- package/dist/{chunk-46WM6JX2.js → chunk-4ZWCQJNM.js} +5 -5
- package/dist/{chunk-DVYRD4HY.js → chunk-5ACCD4L7.js} +30 -1
- package/dist/chunk-5ACCD4L7.js.map +1 -0
- package/dist/{chunk-3RI5Y7KU.js → chunk-5DHKCO52.js} +2 -2
- package/dist/{chunk-VKCAHCBI.js → chunk-5RWZH6PH.js} +2 -2
- package/dist/{chunk-52II7PB6.js → chunk-645WOU5I.js} +4 -4
- package/dist/{chunk-A32YEQAM.js → chunk-76DIF5KT.js} +2 -2
- package/dist/{chunk-OPPBTPUU.js → chunk-7KQB4EBS.js} +4 -4
- package/dist/{chunk-I2HTKOOP.js → chunk-7VZFRUQU.js} +3 -3
- package/dist/{chunk-D4QVPP3G.js → chunk-7WOWGRAU.js} +10 -6
- package/dist/chunk-7WOWGRAU.js.map +1 -0
- package/dist/{chunk-JCWY73FK.js → chunk-AHPIFKNG.js} +2 -2
- package/dist/{chunk-IP4ZNT4U.js → chunk-AZMLH5UT.js} +2 -2
- package/dist/chunk-B32WYRXX.js +77 -0
- package/dist/chunk-B32WYRXX.js.map +1 -0
- package/dist/{chunk-JOEJG4SD.js → chunk-BEC4YBNA.js} +4 -4
- package/dist/{chunk-VXVZ2GM3.js → chunk-CAMNRAJF.js} +2 -2
- package/dist/{chunk-C24UZSFW.js → chunk-CEH2AFXG.js} +6 -6
- package/dist/{chunk-YOXVZJFM.js → chunk-CFVTRUR3.js} +2 -2
- package/dist/{chunk-SVSRPG6M.js → chunk-CPA5NBHN.js} +2 -2
- package/dist/{chunk-7BEPVIH3.js → chunk-CRML27CO.js} +3 -3
- package/dist/{chunk-IY7UXD3J.js → chunk-DA7ITC5Z.js} +2 -2
- package/dist/{chunk-AFR6AIM4.js → chunk-DEACDKE3.js} +3 -3
- package/dist/{chunk-NG3MBQV4.js → chunk-DPCXDG7G.js} +2 -2
- package/dist/{chunk-HZNYJN77.js → chunk-F3NVYTTA.js} +2 -2
- package/dist/{chunk-PDDSFELN.js → chunk-F7XUD3PL.js} +2 -2
- package/dist/{chunk-YWSQD2IB.js → chunk-GTO56JY5.js} +2 -2
- package/dist/{chunk-RAIUTAZZ.js → chunk-H2YSH3DG.js} +2 -2
- package/dist/{chunk-F6QHHRWP.js → chunk-HMZKGHMD.js} +2 -2
- package/dist/{chunk-ZIJDI4CP.js → chunk-HRHO3ZNG.js} +2 -2
- package/dist/{chunk-SDEPLF7V.js → chunk-IBJ6U753.js} +2 -2
- package/dist/{chunk-T3JQTCCO.js → chunk-JI7U6AS3.js} +4 -4
- package/dist/{chunk-TR7DGXGI.js → chunk-JOZUBF4A.js} +5 -5
- package/dist/{chunk-I7EX6KSH.js → chunk-JYSN42VN.js} +55 -55
- package/dist/{chunk-ZPUIRTIZ.js → chunk-KOLJJN5G.js} +12 -75
- package/dist/chunk-KOLJJN5G.js.map +1 -0
- package/dist/{chunk-FMQ4MOQO.js → chunk-KZIF6XHX.js} +14 -14
- package/dist/chunk-LB7WCZHY.js +553 -0
- package/dist/chunk-LB7WCZHY.js.map +1 -0
- package/dist/{chunk-RIAM7DND.js → chunk-LDKPDODJ.js} +2 -2
- package/dist/{chunk-227UFSEQ.js → chunk-LEPOP46W.js} +4 -4
- package/dist/{chunk-LLQCM2U2.js → chunk-LKYIOCWL.js} +101 -101
- package/dist/{chunk-5S4LQOPE.js → chunk-LOXHYCVS.js} +2 -2
- package/dist/{chunk-ANJXPFRS.js → chunk-LPNCR4QK.js} +8 -8
- package/dist/{chunk-GEPACVWN.js → chunk-MDD2RINF.js} +2 -2
- package/dist/{chunk-H63EDPFJ.js → chunk-MI2OTWV5.js} +15 -2
- package/dist/{chunk-H63EDPFJ.js.map → chunk-MI2OTWV5.js.map} +1 -1
- package/dist/{chunk-LBFFNDFM.js → chunk-MINHJ55X.js} +1 -1
- package/dist/chunk-MINHJ55X.js.map +1 -0
- package/dist/{chunk-6CPUQ5D6.js → chunk-MY2BC6UE.js} +13 -13
- package/dist/{chunk-CFGU52XJ.js → chunk-NPFUNWNX.js} +2 -2
- package/dist/{chunk-MFOSZUIT.js → chunk-NPIBN2VL.js} +2 -2
- package/dist/{chunk-5DH6PG4B.js → chunk-OA2O2GJ4.js} +3 -3
- package/dist/{chunk-JAQXUGLN.js → chunk-ODU2CNNX.js} +2 -2
- package/dist/{chunk-RQE4TITU.js → chunk-OXRRJXPR.js} +32 -32
- package/dist/{chunk-SEA6M7SS.js → chunk-P36Z4JRA.js} +2 -2
- package/dist/{chunk-Z4U3UN56.js → chunk-PU56CXZA.js} +6 -6
- package/dist/{chunk-5VPQSRQO.js → chunk-S5XOSTYM.js} +3 -3
- package/dist/{chunk-SVVIASVX.js → chunk-SEEJOGQX.js} +5 -5
- package/dist/{chunk-7TCGNUVP.js → chunk-SNOIKAHM.js} +2 -2
- package/dist/{chunk-7F27PCSN.js → chunk-T6ILXUAH.js} +2 -2
- package/dist/{chunk-EOHKUWXW.js → chunk-T7XP6IZE.js} +2 -2
- package/dist/{chunk-7WR462EM.js → chunk-TFR3HG4K.js} +3 -3
- package/dist/{chunk-YRVAKONL.js → chunk-TUHBYJXL.js} +1 -1
- package/dist/{chunk-F635GAL7.js → chunk-U7EW2W4W.js} +10 -10
- package/dist/{chunk-VFYRYFLL.js → chunk-UEBDCMOO.js} +2 -2
- package/dist/{chunk-WTOZBZNN.js → chunk-UENKPWCS.js} +4 -4
- package/dist/{chunk-AAXJNINV.js → chunk-UL4MKZHI.js} +2 -2
- package/dist/{chunk-R2MZCYA6.js → chunk-UNUMFURP.js} +3 -3
- package/dist/{chunk-ACOC27BB.js → chunk-UPFNQJC7.js} +2 -2
- package/dist/{chunk-W4BMEGQA.js → chunk-UTQUEHC7.js} +2 -2
- package/dist/{chunk-I32NKXE2.js → chunk-V4IDF3EZ.js} +2 -2
- package/dist/{chunk-BJTHRFFC.js → chunk-W2BAGGEW.js} +51 -19
- package/dist/chunk-W2BAGGEW.js.map +1 -0
- package/dist/{chunk-ZAOHJDKH.js → chunk-WNXYT4MK.js} +3 -3
- package/dist/{chunk-T42L3S6A.js → chunk-XBGHAAKR.js} +2 -2
- package/dist/{chunk-I4343FIA.js → chunk-XNWXSGHS.js} +4 -4
- package/dist/{chunk-THG4GYIE.js → chunk-YEUXERJ6.js} +5 -5
- package/dist/{chunk-EZ25VE3G.js → chunk-YNDLCWXS.js} +4 -4
- package/dist/{chunk-5HERQ5FX.js → chunk-Z3YEGSR4.js} +10 -10
- package/dist/{cli-B322UMvB.d.ts → cli-O3F-ht3i.d.ts} +5 -5
- package/dist/cli.d.ts +17 -15
- package/dist/cli.js +92 -91
- package/dist/coding/pre-action-gate.d.ts +2 -1
- package/dist/compounding/engine.d.ts +5 -2
- package/dist/compounding/engine.js +24 -24
- package/dist/compounding/preference-consolidator.d.ts +4 -3
- package/dist/compression-optimizer.d.ts +2 -1
- package/dist/config-security.js +2 -2
- package/dist/config.d.ts +2 -1
- package/dist/config.js +10 -9
- package/dist/connectors/codex-materialize-runner.d.ts +2 -1
- package/dist/connectors/codex-materialize-runner.js +23 -23
- package/dist/connectors/codex-materialize.d.ts +2 -1
- package/dist/connectors/index.d.ts +2 -1
- package/dist/connectors/index.js +23 -23
- package/dist/consolidation-provenance-check.d.ts +5 -2
- package/dist/consolidation-provenance-check.js +2 -2
- package/dist/consolidation-undo.d.ts +5 -2
- package/dist/context-summary.d.ts +43 -0
- package/dist/context-summary.js +14 -0
- package/dist/context-summary.js.map +1 -0
- package/dist/contradiction/index.d.ts +6 -3
- package/dist/contradiction/index.js +5 -5
- package/dist/converge-config.d.ts +2 -1
- package/dist/convergence-refresh.d.ts +5 -2
- package/dist/convergence-refresh.js +26 -26
- package/dist/conversation-index/backend.d.ts +2 -1
- package/dist/conversation-index/backend.js +2 -2
- 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 +2 -1
- package/dist/corpus-watermark.js +25 -25
- package/dist/cross-lingual-recall.d.ts +2 -1
- package/dist/dashboard-runtime.js +2 -2
- package/dist/day-summary.d.ts +2 -1
- package/dist/delinearize.d.ts +2 -1
- package/dist/dependency-propagation-config.d.ts +2 -1
- package/dist/{dependency-propagation-delivery-BGcNairQ.d.ts → dependency-propagation-delivery-CL6RWXTA.d.ts} +1 -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-origin-fields.d.ts +2 -1
- package/dist/entity-retrieval.d.ts +5 -2
- package/dist/entity-retrieval.js +24 -24
- package/dist/entity-schema.d.ts +2 -1
- package/dist/episodic-context.d.ts +2 -1
- package/dist/eval-trajectory-contracts.d.ts +2 -1
- package/dist/eval-trajectory-store.d.ts +2 -1
- package/dist/eval-trajectory.d.ts +2 -1
- package/dist/event-order-recall.js +3 -3
- package/dist/explicit-capture.d.ts +13 -11
- package/dist/explicit-capture.js +6 -6
- package/dist/external-wiki-access.d.ts +15 -13
- package/dist/external-wiki-access.js +43 -43
- package/dist/external-wiki-collection-registration.d.ts +2 -1
- package/dist/external-wiki-collection.d.ts +2 -1
- package/dist/external-wiki-mcp-tools.d.ts +15 -13
- 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 +2 -1
- package/dist/extraction-normalization.d.ts +2 -1
- package/dist/extraction-prompt.d.ts +2 -1
- package/dist/extraction-source-grounding-rules.d.ts +2 -1
- package/dist/extraction-source-grounding.d.ts +2 -1
- package/dist/extraction.d.ts +2 -1
- package/dist/extraction.js +31 -31
- package/dist/fallback-llm.d.ts +2 -1
- package/dist/{forget-SZ2BXDGF.js → forget-2AE4MDK3.js} +3 -3
- 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-path-reconstruction.d.ts +2 -1
- package/dist/graph-path-scoring.d.ts +2 -1
- package/dist/graph-snapshot.d.ts +2 -1
- package/dist/graph.d.ts +2 -1
- package/dist/harmonic-retrieval.js +1 -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-By2QUAMh.d.ts → index-C7Xep6S9.d.ts} +2 -2
- package/dist/index.d.ts +703 -701
- package/dist/index.js +225 -196
- package/dist/intent.d.ts +2 -1
- package/dist/lcm/engine.d.ts +3 -2
- package/dist/lcm/engine.js +5 -4
- package/dist/lcm/index.d.ts +4 -2
- package/dist/lcm/index.js +12 -11
- package/dist/lcm/summarizer.d.ts +4 -6
- package/dist/lcm/summarizer.js +2 -1
- package/dist/lcm/tools.d.ts +4 -3
- 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 +24 -24
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +5 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +23 -23
- package/dist/maintenance/rebuild-memory-projection.d.ts +5 -2
- package/dist/maintenance/rebuild-memory-projection.js +25 -25
- package/dist/{maintenance-Dm2McrIx.d.ts → maintenance-CJ-xqFp0.d.ts} +3 -3
- package/dist/mcp-memory-inspector-app.d.ts +15 -13
- package/dist/memory-action-policy.d.ts +18 -2
- package/dist/memory-action-policy.js +3 -1
- package/dist/memory-cache.d.ts +2 -1
- package/dist/memory-controller.d.ts +2 -1
- package/dist/memory-controller.js +2 -2
- 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-snapshot.d.ts +2 -1
- package/dist/memory-subject-cli.d.ts +15 -13
- package/dist/memory-subject.d.ts +15 -13
- package/dist/memory-subject.js +3 -3
- package/dist/memory-worth-outcomes.d.ts +5 -2
- package/dist/models-json.d.ts +2 -1
- package/dist/namespaces/migrate.d.ts +6 -3
- package/dist/namespaces/migrate.js +24 -24
- package/dist/namespaces/principal.d.ts +2 -1
- package/dist/namespaces/search.d.ts +2 -1
- package/dist/namespaces/search.js +9 -9
- package/dist/namespaces/storage.d.ts +6 -3
- package/dist/namespaces/storage.js +23 -23
- 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 +2 -2
- package/dist/operator-doctor-corpus.d.ts +2 -1
- package/dist/operator-doctor-corpus.js +26 -26
- package/dist/operator-doctor-replica.d.ts +2 -1
- package/dist/operator-toolkit.d.ts +6 -3
- package/dist/operator-toolkit.js +38 -37
- package/dist/orchestration/compression-guideline-coordinator.d.ts +5 -2
- package/dist/orchestration/maintenance.d.ts +7 -4
- package/dist/orchestration/maintenance.js +31 -31
- package/dist/{orchestrator-Co1DyfuP.d.ts → orchestrator-BsntWxLy.d.ts} +8 -8
- package/dist/orchestrator.d.ts +13 -11
- package/dist/orchestrator.js +143 -140
- package/dist/patterns-cli.d.ts +2 -1
- package/dist/{pipeline-DotMnb6y.d.ts → pipeline-CVoysPm2.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/{public-http-PJRtnSi-.d.ts → public-http-CuOxlTC2.d.ts} +1 -1
- package/dist/{qmd-BP0n11fR.d.ts → qmd-DWMAGA5l.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/reconcile/cursor.d.ts +2 -1
- package/dist/reconcile/manifest.d.ts +2 -1
- package/dist/reconcile/manifest.js +3 -3
- package/dist/reconcile/plan.d.ts +2 -1
- 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/replica-divergence.d.ts +2 -1
- package/dist/replica-peers-config.d.ts +2 -1
- package/dist/{resolution-4552BNRV.js → resolution-XWBPKYFB.js} +6 -6
- package/dist/resolution-XWBPKYFB.js.map +1 -0
- package/dist/resolve-auth-token.d.ts +2 -1
- package/dist/resume-bundles.js +11 -10
- 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/salvage-envelope.js +5 -5
- package/dist/schemas.d.ts +124 -124
- package/dist/{scope-profiles-6ChZKTy-.d.ts → scope-profiles-CPWkW_dI.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 +8 -8
- package/dist/search/index.d.ts +2 -1
- package/dist/search/index.js +14 -14
- 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-DziYcW5J.d.ts → semantic-consolidation-CNFVBXFc.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +3 -2
- package/dist/semantic-consolidation.js +29 -29
- package/dist/semantic-rule-promotion.js +23 -23
- package/dist/semantic-rule-verifier.d.ts +2 -1
- package/dist/semantic-rule-verifier.js +23 -23
- package/dist/{service-C7rIBuK_.d.ts → service-Bb-JIdQ0.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 +8 -7
- package/dist/signal.d.ts +2 -1
- package/dist/source-agent-qualifier.d.ts +2 -1
- package/dist/source-agent-qualifier.js +27 -27
- package/dist/{storage-B1hEx8Xg.d.ts → storage-CukrlNKk.d.ts} +4 -1
- package/dist/storage.d.ts +5 -2
- package/dist/storage.js +22 -22
- package/dist/subject-config.d.ts +2 -1
- package/dist/subject-config.js +4 -4
- package/dist/summarizer.d.ts +2 -1
- package/dist/summary-snapshot.d.ts +2 -1
- package/dist/support-passport/index.d.ts +18 -16
- package/dist/support-passport/index.js +45 -45
- 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 +5 -2
- package/dist/tier-routing.d.ts +2 -1
- package/dist/topics.d.ts +2 -1
- package/dist/transcript.d.ts +2 -1
- package/dist/transfer/types.d.ts +78 -78
- package/dist/trust-score-stage.d.ts +2 -1
- package/dist/trust-score.d.ts +2 -1
- package/dist/{types-BHDNxGTT.d.ts → types-djxQlxJ7.d.ts} +2 -1
- 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 +23 -23
- package/dist/who-knows-cli.d.ts +15 -13
- package/dist/who-knows-cli.js +24 -24
- package/dist/who-knows.d.ts +15 -13
- package/dist/who-knows.js +23 -23
- package/dist/write-envelope.d.ts +2 -1
- package/dist/write-envelope.js +4 -4
- package/package.json +22 -2
- package/src/active-context-config.ts +98 -0
- package/src/active-context-transform.test.ts +533 -0
- package/src/active-context-transform.ts +981 -0
- package/src/config.ts +3 -5
- package/src/context-summary.ts +182 -0
- package/src/index.ts +4 -11
- package/src/lcm/summarizer.ts +14 -93
- package/src/memory-action-policy.ts +28 -0
- package/src/storage/context-transform-ledger.ts +39 -0
- package/src/storage/secure-line-reader.ts +50 -1
- package/src/storage.ts +4 -1
- package/src/types.ts +2 -3
- package/dist/chunk-BJTHRFFC.js.map +0 -1
- package/dist/chunk-D4QVPP3G.js.map +0 -1
- package/dist/chunk-DVYRD4HY.js.map +0 -1
- package/dist/chunk-LBFFNDFM.js.map +0 -1
- package/dist/chunk-ZPUIRTIZ.js.map +0 -1
- /package/dist/{resolution-4552BNRV.js.map → active-context-config.js.map} +0 -0
- /package/dist/{auto-sync-XVMLL2RH.js.map → auto-sync-2YPITIWN.js.map} +0 -0
- /package/dist/{chunk-JBPKEARU.js.map → chunk-2QSZNTDO.js.map} +0 -0
- /package/dist/{chunk-S3K2CIK5.js.map → chunk-3A2NJP2U.js.map} +0 -0
- /package/dist/{chunk-OPGL46PX.js.map → chunk-3PKAS6VL.js.map} +0 -0
- /package/dist/{chunk-GTSVEEP3.js.map → chunk-3SZD4CYO.js.map} +0 -0
- /package/dist/{chunk-YKWFK7XA.js.map → chunk-4F4AQFWL.js.map} +0 -0
- /package/dist/{chunk-RGCF4XNH.js.map → chunk-4QEYREAV.js.map} +0 -0
- /package/dist/{chunk-46WM6JX2.js.map → chunk-4ZWCQJNM.js.map} +0 -0
- /package/dist/{chunk-3RI5Y7KU.js.map → chunk-5DHKCO52.js.map} +0 -0
- /package/dist/{chunk-VKCAHCBI.js.map → chunk-5RWZH6PH.js.map} +0 -0
- /package/dist/{chunk-52II7PB6.js.map → chunk-645WOU5I.js.map} +0 -0
- /package/dist/{chunk-A32YEQAM.js.map → chunk-76DIF5KT.js.map} +0 -0
- /package/dist/{chunk-OPPBTPUU.js.map → chunk-7KQB4EBS.js.map} +0 -0
- /package/dist/{chunk-I2HTKOOP.js.map → chunk-7VZFRUQU.js.map} +0 -0
- /package/dist/{chunk-JCWY73FK.js.map → chunk-AHPIFKNG.js.map} +0 -0
- /package/dist/{chunk-IP4ZNT4U.js.map → chunk-AZMLH5UT.js.map} +0 -0
- /package/dist/{chunk-JOEJG4SD.js.map → chunk-BEC4YBNA.js.map} +0 -0
- /package/dist/{chunk-VXVZ2GM3.js.map → chunk-CAMNRAJF.js.map} +0 -0
- /package/dist/{chunk-C24UZSFW.js.map → chunk-CEH2AFXG.js.map} +0 -0
- /package/dist/{chunk-YOXVZJFM.js.map → chunk-CFVTRUR3.js.map} +0 -0
- /package/dist/{chunk-SVSRPG6M.js.map → chunk-CPA5NBHN.js.map} +0 -0
- /package/dist/{chunk-7BEPVIH3.js.map → chunk-CRML27CO.js.map} +0 -0
- /package/dist/{chunk-IY7UXD3J.js.map → chunk-DA7ITC5Z.js.map} +0 -0
- /package/dist/{chunk-AFR6AIM4.js.map → chunk-DEACDKE3.js.map} +0 -0
- /package/dist/{chunk-NG3MBQV4.js.map → chunk-DPCXDG7G.js.map} +0 -0
- /package/dist/{chunk-HZNYJN77.js.map → chunk-F3NVYTTA.js.map} +0 -0
- /package/dist/{chunk-PDDSFELN.js.map → chunk-F7XUD3PL.js.map} +0 -0
- /package/dist/{chunk-YWSQD2IB.js.map → chunk-GTO56JY5.js.map} +0 -0
- /package/dist/{chunk-RAIUTAZZ.js.map → chunk-H2YSH3DG.js.map} +0 -0
- /package/dist/{chunk-F6QHHRWP.js.map → chunk-HMZKGHMD.js.map} +0 -0
- /package/dist/{chunk-ZIJDI4CP.js.map → chunk-HRHO3ZNG.js.map} +0 -0
- /package/dist/{chunk-SDEPLF7V.js.map → chunk-IBJ6U753.js.map} +0 -0
- /package/dist/{chunk-T3JQTCCO.js.map → chunk-JI7U6AS3.js.map} +0 -0
- /package/dist/{chunk-TR7DGXGI.js.map → chunk-JOZUBF4A.js.map} +0 -0
- /package/dist/{chunk-I7EX6KSH.js.map → chunk-JYSN42VN.js.map} +0 -0
- /package/dist/{chunk-FMQ4MOQO.js.map → chunk-KZIF6XHX.js.map} +0 -0
- /package/dist/{chunk-RIAM7DND.js.map → chunk-LDKPDODJ.js.map} +0 -0
- /package/dist/{chunk-227UFSEQ.js.map → chunk-LEPOP46W.js.map} +0 -0
- /package/dist/{chunk-LLQCM2U2.js.map → chunk-LKYIOCWL.js.map} +0 -0
- /package/dist/{chunk-5S4LQOPE.js.map → chunk-LOXHYCVS.js.map} +0 -0
- /package/dist/{chunk-ANJXPFRS.js.map → chunk-LPNCR4QK.js.map} +0 -0
- /package/dist/{chunk-GEPACVWN.js.map → chunk-MDD2RINF.js.map} +0 -0
- /package/dist/{chunk-6CPUQ5D6.js.map → chunk-MY2BC6UE.js.map} +0 -0
- /package/dist/{chunk-CFGU52XJ.js.map → chunk-NPFUNWNX.js.map} +0 -0
- /package/dist/{chunk-MFOSZUIT.js.map → chunk-NPIBN2VL.js.map} +0 -0
- /package/dist/{chunk-5DH6PG4B.js.map → chunk-OA2O2GJ4.js.map} +0 -0
- /package/dist/{chunk-JAQXUGLN.js.map → chunk-ODU2CNNX.js.map} +0 -0
- /package/dist/{chunk-RQE4TITU.js.map → chunk-OXRRJXPR.js.map} +0 -0
- /package/dist/{chunk-SEA6M7SS.js.map → chunk-P36Z4JRA.js.map} +0 -0
- /package/dist/{chunk-Z4U3UN56.js.map → chunk-PU56CXZA.js.map} +0 -0
- /package/dist/{chunk-5VPQSRQO.js.map → chunk-S5XOSTYM.js.map} +0 -0
- /package/dist/{chunk-SVVIASVX.js.map → chunk-SEEJOGQX.js.map} +0 -0
- /package/dist/{chunk-7TCGNUVP.js.map → chunk-SNOIKAHM.js.map} +0 -0
- /package/dist/{chunk-7F27PCSN.js.map → chunk-T6ILXUAH.js.map} +0 -0
- /package/dist/{chunk-EOHKUWXW.js.map → chunk-T7XP6IZE.js.map} +0 -0
- /package/dist/{chunk-7WR462EM.js.map → chunk-TFR3HG4K.js.map} +0 -0
- /package/dist/{chunk-YRVAKONL.js.map → chunk-TUHBYJXL.js.map} +0 -0
- /package/dist/{chunk-F635GAL7.js.map → chunk-U7EW2W4W.js.map} +0 -0
- /package/dist/{chunk-VFYRYFLL.js.map → chunk-UEBDCMOO.js.map} +0 -0
- /package/dist/{chunk-WTOZBZNN.js.map → chunk-UENKPWCS.js.map} +0 -0
- /package/dist/{chunk-AAXJNINV.js.map → chunk-UL4MKZHI.js.map} +0 -0
- /package/dist/{chunk-R2MZCYA6.js.map → chunk-UNUMFURP.js.map} +0 -0
- /package/dist/{chunk-ACOC27BB.js.map → chunk-UPFNQJC7.js.map} +0 -0
- /package/dist/{chunk-W4BMEGQA.js.map → chunk-UTQUEHC7.js.map} +0 -0
- /package/dist/{chunk-I32NKXE2.js.map → chunk-V4IDF3EZ.js.map} +0 -0
- /package/dist/{chunk-ZAOHJDKH.js.map → chunk-WNXYT4MK.js.map} +0 -0
- /package/dist/{chunk-T42L3S6A.js.map → chunk-XBGHAAKR.js.map} +0 -0
- /package/dist/{chunk-I4343FIA.js.map → chunk-XNWXSGHS.js.map} +0 -0
- /package/dist/{chunk-THG4GYIE.js.map → chunk-YEUXERJ6.js.map} +0 -0
- /package/dist/{chunk-EZ25VE3G.js.map → chunk-YNDLCWXS.js.map} +0 -0
- /package/dist/{chunk-5HERQ5FX.js.map → chunk-Z3YEGSR4.js.map} +0 -0
- /package/dist/{forget-SZ2BXDGF.js.map → forget-2AE4MDK3.js.map} +0 -0
package/dist/schemas.d.ts
CHANGED
|
@@ -7,15 +7,15 @@ declare const MemoryActionEligibilityContextSchema: z.ZodObject<{
|
|
|
7
7
|
importance: z.ZodNumber;
|
|
8
8
|
source: z.ZodEnum<["extraction", "consolidation", "replay", "manual", "unknown"]>;
|
|
9
9
|
}, "strict", z.ZodTypeAny, {
|
|
10
|
-
source: "manual" | "unknown" | "extraction" | "consolidation" | "replay";
|
|
11
10
|
confidence: number;
|
|
12
|
-
|
|
11
|
+
source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
|
|
13
12
|
importance: number;
|
|
13
|
+
lifecycleState: "active" | "archived" | "stale" | "candidate" | "validated";
|
|
14
14
|
}, {
|
|
15
|
-
source: "manual" | "unknown" | "extraction" | "consolidation" | "replay";
|
|
16
15
|
confidence: number;
|
|
17
|
-
|
|
16
|
+
source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
|
|
18
17
|
importance: number;
|
|
18
|
+
lifecycleState: "active" | "archived" | "stale" | "candidate" | "validated";
|
|
19
19
|
}>;
|
|
20
20
|
declare function parseMemoryActionType(value: unknown): z.infer<typeof MemoryActionTypeSchema>;
|
|
21
21
|
declare function parseMemoryActionEligibilityContext(value: unknown): z.infer<typeof MemoryActionEligibilityContextSchema>;
|
|
@@ -64,10 +64,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
64
64
|
value: z.ZodString;
|
|
65
65
|
}, "strip", z.ZodTypeAny, {
|
|
66
66
|
value: string;
|
|
67
|
-
type: "
|
|
67
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
68
68
|
}, {
|
|
69
69
|
value: string;
|
|
70
|
-
type: "
|
|
70
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
71
71
|
}>, "many">>>;
|
|
72
72
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
73
73
|
scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
|
|
@@ -113,11 +113,11 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
113
113
|
order: z.ZodNumber;
|
|
114
114
|
description: z.ZodString;
|
|
115
115
|
}, "strip", z.ZodTypeAny, {
|
|
116
|
-
order: number;
|
|
117
116
|
description: string;
|
|
118
|
-
}, {
|
|
119
117
|
order: number;
|
|
118
|
+
}, {
|
|
120
119
|
description: string;
|
|
120
|
+
order: number;
|
|
121
121
|
}>, "many">;
|
|
122
122
|
finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
123
123
|
final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -125,8 +125,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
125
125
|
observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
126
126
|
}, "strip", z.ZodTypeAny, {
|
|
127
127
|
steps: {
|
|
128
|
-
order: number;
|
|
129
128
|
description: string;
|
|
129
|
+
order: number;
|
|
130
130
|
}[];
|
|
131
131
|
finalAnswer?: string | null | undefined;
|
|
132
132
|
final_answer?: string | null | undefined;
|
|
@@ -134,8 +134,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
134
134
|
observed_outcome?: string | null | undefined;
|
|
135
135
|
}, {
|
|
136
136
|
steps: {
|
|
137
|
-
order: number;
|
|
138
137
|
description: string;
|
|
138
|
+
order: number;
|
|
139
139
|
}[];
|
|
140
140
|
finalAnswer?: string | null | undefined;
|
|
141
141
|
final_answer?: string | null | undefined;
|
|
@@ -143,8 +143,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
143
143
|
observed_outcome?: string | null | undefined;
|
|
144
144
|
}>, {
|
|
145
145
|
steps: {
|
|
146
|
-
order: number;
|
|
147
146
|
description: string;
|
|
147
|
+
order: number;
|
|
148
148
|
}[];
|
|
149
149
|
finalAnswer?: string | null | undefined;
|
|
150
150
|
final_answer?: string | null | undefined;
|
|
@@ -152,8 +152,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
152
152
|
observed_outcome?: string | null | undefined;
|
|
153
153
|
}, {
|
|
154
154
|
steps: {
|
|
155
|
-
order: number;
|
|
156
155
|
description: string;
|
|
156
|
+
order: number;
|
|
157
157
|
}[];
|
|
158
158
|
finalAnswer?: string | null | undefined;
|
|
159
159
|
final_answer?: string | null | undefined;
|
|
@@ -163,17 +163,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
163
163
|
eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
164
164
|
event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
165
165
|
}, "strip", z.ZodTypeAny, {
|
|
166
|
-
|
|
166
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
167
167
|
content: string;
|
|
168
168
|
confidence: number;
|
|
169
|
-
|
|
170
|
-
scope?: "project" | "global" | null | undefined;
|
|
171
|
-
subject?: "user" | "agent" | null | undefined;
|
|
169
|
+
tags: string[];
|
|
172
170
|
entityRef?: string | null | undefined;
|
|
173
171
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
172
|
+
subject?: "user" | "agent" | null | undefined;
|
|
173
|
+
scope?: "project" | "global" | null | undefined;
|
|
174
174
|
cueAnchors?: {
|
|
175
175
|
value: string;
|
|
176
|
-
type: "
|
|
176
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
177
177
|
}[] | null | undefined;
|
|
178
178
|
promptedByQuestion?: string | null | undefined;
|
|
179
179
|
quote?: string | null | undefined;
|
|
@@ -189,8 +189,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
189
189
|
}[] | null | undefined;
|
|
190
190
|
reasoningTrace?: {
|
|
191
191
|
steps: {
|
|
192
|
-
order: number;
|
|
193
192
|
description: string;
|
|
193
|
+
order: number;
|
|
194
194
|
}[];
|
|
195
195
|
finalAnswer?: string | null | undefined;
|
|
196
196
|
final_answer?: string | null | undefined;
|
|
@@ -200,17 +200,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
200
200
|
eventTime?: string | null | undefined;
|
|
201
201
|
event_time?: string | null | undefined;
|
|
202
202
|
}, {
|
|
203
|
-
|
|
203
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
204
204
|
content: string;
|
|
205
205
|
confidence: number;
|
|
206
|
-
|
|
207
|
-
scope?: "project" | "global" | null | undefined;
|
|
208
|
-
subject?: "user" | "agent" | null | undefined;
|
|
206
|
+
tags: string[];
|
|
209
207
|
entityRef?: string | null | undefined;
|
|
210
208
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
209
|
+
subject?: "user" | "agent" | null | undefined;
|
|
210
|
+
scope?: "project" | "global" | null | undefined;
|
|
211
211
|
cueAnchors?: {
|
|
212
212
|
value: string;
|
|
213
|
-
type: "
|
|
213
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
214
214
|
}[] | null | undefined;
|
|
215
215
|
promptedByQuestion?: string | null | undefined;
|
|
216
216
|
quote?: string | null | undefined;
|
|
@@ -226,8 +226,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
226
226
|
}[] | null | undefined;
|
|
227
227
|
reasoningTrace?: {
|
|
228
228
|
steps: {
|
|
229
|
-
order: number;
|
|
230
229
|
description: string;
|
|
230
|
+
order: number;
|
|
231
231
|
}[];
|
|
232
232
|
finalAnswer?: string | null | undefined;
|
|
233
233
|
final_answer?: string | null | undefined;
|
|
@@ -237,17 +237,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
237
237
|
eventTime?: string | null | undefined;
|
|
238
238
|
event_time?: string | null | undefined;
|
|
239
239
|
}>, {
|
|
240
|
-
|
|
240
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
241
241
|
content: string;
|
|
242
242
|
confidence: number;
|
|
243
|
-
|
|
244
|
-
scope?: "project" | "global" | null | undefined;
|
|
245
|
-
subject?: "user" | "agent" | null | undefined;
|
|
243
|
+
tags: string[];
|
|
246
244
|
entityRef?: string | null | undefined;
|
|
247
245
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
246
|
+
subject?: "user" | "agent" | null | undefined;
|
|
247
|
+
scope?: "project" | "global" | null | undefined;
|
|
248
248
|
cueAnchors?: {
|
|
249
249
|
value: string;
|
|
250
|
-
type: "
|
|
250
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
251
251
|
}[] | null | undefined;
|
|
252
252
|
promptedByQuestion?: string | null | undefined;
|
|
253
253
|
quote?: string | null | undefined;
|
|
@@ -263,8 +263,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
263
263
|
}[] | null | undefined;
|
|
264
264
|
reasoningTrace?: {
|
|
265
265
|
steps: {
|
|
266
|
-
order: number;
|
|
267
266
|
description: string;
|
|
267
|
+
order: number;
|
|
268
268
|
}[];
|
|
269
269
|
finalAnswer?: string | null | undefined;
|
|
270
270
|
final_answer?: string | null | undefined;
|
|
@@ -274,17 +274,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
274
274
|
eventTime?: string | null | undefined;
|
|
275
275
|
event_time?: string | null | undefined;
|
|
276
276
|
}, {
|
|
277
|
-
|
|
277
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
278
278
|
content: string;
|
|
279
279
|
confidence: number;
|
|
280
|
-
|
|
281
|
-
scope?: "project" | "global" | null | undefined;
|
|
282
|
-
subject?: "user" | "agent" | null | undefined;
|
|
280
|
+
tags: string[];
|
|
283
281
|
entityRef?: string | null | undefined;
|
|
284
282
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
283
|
+
subject?: "user" | "agent" | null | undefined;
|
|
284
|
+
scope?: "project" | "global" | null | undefined;
|
|
285
285
|
cueAnchors?: {
|
|
286
286
|
value: string;
|
|
287
|
-
type: "
|
|
287
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
288
288
|
}[] | null | undefined;
|
|
289
289
|
promptedByQuestion?: string | null | undefined;
|
|
290
290
|
quote?: string | null | undefined;
|
|
@@ -300,8 +300,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
300
300
|
}[] | null | undefined;
|
|
301
301
|
reasoningTrace?: {
|
|
302
302
|
steps: {
|
|
303
|
-
order: number;
|
|
304
303
|
description: string;
|
|
304
|
+
order: number;
|
|
305
305
|
}[];
|
|
306
306
|
finalAnswer?: string | null | undefined;
|
|
307
307
|
final_answer?: string | null | undefined;
|
|
@@ -321,12 +321,12 @@ declare const EntityMentionSchema: z.ZodObject<{
|
|
|
321
321
|
title: z.ZodString;
|
|
322
322
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
323
323
|
}, "strip", z.ZodTypeAny, {
|
|
324
|
-
title: string;
|
|
325
324
|
key: string;
|
|
325
|
+
title: string;
|
|
326
326
|
facts: string[];
|
|
327
327
|
}, {
|
|
328
|
-
title: string;
|
|
329
328
|
key: string;
|
|
329
|
+
title: string;
|
|
330
330
|
facts: string[];
|
|
331
331
|
}>, "many">>>;
|
|
332
332
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -335,8 +335,8 @@ declare const EntityMentionSchema: z.ZodObject<{
|
|
|
335
335
|
facts: string[];
|
|
336
336
|
promptedByQuestion?: string | null | undefined;
|
|
337
337
|
structuredSections?: {
|
|
338
|
-
title: string;
|
|
339
338
|
key: string;
|
|
339
|
+
title: string;
|
|
340
340
|
facts: string[];
|
|
341
341
|
}[] | null | undefined;
|
|
342
342
|
}, {
|
|
@@ -345,8 +345,8 @@ declare const EntityMentionSchema: z.ZodObject<{
|
|
|
345
345
|
facts: string[];
|
|
346
346
|
promptedByQuestion?: string | null | undefined;
|
|
347
347
|
structuredSections?: {
|
|
348
|
-
title: string;
|
|
349
348
|
key: string;
|
|
349
|
+
title: string;
|
|
350
350
|
facts: string[];
|
|
351
351
|
}[] | null | undefined;
|
|
352
352
|
}>;
|
|
@@ -396,13 +396,13 @@ declare const ExtractedRelationshipSchema: z.ZodObject<{
|
|
|
396
396
|
label: z.ZodString;
|
|
397
397
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
398
398
|
}, "strip", z.ZodTypeAny, {
|
|
399
|
-
source: string;
|
|
400
399
|
label: string;
|
|
400
|
+
source: string;
|
|
401
401
|
target: string;
|
|
402
402
|
promptedByQuestion?: string | null | undefined;
|
|
403
403
|
}, {
|
|
404
|
-
source: string;
|
|
405
404
|
label: string;
|
|
405
|
+
source: string;
|
|
406
406
|
target: string;
|
|
407
407
|
promptedByQuestion?: string | null | undefined;
|
|
408
408
|
}>;
|
|
@@ -418,10 +418,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
418
418
|
value: z.ZodString;
|
|
419
419
|
}, "strip", z.ZodTypeAny, {
|
|
420
420
|
value: string;
|
|
421
|
-
type: "
|
|
421
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
422
422
|
}, {
|
|
423
423
|
value: string;
|
|
424
|
-
type: "
|
|
424
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
425
425
|
}>, "many">>>;
|
|
426
426
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
427
427
|
scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
|
|
@@ -467,11 +467,11 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
467
467
|
order: z.ZodNumber;
|
|
468
468
|
description: z.ZodString;
|
|
469
469
|
}, "strip", z.ZodTypeAny, {
|
|
470
|
-
order: number;
|
|
471
470
|
description: string;
|
|
472
|
-
}, {
|
|
473
471
|
order: number;
|
|
472
|
+
}, {
|
|
474
473
|
description: string;
|
|
474
|
+
order: number;
|
|
475
475
|
}>, "many">;
|
|
476
476
|
finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
477
477
|
final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -479,8 +479,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
479
479
|
observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
480
480
|
}, "strip", z.ZodTypeAny, {
|
|
481
481
|
steps: {
|
|
482
|
-
order: number;
|
|
483
482
|
description: string;
|
|
483
|
+
order: number;
|
|
484
484
|
}[];
|
|
485
485
|
finalAnswer?: string | null | undefined;
|
|
486
486
|
final_answer?: string | null | undefined;
|
|
@@ -488,8 +488,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
488
488
|
observed_outcome?: string | null | undefined;
|
|
489
489
|
}, {
|
|
490
490
|
steps: {
|
|
491
|
-
order: number;
|
|
492
491
|
description: string;
|
|
492
|
+
order: number;
|
|
493
493
|
}[];
|
|
494
494
|
finalAnswer?: string | null | undefined;
|
|
495
495
|
final_answer?: string | null | undefined;
|
|
@@ -497,8 +497,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
497
497
|
observed_outcome?: string | null | undefined;
|
|
498
498
|
}>, {
|
|
499
499
|
steps: {
|
|
500
|
-
order: number;
|
|
501
500
|
description: string;
|
|
501
|
+
order: number;
|
|
502
502
|
}[];
|
|
503
503
|
finalAnswer?: string | null | undefined;
|
|
504
504
|
final_answer?: string | null | undefined;
|
|
@@ -506,8 +506,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
506
506
|
observed_outcome?: string | null | undefined;
|
|
507
507
|
}, {
|
|
508
508
|
steps: {
|
|
509
|
-
order: number;
|
|
510
509
|
description: string;
|
|
510
|
+
order: number;
|
|
511
511
|
}[];
|
|
512
512
|
finalAnswer?: string | null | undefined;
|
|
513
513
|
final_answer?: string | null | undefined;
|
|
@@ -517,17 +517,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
517
517
|
eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
518
518
|
event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
519
519
|
}, "strip", z.ZodTypeAny, {
|
|
520
|
-
|
|
520
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
521
521
|
content: string;
|
|
522
522
|
confidence: number;
|
|
523
|
-
|
|
524
|
-
scope?: "project" | "global" | null | undefined;
|
|
525
|
-
subject?: "user" | "agent" | null | undefined;
|
|
523
|
+
tags: string[];
|
|
526
524
|
entityRef?: string | null | undefined;
|
|
527
525
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
526
|
+
subject?: "user" | "agent" | null | undefined;
|
|
527
|
+
scope?: "project" | "global" | null | undefined;
|
|
528
528
|
cueAnchors?: {
|
|
529
529
|
value: string;
|
|
530
|
-
type: "
|
|
530
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
531
531
|
}[] | null | undefined;
|
|
532
532
|
promptedByQuestion?: string | null | undefined;
|
|
533
533
|
quote?: string | null | undefined;
|
|
@@ -543,8 +543,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
543
543
|
}[] | null | undefined;
|
|
544
544
|
reasoningTrace?: {
|
|
545
545
|
steps: {
|
|
546
|
-
order: number;
|
|
547
546
|
description: string;
|
|
547
|
+
order: number;
|
|
548
548
|
}[];
|
|
549
549
|
finalAnswer?: string | null | undefined;
|
|
550
550
|
final_answer?: string | null | undefined;
|
|
@@ -554,17 +554,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
554
554
|
eventTime?: string | null | undefined;
|
|
555
555
|
event_time?: string | null | undefined;
|
|
556
556
|
}, {
|
|
557
|
-
|
|
557
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
558
558
|
content: string;
|
|
559
559
|
confidence: number;
|
|
560
|
-
|
|
561
|
-
scope?: "project" | "global" | null | undefined;
|
|
562
|
-
subject?: "user" | "agent" | null | undefined;
|
|
560
|
+
tags: string[];
|
|
563
561
|
entityRef?: string | null | undefined;
|
|
564
562
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
563
|
+
subject?: "user" | "agent" | null | undefined;
|
|
564
|
+
scope?: "project" | "global" | null | undefined;
|
|
565
565
|
cueAnchors?: {
|
|
566
566
|
value: string;
|
|
567
|
-
type: "
|
|
567
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
568
568
|
}[] | null | undefined;
|
|
569
569
|
promptedByQuestion?: string | null | undefined;
|
|
570
570
|
quote?: string | null | undefined;
|
|
@@ -580,8 +580,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
580
580
|
}[] | null | undefined;
|
|
581
581
|
reasoningTrace?: {
|
|
582
582
|
steps: {
|
|
583
|
-
order: number;
|
|
584
583
|
description: string;
|
|
584
|
+
order: number;
|
|
585
585
|
}[];
|
|
586
586
|
finalAnswer?: string | null | undefined;
|
|
587
587
|
final_answer?: string | null | undefined;
|
|
@@ -591,17 +591,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
591
591
|
eventTime?: string | null | undefined;
|
|
592
592
|
event_time?: string | null | undefined;
|
|
593
593
|
}>, {
|
|
594
|
-
|
|
594
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
595
595
|
content: string;
|
|
596
596
|
confidence: number;
|
|
597
|
-
|
|
598
|
-
scope?: "project" | "global" | null | undefined;
|
|
599
|
-
subject?: "user" | "agent" | null | undefined;
|
|
597
|
+
tags: string[];
|
|
600
598
|
entityRef?: string | null | undefined;
|
|
601
599
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
600
|
+
subject?: "user" | "agent" | null | undefined;
|
|
601
|
+
scope?: "project" | "global" | null | undefined;
|
|
602
602
|
cueAnchors?: {
|
|
603
603
|
value: string;
|
|
604
|
-
type: "
|
|
604
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
605
605
|
}[] | null | undefined;
|
|
606
606
|
promptedByQuestion?: string | null | undefined;
|
|
607
607
|
quote?: string | null | undefined;
|
|
@@ -617,8 +617,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
617
617
|
}[] | null | undefined;
|
|
618
618
|
reasoningTrace?: {
|
|
619
619
|
steps: {
|
|
620
|
-
order: number;
|
|
621
620
|
description: string;
|
|
621
|
+
order: number;
|
|
622
622
|
}[];
|
|
623
623
|
finalAnswer?: string | null | undefined;
|
|
624
624
|
final_answer?: string | null | undefined;
|
|
@@ -628,17 +628,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
628
628
|
eventTime?: string | null | undefined;
|
|
629
629
|
event_time?: string | null | undefined;
|
|
630
630
|
}, {
|
|
631
|
-
|
|
631
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
632
632
|
content: string;
|
|
633
633
|
confidence: number;
|
|
634
|
-
|
|
635
|
-
scope?: "project" | "global" | null | undefined;
|
|
636
|
-
subject?: "user" | "agent" | null | undefined;
|
|
634
|
+
tags: string[];
|
|
637
635
|
entityRef?: string | null | undefined;
|
|
638
636
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
637
|
+
subject?: "user" | "agent" | null | undefined;
|
|
638
|
+
scope?: "project" | "global" | null | undefined;
|
|
639
639
|
cueAnchors?: {
|
|
640
640
|
value: string;
|
|
641
|
-
type: "
|
|
641
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
642
642
|
}[] | null | undefined;
|
|
643
643
|
promptedByQuestion?: string | null | undefined;
|
|
644
644
|
quote?: string | null | undefined;
|
|
@@ -654,8 +654,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
654
654
|
}[] | null | undefined;
|
|
655
655
|
reasoningTrace?: {
|
|
656
656
|
steps: {
|
|
657
|
-
order: number;
|
|
658
657
|
description: string;
|
|
658
|
+
order: number;
|
|
659
659
|
}[];
|
|
660
660
|
finalAnswer?: string | null | undefined;
|
|
661
661
|
final_answer?: string | null | undefined;
|
|
@@ -676,12 +676,12 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
676
676
|
title: z.ZodString;
|
|
677
677
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
678
678
|
}, "strip", z.ZodTypeAny, {
|
|
679
|
-
title: string;
|
|
680
679
|
key: string;
|
|
680
|
+
title: string;
|
|
681
681
|
facts: string[];
|
|
682
682
|
}, {
|
|
683
|
-
title: string;
|
|
684
683
|
key: string;
|
|
684
|
+
title: string;
|
|
685
685
|
facts: string[];
|
|
686
686
|
}>, "many">>>;
|
|
687
687
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -690,8 +690,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
690
690
|
facts: string[];
|
|
691
691
|
promptedByQuestion?: string | null | undefined;
|
|
692
692
|
structuredSections?: {
|
|
693
|
-
title: string;
|
|
694
693
|
key: string;
|
|
694
|
+
title: string;
|
|
695
695
|
facts: string[];
|
|
696
696
|
}[] | null | undefined;
|
|
697
697
|
}, {
|
|
@@ -700,8 +700,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
700
700
|
facts: string[];
|
|
701
701
|
promptedByQuestion?: string | null | undefined;
|
|
702
702
|
structuredSections?: {
|
|
703
|
-
title: string;
|
|
704
703
|
key: string;
|
|
704
|
+
title: string;
|
|
705
705
|
facts: string[];
|
|
706
706
|
}[] | null | undefined;
|
|
707
707
|
}>, "many">;
|
|
@@ -711,29 +711,29 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
711
711
|
label: z.ZodString;
|
|
712
712
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
713
713
|
}, "strip", z.ZodTypeAny, {
|
|
714
|
-
source: string;
|
|
715
714
|
label: string;
|
|
715
|
+
source: string;
|
|
716
716
|
target: string;
|
|
717
717
|
promptedByQuestion?: string | null | undefined;
|
|
718
718
|
}, {
|
|
719
|
-
source: string;
|
|
720
719
|
label: string;
|
|
720
|
+
source: string;
|
|
721
721
|
target: string;
|
|
722
722
|
promptedByQuestion?: string | null | undefined;
|
|
723
723
|
}>, "many">>>;
|
|
724
724
|
}, "strip", z.ZodTypeAny, {
|
|
725
725
|
facts: {
|
|
726
|
-
|
|
726
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
727
727
|
content: string;
|
|
728
728
|
confidence: number;
|
|
729
|
-
|
|
730
|
-
scope?: "project" | "global" | null | undefined;
|
|
731
|
-
subject?: "user" | "agent" | null | undefined;
|
|
729
|
+
tags: string[];
|
|
732
730
|
entityRef?: string | null | undefined;
|
|
733
731
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
732
|
+
subject?: "user" | "agent" | null | undefined;
|
|
733
|
+
scope?: "project" | "global" | null | undefined;
|
|
734
734
|
cueAnchors?: {
|
|
735
735
|
value: string;
|
|
736
|
-
type: "
|
|
736
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
737
737
|
}[] | null | undefined;
|
|
738
738
|
promptedByQuestion?: string | null | undefined;
|
|
739
739
|
quote?: string | null | undefined;
|
|
@@ -749,8 +749,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
749
749
|
}[] | null | undefined;
|
|
750
750
|
reasoningTrace?: {
|
|
751
751
|
steps: {
|
|
752
|
-
order: number;
|
|
753
752
|
description: string;
|
|
753
|
+
order: number;
|
|
754
754
|
}[];
|
|
755
755
|
finalAnswer?: string | null | undefined;
|
|
756
756
|
final_answer?: string | null | undefined;
|
|
@@ -766,31 +766,31 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
766
766
|
facts: string[];
|
|
767
767
|
promptedByQuestion?: string | null | undefined;
|
|
768
768
|
structuredSections?: {
|
|
769
|
-
title: string;
|
|
770
769
|
key: string;
|
|
770
|
+
title: string;
|
|
771
771
|
facts: string[];
|
|
772
772
|
}[] | null | undefined;
|
|
773
773
|
}[];
|
|
774
774
|
profileUpdates: string[];
|
|
775
775
|
relationships?: {
|
|
776
|
-
source: string;
|
|
777
776
|
label: string;
|
|
777
|
+
source: string;
|
|
778
778
|
target: string;
|
|
779
779
|
promptedByQuestion?: string | null | undefined;
|
|
780
780
|
}[] | null | undefined;
|
|
781
781
|
}, {
|
|
782
782
|
facts: {
|
|
783
|
-
|
|
783
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
784
784
|
content: string;
|
|
785
785
|
confidence: number;
|
|
786
|
-
|
|
787
|
-
scope?: "project" | "global" | null | undefined;
|
|
788
|
-
subject?: "user" | "agent" | null | undefined;
|
|
786
|
+
tags: string[];
|
|
789
787
|
entityRef?: string | null | undefined;
|
|
790
788
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
789
|
+
subject?: "user" | "agent" | null | undefined;
|
|
790
|
+
scope?: "project" | "global" | null | undefined;
|
|
791
791
|
cueAnchors?: {
|
|
792
792
|
value: string;
|
|
793
|
-
type: "
|
|
793
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
794
794
|
}[] | null | undefined;
|
|
795
795
|
promptedByQuestion?: string | null | undefined;
|
|
796
796
|
quote?: string | null | undefined;
|
|
@@ -806,8 +806,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
806
806
|
}[] | null | undefined;
|
|
807
807
|
reasoningTrace?: {
|
|
808
808
|
steps: {
|
|
809
|
-
order: number;
|
|
810
809
|
description: string;
|
|
810
|
+
order: number;
|
|
811
811
|
}[];
|
|
812
812
|
finalAnswer?: string | null | undefined;
|
|
813
813
|
final_answer?: string | null | undefined;
|
|
@@ -823,32 +823,32 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
823
823
|
facts: string[];
|
|
824
824
|
promptedByQuestion?: string | null | undefined;
|
|
825
825
|
structuredSections?: {
|
|
826
|
-
title: string;
|
|
827
826
|
key: string;
|
|
827
|
+
title: string;
|
|
828
828
|
facts: string[];
|
|
829
829
|
}[] | null | undefined;
|
|
830
830
|
}[];
|
|
831
831
|
profileUpdates: string[];
|
|
832
832
|
relationships?: {
|
|
833
|
-
source: string;
|
|
834
833
|
label: string;
|
|
834
|
+
source: string;
|
|
835
835
|
target: string;
|
|
836
836
|
promptedByQuestion?: string | null | undefined;
|
|
837
837
|
}[] | null | undefined;
|
|
838
838
|
}>;
|
|
839
839
|
declare const ExtractionResultSchema: z.ZodObject<{
|
|
840
840
|
facts: z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
|
|
841
|
-
|
|
841
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
842
842
|
content: string;
|
|
843
843
|
confidence: number;
|
|
844
|
-
|
|
845
|
-
scope?: "project" | "global" | null | undefined;
|
|
846
|
-
subject?: "user" | "agent" | null | undefined;
|
|
844
|
+
tags: string[];
|
|
847
845
|
entityRef?: string | null | undefined;
|
|
848
846
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
847
|
+
subject?: "user" | "agent" | null | undefined;
|
|
848
|
+
scope?: "project" | "global" | null | undefined;
|
|
849
849
|
cueAnchors?: {
|
|
850
850
|
value: string;
|
|
851
|
-
type: "
|
|
851
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
852
852
|
}[] | null | undefined;
|
|
853
853
|
promptedByQuestion?: string | null | undefined;
|
|
854
854
|
quote?: string | null | undefined;
|
|
@@ -864,8 +864,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
864
864
|
}[] | null | undefined;
|
|
865
865
|
reasoningTrace?: {
|
|
866
866
|
steps: {
|
|
867
|
-
order: number;
|
|
868
867
|
description: string;
|
|
868
|
+
order: number;
|
|
869
869
|
}[];
|
|
870
870
|
finalAnswer?: string | null | undefined;
|
|
871
871
|
final_answer?: string | null | undefined;
|
|
@@ -882,8 +882,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
882
882
|
facts: string[];
|
|
883
883
|
promptedByQuestion?: string | null | undefined;
|
|
884
884
|
structuredSections?: {
|
|
885
|
-
title: string;
|
|
886
885
|
key: string;
|
|
886
|
+
title: string;
|
|
887
887
|
facts: string[];
|
|
888
888
|
}[] | null | undefined;
|
|
889
889
|
}[], unknown[]>;
|
|
@@ -895,8 +895,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
895
895
|
identityReflection: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
896
896
|
episodeTitle: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
897
897
|
relationships: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
|
|
898
|
-
source: string;
|
|
899
898
|
label: string;
|
|
899
|
+
source: string;
|
|
900
900
|
target: string;
|
|
901
901
|
promptedByQuestion?: string | null | undefined;
|
|
902
902
|
}[], unknown[]>>>;
|
|
@@ -907,17 +907,17 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
907
907
|
context: string;
|
|
908
908
|
}[];
|
|
909
909
|
facts: {
|
|
910
|
-
|
|
910
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
911
911
|
content: string;
|
|
912
912
|
confidence: number;
|
|
913
|
-
|
|
914
|
-
scope?: "project" | "global" | null | undefined;
|
|
915
|
-
subject?: "user" | "agent" | null | undefined;
|
|
913
|
+
tags: string[];
|
|
916
914
|
entityRef?: string | null | undefined;
|
|
917
915
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
916
|
+
subject?: "user" | "agent" | null | undefined;
|
|
917
|
+
scope?: "project" | "global" | null | undefined;
|
|
918
918
|
cueAnchors?: {
|
|
919
919
|
value: string;
|
|
920
|
-
type: "
|
|
920
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
921
921
|
}[] | null | undefined;
|
|
922
922
|
promptedByQuestion?: string | null | undefined;
|
|
923
923
|
quote?: string | null | undefined;
|
|
@@ -933,8 +933,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
933
933
|
}[] | null | undefined;
|
|
934
934
|
reasoningTrace?: {
|
|
935
935
|
steps: {
|
|
936
|
-
order: number;
|
|
937
936
|
description: string;
|
|
937
|
+
order: number;
|
|
938
938
|
}[];
|
|
939
939
|
finalAnswer?: string | null | undefined;
|
|
940
940
|
final_answer?: string | null | undefined;
|
|
@@ -950,15 +950,15 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
950
950
|
facts: string[];
|
|
951
951
|
promptedByQuestion?: string | null | undefined;
|
|
952
952
|
structuredSections?: {
|
|
953
|
-
title: string;
|
|
954
953
|
key: string;
|
|
954
|
+
title: string;
|
|
955
955
|
facts: string[];
|
|
956
956
|
}[] | null | undefined;
|
|
957
957
|
}[];
|
|
958
958
|
profileUpdates: string[];
|
|
959
959
|
relationships?: {
|
|
960
|
-
source: string;
|
|
961
960
|
label: string;
|
|
961
|
+
source: string;
|
|
962
962
|
target: string;
|
|
963
963
|
promptedByQuestion?: string | null | undefined;
|
|
964
964
|
}[] | null | undefined;
|
|
@@ -980,14 +980,14 @@ declare const ConsolidationItemSchema: z.ZodObject<{
|
|
|
980
980
|
updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
981
981
|
reason: z.ZodString;
|
|
982
982
|
}, "strip", z.ZodTypeAny, {
|
|
983
|
-
reason: string;
|
|
984
983
|
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
984
|
+
reason: string;
|
|
985
985
|
existingId: string;
|
|
986
986
|
mergeWith?: string | null | undefined;
|
|
987
987
|
updatedContent?: string | null | undefined;
|
|
988
988
|
}, {
|
|
989
|
-
reason: string;
|
|
990
989
|
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
990
|
+
reason: string;
|
|
991
991
|
existingId: string;
|
|
992
992
|
mergeWith?: string | null | undefined;
|
|
993
993
|
updatedContent?: string | null | undefined;
|
|
@@ -1000,14 +1000,14 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1000
1000
|
updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1001
1001
|
reason: z.ZodString;
|
|
1002
1002
|
}, "strip", z.ZodTypeAny, {
|
|
1003
|
-
reason: string;
|
|
1004
1003
|
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1004
|
+
reason: string;
|
|
1005
1005
|
existingId: string;
|
|
1006
1006
|
mergeWith?: string | null | undefined;
|
|
1007
1007
|
updatedContent?: string | null | undefined;
|
|
1008
1008
|
}, {
|
|
1009
|
-
reason: string;
|
|
1010
1009
|
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1010
|
+
reason: string;
|
|
1011
1011
|
existingId: string;
|
|
1012
1012
|
mergeWith?: string | null | undefined;
|
|
1013
1013
|
updatedContent?: string | null | undefined;
|
|
@@ -1023,12 +1023,12 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1023
1023
|
title: z.ZodString;
|
|
1024
1024
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
1025
1025
|
}, "strip", z.ZodTypeAny, {
|
|
1026
|
-
title: string;
|
|
1027
1026
|
key: string;
|
|
1027
|
+
title: string;
|
|
1028
1028
|
facts: string[];
|
|
1029
1029
|
}, {
|
|
1030
|
-
title: string;
|
|
1031
1030
|
key: string;
|
|
1031
|
+
title: string;
|
|
1032
1032
|
facts: string[];
|
|
1033
1033
|
}>, "many">>>;
|
|
1034
1034
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1037,8 +1037,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1037
1037
|
facts: string[];
|
|
1038
1038
|
promptedByQuestion?: string | null | undefined;
|
|
1039
1039
|
structuredSections?: {
|
|
1040
|
-
title: string;
|
|
1041
1040
|
key: string;
|
|
1041
|
+
title: string;
|
|
1042
1042
|
facts: string[];
|
|
1043
1043
|
}[] | null | undefined;
|
|
1044
1044
|
}, {
|
|
@@ -1047,15 +1047,15 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1047
1047
|
facts: string[];
|
|
1048
1048
|
promptedByQuestion?: string | null | undefined;
|
|
1049
1049
|
structuredSections?: {
|
|
1050
|
-
title: string;
|
|
1051
1050
|
key: string;
|
|
1051
|
+
title: string;
|
|
1052
1052
|
facts: string[];
|
|
1053
1053
|
}[] | null | undefined;
|
|
1054
1054
|
}>, "many">;
|
|
1055
1055
|
}, "strip", z.ZodTypeAny, {
|
|
1056
1056
|
items: {
|
|
1057
|
-
reason: string;
|
|
1058
1057
|
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1058
|
+
reason: string;
|
|
1059
1059
|
existingId: string;
|
|
1060
1060
|
mergeWith?: string | null | undefined;
|
|
1061
1061
|
updatedContent?: string | null | undefined;
|
|
@@ -1067,15 +1067,15 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1067
1067
|
facts: string[];
|
|
1068
1068
|
promptedByQuestion?: string | null | undefined;
|
|
1069
1069
|
structuredSections?: {
|
|
1070
|
-
title: string;
|
|
1071
1070
|
key: string;
|
|
1071
|
+
title: string;
|
|
1072
1072
|
facts: string[];
|
|
1073
1073
|
}[] | null | undefined;
|
|
1074
1074
|
}[];
|
|
1075
1075
|
}, {
|
|
1076
1076
|
items: {
|
|
1077
|
-
reason: string;
|
|
1078
1077
|
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1078
|
+
reason: string;
|
|
1079
1079
|
existingId: string;
|
|
1080
1080
|
mergeWith?: string | null | undefined;
|
|
1081
1081
|
updatedContent?: string | null | undefined;
|
|
@@ -1087,8 +1087,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1087
1087
|
facts: string[];
|
|
1088
1088
|
promptedByQuestion?: string | null | undefined;
|
|
1089
1089
|
structuredSections?: {
|
|
1090
|
-
title: string;
|
|
1091
1090
|
key: string;
|
|
1091
|
+
title: string;
|
|
1092
1092
|
facts: string[];
|
|
1093
1093
|
}[] | null | undefined;
|
|
1094
1094
|
}[];
|