@remnic/core 9.65.1 → 9.65.3
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 +44 -44
- package/dist/access-admin-ops-surface.js +36 -35
- package/dist/access-authorization-probe.d.ts +39 -40
- package/dist/access-authorization-probe.js +37 -36
- package/dist/access-boundary.d.ts +41 -185
- package/dist/access-boundary.js +36 -35
- package/dist/access-cli.js +110 -107
- package/dist/access-cli.js.map +1 -1
- package/dist/access-coding-context-resolution.d.ts +3 -1
- package/dist/access-extraction-force-flush.d.ts +25 -25
- package/dist/access-extraction-force-flush.js +36 -35
- package/dist/access-health-types.d.ts +3 -1
- package/dist/access-http-lcm-compaction.d.ts +39 -39
- package/dist/access-http-lifecycle-flush.d.ts +40 -41
- package/dist/access-http-offline-stream.d.ts +25 -25
- package/dist/access-http-query.d.ts +4 -2
- package/dist/access-http-query.js +38 -37
- package/dist/access-http.d.ts +51 -44
- package/dist/access-http.js +57 -56
- package/dist/access-identity-continuity-surface.d.ts +12 -12
- package/dist/access-identity-continuity-surface.js +36 -35
- package/dist/access-lcm-surface.d.ts +27 -27
- package/dist/access-lcm-surface.js +36 -35
- package/dist/access-mcp-admin-tools.d.ts +9 -1
- package/dist/access-mcp-admin-tools.js +3 -1
- package/dist/access-mcp-output-schemas.js +1 -1
- package/dist/access-mcp.d.ts +39 -39
- package/dist/access-mcp.js +50 -47
- package/dist/access-memory-search-fanout.d.ts +4 -2
- package/dist/{access-namespace-preflight-BKUnKsBv.d.ts → access-namespace-preflight-B7Usyz-K.d.ts} +1 -1
- package/dist/access-namespace-preflight.d.ts +5 -3
- package/dist/access-namespace-preflight.js +36 -35
- package/dist/access-observe-write-surface.d.ts +39 -39
- package/dist/access-observe-write-surface.js +36 -35
- package/dist/access-offline-manifest.d.ts +12 -12
- package/dist/access-offline-manifest.js +5 -5
- package/dist/access-operations-batch.js +41 -40
- package/dist/access-operations.d.ts +46 -47
- package/dist/access-operations.js +44 -43
- package/dist/access-recall-concurrency.d.ts +40 -40
- package/dist/access-recall-concurrency.js +36 -35
- package/dist/access-recall-response.d.ts +24 -24
- package/dist/access-recall-response.js +36 -35
- package/dist/access-recall-surface.d.ts +24 -24
- package/dist/access-recall-surface.js +36 -35
- package/dist/access-schema.d.ts +139 -139
- package/dist/access-schema.js +3 -3
- package/dist/{access-service-B1Lbb-nQ.d.ts → access-service-DkaIG3n8.d.ts} +688 -140
- package/dist/access-service-helpers.d.ts +40 -40
- package/dist/access-service.d.ts +47 -47
- package/dist/access-service.js +36 -35
- package/dist/access-surface-catalog.d.ts +41 -42
- package/dist/access-surface-catalog.js +44 -37
- package/dist/access-surface-catalog.js.map +1 -1
- package/dist/access-wearables-meetings-surface.d.ts +5 -3
- package/dist/action-confidence.d.ts +3 -1
- package/dist/active-memory-bridge.d.ts +3 -1
- package/dist/active-recall.d.ts +3 -1
- package/dist/active-recall.js +11 -1
- package/dist/active-recall.js.map +1 -1
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/ambient-provenance.d.ts +3 -1
- package/dist/artifact-search.d.ts +3 -1
- package/dist/{auto-sync-5L7EUZ27.js → auto-sync-H64ZCNIR.js} +13 -5
- package/dist/{auto-sync-5L7EUZ27.js.map → auto-sync-H64ZCNIR.js.map} +1 -1
- package/dist/behavior-learner.d.ts +3 -1
- package/dist/behavior-signals.d.ts +3 -1
- package/dist/bootstrap.d.ts +12 -12
- package/dist/briefing-window.d.ts +4 -2
- package/dist/briefing.d.ts +4 -2
- package/dist/briefing.js +16 -15
- package/dist/buffer-surprise-report.d.ts +3 -1
- package/dist/buffer-turn-helpers.d.ts +3 -1
- package/dist/buffer.d.ts +4 -2
- package/dist/buffer.js +4 -4
- package/dist/bulk-import/index.d.ts +5 -3
- package/dist/calibration.d.ts +3 -1
- package/dist/calibration.js +1 -1
- package/dist/capabilities.d.ts +3 -1
- package/dist/{capsule-crypto-7FJQINUR.js → capsule-crypto-YO5QJ6L3.js} +2 -2
- package/dist/{catalog-DjVhJoRM.d.ts → catalog-CX2BZEJh.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-consolidation.d.ts +3 -1
- package/dist/causal-consolidation.js +20 -19
- package/dist/causal-consolidation.js.map +1 -1
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/{chunk-MIBKEW7A.js → chunk-2VXWFYJE.js} +3 -3
- package/dist/{chunk-3YTTAGPB.js → chunk-3DVBKTSO.js} +2 -2
- package/dist/{chunk-EIR5VLIH.js → chunk-4K7IW3F7.js} +2 -2
- package/dist/chunk-4K7IW3F7.js.map +1 -0
- package/dist/{chunk-JTSVMJHV.js → chunk-4XDGYCZI.js} +3 -3
- package/dist/chunk-573TEZCD.js +88 -0
- package/dist/chunk-573TEZCD.js.map +1 -0
- package/dist/{chunk-HQSBYI5X.js → chunk-57HVIG5U.js} +2 -2
- package/dist/{chunk-PMVPCZJZ.js → chunk-6433HV72.js} +2 -2
- package/dist/{chunk-N6TRHP72.js → chunk-6TAX66IA.js} +2 -2
- package/dist/{chunk-AGKIG3YA.js → chunk-6VALIZKG.js} +2 -2
- package/dist/{chunk-YQ3CBLL4.js → chunk-76PL4XLG.js} +512 -8
- package/dist/chunk-76PL4XLG.js.map +1 -0
- package/dist/{chunk-4NZHHGVL.js → chunk-7BDZTALN.js} +4 -1
- package/dist/chunk-7BDZTALN.js.map +1 -0
- package/dist/{chunk-NS5ETDYD.js → chunk-7BEPVIH3.js} +3 -3
- package/dist/{chunk-JG22O53B.js → chunk-7CBKAQIG.js} +2 -1
- package/dist/chunk-7CBKAQIG.js.map +1 -0
- package/dist/{chunk-LYIZXQYY.js → chunk-7KFIMGMP.js} +2 -2
- package/dist/{chunk-LWVO2QZV.js → chunk-7QOO4LGC.js} +56 -56
- package/dist/chunk-AAXJNINV.js +55 -0
- package/dist/chunk-AAXJNINV.js.map +1 -0
- package/dist/{chunk-56BSXSHC.js → chunk-AB3A7EFH.js} +31 -2
- package/dist/{chunk-56BSXSHC.js.map → chunk-AB3A7EFH.js.map} +1 -1
- package/dist/{chunk-CCTVAVTT.js → chunk-AUO2LJ3K.js} +2 -2
- package/dist/{chunk-ALCJRQ72.js → chunk-AYDDB3XI.js} +2 -2
- package/dist/{chunk-3TMYV3LP.js → chunk-AYYGRVRP.js} +5 -5
- package/dist/{chunk-W6TSGWYS.js → chunk-AZAA5DNP.js} +2 -2
- package/dist/{chunk-WTOE7CW4.js → chunk-BKYPJUQL.js} +122 -16
- package/dist/chunk-BKYPJUQL.js.map +1 -0
- package/dist/{chunk-6JJT5AKI.js → chunk-BQUEAVNW.js} +2 -2
- package/dist/{chunk-2NLLXCJG.js → chunk-BXLOS5AJ.js} +2 -2
- package/dist/{chunk-CEH2AFXG.js → chunk-C24UZSFW.js} +6 -6
- package/dist/{chunk-ZPN7W3OP.js → chunk-CDUUDBWJ.js} +3 -3
- package/dist/{chunk-35NN3ZFA.js → chunk-CTVWELNK.js} +21 -3
- package/dist/chunk-CTVWELNK.js.map +1 -0
- package/dist/{chunk-Y23B2QXP.js → chunk-D27J626P.js} +2 -2
- package/dist/{chunk-2572MRP2.js → chunk-DHTQP334.js} +2 -2
- package/dist/{chunk-HJQZQUPC.js → chunk-DJZWNKFO.js} +5 -5
- package/dist/{chunk-X7Y7WX73.js → chunk-DQEMWVMT.js} +1 -1
- package/dist/{chunk-VJ6ECBIP.js → chunk-E4MVQQVX.js} +2 -2
- package/dist/{chunk-SYJ6EKKE.js → chunk-EIVIB73I.js} +2 -2
- package/dist/{chunk-HUNSEO5U.js → chunk-EV3YFLCB.js} +2 -2
- package/dist/{chunk-GEULB2VI.js → chunk-FC7TIRFS.js} +21 -1
- package/dist/chunk-FC7TIRFS.js.map +1 -0
- package/dist/{chunk-VPGRXEAB.js → chunk-G57LQRP6.js} +2 -2
- package/dist/{chunk-BC4QD3FM.js → chunk-GN55KU2P.js} +2 -2
- package/dist/{chunk-4W6INNXO.js → chunk-GUXS322H.js} +2 -2
- package/dist/{chunk-DBXZZIDU.js → chunk-H5FW4S5Q.js} +434 -693
- package/dist/chunk-H5FW4S5Q.js.map +1 -0
- package/dist/chunk-I32NKXE2.js +879 -0
- package/dist/chunk-I32NKXE2.js.map +1 -0
- package/dist/{chunk-3MADV4YC.js → chunk-IQSC3V2E.js} +2 -2
- package/dist/{chunk-UYCIS6V5.js → chunk-JCWY73FK.js} +2 -2
- package/dist/{chunk-T42L3S6A.js → chunk-LBWQ65SX.js} +4 -4
- package/dist/{chunk-MSTNSVXI.js → chunk-LDBFXD4F.js} +2 -1
- package/dist/chunk-LDBFXD4F.js.map +1 -0
- package/dist/{chunk-CEQF6L5K.js → chunk-LUNJ3WFO.js} +9 -7
- package/dist/chunk-LUNJ3WFO.js.map +1 -0
- package/dist/{chunk-256FBCVX.js → chunk-M4AHBM72.js} +7 -7
- package/dist/{chunk-YEQEGSJA.js → chunk-MBDJJTAT.js} +3 -3
- package/dist/{chunk-IAY7YBXS.js → chunk-MRTUN665.js} +2 -2
- package/dist/{chunk-JFJ3MHGV.js → chunk-NXKJHSDN.js} +1 -1
- package/dist/chunk-NXKJHSDN.js.map +1 -0
- package/dist/{chunk-R3AAOKR2.js → chunk-NZWEEALH.js} +2 -2
- package/dist/{chunk-I2HTKOOP.js → chunk-ODZG724P.js} +2 -2
- package/dist/{chunk-7QFBLYFP.js → chunk-OJD4WS2E.js} +3 -3
- package/dist/{chunk-CUS6S7PN.js → chunk-OLWTCWQ2.js} +9 -9
- package/dist/chunk-OLWTCWQ2.js.map +1 -0
- package/dist/{chunk-53ENM6F6.js → chunk-P4DHENRE.js} +2 -2
- package/dist/{chunk-DEFI2QBT.js → chunk-PAYGC3BD.js} +52 -22
- package/dist/chunk-PAYGC3BD.js.map +1 -0
- package/dist/{chunk-KPBLJCCV.js → chunk-PDVQ5JU3.js} +2 -2
- package/dist/{chunk-7BY7V4YX.js → chunk-Q4WONDMJ.js} +4 -3
- package/dist/{chunk-7BY7V4YX.js.map → chunk-Q4WONDMJ.js.map} +1 -1
- package/dist/{chunk-ESCQ6LY7.js → chunk-QFMO32TO.js} +3 -3
- package/dist/{chunk-HQSPXTQO.js → chunk-QXIQPCCN.js} +1 -1
- package/dist/{chunk-CFRBTATE.js → chunk-R47WINCY.js} +3 -3
- package/dist/{chunk-G72IPMR7.js → chunk-R4OCGPSH.js} +2 -2
- package/dist/{chunk-LCU5R6TQ.js → chunk-RAIUTAZZ.js} +22 -3
- package/dist/chunk-RAIUTAZZ.js.map +1 -0
- package/dist/chunk-RIAM7DND.js +167 -0
- package/dist/chunk-RIAM7DND.js.map +1 -0
- package/dist/{chunk-VZVP2W4O.js → chunk-RK4WXUI2.js} +2 -2
- package/dist/{chunk-JBPKEARU.js → chunk-RKNJBZ55.js} +4 -4
- package/dist/{chunk-6L27N6YI.js → chunk-S7Q5CM7E.js} +2 -2
- package/dist/{chunk-CTQRPANJ.js → chunk-SVSRPG6M.js} +2 -2
- package/dist/{chunk-GXWDWOWP.js → chunk-TDKSCV62.js} +2 -2
- package/dist/{chunk-S2VBSTTA.js → chunk-THG4GYIE.js} +2 -2
- package/dist/{chunk-IXRC7EQG.js → chunk-TR7DGXGI.js} +2 -2
- package/dist/{chunk-63FHSH7E.js → chunk-TYUS5TLG.js} +4 -4
- package/dist/{chunk-7PWWGYGO.js → chunk-URHCUXKI.js} +2 -2
- package/dist/{chunk-Z54TXZ2F.js → chunk-VA5KMSAE.js} +16 -7
- package/dist/chunk-VA5KMSAE.js.map +1 -0
- package/dist/{chunk-KQAFEZQX.js → chunk-VDX2J7OX.js} +2 -2
- package/dist/{chunk-MUJ4QFUQ.js → chunk-W4BMEGQA.js} +4 -4
- package/dist/{chunk-5HK3CJAR.js → chunk-W675UJCZ.js} +2 -2
- package/dist/{chunk-3PXVYJMC.js → chunk-WN5FSGLE.js} +2077 -215
- package/dist/chunk-WN5FSGLE.js.map +1 -0
- package/dist/{chunk-3RHFGGI5.js → chunk-YF6UHWOV.js} +30 -10
- package/dist/chunk-YF6UHWOV.js.map +1 -0
- package/dist/{chunk-X5SDZMO7.js → chunk-YHCBJULX.js} +2 -2
- package/dist/{chunk-5UYSCYR7.js → chunk-Z4RPXHJH.js} +4 -4
- package/dist/{cli-Pulnz-qm.d.ts → cli-ChKeYMZv.d.ts} +5 -5
- package/dist/cli.d.ts +25 -25
- package/dist/cli.js +81 -78
- package/dist/coding/pre-action-gate.d.ts +2 -60
- package/dist/compounding/engine.d.ts +4 -2
- package/dist/compounding/engine.js +17 -16
- package/dist/compounding/preference-consolidator.d.ts +3 -1
- package/dist/compression-optimizer.d.ts +3 -1
- package/dist/config.d.ts +3 -1
- package/dist/config.js +11 -1
- package/dist/connectors/codex-materialize-runner.d.ts +3 -1
- package/dist/connectors/codex-materialize-runner.js +16 -15
- package/dist/connectors/codex-materialize.d.ts +3 -1
- package/dist/connectors/index.d.ts +3 -1
- package/dist/connectors/index.js +16 -15
- package/dist/consolidation-provenance-check.d.ts +4 -2
- package/dist/consolidation-undo.d.ts +4 -2
- package/dist/contradiction/index.d.ts +10 -270
- package/dist/contradiction/index.js +20 -7
- package/dist/{contradiction-review-QKJH5DKD.js → contradiction-review-WRVLRWHS.js} +6 -2
- package/dist/{contradiction-scan-VOTQRRSX.js → contradiction-scan-AKUWPX5N.js} +5 -3
- package/dist/converge-config.d.ts +3 -1
- package/dist/convergence-refresh.d.ts +4 -2
- package/dist/convergence-refresh.js +18 -17
- package/dist/conversation-index/backend.d.ts +3 -1
- package/dist/conversation-index/chunker.d.ts +3 -1
- package/dist/conversation-index/faiss-adapter.d.ts +3 -1
- package/dist/conversation-index/indexer.d.ts +3 -1
- package/dist/conversation-index/search.d.ts +3 -1
- package/dist/corpus-watermark.d.ts +3 -1
- package/dist/corpus-watermark.js +18 -17
- package/dist/cross-lingual-recall.d.ts +3 -1
- package/dist/day-summary.d.ts +3 -1
- package/dist/delinearize.d.ts +3 -1
- package/dist/dependency-propagation-config.d.ts +3 -1
- package/dist/{dependency-propagation-delivery-Co17gxYb.d.ts → dependency-propagation-delivery-B8ZMBBCY.d.ts} +1 -1
- package/dist/direct-answer-wiring.d.ts +3 -1
- package/dist/direct-answer.d.ts +3 -1
- package/dist/embedding-fallback.d.ts +3 -1
- package/dist/enrichment/index.d.ts +3 -1
- package/dist/entity-origin-fields.d.ts +3 -1
- package/dist/entity-retrieval.d.ts +4 -2
- package/dist/entity-retrieval.js +16 -15
- package/dist/entity-schema.d.ts +3 -1
- package/dist/episodic-context.d.ts +3 -1
- package/dist/explicit-capture.d.ts +12 -12
- package/dist/explicit-capture.js +7 -6
- package/dist/external-wiki-access.d.ts +41 -42
- package/dist/external-wiki-access.js +37 -36
- package/dist/external-wiki-collection-registration.d.ts +3 -1
- package/dist/external-wiki-collection.d.ts +3 -1
- package/dist/external-wiki-mcp-tools.d.ts +40 -40
- package/dist/extraction-error-classification.d.ts +3 -1
- package/dist/extraction-faithfulness.d.ts +3 -1
- package/dist/extraction-judge-telemetry.d.ts +3 -1
- package/dist/extraction-judge-training.d.ts +3 -1
- package/dist/extraction-judge.d.ts +3 -1
- package/dist/extraction-judge.js +2 -2
- package/dist/extraction-liveness.d.ts +3 -1
- package/dist/extraction-normalization.d.ts +3 -1
- package/dist/extraction-normalization.js +2 -2
- package/dist/extraction-prompt.d.ts +4 -2
- package/dist/extraction-prompt.js +1 -1
- package/dist/extraction-source-grounding-rules.d.ts +3 -1
- package/dist/extraction-source-grounding.d.ts +3 -1
- package/dist/extraction.d.ts +3 -1
- package/dist/extraction.js +22 -21
- package/dist/fallback-llm.d.ts +3 -1
- package/dist/graph-dashboard-diff.d.ts +3 -1
- package/dist/graph-dashboard-key.d.ts +3 -1
- package/dist/graph-dashboard-parser.d.ts +3 -1
- package/dist/graph-edge-reinforcement.d.ts +3 -1
- package/dist/graph-path-reconstruction.d.ts +3 -1
- package/dist/graph-path-scoring.d.ts +3 -1
- package/dist/graph-snapshot.d.ts +3 -1
- package/dist/graph.d.ts +3 -1
- package/dist/harmonic-retrieval.js +1 -1
- package/dist/importance.d.ts +3 -1
- package/dist/importers/index.d.ts +3 -1
- package/dist/in-flight-reads.d.ts +3 -1
- package/dist/index-CexDrJzC.d.ts +284 -0
- package/dist/index.d.ts +946 -707
- package/dist/index.js +253 -151
- package/dist/intent.d.ts +3 -1
- package/dist/lcm/engine.d.ts +3 -1
- package/dist/lcm/engine.js +3 -3
- package/dist/lcm/index.d.ts +3 -1
- package/dist/lcm/index.js +6 -6
- package/dist/lcm/tools.d.ts +3 -1
- package/dist/lifecycle.d.ts +3 -1
- package/dist/live-connectors-runner.d.ts +3 -1
- package/dist/local-llm.d.ts +3 -1
- package/dist/local-model-endpoint.d.ts +3 -1
- package/dist/maintenance/memory-governance.d.ts +3 -1
- package/dist/maintenance/memory-governance.js +16 -15
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +4 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +16 -15
- package/dist/maintenance/rebuild-memory-projection.d.ts +4 -2
- package/dist/maintenance/rebuild-memory-projection.js +17 -16
- package/dist/{maintenance-DiSLtVN7.d.ts → maintenance-nkdtSrVr.d.ts} +3 -3
- package/dist/mcp-memory-inspector-app.d.ts +37 -37
- package/dist/mcp-read-only-tools.js +1 -1
- package/dist/memory-action-policy.d.ts +3 -1
- package/dist/memory-cache.d.ts +3 -1
- package/dist/memory-lifecycle-ledger-utils.d.ts +3 -1
- package/dist/memory-projection-store.d.ts +3 -1
- package/dist/memory-provenance.d.ts +3 -1
- package/dist/memory-snapshot.d.ts +3 -1
- package/dist/memory-subject-cli.d.ts +177 -0
- package/dist/memory-subject-cli.js +16 -0
- package/dist/memory-subject.d.ts +128 -0
- package/dist/memory-subject.js +44 -0
- package/dist/memory-subject.js.map +1 -0
- package/dist/memory-worth-outcomes.d.ts +7 -4
- package/dist/memory-worth-outcomes.js +1 -1
- package/dist/models-json.d.ts +3 -1
- package/dist/namespaces/migrate.d.ts +5 -3
- package/dist/namespaces/migrate.js +17 -16
- package/dist/namespaces/principal.d.ts +3 -1
- package/dist/namespaces/search.d.ts +3 -1
- package/dist/namespaces/search.js +6 -6
- package/dist/namespaces/storage.d.ts +5 -3
- package/dist/namespaces/storage.js +16 -15
- package/dist/native-knowledge.d.ts +3 -1
- package/dist/offline-sync-impression-drain.d.ts +3 -1
- package/dist/operator-doctor-corpus.d.ts +3 -1
- package/dist/operator-doctor-corpus.js +19 -18
- package/dist/operator-doctor-replica.d.ts +3 -1
- package/dist/operator-toolkit.d.ts +5 -3
- package/dist/operator-toolkit.js +29 -24
- package/dist/orchestration/compression-guideline-coordinator.d.ts +4 -2
- package/dist/orchestration/maintenance.d.ts +6 -4
- package/dist/orchestration/maintenance.js +22 -21
- package/dist/{orchestrator-DzCaxNS4.d.ts → orchestrator-Bvq1-RQs.d.ts} +23 -9
- package/dist/orchestrator.d.ts +12 -12
- package/dist/orchestrator.js +111 -108
- package/dist/patterns-cli.d.ts +3 -1
- package/dist/{pipeline-HJ8DKbFl.d.ts → pipeline-C8vfIiTX.d.ts} +1 -1
- package/dist/policy-runtime.d.ts +3 -1
- package/dist/proactive-contention.d.ts +3 -1
- package/dist/provenance.d.ts +3 -1
- package/dist/{public-http-DwXauTX3.d.ts → public-http-Cy0aYbys.d.ts} +1 -1
- package/dist/{qmd-BzxluoLt.d.ts → qmd-B9p1SZTZ.d.ts} +1 -1
- package/dist/qmd-preflight.d.ts +4 -2
- package/dist/qmd-recall-cache.d.ts +3 -1
- package/dist/qmd.d.ts +4 -2
- package/dist/qmd.js +4 -4
- package/dist/recall-concurrency-config.d.ts +3 -1
- package/dist/recall-disclosure-escalation.d.ts +3 -1
- package/dist/recall-explain-renderer.d.ts +3 -1
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-memory-map.d.ts +3 -1
- package/dist/recall-planner-llm.d.ts +3 -1
- package/dist/recall-state.d.ts +3 -1
- package/dist/recall-tag-filter.d.ts +3 -1
- package/dist/recall-timings.d.ts +3 -1
- package/dist/recall-xray-cli.d.ts +3 -1
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.d.ts +3 -1
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.d.ts +3 -1
- package/dist/recall-xray.js +2 -2
- package/dist/reconcile/cursor.d.ts +3 -1
- package/dist/reconcile/manifest.d.ts +3 -1
- package/dist/reconcile/manifest.js +3 -3
- package/dist/reconcile/plan.d.ts +3 -1
- package/dist/replay/normalizers/chatgpt.d.ts +3 -1
- package/dist/replay/normalizers/claude.d.ts +3 -1
- package/dist/replay/normalizers/openclaw.d.ts +3 -1
- package/dist/replay/normalizers/shared.d.ts +3 -1
- package/dist/replay/runner.d.ts +3 -1
- package/dist/replay/types.d.ts +3 -1
- package/dist/replica-divergence.d.ts +3 -1
- package/dist/replica-peers-config.d.ts +3 -1
- package/dist/resolution-4552BNRV.js +36 -0
- package/dist/resolution-4552BNRV.js.map +1 -0
- package/dist/resolve-auth-token.d.ts +3 -1
- package/dist/resume-bundles.js +9 -2
- package/dist/retrieval-agents.d.ts +4 -2
- package/dist/retrieval-tiers.d.ts +3 -1
- package/dist/routing/engine.d.ts +3 -1
- package/dist/routing/store.d.ts +3 -1
- package/dist/salvage-envelope.d.ts +3 -1
- package/dist/salvage-envelope.js +10 -2
- package/dist/schemas.d.ts +130 -116
- package/dist/schemas.js +1 -1
- package/dist/{scope-profiles-CEMZz0t5.d.ts → scope-profiles-DLrRxFWR.d.ts} +1 -1
- package/dist/search/embed-helper.d.ts +3 -1
- package/dist/search/factory.d.ts +3 -1
- package/dist/search/factory.js +5 -5
- package/dist/search/index.d.ts +3 -1
- package/dist/search/index.js +9 -9
- package/dist/search/lancedb-backend.d.ts +3 -1
- package/dist/search/meilisearch-backend.d.ts +3 -1
- package/dist/search/noop-backend.d.ts +3 -1
- package/dist/search/orama-backend.d.ts +3 -1
- package/dist/search/port.d.ts +3 -1
- package/dist/search/remote-backend.d.ts +3 -1
- package/dist/{semantic-TddhF0y7.d.ts → semantic-BalR6EXU.d.ts} +1 -1
- package/dist/{semantic-consolidation-D9dYj6vu.d.ts → semantic-consolidation-DlN6xe20.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +4 -2
- package/dist/semantic-consolidation.js +17 -16
- package/dist/semantic-rule-promotion.js +16 -15
- package/dist/semantic-rule-verifier.d.ts +3 -1
- package/dist/semantic-rule-verifier.js +16 -15
- package/dist/{service-_qgST_0y.d.ts → service-GkYyVfm9.d.ts} +2 -2
- package/dist/session-observer-bands.d.ts +3 -1
- package/dist/session-observer-state.d.ts +3 -1
- package/dist/shared-context/manager.d.ts +13 -11
- package/dist/signal.d.ts +3 -1
- package/dist/source-agent-qualifier.d.ts +3 -1
- package/dist/source-agent-qualifier.js +18 -17
- package/dist/{storage-B9lbNTYE.d.ts → storage-BIDzuKIn.d.ts} +3 -2
- package/dist/storage.d.ts +4 -2
- package/dist/storage.js +18 -17
- package/dist/subject-config.d.ts +40 -0
- package/dist/subject-config.js +20 -0
- package/dist/subject-config.js.map +1 -0
- package/dist/summarizer.d.ts +3 -1
- package/dist/summary-snapshot.d.ts +3 -1
- package/dist/support-passport/index.d.ts +43 -43
- package/dist/support-passport/index.js +39 -38
- package/dist/temporal-supersession.d.ts +4 -2
- package/dist/temporal-timeline-recall.d.ts +3 -1
- package/dist/temporal-validity.d.ts +3 -1
- package/dist/threading.d.ts +3 -1
- package/dist/tier-migration.d.ts +4 -2
- package/dist/tier-routing.d.ts +3 -1
- package/dist/topics.d.ts +3 -1
- package/dist/transcript.d.ts +3 -1
- package/dist/transfer/backup.js +2 -2
- package/dist/transfer/capsule-export.js +2 -2
- package/dist/transfer/capsule-import.js +2 -2
- package/dist/transfer/types.d.ts +86 -86
- package/dist/trust-score-stage.d.ts +3 -1
- package/dist/trust-score.d.ts +3 -1
- package/dist/{types-BrEzuxPA.d.ts → types-BxAcOl5Q.d.ts} +360 -32
- package/dist/types.d.ts +3 -1
- package/dist/types.js +1 -1
- package/dist/utility-runtime.d.ts +3 -1
- package/dist/verified-recall.js +16 -15
- package/dist/who-knows-cli.d.ts +40 -40
- package/dist/who-knows-cli.js +17 -16
- package/dist/who-knows.d.ts +42 -42
- package/dist/who-knows.js +16 -15
- package/dist/write-envelope.d.ts +7 -2
- package/dist/write-envelope.js +10 -1
- package/package.json +2 -2
- package/scripts/build-with-heap.mjs +1 -1
- package/src/access-boundary.ts +6 -0
- package/src/access-http.ts +6 -5
- package/src/access-mcp-admin-tools.ts +38 -0
- package/src/access-mcp-output-schemas.ts +20 -0
- package/src/access-mcp.ts +8 -8
- package/src/access-operations-batch.ts +13 -0
- package/src/access-service.ts +112 -0
- package/src/access-surface-catalog.test.ts +24 -0
- package/src/access-surface-catalog.ts +6 -0
- package/src/coding/action-gate.test.ts +341 -0
- package/src/coding/action-gate.ts +556 -0
- package/src/config.ts +15 -17
- package/src/contradiction/contradiction-review.ts +50 -4
- package/src/contradiction/contradiction-scan.ts +14 -3
- package/src/contradiction/resolution.ts +50 -2
- package/src/extraction-prompt.ts +1 -0
- package/src/extraction.ts +4 -1
- package/src/index.ts +9 -9
- package/src/mcp-read-only-tools.ts +1 -0
- package/src/memory-subject-cli.ts +135 -0
- package/src/memory-subject.test.ts +48 -0
- package/src/memory-subject.ts +314 -0
- package/src/memory-worth-outcomes.test.ts +6 -2
- package/src/memory-worth-outcomes.ts +11 -7
- package/src/operator-toolkit.ts +1 -1
- package/src/orchestration/extraction-persist.ts +48 -48
- package/src/orchestration/recall-internal.ts +6 -5
- package/src/orchestration/recall-rerank-coordinator.ts +123 -4
- package/src/orchestration/recall-result-formatter.ts +6 -2
- package/src/orchestration/recall-search-pipeline.ts +14 -1
- package/src/preferences/drift-config.ts +118 -0
- package/src/preferences/drift-recall.ts +133 -0
- package/src/preferences/drift-types.ts +87 -0
- package/src/preferences/index.ts +12 -0
- package/src/preferences/preference-drift.test.ts +690 -0
- package/src/preferences/preference-drift.ts +724 -0
- package/src/procedural/library-maintenance.test.ts +582 -0
- package/src/procedural/library-maintenance.ts +546 -0
- package/src/procedural/maintenance-config.ts +78 -0
- package/src/procedural/procedure-recall.ts +29 -1
- package/src/procedural/procedure-stats.ts +20 -0
- package/src/review/review-deck-access.test.ts +325 -0
- package/src/review/review-deck-http-base.ts +133 -0
- package/src/review/review-deck-mutation.test.ts +417 -0
- package/src/review/review-deck-mutation.ts +677 -0
- package/src/review/review-deck-snapshot.ts +196 -0
- package/src/review/review-deck-surface.ts +117 -0
- package/src/review/review-deck.test.ts +347 -0
- package/src/review/review-deck.ts +311 -0
- package/src/schemas.ts +7 -0
- package/src/spaces/index.ts +38 -2
- package/src/storage.ts +10 -8
- package/src/subject-config.ts +80 -0
- package/src/types.ts +33 -32
- package/src/write-envelope.test.ts +14 -0
- package/src/write-envelope.ts +24 -3
- package/dist/chunk-35NN3ZFA.js.map +0 -1
- package/dist/chunk-3PXVYJMC.js.map +0 -1
- package/dist/chunk-3RHFGGI5.js.map +0 -1
- package/dist/chunk-4NZHHGVL.js.map +0 -1
- package/dist/chunk-CEQF6L5K.js.map +0 -1
- package/dist/chunk-CUS6S7PN.js.map +0 -1
- package/dist/chunk-DBXZZIDU.js.map +0 -1
- package/dist/chunk-DEFI2QBT.js.map +0 -1
- package/dist/chunk-EIR5VLIH.js.map +0 -1
- package/dist/chunk-GEULB2VI.js.map +0 -1
- package/dist/chunk-JFJ3MHGV.js.map +0 -1
- package/dist/chunk-JG22O53B.js.map +0 -1
- package/dist/chunk-LCU5R6TQ.js.map +0 -1
- package/dist/chunk-MDVBCPOS.js +0 -402
- package/dist/chunk-MDVBCPOS.js.map +0 -1
- package/dist/chunk-MSTNSVXI.js.map +0 -1
- package/dist/chunk-WTOE7CW4.js.map +0 -1
- package/dist/chunk-YQ3CBLL4.js.map +0 -1
- package/dist/chunk-Z54TXZ2F.js.map +0 -1
- package/dist/resolution-DKMBPXHI.js +0 -18
- /package/dist/{capsule-crypto-7FJQINUR.js.map → capsule-crypto-YO5QJ6L3.js.map} +0 -0
- /package/dist/{chunk-MIBKEW7A.js.map → chunk-2VXWFYJE.js.map} +0 -0
- /package/dist/{chunk-3YTTAGPB.js.map → chunk-3DVBKTSO.js.map} +0 -0
- /package/dist/{chunk-JTSVMJHV.js.map → chunk-4XDGYCZI.js.map} +0 -0
- /package/dist/{chunk-HQSBYI5X.js.map → chunk-57HVIG5U.js.map} +0 -0
- /package/dist/{chunk-PMVPCZJZ.js.map → chunk-6433HV72.js.map} +0 -0
- /package/dist/{chunk-N6TRHP72.js.map → chunk-6TAX66IA.js.map} +0 -0
- /package/dist/{chunk-AGKIG3YA.js.map → chunk-6VALIZKG.js.map} +0 -0
- /package/dist/{chunk-NS5ETDYD.js.map → chunk-7BEPVIH3.js.map} +0 -0
- /package/dist/{chunk-LYIZXQYY.js.map → chunk-7KFIMGMP.js.map} +0 -0
- /package/dist/{chunk-LWVO2QZV.js.map → chunk-7QOO4LGC.js.map} +0 -0
- /package/dist/{chunk-CCTVAVTT.js.map → chunk-AUO2LJ3K.js.map} +0 -0
- /package/dist/{chunk-ALCJRQ72.js.map → chunk-AYDDB3XI.js.map} +0 -0
- /package/dist/{chunk-3TMYV3LP.js.map → chunk-AYYGRVRP.js.map} +0 -0
- /package/dist/{chunk-W6TSGWYS.js.map → chunk-AZAA5DNP.js.map} +0 -0
- /package/dist/{chunk-6JJT5AKI.js.map → chunk-BQUEAVNW.js.map} +0 -0
- /package/dist/{chunk-2NLLXCJG.js.map → chunk-BXLOS5AJ.js.map} +0 -0
- /package/dist/{chunk-CEH2AFXG.js.map → chunk-C24UZSFW.js.map} +0 -0
- /package/dist/{chunk-ZPN7W3OP.js.map → chunk-CDUUDBWJ.js.map} +0 -0
- /package/dist/{chunk-Y23B2QXP.js.map → chunk-D27J626P.js.map} +0 -0
- /package/dist/{chunk-2572MRP2.js.map → chunk-DHTQP334.js.map} +0 -0
- /package/dist/{chunk-HJQZQUPC.js.map → chunk-DJZWNKFO.js.map} +0 -0
- /package/dist/{chunk-X7Y7WX73.js.map → chunk-DQEMWVMT.js.map} +0 -0
- /package/dist/{chunk-VJ6ECBIP.js.map → chunk-E4MVQQVX.js.map} +0 -0
- /package/dist/{chunk-SYJ6EKKE.js.map → chunk-EIVIB73I.js.map} +0 -0
- /package/dist/{chunk-HUNSEO5U.js.map → chunk-EV3YFLCB.js.map} +0 -0
- /package/dist/{chunk-VPGRXEAB.js.map → chunk-G57LQRP6.js.map} +0 -0
- /package/dist/{chunk-BC4QD3FM.js.map → chunk-GN55KU2P.js.map} +0 -0
- /package/dist/{chunk-4W6INNXO.js.map → chunk-GUXS322H.js.map} +0 -0
- /package/dist/{chunk-3MADV4YC.js.map → chunk-IQSC3V2E.js.map} +0 -0
- /package/dist/{chunk-UYCIS6V5.js.map → chunk-JCWY73FK.js.map} +0 -0
- /package/dist/{chunk-T42L3S6A.js.map → chunk-LBWQ65SX.js.map} +0 -0
- /package/dist/{chunk-256FBCVX.js.map → chunk-M4AHBM72.js.map} +0 -0
- /package/dist/{chunk-YEQEGSJA.js.map → chunk-MBDJJTAT.js.map} +0 -0
- /package/dist/{chunk-IAY7YBXS.js.map → chunk-MRTUN665.js.map} +0 -0
- /package/dist/{chunk-R3AAOKR2.js.map → chunk-NZWEEALH.js.map} +0 -0
- /package/dist/{chunk-I2HTKOOP.js.map → chunk-ODZG724P.js.map} +0 -0
- /package/dist/{chunk-7QFBLYFP.js.map → chunk-OJD4WS2E.js.map} +0 -0
- /package/dist/{chunk-53ENM6F6.js.map → chunk-P4DHENRE.js.map} +0 -0
- /package/dist/{chunk-KPBLJCCV.js.map → chunk-PDVQ5JU3.js.map} +0 -0
- /package/dist/{chunk-ESCQ6LY7.js.map → chunk-QFMO32TO.js.map} +0 -0
- /package/dist/{chunk-HQSPXTQO.js.map → chunk-QXIQPCCN.js.map} +0 -0
- /package/dist/{chunk-CFRBTATE.js.map → chunk-R47WINCY.js.map} +0 -0
- /package/dist/{chunk-G72IPMR7.js.map → chunk-R4OCGPSH.js.map} +0 -0
- /package/dist/{chunk-VZVP2W4O.js.map → chunk-RK4WXUI2.js.map} +0 -0
- /package/dist/{chunk-JBPKEARU.js.map → chunk-RKNJBZ55.js.map} +0 -0
- /package/dist/{chunk-6L27N6YI.js.map → chunk-S7Q5CM7E.js.map} +0 -0
- /package/dist/{chunk-CTQRPANJ.js.map → chunk-SVSRPG6M.js.map} +0 -0
- /package/dist/{chunk-GXWDWOWP.js.map → chunk-TDKSCV62.js.map} +0 -0
- /package/dist/{chunk-S2VBSTTA.js.map → chunk-THG4GYIE.js.map} +0 -0
- /package/dist/{chunk-IXRC7EQG.js.map → chunk-TR7DGXGI.js.map} +0 -0
- /package/dist/{chunk-63FHSH7E.js.map → chunk-TYUS5TLG.js.map} +0 -0
- /package/dist/{chunk-7PWWGYGO.js.map → chunk-URHCUXKI.js.map} +0 -0
- /package/dist/{chunk-KQAFEZQX.js.map → chunk-VDX2J7OX.js.map} +0 -0
- /package/dist/{chunk-MUJ4QFUQ.js.map → chunk-W4BMEGQA.js.map} +0 -0
- /package/dist/{chunk-5HK3CJAR.js.map → chunk-W675UJCZ.js.map} +0 -0
- /package/dist/{chunk-X5SDZMO7.js.map → chunk-YHCBJULX.js.map} +0 -0
- /package/dist/{chunk-5UYSCYR7.js.map → chunk-Z4RPXHJH.js.map} +0 -0
- /package/dist/{contradiction-review-QKJH5DKD.js.map → contradiction-review-WRVLRWHS.js.map} +0 -0
- /package/dist/{contradiction-scan-VOTQRRSX.js.map → contradiction-scan-AKUWPX5N.js.map} +0 -0
- /package/dist/{resolution-DKMBPXHI.js.map → memory-subject-cli.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" | "extraction" | "consolidation" | "replay" | "unknown";
|
|
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" | "extraction" | "consolidation" | "replay" | "unknown";
|
|
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,13 +64,14 @@ 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"]>>>;
|
|
74
|
+
subject: z.ZodNullable<z.ZodOptional<z.ZodEnum<["user", "agent"]>>>;
|
|
74
75
|
quote: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
75
76
|
structuredAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
76
77
|
procedureSteps: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -112,11 +113,11 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
112
113
|
order: z.ZodNumber;
|
|
113
114
|
description: z.ZodString;
|
|
114
115
|
}, "strip", z.ZodTypeAny, {
|
|
115
|
-
order: number;
|
|
116
116
|
description: string;
|
|
117
|
-
}, {
|
|
118
117
|
order: number;
|
|
118
|
+
}, {
|
|
119
119
|
description: string;
|
|
120
|
+
order: number;
|
|
120
121
|
}>, "many">;
|
|
121
122
|
finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
122
123
|
final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -124,8 +125,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
124
125
|
observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
125
126
|
}, "strip", z.ZodTypeAny, {
|
|
126
127
|
steps: {
|
|
127
|
-
order: number;
|
|
128
128
|
description: string;
|
|
129
|
+
order: number;
|
|
129
130
|
}[];
|
|
130
131
|
finalAnswer?: string | null | undefined;
|
|
131
132
|
final_answer?: string | null | undefined;
|
|
@@ -133,8 +134,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
133
134
|
observed_outcome?: string | null | undefined;
|
|
134
135
|
}, {
|
|
135
136
|
steps: {
|
|
136
|
-
order: number;
|
|
137
137
|
description: string;
|
|
138
|
+
order: number;
|
|
138
139
|
}[];
|
|
139
140
|
finalAnswer?: string | null | undefined;
|
|
140
141
|
final_answer?: string | null | undefined;
|
|
@@ -142,8 +143,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
142
143
|
observed_outcome?: string | null | undefined;
|
|
143
144
|
}>, {
|
|
144
145
|
steps: {
|
|
145
|
-
order: number;
|
|
146
146
|
description: string;
|
|
147
|
+
order: number;
|
|
147
148
|
}[];
|
|
148
149
|
finalAnswer?: string | null | undefined;
|
|
149
150
|
final_answer?: string | null | undefined;
|
|
@@ -151,8 +152,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
151
152
|
observed_outcome?: string | null | undefined;
|
|
152
153
|
}, {
|
|
153
154
|
steps: {
|
|
154
|
-
order: number;
|
|
155
155
|
description: string;
|
|
156
|
+
order: number;
|
|
156
157
|
}[];
|
|
157
158
|
finalAnswer?: string | null | undefined;
|
|
158
159
|
final_answer?: string | null | undefined;
|
|
@@ -162,18 +163,19 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
162
163
|
eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
163
164
|
event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
164
165
|
}, "strip", z.ZodTypeAny, {
|
|
165
|
-
content: string;
|
|
166
|
-
tags: string[];
|
|
167
166
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
167
|
+
content: string;
|
|
168
168
|
confidence: number;
|
|
169
|
+
tags: string[];
|
|
169
170
|
entityRef?: string | null | undefined;
|
|
170
171
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
172
|
+
subject?: "user" | "agent" | null | undefined;
|
|
173
|
+
scope?: "project" | "global" | null | undefined;
|
|
171
174
|
cueAnchors?: {
|
|
172
175
|
value: string;
|
|
173
|
-
type: "
|
|
176
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
174
177
|
}[] | null | undefined;
|
|
175
178
|
promptedByQuestion?: string | null | undefined;
|
|
176
|
-
scope?: "project" | "global" | null | undefined;
|
|
177
179
|
quote?: string | null | undefined;
|
|
178
180
|
procedureSteps?: {
|
|
179
181
|
intent: string;
|
|
@@ -187,8 +189,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
187
189
|
}[] | null | undefined;
|
|
188
190
|
reasoningTrace?: {
|
|
189
191
|
steps: {
|
|
190
|
-
order: number;
|
|
191
192
|
description: string;
|
|
193
|
+
order: number;
|
|
192
194
|
}[];
|
|
193
195
|
finalAnswer?: string | null | undefined;
|
|
194
196
|
final_answer?: string | null | undefined;
|
|
@@ -198,18 +200,19 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
198
200
|
eventTime?: string | null | undefined;
|
|
199
201
|
event_time?: string | null | undefined;
|
|
200
202
|
}, {
|
|
201
|
-
content: string;
|
|
202
|
-
tags: string[];
|
|
203
203
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
204
|
+
content: string;
|
|
204
205
|
confidence: number;
|
|
206
|
+
tags: string[];
|
|
205
207
|
entityRef?: string | null | undefined;
|
|
206
208
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
209
|
+
subject?: "user" | "agent" | null | undefined;
|
|
210
|
+
scope?: "project" | "global" | null | undefined;
|
|
207
211
|
cueAnchors?: {
|
|
208
212
|
value: string;
|
|
209
|
-
type: "
|
|
213
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
210
214
|
}[] | null | undefined;
|
|
211
215
|
promptedByQuestion?: string | null | undefined;
|
|
212
|
-
scope?: "project" | "global" | null | undefined;
|
|
213
216
|
quote?: string | null | undefined;
|
|
214
217
|
procedureSteps?: {
|
|
215
218
|
intent: string;
|
|
@@ -223,8 +226,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
223
226
|
}[] | null | undefined;
|
|
224
227
|
reasoningTrace?: {
|
|
225
228
|
steps: {
|
|
226
|
-
order: number;
|
|
227
229
|
description: string;
|
|
230
|
+
order: number;
|
|
228
231
|
}[];
|
|
229
232
|
finalAnswer?: string | null | undefined;
|
|
230
233
|
final_answer?: string | null | undefined;
|
|
@@ -234,18 +237,19 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
234
237
|
eventTime?: string | null | undefined;
|
|
235
238
|
event_time?: string | null | undefined;
|
|
236
239
|
}>, {
|
|
237
|
-
content: string;
|
|
238
|
-
tags: string[];
|
|
239
240
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
241
|
+
content: string;
|
|
240
242
|
confidence: number;
|
|
243
|
+
tags: string[];
|
|
241
244
|
entityRef?: string | null | undefined;
|
|
242
245
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
246
|
+
subject?: "user" | "agent" | null | undefined;
|
|
247
|
+
scope?: "project" | "global" | null | undefined;
|
|
243
248
|
cueAnchors?: {
|
|
244
249
|
value: string;
|
|
245
|
-
type: "
|
|
250
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
246
251
|
}[] | null | undefined;
|
|
247
252
|
promptedByQuestion?: string | null | undefined;
|
|
248
|
-
scope?: "project" | "global" | null | undefined;
|
|
249
253
|
quote?: string | null | undefined;
|
|
250
254
|
procedureSteps?: {
|
|
251
255
|
intent: string;
|
|
@@ -259,8 +263,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
259
263
|
}[] | null | undefined;
|
|
260
264
|
reasoningTrace?: {
|
|
261
265
|
steps: {
|
|
262
|
-
order: number;
|
|
263
266
|
description: string;
|
|
267
|
+
order: number;
|
|
264
268
|
}[];
|
|
265
269
|
finalAnswer?: string | null | undefined;
|
|
266
270
|
final_answer?: string | null | undefined;
|
|
@@ -270,18 +274,19 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
270
274
|
eventTime?: string | null | undefined;
|
|
271
275
|
event_time?: string | null | undefined;
|
|
272
276
|
}, {
|
|
273
|
-
content: string;
|
|
274
|
-
tags: string[];
|
|
275
277
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
278
|
+
content: string;
|
|
276
279
|
confidence: number;
|
|
280
|
+
tags: string[];
|
|
277
281
|
entityRef?: string | null | undefined;
|
|
278
282
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
283
|
+
subject?: "user" | "agent" | null | undefined;
|
|
284
|
+
scope?: "project" | "global" | null | undefined;
|
|
279
285
|
cueAnchors?: {
|
|
280
286
|
value: string;
|
|
281
|
-
type: "
|
|
287
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
282
288
|
}[] | null | undefined;
|
|
283
289
|
promptedByQuestion?: string | null | undefined;
|
|
284
|
-
scope?: "project" | "global" | null | undefined;
|
|
285
290
|
quote?: string | null | undefined;
|
|
286
291
|
procedureSteps?: {
|
|
287
292
|
intent: string;
|
|
@@ -295,8 +300,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
295
300
|
}[] | null | undefined;
|
|
296
301
|
reasoningTrace?: {
|
|
297
302
|
steps: {
|
|
298
|
-
order: number;
|
|
299
303
|
description: string;
|
|
304
|
+
order: number;
|
|
300
305
|
}[];
|
|
301
306
|
finalAnswer?: string | null | undefined;
|
|
302
307
|
final_answer?: string | null | undefined;
|
|
@@ -325,7 +330,7 @@ declare const EntityMentionSchema: z.ZodObject<{
|
|
|
325
330
|
facts: string[];
|
|
326
331
|
}>, "many">>>;
|
|
327
332
|
}, "strip", z.ZodTypeAny, {
|
|
328
|
-
type: "project" | "other" | "
|
|
333
|
+
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
329
334
|
name: string;
|
|
330
335
|
facts: string[];
|
|
331
336
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -335,7 +340,7 @@ declare const EntityMentionSchema: z.ZodObject<{
|
|
|
335
340
|
facts: string[];
|
|
336
341
|
}[] | null | undefined;
|
|
337
342
|
}, {
|
|
338
|
-
type: "project" | "other" | "
|
|
343
|
+
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
339
344
|
name: string;
|
|
340
345
|
facts: string[];
|
|
341
346
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -391,13 +396,13 @@ declare const ExtractedRelationshipSchema: z.ZodObject<{
|
|
|
391
396
|
label: z.ZodString;
|
|
392
397
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
393
398
|
}, "strip", z.ZodTypeAny, {
|
|
394
|
-
source: string;
|
|
395
399
|
label: string;
|
|
400
|
+
source: string;
|
|
396
401
|
target: string;
|
|
397
402
|
promptedByQuestion?: string | null | undefined;
|
|
398
403
|
}, {
|
|
399
|
-
source: string;
|
|
400
404
|
label: string;
|
|
405
|
+
source: string;
|
|
401
406
|
target: string;
|
|
402
407
|
promptedByQuestion?: string | null | undefined;
|
|
403
408
|
}>;
|
|
@@ -413,13 +418,14 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
413
418
|
value: z.ZodString;
|
|
414
419
|
}, "strip", z.ZodTypeAny, {
|
|
415
420
|
value: string;
|
|
416
|
-
type: "
|
|
421
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
417
422
|
}, {
|
|
418
423
|
value: string;
|
|
419
|
-
type: "
|
|
424
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
420
425
|
}>, "many">>>;
|
|
421
426
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
422
427
|
scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
|
|
428
|
+
subject: z.ZodNullable<z.ZodOptional<z.ZodEnum<["user", "agent"]>>>;
|
|
423
429
|
quote: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
424
430
|
structuredAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
425
431
|
procedureSteps: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -461,11 +467,11 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
461
467
|
order: z.ZodNumber;
|
|
462
468
|
description: z.ZodString;
|
|
463
469
|
}, "strip", z.ZodTypeAny, {
|
|
464
|
-
order: number;
|
|
465
470
|
description: string;
|
|
466
|
-
}, {
|
|
467
471
|
order: number;
|
|
472
|
+
}, {
|
|
468
473
|
description: string;
|
|
474
|
+
order: number;
|
|
469
475
|
}>, "many">;
|
|
470
476
|
finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
471
477
|
final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -473,8 +479,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
473
479
|
observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
474
480
|
}, "strip", z.ZodTypeAny, {
|
|
475
481
|
steps: {
|
|
476
|
-
order: number;
|
|
477
482
|
description: string;
|
|
483
|
+
order: number;
|
|
478
484
|
}[];
|
|
479
485
|
finalAnswer?: string | null | undefined;
|
|
480
486
|
final_answer?: string | null | undefined;
|
|
@@ -482,8 +488,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
482
488
|
observed_outcome?: string | null | undefined;
|
|
483
489
|
}, {
|
|
484
490
|
steps: {
|
|
485
|
-
order: number;
|
|
486
491
|
description: string;
|
|
492
|
+
order: number;
|
|
487
493
|
}[];
|
|
488
494
|
finalAnswer?: string | null | undefined;
|
|
489
495
|
final_answer?: string | null | undefined;
|
|
@@ -491,8 +497,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
491
497
|
observed_outcome?: string | null | undefined;
|
|
492
498
|
}>, {
|
|
493
499
|
steps: {
|
|
494
|
-
order: number;
|
|
495
500
|
description: string;
|
|
501
|
+
order: number;
|
|
496
502
|
}[];
|
|
497
503
|
finalAnswer?: string | null | undefined;
|
|
498
504
|
final_answer?: string | null | undefined;
|
|
@@ -500,8 +506,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
500
506
|
observed_outcome?: string | null | undefined;
|
|
501
507
|
}, {
|
|
502
508
|
steps: {
|
|
503
|
-
order: number;
|
|
504
509
|
description: string;
|
|
510
|
+
order: number;
|
|
505
511
|
}[];
|
|
506
512
|
finalAnswer?: string | null | undefined;
|
|
507
513
|
final_answer?: string | null | undefined;
|
|
@@ -511,18 +517,19 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
511
517
|
eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
512
518
|
event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
513
519
|
}, "strip", z.ZodTypeAny, {
|
|
514
|
-
content: string;
|
|
515
|
-
tags: string[];
|
|
516
520
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
521
|
+
content: string;
|
|
517
522
|
confidence: number;
|
|
523
|
+
tags: string[];
|
|
518
524
|
entityRef?: string | null | undefined;
|
|
519
525
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
526
|
+
subject?: "user" | "agent" | null | undefined;
|
|
527
|
+
scope?: "project" | "global" | null | undefined;
|
|
520
528
|
cueAnchors?: {
|
|
521
529
|
value: string;
|
|
522
|
-
type: "
|
|
530
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
523
531
|
}[] | null | undefined;
|
|
524
532
|
promptedByQuestion?: string | null | undefined;
|
|
525
|
-
scope?: "project" | "global" | null | undefined;
|
|
526
533
|
quote?: string | null | undefined;
|
|
527
534
|
procedureSteps?: {
|
|
528
535
|
intent: string;
|
|
@@ -536,8 +543,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
536
543
|
}[] | null | undefined;
|
|
537
544
|
reasoningTrace?: {
|
|
538
545
|
steps: {
|
|
539
|
-
order: number;
|
|
540
546
|
description: string;
|
|
547
|
+
order: number;
|
|
541
548
|
}[];
|
|
542
549
|
finalAnswer?: string | null | undefined;
|
|
543
550
|
final_answer?: string | null | undefined;
|
|
@@ -547,18 +554,19 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
547
554
|
eventTime?: string | null | undefined;
|
|
548
555
|
event_time?: string | null | undefined;
|
|
549
556
|
}, {
|
|
550
|
-
content: string;
|
|
551
|
-
tags: string[];
|
|
552
557
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
558
|
+
content: string;
|
|
553
559
|
confidence: number;
|
|
560
|
+
tags: string[];
|
|
554
561
|
entityRef?: string | null | undefined;
|
|
555
562
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
563
|
+
subject?: "user" | "agent" | null | undefined;
|
|
564
|
+
scope?: "project" | "global" | null | undefined;
|
|
556
565
|
cueAnchors?: {
|
|
557
566
|
value: string;
|
|
558
|
-
type: "
|
|
567
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
559
568
|
}[] | null | undefined;
|
|
560
569
|
promptedByQuestion?: string | null | undefined;
|
|
561
|
-
scope?: "project" | "global" | null | undefined;
|
|
562
570
|
quote?: string | null | undefined;
|
|
563
571
|
procedureSteps?: {
|
|
564
572
|
intent: string;
|
|
@@ -572,8 +580,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
572
580
|
}[] | null | undefined;
|
|
573
581
|
reasoningTrace?: {
|
|
574
582
|
steps: {
|
|
575
|
-
order: number;
|
|
576
583
|
description: string;
|
|
584
|
+
order: number;
|
|
577
585
|
}[];
|
|
578
586
|
finalAnswer?: string | null | undefined;
|
|
579
587
|
final_answer?: string | null | undefined;
|
|
@@ -583,18 +591,19 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
583
591
|
eventTime?: string | null | undefined;
|
|
584
592
|
event_time?: string | null | undefined;
|
|
585
593
|
}>, {
|
|
586
|
-
content: string;
|
|
587
|
-
tags: string[];
|
|
588
594
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
595
|
+
content: string;
|
|
589
596
|
confidence: number;
|
|
597
|
+
tags: string[];
|
|
590
598
|
entityRef?: string | null | undefined;
|
|
591
599
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
600
|
+
subject?: "user" | "agent" | null | undefined;
|
|
601
|
+
scope?: "project" | "global" | null | undefined;
|
|
592
602
|
cueAnchors?: {
|
|
593
603
|
value: string;
|
|
594
|
-
type: "
|
|
604
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
595
605
|
}[] | null | undefined;
|
|
596
606
|
promptedByQuestion?: string | null | undefined;
|
|
597
|
-
scope?: "project" | "global" | null | undefined;
|
|
598
607
|
quote?: string | null | undefined;
|
|
599
608
|
procedureSteps?: {
|
|
600
609
|
intent: string;
|
|
@@ -608,8 +617,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
608
617
|
}[] | null | undefined;
|
|
609
618
|
reasoningTrace?: {
|
|
610
619
|
steps: {
|
|
611
|
-
order: number;
|
|
612
620
|
description: string;
|
|
621
|
+
order: number;
|
|
613
622
|
}[];
|
|
614
623
|
finalAnswer?: string | null | undefined;
|
|
615
624
|
final_answer?: string | null | undefined;
|
|
@@ -619,18 +628,19 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
619
628
|
eventTime?: string | null | undefined;
|
|
620
629
|
event_time?: string | null | undefined;
|
|
621
630
|
}, {
|
|
622
|
-
content: string;
|
|
623
|
-
tags: string[];
|
|
624
631
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
632
|
+
content: string;
|
|
625
633
|
confidence: number;
|
|
634
|
+
tags: string[];
|
|
626
635
|
entityRef?: string | null | undefined;
|
|
627
636
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
637
|
+
subject?: "user" | "agent" | null | undefined;
|
|
638
|
+
scope?: "project" | "global" | null | undefined;
|
|
628
639
|
cueAnchors?: {
|
|
629
640
|
value: string;
|
|
630
|
-
type: "
|
|
641
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
631
642
|
}[] | null | undefined;
|
|
632
643
|
promptedByQuestion?: string | null | undefined;
|
|
633
|
-
scope?: "project" | "global" | null | undefined;
|
|
634
644
|
quote?: string | null | undefined;
|
|
635
645
|
procedureSteps?: {
|
|
636
646
|
intent: string;
|
|
@@ -644,8 +654,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
644
654
|
}[] | null | undefined;
|
|
645
655
|
reasoningTrace?: {
|
|
646
656
|
steps: {
|
|
647
|
-
order: number;
|
|
648
657
|
description: string;
|
|
658
|
+
order: number;
|
|
649
659
|
}[];
|
|
650
660
|
finalAnswer?: string | null | undefined;
|
|
651
661
|
final_answer?: string | null | undefined;
|
|
@@ -675,7 +685,7 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
675
685
|
facts: string[];
|
|
676
686
|
}>, "many">>>;
|
|
677
687
|
}, "strip", z.ZodTypeAny, {
|
|
678
|
-
type: "project" | "other" | "
|
|
688
|
+
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
679
689
|
name: string;
|
|
680
690
|
facts: string[];
|
|
681
691
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -685,7 +695,7 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
685
695
|
facts: string[];
|
|
686
696
|
}[] | null | undefined;
|
|
687
697
|
}, {
|
|
688
|
-
type: "project" | "other" | "
|
|
698
|
+
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
689
699
|
name: string;
|
|
690
700
|
facts: string[];
|
|
691
701
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -701,30 +711,31 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
701
711
|
label: z.ZodString;
|
|
702
712
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
703
713
|
}, "strip", z.ZodTypeAny, {
|
|
704
|
-
source: string;
|
|
705
714
|
label: string;
|
|
715
|
+
source: string;
|
|
706
716
|
target: string;
|
|
707
717
|
promptedByQuestion?: string | null | undefined;
|
|
708
718
|
}, {
|
|
709
|
-
source: string;
|
|
710
719
|
label: string;
|
|
720
|
+
source: string;
|
|
711
721
|
target: string;
|
|
712
722
|
promptedByQuestion?: string | null | undefined;
|
|
713
723
|
}>, "many">>>;
|
|
714
724
|
}, "strip", z.ZodTypeAny, {
|
|
715
725
|
facts: {
|
|
716
|
-
content: string;
|
|
717
|
-
tags: string[];
|
|
718
726
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
727
|
+
content: string;
|
|
719
728
|
confidence: number;
|
|
729
|
+
tags: string[];
|
|
720
730
|
entityRef?: string | null | undefined;
|
|
721
731
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
732
|
+
subject?: "user" | "agent" | null | undefined;
|
|
733
|
+
scope?: "project" | "global" | null | undefined;
|
|
722
734
|
cueAnchors?: {
|
|
723
735
|
value: string;
|
|
724
|
-
type: "
|
|
736
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
725
737
|
}[] | null | undefined;
|
|
726
738
|
promptedByQuestion?: string | null | undefined;
|
|
727
|
-
scope?: "project" | "global" | null | undefined;
|
|
728
739
|
quote?: string | null | undefined;
|
|
729
740
|
procedureSteps?: {
|
|
730
741
|
intent: string;
|
|
@@ -738,8 +749,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
738
749
|
}[] | null | undefined;
|
|
739
750
|
reasoningTrace?: {
|
|
740
751
|
steps: {
|
|
741
|
-
order: number;
|
|
742
752
|
description: string;
|
|
753
|
+
order: number;
|
|
743
754
|
}[];
|
|
744
755
|
finalAnswer?: string | null | undefined;
|
|
745
756
|
final_answer?: string | null | undefined;
|
|
@@ -750,7 +761,7 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
750
761
|
event_time?: string | null | undefined;
|
|
751
762
|
}[];
|
|
752
763
|
entities: {
|
|
753
|
-
type: "project" | "other" | "
|
|
764
|
+
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
754
765
|
name: string;
|
|
755
766
|
facts: string[];
|
|
756
767
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -762,25 +773,26 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
762
773
|
}[];
|
|
763
774
|
profileUpdates: string[];
|
|
764
775
|
relationships?: {
|
|
765
|
-
source: string;
|
|
766
776
|
label: string;
|
|
777
|
+
source: string;
|
|
767
778
|
target: string;
|
|
768
779
|
promptedByQuestion?: string | null | undefined;
|
|
769
780
|
}[] | null | undefined;
|
|
770
781
|
}, {
|
|
771
782
|
facts: {
|
|
772
|
-
content: string;
|
|
773
|
-
tags: string[];
|
|
774
783
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
784
|
+
content: string;
|
|
775
785
|
confidence: number;
|
|
786
|
+
tags: string[];
|
|
776
787
|
entityRef?: string | null | undefined;
|
|
777
788
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
789
|
+
subject?: "user" | "agent" | null | undefined;
|
|
790
|
+
scope?: "project" | "global" | null | undefined;
|
|
778
791
|
cueAnchors?: {
|
|
779
792
|
value: string;
|
|
780
|
-
type: "
|
|
793
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
781
794
|
}[] | null | undefined;
|
|
782
795
|
promptedByQuestion?: string | null | undefined;
|
|
783
|
-
scope?: "project" | "global" | null | undefined;
|
|
784
796
|
quote?: string | null | undefined;
|
|
785
797
|
procedureSteps?: {
|
|
786
798
|
intent: string;
|
|
@@ -794,8 +806,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
794
806
|
}[] | null | undefined;
|
|
795
807
|
reasoningTrace?: {
|
|
796
808
|
steps: {
|
|
797
|
-
order: number;
|
|
798
809
|
description: string;
|
|
810
|
+
order: number;
|
|
799
811
|
}[];
|
|
800
812
|
finalAnswer?: string | null | undefined;
|
|
801
813
|
final_answer?: string | null | undefined;
|
|
@@ -806,7 +818,7 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
806
818
|
event_time?: string | null | undefined;
|
|
807
819
|
}[];
|
|
808
820
|
entities: {
|
|
809
|
-
type: "project" | "other" | "
|
|
821
|
+
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
810
822
|
name: string;
|
|
811
823
|
facts: string[];
|
|
812
824
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -818,26 +830,27 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
818
830
|
}[];
|
|
819
831
|
profileUpdates: string[];
|
|
820
832
|
relationships?: {
|
|
821
|
-
source: string;
|
|
822
833
|
label: string;
|
|
834
|
+
source: string;
|
|
823
835
|
target: string;
|
|
824
836
|
promptedByQuestion?: string | null | undefined;
|
|
825
837
|
}[] | null | undefined;
|
|
826
838
|
}>;
|
|
827
839
|
declare const ExtractionResultSchema: z.ZodObject<{
|
|
828
840
|
facts: z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
|
|
829
|
-
content: string;
|
|
830
|
-
tags: string[];
|
|
831
841
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
842
|
+
content: string;
|
|
832
843
|
confidence: number;
|
|
844
|
+
tags: string[];
|
|
833
845
|
entityRef?: string | null | undefined;
|
|
834
846
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
847
|
+
subject?: "user" | "agent" | null | undefined;
|
|
848
|
+
scope?: "project" | "global" | null | undefined;
|
|
835
849
|
cueAnchors?: {
|
|
836
850
|
value: string;
|
|
837
|
-
type: "
|
|
851
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
838
852
|
}[] | null | undefined;
|
|
839
853
|
promptedByQuestion?: string | null | undefined;
|
|
840
|
-
scope?: "project" | "global" | null | undefined;
|
|
841
854
|
quote?: string | null | undefined;
|
|
842
855
|
procedureSteps?: {
|
|
843
856
|
intent: string;
|
|
@@ -851,8 +864,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
851
864
|
}[] | null | undefined;
|
|
852
865
|
reasoningTrace?: {
|
|
853
866
|
steps: {
|
|
854
|
-
order: number;
|
|
855
867
|
description: string;
|
|
868
|
+
order: number;
|
|
856
869
|
}[];
|
|
857
870
|
finalAnswer?: string | null | undefined;
|
|
858
871
|
final_answer?: string | null | undefined;
|
|
@@ -864,7 +877,7 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
864
877
|
}[], unknown[]>;
|
|
865
878
|
profileUpdates: z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, string[], unknown[]>;
|
|
866
879
|
entities: z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
|
|
867
|
-
type: "project" | "other" | "
|
|
880
|
+
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
868
881
|
name: string;
|
|
869
882
|
facts: string[];
|
|
870
883
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -882,8 +895,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
882
895
|
identityReflection: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
883
896
|
episodeTitle: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
884
897
|
relationships: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
|
|
885
|
-
source: string;
|
|
886
898
|
label: string;
|
|
899
|
+
source: string;
|
|
887
900
|
target: string;
|
|
888
901
|
promptedByQuestion?: string | null | undefined;
|
|
889
902
|
}[], unknown[]>>>;
|
|
@@ -894,18 +907,19 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
894
907
|
context: string;
|
|
895
908
|
}[];
|
|
896
909
|
facts: {
|
|
897
|
-
content: string;
|
|
898
|
-
tags: string[];
|
|
899
910
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
911
|
+
content: string;
|
|
900
912
|
confidence: number;
|
|
913
|
+
tags: string[];
|
|
901
914
|
entityRef?: string | null | undefined;
|
|
902
915
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
916
|
+
subject?: "user" | "agent" | null | undefined;
|
|
917
|
+
scope?: "project" | "global" | null | undefined;
|
|
903
918
|
cueAnchors?: {
|
|
904
919
|
value: string;
|
|
905
|
-
type: "
|
|
920
|
+
type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
|
|
906
921
|
}[] | null | undefined;
|
|
907
922
|
promptedByQuestion?: string | null | undefined;
|
|
908
|
-
scope?: "project" | "global" | null | undefined;
|
|
909
923
|
quote?: string | null | undefined;
|
|
910
924
|
procedureSteps?: {
|
|
911
925
|
intent: string;
|
|
@@ -919,8 +933,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
919
933
|
}[] | null | undefined;
|
|
920
934
|
reasoningTrace?: {
|
|
921
935
|
steps: {
|
|
922
|
-
order: number;
|
|
923
936
|
description: string;
|
|
937
|
+
order: number;
|
|
924
938
|
}[];
|
|
925
939
|
finalAnswer?: string | null | undefined;
|
|
926
940
|
final_answer?: string | null | undefined;
|
|
@@ -931,7 +945,7 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
931
945
|
event_time?: string | null | undefined;
|
|
932
946
|
}[];
|
|
933
947
|
entities: {
|
|
934
|
-
type: "project" | "other" | "
|
|
948
|
+
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
935
949
|
name: string;
|
|
936
950
|
facts: string[];
|
|
937
951
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -943,8 +957,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
943
957
|
}[];
|
|
944
958
|
profileUpdates: string[];
|
|
945
959
|
relationships?: {
|
|
946
|
-
source: string;
|
|
947
960
|
label: string;
|
|
961
|
+
source: string;
|
|
948
962
|
target: string;
|
|
949
963
|
promptedByQuestion?: string | null | undefined;
|
|
950
964
|
}[] | null | undefined;
|
|
@@ -966,15 +980,15 @@ declare const ConsolidationItemSchema: z.ZodObject<{
|
|
|
966
980
|
updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
967
981
|
reason: z.ZodString;
|
|
968
982
|
}, "strip", z.ZodTypeAny, {
|
|
983
|
+
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
969
984
|
reason: string;
|
|
970
985
|
existingId: string;
|
|
971
|
-
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
972
986
|
mergeWith?: string | null | undefined;
|
|
973
987
|
updatedContent?: string | null | undefined;
|
|
974
988
|
}, {
|
|
989
|
+
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
975
990
|
reason: string;
|
|
976
991
|
existingId: string;
|
|
977
|
-
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
978
992
|
mergeWith?: string | null | undefined;
|
|
979
993
|
updatedContent?: string | null | undefined;
|
|
980
994
|
}>;
|
|
@@ -986,15 +1000,15 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
986
1000
|
updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
987
1001
|
reason: z.ZodString;
|
|
988
1002
|
}, "strip", z.ZodTypeAny, {
|
|
1003
|
+
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
989
1004
|
reason: string;
|
|
990
1005
|
existingId: string;
|
|
991
|
-
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
992
1006
|
mergeWith?: string | null | undefined;
|
|
993
1007
|
updatedContent?: string | null | undefined;
|
|
994
1008
|
}, {
|
|
1009
|
+
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
995
1010
|
reason: string;
|
|
996
1011
|
existingId: string;
|
|
997
|
-
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
998
1012
|
mergeWith?: string | null | undefined;
|
|
999
1013
|
updatedContent?: string | null | undefined;
|
|
1000
1014
|
}>, "many">;
|
|
@@ -1018,7 +1032,7 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1018
1032
|
facts: string[];
|
|
1019
1033
|
}>, "many">>>;
|
|
1020
1034
|
}, "strip", z.ZodTypeAny, {
|
|
1021
|
-
type: "project" | "other" | "
|
|
1035
|
+
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
1022
1036
|
name: string;
|
|
1023
1037
|
facts: string[];
|
|
1024
1038
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1028,7 +1042,7 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1028
1042
|
facts: string[];
|
|
1029
1043
|
}[] | null | undefined;
|
|
1030
1044
|
}, {
|
|
1031
|
-
type: "project" | "other" | "
|
|
1045
|
+
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
1032
1046
|
name: string;
|
|
1033
1047
|
facts: string[];
|
|
1034
1048
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1040,15 +1054,15 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1040
1054
|
}>, "many">;
|
|
1041
1055
|
}, "strip", z.ZodTypeAny, {
|
|
1042
1056
|
items: {
|
|
1057
|
+
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1043
1058
|
reason: string;
|
|
1044
1059
|
existingId: string;
|
|
1045
|
-
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1046
1060
|
mergeWith?: string | null | undefined;
|
|
1047
1061
|
updatedContent?: string | null | undefined;
|
|
1048
1062
|
}[];
|
|
1049
1063
|
profileUpdates: string[];
|
|
1050
1064
|
entityUpdates: {
|
|
1051
|
-
type: "project" | "other" | "
|
|
1065
|
+
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
1052
1066
|
name: string;
|
|
1053
1067
|
facts: string[];
|
|
1054
1068
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1060,15 +1074,15 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1060
1074
|
}[];
|
|
1061
1075
|
}, {
|
|
1062
1076
|
items: {
|
|
1077
|
+
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1063
1078
|
reason: string;
|
|
1064
1079
|
existingId: string;
|
|
1065
|
-
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1066
1080
|
mergeWith?: string | null | undefined;
|
|
1067
1081
|
updatedContent?: string | null | undefined;
|
|
1068
1082
|
}[];
|
|
1069
1083
|
profileUpdates: string[];
|
|
1070
1084
|
entityUpdates: {
|
|
1071
|
-
type: "project" | "other" | "
|
|
1085
|
+
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
1072
1086
|
name: string;
|
|
1073
1087
|
facts: string[];
|
|
1074
1088
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1122,13 +1136,13 @@ declare const ContradictionVerificationSchema: z.ZodObject<{
|
|
|
1122
1136
|
reasoning: z.ZodString;
|
|
1123
1137
|
whichIsNewer: z.ZodEnum<["first", "second", "unclear"]>;
|
|
1124
1138
|
}, "strip", z.ZodTypeAny, {
|
|
1125
|
-
reasoning: string;
|
|
1126
1139
|
confidence: number;
|
|
1140
|
+
reasoning: string;
|
|
1127
1141
|
isContradiction: boolean;
|
|
1128
1142
|
whichIsNewer: "first" | "second" | "unclear";
|
|
1129
1143
|
}, {
|
|
1130
|
-
reasoning: string;
|
|
1131
1144
|
confidence: number;
|
|
1145
|
+
reasoning: string;
|
|
1132
1146
|
isContradiction: boolean;
|
|
1133
1147
|
whichIsNewer: "first" | "second" | "unclear";
|
|
1134
1148
|
}>;
|
|
@@ -1223,8 +1237,8 @@ declare const BehaviorLoopAdjustmentSchema: z.ZodObject<{
|
|
|
1223
1237
|
reason: z.ZodString;
|
|
1224
1238
|
appliedAt: z.ZodString;
|
|
1225
1239
|
}, "strip", z.ZodTypeAny, {
|
|
1226
|
-
confidence: number;
|
|
1227
1240
|
reason: string;
|
|
1241
|
+
confidence: number;
|
|
1228
1242
|
parameter: string;
|
|
1229
1243
|
previousValue: number;
|
|
1230
1244
|
nextValue: number;
|
|
@@ -1232,8 +1246,8 @@ declare const BehaviorLoopAdjustmentSchema: z.ZodObject<{
|
|
|
1232
1246
|
evidenceCount: number;
|
|
1233
1247
|
appliedAt: string;
|
|
1234
1248
|
}, {
|
|
1235
|
-
confidence: number;
|
|
1236
1249
|
reason: string;
|
|
1250
|
+
confidence: number;
|
|
1237
1251
|
parameter: string;
|
|
1238
1252
|
previousValue: number;
|
|
1239
1253
|
nextValue: number;
|
|
@@ -1257,8 +1271,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
1257
1271
|
reason: z.ZodString;
|
|
1258
1272
|
appliedAt: z.ZodString;
|
|
1259
1273
|
}, "strip", z.ZodTypeAny, {
|
|
1260
|
-
confidence: number;
|
|
1261
1274
|
reason: string;
|
|
1275
|
+
confidence: number;
|
|
1262
1276
|
parameter: string;
|
|
1263
1277
|
previousValue: number;
|
|
1264
1278
|
nextValue: number;
|
|
@@ -1266,8 +1280,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
1266
1280
|
evidenceCount: number;
|
|
1267
1281
|
appliedAt: string;
|
|
1268
1282
|
}, {
|
|
1269
|
-
confidence: number;
|
|
1270
1283
|
reason: string;
|
|
1284
|
+
confidence: number;
|
|
1271
1285
|
parameter: string;
|
|
1272
1286
|
previousValue: number;
|
|
1273
1287
|
nextValue: number;
|
|
@@ -1277,14 +1291,15 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
1277
1291
|
}>, "many">;
|
|
1278
1292
|
updatedAt: z.ZodString;
|
|
1279
1293
|
}, "strip", z.ZodTypeAny, {
|
|
1294
|
+
updatedAt: string;
|
|
1280
1295
|
version: number;
|
|
1281
1296
|
windowDays: number;
|
|
1282
1297
|
minSignalCount: number;
|
|
1283
1298
|
maxDeltaPerCycle: number;
|
|
1284
1299
|
protectedParams: string[];
|
|
1285
1300
|
adjustments: {
|
|
1286
|
-
confidence: number;
|
|
1287
1301
|
reason: string;
|
|
1302
|
+
confidence: number;
|
|
1288
1303
|
parameter: string;
|
|
1289
1304
|
previousValue: number;
|
|
1290
1305
|
nextValue: number;
|
|
@@ -1292,16 +1307,16 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
1292
1307
|
evidenceCount: number;
|
|
1293
1308
|
appliedAt: string;
|
|
1294
1309
|
}[];
|
|
1295
|
-
updatedAt: string;
|
|
1296
1310
|
}, {
|
|
1311
|
+
updatedAt: string;
|
|
1297
1312
|
version: number;
|
|
1298
1313
|
windowDays: number;
|
|
1299
1314
|
minSignalCount: number;
|
|
1300
1315
|
maxDeltaPerCycle: number;
|
|
1301
1316
|
protectedParams: string[];
|
|
1302
1317
|
adjustments: {
|
|
1303
|
-
confidence: number;
|
|
1304
1318
|
reason: string;
|
|
1319
|
+
confidence: number;
|
|
1305
1320
|
parameter: string;
|
|
1306
1321
|
previousValue: number;
|
|
1307
1322
|
nextValue: number;
|
|
@@ -1309,7 +1324,6 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
1309
1324
|
evidenceCount: number;
|
|
1310
1325
|
appliedAt: string;
|
|
1311
1326
|
}[];
|
|
1312
|
-
updatedAt: string;
|
|
1313
1327
|
}>;
|
|
1314
1328
|
type BehaviorLoopAdjustmentParsed = z.infer<typeof BehaviorLoopAdjustmentSchema>;
|
|
1315
1329
|
type BehaviorLoopPolicyStateParsed = z.infer<typeof BehaviorLoopPolicyStateSchema>;
|