@opencode/core 0.0.0-dev-19837 → 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 (794) 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 +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{location-services-j5n5rv50.js → worktree-05tvpv5w.js} +11 -11
  8. package/dist/chunks/{location-services-cdfy9c07.js → worktree-09r3zm1x.js} +9 -9
  9. package/dist/chunks/{location-services-9awzet7k.js → worktree-0e4n6tbr.js} +12 -12
  10. package/dist/chunks/{location-services-n81afcfa.js → worktree-0et686r7.js} +7 -7
  11. package/dist/chunks/{location-services-ewmpatfj.js → worktree-0njhf5dz.js} +15 -15
  12. package/dist/chunks/{location-services-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{location-services-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{location-services-vncycja5.js → worktree-0v53mg2y.js} +4 -4
  15. package/dist/chunks/{location-services-a57b6ez4.js → worktree-0vr4ynh9.js} +34 -34
  16. package/dist/chunks/{location-services-twxxf4s6.js → worktree-0w34kcyc.js} +9 -9
  17. package/dist/chunks/{location-services-kf89s8d6.js → worktree-12xc1hc8.js} +11 -11
  18. package/dist/chunks/{location-services-rhr2287f.js → worktree-135ds6rk.js} +17 -17
  19. package/dist/chunks/{location-services-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{location-services-khmm5t2n.js → worktree-1gayks8f.js} +18 -18
  21. package/dist/chunks/{location-services-dfdf51fy.js → worktree-1j08d619.js} +21 -21
  22. package/dist/chunks/{location-services-f24azagy.js → worktree-1jcctp8h.js} +26 -26
  23. package/dist/chunks/{location-services-1x11rq2a.js → worktree-1x11rq2a.js} +1 -1
  24. package/dist/chunks/{location-services-21r38tys.js → worktree-21r38tys.js} +1 -1
  25. package/dist/chunks/{location-services-6ersrjne.js → worktree-23pqda6t.js} +6 -6
  26. package/dist/chunks/{location-services-6zz0jjar.js → worktree-23sxaqwc.js} +6 -6
  27. package/dist/chunks/{location-services-6h73sxmp.js → worktree-2402vzrj.js} +5 -5
  28. package/dist/chunks/{location-services-eeaf82dq.js → worktree-25cs5cen.js} +8 -8
  29. package/dist/chunks/{location-services-1hc11dc4.js → worktree-26k5bknw.js} +4 -4
  30. package/dist/chunks/{location-services-dbt573sm.js → worktree-26zmw6vg.js} +60 -60
  31. package/dist/chunks/{location-services-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{location-services-ej836de0.js → worktree-2grvmngk.js} +11 -11
  33. package/dist/chunks/{location-services-kgygn7je.js → worktree-2h5p72nb.js} +4 -4
  34. package/dist/chunks/{location-services-2k8khapm.js → worktree-2k8khapm.js} +1 -1
  35. package/dist/chunks/{location-services-yn9ays14.js → worktree-2rr20z1w.js} +4 -4
  36. package/dist/chunks/{location-services-3c4e3q8d.js → worktree-2tfmgkzg.js} +4 -4
  37. package/dist/chunks/{location-services-t3aazdfk.js → worktree-2xb0rw2k.js} +8 -8
  38. package/dist/chunks/{location-services-nh6bka7y.js → worktree-2xx7cc67.js} +35 -35
  39. package/dist/chunks/{location-services-5e9qax8s.js → worktree-32kkc7q0.js} +23 -23
  40. package/dist/chunks/{location-services-55cv1jqh.js → worktree-346kb89v.js} +7 -7
  41. package/dist/chunks/{location-services-97vsxr6d.js → worktree-35zpw20s.js} +11 -11
  42. package/dist/chunks/{location-services-yyyarv90.js → worktree-36385fv4.js} +5 -5
  43. package/dist/chunks/{location-services-vyrk0yhv.js → worktree-39xar9bx.js} +17 -17
  44. package/dist/chunks/{location-services-dj9sq318.js → worktree-3cfzdc8e.js} +5 -5
  45. package/dist/chunks/{location-services-zhxmhdrs.js → worktree-3errd6sf.js} +47 -47
  46. package/dist/chunks/worktree-3ewahy0x.js +252 -0
  47. package/dist/chunks/{location-services-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
  48. package/dist/chunks/{location-services-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{location-services-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{location-services-478rcqqg.js → worktree-3spkf7qp.js} +10 -10
  51. package/dist/chunks/{location-services-1k5rw76t.js → worktree-3stbnqm0.js} +45 -45
  52. package/dist/chunks/{location-services-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
  53. package/dist/chunks/{location-services-zanvzfjc.js → worktree-3wx5qy6d.js} +10 -10
  54. package/dist/chunks/{location-services-cpj0znwe.js → worktree-44h5tttr.js} +4 -4
  55. package/dist/chunks/{location-services-e1n7jafy.js → worktree-4jf64xzc.js} +13 -13
  56. package/dist/chunks/{location-services-y968z3dh.js → worktree-4jq676mw.js} +5 -5
  57. package/dist/chunks/{location-services-q6s1e2xm.js → worktree-4m36v5dn.js} +28 -28
  58. package/dist/chunks/{location-services-s6w733fx.js → worktree-50x9syx5.js} +28 -28
  59. package/dist/chunks/{location-services-56gdpj1q.js → worktree-56gdpj1q.js} +2 -2
  60. package/dist/chunks/{location-services-2fgn2we9.js → worktree-57ez7d0k.js} +9 -9
  61. package/dist/chunks/{location-services-5c4hm403.js → worktree-5c4hm403.js} +3 -3
  62. package/dist/chunks/{location-services-ndmv45hp.js → worktree-5cmxdwv8.js} +3 -3
  63. package/dist/chunks/{location-services-5daktx2q.js → worktree-5daktx2q.js} +1 -1
  64. package/dist/chunks/{location-services-wefbk061.js → worktree-5e1anv4t.js} +17 -17
  65. package/dist/chunks/{location-services-119fgr4a.js → worktree-5fj6ztyw.js} +89 -89
  66. package/dist/chunks/{location-services-gpk7m87d.js → worktree-5g7dqg8p.js} +5 -5
  67. package/dist/chunks/{location-services-7teh0s87.js → worktree-5k7h9vpf.js} +25 -25
  68. package/dist/chunks/{location-services-ea3ctmvw.js → worktree-5nvfww89.js} +11 -11
  69. package/dist/chunks/{location-services-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
  70. package/dist/chunks/{location-services-669tq793.js → worktree-669tq793.js} +1 -1
  71. package/dist/chunks/{location-services-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{location-services-fxmgg4aj.js → worktree-6xwcf1a8.js} +4 -4
  73. package/dist/chunks/{location-services-s347dr27.js → worktree-75xv13tv.js} +10 -10
  74. package/dist/chunks/{location-services-m5fyg1bs.js → worktree-780m7f13.js} +44 -44
  75. package/dist/chunks/{location-services-9mnp22fh.js → worktree-79rfjzgm.js} +15 -15
  76. package/dist/chunks/{location-services-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{location-services-k73b7wxd.js → worktree-7d0yyna9.js} +8 -8
  78. package/dist/chunks/{location-services-wx3f4x5a.js → worktree-7ge5j3yy.js} +25 -25
  79. package/dist/chunks/{location-services-mhz5k9vh.js → worktree-7hqt86v7.js} +43 -43
  80. package/dist/chunks/{location-services-ehcepgt9.js → worktree-7p8zv4r2.js} +25 -25
  81. package/dist/chunks/{location-services-20xfcnp3.js → worktree-7zs56f9j.js} +6 -6
  82. package/dist/chunks/{location-services-yqx2aan1.js → worktree-83gabncn.js} +24 -24
  83. package/dist/chunks/{location-services-kpaq12ty.js → worktree-87dgkaj8.js} +12 -12
  84. package/dist/chunks/{location-services-pnnhp6pm.js → worktree-89s1mcqs.js} +8 -8
  85. package/dist/chunks/{location-services-dxjrh372.js → worktree-8c28nkj2.js} +13 -13
  86. package/dist/chunks/{location-services-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{location-services-nr34mnhb.js → worktree-8e1xm2jx.js} +17 -17
  88. package/dist/chunks/{location-services-dg9wag4b.js → worktree-8gr00jt2.js} +3 -3
  89. package/dist/chunks/{location-services-fs8r9hsj.js → worktree-8gyebbke.js} +9 -9
  90. package/dist/chunks/{location-services-4z50fqkg.js → worktree-8nxjb84w.js} +95 -95
  91. package/dist/chunks/{location-services-8tsdq50x.js → worktree-8tsdq50x.js} +1 -1
  92. package/dist/chunks/{location-services-hsqt0cnh.js → worktree-8wvjpm5e.js} +49 -49
  93. package/dist/chunks/{location-services-rxfm361e.js → worktree-91xevwh1.js} +5 -5
  94. package/dist/chunks/{location-services-fdp4he43.js → worktree-97z8nx23.js} +30 -30
  95. package/dist/chunks/{location-services-b19zmjmv.js → worktree-9kpbfwfm.js} +28 -28
  96. package/dist/chunks/{location-services-c21tn5sa.js → worktree-9qwzd11x.js} +3 -3
  97. package/dist/chunks/{location-services-cyjefzz2.js → worktree-9x09xbgz.js} +6 -6
  98. package/dist/chunks/{location-services-3g6j0hhb.js → worktree-a2wwx1s9.js} +21 -21
  99. package/dist/chunks/{location-services-tkmwgdpd.js → worktree-a46v4e4v.js} +7 -7
  100. package/dist/chunks/{location-services-w7mk4knt.js → worktree-a70mfejk.js} +56 -56
  101. package/dist/chunks/{location-services-g7gv2g3a.js → worktree-a89emqe4.js} +180 -180
  102. package/dist/chunks/{location-services-aaet6srn.js → worktree-aaet6srn.js} +2 -2
  103. package/dist/chunks/{location-services-ftyje675.js → worktree-awavsj5m.js} +3 -3
  104. package/dist/chunks/{location-services-fkd4xh6h.js → worktree-awazhe6z.js} +20 -20
  105. package/dist/chunks/{location-services-y56ehv6b.js → worktree-b0dgvpy7.js} +9 -9
  106. package/dist/chunks/{location-services-sdfezxs7.js → worktree-b0gk7qzq.js} +19 -19
  107. package/dist/chunks/{location-services-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{location-services-2jz473v5.js → worktree-b97cbvw3.js} +1 -1
  109. package/dist/chunks/{location-services-mesf747v.js → worktree-bdreqd6y.js} +9 -9
  110. package/dist/chunks/{location-services-1frr7fgk.js → worktree-bhhhtnas.js} +20 -20
  111. package/dist/chunks/{location-services-y67gsgy6.js → worktree-bjn91642.js} +4 -4
  112. package/dist/chunks/{location-services-dw4dv2s2.js → worktree-bk738gev.js} +22 -22
  113. package/dist/chunks/{location-services-r7rxb23g.js → worktree-bpsvpgx8.js} +16 -16
  114. package/dist/chunks/{location-services-tpw6cwsb.js → worktree-br0tr5aq.js} +8 -8
  115. package/dist/chunks/{location-services-8ze50vt3.js → worktree-bv5fntwv.js} +17 -17
  116. package/dist/chunks/{location-services-fdjh4knm.js → worktree-bwj0s2z3.js} +7 -7
  117. package/dist/chunks/{location-services-2v24grjy.js → worktree-c71ge8jf.js} +18 -18
  118. package/dist/chunks/{location-services-kwjzcy53.js → worktree-c9q1sp9w.js} +10 -10
  119. package/dist/chunks/{location-services-mp0xed7k.js → worktree-cph6vb6s.js} +15 -15
  120. package/dist/chunks/{location-services-0kyknra4.js → worktree-ctf4v5qh.js} +11 -11
  121. package/dist/chunks/{location-services-3gepfxd6.js → worktree-cyq0b8sg.js} +19 -19
  122. package/dist/chunks/{location-services-nxhqveyz.js → worktree-d2aac7k2.js} +5 -5
  123. package/dist/chunks/{location-services-je1r8zza.js → worktree-d4cw493d.js} +4 -4
  124. package/dist/chunks/{location-services-a6sgp6g3.js → worktree-d57x1pyx.js} +7 -7
  125. package/dist/chunks/{location-services-ds1hnb50.js → worktree-d96a640y.js} +23 -23
  126. package/dist/chunks/{location-services-wdvvnqc5.js → worktree-dcvngtvp.js} +32 -32
  127. package/dist/chunks/{location-services-7jybmm05.js → worktree-ddt58ebd.js} +22 -22
  128. package/dist/chunks/{location-services-dj2t23y0.js → worktree-dj2t23y0.js} +2 -2
  129. package/dist/chunks/{location-services-drwq78ky.js → worktree-drwq78ky.js} +1 -1
  130. package/dist/chunks/{location-services-bgxcxs0p.js → worktree-e6hmchc5.js} +5 -5
  131. package/dist/chunks/{location-services-gg4dpy88.js → worktree-e8qyrgb1.js} +5 -5
  132. package/dist/chunks/{location-services-02nrjc1r.js → worktree-eaj1djv9.js} +4 -4
  133. package/dist/chunks/{location-services-xn9jxgmv.js → worktree-eex107wk.js} +8 -8
  134. package/dist/chunks/{location-services-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{location-services-gnvqkg1d.js → worktree-eq8dtg11.js} +8 -8
  136. package/dist/chunks/{location-services-erw5rpbs.js → worktree-erw5rpbs.js} +2 -2
  137. package/dist/chunks/{location-services-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{location-services-9q3wnm91.js → worktree-ez0trfpj.js} +9 -9
  139. package/dist/chunks/{location-services-w4axh9wz.js → worktree-ezy2bptn.js} +8 -8
  140. package/dist/chunks/{location-services-yp2x3t23.js → worktree-f2n192rq.js} +4 -4
  141. package/dist/chunks/{location-services-nq7qbqzc.js → worktree-fhs97t90.js} +9 -9
  142. package/dist/chunks/{location-services-q857ra41.js → worktree-fmkkzw6c.js} +12 -12
  143. package/dist/chunks/{location-services-6cnycg91.js → worktree-fp9dkyzv.js} +33 -33
  144. package/dist/chunks/{location-services-3k1nbdbw.js → worktree-fv3nz7za.js} +11 -11
  145. package/dist/chunks/{location-services-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{location-services-n7yhf3k5.js → worktree-g057r8b7.js} +6 -6
  147. package/dist/chunks/{location-services-5mavpc6r.js → worktree-g4ap4hkb.js} +44 -44
  148. package/dist/chunks/{location-services-8462pbya.js → worktree-g5pg1z3v.js} +24 -24
  149. package/dist/chunks/{location-services-007ywmk0.js → worktree-gc3cjvmd.js} +5 -5
  150. package/dist/chunks/{location-services-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{location-services-cmhbnssm.js → worktree-ggfrbsvd.js} +8 -8
  152. package/dist/chunks/{location-services-c2g18km0.js → worktree-gm5vzmqr.js} +44 -44
  153. package/dist/chunks/{location-services-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{location-services-sh89kava.js → worktree-gwzmxzqv.js} +22 -22
  155. package/dist/chunks/{location-services-8c7atbhf.js → worktree-h6366cww.js} +30 -30
  156. package/dist/chunks/{location-services-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{location-services-100ggytg.js → worktree-ha48bngf.js} +8 -8
  158. package/dist/chunks/{location-services-hdnk95c8.js → worktree-hdnk95c8.js} +2 -2
  159. package/dist/chunks/{location-services-cw0365tk.js → worktree-hekpxy8z.js} +5 -5
  160. package/dist/chunks/{location-services-epjjka9c.js → worktree-heyyxcdn.js} +17 -17
  161. package/dist/chunks/{location-services-xgrxakdc.js → worktree-hgcakkdy.js} +4 -4
  162. package/dist/chunks/{location-services-8bhwq06h.js → worktree-hj38q284.js} +30 -30
  163. package/dist/chunks/{location-services-c3v4h655.js → worktree-hkchw422.js} +13 -13
  164. package/dist/chunks/worktree-hxjj1ytk.js +492 -0
  165. package/dist/chunks/{location-services-mw934p8z.js → worktree-hz84tk5e.js} +5 -5
  166. package/dist/chunks/{location-services-2qqayhmv.js → worktree-hzq9ckfm.js} +17 -17
  167. package/dist/chunks/{location-services-j56e64zr.js → worktree-j56e64zr.js} +1 -1
  168. package/dist/chunks/{location-services-we7ht0tm.js → worktree-jdp0p5sy.js} +1 -1
  169. package/dist/chunks/{location-services-n6e9bew6.js → worktree-jfqbecxf.js} +3 -3
  170. package/dist/chunks/{location-services-0jkw1j53.js → worktree-jhf3jymm.js} +6 -6
  171. package/dist/chunks/{location-services-1cn11v2a.js → worktree-jqtedxjm.js} +39 -39
  172. package/dist/chunks/{location-services-mwwetm44.js → worktree-jrra6jmc.js} +6 -6
  173. package/dist/chunks/{location-services-q304jdpe.js → worktree-jvmrmb3q.js} +16 -16
  174. package/dist/chunks/{location-services-4y6xseyy.js → worktree-k06dajrc.js} +19 -19
  175. package/dist/chunks/{location-services-k3c624dm.js → worktree-k3c624dm.js} +3 -3
  176. package/dist/chunks/{location-services-y1rt92wr.js → worktree-kh82he3q.js} +21 -21
  177. package/dist/chunks/{location-services-knb7evpn.js → worktree-knb7evpn.js} +2 -2
  178. package/dist/chunks/{location-services-qse6wh50.js → worktree-ks6fp8g0.js} +16 -16
  179. package/dist/chunks/{location-services-h2bnk7k6.js → worktree-kv9x9mds.js} +4 -4
  180. package/dist/chunks/{location-services-kanck703.js → worktree-kz2med77.js} +17 -17
  181. package/dist/chunks/{location-services-m0jqrx5p.js → worktree-m0jqrx5p.js} +2 -2
  182. package/dist/chunks/{location-services-w418y777.js → worktree-m31hrvtp.js} +9 -9
  183. package/dist/chunks/{location-services-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
  184. package/dist/chunks/{location-services-nf6k3q5n.js → worktree-m3mk1ymc.js} +11 -11
  185. package/dist/chunks/{location-services-sh6h5w8s.js → worktree-m55360kq.js} +51 -51
  186. package/dist/chunks/{location-services-vykevjvn.js → worktree-m64xvjj1.js} +5 -5
  187. package/dist/chunks/{location-services-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{location-services-8d664r2w.js → worktree-mc3xbmaq.js} +15 -15
  189. package/dist/chunks/{location-services-s5j5yx42.js → worktree-mdjkd3ee.js} +20 -20
  190. package/dist/chunks/{location-services-m11kk84f.js → worktree-mn85ck47.js} +28 -28
  191. package/dist/chunks/{location-services-9xgkhjnq.js → worktree-mrcbab82.js} +12 -12
  192. package/dist/chunks/{location-services-b52vbktb.js → worktree-ms96e6xa.js} +5 -5
  193. package/dist/chunks/{location-services-7yh4e7ss.js → worktree-mvfsc1pv.js} +3 -3
  194. package/dist/chunks/{location-services-jg79b14v.js → worktree-n0c6g085.js} +33 -33
  195. package/dist/chunks/{location-services-4tvzb1sd.js → worktree-n32egdgz.js} +24 -24
  196. package/dist/chunks/{location-services-rh0ks3yx.js → worktree-n4b7qefn.js} +16 -16
  197. package/dist/chunks/{location-services-d7kmcpqg.js → worktree-n9nnv5bx.js} +24 -24
  198. package/dist/chunks/{location-services-zh9858z0.js → worktree-nbcy93d5.js} +72 -72
  199. package/dist/chunks/{location-services-71xak4j8.js → worktree-ndqm9729.js} +15 -15
  200. package/dist/chunks/{location-services-6x9k2qbp.js → worktree-nea2jzm4.js} +16 -16
  201. package/dist/chunks/{location-services-r6fwddjq.js → worktree-nksn1ctm.js} +29 -29
  202. package/dist/chunks/{location-services-c2ty4kk7.js → worktree-nrfrnn4g.js} +35 -35
  203. package/dist/chunks/{location-services-wwq1qjv9.js → worktree-nrqt53h4.js} +28 -28
  204. package/dist/chunks/{location-services-vk6xc8bn.js → worktree-nrvgxq91.js} +4 -4
  205. package/dist/chunks/{location-services-td4hvtjh.js → worktree-ntj434hm.js} +8 -8
  206. package/dist/chunks/{location-services-9q85g4rf.js → worktree-p0w9t4nv.js} +24 -24
  207. package/dist/chunks/{location-services-tt70z94x.js → worktree-p6fzwed5.js} +11 -11
  208. package/dist/chunks/{location-services-p20c12jc.js → worktree-pcvbzdg6.js} +32 -32
  209. package/dist/chunks/{location-services-734zdf7n.js → worktree-pfgvbcn0.js} +9 -9
  210. package/dist/chunks/{location-services-m4733gfk.js → worktree-pg2axqyg.js} +8 -8
  211. package/dist/chunks/{location-services-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
  212. package/dist/chunks/{location-services-pknna89w.js → worktree-pknna89w.js} +1 -1
  213. package/dist/chunks/{location-services-11745fj4.js → worktree-pkwse4rj.js} +23 -23
  214. package/dist/chunks/{location-services-3v834vqe.js → worktree-pv1q3n8t.js} +11 -11
  215. package/dist/chunks/{location-services-s9gb701d.js → worktree-pyj9dmja.js} +15 -15
  216. package/dist/chunks/{location-services-0svzc3ms.js → worktree-q0r1avd8.js} +40 -40
  217. package/dist/chunks/{location-services-1kqe5az9.js → worktree-qge4gbge.js} +28 -28
  218. package/dist/chunks/{location-services-kvvk39gs.js → worktree-qj8eh1ht.js} +4 -4
  219. package/dist/chunks/{location-services-qp3cqwfd.js → worktree-qk7sb3fs.js} +30 -30
  220. package/dist/chunks/{location-services-djszqvmq.js → worktree-qmqgtz8f.js} +9 -9
  221. package/dist/chunks/{location-services-qsdy395h.js → worktree-qsdy395h.js} +1 -1
  222. package/dist/chunks/{location-services-e6tmc4dn.js → worktree-qsfdmrhc.js} +13 -13
  223. package/dist/chunks/{location-services-jt7ttpf2.js → worktree-qvd2vpt5.js} +18 -18
  224. package/dist/chunks/{location-services-0hcw47et.js → worktree-qwyrfpbr.js} +2 -2
  225. package/dist/chunks/{location-services-nf8bga6w.js → worktree-qz8rjx4n.js} +16 -16
  226. package/dist/chunks/{location-services-rrcqb7mq.js → worktree-r92bbbhx.js} +8 -8
  227. package/dist/chunks/{location-services-de5knrsa.js → worktree-r98rf7en.js} +18 -18
  228. package/dist/chunks/{location-services-f1f2nfdc.js → worktree-rdrgmjyp.js} +10 -10
  229. package/dist/chunks/{location-services-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
  230. package/dist/chunks/{location-services-h26hwr7h.js → worktree-rhn8bjdn.js} +14 -14
  231. package/dist/chunks/{location-services-4mwsasfb.js → worktree-rjh41bnw.js} +11 -11
  232. package/dist/chunks/{location-services-xvh4ack0.js → worktree-rjn555ek.js} +5 -5
  233. package/dist/chunks/{location-services-28xtht7t.js → worktree-rq75yw12.js} +8 -8
  234. package/dist/chunks/{location-services-fn4w1dzc.js → worktree-rrern9t5.js} +42 -42
  235. package/dist/chunks/{location-services-arwsxrqn.js → worktree-sej8f238.js} +13 -13
  236. package/dist/chunks/{location-services-1aj08kdp.js → worktree-sj0sw9zb.js} +29 -29
  237. package/dist/chunks/{location-services-ef1pmnt8.js → worktree-smxfcp26.js} +9 -9
  238. package/dist/chunks/{location-services-rnx96krx.js → worktree-ss2rtpw1.js} +13 -13
  239. package/dist/chunks/{location-services-b0tpq7vq.js → worktree-t243pvw8.js} +22 -22
  240. package/dist/chunks/{location-services-ptcebqmk.js → worktree-t2866z93.js} +14 -14
  241. package/dist/chunks/{location-services-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
  242. package/dist/chunks/{location-services-p28j5sbe.js → worktree-tbz0fdvh.js} +5 -5
  243. package/dist/chunks/{location-services-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
  244. package/dist/chunks/worktree-td9rdqgs.js +26 -0
  245. package/dist/chunks/{location-services-tdstcens.js → worktree-tdstcens.js} +1 -1
  246. package/dist/chunks/{location-services-tvtrv512.js → worktree-tvtrv512.js} +1 -1
  247. package/dist/chunks/{location-services-qjs1085f.js → worktree-twmrfj2d.js} +21 -21
  248. package/dist/chunks/{location-services-8ank75fn.js → worktree-tx9w5tca.js} +8 -8
  249. package/dist/chunks/{location-services-k76fn4kw.js → worktree-tz4n1mmd.js} +4 -4
  250. package/dist/chunks/{location-services-qv7snrja.js → worktree-v4gw1aty.js} +28 -28
  251. package/dist/chunks/{location-services-hph8qc38.js → worktree-v53ttaz3.js} +9 -9
  252. package/dist/chunks/{location-services-veqvce7d.js → worktree-veqvce7d.js} +1 -1
  253. package/dist/chunks/{location-services-hkagk5ex.js → worktree-vmgq4x8b.js} +2 -2
  254. package/dist/chunks/{location-services-jemfgm91.js → worktree-vmwh049b.js} +6 -6
  255. package/dist/chunks/{location-services-fvx6s9yc.js → worktree-vxrfxpxs.js} +6 -6
  256. package/dist/chunks/{location-services-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{location-services-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{location-services-fn2a6dv9.js → worktree-wbtxrwsd.js} +21 -21
  259. package/dist/chunks/{location-services-wd87259q.js → worktree-wd87259q.js} +1 -1
  260. package/dist/chunks/worktree-wkfva7bh.js +65 -0
  261. package/dist/chunks/{location-services-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{location-services-s81xp4h6.js → worktree-xcc1re04.js} +12 -12
  263. package/dist/chunks/{location-services-qr10gabp.js → worktree-xjd2fv1x.js} +44 -44
  264. package/dist/chunks/{location-services-d1fsd9nn.js → worktree-xpxqhtvz.js} +32 -32
  265. package/dist/chunks/{location-services-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{location-services-04ndwt4g.js → worktree-y31avz63.js} +5 -5
  267. package/dist/chunks/{location-services-vadan2xk.js → worktree-y5df08dr.js} +12 -12
  268. package/dist/chunks/{location-services-dpkg50ah.js → worktree-y71avatq.js} +4 -4
  269. package/dist/chunks/{location-services-t2db0eay.js → worktree-y9v5gkeq.js} +6 -6
  270. package/dist/chunks/{location-services-8jgcgwkq.js → worktree-y9wbn93n.js} +24 -24
  271. package/dist/chunks/{location-services-ke1a5261.js → worktree-ybtbm60b.js} +32 -32
  272. package/dist/chunks/{location-services-ff5b3vsa.js → worktree-ynvr2dvc.js} +22 -22
  273. package/dist/chunks/{location-services-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{location-services-yrznvahk.js → worktree-yrznvahk.js} +2 -2
  275. package/dist/chunks/{location-services-yptpkvx0.js → worktree-yst3wyvc.js} +23 -23
  276. package/dist/chunks/{location-services-cra404zb.js → worktree-ywrevtsf.js} +17 -17
  277. package/dist/chunks/{location-services-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{location-services-4x60cftr.js → worktree-z0hmyh7c.js} +32 -32
  279. package/dist/chunks/{location-services-z63w68vq.js → worktree-z63w68vq.js} +2 -2
  280. package/dist/chunks/{location-services-73m34ham.js → worktree-zab19jja.js} +9 -9
  281. package/dist/chunks/{location-services-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{location-services-hedftr25.js → worktree-zhsyjq1s.js} +15 -15
  283. package/dist/chunks/{location-services-c2ekx4p4.js → worktree-zjhmce52.js} +1 -1
  284. package/dist/chunks/{location-services-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{location-services-2yhmvnsm.js → worktree-zrbcx4wy.js} +21 -21
  286. package/dist/chunks/{location-services-twfpqh0y.js → worktree-ztf7grp6.js} +12 -12
  287. package/dist/chunks/{location-services-4za7tm8v.js → worktree-zwnqbtaj.js} +31 -31
  288. package/dist/chunks/{location-services-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +5 -5
  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 +122 -122
  298. package/dist/config/plugin/command.js +211 -211
  299. package/dist/config/plugin/compaction.js +159 -159
  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 +129 -129
  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 +124 -124
  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 +119 -119
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +123 -123
  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 +125 -125
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +82 -82
  323. package/dist/database/database.js +69 -69
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +78 -78
  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 +3 -3
  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 +92 -92
  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 +73 -73
  412. package/dist/file-access.js +101 -101
  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 +92 -92
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +13 -13
  427. package/dist/filesystem.js +93 -93
  428. package/dist/form.js +83 -83
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +102 -102
  432. package/dist/git.js +10 -10
  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 +3 -3
  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 +134 -134
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +101 -101
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +356 -356
  470. package/dist/location.js +86 -86
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +105 -105
  473. package/dist/mcp/instructions.js +125 -125
  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 +97 -97
  479. package/dist/model.js +101 -101
  480. package/dist/models-dev.js +106 -106
  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 +110 -110
  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 +85 -85
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +101 -101
  491. package/dist/plugin/command.js +98 -98
  492. package/dist/plugin/compaction.js +130 -130
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +217 -217
  495. package/dist/plugin/identity.js +1 -1
  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 +2 -2
  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 +91 -91
  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 +73 -73
  540. package/dist/plugin/service.js +1 -1
  541. package/dist/plugin/skill.js +138 -138
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +345 -345
  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 +5 -5
  550. package/dist/plugin/websearch/firecrawl.js +8 -8
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +2 -2
  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 +222 -222
  557. package/dist/project/schema.js +8 -8
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +89 -89
  560. package/dist/provider.js +98 -98
  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 +89 -89
  565. package/dist/reference/instructions.js +88 -88
  566. package/dist/reference.js +86 -86
  567. package/dist/repository-cache.js +80 -80
  568. package/dist/repository.js +3 -3
  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 +131 -131
  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 +223 -223
  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 +76 -76
  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 +123 -123
  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 +74 -74
  613. package/dist/session/store.js +86 -86
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +207 -207
  616. package/dist/session/system-prompt.js +1 -1
  617. package/dist/session/title.js +153 -153
  618. package/dist/session/to-session-error.js +110 -110
  619. package/dist/session/transfer.js +222 -222
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +217 -217
  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 +13 -13
  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 +109 -109
  630. package/dist/snapshot.js +86 -86
  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 +124 -124
  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 +121 -121
  639. package/dist/tool/plugin/opencode.js +3 -3
  640. package/dist/tool/plugin/patch.js +117 -117
  641. package/dist/tool/plugin/question.js +100 -100
  642. package/dist/tool/plugin/read.js +120 -120
  643. package/dist/tool/plugin/shell.js +216 -216
  644. package/dist/tool/plugin/skill.js +110 -110
  645. package/dist/tool/plugin/subagent.js +216 -216
  646. package/dist/tool/plugin/webfetch.js +107 -107
  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 +5 -5
  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 +1 -1
  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 +92 -92
  680. package/dist/vcs/patch.js +1 -1
  681. package/dist/vcs.js +88 -88
  682. package/dist/websearch.js +79 -79
  683. package/dist/wellknown/plugin.js +75 -75
  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/location-services-07spk5pt.js +0 -492
  695. package/dist/chunks/location-services-20da25kr.js +0 -65
  696. package/dist/chunks/location-services-p49m4rqh.js +0 -26
  697. package/dist/chunks/location-services-zwypcbt3.js +0 -252
  698. /package/dist/chunks/{location-services-0mesazry.js → worktree-0mesazry.js} +0 -0
  699. /package/dist/chunks/{location-services-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{location-services-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{location-services-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{location-services-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{location-services-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{location-services-24dcb14g.js → worktree-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{location-services-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{location-services-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{location-services-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{location-services-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  709. /package/dist/chunks/{location-services-3asan66x.js → worktree-3asan66x.js} +0 -0
  710. /package/dist/chunks/{location-services-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  711. /package/dist/chunks/{location-services-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
  712. /package/dist/chunks/{location-services-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  713. /package/dist/chunks/{location-services-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  714. /package/dist/chunks/{location-services-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  715. /package/dist/chunks/{location-services-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
  716. /package/dist/chunks/{location-services-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  717. /package/dist/chunks/{location-services-53557ph1.js → worktree-53557ph1.js} +0 -0
  718. /package/dist/chunks/{location-services-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  719. /package/dist/chunks/{location-services-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
  720. /package/dist/chunks/{location-services-6prwharc.js → worktree-6prwharc.js} +0 -0
  721. /package/dist/chunks/{location-services-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{location-services-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{location-services-822emrt2.js → worktree-822emrt2.js} +0 -0
  724. /package/dist/chunks/{location-services-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{location-services-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{location-services-922hggd3.js → worktree-922hggd3.js} +0 -0
  727. /package/dist/chunks/{location-services-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{location-services-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{location-services-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{location-services-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{location-services-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{location-services-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{location-services-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{location-services-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{location-services-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{location-services-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{location-services-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{location-services-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{location-services-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{location-services-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{location-services-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{location-services-df08tz66.js → worktree-df08tz66.js} +0 -0
  743. /package/dist/chunks/{location-services-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{location-services-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{location-services-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{location-services-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{location-services-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{location-services-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{location-services-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{location-services-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{location-services-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{location-services-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{location-services-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{location-services-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{location-services-g86h250q.js → worktree-g86h250q.js} +0 -0
  756. /package/dist/chunks/{location-services-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{location-services-gftt206x.js → worktree-gftt206x.js} +0 -0
  758. /package/dist/chunks/{location-services-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{location-services-hk9envan.js → worktree-hk9envan.js} +0 -0
  760. /package/dist/chunks/{location-services-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{location-services-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{location-services-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{location-services-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{location-services-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{location-services-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{location-services-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{location-services-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{location-services-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{location-services-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{location-services-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{location-services-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{location-services-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{location-services-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{location-services-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{location-services-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{location-services-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{location-services-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{location-services-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{location-services-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{location-services-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{location-services-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{location-services-twg0f83k.js → worktree-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{location-services-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{location-services-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{location-services-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{location-services-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{location-services-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{location-services-x61499pn.js → worktree-x61499pn.js} +0 -0
  789. /package/dist/chunks/{location-services-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{location-services-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{location-services-y8f7s663.js → worktree-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{location-services-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{location-services-ym463w8f.js → worktree-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{location-services-z9919s4g.js → worktree-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./location-services-q304jdpe.js";
2
+ Service82,
3
+ node86
4
+ } from "./worktree-jvmrmb3q.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./location-services-922hggd3.js";
8
+ } from "./worktree-922hggd3.js";
9
9
  import {
10
10
  Ref4,
11
- Service78,
12
- node82
13
- } from "./location-services-6x9k2qbp.js";
11
+ Service79,
12
+ node83
13
+ } from "./worktree-nea2jzm4.js";
14
14
  import {
15
15
  __export
16
- } from "./location-services-9rqn6x4v.js";
16
+ } from "./worktree-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service43,
22
+ Service: () => Service50,
23
23
  define: () => define2,
24
- node: () => node46
24
+ node: () => node52
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service43 extends Context.Service()("@opencode/Rpc") {
30
+ class Service50 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service43, Effect.gen(function* () {
43
- const bus = yield* Service81;
44
- const location = yield* Service78;
42
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
43
+ const bus = yield* Service82;
44
+ const location = yield* Service79;
45
45
  const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const closed = yield* Deferred.make();
47
47
  const callContext = {
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
118
118
  const registered = events.get(name);
119
119
  if (!registered)
120
120
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
121
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service78, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
121
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service79, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
122
  }
123
123
  }
124
124
  };
125
125
  };
126
- return Service43.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service50.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node46 = makeLocationNode({ service: Service43, layer, deps: [node85, node82] });
128
+ var node52 = makeLocationNode({ service: Service50, layer, deps: [node86, node83] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service43, node46, exports_rpc, define2 };
213
+ export { Service50, node52, exports_rpc, define2 };
@@ -4,34 +4,34 @@ import {
4
4
  MAX_TOTAL_PATCH_BYTES2,
5
5
  emptyPatch2,
6
6
  chunksByFile2
7
- } from "./location-services-tazgh4e4.js";
7
+ } from "./worktree-tazgh4e4.js";
8
8
  import {
9
9
  gitExecutable2
10
- } from "./location-services-ef5x83kb.js";
10
+ } from "./worktree-ef5x83kb.js";
11
11
  import {
12
- Service78
13
- } from "./location-services-6x9k2qbp.js";
12
+ Service79
13
+ } from "./worktree-nea2jzm4.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./location-services-ds1hnb50.js";
16
+ } from "./worktree-d96a640y.js";
17
17
  import {
18
18
  __export
19
- } from "./location-services-9rqn6x4v.js";
19
+ } from "./worktree-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/git.ts
22
22
  var exports_git = {};
23
23
  __export(exports_git, {
24
- Plugin: () => Plugin41,
24
+ Plugin: () => Plugin33,
25
25
  VcsGitPlugin: () => exports_git
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Effect } from "effect";
29
29
  import { ChildProcess } from "effect/unstable/process";
30
30
  import { AppProcess } from "@opencode/util/process";
31
- var Plugin41 = define({
31
+ var Plugin33 = define({
32
32
  id: "opencode.vcs.git",
33
33
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
34
- const location = yield* Service78;
34
+ const location = yield* Service79;
35
35
  if (location.vcs?.type !== "git")
36
36
  return;
37
37
  const processes = yield* AppProcess.Service;
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
470
470
  return yield* diffAgainstRef(ctx, ref, options);
471
471
  });
472
472
 
473
- export { Plugin41, exports_git };
473
+ export { Plugin33, exports_git };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service42,
3
- node45
4
- } from "./location-services-1frr7fgk.js";
2
+ Service56,
3
+ node59
4
+ } from "./worktree-bhhhtnas.js";
5
5
  import {
6
- Service78,
7
- node82
8
- } from "./location-services-6x9k2qbp.js";
6
+ Service79,
7
+ node83
8
+ } from "./worktree-nea2jzm4.js";
9
9
  import {
10
- Service41,
11
- node44
12
- } from "./location-services-m5fyg1bs.js";
10
+ Service55,
11
+ node58
12
+ } from "./worktree-780m7f13.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./location-services-zxq2ej10.js";
16
+ } from "./worktree-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./location-services-9rqn6x4v.js";
19
+ } from "./worktree-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
@@ -36,10 +36,10 @@ import { fileURLToPath, pathToFileURL } from "url";
36
36
  class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
38
  var layer5 = Layer.effect(Service4, Effect.gen(function* () {
39
- const config = yield* Service41;
40
- const watcher = yield* Service42;
39
+ const config = yield* Service55;
40
+ const watcher = yield* Service56;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service78;
42
+ const location = yield* Service79;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -73,7 +73,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
73
73
  var node6 = makeLocationNode({
74
74
  service: Service4,
75
75
  layer: layer5,
76
- deps: [node44, FSUtil.node, node45, node82]
76
+ deps: [node58, FSUtil.node, node59, node83]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
79
  service: Service4,
@@ -1,21 +1,21 @@
1
1
  import {
2
- ID7,
2
+ ID9,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  mergeOverlay2
6
- } from "./location-services-jg79b14v.js";
6
+ } from "./worktree-n0c6g085.js";
7
7
  import {
8
8
  __export
9
- } from "./location-services-9rqn6x4v.js";
9
+ } from "./worktree-9rqn6x4v.js";
10
10
 
11
11
  // src/aisdk.ts
12
12
  var exports_aisdk = {};
13
13
  __export(exports_aisdk, {
14
14
  AISDK: () => exports_aisdk,
15
15
  InitError: () => InitError2,
16
- Service: () => Service56,
16
+ Service: () => Service65,
17
17
  locationLayer: () => locationLayer2,
18
- node: () => node58
18
+ node: () => node69
19
19
  });
20
20
  import { makeLocationNode } from "@opencode/util/effect/app-node";
21
21
  import { APICallError } from "@ai-sdk/provider";
@@ -130,7 +130,7 @@ function prepareOptions(model, pkg) {
130
130
  }
131
131
 
132
132
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
133
- providerID: ID7,
133
+ providerID: ID9,
134
134
  cause: Schema.Defect()
135
135
  }) {
136
136
  }
@@ -138,9 +138,9 @@ function initError(providerID) {
138
138
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
139
139
  }
140
140
 
141
- class Service56 extends Context.Service()("@opencode/AISDK") {
141
+ class Service65 extends Context.Service()("@opencode/AISDK") {
142
142
  }
143
- var locationLayer2 = Layer.effect(Service56, Effect.gen(function* () {
143
+ var locationLayer2 = Layer.effect(Service65, Effect.gen(function* () {
144
144
  let sdkHooks = [];
145
145
  let languageHooks = [];
146
146
  const languages = new Map;
@@ -178,7 +178,7 @@ var locationLayer2 = Layer.effect(Service56, Effect.gen(function* () {
178
178
  }
179
179
  return event;
180
180
  });
181
- const service = Service56.of({
181
+ const service = Service65.of({
182
182
  hook: {
183
183
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
184
184
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -819,6 +819,6 @@ function providerErrorMessage(error) {
819
819
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
820
820
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
821
821
  }
822
- var node58 = makeLocationNode({ service: Service56, layer: locationLayer2, deps: [] });
822
+ var node69 = makeLocationNode({ service: Service65, layer: locationLayer2, deps: [] });
823
823
 
824
- export { InitError2, Service56, locationLayer2, node58, exports_aisdk };
824
+ export { InitError2, Service65, locationLayer2, node69, exports_aisdk };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-services-pnnhp6pm.js";
3
+ } from "./worktree-89s1mcqs.js";
4
4
  import {
5
- Service81
6
- } from "./location-services-q304jdpe.js";
5
+ Service82
6
+ } from "./worktree-jvmrmb3q.js";
7
7
  import {
8
8
  OAuth3,
9
- Event15,
10
- Service62
11
- } from "./location-services-6cnycg91.js";
9
+ Event17,
10
+ Service72
11
+ } from "./worktree-fp9dkyzv.js";
12
12
  import {
13
- ID8,
13
+ ID10,
14
14
  MethodID2,
15
- Service61
16
- } from "./location-services-m11kk84f.js";
15
+ Service71
16
+ } from "./worktree-mn85ck47.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./location-services-pjvnvgmy.js";
20
+ } from "./worktree-pjvnvgmy.js";
21
21
  import {
22
- ID7
23
- } from "./location-services-jg79b14v.js";
22
+ ID9
23
+ } from "./worktree-n0c6g085.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./location-services-t2db0eay.js";
26
+ } from "./worktree-y9v5gkeq.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
33
- var providerID = ID7.make("snowflake-cortex");
34
- var integrationID = ID8.make(providerID);
33
+ var providerID = ID9.make("snowflake-cortex");
34
+ var integrationID = ID10.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service62;
57
- const integrations = yield* Service61;
58
- const bus = yield* Service81;
56
+ const credentials = yield* Service72;
57
+ const integrations = yield* Service71;
58
+ const bus = yield* Service82;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
61
61
  const saved = Effect.gen(function* () {
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
184
184
  });
185
185
  }
186
186
  });
187
- yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
187
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
188
188
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
189
189
  const token = envToken();
190
190
  if (token)
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./location-services-922hggd3.js";
3
+ } from "./worktree-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./location-services-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info15,
12
+ Info: () => Info18,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info15 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info18 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info15, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info18, exports_mcp5 };
@@ -2,13 +2,13 @@ import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2,
4
4
  UserInterruptedError2
5
- } from "./location-services-jemfgm91.js";
5
+ } from "./worktree-vmwh049b.js";
6
6
  import {
7
7
  BlockedError2
8
- } from "./location-services-w7mk4knt.js";
8
+ } from "./worktree-a70mfejk.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./location-services-m11kk84f.js";
11
+ } from "./worktree-mn85ck47.js";
12
12
  import {
13
13
  ModelNotSelectedError2,
14
14
  ModelUnavailableError2,
@@ -18,7 +18,7 @@ import {
18
18
  ModelInitializationError2,
19
19
  UnresolvedProviderVariablesError2,
20
20
  UnsupportedCompactionError2
21
- } from "./location-services-rnx96krx.js";
21
+ } from "./worktree-ss2rtpw1.js";
22
22
 
23
23
  // src/session/to-session-error.ts
24
24
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./location-services-f0mxakyp.js";
3
+ } from "./worktree-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./location-services-w3wsvvr9.js";
6
+ } from "./worktree-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./location-services-7bmhse3q.js";
9
+ } from "./worktree-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./location-services-cf4snx6d.js";
12
+ } from "./worktree-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./location-services-822emrt2.js";
15
+ } from "./worktree-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./location-services-wd87259q.js";
18
+ } from "./worktree-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./location-services-m9w0rfyh.js";
21
+ } from "./worktree-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./location-services-q304jdpe.js";
2
+ Service82,
3
+ node86
4
+ } from "./worktree-jvmrmb3q.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./location-services-tazgh4e4.js";
9
+ } from "./worktree-tazgh4e4.js";
10
10
  import {
11
- Service78,
12
- node82
13
- } from "./location-services-6x9k2qbp.js";
11
+ Service79,
12
+ node83
13
+ } from "./worktree-nea2jzm4.js";
14
14
  import {
15
15
  reconcile2,
16
16
  create3
17
- } from "./location-services-rdw6cm16.js";
17
+ } from "./worktree-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./location-services-9rqn6x4v.js";
20
+ } from "./worktree-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info18,
29
+ Info: () => Info8,
30
30
  Mode: () => Mode2,
31
- Service: () => Service49,
31
+ Service: () => Service41,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node52
33
+ node: () => node43
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info18, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info8, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service49 extends Context.Service()("@opencode/Vcs") {
48
+ class Service41 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service49, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service78;
53
- const bus = yield* Service81;
52
+ const location = yield* Service79;
53
+ const bus = yield* Service82;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
56
56
  const vcs = location.vcs;
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info18));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info8));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
118
118
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
119
119
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
120
120
  }
121
- return Service49.of({
121
+ return Service41.of({
122
122
  transform: state.transform,
123
123
  reload: state.reload,
124
124
  info: Effect.fn("Vcs.info")(function* () {
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
164
164
  })
165
165
  });
166
166
  }));
167
- var node52 = makeLocationNode({
168
- service: Service49,
167
+ var node43 = makeLocationNode({
168
+ service: Service41,
169
169
  layer,
170
- deps: [FSUtil.node, node82, node85]
170
+ deps: [FSUtil.node, node83, node86]
171
171
  });
172
172
 
173
- export { Base2, BranchList2, FileStatus2, Info18, Mode2, DiffError2, Service49, node52, exports_vcs };
173
+ export { Base2, BranchList2, FileStatus2, Info8, Mode2, DiffError2, Service41, node43, exports_vcs };
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service78
3
- } from "./location-services-6x9k2qbp.js";
2
+ Service79
3
+ } from "./worktree-nea2jzm4.js";
4
4
  import {
5
- Service76
6
- } from "./location-services-d7kmcpqg.js";
5
+ Service53
6
+ } from "./worktree-n9nnv5bx.js";
7
7
  import {
8
- Service15,
8
+ Service52,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./location-services-c3v4h655.js";
11
+ } from "./worktree-hkchw422.js";
12
12
  import {
13
- Service16
14
- } from "./location-services-9mnp22fh.js";
13
+ Service15
14
+ } from "./worktree-79rfjzgm.js";
15
15
  import {
16
- Service70
17
- } from "./location-services-w7mk4knt.js";
16
+ Service74
17
+ } from "./worktree-a70mfejk.js";
18
18
  import {
19
- Service69,
19
+ Service68,
20
20
  resolvePath2
21
- } from "./location-services-kanck703.js";
21
+ } from "./worktree-kz2med77.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./location-services-6prwharc.js";
24
+ } from "./worktree-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./location-services-9rqn6x4v.js";
27
+ } from "./worktree-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input6,
34
- Output: () => Output3,
35
- Plugin: () => Plugin24,
36
- name: () => name6
33
+ Input: () => Input11,
34
+ Output: () => Output8,
35
+ Plugin: () => Plugin12,
36
+ name: () => name11
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name6 = "edit";
43
- var Input6 = Schema.Struct({
42
+ var name11 = "edit";
43
+ var Input11 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input6 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output3 = Schema.Struct({
53
+ var Output8 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin24 = {
106
+ var Plugin12 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service69;
110
- const fileMutation = yield* Service15;
111
- const environment = yield* Service76;
112
- const formatter = yield* Service16;
113
- const location = yield* Service78;
114
- const permission = yield* Service70;
109
+ const access = yield* Service68;
110
+ const fileMutation = yield* Service52;
111
+ const environment = yield* Service53;
112
+ const formatter = yield* Service15;
113
+ const location = yield* Service79;
114
+ const permission = yield* Service74;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name6,
116
+ name: name11,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input6,
120
- output: Output3,
119
+ input: Input11,
120
+ output: Output8,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin24 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name6, Input6, Output3, Plugin24, exports_edit };
197
+ export { name11, Input11, Output8, Plugin12, exports_edit };