@opencode/core 0.0.0-dev-19939 → 0.0.0-dev-19959

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 (802) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{agent-vhvn8xxs.js → worktree-00npq5hg.js} +42 -42
  8. package/dist/chunks/{agent-c0mr470r.js → worktree-03513dpk.js} +13 -13
  9. package/dist/chunks/{agent-348gb89b.js → worktree-0ahhqjdx.js} +22 -22
  10. package/dist/chunks/{agent-6hvxcsy0.js → worktree-0edr8emb.js} +8 -8
  11. package/dist/chunks/{agent-2d57kztd.js → worktree-0ft9cg2j.js} +4 -4
  12. package/dist/chunks/{agent-rhjbct0v.js → worktree-0gdmqesm.js} +4 -4
  13. package/dist/chunks/worktree-0mesazry.js +4 -0
  14. package/dist/chunks/{agent-vfyx1xy1.js → worktree-0mkssq3p.js} +24 -24
  15. package/dist/chunks/{agent-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{agent-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{agent-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{agent-zqq6ndec.js → worktree-1mq78cxw.js} +38 -38
  19. package/dist/chunks/{agent-edf18fwt.js → worktree-1nd760hn.js} +23 -23
  20. package/dist/chunks/{agent-3y8yawqa.js → worktree-1p2ds4p0.js} +11 -11
  21. package/dist/chunks/{agent-81eajdsq.js → worktree-1qsv2vsq.js} +21 -21
  22. package/dist/chunks/{agent-yhykjk6q.js → worktree-1r0y6anp.js} +25 -25
  23. package/dist/chunks/{agent-w9rjmhg2.js → worktree-1sfwps64.js} +15 -15
  24. package/dist/chunks/{agent-5e7r050g.js → worktree-21cb4yfq.js} +1 -1
  25. package/dist/chunks/{agent-21r38tys.js → worktree-21r38tys.js} +1 -1
  26. package/dist/chunks/{agent-zwmb00wq.js → worktree-22da35st.js} +17 -17
  27. package/dist/chunks/{agent-1qyqkqe4.js → worktree-27w3txew.js} +14 -14
  28. package/dist/chunks/{agent-8qvkbm9p.js → worktree-28d8znnm.js} +4 -4
  29. package/dist/chunks/{agent-k8awv4zh.js → worktree-2993mdqz.js} +5 -5
  30. package/dist/chunks/{agent-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{agent-d4sp9rf7.js → worktree-2hz0qpna.js} +12 -14
  32. package/dist/chunks/{agent-rvs7jmzp.js → worktree-2k92p94a.js} +50 -50
  33. package/dist/chunks/{agent-zh9a0jmt.js → worktree-2w250fb9.js} +9 -9
  34. package/dist/chunks/{agent-zryg9yjn.js → worktree-2yyeacqq.js} +18 -18
  35. package/dist/chunks/{agent-afbgadfc.js → worktree-2zj1evwc.js} +28 -28
  36. package/dist/chunks/{agent-eqfk2yd1.js → worktree-32g4c5x7.js} +8 -8
  37. package/dist/chunks/{agent-03heh432.js → worktree-33gh8jtn.js} +37 -37
  38. package/dist/chunks/{agent-1ygqh575.js → worktree-33w4ejhs.js} +6 -6
  39. package/dist/chunks/{agent-3g2nmk79.js → worktree-36g34y2m.js} +28 -28
  40. package/dist/chunks/{agent-5sqqcv2m.js → worktree-3885gykz.js} +24 -24
  41. package/dist/chunks/{agent-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{agent-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  43. package/dist/chunks/worktree-3p652h0e.js +26 -0
  44. package/dist/chunks/{agent-2e96adxv.js → worktree-3s810fg1.js} +6 -6
  45. package/dist/chunks/{agent-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{agent-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{agent-y5df08dr.js → worktree-421r5d5v.js} +12 -12
  48. package/dist/chunks/{agent-v452jk09.js → worktree-45hwf2ve.js} +16 -16
  49. package/dist/chunks/{agent-x9s20f53.js → worktree-46dahfew.js} +47 -47
  50. package/dist/chunks/{agent-cwp77bqy.js → worktree-486a1zpr.js} +15 -15
  51. package/dist/chunks/{agent-5544h6er.js → worktree-4947sgj4.js} +10 -10
  52. package/dist/chunks/{agent-wyx8ky32.js → worktree-4wx50nne.js} +12 -12
  53. package/dist/chunks/{agent-5taftw3n.js → worktree-51a1jr9z.js} +9 -9
  54. package/dist/chunks/{agent-q06j225y.js → worktree-54h1gy1n.js} +32 -32
  55. package/dist/chunks/{agent-ggcsatw5.js → worktree-58rxp6d3.js} +5 -5
  56. package/dist/chunks/{agent-5c4hm403.js → worktree-5c4hm403.js} +3 -3
  57. package/dist/chunks/{agent-ymf79dpk.js → worktree-5ca5497x.js} +4 -4
  58. package/dist/chunks/{agent-5daktx2q.js → worktree-5daktx2q.js} +1 -1
  59. package/dist/chunks/{agent-q2q7z127.js → worktree-5dmcr3b1.js} +27 -27
  60. package/dist/chunks/{agent-qby9dwvd.js → worktree-5eer2xf9.js} +4 -4
  61. package/dist/chunks/{agent-nng2ktcm.js → worktree-5frpvc34.js} +2 -2
  62. package/dist/chunks/{agent-bp4eqg1s.js → worktree-5gq0j8y6.js} +40 -40
  63. package/dist/chunks/{agent-g3dvzzsn.js → worktree-5gvw5jwx.js} +17 -17
  64. package/dist/chunks/{agent-dv98y0zm.js → worktree-5kq5qec8.js} +30 -30
  65. package/dist/chunks/{agent-h6r3nrb9.js → worktree-5mtzsd3b.js} +4 -4
  66. package/dist/chunks/{agent-p3gycn8b.js → worktree-5pdqrmgg.js} +13 -13
  67. package/dist/chunks/{agent-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{agent-bcwpxhz1.js → worktree-5w1b7248.js} +5 -5
  69. package/dist/chunks/worktree-619r8v3y.js +18 -0
  70. package/dist/chunks/{agent-669tq793.js → worktree-669tq793.js} +1 -1
  71. package/dist/chunks/{agent-mjq5y8n2.js → worktree-6f8fr4j0.js} +5 -5
  72. package/dist/chunks/{agent-5h6kfehj.js → worktree-6ggbzja4.js} +5 -5
  73. package/dist/chunks/{agent-2402vzrj.js → worktree-6h73sxmp.js} +5 -5
  74. package/dist/chunks/{agent-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{agent-7z7az0f5.js → worktree-6rjq4ad6.js} +4 -4
  76. package/dist/chunks/{agent-gsdsh762.js → worktree-6rywya1e.js} +9 -9
  77. package/dist/chunks/{agent-4ns3h2re.js → worktree-6wg7wrda.js} +6 -6
  78. package/dist/chunks/{agent-57ez7d0k.js → worktree-6x0h2hvg.js} +9 -9
  79. package/dist/chunks/{agent-ykcyj6g6.js → worktree-6xtgx1bn.js} +3 -3
  80. package/dist/chunks/worktree-6ysrkrkr.js +28 -0
  81. package/dist/chunks/{agent-36x1j5qv.js → worktree-77aa2ptm.js} +8 -8
  82. package/dist/chunks/{agent-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{agent-2k8khapm.js → worktree-7dqw4kz8.js} +5 -5
  84. package/dist/chunks/{agent-fex5691d.js → worktree-7jx0v3wz.js} +11 -11
  85. package/dist/chunks/{agent-d6jhtwvw.js → worktree-7k8hwkm4.js} +20 -20
  86. package/dist/chunks/{agent-py6xadtm.js → worktree-7x8vr9wx.js} +31 -31
  87. package/dist/chunks/{agent-pb1eahw5.js → worktree-818pfwc9.js} +8 -8
  88. package/dist/chunks/{agent-hvge4a7b.js → worktree-83da929p.js} +29 -29
  89. package/dist/chunks/{agent-h6b8nah8.js → worktree-87tqv0m9.js} +4 -4
  90. package/dist/chunks/{agent-85xfn293.js → worktree-899bmpw2.js} +6 -6
  91. package/dist/chunks/{agent-00x4qneg.js → worktree-8aaqm6qj.js} +4 -4
  92. package/dist/chunks/{agent-vk3p7bbt.js → worktree-8c88k4y9.js} +11 -11
  93. package/dist/chunks/{agent-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
  94. package/dist/chunks/{agent-ynx1zemv.js → worktree-8dged86n.js} +23 -23
  95. package/dist/chunks/{agent-7w99qc9d.js → worktree-8q7cq0y1.js} +3 -3
  96. package/dist/chunks/{agent-9kz8gdr8.js → worktree-940d36ge.js} +12 -12
  97. package/dist/chunks/{agent-rbbtr4pm.js → worktree-97qjdx9c.js} +39 -22
  98. package/dist/chunks/{agent-geknskw0.js → worktree-9aeamryp.js} +26 -26
  99. package/dist/chunks/{agent-r8d6a4tf.js → worktree-9ftphk66.js} +18 -18
  100. package/dist/chunks/{agent-m0cf690c.js → worktree-9vmxtf8m.js} +17 -17
  101. package/dist/chunks/{agent-kcjc17br.js → worktree-9wg8f7rp.js} +16 -16
  102. package/dist/chunks/{agent-gf7f2369.js → worktree-9yk5tkmn.js} +8 -8
  103. package/dist/chunks/{agent-1t7nvzsm.js → worktree-a3w3ek2p.js} +10 -10
  104. package/dist/chunks/{agent-xryzejns.js → worktree-a70dqpwr.js} +5 -5
  105. package/dist/chunks/{agent-aaet6srn.js → worktree-aaet6srn.js} +2 -2
  106. package/dist/chunks/{agent-c85qzh5t.js → worktree-ab5e65y7.js} +18 -18
  107. package/dist/chunks/{agent-nxnb0v57.js → worktree-adrjdcdv.js} +5 -5
  108. package/dist/chunks/{agent-xydn9a3q.js → worktree-ae05hxc9.js} +54 -54
  109. package/dist/chunks/{agent-8r83crvb.js → worktree-ag8e42mr.js} +26 -26
  110. package/dist/chunks/{agent-xgec815d.js → worktree-akvwcqv3.js} +27 -27
  111. package/dist/chunks/{agent-dxk73e61.js → worktree-anv5cbp8.js} +8 -8
  112. package/dist/chunks/{agent-43zyxgq8.js → worktree-asqy4pdp.js} +1 -1
  113. package/dist/chunks/{agent-sv3vsz9b.js → worktree-awaee7qt.js} +6 -6
  114. package/dist/chunks/{agent-5758n57s.js → worktree-az11wfvr.js} +14 -14
  115. package/dist/chunks/{agent-ww76mnf4.js → worktree-b04n12yt.js} +37 -37
  116. package/dist/chunks/{agent-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
  117. package/dist/chunks/{agent-k7myrtme.js → worktree-b6xy6jda.js} +9 -9
  118. package/dist/chunks/{agent-xy5p8xg6.js → worktree-bc773w9a.js} +23 -23
  119. package/dist/chunks/{agent-fab8hzt3.js → worktree-bg2gq5qa.js} +4 -4
  120. package/dist/chunks/{agent-40ttqsg0.js → worktree-bw8gdwks.js} +8 -8
  121. package/dist/chunks/{agent-1jqm4hqw.js → worktree-c282yhkm.js} +41 -41
  122. package/dist/chunks/{agent-wh950sxe.js → worktree-ccenzmm6.js} +10 -10
  123. package/dist/chunks/{agent-d2aac7k2.js → worktree-cr07tj7n.js} +5 -5
  124. package/dist/chunks/{agent-phr2avsp.js → worktree-d5z19hk1.js} +10 -10
  125. package/dist/chunks/{agent-qyjnxv1z.js → worktree-d96qny3q.js} +5 -5
  126. package/dist/chunks/{agent-5pvas20d.js → worktree-depwh34e.js} +9 -9
  127. package/dist/chunks/{agent-e4q8186z.js → worktree-dg6kkwqt.js} +3 -3
  128. package/dist/chunks/{agent-dj2t23y0.js → worktree-dj2t23y0.js} +2 -2
  129. package/dist/chunks/{agent-6hft2jmv.js → worktree-dn7365jx.js} +4 -4
  130. package/dist/chunks/{agent-g71wmdzk.js → worktree-dnjvrtng.js} +178 -178
  131. package/dist/chunks/{agent-y71avatq.js → worktree-dpkg50ah.js} +4 -4
  132. package/dist/chunks/{agent-xfkkasph.js → worktree-drwq78ky.js} +4 -4
  133. package/dist/chunks/{agent-bd3mgvaw.js → worktree-dvxrp605.js} +8 -8
  134. package/dist/chunks/{agent-5dr2wz0s.js → worktree-e01ptnw8.js} +4 -4
  135. package/dist/chunks/{agent-fkf189j2.js → worktree-e47wcd5s.js} +7 -7
  136. package/dist/chunks/{agent-vg3tvwdk.js → worktree-ebmcp6jg.js} +20 -20
  137. package/dist/chunks/{agent-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{agent-r23bba5b.js → worktree-efqd9j5j.js} +30 -30
  139. package/dist/chunks/{agent-z24rsk7e.js → worktree-epqzss3m.js} +37 -37
  140. package/dist/chunks/{agent-erw5rpbs.js → worktree-erw5rpbs.js} +2 -2
  141. package/dist/chunks/{agent-1qsp6rhw.js → worktree-esh8snah.js} +43 -43
  142. package/dist/chunks/{agent-xr4jxd3n.js → worktree-etkky4xb.js} +21 -21
  143. package/dist/chunks/{agent-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{agent-3w2b2yj4.js → worktree-evbgk2k8.js} +5 -5
  145. package/dist/chunks/{agent-y68y97fv.js → worktree-evq1m25b.js} +11 -11
  146. package/dist/chunks/{agent-psw0wqrt.js → worktree-ex22b358.js} +24 -24
  147. package/dist/chunks/{agent-7t7d5q2p.js → worktree-f7ehr1hv.js} +6 -6
  148. package/dist/chunks/{agent-pstg3rfm.js → worktree-fch79rh9.js} +1 -1
  149. package/dist/chunks/{agent-sr79cq9d.js → worktree-fd7j5y5t.js} +11 -11
  150. package/dist/chunks/{agent-k9kj6xed.js → worktree-fkjmw100.js} +2 -2
  151. package/dist/chunks/{agent-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
  152. package/dist/chunks/{agent-na3cbkd8.js → worktree-g0jbnnkv.js} +30 -30
  153. package/dist/chunks/{agent-magykp64.js → worktree-g190xswt.js} +4 -4
  154. package/dist/chunks/{agent-ercet7pm.js → worktree-g2swn6b7.js} +23 -23
  155. package/dist/chunks/{agent-ak1tpw6q.js → worktree-g2xawn2z.js} +2 -2
  156. package/dist/chunks/{agent-abxv7css.js → worktree-g3jdw4qe.js} +11 -11
  157. package/dist/chunks/{agent-75hzh59n.js → worktree-g91wcgpj.js} +4 -4
  158. package/dist/chunks/{agent-178916dd.js → worktree-g9p6zv33.js} +8 -8
  159. package/dist/chunks/{agent-cpvt4mkc.js → worktree-ganm2r9k.js} +3 -3
  160. package/dist/chunks/{agent-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
  161. package/dist/chunks/{agent-nrm6eza0.js → worktree-gdexxn2e.js} +6 -6
  162. package/dist/chunks/{agent-vwpw6jr3.js → worktree-gsnqjxmg.js} +31 -31
  163. package/dist/chunks/{agent-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
  164. package/dist/chunks/{agent-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{agent-hdnk95c8.js → worktree-hdnk95c8.js} +2 -2
  166. package/dist/chunks/{agent-273f65v8.js → worktree-hepbeetm.js} +33 -33
  167. package/dist/chunks/{agent-vgmb0hzp.js → worktree-hjxmeyjq.js} +21 -21
  168. package/dist/chunks/{agent-dv7xn15p.js → worktree-hmcspfjz.js} +19 -19
  169. package/dist/chunks/{agent-2ajemesj.js → worktree-hxmf60ar.js} +25 -25
  170. package/dist/chunks/{agent-j56e64zr.js → worktree-j56e64zr.js} +1 -1
  171. package/dist/chunks/{agent-9gfem6tc.js → worktree-j6fv3d6x.js} +3 -3
  172. package/dist/chunks/{agent-1mhtqdf9.js → worktree-j6q6f4de.js} +38 -37
  173. package/dist/chunks/{agent-xxcf9j2r.js → worktree-j7fts5t0.js} +8 -8
  174. package/dist/chunks/{agent-t9zs3egg.js → worktree-j83byb14.js} +4 -4
  175. package/dist/chunks/{agent-y8zr9mrm.js → worktree-jc7s5yzp.js} +11 -11
  176. package/dist/chunks/{agent-2yc73x9z.js → worktree-jpz4t714.js} +13 -13
  177. package/dist/chunks/{agent-m85h0kfj.js → worktree-jqjs9tcv.js} +4 -4
  178. package/dist/chunks/{agent-wk5z6jzv.js → worktree-jzzy94zk.js} +9 -9
  179. package/dist/chunks/worktree-k75g3hfp.js +60 -0
  180. package/dist/chunks/{agent-mhh2wvta.js → worktree-k7xvw3dw.js} +15 -15
  181. package/dist/chunks/{agent-ckf8nxjz.js → worktree-kne8f3cn.js} +4 -4
  182. package/dist/chunks/{agent-vx884nfc.js → worktree-kqhyc4a5.js} +24 -24
  183. package/dist/chunks/{agent-wrrgj8p2.js → worktree-kw4nys0v.js} +30 -30
  184. package/dist/chunks/{agent-m0jqrx5p.js → worktree-m0jqrx5p.js} +2 -2
  185. package/dist/chunks/{agent-s2jjmt0q.js → worktree-m2ma7v7h.js} +3 -3
  186. package/dist/chunks/{agent-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
  187. package/dist/chunks/{agent-x9hcbvs5.js → worktree-m3qcd0gh.js} +14 -14
  188. package/dist/chunks/{agent-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{agent-bv2m8j2f.js → worktree-mc0tbgbx.js} +10 -10
  190. package/dist/chunks/{agent-fhsfb5wx.js → worktree-mdk3y3z1.js} +11 -11
  191. package/dist/chunks/{agent-msq0jde0.js → worktree-mfhfdr54.js} +4 -4
  192. package/dist/chunks/{agent-mhkvc446.js → worktree-mhkvc446.js} +1 -1
  193. package/dist/chunks/{agent-wmvgvm9g.js → worktree-mps7kt98.js} +10 -10
  194. package/dist/chunks/{agent-eqkxs06z.js → worktree-mx9vqzsb.js} +6 -6
  195. package/dist/chunks/{agent-5zs99abn.js → worktree-n2k8kfr2.js} +10 -10
  196. package/dist/chunks/{agent-pj88hhxz.js → worktree-nbhvjqq0.js} +16 -16
  197. package/dist/chunks/{agent-ptadzx8h.js → worktree-nce5244k.js} +23 -23
  198. package/dist/chunks/{agent-4h52jw7j.js → worktree-njzmkv4t.js} +16 -16
  199. package/dist/chunks/{agent-qg0jgkcp.js → worktree-nq7qbqzc.js} +9 -9
  200. package/dist/chunks/{agent-0m0tvs7x.js → worktree-nqyhrfcc.js} +4 -4
  201. package/dist/chunks/{agent-k3c624dm.js → worktree-nzks3jc8.js} +3 -3
  202. package/dist/chunks/{agent-p28j5sbe.js → worktree-p28j5sbe.js} +2 -2
  203. package/dist/chunks/{agent-34gj4vpn.js → worktree-pgd96ws3.js} +25 -25
  204. package/dist/chunks/{agent-c9rn2ffm.js → worktree-phvc5gz1.js} +31 -31
  205. package/dist/chunks/{agent-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{agent-f7xr7q4y.js → worktree-pk05hrqc.js} +23 -23
  207. package/dist/chunks/{agent-pknna89w.js → worktree-pknna89w.js} +1 -1
  208. package/dist/chunks/{agent-fwgtty9p.js → worktree-pnbzcb80.js} +11 -11
  209. package/dist/chunks/{agent-27s8bqjz.js → worktree-q3brf889.js} +7 -7
  210. package/dist/chunks/{agent-6nfzt672.js → worktree-q7b8tk1j.js} +15 -15
  211. package/dist/chunks/{agent-nv0zfvs3.js → worktree-q9em23va.js} +57 -57
  212. package/dist/chunks/{agent-b27vhd2z.js → worktree-qm0v3jhh.js} +7 -7
  213. package/dist/chunks/{agent-2sejkfem.js → worktree-qmqgtz8f.js} +9 -9
  214. package/dist/chunks/{agent-qsdy395h.js → worktree-qsdy395h.js} +1 -1
  215. package/dist/chunks/{agent-esjpzfqh.js → worktree-qtp3z5jz.js} +15 -15
  216. package/dist/chunks/{agent-3801kdgp.js → worktree-qvreyy9g.js} +5 -5
  217. package/dist/chunks/{agent-dfmg44zt.js → worktree-qy3x5fkw.js} +28 -28
  218. package/dist/chunks/{agent-hra2zf6w.js → worktree-qzj3p1a8.js} +15 -15
  219. package/dist/chunks/{agent-408rqjm7.js → worktree-r4xk7wzn.js} +11 -11
  220. package/dist/chunks/{agent-eyxhp5jq.js → worktree-r9dtcy7v.js} +14 -14
  221. package/dist/chunks/{agent-s0agc963.js → worktree-rbykwf8h.js} +8 -8
  222. package/dist/chunks/{agent-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{agent-2dd34nca.js → worktree-rfw8gvq9.js} +7 -7
  224. package/dist/chunks/{agent-bkyn6bwe.js → worktree-rr0tph7c.js} +42 -42
  225. package/dist/chunks/{agent-6f2v6d3h.js → worktree-rr5qrs97.js} +10 -10
  226. package/dist/chunks/{agent-fpx40r7k.js → worktree-rw0j17jy.js} +14 -14
  227. package/dist/chunks/{agent-2421mgk7.js → worktree-ryvvaahd.js} +11 -11
  228. package/dist/chunks/{agent-2gbsvbx5.js → worktree-rzt5b11j.js} +12 -12
  229. package/dist/chunks/{agent-kfgkb3w8.js → worktree-s003wxah.js} +3 -3
  230. package/dist/chunks/{agent-q5qvysx4.js → worktree-s4m6wqxh.js} +7 -7
  231. package/dist/chunks/worktree-s58zdxfq.js +503 -0
  232. package/dist/chunks/{agent-d72aarx9.js → worktree-sa6gj9bw.js} +15 -15
  233. package/dist/chunks/{agent-wavy99wc.js → worktree-sbwttkaf.js} +11 -11
  234. package/dist/chunks/{agent-0qths4nn.js → worktree-spdrvks9.js} +20 -20
  235. package/dist/chunks/{agent-h5wn60w9.js → worktree-stz8t2v6.js} +4 -4
  236. package/dist/chunks/{agent-mf1nywb3.js → worktree-swxr5sk9.js} +20 -20
  237. package/dist/chunks/{agent-fb6r9czn.js → worktree-t1np0tqc.js} +17 -17
  238. package/dist/chunks/{agent-z1gnkr1t.js → worktree-t2ebar3s.js} +3 -3
  239. package/dist/chunks/{agent-a3n0gq8j.js → worktree-t3m7g1te.js} +7 -7
  240. package/dist/chunks/{agent-7fqa2d9w.js → worktree-t6191ead.js} +30 -30
  241. package/dist/chunks/{agent-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
  242. package/dist/chunks/{agent-89znhe33.js → worktree-tcezcvh9.js} +4 -4
  243. package/dist/chunks/{agent-tdstcens.js → worktree-tdstcens.js} +1 -1
  244. package/dist/chunks/{agent-wavj6ccy.js → worktree-tpj75mzy.js} +17 -17
  245. package/dist/chunks/{agent-pa8pe2x7.js → worktree-tpw6cwsb.js} +8 -8
  246. package/dist/chunks/{agent-tvtrv512.js → worktree-tvtrv512.js} +1 -1
  247. package/dist/chunks/{agent-036j9pep.js → worktree-twn8y427.js} +12 -12
  248. package/dist/chunks/{agent-xm6kpq0w.js → worktree-v1szefp9.js} +21 -21
  249. package/dist/chunks/{agent-w28840qy.js → worktree-v731dxt6.js} +13 -13
  250. package/dist/chunks/{agent-stv5gz7c.js → worktree-v7j76yb7.js} +13 -13
  251. package/dist/chunks/{agent-veqvce7d.js → worktree-veqvce7d.js} +1 -1
  252. package/dist/chunks/{agent-6h3wybc7.js → worktree-vfnexndp.js} +6 -6
  253. package/dist/chunks/{agent-kbsfj81n.js → worktree-vrd7bw94.js} +18 -18
  254. package/dist/chunks/{agent-d858xzj7.js → worktree-vycw7md4.js} +4 -4
  255. package/dist/chunks/{agent-0nde5ztd.js → worktree-vykevjvn.js} +5 -5
  256. package/dist/chunks/{agent-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{agent-35zpsenw.js → worktree-w049avsm.js} +12 -12
  258. package/dist/chunks/{agent-b7b1bvw5.js → worktree-w2a0me0w.js} +84 -84
  259. package/dist/chunks/{agent-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{agent-ddjv2rf1.js → worktree-wb2290kd.js} +38 -38
  261. package/dist/chunks/{agent-wd87259q.js → worktree-wd87259q.js} +1 -1
  262. package/dist/chunks/{agent-hrekjq5z.js → worktree-wg3ah9vk.js} +15 -15
  263. package/dist/chunks/{agent-5akn35ws.js → worktree-wt3fns9r.js} +8 -8
  264. package/dist/chunks/{agent-d7b96y43.js → worktree-wzhchsdw.js} +21 -21
  265. package/dist/chunks/{agent-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{agent-s2v47wsv.js → worktree-x2bnk29x.js} +9 -9
  267. package/dist/chunks/{agent-np2d4m60.js → worktree-x2r5cysr.js} +15 -15
  268. package/dist/chunks/worktree-x9psk7ht.js +252 -0
  269. package/dist/chunks/{agent-1h68bbz1.js → worktree-xrhwvysg.js} +90 -90
  270. package/dist/chunks/{agent-gxzbat11.js → worktree-y0fk3wmz.js} +31 -31
  271. package/dist/chunks/{agent-m2k0n4kz.js → worktree-y19g1g3c.js} +24 -24
  272. package/dist/chunks/{agent-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{agent-9aaedtqt.js → worktree-yaf95dqt.js} +11 -11
  274. package/dist/chunks/{agent-sm46077v.js → worktree-yd28dp38.js} +26 -26
  275. package/dist/chunks/{agent-as7cad1b.js → worktree-ydcyakjt.js} +9 -9
  276. package/dist/chunks/{agent-yp1ctj3c.js → worktree-yhc2vnw0.js} +7 -7
  277. package/dist/chunks/{agent-qn4ba14w.js → worktree-yjptyezs.js} +5 -5
  278. package/dist/chunks/{agent-r8xr0va3.js → worktree-yp2x3t23.js} +4 -4
  279. package/dist/chunks/{agent-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{agent-yrznvahk.js → worktree-yrznvahk.js} +2 -2
  281. package/dist/chunks/{agent-gw84rn5c.js → worktree-yxy08kjz.js} +30 -30
  282. package/dist/chunks/{agent-60ng53x8.js → worktree-yyk09s5y.js} +9 -9
  283. package/dist/chunks/{agent-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{agent-z63w68vq.js → worktree-z63w68vq.js} +2 -2
  285. package/dist/chunks/{agent-7gvs7gck.js → worktree-z6s2ptjh.js} +23 -23
  286. package/dist/chunks/{agent-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{agent-mjhmz48d.js → worktree-zfjnvatg.js} +27 -27
  288. package/dist/chunks/{agent-cqtv3ntd.js → worktree-zqerkhaz.js} +32 -32
  289. package/dist/chunks/{agent-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{agent-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +84 -84
  296. package/dist/config/discovery.js +83 -83
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +122 -122
  300. package/dist/config/plugin/command.js +211 -211
  301. package/dist/config/plugin/compaction.js +159 -159
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +122 -122
  308. package/dist/config/plugin/mcp.js +129 -129
  309. package/dist/config/plugin/policy.js +123 -122
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +122 -122
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +141 -141
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +123 -123
  317. package/dist/config/plugin/tool-output.js +122 -122
  318. package/dist/config/plugin/websearch.js +121 -121
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +125 -125
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +82 -82
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -368
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +69 -69
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +220 -220
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +13 -13
  429. package/dist/filesystem.js +107 -107
  430. package/dist/form.js +81 -81
  431. package/dist/formatter/builtins.js +2 -2
  432. package/dist/formatter.js +82 -82
  433. package/dist/generate.js +102 -102
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +90 -90
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +360 -359
  459. package/dist/instruction-discovery.js +82 -82
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +3 -3
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +85 -85
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +131 -131
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +357 -356
  472. package/dist/location.js +86 -86
  473. package/dist/managed-policy.js +10 -0
  474. package/dist/mcp/client.js +90 -90
  475. package/dist/mcp/index.js +107 -107
  476. package/dist/mcp/instructions.js +127 -127
  477. package/dist/mcp/oauth.js +77 -77
  478. package/dist/mcp/stdio.js +89 -89
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +90 -90
  481. package/dist/model-resolver.js +93 -93
  482. package/dist/model.js +99 -99
  483. package/dist/models-dev.js +102 -102
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +79 -79
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +104 -104
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +87 -87
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +74 -74
  493. package/dist/plugin/agent.js +101 -101
  494. package/dist/plugin/command.js +98 -98
  495. package/dist/plugin/compaction.js +130 -130
  496. package/dist/plugin/hooks.js +3 -3
  497. package/dist/plugin/host.js +217 -217
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +333 -330
  501. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  502. package/dist/plugin/models-dev.js +95 -95
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +2 -2
  505. package/dist/plugin/plan.js +101 -101
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  508. package/dist/plugin/provider/azure.js +121 -121
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +118 -118
  514. package/dist/plugin/provider/digitalocean.js +92 -92
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +92 -92
  519. package/dist/plugin/provider/gitlab.js +90 -90
  520. package/dist/plugin/provider/google-vertex.js +89 -89
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +76 -76
  523. package/dist/plugin/provider/lmstudio.js +121 -121
  524. package/dist/plugin/provider/modal.js +91 -91
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +121 -121
  527. package/dist/plugin/provider/openai.js +91 -91
  528. package/dist/plugin/provider/opencode.js +93 -92
  529. package/dist/plugin/provider/openrouter.js +90 -90
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +77 -77
  532. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  533. package/dist/plugin/provider/sap-ai-core.js +90 -90
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +89 -89
  538. package/dist/plugin/provider/vllm.js +121 -121
  539. package/dist/plugin/provider/xai.js +90 -90
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +159 -158
  542. package/dist/plugin/sdk.js +73 -73
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +140 -140
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +346 -345
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +85 -85
  550. package/dist/plugin/vcs/hg.js +85 -85
  551. package/dist/plugin/warming.js +120 -120
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +228 -228
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +89 -89
  563. package/dist/provider.js +98 -98
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/schema.js +3 -3
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +95 -95
  568. package/dist/reference/instructions.js +86 -86
  569. package/dist/reference.js +90 -90
  570. package/dist/repository-cache.js +80 -80
  571. package/dist/repository.js +3 -3
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +96 -96
  574. package/dist/rpc.js +85 -85
  575. package/dist/schema.js +1 -1
  576. package/dist/session/command.js +73 -73
  577. package/dist/session/compaction.js +131 -131
  578. package/dist/session/context.js +149 -149
  579. package/dist/session/diff.js +87 -87
  580. package/dist/session/environment.js +3 -3
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +220 -220
  584. package/dist/session/execution.js +127 -127
  585. package/dist/session/generate.js +150 -150
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +89 -89
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +78 -78
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +96 -96
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +118 -118
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +129 -129
  597. package/dist/session/projector.js +85 -85
  598. package/dist/session/prompt.js +104 -104
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +89 -89
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +228 -228
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +97 -97
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +111 -111
  608. package/dist/session/runner/step.js +123 -123
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +171 -171
  612. package/dist/session/shell.js +137 -137
  613. package/dist/session/skill.js +102 -102
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +72 -72
  616. package/dist/session/store.js +86 -86
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +207 -207
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +149 -149
  621. package/dist/session/to-session-error.js +110 -110
  622. package/dist/session/transfer.js +216 -216
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +217 -217
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +9 -9
  629. package/dist/shell.js +135 -135
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +106 -106
  632. package/dist/skill.js +109 -109
  633. package/dist/snapshot.js +90 -90
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +124 -124
  638. package/dist/tool/plugin/edit.js +119 -119
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +123 -123
  641. package/dist/tool/plugin/grep.js +123 -123
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +117 -117
  644. package/dist/tool/plugin/question.js +100 -100
  645. package/dist/tool/plugin/read.js +124 -124
  646. package/dist/tool/plugin/shell.js +210 -210
  647. package/dist/tool/plugin/skill.js +110 -110
  648. package/dist/tool/plugin/subagent.js +218 -218
  649. package/dist/tool/plugin/webfetch.js +105 -105
  650. package/dist/tool/plugin/websearch.js +111 -111
  651. package/dist/tool/plugin/write.js +121 -121
  652. package/dist/tool/read-filesystem.js +99 -99
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +16 -16
  656. package/dist/types/config/plugin/policy.d.ts +2 -1
  657. package/dist/types/managed-policy.d.ts +19 -0
  658. package/dist/types/plugin/internal.d.ts +4 -2
  659. package/dist/types/plugin/provider/opencode.d.ts +2 -1
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +5 -5
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +5 -5
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +2 -2
  674. package/dist/v1/config/formatter.js +5 -5
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +3 -3
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +91 -91
  679. package/dist/v1/config/permission.js +3 -3
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +90 -90
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +88 -88
  689. package/dist/websearch.js +81 -81
  690. package/dist/wellknown/plugin.js +75 -75
  691. package/dist/wellknown.js +76 -76
  692. package/dist/workspace/driver.js +5 -5
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +79 -79
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +10 -10
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +88 -88
  699. package/dist/worktree.js +95 -95
  700. package/package.json +8 -8
  701. package/dist/chunks/agent-6kdq0pjd.js +0 -4
  702. package/dist/chunks/agent-6x899grp.js +0 -49
  703. package/dist/chunks/agent-eceerw08.js +0 -252
  704. package/dist/chunks/agent-rap9a73h.js +0 -18
  705. package/dist/chunks/agent-rz1656kd.js +0 -492
  706. package/dist/chunks/agent-wgj0x3s5.js +0 -26
  707. /package/dist/chunks/{agent-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  708. /package/dist/chunks/{agent-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  709. /package/dist/chunks/{agent-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  710. /package/dist/chunks/{agent-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  711. /package/dist/chunks/{agent-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
  712. /package/dist/chunks/{agent-24dcb14g.js → worktree-24dcb14g.js} +0 -0
  713. /package/dist/chunks/{agent-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  714. /package/dist/chunks/{agent-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
  715. /package/dist/chunks/{agent-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  716. /package/dist/chunks/{agent-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  717. /package/dist/chunks/{agent-3asan66x.js → worktree-3asan66x.js} +0 -0
  718. /package/dist/chunks/{agent-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  719. /package/dist/chunks/{agent-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
  720. /package/dist/chunks/{agent-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  721. /package/dist/chunks/{agent-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  722. /package/dist/chunks/{agent-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  723. /package/dist/chunks/{agent-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
  724. /package/dist/chunks/{agent-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  725. /package/dist/chunks/{agent-53557ph1.js → worktree-53557ph1.js} +0 -0
  726. /package/dist/chunks/{agent-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  727. /package/dist/chunks/{agent-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
  728. /package/dist/chunks/{agent-6prwharc.js → worktree-6prwharc.js} +0 -0
  729. /package/dist/chunks/{agent-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  730. /package/dist/chunks/{agent-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  731. /package/dist/chunks/{agent-822emrt2.js → worktree-822emrt2.js} +0 -0
  732. /package/dist/chunks/{agent-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  733. /package/dist/chunks/{agent-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  734. /package/dist/chunks/{agent-922hggd3.js → worktree-922hggd3.js} +0 -0
  735. /package/dist/chunks/{agent-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{agent-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{agent-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{agent-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{agent-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{agent-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{agent-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{agent-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{agent-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{agent-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{agent-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{agent-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{agent-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{agent-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{agent-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{agent-df08tz66.js → worktree-df08tz66.js} +0 -0
  751. /package/dist/chunks/{agent-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{agent-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{agent-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{agent-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{agent-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{agent-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{agent-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{agent-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{agent-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{agent-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{agent-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{agent-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{agent-g86h250q.js → worktree-g86h250q.js} +0 -0
  764. /package/dist/chunks/{agent-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{agent-gftt206x.js → worktree-gftt206x.js} +0 -0
  766. /package/dist/chunks/{agent-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{agent-hk9envan.js → worktree-hk9envan.js} +0 -0
  768. /package/dist/chunks/{agent-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{agent-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{agent-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{agent-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{agent-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{agent-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{agent-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{agent-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{agent-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{agent-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{agent-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{agent-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{agent-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{agent-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{agent-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{agent-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{agent-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{agent-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{agent-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{agent-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{agent-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{agent-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{agent-twg0f83k.js → worktree-twg0f83k.js} +0 -0
  791. /package/dist/chunks/{agent-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  792. /package/dist/chunks/{agent-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
  793. /package/dist/chunks/{agent-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  794. /package/dist/chunks/{agent-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  795. /package/dist/chunks/{agent-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  796. /package/dist/chunks/{agent-x61499pn.js → worktree-x61499pn.js} +0 -0
  797. /package/dist/chunks/{agent-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  798. /package/dist/chunks/{agent-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
  799. /package/dist/chunks/{agent-y8f7s663.js → worktree-y8f7s663.js} +0 -0
  800. /package/dist/chunks/{agent-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  801. /package/dist/chunks/{agent-ym463w8f.js → worktree-ym463w8f.js} +0 -0
  802. /package/dist/chunks/{agent-z9919s4g.js → worktree-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./agent-ykcyj6g6.js";
4
+ } from "./worktree-6xtgx1bn.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./agent-y71avatq.js";
7
+ } from "./worktree-dpkg50ah.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node77
12
- } from "./agent-4ns3h2re.js";
11
+ node71
12
+ } from "./worktree-6wg7wrda.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./agent-faypxj3z.js";
15
+ } from "./worktree-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./agent-9rqn6x4v.js";
18
+ } from "./worktree-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID12,
25
- Info: () => Info26,
24
+ ID: () => ID10,
25
+ Info: () => Info23,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service73,
27
+ Service: () => Service68,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured11,
30
- node: () => node76
29
+ configured: () => configured10,
30
+ node: () => node70
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID12 = Workspace.ID;
38
+ var ID10 = Workspace.ID;
39
39
 
40
- class Info26 extends Schema.Class("Workspace.Info")({
41
- id: ID12,
40
+ class Info23 extends Schema.Class("Workspace.Info")({
41
+ id: ID10,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info26 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID12 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID12,
53
+ workspaceID: ID10,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service73 extends Context.Service()("@opencode/Workspace") {
59
+ class Service68 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured11 = (options = {}) => makeGlobalNode({
62
- service: Service73,
61
+ var configured10 = (options = {}) => makeGlobalNode({
62
+ service: Service68,
63
63
  layer: layer(options),
64
- deps: [node87, node77]
64
+ deps: [node87, node71]
65
65
  });
66
- var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
67
67
  const db = (yield* Service83).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info26({
83
+ const info = (row, binding) => new Info23({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service73.of({
157
+ return Service68.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID12.create();
159
+ const workspaceID = input.id ?? ID10.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node76 = configured11();
224
+ var node70 = configured10();
225
225
 
226
- export { ID12, Info26, NotFound3, CreateConflict2, Service73, configured11, node76, exports_workspace };
226
+ export { ID10, Info23, NotFound3, CreateConflict2, Service68, configured10, node70, exports_workspace };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./agent-5dr2wz0s.js";
4
+ } from "./worktree-e01ptnw8.js";
5
5
  import {
6
6
  create3
7
- } from "./agent-rdw6cm16.js";
7
+ } from "./worktree-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./agent-zqq6ndec.js";
10
+ } from "./worktree-1mq78cxw.js";
11
11
  import {
12
12
  __export
13
- } from "./agent-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: () => Event9,
20
+ Event: () => Event12,
21
21
  ID: () => ID6,
22
- Info: () => Info8,
22
+ Info: () => Info19,
23
23
  Name: () => Name2,
24
- Service: () => Service44,
24
+ Service: () => Service62,
25
25
  Skill: () => exports_skill5,
26
- Source: () => Source3,
26
+ Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node47,
29
+ node: () => node64,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,12 +34,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event9 } from "@opencode/schema/skill";
37
+ import { Event as Event12 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
- var Source3 = Skill.Source;
42
- var Info8 = Skill.Info;
41
+ var Source4 = Skill.Source;
42
+ var Info19 = Skill.Info;
43
43
  var ID6 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
@@ -71,9 +71,9 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service44 extends Context.Service()("@opencode/Skill") {
74
+ class Service62 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service44, Effect.gen(function* () {
76
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
77
77
  const bus = yield* Service82;
78
78
  const state = create3({
79
79
  name: "skill",
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service44.of({
100
+ return Service62.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node47 = makeLocationNode({
112
- service: Service44,
111
+ var node64 = makeLocationNode({
112
+ service: Service62,
113
113
  layer,
114
114
  deps: [node86]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info8, ID6, Name2, available2, toModelOutput3, prepare3, Service44, node47, exports_skill5, Event9 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info19, ID6, Name2, available2, toModelOutput3, prepare3, Service62, node64, exports_skill5, Event12 };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./agent-922hggd3.js";
5
+ } from "./worktree-922hggd3.js";
6
6
  import {
7
- Service72,
8
- node75
9
- } from "./agent-vfyx1xy1.js";
7
+ Service67,
8
+ node69
9
+ } from "./worktree-0mkssq3p.js";
10
10
  import {
11
- Content3
12
- } from "./agent-q06j225y.js";
11
+ Content2
12
+ } from "./worktree-54h1gy1n.js";
13
13
  import {
14
14
  detect2
15
- } from "./agent-3smtnn6g.js";
15
+ } from "./worktree-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./agent-9rqn6x4v.js";
18
+ } from "./worktree-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service8,
36
+ Service: () => Service4,
37
37
  TextPage: () => TextPage2,
38
- node: () => node10,
38
+ node: () => node6,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
89
89
  });
90
90
  var FileContent2 = Schema.Struct({
91
91
  type: Schema.Literal("file"),
92
- ...Content3.fields
92
+ ...Content2.fields
93
93
  }).annotate({ identifier: "ReadTool.FileContent" });
94
94
 
95
95
  class TextPage2 extends Schema.Class("ReadTool.TextPage")({
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service8 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service4 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service8, Effect.gen(function* () {
330
- const environment = yield* Service72;
331
- return Service8.of({
329
+ var layer = Layer.effect(Service4, Effect.gen(function* () {
330
+ const environment = yield* Service67;
331
+ return Service4.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node10 = makeLocationNode({ service: Service8, layer, deps: [node75] });
336
+ var node6 = makeLocationNode({ service: Service4, layer, deps: [node69] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service8, read2, node10, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service4, read2, node6, exports_read_filesystem };
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./agent-pj88hhxz.js";
2
+ Service77,
3
+ node81
4
+ } from "./worktree-nbhvjqq0.js";
5
5
  import {
6
6
  Key3,
7
- make20,
7
+ make18,
8
8
  combine2
9
- } from "./agent-rhjbct0v.js";
9
+ } from "./worktree-0gdmqesm.js";
10
10
  import {
11
11
  __export
12
- } from "./agent-9rqn6x4v.js";
12
+ } from "./worktree-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service30,
19
- node: () => node34
18
+ Service: () => Service39,
19
+ node: () => node42
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service30 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service39 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service30, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service79;
29
- return Service30.of({
28
+ const location = yield* Service77;
29
+ return Service39.of({
30
30
  load: (sessionID) => Effect.succeed(combine2([
31
- make20({
31
+ make18({
32
32
  key: Key3.make("core/environment"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: Effect.sync(() => [
@@ -49,7 +49,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
49
49
  `)
50
50
  }
51
51
  }),
52
- make20({
52
+ make18({
53
53
  key: Key3.make("core/date"),
54
54
  codec: Schema.toCodecJson(Schema.String),
55
55
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
61
61
  ]))
62
62
  });
63
63
  }));
64
- var node34 = makeLocationNode({ service: Service30, layer, deps: [Global.node, node83] });
64
+ var node42 = makeLocationNode({ service: Service39, layer, deps: [Global.node, node81] });
65
65
 
66
- export { Service30, node34, exports_builtins };
66
+ export { Service39, node42, exports_builtins };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service81
3
- } from "./agent-y5df08dr.js";
2
+ Service79
3
+ } from "./worktree-421r5d5v.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
6
  canonical2
7
- } from "./agent-gv6a8nnw.js";
7
+ } from "./worktree-gv6a8nnw.js";
8
8
  import {
9
9
  __export
10
- } from "./agent-9rqn6x4v.js";
10
+ } from "./worktree-9rqn6x4v.js";
11
11
 
12
12
  // src/worktree/git.ts
13
13
  var exports_git2 = {};
14
14
  __export(exports_git2, {
15
15
  WorktreeGit: () => exports_git2,
16
- make: () => make12
16
+ make: () => make21
17
17
  });
18
18
  import { Effect } from "effect";
19
19
  import { Worktree } from "@opencode/schema/worktree";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
- var make12 = Effect.gen(function* () {
21
+ var make21 = Effect.gen(function* () {
22
22
  const fs = yield* FSUtil.Service;
23
- const git = yield* Service81;
23
+ const git = yield* Service79;
24
24
  return {
25
25
  id: Worktree.StrategyID.make("git"),
26
26
  create: Effect.fn("Worktree.Git.create")(function* (input) {
@@ -46,4 +46,4 @@ var make12 = Effect.gen(function* () {
46
46
  };
47
47
  });
48
48
 
49
- export { make12, exports_git2 };
49
+ export { make21, exports_git2 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./agent-922hggd3.js";
3
+ } from "./worktree-922hggd3.js";
4
4
  import {
5
- Service79
6
- } from "./agent-pj88hhxz.js";
5
+ Service77
6
+ } from "./worktree-nbhvjqq0.js";
7
7
  import {
8
8
  __export
9
- } from "./agent-9rqn6x4v.js";
9
+ } from "./worktree-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
13
13
  __export(exports_discovery2, {
14
14
  ConfigDiscovery: () => exports_discovery2,
15
15
  discover: () => discover3,
16
- names: () => names3
16
+ names: () => names4
17
17
  });
18
18
  import path from "path";
19
19
  import { Effect } from "effect";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
21
  import { Global } from "@opencode/util/global";
22
- var names3 = ["opencode.json", "opencode.jsonc"];
22
+ var names4 = ["opencode.json", "opencode.jsonc"];
23
23
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
24
24
  const fs = yield* FSUtil.Service;
25
25
  const global = yield* Global.Service;
26
- const location = yield* Service79;
26
+ const location = yield* Service77;
27
27
  const globalDirectory = AbsolutePath2.make(global.config);
28
28
  const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
29
29
  const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
31
31
  const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
32
32
  const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
33
33
  const parent = yield* fs.resolve(directory);
34
- return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
34
+ return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
35
35
  })).pipe(Effect.map((items) => items.flat()), Effect.orDie);
36
36
  const globalEnabled = options?.global !== false;
37
- const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
37
+ const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
38
38
  const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
39
39
  return {
40
40
  global: globalEnabled ? globalDirectory : undefined,
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
56
56
  };
57
57
  });
58
58
 
59
- export { names3, discover3, exports_discovery2 };
59
+ export { names4, discover3, exports_discovery2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
- ID13
3
- } from "./agent-7fqa2d9w.js";
2
+ ID12
3
+ } from "./worktree-t6191ead.js";
4
4
  import {
5
5
  iife2
6
- } from "./agent-1kg9ymc8.js";
6
+ } from "./worktree-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./agent-85xfn293.js";
9
+ } from "./worktree-899bmpw2.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-workers-ai.ts
12
12
  import { Effect } from "effect";
13
13
  import { define } from "@opencode/plugin/effect/plugin";
14
14
  import { Form } from "@opencode/schema/form";
15
- var providerID = ID13.make("cloudflare-workers-ai");
15
+ var providerID = ID12.make("cloudflare-workers-ai");
16
16
  var CloudflareWorkersAIPlugin2 = define({
17
17
  id: "opencode.provider.cloudflare.workers.ai",
18
18
  effect: Effect.fn(function* (ctx) {
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./agent-2a5m3afh.js";
5
+ } from "./worktree-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./agent-9rqn6x4v.js";
8
+ } from "./worktree-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./agent-922hggd3.js";
5
+ } from "./worktree-922hggd3.js";
6
6
  import {
7
- Service72,
8
- node75
9
- } from "./agent-vfyx1xy1.js";
7
+ Service67,
8
+ node69
9
+ } from "./worktree-0mkssq3p.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./agent-8d7r5vzw.js";
12
+ } from "./worktree-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./agent-9rqn6x4v.js";
15
+ } from "./worktree-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error4,
20
+ Error: () => Error2,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service71,
24
- node: () => node74
23
+ Service: () => Service21,
24
+ node: () => node23
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service71 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service21 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error4({ message, cause });
63
+ var failure = (message, cause) => new Error2({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service71, Effect.gen(function* () {
67
- const environment = yield* Service72;
66
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
67
+ const environment = yield* Service67;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service71.of({
95
+ return Service21.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node74 = makeLocationNode({ service: Service71, layer, deps: [node75, RipgrepBinary2.node] });
178
+ var node23 = makeLocationNode({ service: Service21, layer, deps: [node69, RipgrepBinary2.node] });
179
179
 
180
- export { Error4, InvalidPatternError2, Service71, node74, exports_ripgrep };
180
+ export { Error2, InvalidPatternError2, Service21, node23, exports_ripgrep };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./agent-zqq6ndec.js";
3
+ } from "./worktree-1mq78cxw.js";
4
4
  import {
5
5
  __export
6
- } from "./agent-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin17
12
+ Plugin: () => Plugin27
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin17 = define({
32
+ var Plugin27 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin17, exports_plan };
109
+ export { Plugin27, exports_plan };