@opencode/core 0.0.0-dev-20058 → 0.0.0-dev-20059

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{filesystem-j38rfzw3.js → aisdk-04t848g5.js} +16 -16
  8. package/dist/chunks/{filesystem-610s35xp.js → aisdk-0bbxgxn7.js} +23 -23
  9. package/dist/chunks/{filesystem-6a0m4sbe.js → aisdk-0c4bec69.js} +1 -1
  10. package/dist/chunks/{filesystem-vbj3evna.js → aisdk-0g56z2th.js} +8 -8
  11. package/dist/chunks/{filesystem-0paq2nw3.js → aisdk-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{filesystem-cdvs3883.js → aisdk-0ph0c1gb.js} +84 -84
  13. package/dist/chunks/{filesystem-1dazxqgg.js → aisdk-1dazxqgg.js} +2 -2
  14. package/dist/chunks/{filesystem-784hb5j4.js → aisdk-1ed2t66p.js} +4 -4
  15. package/dist/chunks/{filesystem-60btt90r.js → aisdk-1f6ypbxw.js} +7 -7
  16. package/dist/chunks/{filesystem-x1mxg5wh.js → aisdk-1g4tm2g7.js} +34 -34
  17. package/dist/chunks/{filesystem-h95k17zz.js → aisdk-1gt61qd4.js} +25 -25
  18. package/dist/chunks/{filesystem-x2qdxhwm.js → aisdk-1p7f10vm.js} +8 -8
  19. package/dist/chunks/{filesystem-1z9ym72g.js → aisdk-1rcsqgm2.js} +28 -28
  20. package/dist/chunks/aisdk-1x9sndgh.js +252 -0
  21. package/dist/chunks/{filesystem-21r38tys.js → aisdk-21r38tys.js} +1 -1
  22. package/dist/chunks/{filesystem-2402vzrj.js → aisdk-2402vzrj.js} +1 -1
  23. package/dist/chunks/{filesystem-2a5m3afh.js → aisdk-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{filesystem-1g96y08y.js → aisdk-2eegacq4.js} +8 -8
  25. package/dist/chunks/{filesystem-b7e2se5y.js → aisdk-2jdahqny.js} +36 -36
  26. package/dist/chunks/{filesystem-7dqw4kz8.js → aisdk-2k8khapm.js} +5 -5
  27. package/dist/chunks/{filesystem-v6h5pe3e.js → aisdk-2pgt13mx.js} +56 -56
  28. package/dist/chunks/{filesystem-yvav0rms.js → aisdk-2sw6mnsj.js} +19 -19
  29. package/dist/chunks/{filesystem-w94e8grp.js → aisdk-2wrqanh2.js} +173 -173
  30. package/dist/chunks/{filesystem-k70hck66.js → aisdk-2y3veaqx.js} +3 -3
  31. package/dist/chunks/{filesystem-90tesg4p.js → aisdk-3ey9511z.js} +11 -11
  32. package/dist/chunks/{filesystem-3fc6dm20.js → aisdk-3fc6dm20.js} +1 -1
  33. package/dist/chunks/{filesystem-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{filesystem-8xd21chy.js → aisdk-3pbjq009.js} +11 -11
  35. package/dist/chunks/{filesystem-ywsxhfz4.js → aisdk-3sgxe5ah.js} +8 -8
  36. package/dist/chunks/{filesystem-3smtnn6g.js → aisdk-3smtnn6g.js} +1 -1
  37. package/dist/chunks/{filesystem-3tvqynh2.js → aisdk-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{filesystem-z3pw5915.js → aisdk-3w0fmcng.js} +5 -5
  39. package/dist/chunks/{filesystem-9f6bk4jp.js → aisdk-3w1jy6kx.js} +13 -13
  40. package/dist/chunks/{filesystem-3zsf4n22.js → aisdk-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{filesystem-yz0rw8mp.js → aisdk-40yg4m62.js} +20 -20
  42. package/dist/chunks/{filesystem-dn34nxfz.js → aisdk-431gej2g.js} +15 -15
  43. package/dist/chunks/{filesystem-b8y1psts.js → aisdk-44dmrwxe.js} +22 -22
  44. package/dist/chunks/{filesystem-h6r3nrb9.js → aisdk-44h5tttr.js} +4 -4
  45. package/dist/chunks/{filesystem-em405b3b.js → aisdk-45g512em.js} +27 -27
  46. package/dist/chunks/{filesystem-zjfek02j.js → aisdk-47sqm5m0.js} +18 -18
  47. package/dist/chunks/{filesystem-c59jfbam.js → aisdk-48sc52zr.js} +8 -8
  48. package/dist/chunks/{filesystem-ajdm0393.js → aisdk-4a019qnj.js} +17 -17
  49. package/dist/chunks/{filesystem-q0h1k0nn.js → aisdk-4c8h7ne4.js} +8 -8
  50. package/dist/chunks/{filesystem-74z2tjhb.js → aisdk-4d42q6wq.js} +16 -16
  51. package/dist/chunks/{filesystem-4djaq3bc.js → aisdk-4h16qdav.js} +25 -25
  52. package/dist/chunks/{filesystem-2ann4zqa.js → aisdk-4npj9gp0.js} +7 -7
  53. package/dist/chunks/{filesystem-xg2c3t8c.js → aisdk-54fs3f1t.js} +29 -29
  54. package/dist/chunks/{filesystem-54tcyq79.js → aisdk-54tcyq79.js} +2 -2
  55. package/dist/chunks/{filesystem-56gdpj1q.js → aisdk-56gdpj1q.js} +2 -2
  56. package/dist/chunks/{filesystem-57ez7d0k.js → aisdk-57ez7d0k.js} +2 -2
  57. package/dist/chunks/{filesystem-5daktx2q.js → aisdk-5daktx2q.js} +1 -1
  58. package/dist/chunks/{filesystem-rp5es0vj.js → aisdk-5ehheb5p.js} +4 -4
  59. package/dist/chunks/{filesystem-5ekn9679.js → aisdk-5ekn9679.js} +1 -1
  60. package/dist/chunks/{filesystem-c6a58n7z.js → aisdk-5jcr58hb.js} +9 -9
  61. package/dist/chunks/{filesystem-e3qxr5gk.js → aisdk-5qd3pb7m.js} +2 -2
  62. package/dist/chunks/{filesystem-59srapy6.js → aisdk-5s70t9v4.js} +27 -27
  63. package/dist/chunks/{filesystem-5t3nmthw.js → aisdk-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{filesystem-rzgj8h8z.js → aisdk-5tq5kwpg.js} +10 -10
  65. package/dist/chunks/{filesystem-gws6d69e.js → aisdk-5wjhr707.js} +11 -11
  66. package/dist/chunks/{filesystem-2xac8pgk.js → aisdk-65a5v4fq.js} +11 -11
  67. package/dist/chunks/{filesystem-669tq793.js → aisdk-669tq793.js} +1 -1
  68. package/dist/chunks/{filesystem-d2z7ptc5.js → aisdk-6ayghty1.js} +11 -11
  69. package/dist/chunks/aisdk-6kdq0pjd.js +4 -0
  70. package/dist/chunks/{filesystem-6msgmcgs.js → aisdk-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{filesystem-dcq7yv4f.js → aisdk-6nzyvpdc.js} +33 -33
  72. package/dist/chunks/{filesystem-qx3e9gac.js → aisdk-6ty83mf0.js} +3 -3
  73. package/dist/chunks/{filesystem-c1z6arme.js → aisdk-70rma8he.js} +11 -11
  74. package/dist/chunks/{filesystem-tqskq33r.js → aisdk-78btfmzf.js} +32 -32
  75. package/dist/chunks/{filesystem-w16wk7p7.js → aisdk-7a9c30sy.js} +32 -32
  76. package/dist/chunks/{filesystem-cvpeh336.js → aisdk-7bd5qrpn.js} +11 -11
  77. package/dist/chunks/{filesystem-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{filesystem-mkkks4v9.js → aisdk-7etnf7vc.js} +44 -44
  79. package/dist/chunks/{filesystem-g6nkpj50.js → aisdk-7gb984kd.js} +46 -46
  80. package/dist/chunks/aisdk-7wnasa3t.js +503 -0
  81. package/dist/chunks/{filesystem-1nbhwk8c.js → aisdk-7zkc1s90.js} +6 -6
  82. package/dist/chunks/{filesystem-qpyfagd9.js → aisdk-85e776qr.js} +10 -10
  83. package/dist/chunks/{filesystem-hdh73vmf.js → aisdk-8bh3p0v7.js} +10 -10
  84. package/dist/chunks/{filesystem-8d7r5vzw.js → aisdk-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{filesystem-ntnbwdh0.js → aisdk-8mb2f6fn.js} +35 -35
  86. package/dist/chunks/{filesystem-sjwzrrye.js → aisdk-8rxxwv2n.js} +9 -9
  87. package/dist/chunks/{filesystem-syrm56xy.js → aisdk-9212ptjn.js} +30 -30
  88. package/dist/chunks/{filesystem-jkp0d30b.js → aisdk-9ae44cfy.js} +6 -6
  89. package/dist/chunks/{filesystem-f02ytr6p.js → aisdk-9hdabq9a.js} +13 -13
  90. package/dist/chunks/{filesystem-kqg1335f.js → aisdk-9ke27tmj.js} +3 -3
  91. package/dist/chunks/{filesystem-q3vsp035.js → aisdk-9v708w4b.js} +31 -31
  92. package/dist/chunks/{filesystem-vn7r73nx.js → aisdk-9w4wfgy5.js} +21 -21
  93. package/dist/chunks/{filesystem-ej964ykn.js → aisdk-a73101r3.js} +6 -6
  94. package/dist/chunks/{filesystem-aaet6srn.js → aisdk-aaet6srn.js} +2 -2
  95. package/dist/chunks/{filesystem-fs2ge6as.js → aisdk-acs0wan2.js} +4 -4
  96. package/dist/chunks/{filesystem-y93b664k.js → aisdk-afed7ext.js} +12 -12
  97. package/dist/chunks/{filesystem-5c3w2q2f.js → aisdk-akkyx3q5.js} +4 -4
  98. package/dist/chunks/{filesystem-b6gygkdw.js → aisdk-b6gygkdw.js} +2 -2
  99. package/dist/chunks/{filesystem-fkq4r4ge.js → aisdk-b9rv9a2w.js} +28 -28
  100. package/dist/chunks/{filesystem-eageaqwr.js → aisdk-bd9yrsny.js} +11 -11
  101. package/dist/chunks/{filesystem-swm6fqec.js → aisdk-be7gk8w7.js} +22 -22
  102. package/dist/chunks/{filesystem-bjtzbw4r.js → aisdk-bjtzbw4r.js} +3 -3
  103. package/dist/chunks/{filesystem-ajy2bq43.js → aisdk-bmccx3ef.js} +2 -2
  104. package/dist/chunks/{filesystem-jw971jas.js → aisdk-bq3s7xjv.js} +36 -36
  105. package/dist/chunks/{filesystem-eys57y9b.js → aisdk-br0tr5aq.js} +8 -8
  106. package/dist/chunks/{filesystem-nbh3kmd5.js → aisdk-bz197ygy.js} +32 -32
  107. package/dist/chunks/{filesystem-hc9acsgr.js → aisdk-c2c991ad.js} +9 -9
  108. package/dist/chunks/{filesystem-1ybypp7f.js → aisdk-c2ex003p.js} +18 -18
  109. package/dist/chunks/{filesystem-vkgtc4qa.js → aisdk-cbbtdf47.js} +15 -15
  110. package/dist/chunks/{filesystem-cjwramev.js → aisdk-chxat7qs.js} +8 -8
  111. package/dist/chunks/{filesystem-h5jpta2v.js → aisdk-db7dv58e.js} +14 -14
  112. package/dist/chunks/{filesystem-g8nw47mr.js → aisdk-dcj5ws7m.js} +26 -26
  113. package/dist/chunks/{filesystem-50xrc7m8.js → aisdk-dcxh3epe.js} +8 -8
  114. package/dist/chunks/{filesystem-3zwffgsw.js → aisdk-dff7zhw9.js} +41 -41
  115. package/dist/chunks/{filesystem-drwq78ky.js → aisdk-drwq78ky.js} +1 -1
  116. package/dist/chunks/{filesystem-1h2mvt9v.js → aisdk-dsyq40hm.js} +11 -11
  117. package/dist/chunks/{filesystem-1cdk1anx.js → aisdk-dtygkec3.js} +4 -4
  118. package/dist/chunks/{filesystem-1txphked.js → aisdk-dxmp4pvz.js} +19 -19
  119. package/dist/chunks/{filesystem-nehdvjjm.js → aisdk-e1j3zbp9.js} +18 -18
  120. package/dist/chunks/{filesystem-9n50fjmv.js → aisdk-e2tq4ed5.js} +11 -11
  121. package/dist/chunks/{filesystem-e6hmchc5.js → aisdk-e6hmchc5.js} +2 -2
  122. package/dist/chunks/{filesystem-t550f9t1.js → aisdk-eaj1djv9.js} +8 -8
  123. package/dist/chunks/{filesystem-7z30ydt4.js → aisdk-ebj9bm8a.js} +2 -2
  124. package/dist/chunks/{filesystem-0ajgz5pc.js → aisdk-edcb3n9e.js} +28 -28
  125. package/dist/chunks/{filesystem-ef5x83kb.js → aisdk-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{filesystem-2x6gpqcz.js → aisdk-enn904mg.js} +11 -11
  127. package/dist/chunks/{filesystem-erw5rpbs.js → aisdk-erw5rpbs.js} +2 -2
  128. package/dist/chunks/{filesystem-td2f4nae.js → aisdk-es8e3c40.js} +34 -34
  129. package/dist/chunks/{filesystem-etq0c3wd.js → aisdk-etq0c3wd.js} +1 -1
  130. package/dist/chunks/{filesystem-c20khjev.js → aisdk-f3ngv102.js} +21 -21
  131. package/dist/chunks/{filesystem-knb7evpn.js → aisdk-fkjmw100.js} +6 -6
  132. package/dist/chunks/{filesystem-3838ekre.js → aisdk-fwrss4ad.js} +4 -4
  133. package/dist/chunks/{filesystem-e0z0cg4q.js → aisdk-g71g1668.js} +17 -17
  134. package/dist/chunks/{filesystem-wj14njhs.js → aisdk-g93qkh1r.js} +10 -10
  135. package/dist/chunks/{filesystem-j27v3vkc.js → aisdk-gbx9g38h.js} +10 -10
  136. package/dist/chunks/{filesystem-t9c7wbd6.js → aisdk-gcge6708.js} +32 -32
  137. package/dist/chunks/{filesystem-gd4qta3r.js → aisdk-gd4qta3r.js} +1 -1
  138. package/dist/chunks/{filesystem-gfvb90ym.js → aisdk-gfvb90ym.js} +2 -2
  139. package/dist/chunks/{filesystem-x2d9qy7d.js → aisdk-gg4dpy88.js} +5 -5
  140. package/dist/chunks/{filesystem-hp5kccyz.js → aisdk-ghh1z1yz.js} +22 -22
  141. package/dist/chunks/{filesystem-rw0sa94v.js → aisdk-gjg0tckn.js} +5 -5
  142. package/dist/chunks/{filesystem-7gp9bv02.js → aisdk-gmjjhz4f.js} +9 -9
  143. package/dist/chunks/{filesystem-sd0frev4.js → aisdk-gndgmv4j.js} +14 -14
  144. package/dist/chunks/{filesystem-fhhc6cz0.js → aisdk-gp58by1e.js} +35 -35
  145. package/dist/chunks/{filesystem-gv6a8nnw.js → aisdk-gv6a8nnw.js} +2 -2
  146. package/dist/chunks/{filesystem-6ccrc22g.js → aisdk-h20zyt68.js} +20 -20
  147. package/dist/chunks/{filesystem-3kzn8mmq.js → aisdk-h5fw247w.js} +12 -12
  148. package/dist/chunks/{filesystem-h6vf3j39.js → aisdk-h6vf3j39.js} +1 -1
  149. package/dist/chunks/{filesystem-kdq8v965.js → aisdk-h71w788e.js} +9 -9
  150. package/dist/chunks/{filesystem-r8sc1a4f.js → aisdk-hdrd7jrk.js} +9 -9
  151. package/dist/chunks/{filesystem-kbr4et4a.js → aisdk-heg2hsbb.js} +22 -22
  152. package/dist/chunks/{filesystem-hbj9ec79.js → aisdk-hfjj38pm.js} +20 -20
  153. package/dist/chunks/{filesystem-96jy5zx6.js → aisdk-hkhehbtb.js} +8 -8
  154. package/dist/chunks/{filesystem-90360v3a.js → aisdk-hnvj1nm6.js} +11 -11
  155. package/dist/chunks/{filesystem-m2s6sqez.js → aisdk-hqvp1db0.js} +12 -12
  156. package/dist/chunks/{filesystem-vg66hfa0.js → aisdk-hrn0dmwn.js} +20 -20
  157. package/dist/chunks/{filesystem-2t3h7cq7.js → aisdk-hww7sddr.js} +12 -12
  158. package/dist/chunks/{filesystem-d2vc91a2.js → aisdk-hyb7fvbn.js} +1 -1
  159. package/dist/chunks/{filesystem-yy9w0ct4.js → aisdk-hzgc6sw6.js} +40 -40
  160. package/dist/chunks/{filesystem-bdep6f7m.js → aisdk-j1aacz73.js} +13 -13
  161. package/dist/chunks/{filesystem-6hgrtsyk.js → aisdk-j4ynjjf7.js} +9 -9
  162. package/dist/chunks/{filesystem-ym15bmrz.js → aisdk-j5208yae.js} +7 -7
  163. package/dist/chunks/{filesystem-j56e64zr.js → aisdk-j56e64zr.js} +1 -1
  164. package/dist/chunks/{filesystem-xgy7gjy2.js → aisdk-j8687dqe.js} +43 -43
  165. package/dist/chunks/{filesystem-96k0ayb6.js → aisdk-jc2v6bqp.js} +3 -3
  166. package/dist/chunks/{filesystem-wmfejedg.js → aisdk-jca4demv.js} +2 -2
  167. package/dist/chunks/{filesystem-7689gsfy.js → aisdk-jck3snkb.js} +13 -13
  168. package/dist/chunks/{filesystem-wc5qgcrf.js → aisdk-jhtajkva.js} +24 -24
  169. package/dist/chunks/{filesystem-azev8sc8.js → aisdk-js4b2xd1.js} +5 -5
  170. package/dist/chunks/{filesystem-jva4mgym.js → aisdk-jva4mgym.js} +1 -1
  171. package/dist/chunks/{filesystem-azee6x5s.js → aisdk-jyt207sg.js} +8 -8
  172. package/dist/chunks/{filesystem-sffp4478.js → aisdk-k1e78cr4.js} +9 -9
  173. package/dist/chunks/{filesystem-j229mh45.js → aisdk-k3582ck7.js} +23 -23
  174. package/dist/chunks/{filesystem-k3c624dm.js → aisdk-k3c624dm.js} +3 -3
  175. package/dist/chunks/{filesystem-b0grxa7w.js → aisdk-kbj2dgab.js} +5 -5
  176. package/dist/chunks/{filesystem-3z2w941y.js → aisdk-khhmxnak.js} +76 -76
  177. package/dist/chunks/{filesystem-tr1np92s.js → aisdk-kj9bmcx8.js} +27 -27
  178. package/dist/chunks/{filesystem-c6j7t6he.js → aisdk-kpp32ye6.js} +5 -5
  179. package/dist/chunks/{filesystem-2m0vf6qg.js → aisdk-kr10dacr.js} +5 -5
  180. package/dist/chunks/{filesystem-7007jcc0.js → aisdk-ks8q6m23.js} +17 -17
  181. package/dist/chunks/{filesystem-z7w1k550.js → aisdk-kvc9t43z.js} +48 -48
  182. package/dist/chunks/{filesystem-pf9pgydg.js → aisdk-kwrf6mrp.js} +4 -4
  183. package/dist/chunks/{filesystem-m3fdjcah.js → aisdk-m3fdjcah.js} +1 -1
  184. package/dist/chunks/{filesystem-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{filesystem-1fcrsx1q.js → aisdk-mw934p8z.js} +8 -8
  186. package/dist/chunks/{filesystem-xrm59swn.js → aisdk-mx1h4taz.js} +57 -57
  187. package/dist/chunks/{filesystem-4bq1ye2s.js → aisdk-mx52g176.js} +30 -30
  188. package/dist/chunks/{filesystem-gxb1qwhf.js → aisdk-n1vjj20t.js} +6 -6
  189. package/dist/chunks/{filesystem-j48z016f.js → aisdk-n3rcvph5.js} +32 -32
  190. package/dist/chunks/{filesystem-9wjadkhm.js → aisdk-n56m9p0x.js} +7 -7
  191. package/dist/chunks/{filesystem-h9zmv3t9.js → aisdk-n94bagkt.js} +5 -5
  192. package/dist/chunks/{filesystem-w7vefw1y.js → aisdk-nej3tasb.js} +24 -24
  193. package/dist/chunks/{filesystem-xvwrn2eq.js → aisdk-nfttncsy.js} +8 -8
  194. package/dist/chunks/{filesystem-2pdg46mn.js → aisdk-njp0gf2a.js} +11 -11
  195. package/dist/chunks/{filesystem-cwxmk7ss.js → aisdk-nnt4p6dv.js} +90 -90
  196. package/dist/chunks/{filesystem-pn0fh19r.js → aisdk-nyd8mmzv.js} +27 -27
  197. package/dist/chunks/{filesystem-3b1q5j1v.js → aisdk-p0b4ytnr.js} +6 -6
  198. package/dist/chunks/{filesystem-ead3g9p8.js → aisdk-p44d8wdy.js} +5 -5
  199. package/dist/chunks/{filesystem-bzbbm4jd.js → aisdk-p805rw4s.js} +14 -14
  200. package/dist/chunks/{filesystem-6sd83gj0.js → aisdk-pccsbftt.js} +10 -10
  201. package/dist/chunks/{filesystem-m0gyvzz0.js → aisdk-pdsf3rnd.js} +35 -35
  202. package/dist/chunks/aisdk-phz3h32g.js +18 -0
  203. package/dist/chunks/{filesystem-pjvnvgmy.js → aisdk-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{filesystem-pknna89w.js → aisdk-pknna89w.js} +1 -1
  205. package/dist/chunks/{filesystem-psazpmmj.js → aisdk-psazpmmj.js} +2 -2
  206. package/dist/chunks/{filesystem-jwxewjhz.js → aisdk-ptne5ft2.js} +13 -13
  207. package/dist/chunks/{filesystem-c0aad6gz.js → aisdk-q2fhye4q.js} +46 -46
  208. package/dist/chunks/{filesystem-01m43rby.js → aisdk-q3t37ft6.js} +3 -3
  209. package/dist/chunks/{filesystem-dfvnyc1p.js → aisdk-q8j10mn3.js} +12 -12
  210. package/dist/chunks/{filesystem-497y6drv.js → aisdk-qb1cgkpv.js} +20 -20
  211. package/dist/chunks/{filesystem-24dd53tp.js → aisdk-qg0jgkcp.js} +9 -9
  212. package/dist/chunks/{filesystem-8gt6y3g4.js → aisdk-qhj5b8b5.js} +6 -6
  213. package/dist/chunks/{filesystem-79qaa2kf.js → aisdk-qmqgtz8f.js} +9 -9
  214. package/dist/chunks/{filesystem-za5gkgpv.js → aisdk-qqfamm8z.js} +44 -44
  215. package/dist/chunks/{filesystem-cay919zr.js → aisdk-qs9phf1a.js} +43 -43
  216. package/dist/chunks/{filesystem-qsdy395h.js → aisdk-qsdy395h.js} +1 -1
  217. package/dist/chunks/{filesystem-ppwz1pgg.js → aisdk-qy51cyre.js} +13 -13
  218. package/dist/chunks/{filesystem-2bwf3es8.js → aisdk-r02qfb2g.js} +22 -22
  219. package/dist/chunks/{filesystem-kwjksd0m.js → aisdk-r1jw6b0z.js} +4 -4
  220. package/dist/chunks/{filesystem-73tb2d7t.js → aisdk-r5x6zcsm.js} +3 -3
  221. package/dist/chunks/{filesystem-rdw6cm16.js → aisdk-rdw6cm16.js} +1 -1
  222. package/dist/chunks/aisdk-rj3dv5f0.js +26 -0
  223. package/dist/chunks/{filesystem-84dmcwyh.js → aisdk-rsq7r3s1.js} +4 -4
  224. package/dist/chunks/{filesystem-h08an08g.js → aisdk-rt493m05.js} +22 -22
  225. package/dist/chunks/{filesystem-jwg7jy4z.js → aisdk-s2fpa66b.js} +29 -29
  226. package/dist/chunks/{filesystem-ccdmqpvf.js → aisdk-s6tnw81q.js} +22 -22
  227. package/dist/chunks/{filesystem-eed4e4cj.js → aisdk-s9f2fy8d.js} +18 -18
  228. package/dist/chunks/{filesystem-d63pwp4x.js → aisdk-sccfbh3h.js} +23 -23
  229. package/dist/chunks/{filesystem-m0rk0w5r.js → aisdk-snnen6xr.js} +11 -11
  230. package/dist/chunks/{filesystem-6cd6tdvt.js → aisdk-spqcpneg.js} +6 -6
  231. package/dist/chunks/{filesystem-9v7aa5ew.js → aisdk-sz570kr7.js} +16 -16
  232. package/dist/chunks/{filesystem-22b0aspk.js → aisdk-szrj5q11.js} +6 -6
  233. package/dist/chunks/{filesystem-t7n9q6bq.js → aisdk-t2az9yje.js} +4 -4
  234. package/dist/chunks/{filesystem-dfe8djrf.js → aisdk-t9zs3egg.js} +4 -4
  235. package/dist/chunks/{filesystem-tazgh4e4.js → aisdk-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{filesystem-091p10vz.js → aisdk-tbapd7r7.js} +5 -5
  237. package/dist/chunks/{filesystem-kffdqtsz.js → aisdk-tbedkytf.js} +44 -44
  238. package/dist/chunks/{filesystem-r4nmwps5.js → aisdk-tbxcvh5r.js} +21 -21
  239. package/dist/chunks/{filesystem-89znhe33.js → aisdk-tcezcvh9.js} +4 -4
  240. package/dist/chunks/{filesystem-tdstcens.js → aisdk-tdstcens.js} +1 -1
  241. package/dist/chunks/{filesystem-hbfph430.js → aisdk-tf8fdhr4.js} +32 -32
  242. package/dist/chunks/{filesystem-mk6azrf3.js → aisdk-thhwr7pp.js} +22 -22
  243. package/dist/chunks/{filesystem-3zvjefry.js → aisdk-tmbq7myb.js} +15 -15
  244. package/dist/chunks/{filesystem-9c89p4vt.js → aisdk-tphz3vvs.js} +16 -16
  245. package/dist/chunks/{filesystem-tvtrv512.js → aisdk-tvtrv512.js} +1 -1
  246. package/dist/chunks/{filesystem-cf4z6env.js → aisdk-tvzykbv0.js} +12 -12
  247. package/dist/chunks/{filesystem-qvrvrmrf.js → aisdk-v0ntrx5e.js} +11 -11
  248. package/dist/chunks/{filesystem-spb4zceh.js → aisdk-v0x4e3z1.js} +15 -15
  249. package/dist/chunks/{filesystem-1ssnhp0v.js → aisdk-v17ykax0.js} +13 -13
  250. package/dist/chunks/{filesystem-m22m5fz8.js → aisdk-v2kp4wed.js} +5 -5
  251. package/dist/chunks/{filesystem-mtq6xxnx.js → aisdk-v5dkyp31.js} +7 -7
  252. package/dist/chunks/{filesystem-aqd63c5t.js → aisdk-vbyft8vg.js} +20 -20
  253. package/dist/chunks/{filesystem-veqvce7d.js → aisdk-veqvce7d.js} +1 -1
  254. package/dist/chunks/{filesystem-7m5f9412.js → aisdk-vgx6weyf.js} +8 -8
  255. package/dist/chunks/{filesystem-25b3j9qe.js → aisdk-vn0s00ng.js} +11 -11
  256. package/dist/chunks/{filesystem-37mwd34b.js → aisdk-vtpkq4qf.js} +1 -1
  257. package/dist/chunks/{filesystem-vtxr0yy2.js → aisdk-vtxr0yy2.js} +2 -2
  258. package/dist/chunks/{filesystem-w4wqky9w.js → aisdk-vx9p4h61.js} +4 -4
  259. package/dist/chunks/{filesystem-vzcthcp8.js → aisdk-vzcthcp8.js} +1 -1
  260. package/dist/chunks/{filesystem-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{filesystem-zwvzg7cw.js → aisdk-w8jj02n0.js} +15 -15
  262. package/dist/chunks/{filesystem-wd87259q.js → aisdk-wd87259q.js} +1 -1
  263. package/dist/chunks/{filesystem-8tsdq50x.js → aisdk-wj76ss2k.js} +4 -4
  264. package/dist/chunks/{filesystem-rygqb03k.js → aisdk-wny02jks.js} +5 -5
  265. package/dist/chunks/{filesystem-9ecw7jpn.js → aisdk-wqmc3471.js} +22 -22
  266. package/dist/chunks/{filesystem-zp91wsr7.js → aisdk-x0bdz8x7.js} +30 -30
  267. package/dist/chunks/{filesystem-x1ezjp6w.js → aisdk-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/{filesystem-z79afe2f.js → aisdk-x25yssks.js} +25 -25
  269. package/dist/chunks/{filesystem-mebq41rh.js → aisdk-x9kf6dr0.js} +13 -13
  270. package/dist/chunks/{filesystem-f0vv9etb.js → aisdk-xcv5efht.js} +5 -5
  271. package/dist/chunks/{filesystem-y1fvbwt7.js → aisdk-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{filesystem-22gdhsjp.js → aisdk-y246x334.js} +28 -28
  273. package/dist/chunks/{filesystem-dpkg50ah.js → aisdk-y71avatq.js} +4 -4
  274. package/dist/chunks/{filesystem-gx4q998j.js → aisdk-y8s6a14v.js} +15 -15
  275. package/dist/chunks/{filesystem-1acjjqhc.js → aisdk-yp2x3t23.js} +4 -4
  276. package/dist/chunks/{filesystem-g8m5pg2v.js → aisdk-yqh5kdf2.js} +9 -9
  277. package/dist/chunks/{filesystem-yrhqyw5v.js → aisdk-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{filesystem-s4enseaf.js → aisdk-yrznvahk.js} +2 -2
  279. package/dist/chunks/{filesystem-mq7e89ns.js → aisdk-yzt6yyqf.js} +25 -25
  280. package/dist/chunks/{filesystem-z0bkrqjs.js → aisdk-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{filesystem-ae2wweme.js → aisdk-z115nyeg.js} +6 -6
  282. package/dist/chunks/{filesystem-29x78va6.js → aisdk-z63w68vq.js} +6 -6
  283. package/dist/chunks/{filesystem-ctegsqx5.js → aisdk-z7g3eaht.js} +6 -6
  284. package/dist/chunks/{filesystem-zeh9ct20.js → aisdk-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{filesystem-naszgs90.js → aisdk-zh42akkt.js} +32 -32
  286. package/dist/chunks/{filesystem-zr2ceqn5.js → aisdk-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{filesystem-hswr6e8s.js → aisdk-zw18fk8y.js} +19 -19
  288. package/dist/chunks/{filesystem-n6nnv2a0.js → aisdk-zww8k79s.js} +27 -27
  289. package/dist/chunks/{filesystem-zxq2ej10.js → aisdk-zxq2ej10.js} +1 -1
  290. package/dist/chunks/{filesystem-tze1gxc9.js → aisdk-zy892afz.js} +19 -19
  291. package/dist/chunks/{filesystem-0fek3p1n.js → aisdk-zzdg8wge.js} +17 -17
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +5 -5
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +85 -85
  297. package/dist/config/discovery.js +84 -84
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +121 -121
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +123 -123
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +123 -123
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +142 -142
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +122 -122
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +124 -124
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +85 -85
  326. package/dist/database/database.js +70 -70
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +16 -16
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +79 -79
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +370 -370
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +3 -3
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +74 -74
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +225 -225
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +3 -3
  430. package/dist/filesystem/watcher.js +11 -11
  431. package/dist/filesystem.js +106 -106
  432. package/dist/form.js +70 -70
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +361 -361
  461. package/dist/instruction-discovery.js +83 -83
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +86 -86
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +358 -358
  474. package/dist/location.js +81 -81
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +108 -108
  478. package/dist/mcp/instructions.js +128 -128
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +100 -100
  485. package/dist/models-dev.js +103 -103
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +82 -82
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +115 -115
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +88 -88
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +99 -99
  497. package/dist/plugin/compaction.js +131 -131
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +332 -332
  503. package/dist/plugin/mcp-codemode-exclusion.js +1 -1
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +4 -4
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +91 -91
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +94 -94
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +139 -139
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +351 -351
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/warming.js +119 -119
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +6 -6
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +2 -2
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +223 -223
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +80 -80
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +3 -3
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +96 -96
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +91 -91
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +134 -134
  580. package/dist/session/context.js +152 -152
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +7 -7
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +224 -224
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +151 -151
  588. package/dist/session/history.js +15 -15
  589. package/dist/session/inbox.js +88 -88
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +77 -77
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +117 -117
  597. package/dist/session/model-transport.js +7 -7
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +114 -114
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +170 -170
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +85 -85
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +210 -210
  621. package/dist/session/system-prompt.js +1 -1
  622. package/dist/session/title.js +156 -156
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +220 -220
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +218 -218
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +11 -11
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +93 -93
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +127 -127
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +122 -122
  646. package/dist/tool/plugin/question.js +105 -105
  647. package/dist/tool/plugin/read.js +125 -125
  648. package/dist/tool/plugin/shell.js +215 -215
  649. package/dist/tool/plugin/skill.js +103 -103
  650. package/dist/tool/plugin/subagent.js +219 -219
  651. package/dist/tool/plugin/webfetch.js +110 -110
  652. package/dist/tool/plugin/websearch.js +112 -112
  653. package/dist/tool/plugin/write.js +114 -114
  654. package/dist/tool/read-filesystem.js +100 -100
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +14 -14
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +7 -7
  668. package/dist/v1/config/attachment.js +4 -4
  669. package/dist/v1/config/command.js +5 -5
  670. package/dist/v1/config/config.js +16 -16
  671. package/dist/v1/config/error.js +4 -4
  672. package/dist/v1/config/formatter.js +5 -5
  673. package/dist/v1/config/layout.js +1 -1
  674. package/dist/v1/config/lsp.js +5 -5
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +92 -92
  677. package/dist/v1/config/permission.js +7 -7
  678. package/dist/v1/config/plugin.js +3 -3
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +2 -2
  681. package/dist/v1/config/server.js +2 -2
  682. package/dist/v1/config/skills.js +3 -3
  683. package/dist/v1/permission.js +1 -1
  684. package/dist/variant.js +93 -93
  685. package/dist/vcs/patch.js +1 -1
  686. package/dist/vcs.js +89 -89
  687. package/dist/websearch.js +82 -82
  688. package/dist/wellknown/plugin.js +76 -76
  689. package/dist/wellknown.js +79 -79
  690. package/dist/workspace/driver.js +7 -7
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +78 -78
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +8 -8
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +89 -89
  697. package/dist/worktree.js +94 -94
  698. package/package.json +8 -8
  699. package/dist/chunks/filesystem-07j5dwxg.js +0 -252
  700. package/dist/chunks/filesystem-gyce5qg1.js +0 -18
  701. package/dist/chunks/filesystem-mzn0q9qq.js +0 -503
  702. package/dist/chunks/filesystem-v9c484dc.js +0 -26
  703. package/dist/chunks/filesystem-xrsqh21y.js +0 -4
  704. /package/dist/chunks/{filesystem-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{filesystem-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{filesystem-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{filesystem-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{filesystem-1kg9ymc8.js → aisdk-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{filesystem-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{filesystem-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{filesystem-2axfhc9x.js → aisdk-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{filesystem-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{filesystem-34c7v6d4.js → aisdk-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{filesystem-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{filesystem-3asan66x.js → aisdk-3asan66x.js} +0 -0
  716. /package/dist/chunks/{filesystem-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{filesystem-3w5fmr99.js → aisdk-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{filesystem-3wcehsnq.js → aisdk-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{filesystem-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{filesystem-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{filesystem-4vcrnpx2.js → aisdk-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{filesystem-4y7fprxs.js → aisdk-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{filesystem-53557ph1.js → aisdk-53557ph1.js} +0 -0
  724. /package/dist/chunks/{filesystem-550bvhaj.js → aisdk-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{filesystem-6prwharc.js → aisdk-6prwharc.js} +0 -0
  726. /package/dist/chunks/{filesystem-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{filesystem-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{filesystem-822emrt2.js → aisdk-822emrt2.js} +0 -0
  729. /package/dist/chunks/{filesystem-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{filesystem-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{filesystem-8wj87zfr.js → aisdk-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{filesystem-922hggd3.js → aisdk-922hggd3.js} +0 -0
  733. /package/dist/chunks/{filesystem-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{filesystem-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{filesystem-a6k6eb26.js → aisdk-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{filesystem-af5trqkr.js → aisdk-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{filesystem-afrmfg78.js → aisdk-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{filesystem-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{filesystem-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{filesystem-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{filesystem-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{filesystem-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{filesystem-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{filesystem-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{filesystem-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{filesystem-dajrwvna.js → aisdk-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{filesystem-dap0rakb.js → aisdk-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{filesystem-df08tz66.js → aisdk-df08tz66.js} +0 -0
  749. /package/dist/chunks/{filesystem-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{filesystem-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{filesystem-e73j6tqm.js → aisdk-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{filesystem-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{filesystem-eh3zwz77.js → aisdk-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{filesystem-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{filesystem-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{filesystem-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{filesystem-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{filesystem-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{filesystem-fxgpk5d8.js → aisdk-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{filesystem-g4wezp1m.js → aisdk-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{filesystem-g86h250q.js → aisdk-g86h250q.js} +0 -0
  762. /package/dist/chunks/{filesystem-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{filesystem-gftt206x.js → aisdk-gftt206x.js} +0 -0
  764. /package/dist/chunks/{filesystem-hjbc5kem.js → aisdk-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{filesystem-hk9envan.js → aisdk-hk9envan.js} +0 -0
  766. /package/dist/chunks/{filesystem-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{filesystem-j5zkgpj8.js → aisdk-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{filesystem-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{filesystem-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{filesystem-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{filesystem-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{filesystem-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{filesystem-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{filesystem-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{filesystem-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{filesystem-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{filesystem-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{filesystem-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{filesystem-qaymkmh1.js → aisdk-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{filesystem-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{filesystem-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{filesystem-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{filesystem-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{filesystem-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{filesystem-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{filesystem-sk3qaz4a.js → aisdk-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{filesystem-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{filesystem-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{filesystem-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{filesystem-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{filesystem-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{filesystem-x0ckcb58.js → aisdk-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{filesystem-x61499pn.js → aisdk-x61499pn.js} +0 -0
  794. /package/dist/chunks/{filesystem-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{filesystem-y8cydn3q.js → aisdk-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{filesystem-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{filesystem-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{filesystem-ym463w8f.js → aisdk-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{filesystem-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./filesystem-2a5m3afh.js";
3
+ } from "./aisdk-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./filesystem-922hggd3.js";
6
+ } from "./aisdk-922hggd3.js";
7
7
  import {
8
8
  Service80
9
- } from "./filesystem-7z30ydt4.js";
9
+ } from "./aisdk-ebj9bm8a.js";
10
10
  import {
11
- Service69
12
- } from "./filesystem-r4nmwps5.js";
11
+ Service61
12
+ } from "./aisdk-tbxcvh5r.js";
13
13
  import {
14
- Service68
15
- } from "./filesystem-zjfek02j.js";
14
+ Service48
15
+ } from "./aisdk-47sqm5m0.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
- Entry4
21
- } from "./filesystem-59srapy6.js";
20
+ Entry2
21
+ } from "./aisdk-5s70t9v4.js";
22
22
  import {
23
- Service50
24
- } from "./filesystem-xrm59swn.js";
23
+ Service73
24
+ } from "./aisdk-mx1h4taz.js";
25
25
  import {
26
- Service16
27
- } from "./filesystem-dn34nxfz.js";
26
+ Service37
27
+ } from "./aisdk-431gej2g.js";
28
28
  import {
29
29
  __export
30
- } from "./filesystem-9rqn6x4v.js";
30
+ } from "./aisdk-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input7,
37
- Output: () => Output5,
38
- Plugin: () => Plugin7,
39
- name: () => name7,
40
- toModelContent: () => toModelContent3
36
+ Input: () => Input2,
37
+ Output: () => Output2,
38
+ Plugin: () => Plugin2,
39
+ name: () => name2,
40
+ toModelContent: () => toModelContent2
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name7 = "glob";
46
- var Input7 = Schema.Struct({
45
+ var name2 = "glob";
46
+ var Input2 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input7 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output5 = Schema.Array(Entry4);
59
- var toModelContent3 = (entries, truncated = false) => {
58
+ var Output2 = Schema.Array(Entry2);
59
+ var toModelContent2 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin7 = {
66
+ var Plugin2 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service69;
70
- const ripgrep = yield* Service68;
69
+ const environment = yield* Service61;
70
+ const ripgrep = yield* Service48;
71
71
  const location = yield* Service80;
72
- const access = yield* Service16;
73
- const permission = yield* Service50;
72
+ const access = yield* Service37;
73
+ const permission = yield* Service73;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name7,
75
+ name: name2,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input7,
79
- output: Output5,
78
+ input: Input2,
79
+ output: Output2,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name7,
86
+ action: name2,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -111,18 +111,18 @@ var Plugin7 = {
111
111
  orElse: () => Effect.fail(new ToolFailure({
112
112
  message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
113
113
  }))
114
- }), Effect.map((result) => result.map((entry) => Entry4.make({
114
+ }), Effect.map((result) => result.map((entry) => Entry2.make({
115
115
  ...entry,
116
116
  path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
117
117
  }))));
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name7, Input7, Output5, toModelContent3, Plugin7, exports_glob };
128
+ export { name2, Input2, Output2, toModelContent2, Plugin2, exports_glob };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./aisdk-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service23,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service23 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service23.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service23, awaitActivation2, exports_service };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./aisdk-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./filesystem-qfa1cgps.js";
3
+ } from "./aisdk-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./filesystem-6msgmcgs.js";
4
+ } from "./aisdk-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./filesystem-qfa1cgps.js";
7
+ } from "./aisdk-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -5,15 +5,15 @@ import {
5
5
  ModelInitializationError3,
6
6
  UnresolvedProviderVariablesError3,
7
7
  UnsupportedCompactionError3,
8
- Service71,
9
- node75
10
- } from "./filesystem-kffdqtsz.js";
8
+ Service43,
9
+ node46
10
+ } from "./aisdk-tbedkytf.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./filesystem-01m43rby.js";
13
+ } from "./aisdk-q3t37ft6.js";
14
14
  import {
15
15
  __export
16
- } from "./filesystem-9rqn6x4v.js";
16
+ } from "./aisdk-9rqn6x4v.js";
17
17
 
18
18
  // src/session/runner/model.ts
19
19
  var exports_model = {};
@@ -22,13 +22,13 @@ __export(exports_model, {
22
22
  ModelInitializationError: () => ModelInitializationError2,
23
23
  ModelNotSelectedError: () => ModelNotSelectedError2,
24
24
  ModelUnavailableError: () => ModelUnavailableError2,
25
- Service: () => Service47,
25
+ Service: () => Service35,
26
26
  SessionRunnerModel: () => exports_model,
27
27
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
28
28
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
29
29
  UnsupportedPackageError: () => UnsupportedPackageError2,
30
30
  VariantUnavailableError: () => VariantUnavailableError2,
31
- node: () => node50,
31
+ node: () => node37,
32
32
  resolved: () => resolved2
33
33
  });
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
57
57
  var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
58
58
  var UnsupportedCompactionError2 = UnsupportedCompactionError3;
59
59
 
60
- class Service47 extends Context.Service()("@opencode/SessionRunnerModel") {
60
+ class Service35 extends Context.Service()("@opencode/SessionRunnerModel") {
61
61
  }
62
62
  var resolved2 = (model, options) => ({
63
63
  model,
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
72
72
  compaction: options.compaction,
73
73
  transport: options.transport
74
74
  });
75
- var layer = Layer.effect(Service47, Effect.gen(function* () {
76
- const resolver = yield* Service71;
77
- return Service47.of({
75
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
76
+ const resolver = yield* Service43;
77
+ return Service35.of({
78
78
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
79
79
  if (!session.model) {
80
80
  const resolved = yield* resolver.resolve();
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
92
92
  })
93
93
  });
94
94
  }));
95
- var node50 = makeLocationNode({ service: Service47, layer, deps: [node75] });
95
+ var node37 = makeLocationNode({ service: Service35, layer, deps: [node46] });
96
96
 
97
- export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service47, resolved2, node50, exports_model };
97
+ export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service35, resolved2, node37, exports_model };
@@ -1,57 +1,57 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./filesystem-j38rfzw3.js";
2
+ Service83,
3
+ node87
4
+ } from "./aisdk-04t848g5.js";
5
5
  import {
6
6
  Service80,
7
7
  node84
8
- } from "./filesystem-7z30ydt4.js";
8
+ } from "./aisdk-ebj9bm8a.js";
9
9
  import {
10
- Service69,
11
- node72
12
- } from "./filesystem-r4nmwps5.js";
10
+ Service61,
11
+ node64
12
+ } from "./aisdk-tbxcvh5r.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./filesystem-gd4qta3r.js";
15
+ } from "./aisdk-gd4qta3r.js";
16
16
  import {
17
- Service57,
17
+ Service60,
18
18
  args2,
19
- node60
20
- } from "./filesystem-vkgtc4qa.js";
19
+ node63
20
+ } from "./aisdk-cbbtdf47.js";
21
21
  import {
22
- Service54,
23
- node57
24
- } from "./filesystem-1g96y08y.js";
22
+ Service77,
23
+ node81
24
+ } from "./aisdk-2eegacq4.js";
25
25
  import {
26
- Service38,
27
- node42
28
- } from "./filesystem-7m5f9412.js";
26
+ Service55,
27
+ node58
28
+ } from "./aisdk-vgx6weyf.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./filesystem-01m43rby.js";
31
+ } from "./aisdk-q3t37ft6.js";
32
32
  import {
33
33
  latest2,
34
- Service58,
35
- node61
36
- } from "./filesystem-yy9w0ct4.js";
34
+ Service57,
35
+ node60
36
+ } from "./aisdk-hzgc6sw6.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./filesystem-dfvnyc1p.js";
40
+ } from "./aisdk-q8j10mn3.js";
41
41
  import {
42
42
  __export
43
- } from "./filesystem-9rqn6x4v.js";
43
+ } from "./aisdk-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError4,
49
+ NotFoundError: () => NotFoundError7,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service37,
51
+ Service: () => Service54,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node41
54
+ node: () => node57
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
62
62
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
64
  import { Global } from "@opencode/util/global";
65
- class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
65
+ class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
66
66
  id: Shell.ID
67
67
  }) {
68
68
  }
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service37 extends Context.Service()("@opencode/Shell") {
73
+ class Service54 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service37, Effect.gen(function* () {
90
- const bus = yield* Service82;
89
+ var layer = () => Layer.effect(Service54, Effect.gen(function* () {
90
+ const bus = yield* Service83;
91
91
  const location = yield* Service80;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service57;
94
- const environment = yield* Service69;
95
- const hooks = yield* Service54;
96
- const environments = yield* Service38;
97
- const config = yield* Service58;
93
+ const shell = yield* Service60;
94
+ const environment = yield* Service61;
95
+ const hooks = yield* Service77;
96
+ const environments = yield* Service55;
97
+ const config = yield* Service57;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service37, Effect.gen(function* () {
115
115
  const require2 = Effect.fnUntraced(function* (id) {
116
116
  const command = commands.get(id);
117
117
  if (!command)
118
- return yield* new NotFoundError4({ id });
118
+ return yield* new NotFoundError7({ id });
119
119
  return command;
120
120
  });
121
121
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service37, Effect.gen(function* () {
128
128
  commands.delete(id);
129
129
  if (command.timeoutFiber)
130
130
  yield* Fiber.interrupt(command.timeoutFiber);
131
- yield* Deferred.fail(command.done, new NotFoundError4({ id }));
131
+ yield* Deferred.fail(command.done, new NotFoundError7({ id }));
132
132
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
133
133
  yield* bus.publish(Shell.Event.Deleted, { id });
134
134
  });
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service37, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service37.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service54.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node41 = makeLocationNode({
320
- service: Service37,
319
+ var node57 = makeLocationNode({
320
+ service: Service54,
321
321
  layer: layer(),
322
322
  deps: [
323
- node86,
323
+ node87,
324
324
  node84,
325
325
  Global.node,
326
+ node63,
327
+ node64,
328
+ node81,
329
+ node58,
326
330
  node60,
327
- node72,
328
- node57,
329
- node42,
330
- node61,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError4, RETENTION2, DIRECTORY2, Service37, cleanup2, node41, exports_shell4 };
335
+ export { NotFoundError7, RETENTION2, DIRECTORY2, Service54, cleanup2, node57, exports_shell4 };
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID9 = Session.ID;
5
- var Info10 = Session.Info;
4
+ var ID15 = Session.ID;
5
+ var Info30 = Session.Info;
6
6
 
7
- export { ID9, Info10, SessionSchema2 };
7
+ export { ID15, Info30, SessionSchema2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./filesystem-gd4qta3r.js";
3
+ } from "./aisdk-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./filesystem-tvtrv512.js";
6
+ } from "./aisdk-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./filesystem-rdw6cm16.js";
9
+ } from "./aisdk-rdw6cm16.js";
10
10
  import {
11
11
  __export
12
- } from "./filesystem-9rqn6x4v.js";
12
+ } from "./aisdk-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service39,
21
+ Service: () => Service56,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node43
23
+ node: () => node59
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service39 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service56 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service39, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service39.of({
125
+ return Service56.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node43 = makeLocationNode({
143
- service: Service39,
142
+ var node59 = makeLocationNode({
143
+ service: Service56,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service39, node43, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service56, node59, exports_tool_output2 };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service50
3
- } from "./filesystem-xrm59swn.js";
2
+ Service73
3
+ } from "./aisdk-mx1h4taz.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./filesystem-4vcrnpx2.js";
7
+ } from "./aisdk-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./filesystem-3v8g72cx.js";
10
+ } from "./aisdk-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./filesystem-9rqn6x4v.js";
13
+ } from "./aisdk-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: () => Input3,
19
+ Input: () => Input6,
20
20
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin3,
22
+ Plugin: () => Plugin6,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description2,
25
+ description: () => description4,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name3
27
+ name: () => name6
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 name3 = "webfetch";
33
+ var name6 = "webfetch";
34
34
  var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description2 = `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 Input3 = Schema.Struct({
41
+ var Input6 = 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 Input3 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input3.fields.format,
51
+ format: Input6.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin3 = {
95
+ var Plugin6 = {
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* Service50;
99
+ const permission = yield* Service73;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name3,
101
+ name: name6,
102
102
  options: { codemode: false },
103
- description: description2,
104
- input: Input3,
103
+ description: description4,
104
+ input: Input6,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin3 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name3,
112
+ action: name6,
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 { name3, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input3, Plugin3, extractTextFromHTML2, exports_webfetch };
170
+ export { name6, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input6, Plugin6, extractTextFromHTML2, exports_webfetch };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./filesystem-922hggd3.js";
3
+ } from "./aisdk-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./filesystem-9rqn6x4v.js";
6
+ } from "./aisdk-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service7,
11
+ Service: () => Service10,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node8
13
+ node: () => node12
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service7 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service7, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service7.of({
66
+ return Service10.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node8 = makeGlobalNode({ service: Service7, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service7, node8, exports_discovery };
155
+ export { Service10, node12, exports_discovery };