@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.
Files changed (419) hide show
  1. package/LICENSE +1 -1
  2. package/dist/.makaio-build.json +5 -0
  3. package/dist/account-identity-DT5NOtFi.mjs +1 -0
  4. package/dist/adapter-C1eI-fGV.mjs +1 -0
  5. package/dist/adapters/acp-client/index.d.mts +6013 -14
  6. package/dist/adapters/acp-client/index.mjs +3 -1
  7. package/dist/adapters/config/index.d.mts +1 -1
  8. package/dist/adapters/config/index.mjs +1 -1
  9. package/dist/adapters/index.d.mts +47 -20
  10. package/dist/adapters/index.mjs +13 -6
  11. package/dist/adapters/node.d.mts +4 -4
  12. package/dist/adapters/node.mjs +4 -4
  13. package/dist/adapters/stream-session/index.d.mts +30 -0
  14. package/dist/adapters/stream-session/index.mjs +1 -1
  15. package/dist/artifact-B3npq1cy.mjs +1 -0
  16. package/dist/bus/index.d.mts +866 -203
  17. package/dist/bus/index.mjs +1 -1
  18. package/dist/bus-Caz3Jpbc.mjs +1 -0
  19. package/dist/bus-Hb-LGzgb.mjs +2 -0
  20. package/dist/chunk-DTipWd-i.mjs +1 -0
  21. package/dist/client-bx74gm4R.mjs +1 -0
  22. package/dist/clients/index.d.mts +113 -35
  23. package/dist/clients/index.mjs +2 -2
  24. package/dist/{clients-namespace-UHj5wt-l.d.mts → clients-namespace-GmSJpBUV.d.mts} +8 -8
  25. package/dist/{config-namespace-ChZOpi1W.d.mts → config-namespace-CPY9YsR8.d.mts} +4 -4
  26. package/dist/contracts/adapter/index.d.mts +3 -3
  27. package/dist/contracts/adapter/index.mjs +1 -1
  28. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  29. package/dist/contracts/artifact/index.d.mts +2 -0
  30. package/dist/contracts/artifact/index.mjs +1 -0
  31. package/dist/contracts/client/index.d.mts +2 -2
  32. package/dist/contracts/client/index.mjs +1 -1
  33. package/dist/contracts/common/index.d.mts +1 -1
  34. package/dist/contracts/config/index.d.mts +8 -8
  35. package/dist/contracts/config/index.mjs +1 -1
  36. package/dist/contracts/extension/index.d.mts +4 -3
  37. package/dist/contracts/extension/index.mjs +1 -1
  38. package/dist/contracts/facet/index.d.mts +2 -0
  39. package/dist/contracts/facet/index.mjs +1 -0
  40. package/dist/contracts/harness/index.d.mts +1 -1
  41. package/dist/contracts/harness/index.mjs +1 -1
  42. package/dist/contracts/host/index.d.mts +1 -1
  43. package/dist/contracts/host/index.mjs +1 -1
  44. package/dist/contracts/index.d.mts +12370 -1990
  45. package/dist/contracts/index.mjs +1 -1
  46. package/dist/contracts/materialization/index.d.mts +4 -0
  47. package/dist/contracts/materialization/index.mjs +1 -0
  48. package/dist/contracts/model-registry/index.d.mts +1 -1
  49. package/dist/contracts/model-registry/index.mjs +1 -1
  50. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  51. package/dist/contracts/native-session-supervisor/index.mjs +1 -1
  52. package/dist/contracts/platform/index.d.mts +1 -1
  53. package/dist/contracts/platform/index.mjs +1 -1
  54. package/dist/contracts/provider/index.d.mts +2 -2
  55. package/dist/contracts/provider/index.mjs +1 -1
  56. package/dist/contracts/session/index.d.mts +3 -3
  57. package/dist/contracts/session/index.mjs +1 -1
  58. package/dist/contracts/shared/index.d.mts +2 -2
  59. package/dist/contracts/shared/index.mjs +1 -1
  60. package/dist/contracts/skill/index.d.mts +1 -1
  61. package/dist/contracts/skill/index.mjs +1 -1
  62. package/dist/contracts/telemetry/index.d.mts +2 -0
  63. package/dist/contracts/telemetry/index.mjs +1 -0
  64. package/dist/contracts/timeout/index.d.mts +1 -1
  65. package/dist/contracts/timeout/index.mjs +1 -1
  66. package/dist/contracts/toast/index.d.mts +2 -2
  67. package/dist/contracts/toast/index.mjs +1 -1
  68. package/dist/contracts/variant/index.d.mts +1 -1
  69. package/dist/contracts/variant/index.mjs +1 -1
  70. package/dist/core/index.d.mts +296 -34
  71. package/dist/core/index.mjs +1 -1
  72. package/dist/{credential-ref-DLCsoKVZ.mjs → credential-ref-YWQQENEo.mjs} +1 -1
  73. package/dist/cursor-storage-CtVJ3JzB.mjs +1 -0
  74. package/dist/{definition-DB7bbFSa.d.mts → definition-BLCdXGzh.d.mts} +17 -3
  75. package/dist/definition-CrgHIpTK.d.mts +60 -0
  76. package/dist/{definition-DkYy1PZz.mjs → definition-DZMXOnjX.mjs} +1 -1
  77. package/dist/{definition-DtUNiGom.d.mts → definition-pkJ6szUl.d.mts} +1 -1
  78. package/dist/drizzle-Eq8W1EbD.mjs +1 -0
  79. package/dist/event-Ca2yUf5i.mjs +1 -0
  80. package/dist/execution-target-CRPTfZlc.mjs +1 -0
  81. package/dist/extension-C-4BHMRI.mjs +1 -0
  82. package/dist/extension-CpIUgBKI.mjs +1 -0
  83. package/dist/facet-BuwhrThl.mjs +1 -0
  84. package/dist/filesystem-service-B8rhBRgB.mjs +1 -0
  85. package/dist/filesystem-service-p_iJVHd4.d.mts +66 -0
  86. package/dist/git/index.d.mts +210 -0
  87. package/dist/git/index.mjs +18 -0
  88. package/dist/globby-rtWVaFHv.mjs +41 -0
  89. package/dist/{handlers-DR_4_rAT.mjs → handlers-CkTsQLra.mjs} +3 -3
  90. package/dist/{harness-B6lGP9rm.mjs → harness-BRCMcvQN.mjs} +1 -1
  91. package/dist/{host-CvEht5RT.mjs → host-Br9VuOyr.mjs} +1 -1
  92. package/dist/{index-WKjrpcA_.d.mts → index-472sOmsW.d.mts} +6 -6
  93. package/dist/index-8SZkg7s6.d.mts +353 -0
  94. package/dist/index-B3PK4FIn.d.mts +5116 -0
  95. package/dist/{index-D2jejYlV.d.mts → index-B80L4YqA.d.mts} +3 -3
  96. package/dist/index-BFg9BUpx.d.mts +355 -0
  97. package/dist/index-BGfWS6GE.d.mts +483 -0
  98. package/dist/{index-DQRsGXb5.d.mts → index-BVgfS-AJ.d.mts} +2 -2
  99. package/dist/{index-CnmPtjnA.d.mts → index-B_zQC98V.d.mts} +16 -16
  100. package/dist/{index-DaEp4UWW.d.mts → index-Bh_Ne7LF.d.mts} +54 -42
  101. package/dist/{index-yvN8UcEH.d.mts → index-Bvb2mMH6.d.mts} +109 -109
  102. package/dist/{index-tKvu34DJ2.d.mts → index-CCGVh9BF2.d.mts} +242 -28
  103. package/dist/{index-C-myW_aK.d.mts → index-CGmcS0Ma.d.mts} +2 -2
  104. package/dist/{index-DEw90pa2.d.mts → index-CLpjm52M.d.mts} +3 -3
  105. package/dist/{index-DQWMu5fS.d.mts → index-Caig6TeF.d.mts} +85 -99
  106. package/dist/{index-DwCA1HWa.d.mts → index-CelJCBjk.d.mts} +15 -15
  107. package/dist/{index-ESSDWIB7.d.mts → index-ChunCFu4.d.mts} +1 -1
  108. package/dist/{index-e5C62_M3.d.mts → index-Cm0dUkWL.d.mts} +819 -85
  109. package/dist/{index-N5K1NOYs.d.mts → index-CokQYGVP.d.mts} +4 -4
  110. package/dist/{index-Bigx81Kr.d.mts → index-Cs0kZXIz2.d.mts} +1 -1
  111. package/dist/{index-6lyShOoU.d.mts → index-D5d5HeWI2.d.mts} +34 -0
  112. package/dist/{index-sBob9D25.d.mts → index-D90OmGmV.d.mts} +3 -3
  113. package/dist/{index-D1T-PPqF.d.mts → index-D9MwJ2Q8.d.mts} +3 -3
  114. package/dist/{index-BePI0ckL.d.mts → index-DANINzMu.d.mts} +1 -1
  115. package/dist/{index-BnSQE7z7.d.mts → index-DBw-89vC2.d.mts} +129 -1332
  116. package/dist/{index-C_kS2aqV2.d.mts → index-DGBu6bHi2.d.mts} +14 -14
  117. package/dist/index-DKC62dY5.d.mts +146 -0
  118. package/dist/{index-7sXlairn2.d.mts → index-DKia0MX1.d.mts} +1 -1
  119. package/dist/{index-E8d_RwaF.d.mts → index-DMKnON5s.d.mts} +1 -1
  120. package/dist/{index-Cq8B7cwK.d.mts → index-DUaw0Dw8.d.mts} +1524 -369
  121. package/dist/{index-Dd5s4MSm.d.mts → index-De3kPhlN.d.mts} +2 -2
  122. package/dist/{index-DGTFJB_8.d.mts → index-L4GjJDKb.d.mts} +116 -23
  123. package/dist/{index-iID2R9G1.d.mts → index-U-A8eyGT.d.mts} +7 -7
  124. package/dist/{index-D7T8XCku.d.mts → index-eemAKwsB.d.mts} +23 -2
  125. package/dist/{index-BXP9GK5q.d.mts → index-mNec7V-9.d.mts} +27 -27
  126. package/dist/{index-CnZOKNjU.d.mts → index-soFznFCy2.d.mts} +2 -2
  127. package/dist/{index-Ch3ph52M2.d.mts → index-vtXJuwrz.d.mts} +2 -2
  128. package/dist/{index-BnNqbx2I.d.mts → index-x_lVDp_J.d.mts} +2 -2
  129. package/dist/json-value-CmhSGMLv.mjs +1 -0
  130. package/dist/kernel/cli/index.d.mts +4 -2
  131. package/dist/kernel/cli/index.mjs +1 -1
  132. package/dist/kernel/cli/schemas.d.mts +1 -0
  133. package/dist/kernel/cli/schemas.mjs +1 -1
  134. package/dist/kernel/extension/index.d.mts +1 -1
  135. package/dist/kernel/extension/index.mjs +1 -1
  136. package/dist/kernel/index.d.mts +5 -5
  137. package/dist/kernel/index.mjs +1 -1
  138. package/dist/kernel/namespace/index.d.mts +1 -1
  139. package/dist/kernel/namespace/index.mjs +1 -1
  140. package/dist/kernel/observability/index.d.mts +1 -1
  141. package/dist/kernel/observability/index.mjs +1 -1
  142. package/dist/kernel/providers/index.d.mts +1 -1
  143. package/dist/kernel/providers/index.mjs +1 -1
  144. package/dist/kernel/window/index.d.mts +1 -1
  145. package/dist/kernel/window/index.mjs +1 -1
  146. package/dist/materialization-CuUBu4XI.mjs +1 -0
  147. package/dist/{namespace-BpIE-jQW.d.mts → namespace-5QQqbF-B.d.mts} +1018 -111
  148. package/dist/{namespace-DwCyOaZn2.d.mts → namespace-BM7Djng9.d.mts} +3 -3
  149. package/dist/namespace-BwzZJqTV.mjs +1 -0
  150. package/dist/{namespace-DZcuLwEA.d.mts → namespace-CTm3nEvh.d.mts} +1 -1
  151. package/dist/{namespace-BK2erxpV.d.mts → namespace-CaaNnKcR.d.mts} +3 -3
  152. package/dist/{namespace-GLGGcWPH.d.mts → namespace-CaoZ3S78.d.mts} +1 -1
  153. package/dist/{namespace-DXnMk3U8.d.mts → namespace-CxhsoFUP.d.mts} +27 -31
  154. package/dist/{namespace-B1E57soL.d.mts → namespace-DD8Oiqo7.d.mts} +23 -23
  155. package/dist/{namespace-BCRNwPnw.d.mts → namespace-DLovh2Ws.d.mts} +21 -21
  156. package/dist/{namespace-Ysg1N6rR.d.mts → namespace-DgqkaOVu.d.mts} +26 -25
  157. package/dist/{namespace-B5ZCshBw.d.mts → namespace-Dr8K0MCp.d.mts} +82 -81
  158. package/dist/{namespace-DGMO2E8f.mjs → namespace-DuXK5AYN.mjs} +1 -1
  159. package/dist/{namespace-ZbthBQVt.d.mts → namespace-EQniz-Aw.d.mts} +14 -14
  160. package/dist/{namespace-C54Oj025.d.mts → namespace-IV1QK__V.d.mts} +1 -1
  161. package/dist/{namespace-BKrV_2gZ.d.mts → namespace-TyiTsLFv.d.mts} +46 -45
  162. package/dist/{namespace-OwAf1Brw.mjs → namespace-xcmbQlxh.mjs} +1 -1
  163. package/dist/{native-session-supervisor-zPt624Tp.mjs → native-session-supervisor-B1TnaPUF.mjs} +1 -1
  164. package/dist/node/bus-server/index.d.mts +1 -1
  165. package/dist/node/bus-server/index.mjs +1 -1
  166. package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
  167. package/dist/node/bus-server/server-lifecycle.mjs +1 -1
  168. package/dist/node/machine-identity/index.mjs +2 -2
  169. package/dist/node/transports/index.d.mts +200 -7
  170. package/dist/node/transports/index.mjs +2 -2
  171. package/dist/{orchestrator-shared-D2txLAUs.mjs → orchestrator-shared-CIDiFJMD.mjs} +1 -1
  172. package/dist/{orchestrator-shared-DrjtTXYh.d.mts → orchestrator-shared-Dfa7FMyw.d.mts} +5 -5
  173. package/dist/package-DKVlsMP3.mjs +1 -0
  174. package/dist/{profile-Cq4A7kQa.mjs → profile-6ynCD5k3.mjs} +1 -1
  175. package/dist/{provider-context-BB4eD8ON.mjs → provider-context-CK6B4X_8.mjs} +1 -1
  176. package/dist/providers/index.mjs +1 -1
  177. package/dist/{providers-namespace-CDwxY_DV.d.mts → providers-namespace-DSEpli4A.d.mts} +1 -1
  178. package/dist/{schema-B295yplx.d.mts → schema-M5YTvSAG.d.mts} +114 -2
  179. package/dist/{schema-C4iznV0q.mjs → schema-e0wU_lcV.mjs} +1 -1
  180. package/dist/{schema-introspection-DCYC47_d.mjs → schema-introspection-Dn1jWQs1.mjs} +1 -1
  181. package/dist/{schemas-C5xtVqdb.d.mts → schemas-Bd0OjRQf.d.mts} +1 -1
  182. package/dist/{schemas-Ra8pz5M-.d.mts → schemas-C46QfKzv.d.mts} +24 -28
  183. package/dist/{schemas-sshQEF3l.d.mts → schemas-CDBSjg7o.d.mts} +1 -1
  184. package/dist/schemas-CR1Rripy.mjs +1 -0
  185. package/dist/schemas-CVvwIfG4.mjs +1 -0
  186. package/dist/schemas-CaLhkkLn.mjs +1 -0
  187. package/dist/{schemas-DYqKRNju.d.mts → schemas-ClOOT1W6.d.mts} +4 -4
  188. package/dist/{schemas-BfMZAwff.d.mts → schemas-DATniTHb.d.mts} +8 -8
  189. package/dist/{schemas-BWvuaL0w.d.mts → schemas-DVF1A4DF.d.mts} +4 -4
  190. package/dist/{schemas-Di0XnnMX.d.mts → schemas-DaRSfYLf.d.mts} +1 -1
  191. package/dist/{schemas-C31qbb0s.d.mts → schemas-DiYVzG6e.d.mts} +51 -48
  192. package/dist/{schemas-KMA1efQg.d.mts → schemas-j7ivZ2HI.d.mts} +3 -3
  193. package/dist/schemas-wg_6PAdV.d.mts +153 -0
  194. package/dist/scoped-bus-04pwo1uM.mjs +1 -0
  195. package/dist/service-base/index.d.mts +1 -1
  196. package/dist/services/adapter-runtime/index.d.mts +3 -3
  197. package/dist/services/adapter-runtime/index.mjs +1 -1
  198. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  199. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  200. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  201. package/dist/services/adapter-subsystem/index.mjs +1 -1
  202. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  203. package/dist/services/adapter-subsystem/namespace.mjs +1 -1
  204. package/dist/services/agent-runtime/index.d.mts +2 -2
  205. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  206. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  207. package/dist/services/capability/index.d.mts +1 -1
  208. package/dist/services/capability/index.mjs +1 -1
  209. package/dist/services/cli-detection/namespace.d.mts +1 -1
  210. package/dist/services/codebase/index.d.mts +2 -2
  211. package/dist/services/codebase/namespace.d.mts +1 -1
  212. package/dist/services/codebase/schemas.d.mts +1 -1
  213. package/dist/services/compression/index.d.mts +2 -2
  214. package/dist/services/compression/namespace.d.mts +1 -1
  215. package/dist/services/compression/schemas.d.mts +1 -1
  216. package/dist/services/context-rules/index.d.mts +4 -4
  217. package/dist/services/context-rules/index.mjs +1 -1
  218. package/dist/services/credential-change/index.d.mts +1 -1
  219. package/dist/services/definition/namespace.d.mts +1 -1
  220. package/dist/services/definition/schemas.d.mts +1 -1
  221. package/dist/services/dialog/namespace.d.mts +1 -1
  222. package/dist/services/dialog/schemas.d.mts +1 -1
  223. package/dist/services/execution-target/index.d.mts +4 -4
  224. package/dist/services/execution-target/index.mjs +1 -1
  225. package/dist/services/execution-target/namespace.d.mts +1 -1
  226. package/dist/services/execution-target/schemas.d.mts +1 -1
  227. package/dist/services/execution-target/schemas.mjs +1 -1
  228. package/dist/services/filesystem/index.d.mts +3 -0
  229. package/dist/services/filesystem/index.mjs +1 -0
  230. package/dist/services/filesystem/namespace.d.mts +7 -7
  231. package/dist/services/filesystem/schemas.d.mts +4 -4
  232. package/dist/services/git/namespace.d.mts +1163 -0
  233. package/dist/services/git/namespace.mjs +1 -0
  234. package/dist/services/git/schemas.d.mts +932 -0
  235. package/dist/services/git/schemas.mjs +1 -0
  236. package/dist/services/harness/index.d.mts +35 -35
  237. package/dist/services/harness/index.mjs +1 -1
  238. package/dist/services/harness/storage/schema.d.mts +5 -5
  239. package/dist/services/index.d.mts +1411 -928
  240. package/dist/services/index.mjs +1 -1
  241. package/dist/services/local-notification/index.d.mts +1 -1
  242. package/dist/services/local-notification/namespace.d.mts +1 -1
  243. package/dist/services/local-notification/schemas.d.mts +1 -1
  244. package/dist/services/log-import/browser.d.mts +2 -2
  245. package/dist/services/log-import/index.d.mts +23 -24
  246. package/dist/services/log-import/index.mjs +2 -2
  247. package/dist/services/log-import/log-import.d.mts +1 -1
  248. package/dist/services/log-import/log-import.mjs +1 -1
  249. package/dist/services/log-import/namespace.d.mts +1 -1
  250. package/dist/services/log-import/namespace.mjs +1 -1
  251. package/dist/services/log-import/schemas.d.mts +1 -1
  252. package/dist/services/log-import/schemas.mjs +1 -1
  253. package/dist/services/model-registry/index.d.mts +1 -1
  254. package/dist/services/model-registry/index.mjs +1 -1
  255. package/dist/services/preferences/index.d.mts +2 -2
  256. package/dist/services/preferences/schemas.d.mts +1 -1
  257. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  258. package/dist/services/provider-context/index.d.mts +1 -1
  259. package/dist/services/provider-context/index.mjs +1 -1
  260. package/dist/services/provider-runtime/index.d.mts +1 -1
  261. package/dist/services/provider-runtime/index.mjs +1 -1
  262. package/dist/services/session/handlers/index.d.mts +1 -1
  263. package/dist/services/session/handlers/index.mjs +1 -1
  264. package/dist/services/session/index.d.mts +10 -10
  265. package/dist/services/session/index.mjs +1 -1
  266. package/dist/services/session/messages/namespace.d.mts +1 -1
  267. package/dist/services/session/messages/namespace.mjs +1 -1
  268. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  269. package/dist/services/session/orchestrator-testing/index.mjs +1 -1
  270. package/dist/services/session/session-events/namespace.d.mts +1 -1
  271. package/dist/services/session/session-events/namespace.mjs +1 -1
  272. package/dist/services/session/storage/namespace.d.mts +1 -1
  273. package/dist/services/session/storage/schema.d.mts +1 -1
  274. package/dist/services/session/storage/schema.mjs +1 -1
  275. package/dist/services/session/testing/index.d.mts +2 -2
  276. package/dist/services/session/testing/index.mjs +16 -3
  277. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  278. package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
  279. package/dist/services/session/turns/namespace.d.mts +1 -1
  280. package/dist/services/session/turns/namespace.mjs +1 -1
  281. package/dist/services/session-editor/index.d.mts +3 -3
  282. package/dist/services/session-editor/index.mjs +1 -1
  283. package/dist/services/settings/index.d.mts +4 -4
  284. package/dist/services/settings/index.mjs +1 -1
  285. package/dist/services/settings/namespace.d.mts +19 -18
  286. package/dist/services/settings/namespace.mjs +1 -1
  287. package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
  288. package/dist/services/settings/storage/clients-namespace.mjs +1 -1
  289. package/dist/services/settings/storage/extension-configs/namespace.d.mts +4 -4
  290. package/dist/services/settings/storage/index.d.mts +3 -3
  291. package/dist/services/settings/storage/index.mjs +1 -1
  292. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  293. package/dist/services/settings/storage/providers-namespace.mjs +1 -1
  294. package/dist/services/subagent/index.d.mts +2 -0
  295. package/dist/services/subagent/index.mjs +1 -0
  296. package/dist/services/subagent-template/index.d.mts +3 -0
  297. package/dist/services/subagent-template/index.mjs +1 -0
  298. package/dist/services/subagent-template/namespace.d.mts +2 -0
  299. package/dist/services/subagent-template/namespace.mjs +1 -0
  300. package/dist/services/subagent-template/schemas.d.mts +2 -0
  301. package/dist/services/subagent-template/schemas.mjs +1 -0
  302. package/dist/services/tool-approval/index.d.mts +1 -1
  303. package/dist/services/tool-approval/index.mjs +1 -1
  304. package/dist/services/tools/index.d.mts +1 -1
  305. package/dist/services/tools/index.mjs +1 -1
  306. package/dist/services/tray-menu/index.d.mts +3 -3
  307. package/dist/services/tray-menu/index.mjs +1 -1
  308. package/dist/services/tray-menu/namespace.d.mts +1 -1
  309. package/dist/services/tray-menu/schemas.d.mts +1 -1
  310. package/dist/services/turn/index.d.mts +1 -1
  311. package/dist/services/turn/namespace.d.mts +1 -1
  312. package/dist/services/turn/schemas.d.mts +12 -12
  313. package/dist/session-BoldSdNZ2.mjs +134 -0
  314. package/dist/session-DuVOYctZ.mjs +1 -0
  315. package/dist/{session-lineage-B0cpHfuc.d.mts → session-lineage-CRsc9g1x.d.mts} +1 -1
  316. package/dist/shared-DpOEfD8F.mjs +1 -0
  317. package/dist/{skill-20_SBXaI.mjs → skill-CQO4mDqK.mjs} +1 -1
  318. package/dist/storage/drizzle/client.d.mts +2 -2
  319. package/dist/storage/drizzle/client.mjs +1 -1
  320. package/dist/storage/drizzle/index.d.mts +49 -10
  321. package/dist/storage/drizzle/index.mjs +1 -1
  322. package/dist/storage/handlers/drizzle/index.d.mts +1 -1
  323. package/dist/storage/handlers/drizzle/index.mjs +1 -1
  324. package/dist/storage/handlers/index.d.mts +2 -2
  325. package/dist/storage/handlers/index.mjs +1 -1
  326. package/dist/storage/index.d.mts +4 -4
  327. package/dist/{storage-namespace-DoH-Wkjp.d.mts → storage-namespace-BXkoh5Sy.d.mts} +11 -11
  328. package/dist/storage-namespace-DWsYLAXa.mjs +1 -0
  329. package/dist/{storage-namespace-definition-CJgqyXH1.d.mts → storage-namespace-definition-Bkx5rSto.d.mts} +1 -1
  330. package/dist/style.css +540 -540
  331. package/dist/telemetry-CvdLBWuk.mjs +1 -0
  332. package/dist/testing/drizzle-harness.mjs +1 -1
  333. package/dist/testing/index.mjs +1 -1
  334. package/dist/tool-approval-service-BvZWhYZp.mjs +1 -0
  335. package/dist/tools/index.d.mts +20 -10
  336. package/dist/tools/index.mjs +1 -1
  337. package/dist/tools/testing/index.d.mts +1 -1
  338. package/dist/tools-D-luYcDw.mjs +1431 -0
  339. package/dist/{types-C11LvekX.d.mts → types-BCMUtBj1.d.mts} +117 -20
  340. package/dist/{types-vNpkAe4Y.d.mts → types-C2Ob9zz_.d.mts} +1 -1
  341. package/dist/{types-t295YC6T.d.mts → types-CCdqjeuH.d.mts} +2 -2
  342. package/dist/{types-Cvrj2ogm.d.mts → types-DZHvOc_Q.d.mts} +4 -4
  343. package/dist/{types--nrtGZ1V.d.mts → types-Dy3YTcTF.d.mts} +255 -97
  344. package/dist/{types-DYF5LxZY.d.mts → types-MfJZ67e9.d.mts} +91 -9
  345. package/dist/{types-6WxLfoM3.d.mts → types-dyP-bXXE.d.mts} +1 -1
  346. package/dist/ui-components/index.mjs +2 -2
  347. package/dist/ui-hooks/index.d.mts +111 -1
  348. package/dist/ui-hooks/index.mjs +1 -1
  349. package/dist/ui-kernel/index.d.mts +4 -4
  350. package/dist/ui-kernel/pages/namespace.d.mts +4 -4
  351. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  352. package/dist/ui-views/index.mjs +2 -2
  353. package/dist/utils/index.d.mts +36 -1
  354. package/dist/utils/index.mjs +2 -2
  355. package/dist/utils/project-manifest.d.mts +130 -0
  356. package/dist/utils/project-manifest.mjs +1 -0
  357. package/dist/utils/scope-paths.d.mts +33 -0
  358. package/dist/utils/scope-paths.mjs +1 -0
  359. package/dist/utils/workspace-packages.d.mts +59 -0
  360. package/dist/utils/workspace-packages.mjs +1 -0
  361. package/dist/utils/workspace-root.d.mts +6 -9
  362. package/dist/utils/workspace-root.mjs +1 -1
  363. package/dist/{version-D8S4O22A.mjs → version-BeT3ASEe.mjs} +1 -1
  364. package/package.json +55 -2
  365. package/dist/account-identity-Bg_vKkcs.mjs +0 -1
  366. package/dist/adapter-CpF2aK_-.mjs +0 -1
  367. package/dist/bus-B1seC4M_.mjs +0 -2
  368. package/dist/chunk-Dc06z0qk.mjs +0 -1
  369. package/dist/client-DMWXCWhM.mjs +0 -1
  370. package/dist/cursor-storage-BoNI7OAR.mjs +0 -1
  371. package/dist/drizzle-Bn2GtW8c.mjs +0 -1
  372. package/dist/execution-target-D6MgthYs.mjs +0 -1
  373. package/dist/extension-53GerdGg.mjs +0 -1
  374. package/dist/extension-fJmv8Yri.mjs +0 -1
  375. package/dist/namespace-C_h7scWx2.mjs +0 -1
  376. package/dist/schemas-Bn8aqDIE.mjs +0 -1
  377. package/dist/services/worker/index.d.mts +0 -3
  378. package/dist/services/worker/index.mjs +0 -1
  379. package/dist/services/worker/namespace.d.mts +0 -2
  380. package/dist/services/worker/namespace.mjs +0 -1
  381. package/dist/services/worker/schemas.d.mts +0 -2
  382. package/dist/services/worker/schemas.mjs +0 -1
  383. package/dist/session-BCSf-Fgj.mjs +0 -1
  384. package/dist/session-BNo_cIiz.mjs +0 -123
  385. package/dist/shared-BhuSHZXH.mjs +0 -1
  386. package/dist/storage-namespace-BIDs9LPb.mjs +0 -1
  387. package/dist/tool-approval-service-CZCPfvVy.mjs +0 -1
  388. package/dist/tools-Cid9D99F.mjs +0 -1
  389. /package/dist/{base-orchestrator-BOAPgqF7.d.mts → base-orchestrator-wyumsn3b.d.mts} +0 -0
  390. /package/dist/{capability-service-DV32ecwR.mjs → capability-service-CJbmhfv9.mjs} +0 -0
  391. /package/dist/{cleanEnvForAdapter-hTPNvPU5.mjs → cleanEnvForAdapter-KkYzQa1f.mjs} +0 -0
  392. /package/dist/{config-namespace-wJ2CakDB.mjs → config-namespace-ncYg2ct_.mjs} +0 -0
  393. /package/dist/{extension-namespace-CTd9kOtt.mjs → extension-namespace-cMh_mMiL.mjs} +0 -0
  394. /package/dist/{identity-DBST3-XO.mjs → identity-Cz2IeEtm.mjs} +0 -0
  395. /package/dist/{index-SzSiyG61.d.mts → index-CHQ1SqT0.d.mts} +0 -0
  396. /package/dist/{model-registry-xINyxQUT.mjs → model-registry-CfXytvzx.mjs} +0 -0
  397. /package/dist/{model-registry-Dzpssh9j.mjs → model-registry-Scn_MC2d.mjs} +0 -0
  398. /package/dist/{namespace-DBw9BYr8.mjs → namespace-BoD94mrN.mjs} +0 -0
  399. /package/dist/{namespace-DUVgMfTR.mjs → namespace-CFLAmQfh.mjs} +0 -0
  400. /package/dist/{namespace-aALq9tnE.mjs → namespace-DkRgbZYn.mjs} +0 -0
  401. /package/dist/{namespace-yxIxUsjo.mjs → namespace-LViZ-EQk.mjs} +0 -0
  402. /package/dist/{namespace-Zb8HAbyF.mjs → namespace-Yna5-Pws.mjs} +0 -0
  403. /package/dist/{platform-BMFUpmTA.mjs → platform-DZ7z-wXD.mjs} +0 -0
  404. /package/dist/{providers-DhiW_fx4.mjs → providers-u8i15co9.mjs} +0 -0
  405. /package/dist/{schema-D3ZG13h9.mjs → schema-CoyE6mPt.mjs} +0 -0
  406. /package/dist/{schemas-CEBe89yE.mjs → schemas-DE-GNmSD.mjs} +0 -0
  407. /package/dist/{schemas-COnLJnt_.mjs → schemas-hSrzflwZ.mjs} +0 -0
  408. /package/dist/{schemas-CrnlCRep.mjs → schemas-jFe1AuI-.mjs} +0 -0
  409. /package/dist/{server-lifecycle-Dx5WgfoS.mjs → server-lifecycle-FXTPW39-.mjs} +0 -0
  410. /package/dist/{server-lifecycle-BC6FRn86.d.mts → server-lifecycle-YoSGFGnU.d.mts} +0 -0
  411. /package/dist/{shared-schemas-Byah36lG.mjs → shared-schemas-CPShiLNp.mjs} +0 -0
  412. /package/dist/{storage-namespace-definition-BjK9nZAN.mjs → storage-namespace-definition-CqSdsuCC.mjs} +0 -0
  413. /package/dist/{timeout-D33CUZ0M.mjs → timeout-XsYIOKrc.mjs} +0 -0
  414. /package/dist/{tray-menu-service-BAYtLdAg.mjs → tray-menu-service-DuXq5k22.mjs} +0 -0
  415. /package/dist/{ui-config-zawaoEfB.mjs → ui-config-9bDRwFZr.mjs} +0 -0
  416. /package/dist/{variant-BZWfmS0q.mjs → variant-CT6XBP6T.mjs} +0 -0
  417. /package/dist/{visibility-CZu8ooOA.mjs → visibility-Cb62p9bv.mjs} +0 -0
  418. /package/dist/{window-registry-C_IJmY8_.d.mts → window-registry-CBcrGTv4.d.mts} +0 -0
  419. /package/dist/{window-registry-B_-hBEcV.mjs → window-registry-DW-dKRjQ.mjs} +0 -0
