@opencode/core 0.0.0-dev-20257 → 0.0.0-dev-20258

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{tool-tg11ymz8.js → file-mutation-00dwsy4m.js} +5 -5
  8. package/dist/chunks/{tool-brbv3dp1.js → file-mutation-0bgjywmv.js} +31 -31
  9. package/dist/chunks/{tool-yw7byxdn.js → file-mutation-0faexqjd.js} +14 -14
  10. package/dist/chunks/{tool-4eajfyk1.js → file-mutation-0gsevz91.js} +11 -11
  11. package/dist/chunks/{tool-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{tool-6ha1y7f7.js → file-mutation-0xhzw85s.js} +10 -10
  13. package/dist/chunks/{tool-0v0g5gxd.js → file-mutation-10ct4jct.js} +9 -9
  14. package/dist/chunks/{tool-n0tq777j.js → file-mutation-166kng33.js} +7 -7
  15. package/dist/chunks/{tool-8rn5fqsk.js → file-mutation-16hbcy11.js} +82 -82
  16. package/dist/chunks/{tool-8265666q.js → file-mutation-16nnx1gk.js} +7 -7
  17. package/dist/chunks/{tool-yp2x3t23.js → file-mutation-1acjjqhc.js} +4 -4
  18. package/dist/chunks/{tool-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{tool-8sze2n9a.js → file-mutation-1p07q0wb.js} +8 -8
  20. package/dist/chunks/{tool-rbedxwk0.js → file-mutation-1v8yrmg3.js} +7 -7
  21. package/dist/chunks/{tool-yv16hj29.js → file-mutation-21jq7q3m.js} +17 -17
  22. package/dist/chunks/{tool-21r38tys.js → file-mutation-21r38tys.js} +1 -1
  23. package/dist/chunks/{tool-nqhs97wk.js → file-mutation-268ye7pn.js} +11 -11
  24. package/dist/chunks/{tool-4b636nqp.js → file-mutation-26xt9qdc.js} +12 -12
  25. package/dist/chunks/{tool-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{tool-034466pj.js → file-mutation-2a8qs4ht.js} +30 -30
  27. package/dist/chunks/{tool-yt55jd1w.js → file-mutation-2g4s1v4g.js} +14 -14
  28. package/dist/chunks/{tool-95yxn8sy.js → file-mutation-2qj495rm.js} +3 -3
  29. package/dist/chunks/{tool-1dmvbadb.js → file-mutation-2tn83n21.js} +15 -15
  30. package/dist/chunks/{tool-qvyqyy4a.js → file-mutation-2yvgrdfb.js} +36 -36
  31. package/dist/chunks/{tool-aasthdk7.js → file-mutation-30bfr999.js} +22 -22
  32. package/dist/chunks/{tool-df918xjf.js → file-mutation-32yyat8p.js} +13 -13
  33. package/dist/chunks/{tool-psxwg2jt.js → file-mutation-353txv1b.js} +49 -49
  34. package/dist/chunks/{tool-72cm32h1.js → file-mutation-37ccqw5v.js} +6 -6
  35. package/dist/chunks/{tool-rsmztf11.js → file-mutation-39gr99av.js} +25 -25
  36. package/dist/chunks/{tool-ksz6c1e3.js → file-mutation-39h29zav.js} +16 -16
  37. package/dist/chunks/{tool-6t6ktgh6.js → file-mutation-3dqa613f.js} +20 -20
  38. package/dist/chunks/{tool-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{tool-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{tool-ka42hk6n.js → file-mutation-3jhmeyjv.js} +17 -17
  41. package/dist/chunks/{tool-eg546c9f.js → file-mutation-3kdnsp7j.js} +30 -30
  42. package/dist/chunks/{tool-194bm8bb.js → file-mutation-3mzqjafy.js} +30 -30
  43. package/dist/chunks/{tool-1976gz4t.js → file-mutation-3n65gszx.js} +27 -27
  44. package/dist/chunks/{tool-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{tool-6yf2w8yd.js → file-mutation-3tjs0rqc.js} +10 -10
  46. package/dist/chunks/{tool-y4rjczph.js → file-mutation-3tq7spzn.js} +33 -33
  47. package/dist/chunks/{tool-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{tool-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
  49. package/dist/chunks/{tool-h4z1mxff.js → file-mutation-49exe669.js} +5 -5
  50. package/dist/chunks/{tool-5ck8tfnb.js → file-mutation-4a9qdbmr.js} +8 -8
  51. package/dist/chunks/{tool-tpgzbb02.js → file-mutation-4dzt4m50.js} +20 -20
  52. package/dist/chunks/{tool-0n945rvh.js → file-mutation-4faj2s9d.js} +9 -9
  53. package/dist/chunks/{tool-syg1g1yq.js → file-mutation-4mwnfcqv.js} +22 -22
  54. package/dist/chunks/{tool-wkt2y4hc.js → file-mutation-51gpjtn8.js} +29 -29
  55. package/dist/chunks/{tool-aw0zj34j.js → file-mutation-56wazr8f.js} +20 -20
  56. package/dist/chunks/{tool-xfkkasph.js → file-mutation-57b9ws8p.js} +7 -7
  57. package/dist/chunks/{tool-57ez7d0k.js → file-mutation-57ez7d0k.js} +2 -2
  58. package/dist/chunks/{tool-mxck01x7.js → file-mutation-58cp5g22.js} +27 -27
  59. package/dist/chunks/{tool-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
  60. package/dist/chunks/{tool-grfjx99d.js → file-mutation-5gt7p4qf.js} +31 -31
  61. package/dist/chunks/{tool-e3qxr5gk.js → file-mutation-5qd3pb7m.js} +2 -2
  62. package/dist/chunks/{tool-bdqrk2vk.js → file-mutation-5qkxfyep.js} +4 -4
  63. package/dist/chunks/{tool-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{tool-dth0kp2g.js → file-mutation-5tbe7xwy.js} +8 -8
  65. package/dist/chunks/{tool-424p9vrf.js → file-mutation-607q5haz.js} +5 -5
  66. package/dist/chunks/{tool-669tq793.js → file-mutation-669tq793.js} +1 -1
  67. package/dist/chunks/{tool-qz49fwgp.js → file-mutation-6ersrjne.js} +4 -4
  68. package/dist/chunks/{tool-6msgmcgs.js → file-mutation-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{tool-n2bwe27v.js → file-mutation-6qdk3m7n.js} +17 -17
  70. package/dist/chunks/{tool-2wby3dfy.js → file-mutation-6tar641x.js} +30 -30
  71. package/dist/chunks/{tool-sg7et9cp.js → file-mutation-6wf4ng0k.js} +9 -9
  72. package/dist/chunks/{tool-mvfsc1pv.js → file-mutation-73tb2d7t.js} +3 -3
  73. package/dist/chunks/file-mutation-786aqz46.js +507 -0
  74. package/dist/chunks/{tool-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{tool-ezfsjjcb.js → file-mutation-7fpg8ynt.js} +24 -24
  76. package/dist/chunks/{tool-9aqmr64f.js → file-mutation-7he179h5.js} +5 -5
  77. package/dist/chunks/{tool-3wgsv8e5.js → file-mutation-7tbm9b7t.js} +3 -3
  78. package/dist/chunks/{tool-84txncab.js → file-mutation-84txncab.js} +1 -1
  79. package/dist/chunks/{tool-5avn8fxx.js → file-mutation-859g3c1y.js} +15 -15
  80. package/dist/chunks/{tool-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{tool-g5agzp2h.js → file-mutation-8zh4h089.js} +5 -5
  82. package/dist/chunks/{tool-q3t37ft6.js → file-mutation-91m9hd8f.js} +3 -3
  83. package/dist/chunks/{tool-tcay1cqt.js → file-mutation-93ygb5af.js} +6 -6
  84. package/dist/chunks/{tool-gfvb90ym.js → file-mutation-94ek1h2f.js} +2 -2
  85. package/dist/chunks/{tool-tz4t78ya.js → file-mutation-9pvvf6k3.js} +13 -13
  86. package/dist/chunks/{tool-40grcexz.js → file-mutation-a6h4f4cc.js} +23 -23
  87. package/dist/chunks/{tool-4718644a.js → file-mutation-a8taf697.js} +20 -20
  88. package/dist/chunks/{tool-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
  89. package/dist/chunks/{tool-dsr5k85q.js → file-mutation-aajkjtdc.js} +26 -26
  90. package/dist/chunks/{tool-809ngxdw.js → file-mutation-am06q2ww.js} +18 -18
  91. package/dist/chunks/{tool-faz569s1.js → file-mutation-arws8trd.js} +4 -4
  92. package/dist/chunks/{tool-afmxnawc.js → file-mutation-aspe0h1z.js} +35 -35
  93. package/dist/chunks/{tool-pmjcgjf6.js → file-mutation-ax9wnt5n.js} +5 -5
  94. package/dist/chunks/{tool-jca4demv.js → file-mutation-b07rpg7m.js} +2 -2
  95. package/dist/chunks/{tool-9jk221y9.js → file-mutation-b2g6p7zb.js} +9 -9
  96. package/dist/chunks/{tool-b4k87etx.js → file-mutation-b43pks6k.js} +29 -29
  97. package/dist/chunks/{tool-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
  98. package/dist/chunks/{tool-9dvrwmbd.js → file-mutation-b7hkstf3.js} +14 -14
  99. package/dist/chunks/{tool-kftnayyw.js → file-mutation-b9ykj7ya.js} +10 -10
  100. package/dist/chunks/{tool-fk1tprft.js → file-mutation-ba1mv5p0.js} +3 -3
  101. package/dist/chunks/{tool-xever9ax.js → file-mutation-bg9wbsx0.js} +34 -34
  102. package/dist/chunks/{tool-4acqjqp7.js → file-mutation-bj8e23yz.js} +24 -24
  103. package/dist/chunks/{tool-c8c0e7p2.js → file-mutation-bmb3ej5t.js} +4 -4
  104. package/dist/chunks/{tool-ktwybt29.js → file-mutation-brnagsee.js} +22 -22
  105. package/dist/chunks/{tool-bne83k22.js → file-mutation-bt3qejb9.js} +14 -14
  106. package/dist/chunks/{tool-ydgy0jv4.js → file-mutation-c4y5a9cq.js} +8 -8
  107. package/dist/chunks/{tool-wyr36rym.js → file-mutation-c9tf7zzd.js} +24 -24
  108. package/dist/chunks/{tool-qsgng9yw.js → file-mutation-cakxjwmg.js} +11 -11
  109. package/dist/chunks/{tool-67582959.js → file-mutation-chbxjcn8.js} +9 -9
  110. package/dist/chunks/{tool-54tcyq79.js → file-mutation-ckecvw8r.js} +2 -2
  111. package/dist/chunks/{tool-vdtperbh.js → file-mutation-cp6we9sf.js} +5 -5
  112. package/dist/chunks/{tool-ewrs59eb.js → file-mutation-cvt7z5t2.js} +35 -35
  113. package/dist/chunks/{tool-d4he2qe1.js → file-mutation-cwa6csj7.js} +9 -9
  114. package/dist/chunks/{tool-2tba787a.js → file-mutation-d48vtfkp.js} +20 -20
  115. package/dist/chunks/{tool-tnwevgky.js → file-mutation-dd2f6nst.js} +163 -163
  116. package/dist/chunks/{tool-y71avatq.js → file-mutation-dpkg50ah.js} +4 -4
  117. package/dist/chunks/{tool-gy1z56yw.js → file-mutation-dwbhttdj.js} +15 -15
  118. package/dist/chunks/{tool-x749c8ap.js → file-mutation-e1evkfpa.js} +23 -23
  119. package/dist/chunks/{tool-2m1k0ztt.js → file-mutation-e2xc3qzp.js} +18 -18
  120. package/dist/chunks/{tool-rhjbct0v.js → file-mutation-eaj1djv9.js} +8 -8
  121. package/dist/chunks/{tool-ecfe7b91.js → file-mutation-ecfe7b91.js} +2 -2
  122. package/dist/chunks/{tool-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{tool-p7emx7qr.js → file-mutation-ef7g0hvy.js} +14 -14
  124. package/dist/chunks/{tool-g6af17tj.js → file-mutation-ekmqrdxg.js} +13 -13
  125. package/dist/chunks/{tool-zztd99f7.js → file-mutation-eq1jxjww.js} +48 -48
  126. package/dist/chunks/{tool-pzmgz1kt.js → file-mutation-ern4x662.js} +20 -20
  127. package/dist/chunks/{tool-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
  128. package/dist/chunks/{tool-xhs54hgc.js → file-mutation-eza7vwvm.js} +30 -30
  129. package/dist/chunks/{tool-5xnnt85z.js → file-mutation-f0ketqja.js} +25 -25
  130. package/dist/chunks/{tool-w8n0e5aw.js → file-mutation-f6982a3r.js} +20 -20
  131. package/dist/chunks/{tool-bbertzxx.js → file-mutation-f6hh4wxd.js} +24 -24
  132. package/dist/chunks/{tool-t7n9q6bq.js → file-mutation-f73rjn58.js} +4 -4
  133. package/dist/chunks/{tool-9a55rck2.js → file-mutation-fbx7nax9.js} +16 -16
  134. package/dist/chunks/{tool-pnv527nz.js → file-mutation-fhs97t90.js} +9 -9
  135. package/dist/chunks/{tool-vvaq8bb8.js → file-mutation-g1vn8w63.js} +7 -7
  136. package/dist/chunks/{tool-hxxwhazt.js → file-mutation-g33ft7mf.js} +20 -20
  137. package/dist/chunks/{tool-bhz5rt2a.js → file-mutation-g8bxbgc5.js} +3 -3
  138. package/dist/chunks/{tool-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
  139. package/dist/chunks/{tool-0egx9fcg.js → file-mutation-gnra7rc5.js} +12 -12
  140. package/dist/chunks/{tool-qzzwmwsb.js → file-mutation-gnxy3td6.js} +24 -24
  141. package/dist/chunks/{tool-gv6a8nnw.js → file-mutation-gv6a8nnw.js} +2 -2
  142. package/dist/chunks/{tool-8qx87br5.js → file-mutation-gv6eg1zh.js} +23 -23
  143. package/dist/chunks/{tool-391zmw43.js → file-mutation-gxv8bn46.js} +53 -53
  144. package/dist/chunks/{tool-qthggnn3.js → file-mutation-h1nf4jgx.js} +18 -18
  145. package/dist/chunks/{tool-f32czd11.js → file-mutation-h2r7bbkd.js} +11 -11
  146. package/dist/chunks/{tool-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
  147. package/dist/chunks/{tool-946c90tq.js → file-mutation-hcsj8c5f.js} +8 -8
  148. package/dist/chunks/{tool-znsx74x0.js → file-mutation-hekxc47r.js} +1 -1
  149. package/dist/chunks/{tool-a3j192et.js → file-mutation-hjtdmxqs.js} +17 -17
  150. package/dist/chunks/{tool-t5eds39s.js → file-mutation-hm9gfxca.js} +25 -25
  151. package/dist/chunks/{tool-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
  152. package/dist/chunks/{tool-txmctbw7.js → file-mutation-j67jnjt0.js} +5 -5
  153. package/dist/chunks/{tool-bct739vz.js → file-mutation-j83byb14.js} +4 -4
  154. package/dist/chunks/{tool-cnvcdvk7.js → file-mutation-jarn1zxe.js} +6 -6
  155. package/dist/chunks/{tool-ngr3dbwj.js → file-mutation-jj5netzx.js} +9 -9
  156. package/dist/chunks/{tool-asmesk1c.js → file-mutation-jmhdpeq2.js} +41 -41
  157. package/dist/chunks/{tool-qpbc7zwf.js → file-mutation-jsb3pxss.js} +8 -8
  158. package/dist/chunks/{tool-axmvebxj.js → file-mutation-jw80jp6b.js} +21 -21
  159. package/dist/chunks/{tool-f9v45azf.js → file-mutation-jy8m2ksj.js} +27 -27
  160. package/dist/chunks/{tool-csc4d3td.js → file-mutation-jy9e27y0.js} +9 -9
  161. package/dist/chunks/{tool-cycpek8a.js → file-mutation-k18pbb1y.js} +8 -8
  162. package/dist/chunks/{tool-f5gy8qwh.js → file-mutation-k1qrnqst.js} +8 -8
  163. package/dist/chunks/{tool-k3c624dm.js → file-mutation-k3c624dm.js} +3 -3
  164. package/dist/chunks/{tool-sd321mms.js → file-mutation-k648p9r6.js} +4 -4
  165. package/dist/chunks/{tool-11tc0n79.js → file-mutation-k9j777qh.js} +4 -4
  166. package/dist/chunks/{tool-ttk3mwgy.js → file-mutation-kda7zgrv.js} +11 -11
  167. package/dist/chunks/{tool-f4stfc8j.js → file-mutation-kj8qwk00.js} +11 -11
  168. package/dist/chunks/{tool-vbv8dfnm.js → file-mutation-kjbzsbsj.js} +20 -20
  169. package/dist/chunks/{tool-s81k1a76.js → file-mutation-km0wbgkx.js} +13 -13
  170. package/dist/chunks/{tool-3y576xey.js → file-mutation-kpq3n5w9.js} +46 -46
  171. package/dist/chunks/{tool-4bee6ad1.js → file-mutation-kqxvsf2f.js} +11 -11
  172. package/dist/chunks/{tool-296y6fm3.js → file-mutation-ky3ws345.js} +16 -16
  173. package/dist/chunks/{tool-qbqbaz6q.js → file-mutation-kzc3h1h3.js} +4 -4
  174. package/dist/chunks/{tool-m3fdjcah.js → file-mutation-m3fdjcah.js} +1 -1
  175. package/dist/chunks/{tool-yj0c5cmr.js → file-mutation-m7h4c5p1.js} +24 -24
  176. package/dist/chunks/{tool-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{tool-18eb7gxs.js → file-mutation-mafgb6f8.js} +11 -11
  178. package/dist/chunks/{tool-6tb4xv4d.js → file-mutation-mepdzt2d.js} +11 -11
  179. package/dist/chunks/{tool-56gdpj1q.js → file-mutation-mfqp6xfm.js} +6 -6
  180. package/dist/chunks/{tool-m5gtchbr.js → file-mutation-mksgfzgs.js} +3 -3
  181. package/dist/chunks/{tool-8az6wgtc.js → file-mutation-mzs8vpd7.js} +18 -18
  182. package/dist/chunks/{tool-q5dgj24k.js → file-mutation-n064zhq3.js} +15 -15
  183. package/dist/chunks/{tool-njhqdk9p.js → file-mutation-n37c4crj.js} +8 -8
  184. package/dist/chunks/{tool-1msf33w2.js → file-mutation-n3hytwrq.js} +9 -9
  185. package/dist/chunks/{tool-w7jh0eam.js → file-mutation-ny6qhpy6.js} +1 -1
  186. package/dist/chunks/{tool-5mtzsd3b.js → file-mutation-nzyhnfxz.js} +4 -4
  187. package/dist/chunks/{tool-yt0fqk68.js → file-mutation-p44d8wdy.js} +5 -5
  188. package/dist/chunks/{tool-gbny3ebw.js → file-mutation-p6czja74.js} +5 -5
  189. package/dist/chunks/{tool-h9wp8z5w.js → file-mutation-p6wxjpka.js} +4 -4
  190. package/dist/chunks/{tool-em3h5ktn.js → file-mutation-pcxghkgz.js} +4 -4
  191. package/dist/chunks/{tool-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
  192. package/dist/chunks/{tool-pknna89w.js → file-mutation-pknna89w.js} +1 -1
  193. package/dist/chunks/{tool-s7va8ds3.js → file-mutation-pwsepaaz.js} +20 -20
  194. package/dist/chunks/{tool-ehjy287r.js → file-mutation-px0fvt7x.js} +3 -3
  195. package/dist/chunks/{tool-jvvc3tfq.js → file-mutation-px76j0pk.js} +9 -9
  196. package/dist/chunks/{tool-36sqq72v.js → file-mutation-q752a12t.js} +18 -18
  197. package/dist/chunks/{tool-a7ntt1km.js → file-mutation-qccp8e4s.js} +41 -41
  198. package/dist/chunks/{tool-7k1k30bt.js → file-mutation-qcdf9a5m.js} +1 -1
  199. package/dist/chunks/{tool-01mtfcwf.js → file-mutation-qezw1pf5.js} +44 -44
  200. package/dist/chunks/file-mutation-qfq4bwrq.js +252 -0
  201. package/dist/chunks/{tool-2k8khapm.js → file-mutation-qgn6gcr1.js} +5 -5
  202. package/dist/chunks/{tool-fbk6jmjr.js → file-mutation-qjssfwbr.js} +11 -11
  203. package/dist/chunks/{tool-m82n3tcb.js → file-mutation-qka5et1g.js} +11 -11
  204. package/dist/chunks/{tool-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
  205. package/dist/chunks/{tool-7rwqf82v.js → file-mutation-qvb3nf84.js} +8 -8
  206. package/dist/chunks/{tool-jyzvwcc3.js → file-mutation-qz3bnhk3.js} +82 -82
  207. package/dist/chunks/{tool-wk7hydj3.js → file-mutation-r68mmbn4.js} +11 -11
  208. package/dist/chunks/{tool-175m3jx7.js → file-mutation-r6f1b890.js} +21 -21
  209. package/dist/chunks/file-mutation-rap9a73h.js +18 -0
  210. package/dist/chunks/{tool-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
  211. package/dist/chunks/{tool-jjhdrc4d.js → file-mutation-rpmwkvmp.js} +32 -32
  212. package/dist/chunks/{tool-pwk60xzd.js → file-mutation-rrtn0typ.js} +29 -29
  213. package/dist/chunks/{tool-5dhv185w.js → file-mutation-rwyhredf.js} +33 -33
  214. package/dist/chunks/{tool-a2ew8a62.js → file-mutation-ryr25ayn.js} +4 -4
  215. package/dist/chunks/{tool-75hmra9r.js → file-mutation-s5pc7fga.js} +10 -10
  216. package/dist/chunks/{tool-9jcc4y49.js → file-mutation-shjx5epx.js} +11 -11
  217. package/dist/chunks/{tool-w1p328vv.js → file-mutation-smm3c46c.js} +11 -11
  218. package/dist/chunks/{tool-na3vr06v.js → file-mutation-sxra90qj.js} +7 -7
  219. package/dist/chunks/{tool-6ab7jrdn.js → file-mutation-sygyr1wa.js} +13 -13
  220. package/dist/chunks/{tool-rmm45jmv.js → file-mutation-sznyev98.js} +5 -5
  221. package/dist/chunks/{tool-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
  222. package/dist/chunks/{tool-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
  223. package/dist/chunks/{tool-tdstcens.js → file-mutation-tdstcens.js} +1 -1
  224. package/dist/chunks/{tool-a9rnddwt.js → file-mutation-tkyqje11.js} +39 -39
  225. package/dist/chunks/{tool-p37cw4rj.js → file-mutation-tpw6cwsb.js} +8 -8
  226. package/dist/chunks/{tool-7v1rs999.js → file-mutation-trvrc289.js} +17 -17
  227. package/dist/chunks/{tool-tvtrv512.js → file-mutation-tvtrv512.js} +1 -1
  228. package/dist/chunks/{tool-2qp6y8xf.js → file-mutation-tz2bjj40.js} +5 -5
  229. package/dist/chunks/{tool-amxsn76y.js → file-mutation-v68astsv.js} +9 -9
  230. package/dist/chunks/{tool-41ykdtjg.js → file-mutation-v8ekj78e.js} +70 -70
  231. package/dist/chunks/{tool-rwt25hr0.js → file-mutation-v8tfdbmx.js} +11 -11
  232. package/dist/chunks/{tool-3r7whzgv.js → file-mutation-vbr7z2an.js} +7 -7
  233. package/dist/chunks/{tool-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
  234. package/dist/chunks/{tool-espax8zg.js → file-mutation-vfjhn2wd.js} +4 -4
  235. package/dist/chunks/{tool-2c73s09s.js → file-mutation-vhn9g06f.js} +11 -11
  236. package/dist/chunks/{tool-f5j4h519.js → file-mutation-vkqnm9g8.js} +30 -30
  237. package/dist/chunks/{tool-zs59ffwg.js → file-mutation-vrtvrq7g.js} +8 -8
  238. package/dist/chunks/{tool-pa719ayw.js → file-mutation-vt5565qe.js} +3 -3
  239. package/dist/chunks/{tool-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
  240. package/dist/chunks/{tool-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
  241. package/dist/chunks/{tool-4bbjkqbv.js → file-mutation-w2fehx9e.js} +15 -15
  242. package/dist/chunks/{tool-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{tool-d45ca2b9.js → file-mutation-w7nc8r38.js} +13 -13
  244. package/dist/chunks/{tool-35zcj8ny.js → file-mutation-w8ferkse.js} +10 -10
  245. package/dist/chunks/{tool-qte5z7bc.js → file-mutation-wbkyxrgf.js} +5 -5
  246. package/dist/chunks/{tool-q9m41f22.js → file-mutation-wbyb4rcs.js} +15 -15
  247. package/dist/chunks/{tool-psazpmmj.js → file-mutation-wd3x2cqz.js} +2 -2
  248. package/dist/chunks/{tool-wd87259q.js → file-mutation-wd87259q.js} +1 -1
  249. package/dist/chunks/file-mutation-wjf1m7fj.js +26 -0
  250. package/dist/chunks/{tool-xh089592.js → file-mutation-wmt3wqce.js} +5 -5
  251. package/dist/chunks/{tool-ek9e68b4.js → file-mutation-wyxfthk3.js} +15 -15
  252. package/dist/chunks/{tool-4khtewc0.js → file-mutation-wzk244zq.js} +43 -43
  253. package/dist/chunks/{tool-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
  254. package/dist/chunks/{tool-eacc2dt9.js → file-mutation-x1gbxjx5.js} +11 -11
  255. package/dist/chunks/{tool-9y90g72n.js → file-mutation-x37axz56.js} +23 -23
  256. package/dist/chunks/{tool-d7hv7zmm.js → file-mutation-x4p2gnwd.js} +10 -10
  257. package/dist/chunks/{tool-80cfmxjf.js → file-mutation-x4r22r3k.js} +20 -20
  258. package/dist/chunks/{tool-3dtz6yx2.js → file-mutation-x9fyvxks.js} +3 -3
  259. package/dist/chunks/{tool-eg73nz8j.js → file-mutation-xcyj3yfq.js} +16 -16
  260. package/dist/chunks/{tool-p9njq13k.js → file-mutation-xddwgmc9.js} +12 -12
  261. package/dist/chunks/{tool-q73ax3e3.js → file-mutation-xdqge5f5.js} +4 -4
  262. package/dist/chunks/{tool-zkx6mb6f.js → file-mutation-xftpd4tw.js} +6 -6
  263. package/dist/chunks/{tool-jj4f2m0r.js → file-mutation-xk1h7hsv.js} +10 -10
  264. package/dist/chunks/{tool-dmqcgk4z.js → file-mutation-xkntkrq7.js} +5 -5
  265. package/dist/chunks/{tool-2dw8d83v.js → file-mutation-xs20kdgy.js} +25 -25
  266. package/dist/chunks/{tool-bk7jaeqh.js → file-mutation-xwm6bryg.js} +4 -4
  267. package/dist/chunks/{tool-9a22gx4j.js → file-mutation-xz1243mt.js} +21 -21
  268. package/dist/chunks/{tool-g5mnhhzf.js → file-mutation-xz2chpcf.js} +5 -5
  269. package/dist/chunks/{tool-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{tool-gjz1jd2j.js → file-mutation-y2zrk0dr.js} +13 -13
  271. package/dist/chunks/{tool-w5tjdcqf.js → file-mutation-y4prpqzx.js} +18 -18
  272. package/dist/chunks/{tool-1r5rhfpg.js → file-mutation-y5yrmg67.js} +16 -16
  273. package/dist/chunks/{tool-kf4n8cem.js → file-mutation-y8fmc1zc.js} +6 -6
  274. package/dist/chunks/{tool-0vx053wa.js → file-mutation-ye28agv5.js} +29 -29
  275. package/dist/chunks/{tool-ss1fsgxr.js → file-mutation-yffnxffr.js} +14 -14
  276. package/dist/chunks/{tool-dss8prcv.js → file-mutation-yg78e3t5.js} +5 -5
  277. package/dist/chunks/{tool-dbnvakxz.js → file-mutation-yksbe7bm.js} +2 -2
  278. package/dist/chunks/{tool-ev6cj1t6.js → file-mutation-ymszjhhk.js} +4 -4
  279. package/dist/chunks/{tool-yrhqyw5v.js → file-mutation-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{tool-s4enseaf.js → file-mutation-yrznvahk.js} +2 -2
  281. package/dist/chunks/{tool-67kbkrjb.js → file-mutation-yx93m0w7.js} +12 -12
  282. package/dist/chunks/{tool-nd981500.js → file-mutation-yyr7mt6v.js} +33 -33
  283. package/dist/chunks/{tool-bjtzbw4r.js → file-mutation-z07pqspn.js} +3 -3
  284. package/dist/chunks/{tool-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{tool-29x78va6.js → file-mutation-z63w68vq.js} +6 -6
  286. package/dist/chunks/{tool-qnshbhpz.js → file-mutation-z6ydsys7.js} +8 -8
  287. package/dist/chunks/{tool-zeh9ct20.js → file-mutation-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{tool-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{tool-0x54nnzp.js → file-mutation-zwhcvfra.js} +16 -16
  290. package/dist/chunks/{tool-cxfezmj7.js → file-mutation-zxp32vzh.js} +2 -2
  291. package/dist/chunks/{tool-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +11 -11
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +83 -83
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +125 -125
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +125 -125
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +124 -124
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +124 -124
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +128 -128
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +85 -85
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +16 -16
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +370 -370
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +3 -3
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +70 -70
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +227 -227
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +103 -103
  428. package/dist/filesystem/watcher-binding.js +3 -3
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +100 -100
  431. package/dist/form.js +80 -80
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +87 -87
  434. package/dist/generate.js +103 -103
  435. package/dist/git.js +6 -6
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +91 -91
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +361 -361
  460. package/dist/instruction-discovery.js +83 -83
  461. package/dist/instructions/builtins.js +87 -87
  462. package/dist/instructions/index.js +5 -5
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +86 -86
  465. package/dist/job.js +79 -79
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +132 -132
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-service-map.js +86 -86
  471. package/dist/location-services.js +358 -358
  472. package/dist/location.js +81 -81
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +91 -91
  475. package/dist/mcp/index.js +102 -102
  476. package/dist/mcp/instructions.js +128 -128
  477. package/dist/mcp/oauth.js +78 -78
  478. package/dist/mcp/stdio.js +90 -90
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +91 -91
  481. package/dist/model-resolver.js +98 -98
  482. package/dist/model.js +100 -100
  483. package/dist/models-dev.js +107 -107
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +80 -80
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +115 -115
  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 +80 -80
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +75 -75
  493. package/dist/plugin/agent.js +102 -102
  494. package/dist/plugin/command.js +99 -99
  495. package/dist/plugin/hooks.js +3 -3
  496. package/dist/plugin/host.js +218 -218
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +333 -333
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +96 -96
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +102 -102
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  507. package/dist/plugin/provider/azure.js +122 -122
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +119 -119
  513. package/dist/plugin/provider/digitalocean.js +93 -93
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +94 -94
  518. package/dist/plugin/provider/gitlab.js +93 -93
  519. package/dist/plugin/provider/google-vertex.js +90 -90
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +77 -77
  522. package/dist/plugin/provider/lmstudio.js +120 -120
  523. package/dist/plugin/provider/modal.js +92 -92
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +122 -122
  526. package/dist/plugin/provider/openai.js +94 -94
  527. package/dist/plugin/provider/opencode.js +95 -95
  528. package/dist/plugin/provider/openrouter.js +91 -91
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +78 -78
  531. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  532. package/dist/plugin/provider/sap-ai-core.js +91 -91
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +90 -90
  537. package/dist/plugin/provider/vllm.js +122 -122
  538. package/dist/plugin/provider/xai.js +91 -91
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +161 -161
  541. package/dist/plugin/sdk.js +74 -74
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +141 -141
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +352 -352
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +4 -4
  548. package/dist/plugin/vcs/git.js +86 -86
  549. package/dist/plugin/vcs/hg.js +86 -86
  550. package/dist/plugin/verbosity.js +93 -93
  551. package/dist/plugin/warming.js +121 -121
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +229 -229
  560. package/dist/project/schema.js +2 -2
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +80 -80
  563. package/dist/provider.js +101 -101
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +99 -99
  567. package/dist/reference/instructions.js +89 -89
  568. package/dist/reference.js +89 -89
  569. package/dist/repository-cache.js +81 -81
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +95 -95
  573. package/dist/rpc.js +86 -86
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +74 -74
  576. package/dist/session/compaction.js +134 -134
  577. package/dist/session/context.js +152 -152
  578. package/dist/session/diff.js +88 -88
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +7 -7
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +221 -221
  583. package/dist/session/execution.js +126 -126
  584. package/dist/session/generate.js +153 -153
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +90 -90
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +79 -79
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +97 -97
  591. package/dist/session/message-updater.js +4 -4
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +119 -119
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +130 -130
  596. package/dist/session/projector.js +86 -86
  597. package/dist/session/prompt.js +105 -105
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +90 -90
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +231 -231
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +98 -98
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +4 -4
  607. package/dist/session/runner/step.js +126 -126
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +172 -172
  611. package/dist/session/shell.js +138 -138
  612. package/dist/session/skill.js +103 -103
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +73 -73
  615. package/dist/session/store.js +85 -85
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +210 -210
  618. package/dist/session/system-prompt.js +5 -5
  619. package/dist/session/title.js +156 -156
  620. package/dist/session/to-session-error.js +111 -111
  621. package/dist/session/transfer.js +213 -213
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +216 -216
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +13 -13
  628. package/dist/shell.js +140 -140
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +107 -107
  631. package/dist/skill.js +108 -108
  632. package/dist/snapshot.js +91 -91
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +127 -127
  637. package/dist/tool/plugin/edit.js +120 -120
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +122 -122
  640. package/dist/tool/plugin/grep.js +124 -124
  641. package/dist/tool/plugin/mcp-resource.js +116 -116
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +114 -114
  644. package/dist/tool/plugin/question.js +105 -105
  645. package/dist/tool/plugin/read.js +123 -123
  646. package/dist/tool/plugin/shell.js +217 -217
  647. package/dist/tool/plugin/skill.js +105 -105
  648. package/dist/tool/plugin/subagent.js +215 -215
  649. package/dist/tool/plugin/webfetch.js +110 -110
  650. package/dist/tool/plugin/websearch.js +114 -114
  651. package/dist/tool/plugin/write.js +122 -122
  652. package/dist/tool/read-filesystem.js +100 -100
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +14 -14
  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 +7 -7
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +4 -4
  670. package/dist/v1/config/formatter.js +3 -3
  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 +92 -92
  675. package/dist/v1/config/permission.js +7 -7
  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 +91 -91
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +89 -89
  685. package/dist/websearch.js +84 -84
  686. package/dist/wellknown/plugin.js +76 -76
  687. package/dist/wellknown.js +79 -79
  688. package/dist/workspace/driver.js +7 -7
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +78 -78
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +8 -8
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +89 -89
  695. package/dist/worktree.js +94 -94
  696. package/package.json +8 -8
  697. package/dist/chunks/tool-b4awgack.js +0 -507
  698. package/dist/chunks/tool-cmck6x1v.js +0 -26
  699. package/dist/chunks/tool-qjxeh2jn.js +0 -252
  700. package/dist/chunks/tool-vsdyktar.js +0 -18
  701. /package/dist/chunks/{tool-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{tool-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{tool-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{tool-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{tool-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{tool-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{tool-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{tool-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{tool-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{tool-34c7v6d4.js → file-mutation-34c7v6d4.js} +0 -0
  711. /package/dist/chunks/{tool-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{tool-3asan66x.js → file-mutation-3asan66x.js} +0 -0
  713. /package/dist/chunks/{tool-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{tool-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{tool-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{tool-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{tool-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{tool-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{tool-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{tool-53557ph1.js → file-mutation-53557ph1.js} +0 -0
  721. /package/dist/chunks/{tool-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{tool-6prwharc.js → file-mutation-6prwharc.js} +0 -0
  723. /package/dist/chunks/{tool-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{tool-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{tool-822emrt2.js → file-mutation-822emrt2.js} +0 -0
  726. /package/dist/chunks/{tool-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{tool-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{tool-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
  729. /package/dist/chunks/{tool-922hggd3.js → file-mutation-922hggd3.js} +0 -0
  730. /package/dist/chunks/{tool-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{tool-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{tool-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{tool-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{tool-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{tool-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{tool-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{tool-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{tool-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{tool-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{tool-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{tool-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{tool-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{tool-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{tool-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{tool-df08tz66.js → file-mutation-df08tz66.js} +0 -0
  746. /package/dist/chunks/{tool-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{tool-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{tool-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{tool-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{tool-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{tool-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{tool-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{tool-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{tool-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{tool-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{tool-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
  757. /package/dist/chunks/{tool-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{tool-g86h250q.js → file-mutation-g86h250q.js} +0 -0
  759. /package/dist/chunks/{tool-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{tool-gftt206x.js → file-mutation-gftt206x.js} +0 -0
  761. /package/dist/chunks/{tool-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
  762. /package/dist/chunks/{tool-hk9envan.js → file-mutation-hk9envan.js} +0 -0
  763. /package/dist/chunks/{tool-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{tool-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{tool-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{tool-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{tool-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{tool-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{tool-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{tool-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{tool-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{tool-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{tool-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{tool-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{tool-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{tool-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{tool-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{tool-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{tool-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{tool-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{tool-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{tool-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{tool-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{tool-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{tool-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{tool-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{tool-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{tool-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{tool-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{tool-x61499pn.js → file-mutation-x61499pn.js} +0 -0
  791. /package/dist/chunks/{tool-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{tool-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{tool-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{tool-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{tool-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{tool-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./tool-fk1tprft.js";
4
+ } from "./file-mutation-ba1mv5p0.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./tool-sd321mms.js";
8
+ } from "./file-mutation-k648p9r6.js";
9
9
  import {
10
- Service48,
11
- node50
12
- } from "./tool-tcay1cqt.js";
10
+ Service60,
11
+ node63
12
+ } from "./file-mutation-93ygb5af.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./tool-922hggd3.js";
16
+ } from "./file-mutation-922hggd3.js";
17
17
  import {
18
18
  Service81,
19
19
  node85
20
- } from "./tool-zs59ffwg.js";
20
+ } from "./file-mutation-vrtvrq7g.js";
21
21
  import {
22
22
  Ref4
23
- } from "./tool-cxfezmj7.js";
23
+ } from "./file-mutation-zxp32vzh.js";
24
24
  import {
25
- Service54,
26
- node57
27
- } from "./tool-csc4d3td.js";
25
+ Service77,
26
+ node81
27
+ } from "./file-mutation-jy9e27y0.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./tool-gftt206x.js";
30
+ } from "./file-mutation-gftt206x.js";
31
31
  import {
32
- NotFoundError8
33
- } from "./tool-0v0g5gxd.js";
32
+ NotFoundError9
33
+ } from "./file-mutation-10ct4jct.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./tool-ec1grn59.js";
36
+ } from "./file-mutation-ec1grn59.js";
37
37
  import {
38
- Service45
39
- } from "./tool-t7n9q6bq.js";
38
+ Service57
39
+ } from "./file-mutation-f73rjn58.js";
40
40
  import {
41
- Service58,
42
- node61
43
- } from "./tool-bne83k22.js";
41
+ Service74,
42
+ node78
43
+ } from "./file-mutation-bt3qejb9.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service46,
48
- node48,
47
+ Service58,
48
+ node61,
49
49
  moveIDs2
50
- } from "./tool-ezfsjjcb.js";
50
+ } from "./file-mutation-7fpg8ynt.js";
51
51
  import {
52
- Service44,
53
- node47
54
- } from "./tool-qvyqyy4a.js";
52
+ Service56,
53
+ node60
54
+ } from "./file-mutation-2yvgrdfb.js";
55
55
  import {
56
- node43
57
- } from "./tool-8az6wgtc.js";
56
+ node29
57
+ } from "./file-mutation-mzs8vpd7.js";
58
58
  import {
59
59
  __export
60
- } from "./tool-9rqn6x4v.js";
60
+ } from "./file-mutation-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service31,
68
+ Service: () => Service25,
69
69
  SessionMove: () => exports_move,
70
- node: () => node34
70
+ node: () => node28
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service31 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service25 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service31, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
91
  const projects = yield* Service81;
92
- const locations = yield* Service54;
93
- const store = yield* Service58;
94
- const execution = yield* Service44;
95
- const instances = yield* Service48;
96
- const admission = yield* Service46;
92
+ const locations = yield* Service77;
93
+ const store = yield* Service74;
94
+ const execution = yield* Service56;
95
+ const instances = yield* Service60;
96
+ const admission = yield* Service58;
97
97
  const database = yield* Service84;
98
98
  const bus = yield* Service83;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError8({ sessionID });
102
+ return yield* new NotFoundError9({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service45.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
134
+ return yield* Service57.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service31.of({
136
+ return Service25.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node34 = makeGlobalNode({
167
- service: Service31,
166
+ var node28 = makeGlobalNode({
167
+ service: Service25,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
172
  node85,
173
- node57,
173
+ node81,
174
+ node78,
175
+ node60,
176
+ node63,
174
177
  node61,
175
- node47,
176
- node50,
177
- node48,
178
178
  node88,
179
179
  node87,
180
- node43
180
+ node29
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service31, node34, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service25, node28, exports_move };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./tool-emrn6kk6.js";
3
+ } from "./file-mutation-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./tool-3r7whzgv.js";
6
+ } from "./file-mutation-vbr7z2an.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./tool-7k1k30bt.js";
9
+ } from "./file-mutation-qcdf9a5m.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
20
20
  static [entityKind] = "EffectSQLiteDatabase";
21
21
  }
22
22
  var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
23
- var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
23
+ var make22 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
24
24
  const client = yield* SqlClient;
25
25
  const cache = yield* EffectCache;
26
26
  const logger = yield* EffectLogger;
@@ -37,6 +37,6 @@ var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
37
37
  db.$cache.invalidate = cache.onMutate;
38
38
  return db;
39
39
  });
40
- var makeWithDefaults2 = (config = {}) => make23(config).pipe(Effect.provide(DefaultServices2));
40
+ var makeWithDefaults2 = (config = {}) => make22(config).pipe(Effect.provide(DefaultServices2));
41
41
 
42
- export { EffectSQLiteDatabase2, DefaultServices2, make23, makeWithDefaults2 };
42
+ export { EffectSQLiteDatabase2, DefaultServices2, make22, makeWithDefaults2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
- make20,
4
+ make21,
5
5
  diffByKey2
6
- } from "./tool-rhjbct0v.js";
6
+ } from "./file-mutation-eaj1djv9.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./tool-391zmw43.js";
9
+ } from "./file-mutation-gxv8bn46.js";
10
10
  import {
11
- Service38,
12
- node41
13
- } from "./tool-a7ntt1km.js";
11
+ Service36,
12
+ node39
13
+ } from "./file-mutation-qccp8e4s.js";
14
14
  import {
15
15
  namespace2,
16
- name13
17
- } from "./tool-b4k87etx.js";
16
+ name14
17
+ } from "./file-mutation-b43pks6k.js";
18
18
  import {
19
19
  __export
20
- } from "./tool-9rqn6x4v.js";
20
+ } from "./file-mutation-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
- var exports_instructions5 = {};
24
- __export(exports_instructions5, {
25
- McpInstructions: () => exports_instructions5,
26
- Service: () => Service36,
27
- layer: () => layer12,
28
- node: () => node39
23
+ var exports_instructions3 = {};
24
+ __export(exports_instructions3, {
25
+ McpInstructions: () => exports_instructions3,
26
+ Service: () => Service29,
27
+ layer: () => layer11,
28
+ node: () => node33
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -61,14 +61,14 @@ var update = (previous, current) => {
61
61
  `);
62
62
  };
63
63
 
64
- class Service36 extends Context.Service()("@opencode/McpInstructions") {
64
+ class Service29 extends Context.Service()("@opencode/McpInstructions") {
65
65
  }
66
- var layer12 = Layer.effect(Service36, Effect.gen(function* () {
67
- const mcp = yield* Service38;
68
- return Service36.of({
66
+ var layer11 = Layer.effect(Service29, Effect.gen(function* () {
67
+ const mcp = yield* Service36;
68
+ return Service29.of({
69
69
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
70
- const source = (value) => make20({
71
- key: Key3.make("core/mcp-guidance"),
70
+ const source = (value) => make21({
71
+ key: Key4.make("core/mcp-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(value),
74
74
  render: {
@@ -86,7 +86,7 @@ var layer12 = Layer.effect(Service36, Effect.gen(function* () {
86
86
  const codemode = owned[0]?.codemode !== false;
87
87
  if (codemode && !canExecute)
88
88
  return [];
89
- if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", permissions).effect !== "deny"))
89
+ if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
90
90
  return [];
91
91
  return [
92
92
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -96,6 +96,6 @@ var layer12 = Layer.effect(Service36, Effect.gen(function* () {
96
96
  })
97
97
  });
98
98
  }));
99
- var node39 = makeLocationNode({ service: Service36, layer: layer12, deps: [node41] });
99
+ var node33 = makeLocationNode({ service: Service29, layer: layer11, deps: [node39] });
100
100
 
101
- export { Service36, layer12, node39, exports_instructions5 };
101
+ export { Service29, layer11, node33, exports_instructions3 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./tool-sd321mms.js";
4
+ } from "./file-mutation-k648p9r6.js";
5
5
  import {
6
6
  create3
7
- } from "./tool-rdw6cm16.js";
7
+ } from "./file-mutation-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./tool-391zmw43.js";
10
+ } from "./file-mutation-gxv8bn46.js";
11
11
  import {
12
12
  __export
13
- } from "./tool-9rqn6x4v.js";
13
+ } from "./file-mutation-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event10,
20
+ Event: () => Event12,
21
21
  ID: () => ID5,
22
- Info: () => Info10,
22
+ Info: () => Info19,
23
23
  Name: () => Name2,
24
- Service: () => Service55,
24
+ Service: () => Service50,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node58,
29
+ node: () => node54,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,12 +34,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event10 } from "@opencode/schema/skill";
37
+ import { Event as Event12 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
41
  var Source4 = Skill.Source;
42
- var Info10 = Skill.Info;
42
+ var Info19 = Skill.Info;
43
43
  var ID5 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
@@ -71,9 +71,9 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service55 extends Context.Service()("@opencode/Skill") {
74
+ class Service50 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service55, Effect.gen(function* () {
76
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
77
77
  const bus = yield* Service83;
78
78
  const state = create3({
79
79
  name: "skill",
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service55.of({
100
+ return Service50.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node58 = makeLocationNode({
112
- service: Service55,
111
+ var node54 = makeLocationNode({
112
+ service: Service50,
113
113
  layer,
114
114
  deps: [node87]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info10, ID5, Name2, available2, toModelOutput3, prepare3, Service55, node58, exports_skill5, Event10 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info19, ID5, Name2, available2, toModelOutput3, prepare3, Service50, node54, exports_skill5, Event12 };
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service68
3
- } from "./tool-4acqjqp7.js";
2
+ Service44
3
+ } from "./file-mutation-bj8e23yz.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./tool-922hggd3.js";
6
+ } from "./file-mutation-922hggd3.js";
7
7
  import {
8
8
  Service80
9
- } from "./tool-cxfezmj7.js";
9
+ } from "./file-mutation-zxp32vzh.js";
10
10
  import {
11
- Service67
12
- } from "./tool-a9rnddwt.js";
11
+ Service43
12
+ } from "./file-mutation-tkyqje11.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
16
  Source4
17
- } from "./tool-ksz6c1e3.js";
17
+ } from "./file-mutation-39h29zav.js";
18
18
  import {
19
- Service9
20
- } from "./tool-pnv527nz.js";
19
+ Service8
20
+ } from "./file-mutation-fhs97t90.js";
21
21
  import {
22
22
  parse2
23
- } from "./tool-q73ax3e3.js";
23
+ } from "./file-mutation-xdqge5f5.js";
24
24
  import {
25
25
  __export
26
- } from "./tool-9rqn6x4v.js";
26
+ } from "./file-mutation-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
- var exports_skill2 = {};
30
- __export(exports_skill2, {
31
- ConfigSkillPlugin: () => exports_skill2,
32
- Plugin: () => Plugin30
29
+ var exports_skill = {};
30
+ __export(exports_skill, {
31
+ ConfigSkillPlugin: () => exports_skill,
32
+ Plugin: () => Plugin17
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin30 = define({
39
+ var Plugin17 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service67;
43
- const discovery = yield* Service9;
42
+ const config = yield* Service43;
43
+ const discovery = yield* Service8;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
46
  const location = yield* Service80;
47
- const watcher = yield* Service68;
47
+ const watcher = yield* Service44;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -176,4 +176,4 @@ var Plugin30 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin30, exports_skill2 };
179
+ export { Plugin17, exports_skill };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./tool-qfa1cgps.js";
3
+ } from "./file-mutation-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID8
3
- } from "./tool-bbertzxx.js";
2
+ ID14
3
+ } from "./file-mutation-f6hh4wxd.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./tool-922hggd3.js";
6
+ } from "./file-mutation-922hggd3.js";
7
7
  import {
8
- Info21
9
- } from "./tool-f32czd11.js";
8
+ Info16
9
+ } from "./file-mutation-h2r7bbkd.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./tool-11tc0n79.js";
12
+ } from "./file-mutation-k9j777qh.js";
13
13
  import {
14
14
  latest2,
15
- Service67
16
- } from "./tool-a9rnddwt.js";
15
+ Service43
16
+ } from "./file-mutation-tkyqje11.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./tool-5daktx2q.js";
19
+ } from "./file-mutation-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./tool-9rqn6x4v.js";
22
+ } from "./file-mutation-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
25
  var exports_agent = {};
26
26
  __export(exports_agent, {
27
27
  ConfigAgentPlugin: () => exports_agent,
28
- Plugin: () => Plugin24
28
+ Plugin: () => Plugin16
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info21);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info16);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin24 = define({
47
+ var Plugin16 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service67;
50
+ const config = yield* Service43;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin24 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID8.make(configuredDefault));
79
+ editor.default(ID14.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID8.make(id);
85
+ const agentID = ID14.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin24, exports_agent };
164
+ export { Plugin16, exports_agent };