@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
package/dist/clients/index.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ import { BaseService } from "@makaio/framework/service-base";
|
|
|
9
9
|
import { ClientAccountIdentifier, ClientDefinition as ClientDefinition$1, ClientExecutionContext, ClientInstallCompleted, ClientInstallProgress, ClientRuntimeObserveRequest, ClientSessionObservedBase, ClientSubjects, ClientUsageSnapshot, ClientWiringEntry, ClientWiringEntrySchema, ManagedInstallDescriptor, ManagedInstallStrategy, PostInstallDescriptor } from "@makaio/framework/contracts/client";
|
|
10
10
|
import * as _$zod_v4_core0 from "zod/v4/core";
|
|
11
11
|
|
|
12
|
-
//#region
|
|
12
|
+
//#region subsystems/client/src/atomic-modify-file.d.ts
|
|
13
13
|
/**
|
|
14
14
|
* Atomic file read-modify-write utility with per-path mutex serialization.
|
|
15
15
|
*
|
|
@@ -87,7 +87,7 @@ type AtomicContentParser<TContent> = (raw: unknown) => TContent;
|
|
|
87
87
|
*/
|
|
88
88
|
declare function atomicModifyFile<TContent, TResult>(filePath: string, defaultContent: unknown, mutex: Map<string, Promise<void>>, parseContent: AtomicContentParser<TContent>, modifier: AtomicModifier<TContent, TResult>): Promise<TResult>;
|
|
89
89
|
//#endregion
|
|
90
|
-
//#region
|
|
90
|
+
//#region subsystems/client/src/client-binary-errors.d.ts
|
|
91
91
|
/**
|
|
92
92
|
* Typed error classes for the client binary management subsystem.
|
|
93
93
|
* @packageDocumentation
|
|
@@ -109,7 +109,7 @@ declare class BinaryNotFoundError extends Error {
|
|
|
109
109
|
constructor(clientId: string);
|
|
110
110
|
}
|
|
111
111
|
//#endregion
|
|
112
|
-
//#region
|
|
112
|
+
//#region subsystems/client/src/client-account-registry.d.ts
|
|
113
113
|
/**
|
|
114
114
|
* Result returned when account identifiers are observed or ingested.
|
|
115
115
|
*/
|
|
@@ -152,7 +152,7 @@ declare class ClientAccountRegistry {
|
|
|
152
152
|
private mergeInto;
|
|
153
153
|
}
|
|
154
154
|
//#endregion
|
|
155
|
-
//#region
|
|
155
|
+
//#region subsystems/client/src/binary-strategies/types.d.ts
|
|
156
156
|
/**
|
|
157
157
|
* Injected I/O dependencies for install strategy implementations.
|
|
158
158
|
*
|
|
@@ -227,7 +227,7 @@ interface StrategyDependencies {
|
|
|
227
227
|
removeDirectory(dirPath: string): Promise<void>;
|
|
228
228
|
}
|
|
229
229
|
//#endregion
|
|
230
|
-
//#region
|
|
230
|
+
//#region subsystems/client/src/client-binary-manager-types.d.ts
|
|
231
231
|
/**
|
|
232
232
|
* Configuration for the managed binary base directory.
|
|
233
233
|
*
|
|
@@ -419,7 +419,7 @@ declare function isPathWithinBase(base: string, candidate: string): boolean;
|
|
|
419
419
|
*/
|
|
420
420
|
declare function resolveAndValidateBasePath(basePath: string, caller: string): string;
|
|
421
421
|
//#endregion
|
|
422
|
-
//#region
|
|
422
|
+
//#region subsystems/client/src/client-binary-manager.d.ts
|
|
423
423
|
/**
|
|
424
424
|
* In-memory manager for the global `client.*` binary-management contracts.
|
|
425
425
|
*
|
|
@@ -608,7 +608,7 @@ declare class ClientBinaryManager extends BaseService {
|
|
|
608
608
|
private resolveManagedConfigDir;
|
|
609
609
|
}
|
|
610
610
|
//#endregion
|
|
611
|
-
//#region
|
|
611
|
+
//#region subsystems/client/src/client-binary-job-runner.d.ts
|
|
612
612
|
/**
|
|
613
613
|
* Executes install jobs asynchronously and delivers progress and completed
|
|
614
614
|
* notifications via caller-provided typed callbacks.
|
|
@@ -796,7 +796,7 @@ declare class ClientBinaryJobRunner {
|
|
|
796
796
|
private resolveTargetDir;
|
|
797
797
|
}
|
|
798
798
|
//#endregion
|
|
799
|
-
//#region
|
|
799
|
+
//#region subsystems/client/src/client-definition-registry.d.ts
|
|
800
800
|
/**
|
|
801
801
|
* Concrete {@link ClientDefinitionLookup} implementation seeded with a fixed
|
|
802
802
|
* set of definitions at construction time.
|
|
@@ -862,7 +862,7 @@ declare class ClientDefinitionRegistry implements ClientDefinitionLookup {
|
|
|
862
862
|
private registerUnique;
|
|
863
863
|
}
|
|
864
864
|
//#endregion
|
|
865
|
-
//#region
|
|
865
|
+
//#region subsystems/client/src/client-binary-version-resolver.d.ts
|
|
866
866
|
/**
|
|
867
867
|
* Resolution result returned by {@link ClientBinaryVersionResolver.resolveInstallVersion}.
|
|
868
868
|
*/
|
|
@@ -911,7 +911,7 @@ declare class ClientBinaryVersionResolver {
|
|
|
911
911
|
resolveInstallVersion(clientId: string, descriptor: ManagedInstallDescriptor, explicitVersion?: string): ResolvedInstallVersion;
|
|
912
912
|
}
|
|
913
913
|
//#endregion
|
|
914
|
-
//#region
|
|
914
|
+
//#region subsystems/client/src/client-runtime-registry-types.d.ts
|
|
915
915
|
/**
|
|
916
916
|
* Shared types for the client runtime registry.
|
|
917
917
|
*
|
|
@@ -984,7 +984,7 @@ interface RuntimeUpsertResult {
|
|
|
984
984
|
readonly record: ClientRuntimeRecord;
|
|
985
985
|
}
|
|
986
986
|
//#endregion
|
|
987
|
-
//#region
|
|
987
|
+
//#region subsystems/client/src/client-runtime-registry.d.ts
|
|
988
988
|
/**
|
|
989
989
|
* In-memory registry that canonicalizes client runtime instances across
|
|
990
990
|
* evidence fields and optionally persists them via a bus-backed handler.
|
|
@@ -1049,7 +1049,7 @@ declare class ClientRuntimeRegistry {
|
|
|
1049
1049
|
private persistRecord;
|
|
1050
1050
|
}
|
|
1051
1051
|
//#endregion
|
|
1052
|
-
//#region
|
|
1052
|
+
//#region subsystems/client/src/client-runtime-service.d.ts
|
|
1053
1053
|
/**
|
|
1054
1054
|
* In-memory runtime service for the global `client.*` contracts.
|
|
1055
1055
|
*
|
|
@@ -1119,7 +1119,7 @@ declare class ClientRuntimeService extends BaseService {
|
|
|
1119
1119
|
private consolidateMergedSnapshots;
|
|
1120
1120
|
}
|
|
1121
1121
|
//#endregion
|
|
1122
|
-
//#region
|
|
1122
|
+
//#region subsystems/client/src/client-config-prime-service.d.ts
|
|
1123
1123
|
/**
|
|
1124
1124
|
* Handles the generic `client.config.prime` request subject.
|
|
1125
1125
|
*/
|
|
@@ -1134,7 +1134,7 @@ declare class ClientConfigPrimeService extends BaseService {
|
|
|
1134
1134
|
protected onInit(): void;
|
|
1135
1135
|
}
|
|
1136
1136
|
//#endregion
|
|
1137
|
-
//#region
|
|
1137
|
+
//#region subsystems/client/src/client-profile-service.d.ts
|
|
1138
1138
|
/**
|
|
1139
1139
|
* Handles the `client.profile.*` bus subjects, providing full CRUD for named
|
|
1140
1140
|
* client configuration profiles plus filesystem directory management.
|
|
@@ -1182,7 +1182,7 @@ declare class ClientProfileService extends BaseService {
|
|
|
1182
1182
|
private registerSetDefaultHandler;
|
|
1183
1183
|
}
|
|
1184
1184
|
//#endregion
|
|
1185
|
-
//#region
|
|
1185
|
+
//#region subsystems/client/src/client-session-config-service.d.ts
|
|
1186
1186
|
/**
|
|
1187
1187
|
* Handles `client.sessionConfig.*` bus subjects, providing per-session config
|
|
1188
1188
|
* directory isolation for client processes.
|
|
@@ -1259,7 +1259,7 @@ declare class ClientSessionConfigService extends BaseService {
|
|
|
1259
1259
|
private listClientIds;
|
|
1260
1260
|
}
|
|
1261
1261
|
//#endregion
|
|
1262
|
-
//#region
|
|
1262
|
+
//#region subsystems/client/src/client-session-observed-semantics.d.ts
|
|
1263
1263
|
/**
|
|
1264
1264
|
* Canonical schema for the raw catch-all hook payload delivered on
|
|
1265
1265
|
* `client:<id>.hook.received`.
|
|
@@ -1313,6 +1313,57 @@ type RawClientHookReceivedSubject = SubjectDefinition<RawClientHookSubjectRecord
|
|
|
1313
1313
|
* @returns Non-owning subject definition for the client's raw hook ingress
|
|
1314
1314
|
*/
|
|
1315
1315
|
declare function createRawClientHookReceivedSubject(clientId: string): RawClientHookReceivedSubject;
|
|
1316
|
+
/**
|
|
1317
|
+
* Default timeout in milliseconds for hook handle requests.
|
|
1318
|
+
*
|
|
1319
|
+
* Shared between the CLI schema default (client-hooks extension) and the
|
|
1320
|
+
* wiring descriptor trailing flags (claude-code client) so both always agree
|
|
1321
|
+
* on the configured wait budget without independent magic numbers.
|
|
1322
|
+
*/
|
|
1323
|
+
declare const DEFAULT_HOOK_HANDLE_TIMEOUT_MS = 5000;
|
|
1324
|
+
/**
|
|
1325
|
+
* Schema for the response payload returned by a `makaio hook handle` command.
|
|
1326
|
+
*
|
|
1327
|
+
* The client binary reads this from the command's stdout after the process
|
|
1328
|
+
* exits. All fields default to safe zero-values so partial responses are
|
|
1329
|
+
* still valid.
|
|
1330
|
+
*
|
|
1331
|
+
* Fields:
|
|
1332
|
+
* - `exitCode` — process exit code the binary should use (0–255). Defaults to `0`.
|
|
1333
|
+
* - `stdout` — text written to stdout, forwarded verbatim to the client.
|
|
1334
|
+
* Defaults to `''`.
|
|
1335
|
+
* - `stderr` — text written to stderr, forwarded verbatim to the client.
|
|
1336
|
+
* Defaults to `''`.
|
|
1337
|
+
*/
|
|
1338
|
+
declare const ClientHookHandleResponseSchema: z.ZodObject<{
|
|
1339
|
+
exitCode: z.ZodDefault<z.ZodNumber>;
|
|
1340
|
+
stdout: z.ZodDefault<z.ZodString>;
|
|
1341
|
+
stderr: z.ZodDefault<z.ZodString>;
|
|
1342
|
+
}, z.core.$strip>;
|
|
1343
|
+
type ClientHookHandleResponse = z.infer<typeof ClientHookHandleResponseSchema>;
|
|
1344
|
+
type RawClientHookHandleSubjectRecord = SubjectRecord<'hook.handle', RequestMessagePayload<RawClientHookPayload, ClientHookHandleResponse>>;
|
|
1345
|
+
/**
|
|
1346
|
+
* Subject definition for the raw hook handle request/response subject in a
|
|
1347
|
+
* concrete `client:<id>` namespace.
|
|
1348
|
+
*
|
|
1349
|
+
* Carries `RequestMessagePayload<RawClientHookPayload, ClientHookHandleResponse>`
|
|
1350
|
+
* as a phantom type so `bus.requestOptional` infers the correct generics without
|
|
1351
|
+
* additional type annotations at the call site.
|
|
1352
|
+
*/
|
|
1353
|
+
type RawClientHookHandleSubject = SubjectDefinition<RawClientHookHandleSubjectRecord, 'hook.handle', `client:${string}`>;
|
|
1354
|
+
/**
|
|
1355
|
+
* Build a non-owning subject definition for `client:<id>.hook.handle`.
|
|
1356
|
+
*
|
|
1357
|
+
* The returned definition uses `isRequest: true` so the bus dispatches it
|
|
1358
|
+
* through the request/response pipeline. Concrete client packages own their
|
|
1359
|
+
* full `client:<id>` namespace via {@link createClientNamespace}; this helper
|
|
1360
|
+
* is intentionally non-owning for the same reasons as
|
|
1361
|
+
* {@link createRawClientHookReceivedSubject} — see that function's doc for
|
|
1362
|
+
* the full rationale.
|
|
1363
|
+
* @param rawClientId - Stable client identifier, optionally prefixed with `client:`
|
|
1364
|
+
* @returns Non-owning subject definition for the client's raw hook handle ingress
|
|
1365
|
+
*/
|
|
1366
|
+
declare function createRawClientHookHandleSubject(rawClientId: string): RawClientHookHandleSubject;
|
|
1316
1367
|
/**
|
|
1317
1368
|
* Trim and return a string value when non-empty, otherwise `undefined`.
|
|
1318
1369
|
*
|
|
@@ -1367,11 +1418,11 @@ declare function buildClientSessionBase(opts: BuildClientSessionBaseOpts): Clien
|
|
|
1367
1418
|
*/
|
|
1368
1419
|
declare function emitBestEffort(fn: () => Promise<void>): void;
|
|
1369
1420
|
//#endregion
|
|
1370
|
-
//#region
|
|
1421
|
+
//#region subsystems/client/src/create-client-namespace.d.ts
|
|
1371
1422
|
/**
|
|
1372
1423
|
* Result returned by {@link createClientNamespace}.
|
|
1373
1424
|
* @typeParam AdditionalSchemas - Extra subject schemas registered alongside the
|
|
1374
|
-
* shared
|
|
1425
|
+
* shared hook subjects. Defaults to an empty record (no extras).
|
|
1375
1426
|
*/
|
|
1376
1427
|
interface ClientNamespaceResult<AdditionalSchemas extends SchemaRecord = Record<never, never>> {
|
|
1377
1428
|
/**
|
|
@@ -1381,7 +1432,8 @@ interface ClientNamespaceResult<AdditionalSchemas extends SchemaRecord = Record<
|
|
|
1381
1432
|
/**
|
|
1382
1433
|
* Typed bus subjects for the per-client namespace.
|
|
1383
1434
|
*
|
|
1384
|
-
* Always includes `hook.received` for
|
|
1435
|
+
* Always includes `hook.received` for raw hook ingress and `hook.handle` for
|
|
1436
|
+
* hook request handling.
|
|
1385
1437
|
* When `additionalSchemas` were provided at construction time the extra
|
|
1386
1438
|
* subjects are also present here, fully typed.
|
|
1387
1439
|
*/
|
|
@@ -1394,8 +1446,10 @@ interface ClientNamespaceResult<AdditionalSchemas extends SchemaRecord = Record<
|
|
|
1394
1446
|
* and can be referenced by {@link ClientNamespaceResult} via instantiation
|
|
1395
1447
|
* expressions.
|
|
1396
1448
|
* @param clientId - Stable client identifier (e.g. `'codex'`)
|
|
1397
|
-
* @param additionalSchemas - Extra subjects to register alongside
|
|
1398
|
-
*
|
|
1449
|
+
* @param additionalSchemas - Extra subjects to register alongside the shared
|
|
1450
|
+
* hook subjects.
|
|
1451
|
+
* @returns Namespace subjects with shared hook subjects plus any additional
|
|
1452
|
+
* subjects.
|
|
1399
1453
|
*/
|
|
1400
1454
|
declare function buildClientSubjects<AdditionalSchemas extends SchemaRecord>(clientId: string, additionalSchemas: AdditionalSchemas): _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<`client:${string}`, {
|
|
1401
1455
|
'hook.received': _$zod.ZodObject<{
|
|
@@ -1404,6 +1458,19 @@ declare function buildClientSubjects<AdditionalSchemas extends SchemaRecord>(cli
|
|
|
1404
1458
|
payload: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
1405
1459
|
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
1406
1460
|
}, _$zod_v4_core0.$strip>;
|
|
1461
|
+
'hook.handle': {
|
|
1462
|
+
request: _$zod.ZodObject<{
|
|
1463
|
+
eventName: _$zod.ZodString;
|
|
1464
|
+
receivedAt: _$zod.ZodNumber;
|
|
1465
|
+
payload: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
1466
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
1467
|
+
}, _$zod_v4_core0.$strip>;
|
|
1468
|
+
response: _$zod.ZodObject<{
|
|
1469
|
+
exitCode: _$zod.ZodDefault<_$zod.ZodNumber>;
|
|
1470
|
+
stdout: _$zod.ZodDefault<_$zod.ZodString>;
|
|
1471
|
+
stderr: _$zod.ZodDefault<_$zod.ZodString>;
|
|
1472
|
+
}, _$zod_v4_core0.$strip>;
|
|
1473
|
+
};
|
|
1407
1474
|
} & AdditionalSchemas>, `client:${string}`>;
|
|
1408
1475
|
/**
|
|
1409
1476
|
* Create (or retrieve) the per-client bus namespace for `client:<clientId>`.
|
|
@@ -1411,13 +1478,15 @@ declare function buildClientSubjects<AdditionalSchemas extends SchemaRecord>(cli
|
|
|
1411
1478
|
* The namespace is registered idempotently — calling this function multiple
|
|
1412
1479
|
* times with the same `clientId` returns equivalent subjects.
|
|
1413
1480
|
*
|
|
1414
|
-
* The resulting namespace pre-registers the `hook.received`
|
|
1415
|
-
*
|
|
1481
|
+
* The resulting namespace pre-registers the `hook.received` and `hook.handle`
|
|
1482
|
+
* subjects so client bridges have consistent hook ingress and request handling
|
|
1483
|
+
* points:
|
|
1416
1484
|
*
|
|
1417
1485
|
* ```ts
|
|
1418
1486
|
* // In @makaio/client-codex
|
|
1419
1487
|
* export const { subjects: CodexClientSubjects } = createClientNamespace('codex');
|
|
1420
1488
|
* // CodexClientSubjects.hook.received → 'client:codex.hook.received'
|
|
1489
|
+
* // CodexClientSubjects.hook.handle → 'client:codex.hook.handle'
|
|
1421
1490
|
* ```
|
|
1422
1491
|
*
|
|
1423
1492
|
* Clients that need extra subjects pass them as the second argument:
|
|
@@ -1433,12 +1502,12 @@ declare function buildClientSubjects<AdditionalSchemas extends SchemaRecord>(cli
|
|
|
1433
1502
|
* `'claude-code'`), optionally prefixed with `client:`. Canonicalized to
|
|
1434
1503
|
* lowercase and restricted to letters, numbers, and hyphens.
|
|
1435
1504
|
* @param additionalSchemas - Optional extra subject schemas to register alongside
|
|
1436
|
-
* the shared `hook.received`
|
|
1505
|
+
* the shared hook subjects. Must not include `hook.received` or `hook.handle`.
|
|
1437
1506
|
* @returns Namespace domain string and typed bus subjects.
|
|
1438
1507
|
*/
|
|
1439
1508
|
declare function createClientNamespace<AdditionalSchemas extends SchemaRecord = Record<never, never>>(clientId: string, additionalSchemas?: AdditionalSchemas): ClientNamespaceResult<AdditionalSchemas>;
|
|
1440
1509
|
//#endregion
|
|
1441
|
-
//#region
|
|
1510
|
+
//#region subsystems/client/src/wiring-schemas.d.ts
|
|
1442
1511
|
/**
|
|
1443
1512
|
* Non-empty absolute filesystem path.
|
|
1444
1513
|
*
|
|
@@ -1512,7 +1581,7 @@ type ClientWiringAggregatedResult = z.infer<typeof ClientWiringAggregatedResultS
|
|
|
1512
1581
|
*/
|
|
1513
1582
|
declare function assertAbsoluteProjectDir(projectDir: string | undefined): void;
|
|
1514
1583
|
//#endregion
|
|
1515
|
-
//#region
|
|
1584
|
+
//#region subsystems/client/src/create-client-wiring-list-subject.d.ts
|
|
1516
1585
|
/** Untyped wiring subject definition returned by {@link createClientWiringSubjectDef}. */
|
|
1517
1586
|
interface ClientWiringSubjectDefBase {
|
|
1518
1587
|
/** Subject key within the client namespace (e.g. `'wiring.list'`). */
|
|
@@ -1575,7 +1644,7 @@ type ClientWiringListSubjectDef = SubjectDefinition<ClientWiringListSubjectRecor
|
|
|
1575
1644
|
*/
|
|
1576
1645
|
declare function createClientWiringListSubjectDef(clientId: string): ClientWiringListSubjectDef;
|
|
1577
1646
|
//#endregion
|
|
1578
|
-
//#region
|
|
1647
|
+
//#region subsystems/client/src/package.d.ts
|
|
1579
1648
|
/**
|
|
1580
1649
|
* Composite service that initialises and destroys the
|
|
1581
1650
|
* {@link ClientRuntimeService}, the {@link ClientBinaryManager}, the
|
|
@@ -1693,7 +1762,7 @@ declare function registerStorageHandlersWithRollback(registrations: ReadonlyArra
|
|
|
1693
1762
|
*/
|
|
1694
1763
|
declare function createClientsCorePackage(options?: ClientsCorePackageOptions): MakaioNodeExtension<IMakaioBus>;
|
|
1695
1764
|
//#endregion
|
|
1696
|
-
//#region
|
|
1765
|
+
//#region subsystems/client/src/storage/client-binary-storage-namespace.d.ts
|
|
1697
1766
|
/**
|
|
1698
1767
|
* Zod schema for a persisted installed-version record transported over the bus.
|
|
1699
1768
|
*/
|
|
@@ -2075,7 +2144,7 @@ type ClientBinaryVersionRecord = z.infer<typeof ClientBinaryVersionRecordSchema>
|
|
|
2075
2144
|
/** Per-client binary state record as exchanged over the bus. */
|
|
2076
2145
|
type ClientBinaryStateRecord = z.infer<typeof ClientBinaryStateRecordSchema>;
|
|
2077
2146
|
//#endregion
|
|
2078
|
-
//#region
|
|
2147
|
+
//#region subsystems/client/src/storage/runtime-storage-namespace.d.ts
|
|
2079
2148
|
/**
|
|
2080
2149
|
* Zod schema for a fully-populated runtime record transported over the bus.
|
|
2081
2150
|
*
|
|
@@ -2209,7 +2278,7 @@ declare const ClientRuntimeStorageSubjects: _$_makaio_core0.BusSubjects<_$_makai
|
|
|
2209
2278
|
};
|
|
2210
2279
|
}>, "client-runtime:storage">;
|
|
2211
2280
|
//#endregion
|
|
2212
|
-
//#region
|
|
2281
|
+
//#region subsystems/client/src/storage/profile-storage-namespace.d.ts
|
|
2213
2282
|
/**
|
|
2214
2283
|
* Zod schema for a persisted client profile record transported over the bus.
|
|
2215
2284
|
*
|
|
@@ -2488,7 +2557,7 @@ declare const ClientProfileStorageSubjects: _$_makaio_core0.BusSubjects<_$_makai
|
|
|
2488
2557
|
/** Persisted client profile record as exchanged over the bus. */
|
|
2489
2558
|
type ClientProfileRecord = z.infer<typeof ClientProfileRecordSchema>;
|
|
2490
2559
|
//#endregion
|
|
2491
|
-
//#region
|
|
2560
|
+
//#region subsystems/client/src/resolve-client-binary.d.ts
|
|
2492
2561
|
/**
|
|
2493
2562
|
* Resolve the execution context for a client binary via the bus.
|
|
2494
2563
|
*
|
|
@@ -2502,7 +2571,7 @@ type ClientProfileRecord = z.infer<typeof ClientProfileRecordSchema>;
|
|
|
2502
2571
|
*/
|
|
2503
2572
|
declare function resolveClientBinary(clientId: string): Promise<ClientExecutionContext | undefined>;
|
|
2504
2573
|
//#endregion
|
|
2505
|
-
//#region
|
|
2574
|
+
//#region subsystems/client/src/wiring-helpers.d.ts
|
|
2506
2575
|
/**
|
|
2507
2576
|
* Minimal descriptor for a single session-event wiring entry.
|
|
2508
2577
|
*
|
|
@@ -2513,6 +2582,13 @@ declare function resolveClientBinary(clientId: string): Promise<ClientExecutionC
|
|
|
2513
2582
|
interface SessionEventDescriptor {
|
|
2514
2583
|
/** Native event name as declared in the client definition (e.g. `'SessionStart'`). */
|
|
2515
2584
|
readonly eventName: string;
|
|
2585
|
+
/**
|
|
2586
|
+
* Hook interaction mode for this event.
|
|
2587
|
+
*
|
|
2588
|
+
* - `'event'` — fire-and-forget: install `makaio hook received ...`
|
|
2589
|
+
* - `'request'` — request/response: install `makaio hook handle ...`
|
|
2590
|
+
*/
|
|
2591
|
+
readonly mode: 'event' | 'request';
|
|
2516
2592
|
}
|
|
2517
2593
|
/**
|
|
2518
2594
|
* Build a shell-safe client command string from an executable and argv tokens.
|
|
@@ -2543,9 +2619,11 @@ declare function buildClientCommand(makaioCommand: string, args: readonly string
|
|
|
2543
2619
|
* hook command (e.g. `'hook received claude-code'`).
|
|
2544
2620
|
* @param eventName - Native hook event name (e.g. `'SessionStart'`).
|
|
2545
2621
|
* @param envPairs - Optional `KEY=value` pairs prepended before the executable.
|
|
2622
|
+
* @param rootFlags - Optional root-level CLI flags inserted between the
|
|
2623
|
+
* executable and the sentinel (e.g. `['--debounce-failure']`).
|
|
2546
2624
|
* @returns Full hook command string to write into the client's native config.
|
|
2547
2625
|
*/
|
|
2548
|
-
declare function buildHookCommand(makaioCommand: string, sentinel: string, eventName: string, envPairs?: readonly string[]): string;
|
|
2626
|
+
declare function buildHookCommand(makaioCommand: string, sentinel: string, eventName: string, envPairs?: readonly string[], rootFlags?: readonly string[]): string;
|
|
2549
2627
|
/**
|
|
2550
2628
|
* Derive the ordered list of session-event wiring descriptors from a client
|
|
2551
2629
|
* definition.
|
|
@@ -2554,8 +2632,8 @@ declare function buildHookCommand(makaioCommand: string, sentinel: string, event
|
|
|
2554
2632
|
* without one are client-internal and do not need framework wiring.
|
|
2555
2633
|
* @param clientDefinition - The parsed static client definition whose
|
|
2556
2634
|
* `runtimeCapabilities.hookEvents` array is the source of truth.
|
|
2557
|
-
* @returns Read-only array of `{ eventName }` descriptors in declaration order.
|
|
2635
|
+
* @returns Read-only array of `{ eventName, mode }` descriptors in declaration order.
|
|
2558
2636
|
*/
|
|
2559
2637
|
declare function deriveSessionEventDescriptors(clientDefinition: ClientDefinition$1): ReadonlyArray<SessionEventDescriptor>;
|
|
2560
2638
|
//#endregion
|
|
2561
|
-
export { AbsolutePathSchema, type AtomicContentParser, type AtomicModifier, type AtomicModifyOutcome, BinaryNotFoundError, type BuildClientSessionBaseOpts, CLIENT_RUNTIME_STATUSES, ClientAccountRegistry, type ClientAccountUpsertResult, ClientBinaryJobRunner, ClientBinaryManager, type ClientBinaryManagerConfig, type ClientBinaryStateRecord, ClientBinaryStateRecordSchema, ClientBinaryStorageNamespace, ClientBinaryStorageSubjects, type ClientBinaryVersionRecord, ClientBinaryVersionRecordSchema, ClientBinaryVersionResolver, ClientConfigPrimeService, type ClientDefinitionLookup, ClientDefinitionRegistry, type ClientNamespaceResult, type ClientProfileRecord, ClientProfileRecordSchema, ClientProfileService, ClientProfileStorageNamespace, ClientProfileStorageSubjects, type ClientRuntimeRecord, ClientRuntimeRegistry, ClientRuntimeService, type ClientRuntimeStatus, ClientRuntimeStorageNamespace, ClientRuntimeStorageSubjects, ClientSessionConfigService, ClientSubjects, type ClientWiringAggregatedResult, ClientWiringAggregatedResultSchema, type ClientWiringApplyResponse, ClientWiringApplyResponseSchema, type ClientWiringEntry, ClientWiringEntrySchema, type ClientWiringListResponse, ClientWiringListResponseSchema, type ClientWiringListSubjectDef, type ClientWiringRemoveResponse, ClientWiringRemoveResponseSchema, type ClientWiringSubjectDefBase, type ClientsCorePackageOptions, ClientsCoreService, ClientsCoreToken, type InstallJob, type JobCompletedCallback, type JobCompletionCallback, type JobCompletionResult, type JobProgressCallback, type PostInstallContext, type PostInstallHandler, type RawClientHookPayload, RawClientHookPayloadSchema, type RawClientHookReceivedSubject, type ResolvedInstallVersion, RuntimeRecordSchema, type RuntimeUpsertResult, type SessionEventDescriptor, type StrategyDependencies, assertAbsoluteProjectDir, atomicModifyFile, buildClientCommand, buildClientSessionBase, buildHookCommand, canonicalizeClientId, createClientNamespace, createClientWiringListSubjectDef, createClientWiringSubjectDef, createClientsCorePackage, createRawClientHookReceivedSubject, deriveSessionEventDescriptors, emitBestEffort, isPathWithinBase, pickNonEmptyString, pickNonEmptyStringValue, registerStorageHandlersWithRollback, resolveAndValidateBasePath, resolveClientBinary };
|
|
2639
|
+
export { AbsolutePathSchema, type AtomicContentParser, type AtomicModifier, type AtomicModifyOutcome, BinaryNotFoundError, type BuildClientSessionBaseOpts, CLIENT_RUNTIME_STATUSES, ClientAccountRegistry, type ClientAccountUpsertResult, ClientBinaryJobRunner, ClientBinaryManager, type ClientBinaryManagerConfig, type ClientBinaryStateRecord, ClientBinaryStateRecordSchema, ClientBinaryStorageNamespace, ClientBinaryStorageSubjects, type ClientBinaryVersionRecord, ClientBinaryVersionRecordSchema, ClientBinaryVersionResolver, ClientConfigPrimeService, type ClientDefinitionLookup, ClientDefinitionRegistry, type ClientHookHandleResponse, ClientHookHandleResponseSchema, type ClientNamespaceResult, type ClientProfileRecord, ClientProfileRecordSchema, ClientProfileService, ClientProfileStorageNamespace, ClientProfileStorageSubjects, type ClientRuntimeRecord, ClientRuntimeRegistry, ClientRuntimeService, type ClientRuntimeStatus, ClientRuntimeStorageNamespace, ClientRuntimeStorageSubjects, ClientSessionConfigService, ClientSubjects, type ClientWiringAggregatedResult, ClientWiringAggregatedResultSchema, type ClientWiringApplyResponse, ClientWiringApplyResponseSchema, type ClientWiringEntry, ClientWiringEntrySchema, type ClientWiringListResponse, ClientWiringListResponseSchema, type ClientWiringListSubjectDef, type ClientWiringRemoveResponse, ClientWiringRemoveResponseSchema, type ClientWiringSubjectDefBase, type ClientsCorePackageOptions, ClientsCoreService, ClientsCoreToken, DEFAULT_HOOK_HANDLE_TIMEOUT_MS, type InstallJob, type JobCompletedCallback, type JobCompletionCallback, type JobCompletionResult, type JobProgressCallback, type PostInstallContext, type PostInstallHandler, type RawClientHookHandleSubject, type RawClientHookPayload, RawClientHookPayloadSchema, type RawClientHookReceivedSubject, type ResolvedInstallVersion, RuntimeRecordSchema, type RuntimeUpsertResult, type SessionEventDescriptor, type StrategyDependencies, assertAbsoluteProjectDir, atomicModifyFile, buildClientCommand, buildClientSessionBase, buildHookCommand, canonicalizeClientId, createClientNamespace, createClientWiringListSubjectDef, createClientWiringSubjectDef, createClientsCorePackage, createRawClientHookHandleSubject, createRawClientHookReceivedSubject, deriveSessionEventDescriptors, emitBestEffort, isPathWithinBase, pickNonEmptyString, pickNonEmptyStringValue, registerStorageHandlersWithRollback, resolveAndValidateBasePath, resolveClientBinary };
|