@opencode-ai/core 0.0.0-dev-19158 → 0.0.0-dev-19160

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 (774) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{config-5rex2td8.js → command-067xa773.js} +43 -43
  9. package/dist/chunks/{config-nxrz604p.js → command-06qbn9zd.js} +9 -9
  10. package/dist/chunks/{config-h7vqmq4a.js → command-06rbd0ds.js} +7 -7
  11. package/dist/chunks/{config-af00207d.js → command-09a6army.js} +12 -12
  12. package/dist/chunks/{config-cdgrjcgr.js → command-09e7d9vb.js} +31 -30
  13. package/dist/chunks/{config-0e0xafbb.js → command-0e0xafbb.js} +2 -2
  14. package/dist/chunks/{config-jqbr1wyt.js → command-0fy0jsyf.js} +11 -11
  15. package/dist/chunks/{config-4czb3y5g.js → command-0mxxck6s.js} +39 -39
  16. package/dist/chunks/{config-0paq2nw3.js → command-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{config-0s9ayhjt.js → command-0s9ayhjt.js} +1 -1
  18. package/dist/chunks/{config-n4229vd9.js → command-1445ht27.js} +12 -12
  19. package/dist/chunks/{config-1ct4r87x.js → command-1ct4r87x.js} +1 -1
  20. package/dist/chunks/{config-1w30f4f2.js → command-1p55cq3k.js} +9 -9
  21. package/dist/chunks/{config-pwfaxt9w.js → command-1y88a9y4.js} +26 -26
  22. package/dist/chunks/{config-21r38tys.js → command-21r38tys.js} +1 -1
  23. package/dist/chunks/{config-6h73sxmp.js → command-2402vzrj.js} +5 -5
  24. package/dist/chunks/{config-mckf4h7b.js → command-24hkfxm1.js} +8 -8
  25. package/dist/chunks/{config-29x78va6.js → command-29x78va6.js} +2 -2
  26. package/dist/chunks/{config-2a5m3afh.js → command-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{config-z6z2k755.js → command-2bfwt810.js} +13 -13
  28. package/dist/chunks/{config-7j0xh36y.js → command-2bymashh.js} +11 -11
  29. package/dist/chunks/{config-5h14vxyg.js → command-2dqn2d0f.js} +9 -9
  30. package/dist/chunks/{config-2ht70gj7.js → command-2ht70gj7.js} +1 -1
  31. package/dist/chunks/{config-rs1e0b8t.js → command-2j14775k.js} +17 -17
  32. package/dist/chunks/{config-wh79xy5p.js → command-2j46d33k.js} +24 -24
  33. package/dist/chunks/{config-cnxfty65.js → command-2k2b0myy.js} +5 -5
  34. package/dist/chunks/{config-7xy1n7sd.js → command-2kq1zvc1.js} +7 -7
  35. package/dist/chunks/{config-3d9g3vnb.js → command-2qqffpqm.js} +29 -29
  36. package/dist/chunks/{config-nb6s2wb6.js → command-2tse149y.js} +9 -9
  37. package/dist/chunks/{config-4p3gnpt1.js → command-2wjp2tjd.js} +26 -26
  38. package/dist/chunks/{config-d90gephe.js → command-36bx4p7m.js} +9 -9
  39. package/dist/chunks/{config-0a461f5m.js → command-36jsrrnq.js} +4 -4
  40. package/dist/chunks/{config-hnxdesg1.js → command-3exrkx07.js} +46 -46
  41. package/dist/chunks/{config-91fry4gj.js → command-3gcs5xa7.js} +13 -13
  42. package/dist/chunks/{config-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{config-2wqt7jqe.js → command-3jj6bjb6.js} +5 -5
  44. package/dist/chunks/{config-02hqbqte.js → command-3nt7fz2d.js} +41 -41
  45. package/dist/chunks/{config-3qzbfqsy.js → command-3qzbfqsy.js} +2 -2
  46. package/dist/chunks/{config-fv0a46mq.js → command-3qze2g25.js} +2 -2
  47. package/dist/chunks/{config-3smtnn6g.js → command-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{config-3tvqynh2.js → command-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{config-s0bghcpj.js → command-3v2tg306.js} +13 -13
  50. package/dist/chunks/{config-egt1ss7v.js → command-3v7evdfw.js} +28 -28
  51. package/dist/chunks/{config-8cmk2yrh.js → command-3zzw1d29.js} +2 -2
  52. package/dist/chunks/{config-nnppy51n.js → command-403wd46a.js} +7 -7
  53. package/dist/chunks/{config-tg5j20fd.js → command-41y5k8q3.js} +34 -34
  54. package/dist/chunks/{config-454k5vzh.js → command-454k5vzh.js} +1 -1
  55. package/dist/chunks/{config-dwwf8aqg.js → command-46fb7xft.js} +31 -31
  56. package/dist/chunks/{config-y0padt56.js → command-47c0vj8e.js} +11 -11
  57. package/dist/chunks/{config-z9xbv7h3.js → command-4aej6qjt.js} +7 -7
  58. package/dist/chunks/{config-5w08bhrc.js → command-4myz20e1.js} +25 -25
  59. package/dist/chunks/{config-g54t4tcc.js → command-4pgype50.js} +28 -28
  60. package/dist/chunks/{config-4r2nyarf.js → command-4r2nyarf.js} +1 -1
  61. package/dist/chunks/{config-gqxn036h.js → command-57xv9dk6.js} +14 -14
  62. package/dist/chunks/{config-5daktx2q.js → command-5daktx2q.js} +1 -1
  63. package/dist/chunks/{config-5fmxt4p5.js → command-5fmxt4p5.js} +1 -1
  64. package/dist/chunks/{config-5jvc5tg2.js → command-5jvc5tg2.js} +1 -1
  65. package/dist/chunks/{config-6rx01yq8.js → command-5mm0tfy6.js} +8 -8
  66. package/dist/chunks/{config-v0gb0rxw.js → command-5ms9567n.js} +8 -8
  67. package/dist/chunks/{config-66dnbv3r.js → command-5r6zs9dp.js} +43 -43
  68. package/dist/chunks/{config-qbyszf6s.js → command-5x809xkz.js} +8 -8
  69. package/dist/chunks/{config-w3wxw8kx.js → command-5yrh131y.js} +6 -6
  70. package/dist/chunks/{config-rvb2zp0m.js → command-64z8z5x5.js} +6 -6
  71. package/dist/chunks/{config-z2qbjhyn.js → command-66r9f6z1.js} +5 -5
  72. package/dist/chunks/{config-qbjxktnx.js → command-67qwxm7p.js} +14 -14
  73. package/dist/chunks/{config-trt6hbzz.js → command-69wcn9zj.js} +4 -4
  74. package/dist/chunks/{config-6z5bwd8g.js → command-6abnk40k.js} +9 -9
  75. package/dist/chunks/{config-dr3kpc4j.js → command-6h683ksm.js} +3 -3
  76. package/dist/chunks/{config-er38wkfc.js → command-6hxkxj5e.js} +15 -15
  77. package/dist/chunks/{config-06x6pa3n.js → command-6kzfdsbw.js} +39 -39
  78. package/dist/chunks/{config-76a1wewz.js → command-6nf9m9w8.js} +18 -18
  79. package/dist/chunks/{config-9fa16n1e.js → command-6rvfg3m1.js} +25 -25
  80. package/dist/chunks/{config-711hfp6y.js → command-711hfp6y.js} +2 -2
  81. package/dist/chunks/{config-72nftnjy.js → command-72nftnjy.js} +2 -2
  82. package/dist/chunks/{config-fz1hta7e.js → command-771gpf5h.js} +8 -8
  83. package/dist/chunks/{config-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{config-fcrkznn8.js → command-7dqw4kz8.js} +5 -5
  85. package/dist/chunks/{config-jnmmvqjs.js → command-7ng7exzm.js} +1 -1
  86. package/dist/chunks/{config-m1xnd0vw.js → command-7nhnh7r3.js} +4 -4
  87. package/dist/chunks/{config-768z0hjh.js → command-7nxyxket.js} +1 -1
  88. package/dist/chunks/{config-1hy241bm.js → command-7ry09vv5.js} +3 -3
  89. package/dist/chunks/{config-6m53fthq.js → command-7th8yg4v.js} +3 -3
  90. package/dist/chunks/{config-wybz6hrf.js → command-7w74e5nf.js} +9 -9
  91. package/dist/chunks/{config-mhkvc446.js → command-7yh4e7ss.js} +3 -3
  92. package/dist/chunks/{config-8vngan4t.js → command-80gwsprg.js} +13 -13
  93. package/dist/chunks/{config-sy3syc2d.js → command-83564ejt.js} +13 -13
  94. package/dist/chunks/{config-yb908mkd.js → command-8d12smfc.js} +16 -16
  95. package/dist/chunks/{config-2vbg8t8g.js → command-8ehfs3z6.js} +6 -6
  96. package/dist/chunks/{config-yt752v3e.js → command-8eqyawfy.js} +17 -17
  97. package/dist/chunks/{config-7b89tsdd.js → command-8hczv8aq.js} +24 -24
  98. package/dist/chunks/{config-2h6dm58y.js → command-90apwbxv.js} +1 -1
  99. package/dist/chunks/{config-d1a1bt21.js → command-986p65m9.js} +5 -5
  100. package/dist/chunks/{config-y8b7bht2.js → command-9drvvwc8.js} +26 -26
  101. package/dist/chunks/{config-3wbdmr3k.js → command-9f3285wp.js} +16 -16
  102. package/dist/chunks/{config-0dbg0bks.js → command-9p3tsgpy.js} +4 -4
  103. package/dist/chunks/{config-9qm9egsn.js → command-9qm9egsn.js} +2 -2
  104. package/dist/chunks/{config-jg8b9hk9.js → command-9shezh8w.js} +15 -15
  105. package/dist/chunks/{config-bpgwf1gn.js → command-a09trhwb.js} +8 -8
  106. package/dist/chunks/{config-aaet6srn.js → command-aaet6srn.js} +2 -2
  107. package/dist/chunks/{config-0rxs0e68.js → command-abrpakxq.js} +11 -11
  108. package/dist/chunks/{config-0pxkb8sx.js → command-adtw4hjy.js} +28 -28
  109. package/dist/chunks/{config-ag4rn41e.js → command-ag4rn41e.js} +1 -1
  110. package/dist/chunks/{config-t00n1yfv.js → command-aj9kw0tw.js} +8 -8
  111. package/dist/chunks/{config-2h688s1b.js → command-ajcccrn0.js} +3 -3
  112. package/dist/chunks/{config-ajtjthsy.js → command-ajtjthsy.js} +2 -2
  113. package/dist/chunks/{config-rbat79dr.js → command-akpttafq.js} +9 -9
  114. package/dist/chunks/{config-r98e92ep.js → command-an7cqtb7.js} +4 -4
  115. package/dist/chunks/{config-0p9sb830.js → command-an9xa30v.js} +5 -5
  116. package/dist/chunks/{config-aj7d9r5a.js → command-apjnhj61.js} +3 -3
  117. package/dist/chunks/{config-9fqwkpwc.js → command-avr1tyrh.js} +22 -22
  118. package/dist/chunks/{config-b6gygkdw.js → command-b6gygkdw.js} +2 -2
  119. package/dist/chunks/{config-b9wsbatv.js → command-b9wsbatv.js} +1 -1
  120. package/dist/chunks/{config-p2qtf44v.js → command-bcam29vw.js} +7 -7
  121. package/dist/chunks/{config-1x17a3c7.js → command-bnd53w8e.js} +24 -24
  122. package/dist/chunks/{config-frpgp90v.js → command-bsnns7jw.js} +32 -32
  123. package/dist/chunks/{config-mpftn8ge.js → command-btt262ey.js} +13 -13
  124. package/dist/chunks/{config-d7mjzyv0.js → command-c50h3021.js} +6 -6
  125. package/dist/chunks/{config-yrzsrb4b.js → command-cb182ger.js} +7 -7
  126. package/dist/chunks/{config-wdge9c06.js → command-cf0yyv30.js} +13 -13
  127. package/dist/chunks/{config-ess78x58.js → command-cfaf1jcp.js} +4 -4
  128. package/dist/chunks/{config-2z5z4180.js → command-cj78h4gj.js} +5 -5
  129. package/dist/chunks/{config-hrjnmr7c.js → command-crmey8mf.js} +3 -3
  130. package/dist/chunks/{config-hddz0wn7.js → command-csf1agy9.js} +9 -9
  131. package/dist/chunks/{config-16r38w9g.js → command-ctd4qdmr.js} +4 -4
  132. package/dist/chunks/{config-z8bnceqx.js → command-cx64my21.js} +24 -24
  133. package/dist/chunks/{config-hhhknvt0.js → command-cze25jak.js} +8 -8
  134. package/dist/chunks/{config-d72308c8.js → command-d72308c8.js} +2 -2
  135. package/dist/chunks/{config-d64qpf1g.js → command-d8mkz6xq.js} +8 -8
  136. package/dist/chunks/{config-ngaay9ac.js → command-dhc125dj.js} +13 -13
  137. package/dist/chunks/{config-3ke7pvrw.js → command-dnv0g493.js} +20 -20
  138. package/dist/chunks/{config-rb8h7r9w.js → command-dyxej0k0.js} +15 -15
  139. package/dist/chunks/{config-ten32qq2.js → command-e4byd2f0.js} +155 -155
  140. package/dist/chunks/{config-e1hrx4vk.js → command-e6v427vd.js} +2 -2
  141. package/dist/chunks/{config-sev5fk1x.js → command-eab3te1e.js} +13 -13
  142. package/dist/chunks/{config-22wsmeqd.js → command-ed627kzc.js} +24 -24
  143. package/dist/chunks/{config-qekkcmhw.js → command-ef8sx7p3.js} +21 -21
  144. package/dist/chunks/{config-wvbe3rtp.js → command-eqx628er.js} +27 -27
  145. package/dist/chunks/{config-955d8903.js → command-ez9t0j11.js} +26 -26
  146. package/dist/chunks/{config-9n94sb4s.js → command-eze362m1.js} +5 -5
  147. package/dist/chunks/{config-7z9s4yw9.js → command-f02efhx2.js} +26 -26
  148. package/dist/chunks/{config-rb9cx0k8.js → command-f1q5pqmw.js} +11 -11
  149. package/dist/chunks/{config-qs4avvkb.js → command-f9x6rp1j.js} +1 -1
  150. package/dist/chunks/{config-qefte8q3.js → command-fb8301na.js} +15 -15
  151. package/dist/chunks/{config-73h8w926.js → command-fde3eq2m.js} +15 -15
  152. package/dist/chunks/{config-1m75zwha.js → command-fgm3rptp.js} +11 -11
  153. package/dist/chunks/{config-1rrv44nx.js → command-fn1bgv7k.js} +12 -12
  154. package/dist/chunks/{config-qz49fwgp.js → command-fvanntqq.js} +4 -4
  155. package/dist/chunks/{config-t6r14j5z.js → command-fx63sjjh.js} +9 -9
  156. package/dist/chunks/{config-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
  157. package/dist/chunks/{config-fxypknc8.js → command-fxypknc8.js} +1 -1
  158. package/dist/chunks/{config-re1thkzp.js → command-g220pns6.js} +32 -32
  159. package/dist/chunks/{config-gd4qta3r.js → command-gd4qta3r.js} +1 -1
  160. package/dist/chunks/{config-3fc6dm20.js → command-gdvy8fx6.js} +4 -4
  161. package/dist/chunks/{config-792dbvs3.js → command-gh3etp9m.js} +14 -14
  162. package/dist/chunks/{config-k0amsfzg.js → command-gpdv1k8z.js} +78 -78
  163. package/dist/chunks/{config-ht56m8ty.js → command-h287670b.js} +19 -19
  164. package/dist/chunks/{config-h6vf3j39.js → command-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{config-heyhwy2w.js → command-heyhwy2w.js} +1 -1
  166. package/dist/chunks/{config-yj3e99fm.js → command-hgeb4s25.js} +1 -1
  167. package/dist/chunks/{config-bcezcar3.js → command-hnyf01b0.js} +5 -5
  168. package/dist/chunks/{config-trkzvrng.js → command-hpkxe5vf.js} +9 -9
  169. package/dist/chunks/{config-hrvm11jt.js → command-hrvm11jt.js} +3 -3
  170. package/dist/chunks/{config-hdzt82x2.js → command-j5208yae.js} +4 -4
  171. package/dist/chunks/{config-rm8ckr6f.js → command-j8swj2w1.js} +17 -17
  172. package/dist/chunks/{config-mdtrqsjb.js → command-jh83r34y.js} +14 -14
  173. package/dist/chunks/{config-6ssjdv0f.js → command-js78q0ey.js} +7 -7
  174. package/dist/chunks/{config-k4bwy1x5.js → command-k4bwy1x5.js} +1 -1
  175. package/dist/chunks/{config-05c02jrd.js → command-k6wd3zsg.js} +29 -29
  176. package/dist/chunks/{config-be4f2y3v.js → command-k9hbvqs8.js} +23 -23
  177. package/dist/chunks/{config-kg06axw8.js → command-kg06axw8.js} +1 -1
  178. package/dist/chunks/command-kk8qrnxm.js +20 -0
  179. package/dist/chunks/{config-kvsjn1dr.js → command-kvsjn1dr.js} +2 -2
  180. package/dist/chunks/{config-zajwd6at.js → command-kxnt8qcg.js} +5 -5
  181. package/dist/chunks/{config-759pz1a2.js → command-m4535t75.js} +8 -8
  182. package/dist/chunks/{config-8yvym9ym.js → command-m5045k8y.js} +9 -9
  183. package/dist/chunks/{config-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{config-b589frdy.js → command-makhhr1b.js} +6 -6
  185. package/dist/chunks/{config-q8pady3j.js → command-mb3t0p3g.js} +18 -18
  186. package/dist/chunks/{config-6pca0jhe.js → command-mf0qyrea.js} +6 -6
  187. package/dist/chunks/{config-paaj2tba.js → command-mfzvtt0p.js} +41 -41
  188. package/dist/chunks/{config-d22p1rbq.js → command-mn2fhvjf.js} +19 -19
  189. package/dist/chunks/{config-aep3zssy.js → command-mq4pan8t.js} +7 -7
  190. package/dist/chunks/{config-besb2aaq.js → command-mqd6mqcv.js} +9 -9
  191. package/dist/chunks/{config-61za95ds.js → command-mvcmfyp0.js} +4 -4
  192. package/dist/chunks/{config-p8wq76ht.js → command-mx0e3zaa.js} +20 -20
  193. package/dist/chunks/{config-2dhdzgjt.js → command-myw4ak0a.js} +17 -17
  194. package/dist/chunks/command-nhtcvqe4.js +247 -0
  195. package/dist/chunks/{config-eg4pr325.js → command-nst4gbxz.js} +10 -10
  196. package/dist/chunks/{config-t73hfssp.js → command-nwqthrgy.js} +4 -4
  197. package/dist/chunks/{config-x838v1f0.js → command-p35n44y6.js} +24 -24
  198. package/dist/chunks/{config-5bryt7a0.js → command-p4ffxaks.js} +18 -18
  199. package/dist/chunks/{config-4zyfxj4f.js → command-pb7mhrv4.js} +34 -34
  200. package/dist/chunks/{config-s61m3yv4.js → command-penn4k5a.js} +11 -11
  201. package/dist/chunks/{config-vzxy5pye.js → command-pgrzqq7x.js} +270 -270
  202. package/dist/chunks/{config-smdsd39q.js → command-pjvn5h54.js} +14 -14
  203. package/dist/chunks/{config-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{config-pknna89w.js → command-pknna89w.js} +1 -1
  205. package/dist/chunks/{config-kjq59vae.js → command-pvwc59kc.js} +6 -6
  206. package/dist/chunks/{config-67jd09d6.js → command-q1mp0wyr.js} +9 -9
  207. package/dist/chunks/{config-pt7wq7x0.js → command-qbyj8qxd.js} +1 -1
  208. package/dist/chunks/{config-9rccpk3b.js → command-qrsmsg1a.js} +11 -11
  209. package/dist/chunks/{config-qsdy395h.js → command-qsdy395h.js} +1 -1
  210. package/dist/chunks/command-qyyps5ek.js +22 -0
  211. package/dist/chunks/{config-dkbgd4kx.js → command-qz2a5vjy.js} +11 -11
  212. package/dist/chunks/{config-svq2erka.js → command-r4zdmh6q.js} +23 -23
  213. package/dist/chunks/{config-qr55wwdd.js → command-r6y16npb.js} +31 -31
  214. package/dist/chunks/{config-r8dhm0tv.js → command-r8dhm0tv.js} +1 -1
  215. package/dist/chunks/{config-5ybpggmd.js → command-rbbz1t60.js} +22 -22
  216. package/dist/chunks/{config-zf2r3hh8.js → command-rbmj63g6.js} +18 -18
  217. package/dist/chunks/{config-6jcpr1v0.js → command-rz5nyh7y.js} +12 -12
  218. package/dist/chunks/{config-r9hy8h05.js → command-rzejcw32.js} +5 -5
  219. package/dist/chunks/{config-nf2cw6d6.js → command-sb910js5.js} +4 -4
  220. package/dist/chunks/{config-sba4qhjf.js → command-sba4qhjf.js} +1 -1
  221. package/dist/chunks/{config-ty2c41g5.js → command-scncj5yv.js} +20 -20
  222. package/dist/chunks/{config-bbvq66e2.js → command-sdrvr6hd.js} +15 -15
  223. package/dist/chunks/{config-zeb8mwjb.js → command-shfaz11f.js} +4 -4
  224. package/dist/chunks/{config-6zjfgkhx.js → command-sjpb2e72.js} +11 -11
  225. package/dist/chunks/{config-warhvf6j.js → command-syf0fv3f.js} +11 -11
  226. package/dist/chunks/{config-hvpnsy1s.js → command-t3jgv66k.js} +11 -11
  227. package/dist/chunks/{config-rpehk5bg.js → command-t3q2ka56.js} +18 -18
  228. package/dist/chunks/{config-8rzvg9y3.js → command-t3xcjejh.js} +21 -21
  229. package/dist/chunks/{config-tazgh4e4.js → command-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{config-tcezcvh9.js → command-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{config-tjykrgmx.js → command-tjykrgmx.js} +1 -1
  232. package/dist/chunks/{config-kkpsphwy.js → command-tnzyjfsr.js} +19 -19
  233. package/dist/chunks/{config-afqdc92k.js → command-tr0exa0z.js} +42 -42
  234. package/dist/chunks/{config-k9g2f61c.js → command-v01naqnx.js} +30 -30
  235. package/dist/chunks/{config-82vek7a0.js → command-v53xvqvh.js} +23 -23
  236. package/dist/chunks/{config-apsp7jgk.js → command-v5rb3gry.js} +4 -4
  237. package/dist/chunks/{config-2w6bfmvf.js → command-v8gy3pjr.js} +1 -1
  238. package/dist/chunks/{config-jejm9xps.js → command-vc3d140a.js} +24 -24
  239. package/dist/chunks/{config-bbewgybn.js → command-vex81zzz.js} +18 -18
  240. package/dist/chunks/{config-6j09wqep.js → command-vj6w85cw.js} +13 -13
  241. package/dist/chunks/{config-ph38rbv1.js → command-vnwde1cm.js} +8 -8
  242. package/dist/chunks/command-w3vb4krt.js +4 -0
  243. package/dist/chunks/{config-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{config-d0ewx9kc.js → command-wcr0959g.js} +6 -6
  245. package/dist/chunks/{config-wd87259q.js → command-wd87259q.js} +1 -1
  246. package/dist/chunks/{config-e65pwgvg.js → command-wngp9twe.js} +4 -4
  247. package/dist/chunks/{config-2r96sc0k.js → command-ww4cprnv.js} +30 -30
  248. package/dist/chunks/{config-tppvcy65.js → command-wwskzng8.js} +9 -9
  249. package/dist/chunks/{config-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
  250. package/dist/chunks/{config-ee6p858a.js → command-x4a87jpz.js} +10 -10
  251. package/dist/chunks/{config-n4j22jpp.js → command-x89xc156.js} +35 -35
  252. package/dist/chunks/{config-t21nbt5p.js → command-xa23jzcd.js} +13 -13
  253. package/dist/chunks/{config-at5d07az.js → command-xb02k0wq.js} +4 -4
  254. package/dist/chunks/{config-yk7p6t6k.js → command-xbyx40wa.js} +16 -16
  255. package/dist/chunks/{config-tkkwfdrn.js → command-xf2mx0nj.js} +18 -18
  256. package/dist/chunks/{config-99wsp9nb.js → command-xf5dfsz3.js} +54 -54
  257. package/dist/chunks/{config-ecrnc5yy.js → command-xg3c18md.js} +8 -8
  258. package/dist/chunks/{config-dpgq5tn5.js → command-xj845f8f.js} +38 -38
  259. package/dist/chunks/{config-yv1mnqgn.js → command-xxz5bf5t.js} +3 -3
  260. package/dist/chunks/{config-j916w4yw.js → command-y0759frv.js} +57 -57
  261. package/dist/chunks/{config-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
  262. package/dist/chunks/{config-93a8yfjt.js → command-y2cqme3r.js} +5 -5
  263. package/dist/chunks/{config-y71avatq.js → command-y71avatq.js} +1 -1
  264. package/dist/chunks/{config-st2ye5gy.js → command-y724s5yt.js} +4 -4
  265. package/dist/chunks/{config-jzn5q2t4.js → command-yaxh95xb.js} +9 -9
  266. package/dist/chunks/{config-qa3j2s86.js → command-yb3vshep.js} +7 -7
  267. package/dist/chunks/{config-rzkmjmsa.js → command-ybbfsve3.js} +24 -24
  268. package/dist/chunks/command-ydckrtmx.js +18 -0
  269. package/dist/chunks/{config-397c8mnj.js → command-yecrbd4q.js} +20 -20
  270. package/dist/chunks/{config-yfbd16n1.js → command-yfbd16n1.js} +2 -2
  271. package/dist/chunks/{config-djaedspm.js → command-yfmpqt7t.js} +9 -9
  272. package/dist/chunks/{config-97f5v037.js → command-yhr218qz.js} +4 -4
  273. package/dist/chunks/{config-ky96tthz.js → command-yhzb4m19.js} +22 -22
  274. package/dist/chunks/{config-h7ff3db1.js → command-ytrfeffg.js} +3 -3
  275. package/dist/chunks/{config-famd3pv6.js → command-yzd93mfj.js} +5 -5
  276. package/dist/chunks/{config-z1k01bn4.js → command-z1k01bn4.js} +2 -2
  277. package/dist/chunks/{config-4rhsk56h.js → command-z3s9j4q6.js} +18 -18
  278. package/dist/chunks/{config-djtdz80w.js → command-z3xgatyd.js} +4 -4
  279. package/dist/chunks/{config-kj6nvqge.js → command-z62pd9tg.js} +5 -5
  280. package/dist/chunks/{config-d5zz5mmx.js → command-z7f3thhk.js} +4 -4
  281. package/dist/chunks/{config-8zvpx36b.js → command-zhwkzg3q.js} +11 -11
  282. package/dist/chunks/{config-n38qs1ar.js → command-ztnyd3e4.js} +9 -9
  283. package/dist/chunks/{config-zxq2ej10.js → command-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +3 -3
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +2 -2
  287. package/dist/command.js +81 -81
  288. package/dist/config/discovery.js +77 -77
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +19 -19
  291. package/dist/config/plugin/agent.js +116 -116
  292. package/dist/config/plugin/command.js +207 -207
  293. package/dist/config/plugin/compaction.js +153 -153
  294. package/dist/config/plugin/entry-observer.js +1 -1
  295. package/dist/config/plugin/formatter.js +116 -116
  296. package/dist/config/plugin/image.js +114 -114
  297. package/dist/config/plugin/instruction.js +85 -85
  298. package/dist/config/plugin/location-watcher.js +114 -114
  299. package/dist/config/plugin/mcp.js +125 -125
  300. package/dist/config/plugin/policy.js +113 -113
  301. package/dist/config/plugin/provider.js +112 -112
  302. package/dist/config/plugin/reference.js +116 -116
  303. package/dist/config/plugin/shell.js +115 -115
  304. package/dist/config/plugin/skill-file.js +96 -96
  305. package/dist/config/plugin/skill.js +134 -134
  306. package/dist/config/plugin/snapshot.js +114 -114
  307. package/dist/config/plugin/source.js +116 -116
  308. package/dist/config/plugin/tool-output.js +116 -116
  309. package/dist/config/plugin/websearch.js +112 -112
  310. package/dist/config/plugin/worktree.js +117 -117
  311. package/dist/config/variable.js +3 -3
  312. package/dist/config/watch.js +1 -1
  313. package/dist/config.js +110 -110
  314. package/dist/credential/sql.js +2 -2
  315. package/dist/credential.js +78 -78
  316. package/dist/database/database.js +64 -64
  317. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  318. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  320. package/dist/database/drizzle/index.js +13 -13
  321. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  322. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  324. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  325. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  326. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  332. package/dist/database/drizzle.js +14 -14
  333. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  334. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  335. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  336. package/dist/database/migration/20260225215848_workspace.js +1 -1
  337. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  338. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  339. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  340. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  341. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  342. package/dist/database/migration/20260323234822_events.js +1 -1
  343. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  344. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  345. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  346. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  347. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  348. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  349. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  350. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  351. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  352. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  353. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  354. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  355. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  356. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  357. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  358. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  359. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  360. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  361. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  362. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  363. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  364. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  365. package/dist/database/migration/20260611035744_credential.js +1 -1
  366. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  367. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  368. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  369. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  370. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  371. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  372. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  373. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  374. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  375. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  376. package/dist/database/migration/20260812213948_worktree.js +1 -1
  377. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  378. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  379. package/dist/database/migration.gen.js +47 -47
  380. package/dist/database/migration.js +49 -49
  381. package/dist/database/path.js +2 -2
  382. package/dist/database/schema.gen.js +1 -1
  383. package/dist/database/schema.sql.js +1 -1
  384. package/dist/database/sqlite.bun.js +1 -1
  385. package/dist/database/sqlite.js +1 -1
  386. package/dist/database/sqlite.node.js +1 -1
  387. package/dist/database/sqlite.workerd.js +1 -1
  388. package/dist/database/v1-migration.bun.js +74 -74
  389. package/dist/database/v1-migration.js +1 -1
  390. package/dist/effect/app-node-builder.js +356 -356
  391. package/dist/effect/app-node-platform.js +2 -2
  392. package/dist/effect/keyed-mutex.js +1 -1
  393. package/dist/effect/websocket-constructor.js +1 -1
  394. package/dist/environment/driver.js +1 -1
  395. package/dist/environment/environment.js +88 -88
  396. package/dist/environment/exec-defaults.js +2 -2
  397. package/dist/environment/files.js +1 -1
  398. package/dist/environment/index.js +88 -88
  399. package/dist/environment/local.js +2 -2
  400. package/dist/environment/memory.js +2 -2
  401. package/dist/environment/unavailable.js +1 -1
  402. package/dist/event/sql.js +1 -1
  403. package/dist/event-logger.js +68 -68
  404. package/dist/file-mutation.js +89 -89
  405. package/dist/file-retention.js +1 -1
  406. package/dist/file.js +1 -1
  407. package/dist/filesystem/fff.bun.js +2 -2
  408. package/dist/filesystem/fff.js +1 -1
  409. package/dist/filesystem/fff.node.js +2 -2
  410. package/dist/filesystem/fff.workerd.js +2 -2
  411. package/dist/filesystem/ignore.js +1 -1
  412. package/dist/filesystem/location-watcher-policy.js +6 -6
  413. package/dist/filesystem/location-watcher.js +218 -218
  414. package/dist/filesystem/protected.js +1 -1
  415. package/dist/filesystem/search.js +97 -97
  416. package/dist/filesystem/watcher-binding.js +1 -1
  417. package/dist/filesystem/watcher.js +9 -9
  418. package/dist/filesystem.js +94 -94
  419. package/dist/form.js +82 -82
  420. package/dist/formatter/builtins.js +4 -4
  421. package/dist/formatter.js +78 -78
  422. package/dist/generate.js +90 -90
  423. package/dist/git.js +7 -7
  424. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  425. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  426. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  427. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  428. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  429. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  430. package/dist/github-copilot/copilot-provider.js +17 -17
  431. package/dist/github-copilot/models.js +7 -7
  432. package/dist/github-copilot/openai-compatible-error.js +1 -1
  433. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  434. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  435. package/dist/github-copilot/responses/openai-error.js +1 -1
  436. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  437. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  438. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  439. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  440. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  441. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  443. package/dist/id/id.js +1 -1
  444. package/dist/image/photon.js +2 -2
  445. package/dist/image.js +6 -6
  446. package/dist/instance/service.js +5 -5
  447. package/dist/instance.js +347 -347
  448. package/dist/instruction-discovery.js +83 -83
  449. package/dist/instructions/builtins.js +80 -80
  450. package/dist/instructions/index.js +3 -3
  451. package/dist/integration/connection.js +1 -1
  452. package/dist/integration.js +85 -85
  453. package/dist/job.js +75 -75
  454. package/dist/kv/sql.js +2 -2
  455. package/dist/kv.js +67 -67
  456. package/dist/location-activity.js +83 -83
  457. package/dist/location-mutation.js +81 -81
  458. package/dist/location-service-map.js +83 -83
  459. package/dist/location-services.js +346 -346
  460. package/dist/location.js +84 -84
  461. package/dist/mcp/client.js +86 -86
  462. package/dist/mcp/index.js +96 -96
  463. package/dist/mcp/instructions.js +118 -118
  464. package/dist/mcp/oauth.js +2 -2
  465. package/dist/mcp/stdio.js +85 -85
  466. package/dist/mime.js +1 -1
  467. package/dist/modal/models.js +7 -7
  468. package/dist/model-resolver.js +85 -85
  469. package/dist/model.js +10 -10
  470. package/dist/models-dev.js +76 -76
  471. package/dist/oauth/page.js +1 -1
  472. package/dist/permission/saved.js +74 -74
  473. package/dist/permission/sql.js +5 -5
  474. package/dist/permission.js +99 -99
  475. package/dist/persistent-pty/binary.bun.js +1 -1
  476. package/dist/persistent-pty/daemon.js +1 -1
  477. package/dist/persistent-pty/index.js +84 -84
  478. package/dist/persistent-pty/pty-binding.js +1 -1
  479. package/dist/persistent-pty.js +73 -73
  480. package/dist/plugin/agent.js +98 -98
  481. package/dist/plugin/command.js +95 -95
  482. package/dist/plugin/hooks.js +5 -5
  483. package/dist/plugin/host.js +211 -211
  484. package/dist/plugin/instance.js +5 -5
  485. package/dist/plugin/internal.js +320 -320
  486. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  487. package/dist/plugin/models-dev.js +75 -75
  488. package/dist/plugin/module.js +7 -7
  489. package/dist/plugin/plan.js +96 -96
  490. package/dist/plugin/promise.js +1 -1
  491. package/dist/plugin/provider/alibaba.js +2 -2
  492. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  493. package/dist/plugin/provider/anthropic.js +2 -2
  494. package/dist/plugin/provider/azure.js +117 -117
  495. package/dist/plugin/provider/cerebras.js +2 -2
  496. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  497. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  498. package/dist/plugin/provider/cohere.js +2 -2
  499. package/dist/plugin/provider/configured.js +113 -113
  500. package/dist/plugin/provider/dynamic.js +2 -2
  501. package/dist/plugin/provider/factory.js +1 -1
  502. package/dist/plugin/provider/gateway.js +2 -2
  503. package/dist/plugin/provider/github-copilot.js +79 -79
  504. package/dist/plugin/provider/gitlab.js +3 -3
  505. package/dist/plugin/provider/google-vertex.js +2 -2
  506. package/dist/plugin/provider/kilo.js +2 -2
  507. package/dist/plugin/provider/llmgateway.js +75 -75
  508. package/dist/plugin/provider/lmstudio.js +116 -116
  509. package/dist/plugin/provider/mistral.js +2 -2
  510. package/dist/plugin/provider/modal.js +78 -78
  511. package/dist/plugin/provider/nvidia.js +2 -2
  512. package/dist/plugin/provider/ollama.js +116 -116
  513. package/dist/plugin/provider/openai-compatible.js +1 -1
  514. package/dist/plugin/provider/openai.js +79 -79
  515. package/dist/plugin/provider/opencode.js +75 -75
  516. package/dist/plugin/provider/openrouter.js +3 -3
  517. package/dist/plugin/provider/perplexity.js +2 -2
  518. package/dist/plugin/provider/sap-ai-core.js +3 -3
  519. package/dist/plugin/provider/sdk-factory.js +1 -1
  520. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  521. package/dist/plugin/provider/venice.js +2 -2
  522. package/dist/plugin/provider/vercel.js +2 -2
  523. package/dist/plugin/provider/vllm.js +116 -116
  524. package/dist/plugin/provider/xai.js +76 -76
  525. package/dist/plugin/provider/zenmux.js +2 -2
  526. package/dist/plugin/provider.js +154 -154
  527. package/dist/plugin/sdk.js +74 -74
  528. package/dist/plugin/service.js +5 -5
  529. package/dist/plugin/skill.js +131 -131
  530. package/dist/plugin/source-directory.js +1 -1
  531. package/dist/plugin/supervisor.js +339 -339
  532. package/dist/plugin/system-prompt.js +4 -4
  533. package/dist/plugin/update.js +6 -6
  534. package/dist/plugin/variant.js +4 -4
  535. package/dist/plugin/vcs/git.js +82 -82
  536. package/dist/plugin/vcs/hg.js +82 -82
  537. package/dist/plugin/warming.js +111 -111
  538. package/dist/plugin/websearch/exa.js +7 -7
  539. package/dist/plugin/websearch/firecrawl.js +8 -8
  540. package/dist/plugin/websearch/index.js +8 -8
  541. package/dist/plugin/websearch/mcp.js +6 -6
  542. package/dist/plugin/websearch/parallel.js +8 -8
  543. package/dist/plugin/websearch/tavily.js +6 -6
  544. package/dist/plugin.js +222 -222
  545. package/dist/project/schema.js +8 -8
  546. package/dist/project/sql.js +4 -4
  547. package/dist/project.js +85 -85
  548. package/dist/provider.js +5 -5
  549. package/dist/pty/protocol.js +1 -1
  550. package/dist/pty/schema.js +3 -3
  551. package/dist/pty/ticket.js +1 -1
  552. package/dist/pty.js +90 -90
  553. package/dist/reference/instructions.js +82 -82
  554. package/dist/reference.js +84 -84
  555. package/dist/repository-cache.js +76 -76
  556. package/dist/repository.js +3 -3
  557. package/dist/ripgrep/binary.js +2 -2
  558. package/dist/ripgrep.js +91 -91
  559. package/dist/rpc.js +81 -81
  560. package/dist/schema.js +1 -1
  561. package/dist/session/command.js +72 -72
  562. package/dist/session/compaction.js +125 -125
  563. package/dist/session/context.js +143 -143
  564. package/dist/session/environment.js +5 -5
  565. package/dist/session/error.js +5 -5
  566. package/dist/session/event.js +1 -1
  567. package/dist/session/execution/restart.js +205 -205
  568. package/dist/session/execution.js +114 -114
  569. package/dist/session/generate.js +144 -144
  570. package/dist/session/history.js +12 -12
  571. package/dist/session/inbox.js +80 -80
  572. package/dist/session/info.js +3 -3
  573. package/dist/session/instruction-entry.js +77 -77
  574. package/dist/session/instruction-state.js +8 -8
  575. package/dist/session/instructions.js +91 -91
  576. package/dist/session/message-updater.js +2 -2
  577. package/dist/session/message.js +1 -1
  578. package/dist/session/model-request.js +112 -112
  579. package/dist/session/model-transport.js +9 -9
  580. package/dist/session/move.js +120 -120
  581. package/dist/session/projector.js +82 -82
  582. package/dist/session/prompt.js +99 -99
  583. package/dist/session/revert.js +85 -85
  584. package/dist/session/run-coordinator.js +3 -3
  585. package/dist/session/runner/index.js +1 -1
  586. package/dist/session/runner/llm.js +223 -223
  587. package/dist/session/runner/max-steps.js +1 -1
  588. package/dist/session/runner/model.js +85 -85
  589. package/dist/session/runner/publish-llm-event.js +3 -3
  590. package/dist/session/runner/retry.js +4 -4
  591. package/dist/session/runner/step.js +119 -119
  592. package/dist/session/runner/to-llm-message.js +1 -1
  593. package/dist/session/schema.js +5 -5
  594. package/dist/session/session.js +167 -167
  595. package/dist/session/shell.js +130 -130
  596. package/dist/session/skill.js +97 -97
  597. package/dist/session/sql.js +5 -5
  598. package/dist/session/stats.js +71 -71
  599. package/dist/session/store.js +80 -80
  600. package/dist/session/subagent-completion.js +1 -1
  601. package/dist/session/subagent-job.js +203 -203
  602. package/dist/session/system-prompt.js +5 -5
  603. package/dist/session/title.js +149 -149
  604. package/dist/session/to-session-error.js +105 -105
  605. package/dist/session/transfer.js +207 -207
  606. package/dist/session/usage.js +1 -1
  607. package/dist/session.js +205 -205
  608. package/dist/shell/parse.js +6 -6
  609. package/dist/shell/result.js +1 -1
  610. package/dist/shell/scan.js +1 -1
  611. package/dist/shell/select.js +9 -9
  612. package/dist/shell.js +132 -132
  613. package/dist/skill/discovery.js +6 -6
  614. package/dist/skill/instructions.js +101 -101
  615. package/dist/skill.js +100 -100
  616. package/dist/snapshot.js +78 -78
  617. package/dist/state.js +1 -1
  618. package/dist/tool/html-markdown.js +1 -1
  619. package/dist/tool/http-body.js +1 -1
  620. package/dist/tool/mcp.js +115 -115
  621. package/dist/tool/plugin/edit.js +114 -114
  622. package/dist/tool/plugin/file-diff.js +1 -1
  623. package/dist/tool/plugin/glob.js +115 -115
  624. package/dist/tool/plugin/grep.js +119 -119
  625. package/dist/tool/plugin/opencode.js +3 -3
  626. package/dist/tool/plugin/patch.js +116 -116
  627. package/dist/tool/plugin/question.js +95 -95
  628. package/dist/tool/plugin/read.js +120 -120
  629. package/dist/tool/plugin/shell.js +204 -204
  630. package/dist/tool/plugin/skill.js +107 -107
  631. package/dist/tool/plugin/subagent.js +210 -210
  632. package/dist/tool/plugin/webfetch.js +106 -106
  633. package/dist/tool/plugin/websearch.js +104 -104
  634. package/dist/tool/plugin/write.js +116 -116
  635. package/dist/tool/read-filesystem.js +96 -96
  636. package/dist/tool/runtime.js +1 -1
  637. package/dist/tool-output.js +8 -8
  638. package/dist/tool.js +13 -13
  639. package/dist/util/error.js +1 -1
  640. package/dist/util/iife.js +1 -1
  641. package/dist/util/lazy.js +1 -1
  642. package/dist/util/slug.js +1 -1
  643. package/dist/util/token.js +1 -1
  644. package/dist/util/which.js +1 -1
  645. package/dist/util/wildcard.js +1 -1
  646. package/dist/v1/config/agent.js +7 -7
  647. package/dist/v1/config/attachment.js +4 -4
  648. package/dist/v1/config/command.js +3 -3
  649. package/dist/v1/config/config.js +16 -16
  650. package/dist/v1/config/error.js +2 -2
  651. package/dist/v1/config/formatter.js +3 -3
  652. package/dist/v1/config/layout.js +1 -1
  653. package/dist/v1/config/lsp.js +3 -3
  654. package/dist/v1/config/mcp.js +4 -4
  655. package/dist/v1/config/migrate.js +4 -4
  656. package/dist/v1/config/permission.js +3 -3
  657. package/dist/v1/config/plugin.js +3 -3
  658. package/dist/v1/config/provider-options.js +1 -1
  659. package/dist/v1/config/provider.js +4 -4
  660. package/dist/v1/config/server.js +2 -2
  661. package/dist/v1/config/skills.js +3 -3
  662. package/dist/v1/permission.js +1 -1
  663. package/dist/vcs/patch.js +1 -1
  664. package/dist/vcs.js +81 -81
  665. package/dist/websearch.js +80 -80
  666. package/dist/wellknown/plugin.js +74 -74
  667. package/dist/wellknown.js +73 -73
  668. package/dist/workspace/driver.js +7 -7
  669. package/dist/workspace/sql.js +1 -1
  670. package/dist/workspace.js +78 -78
  671. package/dist/worktree/directory.js +4 -4
  672. package/dist/worktree/git.js +7 -7
  673. package/dist/worktree/refresh.js +338 -338
  674. package/dist/worktree/sql.js +5 -5
  675. package/dist/worktree.js +89 -89
  676. package/package.json +7 -7
  677. package/dist/chunks/config-2j7y305z.js +0 -22
  678. package/dist/chunks/config-7zk4hah4.js +0 -4
  679. package/dist/chunks/config-dxj72tfx.js +0 -18
  680. package/dist/chunks/config-hy4a837d.js +0 -247
  681. package/dist/chunks/config-n9mr47st.js +0 -20
  682. /package/dist/chunks/{config-0fabt78z.js → command-0fabt78z.js} +0 -0
  683. /package/dist/chunks/{config-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{config-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{config-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{config-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{config-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{config-2710q6r3.js → command-2710q6r3.js} +0 -0
  689. /package/dist/chunks/{config-2axfhc9x.js → command-2axfhc9x.js} +0 -0
  690. /package/dist/chunks/{config-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  691. /package/dist/chunks/{config-359p4xyc.js → command-359p4xyc.js} +0 -0
  692. /package/dist/chunks/{config-3asan66x.js → command-3asan66x.js} +0 -0
  693. /package/dist/chunks/{config-3t738kvx.js → command-3t738kvx.js} +0 -0
  694. /package/dist/chunks/{config-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  695. /package/dist/chunks/{config-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  696. /package/dist/chunks/{config-41nvscxy.js → command-41nvscxy.js} +0 -0
  697. /package/dist/chunks/{config-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  698. /package/dist/chunks/{config-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  699. /package/dist/chunks/{config-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  700. /package/dist/chunks/{config-53557ph1.js → command-53557ph1.js} +0 -0
  701. /package/dist/chunks/{config-550bvhaj.js → command-550bvhaj.js} +0 -0
  702. /package/dist/chunks/{config-6prwharc.js → command-6prwharc.js} +0 -0
  703. /package/dist/chunks/{config-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  704. /package/dist/chunks/{config-7m9af43g.js → command-7m9af43g.js} +0 -0
  705. /package/dist/chunks/{config-822emrt2.js → command-822emrt2.js} +0 -0
  706. /package/dist/chunks/{config-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  707. /package/dist/chunks/{config-8n3pysct.js → command-8n3pysct.js} +0 -0
  708. /package/dist/chunks/{config-982e01ww.js → command-982e01ww.js} +0 -0
  709. /package/dist/chunks/{config-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  710. /package/dist/chunks/{config-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  711. /package/dist/chunks/{config-a1tpkmh4.js → command-a1tpkmh4.js} +0 -0
  712. /package/dist/chunks/{config-af5trqkr.js → command-af5trqkr.js} +0 -0
  713. /package/dist/chunks/{config-afrmfg78.js → command-afrmfg78.js} +0 -0
  714. /package/dist/chunks/{config-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  715. /package/dist/chunks/{config-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  716. /package/dist/chunks/{config-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  717. /package/dist/chunks/{config-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  718. /package/dist/chunks/{config-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  719. /package/dist/chunks/{config-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  720. /package/dist/chunks/{config-d9fn303g.js → command-d9fn303g.js} +0 -0
  721. /package/dist/chunks/{config-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  722. /package/dist/chunks/{config-dajrwvna.js → command-dajrwvna.js} +0 -0
  723. /package/dist/chunks/{config-dap0rakb.js → command-dap0rakb.js} +0 -0
  724. /package/dist/chunks/{config-df08tz66.js → command-df08tz66.js} +0 -0
  725. /package/dist/chunks/{config-dy18nga0.js → command-dy18nga0.js} +0 -0
  726. /package/dist/chunks/{config-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  727. /package/dist/chunks/{config-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  728. /package/dist/chunks/{config-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  729. /package/dist/chunks/{config-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  730. /package/dist/chunks/{config-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  731. /package/dist/chunks/{config-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  732. /package/dist/chunks/{config-faypxj3z.js → command-faypxj3z.js} +0 -0
  733. /package/dist/chunks/{config-fd410y7t.js → command-fd410y7t.js} +0 -0
  734. /package/dist/chunks/{config-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
  735. /package/dist/chunks/{config-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  736. /package/dist/chunks/{config-g86h250q.js → command-g86h250q.js} +0 -0
  737. /package/dist/chunks/{config-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  738. /package/dist/chunks/{config-hk9envan.js → command-hk9envan.js} +0 -0
  739. /package/dist/chunks/{config-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  740. /package/dist/chunks/{config-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  741. /package/dist/chunks/{config-j935v87r.js → command-j935v87r.js} +0 -0
  742. /package/dist/chunks/{config-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  743. /package/dist/chunks/{config-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  744. /package/dist/chunks/{config-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  745. /package/dist/chunks/{config-mntxs535.js → command-mntxs535.js} +0 -0
  746. /package/dist/chunks/{config-mp448xyj.js → command-mp448xyj.js} +0 -0
  747. /package/dist/chunks/{config-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  748. /package/dist/chunks/{config-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  749. /package/dist/chunks/{config-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  750. /package/dist/chunks/{config-njntx4h6.js → command-njntx4h6.js} +0 -0
  751. /package/dist/chunks/{config-p8qxwesx.js → command-p8qxwesx.js} +0 -0
  752. /package/dist/chunks/{config-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  753. /package/dist/chunks/{config-q74kybfr.js → command-q74kybfr.js} +0 -0
  754. /package/dist/chunks/{config-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  755. /package/dist/chunks/{config-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  756. /package/dist/chunks/{config-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  757. /package/dist/chunks/{config-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  758. /package/dist/chunks/{config-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  759. /package/dist/chunks/{config-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  760. /package/dist/chunks/{config-se0s1eqw.js → command-se0s1eqw.js} +0 -0
  761. /package/dist/chunks/{config-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
  762. /package/dist/chunks/{config-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  763. /package/dist/chunks/{config-twg0f83k.js → command-twg0f83k.js} +0 -0
  764. /package/dist/chunks/{config-w803qqfp.js → command-w803qqfp.js} +0 -0
  765. /package/dist/chunks/{config-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  766. /package/dist/chunks/{config-wtztk69x.js → command-wtztk69x.js} +0 -0
  767. /package/dist/chunks/{config-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  768. /package/dist/chunks/{config-x1b8g1yb.js → command-x1b8g1yb.js} +0 -0
  769. /package/dist/chunks/{config-x61499pn.js → command-x61499pn.js} +0 -0
  770. /package/dist/chunks/{config-y44na4kk.js → command-y44na4kk.js} +0 -0
  771. /package/dist/chunks/{config-y8cydn3q.js → command-y8cydn3q.js} +0 -0
  772. /package/dist/chunks/{config-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  773. /package/dist/chunks/{config-z9919s4g.js → command-z9919s4g.js} +0 -0
  774. /package/dist/chunks/{config-zbjnn3ac.js → command-zbjnn3ac.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./config-d5zz5mmx.js";
4
+ } from "./command-z7f3thhk.js";
5
5
  import {
6
6
  create3
7
- } from "./config-kg06axw8.js";
7
+ } from "./command-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./config-9rqn6x4v.js";
10
+ } from "./command-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command4 = {};
14
14
  __export(exports_command4, {
15
15
  Command: () => exports_command4,
16
- Event: () => Event10,
16
+ Event: () => Event11,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info9,
19
- NotFoundError: () => NotFoundError5,
20
- Service: () => Service48,
21
- layer: () => layer21,
22
- node: () => node52
18
+ Info: () => Info13,
19
+ NotFoundError: () => NotFoundError8,
20
+ Service: () => Service63,
21
+ layer: () => layer20,
22
+ node: () => node68
23
23
  });
24
24
  import { Command } from "@opencode-ai/schema/command";
25
25
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event10 } from "@opencode-ai/schema/command";
28
- var Info9 = Command.Info;
27
+ import { Event as Event11 } from "@opencode-ai/schema/command";
28
+ var Info13 = Command.Info;
29
29
 
30
- class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError8 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service48 extends Context.Service()("@opencode/Command") {
42
+ class Service63 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer21 = Layer.effect(Service48, Effect.gen(function* () {
44
+ var layer20 = Layer.effect(Service63, Effect.gen(function* () {
45
45
  const bus = yield* Service79;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer21 = Layer.effect(Service48, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info9.make({
54
+ const info = (definition) => Info13.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service48.of({
58
+ return Service63.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer21 = Layer.effect(Service48, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError8({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node52 = makeLocationNode({
75
- service: Service48,
76
- layer: layer21,
74
+ var node68 = makeLocationNode({
75
+ service: Service63,
76
+ layer: layer20,
77
77
  deps: [node84]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info9, NotFoundError5, ExecutionError2, Service48, layer21, node52, exports_command4, Event10 };
89
+ export { Info13, NotFoundError8, ExecutionError2, Service63, layer20, node68, exports_command4, Event11 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/session/usage.ts
6
6
  var exports_usage = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./config-d5zz5mmx.js";
4
+ } from "./command-z7f3thhk.js";
5
5
  import {
6
6
  Service71,
7
7
  node76
8
- } from "./config-6m53fthq.js";
8
+ } from "./command-7th8yg4v.js";
9
9
  import {
10
10
  create3
11
- } from "./config-kg06axw8.js";
11
+ } from "./command-kg06axw8.js";
12
12
  import {
13
13
  __export
14
- } from "./config-9rqn6x4v.js";
14
+ } from "./command-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event7,
21
- ID: () => ID4,
20
+ Event: () => Event4,
21
+ ID: () => ID3,
22
22
  Input: () => Input13,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
@@ -28,27 +28,27 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service24,
31
+ Service: () => Service16,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node28
33
+ node: () => node20
34
34
  });
35
35
  import { WebSearch } from "@opencode-ai/schema/websearch";
36
36
  import { Context, Effect, Layer, Option, Schema } from "effect";
37
37
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
38
- import { Event as Event7 } from "@opencode-ai/schema/websearch";
39
- var ID4 = WebSearch.ID;
38
+ import { Event as Event4 } from "@opencode-ai/schema/websearch";
39
+ var ID3 = WebSearch.ID;
40
40
  var Provider2 = WebSearch.Provider;
41
41
  var Input13 = WebSearch.Input;
42
42
  var Result2 = WebSearch.Result;
43
43
  var Response2 = WebSearch.Response;
44
44
  var ProviderKey2 = "websearch:provider";
45
- var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
45
+ var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
46
46
 
47
47
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
48
48
  }
49
49
 
50
50
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
51
- providerID: ID4
51
+ providerID: ID3
52
52
  }) {
53
53
  }
54
54
 
@@ -56,14 +56,14 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
56
56
  }
57
57
 
58
58
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
59
- providerID: ID4,
59
+ providerID: ID3,
60
60
  cause: Schema.Defect()
61
61
  }) {
62
62
  }
63
63
 
64
- class Service24 extends Context.Service()("@opencode/WebSearch") {
64
+ class Service16 extends Context.Service()("@opencode/WebSearch") {
65
65
  }
66
- var layer = Layer.effect(Service24, Effect.gen(function* () {
66
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
67
67
  const bus = yield* Service79;
68
68
  const kv = yield* Service71;
69
69
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
106
106
  return yield* new ProviderRequiredError2;
107
107
  return provider;
108
108
  });
109
- return Service24.of({
109
+ return Service16.of({
110
110
  transform: state.transform,
111
111
  reload: state.reload,
112
112
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -129,10 +129,10 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
129
129
  })
130
130
  });
131
131
  }));
132
- var node28 = makeLocationNode({
133
- service: Service24,
132
+ var node20 = makeLocationNode({
133
+ service: Service16,
134
134
  layer,
135
135
  deps: [node84, node76]
136
136
  });
137
137
 
138
- export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service24, node28, exports_websearch3, Event7 };
138
+ export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service16, node20, exports_websearch3, Event4 };
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./config-d5zz5mmx.js";
4
+ } from "./command-z7f3thhk.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./config-2dhdzgjt.js";
6
+ Service67,
7
+ node72
8
+ } from "./command-myw4ak0a.js";
9
9
  import {
10
- Service63,
11
- node67
12
- } from "./config-wh79xy5p.js";
10
+ Service59,
11
+ node63
12
+ } from "./command-2j46d33k.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./config-gd4qta3r.js";
15
+ } from "./command-gd4qta3r.js";
16
16
  import {
17
- Service61,
17
+ Service62,
18
18
  args2,
19
- node65
20
- } from "./config-8vngan4t.js";
19
+ node67
20
+ } from "./command-80gwsprg.js";
21
21
  import {
22
- Service74,
23
- node79
24
- } from "./config-t00n1yfv.js";
22
+ Service61,
23
+ node66
24
+ } from "./command-aj9kw0tw.js";
25
25
  import {
26
- Service60,
27
- node64
28
- } from "./config-mckf4h7b.js";
26
+ Service57,
27
+ node61
28
+ } from "./command-24hkfxm1.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./config-yv1mnqgn.js";
31
+ } from "./command-xxz5bf5t.js";
32
32
  import {
33
33
  latest2,
34
34
  Service65,
35
35
  node70
36
- } from "./config-y8b7bht2.js";
36
+ } from "./command-9drvvwc8.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./config-1rrv44nx.js";
40
+ } from "./command-fn1bgv7k.js";
41
41
  import {
42
42
  __export
43
- } from "./config-9rqn6x4v.js";
43
+ } from "./command-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError9,
49
+ NotFoundError: () => NotFoundError7,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service59,
51
+ Service: () => Service56,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node63
54
+ node: () => node60
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode-ai/util/process";
62
62
  import { makeGlobalNode, makeLocationNode } from "@opencode-ai/util/effect/app-node";
63
63
  import { FSUtil } from "@opencode-ai/util/fs-util";
64
64
  import { Global } from "@opencode-ai/util/global";
65
- class NotFoundError9 extends Schema.TaggedError()("Shell.NotFoundError", {
65
+ class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
66
66
  id: Shell.ID
67
67
  }) {
68
68
  }
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service59 extends Context.Service()("@opencode/Shell") {
73
+ class Service56 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,14 +86,14 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service59, Effect.gen(function* () {
89
+ var layer = () => Layer.effect(Service56, Effect.gen(function* () {
90
90
  const bus = yield* Service79;
91
- const location = yield* Service76;
91
+ const location = yield* Service67;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service61;
94
- const environment = yield* Service63;
95
- const hooks = yield* Service74;
96
- const environments = yield* Service60;
93
+ const shell = yield* Service62;
94
+ const environment = yield* Service59;
95
+ const hooks = yield* Service61;
96
+ const environments = yield* Service57;
97
97
  const config = yield* Service65;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service59, Effect.gen(function* () {
115
115
  const require2 = Effect.fnUntraced(function* (id) {
116
116
  const command = commands.get(id);
117
117
  if (!command)
118
- return yield* new NotFoundError9({ id });
118
+ return yield* new NotFoundError7({ id });
119
119
  return command;
120
120
  });
121
121
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service59, Effect.gen(function* () {
128
128
  commands.delete(id);
129
129
  if (command.timeoutFiber)
130
130
  yield* Fiber.interrupt(command.timeoutFiber);
131
- yield* Deferred.fail(command.done, new NotFoundError9({ id }));
131
+ yield* Deferred.fail(command.done, new NotFoundError7({ id }));
132
132
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
133
133
  yield* bus.publish(Shell.Event.Deleted, { id });
134
134
  });
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service59, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service59.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service56.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node63 = makeLocationNode({
320
- service: Service59,
319
+ var node60 = makeLocationNode({
320
+ service: Service56,
321
321
  layer: layer(),
322
322
  deps: [
323
323
  node84,
324
- node81,
324
+ node72,
325
325
  Global.node,
326
- node65,
327
326
  node67,
328
- node79,
329
- node64,
327
+ node63,
328
+ node66,
329
+ node61,
330
330
  node70,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError9, RETENTION2, DIRECTORY2, Service59, cleanup2, node63, exports_shell4 };
335
+ export { NotFoundError7, RETENTION2, DIRECTORY2, Service56, cleanup2, node60, exports_shell4 };
@@ -1,73 +1,73 @@
1
1
  import {
2
- Service63
3
- } from "./config-wh79xy5p.js";
2
+ Service59
3
+ } from "./command-2j46d33k.js";
4
4
  import {
5
- Service16,
5
+ Service23,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./config-mpftn8ge.js";
8
+ } from "./command-btt262ey.js";
9
9
  import {
10
10
  Service14
11
- } from "./config-6ssjdv0f.js";
11
+ } from "./command-js78q0ey.js";
12
12
  import {
13
13
  externalDirectoryPermission2,
14
- Service69
15
- } from "./config-yb908mkd.js";
14
+ Service13
15
+ } from "./command-8d12smfc.js";
16
16
  import {
17
- Service50
18
- } from "./config-dpgq5tn5.js";
17
+ Service51
18
+ } from "./command-xj845f8f.js";
19
19
  import {
20
20
  fileDiff2
21
- } from "./config-6prwharc.js";
21
+ } from "./command-6prwharc.js";
22
22
  import {
23
23
  __export
24
- } from "./config-9rqn6x4v.js";
24
+ } from "./command-9rqn6x4v.js";
25
25
 
26
26
  // src/tool/plugin/write.ts
27
27
  var exports_write = {};
28
28
  __export(exports_write, {
29
- Input: () => Input4,
30
- Output: () => Output4,
31
- Plugin: () => Plugin35,
29
+ Input: () => Input12,
30
+ Output: () => Output8,
31
+ Plugin: () => Plugin31,
32
32
  WriteTool: () => exports_write,
33
- name: () => name4,
34
- toModelContent: () => toModelContent3
33
+ name: () => name12,
34
+ toModelContent: () => toModelContent6
35
35
  });
36
36
  import { ToolFailure } from "@opencode-ai/ai";
37
37
  import { Effect, Schema } from "effect";
38
38
  import { Bom } from "@opencode-ai/util/bom";
39
- var name4 = "write";
40
- var Input4 = Schema.Struct({
39
+ var name12 = "write";
40
+ var Input12 = Schema.Struct({
41
41
  path: Schema.String.annotate({
42
42
  description: "Path to the file to write to"
43
43
  }),
44
44
  content: Schema.String.annotate({ description: "Content to write to the file" })
45
45
  });
46
- var Output4 = Schema.Struct({
46
+ var Output8 = Schema.Struct({
47
47
  operation: Schema.Literal("write"),
48
48
  target: Schema.String,
49
49
  resource: Schema.String,
50
50
  existed: Schema.Boolean
51
51
  });
52
- var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
53
- var Plugin35 = {
52
+ var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
53
+ var Plugin31 = {
54
54
  id: "opencode.tool.write",
55
55
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
56
- const mutation = yield* Service69;
57
- const fileMutation = yield* Service16;
58
- const environment = yield* Service63;
56
+ const mutation = yield* Service13;
57
+ const fileMutation = yield* Service23;
58
+ const environment = yield* Service59;
59
59
  const formatter = yield* Service14;
60
- const permission = yield* Service50;
60
+ const permission = yield* Service51;
61
61
  yield* ctx.tool.transform((editor) => editor.add({
62
- name: name4,
62
+ name: name12,
63
63
  options: { codemode: false, permission: "edit" },
64
64
  description: `Writes a file to the local filesystem, overwriting if one exists.
65
65
 
66
66
  Missing parent directories are created automatically.
67
67
 
68
68
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
69
- input: Input4,
70
- output: Output4,
69
+ input: Input12,
70
+ output: Output8,
71
71
  execute: (input, context) => Effect.gen(function* () {
72
72
  const source = {
73
73
  type: "tool",
@@ -101,9 +101,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
101
101
  yield* syncTextBom2(environment.files, target.absolute, bom);
102
102
  }
103
103
  return result;
104
- }).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
104
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
105
105
  })).pipe(Effect.orDie);
106
106
  })
107
107
  };
108
108
 
109
- export { name4, Input4, Output4, toModelContent3, Plugin35, exports_write };
109
+ export { name12, Input12, Output8, toModelContent6, Plugin31, exports_write };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./config-hrjnmr7c.js";
4
+ } from "./command-crmey8mf.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./config-d5zz5mmx.js";
8
+ } from "./command-z7f3thhk.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./config-pknna89w.js";
11
+ } from "./command-pknna89w.js";
12
12
  import {
13
13
  __export
14
- } from "./config-9rqn6x4v.js";
14
+ } from "./command-9rqn6x4v.js";
15
15
 
16
16
  // src/credential.ts
17
17
  var exports_credential = {};
18
18
  __export(exports_credential, {
19
19
  Credential: () => exports_credential,
20
- Event: () => Event18,
20
+ Event: () => Event19,
21
21
  ID: () => ID15,
22
- Info: () => Info28,
22
+ Info: () => Info29,
23
23
  Key: () => Key4,
24
24
  OAuth: () => OAuth3,
25
- Service: () => Service67,
25
+ Service: () => Service77,
26
26
  Value: () => Value2,
27
- node: () => node72
27
+ node: () => node82
28
28
  });
29
29
  import { asc, desc, eq } from "drizzle-orm";
30
30
  import { Context, Effect, Layer, Schema } from "effect";
@@ -35,9 +35,9 @@ var ID15 = Credential.ID;
35
35
  var OAuth3 = Credential.OAuth;
36
36
  var Key4 = Credential.Key;
37
37
  var Value2 = Credential.Value;
38
- var Event18 = Credential.Event;
38
+ var Event19 = Credential.Event;
39
39
 
40
- class Info28 extends Schema.Class("Credential.Info")({
40
+ class Info29 extends Schema.Class("Credential.Info")({
41
41
  id: ID15,
42
42
  integrationID: Integration.ID,
43
43
  label: Schema.String,
@@ -45,16 +45,16 @@ class Info28 extends Schema.Class("Credential.Info")({
45
45
  }) {
46
46
  }
47
47
 
48
- class Service67 extends Context.Service()("@opencode/Credential") {
48
+ class Service77 extends Context.Service()("@opencode/Credential") {
49
49
  }
50
- var layer = Layer.effect(Service67, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
51
51
  const db = (yield* Service80).db;
52
52
  const bus = yield* Service79;
53
53
  const decode = Schema.decodeUnknownSync(Value2);
54
54
  const stored = (row) => {
55
55
  if (!row.integration_id)
56
56
  return;
57
- return new Info28({
57
+ return new Info29({
58
58
  id: row.id,
59
59
  integrationID: row.integration_id,
60
60
  label: row.label,
@@ -65,7 +65,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
65
65
  const credential = stored(row);
66
66
  return credential ? [credential] : [];
67
67
  });
68
- return Service67.of({
68
+ return Service77.of({
69
69
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
70
70
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
71
71
  get: Effect.fn("Credential.get")(function* (id) {
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
73
73
  return row ? stored(row) : undefined;
74
74
  }),
75
75
  create: Effect.fn("Credential.create")(function* (input) {
76
- const credential = new Info28({
76
+ const credential = new Info29({
77
77
  id: ID15.create(),
78
78
  integrationID: input.integrationID,
79
79
  label: input.label ?? "default",
@@ -89,8 +89,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
89
89
  active: true
90
90
  }).run();
91
91
  })).pipe(Effect.orDie);
92
- yield* bus.publish(Event18.Updated, {}, { global: true });
93
- yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
92
+ yield* bus.publish(Event19.Updated, {}, { global: true });
93
+ yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
94
94
  return credential;
95
95
  }),
96
96
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
106
106
  return credential.integration_id;
107
107
  })).pipe(Effect.orDie);
108
108
  if (integrationID)
109
- yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
109
+ yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
110
110
  }),
111
111
  update: Effect.fn("Credential.update")(function* (id, updates) {
112
112
  if (updates.label === undefined && updates.value === undefined)
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
118
118
  return;
119
119
  yield* db.update(CredentialTable2).set({ label: updates.label, value: updates.value }).where(eq(CredentialTable2.id, id)).run().pipe(Effect.orDie);
120
120
  if (updates.label !== undefined && updates.label !== credential.label)
121
- yield* bus.publish(Event18.Updated, {}, { global: true });
121
+ yield* bus.publish(Event19.Updated, {}, { global: true });
122
122
  }),
123
123
  remove: Effect.fn("Credential.remove")(function* (id) {
124
124
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -142,12 +142,12 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
142
142
  })).pipe(Effect.orDie);
143
143
  if (!removed)
144
144
  return;
145
- yield* bus.publish(Event18.Updated, {}, { global: true });
145
+ yield* bus.publish(Event19.Updated, {}, { global: true });
146
146
  if (removed.switched)
147
- yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
147
+ yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
148
148
  })
149
149
  });
150
150
  }));
151
- var node72 = makeGlobalNode({ service: Service67, layer, deps: [node85, node84] });
151
+ var node82 = makeGlobalNode({ service: Service77, layer, deps: [node85, node84] });
152
152
 
153
- export { ID15, OAuth3, Key4, Value2, Event18, Info28, Service67, node72, exports_credential };
153
+ export { ID15, OAuth3, Key4, Value2, Event19, Info29, Service77, node82, exports_credential };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  useragent2
3
- } from "./config-6zjfgkhx.js";
3
+ } from "./command-sjpb2e72.js";
4
4
  import {
5
- ID16
6
- } from "./config-rvb2zp0m.js";
5
+ ID17
6
+ } from "./command-64z8z5x5.js";
7
7
 
8
8
  // src/plugin/provider/gitlab.ts
9
9
  import os from "os";
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
33
33
  });
34
34
  }));
35
35
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
36
- if (evt.model.providerID !== ID16.gitlab)
36
+ if (evt.model.providerID !== ID17.gitlab)
37
37
  return;
38
38
  const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
39
39
  const id = evt.model.modelID ?? evt.model.id;