@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
|
@@ -1,333 +1,1203 @@
|
|
|
1
|
-
import { a as ResolveIdResponseSchema, c as ResolveNameResponse, i as ResolveIdResponse, l as ResolveNameResponseSchema, n as ResolveIdRequest, o as ResolveNameRequest, r as ResolveIdRequestSchema, s as ResolveNameRequestSchema, t as AdapterRuntimeSchemas } from "../schemas-
|
|
2
|
-
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-
|
|
3
|
-
import { a as resolveDeterministicAdapterId, i as registerAdapterRuntimeIdentityHandlers, n as RegisteredAdapterRuntimeIdentityHandlers, r as buildDeterministicAdapterId, t as AdapterIdentityRegistry } from "../index-
|
|
4
|
-
import { _ as BindingRecord } from "../index-
|
|
5
|
-
import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-
|
|
6
|
-
import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-
|
|
7
|
-
import { t as CapabilityService } from "../index-
|
|
8
|
-
import { n as CodebaseSubjects, t as CodebaseNamespace } from "../namespace-
|
|
9
|
-
import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseChangedEvent } from "../schemas-
|
|
10
|
-
import { a as CompressResponse, c as CompressionEventSchema, d as ExtractedContextSchema, f as TechnicalDetails, h as TodoEntrySchema, i as CompressRequestSchema, l as CompressionSchemas, m as TodoEntry, n as BugEntrySchema, o as CompressResponseSchema, p as TechnicalDetailsSchema, r as CompressRequest, s as CompressionEvent, t as BugEntry, u as ExtractedContext } from "../schemas-
|
|
11
|
-
import { n as CompressionSubjects, t as CompressionNamespace } from "../namespace-
|
|
12
|
-
import { a as ContextRuleInput, n as ContextRuleAction, t as ContextRule } from "../types-
|
|
13
|
-
import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../schemas-
|
|
14
|
-
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-
|
|
15
|
-
import { A as
|
|
16
|
-
import { $ as
|
|
17
|
-
import { a as registerCompressHandler, c as SessionTurnManager, d as Turn, f as TurnConfig, h as TurnStateChange, i as registerForkHandler, l as TurnCompleteCallback, m as TurnResult, n as routeToAgents, o as registerAttachHandler, p as TurnContext, r as registerMergeHandler, s as registerAbandonHandler, t as routeToAgentsCore, u as TurnCompletionResult } from "../index-
|
|
18
|
-
import { n as activateProviderContextStrict, r as buildProviderContext, t as activateProviderContext } from "../index-
|
|
19
|
-
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-
|
|
20
|
-
import { a as agents, o as sessions } from "../schema-
|
|
21
|
-
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-
|
|
22
|
-
import { t as TurnStorageNamespace } from "../namespace-
|
|
23
|
-
import { n as TurnStorageSubjects } from "../namespace-
|
|
24
|
-
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-
|
|
25
|
-
import { a as createToolContributionProcessor, c as ToolRegistryOptions, d as ToolsetPolicy, f as ToolsetPolicyProvider, l as ToolsWithToolsetsResult, o as ToolRegistry, s as ListToolsFilter, u as ToolsetInfo } from "../index-
|
|
26
|
-
import { t as ToolApprovalService } from "../index-
|
|
27
|
-
import { t as TrayMenuService } from "../index-
|
|
28
|
-
import { a as TrayMenuGroupSchema, c as TrayMenuListEntry, d as TrayMenuSchemas, f as TrayMenuSectionSchema, i as TrayMenuGroupEntrySchema, l as TrayMenuListEntrySchema, n as TrayMenuEntrySchema, o as TrayMenuItemClicked, r as TrayMenuGroup, s as TrayMenuItemClickedSchema, t as TrayMenuEntry, u as TrayMenuMetadataSchema } from "../schemas-
|
|
29
|
-
import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../namespace-
|
|
30
|
-
import { C as ModelRegistrySchemas, S as ModelRegistrySchema, T as ProviderModelOverrideSchema, _ as ModelRegistryGetLabModelsResponse, a as ModelRegistryService, b as ModelRegistryRefreshRequest, c as IModelRegistryFetcher, d as ModelRegistry, f as ModelRegistryCheckModelInProvidersRequest, g as ModelRegistryGetLabModelsRequest, h as ModelRegistryGetForProviderResponse, i as ModelRegistryProviderNotFoundError, l as ModelRegistryNamespace, m as ModelRegistryGetForProviderRequest, n as CachedRegistryFetcher, o as ModelRegistryServiceOptions, p as ModelRegistryCheckModelInProvidersResponse, r as FallbackRegistryFetcher, s as IModelRegistryCache, t as mergeModelMetadata, u as ModelRegistrySubjects, v as ModelRegistryGetProviderModelsRequest, w as ProviderModelOverride, x as ModelRegistryRefreshResponse, y as ModelRegistryGetProviderModelsResponse } from "../index-
|
|
31
|
-
import { a as
|
|
32
|
-
import { n as
|
|
33
|
-
import {
|
|
34
|
-
import { n as
|
|
1
|
+
import { a as ResolveIdResponseSchema, c as ResolveNameResponse, i as ResolveIdResponse, l as ResolveNameResponseSchema, n as ResolveIdRequest, o as ResolveNameRequest, r as ResolveIdRequestSchema, s as ResolveNameRequestSchema, t as AdapterRuntimeSchemas } from "../schemas-DaRSfYLf.mjs";
|
|
2
|
+
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-CTm3nEvh.mjs";
|
|
3
|
+
import { a as resolveDeterministicAdapterId, i as registerAdapterRuntimeIdentityHandlers, n as RegisteredAdapterRuntimeIdentityHandlers, r as buildDeterministicAdapterId, t as AdapterIdentityRegistry } from "../index-soFznFCy2.mjs";
|
|
4
|
+
import { _ as BindingRecord } from "../index-B_zQC98V.mjs";
|
|
5
|
+
import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-j7ivZ2HI.mjs";
|
|
6
|
+
import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-CaaNnKcR.mjs";
|
|
7
|
+
import { t as CapabilityService } from "../index-Cs0kZXIz2.mjs";
|
|
8
|
+
import { n as CodebaseSubjects, t as CodebaseNamespace } from "../namespace-CaoZ3S78.mjs";
|
|
9
|
+
import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseChangedEvent } from "../schemas-Bd0OjRQf.mjs";
|
|
10
|
+
import { a as CompressResponse, c as CompressionEventSchema, d as ExtractedContextSchema, f as TechnicalDetails, h as TodoEntrySchema, i as CompressRequestSchema, l as CompressionSchemas, m as TodoEntry, n as BugEntrySchema, o as CompressResponseSchema, p as TechnicalDetailsSchema, r as CompressRequest, s as CompressionEvent, t as BugEntry, u as ExtractedContext } from "../schemas-CDBSjg7o.mjs";
|
|
11
|
+
import { n as CompressionSubjects, t as CompressionNamespace } from "../namespace-IV1QK__V.mjs";
|
|
12
|
+
import { a as ContextRuleInput, n as ContextRuleAction, t as ContextRule, x as Condition } from "../types-CCdqjeuH.mjs";
|
|
13
|
+
import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../schemas-C46QfKzv.mjs";
|
|
14
|
+
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-CxhsoFUP.mjs";
|
|
15
|
+
import { A as StatusResponseSchema, C as SpawnRequest, D as StatusRequest, E as SpawnResponseSchema, M as StopRequestSchema, N as StopResponse, O as StatusRequestSchema, P as StopResponseSchema, S as ContainerStoppedSchema, T as SpawnResponse, _ as ContainerStarted, b as ContainerStateSchema, c as ContainerCreatedSchema, d as ContainerIsolatedSpawnRequest, f as ContainerIsolatedSpawnRequestSchema, g as ContainerRuntimeSchema, h as ContainerRuntime, i as DockerSubjects, j as StopRequest, k as StatusResponse, l as ContainerDestroyed, m as ContainerLocalSpawnRequestSchema, n as ContainerSpawnSubjects, p as ContainerLocalSpawnRequest, r as DockerNamespace, s as ContainerCreated, t as ContainerSpawnNamespace, u as ContainerDestroyedSchema, v as ContainerStartedSchema, w as SpawnRequestSchema, x as ContainerStopped, y as ContainerState } from "../index-CCGVh9BF2.mjs";
|
|
16
|
+
import { $ as registerMemoryAgentStorage, A as registerDrizzleImportCursorStorage, At as buildRecoveryContext, B as SessionPreviewMaps, Bt as AdapterRegistry, C as registerMemoryMessageStorage, Ct as buildTurnInitiator, D as turns, Dt as ensureAgentModel, E as SelectTurn, Et as ensureAgentCwd, F as registerDrizzleSessionEventStorage, Ft as getOrCreateSession, G as SearchSessionRow, H as mapAgentsBySession, Ht as SessionOrchestrator, I as registerMemorySessionEventStorage, It as resolveTargetAgents, J as fetchPreviewBySession, K as fetchAgentsBySession, L as InsertSessionEvent, Lt as extractTextContent, M as EventTransform, Mt as resolveExecutionTarget, N as SessionLogger, Nt as resolveModelCapabilities, O as registerMemoryTurnStorage, Ot as recoverAgent, P as SessionLoggerOptions, Pt as findTurnByAgent, Q as registerDrizzleAgentStorage, R as SelectSessionEvent, Rt as normalizeToBlocks, S as messages, St as SessionContextWindowState, T as InsertTurn, Tt as buildRecoveryContextWithPipeline, U as mapToSession, Ut as registerCoreSessionServiceHandlers, V as fetchSessionPreviewMaps, Vt as ISessionOrchestrator, W as SearchFilters, Wt as MakaioSessionService, X as parseForkTransforms, Y as mapRowToSession, Z as registerFtsSearchHandler, _ as registerDrizzleMessageRoutingStorage, _t as registerGetStatusCountsHandler, a as kindToBranchKind, at as createSessionExtensionContext, b as InsertMessage, bt as AgentContextState, c as registerSpawningToolCallResolver, ct as FallbackRuntimeOptions, d as MakaioSession, dt as normalizeSelectionString, et as registerDrizzleSessionStorage, f as MakaioSessionConfig, ft as resolveAdapterNameById, g as messageRouting, gt as actionRegistry, h as SelectMessageRouting, ht as resetBuiltInActionsRegistration, i as ContextAssemblyResult, it as SessionExtensionContextImpl, j as importCursors, jt as resolveAdapterId, k as registerDrizzleTurnStorage, kt as verifyAndRecoverAgents, l as registerCompressLineageResolver, lt as pickFallbackRuntimeOptions, m as InsertMessageRouting, mt as registerBuiltInActions, n as buildSessionContext, nt as AgentStorageNamespace, ot as SessionBridge, p as StartTurnOptions, pt as registerListActionsHandler, q as fetchMessageCountsBySession, r as BuildContextOptions, rt as AgentStorageSubjects, st as assembleForkContext, t as getFullConversation, tt as registerMemorySessionStorage, u as registerParentResolver, ut as CONNECTOR_SWAP_DEFAULT_PIPELINE, v as MessageRoutingNamespace, vt as registerResumeHandler, w as registerDrizzleMessageStorage, wt as RecoveryConfig, x as SelectMessage, xt as ContextWindowTrackerConfig, y as MessageRoutingSubjects, yt as ContextWindowTracker, z as sessionEvents, zt as TurnContextEnricher } from "../index-DBw-89vC2.mjs";
|
|
17
|
+
import { a as registerCompressHandler, c as SessionTurnManager, d as Turn, f as TurnConfig, h as TurnStateChange, i as registerForkHandler, l as TurnCompleteCallback, m as TurnResult, n as routeToAgents, o as registerAttachHandler, p as TurnContext, r as registerMergeHandler, s as registerAbandonHandler, t as routeToAgentsCore, u as TurnCompletionResult } from "../index-DGBu6bHi2.mjs";
|
|
18
|
+
import { n as activateProviderContextStrict, r as buildProviderContext, t as activateProviderContext } from "../index-vtXJuwrz.mjs";
|
|
19
|
+
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-5QQqbF-B.mjs";
|
|
20
|
+
import { a as agents, o as sessions } from "../schema-M5YTvSAG.mjs";
|
|
21
|
+
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-TyiTsLFv.mjs";
|
|
22
|
+
import { t as TurnStorageNamespace } from "../namespace-DgqkaOVu.mjs";
|
|
23
|
+
import { n as TurnStorageSubjects } from "../namespace-DD8Oiqo7.mjs";
|
|
24
|
+
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-Dr8K0MCp.mjs";
|
|
25
|
+
import { a as createToolContributionProcessor, c as ToolRegistryOptions, d as ToolsetPolicy, f as ToolsetPolicyProvider, l as ToolsWithToolsetsResult, o as ToolRegistry, s as ListToolsFilter, u as ToolsetInfo } from "../index-CLpjm52M.mjs";
|
|
26
|
+
import { t as ToolApprovalService } from "../index-BVgfS-AJ.mjs";
|
|
27
|
+
import { t as TrayMenuService } from "../index-DKia0MX1.mjs";
|
|
28
|
+
import { a as TrayMenuGroupSchema, c as TrayMenuListEntry, d as TrayMenuSchemas, f as TrayMenuSectionSchema, i as TrayMenuGroupEntrySchema, l as TrayMenuListEntrySchema, n as TrayMenuEntrySchema, o as TrayMenuItemClicked, r as TrayMenuGroup, s as TrayMenuItemClickedSchema, t as TrayMenuEntry, u as TrayMenuMetadataSchema } from "../schemas-ClOOT1W6.mjs";
|
|
29
|
+
import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../namespace-BM7Djng9.mjs";
|
|
30
|
+
import { C as ModelRegistrySchemas, S as ModelRegistrySchema, T as ProviderModelOverrideSchema, _ as ModelRegistryGetLabModelsResponse, a as ModelRegistryService, b as ModelRegistryRefreshRequest, c as IModelRegistryFetcher, d as ModelRegistry, f as ModelRegistryCheckModelInProvidersRequest, g as ModelRegistryGetLabModelsRequest, h as ModelRegistryGetForProviderResponse, i as ModelRegistryProviderNotFoundError, l as ModelRegistryNamespace, m as ModelRegistryGetForProviderRequest, n as CachedRegistryFetcher, o as ModelRegistryServiceOptions, p as ModelRegistryCheckModelInProvidersResponse, r as FallbackRegistryFetcher, s as IModelRegistryCache, t as mergeModelMetadata, u as ModelRegistrySubjects, v as ModelRegistryGetProviderModelsRequest, w as ProviderModelOverride, x as ModelRegistryRefreshResponse, y as ModelRegistryGetProviderModelsResponse } from "../index-U-A8eyGT.mjs";
|
|
31
|
+
import { a as InternalPendingRequest, c as SubagentServiceToken, i as InputResolver, l as subagentServicePackage, n as TrackOptions, o as SpawnOptions, r as AwaitResult, s as TrackedSubagent, t as SubagentManager, u as SubagentService } from "../index-BGfWS6GE.mjs";
|
|
32
|
+
import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../schemas-DATniTHb.mjs";
|
|
33
|
+
import { n as PreferencesSubjects, t as PreferencesNamespace } from "../storage-namespace-BXkoh5Sy.mjs";
|
|
34
|
+
import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../schemas-DiYVzG6e.mjs";
|
|
35
|
+
import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-EQniz-Aw.mjs";
|
|
35
36
|
import * as _$zod from "zod";
|
|
37
|
+
import { z } from "zod";
|
|
36
38
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
37
39
|
import { MakaioError } from "@makaio/framework/core";
|
|
38
40
|
import { IMakaioBus } from "@makaio/framework/bus";
|
|
39
41
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
40
|
-
import { AgentResolutionContext, CanonicalModelResolvedSelection, MakaioNodeExtension, ProviderDefinition, ResolvableCanonicalModel } from "@makaio/framework/contracts";
|
|
42
|
+
import { AgentResolutionContext, ArtifactKindRegistration, ArtifactLifecycleHookRegistration, ArtifactObservation, ArtifactProjectionPolicy, ArtifactRevision, CanonicalModelResolvedSelection, MakaioNodeExtension, ProviderDefinition, RegisteredStepBlock, RegisteredTriggerBlock, RelationTypeRegistration, ResolvableCanonicalModel, TransitionActionFactory, TransitionActionInvocation, TransitionEvaluationContext, TransitionEventType, TransitionRuleDefinition, TransitionRuleDefinitionSchema, WorkflowBlockCollection } from "@makaio/framework/contracts";
|
|
41
43
|
import { BaseService } from "@makaio/framework/service-base";
|
|
42
44
|
import * as _$drizzle_orm_sqlite_core0 from "drizzle-orm/sqlite-core";
|
|
43
45
|
import * as _$_makaio_storage_core0 from "@makaio/framework/storage";
|
|
44
46
|
import * as _$_makaio_ai_adapters_core0 from "@makaio/framework/adapters";
|
|
47
|
+
import { FacetNamespaceRegistration } from "@makaio/framework/contracts/facet";
|
|
48
|
+
import { SurfaceBindingRegistration } from "@makaio/framework/contracts/materialization";
|
|
49
|
+
import { GitService } from "@makaio/framework/git";
|
|
50
|
+
import { ContributionProcessor } from "@makaio/framework/kernel";
|
|
45
51
|
import * as _$type_fest0 from "type-fest";
|
|
46
52
|
import * as _$zod_v4_core0 from "zod/v4/core";
|
|
47
53
|
|
|
48
|
-
//#region
|
|
49
|
-
/**
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
54
|
+
//#region services/core/src/artifact/artifact-schema-registry.d.ts
|
|
55
|
+
/**
|
|
56
|
+
* Identifies the provenance tier of a kind contributor.
|
|
57
|
+
*
|
|
58
|
+
* - `'extension'` — registered by a runtime extension; highest priority
|
|
59
|
+
* - `'factory-repo'` — declared in a factory-owned repository; medium priority
|
|
60
|
+
* - `'target-repo'` — declared in a target/application repository; lowest priority
|
|
61
|
+
*/
|
|
62
|
+
type ArtifactKindRegistrationSource = 'extension' | 'factory-repo' | 'target-repo';
|
|
63
|
+
/**
|
|
64
|
+
* Identifies the entity that owns a batch of kind registrations.
|
|
65
|
+
*
|
|
66
|
+
* `ownerKey` is an opaque, owner-defined string that uniquely distinguishes
|
|
67
|
+
* one owner from all others at the same source tier (e.g. the extension
|
|
68
|
+
* name, or the repository slug).
|
|
69
|
+
*/
|
|
70
|
+
interface ArtifactKindRegistrationOwner {
|
|
71
|
+
/** Provenance tier of the contributing entity. */
|
|
72
|
+
readonly source: ArtifactKindRegistrationSource;
|
|
73
|
+
/** Stable identifier for this specific owner within its source tier. */
|
|
74
|
+
readonly ownerKey: string;
|
|
62
75
|
}
|
|
63
|
-
/** Result of bare model default resolution. */
|
|
64
|
-
type DefaultModelResolution = {
|
|
65
|
-
readonly kind: 'resolved';
|
|
66
|
-
readonly target: ResolvedDefaultTarget;
|
|
67
|
-
} | {
|
|
68
|
-
readonly kind: 'ambiguous';
|
|
69
|
-
readonly matches: AmbiguousMatch[];
|
|
70
|
-
} | {
|
|
71
|
-
readonly kind: 'not-found';
|
|
72
|
-
};
|
|
73
76
|
/**
|
|
74
|
-
*
|
|
77
|
+
* In-process registry for artifact kind definitions and relation type vocabulary.
|
|
75
78
|
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
79
|
+
* Exposes bus RPCs for kind and relation-type registration and listing, and
|
|
80
|
+
* emits `artifact.kind.changed` events when a kind registration is stored,
|
|
81
|
+
* updated, or removed. Core relation vocabulary is seeded during `init()`.
|
|
82
|
+
*
|
|
83
|
+
* Extensions register artifact kinds through this service directly or via
|
|
84
|
+
* {@link ArtifactSubjects}; the registry rejects conflicting duplicate
|
|
85
|
+
* relation type definitions.
|
|
86
|
+
*
|
|
87
|
+
* ### Ownership and priority
|
|
88
|
+
*
|
|
89
|
+
* Each kind slot may have multiple contributing owners. The active registration
|
|
90
|
+
* is the one from the highest-priority owner. Priority order (highest → lowest):
|
|
91
|
+
* `extension` → `factory-repo` → `target-repo`.
|
|
92
|
+
*
|
|
93
|
+
* Within the `extension` tier, the most recently registered owner wins (LIFO).
|
|
94
|
+
* Within `factory-repo` and `target-repo`, the first registration wins (FIFO),
|
|
95
|
+
* and a same-tier duplicate from a different owner is rejected with a warning.
|
|
96
|
+
*
|
|
97
|
+
* When the winning owner deregisters, the next-highest owner automatically
|
|
98
|
+
* becomes active without requiring a re-registration.
|
|
78
99
|
*/
|
|
79
|
-
|
|
80
|
-
/** List all enabled adapter names. */
|
|
81
|
-
listEnabledAdapterNames(): Promise<string[]>;
|
|
100
|
+
declare class ArtifactSchemaRegistry extends BaseService {
|
|
82
101
|
/**
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*/
|
|
86
|
-
getDefaultBinding(adapterName: string): Promise<BindingRecord | undefined>;
|
|
87
|
-
/**
|
|
88
|
-
* Find a provider config by name (case-insensitive slug match). Returns minimal identity.
|
|
89
|
-
* @param name - The provider config name to search for
|
|
102
|
+
* Winner cache: the currently active registration for each kind key.
|
|
103
|
+
* Kept in sync with `kindContributions` via `recomputeKindWinner`.
|
|
90
104
|
*/
|
|
91
|
-
|
|
92
|
-
readonly id: string;
|
|
93
|
-
} | undefined>;
|
|
105
|
+
private readonly kinds;
|
|
94
106
|
/**
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
* @param enabledAdapterNames - Optional enabled adapter names already loaded by the caller
|
|
107
|
+
* All contributions indexed by `kindKey → ownerId → contribution`.
|
|
108
|
+
* The winner cache is derived from this map.
|
|
98
109
|
*/
|
|
99
|
-
|
|
110
|
+
private readonly kindContributions;
|
|
111
|
+
/** Monotone counter for contribution insertion order. */
|
|
112
|
+
private nextKindContributionOrder;
|
|
113
|
+
private readonly relationTypes;
|
|
100
114
|
/**
|
|
101
|
-
*
|
|
102
|
-
* @param providerConfigId - The provider config ID to list bindings for
|
|
115
|
+
* @param bus - Bus instance used for handler registration and event emission.
|
|
103
116
|
*/
|
|
104
|
-
|
|
117
|
+
constructor(bus: IMakaioBus);
|
|
105
118
|
/**
|
|
106
|
-
*
|
|
119
|
+
* Service initialisation hook.
|
|
107
120
|
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
* Only the config's `id` is consumed by the resolver.
|
|
111
|
-
* @param definitionId - The provider definition ID to look up
|
|
121
|
+
* Seeds core relation vocabulary and registers bus handlers for the
|
|
122
|
+
* artifact kind and relation-type RPCs.
|
|
112
123
|
*/
|
|
113
|
-
|
|
114
|
-
readonly id: string;
|
|
115
|
-
} | undefined>;
|
|
124
|
+
protected onInit(): Promise<void>;
|
|
116
125
|
/**
|
|
117
|
-
*
|
|
126
|
+
* Compares two contributions to determine their relative priority.
|
|
118
127
|
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
128
|
+
* Returns a negative number when `a` should rank above `b` (win), positive
|
|
129
|
+
* when `b` should rank above `a`, and zero when they are equivalent.
|
|
130
|
+
*
|
|
131
|
+
* Within the `extension` tier, the most recently registered contribution
|
|
132
|
+
* wins (descending order). For all other tiers, the earliest registration
|
|
133
|
+
* wins (ascending order).
|
|
134
|
+
* @param a - First contribution.
|
|
135
|
+
* @param b - Second contribution.
|
|
136
|
+
* @returns Sort comparator value.
|
|
124
137
|
*/
|
|
125
|
-
|
|
126
|
-
readonly id: string;
|
|
127
|
-
} | undefined>;
|
|
138
|
+
private compareKindContributions;
|
|
128
139
|
/**
|
|
129
|
-
*
|
|
140
|
+
* Find an existing same-tier repo contribution that owns a kind slot.
|
|
130
141
|
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
142
|
+
* Repo-sourced kinds are first-wins within their tier; this helper keeps
|
|
143
|
+
* single registration and owner-batch replacement on the same collision rule.
|
|
144
|
+
* @param contributions - Current contributions for the kind slot.
|
|
145
|
+
* @param owner - Candidate owner being registered.
|
|
146
|
+
* @param candidateOrder - Ordering value the candidate would retain or receive.
|
|
147
|
+
* @returns Conflicting contribution, or `undefined` when the candidate can register.
|
|
133
148
|
*/
|
|
134
|
-
|
|
135
|
-
}
|
|
136
|
-
//#endregion
|
|
137
|
-
//#region packages/services/core/src/canonical-model/resolver.d.ts
|
|
138
|
-
/** Adapter selection returned by framework canonical-model resolution. */
|
|
139
|
-
type ResolvedSelection = CanonicalModelResolvedSelection;
|
|
140
|
-
/**
|
|
141
|
-
* Resolves a framework-resolvable canonical model to a concrete adapter selection.
|
|
142
|
-
*
|
|
143
|
-
* Uses the dependency interface for all lookups - bus wiring lives in the
|
|
144
|
-
* service, not here.
|
|
145
|
-
*/
|
|
146
|
-
declare class CanonicalModelResolver {
|
|
147
|
-
private readonly deps;
|
|
149
|
+
private findSameTierRepoConflict;
|
|
148
150
|
/**
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
+
* Recomputes the winner for a kind slot from its current contributions and
|
|
152
|
+
* emits a `kind.changed` event when the active registration changes.
|
|
153
|
+
* @param key - Composite kind key produced by {@link kindKey}.
|
|
151
154
|
*/
|
|
152
|
-
|
|
155
|
+
private recomputeKindWinner;
|
|
153
156
|
/**
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
* @param
|
|
157
|
-
* @
|
|
158
|
-
* @throws CanonicalModelResolutionError when resolution fails
|
|
157
|
+
* Emits a `kind.changed` event derived from a composite key, but only
|
|
158
|
+
* when there was a previous registration to signal the change against.
|
|
159
|
+
* @param key - Composite kind key produced by {@link kindKey}.
|
|
160
|
+
* @param previous - The registration that was previously active, if any.
|
|
159
161
|
*/
|
|
160
|
-
|
|
162
|
+
private emitKindChangedFromKey;
|
|
161
163
|
/**
|
|
162
|
-
*
|
|
163
|
-
*
|
|
164
|
-
*
|
|
164
|
+
* Store a kind registration attributed to `owner`, applying source-priority
|
|
165
|
+
* resolution when multiple owners contribute the same kind slot.
|
|
166
|
+
*
|
|
167
|
+
* Bus RPC registrations (without an explicit owner) are attributed to
|
|
168
|
+
* {@link EXTENSION_BUS_OWNER} and treated as extension-tier contributions.
|
|
169
|
+
*
|
|
170
|
+
* Same-tier repo conflicts (two distinct factory-repo or target-repo owners
|
|
171
|
+
* for the same slot) are rejected with a console warning; the first owner
|
|
172
|
+
* registered at that tier retains ownership.
|
|
173
|
+
* @param registration - Kind registration payload.
|
|
174
|
+
* @param owner - Owner identity. Defaults to the extension bus owner.
|
|
165
175
|
*/
|
|
166
|
-
|
|
176
|
+
registerKind(registration: ArtifactKindRegistration, owner?: ArtifactKindRegistrationOwner): void;
|
|
167
177
|
/**
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
*
|
|
178
|
+
* Remove a kind registration by `kind + schemaVersion` for the given owner.
|
|
179
|
+
*
|
|
180
|
+
* If the deregistered owner was the active winner, the next-highest owner
|
|
181
|
+
* automatically becomes active. Bus RPC callers without an explicit owner
|
|
182
|
+
* are attributed to {@link EXTENSION_BUS_OWNER}.
|
|
183
|
+
* @param kind - Kind discriminator string.
|
|
184
|
+
* @param schemaVersion - Schema version string.
|
|
185
|
+
* @param owner - Owner identity. Defaults to the extension bus owner.
|
|
173
186
|
*/
|
|
174
|
-
|
|
187
|
+
deregisterKind(kind: string, schemaVersion: string, owner?: ArtifactKindRegistrationOwner): void;
|
|
175
188
|
/**
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
*
|
|
189
|
+
* Atomically replace all kind registrations for a single owner.
|
|
190
|
+
*
|
|
191
|
+
* All existing contributions from `owner` are removed across every kind
|
|
192
|
+
* slot before the new registrations are applied. Kind slots affected by
|
|
193
|
+
* the replacement recompute their winner after all changes are applied.
|
|
194
|
+
*
|
|
195
|
+
* Other owners' contributions are unaffected.
|
|
196
|
+
* @param owner - The owner whose registrations are being replaced.
|
|
197
|
+
* @param registrations - The new set of kind registrations for this owner.
|
|
181
198
|
*/
|
|
182
|
-
|
|
199
|
+
replaceKindRegistrationsForOwner(owner: ArtifactKindRegistrationOwner, registrations: readonly ArtifactKindRegistration[]): void;
|
|
183
200
|
/**
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
*
|
|
187
|
-
*
|
|
201
|
+
* Store a relation type registration.
|
|
202
|
+
*
|
|
203
|
+
* An identical re-registration (same type and symmetry) is silently accepted.
|
|
204
|
+
* A registration that differs only in symmetry is rejected with an error.
|
|
205
|
+
* @param registration - Relation type registration payload received from the bus RPC.
|
|
206
|
+
* @throws If a conflicting registration for the same type already exists.
|
|
188
207
|
*/
|
|
189
|
-
private
|
|
208
|
+
private storeRelationType;
|
|
190
209
|
/**
|
|
191
|
-
*
|
|
192
|
-
* @param
|
|
193
|
-
* @param
|
|
194
|
-
* @
|
|
195
|
-
* @returns The resolved provider config ID
|
|
210
|
+
* Look up a kind registration by kind string and schema version.
|
|
211
|
+
* @param kind - Kind discriminator string.
|
|
212
|
+
* @param schemaVersion - Schema version string.
|
|
213
|
+
* @returns The registration record, or `undefined` if not found.
|
|
196
214
|
*/
|
|
197
|
-
|
|
215
|
+
getKind(kind: string, schemaVersion: string): ArtifactKindRegistration | undefined;
|
|
198
216
|
/**
|
|
199
|
-
*
|
|
200
|
-
* @param
|
|
201
|
-
* @
|
|
202
|
-
* @param providerLabel - Human-readable label for the provider
|
|
203
|
-
* @returns Void on success
|
|
217
|
+
* Look up a relation type registration by type string.
|
|
218
|
+
* @param type - Relation type string.
|
|
219
|
+
* @returns The registration record, or `undefined` if not found.
|
|
204
220
|
*/
|
|
205
|
-
|
|
221
|
+
getRelationType(type: string): RelationTypeRegistration | undefined;
|
|
206
222
|
/**
|
|
207
|
-
*
|
|
208
|
-
*
|
|
209
|
-
*
|
|
210
|
-
*
|
|
223
|
+
* Service teardown hook.
|
|
224
|
+
*
|
|
225
|
+
* Clears all in-memory registrations so the instance can be garbage-collected
|
|
226
|
+
* without retaining large schema maps.
|
|
211
227
|
*/
|
|
212
|
-
|
|
228
|
+
protected onDestroy(): void;
|
|
213
229
|
}
|
|
214
230
|
//#endregion
|
|
215
|
-
//#region
|
|
231
|
+
//#region services/core/src/artifact/artifact-contribution-processor.d.ts
|
|
216
232
|
/**
|
|
217
|
-
*
|
|
233
|
+
* Create a framework-owned processor for `MakaioExtension.artifactKinds`.
|
|
234
|
+
*
|
|
235
|
+
* Iterates over each declared {@link AnyArtifactKindDefinition} and registers
|
|
236
|
+
* it with the {@link ArtifactSchemaRegistry}. Missing registry is a hard
|
|
237
|
+
* composition error — ensure
|
|
238
|
+
* `artifactSchemaRegistryPackage` is started before extensions that declare
|
|
239
|
+
* artifact kinds.
|
|
240
|
+
* @returns Awaited contribution processor for artifact kind contributions.
|
|
218
241
|
*/
|
|
219
|
-
|
|
242
|
+
declare function createArtifactKindContributionProcessor(): ContributionProcessor;
|
|
243
|
+
//#endregion
|
|
244
|
+
//#region services/core/src/artifact/artifact-lifecycle-hook-registry.d.ts
|
|
220
245
|
/**
|
|
221
|
-
*
|
|
246
|
+
* Result returned by {@link ArtifactLifecycleHookRegistry.runBeforeCreate} and
|
|
247
|
+
* {@link ArtifactLifecycleHookRegistry.runBeforeRevise}.
|
|
248
|
+
*/
|
|
249
|
+
interface RunBeforeResult {
|
|
250
|
+
/** The draft artifact after all guard hooks have applied their patches. */
|
|
251
|
+
readonly draft: ArtifactRevision;
|
|
252
|
+
/** Whether any hook called {@link BeforeArtifactHookContext.skipMaterialization}. */
|
|
253
|
+
readonly skipMaterialization: boolean;
|
|
254
|
+
/**
|
|
255
|
+
* Metadata bag populated by before-hooks.
|
|
256
|
+
*
|
|
257
|
+
* Propagated to the paired after-hook run so hooks can communicate state
|
|
258
|
+
* (e.g. previous field snapshots) across the before/after boundary without
|
|
259
|
+
* re-fetching from storage.
|
|
260
|
+
*/
|
|
261
|
+
readonly meta: Map<string, unknown>;
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* Input accepted by {@link ArtifactLifecycleHookRegistry.runBeforeCreate} and
|
|
265
|
+
* {@link ArtifactLifecycleHookRegistry.runBeforeRevise}.
|
|
266
|
+
*/
|
|
267
|
+
interface RunBeforeInput {
|
|
268
|
+
/** The in-flight draft revision to pass through before-hooks. */
|
|
269
|
+
readonly draft: ArtifactRevision;
|
|
270
|
+
/** The previous revision, present only for `beforeRevise`. */
|
|
271
|
+
readonly previous?: ArtifactRevision;
|
|
272
|
+
/** Kind registration metadata if the kind has been registered. */
|
|
273
|
+
readonly kindRegistration: ArtifactKindRegistration | undefined;
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* Input accepted by {@link ArtifactLifecycleHookRegistry.runAfterCreate},
|
|
277
|
+
* {@link ArtifactLifecycleHookRegistry.runAfterRevise},
|
|
278
|
+
* {@link ArtifactLifecycleHookRegistry.runAfterStatusChanged}, and
|
|
279
|
+
* {@link ArtifactLifecycleHookRegistry.runAfterObservationAdded}.
|
|
280
|
+
*/
|
|
281
|
+
interface RunAfterInput {
|
|
282
|
+
/** The persisted artifact revision that was just written. */
|
|
283
|
+
readonly artifact: ArtifactRevision;
|
|
284
|
+
/** Reference to the previous revision, present only for revise / status-change. */
|
|
285
|
+
readonly previous?: ArtifactRevision;
|
|
286
|
+
/**
|
|
287
|
+
* The observation that was just appended.
|
|
288
|
+
*
|
|
289
|
+
* Present only for {@link ArtifactLifecycleHookRegistry.runAfterObservationAdded}.
|
|
290
|
+
* Forwarded to {@link ArtifactReactionHookContext.observation} so that
|
|
291
|
+
* `afterObservationAdded` hooks can inspect the observation without an
|
|
292
|
+
* additional bus round-trip.
|
|
293
|
+
*/
|
|
294
|
+
readonly observation?: ArtifactObservation;
|
|
295
|
+
/** Kind registration metadata if the kind has been registered. */
|
|
296
|
+
readonly kindRegistration: ArtifactKindRegistration | undefined;
|
|
297
|
+
/** Effective projection policy for this artifact kind. */
|
|
298
|
+
readonly projectionPolicy: ArtifactProjectionPolicy;
|
|
299
|
+
/**
|
|
300
|
+
* Skip the default provider projection tier while preserving custom reactions.
|
|
301
|
+
*
|
|
302
|
+
* The lifecycle writer sets this when a before-hook called
|
|
303
|
+
* `skipMaterialization()`. Hooks at priority `>= 0` still run; hooks at
|
|
304
|
+
* negative priority are the suppressible default-projection tier.
|
|
305
|
+
*/
|
|
306
|
+
readonly skipDefaultProjection?: boolean;
|
|
307
|
+
/**
|
|
308
|
+
* Metadata bag propagated from the paired before-hook run.
|
|
309
|
+
* A mutable `Map` is accepted but exposed as read-only to reaction hooks.
|
|
310
|
+
*/
|
|
311
|
+
readonly meta: Map<string, unknown>;
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* Thrown by {@link ArtifactLifecycleHookRegistry.runBeforeCreate} or
|
|
315
|
+
* {@link ArtifactLifecycleHookRegistry.runBeforeRevise} when a guard hook
|
|
316
|
+
* calls {@link BeforeArtifactHookContext.rejectCreation}.
|
|
222
317
|
*
|
|
223
|
-
*
|
|
318
|
+
* The artifact service catches this error and surfaces it as a rejection to the
|
|
319
|
+
* caller without rolling back any previous side-effects.
|
|
224
320
|
*/
|
|
225
|
-
declare class
|
|
226
|
-
readonly
|
|
227
|
-
readonly
|
|
321
|
+
declare class ArtifactLifecycleHookRejectedError extends Error {
|
|
322
|
+
readonly reason: string;
|
|
323
|
+
readonly hookId: string;
|
|
228
324
|
/**
|
|
229
|
-
*
|
|
230
|
-
* @param
|
|
231
|
-
* @param code - Machine-readable error code for programmatic handling
|
|
232
|
-
* @param suggestions - Fully qualified canonical names the user can try instead
|
|
325
|
+
* @param reason - Human-readable rejection reason supplied by the hook.
|
|
326
|
+
* @param hookId - Stable identifier of the hook that rejected the write.
|
|
233
327
|
*/
|
|
234
|
-
constructor(
|
|
328
|
+
constructor(reason: string, hookId: string);
|
|
235
329
|
}
|
|
236
|
-
//#endregion
|
|
237
|
-
//#region packages/services/core/src/canonical-model/canonical-model-service.d.ts
|
|
238
330
|
/**
|
|
239
|
-
*
|
|
331
|
+
* In-process registry for artifact lifecycle hooks.
|
|
240
332
|
*
|
|
241
|
-
*
|
|
242
|
-
*
|
|
333
|
+
* Maintains a flat list of hook registrations contributed by extension owners.
|
|
334
|
+
* Each call to {@link registerHooks} returns a cleanup function that removes
|
|
335
|
+
* exactly the hooks registered in that call.
|
|
336
|
+
*
|
|
337
|
+
* The bus is accepted at construction time so that reaction hook contexts can
|
|
338
|
+
* issue RPC calls (e.g. `ArtifactSubjects.resolve`) during hook execution.
|
|
243
339
|
*/
|
|
244
|
-
declare class
|
|
340
|
+
declare class ArtifactLifecycleHookRegistry extends BaseService {
|
|
341
|
+
private readonly registrations;
|
|
245
342
|
/**
|
|
246
|
-
*
|
|
247
|
-
* @param bus - Bus instance for request/event handling
|
|
343
|
+
* @param bus - Bus instance passed through to hook context objects.
|
|
248
344
|
*/
|
|
249
|
-
constructor(bus
|
|
345
|
+
constructor(bus: IMakaioBus);
|
|
250
346
|
/**
|
|
251
|
-
*
|
|
347
|
+
* No-op service initialisation hook.
|
|
348
|
+
*
|
|
349
|
+
* The registry requires no bus handlers of its own; it is ready as soon as
|
|
350
|
+
* it is constructed. The hook exists to satisfy the {@link BaseService}
|
|
351
|
+
* lifecycle contract.
|
|
252
352
|
*/
|
|
253
353
|
protected onInit(): Promise<void>;
|
|
254
354
|
/**
|
|
255
|
-
*
|
|
256
|
-
*
|
|
355
|
+
* Service teardown hook.
|
|
356
|
+
*
|
|
357
|
+
* Clears all in-memory hook registrations so the instance can be
|
|
358
|
+
* garbage-collected without retaining hook closures.
|
|
257
359
|
*/
|
|
258
|
-
|
|
360
|
+
protected onDestroy(): void;
|
|
259
361
|
/**
|
|
260
|
-
*
|
|
261
|
-
*
|
|
262
|
-
*
|
|
263
|
-
*
|
|
362
|
+
* Register a set of lifecycle hooks on behalf of an owner.
|
|
363
|
+
*
|
|
364
|
+
* Calling this method again with the same `owner` replaces the previous
|
|
365
|
+
* registration for that owner. The returned cleanup function removes only the
|
|
366
|
+
* hooks registered by this call; it is idempotent.
|
|
367
|
+
* @param owner - Stable owner identifier (typically the extension name).
|
|
368
|
+
* @param hooks - Hook registrations to install.
|
|
369
|
+
* @returns Cleanup function that unregisters the supplied hooks.
|
|
264
370
|
*/
|
|
265
|
-
|
|
371
|
+
registerHooks(owner: string, hooks: readonly ArtifactLifecycleHookRegistration<IMakaioBus>[]): () => void;
|
|
266
372
|
/**
|
|
267
|
-
*
|
|
373
|
+
* Flatten all registered hooks from all owners into a single array.
|
|
374
|
+
* @returns All currently registered hooks.
|
|
375
|
+
*/
|
|
376
|
+
private allHooks;
|
|
377
|
+
/**
|
|
378
|
+
* Build and run all `beforeCreate` hooks against the supplied draft revision.
|
|
268
379
|
*
|
|
269
|
-
*
|
|
270
|
-
*
|
|
271
|
-
*
|
|
272
|
-
*
|
|
273
|
-
* @
|
|
274
|
-
*
|
|
275
|
-
* @
|
|
276
|
-
* @returns Async function that resolves a bare model name to a target
|
|
380
|
+
* Hooks run in descending priority order (highest first). If any hook calls
|
|
381
|
+
* {@link BeforeArtifactHookContext.rejectCreation}, the pipeline stops and
|
|
382
|
+
* throws {@link ArtifactLifecycleHookRejectedError}.
|
|
383
|
+
* @param input - The in-flight draft and optional kind metadata.
|
|
384
|
+
* @returns The final patched revision and a flag indicating whether
|
|
385
|
+
* materialization should be skipped.
|
|
386
|
+
* @throws {@link ArtifactLifecycleHookRejectedError} when a hook rejects the write.
|
|
277
387
|
*/
|
|
278
|
-
|
|
388
|
+
runBeforeCreate(input: RunBeforeInput): Promise<RunBeforeResult>;
|
|
279
389
|
/**
|
|
280
|
-
*
|
|
281
|
-
*
|
|
282
|
-
*
|
|
283
|
-
* @param
|
|
284
|
-
* @
|
|
285
|
-
* @
|
|
286
|
-
* @param findConfigForDefinitionAndAdapter - Dep for finding a config bound to a specific adapter
|
|
287
|
-
* @returns Array of candidates for this adapter
|
|
390
|
+
* Build and run all `beforeRevise` hooks against the supplied draft revision.
|
|
391
|
+
*
|
|
392
|
+
* Semantics are identical to {@link runBeforeCreate}.
|
|
393
|
+
* @param input - The in-flight draft and optional kind metadata.
|
|
394
|
+
* @returns The final patched revision and skip-materialization flag.
|
|
395
|
+
* @throws {@link ArtifactLifecycleHookRejectedError} when a hook rejects the write.
|
|
288
396
|
*/
|
|
289
|
-
|
|
397
|
+
runBeforeRevise(input: RunBeforeInput): Promise<RunBeforeResult>;
|
|
290
398
|
/**
|
|
291
|
-
*
|
|
399
|
+
* Shared implementation for before-hook pipelines.
|
|
400
|
+
* @param event - The specific before-hook event type.
|
|
401
|
+
* @param input - Input carrying the draft and context fields.
|
|
402
|
+
* @returns The final patched revision and skip-materialization flag.
|
|
403
|
+
*/
|
|
404
|
+
private runBeforeHooks;
|
|
405
|
+
/**
|
|
406
|
+
* Run all `afterCreate` reaction hooks for a newly created artifact.
|
|
292
407
|
*
|
|
293
|
-
*
|
|
294
|
-
* @
|
|
295
|
-
*
|
|
408
|
+
* Hooks run in descending priority order (highest first). Any hook may call
|
|
409
|
+
* {@link ArtifactReactionHookContext.preventDefault} to suppress subsequent
|
|
410
|
+
* lower-priority hooks. Errors thrown by individual hooks are caught and
|
|
411
|
+
* logged; they never propagate to the caller.
|
|
412
|
+
* @param input - Reaction context fields for the completed create.
|
|
296
413
|
*/
|
|
297
|
-
|
|
414
|
+
runAfterCreate(input: RunAfterInput): Promise<void>;
|
|
298
415
|
/**
|
|
299
|
-
*
|
|
300
|
-
* @param
|
|
301
|
-
* @returns Route identity key
|
|
416
|
+
* Run all `afterRevise` reaction hooks for a revised artifact.
|
|
417
|
+
* @param input - Reaction context fields for the completed revise.
|
|
302
418
|
*/
|
|
303
|
-
|
|
419
|
+
runAfterRevise(input: RunAfterInput): Promise<void>;
|
|
304
420
|
/**
|
|
305
|
-
*
|
|
306
|
-
* @
|
|
421
|
+
* Run all `afterStatusChanged` reaction hooks.
|
|
422
|
+
* @param input - Reaction context fields for the status change.
|
|
307
423
|
*/
|
|
308
|
-
|
|
424
|
+
runAfterStatusChanged(input: RunAfterInput): Promise<void>;
|
|
425
|
+
/**
|
|
426
|
+
* Run all `afterObservationAdded` reaction hooks.
|
|
427
|
+
* @param input - Reaction context fields for the observation.
|
|
428
|
+
*/
|
|
429
|
+
runAfterObservationAdded(input: RunAfterInput): Promise<void>;
|
|
430
|
+
/**
|
|
431
|
+
* Shared implementation for after-hook pipelines.
|
|
432
|
+
* @param event - The specific after-hook event type.
|
|
433
|
+
* @param semanticEvent - The semantic event name passed to hook contexts.
|
|
434
|
+
* @param input - Reaction context fields.
|
|
435
|
+
*/
|
|
436
|
+
private runAfterHooks;
|
|
309
437
|
}
|
|
310
438
|
//#endregion
|
|
311
|
-
//#region
|
|
439
|
+
//#region services/core/src/artifact/artifact-lifecycle-hook-contribution-processor.d.ts
|
|
312
440
|
/**
|
|
313
|
-
*
|
|
441
|
+
* Create a framework-owned processor for `MakaioExtension.artifactLifecycleHooks`
|
|
442
|
+
* and for live hooks declared on artifact kind definitions.
|
|
314
443
|
*
|
|
315
|
-
*
|
|
444
|
+
* For each activating extension, this processor:
|
|
445
|
+
* 1. Collects hooks from `artifactLifecycleHooks.createHooks(ctx)` (if present).
|
|
446
|
+
* 2. Collects live hooks from every `artifactKinds.kinds[*].hooks.hooks` entry
|
|
447
|
+
* (if present).
|
|
448
|
+
* 3. Registers the combined set with the artifact lifecycle hook registry
|
|
449
|
+
* under the extension name.
|
|
450
|
+
*
|
|
451
|
+
* A missing registry is a hard composition error — ensure
|
|
452
|
+
* `artifactLifecycleHookRegistryPackage` is started before extensions that
|
|
453
|
+
* declare artifact lifecycle hooks.
|
|
454
|
+
* @returns Awaited contribution processor for artifact lifecycle hook contributions.
|
|
316
455
|
*/
|
|
317
|
-
declare
|
|
456
|
+
declare function createArtifactLifecycleHookContributionProcessor(): ContributionProcessor;
|
|
318
457
|
//#endregion
|
|
319
|
-
//#region
|
|
320
|
-
/**
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
458
|
+
//#region services/core/src/facet/facet-namespace-registry.d.ts
|
|
459
|
+
/**
|
|
460
|
+
* In-process registry for facet namespace definitions.
|
|
461
|
+
*
|
|
462
|
+
* Exposes bus RPCs for namespace registration and listing, and emits
|
|
463
|
+
* `namespace.changed` events when a namespace is stored or removed. Rejects
|
|
464
|
+
* conflicting duplicate registrations (same namespace identifier, different
|
|
465
|
+
* definition). Identical re-registrations are silently accepted.
|
|
466
|
+
*
|
|
467
|
+
* Extensions register facet namespaces through this service directly or via
|
|
468
|
+
* {@link FacetSubjects}; the registry rejects conflicting duplicate
|
|
469
|
+
* namespace definitions.
|
|
470
|
+
*/
|
|
471
|
+
declare class FacetNamespaceRegistry extends BaseService {
|
|
472
|
+
private readonly namespaces;
|
|
473
|
+
/**
|
|
474
|
+
* @param bus - Bus instance used for handler registration and event emission.
|
|
475
|
+
*/
|
|
476
|
+
constructor(bus: IMakaioBus);
|
|
477
|
+
/**
|
|
478
|
+
* Service initialisation hook.
|
|
479
|
+
*
|
|
480
|
+
* Registers bus handlers for the facet namespace registration and listing
|
|
481
|
+
* RPCs.
|
|
482
|
+
*/
|
|
483
|
+
protected onInit(): Promise<void>;
|
|
484
|
+
/**
|
|
485
|
+
* Store a namespace registration, rejecting conflicting duplicates.
|
|
486
|
+
*
|
|
487
|
+
* An identical re-registration (same namespace and all fields) is silently
|
|
488
|
+
* accepted. A registration that differs in any field is rejected with an error.
|
|
489
|
+
*
|
|
490
|
+
* The bus RPC handler delegates here; the contribution processor also calls
|
|
491
|
+
* this directly via {@link registerNamespace}.
|
|
492
|
+
* @param registration - Namespace registration payload to store.
|
|
493
|
+
* @throws If a conflicting registration for the same namespace already exists.
|
|
494
|
+
*/
|
|
495
|
+
registerNamespace(registration: FacetNamespaceRegistration): void;
|
|
496
|
+
/**
|
|
497
|
+
* Remove a namespace registration by namespace identifier.
|
|
498
|
+
* @param namespace - Namespace identifier to remove.
|
|
499
|
+
*/
|
|
500
|
+
deregisterNamespace(namespace: string): void;
|
|
501
|
+
/**
|
|
502
|
+
* Look up a namespace registration by namespace identifier.
|
|
503
|
+
* @param namespace - Namespace identifier to look up.
|
|
504
|
+
* @returns The registration record, or `undefined` if not found.
|
|
505
|
+
*/
|
|
506
|
+
getNamespace(namespace: string): FacetNamespaceRegistration | undefined;
|
|
507
|
+
/**
|
|
508
|
+
* Service teardown hook.
|
|
509
|
+
*
|
|
510
|
+
* Clears all in-memory registrations so the instance can be garbage-collected
|
|
511
|
+
* without retaining large registration maps.
|
|
512
|
+
*/
|
|
513
|
+
protected onDestroy(): void;
|
|
514
|
+
}
|
|
515
|
+
//#endregion
|
|
516
|
+
//#region services/core/src/facet/facet-contribution-processor.d.ts
|
|
517
|
+
/**
|
|
518
|
+
* Create a framework-owned processor for `MakaioExtension.facetNamespaces`.
|
|
519
|
+
*
|
|
520
|
+
* Iterates over each declared {@link FacetNamespaceDefinition} and registers
|
|
521
|
+
* it directly with the {@link FacetNamespaceRegistry} service. Missing registry
|
|
522
|
+
* is a hard composition error — ensure `facetNamespaceRegistryPackage` is
|
|
523
|
+
* started before extensions that declare facet namespaces.
|
|
524
|
+
* @returns Awaited contribution processor for facet namespace contributions.
|
|
525
|
+
*/
|
|
526
|
+
declare function createFacetNamespaceContributionProcessor(): ContributionProcessor;
|
|
527
|
+
//#endregion
|
|
528
|
+
//#region services/core/src/materialization/surface-binding-registry.d.ts
|
|
529
|
+
/**
|
|
530
|
+
* In-process registry for surface binding definitions.
|
|
531
|
+
*
|
|
532
|
+
* Exposes bus RPCs for surface binding registration and listing, and emits
|
|
533
|
+
* `surfaceBinding.changed` events when a binding is stored or removed. Rejects
|
|
534
|
+
* conflicting duplicate registrations (same binding `id`, different
|
|
535
|
+
* definition). Identical re-registrations are silently accepted.
|
|
536
|
+
*
|
|
537
|
+
* Extensions register surface bindings through this service directly or via
|
|
538
|
+
* {@link MaterializationSubjects}; the registry rejects conflicting duplicate
|
|
539
|
+
* binding definitions.
|
|
540
|
+
*/
|
|
541
|
+
declare class SurfaceBindingRegistry extends BaseService {
|
|
542
|
+
private readonly bindings;
|
|
543
|
+
/**
|
|
544
|
+
* @param bus - Bus instance used for handler registration and event emission.
|
|
545
|
+
*/
|
|
546
|
+
constructor(bus: IMakaioBus);
|
|
547
|
+
/**
|
|
548
|
+
* Service initialisation hook.
|
|
549
|
+
*
|
|
550
|
+
* Registers bus handlers for the surface binding registration and listing
|
|
551
|
+
* RPCs.
|
|
552
|
+
*/
|
|
553
|
+
protected onInit(): Promise<void>;
|
|
554
|
+
/**
|
|
555
|
+
* Store a surface binding registration, rejecting conflicting duplicates.
|
|
556
|
+
*
|
|
557
|
+
* An identical re-registration (same `id` and all fields) is silently
|
|
558
|
+
* accepted. A registration that differs in any field is rejected with an error.
|
|
559
|
+
*
|
|
560
|
+
* The bus RPC handler delegates here; the contribution processor also calls
|
|
561
|
+
* this directly.
|
|
562
|
+
* @param registration - Surface binding registration payload to store.
|
|
563
|
+
* @throws If a conflicting registration for the same binding `id` already exists.
|
|
564
|
+
*/
|
|
565
|
+
registerBinding(registration: SurfaceBindingRegistration): void;
|
|
566
|
+
/**
|
|
567
|
+
* Remove a surface binding registration by stable identifier.
|
|
568
|
+
* @param id - Surface binding identifier to remove.
|
|
569
|
+
*/
|
|
570
|
+
deregisterBinding(id: string): void;
|
|
571
|
+
/**
|
|
572
|
+
* Look up a surface binding registration by its stable identifier.
|
|
573
|
+
* @param id - Surface binding identifier to look up.
|
|
574
|
+
* @returns The registration record, or `undefined` if not found.
|
|
575
|
+
*/
|
|
576
|
+
getBinding(id: string): SurfaceBindingRegistration | undefined;
|
|
577
|
+
/**
|
|
578
|
+
* Service teardown hook.
|
|
579
|
+
*
|
|
580
|
+
* Clears all in-memory registrations so the instance can be garbage-collected
|
|
581
|
+
* without retaining large registration maps.
|
|
582
|
+
*/
|
|
583
|
+
protected onDestroy(): void;
|
|
584
|
+
}
|
|
585
|
+
//#endregion
|
|
586
|
+
//#region services/core/src/materialization/surface-binding-contribution-processor.d.ts
|
|
587
|
+
/**
|
|
588
|
+
* Create a framework-owned processor for `MakaioExtension.surfaceBindings`.
|
|
589
|
+
*
|
|
590
|
+
* Iterates over each declared {@link SurfaceBindingDefinition} and registers
|
|
591
|
+
* it directly with the {@link SurfaceBindingRegistry} service. Missing registry
|
|
592
|
+
* is a hard composition error — ensure `surfaceBindingRegistryPackage` is
|
|
593
|
+
* started before extensions that declare surface bindings.
|
|
594
|
+
* @returns Awaited contribution processor for surface binding contributions.
|
|
595
|
+
*/
|
|
596
|
+
declare function createSurfaceBindingContributionProcessor(): ContributionProcessor;
|
|
597
|
+
//#endregion
|
|
598
|
+
//#region services/core/src/workflow-blocks/workflow-block-registry.d.ts
|
|
599
|
+
/**
|
|
600
|
+
* Registry for workflow blocks contributed by extensions.
|
|
601
|
+
*
|
|
602
|
+
* Manages trigger and step block registrations, serves them via the
|
|
603
|
+
* `workflow-blocks.list` bus subject, and emits `workflow-blocks.changed`
|
|
604
|
+
* on mutations.
|
|
605
|
+
*/
|
|
606
|
+
declare class WorkflowBlockRegistry extends BaseService {
|
|
607
|
+
private readonly triggersByExtension;
|
|
608
|
+
private readonly stepsByExtension;
|
|
609
|
+
private revision;
|
|
610
|
+
private cache;
|
|
611
|
+
/**
|
|
612
|
+
* @param bus - Bus instance used for registering handlers.
|
|
613
|
+
*/
|
|
614
|
+
constructor(bus: IMakaioBus);
|
|
615
|
+
/**
|
|
616
|
+
* Initialize the service by registering the `workflow-blocks.list` handler.
|
|
617
|
+
*/
|
|
618
|
+
protected onInit(): void;
|
|
619
|
+
/**
|
|
620
|
+
* Registers all workflow blocks from an extension.
|
|
621
|
+
* @param extensionName - The extension contributing the blocks.
|
|
622
|
+
* @param collection - The trigger and step block declarations.
|
|
623
|
+
* @throws If a block name collides with an existing registration.
|
|
624
|
+
*/
|
|
625
|
+
register(extensionName: string, collection: WorkflowBlockCollection): Promise<void>;
|
|
626
|
+
/**
|
|
627
|
+
* Deregisters all workflow blocks for an extension.
|
|
628
|
+
* @param extensionName - The extension to remove.
|
|
629
|
+
*/
|
|
630
|
+
deregister(extensionName: string): Promise<void>;
|
|
631
|
+
/**
|
|
632
|
+
* Returns all registered trigger blocks.
|
|
633
|
+
* @returns Flat list of all trigger blocks across all extensions.
|
|
634
|
+
*/
|
|
635
|
+
listTriggers(): RegisteredTriggerBlock[];
|
|
636
|
+
/**
|
|
637
|
+
* Returns all registered step blocks.
|
|
638
|
+
* @returns Flat list of all step blocks across all extensions.
|
|
639
|
+
*/
|
|
640
|
+
listSteps(): RegisteredStepBlock[];
|
|
641
|
+
private emitChanged;
|
|
642
|
+
private getCache;
|
|
643
|
+
private snapshotExtensionState;
|
|
644
|
+
private restoreExtensionState;
|
|
645
|
+
private assertNoCollision;
|
|
646
|
+
private assertExtensionNamespace;
|
|
647
|
+
}
|
|
648
|
+
//#endregion
|
|
649
|
+
//#region services/core/src/workflow-blocks/workflow-block-contribution-processor.d.ts
|
|
650
|
+
/**
|
|
651
|
+
* Processes workflow block contributions from extensions.
|
|
652
|
+
*
|
|
653
|
+
* Registers and deregisters blocks with the {@link WorkflowBlockRegistry}
|
|
654
|
+
* as extensions activate and stop.
|
|
655
|
+
* @returns Contribution processor that manages workflow block registration.
|
|
656
|
+
*/
|
|
657
|
+
declare function createWorkflowBlockContributionProcessor(): ContributionProcessor;
|
|
658
|
+
//#endregion
|
|
659
|
+
//#region services/core/src/workflow-transitions/transition-action-registry.d.ts
|
|
660
|
+
/**
|
|
661
|
+
* Built-in action type identifier for starting a workflow via the bus.
|
|
662
|
+
*
|
|
663
|
+
* Input fields (all optional):
|
|
664
|
+
* - `workflowId` — required workflow ID
|
|
665
|
+
* - `input` — workflow input payload
|
|
666
|
+
* - `inputExpression` — jexl expression resolving workflow input from the transition context
|
|
667
|
+
* - `config` — workflow config overrides
|
|
668
|
+
* - `artifactRef` — explicit artifact binding target
|
|
669
|
+
* - `scope` — execution scope override
|
|
670
|
+
*/
|
|
671
|
+
declare const WORKFLOW_START_ACTION_TYPE = "workflow.start";
|
|
672
|
+
/**
|
|
673
|
+
* Registry for executable transition action factories.
|
|
674
|
+
*
|
|
675
|
+
* Manages built-in actions (seeded at construction) and extension-contributed
|
|
676
|
+
* actions. Duplicate action type keys hard-fail registration. Source keys
|
|
677
|
+
* support clean deregistration on extension stop.
|
|
678
|
+
*
|
|
679
|
+
* Unlike rules, actions are executable (factory-based), not static. Each
|
|
680
|
+
* dispatch call creates a fresh handler via the registered factory.
|
|
681
|
+
*/
|
|
682
|
+
declare class TransitionActionRegistry {
|
|
683
|
+
/** All factories indexed by action type string. */
|
|
684
|
+
private readonly factories;
|
|
685
|
+
/** Factories indexed by source key for deregistration. */
|
|
686
|
+
private readonly factoriesBySource;
|
|
687
|
+
/**
|
|
688
|
+
* @param bus - Bus instance forwarded to the built-in `workflow.start` factory.
|
|
689
|
+
*/
|
|
690
|
+
constructor(bus: IMakaioBus);
|
|
691
|
+
/**
|
|
692
|
+
* Register custom action factories from a source (extension name).
|
|
693
|
+
*
|
|
694
|
+
* Source keys and type keys are checked for collisions before any mutations.
|
|
695
|
+
* Built-in action types (`workflow.start`) may not be overridden.
|
|
696
|
+
* @param sourceKey - Stable source identifier (extension name).
|
|
697
|
+
* @param actions - Map of action type string to factory.
|
|
698
|
+
* @throws If the source or any action type collides with an existing registration.
|
|
699
|
+
*/
|
|
700
|
+
register(sourceKey: string, actions: Readonly<Record<string, TransitionActionFactory>>): void;
|
|
701
|
+
/**
|
|
702
|
+
* Deregister all action factories contributed by a source.
|
|
703
|
+
*
|
|
704
|
+
* Built-in actions (`__builtin__`) cannot be deregistered.
|
|
705
|
+
* No-op when the source has no registered factories.
|
|
706
|
+
* @param sourceKey - Source identifier previously passed to {@link register}.
|
|
707
|
+
*/
|
|
708
|
+
deregister(sourceKey: string): void;
|
|
709
|
+
/**
|
|
710
|
+
* Resolve and invoke the action handler for the given invocation.
|
|
711
|
+
*
|
|
712
|
+
* Creates a fresh handler via the registered factory, then delegates
|
|
713
|
+
* execution to the handler's `execute` method.
|
|
714
|
+
* @param invocation - Action invocation descriptor from the matched rule.
|
|
715
|
+
* @param context - Evaluation context from the triggering artifact event.
|
|
716
|
+
* @throws If no factory is registered for `invocation.type`.
|
|
717
|
+
*/
|
|
718
|
+
dispatch(invocation: TransitionActionInvocation, context: TransitionEvaluationContext): Promise<void>;
|
|
719
|
+
/**
|
|
720
|
+
* Check whether an action type is registered.
|
|
721
|
+
* @param actionType - Action type identifier to check.
|
|
722
|
+
* @returns `true` when the type has a registered factory.
|
|
723
|
+
*/
|
|
724
|
+
has(actionType: string): boolean;
|
|
725
|
+
/**
|
|
726
|
+
* List all registered action type strings.
|
|
727
|
+
* @returns Array of registered action type identifiers.
|
|
728
|
+
*/
|
|
729
|
+
listTypes(): string[];
|
|
730
|
+
}
|
|
731
|
+
//#endregion
|
|
732
|
+
//#region services/core/src/workflow-transitions/transition-rule-registry.d.ts
|
|
733
|
+
type TransitionRuleDefinitionInput = z.input<typeof TransitionRuleDefinitionSchema>;
|
|
734
|
+
interface SourceSnapshot {
|
|
735
|
+
ruleIds: readonly string[];
|
|
736
|
+
}
|
|
737
|
+
/**
|
|
738
|
+
* A {@link TransitionRuleDefinition} with its optional `when` condition
|
|
739
|
+
* pre-parsed at registration time so the pipeline avoids re-parsing on
|
|
740
|
+
* every incoming artifact event.
|
|
741
|
+
*/
|
|
742
|
+
interface PreparedTransitionRule {
|
|
743
|
+
/** The original serializable rule definition. */
|
|
744
|
+
readonly rule: TransitionRuleDefinition;
|
|
745
|
+
/**
|
|
746
|
+
* Pre-parsed condition produced by `ConditionSchema.parse(rule.when)`.
|
|
747
|
+
* `undefined` when the rule has no `when` clause — it always matches.
|
|
748
|
+
*/
|
|
749
|
+
readonly condition: Condition | undefined;
|
|
750
|
+
}
|
|
751
|
+
/**
|
|
752
|
+
* Registry for serializable transition rules contributed by workflow bundles
|
|
753
|
+
* and extensions.
|
|
754
|
+
*
|
|
755
|
+
* Rules are stored under a stable source key (bundle ID or extension name) and
|
|
756
|
+
* indexed by event type for fast pipeline evaluation. Duplicate rule IDs
|
|
757
|
+
* hard-fail registration across all sources. Source keys support clean
|
|
758
|
+
* deregistration.
|
|
759
|
+
*
|
|
760
|
+
* Rules are purely static and serializable — no functions.
|
|
761
|
+
*/
|
|
762
|
+
declare class TransitionRuleRegistry {
|
|
763
|
+
/** All rules indexed by source key. */
|
|
764
|
+
private readonly rulesBySource;
|
|
765
|
+
/** Index: event type → flat list of prepared rules across all sources. */
|
|
766
|
+
private readonly rulesByEventType;
|
|
767
|
+
/** All registered rule IDs for collision detection. */
|
|
768
|
+
private readonly ruleIdSet;
|
|
769
|
+
/**
|
|
770
|
+
* Register transition rules from a source (bundle or extension).
|
|
771
|
+
*
|
|
772
|
+
* The source key, rule definitions, rule IDs, and conditions are checked
|
|
773
|
+
* before any mutations are applied — registration is atomic: either all rules
|
|
774
|
+
* from the source are added or none are.
|
|
775
|
+
* @param sourceKey - Stable identifier for the contributing source (bundle ID or extension name).
|
|
776
|
+
* @param rules - Rule definitions to register. IDs must not collide with existing registrations.
|
|
777
|
+
* @throws If the source or any rule ID collides, or if any rule definition or condition is invalid.
|
|
778
|
+
*/
|
|
779
|
+
register(sourceKey: string, rules: readonly TransitionRuleDefinitionInput[]): void;
|
|
780
|
+
/**
|
|
781
|
+
* Deregister all rules contributed by a source.
|
|
782
|
+
*
|
|
783
|
+
* No-op when the source has no registered rules.
|
|
784
|
+
* @param sourceKey - Source identifier previously passed to {@link register}.
|
|
785
|
+
*/
|
|
786
|
+
deregister(sourceKey: string): void;
|
|
787
|
+
/**
|
|
788
|
+
* Return all enabled prepared rules matching the given event type.
|
|
789
|
+
*
|
|
790
|
+
* Returns a shallow copy of the internal bucket to prevent external mutation.
|
|
791
|
+
* Each entry carries the original rule definition alongside its pre-parsed
|
|
792
|
+
* condition so the pipeline avoids re-parsing per event.
|
|
793
|
+
* @param eventType - Artifact event type to query.
|
|
794
|
+
* @returns Enabled prepared rules registered for the event type.
|
|
795
|
+
*/
|
|
796
|
+
getRulesForEvent(eventType: TransitionEventType): PreparedTransitionRule[];
|
|
797
|
+
/**
|
|
798
|
+
* Snapshot the current rule IDs registered under a source.
|
|
799
|
+
*
|
|
800
|
+
* Used for diagnostics and deduplication checks.
|
|
801
|
+
* @param sourceKey - Source identifier.
|
|
802
|
+
* @returns Snapshot of registered rule IDs, or `undefined` if the source has no rules.
|
|
803
|
+
*/
|
|
804
|
+
snapshotSource(sourceKey: string): SourceSnapshot | undefined;
|
|
805
|
+
}
|
|
806
|
+
//#endregion
|
|
807
|
+
//#region services/core/src/workflow-transitions/transition-pipeline-service.d.ts
|
|
808
|
+
/**
|
|
809
|
+
* Service that watches artifact bus events and fires transition rules.
|
|
810
|
+
*
|
|
811
|
+
* On initialization the service subscribes to the three artifact lifecycle
|
|
812
|
+
* events (`artifact.created`, `artifact.revised`, `artifact.status.changed`).
|
|
813
|
+
* For each incoming event it evaluates the registered rules for that event type
|
|
814
|
+
* using `@makaio/rules`, then dispatches the matching rule's action through the
|
|
815
|
+
* {@link TransitionActionRegistry}.
|
|
816
|
+
*
|
|
817
|
+
* Loop protection: the service maintains an in-memory depth counter keyed by
|
|
818
|
+
* `${kind}:${id}` for each artifact. Each time a `workflow.start` action is
|
|
819
|
+
* dispatched for an artifact the counter is incremented. Incoming events for an
|
|
820
|
+
* artifact whose counter has reached {@link MAX_TRANSITION_DEPTH} are silently
|
|
821
|
+
* dropped. Counters are pruned after {@link DEPTH_ENTRY_TTL_MS} to prevent
|
|
822
|
+
* unbounded growth.
|
|
823
|
+
*/
|
|
824
|
+
declare class TransitionPipelineService extends BaseService {
|
|
825
|
+
/** Registry of serializable transition rules. */
|
|
826
|
+
readonly ruleRegistry: TransitionRuleRegistry;
|
|
827
|
+
/** Registry of executable action factories. */
|
|
828
|
+
readonly actionRegistry: TransitionActionRegistry;
|
|
829
|
+
/**
|
|
830
|
+
* In-memory depth tracker keyed by `${kind}:${id}`.
|
|
831
|
+
*
|
|
832
|
+
* Counts how many `workflow.start` actions have been dispatched for each
|
|
833
|
+
* artifact in the current execution chain. Entries expire after
|
|
834
|
+
* {@link DEPTH_ENTRY_TTL_MS}.
|
|
835
|
+
*/
|
|
836
|
+
private readonly depthMap;
|
|
837
|
+
/**
|
|
838
|
+
* @param bus - Bus instance used for artifact event subscriptions and workflow.start dispatch.
|
|
839
|
+
*/
|
|
840
|
+
constructor(bus: IMakaioBus);
|
|
841
|
+
/**
|
|
842
|
+
* Subscribe to all three artifact lifecycle event types.
|
|
843
|
+
*/
|
|
844
|
+
protected onInit(): void;
|
|
845
|
+
/**
|
|
846
|
+
* Evaluate all enabled rules for the event type, then dispatch matching actions.
|
|
847
|
+
* @param eventType - The artifact event type that fired.
|
|
848
|
+
* @param contextBase - Partial evaluation context built from the event payload.
|
|
849
|
+
*/
|
|
850
|
+
private handleArtifactEvent;
|
|
851
|
+
/**
|
|
852
|
+
* Resolve a status-change artifact ref into the exact revision that emitted
|
|
853
|
+
* the event before rule evaluation.
|
|
854
|
+
* @param ref - Revisioned artifact reference from the status.changed event.
|
|
855
|
+
* @returns Full artifact revision, or `undefined` when the artifact store cannot provide it.
|
|
856
|
+
*/
|
|
857
|
+
private resolveStatusChangedArtifact;
|
|
858
|
+
/**
|
|
859
|
+
* Resolve the previous revision for an artifact.revised event.
|
|
860
|
+
*
|
|
861
|
+
* The original `previous` context value remains the event's artifact ref for
|
|
862
|
+
* compatibility; this helper adds a full `previousArtifact` snapshot when the
|
|
863
|
+
* artifact store can provide it so rules can compare before/after state.
|
|
864
|
+
* @param ref - Revisioned artifact reference from the revised event.
|
|
865
|
+
* @returns Full previous artifact revision, or `undefined` when unavailable.
|
|
866
|
+
*/
|
|
867
|
+
private resolvePreviousRevisedArtifact;
|
|
868
|
+
/**
|
|
869
|
+
* Evaluate a single prepared rule condition and dispatch its action if the condition matches.
|
|
870
|
+
*
|
|
871
|
+
* The condition is pre-parsed at registration time, so this method only evaluates it
|
|
872
|
+
* against the current event context — no schema parsing overhead per event.
|
|
873
|
+
*
|
|
874
|
+
* When dispatch succeeds and the action type is `workflow.start`, the in-memory
|
|
875
|
+
* depth counter for the artifact is incremented so subsequent events in the same
|
|
876
|
+
* execution chain are correctly depth-checked.
|
|
877
|
+
* @param entry - The prepared rule (definition + pre-parsed condition) to evaluate.
|
|
878
|
+
* @param eventType - The artifact event type.
|
|
879
|
+
* @param contextBase - Partial evaluation context from the event payload.
|
|
880
|
+
* @param artifactKey - Composite `${kind}:${id}` key for depth tracking.
|
|
881
|
+
* @param incomingDepth - Current loop-protection depth for this artifact.
|
|
882
|
+
*/
|
|
883
|
+
private evaluateAndDispatch;
|
|
884
|
+
/**
|
|
885
|
+
* Derive the composite artifact key used for depth tracking.
|
|
886
|
+
* @param artifact - Artifact ref or revision from the event payload.
|
|
887
|
+
* @returns A `${kind}:${id}` string, falling back to `'unknown:unknown'` when
|
|
888
|
+
* the artifact lacks these fields.
|
|
889
|
+
*/
|
|
890
|
+
private artifactKey;
|
|
891
|
+
/**
|
|
892
|
+
* Read the current dispatch depth for the given artifact key.
|
|
893
|
+
*
|
|
894
|
+
* Prunes stale entries lazily on each read so the map does not grow
|
|
895
|
+
* unboundedly when artifacts are no longer active.
|
|
896
|
+
* @param key - Composite `${kind}:${id}` key.
|
|
897
|
+
* @returns Current dispatch count, or `0` when absent or expired.
|
|
898
|
+
*/
|
|
899
|
+
private readDepth;
|
|
900
|
+
/**
|
|
901
|
+
* Increment the dispatch depth counter for the given artifact key and reset its TTL.
|
|
902
|
+
* @param key - Composite `${kind}:${id}` key.
|
|
903
|
+
*/
|
|
904
|
+
private incrementDepth;
|
|
905
|
+
}
|
|
906
|
+
//#endregion
|
|
907
|
+
//#region services/core/src/workflow-transitions/transition-contribution-processor.d.ts
|
|
908
|
+
/**
|
|
909
|
+
* Processes transition rule and action contributions from extensions.
|
|
910
|
+
*
|
|
911
|
+
* During activation: validates namespace prefixes, then registers rules and
|
|
912
|
+
* actions with the {@link TransitionPipelineService}. On stop: deregisters
|
|
913
|
+
* all contributions from that extension.
|
|
914
|
+
* @returns Contribution processor for transition pipeline registration.
|
|
915
|
+
*/
|
|
916
|
+
declare function createTransitionContributionProcessor(): ContributionProcessor;
|
|
917
|
+
//#endregion
|
|
918
|
+
//#region services/core/src/canonical-model/resolver-deps.d.ts
|
|
919
|
+
/** A resolved model target from default chain resolution. */
|
|
920
|
+
interface ResolvedDefaultTarget {
|
|
921
|
+
readonly adapterName: string;
|
|
922
|
+
readonly providerConfigId: string;
|
|
923
|
+
readonly definitionId: string;
|
|
924
|
+
readonly model: string;
|
|
925
|
+
}
|
|
926
|
+
/** An ambiguous match found during bare model resolution. */
|
|
927
|
+
interface AmbiguousMatch {
|
|
928
|
+
readonly adapterName: string;
|
|
929
|
+
readonly definitionId: string;
|
|
930
|
+
/** Fully qualified canonical string for the user to copy-paste. */
|
|
931
|
+
readonly qualifiedName: string;
|
|
932
|
+
}
|
|
933
|
+
/** Result of bare model default resolution. */
|
|
934
|
+
type DefaultModelResolution = {
|
|
935
|
+
readonly kind: 'resolved';
|
|
936
|
+
readonly target: ResolvedDefaultTarget;
|
|
937
|
+
} | {
|
|
938
|
+
readonly kind: 'ambiguous';
|
|
939
|
+
readonly matches: AmbiguousMatch[];
|
|
940
|
+
} | {
|
|
941
|
+
readonly kind: 'not-found';
|
|
942
|
+
};
|
|
943
|
+
/**
|
|
944
|
+
* Dependencies for framework canonical-model resolution.
|
|
945
|
+
*
|
|
946
|
+
* All lookups are expressed as async functions. The service implementation
|
|
947
|
+
* wires these to bus RPCs; tests can stub them directly.
|
|
948
|
+
*/
|
|
949
|
+
interface CanonicalModelResolverDeps {
|
|
950
|
+
/** List all enabled adapter names. */
|
|
951
|
+
listEnabledAdapterNames(): Promise<string[]>;
|
|
952
|
+
/**
|
|
953
|
+
* Get the preferred binding for an adapter.
|
|
954
|
+
* @param adapterName - The adapter to retrieve the default binding for
|
|
955
|
+
*/
|
|
956
|
+
getDefaultBinding(adapterName: string): Promise<BindingRecord | undefined>;
|
|
957
|
+
/**
|
|
958
|
+
* Find a provider config by name (case-insensitive slug match). Returns minimal identity.
|
|
959
|
+
* @param name - The provider config name to search for
|
|
960
|
+
*/
|
|
961
|
+
findProviderConfigByName(name: string): Promise<{
|
|
962
|
+
readonly id: string;
|
|
963
|
+
} | undefined>;
|
|
964
|
+
/**
|
|
965
|
+
* Find a {@link ProviderDefinition} by ID.
|
|
966
|
+
* @param id - The provider definition ID to look up
|
|
967
|
+
* @param enabledAdapterNames - Optional enabled adapter names already loaded by the caller
|
|
968
|
+
*/
|
|
969
|
+
findProviderDefinition(id: string, enabledAdapterNames?: readonly string[]): Promise<ProviderDefinition | undefined>;
|
|
970
|
+
/**
|
|
971
|
+
* Get all bindings for a given provider config ID.
|
|
972
|
+
* @param providerConfigId - The provider config ID to list bindings for
|
|
973
|
+
*/
|
|
974
|
+
listBindingsForConfig(providerConfigId: string): Promise<BindingRecord[]>;
|
|
975
|
+
/**
|
|
976
|
+
* Find the default provider config for a provider definition.
|
|
977
|
+
*
|
|
978
|
+
* Returns the config marked `isDefault` for the given definition,
|
|
979
|
+
* falling back to the first enabled config when no default is set.
|
|
980
|
+
* Only the config's `id` is consumed by the resolver.
|
|
981
|
+
* @param definitionId - The provider definition ID to look up
|
|
982
|
+
*/
|
|
983
|
+
findDefaultConfigForDefinition(definitionId: string): Promise<{
|
|
984
|
+
readonly id: string;
|
|
985
|
+
} | undefined>;
|
|
986
|
+
/**
|
|
987
|
+
* Find a provider config for a definition that is bound to a specific adapter.
|
|
988
|
+
*
|
|
989
|
+
* Searches enabled configs for the definition in preference order
|
|
990
|
+
* (`isDefault` first), returning the first that has a binding to the
|
|
991
|
+
* given adapter.
|
|
992
|
+
* @param definitionId - The provider definition ID
|
|
993
|
+
* @param adapterName - The adapter to require a binding for
|
|
994
|
+
*/
|
|
995
|
+
findConfigForDefinitionAndAdapter(definitionId: string, adapterName: string): Promise<{
|
|
996
|
+
readonly id: string;
|
|
997
|
+
} | undefined>;
|
|
998
|
+
/**
|
|
999
|
+
* Resolve a bare model name to a target via the default chain.
|
|
1000
|
+
*
|
|
1001
|
+
* This is the seam for future framework-owned preference policies.
|
|
1002
|
+
* @param model - The bare model name to resolve
|
|
1003
|
+
*/
|
|
1004
|
+
resolveDefaultModelTarget(model: string): Promise<DefaultModelResolution>;
|
|
1005
|
+
}
|
|
1006
|
+
//#endregion
|
|
1007
|
+
//#region services/core/src/canonical-model/resolver.d.ts
|
|
1008
|
+
/** Adapter selection returned by framework canonical-model resolution. */
|
|
1009
|
+
type ResolvedSelection = CanonicalModelResolvedSelection;
|
|
1010
|
+
/**
|
|
1011
|
+
* Resolves a framework-resolvable canonical model to a concrete adapter selection.
|
|
1012
|
+
*
|
|
1013
|
+
* Uses the dependency interface for all lookups - bus wiring lives in the
|
|
1014
|
+
* service, not here.
|
|
1015
|
+
*/
|
|
1016
|
+
declare class CanonicalModelResolver {
|
|
1017
|
+
private readonly deps;
|
|
1018
|
+
/**
|
|
1019
|
+
* Creates a new resolver with the given dependency implementations.
|
|
1020
|
+
* @param deps - Lookup functions wired to bus RPCs or test stubs
|
|
1021
|
+
*/
|
|
1022
|
+
constructor(deps: CanonicalModelResolverDeps);
|
|
1023
|
+
/**
|
|
1024
|
+
* Resolve a parsed canonical model to a concrete adapter selection.
|
|
1025
|
+
* @param parsed - The parsed canonical model ref
|
|
1026
|
+
* @param _context - Optional resolution context reserved for future framework seams
|
|
1027
|
+
* @returns Resolved adapter selection
|
|
1028
|
+
* @throws CanonicalModelResolutionError when resolution fails
|
|
1029
|
+
*/
|
|
1030
|
+
resolve(parsed: ResolvableCanonicalModel, _context?: AgentResolutionContext): Promise<ResolvedSelection>;
|
|
1031
|
+
/**
|
|
1032
|
+
* Resolve a bare model name via the default chain.
|
|
1033
|
+
* @param model - Verbatim model identifier
|
|
1034
|
+
* @returns Adapter resolution for the matching model
|
|
1035
|
+
*/
|
|
1036
|
+
private resolveBare;
|
|
1037
|
+
/**
|
|
1038
|
+
* Resolve a qualified model reference with one or two routing segments.
|
|
1039
|
+
* @param segment1 - First routing segment (lowercased by parser)
|
|
1040
|
+
* @param segment2 - Second routing segment when present (lowercased by parser)
|
|
1041
|
+
* @param model - Verbatim model name after `::`
|
|
1042
|
+
* @returns Adapter resolution for the matching target
|
|
1043
|
+
*/
|
|
1044
|
+
private resolveQualified;
|
|
1045
|
+
/**
|
|
1046
|
+
* Resolve a two-segment qualified reference: `adapter/provider::model`.
|
|
1047
|
+
* @param adapterSegment - Adapter name segment (lowercased)
|
|
1048
|
+
* @param providerSegment - Provider segment: config name or definition ID
|
|
1049
|
+
* @param model - Verbatim model name
|
|
1050
|
+
* @returns Adapter resolution with the verified adapter + provider + model
|
|
1051
|
+
*/
|
|
1052
|
+
private resolveQualifiedTwoSegments;
|
|
1053
|
+
/**
|
|
1054
|
+
* Resolve a single-segment qualified reference: `segment::model`.
|
|
1055
|
+
* @param segment - The single routing segment (lowercased)
|
|
1056
|
+
* @param model - Verbatim model name
|
|
1057
|
+
* @returns Adapter resolution using the matched adapter or provider
|
|
1058
|
+
*/
|
|
1059
|
+
private resolveQualifiedOneSegment;
|
|
1060
|
+
/**
|
|
1061
|
+
* Resolve a provider segment (second routing segment) to a provider config ID.
|
|
1062
|
+
* @param providerSegment - Provider routing segment (lowercased)
|
|
1063
|
+
* @param adapterName - Adapter name already validated as enabled
|
|
1064
|
+
* @param enabledAdapters - Enabled adapter names already loaded by the caller
|
|
1065
|
+
* @returns The resolved provider config ID
|
|
1066
|
+
*/
|
|
1067
|
+
private resolveProviderSegment;
|
|
1068
|
+
/**
|
|
1069
|
+
* Verify that a binding exists between the given adapter and provider config.
|
|
1070
|
+
* @param adapterName - Adapter name to verify
|
|
1071
|
+
* @param configId - Provider config ID to verify
|
|
1072
|
+
* @param providerLabel - Human-readable label for the provider
|
|
1073
|
+
* @returns Void on success
|
|
1074
|
+
*/
|
|
1075
|
+
private requireBindingForAdapterAndConfig;
|
|
1076
|
+
/**
|
|
1077
|
+
* Pick the best enabled binding for a provider config.
|
|
1078
|
+
* @param configId - Provider config ID to find bindings for
|
|
1079
|
+
* @param enabledAdapters - Adapter names currently enabled for resolution
|
|
1080
|
+
* @returns The preferred binding record among enabled adapters
|
|
1081
|
+
*/
|
|
1082
|
+
private pickBindingForConfig;
|
|
1083
|
+
}
|
|
1084
|
+
//#endregion
|
|
1085
|
+
//#region services/core/src/canonical-model/errors.d.ts
|
|
1086
|
+
/**
|
|
1087
|
+
* Error codes for framework canonical-model resolution failures.
|
|
1088
|
+
*/
|
|
1089
|
+
type CanonicalModelResolutionErrorCode = 'ambiguous-model' | 'model-not-found' | 'adapter-not-found' | 'provider-not-found' | 'no-binding';
|
|
1090
|
+
/**
|
|
1091
|
+
* Thrown when framework canonical-model resolution fails.
|
|
1092
|
+
*
|
|
1093
|
+
* Contains actionable suggestions the caller can present to the user.
|
|
1094
|
+
*/
|
|
1095
|
+
declare class CanonicalModelResolutionError extends MakaioError {
|
|
1096
|
+
readonly code: CanonicalModelResolutionErrorCode;
|
|
1097
|
+
readonly suggestions?: string[] | undefined;
|
|
1098
|
+
/**
|
|
1099
|
+
* Creates a canonical model resolution error.
|
|
1100
|
+
* @param message - Human-readable error message
|
|
1101
|
+
* @param code - Machine-readable error code for programmatic handling
|
|
1102
|
+
* @param suggestions - Fully qualified canonical names the user can try instead
|
|
1103
|
+
*/
|
|
1104
|
+
constructor(message: string, code: CanonicalModelResolutionErrorCode, suggestions?: string[] | undefined);
|
|
1105
|
+
}
|
|
1106
|
+
//#endregion
|
|
1107
|
+
//#region services/core/src/canonical-model/canonical-model-service.d.ts
|
|
1108
|
+
/**
|
|
1109
|
+
* Service that exposes framework canonical-model resolution via bus RPC.
|
|
1110
|
+
*
|
|
1111
|
+
* Wires {@link CanonicalModelResolver} dependencies to adapter-subsystem and
|
|
1112
|
+
* model-registry bus subjects and registers the `canonicalModel.resolve` handler.
|
|
1113
|
+
*/
|
|
1114
|
+
declare class CanonicalModelService extends BaseService {
|
|
1115
|
+
/**
|
|
1116
|
+
* Creates a new CanonicalModelService instance.
|
|
1117
|
+
* @param bus - Bus instance for request/event handling
|
|
1118
|
+
*/
|
|
1119
|
+
constructor(bus?: IMakaioBus);
|
|
1120
|
+
/**
|
|
1121
|
+
* Registers the canonical model resolution handler on the bus.
|
|
1122
|
+
*/
|
|
1123
|
+
protected onInit(): Promise<void>;
|
|
1124
|
+
/**
|
|
1125
|
+
* Creates resolver dependencies wired to adapter-subsystem and model-registry bus requests.
|
|
1126
|
+
* @returns Fully wired resolver dependency object
|
|
1127
|
+
*/
|
|
1128
|
+
private createDeps;
|
|
1129
|
+
/**
|
|
1130
|
+
* Builds the `findProviderDefinition` dep function.
|
|
1131
|
+
* @param listEnabledAdapterNames - Dep for listing enabled adapter names
|
|
1132
|
+
* @param getProviderDefinitions - Dep for fetching provider definitions for an adapter
|
|
1133
|
+
* @returns Async function that finds a provider definition by ID
|
|
1134
|
+
*/
|
|
1135
|
+
private buildFindProviderDefinition;
|
|
1136
|
+
/**
|
|
1137
|
+
* Builds the `resolveDefaultModelTarget` dep function.
|
|
1138
|
+
*
|
|
1139
|
+
* Parallelises adapter definition fan-out, then issues a single batch
|
|
1140
|
+
* `checkModelInProviders` RPC instead of one `getForProvider` per provider.
|
|
1141
|
+
* Config look-ups are in-memory after the batch and are parallelised per
|
|
1142
|
+
* adapter so no sequential chaining occurs.
|
|
1143
|
+
* @param listEnabledAdapterNames - Dep for listing enabled adapter names
|
|
1144
|
+
* @param getProviderDefinitions - Dep for fetching provider definitions for an adapter
|
|
1145
|
+
* @param findConfigForDefinitionAndAdapter - Dep for finding a config bound to a specific adapter
|
|
1146
|
+
* @returns Async function that resolves a bare model name to a target
|
|
1147
|
+
*/
|
|
1148
|
+
private buildResolveDefaultModelTarget;
|
|
1149
|
+
/**
|
|
1150
|
+
* Collect candidates for a single adapter by filtering providers that have the
|
|
1151
|
+
* model in the registry and have a bound config for the adapter.
|
|
1152
|
+
* @param adapterName - The adapter being scanned
|
|
1153
|
+
* @param definitions - Provider definitions for the adapter
|
|
1154
|
+
* @param model - Bare model name being resolved
|
|
1155
|
+
* @param registryMatches - Set of provider IDs that have the model (from batch RPC)
|
|
1156
|
+
* @param findConfigForDefinitionAndAdapter - Dep for finding a config bound to a specific adapter
|
|
1157
|
+
* @returns Array of candidates for this adapter
|
|
1158
|
+
*/
|
|
1159
|
+
private collectAdapterCandidates;
|
|
1160
|
+
/**
|
|
1161
|
+
* Build a {@link DefaultModelResolution} from a flat candidate list.
|
|
1162
|
+
*
|
|
1163
|
+
* Deduplicates by executable route identity, then classifies the result.
|
|
1164
|
+
* @param candidates - All matched candidates across all adapters
|
|
1165
|
+
* @returns Resolved, ambiguous, or not-found resolution
|
|
1166
|
+
*/
|
|
1167
|
+
private static buildResolution;
|
|
1168
|
+
/**
|
|
1169
|
+
* Build the stable identity for a bare-model execution route.
|
|
1170
|
+
* @param candidate - Candidate route to identify
|
|
1171
|
+
* @returns Route identity key
|
|
1172
|
+
*/
|
|
1173
|
+
private static routeKey;
|
|
1174
|
+
/**
|
|
1175
|
+
* Load enabled provider config IDs from the adapter subsystem.
|
|
1176
|
+
* @returns Enabled provider config IDs
|
|
1177
|
+
*/
|
|
1178
|
+
private listEnabledProviderConfigIds;
|
|
1179
|
+
}
|
|
1180
|
+
//#endregion
|
|
1181
|
+
//#region services/core/src/canonical-model/package.d.ts
|
|
1182
|
+
/**
|
|
1183
|
+
* MakaioExtension manifest for {@link CanonicalModelService}.
|
|
1184
|
+
*
|
|
1185
|
+
* Canonical model resolution is surface-agnostic and framework-owned.
|
|
1186
|
+
*/
|
|
1187
|
+
declare const canonicalModelPackage: MakaioNodeExtension<IMakaioBus>;
|
|
1188
|
+
//#endregion
|
|
1189
|
+
//#region services/core/src/framework-packages.d.ts
|
|
1190
|
+
/** Token for the session storage package. */
|
|
1191
|
+
declare const SessionStorageToken: _$_makaio_contracts0.ExtensionToken<never>;
|
|
1192
|
+
/** Token for the session bridge service. */
|
|
1193
|
+
declare const SessionBridgeToken: _$_makaio_contracts0.ExtensionToken<SessionBridge>;
|
|
1194
|
+
/** Token for the framework session service. */
|
|
1195
|
+
declare const SessionToken: _$_makaio_contracts0.ExtensionToken<MakaioSessionService>;
|
|
1196
|
+
/** Token for the session orchestrator selected by the runtime composition. */
|
|
1197
|
+
declare const SessionOrchestratorToken: _$_makaio_contracts0.ExtensionToken<ISessionOrchestrator>;
|
|
1198
|
+
/** Token for the framework tool registry. */
|
|
1199
|
+
declare const ToolRegistryToken: _$_makaio_contracts0.ExtensionToken<ToolRegistry>;
|
|
1200
|
+
/** Token for the framework tool approval service. */
|
|
331
1201
|
declare const ToolApprovalToken: _$_makaio_contracts0.ExtensionToken<ToolApprovalService>;
|
|
332
1202
|
/** Token for the framework tray menu service. */
|
|
333
1203
|
declare const TrayMenuToken: _$_makaio_contracts0.ExtensionToken<TrayMenuService>;
|
|
@@ -335,6 +1205,26 @@ declare const TrayMenuToken: _$_makaio_contracts0.ExtensionToken<TrayMenuService
|
|
|
335
1205
|
declare const CapabilityToken: _$_makaio_contracts0.ExtensionToken<CapabilityService>;
|
|
336
1206
|
/** Token for the model registry service. */
|
|
337
1207
|
declare const ModelRegistryToken: _$_makaio_contracts0.ExtensionToken<ModelRegistryService>;
|
|
1208
|
+
/** Token for the workflow block registry service. */
|
|
1209
|
+
declare const WorkflowBlockRegistryToken: _$_makaio_contracts0.ExtensionToken<WorkflowBlockRegistry>;
|
|
1210
|
+
/** Token for the transition pipeline service. */
|
|
1211
|
+
declare const TransitionPipelineToken: _$_makaio_contracts0.ExtensionToken<TransitionPipelineService>;
|
|
1212
|
+
/** Token for the artifact schema registry service. */
|
|
1213
|
+
declare const ArtifactSchemaRegistryToken: _$_makaio_contracts0.ExtensionToken<ArtifactSchemaRegistry>;
|
|
1214
|
+
/** Token for the artifact lifecycle hook registry service. */
|
|
1215
|
+
declare const ArtifactLifecycleHookRegistryToken: _$_makaio_contracts0.ExtensionToken<ArtifactLifecycleHookRegistry>;
|
|
1216
|
+
/** Token for the facet namespace registry service. */
|
|
1217
|
+
declare const FacetNamespaceRegistryToken: _$_makaio_contracts0.ExtensionToken<FacetNamespaceRegistry>;
|
|
1218
|
+
/** Token for the surface binding registry service. */
|
|
1219
|
+
declare const SurfaceBindingRegistryToken: _$_makaio_contracts0.ExtensionToken<SurfaceBindingRegistry>;
|
|
1220
|
+
/** Package that starts the framework artifact schema registry. */
|
|
1221
|
+
declare const artifactSchemaRegistryPackage: MakaioNodeExtension<IMakaioBus>;
|
|
1222
|
+
/** Package that starts the framework artifact lifecycle hook registry. */
|
|
1223
|
+
declare const artifactLifecycleHookRegistryPackage: MakaioNodeExtension<IMakaioBus>;
|
|
1224
|
+
/** Package that starts the framework facet namespace registry. */
|
|
1225
|
+
declare const facetNamespaceRegistryPackage: MakaioNodeExtension<IMakaioBus>;
|
|
1226
|
+
/** Package that starts the framework surface binding registry. */
|
|
1227
|
+
declare const surfaceBindingRegistryPackage: MakaioNodeExtension<IMakaioBus>;
|
|
338
1228
|
/** Package that registers framework session storage handlers. */
|
|
339
1229
|
declare const sessionStoragePackage: MakaioNodeExtension<IMakaioBus>;
|
|
340
1230
|
/** Package that bridges agent events into session storage. */
|
|
@@ -351,6 +1241,10 @@ declare const toolApprovalPackage: MakaioNodeExtension<IMakaioBus>;
|
|
|
351
1241
|
declare const trayMenuPackage: MakaioNodeExtension<IMakaioBus>;
|
|
352
1242
|
/** Package that starts the framework capability registry. */
|
|
353
1243
|
declare const capabilityPackage: MakaioNodeExtension<IMakaioBus>;
|
|
1244
|
+
/** Package that starts the framework workflow block registry. */
|
|
1245
|
+
declare const workflowBlockRegistryPackage: MakaioNodeExtension<IMakaioBus>;
|
|
1246
|
+
/** Package that starts the transition pipeline service. */
|
|
1247
|
+
declare const transitionPipelinePackage: MakaioNodeExtension<IMakaioBus>;
|
|
354
1248
|
/**
|
|
355
1249
|
* Create the model-registry package with a host-provided fetcher chain.
|
|
356
1250
|
* @param fetcher - Registry fetcher chain for this host.
|
|
@@ -360,7 +1254,7 @@ declare function createModelRegistryPackage(fetcher: IModelRegistryFetcher): Mak
|
|
|
360
1254
|
/** Framework packages that are independent of host-specific factories. */
|
|
361
1255
|
declare const frameworkCorePackages: ReadonlyArray<MakaioNodeExtension<IMakaioBus>>;
|
|
362
1256
|
//#endregion
|
|
363
|
-
//#region
|
|
1257
|
+
//#region services/core/src/namespace-catalog.d.ts
|
|
364
1258
|
/**
|
|
365
1259
|
* Framework service namespace definitions registered by runtime composition roots.
|
|
366
1260
|
*/
|
|
@@ -389,17 +1283,17 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
389
1283
|
}, _$zod_v4_core0.$strict>;
|
|
390
1284
|
response: _$zod.ZodObject<{
|
|
391
1285
|
config: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
392
|
-
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
393
1286
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1287
|
+
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1288
|
+
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
394
1289
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
395
1290
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
396
1291
|
label: _$zod.ZodString;
|
|
397
1292
|
url: _$zod.ZodString;
|
|
398
1293
|
}, _$zod_v4_core0.$strict>>>;
|
|
399
1294
|
instructions: _$zod.ZodOptional<_$zod.ZodString>;
|
|
400
|
-
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
401
1295
|
providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
402
|
-
settings: _$zod.ZodOptional<_$zod.
|
|
1296
|
+
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
403
1297
|
name: _$zod.ZodString;
|
|
404
1298
|
enabled: _$zod.ZodBoolean;
|
|
405
1299
|
bindings: _$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -414,17 +1308,17 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
414
1308
|
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strict>;
|
|
415
1309
|
response: _$zod.ZodObject<{
|
|
416
1310
|
configs: _$zod.ZodArray<_$zod.ZodObject<{
|
|
417
|
-
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
418
1311
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1312
|
+
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1313
|
+
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
419
1314
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
420
1315
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
421
1316
|
label: _$zod.ZodString;
|
|
422
1317
|
url: _$zod.ZodString;
|
|
423
1318
|
}, _$zod_v4_core0.$strict>>>;
|
|
424
1319
|
instructions: _$zod.ZodOptional<_$zod.ZodString>;
|
|
425
|
-
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
426
1320
|
providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
427
|
-
settings: _$zod.ZodOptional<_$zod.
|
|
1321
|
+
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
428
1322
|
name: _$zod.ZodString;
|
|
429
1323
|
enabled: _$zod.ZodBoolean;
|
|
430
1324
|
bindings: _$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -893,23 +1787,23 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
893
1787
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
894
1788
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
895
1789
|
providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
896
|
-
settings: _$zod.ZodOptional<_$zod.
|
|
1790
|
+
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
897
1791
|
enabled: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
898
1792
|
}, _$zod_v4_core0.$strict>;
|
|
899
1793
|
}, _$zod_v4_core0.$strict>;
|
|
900
1794
|
response: _$zod.ZodObject<{
|
|
901
1795
|
config: _$zod.ZodObject<{
|
|
902
|
-
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
903
1796
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1797
|
+
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1798
|
+
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
904
1799
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
905
1800
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
906
1801
|
label: _$zod.ZodString;
|
|
907
1802
|
url: _$zod.ZodString;
|
|
908
1803
|
}, _$zod_v4_core0.$strict>>>;
|
|
909
1804
|
instructions: _$zod.ZodOptional<_$zod.ZodString>;
|
|
910
|
-
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
911
1805
|
providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
912
|
-
settings: _$zod.ZodOptional<_$zod.
|
|
1806
|
+
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
913
1807
|
name: _$zod.ZodString;
|
|
914
1808
|
enabled: _$zod.ZodBoolean;
|
|
915
1809
|
bindings: _$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -1443,10 +2337,10 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1443
2337
|
subagentId: _$zod.ZodString;
|
|
1444
2338
|
status: _$zod.ZodEnum<{
|
|
1445
2339
|
completed: "completed";
|
|
1446
|
-
cancelled: "cancelled";
|
|
1447
2340
|
running: "running";
|
|
1448
2341
|
waiting_input: "waiting_input";
|
|
1449
2342
|
failed: "failed";
|
|
2343
|
+
cancelled: "cancelled";
|
|
1450
2344
|
}>;
|
|
1451
2345
|
result: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1452
2346
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1614,263 +2508,92 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1614
2508
|
};
|
|
1615
2509
|
listBySession: {
|
|
1616
2510
|
request: _$zod.ZodObject<{
|
|
1617
|
-
sessionId: _$zod.ZodString;
|
|
1618
|
-
}, _$zod_v4_core0.$strip>;
|
|
1619
|
-
response: _$zod.ZodObject<{
|
|
1620
|
-
agents: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1621
|
-
agentId: _$zod.ZodString;
|
|
1622
|
-
adapterId: _$zod.ZodString;
|
|
1623
|
-
adapterName: _$zod.ZodString;
|
|
1624
|
-
sessionId: _$zod.ZodString;
|
|
1625
|
-
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1626
|
-
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1627
|
-
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1628
|
-
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1629
|
-
personaId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1630
|
-
profileId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1631
|
-
harnessId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1632
|
-
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1633
|
-
compressionMode: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1634
|
-
auto: "auto";
|
|
1635
|
-
manual: "manual";
|
|
1636
|
-
off: "off";
|
|
1637
|
-
}>>;
|
|
1638
|
-
role: _$zod.ZodEnum<{
|
|
1639
|
-
lead: "lead";
|
|
1640
|
-
member: "member";
|
|
1641
|
-
}>;
|
|
1642
|
-
status: _$zod.ZodEnum<{
|
|
1643
|
-
active: "active";
|
|
1644
|
-
idle: "idle";
|
|
1645
|
-
dead: "dead";
|
|
1646
|
-
disposed: "disposed";
|
|
1647
|
-
}>;
|
|
1648
|
-
createdAt: _$zod.ZodNumber;
|
|
1649
|
-
lastActivityAt: _$zod.ZodNumber;
|
|
1650
|
-
}, _$zod_v4_core0.$strip>>;
|
|
1651
|
-
}, _$zod_v4_core0.$strip>;
|
|
1652
|
-
};
|
|
1653
|
-
updateStatus: {
|
|
1654
|
-
request: _$zod.ZodObject<{
|
|
1655
|
-
agentId: _$zod.ZodString;
|
|
1656
|
-
status: _$zod.ZodEnum<{
|
|
1657
|
-
active: "active";
|
|
1658
|
-
idle: "idle";
|
|
1659
|
-
dead: "dead";
|
|
1660
|
-
disposed: "disposed";
|
|
1661
|
-
}>;
|
|
1662
|
-
}, _$zod_v4_core0.$strip>;
|
|
1663
|
-
response: _$zod.ZodObject<{
|
|
1664
|
-
success: _$zod.ZodBoolean;
|
|
1665
|
-
}, _$zod_v4_core0.$strip>;
|
|
1666
|
-
};
|
|
1667
|
-
updateActivity: {
|
|
1668
|
-
request: _$zod.ZodObject<{
|
|
1669
|
-
agentId: _$zod.ZodString;
|
|
1670
|
-
lastActivityAt: _$zod.ZodNumber;
|
|
1671
|
-
}, _$zod_v4_core0.$strip>;
|
|
1672
|
-
response: _$zod.ZodObject<{
|
|
1673
|
-
success: _$zod.ZodBoolean;
|
|
1674
|
-
}, _$zod_v4_core0.$strip>;
|
|
1675
|
-
};
|
|
1676
|
-
updateRuntime: {
|
|
1677
|
-
request: _$zod.ZodObject<{
|
|
1678
|
-
agentId: _$zod.ZodString;
|
|
1679
|
-
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1680
|
-
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1681
|
-
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1682
|
-
}, _$zod_v4_core0.$strip>;
|
|
1683
|
-
response: _$zod.ZodObject<{
|
|
1684
|
-
success: _$zod.ZodBoolean;
|
|
1685
|
-
}, _$zod_v4_core0.$strip>;
|
|
1686
|
-
};
|
|
1687
|
-
}, {
|
|
1688
|
-
drizzle: {
|
|
1689
|
-
agents: _$drizzle_orm_sqlite_core0.SQLiteTableWithColumns<{
|
|
1690
|
-
name: "agents";
|
|
1691
|
-
schema: undefined;
|
|
1692
|
-
columns: {
|
|
1693
|
-
agentId: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
1694
|
-
name: "agent_id";
|
|
1695
|
-
tableName: "agents";
|
|
1696
|
-
dataType: "string";
|
|
1697
|
-
columnType: "SQLiteText";
|
|
1698
|
-
data: string;
|
|
1699
|
-
driverParam: string;
|
|
1700
|
-
notNull: true;
|
|
1701
|
-
hasDefault: false;
|
|
1702
|
-
isPrimaryKey: true;
|
|
1703
|
-
isAutoincrement: false;
|
|
1704
|
-
hasRuntimeDefault: false;
|
|
1705
|
-
enumValues: [string, ...string[]];
|
|
1706
|
-
baseColumn: never;
|
|
1707
|
-
identity: undefined;
|
|
1708
|
-
generated: undefined;
|
|
1709
|
-
}, {}, {
|
|
1710
|
-
length: number | undefined;
|
|
1711
|
-
}>;
|
|
1712
|
-
adapterId: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
1713
|
-
name: "adapter_id";
|
|
1714
|
-
tableName: "agents";
|
|
1715
|
-
dataType: "string";
|
|
1716
|
-
columnType: "SQLiteText";
|
|
1717
|
-
data: string;
|
|
1718
|
-
driverParam: string;
|
|
1719
|
-
notNull: true;
|
|
1720
|
-
hasDefault: false;
|
|
1721
|
-
isPrimaryKey: false;
|
|
1722
|
-
isAutoincrement: false;
|
|
1723
|
-
hasRuntimeDefault: false;
|
|
1724
|
-
enumValues: [string, ...string[]];
|
|
1725
|
-
baseColumn: never;
|
|
1726
|
-
identity: undefined;
|
|
1727
|
-
generated: undefined;
|
|
1728
|
-
}, {}, {
|
|
1729
|
-
length: number | undefined;
|
|
1730
|
-
}>;
|
|
1731
|
-
adapterName: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
1732
|
-
name: "adapter_name";
|
|
1733
|
-
tableName: "agents";
|
|
1734
|
-
dataType: "string";
|
|
1735
|
-
columnType: "SQLiteText";
|
|
1736
|
-
data: string;
|
|
1737
|
-
driverParam: string;
|
|
1738
|
-
notNull: true;
|
|
1739
|
-
hasDefault: false;
|
|
1740
|
-
isPrimaryKey: false;
|
|
1741
|
-
isAutoincrement: false;
|
|
1742
|
-
hasRuntimeDefault: false;
|
|
1743
|
-
enumValues: [string, ...string[]];
|
|
1744
|
-
baseColumn: never;
|
|
1745
|
-
identity: undefined;
|
|
1746
|
-
generated: undefined;
|
|
1747
|
-
}, {}, {
|
|
1748
|
-
length: number | undefined;
|
|
1749
|
-
}>;
|
|
1750
|
-
sessionId: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
1751
|
-
name: "session_id";
|
|
1752
|
-
tableName: "agents";
|
|
1753
|
-
dataType: "string";
|
|
1754
|
-
columnType: "SQLiteText";
|
|
1755
|
-
data: string;
|
|
1756
|
-
driverParam: string;
|
|
1757
|
-
notNull: true;
|
|
1758
|
-
hasDefault: false;
|
|
1759
|
-
isPrimaryKey: false;
|
|
1760
|
-
isAutoincrement: false;
|
|
1761
|
-
hasRuntimeDefault: false;
|
|
1762
|
-
enumValues: [string, ...string[]];
|
|
1763
|
-
baseColumn: never;
|
|
1764
|
-
identity: undefined;
|
|
1765
|
-
generated: undefined;
|
|
1766
|
-
}, {}, {
|
|
1767
|
-
length: number | undefined;
|
|
1768
|
-
}>;
|
|
1769
|
-
adapterSessionId: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
1770
|
-
name: "adapter_session_id";
|
|
1771
|
-
tableName: "agents";
|
|
1772
|
-
dataType: "string";
|
|
1773
|
-
columnType: "SQLiteText";
|
|
1774
|
-
data: string;
|
|
1775
|
-
driverParam: string;
|
|
1776
|
-
notNull: false;
|
|
1777
|
-
hasDefault: false;
|
|
1778
|
-
isPrimaryKey: false;
|
|
1779
|
-
isAutoincrement: false;
|
|
1780
|
-
hasRuntimeDefault: false;
|
|
1781
|
-
enumValues: [string, ...string[]];
|
|
1782
|
-
baseColumn: never;
|
|
1783
|
-
identity: undefined;
|
|
1784
|
-
generated: undefined;
|
|
1785
|
-
}, {}, {
|
|
1786
|
-
length: number | undefined;
|
|
1787
|
-
}>;
|
|
1788
|
-
model: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
1789
|
-
name: "model";
|
|
1790
|
-
tableName: "agents";
|
|
1791
|
-
dataType: "string";
|
|
1792
|
-
columnType: "SQLiteText";
|
|
1793
|
-
data: string;
|
|
1794
|
-
driverParam: string;
|
|
1795
|
-
notNull: false;
|
|
1796
|
-
hasDefault: false;
|
|
1797
|
-
isPrimaryKey: false;
|
|
1798
|
-
isAutoincrement: false;
|
|
1799
|
-
hasRuntimeDefault: false;
|
|
1800
|
-
enumValues: [string, ...string[]];
|
|
1801
|
-
baseColumn: never;
|
|
1802
|
-
identity: undefined;
|
|
1803
|
-
generated: undefined;
|
|
1804
|
-
}, {}, {
|
|
1805
|
-
length: number | undefined;
|
|
1806
|
-
}>;
|
|
1807
|
-
cwd: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
1808
|
-
name: "cwd";
|
|
1809
|
-
tableName: "agents";
|
|
1810
|
-
dataType: "string";
|
|
1811
|
-
columnType: "SQLiteText";
|
|
1812
|
-
data: string;
|
|
1813
|
-
driverParam: string;
|
|
1814
|
-
notNull: false;
|
|
1815
|
-
hasDefault: false;
|
|
1816
|
-
isPrimaryKey: false;
|
|
1817
|
-
isAutoincrement: false;
|
|
1818
|
-
hasRuntimeDefault: false;
|
|
1819
|
-
enumValues: [string, ...string[]];
|
|
1820
|
-
baseColumn: never;
|
|
1821
|
-
identity: undefined;
|
|
1822
|
-
generated: undefined;
|
|
1823
|
-
}, {}, {
|
|
1824
|
-
length: number | undefined;
|
|
1825
|
-
}>;
|
|
1826
|
-
providerConfigId: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
1827
|
-
name: "provider_config_id";
|
|
1828
|
-
tableName: "agents";
|
|
1829
|
-
dataType: "string";
|
|
1830
|
-
columnType: "SQLiteText";
|
|
1831
|
-
data: string;
|
|
1832
|
-
driverParam: string;
|
|
1833
|
-
notNull: false;
|
|
1834
|
-
hasDefault: false;
|
|
1835
|
-
isPrimaryKey: false;
|
|
1836
|
-
isAutoincrement: false;
|
|
1837
|
-
hasRuntimeDefault: false;
|
|
1838
|
-
enumValues: [string, ...string[]];
|
|
1839
|
-
baseColumn: never;
|
|
1840
|
-
identity: undefined;
|
|
1841
|
-
generated: undefined;
|
|
1842
|
-
}, {}, {
|
|
1843
|
-
length: number | undefined;
|
|
2511
|
+
sessionId: _$zod.ZodString;
|
|
2512
|
+
}, _$zod_v4_core0.$strip>;
|
|
2513
|
+
response: _$zod.ZodObject<{
|
|
2514
|
+
agents: _$zod.ZodArray<_$zod.ZodObject<{
|
|
2515
|
+
agentId: _$zod.ZodString;
|
|
2516
|
+
adapterId: _$zod.ZodString;
|
|
2517
|
+
adapterName: _$zod.ZodString;
|
|
2518
|
+
sessionId: _$zod.ZodString;
|
|
2519
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2520
|
+
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2521
|
+
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2522
|
+
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2523
|
+
personaId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2524
|
+
profileId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2525
|
+
harnessId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2526
|
+
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2527
|
+
compressionMode: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2528
|
+
auto: "auto";
|
|
2529
|
+
manual: "manual";
|
|
2530
|
+
off: "off";
|
|
2531
|
+
}>>;
|
|
2532
|
+
role: _$zod.ZodEnum<{
|
|
2533
|
+
lead: "lead";
|
|
2534
|
+
member: "member";
|
|
1844
2535
|
}>;
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
data: string;
|
|
1851
|
-
driverParam: string;
|
|
1852
|
-
notNull: false;
|
|
1853
|
-
hasDefault: false;
|
|
1854
|
-
isPrimaryKey: false;
|
|
1855
|
-
isAutoincrement: false;
|
|
1856
|
-
hasRuntimeDefault: false;
|
|
1857
|
-
enumValues: [string, ...string[]];
|
|
1858
|
-
baseColumn: never;
|
|
1859
|
-
identity: undefined;
|
|
1860
|
-
generated: undefined;
|
|
1861
|
-
}, {}, {
|
|
1862
|
-
length: number | undefined;
|
|
2536
|
+
status: _$zod.ZodEnum<{
|
|
2537
|
+
active: "active";
|
|
2538
|
+
idle: "idle";
|
|
2539
|
+
dead: "dead";
|
|
2540
|
+
disposed: "disposed";
|
|
1863
2541
|
}>;
|
|
1864
|
-
|
|
1865
|
-
|
|
2542
|
+
createdAt: _$zod.ZodNumber;
|
|
2543
|
+
lastActivityAt: _$zod.ZodNumber;
|
|
2544
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2545
|
+
}, _$zod_v4_core0.$strip>;
|
|
2546
|
+
};
|
|
2547
|
+
updateStatus: {
|
|
2548
|
+
request: _$zod.ZodObject<{
|
|
2549
|
+
agentId: _$zod.ZodString;
|
|
2550
|
+
status: _$zod.ZodEnum<{
|
|
2551
|
+
active: "active";
|
|
2552
|
+
idle: "idle";
|
|
2553
|
+
dead: "dead";
|
|
2554
|
+
disposed: "disposed";
|
|
2555
|
+
}>;
|
|
2556
|
+
}, _$zod_v4_core0.$strip>;
|
|
2557
|
+
response: _$zod.ZodObject<{
|
|
2558
|
+
success: _$zod.ZodBoolean;
|
|
2559
|
+
}, _$zod_v4_core0.$strip>;
|
|
2560
|
+
};
|
|
2561
|
+
updateActivity: {
|
|
2562
|
+
request: _$zod.ZodObject<{
|
|
2563
|
+
agentId: _$zod.ZodString;
|
|
2564
|
+
lastActivityAt: _$zod.ZodNumber;
|
|
2565
|
+
}, _$zod_v4_core0.$strip>;
|
|
2566
|
+
response: _$zod.ZodObject<{
|
|
2567
|
+
success: _$zod.ZodBoolean;
|
|
2568
|
+
}, _$zod_v4_core0.$strip>;
|
|
2569
|
+
};
|
|
2570
|
+
updateRuntime: {
|
|
2571
|
+
request: _$zod.ZodObject<{
|
|
2572
|
+
agentId: _$zod.ZodString;
|
|
2573
|
+
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2574
|
+
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2575
|
+
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2576
|
+
}, _$zod_v4_core0.$strip>;
|
|
2577
|
+
response: _$zod.ZodObject<{
|
|
2578
|
+
success: _$zod.ZodBoolean;
|
|
2579
|
+
}, _$zod_v4_core0.$strip>;
|
|
2580
|
+
};
|
|
2581
|
+
}, {
|
|
2582
|
+
drizzle: {
|
|
2583
|
+
agents: _$drizzle_orm_sqlite_core0.SQLiteTableWithColumns<{
|
|
2584
|
+
name: "agents";
|
|
2585
|
+
schema: undefined;
|
|
2586
|
+
columns: {
|
|
2587
|
+
agentId: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2588
|
+
name: "agent_id";
|
|
1866
2589
|
tableName: "agents";
|
|
1867
2590
|
dataType: "string";
|
|
1868
2591
|
columnType: "SQLiteText";
|
|
1869
2592
|
data: string;
|
|
1870
2593
|
driverParam: string;
|
|
1871
|
-
notNull:
|
|
2594
|
+
notNull: true;
|
|
1872
2595
|
hasDefault: false;
|
|
1873
|
-
isPrimaryKey:
|
|
2596
|
+
isPrimaryKey: true;
|
|
1874
2597
|
isAutoincrement: false;
|
|
1875
2598
|
hasRuntimeDefault: false;
|
|
1876
2599
|
enumValues: [string, ...string[]];
|
|
@@ -1880,14 +2603,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1880
2603
|
}, {}, {
|
|
1881
2604
|
length: number | undefined;
|
|
1882
2605
|
}>;
|
|
1883
|
-
|
|
1884
|
-
name: "
|
|
2606
|
+
adapterId: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2607
|
+
name: "adapter_id";
|
|
1885
2608
|
tableName: "agents";
|
|
1886
2609
|
dataType: "string";
|
|
1887
2610
|
columnType: "SQLiteText";
|
|
1888
2611
|
data: string;
|
|
1889
2612
|
driverParam: string;
|
|
1890
|
-
notNull:
|
|
2613
|
+
notNull: true;
|
|
1891
2614
|
hasDefault: false;
|
|
1892
2615
|
isPrimaryKey: false;
|
|
1893
2616
|
isAutoincrement: false;
|
|
@@ -1899,14 +2622,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1899
2622
|
}, {}, {
|
|
1900
2623
|
length: number | undefined;
|
|
1901
2624
|
}>;
|
|
1902
|
-
|
|
1903
|
-
name: "
|
|
2625
|
+
adapterName: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2626
|
+
name: "adapter_name";
|
|
1904
2627
|
tableName: "agents";
|
|
1905
2628
|
dataType: "string";
|
|
1906
2629
|
columnType: "SQLiteText";
|
|
1907
2630
|
data: string;
|
|
1908
2631
|
driverParam: string;
|
|
1909
|
-
notNull:
|
|
2632
|
+
notNull: true;
|
|
1910
2633
|
hasDefault: false;
|
|
1911
2634
|
isPrimaryKey: false;
|
|
1912
2635
|
isAutoincrement: false;
|
|
@@ -1918,323 +2641,35 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1918
2641
|
}, {}, {
|
|
1919
2642
|
length: number | undefined;
|
|
1920
2643
|
}>;
|
|
1921
|
-
|
|
1922
|
-
name: "
|
|
2644
|
+
sessionId: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2645
|
+
name: "session_id";
|
|
1923
2646
|
tableName: "agents";
|
|
1924
2647
|
dataType: "string";
|
|
1925
2648
|
columnType: "SQLiteText";
|
|
1926
2649
|
data: string;
|
|
1927
2650
|
driverParam: string;
|
|
1928
|
-
notNull: false;
|
|
1929
|
-
hasDefault: false;
|
|
1930
|
-
isPrimaryKey: false;
|
|
1931
|
-
isAutoincrement: false;
|
|
1932
|
-
hasRuntimeDefault: false;
|
|
1933
|
-
enumValues: [string, ...string[]];
|
|
1934
|
-
baseColumn: never;
|
|
1935
|
-
identity: undefined;
|
|
1936
|
-
generated: undefined;
|
|
1937
|
-
}, {}, {
|
|
1938
|
-
length: number | undefined;
|
|
1939
|
-
}>;
|
|
1940
|
-
role: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
1941
|
-
name: "role";
|
|
1942
|
-
tableName: "agents";
|
|
1943
|
-
dataType: "string";
|
|
1944
|
-
columnType: "SQLiteText";
|
|
1945
|
-
data: "lead" | "member";
|
|
1946
|
-
driverParam: string;
|
|
1947
|
-
notNull: true;
|
|
1948
|
-
hasDefault: false;
|
|
1949
|
-
isPrimaryKey: false;
|
|
1950
|
-
isAutoincrement: false;
|
|
1951
|
-
hasRuntimeDefault: false;
|
|
1952
|
-
enumValues: ["lead", "member"];
|
|
1953
|
-
baseColumn: never;
|
|
1954
|
-
identity: undefined;
|
|
1955
|
-
generated: undefined;
|
|
1956
|
-
}, {}, {
|
|
1957
|
-
length: number | undefined;
|
|
1958
|
-
}>;
|
|
1959
|
-
status: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
1960
|
-
name: "status";
|
|
1961
|
-
tableName: "agents";
|
|
1962
|
-
dataType: "string";
|
|
1963
|
-
columnType: "SQLiteText";
|
|
1964
|
-
data: "active" | "idle" | "dead" | "disposed";
|
|
1965
|
-
driverParam: string;
|
|
1966
|
-
notNull: true;
|
|
1967
|
-
hasDefault: false;
|
|
1968
|
-
isPrimaryKey: false;
|
|
1969
|
-
isAutoincrement: false;
|
|
1970
|
-
hasRuntimeDefault: false;
|
|
1971
|
-
enumValues: ["idle", "active", "dead", "disposed"];
|
|
1972
|
-
baseColumn: never;
|
|
1973
|
-
identity: undefined;
|
|
1974
|
-
generated: undefined;
|
|
1975
|
-
}, {}, {
|
|
1976
|
-
length: number | undefined;
|
|
1977
|
-
}>;
|
|
1978
|
-
createdAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
1979
|
-
name: "created_at";
|
|
1980
|
-
tableName: "agents";
|
|
1981
|
-
dataType: "number";
|
|
1982
|
-
columnType: "SQLiteInteger";
|
|
1983
|
-
data: number;
|
|
1984
|
-
driverParam: number;
|
|
1985
|
-
notNull: true;
|
|
1986
|
-
hasDefault: false;
|
|
1987
|
-
isPrimaryKey: false;
|
|
1988
|
-
isAutoincrement: false;
|
|
1989
|
-
hasRuntimeDefault: false;
|
|
1990
|
-
enumValues: undefined;
|
|
1991
|
-
baseColumn: never;
|
|
1992
|
-
identity: undefined;
|
|
1993
|
-
generated: undefined;
|
|
1994
|
-
}, {}, {}>;
|
|
1995
|
-
lastActivityAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
1996
|
-
name: "last_activity_at";
|
|
1997
|
-
tableName: "agents";
|
|
1998
|
-
dataType: "number";
|
|
1999
|
-
columnType: "SQLiteInteger";
|
|
2000
|
-
data: number;
|
|
2001
|
-
driverParam: number;
|
|
2002
2651
|
notNull: true;
|
|
2003
2652
|
hasDefault: false;
|
|
2004
2653
|
isPrimaryKey: false;
|
|
2005
2654
|
isAutoincrement: false;
|
|
2006
2655
|
hasRuntimeDefault: false;
|
|
2007
|
-
enumValues:
|
|
2008
|
-
baseColumn: never;
|
|
2009
|
-
identity: undefined;
|
|
2010
|
-
generated: undefined;
|
|
2011
|
-
}, {}, {
|
|
2012
|
-
|
|
2013
|
-
dialect: "sqlite";
|
|
2014
|
-
}>;
|
|
2015
|
-
};
|
|
2016
|
-
}>, _$_makaio_storage_core0.StorageNamespaceDefinition<"adapterSession", {
|
|
2017
|
-
upsert: {
|
|
2018
|
-
request: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
2019
|
-
adapterSessionId: _$zod.ZodString;
|
|
2020
|
-
adapterName: _$zod.ZodString;
|
|
2021
|
-
model: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2022
|
-
cwd: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2023
|
-
logFilePath: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
2024
|
-
startedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2025
|
-
kind: _$zod.ZodLiteral<"root">;
|
|
2026
|
-
parentAdapterSessionId: _$zod.ZodNull;
|
|
2027
|
-
forkPointMessageId: _$zod.ZodNull;
|
|
2028
|
-
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
2029
|
-
adapterSessionId: _$zod.ZodString;
|
|
2030
|
-
adapterName: _$zod.ZodString;
|
|
2031
|
-
model: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2032
|
-
cwd: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2033
|
-
logFilePath: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
2034
|
-
startedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2035
|
-
kind: _$zod.ZodLiteral<"fork">;
|
|
2036
|
-
parentAdapterSessionId: _$zod.ZodString;
|
|
2037
|
-
forkPointMessageId: _$zod.ZodString;
|
|
2038
|
-
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
2039
|
-
adapterSessionId: _$zod.ZodString;
|
|
2040
|
-
adapterName: _$zod.ZodString;
|
|
2041
|
-
model: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2042
|
-
cwd: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2043
|
-
logFilePath: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
2044
|
-
startedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2045
|
-
kind: _$zod.ZodLiteral<"subagent">;
|
|
2046
|
-
parentAdapterSessionId: _$zod.ZodString;
|
|
2047
|
-
forkPointMessageId: _$zod.ZodNull;
|
|
2048
|
-
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
2049
|
-
adapterSessionId: _$zod.ZodString;
|
|
2050
|
-
adapterName: _$zod.ZodString;
|
|
2051
|
-
model: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2052
|
-
cwd: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2053
|
-
logFilePath: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
2054
|
-
startedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2055
|
-
kind: _$zod.ZodLiteral<"compress">;
|
|
2056
|
-
parentAdapterSessionId: _$zod.ZodString;
|
|
2057
|
-
forkPointMessageId: _$zod.ZodNull;
|
|
2058
|
-
}, _$zod_v4_core0.$strip>], "kind">;
|
|
2059
|
-
response: _$zod.ZodObject<{
|
|
2060
|
-
adapterSessionId: _$zod.ZodString;
|
|
2061
|
-
sessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2062
|
-
created: _$zod.ZodBoolean;
|
|
2063
|
-
}, _$zod_v4_core0.$strip>;
|
|
2064
|
-
};
|
|
2065
|
-
get: {
|
|
2066
|
-
request: _$zod.ZodObject<{
|
|
2067
|
-
adapterSessionId: _$zod.ZodString;
|
|
2068
|
-
}, _$zod_v4_core0.$strip>;
|
|
2069
|
-
response: _$zod.ZodObject<{
|
|
2070
|
-
session: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
2071
|
-
adapterSessionId: _$zod.ZodString;
|
|
2072
|
-
adapterName: _$zod.ZodString;
|
|
2073
|
-
parentAdapterSessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2074
|
-
forkPointMessageId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2075
|
-
sessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2076
|
-
model: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2077
|
-
cwd: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2078
|
-
logFilePath: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2079
|
-
discoveredAt: _$zod.ZodNumber;
|
|
2080
|
-
startedAt: _$zod.ZodNumber;
|
|
2081
|
-
status: _$zod.ZodEnum<{
|
|
2082
|
-
imported: "imported";
|
|
2083
|
-
discovered: "discovered";
|
|
2084
|
-
live: "live";
|
|
2085
|
-
tracking: "tracking";
|
|
2086
|
-
}>;
|
|
2087
|
-
kind: _$zod.ZodEnum<{
|
|
2088
|
-
root: "root";
|
|
2089
|
-
fork: "fork";
|
|
2090
|
-
subagent: "subagent";
|
|
2091
|
-
compress: "compress";
|
|
2092
|
-
}>;
|
|
2093
|
-
}, _$zod_v4_core0.$strip>>;
|
|
2094
|
-
}, _$zod_v4_core0.$strip>;
|
|
2095
|
-
};
|
|
2096
|
-
updateStatus: {
|
|
2097
|
-
request: _$zod.ZodObject<{
|
|
2098
|
-
adapterSessionId: _$zod.ZodString;
|
|
2099
|
-
status: _$zod.ZodEnum<{
|
|
2100
|
-
imported: "imported";
|
|
2101
|
-
discovered: "discovered";
|
|
2102
|
-
live: "live";
|
|
2103
|
-
tracking: "tracking";
|
|
2104
|
-
}>;
|
|
2105
|
-
}, _$zod_v4_core0.$strip>;
|
|
2106
|
-
response: _$zod.ZodObject<{
|
|
2107
|
-
success: _$zod.ZodBoolean;
|
|
2108
|
-
}, _$zod_v4_core0.$strip>;
|
|
2109
|
-
};
|
|
2110
|
-
linkSession: {
|
|
2111
|
-
request: _$zod.ZodObject<{
|
|
2112
|
-
adapterSessionId: _$zod.ZodString;
|
|
2113
|
-
sessionId: _$zod.ZodString;
|
|
2114
|
-
}, _$zod_v4_core0.$strip>;
|
|
2115
|
-
response: _$zod.ZodObject<{
|
|
2116
|
-
success: _$zod.ZodBoolean;
|
|
2117
|
-
}, _$zod_v4_core0.$strip>;
|
|
2118
|
-
};
|
|
2119
|
-
getByLogFilePath: {
|
|
2120
|
-
request: _$zod.ZodObject<{
|
|
2121
|
-
logFilePath: _$zod.ZodString;
|
|
2122
|
-
}, _$zod_v4_core0.$strip>;
|
|
2123
|
-
response: _$zod.ZodObject<{
|
|
2124
|
-
session: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
2125
|
-
adapterSessionId: _$zod.ZodString;
|
|
2126
|
-
adapterName: _$zod.ZodString;
|
|
2127
|
-
parentAdapterSessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2128
|
-
forkPointMessageId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2129
|
-
sessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2130
|
-
model: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2131
|
-
cwd: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2132
|
-
logFilePath: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2133
|
-
discoveredAt: _$zod.ZodNumber;
|
|
2134
|
-
startedAt: _$zod.ZodNumber;
|
|
2135
|
-
status: _$zod.ZodEnum<{
|
|
2136
|
-
imported: "imported";
|
|
2137
|
-
discovered: "discovered";
|
|
2138
|
-
live: "live";
|
|
2139
|
-
tracking: "tracking";
|
|
2140
|
-
}>;
|
|
2141
|
-
kind: _$zod.ZodEnum<{
|
|
2142
|
-
root: "root";
|
|
2143
|
-
fork: "fork";
|
|
2144
|
-
subagent: "subagent";
|
|
2145
|
-
compress: "compress";
|
|
2146
|
-
}>;
|
|
2147
|
-
}, _$zod_v4_core0.$strip>>;
|
|
2148
|
-
}, _$zod_v4_core0.$strip>;
|
|
2149
|
-
};
|
|
2150
|
-
list: {
|
|
2151
|
-
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
2152
|
-
response: _$zod.ZodObject<{
|
|
2153
|
-
sessions: _$zod.ZodArray<_$zod.ZodObject<{
|
|
2154
|
-
adapterSessionId: _$zod.ZodString;
|
|
2155
|
-
adapterName: _$zod.ZodString;
|
|
2156
|
-
parentAdapterSessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2157
|
-
forkPointMessageId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2158
|
-
sessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2159
|
-
model: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2160
|
-
cwd: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2161
|
-
logFilePath: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2162
|
-
discoveredAt: _$zod.ZodNumber;
|
|
2163
|
-
startedAt: _$zod.ZodNumber;
|
|
2164
|
-
status: _$zod.ZodEnum<{
|
|
2165
|
-
imported: "imported";
|
|
2166
|
-
discovered: "discovered";
|
|
2167
|
-
live: "live";
|
|
2168
|
-
tracking: "tracking";
|
|
2169
|
-
}>;
|
|
2170
|
-
kind: _$zod.ZodEnum<{
|
|
2171
|
-
root: "root";
|
|
2172
|
-
fork: "fork";
|
|
2173
|
-
subagent: "subagent";
|
|
2174
|
-
compress: "compress";
|
|
2656
|
+
enumValues: [string, ...string[]];
|
|
2657
|
+
baseColumn: never;
|
|
2658
|
+
identity: undefined;
|
|
2659
|
+
generated: undefined;
|
|
2660
|
+
}, {}, {
|
|
2661
|
+
length: number | undefined;
|
|
2175
2662
|
}>;
|
|
2176
|
-
}, _$zod_v4_core0.$strip>>;
|
|
2177
|
-
}, _$zod_v4_core0.$strip>;
|
|
2178
|
-
};
|
|
2179
|
-
countByAdapter: {
|
|
2180
|
-
request: _$zod.ZodObject<{
|
|
2181
|
-
adapterName: _$zod.ZodString;
|
|
2182
|
-
}, _$zod_v4_core0.$strip>;
|
|
2183
|
-
response: _$zod.ZodObject<{
|
|
2184
|
-
total: _$zod.ZodNumber;
|
|
2185
|
-
imported: _$zod.ZodNumber;
|
|
2186
|
-
discovered: _$zod.ZodNumber;
|
|
2187
|
-
}, _$zod_v4_core0.$strip>;
|
|
2188
|
-
};
|
|
2189
|
-
createAndLink: {
|
|
2190
|
-
request: _$zod.ZodObject<{
|
|
2191
|
-
adapterSessionId: _$zod.ZodString;
|
|
2192
|
-
adapterName: _$zod.ZodString;
|
|
2193
|
-
adapterId: _$zod.ZodString;
|
|
2194
|
-
metadata: _$zod.ZodIntersection<_$zod.ZodUnion<readonly [_$zod.ZodObject<{
|
|
2195
|
-
parentAdapterSessionId: _$zod.ZodNull;
|
|
2196
|
-
forkPointMessageId: _$zod.ZodNull;
|
|
2197
|
-
kind: _$zod.ZodNull;
|
|
2198
|
-
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
2199
|
-
kind: _$zod.ZodLiteral<"fork">;
|
|
2200
|
-
parentAdapterSessionId: _$zod.ZodString;
|
|
2201
|
-
forkPointMessageId: _$zod.ZodString;
|
|
2202
|
-
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
2203
|
-
kind: _$zod.ZodLiteral<"subagent">;
|
|
2204
|
-
parentAdapterSessionId: _$zod.ZodString;
|
|
2205
|
-
forkPointMessageId: _$zod.ZodNull;
|
|
2206
|
-
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
2207
|
-
kind: _$zod.ZodLiteral<"compress">;
|
|
2208
|
-
parentAdapterSessionId: _$zod.ZodString;
|
|
2209
|
-
forkPointMessageId: _$zod.ZodNull;
|
|
2210
|
-
}, _$zod_v4_core0.$strip>]>, _$zod.ZodObject<{
|
|
2211
|
-
model: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2212
|
-
cwd: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2213
|
-
title: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2214
|
-
}, _$zod_v4_core0.$strip>>;
|
|
2215
|
-
existingSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2216
|
-
}, _$zod_v4_core0.$strip>;
|
|
2217
|
-
response: _$zod.ZodObject<{
|
|
2218
|
-
sessionId: _$zod.ZodString;
|
|
2219
|
-
created: _$zod.ZodBoolean;
|
|
2220
|
-
}, _$zod_v4_core0.$strip>;
|
|
2221
|
-
};
|
|
2222
|
-
}, {
|
|
2223
|
-
drizzle: {
|
|
2224
|
-
adapterSessions: _$drizzle_orm_sqlite_core0.SQLiteTableWithColumns<{
|
|
2225
|
-
name: "adapter_sessions";
|
|
2226
|
-
schema: undefined;
|
|
2227
|
-
columns: {
|
|
2228
2663
|
adapterSessionId: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2229
2664
|
name: "adapter_session_id";
|
|
2230
|
-
tableName: "
|
|
2665
|
+
tableName: "agents";
|
|
2231
2666
|
dataType: "string";
|
|
2232
2667
|
columnType: "SQLiteText";
|
|
2233
2668
|
data: string;
|
|
2234
2669
|
driverParam: string;
|
|
2235
|
-
notNull:
|
|
2670
|
+
notNull: false;
|
|
2236
2671
|
hasDefault: false;
|
|
2237
|
-
isPrimaryKey:
|
|
2672
|
+
isPrimaryKey: false;
|
|
2238
2673
|
isAutoincrement: false;
|
|
2239
2674
|
hasRuntimeDefault: false;
|
|
2240
2675
|
enumValues: [string, ...string[]];
|
|
@@ -2244,14 +2679,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2244
2679
|
}, {}, {
|
|
2245
2680
|
length: number | undefined;
|
|
2246
2681
|
}>;
|
|
2247
|
-
|
|
2248
|
-
name: "
|
|
2249
|
-
tableName: "
|
|
2682
|
+
model: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2683
|
+
name: "model";
|
|
2684
|
+
tableName: "agents";
|
|
2250
2685
|
dataType: "string";
|
|
2251
2686
|
columnType: "SQLiteText";
|
|
2252
2687
|
data: string;
|
|
2253
2688
|
driverParam: string;
|
|
2254
|
-
notNull:
|
|
2689
|
+
notNull: false;
|
|
2255
2690
|
hasDefault: false;
|
|
2256
2691
|
isPrimaryKey: false;
|
|
2257
2692
|
isAutoincrement: false;
|
|
@@ -2263,9 +2698,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2263
2698
|
}, {}, {
|
|
2264
2699
|
length: number | undefined;
|
|
2265
2700
|
}>;
|
|
2266
|
-
|
|
2267
|
-
name: "
|
|
2268
|
-
tableName: "
|
|
2701
|
+
cwd: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2702
|
+
name: "cwd";
|
|
2703
|
+
tableName: "agents";
|
|
2269
2704
|
dataType: "string";
|
|
2270
2705
|
columnType: "SQLiteText";
|
|
2271
2706
|
data: string;
|
|
@@ -2282,9 +2717,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2282
2717
|
}, {}, {
|
|
2283
2718
|
length: number | undefined;
|
|
2284
2719
|
}>;
|
|
2285
|
-
|
|
2286
|
-
name: "
|
|
2287
|
-
tableName: "
|
|
2720
|
+
providerConfigId: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2721
|
+
name: "provider_config_id";
|
|
2722
|
+
tableName: "agents";
|
|
2288
2723
|
dataType: "string";
|
|
2289
2724
|
columnType: "SQLiteText";
|
|
2290
2725
|
data: string;
|
|
@@ -2301,9 +2736,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2301
2736
|
}, {}, {
|
|
2302
2737
|
length: number | undefined;
|
|
2303
2738
|
}>;
|
|
2304
|
-
|
|
2305
|
-
name: "
|
|
2306
|
-
tableName: "
|
|
2739
|
+
personaId: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2740
|
+
name: "persona_id";
|
|
2741
|
+
tableName: "agents";
|
|
2307
2742
|
dataType: "string";
|
|
2308
2743
|
columnType: "SQLiteText";
|
|
2309
2744
|
data: string;
|
|
@@ -2320,9 +2755,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2320
2755
|
}, {}, {
|
|
2321
2756
|
length: number | undefined;
|
|
2322
2757
|
}>;
|
|
2323
|
-
|
|
2324
|
-
name: "
|
|
2325
|
-
tableName: "
|
|
2758
|
+
profileId: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2759
|
+
name: "profile_id";
|
|
2760
|
+
tableName: "agents";
|
|
2326
2761
|
dataType: "string";
|
|
2327
2762
|
columnType: "SQLiteText";
|
|
2328
2763
|
data: string;
|
|
@@ -2339,9 +2774,28 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2339
2774
|
}, {}, {
|
|
2340
2775
|
length: number | undefined;
|
|
2341
2776
|
}>;
|
|
2342
|
-
|
|
2343
|
-
name: "
|
|
2344
|
-
tableName: "
|
|
2777
|
+
harnessId: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2778
|
+
name: "harness_id";
|
|
2779
|
+
tableName: "agents";
|
|
2780
|
+
dataType: "string";
|
|
2781
|
+
columnType: "SQLiteText";
|
|
2782
|
+
data: string;
|
|
2783
|
+
driverParam: string;
|
|
2784
|
+
notNull: false;
|
|
2785
|
+
hasDefault: false;
|
|
2786
|
+
isPrimaryKey: false;
|
|
2787
|
+
isAutoincrement: false;
|
|
2788
|
+
hasRuntimeDefault: false;
|
|
2789
|
+
enumValues: [string, ...string[]];
|
|
2790
|
+
baseColumn: never;
|
|
2791
|
+
identity: undefined;
|
|
2792
|
+
generated: undefined;
|
|
2793
|
+
}, {}, {
|
|
2794
|
+
length: number | undefined;
|
|
2795
|
+
}>;
|
|
2796
|
+
clientId: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2797
|
+
name: "client_id";
|
|
2798
|
+
tableName: "agents";
|
|
2345
2799
|
dataType: "string";
|
|
2346
2800
|
columnType: "SQLiteText";
|
|
2347
2801
|
data: string;
|
|
@@ -2358,9 +2812,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2358
2812
|
}, {}, {
|
|
2359
2813
|
length: number | undefined;
|
|
2360
2814
|
}>;
|
|
2361
|
-
|
|
2362
|
-
name: "
|
|
2363
|
-
tableName: "
|
|
2815
|
+
compressionMode: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2816
|
+
name: "compression_mode";
|
|
2817
|
+
tableName: "agents";
|
|
2364
2818
|
dataType: "string";
|
|
2365
2819
|
columnType: "SQLiteText";
|
|
2366
2820
|
data: string;
|
|
@@ -2377,45 +2831,47 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2377
2831
|
}, {}, {
|
|
2378
2832
|
length: number | undefined;
|
|
2379
2833
|
}>;
|
|
2380
|
-
|
|
2381
|
-
name: "
|
|
2382
|
-
tableName: "
|
|
2834
|
+
role: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2835
|
+
name: "role";
|
|
2836
|
+
tableName: "agents";
|
|
2383
2837
|
dataType: "string";
|
|
2384
2838
|
columnType: "SQLiteText";
|
|
2385
|
-
data: "
|
|
2839
|
+
data: "lead" | "member";
|
|
2386
2840
|
driverParam: string;
|
|
2387
2841
|
notNull: true;
|
|
2388
|
-
hasDefault:
|
|
2842
|
+
hasDefault: false;
|
|
2389
2843
|
isPrimaryKey: false;
|
|
2390
2844
|
isAutoincrement: false;
|
|
2391
2845
|
hasRuntimeDefault: false;
|
|
2392
|
-
enumValues: ["
|
|
2846
|
+
enumValues: ["lead", "member"];
|
|
2393
2847
|
baseColumn: never;
|
|
2394
2848
|
identity: undefined;
|
|
2395
2849
|
generated: undefined;
|
|
2396
2850
|
}, {}, {
|
|
2397
2851
|
length: number | undefined;
|
|
2398
2852
|
}>;
|
|
2399
|
-
|
|
2400
|
-
name: "
|
|
2401
|
-
tableName: "
|
|
2402
|
-
dataType: "
|
|
2403
|
-
columnType: "
|
|
2404
|
-
data:
|
|
2405
|
-
driverParam:
|
|
2853
|
+
status: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2854
|
+
name: "status";
|
|
2855
|
+
tableName: "agents";
|
|
2856
|
+
dataType: "string";
|
|
2857
|
+
columnType: "SQLiteText";
|
|
2858
|
+
data: "active" | "idle" | "dead" | "disposed";
|
|
2859
|
+
driverParam: string;
|
|
2406
2860
|
notNull: true;
|
|
2407
2861
|
hasDefault: false;
|
|
2408
2862
|
isPrimaryKey: false;
|
|
2409
2863
|
isAutoincrement: false;
|
|
2410
2864
|
hasRuntimeDefault: false;
|
|
2411
|
-
enumValues:
|
|
2865
|
+
enumValues: ["idle", "active", "dead", "disposed"];
|
|
2412
2866
|
baseColumn: never;
|
|
2413
2867
|
identity: undefined;
|
|
2414
2868
|
generated: undefined;
|
|
2415
|
-
}, {}, {
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2869
|
+
}, {}, {
|
|
2870
|
+
length: number | undefined;
|
|
2871
|
+
}>;
|
|
2872
|
+
createdAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2873
|
+
name: "created_at";
|
|
2874
|
+
tableName: "agents";
|
|
2419
2875
|
dataType: "number";
|
|
2420
2876
|
columnType: "SQLiteInteger";
|
|
2421
2877
|
data: number;
|
|
@@ -2430,25 +2886,23 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2430
2886
|
identity: undefined;
|
|
2431
2887
|
generated: undefined;
|
|
2432
2888
|
}, {}, {}>;
|
|
2433
|
-
|
|
2434
|
-
name: "
|
|
2435
|
-
tableName: "
|
|
2436
|
-
dataType: "
|
|
2437
|
-
columnType: "
|
|
2438
|
-
data:
|
|
2439
|
-
driverParam:
|
|
2889
|
+
lastActivityAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2890
|
+
name: "last_activity_at";
|
|
2891
|
+
tableName: "agents";
|
|
2892
|
+
dataType: "number";
|
|
2893
|
+
columnType: "SQLiteInteger";
|
|
2894
|
+
data: number;
|
|
2895
|
+
driverParam: number;
|
|
2440
2896
|
notNull: true;
|
|
2441
|
-
hasDefault:
|
|
2897
|
+
hasDefault: false;
|
|
2442
2898
|
isPrimaryKey: false;
|
|
2443
2899
|
isAutoincrement: false;
|
|
2444
2900
|
hasRuntimeDefault: false;
|
|
2445
|
-
enumValues:
|
|
2901
|
+
enumValues: undefined;
|
|
2446
2902
|
baseColumn: never;
|
|
2447
2903
|
identity: undefined;
|
|
2448
2904
|
generated: undefined;
|
|
2449
|
-
}, {}, {
|
|
2450
|
-
length: number | undefined;
|
|
2451
|
-
}>;
|
|
2905
|
+
}, {}, {}>;
|
|
2452
2906
|
};
|
|
2453
2907
|
dialect: "sqlite";
|
|
2454
2908
|
}>;
|
|
@@ -2493,8 +2947,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2493
2947
|
}, _$zod_v4_core0.$strip>>>;
|
|
2494
2948
|
}, _$zod_v4_core0.$strip>>;
|
|
2495
2949
|
defaultApprovalPolicy: _$zod.ZodEnum<{
|
|
2496
|
-
"always-ask": "always-ask";
|
|
2497
2950
|
reject: "reject";
|
|
2951
|
+
"always-ask": "always-ask";
|
|
2498
2952
|
"full-access": "full-access";
|
|
2499
2953
|
}>;
|
|
2500
2954
|
logSources: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -2536,8 +2990,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2536
2990
|
}, _$zod_v4_core0.$strip>>>;
|
|
2537
2991
|
}, _$zod_v4_core0.$strip>>;
|
|
2538
2992
|
defaultApprovalPolicy: _$zod.ZodEnum<{
|
|
2539
|
-
"always-ask": "always-ask";
|
|
2540
2993
|
reject: "reject";
|
|
2994
|
+
"always-ask": "always-ask";
|
|
2541
2995
|
"full-access": "full-access";
|
|
2542
2996
|
}>;
|
|
2543
2997
|
logSources: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -2581,8 +3035,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2581
3035
|
}, _$zod_v4_core0.$strip>>>;
|
|
2582
3036
|
}, _$zod_v4_core0.$strip>>;
|
|
2583
3037
|
defaultApprovalPolicy: _$zod.ZodEnum<{
|
|
2584
|
-
"always-ask": "always-ask";
|
|
2585
3038
|
reject: "reject";
|
|
3039
|
+
"always-ask": "always-ask";
|
|
2586
3040
|
"full-access": "full-access";
|
|
2587
3041
|
}>;
|
|
2588
3042
|
logSources: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -2848,6 +3302,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2848
3302
|
'container.spawn': {
|
|
2849
3303
|
request: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
2850
3304
|
sessionId: _$zod.ZodString;
|
|
3305
|
+
executionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2851
3306
|
adapter: _$zod.ZodString;
|
|
2852
3307
|
runtime: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
2853
3308
|
full: "full";
|
|
@@ -2855,12 +3310,28 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2855
3310
|
}>>;
|
|
2856
3311
|
image: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2857
3312
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
3313
|
+
bootstrapConfig: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
3314
|
+
busAuthSecret: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3315
|
+
relayPeer: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
3316
|
+
id: _$zod.ZodString;
|
|
3317
|
+
signingPublicKey: _$zod.ZodString;
|
|
3318
|
+
}, _$zod_v4_core0.$strip>>;
|
|
3319
|
+
relayIdentity: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
3320
|
+
id: _$zod.ZodString;
|
|
3321
|
+
signingPublicKey: _$zod.ZodString;
|
|
3322
|
+
signingPrivateKeyPem: _$zod.ZodString;
|
|
3323
|
+
}, _$zod_v4_core0.$strip>>;
|
|
3324
|
+
gitToken: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3325
|
+
credentialEnv: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
3326
|
+
providerEnv: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
3327
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2858
3328
|
mode: _$zod.ZodLiteral<"container-local">;
|
|
2859
3329
|
repoPath: _$zod.ZodString;
|
|
2860
3330
|
baseBranch: _$zod.ZodString;
|
|
2861
3331
|
worktreeBranch: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2862
3332
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
2863
3333
|
sessionId: _$zod.ZodString;
|
|
3334
|
+
executionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2864
3335
|
adapter: _$zod.ZodString;
|
|
2865
3336
|
runtime: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
2866
3337
|
full: "full";
|
|
@@ -2868,13 +3339,27 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2868
3339
|
}>>;
|
|
2869
3340
|
image: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2870
3341
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
3342
|
+
bootstrapConfig: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
3343
|
+
busAuthSecret: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3344
|
+
relayPeer: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
3345
|
+
id: _$zod.ZodString;
|
|
3346
|
+
signingPublicKey: _$zod.ZodString;
|
|
3347
|
+
}, _$zod_v4_core0.$strip>>;
|
|
3348
|
+
relayIdentity: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
3349
|
+
id: _$zod.ZodString;
|
|
3350
|
+
signingPublicKey: _$zod.ZodString;
|
|
3351
|
+
signingPrivateKeyPem: _$zod.ZodString;
|
|
3352
|
+
}, _$zod_v4_core0.$strip>>;
|
|
3353
|
+
gitToken: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3354
|
+
credentialEnv: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
3355
|
+
providerEnv: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
3356
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2871
3357
|
mode: _$zod.ZodLiteral<"container-isolated">;
|
|
2872
3358
|
repoUrl: _$zod.ZodString;
|
|
2873
|
-
branch: _$zod.ZodString
|
|
2874
|
-
gitToken: _$zod.ZodString;
|
|
3359
|
+
branch: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2875
3360
|
busMode: _$zod.ZodEnum<{
|
|
2876
|
-
host: "host";
|
|
2877
3361
|
relay: "relay";
|
|
3362
|
+
host: "host";
|
|
2878
3363
|
}>;
|
|
2879
3364
|
relayUrl: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2880
3365
|
}, _$zod_v4_core0.$strip>], "mode">;
|
|
@@ -2899,8 +3384,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2899
3384
|
}, _$zod_v4_core0.$strip>;
|
|
2900
3385
|
response: _$zod.ZodObject<{
|
|
2901
3386
|
state: _$zod.ZodEnum<{
|
|
2902
|
-
running: "running";
|
|
2903
3387
|
created: "created";
|
|
3388
|
+
running: "running";
|
|
2904
3389
|
stopped: "stopped";
|
|
2905
3390
|
destroyed: "destroyed";
|
|
2906
3391
|
}>;
|
|
@@ -2966,8 +3451,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2966
3451
|
image: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2967
3452
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
2968
3453
|
busMode: _$zod.ZodEnum<{
|
|
2969
|
-
host: "host";
|
|
2970
3454
|
relay: "relay";
|
|
3455
|
+
host: "host";
|
|
2971
3456
|
}>;
|
|
2972
3457
|
relayUrl: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2973
3458
|
gitCredentialMode: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
@@ -2982,33 +3467,33 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2982
3467
|
request: _$zod.ZodObject<{
|
|
2983
3468
|
executionTarget: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
2984
3469
|
type: _$zod.ZodLiteral<"local">;
|
|
2985
|
-
name: _$zod.ZodString;
|
|
2986
3470
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2987
3471
|
id: _$zod.ZodString;
|
|
3472
|
+
name: _$zod.ZodString;
|
|
2988
3473
|
enabled: _$zod.ZodBoolean;
|
|
2989
3474
|
scope: _$zod.ZodString;
|
|
2990
3475
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
2991
3476
|
type: _$zod.ZodLiteral<"container-local">;
|
|
2992
|
-
image: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2993
|
-
name: _$zod.ZodString;
|
|
2994
3477
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2995
3478
|
id: _$zod.ZodString;
|
|
2996
|
-
|
|
3479
|
+
name: _$zod.ZodString;
|
|
2997
3480
|
enabled: _$zod.ZodBoolean;
|
|
3481
|
+
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
2998
3482
|
scope: _$zod.ZodString;
|
|
3483
|
+
image: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2999
3484
|
busUrl: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3000
3485
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
3001
3486
|
type: _$zod.ZodLiteral<"container-isolated">;
|
|
3002
|
-
image: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3003
|
-
name: _$zod.ZodString;
|
|
3004
3487
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3005
3488
|
id: _$zod.ZodString;
|
|
3006
|
-
|
|
3489
|
+
name: _$zod.ZodString;
|
|
3007
3490
|
enabled: _$zod.ZodBoolean;
|
|
3491
|
+
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
3008
3492
|
scope: _$zod.ZodString;
|
|
3493
|
+
image: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3009
3494
|
busMode: _$zod.ZodEnum<{
|
|
3010
|
-
host: "host";
|
|
3011
3495
|
relay: "relay";
|
|
3496
|
+
host: "host";
|
|
3012
3497
|
}>;
|
|
3013
3498
|
relayUrl: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3014
3499
|
gitCredentialMode: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
@@ -3073,8 +3558,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3073
3558
|
image: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3074
3559
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
3075
3560
|
busMode: _$zod.ZodEnum<{
|
|
3076
|
-
host: "host";
|
|
3077
3561
|
relay: "relay";
|
|
3562
|
+
host: "host";
|
|
3078
3563
|
}>;
|
|
3079
3564
|
relayUrl: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3080
3565
|
gitCredentialMode: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
@@ -3088,8 +3573,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3088
3573
|
resolve: {
|
|
3089
3574
|
request: _$zod.ZodObject<{
|
|
3090
3575
|
executionTargetId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3091
|
-
workstreamId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3092
|
-
projectId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3093
3576
|
}, _$zod_v4_core0.$strip>;
|
|
3094
3577
|
response: _$zod.ZodObject<{
|
|
3095
3578
|
executionTarget: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
@@ -3125,8 +3608,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3125
3608
|
image: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3126
3609
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
3127
3610
|
busMode: _$zod.ZodEnum<{
|
|
3128
|
-
host: "host";
|
|
3129
3611
|
relay: "relay";
|
|
3612
|
+
host: "host";
|
|
3130
3613
|
}>;
|
|
3131
3614
|
relayUrl: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3132
3615
|
gitCredentialMode: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
@@ -3170,8 +3653,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3170
3653
|
image: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3171
3654
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
3172
3655
|
busMode: _$zod.ZodEnum<{
|
|
3173
|
-
host: "host";
|
|
3174
3656
|
relay: "relay";
|
|
3657
|
+
host: "host";
|
|
3175
3658
|
}>;
|
|
3176
3659
|
relayUrl: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3177
3660
|
gitCredentialMode: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
@@ -3213,8 +3696,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3213
3696
|
image: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3214
3697
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
3215
3698
|
busMode: _$zod.ZodEnum<{
|
|
3216
|
-
host: "host";
|
|
3217
3699
|
relay: "relay";
|
|
3700
|
+
host: "host";
|
|
3218
3701
|
}>;
|
|
3219
3702
|
relayUrl: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3220
3703
|
gitCredentialMode: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
@@ -3249,8 +3732,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3249
3732
|
id: _$zod.ZodString;
|
|
3250
3733
|
enabled: _$zod.ZodBoolean;
|
|
3251
3734
|
config: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
3252
|
-
scope: _$zod.ZodString;
|
|
3253
3735
|
extensionName: _$zod.ZodString;
|
|
3736
|
+
scope: _$zod.ZodString;
|
|
3254
3737
|
}, _$zod_v4_core0.$strip>;
|
|
3255
3738
|
}, _$zod_v4_core0.$strip>;
|
|
3256
3739
|
response: _$zod.ZodObject<{
|
|
@@ -3298,8 +3781,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3298
3781
|
path: _$zod.ZodString;
|
|
3299
3782
|
kind: _$zod.ZodEnum<{
|
|
3300
3783
|
create: "create";
|
|
3301
|
-
change: "change";
|
|
3302
3784
|
delete: "delete";
|
|
3785
|
+
change: "change";
|
|
3303
3786
|
}>;
|
|
3304
3787
|
}, _$zod_v4_core0.$strip>;
|
|
3305
3788
|
batch: _$zod.ZodObject<{
|
|
@@ -3307,8 +3790,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3307
3790
|
path: _$zod.ZodString;
|
|
3308
3791
|
kind: _$zod.ZodEnum<{
|
|
3309
3792
|
create: "create";
|
|
3310
|
-
change: "change";
|
|
3311
3793
|
delete: "delete";
|
|
3794
|
+
change: "change";
|
|
3312
3795
|
}>;
|
|
3313
3796
|
}, _$zod_v4_core0.$strip>>;
|
|
3314
3797
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -3443,8 +3926,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3443
3926
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3444
3927
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3445
3928
|
approvalPolicy: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
3446
|
-
"always-ask": "always-ask";
|
|
3447
3929
|
reject: "reject";
|
|
3930
|
+
"always-ask": "always-ask";
|
|
3448
3931
|
"full-access": "full-access";
|
|
3449
3932
|
}>>;
|
|
3450
3933
|
nativeTools: _$zod.ZodObject<{
|
|
@@ -3471,13 +3954,13 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3471
3954
|
"process.manage": "process.manage";
|
|
3472
3955
|
}>>>>>;
|
|
3473
3956
|
capabilityOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
3474
|
-
"always-ask": "always-ask";
|
|
3475
3957
|
reject: "reject";
|
|
3958
|
+
"always-ask": "always-ask";
|
|
3476
3959
|
"full-access": "full-access";
|
|
3477
3960
|
}>>>;
|
|
3478
3961
|
toolApprovalOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
3479
|
-
"always-ask": "always-ask";
|
|
3480
3962
|
reject: "reject";
|
|
3963
|
+
"always-ask": "always-ask";
|
|
3481
3964
|
"full-access": "full-access";
|
|
3482
3965
|
}>>>;
|
|
3483
3966
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
@@ -3493,13 +3976,13 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3493
3976
|
set: {
|
|
3494
3977
|
request: _$zod.ZodObject<{
|
|
3495
3978
|
harness: _$zod.ZodObject<{
|
|
3496
|
-
name: _$zod.ZodString;
|
|
3497
3979
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3498
3980
|
id: _$zod.ZodString;
|
|
3499
|
-
|
|
3500
|
-
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
3981
|
+
name: _$zod.ZodString;
|
|
3501
3982
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3502
3983
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3984
|
+
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3985
|
+
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
3503
3986
|
credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
3504
3987
|
toolCapabilityMap: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodEnum<{
|
|
3505
3988
|
"file.read": "file.read";
|
|
@@ -3513,18 +3996,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3513
3996
|
"process.manage": "process.manage";
|
|
3514
3997
|
}>>>>>;
|
|
3515
3998
|
capabilityOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
3516
|
-
"always-ask": "always-ask";
|
|
3517
3999
|
reject: "reject";
|
|
4000
|
+
"always-ask": "always-ask";
|
|
3518
4001
|
"full-access": "full-access";
|
|
3519
4002
|
}>>>;
|
|
3520
4003
|
toolApprovalOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
3521
|
-
"always-ask": "always-ask";
|
|
3522
4004
|
reject: "reject";
|
|
4005
|
+
"always-ask": "always-ask";
|
|
3523
4006
|
"full-access": "full-access";
|
|
3524
4007
|
}>>>;
|
|
3525
4008
|
approvalPolicy: _$zod.ZodEnum<{
|
|
3526
|
-
"always-ask": "always-ask";
|
|
3527
4009
|
reject: "reject";
|
|
4010
|
+
"always-ask": "always-ask";
|
|
3528
4011
|
"full-access": "full-access";
|
|
3529
4012
|
}>;
|
|
3530
4013
|
isDefault: _$zod.ZodBoolean;
|
|
@@ -3569,8 +4052,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3569
4052
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3570
4053
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3571
4054
|
approvalPolicy: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
3572
|
-
"always-ask": "always-ask";
|
|
3573
4055
|
reject: "reject";
|
|
4056
|
+
"always-ask": "always-ask";
|
|
3574
4057
|
"full-access": "full-access";
|
|
3575
4058
|
}>>;
|
|
3576
4059
|
nativeTools: _$zod.ZodObject<{
|
|
@@ -3597,13 +4080,13 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3597
4080
|
"process.manage": "process.manage";
|
|
3598
4081
|
}>>>>>;
|
|
3599
4082
|
capabilityOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
3600
|
-
"always-ask": "always-ask";
|
|
3601
4083
|
reject: "reject";
|
|
4084
|
+
"always-ask": "always-ask";
|
|
3602
4085
|
"full-access": "full-access";
|
|
3603
4086
|
}>>>;
|
|
3604
4087
|
toolApprovalOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
3605
|
-
"always-ask": "always-ask";
|
|
3606
4088
|
reject: "reject";
|
|
4089
|
+
"always-ask": "always-ask";
|
|
3607
4090
|
"full-access": "full-access";
|
|
3608
4091
|
}>>>;
|
|
3609
4092
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
@@ -3931,7 +4414,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3931
4414
|
tableName: "harness_definitions";
|
|
3932
4415
|
dataType: "json";
|
|
3933
4416
|
columnType: "SQLiteTextJson";
|
|
3934
|
-
data: Record<string, "
|
|
4417
|
+
data: Record<string, "reject" | "always-ask" | "full-access">;
|
|
3935
4418
|
driverParam: string;
|
|
3936
4419
|
notNull: false;
|
|
3937
4420
|
hasDefault: false;
|
|
@@ -3943,14 +4426,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3943
4426
|
identity: undefined;
|
|
3944
4427
|
generated: undefined;
|
|
3945
4428
|
}, {}, {
|
|
3946
|
-
$type: Record<string, "
|
|
4429
|
+
$type: Record<string, "reject" | "always-ask" | "full-access">;
|
|
3947
4430
|
}>;
|
|
3948
4431
|
toolApprovalOverrides: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3949
4432
|
name: "tool_approval_overrides";
|
|
3950
4433
|
tableName: "harness_definitions";
|
|
3951
4434
|
dataType: "json";
|
|
3952
4435
|
columnType: "SQLiteTextJson";
|
|
3953
|
-
data: Record<string, "
|
|
4436
|
+
data: Record<string, "reject" | "always-ask" | "full-access">;
|
|
3954
4437
|
driverParam: string;
|
|
3955
4438
|
notNull: false;
|
|
3956
4439
|
hasDefault: false;
|
|
@@ -3962,7 +4445,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3962
4445
|
identity: undefined;
|
|
3963
4446
|
generated: undefined;
|
|
3964
4447
|
}, {}, {
|
|
3965
|
-
$type: Record<string, "
|
|
4448
|
+
$type: Record<string, "reject" | "always-ask" | "full-access">;
|
|
3966
4449
|
}>;
|
|
3967
4450
|
isDefault: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3968
4451
|
name: "is_default";
|
|
@@ -4556,9 +5039,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
4556
5039
|
scope: _$zod.ZodString;
|
|
4557
5040
|
context: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4558
5041
|
viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
5042
|
+
mobile: "mobile";
|
|
4559
5043
|
desktop: "desktop";
|
|
4560
5044
|
tablet: "tablet";
|
|
4561
|
-
mobile: "mobile";
|
|
4562
5045
|
}>>;
|
|
4563
5046
|
}, _$zod_v4_core0.$strip>;
|
|
4564
5047
|
category: _$zod.ZodString;
|
|
@@ -4577,9 +5060,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
4577
5060
|
scope: _$zod.ZodString;
|
|
4578
5061
|
context: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4579
5062
|
viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
5063
|
+
mobile: "mobile";
|
|
4580
5064
|
desktop: "desktop";
|
|
4581
5065
|
tablet: "tablet";
|
|
4582
|
-
mobile: "mobile";
|
|
4583
5066
|
}>>;
|
|
4584
5067
|
}, _$zod_v4_core0.$strip>;
|
|
4585
5068
|
category: _$zod.ZodString;
|
|
@@ -4599,9 +5082,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
4599
5082
|
scope: _$zod.ZodString;
|
|
4600
5083
|
context: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4601
5084
|
viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
5085
|
+
mobile: "mobile";
|
|
4602
5086
|
desktop: "desktop";
|
|
4603
5087
|
tablet: "tablet";
|
|
4604
|
-
mobile: "mobile";
|
|
4605
5088
|
}>>;
|
|
4606
5089
|
}, _$zod_v4_core0.$strip>;
|
|
4607
5090
|
category: _$zod.ZodString;
|
|
@@ -4620,9 +5103,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
4620
5103
|
scope: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4621
5104
|
context: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
4622
5105
|
viewport: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodEnum<{
|
|
5106
|
+
mobile: "mobile";
|
|
4623
5107
|
desktop: "desktop";
|
|
4624
5108
|
tablet: "tablet";
|
|
4625
|
-
mobile: "mobile";
|
|
4626
5109
|
}>>>;
|
|
4627
5110
|
}, _$zod_v4_core0.$strip>>;
|
|
4628
5111
|
category: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -4637,9 +5120,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
4637
5120
|
scope: _$zod.ZodString;
|
|
4638
5121
|
context: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4639
5122
|
viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
5123
|
+
mobile: "mobile";
|
|
4640
5124
|
desktop: "desktop";
|
|
4641
5125
|
tablet: "tablet";
|
|
4642
|
-
mobile: "mobile";
|
|
4643
5126
|
}>>;
|
|
4644
5127
|
}, _$zod_v4_core0.$strip>;
|
|
4645
5128
|
category: _$zod.ZodString;
|
|
@@ -5216,9 +5699,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5216
5699
|
entries: _$zod.ZodArray<_$zod.ZodObject<{
|
|
5217
5700
|
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
5218
5701
|
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
5219
|
-
priority: _$zod.ZodDefault<_$zod.ZodNumber>;
|
|
5220
5702
|
label: _$zod.ZodString;
|
|
5221
5703
|
entryId: _$zod.ZodString;
|
|
5704
|
+
priority: _$zod.ZodDefault<_$zod.ZodNumber>;
|
|
5222
5705
|
}, _$zod_v4_core0.$strip>>;
|
|
5223
5706
|
section: _$zod.ZodEnum<{
|
|
5224
5707
|
tools: "tools";
|
|
@@ -5281,9 +5764,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5281
5764
|
startedAt: _$zod.ZodNumber;
|
|
5282
5765
|
completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
5283
5766
|
status: _$zod.ZodEnum<{
|
|
5284
|
-
completed: "completed";
|
|
5285
5767
|
error: "error";
|
|
5286
5768
|
active: "active";
|
|
5769
|
+
completed: "completed";
|
|
5287
5770
|
}>;
|
|
5288
5771
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5289
5772
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -5305,13 +5788,13 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5305
5788
|
request: _$zod.ZodObject<{
|
|
5306
5789
|
turnId: _$zod.ZodString;
|
|
5307
5790
|
status: _$zod.ZodEnum<{
|
|
5308
|
-
completed: "completed";
|
|
5309
5791
|
error: "error";
|
|
5792
|
+
completed: "completed";
|
|
5310
5793
|
}>;
|
|
5311
5794
|
expectedStatus: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
5312
|
-
completed: "completed";
|
|
5313
5795
|
error: "error";
|
|
5314
5796
|
active: "active";
|
|
5797
|
+
completed: "completed";
|
|
5315
5798
|
}>>;
|
|
5316
5799
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5317
5800
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -5335,9 +5818,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5335
5818
|
startedAt: _$zod.ZodNumber;
|
|
5336
5819
|
completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
5337
5820
|
status: _$zod.ZodEnum<{
|
|
5338
|
-
completed: "completed";
|
|
5339
5821
|
error: "error";
|
|
5340
5822
|
active: "active";
|
|
5823
|
+
completed: "completed";
|
|
5341
5824
|
}>;
|
|
5342
5825
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5343
5826
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -5365,9 +5848,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5365
5848
|
startedAt: _$zod.ZodNumber;
|
|
5366
5849
|
completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
5367
5850
|
status: _$zod.ZodEnum<{
|
|
5368
|
-
completed: "completed";
|
|
5369
5851
|
error: "error";
|
|
5370
5852
|
active: "active";
|
|
5853
|
+
completed: "completed";
|
|
5371
5854
|
}>;
|
|
5372
5855
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5373
5856
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -5392,9 +5875,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5392
5875
|
startedAt: _$zod.ZodNumber;
|
|
5393
5876
|
completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
5394
5877
|
status: _$zod.ZodEnum<{
|
|
5395
|
-
completed: "completed";
|
|
5396
5878
|
error: "error";
|
|
5397
5879
|
active: "active";
|
|
5880
|
+
completed: "completed";
|
|
5398
5881
|
}>;
|
|
5399
5882
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5400
5883
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -5424,9 +5907,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5424
5907
|
startedAt: _$zod.ZodNumber;
|
|
5425
5908
|
completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
5426
5909
|
status: _$zod.ZodEnum<{
|
|
5427
|
-
completed: "completed";
|
|
5428
5910
|
error: "error";
|
|
5429
5911
|
active: "active";
|
|
5912
|
+
completed: "completed";
|
|
5430
5913
|
}>;
|
|
5431
5914
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5432
5915
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -5449,9 +5932,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5449
5932
|
sessionId: _$zod.ZodString;
|
|
5450
5933
|
limit: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
5451
5934
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
5452
|
-
completed: "completed";
|
|
5453
5935
|
error: "error";
|
|
5454
5936
|
active: "active";
|
|
5937
|
+
completed: "completed";
|
|
5455
5938
|
}>>;
|
|
5456
5939
|
}, _$zod_v4_core0.$strip>;
|
|
5457
5940
|
response: _$zod.ZodObject<{
|
|
@@ -5462,9 +5945,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5462
5945
|
startedAt: _$zod.ZodNumber;
|
|
5463
5946
|
completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
5464
5947
|
status: _$zod.ZodEnum<{
|
|
5465
|
-
completed: "completed";
|
|
5466
5948
|
error: "error";
|
|
5467
5949
|
active: "active";
|
|
5950
|
+
completed: "completed";
|
|
5468
5951
|
}>;
|
|
5469
5952
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5470
5953
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -5494,9 +5977,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5494
5977
|
startedAt: _$zod.ZodNumber;
|
|
5495
5978
|
completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
5496
5979
|
status: _$zod.ZodEnum<{
|
|
5497
|
-
completed: "completed";
|
|
5498
5980
|
error: "error";
|
|
5499
5981
|
active: "active";
|
|
5982
|
+
completed: "completed";
|
|
5500
5983
|
}>;
|
|
5501
5984
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5502
5985
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -5524,9 +6007,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5524
6007
|
startedAt: _$zod.ZodNumber;
|
|
5525
6008
|
completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
5526
6009
|
status: _$zod.ZodEnum<{
|
|
5527
|
-
completed: "completed";
|
|
5528
6010
|
error: "error";
|
|
5529
6011
|
active: "active";
|
|
6012
|
+
completed: "completed";
|
|
5530
6013
|
}>;
|
|
5531
6014
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5532
6015
|
usage: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -5544,10 +6027,10 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5544
6027
|
}, _$zod_v4_core0.$strip>>;
|
|
5545
6028
|
}, _$zod_v4_core0.$strip>;
|
|
5546
6029
|
};
|
|
5547
|
-
}, _$_makaio_storage_core0.StorageNamespaceExtensions>, _$_makaio_core0.BusNamespaceDefinition<"
|
|
6030
|
+
}, _$_makaio_storage_core0.StorageNamespaceExtensions>, _$_makaio_core0.BusNamespaceDefinition<"subagentTemplate", {
|
|
5548
6031
|
spawn: {
|
|
5549
6032
|
request: _$zod.ZodObject<{
|
|
5550
|
-
|
|
6033
|
+
subagentTemplateName: _$zod.ZodString;
|
|
5551
6034
|
prompt: _$zod.ZodString;
|
|
5552
6035
|
sessionId: _$zod.ZodString;
|
|
5553
6036
|
overrides: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
@@ -5570,10 +6053,10 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5570
6053
|
subagentId: _$zod.ZodString;
|
|
5571
6054
|
status: _$zod.ZodEnum<{
|
|
5572
6055
|
completed: "completed";
|
|
5573
|
-
cancelled: "cancelled";
|
|
5574
6056
|
running: "running";
|
|
5575
6057
|
waiting_input: "waiting_input";
|
|
5576
6058
|
failed: "failed";
|
|
6059
|
+
cancelled: "cancelled";
|
|
5577
6060
|
}>;
|
|
5578
6061
|
result: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5579
6062
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -5599,7 +6082,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5599
6082
|
};
|
|
5600
6083
|
spawned: _$zod.ZodObject<{
|
|
5601
6084
|
instanceId: _$zod.ZodString;
|
|
5602
|
-
|
|
6085
|
+
subagentTemplateName: _$zod.ZodString;
|
|
5603
6086
|
}, _$zod_v4_core0.$strip>;
|
|
5604
6087
|
completed: _$zod.ZodObject<{
|
|
5605
6088
|
instanceId: _$zod.ZodString;
|
|
@@ -5607,7 +6090,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5607
6090
|
result: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5608
6091
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5609
6092
|
}, _$zod_v4_core0.$strip>;
|
|
5610
|
-
}>, _$_makaio_core0.BusNamespaceDefinition<"settings:
|
|
6093
|
+
}>, _$_makaio_core0.BusNamespaceDefinition<"settings:subagentTemplate", {
|
|
5611
6094
|
list: {
|
|
5612
6095
|
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
5613
6096
|
response: _$zod.ZodObject<{
|
|
@@ -5648,18 +6131,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5648
6131
|
create: {
|
|
5649
6132
|
request: _$zod.ZodObject<{
|
|
5650
6133
|
name: _$zod.ZodString;
|
|
6134
|
+
adapterName: _$zod.ZodString;
|
|
6135
|
+
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
5651
6136
|
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5652
6137
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5653
6138
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5654
|
-
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
5655
|
-
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
5656
|
-
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
5657
|
-
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
5658
|
-
adapterName: _$zod.ZodString;
|
|
5659
6139
|
contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
5660
6140
|
fork: "fork";
|
|
5661
6141
|
fresh: "fresh";
|
|
5662
6142
|
}>>;
|
|
6143
|
+
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6144
|
+
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6145
|
+
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
5663
6146
|
}, _$zod_v4_core0.$strip>;
|
|
5664
6147
|
response: _$zod.ZodObject<{
|
|
5665
6148
|
id: _$zod.ZodString;
|
|
@@ -5699,4 +6182,4 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5699
6182
|
};
|
|
5700
6183
|
}>];
|
|
5701
6184
|
//#endregion
|
|
5702
|
-
export { AdapterIdentityRegistry, AdapterRegistry, AdapterRuntimeNamespace, AdapterRuntimeSchemas, AdapterRuntimeSubjects, type
|
|
6185
|
+
export { AdapterIdentityRegistry, AdapterRegistry, AdapterRuntimeNamespace, AdapterRuntimeSchemas, AdapterRuntimeSubjects, type AgentContextState, type AgentInstanceStatus, AgentInstanceStatusSchema, AgentRuntimeNamespace, AgentRuntimeSchemas, type AgentRuntimeSelection, AgentRuntimeSelectionSchema, AgentRuntimeSubjects, AgentStorageNamespace, AgentStorageSubjects, type AmbiguousMatch, ArtifactLifecycleHookRegistry, ArtifactLifecycleHookRegistryToken, ArtifactLifecycleHookRejectedError, ArtifactSchemaRegistry, ArtifactSchemaRegistryToken, type AwaitResult, type BugEntry, BugEntrySchema, type BuildContextOptions, CONNECTOR_SWAP_DEFAULT_PIPELINE, CachedRegistryFetcher, CanonicalModelResolutionError, type CanonicalModelResolutionErrorCode, CanonicalModelResolver, type CanonicalModelResolverDeps, CanonicalModelService, CapabilityService, CapabilityToken, type CodebaseChangedEvent, CodebaseChangedEventSchema, CodebaseNamespace, CodebaseSchemas, CodebaseSubjects, type CompressRequest, CompressRequestSchema, type CompressResponse, CompressResponseSchema, type CompressionEvent, CompressionEventSchema, CompressionNamespace, CompressionSchemas, CompressionSubjects, type ContainerCreated, ContainerCreatedSchema, type ContainerDestroyed, ContainerDestroyedSchema, ContainerIsolatedExecutionTargetSchema, type ContainerIsolatedSpawnRequest, ContainerIsolatedSpawnRequestSchema, ContainerLocalExecutionTargetSchema, type ContainerLocalSpawnRequest, ContainerLocalSpawnRequestSchema, type ContainerRuntime, ContainerRuntimeSchema, ContainerSpawnNamespace, ContainerSpawnSubjects, type ContainerStarted, ContainerStartedSchema, type ContainerState, ContainerStateSchema, type ContainerStopped, ContainerStoppedSchema, type ContextAssemblyResult, ContextWindowTracker, type ContextWindowTrackerConfig, type DefaultModelResolution, DockerNamespace, DockerSubjects, type EventTransform, type ExecutionTarget, type ExecutionTargetInput, ExecutionTargetInputSchema, type ExecutionTargetListQuery, ExecutionTargetListQuerySchema, ExecutionTargetNamespace, type ExecutionTargetResolveRequest, ExecutionTargetResolveRequestSchema, ExecutionTargetSchema, ExecutionTargetSchemas, ExecutionTargetSubjects, type ExecutionTargetType, ExecutionTargetTypeSchema, type ExtractedContext, ExtractedContextSchema, FacetNamespaceRegistry, FacetNamespaceRegistryToken, FallbackRegistryFetcher, type FallbackRuntimeOptions, FrameworkServicesCoreNamespaces, type IModelRegistryCache, type IModelRegistryFetcher, type ISessionOrchestrator, type InputResolver, type InsertMessage, type InsertMessageRouting, type InsertSessionEvent, type InsertTurn, type InternalPendingRequest, type ListToolsFilter, LocalExecutionTargetSchema, MakaioSession, type MakaioSessionConfig, MakaioSessionService, MessageRoutingNamespace, MessageRoutingSubjects, MessageStorageNamespace, MessageStorageSubjects, type ModelRegistry, type ModelRegistryCheckModelInProvidersRequest, type ModelRegistryCheckModelInProvidersResponse, type ModelRegistryGetForProviderRequest, type ModelRegistryGetForProviderResponse, type ModelRegistryGetLabModelsRequest, type ModelRegistryGetLabModelsResponse, type ModelRegistryGetProviderModelsRequest, type ModelRegistryGetProviderModelsResponse, ModelRegistryNamespace, ModelRegistryProviderNotFoundError, type ModelRegistryRefreshRequest, type ModelRegistryRefreshResponse, ModelRegistrySchema, ModelRegistrySchemas, ModelRegistryService, type ModelRegistryServiceOptions, ModelRegistrySubjects, ModelRegistryToken, type PreferenceItem, PreferenceItemSchema, type PreferenceKey, PreferenceKeySchema, PreferenceValueSchema, PreferencesNamespace, PreferencesSchemas, PreferencesSubjects, type ProviderModelOverride, ProviderModelOverrideSchema, type RecoveryConfig, type RegisteredAdapterRuntimeIdentityHandlers, type ResolveIdRequest, ResolveIdRequestSchema, type ResolveIdResponse, ResolveIdResponseSchema, type ResolveNameRequest, ResolveNameRequestSchema, type ResolveNameResponse, ResolveNameResponseSchema, type ResolvedDefaultTarget, type ResolvedSelection, type RunAfterInput, type RunBeforeInput, type RunBeforeResult, type SearchFilters, type SearchSessionRow, type SelectMessage, type SelectMessageRouting, type SelectSessionEvent, type SelectTurn, SessionBridge, SessionBridgeToken, type SessionContextWindowState, SessionEventStorageNamespace, SessionEventStorageSubjects, SessionExtensionContextImpl, SessionLogger, type SessionLoggerOptions, SessionOrchestrator, SessionOrchestratorToken, type SessionPreviewMaps, SessionStorageNamespace, SessionStorageSubjects, SessionStorageToken, SessionToken, SessionTurnManager, type SpawnOptions, type SpawnRequest, SpawnRequestSchema, type SpawnResponse, SpawnResponseSchema, type StartTurnOptions, type StatusRequest, StatusRequestSchema, type StatusResponse, StatusResponseSchema, type StopRequest, StopRequestSchema, type StopResponse, StopResponseSchema, SubagentManager, SubagentService, SubagentServiceToken, type SubagentTemplate, SubagentTemplateCompletedEventSchema, type SubagentTemplateCreate, SubagentTemplateCreateSchema, type SubagentTemplateInstance, SubagentTemplateInstanceSchema, type SubagentTemplateInstanceStatus, SubagentTemplateInstanceStatusSchema, SubagentTemplateKernelNamespace, SubagentTemplateKernelSchemas, SubagentTemplateSchema, SubagentTemplateSettingsSchemas, type SubagentTemplateSpawnRequest, SubagentTemplateSpawnRequestSchema, SubagentTemplateSpawnedEventSchema, SubagentTemplateSubjects, type SubagentTemplateSummary, SubagentTemplateSummarySchema, type SubagentTemplateUpdate, SubagentTemplateUpdateSchema, SurfaceBindingRegistry, SurfaceBindingRegistryToken, type TechnicalDetails, TechnicalDetailsSchema, type TodoEntry, TodoEntrySchema, ToolApprovalService, ToolApprovalToken, ToolRegistry, type ToolRegistryOptions, ToolRegistryToken, type ToolsWithToolsetsResult, type ToolsetInfo, type ToolsetPolicy, type ToolsetPolicyProvider, type TrackOptions, type TrackedSubagent, TransitionActionRegistry, TransitionPipelineService, TransitionPipelineToken, TransitionRuleRegistry, type TrayMenuEntry, TrayMenuEntrySchema, type TrayMenuGroup, TrayMenuGroupEntrySchema, TrayMenuGroupSchema, type TrayMenuItemClicked, TrayMenuItemClickedSchema, type TrayMenuListEntry, TrayMenuListEntrySchema, TrayMenuMetadataSchema, TrayMenuNamespace, TrayMenuSchemas, TrayMenuSectionSchema, TrayMenuService, TrayMenuSubjects, TrayMenuToken, Turn, type TurnCompleteCallback, type TurnCompletionResult, type TurnConfig, type TurnContext, TurnContextEnricher, type TurnResult, type TurnStateChange, TurnStorageNamespace, TurnStorageSubjects, WORKFLOW_START_ACTION_TYPE, WorkflowBlockRegistry, WorkflowBlockRegistryToken, actionRegistry, activateProviderContext, activateProviderContextStrict, agents, artifactLifecycleHookRegistryPackage, artifactSchemaRegistryPackage, assembleForkContext, buildDeterministicAdapterId, buildProviderContext, buildRecoveryContext, buildRecoveryContextWithPipeline, buildSessionContext, buildTurnInitiator, canonicalModelPackage, capabilityPackage, createArtifactKindContributionProcessor, createArtifactLifecycleHookContributionProcessor, createFacetNamespaceContributionProcessor, createModelRegistryPackage, createSessionExtensionContext, createSurfaceBindingContributionProcessor, createToolContributionProcessor, createTransitionContributionProcessor, createWorkflowBlockContributionProcessor, ensureAgentCwd, ensureAgentModel, extractTextContent, facetNamespaceRegistryPackage, fetchAgentsBySession, fetchMessageCountsBySession, fetchPreviewBySession, fetchSessionPreviewMaps, findTurnByAgent, frameworkCorePackages, getFullConversation, getOrCreateSession, importCursors, kindToBranchKind, mapAgentsBySession, mapRowToSession, mapToSession, mergeModelMetadata, messageRouting, messages, normalizeSelectionString, normalizeToBlocks, parseForkTransforms, pickFallbackRuntimeOptions, recoverAgent, registerAbandonHandler, registerAdapterRuntimeIdentityHandlers, registerAttachHandler, registerBuiltInActions, registerCompressHandler, registerCompressLineageResolver, registerCoreSessionServiceHandlers, registerDrizzleAgentStorage, registerDrizzleImportCursorStorage, registerDrizzleMessageRoutingStorage, registerDrizzleMessageStorage, registerDrizzleSessionEventStorage, registerDrizzleSessionStorage, registerDrizzleTurnStorage, registerForkHandler, registerFtsSearchHandler, registerGetStatusCountsHandler, registerListActionsHandler, registerMemoryAgentStorage, registerMemoryMessageStorage, registerMemorySessionEventStorage, registerMemorySessionStorage, registerMemoryTurnStorage, registerMergeHandler, registerParentResolver, registerResumeHandler, registerSpawningToolCallResolver, resetBuiltInActionsRegistration, resolveAdapterId, resolveAdapterNameById, resolveDeterministicAdapterId, resolveExecutionTarget, resolveModelCapabilities, resolveTargetAgents, routeToAgents, routeToAgentsCore, sessionBridgePackage, sessionEvents, sessionOrchestratorPackage, sessionPackage, sessionStoragePackage, sessions, subagentServicePackage, surfaceBindingRegistryPackage, toolApprovalPackage, toolRegistryPackage, transitionPipelinePackage, trayMenuPackage, turns, verifyAndRecoverAgents, workflowBlockRegistryPackage };
|