@opencode/core 2.0.9 → 2.0.11

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 +78 -78
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{tool-2g2cd18n.js → snapshot-05ccmpx3.js} +32 -32
  8. package/dist/chunks/{tool-adffrgan.js → snapshot-0b7xwtx5.js} +18 -18
  9. package/dist/chunks/{tool-bhj4y43k.js → snapshot-0f9afca0.js} +5 -5
  10. package/dist/chunks/{tool-t6rnym7v.js → snapshot-0jxy745m.js} +14 -14
  11. package/dist/chunks/{tool-2vmydbdw.js → snapshot-0n8be5qx.js} +10 -10
  12. package/dist/chunks/{tool-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{tool-e7q4x2ep.js → snapshot-0pwwg0r9.js} +18 -18
  14. package/dist/chunks/{tool-0q0f95c6.js → snapshot-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{tool-5e19p4dw.js → snapshot-0r7yqxbf.js} +5 -5
  16. package/dist/chunks/{tool-0mb99r4j.js → snapshot-0ze8bqjq.js} +34 -27
  17. package/dist/chunks/{tool-n3mc6yaw.js → snapshot-15qgq8aa.js} +28 -28
  18. package/dist/chunks/{tool-5rdsaqrf.js → snapshot-17z9bz8a.js} +5 -5
  19. package/dist/chunks/{tool-1dazxqgg.js → snapshot-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{tool-w6ertran.js → snapshot-1s14q6dv.js} +13 -13
  21. package/dist/chunks/{tool-dwktjsma.js → snapshot-1z34psg2.js} +1 -1
  22. package/dist/chunks/{tool-21r38tys.js → snapshot-21r38tys.js} +1 -1
  23. package/dist/chunks/{tool-2402vzrj.js → snapshot-2402vzrj.js} +1 -1
  24. package/dist/chunks/{tool-27arm9z1.js → snapshot-245ef20w.js} +5 -5
  25. package/dist/chunks/{tool-w1tdvvt2.js → snapshot-29mryp8j.js} +9 -9
  26. package/dist/chunks/{tool-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{tool-76p4c97e.js → snapshot-2angj6gv.js} +12 -12
  28. package/dist/chunks/{tool-zxcbkvg1.js → snapshot-2h9dp271.js} +18 -18
  29. package/dist/chunks/{tool-cap3n08w.js → snapshot-2nczyj0y.js} +22 -22
  30. package/dist/chunks/{tool-jd81wks2.js → snapshot-2nrpd9wt.js} +35 -35
  31. package/dist/chunks/{tool-42djxevb.js → snapshot-2skcvdjf.js} +44 -44
  32. package/dist/chunks/{tool-d9s573fh.js → snapshot-2w6fc0zt.js} +7 -7
  33. package/dist/chunks/{tool-qzwv76tp.js → snapshot-304wgtgv.js} +6 -6
  34. package/dist/chunks/{tool-pcfkrm12.js → snapshot-3838ekre.js} +4 -4
  35. package/dist/chunks/{tool-57m9tgf1.js → snapshot-3ey45nrc.js} +13 -13
  36. package/dist/chunks/{tool-ek2qcn6v.js → snapshot-3fc50xhh.js} +5 -5
  37. package/dist/chunks/{tool-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{tool-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{tool-e1ddjrnd.js → snapshot-3krb85k7.js} +32 -32
  40. package/dist/chunks/{tool-qecsarb4.js → snapshot-3mvkwxa1.js} +25 -25
  41. package/dist/chunks/{tool-jn4t2z3d.js → snapshot-3n7dg3xb.js} +4 -4
  42. package/dist/chunks/{tool-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{tool-r9s1vmbv.js → snapshot-3tmne9mx.js} +11 -11
  44. package/dist/chunks/{tool-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{tool-pwf27gkd.js → snapshot-3w0c26hf.js} +8 -8
  46. package/dist/chunks/{tool-4e8vs6eh.js → snapshot-428ep8fh.js} +8 -8
  47. package/dist/chunks/{tool-9thxh3x6.js → snapshot-464y6a4g.js} +7 -7
  48. package/dist/chunks/{tool-9hd1jrv7.js → snapshot-49nkpac4.js} +10 -10
  49. package/dist/chunks/{tool-t0e82vdg.js → snapshot-4rvktb94.js} +24 -28
  50. package/dist/chunks/{tool-1ygqh575.js → snapshot-56gdpj1q.js} +9 -9
  51. package/dist/chunks/{tool-t183he7n.js → snapshot-56we7275.js} +20 -20
  52. package/dist/chunks/{tool-d0syxqaf.js → snapshot-58ap2djv.js} +6 -6
  53. package/dist/chunks/{tool-pf6xmb6f.js → snapshot-5cehpmmt.js} +9 -9
  54. package/dist/chunks/{tool-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
  55. package/dist/chunks/{tool-ff0svapt.js → snapshot-5j1rj33z.js} +2 -2
  56. package/dist/chunks/{tool-dqmvjehx.js → snapshot-5mtagd67.js} +20 -20
  57. package/dist/chunks/{tool-rx6gygm6.js → snapshot-5q81y70z.js} +3 -3
  58. package/dist/chunks/{tool-5t3nmthw.js → snapshot-5t3nmthw.js} +2 -2
  59. package/dist/chunks/{tool-y5pzn50y.js → snapshot-5t4gc2jw.js} +32 -32
  60. package/dist/chunks/{tool-wyd4vgvd.js → snapshot-5ykyd4jc.js} +14 -14
  61. package/dist/chunks/{tool-nr25fmgm.js → snapshot-5z77y00w.js} +27 -27
  62. package/dist/chunks/{tool-5y430q9n.js → snapshot-60nch4ac.js} +11 -11
  63. package/dist/chunks/{tool-1rf9k0bb.js → snapshot-60zmewym.js} +38 -38
  64. package/dist/chunks/{tool-669tq793.js → snapshot-669tq793.js} +1 -1
  65. package/dist/chunks/{tool-8t1mk3vk.js → snapshot-67b7pecv.js} +46 -46
  66. package/dist/chunks/{tool-vppzcqrc.js → snapshot-6d4tvs2t.js} +15 -15
  67. package/dist/chunks/{tool-nj8fcevf.js → snapshot-6d64q4dx.js} +17 -17
  68. package/dist/chunks/{tool-08ed4zmw.js → snapshot-6enr500s.js} +6 -6
  69. package/dist/chunks/{tool-m32ek0sw.js → snapshot-6jk3bzck.js} +4 -4
  70. package/dist/chunks/{tool-6msgmcgs.js → snapshot-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{tool-8vvqba33.js → snapshot-6n7nndyg.js} +14 -14
  72. package/dist/chunks/{tool-fsbk27r1.js → snapshot-6pzw4973.js} +9 -9
  73. package/dist/chunks/{tool-wt8nwjmt.js → snapshot-6rdwqshr.js} +9 -9
  74. package/dist/chunks/{tool-9pr9fbrd.js → snapshot-6t13h2x7.js} +23 -23
  75. package/dist/chunks/{tool-tqf8vx6a.js → snapshot-6w4rd0f9.js} +13 -13
  76. package/dist/chunks/{tool-a9jc8qdz.js → snapshot-6z3szx22.js} +10 -10
  77. package/dist/chunks/{tool-5d17xbav.js → snapshot-70y17xeh.js} +5 -5
  78. package/dist/chunks/{tool-jd6wf3ec.js → snapshot-7691x525.js} +6 -6
  79. package/dist/chunks/{tool-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{tool-qgn6gcr1.js → snapshot-7dqw4kz8.js} +5 -5
  81. package/dist/chunks/{tool-ar0mpfen.js → snapshot-7ftq7qvn.js} +16 -16
  82. package/dist/chunks/{tool-y1swv0f0.js → snapshot-7h25ywkf.js} +5 -5
  83. package/dist/chunks/{tool-dc0tp24d.js → snapshot-7remxrzh.js} +5 -5
  84. package/dist/chunks/{tool-afmcrv4e.js → snapshot-7y4wq52a.js} +11 -11
  85. package/dist/chunks/{tool-hzfzrbn9.js → snapshot-818pfwc9.js} +8 -8
  86. package/dist/chunks/{tool-xr88f9g7.js → snapshot-8cdw1f3e.js} +325 -325
  87. package/dist/chunks/{tool-8d7r5vzw.js → snapshot-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{tool-rx871m47.js → snapshot-8gmsnjtv.js} +2 -2
  89. package/dist/chunks/{tool-dj2t23y0.js → snapshot-8p4f9s12.js} +2 -2
  90. package/dist/chunks/{tool-c7hpn42k.js → snapshot-8qpa9xgh.js} +19 -19
  91. package/dist/chunks/{tool-1tx6fftr.js → snapshot-8vk0rx1f.js} +11 -11
  92. package/dist/chunks/{tool-8b03w2b6.js → snapshot-8vknm4nz.js} +51 -51
  93. package/dist/chunks/{tool-czgzge8y.js → snapshot-8y5je5gc.js} +8 -8
  94. package/dist/chunks/{tool-f8ekkhd9.js → snapshot-957rdjpt.js} +34 -34
  95. package/dist/chunks/{tool-py5ms06j.js → snapshot-9nf84nt1.js} +32 -32
  96. package/dist/chunks/{tool-rxerzcr3.js → snapshot-9y23kz5h.js} +46 -46
  97. package/dist/chunks/{tool-5c4hm403.js → snapshot-a1bz86dw.js} +3 -3
  98. package/dist/chunks/{tool-9endzh9e.js → snapshot-a3h76wby.js} +16 -16
  99. package/dist/chunks/{tool-2g7ehmrk.js → snapshot-a4p59pzs.js} +7 -7
  100. package/dist/chunks/{tool-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
  101. package/dist/chunks/{tool-88wb8vtq.js → snapshot-arxd92e2.js} +28 -28
  102. package/dist/chunks/{tool-vbyfx3mn.js → snapshot-av6hk5kh.js} +21 -21
  103. package/dist/chunks/{tool-vgc515rw.js → snapshot-b487q0f6.js} +6 -6
  104. package/dist/chunks/{tool-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{tool-3j9bgvtg.js → snapshot-b7b4ctej.js} +5 -5
  106. package/dist/chunks/{tool-89smrnyf.js → snapshot-bajakh74.js} +4 -4
  107. package/dist/chunks/{tool-6bsje7ws.js → snapshot-ber8nkq1.js} +3 -3
  108. package/dist/chunks/{tool-x0511brf.js → snapshot-bjn91642.js} +4 -4
  109. package/dist/chunks/{tool-5yzzbxa7.js → snapshot-br0tr5aq.js} +8 -8
  110. package/dist/chunks/{tool-8eg130jy.js → snapshot-c16wc94y.js} +22 -22
  111. package/dist/chunks/{tool-r2m639zq.js → snapshot-c3v90f4q.js} +6 -6
  112. package/dist/chunks/{tool-zpks96xd.js → snapshot-c4e6pzcn.js} +13 -13
  113. package/dist/chunks/{tool-3cbaeney.js → snapshot-cb5rj1n4.js} +3 -3
  114. package/dist/chunks/{tool-m0jqrx5p.js → snapshot-cfpkc3c9.js} +2 -2
  115. package/dist/chunks/{tool-8cpww9tf.js → snapshot-cs0qcqys.js} +6 -6
  116. package/dist/chunks/{tool-197ae9n4.js → snapshot-csarv5tx.js} +74 -74
  117. package/dist/chunks/{tool-e1hrzsan.js → snapshot-csxdrzv8.js} +12 -12
  118. package/dist/chunks/{tool-5y6wgat7.js → snapshot-cyxg0edp.js} +54 -54
  119. package/dist/chunks/{tool-2sejkfem.js → snapshot-d4he2qe1.js} +9 -9
  120. package/dist/chunks/{tool-4vjsat8t.js → snapshot-d4pnz4pg.js} +17 -17
  121. package/dist/chunks/{tool-dz1mzf7h.js → snapshot-db4drgrc.js} +29 -29
  122. package/dist/chunks/snapshot-dma7d8q9.js +326 -0
  123. package/dist/chunks/{tool-y71avatq.js → snapshot-dpkg50ah.js} +4 -4
  124. package/dist/chunks/{tool-yravmt5v.js → snapshot-dr3b7y51.js} +11 -11
  125. package/dist/chunks/{tool-drwq78ky.js → snapshot-drwq78ky.js} +1 -1
  126. package/dist/chunks/{tool-1q4w1hkk.js → snapshot-dvc78tkm.js} +13 -13
  127. package/dist/chunks/{tool-vy03e0d7.js → snapshot-e35xemm9.js} +17 -17
  128. package/dist/chunks/{tool-x6z1bn3h.js → snapshot-e75ke13k.js} +30 -30
  129. package/dist/chunks/{tool-zdetck8p.js → snapshot-ecknp8fz.js} +58 -58
  130. package/dist/chunks/{tool-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{tool-gnrgb9v9.js → snapshot-egqspz5t.js} +9 -9
  132. package/dist/chunks/{tool-h5msn5dz.js → snapshot-ehpn2ybd.js} +19 -19
  133. package/dist/chunks/{tool-qr7xcjfz.js → snapshot-ek5x11h9.js} +18 -18
  134. package/dist/chunks/{tool-t15tae8c.js → snapshot-emeymtg1.js} +28 -28
  135. package/dist/chunks/{tool-a012ky48.js → snapshot-emqq8ak8.js} +10 -10
  136. package/dist/chunks/{tool-v6kqcv79.js → snapshot-eqqbpm6c.js} +15 -15
  137. package/dist/chunks/{tool-erw5rpbs.js → snapshot-erw5rpbs.js} +2 -2
  138. package/dist/chunks/{tool-etq0c3wd.js → snapshot-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{tool-df3x4kde.js → snapshot-ewcnbscq.js} +15 -15
  140. package/dist/chunks/{tool-f2n192rq.js → snapshot-f2n192rq.js} +1 -1
  141. package/dist/chunks/{tool-hdnk95c8.js → snapshot-f828m53h.js} +2 -2
  142. package/dist/chunks/{tool-tkmwgdpd.js → snapshot-fm2qvscf.js} +7 -7
  143. package/dist/chunks/{tool-p6q10aaw.js → snapshot-fnzbgxwj.js} +17 -17
  144. package/dist/chunks/{tool-fxbjtjnd.js → snapshot-fxbjtjnd.js} +1 -1
  145. package/dist/chunks/{tool-cavr175a.js → snapshot-g190xswt.js} +4 -4
  146. package/dist/chunks/{tool-gbag256c.js → snapshot-gamssws5.js} +28 -28
  147. package/dist/chunks/{tool-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{tool-2849xt8w.js → snapshot-gnfdtyvv.js} +11 -11
  149. package/dist/chunks/{tool-yyb7tjpc.js → snapshot-gv6a8nnw.js} +2 -2
  150. package/dist/chunks/{tool-5yeq06a0.js → snapshot-gzbkpp9m.js} +9 -9
  151. package/dist/chunks/{tool-xxh17bsg.js → snapshot-h39wk7x8.js} +11 -11
  152. package/dist/chunks/{tool-h6r3nrb9.js → snapshot-h6r3nrb9.js} +1 -1
  153. package/dist/chunks/{tool-nwgfxwxy.js → snapshot-h6scdryw.js} +22 -22
  154. package/dist/chunks/{tool-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{tool-epap41sx.js → snapshot-h7vmv32c.js} +4 -4
  156. package/dist/chunks/{tool-rq1pz7qt.js → snapshot-hck32qxt.js} +24 -24
  157. package/dist/chunks/{tool-4n9mx8v3.js → snapshot-hcv4andf.js} +29 -29
  158. package/dist/chunks/{tool-8rras65h.js → snapshot-hjhce8qj.js} +17 -17
  159. package/dist/chunks/{tool-vqfzq50h.js → snapshot-hkgwrjz7.js} +6 -6
  160. package/dist/chunks/{tool-fcy52zm3.js → snapshot-hned6hg3.js} +47 -47
  161. package/dist/chunks/{tool-vsbgd8f5.js → snapshot-j18d1fqp.js} +23 -23
  162. package/dist/chunks/{tool-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
  163. package/dist/chunks/{tool-vcev46jt.js → snapshot-jha1w5gw.js} +29 -29
  164. package/dist/chunks/{tool-0tkwk172.js → snapshot-jhtcsndg.js} +23 -23
  165. package/dist/chunks/{tool-sr2ca446.js → snapshot-jj7gwavy.js} +1 -1
  166. package/dist/chunks/{tool-0e14c09c.js → snapshot-jkeqmryh.js} +33 -33
  167. package/dist/chunks/{tool-2a8ctrw4.js → snapshot-jmmssc4g.js} +26 -26
  168. package/dist/chunks/{tool-2s87feef.js → snapshot-jr0krsnz.js} +20 -20
  169. package/dist/chunks/{tool-b71trcwb.js → snapshot-jswd9s5f.js} +15 -15
  170. package/dist/chunks/{tool-nzks3jc8.js → snapshot-k3c624dm.js} +3 -3
  171. package/dist/chunks/{tool-133y1x9c.js → snapshot-k6vp76cy.js} +5 -5
  172. package/dist/chunks/{tool-krc9qdj7.js → snapshot-k7s9z768.js} +32 -32
  173. package/dist/chunks/{tool-zz2gaj37.js → snapshot-kkdgbc8p.js} +24 -24
  174. package/dist/chunks/{tool-fkjmw100.js → snapshot-knb7evpn.js} +6 -6
  175. package/dist/chunks/{tool-vwgz8d7g.js → snapshot-kq0rqjhd.js} +15 -8
  176. package/dist/chunks/{tool-77m2y8gv.js → snapshot-kv5f48t6.js} +12 -12
  177. package/dist/chunks/{tool-5rbeskxf.js → snapshot-m23s96xk.js} +9 -9
  178. package/dist/chunks/{tool-m3fdjcah.js → snapshot-m3fdjcah.js} +1 -1
  179. package/dist/chunks/{tool-ns0n9ww9.js → snapshot-m4wkd7vk.js} +22 -22
  180. package/dist/chunks/{tool-d8dkarbn.js → snapshot-m84c1hab.js} +11 -11
  181. package/dist/chunks/{tool-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{tool-s4fep8mk.js → snapshot-ma67z3zc.js} +18 -18
  183. package/dist/chunks/{tool-zk0g89ph.js → snapshot-mcd4v3ex.js} +13 -13
  184. package/dist/chunks/{tool-7gyssj7x.js → snapshot-mcn6nnm1.js} +26 -26
  185. package/dist/chunks/{tool-cb2k1f8p.js → snapshot-md1n8x4e.js} +25 -25
  186. package/dist/chunks/{tool-qqcjb6jx.js → snapshot-md8zhqmb.js} +30 -30
  187. package/dist/chunks/{tool-hxsyww7z.js → snapshot-mj04be94.js} +16 -16
  188. package/dist/chunks/{tool-91f0wncr.js → snapshot-mns78yaz.js} +11 -11
  189. package/dist/chunks/{tool-1n6jm1r8.js → snapshot-mpmx6jec.js} +9 -9
  190. package/dist/chunks/{tool-5c0f1prt.js → snapshot-msq0jde0.js} +4 -4
  191. package/dist/chunks/{tool-e7vjfaw8.js → snapshot-mz792qcz.js} +92 -91
  192. package/dist/chunks/{tool-1y3ke0et.js → snapshot-n0fbsc79.js} +16 -16
  193. package/dist/chunks/{tool-zy1jay2k.js → snapshot-n13w3gvb.js} +4 -4
  194. package/dist/chunks/{tool-xn17ps4b.js → snapshot-n4539hth.js} +3 -3
  195. package/dist/chunks/{tool-qc9kn75m.js → snapshot-nb0rdgct.js} +8 -8
  196. package/dist/chunks/{tool-nccpag2r.js → snapshot-nncsk983.js} +25 -25
  197. package/dist/chunks/{tool-tjmwbj5k.js → snapshot-nqvd82jv.js} +16 -16
  198. package/dist/chunks/{tool-0gpvppac.js → snapshot-nw8fq4p4.js} +11 -11
  199. package/dist/chunks/{tool-7nm0hg1a.js → snapshot-p1vzt0xq.js} +31 -31
  200. package/dist/chunks/{tool-b1syqa90.js → snapshot-p28crxb3.js} +5 -5
  201. package/dist/chunks/{tool-p28j5sbe.js → snapshot-p28j5sbe.js} +2 -2
  202. package/dist/chunks/{tool-60hfzj8m.js → snapshot-p4pjqjd8.js} +4 -4
  203. package/dist/chunks/{tool-phc8pspp.js → snapshot-p9785zz6.js} +3 -3
  204. package/dist/chunks/{tool-skq2eby0.js → snapshot-pjtwddcx.js} +18 -18
  205. package/dist/chunks/{tool-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{tool-pknna89w.js → snapshot-pknna89w.js} +1 -1
  207. package/dist/chunks/{tool-zhq6vg7a.js → snapshot-pstg3rfm.js} +1 -1
  208. package/dist/chunks/{tool-vh7phyy0.js → snapshot-px97y8ks.js} +40 -40
  209. package/dist/chunks/{tool-07kta9gz.js → snapshot-q1y9nw0c.js} +5 -5
  210. package/dist/chunks/snapshot-q509s3k3.js +18 -0
  211. package/dist/chunks/{tool-ebdw14y1.js → snapshot-qbagxqbq.js} +24 -24
  212. package/dist/chunks/{tool-pb77jvd0.js → snapshot-qfmxj2pv.js} +7 -7
  213. package/dist/chunks/{tool-f7j90zp2.js → snapshot-qg0jgkcp.js} +9 -9
  214. package/dist/chunks/{tool-vs9wvdae.js → snapshot-qgzk9bq2.js} +176 -176
  215. package/dist/chunks/{tool-6gc9zjjv.js → snapshot-qhn36hzk.js} +23 -23
  216. package/dist/chunks/{tool-vzyzcn29.js → snapshot-qqkhs8gs.js} +30 -30
  217. package/dist/chunks/{tool-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
  218. package/dist/chunks/{tool-yp1xsd17.js → snapshot-qtfkp9j4.js} +43 -43
  219. package/dist/chunks/{tool-7037ptb2.js → snapshot-qv4acq8h.js} +27 -27
  220. package/dist/chunks/{tool-sd3ysec1.js → snapshot-qz572w8n.js} +30 -30
  221. package/dist/chunks/{tool-stag65f9.js → snapshot-r01t9b5y.js} +8 -8
  222. package/dist/chunks/{tool-73tb2d7t.js → snapshot-r5x6zcsm.js} +3 -3
  223. package/dist/chunks/{tool-5q02cxx3.js → snapshot-r98e92ep.js} +4 -4
  224. package/dist/chunks/{tool-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{tool-8szgh749.js → snapshot-rdzw18d8.js} +4 -4
  226. package/dist/chunks/{tool-kcrds6bj.js → snapshot-rhbshm4z.js} +18 -18
  227. package/dist/chunks/{tool-n24pcqxv.js → snapshot-rnmzpqyz.js} +8 -8
  228. package/dist/chunks/{tool-0t9wd588.js → snapshot-rqqqmm2x.js} +8 -8
  229. package/dist/chunks/snapshot-s4c35f54.js +26 -0
  230. package/dist/chunks/{tool-7ngem68y.js → snapshot-s7v5atnr.js} +3 -3
  231. package/dist/chunks/{tool-22yzgjh2.js → snapshot-sc2n5z84.js} +27 -27
  232. package/dist/chunks/{tool-dcjp3a2d.js → snapshot-snzw7wbz.js} +29 -29
  233. package/dist/chunks/{tool-ye73daeg.js → snapshot-sqtv888r.js} +19 -19
  234. package/dist/chunks/{tool-0ft9cg2j.js → snapshot-ss0awb04.js} +6 -6
  235. package/dist/chunks/{tool-mh3xs90e.js → snapshot-svcfvp1d.js} +25 -25
  236. package/dist/chunks/{tool-xg0cet8h.js → snapshot-szw0jx24.js} +32 -32
  237. package/dist/chunks/{tool-n4pqkaym.js → snapshot-t0fxg8b9.js} +5 -5
  238. package/dist/chunks/{tool-fnkqs40h.js → snapshot-t3ycmmbw.js} +33 -33
  239. package/dist/chunks/{tool-s8d7rejh.js → snapshot-t550f9t1.js} +4 -4
  240. package/dist/chunks/{tool-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{tool-zwfjdtpq.js → snapshot-tbb3jqr6.js} +35 -35
  242. package/dist/chunks/{tool-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
  243. package/dist/chunks/{tool-tdstcens.js → snapshot-tdstcens.js} +1 -1
  244. package/dist/chunks/{tool-4chvkj0g.js → snapshot-tjkwv8hv.js} +27 -27
  245. package/dist/chunks/{tool-tvtrv512.js → snapshot-tvtrv512.js} +1 -1
  246. package/dist/chunks/{tool-qnc1epre.js → snapshot-v09qg9gy.js} +9 -9
  247. package/dist/chunks/{tool-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
  248. package/dist/chunks/{tool-13kry10e.js → snapshot-vgnpzjjg.js} +9 -9
  249. package/dist/chunks/{tool-r6qdpshk.js → snapshot-vksmc797.js} +13 -13
  250. package/dist/chunks/{tool-1yee1wsw.js → snapshot-vnbvs77d.js} +5 -5
  251. package/dist/chunks/{tool-nt9apy23.js → snapshot-vptgej5p.js} +12 -12
  252. package/dist/chunks/{tool-vzcthcp8.js → snapshot-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{tool-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{tool-4gtpy403.js → snapshot-w41q0r8c.js} +29 -29
  255. package/dist/chunks/{tool-9ebbd7jr.js → snapshot-w56nvsqd.js} +5 -5
  256. package/dist/chunks/{tool-vzt7w0x1.js → snapshot-w7h7vw95.js} +18 -18
  257. package/dist/chunks/{tool-6nma5gxg.js → snapshot-w870kwhh.js} +10 -10
  258. package/dist/chunks/snapshot-w93cjeax.js +252 -0
  259. package/dist/chunks/{tool-wd87259q.js → snapshot-wd87259q.js} +1 -1
  260. package/dist/chunks/{tool-xhtw6jf1.js → snapshot-wdmrbch6.js} +5 -5
  261. package/dist/chunks/{tool-qf41qe2n.js → snapshot-wgp85hfs.js} +11 -11
  262. package/dist/chunks/{tool-277eer69.js → snapshot-wj76ss2k.js} +4 -4
  263. package/dist/chunks/{tool-z89cezv7.js → snapshot-wmc7hp9t.js} +3 -3
  264. package/dist/chunks/{tool-jm3kmfpd.js → snapshot-wmw0fegk.js} +44 -44
  265. package/dist/chunks/{tool-3mtxmfhx.js → snapshot-wsnba0xr.js} +30 -30
  266. package/dist/chunks/{tool-h2t4955r.js → snapshot-x047p5f0.js} +19 -19
  267. package/dist/chunks/{tool-yxjvheq8.js → snapshot-x19pfb0v.js} +22 -26
  268. package/dist/chunks/{tool-x1ezjp6w.js → snapshot-x1ezjp6w.js} +1 -1
  269. package/dist/chunks/{tool-z80n829h.js → snapshot-x6qawnay.js} +41 -41
  270. package/dist/chunks/{tool-ww5k9hxf.js → snapshot-xcvqvcxh.js} +24 -24
  271. package/dist/chunks/{tool-eq68chpb.js → snapshot-xpgvc2kh.js} +9 -9
  272. package/dist/chunks/{tool-06x8he3q.js → snapshot-xw0r27ex.js} +4 -4
  273. package/dist/chunks/{tool-qbp86h8m.js → snapshot-y18vgfv6.js} +93 -93
  274. package/dist/chunks/{tool-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{tool-6hjx5zpb.js → snapshot-y56ehv6b.js} +9 -9
  276. package/dist/chunks/{tool-2gch173w.js → snapshot-ym9kjrwn.js} +25 -25
  277. package/dist/chunks/{tool-yrhqyw5v.js → snapshot-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{tool-yrznvahk.js → snapshot-yrznvahk.js} +2 -2
  279. package/dist/chunks/{tool-dssw6a44.js → snapshot-yxkbr454.js} +22 -22
  280. package/dist/chunks/{tool-v8z2wyq8.js → snapshot-yyfr1n4t.js} +32 -32
  281. package/dist/chunks/{tool-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{tool-z63w68vq.js → snapshot-z63w68vq.js} +2 -2
  283. package/dist/chunks/{tool-rq775frq.js → snapshot-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{tool-rav9e4bf.js → snapshot-zex37ywk.js} +8 -8
  285. package/dist/chunks/{tool-4k6nnmrf.js → snapshot-zpgwzwjs.js} +30 -30
  286. package/dist/chunks/{tool-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{tool-drz214yv.js → snapshot-ztyhcbrw.js} +19 -19
  288. package/dist/chunks/{tool-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +5 -5
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +84 -84
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +124 -124
  298. package/dist/config/plugin/command.js +213 -213
  299. package/dist/config/plugin/compaction.js +161 -161
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +122 -122
  306. package/dist/config/plugin/mcp.js +131 -131
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +122 -122
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +125 -125
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +121 -121
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +127 -127
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +80 -80
  323. package/dist/database/database.js +69 -69
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +73 -73
  412. package/dist/file-access.js +101 -101
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +224 -224
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +103 -103
  428. package/dist/form.js +77 -77
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +88 -88
  431. package/dist/generate.js +104 -104
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +98 -98
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +359 -359
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +1 -1
  461. package/dist/integration.js +83 -83
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +134 -134
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +101 -101
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +356 -356
  470. package/dist/location.js +84 -84
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +127 -127
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +98 -98
  478. package/dist/model-resolver.js +97 -97
  479. package/dist/model.js +99 -99
  480. package/dist/models-dev.js +104 -104
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +79 -79
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +106 -106
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +87 -87
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +103 -103
  491. package/dist/plugin/command.js +100 -100
  492. package/dist/plugin/compaction.js +132 -132
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +217 -217
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +330 -330
  498. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  499. package/dist/plugin/models-dev.js +95 -95
  500. package/dist/plugin/module.js +7 -7
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +101 -101
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  505. package/dist/plugin/provider/azure.js +121 -121
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +118 -118
  511. package/dist/plugin/provider/digitalocean.js +92 -92
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/gateway.js +2 -2
  515. package/dist/plugin/provider/github-copilot.js +92 -92
  516. package/dist/plugin/provider/gitlab.js +90 -90
  517. package/dist/plugin/provider/google-vertex.js +89 -89
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +76 -76
  520. package/dist/plugin/provider/lmstudio.js +121 -121
  521. package/dist/plugin/provider/modal.js +91 -91
  522. package/dist/plugin/provider/nvidia.js +1 -1
  523. package/dist/plugin/provider/ollama.js +121 -121
  524. package/dist/plugin/provider/openai.js +93 -93
  525. package/dist/plugin/provider/opencode.js +92 -92
  526. package/dist/plugin/provider/openrouter.js +90 -90
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  530. package/dist/plugin/provider/sap-ai-core.js +90 -90
  531. package/dist/plugin/provider/sdk-factory.js +1 -1
  532. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  533. package/dist/plugin/provider/venice.js +2 -2
  534. package/dist/plugin/provider/vercel.js +89 -89
  535. package/dist/plugin/provider/vllm.js +121 -121
  536. package/dist/plugin/provider/xai.js +90 -90
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +158 -158
  539. package/dist/plugin/sdk.js +75 -75
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +140 -140
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +349 -349
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +85 -85
  547. package/dist/plugin/vcs/hg.js +85 -85
  548. package/dist/plugin/warming.js +120 -120
  549. package/dist/plugin/websearch/exa.js +7 -7
  550. package/dist/plugin/websearch/firecrawl.js +8 -8
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +6 -6
  553. package/dist/plugin/websearch/parallel.js +6 -6
  554. package/dist/plugin/websearch/tavily.js +4 -4
  555. package/dist/plugin/websearch/tinyfish.js +8 -8
  556. package/dist/plugin.js +224 -224
  557. package/dist/project/schema.js +6 -6
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +85 -85
  560. package/dist/provider.js +96 -96
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/schema.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +93 -93
  565. package/dist/reference/instructions.js +88 -88
  566. package/dist/reference.js +90 -90
  567. package/dist/repository-cache.js +80 -80
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +94 -94
  571. package/dist/rpc.js +85 -85
  572. package/dist/schema.js +1 -1
  573. package/dist/session/command.js +73 -73
  574. package/dist/session/compaction.js +133 -133
  575. package/dist/session/context.js +151 -151
  576. package/dist/session/diff.js +87 -87
  577. package/dist/session/environment.js +5 -5
  578. package/dist/session/error.js +3 -3
  579. package/dist/session/event.js +1 -1
  580. package/dist/session/execution/restart.js +223 -223
  581. package/dist/session/execution.js +125 -125
  582. package/dist/session/generate.js +152 -152
  583. package/dist/session/history.js +13 -13
  584. package/dist/session/inbox.js +85 -85
  585. package/dist/session/info.js +3 -3
  586. package/dist/session/instruction-entry.js +76 -76
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +96 -96
  589. package/dist/session/message-updater.js +2 -2
  590. package/dist/session/message.js +1 -1
  591. package/dist/session/model-request.js +118 -118
  592. package/dist/session/model-transport.js +9 -9
  593. package/dist/session/move.js +129 -129
  594. package/dist/session/projector.js +85 -85
  595. package/dist/session/prompt.js +104 -104
  596. package/dist/session/provider-context.js +3 -3
  597. package/dist/session/revert.js +89 -89
  598. package/dist/session/run-coordinator.js +1 -1
  599. package/dist/session/runner/index.js +3 -3
  600. package/dist/session/runner/llm.js +230 -230
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +97 -97
  603. package/dist/session/runner/publish-llm-event.js +3 -3
  604. package/dist/session/runner/retry.js +111 -111
  605. package/dist/session/runner/step.js +125 -125
  606. package/dist/session/runner/to-llm-message.js +2 -2
  607. package/dist/session/schema.js +5 -5
  608. package/dist/session/session.js +169 -169
  609. package/dist/session/shell.js +137 -137
  610. package/dist/session/skill.js +102 -102
  611. package/dist/session/sql.js +5 -5
  612. package/dist/session/stats.js +74 -74
  613. package/dist/session/store.js +84 -84
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +209 -209
  616. package/dist/session/system-prompt.js +1 -1
  617. package/dist/session/title.js +155 -155
  618. package/dist/session/to-session-error.js +110 -110
  619. package/dist/session/transfer.js +222 -222
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +217 -217
  622. package/dist/shell/parse.js +6 -6
  623. package/dist/shell/result.js +1 -1
  624. package/dist/shell/scan.js +1 -1
  625. package/dist/shell/select.js +13 -13
  626. package/dist/shell.js +139 -139
  627. package/dist/skill/discovery.js +6 -6
  628. package/dist/skill/instructions.js +106 -106
  629. package/dist/skill.js +111 -111
  630. package/dist/snapshot.js +90 -90
  631. package/dist/state.js +1 -1
  632. package/dist/tool/html-markdown.js +1 -1
  633. package/dist/tool/http-body.js +1 -1
  634. package/dist/tool/mcp.js +124 -124
  635. package/dist/tool/plugin/edit.js +119 -119
  636. package/dist/tool/plugin/file-diff.js +1 -1
  637. package/dist/tool/plugin/glob.js +123 -123
  638. package/dist/tool/plugin/grep.js +123 -123
  639. package/dist/tool/plugin/opencode.js +3 -3
  640. package/dist/tool/plugin/patch.js +117 -117
  641. package/dist/tool/plugin/question.js +100 -100
  642. package/dist/tool/plugin/read.js +124 -124
  643. package/dist/tool/plugin/shell.js +210 -210
  644. package/dist/tool/plugin/skill.js +110 -110
  645. package/dist/tool/plugin/subagent.js +210 -210
  646. package/dist/tool/plugin/webfetch.js +109 -109
  647. package/dist/tool/plugin/websearch.js +109 -109
  648. package/dist/tool/plugin/write.js +121 -121
  649. package/dist/tool/read-filesystem.js +99 -99
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +8 -8
  652. package/dist/tool.js +14 -14
  653. package/dist/types/mcp/instructions.d.ts +3 -2
  654. package/dist/types/skill/instructions.d.ts +3 -2
  655. package/dist/types/skill.d.ts +2 -2
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +5 -5
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +5 -5
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/formatter.js +7 -7
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +5 -5
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +91 -91
  675. package/dist/v1/config/permission.js +3 -3
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +92 -92
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +88 -88
  685. package/dist/websearch.js +81 -81
  686. package/dist/wellknown/plugin.js +75 -75
  687. package/dist/wellknown.js +80 -80
  688. package/dist/workspace/driver.js +7 -7
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +79 -79
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +8 -8
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +88 -88
  695. package/dist/worktree.js +95 -95
  696. package/package.json +8 -8
  697. package/dist/chunks/tool-7a4dnpr3.js +0 -326
  698. package/dist/chunks/tool-az58nsbk.js +0 -26
  699. package/dist/chunks/tool-gyce5qg1.js +0 -18
  700. package/dist/chunks/tool-rdf0737w.js +0 -252
  701. /package/dist/chunks/{tool-0mesazry.js → snapshot-0mesazry.js} +0 -0
  702. /package/dist/chunks/{tool-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{tool-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{tool-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{tool-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{tool-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{tool-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{tool-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{tool-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{tool-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{tool-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{tool-3asan66x.js → snapshot-3asan66x.js} +0 -0
  713. /package/dist/chunks/{tool-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{tool-3w5fmr99.js → snapshot-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{tool-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{tool-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{tool-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{tool-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{tool-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{tool-53557ph1.js → snapshot-53557ph1.js} +0 -0
  721. /package/dist/chunks/{tool-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{tool-5qd3pb7m.js → snapshot-5qd3pb7m.js} +0 -0
  723. /package/dist/chunks/{tool-6prwharc.js → snapshot-6prwharc.js} +0 -0
  724. /package/dist/chunks/{tool-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{tool-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{tool-822emrt2.js → snapshot-822emrt2.js} +0 -0
  727. /package/dist/chunks/{tool-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{tool-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{tool-922hggd3.js → snapshot-922hggd3.js} +0 -0
  730. /package/dist/chunks/{tool-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{tool-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{tool-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{tool-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{tool-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{tool-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{tool-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{tool-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{tool-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{tool-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{tool-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{tool-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{tool-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{tool-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{tool-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{tool-df08tz66.js → snapshot-df08tz66.js} +0 -0
  746. /package/dist/chunks/{tool-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{tool-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{tool-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{tool-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{tool-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{tool-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{tool-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{tool-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{tool-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{tool-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{tool-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
  757. /package/dist/chunks/{tool-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{tool-g86h250q.js → snapshot-g86h250q.js} +0 -0
  759. /package/dist/chunks/{tool-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{tool-gftt206x.js → snapshot-gftt206x.js} +0 -0
  761. /package/dist/chunks/{tool-hjbc5kem.js → snapshot-hjbc5kem.js} +0 -0
  762. /package/dist/chunks/{tool-hk9envan.js → snapshot-hk9envan.js} +0 -0
  763. /package/dist/chunks/{tool-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{tool-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{tool-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{tool-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{tool-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{tool-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{tool-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{tool-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{tool-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{tool-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{tool-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{tool-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{tool-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{tool-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{tool-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{tool-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{tool-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{tool-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{tool-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{tool-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{tool-sk3qaz4a.js → snapshot-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{tool-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{tool-twg0f83k.js → snapshot-twg0f83k.js} +0 -0
  786. /package/dist/chunks/{tool-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{tool-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{tool-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{tool-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{tool-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{tool-x61499pn.js → snapshot-x61499pn.js} +0 -0
  792. /package/dist/chunks/{tool-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{tool-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{tool-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{tool-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{tool-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{tool-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service69
3
- } from "./tool-8t1mk3vk.js";
2
+ Service59
3
+ } from "./snapshot-67b7pecv.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./tool-4vcrnpx2.js";
7
+ } from "./snapshot-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./tool-3v8g72cx.js";
10
+ } from "./snapshot-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./tool-9rqn6x4v.js";
13
+ } from "./snapshot-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: () => Input11,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
19
+ Input: () => Input12,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin28,
22
+ Plugin: () => Plugin14,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
25
  description: () => description5,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name11
27
+ name: () => name12
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 name11 = "webfetch";
34
- var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
33
+ var name12 = "webfetch";
34
+ var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
37
  var description5 = `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 Input11 = Schema.Struct({
41
+ var Input12 = 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 Input11 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input11.fields.format,
51
+ format: Input12.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 Plugin28 = {
95
+ var Plugin14 = {
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* Service69;
99
+ const permission = yield* Service59;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name11,
101
+ name: name12,
102
102
  options: { codemode: false },
103
103
  description: description5,
104
- input: Input11,
104
+ input: Input12,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin28 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name11,
112
+ action: name12,
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 { name11, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input11, Plugin28, extractTextFromHTML2, exports_webfetch };
170
+ export { name12, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input12, Plugin14, extractTextFromHTML2, exports_webfetch };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./tool-emrn6kk6.js";
3
+ } from "./snapshot-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./tool-9thxh3x6.js";
6
+ } from "./snapshot-464y6a4g.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./tool-dwktjsma.js";
9
+ } from "./snapshot-1z34psg2.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
20
20
  static [entityKind] = "EffectSQLiteDatabase";
21
21
  }
22
22
  var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
23
- var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
23
+ var make22 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
24
24
  const client = yield* SqlClient;
25
25
  const cache = yield* EffectCache;
26
26
  const logger = yield* EffectLogger;
@@ -37,6 +37,6 @@ var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
37
37
  db.$cache.invalidate = cache.onMutate;
38
38
  return db;
39
39
  });
40
- var makeWithDefaults2 = (config = {}) => make23(config).pipe(Effect.provide(DefaultServices2));
40
+ var makeWithDefaults2 = (config = {}) => make22(config).pipe(Effect.provide(DefaultServices2));
41
41
 
42
- export { EffectSQLiteDatabase2, DefaultServices2, make23, makeWithDefaults2 };
42
+ export { EffectSQLiteDatabase2, DefaultServices2, make22, makeWithDefaults2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service41
3
- } from "./tool-vqfzq50h.js";
2
+ Service30
3
+ } from "./snapshot-hkgwrjz7.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./tool-gyce5qg1.js";
6
+ } from "./snapshot-q509s3k3.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./tool-phc8pspp.js";
9
+ } from "./snapshot-p9785zz6.js";
10
10
  import {
11
- Service68
12
- } from "./tool-vcev46jt.js";
11
+ Service36
12
+ } from "./snapshot-jha1w5gw.js";
13
13
  import {
14
14
  __export
15
- } from "./tool-9rqn6x4v.js";
15
+ } from "./snapshot-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service41;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service68), instances.provide(input.session));
25
+ const instances = yield* Service30;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service36), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./tool-922hggd3.js";
4
+ } from "./snapshot-922hggd3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./tool-6bsje7ws.js";
7
+ } from "./snapshot-ber8nkq1.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,48 +1,48 @@
1
1
  import {
2
- Service82
3
- } from "./tool-9endzh9e.js";
2
+ Service81
3
+ } from "./snapshot-a3h76wby.js";
4
4
  import {
5
- Service64
6
- } from "./tool-57m9tgf1.js";
5
+ Service80
6
+ } from "./snapshot-3ey45nrc.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./tool-rdw6cm16.js";
12
+ } from "./snapshot-rdw6cm16.js";
13
13
  import {
14
- Service21,
14
+ Service25,
15
15
  awaitActivation2
16
- } from "./tool-gyce5qg1.js";
16
+ } from "./snapshot-q509s3k3.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./tool-vs9wvdae.js";
21
+ } from "./snapshot-qgzk9bq2.js";
22
22
  import {
23
23
  __export
24
- } from "./tool-9rqn6x4v.js";
24
+ } from "./snapshot-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
- Event: () => Event4,
29
+ Event: () => Event3,
30
30
  ID: () => ID3,
31
31
  Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service21,
33
+ Service: () => Service25,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node20
37
+ node: () => node16
38
38
  });
39
- import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event3, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service21, Effect.gen(function* () {
44
- const bus = yield* Service82;
45
- const kv = yield* Service64;
43
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
44
+ const bus = yield* Service81;
45
+ const kv = yield* Service80;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service21.of({
208
+ return Service25.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node20 = Node.makeLocationNode({
226
- service: Service21,
225
+ var node16 = Node.makeLocationNode({
226
+ service: Service25,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node20, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
231
+ export { node16, exports_plugin2, Event3, ID3, Info3, Source2, State2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID13
3
- } from "./tool-qqcjb6jx.js";
2
+ ID12
3
+ } from "./snapshot-md8zhqmb.js";
4
4
 
5
5
  // src/plugin/provider/amazon-bedrock.ts
6
6
  import { Effect } from "effect";
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
18
18
  effect: Effect.fn(function* (ctx) {
19
19
  yield* ctx.integration.transform((editor) => {
20
20
  editor.method.update({
21
- integrationID: ID13.amazonBedrock,
21
+ integrationID: ID12.amazonBedrock,
22
22
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
23
23
  });
24
24
  });
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./tool-y8cydn3q.js";
3
+ } from "./snapshot-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./tool-9rqn6x4v.js";
6
+ } from "./snapshot-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service46
3
- } from "./tool-ww5k9hxf.js";
2
+ Service68
3
+ } from "./snapshot-xcvqvcxh.js";
4
4
  import {
5
- Service15,
5
+ Service67,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./tool-1q4w1hkk.js";
8
+ } from "./snapshot-dvc78tkm.js";
9
9
  import {
10
- Service74
11
- } from "./tool-skq2eby0.js";
10
+ Service51
11
+ } from "./snapshot-pjtwddcx.js";
12
12
  import {
13
- Service69
14
- } from "./tool-8t1mk3vk.js";
13
+ Service59
14
+ } from "./snapshot-67b7pecv.js";
15
15
  import {
16
- Service55
17
- } from "./tool-vy03e0d7.js";
16
+ Service56
17
+ } from "./snapshot-e35xemm9.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./tool-6prwharc.js";
20
+ } from "./snapshot-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./tool-9rqn6x4v.js";
23
+ } from "./snapshot-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input4,
29
- Output: () => Output3,
30
- Plugin: () => Plugin20,
28
+ Input: () => Input7,
29
+ Output: () => Output5,
30
+ Plugin: () => Plugin9,
31
31
  WriteTool: () => exports_write,
32
- name: () => name4,
33
- toModelContent: () => toModelContent2
32
+ name: () => name7,
33
+ toModelContent: () => toModelContent4
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name4 = "write";
39
- var Input4 = Schema.Struct({
38
+ var name7 = "write";
39
+ var Input7 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output3 = Schema.Struct({
45
+ var Output5 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin20 = {
51
+ var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin9 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service55;
56
- const fileMutation = yield* Service15;
57
- const environment = yield* Service46;
58
- const formatter = yield* Service74;
59
- const permission = yield* Service69;
55
+ const access = yield* Service56;
56
+ const fileMutation = yield* Service67;
57
+ const environment = yield* Service68;
58
+ const formatter = yield* Service51;
59
+ const permission = yield* Service59;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name4,
61
+ name: name7,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input4,
69
- output: Output3,
68
+ input: Input7,
69
+ output: Output5,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name4, Input4, Output3, toModelContent2, Plugin20, exports_write };
101
+ export { name7, Input7, Output5, toModelContent4, Plugin9, exports_write };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./tool-1rf9k0bb.js";
2
+ Service77,
3
+ node81
4
+ } from "./snapshot-60zmewym.js";
5
5
  import {
6
6
  __export
7
- } from "./tool-9rqn6x4v.js";
7
+ } from "./snapshot-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
@@ -12,22 +12,22 @@ __export(exports_location, {
12
12
  Info: () => Info32,
13
13
  Location: () => exports_location,
14
14
  Ref: () => Ref4,
15
- Service: () => Service79,
15
+ Service: () => Service76,
16
16
  boundNode: () => boundNode2,
17
- node: () => node83,
17
+ node: () => node80,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { Info as Info32, Ref as Ref4, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service79 extends Context.Service()("@opencode/Location") {
24
+ class Service76 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node83 = LayerNode.unbound(Service79, tags.values.location);
27
- var layer = (ref, options) => Layer.effect(Service79, Effect.gen(function* () {
28
- const project = yield* Service80;
26
+ var node80 = LayerNode.unbound(Service76, tags.values.location);
27
+ var layer = (ref, options) => Layer.effect(Service76, Effect.gen(function* () {
28
+ const project = yield* Service77;
29
29
  const resolved = yield* project.resolve(ref.directory, options);
30
- return Service79.of({
30
+ return Service76.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service79, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref, options) => makeLocationNode({
38
- service: Service79,
38
+ service: Service76,
39
39
  layer: layer(ref, options),
40
- deps: [node84]
40
+ deps: [node81]
41
41
  });
42
42
 
43
- export { Info32, Ref4, response2, Service79, node83, boundNode2, exports_location };
43
+ export { Info32, Ref4, response2, Service76, node80, boundNode2, exports_location };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./tool-922hggd3.js";
3
+ } from "./snapshot-922hggd3.js";
4
4
  import {
5
- Service79
6
- } from "./tool-wyd4vgvd.js";
5
+ Service76
6
+ } from "./snapshot-5ykyd4jc.js";
7
7
  import {
8
- Service55
9
- } from "./tool-vy03e0d7.js";
8
+ Service56
9
+ } from "./snapshot-e35xemm9.js";
10
10
  import {
11
- Service6
12
- } from "./tool-nwgfxwxy.js";
11
+ Service7
12
+ } from "./snapshot-h6scdryw.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./tool-2a5m3afh.js";
15
+ } from "./snapshot-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service7
27
- } from "./tool-df3x4kde.js";
26
+ Service6
27
+ } from "./snapshot-ewcnbscq.js";
28
28
  import {
29
29
  __export
30
- } from "./tool-9rqn6x4v.js";
30
+ } from "./snapshot-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input9,
36
- Plugin: () => Plugin26,
35
+ Input: () => Input10,
36
+ Plugin: () => Plugin12,
37
37
  ReadTool: () => exports_read,
38
- name: () => name9,
39
- toModelContent: () => toModelContent5
38
+ name: () => name10,
39
+ toModelContent: () => toModelContent6
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name9 = "read";
45
+ var name10 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input9 = LocationInput;
56
+ var Input10 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin26 = {
58
+ var Plugin12 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service7;
62
- const access = yield* Service55;
63
- const sessionInstructions = yield* Service6;
61
+ const reader = yield* Service6;
62
+ const access = yield* Service56;
63
+ const sessionInstructions = yield* Service7;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service79;
65
+ const location = yield* Service76;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name9,
67
+ name: name10,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input9,
70
+ input: Input10,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin26 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent5(result.path, input.offset, result.output),
115
+ content: toModelContent6(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent5 = (path, offset, output) => {
147
+ var toModelContent6 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent5 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name9, Input9, Plugin26, toModelContent5, exports_read };
183
+ export { name10, Input10, Plugin12, toModelContent6, exports_read };