@opencode/core 0.0.0-dev-20003 → 0.0.0-dev-20006

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 +82 -82
  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/{file-fjcndyh6.js → image-0dq2z8tv.js} +9 -9
  8. package/dist/chunks/{file-jgvadg7f.js → image-0hbc4pey.js} +27 -27
  9. package/dist/chunks/{file-kz5gp9n9.js → image-0kem7bvd.js} +44 -44
  10. package/dist/chunks/{file-0paq2nw3.js → image-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{file-0q0f95c6.js → image-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{file-hnr5yq9h.js → image-0r7yqxbf.js} +5 -5
  13. package/dist/chunks/{file-twrzm18h.js → image-0wqqq2fr.js} +11 -11
  14. package/dist/chunks/{file-xb4nz3yw.js → image-10exa8s0.js} +15 -15
  15. package/dist/chunks/{file-1cq1dekj.js → image-173cpqtx.js} +44 -44
  16. package/dist/chunks/{file-3rqs9vk3.js → image-186v3xpn.js} +16 -16
  17. package/dist/chunks/{file-mvfsc1pv.js → image-1bbkgx8g.js} +3 -3
  18. package/dist/chunks/{file-1dazxqgg.js → image-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{file-txqar36n.js → image-1sb7p0dt.js} +13 -13
  20. package/dist/chunks/{file-21r38tys.js → image-21r38tys.js} +1 -1
  21. package/dist/chunks/{file-6h73sxmp.js → image-2402vzrj.js} +5 -5
  22. package/dist/chunks/{file-kpnhg8q0.js → image-29eyaswh.js} +5 -5
  23. package/dist/chunks/{file-2a5m3afh.js → image-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{file-6z8pkecr.js → image-2cyrvn8x.js} +16 -16
  25. package/dist/chunks/{file-qnbxrd86.js → image-2r47jwp9.js} +13 -13
  26. package/dist/chunks/{file-wyfsrm3h.js → image-2s2nkvc8.js} +25 -25
  27. package/dist/chunks/{file-smt9nx56.js → image-2wjfht85.js} +20 -20
  28. package/dist/chunks/{file-wjv2022v.js → image-2zve5a08.js} +25 -25
  29. package/dist/chunks/{file-x3taryep.js → image-30vt497d.js} +20 -20
  30. package/dist/chunks/{file-d5m60ny4.js → image-331knf88.js} +28 -28
  31. package/dist/chunks/{file-mfqp6xfm.js → image-33w4ejhs.js} +9 -9
  32. package/dist/chunks/{file-qzenpgs1.js → image-3a46yhs1.js} +7 -7
  33. package/dist/chunks/{file-8zccz2ek.js → image-3de8jbpy.js} +11 -11
  34. package/dist/chunks/{file-3fc6dm20.js → image-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{file-3hepkmqq.js → image-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{file-8c801g49.js → image-3jfaqhpt.js} +27 -27
  37. package/dist/chunks/{file-4j0j23ey.js → image-3kpaa0td.js} +3 -3
  38. package/dist/chunks/{file-pj55ck15.js → image-3mg2z7dk.js} +26 -26
  39. package/dist/chunks/{file-ze3aemja.js → image-3pbjq009.js} +11 -11
  40. package/dist/chunks/{file-3smtnn6g.js → image-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{file-3tvqynh2.js → image-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{file-z3pw5915.js → image-3w0fmcng.js} +5 -5
  43. package/dist/chunks/{file-7etxhnt7.js → image-41jpfm3y.js} +6 -6
  44. package/dist/chunks/{file-kq8bq8dw.js → image-47fdfwyn.js} +169 -169
  45. package/dist/chunks/{file-k8hpw67k.js → image-4a6jpjer.js} +5 -5
  46. package/dist/chunks/{file-4t3s258c.js → image-4j3qm3aa.js} +13 -13
  47. package/dist/chunks/{file-cptt9y6c.js → image-4kgn5hht.js} +6 -6
  48. package/dist/chunks/{file-az4mp36y.js → image-4sy14yqe.js} +20 -20
  49. package/dist/chunks/{file-yw8t9dwe.js → image-4w5f3qm5.js} +4 -4
  50. package/dist/chunks/{file-ahfn6acx.js → image-4yc7rcx0.js} +4 -4
  51. package/dist/chunks/{file-zvf7qddh.js → image-4z914n5c.js} +11 -11
  52. package/dist/chunks/{file-tt8rvt36.js → image-4zks2f0q.js} +5 -5
  53. package/dist/chunks/{file-ppxkdq9b.js → image-51vapca8.js} +14 -14
  54. package/dist/chunks/{file-jgtvd3t4.js → image-562q7wbc.js} +3 -3
  55. package/dist/chunks/{file-f5gy8qwh.js → image-56b3zt1s.js} +8 -8
  56. package/dist/chunks/{file-57ez7d0k.js → image-57ez7d0k.js} +2 -2
  57. package/dist/chunks/{file-qqaq1tbn.js → image-5bd42syd.js} +29 -29
  58. package/dist/chunks/{file-a1bz86dw.js → image-5c4hm403.js} +3 -3
  59. package/dist/chunks/{file-5daktx2q.js → image-5daktx2q.js} +1 -1
  60. package/dist/chunks/{file-5ekn9679.js → image-5ekn9679.js} +1 -1
  61. package/dist/chunks/{file-bqytp8dw.js → image-5h461sw9.js} +8 -8
  62. package/dist/chunks/{file-ep1x895y.js → image-5pnw7v32.js} +35 -35
  63. package/dist/chunks/{file-xyv4p6em.js → image-5pwncfkc.js} +22 -22
  64. package/dist/chunks/{file-e3qxr5gk.js → image-5qd3pb7m.js} +2 -2
  65. package/dist/chunks/{file-3cndm9je.js → image-5qtcqs7h.js} +24 -24
  66. package/dist/chunks/{file-5t3nmthw.js → image-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{file-mg83p4ch.js → image-5z5bvwse.js} +31 -31
  68. package/dist/chunks/{file-vy4zg7qh.js → image-607q5haz.js} +5 -5
  69. package/dist/chunks/{file-669tq793.js → image-669tq793.js} +1 -1
  70. package/dist/chunks/{file-9d2rp1cq.js → image-69h1251q.js} +9 -9
  71. package/dist/chunks/{file-3gj0hb40.js → image-6azszf0a.js} +11 -11
  72. package/dist/chunks/{file-5gs6ad6e.js → image-6h8hy4mr.js} +17 -17
  73. package/dist/chunks/image-6kdq0pjd.js +4 -0
  74. package/dist/chunks/{file-6msgmcgs.js → image-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{file-bk8ffd6t.js → image-6p6ynqbb.js} +26 -26
  76. package/dist/chunks/{file-k1es8bc8.js → image-6qv2tz5h.js} +8 -8
  77. package/dist/chunks/{file-x4fdevfx.js → image-6vzndrx9.js} +17 -17
  78. package/dist/chunks/{file-25ajpb73.js → image-6w5959sb.js} +3 -3
  79. package/dist/chunks/{file-sezme2zf.js → image-6y6gh17j.js} +11 -11
  80. package/dist/chunks/{file-dsppwhma.js → image-71mkcn1r.js} +11 -11
  81. package/dist/chunks/{file-p50sa4k8.js → image-74csta2h.js} +26 -26
  82. package/dist/chunks/{file-vkxpz7g2.js → image-7ac170kv.js} +4 -4
  83. package/dist/chunks/{file-7bmhse3q.js → image-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{file-ycv0w0a9.js → image-7c1v976m.js} +24 -24
  85. package/dist/chunks/{file-qgn6gcr1.js → image-7dqw4kz8.js} +5 -5
  86. package/dist/chunks/{file-cgm0pb56.js → image-7pas1d4n.js} +12 -12
  87. package/dist/chunks/{file-qm374v6w.js → image-7qhv4691.js} +11 -11
  88. package/dist/chunks/{file-0nj76588.js → image-89kyrcsf.js} +15 -15
  89. package/dist/chunks/{file-yqcrm5rh.js → image-8d4xtxp9.js} +6 -6
  90. package/dist/chunks/{file-8d7r5vzw.js → image-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{file-vdpncwhs.js → image-8dar51kt.js} +25 -25
  92. package/dist/chunks/{file-xdvkratw.js → image-8fyyqzq4.js} +12 -12
  93. package/dist/chunks/{file-ay0ceryn.js → image-938vt2d6.js} +18 -18
  94. package/dist/chunks/{file-a42rk15d.js → image-9cj48zab.js} +23 -23
  95. package/dist/chunks/{file-ppgzpeqf.js → image-9kzkn7eg.js} +25 -25
  96. package/dist/chunks/{file-r4jnj0e8.js → image-9nkdv7c2.js} +10 -10
  97. package/dist/chunks/{file-zf6fk84t.js → image-9nn0v0s4.js} +8 -8
  98. package/dist/chunks/{file-ze7vmps7.js → image-9v1mpwvv.js} +33 -33
  99. package/dist/chunks/{file-ak8wweg5.js → image-a3r4dcrj.js} +2 -2
  100. package/dist/chunks/{file-xmnpnma7.js → image-a492eg67.js} +10 -10
  101. package/dist/chunks/{file-aaet6srn.js → image-aaet6srn.js} +2 -2
  102. package/dist/chunks/{file-c8gxxwp7.js → image-ahk0vccf.js} +38 -38
  103. package/dist/chunks/{file-ftcx6nj6.js → image-am88kmff.js} +24 -24
  104. package/dist/chunks/{file-9899r06h.js → image-askrbw57.js} +14 -14
  105. package/dist/chunks/{file-0g3aqr52.js → image-ayy92s6e.js} +13 -13
  106. package/dist/chunks/{file-g8d3gcyj.js → image-b27vhd2z.js} +7 -7
  107. package/dist/chunks/{file-b6gygkdw.js → image-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{file-d5d0dfzv.js → image-ba5nqppt.js} +28 -28
  109. package/dist/chunks/{file-63kmhf8y.js → image-bczcn6w4.js} +4 -4
  110. package/dist/chunks/{file-df9g2pwv.js → image-bg8akm6q.js} +84 -84
  111. package/dist/chunks/{file-x911a3rn.js → image-bm8h0423.js} +14 -14
  112. package/dist/chunks/{file-9qwpg2je.js → image-bsf00r8m.js} +38 -38
  113. package/dist/chunks/{file-mggvfrpa.js → image-c1g2sg74.js} +6 -6
  114. package/dist/chunks/{file-yrtahcj6.js → image-c65bk09p.js} +24 -24
  115. package/dist/chunks/{file-n9rh2a3m.js → image-c6tkka2d.js} +23 -23
  116. package/dist/chunks/{file-ypf2r24a.js → image-c6wxt469.js} +14 -14
  117. package/dist/chunks/{file-1yaq039p.js → image-c9ttrcnj.js} +15 -15
  118. package/dist/chunks/{file-eh0zrp3v.js → image-ccjm5jwm.js} +2 -2
  119. package/dist/chunks/{file-cwa6csj7.js → image-cpneeje0.js} +9 -9
  120. package/dist/chunks/{file-5xzfw7ns.js → image-ctcwtzvf.js} +4 -4
  121. package/dist/chunks/{file-zz2qg7p3.js → image-cvgmfefw.js} +7 -7
  122. package/dist/chunks/{file-5xtgfte3.js → image-czfptnv9.js} +8 -8
  123. package/dist/chunks/{file-d26jp9g7.js → image-d0db64mf.js} +14 -14
  124. package/dist/chunks/{file-rcgs7rjg.js → image-d2w700dw.js} +20 -20
  125. package/dist/chunks/{file-gtfshpks.js → image-d6nyrcj2.js} +83 -83
  126. package/dist/chunks/{file-sn8k5w5s.js → image-d897rehy.js} +9 -9
  127. package/dist/chunks/{file-4s7j885y.js → image-d94r6qj5.js} +24 -24
  128. package/dist/chunks/{file-sg6affy2.js → image-daz99daz.js} +4 -4
  129. package/dist/chunks/{file-wx970249.js → image-dfvycwty.js} +52 -52
  130. package/dist/chunks/{file-8p4f9s12.js → image-dj2t23y0.js} +2 -2
  131. package/dist/chunks/{file-y71avatq.js → image-dpkg50ah.js} +4 -4
  132. package/dist/chunks/{file-drwq78ky.js → image-drwq78ky.js} +1 -1
  133. package/dist/chunks/{file-jy05rcjm.js → image-ed90htb6.js} +13 -13
  134. package/dist/chunks/{file-ef5x83kb.js → image-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{file-1f5fh47k.js → image-ef9gv310.js} +11 -11
  136. package/dist/chunks/{file-85s8v53t.js → image-ehvx6czw.js} +3 -3
  137. package/dist/chunks/{file-bp3526j7.js → image-en6ej7pb.js} +29 -29
  138. package/dist/chunks/{file-erw5rpbs.js → image-erw5rpbs.js} +2 -2
  139. package/dist/chunks/{file-etq0c3wd.js → image-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{file-fqj9nv8j.js → image-etzz3kcr.js} +8 -8
  141. package/dist/chunks/{file-p51p3jcg.js → image-f3ngv102.js} +21 -21
  142. package/dist/chunks/{file-at64addj.js → image-f8qe00s5.js} +27 -27
  143. package/dist/chunks/{file-aj65n88x.js → image-fjq2xkn5.js} +4 -4
  144. package/dist/chunks/{file-fp6js440.js → image-g0kyh3qv.js} +10 -10
  145. package/dist/chunks/{file-pqjwr6wn.js → image-g169rf3a.js} +27 -27
  146. package/dist/chunks/{file-gbfgt6sn.js → image-g1ehtde2.js} +47 -47
  147. package/dist/chunks/{file-f2y9n0vy.js → image-g506jvv0.js} +6 -6
  148. package/dist/chunks/{file-rnsnxg5k.js → image-g52y0c92.js} +10 -10
  149. package/dist/chunks/{file-wgz7hchk.js → image-gaq06wk0.js} +6 -6
  150. package/dist/chunks/{file-gd4qta3r.js → image-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{file-hqs29f2b.js → image-ghyv0by5.js} +16 -16
  152. package/dist/chunks/{file-q15mr003.js → image-ghz97e63.js} +13 -13
  153. package/dist/chunks/{file-gv6a8nnw.js → image-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{file-ck8hsc54.js → image-h00wc835.js} +2 -2
  155. package/dist/chunks/{file-ebe9bak5.js → image-h6r3nrb9.js} +4 -4
  156. package/dist/chunks/{file-h6vf3j39.js → image-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{file-fhs97t90.js → image-h7ygw6q4.js} +9 -9
  158. package/dist/chunks/{file-mh1qkymb.js → image-hc4fnx3k.js} +4 -4
  159. package/dist/chunks/{file-f828m53h.js → image-hdnk95c8.js} +2 -2
  160. package/dist/chunks/{file-zqjzf2ta.js → image-hjkzpa7r.js} +319 -319
  161. package/dist/chunks/{file-yt0fqk68.js → image-hkfg6fzm.js} +5 -5
  162. package/dist/chunks/{file-7z6w84v8.js → image-hwk6cm66.js} +35 -35
  163. package/dist/chunks/{file-7wrm002y.js → image-hzam0k1f.js} +10 -10
  164. package/dist/chunks/{file-dne7xynx.js → image-j14qg5xv.js} +18 -18
  165. package/dist/chunks/{file-j56e64zr.js → image-j56e64zr.js} +1 -1
  166. package/dist/chunks/{file-kncnnm9v.js → image-j9jbccy5.js} +11 -11
  167. package/dist/chunks/{file-fqka1xvk.js → image-jexxy024.js} +3 -3
  168. package/dist/chunks/{file-gam671ft.js → image-k0pwyxrd.js} +1 -1
  169. package/dist/chunks/{file-hmr5kz4g.js → image-kaj3fc1v.js} +9 -9
  170. package/dist/chunks/{file-sd5vfqt4.js → image-kgknqqx1.js} +28 -28
  171. package/dist/chunks/{file-n2q888ww.js → image-kkgqwbhz.js} +8 -8
  172. package/dist/chunks/{file-961898vc.js → image-kmzbkppp.js} +9 -9
  173. package/dist/chunks/{file-fkjmw100.js → image-knb7evpn.js} +6 -6
  174. package/dist/chunks/{file-89e39zcy.js → image-kxpygcw9.js} +6 -6
  175. package/dist/chunks/{file-hb5p3hph.js → image-ky1wqy4d.js} +6 -6
  176. package/dist/chunks/{file-cfpkc3c9.js → image-m0jqrx5p.js} +2 -2
  177. package/dist/chunks/{file-80scg3y3.js → image-m0r31qfn.js} +4 -4
  178. package/dist/chunks/{file-nqcmdb0w.js → image-m3c3c009.js} +27 -27
  179. package/dist/chunks/{file-m3fdjcah.js → image-m3fdjcah.js} +1 -1
  180. package/dist/chunks/{file-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/image-mj9f1fhh.js +252 -0
  182. package/dist/chunks/{file-rsc9fyh1.js → image-mksgfzgs.js} +6 -6
  183. package/dist/chunks/{file-46mjq1pt.js → image-mqjt19q2.js} +16 -16
  184. package/dist/chunks/{file-9m26091w.js → image-mrfxdnhj.js} +28 -28
  185. package/dist/chunks/{file-d9dt1v1f.js → image-msrm0et3.js} +4 -4
  186. package/dist/chunks/{file-sqafhkxq.js → image-mtfpdj4s.js} +20 -20
  187. package/dist/chunks/{file-9rsv4pta.js → image-mw6hmxw7.js} +12 -12
  188. package/dist/chunks/{file-5bxvyw76.js → image-mwjwfxbw.js} +16 -16
  189. package/dist/chunks/{file-8bnmerw3.js → image-mxg9zmwk.js} +26 -26
  190. package/dist/chunks/{file-epe0b0fd.js → image-n3p8zf4b.js} +20 -20
  191. package/dist/chunks/{file-9d637bmc.js → image-n76j5b51.js} +5 -5
  192. package/dist/chunks/{file-f8eamx95.js → image-nw24pgk5.js} +41 -41
  193. package/dist/chunks/{file-54b10ezm.js → image-nwj13746.js} +15 -15
  194. package/dist/chunks/{file-m7zf272p.js → image-nxsy2y7z.js} +5 -5
  195. package/dist/chunks/{file-k3c624dm.js → image-nzks3jc8.js} +3 -3
  196. package/dist/chunks/{file-p28j5sbe.js → image-p28j5sbe.js} +2 -2
  197. package/dist/chunks/{file-x5e9capc.js → image-pccj551n.js} +5 -5
  198. package/dist/chunks/{file-qq4qjjy7.js → image-pf65k87v.js} +24 -24
  199. package/dist/chunks/{file-s08w5vyw.js → image-pfm0qd87.js} +37 -37
  200. package/dist/chunks/{file-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{file-4h7fv3fp.js → image-pjx495pd.js} +20 -20
  202. package/dist/chunks/{file-pknna89w.js → image-pknna89w.js} +1 -1
  203. package/dist/chunks/{file-sxzvkvgj.js → image-prmgem5b.js} +6 -6
  204. package/dist/chunks/{file-jd2ww0mk.js → image-q5jh1fb4.js} +1 -1
  205. package/dist/chunks/image-qc068m1q.js +18 -0
  206. package/dist/chunks/{file-b6apyc6e.js → image-qmsdj5ty.js} +43 -43
  207. package/dist/chunks/{file-pjedbq3k.js → image-qq8x5mwt.js} +5 -5
  208. package/dist/chunks/{file-qsdy395h.js → image-qsdy395h.js} +1 -1
  209. package/dist/chunks/{file-yp2x3t23.js → image-r8xr0va3.js} +4 -4
  210. package/dist/chunks/{file-rqhsstds.js → image-r9np7b10.js} +17 -17
  211. package/dist/chunks/{file-wk5z6jzv.js → image-r9w3djhf.js} +9 -9
  212. package/dist/chunks/{file-rdw6cm16.js → image-rdw6cm16.js} +1 -1
  213. package/dist/chunks/{file-d79a47f7.js → image-rmp6454a.js} +5 -5
  214. package/dist/chunks/{file-pkvxx0dx.js → image-rpk92v1f.js} +22 -22
  215. package/dist/chunks/{file-2vs2nh1n.js → image-rwm5vee1.js} +4 -4
  216. package/dist/chunks/{file-azx1z7rw.js → image-rx7459vr.js} +27 -27
  217. package/dist/chunks/image-rzyd1vqx.js +26 -0
  218. package/dist/chunks/{file-0gdmqesm.js → image-s8d7rejh.js} +4 -4
  219. package/dist/chunks/{file-vpwvqgnv.js → image-sczk8sc9.js} +7 -7
  220. package/dist/chunks/{file-xe9t6z83.js → image-smqvnbx5.js} +11 -11
  221. package/dist/chunks/{file-mq6pntxv.js → image-spcdvtsy.js} +11 -11
  222. package/dist/chunks/{file-pf9pgydg.js → image-ssdqnhy0.js} +4 -4
  223. package/dist/chunks/{file-a0pvmwfx.js → image-t0wvvjy4.js} +11 -11
  224. package/dist/chunks/{file-kqjrebtm.js → image-t2xq3ndf.js} +18 -18
  225. package/dist/chunks/{file-j6m77yeb.js → image-t336cqnw.js} +28 -28
  226. package/dist/chunks/{file-4j7mpkgx.js → image-t3jy044j.js} +21 -21
  227. package/dist/chunks/{file-bf0ztrs3.js → image-t9zs3egg.js} +4 -4
  228. package/dist/chunks/{file-tazgh4e4.js → image-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{file-crtqttvk.js → image-tbe0yh0n.js} +22 -22
  230. package/dist/chunks/{file-89znhe33.js → image-tcezcvh9.js} +4 -4
  231. package/dist/chunks/{file-tdstcens.js → image-tdstcens.js} +1 -1
  232. package/dist/chunks/{file-1xagxxtw.js → image-tghr4gv7.js} +33 -33
  233. package/dist/chunks/{file-tvtrv512.js → image-tvtrv512.js} +1 -1
  234. package/dist/chunks/{file-6kx7krqt.js → image-v2d4nfg6.js} +70 -70
  235. package/dist/chunks/{file-37mwd34b.js → image-v3sgzvyr.js} +1 -1
  236. package/dist/chunks/{file-r6bcthm8.js → image-v5wa63ar.js} +10 -10
  237. package/dist/chunks/{file-bgs9y14h.js → image-v6ghzfeb.js} +5 -5
  238. package/dist/chunks/{file-84as8cq2.js → image-v8qha12t.js} +8 -8
  239. package/dist/chunks/{file-veqvce7d.js → image-veqvce7d.js} +1 -1
  240. package/dist/chunks/{file-0vrwetc9.js → image-vfd4qxz2.js} +15 -15
  241. package/dist/chunks/{file-48pac6vd.js → image-vhmj078x.js} +13 -13
  242. package/dist/chunks/{file-bpr04gve.js → image-vjqycgcg.js} +11 -11
  243. package/dist/chunks/{file-0mpqr77g.js → image-vnm9krcg.js} +16 -16
  244. package/dist/chunks/{file-vstag346.js → image-vpcr0tzx.js} +22 -22
  245. package/dist/chunks/{file-3pbgv27k.js → image-vvw75pzs.js} +24 -24
  246. package/dist/chunks/{file-bxf8jet0.js → image-vvx4scmw.js} +21 -21
  247. package/dist/chunks/{file-vzcthcp8.js → image-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{file-syfkgjgr.js → image-w0xzj0tq.js} +29 -29
  249. package/dist/chunks/{file-gaqvx1xw.js → image-w3encw62.js} +3 -3
  250. package/dist/chunks/{file-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{file-nrkwc0dg.js → image-w7pqkv4e.js} +15 -15
  252. package/dist/chunks/{file-5nsey3wr.js → image-w9tg0pj8.js} +7 -7
  253. package/dist/chunks/{file-z2jtgbj0.js → image-wachdqys.js} +4 -4
  254. package/dist/chunks/{file-wd87259q.js → image-wd87259q.js} +1 -1
  255. package/dist/chunks/{file-vvf56fbk.js → image-wedyt5kt.js} +44 -44
  256. package/dist/chunks/{file-g6dwdzmh.js → image-wrpf7kpx.js} +5 -5
  257. package/dist/chunks/{file-w587stx7.js → image-wwbsa95s.js} +9 -9
  258. package/dist/chunks/{file-x1ezjp6w.js → image-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{file-9h3wk7z7.js → image-x2aneysw.js} +10 -10
  260. package/dist/chunks/{file-99xay3p1.js → image-x5c3aeq5.js} +8 -8
  261. package/dist/chunks/{file-pyfqw2rm.js → image-x5xthkqs.js} +5 -5
  262. package/dist/chunks/{file-wpm2rk0p.js → image-x8cycxf4.js} +6 -6
  263. package/dist/chunks/{file-f8drsx4b.js → image-xc182qv4.js} +23 -23
  264. package/dist/chunks/{file-h04zhhvt.js → image-xdrba4jw.js} +9 -9
  265. package/dist/chunks/{file-6c4shfhc.js → image-xpknqd88.js} +44 -44
  266. package/dist/chunks/{file-51egpm6x.js → image-xycsd9rr.js} +33 -33
  267. package/dist/chunks/{file-j6cy3yns.js → image-xzpgrndz.js} +11 -11
  268. package/dist/chunks/{file-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{file-93x6jy41.js → image-y2h1vj9s.js} +2 -2
  270. package/dist/chunks/{file-a2vvwmx1.js → image-y48wrjg8.js} +24 -24
  271. package/dist/chunks/{file-eczzbh8s.js → image-y6cmh0fw.js} +15 -15
  272. package/dist/chunks/{file-bgpx11m8.js → image-yawka9q3.js} +15 -15
  273. package/dist/chunks/{file-n7rhs6pj.js → image-ybhbtxjg.js} +9 -9
  274. package/dist/chunks/{file-n31tt50y.js → image-ydz4e7k1.js} +22 -22
  275. package/dist/chunks/{file-yrhqyw5v.js → image-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{file-s4enseaf.js → image-yrznvahk.js} +2 -2
  277. package/dist/chunks/{file-0pf2e52h.js → image-yw7cjn17.js} +3 -3
  278. package/dist/chunks/{file-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{file-nknv447d.js → image-z1a1r82q.js} +46 -46
  280. package/dist/chunks/{file-29x78va6.js → image-z63w68vq.js} +6 -6
  281. package/dist/chunks/{file-0wcwk7gc.js → image-z6qfc3y3.js} +24 -24
  282. package/dist/chunks/{file-yrf5hh55.js → image-z7vss07q.js} +13 -13
  283. package/dist/chunks/{file-np51y1wd.js → image-z8n9wp4m.js} +6 -6
  284. package/dist/chunks/{file-3pt707jp.js → image-zby6yqdy.js} +7 -7
  285. package/dist/chunks/{file-zeh9ct20.js → image-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{file-1080qp6z.js → image-zj09a0ew.js} +4 -4
  287. package/dist/chunks/{file-zdtzvc09.js → image-zqdbm9z2.js} +5 -5
  288. package/dist/chunks/{file-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{file-b0smj49a.js → image-zt9p3yjk.js} +6 -6
  290. package/dist/chunks/{file-94xx1xn7.js → image-zww8syw5.js} +25 -25
  291. package/dist/chunks/{file-zxq2ej10.js → image-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +5 -5
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +84 -84
  297. package/dist/config/discovery.js +83 -83
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +105 -105
  300. package/dist/config/plugin/agent.js +124 -124
  301. package/dist/config/plugin/command.js +213 -213
  302. package/dist/config/plugin/compaction.js +161 -161
  303. package/dist/config/plugin/compatibility.js +140 -140
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +123 -123
  306. package/dist/config/plugin/image.js +122 -122
  307. package/dist/config/plugin/instruction.js +89 -89
  308. package/dist/config/plugin/location-watcher.js +124 -124
  309. package/dist/config/plugin/mcp.js +131 -131
  310. package/dist/config/plugin/policy.js +123 -123
  311. package/dist/config/plugin/provider.js +122 -122
  312. package/dist/config/plugin/reference.js +124 -124
  313. package/dist/config/plugin/shell.js +124 -124
  314. package/dist/config/plugin/skill-file.js +101 -101
  315. package/dist/config/plugin/skill.js +143 -143
  316. package/dist/config/plugin/snapshot.js +122 -122
  317. package/dist/config/plugin/source.js +123 -123
  318. package/dist/config/plugin/tool-output.js +124 -124
  319. package/dist/config/plugin/websearch.js +123 -123
  320. package/dist/config/plugin/worktree.js +124 -124
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +127 -127
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +82 -82
  326. package/dist/database/database.js +65 -65
  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.gen.js +48 -48
  391. package/dist/database/migration.js +50 -50
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +75 -75
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +364 -364
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +92 -92
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +92 -92
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +69 -69
  415. package/dist/file-access.js +103 -103
  416. package/dist/file-mutation.js +93 -93
  417. package/dist/file-retention.js +1 -1
  418. package/dist/file.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 +226 -226
  426. package/dist/filesystem/protected.js +3 -3
  427. package/dist/filesystem/search.js +102 -102
  428. package/dist/filesystem/watcher-binding.js +3 -3
  429. package/dist/filesystem/watcher.js +13 -13
  430. package/dist/filesystem.js +107 -107
  431. package/dist/form.js +83 -83
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +84 -84
  434. package/dist/generate.js +104 -104
  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 +90 -90
  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 +360 -360
  460. package/dist/instruction-discovery.js +84 -84
  461. package/dist/instructions/builtins.js +86 -86
  462. package/dist/instructions/index.js +3 -3
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +85 -85
  465. package/dist/job.js +76 -76
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +72 -72
  468. package/dist/location-activity.js +128 -128
  469. package/dist/location-lifecycle.js +105 -105
  470. package/dist/location-mutation.js +103 -103
  471. package/dist/location-service-map.js +81 -81
  472. package/dist/location-services.js +357 -357
  473. package/dist/location.js +80 -80
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +90 -90
  476. package/dist/mcp/index.js +103 -103
  477. package/dist/mcp/instructions.js +125 -125
  478. package/dist/mcp/oauth.js +77 -77
  479. package/dist/mcp/stdio.js +89 -89
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +90 -90
  482. package/dist/model-resolver.js +97 -97
  483. package/dist/model.js +101 -101
  484. package/dist/models-dev.js +102 -102
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +79 -79
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +114 -114
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +87 -87
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +74 -74
  494. package/dist/plugin/agent.js +103 -103
  495. package/dist/plugin/command.js +100 -100
  496. package/dist/plugin/compaction.js +132 -132
  497. package/dist/plugin/hooks.js +3 -3
  498. package/dist/plugin/host.js +217 -217
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +331 -331
  502. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  503. package/dist/plugin/models-dev.js +95 -95
  504. package/dist/plugin/module.js +5 -5
  505. package/dist/plugin/optimize.js +4 -4
  506. package/dist/plugin/plan.js +101 -101
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  509. package/dist/plugin/provider/azure.js +121 -121
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +118 -118
  515. package/dist/plugin/provider/digitalocean.js +92 -92
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +92 -92
  520. package/dist/plugin/provider/gitlab.js +90 -90
  521. package/dist/plugin/provider/google-vertex.js +89 -89
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +76 -76
  524. package/dist/plugin/provider/lmstudio.js +121 -121
  525. package/dist/plugin/provider/modal.js +91 -91
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +121 -121
  528. package/dist/plugin/provider/openai.js +93 -93
  529. package/dist/plugin/provider/opencode.js +93 -93
  530. package/dist/plugin/provider/openrouter.js +90 -90
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +77 -77
  533. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  534. package/dist/plugin/provider/sap-ai-core.js +90 -90
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +89 -89
  539. package/dist/plugin/provider/vllm.js +121 -121
  540. package/dist/plugin/provider/xai.js +90 -90
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +159 -159
  543. package/dist/plugin/sdk.js +75 -75
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +138 -138
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +350 -350
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +85 -85
  551. package/dist/plugin/vcs/hg.js +85 -85
  552. package/dist/plugin/warming.js +120 -120
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +6 -6
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +6 -6
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +6 -6
  560. package/dist/plugin.js +228 -228
  561. package/dist/project/schema.js +2 -2
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +79 -79
  564. package/dist/provider.js +98 -98
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/schema.js +3 -3
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +95 -95
  569. package/dist/reference/instructions.js +86 -86
  570. package/dist/reference.js +90 -90
  571. package/dist/repository-cache.js +80 -80
  572. package/dist/repository.js +3 -3
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +96 -96
  575. package/dist/rpc.js +85 -85
  576. package/dist/schema.js +1 -1
  577. package/dist/session/command.js +73 -73
  578. package/dist/session/compaction.js +131 -131
  579. package/dist/session/context.js +151 -151
  580. package/dist/session/diff.js +87 -87
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +7 -7
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +220 -220
  585. package/dist/session/execution.js +127 -127
  586. package/dist/session/generate.js +152 -152
  587. package/dist/session/history.js +15 -15
  588. package/dist/session/inbox.js +89 -89
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +78 -78
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +96 -96
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +118 -118
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +129 -129
  598. package/dist/session/projector.js +85 -85
  599. package/dist/session/prompt.js +104 -104
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +89 -89
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +230 -230
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +97 -97
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +113 -113
  609. package/dist/session/runner/step.js +125 -125
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +171 -171
  613. package/dist/session/shell.js +137 -137
  614. package/dist/session/skill.js +102 -102
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +72 -72
  617. package/dist/session/store.js +86 -86
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +209 -209
  620. package/dist/session/system-prompt.js +1 -1
  621. package/dist/session/title.js +155 -155
  622. package/dist/session/to-session-error.js +110 -110
  623. package/dist/session/transfer.js +213 -213
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +217 -217
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +15 -15
  630. package/dist/shell.js +137 -137
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +106 -106
  633. package/dist/skill.js +109 -109
  634. package/dist/snapshot.js +92 -92
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +124 -124
  639. package/dist/tool/plugin/edit.js +119 -119
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +123 -123
  642. package/dist/tool/plugin/grep.js +123 -123
  643. package/dist/tool/plugin/opencode.js +3 -3
  644. package/dist/tool/plugin/patch.js +119 -119
  645. package/dist/tool/plugin/question.js +104 -104
  646. package/dist/tool/plugin/read.js +124 -124
  647. package/dist/tool/plugin/shell.js +216 -216
  648. package/dist/tool/plugin/skill.js +110 -110
  649. package/dist/tool/plugin/subagent.js +218 -218
  650. package/dist/tool/plugin/webfetch.js +111 -111
  651. package/dist/tool/plugin/websearch.js +107 -107
  652. package/dist/tool/plugin/write.js +119 -119
  653. package/dist/tool/read-filesystem.js +99 -99
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +6 -6
  656. package/dist/tool.js +16 -16
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +7 -7
  667. package/dist/v1/config/attachment.js +4 -4
  668. package/dist/v1/config/command.js +5 -5
  669. package/dist/v1/config/config.js +16 -16
  670. package/dist/v1/config/error.js +4 -4
  671. package/dist/v1/config/formatter.js +3 -3
  672. package/dist/v1/config/layout.js +1 -1
  673. package/dist/v1/config/lsp.js +5 -5
  674. package/dist/v1/config/mcp.js +4 -4
  675. package/dist/v1/config/migrate.js +91 -91
  676. package/dist/v1/config/permission.js +7 -7
  677. package/dist/v1/config/plugin.js +3 -3
  678. package/dist/v1/config/provider-options.js +1 -1
  679. package/dist/v1/config/provider.js +4 -4
  680. package/dist/v1/config/server.js +2 -2
  681. package/dist/v1/config/skills.js +3 -3
  682. package/dist/v1/permission.js +1 -1
  683. package/dist/variant.js +90 -90
  684. package/dist/vcs/patch.js +1 -1
  685. package/dist/vcs.js +88 -88
  686. package/dist/websearch.js +83 -83
  687. package/dist/wellknown/plugin.js +73 -73
  688. package/dist/wellknown.js +80 -80
  689. package/dist/workspace/driver.js +5 -5
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +77 -77
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +10 -10
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +88 -88
  696. package/dist/worktree.js +97 -97
  697. package/package.json +8 -8
  698. package/dist/chunks/file-0mesazry.js +0 -4
  699. package/dist/chunks/file-q509s3k3.js +0 -18
  700. package/dist/chunks/file-v3m8zswr.js +0 -26
  701. package/dist/chunks/file-xvs8zake.js +0 -252
  702. /package/dist/chunks/{file-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{file-0zkw76rk.js → image-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{file-17cy0kzp.js → image-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{file-1cnp2v09.js → image-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{file-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{file-24dcb14g.js → image-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{file-2710q6r3.js → image-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{file-2axfhc9x.js → image-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{file-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{file-359p4xyc.js → image-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{file-3asan66x.js → image-3asan66x.js} +0 -0
  713. /package/dist/chunks/{file-3v8g72cx.js → image-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{file-3w5fmr99.js → image-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{file-3wcehsnq.js → image-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{file-43n2bw4t.js → image-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{file-4knz6hnm.js → image-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{file-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{file-4y7fprxs.js → image-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{file-53557ph1.js → image-53557ph1.js} +0 -0
  721. /package/dist/chunks/{file-550bvhaj.js → image-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{file-6prwharc.js → image-6prwharc.js} +0 -0
  723. /package/dist/chunks/{file-7akdwqpd.js → image-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{file-7m9af43g.js → image-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{file-822emrt2.js → image-822emrt2.js} +0 -0
  726. /package/dist/chunks/{file-88xbtdfr.js → image-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{file-8n3pysct.js → image-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{file-922hggd3.js → image-922hggd3.js} +0 -0
  729. /package/dist/chunks/{file-9a4afbnw.js → image-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{file-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{file-a6k6eb26.js → image-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{file-af5trqkr.js → image-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{file-afrmfg78.js → image-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{file-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{file-atq7p7m5.js → image-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{file-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{file-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{file-cf4snx6d.js → image-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{file-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{file-d9fn303g.js → image-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{file-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{file-dajrwvna.js → image-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{file-dap0rakb.js → image-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{file-df08tz66.js → image-df08tz66.js} +0 -0
  745. /package/dist/chunks/{file-dy18nga0.js → image-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{file-e5kj55wp.js → image-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{file-e73j6tqm.js → image-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{file-ec1grn59.js → image-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{file-eh3zwz77.js → image-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{file-emrn6kk6.js → image-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{file-f0mxakyp.js → image-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{file-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{file-faypxj3z.js → image-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{file-fd410y7t.js → image-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{file-fxgpk5d8.js → image-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{file-g4wezp1m.js → image-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{file-g86h250q.js → image-g86h250q.js} +0 -0
  758. /package/dist/chunks/{file-gebd4c9n.js → image-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{file-gftt206x.js → image-gftt206x.js} +0 -0
  760. /package/dist/chunks/{file-hjbc5kem.js → image-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{file-hk9envan.js → image-hk9envan.js} +0 -0
  762. /package/dist/chunks/{file-j2ntwpah.js → image-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{file-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{file-jjkms2e6.js → image-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{file-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{file-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{file-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{file-mp448xyj.js → image-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{file-msx8hqn2.js → image-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{file-n05xt0ee.js → image-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{file-n3j8tn72.js → image-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{file-njntx4h6.js → image-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{file-q3sfg36h.js → image-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{file-q74kybfr.js → image-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{file-qaymkmh1.js → image-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{file-qb87gjwd.js → image-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{file-qfa1cgps.js → image-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{file-qg3g05ea.js → image-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{file-qrg20bc0.js → image-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{file-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{file-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{file-sk3qaz4a.js → image-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{file-ssg3fenm.js → image-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{file-twg0f83k.js → image-twg0f83k.js} +0 -0
  785. /package/dist/chunks/{file-w803qqfp.js → image-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{file-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{file-wer8tq1h.js → image-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{file-wtztk69x.js → image-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{file-x0ckcb58.js → image-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{file-x61499pn.js → image-x61499pn.js} +0 -0
  791. /package/dist/chunks/{file-y44na4kk.js → image-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{file-y8cydn3q.js → image-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{file-y8f7s663.js → image-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{file-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{file-ym463w8f.js → image-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{file-z9919s4g.js → image-z9919s4g.js} +0 -0
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./file-aj65n88x.js";
4
+ } from "./image-fjq2xkn5.js";
5
5
  import {
6
- Service31,
7
- node34
8
- } from "./file-6c4shfhc.js";
6
+ Service32,
7
+ node36
8
+ } from "./image-xpknqd88.js";
9
9
  import {
10
- Service44,
11
- node46
12
- } from "./file-wx970249.js";
10
+ Service66,
11
+ node70
12
+ } from "./image-dfvycwty.js";
13
13
  import {
14
- Service71,
15
- node74
16
- } from "./file-n9rh2a3m.js";
14
+ Service39,
15
+ node42
16
+ } from "./image-c6tkka2d.js";
17
17
  import {
18
18
  __export
19
- } from "./file-9rqn6x4v.js";
19
+ } from "./image-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service29,
25
+ Service: () => Service31,
26
26
  layer: () => layer12,
27
- name: () => name14,
27
+ name: () => name13,
28
28
  namespace: () => namespace2,
29
- node: () => node32
29
+ node: () => node35
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service29 extends Context.Service()("@opencode/McpTool") {
38
+ class Service31 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer12 = Layer.effect(Service29, Effect.gen(function* () {
41
- const mcp = yield* Service31;
42
- const tools = yield* Service71;
40
+ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
41
+ const mcp = yield* Service32;
42
+ const tools = yield* Service39;
43
43
  const bus = yield* Service83;
44
- const permission = yield* Service44;
44
+ const permission = yield* Service66;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -56,7 +56,7 @@ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
56
56
  output: tool.outputSchema ?? {},
57
57
  execute: (input, context) => Effect.gen(function* () {
58
58
  yield* permission.assert({
59
- action: name14(tool.server, tool.name),
59
+ action: name13(tool.server, tool.name),
60
60
  resources: ["*"],
61
61
  save: ["*"],
62
62
  metadata: {},
@@ -105,7 +105,7 @@ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
105
105
  output: output(),
106
106
  ...content.length === 0 ? {} : { content }
107
107
  };
108
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
108
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
109
109
  });
110
110
  }
111
111
  });
@@ -118,12 +118,12 @@ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service29.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service31.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node32 = makeLocationNode({
124
- service: Service29,
123
+ var node35 = makeLocationNode({
124
+ service: Service31,
125
125
  layer: layer12,
126
- deps: [node74, node34, node87, node46]
126
+ deps: [node42, node36, node87, node70]
127
127
  });
128
128
 
129
- export { namespace2, name14, Service29, layer12, node32, exports_mcp3 };
129
+ export { namespace2, name13, Service31, layer12, node35, exports_mcp3 };
@@ -0,0 +1,26 @@
1
+ import {
2
+ Plugin21
3
+ } from "./image-etzz3kcr.js";
4
+ import {
5
+ Plugin19
6
+ } from "./image-zt9p3yjk.js";
7
+ import {
8
+ Plugin20
9
+ } from "./image-kmzbkppp.js";
10
+ import {
11
+ Plugin17
12
+ } from "./image-5h461sw9.js";
13
+ import {
14
+ Plugin18
15
+ } from "./image-z8n9wp4m.js";
16
+
17
+ // src/plugin/websearch/index.ts
18
+ var WebSearchPlugins2 = [
19
+ Plugin21,
20
+ Plugin19,
21
+ Plugin20,
22
+ Plugin17,
23
+ Plugin18
24
+ ];
25
+
26
+ export { WebSearchPlugins2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/instructions/index.ts
6
6
  var exports_instructions6 = {};
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
18
18
  diffByKey: () => diffByKey2,
19
19
  empty: () => empty3,
20
20
  hash: () => hash2,
21
- make: () => make18,
21
+ make: () => make21,
22
22
  read: () => read3,
23
23
  removed: () => removed2,
24
24
  renderInitial: () => renderInitial2,
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
50
50
  }
51
51
  }
52
52
  var empty3 = [];
53
- function make18(source) {
53
+ function make21(source) {
54
54
  const decode = Schema.decodeUnknownOption(source.codec);
55
55
  const encode = Schema.encodeSync(source.codec);
56
56
  const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
193
193
  return text;
194
194
  }
195
195
 
196
- export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make18, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
196
+ export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service51
4
- } from "./file-b6apyc6e.js";
3
+ Service54
4
+ } from "./image-qmsdj5ty.js";
5
5
  import {
6
6
  __export
7
- } from "./file-9rqn6x4v.js";
7
+ } from "./image-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin33,
12
+ Plugin: () => Plugin23,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin33 = define({
22
+ var Plugin23 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service51;
25
+ const config = yield* Service54;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -96,4 +96,4 @@ var Plugin33 = define({
96
96
  })
97
97
  });
98
98
 
99
- export { Plugin33, exports_warming };
99
+ export { Plugin23, exports_warming };
@@ -1,21 +1,21 @@
1
1
  import {
2
- ID12,
2
+ ID13,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  mergeOverlay2
6
- } from "./file-8c801g49.js";
6
+ } from "./image-3jfaqhpt.js";
7
7
  import {
8
8
  __export
9
- } from "./file-9rqn6x4v.js";
9
+ } from "./image-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: () => Service60,
16
+ Service: () => Service71,
17
17
  locationLayer: () => locationLayer2,
18
- node: () => node63
18
+ node: () => node75
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: ID12,
154
+ providerID: ID13,
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 Service60 extends Context.Service()("@opencode/AISDK") {
162
+ class Service71 extends Context.Service()("@opencode/AISDK") {
163
163
  }
164
- var locationLayer2 = Layer.effect(Service60, Effect.gen(function* () {
164
+ var locationLayer2 = Layer.effect(Service71, 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(Service60, Effect.gen(function* () {
199
199
  }
200
200
  return event;
201
201
  });
202
- const service = Service60.of({
202
+ const service = Service71.of({
203
203
  hook: {
204
204
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
205
205
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -849,6 +849,6 @@ function providerErrorMessage(error) {
849
849
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
850
850
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
851
851
  }
852
- var node63 = makeLocationNode({ service: Service60, layer: locationLayer2, deps: [] });
852
+ var node75 = makeLocationNode({ service: Service71, layer: locationLayer2, deps: [] });
853
853
 
854
- export { InitError2, Service60, locationLayer2, node63, exports_aisdk };
854
+ export { InitError2, Service71, locationLayer2, node75, exports_aisdk };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./file-gftt206x.js";
3
+ } from "./image-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./file-fqka1xvk.js";
6
+ } from "./image-jexxy024.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./file-n7rhs6pj.js";
9
+ } from "./image-ybhbtxjg.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./file-0gdmqesm.js";
13
+ } from "./image-s8d7rejh.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./file-a1bz86dw.js";
16
+ } from "./image-5c4hm403.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./file-vkxpz7g2.js";
20
+ } from "./image-7ac170kv.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./file-pf9pgydg.js";
25
+ } from "./image-ssdqnhy0.js";
26
26
  import {
27
27
  __export
28
- } from "./file-9rqn6x4v.js";
28
+ } from "./image-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -35,7 +35,7 @@ __export(exports_history, {
35
35
  entriesForRunner: () => entriesForRunner2,
36
36
  firstUserMessage: () => firstUserMessage2,
37
37
  latestCompaction: () => latestCompaction2,
38
- load: () => load4,
38
+ load: () => load5,
39
39
  preview: () => preview2
40
40
  });
41
41
  import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
56
56
  const native = entries.findLast((entry) => isCheckpoint2(entry.message));
57
57
  return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
58
58
  });
59
- var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
59
+ var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
60
60
  return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
61
61
  });
62
62
  var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
92
92
  return message?.type === "user" ? message : undefined;
93
93
  });
94
94
 
95
- export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
95
+ export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info8,
8
+ Info: () => Info23,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info8 = SessionProviderContext.Info;
22
+ var Info23 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -49,4 +49,4 @@ var encode2 = (provenance, replacement) => ({
49
49
  var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
50
50
  var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
51
51
 
52
- export { Info8, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
52
+ export { Info23, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service51
4
- } from "./file-b6apyc6e.js";
3
+ Service54
4
+ } from "./image-qmsdj5ty.js";
5
5
  import {
6
- Service55
7
- } from "./file-p50sa4k8.js";
6
+ Service40
7
+ } from "./image-74csta2h.js";
8
8
  import {
9
9
  observe2
10
- } from "./file-qsdy395h.js";
10
+ } from "./image-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./file-9rqn6x4v.js";
13
+ } from "./image-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin15
19
+ Plugin: () => Plugin30
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin15 = define({
23
+ var Plugin30 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service51;
27
- const snapshot = yield* Service55;
26
+ const config = yield* Service54;
27
+ const snapshot = yield* Service40;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin15 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin15, exports_snapshot };
38
+ export { Plugin30, exports_snapshot };
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./file-922hggd3.js";
5
+ } from "./image-922hggd3.js";
6
6
  import {
7
- Service75,
8
- node78
9
- } from "./file-bxf8jet0.js";
7
+ Service58,
8
+ node62
9
+ } from "./image-vvx4scmw.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./file-8d7r5vzw.js";
12
+ } from "./image-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./file-9rqn6x4v.js";
15
+ } from "./image-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error3,
20
+ Error: () => Error4,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service70,
24
- node: () => node73
23
+ Service: () => Service46,
24
+ node: () => node50
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service70 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service46 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error3({ message, cause });
63
+ var failure = (message, cause) => new Error4({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service70, Effect.gen(function* () {
67
- const environment = yield* Service75;
66
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
67
+ const environment = yield* Service58;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service70.of({
95
+ return Service46.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node73 = makeLocationNode({ service: Service70, layer, deps: [node78, RipgrepBinary2.node] });
178
+ var node50 = makeLocationNode({ service: Service46, layer, deps: [node62, RipgrepBinary2.node] });
179
179
 
180
- export { Error3, InvalidPatternError2, Service70, node73, exports_ripgrep };
180
+ export { Error4, InvalidPatternError2, Service46, node50, exports_ripgrep };
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service80
3
- } from "./file-93x6jy41.js";
3
+ } from "./image-y2h1vj9s.js";
4
4
  import {
5
- Service75
6
- } from "./file-bxf8jet0.js";
5
+ Service58
6
+ } from "./image-vvx4scmw.js";
7
7
  import {
8
- Service74,
8
+ Service20,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./file-48pac6vd.js";
11
+ } from "./image-vhmj078x.js";
12
12
  import {
13
13
  Service15
14
- } from "./file-f2y9n0vy.js";
14
+ } from "./image-g506jvv0.js";
15
15
  import {
16
- Service44
17
- } from "./file-wx970249.js";
16
+ Service66
17
+ } from "./image-dfvycwty.js";
18
18
  import {
19
- Service17,
19
+ Service25,
20
20
  resolvePath2
21
- } from "./file-54b10ezm.js";
21
+ } from "./image-nwj13746.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./file-6prwharc.js";
24
+ } from "./image-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./file-9rqn6x4v.js";
27
+ } from "./image-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input7,
34
- Output: () => Output5,
35
- Plugin: () => Plugin42,
36
- name: () => name7
33
+ Input: () => Input10,
34
+ Output: () => Output8,
35
+ Plugin: () => Plugin10,
36
+ name: () => name10
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name7 = "edit";
43
- var Input7 = Schema.Struct({
42
+ var name10 = "edit";
43
+ var Input10 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input7 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output5 = Schema.Struct({
53
+ var Output8 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin42 = {
106
+ var Plugin10 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service17;
110
- const fileMutation = yield* Service74;
111
- const environment = yield* Service75;
109
+ const access = yield* Service25;
110
+ const fileMutation = yield* Service20;
111
+ const environment = yield* Service58;
112
112
  const formatter = yield* Service15;
113
113
  const location = yield* Service80;
114
- const permission = yield* Service44;
114
+ const permission = yield* Service66;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name7,
116
+ name: name10,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input7,
120
- output: Output5,
119
+ input: Input10,
120
+ output: Output8,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin42 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name7, Input7, Output5, Plugin42, exports_edit };
197
+ export { name10, Input10, Output8, Plugin10, exports_edit };