@makaio/framework 1.0.0-dev-1779051654000 → 1.0.0-dev-1781023871421
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 +1 -1
- package/dist/.makaio-build.json +5 -0
- package/dist/account-identity-DT5NOtFi.mjs +1 -0
- package/dist/adapter-C1eI-fGV.mjs +1 -0
- package/dist/adapters/acp-client/index.d.mts +6013 -14
- package/dist/adapters/acp-client/index.mjs +3 -1
- package/dist/adapters/config/index.d.mts +1 -1
- package/dist/adapters/config/index.mjs +1 -1
- package/dist/adapters/index.d.mts +47 -20
- package/dist/adapters/index.mjs +13 -6
- package/dist/adapters/node.d.mts +4 -4
- package/dist/adapters/node.mjs +4 -4
- package/dist/adapters/stream-session/index.d.mts +30 -0
- package/dist/adapters/stream-session/index.mjs +1 -1
- package/dist/artifact-B3npq1cy.mjs +1 -0
- package/dist/bus/index.d.mts +866 -203
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-Caz3Jpbc.mjs +1 -0
- package/dist/bus-Hb-LGzgb.mjs +2 -0
- package/dist/chunk-DTipWd-i.mjs +1 -0
- package/dist/client-bx74gm4R.mjs +1 -0
- package/dist/clients/index.d.mts +113 -35
- package/dist/clients/index.mjs +2 -2
- package/dist/{clients-namespace-UHj5wt-l.d.mts → clients-namespace-GmSJpBUV.d.mts} +8 -8
- package/dist/{config-namespace-ChZOpi1W.d.mts → config-namespace-CPY9YsR8.d.mts} +4 -4
- package/dist/contracts/adapter/index.d.mts +3 -3
- package/dist/contracts/adapter/index.mjs +1 -1
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +2 -0
- package/dist/contracts/artifact/index.mjs +1 -0
- package/dist/contracts/client/index.d.mts +2 -2
- package/dist/contracts/client/index.mjs +1 -1
- package/dist/contracts/common/index.d.mts +1 -1
- package/dist/contracts/config/index.d.mts +8 -8
- package/dist/contracts/config/index.mjs +1 -1
- package/dist/contracts/extension/index.d.mts +4 -3
- package/dist/contracts/extension/index.mjs +1 -1
- package/dist/contracts/facet/index.d.mts +2 -0
- package/dist/contracts/facet/index.mjs +1 -0
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/harness/index.mjs +1 -1
- package/dist/contracts/host/index.d.mts +1 -1
- package/dist/contracts/host/index.mjs +1 -1
- package/dist/contracts/index.d.mts +12370 -1990
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +4 -0
- package/dist/contracts/materialization/index.mjs +1 -0
- package/dist/contracts/model-registry/index.d.mts +1 -1
- package/dist/contracts/model-registry/index.mjs +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/native-session-supervisor/index.mjs +1 -1
- package/dist/contracts/platform/index.d.mts +1 -1
- package/dist/contracts/platform/index.mjs +1 -1
- package/dist/contracts/provider/index.d.mts +2 -2
- package/dist/contracts/provider/index.mjs +1 -1
- package/dist/contracts/session/index.d.mts +3 -3
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/shared/index.d.mts +2 -2
- package/dist/contracts/shared/index.mjs +1 -1
- package/dist/contracts/skill/index.d.mts +1 -1
- package/dist/contracts/skill/index.mjs +1 -1
- package/dist/contracts/telemetry/index.d.mts +2 -0
- package/dist/contracts/telemetry/index.mjs +1 -0
- package/dist/contracts/timeout/index.d.mts +1 -1
- package/dist/contracts/timeout/index.mjs +1 -1
- package/dist/contracts/toast/index.d.mts +2 -2
- package/dist/contracts/toast/index.mjs +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/variant/index.mjs +1 -1
- package/dist/core/index.d.mts +296 -34
- package/dist/core/index.mjs +1 -1
- package/dist/{credential-ref-DLCsoKVZ.mjs → credential-ref-YWQQENEo.mjs} +1 -1
- package/dist/cursor-storage-CtVJ3JzB.mjs +1 -0
- package/dist/{definition-DB7bbFSa.d.mts → definition-BLCdXGzh.d.mts} +17 -3
- package/dist/definition-CrgHIpTK.d.mts +60 -0
- package/dist/{definition-DkYy1PZz.mjs → definition-DZMXOnjX.mjs} +1 -1
- package/dist/{definition-DtUNiGom.d.mts → definition-pkJ6szUl.d.mts} +1 -1
- package/dist/drizzle-Eq8W1EbD.mjs +1 -0
- package/dist/event-Ca2yUf5i.mjs +1 -0
- package/dist/execution-target-CRPTfZlc.mjs +1 -0
- package/dist/extension-C-4BHMRI.mjs +1 -0
- package/dist/extension-CpIUgBKI.mjs +1 -0
- package/dist/facet-BuwhrThl.mjs +1 -0
- package/dist/filesystem-service-B8rhBRgB.mjs +1 -0
- package/dist/filesystem-service-p_iJVHd4.d.mts +66 -0
- package/dist/git/index.d.mts +210 -0
- package/dist/git/index.mjs +18 -0
- package/dist/globby-rtWVaFHv.mjs +41 -0
- package/dist/{handlers-DR_4_rAT.mjs → handlers-CkTsQLra.mjs} +3 -3
- package/dist/{harness-B6lGP9rm.mjs → harness-BRCMcvQN.mjs} +1 -1
- package/dist/{host-CvEht5RT.mjs → host-Br9VuOyr.mjs} +1 -1
- package/dist/{index-WKjrpcA_.d.mts → index-472sOmsW.d.mts} +6 -6
- package/dist/index-8SZkg7s6.d.mts +353 -0
- package/dist/index-B3PK4FIn.d.mts +5116 -0
- package/dist/{index-D2jejYlV.d.mts → index-B80L4YqA.d.mts} +3 -3
- package/dist/index-BFg9BUpx.d.mts +355 -0
- package/dist/index-BGfWS6GE.d.mts +483 -0
- package/dist/{index-DQRsGXb5.d.mts → index-BVgfS-AJ.d.mts} +2 -2
- package/dist/{index-CnmPtjnA.d.mts → index-B_zQC98V.d.mts} +16 -16
- package/dist/{index-DaEp4UWW.d.mts → index-Bh_Ne7LF.d.mts} +54 -42
- package/dist/{index-yvN8UcEH.d.mts → index-Bvb2mMH6.d.mts} +109 -109
- package/dist/{index-tKvu34DJ2.d.mts → index-CCGVh9BF2.d.mts} +242 -28
- package/dist/{index-C-myW_aK.d.mts → index-CGmcS0Ma.d.mts} +2 -2
- package/dist/{index-DEw90pa2.d.mts → index-CLpjm52M.d.mts} +3 -3
- package/dist/{index-DQWMu5fS.d.mts → index-Caig6TeF.d.mts} +85 -99
- package/dist/{index-DwCA1HWa.d.mts → index-CelJCBjk.d.mts} +15 -15
- package/dist/{index-ESSDWIB7.d.mts → index-ChunCFu4.d.mts} +1 -1
- package/dist/{index-e5C62_M3.d.mts → index-Cm0dUkWL.d.mts} +819 -85
- package/dist/{index-N5K1NOYs.d.mts → index-CokQYGVP.d.mts} +4 -4
- package/dist/{index-Bigx81Kr.d.mts → index-Cs0kZXIz2.d.mts} +1 -1
- package/dist/{index-6lyShOoU.d.mts → index-D5d5HeWI2.d.mts} +34 -0
- package/dist/{index-sBob9D25.d.mts → index-D90OmGmV.d.mts} +3 -3
- package/dist/{index-D1T-PPqF.d.mts → index-D9MwJ2Q8.d.mts} +3 -3
- package/dist/{index-BePI0ckL.d.mts → index-DANINzMu.d.mts} +1 -1
- package/dist/{index-BnSQE7z7.d.mts → index-DBw-89vC2.d.mts} +129 -1332
- package/dist/{index-C_kS2aqV2.d.mts → index-DGBu6bHi2.d.mts} +14 -14
- package/dist/index-DKC62dY5.d.mts +146 -0
- package/dist/{index-7sXlairn2.d.mts → index-DKia0MX1.d.mts} +1 -1
- package/dist/{index-E8d_RwaF.d.mts → index-DMKnON5s.d.mts} +1 -1
- package/dist/{index-Cq8B7cwK.d.mts → index-DUaw0Dw8.d.mts} +1524 -369
- package/dist/{index-Dd5s4MSm.d.mts → index-De3kPhlN.d.mts} +2 -2
- package/dist/{index-DGTFJB_8.d.mts → index-L4GjJDKb.d.mts} +116 -23
- package/dist/{index-iID2R9G1.d.mts → index-U-A8eyGT.d.mts} +7 -7
- package/dist/{index-D7T8XCku.d.mts → index-eemAKwsB.d.mts} +23 -2
- package/dist/{index-BXP9GK5q.d.mts → index-mNec7V-9.d.mts} +27 -27
- package/dist/{index-CnZOKNjU.d.mts → index-soFznFCy2.d.mts} +2 -2
- package/dist/{index-Ch3ph52M2.d.mts → index-vtXJuwrz.d.mts} +2 -2
- package/dist/{index-BnNqbx2I.d.mts → index-x_lVDp_J.d.mts} +2 -2
- package/dist/json-value-CmhSGMLv.mjs +1 -0
- package/dist/kernel/cli/index.d.mts +4 -2
- package/dist/kernel/cli/index.mjs +1 -1
- package/dist/kernel/cli/schemas.d.mts +1 -0
- package/dist/kernel/cli/schemas.mjs +1 -1
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/extension/index.mjs +1 -1
- package/dist/kernel/index.d.mts +5 -5
- package/dist/kernel/index.mjs +1 -1
- package/dist/kernel/namespace/index.d.mts +1 -1
- package/dist/kernel/namespace/index.mjs +1 -1
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/kernel/observability/index.mjs +1 -1
- package/dist/kernel/providers/index.d.mts +1 -1
- package/dist/kernel/providers/index.mjs +1 -1
- package/dist/kernel/window/index.d.mts +1 -1
- package/dist/kernel/window/index.mjs +1 -1
- package/dist/materialization-CuUBu4XI.mjs +1 -0
- package/dist/{namespace-BpIE-jQW.d.mts → namespace-5QQqbF-B.d.mts} +1018 -111
- package/dist/{namespace-DwCyOaZn2.d.mts → namespace-BM7Djng9.d.mts} +3 -3
- package/dist/namespace-BwzZJqTV.mjs +1 -0
- package/dist/{namespace-DZcuLwEA.d.mts → namespace-CTm3nEvh.d.mts} +1 -1
- package/dist/{namespace-BK2erxpV.d.mts → namespace-CaaNnKcR.d.mts} +3 -3
- package/dist/{namespace-GLGGcWPH.d.mts → namespace-CaoZ3S78.d.mts} +1 -1
- package/dist/{namespace-DXnMk3U8.d.mts → namespace-CxhsoFUP.d.mts} +27 -31
- package/dist/{namespace-B1E57soL.d.mts → namespace-DD8Oiqo7.d.mts} +23 -23
- package/dist/{namespace-BCRNwPnw.d.mts → namespace-DLovh2Ws.d.mts} +21 -21
- package/dist/{namespace-Ysg1N6rR.d.mts → namespace-DgqkaOVu.d.mts} +26 -25
- package/dist/{namespace-B5ZCshBw.d.mts → namespace-Dr8K0MCp.d.mts} +82 -81
- package/dist/{namespace-DGMO2E8f.mjs → namespace-DuXK5AYN.mjs} +1 -1
- package/dist/{namespace-ZbthBQVt.d.mts → namespace-EQniz-Aw.d.mts} +14 -14
- package/dist/{namespace-C54Oj025.d.mts → namespace-IV1QK__V.d.mts} +1 -1
- package/dist/{namespace-BKrV_2gZ.d.mts → namespace-TyiTsLFv.d.mts} +46 -45
- package/dist/{namespace-OwAf1Brw.mjs → namespace-xcmbQlxh.mjs} +1 -1
- package/dist/{native-session-supervisor-zPt624Tp.mjs → native-session-supervisor-B1TnaPUF.mjs} +1 -1
- package/dist/node/bus-server/index.d.mts +1 -1
- package/dist/node/bus-server/index.mjs +1 -1
- package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
- package/dist/node/bus-server/server-lifecycle.mjs +1 -1
- package/dist/node/machine-identity/index.mjs +2 -2
- package/dist/node/transports/index.d.mts +200 -7
- package/dist/node/transports/index.mjs +2 -2
- package/dist/{orchestrator-shared-D2txLAUs.mjs → orchestrator-shared-CIDiFJMD.mjs} +1 -1
- package/dist/{orchestrator-shared-DrjtTXYh.d.mts → orchestrator-shared-Dfa7FMyw.d.mts} +5 -5
- package/dist/package-DKVlsMP3.mjs +1 -0
- package/dist/{profile-Cq4A7kQa.mjs → profile-6ynCD5k3.mjs} +1 -1
- package/dist/{provider-context-BB4eD8ON.mjs → provider-context-CK6B4X_8.mjs} +1 -1
- package/dist/providers/index.mjs +1 -1
- package/dist/{providers-namespace-CDwxY_DV.d.mts → providers-namespace-DSEpli4A.d.mts} +1 -1
- package/dist/{schema-B295yplx.d.mts → schema-M5YTvSAG.d.mts} +114 -2
- package/dist/{schema-C4iznV0q.mjs → schema-e0wU_lcV.mjs} +1 -1
- package/dist/{schema-introspection-DCYC47_d.mjs → schema-introspection-Dn1jWQs1.mjs} +1 -1
- package/dist/{schemas-C5xtVqdb.d.mts → schemas-Bd0OjRQf.d.mts} +1 -1
- package/dist/{schemas-Ra8pz5M-.d.mts → schemas-C46QfKzv.d.mts} +24 -28
- package/dist/{schemas-sshQEF3l.d.mts → schemas-CDBSjg7o.d.mts} +1 -1
- package/dist/schemas-CR1Rripy.mjs +1 -0
- package/dist/schemas-CVvwIfG4.mjs +1 -0
- package/dist/schemas-CaLhkkLn.mjs +1 -0
- package/dist/{schemas-DYqKRNju.d.mts → schemas-ClOOT1W6.d.mts} +4 -4
- package/dist/{schemas-BfMZAwff.d.mts → schemas-DATniTHb.d.mts} +8 -8
- package/dist/{schemas-BWvuaL0w.d.mts → schemas-DVF1A4DF.d.mts} +4 -4
- package/dist/{schemas-Di0XnnMX.d.mts → schemas-DaRSfYLf.d.mts} +1 -1
- package/dist/{schemas-C31qbb0s.d.mts → schemas-DiYVzG6e.d.mts} +51 -48
- package/dist/{schemas-KMA1efQg.d.mts → schemas-j7ivZ2HI.d.mts} +3 -3
- package/dist/schemas-wg_6PAdV.d.mts +153 -0
- package/dist/scoped-bus-04pwo1uM.mjs +1 -0
- package/dist/service-base/index.d.mts +1 -1
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/index.mjs +1 -1
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +1 -1
- package/dist/services/adapter-subsystem/index.d.mts +2 -2
- package/dist/services/adapter-subsystem/index.mjs +1 -1
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/adapter-subsystem/namespace.mjs +1 -1
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/capability/index.d.mts +1 -1
- package/dist/services/capability/index.mjs +1 -1
- package/dist/services/cli-detection/namespace.d.mts +1 -1
- package/dist/services/codebase/index.d.mts +2 -2
- package/dist/services/codebase/namespace.d.mts +1 -1
- package/dist/services/codebase/schemas.d.mts +1 -1
- package/dist/services/compression/index.d.mts +2 -2
- package/dist/services/compression/namespace.d.mts +1 -1
- package/dist/services/compression/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +4 -4
- package/dist/services/context-rules/index.mjs +1 -1
- package/dist/services/credential-change/index.d.mts +1 -1
- package/dist/services/definition/namespace.d.mts +1 -1
- package/dist/services/definition/schemas.d.mts +1 -1
- package/dist/services/dialog/namespace.d.mts +1 -1
- package/dist/services/dialog/schemas.d.mts +1 -1
- package/dist/services/execution-target/index.d.mts +4 -4
- package/dist/services/execution-target/index.mjs +1 -1
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/execution-target/schemas.mjs +1 -1
- package/dist/services/filesystem/index.d.mts +3 -0
- package/dist/services/filesystem/index.mjs +1 -0
- package/dist/services/filesystem/namespace.d.mts +7 -7
- package/dist/services/filesystem/schemas.d.mts +4 -4
- package/dist/services/git/namespace.d.mts +1163 -0
- package/dist/services/git/namespace.mjs +1 -0
- package/dist/services/git/schemas.d.mts +932 -0
- package/dist/services/git/schemas.mjs +1 -0
- package/dist/services/harness/index.d.mts +35 -35
- package/dist/services/harness/index.mjs +1 -1
- package/dist/services/harness/storage/schema.d.mts +5 -5
- package/dist/services/index.d.mts +1411 -928
- package/dist/services/index.mjs +1 -1
- package/dist/services/local-notification/index.d.mts +1 -1
- package/dist/services/local-notification/namespace.d.mts +1 -1
- package/dist/services/local-notification/schemas.d.mts +1 -1
- package/dist/services/log-import/browser.d.mts +2 -2
- package/dist/services/log-import/index.d.mts +23 -24
- package/dist/services/log-import/index.mjs +2 -2
- package/dist/services/log-import/log-import.d.mts +1 -1
- package/dist/services/log-import/log-import.mjs +1 -1
- package/dist/services/log-import/namespace.d.mts +1 -1
- package/dist/services/log-import/namespace.mjs +1 -1
- package/dist/services/log-import/schemas.d.mts +1 -1
- package/dist/services/log-import/schemas.mjs +1 -1
- package/dist/services/model-registry/index.d.mts +1 -1
- package/dist/services/model-registry/index.mjs +1 -1
- package/dist/services/preferences/index.d.mts +2 -2
- package/dist/services/preferences/schemas.d.mts +1 -1
- package/dist/services/preferences/storage-namespace.d.mts +2 -2
- package/dist/services/provider-context/index.d.mts +1 -1
- package/dist/services/provider-context/index.mjs +1 -1
- package/dist/services/provider-runtime/index.d.mts +1 -1
- package/dist/services/provider-runtime/index.mjs +1 -1
- package/dist/services/session/handlers/index.d.mts +1 -1
- package/dist/services/session/handlers/index.mjs +1 -1
- package/dist/services/session/index.d.mts +10 -10
- package/dist/services/session/index.mjs +1 -1
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/messages/namespace.mjs +1 -1
- package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
- package/dist/services/session/orchestrator-testing/index.mjs +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/session/session-events/namespace.mjs +1 -1
- package/dist/services/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/services/session/storage/schema.mjs +1 -1
- package/dist/services/session/testing/index.d.mts +2 -2
- package/dist/services/session/testing/index.mjs +16 -3
- package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
- package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
- package/dist/services/session/turns/namespace.d.mts +1 -1
- package/dist/services/session/turns/namespace.mjs +1 -1
- package/dist/services/session-editor/index.d.mts +3 -3
- package/dist/services/session-editor/index.mjs +1 -1
- package/dist/services/settings/index.d.mts +4 -4
- package/dist/services/settings/index.mjs +1 -1
- package/dist/services/settings/namespace.d.mts +19 -18
- package/dist/services/settings/namespace.mjs +1 -1
- package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
- package/dist/services/settings/storage/clients-namespace.mjs +1 -1
- package/dist/services/settings/storage/extension-configs/namespace.d.mts +4 -4
- package/dist/services/settings/storage/index.d.mts +3 -3
- package/dist/services/settings/storage/index.mjs +1 -1
- package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
- package/dist/services/settings/storage/providers-namespace.mjs +1 -1
- package/dist/services/subagent/index.d.mts +2 -0
- package/dist/services/subagent/index.mjs +1 -0
- package/dist/services/subagent-template/index.d.mts +3 -0
- package/dist/services/subagent-template/index.mjs +1 -0
- package/dist/services/subagent-template/namespace.d.mts +2 -0
- package/dist/services/subagent-template/namespace.mjs +1 -0
- package/dist/services/subagent-template/schemas.d.mts +2 -0
- package/dist/services/subagent-template/schemas.mjs +1 -0
- package/dist/services/tool-approval/index.d.mts +1 -1
- package/dist/services/tool-approval/index.mjs +1 -1
- package/dist/services/tools/index.d.mts +1 -1
- package/dist/services/tools/index.mjs +1 -1
- package/dist/services/tray-menu/index.d.mts +3 -3
- package/dist/services/tray-menu/index.mjs +1 -1
- package/dist/services/tray-menu/namespace.d.mts +1 -1
- package/dist/services/tray-menu/schemas.d.mts +1 -1
- package/dist/services/turn/index.d.mts +1 -1
- package/dist/services/turn/namespace.d.mts +1 -1
- package/dist/services/turn/schemas.d.mts +12 -12
- package/dist/session-BoldSdNZ2.mjs +134 -0
- package/dist/session-DuVOYctZ.mjs +1 -0
- package/dist/{session-lineage-B0cpHfuc.d.mts → session-lineage-CRsc9g1x.d.mts} +1 -1
- package/dist/shared-DpOEfD8F.mjs +1 -0
- package/dist/{skill-20_SBXaI.mjs → skill-CQO4mDqK.mjs} +1 -1
- package/dist/storage/drizzle/client.d.mts +2 -2
- package/dist/storage/drizzle/client.mjs +1 -1
- package/dist/storage/drizzle/index.d.mts +49 -10
- package/dist/storage/drizzle/index.mjs +1 -1
- package/dist/storage/handlers/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/drizzle/index.mjs +1 -1
- package/dist/storage/handlers/index.d.mts +2 -2
- package/dist/storage/handlers/index.mjs +1 -1
- package/dist/storage/index.d.mts +4 -4
- package/dist/{storage-namespace-DoH-Wkjp.d.mts → storage-namespace-BXkoh5Sy.d.mts} +11 -11
- package/dist/storage-namespace-DWsYLAXa.mjs +1 -0
- package/dist/{storage-namespace-definition-CJgqyXH1.d.mts → storage-namespace-definition-Bkx5rSto.d.mts} +1 -1
- package/dist/style.css +540 -540
- package/dist/telemetry-CvdLBWuk.mjs +1 -0
- package/dist/testing/drizzle-harness.mjs +1 -1
- package/dist/testing/index.mjs +1 -1
- package/dist/tool-approval-service-BvZWhYZp.mjs +1 -0
- package/dist/tools/index.d.mts +20 -10
- package/dist/tools/index.mjs +1 -1
- package/dist/tools/testing/index.d.mts +1 -1
- package/dist/tools-D-luYcDw.mjs +1431 -0
- package/dist/{types-C11LvekX.d.mts → types-BCMUtBj1.d.mts} +117 -20
- package/dist/{types-vNpkAe4Y.d.mts → types-C2Ob9zz_.d.mts} +1 -1
- package/dist/{types-t295YC6T.d.mts → types-CCdqjeuH.d.mts} +2 -2
- package/dist/{types-Cvrj2ogm.d.mts → types-DZHvOc_Q.d.mts} +4 -4
- package/dist/{types--nrtGZ1V.d.mts → types-Dy3YTcTF.d.mts} +255 -97
- package/dist/{types-DYF5LxZY.d.mts → types-MfJZ67e9.d.mts} +91 -9
- package/dist/{types-6WxLfoM3.d.mts → types-dyP-bXXE.d.mts} +1 -1
- package/dist/ui-components/index.mjs +2 -2
- package/dist/ui-hooks/index.d.mts +111 -1
- package/dist/ui-hooks/index.mjs +1 -1
- package/dist/ui-kernel/index.d.mts +4 -4
- package/dist/ui-kernel/pages/namespace.d.mts +4 -4
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/ui-views/index.mjs +2 -2
- package/dist/utils/index.d.mts +36 -1
- package/dist/utils/index.mjs +2 -2
- package/dist/utils/project-manifest.d.mts +130 -0
- package/dist/utils/project-manifest.mjs +1 -0
- package/dist/utils/scope-paths.d.mts +33 -0
- package/dist/utils/scope-paths.mjs +1 -0
- package/dist/utils/workspace-packages.d.mts +59 -0
- package/dist/utils/workspace-packages.mjs +1 -0
- package/dist/utils/workspace-root.d.mts +6 -9
- package/dist/utils/workspace-root.mjs +1 -1
- package/dist/{version-D8S4O22A.mjs → version-BeT3ASEe.mjs} +1 -1
- package/package.json +55 -2
- package/dist/account-identity-Bg_vKkcs.mjs +0 -1
- package/dist/adapter-CpF2aK_-.mjs +0 -1
- package/dist/bus-B1seC4M_.mjs +0 -2
- package/dist/chunk-Dc06z0qk.mjs +0 -1
- package/dist/client-DMWXCWhM.mjs +0 -1
- package/dist/cursor-storage-BoNI7OAR.mjs +0 -1
- package/dist/drizzle-Bn2GtW8c.mjs +0 -1
- package/dist/execution-target-D6MgthYs.mjs +0 -1
- package/dist/extension-53GerdGg.mjs +0 -1
- package/dist/extension-fJmv8Yri.mjs +0 -1
- package/dist/namespace-C_h7scWx2.mjs +0 -1
- package/dist/schemas-Bn8aqDIE.mjs +0 -1
- package/dist/services/worker/index.d.mts +0 -3
- package/dist/services/worker/index.mjs +0 -1
- package/dist/services/worker/namespace.d.mts +0 -2
- package/dist/services/worker/namespace.mjs +0 -1
- package/dist/services/worker/schemas.d.mts +0 -2
- package/dist/services/worker/schemas.mjs +0 -1
- package/dist/session-BCSf-Fgj.mjs +0 -1
- package/dist/session-BNo_cIiz.mjs +0 -123
- package/dist/shared-BhuSHZXH.mjs +0 -1
- package/dist/storage-namespace-BIDs9LPb.mjs +0 -1
- package/dist/tool-approval-service-CZCPfvVy.mjs +0 -1
- package/dist/tools-Cid9D99F.mjs +0 -1
- /package/dist/{base-orchestrator-BOAPgqF7.d.mts → base-orchestrator-wyumsn3b.d.mts} +0 -0
- /package/dist/{capability-service-DV32ecwR.mjs → capability-service-CJbmhfv9.mjs} +0 -0
- /package/dist/{cleanEnvForAdapter-hTPNvPU5.mjs → cleanEnvForAdapter-KkYzQa1f.mjs} +0 -0
- /package/dist/{config-namespace-wJ2CakDB.mjs → config-namespace-ncYg2ct_.mjs} +0 -0
- /package/dist/{extension-namespace-CTd9kOtt.mjs → extension-namespace-cMh_mMiL.mjs} +0 -0
- /package/dist/{identity-DBST3-XO.mjs → identity-Cz2IeEtm.mjs} +0 -0
- /package/dist/{index-SzSiyG61.d.mts → index-CHQ1SqT0.d.mts} +0 -0
- /package/dist/{model-registry-xINyxQUT.mjs → model-registry-CfXytvzx.mjs} +0 -0
- /package/dist/{model-registry-Dzpssh9j.mjs → model-registry-Scn_MC2d.mjs} +0 -0
- /package/dist/{namespace-DBw9BYr8.mjs → namespace-BoD94mrN.mjs} +0 -0
- /package/dist/{namespace-DUVgMfTR.mjs → namespace-CFLAmQfh.mjs} +0 -0
- /package/dist/{namespace-aALq9tnE.mjs → namespace-DkRgbZYn.mjs} +0 -0
- /package/dist/{namespace-yxIxUsjo.mjs → namespace-LViZ-EQk.mjs} +0 -0
- /package/dist/{namespace-Zb8HAbyF.mjs → namespace-Yna5-Pws.mjs} +0 -0
- /package/dist/{platform-BMFUpmTA.mjs → platform-DZ7z-wXD.mjs} +0 -0
- /package/dist/{providers-DhiW_fx4.mjs → providers-u8i15co9.mjs} +0 -0
- /package/dist/{schema-D3ZG13h9.mjs → schema-CoyE6mPt.mjs} +0 -0
- /package/dist/{schemas-CEBe89yE.mjs → schemas-DE-GNmSD.mjs} +0 -0
- /package/dist/{schemas-COnLJnt_.mjs → schemas-hSrzflwZ.mjs} +0 -0
- /package/dist/{schemas-CrnlCRep.mjs → schemas-jFe1AuI-.mjs} +0 -0
- /package/dist/{server-lifecycle-Dx5WgfoS.mjs → server-lifecycle-FXTPW39-.mjs} +0 -0
- /package/dist/{server-lifecycle-BC6FRn86.d.mts → server-lifecycle-YoSGFGnU.d.mts} +0 -0
- /package/dist/{shared-schemas-Byah36lG.mjs → shared-schemas-CPShiLNp.mjs} +0 -0
- /package/dist/{storage-namespace-definition-BjK9nZAN.mjs → storage-namespace-definition-CqSdsuCC.mjs} +0 -0
- /package/dist/{timeout-D33CUZ0M.mjs → timeout-XsYIOKrc.mjs} +0 -0
- /package/dist/{tray-menu-service-BAYtLdAg.mjs → tray-menu-service-DuXq5k22.mjs} +0 -0
- /package/dist/{ui-config-zawaoEfB.mjs → ui-config-9bDRwFZr.mjs} +0 -0
- /package/dist/{variant-BZWfmS0q.mjs → variant-CT6XBP6T.mjs} +0 -0
- /package/dist/{visibility-CZu8ooOA.mjs → visibility-Cb62p9bv.mjs} +0 -0
- /package/dist/{window-registry-C_IJmY8_.d.mts → window-registry-CBcrGTv4.d.mts} +0 -0
- /package/dist/{window-registry-B_-hBEcV.mjs → window-registry-DW-dKRjQ.mjs} +0 -0
|
@@ -2,7 +2,7 @@ import * as _$zod from "zod";
|
|
|
2
2
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
3
3
|
import * as _$zod_v4_core0 from "zod/v4/core";
|
|
4
4
|
|
|
5
|
-
//#region
|
|
5
|
+
//#region services/core/src/adapter-subsystem/namespace.d.ts
|
|
6
6
|
/**
|
|
7
7
|
* Bus namespace for adapter-subsystem subjects.
|
|
8
8
|
*/
|
|
@@ -13,17 +13,17 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
|
|
|
13
13
|
}, _$zod_v4_core0.$strict>;
|
|
14
14
|
response: _$zod.ZodObject<{
|
|
15
15
|
config: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
16
|
-
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
17
16
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
17
|
+
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
18
|
+
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
18
19
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
19
20
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
20
21
|
label: _$zod.ZodString;
|
|
21
22
|
url: _$zod.ZodString;
|
|
22
23
|
}, _$zod_v4_core0.$strict>>>;
|
|
23
24
|
instructions: _$zod.ZodOptional<_$zod.ZodString>;
|
|
24
|
-
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
25
25
|
providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
26
|
-
settings: _$zod.ZodOptional<_$zod.
|
|
26
|
+
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
27
27
|
name: _$zod.ZodString;
|
|
28
28
|
enabled: _$zod.ZodBoolean;
|
|
29
29
|
bindings: _$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -38,17 +38,17 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
|
|
|
38
38
|
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strict>;
|
|
39
39
|
response: _$zod.ZodObject<{
|
|
40
40
|
configs: _$zod.ZodArray<_$zod.ZodObject<{
|
|
41
|
-
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
42
41
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
42
|
+
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
43
|
+
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
43
44
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
44
45
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
45
46
|
label: _$zod.ZodString;
|
|
46
47
|
url: _$zod.ZodString;
|
|
47
48
|
}, _$zod_v4_core0.$strict>>>;
|
|
48
49
|
instructions: _$zod.ZodOptional<_$zod.ZodString>;
|
|
49
|
-
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
50
50
|
providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
51
|
-
settings: _$zod.ZodOptional<_$zod.
|
|
51
|
+
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
52
52
|
name: _$zod.ZodString;
|
|
53
53
|
enabled: _$zod.ZodBoolean;
|
|
54
54
|
bindings: _$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -517,23 +517,23 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
|
|
|
517
517
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
518
518
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
519
519
|
providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
520
|
-
settings: _$zod.ZodOptional<_$zod.
|
|
520
|
+
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
521
521
|
enabled: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
522
522
|
}, _$zod_v4_core0.$strict>;
|
|
523
523
|
}, _$zod_v4_core0.$strict>;
|
|
524
524
|
response: _$zod.ZodObject<{
|
|
525
525
|
config: _$zod.ZodObject<{
|
|
526
|
-
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
527
526
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
527
|
+
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
528
|
+
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
528
529
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
529
530
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
530
531
|
label: _$zod.ZodString;
|
|
531
532
|
url: _$zod.ZodString;
|
|
532
533
|
}, _$zod_v4_core0.$strict>>>;
|
|
533
534
|
instructions: _$zod.ZodOptional<_$zod.ZodString>;
|
|
534
|
-
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
535
535
|
providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
536
|
-
settings: _$zod.ZodOptional<_$zod.
|
|
536
|
+
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
537
537
|
name: _$zod.ZodString;
|
|
538
538
|
enabled: _$zod.ZodBoolean;
|
|
539
539
|
bindings: _$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -666,17 +666,17 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
666
666
|
}, _$zod_v4_core0.$strict>;
|
|
667
667
|
response: _$zod.ZodObject<{
|
|
668
668
|
config: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
669
|
-
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
670
669
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
670
|
+
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
671
|
+
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
671
672
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
672
673
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
673
674
|
label: _$zod.ZodString;
|
|
674
675
|
url: _$zod.ZodString;
|
|
675
676
|
}, _$zod_v4_core0.$strict>>>;
|
|
676
677
|
instructions: _$zod.ZodOptional<_$zod.ZodString>;
|
|
677
|
-
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
678
678
|
providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
679
|
-
settings: _$zod.ZodOptional<_$zod.
|
|
679
|
+
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
680
680
|
name: _$zod.ZodString;
|
|
681
681
|
enabled: _$zod.ZodBoolean;
|
|
682
682
|
bindings: _$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -691,17 +691,17 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
691
691
|
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strict>;
|
|
692
692
|
response: _$zod.ZodObject<{
|
|
693
693
|
configs: _$zod.ZodArray<_$zod.ZodObject<{
|
|
694
|
-
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
695
694
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
695
|
+
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
696
|
+
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
696
697
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
697
698
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
698
699
|
label: _$zod.ZodString;
|
|
699
700
|
url: _$zod.ZodString;
|
|
700
701
|
}, _$zod_v4_core0.$strict>>>;
|
|
701
702
|
instructions: _$zod.ZodOptional<_$zod.ZodString>;
|
|
702
|
-
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
703
703
|
providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
704
|
-
settings: _$zod.ZodOptional<_$zod.
|
|
704
|
+
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
705
705
|
name: _$zod.ZodString;
|
|
706
706
|
enabled: _$zod.ZodBoolean;
|
|
707
707
|
bindings: _$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -1170,23 +1170,23 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
1170
1170
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1171
1171
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1172
1172
|
providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
1173
|
-
settings: _$zod.ZodOptional<_$zod.
|
|
1173
|
+
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1174
1174
|
enabled: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1175
1175
|
}, _$zod_v4_core0.$strict>;
|
|
1176
1176
|
}, _$zod_v4_core0.$strict>;
|
|
1177
1177
|
response: _$zod.ZodObject<{
|
|
1178
1178
|
config: _$zod.ZodObject<{
|
|
1179
|
-
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1180
1179
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1180
|
+
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1181
|
+
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1181
1182
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1182
1183
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
1183
1184
|
label: _$zod.ZodString;
|
|
1184
1185
|
url: _$zod.ZodString;
|
|
1185
1186
|
}, _$zod_v4_core0.$strict>>>;
|
|
1186
1187
|
instructions: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1187
|
-
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1188
1188
|
providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
1189
|
-
settings: _$zod.ZodOptional<_$zod.
|
|
1189
|
+
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1190
1190
|
name: _$zod.ZodString;
|
|
1191
1191
|
enabled: _$zod.ZodBoolean;
|
|
1192
1192
|
bindings: _$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -3,7 +3,7 @@ import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
|
3
3
|
import * as _$drizzle_orm_sqlite_core0 from "drizzle-orm/sqlite-core";
|
|
4
4
|
import * as _$zod_v4_core0 from "zod/v4/core";
|
|
5
5
|
|
|
6
|
-
//#region
|
|
6
|
+
//#region services/core/src/session/turns/namespace.d.ts
|
|
7
7
|
/**
|
|
8
8
|
* Extended Turn storage namespace with Drizzle schemas.
|
|
9
9
|
*
|
|
@@ -112,7 +112,7 @@ declare const TurnStorageNamespace: {
|
|
|
112
112
|
tableName: "turns";
|
|
113
113
|
dataType: "string";
|
|
114
114
|
columnType: "SQLiteText";
|
|
115
|
-
data: "
|
|
115
|
+
data: "error" | "active" | "completed";
|
|
116
116
|
driverParam: string;
|
|
117
117
|
notNull: true;
|
|
118
118
|
hasDefault: false;
|
|
@@ -185,9 +185,9 @@ declare const TurnStorageNamespace: {
|
|
|
185
185
|
startedAt: _$zod.ZodNumber;
|
|
186
186
|
completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
187
187
|
status: _$zod.ZodEnum<{
|
|
188
|
-
completed: "completed";
|
|
189
188
|
error: "error";
|
|
190
189
|
active: "active";
|
|
190
|
+
completed: "completed";
|
|
191
191
|
}>;
|
|
192
192
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
193
193
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -209,13 +209,13 @@ declare const TurnStorageNamespace: {
|
|
|
209
209
|
request: _$zod.ZodObject<{
|
|
210
210
|
turnId: _$zod.ZodString;
|
|
211
211
|
status: _$zod.ZodEnum<{
|
|
212
|
-
completed: "completed";
|
|
213
212
|
error: "error";
|
|
213
|
+
completed: "completed";
|
|
214
214
|
}>;
|
|
215
215
|
expectedStatus: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
216
|
-
completed: "completed";
|
|
217
216
|
error: "error";
|
|
218
217
|
active: "active";
|
|
218
|
+
completed: "completed";
|
|
219
219
|
}>>;
|
|
220
220
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
221
221
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -239,9 +239,9 @@ declare const TurnStorageNamespace: {
|
|
|
239
239
|
startedAt: _$zod.ZodNumber;
|
|
240
240
|
completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
241
241
|
status: _$zod.ZodEnum<{
|
|
242
|
-
completed: "completed";
|
|
243
242
|
error: "error";
|
|
244
243
|
active: "active";
|
|
244
|
+
completed: "completed";
|
|
245
245
|
}>;
|
|
246
246
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
247
247
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -269,9 +269,9 @@ declare const TurnStorageNamespace: {
|
|
|
269
269
|
startedAt: _$zod.ZodNumber;
|
|
270
270
|
completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
271
271
|
status: _$zod.ZodEnum<{
|
|
272
|
-
completed: "completed";
|
|
273
272
|
error: "error";
|
|
274
273
|
active: "active";
|
|
274
|
+
completed: "completed";
|
|
275
275
|
}>;
|
|
276
276
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
277
277
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -296,9 +296,9 @@ declare const TurnStorageNamespace: {
|
|
|
296
296
|
startedAt: _$zod.ZodNumber;
|
|
297
297
|
completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
298
298
|
status: _$zod.ZodEnum<{
|
|
299
|
-
completed: "completed";
|
|
300
299
|
error: "error";
|
|
301
300
|
active: "active";
|
|
301
|
+
completed: "completed";
|
|
302
302
|
}>;
|
|
303
303
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
304
304
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -328,9 +328,9 @@ declare const TurnStorageNamespace: {
|
|
|
328
328
|
startedAt: _$zod.ZodNumber;
|
|
329
329
|
completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
330
330
|
status: _$zod.ZodEnum<{
|
|
331
|
-
completed: "completed";
|
|
332
331
|
error: "error";
|
|
333
332
|
active: "active";
|
|
333
|
+
completed: "completed";
|
|
334
334
|
}>;
|
|
335
335
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
336
336
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -353,9 +353,9 @@ declare const TurnStorageNamespace: {
|
|
|
353
353
|
sessionId: _$zod.ZodString;
|
|
354
354
|
limit: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
355
355
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
356
|
-
completed: "completed";
|
|
357
356
|
error: "error";
|
|
358
357
|
active: "active";
|
|
358
|
+
completed: "completed";
|
|
359
359
|
}>>;
|
|
360
360
|
}, _$zod_v4_core0.$strip>;
|
|
361
361
|
response: _$zod.ZodObject<{
|
|
@@ -366,9 +366,9 @@ declare const TurnStorageNamespace: {
|
|
|
366
366
|
startedAt: _$zod.ZodNumber;
|
|
367
367
|
completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
368
368
|
status: _$zod.ZodEnum<{
|
|
369
|
-
completed: "completed";
|
|
370
369
|
error: "error";
|
|
371
370
|
active: "active";
|
|
371
|
+
completed: "completed";
|
|
372
372
|
}>;
|
|
373
373
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
374
374
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -398,9 +398,9 @@ declare const TurnStorageNamespace: {
|
|
|
398
398
|
startedAt: _$zod.ZodNumber;
|
|
399
399
|
completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
400
400
|
status: _$zod.ZodEnum<{
|
|
401
|
-
completed: "completed";
|
|
402
401
|
error: "error";
|
|
403
402
|
active: "active";
|
|
403
|
+
completed: "completed";
|
|
404
404
|
}>;
|
|
405
405
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
406
406
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -428,9 +428,9 @@ declare const TurnStorageNamespace: {
|
|
|
428
428
|
startedAt: _$zod.ZodNumber;
|
|
429
429
|
completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
430
430
|
status: _$zod.ZodEnum<{
|
|
431
|
-
completed: "completed";
|
|
432
431
|
error: "error";
|
|
433
432
|
active: "active";
|
|
433
|
+
completed: "completed";
|
|
434
434
|
}>;
|
|
435
435
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
436
436
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -463,9 +463,9 @@ declare const TurnStorageNamespace: {
|
|
|
463
463
|
startedAt: _$zod.ZodNumber;
|
|
464
464
|
completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
465
465
|
status: _$zod.ZodEnum<{
|
|
466
|
-
completed: "completed";
|
|
467
466
|
error: "error";
|
|
468
467
|
active: "active";
|
|
468
|
+
completed: "completed";
|
|
469
469
|
}>;
|
|
470
470
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
471
471
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -487,13 +487,13 @@ declare const TurnStorageNamespace: {
|
|
|
487
487
|
request: _$zod.ZodObject<{
|
|
488
488
|
turnId: _$zod.ZodString;
|
|
489
489
|
status: _$zod.ZodEnum<{
|
|
490
|
-
completed: "completed";
|
|
491
490
|
error: "error";
|
|
491
|
+
completed: "completed";
|
|
492
492
|
}>;
|
|
493
493
|
expectedStatus: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
494
|
-
completed: "completed";
|
|
495
494
|
error: "error";
|
|
496
495
|
active: "active";
|
|
496
|
+
completed: "completed";
|
|
497
497
|
}>>;
|
|
498
498
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
499
499
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -517,9 +517,9 @@ declare const TurnStorageNamespace: {
|
|
|
517
517
|
startedAt: _$zod.ZodNumber;
|
|
518
518
|
completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
519
519
|
status: _$zod.ZodEnum<{
|
|
520
|
-
completed: "completed";
|
|
521
520
|
error: "error";
|
|
522
521
|
active: "active";
|
|
522
|
+
completed: "completed";
|
|
523
523
|
}>;
|
|
524
524
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
525
525
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -547,9 +547,9 @@ declare const TurnStorageNamespace: {
|
|
|
547
547
|
startedAt: _$zod.ZodNumber;
|
|
548
548
|
completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
549
549
|
status: _$zod.ZodEnum<{
|
|
550
|
-
completed: "completed";
|
|
551
550
|
error: "error";
|
|
552
551
|
active: "active";
|
|
552
|
+
completed: "completed";
|
|
553
553
|
}>;
|
|
554
554
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
555
555
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -574,9 +574,9 @@ declare const TurnStorageNamespace: {
|
|
|
574
574
|
startedAt: _$zod.ZodNumber;
|
|
575
575
|
completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
576
576
|
status: _$zod.ZodEnum<{
|
|
577
|
-
completed: "completed";
|
|
578
577
|
error: "error";
|
|
579
578
|
active: "active";
|
|
579
|
+
completed: "completed";
|
|
580
580
|
}>;
|
|
581
581
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
582
582
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -606,9 +606,9 @@ declare const TurnStorageNamespace: {
|
|
|
606
606
|
startedAt: _$zod.ZodNumber;
|
|
607
607
|
completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
608
608
|
status: _$zod.ZodEnum<{
|
|
609
|
-
completed: "completed";
|
|
610
609
|
error: "error";
|
|
611
610
|
active: "active";
|
|
611
|
+
completed: "completed";
|
|
612
612
|
}>;
|
|
613
613
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
614
614
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -631,9 +631,9 @@ declare const TurnStorageNamespace: {
|
|
|
631
631
|
sessionId: _$zod.ZodString;
|
|
632
632
|
limit: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
633
633
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
634
|
-
completed: "completed";
|
|
635
634
|
error: "error";
|
|
636
635
|
active: "active";
|
|
636
|
+
completed: "completed";
|
|
637
637
|
}>>;
|
|
638
638
|
}, _$zod_v4_core0.$strip>;
|
|
639
639
|
response: _$zod.ZodObject<{
|
|
@@ -644,9 +644,9 @@ declare const TurnStorageNamespace: {
|
|
|
644
644
|
startedAt: _$zod.ZodNumber;
|
|
645
645
|
completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
646
646
|
status: _$zod.ZodEnum<{
|
|
647
|
-
completed: "completed";
|
|
648
647
|
error: "error";
|
|
649
648
|
active: "active";
|
|
649
|
+
completed: "completed";
|
|
650
650
|
}>;
|
|
651
651
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
652
652
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -676,9 +676,9 @@ declare const TurnStorageNamespace: {
|
|
|
676
676
|
startedAt: _$zod.ZodNumber;
|
|
677
677
|
completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
678
678
|
status: _$zod.ZodEnum<{
|
|
679
|
-
completed: "completed";
|
|
680
679
|
error: "error";
|
|
681
680
|
active: "active";
|
|
681
|
+
completed: "completed";
|
|
682
682
|
}>;
|
|
683
683
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
684
684
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -706,9 +706,9 @@ declare const TurnStorageNamespace: {
|
|
|
706
706
|
startedAt: _$zod.ZodNumber;
|
|
707
707
|
completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
708
708
|
status: _$zod.ZodEnum<{
|
|
709
|
-
completed: "completed";
|
|
710
709
|
error: "error";
|
|
711
710
|
active: "active";
|
|
711
|
+
completed: "completed";
|
|
712
712
|
}>;
|
|
713
713
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
714
714
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -728,6 +728,7 @@ declare const TurnStorageNamespace: {
|
|
|
728
728
|
};
|
|
729
729
|
};
|
|
730
730
|
options?: _$_makaio_core0.NamespaceRegistrationOptions;
|
|
731
|
+
defaultTransports?: _$_makaio_core0.TransportRoutingDefault;
|
|
731
732
|
__filterPayload?: {
|
|
732
733
|
[x: string]: string | number | {
|
|
733
734
|
total: {
|
|
@@ -745,7 +746,7 @@ declare const TurnStorageNamespace: {
|
|
|
745
746
|
sessionId: string;
|
|
746
747
|
turnNumber: number;
|
|
747
748
|
startedAt: number;
|
|
748
|
-
status: "
|
|
749
|
+
status: "error" | "active" | "completed";
|
|
749
750
|
completedAt?: number | undefined;
|
|
750
751
|
error?: string | undefined;
|
|
751
752
|
usage?: {
|
|
@@ -4,7 +4,7 @@ import { MessagePageCursor, MessagePageCursorSchema, MessageStorageSubjects } fr
|
|
|
4
4
|
import * as _$drizzle_orm_sqlite_core0 from "drizzle-orm/sqlite-core";
|
|
5
5
|
import * as _$zod_v4_core0 from "zod/v4/core";
|
|
6
6
|
|
|
7
|
-
//#region
|
|
7
|
+
//#region services/core/src/session/messages/namespace.d.ts
|
|
8
8
|
/**
|
|
9
9
|
* Message storage namespace with Drizzle extension.
|
|
10
10
|
*
|
|
@@ -266,6 +266,15 @@ declare const MessageStorageNamespace$1: {
|
|
|
266
266
|
append: {
|
|
267
267
|
request: _$zod.ZodObject<{
|
|
268
268
|
message: _$zod.ZodObject<{
|
|
269
|
+
origin: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
270
|
+
text: "text";
|
|
271
|
+
voice: "voice";
|
|
272
|
+
compact: "compact";
|
|
273
|
+
}>>;
|
|
274
|
+
sessionId: _$zod.ZodString;
|
|
275
|
+
turnId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
276
|
+
timestamp: _$zod.ZodNumber;
|
|
277
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
269
278
|
role: _$zod.ZodEnum<{
|
|
270
279
|
user: "user";
|
|
271
280
|
assistant: "assistant";
|
|
@@ -328,15 +337,6 @@ declare const MessageStorageNamespace$1: {
|
|
|
328
337
|
output: _$zod.ZodString;
|
|
329
338
|
isError: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
330
339
|
}, _$zod_v4_core0.$strip>], "type">>;
|
|
331
|
-
origin: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
332
|
-
text: "text";
|
|
333
|
-
voice: "voice";
|
|
334
|
-
compact: "compact";
|
|
335
|
-
}>>;
|
|
336
|
-
sessionId: _$zod.ZodString;
|
|
337
|
-
timestamp: _$zod.ZodNumber;
|
|
338
|
-
turnId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
339
|
-
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
340
340
|
contentText: _$zod.ZodString;
|
|
341
341
|
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
342
342
|
adapterMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1051,6 +1051,15 @@ declare const MessageStorageNamespace$1: {
|
|
|
1051
1051
|
append: {
|
|
1052
1052
|
request: _$zod.ZodObject<{
|
|
1053
1053
|
message: _$zod.ZodObject<{
|
|
1054
|
+
origin: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1055
|
+
text: "text";
|
|
1056
|
+
voice: "voice";
|
|
1057
|
+
compact: "compact";
|
|
1058
|
+
}>>;
|
|
1059
|
+
sessionId: _$zod.ZodString;
|
|
1060
|
+
turnId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
1061
|
+
timestamp: _$zod.ZodNumber;
|
|
1062
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1054
1063
|
role: _$zod.ZodEnum<{
|
|
1055
1064
|
user: "user";
|
|
1056
1065
|
assistant: "assistant";
|
|
@@ -1113,15 +1122,6 @@ declare const MessageStorageNamespace$1: {
|
|
|
1113
1122
|
output: _$zod.ZodString;
|
|
1114
1123
|
isError: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1115
1124
|
}, _$zod_v4_core0.$strip>], "type">>;
|
|
1116
|
-
origin: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1117
|
-
text: "text";
|
|
1118
|
-
voice: "voice";
|
|
1119
|
-
compact: "compact";
|
|
1120
|
-
}>>;
|
|
1121
|
-
sessionId: _$zod.ZodString;
|
|
1122
|
-
timestamp: _$zod.ZodNumber;
|
|
1123
|
-
turnId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
1124
|
-
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1125
1125
|
contentText: _$zod.ZodString;
|
|
1126
1126
|
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1127
1127
|
adapterMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1833,63 +1833,8 @@ declare const MessageStorageNamespace$1: {
|
|
|
1833
1833
|
}, _$zod_v4_core0.$strip>;
|
|
1834
1834
|
};
|
|
1835
1835
|
options?: _$_makaio_core0.NamespaceRegistrationOptions;
|
|
1836
|
+
defaultTransports?: _$_makaio_core0.TransportRoutingDefault;
|
|
1836
1837
|
__filterPayload?: {
|
|
1837
|
-
role: "user" | "assistant";
|
|
1838
|
-
blocks: ({
|
|
1839
|
-
type: "text";
|
|
1840
|
-
content: string;
|
|
1841
|
-
} | {
|
|
1842
|
-
type: "image";
|
|
1843
|
-
source: {
|
|
1844
|
-
type: "base64";
|
|
1845
|
-
data: string;
|
|
1846
|
-
mimeType: string;
|
|
1847
|
-
} | {
|
|
1848
|
-
type: "url";
|
|
1849
|
-
url: string;
|
|
1850
|
-
mimeType?: string | undefined;
|
|
1851
|
-
};
|
|
1852
|
-
} | {
|
|
1853
|
-
type: "document";
|
|
1854
|
-
source: {
|
|
1855
|
-
type: "base64";
|
|
1856
|
-
data: string;
|
|
1857
|
-
mimeType: string;
|
|
1858
|
-
} | {
|
|
1859
|
-
type: "url";
|
|
1860
|
-
url: string;
|
|
1861
|
-
mimeType?: string | undefined;
|
|
1862
|
-
};
|
|
1863
|
-
} | {
|
|
1864
|
-
type: "attachment";
|
|
1865
|
-
fileName: string;
|
|
1866
|
-
filePath: string;
|
|
1867
|
-
source: {
|
|
1868
|
-
type: "base64";
|
|
1869
|
-
data: string;
|
|
1870
|
-
mimeType: string;
|
|
1871
|
-
} | {
|
|
1872
|
-
type: "url";
|
|
1873
|
-
url: string;
|
|
1874
|
-
mimeType?: string | undefined;
|
|
1875
|
-
};
|
|
1876
|
-
attachmentType: "file" | "directory";
|
|
1877
|
-
displayName?: string | undefined;
|
|
1878
|
-
} | {
|
|
1879
|
-
type: "reasoning";
|
|
1880
|
-
content: string;
|
|
1881
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1882
|
-
} | {
|
|
1883
|
-
type: "tool_call";
|
|
1884
|
-
toolCallId: string;
|
|
1885
|
-
name: string;
|
|
1886
|
-
args: Record<string, unknown>;
|
|
1887
|
-
} | {
|
|
1888
|
-
type: "tool_output";
|
|
1889
|
-
toolCallId: string;
|
|
1890
|
-
output: string;
|
|
1891
|
-
isError?: boolean | undefined;
|
|
1892
|
-
})[];
|
|
1893
1838
|
message: {
|
|
1894
1839
|
messageId: string;
|
|
1895
1840
|
turnId: string | null;
|
|
@@ -1958,6 +1903,9 @@ declare const MessageStorageNamespace$1: {
|
|
|
1958
1903
|
editOf?: string | undefined;
|
|
1959
1904
|
origin?: "text" | "voice" | "compact" | undefined;
|
|
1960
1905
|
} | {
|
|
1906
|
+
sessionId: string;
|
|
1907
|
+
turnId: string | null;
|
|
1908
|
+
timestamp: number;
|
|
1961
1909
|
role: "user" | "assistant";
|
|
1962
1910
|
blocks: ({
|
|
1963
1911
|
type: "text";
|
|
@@ -2014,9 +1962,6 @@ declare const MessageStorageNamespace$1: {
|
|
|
2014
1962
|
output: string;
|
|
2015
1963
|
isError?: boolean | undefined;
|
|
2016
1964
|
})[];
|
|
2017
|
-
sessionId: string;
|
|
2018
|
-
timestamp: number;
|
|
2019
|
-
turnId: string | null;
|
|
2020
1965
|
contentText: string;
|
|
2021
1966
|
origin?: "text" | "voice" | "compact" | undefined;
|
|
2022
1967
|
adapterSessionId?: string | undefined;
|
|
@@ -2025,13 +1970,69 @@ declare const MessageStorageNamespace$1: {
|
|
|
2025
1970
|
editOf?: string | undefined;
|
|
2026
1971
|
messageId?: string | undefined;
|
|
2027
1972
|
};
|
|
2028
|
-
messageId: string;
|
|
2029
1973
|
origin: never;
|
|
2030
1974
|
sessionId: string;
|
|
2031
|
-
timestamp: number;
|
|
2032
|
-
limit: never;
|
|
2033
1975
|
turnId: string | null;
|
|
1976
|
+
limit: never;
|
|
1977
|
+
timestamp: number;
|
|
2034
1978
|
adapterSessionId: never;
|
|
1979
|
+
role: "user" | "assistant";
|
|
1980
|
+
blocks: ({
|
|
1981
|
+
type: "text";
|
|
1982
|
+
content: string;
|
|
1983
|
+
} | {
|
|
1984
|
+
type: "image";
|
|
1985
|
+
source: {
|
|
1986
|
+
type: "base64";
|
|
1987
|
+
data: string;
|
|
1988
|
+
mimeType: string;
|
|
1989
|
+
} | {
|
|
1990
|
+
type: "url";
|
|
1991
|
+
url: string;
|
|
1992
|
+
mimeType?: string | undefined;
|
|
1993
|
+
};
|
|
1994
|
+
} | {
|
|
1995
|
+
type: "document";
|
|
1996
|
+
source: {
|
|
1997
|
+
type: "base64";
|
|
1998
|
+
data: string;
|
|
1999
|
+
mimeType: string;
|
|
2000
|
+
} | {
|
|
2001
|
+
type: "url";
|
|
2002
|
+
url: string;
|
|
2003
|
+
mimeType?: string | undefined;
|
|
2004
|
+
};
|
|
2005
|
+
} | {
|
|
2006
|
+
type: "attachment";
|
|
2007
|
+
fileName: string;
|
|
2008
|
+
filePath: string;
|
|
2009
|
+
source: {
|
|
2010
|
+
type: "base64";
|
|
2011
|
+
data: string;
|
|
2012
|
+
mimeType: string;
|
|
2013
|
+
} | {
|
|
2014
|
+
type: "url";
|
|
2015
|
+
url: string;
|
|
2016
|
+
mimeType?: string | undefined;
|
|
2017
|
+
};
|
|
2018
|
+
attachmentType: "file" | "directory";
|
|
2019
|
+
displayName?: string | undefined;
|
|
2020
|
+
} | {
|
|
2021
|
+
type: "reasoning";
|
|
2022
|
+
content: string;
|
|
2023
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2024
|
+
} | {
|
|
2025
|
+
type: "tool_call";
|
|
2026
|
+
toolCallId: string;
|
|
2027
|
+
name: string;
|
|
2028
|
+
args: Record<string, unknown>;
|
|
2029
|
+
} | {
|
|
2030
|
+
type: "tool_output";
|
|
2031
|
+
toolCallId: string;
|
|
2032
|
+
output: string;
|
|
2033
|
+
isError?: boolean | undefined;
|
|
2034
|
+
})[];
|
|
2035
|
+
messageId: string;
|
|
2035
2036
|
contentText: string;
|
|
2036
2037
|
agentId: never;
|
|
2037
2038
|
adapterMessageId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{sessions as e}from"./services/session/storage/schema.mjs";import{t}from"./schema-
|
|
1
|
+
import{sessions as e}from"./services/session/storage/schema.mjs";import{t}from"./schema-e0wU_lcV.mjs";import{SessionEventStorageNamespace as n,SessionEventStorageSubjects as r}from"@makaio/framework/contracts";import{index as i,integer as a,sqliteTable as o,text as s}from"drizzle-orm/sqlite-core";const c=o(`session_events`,{id:a(`id`).primaryKey({autoIncrement:!0}),sessionId:s(`session_id`).notNull().references(()=>e.sessionId,{onDelete:`cascade`}),eventId:s(`event_id`).notNull().unique(),timestamp:a(`timestamp`).notNull(),type:s(`type`).notNull(),agentId:s(`agent_id`),adapterId:s(`adapter_id`),originatingMessageId:s(`originating_message_id`),messageId:s(`message_id`).references(()=>t.messageId,{onDelete:`cascade`}),turnId:s(`turn_id`),contentText:s(`content_text`),payload:s(`payload`).notNull()},e=>[i(`idx_events_session_ts`).on(e.sessionId,e.timestamp),i(`idx_events_session_type`).on(e.sessionId,e.type),i(`idx_events_turn`).on(e.turnId),i(`idx_events_originating_message`).on(e.originatingMessageId)]),l={...n,extensions:{drizzle:{sessionEvents:c}}};export{r as n,c as r,l as t};
|