@opencode/core 0.0.0-dev-20001 → 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 (797) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +76 -76
  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/{persistent-pty-cq27jvec.js → image-0dq2z8tv.js} +9 -9
  8. package/dist/chunks/{persistent-pty-t35mr6en.js → image-0hbc4pey.js} +15 -15
  9. package/dist/chunks/{persistent-pty-brkzx8ca.js → image-0kem7bvd.js} +19 -19
  10. package/dist/chunks/{persistent-pty-0paq2nw3.js → image-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{persistent-pty-0q0f95c6.js → image-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{persistent-pty-510m7gjw.js → image-0r7yqxbf.js} +5 -5
  13. package/dist/chunks/{persistent-pty-zqm1r2z0.js → image-0wqqq2fr.js} +13 -13
  14. package/dist/chunks/{persistent-pty-m3ktmgc5.js → image-10exa8s0.js} +13 -13
  15. package/dist/chunks/{persistent-pty-26s3bdt9.js → image-173cpqtx.js} +35 -35
  16. package/dist/chunks/{persistent-pty-1zpw9mw1.js → image-186v3xpn.js} +12 -12
  17. package/dist/chunks/{persistent-pty-r5x6zcsm.js → image-1bbkgx8g.js} +3 -3
  18. package/dist/chunks/{persistent-pty-1dazxqgg.js → image-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{persistent-pty-fwkkykk2.js → image-1sb7p0dt.js} +16 -16
  20. package/dist/chunks/{persistent-pty-21r38tys.js → image-21r38tys.js} +1 -1
  21. package/dist/chunks/{persistent-pty-2402vzrj.js → image-2402vzrj.js} +1 -1
  22. package/dist/chunks/{persistent-pty-h3ek80ta.js → image-29eyaswh.js} +8 -8
  23. package/dist/chunks/{persistent-pty-2a5m3afh.js → image-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{persistent-pty-f52kf95x.js → image-2cyrvn8x.js} +19 -19
  25. package/dist/chunks/{persistent-pty-j260a8hh.js → image-2r47jwp9.js} +15 -15
  26. package/dist/chunks/{persistent-pty-7xpfs8hq.js → image-2s2nkvc8.js} +24 -24
  27. package/dist/chunks/{persistent-pty-a3n22e4k.js → image-2wjfht85.js} +22 -22
  28. package/dist/chunks/{persistent-pty-12ygs1y2.js → image-2zve5a08.js} +12 -12
  29. package/dist/chunks/{persistent-pty-2kbmmw84.js → image-30vt497d.js} +17 -17
  30. package/dist/chunks/{persistent-pty-m4b2b706.js → image-331knf88.js} +30 -30
  31. package/dist/chunks/{persistent-pty-mfqp6xfm.js → image-33w4ejhs.js} +9 -9
  32. package/dist/chunks/{persistent-pty-3grpvr0x.js → image-3a46yhs1.js} +9 -9
  33. package/dist/chunks/{persistent-pty-1js78yem.js → image-3de8jbpy.js} +3 -3
  34. package/dist/chunks/{persistent-pty-3fc6dm20.js → image-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{persistent-pty-3hepkmqq.js → image-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{persistent-pty-dy85ckvv.js → image-3jfaqhpt.js} +15 -15
  37. package/dist/chunks/{persistent-pty-4146b8yh.js → image-3kpaa0td.js} +1 -1
  38. package/dist/chunks/{persistent-pty-4n7mevx0.js → image-3mg2z7dk.js} +10 -10
  39. package/dist/chunks/{persistent-pty-g8jasmdt.js → image-3pbjq009.js} +8 -8
  40. package/dist/chunks/{persistent-pty-3smtnn6g.js → image-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{persistent-pty-3tvqynh2.js → image-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{persistent-pty-3w0fmcng.js → image-3w0fmcng.js} +2 -2
  43. package/dist/chunks/{persistent-pty-5fznqp73.js → image-41jpfm3y.js} +4 -4
  44. package/dist/chunks/{persistent-pty-y7k45b13.js → image-47fdfwyn.js} +119 -119
  45. package/dist/chunks/{persistent-pty-gg4dpy88.js → image-4a6jpjer.js} +5 -5
  46. package/dist/chunks/{persistent-pty-ykr3afan.js → image-4j3qm3aa.js} +13 -13
  47. package/dist/chunks/{persistent-pty-0jdct4vn.js → image-4kgn5hht.js} +3 -3
  48. package/dist/chunks/{persistent-pty-zvberzsv.js → image-4sy14yqe.js} +18 -18
  49. package/dist/chunks/{persistent-pty-0xezjjjn.js → image-4w5f3qm5.js} +8 -8
  50. package/dist/chunks/{persistent-pty-89mvg365.js → image-4yc7rcx0.js} +4 -4
  51. package/dist/chunks/{persistent-pty-efvcp6ns.js → image-4z914n5c.js} +11 -11
  52. package/dist/chunks/{persistent-pty-y81fdv5s.js → image-4zks2f0q.js} +1 -1
  53. package/dist/chunks/{persistent-pty-0301v5d4.js → image-51vapca8.js} +14 -14
  54. package/dist/chunks/{persistent-pty-aa0gpb6n.js → image-562q7wbc.js} +1 -1
  55. package/dist/chunks/{persistent-pty-k1qrnqst.js → image-56b3zt1s.js} +8 -8
  56. package/dist/chunks/{persistent-pty-0ke265bw.js → image-57ez7d0k.js} +5 -5
  57. package/dist/chunks/{persistent-pty-pq009wkf.js → image-5bd42syd.js} +14 -14
  58. package/dist/chunks/{persistent-pty-5c4hm403.js → image-5c4hm403.js} +3 -3
  59. package/dist/chunks/{persistent-pty-5daktx2q.js → image-5daktx2q.js} +1 -1
  60. package/dist/chunks/{persistent-pty-5ekn9679.js → image-5ekn9679.js} +1 -1
  61. package/dist/chunks/{persistent-pty-e4erjdx3.js → image-5h461sw9.js} +8 -8
  62. package/dist/chunks/{persistent-pty-qsf83v83.js → image-5pnw7v32.js} +22 -22
  63. package/dist/chunks/{persistent-pty-qcvmd6b9.js → image-5pwncfkc.js} +25 -25
  64. package/dist/chunks/{persistent-pty-dw2g2n7y.js → image-5qtcqs7h.js} +22 -22
  65. package/dist/chunks/{persistent-pty-5t3nmthw.js → image-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{persistent-pty-c3ewdk9q.js → image-5z5bvwse.js} +28 -28
  67. package/dist/chunks/{persistent-pty-74rrnwt7.js → image-607q5haz.js} +12 -12
  68. package/dist/chunks/{persistent-pty-669tq793.js → image-669tq793.js} +1 -1
  69. package/dist/chunks/{persistent-pty-d48vtfkp.js → image-69h1251q.js} +15 -15
  70. package/dist/chunks/{persistent-pty-ft0qtczr.js → image-6azszf0a.js} +11 -11
  71. package/dist/chunks/{persistent-pty-06j82gr5.js → image-6h8hy4mr.js} +9 -9
  72. package/dist/chunks/image-6kdq0pjd.js +4 -0
  73. package/dist/chunks/{persistent-pty-6msgmcgs.js → image-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{persistent-pty-pnnq9hbh.js → image-6p6ynqbb.js} +26 -26
  75. package/dist/chunks/{persistent-pty-de2bbkbe.js → image-6qv2tz5h.js} +5 -5
  76. package/dist/chunks/{persistent-pty-cqh1h3gn.js → image-6vzndrx9.js} +10 -10
  77. package/dist/chunks/{persistent-pty-warmmh1m.js → image-6w5959sb.js} +1 -1
  78. package/dist/chunks/{persistent-pty-27b310mf.js → image-6y6gh17j.js} +4 -4
  79. package/dist/chunks/{persistent-pty-gwda3vg2.js → image-71mkcn1r.js} +9 -9
  80. package/dist/chunks/{persistent-pty-j8z3d1d1.js → image-74csta2h.js} +24 -24
  81. package/dist/chunks/{persistent-pty-gnx4ytbv.js → image-7ac170kv.js} +4 -4
  82. package/dist/chunks/{persistent-pty-7bmhse3q.js → image-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{persistent-pty-dsn3ey9m.js → image-7c1v976m.js} +24 -24
  84. package/dist/chunks/{persistent-pty-qgn6gcr1.js → image-7dqw4kz8.js} +5 -5
  85. package/dist/chunks/{persistent-pty-dra9bm4c.js → image-7pas1d4n.js} +12 -12
  86. package/dist/chunks/{persistent-pty-03wgpffp.js → image-7qhv4691.js} +11 -11
  87. package/dist/chunks/{persistent-pty-63t8mypd.js → image-89kyrcsf.js} +18 -18
  88. package/dist/chunks/{persistent-pty-y2pttbdt.js → image-8d4xtxp9.js} +6 -6
  89. package/dist/chunks/{persistent-pty-8d7r5vzw.js → image-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{persistent-pty-532h92k8.js → image-8dar51kt.js} +15 -15
  91. package/dist/chunks/{persistent-pty-t5ehz8va.js → image-8fyyqzq4.js} +3 -3
  92. package/dist/chunks/{persistent-pty-k61k5w90.js → image-938vt2d6.js} +27 -27
  93. package/dist/chunks/{persistent-pty-cxbap5yk.js → image-9cj48zab.js} +23 -23
  94. package/dist/chunks/{persistent-pty-qfckc8ww.js → image-9kzkn7eg.js} +23 -23
  95. package/dist/chunks/{persistent-pty-qhc1hnsx.js → image-9nkdv7c2.js} +10 -10
  96. package/dist/chunks/{persistent-pty-kygpjxdc.js → image-9nn0v0s4.js} +8 -8
  97. package/dist/chunks/{persistent-pty-1vmwvk68.js → image-9v1mpwvv.js} +34 -34
  98. package/dist/chunks/{persistent-pty-a3r4dcrj.js → image-a3r4dcrj.js} +2 -2
  99. package/dist/chunks/{persistent-pty-zekjwgez.js → image-a492eg67.js} +10 -10
  100. package/dist/chunks/{persistent-pty-aaet6srn.js → image-aaet6srn.js} +2 -2
  101. package/dist/chunks/{persistent-pty-cy0spz2z.js → image-ahk0vccf.js} +36 -36
  102. package/dist/chunks/{persistent-pty-n3d06r9t.js → image-am88kmff.js} +18 -18
  103. package/dist/chunks/{persistent-pty-sjj5q5p7.js → image-askrbw57.js} +9 -9
  104. package/dist/chunks/{persistent-pty-2sjbwh8c.js → image-ayy92s6e.js} +7 -7
  105. package/dist/chunks/{persistent-pty-qa3qhgw8.js → image-b27vhd2z.js} +4 -4
  106. package/dist/chunks/{persistent-pty-b6gygkdw.js → image-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{persistent-pty-x6vejd3b.js → image-ba5nqppt.js} +16 -16
  108. package/dist/chunks/{persistent-pty-fmz924ae.js → image-bczcn6w4.js} +4 -4
  109. package/dist/chunks/{persistent-pty-5pp3ynyy.js → image-bg8akm6q.js} +76 -76
  110. package/dist/chunks/{persistent-pty-b1rzham2.js → image-bm8h0423.js} +14 -14
  111. package/dist/chunks/{persistent-pty-348snc1t.js → image-bsf00r8m.js} +40 -40
  112. package/dist/chunks/{persistent-pty-nnspx4pw.js → image-c1g2sg74.js} +6 -6
  113. package/dist/chunks/{persistent-pty-0ytdgy0f.js → image-c65bk09p.js} +24 -24
  114. package/dist/chunks/{persistent-pty-7dvgeykw.js → image-c6tkka2d.js} +23 -23
  115. package/dist/chunks/{persistent-pty-28zq9rra.js → image-c6wxt469.js} +14 -14
  116. package/dist/chunks/{persistent-pty-arz3vx5k.js → image-c9ttrcnj.js} +15 -15
  117. package/dist/chunks/{persistent-pty-02vnja26.js → image-ccjm5jwm.js} +2 -2
  118. package/dist/chunks/{persistent-pty-cwa6csj7.js → image-cpneeje0.js} +9 -9
  119. package/dist/chunks/{persistent-pty-m7d2j08w.js → image-ctcwtzvf.js} +4 -4
  120. package/dist/chunks/{persistent-pty-mzvzs703.js → image-cvgmfefw.js} +12 -12
  121. package/dist/chunks/{persistent-pty-5xtgfte3.js → image-czfptnv9.js} +8 -8
  122. package/dist/chunks/{persistent-pty-jatykmcp.js → image-d0db64mf.js} +14 -14
  123. package/dist/chunks/{persistent-pty-wrzkdsf5.js → image-d2w700dw.js} +20 -20
  124. package/dist/chunks/{persistent-pty-c9ex5cwa.js → image-d6nyrcj2.js} +84 -84
  125. package/dist/chunks/{persistent-pty-zpqymkmv.js → image-d897rehy.js} +13 -13
  126. package/dist/chunks/{persistent-pty-d16x3hw8.js → image-d94r6qj5.js} +22 -22
  127. package/dist/chunks/{persistent-pty-ejx6caqb.js → image-daz99daz.js} +2 -2
  128. package/dist/chunks/{persistent-pty-wqgbc62j.js → image-dfvycwty.js} +32 -32
  129. package/dist/chunks/{persistent-pty-dj2t23y0.js → image-dj2t23y0.js} +2 -2
  130. package/dist/chunks/{persistent-pty-dpkg50ah.js → image-dpkg50ah.js} +1 -1
  131. package/dist/chunks/{persistent-pty-57b9ws8p.js → image-drwq78ky.js} +5 -5
  132. package/dist/chunks/{persistent-pty-5et4qy09.js → image-ed90htb6.js} +17 -17
  133. package/dist/chunks/{persistent-pty-ef5x83kb.js → image-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{persistent-pty-m688y65p.js → image-ef9gv310.js} +11 -11
  135. package/dist/chunks/{persistent-pty-9zjxkq4z.js → image-ehvx6czw.js} +3 -3
  136. package/dist/chunks/{persistent-pty-1rf1qtgk.js → image-en6ej7pb.js} +30 -30
  137. package/dist/chunks/{persistent-pty-erw5rpbs.js → image-erw5rpbs.js} +2 -2
  138. package/dist/chunks/{persistent-pty-etq0c3wd.js → image-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{persistent-pty-e942ejx1.js → image-etzz3kcr.js} +8 -8
  140. package/dist/chunks/{persistent-pty-cavr175a.js → image-f3ngv102.js} +4 -4
  141. package/dist/chunks/{persistent-pty-yzzhc2zs.js → image-f8qe00s5.js} +30 -30
  142. package/dist/chunks/{persistent-pty-vpshg2tm.js → image-fjq2xkn5.js} +4 -4
  143. package/dist/chunks/{persistent-pty-4ddzh0v1.js → image-g0kyh3qv.js} +10 -10
  144. package/dist/chunks/{persistent-pty-1bmd05sh.js → image-g169rf3a.js} +32 -32
  145. package/dist/chunks/{persistent-pty-c3tmynma.js → image-g1ehtde2.js} +47 -47
  146. package/dist/chunks/{persistent-pty-pq64y31t.js → image-g506jvv0.js} +15 -15
  147. package/dist/chunks/{persistent-pty-yfwykd95.js → image-g52y0c92.js} +8 -8
  148. package/dist/chunks/{persistent-pty-fq9618wy.js → image-gaq06wk0.js} +6 -6
  149. package/dist/chunks/{persistent-pty-gd4qta3r.js → image-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{persistent-pty-y2m72ezy.js → image-ghyv0by5.js} +19 -19
  151. package/dist/chunks/{persistent-pty-jpbtdz7j.js → image-ghz97e63.js} +8 -8
  152. package/dist/chunks/{persistent-pty-gv6a8nnw.js → image-gv6a8nnw.js} +2 -2
  153. package/dist/chunks/{persistent-pty-n5mghb8v.js → image-h00wc835.js} +9 -9
  154. package/dist/chunks/{persistent-pty-h6r3nrb9.js → image-h6r3nrb9.js} +1 -1
  155. package/dist/chunks/{persistent-pty-h6vf3j39.js → image-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{persistent-pty-m2d0j7c0.js → image-h7ygw6q4.js} +9 -9
  157. package/dist/chunks/{persistent-pty-2q6kkxxq.js → image-hc4fnx3k.js} +4 -4
  158. package/dist/chunks/{persistent-pty-hdnk95c8.js → image-hdnk95c8.js} +2 -2
  159. package/dist/chunks/image-hjkzpa7r.js +503 -0
  160. package/dist/chunks/{persistent-pty-af04s6ss.js → image-hkfg6fzm.js} +5 -5
  161. package/dist/chunks/{persistent-pty-rnfswt5s.js → image-hwk6cm66.js} +35 -35
  162. package/dist/chunks/{persistent-pty-aqsacfjy.js → image-hzam0k1f.js} +8 -8
  163. package/dist/chunks/{persistent-pty-ze7293fq.js → image-j14qg5xv.js} +20 -20
  164. package/dist/chunks/{persistent-pty-j56e64zr.js → image-j56e64zr.js} +1 -1
  165. package/dist/chunks/{persistent-pty-cw86rn5q.js → image-j9jbccy5.js} +11 -11
  166. package/dist/chunks/{persistent-pty-q6t4s3zd.js → image-k0pwyxrd.js} +1 -1
  167. package/dist/chunks/{persistent-pty-4tma0fsr.js → image-kaj3fc1v.js} +11 -11
  168. package/dist/chunks/{persistent-pty-v710rhrc.js → image-kgknqqx1.js} +31 -31
  169. package/dist/chunks/{persistent-pty-p127k79g.js → image-kkgqwbhz.js} +10 -10
  170. package/dist/chunks/{persistent-pty-hse91znn.js → image-kmzbkppp.js} +9 -9
  171. package/dist/chunks/{persistent-pty-3tq5qxbk.js → image-knb7evpn.js} +8 -8
  172. package/dist/chunks/{persistent-pty-e6hd9jay.js → image-kxpygcw9.js} +4 -4
  173. package/dist/chunks/{persistent-pty-jbmcst8e.js → image-ky1wqy4d.js} +6 -6
  174. package/dist/chunks/{persistent-pty-m0jqrx5p.js → image-m0jqrx5p.js} +2 -2
  175. package/dist/chunks/{persistent-pty-y6mhz57t.js → image-m0r31qfn.js} +4 -4
  176. package/dist/chunks/{persistent-pty-94acgbaq.js → image-m3c3c009.js} +33 -33
  177. package/dist/chunks/{persistent-pty-m3fdjcah.js → image-m3fdjcah.js} +1 -1
  178. package/dist/chunks/{persistent-pty-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/image-mj9f1fhh.js +252 -0
  180. package/dist/chunks/{persistent-pty-svvemcs6.js → image-mksgfzgs.js} +5 -5
  181. package/dist/chunks/{persistent-pty-9pswcrc4.js → image-mqjt19q2.js} +16 -16
  182. package/dist/chunks/{persistent-pty-4eyny2x4.js → image-mrfxdnhj.js} +24 -24
  183. package/dist/chunks/{persistent-pty-k17td3rr.js → image-msrm0et3.js} +4 -4
  184. package/dist/chunks/{persistent-pty-qe6yd3vy.js → image-mtfpdj4s.js} +20 -20
  185. package/dist/chunks/{persistent-pty-jbbq3td5.js → image-mw6hmxw7.js} +14 -14
  186. package/dist/chunks/{persistent-pty-feex15hn.js → image-mwjwfxbw.js} +20 -20
  187. package/dist/chunks/{persistent-pty-r1hamq85.js → image-mxg9zmwk.js} +26 -26
  188. package/dist/chunks/{persistent-pty-7kvmecgy.js → image-n3p8zf4b.js} +20 -20
  189. package/dist/chunks/{persistent-pty-kmm1f1wa.js → image-n76j5b51.js} +3 -3
  190. package/dist/chunks/{persistent-pty-ccs2c1bh.js → image-nw24pgk5.js} +41 -41
  191. package/dist/chunks/{persistent-pty-x75m8cnz.js → image-nwj13746.js} +18 -18
  192. package/dist/chunks/{persistent-pty-d5b6jkc9.js → image-nxsy2y7z.js} +5 -5
  193. package/dist/chunks/{persistent-pty-nzks3jc8.js → image-nzks3jc8.js} +3 -3
  194. package/dist/chunks/{persistent-pty-p28j5sbe.js → image-p28j5sbe.js} +2 -2
  195. package/dist/chunks/{persistent-pty-g11rfc9f.js → image-pccj551n.js} +3 -3
  196. package/dist/chunks/{persistent-pty-p776grxc.js → image-pf65k87v.js} +8 -8
  197. package/dist/chunks/{persistent-pty-y575bkyz.js → image-pfm0qd87.js} +42 -42
  198. package/dist/chunks/{persistent-pty-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{persistent-pty-dpdgxbb1.js → image-pjx495pd.js} +20 -20
  200. package/dist/chunks/{persistent-pty-pknna89w.js → image-pknna89w.js} +1 -1
  201. package/dist/chunks/{persistent-pty-bw9zjykr.js → image-prmgem5b.js} +6 -6
  202. package/dist/chunks/{persistent-pty-37rrne4q.js → image-q5jh1fb4.js} +1 -1
  203. package/dist/chunks/image-qc068m1q.js +18 -0
  204. package/dist/chunks/{persistent-pty-bzw5p0v3.js → image-qmsdj5ty.js} +40 -40
  205. package/dist/chunks/{persistent-pty-dg5bcj4q.js → image-qq8x5mwt.js} +4 -4
  206. package/dist/chunks/{persistent-pty-qsdy395h.js → image-qsdy395h.js} +1 -1
  207. package/dist/chunks/{persistent-pty-rhraev7y.js → image-r8xr0va3.js} +4 -4
  208. package/dist/chunks/{persistent-pty-c8x40s92.js → image-r9np7b10.js} +17 -17
  209. package/dist/chunks/{persistent-pty-y56ehv6b.js → image-r9w3djhf.js} +9 -9
  210. package/dist/chunks/{persistent-pty-rdw6cm16.js → image-rdw6cm16.js} +1 -1
  211. package/dist/chunks/{persistent-pty-yjdjwa94.js → image-rmp6454a.js} +2 -2
  212. package/dist/chunks/{persistent-pty-hqt5d750.js → image-rpk92v1f.js} +23 -23
  213. package/dist/chunks/{persistent-pty-zee1rnkq.js → image-rwm5vee1.js} +4 -4
  214. package/dist/chunks/{persistent-pty-vftqyr62.js → image-rx7459vr.js} +29 -29
  215. package/dist/chunks/image-rzyd1vqx.js +26 -0
  216. package/dist/chunks/{persistent-pty-eaj1djv9.js → image-s8d7rejh.js} +6 -6
  217. package/dist/chunks/{persistent-pty-7ag8gg1a.js → image-sczk8sc9.js} +7 -7
  218. package/dist/chunks/{persistent-pty-kskhsqm3.js → image-smqvnbx5.js} +9 -9
  219. package/dist/chunks/{persistent-pty-df1v60n5.js → image-spcdvtsy.js} +8 -8
  220. package/dist/chunks/{persistent-pty-dg2cj1yd.js → image-ssdqnhy0.js} +4 -4
  221. package/dist/chunks/{persistent-pty-7crdshgt.js → image-t0wvvjy4.js} +11 -11
  222. package/dist/chunks/{persistent-pty-yrrfxzmt.js → image-t2xq3ndf.js} +18 -18
  223. package/dist/chunks/{persistent-pty-fmgpc4my.js → image-t336cqnw.js} +32 -32
  224. package/dist/chunks/{persistent-pty-qyc7x7z5.js → image-t3jy044j.js} +13 -13
  225. package/dist/chunks/{persistent-pty-sx1n432n.js → image-t9zs3egg.js} +4 -4
  226. package/dist/chunks/{persistent-pty-tazgh4e4.js → image-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{persistent-pty-8e18ys7f.js → image-tbe0yh0n.js} +20 -20
  228. package/dist/chunks/{persistent-pty-tcezcvh9.js → image-tcezcvh9.js} +1 -1
  229. package/dist/chunks/{persistent-pty-tdstcens.js → image-tdstcens.js} +1 -1
  230. package/dist/chunks/{persistent-pty-zhcafb9x.js → image-tghr4gv7.js} +31 -31
  231. package/dist/chunks/{persistent-pty-tvtrv512.js → image-tvtrv512.js} +1 -1
  232. package/dist/chunks/{persistent-pty-0shdscng.js → image-v2d4nfg6.js} +70 -70
  233. package/dist/chunks/{persistent-pty-k53npxr2.js → image-v3sgzvyr.js} +1 -1
  234. package/dist/chunks/{persistent-pty-d4j0d6g7.js → image-v5wa63ar.js} +10 -10
  235. package/dist/chunks/{persistent-pty-1nwxscpy.js → image-v6ghzfeb.js} +5 -5
  236. package/dist/chunks/{persistent-pty-f1mqex3k.js → image-v8qha12t.js} +23 -23
  237. package/dist/chunks/{persistent-pty-veqvce7d.js → image-veqvce7d.js} +1 -1
  238. package/dist/chunks/{persistent-pty-rzpbq8m1.js → image-vfd4qxz2.js} +9 -9
  239. package/dist/chunks/{persistent-pty-re97pqet.js → image-vhmj078x.js} +13 -13
  240. package/dist/chunks/{persistent-pty-91mb3y5y.js → image-vjqycgcg.js} +15 -15
  241. package/dist/chunks/{persistent-pty-rkn362zb.js → image-vnm9krcg.js} +14 -14
  242. package/dist/chunks/{persistent-pty-c5drhkvr.js → image-vpcr0tzx.js} +22 -22
  243. package/dist/chunks/{persistent-pty-wchatq2q.js → image-vvw75pzs.js} +17 -17
  244. package/dist/chunks/{persistent-pty-nax8v91w.js → image-vvx4scmw.js} +24 -24
  245. package/dist/chunks/{persistent-pty-vzcthcp8.js → image-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{persistent-pty-hrqvzjyr.js → image-w0xzj0tq.js} +30 -30
  247. package/dist/chunks/{persistent-pty-ppke3c5n.js → image-w3encw62.js} +3 -3
  248. package/dist/chunks/{persistent-pty-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{persistent-pty-2jjexhp9.js → image-w7pqkv4e.js} +8 -8
  250. package/dist/chunks/{persistent-pty-251fq3yt.js → image-w9tg0pj8.js} +7 -7
  251. package/dist/chunks/{persistent-pty-h4n5n8rw.js → image-wachdqys.js} +4 -4
  252. package/dist/chunks/{persistent-pty-wd87259q.js → image-wd87259q.js} +1 -1
  253. package/dist/chunks/{persistent-pty-z0wq6kh9.js → image-wedyt5kt.js} +37 -37
  254. package/dist/chunks/{persistent-pty-qj49ekh6.js → image-wrpf7kpx.js} +1 -1
  255. package/dist/chunks/{persistent-pty-cehc4fcm.js → image-wwbsa95s.js} +9 -9
  256. package/dist/chunks/{persistent-pty-x1ezjp6w.js → image-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{persistent-pty-xfbn00ej.js → image-x2aneysw.js} +8 -8
  258. package/dist/chunks/{persistent-pty-4c2df9zx.js → image-x5c3aeq5.js} +8 -8
  259. package/dist/chunks/{persistent-pty-k5bqq78w.js → image-x5xthkqs.js} +3 -3
  260. package/dist/chunks/{persistent-pty-z9qyhhpt.js → image-x8cycxf4.js} +6 -6
  261. package/dist/chunks/{persistent-pty-7zgnt065.js → image-xc182qv4.js} +10 -10
  262. package/dist/chunks/{persistent-pty-zg3tcem2.js → image-xdrba4jw.js} +5 -5
  263. package/dist/chunks/{persistent-pty-3wggxd0g.js → image-xpknqd88.js} +36 -36
  264. package/dist/chunks/{persistent-pty-jptceg29.js → image-xycsd9rr.js} +33 -33
  265. package/dist/chunks/{persistent-pty-ed86yh56.js → image-xzpgrndz.js} +11 -11
  266. package/dist/chunks/{persistent-pty-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{persistent-pty-cr5b1n6y.js → image-y2h1vj9s.js} +14 -14
  268. package/dist/chunks/{persistent-pty-3h6p5hfd.js → image-y48wrjg8.js} +12 -12
  269. package/dist/chunks/{persistent-pty-ns89s3d7.js → image-y6cmh0fw.js} +15 -15
  270. package/dist/chunks/{persistent-pty-p7y4s0m8.js → image-yawka9q3.js} +9 -9
  271. package/dist/chunks/{persistent-pty-ybhbtxjg.js → image-ybhbtxjg.js} +3 -3
  272. package/dist/chunks/{persistent-pty-vh5e817s.js → image-ydz4e7k1.js} +15 -15
  273. package/dist/chunks/{persistent-pty-yrhqyw5v.js → image-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{persistent-pty-yrznvahk.js → image-yrznvahk.js} +2 -2
  275. package/dist/chunks/{persistent-pty-factba7n.js → image-yw7cjn17.js} +3 -3
  276. package/dist/chunks/{persistent-pty-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{persistent-pty-a8mfdwnk.js → image-z1a1r82q.js} +51 -51
  278. package/dist/chunks/{persistent-pty-z63w68vq.js → image-z63w68vq.js} +2 -2
  279. package/dist/chunks/{persistent-pty-qc5ntz1d.js → image-z6qfc3y3.js} +17 -17
  280. package/dist/chunks/{persistent-pty-r9byqgec.js → image-z7vss07q.js} +15 -15
  281. package/dist/chunks/{persistent-pty-2xfper2k.js → image-z8n9wp4m.js} +9 -9
  282. package/dist/chunks/{persistent-pty-7sfnpa80.js → image-zby6yqdy.js} +10 -10
  283. package/dist/chunks/{persistent-pty-zeh9ct20.js → image-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{persistent-pty-1080qp6z.js → image-zj09a0ew.js} +4 -4
  285. package/dist/chunks/{persistent-pty-3baz7vjv.js → image-zqdbm9z2.js} +3 -3
  286. package/dist/chunks/{persistent-pty-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{persistent-pty-d2s3wkz4.js → image-zt9p3yjk.js} +9 -9
  288. package/dist/chunks/{persistent-pty-6v3qmmgj.js → image-zww8syw5.js} +22 -22
  289. package/dist/chunks/{persistent-pty-zxq2ej10.js → image-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +80 -80
  295. package/dist/config/discovery.js +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +124 -124
  299. package/dist/config/plugin/command.js +213 -213
  300. package/dist/config/plugin/compaction.js +161 -161
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +124 -124
  307. package/dist/config/plugin/mcp.js +131 -131
  308. package/dist/config/plugin/policy.js +123 -123
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +124 -124
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -143
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +123 -123
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +123 -123
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -127
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +76 -76
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +369 -369
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +1 -1
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +92 -92
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +69 -69
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +226 -226
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +105 -105
  429. package/dist/form.js +73 -73
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +98 -98
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +90 -90
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +4 -4
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +360 -360
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +1 -1
  462. package/dist/integration.js +77 -77
  463. package/dist/job.js +76 -76
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +131 -131
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +357 -357
  471. package/dist/location.js +84 -84
  472. package/dist/managed-policy.js +5 -5
  473. package/dist/mcp/client.js +90 -90
  474. package/dist/mcp/index.js +107 -107
  475. package/dist/mcp/instructions.js +127 -127
  476. package/dist/mcp/oauth.js +74 -74
  477. package/dist/mcp/stdio.js +89 -89
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +90 -90
  480. package/dist/model-resolver.js +97 -97
  481. package/dist/model.js +91 -91
  482. package/dist/models-dev.js +106 -106
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +75 -75
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +104 -104
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +79 -79
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +74 -74
  492. package/dist/plugin/agent.js +103 -103
  493. package/dist/plugin/command.js +100 -100
  494. package/dist/plugin/compaction.js +132 -132
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +217 -217
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +331 -331
  500. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  501. package/dist/plugin/models-dev.js +95 -95
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +101 -101
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  507. package/dist/plugin/provider/azure.js +121 -121
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +118 -118
  513. package/dist/plugin/provider/digitalocean.js +92 -92
  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 +92 -92
  518. package/dist/plugin/provider/gitlab.js +90 -90
  519. package/dist/plugin/provider/google-vertex.js +89 -89
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +76 -76
  522. package/dist/plugin/provider/lmstudio.js +121 -121
  523. package/dist/plugin/provider/modal.js +91 -91
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +121 -121
  526. package/dist/plugin/provider/openai.js +93 -93
  527. package/dist/plugin/provider/opencode.js +93 -93
  528. package/dist/plugin/provider/openrouter.js +90 -90
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +77 -77
  531. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  532. package/dist/plugin/provider/sap-ai-core.js +90 -90
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +89 -89
  537. package/dist/plugin/provider/vllm.js +121 -121
  538. package/dist/plugin/provider/xai.js +90 -90
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +159 -159
  541. package/dist/plugin/sdk.js +75 -75
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +138 -138
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +350 -350
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +85 -85
  549. package/dist/plugin/vcs/hg.js +85 -85
  550. package/dist/plugin/warming.js +120 -120
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +6 -6
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +228 -228
  559. package/dist/project/schema.js +4 -4
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +83 -83
  562. package/dist/provider.js +90 -90
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/schema.js +3 -3
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +95 -95
  567. package/dist/reference/instructions.js +88 -88
  568. package/dist/reference.js +88 -88
  569. package/dist/repository-cache.js +80 -80
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +96 -96
  573. package/dist/rpc.js +85 -85
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +73 -73
  576. package/dist/session/compaction.js +131 -131
  577. package/dist/session/context.js +151 -151
  578. package/dist/session/diff.js +87 -87
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +3 -3
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +220 -220
  583. package/dist/session/execution.js +125 -125
  584. package/dist/session/generate.js +150 -150
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +85 -85
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +76 -76
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +96 -96
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +118 -118
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +85 -85
  597. package/dist/session/prompt.js +104 -104
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +89 -89
  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 +230 -230
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +93 -93
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +113 -113
  607. package/dist/session/runner/step.js +125 -125
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +1 -1
  610. package/dist/session/session.js +171 -171
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +102 -102
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +72 -72
  615. package/dist/session/store.js +86 -86
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +209 -209
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +155 -155
  620. package/dist/session/to-session-error.js +110 -110
  621. package/dist/session/transfer.js +214 -214
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +211 -211
  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 +11 -11
  628. package/dist/shell.js +137 -137
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +106 -106
  631. package/dist/skill.js +109 -109
  632. package/dist/snapshot.js +88 -88
  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 +126 -126
  637. package/dist/tool/plugin/edit.js +119 -119
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +115 -115
  640. package/dist/tool/plugin/grep.js +123 -123
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +117 -117
  643. package/dist/tool/plugin/question.js +102 -102
  644. package/dist/tool/plugin/read.js +122 -122
  645. package/dist/tool/plugin/shell.js +212 -212
  646. package/dist/tool/plugin/skill.js +108 -108
  647. package/dist/tool/plugin/subagent.js +216 -216
  648. package/dist/tool/plugin/webfetch.js +111 -111
  649. package/dist/tool/plugin/websearch.js +113 -113
  650. package/dist/tool/plugin/write.js +121 -121
  651. package/dist/tool/read-filesystem.js +99 -99
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +16 -16
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/attachment.js +2 -2
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/formatter.js +3 -3
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +3 -3
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +91 -91
  674. package/dist/v1/config/permission.js +3 -3
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +90 -90
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +88 -88
  684. package/dist/websearch.js +81 -81
  685. package/dist/wellknown/plugin.js +75 -75
  686. package/dist/wellknown.js +78 -78
  687. package/dist/workspace/driver.js +5 -5
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +75 -75
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +8 -8
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +88 -88
  694. package/dist/worktree.js +95 -95
  695. package/package.json +8 -8
  696. package/dist/chunks/persistent-pty-0mesazry.js +0 -4
  697. package/dist/chunks/persistent-pty-1b8jsvpy.js +0 -252
  698. package/dist/chunks/persistent-pty-7fj5dwt0.js +0 -18
  699. package/dist/chunks/persistent-pty-ghg0rxwy.js +0 -26
  700. package/dist/chunks/persistent-pty-w53xn0nw.js +0 -503
  701. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-0zkw76rk.js → image-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-17cy0kzp.js → image-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-1cnp2v09.js → image-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-24dcb14g.js → image-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-2710q6r3.js → image-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-2axfhc9x.js → image-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-359p4xyc.js → image-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-3asan66x.js → image-3asan66x.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-3v8g72cx.js → image-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-3w5fmr99.js → image-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-3wcehsnq.js → image-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-43n2bw4t.js → image-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-4knz6hnm.js → image-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-4y7fprxs.js → image-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-53557ph1.js → image-53557ph1.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-550bvhaj.js → image-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-5qd3pb7m.js → image-5qd3pb7m.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-6prwharc.js → image-6prwharc.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-7akdwqpd.js → image-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-7m9af43g.js → image-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-822emrt2.js → image-822emrt2.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-88xbtdfr.js → image-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-8n3pysct.js → image-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-922hggd3.js → image-922hggd3.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-9a4afbnw.js → image-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-a6k6eb26.js → image-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-af5trqkr.js → image-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-afrmfg78.js → image-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-atq7p7m5.js → image-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-cf4snx6d.js → image-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-d9fn303g.js → image-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-dajrwvna.js → image-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-dap0rakb.js → image-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-df08tz66.js → image-df08tz66.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-dy18nga0.js → image-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-e5kj55wp.js → image-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-e73j6tqm.js → image-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-ec1grn59.js → image-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-eh3zwz77.js → image-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-emrn6kk6.js → image-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-f0mxakyp.js → image-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-faypxj3z.js → image-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-fd410y7t.js → image-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → image-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-g4wezp1m.js → image-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-g86h250q.js → image-g86h250q.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-gebd4c9n.js → image-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-gftt206x.js → image-gftt206x.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-hjbc5kem.js → image-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-hk9envan.js → image-hk9envan.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-j2ntwpah.js → image-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-jexxy024.js → image-jexxy024.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-jjkms2e6.js → image-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-mp448xyj.js → image-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-msx8hqn2.js → image-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-n05xt0ee.js → image-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-n3j8tn72.js → image-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-njntx4h6.js → image-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-q3sfg36h.js → image-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-q74kybfr.js → image-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-qaymkmh1.js → image-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-qb87gjwd.js → image-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-qfa1cgps.js → image-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-qg3g05ea.js → image-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-qrg20bc0.js → image-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → image-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-ssg3fenm.js → image-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-twg0f83k.js → image-twg0f83k.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-w803qqfp.js → image-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-wer8tq1h.js → image-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{persistent-pty-wtztk69x.js → image-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{persistent-pty-x0ckcb58.js → image-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{persistent-pty-x61499pn.js → image-x61499pn.js} +0 -0
  792. /package/dist/chunks/{persistent-pty-y44na4kk.js → image-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{persistent-pty-y8cydn3q.js → image-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{persistent-pty-y8f7s663.js → image-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{persistent-pty-ym463w8f.js → image-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{persistent-pty-z9919s4g.js → image-z9919s4g.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service51
4
- } from "./persistent-pty-bzw5p0v3.js";
3
+ Service54
4
+ } from "./image-qmsdj5ty.js";
5
5
  import {
6
6
  __export
7
- } from "./persistent-pty-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: () => Plugin31,
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 Plugin31 = 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 Plugin31 = define({
96
96
  })
97
97
  });
98
98
 
99
- export { Plugin31, exports_warming };
99
+ export { Plugin23, exports_warming };
@@ -3,19 +3,19 @@ import {
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  mergeOverlay2
6
- } from "./persistent-pty-dy85ckvv.js";
6
+ } from "./image-3jfaqhpt.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-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: () => Service73,
16
+ Service: () => Service71,
17
17
  locationLayer: () => locationLayer2,
18
- node: () => node77
18
+ node: () => node75
19
19
  });
20
20
  import { makeLocationNode } from "@opencode/util/effect/app-node";
21
21
  import { APICallError } from "@ai-sdk/provider";
@@ -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 Service73 extends Context.Service()("@opencode/AISDK") {
162
+ class Service71 extends Context.Service()("@opencode/AISDK") {
163
163
  }
164
- var locationLayer2 = Layer.effect(Service73, 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(Service73, Effect.gen(function* () {
199
199
  }
200
200
  return event;
201
201
  });
202
- const service = Service73.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 node77 = makeLocationNode({ service: Service73, layer: locationLayer2, deps: [] });
852
+ var node75 = makeLocationNode({ service: Service71, layer: locationLayer2, deps: [] });
853
853
 
854
- export { InitError2, Service73, locationLayer2, node77, exports_aisdk };
854
+ export { InitError2, Service71, locationLayer2, node75, exports_aisdk };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./persistent-pty-gftt206x.js";
3
+ } from "./image-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./persistent-pty-jexxy024.js";
6
+ } from "./image-jexxy024.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./persistent-pty-ybhbtxjg.js";
9
+ } from "./image-ybhbtxjg.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./persistent-pty-eaj1djv9.js";
13
+ } from "./image-s8d7rejh.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./persistent-pty-5c4hm403.js";
16
+ } from "./image-5c4hm403.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./persistent-pty-gnx4ytbv.js";
20
+ } from "./image-7ac170kv.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./persistent-pty-dg2cj1yd.js";
25
+ } from "./image-ssdqnhy0.js";
26
26
  import {
27
27
  __export
28
- } from "./persistent-pty-9rqn6x4v.js";
28
+ } from "./image-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-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: () => Info22,
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 Info22 = 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 { Info22, 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 "./persistent-pty-bzw5p0v3.js";
3
+ Service54
4
+ } from "./image-qmsdj5ty.js";
5
5
  import {
6
- Service47
7
- } from "./persistent-pty-j8z3d1d1.js";
6
+ Service40
7
+ } from "./image-74csta2h.js";
8
8
  import {
9
9
  observe2
10
- } from "./persistent-pty-qsdy395h.js";
10
+ } from "./image-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./persistent-pty-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: () => Plugin6
19
+ Plugin: () => Plugin30
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin6 = 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* Service47;
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 Plugin6 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin6, exports_snapshot };
38
+ export { Plugin30, exports_snapshot };
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./persistent-pty-922hggd3.js";
5
+ } from "./image-922hggd3.js";
6
6
  import {
7
- Service56,
8
- node59
9
- } from "./persistent-pty-nax8v91w.js";
7
+ Service58,
8
+ node62
9
+ } from "./image-vvx4scmw.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./persistent-pty-8d7r5vzw.js";
12
+ } from "./image-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./persistent-pty-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: () => Error2,
20
+ Error: () => Error4,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service26,
24
- node: () => node29
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 Error2 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 Service26 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service46 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error2({ 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(Service26, Effect.gen(function* () {
67
- const environment = yield* Service56;
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(Service26, 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 Error2 || 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 Service26.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(Service26, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node29 = makeLocationNode({ service: Service26, layer, deps: [node59, RipgrepBinary2.node] });
178
+ var node50 = makeLocationNode({ service: Service46, layer, deps: [node62, RipgrepBinary2.node] });
179
179
 
180
- export { Error2, InvalidPatternError2, Service26, node29, exports_ripgrep };
180
+ export { Error4, InvalidPatternError2, Service46, node50, exports_ripgrep };
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service79
3
- } from "./persistent-pty-cr5b1n6y.js";
2
+ Service80
3
+ } from "./image-y2h1vj9s.js";
4
4
  import {
5
- Service56
6
- } from "./persistent-pty-nax8v91w.js";
5
+ Service58
6
+ } from "./image-vvx4scmw.js";
7
7
  import {
8
- Service14,
8
+ Service20,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./persistent-pty-re97pqet.js";
11
+ } from "./image-vhmj078x.js";
12
12
  import {
13
- Service28
14
- } from "./persistent-pty-pq64y31t.js";
13
+ Service15
14
+ } from "./image-g506jvv0.js";
15
15
  import {
16
- Service65
17
- } from "./persistent-pty-wqgbc62j.js";
16
+ Service66
17
+ } from "./image-dfvycwty.js";
18
18
  import {
19
- Service17,
19
+ Service25,
20
20
  resolvePath2
21
- } from "./persistent-pty-x75m8cnz.js";
21
+ } from "./image-nwj13746.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./persistent-pty-6prwharc.js";
24
+ } from "./image-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./persistent-pty-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: () => Input5,
34
- Output: () => Output4,
35
- Plugin: () => Plugin40,
36
- name: () => name5
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 name5 = "edit";
43
- var Input5 = 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 Input5 = 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 Output4 = 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 Plugin40 = {
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* Service14;
111
- const environment = yield* Service56;
112
- const formatter = yield* Service28;
113
- const location = yield* Service79;
114
- const permission = yield* Service65;
109
+ const access = yield* Service25;
110
+ const fileMutation = yield* Service20;
111
+ const environment = yield* Service58;
112
+ const formatter = yield* Service15;
113
+ const location = yield* Service80;
114
+ const permission = yield* Service66;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name5,
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: Input5,
120
- output: Output4,
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 Plugin40 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name5, Input5, Output4, Plugin40, exports_edit };
197
+ export { name10, Input10, Output8, Plugin10, exports_edit };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service83
3
- } from "./persistent-pty-vpshg2tm.js";
3
+ } from "./image-fjq2xkn5.js";
4
4
  import {
5
5
  OAuth3,
6
- Event19
7
- } from "./persistent-pty-x6vejd3b.js";
6
+ Event20
7
+ } from "./image-ba5nqppt.js";
8
8
  import {
9
9
  ID14,
10
10
  MethodID2
11
- } from "./persistent-pty-12ygs1y2.js";
11
+ } from "./image-2zve5a08.js";
12
12
  import {
13
13
  key2
14
- } from "./persistent-pty-h6r3nrb9.js";
14
+ } from "./image-h6r3nrb9.js";
15
15
  import {
16
- Service13
17
- } from "./persistent-pty-k1qrnqst.js";
16
+ Service47
17
+ } from "./image-56b3zt1s.js";
18
18
  import {
19
19
  ID13,
20
20
  mergeOverlay2,
21
21
  mergeHeaders2
22
- } from "./persistent-pty-dy85ckvv.js";
22
+ } from "./image-3jfaqhpt.js";
23
23
  import {
24
- ID4,
24
+ ID3,
25
25
  Input13,
26
26
  Response2
27
- } from "./persistent-pty-qfckc8ww.js";
27
+ } from "./image-9kzkn7eg.js";
28
28
 
29
29
  // src/plugin/provider/opencode.ts
30
30
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -39,7 +39,7 @@ var methodID = MethodID2.make("device");
39
39
  var RemoteResponse = Schema.Struct({
40
40
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
41
41
  websearch: Schema.Struct({
42
- providerID: ID4
42
+ providerID: ID3
43
43
  }).pipe(Schema.optional),
44
44
  experimental: Schema.Struct({
45
45
  policies: Schema.Array(ConfigPolicy.Info).pipe(Schema.optional)
@@ -120,7 +120,7 @@ var OpencodePlugin2 = define({
120
120
  effect: Effect.fn(function* (ctx) {
121
121
  const bus = yield* Service83;
122
122
  const http = yield* HttpClient.HttpClient;
123
- const managed = yield* Service13;
123
+ const managed = yield* Service47;
124
124
  const loading = Semaphore.makeUnsafe(1);
125
125
  let snapshot = { config: undefined, connection: undefined, organization: undefined };
126
126
  const load = Effect.fn("OpencodePlugin.load")(function* () {
@@ -291,7 +291,7 @@ var OpencodePlugin2 = define({
291
291
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
292
292
  });
293
293
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
294
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
294
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
295
295
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
296
296
  })
297
297
  });
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/skills.ts
6
6
  var exports_skills = {};
7
7
  __export(exports_skills, {
8
8
  ConfigSkillsV1: () => exports_skills,
9
- Info: () => Info10
9
+ Info: () => Info11
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info10 = Schema.Struct({
12
+ var Info11 = Schema.Struct({
13
13
  paths: Schema.optional(Schema.Array(Schema.String)).annotate({
14
14
  description: "Additional paths to skill folders"
15
15
  }),
@@ -18,4 +18,4 @@ var Info10 = Schema.Struct({
18
18
  })
19
19
  });
20
20
 
21
- export { Info10, exports_skills };
21
+ export { Info11, exports_skills };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./persistent-pty-88xbtdfr.js";
3
+ } from "./image-88xbtdfr.js";
4
4
  import {
5
5
  load4
6
- } from "./persistent-pty-5qd3pb7m.js";
6
+ } from "./image-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./image-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event10,
14
+ Event: () => Event12,
15
15
  Native: () => Native3,
16
16
  Options: () => Options8,
17
- Service: () => Service52,
17
+ Service: () => Service55,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured7,
20
+ configured: () => configured9,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer19,
22
+ layer: () => layer21,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node55,
25
+ node: () => node59,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event10 = { Updated: FileSystem.Event.Changed };
36
+ var Event12 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load4());
@@ -57,14 +57,14 @@ var Options8 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service52 extends Context.Service()("@opencode/Watcher") {
60
+ class Service55 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer19 = (options) => Layer.effect(Service52, Effect.gen(function* () {
65
+ var layer21 = (options) => Layer.effect(Service55, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service52.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service55.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer19 = (options) => Layer.effect(Service52, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service52.of({ subscribe });
108
+ return Service55.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer19().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer21().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service52).subscribe,
134
+ subscribe: Context.get(context, Service55).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service52, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service55, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured7(options) {
168
- return makeGlobalNode({ service: Service52, layer: layer19(options), deps: [nativeNode2] });
167
+ function configured9(options) {
168
+ return makeGlobalNode({ service: Service55, layer: layer21(options), deps: [nativeNode2] });
169
169
  }
170
- var node55 = configured7();
170
+ var node59 = configured9();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event10, hasNativeBinding2, Native3, Options8, Service52, Test3, layer19, testLayer3, nativeLayer2, nativeNode2, configured7, node55, exports_watcher };
190
+ export { Event12, hasNativeBinding2, Native3, Options8, Service55, Test3, layer21, testLayer3, nativeLayer2, nativeNode2, configured9, node59, exports_watcher };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/session/usage.ts
6
6
  var exports_usage = {};