@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
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./persistent-pty-emrn6kk6.js";
5
+ } from "./image-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -2,35 +2,35 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./persistent-pty-vpshg2tm.js";
5
+ } from "./image-fjq2xkn5.js";
6
6
  import {
7
- Key4,
7
+ Key3,
8
8
  unavailable3,
9
9
  removed2,
10
10
  make21,
11
11
  diffByKey2
12
- } from "./persistent-pty-eaj1djv9.js";
12
+ } from "./image-s8d7rejh.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./persistent-pty-922hggd3.js";
15
+ } from "./image-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./persistent-pty-rdw6cm16.js";
18
+ } from "./image-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./persistent-pty-9rqn6x4v.js";
21
+ } from "./image-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event21,
26
+ Event: () => Event10,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options10,
30
- Service: () => Service82,
31
- configured: () => configured11,
32
- layer: () => layer25,
33
- node: () => node86
29
+ Options: () => Options6,
30
+ Service: () => Service48,
31
+ configured: () => configured7,
32
+ layer: () => layer18,
33
+ node: () => node52
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
41
41
  }) {
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
- var key = Key4.make("core/instructions");
45
- var Event21 = {
44
+ var key = Key3.make("core/instructions");
45
+ var Event10 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options10 = Schema.Struct({
48
+ var Options6 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service82 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service48 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer25 = (options) => Layer.effect(Service82, Effect.gen(function* () {
55
+ var layer18 = (options) => Layer.effect(Service48, Effect.gen(function* () {
56
56
  const bus = yield* Service83;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
@@ -72,7 +72,7 @@ var layer25 = (options) => Layer.effect(Service82, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event21.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event10.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
77
  const source = (value) => make21({
78
78
  key,
@@ -90,7 +90,7 @@ var layer25 = (options) => Layer.effect(Service82, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service82.of({
93
+ return Service48.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer25 = (options) => Layer.effect(Service82, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured11(options) {
107
+ function configured7(options) {
108
108
  return makeLocationNode({
109
- service: Service82,
110
- layer: layer25(options),
109
+ service: Service48,
110
+ layer: layer18(options),
111
111
  deps: [node87]
112
112
  });
113
113
  }
114
- var node86 = configured11();
114
+ var node52 = configured7();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event21, Options10, Service82, layer25, configured11, node86, exports_instruction_discovery };
145
+ export { File2, Event10, Options6, Service48, layer18, configured7, node52, exports_instruction_discovery };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options7,
9
+ Options: () => Options9,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options7 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options7]))]);
13
+ var Options9 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options9]))]);
15
15
 
16
- export { Options7, Spec2, exports_plugin3 };
16
+ export { Options9, Spec2, exports_plugin3 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service51
3
- } from "./persistent-pty-bzw5p0v3.js";
2
+ Service54
3
+ } from "./image-qmsdj5ty.js";
4
4
  import {
5
- Service13
6
- } from "./persistent-pty-k1qrnqst.js";
5
+ Service47
6
+ } from "./image-56b3zt1s.js";
7
7
  import {
8
8
  match2
9
- } from "./persistent-pty-y1fvbwt7.js";
9
+ } from "./image-y1fvbwt7.js";
10
10
  import {
11
11
  observe2
12
- } from "./persistent-pty-qsdy395h.js";
12
+ } from "./image-qsdy395h.js";
13
13
  import {
14
14
  __export
15
- } from "./persistent-pty-9rqn6x4v.js";
15
+ } from "./image-9rqn6x4v.js";
16
16
 
17
17
  // src/config/plugin/policy.ts
18
18
  var exports_policy = {};
19
19
  __export(exports_policy, {
20
20
  ConfigPolicyPlugin: () => exports_policy,
21
- Plugin: () => Plugin17
21
+ Plugin: () => Plugin33
22
22
  });
23
23
  import { define } from "@opencode/plugin/effect/plugin";
24
24
  import { Effect } from "effect";
25
- var Plugin17 = define({
25
+ var Plugin33 = define({
26
26
  id: "opencode.config.policy",
27
27
  effect: Effect.fn(function* (ctx) {
28
- const config = yield* Service51;
29
- const managed = yield* Service13;
28
+ const config = yield* Service54;
29
+ const managed = yield* Service47;
30
30
  const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
31
31
  const policies = () => {
32
32
  const organization = managed.current();
@@ -57,4 +57,4 @@ var Plugin17 = define({
57
57
  })
58
58
  });
59
59
 
60
- export { Plugin17, exports_policy };
60
+ export { Plugin33, exports_policy };
@@ -1,26 +1,26 @@
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
  observe2
7
- } from "./persistent-pty-qsdy395h.js";
7
+ } from "./image-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./persistent-pty-9rqn6x4v.js";
10
+ } from "./image-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
- var exports_websearch = {};
14
- __export(exports_websearch, {
15
- ConfigWebSearchPlugin: () => exports_websearch,
16
- Plugin: () => Plugin8
13
+ var exports_websearch2 = {};
14
+ __export(exports_websearch2, {
15
+ ConfigWebSearchPlugin: () => exports_websearch2,
16
+ Plugin: () => Plugin41
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin8 = define({
20
+ var Plugin41 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service51;
23
+ const config = yield* Service54;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin8 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin8, exports_websearch };
35
+ export { Plugin41, exports_websearch2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service54,
3
- node57
4
- } from "./persistent-pty-4eyny2x4.js";
2
+ Service42,
3
+ node45
4
+ } from "./image-mrfxdnhj.js";
5
5
  import {
6
- Key4,
6
+ Key3,
7
7
  removed2,
8
8
  make21,
9
9
  diffByKey2
10
- } from "./persistent-pty-eaj1djv9.js";
10
+ } from "./image-s8d7rejh.js";
11
11
  import {
12
12
  __export
13
- } from "./persistent-pty-9rqn6x4v.js";
13
+ } from "./image-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions4 = {};
17
- __export(exports_instructions4, {
18
- ReferenceInstructions: () => exports_instructions4,
19
- Service: () => Service41,
20
- node: () => node44
16
+ var exports_instructions2 = {};
17
+ __export(exports_instructions2, {
18
+ ReferenceInstructions: () => exports_instructions2,
19
+ Service: () => Service29,
20
+ node: () => node33
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,11 +57,11 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service41 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service29 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service41, Effect.gen(function* () {
63
- const references = yield* Service54;
64
- return Service41.of({
62
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
63
+ const references = yield* Service42;
64
+ return Service29.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
@@ -69,7 +69,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
71
  return make21({
72
- key: Key4.make("core/reference-guidance"),
72
+ key: Key3.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
75
75
  render: {
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node44 = makeLocationNode({ service: Service41, layer, deps: [node57] });
84
+ var node33 = makeLocationNode({ service: Service29, layer, deps: [node45] });
85
85
 
86
- export { Service41, node44, exports_instructions4 };
86
+ export { Service29, node33, exports_instructions2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./persistent-pty-5daktx2q.js";
3
+ } from "./image-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./persistent-pty-922hggd3.js";
6
+ } from "./image-922hggd3.js";
7
7
  import {
8
- ID5,
8
+ ID6,
9
9
  Name2
10
- } from "./persistent-pty-c5drhkvr.js";
10
+ } from "./image-vpcr0tzx.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/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
55
55
  return {
56
56
  _tag: "Parsed",
57
57
  skill: {
58
- id: ID5.make(id),
58
+ id: ID6.make(id),
59
59
  name: Name2.make(frontmatter.name ?? id),
60
60
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
61
61
  ...autoinvoke === undefined ? {} : { autoinvoke },
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./persistent-pty-qaymkmh1.js";
3
+ } from "./image-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./persistent-pty-5t3nmthw.js";
3
+ } from "./image-5t3nmthw.js";
4
4
  import {
5
- Service72,
6
- node76
7
- } from "./persistent-pty-brkzx8ca.js";
5
+ Service70,
6
+ node74
7
+ } from "./image-0kem7bvd.js";
8
8
  import {
9
9
  __export
10
- } from "./persistent-pty-9rqn6x4v.js";
10
+ } from "./image-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate = {};
14
14
  __export(exports_generate, {
15
15
  Generate: () => exports_generate,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service18,
17
+ Service: () => Service14,
18
18
  UnavailableError: () => UnavailableError2,
19
19
  layer: () => layer8,
20
- node: () => node21
20
+ node: () => node17
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -33,11 +33,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
33
33
  }) {
34
34
  }
35
35
 
36
- class Service18 extends Context.Service()("@opencode/Generate") {
36
+ class Service14 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer8 = Layer.effect(Service18, Effect.gen(function* () {
38
+ var layer8 = Layer.effect(Service14, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service72;
40
+ const resolver = yield* Service70;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -63,12 +63,12 @@ var layer8 = Layer.effect(Service18, Effect.gen(function* () {
63
63
  const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
64
64
  message: "Generation credentials are unavailable"
65
65
  })));
66
- return Service18.of({ text });
66
+ return Service14.of({ text });
67
67
  }));
68
- var node21 = makeLocationNode({
69
- service: Service18,
68
+ var node17 = makeLocationNode({
69
+ service: Service14,
70
70
  layer: layer8,
71
- deps: [node76, llmClient2]
71
+ deps: [node74, llmClient2]
72
72
  });
73
73
 
74
- export { ModelSelectionError2, UnavailableError2, Service18, layer8, node21, exports_generate };
74
+ export { ModelSelectionError2, UnavailableError2, Service14, layer8, node17, exports_generate };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  ID13,
3
3
  mergeOverlay2
4
- } from "./persistent-pty-dy85ckvv.js";
4
+ } from "./image-3jfaqhpt.js";
5
5
  import {
6
6
  ID12,
7
7
  VariantID2,
8
8
  Info26,
9
9
  compatibility2
10
- } from "./persistent-pty-pq009wkf.js";
10
+ } from "./image-5bd42syd.js";
11
11
  import {
12
12
  __export
13
- } from "./persistent-pty-9rqn6x4v.js";
13
+ } from "./image-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
16
  var exports_models = {};
@@ -1,66 +1,66 @@
1
1
  import {
2
2
  Service77
3
- } from "./persistent-pty-p776grxc.js";
3
+ } from "./image-pf65k87v.js";
4
4
  import {
5
- Service65
6
- } from "./persistent-pty-wqgbc62j.js";
5
+ Service66
6
+ } from "./image-dfvycwty.js";
7
7
  import {
8
- ID4,
8
+ ID3,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service20
14
- } from "./persistent-pty-qfckc8ww.js";
13
+ Service19
14
+ } from "./image-9kzkn7eg.js";
15
15
  import {
16
16
  __export
17
- } from "./persistent-pty-9rqn6x4v.js";
17
+ } from "./image-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
- var exports_websearch2 = {};
21
- __export(exports_websearch2, {
22
- Input: () => Input7,
20
+ var exports_websearch = {};
21
+ __export(exports_websearch, {
22
+ Input: () => Input12,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin42,
25
- WebSearchTool: () => exports_websearch2,
26
- description: () => description4,
27
- name: () => name7
24
+ Plugin: () => Plugin13,
25
+ WebSearchTool: () => exports_websearch,
26
+ description: () => description5,
27
+ name: () => name12
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name7 = "websearch";
32
+ var name12 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input7 = Schema.Struct({
42
+ var Input12 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID4,
46
+ provider: ID3,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin42 = {
49
+ var Plugin13 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service65;
52
+ const permission = yield* Service66;
53
53
  const forms = yield* Service77;
54
- const websearch = yield* Service20;
54
+ const websearch = yield* Service19;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name7,
56
+ name: name12,
57
57
  options: { codemode: false },
58
- description: description4,
59
- input: Input7,
58
+ description: description5,
59
+ input: Input12,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name7,
63
+ action: name12,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name7];
179
+ delete event.tools[name12];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name7, NO_RESULTS2, description4, Input7, Plugin42, exports_websearch2 };
187
+ export { name12, NO_RESULTS2, description5, Input12, Plugin13, exports_websearch };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service65
3
- } from "./persistent-pty-wqgbc62j.js";
2
+ Service66
3
+ } from "./image-dfvycwty.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./persistent-pty-4vcrnpx2.js";
7
+ } from "./image-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./persistent-pty-3v8g72cx.js";
10
+ } from "./image-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./persistent-pty-9rqn6x4v.js";
13
+ } from "./image-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input6,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
19
+ Input: () => Input11,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin41,
22
+ Plugin: () => Plugin12,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description3,
25
+ description: () => description4,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name6
27
+ name: () => name11
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name6 = "webfetch";
34
- var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
33
+ var name11 = "webfetch";
34
+ var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input6 = Schema.Struct({
41
+ var Input11 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input6 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input6.fields.format,
51
+ format: Input11.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
79
79
  throw new Error("URL must use http:// or https://");
80
80
  };
81
81
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
82
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
82
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
83
83
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
84
84
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
85
85
  var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin41 = {
95
+ var Plugin12 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service65;
99
+ const permission = yield* Service66;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name6,
101
+ name: name11,
102
102
  options: { codemode: false },
103
- description: description3,
104
- input: Input6,
103
+ description: description4,
104
+ input: Input11,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin41 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name6,
112
+ action: name11,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name6, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input6, Plugin41, extractTextFromHTML2, exports_webfetch };
170
+ export { name11, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input11, Plugin12, extractTextFromHTML2, exports_webfetch };