@opencode/core 0.0.0-dev-21824 → 0.0.0-dev-21832

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 (806) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +94 -94
  4. package/dist/aisdk.js +100 -100
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +77 -77
  7. package/dist/chunks/{model-resolver-7qnz14k0.js → worktree-00cp3g78.js} +46 -46
  8. package/dist/chunks/worktree-00yw50eq.js +261 -0
  9. package/dist/chunks/{model-resolver-z799v63j.js → worktree-06nywv30.js} +32 -32
  10. package/dist/chunks/{model-resolver-jctb9d8a.js → worktree-0p25w9ph.js} +6 -6
  11. package/dist/chunks/{model-resolver-g1bhyb56.js → worktree-0pv1adqs.js} +8 -8
  12. package/dist/chunks/{model-resolver-bt2mfhwt.js → worktree-0s95dftc.js} +5 -5
  13. package/dist/chunks/{model-resolver-bx5t9whz.js → worktree-0zpa3jfg.js} +16 -16
  14. package/dist/chunks/{model-resolver-8sktcs9h.js → worktree-11aje976.js} +4 -4
  15. package/dist/chunks/{model-resolver-x8nvjgx0.js → worktree-11hfp36g.js} +4 -4
  16. package/dist/chunks/{model-resolver-1x2knyw4.js → worktree-1x2knyw4.js} +1 -1
  17. package/dist/chunks/{model-resolver-fvqqv4et.js → worktree-24cx9b7z.js} +26 -26
  18. package/dist/chunks/{model-resolver-39teg3wn.js → worktree-24kf08q0.js} +33 -33
  19. package/dist/chunks/{model-resolver-27w5k9zf.js → worktree-27w5k9zf.js} +2 -2
  20. package/dist/chunks/{model-resolver-ym4mb7j3.js → worktree-2bvfvv2f.js} +7 -7
  21. package/dist/chunks/{model-resolver-rcpyc0ca.js → worktree-2bzhzvzq.js} +5 -5
  22. package/dist/chunks/{model-resolver-7jtzgymz.js → worktree-2fjys8ky.js} +2 -2
  23. package/dist/chunks/{model-resolver-kmam2x31.js → worktree-2hn3edqp.js} +15 -15
  24. package/dist/chunks/{model-resolver-atw6zx0t.js → worktree-2nph1nr4.js} +32 -32
  25. package/dist/chunks/{model-resolver-2z1j29yd.js → worktree-2z1j29yd.js} +1 -1
  26. package/dist/chunks/{model-resolver-rejxp4z0.js → worktree-30r67fxy.js} +20 -20
  27. package/dist/chunks/{model-resolver-rqs3weq5.js → worktree-3647s6zq.js} +8 -8
  28. package/dist/chunks/{model-resolver-kf9wr7tw.js → worktree-36p3y7jg.js} +23 -23
  29. package/dist/chunks/{model-resolver-rckcvcrm.js → worktree-3akbsydm.js} +20 -20
  30. package/dist/chunks/{model-resolver-3cbjf1nt.js → worktree-3cbjf1nt.js} +2 -2
  31. package/dist/chunks/{model-resolver-rgj5zy3t.js → worktree-3dj841q6.js} +40 -40
  32. package/dist/chunks/{model-resolver-pg8q45fa.js → worktree-3e59rph2.js} +9 -9
  33. package/dist/chunks/{model-resolver-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{model-resolver-4wb8q865.js → worktree-3nnh6x8n.js} +30 -30
  35. package/dist/chunks/{model-resolver-3nnrz6f6.js → worktree-3nnrz6f6.js} +1 -1
  36. package/dist/chunks/{model-resolver-f7g3fwn3.js → worktree-42dtxe9w.js} +28 -28
  37. package/dist/chunks/{model-resolver-j2sak5a4.js → worktree-43dhkpfn.js} +11 -11
  38. package/dist/chunks/{model-resolver-me7kxg3j.js → worktree-45t4pvv9.js} +8 -8
  39. package/dist/chunks/{model-resolver-33fvch51.js → worktree-4f15exd5.js} +1 -1
  40. package/dist/chunks/{model-resolver-c7sh4d0v.js → worktree-4fkatqpa.js} +11 -11
  41. package/dist/chunks/{model-resolver-1bcx7d2f.js → worktree-4jj79f23.js} +8 -8
  42. package/dist/chunks/{model-resolver-ksez1xmc.js → worktree-4sarpyhn.js} +24 -24
  43. package/dist/chunks/{model-resolver-4v008n1t.js → worktree-4v008n1t.js} +1 -1
  44. package/dist/chunks/{model-resolver-4xvmh7wp.js → worktree-4xvmh7wp.js} +3 -3
  45. package/dist/chunks/{model-resolver-b45qxgvc.js → worktree-5fy5wh6g.js} +9 -9
  46. package/dist/chunks/{model-resolver-5m9w47nd.js → worktree-5m9w47nd.js} +1 -1
  47. package/dist/chunks/{model-resolver-y2rsaeas.js → worktree-5nftfhq6.js} +40 -40
  48. package/dist/chunks/{model-resolver-bf131yvm.js → worktree-5p205wab.js} +4 -4
  49. package/dist/chunks/{model-resolver-qckrz8jc.js → worktree-5pq867hf.js} +1 -1
  50. package/dist/chunks/{model-resolver-e3qxr5gk.js → worktree-5qd3pb7m.js} +2 -2
  51. package/dist/chunks/{model-resolver-803gsyg1.js → worktree-5z2q9a8r.js} +26 -26
  52. package/dist/chunks/{model-resolver-3d1a3cpa.js → worktree-695afxk5.js} +21 -21
  53. package/dist/chunks/{model-resolver-k17y3afg.js → worktree-6e20mv58.js} +6 -6
  54. package/dist/chunks/{model-resolver-6esdw8yj.js → worktree-6esdw8yj.js} +1 -1
  55. package/dist/chunks/{model-resolver-0b24q0cx.js → worktree-6hasb7jx.js} +20 -20
  56. package/dist/chunks/{model-resolver-w362tghn.js → worktree-6hxyv8w6.js} +22 -22
  57. package/dist/chunks/{model-resolver-5zwkbtbg.js → worktree-6k2rkf8h.js} +7 -7
  58. package/dist/chunks/{model-resolver-d3774dqa.js → worktree-6k95y278.js} +18 -18
  59. package/dist/chunks/{model-resolver-6pjqjmy2.js → worktree-6pjqjmy2.js} +1 -1
  60. package/dist/chunks/{model-resolver-g6jpb364.js → worktree-6xsx1z0g.js} +30 -30
  61. package/dist/chunks/{model-resolver-qvw98tg0.js → worktree-7193gb3b.js} +5 -5
  62. package/dist/chunks/{model-resolver-76cb1hcw.js → worktree-76cb1hcw.js} +1 -1
  63. package/dist/chunks/{model-resolver-t2tc5r6d.js → worktree-7a4k0486.js} +6 -6
  64. package/dist/chunks/{model-resolver-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  65. package/dist/chunks/{model-resolver-ywa96x82.js → worktree-7e510nwg.js} +14 -14
  66. package/dist/chunks/{model-resolver-c9k0snj5.js → worktree-7e8scw2k.js} +32 -32
  67. package/dist/chunks/{model-resolver-7w2ypzdf.js → worktree-7w2ypzdf.js} +1 -1
  68. package/dist/chunks/{model-resolver-r31y8xxz.js → worktree-80yrqs2x.js} +28 -28
  69. package/dist/chunks/{model-resolver-228bjbav.js → worktree-86djksxe.js} +16 -16
  70. package/dist/chunks/{model-resolver-c4ryf7as.js → worktree-8h6r4m67.js} +29 -29
  71. package/dist/chunks/{model-resolver-msntj4bj.js → worktree-8kk74xj2.js} +16 -16
  72. package/dist/chunks/{model-resolver-3wyhrqfb.js → worktree-8n09hdvs.js} +8 -8
  73. package/dist/chunks/{model-resolver-7whwbhx2.js → worktree-8qa3g5sa.js} +2 -2
  74. package/dist/chunks/{model-resolver-5cy8hwkn.js → worktree-8wezqzag.js} +28 -28
  75. package/dist/chunks/{model-resolver-8wtp7s3z.js → worktree-8wtp7s3z.js} +1 -1
  76. package/dist/chunks/{model-resolver-q25re44e.js → worktree-8yqsymsg.js} +6 -6
  77. package/dist/chunks/{model-resolver-91rj84md.js → worktree-91rj84md.js} +1 -1
  78. package/dist/chunks/{model-resolver-s7hdmqvc.js → worktree-93wp6b6w.js} +7 -7
  79. package/dist/chunks/{model-resolver-10efznhb.js → worktree-95exz2bq.js} +13 -13
  80. package/dist/chunks/{model-resolver-qdr526kf.js → worktree-97p8nte2.js} +5 -5
  81. package/dist/chunks/{model-resolver-w7c0w3yt.js → worktree-9c77wjje.js} +14 -14
  82. package/dist/chunks/{model-resolver-9cx9sm2q.js → worktree-9cx9sm2q.js} +1 -1
  83. package/dist/chunks/{model-resolver-0mpqe4g5.js → worktree-9m513bsn.js} +17 -17
  84. package/dist/chunks/{model-resolver-p5hnaym9.js → worktree-9n98ejx3.js} +35 -35
  85. package/dist/chunks/{model-resolver-smcjsr17.js → worktree-9qpye6ef.js} +14 -14
  86. package/dist/chunks/{model-resolver-j6c6q1qg.js → worktree-a5vkyr04.js} +33 -33
  87. package/dist/chunks/{model-resolver-12vp2fj6.js → worktree-a74nhg91.js} +20 -20
  88. package/dist/chunks/{model-resolver-29twwrpw.js → worktree-a8mb2d06.js} +19 -19
  89. package/dist/chunks/{model-resolver-5r72z9dp.js → worktree-abr51mnh.js} +8 -8
  90. package/dist/chunks/{model-resolver-db579ykn.js → worktree-ad2qwzwg.js} +42 -42
  91. package/dist/chunks/{model-resolver-hz3jmkcm.js → worktree-adrm93f2.js} +6 -6
  92. package/dist/chunks/{model-resolver-afmnpta1.js → worktree-afmnpta1.js} +2 -2
  93. package/dist/chunks/{model-resolver-aj7mw0zk.js → worktree-aj7mw0zk.js} +2 -2
  94. package/dist/chunks/{model-resolver-ey1k9yry.js → worktree-arbdk1zr.js} +21 -21
  95. package/dist/chunks/{model-resolver-hzrfc1p4.js → worktree-arz7hw7x.js} +3 -3
  96. package/dist/chunks/{model-resolver-8m56m6bs.js → worktree-ax1j2da4.js} +13 -13
  97. package/dist/chunks/{model-resolver-pzp2gaxy.js → worktree-aykhvqdn.js} +11 -11
  98. package/dist/chunks/{model-resolver-b0mv4wxm.js → worktree-b0mv4wxm.js} +2 -2
  99. package/dist/chunks/{model-resolver-8y5hzfxe.js → worktree-b5qn2jt5.js} +11 -11
  100. package/dist/chunks/{model-resolver-qyq8h28g.js → worktree-b6h3agk1.js} +3 -3
  101. package/dist/chunks/{model-resolver-b6vsg801.js → worktree-b6vsg801.js} +2 -2
  102. package/dist/chunks/{model-resolver-hjg8p6dt.js → worktree-bdyzd1jt.js} +18 -18
  103. package/dist/chunks/{model-resolver-qvakvk9r.js → worktree-bgcmwhzg.js} +19 -19
  104. package/dist/chunks/{model-resolver-61ennm6n.js → worktree-bjhzkqyk.js} +4 -4
  105. package/dist/chunks/{model-resolver-mzkm9t0w.js → worktree-bs5a9a9v.js} +5 -5
  106. package/dist/chunks/{model-resolver-7nbsn3c1.js → worktree-cd50e0wg.js} +11 -11
  107. package/dist/chunks/{model-resolver-asn1derg.js → worktree-cf3d3h2s.js} +14 -14
  108. package/dist/chunks/{model-resolver-1y1rj8zc.js → worktree-cw1ztss7.js} +25 -25
  109. package/dist/chunks/{model-resolver-pqwj4rse.js → worktree-d2dx6a7h.js} +9 -9
  110. package/dist/chunks/{model-resolver-m3xvpryp.js → worktree-d30eyz0g.js} +54 -54
  111. package/dist/chunks/{model-resolver-d4v9tmah.js → worktree-d4v9tmah.js} +2 -2
  112. package/dist/chunks/{model-resolver-hwcbxmjp.js → worktree-d6sbn13z.js} +13 -13
  113. package/dist/chunks/{model-resolver-x1fxt013.js → worktree-d85xqdn3.js} +22 -22
  114. package/dist/chunks/{model-resolver-y00x4xpa.js → worktree-dds9zz6p.js} +4 -4
  115. package/dist/chunks/{model-resolver-418q3ycz.js → worktree-dks4h55m.js} +58 -58
  116. package/dist/chunks/{model-resolver-1t4kmtd0.js → worktree-ds26jgk3.js} +8 -8
  117. package/dist/chunks/{model-resolver-dvj9ct8m.js → worktree-dvj9ct8m.js} +3 -3
  118. package/dist/chunks/{model-resolver-vgk61ywp.js → worktree-dz8hhvgv.js} +9 -9
  119. package/dist/chunks/{model-resolver-e2ne77ac.js → worktree-e2ne77ac.js} +2 -2
  120. package/dist/chunks/{model-resolver-hdfrs5mg.js → worktree-e2x7gzav.js} +7 -7
  121. package/dist/chunks/{model-resolver-qk22s80r.js → worktree-e50pjhb3.js} +16 -16
  122. package/dist/chunks/{model-resolver-e834z07m.js → worktree-e834z07m.js} +1 -1
  123. package/dist/chunks/{model-resolver-q8rfhkjm.js → worktree-e91b353h.js} +2 -2
  124. package/dist/chunks/{model-resolver-tb5m0pzj.js → worktree-e9p3jgk6.js} +25 -25
  125. package/dist/chunks/{model-resolver-f6tpkka6.js → worktree-edvcby6a.js} +12 -12
  126. package/dist/chunks/{model-resolver-6k9kp4xt.js → worktree-erswfzqj.js} +16 -16
  127. package/dist/chunks/{model-resolver-dat5z7dd.js → worktree-ewyr86ft.js} +25 -25
  128. package/dist/chunks/{model-resolver-z9cvf2rv.js → worktree-f21hf6dz.js} +15 -15
  129. package/dist/chunks/{model-resolver-69z9tmq3.js → worktree-f403h8b4.js} +13 -13
  130. package/dist/chunks/{model-resolver-w72ah3vp.js → worktree-f4bg9t37.js} +4 -4
  131. package/dist/chunks/worktree-f8ma18fn.js +18 -0
  132. package/dist/chunks/{model-resolver-vjqpxba6.js → worktree-fepbbevx.js} +79 -79
  133. package/dist/chunks/{model-resolver-fffv3p7h.js → worktree-fffv3p7h.js} +1 -1
  134. package/dist/chunks/{model-resolver-nphq4awb.js → worktree-fp6jbq7y.js} +7 -7
  135. package/dist/chunks/{model-resolver-z8gatmq1.js → worktree-fsre0723.js} +36 -36
  136. package/dist/chunks/{model-resolver-3tt1qkhr.js → worktree-fwfdmgk0.js} +5 -5
  137. package/dist/chunks/{model-resolver-g5h9c0rr.js → worktree-g5h9c0rr.js} +2 -2
  138. package/dist/chunks/{model-resolver-g7esga4v.js → worktree-g7esga4v.js} +1 -1
  139. package/dist/chunks/{model-resolver-af84d9dx.js → worktree-gbbgar44.js} +19 -19
  140. package/dist/chunks/{model-resolver-vrcsa8qx.js → worktree-gcjdgkn2.js} +9 -9
  141. package/dist/chunks/{model-resolver-s8m3mb5a.js → worktree-gdr92bwx.js} +12 -12
  142. package/dist/chunks/{model-resolver-5nbxbk6s.js → worktree-geqny0bq.js} +12 -12
  143. package/dist/chunks/{model-resolver-frqrgtcd.js → worktree-gsb6mw3d.js} +149 -149
  144. package/dist/chunks/{model-resolver-7j9fhv60.js → worktree-gstbwwx4.js} +6 -6
  145. package/dist/chunks/{model-resolver-scz2dc1h.js → worktree-h2fy2dat.js} +15 -15
  146. package/dist/chunks/{model-resolver-xp82r058.js → worktree-h9t23wpm.js} +9 -9
  147. package/dist/chunks/{model-resolver-1s53h09z.js → worktree-hb5n2c5k.js} +17 -17
  148. package/dist/chunks/{model-resolver-f2sxmxc4.js → worktree-hem0ycea.js} +34 -34
  149. package/dist/chunks/{model-resolver-rxrz6b15.js → worktree-hhafapa0.js} +2 -2
  150. package/dist/chunks/{model-resolver-fcj36fpe.js → worktree-hjpd440b.js} +23 -23
  151. package/dist/chunks/{model-resolver-bqqm0g8t.js → worktree-hkemg6xf.js} +6 -6
  152. package/dist/chunks/{model-resolver-hdjrjngx.js → worktree-hn0qbz2m.js} +34 -34
  153. package/dist/chunks/{model-resolver-j7ztxdyv.js → worktree-hthy47ds.js} +16 -16
  154. package/dist/chunks/{model-resolver-78dab631.js → worktree-j0xszzq0.js} +24 -24
  155. package/dist/chunks/{model-resolver-j113cymg.js → worktree-j113cymg.js} +1 -1
  156. package/dist/chunks/{model-resolver-fe77ttzw.js → worktree-j1rq0xw8.js} +8 -8
  157. package/dist/chunks/{model-resolver-9hpb6mzf.js → worktree-j28jswtw.js} +13 -13
  158. package/dist/chunks/{model-resolver-vdasrjze.js → worktree-j6grf6bb.js} +22 -22
  159. package/dist/chunks/{model-resolver-kxkntq3g.js → worktree-j78bae2j.js} +5 -5
  160. package/dist/chunks/{model-resolver-m5regarp.js → worktree-j7vbh7t2.js} +3 -3
  161. package/dist/chunks/{model-resolver-hm3czf85.js → worktree-jg3dfvq9.js} +1 -1
  162. package/dist/chunks/{model-resolver-wp39e252.js → worktree-jjbrt4w4.js} +11 -11
  163. package/dist/chunks/{model-resolver-h2dp6rby.js → worktree-jjg5yz1h.js} +9 -9
  164. package/dist/chunks/{model-resolver-masd7ga8.js → worktree-jneg3k74.js} +4 -4
  165. package/dist/chunks/{model-resolver-k814nvkf.js → worktree-k814nvkf.js} +1 -1
  166. package/dist/chunks/{model-resolver-we45g5b8.js → worktree-k8f39ak3.js} +48 -48
  167. package/dist/chunks/{model-resolver-8kqcsjtz.js → worktree-kb4178cy.js} +14 -14
  168. package/dist/chunks/{model-resolver-wtgq8nqm.js → worktree-kd4chd64.js} +4 -4
  169. package/dist/chunks/{model-resolver-d599j5f6.js → worktree-krcgmfx1.js} +5 -5
  170. package/dist/chunks/{model-resolver-vcx56sb0.js → worktree-ksj36tw4.js} +6 -6
  171. package/dist/chunks/{model-resolver-kt3bjfbg.js → worktree-kt3bjfbg.js} +1 -1
  172. package/dist/chunks/{model-resolver-m1714858.js → worktree-m1714858.js} +1 -1
  173. package/dist/chunks/{model-resolver-83w2q382.js → worktree-m30wvgj2.js} +35 -35
  174. package/dist/chunks/{model-resolver-7m6e6bj4.js → worktree-m3sy78y2.js} +43 -43
  175. package/dist/chunks/{model-resolver-xk05dnhf.js → worktree-m6f7840m.js} +20 -20
  176. package/dist/chunks/{model-resolver-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{model-resolver-maspj1v3.js → worktree-maspj1v3.js} +1 -1
  178. package/dist/chunks/{model-resolver-rzgd3z9h.js → worktree-mcbcg4yq.js} +11 -11
  179. package/dist/chunks/{model-resolver-ffcdgexk.js → worktree-mhmzddah.js} +9 -9
  180. package/dist/chunks/{model-resolver-8h7ezeqv.js → worktree-mkt943y8.js} +8 -8
  181. package/dist/chunks/{model-resolver-mn53dk4j.js → worktree-mn53dk4j.js} +3 -3
  182. package/dist/chunks/{model-resolver-0jc0zze9.js → worktree-mzf7pqqe.js} +9 -9
  183. package/dist/chunks/{model-resolver-61fq8ets.js → worktree-n3nby4kh.js} +20 -20
  184. package/dist/chunks/{model-resolver-xaj9bxpr.js → worktree-n4q2bts1.js} +32 -32
  185. package/dist/chunks/{model-resolver-86cab14v.js → worktree-n5xdxtnj.js} +17 -17
  186. package/dist/chunks/{model-resolver-nah043kf.js → worktree-nah043kf.js} +1 -1
  187. package/dist/chunks/{model-resolver-2nasskxr.js → worktree-nbwz5qgq.js} +28 -28
  188. package/dist/chunks/{model-resolver-xhrj57em.js → worktree-ntp0y56p.js} +35 -35
  189. package/dist/chunks/{model-resolver-p015t6z3.js → worktree-p015t6z3.js} +2 -2
  190. package/dist/chunks/{model-resolver-7jehd3qf.js → worktree-p0wrzpeb.js} +18 -18
  191. package/dist/chunks/{model-resolver-5wcnt0wa.js → worktree-p58azk3d.js} +11 -11
  192. package/dist/chunks/{model-resolver-5zrxpy3q.js → worktree-p7vhpwh8.js} +5 -5
  193. package/dist/chunks/{model-resolver-tbtqmx60.js → worktree-p8rd148r.js} +2 -2
  194. package/dist/chunks/{model-resolver-xy47wren.js → worktree-p9g6dw9y.js} +89 -89
  195. package/dist/chunks/{model-resolver-xw34nzzk.js → worktree-pbjge5gp.js} +3 -3
  196. package/dist/chunks/{model-resolver-zskq6z57.js → worktree-pdt2ff5a.js} +12 -12
  197. package/dist/chunks/{model-resolver-pknna89w.js → worktree-pknna89w.js} +1 -1
  198. package/dist/chunks/{model-resolver-chmj2sz0.js → worktree-pnqk97j3.js} +16 -16
  199. package/dist/chunks/{model-resolver-hvan4r9d.js → worktree-q066xmm0.js} +24 -24
  200. package/dist/chunks/{model-resolver-ms888k1z.js → worktree-q2d8rzza.js} +9 -9
  201. package/dist/chunks/{model-resolver-nkhqptws.js → worktree-qaky2rz3.js} +21 -21
  202. package/dist/chunks/{model-resolver-akea24pr.js → worktree-qpbq1ttd.js} +17 -17
  203. package/dist/chunks/{model-resolver-xrqjfmtn.js → worktree-qravd527.js} +30 -30
  204. package/dist/chunks/{model-resolver-fxkq0y0b.js → worktree-qyk31xf6.js} +23 -23
  205. package/dist/chunks/{model-resolver-s6ttgfdk.js → worktree-qyky1vbj.js} +21 -21
  206. package/dist/chunks/{model-resolver-6ejkr8wa.js → worktree-qyzf8248.js} +18 -18
  207. package/dist/chunks/{model-resolver-r0yr0wbs.js → worktree-r0yr0wbs.js} +1 -1
  208. package/dist/chunks/{model-resolver-r542h3bh.js → worktree-r542h3bh.js} +1 -1
  209. package/dist/chunks/{model-resolver-6jm5dfm3.js → worktree-r73cphfz.js} +9 -9
  210. package/dist/chunks/{model-resolver-rb9dy4dg.js → worktree-rb9dy4dg.js} +1 -1
  211. package/dist/chunks/{model-resolver-vcx0q4qn.js → worktree-rc8w65gm.js} +21 -21
  212. package/dist/chunks/{model-resolver-ah5t8643.js → worktree-rd5c3v22.js} +31 -31
  213. package/dist/chunks/{model-resolver-x3t9xer4.js → worktree-rdrpd67x.js} +7 -7
  214. package/dist/chunks/{model-resolver-3x2erv17.js → worktree-rh3bv7hm.js} +6 -6
  215. package/dist/chunks/{model-resolver-j2fby693.js → worktree-rkhtrhzc.js} +16 -16
  216. package/dist/chunks/{model-resolver-mb2fjdtf.js → worktree-rm75chpx.js} +33 -33
  217. package/dist/chunks/{model-resolver-wz387nhs.js → worktree-rn2kv32m.js} +11 -11
  218. package/dist/chunks/{model-resolver-fa91c1bh.js → worktree-rphf3yd4.js} +30 -30
  219. package/dist/chunks/{model-resolver-ec0dmxm2.js → worktree-rs5sv2a8.js} +10 -10
  220. package/dist/chunks/{model-resolver-rt5dr6hb.js → worktree-rt5dr6hb.js} +1 -1
  221. package/dist/chunks/{model-resolver-fkj6e9em.js → worktree-rtapny2j.js} +23 -23
  222. package/dist/chunks/{model-resolver-xgzatw4h.js → worktree-s4cnera1.js} +17 -17
  223. package/dist/chunks/{model-resolver-8t76f5pn.js → worktree-s602p396.js} +9 -9
  224. package/dist/chunks/{model-resolver-63ye1ehg.js → worktree-s6fqr474.js} +14 -14
  225. package/dist/chunks/{model-resolver-0z2x41ky.js → worktree-s7e49xxs.js} +17 -17
  226. package/dist/chunks/{model-resolver-sa3fpqfw.js → worktree-sa3fpqfw.js} +2 -2
  227. package/dist/chunks/{model-resolver-8eyz045r.js → worktree-setr6b4n.js} +44 -44
  228. package/dist/chunks/{model-resolver-mna4ccr2.js → worktree-sfzvze88.js} +6 -6
  229. package/dist/chunks/{model-resolver-pp4ewjef.js → worktree-skkyj46b.js} +17 -17
  230. package/dist/chunks/{model-resolver-8j00d0n5.js → worktree-smrfb97d.js} +12 -12
  231. package/dist/chunks/{model-resolver-hvvf9qw8.js → worktree-sq4s6wq1.js} +6 -6
  232. package/dist/chunks/{model-resolver-sqjzf8x2.js → worktree-sqjzf8x2.js} +1 -1
  233. package/dist/chunks/{model-resolver-c9t2ty9q.js → worktree-ssfehs1z.js} +4 -4
  234. package/dist/chunks/{model-resolver-tsp66mz8.js → worktree-stn0kadw.js} +27 -27
  235. package/dist/chunks/{model-resolver-5nb7nmf0.js → worktree-sz7p3par.js} +17 -17
  236. package/dist/chunks/{model-resolver-v842z5bm.js → worktree-t2n4qmf3.js} +1 -1
  237. package/dist/chunks/{model-resolver-nr4h8hhe.js → worktree-t65tnfxg.js} +3 -3
  238. package/dist/chunks/{model-resolver-tczq8hjw.js → worktree-tczq8hjw.js} +1 -1
  239. package/dist/chunks/{model-resolver-rypfym0z.js → worktree-tp98z23w.js} +14 -14
  240. package/dist/chunks/{model-resolver-twv2r8f4.js → worktree-twv2r8f4.js} +2 -2
  241. package/dist/chunks/{model-resolver-v2r1d0zg.js → worktree-v2r1d0zg.js} +1 -1
  242. package/dist/chunks/{model-resolver-gzqxm82s.js → worktree-vcpvdpk3.js} +10 -10
  243. package/dist/chunks/{model-resolver-vd3b3yk9.js → worktree-vd3b3yk9.js} +1 -1
  244. package/dist/chunks/{model-resolver-veqvce7d.js → worktree-veqvce7d.js} +1 -1
  245. package/dist/chunks/{model-resolver-pch3hz0d.js → worktree-vta5p220.js} +4 -4
  246. package/dist/chunks/{model-resolver-0ak2zsy7.js → worktree-vx60mxx6.js} +10 -10
  247. package/dist/chunks/{model-resolver-xge113x8.js → worktree-w145qvk2.js} +10 -10
  248. package/dist/chunks/{model-resolver-40za9wsf.js → worktree-w2eysc6j.js} +9 -9
  249. package/dist/chunks/{model-resolver-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{model-resolver-c8j7dx8q.js → worktree-w78kaheb.js} +11 -11
  251. package/dist/chunks/{model-resolver-f6fgqg68.js → worktree-w78vkh9t.js} +24 -24
  252. package/dist/chunks/{model-resolver-wakvkjy4.js → worktree-wakvkjy4.js} +1 -1
  253. package/dist/chunks/{model-resolver-9bp57grk.js → worktree-wcnxy81f.js} +52 -52
  254. package/dist/chunks/{model-resolver-wd87259q.js → worktree-wd87259q.js} +1 -1
  255. package/dist/chunks/{model-resolver-8qhr1qgv.js → worktree-wggsh2ew.js} +15 -15
  256. package/dist/chunks/worktree-wntn4vfk.js +26 -0
  257. package/dist/chunks/{model-resolver-wr3re1en.js → worktree-wr3re1en.js} +1 -1
  258. package/dist/chunks/{model-resolver-b53a2435.js → worktree-wvyfhptm.js} +17 -17
  259. package/dist/chunks/{model-resolver-ccftg0qn.js → worktree-wx8nkbb1.js} +27 -27
  260. package/dist/chunks/{model-resolver-zbs8468w.js → worktree-wzcykjgt.js} +70 -70
  261. package/dist/chunks/worktree-x2457qsk.js +517 -0
  262. package/dist/chunks/{model-resolver-gr17tpj8.js → worktree-x29n1dd5.js} +24 -24
  263. package/dist/chunks/{model-resolver-vkkqkfme.js → worktree-x564bgvm.js} +7 -7
  264. package/dist/chunks/{model-resolver-mpz4w9bp.js → worktree-x6bmqb9g.js} +15 -15
  265. package/dist/chunks/{model-resolver-gds3y6dw.js → worktree-x8rzfgrc.js} +14 -14
  266. package/dist/chunks/{model-resolver-bstexjd6.js → worktree-xd9cc171.js} +5 -5
  267. package/dist/chunks/{model-resolver-5znn373e.js → worktree-xxjr0q4c.js} +3 -3
  268. package/dist/chunks/{model-resolver-10pb4aek.js → worktree-xy4vra7r.js} +13 -13
  269. package/dist/chunks/{model-resolver-afwwx8by.js → worktree-y35tw0d0.js} +37 -37
  270. package/dist/chunks/{model-resolver-11y6r1g0.js → worktree-y82h6rr8.js} +23 -23
  271. package/dist/chunks/{model-resolver-yb20nhc3.js → worktree-yb20nhc3.js} +1 -1
  272. package/dist/chunks/{model-resolver-160yv0cs.js → worktree-ydsespw1.js} +4 -4
  273. package/dist/chunks/{model-resolver-nxh2s6jf.js → worktree-yj3d1z1y.js} +29 -29
  274. package/dist/chunks/{model-resolver-deqbajdy.js → worktree-yrdnce5a.js} +1 -1
  275. package/dist/chunks/{model-resolver-esjvkzj3.js → worktree-yt6kymc0.js} +4 -4
  276. package/dist/chunks/{model-resolver-2t8c4xp2.js → worktree-yv6n3e4t.js} +8 -8
  277. package/dist/chunks/{model-resolver-65q1a8c2.js → worktree-yxhh0eg2.js} +2 -2
  278. package/dist/chunks/{model-resolver-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{model-resolver-7eq1vvbj.js → worktree-z1dp9nz5.js} +10 -10
  280. package/dist/chunks/{model-resolver-z38nccrw.js → worktree-z38nccrw.js} +1 -1
  281. package/dist/chunks/{model-resolver-x5xqqq2t.js → worktree-z3dz6gn5.js} +4 -4
  282. package/dist/chunks/{model-resolver-1sbnnat1.js → worktree-z4rz3s0w.js} +18 -18
  283. package/dist/chunks/{model-resolver-daht94gm.js → worktree-z54qrd8r.js} +4 -4
  284. package/dist/chunks/{model-resolver-630f2syh.js → worktree-z6b1690w.js} +43 -43
  285. package/dist/chunks/{model-resolver-q5bt1w9a.js → worktree-z8e9ff6b.js} +15 -15
  286. package/dist/chunks/{model-resolver-zkg84ctx.js → worktree-zkg84ctx.js} +1 -1
  287. package/dist/chunks/{model-resolver-mqawjeef.js → worktree-zm3q4tch.js} +26 -26
  288. package/dist/chunks/{model-resolver-nwf2p7qx.js → worktree-zqjghnyq.js} +25 -25
  289. package/dist/chunks/{model-resolver-emq6awqh.js → worktree-ztf6n3de.js} +4 -4
  290. package/dist/chunks/{model-resolver-hy3y5vxb.js → worktree-zweymgaq.js} +11 -11
  291. package/dist/chunks/{model-resolver-dczsttdk.js → worktree-zyeyds15.js} +9 -9
  292. package/dist/chunks/{model-resolver-82ja67e9.js → worktree-zyz3pmwr.js} +8 -8
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +3 -3
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +87 -87
  298. package/dist/config/discovery.js +87 -87
  299. package/dist/config/integration.js +5 -5
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +104 -104
  302. package/dist/config/plugin/agent.js +120 -120
  303. package/dist/config/plugin/command.js +216 -216
  304. package/dist/config/plugin/compaction.js +157 -157
  305. package/dist/config/plugin/compatibility.js +137 -137
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +119 -119
  308. package/dist/config/plugin/image.js +118 -118
  309. package/dist/config/plugin/instruction.js +118 -118
  310. package/dist/config/plugin/location-watcher.js +118 -118
  311. package/dist/config/plugin/mcp.js +129 -129
  312. package/dist/config/plugin/policy.js +120 -120
  313. package/dist/config/plugin/provider.js +119 -119
  314. package/dist/config/plugin/reference.js +120 -120
  315. package/dist/config/plugin/shell.js +118 -118
  316. package/dist/config/plugin/skill-file.js +107 -107
  317. package/dist/config/plugin/skill-scan.js +1 -1
  318. package/dist/config/plugin/skill.js +140 -140
  319. package/dist/config/plugin/snapshot.js +118 -118
  320. package/dist/config/plugin/source.js +121 -121
  321. package/dist/config/plugin/tool-output.js +119 -119
  322. package/dist/config/plugin/websearch.js +117 -117
  323. package/dist/config/plugin/worktree.js +120 -120
  324. package/dist/config/variable.js +1 -1
  325. package/dist/config/watch.js +1 -1
  326. package/dist/config.js +123 -123
  327. package/dist/console-access.js +1 -1
  328. package/dist/credential/sql.js +2 -2
  329. package/dist/credential.js +83 -83
  330. package/dist/database/database.js +76 -76
  331. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  332. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  333. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  334. package/dist/database/drizzle/index.js +15 -15
  335. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  338. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  342. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  343. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  344. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  345. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  346. package/dist/database/drizzle.js +16 -16
  347. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  348. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  349. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  350. package/dist/database/migration/20260225215848_workspace.js +1 -1
  351. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  352. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  353. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  354. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  355. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  356. package/dist/database/migration/20260323234822_events.js +1 -1
  357. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  358. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  359. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  360. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  361. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  362. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  363. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  364. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  365. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  366. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  367. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  368. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  369. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  370. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  371. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  372. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  373. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  374. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  375. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  376. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  377. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  378. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  379. package/dist/database/migration/20260611035744_credential.js +1 -1
  380. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  381. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  382. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  383. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  384. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  385. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  386. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  387. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  388. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  389. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  390. package/dist/database/migration/20260812213948_worktree.js +1 -1
  391. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  392. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  393. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  394. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  395. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  396. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  397. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  398. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  399. package/dist/database/migration.gen.js +53 -53
  400. package/dist/database/migration.js +55 -55
  401. package/dist/database/path.js +2 -2
  402. package/dist/database/schema.gen.js +1 -1
  403. package/dist/database/schema.sql.js +1 -1
  404. package/dist/database/sqlite.bun.js +1 -1
  405. package/dist/database/sqlite.js +1 -1
  406. package/dist/database/sqlite.node.js +1 -1
  407. package/dist/database/sqlite.workerd.js +1 -1
  408. package/dist/database/v1-migration.bun.js +95 -95
  409. package/dist/database/v1-migration.js +1 -1
  410. package/dist/effect/app-node-builder.js +376 -376
  411. package/dist/effect/app-node-platform.js +2 -2
  412. package/dist/effect/keyed-mutex.js +3 -3
  413. package/dist/effect/websocket-constructor.js +1 -1
  414. package/dist/environment/driver.js +1 -1
  415. package/dist/environment/environment.js +98 -98
  416. package/dist/environment/exec-defaults.js +2 -2
  417. package/dist/environment/files.js +1 -1
  418. package/dist/environment/index.js +98 -98
  419. package/dist/environment/local.js +2 -2
  420. package/dist/environment/memory.js +2 -2
  421. package/dist/environment/unavailable.js +1 -1
  422. package/dist/event/sql.js +1 -1
  423. package/dist/event-logger.js +76 -76
  424. package/dist/file-access.js +109 -109
  425. package/dist/file-mutation.js +99 -99
  426. package/dist/file-retention.js +1 -1
  427. package/dist/filesystem/fff.bun.js +2 -2
  428. package/dist/filesystem/fff.js +1 -1
  429. package/dist/filesystem/fff.node.js +2 -2
  430. package/dist/filesystem/fff.workerd.js +2 -2
  431. package/dist/filesystem/location-watcher-policy.js +6 -6
  432. package/dist/filesystem/location-watcher.js +227 -227
  433. package/dist/filesystem/protected.js +1 -1
  434. package/dist/filesystem/search.js +102 -102
  435. package/dist/filesystem/watcher-binding.js +3 -3
  436. package/dist/filesystem/watcher.js +11 -11
  437. package/dist/filesystem.js +107 -107
  438. package/dist/form.js +88 -88
  439. package/dist/formatter/builtins.js +4 -4
  440. package/dist/formatter.js +92 -92
  441. package/dist/generate.js +112 -112
  442. package/dist/git.js +11 -11
  443. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  444. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  445. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  446. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  447. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  448. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  449. package/dist/github-copilot/copilot-provider.js +17 -17
  450. package/dist/github-copilot/models.js +104 -104
  451. package/dist/github-copilot/openai-compatible-error.js +1 -1
  452. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  453. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  454. package/dist/github-copilot/responses/openai-error.js +1 -1
  455. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  456. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  457. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  458. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  459. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  460. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  461. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  462. package/dist/image/photon.js +2 -2
  463. package/dist/image.js +6 -6
  464. package/dist/instance/service.js +5 -5
  465. package/dist/instance.js +367 -367
  466. package/dist/instruction-discovery.js +84 -84
  467. package/dist/instructions/builtins.js +92 -92
  468. package/dist/instructions/index.js +3 -3
  469. package/dist/integration/connection.js +3 -3
  470. package/dist/integration.js +89 -89
  471. package/dist/job.js +82 -82
  472. package/dist/kv/sql.js +2 -2
  473. package/dist/kv.js +77 -77
  474. package/dist/location-activity.js +160 -160
  475. package/dist/location-lifecycle.js +112 -112
  476. package/dist/location-service-map.js +91 -91
  477. package/dist/location-services.js +364 -364
  478. package/dist/location.js +92 -92
  479. package/dist/managed-policy.js +9 -9
  480. package/dist/mcp/client.js +96 -96
  481. package/dist/mcp/index.js +108 -108
  482. package/dist/mcp/instructions.js +141 -141
  483. package/dist/mcp/oauth.js +82 -82
  484. package/dist/mcp/socket-client.js +1 -1
  485. package/dist/mcp/stdio.js +95 -95
  486. package/dist/mime.js +1 -1
  487. package/dist/modal/models.js +104 -104
  488. package/dist/model-resolver.js +104 -104
  489. package/dist/model-retry.js +1 -1
  490. package/dist/model.js +105 -105
  491. package/dist/models-dev.js +112 -112
  492. package/dist/oauth/page.js +1 -1
  493. package/dist/permission/saved.js +86 -86
  494. package/dist/permission/sql.js +5 -5
  495. package/dist/permission.js +120 -120
  496. package/dist/persistent-pty/binary.bun.js +1 -1
  497. package/dist/persistent-pty/daemon.js +1 -1
  498. package/dist/persistent-pty/index.js +92 -92
  499. package/dist/persistent-pty/pty-binding.js +1 -1
  500. package/dist/persistent-pty.js +79 -79
  501. package/dist/plugin/agent.js +80 -80
  502. package/dist/plugin/command.js +107 -107
  503. package/dist/plugin/hooks.js +5 -5
  504. package/dist/plugin/host.js +222 -222
  505. package/dist/plugin/identity.js +5 -5
  506. package/dist/plugin/instance.js +3 -3
  507. package/dist/plugin/internal.js +337 -337
  508. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  509. package/dist/plugin/models-dev.js +101 -101
  510. package/dist/plugin/module.js +120 -120
  511. package/dist/plugin/optimize.js +2 -2
  512. package/dist/plugin/plan.js +107 -107
  513. package/dist/plugin/promise.js +1 -1
  514. package/dist/plugin/provider/amazon-bedrock.js +95 -95
  515. package/dist/plugin/provider/azure.js +118 -118
  516. package/dist/plugin/provider/cerebras.js +1 -1
  517. package/dist/plugin/provider/chatgpt.js +118 -118
  518. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  519. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  520. package/dist/plugin/provider/cohere.js +2 -2
  521. package/dist/plugin/provider/configured.js +114 -114
  522. package/dist/plugin/provider/databricks.js +1 -1
  523. package/dist/plugin/provider/digitalocean.js +98 -98
  524. package/dist/plugin/provider/dynamic.js +2 -2
  525. package/dist/plugin/provider/factory.js +1 -1
  526. package/dist/plugin/provider/github-copilot.js +100 -100
  527. package/dist/plugin/provider/gitlab.js +98 -98
  528. package/dist/plugin/provider/google-vertex.js +115 -115
  529. package/dist/plugin/provider/kilo.js +1 -1
  530. package/dist/plugin/provider/llmgateway.js +82 -82
  531. package/dist/plugin/provider/lmstudio.js +127 -127
  532. package/dist/plugin/provider/local.js +124 -124
  533. package/dist/plugin/provider/modal.js +97 -97
  534. package/dist/plugin/provider/neon.js +1 -1
  535. package/dist/plugin/provider/nvidia.js +1 -1
  536. package/dist/plugin/provider/ollama.js +125 -125
  537. package/dist/plugin/provider/openai-context-caps.js +95 -95
  538. package/dist/plugin/provider/openai.js +118 -118
  539. package/dist/plugin/provider/opencode-legacy.js +105 -105
  540. package/dist/plugin/provider/opencode.js +124 -124
  541. package/dist/plugin/provider/openrouter.js +96 -96
  542. package/dist/plugin/provider/perplexity.js +2 -2
  543. package/dist/plugin/provider/poe.js +83 -83
  544. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  545. package/dist/plugin/provider/sap-ai-core.js +96 -96
  546. package/dist/plugin/provider/sdk-factory.js +1 -1
  547. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  548. package/dist/plugin/provider/vercel.js +95 -95
  549. package/dist/plugin/provider/vllm.js +127 -127
  550. package/dist/plugin/provider/xai.js +96 -96
  551. package/dist/plugin/provider/zenmux.js +1 -1
  552. package/dist/plugin/provider.js +175 -175
  553. package/dist/plugin/sdk.js +76 -76
  554. package/dist/plugin/service.js +3 -3
  555. package/dist/plugin/skill.js +136 -136
  556. package/dist/plugin/source-directory.js +1 -1
  557. package/dist/plugin/supervisor.js +356 -356
  558. package/dist/plugin/tool-input-repair.js +4 -4
  559. package/dist/plugin/update.js +6 -6
  560. package/dist/plugin/vcs/git.js +91 -91
  561. package/dist/plugin/vcs/hg.js +91 -91
  562. package/dist/plugin/verbosity.js +98 -98
  563. package/dist/plugin/warming.js +116 -116
  564. package/dist/plugin/websearch/exa.js +7 -7
  565. package/dist/plugin/websearch/firecrawl.js +8 -8
  566. package/dist/plugin/websearch/index.js +9 -9
  567. package/dist/plugin/websearch/mcp.js +6 -6
  568. package/dist/plugin/websearch/parallel.js +6 -6
  569. package/dist/plugin/websearch/tavily.js +6 -6
  570. package/dist/plugin/websearch/tinyfish.js +8 -8
  571. package/dist/plugin.js +225 -225
  572. package/dist/project/schema.js +6 -6
  573. package/dist/project/sql.js +4 -4
  574. package/dist/project.js +93 -93
  575. package/dist/provider.js +102 -102
  576. package/dist/pty/protocol.js +1 -1
  577. package/dist/pty/ticket.js +1 -1
  578. package/dist/pty.js +101 -101
  579. package/dist/reference/instructions.js +92 -92
  580. package/dist/reference.js +96 -96
  581. package/dist/repository-cache.js +86 -86
  582. package/dist/repository.js +3 -3
  583. package/dist/ripgrep/binary.js +2 -2
  584. package/dist/ripgrep.js +102 -102
  585. package/dist/rpc.js +91 -91
  586. package/dist/schema.js +1 -1
  587. package/dist/session/affinity.js +1 -1
  588. package/dist/session/command.js +78 -78
  589. package/dist/session/compaction.js +141 -141
  590. package/dist/session/context.js +167 -167
  591. package/dist/session/diff.js +93 -93
  592. package/dist/session/environment.js +5 -5
  593. package/dist/session/error.js +5 -5
  594. package/dist/session/event.js +1 -1
  595. package/dist/session/execution/restart.js +225 -225
  596. package/dist/session/execution.js +131 -131
  597. package/dist/session/generate.js +169 -169
  598. package/dist/session/history.js +15 -15
  599. package/dist/session/inbox.js +95 -95
  600. package/dist/session/info.js +3 -3
  601. package/dist/session/instruction-entry.js +83 -83
  602. package/dist/session/instruction-state.js +8 -8
  603. package/dist/session/instructions.js +102 -102
  604. package/dist/session/message-updater.js +2 -2
  605. package/dist/session/message.js +1 -1
  606. package/dist/session/model-request.js +123 -123
  607. package/dist/session/model-transport.js +7 -7
  608. package/dist/session/move.js +135 -135
  609. package/dist/session/projector.js +93 -93
  610. package/dist/session/prompt.js +110 -110
  611. package/dist/session/recent-text.js +1 -1
  612. package/dist/session/revert.js +99 -99
  613. package/dist/session/run-coordinator.js +3 -3
  614. package/dist/session/runner/index.js +3 -3
  615. package/dist/session/runner/llm.js +233 -233
  616. package/dist/session/runner/max-steps.js +1 -1
  617. package/dist/session/runner/model.js +105 -105
  618. package/dist/session/runner/publish-llm-event.js +118 -118
  619. package/dist/session/runner/retry.js +3 -3
  620. package/dist/session/runner/step.js +131 -131
  621. package/dist/session/runner/to-llm-message.js +14 -14
  622. package/dist/session/schema.js +5 -5
  623. package/dist/session/session.js +165 -165
  624. package/dist/session/shell.js +132 -132
  625. package/dist/session/skill.js +108 -108
  626. package/dist/session/sql.js +5 -5
  627. package/dist/session/stats.js +79 -79
  628. package/dist/session/store.js +89 -89
  629. package/dist/session/subagent-completion.js +1 -1
  630. package/dist/session/subagent-job.js +214 -214
  631. package/dist/session/system-prompt.js +1 -1
  632. package/dist/session/title.js +171 -171
  633. package/dist/session/to-session-error.js +117 -117
  634. package/dist/session/transfer.js +223 -223
  635. package/dist/session/usage.js +1 -1
  636. package/dist/session.js +220 -220
  637. package/dist/shell/parse.js +6 -6
  638. package/dist/shell/result.js +1 -1
  639. package/dist/shell/scan.js +1 -1
  640. package/dist/shell/select.js +13 -13
  641. package/dist/shell.js +134 -134
  642. package/dist/skill/discovery.js +6 -6
  643. package/dist/skill/instructions.js +112 -112
  644. package/dist/skill.js +117 -117
  645. package/dist/snapshot.js +96 -96
  646. package/dist/state.js +1 -1
  647. package/dist/tool/html-markdown.js +1 -1
  648. package/dist/tool/http-body.js +1 -1
  649. package/dist/tool/mcp.js +138 -138
  650. package/dist/tool/plugin/edit.js +125 -125
  651. package/dist/tool/plugin/file-diff.js +1 -1
  652. package/dist/tool/plugin/glob.js +129 -129
  653. package/dist/tool/plugin/grep.js +129 -129
  654. package/dist/tool/plugin/mcp-resource.js +129 -129
  655. package/dist/tool/plugin/opencode.js +114 -114
  656. package/dist/tool/plugin/patch.js +125 -125
  657. package/dist/tool/plugin/question.js +106 -106
  658. package/dist/tool/plugin/read.js +130 -130
  659. package/dist/tool/plugin/shell.js +217 -217
  660. package/dist/tool/plugin/skill.js +118 -118
  661. package/dist/tool/plugin/subagent.js +221 -221
  662. package/dist/tool/plugin/todo.js +136 -136
  663. package/dist/tool/plugin/webfetch.js +118 -118
  664. package/dist/tool/plugin/websearch.js +115 -115
  665. package/dist/tool/plugin/write.js +127 -127
  666. package/dist/tool/read-filesystem.js +103 -103
  667. package/dist/tool/runtime.js +1 -1
  668. package/dist/tool-output.js +7 -7
  669. package/dist/tool.js +14 -14
  670. package/dist/usage-limits.js +91 -91
  671. package/dist/util/error-summary.js +1 -1
  672. package/dist/util/git-executable.js +3 -3
  673. package/dist/util/lazy.js +1 -1
  674. package/dist/util/slug.js +1 -1
  675. package/dist/util/token.js +1 -1
  676. package/dist/util/which.js +1 -1
  677. package/dist/util/wildcard.js +1 -1
  678. package/dist/v1/config/agent.js +5 -5
  679. package/dist/v1/config/command.js +3 -3
  680. package/dist/v1/config/mcp.js +6 -6
  681. package/dist/v1/config/migrate.js +97 -97
  682. package/dist/v1/config/permission.js +7 -7
  683. package/dist/v1/config/plugin.js +3 -3
  684. package/dist/v1/config/provider-options.js +1 -1
  685. package/dist/v1/config/provider.js +2 -2
  686. package/dist/variant.js +98 -98
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +94 -94
  689. package/dist/voice.js +92 -92
  690. package/dist/websearch.js +86 -86
  691. package/dist/wellknown/plugin.js +80 -80
  692. package/dist/wellknown.js +83 -83
  693. package/dist/workspace/driver.js +7 -7
  694. package/dist/workspace/sql.js +1 -1
  695. package/dist/workspace.js +86 -86
  696. package/dist/worktree/directory.js +2 -2
  697. package/dist/worktree/git.js +11 -11
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree/strategies.js +94 -94
  700. package/dist/worktree.js +99 -99
  701. package/package.json +8 -8
  702. package/dist/chunks/model-resolver-7ydrh6n0.js +0 -517
  703. package/dist/chunks/model-resolver-bnarqm09.js +0 -261
  704. package/dist/chunks/model-resolver-bzdg4g04.js +0 -26
  705. package/dist/chunks/model-resolver-jztn5z23.js +0 -18
  706. /package/dist/chunks/{model-resolver-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  707. /package/dist/chunks/{model-resolver-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  708. /package/dist/chunks/{model-resolver-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  709. /package/dist/chunks/{model-resolver-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  710. /package/dist/chunks/{model-resolver-24dcb14g.js → worktree-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{model-resolver-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{model-resolver-2bv980vf.js → worktree-2bv980vf.js} +0 -0
  713. /package/dist/chunks/{model-resolver-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{model-resolver-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{model-resolver-3asan66x.js → worktree-3asan66x.js} +0 -0
  716. /package/dist/chunks/{model-resolver-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{model-resolver-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{model-resolver-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{model-resolver-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{model-resolver-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{model-resolver-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{model-resolver-53557ph1.js → worktree-53557ph1.js} +0 -0
  723. /package/dist/chunks/{model-resolver-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{model-resolver-5fjb7ams.js → worktree-5fjb7ams.js} +0 -0
  725. /package/dist/chunks/{model-resolver-6prwharc.js → worktree-6prwharc.js} +0 -0
  726. /package/dist/chunks/{model-resolver-6q2bdcd1.js → worktree-6q2bdcd1.js} +0 -0
  727. /package/dist/chunks/{model-resolver-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{model-resolver-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{model-resolver-822emrt2.js → worktree-822emrt2.js} +0 -0
  730. /package/dist/chunks/{model-resolver-84wd9syh.js → worktree-84wd9syh.js} +0 -0
  731. /package/dist/chunks/{model-resolver-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{model-resolver-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{model-resolver-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{model-resolver-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{model-resolver-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{model-resolver-a058387c.js → worktree-a058387c.js} +0 -0
  737. /package/dist/chunks/{model-resolver-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{model-resolver-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{model-resolver-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{model-resolver-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{model-resolver-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{model-resolver-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{model-resolver-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{model-resolver-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{model-resolver-cqv5kn06.js → worktree-cqv5kn06.js} +0 -0
  746. /package/dist/chunks/{model-resolver-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  747. /package/dist/chunks/{model-resolver-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  748. /package/dist/chunks/{model-resolver-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  749. /package/dist/chunks/{model-resolver-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  750. /package/dist/chunks/{model-resolver-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  751. /package/dist/chunks/{model-resolver-df08tz66.js → worktree-df08tz66.js} +0 -0
  752. /package/dist/chunks/{model-resolver-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  753. /package/dist/chunks/{model-resolver-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  754. /package/dist/chunks/{model-resolver-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  755. /package/dist/chunks/{model-resolver-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  756. /package/dist/chunks/{model-resolver-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  757. /package/dist/chunks/{model-resolver-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  758. /package/dist/chunks/{model-resolver-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  759. /package/dist/chunks/{model-resolver-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  760. /package/dist/chunks/{model-resolver-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  761. /package/dist/chunks/{model-resolver-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  762. /package/dist/chunks/{model-resolver-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{model-resolver-g86h250q.js → worktree-g86h250q.js} +0 -0
  764. /package/dist/chunks/{model-resolver-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{model-resolver-gftt206x.js → worktree-gftt206x.js} +0 -0
  766. /package/dist/chunks/{model-resolver-hcxmzztb.js → worktree-hcxmzztb.js} +0 -0
  767. /package/dist/chunks/{model-resolver-hk9envan.js → worktree-hk9envan.js} +0 -0
  768. /package/dist/chunks/{model-resolver-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{model-resolver-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{model-resolver-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{model-resolver-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{model-resolver-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{model-resolver-jwr30sdr.js → worktree-jwr30sdr.js} +0 -0
  774. /package/dist/chunks/{model-resolver-jze0r7bz.js → worktree-jze0r7bz.js} +0 -0
  775. /package/dist/chunks/{model-resolver-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  776. /package/dist/chunks/{model-resolver-m18g726c.js → worktree-m18g726c.js} +0 -0
  777. /package/dist/chunks/{model-resolver-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  778. /package/dist/chunks/{model-resolver-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  779. /package/dist/chunks/{model-resolver-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  780. /package/dist/chunks/{model-resolver-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  781. /package/dist/chunks/{model-resolver-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  782. /package/dist/chunks/{model-resolver-pkyv6v7h.js → worktree-pkyv6v7h.js} +0 -0
  783. /package/dist/chunks/{model-resolver-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  784. /package/dist/chunks/{model-resolver-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  785. /package/dist/chunks/{model-resolver-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  786. /package/dist/chunks/{model-resolver-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  787. /package/dist/chunks/{model-resolver-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  788. /package/dist/chunks/{model-resolver-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
  789. /package/dist/chunks/{model-resolver-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  790. /package/dist/chunks/{model-resolver-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  791. /package/dist/chunks/{model-resolver-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  792. /package/dist/chunks/{model-resolver-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  793. /package/dist/chunks/{model-resolver-ve7vex1e.js → worktree-ve7vex1e.js} +0 -0
  794. /package/dist/chunks/{model-resolver-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  795. /package/dist/chunks/{model-resolver-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
  796. /package/dist/chunks/{model-resolver-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  797. /package/dist/chunks/{model-resolver-wjj7prxr.js → worktree-wjj7prxr.js} +0 -0
  798. /package/dist/chunks/{model-resolver-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  799. /package/dist/chunks/{model-resolver-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  800. /package/dist/chunks/{model-resolver-x61499pn.js → worktree-x61499pn.js} +0 -0
  801. /package/dist/chunks/{model-resolver-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  802. /package/dist/chunks/{model-resolver-y8f7s663.js → worktree-y8f7s663.js} +0 -0
  803. /package/dist/chunks/{model-resolver-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  804. /package/dist/chunks/{model-resolver-ym463w8f.js → worktree-ym463w8f.js} +0 -0
  805. /package/dist/chunks/{model-resolver-z5v4ffb3.js → worktree-z5v4ffb3.js} +0 -0
  806. /package/dist/chunks/{model-resolver-z9919s4g.js → worktree-z9919s4g.js} +0 -0
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./model-resolver-vd3b3yk9.js";
3
+ } from "./worktree-vd3b3yk9.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service9,
13
- node: () => node11
12
+ Service: () => Service6,
13
+ node: () => node7
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service6 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service9, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service6, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service9.of({
44
+ return Service6.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node11 = makeLocationNode({ service: Service9, layer, deps: [] });
51
+ var node7 = makeLocationNode({ service: Service6, layer, deps: [] });
52
52
 
53
- export { Service9, node11, exports_location_watcher_policy };
53
+ export { Service6, node7, exports_location_watcher_policy };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render2
3
- } from "./model-resolver-g7esga4v.js";
3
+ } from "./worktree-g7esga4v.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-z5v4ffb3.js";
3
+ } from "./worktree-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
10
10
  __export(exports_schema, {
11
11
  Current: () => Current3,
12
- Event: () => Event20,
12
+ Event: () => Event19,
13
13
  ID: () => ID18,
14
- Info: () => Info30,
14
+ Info: () => Info29,
15
15
  ProjectSchema: () => exports_schema,
16
16
  UpdateInput: () => UpdateInput4,
17
17
  Vcs: () => Vcs3
@@ -20,12 +20,12 @@ import { Schema } from "effect";
20
20
  import { Project } from "@opencode/schema/project";
21
21
  var ID18 = Project.ID;
22
22
  var Current3 = Project.Current;
23
- var Info30 = Project.Info;
23
+ var Info29 = Project.Info;
24
24
  var UpdateInput4 = Project.UpdateInput;
25
- var Event20 = Project.Event;
25
+ var Event19 = Project.Event;
26
26
  var Vcs3 = Schema.Struct({
27
27
  type: Project.Vcs,
28
28
  store: AbsolutePath2
29
29
  });
30
30
 
31
- export { ID18, Current3, Info30, UpdateInput4, Event20, Vcs3, exports_schema };
31
+ export { ID18, Current3, Info29, UpdateInput4, Event19, Vcs3, exports_schema };
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service67,
3
- node70
4
- } from "./model-resolver-s8m3mb5a.js";
2
+ Service83,
3
+ node86
4
+ } from "./worktree-gdr92bwx.js";
5
5
  import {
6
6
  SessionMessage2
7
- } from "./model-resolver-gftt206x.js";
7
+ } from "./worktree-gftt206x.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./model-resolver-hzrfc1p4.js";
10
+ } from "./worktree-arz7hw7x.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./worktree-9rqn6x4v.js";
14
14
 
15
15
  // src/job.ts
16
16
  var exports_job = {};
17
17
  __export(exports_job, {
18
18
  Job: () => exports_job,
19
- Service: () => Service62,
20
- make: () => make20,
21
- node: () => node65
19
+ Service: () => Service48,
20
+ make: () => make19,
21
+ node: () => node50
22
22
  });
23
23
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
24
24
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
48
48
  var backgroundPrefix = "job.background/";
49
49
  var COMPLETED_LIMIT = 25;
50
50
 
51
- class Service62 extends Context.Service()("@opencode/Job") {
51
+ class Service48 extends Context.Service()("@opencode/Job") {
52
52
  }
53
53
  function snapshot(job) {
54
54
  return {
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
83
83
  next.set(sessionID, count - 1);
84
84
  return next;
85
85
  }
86
- var make20 = Effect.gen(function* () {
87
- const kv = yield* Service67;
86
+ var make19 = Effect.gen(function* () {
87
+ const kv = yield* Service83;
88
88
  const state = {
89
89
  jobs: yield* SynchronizedRef.make(new Map),
90
90
  scope: yield* Scope.Scope
@@ -343,7 +343,7 @@ var make20 = Effect.gen(function* () {
343
343
  next.delete(entry[0]);
344
344
  return next;
345
345
  })));
346
- return Service62.of({
346
+ return Service48.of({
347
347
  get,
348
348
  start,
349
349
  wait,
@@ -356,7 +356,7 @@ var make20 = Effect.gen(function* () {
356
356
  completeBackground
357
357
  });
358
358
  });
359
- var layer = Layer.effect(Service62, make20);
360
- var node65 = makeGlobalNode({ service: Service62, layer, deps: [node70] });
359
+ var layer = Layer.effect(Service48, make19);
360
+ var node50 = makeGlobalNode({ service: Service48, layer, deps: [node86] });
361
361
 
362
- export { Service62, make20, node65, exports_job };
362
+ export { Service48, make19, node50, exports_job };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ID13
3
- } from "./model-resolver-5cy8hwkn.js";
3
+ } from "./worktree-8wezqzag.js";
4
4
  import {
5
5
  configuredSettings2
6
- } from "./model-resolver-t2tc5r6d.js";
6
+ } from "./worktree-7a4k0486.js";
7
7
 
8
8
  // src/plugin/provider/cloudflare-workers-ai.ts
9
9
  import { Effect } from "effect";
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service85,
2
+ Service86,
3
3
  node89
4
- } from "./model-resolver-z9cvf2rv.js";
4
+ } from "./worktree-f21hf6dz.js";
5
5
  import {
6
6
  create3
7
- } from "./model-resolver-vd3b3yk9.js";
7
+ } from "./worktree-vd3b3yk9.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./model-resolver-m3xvpryp.js";
10
+ } from "./worktree-d30eyz0g.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./worktree-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event4,
21
- ID: () => ID4,
22
- Info: () => Info5,
20
+ Event: () => Event6,
21
+ ID: () => ID5,
22
+ Info: () => Info9,
23
23
  Name: () => Name2,
24
- Service: () => Service30,
24
+ Service: () => Service34,
25
25
  Skill: () => exports_skill5,
26
- Source: () => Source3,
26
+ Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node33,
29
+ node: () => node37,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -35,13 +35,13 @@ import { FSUtil } from "@opencode/util/fs-util";
35
35
  import path from "path";
36
36
  import { Context, Effect, Layer } from "effect";
37
37
  import { Skill } from "@opencode/schema/skill";
38
- import { Event as Event4 } from "@opencode/schema/skill";
38
+ import { Event as Event6 } from "@opencode/schema/skill";
39
39
  var DirectorySource2 = Skill.DirectorySource;
40
40
  var UrlSource2 = Skill.UrlSource;
41
41
  var EmbeddedSource2 = Skill.EmbeddedSource;
42
- var Source3 = Skill.Source;
43
- var Info5 = Skill.Info;
44
- var ID4 = Skill.ID;
42
+ var Source4 = Skill.Source;
43
+ var Info9 = Skill.Info;
44
+ var ID5 = Skill.ID;
45
45
  var Name2 = Skill.Name;
46
46
  var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
47
47
  var toModelOutput3 = (skill, files) => {
@@ -78,21 +78,21 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
78
78
  };
79
79
  });
80
80
 
81
- class Service30 extends Context.Service()("@opencode/Skill") {
81
+ class Service34 extends Context.Service()("@opencode/Skill") {
82
82
  }
83
- var layer = Layer.effect(Service30, Effect.gen(function* () {
84
- const bus = yield* Service85;
83
+ var layer = Layer.effect(Service34, Effect.gen(function* () {
84
+ const bus = yield* Service86;
85
85
  const state = create3({
86
86
  name: "skill",
87
87
  initial: () => ({ skills: new Map }),
88
88
  editor: (editor) => ({
89
89
  list: () => Array.from(editor.skills.values()),
90
- get: (id) => editor.skills.get(ID4.make(id)),
90
+ get: (id) => editor.skills.get(ID5.make(id)),
91
91
  add: (skill) => {
92
92
  editor.skills.set(skill.id, { ...skill });
93
93
  },
94
94
  update: (id, update) => {
95
- const key = ID4.make(id);
95
+ const key = ID5.make(id);
96
96
  const current = editor.skills.get(key);
97
97
  if (!current)
98
98
  return;
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
100
100
  current.id = key;
101
101
  },
102
102
  remove: (id) => {
103
- editor.skills.delete(ID4.make(id));
103
+ editor.skills.delete(ID5.make(id));
104
104
  }
105
105
  }),
106
106
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
107
107
  });
108
- return Service30.of({
108
+ return Service34.of({
109
109
  transform: state.transform,
110
110
  reload: state.reload,
111
111
  get: Effect.fn("Skill.get")(function* (id) {
@@ -116,10 +116,10 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node33 = makeLocationNode({
120
- service: Service30,
119
+ var node37 = makeLocationNode({
120
+ service: Service34,
121
121
  layer,
122
122
  deps: [node89]
123
123
  });
124
124
 
125
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info5, ID4, Name2, available2, toModelOutput3, prepare3, Service30, node33, exports_skill5, Event4 };
125
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info9, ID5, Name2, available2, toModelOutput3, prepare3, Service34, node37, exports_skill5, Event6 };
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service52
3
- } from "./model-resolver-61fq8ets.js";
2
+ Service56
3
+ } from "./worktree-n3nby4kh.js";
4
4
  import {
5
- Service51
6
- } from "./model-resolver-7qnz14k0.js";
5
+ Service55
6
+ } from "./worktree-00cp3g78.js";
7
7
  import {
8
8
  parse2
9
- } from "./model-resolver-7j9fhv60.js";
9
+ } from "./worktree-gstbwwx4.js";
10
10
  import {
11
11
  ignore2,
12
12
  scan2
13
- } from "./model-resolver-nah043kf.js";
13
+ } from "./worktree-nah043kf.js";
14
14
  import {
15
15
  __export
16
- } from "./model-resolver-9rqn6x4v.js";
16
+ } from "./worktree-9rqn6x4v.js";
17
17
 
18
18
  // src/config/plugin/compatibility.ts
19
19
  var exports_compatibility = {};
20
20
  __export(exports_compatibility, {
21
21
  ConfigCompatibilityPlugin: () => exports_compatibility,
22
- Plugin: () => Plugin46
22
+ Plugin: () => Plugin26
23
23
  });
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
25
  import { FSUtil } from "@opencode/util/fs-util";
26
26
  import path from "path";
27
27
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
28
- var Plugin46 = define({
28
+ var Plugin26 = define({
29
29
  id: "opencode.config.compatibility",
30
30
  effect: Effect.fn(function* (ctx) {
31
- const config = yield* Service51;
31
+ const config = yield* Service55;
32
32
  const fs = yield* FSUtil.Service;
33
- const watcher = yield* Service52;
33
+ const watcher = yield* Service56;
34
34
  const watches = yield* FiberMap.make();
35
35
  const changes = yield* PubSub.sliding(1);
36
36
  const lock = Semaphore.makeUnsafe(1);
@@ -76,4 +76,4 @@ var Plugin46 = define({
76
76
  })
77
77
  });
78
78
 
79
- export { Plugin46, exports_compatibility };
79
+ export { Plugin26, exports_compatibility };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service60
3
- } from "./model-resolver-h2dp6rby.js";
2
+ Service67
3
+ } from "./worktree-jjg5yz1h.js";
4
4
  import {
5
- Service40
6
- } from "./model-resolver-hvvf9qw8.js";
5
+ Service47
6
+ } from "./worktree-sq4s6wq1.js";
7
7
  import {
8
8
  detect2
9
- } from "./model-resolver-2z1j29yd.js";
9
+ } from "./worktree-2z1j29yd.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./model-resolver-jztn5z23.js";
12
+ } from "./worktree-f8ma18fn.js";
13
13
  import {
14
- Service61
15
- } from "./model-resolver-me7kxg3j.js";
14
+ Service68
15
+ } from "./worktree-45t4pvv9.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./model-resolver-jctb9d8a.js";
19
+ } from "./worktree-0p25w9ph.js";
20
20
  import {
21
21
  prepare3,
22
- Service30
23
- } from "./model-resolver-tb5m0pzj.js";
22
+ Service34
23
+ } from "./worktree-e9p3jgk6.js";
24
24
  import {
25
25
  __export
26
- } from "./model-resolver-9rqn6x4v.js";
26
+ } from "./worktree-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service40;
42
+ const instances = yield* Service47;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service61;
45
+ const hooks = yield* Service68;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service30;
64
+ const skillService = yield* Service34;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -124,7 +124,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
124
124
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
125
125
  if (!mime.startsWith("image/"))
126
126
  return { data: Base64.make(data), mime };
127
- const image = yield* Service60;
127
+ const image = yield* Service67;
128
128
  const label = attachmentLabel(input);
129
129
  const content = { uri: label, content: data, encoding: "base64", mime };
130
130
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-z5v4ffb3.js";
3
+ } from "./worktree-z5v4ffb3.js";
4
4
  import {
5
- Service83
6
- } from "./model-resolver-228bjbav.js";
5
+ Service80
6
+ } from "./worktree-86djksxe.js";
7
7
  import {
8
- Service41
9
- } from "./model-resolver-7jehd3qf.js";
8
+ Service61
9
+ } from "./worktree-p0wrzpeb.js";
10
10
  import {
11
- Service6
12
- } from "./model-resolver-3d1a3cpa.js";
11
+ Service11
12
+ } from "./worktree-695afxk5.js";
13
13
  import {
14
14
  NotFound3
15
- } from "./model-resolver-zkg84ctx.js";
15
+ } from "./worktree-zkg84ctx.js";
16
16
  import {
17
17
  BinaryFileError2,
18
18
  MediaIngestLimitError2,
@@ -23,25 +23,25 @@ import {
23
23
  TextPage2,
24
24
  ListPage2,
25
25
  Service25
26
- } from "./model-resolver-wp39e252.js";
26
+ } from "./worktree-jjbrt4w4.js";
27
27
  import {
28
28
  __export
29
- } from "./model-resolver-9rqn6x4v.js";
29
+ } from "./worktree-9rqn6x4v.js";
30
30
 
31
31
  // src/tool/plugin/read.ts
32
32
  var exports_read = {};
33
33
  __export(exports_read, {
34
- Input: () => Input8,
35
- Plugin: () => Plugin27,
34
+ Input: () => Input10,
35
+ Plugin: () => Plugin11,
36
36
  ReadTool: () => exports_read,
37
- name: () => name8,
38
- toModelContent: () => toModelContent3
37
+ name: () => name10,
38
+ toModelContent: () => toModelContent5
39
39
  });
40
40
  import { basename, dirname, join } from "path";
41
41
  import { ToolFailure } from "@opencode/ai/effect";
42
42
  import { Effect, Schema } from "effect";
43
43
  import { FSUtil } from "@opencode/util/fs-util";
44
- var name8 = "read";
44
+ var name10 = "read";
45
45
  var FILENAME = "AGENTS.md";
46
46
  var LocationInput = Schema.Struct({
47
47
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
52
52
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
53
53
  })
54
54
  });
55
- var Input8 = LocationInput;
55
+ var Input10 = LocationInput;
56
56
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
57
- var Plugin27 = {
57
+ var Plugin11 = {
58
58
  id: "opencode.tool.read",
59
59
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
60
60
  const reader = yield* Service25;
61
- const access = yield* Service41;
62
- const sessionInstructions = yield* Service6;
61
+ const access = yield* Service61;
62
+ const sessionInstructions = yield* Service11;
63
63
  const fs = yield* FSUtil.Service;
64
- const location = yield* Service83;
64
+ const location = yield* Service80;
65
65
  yield* ctx.tool.transform((editor) => editor.add({
66
- name: name8,
66
+ name: name10,
67
67
  options: { codemode: false },
68
68
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
69
- input: Input8,
69
+ input: Input10,
70
70
  output: Output,
71
71
  execute: (input, context) => {
72
72
  return Effect.gen(function* () {
@@ -110,7 +110,7 @@ var Plugin27 = {
110
110
  return { output: result.content, path: result.path };
111
111
  }).pipe(Effect.map((result) => ({
112
112
  output: result.output,
113
- content: toModelContent3(result.path, input.offset, result.output),
113
+ content: toModelContent5(result.path, input.offset, result.output),
114
114
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
115
115
  })), Effect.mapError((error) => {
116
116
  if (error instanceof ToolFailure)
@@ -143,7 +143,7 @@ ${suggestions.join(`
143
143
  });
144
144
  })
145
145
  };
146
- var toModelContent3 = (path, offset, output) => {
146
+ var toModelContent5 = (path, offset, output) => {
147
147
  if (output.type === "file" && output.encoding === "base64")
148
148
  return [
149
149
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -179,4 +179,4 @@ var toModelContent3 = (path, offset, output) => {
179
179
  `);
180
180
  };
181
181
 
182
- export { name8, Input8, Plugin27, toModelContent3, exports_read };
182
+ export { name10, Input10, Plugin11, toModelContent5, exports_read };
@@ -1,25 +1,25 @@
1
1
  import {
2
- Service86,
2
+ Service87,
3
3
  node90
4
- } from "./model-resolver-smcjsr17.js";
4
+ } from "./worktree-9qpye6ef.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./model-resolver-2710q6r3.js";
8
+ } from "./worktree-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./model-resolver-x8nvjgx0.js";
11
+ } from "./worktree-11hfp36g.js";
12
12
  import {
13
13
  __export
14
- } from "./model-resolver-9rqn6x4v.js";
14
+ } from "./worktree-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
18
18
  __export(exports_bus, {
19
19
  Bus: () => exports_bus,
20
20
  InvalidDurableEventError: () => InvalidDurableEventError2,
21
- Service: () => Service85,
22
- configured: () => configured12,
21
+ Service: () => Service86,
22
+ configured: () => configured11,
23
23
  durable: () => durable2,
24
24
  ephemeral: () => ephemeral2,
25
25
  isSynced: () => isSynced2,
@@ -78,13 +78,13 @@ var ephemeral2 = Event.ephemeral;
78
78
  var isSynced2 = (item) => item.type === "log.synced";
79
79
  var isDefinition = (input) => !Array.isArray(input);
80
80
 
81
- class Service85 extends Context.Service()("@opencode/Bus") {
81
+ class Service86 extends Context.Service()("@opencode/Bus") {
82
82
  }
83
- function configured12(options) {
83
+ function configured11(options) {
84
84
  return makeGlobalNode({
85
- service: Service85,
85
+ service: Service86,
86
86
  deps: [node90],
87
- layer: Layer.effect(Service85, Effect.gen(function* () {
87
+ layer: Layer.effect(Service86, Effect.gen(function* () {
88
88
  const { Location } = yield* Effect.promise(() => import("../location.js"));
89
89
  const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
90
90
  const pubsub = {
@@ -95,7 +95,7 @@ function configured12(options) {
95
95
  const projectors = new Map;
96
96
  const listeners = new Array;
97
97
  const durableLocks = makeUnsafe2();
98
- const { db } = yield* Service86;
98
+ const { db } = yield* Service87;
99
99
  const logReadPageSize = options?.logReadPageSize ?? 512;
100
100
  const persist = options?.persist ?? false;
101
101
  const sessions = new Map;
@@ -527,7 +527,7 @@ function configured12(options) {
527
527
  list.push((event) => projector(event));
528
528
  projectors.set(key, list);
529
529
  });
530
- return Service85.of({
530
+ return Service86.of({
531
531
  publish,
532
532
  publishAll,
533
533
  subscribe,
@@ -541,6 +541,6 @@ function configured12(options) {
541
541
  }))
542
542
  });
543
543
  }
544
- var node89 = configured12();
544
+ var node89 = configured11();
545
545
 
546
- export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service85, configured12, node89, exports_bus };
546
+ export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service86, configured11, node89, exports_bus };