@opencode/core 0.0.0-dev-19578 → 0.0.0-dev-19579

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 (787) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{ripgrep-pwks8f9a.js → form-034vs93c.js} +15 -15
  9. package/dist/chunks/{ripgrep-dzafb2w6.js → form-04tk5mmt.js} +8 -8
  10. package/dist/chunks/{ripgrep-fpwspfpn.js → form-055h4mnd.js} +7 -7
  11. package/dist/chunks/{ripgrep-712xqdp1.js → form-0hdj05wv.js} +11 -11
  12. package/dist/chunks/{ripgrep-0paq2nw3.js → form-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{ripgrep-0q0f95c6.js → form-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{ripgrep-mfs4nb3v.js → form-0s1e1pf5.js} +16 -16
  15. package/dist/chunks/{ripgrep-6se2k08w.js → form-0twxtbkf.js} +21 -21
  16. package/dist/chunks/{ripgrep-nfkr9082.js → form-0v53mg2y.js} +4 -4
  17. package/dist/chunks/{ripgrep-xadyfnvh.js → form-10ynt1h5.js} +23 -23
  18. package/dist/chunks/{ripgrep-gtwqd38q.js → form-11myjmvz.js} +9 -9
  19. package/dist/chunks/{ripgrep-3cwb9jzf.js → form-15nepkqg.js} +8 -8
  20. package/dist/chunks/{ripgrep-1dazxqgg.js → form-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{ripgrep-4786se8r.js → form-1ff0effc.js} +1 -1
  22. package/dist/chunks/{ripgrep-zt11me34.js → form-1p8nc3em.js} +33 -33
  23. package/dist/chunks/{ripgrep-makktzfn.js → form-1tkc0b12.js} +11 -11
  24. package/dist/chunks/{ripgrep-t3pn2srw.js → form-1vr0zdnx.js} +7 -7
  25. package/dist/chunks/{ripgrep-1h9cx1js.js → form-21gwcqqh.js} +17 -17
  26. package/dist/chunks/{ripgrep-21r38tys.js → form-21r38tys.js} +1 -1
  27. package/dist/chunks/{ripgrep-ss0awb04.js → form-23pqda6t.js} +6 -6
  28. package/dist/chunks/{ripgrep-1jzhf559.js → form-2464tg96.js} +9 -9
  29. package/dist/chunks/{ripgrep-xv1yge4n.js → form-24emcxgn.js} +26 -26
  30. package/dist/chunks/{ripgrep-na5h7k4h.js → form-24vd9xje.js} +8 -8
  31. package/dist/chunks/{ripgrep-dj68sxah.js → form-25y9ayt4.js} +11 -11
  32. package/dist/chunks/{ripgrep-t0azw9td.js → form-263s9v33.js} +7 -7
  33. package/dist/chunks/{ripgrep-2a5m3afh.js → form-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{ripgrep-268vvpk8.js → form-2hjtz03m.js} +14 -14
  35. package/dist/chunks/{ripgrep-7dqw4kz8.js → form-2k8khapm.js} +5 -5
  36. package/dist/chunks/{ripgrep-rxd6sk90.js → form-2ns1f0yc.js} +13 -13
  37. package/dist/chunks/{ripgrep-g4n3hm35.js → form-2y1qhgm0.js} +18 -18
  38. package/dist/chunks/{ripgrep-3b3tzm4e.js → form-31ymd36f.js} +65 -65
  39. package/dist/chunks/{ripgrep-6kd2n8rn.js → form-3be45edw.js} +10 -10
  40. package/dist/chunks/{ripgrep-n7asjhxk.js → form-3e9pe5ze.js} +14 -14
  41. package/dist/chunks/{ripgrep-3fc6dm20.js → form-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{ripgrep-3hepkmqq.js → form-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{ripgrep-3smtnn6g.js → form-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{ripgrep-3tvqynh2.js → form-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{ripgrep-j4xaawr1.js → form-426fp41w.js} +21 -21
  46. package/dist/chunks/{ripgrep-bwawd8pb.js → form-46dv5p65.js} +13 -13
  47. package/dist/chunks/{ripgrep-hg8zwqn0.js → form-4g59p92v.js} +17 -17
  48. package/dist/chunks/{ripgrep-f3v5jz8f.js → form-4j1v6vvv.js} +4 -4
  49. package/dist/chunks/{ripgrep-ds2mmwsg.js → form-4jk0qxj4.js} +6 -6
  50. package/dist/chunks/{ripgrep-vny1gzvb.js → form-4nan19nd.js} +11 -11
  51. package/dist/chunks/{ripgrep-1he2dbdc.js → form-4ntvxm1s.js} +5 -5
  52. package/dist/chunks/{ripgrep-2mfn44ga.js → form-4xkpg0wv.js} +6 -6
  53. package/dist/chunks/{ripgrep-t6m9yp2a.js → form-4ykyx8vs.js} +34 -34
  54. package/dist/chunks/{ripgrep-g0bjhkt9.js → form-52dmf901.js} +11 -11
  55. package/dist/chunks/{ripgrep-tc1szqet.js → form-534t03c2.js} +17 -17
  56. package/dist/chunks/{ripgrep-1bzv8fr3.js → form-5514jwe9.js} +24 -24
  57. package/dist/chunks/{ripgrep-56gdpj1q.js → form-56gdpj1q.js} +2 -2
  58. package/dist/chunks/{ripgrep-d0rzr7hy.js → form-5a0rkgkm.js} +16 -16
  59. package/dist/chunks/{ripgrep-5c4hm403.js → form-5c4hm403.js} +3 -3
  60. package/dist/chunks/{ripgrep-6tmt97vh.js → form-5cd5fjqe.js} +1 -1
  61. package/dist/chunks/{ripgrep-5daktx2q.js → form-5daktx2q.js} +1 -1
  62. package/dist/chunks/{ripgrep-6w5z0ks3.js → form-5fw77hhz.js} +6 -6
  63. package/dist/chunks/{ripgrep-5t3nmthw.js → form-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{ripgrep-nq4q7dkj.js → form-5tr8dvhg.js} +4 -4
  65. package/dist/chunks/{ripgrep-fh1a0yyp.js → form-65z534qn.js} +15 -15
  66. package/dist/chunks/{ripgrep-669tq793.js → form-669tq793.js} +1 -1
  67. package/dist/chunks/{ripgrep-q49ac735.js → form-6byvmcg7.js} +25 -25
  68. package/dist/chunks/{ripgrep-e03kn7v5.js → form-6ge2d8aw.js} +24 -24
  69. package/dist/chunks/{ripgrep-gmfdakc6.js → form-6gwebs4h.js} +24 -24
  70. package/dist/chunks/{ripgrep-2402vzrj.js → form-6h73sxmp.js} +5 -5
  71. package/dist/chunks/{ripgrep-6msgmcgs.js → form-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{ripgrep-9145vaz1.js → form-6n88yxkj.js} +11 -11
  73. package/dist/chunks/{ripgrep-71q4at8m.js → form-71q4at8m.js} +1 -1
  74. package/dist/chunks/{ripgrep-g99xaqfj.js → form-71xf56m3.js} +26 -26
  75. package/dist/chunks/{ripgrep-cw574hkw.js → form-721s8qah.js} +3 -3
  76. package/dist/chunks/{ripgrep-7yh4e7ss.js → form-73tb2d7t.js} +3 -3
  77. package/dist/chunks/{ripgrep-szyghhdq.js → form-75s9xry6.js} +27 -27
  78. package/dist/chunks/{ripgrep-7bmhse3q.js → form-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{ripgrep-e7gbx5x9.js → form-7ek43f41.js} +22 -22
  80. package/dist/chunks/{ripgrep-z0dt8059.js → form-7zgmv3d0.js} +43 -43
  81. package/dist/chunks/{ripgrep-awbdwcvp.js → form-81swgkk7.js} +2 -2
  82. package/dist/chunks/{ripgrep-q7vxj98b.js → form-84hmmsmt.js} +8 -8
  83. package/dist/chunks/{ripgrep-8d7r5vzw.js → form-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{ripgrep-8pcnta4s.js → form-8dx337tp.js} +30 -30
  85. package/dist/chunks/{ripgrep-jvvm8r5r.js → form-8hqxenar.js} +10 -10
  86. package/dist/chunks/{ripgrep-3ynjv8ew.js → form-8wntykbh.js} +11 -11
  87. package/dist/chunks/{ripgrep-fjh0an0y.js → form-8y1r9423.js} +6 -6
  88. package/dist/chunks/{ripgrep-hrvd6t1f.js → form-94np39z2.js} +9 -9
  89. package/dist/chunks/{ripgrep-jk4tj39g.js → form-950320p1.js} +18 -18
  90. package/dist/chunks/{ripgrep-j6rzabk6.js → form-97xtfh9v.js} +16 -16
  91. package/dist/chunks/{ripgrep-dqfhm7rh.js → form-98vnk7qm.js} +29 -29
  92. package/dist/chunks/{ripgrep-deszs1m1.js → form-9gga9nrc.js} +9 -9
  93. package/dist/chunks/{ripgrep-v9dmpdb3.js → form-a70ftxcy.js} +9 -9
  94. package/dist/chunks/{ripgrep-01c64n85.js → form-a7ytq3d6.js} +3 -3
  95. package/dist/chunks/{ripgrep-aaet6srn.js → form-aaet6srn.js} +2 -2
  96. package/dist/chunks/{ripgrep-7rs7k6vk.js → form-abehngfh.js} +47 -47
  97. package/dist/chunks/{ripgrep-dhmh7aw6.js → form-ag4rn41e.js} +4 -4
  98. package/dist/chunks/{ripgrep-dw1fjyb0.js → form-axryf22p.js} +5 -5
  99. package/dist/chunks/{ripgrep-pdxj7cr2.js → form-b447kr2a.js} +35 -35
  100. package/dist/chunks/{ripgrep-b6gygkdw.js → form-b6gygkdw.js} +2 -2
  101. package/dist/chunks/{ripgrep-zn59mpn9.js → form-b91mn11g.js} +16 -16
  102. package/dist/chunks/{ripgrep-5s6q5yjh.js → form-bevp2kp2.js} +2 -2
  103. package/dist/chunks/{ripgrep-xzt7b96g.js → form-bfz2wy86.js} +9 -9
  104. package/dist/chunks/{ripgrep-8a0b7fze.js → form-bm1s3069.js} +4 -4
  105. package/dist/chunks/{ripgrep-e5nv3ght.js → form-bndc73cn.js} +5 -5
  106. package/dist/chunks/{ripgrep-j2m5b400.js → form-bpjnc74n.js} +28 -28
  107. package/dist/chunks/{ripgrep-45gs53qn.js → form-bppreckh.js} +11 -11
  108. package/dist/chunks/{ripgrep-djfy19dc.js → form-bv4kvpvk.js} +23 -23
  109. package/dist/chunks/{ripgrep-mcvhaj7a.js → form-bwmmvwpj.js} +11 -11
  110. package/dist/chunks/{ripgrep-m2frvhq9.js → form-c0gy5km3.js} +6 -6
  111. package/dist/chunks/{ripgrep-smkxeb0a.js → form-c2pb17nf.js} +22 -22
  112. package/dist/chunks/{ripgrep-mhyv4f66.js → form-c90hj8gh.js} +6 -6
  113. package/dist/chunks/{ripgrep-cen5daqs.js → form-cfpwp5xv.js} +12 -12
  114. package/dist/chunks/{ripgrep-s9p16yvn.js → form-cj6rzf7k.js} +9 -9
  115. package/dist/chunks/{ripgrep-q6jxhr7p.js → form-ckrmy1qx.js} +12 -12
  116. package/dist/chunks/{ripgrep-tqyq1b22.js → form-cp29dvgs.js} +27 -27
  117. package/dist/chunks/{ripgrep-0z2qs6f6.js → form-d2aac7k2.js} +5 -5
  118. package/dist/chunks/{ripgrep-9d8v8ke2.js → form-d45djpte.js} +12 -12
  119. package/dist/chunks/{ripgrep-pzt055kj.js → form-d6zg999z.js} +6 -6
  120. package/dist/chunks/{ripgrep-c5c0bz0t.js → form-dfzjqex4.js} +5 -5
  121. package/dist/chunks/{ripgrep-2y56t47p.js → form-dgdatac4.js} +25 -25
  122. package/dist/chunks/{ripgrep-dj2t23y0.js → form-dj2t23y0.js} +2 -2
  123. package/dist/chunks/{ripgrep-y71avatq.js → form-dpkg50ah.js} +4 -4
  124. package/dist/chunks/{ripgrep-5htpg9r3.js → form-e1zg437k.js} +24 -24
  125. package/dist/chunks/{ripgrep-46wp7cve.js → form-e6hmchc5.js} +5 -5
  126. package/dist/chunks/{ripgrep-cvzrjv2b.js → form-e74942tb.js} +13 -13
  127. package/dist/chunks/{ripgrep-s8d7rejh.js → form-eaj1djv9.js} +6 -6
  128. package/dist/chunks/{ripgrep-ef5x83kb.js → form-ef5x83kb.js} +1 -1
  129. package/dist/chunks/{ripgrep-cqnae743.js → form-en7gpa1e.js} +8 -8
  130. package/dist/chunks/{ripgrep-nv5vn7qx.js → form-eraanh1f.js} +6 -6
  131. package/dist/chunks/{ripgrep-gs64wbh5.js → form-esmaevsk.js} +17 -17
  132. package/dist/chunks/{ripgrep-etq0c3wd.js → form-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{ripgrep-j5jkef4k.js → form-ev3qxag4.js} +22 -22
  134. package/dist/chunks/{ripgrep-9vz03hpn.js → form-ez2razam.js} +17 -17
  135. package/dist/chunks/{ripgrep-t1k78tfr.js → form-f2ck635b.js} +8 -8
  136. package/dist/chunks/{ripgrep-vakpw0hz.js → form-f4vwxjec.js} +10 -10
  137. package/dist/chunks/{ripgrep-414sfh82.js → form-f8mg9gyz.js} +10 -10
  138. package/dist/chunks/{ripgrep-gfn6vx63.js → form-fdtqxjqf.js} +11 -11
  139. package/dist/chunks/{ripgrep-7s6xy3w2.js → form-fe9gw4d2.js} +28 -28
  140. package/dist/chunks/{ripgrep-rjdnsgyh.js → form-fgmem6tq.js} +28 -28
  141. package/dist/chunks/{ripgrep-dkk65xcs.js → form-fgx0j8wy.js} +24 -24
  142. package/dist/chunks/{ripgrep-zvepz2jd.js → form-fkrhk1yf.js} +31 -31
  143. package/dist/chunks/{ripgrep-jzvp32eb.js → form-fm2qvscf.js} +4 -4
  144. package/dist/chunks/{ripgrep-e6r6zprk.js → form-fswk7hek.js} +1 -1
  145. package/dist/chunks/{ripgrep-ftycp6m1.js → form-fvbmgar6.js} +23 -23
  146. package/dist/chunks/{ripgrep-e10xgra2.js → form-fvw5gb9z.js} +6 -6
  147. package/dist/chunks/{ripgrep-fxbjtjnd.js → form-fxbjtjnd.js} +1 -1
  148. package/dist/chunks/{ripgrep-0pjbvvr1.js → form-g4h4g9a5.js} +11 -11
  149. package/dist/chunks/form-gbadjzag.js +4 -0
  150. package/dist/chunks/{ripgrep-gd4qta3r.js → form-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{ripgrep-8hy4qcjc.js → form-gkfk1ff3.js} +9 -9
  152. package/dist/chunks/{ripgrep-89smrnyf.js → form-gnx4ytbv.js} +4 -4
  153. package/dist/chunks/{ripgrep-19d3sct9.js → form-gv6a8nnw.js} +5 -5
  154. package/dist/chunks/{ripgrep-h03wrkyp.js → form-h03wrkyp.js} +2 -2
  155. package/dist/chunks/{ripgrep-c0jnvte1.js → form-h0m8g62z.js} +10 -10
  156. package/dist/chunks/{ripgrep-8qvgnq7a.js → form-h2fnsspk.js} +11 -11
  157. package/dist/chunks/{ripgrep-xfcq4ch4.js → form-h5cfkvzn.js} +15 -15
  158. package/dist/chunks/{ripgrep-h6vf3j39.js → form-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{ripgrep-kmtsy9gg.js → form-hcc73bfp.js} +7 -7
  160. package/dist/chunks/{ripgrep-hdnk95c8.js → form-hdnk95c8.js} +2 -2
  161. package/dist/chunks/{ripgrep-k30fxr3h.js → form-hdqqk1vd.js} +15 -15
  162. package/dist/chunks/{ripgrep-d6bvjqk2.js → form-hqgez0f8.js} +82 -82
  163. package/dist/chunks/{ripgrep-ydjmf6hh.js → form-hx9rn9d5.js} +24 -24
  164. package/dist/chunks/{ripgrep-c00yymc4.js → form-j10454sr.js} +28 -28
  165. package/dist/chunks/{ripgrep-2g7jz3dm.js → form-j24mk0r1.js} +11 -11
  166. package/dist/chunks/{ripgrep-3585dpn0.js → form-j4tst3gk.js} +17 -17
  167. package/dist/chunks/{ripgrep-j56e64zr.js → form-j56e64zr.js} +1 -1
  168. package/dist/chunks/{ripgrep-xqkekxwm.js → form-j6m5np4d.js} +4 -4
  169. package/dist/chunks/{ripgrep-dv250zvr.js → form-j7wq2tw5.js} +3 -3
  170. package/dist/chunks/{ripgrep-18yd35db.js → form-jg0d4mdm.js} +7 -7
  171. package/dist/chunks/{ripgrep-nz9y5nma.js → form-jmezxmf7.js} +2 -2
  172. package/dist/chunks/{ripgrep-w6b5p79s.js → form-jrh4h7b1.js} +3 -3
  173. package/dist/chunks/{ripgrep-ec8389mk.js → form-jva4mgym.js} +4 -4
  174. package/dist/chunks/{ripgrep-qa4rp7fn.js → form-jzzy94zk.js} +9 -9
  175. package/dist/chunks/{ripgrep-kk00bynn.js → form-k2h4r4s0.js} +21 -21
  176. package/dist/chunks/{ripgrep-x4th0ycp.js → form-kbya2g6z.js} +13 -13
  177. package/dist/chunks/{ripgrep-kg06axw8.js → form-kg06axw8.js} +1 -1
  178. package/dist/chunks/{ripgrep-xr4yra30.js → form-m07et3yq.js} +14 -14
  179. package/dist/chunks/{ripgrep-m0jqrx5p.js → form-m0jqrx5p.js} +2 -2
  180. package/dist/chunks/{ripgrep-tjkkyhrm.js → form-m515h74k.js} +4 -4
  181. package/dist/chunks/{ripgrep-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{ripgrep-jeanpfns.js → form-mk5c6pca.js} +1 -1
  183. package/dist/chunks/{ripgrep-798sgk8w.js → form-mqqr0pb6.js} +11 -11
  184. package/dist/chunks/{ripgrep-eksmg0b6.js → form-mzag3zw5.js} +29 -29
  185. package/dist/chunks/{ripgrep-4e736qct.js → form-n1x5wxj8.js} +24 -24
  186. package/dist/chunks/{ripgrep-2wqaky7d.js → form-nb8hcmkq.js} +10 -10
  187. package/dist/chunks/{ripgrep-pjedbq3k.js → form-ndqtf2h8.js} +6 -6
  188. package/dist/chunks/{ripgrep-cza9j1er.js → form-nedb85dc.js} +1 -1
  189. package/dist/chunks/{ripgrep-nhy5jxhy.js → form-nhy5jxhy.js} +1 -1
  190. package/dist/chunks/{ripgrep-pfxwykwg.js → form-nj2exdv8.js} +16 -16
  191. package/dist/chunks/{ripgrep-htdtaedf.js → form-ntznpfwc.js} +43 -43
  192. package/dist/chunks/{ripgrep-eynhbbrp.js → form-nw13281a.js} +10 -10
  193. package/dist/chunks/{ripgrep-36f883jd.js → form-p3bcj275.js} +18 -18
  194. package/dist/chunks/{ripgrep-j935v87r.js → form-paphc93g.js} +2 -2
  195. package/dist/chunks/form-phz3h32g.js +18 -0
  196. package/dist/chunks/{ripgrep-pjvnvgmy.js → form-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{ripgrep-pknna89w.js → form-pknna89w.js} +1 -1
  198. package/dist/chunks/{ripgrep-ket1x0yc.js → form-pnv527nz.js} +8 -8
  199. package/dist/chunks/{ripgrep-a2vq9b6b.js → form-pq6x3deh.js} +161 -161
  200. package/dist/chunks/{ripgrep-xzax2bp8.js → form-prmd6100.js} +30 -30
  201. package/dist/chunks/{ripgrep-s1p8n3hc.js → form-pyjnsg48.js} +5 -5
  202. package/dist/chunks/{ripgrep-585pw9ae.js → form-q76hhjq3.js} +24 -24
  203. package/dist/chunks/{ripgrep-we8dmkwe.js → form-q77t93j3.js} +6 -6
  204. package/dist/chunks/{ripgrep-fwph3ky5.js → form-qefbaqqz.js} +23 -23
  205. package/dist/chunks/{ripgrep-m7y3f53v.js → form-qhhnphw5.js} +4 -4
  206. package/dist/chunks/{ripgrep-j0fxed5p.js → form-qjbrcyxd.js} +36 -36
  207. package/dist/chunks/{ripgrep-mw934p8z.js → form-qm7jrdpz.js} +5 -5
  208. package/dist/chunks/{ripgrep-2ve45fd6.js → form-qntdvq9j.js} +5 -5
  209. package/dist/chunks/{ripgrep-jtrqb7gt.js → form-qpfg8bns.js} +24 -24
  210. package/dist/chunks/{ripgrep-qsdy395h.js → form-qsdy395h.js} +1 -1
  211. package/dist/chunks/{ripgrep-ea8nv0r7.js → form-qvn3tka3.js} +2 -2
  212. package/dist/chunks/{ripgrep-etjd8m3h.js → form-qynpn6w3.js} +9 -9
  213. package/dist/chunks/{ripgrep-65h5bvtz.js → form-qzenrqsn.js} +10 -10
  214. package/dist/chunks/{ripgrep-mhmyvv3d.js → form-r4crfyhm.js} +17 -17
  215. package/dist/chunks/{ripgrep-eznd2tmg.js → form-r6dxm90c.js} +5 -5
  216. package/dist/chunks/{ripgrep-r9mregkx.js → form-r9mregkx.js} +2 -2
  217. package/dist/chunks/{ripgrep-hvy35nny.js → form-raec4cfz.js} +5 -5
  218. package/dist/chunks/{ripgrep-f0yd4j3s.js → form-rcjb3hxv.js} +24 -24
  219. package/dist/chunks/{ripgrep-0p9rw7fw.js → form-reen7spn.js} +43 -43
  220. package/dist/chunks/{ripgrep-v8c9gd7q.js → form-rh2xq39j.js} +20 -20
  221. package/dist/chunks/{ripgrep-g14zqp48.js → form-rk93ytwn.js} +8 -8
  222. package/dist/chunks/{ripgrep-s14mecf9.js → form-s0w6xev2.js} +16 -16
  223. package/dist/chunks/{ripgrep-jvfkqhd3.js → form-s9pykxaw.js} +9 -9
  224. package/dist/chunks/{ripgrep-gq59ghnw.js → form-sh5yaj5r.js} +287 -287
  225. package/dist/chunks/{ripgrep-nxnrmdqj.js → form-sw3tg7qr.js} +48 -48
  226. package/dist/chunks/{ripgrep-ryg87dec.js → form-szd1nzgf.js} +23 -23
  227. package/dist/chunks/{ripgrep-gveqyzmn.js → form-t3g6pxg0.js} +76 -76
  228. package/dist/chunks/{ripgrep-22rpdhdr.js → form-t56yk56z.js} +12 -12
  229. package/dist/chunks/{ripgrep-e17bkqjz.js → form-t6nyzhp3.js} +1 -1
  230. package/dist/chunks/{ripgrep-m2gt5keg.js → form-t82d6hjp.js} +2 -2
  231. package/dist/chunks/{ripgrep-8cnq3wn4.js → form-t8a3bn55.js} +38 -38
  232. package/dist/chunks/{ripgrep-tazgh4e4.js → form-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{ripgrep-tcezcvh9.js → form-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{ripgrep-tdstcens.js → form-tdstcens.js} +1 -1
  235. package/dist/chunks/{ripgrep-f1ve4zk0.js → form-tfx62rqv.js} +20 -20
  236. package/dist/chunks/{ripgrep-5vwjczgq.js → form-tkqggtee.js} +20 -20
  237. package/dist/chunks/{ripgrep-sthpyd6y.js → form-tnbypbhe.js} +17 -17
  238. package/dist/chunks/{ripgrep-7b15y959.js → form-tpw6cwsb.js} +6 -6
  239. package/dist/chunks/{ripgrep-tvtrv512.js → form-tvtrv512.js} +1 -1
  240. package/dist/chunks/{ripgrep-vc4e6k4r.js → form-vc4e6k4r.js} +1 -1
  241. package/dist/chunks/{ripgrep-veqvce7d.js → form-veqvce7d.js} +1 -1
  242. package/dist/chunks/{ripgrep-2eq8yyrv.js → form-vhmnsspb.js} +47 -47
  243. package/dist/chunks/{ripgrep-tgqjfyja.js → form-vm4ppm64.js} +3 -3
  244. package/dist/chunks/{ripgrep-fbkm4yfd.js → form-vnsejen8.js} +8 -8
  245. package/dist/chunks/{ripgrep-vzcthcp8.js → form-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{ripgrep-hrndf12w.js → form-w1k39n5e.js} +4 -4
  247. package/dist/chunks/{ripgrep-6vktdcs3.js → form-w1xzjbfc.js} +32 -32
  248. package/dist/chunks/{ripgrep-whf5bmpn.js → form-w2sm5ssb.js} +4 -4
  249. package/dist/chunks/{ripgrep-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{ripgrep-3zykk5as.js → form-w4zk9745.js} +8 -8
  251. package/dist/chunks/{ripgrep-48e7pka3.js → form-wb5drhdh.js} +7 -7
  252. package/dist/chunks/{ripgrep-wd87259q.js → form-wd87259q.js} +1 -1
  253. package/dist/chunks/{ripgrep-0bps82y7.js → form-wmnxc830.js} +6 -6
  254. package/dist/chunks/{ripgrep-wjbwmtb7.js → form-wn0tjn2g.js} +10 -10
  255. package/dist/chunks/{ripgrep-xdxsk56r.js → form-wnbmemrg.js} +13 -13
  256. package/dist/chunks/{ripgrep-qmy7xtej.js → form-wq47cn3q.js} +1 -1
  257. package/dist/chunks/{ripgrep-rq7d8v6q.js → form-wtzp478w.js} +11 -11
  258. package/dist/chunks/{ripgrep-gnrgb9v9.js → form-x0e6qwje.js} +12 -12
  259. package/dist/chunks/{ripgrep-q2m2cwvs.js → form-x0wd78c0.js} +41 -41
  260. package/dist/chunks/{ripgrep-x1ezjp6w.js → form-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{ripgrep-bn56f23d.js → form-x25rkjwp.js} +11 -11
  262. package/dist/chunks/{ripgrep-e2jp6j8q.js → form-x5xbzaa3.js} +12 -12
  263. package/dist/chunks/{ripgrep-czavtrqb.js → form-x8sv5g7y.js} +9 -9
  264. package/dist/chunks/{ripgrep-djdwb08p.js → form-xcs4r9b9.js} +9 -9
  265. package/dist/chunks/{ripgrep-a4twc4z9.js → form-xe7fems8.js} +40 -40
  266. package/dist/chunks/{ripgrep-n6mbs687.js → form-xeshd39k.js} +15 -15
  267. package/dist/chunks/{ripgrep-zpd6x7fe.js → form-xg9t41r3.js} +2 -2
  268. package/dist/chunks/form-xkp71aat.js +247 -0
  269. package/dist/chunks/{ripgrep-10vf47fy.js → form-xm6ck93a.js} +16 -16
  270. package/dist/chunks/{ripgrep-vmz2bp6p.js → form-xpb882n5.js} +28 -28
  271. package/dist/chunks/{ripgrep-7b78ctkg.js → form-xv4vzzz6.js} +13 -13
  272. package/dist/chunks/{ripgrep-2kxpmhy3.js → form-xz722xdc.js} +15 -15
  273. package/dist/chunks/{ripgrep-y1fvbwt7.js → form-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{ripgrep-9pf502c0.js → form-y3e2hzgf.js} +12 -12
  275. package/dist/chunks/{ripgrep-vfefw32n.js → form-y4gz4htj.js} +4 -4
  276. package/dist/chunks/{ripgrep-08zrd5pp.js → form-y85e4phv.js} +15 -15
  277. package/dist/chunks/{ripgrep-d5akq3tm.js → form-ymgtrn6d.js} +29 -29
  278. package/dist/chunks/{ripgrep-yp2x3t23.js → form-yp2x3t23.js} +1 -1
  279. package/dist/chunks/{ripgrep-60ffd1gb.js → form-yqp46f6p.js} +17 -17
  280. package/dist/chunks/{ripgrep-yrhqyw5v.js → form-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{ripgrep-s4enseaf.js → form-yrznvahk.js} +2 -2
  282. package/dist/chunks/{ripgrep-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{ripgrep-6k1124w6.js → form-z31g4fd5.js} +40 -40
  284. package/dist/chunks/{ripgrep-635pgx6n.js → form-z3pw5915.js} +5 -5
  285. package/dist/chunks/{ripgrep-29x78va6.js → form-z63w68vq.js} +6 -6
  286. package/dist/chunks/{ripgrep-cw1j9y4w.js → form-za6hx6wm.js} +7 -7
  287. package/dist/chunks/{ripgrep-p04d36qx.js → form-zc81rp9a.js} +20 -20
  288. package/dist/chunks/{ripgrep-rq775frq.js → form-zeh9ct20.js} +2 -2
  289. package/dist/chunks/{ripgrep-zr2ceqn5.js → form-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{ripgrep-th5yjcm2.js → form-zrhjfbn0.js} +11 -11
  291. package/dist/chunks/{ripgrep-zxq2ej10.js → form-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +7 -7
  294. package/dist/codemode/tool.js +2 -2
  295. package/dist/command.js +80 -80
  296. package/dist/config/discovery.js +81 -81
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +19 -19
  299. package/dist/config/plugin/agent.js +119 -119
  300. package/dist/config/plugin/command.js +211 -211
  301. package/dist/config/plugin/compaction.js +159 -159
  302. package/dist/config/plugin/compatibility.js +137 -137
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +120 -120
  305. package/dist/config/plugin/image.js +119 -119
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +119 -119
  308. package/dist/config/plugin/mcp.js +128 -128
  309. package/dist/config/plugin/policy.js +118 -118
  310. package/dist/config/plugin/provider.js +117 -117
  311. package/dist/config/plugin/reference.js +121 -121
  312. package/dist/config/plugin/shell.js +119 -119
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +138 -138
  315. package/dist/config/plugin/snapshot.js +119 -119
  316. package/dist/config/plugin/source.js +121 -121
  317. package/dist/config/plugin/tool-output.js +121 -121
  318. package/dist/config/plugin/websearch.js +117 -117
  319. package/dist/config/plugin/worktree.js +122 -122
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +123 -123
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +84 -84
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +365 -365
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +69 -69
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +89 -89
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +223 -223
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +98 -98
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +101 -101
  430. package/dist/form.js +83 -83
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +86 -86
  433. package/dist/generate.js +92 -92
  434. package/dist/git.js +6 -6
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +3 -3
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +356 -356
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +3 -3
  462. package/dist/integration/connection.js +1 -1
  463. package/dist/integration.js +85 -85
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +134 -134
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +87 -87
  470. package/dist/location-services.js +353 -353
  471. package/dist/location.js +80 -80
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +107 -107
  474. package/dist/mcp/instructions.js +126 -126
  475. package/dist/mcp/oauth.js +3 -3
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +3 -3
  479. package/dist/model-resolver.js +87 -87
  480. package/dist/model.js +8 -8
  481. package/dist/models-dev.js +87 -87
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +81 -81
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +112 -112
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +87 -87
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +101 -101
  492. package/dist/plugin/command.js +98 -98
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +216 -216
  495. package/dist/plugin/instance.js +3 -3
  496. package/dist/plugin/internal.js +327 -327
  497. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  498. package/dist/plugin/models-dev.js +76 -76
  499. package/dist/plugin/module.js +7 -7
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +99 -99
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/alibaba.js +2 -2
  504. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  505. package/dist/plugin/provider/azure.js +121 -121
  506. package/dist/plugin/provider/cerebras.js +2 -2
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  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 +80 -80
  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 +81 -81
  516. package/dist/plugin/provider/gitlab.js +3 -3
  517. package/dist/plugin/provider/google-vertex.js +2 -2
  518. package/dist/plugin/provider/kilo.js +2 -2
  519. package/dist/plugin/provider/llmgateway.js +77 -77
  520. package/dist/plugin/provider/lmstudio.js +121 -121
  521. package/dist/plugin/provider/modal.js +80 -80
  522. package/dist/plugin/provider/nvidia.js +2 -2
  523. package/dist/plugin/provider/ollama.js +121 -121
  524. package/dist/plugin/provider/openai-compatible.js +1 -1
  525. package/dist/plugin/provider/openai.js +81 -81
  526. package/dist/plugin/provider/opencode.js +80 -80
  527. package/dist/plugin/provider/openrouter.js +3 -3
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/sap-ai-core.js +3 -3
  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 +2 -2
  535. package/dist/plugin/provider/vllm.js +121 -121
  536. package/dist/plugin/provider/xai.js +78 -78
  537. package/dist/plugin/provider/zenmux.js +2 -2
  538. package/dist/plugin/provider.js +159 -159
  539. package/dist/plugin/sdk.js +75 -75
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +135 -135
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +346 -346
  544. package/dist/plugin/update.js +6 -6
  545. package/dist/plugin/variant.js +4 -4
  546. package/dist/plugin/vcs/git.js +85 -85
  547. package/dist/plugin/vcs/hg.js +85 -85
  548. package/dist/plugin/warming.js +116 -116
  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 +6 -6
  556. package/dist/plugin.js +227 -227
  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 +7 -7
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/schema.js +3 -3
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +97 -97
  565. package/dist/reference/instructions.js +86 -86
  566. package/dist/reference.js +90 -90
  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 +94 -94
  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 +128 -128
  582. package/dist/session/generate.js +150 -150
  583. package/dist/session/history.js +15 -15
  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 +117 -117
  592. package/dist/session/model-transport.js +9 -9
  593. package/dist/session/move.js +126 -126
  594. package/dist/session/projector.js +83 -83
  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 +1 -1
  599. package/dist/session/runner/index.js +3 -3
  600. package/dist/session/runner/llm.js +228 -228
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +87 -87
  603. package/dist/session/runner/publish-llm-event.js +3 -3
  604. package/dist/session/runner/retry.js +114 -114
  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 +170 -170
  609. package/dist/session/shell.js +134 -134
  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 +111 -111
  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 +9 -9
  626. package/dist/shell.js +136 -136
  627. package/dist/skill/discovery.js +4 -4
  628. package/dist/skill/instructions.js +104 -104
  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 +125 -125
  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 +119 -119
  638. package/dist/tool/plugin/grep.js +115 -115
  639. package/dist/tool/plugin/opencode.js +1 -1
  640. package/dist/tool/plugin/patch.js +121 -121
  641. package/dist/tool/plugin/question.js +102 -102
  642. package/dist/tool/plugin/read.js +124 -124
  643. package/dist/tool/plugin/shell.js +212 -212
  644. package/dist/tool/plugin/skill.js +104 -104
  645. package/dist/tool/plugin/subagent.js +212 -212
  646. package/dist/tool/plugin/webfetch.js +107 -107
  647. package/dist/tool/plugin/websearch.js +109 -109
  648. package/dist/tool/plugin/write.js +121 -121
  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 +11 -11
  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 +7 -7
  663. package/dist/v1/config/attachment.js +4 -4
  664. package/dist/v1/config/command.js +3 -3
  665. package/dist/v1/config/config.js +16 -16
  666. package/dist/v1/config/error.js +4 -4
  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 +4 -4
  672. package/dist/v1/config/permission.js +7 -7
  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/vcs/patch.js +1 -1
  680. package/dist/vcs.js +88 -88
  681. package/dist/websearch.js +81 -81
  682. package/dist/wellknown/plugin.js +75 -75
  683. package/dist/wellknown.js +78 -78
  684. package/dist/workspace/driver.js +5 -5
  685. package/dist/workspace/sql.js +1 -1
  686. package/dist/workspace.js +77 -77
  687. package/dist/worktree/directory.js +4 -4
  688. package/dist/worktree/git.js +10 -10
  689. package/dist/worktree/refresh.js +345 -345
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree.js +95 -95
  692. package/package.json +8 -8
  693. package/dist/chunks/ripgrep-0mesazry.js +0 -4
  694. package/dist/chunks/ripgrep-5vrjdqzc.js +0 -247
  695. package/dist/chunks/ripgrep-9sh4wc5j.js +0 -18
  696. /package/dist/chunks/{ripgrep-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{ripgrep-0zkw76rk.js → form-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{ripgrep-17cy0kzp.js → form-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{ripgrep-1cnp2v09.js → form-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{ripgrep-1kg9ymc8.js → form-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{ripgrep-2710q6r3.js → form-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{ripgrep-2axfhc9x.js → form-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{ripgrep-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{ripgrep-359p4xyc.js → form-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{ripgrep-3asan66x.js → form-3asan66x.js} +0 -0
  706. /package/dist/chunks/{ripgrep-3v8g72cx.js → form-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{ripgrep-3w5fmr99.js → form-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{ripgrep-3wcehsnq.js → form-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{ripgrep-43n2bw4t.js → form-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{ripgrep-4knz6hnm.js → form-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{ripgrep-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{ripgrep-4y7fprxs.js → form-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{ripgrep-53557ph1.js → form-53557ph1.js} +0 -0
  714. /package/dist/chunks/{ripgrep-550bvhaj.js → form-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{ripgrep-6prwharc.js → form-6prwharc.js} +0 -0
  716. /package/dist/chunks/{ripgrep-7akdwqpd.js → form-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{ripgrep-7m9af43g.js → form-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{ripgrep-822emrt2.js → form-822emrt2.js} +0 -0
  719. /package/dist/chunks/{ripgrep-88xbtdfr.js → form-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{ripgrep-8n3pysct.js → form-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{ripgrep-922hggd3.js → form-922hggd3.js} +0 -0
  722. /package/dist/chunks/{ripgrep-9a4afbnw.js → form-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{ripgrep-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{ripgrep-a6k6eb26.js → form-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{ripgrep-af5trqkr.js → form-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{ripgrep-afrmfg78.js → form-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{ripgrep-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{ripgrep-atq7p7m5.js → form-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{ripgrep-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{ripgrep-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{ripgrep-cf4snx6d.js → form-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{ripgrep-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{ripgrep-d9fn303g.js → form-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{ripgrep-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{ripgrep-dajrwvna.js → form-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{ripgrep-dap0rakb.js → form-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{ripgrep-df08tz66.js → form-df08tz66.js} +0 -0
  738. /package/dist/chunks/{ripgrep-dy18nga0.js → form-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{ripgrep-e5kj55wp.js → form-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{ripgrep-e73j6tqm.js → form-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{ripgrep-ec1grn59.js → form-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{ripgrep-eh3zwz77.js → form-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{ripgrep-emrn6kk6.js → form-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{ripgrep-f0mxakyp.js → form-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{ripgrep-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{ripgrep-faypxj3z.js → form-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{ripgrep-fd410y7t.js → form-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{ripgrep-fxgpk5d8.js → form-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{ripgrep-g4wezp1m.js → form-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{ripgrep-g86h250q.js → form-g86h250q.js} +0 -0
  751. /package/dist/chunks/{ripgrep-gebd4c9n.js → form-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{ripgrep-gftt206x.js → form-gftt206x.js} +0 -0
  753. /package/dist/chunks/{ripgrep-hjbc5kem.js → form-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{ripgrep-hk9envan.js → form-hk9envan.js} +0 -0
  755. /package/dist/chunks/{ripgrep-hrnqkpcd.js → form-hrnqkpcd.js} +0 -0
  756. /package/dist/chunks/{ripgrep-j2ntwpah.js → form-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{ripgrep-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{ripgrep-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{ripgrep-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{ripgrep-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{ripgrep-mp448xyj.js → form-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{ripgrep-msx8hqn2.js → form-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{ripgrep-n05xt0ee.js → form-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{ripgrep-n3j8tn72.js → form-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{ripgrep-njntx4h6.js → form-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{ripgrep-q3sfg36h.js → form-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{ripgrep-q74kybfr.js → form-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{ripgrep-qaymkmh1.js → form-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{ripgrep-qb87gjwd.js → form-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{ripgrep-qfa1cgps.js → form-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{ripgrep-qrg20bc0.js → form-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{ripgrep-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{ripgrep-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{ripgrep-sk3qaz4a.js → form-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{ripgrep-ssg3fenm.js → form-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{ripgrep-twg0f83k.js → form-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{ripgrep-w803qqfp.js → form-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{ripgrep-wer8tq1h.js → form-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{ripgrep-wtztk69x.js → form-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{ripgrep-x0ckcb58.js → form-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{ripgrep-x61499pn.js → form-x61499pn.js} +0 -0
  782. /package/dist/chunks/{ripgrep-y44na4kk.js → form-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{ripgrep-y8cydn3q.js → form-y8cydn3q.js} +0 -0
  784. /package/dist/chunks/{ripgrep-y8f7s663.js → form-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{ripgrep-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{ripgrep-ym463w8f.js → form-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{ripgrep-z9919s4g.js → form-z9919s4g.js} +0 -0
@@ -1,69 +1,69 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./ripgrep-922hggd3.js";
3
+ } from "./form-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
6
  node83
7
- } from "./ripgrep-hvy35nny.js";
7
+ } from "./form-raec4cfz.js";
8
8
  import {
9
9
  ID18
10
- } from "./ripgrep-awbdwcvp.js";
10
+ } from "./form-81swgkk7.js";
11
11
  import {
12
12
  Slug2
13
- } from "./ripgrep-gebd4c9n.js";
13
+ } from "./form-gebd4c9n.js";
14
14
  import {
15
15
  Service80,
16
16
  node85
17
- } from "./ripgrep-cw574hkw.js";
17
+ } from "./form-721s8qah.js";
18
18
  import {
19
19
  Service79,
20
20
  node84
21
- } from "./ripgrep-tjkkyhrm.js";
21
+ } from "./form-m515h74k.js";
22
22
  import {
23
23
  ProjectTable2
24
- } from "./ripgrep-dj2t23y0.js";
24
+ } from "./form-dj2t23y0.js";
25
25
  import {
26
26
  WorktreeTable2
27
- } from "./ripgrep-m0jqrx5p.js";
27
+ } from "./form-m0jqrx5p.js";
28
28
  import {
29
29
  Service76,
30
30
  node81
31
- } from "./ripgrep-m2gt5keg.js";
31
+ } from "./form-t82d6hjp.js";
32
32
  import {
33
33
  DirectoryUnavailableError2,
34
- canonical3
35
- } from "./ripgrep-19d3sct9.js";
34
+ canonical2
35
+ } from "./form-gv6a8nnw.js";
36
36
  import {
37
- make20
38
- } from "./ripgrep-xzt7b96g.js";
37
+ make18
38
+ } from "./form-bfz2wy86.js";
39
39
  import {
40
40
  create3
41
- } from "./ripgrep-kg06axw8.js";
41
+ } from "./form-kg06axw8.js";
42
42
  import {
43
43
  __export
44
- } from "./ripgrep-9rqn6x4v.js";
44
+ } from "./form-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
48
48
  __export(exports_worktree2, {
49
- CreateInput: () => CreateInput3,
49
+ CreateInput: () => CreateInput2,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event13,
53
- Info: () => Info13,
52
+ Event: () => Event4,
53
+ Info: () => Info6,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RefreshResult: () => RefreshResult2,
59
59
  RemoveInput: () => RemoveInput2,
60
- Service: () => Service63,
60
+ Service: () => Service36,
61
61
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
62
62
  StrategyID: () => StrategyID2,
63
63
  StrategyUnavailableError: () => StrategyUnavailableError2,
64
64
  UnsupportedLocationError: () => UnsupportedLocationError2,
65
65
  Worktree: () => exports_worktree2,
66
- node: () => node68
66
+ node: () => node39
67
67
  });
68
68
  import { Context, Effect, Layer, Schema } from "effect";
69
69
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -76,13 +76,13 @@ import { AppProcess } from "@opencode/util/process";
76
76
  import { ChildProcess } from "effect/unstable/process";
77
77
  import { OperationError as OperationError2 } from "@opencode/schema/worktree";
78
78
  var StrategyID2 = Worktree.StrategyID;
79
- var CreateInput3 = Worktree.CreateInput;
79
+ var CreateInput2 = Worktree.CreateInput;
80
80
  var RemoveInput2 = Worktree.RemoveInput;
81
81
  var RefreshResult2 = Schema.Struct({
82
82
  updated: Schema.Array(AbsolutePath2),
83
83
  removed: Schema.Array(AbsolutePath2)
84
84
  }).annotate({ identifier: "Worktree.RefreshResult" });
85
- var Info13 = Worktree.Info;
85
+ var Info6 = Worktree.Info;
86
86
  var List2 = Worktree.List;
87
87
  var ListEntry3 = Worktree.ListEntry;
88
88
 
@@ -100,11 +100,11 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
100
100
 
101
101
  class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
102
102
  }
103
- var Event13 = Worktree.Event;
103
+ var Event4 = Worktree.Event;
104
104
 
105
- class Service63 extends Context.Service()("@opencode/v2/Worktree") {
105
+ class Service36 extends Context.Service()("@opencode/v2/Worktree") {
106
106
  }
107
- var layer = Layer.effect(Service63, Effect.gen(function* () {
107
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
108
108
  const fs = yield* FSUtil.Service;
109
109
  const database = yield* Service80;
110
110
  const db = database.db;
@@ -114,7 +114,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
114
114
  const global = yield* Global.Service;
115
115
  const projectID = location.project.id;
116
116
  const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
117
- const gitStrategy = yield* make20;
117
+ const gitStrategy = yield* make18;
118
118
  const state = create3({
119
119
  name: "worktree",
120
120
  initial: () => ({
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
135
135
  });
136
136
  const changed = Effect.fnUntraced(function* (update) {
137
137
  if (update)
138
- yield* bus.publish(Event13.Updated, { projectID });
138
+ yield* bus.publish(Event4.Updated, { projectID });
139
139
  });
140
140
  const ops = {
141
141
  list: Effect.fnUntraced(function* () {
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
161
161
  };
162
162
  const source = Effect.fnUntraced(function* (input) {
163
163
  const sourceDirectory = input ?? location.project.directory;
164
- const resolved = yield* canonical3(fs, sourceDirectory);
164
+ const resolved = yield* canonical2(fs, sourceDirectory);
165
165
  if ((yield* ops.find(resolved)) === undefined)
166
166
  return yield* new SourceDirectoryNotFoundError2({ projectID, directory: resolved });
167
167
  return resolved;
@@ -193,7 +193,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
193
193
  sourceDirectory,
194
194
  branch: input.branch
195
195
  }).pipe(Effect.mapError((error) => operationError(selected.id, "create", error)));
196
- const result = { directory: yield* canonical3(fs, created.directory) };
196
+ const result = { directory: yield* canonical2(fs, created.directory) };
197
197
  yield* changed(yield* ops.create({
198
198
  directory: result.directory,
199
199
  strategy: selected.id,
@@ -218,7 +218,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
218
218
  });
219
219
  const remove = Effect.fn("Worktree.remove")(function* (input) {
220
220
  yield* local;
221
- const worktreeDirectory = yield* canonical3(fs, input.directory);
221
+ const worktreeDirectory = yield* canonical2(fs, input.directory);
222
222
  const stored = yield* ops.find(worktreeDirectory);
223
223
  if (!stored?.strategy)
224
224
  return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
239
239
  for (const strategy of strategies) {
240
240
  const entries = yield* strategy.list(location.project.directory).pipe(Effect.mapError((error) => operationError(strategy.id, "list", error)), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.succeed([])));
241
241
  for (const entry of entries) {
242
- const directory = yield* canonical3(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
242
+ const directory = yield* canonical2(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
243
243
  if (!directory || discovered.has(directory))
244
244
  continue;
245
245
  discovered.set(directory, {
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
257
257
  yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
258
258
  return changes;
259
259
  });
260
- return Service63.of({
260
+ return Service36.of({
261
261
  transform: state.transform,
262
262
  reload: state.reload,
263
263
  list: Effect.fn("Worktree.list")(function* () {
@@ -269,8 +269,8 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
269
269
  refresh
270
270
  });
271
271
  }));
272
- var node68 = makeLocationNode({
273
- service: Service63,
272
+ var node39 = makeLocationNode({
273
+ service: Service36,
274
274
  layer,
275
275
  deps: [FSUtil.node, node83, node84, node85, AppProcess.node, node81, Global.node]
276
276
  });
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
282
282
  });
283
283
  }
284
284
 
285
- export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info13, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event13, Service63, node68, exports_worktree2, OperationError2 };
285
+ export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2, Info6, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event4, Service36, node39, exports_worktree2, OperationError2 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./ripgrep-2a5m3afh.js";
5
+ } from "./form-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./ripgrep-9rqn6x4v.js";
8
+ } from "./form-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./ripgrep-cw574hkw.js";
4
+ } from "./form-721s8qah.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./ripgrep-5c4hm403.js";
8
+ } from "./form-5c4hm403.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
- load2
12
- } from "./ripgrep-makktzfn.js";
11
+ load3
12
+ } from "./form-1tkc0b12.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./ripgrep-zpd6x7fe.js";
15
+ } from "./form-xg9t41r3.js";
16
16
  import {
17
17
  __export
18
- } from "./ripgrep-9rqn6x4v.js";
18
+ } from "./form-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
- ListInput: () => ListInput5,
24
- Service: () => Service68,
23
+ ListInput: () => ListInput4,
24
+ Service: () => Service72,
25
25
  SessionStore: () => exports_store,
26
- node: () => node73
26
+ node: () => node77
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
50
50
  subpath: RelativePath.pipe(Schema.optional)
51
51
  });
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
- var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
53
+ var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service68 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service72 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service68, Effect.gen(function* () {
57
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
58
58
  const { db } = yield* Service80;
59
- return Service68.of({
59
+ return Service72.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
98
98
  const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
99
99
  return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
100
100
  }),
101
- context: Effect.fn("SessionStore.context")((sessionID) => load2(db, sessionID, "latest")),
101
+ context: Effect.fn("SessionStore.context")((sessionID) => load3(db, sessionID, "latest")),
102
102
  message: Effect.fn("SessionStore.message")(function* (messageID) {
103
103
  const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
104
104
  return row ? {
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
125
125
  })
126
126
  });
127
127
  }));
128
- var node73 = makeGlobalNode({ service: Service68, layer, deps: [node85] });
128
+ var node77 = makeGlobalNode({ service: Service72, layer, deps: [node85] });
129
129
 
130
- export { ListInput5, Service68, node73, exports_store };
130
+ export { ListInput4, Service72, node77, exports_store };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./ripgrep-nxnrmdqj.js";
3
+ } from "./form-sw3tg7qr.js";
4
4
  import {
5
5
  __export
6
- } from "./ripgrep-9rqn6x4v.js";
6
+ } from "./form-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service78
3
- } from "./ripgrep-hvy35nny.js";
3
+ } from "./form-raec4cfz.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
- canonical3
7
- } from "./ripgrep-19d3sct9.js";
6
+ canonical2
7
+ } from "./form-gv6a8nnw.js";
8
8
  import {
9
9
  __export
10
- } from "./ripgrep-9rqn6x4v.js";
10
+ } from "./form-9rqn6x4v.js";
11
11
 
12
12
  // src/worktree/git.ts
13
13
  var exports_git2 = {};
14
14
  __export(exports_git2, {
15
15
  WorktreeGit: () => exports_git2,
16
- make: () => make20
16
+ make: () => make18
17
17
  });
18
18
  import { Effect } from "effect";
19
19
  import { Worktree } from "@opencode/schema/worktree";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
- var make20 = Effect.gen(function* () {
21
+ var make18 = Effect.gen(function* () {
22
22
  const fs = yield* FSUtil.Service;
23
23
  const git = yield* Service78;
24
24
  return {
@@ -28,7 +28,7 @@ var make20 = Effect.gen(function* () {
28
28
  if (!repository)
29
29
  return yield* new DirectoryUnavailableError2({ directory: input.sourceDirectory });
30
30
  yield* git.worktree.create({ repository, directory: input.directory, ref: input.branch });
31
- return { directory: yield* canonical3(fs, input.directory) };
31
+ return { directory: yield* canonical2(fs, input.directory) };
32
32
  }),
33
33
  remove: Effect.fn("Worktree.Git.remove")(function* (input) {
34
34
  const repository = yield* git.repo.discover(input.directory);
@@ -41,9 +41,9 @@ var make20 = Effect.gen(function* () {
41
41
  if (!repository)
42
42
  return yield* new DirectoryUnavailableError2({ directory });
43
43
  const entries = yield* git.worktree.list(repository);
44
- return yield* Effect.forEach(entries, (entry) => canonical3(fs, entry.directory).pipe(Effect.map((directory) => ({ directory, type: entry.kind === "main" ? "root" : "worktree" })), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined))).pipe(Effect.map((items) => items.filter((item) => item !== undefined)));
44
+ return yield* Effect.forEach(entries, (entry) => canonical2(fs, entry.directory).pipe(Effect.map((directory) => ({ directory, type: entry.kind === "main" ? "root" : "worktree" })), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined))).pipe(Effect.map((items) => items.filter((item) => item !== undefined)));
45
45
  })
46
46
  };
47
47
  });
48
48
 
49
- export { make20, exports_git2 };
49
+ export { make18, exports_git2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./ripgrep-g14zqp48.js";
4
+ } from "./form-rk93ytwn.js";
5
5
  import {
6
- ID15
7
- } from "./ripgrep-9d8v8ke2.js";
6
+ ID8
7
+ } from "./form-d45djpte.js";
8
8
 
9
9
  // src/plugin/provider/openrouter.ts
10
10
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  evt.provider.update(item.provider.id, (provider) => {
22
22
  provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
23
23
  });
24
- for (const modelID of [ID15.make("gpt-5-chat-latest"), ID15.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID8.make("gpt-5-chat-latest"), ID8.make("openai/gpt-5-chat")]) {
25
25
  if (!item.models.has(modelID))
26
26
  continue;
27
27
  evt.model.update(item.provider.id, modelID, (model) => {
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./ripgrep-gftt206x.js";
3
+ } from "./form-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./ripgrep-9rqn6x4v.js";
6
+ } from "./form-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
10
10
  __export(exports_message_updater, {
11
11
  SessionMessageUpdater: () => exports_message_updater,
12
- update: () => update2
12
+ update: () => update3
13
13
  });
14
14
  import { castDraft, produce } from "immer";
15
15
  import { DateTime, Effect, Match, pipe, Schema } from "effect";
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
21
21
  files: event.data.files ? Array.from(event.data.files) : undefined
22
22
  };
23
23
  };
24
- function update2(adapter, event) {
24
+ function update3(adapter, event) {
25
25
  const created = DateTime.makeUnsafe(event.created);
26
26
  const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
27
27
  const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
@@ -400,4 +400,4 @@ function update2(adapter, event) {
400
400
  return project(event);
401
401
  }
402
402
 
403
- export { update2, exports_message_updater };
403
+ export { update3, exports_message_updater };
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service76
3
- } from "./ripgrep-m2gt5keg.js";
3
+ } from "./form-t82d6hjp.js";
4
4
  import {
5
- Service61
6
- } from "./ripgrep-j4xaawr1.js";
5
+ Service60
6
+ } from "./form-426fp41w.js";
7
7
  import {
8
8
  Service13,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./ripgrep-t0azw9td.js";
11
+ } from "./form-263s9v33.js";
12
12
  import {
13
- Service16
14
- } from "./ripgrep-gfn6vx63.js";
13
+ Service53
14
+ } from "./form-fdtqxjqf.js";
15
15
  import {
16
- Service66
17
- } from "./ripgrep-nxnrmdqj.js";
16
+ Service71
17
+ } from "./form-sw3tg7qr.js";
18
18
  import {
19
- Service65,
19
+ Service50,
20
20
  resolvePath2
21
- } from "./ripgrep-pwks8f9a.js";
21
+ } from "./form-034vs93c.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./ripgrep-6prwharc.js";
24
+ } from "./form-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./ripgrep-9rqn6x4v.js";
27
+ } from "./form-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: () => Input8,
34
- Output: () => Output6,
35
- Plugin: () => Plugin27,
36
- name: () => name8
33
+ Input: () => Input2,
34
+ Output: () => Output2,
35
+ Plugin: () => Plugin20,
36
+ name: () => name2
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 name8 = "edit";
43
- var Input8 = Schema.Struct({
42
+ var name2 = "edit";
43
+ var Input2 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input8 = 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 Output6 = Schema.Struct({
53
+ var Output2 = 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 Plugin27 = {
106
+ var Plugin20 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service65;
109
+ const access = yield* Service50;
110
110
  const fileMutation = yield* Service13;
111
- const environment = yield* Service61;
112
- const formatter = yield* Service16;
111
+ const environment = yield* Service60;
112
+ const formatter = yield* Service53;
113
113
  const location = yield* Service76;
114
- const permission = yield* Service66;
114
+ const permission = yield* Service71;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name8,
116
+ name: name2,
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: Input8,
120
- output: Output6,
119
+ input: Input2,
120
+ output: Output2,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin27 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name8, Input8, Output6, Plugin27, exports_edit };
197
+ export { name2, Input2, Output2, Plugin20, exports_edit };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./ripgrep-eynhbbrp.js";
3
+ } from "./form-nw13281a.js";
4
4
  import {
5
5
  OAuth3,
6
- Service75
7
- } from "./ripgrep-8pcnta4s.js";
6
+ Service65
7
+ } from "./form-8dx337tp.js";
8
8
  import {
9
- ID7,
9
+ ID4,
10
10
  MethodID2
11
- } from "./ripgrep-d5akq3tm.js";
11
+ } from "./form-ymgtrn6d.js";
12
12
  import {
13
- ID16
14
- } from "./ripgrep-g14zqp48.js";
13
+ ID10
14
+ } from "./form-rk93ytwn.js";
15
15
 
16
16
  // src/plugin/provider/xai.ts
17
17
  import { define } from "@opencode/plugin/effect/plugin";
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
23
23
  var pollingSafetyMargin = 3000;
24
24
  var browserMethodID = MethodID2.make("browser");
25
25
  var deviceMethodID = MethodID2.make("device");
26
- var providerID = ID16.make("xai");
26
+ var providerID = ID10.make("xai");
27
27
  var Token = Schema.Struct({
28
28
  access_token: Schema.String,
29
29
  refresh_token: Schema.optional(Schema.String),
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
43
43
  });
44
44
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
45
45
  var device = (app) => ({
46
- integrationID: ID7.make("xai"),
46
+ integrationID: ID4.make("xai"),
47
47
  method: {
48
48
  id: deviceMethodID,
49
49
  type: "oauth",
@@ -68,8 +68,8 @@ var device = (app) => ({
68
68
  var XAIPlugin2 = define({
69
69
  id: "opencode.provider.xai",
70
70
  effect: Effect.fn(function* (ctx) {
71
- const credentials = yield* Service75;
72
- yield* Effect.forEach(yield* credentials.list(ID7.make("xai")), (credential) => {
71
+ const credentials = yield* Service65;
72
+ yield* Effect.forEach(yield* credentials.list(ID4.make("xai")), (credential) => {
73
73
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
74
74
  return Effect.void;
75
75
  return credentials.update(credential.id, {