@@ -0,0 +1,932 @@
1
+ import { z } from "zod";
2
+
3
+ //#region services/core/src/git/schemas/query.d.ts
4
+ /**
5
+ * Base request schema with optional repoPath.
6
+ * Defaults to process.cwd() if not specified.
7
+ */
8
+ declare const BaseRequestSchema: z.ZodObject<{
9
+ repoPath: z.ZodOptional<z.ZodString>;
10
+ }, z.core.$strip>;
11
+ declare const GitRepoRootRequestSchema: z.ZodObject<{
12
+ path: z.ZodString;
13
+ }, z.core.$strip>;
14
+ type GitRepoRootRequest = z.infer<typeof GitRepoRootRequestSchema>;
15
+ declare const GitRepoRootResponseSchema: z.ZodObject<{
16
+ root: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$strip>;
18
+ type GitRepoRootResponse = z.infer<typeof GitRepoRootResponseSchema>;
19
+ declare const GitBranchRequestSchema: z.ZodObject<{
20
+ repoPath: z.ZodOptional<z.ZodString>;
21
+ }, z.core.$strip>;
22
+ type GitBranchRequest = z.infer<typeof GitBranchRequestSchema>;
23
+ declare const GitBranchResponseSchema: z.ZodObject<{
24
+ current: z.ZodString;
25
+ isDetached: z.ZodBoolean;
26
+ }, z.core.$strip>;
27
+ type GitBranchResponse = z.infer<typeof GitBranchResponseSchema>;
28
+ declare const GitCommitRequestSchema: z.ZodObject<{
29
+ repoPath: z.ZodOptional<z.ZodString>;
30
+ ref: z.ZodOptional<z.ZodString>;
31
+ }, z.core.$strip>;
32
+ type GitCommitRequest = z.infer<typeof GitCommitRequestSchema>;
33
+ declare const GitCommitResponseSchema: z.ZodObject<{
34
+ hash: z.ZodString;
35
+ message: z.ZodString;
36
+ author: z.ZodString;
37
+ email: z.ZodString;
38
+ date: z.ZodString;
39
+ }, z.core.$strip>;
40
+ type GitCommitResponse = z.infer<typeof GitCommitResponseSchema>;
41
+ declare const GitCommitDetailsRequestSchema: z.ZodObject<{
42
+ repoPath: z.ZodOptional<z.ZodString>;
43
+ hash: z.ZodString;
44
+ }, z.core.$strip>;
45
+ type GitCommitDetailsRequest = z.infer<typeof GitCommitDetailsRequestSchema>;
46
+ declare const GitFileChangeSchema: z.ZodObject<{
47
+ path: z.ZodString;
48
+ oldPath: z.ZodOptional<z.ZodString>;
49
+ status: z.ZodString;
50
+ additions: z.ZodNumber;
51
+ deletions: z.ZodNumber;
52
+ }, z.core.$strip>;
53
+ type GitFileChange = z.infer<typeof GitFileChangeSchema>;
54
+ declare const GitChangeStatsSchema: z.ZodObject<{
55
+ totalAdditions: z.ZodNumber;
56
+ totalDeletions: z.ZodNumber;
57
+ changedFiles: z.ZodNumber;
58
+ }, z.core.$strip>;
59
+ type GitChangeStats = z.infer<typeof GitChangeStatsSchema>;
60
+ declare const GitCommitDetailsResponseSchema: z.ZodObject<{
61
+ files: z.ZodArray<z.ZodObject<{
62
+ path: z.ZodString;
63
+ oldPath: z.ZodOptional<z.ZodString>;
64
+ status: z.ZodString;
65
+ additions: z.ZodNumber;
66
+ deletions: z.ZodNumber;
67
+ }, z.core.$strip>>;
68
+ stats: z.ZodObject<{
69
+ totalAdditions: z.ZodNumber;
70
+ totalDeletions: z.ZodNumber;
71
+ changedFiles: z.ZodNumber;
72
+ }, z.core.$strip>;
73
+ }, z.core.$strip>;
74
+ type GitCommitDetailsResponse = z.infer<typeof GitCommitDetailsResponseSchema>;
75
+ declare const GitWorkingTreeDetailsRequestSchema: z.ZodObject<{
76
+ repoPath: z.ZodOptional<z.ZodString>;
77
+ }, z.core.$strip>;
78
+ type GitWorkingTreeDetailsRequest = z.infer<typeof GitWorkingTreeDetailsRequestSchema>;
79
+ declare const GitWorkingTreeFileChangeSchema: z.ZodObject<{
80
+ path: z.ZodString;
81
+ oldPath: z.ZodOptional<z.ZodString>;
82
+ additions: z.ZodNumber;
83
+ deletions: z.ZodNumber;
84
+ }, z.core.$strip>;
85
+ type GitWorkingTreeFileChange = z.infer<typeof GitWorkingTreeFileChangeSchema>;
86
+ declare const GitWorkingTreeDetailsResponseSchema: z.ZodObject<{
87
+ staged: z.ZodArray<z.ZodObject<{
88
+ path: z.ZodString;
89
+ oldPath: z.ZodOptional<z.ZodString>;
90
+ additions: z.ZodNumber;
91
+ deletions: z.ZodNumber;
92
+ }, z.core.$strip>>;
93
+ unstaged: z.ZodArray<z.ZodObject<{
94
+ path: z.ZodString;
95
+ oldPath: z.ZodOptional<z.ZodString>;
96
+ additions: z.ZodNumber;
97
+ deletions: z.ZodNumber;
98
+ }, z.core.$strip>>;
99
+ untracked: z.ZodArray<z.ZodObject<{
100
+ path: z.ZodString;
101
+ oldPath: z.ZodOptional<z.ZodString>;
102
+ additions: z.ZodNumber;
103
+ deletions: z.ZodNumber;
104
+ }, z.core.$strip>>;
105
+ conflicted: z.ZodArray<z.ZodObject<{
106
+ path: z.ZodString;
107
+ oldPath: z.ZodOptional<z.ZodString>;
108
+ additions: z.ZodNumber;
109
+ deletions: z.ZodNumber;
110
+ }, z.core.$strip>>;
111
+ stats: z.ZodObject<{
112
+ totalAdditions: z.ZodNumber;
113
+ totalDeletions: z.ZodNumber;
114
+ changedFiles: z.ZodNumber;
115
+ }, z.core.$strip>;
116
+ }, z.core.$strip>;
117
+ type GitWorkingTreeDetailsResponse = z.infer<typeof GitWorkingTreeDetailsResponseSchema>;
118
+ declare const GitStatusRequestSchema: z.ZodObject<{
119
+ repoPath: z.ZodOptional<z.ZodString>;
120
+ }, z.core.$strip>;
121
+ type GitStatusRequest = z.infer<typeof GitStatusRequestSchema>;
122
+ declare const GitStatusResponseSchema: z.ZodObject<{
123
+ staged: z.ZodArray<z.ZodString>;
124
+ modified: z.ZodArray<z.ZodString>;
125
+ untracked: z.ZodArray<z.ZodString>;
126
+ conflicted: z.ZodArray<z.ZodString>;
127
+ }, z.core.$strip>;
128
+ type GitStatusResponse = z.infer<typeof GitStatusResponseSchema>;
129
+ declare const GitWorktreesRequestSchema: z.ZodObject<{
130
+ repoPath: z.ZodOptional<z.ZodString>;
131
+ }, z.core.$strip>;
132
+ type GitWorktreesRequest = z.infer<typeof GitWorktreesRequestSchema>;
133
+ declare const GitWorktreeInfoSchema: z.ZodObject<{
134
+ path: z.ZodString;
135
+ branch: z.ZodString;
136
+ commit: z.ZodString;
137
+ isMain: z.ZodBoolean;
138
+ }, z.core.$strip>;
139
+ type GitWorktreeInfo = z.infer<typeof GitWorktreeInfoSchema>;
140
+ declare const GitWorktreesResponseSchema: z.ZodObject<{
141
+ worktrees: z.ZodArray<z.ZodObject<{
142
+ path: z.ZodString;
143
+ branch: z.ZodString;
144
+ commit: z.ZodString;
145
+ isMain: z.ZodBoolean;
146
+ }, z.core.$strip>>;
147
+ }, z.core.$strip>;
148
+ type GitWorktreesResponse = z.infer<typeof GitWorktreesResponseSchema>;
149
+ declare const GitRemotesRequestSchema: z.ZodObject<{
150
+ repoPath: z.ZodOptional<z.ZodString>;
151
+ }, z.core.$strip>;
152
+ type GitRemotesRequest = z.infer<typeof GitRemotesRequestSchema>;
153
+ declare const GitRemoteSchema: z.ZodObject<{
154
+ name: z.ZodString;
155
+ fetchUrl: z.ZodString;
156
+ pushUrl: z.ZodString;
157
+ }, z.core.$strip>;
158
+ type GitRemote = z.infer<typeof GitRemoteSchema>;
159
+ declare const GitRemotesResponseSchema: z.ZodObject<{
160
+ remotes: z.ZodArray<z.ZodObject<{
161
+ name: z.ZodString;
162
+ fetchUrl: z.ZodString;
163
+ pushUrl: z.ZodString;
164
+ }, z.core.$strip>>;
165
+ }, z.core.$strip>;
166
+ type GitRemotesResponse = z.infer<typeof GitRemotesResponseSchema>;
167
+ declare const GitDefaultBranchRequestSchema: z.ZodObject<{
168
+ repoPath: z.ZodOptional<z.ZodString>;
169
+ }, z.core.$strip>;
170
+ type GitDefaultBranchRequest = z.infer<typeof GitDefaultBranchRequestSchema>;
171
+ declare const GitDefaultBranchResponseSchema: z.ZodObject<{
172
+ branch: z.ZodString;
173
+ }, z.core.$strip>;
174
+ type GitDefaultBranchResponse = z.infer<typeof GitDefaultBranchResponseSchema>;
175
+ declare const GitLogFiltersSchema: z.ZodObject<{
176
+ branches: z.ZodOptional<z.ZodArray<z.ZodString>>;
177
+ branchMode: z.ZodOptional<z.ZodEnum<{
178
+ all: "all";
179
+ specific: "specific";
180
+ }>>;
181
+ baseBranch: z.ZodOptional<z.ZodString>;
182
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
183
+ author: z.ZodOptional<z.ZodString>;
184
+ since: z.ZodOptional<z.ZodString>;
185
+ until: z.ZodOptional<z.ZodString>;
186
+ searchQuery: z.ZodOptional<z.ZodString>;
187
+ selectedWorktree: z.ZodOptional<z.ZodString>;
188
+ }, z.core.$strip>;
189
+ type GitLogFilters = z.infer<typeof GitLogFiltersSchema>;
190
+ declare const GitLogRequestSchema: z.ZodObject<{
191
+ repoPath: z.ZodOptional<z.ZodString>;
192
+ limit: z.ZodOptional<z.ZodNumber>;
193
+ ref: z.ZodOptional<z.ZodString>;
194
+ filters: z.ZodOptional<z.ZodObject<{
195
+ branches: z.ZodOptional<z.ZodArray<z.ZodString>>;
196
+ branchMode: z.ZodOptional<z.ZodEnum<{
197
+ all: "all";
198
+ specific: "specific";
199
+ }>>;
200
+ baseBranch: z.ZodOptional<z.ZodString>;
201
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
202
+ author: z.ZodOptional<z.ZodString>;
203
+ since: z.ZodOptional<z.ZodString>;
204
+ until: z.ZodOptional<z.ZodString>;
205
+ searchQuery: z.ZodOptional<z.ZodString>;
206
+ selectedWorktree: z.ZodOptional<z.ZodString>;
207
+ }, z.core.$strip>>;
208
+ }, z.core.$strip>;
209
+ type GitLogRequest = z.infer<typeof GitLogRequestSchema>;
210
+ declare const GitLogCommitSchema: z.ZodObject<{
211
+ hash: z.ZodString;
212
+ shortHash: z.ZodString;
213
+ message: z.ZodString;
214
+ author: z.ZodString;
215
+ email: z.ZodString;
216
+ date: z.ZodString;
217
+ parents: z.ZodArray<z.ZodString>;
218
+ }, z.core.$strip>;
219
+ type GitLogCommit = z.infer<typeof GitLogCommitSchema>;
220
+ declare const GitRefsSchema: z.ZodObject<{
221
+ branches: z.ZodRecord<z.ZodString, z.ZodString>;
222
+ remoteBranches: z.ZodRecord<z.ZodString, z.ZodString>;
223
+ tags: z.ZodRecord<z.ZodString, z.ZodString>;
224
+ HEAD: z.ZodString;
225
+ }, z.core.$strip>;
226
+ type GitRefs = z.infer<typeof GitRefsSchema>;
227
+ declare const GitLogResponseSchema: z.ZodObject<{
228
+ commits: z.ZodArray<z.ZodObject<{
229
+ hash: z.ZodString;
230
+ shortHash: z.ZodString;
231
+ message: z.ZodString;
232
+ author: z.ZodString;
233
+ email: z.ZodString;
234
+ date: z.ZodString;
235
+ parents: z.ZodArray<z.ZodString>;
236
+ }, z.core.$strip>>;
237
+ refs: z.ZodObject<{
238
+ branches: z.ZodRecord<z.ZodString, z.ZodString>;
239
+ remoteBranches: z.ZodRecord<z.ZodString, z.ZodString>;
240
+ tags: z.ZodRecord<z.ZodString, z.ZodString>;
241
+ HEAD: z.ZodString;
242
+ }, z.core.$strip>;
243
+ truncated: z.ZodBoolean;
244
+ }, z.core.$strip>;
245
+ type GitLogResponse = z.infer<typeof GitLogResponseSchema>;
246
+ declare const GitFileAtRevisionRequestSchema: z.ZodObject<{
247
+ repoPath: z.ZodOptional<z.ZodString>;
248
+ path: z.ZodString;
249
+ ref: z.ZodString;
250
+ }, z.core.$strip>;
251
+ type GitFileAtRevisionRequest = z.infer<typeof GitFileAtRevisionRequestSchema>;
252
+ declare const GitFileAtRevisionResponseSchema: z.ZodObject<{
253
+ content: z.ZodString;
254
+ isBinary: z.ZodBoolean;
255
+ }, z.core.$strip>;
256
+ type GitFileAtRevisionResponse = z.infer<typeof GitFileAtRevisionResponseSchema>;
257
+ declare const GitDiffRequestSchema: z.ZodObject<{
258
+ repoPath: z.ZodOptional<z.ZodString>;
259
+ ref: z.ZodOptional<z.ZodString>;
260
+ staged: z.ZodOptional<z.ZodBoolean>;
261
+ unified: z.ZodOptional<z.ZodNumber>;
262
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
263
+ }, z.core.$strip>;
264
+ type GitDiffRequest = z.infer<typeof GitDiffRequestSchema>;
265
+ declare const GitDiffResponseSchema: z.ZodObject<{
266
+ diff: z.ZodString;
267
+ }, z.core.$strip>;
268
+ type GitDiffResponse = z.infer<typeof GitDiffResponseSchema>;
269
+ declare const GetBranchCommitsRequestSchema: z.ZodObject<{
270
+ branchName: z.ZodString;
271
+ repoPath: z.ZodOptional<z.ZodString>;
272
+ }, z.core.$strip>;
273
+ type GetBranchCommitsRequest = z.infer<typeof GetBranchCommitsRequestSchema>;
274
+ declare const GetBranchCommitsResponseSchema: z.ZodObject<{
275
+ commitHashes: z.ZodArray<z.ZodString>;
276
+ }, z.core.$strip>;
277
+ type GetBranchCommitsResponse = z.infer<typeof GetBranchCommitsResponseSchema>;
278
+ declare const GitSwitchWorktreeRequestSchema: z.ZodObject<{
279
+ repoPath: z.ZodOptional<z.ZodString>;
280
+ worktreePath: z.ZodString;
281
+ }, z.core.$strip>;
282
+ type GitSwitchWorktreeRequest = z.infer<typeof GitSwitchWorktreeRequestSchema>;
283
+ declare const GitSwitchWorktreeResponseSchema: z.ZodObject<{
284
+ success: z.ZodBoolean;
285
+ error: z.ZodOptional<z.ZodString>;
286
+ }, z.core.$strip>;
287
+ type GitSwitchWorktreeResponse = z.infer<typeof GitSwitchWorktreeResponseSchema>;
288
+ /** Request to get blame annotations. */
289
+ declare const GitBlameRequestSchema: z.ZodObject<{
290
+ repoPath: z.ZodOptional<z.ZodString>;
291
+ path: z.ZodString;
292
+ ref: z.ZodOptional<z.ZodString>;
293
+ }, z.core.$strip>;
294
+ type GitBlameRequest = z.infer<typeof GitBlameRequestSchema>;
295
+ /** A single blame annotation for a contiguous line range. */
296
+ declare const GitBlameLineSchema: z.ZodObject<{
297
+ startLine: z.ZodNumber;
298
+ endLine: z.ZodNumber;
299
+ shortHash: z.ZodString;
300
+ hash: z.ZodString;
301
+ author: z.ZodString;
302
+ date: z.ZodString;
303
+ message: z.ZodString;
304
+ }, z.core.$strip>;
305
+ type GitBlameLine = z.infer<typeof GitBlameLineSchema>;
306
+ /** Response from blame query. */
307
+ declare const GitBlameResponseSchema: z.ZodObject<{
308
+ content: z.ZodString;
309
+ lines: z.ZodArray<z.ZodObject<{
310
+ startLine: z.ZodNumber;
311
+ endLine: z.ZodNumber;
312
+ shortHash: z.ZodString;
313
+ hash: z.ZodString;
314
+ author: z.ZodString;
315
+ date: z.ZodString;
316
+ message: z.ZodString;
317
+ }, z.core.$strip>>;
318
+ }, z.core.$strip>;
319
+ type GitBlameResponse = z.infer<typeof GitBlameResponseSchema>;
320
+ declare const GitFileAtCommitRequestSchema: z.ZodObject<{
321
+ repoPath: z.ZodOptional<z.ZodString>;
322
+ filePath: z.ZodString;
323
+ commitHash: z.ZodString;
324
+ }, z.core.$strip>;
325
+ type GitFileAtCommitRequest = z.infer<typeof GitFileAtCommitRequestSchema>;
326
+ declare const GitFileAtCommitResponseSchema: z.ZodObject<{
327
+ content: z.ZodNullable<z.ZodString>;
328
+ isBinary: z.ZodBoolean;
329
+ }, z.core.$strip>;
330
+ type GitFileAtCommitResponse = z.infer<typeof GitFileAtCommitResponseSchema>;
331
+ declare const GitBlobHashAtCommitRequestSchema: z.ZodObject<{
332
+ repoPath: z.ZodOptional<z.ZodString>;
333
+ filePath: z.ZodString;
334
+ commitHash: z.ZodString;
335
+ }, z.core.$strip>;
336
+ type GitBlobHashAtCommitRequest = z.infer<typeof GitBlobHashAtCommitRequestSchema>;
337
+ declare const GitBlobHashAtCommitResponseSchema: z.ZodObject<{
338
+ blobHash: z.ZodNullable<z.ZodString>;
339
+ }, z.core.$strip>;
340
+ type GitBlobHashAtCommitResponse = z.infer<typeof GitBlobHashAtCommitResponseSchema>;
341
+ /** Request to compute a content-aware fingerprint of repository state. */
342
+ declare const GitFingerprintRequestSchema: z.ZodObject<{
343
+ repoPath: z.ZodString;
344
+ include: z.ZodArray<z.ZodString>;
345
+ exclude: z.ZodArray<z.ZodString>;
346
+ worktree: z.ZodOptional<z.ZodString>;
347
+ }, z.core.$strip>;
348
+ type GitFingerprintRequest = z.infer<typeof GitFingerprintRequestSchema>;
349
+ /** Response containing the computed fingerprint and metadata. */
350
+ declare const GitFingerprintResponseSchema: z.ZodObject<{
351
+ hash: z.ZodString;
352
+ commitSha: z.ZodString;
353
+ changedPaths: z.ZodArray<z.ZodString>;
354
+ timestamp: z.ZodString;
355
+ }, z.core.$strip>;
356
+ type GitFingerprintResponse = z.infer<typeof GitFingerprintResponseSchema>;
357
+ //#endregion
358
+ //#region services/core/src/git/schemas/event.d.ts
359
+ /**
360
+ * Git event schemas.
361
+ * Emitted by GitService when git operations are detected via file watching.
362
+ */
363
+ declare const GitCommitEventSchema: z.ZodObject<{
364
+ repoPath: z.ZodString;
365
+ hash: z.ZodString;
366
+ message: z.ZodString;
367
+ author: z.ZodString;
368
+ email: z.ZodString;
369
+ branch: z.ZodString;
370
+ timestamp: z.ZodString;
371
+ worktree: z.ZodOptional<z.ZodString>;
372
+ }, z.core.$strip>;
373
+ type GitCommitEvent = z.infer<typeof GitCommitEventSchema>;
374
+ declare const GitCheckoutEventSchema: z.ZodObject<{
375
+ repoPath: z.ZodString;
376
+ previousBranch: z.ZodOptional<z.ZodString>;
377
+ currentBranch: z.ZodString;
378
+ timestamp: z.ZodString;
379
+ worktree: z.ZodOptional<z.ZodString>;
380
+ }, z.core.$strip>;
381
+ type GitCheckoutEvent = z.infer<typeof GitCheckoutEventSchema>;
382
+ declare const GitStagingEventSchema: z.ZodObject<{
383
+ repoPath: z.ZodString;
384
+ staged: z.ZodArray<z.ZodString>;
385
+ timestamp: z.ZodString;
386
+ worktree: z.ZodOptional<z.ZodString>;
387
+ }, z.core.$strip>;
388
+ type GitStagingEvent = z.infer<typeof GitStagingEventSchema>;
389
+ declare const GitMergeEventSchema: z.ZodObject<{
390
+ repoPath: z.ZodString;
391
+ sourceBranch: z.ZodString;
392
+ targetBranch: z.ZodString;
393
+ mergeCommit: z.ZodString;
394
+ timestamp: z.ZodString;
395
+ worktree: z.ZodOptional<z.ZodString>;
396
+ }, z.core.$strip>;
397
+ type GitMergeEvent = z.infer<typeof GitMergeEventSchema>;
398
+ declare const GitRebaseStatusSchema: z.ZodEnum<{
399
+ completed: "completed";
400
+ started: "started";
401
+ aborted: "aborted";
402
+ }>;
403
+ type GitRebaseStatus = z.infer<typeof GitRebaseStatusSchema>;
404
+ declare const GitRebaseEventSchema: z.ZodObject<{
405
+ repoPath: z.ZodString;
406
+ branch: z.ZodString;
407
+ onto: z.ZodString;
408
+ status: z.ZodEnum<{
409
+ completed: "completed";
410
+ started: "started";
411
+ aborted: "aborted";
412
+ }>;
413
+ timestamp: z.ZodString;
414
+ worktree: z.ZodOptional<z.ZodString>;
415
+ }, z.core.$strip>;
416
+ type GitRebaseEvent = z.infer<typeof GitRebaseEventSchema>;
417
+ declare const GitWorktreeEventSchema: z.ZodObject<{
418
+ repoPath: z.ZodString;
419
+ name: z.ZodString;
420
+ path: z.ZodString;
421
+ branch: z.ZodString;
422
+ event: z.ZodEnum<{
423
+ removed: "removed";
424
+ added: "added";
425
+ }>;
426
+ timestamp: z.ZodString;
427
+ }, z.core.$strip>;
428
+ type GitWorktreeEvent = z.infer<typeof GitWorktreeEventSchema>;
429
+ declare const GitAddRepoRequestSchema: z.ZodObject<{
430
+ repoPath: z.ZodString;
431
+ }, z.core.$strip>;
432
+ type GitAddRepoRequest = z.infer<typeof GitAddRepoRequestSchema>;
433
+ declare const GitAddRepoResponseSchema: z.ZodObject<{
434
+ success: z.ZodBoolean;
435
+ error: z.ZodOptional<z.ZodString>;
436
+ }, z.core.$strip>;
437
+ type GitAddRepoResponse = z.infer<typeof GitAddRepoResponseSchema>;
438
+ declare const GitRemoveRepoRequestSchema: z.ZodObject<{
439
+ repoPath: z.ZodString;
440
+ }, z.core.$strip>;
441
+ type GitRemoveRepoRequest = z.infer<typeof GitRemoveRepoRequestSchema>;
442
+ declare const GitRemoveRepoResponseSchema: z.ZodObject<{
443
+ success: z.ZodBoolean;
444
+ }, z.core.$strip>;
445
+ type GitRemoveRepoResponse = z.infer<typeof GitRemoveRepoResponseSchema>;
446
+ declare const GitInitRepoRequestSchema: z.ZodObject<{
447
+ path: z.ZodString;
448
+ defaultBranch: z.ZodOptional<z.ZodString>;
449
+ }, z.core.$strip>;
450
+ type GitInitRepoRequest = z.infer<typeof GitInitRepoRequestSchema>;
451
+ declare const GitInitRepoResponseSchema: z.ZodObject<{
452
+ success: z.ZodBoolean;
453
+ path: z.ZodString;
454
+ defaultBranch: z.ZodString;
455
+ }, z.core.$strip>;
456
+ type GitInitRepoResponse = z.infer<typeof GitInitRepoResponseSchema>;
457
+ declare const GitCreateWorktreeRequestSchema: z.ZodObject<{
458
+ repoPath: z.ZodString;
459
+ path: z.ZodString;
460
+ branch: z.ZodString;
461
+ baseBranch: z.ZodOptional<z.ZodString>;
462
+ createBranch: z.ZodOptional<z.ZodBoolean>;
463
+ }, z.core.$strip>;
464
+ type GitCreateWorktreeRequest = z.infer<typeof GitCreateWorktreeRequestSchema>;
465
+ declare const GitCreateWorktreeResponseSchema: z.ZodObject<{
466
+ success: z.ZodBoolean;
467
+ path: z.ZodString;
468
+ branch: z.ZodString;
469
+ error: z.ZodOptional<z.ZodString>;
470
+ }, z.core.$strip>;
471
+ type GitCreateWorktreeResponse = z.infer<typeof GitCreateWorktreeResponseSchema>;
472
+ declare const GitRemoveWorktreeRequestSchema: z.ZodObject<{
473
+ repoPath: z.ZodString;
474
+ path: z.ZodString;
475
+ force: z.ZodOptional<z.ZodBoolean>;
476
+ deleteBranch: z.ZodOptional<z.ZodBoolean>;
477
+ }, z.core.$strip>;
478
+ type GitRemoveWorktreeRequest = z.infer<typeof GitRemoveWorktreeRequestSchema>;
479
+ declare const GitRemoveWorktreeResponseSchema: z.ZodObject<{
480
+ success: z.ZodBoolean;
481
+ error: z.ZodOptional<z.ZodString>;
482
+ }, z.core.$strip>;
483
+ type GitRemoveWorktreeResponse = z.infer<typeof GitRemoveWorktreeResponseSchema>;
484
+ /**
485
+ * Request to stage files for commit
486
+ */
487
+ declare const GitStageRequestSchema: z.ZodObject<{
488
+ repoPath: z.ZodOptional<z.ZodString>;
489
+ paths: z.ZodArray<z.ZodString>;
490
+ }, z.core.$strip>;
491
+ type GitStageRequest = z.infer<typeof GitStageRequestSchema>;
492
+ /**
493
+ * Response from stage operation
494
+ */
495
+ declare const GitStageResponseSchema: z.ZodObject<{
496
+ success: z.ZodBoolean;
497
+ error: z.ZodOptional<z.ZodString>;
498
+ }, z.core.$strip>;
499
+ type GitStageResponse = z.infer<typeof GitStageResponseSchema>;
500
+ /**
501
+ * Request to unstage files (remove from staging area)
502
+ */
503
+ declare const GitUnstageRequestSchema: z.ZodObject<{
504
+ repoPath: z.ZodOptional<z.ZodString>;
505
+ paths: z.ZodArray<z.ZodString>;
506
+ }, z.core.$strip>;
507
+ type GitUnstageRequest = z.infer<typeof GitUnstageRequestSchema>;
508
+ /**
509
+ * Response from unstage operation
510
+ */
511
+ declare const GitUnstageResponseSchema: z.ZodObject<{
512
+ success: z.ZodBoolean;
513
+ error: z.ZodOptional<z.ZodString>;
514
+ }, z.core.$strip>;
515
+ type GitUnstageResponse = z.infer<typeof GitUnstageResponseSchema>;
516
+ //#endregion
517
+ //#region services/core/src/git/schemas/write.d.ts
518
+ /**
519
+ * Git write operation schemas.
520
+ * Request/response schemas for git operations that mutate repository state:
521
+ * commit, merge, rebase, stash, branch CRUD, checkout, push, pull, fetch, discard.
522
+ */
523
+ /** Request to create a commit from currently staged changes. */
524
+ declare const GitCreateCommitRequestSchema: z.ZodObject<{
525
+ repoPath: z.ZodOptional<z.ZodString>;
526
+ message: z.ZodString;
527
+ allowEmpty: z.ZodOptional<z.ZodBoolean>;
528
+ amend: z.ZodOptional<z.ZodBoolean>;
529
+ }, z.core.$strip>;
530
+ type GitCreateCommitRequest = z.infer<typeof GitCreateCommitRequestSchema>;
531
+ /** Response from commit creation. */
532
+ declare const GitCreateCommitResponseSchema: z.ZodObject<{
533
+ success: z.ZodBoolean;
534
+ hash: z.ZodOptional<z.ZodString>;
535
+ branch: z.ZodOptional<z.ZodString>;
536
+ error: z.ZodOptional<z.ZodString>;
537
+ }, z.core.$strip>;
538
+ type GitCreateCommitResponse = z.infer<typeof GitCreateCommitResponseSchema>;
539
+ /**
540
+ * Merge approach determines how the merge is performed.
541
+ * - 'merge': Standard merge commit (default)
542
+ * - 'squash': Squash all commits into a single commit
543
+ * - 'fast-forward-only': Only allow fast-forward merges
544
+ */
545
+ declare const GitMergeApproachSchema: z.ZodEnum<{
546
+ merge: "merge";
547
+ squash: "squash";
548
+ "fast-forward-only": "fast-forward-only";
549
+ }>;
550
+ type GitMergeApproach = z.infer<typeof GitMergeApproachSchema>;
551
+ /** Request to merge a branch into the current branch. */
552
+ declare const GitMergeRequestSchema: z.ZodObject<{
553
+ repoPath: z.ZodOptional<z.ZodString>;
554
+ source: z.ZodString;
555
+ approach: z.ZodOptional<z.ZodEnum<{
556
+ merge: "merge";
557
+ squash: "squash";
558
+ "fast-forward-only": "fast-forward-only";
559
+ }>>;
560
+ message: z.ZodOptional<z.ZodString>;
561
+ abortOnConflict: z.ZodOptional<z.ZodBoolean>;
562
+ }, z.core.$strip>;
563
+ type GitMergeRequest = z.infer<typeof GitMergeRequestSchema>;
564
+ /** Response from merge operation. */
565
+ declare const GitMergeResponseSchema: z.ZodObject<{
566
+ success: z.ZodBoolean;
567
+ hash: z.ZodOptional<z.ZodString>;
568
+ fastForward: z.ZodOptional<z.ZodBoolean>;
569
+ conflicts: z.ZodOptional<z.ZodArray<z.ZodString>>;
570
+ error: z.ZodOptional<z.ZodString>;
571
+ }, z.core.$strip>;
572
+ type GitMergeResponse = z.infer<typeof GitMergeResponseSchema>;
573
+ /** Request to abort an in-progress merge. */
574
+ declare const GitAbortMergeRequestSchema: z.ZodObject<{
575
+ repoPath: z.ZodOptional<z.ZodString>;
576
+ }, z.core.$strip>;
577
+ type GitAbortMergeRequest = z.infer<typeof GitAbortMergeRequestSchema>;
578
+ /** Response from abort-merge operation. */
579
+ declare const GitAbortMergeResponseSchema: z.ZodObject<{
580
+ success: z.ZodBoolean;
581
+ error: z.ZodOptional<z.ZodString>;
582
+ }, z.core.$strip>;
583
+ type GitAbortMergeResponse = z.infer<typeof GitAbortMergeResponseSchema>;
584
+ /** Request to rebase the current branch onto a target ref. */
585
+ declare const GitRebaseOntoRequestSchema: z.ZodObject<{
586
+ repoPath: z.ZodOptional<z.ZodString>;
587
+ onto: z.ZodString;
588
+ abort: z.ZodOptional<z.ZodBoolean>;
589
+ continueRebase: z.ZodOptional<z.ZodBoolean>;
590
+ }, z.core.$strip>;
591
+ type GitRebaseOntoRequest = z.infer<typeof GitRebaseOntoRequestSchema>;
592
+ /** Response from rebase operation. */
593
+ declare const GitRebaseOntoResponseSchema: z.ZodObject<{
594
+ success: z.ZodBoolean;
595
+ hash: z.ZodOptional<z.ZodString>;
596
+ conflicts: z.ZodOptional<z.ZodArray<z.ZodString>>;
597
+ error: z.ZodOptional<z.ZodString>;
598
+ }, z.core.$strip>;
599
+ type GitRebaseOntoResponse = z.infer<typeof GitRebaseOntoResponseSchema>;
600
+ /**
601
+ * Stash operation type.
602
+ * - 'push': Stash current changes (default)
603
+ * - 'pop': Apply and remove the top stash entry
604
+ * - 'apply': Apply but keep the stash entry
605
+ * - 'drop': Remove a stash entry without applying
606
+ * - 'list': List all stash entries
607
+ */
608
+ declare const GitStashOperationSchema: z.ZodEnum<{
609
+ apply: "apply";
610
+ pop: "pop";
611
+ push: "push";
612
+ list: "list";
613
+ drop: "drop";
614
+ }>;
615
+ type GitStashOperation = z.infer<typeof GitStashOperationSchema>;
616
+ /** Request to perform a stash operation. */
617
+ declare const GitStashRequestSchema: z.ZodObject<{
618
+ repoPath: z.ZodOptional<z.ZodString>;
619
+ operation: z.ZodEnum<{
620
+ apply: "apply";
621
+ pop: "pop";
622
+ push: "push";
623
+ list: "list";
624
+ drop: "drop";
625
+ }>;
626
+ message: z.ZodOptional<z.ZodString>;
627
+ includeUntracked: z.ZodOptional<z.ZodBoolean>;
628
+ index: z.ZodOptional<z.ZodNumber>;
629
+ }, z.core.$strip>;
630
+ type GitStashRequest = z.infer<typeof GitStashRequestSchema>;
631
+ /** A single entry in the stash list. */
632
+ declare const GitStashEntrySchema: z.ZodObject<{
633
+ index: z.ZodNumber;
634
+ message: z.ZodString;
635
+ branch: z.ZodString;
636
+ date: z.ZodString;
637
+ }, z.core.$strip>;
638
+ type GitStashEntry = z.infer<typeof GitStashEntrySchema>;
639
+ /** Response from stash operation. */
640
+ declare const GitStashResponseSchema: z.ZodObject<{
641
+ success: z.ZodBoolean;
642
+ entries: z.ZodOptional<z.ZodArray<z.ZodObject<{
643
+ index: z.ZodNumber;
644
+ message: z.ZodString;
645
+ branch: z.ZodString;
646
+ date: z.ZodString;
647
+ }, z.core.$strip>>>;
648
+ error: z.ZodOptional<z.ZodString>;
649
+ }, z.core.$strip>;
650
+ type GitStashResponse = z.infer<typeof GitStashResponseSchema>;
651
+ /** Request to create a new branch. */
652
+ declare const GitCreateBranchRequestSchema: z.ZodObject<{
653
+ repoPath: z.ZodOptional<z.ZodString>;
654
+ name: z.ZodString;
655
+ startPoint: z.ZodOptional<z.ZodString>;
656
+ checkout: z.ZodOptional<z.ZodBoolean>;
657
+ }, z.core.$strip>;
658
+ type GitCreateBranchRequest = z.infer<typeof GitCreateBranchRequestSchema>;
659
+ /** Response from branch creation. */
660
+ declare const GitCreateBranchResponseSchema: z.ZodObject<{
661
+ success: z.ZodBoolean;
662
+ name: z.ZodOptional<z.ZodString>;
663
+ error: z.ZodOptional<z.ZodString>;
664
+ }, z.core.$strip>;
665
+ type GitCreateBranchResponse = z.infer<typeof GitCreateBranchResponseSchema>;
666
+ /** Request to delete a branch. */
667
+ declare const GitDeleteBranchRequestSchema: z.ZodObject<{
668
+ repoPath: z.ZodOptional<z.ZodString>;
669
+ name: z.ZodString;
670
+ force: z.ZodOptional<z.ZodBoolean>;
671
+ }, z.core.$strip>;
672
+ type GitDeleteBranchRequest = z.infer<typeof GitDeleteBranchRequestSchema>;
673
+ /** Response from branch deletion. */
674
+ declare const GitDeleteBranchResponseSchema: z.ZodObject<{
675
+ success: z.ZodBoolean;
676
+ error: z.ZodOptional<z.ZodString>;
677
+ }, z.core.$strip>;
678
+ type GitDeleteBranchResponse = z.infer<typeof GitDeleteBranchResponseSchema>;
679
+ /** Request to rename a branch. */
680
+ declare const GitRenameBranchRequestSchema: z.ZodObject<{
681
+ repoPath: z.ZodOptional<z.ZodString>;
682
+ oldName: z.ZodString;
683
+ newName: z.ZodString;
684
+ }, z.core.$strip>;
685
+ type GitRenameBranchRequest = z.infer<typeof GitRenameBranchRequestSchema>;
686
+ /** Response from branch rename. */
687
+ declare const GitRenameBranchResponseSchema: z.ZodObject<{
688
+ success: z.ZodBoolean;
689
+ error: z.ZodOptional<z.ZodString>;
690
+ }, z.core.$strip>;
691
+ type GitRenameBranchResponse = z.infer<typeof GitRenameBranchResponseSchema>;
692
+ /** Request to checkout a branch, tag, or commit. */
693
+ declare const GitCheckoutRequestSchema: z.ZodObject<{
694
+ repoPath: z.ZodOptional<z.ZodString>;
695
+ ref: z.ZodString;
696
+ createBranch: z.ZodOptional<z.ZodBoolean>;
697
+ startPoint: z.ZodOptional<z.ZodString>;
698
+ }, z.core.$strip>;
699
+ type GitCheckoutRequest = z.infer<typeof GitCheckoutRequestSchema>;
700
+ /** Response from checkout operation. */
701
+ declare const GitCheckoutResponseSchema: z.ZodObject<{
702
+ success: z.ZodBoolean;
703
+ ref: z.ZodOptional<z.ZodString>;
704
+ error: z.ZodOptional<z.ZodString>;
705
+ }, z.core.$strip>;
706
+ type GitCheckoutResponse = z.infer<typeof GitCheckoutResponseSchema>;
707
+ /** Request to push commits to a remote. */
708
+ declare const GitPushRequestSchema: z.ZodObject<{
709
+ repoPath: z.ZodOptional<z.ZodString>;
710
+ remote: z.ZodOptional<z.ZodString>;
711
+ branch: z.ZodOptional<z.ZodString>;
712
+ setUpstream: z.ZodOptional<z.ZodBoolean>;
713
+ force: z.ZodOptional<z.ZodBoolean>;
714
+ }, z.core.$strip>;
715
+ type GitPushRequest = z.infer<typeof GitPushRequestSchema>;
716
+ /** Response from push operation. */
717
+ declare const GitPushResponseSchema: z.ZodObject<{
718
+ success: z.ZodBoolean;
719
+ remote: z.ZodOptional<z.ZodString>;
720
+ branch: z.ZodOptional<z.ZodString>;
721
+ error: z.ZodOptional<z.ZodString>;
722
+ }, z.core.$strip>;
723
+ type GitPushResponse = z.infer<typeof GitPushResponseSchema>;
724
+ /** Request to pull changes from a remote. */
725
+ declare const GitPullRequestSchema: z.ZodObject<{
726
+ repoPath: z.ZodOptional<z.ZodString>;
727
+ remote: z.ZodOptional<z.ZodString>;
728
+ branch: z.ZodOptional<z.ZodString>;
729
+ rebase: z.ZodOptional<z.ZodBoolean>;
730
+ }, z.core.$strip>;
731
+ type GitPullRequest = z.infer<typeof GitPullRequestSchema>;
732
+ /** Response from pull operation. */
733
+ declare const GitPullResponseSchema: z.ZodObject<{
734
+ success: z.ZodBoolean;
735
+ conflicts: z.ZodOptional<z.ZodArray<z.ZodString>>;
736
+ error: z.ZodOptional<z.ZodString>;
737
+ }, z.core.$strip>;
738
+ type GitPullResponse = z.infer<typeof GitPullResponseSchema>;
739
+ /** Request to fetch from a remote. */
740
+ declare const GitFetchRequestSchema: z.ZodObject<{
741
+ repoPath: z.ZodOptional<z.ZodString>;
742
+ remote: z.ZodOptional<z.ZodString>;
743
+ prune: z.ZodOptional<z.ZodBoolean>;
744
+ }, z.core.$strip>;
745
+ type GitFetchRequest = z.infer<typeof GitFetchRequestSchema>;
746
+ /** Response from fetch operation. */
747
+ declare const GitFetchResponseSchema: z.ZodObject<{
748
+ success: z.ZodBoolean;
749
+ error: z.ZodOptional<z.ZodString>;
750
+ }, z.core.$strip>;
751
+ type GitFetchResponse = z.infer<typeof GitFetchResponseSchema>;
752
+ /** Request to discard working tree changes. */
753
+ declare const GitDiscardChangesRequestSchema: z.ZodObject<{
754
+ repoPath: z.ZodOptional<z.ZodString>;
755
+ paths: z.ZodArray<z.ZodString>;
756
+ }, z.core.$strip>;
757
+ type GitDiscardChangesRequest = z.infer<typeof GitDiscardChangesRequestSchema>;
758
+ /** Response from discard operation. */
759
+ declare const GitDiscardChangesResponseSchema: z.ZodObject<{
760
+ success: z.ZodBoolean;
761
+ error: z.ZodOptional<z.ZodString>;
762
+ }, z.core.$strip>;
763
+ type GitDiscardChangesResponse = z.infer<typeof GitDiscardChangesResponseSchema>;
764
+ //#endregion
765
+ //#region services/core/src/git/schemas/strategy.d.ts
766
+ /**
767
+ * Built-in commit message strategy identifiers.
768
+ *
769
+ * - 'conventional': Conventional Commits format (type(scope): description)
770
+ * - 'descriptive': Detailed multi-line description of changes
771
+ * - 'minimal': Short one-line summary only
772
+ * - 'custom': User-provided template with variable interpolation
773
+ */
774
+ declare const CommitMessageStrategyIdSchema: z.ZodEnum<{
775
+ custom: "custom";
776
+ conventional: "conventional";
777
+ descriptive: "descriptive";
778
+ minimal: "minimal";
779
+ }>;
780
+ type CommitMessageStrategyId = z.infer<typeof CommitMessageStrategyIdSchema>;
781
+ /**
782
+ * Context provided to commit message strategies for message generation.
783
+ *
784
+ * Contains all information a strategy might need to compose a commit message.
785
+ * The `files` and `stats` fields provide structured change data, while `diff`
786
+ * provides the raw unified diff for strategies that analyze content.
787
+ */
788
+ interface CommitMessageContext {
789
+ /** Files staged for commit */
790
+ readonly files: readonly GitFileChange[];
791
+ /** Aggregate change statistics */
792
+ readonly stats: GitChangeStats;
793
+ /** Current branch name */
794
+ readonly branch: string;
795
+ /** Unified diff of staged changes (optional, for content-analyzing strategies) */
796
+ readonly diff?: string;
797
+ /** Repository path */
798
+ readonly repoPath?: string;
799
+ }
800
+ /**
801
+ * Result from a commit message strategy.
802
+ *
803
+ * Follows git commit message conventions: a subject line (first line)
804
+ * and an optional body (subsequent lines after a blank separator).
805
+ */
806
+ interface CommitMessageResult {
807
+ /** The generated subject line (first line of commit message) */
808
+ readonly subject: string;
809
+ /** Optional body (lines after the subject, separated by blank line) */
810
+ readonly body?: string;
811
+ }
812
+ /**
813
+ * Strategy interface for generating commit messages.
814
+ *
815
+ * Implementations generate commit messages based on the current staged changes
816
+ * and repository context. Register custom strategies via the bus to extend
817
+ * the built-in set.
818
+ *
819
+ * Strategies may be synchronous (template-based) or asynchronous (AI-powered).
820
+ *
821
+ * SEAM: Plugins can register their own strategies (e.g., AI-generated messages,
822
+ * ticket-based templates, team conventions).
823
+ * @example
824
+ * ```typescript
825
+ * const conventionalStrategy: ICommitMessageStrategy = {
826
+ * id: 'conventional',
827
+ * name: 'Conventional Commits',
828
+ * description: 'Generates messages in type(scope): description format',
829
+ * generate: (context) => ({
830
+ * subject: `feat(${inferScope(context)}): ${inferDescription(context)}`,
831
+ * }),
832
+ * };
833
+ * ```
834
+ */
835
+ interface ICommitMessageStrategy {
836
+ /** Unique strategy identifier */
837
+ readonly id: string;
838
+ /** Human-readable strategy name */
839
+ readonly name: string;
840
+ /** Description of what this strategy does */
841
+ readonly description: string;
842
+ /**
843
+ * Generate a commit message from the given context.
844
+ * @param context - Repository and staging context for message generation
845
+ * @returns Generated commit message (sync or async)
846
+ */
847
+ generate(context: CommitMessageContext): CommitMessageResult | Promise<CommitMessageResult>;
848
+ }
849
+ /**
850
+ * Built-in merge strategy identifiers.
851
+ *
852
+ * - 'merge-commit': Standard merge with merge commit (default)
853
+ * - 'squash': Squash all commits into one before merging
854
+ * - 'rebase': Rebase commits onto target instead of merging
855
+ * - 'fast-forward': Only allow fast-forward merges
856
+ */
857
+ declare const MergeStrategyIdSchema: z.ZodEnum<{
858
+ rebase: "rebase";
859
+ squash: "squash";
860
+ "merge-commit": "merge-commit";
861
+ "fast-forward": "fast-forward";
862
+ }>;
863
+ type MergeStrategyId = z.infer<typeof MergeStrategyIdSchema>;
864
+ /**
865
+ * Context provided to merge strategies.
866
+ */
867
+ interface MergeContext {
868
+ /** Source branch or ref being merged */
869
+ readonly source: string;
870
+ /** Target branch (current branch) */
871
+ readonly target: string;
872
+ /** Repository path */
873
+ readonly repoPath: string;
874
+ }
875
+ /**
876
+ * Hook that runs before or after a merge operation.
877
+ *
878
+ * Pre-merge hooks can abort the merge by throwing an error.
879
+ * Post-merge hooks run after successful merge completion.
880
+ */
881
+ interface IMergeHook {
882
+ /** Unique hook identifier */
883
+ readonly id: string;
884
+ /** Human-readable hook name */
885
+ readonly name: string;
886
+ /**
887
+ * Execute the hook.
888
+ * @param context - Merge context
889
+ * @throws Error to abort (pre-merge) or report failure (post-merge)
890
+ */
891
+ execute(context: MergeContext): Promise<void>;
892
+ }
893
+ /**
894
+ * Strategy interface for merge operations.
895
+ *
896
+ * Encapsulates how a merge should be performed, including the merge approach
897
+ * and any pre/post hooks.
898
+ *
899
+ * SEAM: Plugins can register custom merge strategies with team-specific
900
+ * workflows (e.g., auto-stash before merge, run tests after merge).
901
+ * @example
902
+ * ```typescript
903
+ * const squashStrategy: IMergeStrategy = {
904
+ * id: 'squash',
905
+ * name: 'Squash Merge',
906
+ * description: 'Squash all commits into a single commit',
907
+ * preHooks: [autoStashHook],
908
+ * postHooks: [notifyHook],
909
+ * getMergeApproach: () => 'squash',
910
+ * };
911
+ * ```
912
+ */
913
+ interface IMergeStrategy {
914
+ /** Unique strategy identifier */
915
+ readonly id: string;
916
+ /** Human-readable strategy name */
917
+ readonly name: string;
918
+ /** Description of what this strategy does */
919
+ readonly description: string;
920
+ /** Hooks to run before the merge operation */
921
+ readonly preHooks: readonly IMergeHook[];
922
+ /** Hooks to run after successful merge */
923
+ readonly postHooks: readonly IMergeHook[];
924
+ /**
925
+ * Determine the merge approach for the given context.
926
+ * @param context - Merge context
927
+ * @returns The merge approach to use
928
+ */
929
+ getMergeApproach(context: MergeContext): 'merge' | 'squash' | 'fast-forward-only' | 'rebase';
930
+ }
931
+ //#endregion
932
+ export { BaseRequestSchema, type CommitMessageContext, type CommitMessageResult, type CommitMessageStrategyId, CommitMessageStrategyIdSchema, type GetBranchCommitsRequest, GetBranchCommitsRequestSchema, type GetBranchCommitsResponse, GetBranchCommitsResponseSchema, type GitAbortMergeRequest, GitAbortMergeRequestSchema, type GitAbortMergeResponse, GitAbortMergeResponseSchema, type GitAddRepoRequest, GitAddRepoRequestSchema, type GitAddRepoResponse, GitAddRepoResponseSchema, type GitBlameLine, GitBlameLineSchema, type GitBlameRequest, GitBlameRequestSchema, type GitBlameResponse, GitBlameResponseSchema, type GitBlobHashAtCommitRequest, GitBlobHashAtCommitRequestSchema, type GitBlobHashAtCommitResponse, GitBlobHashAtCommitResponseSchema, type GitBranchRequest, GitBranchRequestSchema, type GitBranchResponse, GitBranchResponseSchema, type GitChangeStats, GitChangeStatsSchema, type GitCheckoutEvent, GitCheckoutEventSchema, type GitCheckoutRequest, GitCheckoutRequestSchema, type GitCheckoutResponse, GitCheckoutResponseSchema, type GitCommitDetailsRequest, GitCommitDetailsRequestSchema, type GitCommitDetailsResponse, GitCommitDetailsResponseSchema, type GitCommitEvent, GitCommitEventSchema, type GitCommitRequest, GitCommitRequestSchema, type GitCommitResponse, GitCommitResponseSchema, type GitCreateBranchRequest, GitCreateBranchRequestSchema, type GitCreateBranchResponse, GitCreateBranchResponseSchema, type GitCreateCommitRequest, GitCreateCommitRequestSchema, type GitCreateCommitResponse, GitCreateCommitResponseSchema, type GitCreateWorktreeRequest, GitCreateWorktreeRequestSchema, type GitCreateWorktreeResponse, GitCreateWorktreeResponseSchema, type GitDefaultBranchRequest, GitDefaultBranchRequestSchema, type GitDefaultBranchResponse, GitDefaultBranchResponseSchema, type GitDeleteBranchRequest, GitDeleteBranchRequestSchema, type GitDeleteBranchResponse, GitDeleteBranchResponseSchema, type GitDiffRequest, GitDiffRequestSchema, type GitDiffResponse, GitDiffResponseSchema, type GitDiscardChangesRequest, GitDiscardChangesRequestSchema, type GitDiscardChangesResponse, GitDiscardChangesResponseSchema, type GitFetchRequest, GitFetchRequestSchema, type GitFetchResponse, GitFetchResponseSchema, type GitFileAtCommitRequest, GitFileAtCommitRequestSchema, type GitFileAtCommitResponse, GitFileAtCommitResponseSchema, type GitFileAtRevisionRequest, GitFileAtRevisionRequestSchema, type GitFileAtRevisionResponse, GitFileAtRevisionResponseSchema, type GitFileChange, GitFileChangeSchema, type GitFingerprintRequest, GitFingerprintRequestSchema, type GitFingerprintResponse, GitFingerprintResponseSchema, type GitInitRepoRequest, GitInitRepoRequestSchema, type GitInitRepoResponse, GitInitRepoResponseSchema, type GitLogCommit, GitLogCommitSchema, type GitLogFilters, GitLogFiltersSchema, type GitLogRequest, GitLogRequestSchema, type GitLogResponse, GitLogResponseSchema, type GitMergeApproach, GitMergeApproachSchema, type GitMergeEvent, GitMergeEventSchema, type GitMergeRequest, GitMergeRequestSchema, type GitMergeResponse, GitMergeResponseSchema, type GitPullRequest, GitPullRequestSchema, type GitPullResponse, GitPullResponseSchema, type GitPushRequest, GitPushRequestSchema, type GitPushResponse, GitPushResponseSchema, type GitRebaseEvent, GitRebaseEventSchema, type GitRebaseOntoRequest, GitRebaseOntoRequestSchema, type GitRebaseOntoResponse, GitRebaseOntoResponseSchema, type GitRebaseStatus, GitRebaseStatusSchema, type GitRefs, GitRefsSchema, type GitRemote, GitRemoteSchema, type GitRemotesRequest, GitRemotesRequestSchema, type GitRemotesResponse, GitRemotesResponseSchema, type GitRemoveRepoRequest, GitRemoveRepoRequestSchema, type GitRemoveRepoResponse, GitRemoveRepoResponseSchema, type GitRemoveWorktreeRequest, GitRemoveWorktreeRequestSchema, type GitRemoveWorktreeResponse, GitRemoveWorktreeResponseSchema, type GitRenameBranchRequest, GitRenameBranchRequestSchema, type GitRenameBranchResponse, GitRenameBranchResponseSchema, type GitRepoRootRequest, GitRepoRootRequestSchema, type GitRepoRootResponse, GitRepoRootResponseSchema, type GitStageRequest, GitStageRequestSchema, type GitStageResponse, GitStageResponseSchema, type GitStagingEvent, GitStagingEventSchema, type GitStashEntry, GitStashEntrySchema, type GitStashOperation, GitStashOperationSchema, type GitStashRequest, GitStashRequestSchema, type GitStashResponse, GitStashResponseSchema, type GitStatusRequest, GitStatusRequestSchema, type GitStatusResponse, GitStatusResponseSchema, type GitSwitchWorktreeRequest, GitSwitchWorktreeRequestSchema, type GitSwitchWorktreeResponse, GitSwitchWorktreeResponseSchema, type GitUnstageRequest, GitUnstageRequestSchema, type GitUnstageResponse, GitUnstageResponseSchema, type GitWorkingTreeDetailsRequest, GitWorkingTreeDetailsRequestSchema, type GitWorkingTreeDetailsResponse, GitWorkingTreeDetailsResponseSchema, type GitWorkingTreeFileChange, GitWorkingTreeFileChangeSchema, type GitWorktreeEvent, GitWorktreeEventSchema, type GitWorktreeInfo, GitWorktreeInfoSchema, type GitWorktreesRequest, GitWorktreesRequestSchema, type GitWorktreesResponse, GitWorktreesResponseSchema, type ICommitMessageStrategy, type IMergeHook, type IMergeStrategy, type MergeContext, type MergeStrategyId, MergeStrategyIdSchema };