@remnic/core 9.69.35 → 9.69.37
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 +12 -12
- package/dist/access-admin-ops-surface.js +35 -35
- package/dist/access-authorization-probe.d.ts +12 -12
- package/dist/access-authorization-probe.js +36 -36
- package/dist/access-boundary.d.ts +12 -12
- package/dist/access-boundary.js +35 -35
- package/dist/access-cli.js +116 -111
- package/dist/access-cli.js.map +1 -1
- package/dist/access-coding-context-resolution.d.ts +1 -1
- package/dist/access-extraction-force-flush.d.ts +12 -12
- package/dist/access-extraction-force-flush.js +35 -35
- package/dist/access-health-types.d.ts +1 -1
- package/dist/access-http-briefing.d.ts +12 -12
- package/dist/access-http-briefing.js +36 -36
- package/dist/access-http-lcm-compaction.d.ts +12 -12
- package/dist/access-http-lifecycle-flush.d.ts +12 -12
- package/dist/access-http-offline-stream.d.ts +12 -12
- package/dist/access-http-query.d.ts +2 -2
- package/dist/access-http-query.js +37 -37
- package/dist/access-http.d.ts +13 -13
- package/dist/access-http.js +55 -55
- package/dist/access-identity-continuity-surface.d.ts +10 -10
- package/dist/access-identity-continuity-surface.js +35 -35
- package/dist/access-lcm-surface.d.ts +12 -12
- package/dist/access-lcm-surface.js +35 -35
- package/dist/access-mcp.d.ts +12 -12
- package/dist/access-mcp.js +44 -44
- package/dist/access-memory-search-fanout.d.ts +2 -2
- package/dist/{access-namespace-preflight-D8qri11P.d.ts → access-namespace-preflight-CV5cHujx.d.ts} +1 -1
- package/dist/access-namespace-preflight.d.ts +3 -3
- package/dist/access-namespace-preflight.js +35 -35
- package/dist/access-observe-transcript.d.ts +10 -10
- package/dist/access-observe-write-surface.d.ts +12 -12
- package/dist/access-observe-write-surface.js +35 -35
- package/dist/access-offline-manifest.d.ts +10 -10
- package/dist/access-offline-manifest.js +2 -2
- package/dist/access-operations-batch.js +38 -38
- package/dist/access-operations.d.ts +16 -16
- package/dist/access-operations.js +43 -43
- package/dist/access-recall-concurrency.d.ts +12 -12
- package/dist/access-recall-concurrency.js +35 -35
- package/dist/access-recall-response.d.ts +12 -12
- package/dist/access-recall-response.js +35 -35
- package/dist/access-recall-surface.d.ts +12 -12
- package/dist/access-recall-surface.js +35 -35
- package/dist/access-schema.d.ts +94 -94
- package/dist/access-schema.js +3 -3
- package/dist/{access-service-CKu5ixg9.d.ts → access-service-DwHC7lcV.d.ts} +71 -71
- package/dist/access-service-helpers.d.ts +12 -12
- package/dist/access-service.d.ts +12 -12
- package/dist/access-service.js +35 -35
- package/dist/access-surface-catalog.d.ts +12 -12
- package/dist/access-surface-catalog.js +37 -37
- package/dist/access-wearables-meetings-surface.d.ts +3 -3
- package/dist/action-confidence.d.ts +1 -1
- package/dist/active-memory-bridge.d.ts +1 -1
- package/dist/active-recall.d.ts +1 -1
- package/dist/active-recall.js +4 -3
- package/dist/active-recall.js.map +1 -1
- package/dist/activity/digest.d.ts +1 -1
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/ambient-provenance.d.ts +1 -1
- package/dist/artifact-search.d.ts +1 -1
- package/dist/{auto-sync-4YFATLFQ.js → auto-sync-FSRJDU63.js} +4 -4
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +10 -10
- package/dist/briefing-window.d.ts +2 -2
- package/dist/briefing.d.ts +2 -2
- package/dist/briefing.js +9 -9
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer-turn-helpers.d.ts +1 -1
- package/dist/buffer.d.ts +2 -2
- package/dist/bulk-import/index.d.ts +3 -3
- package/dist/calibration.d.ts +1 -1
- package/dist/calibration.js +1 -1
- package/dist/capabilities.d.ts +1 -1
- package/dist/{capsule-crypto-7FJQINUR.js → capsule-crypto-YO5QJ6L3.js} +2 -2
- package/dist/{catalog-Bq1AxZwF.d.ts → catalog-Cl4H8N89.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-behavior.js +2 -2
- package/dist/causal-chain.js +2 -2
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-consolidation.js +12 -12
- package/dist/causal-retrieval.js +2 -2
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/causal-trajectory-graph.js +2 -2
- package/dist/causal-trajectory.js +1 -1
- package/dist/{chunk-RUXPVSML.js → chunk-2AR5JFD7.js} +2 -2
- package/dist/{chunk-YNN26CIZ.js → chunk-2JGGZICG.js} +2 -2
- package/dist/{chunk-A7GQBJP5.js → chunk-2L5FSNPC.js} +10 -10
- package/dist/{chunk-XPJNT6PI.js → chunk-2PUE5P7C.js} +7 -3
- package/dist/chunk-2PUE5P7C.js.map +1 -0
- package/dist/{chunk-27IOSH2W.js → chunk-375ARKRS.js} +32 -11
- package/dist/chunk-375ARKRS.js.map +1 -0
- package/dist/{chunk-ZTG4P7NZ.js → chunk-3IXB77DA.js} +67 -67
- package/dist/{chunk-WHHEPAO3.js → chunk-3K6UFW5B.js} +3 -3
- package/dist/{chunk-UBG4GAEP.js → chunk-3OHISDDW.js} +5 -1
- package/dist/chunk-3OHISDDW.js.map +1 -0
- package/dist/chunk-3SL52JKD.js +160 -0
- package/dist/chunk-3SL52JKD.js.map +1 -0
- package/dist/{chunk-EEBQFG5E.js → chunk-3YMDY3ZF.js} +10 -10
- package/dist/{chunk-5JG5EBVL.js → chunk-4DPDIOVA.js} +2 -2
- package/dist/{chunk-UDZYNIDJ.js → chunk-4WGAMREC.js} +2 -2
- package/dist/{chunk-HXSAWV3A.js → chunk-57GDHV2D.js} +3 -3
- package/dist/{chunk-Z7ACR6MJ.js → chunk-5LLQAUMI.js} +2 -2
- package/dist/{chunk-P3ONDDIJ.js → chunk-5SYI2F47.js} +2 -2
- package/dist/{chunk-DGS34QSY.js → chunk-6E5GYDIE.js} +2 -2
- package/dist/{chunk-J7PB5UQ4.js → chunk-6Z3WW2MW.js} +2 -2
- package/dist/{chunk-GLZH5VEN.js → chunk-76DRU7C4.js} +2 -2
- package/dist/{chunk-L2QLDZJC.js → chunk-7MJBKZPU.js} +2 -2
- package/dist/{chunk-Y63ZFP4X.js → chunk-7RKBPXY6.js} +2 -2
- package/dist/chunk-A6CXG5WI.js +51 -0
- package/dist/chunk-A6CXG5WI.js.map +1 -0
- package/dist/{chunk-JSRVXI6E.js → chunk-B2YKTE7P.js} +4 -4
- package/dist/{chunk-Z3O53WZR.js → chunk-BICNRVEC.js} +2 -2
- package/dist/{chunk-BNGHPYZU.js → chunk-BLHX5FQW.js} +2 -2
- package/dist/{chunk-7CBKAQIG.js → chunk-BOADKFN4.js} +28 -4
- package/dist/chunk-BOADKFN4.js.map +1 -0
- package/dist/{chunk-2NLLXCJG.js → chunk-BXLOS5AJ.js} +2 -2
- package/dist/{chunk-776GVKL7.js → chunk-CD3C4BJN.js} +2 -2
- package/dist/{chunk-LMCD5W5B.js → chunk-CIYUWSMZ.js} +2 -2
- package/dist/{chunk-YJ6VCDMZ.js → chunk-CQ7SSBO4.js} +2 -2
- package/dist/{chunk-CNV2A557.js → chunk-CYEMS2PG.js} +2 -2
- package/dist/{chunk-DVOBLPSQ.js → chunk-D2DIYEFW.js} +6 -6
- package/dist/chunk-D2DIYEFW.js.map +1 -0
- package/dist/{chunk-OQ7SSRXP.js → chunk-DOKKRZPH.js} +21 -17
- package/dist/chunk-DOKKRZPH.js.map +1 -0
- package/dist/{chunk-UYUCCQ46.js → chunk-DOQLHCSS.js} +2 -2
- package/dist/{chunk-X7Y7WX73.js → chunk-DQEMWVMT.js} +1 -1
- package/dist/{chunk-RRZKTSFG.js → chunk-FCFAYMTU.js} +2 -2
- package/dist/{chunk-R4OCGPSH.js → chunk-FJMYMJLR.js} +2 -2
- package/dist/{chunk-TKFSXDOB.js → chunk-FLLORID2.js} +2 -2
- package/dist/{chunk-QATYVTP7.js → chunk-FPQDZCUX.js} +2 -2
- package/dist/{chunk-L2WQVSKP.js → chunk-G5MO3VQA.js} +2 -2
- package/dist/{chunk-LNDLXMH6.js → chunk-GDDSXVWR.js} +2 -2
- package/dist/{chunk-JZ2CHRLB.js → chunk-GHX5PNXW.js} +2 -2
- package/dist/{chunk-2BQ4ZIWC.js → chunk-GNR6YEWZ.js} +5 -5
- package/dist/{chunk-5FAGCOZD.js → chunk-GWK7FEUL.js} +4 -4
- package/dist/{chunk-SCXURCVT.js → chunk-GWQVMKUJ.js} +3 -3
- package/dist/{chunk-QBLDCI6E.js → chunk-HHDTBYDJ.js} +2 -2
- package/dist/{chunk-2YLMUME2.js → chunk-IQZ6ISFX.js} +2 -2
- package/dist/chunk-JE26AUX6.js +16 -0
- package/dist/chunk-JE26AUX6.js.map +1 -0
- package/dist/{chunk-AJTG3CP7.js → chunk-JHU4EYDV.js} +11 -1
- package/dist/chunk-JHU4EYDV.js.map +1 -0
- package/dist/{chunk-JHZCXUQI.js → chunk-JLXWRQNR.js} +33 -33
- package/dist/{chunk-FVJ4D6L7.js → chunk-JMPYZJQN.js} +1 -1
- package/dist/{chunk-HC4GFLMQ.js → chunk-JO5TQAKW.js} +3 -3
- package/dist/{chunk-ZBEGS7OB.js → chunk-JPKZTCWZ.js} +3 -3
- package/dist/{chunk-AZSKROVQ.js → chunk-JYR4LH76.js} +2 -2
- package/dist/{chunk-ECKG5WSI.js → chunk-JZYECQWN.js} +2 -2
- package/dist/{chunk-NPNSKE76.js → chunk-KTRXQQFN.js} +2 -2
- package/dist/{chunk-LEMD7WZJ.js → chunk-KUK56OPR.js} +62 -17
- package/dist/chunk-KUK56OPR.js.map +1 -0
- package/dist/{chunk-HUT2JR6I.js → chunk-L5OXE4PX.js} +2 -2
- package/dist/{chunk-B3O3IRZN.js → chunk-LMMQKZK3.js} +1 -1
- package/dist/{chunk-QURNMKME.js → chunk-LSDEIZ76.js} +2 -2
- package/dist/{chunk-XCOV45MO.js → chunk-MR6LQVZ5.js} +2 -2
- package/dist/chunk-OEBLZZKK.js +53 -0
- package/dist/chunk-OEBLZZKK.js.map +1 -0
- package/dist/{chunk-6J6K3STG.js → chunk-OTPXEE6W.js} +6 -6
- package/dist/{chunk-LYDJRF45.js → chunk-PNEDMJ53.js} +2 -2
- package/dist/{chunk-MPAJFFP3.js → chunk-PPTOAHTZ.js} +4 -4
- package/dist/{chunk-MPAJFFP3.js.map → chunk-PPTOAHTZ.js.map} +1 -1
- package/dist/{chunk-JRWW7GM6.js → chunk-Q6D7EUSQ.js} +7 -7
- package/dist/{chunk-VYXDUPYE.js → chunk-Q7JK6YEB.js} +2 -2
- package/dist/chunk-QJ2AX6DU.js +19 -0
- package/dist/chunk-QJ2AX6DU.js.map +1 -0
- package/dist/{chunk-4MDKNUV4.js → chunk-RN3MVLW3.js} +1 -1
- package/dist/chunk-RN3MVLW3.js.map +1 -0
- package/dist/{chunk-YXLUTALO.js → chunk-SAKA6PPL.js} +2 -2
- package/dist/{chunk-HWLIMQE2.js → chunk-SF6RFI5Z.js} +2 -2
- package/dist/{chunk-OS2AT2JU.js → chunk-SROIT6QY.js} +5 -5
- package/dist/{chunk-S5G2LAL7.js → chunk-SV4Z2S67.js} +4 -4
- package/dist/{chunk-DK4X5B6I.js → chunk-TFRDUD3M.js} +2 -2
- package/dist/{chunk-JR6H5CYS.js → chunk-TL7NLM2L.js} +2 -2
- package/dist/{chunk-NN4JEFON.js → chunk-TRU6JBOI.js} +2 -2
- package/dist/{chunk-PHP3MUGF.js → chunk-UYVXIY6C.js} +2 -2
- package/dist/{chunk-KQAFEZQX.js → chunk-VDX2J7OX.js} +2 -2
- package/dist/{chunk-ZHXSOMYH.js → chunk-VVX5PZFS.js} +2 -2
- package/dist/{chunk-BJETIR53.js → chunk-WS3WNLST.js} +3 -3
- package/dist/{chunk-3FJKJ5UZ.js → chunk-X7BCM2NA.js} +2 -2
- package/dist/{chunk-Q4AUIFUA.js → chunk-XAITGGX5.js} +4 -4
- package/dist/{chunk-WPDKBUWX.js → chunk-XCF3SFHD.js} +2 -2
- package/dist/{chunk-LO4UKPKX.js → chunk-YHU5XUF4.js} +2 -2
- package/dist/{chunk-F6IVBYFS.js → chunk-YIZ2EUUL.js} +51 -51
- package/dist/{chunk-EZ25VE3G.js → chunk-YNDLCWXS.js} +4 -4
- package/dist/{chunk-5VAF4ID4.js → chunk-ZEPVWLCN.js} +9 -9
- package/dist/{cli-Bk7Ctql4.d.ts → cli-1mzd5TM4.d.ts} +5 -5
- package/dist/cli.d.ts +14 -14
- package/dist/cli.js +79 -78
- package/dist/coding/export-okf-codegraph.d.ts +1 -1
- package/dist/coding/export-okf-codegraph.js +8 -8
- package/dist/coding/pre-action-gate.d.ts +1 -1
- package/dist/coding/pre-action-gate.js +2 -2
- package/dist/compounding/engine.d.ts +2 -2
- package/dist/compounding/engine.js +9 -9
- package/dist/compounding/preference-consolidator.d.ts +1 -1
- package/dist/compression-optimizer.d.ts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +4 -3
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +9 -9
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +9 -9
- package/dist/consolidation-provenance-check.d.ts +2 -2
- package/dist/consolidation-undo.d.ts +2 -2
- package/dist/contradiction/index.d.ts +3 -3
- package/dist/converge-config.d.ts +1 -1
- package/dist/convergence-refresh.d.ts +2 -2
- package/dist/convergence-refresh.js +11 -11
- package/dist/conversation-index/backend.d.ts +1 -1
- package/dist/conversation-index/chunker.d.ts +1 -1
- package/dist/conversation-index/faiss-adapter.d.ts +1 -1
- package/dist/conversation-index/indexer.d.ts +1 -1
- package/dist/conversation-index/search.d.ts +1 -1
- package/dist/corpus-watermark.d.ts +1 -1
- package/dist/corpus-watermark.js +11 -11
- package/dist/cross-lingual-recall.d.ts +1 -1
- package/dist/dashboard-runtime.js +2 -2
- package/dist/day-summary.d.ts +1 -1
- package/dist/deep-recall-http-glue.d.ts +12 -12
- package/dist/deep-recall-http-glue.js +4 -4
- package/dist/deep-recall-mcp-tools.d.ts +12 -12
- package/dist/deep-recall-policy-llm.d.ts +1 -1
- package/dist/deep-recall-seeds.d.ts +1 -1
- package/dist/deep-recall.js +2 -2
- package/dist/delinearize.d.ts +1 -1
- package/dist/dependency-propagation-config.d.ts +1 -1
- package/dist/{dependency-propagation-delivery-DLiAtj25.d.ts → dependency-propagation-delivery-Bua2ApHV.d.ts} +1 -1
- package/dist/direct-answer-wiring.d.ts +1 -1
- package/dist/direct-answer.d.ts +1 -1
- package/dist/embedding-fallback.d.ts +1 -1
- package/dist/enrichment/index.d.ts +1 -1
- package/dist/entity-origin-fields.d.ts +1 -1
- package/dist/entity-retrieval.d.ts +2 -2
- package/dist/entity-retrieval.js +9 -9
- package/dist/entity-schema.d.ts +1 -1
- package/dist/episodic-context.d.ts +1 -1
- package/dist/eval-trajectory-contracts.d.ts +1 -1
- package/dist/eval-trajectory-store.d.ts +1 -1
- package/dist/eval-trajectory.d.ts +1 -1
- package/dist/explicit-capture.d.ts +10 -10
- package/dist/external-wiki-access.d.ts +12 -12
- package/dist/external-wiki-access.js +36 -36
- package/dist/external-wiki-collection-registration.d.ts +1 -1
- package/dist/external-wiki-collection.d.ts +1 -1
- package/dist/external-wiki-mcp-tools.d.ts +12 -12
- package/dist/extraction-error-classification.d.ts +1 -1
- package/dist/extraction-faithfulness.d.ts +1 -1
- package/dist/extraction-judge-telemetry.d.ts +1 -1
- package/dist/extraction-judge-training.d.ts +1 -1
- package/dist/extraction-judge.d.ts +1 -1
- package/dist/extraction-judge.js +2 -2
- package/dist/extraction-liveness.d.ts +1 -1
- package/dist/extraction-normalization.d.ts +1 -1
- package/dist/extraction-normalization.js +2 -2
- package/dist/extraction-prompt.d.ts +11 -2
- package/dist/extraction-prompt.js +7 -3
- package/dist/extraction-source-grounding-rules.d.ts +3 -2
- package/dist/extraction-source-grounding-rules.js +1 -1
- package/dist/extraction-source-grounding.d.ts +2 -2
- package/dist/extraction-source-grounding.js +2 -2
- package/dist/extraction-span-config.d.ts +15 -0
- package/dist/extraction-span-config.js +15 -0
- package/dist/extraction-span-materialize.d.ts +105 -0
- package/dist/extraction-span-materialize.js +30 -0
- package/dist/extraction-span-materialize.js.map +1 -0
- package/dist/extraction-span-slice.js +3 -12
- package/dist/extraction-span-slice.js.map +1 -1
- package/dist/extraction-span-source-hash.js +4 -46
- package/dist/extraction-span-source-hash.js.map +1 -1
- package/dist/extraction-span-validate.js +3 -15
- package/dist/extraction-span-validate.js.map +1 -1
- package/dist/extraction.d.ts +7 -1
- package/dist/extraction.js +20 -16
- package/dist/fallback-llm.d.ts +1 -1
- package/dist/{first-start-migration-L3UFX5CU.js → first-start-migration-GZ45G5FS.js} +4 -4
- package/dist/{generic-recall-paths-DbitKJI5.d.ts → generic-recall-paths-DJBADojG.d.ts} +1 -1
- package/dist/graph-append-error.d.ts +1 -1
- package/dist/graph-dashboard-diff.d.ts +1 -1
- package/dist/graph-dashboard-key.d.ts +1 -1
- package/dist/graph-dashboard-parser.d.ts +1 -1
- package/dist/{graph-edge-decay-MKIRZ762.js → graph-edge-decay-ROSUPDX3.js} +5 -5
- package/dist/graph-edge-decay-ROSUPDX3.js.map +1 -0
- package/dist/graph-edge-reinforcement.d.ts +1 -1
- package/dist/graph-jsonl.d.ts +1 -1
- package/dist/graph-jsonl.js +3 -3
- package/dist/graph-path-reconstruction.d.ts +1 -1
- package/dist/graph-path-scoring.d.ts +1 -1
- package/dist/graph-snapshot.d.ts +1 -1
- package/dist/graph-snapshot.js +3 -3
- package/dist/graph.d.ts +1 -1
- package/dist/graph.js +2 -2
- package/dist/harmonic-retrieval.js +1 -1
- package/dist/importance.d.ts +1 -1
- package/dist/importers/index.d.ts +1 -1
- package/dist/importers/test-utils.d.ts +1 -1
- package/dist/in-flight-reads.d.ts +1 -1
- package/dist/{index-BINUgPFo.d.ts → index-Bsy8ygLL.d.ts} +2 -2
- package/dist/index.d.ts +700 -700
- package/dist/index.js +147 -142
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/engine.js +4 -4
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/index.js +9 -9
- package/dist/lcm/tools.d.ts +1 -1
- package/dist/lifecycle.d.ts +1 -1
- package/dist/live-connectors-runner.d.ts +1 -1
- package/dist/local-llm.d.ts +1 -1
- package/dist/local-model-endpoint.d.ts +1 -1
- package/dist/location/index.d.ts +3 -3
- package/dist/location/index.js +11 -11
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/maintenance/memory-governance.js +9 -9
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +9 -9
- package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-projection.js +10 -10
- package/dist/{maintenance-ag1gYztC.d.ts → maintenance-DItyBwTC.d.ts} +3 -3
- package/dist/mcp-memory-inspector-app.d.ts +12 -12
- package/dist/memory-action-policy.d.ts +1 -1
- package/dist/memory-cache.d.ts +1 -1
- package/dist/memory-controller.d.ts +1 -1
- package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
- package/dist/memory-projection-store.d.ts +1 -1
- package/dist/memory-provenance.d.ts +1 -1
- package/dist/memory-snapshot.d.ts +1 -1
- package/dist/memory-subject-cli.d.ts +12 -12
- package/dist/memory-subject.d.ts +12 -12
- package/dist/memory-worth-outcomes.d.ts +2 -2
- package/dist/models-json.d.ts +1 -1
- package/dist/namespaces/migrate.d.ts +3 -3
- package/dist/namespaces/migrate.js +10 -10
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/search.js +5 -5
- package/dist/namespaces/storage.d.ts +3 -3
- package/dist/namespaces/storage.js +9 -9
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/offline-sync-impression-drain.d.ts +1 -1
- package/dist/operator-doctor-corpus.d.ts +1 -1
- package/dist/operator-doctor-corpus.js +12 -12
- package/dist/operator-doctor-replica.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +3 -3
- package/dist/operator-toolkit.js +23 -22
- package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
- package/dist/orchestration/maintenance.d.ts +4 -4
- package/dist/orchestration/maintenance.js +17 -17
- package/dist/{orchestrator-Cf3G-3Ed.d.ts → orchestrator-DBUX-aAM.d.ts} +9 -9
- package/dist/orchestrator.d.ts +10 -10
- package/dist/orchestrator.js +117 -112
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/{pipeline-AwB03fw_.d.ts → pipeline-BqgcOk1Z.d.ts} +1 -1
- package/dist/policy-runtime.d.ts +1 -1
- package/dist/proactive-contention.d.ts +1 -1
- package/dist/provenance.d.ts +1 -1
- package/dist/{public-http-BetSQn7q.d.ts → public-http-CqtZ5kv3.d.ts} +1 -1
- package/dist/{qmd-Bfaydrfm.d.ts → qmd-BD0ikV_Y.d.ts} +1 -1
- package/dist/qmd-preflight.d.ts +2 -2
- package/dist/qmd-recall-cache.d.ts +1 -1
- package/dist/qmd.d.ts +2 -2
- package/dist/recall-concurrency-config.d.ts +1 -1
- package/dist/recall-disclosure-escalation.d.ts +1 -1
- package/dist/recall-explain-renderer.d.ts +1 -1
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-memory-map.d.ts +1 -1
- package/dist/recall-navigate-access.d.ts +1 -1
- package/dist/recall-navigate-access.js +2 -2
- package/dist/recall-navigate-disclosure.d.ts +1 -1
- package/dist/recall-navigate-disclosure.js +1 -1
- package/dist/recall-navigate.d.ts +1 -1
- package/dist/recall-navigate.js +2 -2
- package/dist/recall-planner-llm.d.ts +1 -1
- package/dist/recall-state-view-admission.d.ts +2 -2
- package/dist/recall-state.d.ts +1 -1
- package/dist/recall-tag-filter.d.ts +1 -1
- package/dist/recall-timings.d.ts +1 -1
- package/dist/recall-xray-cli.d.ts +1 -1
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.d.ts +1 -1
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.d.ts +1 -1
- package/dist/recall-xray.js +2 -2
- package/dist/reconcile/cursor.d.ts +1 -1
- package/dist/reconcile/manifest.d.ts +11 -2
- package/dist/reconcile/manifest.js +5 -3
- package/dist/reconcile/plan.d.ts +1 -1
- package/dist/replay/normalizers/chatgpt.d.ts +1 -1
- package/dist/replay/normalizers/claude.d.ts +1 -1
- package/dist/replay/normalizers/openclaw.d.ts +1 -1
- package/dist/replay/normalizers/shared.d.ts +1 -1
- package/dist/replay/runner.d.ts +1 -1
- package/dist/replay/types.d.ts +1 -1
- package/dist/replica-divergence.d.ts +1 -1
- package/dist/replica-peers-config.d.ts +1 -1
- package/dist/resolve-auth-token.d.ts +1 -1
- package/dist/resume-bundles.js +5 -4
- package/dist/retrieval-agents.d.ts +2 -2
- package/dist/retrieval-tiers.d.ts +1 -1
- package/dist/routing/engine.d.ts +1 -1
- package/dist/routing/store.d.ts +1 -1
- package/dist/salvage-envelope.d.ts +1 -1
- package/dist/schemas.d.ts +386 -176
- package/dist/schemas.js +1 -1
- package/dist/{scope-profiles-nxTKvjE-.d.ts → scope-profiles-BIJMsd0B.d.ts} +1 -1
- package/dist/search/embed-helper.d.ts +1 -1
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/factory.js +4 -4
- package/dist/search/index.d.ts +1 -1
- package/dist/search/index.js +10 -10
- package/dist/search/lancedb-backend.d.ts +1 -1
- package/dist/search/meilisearch-backend.d.ts +1 -1
- package/dist/search/noop-backend.d.ts +1 -1
- package/dist/search/orama-backend.d.ts +1 -1
- package/dist/search/port.d.ts +1 -1
- package/dist/search/remote-backend.d.ts +1 -1
- package/dist/{semantic-consolidation-C83DVakV.d.ts → semantic-consolidation-D7sJocll.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +10 -10
- package/dist/semantic-rule-promotion.js +9 -9
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +9 -9
- package/dist/{service-q-xtOoAr.d.ts → service-fwgEngUj.d.ts} +2 -2
- package/dist/session-observer-bands.d.ts +1 -1
- package/dist/session-observer-state.d.ts +1 -1
- package/dist/shared-context/manager.d.ts +7 -7
- package/dist/signal.d.ts +1 -1
- package/dist/source-agent-qualifier.d.ts +1 -1
- package/dist/source-agent-qualifier.js +12 -12
- package/dist/standup/build.js +9 -9
- package/dist/{storage-Ca0MbTfm.d.ts → storage-Cbll3-Tk.d.ts} +1 -1
- package/dist/storage.d.ts +2 -2
- package/dist/storage.js +8 -8
- package/dist/subject-config.d.ts +1 -1
- package/dist/summarizer.d.ts +1 -1
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/support-passport/index.d.ts +15 -15
- package/dist/support-passport/index.js +38 -38
- package/dist/temporal-supersession.d.ts +2 -2
- package/dist/temporal-timeline-recall.d.ts +1 -1
- package/dist/temporal-validity.d.ts +1 -1
- package/dist/threading.d.ts +1 -1
- package/dist/tier-migration.d.ts +2 -2
- package/dist/tier-routing.d.ts +1 -1
- package/dist/topics.d.ts +1 -1
- package/dist/transcript.d.ts +1 -1
- package/dist/transfer/backup.js +2 -2
- package/dist/transfer/capsule-export.js +2 -2
- package/dist/transfer/capsule-import.js +2 -2
- package/dist/transfer/export-okf.d.ts +1 -1
- package/dist/transfer/export-okf.js +9 -9
- package/dist/transfer/types.d.ts +98 -98
- package/dist/trust-score-stage.d.ts +1 -1
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-yDgWDkrJ.d.ts → types-48sPkWB0.d.ts} +49 -10
- package/dist/types.d.ts +1 -1
- package/dist/types.js +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.js +9 -9
- package/dist/who-knows-cli.d.ts +12 -12
- package/dist/who-knows-cli.js +10 -10
- package/dist/who-knows.d.ts +12 -12
- package/dist/who-knows.js +9 -9
- package/dist/write-envelope.d.ts +1 -1
- package/package.json +42 -2
- package/src/access-http.test.ts +43 -5
- package/src/access-http.ts +2 -0
- package/src/config.ts +2 -2
- package/src/extraction-prompt.ts +37 -3
- package/src/extraction-source-grounding-rules.ts +46 -9
- package/src/extraction-source-grounding.ts +2 -1
- package/src/extraction-span-config.ts +81 -0
- package/src/extraction-span-materialize.test.ts +376 -0
- package/src/extraction-span-materialize.ts +241 -0
- package/src/extraction.ts +70 -25
- package/src/reconcile/manifest.test.ts +11 -1
- package/src/reconcile/manifest.ts +12 -0
- package/src/schemas.ts +14 -0
- package/src/source-agent-qualifier.ts +5 -1
- package/src/testing/subjects/extraction-lifecycle.test.ts +27 -10
- package/src/types.ts +9 -9
- package/dist/chunk-27IOSH2W.js.map +0 -1
- package/dist/chunk-4MDKNUV4.js.map +0 -1
- package/dist/chunk-7CBKAQIG.js.map +0 -1
- package/dist/chunk-AJTG3CP7.js.map +0 -1
- package/dist/chunk-DVOBLPSQ.js.map +0 -1
- package/dist/chunk-LEMD7WZJ.js.map +0 -1
- package/dist/chunk-OQ7SSRXP.js.map +0 -1
- package/dist/chunk-UBG4GAEP.js.map +0 -1
- package/dist/chunk-XPJNT6PI.js.map +0 -1
- /package/dist/{auto-sync-4YFATLFQ.js.map → auto-sync-FSRJDU63.js.map} +0 -0
- /package/dist/{capsule-crypto-7FJQINUR.js.map → capsule-crypto-YO5QJ6L3.js.map} +0 -0
- /package/dist/{chunk-RUXPVSML.js.map → chunk-2AR5JFD7.js.map} +0 -0
- /package/dist/{chunk-YNN26CIZ.js.map → chunk-2JGGZICG.js.map} +0 -0
- /package/dist/{chunk-A7GQBJP5.js.map → chunk-2L5FSNPC.js.map} +0 -0
- /package/dist/{chunk-ZTG4P7NZ.js.map → chunk-3IXB77DA.js.map} +0 -0
- /package/dist/{chunk-WHHEPAO3.js.map → chunk-3K6UFW5B.js.map} +0 -0
- /package/dist/{chunk-EEBQFG5E.js.map → chunk-3YMDY3ZF.js.map} +0 -0
- /package/dist/{chunk-5JG5EBVL.js.map → chunk-4DPDIOVA.js.map} +0 -0
- /package/dist/{chunk-UDZYNIDJ.js.map → chunk-4WGAMREC.js.map} +0 -0
- /package/dist/{chunk-HXSAWV3A.js.map → chunk-57GDHV2D.js.map} +0 -0
- /package/dist/{chunk-Z7ACR6MJ.js.map → chunk-5LLQAUMI.js.map} +0 -0
- /package/dist/{chunk-P3ONDDIJ.js.map → chunk-5SYI2F47.js.map} +0 -0
- /package/dist/{chunk-DGS34QSY.js.map → chunk-6E5GYDIE.js.map} +0 -0
- /package/dist/{chunk-J7PB5UQ4.js.map → chunk-6Z3WW2MW.js.map} +0 -0
- /package/dist/{chunk-GLZH5VEN.js.map → chunk-76DRU7C4.js.map} +0 -0
- /package/dist/{chunk-L2QLDZJC.js.map → chunk-7MJBKZPU.js.map} +0 -0
- /package/dist/{chunk-Y63ZFP4X.js.map → chunk-7RKBPXY6.js.map} +0 -0
- /package/dist/{chunk-JSRVXI6E.js.map → chunk-B2YKTE7P.js.map} +0 -0
- /package/dist/{chunk-Z3O53WZR.js.map → chunk-BICNRVEC.js.map} +0 -0
- /package/dist/{chunk-BNGHPYZU.js.map → chunk-BLHX5FQW.js.map} +0 -0
- /package/dist/{chunk-2NLLXCJG.js.map → chunk-BXLOS5AJ.js.map} +0 -0
- /package/dist/{chunk-776GVKL7.js.map → chunk-CD3C4BJN.js.map} +0 -0
- /package/dist/{chunk-LMCD5W5B.js.map → chunk-CIYUWSMZ.js.map} +0 -0
- /package/dist/{chunk-YJ6VCDMZ.js.map → chunk-CQ7SSBO4.js.map} +0 -0
- /package/dist/{chunk-CNV2A557.js.map → chunk-CYEMS2PG.js.map} +0 -0
- /package/dist/{chunk-UYUCCQ46.js.map → chunk-DOQLHCSS.js.map} +0 -0
- /package/dist/{chunk-X7Y7WX73.js.map → chunk-DQEMWVMT.js.map} +0 -0
- /package/dist/{chunk-RRZKTSFG.js.map → chunk-FCFAYMTU.js.map} +0 -0
- /package/dist/{chunk-R4OCGPSH.js.map → chunk-FJMYMJLR.js.map} +0 -0
- /package/dist/{chunk-TKFSXDOB.js.map → chunk-FLLORID2.js.map} +0 -0
- /package/dist/{chunk-QATYVTP7.js.map → chunk-FPQDZCUX.js.map} +0 -0
- /package/dist/{chunk-L2WQVSKP.js.map → chunk-G5MO3VQA.js.map} +0 -0
- /package/dist/{chunk-LNDLXMH6.js.map → chunk-GDDSXVWR.js.map} +0 -0
- /package/dist/{chunk-JZ2CHRLB.js.map → chunk-GHX5PNXW.js.map} +0 -0
- /package/dist/{chunk-2BQ4ZIWC.js.map → chunk-GNR6YEWZ.js.map} +0 -0
- /package/dist/{chunk-5FAGCOZD.js.map → chunk-GWK7FEUL.js.map} +0 -0
- /package/dist/{chunk-SCXURCVT.js.map → chunk-GWQVMKUJ.js.map} +0 -0
- /package/dist/{chunk-QBLDCI6E.js.map → chunk-HHDTBYDJ.js.map} +0 -0
- /package/dist/{chunk-2YLMUME2.js.map → chunk-IQZ6ISFX.js.map} +0 -0
- /package/dist/{chunk-JHZCXUQI.js.map → chunk-JLXWRQNR.js.map} +0 -0
- /package/dist/{chunk-FVJ4D6L7.js.map → chunk-JMPYZJQN.js.map} +0 -0
- /package/dist/{chunk-HC4GFLMQ.js.map → chunk-JO5TQAKW.js.map} +0 -0
- /package/dist/{chunk-ZBEGS7OB.js.map → chunk-JPKZTCWZ.js.map} +0 -0
- /package/dist/{chunk-AZSKROVQ.js.map → chunk-JYR4LH76.js.map} +0 -0
- /package/dist/{chunk-ECKG5WSI.js.map → chunk-JZYECQWN.js.map} +0 -0
- /package/dist/{chunk-NPNSKE76.js.map → chunk-KTRXQQFN.js.map} +0 -0
- /package/dist/{chunk-HUT2JR6I.js.map → chunk-L5OXE4PX.js.map} +0 -0
- /package/dist/{chunk-B3O3IRZN.js.map → chunk-LMMQKZK3.js.map} +0 -0
- /package/dist/{chunk-QURNMKME.js.map → chunk-LSDEIZ76.js.map} +0 -0
- /package/dist/{chunk-XCOV45MO.js.map → chunk-MR6LQVZ5.js.map} +0 -0
- /package/dist/{chunk-6J6K3STG.js.map → chunk-OTPXEE6W.js.map} +0 -0
- /package/dist/{chunk-LYDJRF45.js.map → chunk-PNEDMJ53.js.map} +0 -0
- /package/dist/{chunk-JRWW7GM6.js.map → chunk-Q6D7EUSQ.js.map} +0 -0
- /package/dist/{chunk-VYXDUPYE.js.map → chunk-Q7JK6YEB.js.map} +0 -0
- /package/dist/{chunk-YXLUTALO.js.map → chunk-SAKA6PPL.js.map} +0 -0
- /package/dist/{chunk-HWLIMQE2.js.map → chunk-SF6RFI5Z.js.map} +0 -0
- /package/dist/{chunk-OS2AT2JU.js.map → chunk-SROIT6QY.js.map} +0 -0
- /package/dist/{chunk-S5G2LAL7.js.map → chunk-SV4Z2S67.js.map} +0 -0
- /package/dist/{chunk-DK4X5B6I.js.map → chunk-TFRDUD3M.js.map} +0 -0
- /package/dist/{chunk-JR6H5CYS.js.map → chunk-TL7NLM2L.js.map} +0 -0
- /package/dist/{chunk-NN4JEFON.js.map → chunk-TRU6JBOI.js.map} +0 -0
- /package/dist/{chunk-PHP3MUGF.js.map → chunk-UYVXIY6C.js.map} +0 -0
- /package/dist/{chunk-KQAFEZQX.js.map → chunk-VDX2J7OX.js.map} +0 -0
- /package/dist/{chunk-ZHXSOMYH.js.map → chunk-VVX5PZFS.js.map} +0 -0
- /package/dist/{chunk-BJETIR53.js.map → chunk-WS3WNLST.js.map} +0 -0
- /package/dist/{chunk-3FJKJ5UZ.js.map → chunk-X7BCM2NA.js.map} +0 -0
- /package/dist/{chunk-Q4AUIFUA.js.map → chunk-XAITGGX5.js.map} +0 -0
- /package/dist/{chunk-WPDKBUWX.js.map → chunk-XCF3SFHD.js.map} +0 -0
- /package/dist/{chunk-LO4UKPKX.js.map → chunk-YHU5XUF4.js.map} +0 -0
- /package/dist/{chunk-F6IVBYFS.js.map → chunk-YIZ2EUUL.js.map} +0 -0
- /package/dist/{chunk-EZ25VE3G.js.map → chunk-YNDLCWXS.js.map} +0 -0
- /package/dist/{chunk-5VAF4ID4.js.map → chunk-ZEPVWLCN.js.map} +0 -0
- /package/dist/{graph-edge-decay-MKIRZ762.js.map → extraction-span-config.js.map} +0 -0
- /package/dist/{first-start-migration-L3UFX5CU.js.map → first-start-migration-GZ45G5FS.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: "
|
|
10
|
+
source: "unknown" | "extraction" | "manual" | "consolidation" | "replay";
|
|
11
11
|
confidence: number;
|
|
12
|
-
lifecycleState: "stale" | "active" | "archived" | "candidate" | "validated";
|
|
13
12
|
importance: number;
|
|
13
|
+
lifecycleState: "active" | "archived" | "stale" | "candidate" | "validated";
|
|
14
14
|
}, {
|
|
15
|
-
source: "
|
|
15
|
+
source: "unknown" | "extraction" | "manual" | "consolidation" | "replay";
|
|
16
16
|
confidence: number;
|
|
17
|
-
lifecycleState: "stale" | "active" | "archived" | "candidate" | "validated";
|
|
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>;
|
|
@@ -63,11 +63,11 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
63
63
|
type: z.ZodEnum<["entity", "file", "tool", "outcome", "constraint", "date"]>;
|
|
64
64
|
value: z.ZodString;
|
|
65
65
|
}, "strip", z.ZodTypeAny, {
|
|
66
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
66
67
|
value: string;
|
|
67
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
68
68
|
}, {
|
|
69
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
69
70
|
value: string;
|
|
70
|
-
type: "constraint" | "file" | "entity" | "tool" | "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"]>>>;
|
|
@@ -108,16 +108,38 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
108
108
|
expectedOutcome?: string | null | undefined;
|
|
109
109
|
optional?: boolean | null | undefined;
|
|
110
110
|
}>, "many">>>;
|
|
111
|
+
span: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
112
|
+
sourceMessageIndex: z.ZodNumber;
|
|
113
|
+
charStart: z.ZodNumber;
|
|
114
|
+
charEnd: z.ZodNumber;
|
|
115
|
+
frame: z.ZodString;
|
|
116
|
+
sourceHash: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
117
|
+
sourceLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
118
|
+
}, "strip", z.ZodTypeAny, {
|
|
119
|
+
sourceMessageIndex: number;
|
|
120
|
+
charStart: number;
|
|
121
|
+
charEnd: number;
|
|
122
|
+
frame: string;
|
|
123
|
+
sourceHash?: string | null | undefined;
|
|
124
|
+
sourceLength?: number | null | undefined;
|
|
125
|
+
}, {
|
|
126
|
+
sourceMessageIndex: number;
|
|
127
|
+
charStart: number;
|
|
128
|
+
charEnd: number;
|
|
129
|
+
frame: string;
|
|
130
|
+
sourceHash?: string | null | undefined;
|
|
131
|
+
sourceLength?: number | null | undefined;
|
|
132
|
+
}>>>;
|
|
111
133
|
reasoningTrace: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
112
134
|
steps: z.ZodArray<z.ZodObject<{
|
|
113
135
|
order: z.ZodNumber;
|
|
114
136
|
description: z.ZodString;
|
|
115
137
|
}, "strip", z.ZodTypeAny, {
|
|
116
|
-
order: number;
|
|
117
138
|
description: string;
|
|
118
|
-
}, {
|
|
119
139
|
order: number;
|
|
140
|
+
}, {
|
|
120
141
|
description: string;
|
|
142
|
+
order: number;
|
|
121
143
|
}>, "many">;
|
|
122
144
|
finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
123
145
|
final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -125,8 +147,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
125
147
|
observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
126
148
|
}, "strip", z.ZodTypeAny, {
|
|
127
149
|
steps: {
|
|
128
|
-
order: number;
|
|
129
150
|
description: string;
|
|
151
|
+
order: number;
|
|
130
152
|
}[];
|
|
131
153
|
finalAnswer?: string | null | undefined;
|
|
132
154
|
final_answer?: string | null | undefined;
|
|
@@ -134,8 +156,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
134
156
|
observed_outcome?: string | null | undefined;
|
|
135
157
|
}, {
|
|
136
158
|
steps: {
|
|
137
|
-
order: number;
|
|
138
159
|
description: string;
|
|
160
|
+
order: number;
|
|
139
161
|
}[];
|
|
140
162
|
finalAnswer?: string | null | undefined;
|
|
141
163
|
final_answer?: string | null | undefined;
|
|
@@ -143,8 +165,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
143
165
|
observed_outcome?: string | null | undefined;
|
|
144
166
|
}>, {
|
|
145
167
|
steps: {
|
|
146
|
-
order: number;
|
|
147
168
|
description: string;
|
|
169
|
+
order: number;
|
|
148
170
|
}[];
|
|
149
171
|
finalAnswer?: string | null | undefined;
|
|
150
172
|
final_answer?: string | null | undefined;
|
|
@@ -152,8 +174,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
152
174
|
observed_outcome?: string | null | undefined;
|
|
153
175
|
}, {
|
|
154
176
|
steps: {
|
|
155
|
-
order: number;
|
|
156
177
|
description: string;
|
|
178
|
+
order: number;
|
|
157
179
|
}[];
|
|
158
180
|
finalAnswer?: string | null | undefined;
|
|
159
181
|
final_answer?: string | null | undefined;
|
|
@@ -163,17 +185,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
163
185
|
eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
164
186
|
event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
165
187
|
}, "strip", z.ZodTypeAny, {
|
|
166
|
-
|
|
188
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
167
189
|
content: string;
|
|
168
190
|
confidence: number;
|
|
169
|
-
|
|
170
|
-
scope?: "project" | "global" | null | undefined;
|
|
191
|
+
tags: string[];
|
|
171
192
|
subject?: "user" | "agent" | null | undefined;
|
|
172
193
|
entityRef?: string | null | undefined;
|
|
173
194
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
195
|
+
scope?: "project" | "global" | null | undefined;
|
|
174
196
|
cueAnchors?: {
|
|
197
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
175
198
|
value: string;
|
|
176
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
177
199
|
}[] | null | undefined;
|
|
178
200
|
promptedByQuestion?: string | null | undefined;
|
|
179
201
|
quote?: string | null | undefined;
|
|
@@ -187,10 +209,18 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
187
209
|
expectedOutcome?: string | null | undefined;
|
|
188
210
|
optional?: boolean | null | undefined;
|
|
189
211
|
}[] | null | undefined;
|
|
212
|
+
span?: {
|
|
213
|
+
sourceMessageIndex: number;
|
|
214
|
+
charStart: number;
|
|
215
|
+
charEnd: number;
|
|
216
|
+
frame: string;
|
|
217
|
+
sourceHash?: string | null | undefined;
|
|
218
|
+
sourceLength?: number | null | undefined;
|
|
219
|
+
} | null | undefined;
|
|
190
220
|
reasoningTrace?: {
|
|
191
221
|
steps: {
|
|
192
|
-
order: number;
|
|
193
222
|
description: string;
|
|
223
|
+
order: number;
|
|
194
224
|
}[];
|
|
195
225
|
finalAnswer?: string | null | undefined;
|
|
196
226
|
final_answer?: string | null | undefined;
|
|
@@ -200,17 +230,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
200
230
|
eventTime?: string | null | undefined;
|
|
201
231
|
event_time?: string | null | undefined;
|
|
202
232
|
}, {
|
|
203
|
-
|
|
233
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
204
234
|
content: string;
|
|
205
235
|
confidence: number;
|
|
206
|
-
|
|
207
|
-
scope?: "project" | "global" | null | undefined;
|
|
236
|
+
tags: string[];
|
|
208
237
|
subject?: "user" | "agent" | null | undefined;
|
|
209
238
|
entityRef?: string | null | undefined;
|
|
210
239
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
240
|
+
scope?: "project" | "global" | null | undefined;
|
|
211
241
|
cueAnchors?: {
|
|
242
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
212
243
|
value: string;
|
|
213
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
214
244
|
}[] | null | undefined;
|
|
215
245
|
promptedByQuestion?: string | null | undefined;
|
|
216
246
|
quote?: string | null | undefined;
|
|
@@ -224,10 +254,18 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
224
254
|
expectedOutcome?: string | null | undefined;
|
|
225
255
|
optional?: boolean | null | undefined;
|
|
226
256
|
}[] | null | undefined;
|
|
257
|
+
span?: {
|
|
258
|
+
sourceMessageIndex: number;
|
|
259
|
+
charStart: number;
|
|
260
|
+
charEnd: number;
|
|
261
|
+
frame: string;
|
|
262
|
+
sourceHash?: string | null | undefined;
|
|
263
|
+
sourceLength?: number | null | undefined;
|
|
264
|
+
} | null | undefined;
|
|
227
265
|
reasoningTrace?: {
|
|
228
266
|
steps: {
|
|
229
|
-
order: number;
|
|
230
267
|
description: string;
|
|
268
|
+
order: number;
|
|
231
269
|
}[];
|
|
232
270
|
finalAnswer?: string | null | undefined;
|
|
233
271
|
final_answer?: string | null | undefined;
|
|
@@ -237,17 +275,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
237
275
|
eventTime?: string | null | undefined;
|
|
238
276
|
event_time?: string | null | undefined;
|
|
239
277
|
}>, {
|
|
240
|
-
|
|
278
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
241
279
|
content: string;
|
|
242
280
|
confidence: number;
|
|
243
|
-
|
|
244
|
-
scope?: "project" | "global" | null | undefined;
|
|
281
|
+
tags: string[];
|
|
245
282
|
subject?: "user" | "agent" | null | undefined;
|
|
246
283
|
entityRef?: string | null | undefined;
|
|
247
284
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
285
|
+
scope?: "project" | "global" | null | undefined;
|
|
248
286
|
cueAnchors?: {
|
|
287
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
249
288
|
value: string;
|
|
250
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
251
289
|
}[] | null | undefined;
|
|
252
290
|
promptedByQuestion?: string | null | undefined;
|
|
253
291
|
quote?: string | null | undefined;
|
|
@@ -261,10 +299,18 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
261
299
|
expectedOutcome?: string | null | undefined;
|
|
262
300
|
optional?: boolean | null | undefined;
|
|
263
301
|
}[] | null | undefined;
|
|
302
|
+
span?: {
|
|
303
|
+
sourceMessageIndex: number;
|
|
304
|
+
charStart: number;
|
|
305
|
+
charEnd: number;
|
|
306
|
+
frame: string;
|
|
307
|
+
sourceHash?: string | null | undefined;
|
|
308
|
+
sourceLength?: number | null | undefined;
|
|
309
|
+
} | null | undefined;
|
|
264
310
|
reasoningTrace?: {
|
|
265
311
|
steps: {
|
|
266
|
-
order: number;
|
|
267
312
|
description: string;
|
|
313
|
+
order: number;
|
|
268
314
|
}[];
|
|
269
315
|
finalAnswer?: string | null | undefined;
|
|
270
316
|
final_answer?: string | null | undefined;
|
|
@@ -274,17 +320,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
274
320
|
eventTime?: string | null | undefined;
|
|
275
321
|
event_time?: string | null | undefined;
|
|
276
322
|
}, {
|
|
277
|
-
|
|
323
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
278
324
|
content: string;
|
|
279
325
|
confidence: number;
|
|
280
|
-
|
|
281
|
-
scope?: "project" | "global" | null | undefined;
|
|
326
|
+
tags: string[];
|
|
282
327
|
subject?: "user" | "agent" | null | undefined;
|
|
283
328
|
entityRef?: string | null | undefined;
|
|
284
329
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
330
|
+
scope?: "project" | "global" | null | undefined;
|
|
285
331
|
cueAnchors?: {
|
|
332
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
286
333
|
value: string;
|
|
287
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
288
334
|
}[] | null | undefined;
|
|
289
335
|
promptedByQuestion?: string | null | undefined;
|
|
290
336
|
quote?: string | null | undefined;
|
|
@@ -298,10 +344,18 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
298
344
|
expectedOutcome?: string | null | undefined;
|
|
299
345
|
optional?: boolean | null | undefined;
|
|
300
346
|
}[] | null | undefined;
|
|
347
|
+
span?: {
|
|
348
|
+
sourceMessageIndex: number;
|
|
349
|
+
charStart: number;
|
|
350
|
+
charEnd: number;
|
|
351
|
+
frame: string;
|
|
352
|
+
sourceHash?: string | null | undefined;
|
|
353
|
+
sourceLength?: number | null | undefined;
|
|
354
|
+
} | null | undefined;
|
|
301
355
|
reasoningTrace?: {
|
|
302
356
|
steps: {
|
|
303
|
-
order: number;
|
|
304
357
|
description: string;
|
|
358
|
+
order: number;
|
|
305
359
|
}[];
|
|
306
360
|
finalAnswer?: string | null | undefined;
|
|
307
361
|
final_answer?: string | null | undefined;
|
|
@@ -321,32 +375,32 @@ declare const EntityMentionSchema: z.ZodObject<{
|
|
|
321
375
|
title: z.ZodString;
|
|
322
376
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
323
377
|
}, "strip", z.ZodTypeAny, {
|
|
324
|
-
title: string;
|
|
325
378
|
key: string;
|
|
379
|
+
title: string;
|
|
326
380
|
facts: string[];
|
|
327
381
|
}, {
|
|
328
|
-
title: string;
|
|
329
382
|
key: string;
|
|
383
|
+
title: string;
|
|
330
384
|
facts: string[];
|
|
331
385
|
}>, "many">>>;
|
|
332
386
|
}, "strip", z.ZodTypeAny, {
|
|
333
|
-
name: string;
|
|
334
387
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
388
|
+
name: string;
|
|
335
389
|
facts: string[];
|
|
336
390
|
promptedByQuestion?: string | null | undefined;
|
|
337
391
|
structuredSections?: {
|
|
338
|
-
title: string;
|
|
339
392
|
key: string;
|
|
393
|
+
title: string;
|
|
340
394
|
facts: string[];
|
|
341
395
|
}[] | null | undefined;
|
|
342
396
|
}, {
|
|
343
|
-
name: string;
|
|
344
397
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
398
|
+
name: string;
|
|
345
399
|
facts: string[];
|
|
346
400
|
promptedByQuestion?: string | null | undefined;
|
|
347
401
|
structuredSections?: {
|
|
348
|
-
title: string;
|
|
349
402
|
key: string;
|
|
403
|
+
title: string;
|
|
350
404
|
facts: string[];
|
|
351
405
|
}[] | null | undefined;
|
|
352
406
|
}>;
|
|
@@ -396,13 +450,13 @@ declare const ExtractedRelationshipSchema: z.ZodObject<{
|
|
|
396
450
|
label: z.ZodString;
|
|
397
451
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
398
452
|
}, "strip", z.ZodTypeAny, {
|
|
399
|
-
source: string;
|
|
400
453
|
label: string;
|
|
454
|
+
source: string;
|
|
401
455
|
target: string;
|
|
402
456
|
promptedByQuestion?: string | null | undefined;
|
|
403
457
|
}, {
|
|
404
|
-
source: string;
|
|
405
458
|
label: string;
|
|
459
|
+
source: string;
|
|
406
460
|
target: string;
|
|
407
461
|
promptedByQuestion?: string | null | undefined;
|
|
408
462
|
}>;
|
|
@@ -417,11 +471,11 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
417
471
|
type: z.ZodEnum<["entity", "file", "tool", "outcome", "constraint", "date"]>;
|
|
418
472
|
value: z.ZodString;
|
|
419
473
|
}, "strip", z.ZodTypeAny, {
|
|
474
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
420
475
|
value: string;
|
|
421
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
422
476
|
}, {
|
|
477
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
423
478
|
value: string;
|
|
424
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
425
479
|
}>, "many">>>;
|
|
426
480
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
427
481
|
scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
|
|
@@ -462,16 +516,38 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
462
516
|
expectedOutcome?: string | null | undefined;
|
|
463
517
|
optional?: boolean | null | undefined;
|
|
464
518
|
}>, "many">>>;
|
|
519
|
+
span: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
520
|
+
sourceMessageIndex: z.ZodNumber;
|
|
521
|
+
charStart: z.ZodNumber;
|
|
522
|
+
charEnd: z.ZodNumber;
|
|
523
|
+
frame: z.ZodString;
|
|
524
|
+
sourceHash: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
525
|
+
sourceLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
526
|
+
}, "strip", z.ZodTypeAny, {
|
|
527
|
+
sourceMessageIndex: number;
|
|
528
|
+
charStart: number;
|
|
529
|
+
charEnd: number;
|
|
530
|
+
frame: string;
|
|
531
|
+
sourceHash?: string | null | undefined;
|
|
532
|
+
sourceLength?: number | null | undefined;
|
|
533
|
+
}, {
|
|
534
|
+
sourceMessageIndex: number;
|
|
535
|
+
charStart: number;
|
|
536
|
+
charEnd: number;
|
|
537
|
+
frame: string;
|
|
538
|
+
sourceHash?: string | null | undefined;
|
|
539
|
+
sourceLength?: number | null | undefined;
|
|
540
|
+
}>>>;
|
|
465
541
|
reasoningTrace: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
466
542
|
steps: z.ZodArray<z.ZodObject<{
|
|
467
543
|
order: z.ZodNumber;
|
|
468
544
|
description: z.ZodString;
|
|
469
545
|
}, "strip", z.ZodTypeAny, {
|
|
470
|
-
order: number;
|
|
471
546
|
description: string;
|
|
472
|
-
}, {
|
|
473
547
|
order: number;
|
|
548
|
+
}, {
|
|
474
549
|
description: string;
|
|
550
|
+
order: number;
|
|
475
551
|
}>, "many">;
|
|
476
552
|
finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
477
553
|
final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -479,8 +555,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
479
555
|
observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
480
556
|
}, "strip", z.ZodTypeAny, {
|
|
481
557
|
steps: {
|
|
482
|
-
order: number;
|
|
483
558
|
description: string;
|
|
559
|
+
order: number;
|
|
484
560
|
}[];
|
|
485
561
|
finalAnswer?: string | null | undefined;
|
|
486
562
|
final_answer?: string | null | undefined;
|
|
@@ -488,8 +564,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
488
564
|
observed_outcome?: string | null | undefined;
|
|
489
565
|
}, {
|
|
490
566
|
steps: {
|
|
491
|
-
order: number;
|
|
492
567
|
description: string;
|
|
568
|
+
order: number;
|
|
493
569
|
}[];
|
|
494
570
|
finalAnswer?: string | null | undefined;
|
|
495
571
|
final_answer?: string | null | undefined;
|
|
@@ -497,8 +573,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
497
573
|
observed_outcome?: string | null | undefined;
|
|
498
574
|
}>, {
|
|
499
575
|
steps: {
|
|
500
|
-
order: number;
|
|
501
576
|
description: string;
|
|
577
|
+
order: number;
|
|
502
578
|
}[];
|
|
503
579
|
finalAnswer?: string | null | undefined;
|
|
504
580
|
final_answer?: string | null | undefined;
|
|
@@ -506,8 +582,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
506
582
|
observed_outcome?: string | null | undefined;
|
|
507
583
|
}, {
|
|
508
584
|
steps: {
|
|
509
|
-
order: number;
|
|
510
585
|
description: string;
|
|
586
|
+
order: number;
|
|
511
587
|
}[];
|
|
512
588
|
finalAnswer?: string | null | undefined;
|
|
513
589
|
final_answer?: string | null | undefined;
|
|
@@ -517,17 +593,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
517
593
|
eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
518
594
|
event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
519
595
|
}, "strip", z.ZodTypeAny, {
|
|
520
|
-
|
|
596
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
521
597
|
content: string;
|
|
522
598
|
confidence: number;
|
|
523
|
-
|
|
524
|
-
scope?: "project" | "global" | null | undefined;
|
|
599
|
+
tags: string[];
|
|
525
600
|
subject?: "user" | "agent" | null | undefined;
|
|
526
601
|
entityRef?: string | null | undefined;
|
|
527
602
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
603
|
+
scope?: "project" | "global" | null | undefined;
|
|
528
604
|
cueAnchors?: {
|
|
605
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
529
606
|
value: string;
|
|
530
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
531
607
|
}[] | null | undefined;
|
|
532
608
|
promptedByQuestion?: string | null | undefined;
|
|
533
609
|
quote?: string | null | undefined;
|
|
@@ -541,10 +617,18 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
541
617
|
expectedOutcome?: string | null | undefined;
|
|
542
618
|
optional?: boolean | null | undefined;
|
|
543
619
|
}[] | null | undefined;
|
|
620
|
+
span?: {
|
|
621
|
+
sourceMessageIndex: number;
|
|
622
|
+
charStart: number;
|
|
623
|
+
charEnd: number;
|
|
624
|
+
frame: string;
|
|
625
|
+
sourceHash?: string | null | undefined;
|
|
626
|
+
sourceLength?: number | null | undefined;
|
|
627
|
+
} | null | undefined;
|
|
544
628
|
reasoningTrace?: {
|
|
545
629
|
steps: {
|
|
546
|
-
order: number;
|
|
547
630
|
description: string;
|
|
631
|
+
order: number;
|
|
548
632
|
}[];
|
|
549
633
|
finalAnswer?: string | null | undefined;
|
|
550
634
|
final_answer?: string | null | undefined;
|
|
@@ -554,17 +638,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
554
638
|
eventTime?: string | null | undefined;
|
|
555
639
|
event_time?: string | null | undefined;
|
|
556
640
|
}, {
|
|
557
|
-
|
|
641
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
558
642
|
content: string;
|
|
559
643
|
confidence: number;
|
|
560
|
-
|
|
561
|
-
scope?: "project" | "global" | null | undefined;
|
|
644
|
+
tags: string[];
|
|
562
645
|
subject?: "user" | "agent" | null | undefined;
|
|
563
646
|
entityRef?: string | null | undefined;
|
|
564
647
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
648
|
+
scope?: "project" | "global" | null | undefined;
|
|
565
649
|
cueAnchors?: {
|
|
650
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
566
651
|
value: string;
|
|
567
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
568
652
|
}[] | null | undefined;
|
|
569
653
|
promptedByQuestion?: string | null | undefined;
|
|
570
654
|
quote?: string | null | undefined;
|
|
@@ -578,10 +662,18 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
578
662
|
expectedOutcome?: string | null | undefined;
|
|
579
663
|
optional?: boolean | null | undefined;
|
|
580
664
|
}[] | null | undefined;
|
|
665
|
+
span?: {
|
|
666
|
+
sourceMessageIndex: number;
|
|
667
|
+
charStart: number;
|
|
668
|
+
charEnd: number;
|
|
669
|
+
frame: string;
|
|
670
|
+
sourceHash?: string | null | undefined;
|
|
671
|
+
sourceLength?: number | null | undefined;
|
|
672
|
+
} | null | undefined;
|
|
581
673
|
reasoningTrace?: {
|
|
582
674
|
steps: {
|
|
583
|
-
order: number;
|
|
584
675
|
description: string;
|
|
676
|
+
order: number;
|
|
585
677
|
}[];
|
|
586
678
|
finalAnswer?: string | null | undefined;
|
|
587
679
|
final_answer?: string | null | undefined;
|
|
@@ -591,17 +683,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
591
683
|
eventTime?: string | null | undefined;
|
|
592
684
|
event_time?: string | null | undefined;
|
|
593
685
|
}>, {
|
|
594
|
-
|
|
686
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
595
687
|
content: string;
|
|
596
688
|
confidence: number;
|
|
597
|
-
|
|
598
|
-
scope?: "project" | "global" | null | undefined;
|
|
689
|
+
tags: string[];
|
|
599
690
|
subject?: "user" | "agent" | null | undefined;
|
|
600
691
|
entityRef?: string | null | undefined;
|
|
601
692
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
693
|
+
scope?: "project" | "global" | null | undefined;
|
|
602
694
|
cueAnchors?: {
|
|
695
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
603
696
|
value: string;
|
|
604
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
605
697
|
}[] | null | undefined;
|
|
606
698
|
promptedByQuestion?: string | null | undefined;
|
|
607
699
|
quote?: string | null | undefined;
|
|
@@ -615,10 +707,18 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
615
707
|
expectedOutcome?: string | null | undefined;
|
|
616
708
|
optional?: boolean | null | undefined;
|
|
617
709
|
}[] | null | undefined;
|
|
710
|
+
span?: {
|
|
711
|
+
sourceMessageIndex: number;
|
|
712
|
+
charStart: number;
|
|
713
|
+
charEnd: number;
|
|
714
|
+
frame: string;
|
|
715
|
+
sourceHash?: string | null | undefined;
|
|
716
|
+
sourceLength?: number | null | undefined;
|
|
717
|
+
} | null | undefined;
|
|
618
718
|
reasoningTrace?: {
|
|
619
719
|
steps: {
|
|
620
|
-
order: number;
|
|
621
720
|
description: string;
|
|
721
|
+
order: number;
|
|
622
722
|
}[];
|
|
623
723
|
finalAnswer?: string | null | undefined;
|
|
624
724
|
final_answer?: string | null | undefined;
|
|
@@ -628,17 +728,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
628
728
|
eventTime?: string | null | undefined;
|
|
629
729
|
event_time?: string | null | undefined;
|
|
630
730
|
}, {
|
|
631
|
-
|
|
731
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
632
732
|
content: string;
|
|
633
733
|
confidence: number;
|
|
634
|
-
|
|
635
|
-
scope?: "project" | "global" | null | undefined;
|
|
734
|
+
tags: string[];
|
|
636
735
|
subject?: "user" | "agent" | null | undefined;
|
|
637
736
|
entityRef?: string | null | undefined;
|
|
638
737
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
738
|
+
scope?: "project" | "global" | null | undefined;
|
|
639
739
|
cueAnchors?: {
|
|
740
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
640
741
|
value: string;
|
|
641
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
642
742
|
}[] | null | undefined;
|
|
643
743
|
promptedByQuestion?: string | null | undefined;
|
|
644
744
|
quote?: string | null | undefined;
|
|
@@ -652,10 +752,18 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
652
752
|
expectedOutcome?: string | null | undefined;
|
|
653
753
|
optional?: boolean | null | undefined;
|
|
654
754
|
}[] | null | undefined;
|
|
755
|
+
span?: {
|
|
756
|
+
sourceMessageIndex: number;
|
|
757
|
+
charStart: number;
|
|
758
|
+
charEnd: number;
|
|
759
|
+
frame: string;
|
|
760
|
+
sourceHash?: string | null | undefined;
|
|
761
|
+
sourceLength?: number | null | undefined;
|
|
762
|
+
} | null | undefined;
|
|
655
763
|
reasoningTrace?: {
|
|
656
764
|
steps: {
|
|
657
|
-
order: number;
|
|
658
765
|
description: string;
|
|
766
|
+
order: number;
|
|
659
767
|
}[];
|
|
660
768
|
finalAnswer?: string | null | undefined;
|
|
661
769
|
final_answer?: string | null | undefined;
|
|
@@ -676,32 +784,32 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
676
784
|
title: z.ZodString;
|
|
677
785
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
678
786
|
}, "strip", z.ZodTypeAny, {
|
|
679
|
-
title: string;
|
|
680
787
|
key: string;
|
|
788
|
+
title: string;
|
|
681
789
|
facts: string[];
|
|
682
790
|
}, {
|
|
683
|
-
title: string;
|
|
684
791
|
key: string;
|
|
792
|
+
title: string;
|
|
685
793
|
facts: string[];
|
|
686
794
|
}>, "many">>>;
|
|
687
795
|
}, "strip", z.ZodTypeAny, {
|
|
688
|
-
name: string;
|
|
689
796
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
797
|
+
name: string;
|
|
690
798
|
facts: string[];
|
|
691
799
|
promptedByQuestion?: string | null | undefined;
|
|
692
800
|
structuredSections?: {
|
|
693
|
-
title: string;
|
|
694
801
|
key: string;
|
|
802
|
+
title: string;
|
|
695
803
|
facts: string[];
|
|
696
804
|
}[] | null | undefined;
|
|
697
805
|
}, {
|
|
698
|
-
name: string;
|
|
699
806
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
807
|
+
name: string;
|
|
700
808
|
facts: string[];
|
|
701
809
|
promptedByQuestion?: string | null | undefined;
|
|
702
810
|
structuredSections?: {
|
|
703
|
-
title: string;
|
|
704
811
|
key: string;
|
|
812
|
+
title: string;
|
|
705
813
|
facts: string[];
|
|
706
814
|
}[] | null | undefined;
|
|
707
815
|
}>, "many">;
|
|
@@ -711,29 +819,29 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
711
819
|
label: z.ZodString;
|
|
712
820
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
713
821
|
}, "strip", z.ZodTypeAny, {
|
|
714
|
-
source: string;
|
|
715
822
|
label: string;
|
|
823
|
+
source: string;
|
|
716
824
|
target: string;
|
|
717
825
|
promptedByQuestion?: string | null | undefined;
|
|
718
826
|
}, {
|
|
719
|
-
source: string;
|
|
720
827
|
label: string;
|
|
828
|
+
source: string;
|
|
721
829
|
target: string;
|
|
722
830
|
promptedByQuestion?: string | null | undefined;
|
|
723
831
|
}>, "many">>>;
|
|
724
832
|
}, "strip", z.ZodTypeAny, {
|
|
725
833
|
facts: {
|
|
726
|
-
|
|
834
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
727
835
|
content: string;
|
|
728
836
|
confidence: number;
|
|
729
|
-
|
|
730
|
-
scope?: "project" | "global" | null | undefined;
|
|
837
|
+
tags: string[];
|
|
731
838
|
subject?: "user" | "agent" | null | undefined;
|
|
732
839
|
entityRef?: string | null | undefined;
|
|
733
840
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
841
|
+
scope?: "project" | "global" | null | undefined;
|
|
734
842
|
cueAnchors?: {
|
|
843
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
735
844
|
value: string;
|
|
736
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
737
845
|
}[] | null | undefined;
|
|
738
846
|
promptedByQuestion?: string | null | undefined;
|
|
739
847
|
quote?: string | null | undefined;
|
|
@@ -747,10 +855,18 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
747
855
|
expectedOutcome?: string | null | undefined;
|
|
748
856
|
optional?: boolean | null | undefined;
|
|
749
857
|
}[] | null | undefined;
|
|
858
|
+
span?: {
|
|
859
|
+
sourceMessageIndex: number;
|
|
860
|
+
charStart: number;
|
|
861
|
+
charEnd: number;
|
|
862
|
+
frame: string;
|
|
863
|
+
sourceHash?: string | null | undefined;
|
|
864
|
+
sourceLength?: number | null | undefined;
|
|
865
|
+
} | null | undefined;
|
|
750
866
|
reasoningTrace?: {
|
|
751
867
|
steps: {
|
|
752
|
-
order: number;
|
|
753
868
|
description: string;
|
|
869
|
+
order: number;
|
|
754
870
|
}[];
|
|
755
871
|
finalAnswer?: string | null | undefined;
|
|
756
872
|
final_answer?: string | null | undefined;
|
|
@@ -761,36 +877,36 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
761
877
|
event_time?: string | null | undefined;
|
|
762
878
|
}[];
|
|
763
879
|
entities: {
|
|
764
|
-
name: string;
|
|
765
880
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
881
|
+
name: string;
|
|
766
882
|
facts: string[];
|
|
767
883
|
promptedByQuestion?: string | null | undefined;
|
|
768
884
|
structuredSections?: {
|
|
769
|
-
title: string;
|
|
770
885
|
key: string;
|
|
886
|
+
title: string;
|
|
771
887
|
facts: string[];
|
|
772
888
|
}[] | null | undefined;
|
|
773
889
|
}[];
|
|
774
890
|
profileUpdates: string[];
|
|
775
891
|
relationships?: {
|
|
776
|
-
source: string;
|
|
777
892
|
label: string;
|
|
893
|
+
source: string;
|
|
778
894
|
target: string;
|
|
779
895
|
promptedByQuestion?: string | null | undefined;
|
|
780
896
|
}[] | null | undefined;
|
|
781
897
|
}, {
|
|
782
898
|
facts: {
|
|
783
|
-
|
|
899
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
784
900
|
content: string;
|
|
785
901
|
confidence: number;
|
|
786
|
-
|
|
787
|
-
scope?: "project" | "global" | null | undefined;
|
|
902
|
+
tags: string[];
|
|
788
903
|
subject?: "user" | "agent" | null | undefined;
|
|
789
904
|
entityRef?: string | null | undefined;
|
|
790
905
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
906
|
+
scope?: "project" | "global" | null | undefined;
|
|
791
907
|
cueAnchors?: {
|
|
908
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
792
909
|
value: string;
|
|
793
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
794
910
|
}[] | null | undefined;
|
|
795
911
|
promptedByQuestion?: string | null | undefined;
|
|
796
912
|
quote?: string | null | undefined;
|
|
@@ -804,10 +920,18 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
804
920
|
expectedOutcome?: string | null | undefined;
|
|
805
921
|
optional?: boolean | null | undefined;
|
|
806
922
|
}[] | null | undefined;
|
|
923
|
+
span?: {
|
|
924
|
+
sourceMessageIndex: number;
|
|
925
|
+
charStart: number;
|
|
926
|
+
charEnd: number;
|
|
927
|
+
frame: string;
|
|
928
|
+
sourceHash?: string | null | undefined;
|
|
929
|
+
sourceLength?: number | null | undefined;
|
|
930
|
+
} | null | undefined;
|
|
807
931
|
reasoningTrace?: {
|
|
808
932
|
steps: {
|
|
809
|
-
order: number;
|
|
810
933
|
description: string;
|
|
934
|
+
order: number;
|
|
811
935
|
}[];
|
|
812
936
|
finalAnswer?: string | null | undefined;
|
|
813
937
|
final_answer?: string | null | undefined;
|
|
@@ -818,37 +942,37 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
818
942
|
event_time?: string | null | undefined;
|
|
819
943
|
}[];
|
|
820
944
|
entities: {
|
|
821
|
-
name: string;
|
|
822
945
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
946
|
+
name: string;
|
|
823
947
|
facts: string[];
|
|
824
948
|
promptedByQuestion?: string | null | undefined;
|
|
825
949
|
structuredSections?: {
|
|
826
|
-
title: string;
|
|
827
950
|
key: string;
|
|
951
|
+
title: string;
|
|
828
952
|
facts: string[];
|
|
829
953
|
}[] | null | undefined;
|
|
830
954
|
}[];
|
|
831
955
|
profileUpdates: string[];
|
|
832
956
|
relationships?: {
|
|
833
|
-
source: string;
|
|
834
957
|
label: string;
|
|
958
|
+
source: string;
|
|
835
959
|
target: string;
|
|
836
960
|
promptedByQuestion?: string | null | undefined;
|
|
837
961
|
}[] | null | undefined;
|
|
838
962
|
}>;
|
|
839
963
|
declare const ExtractionResultSchema: z.ZodObject<{
|
|
840
964
|
facts: z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
|
|
841
|
-
|
|
965
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
842
966
|
content: string;
|
|
843
967
|
confidence: number;
|
|
844
|
-
|
|
845
|
-
scope?: "project" | "global" | null | undefined;
|
|
968
|
+
tags: string[];
|
|
846
969
|
subject?: "user" | "agent" | null | undefined;
|
|
847
970
|
entityRef?: string | null | undefined;
|
|
848
971
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
972
|
+
scope?: "project" | "global" | null | undefined;
|
|
849
973
|
cueAnchors?: {
|
|
974
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
850
975
|
value: string;
|
|
851
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
852
976
|
}[] | null | undefined;
|
|
853
977
|
promptedByQuestion?: string | null | undefined;
|
|
854
978
|
quote?: string | null | undefined;
|
|
@@ -862,10 +986,18 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
862
986
|
expectedOutcome?: string | null | undefined;
|
|
863
987
|
optional?: boolean | null | undefined;
|
|
864
988
|
}[] | null | undefined;
|
|
989
|
+
span?: {
|
|
990
|
+
sourceMessageIndex: number;
|
|
991
|
+
charStart: number;
|
|
992
|
+
charEnd: number;
|
|
993
|
+
frame: string;
|
|
994
|
+
sourceHash?: string | null | undefined;
|
|
995
|
+
sourceLength?: number | null | undefined;
|
|
996
|
+
} | null | undefined;
|
|
865
997
|
reasoningTrace?: {
|
|
866
998
|
steps: {
|
|
867
|
-
order: number;
|
|
868
999
|
description: string;
|
|
1000
|
+
order: number;
|
|
869
1001
|
}[];
|
|
870
1002
|
finalAnswer?: string | null | undefined;
|
|
871
1003
|
final_answer?: string | null | undefined;
|
|
@@ -877,13 +1009,13 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
877
1009
|
}[], unknown[]>;
|
|
878
1010
|
profileUpdates: z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, string[], unknown[]>;
|
|
879
1011
|
entities: z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
|
|
880
|
-
name: string;
|
|
881
1012
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
1013
|
+
name: string;
|
|
882
1014
|
facts: string[];
|
|
883
1015
|
promptedByQuestion?: string | null | undefined;
|
|
884
1016
|
structuredSections?: {
|
|
885
|
-
title: string;
|
|
886
1017
|
key: string;
|
|
1018
|
+
title: string;
|
|
887
1019
|
facts: string[];
|
|
888
1020
|
}[] | null | undefined;
|
|
889
1021
|
}[], unknown[]>;
|
|
@@ -895,8 +1027,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
895
1027
|
identityReflection: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
896
1028
|
episodeTitle: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
897
1029
|
relationships: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
|
|
898
|
-
source: string;
|
|
899
1030
|
label: string;
|
|
1031
|
+
source: string;
|
|
900
1032
|
target: string;
|
|
901
1033
|
promptedByQuestion?: string | null | undefined;
|
|
902
1034
|
}[], unknown[]>>>;
|
|
@@ -907,17 +1039,17 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
907
1039
|
context: string;
|
|
908
1040
|
}[];
|
|
909
1041
|
facts: {
|
|
910
|
-
|
|
1042
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
911
1043
|
content: string;
|
|
912
1044
|
confidence: number;
|
|
913
|
-
|
|
914
|
-
scope?: "project" | "global" | null | undefined;
|
|
1045
|
+
tags: string[];
|
|
915
1046
|
subject?: "user" | "agent" | null | undefined;
|
|
916
1047
|
entityRef?: string | null | undefined;
|
|
917
1048
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1049
|
+
scope?: "project" | "global" | null | undefined;
|
|
918
1050
|
cueAnchors?: {
|
|
1051
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
919
1052
|
value: string;
|
|
920
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
921
1053
|
}[] | null | undefined;
|
|
922
1054
|
promptedByQuestion?: string | null | undefined;
|
|
923
1055
|
quote?: string | null | undefined;
|
|
@@ -931,10 +1063,18 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
931
1063
|
expectedOutcome?: string | null | undefined;
|
|
932
1064
|
optional?: boolean | null | undefined;
|
|
933
1065
|
}[] | null | undefined;
|
|
1066
|
+
span?: {
|
|
1067
|
+
sourceMessageIndex: number;
|
|
1068
|
+
charStart: number;
|
|
1069
|
+
charEnd: number;
|
|
1070
|
+
frame: string;
|
|
1071
|
+
sourceHash?: string | null | undefined;
|
|
1072
|
+
sourceLength?: number | null | undefined;
|
|
1073
|
+
} | null | undefined;
|
|
934
1074
|
reasoningTrace?: {
|
|
935
1075
|
steps: {
|
|
936
|
-
order: number;
|
|
937
1076
|
description: string;
|
|
1077
|
+
order: number;
|
|
938
1078
|
}[];
|
|
939
1079
|
finalAnswer?: string | null | undefined;
|
|
940
1080
|
final_answer?: string | null | undefined;
|
|
@@ -945,20 +1085,20 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
945
1085
|
event_time?: string | null | undefined;
|
|
946
1086
|
}[];
|
|
947
1087
|
entities: {
|
|
948
|
-
name: string;
|
|
949
1088
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
1089
|
+
name: string;
|
|
950
1090
|
facts: string[];
|
|
951
1091
|
promptedByQuestion?: string | null | undefined;
|
|
952
1092
|
structuredSections?: {
|
|
953
|
-
title: string;
|
|
954
1093
|
key: string;
|
|
1094
|
+
title: string;
|
|
955
1095
|
facts: string[];
|
|
956
1096
|
}[] | null | undefined;
|
|
957
1097
|
}[];
|
|
958
1098
|
profileUpdates: string[];
|
|
959
1099
|
relationships?: {
|
|
960
|
-
source: string;
|
|
961
1100
|
label: string;
|
|
1101
|
+
source: string;
|
|
962
1102
|
target: string;
|
|
963
1103
|
promptedByQuestion?: string | null | undefined;
|
|
964
1104
|
}[] | null | undefined;
|
|
@@ -990,11 +1130,11 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
990
1130
|
type: z.ZodEnum<["entity", "file", "tool", "outcome", "constraint", "date"]>;
|
|
991
1131
|
value: z.ZodString;
|
|
992
1132
|
}, "strip", z.ZodTypeAny, {
|
|
1133
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
993
1134
|
value: string;
|
|
994
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
995
1135
|
}, {
|
|
1136
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
996
1137
|
value: string;
|
|
997
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
998
1138
|
}>, "many">>>;
|
|
999
1139
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1000
1140
|
scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
|
|
@@ -1035,16 +1175,38 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1035
1175
|
expectedOutcome?: string | null | undefined;
|
|
1036
1176
|
optional?: boolean | null | undefined;
|
|
1037
1177
|
}>, "many">>>;
|
|
1178
|
+
span: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1179
|
+
sourceMessageIndex: z.ZodNumber;
|
|
1180
|
+
charStart: z.ZodNumber;
|
|
1181
|
+
charEnd: z.ZodNumber;
|
|
1182
|
+
frame: z.ZodString;
|
|
1183
|
+
sourceHash: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1184
|
+
sourceLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1185
|
+
}, "strip", z.ZodTypeAny, {
|
|
1186
|
+
sourceMessageIndex: number;
|
|
1187
|
+
charStart: number;
|
|
1188
|
+
charEnd: number;
|
|
1189
|
+
frame: string;
|
|
1190
|
+
sourceHash?: string | null | undefined;
|
|
1191
|
+
sourceLength?: number | null | undefined;
|
|
1192
|
+
}, {
|
|
1193
|
+
sourceMessageIndex: number;
|
|
1194
|
+
charStart: number;
|
|
1195
|
+
charEnd: number;
|
|
1196
|
+
frame: string;
|
|
1197
|
+
sourceHash?: string | null | undefined;
|
|
1198
|
+
sourceLength?: number | null | undefined;
|
|
1199
|
+
}>>>;
|
|
1038
1200
|
reasoningTrace: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1039
1201
|
steps: z.ZodArray<z.ZodObject<{
|
|
1040
1202
|
order: z.ZodNumber;
|
|
1041
1203
|
description: z.ZodString;
|
|
1042
1204
|
}, "strip", z.ZodTypeAny, {
|
|
1043
|
-
order: number;
|
|
1044
1205
|
description: string;
|
|
1045
|
-
}, {
|
|
1046
1206
|
order: number;
|
|
1207
|
+
}, {
|
|
1047
1208
|
description: string;
|
|
1209
|
+
order: number;
|
|
1048
1210
|
}>, "many">;
|
|
1049
1211
|
finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1050
1212
|
final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -1052,8 +1214,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1052
1214
|
observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1053
1215
|
}, "strip", z.ZodTypeAny, {
|
|
1054
1216
|
steps: {
|
|
1055
|
-
order: number;
|
|
1056
1217
|
description: string;
|
|
1218
|
+
order: number;
|
|
1057
1219
|
}[];
|
|
1058
1220
|
finalAnswer?: string | null | undefined;
|
|
1059
1221
|
final_answer?: string | null | undefined;
|
|
@@ -1061,8 +1223,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1061
1223
|
observed_outcome?: string | null | undefined;
|
|
1062
1224
|
}, {
|
|
1063
1225
|
steps: {
|
|
1064
|
-
order: number;
|
|
1065
1226
|
description: string;
|
|
1227
|
+
order: number;
|
|
1066
1228
|
}[];
|
|
1067
1229
|
finalAnswer?: string | null | undefined;
|
|
1068
1230
|
final_answer?: string | null | undefined;
|
|
@@ -1070,8 +1232,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1070
1232
|
observed_outcome?: string | null | undefined;
|
|
1071
1233
|
}>, {
|
|
1072
1234
|
steps: {
|
|
1073
|
-
order: number;
|
|
1074
1235
|
description: string;
|
|
1236
|
+
order: number;
|
|
1075
1237
|
}[];
|
|
1076
1238
|
finalAnswer?: string | null | undefined;
|
|
1077
1239
|
final_answer?: string | null | undefined;
|
|
@@ -1079,8 +1241,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1079
1241
|
observed_outcome?: string | null | undefined;
|
|
1080
1242
|
}, {
|
|
1081
1243
|
steps: {
|
|
1082
|
-
order: number;
|
|
1083
1244
|
description: string;
|
|
1245
|
+
order: number;
|
|
1084
1246
|
}[];
|
|
1085
1247
|
finalAnswer?: string | null | undefined;
|
|
1086
1248
|
final_answer?: string | null | undefined;
|
|
@@ -1090,17 +1252,17 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1090
1252
|
eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1091
1253
|
event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1092
1254
|
}, "strip", z.ZodTypeAny, {
|
|
1093
|
-
|
|
1255
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
1094
1256
|
content: string;
|
|
1095
1257
|
confidence: number;
|
|
1096
|
-
|
|
1097
|
-
scope?: "project" | "global" | null | undefined;
|
|
1258
|
+
tags: string[];
|
|
1098
1259
|
subject?: "user" | "agent" | null | undefined;
|
|
1099
1260
|
entityRef?: string | null | undefined;
|
|
1100
1261
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1262
|
+
scope?: "project" | "global" | null | undefined;
|
|
1101
1263
|
cueAnchors?: {
|
|
1264
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
1102
1265
|
value: string;
|
|
1103
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
1104
1266
|
}[] | null | undefined;
|
|
1105
1267
|
promptedByQuestion?: string | null | undefined;
|
|
1106
1268
|
quote?: string | null | undefined;
|
|
@@ -1114,10 +1276,18 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1114
1276
|
expectedOutcome?: string | null | undefined;
|
|
1115
1277
|
optional?: boolean | null | undefined;
|
|
1116
1278
|
}[] | null | undefined;
|
|
1279
|
+
span?: {
|
|
1280
|
+
sourceMessageIndex: number;
|
|
1281
|
+
charStart: number;
|
|
1282
|
+
charEnd: number;
|
|
1283
|
+
frame: string;
|
|
1284
|
+
sourceHash?: string | null | undefined;
|
|
1285
|
+
sourceLength?: number | null | undefined;
|
|
1286
|
+
} | null | undefined;
|
|
1117
1287
|
reasoningTrace?: {
|
|
1118
1288
|
steps: {
|
|
1119
|
-
order: number;
|
|
1120
1289
|
description: string;
|
|
1290
|
+
order: number;
|
|
1121
1291
|
}[];
|
|
1122
1292
|
finalAnswer?: string | null | undefined;
|
|
1123
1293
|
final_answer?: string | null | undefined;
|
|
@@ -1127,17 +1297,17 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1127
1297
|
eventTime?: string | null | undefined;
|
|
1128
1298
|
event_time?: string | null | undefined;
|
|
1129
1299
|
}, {
|
|
1130
|
-
|
|
1300
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
1131
1301
|
content: string;
|
|
1132
1302
|
confidence: number;
|
|
1133
|
-
|
|
1134
|
-
scope?: "project" | "global" | null | undefined;
|
|
1303
|
+
tags: string[];
|
|
1135
1304
|
subject?: "user" | "agent" | null | undefined;
|
|
1136
1305
|
entityRef?: string | null | undefined;
|
|
1137
1306
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1307
|
+
scope?: "project" | "global" | null | undefined;
|
|
1138
1308
|
cueAnchors?: {
|
|
1309
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
1139
1310
|
value: string;
|
|
1140
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
1141
1311
|
}[] | null | undefined;
|
|
1142
1312
|
promptedByQuestion?: string | null | undefined;
|
|
1143
1313
|
quote?: string | null | undefined;
|
|
@@ -1151,10 +1321,18 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1151
1321
|
expectedOutcome?: string | null | undefined;
|
|
1152
1322
|
optional?: boolean | null | undefined;
|
|
1153
1323
|
}[] | null | undefined;
|
|
1324
|
+
span?: {
|
|
1325
|
+
sourceMessageIndex: number;
|
|
1326
|
+
charStart: number;
|
|
1327
|
+
charEnd: number;
|
|
1328
|
+
frame: string;
|
|
1329
|
+
sourceHash?: string | null | undefined;
|
|
1330
|
+
sourceLength?: number | null | undefined;
|
|
1331
|
+
} | null | undefined;
|
|
1154
1332
|
reasoningTrace?: {
|
|
1155
1333
|
steps: {
|
|
1156
|
-
order: number;
|
|
1157
1334
|
description: string;
|
|
1335
|
+
order: number;
|
|
1158
1336
|
}[];
|
|
1159
1337
|
finalAnswer?: string | null | undefined;
|
|
1160
1338
|
final_answer?: string | null | undefined;
|
|
@@ -1164,17 +1342,17 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1164
1342
|
eventTime?: string | null | undefined;
|
|
1165
1343
|
event_time?: string | null | undefined;
|
|
1166
1344
|
}>, {
|
|
1167
|
-
|
|
1345
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
1168
1346
|
content: string;
|
|
1169
1347
|
confidence: number;
|
|
1170
|
-
|
|
1171
|
-
scope?: "project" | "global" | null | undefined;
|
|
1348
|
+
tags: string[];
|
|
1172
1349
|
subject?: "user" | "agent" | null | undefined;
|
|
1173
1350
|
entityRef?: string | null | undefined;
|
|
1174
1351
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1352
|
+
scope?: "project" | "global" | null | undefined;
|
|
1175
1353
|
cueAnchors?: {
|
|
1354
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
1176
1355
|
value: string;
|
|
1177
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
1178
1356
|
}[] | null | undefined;
|
|
1179
1357
|
promptedByQuestion?: string | null | undefined;
|
|
1180
1358
|
quote?: string | null | undefined;
|
|
@@ -1188,10 +1366,18 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1188
1366
|
expectedOutcome?: string | null | undefined;
|
|
1189
1367
|
optional?: boolean | null | undefined;
|
|
1190
1368
|
}[] | null | undefined;
|
|
1369
|
+
span?: {
|
|
1370
|
+
sourceMessageIndex: number;
|
|
1371
|
+
charStart: number;
|
|
1372
|
+
charEnd: number;
|
|
1373
|
+
frame: string;
|
|
1374
|
+
sourceHash?: string | null | undefined;
|
|
1375
|
+
sourceLength?: number | null | undefined;
|
|
1376
|
+
} | null | undefined;
|
|
1191
1377
|
reasoningTrace?: {
|
|
1192
1378
|
steps: {
|
|
1193
|
-
order: number;
|
|
1194
1379
|
description: string;
|
|
1380
|
+
order: number;
|
|
1195
1381
|
}[];
|
|
1196
1382
|
finalAnswer?: string | null | undefined;
|
|
1197
1383
|
final_answer?: string | null | undefined;
|
|
@@ -1201,17 +1387,17 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1201
1387
|
eventTime?: string | null | undefined;
|
|
1202
1388
|
event_time?: string | null | undefined;
|
|
1203
1389
|
}, {
|
|
1204
|
-
|
|
1390
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
1205
1391
|
content: string;
|
|
1206
1392
|
confidence: number;
|
|
1207
|
-
|
|
1208
|
-
scope?: "project" | "global" | null | undefined;
|
|
1393
|
+
tags: string[];
|
|
1209
1394
|
subject?: "user" | "agent" | null | undefined;
|
|
1210
1395
|
entityRef?: string | null | undefined;
|
|
1211
1396
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1397
|
+
scope?: "project" | "global" | null | undefined;
|
|
1212
1398
|
cueAnchors?: {
|
|
1399
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
1213
1400
|
value: string;
|
|
1214
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
1215
1401
|
}[] | null | undefined;
|
|
1216
1402
|
promptedByQuestion?: string | null | undefined;
|
|
1217
1403
|
quote?: string | null | undefined;
|
|
@@ -1225,10 +1411,18 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1225
1411
|
expectedOutcome?: string | null | undefined;
|
|
1226
1412
|
optional?: boolean | null | undefined;
|
|
1227
1413
|
}[] | null | undefined;
|
|
1414
|
+
span?: {
|
|
1415
|
+
sourceMessageIndex: number;
|
|
1416
|
+
charStart: number;
|
|
1417
|
+
charEnd: number;
|
|
1418
|
+
frame: string;
|
|
1419
|
+
sourceHash?: string | null | undefined;
|
|
1420
|
+
sourceLength?: number | null | undefined;
|
|
1421
|
+
} | null | undefined;
|
|
1228
1422
|
reasoningTrace?: {
|
|
1229
1423
|
steps: {
|
|
1230
|
-
order: number;
|
|
1231
1424
|
description: string;
|
|
1425
|
+
order: number;
|
|
1232
1426
|
}[];
|
|
1233
1427
|
finalAnswer?: string | null | undefined;
|
|
1234
1428
|
final_answer?: string | null | undefined;
|
|
@@ -1249,32 +1443,32 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1249
1443
|
title: z.ZodString;
|
|
1250
1444
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
1251
1445
|
}, "strip", z.ZodTypeAny, {
|
|
1252
|
-
title: string;
|
|
1253
1446
|
key: string;
|
|
1447
|
+
title: string;
|
|
1254
1448
|
facts: string[];
|
|
1255
1449
|
}, {
|
|
1256
|
-
title: string;
|
|
1257
1450
|
key: string;
|
|
1451
|
+
title: string;
|
|
1258
1452
|
facts: string[];
|
|
1259
1453
|
}>, "many">>>;
|
|
1260
1454
|
}, "strip", z.ZodTypeAny, {
|
|
1261
|
-
name: string;
|
|
1262
1455
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
1456
|
+
name: string;
|
|
1263
1457
|
facts: string[];
|
|
1264
1458
|
promptedByQuestion?: string | null | undefined;
|
|
1265
1459
|
structuredSections?: {
|
|
1266
|
-
title: string;
|
|
1267
1460
|
key: string;
|
|
1461
|
+
title: string;
|
|
1268
1462
|
facts: string[];
|
|
1269
1463
|
}[] | null | undefined;
|
|
1270
1464
|
}, {
|
|
1271
|
-
name: string;
|
|
1272
1465
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
1466
|
+
name: string;
|
|
1273
1467
|
facts: string[];
|
|
1274
1468
|
promptedByQuestion?: string | null | undefined;
|
|
1275
1469
|
structuredSections?: {
|
|
1276
|
-
title: string;
|
|
1277
1470
|
key: string;
|
|
1471
|
+
title: string;
|
|
1278
1472
|
facts: string[];
|
|
1279
1473
|
}[] | null | undefined;
|
|
1280
1474
|
}>, "many">;
|
|
@@ -1299,13 +1493,13 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1299
1493
|
label: z.ZodString;
|
|
1300
1494
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1301
1495
|
}, "strip", z.ZodTypeAny, {
|
|
1302
|
-
source: string;
|
|
1303
1496
|
label: string;
|
|
1497
|
+
source: string;
|
|
1304
1498
|
target: string;
|
|
1305
1499
|
promptedByQuestion?: string | null | undefined;
|
|
1306
1500
|
}, {
|
|
1307
|
-
source: string;
|
|
1308
1501
|
label: string;
|
|
1502
|
+
source: string;
|
|
1309
1503
|
target: string;
|
|
1310
1504
|
promptedByQuestion?: string | null | undefined;
|
|
1311
1505
|
}>, "many">>>;
|
|
@@ -1316,17 +1510,17 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1316
1510
|
context: string;
|
|
1317
1511
|
}[];
|
|
1318
1512
|
facts: {
|
|
1319
|
-
|
|
1513
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
1320
1514
|
content: string;
|
|
1321
1515
|
confidence: number;
|
|
1322
|
-
|
|
1323
|
-
scope?: "project" | "global" | null | undefined;
|
|
1516
|
+
tags: string[];
|
|
1324
1517
|
subject?: "user" | "agent" | null | undefined;
|
|
1325
1518
|
entityRef?: string | null | undefined;
|
|
1326
1519
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1520
|
+
scope?: "project" | "global" | null | undefined;
|
|
1327
1521
|
cueAnchors?: {
|
|
1522
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
1328
1523
|
value: string;
|
|
1329
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
1330
1524
|
}[] | null | undefined;
|
|
1331
1525
|
promptedByQuestion?: string | null | undefined;
|
|
1332
1526
|
quote?: string | null | undefined;
|
|
@@ -1340,10 +1534,18 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1340
1534
|
expectedOutcome?: string | null | undefined;
|
|
1341
1535
|
optional?: boolean | null | undefined;
|
|
1342
1536
|
}[] | null | undefined;
|
|
1537
|
+
span?: {
|
|
1538
|
+
sourceMessageIndex: number;
|
|
1539
|
+
charStart: number;
|
|
1540
|
+
charEnd: number;
|
|
1541
|
+
frame: string;
|
|
1542
|
+
sourceHash?: string | null | undefined;
|
|
1543
|
+
sourceLength?: number | null | undefined;
|
|
1544
|
+
} | null | undefined;
|
|
1343
1545
|
reasoningTrace?: {
|
|
1344
1546
|
steps: {
|
|
1345
|
-
order: number;
|
|
1346
1547
|
description: string;
|
|
1548
|
+
order: number;
|
|
1347
1549
|
}[];
|
|
1348
1550
|
finalAnswer?: string | null | undefined;
|
|
1349
1551
|
final_answer?: string | null | undefined;
|
|
@@ -1354,20 +1556,20 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1354
1556
|
event_time?: string | null | undefined;
|
|
1355
1557
|
}[];
|
|
1356
1558
|
entities: {
|
|
1357
|
-
name: string;
|
|
1358
1559
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
1560
|
+
name: string;
|
|
1359
1561
|
facts: string[];
|
|
1360
1562
|
promptedByQuestion?: string | null | undefined;
|
|
1361
1563
|
structuredSections?: {
|
|
1362
|
-
title: string;
|
|
1363
1564
|
key: string;
|
|
1565
|
+
title: string;
|
|
1364
1566
|
facts: string[];
|
|
1365
1567
|
}[] | null | undefined;
|
|
1366
1568
|
}[];
|
|
1367
1569
|
profileUpdates: string[];
|
|
1368
1570
|
relationships?: {
|
|
1369
|
-
source: string;
|
|
1370
1571
|
label: string;
|
|
1572
|
+
source: string;
|
|
1371
1573
|
target: string;
|
|
1372
1574
|
promptedByQuestion?: string | null | undefined;
|
|
1373
1575
|
}[] | null | undefined;
|
|
@@ -1380,17 +1582,17 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1380
1582
|
context: string;
|
|
1381
1583
|
}[];
|
|
1382
1584
|
facts: {
|
|
1383
|
-
|
|
1585
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
1384
1586
|
content: string;
|
|
1385
1587
|
confidence: number;
|
|
1386
|
-
|
|
1387
|
-
scope?: "project" | "global" | null | undefined;
|
|
1588
|
+
tags: string[];
|
|
1388
1589
|
subject?: "user" | "agent" | null | undefined;
|
|
1389
1590
|
entityRef?: string | null | undefined;
|
|
1390
1591
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1592
|
+
scope?: "project" | "global" | null | undefined;
|
|
1391
1593
|
cueAnchors?: {
|
|
1594
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
1392
1595
|
value: string;
|
|
1393
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
1394
1596
|
}[] | null | undefined;
|
|
1395
1597
|
promptedByQuestion?: string | null | undefined;
|
|
1396
1598
|
quote?: string | null | undefined;
|
|
@@ -1404,10 +1606,18 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1404
1606
|
expectedOutcome?: string | null | undefined;
|
|
1405
1607
|
optional?: boolean | null | undefined;
|
|
1406
1608
|
}[] | null | undefined;
|
|
1609
|
+
span?: {
|
|
1610
|
+
sourceMessageIndex: number;
|
|
1611
|
+
charStart: number;
|
|
1612
|
+
charEnd: number;
|
|
1613
|
+
frame: string;
|
|
1614
|
+
sourceHash?: string | null | undefined;
|
|
1615
|
+
sourceLength?: number | null | undefined;
|
|
1616
|
+
} | null | undefined;
|
|
1407
1617
|
reasoningTrace?: {
|
|
1408
1618
|
steps: {
|
|
1409
|
-
order: number;
|
|
1410
1619
|
description: string;
|
|
1620
|
+
order: number;
|
|
1411
1621
|
}[];
|
|
1412
1622
|
finalAnswer?: string | null | undefined;
|
|
1413
1623
|
final_answer?: string | null | undefined;
|
|
@@ -1418,20 +1628,20 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1418
1628
|
event_time?: string | null | undefined;
|
|
1419
1629
|
}[];
|
|
1420
1630
|
entities: {
|
|
1421
|
-
name: string;
|
|
1422
1631
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
1632
|
+
name: string;
|
|
1423
1633
|
facts: string[];
|
|
1424
1634
|
promptedByQuestion?: string | null | undefined;
|
|
1425
1635
|
structuredSections?: {
|
|
1426
|
-
title: string;
|
|
1427
1636
|
key: string;
|
|
1637
|
+
title: string;
|
|
1428
1638
|
facts: string[];
|
|
1429
1639
|
}[] | null | undefined;
|
|
1430
1640
|
}[];
|
|
1431
1641
|
profileUpdates: string[];
|
|
1432
1642
|
relationships?: {
|
|
1433
|
-
source: string;
|
|
1434
1643
|
label: string;
|
|
1644
|
+
source: string;
|
|
1435
1645
|
target: string;
|
|
1436
1646
|
promptedByQuestion?: string | null | undefined;
|
|
1437
1647
|
}[] | null | undefined;
|
|
@@ -1445,14 +1655,14 @@ declare const ConsolidationItemSchema: z.ZodObject<{
|
|
|
1445
1655
|
updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1446
1656
|
reason: z.ZodString;
|
|
1447
1657
|
}, "strip", z.ZodTypeAny, {
|
|
1448
|
-
reason: string;
|
|
1449
1658
|
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1659
|
+
reason: string;
|
|
1450
1660
|
existingId: string;
|
|
1451
1661
|
mergeWith?: string | null | undefined;
|
|
1452
1662
|
updatedContent?: string | null | undefined;
|
|
1453
1663
|
}, {
|
|
1454
|
-
reason: string;
|
|
1455
1664
|
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1665
|
+
reason: string;
|
|
1456
1666
|
existingId: string;
|
|
1457
1667
|
mergeWith?: string | null | undefined;
|
|
1458
1668
|
updatedContent?: string | null | undefined;
|
|
@@ -1465,14 +1675,14 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1465
1675
|
updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1466
1676
|
reason: z.ZodString;
|
|
1467
1677
|
}, "strip", z.ZodTypeAny, {
|
|
1468
|
-
reason: string;
|
|
1469
1678
|
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1679
|
+
reason: string;
|
|
1470
1680
|
existingId: string;
|
|
1471
1681
|
mergeWith?: string | null | undefined;
|
|
1472
1682
|
updatedContent?: string | null | undefined;
|
|
1473
1683
|
}, {
|
|
1474
|
-
reason: string;
|
|
1475
1684
|
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1685
|
+
reason: string;
|
|
1476
1686
|
existingId: string;
|
|
1477
1687
|
mergeWith?: string | null | undefined;
|
|
1478
1688
|
updatedContent?: string | null | undefined;
|
|
@@ -1488,72 +1698,72 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1488
1698
|
title: z.ZodString;
|
|
1489
1699
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
1490
1700
|
}, "strip", z.ZodTypeAny, {
|
|
1491
|
-
title: string;
|
|
1492
1701
|
key: string;
|
|
1702
|
+
title: string;
|
|
1493
1703
|
facts: string[];
|
|
1494
1704
|
}, {
|
|
1495
|
-
title: string;
|
|
1496
1705
|
key: string;
|
|
1706
|
+
title: string;
|
|
1497
1707
|
facts: string[];
|
|
1498
1708
|
}>, "many">>>;
|
|
1499
1709
|
}, "strip", z.ZodTypeAny, {
|
|
1500
|
-
name: string;
|
|
1501
1710
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
1711
|
+
name: string;
|
|
1502
1712
|
facts: string[];
|
|
1503
1713
|
promptedByQuestion?: string | null | undefined;
|
|
1504
1714
|
structuredSections?: {
|
|
1505
|
-
title: string;
|
|
1506
1715
|
key: string;
|
|
1716
|
+
title: string;
|
|
1507
1717
|
facts: string[];
|
|
1508
1718
|
}[] | null | undefined;
|
|
1509
1719
|
}, {
|
|
1510
|
-
name: string;
|
|
1511
1720
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
1721
|
+
name: string;
|
|
1512
1722
|
facts: string[];
|
|
1513
1723
|
promptedByQuestion?: string | null | undefined;
|
|
1514
1724
|
structuredSections?: {
|
|
1515
|
-
title: string;
|
|
1516
1725
|
key: string;
|
|
1726
|
+
title: string;
|
|
1517
1727
|
facts: string[];
|
|
1518
1728
|
}[] | null | undefined;
|
|
1519
1729
|
}>, "many">;
|
|
1520
1730
|
}, "strip", z.ZodTypeAny, {
|
|
1521
1731
|
items: {
|
|
1522
|
-
reason: string;
|
|
1523
1732
|
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1733
|
+
reason: string;
|
|
1524
1734
|
existingId: string;
|
|
1525
1735
|
mergeWith?: string | null | undefined;
|
|
1526
1736
|
updatedContent?: string | null | undefined;
|
|
1527
1737
|
}[];
|
|
1528
1738
|
profileUpdates: string[];
|
|
1529
1739
|
entityUpdates: {
|
|
1530
|
-
name: string;
|
|
1531
1740
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
1741
|
+
name: string;
|
|
1532
1742
|
facts: string[];
|
|
1533
1743
|
promptedByQuestion?: string | null | undefined;
|
|
1534
1744
|
structuredSections?: {
|
|
1535
|
-
title: string;
|
|
1536
1745
|
key: string;
|
|
1746
|
+
title: string;
|
|
1537
1747
|
facts: string[];
|
|
1538
1748
|
}[] | null | undefined;
|
|
1539
1749
|
}[];
|
|
1540
1750
|
}, {
|
|
1541
1751
|
items: {
|
|
1542
|
-
reason: string;
|
|
1543
1752
|
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1753
|
+
reason: string;
|
|
1544
1754
|
existingId: string;
|
|
1545
1755
|
mergeWith?: string | null | undefined;
|
|
1546
1756
|
updatedContent?: string | null | undefined;
|
|
1547
1757
|
}[];
|
|
1548
1758
|
profileUpdates: string[];
|
|
1549
1759
|
entityUpdates: {
|
|
1550
|
-
name: string;
|
|
1551
1760
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
1761
|
+
name: string;
|
|
1552
1762
|
facts: string[];
|
|
1553
1763
|
promptedByQuestion?: string | null | undefined;
|
|
1554
1764
|
structuredSections?: {
|
|
1555
|
-
title: string;
|
|
1556
1765
|
key: string;
|
|
1766
|
+
title: string;
|
|
1557
1767
|
facts: string[];
|
|
1558
1768
|
}[] | null | undefined;
|
|
1559
1769
|
}[];
|