@opencode/core 0.0.0-dev-19836 → 0.0.0-dev-19839

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 (793) 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 +5 -5
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{provider-evpbcqxk.js → worktree-05tvpv5w.js} +14 -14
  8. package/dist/chunks/{provider-yvh7vk42.js → worktree-09r3zm1x.js} +9 -9
  9. package/dist/chunks/{provider-p59m71ee.js → worktree-0e4n6tbr.js} +15 -15
  10. package/dist/chunks/{provider-sjdqp3nh.js → worktree-0et686r7.js} +7 -7
  11. package/dist/chunks/{provider-gqsmyx82.js → worktree-0njhf5dz.js} +15 -15
  12. package/dist/chunks/{provider-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{provider-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{provider-bct739vz.js → worktree-0v53mg2y.js} +4 -4
  15. package/dist/chunks/{provider-b76baeng.js → worktree-0vr4ynh9.js} +30 -30
  16. package/dist/chunks/{provider-yj604rek.js → worktree-0w34kcyc.js} +9 -9
  17. package/dist/chunks/{provider-x0zfx1ce.js → worktree-12xc1hc8.js} +11 -11
  18. package/dist/chunks/{provider-ahsc6j0w.js → worktree-135ds6rk.js} +14 -14
  19. package/dist/chunks/{provider-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{provider-azz15b0c.js → worktree-1gayks8f.js} +18 -18
  21. package/dist/chunks/{provider-czpndhbz.js → worktree-1j08d619.js} +23 -23
  22. package/dist/chunks/{provider-7jh389ga.js → worktree-1jcctp8h.js} +24 -24
  23. package/dist/chunks/worktree-1x11rq2a.js +18 -0
  24. package/dist/chunks/{provider-21r38tys.js → worktree-21r38tys.js} +1 -1
  25. package/dist/chunks/{provider-w4arg62q.js → worktree-23pqda6t.js} +4 -4
  26. package/dist/chunks/{provider-5phqnecy.js → worktree-23sxaqwc.js} +7 -7
  27. package/dist/chunks/{provider-2402vzrj.js → worktree-2402vzrj.js} +1 -1
  28. package/dist/chunks/{provider-0t9wd588.js → worktree-25cs5cen.js} +8 -8
  29. package/dist/chunks/{provider-06dxphr1.js → worktree-26k5bknw.js} +4 -4
  30. package/dist/chunks/{provider-yc4tz3dj.js → worktree-26zmw6vg.js} +50 -50
  31. package/dist/chunks/{provider-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{provider-1sadxdse.js → worktree-2grvmngk.js} +11 -11
  33. package/dist/chunks/{provider-mf9fhcz6.js → worktree-2h5p72nb.js} +4 -4
  34. package/dist/chunks/{provider-qgn6gcr1.js → worktree-2k8khapm.js} +5 -5
  35. package/dist/chunks/{provider-51y1rz4t.js → worktree-2rr20z1w.js} +4 -4
  36. package/dist/chunks/{provider-cq37gk0t.js → worktree-2tfmgkzg.js} +4 -4
  37. package/dist/chunks/{provider-7ntfaaks.js → worktree-2xb0rw2k.js} +8 -8
  38. package/dist/chunks/{provider-fcnhywp4.js → worktree-2xx7cc67.js} +33 -33
  39. package/dist/chunks/{provider-c0f3p06s.js → worktree-32kkc7q0.js} +17 -17
  40. package/dist/chunks/{provider-mgm5zdqv.js → worktree-346kb89v.js} +10 -10
  41. package/dist/chunks/{provider-69s15509.js → worktree-35zpw20s.js} +11 -11
  42. package/dist/chunks/{provider-kx6q1bss.js → worktree-36385fv4.js} +5 -5
  43. package/dist/chunks/{provider-q9kwjsx6.js → worktree-39xar9bx.js} +15 -15
  44. package/dist/chunks/{provider-9xvq3m7s.js → worktree-3cfzdc8e.js} +5 -5
  45. package/dist/chunks/{provider-pbb1p4ms.js → worktree-3errd6sf.js} +47 -47
  46. package/dist/chunks/worktree-3ewahy0x.js +252 -0
  47. package/dist/chunks/{provider-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
  48. package/dist/chunks/{provider-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{provider-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{provider-w7q1zcrw.js → worktree-3spkf7qp.js} +13 -13
  51. package/dist/chunks/{provider-1e2dyvvx.js → worktree-3stbnqm0.js} +35 -35
  52. package/dist/chunks/{provider-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
  53. package/dist/chunks/{provider-a200qbpt.js → worktree-3wx5qy6d.js} +10 -10
  54. package/dist/chunks/{provider-h6r3nrb9.js → worktree-44h5tttr.js} +4 -4
  55. package/dist/chunks/{provider-j4dv9dx7.js → worktree-4jf64xzc.js} +12 -12
  56. package/dist/chunks/{provider-phrvssew.js → worktree-4jq676mw.js} +5 -5
  57. package/dist/chunks/{provider-2vqtjfqv.js → worktree-4m36v5dn.js} +24 -24
  58. package/dist/chunks/{provider-c2ddg0d0.js → worktree-50x9syx5.js} +23 -23
  59. package/dist/chunks/{provider-1ygqh575.js → worktree-56gdpj1q.js} +9 -9
  60. package/dist/chunks/{provider-57ez7d0k.js → worktree-57ez7d0k.js} +2 -2
  61. package/dist/chunks/{provider-a1bz86dw.js → worktree-5c4hm403.js} +3 -3
  62. package/dist/chunks/{provider-jexxy024.js → worktree-5cmxdwv8.js} +3 -3
  63. package/dist/chunks/{provider-5daktx2q.js → worktree-5daktx2q.js} +1 -1
  64. package/dist/chunks/{provider-skzznzbs.js → worktree-5e1anv4t.js} +22 -22
  65. package/dist/chunks/{provider-mvyy4qh8.js → worktree-5fj6ztyw.js} +84 -84
  66. package/dist/chunks/{provider-8atp6zqh.js → worktree-5g7dqg8p.js} +5 -5
  67. package/dist/chunks/{provider-mamd5kgb.js → worktree-5k7h9vpf.js} +23 -23
  68. package/dist/chunks/{provider-arxff2r5.js → worktree-5nvfww89.js} +11 -11
  69. package/dist/chunks/{provider-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
  70. package/dist/chunks/{provider-669tq793.js → worktree-669tq793.js} +1 -1
  71. package/dist/chunks/{provider-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{provider-hwvyndb6.js → worktree-6xwcf1a8.js} +4 -4
  73. package/dist/chunks/{provider-gfzhf7me.js → worktree-75xv13tv.js} +10 -10
  74. package/dist/chunks/{provider-vyqfs9aq.js → worktree-780m7f13.js} +40 -40
  75. package/dist/chunks/{provider-d31rezqm.js → worktree-79rfjzgm.js} +14 -14
  76. package/dist/chunks/{provider-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{provider-x3hxzb6n.js → worktree-7d0yyna9.js} +8 -8
  78. package/dist/chunks/{provider-hzzpcvtj.js → worktree-7ge5j3yy.js} +26 -26
  79. package/dist/chunks/{provider-kdde5j3x.js → worktree-7hqt86v7.js} +43 -43
  80. package/dist/chunks/{provider-bdav1pff.js → worktree-7p8zv4r2.js} +28 -28
  81. package/dist/chunks/{provider-h4bz714h.js → worktree-7zs56f9j.js} +6 -6
  82. package/dist/chunks/{provider-hm5a9yba.js → worktree-83gabncn.js} +24 -24
  83. package/dist/chunks/{provider-s0ktpnqb.js → worktree-87dgkaj8.js} +10 -10
  84. package/dist/chunks/{provider-mpjm327k.js → worktree-89s1mcqs.js} +7 -7
  85. package/dist/chunks/{provider-kye37pnh.js → worktree-8c28nkj2.js} +13 -13
  86. package/dist/chunks/{provider-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{provider-t4bqh1bd.js → worktree-8e1xm2jx.js} +17 -17
  88. package/dist/chunks/{provider-fbnf3z29.js → worktree-8gr00jt2.js} +3 -3
  89. package/dist/chunks/{provider-sgc0b5k4.js → worktree-8gyebbke.js} +9 -9
  90. package/dist/chunks/{provider-1htf6gj8.js → worktree-8nxjb84w.js} +85 -85
  91. package/dist/chunks/{provider-vbfgae2j.js → worktree-8tsdq50x.js} +4 -4
  92. package/dist/chunks/{provider-hhm6svje.js → worktree-8wvjpm5e.js} +43 -43
  93. package/dist/chunks/{provider-dknzpsbe.js → worktree-91xevwh1.js} +5 -5
  94. package/dist/chunks/{provider-1682qy7f.js → worktree-97z8nx23.js} +25 -25
  95. package/dist/chunks/{provider-a9bks421.js → worktree-9kpbfwfm.js} +26 -26
  96. package/dist/chunks/{provider-pr7veg4m.js → worktree-9qwzd11x.js} +3 -3
  97. package/dist/chunks/{provider-1rh720zf.js → worktree-9x09xbgz.js} +6 -6
  98. package/dist/chunks/{provider-ss7ks4j5.js → worktree-a2wwx1s9.js} +25 -25
  99. package/dist/chunks/{provider-sxz6gkc3.js → worktree-a46v4e4v.js} +7 -7
  100. package/dist/chunks/{provider-j7s4bfg0.js → worktree-a70mfejk.js} +52 -52
  101. package/dist/chunks/{provider-gztt0stp.js → worktree-a89emqe4.js} +172 -172
  102. package/dist/chunks/{provider-aaet6srn.js → worktree-aaet6srn.js} +2 -2
  103. package/dist/chunks/{provider-8dbgybgw.js → worktree-awavsj5m.js} +3 -3
  104. package/dist/chunks/{provider-aya99032.js → worktree-awazhe6z.js} +17 -17
  105. package/dist/chunks/{provider-fdms3n6w.js → worktree-b0dgvpy7.js} +9 -9
  106. package/dist/chunks/{provider-0y1q99g5.js → worktree-b0gk7qzq.js} +20 -20
  107. package/dist/chunks/{provider-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{provider-bz85s9hh.js → worktree-b97cbvw3.js} +1 -1
  109. package/dist/chunks/{provider-3znt1wpk.js → worktree-bdreqd6y.js} +9 -9
  110. package/dist/chunks/{provider-qw8em5ng.js → worktree-bhhhtnas.js} +22 -22
  111. package/dist/chunks/{provider-0rpg7gzc.js → worktree-bjn91642.js} +4 -4
  112. package/dist/chunks/{provider-7arg0xwe.js → worktree-bk738gev.js} +17 -17
  113. package/dist/chunks/{provider-rcj95w22.js → worktree-bpsvpgx8.js} +17 -17
  114. package/dist/chunks/{provider-p37cw4rj.js → worktree-br0tr5aq.js} +8 -8
  115. package/dist/chunks/{provider-rgk2ney7.js → worktree-bv5fntwv.js} +15 -15
  116. package/dist/chunks/{provider-74wf7e56.js → worktree-bwj0s2z3.js} +7 -7
  117. package/dist/chunks/{provider-dzkcnhdc.js → worktree-c71ge8jf.js} +11 -11
  118. package/dist/chunks/{provider-yaze7axp.js → worktree-c9q1sp9w.js} +8 -8
  119. package/dist/chunks/{provider-w6d5a1tb.js → worktree-cph6vb6s.js} +24 -24
  120. package/dist/chunks/{provider-8mr3k4h2.js → worktree-ctf4v5qh.js} +11 -11
  121. package/dist/chunks/{provider-nda2wghv.js → worktree-cyq0b8sg.js} +17 -17
  122. package/dist/chunks/{provider-s8zy8myc.js → worktree-d2aac7k2.js} +5 -5
  123. package/dist/chunks/{provider-aredzfvk.js → worktree-d4cw493d.js} +4 -4
  124. package/dist/chunks/{provider-82kndyh8.js → worktree-d57x1pyx.js} +7 -7
  125. package/dist/chunks/{provider-03wh323s.js → worktree-d96a640y.js} +16 -16
  126. package/dist/chunks/{provider-h0ccxrqf.js → worktree-dcvngtvp.js} +30 -30
  127. package/dist/chunks/{provider-y7ysfew0.js → worktree-ddt58ebd.js} +22 -22
  128. package/dist/chunks/{provider-8p4f9s12.js → worktree-dj2t23y0.js} +2 -2
  129. package/dist/chunks/{provider-drwq78ky.js → worktree-drwq78ky.js} +1 -1
  130. package/dist/chunks/{provider-0r7yqxbf.js → worktree-e6hmchc5.js} +5 -5
  131. package/dist/chunks/{provider-f62qkzqr.js → worktree-e8qyrgb1.js} +5 -5
  132. package/dist/chunks/{provider-rhjbct0v.js → worktree-eaj1djv9.js} +8 -8
  133. package/dist/chunks/{provider-n9q5nv43.js → worktree-eex107wk.js} +8 -8
  134. package/dist/chunks/{provider-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{provider-ftqh13bq.js → worktree-eq8dtg11.js} +8 -8
  136. package/dist/chunks/{provider-erw5rpbs.js → worktree-erw5rpbs.js} +2 -2
  137. package/dist/chunks/{provider-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{provider-5em3v9t2.js → worktree-ez0trfpj.js} +7 -7
  139. package/dist/chunks/{provider-chrwx1ra.js → worktree-ezy2bptn.js} +8 -8
  140. package/dist/chunks/{provider-r8xr0va3.js → worktree-f2n192rq.js} +4 -4
  141. package/dist/chunks/{provider-qg0jgkcp.js → worktree-fhs97t90.js} +9 -9
  142. package/dist/chunks/{provider-hyrz6ndr.js → worktree-fmkkzw6c.js} +12 -12
  143. package/dist/chunks/{provider-v7c1j4fy.js → worktree-fp9dkyzv.js} +30 -30
  144. package/dist/chunks/{provider-s9rhvhkx.js → worktree-fv3nz7za.js} +11 -11
  145. package/dist/chunks/{provider-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{provider-4bnvpwd7.js → worktree-g057r8b7.js} +6 -6
  147. package/dist/chunks/{provider-p7vtmph1.js → worktree-g4ap4hkb.js} +8 -8
  148. package/dist/chunks/{provider-fa88dyr4.js → worktree-g5pg1z3v.js} +24 -24
  149. package/dist/chunks/{provider-5w7vw2xw.js → worktree-gc3cjvmd.js} +5 -5
  150. package/dist/chunks/{provider-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{provider-zzrdptt8.js → worktree-ggfrbsvd.js} +6 -6
  152. package/dist/chunks/{provider-nbaznm45.js → worktree-gm5vzmqr.js} +42 -42
  153. package/dist/chunks/{provider-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{provider-1gncp487.js → worktree-gwzmxzqv.js} +23 -23
  155. package/dist/chunks/{provider-n8nx7cky.js → worktree-h6366cww.js} +26 -26
  156. package/dist/chunks/{provider-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{provider-mzpqym4s.js → worktree-ha48bngf.js} +23 -23
  158. package/dist/chunks/{provider-f828m53h.js → worktree-hdnk95c8.js} +2 -2
  159. package/dist/chunks/{provider-apx0827f.js → worktree-hekpxy8z.js} +3 -3
  160. package/dist/chunks/{provider-7zzc33zw.js → worktree-heyyxcdn.js} +23 -23
  161. package/dist/chunks/{provider-e9sqvrex.js → worktree-hgcakkdy.js} +4 -4
  162. package/dist/chunks/{provider-njm86czr.js → worktree-hj38q284.js} +24 -24
  163. package/dist/chunks/{provider-g15pfrmb.js → worktree-hkchw422.js} +13 -13
  164. package/dist/chunks/{provider-52e3x94b.js → worktree-hxjj1ytk.js} +314 -314
  165. package/dist/chunks/{provider-05xfxpq7.js → worktree-hz84tk5e.js} +8 -8
  166. package/dist/chunks/{provider-whc354j7.js → worktree-hzq9ckfm.js} +20 -20
  167. package/dist/chunks/{provider-j56e64zr.js → worktree-j56e64zr.js} +1 -1
  168. package/dist/chunks/{provider-v2vsy0py.js → worktree-jdp0p5sy.js} +1 -1
  169. package/dist/chunks/{provider-4ckfh27y.js → worktree-jfqbecxf.js} +3 -3
  170. package/dist/chunks/{provider-zdwe30dy.js → worktree-jhf3jymm.js} +6 -6
  171. package/dist/chunks/{provider-1g0680n2.js → worktree-jqtedxjm.js} +44 -44
  172. package/dist/chunks/{provider-5rk0k3gd.js → worktree-jrra6jmc.js} +3 -3
  173. package/dist/chunks/{provider-q20c44bz.js → worktree-jvmrmb3q.js} +4 -4
  174. package/dist/chunks/{provider-78bv9fnp.js → worktree-k06dajrc.js} +17 -17
  175. package/dist/chunks/{provider-k3c624dm.js → worktree-k3c624dm.js} +3 -3
  176. package/dist/chunks/{provider-fbdydc3h.js → worktree-kh82he3q.js} +26 -26
  177. package/dist/chunks/{provider-fkjmw100.js → worktree-knb7evpn.js} +6 -6
  178. package/dist/chunks/{provider-2sd25e3x.js → worktree-ks6fp8g0.js} +16 -16
  179. package/dist/chunks/{provider-cnn77yjf.js → worktree-kv9x9mds.js} +4 -4
  180. package/dist/chunks/{provider-hgw9t808.js → worktree-kz2med77.js} +15 -15
  181. package/dist/chunks/{provider-cfpkc3c9.js → worktree-m0jqrx5p.js} +2 -2
  182. package/dist/chunks/{provider-49efg6hh.js → worktree-m31hrvtp.js} +14 -14
  183. package/dist/chunks/{provider-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
  184. package/dist/chunks/{provider-yhjdj6k2.js → worktree-m3mk1ymc.js} +11 -11
  185. package/dist/chunks/{provider-3k8yvm90.js → worktree-m55360kq.js} +41 -41
  186. package/dist/chunks/{provider-q17z9dx8.js → worktree-m64xvjj1.js} +5 -5
  187. package/dist/chunks/{provider-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{provider-hqpd1xnh.js → worktree-mc3xbmaq.js} +13 -13
  189. package/dist/chunks/{provider-r5nnd09r.js → worktree-mdjkd3ee.js} +22 -22
  190. package/dist/chunks/{provider-90adh171.js → worktree-mn85ck47.js} +29 -29
  191. package/dist/chunks/{provider-6cpps8na.js → worktree-mrcbab82.js} +7 -7
  192. package/dist/chunks/{provider-hfn0xp6d.js → worktree-ms96e6xa.js} +5 -5
  193. package/dist/chunks/{provider-mhkvc446.js → worktree-mvfsc1pv.js} +3 -3
  194. package/dist/chunks/{provider-as2dbdzv.js → worktree-n0c6g085.js} +29 -29
  195. package/dist/chunks/{provider-d06mzzet.js → worktree-n32egdgz.js} +26 -26
  196. package/dist/chunks/{provider-cjjbnact.js → worktree-n4b7qefn.js} +16 -16
  197. package/dist/chunks/{provider-7py176jj.js → worktree-n9nnv5bx.js} +21 -21
  198. package/dist/chunks/{provider-mw0p63mw.js → worktree-nbcy93d5.js} +68 -68
  199. package/dist/chunks/{provider-hfczjsw8.js → worktree-ndqm9729.js} +18 -18
  200. package/dist/chunks/{provider-v2tzk7cv.js → worktree-nea2jzm4.js} +2 -2
  201. package/dist/chunks/{provider-v13rhakv.js → worktree-nksn1ctm.js} +26 -26
  202. package/dist/chunks/{provider-h6qqq1aa.js → worktree-nrfrnn4g.js} +27 -27
  203. package/dist/chunks/{provider-w9eedde7.js → worktree-nrqt53h4.js} +25 -25
  204. package/dist/chunks/{provider-pmyy6wgx.js → worktree-nrvgxq91.js} +4 -4
  205. package/dist/chunks/{provider-vhaqwyxf.js → worktree-ntj434hm.js} +6 -6
  206. package/dist/chunks/{provider-r8gxghcv.js → worktree-p0w9t4nv.js} +18 -18
  207. package/dist/chunks/{provider-chmcj56h.js → worktree-p6fzwed5.js} +3 -3
  208. package/dist/chunks/{provider-15td0j1z.js → worktree-pcvbzdg6.js} +23 -23
  209. package/dist/chunks/{provider-h489nx9j.js → worktree-pfgvbcn0.js} +9 -9
  210. package/dist/chunks/{provider-jen70y5q.js → worktree-pg2axqyg.js} +11 -11
  211. package/dist/chunks/{provider-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
  212. package/dist/chunks/{provider-pknna89w.js → worktree-pknna89w.js} +1 -1
  213. package/dist/chunks/{provider-f8nt1psr.js → worktree-pkwse4rj.js} +20 -20
  214. package/dist/chunks/{provider-ksqszy4w.js → worktree-pv1q3n8t.js} +11 -11
  215. package/dist/chunks/{provider-2ajc930w.js → worktree-pyj9dmja.js} +13 -13
  216. package/dist/chunks/{provider-n865fexc.js → worktree-q0r1avd8.js} +31 -31
  217. package/dist/chunks/{provider-9e8cqta3.js → worktree-qge4gbge.js} +18 -18
  218. package/dist/chunks/{provider-magykp64.js → worktree-qj8eh1ht.js} +4 -4
  219. package/dist/chunks/{provider-a8psvap3.js → worktree-qk7sb3fs.js} +30 -30
  220. package/dist/chunks/{provider-2sejkfem.js → worktree-qmqgtz8f.js} +9 -9
  221. package/dist/chunks/{provider-qsdy395h.js → worktree-qsdy395h.js} +1 -1
  222. package/dist/chunks/{provider-wydv7ax3.js → worktree-qsfdmrhc.js} +10 -10
  223. package/dist/chunks/{provider-ztvmj9vt.js → worktree-qvd2vpt5.js} +19 -19
  224. package/dist/chunks/{provider-tcj2t8vk.js → worktree-qwyrfpbr.js} +2 -2
  225. package/dist/chunks/{provider-4w04jcng.js → worktree-qz8rjx4n.js} +16 -16
  226. package/dist/chunks/{provider-r47bzvnc.js → worktree-r92bbbhx.js} +8 -8
  227. package/dist/chunks/{provider-b580bgdr.js → worktree-r98rf7en.js} +20 -20
  228. package/dist/chunks/{provider-65062tcg.js → worktree-rdrgmjyp.js} +10 -10
  229. package/dist/chunks/{provider-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
  230. package/dist/chunks/{provider-gwcwkmv7.js → worktree-rhn8bjdn.js} +19 -19
  231. package/dist/chunks/{provider-z159ncje.js → worktree-rjh41bnw.js} +8 -8
  232. package/dist/chunks/{provider-txqffk2q.js → worktree-rjn555ek.js} +5 -5
  233. package/dist/chunks/{provider-3ge4rz06.js → worktree-rq75yw12.js} +8 -8
  234. package/dist/chunks/{provider-ksawsn4b.js → worktree-rrern9t5.js} +37 -37
  235. package/dist/chunks/{provider-a2fd5jyn.js → worktree-sej8f238.js} +11 -11
  236. package/dist/chunks/{provider-nbwvdyvz.js → worktree-sj0sw9zb.js} +29 -29
  237. package/dist/chunks/{provider-emkcrqbg.js → worktree-smxfcp26.js} +9 -9
  238. package/dist/chunks/{provider-nazpdbhc.js → worktree-ss2rtpw1.js} +13 -13
  239. package/dist/chunks/{provider-86tpqd10.js → worktree-t243pvw8.js} +16 -16
  240. package/dist/chunks/{provider-grj8yyr4.js → worktree-t2866z93.js} +12 -12
  241. package/dist/chunks/{provider-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
  242. package/dist/chunks/{provider-p28j5sbe.js → worktree-tbz0fdvh.js} +5 -5
  243. package/dist/chunks/{provider-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
  244. package/dist/chunks/worktree-td9rdqgs.js +26 -0
  245. package/dist/chunks/{provider-tdstcens.js → worktree-tdstcens.js} +1 -1
  246. package/dist/chunks/{provider-tvtrv512.js → worktree-tvtrv512.js} +1 -1
  247. package/dist/chunks/{provider-t1vbng9k.js → worktree-twmrfj2d.js} +22 -22
  248. package/dist/chunks/{provider-k1gkpfdk.js → worktree-tx9w5tca.js} +8 -8
  249. package/dist/chunks/{provider-e2hjzebn.js → worktree-tz4n1mmd.js} +4 -4
  250. package/dist/chunks/{provider-mda8qtvh.js → worktree-v4gw1aty.js} +24 -24
  251. package/dist/chunks/{provider-ygaaqm9q.js → worktree-v53ttaz3.js} +6 -6
  252. package/dist/chunks/{provider-veqvce7d.js → worktree-veqvce7d.js} +1 -1
  253. package/dist/chunks/{provider-a3r4dcrj.js → worktree-vmgq4x8b.js} +2 -2
  254. package/dist/chunks/{provider-ybhbtxjg.js → worktree-vmwh049b.js} +6 -6
  255. package/dist/chunks/{provider-75f34rtq.js → worktree-vxrfxpxs.js} +3 -3
  256. package/dist/chunks/{provider-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{provider-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{provider-7mwfjdjg.js → worktree-wbtxrwsd.js} +16 -16
  259. package/dist/chunks/{provider-wd87259q.js → worktree-wd87259q.js} +1 -1
  260. package/dist/chunks/{provider-yebb45zj.js → worktree-wkfva7bh.js} +24 -24
  261. package/dist/chunks/{provider-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{provider-czsahcf5.js → worktree-xcc1re04.js} +11 -11
  263. package/dist/chunks/{provider-5jpkytcg.js → worktree-xjd2fv1x.js} +43 -43
  264. package/dist/chunks/{provider-jtm58g5z.js → worktree-xpxqhtvz.js} +33 -33
  265. package/dist/chunks/{provider-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{provider-basr843q.js → worktree-y31avz63.js} +3 -3
  267. package/dist/chunks/{provider-nsarsp7q.js → worktree-y5df08dr.js} +5 -5
  268. package/dist/chunks/{provider-y71avatq.js → worktree-y71avatq.js} +1 -1
  269. package/dist/chunks/{provider-671mfjqz.js → worktree-y9v5gkeq.js} +6 -6
  270. package/dist/chunks/{provider-h2pkw5gw.js → worktree-y9wbn93n.js} +21 -21
  271. package/dist/chunks/{provider-hhc94xxb.js → worktree-ybtbm60b.js} +37 -37
  272. package/dist/chunks/{provider-k8ens6qv.js → worktree-ynvr2dvc.js} +25 -25
  273. package/dist/chunks/{provider-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{provider-yrznvahk.js → worktree-yrznvahk.js} +2 -2
  275. package/dist/chunks/{provider-cjj42we6.js → worktree-yst3wyvc.js} +23 -23
  276. package/dist/chunks/{provider-fjafz3nd.js → worktree-ywrevtsf.js} +17 -17
  277. package/dist/chunks/{provider-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{provider-zp9qk7ne.js → worktree-z0hmyh7c.js} +30 -30
  279. package/dist/chunks/{provider-z63w68vq.js → worktree-z63w68vq.js} +2 -2
  280. package/dist/chunks/{provider-3b9qt4hj.js → worktree-zab19jja.js} +9 -9
  281. package/dist/chunks/{provider-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{provider-fx87g1p8.js → worktree-zhsyjq1s.js} +13 -13
  283. package/dist/chunks/{provider-4drh5h3y.js → worktree-zjhmce52.js} +1 -1
  284. package/dist/chunks/{provider-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{provider-c7yn6ytz.js → worktree-zrbcx4wy.js} +16 -16
  286. package/dist/chunks/{provider-855zaz61.js → worktree-ztf7grp6.js} +10 -10
  287. package/dist/chunks/{provider-05bgp5qp.js → worktree-zwnqbtaj.js} +33 -33
  288. package/dist/chunks/{provider-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +84 -84
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +124 -124
  298. package/dist/config/plugin/command.js +213 -213
  299. package/dist/config/plugin/compaction.js +161 -161
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +122 -122
  306. package/dist/config/plugin/mcp.js +131 -131
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +122 -122
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +125 -125
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +121 -121
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +127 -127
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +84 -84
  323. package/dist/database/database.js +65 -65
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +75 -75
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +69 -69
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +224 -224
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +96 -96
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +101 -101
  428. package/dist/form.js +83 -83
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +88 -88
  431. package/dist/generate.js +100 -100
  432. package/dist/git.js +6 -6
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +98 -98
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +359 -359
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +131 -131
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +356 -356
  470. package/dist/location.js +80 -80
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +101 -101
  473. package/dist/mcp/instructions.js +123 -123
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +98 -98
  478. package/dist/model-resolver.js +95 -95
  479. package/dist/model.js +99 -99
  480. package/dist/models-dev.js +102 -102
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +81 -81
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +112 -112
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +81 -81
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +103 -103
  491. package/dist/plugin/command.js +100 -100
  492. package/dist/plugin/compaction.js +132 -132
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +217 -217
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +330 -330
  498. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  499. package/dist/plugin/models-dev.js +95 -95
  500. package/dist/plugin/module.js +7 -7
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +101 -101
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  505. package/dist/plugin/provider/azure.js +121 -121
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +118 -118
  511. package/dist/plugin/provider/digitalocean.js +92 -92
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/gateway.js +2 -2
  515. package/dist/plugin/provider/github-copilot.js +92 -92
  516. package/dist/plugin/provider/gitlab.js +90 -90
  517. package/dist/plugin/provider/google-vertex.js +89 -89
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +76 -76
  520. package/dist/plugin/provider/lmstudio.js +121 -121
  521. package/dist/plugin/provider/modal.js +91 -91
  522. package/dist/plugin/provider/nvidia.js +1 -1
  523. package/dist/plugin/provider/ollama.js +121 -121
  524. package/dist/plugin/provider/openai.js +93 -93
  525. package/dist/plugin/provider/opencode.js +92 -92
  526. package/dist/plugin/provider/openrouter.js +90 -90
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  530. package/dist/plugin/provider/sap-ai-core.js +90 -90
  531. package/dist/plugin/provider/sdk-factory.js +1 -1
  532. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  533. package/dist/plugin/provider/venice.js +2 -2
  534. package/dist/plugin/provider/vercel.js +89 -89
  535. package/dist/plugin/provider/vllm.js +121 -121
  536. package/dist/plugin/provider/xai.js +90 -90
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +158 -158
  539. package/dist/plugin/sdk.js +75 -75
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +140 -140
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +349 -349
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +85 -85
  547. package/dist/plugin/vcs/hg.js +85 -85
  548. package/dist/plugin/warming.js +120 -120
  549. package/dist/plugin/websearch/exa.js +7 -7
  550. package/dist/plugin/websearch/firecrawl.js +6 -6
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +6 -6
  553. package/dist/plugin/websearch/parallel.js +8 -8
  554. package/dist/plugin/websearch/tavily.js +6 -6
  555. package/dist/plugin/websearch/tinyfish.js +8 -8
  556. package/dist/plugin.js +220 -220
  557. package/dist/project/schema.js +2 -2
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +79 -79
  560. package/dist/provider.js +100 -100
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/schema.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +93 -93
  565. package/dist/reference/instructions.js +88 -88
  566. package/dist/reference.js +90 -90
  567. package/dist/repository-cache.js +80 -80
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +96 -96
  571. package/dist/rpc.js +85 -85
  572. package/dist/schema.js +1 -1
  573. package/dist/session/command.js +73 -73
  574. package/dist/session/compaction.js +133 -133
  575. package/dist/session/context.js +151 -151
  576. package/dist/session/diff.js +87 -87
  577. package/dist/session/environment.js +5 -5
  578. package/dist/session/error.js +5 -5
  579. package/dist/session/event.js +1 -1
  580. package/dist/session/execution/restart.js +220 -220
  581. package/dist/session/execution.js +125 -125
  582. package/dist/session/generate.js +150 -150
  583. package/dist/session/history.js +13 -13
  584. package/dist/session/inbox.js +89 -89
  585. package/dist/session/info.js +3 -3
  586. package/dist/session/instruction-entry.js +78 -78
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +96 -96
  589. package/dist/session/message-updater.js +4 -4
  590. package/dist/session/message.js +1 -1
  591. package/dist/session/model-request.js +118 -118
  592. package/dist/session/model-transport.js +9 -9
  593. package/dist/session/move.js +129 -129
  594. package/dist/session/projector.js +85 -85
  595. package/dist/session/prompt.js +104 -104
  596. package/dist/session/provider-context.js +3 -3
  597. package/dist/session/revert.js +89 -89
  598. package/dist/session/run-coordinator.js +3 -3
  599. package/dist/session/runner/index.js +3 -3
  600. package/dist/session/runner/llm.js +230 -230
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +97 -97
  603. package/dist/session/runner/publish-llm-event.js +3 -3
  604. package/dist/session/runner/retry.js +113 -113
  605. package/dist/session/runner/step.js +125 -125
  606. package/dist/session/runner/to-llm-message.js +2 -2
  607. package/dist/session/schema.js +5 -5
  608. package/dist/session/session.js +169 -169
  609. package/dist/session/shell.js +137 -137
  610. package/dist/session/skill.js +102 -102
  611. package/dist/session/sql.js +5 -5
  612. package/dist/session/stats.js +72 -72
  613. package/dist/session/store.js +86 -86
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +209 -209
  616. package/dist/session/system-prompt.js +1 -1
  617. package/dist/session/title.js +155 -155
  618. package/dist/session/to-session-error.js +110 -110
  619. package/dist/session/transfer.js +213 -213
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +215 -215
  622. package/dist/shell/parse.js +6 -6
  623. package/dist/shell/result.js +1 -1
  624. package/dist/shell/scan.js +1 -1
  625. package/dist/shell/select.js +15 -15
  626. package/dist/shell.js +139 -139
  627. package/dist/skill/discovery.js +6 -6
  628. package/dist/skill/instructions.js +106 -106
  629. package/dist/skill.js +111 -111
  630. package/dist/snapshot.js +88 -88
  631. package/dist/state.js +1 -1
  632. package/dist/tool/html-markdown.js +1 -1
  633. package/dist/tool/http-body.js +1 -1
  634. package/dist/tool/mcp.js +122 -122
  635. package/dist/tool/plugin/edit.js +119 -119
  636. package/dist/tool/plugin/file-diff.js +1 -1
  637. package/dist/tool/plugin/glob.js +123 -123
  638. package/dist/tool/plugin/grep.js +123 -123
  639. package/dist/tool/plugin/opencode.js +3 -3
  640. package/dist/tool/plugin/patch.js +115 -115
  641. package/dist/tool/plugin/question.js +100 -100
  642. package/dist/tool/plugin/read.js +124 -124
  643. package/dist/tool/plugin/shell.js +214 -214
  644. package/dist/tool/plugin/skill.js +112 -112
  645. package/dist/tool/plugin/subagent.js +218 -218
  646. package/dist/tool/plugin/webfetch.js +111 -111
  647. package/dist/tool/plugin/websearch.js +111 -111
  648. package/dist/tool/plugin/write.js +119 -119
  649. package/dist/tool/read-filesystem.js +99 -99
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +8 -8
  652. package/dist/tool.js +14 -14
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +5 -5
  663. package/dist/v1/config/attachment.js +4 -4
  664. package/dist/v1/config/command.js +5 -5
  665. package/dist/v1/config/config.js +16 -16
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/formatter.js +5 -5
  668. package/dist/v1/config/layout.js +1 -1
  669. package/dist/v1/config/lsp.js +3 -3
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +91 -91
  672. package/dist/v1/config/permission.js +3 -3
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/v1/config/server.js +2 -2
  677. package/dist/v1/config/skills.js +3 -3
  678. package/dist/v1/permission.js +1 -1
  679. package/dist/variant.js +90 -90
  680. package/dist/vcs/patch.js +1 -1
  681. package/dist/vcs.js +88 -88
  682. package/dist/websearch.js +81 -81
  683. package/dist/wellknown/plugin.js +73 -73
  684. package/dist/wellknown.js +80 -80
  685. package/dist/workspace/driver.js +7 -7
  686. package/dist/workspace/sql.js +1 -1
  687. package/dist/workspace.js +79 -79
  688. package/dist/worktree/directory.js +2 -2
  689. package/dist/worktree/git.js +10 -10
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree/strategies.js +88 -88
  692. package/dist/worktree.js +95 -95
  693. package/package.json +8 -8
  694. package/dist/chunks/provider-v1faaxn9.js +0 -18
  695. package/dist/chunks/provider-xsqp7mar.js +0 -252
  696. package/dist/chunks/provider-yn02nake.js +0 -26
  697. /package/dist/chunks/{provider-0mesazry.js → worktree-0mesazry.js} +0 -0
  698. /package/dist/chunks/{provider-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  699. /package/dist/chunks/{provider-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  700. /package/dist/chunks/{provider-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  701. /package/dist/chunks/{provider-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  702. /package/dist/chunks/{provider-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
  703. /package/dist/chunks/{provider-24dcb14g.js → worktree-24dcb14g.js} +0 -0
  704. /package/dist/chunks/{provider-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  705. /package/dist/chunks/{provider-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
  706. /package/dist/chunks/{provider-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  707. /package/dist/chunks/{provider-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  708. /package/dist/chunks/{provider-3asan66x.js → worktree-3asan66x.js} +0 -0
  709. /package/dist/chunks/{provider-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{provider-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
  711. /package/dist/chunks/{provider-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  712. /package/dist/chunks/{provider-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  713. /package/dist/chunks/{provider-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  714. /package/dist/chunks/{provider-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
  715. /package/dist/chunks/{provider-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  716. /package/dist/chunks/{provider-53557ph1.js → worktree-53557ph1.js} +0 -0
  717. /package/dist/chunks/{provider-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  718. /package/dist/chunks/{provider-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
  719. /package/dist/chunks/{provider-6prwharc.js → worktree-6prwharc.js} +0 -0
  720. /package/dist/chunks/{provider-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  721. /package/dist/chunks/{provider-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  722. /package/dist/chunks/{provider-822emrt2.js → worktree-822emrt2.js} +0 -0
  723. /package/dist/chunks/{provider-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{provider-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{provider-922hggd3.js → worktree-922hggd3.js} +0 -0
  726. /package/dist/chunks/{provider-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{provider-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{provider-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{provider-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{provider-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{provider-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{provider-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{provider-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{provider-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{provider-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{provider-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{provider-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{provider-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{provider-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{provider-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{provider-df08tz66.js → worktree-df08tz66.js} +0 -0
  742. /package/dist/chunks/{provider-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{provider-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{provider-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{provider-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{provider-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{provider-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{provider-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{provider-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{provider-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{provider-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{provider-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
  753. /package/dist/chunks/{provider-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  754. /package/dist/chunks/{provider-g86h250q.js → worktree-g86h250q.js} +0 -0
  755. /package/dist/chunks/{provider-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  756. /package/dist/chunks/{provider-gftt206x.js → worktree-gftt206x.js} +0 -0
  757. /package/dist/chunks/{provider-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
  758. /package/dist/chunks/{provider-hk9envan.js → worktree-hk9envan.js} +0 -0
  759. /package/dist/chunks/{provider-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  760. /package/dist/chunks/{provider-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  761. /package/dist/chunks/{provider-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
  762. /package/dist/chunks/{provider-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  763. /package/dist/chunks/{provider-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  764. /package/dist/chunks/{provider-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{provider-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{provider-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{provider-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{provider-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{provider-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{provider-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{provider-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{provider-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{provider-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{provider-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{provider-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{provider-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{provider-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{provider-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{provider-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
  780. /package/dist/chunks/{provider-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{provider-twg0f83k.js → worktree-twg0f83k.js} +0 -0
  782. /package/dist/chunks/{provider-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{provider-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{provider-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{provider-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{provider-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{provider-x61499pn.js → worktree-x61499pn.js} +0 -0
  788. /package/dist/chunks/{provider-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{provider-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
  790. /package/dist/chunks/{provider-y8f7s663.js → worktree-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{provider-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{provider-ym463w8f.js → worktree-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{provider-z9919s4g.js → worktree-z9919s4g.js} +0 -0
@@ -2,35 +2,35 @@ import {
2
2
  ephemeral2,
3
3
  Service82,
4
4
  node86
5
- } from "./provider-q20c44bz.js";
5
+ } from "./worktree-jvmrmb3q.js";
6
6
  import {
7
- Key3,
7
+ Key4,
8
8
  unavailable3,
9
9
  removed2,
10
- make20,
10
+ make21,
11
11
  diffByKey2
12
- } from "./provider-rhjbct0v.js";
12
+ } from "./worktree-eaj1djv9.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./provider-922hggd3.js";
15
+ } from "./worktree-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./provider-rdw6cm16.js";
18
+ } from "./worktree-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./provider-9rqn6x4v.js";
21
+ } from "./worktree-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event12,
26
+ Event: () => Event9,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options9,
30
- Service: () => Service54,
31
- configured: () => configured9,
32
- layer: () => layer19,
33
- node: () => node58
29
+ Options: () => Options6,
30
+ Service: () => Service51,
31
+ configured: () => configured6,
32
+ layer: () => layer18,
33
+ node: () => node53
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
41
41
  }) {
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
- var key = Key3.make("core/instructions");
45
- var Event12 = {
44
+ var key = Key4.make("core/instructions");
45
+ var Event9 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options9 = Schema.Struct({
48
+ var Options6 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service54 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service51 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer19 = (options) => Layer.effect(Service54, Effect.gen(function* () {
55
+ var layer18 = (options) => Layer.effect(Service51, Effect.gen(function* () {
56
56
  const bus = yield* Service82;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
@@ -72,9 +72,9 @@ var layer19 = (options) => Layer.effect(Service54, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event12.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event9.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make20({
77
+ const source = (value) => make21({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer19 = (options) => Layer.effect(Service54, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service54.of({
93
+ return Service51.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer19 = (options) => Layer.effect(Service54, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured9(options) {
107
+ function configured6(options) {
108
108
  return makeLocationNode({
109
- service: Service54,
110
- layer: layer19(options),
109
+ service: Service51,
110
+ layer: layer18(options),
111
111
  deps: [node86]
112
112
  });
113
113
  }
114
- var node58 = configured9();
114
+ var node53 = configured6();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event12, Options9, Service54, layer19, configured9, node58, exports_instruction_discovery };
145
+ export { File2, Event9, Options6, Service51, layer18, configured6, node53, exports_instruction_discovery };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./provider-pbb1p4ms.js";
3
+ } from "./worktree-3errd6sf.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./provider-twg0f83k.js";
6
+ } from "./worktree-twg0f83k.js";
7
7
  import {
8
8
  __export
9
- } from "./provider-9rqn6x4v.js";
9
+ } from "./worktree-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./provider-ec1grn59.js";
3
+ } from "./worktree-ec1grn59.js";
4
4
  import {
5
5
  toSessionError2
6
- } from "./provider-aredzfvk.js";
6
+ } from "./worktree-d4cw493d.js";
7
7
  import {
8
8
  __export
9
- } from "./provider-9rqn6x4v.js";
9
+ } from "./worktree-9rqn6x4v.js";
10
10
 
11
11
  // src/session/runner/retry.ts
12
12
  var exports_retry = {};
13
13
  __export(exports_retry, {
14
14
  SessionRunnerRetry: () => exports_retry,
15
15
  isRetryable: () => isRetryable2,
16
- make: () => make8,
16
+ make: () => make9,
17
17
  policy: () => policy2,
18
18
  transient: () => transient2
19
19
  });
@@ -99,7 +99,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
99
99
  return true;
100
100
  })
101
101
  });
102
- var make8 = (bus, sessionID) => Effect.gen(function* () {
102
+ var make9 = (bus, sessionID) => Effect.gen(function* () {
103
103
  const decide = yield* policy2(sessionID);
104
104
  const wait = (input) => Effect.gen(function* () {
105
105
  const scheduled = yield* Clock.currentTimeMillis;
@@ -116,4 +116,4 @@ var make8 = (bus, sessionID) => Effect.gen(function* () {
116
116
  return { decide, wait };
117
117
  });
118
118
 
119
- export { isRetryable2, policy2, transient2, make8, exports_retry };
119
+ export { isRetryable2, policy2, transient2, make9, exports_retry };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./provider-922hggd3.js";
3
+ } from "./worktree-922hggd3.js";
4
4
  import {
5
5
  Service79
6
- } from "./provider-v2tzk7cv.js";
6
+ } from "./worktree-nea2jzm4.js";
7
7
  import {
8
- Service61
9
- } from "./provider-hgw9t808.js";
8
+ Service68
9
+ } from "./worktree-kz2med77.js";
10
10
  import {
11
- Service7
12
- } from "./provider-86tpqd10.js";
11
+ Service6
12
+ } from "./worktree-t243pvw8.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./provider-2a5m3afh.js";
15
+ } from "./worktree-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service8
27
- } from "./provider-gqsmyx82.js";
26
+ Service7
27
+ } from "./worktree-0njhf5dz.js";
28
28
  import {
29
29
  __export
30
- } from "./provider-9rqn6x4v.js";
30
+ } from "./worktree-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input6,
36
- Plugin: () => Plugin23,
35
+ Input: () => Input4,
36
+ Plugin: () => Plugin4,
37
37
  ReadTool: () => exports_read,
38
- name: () => name6,
39
- toModelContent: () => toModelContent3
38
+ name: () => name4,
39
+ toModelContent: () => toModelContent4
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name6 = "read";
45
+ var name4 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input6 = LocationInput;
56
+ var Input4 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin23 = {
58
+ var Plugin4 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service8;
62
- const access = yield* Service61;
63
- const sessionInstructions = yield* Service7;
61
+ const reader = yield* Service7;
62
+ const access = yield* Service68;
63
+ const sessionInstructions = yield* Service6;
64
64
  const fs = yield* FSUtil.Service;
65
65
  const location = yield* Service79;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name6,
67
+ name: name4,
68
68
  options: { codemode: false },
69
69
  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.",
70
- input: Input6,
70
+ input: Input4,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin23 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent3(result.path, input.offset, result.output),
115
+ content: toModelContent4(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent3 = (path, offset, output) => {
147
+ var toModelContent4 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent3 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name6, Input6, Plugin23, toModelContent3, exports_read };
183
+ export { name4, Input4, Plugin4, toModelContent4, exports_read };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./provider-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
- var exports_command4 = {};
7
- __export(exports_command4, {
8
- ConfigCommandV1: () => exports_command4,
9
- Info: () => Info13
6
+ var exports_command5 = {};
7
+ __export(exports_command5, {
8
+ ConfigCommandV1: () => exports_command5,
9
+ Info: () => Info20
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info13 = Schema.Struct({
12
+ var Info20 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info13 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info13, exports_command4 };
21
+ export { Info20, exports_command5 };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./provider-q20c44bz.js";
4
+ } from "./worktree-jvmrmb3q.js";
5
5
  import {
6
6
  Service79,
7
7
  node83
8
- } from "./provider-v2tzk7cv.js";
8
+ } from "./worktree-nea2jzm4.js";
9
9
  import {
10
- ID10,
11
- Service67,
12
- node71
13
- } from "./provider-h2pkw5gw.js";
10
+ ID15,
11
+ Service77,
12
+ node81
13
+ } from "./worktree-y9wbn93n.js";
14
14
  import {
15
- NotFoundError9
16
- } from "./provider-ybhbtxjg.js";
15
+ NotFoundError10
16
+ } from "./worktree-vmwh049b.js";
17
17
  import {
18
- Service65,
19
- node69
20
- } from "./provider-ahsc6j0w.js";
18
+ Service76,
19
+ node80
20
+ } from "./worktree-135ds6rk.js";
21
21
  import {
22
22
  match2
23
- } from "./provider-y1fvbwt7.js";
23
+ } from "./worktree-y1fvbwt7.js";
24
24
  import {
25
- Service66,
26
- node70
27
- } from "./provider-aya99032.js";
25
+ Service75,
26
+ node79
27
+ } from "./worktree-awazhe6z.js";
28
28
  import {
29
- Service68,
30
- node72
31
- } from "./provider-k1gkpfdk.js";
29
+ Service78,
30
+ node82
31
+ } from "./worktree-tx9w5tca.js";
32
32
  import {
33
33
  __export
34
- } from "./provider-9rqn6x4v.js";
34
+ } from "./worktree-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,29 +42,29 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event14,
46
- ID: () => ID8,
47
- NotFoundError: () => NotFoundError8,
45
+ Event: () => Event19,
46
+ ID: () => ID13,
47
+ NotFoundError: () => NotFoundError9,
48
48
  Permission: () => exports_permission2,
49
- Reply: () => Reply2,
49
+ Reply: () => Reply3,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request2,
51
+ Request: () => Request3,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service64,
54
+ Service: () => Service74,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node68
58
+ node: () => node78
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event14 } from "@opencode/schema/permission";
64
+ import { Event as Event19 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID8 = Permission.ID;
67
+ var ID13 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request2 = Permission.Request;
78
- var Reply2 = Permission.Reply;
77
+ var Request3 = Permission.Request;
78
+ var Reply3 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID8.pipe(Schema.optional),
80
+ id: ID13.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID10.pipe(Schema.optional)
82
+ agent: ID15.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID8,
86
- reply: Reply2,
85
+ requestID: ID13,
86
+ reply: Reply3,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID8,
90
+ id: ID13,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID8
113
+ class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID13
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service64 extends Context.Service()("@opencode/Permission") {
128
+ class Service74 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service64, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
131
131
  const bus = yield* Service82;
132
132
  const location = yield* Service79;
133
- const agents = yield* Service67;
134
- const sessions = yield* Service65;
135
- const saved = yield* Service66;
136
- const hooks = yield* Service68;
133
+ const agents = yield* Service77;
134
+ const sessions = yield* Service76;
135
+ const saved = yield* Service75;
136
+ const hooks = yield* Service78;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError9({ sessionID });
159
+ return yield* new NotFoundError10({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID8.create(),
189
+ id: input.id ?? ID13.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID8.create(), effect: "deny" };
214
+ return { id: input.id ?? ID13.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError8({ requestID: input.requestID });
245
+ return yield* new NotFoundError9({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service64.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service74.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node68 = makeLocationNode({
303
- service: Service64,
302
+ var node78 = makeLocationNode({
303
+ service: Service74,
304
304
  layer,
305
- deps: [node86, node83, node71, node69, node70, node72]
305
+ deps: [node86, node83, node81, node80, node79, node82]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service64, node68, exports_permission2, Rule3, Ruleset2, Event14 };
308
+ export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service74, node78, exports_permission2, Rule3, Ruleset2, Event19 };