@opencode/core 0.0.0-dev-275 → 0.0.0-dev-286

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 (841) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +91 -91
  3. package/dist/aisdk-native.js +101 -101
  4. package/dist/aisdk.js +107 -107
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +83 -83
  7. package/dist/chunks/{bus-034tev2y.js → worktree-034tev2y.js} +2 -2
  8. package/dist/chunks/{bus-8nxx61kp.js → worktree-07fp8s5y.js} +30 -30
  9. package/dist/chunks/{bus-z28kzp3s.js → worktree-09fe5ez7.js} +9 -9
  10. package/dist/chunks/{bus-gxb4nygb.js → worktree-0b2ad458.js} +12 -12
  11. package/dist/chunks/{bus-1tcwzehe.js → worktree-0b8vrwjw.js} +37 -37
  12. package/dist/chunks/{bus-9ew7ajy0.js → worktree-0ex9mpwx.js} +92 -92
  13. package/dist/chunks/{bus-wr3re1en.js → worktree-0h8y3ex8.js} +4 -4
  14. package/dist/chunks/{bus-mpza5t97.js → worktree-0q1r2kjj.js} +23 -23
  15. package/dist/chunks/{bus-kz8v4jkb.js → worktree-0v2kj0w9.js} +19 -19
  16. package/dist/chunks/{bus-sxdhpgmr.js → worktree-0yrht1zy.js} +30 -30
  17. package/dist/chunks/{bus-ddvn7d3w.js → worktree-160yv0cs.js} +8 -8
  18. package/dist/chunks/{bus-rjnacbrz.js → worktree-18g90bpv.js} +9 -9
  19. package/dist/chunks/{bus-1aqsckx4.js → worktree-1aqsckx4.js} +1 -1
  20. package/dist/chunks/{bus-1ep2p91f.js → worktree-1ep2p91f.js} +2 -2
  21. package/dist/chunks/{bus-9smg2fxp.js → worktree-1ktbs3mv.js} +82 -82
  22. package/dist/chunks/{bus-d1k7zqa6.js → worktree-1wvf0ff0.js} +9 -9
  23. package/dist/chunks/{bus-1x2knyw4.js → worktree-1x2knyw4.js} +1 -1
  24. package/dist/chunks/{bus-ha5ntr8a.js → worktree-1y6cskgh.js} +41 -41
  25. package/dist/chunks/{bus-d2zq2nk9.js → worktree-1yhff8da.js} +14 -14
  26. package/dist/chunks/{bus-1yq9hg58.js → worktree-1yq9hg58.js} +1 -1
  27. package/dist/chunks/{bus-204s3925.js → worktree-204s3925.js} +1 -1
  28. package/dist/chunks/{bus-x7xp1w7g.js → worktree-211v3ywx.js} +30 -30
  29. package/dist/chunks/{bus-8b3vzgkx.js → worktree-25h84942.js} +4 -4
  30. package/dist/chunks/{bus-dxzy608a.js → worktree-2a9pjh68.js} +6 -6
  31. package/dist/chunks/{bus-928v60yv.js → worktree-2db5r0en.js} +5 -5
  32. package/dist/chunks/{bus-x271axaw.js → worktree-2f5kzt4v.js} +7 -7
  33. package/dist/chunks/{bus-knh1jnvy.js → worktree-2j819t2x.js} +23 -23
  34. package/dist/chunks/{bus-q0ye6e4s.js → worktree-2japvek7.js} +2 -2
  35. package/dist/chunks/{bus-ryyta8gj.js → worktree-2mh92g0w.js} +11 -11
  36. package/dist/chunks/{bus-wxtbyv82.js → worktree-2mnk3cpz.js} +4 -4
  37. package/dist/chunks/{bus-2ytpdq6b.js → worktree-2rar789x.js} +11 -11
  38. package/dist/chunks/{bus-3s914nqp.js → worktree-2sctd9r8.js} +17 -17
  39. package/dist/chunks/{bus-pdw1qznx.js → worktree-2xfesqhp.js} +35 -25
  40. package/dist/chunks/{bus-mqe7nf5n.js → worktree-2zp5a6yg.js} +3 -3
  41. package/dist/chunks/{bus-482s3mas.js → worktree-33e1kph9.js} +17 -17
  42. package/dist/chunks/{bus-d9mxzqst.js → worktree-33e37e6x.js} +17 -17
  43. package/dist/chunks/{bus-z6wb4d7c.js → worktree-360wd41x.js} +29 -29
  44. package/dist/chunks/{bus-226jktjv.js → worktree-3776k8q5.js} +11 -11
  45. package/dist/chunks/{bus-21g5995g.js → worktree-37kqz87b.js} +3 -3
  46. package/dist/chunks/{bus-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{bus-x6vg8sze.js → worktree-3m85peyv.js} +37 -37
  48. package/dist/chunks/{bus-v0dqmjgm.js → worktree-3ndyf3yw.js} +43 -43
  49. package/dist/chunks/{bus-3nnrz6f6.js → worktree-3nnrz6f6.js} +1 -1
  50. package/dist/chunks/{bus-1wk7sp0m.js → worktree-3wq0w81j.js} +23 -23
  51. package/dist/chunks/{bus-p6bk0asb.js → worktree-45dn5ykg.js} +21 -21
  52. package/dist/chunks/{bus-r8d5ttcp.js → worktree-45hyrqvj.js} +8 -8
  53. package/dist/chunks/{bus-yn7vgazy.js → worktree-4bzxpxbh.js} +5 -5
  54. package/dist/chunks/{bus-4dx1dgte.js → worktree-4dx1dgte.js} +1 -1
  55. package/dist/chunks/{bus-d4tdxwg3.js → worktree-4gwbv0ae.js} +1 -1
  56. package/dist/chunks/{bus-69hetzez.js → worktree-4m8q87vh.js} +12 -12
  57. package/dist/chunks/{bus-ghcecwt0.js → worktree-4pn94wwk.js} +46 -46
  58. package/dist/chunks/{bus-3v50s0nm.js → worktree-4pw98qd4.js} +4 -4
  59. package/dist/chunks/{bus-4pyp9zr9.js → worktree-4pyp9zr9.js} +1 -1
  60. package/dist/chunks/{bus-zqs4wz9p.js → worktree-4pzvwjr2.js} +4 -4
  61. package/dist/chunks/{bus-4v008n1t.js → worktree-4v008n1t.js} +1 -1
  62. package/dist/chunks/{bus-5rfzbttg.js → worktree-532k8p5d.js} +5 -5
  63. package/dist/chunks/{bus-rwcj15n0.js → worktree-5knxw5zw.js} +346 -346
  64. package/dist/chunks/{bus-5m9w47nd.js → worktree-5m9w47nd.js} +1 -1
  65. package/dist/chunks/{bus-y6ycwz8c.js → worktree-5w6mnkbc.js} +11 -11
  66. package/dist/chunks/{bus-0ebq21h6.js → worktree-5w72mvse.js} +5 -5
  67. package/dist/chunks/{bus-sqrwb7ek.js → worktree-650ewqdt.js} +3 -3
  68. package/dist/chunks/{bus-2y8abx4q.js → worktree-666ta36x.js} +13 -13
  69. package/dist/chunks/{bus-6esdw8yj.js → worktree-6esdw8yj.js} +1 -1
  70. package/dist/chunks/{bus-jywsdv1w.js → worktree-6h85yzk8.js} +3 -3
  71. package/dist/chunks/{bus-8hq15dve.js → worktree-6nyhrb0p.js} +35 -35
  72. package/dist/chunks/{bus-vhazrdaa.js → worktree-6sayp01d.js} +14 -14
  73. package/dist/chunks/{bus-y4c93yhq.js → worktree-6xk3x19f.js} +81 -81
  74. package/dist/chunks/{bus-ncr9krzg.js → worktree-71ygcs51.js} +19 -19
  75. package/dist/chunks/{bus-76cb1hcw.js → worktree-76cb1hcw.js} +1 -1
  76. package/dist/chunks/{bus-qspstntz.js → worktree-7a1k840q.js} +19 -19
  77. package/dist/chunks/{bus-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{bus-62qx2g0z.js → worktree-7c9g9s0q.js} +13 -13
  79. package/dist/chunks/{bus-7248j9gj.js → worktree-7dtjcr74.js} +18 -18
  80. package/dist/chunks/{bus-m5vcha6x.js → worktree-7dvsg837.js} +12 -12
  81. package/dist/chunks/{bus-2dsx8k42.js → worktree-7dwprhna.js} +43 -43
  82. package/dist/chunks/{bus-hxch9gky.js → worktree-7fz6tcfs.js} +19 -19
  83. package/dist/chunks/{bus-c078hgae.js → worktree-7kr66rt3.js} +147 -39
  84. package/dist/chunks/{bus-6g7dge60.js → worktree-7n4tbjx2.js} +20 -20
  85. package/dist/chunks/{bus-0pnx2fzg.js → worktree-7q0y7xkk.js} +12 -12
  86. package/dist/chunks/{bus-e5kybrsq.js → worktree-7w11hwx0.js} +21 -21
  87. package/dist/chunks/{bus-7w2ypzdf.js → worktree-7w2ypzdf.js} +1 -1
  88. package/dist/chunks/{bus-qbj75hz3.js → worktree-80kgc7k1.js} +37 -37
  89. package/dist/chunks/{bus-3nnrc6vy.js → worktree-81db11mx.js} +15 -15
  90. package/dist/chunks/{bus-2kqka8y6.js → worktree-82h3a1kw.js} +20 -20
  91. package/dist/chunks/{bus-jwckxkn1.js → worktree-860029p8.js} +11 -11
  92. package/dist/chunks/{bus-gs1x404j.js → worktree-8d99dfzw.js} +16 -16
  93. package/dist/chunks/{bus-w36nberk.js → worktree-8jne4ghb.js} +20 -20
  94. package/dist/chunks/{bus-degxk2tg.js → worktree-8nt2cb5r.js} +19 -19
  95. package/dist/chunks/{bus-8wtp7s3z.js → worktree-8wtp7s3z.js} +1 -1
  96. package/dist/chunks/{bus-jqqh3nrt.js → worktree-8yazd8jn.js} +32 -32
  97. package/dist/chunks/{bus-90zstvax.js → worktree-90zstvax.js} +1 -1
  98. package/dist/chunks/{bus-rk7zzszn.js → worktree-923ftqyh.js} +8 -8
  99. package/dist/chunks/{bus-95sp4hdf.js → worktree-95sp4hdf.js} +1 -1
  100. package/dist/chunks/{bus-28d1e7vq.js → worktree-97jk9fzp.js} +50 -50
  101. package/dist/chunks/{bus-1hm6kjpw.js → worktree-97p996b3.js} +11 -11
  102. package/dist/chunks/{bus-2we0z9ck.js → worktree-9gmxhkaz.js} +18 -18
  103. package/dist/chunks/{bus-zvv2gg2z.js → worktree-9k2mwdeg.js} +6 -6
  104. package/dist/chunks/{bus-tg1716pc.js → worktree-9t20sdzg.js} +6 -6
  105. package/dist/chunks/{bus-kc03nrdn.js → worktree-9t9nbwt3.js} +40 -40
  106. package/dist/chunks/{bus-f0vtm8p6.js → worktree-9yke2vdy.js} +15 -15
  107. package/dist/chunks/{bus-z6e3jbzz.js → worktree-abbaypxx.js} +22 -22
  108. package/dist/chunks/{bus-meq8xbkf.js → worktree-ag4vvxdv.js} +2 -2
  109. package/dist/chunks/{bus-98w60ksq.js → worktree-ava6h5x1.js} +3 -3
  110. package/dist/chunks/{bus-ayjs7tqn.js → worktree-ayjs7tqn.js} +2 -2
  111. package/dist/chunks/{bus-j4rzh0zg.js → worktree-b3mzhchz.js} +33 -33
  112. package/dist/chunks/{bus-b6vsg801.js → worktree-b6vsg801.js} +2 -2
  113. package/dist/chunks/{bus-vsq2sm2q.js → worktree-b7wjnj3v.js} +23 -23
  114. package/dist/chunks/{bus-jydzs9jd.js → worktree-b85szd7h.js} +11 -11
  115. package/dist/chunks/{bus-5e5199mn.js → worktree-b9bzekrm.js} +23 -23
  116. package/dist/chunks/{bus-arth2bzp.js → worktree-bda28c86.js} +21 -21
  117. package/dist/chunks/{bus-31wms35x.js → worktree-bgg6fpfq.js} +8 -8
  118. package/dist/chunks/{bus-41saj7d3.js → worktree-bq56hyj9.js} +5 -5
  119. package/dist/chunks/{bus-xd9cc171.js → worktree-bstexjd6.js} +5 -5
  120. package/dist/chunks/{bus-682dpnwj.js → worktree-c1nvaaxv.js} +256 -35
  121. package/dist/chunks/{bus-4gpw4gsw.js → worktree-c1sj1bpn.js} +3 -3
  122. package/dist/chunks/{bus-rcds6jmy.js → worktree-c325tjb6.js} +14 -14
  123. package/dist/chunks/{bus-85zye1zb.js → worktree-c9n14t9e.js} +9 -9
  124. package/dist/chunks/{bus-q17cwwmb.js → worktree-cb1dvkmt.js} +16 -16
  125. package/dist/chunks/{bus-a4ww6fpm.js → worktree-cbcbsb56.js} +6 -6
  126. package/dist/chunks/{bus-dtfn9c89.js → worktree-cgqrqfdd.js} +12 -12
  127. package/dist/chunks/{bus-86p3vx58.js → worktree-chfqv0dp.js} +6 -6
  128. package/dist/chunks/{bus-f0hs2mq3.js → worktree-chw17fk3.js} +21 -21
  129. package/dist/chunks/{bus-jns4gqy7.js → worktree-cnj75yzs.js} +4 -4
  130. package/dist/chunks/{bus-cwrgdav8.js → worktree-cwrgdav8.js} +2 -2
  131. package/dist/chunks/{bus-q6sa0fx3.js → worktree-d08zvrj3.js} +11 -11
  132. package/dist/chunks/{bus-sqbb0ctm.js → worktree-d1r5081s.js} +5 -5
  133. package/dist/chunks/{bus-8bjrjs1n.js → worktree-d4qb2rc3.js} +4 -4
  134. package/dist/chunks/{bus-d4v9tmah.js → worktree-d4v9tmah.js} +2 -2
  135. package/dist/chunks/{bus-ehtz5q4m.js → worktree-d5k5mzsn.js} +30 -30
  136. package/dist/chunks/{bus-1kn0xbnj.js → worktree-d6cs52tr.js} +24 -24
  137. package/dist/chunks/{bus-9fhmc1w3.js → worktree-df3kbw4d.js} +18 -18
  138. package/dist/chunks/{bus-b5qmte8y.js → worktree-dgjy22zw.js} +12 -12
  139. package/dist/chunks/{bus-ac3vkw7y.js → worktree-djd49kbm.js} +2 -2
  140. package/dist/chunks/{bus-r2s7w9p5.js → worktree-dq4stdtd.js} +4 -4
  141. package/dist/chunks/{bus-dgpxhmaz.js → worktree-dr3d1mr5.js} +23 -23
  142. package/dist/chunks/{bus-dt77769w.js → worktree-dt77769w.js} +1 -1
  143. package/dist/chunks/{bus-2p4qkans.js → worktree-dyk9s1ne.js} +4 -4
  144. package/dist/chunks/{bus-5e791j03.js → worktree-e1s0q7va.js} +5 -5
  145. package/dist/chunks/{bus-3979474a.js → worktree-e239qjg7.js} +9 -9
  146. package/dist/chunks/{bus-jjescw8y.js → worktree-e324kbrg.js} +8 -8
  147. package/dist/chunks/{bus-e834z07m.js → worktree-e834z07m.js} +1 -1
  148. package/dist/chunks/{bus-83gc5kcm.js → worktree-ec3b2sgd.js} +8 -8
  149. package/dist/chunks/{bus-g8vb0hj0.js → worktree-erny1hp5.js} +29 -29
  150. package/dist/chunks/{bus-7xy5j6y0.js → worktree-excj9cfq.js} +35 -35
  151. package/dist/chunks/{bus-dpyfckyt.js → worktree-eyq3zjg1.js} +1 -1
  152. package/dist/chunks/{bus-8vbscmtw.js → worktree-ezgss49s.js} +28 -28
  153. package/dist/chunks/{bus-s4vgxntc.js → worktree-f7n1ssex.js} +9 -9
  154. package/dist/chunks/worktree-f8ma18fn.js +18 -0
  155. package/dist/chunks/{bus-ef6dy9g0.js → worktree-f9201ej8.js} +27 -27
  156. package/dist/chunks/{bus-fffv3p7h.js → worktree-fffv3p7h.js} +1 -1
  157. package/dist/chunks/{bus-fg9p65nk.js → worktree-fg9p65nk.js} +2 -2
  158. package/dist/chunks/{bus-05t31zmj.js → worktree-fkc1f79k.js} +44 -44
  159. package/dist/chunks/{bus-pexrpc5k.js → worktree-fmvebq1c.js} +6 -6
  160. package/dist/chunks/{bus-1kba74ng.js → worktree-g0zebgfm.js} +23 -23
  161. package/dist/chunks/{bus-gcye4jv7.js → worktree-gcye4jv7.js} +4 -4
  162. package/dist/chunks/{bus-s8sx6y1x.js → worktree-gf7njwar.js} +21 -21
  163. package/dist/chunks/{bus-00j11h94.js → worktree-gfhpa9gk.js} +49 -49
  164. package/dist/chunks/{bus-qwhg5edk.js → worktree-gg4yr8n1.js} +21 -21
  165. package/dist/chunks/{bus-js92w05q.js → worktree-gnm090bx.js} +11 -11
  166. package/dist/chunks/{bus-4a32f4de.js → worktree-gvnfypps.js} +16 -16
  167. package/dist/chunks/{bus-6ws2vnt1.js → worktree-h4yv4fhz.js} +190 -190
  168. package/dist/chunks/{bus-n76e6m8b.js → worktree-hc4wny2n.js} +11 -11
  169. package/dist/chunks/{bus-tt3yxz2r.js → worktree-hf8dhk55.js} +8 -8
  170. package/dist/chunks/{bus-hgfegmhz.js → worktree-hgfegmhz.js} +3 -3
  171. package/dist/chunks/{bus-hh7kjqtw.js → worktree-hh7kjqtw.js} +1 -1
  172. package/dist/chunks/{bus-ehhwdvk1.js → worktree-hk7hszd6.js} +22 -22
  173. package/dist/chunks/{bus-p2rrmpys.js → worktree-hndjt1e9.js} +14 -14
  174. package/dist/chunks/{bus-09a1qcfh.js → worktree-hp6wkjcv.js} +32 -32
  175. package/dist/chunks/{bus-hpg1pkwy.js → worktree-hpg1pkwy.js} +1 -1
  176. package/dist/chunks/{bus-8tmhq2sq.js → worktree-hyns4byn.js} +28 -28
  177. package/dist/chunks/{bus-dbmp929s.js → worktree-ja63h2sr.js} +5 -5
  178. package/dist/chunks/{bus-j9mte5pw.js → worktree-jedcwhf5.js} +27 -27
  179. package/dist/chunks/{bus-jfaecv01.js → worktree-jfaecv01.js} +1 -1
  180. package/dist/chunks/{bus-vhjra7pn.js → worktree-jpnvh877.js} +10 -10
  181. package/dist/chunks/{bus-c8zchzzf.js → worktree-jr92mdzz.js} +11 -11
  182. package/dist/chunks/{bus-jtnps1zs.js → worktree-jtnps1zs.js} +2 -2
  183. package/dist/chunks/{bus-mh65p8pj.js → worktree-jxvtabbt.js} +25 -25
  184. package/dist/chunks/{bus-chhg004d.js → worktree-k0jpvv7x.js} +22 -22
  185. package/dist/chunks/{bus-t3dqt28d.js → worktree-k1xjwggj.js} +13 -13
  186. package/dist/chunks/{bus-p59qfrvx.js → worktree-k536nnb8.js} +3 -3
  187. package/dist/chunks/{bus-k814nvkf.js → worktree-k814nvkf.js} +1 -1
  188. package/dist/chunks/{bus-kcg78dnn.js → worktree-kcg78dnn.js} +2 -2
  189. package/dist/chunks/{bus-3sn4w2fq.js → worktree-kfkfrd1x.js} +13 -13
  190. package/dist/chunks/{bus-7gn3gxx1.js → worktree-kgh589a5.js} +14 -14
  191. package/dist/chunks/{bus-kt3bjfbg.js → worktree-kt3bjfbg.js} +1 -1
  192. package/dist/chunks/{bus-m1714858.js → worktree-m1714858.js} +1 -1
  193. package/dist/chunks/{bus-k6fx5fwj.js → worktree-m7fyhed3.js} +21 -21
  194. package/dist/chunks/{bus-qy40w2mn.js → worktree-m7zsfgfm.js} +23 -23
  195. package/dist/chunks/{bus-w52wajpr.js → worktree-m89858wj.js} +3 -3
  196. package/dist/chunks/{bus-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  197. package/dist/chunks/{bus-mb7mbhnz.js → worktree-mb7mbhnz.js} +3 -3
  198. package/dist/chunks/{bus-fybtq79z.js → worktree-mf3y8h86.js} +58 -58
  199. package/dist/chunks/{bus-cm8n6e1j.js → worktree-mj3htrn7.js} +17 -17
  200. package/dist/chunks/{bus-nvgj5k0n.js → worktree-mnsxfp09.js} +12 -12
  201. package/dist/chunks/{bus-qbc6w44s.js → worktree-mqcm7x31.js} +22 -22
  202. package/dist/chunks/{bus-hpejq3g9.js → worktree-n6jcsk88.js} +6 -6
  203. package/dist/chunks/{bus-x686a40m.js → worktree-n6jhfx9n.js} +28 -28
  204. package/dist/chunks/{bus-kh233pt5.js → worktree-n73q7gnv.js} +20 -20
  205. package/dist/chunks/{bus-nah043kf.js → worktree-nah043kf.js} +1 -1
  206. package/dist/chunks/{bus-8ykqf5wm.js → worktree-neary136.js} +8 -8
  207. package/dist/chunks/{bus-1zmzx9ha.js → worktree-nn94syh7.js} +35 -35
  208. package/dist/chunks/{bus-8g0en9rg.js → worktree-nnx8h4m9.js} +10 -10
  209. package/dist/chunks/{bus-7kx48r5w.js → worktree-nxw21s73.js} +20 -20
  210. package/dist/chunks/{bus-p015t6z3.js → worktree-p015t6z3.js} +2 -2
  211. package/dist/chunks/{bus-c0kkxqfe.js → worktree-p65b0w7p.js} +17 -17
  212. package/dist/chunks/{bus-a013n6rr.js → worktree-pgkwnhrk.js} +32 -32
  213. package/dist/chunks/{bus-hq4c2e72.js → worktree-pjb3r7bt.js} +11 -11
  214. package/dist/chunks/{bus-pknna89w.js → worktree-pknna89w.js} +1 -1
  215. package/dist/chunks/{bus-q498qw3k.js → worktree-pqv6jrxt.js} +25 -25
  216. package/dist/chunks/{bus-8qxrenr7.js → worktree-q2nqdedq.js} +9 -9
  217. package/dist/chunks/{bus-11hfp36g.js → worktree-qjgzc4b4.js} +4 -4
  218. package/dist/chunks/{bus-2pj77wb6.js → worktree-qk8rxpda.js} +8 -8
  219. package/dist/chunks/{bus-0ma4nchc.js → worktree-qnqasnye.js} +6 -6
  220. package/dist/chunks/{bus-qp7r0hxv.js → worktree-qp7r0hxv.js} +1 -1
  221. package/dist/chunks/{bus-n3x35gjg.js → worktree-qq6sz745.js} +18 -18
  222. package/dist/chunks/{bus-qqpbcr2p.js → worktree-qqpbcr2p.js} +1 -1
  223. package/dist/chunks/{bus-qqvy8y24.js → worktree-qqvy8y24.js} +1 -1
  224. package/dist/chunks/{bus-hmeh93yc.js → worktree-qr9qsn55.js} +32 -32
  225. package/dist/chunks/{bus-pzsa5b6k.js → worktree-qzm6q9ch.js} +6 -6
  226. package/dist/chunks/{bus-r542h3bh.js → worktree-r542h3bh.js} +1 -1
  227. package/dist/chunks/{bus-rb9dy4dg.js → worktree-rb9dy4dg.js} +1 -1
  228. package/dist/chunks/{bus-darnxsvb.js → worktree-rbndg51d.js} +6 -6
  229. package/dist/chunks/{bus-jchjggqf.js → worktree-rg0cxenw.js} +2 -2
  230. package/dist/chunks/{bus-f2xxa684.js → worktree-rj9j3as3.js} +56 -56
  231. package/dist/chunks/{bus-mh93svdp.js → worktree-rjdkgttt.js} +16 -16
  232. package/dist/chunks/{bus-vrxpgxjt.js → worktree-rjtdrb56.js} +10 -10
  233. package/dist/chunks/{bus-r2vthv2q.js → worktree-rp6wgn9y.js} +22 -22
  234. package/dist/chunks/{bus-rt5dr6hb.js → worktree-rt5dr6hb.js} +1 -1
  235. package/dist/chunks/{bus-ec95eyzx.js → worktree-s4d4pvet.js} +4 -4
  236. package/dist/chunks/{bus-agqd6nxz.js → worktree-s7xmnr8t.js} +6 -6
  237. package/dist/chunks/{bus-m2w2s527.js → worktree-s88qfkmz.js} +4 -4
  238. package/dist/chunks/{bus-sa3fpqfw.js → worktree-sa3fpqfw.js} +2 -2
  239. package/dist/chunks/{bus-t8erkws8.js → worktree-scmk72rv.js} +5 -5
  240. package/dist/chunks/{bus-wfz8zxsv.js → worktree-sfmvmqfk.js} +3 -3
  241. package/dist/chunks/{bus-sm5prsna.js → worktree-spf8w817.js} +5 -5
  242. package/dist/chunks/{bus-0j7gp832.js → worktree-sqjzf8x2.js} +4 -4
  243. package/dist/chunks/{bus-wwszdvz7.js → worktree-sqx6yyec.js} +5 -5
  244. package/dist/chunks/{bus-c9t2ty9q.js → worktree-ssfehs1z.js} +4 -4
  245. package/dist/chunks/{bus-svcy3p9a.js → worktree-svcy3p9a.js} +1 -1
  246. package/dist/chunks/{bus-17pe40wz.js → worktree-sy53apyv.js} +30 -30
  247. package/dist/chunks/{bus-rekbjepc.js → worktree-t2cdwvq5.js} +22 -22
  248. package/dist/chunks/{bus-kf78hse3.js → worktree-t4zc915k.js} +17 -17
  249. package/dist/chunks/{bus-1cybwrec.js → worktree-tc90wnbk.js} +48 -48
  250. package/dist/chunks/{bus-tczq8hjw.js → worktree-tczq8hjw.js} +1 -1
  251. package/dist/chunks/{bus-v4mtj4vv.js → worktree-tf0tk0fq.js} +24 -24
  252. package/dist/chunks/{bus-zmg3gahh.js → worktree-thj7mhbr.js} +15 -15
  253. package/dist/chunks/{bus-nrtmfbdc.js → worktree-tm1e699v.js} +9 -9
  254. package/dist/chunks/{bus-bcsckb3t.js → worktree-tmt7mk16.js} +38 -38
  255. package/dist/chunks/{bus-34e1kmth.js → worktree-ts8fcpse.js} +15 -15
  256. package/dist/chunks/{bus-twssxy5n.js → worktree-twssxy5n.js} +2 -2
  257. package/dist/chunks/{bus-q7rm49kv.js → worktree-tx8ht019.js} +9 -9
  258. package/dist/chunks/{bus-s7kyse9r.js → worktree-v0t96s7a.js} +4 -4
  259. package/dist/chunks/{bus-v2r1d0zg.js → worktree-v2r1d0zg.js} +1 -1
  260. package/dist/chunks/{bus-k7fcp7vh.js → worktree-v8vd993n.js} +8 -8
  261. package/dist/chunks/{bus-9f3sjfep.js → worktree-vjmsebym.js} +9 -9
  262. package/dist/chunks/{bus-m37sd98t.js → worktree-vmfhgzt5.js} +4 -4
  263. package/dist/chunks/worktree-vnp0me3e.js +257 -0
  264. package/dist/chunks/{bus-hq8347db.js → worktree-vqqftvvv.js} +13 -13
  265. package/dist/chunks/{bus-w2eysc6j.js → worktree-w2eysc6j.js} +2 -2
  266. package/dist/chunks/{bus-4v8aj50q.js → worktree-w2g8c1h4.js} +40 -40
  267. package/dist/chunks/{bus-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  268. package/dist/chunks/{bus-q6yx0pgq.js → worktree-w59ytyqq.js} +9 -9
  269. package/dist/chunks/{bus-w6v1rynq.js → worktree-w66j29kr.js} +15 -15
  270. package/dist/chunks/{bus-m0qs22fp.js → worktree-w8ps3wcc.js} +17 -17
  271. package/dist/chunks/{bus-vdj2189h.js → worktree-wa49e47f.js} +12 -12
  272. package/dist/chunks/{bus-10tay87v.js → worktree-wacb14vy.js} +12 -12
  273. package/dist/chunks/{bus-wakvkjy4.js → worktree-wakvkjy4.js} +1 -1
  274. package/dist/chunks/{bus-wd87259q.js → worktree-wd87259q.js} +1 -1
  275. package/dist/chunks/{bus-wegkxhrn.js → worktree-wegkxhrn.js} +2 -2
  276. package/dist/chunks/{bus-2992epsb.js → worktree-wh471sqx.js} +5 -5
  277. package/dist/chunks/{bus-7p6s7qrj.js → worktree-wm1vm6w0.js} +11 -11
  278. package/dist/chunks/{bus-wnhgecwx.js → worktree-wnhgecwx.js} +1 -1
  279. package/dist/chunks/{bus-rt4hpzta.js → worktree-wp5xvy6f.js} +33 -33
  280. package/dist/chunks/{bus-vje3bk9q.js → worktree-wyeqency.js} +7 -7
  281. package/dist/chunks/{bus-58ect7fx.js → worktree-x46kzsvj.js} +21 -21
  282. package/dist/chunks/{bus-3fb7g6nx.js → worktree-x5xpvpef.js} +22 -22
  283. package/dist/chunks/{bus-sp4h8jpm.js → worktree-x8mt7ajg.js} +32 -32
  284. package/dist/chunks/{bus-ksw9k14w.js → worktree-xj8tbvnx.js} +43 -43
  285. package/dist/chunks/{bus-xmx7xj34.js → worktree-xmx7xj34.js} +1 -1
  286. package/dist/chunks/{bus-pjptrb5y.js → worktree-xr8j28en.js} +45 -45
  287. package/dist/chunks/{bus-hs9b4b47.js → worktree-xrpfz6f8.js} +9 -9
  288. package/dist/chunks/{bus-1efvewcy.js → worktree-xyg4a4db.js} +5 -5
  289. package/dist/chunks/{bus-r13t3b9j.js → worktree-y7rptanb.js} +8 -8
  290. package/dist/chunks/{bus-yara3q77.js → worktree-yara3q77.js} +2 -2
  291. package/dist/chunks/{bus-yb20nhc3.js → worktree-yb20nhc3.js} +1 -1
  292. package/dist/chunks/{bus-dev678md.js → worktree-yegyxjwk.js} +47 -47
  293. package/dist/chunks/{bus-xj80yh0e.js → worktree-ynq9889m.js} +37 -37
  294. package/dist/chunks/{bus-mnad5nn2.js → worktree-yx3jcsf5.js} +36 -36
  295. package/dist/chunks/{bus-fq9s0kxx.js → worktree-yxcs01xt.js} +24 -24
  296. package/dist/chunks/{bus-wtgvz1w4.js → worktree-z14rfht5.js} +9 -9
  297. package/dist/chunks/{bus-96kzvzq7.js → worktree-z4ex9h9e.js} +11 -11
  298. package/dist/chunks/{bus-mmw6hwzc.js → worktree-zay1k5wv.js} +17 -17
  299. package/dist/chunks/{bus-b6twm7ry.js → worktree-zgntrsrs.js} +11 -11
  300. package/dist/chunks/{bus-fv7v599h.js → worktree-zn3yprmb.js} +13 -13
  301. package/dist/chunks/{bus-d441h1x7.js → worktree-zwrzbpfr.js} +16 -16
  302. package/dist/chunks/{bus-mz45bcy6.js → worktree-zy2d75w1.js} +27 -27
  303. package/dist/codemode/catalog.js +1 -1
  304. package/dist/codemode/instructions.js +7 -7
  305. package/dist/codemode/tool.js +3 -3
  306. package/dist/codemode/web.js +1 -1
  307. package/dist/command.js +91 -91
  308. package/dist/config/discovery.js +94 -94
  309. package/dist/config/integration.js +3 -3
  310. package/dist/config/managed.js +1 -1
  311. package/dist/config/markdown.js +1 -1
  312. package/dist/config/normalize.js +111 -111
  313. package/dist/config/plugin/agent.js +129 -129
  314. package/dist/config/plugin/command.js +226 -226
  315. package/dist/config/plugin/compaction.js +169 -169
  316. package/dist/config/plugin/compatibility.js +149 -149
  317. package/dist/config/plugin/entry-observer.js +1 -1
  318. package/dist/config/plugin/formatter.js +130 -130
  319. package/dist/config/plugin/image.js +129 -129
  320. package/dist/config/plugin/instruction.js +129 -129
  321. package/dist/config/plugin/location-watcher.js +129 -129
  322. package/dist/config/plugin/mcp.js +136 -136
  323. package/dist/config/plugin/policy.js +129 -129
  324. package/dist/config/plugin/provider.js +129 -129
  325. package/dist/config/plugin/reference.js +131 -131
  326. package/dist/config/plugin/shell.js +129 -129
  327. package/dist/config/plugin/skill-file.js +145 -145
  328. package/dist/config/plugin/skill-scan.js +1 -1
  329. package/dist/config/plugin/skill.js +152 -152
  330. package/dist/config/plugin/snapshot.js +129 -129
  331. package/dist/config/plugin/source.js +126 -126
  332. package/dist/config/plugin/tool-output.js +130 -130
  333. package/dist/config/plugin/websearch.js +130 -130
  334. package/dist/config/plugin/worktree.js +131 -131
  335. package/dist/config/variable.js +1 -1
  336. package/dist/config/watch.js +1 -1
  337. package/dist/config.js +130 -130
  338. package/dist/console-access.js +1 -1
  339. package/dist/credential/sql.js +2 -2
  340. package/dist/credential.js +87 -87
  341. package/dist/database/database.js +82 -82
  342. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  343. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  344. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  345. package/dist/database/drizzle/index.js +13 -13
  346. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  347. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  348. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  349. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  350. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  351. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  352. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  353. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  354. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  355. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  356. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  357. package/dist/database/drizzle.js +14 -14
  358. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  359. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  360. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  361. package/dist/database/migration/20260225215848_workspace.js +1 -1
  362. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  363. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  364. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  365. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  366. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  367. package/dist/database/migration/20260323234822_events.js +1 -1
  368. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  369. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  370. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  371. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  372. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  373. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  374. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  375. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  376. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  377. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  378. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  379. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  380. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  381. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  382. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  383. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  384. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  385. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  386. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  387. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  388. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  389. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  390. package/dist/database/migration/20260611035744_credential.js +1 -1
  391. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  392. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  393. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  394. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  395. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  396. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  397. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  398. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  399. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  400. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  401. package/dist/database/migration/20260812213948_worktree.js +1 -1
  402. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  403. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  404. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  405. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  406. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  407. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  408. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  409. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  410. package/dist/database/migration/20261025123711_blob.js +1 -1
  411. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  412. package/dist/database/migration/20261026223005_schedule.js +1 -1
  413. package/dist/database/migration/20261029002625_session_part.js +1 -1
  414. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  415. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  416. package/dist/database/migration.gen.js +59 -59
  417. package/dist/database/migration.js +61 -61
  418. package/dist/database/path.js +2 -2
  419. package/dist/database/schema.gen.js +1 -1
  420. package/dist/database/schema.sql.js +1 -1
  421. package/dist/database/sqlite.bun.js +1 -1
  422. package/dist/database/sqlite.js +1 -1
  423. package/dist/database/sqlite.node.js +1 -1
  424. package/dist/database/sqlite.workerd.js +1 -1
  425. package/dist/database/v1-migration.bun.js +102 -102
  426. package/dist/database/v1-migration.js +1 -1
  427. package/dist/effect/app-node-builder.js +392 -392
  428. package/dist/effect/app-node-platform.js +2 -2
  429. package/dist/effect/keyed-mutex.js +3 -3
  430. package/dist/effect/websocket-constructor.js +1 -1
  431. package/dist/environment/driver.js +1 -1
  432. package/dist/environment/environment.js +105 -105
  433. package/dist/environment/exec-defaults.js +2 -2
  434. package/dist/environment/files.js +1 -1
  435. package/dist/environment/index.js +107 -107
  436. package/dist/environment/local.js +2 -2
  437. package/dist/environment/memory.js +2 -2
  438. package/dist/environment/unavailable.js +3 -3
  439. package/dist/event/sql.js +1 -1
  440. package/dist/event-logger.js +82 -82
  441. package/dist/file-access.js +153 -153
  442. package/dist/file-mutation.js +106 -106
  443. package/dist/file-retention.js +1 -1
  444. package/dist/filesystem/fff.bun.js +2 -2
  445. package/dist/filesystem/fff.js +1 -1
  446. package/dist/filesystem/fff.node.js +2 -2
  447. package/dist/filesystem/fff.workerd.js +2 -2
  448. package/dist/filesystem/file-watch.js +89 -89
  449. package/dist/filesystem/location-watcher-policy.js +6 -6
  450. package/dist/filesystem/location-watcher.js +239 -239
  451. package/dist/filesystem/protected.js +1 -1
  452. package/dist/filesystem/search.js +111 -111
  453. package/dist/filesystem/watcher-binding.js +1 -1
  454. package/dist/filesystem/watcher.js +9 -9
  455. package/dist/filesystem.js +114 -114
  456. package/dist/form.js +92 -92
  457. package/dist/formatter/builtins.js +4 -4
  458. package/dist/formatter.js +99 -99
  459. package/dist/generate.js +121 -121
  460. package/dist/git.js +9 -9
  461. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  462. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  463. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  464. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  465. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  466. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  467. package/dist/github-copilot/copilot-provider.js +17 -17
  468. package/dist/github-copilot/models.js +111 -111
  469. package/dist/github-copilot/openai-compatible-error.js +1 -1
  470. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  471. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  472. package/dist/github-copilot/responses/openai-error.js +1 -1
  473. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  474. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  475. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  476. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  477. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  478. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  479. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  480. package/dist/image/notice.js +3 -3
  481. package/dist/image/photon-normalize.js +1 -1
  482. package/dist/image/photon-worker.js +1 -1
  483. package/dist/image/photon.js +4 -4
  484. package/dist/image.js +6 -6
  485. package/dist/instance/service.js +5 -5
  486. package/dist/instance.js +383 -383
  487. package/dist/instruction-discovery.js +94 -94
  488. package/dist/instructions/builtins.js +97 -97
  489. package/dist/instructions/index.js +1 -1
  490. package/dist/integration/connection.js +1 -1
  491. package/dist/integration.js +95 -95
  492. package/dist/job.js +88 -88
  493. package/dist/kv/sql.js +2 -2
  494. package/dist/kv.js +83 -83
  495. package/dist/location-activity.js +172 -172
  496. package/dist/location-lifecycle.js +149 -149
  497. package/dist/location-service-map.js +98 -98
  498. package/dist/location-services.js +380 -380
  499. package/dist/location.js +95 -95
  500. package/dist/managed-policy.js +3 -3
  501. package/dist/mcp/client.js +103 -103
  502. package/dist/mcp/index.js +121 -121
  503. package/dist/mcp/instructions.js +175 -175
  504. package/dist/mcp/oauth.js +85 -85
  505. package/dist/mcp/socket-client.js +1 -1
  506. package/dist/mcp/stdio.js +102 -102
  507. package/dist/mime.js +1 -1
  508. package/dist/modal/models.js +111 -111
  509. package/dist/model-resolver.js +111 -111
  510. package/dist/model-retry.js +1 -1
  511. package/dist/model.js +112 -112
  512. package/dist/models-dev/v1.js +1 -1
  513. package/dist/models-dev.js +120 -120
  514. package/dist/oauth/page.js +1 -1
  515. package/dist/permission/saved.js +92 -92
  516. package/dist/permission/sql.js +5 -5
  517. package/dist/permission.js +154 -154
  518. package/dist/persistent-pty/binary.bun.js +1 -1
  519. package/dist/persistent-pty/daemon.js +1 -1
  520. package/dist/persistent-pty/index.js +96 -96
  521. package/dist/persistent-pty/pty-binding.js +1 -1
  522. package/dist/persistent-pty.js +85 -85
  523. package/dist/plugin/agent.js +84 -84
  524. package/dist/plugin/command.js +110 -110
  525. package/dist/plugin/goal.js +3 -3
  526. package/dist/plugin/hooks.js +5 -5
  527. package/dist/plugin/host.js +232 -232
  528. package/dist/plugin/identity.js +5 -5
  529. package/dist/plugin/instance.js +5 -5
  530. package/dist/plugin/internal.js +359 -359
  531. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  532. package/dist/plugin/models-dev.js +109 -109
  533. package/dist/plugin/module.js +128 -128
  534. package/dist/plugin/optimize.js +4 -4
  535. package/dist/plugin/plan.js +143 -143
  536. package/dist/plugin/promise.js +1 -1
  537. package/dist/plugin/provider/amazon-bedrock.js +103 -103
  538. package/dist/plugin/provider/azure.js +127 -127
  539. package/dist/plugin/provider/cerebras.js +1 -1
  540. package/dist/plugin/provider/chatgpt.js +129 -129
  541. package/dist/plugin/provider/cloudflare-ai-gateway.js +127 -127
  542. package/dist/plugin/provider/cloudflare-workers-ai.js +127 -127
  543. package/dist/plugin/provider/configured.js +125 -125
  544. package/dist/plugin/provider/credential-settings.js +84 -84
  545. package/dist/plugin/provider/databricks.js +1 -1
  546. package/dist/plugin/provider/digitalocean.js +105 -105
  547. package/dist/plugin/provider/dynamic.js +2 -2
  548. package/dist/plugin/provider/github-copilot.js +107 -107
  549. package/dist/plugin/provider/gitlab.js +106 -106
  550. package/dist/plugin/provider/google-vertex.js +126 -126
  551. package/dist/plugin/provider/kilo.js +1 -1
  552. package/dist/plugin/provider/llmgateway.js +88 -88
  553. package/dist/plugin/provider/lmstudio.js +138 -138
  554. package/dist/plugin/provider/local.js +135 -135
  555. package/dist/plugin/provider/modal.js +104 -104
  556. package/dist/plugin/provider/neon.js +1 -1
  557. package/dist/plugin/provider/nvidia.js +1 -1
  558. package/dist/plugin/provider/ollama.js +136 -136
  559. package/dist/plugin/provider/openai-context-caps.js +102 -102
  560. package/dist/plugin/provider/openai.js +131 -131
  561. package/dist/plugin/provider/opencode.js +131 -131
  562. package/dist/plugin/provider/openrouter.js +103 -103
  563. package/dist/plugin/provider/poe.js +89 -89
  564. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  565. package/dist/plugin/provider/sap-ai-core.js +103 -103
  566. package/dist/plugin/provider/sdk-factory.js +1 -1
  567. package/dist/plugin/provider/snowflake-cortex.js +128 -128
  568. package/dist/plugin/provider/vllm.js +138 -138
  569. package/dist/plugin/provider/xai.js +103 -103
  570. package/dist/plugin/provider/zenmux.js +1 -1
  571. package/dist/plugin/provider.js +179 -179
  572. package/dist/plugin/sdk.js +86 -86
  573. package/dist/plugin/service.js +3 -3
  574. package/dist/plugin/skill.js +146 -146
  575. package/dist/plugin/source-directory.js +1 -1
  576. package/dist/plugin/supervisor.js +367 -367
  577. package/dist/plugin/tool-input-repair.js +4 -4
  578. package/dist/plugin/update.js +6 -6
  579. package/dist/plugin/vcs/git.js +98 -98
  580. package/dist/plugin/vcs/hg.js +96 -96
  581. package/dist/plugin/verbosity.js +105 -105
  582. package/dist/plugin/warming.js +127 -127
  583. package/dist/plugin/websearch/exa.js +7 -7
  584. package/dist/plugin/websearch/firecrawl.js +6 -6
  585. package/dist/plugin/websearch/index.js +9 -9
  586. package/dist/plugin/websearch/mcp.js +2 -2
  587. package/dist/plugin/websearch/parallel.js +8 -8
  588. package/dist/plugin/websearch/tavily.js +4 -4
  589. package/dist/plugin/websearch/tinyfish.js +8 -8
  590. package/dist/plugin.js +243 -243
  591. package/dist/project/icon.js +5 -5
  592. package/dist/project/schema.js +2 -2
  593. package/dist/project/sql.js +4 -4
  594. package/dist/project.js +94 -94
  595. package/dist/provider.js +109 -109
  596. package/dist/pty/protocol.js +1 -1
  597. package/dist/pty/ticket.js +1 -1
  598. package/dist/pty.js +110 -110
  599. package/dist/reference/instructions.js +98 -98
  600. package/dist/reference.js +102 -102
  601. package/dist/repository-cache.js +92 -92
  602. package/dist/repository.js +3 -3
  603. package/dist/ripgrep/binary.js +2 -2
  604. package/dist/ripgrep.js +109 -109
  605. package/dist/rpc.js +98 -98
  606. package/dist/schedule/check.js +237 -237
  607. package/dist/schedule/sql.js +6 -6
  608. package/dist/schedule.js +251 -251
  609. package/dist/schema.js +1 -1
  610. package/dist/session/affinity.js +1 -1
  611. package/dist/session/background.js +1 -1
  612. package/dist/session/blob.js +128 -128
  613. package/dist/session/command.js +84 -84
  614. package/dist/session/compaction.js +171 -171
  615. package/dist/session/context.js +195 -195
  616. package/dist/session/diff.js +100 -100
  617. package/dist/session/environment.js +5 -5
  618. package/dist/session/error.js +5 -5
  619. package/dist/session/event.js +1 -1
  620. package/dist/session/execution/restart.js +242 -242
  621. package/dist/session/execution.js +161 -161
  622. package/dist/session/generate.js +197 -197
  623. package/dist/session/history.js +135 -135
  624. package/dist/session/inbox.js +146 -146
  625. package/dist/session/info.js +3 -3
  626. package/dist/session/instruction-entry.js +87 -87
  627. package/dist/session/instruction-state.js +8 -8
  628. package/dist/session/instructions.js +140 -140
  629. package/dist/session/message-updater.js +2 -2
  630. package/dist/session/message.js +1 -1
  631. package/dist/session/model-request.js +162 -162
  632. package/dist/session/model-transport.js +9 -9
  633. package/dist/session/move.js +163 -163
  634. package/dist/session/projector.js +142 -142
  635. package/dist/session/prompt.js +147 -147
  636. package/dist/session/recent-text.js +1 -1
  637. package/dist/session/revert.js +138 -138
  638. package/dist/session/run-coordinator.js +3 -3
  639. package/dist/session/runner/index.js +3 -3
  640. package/dist/session/runner/llm.js +246 -246
  641. package/dist/session/runner/max-steps.js +1 -1
  642. package/dist/session/runner/model.js +112 -112
  643. package/dist/session/runner/publish-llm-event.js +148 -148
  644. package/dist/session/runner/retry.js +5 -5
  645. package/dist/session/runner/step.js +159 -159
  646. package/dist/session/runner/to-llm-message.js +136 -136
  647. package/dist/session/schema.js +5 -5
  648. package/dist/session/session.js +179 -179
  649. package/dist/session/shell.js +143 -143
  650. package/dist/session/skill.js +146 -146
  651. package/dist/session/sql.js +5 -5
  652. package/dist/session/stats.js +85 -85
  653. package/dist/session/store.js +141 -141
  654. package/dist/session/stored.js +2 -2
  655. package/dist/session/subagent-completion.js +3 -3
  656. package/dist/session/subagent-job.js +226 -226
  657. package/dist/session/system-prompt.js +3 -3
  658. package/dist/session/title.js +197 -197
  659. package/dist/session/to-session-error.js +147 -147
  660. package/dist/session/transfer.js +237 -237
  661. package/dist/session/usage.js +1 -1
  662. package/dist/session.js +230 -230
  663. package/dist/shell/parse.js +7 -9
  664. package/dist/shell/result.js +1 -1
  665. package/dist/shell/scan.js +1 -1
  666. package/dist/shell/select.js +9 -9
  667. package/dist/shell.js +145 -145
  668. package/dist/skill/discovery.js +6 -6
  669. package/dist/skill/instructions.js +148 -148
  670. package/dist/skill.js +153 -153
  671. package/dist/snapshot.js +103 -103
  672. package/dist/state.js +1 -1
  673. package/dist/tool/html-markdown.js +1 -1
  674. package/dist/tool/http-body.js +1 -1
  675. package/dist/tool/mcp.js +174 -174
  676. package/dist/tool/plugin/edit.js +163 -163
  677. package/dist/tool/plugin/file-diff.js +1 -1
  678. package/dist/tool/plugin/glob.js +165 -165
  679. package/dist/tool/plugin/grep.js +167 -167
  680. package/dist/tool/plugin/image-generate.js +236 -236
  681. package/dist/tool/plugin/mcp-resource.js +161 -161
  682. package/dist/tool/plugin/opencode.js +160 -160
  683. package/dist/tool/plugin/patch.js +163 -163
  684. package/dist/tool/plugin/question.js +145 -145
  685. package/dist/tool/plugin/read.js +168 -168
  686. package/dist/tool/plugin/schedule.js +243 -243
  687. package/dist/tool/plugin/shell.js +232 -232
  688. package/dist/tool/plugin/skill.js +156 -156
  689. package/dist/tool/plugin/subagent.js +233 -233
  690. package/dist/tool/plugin/todo.js +152 -152
  691. package/dist/tool/plugin/webfetch.js +154 -154
  692. package/dist/tool/plugin/websearch.js +154 -154
  693. package/dist/tool/plugin/write.js +165 -165
  694. package/dist/tool/read-filesystem.js +114 -114
  695. package/dist/tool/runtime.js +1 -1
  696. package/dist/tool-output.js +7 -7
  697. package/dist/tool.js +14 -14
  698. package/dist/types/shell/parse.d.ts +0 -1
  699. package/dist/types/shell/scan.d.ts +1 -0
  700. package/dist/usage-limits.js +95 -95
  701. package/dist/util/error-summary.js +1 -1
  702. package/dist/util/git-executable.js +3 -3
  703. package/dist/util/lazy.js +1 -1
  704. package/dist/util/slug.js +1 -1
  705. package/dist/util/token.js +1 -1
  706. package/dist/util/which.js +1 -1
  707. package/dist/util/wildcard.js +1 -1
  708. package/dist/v1/config/agent.js +5 -5
  709. package/dist/v1/config/command.js +1 -1
  710. package/dist/v1/config/mcp.js +4 -4
  711. package/dist/v1/config/migrate.js +104 -104
  712. package/dist/v1/config/permission.js +3 -3
  713. package/dist/v1/config/plugin.js +1 -1
  714. package/dist/v1/config/provider-options.js +1 -1
  715. package/dist/v1/config/provider.js +4 -4
  716. package/dist/variant.js +103 -103
  717. package/dist/vcs/patch.js +1 -1
  718. package/dist/vcs.js +101 -101
  719. package/dist/voice.js +100 -100
  720. package/dist/websearch.js +92 -92
  721. package/dist/wellknown/plugin.js +86 -86
  722. package/dist/wellknown.js +89 -89
  723. package/dist/workspace/driver.js +7 -7
  724. package/dist/workspace/sql.js +1 -1
  725. package/dist/workspace.js +92 -92
  726. package/dist/worktree/directory.js +2 -2
  727. package/dist/worktree/git.js +11 -11
  728. package/dist/worktree/sql.js +5 -5
  729. package/dist/worktree/strategies.js +101 -101
  730. package/dist/worktree.js +112 -112
  731. package/package.json +8 -8
  732. package/dist/chunks/bus-1z47fh1w.js +0 -257
  733. package/dist/chunks/bus-z7bdqmx5.js +0 -18
  734. /package/dist/chunks/{bus-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  735. /package/dist/chunks/{bus-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  736. /package/dist/chunks/{bus-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  737. /package/dist/chunks/{bus-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  738. /package/dist/chunks/{bus-1kah00gy.js → worktree-1kah00gy.js} +0 -0
  739. /package/dist/chunks/{bus-24dcb14g.js → worktree-24dcb14g.js} +0 -0
  740. /package/dist/chunks/{bus-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  741. /package/dist/chunks/{bus-2bv980vf.js → worktree-2bv980vf.js} +0 -0
  742. /package/dist/chunks/{bus-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  743. /package/dist/chunks/{bus-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  744. /package/dist/chunks/{bus-3asan66x.js → worktree-3asan66x.js} +0 -0
  745. /package/dist/chunks/{bus-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  746. /package/dist/chunks/{bus-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  747. /package/dist/chunks/{bus-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  748. /package/dist/chunks/{bus-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  749. /package/dist/chunks/{bus-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
  750. /package/dist/chunks/{bus-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  751. /package/dist/chunks/{bus-53557ph1.js → worktree-53557ph1.js} +0 -0
  752. /package/dist/chunks/{bus-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  753. /package/dist/chunks/{bus-5w3e23ze.js → worktree-5w3e23ze.js} +0 -0
  754. /package/dist/chunks/{bus-6prwharc.js → worktree-6prwharc.js} +0 -0
  755. /package/dist/chunks/{bus-6q2bdcd1.js → worktree-6q2bdcd1.js} +0 -0
  756. /package/dist/chunks/{bus-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  757. /package/dist/chunks/{bus-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  758. /package/dist/chunks/{bus-7stb81gk.js → worktree-7stb81gk.js} +0 -0
  759. /package/dist/chunks/{bus-822emrt2.js → worktree-822emrt2.js} +0 -0
  760. /package/dist/chunks/{bus-84wd9syh.js → worktree-84wd9syh.js} +0 -0
  761. /package/dist/chunks/{bus-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  762. /package/dist/chunks/{bus-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  763. /package/dist/chunks/{bus-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
  764. /package/dist/chunks/{bus-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  765. /package/dist/chunks/{bus-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  766. /package/dist/chunks/{bus-a058387c.js → worktree-a058387c.js} +0 -0
  767. /package/dist/chunks/{bus-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
  768. /package/dist/chunks/{bus-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  769. /package/dist/chunks/{bus-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  770. /package/dist/chunks/{bus-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  771. /package/dist/chunks/{bus-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  772. /package/dist/chunks/{bus-beh6qq61.js → worktree-beh6qq61.js} +0 -0
  773. /package/dist/chunks/{bus-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  774. /package/dist/chunks/{bus-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  775. /package/dist/chunks/{bus-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  776. /package/dist/chunks/{bus-cqv5kn06.js → worktree-cqv5kn06.js} +0 -0
  777. /package/dist/chunks/{bus-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  778. /package/dist/chunks/{bus-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  779. /package/dist/chunks/{bus-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  780. /package/dist/chunks/{bus-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  781. /package/dist/chunks/{bus-df08tz66.js → worktree-df08tz66.js} +0 -0
  782. /package/dist/chunks/{bus-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  783. /package/dist/chunks/{bus-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  784. /package/dist/chunks/{bus-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  785. /package/dist/chunks/{bus-ean2d8b5.js → worktree-ean2d8b5.js} +0 -0
  786. /package/dist/chunks/{bus-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  787. /package/dist/chunks/{bus-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  788. /package/dist/chunks/{bus-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  789. /package/dist/chunks/{bus-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  790. /package/dist/chunks/{bus-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  791. /package/dist/chunks/{bus-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  792. /package/dist/chunks/{bus-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  793. /package/dist/chunks/{bus-fkpq3x5p.js → worktree-fkpq3x5p.js} +0 -0
  794. /package/dist/chunks/{bus-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  795. /package/dist/chunks/{bus-g86h250q.js → worktree-g86h250q.js} +0 -0
  796. /package/dist/chunks/{bus-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  797. /package/dist/chunks/{bus-gftt206x.js → worktree-gftt206x.js} +0 -0
  798. /package/dist/chunks/{bus-hcxmzztb.js → worktree-hcxmzztb.js} +0 -0
  799. /package/dist/chunks/{bus-hk9envan.js → worktree-hk9envan.js} +0 -0
  800. /package/dist/chunks/{bus-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  801. /package/dist/chunks/{bus-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  802. /package/dist/chunks/{bus-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
  803. /package/dist/chunks/{bus-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  804. /package/dist/chunks/{bus-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  805. /package/dist/chunks/{bus-jwr30sdr.js → worktree-jwr30sdr.js} +0 -0
  806. /package/dist/chunks/{bus-jze0r7bz.js → worktree-jze0r7bz.js} +0 -0
  807. /package/dist/chunks/{bus-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  808. /package/dist/chunks/{bus-m18g726c.js → worktree-m18g726c.js} +0 -0
  809. /package/dist/chunks/{bus-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  810. /package/dist/chunks/{bus-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  811. /package/dist/chunks/{bus-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  812. /package/dist/chunks/{bus-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  813. /package/dist/chunks/{bus-ncqqe42p.js → worktree-ncqqe42p.js} +0 -0
  814. /package/dist/chunks/{bus-nh4v3znn.js → worktree-nh4v3znn.js} +0 -0
  815. /package/dist/chunks/{bus-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  816. /package/dist/chunks/{bus-p71gwv9c.js → worktree-p71gwv9c.js} +0 -0
  817. /package/dist/chunks/{bus-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  818. /package/dist/chunks/{bus-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  819. /package/dist/chunks/{bus-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  820. /package/dist/chunks/{bus-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  821. /package/dist/chunks/{bus-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  822. /package/dist/chunks/{bus-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
  823. /package/dist/chunks/{bus-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  824. /package/dist/chunks/{bus-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  825. /package/dist/chunks/{bus-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  826. /package/dist/chunks/{bus-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  827. /package/dist/chunks/{bus-stkk57rt.js → worktree-stkk57rt.js} +0 -0
  828. /package/dist/chunks/{bus-t03h4f5z.js → worktree-t03h4f5z.js} +0 -0
  829. /package/dist/chunks/{bus-ty7weeps.js → worktree-ty7weeps.js} +0 -0
  830. /package/dist/chunks/{bus-ve7vex1e.js → worktree-ve7vex1e.js} +0 -0
  831. /package/dist/chunks/{bus-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  832. /package/dist/chunks/{bus-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
  833. /package/dist/chunks/{bus-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  834. /package/dist/chunks/{bus-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  835. /package/dist/chunks/{bus-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  836. /package/dist/chunks/{bus-x61499pn.js → worktree-x61499pn.js} +0 -0
  837. /package/dist/chunks/{bus-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  838. /package/dist/chunks/{bus-y8f7s663.js → worktree-y8f7s663.js} +0 -0
  839. /package/dist/chunks/{bus-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  840. /package/dist/chunks/{bus-z5v4ffb3.js → worktree-z5v4ffb3.js} +0 -0
  841. /package/dist/chunks/{bus-z9919s4g.js → worktree-z9919s4g.js} +0 -0
@@ -2,45 +2,45 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./bus-svcy3p9a.js";
5
+ } from "./worktree-svcy3p9a.js";
6
6
  import {
7
- Service82
8
- } from "./bus-hq4c2e72.js";
7
+ Service83
8
+ } from "./worktree-pjb3r7bt.js";
9
9
  import {
10
- Service70
11
- } from "./bus-1kba74ng.js";
10
+ Service55
11
+ } from "./worktree-g0zebgfm.js";
12
12
  import {
13
- Service67
14
- } from "./bus-t3dqt28d.js";
13
+ Service15
14
+ } from "./worktree-k1xjwggj.js";
15
15
  import {
16
- Service69,
16
+ Service14,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./bus-62qx2g0z.js";
19
+ } from "./worktree-7c9g9s0q.js";
20
20
  import {
21
- Service47
22
- } from "./bus-1cybwrec.js";
21
+ Service65
22
+ } from "./worktree-tc90wnbk.js";
23
23
  import {
24
- Service18,
24
+ Service19,
25
25
  resolvePath2
26
- } from "./bus-3fb7g6nx.js";
26
+ } from "./worktree-x5xpvpef.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./bus-6prwharc.js";
29
+ } from "./worktree-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./bus-9rqn6x4v.js";
32
+ } from "./worktree-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input10,
38
+ Input: () => Input9,
39
39
  Output: () => Output7,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin12,
42
- name: () => name10,
43
- toModelContent: () => toModelContent5
41
+ Plugin: () => Plugin29,
42
+ name: () => name9,
43
+ toModelContent: () => toModelContent4
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai/effect";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name10 = "patch";
89
- var Input10 = Schema.Struct({
88
+ var name9 = "patch";
89
+ var Input9 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -100,25 +100,25 @@ var Output7 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent5 = (output) => [
103
+ var toModelContent4 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin12 = {
108
+ var Plugin29 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service70;
112
- const access = yield* Service18;
113
- const fileMutation = yield* Service69;
114
- const formatter = yield* Service67;
115
- const location = yield* Service82;
116
- const permission = yield* Service47;
111
+ const environment = yield* Service55;
112
+ const access = yield* Service19;
113
+ const fileMutation = yield* Service14;
114
+ const formatter = yield* Service15;
115
+ const location = yield* Service83;
116
+ const permission = yield* Service65;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name10,
118
+ name: name9,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input10,
121
+ input: Input9,
122
122
  output: Output7,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
@@ -285,7 +285,7 @@ var Plugin12 = {
285
285
  return { applied, files };
286
286
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
287
287
  output,
288
- content: toModelContent5(output),
288
+ content: toModelContent4(output),
289
289
  metadata: { files: output.files }
290
290
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
291
291
  }
@@ -345,4 +345,4 @@ function trimDiff(diff) {
345
345
  `);
346
346
  }
347
347
 
348
- export { name10, Input10, Applied2, Output7, toModelContent5, Plugin12, exports_patch };
348
+ export { name9, Input9, Applied2, Output7, toModelContent4, Plugin29, exports_patch };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service62
4
- } from "./bus-v0dqmjgm.js";
3
+ Service69
4
+ } from "./worktree-3ndyf3yw.js";
5
5
  import {
6
6
  __export
7
- } from "./bus-9rqn6x4v.js";
7
+ } from "./worktree-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin48,
12
+ Plugin: () => Plugin44,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin48 = define({
22
+ var Plugin44 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service62;
25
+ const config = yield* Service69;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -115,4 +115,4 @@ var Plugin48 = define({
115
115
  })
116
116
  });
117
117
 
118
- export { Plugin48, exports_warming };
118
+ export { Plugin44, exports_warming };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service85,
2
+ Service86,
3
3
  node89
4
- } from "./bus-f0vtm8p6.js";
4
+ } from "./worktree-9yke2vdy.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./bus-rb9dy4dg.js";
9
+ } from "./worktree-rb9dy4dg.js";
10
10
  import {
11
11
  root2
12
- } from "./bus-r2vthv2q.js";
12
+ } from "./worktree-rp6wgn9y.js";
13
13
  import {
14
- Service82,
14
+ Service83,
15
15
  node86
16
- } from "./bus-hq4c2e72.js";
16
+ } from "./worktree-pjb3r7bt.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./bus-204s3925.js";
20
+ } from "./worktree-204s3925.js";
21
21
  import {
22
22
  __export
23
- } from "./bus-9rqn6x4v.js";
23
+ } from "./worktree-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,19 +29,19 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info8,
32
+ Info: () => Info11,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service39,
35
+ Service: () => Service47,
36
36
  Untracked: () => Untracked2,
37
37
  Vcs: () => exports_vcs,
38
- node: () => node42
38
+ node: () => node50
39
39
  });
40
40
  import path from "path";
41
41
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
42
42
  import { FileDiff } from "@opencode/schema/file-diff";
43
43
  import { FileSystem } from "@opencode/schema/filesystem";
44
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info8, Mode as Mode2, Untracked as Untracked2 } from "@opencode/schema/vcs";
44
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info11, Mode as Mode2, Untracked as Untracked2 } from "@opencode/schema/vcs";
45
45
  import { VcsEvent } from "@opencode/schema/vcs-event";
46
46
  import { makeLocationNode } from "@opencode/util/effect/app-node";
47
47
  import { FSUtil } from "@opencode/util/fs-util";
@@ -55,12 +55,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
55
55
  }) {
56
56
  }
57
57
 
58
- class Service39 extends Context.Service()("@opencode/Vcs") {
58
+ class Service47 extends Context.Service()("@opencode/Vcs") {
59
59
  }
60
- var layer = Layer.effect(Service39, Effect.gen(function* () {
60
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
61
61
  const fs = yield* FSUtil.Service;
62
- const location = yield* Service82;
63
- const bus = yield* Service85;
62
+ const location = yield* Service83;
63
+ const bus = yield* Service86;
64
64
  const root = yield* Effect.scope;
65
65
  const fork = yield* FiberSet.makeRuntime();
66
66
  const vcs = location.vcs;
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
72
72
  canonical: location.project.canonical,
73
73
  ...vcs ? { store: vcs.store } : {}
74
74
  };
75
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info8));
75
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info11));
76
76
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
77
77
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
78
78
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
130
130
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
131
131
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
132
132
  }
133
- return Service39.of({
133
+ return Service47.of({
134
134
  transform: state.transform,
135
135
  reload: state.reload,
136
136
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -189,10 +189,10 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
189
189
  })
190
190
  });
191
191
  }));
192
- var node42 = makeLocationNode({
193
- service: Service39,
192
+ var node50 = makeLocationNode({
193
+ service: Service47,
194
194
  layer,
195
195
  deps: [FSUtil.node, node86, node89]
196
196
  });
197
197
 
198
- export { Base2, BranchList2, FileStatus2, Info8, Mode2, Untracked2, DiffError2, InitializeError2, Service39, node42, exports_vcs };
198
+ export { Base2, BranchList2, FileStatus2, Info11, Mode2, Untracked2, DiffError2, InitializeError2, Service47, node50, exports_vcs };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  typeFollowing2,
3
3
  exists2
4
- } from "./bus-svcy3p9a.js";
4
+ } from "./worktree-svcy3p9a.js";
5
5
  import {
6
6
  AbsolutePath2
7
- } from "./bus-z5v4ffb3.js";
7
+ } from "./worktree-z5v4ffb3.js";
8
8
  import {
9
9
  root2
10
- } from "./bus-r2vthv2q.js";
10
+ } from "./worktree-rp6wgn9y.js";
11
11
  import {
12
- Service82,
12
+ Service83,
13
13
  node86
14
- } from "./bus-hq4c2e72.js";
14
+ } from "./worktree-pjb3r7bt.js";
15
15
  import {
16
- Service70,
17
- node73
18
- } from "./bus-1kba74ng.js";
16
+ Service55,
17
+ node58
18
+ } from "./worktree-g0zebgfm.js";
19
19
  import {
20
- Service47,
21
- node49
22
- } from "./bus-1cybwrec.js";
20
+ Service65,
21
+ node68
22
+ } from "./worktree-tc90wnbk.js";
23
23
  import {
24
24
  __export
25
- } from "./bus-9rqn6x4v.js";
25
+ } from "./worktree-9rqn6x4v.js";
26
26
 
27
27
  // src/file-access.ts
28
28
  var exports_file_access = {};
@@ -30,7 +30,7 @@ __export(exports_file_access, {
30
30
  FileAccess: () => exports_file_access,
31
31
  Kind: () => Kind2,
32
32
  ResolveInput: () => ResolveInput2,
33
- Service: () => Service18,
33
+ Service: () => Service19,
34
34
  node: () => node21,
35
35
  resolvePath: () => resolvePath2
36
36
  });
@@ -45,7 +45,7 @@ var ResolveInput2 = Schema.Struct({
45
45
  kind: Kind2.pipe(Schema.optional)
46
46
  });
47
47
 
48
- class Service18 extends Context.Service()("@opencode/FileAccess") {
48
+ class Service19 extends Context.Service()("@opencode/FileAccess") {
49
49
  }
50
50
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
51
51
  const normalized = FSUtil.windowsPath(input);
@@ -57,11 +57,11 @@ var invocation = (context) => ({
57
57
  agent: context.agent,
58
58
  source: { type: "tool", messageID: context.messageID, id: context.id }
59
59
  });
60
- var layer = Layer.effect(Service18, Effect.gen(function* () {
61
- const { files } = yield* Service70;
60
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
61
+ const { files } = yield* Service55;
62
62
  const exists = (file) => exists2(files, file);
63
- const location = yield* Service82;
64
- const permission = yield* Service47;
63
+ const location = yield* Service83;
64
+ const permission = yield* Service65;
65
65
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
66
66
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
67
67
  const worktree = path.resolve(location.project.directory);
@@ -110,12 +110,12 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
110
110
  });
111
111
  return target;
112
112
  });
113
- return Service18.of({ resolve, authorizeExternal, authorizeRead });
113
+ return Service19.of({ resolve, authorizeExternal, authorizeRead });
114
114
  }));
115
115
  var node21 = makeLocationNode({
116
- service: Service18,
116
+ service: Service19,
117
117
  layer,
118
- deps: [node73, node86, node49]
118
+ deps: [node58, node86, node68]
119
119
  });
120
120
 
121
- export { Kind2, ResolveInput2, Service18, resolvePath2, node21, exports_file_access };
121
+ export { Kind2, ResolveInput2, Service19, resolvePath2, node21, exports_file_access };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node57
5
- } from "./bus-226jktjv.js";
4
+ node91
5
+ } from "./worktree-3776k8q5.js";
6
6
  import {
7
- Service73,
8
- node77
9
- } from "./bus-31wms35x.js";
7
+ Service75,
8
+ node78
9
+ } from "./worktree-bgg6fpfq.js";
10
10
  import {
11
11
  DeclinedError2
12
- } from "./bus-1cybwrec.js";
12
+ } from "./worktree-tc90wnbk.js";
13
13
  import {
14
14
  CancelledError2
15
- } from "./bus-q6sa0fx3.js";
15
+ } from "./worktree-d08zvrj3.js";
16
16
  import {
17
- Error5
18
- } from "./bus-1kn0xbnj.js";
17
+ Error3
18
+ } from "./worktree-d6cs52tr.js";
19
19
  import {
20
20
  get5
21
- } from "./bus-3nnrz6f6.js";
21
+ } from "./worktree-3nnrz6f6.js";
22
22
  import {
23
- Service28,
24
- node32
25
- } from "./bus-1hm6kjpw.js";
23
+ Service27,
24
+ node31
25
+ } from "./worktree-97p996b3.js";
26
26
  import {
27
- make15
28
- } from "./bus-m37sd98t.js";
27
+ make14
28
+ } from "./worktree-vmfhgzt5.js";
29
29
  import {
30
30
  toLLMMessages2
31
- } from "./bus-jchjggqf.js";
31
+ } from "./worktree-rg0cxenw.js";
32
32
  import {
33
33
  __export
34
- } from "./bus-9rqn6x4v.js";
34
+ } from "./worktree-9rqn6x4v.js";
35
35
 
36
36
  // src/session/model-request.ts
37
37
  var exports_model_request = {};
38
38
  __export(exports_model_request, {
39
- Service: () => Service27,
39
+ Service: () => Service26,
40
40
  SessionModelRequest: () => exports_model_request,
41
41
  baseTranscript: () => baseTranscript2,
42
42
  boundImages: () => boundImages2,
43
- layer: () => layer13,
44
- node: () => node31,
43
+ layer: () => layer12,
44
+ node: () => node30,
45
45
  outputLimit: () => outputLimit2,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
@@ -78,7 +78,7 @@ var baseTranscript2 = (input) => {
78
78
  return {
79
79
  providerMetadataKey,
80
80
  system: [
81
- input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
81
+ input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
82
82
  input.initial
83
83
  ].filter((part) => part.length > 0).map(SystemPart.make),
84
84
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -159,11 +159,11 @@ var boundImages2 = (messages) => {
159
159
  });
160
160
  };
161
161
 
162
- class Service27 extends Context.Service()("@opencode/SessionModelRequest") {
162
+ class Service26 extends Context.Service()("@opencode/SessionModelRequest") {
163
163
  }
164
- var layer13 = Layer.effect(Service27, Effect.gen(function* () {
165
- const hooks = yield* Service73;
166
- const transport = yield* Service28;
164
+ var layer12 = Layer.effect(Service26, Effect.gen(function* () {
165
+ const hooks = yield* Service75;
166
+ const transport = yield* Service27;
167
167
  const app = yield* Metadata2;
168
168
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
169
169
  const session = input.session;
@@ -171,7 +171,7 @@ var layer13 = Layer.effect(Service27, Effect.gen(function* () {
171
171
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
172
172
  const tools = input.tools ?? {
173
173
  definitions: [],
174
- execute: () => new Error5({ message: "Tools are not available for this request" })
174
+ execute: () => new Error3({ message: "Tools are not available for this request" })
175
175
  };
176
176
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: JSON.parse(JSON.stringify(t.inputSchema)) }, t]));
177
177
  const shaped = yield* shape({
@@ -262,17 +262,17 @@ var layer13 = Layer.effect(Service27, Effect.gen(function* () {
262
262
  };
263
263
  });
264
264
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
265
- return Service27.of({
265
+ return Service26.of({
266
266
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
267
267
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
268
268
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
269
269
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
270
270
  });
271
271
  }));
272
- var node31 = makeLocationNode({
273
- service: Service27,
274
- layer: layer13,
275
- deps: [node77, node32, node57]
272
+ var node30 = makeLocationNode({
273
+ service: Service26,
274
+ layer: layer12,
275
+ deps: [node78, node31, node91]
276
276
  });
277
277
 
278
- export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service27, layer13, node31, exports_model_request };
278
+ export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service26, layer12, node30, exports_model_request };
@@ -1,58 +1,58 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./bus-svcy3p9a.js";
3
+ } from "./worktree-svcy3p9a.js";
4
4
  import {
5
5
  NonNegativeInt2
6
- } from "./bus-z5v4ffb3.js";
6
+ } from "./worktree-z5v4ffb3.js";
7
7
  import {
8
- Service70
9
- } from "./bus-1kba74ng.js";
8
+ Service55
9
+ } from "./worktree-g0zebgfm.js";
10
10
  import {
11
- Service45
12
- } from "./bus-4a32f4de.js";
11
+ Service81
12
+ } from "./worktree-gvnfypps.js";
13
13
  import {
14
- Service47
15
- } from "./bus-1cybwrec.js";
14
+ Service65
15
+ } from "./worktree-tc90wnbk.js";
16
16
  import {
17
- Service18,
17
+ Service19,
18
18
  resolvePath2
19
- } from "./bus-3fb7g6nx.js";
19
+ } from "./worktree-x5xpvpef.js";
20
20
  import {
21
21
  output2,
22
22
  notice2,
23
23
  metadata2,
24
24
  notification2
25
- } from "./bus-k814nvkf.js";
25
+ } from "./worktree-k814nvkf.js";
26
26
  import {
27
- Service56,
27
+ Service50,
28
28
  name17
29
- } from "./bus-rcds6jmy.js";
29
+ } from "./worktree-c325tjb6.js";
30
30
  import {
31
- NotFoundError4,
32
- Service34
33
- } from "./bus-dev678md.js";
31
+ NotFoundError7,
32
+ Service45
33
+ } from "./worktree-yegyxjwk.js";
34
34
  import {
35
- Service19
36
- } from "./bus-9ew7ajy0.js";
35
+ Service22
36
+ } from "./worktree-0ex9mpwx.js";
37
37
  import {
38
38
  scan3
39
- } from "./bus-682dpnwj.js";
39
+ } from "./worktree-c1nvaaxv.js";
40
40
  import {
41
41
  __export
42
- } from "./bus-9rqn6x4v.js";
42
+ } from "./worktree-9rqn6x4v.js";
43
43
 
44
44
  // src/tool/plugin/shell.ts
45
- var exports_shell = {};
46
- __export(exports_shell, {
45
+ var exports_shell2 = {};
46
+ __export(exports_shell2, {
47
47
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
48
- Input: () => Input4,
49
- Plugin: () => Plugin4,
50
- ShellTool: () => exports_shell,
51
- name: () => name4
48
+ Input: () => Input10,
49
+ Plugin: () => Plugin30,
50
+ ShellTool: () => exports_shell2,
51
+ name: () => name10
52
52
  });
53
53
  import { ToolFailure } from "@opencode/ai/effect";
54
54
  import { Deferred, Effect, Schema, Scope } from "effect";
55
- var name4 = "shell";
55
+ var name10 = "shell";
56
56
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
57
57
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
58
58
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -66,7 +66,7 @@ var description = (shell) => [
66
66
  "Commands accept an optional timeout, background commands have no timeout by default.",
67
67
  "Background commands return immediately, and you will be notified when they complete."
68
68
  ].join(" ");
69
- var Input4 = Schema.Struct({
69
+ var Input10 = Schema.Struct({
70
70
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
71
71
  workdir: Schema.optionalKey(Schema.String).annotate({
72
72
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -112,18 +112,18 @@ Output is streaming to: ${file}`,
112
112
  truncated: false,
113
113
  status: "running"
114
114
  });
115
- var Plugin4 = {
115
+ var Plugin30 = {
116
116
  id: "opencode.tool.shell",
117
117
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
118
- const sessions = yield* Service19;
119
- const jobs = yield* Service45;
118
+ const sessions = yield* Service22;
119
+ const jobs = yield* Service81;
120
120
  const scope = yield* Scope.Scope;
121
- const environment = yield* Service70;
122
- const access = yield* Service18;
123
- const shell = yield* Service34;
124
- const shellSelect = yield* Service56;
121
+ const environment = yield* Service55;
122
+ const access = yield* Service19;
123
+ const shell = yield* Service45;
124
+ const shellSelect = yield* Service50;
125
125
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
126
- const permission = yield* Service47;
126
+ const permission = yield* Service65;
127
127
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
128
128
  const source = {
129
129
  type: "tool",
@@ -141,7 +141,7 @@ var Plugin4 = {
141
141
  yield* access.authorizeExternal([target, ...directories], context);
142
142
  if (parsed.commands.length > 0)
143
143
  yield* permission.assert({
144
- action: name4,
144
+ action: name10,
145
145
  resources: parsed.commands.map((command) => command.resource),
146
146
  save: parsed.commands.map((command) => command.save),
147
147
  sessionID: context.sessionID,
@@ -178,10 +178,10 @@ var Plugin4 = {
178
178
  yield* jobs.completeBackground(info.notificationID);
179
179
  }, Effect.forkIn(scope, { startImmediately: true }));
180
180
  yield* ctx.tool.transform((editor) => editor.add({
181
- name: name4,
181
+ name: name10,
182
182
  options: { codemode: false },
183
183
  description: description(),
184
- input: Input4,
184
+ input: Input10,
185
185
  output: Output,
186
186
  execute: (input, context) => Effect.gen(function* () {
187
187
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -204,7 +204,7 @@ var Plugin4 = {
204
204
  const run = Effect.gen(function* () {
205
205
  const result = yield* shell.result(info);
206
206
  if (!result.capture)
207
- return yield* new NotFoundError4({ id: info.id });
207
+ return yield* new NotFoundError7({ id: info.id });
208
208
  const output = output2(result);
209
209
  return {
210
210
  ...output,
@@ -218,7 +218,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
218
218
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
219
219
  const job = yield* jobs.start({
220
220
  id: info.id,
221
- type: name4,
221
+ type: name10,
222
222
  title: info.command,
223
223
  metadata: { sessionID: context.sessionID, shellID: info.id },
224
224
  recovery: {
@@ -248,7 +248,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
248
248
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
249
249
  })).pipe(Effect.orDie);
250
250
  const hook = (event) => Effect.gen(function* () {
251
- const tool = event.tools[name4];
251
+ const tool = event.tools[name10];
252
252
  if (!tool)
253
253
  return;
254
254
  tool.description = description(name17(yield* compatibleShell));
@@ -259,4 +259,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
259
259
  })
260
260
  };
261
261
 
262
- export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin4, exports_shell };
262
+ export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin30, exports_shell2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
6
  var exports_command5 = {};