@opencode/core 0.0.0-dev-20022 → 0.0.0-dev-20024

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 (797) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{pty-sx1n432n.js → location-mutation-00z3vp5f.js} +4 -4
  8. package/dist/chunks/{pty-eaj1djv9.js → location-mutation-02nrjc1r.js} +4 -4
  9. package/dist/chunks/{pty-0hhen1xp.js → location-mutation-05j4n1ws.js} +18 -18
  10. package/dist/chunks/{pty-zqpv39rv.js → location-mutation-07ha980f.js} +9 -9
  11. package/dist/chunks/{pty-c5k9fkg4.js → location-mutation-0e212dhy.js} +3 -3
  12. package/dist/chunks/{pty-xrav937z.js → location-mutation-0hmy5ypz.js} +11 -11
  13. package/dist/chunks/{pty-0paq2nw3.js → location-mutation-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{pty-0msbkmgc.js → location-mutation-0rcbddbz.js} +5 -5
  15. package/dist/chunks/{pty-pzegqnfy.js → location-mutation-0yd4bm3n.js} +8 -8
  16. package/dist/chunks/{pty-tt8fbnq7.js → location-mutation-11aw4bp1.js} +29 -29
  17. package/dist/chunks/{pty-8d0p2m37.js → location-mutation-147kkz38.js} +6 -6
  18. package/dist/chunks/{pty-qbm6e03e.js → location-mutation-18fjsgbr.js} +16 -16
  19. package/dist/chunks/{pty-1acjjqhc.js → location-mutation-1acjjqhc.js} +1 -1
  20. package/dist/chunks/{pty-00nz894e.js → location-mutation-1d112cb4.js} +9 -9
  21. package/dist/chunks/{pty-1dazxqgg.js → location-mutation-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{pty-dsc9f08d.js → location-mutation-1dcx1n9a.js} +35 -35
  23. package/dist/chunks/{pty-0m0tvs7x.js → location-mutation-1rmaqtrx.js} +4 -4
  24. package/dist/chunks/{pty-y1332vc0.js → location-mutation-1xykv8xw.js} +8 -8
  25. package/dist/chunks/{pty-1ygqh575.js → location-mutation-1ygqh575.js} +2 -2
  26. package/dist/chunks/{pty-21r38tys.js → location-mutation-21r38tys.js} +1 -1
  27. package/dist/chunks/{pty-8kyrbpf3.js → location-mutation-287swpq4.js} +44 -44
  28. package/dist/chunks/{pty-2a5m3afh.js → location-mutation-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{pty-rph3zd4r.js → location-mutation-2d57kztd.js} +4 -4
  30. package/dist/chunks/{pty-0xxz59sm.js → location-mutation-2gp9g042.js} +17 -17
  31. package/dist/chunks/{pty-5rz2hsq0.js → location-mutation-2h7nr2dq.js} +7 -7
  32. package/dist/chunks/{pty-sdcgvf1x.js → location-mutation-2n6xcrtw.js} +11 -11
  33. package/dist/chunks/{pty-7w270t0f.js → location-mutation-2y3whdx8.js} +171 -171
  34. package/dist/chunks/{pty-bga77shd.js → location-mutation-2znrjh5s.js} +31 -31
  35. package/dist/chunks/{pty-dj9sq318.js → location-mutation-37s12vcn.js} +5 -5
  36. package/dist/chunks/{pty-2tfmgkzg.js → location-mutation-3c4e3q8d.js} +4 -4
  37. package/dist/chunks/{pty-0073hawd.js → location-mutation-3cawfvg9.js} +13 -13
  38. package/dist/chunks/{pty-2saetqtj.js → location-mutation-3emyecbb.js} +85 -85
  39. package/dist/chunks/{pty-3fc6dm20.js → location-mutation-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{pty-3hepkmqq.js → location-mutation-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{pty-wtzj1gsr.js → location-mutation-3k04zyzs.js} +9 -9
  42. package/dist/chunks/{pty-q581keqr.js → location-mutation-3m46hkaz.js} +2 -2
  43. package/dist/chunks/{pty-92nyndd7.js → location-mutation-3mmzvcvq.js} +22 -22
  44. package/dist/chunks/{pty-3smtnn6g.js → location-mutation-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{pty-3tvqynh2.js → location-mutation-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{pty-3zsf4n22.js → location-mutation-3zsf4n22.js} +1 -1
  47. package/dist/chunks/{pty-s6j1pmrh.js → location-mutation-415g09m0.js} +8 -8
  48. package/dist/chunks/{pty-12zx0m1n.js → location-mutation-41rytcpr.js} +8 -8
  49. package/dist/chunks/{pty-fxrkpyt4.js → location-mutation-43q23gcr.js} +6 -6
  50. package/dist/chunks/{pty-dg5bcj4q.js → location-mutation-4541pte3.js} +6 -6
  51. package/dist/chunks/{pty-s5aaq3x4.js → location-mutation-4a6h4wrp.js} +29 -29
  52. package/dist/chunks/{pty-97evzm9t.js → location-mutation-4j809b3d.js} +13 -13
  53. package/dist/chunks/{pty-7ktegkxn.js → location-mutation-4key4fq7.js} +4 -4
  54. package/dist/chunks/{pty-57ez7d0k.js → location-mutation-57ez7d0k.js} +2 -2
  55. package/dist/chunks/{pty-5c4hm403.js → location-mutation-5c4hm403.js} +3 -3
  56. package/dist/chunks/{pty-5daktx2q.js → location-mutation-5daktx2q.js} +1 -1
  57. package/dist/chunks/{pty-5ekn9679.js → location-mutation-5ekn9679.js} +1 -1
  58. package/dist/chunks/{pty-0yew5m2c.js → location-mutation-5jx0ywhf.js} +12 -12
  59. package/dist/chunks/{pty-1p7f10vm.js → location-mutation-5ntswbj3.js} +8 -8
  60. package/dist/chunks/{pty-1wvf8tm7.js → location-mutation-5qgdv5h0.js} +35 -35
  61. package/dist/chunks/{pty-5t3nmthw.js → location-mutation-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{pty-axaeyqk5.js → location-mutation-5vdq9pgq.js} +25 -25
  63. package/dist/chunks/{pty-8yen0vmk.js → location-mutation-63x4799j.js} +13 -13
  64. package/dist/chunks/{pty-0jqtpwb9.js → location-mutation-65jmxcge.js} +17 -17
  65. package/dist/chunks/{pty-669tq793.js → location-mutation-669tq793.js} +1 -1
  66. package/dist/chunks/{pty-2egezm5d.js → location-mutation-6a753ss8.js} +48 -48
  67. package/dist/chunks/{pty-2402vzrj.js → location-mutation-6h73sxmp.js} +5 -5
  68. package/dist/chunks/{pty-f8neaav3.js → location-mutation-6jm6bgjn.js} +15 -15
  69. package/dist/chunks/{pty-g083pv08.js → location-mutation-6m9azzzz.js} +36 -36
  70. package/dist/chunks/{pty-6msgmcgs.js → location-mutation-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{pty-gq06jwkj.js → location-mutation-6v9me7yx.js} +24 -24
  72. package/dist/chunks/{pty-phas83vg.js → location-mutation-6zprjfx5.js} +31 -31
  73. package/dist/chunks/{pty-73tb2d7t.js → location-mutation-73tb2d7t.js} +1 -1
  74. package/dist/chunks/{pty-se4kmwxk.js → location-mutation-760hvg9h.js} +3 -3
  75. package/dist/chunks/{pty-7bmhse3q.js → location-mutation-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{pty-zt18mrv4.js → location-mutation-7e2ke00k.js} +23 -23
  77. package/dist/chunks/{pty-04921szq.js → location-mutation-7errh0f2.js} +15 -15
  78. package/dist/chunks/{pty-h2r7bbkd.js → location-mutation-818pfwc9.js} +8 -8
  79. package/dist/chunks/{pty-awmg9ays.js → location-mutation-83dgf92e.js} +9 -9
  80. package/dist/chunks/{pty-7q0vyatq.js → location-mutation-86czshtb.js} +4 -4
  81. package/dist/chunks/{pty-tcezcvh9.js → location-mutation-89znhe33.js} +4 -4
  82. package/dist/chunks/{pty-zrq8kphx.js → location-mutation-8ank75fn.js} +8 -8
  83. package/dist/chunks/{pty-8d7r5vzw.js → location-mutation-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{pty-egeb53tp.js → location-mutation-8f5p4pwe.js} +34 -34
  85. package/dist/chunks/{pty-cde1zna5.js → location-mutation-8fh4dspn.js} +24 -24
  86. package/dist/chunks/{pty-3jkw6mfp.js → location-mutation-8ga603cp.js} +10 -10
  87. package/dist/chunks/{pty-7aycs900.js → location-mutation-8pt1jyw7.js} +17 -17
  88. package/dist/chunks/{pty-ehr488c1.js → location-mutation-8r1zxxnv.js} +9 -9
  89. package/dist/chunks/{pty-zb34m256.js → location-mutation-8sd99ncp.js} +3 -3
  90. package/dist/chunks/{pty-xv60kj6n.js → location-mutation-8sfmeb4x.js} +5 -5
  91. package/dist/chunks/{pty-8wd5j64y.js → location-mutation-8w4b0w14.js} +14 -14
  92. package/dist/chunks/{pty-snpaajsm.js → location-mutation-965jek49.js} +7 -7
  93. package/dist/chunks/{pty-2v48e9j0.js → location-mutation-9m8se1t0.js} +13 -13
  94. package/dist/chunks/{pty-ktt0ngdq.js → location-mutation-9pajzaat.js} +13 -13
  95. package/dist/chunks/{pty-tnen7gxg.js → location-mutation-9pp8k1fj.js} +14 -14
  96. package/dist/chunks/{pty-3rp2m6fs.js → location-mutation-9tc9jvay.js} +83 -83
  97. package/dist/chunks/{pty-netwxqmf.js → location-mutation-9v8wx44b.js} +8 -8
  98. package/dist/chunks/{pty-ss96nb5e.js → location-mutation-a1r0sk56.js} +6 -6
  99. package/dist/chunks/{pty-fts96dv9.js → location-mutation-a3kw06th.js} +25 -25
  100. package/dist/chunks/{pty-awc8k5we.js → location-mutation-a8v3d86t.js} +11 -11
  101. package/dist/chunks/{pty-aaet6srn.js → location-mutation-aaet6srn.js} +2 -2
  102. package/dist/chunks/{pty-659e5h2p.js → location-mutation-ar5042nv.js} +20 -20
  103. package/dist/chunks/{pty-1m7ag7te.js → location-mutation-asscy6pk.js} +29 -29
  104. package/dist/chunks/{pty-xfbfr6ja.js → location-mutation-avzvtmgr.js} +30 -30
  105. package/dist/chunks/{pty-zdyh66ht.js → location-mutation-b5mcfzkp.js} +5 -5
  106. package/dist/chunks/{pty-b6gygkdw.js → location-mutation-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{pty-rbwjahas.js → location-mutation-b7btgvj5.js} +4 -4
  108. package/dist/chunks/{pty-6qp9w1vx.js → location-mutation-b97j21th.js} +16 -16
  109. package/dist/chunks/{pty-92azg307.js → location-mutation-bgs9y14h.js} +5 -5
  110. package/dist/chunks/{pty-smza16da.js → location-mutation-bj3p2s8f.js} +35 -35
  111. package/dist/chunks/{pty-9pbg9mfa.js → location-mutation-bt0ey53w.js} +9 -9
  112. package/dist/chunks/{pty-8f3q2yke.js → location-mutation-c1df4dj7.js} +22 -22
  113. package/dist/chunks/{pty-m7477pm4.js → location-mutation-c2h7be1y.js} +9 -9
  114. package/dist/chunks/{pty-2sejkfem.js → location-mutation-c765mh8b.js} +9 -9
  115. package/dist/chunks/{pty-qb7rnsyw.js → location-mutation-c9kahmjr.js} +18 -18
  116. package/dist/chunks/{pty-wvtedn3t.js → location-mutation-cm78evcp.js} +4 -4
  117. package/dist/chunks/{pty-59xa7gwf.js → location-mutation-cn3vn15h.js} +19 -19
  118. package/dist/chunks/{pty-5mtzsd3b.js → location-mutation-cpj0znwe.js} +4 -4
  119. package/dist/chunks/{pty-rnxv7mtd.js → location-mutation-cpmmh3r9.js} +9 -9
  120. package/dist/chunks/{pty-xfdcv1z1.js → location-mutation-crtwvk10.js} +11 -11
  121. package/dist/chunks/{pty-54h147px.js → location-mutation-cxds2wxd.js} +18 -18
  122. package/dist/chunks/{pty-d5jh8j72.js → location-mutation-d4yhjfbe.js} +29 -29
  123. package/dist/chunks/{pty-f73rjn58.js → location-mutation-ddt2bs9e.js} +4 -4
  124. package/dist/chunks/{pty-dj2t23y0.js → location-mutation-dj2t23y0.js} +2 -2
  125. package/dist/chunks/{pty-y71avatq.js → location-mutation-dpkg50ah.js} +4 -4
  126. package/dist/chunks/{pty-jy93wyqx.js → location-mutation-drrkymsn.js} +16 -16
  127. package/dist/chunks/{pty-qn4ba14w.js → location-mutation-e6hmchc5.js} +5 -5
  128. package/dist/chunks/{pty-v4jw97dc.js → location-mutation-ec87kc5z.js} +4 -4
  129. package/dist/chunks/{pty-ef5x83kb.js → location-mutation-ef5x83kb.js} +1 -1
  130. package/dist/chunks/location-mutation-emdvc7y7.js +503 -0
  131. package/dist/chunks/{pty-3pj6bshw.js → location-mutation-enrvee4b.js} +16 -16
  132. package/dist/chunks/{pty-xw5r7cj0.js → location-mutation-eqxdc8mp.js} +2 -2
  133. package/dist/chunks/{pty-erw5rpbs.js → location-mutation-erw5rpbs.js} +2 -2
  134. package/dist/chunks/{pty-rm94z0n9.js → location-mutation-etdfdz9n.js} +15 -15
  135. package/dist/chunks/{pty-etq0c3wd.js → location-mutation-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{pty-346pdbfk.js → location-mutation-eztkbwah.js} +13 -13
  137. package/dist/chunks/{pty-86yg7tfg.js → location-mutation-f0h3qbzs.js} +5 -5
  138. package/dist/chunks/{pty-4g643n2g.js → location-mutation-f9pjpvtx.js} +57 -57
  139. package/dist/chunks/{pty-6sq4hjqm.js → location-mutation-fn652s59.js} +11 -11
  140. package/dist/chunks/{pty-3aakhrf3.js → location-mutation-frptvanx.js} +21 -21
  141. package/dist/chunks/{pty-9cxpqc5g.js → location-mutation-fxt475k0.js} +16 -16
  142. package/dist/chunks/{pty-yentpcn4.js → location-mutation-fy2r6802.js} +12 -12
  143. package/dist/chunks/{pty-2mn4zdxt.js → location-mutation-fzw6kvvp.js} +16 -16
  144. package/dist/chunks/{pty-jw80jp6b.js → location-mutation-g190xswt.js} +4 -4
  145. package/dist/chunks/{pty-yx5pzx7y.js → location-mutation-g2z23txw.js} +30 -30
  146. package/dist/chunks/location-mutation-gbadjzag.js +4 -0
  147. package/dist/chunks/{pty-gd4qta3r.js → location-mutation-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{pty-g1eer3dm.js → location-mutation-gdpzykdj.js} +8 -8
  149. package/dist/chunks/{pty-ksjahays.js → location-mutation-gh02xaqr.js} +31 -31
  150. package/dist/chunks/{pty-97fmyryk.js → location-mutation-gmjjhz4f.js} +3 -3
  151. package/dist/chunks/{pty-xz01qsb9.js → location-mutation-gseev5jd.js} +6 -6
  152. package/dist/chunks/{pty-gv6a8nnw.js → location-mutation-gv6a8nnw.js} +2 -2
  153. package/dist/chunks/{pty-zj32sk49.js → location-mutation-gw3jpy4y.js} +16 -16
  154. package/dist/chunks/{pty-00832hy7.js → location-mutation-h04cqsq0.js} +8 -8
  155. package/dist/chunks/{pty-t8qq9kf4.js → location-mutation-h69yr78q.js} +16 -16
  156. package/dist/chunks/{pty-t2hpc9xa.js → location-mutation-h6syajn5.js} +3 -3
  157. package/dist/chunks/{pty-h6vf3j39.js → location-mutation-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{pty-hdnk95c8.js → location-mutation-hdnk95c8.js} +2 -2
  159. package/dist/chunks/{pty-kajhh18t.js → location-mutation-he6wdzpy.js} +9 -9
  160. package/dist/chunks/{pty-drcaqnnk.js → location-mutation-hgyg00rt.js} +25 -25
  161. package/dist/chunks/{pty-qhkmyjn7.js → location-mutation-hnz1vd55.js} +7 -7
  162. package/dist/chunks/{pty-h57fftbf.js → location-mutation-hptm3x45.js} +48 -48
  163. package/dist/chunks/{pty-ve2cr55v.js → location-mutation-hsq7tvrb.js} +17 -17
  164. package/dist/chunks/{pty-jjhzpb55.js → location-mutation-j4g6bjqf.js} +6 -6
  165. package/dist/chunks/{pty-j56e64zr.js → location-mutation-j56e64zr.js} +1 -1
  166. package/dist/chunks/{pty-ct8v1tk1.js → location-mutation-j7sdw5nk.js} +5 -5
  167. package/dist/chunks/{pty-0zqn79kw.js → location-mutation-j8rzd9ap.js} +12 -12
  168. package/dist/chunks/{pty-fsvv4bbc.js → location-mutation-ja93bcmn.js} +5 -5
  169. package/dist/chunks/{pty-9kmbd9mt.js → location-mutation-jca4demv.js} +2 -2
  170. package/dist/chunks/{pty-ryyzgwk8.js → location-mutation-jkkh0dgx.js} +8 -8
  171. package/dist/chunks/{pty-ke2qywb5.js → location-mutation-jp1d2c53.js} +8 -8
  172. package/dist/chunks/{pty-0gnd4t8k.js → location-mutation-jqcqaqk1.js} +4 -4
  173. package/dist/chunks/{pty-mzrm7ehw.js → location-mutation-jqe8c22f.js} +43 -43
  174. package/dist/chunks/{pty-aqy70tp0.js → location-mutation-jt89ckk3.js} +9 -9
  175. package/dist/chunks/{pty-ba5vgn6q.js → location-mutation-jvr0a44c.js} +7 -7
  176. package/dist/chunks/{pty-rvxas66n.js → location-mutation-jvw73btf.js} +11 -11
  177. package/dist/chunks/{pty-3vj84w1g.js → location-mutation-jw9sfpm0.js} +3 -3
  178. package/dist/chunks/{pty-f99sh2kf.js → location-mutation-jxc4myrx.js} +44 -44
  179. package/dist/chunks/{pty-bvdvfsqm.js → location-mutation-k6y504h4.js} +24 -24
  180. package/dist/chunks/{pty-dg2cj1yd.js → location-mutation-k9d40v1y.js} +4 -4
  181. package/dist/chunks/{pty-3y23f4vy.js → location-mutation-kansrtmv.js} +21 -21
  182. package/dist/chunks/{pty-epch955d.js → location-mutation-kp86r9b3.js} +32 -32
  183. package/dist/chunks/{pty-st7m3259.js → location-mutation-krrzbazv.js} +6 -6
  184. package/dist/chunks/{pty-b8smpw7b.js → location-mutation-krscvss0.js} +8 -8
  185. package/dist/chunks/{pty-wzj8vn37.js → location-mutation-ks0b5fhh.js} +8 -8
  186. package/dist/chunks/{pty-98g0w5b8.js → location-mutation-kwyenn5c.js} +23 -23
  187. package/dist/chunks/{pty-m0jqrx5p.js → location-mutation-m0jqrx5p.js} +2 -2
  188. package/dist/chunks/{pty-m3fdjcah.js → location-mutation-m3fdjcah.js} +1 -1
  189. package/dist/chunks/{pty-n5rcb3g0.js → location-mutation-m8ar47ek.js} +16 -16
  190. package/dist/chunks/{pty-m9w0rfyh.js → location-mutation-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{pty-44ke2mar.js → location-mutation-mmr7bq34.js} +8 -8
  192. package/dist/chunks/{pty-q2ezvbr5.js → location-mutation-mp1fmwr2.js} +5 -5
  193. package/dist/chunks/{pty-j8dv7h16.js → location-mutation-mwvyrfwc.js} +29 -29
  194. package/dist/chunks/{pty-05v741zn.js → location-mutation-mzeaa52x.js} +21 -21
  195. package/dist/chunks/{pty-s321g855.js → location-mutation-n03y2nvv.js} +25 -25
  196. package/dist/chunks/{pty-jx22f0nz.js → location-mutation-n0tvqc4h.js} +9 -9
  197. package/dist/chunks/{pty-zet2pf0s.js → location-mutation-nkf7ea5p.js} +47 -47
  198. package/dist/chunks/{pty-2980bn8j.js → location-mutation-nswc3ws5.js} +8 -8
  199. package/dist/chunks/{pty-k3c624dm.js → location-mutation-nzks3jc8.js} +3 -3
  200. package/dist/chunks/{pty-dq0v80fr.js → location-mutation-p1zpfjkz.js} +5 -5
  201. package/dist/chunks/location-mutation-p7p1ybb8.js +26 -0
  202. package/dist/chunks/{pty-954536qd.js → location-mutation-pa6qpeew.js} +10 -10
  203. package/dist/chunks/{pty-pa8pe2x7.js → location-mutation-pa8pe2x7.js} +1 -1
  204. package/dist/chunks/{pty-pjvnvgmy.js → location-mutation-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{pty-pknna89w.js → location-mutation-pknna89w.js} +1 -1
  206. package/dist/chunks/{pty-nq7qbqzc.js → location-mutation-pnv527nz.js} +9 -9
  207. package/dist/chunks/{pty-hcexmw40.js → location-mutation-pw9v3g6d.js} +5 -5
  208. package/dist/chunks/{pty-621g1y7c.js → location-mutation-pxq2x33y.js} +24 -24
  209. package/dist/chunks/{pty-mf9m2v67.js → location-mutation-q3t37ft6.js} +3 -3
  210. package/dist/chunks/{pty-58qkwrp9.js → location-mutation-q7tj62n7.js} +28 -28
  211. package/dist/chunks/{pty-gdbk8ja4.js → location-mutation-qaa2yvb1.js} +23 -23
  212. package/dist/chunks/{pty-mf44wyvt.js → location-mutation-qdbakdjh.js} +5 -5
  213. package/dist/chunks/{pty-2k8khapm.js → location-mutation-qgn6gcr1.js} +5 -5
  214. package/dist/chunks/{pty-ver4gz2z.js → location-mutation-qhq4a865.js} +9 -9
  215. package/dist/chunks/{pty-53p5tbhc.js → location-mutation-qhq71jc6.js} +32 -32
  216. package/dist/chunks/{pty-xfkkasph.js → location-mutation-qqeeq2t9.js} +7 -7
  217. package/dist/chunks/{pty-qsdy395h.js → location-mutation-qsdy395h.js} +1 -1
  218. package/dist/chunks/{pty-yv88yh0p.js → location-mutation-qt5asz00.js} +17 -17
  219. package/dist/chunks/{pty-8hcybcw4.js → location-mutation-qw39grzm.js} +4 -4
  220. package/dist/chunks/{pty-tza9tqr6.js → location-mutation-qxt041pa.js} +23 -23
  221. package/dist/chunks/{pty-d2vrte26.js → location-mutation-r23z5d8f.js} +4 -4
  222. package/dist/chunks/{pty-3jj8eh0k.js → location-mutation-r339gb8t.js} +5 -5
  223. package/dist/chunks/{pty-rkdax40c.js → location-mutation-r46pqq1s.js} +5 -5
  224. package/dist/chunks/{pty-27273vr0.js → location-mutation-r9vycjg2.js} +9 -9
  225. package/dist/chunks/{pty-mj9w7m3d.js → location-mutation-rc523c8n.js} +33 -33
  226. package/dist/chunks/{pty-rdw6cm16.js → location-mutation-rdw6cm16.js} +1 -1
  227. package/dist/chunks/{pty-gas3a14q.js → location-mutation-rjxwg6my.js} +26 -26
  228. package/dist/chunks/{pty-jwna9w0v.js → location-mutation-rkfnr0xp.js} +1 -1
  229. package/dist/chunks/{pty-mynkytfk.js → location-mutation-rqt3ht1f.js} +3 -3
  230. package/dist/chunks/{pty-46akpagb.js → location-mutation-rvsn1kwz.js} +27 -27
  231. package/dist/chunks/{pty-p4yd6ave.js → location-mutation-ryr2m08g.js} +4 -4
  232. package/dist/chunks/{pty-0f9afca0.js → location-mutation-s8zy8myc.js} +5 -5
  233. package/dist/chunks/{pty-3qkhrecg.js → location-mutation-s9s562vb.js} +17 -17
  234. package/dist/chunks/{pty-09c9b37t.js → location-mutation-sa96sbyt.js} +14 -14
  235. package/dist/chunks/{pty-2ge9317b.js → location-mutation-say5sfs8.js} +17 -17
  236. package/dist/chunks/{pty-37wxtrb2.js → location-mutation-sd4hb3jk.js} +47 -47
  237. package/dist/chunks/{pty-0xw899c0.js → location-mutation-sgtdr5xd.js} +5 -5
  238. package/dist/chunks/{pty-y1qgwz29.js → location-mutation-sj6hyns7.js} +34 -34
  239. package/dist/chunks/{pty-k53npxr2.js → location-mutation-sqy4ahhk.js} +1 -1
  240. package/dist/chunks/{pty-r9b74k7g.js → location-mutation-t1w7zdgx.js} +15 -15
  241. package/dist/chunks/{pty-2azrqq3g.js → location-mutation-t3zkw3za.js} +15 -15
  242. package/dist/chunks/{pty-3hwnxrrs.js → location-mutation-t7ph3h46.js} +11 -11
  243. package/dist/chunks/{pty-tazgh4e4.js → location-mutation-tazgh4e4.js} +1 -1
  244. package/dist/chunks/{pty-tdstcens.js → location-mutation-tdstcens.js} +1 -1
  245. package/dist/chunks/{pty-qa3qhgw8.js → location-mutation-tkmwgdpd.js} +7 -7
  246. package/dist/chunks/{pty-tvtrv512.js → location-mutation-tvtrv512.js} +1 -1
  247. package/dist/chunks/{pty-277eer69.js → location-mutation-vbfgae2j.js} +4 -4
  248. package/dist/chunks/{pty-veqvce7d.js → location-mutation-veqvce7d.js} +1 -1
  249. package/dist/chunks/{pty-6ncdq8ek.js → location-mutation-ver2men6.js} +8 -8
  250. package/dist/chunks/location-mutation-vnkjks7b.js +18 -0
  251. package/dist/chunks/{pty-epbjbybc.js → location-mutation-vry9y5h5.js} +19 -19
  252. package/dist/chunks/{pty-vtxr0yy2.js → location-mutation-vtxr0yy2.js} +2 -2
  253. package/dist/chunks/{pty-vzcthcp8.js → location-mutation-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{pty-w3wsvvr9.js → location-mutation-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{pty-n3pf2vtm.js → location-mutation-w8qbsc09.js} +8 -8
  256. package/dist/chunks/{pty-wd87259q.js → location-mutation-wd87259q.js} +1 -1
  257. package/dist/chunks/{pty-xwcccng5.js → location-mutation-wgt0n93c.js} +35 -35
  258. package/dist/chunks/{pty-1xqbjk83.js → location-mutation-wz9pjx5y.js} +24 -24
  259. package/dist/chunks/{pty-x1ezjp6w.js → location-mutation-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/location-mutation-xgef326k.js +252 -0
  261. package/dist/chunks/{pty-csk9s71t.js → location-mutation-xpk8r8b8.js} +18 -18
  262. package/dist/chunks/{pty-bd54m8y3.js → location-mutation-xpnq3dj5.js} +28 -28
  263. package/dist/chunks/{pty-x79swths.js → location-mutation-xsytrpqt.js} +6 -6
  264. package/dist/chunks/{pty-1813d5zh.js → location-mutation-xv8bhmcn.js} +10 -10
  265. package/dist/chunks/{pty-r504yxa7.js → location-mutation-xx9kgtw1.js} +24 -24
  266. package/dist/chunks/{pty-8fgcpw95.js → location-mutation-xyqjfxv0.js} +14 -14
  267. package/dist/chunks/{pty-ph20cxtq.js → location-mutation-y16p1w2y.js} +8 -8
  268. package/dist/chunks/{pty-y1fvbwt7.js → location-mutation-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{pty-0996nyz8.js → location-mutation-y56ehv6b.js} +9 -9
  270. package/dist/chunks/{pty-eg2tb1rm.js → location-mutation-y9vcbm1p.js} +11 -11
  271. package/dist/chunks/{pty-6d6xcght.js → location-mutation-ydgy0jv4.js} +6 -6
  272. package/dist/chunks/{pty-ksqmtdz9.js → location-mutation-ye6tmwz4.js} +9 -9
  273. package/dist/chunks/{pty-68rggvtd.js → location-mutation-yefjccnd.js} +27 -27
  274. package/dist/chunks/{pty-2sn7f2k5.js → location-mutation-yf8gt2v7.js} +18 -18
  275. package/dist/chunks/{pty-wd3qynhg.js → location-mutation-ygx1qhaf.js} +1 -1
  276. package/dist/chunks/{pty-fe8rbqv5.js → location-mutation-ypxn8na5.js} +3 -3
  277. package/dist/chunks/{pty-yrhqyw5v.js → location-mutation-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{pty-yrznvahk.js → location-mutation-yrznvahk.js} +2 -2
  279. package/dist/chunks/{pty-3aycrrq3.js → location-mutation-z06cc0jq.js} +37 -24
  280. package/dist/chunks/{pty-z0bkrqjs.js → location-mutation-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{pty-szq8ceg0.js → location-mutation-z58mz0mp.js} +25 -25
  282. package/dist/chunks/{pty-z63w68vq.js → location-mutation-z63w68vq.js} +2 -2
  283. package/dist/chunks/{pty-phtqmmnp.js → location-mutation-zbb1t9ts.js} +8 -8
  284. package/dist/chunks/{pty-9gea571p.js → location-mutation-zcqf6png.js} +6 -6
  285. package/dist/chunks/{pty-zeh9ct20.js → location-mutation-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{pty-w7tz9xnv.js → location-mutation-zja6ntk0.js} +9 -9
  287. package/dist/chunks/{pty-x7qrp6ew.js → location-mutation-zkfs0tv5.js} +26 -26
  288. package/dist/chunks/{pty-d9bxkxqe.js → location-mutation-zq3deerb.js} +39 -39
  289. package/dist/chunks/{pty-zr2ceqn5.js → location-mutation-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{pty-zxq2ej10.js → location-mutation-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +84 -84
  296. package/dist/config/discovery.js +83 -83
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +122 -122
  300. package/dist/config/plugin/command.js +211 -211
  301. package/dist/config/plugin/compaction.js +159 -159
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +122 -122
  308. package/dist/config/plugin/mcp.js +129 -129
  309. package/dist/config/plugin/policy.js +123 -123
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +124 -124
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +143 -143
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +119 -119
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +123 -123
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +125 -125
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +82 -82
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +69 -69
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +220 -220
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +13 -13
  429. package/dist/filesystem.js +107 -107
  430. package/dist/form.js +83 -83
  431. package/dist/formatter/builtins.js +2 -2
  432. package/dist/formatter.js +86 -86
  433. package/dist/generate.js +104 -104
  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 +98 -98
  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 +4 -4
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +360 -360
  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 +3 -3
  463. package/dist/integration.js +85 -85
  464. package/dist/job.js +76 -76
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +131 -131
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +357 -357
  472. package/dist/location.js +80 -80
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +90 -90
  475. package/dist/mcp/index.js +107 -107
  476. package/dist/mcp/instructions.js +127 -127
  477. package/dist/mcp/oauth.js +77 -77
  478. package/dist/mcp/stdio.js +89 -89
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +98 -98
  481. package/dist/model-resolver.js +97 -97
  482. package/dist/model.js +101 -101
  483. package/dist/models-dev.js +106 -106
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +81 -81
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +110 -110
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +87 -87
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +74 -74
  493. package/dist/plugin/agent.js +101 -101
  494. package/dist/plugin/command.js +98 -98
  495. package/dist/plugin/compaction.js +130 -130
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +217 -217
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +1 -1
  500. package/dist/plugin/internal.js +331 -331
  501. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  502. package/dist/plugin/models-dev.js +95 -95
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +101 -101
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  508. package/dist/plugin/provider/azure.js +121 -121
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +118 -118
  514. package/dist/plugin/provider/digitalocean.js +92 -92
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +92 -92
  519. package/dist/plugin/provider/gitlab.js +90 -90
  520. package/dist/plugin/provider/google-vertex.js +89 -89
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +76 -76
  523. package/dist/plugin/provider/lmstudio.js +121 -121
  524. package/dist/plugin/provider/modal.js +91 -91
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +121 -121
  527. package/dist/plugin/provider/openai.js +93 -93
  528. package/dist/plugin/provider/opencode.js +93 -93
  529. package/dist/plugin/provider/openrouter.js +90 -90
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +77 -77
  532. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  533. package/dist/plugin/provider/sap-ai-core.js +90 -90
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +89 -89
  538. package/dist/plugin/provider/vllm.js +121 -121
  539. package/dist/plugin/provider/xai.js +90 -90
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +159 -159
  542. package/dist/plugin/sdk.js +73 -73
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +138 -138
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +346 -346
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +85 -85
  550. package/dist/plugin/vcs/hg.js +85 -85
  551. package/dist/plugin/warming.js +120 -120
  552. package/dist/plugin/websearch/exa.js +5 -5
  553. package/dist/plugin/websearch/firecrawl.js +6 -6
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +2 -2
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +224 -224
  560. package/dist/project/schema.js +2 -2
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +79 -79
  563. package/dist/provider.js +100 -100
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/schema.js +3 -3
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +97 -97
  568. package/dist/reference/instructions.js +88 -88
  569. package/dist/reference.js +90 -90
  570. package/dist/repository-cache.js +80 -80
  571. package/dist/repository.js +3 -3
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +96 -96
  574. package/dist/rpc.js +85 -85
  575. package/dist/schema.js +1 -1
  576. package/dist/session/command.js +73 -73
  577. package/dist/session/compaction.js +131 -131
  578. package/dist/session/context.js +151 -151
  579. package/dist/session/diff.js +87 -87
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +3 -3
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +220 -220
  584. package/dist/session/execution.js +127 -127
  585. package/dist/session/generate.js +152 -152
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +85 -85
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +78 -78
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +96 -96
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +118 -118
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +129 -129
  597. package/dist/session/projector.js +85 -85
  598. package/dist/session/prompt.js +104 -104
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +89 -89
  601. package/dist/session/run-coordinator.js +1 -1
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +228 -228
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +97 -97
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +111 -111
  608. package/dist/session/runner/step.js +123 -123
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +171 -171
  612. package/dist/session/shell.js +137 -137
  613. package/dist/session/skill.js +102 -102
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +72 -72
  616. package/dist/session/store.js +86 -86
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +207 -207
  619. package/dist/session/system-prompt.js +5 -5
  620. package/dist/session/title.js +149 -149
  621. package/dist/session/to-session-error.js +110 -110
  622. package/dist/session/transfer.js +213 -213
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +217 -217
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +9 -9
  629. package/dist/shell.js +139 -139
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +104 -104
  632. package/dist/skill.js +111 -111
  633. package/dist/snapshot.js +90 -90
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +126 -126
  638. package/dist/tool/plugin/edit.js +119 -119
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +123 -123
  641. package/dist/tool/plugin/grep.js +123 -123
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +121 -121
  644. package/dist/tool/plugin/question.js +104 -104
  645. package/dist/tool/plugin/read.js +124 -124
  646. package/dist/tool/plugin/shell.js +216 -216
  647. package/dist/tool/plugin/skill.js +106 -106
  648. package/dist/tool/plugin/subagent.js +214 -214
  649. package/dist/tool/plugin/webfetch.js +103 -103
  650. package/dist/tool/plugin/websearch.js +113 -113
  651. package/dist/tool/plugin/write.js +121 -121
  652. package/dist/tool/read-filesystem.js +99 -99
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +16 -16
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +5 -5
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +5 -5
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/formatter.js +5 -5
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +3 -3
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +91 -91
  675. package/dist/v1/config/permission.js +3 -3
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +90 -90
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +88 -88
  685. package/dist/websearch.js +83 -83
  686. package/dist/wellknown/plugin.js +73 -73
  687. package/dist/wellknown.js +76 -76
  688. package/dist/workspace/driver.js +5 -5
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +79 -79
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +10 -10
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +88 -88
  695. package/dist/worktree.js +95 -95
  696. package/package.json +8 -8
  697. package/dist/chunks/pty-6kdq0pjd.js +0 -4
  698. package/dist/chunks/pty-739gz0q2.js +0 -252
  699. package/dist/chunks/pty-7fj5dwt0.js +0 -18
  700. package/dist/chunks/pty-s5qac7qv.js +0 -26
  701. package/dist/chunks/pty-t621a335.js +0 -503
  702. /package/dist/chunks/{pty-0qkdqm5v.js → location-mutation-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{pty-0zkw76rk.js → location-mutation-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{pty-17cy0kzp.js → location-mutation-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{pty-1cnp2v09.js → location-mutation-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{pty-1kg9ymc8.js → location-mutation-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{pty-24dcb14g.js → location-mutation-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{pty-2710q6r3.js → location-mutation-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{pty-2axfhc9x.js → location-mutation-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{pty-2c3vjs8z.js → location-mutation-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{pty-359p4xyc.js → location-mutation-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{pty-3asan66x.js → location-mutation-3asan66x.js} +0 -0
  713. /package/dist/chunks/{pty-3v8g72cx.js → location-mutation-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{pty-3w5fmr99.js → location-mutation-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{pty-3wcehsnq.js → location-mutation-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{pty-43n2bw4t.js → location-mutation-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{pty-4knz6hnm.js → location-mutation-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{pty-4vcrnpx2.js → location-mutation-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{pty-4y7fprxs.js → location-mutation-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{pty-53557ph1.js → location-mutation-53557ph1.js} +0 -0
  721. /package/dist/chunks/{pty-550bvhaj.js → location-mutation-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{pty-5qd3pb7m.js → location-mutation-5qd3pb7m.js} +0 -0
  723. /package/dist/chunks/{pty-6prwharc.js → location-mutation-6prwharc.js} +0 -0
  724. /package/dist/chunks/{pty-7akdwqpd.js → location-mutation-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{pty-7m9af43g.js → location-mutation-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{pty-822emrt2.js → location-mutation-822emrt2.js} +0 -0
  727. /package/dist/chunks/{pty-88xbtdfr.js → location-mutation-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{pty-8n3pysct.js → location-mutation-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{pty-922hggd3.js → location-mutation-922hggd3.js} +0 -0
  730. /package/dist/chunks/{pty-9a4afbnw.js → location-mutation-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{pty-9rqn6x4v.js → location-mutation-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{pty-a6k6eb26.js → location-mutation-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{pty-af5trqkr.js → location-mutation-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{pty-afrmfg78.js → location-mutation-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{pty-aqzs7mqg.js → location-mutation-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{pty-atq7p7m5.js → location-mutation-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{pty-bkyjaxrp.js → location-mutation-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{pty-bmr6ed5q.js → location-mutation-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{pty-cf4snx6d.js → location-mutation-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{pty-cvy3z8tj.js → location-mutation-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{pty-d9fn303g.js → location-mutation-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{pty-d9jj8t3e.js → location-mutation-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{pty-dajrwvna.js → location-mutation-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{pty-dap0rakb.js → location-mutation-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{pty-df08tz66.js → location-mutation-df08tz66.js} +0 -0
  746. /package/dist/chunks/{pty-dy18nga0.js → location-mutation-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{pty-e5kj55wp.js → location-mutation-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{pty-e73j6tqm.js → location-mutation-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{pty-ec1grn59.js → location-mutation-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{pty-eh3zwz77.js → location-mutation-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{pty-emrn6kk6.js → location-mutation-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{pty-f0mxakyp.js → location-mutation-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{pty-f6n9ztr4.js → location-mutation-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{pty-faypxj3z.js → location-mutation-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{pty-fd410y7t.js → location-mutation-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{pty-fxgpk5d8.js → location-mutation-fxgpk5d8.js} +0 -0
  757. /package/dist/chunks/{pty-g4wezp1m.js → location-mutation-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{pty-g86h250q.js → location-mutation-g86h250q.js} +0 -0
  759. /package/dist/chunks/{pty-gebd4c9n.js → location-mutation-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{pty-gftt206x.js → location-mutation-gftt206x.js} +0 -0
  761. /package/dist/chunks/{pty-hjbc5kem.js → location-mutation-hjbc5kem.js} +0 -0
  762. /package/dist/chunks/{pty-hk9envan.js → location-mutation-hk9envan.js} +0 -0
  763. /package/dist/chunks/{pty-j2ntwpah.js → location-mutation-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{pty-j5zkgpj8.js → location-mutation-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{pty-jjkms2e6.js → location-mutation-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{pty-jr7sbwjy.js → location-mutation-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{pty-jwfs4k6c.js → location-mutation-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{pty-jzg6c2d5.js → location-mutation-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{pty-mp448xyj.js → location-mutation-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{pty-msx8hqn2.js → location-mutation-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{pty-n05xt0ee.js → location-mutation-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{pty-n3j8tn72.js → location-mutation-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{pty-njntx4h6.js → location-mutation-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{pty-q3sfg36h.js → location-mutation-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{pty-q74kybfr.js → location-mutation-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{pty-qaymkmh1.js → location-mutation-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{pty-qb87gjwd.js → location-mutation-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{pty-qfa1cgps.js → location-mutation-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{pty-qg3g05ea.js → location-mutation-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{pty-qrg20bc0.js → location-mutation-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{pty-rcb2kzg1.js → location-mutation-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{pty-sdp7kfr6.js → location-mutation-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{pty-sk3qaz4a.js → location-mutation-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{pty-ssg3fenm.js → location-mutation-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{pty-twg0f83k.js → location-mutation-twg0f83k.js} +0 -0
  786. /package/dist/chunks/{pty-w803qqfp.js → location-mutation-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{pty-wc3fc9cn.js → location-mutation-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{pty-wer8tq1h.js → location-mutation-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{pty-wtztk69x.js → location-mutation-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{pty-x0ckcb58.js → location-mutation-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{pty-x61499pn.js → location-mutation-x61499pn.js} +0 -0
  792. /package/dist/chunks/{pty-y44na4kk.js → location-mutation-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{pty-y8cydn3q.js → location-mutation-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{pty-y8f7s663.js → location-mutation-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{pty-ygaqb7jw.js → location-mutation-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{pty-ym463w8f.js → location-mutation-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{pty-z9919s4g.js → location-mutation-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./location-mutation-922hggd3.js";
4
4
  import {
5
5
  Service80,
6
6
  node84
7
- } from "./pty-xw5r7cj0.js";
7
+ } from "./location-mutation-eqxdc8mp.js";
8
8
  import {
9
- Service25,
10
- node28
11
- } from "./pty-0hhen1xp.js";
9
+ Service77,
10
+ node80
11
+ } from "./location-mutation-05j4n1ws.js";
12
12
  import {
13
13
  isHome2,
14
- names3
15
- } from "./pty-tcezcvh9.js";
14
+ names4
15
+ } from "./location-mutation-89znhe33.js";
16
16
  import {
17
17
  __export
18
- } from "./pty-9rqn6x4v.js";
18
+ } from "./location-mutation-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options2,
25
- Service: () => Service14,
26
- configured: () => configured2,
24
+ Options: () => Options10,
25
+ Service: () => Service76,
26
+ configured: () => configured10,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer8,
29
- node: () => node16,
28
+ layer: () => layer25,
29
+ node: () => node79,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options2 = Schema.Struct({
38
+ var Options10 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service14 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service76 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service14, Effect.gen(function* () {
61
+ var ripgrepLayer2 = Layer.effect(Service76, Effect.gen(function* () {
62
62
  const location = yield* Service80;
63
- const ripgrep = yield* Service25;
63
+ const ripgrep = yield* Service77;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service14, Effect.gen(function* () {
77
77
  cwd: location.directory,
78
78
  pattern: "*",
79
79
  limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
80
- exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
80
+ exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
81
81
  onEntry: (entry) => Effect.sync(() => {
82
82
  next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
83
83
  const parts = entry.path.split("/");
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service14, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service14.of({
108
+ return Service76.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service14, Effect.gen(function* () {
115
+ var fffLayer2 = Layer.effect(Service76, Effect.gen(function* () {
116
116
  const location = yield* Service80;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service14, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service14.of({
129
+ return Service76.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service14.of({
134
+ return Service76.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service14, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
177
+ var layer25 = (options) => Layer.unwrap(Effect.gen(function* () {
178
178
  const location = yield* Service80;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
@@ -182,9 +182,9 @@ var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured2(options) {
186
- return makeLocationNode({ service: Service14, layer: layer8(options), deps: [node84, node28] });
185
+ function configured10(options) {
186
+ return makeLocationNode({ service: Service76, layer: layer25(options), deps: [node84, node80] });
187
187
  }
188
- var node16 = configured2();
188
+ var node79 = configured10();
189
189
 
190
- export { Options2, Service14, ripgrepLayer2, fffLayer2, layer8, configured2, node16, exports_search };
190
+ export { Options10, Service76, ripgrepLayer2, fffLayer2, layer25, configured10, node79, exports_search };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Service83
3
- } from "./pty-d2vrte26.js";
3
+ } from "./location-mutation-r23z5d8f.js";
4
4
  import {
5
- Service66
6
- } from "./pty-954536qd.js";
5
+ Service68
6
+ } from "./location-mutation-pa6qpeew.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./pty-rdw6cm16.js";
12
+ } from "./location-mutation-rdw6cm16.js";
13
13
  import {
14
- Service38,
14
+ Service22,
15
15
  awaitActivation2
16
- } from "./pty-7fj5dwt0.js";
16
+ } from "./location-mutation-vnkjks7b.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./pty-7w270t0f.js";
21
+ } from "./location-mutation-2y3whdx8.js";
22
22
  import {
23
23
  __export
24
- } from "./pty-9rqn6x4v.js";
24
+ } from "./location-mutation-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
- Event: () => Event4,
29
+ Event: () => Event3,
30
30
  ID: () => ID2,
31
31
  Info: () => Info2,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service38,
33
+ Service: () => Service22,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node19
37
+ node: () => node17
38
38
  });
39
- import { Event as Event4, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event3, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service38, Effect.gen(function* () {
43
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
44
44
  const bus = yield* Service83;
45
- const kv = yield* Service66;
45
+ const kv = yield* Service68;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service38.of({
208
+ return Service22.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node19 = Node.makeLocationNode({
226
- service: Service38,
225
+ var node17 = Node.makeLocationNode({
226
+ service: Service22,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node19, exports_plugin2, Event4, ID2, Info2, Source2, State2 };
231
+ export { node17, exports_plugin2, Event3, ID2, Info2, Source2, State2 };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./pty-q581keqr.js";
5
+ } from "./location-mutation-3m46hkaz.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID10
3
- } from "./pty-s5aaq3x4.js";
2
+ ID7
3
+ } from "./location-mutation-4a6h4wrp.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID10.make("gpt-5-chat-latest"), ID10.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID7.make("gpt-5-chat-latest"), ID7.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./pty-ym463w8f.js";
3
+ } from "./location-mutation-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/venice.ts
6
6
  var VenicePlugin2 = createProviderPlugin2({
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  InvalidError2
3
- } from "./pty-z63w68vq.js";
3
+ } from "./location-mutation-z63w68vq.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./location-mutation-9rqn6x4v.js";
7
7
 
8
8
  // src/config/variable.ts
9
9
  var exports_variable = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
- ID11,
2
+ ID8,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  mergeOverlay2
6
- } from "./pty-d5jh8j72.js";
6
+ } from "./location-mutation-d4yhjfbe.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./location-mutation-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: () => Service68,
16
+ Service: () => Service48,
17
17
  locationLayer: () => locationLayer2,
18
- node: () => node71
18
+ node: () => node51
19
19
  });
20
20
  import { makeLocationNode } from "@opencode/util/effect/app-node";
21
21
  import { APICallError } from "@ai-sdk/provider";
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
151
151
  }
152
152
 
153
153
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
154
- providerID: ID11,
154
+ providerID: ID8,
155
155
  cause: Schema.Defect()
156
156
  }) {
157
157
  }
@@ -159,9 +159,9 @@ function initError(providerID) {
159
159
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
160
160
  }
161
161
 
162
- class Service68 extends Context.Service()("@opencode/AISDK") {
162
+ class Service48 extends Context.Service()("@opencode/AISDK") {
163
163
  }
164
- var locationLayer2 = Layer.effect(Service68, Effect.gen(function* () {
164
+ var locationLayer2 = Layer.effect(Service48, Effect.gen(function* () {
165
165
  let sdkHooks = [];
166
166
  let languageHooks = [];
167
167
  const languages = new Map;
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service68, Effect.gen(function* () {
199
199
  }
200
200
  return event;
201
201
  });
202
- const service = Service68.of({
202
+ const service = Service48.of({
203
203
  hook: {
204
204
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
205
205
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -575,7 +575,7 @@ function metadataProviderOptions(input) {
575
575
  return Object.fromEntries(Object.entries(input).map(([key, value]) => [key, jsonObject(value)]));
576
576
  }
577
577
  function streamLanguage(language, options, http) {
578
- const state = { step: 0, toolNames: {} };
578
+ const state = { step: 0, toolNames: {}, open: {} };
579
579
  return Stream.concat(Stream.make(LLMEvent.stepStart({ index: state.step })), Stream.unwrap(Effect.gen(function* () {
580
580
  const context = yield* Effect.context();
581
581
  return yield* Effect.tryPromise({
@@ -597,11 +597,10 @@ function streamPartEvents(state, event) {
597
597
  case "tool-approval-request":
598
598
  return Effect.succeed([]);
599
599
  case "text-start":
600
- return Effect.succeed([
601
- LLMEvent.textStart({ id: event.id, providerMetadata: providerMetadata(event.providerMetadata) })
602
- ]);
600
+ return Effect.succeed(openFragment(state, "text", event.id, providerMetadata(event.providerMetadata)));
603
601
  case "text-delta":
604
602
  return Effect.succeed([
603
+ ...openFragment(state, "text", event.id),
605
604
  LLMEvent.textDelta({
606
605
  id: event.id,
607
606
  text: event.delta,
@@ -609,15 +608,12 @@ function streamPartEvents(state, event) {
609
608
  })
610
609
  ]);
611
610
  case "text-end":
612
- return Effect.succeed([
613
- LLMEvent.textEnd({ id: event.id, providerMetadata: providerMetadata(event.providerMetadata) })
614
- ]);
611
+ return Effect.succeed(closeFragment(state, "text", event.id, providerMetadata(event.providerMetadata)));
615
612
  case "reasoning-start":
616
- return Effect.succeed([
617
- LLMEvent.reasoningStart({ id: event.id, providerMetadata: providerMetadata(event.providerMetadata) })
618
- ]);
613
+ return Effect.succeed(openFragment(state, "reasoning", event.id, providerMetadata(event.providerMetadata)));
619
614
  case "reasoning-delta":
620
615
  return Effect.succeed([
616
+ ...openFragment(state, "reasoning", event.id),
621
617
  LLMEvent.reasoningDelta({
622
618
  id: event.id,
623
619
  text: event.delta,
@@ -625,9 +621,7 @@ function streamPartEvents(state, event) {
625
621
  })
626
622
  ]);
627
623
  case "reasoning-end":
628
- return Effect.succeed([
629
- LLMEvent.reasoningEnd({ id: event.id, providerMetadata: providerMetadata(event.providerMetadata) })
630
- ]);
624
+ return Effect.succeed(closeFragment(state, "reasoning", event.id, providerMetadata(event.providerMetadata)));
631
625
  case "tool-input-start":
632
626
  state.toolNames[event.id] = event.toolName;
633
627
  return Effect.succeed([
@@ -696,6 +690,25 @@ function streamPartEvents(state, event) {
696
690
  return Effect.fail(llmError(event.error, "read"));
697
691
  }
698
692
  }
693
+ function openFragment(state, kind, id, providerMetadata) {
694
+ const open = state.open[kind];
695
+ if (open === id)
696
+ return [];
697
+ state.open[kind] = id;
698
+ const start = kind === "text" ? LLMEvent.textStart({ id, providerMetadata }) : LLMEvent.reasoningStart({ id, providerMetadata });
699
+ if (open === undefined)
700
+ return [start];
701
+ return [fragmentEnd(kind, open), start];
702
+ }
703
+ function closeFragment(state, kind, id, providerMetadata) {
704
+ if (state.open[kind] !== id)
705
+ return [];
706
+ state.open[kind] = undefined;
707
+ return [fragmentEnd(kind, id, providerMetadata)];
708
+ }
709
+ function fragmentEnd(kind, id, providerMetadata) {
710
+ return kind === "text" ? LLMEvent.textEnd({ id, providerMetadata }) : LLMEvent.reasoningEnd({ id, providerMetadata });
711
+ }
699
712
  function usage(input) {
700
713
  const output = {
701
714
  inputTokens: input.inputTokens.total,
@@ -849,6 +862,6 @@ function providerErrorMessage(error) {
849
862
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
850
863
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
851
864
  }
852
- var node71 = makeLocationNode({ service: Service68, layer: locationLayer2, deps: [] });
865
+ var node51 = makeLocationNode({ service: Service48, layer: locationLayer2, deps: [] });
853
866
 
854
- export { InitError2, Service68, locationLayer2, node71, exports_aisdk };
867
+ export { InitError2, Service48, locationLayer2, node51, exports_aisdk };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./pty-ym463w8f.js";
3
+ } from "./location-mutation-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./location-mutation-922hggd3.js";
4
4
  import {
5
5
  Service80
6
- } from "./pty-xw5r7cj0.js";
6
+ } from "./location-mutation-eqxdc8mp.js";
7
7
  import {
8
- Service22
9
- } from "./pty-f8neaav3.js";
8
+ Service69
9
+ } from "./location-mutation-6jm6bgjn.js";
10
10
  import {
11
- Service7
12
- } from "./pty-6qp9w1vx.js";
11
+ Service11
12
+ } from "./location-mutation-b97j21th.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./pty-2a5m3afh.js";
15
+ } from "./location-mutation-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service8
27
- } from "./pty-0jqtpwb9.js";
26
+ Service12
27
+ } from "./location-mutation-65jmxcge.js";
28
28
  import {
29
29
  __export
30
- } from "./pty-9rqn6x4v.js";
30
+ } from "./location-mutation-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input6,
36
- Plugin: () => Plugin23,
35
+ Input: () => Input12,
36
+ Plugin: () => Plugin48,
37
37
  ReadTool: () => exports_read,
38
- name: () => name6,
39
- toModelContent: () => toModelContent4
38
+ name: () => name12,
39
+ toModelContent: () => toModelContent6
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name6 = "read";
45
+ var name12 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input6 = LocationInput;
56
+ var Input12 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin23 = {
58
+ var Plugin48 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service8;
62
- const access = yield* Service22;
63
- const sessionInstructions = yield* Service7;
61
+ const reader = yield* Service12;
62
+ const access = yield* Service69;
63
+ const sessionInstructions = yield* Service11;
64
64
  const fs = yield* FSUtil.Service;
65
65
  const location = yield* Service80;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name6,
67
+ name: name12,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input6,
70
+ input: Input12,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin23 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent4(result.path, input.offset, result.output),
115
+ content: toModelContent6(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent4 = (path, offset, output) => {
147
+ var toModelContent6 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent4 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name6, Input6, Plugin23, toModelContent4, exports_read };
183
+ export { name12, Input12, Plugin48, toModelContent6, exports_read };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  NamedError2
3
- } from "./pty-2axfhc9x.js";
3
+ } from "./location-mutation-2axfhc9x.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./location-mutation-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
9
  var exports_error = {};
@@ -4,31 +4,31 @@ import {
4
4
  MAX_TOTAL_PATCH_BYTES2,
5
5
  emptyPatch2,
6
6
  chunksByFile2
7
- } from "./pty-tazgh4e4.js";
7
+ } from "./location-mutation-tazgh4e4.js";
8
8
  import {
9
9
  gitExecutable2
10
- } from "./pty-ef5x83kb.js";
10
+ } from "./location-mutation-ef5x83kb.js";
11
11
  import {
12
12
  Service80
13
- } from "./pty-xw5r7cj0.js";
13
+ } from "./location-mutation-eqxdc8mp.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./pty-n5rcb3g0.js";
16
+ } from "./location-mutation-m8ar47ek.js";
17
17
  import {
18
18
  __export
19
- } from "./pty-9rqn6x4v.js";
19
+ } from "./location-mutation-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/git.ts
22
22
  var exports_git = {};
23
23
  __export(exports_git, {
24
- Plugin: () => Plugin4,
24
+ Plugin: () => Plugin3,
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 Plugin4 = define({
31
+ var Plugin3 = define({
32
32
  id: "opencode.vcs.git",
33
33
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
34
34
  const location = yield* Service80;
@@ -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 { Plugin4, exports_git };
473
+ export { Plugin3, exports_git };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./location-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service59,
10
- node: () => node62
9
+ Service: () => Service39,
10
+ node: () => node42
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service59 extends Context.Service()("@opencode/Instance") {
16
+ class Service39 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node62 = LayerNode.unbound(Service59, Node.tags.values.global);
18
+ var node42 = LayerNode.unbound(Service39, Node.tags.values.global);
19
19
 
20
- export { Service59, node62, exports_service2 };
20
+ export { Service39, node42, exports_service2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./pty-922hggd3.js";
3
+ } from "./location-mutation-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./location-mutation-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/server.ts
9
9
  var exports_server = {};