@remnic/core 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +1 -0
- package/dist/access-cli.d.ts +13 -3
- package/dist/access-cli.js +90 -75
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.d.ts +10 -3
- package/dist/access-http.js +25 -18
- package/dist/access-mcp.d.ts +30 -3
- package/dist/access-mcp.js +16 -1
- package/dist/access-schema.d.ts +12 -12
- package/dist/access-schema.js +1 -1
- package/dist/access-service.d.ts +65 -4
- package/dist/access-service.js +21 -15
- package/dist/active-memory-bridge.d.ts +66 -0
- package/dist/active-memory-bridge.js +11 -0
- package/dist/active-recall.d.ts +96 -0
- package/dist/active-recall.js +308 -0
- package/dist/active-recall.js.map +1 -0
- package/dist/behavior-learner.js +1 -1
- package/dist/bootstrap.d.ts +6 -3
- package/dist/bootstrap.js +2 -2
- package/dist/boxes.js +2 -2
- package/dist/briefing.d.ts +169 -0
- package/dist/briefing.js +52 -0
- package/dist/briefing.js.map +1 -0
- package/dist/buffer.d.ts +19 -5
- package/dist/buffer.js +2 -2
- package/dist/calibration.js +6 -6
- package/dist/causal-behavior.js +5 -5
- package/dist/causal-chain.js +3 -3
- package/dist/causal-consolidation.d.ts +22 -2
- package/dist/causal-consolidation.js +36 -9
- package/dist/causal-consolidation.js.map +1 -1
- package/dist/causal-retrieval.js +6 -6
- package/dist/causal-trajectory-graph.js +1 -1
- package/dist/causal-trajectory.d.ts +14 -1
- package/dist/causal-trajectory.js +5 -1
- package/dist/{chunk-KWBU5S5U.js → chunk-2ODBA7MQ.js} +9 -3
- package/dist/chunk-2ODBA7MQ.js.map +1 -0
- package/dist/{chunk-6UJQNRIO.js → chunk-2VFW5K5U.js} +93 -36
- package/dist/chunk-2VFW5K5U.js.map +1 -0
- package/dist/chunk-3PG3H5TD.js +7 -0
- package/dist/chunk-3PG3H5TD.js.map +1 -0
- package/dist/{chunk-NTTLPF7F.js → chunk-3QFQGRHO.js} +5 -5
- package/dist/chunk-4DJQYKMN.js +187 -0
- package/dist/chunk-4DJQYKMN.js.map +1 -0
- package/dist/chunk-4KAN3GZ3.js +225 -0
- package/dist/chunk-4KAN3GZ3.js.map +1 -0
- package/dist/{chunk-ORZMT74A.js → chunk-4NRAJUDS.js} +11 -1
- package/dist/chunk-4NRAJUDS.js.map +1 -0
- package/dist/{chunk-B7LOFDVE.js → chunk-4WMCPJWX.js} +8 -3
- package/dist/chunk-4WMCPJWX.js.map +1 -0
- package/dist/{chunk-G3AG3KZN.js → chunk-5IZL4DCV.js} +2 -2
- package/dist/{chunk-BRK4ODMI.js → chunk-5NPGSAVB.js} +2 -2
- package/dist/chunk-6MKAMLQL.js +16 -0
- package/dist/chunk-6MKAMLQL.js.map +1 -0
- package/dist/{chunk-ESSMF2FR.js → chunk-6PFRXT4K.js} +15 -6
- package/dist/chunk-6PFRXT4K.js.map +1 -0
- package/dist/chunk-6ZH4TU6I.js +245 -0
- package/dist/chunk-6ZH4TU6I.js.map +1 -0
- package/dist/{chunk-V4YC4LUK.js → chunk-74JR4N5J.js} +175 -63
- package/dist/chunk-74JR4N5J.js.map +1 -0
- package/dist/{chunk-L5RPWGFK.js → chunk-7DHTMOND.js} +2 -2
- package/dist/{chunk-TVVVQQAK.js → chunk-7PA4OZEU.js} +53 -11
- package/dist/chunk-7PA4OZEU.js.map +1 -0
- package/dist/{chunk-Q6FETXJA.js → chunk-7SEAZFFB.js} +2 -2
- package/dist/chunk-ALXMCZEU.js +332 -0
- package/dist/chunk-ALXMCZEU.js.map +1 -0
- package/dist/{chunk-QANCTXQF.js → chunk-AYPYCLR7.js} +3 -3
- package/dist/{chunk-WWIQTB2Y.js → chunk-BKQJBXXX.js} +9 -2
- package/dist/chunk-BKQJBXXX.js.map +1 -0
- package/dist/{chunk-LP47L3ZX.js → chunk-BTY5RRRF.js} +7 -7
- package/dist/{chunk-SCHEKPYH.js → chunk-C2EFFULQ.js} +1 -1
- package/dist/{chunk-GJR6D6KC.js → chunk-D654IBA6.js} +2 -2
- package/dist/{chunk-UV2FO7J4.js → chunk-E6K4NIEU.js} +2 -2
- package/dist/{chunk-T4WRIV2C.js → chunk-EABGC2TL.js} +2 -2
- package/dist/chunk-ECKDIK5F.js +813 -0
- package/dist/chunk-ECKDIK5F.js.map +1 -0
- package/dist/chunk-EJI5XIBB.js +232 -0
- package/dist/chunk-EJI5XIBB.js.map +1 -0
- package/dist/{chunk-ONRU4L2N.js → chunk-FEMOX5AD.js} +2 -2
- package/dist/{chunk-IFFFR3MR.js → chunk-FSFEQI74.js} +3 -3
- package/dist/chunk-G4SK7DSQ.js +121 -0
- package/dist/chunk-G4SK7DSQ.js.map +1 -0
- package/dist/{chunk-UIYZ5T3I.js → chunk-GJQPH5G3.js} +8 -8
- package/dist/{chunk-2PO5ZRKV.js → chunk-GZCUW5IC.js} +16 -3
- package/dist/chunk-GZCUW5IC.js.map +1 -0
- package/dist/{chunk-IZME7KW2.js → chunk-HITJFT7E.js} +24 -10
- package/dist/{chunk-IZME7KW2.js.map → chunk-HITJFT7E.js.map} +1 -1
- package/dist/chunk-IQT3XTKW.js +121 -0
- package/dist/chunk-IQT3XTKW.js.map +1 -0
- package/dist/{chunk-BDFZXRSO.js → chunk-J4IYOZZ5.js} +15 -2
- package/dist/chunk-J4IYOZZ5.js.map +1 -0
- package/dist/{chunk-ZKYI7UVO.js → chunk-JR4ZC3G4.js} +2 -2
- package/dist/{chunk-UCYSTFZR.js → chunk-JRNQ3RNA.js} +2 -2
- package/dist/{chunk-UYSKNO6E.js → chunk-JROGC36Y.js} +15 -4
- package/dist/chunk-JROGC36Y.js.map +1 -0
- package/dist/{chunk-GPGBSNKM.js → chunk-K4FLSOR5.js} +2 -2
- package/dist/{chunk-M5ZBBBJI.js → chunk-KEG4GNGI.js} +2 -2
- package/dist/chunk-KVE7R4CG.js +320 -0
- package/dist/chunk-KVE7R4CG.js.map +1 -0
- package/dist/{chunk-L7WO3MZ4.js → chunk-KWP7T3DP.js} +2 -2
- package/dist/chunk-LAYN4LDC.js +267 -0
- package/dist/chunk-LAYN4LDC.js.map +1 -0
- package/dist/{chunk-PGK3VUHN.js → chunk-MTLYEMJB.js} +3 -2
- package/dist/chunk-MTLYEMJB.js.map +1 -0
- package/dist/{chunk-J47FNDR7.js → chunk-MYQWXITD.js} +7 -7
- package/dist/{chunk-YNI4S5WT.js → chunk-N53K2EXC.js} +2 -2
- package/dist/{chunk-763GUIOU.js → chunk-NBNN5GOB.js} +2 -2
- package/dist/{chunk-CXWFUJR2.js → chunk-NSB3WSYS.js} +125 -6
- package/dist/chunk-NSB3WSYS.js.map +1 -0
- package/dist/{chunk-KL4CP4SB.js → chunk-O5ETUNBT.js} +17 -5
- package/dist/chunk-O5ETUNBT.js.map +1 -0
- package/dist/{chunk-OOSWAUYB.js → chunk-ODWDQNRE.js} +2 -2
- package/dist/{chunk-ISY75RLM.js → chunk-OJFGVJS6.js} +288 -7
- package/dist/chunk-OJFGVJS6.js.map +1 -0
- package/dist/{chunk-HLBYLYRD.js → chunk-PAORGQRI.js} +70 -13
- package/dist/chunk-PAORGQRI.js.map +1 -0
- package/dist/{chunk-ZJLY4QSU.js → chunk-PMB3WGDL.js} +69 -6
- package/dist/chunk-PMB3WGDL.js.map +1 -0
- package/dist/{chunk-J3BT33K7.js → chunk-POBPGDWI.js} +5 -5
- package/dist/{chunk-QWUUMMIK.js → chunk-POMSFKTB.js} +1351 -76
- package/dist/chunk-POMSFKTB.js.map +1 -0
- package/dist/{chunk-OTAVQCSF.js → chunk-PYXS46O7.js} +2 -2
- package/dist/chunk-QDW3E4RD.js +108 -0
- package/dist/chunk-QDW3E4RD.js.map +1 -0
- package/dist/{chunk-YNCQ7E4M.js → chunk-QDYXG4CS.js} +4 -3
- package/dist/chunk-QDYXG4CS.js.map +1 -0
- package/dist/{chunk-XUHI52HK.js → chunk-QKAH5B6E.js} +4 -4
- package/dist/{chunk-HLXVTBF3.js → chunk-QNJMBKFK.js} +3 -2
- package/dist/chunk-QNJMBKFK.js.map +1 -0
- package/dist/chunk-RCICHSHL.js +789 -0
- package/dist/chunk-RCICHSHL.js.map +1 -0
- package/dist/{chunk-HG2NKWR2.js → chunk-S4LX5EBI.js} +2 -2
- package/dist/{chunk-4A24LIM2.js → chunk-S75M5ZRK.js} +2 -2
- package/dist/{chunk-QCCCQT3O.js → chunk-TBBDFYXW.js} +2 -2
- package/dist/chunk-TBBDFYXW.js.map +1 -0
- package/dist/{chunk-U4PV25RD.js → chunk-U2IQTSBY.js} +1 -1
- package/dist/chunk-U2IQTSBY.js.map +1 -0
- package/dist/chunk-U66YHYC7.js +31 -0
- package/dist/chunk-U66YHYC7.js.map +1 -0
- package/dist/{chunk-MWGVGUIS.js → chunk-UEYA6UC7.js} +36 -4
- package/dist/chunk-UEYA6UC7.js.map +1 -0
- package/dist/{chunk-MDDAA2AO.js → chunk-UPMD5XND.js} +2 -2
- package/dist/{chunk-M5KEYE5E.js → chunk-URB2WSKZ.js} +2 -2
- package/dist/chunk-UVJFDP7P.js +202 -0
- package/dist/chunk-UVJFDP7P.js.map +1 -0
- package/dist/{chunk-QY2BHY5O.js → chunk-V7XCAHIB.js} +265 -25
- package/dist/chunk-V7XCAHIB.js.map +1 -0
- package/dist/chunk-W6SL7OFG.js +180 -0
- package/dist/chunk-W6SL7OFG.js.map +1 -0
- package/dist/{chunk-QDOSNLB4.js → chunk-X4WESCKA.js} +17 -15
- package/dist/chunk-X4WESCKA.js.map +1 -0
- package/dist/{chunk-OTFNI3OO.js → chunk-XMGSSBFX.js} +1738 -383
- package/dist/chunk-XMGSSBFX.js.map +1 -0
- package/dist/chunk-YDBIWGNI.js +298 -0
- package/dist/chunk-YDBIWGNI.js.map +1 -0
- package/dist/chunk-YFYL2SIJ.js +7857 -0
- package/dist/chunk-YFYL2SIJ.js.map +1 -0
- package/dist/chunking.js +1 -1
- package/dist/citations.d.ts +67 -0
- package/dist/citations.js +13 -0
- package/dist/citations.js.map +1 -0
- package/dist/cli-DwIBnp2g.d.ts +1240 -0
- package/dist/cli.d.ts +31 -1147
- package/dist/cli.js +149 -7092
- package/dist/cli.js.map +1 -1
- package/dist/codex-materialize-CQlLTzke.d.ts +139 -0
- package/dist/codex-thread-key.d.ts +3 -0
- package/dist/codex-thread-key.js +7 -0
- package/dist/codex-thread-key.js.map +1 -0
- package/dist/config.js +3 -2
- package/dist/connectors/codex/instructions.md +160 -0
- package/dist/connectors/codex/resources/namespace-cheatsheet.md +48 -0
- package/dist/day-summary.d.ts +7 -2
- package/dist/day-summary.js +5 -2
- package/dist/embedding-fallback.d.ts +96 -2
- package/dist/embedding-fallback.js +6 -4
- package/dist/{engine-2A6J4XEX.js → engine-X7X3AAG3.js} +10 -7
- package/dist/engine-X7X3AAG3.js.map +1 -0
- package/dist/entity-retrieval.d.ts +3 -2
- package/dist/entity-retrieval.js +10 -7
- package/dist/entity-schema.d.ts +11 -0
- package/dist/entity-schema.js +19 -0
- package/dist/entity-schema.js.map +1 -0
- package/dist/explicit-capture.d.ts +6 -3
- package/dist/explicit-capture.js +2 -2
- package/dist/extraction-judge.d.ts +66 -0
- package/dist/extraction-judge.js +18 -0
- package/dist/extraction-judge.js.map +1 -0
- package/dist/extraction.d.ts +1 -0
- package/dist/extraction.js +12 -10
- package/dist/fallback-llm.js +4 -4
- package/dist/graph.js +1 -1
- package/dist/importance.d.ts +11 -1
- package/dist/importance.js +3 -1
- package/dist/index.d.ts +1140 -8
- package/dist/index.js +3350 -333
- package/dist/index.js.map +1 -1
- package/dist/intent.d.ts +2 -1
- package/dist/intent.js +3 -1
- package/dist/lifecycle.js +1 -1
- package/dist/local-llm.js +2 -2
- package/dist/logger.d.ts +1 -1
- package/dist/logger.js +1 -1
- package/dist/memory-cache.d.ts +2 -2
- package/dist/memory-cache.js +1 -1
- package/dist/{memory-projection-store-NxMkbocT.d.ts → memory-projection-store-DeSXPh1j.d.ts} +1 -1
- package/dist/memory-projection-store.d.ts +1 -1
- package/dist/model-registry.js +2 -2
- package/dist/models-json.js +2 -2
- package/dist/native-knowledge.js +2 -2
- package/dist/negative.js +2 -2
- package/dist/operator-toolkit.js +20 -16
- package/dist/{orchestrator-zTa-Qo-1.d.ts → orchestrator-B9kwlCep.d.ts} +252 -7
- package/dist/orchestrator.d.ts +6 -3
- package/dist/orchestrator.js +70 -58
- package/dist/page-versioning.d.ts +77 -0
- package/dist/page-versioning.js +15 -0
- package/dist/page-versioning.js.map +1 -0
- package/dist/plugin-id.d.ts +37 -0
- package/dist/plugin-id.js +11 -0
- package/dist/plugin-id.js.map +1 -0
- package/dist/policy-runtime.js +2 -2
- package/dist/profiling.js +2 -2
- package/dist/qmd.d.ts +5 -2
- package/dist/qmd.js +3 -3
- package/dist/recall-audit.d.ts +20 -0
- package/dist/recall-audit.js +50 -0
- package/dist/recall-audit.js.map +1 -0
- package/dist/recall-mmr.d.ts +152 -0
- package/dist/recall-mmr.js +17 -0
- package/dist/recall-mmr.js.map +1 -0
- package/dist/recall-qos.js +2 -2
- package/dist/recall-state.js +2 -2
- package/dist/relevance.js +2 -2
- package/dist/resolve-provider-secret.js +2 -2
- package/dist/resume-bundles.js +5 -4
- package/dist/retrieval-agents.js +2 -2
- package/dist/retrieval.js +2 -2
- package/dist/schemas.d.ts +398 -40
- package/dist/schemas.js +3 -1
- package/dist/sdk-compat.d.ts +2 -0
- package/dist/sdk-compat.js +6 -3
- package/dist/sdk-compat.js.map +1 -1
- package/dist/semantic-chunking.d.ts +87 -0
- package/dist/semantic-chunking.js +20 -0
- package/dist/semantic-chunking.js.map +1 -0
- package/dist/semantic-consolidation-DrvSYRdB.d.ts +119 -0
- package/dist/semantic-consolidation.d.ts +4 -42
- package/dist/semantic-consolidation.js +23 -2
- package/dist/semantic-rule-promotion.js +9 -6
- package/dist/semantic-rule-verifier.js +10 -7
- package/dist/session-observer-state.js +2 -2
- package/dist/session-toggles.d.ts +22 -0
- package/dist/session-toggles.js +116 -0
- package/dist/session-toggles.js.map +1 -0
- package/dist/skills-registry.d.ts +47 -0
- package/dist/skills-registry.js +48 -0
- package/dist/skills-registry.js.map +1 -0
- package/dist/source-attribution.d.ts +169 -0
- package/dist/source-attribution.js +27 -0
- package/dist/source-attribution.js.map +1 -0
- package/dist/storage.d.ts +171 -10
- package/dist/storage.js +16 -5
- package/dist/summarizer.js +7 -7
- package/dist/temporal-supersession.d.ts +127 -0
- package/dist/temporal-supersession.js +20 -0
- package/dist/temporal-supersession.js.map +1 -0
- package/dist/threading.js +2 -2
- package/dist/tier-migration.d.ts +2 -1
- package/dist/tier-routing.js +2 -2
- package/dist/tokens.d.ts +21 -1
- package/dist/tokens.js +5 -1
- package/dist/transcript.js +2 -2
- package/dist/types.d.ts +497 -3
- package/dist/types.js +1 -1
- package/dist/utility-learner.js +2 -2
- package/dist/utility-runtime.js +3 -3
- package/dist/verified-recall.js +11 -8
- package/dist/whitespace.d.ts +4 -0
- package/dist/whitespace.js +9 -0
- package/dist/whitespace.js.map +1 -0
- package/package.json +14 -8
- package/dist/chunk-2CJCWDMR.js +0 -87
- package/dist/chunk-2CJCWDMR.js.map +0 -1
- package/dist/chunk-2PO5ZRKV.js.map +0 -1
- package/dist/chunk-6UJQNRIO.js.map +0 -1
- package/dist/chunk-B7LOFDVE.js.map +0 -1
- package/dist/chunk-BDFZXRSO.js.map +0 -1
- package/dist/chunk-CXWFUJR2.js.map +0 -1
- package/dist/chunk-DORBM6OB.js +0 -81
- package/dist/chunk-DORBM6OB.js.map +0 -1
- package/dist/chunk-ESSMF2FR.js.map +0 -1
- package/dist/chunk-HLBYLYRD.js.map +0 -1
- package/dist/chunk-HLXVTBF3.js.map +0 -1
- package/dist/chunk-ISY75RLM.js.map +0 -1
- package/dist/chunk-KL4CP4SB.js.map +0 -1
- package/dist/chunk-KWBU5S5U.js.map +0 -1
- package/dist/chunk-MWGVGUIS.js.map +0 -1
- package/dist/chunk-ORZMT74A.js.map +0 -1
- package/dist/chunk-OTFNI3OO.js.map +0 -1
- package/dist/chunk-PGK3VUHN.js.map +0 -1
- package/dist/chunk-QCCCQT3O.js.map +0 -1
- package/dist/chunk-QDOSNLB4.js.map +0 -1
- package/dist/chunk-QPKFPHOO.js +0 -178
- package/dist/chunk-QPKFPHOO.js.map +0 -1
- package/dist/chunk-QWUUMMIK.js.map +0 -1
- package/dist/chunk-QY2BHY5O.js.map +0 -1
- package/dist/chunk-TVVVQQAK.js.map +0 -1
- package/dist/chunk-U4PV25RD.js.map +0 -1
- package/dist/chunk-UYSKNO6E.js.map +0 -1
- package/dist/chunk-V4YC4LUK.js.map +0 -1
- package/dist/chunk-WWIQTB2Y.js.map +0 -1
- package/dist/chunk-YNCQ7E4M.js.map +0 -1
- package/dist/chunk-ZJLY4QSU.js.map +0 -1
- /package/dist/{engine-2A6J4XEX.js.map → active-memory-bridge.js.map} +0 -0
- /package/dist/{chunk-NTTLPF7F.js.map → chunk-3QFQGRHO.js.map} +0 -0
- /package/dist/{chunk-G3AG3KZN.js.map → chunk-5IZL4DCV.js.map} +0 -0
- /package/dist/{chunk-BRK4ODMI.js.map → chunk-5NPGSAVB.js.map} +0 -0
- /package/dist/{chunk-L5RPWGFK.js.map → chunk-7DHTMOND.js.map} +0 -0
- /package/dist/{chunk-Q6FETXJA.js.map → chunk-7SEAZFFB.js.map} +0 -0
- /package/dist/{chunk-QANCTXQF.js.map → chunk-AYPYCLR7.js.map} +0 -0
- /package/dist/{chunk-LP47L3ZX.js.map → chunk-BTY5RRRF.js.map} +0 -0
- /package/dist/{chunk-SCHEKPYH.js.map → chunk-C2EFFULQ.js.map} +0 -0
- /package/dist/{chunk-GJR6D6KC.js.map → chunk-D654IBA6.js.map} +0 -0
- /package/dist/{chunk-UV2FO7J4.js.map → chunk-E6K4NIEU.js.map} +0 -0
- /package/dist/{chunk-T4WRIV2C.js.map → chunk-EABGC2TL.js.map} +0 -0
- /package/dist/{chunk-ONRU4L2N.js.map → chunk-FEMOX5AD.js.map} +0 -0
- /package/dist/{chunk-IFFFR3MR.js.map → chunk-FSFEQI74.js.map} +0 -0
- /package/dist/{chunk-UIYZ5T3I.js.map → chunk-GJQPH5G3.js.map} +0 -0
- /package/dist/{chunk-ZKYI7UVO.js.map → chunk-JR4ZC3G4.js.map} +0 -0
- /package/dist/{chunk-UCYSTFZR.js.map → chunk-JRNQ3RNA.js.map} +0 -0
- /package/dist/{chunk-GPGBSNKM.js.map → chunk-K4FLSOR5.js.map} +0 -0
- /package/dist/{chunk-M5ZBBBJI.js.map → chunk-KEG4GNGI.js.map} +0 -0
- /package/dist/{chunk-L7WO3MZ4.js.map → chunk-KWP7T3DP.js.map} +0 -0
- /package/dist/{chunk-J47FNDR7.js.map → chunk-MYQWXITD.js.map} +0 -0
- /package/dist/{chunk-YNI4S5WT.js.map → chunk-N53K2EXC.js.map} +0 -0
- /package/dist/{chunk-763GUIOU.js.map → chunk-NBNN5GOB.js.map} +0 -0
- /package/dist/{chunk-OOSWAUYB.js.map → chunk-ODWDQNRE.js.map} +0 -0
- /package/dist/{chunk-J3BT33K7.js.map → chunk-POBPGDWI.js.map} +0 -0
- /package/dist/{chunk-OTAVQCSF.js.map → chunk-PYXS46O7.js.map} +0 -0
- /package/dist/{chunk-XUHI52HK.js.map → chunk-QKAH5B6E.js.map} +0 -0
- /package/dist/{chunk-HG2NKWR2.js.map → chunk-S4LX5EBI.js.map} +0 -0
- /package/dist/{chunk-4A24LIM2.js.map → chunk-S75M5ZRK.js.map} +0 -0
- /package/dist/{chunk-MDDAA2AO.js.map → chunk-UPMD5XND.js.map} +0 -0
- /package/dist/{chunk-M5KEYE5E.js.map → chunk-URB2WSKZ.js.map} +0 -0
package/dist/schemas.d.ts
CHANGED
|
@@ -7,57 +7,168 @@ 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: "extraction" | "consolidation" | "replay" | "manual" | "unknown";
|
|
11
10
|
confidence: number;
|
|
11
|
+
source: "unknown" | "extraction" | "consolidation" | "replay" | "manual";
|
|
12
12
|
lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
|
|
13
13
|
importance: number;
|
|
14
14
|
}, {
|
|
15
|
-
source: "extraction" | "consolidation" | "replay" | "manual" | "unknown";
|
|
16
15
|
confidence: number;
|
|
16
|
+
source: "unknown" | "extraction" | "consolidation" | "replay" | "manual";
|
|
17
17
|
lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
|
|
18
18
|
importance: number;
|
|
19
19
|
}>;
|
|
20
20
|
declare function parseMemoryActionType(value: unknown): z.infer<typeof MemoryActionTypeSchema>;
|
|
21
21
|
declare function parseMemoryActionEligibilityContext(value: unknown): z.infer<typeof MemoryActionEligibilityContextSchema>;
|
|
22
|
+
declare const ProcedureStepExtractSchema: z.ZodObject<{
|
|
23
|
+
order: z.ZodNumber;
|
|
24
|
+
intent: z.ZodString;
|
|
25
|
+
toolCall: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
26
|
+
kind: z.ZodString;
|
|
27
|
+
signature: z.ZodString;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
kind: string;
|
|
30
|
+
signature: string;
|
|
31
|
+
}, {
|
|
32
|
+
kind: string;
|
|
33
|
+
signature: string;
|
|
34
|
+
}>>>;
|
|
35
|
+
expectedOutcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
36
|
+
optional: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
37
|
+
}, "strip", z.ZodTypeAny, {
|
|
38
|
+
order: number;
|
|
39
|
+
intent: string;
|
|
40
|
+
toolCall?: {
|
|
41
|
+
kind: string;
|
|
42
|
+
signature: string;
|
|
43
|
+
} | null | undefined;
|
|
44
|
+
expectedOutcome?: string | null | undefined;
|
|
45
|
+
optional?: boolean | null | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
order: number;
|
|
48
|
+
intent: string;
|
|
49
|
+
toolCall?: {
|
|
50
|
+
kind: string;
|
|
51
|
+
signature: string;
|
|
52
|
+
} | null | undefined;
|
|
53
|
+
expectedOutcome?: string | null | undefined;
|
|
54
|
+
optional?: boolean | null | undefined;
|
|
55
|
+
}>;
|
|
22
56
|
declare const ExtractedFactSchema: z.ZodObject<{
|
|
23
|
-
category: z.ZodEnum<["fact", "preference", "correction", "entity", "decision", "relationship", "principle", "commitment", "moment", "skill", "rule"]>;
|
|
57
|
+
category: z.ZodEnum<["fact", "preference", "correction", "entity", "decision", "relationship", "principle", "commitment", "moment", "skill", "rule", "procedure"]>;
|
|
24
58
|
content: z.ZodString;
|
|
25
59
|
confidence: z.ZodNumber;
|
|
26
60
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
27
61
|
entityRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
28
62
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
29
63
|
structuredAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
64
|
+
procedureSteps: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
65
|
+
order: z.ZodNumber;
|
|
66
|
+
intent: z.ZodString;
|
|
67
|
+
toolCall: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
68
|
+
kind: z.ZodString;
|
|
69
|
+
signature: z.ZodString;
|
|
70
|
+
}, "strip", z.ZodTypeAny, {
|
|
71
|
+
kind: string;
|
|
72
|
+
signature: string;
|
|
73
|
+
}, {
|
|
74
|
+
kind: string;
|
|
75
|
+
signature: string;
|
|
76
|
+
}>>>;
|
|
77
|
+
expectedOutcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
78
|
+
optional: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
79
|
+
}, "strip", z.ZodTypeAny, {
|
|
80
|
+
order: number;
|
|
81
|
+
intent: string;
|
|
82
|
+
toolCall?: {
|
|
83
|
+
kind: string;
|
|
84
|
+
signature: string;
|
|
85
|
+
} | null | undefined;
|
|
86
|
+
expectedOutcome?: string | null | undefined;
|
|
87
|
+
optional?: boolean | null | undefined;
|
|
88
|
+
}, {
|
|
89
|
+
order: number;
|
|
90
|
+
intent: string;
|
|
91
|
+
toolCall?: {
|
|
92
|
+
kind: string;
|
|
93
|
+
signature: string;
|
|
94
|
+
} | null | undefined;
|
|
95
|
+
expectedOutcome?: string | null | undefined;
|
|
96
|
+
optional?: boolean | null | undefined;
|
|
97
|
+
}>, "many">>>;
|
|
30
98
|
}, "strip", z.ZodTypeAny, {
|
|
99
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure";
|
|
31
100
|
content: string;
|
|
32
|
-
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
|
|
33
101
|
confidence: number;
|
|
34
102
|
tags: string[];
|
|
35
103
|
entityRef?: string | null | undefined;
|
|
36
104
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
37
105
|
promptedByQuestion?: string | null | undefined;
|
|
106
|
+
procedureSteps?: {
|
|
107
|
+
order: number;
|
|
108
|
+
intent: string;
|
|
109
|
+
toolCall?: {
|
|
110
|
+
kind: string;
|
|
111
|
+
signature: string;
|
|
112
|
+
} | null | undefined;
|
|
113
|
+
expectedOutcome?: string | null | undefined;
|
|
114
|
+
optional?: boolean | null | undefined;
|
|
115
|
+
}[] | null | undefined;
|
|
38
116
|
}, {
|
|
117
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure";
|
|
39
118
|
content: string;
|
|
40
|
-
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
|
|
41
119
|
confidence: number;
|
|
42
120
|
tags: string[];
|
|
43
121
|
entityRef?: string | null | undefined;
|
|
44
122
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
45
123
|
promptedByQuestion?: string | null | undefined;
|
|
124
|
+
procedureSteps?: {
|
|
125
|
+
order: number;
|
|
126
|
+
intent: string;
|
|
127
|
+
toolCall?: {
|
|
128
|
+
kind: string;
|
|
129
|
+
signature: string;
|
|
130
|
+
} | null | undefined;
|
|
131
|
+
expectedOutcome?: string | null | undefined;
|
|
132
|
+
optional?: boolean | null | undefined;
|
|
133
|
+
}[] | null | undefined;
|
|
46
134
|
}>;
|
|
47
135
|
declare const EntityMentionSchema: z.ZodObject<{
|
|
48
136
|
name: z.ZodString;
|
|
49
137
|
type: z.ZodEnum<["person", "project", "tool", "company", "place", "other"]>;
|
|
50
138
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
51
139
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
140
|
+
structuredSections: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
141
|
+
key: z.ZodString;
|
|
142
|
+
title: z.ZodString;
|
|
143
|
+
facts: z.ZodArray<z.ZodString, "many">;
|
|
144
|
+
}, "strip", z.ZodTypeAny, {
|
|
145
|
+
key: string;
|
|
146
|
+
title: string;
|
|
147
|
+
facts: string[];
|
|
148
|
+
}, {
|
|
149
|
+
key: string;
|
|
150
|
+
title: string;
|
|
151
|
+
facts: string[];
|
|
152
|
+
}>, "many">>>;
|
|
52
153
|
}, "strip", z.ZodTypeAny, {
|
|
53
154
|
facts: string[];
|
|
54
155
|
name: string;
|
|
55
156
|
type: "person" | "project" | "tool" | "company" | "place" | "other";
|
|
157
|
+
structuredSections?: {
|
|
158
|
+
key: string;
|
|
159
|
+
title: string;
|
|
160
|
+
facts: string[];
|
|
161
|
+
}[] | null | undefined;
|
|
56
162
|
promptedByQuestion?: string | null | undefined;
|
|
57
163
|
}, {
|
|
58
164
|
facts: string[];
|
|
59
165
|
name: string;
|
|
60
166
|
type: "person" | "project" | "tool" | "company" | "place" | "other";
|
|
167
|
+
structuredSections?: {
|
|
168
|
+
key: string;
|
|
169
|
+
title: string;
|
|
170
|
+
facts: string[];
|
|
171
|
+
}[] | null | undefined;
|
|
61
172
|
promptedByQuestion?: string | null | undefined;
|
|
62
173
|
}>;
|
|
63
174
|
declare const ExtractedQuestionSchema: z.ZodObject<{
|
|
@@ -65,12 +176,12 @@ declare const ExtractedQuestionSchema: z.ZodObject<{
|
|
|
65
176
|
context: z.ZodString;
|
|
66
177
|
priority: z.ZodNumber;
|
|
67
178
|
}, "strip", z.ZodTypeAny, {
|
|
68
|
-
priority: number;
|
|
69
179
|
question: string;
|
|
180
|
+
priority: number;
|
|
70
181
|
context: string;
|
|
71
182
|
}, {
|
|
72
|
-
priority: number;
|
|
73
183
|
question: string;
|
|
184
|
+
priority: number;
|
|
74
185
|
context: string;
|
|
75
186
|
}>;
|
|
76
187
|
declare const ProactiveQuestionsResultSchema: z.ZodObject<{
|
|
@@ -79,24 +190,24 @@ declare const ProactiveQuestionsResultSchema: z.ZodObject<{
|
|
|
79
190
|
context: z.ZodString;
|
|
80
191
|
priority: z.ZodNumber;
|
|
81
192
|
}, "strip", z.ZodTypeAny, {
|
|
82
|
-
priority: number;
|
|
83
193
|
question: string;
|
|
194
|
+
priority: number;
|
|
84
195
|
context: string;
|
|
85
196
|
}, {
|
|
86
|
-
priority: number;
|
|
87
197
|
question: string;
|
|
198
|
+
priority: number;
|
|
88
199
|
context: string;
|
|
89
200
|
}>, "many">;
|
|
90
201
|
}, "strip", z.ZodTypeAny, {
|
|
91
202
|
questions: {
|
|
92
|
-
priority: number;
|
|
93
203
|
question: string;
|
|
204
|
+
priority: number;
|
|
94
205
|
context: string;
|
|
95
206
|
}[];
|
|
96
207
|
}, {
|
|
97
208
|
questions: {
|
|
98
|
-
priority: number;
|
|
99
209
|
question: string;
|
|
210
|
+
priority: number;
|
|
100
211
|
context: string;
|
|
101
212
|
}[];
|
|
102
213
|
}>;
|
|
@@ -118,29 +229,83 @@ declare const ExtractedRelationshipSchema: z.ZodObject<{
|
|
|
118
229
|
}>;
|
|
119
230
|
declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
120
231
|
facts: z.ZodArray<z.ZodObject<{
|
|
121
|
-
category: z.ZodEnum<["fact", "preference", "correction", "entity", "decision", "relationship", "principle", "commitment", "moment", "skill", "rule"]>;
|
|
232
|
+
category: z.ZodEnum<["fact", "preference", "correction", "entity", "decision", "relationship", "principle", "commitment", "moment", "skill", "rule", "procedure"]>;
|
|
122
233
|
content: z.ZodString;
|
|
123
234
|
confidence: z.ZodNumber;
|
|
124
235
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
125
236
|
entityRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
126
237
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
127
238
|
structuredAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
239
|
+
procedureSteps: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
240
|
+
order: z.ZodNumber;
|
|
241
|
+
intent: z.ZodString;
|
|
242
|
+
toolCall: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
243
|
+
kind: z.ZodString;
|
|
244
|
+
signature: z.ZodString;
|
|
245
|
+
}, "strip", z.ZodTypeAny, {
|
|
246
|
+
kind: string;
|
|
247
|
+
signature: string;
|
|
248
|
+
}, {
|
|
249
|
+
kind: string;
|
|
250
|
+
signature: string;
|
|
251
|
+
}>>>;
|
|
252
|
+
expectedOutcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
253
|
+
optional: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
254
|
+
}, "strip", z.ZodTypeAny, {
|
|
255
|
+
order: number;
|
|
256
|
+
intent: string;
|
|
257
|
+
toolCall?: {
|
|
258
|
+
kind: string;
|
|
259
|
+
signature: string;
|
|
260
|
+
} | null | undefined;
|
|
261
|
+
expectedOutcome?: string | null | undefined;
|
|
262
|
+
optional?: boolean | null | undefined;
|
|
263
|
+
}, {
|
|
264
|
+
order: number;
|
|
265
|
+
intent: string;
|
|
266
|
+
toolCall?: {
|
|
267
|
+
kind: string;
|
|
268
|
+
signature: string;
|
|
269
|
+
} | null | undefined;
|
|
270
|
+
expectedOutcome?: string | null | undefined;
|
|
271
|
+
optional?: boolean | null | undefined;
|
|
272
|
+
}>, "many">>>;
|
|
128
273
|
}, "strip", z.ZodTypeAny, {
|
|
274
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure";
|
|
129
275
|
content: string;
|
|
130
|
-
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
|
|
131
276
|
confidence: number;
|
|
132
277
|
tags: string[];
|
|
133
278
|
entityRef?: string | null | undefined;
|
|
134
279
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
135
280
|
promptedByQuestion?: string | null | undefined;
|
|
281
|
+
procedureSteps?: {
|
|
282
|
+
order: number;
|
|
283
|
+
intent: string;
|
|
284
|
+
toolCall?: {
|
|
285
|
+
kind: string;
|
|
286
|
+
signature: string;
|
|
287
|
+
} | null | undefined;
|
|
288
|
+
expectedOutcome?: string | null | undefined;
|
|
289
|
+
optional?: boolean | null | undefined;
|
|
290
|
+
}[] | null | undefined;
|
|
136
291
|
}, {
|
|
292
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure";
|
|
137
293
|
content: string;
|
|
138
|
-
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
|
|
139
294
|
confidence: number;
|
|
140
295
|
tags: string[];
|
|
141
296
|
entityRef?: string | null | undefined;
|
|
142
297
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
143
298
|
promptedByQuestion?: string | null | undefined;
|
|
299
|
+
procedureSteps?: {
|
|
300
|
+
order: number;
|
|
301
|
+
intent: string;
|
|
302
|
+
toolCall?: {
|
|
303
|
+
kind: string;
|
|
304
|
+
signature: string;
|
|
305
|
+
} | null | undefined;
|
|
306
|
+
expectedOutcome?: string | null | undefined;
|
|
307
|
+
optional?: boolean | null | undefined;
|
|
308
|
+
}[] | null | undefined;
|
|
144
309
|
}>, "many">;
|
|
145
310
|
profileUpdates: z.ZodArray<z.ZodString, "many">;
|
|
146
311
|
entities: z.ZodArray<z.ZodObject<{
|
|
@@ -148,15 +313,38 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
148
313
|
type: z.ZodEnum<["person", "project", "tool", "company", "place", "other"]>;
|
|
149
314
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
150
315
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
316
|
+
structuredSections: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
317
|
+
key: z.ZodString;
|
|
318
|
+
title: z.ZodString;
|
|
319
|
+
facts: z.ZodArray<z.ZodString, "many">;
|
|
320
|
+
}, "strip", z.ZodTypeAny, {
|
|
321
|
+
key: string;
|
|
322
|
+
title: string;
|
|
323
|
+
facts: string[];
|
|
324
|
+
}, {
|
|
325
|
+
key: string;
|
|
326
|
+
title: string;
|
|
327
|
+
facts: string[];
|
|
328
|
+
}>, "many">>>;
|
|
151
329
|
}, "strip", z.ZodTypeAny, {
|
|
152
330
|
facts: string[];
|
|
153
331
|
name: string;
|
|
154
332
|
type: "person" | "project" | "tool" | "company" | "place" | "other";
|
|
333
|
+
structuredSections?: {
|
|
334
|
+
key: string;
|
|
335
|
+
title: string;
|
|
336
|
+
facts: string[];
|
|
337
|
+
}[] | null | undefined;
|
|
155
338
|
promptedByQuestion?: string | null | undefined;
|
|
156
339
|
}, {
|
|
157
340
|
facts: string[];
|
|
158
341
|
name: string;
|
|
159
342
|
type: "person" | "project" | "tool" | "company" | "place" | "other";
|
|
343
|
+
structuredSections?: {
|
|
344
|
+
key: string;
|
|
345
|
+
title: string;
|
|
346
|
+
facts: string[];
|
|
347
|
+
}[] | null | undefined;
|
|
160
348
|
promptedByQuestion?: string | null | undefined;
|
|
161
349
|
}>, "many">;
|
|
162
350
|
relationships: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -177,18 +365,33 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
177
365
|
}>, "many">>>;
|
|
178
366
|
}, "strip", z.ZodTypeAny, {
|
|
179
367
|
facts: {
|
|
368
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure";
|
|
180
369
|
content: string;
|
|
181
|
-
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
|
|
182
370
|
confidence: number;
|
|
183
371
|
tags: string[];
|
|
184
372
|
entityRef?: string | null | undefined;
|
|
185
373
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
186
374
|
promptedByQuestion?: string | null | undefined;
|
|
375
|
+
procedureSteps?: {
|
|
376
|
+
order: number;
|
|
377
|
+
intent: string;
|
|
378
|
+
toolCall?: {
|
|
379
|
+
kind: string;
|
|
380
|
+
signature: string;
|
|
381
|
+
} | null | undefined;
|
|
382
|
+
expectedOutcome?: string | null | undefined;
|
|
383
|
+
optional?: boolean | null | undefined;
|
|
384
|
+
}[] | null | undefined;
|
|
187
385
|
}[];
|
|
188
386
|
entities: {
|
|
189
387
|
facts: string[];
|
|
190
388
|
name: string;
|
|
191
389
|
type: "person" | "project" | "tool" | "company" | "place" | "other";
|
|
390
|
+
structuredSections?: {
|
|
391
|
+
key: string;
|
|
392
|
+
title: string;
|
|
393
|
+
facts: string[];
|
|
394
|
+
}[] | null | undefined;
|
|
192
395
|
promptedByQuestion?: string | null | undefined;
|
|
193
396
|
}[];
|
|
194
397
|
profileUpdates: string[];
|
|
@@ -200,18 +403,33 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
200
403
|
}[] | null | undefined;
|
|
201
404
|
}, {
|
|
202
405
|
facts: {
|
|
406
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure";
|
|
203
407
|
content: string;
|
|
204
|
-
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
|
|
205
408
|
confidence: number;
|
|
206
409
|
tags: string[];
|
|
207
410
|
entityRef?: string | null | undefined;
|
|
208
411
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
209
412
|
promptedByQuestion?: string | null | undefined;
|
|
413
|
+
procedureSteps?: {
|
|
414
|
+
order: number;
|
|
415
|
+
intent: string;
|
|
416
|
+
toolCall?: {
|
|
417
|
+
kind: string;
|
|
418
|
+
signature: string;
|
|
419
|
+
} | null | undefined;
|
|
420
|
+
expectedOutcome?: string | null | undefined;
|
|
421
|
+
optional?: boolean | null | undefined;
|
|
422
|
+
}[] | null | undefined;
|
|
210
423
|
}[];
|
|
211
424
|
entities: {
|
|
212
425
|
facts: string[];
|
|
213
426
|
name: string;
|
|
214
427
|
type: "person" | "project" | "tool" | "company" | "place" | "other";
|
|
428
|
+
structuredSections?: {
|
|
429
|
+
key: string;
|
|
430
|
+
title: string;
|
|
431
|
+
facts: string[];
|
|
432
|
+
}[] | null | undefined;
|
|
215
433
|
promptedByQuestion?: string | null | undefined;
|
|
216
434
|
}[];
|
|
217
435
|
profileUpdates: string[];
|
|
@@ -224,29 +442,83 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
224
442
|
}>;
|
|
225
443
|
declare const ExtractionResultSchema: z.ZodObject<{
|
|
226
444
|
facts: z.ZodArray<z.ZodObject<{
|
|
227
|
-
category: z.ZodEnum<["fact", "preference", "correction", "entity", "decision", "relationship", "principle", "commitment", "moment", "skill", "rule"]>;
|
|
445
|
+
category: z.ZodEnum<["fact", "preference", "correction", "entity", "decision", "relationship", "principle", "commitment", "moment", "skill", "rule", "procedure"]>;
|
|
228
446
|
content: z.ZodString;
|
|
229
447
|
confidence: z.ZodNumber;
|
|
230
448
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
231
449
|
entityRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
232
450
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
233
451
|
structuredAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
452
|
+
procedureSteps: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
453
|
+
order: z.ZodNumber;
|
|
454
|
+
intent: z.ZodString;
|
|
455
|
+
toolCall: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
456
|
+
kind: z.ZodString;
|
|
457
|
+
signature: z.ZodString;
|
|
458
|
+
}, "strip", z.ZodTypeAny, {
|
|
459
|
+
kind: string;
|
|
460
|
+
signature: string;
|
|
461
|
+
}, {
|
|
462
|
+
kind: string;
|
|
463
|
+
signature: string;
|
|
464
|
+
}>>>;
|
|
465
|
+
expectedOutcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
466
|
+
optional: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
467
|
+
}, "strip", z.ZodTypeAny, {
|
|
468
|
+
order: number;
|
|
469
|
+
intent: string;
|
|
470
|
+
toolCall?: {
|
|
471
|
+
kind: string;
|
|
472
|
+
signature: string;
|
|
473
|
+
} | null | undefined;
|
|
474
|
+
expectedOutcome?: string | null | undefined;
|
|
475
|
+
optional?: boolean | null | undefined;
|
|
476
|
+
}, {
|
|
477
|
+
order: number;
|
|
478
|
+
intent: string;
|
|
479
|
+
toolCall?: {
|
|
480
|
+
kind: string;
|
|
481
|
+
signature: string;
|
|
482
|
+
} | null | undefined;
|
|
483
|
+
expectedOutcome?: string | null | undefined;
|
|
484
|
+
optional?: boolean | null | undefined;
|
|
485
|
+
}>, "many">>>;
|
|
234
486
|
}, "strip", z.ZodTypeAny, {
|
|
487
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure";
|
|
235
488
|
content: string;
|
|
236
|
-
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
|
|
237
489
|
confidence: number;
|
|
238
490
|
tags: string[];
|
|
239
491
|
entityRef?: string | null | undefined;
|
|
240
492
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
241
493
|
promptedByQuestion?: string | null | undefined;
|
|
494
|
+
procedureSteps?: {
|
|
495
|
+
order: number;
|
|
496
|
+
intent: string;
|
|
497
|
+
toolCall?: {
|
|
498
|
+
kind: string;
|
|
499
|
+
signature: string;
|
|
500
|
+
} | null | undefined;
|
|
501
|
+
expectedOutcome?: string | null | undefined;
|
|
502
|
+
optional?: boolean | null | undefined;
|
|
503
|
+
}[] | null | undefined;
|
|
242
504
|
}, {
|
|
505
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure";
|
|
243
506
|
content: string;
|
|
244
|
-
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
|
|
245
507
|
confidence: number;
|
|
246
508
|
tags: string[];
|
|
247
509
|
entityRef?: string | null | undefined;
|
|
248
510
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
249
511
|
promptedByQuestion?: string | null | undefined;
|
|
512
|
+
procedureSteps?: {
|
|
513
|
+
order: number;
|
|
514
|
+
intent: string;
|
|
515
|
+
toolCall?: {
|
|
516
|
+
kind: string;
|
|
517
|
+
signature: string;
|
|
518
|
+
} | null | undefined;
|
|
519
|
+
expectedOutcome?: string | null | undefined;
|
|
520
|
+
optional?: boolean | null | undefined;
|
|
521
|
+
}[] | null | undefined;
|
|
250
522
|
}>, "many">;
|
|
251
523
|
profileUpdates: z.ZodArray<z.ZodString, "many">;
|
|
252
524
|
entities: z.ZodArray<z.ZodObject<{
|
|
@@ -254,15 +526,38 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
254
526
|
type: z.ZodEnum<["person", "project", "tool", "company", "place", "other"]>;
|
|
255
527
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
256
528
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
529
|
+
structuredSections: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
530
|
+
key: z.ZodString;
|
|
531
|
+
title: z.ZodString;
|
|
532
|
+
facts: z.ZodArray<z.ZodString, "many">;
|
|
533
|
+
}, "strip", z.ZodTypeAny, {
|
|
534
|
+
key: string;
|
|
535
|
+
title: string;
|
|
536
|
+
facts: string[];
|
|
537
|
+
}, {
|
|
538
|
+
key: string;
|
|
539
|
+
title: string;
|
|
540
|
+
facts: string[];
|
|
541
|
+
}>, "many">>>;
|
|
257
542
|
}, "strip", z.ZodTypeAny, {
|
|
258
543
|
facts: string[];
|
|
259
544
|
name: string;
|
|
260
545
|
type: "person" | "project" | "tool" | "company" | "place" | "other";
|
|
546
|
+
structuredSections?: {
|
|
547
|
+
key: string;
|
|
548
|
+
title: string;
|
|
549
|
+
facts: string[];
|
|
550
|
+
}[] | null | undefined;
|
|
261
551
|
promptedByQuestion?: string | null | undefined;
|
|
262
552
|
}, {
|
|
263
553
|
facts: string[];
|
|
264
554
|
name: string;
|
|
265
555
|
type: "person" | "project" | "tool" | "company" | "place" | "other";
|
|
556
|
+
structuredSections?: {
|
|
557
|
+
key: string;
|
|
558
|
+
title: string;
|
|
559
|
+
facts: string[];
|
|
560
|
+
}[] | null | undefined;
|
|
266
561
|
promptedByQuestion?: string | null | undefined;
|
|
267
562
|
}>, "many">;
|
|
268
563
|
questions: z.ZodArray<z.ZodObject<{
|
|
@@ -270,12 +565,12 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
270
565
|
context: z.ZodString;
|
|
271
566
|
priority: z.ZodNumber;
|
|
272
567
|
}, "strip", z.ZodTypeAny, {
|
|
273
|
-
priority: number;
|
|
274
568
|
question: string;
|
|
569
|
+
priority: number;
|
|
275
570
|
context: string;
|
|
276
571
|
}, {
|
|
277
|
-
priority: number;
|
|
278
572
|
question: string;
|
|
573
|
+
priority: number;
|
|
279
574
|
context: string;
|
|
280
575
|
}>, "many">;
|
|
281
576
|
identityReflection: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -296,26 +591,41 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
296
591
|
promptedByQuestion?: string | null | undefined;
|
|
297
592
|
}>, "many">>>;
|
|
298
593
|
}, "strip", z.ZodTypeAny, {
|
|
299
|
-
questions: {
|
|
300
|
-
priority: number;
|
|
301
|
-
question: string;
|
|
302
|
-
context: string;
|
|
303
|
-
}[];
|
|
304
594
|
facts: {
|
|
595
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure";
|
|
305
596
|
content: string;
|
|
306
|
-
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
|
|
307
597
|
confidence: number;
|
|
308
598
|
tags: string[];
|
|
309
599
|
entityRef?: string | null | undefined;
|
|
310
600
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
311
601
|
promptedByQuestion?: string | null | undefined;
|
|
602
|
+
procedureSteps?: {
|
|
603
|
+
order: number;
|
|
604
|
+
intent: string;
|
|
605
|
+
toolCall?: {
|
|
606
|
+
kind: string;
|
|
607
|
+
signature: string;
|
|
608
|
+
} | null | undefined;
|
|
609
|
+
expectedOutcome?: string | null | undefined;
|
|
610
|
+
optional?: boolean | null | undefined;
|
|
611
|
+
}[] | null | undefined;
|
|
312
612
|
}[];
|
|
313
613
|
entities: {
|
|
314
614
|
facts: string[];
|
|
315
615
|
name: string;
|
|
316
616
|
type: "person" | "project" | "tool" | "company" | "place" | "other";
|
|
617
|
+
structuredSections?: {
|
|
618
|
+
key: string;
|
|
619
|
+
title: string;
|
|
620
|
+
facts: string[];
|
|
621
|
+
}[] | null | undefined;
|
|
317
622
|
promptedByQuestion?: string | null | undefined;
|
|
318
623
|
}[];
|
|
624
|
+
questions: {
|
|
625
|
+
question: string;
|
|
626
|
+
priority: number;
|
|
627
|
+
context: string;
|
|
628
|
+
}[];
|
|
319
629
|
profileUpdates: string[];
|
|
320
630
|
relationships?: {
|
|
321
631
|
source: string;
|
|
@@ -325,26 +635,41 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
325
635
|
}[] | null | undefined;
|
|
326
636
|
identityReflection?: string | null | undefined;
|
|
327
637
|
}, {
|
|
328
|
-
questions: {
|
|
329
|
-
priority: number;
|
|
330
|
-
question: string;
|
|
331
|
-
context: string;
|
|
332
|
-
}[];
|
|
333
638
|
facts: {
|
|
639
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure";
|
|
334
640
|
content: string;
|
|
335
|
-
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
|
|
336
641
|
confidence: number;
|
|
337
642
|
tags: string[];
|
|
338
643
|
entityRef?: string | null | undefined;
|
|
339
644
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
340
645
|
promptedByQuestion?: string | null | undefined;
|
|
646
|
+
procedureSteps?: {
|
|
647
|
+
order: number;
|
|
648
|
+
intent: string;
|
|
649
|
+
toolCall?: {
|
|
650
|
+
kind: string;
|
|
651
|
+
signature: string;
|
|
652
|
+
} | null | undefined;
|
|
653
|
+
expectedOutcome?: string | null | undefined;
|
|
654
|
+
optional?: boolean | null | undefined;
|
|
655
|
+
}[] | null | undefined;
|
|
341
656
|
}[];
|
|
342
657
|
entities: {
|
|
343
658
|
facts: string[];
|
|
344
659
|
name: string;
|
|
345
660
|
type: "person" | "project" | "tool" | "company" | "place" | "other";
|
|
661
|
+
structuredSections?: {
|
|
662
|
+
key: string;
|
|
663
|
+
title: string;
|
|
664
|
+
facts: string[];
|
|
665
|
+
}[] | null | undefined;
|
|
346
666
|
promptedByQuestion?: string | null | undefined;
|
|
347
667
|
}[];
|
|
668
|
+
questions: {
|
|
669
|
+
question: string;
|
|
670
|
+
priority: number;
|
|
671
|
+
context: string;
|
|
672
|
+
}[];
|
|
348
673
|
profileUpdates: string[];
|
|
349
674
|
relationships?: {
|
|
350
675
|
source: string;
|
|
@@ -399,15 +724,38 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
399
724
|
type: z.ZodEnum<["person", "project", "tool", "company", "place", "other"]>;
|
|
400
725
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
401
726
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
727
|
+
structuredSections: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
728
|
+
key: z.ZodString;
|
|
729
|
+
title: z.ZodString;
|
|
730
|
+
facts: z.ZodArray<z.ZodString, "many">;
|
|
731
|
+
}, "strip", z.ZodTypeAny, {
|
|
732
|
+
key: string;
|
|
733
|
+
title: string;
|
|
734
|
+
facts: string[];
|
|
735
|
+
}, {
|
|
736
|
+
key: string;
|
|
737
|
+
title: string;
|
|
738
|
+
facts: string[];
|
|
739
|
+
}>, "many">>>;
|
|
402
740
|
}, "strip", z.ZodTypeAny, {
|
|
403
741
|
facts: string[];
|
|
404
742
|
name: string;
|
|
405
743
|
type: "person" | "project" | "tool" | "company" | "place" | "other";
|
|
744
|
+
structuredSections?: {
|
|
745
|
+
key: string;
|
|
746
|
+
title: string;
|
|
747
|
+
facts: string[];
|
|
748
|
+
}[] | null | undefined;
|
|
406
749
|
promptedByQuestion?: string | null | undefined;
|
|
407
750
|
}, {
|
|
408
751
|
facts: string[];
|
|
409
752
|
name: string;
|
|
410
753
|
type: "person" | "project" | "tool" | "company" | "place" | "other";
|
|
754
|
+
structuredSections?: {
|
|
755
|
+
key: string;
|
|
756
|
+
title: string;
|
|
757
|
+
facts: string[];
|
|
758
|
+
}[] | null | undefined;
|
|
411
759
|
promptedByQuestion?: string | null | undefined;
|
|
412
760
|
}>, "many">;
|
|
413
761
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -423,6 +771,11 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
423
771
|
facts: string[];
|
|
424
772
|
name: string;
|
|
425
773
|
type: "person" | "project" | "tool" | "company" | "place" | "other";
|
|
774
|
+
structuredSections?: {
|
|
775
|
+
key: string;
|
|
776
|
+
title: string;
|
|
777
|
+
facts: string[];
|
|
778
|
+
}[] | null | undefined;
|
|
426
779
|
promptedByQuestion?: string | null | undefined;
|
|
427
780
|
}[];
|
|
428
781
|
}, {
|
|
@@ -438,6 +791,11 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
438
791
|
facts: string[];
|
|
439
792
|
name: string;
|
|
440
793
|
type: "person" | "project" | "tool" | "company" | "place" | "other";
|
|
794
|
+
structuredSections?: {
|
|
795
|
+
key: string;
|
|
796
|
+
title: string;
|
|
797
|
+
facts: string[];
|
|
798
|
+
}[] | null | undefined;
|
|
441
799
|
promptedByQuestion?: string | null | undefined;
|
|
442
800
|
}[];
|
|
443
801
|
}>;
|
|
@@ -585,8 +943,8 @@ declare const BehaviorLoopAdjustmentSchema: z.ZodObject<{
|
|
|
585
943
|
reason: z.ZodString;
|
|
586
944
|
appliedAt: z.ZodString;
|
|
587
945
|
}, "strip", z.ZodTypeAny, {
|
|
588
|
-
reason: string;
|
|
589
946
|
confidence: number;
|
|
947
|
+
reason: string;
|
|
590
948
|
parameter: string;
|
|
591
949
|
previousValue: number;
|
|
592
950
|
nextValue: number;
|
|
@@ -594,8 +952,8 @@ declare const BehaviorLoopAdjustmentSchema: z.ZodObject<{
|
|
|
594
952
|
evidenceCount: number;
|
|
595
953
|
appliedAt: string;
|
|
596
954
|
}, {
|
|
597
|
-
reason: string;
|
|
598
955
|
confidence: number;
|
|
956
|
+
reason: string;
|
|
599
957
|
parameter: string;
|
|
600
958
|
previousValue: number;
|
|
601
959
|
nextValue: number;
|
|
@@ -619,8 +977,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
619
977
|
reason: z.ZodString;
|
|
620
978
|
appliedAt: z.ZodString;
|
|
621
979
|
}, "strip", z.ZodTypeAny, {
|
|
622
|
-
reason: string;
|
|
623
980
|
confidence: number;
|
|
981
|
+
reason: string;
|
|
624
982
|
parameter: string;
|
|
625
983
|
previousValue: number;
|
|
626
984
|
nextValue: number;
|
|
@@ -628,8 +986,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
628
986
|
evidenceCount: number;
|
|
629
987
|
appliedAt: string;
|
|
630
988
|
}, {
|
|
631
|
-
reason: string;
|
|
632
989
|
confidence: number;
|
|
990
|
+
reason: string;
|
|
633
991
|
parameter: string;
|
|
634
992
|
previousValue: number;
|
|
635
993
|
nextValue: number;
|
|
@@ -646,8 +1004,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
646
1004
|
maxDeltaPerCycle: number;
|
|
647
1005
|
protectedParams: string[];
|
|
648
1006
|
adjustments: {
|
|
649
|
-
reason: string;
|
|
650
1007
|
confidence: number;
|
|
1008
|
+
reason: string;
|
|
651
1009
|
parameter: string;
|
|
652
1010
|
previousValue: number;
|
|
653
1011
|
nextValue: number;
|
|
@@ -663,8 +1021,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
663
1021
|
maxDeltaPerCycle: number;
|
|
664
1022
|
protectedParams: string[];
|
|
665
1023
|
adjustments: {
|
|
666
|
-
reason: string;
|
|
667
1024
|
confidence: number;
|
|
1025
|
+
reason: string;
|
|
668
1026
|
parameter: string;
|
|
669
1027
|
previousValue: number;
|
|
670
1028
|
nextValue: number;
|
|
@@ -685,4 +1043,4 @@ type ExtractionResultParsed = z.infer<typeof ExtractionResultSchema>;
|
|
|
685
1043
|
type ConsolidationItemParsed = z.infer<typeof ConsolidationItemSchema>;
|
|
686
1044
|
type ConsolidationResultParsed = z.infer<typeof ConsolidationResultSchema>;
|
|
687
1045
|
|
|
688
|
-
export { type BehaviorLoopAdjustmentParsed, BehaviorLoopAdjustmentSchema, type BehaviorLoopPolicyStateParsed, BehaviorLoopPolicyStateSchema, type ConsolidationItemParsed, ConsolidationItemSchema, type ConsolidationResultParsed, ConsolidationResultSchema, type ContradictionVerificationResult, ContradictionVerificationSchema, DaySummaryResultSchema, type EntityMentionParsed, EntityMentionSchema, type ExtractedFactParsed, ExtractedFactSchema, type ExtractedQuestionParsed, ExtractedQuestionSchema, ExtractedRelationshipSchema, type ExtractionResultParsed, ExtractionResultSchema, type IdentityConsolidationResultParsed, IdentityConsolidationResultSchema, type MemoryActionEligibilityContextParsed, MemoryActionEligibilityContextSchema, type MemoryActionTypeParsed, MemoryActionTypeSchema, type MemoryLink, MemoryLinkSchema, type MemorySummaryResult, MemorySummarySchema, ProactiveExtractionResultSchema, type ProactiveQuestionsResultParsed, ProactiveQuestionsResultSchema, ProfileConsolidationResultSchema, type SuggestedLinks, SuggestedLinksSchema, buildProfileConsolidationResultSchema, parseMemoryActionEligibilityContext, parseMemoryActionType };
|
|
1046
|
+
export { type BehaviorLoopAdjustmentParsed, BehaviorLoopAdjustmentSchema, type BehaviorLoopPolicyStateParsed, BehaviorLoopPolicyStateSchema, type ConsolidationItemParsed, ConsolidationItemSchema, type ConsolidationResultParsed, ConsolidationResultSchema, type ContradictionVerificationResult, ContradictionVerificationSchema, DaySummaryResultSchema, type EntityMentionParsed, EntityMentionSchema, type ExtractedFactParsed, ExtractedFactSchema, type ExtractedQuestionParsed, ExtractedQuestionSchema, ExtractedRelationshipSchema, type ExtractionResultParsed, ExtractionResultSchema, type IdentityConsolidationResultParsed, IdentityConsolidationResultSchema, type MemoryActionEligibilityContextParsed, MemoryActionEligibilityContextSchema, type MemoryActionTypeParsed, MemoryActionTypeSchema, type MemoryLink, MemoryLinkSchema, type MemorySummaryResult, MemorySummarySchema, ProactiveExtractionResultSchema, type ProactiveQuestionsResultParsed, ProactiveQuestionsResultSchema, ProcedureStepExtractSchema, ProfileConsolidationResultSchema, type SuggestedLinks, SuggestedLinksSchema, buildProfileConsolidationResultSchema, parseMemoryActionEligibilityContext, parseMemoryActionType };
|