@opencode/core 0.0.0-dev-20696 → 0.0.0-dev-20699

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{agent-5pyjqqve.js → aisdk-native-007agb8z.js} +2 -2
  8. package/dist/chunks/{agent-gwydwvmj.js → aisdk-native-05xfxpq7.js} +5 -5
  9. package/dist/chunks/{agent-rwm5vee1.js → aisdk-native-06x8he3q.js} +4 -4
  10. package/dist/chunks/{agent-jjp4nc4f.js → aisdk-native-08jnbt62.js} +37 -37
  11. package/dist/chunks/{agent-sy0w87q3.js → aisdk-native-0ckz0kcg.js} +20 -20
  12. package/dist/chunks/{agent-c1k0rt13.js → aisdk-native-0ezbyg76.js} +20 -20
  13. package/dist/chunks/{agent-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{agent-df68xnyv.js → aisdk-native-0sacbfpy.js} +20 -20
  15. package/dist/chunks/{agent-0vbcp93d.js → aisdk-native-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{agent-hvbzc0rw.js → aisdk-native-0ztyrxz2.js} +20 -20
  17. package/dist/chunks/{agent-prq7hedt.js → aisdk-native-11dqjexa.js} +9 -9
  18. package/dist/chunks/{agent-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{agent-84h8c373.js → aisdk-native-1dvck2a7.js} +2 -2
  20. package/dist/chunks/{agent-4qdkvmxq.js → aisdk-native-1qmx9sjh.js} +5 -5
  21. package/dist/chunks/{agent-bp8hqz04.js → aisdk-native-1vhq2tta.js} +8 -8
  22. package/dist/chunks/{agent-wayg19me.js → aisdk-native-1vp0x8zb.js} +17 -17
  23. package/dist/chunks/{agent-kywwc7qt.js → aisdk-native-1vsqvsf0.js} +16 -16
  24. package/dist/chunks/{agent-d1r5081s.js → aisdk-native-1x75wf9g.js} +5 -5
  25. package/dist/chunks/{agent-1ygqh575.js → aisdk-native-1ygqh575.js} +2 -2
  26. package/dist/chunks/{agent-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{agent-5ar4t727.js → aisdk-native-2ca4jsmq.js} +14 -14
  28. package/dist/chunks/{agent-ehvqe9vd.js → aisdk-native-2ez4cmkb.js} +22 -22
  29. package/dist/chunks/{agent-296rex4s.js → aisdk-native-2ha58fv5.js} +5 -5
  30. package/dist/chunks/{agent-ddjcs144.js → aisdk-native-2j1aj7pf.js} +17 -17
  31. package/dist/chunks/{agent-6b8kbxwq.js → aisdk-native-2j5hbwxg.js} +9 -9
  32. package/dist/chunks/{agent-bq5f49gr.js → aisdk-native-2kbzr3vr.js} +63 -63
  33. package/dist/chunks/{agent-s80wcmr7.js → aisdk-native-2r2f06q5.js} +15 -15
  34. package/dist/chunks/{agent-j8wc6b9w.js → aisdk-native-370437fy.js} +18 -18
  35. package/dist/chunks/{agent-5jchjb6d.js → aisdk-native-38y6trx6.js} +13 -13
  36. package/dist/chunks/{agent-smf66748.js → aisdk-native-3c6jzr0p.js} +27 -27
  37. package/dist/chunks/{agent-3fc6dm20.js → aisdk-native-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{agent-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{agent-gczbwrbn.js → aisdk-native-3ma5q76q.js} +32 -32
  40. package/dist/chunks/{agent-v6gb7zv2.js → aisdk-native-3ppptnan.js} +6 -6
  41. package/dist/chunks/{agent-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{agent-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{agent-3zsf4n22.js → aisdk-native-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{agent-xg3cb7y7.js → aisdk-native-400mat65.js} +32 -32
  45. package/dist/chunks/{agent-w4ga1xmd.js → aisdk-native-43exvyp7.js} +18 -18
  46. package/dist/chunks/{agent-3c037yne.js → aisdk-native-45w4d0zd.js} +36 -36
  47. package/dist/chunks/{agent-6pjn3k55.js → aisdk-native-4749ja0v.js} +26 -26
  48. package/dist/chunks/{agent-gffc4895.js → aisdk-native-4akpc52p.js} +175 -175
  49. package/dist/chunks/{agent-xb50yt4b.js → aisdk-native-4nzwy074.js} +4 -4
  50. package/dist/chunks/{agent-60ad9rv0.js → aisdk-native-4rprvedw.js} +4 -4
  51. package/dist/chunks/{agent-53b0rrzj.js → aisdk-native-4tjpkstn.js} +8 -8
  52. package/dist/chunks/{agent-4ts7tf6z.js → aisdk-native-4ts7tf6z.js} +2 -2
  53. package/dist/chunks/{agent-34jk9fw4.js → aisdk-native-4txfm3d9.js} +43 -43
  54. package/dist/chunks/{agent-8wbxkt1z.js → aisdk-native-4v7ngy20.js} +4 -4
  55. package/dist/chunks/{agent-4tf8d8dx.js → aisdk-native-4zcy3jkw.js} +18 -18
  56. package/dist/chunks/{agent-wzj0n8re.js → aisdk-native-54ekahc4.js} +20 -20
  57. package/dist/chunks/{agent-54ma36ye.js → aisdk-native-54ma36ye.js} +1 -1
  58. package/dist/chunks/{agent-g5w8qwbj.js → aisdk-native-57b9ws8p.js} +7 -7
  59. package/dist/chunks/{agent-jaebz25j.js → aisdk-native-57prnz8a.js} +21 -21
  60. package/dist/chunks/{agent-70qmtdqr.js → aisdk-native-57r30dv2.js} +4 -4
  61. package/dist/chunks/{agent-1pxz8ven.js → aisdk-native-5fykfdj7.js} +5 -5
  62. package/dist/chunks/{agent-5m9w47nd.js → aisdk-native-5m9w47nd.js} +1 -1
  63. package/dist/chunks/{agent-yvz9ed58.js → aisdk-native-5p6z4y9s.js} +27 -27
  64. package/dist/chunks/{agent-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{agent-bm5r2x23.js → aisdk-native-66715xqs.js} +9 -9
  66. package/dist/chunks/{agent-k3wsqf8m.js → aisdk-native-6hync52j.js} +17 -17
  67. package/dist/chunks/{agent-df4wnsyc.js → aisdk-native-6pc4cw79.js} +8 -8
  68. package/dist/chunks/{agent-6xb47vfp.js → aisdk-native-6xb47vfp.js} +1 -1
  69. package/dist/chunks/{agent-bytn2a75.js → aisdk-native-6xmskbt3.js} +25 -25
  70. package/dist/chunks/{agent-f75zav2x.js → aisdk-native-71az546q.js} +2 -2
  71. package/dist/chunks/{agent-xdgf26t0.js → aisdk-native-726r25a1.js} +50 -50
  72. package/dist/chunks/{agent-3x10brz1.js → aisdk-native-75hw688q.js} +24 -24
  73. package/dist/chunks/{agent-g2jdef87.js → aisdk-native-77yxmx52.js} +15 -15
  74. package/dist/chunks/{agent-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{agent-hyhqhqng.js → aisdk-native-7erzr5x4.js} +20 -20
  76. package/dist/chunks/{agent-5fwy7qtq.js → aisdk-native-7fpa500x.js} +24 -24
  77. package/dist/chunks/{agent-pssbyqna.js → aisdk-native-7mhg6xnc.js} +11 -11
  78. package/dist/chunks/{agent-k6akpay6.js → aisdk-native-7vdwv0fr.js} +7 -7
  79. package/dist/chunks/{agent-84txncab.js → aisdk-native-84txncab.js} +1 -1
  80. package/dist/chunks/{agent-h4ckqw4f.js → aisdk-native-89rvcjqs.js} +8 -8
  81. package/dist/chunks/{agent-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{agent-8m6m0r52.js → aisdk-native-8m6m0r52.js} +1 -1
  83. package/dist/chunks/{agent-drja3na5.js → aisdk-native-8n2tw46q.js} +4 -4
  84. package/dist/chunks/{agent-jj72jhew.js → aisdk-native-8q61w4ba.js} +8 -8
  85. package/dist/chunks/{agent-2fb3gwja.js → aisdk-native-8ta39m8d.js} +8 -8
  86. package/dist/chunks/{agent-r4s2qx30.js → aisdk-native-8w9cdjf3.js} +15 -15
  87. package/dist/chunks/{agent-9ydfmhnz.js → aisdk-native-9202y59r.js} +11 -11
  88. package/dist/chunks/{agent-4m1hrhsh.js → aisdk-native-95630v8f.js} +16 -16
  89. package/dist/chunks/{agent-qe26s0zb.js → aisdk-native-97w5rk9e.js} +8 -8
  90. package/dist/chunks/{agent-pycw5ewz.js → aisdk-native-99tdg231.js} +11 -11
  91. package/dist/chunks/{agent-vwy11aat.js → aisdk-native-9b39j816.js} +30 -30
  92. package/dist/chunks/{agent-qkfezwh6.js → aisdk-native-9e4j78a5.js} +13 -13
  93. package/dist/chunks/{agent-kb9j3d72.js → aisdk-native-9e5bzkjp.js} +3 -3
  94. package/dist/chunks/{agent-p4d589tb.js → aisdk-native-9j0s0v2q.js} +20 -20
  95. package/dist/chunks/{agent-8qn05nvt.js → aisdk-native-9kmw7fq7.js} +32 -32
  96. package/dist/chunks/{agent-kvdxjy22.js → aisdk-native-9krn66e7.js} +35 -35
  97. package/dist/chunks/{agent-60cxrtvk.js → aisdk-native-9papzb1x.js} +18 -18
  98. package/dist/chunks/{agent-qkpjj9ac.js → aisdk-native-9swdtjav.js} +11 -11
  99. package/dist/chunks/{agent-1avzj5a4.js → aisdk-native-9w72a531.js} +5 -5
  100. package/dist/chunks/{agent-mhkvc446.js → aisdk-native-a1gpj94z.js} +3 -3
  101. package/dist/chunks/{agent-qzft0t50.js → aisdk-native-a25mqfd0.js} +13 -13
  102. package/dist/chunks/aisdk-native-a7z9sera.js +253 -0
  103. package/dist/chunks/{agent-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
  104. package/dist/chunks/aisdk-native-an8w4w7e.js +26 -0
  105. package/dist/chunks/{agent-7kfbngk0.js → aisdk-native-b628a289.js} +31 -31
  106. package/dist/chunks/{agent-r8gkc56r.js → aisdk-native-b62efeyb.js} +19 -19
  107. package/dist/chunks/{agent-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{agent-fqjrtems.js → aisdk-native-bfyngbwg.js} +9 -9
  109. package/dist/chunks/{agent-npggk2cd.js → aisdk-native-bkvpb7y5.js} +1 -1
  110. package/dist/chunks/{agent-0f3774ga.js → aisdk-native-bnhzkkkr.js} +18 -18
  111. package/dist/chunks/{agent-ve63rhgr.js → aisdk-native-bp1twqkv.js} +18 -18
  112. package/dist/chunks/{agent-g2f8320p.js → aisdk-native-bpkd89dr.js} +328 -328
  113. package/dist/chunks/{agent-50hhs4e6.js → aisdk-native-bwpwvx91.js} +21 -21
  114. package/dist/chunks/{agent-2vrgk9t0.js → aisdk-native-by5g92tw.js} +48 -48
  115. package/dist/chunks/{agent-4kq28rhv.js → aisdk-native-bz5av1rf.js} +13 -13
  116. package/dist/chunks/{agent-rp923gkf.js → aisdk-native-c0x32j5x.js} +3 -3
  117. package/dist/chunks/{agent-n4rf7hq3.js → aisdk-native-c6xptqrv.js} +16 -16
  118. package/dist/chunks/{agent-38zh28mh.js → aisdk-native-c8tfdkvr.js} +17 -17
  119. package/dist/chunks/{agent-jn18drpb.js → aisdk-native-cawkts3f.js} +3 -3
  120. package/dist/chunks/{agent-32wk8jnv.js → aisdk-native-chy0zwhc.js} +12 -12
  121. package/dist/chunks/{agent-2sejkfem.js → aisdk-native-cpneeje0.js} +9 -9
  122. package/dist/chunks/{agent-krp2pmht.js → aisdk-native-crjczd6m.js} +8 -8
  123. package/dist/chunks/{agent-rrpq0de9.js → aisdk-native-cstv7mkv.js} +12 -12
  124. package/dist/chunks/{agent-09f2g3x3.js → aisdk-native-cy9d01js.js} +11 -11
  125. package/dist/chunks/{agent-75n6fd6p.js → aisdk-native-cy9xa7g0.js} +5 -5
  126. package/dist/chunks/{agent-9mw40fmv.js → aisdk-native-d2jy7mm1.js} +9 -9
  127. package/dist/chunks/{agent-dpkg50ah.js → aisdk-native-dpkg50ah.js} +1 -1
  128. package/dist/chunks/{agent-69zsj03m.js → aisdk-native-dtn6vyr4.js} +32 -32
  129. package/dist/chunks/{agent-01ecqt4k.js → aisdk-native-dtst3g8f.js} +23 -23
  130. package/dist/chunks/{agent-vnj7mzs9.js → aisdk-native-dxj4v0g7.js} +3 -3
  131. package/dist/chunks/{agent-0n7e9av4.js → aisdk-native-e8g9mgdx.js} +24 -24
  132. package/dist/chunks/{agent-80qs70a6.js → aisdk-native-e9f28y7b.js} +24 -24
  133. package/dist/chunks/{agent-2k71kv7p.js → aisdk-native-eahhehpg.js} +4 -4
  134. package/dist/chunks/{agent-ef5x83kb.js → aisdk-native-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{agent-4csxzq3k.js → aisdk-native-epms814b.js} +11 -11
  136. package/dist/chunks/{agent-zcgy7eak.js → aisdk-native-es4w4h4j.js} +11 -11
  137. package/dist/chunks/{agent-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{agent-g1k6myx5.js → aisdk-native-f1881gfp.js} +23 -23
  139. package/dist/chunks/{agent-bxq47dsz.js → aisdk-native-f1cby1h8.js} +20 -20
  140. package/dist/chunks/{agent-sw2d3bkm.js → aisdk-native-f66yvs9w.js} +32 -32
  141. package/dist/chunks/{agent-8zm3y681.js → aisdk-native-facf8rnd.js} +10 -10
  142. package/dist/chunks/{agent-0y23x04a.js → aisdk-native-fbh9pqtx.js} +1 -1
  143. package/dist/chunks/{agent-jy3cj7eq.js → aisdk-native-fdmpc3vm.js} +11 -11
  144. package/dist/chunks/{agent-v14x16y2.js → aisdk-native-fp7wgddj.js} +33 -33
  145. package/dist/chunks/{agent-v0es1rhs.js → aisdk-native-fpecnkgp.js} +9 -9
  146. package/dist/chunks/{agent-4tnyyry3.js → aisdk-native-fyeq03r8.js} +11 -11
  147. package/dist/chunks/{agent-3b2beane.js → aisdk-native-g3n6nq7m.js} +4 -4
  148. package/dist/chunks/{agent-70x8d8z5.js → aisdk-native-gctpkjda.js} +7 -7
  149. package/dist/chunks/{agent-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
  150. package/dist/chunks/aisdk-native-gdfaxp8g.js +91 -0
  151. package/dist/chunks/{agent-ygdna4kr.js → aisdk-native-gj71zhbs.js} +5 -5
  152. package/dist/chunks/{agent-xcmk6yw7.js → aisdk-native-gn31e51v.js} +9 -9
  153. package/dist/chunks/{agent-r6ejj6pg.js → aisdk-native-gn5182s9.js} +4 -4
  154. package/dist/chunks/{agent-6v4bajpc.js → aisdk-native-gnc4m5av.js} +23 -23
  155. package/dist/chunks/{agent-nzg7aet1.js → aisdk-native-gnraxr64.js} +32 -32
  156. package/dist/chunks/{agent-6z3egmv2.js → aisdk-native-gt4yqs4w.js} +43 -43
  157. package/dist/chunks/{agent-c0ssjtz7.js → aisdk-native-gvhkxsws.js} +30 -30
  158. package/dist/chunks/{agent-3cegwx68.js → aisdk-native-h2b79v29.js} +2 -2
  159. package/dist/chunks/{agent-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{agent-a7sd4fz4.js → aisdk-native-h96w7myx.js} +45 -45
  161. package/dist/chunks/{agent-pxx1vnz7.js → aisdk-native-hcnvgjpm.js} +46 -46
  162. package/dist/chunks/{agent-sr2efa4s.js → aisdk-native-hr76s594.js} +20 -20
  163. package/dist/chunks/{agent-5jvqttxh.js → aisdk-native-j0kvqywh.js} +48 -48
  164. package/dist/chunks/{agent-w896f4fg.js → aisdk-native-j0qqh2fr.js} +5 -5
  165. package/dist/chunks/{agent-rpjgfq5s.js → aisdk-native-j1mj860n.js} +9 -9
  166. package/dist/chunks/{agent-z22c8rkj.js → aisdk-native-j2ncb1sa.js} +32 -32
  167. package/dist/chunks/{agent-4aa4h2tq.js → aisdk-native-j3agjwjk.js} +9 -9
  168. package/dist/chunks/{agent-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
  169. package/dist/chunks/{agent-h021bcx5.js → aisdk-native-jgnyc2fs.js} +4 -4
  170. package/dist/chunks/{agent-ky10a555.js → aisdk-native-jgymmy77.js} +29 -29
  171. package/dist/chunks/{agent-t6s225qj.js → aisdk-native-jhzr7srw.js} +3 -3
  172. package/dist/chunks/{agent-ywa4fvrr.js → aisdk-native-k9cay8kk.js} +7 -7
  173. package/dist/chunks/{agent-8wyrfe92.js → aisdk-native-kc8ncmcx.js} +15 -15
  174. package/dist/chunks/{agent-dhhd1vbx.js → aisdk-native-kdz3a46v.js} +3 -3
  175. package/dist/chunks/{agent-5ddxkfw1.js → aisdk-native-kp00fsy8.js} +11 -11
  176. package/dist/chunks/{agent-bsprd9wx.js → aisdk-native-ktjxw1bv.js} +3 -3
  177. package/dist/chunks/{agent-a8bn8zg0.js → aisdk-native-kvvk39gs.js} +4 -4
  178. package/dist/chunks/{agent-17a1tqh7.js → aisdk-native-kye38093.js} +9 -9
  179. package/dist/chunks/{agent-m3fdjcah.js → aisdk-native-m3fdjcah.js} +1 -1
  180. package/dist/chunks/{agent-qp9jc1mv.js → aisdk-native-m3ktjrx8.js} +10 -10
  181. package/dist/chunks/{agent-hz0q9sdq.js → aisdk-native-m6f3t844.js} +8 -8
  182. package/dist/chunks/{agent-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{agent-17y12t5p.js → aisdk-native-mcjjfw9s.js} +32 -32
  184. package/dist/chunks/{agent-3mze8wzh.js → aisdk-native-me1thta9.js} +9 -9
  185. package/dist/chunks/{agent-783n2z95.js → aisdk-native-mhka2p0v.js} +45 -43
  186. package/dist/chunks/{agent-mbykdfpv.js → aisdk-native-mncjczse.js} +20 -20
  187. package/dist/chunks/{agent-sjma2msx.js → aisdk-native-mnz93xcd.js} +14 -14
  188. package/dist/chunks/{agent-m49t4hg9.js → aisdk-native-mthe07d4.js} +9 -9
  189. package/dist/chunks/{agent-2e77a8f5.js → aisdk-native-mvv9kg7n.js} +5 -5
  190. package/dist/chunks/{agent-wzjkwdy5.js → aisdk-native-mx0srs18.js} +21 -21
  191. package/dist/chunks/{agent-addxnjmp.js → aisdk-native-mxvxcxwy.js} +4 -4
  192. package/dist/chunks/{agent-df6sr8b1.js → aisdk-native-my3kb762.js} +3 -3
  193. package/dist/chunks/{agent-92fekpt5.js → aisdk-native-n0m7e9v2.js} +18 -18
  194. package/dist/chunks/{agent-t1508zf8.js → aisdk-native-n6jbr756.js} +32 -32
  195. package/dist/chunks/{agent-qhtf5qxw.js → aisdk-native-n8mb64fn.js} +14 -14
  196. package/dist/chunks/{agent-xc4vgfep.js → aisdk-native-ng9m30gk.js} +7 -7
  197. package/dist/chunks/{agent-7bxb7yfv.js → aisdk-native-nsypx438.js} +5 -5
  198. package/dist/chunks/{agent-qgzqj7st.js → aisdk-native-nx0rhcr0.js} +26 -26
  199. package/dist/chunks/{agent-g0445xdp.js → aisdk-native-p37cw4rj.js} +8 -8
  200. package/dist/chunks/{agent-vacv67ne.js → aisdk-native-p7a2r2f0.js} +26 -26
  201. package/dist/chunks/{agent-qm0v3jhh.js → aisdk-native-pbfwh0cy.js} +4 -4
  202. package/dist/chunks/{agent-gwes1t3r.js → aisdk-native-pd1gqwv6.js} +11 -11
  203. package/dist/chunks/{agent-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{agent-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
  205. package/dist/chunks/{agent-x24sx9jz.js → aisdk-native-pkxfpd18.js} +6 -6
  206. package/dist/chunks/{agent-he27pt63.js → aisdk-native-pnzf6mjf.js} +1 -1
  207. package/dist/chunks/{agent-6dndsv1v.js → aisdk-native-ppyhspf8.js} +81 -81
  208. package/dist/chunks/{agent-q0xm7vwc.js → aisdk-native-q0xm7vwc.js} +2 -2
  209. package/dist/chunks/{agent-2ycfdwj0.js → aisdk-native-q1th6fp8.js} +19 -19
  210. package/dist/chunks/aisdk-native-q509s3k3.js +18 -0
  211. package/dist/chunks/{agent-1kx28c4g.js → aisdk-native-qc4h0gvw.js} +24 -24
  212. package/dist/chunks/{agent-hbyhqfhs.js → aisdk-native-qdbakdjh.js} +5 -5
  213. package/dist/chunks/{agent-a5s40ca3.js → aisdk-native-qepyfg6g.js} +36 -36
  214. package/dist/chunks/{agent-7dqw4kz8.js → aisdk-native-qgn6gcr1.js} +5 -5
  215. package/dist/chunks/{agent-qnc92qwc.js → aisdk-native-qnc92qwc.js} +1 -1
  216. package/dist/chunks/{agent-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
  217. package/dist/chunks/{agent-phybfz0m.js → aisdk-native-qth6xygn.js} +22 -22
  218. package/dist/chunks/{agent-pgk2w5kh.js → aisdk-native-r00xt3c5.js} +16 -16
  219. package/dist/chunks/{agent-khq01eb0.js → aisdk-native-ra4hc0m4.js} +13 -13
  220. package/dist/chunks/{agent-rdw6cm16.js → aisdk-native-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{agent-zyvf4acx.js → aisdk-native-rhz4vksc.js} +15 -15
  222. package/dist/chunks/{agent-3hrkjtqs.js → aisdk-native-rprrwjpj.js} +34 -34
  223. package/dist/chunks/{agent-e126kanh.js → aisdk-native-rrgbm1gv.js} +15 -15
  224. package/dist/chunks/{agent-ykt494b9.js → aisdk-native-rz911c4y.js} +4 -4
  225. package/dist/chunks/{agent-9qz784v3.js → aisdk-native-s1hj9k30.js} +12 -12
  226. package/dist/chunks/{agent-at1kfnmk.js → aisdk-native-s5met55r.js} +8 -8
  227. package/dist/chunks/{agent-9t7a50xb.js → aisdk-native-s8d7rejh.js} +4 -4
  228. package/dist/chunks/{agent-b3f8fkhc.js → aisdk-native-scgrse2b.js} +5 -5
  229. package/dist/chunks/{agent-kdrrv2mr.js → aisdk-native-shk4ffnk.js} +13 -13
  230. package/dist/chunks/{agent-d2t612qt.js → aisdk-native-shw3b6bh.js} +24 -24
  231. package/dist/chunks/{agent-vx3jgdek.js → aisdk-native-sjgsw2hk.js} +3 -3
  232. package/dist/chunks/{agent-9jbytkdk.js → aisdk-native-skxptfe8.js} +10 -10
  233. package/dist/chunks/{agent-9x7p2px1.js → aisdk-native-st4vqgcn.js} +83 -83
  234. package/dist/chunks/{agent-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{agent-dfk0hq18.js → aisdk-native-tb7dkz7m.js} +5 -5
  236. package/dist/chunks/{agent-tcezcvh9.js → aisdk-native-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{agent-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
  238. package/dist/chunks/{agent-sqhn9v6r.js → aisdk-native-tf2z4qss.js} +10 -10
  239. package/dist/chunks/{agent-k2s48day.js → aisdk-native-tfb60e5g.js} +17 -17
  240. package/dist/chunks/{agent-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
  241. package/dist/chunks/{agent-d1e7bkxv.js → aisdk-native-vjtzpg72.js} +11 -11
  242. package/dist/chunks/{agent-kbf5pbb1.js → aisdk-native-vv80c9ym.js} +4 -4
  243. package/dist/chunks/{agent-vzs5sf6e.js → aisdk-native-vzs5sf6e.js} +1 -1
  244. package/dist/chunks/{agent-72f347q0.js → aisdk-native-w05zr4jj.js} +12 -12
  245. package/dist/chunks/{agent-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{agent-3a3naqap.js → aisdk-native-w5rwm3pc.js} +12 -12
  247. package/dist/chunks/{agent-pff5wb6z.js → aisdk-native-w8wme0n9.js} +45 -45
  248. package/dist/chunks/{agent-cfsekr6v.js → aisdk-native-w92k2e0p.js} +8 -8
  249. package/dist/chunks/{agent-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
  250. package/dist/chunks/{agent-z9hfw5dg.js → aisdk-native-wjmafqd5.js} +13 -13
  251. package/dist/chunks/{agent-xjn29gxn.js → aisdk-native-wxg63wf5.js} +8 -8
  252. package/dist/chunks/{agent-57hhra39.js → aisdk-native-x2y2beh6.js} +24 -24
  253. package/dist/chunks/{agent-5t5t0qrb.js → aisdk-native-x861zb6t.js} +2 -2
  254. package/dist/chunks/{agent-gt93e3y9.js → aisdk-native-x92jmdhy.js} +9 -9
  255. package/dist/chunks/{agent-f6em7jw0.js → aisdk-native-xdnyfx8g.js} +21 -21
  256. package/dist/chunks/{agent-gjh3yp6z.js → aisdk-native-xen2mb01.js} +46 -46
  257. package/dist/chunks/{agent-ywp8qspf.js → aisdk-native-xg9b4fj5.js} +39 -39
  258. package/dist/chunks/{agent-xkntkrq7.js → aisdk-native-xkntkrq7.js} +2 -2
  259. package/dist/chunks/{agent-3xk1rpza.js → aisdk-native-xr4t3wvj.js} +15 -15
  260. package/dist/chunks/{agent-c42xvehe.js → aisdk-native-xrdbg2s8.js} +6 -6
  261. package/dist/chunks/{agent-xyafkbt0.js → aisdk-native-xyafkbt0.js} +3 -3
  262. package/dist/chunks/{agent-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{agent-08teenj9.js → aisdk-native-y46h39kv.js} +14 -14
  264. package/dist/chunks/{agent-mqr4fbfx.js → aisdk-native-y4fcfbj0.js} +27 -27
  265. package/dist/chunks/{agent-cdp5f4xy.js → aisdk-native-y4fngaas.js} +4 -4
  266. package/dist/chunks/{agent-ha6rjgjm.js → aisdk-native-y9r3t0nz.js} +4 -4
  267. package/dist/chunks/{agent-5f6jwszr.js → aisdk-native-yatzzw06.js} +6 -6
  268. package/dist/chunks/{agent-ctf0de0w.js → aisdk-native-ygh1mgm9.js} +13 -13
  269. package/dist/chunks/{agent-amz1y0qj.js → aisdk-native-ymxtxbtw.js} +9 -9
  270. package/dist/chunks/{agent-nkf980df.js → aisdk-native-yp2x3t23.js} +4 -4
  271. package/dist/chunks/{agent-xxnjzd11.js → aisdk-native-yp9n3qq0.js} +8 -8
  272. package/dist/chunks/{agent-tkyfsn3z.js → aisdk-native-yqgv6gkz.js} +20 -20
  273. package/dist/chunks/{agent-zsr4wwhv.js → aisdk-native-yrcj3v3g.js} +4 -4
  274. package/dist/chunks/{agent-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{agent-kjvhfavp.js → aisdk-native-zb4ffgsy.js} +14 -14
  276. package/dist/chunks/{agent-jmtwfqjc.js → aisdk-native-zbqc3x9d.js} +4 -4
  277. package/dist/chunks/{agent-70pf7916.js → aisdk-native-zd3tnf6p.js} +10 -10
  278. package/dist/chunks/{agent-3ewk37x2.js → aisdk-native-zey9nnz1.js} +35 -35
  279. package/dist/chunks/{agent-4y7zq890.js → aisdk-native-zh2zjdzr.js} +3 -3
  280. package/dist/chunks/{agent-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{agent-n01nrsz6.js → aisdk-native-zwgbb5k0.js} +28 -28
  282. package/dist/chunks/{agent-yk2xpxbj.js → aisdk-native-zwzkbcdw.js} +11 -11
  283. package/dist/chunks/{agent-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +115 -115
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +123 -123
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +81 -81
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +93 -93
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +70 -70
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +220 -220
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +103 -103
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +13 -13
  421. package/dist/filesystem.js +102 -102
  422. package/dist/form.js +80 -80
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +101 -101
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +91 -91
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +3 -3
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +87 -87
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +131 -131
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +87 -87
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +109 -109
  466. package/dist/mcp/instructions.js +129 -129
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +91 -91
  471. package/dist/model-resolver.js +96 -96
  472. package/dist/model.js +98 -98
  473. package/dist/models-dev.js +107 -107
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +82 -82
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +107 -107
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +88 -88
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +74 -74
  484. package/dist/plugin/command.js +100 -100
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +94 -94
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +95 -95
  508. package/dist/plugin/provider/gitlab.js +93 -93
  509. package/dist/plugin/provider/google-vertex.js +90 -90
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +78 -78
  512. package/dist/plugin/provider/lmstudio.js +116 -116
  513. package/dist/plugin/provider/local.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +116 -116
  517. package/dist/plugin/provider/openai.js +95 -95
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +116 -116
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +74 -74
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +132 -132
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +343 -343
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +5 -5
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +2 -2
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +218 -218
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +88 -88
  553. package/dist/provider.js +99 -99
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +91 -91
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +87 -87
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +97 -97
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +129 -129
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +3 -3
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +214 -214
  574. package/dist/session/execution.js +127 -127
  575. package/dist/session/generate.js +152 -152
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +90 -90
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +127 -127
  587. package/dist/session/projector.js +84 -84
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +123 -123
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +164 -164
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +87 -87
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +5 -5
  610. package/dist/session/title.js +157 -157
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +209 -209
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +209 -209
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +11 -11
  619. package/dist/shell.js +132 -132
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +110 -110
  623. package/dist/snapshot.js +93 -93
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +124 -124
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +120 -120
  635. package/dist/tool/plugin/question.js +105 -105
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +113 -113
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +110 -110
  641. package/dist/tool/plugin/websearch.js +114 -114
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +5 -5
  646. package/dist/tool.js +14 -14
  647. package/dist/types/plugin/provider/amazon-bedrock.d.ts +2 -1
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +92 -92
  662. package/dist/v1/config/permission.js +3 -3
  663. package/dist/v1/config/plugin.js +3 -3
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +93 -93
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +89 -89
  669. package/dist/websearch.js +82 -82
  670. package/dist/wellknown/plugin.js +76 -76
  671. package/dist/wellknown.js +81 -81
  672. package/dist/workspace/driver.js +7 -7
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +78 -78
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +10 -10
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +89 -89
  679. package/dist/worktree.js +96 -96
  680. package/package.json +8 -8
  681. package/dist/chunks/agent-by5v678g.js +0 -18
  682. package/dist/chunks/agent-g5j8wg4z.js +0 -26
  683. package/dist/chunks/agent-skc08zz9.js +0 -47
  684. package/dist/chunks/agent-zsyvmmh7.js +0 -253
  685. /package/dist/chunks/{agent-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{agent-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{agent-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{agent-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{agent-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{agent-24dcb14g.js → aisdk-native-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{agent-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{agent-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{agent-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{agent-34c7v6d4.js → aisdk-native-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{agent-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{agent-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
  697. /package/dist/chunks/{agent-3t0ybcrp.js → aisdk-native-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{agent-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{agent-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{agent-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{agent-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{agent-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{agent-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{agent-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{agent-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
  706. /package/dist/chunks/{agent-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{agent-5qd3pb7m.js → aisdk-native-5qd3pb7m.js} +0 -0
  708. /package/dist/chunks/{agent-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
  709. /package/dist/chunks/{agent-6q2bdcd1.js → aisdk-native-6q2bdcd1.js} +0 -0
  710. /package/dist/chunks/{agent-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{agent-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{agent-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
  713. /package/dist/chunks/{agent-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{agent-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{agent-8wj87zfr.js → aisdk-native-8wj87zfr.js} +0 -0
  716. /package/dist/chunks/{agent-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{agent-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{agent-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{agent-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{agent-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{agent-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{agent-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{agent-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{agent-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{agent-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{agent-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{agent-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{agent-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{agent-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{agent-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{agent-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
  732. /package/dist/chunks/{agent-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{agent-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{agent-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{agent-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{agent-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{agent-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{agent-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{agent-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{agent-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{agent-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{agent-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{agent-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{agent-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
  745. /package/dist/chunks/{agent-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{agent-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
  747. /package/dist/chunks/{agent-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
  748. /package/dist/chunks/{agent-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{agent-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{agent-jjkms2e6.js → aisdk-native-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{agent-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{agent-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{agent-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{agent-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{agent-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{agent-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{agent-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{agent-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{agent-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{agent-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{agent-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{agent-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{agent-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{agent-qg3g05ea.js → aisdk-native-qg3g05ea.js} +0 -0
  765. /package/dist/chunks/{agent-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{agent-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{agent-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{agent-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{agent-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{agent-wc3fc9cn.js → aisdk-native-wc3fc9cn.js} +0 -0
  771. /package/dist/chunks/{agent-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{agent-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{agent-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{agent-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
  775. /package/dist/chunks/{agent-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{agent-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{agent-y8f7s663.js → aisdk-native-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{agent-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{agent-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{agent-z5v4ffb3.js → aisdk-native-z5v4ffb3.js} +0 -0
  781. /package/dist/chunks/{agent-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service49
3
- } from "./agent-34jk9fw4.js";
2
+ Service46
3
+ } from "./aisdk-native-4txfm3d9.js";
4
4
  import {
5
5
  Service10
6
- } from "./agent-xg3cb7y7.js";
6
+ } from "./aisdk-native-400mat65.js";
7
7
  import {
8
8
  observe2
9
- } from "./agent-qsdy395h.js";
9
+ } from "./aisdk-native-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./agent-9rqn6x4v.js";
12
+ } from "./aisdk-native-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compaction.ts
15
15
  var exports_compaction = {};
16
16
  __export(exports_compaction, {
17
17
  ConfigCompactionPlugin: () => exports_compaction,
18
- Plugin: () => Plugin36
18
+ Plugin: () => Plugin34
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin36 = define({
22
+ var Plugin34 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service49;
25
+ const config = yield* Service46;
26
26
  const compaction = yield* Service10;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
@@ -39,4 +39,4 @@ var Plugin36 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin36, exports_compaction };
42
+ export { Plugin34, exports_compaction };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./agent-9rqn6x4v.js";
3
+ } from "./aisdk-native-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./agent-vnj7mzs9.js";
4
+ } from "./aisdk-native-dxj4v0g7.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./agent-3hepkmqq.js";
7
+ } from "./aisdk-native-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./agent-9rqn6x4v.js";
10
+ } from "./aisdk-native-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service70,
17
- node: () => node74
16
+ Service: () => Service81,
17
+ node: () => node85
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service70 extends Context.Service()("@opencode/KV") {
22
+ class Service81 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service70, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
25
25
  const db = (yield* Service84).db;
26
- return Service70.of({
26
+ return Service81.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node74 = makeGlobalNode({ service: Service70, layer, deps: [node88] });
54
+ var node85 = makeGlobalNode({ service: Service81, layer, deps: [node88] });
55
55
 
56
- export { Service70, node74, exports_kv };
56
+ export { Service81, node85, exports_kv };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  __export
3
- } from "./agent-9rqn6x4v.js";
3
+ } from "./aisdk-native-9rqn6x4v.js";
4
4
 
5
5
  // src/managed-policy.ts
6
6
  var exports_managed_policy = {};
7
7
  __export(exports_managed_policy, {
8
8
  ManagedPolicy: () => exports_managed_policy,
9
- Service: () => Service16,
10
- node: () => node18
9
+ Service: () => Service18,
10
+ node: () => node20
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service16 extends Context.Service()("@opencode/ManagedPolicy") {
15
+ class Service18 extends Context.Service()("@opencode/ManagedPolicy") {
16
16
  }
17
- var layer = Layer.sync(Service16, () => {
17
+ var layer = Layer.sync(Service18, () => {
18
18
  const state = { current: { statements: [] } };
19
- return Service16.of({
19
+ return Service18.of({
20
20
  current: () => state.current,
21
21
  set: (next) => Effect.sync(() => {
22
22
  state.current = next;
23
23
  })
24
24
  });
25
25
  });
26
- var node18 = makeGlobalNode({ service: Service16, layer, deps: [] });
26
+ var node20 = makeGlobalNode({ service: Service18, layer, deps: [] });
27
27
 
28
- export { Service16, node18, exports_managed_policy };
28
+ export { Service18, node20, exports_managed_policy };
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./agent-emrn6kk6.js";
7
+ } from "./aisdk-native-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./agent-z5v4ffb3.js";
4
+ } from "./aisdk-native-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service82,
9
- node86
10
- } from "./agent-rrpq0de9.js";
11
- import {
12
8
  Service80,
13
9
  node84
14
- } from "./agent-4m1hrhsh.js";
10
+ } from "./aisdk-native-cstv7mkv.js";
11
+ import {
12
+ Service78,
13
+ node82
14
+ } from "./aisdk-native-95630v8f.js";
15
15
  import {
16
16
  create3
17
- } from "./agent-rdw6cm16.js";
17
+ } from "./aisdk-native-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./agent-9rqn6x4v.js";
20
+ } from "./aisdk-native-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID6,
27
- Service: () => Service45,
25
+ Error: () => Error5,
26
+ ID: () => ID7,
27
+ Service: () => Service59,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node48,
30
- noopLayer: () => noopLayer2
29
+ node: () => node63,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID6 } from "@opencode/schema/snapshot";
37
+ import { ID as ID7 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error5 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service45 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service59 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service45, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service82;
50
+ const git = yield* Service80;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service80;
52
+ const location = yield* Service78;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID6.make(yield* git.tree.capture({
85
+ return ID7.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service45.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service59.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node48 = makeLocationNode({
144
- service: Service45,
143
+ var node63 = makeLocationNode({
144
+ service: Service59,
145
145
  layer,
146
- deps: [FSUtil.node, node86, Global.node, node84]
146
+ deps: [FSUtil.node, node84, Global.node, node82]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service45, Service45.of({
148
+ var noopLayer3 = Layer.succeed(Service59, Service59.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service45, Service45.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error3 && cause.operation === operation)
157
+ if (cause instanceof Error5 && cause.operation === operation)
158
158
  return cause;
159
- return new Error3({
159
+ return new Error5({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID6, Error3, Service45, node48, noopLayer2, exports_snapshot2 };
166
+ export { ID7, Error5, Service59, node63, noopLayer3, exports_snapshot2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service63
3
- } from "./agent-v6gb7zv2.js";
2
+ Service40
3
+ } from "./aisdk-native-3ppptnan.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./agent-by5v678g.js";
6
+ } from "./aisdk-native-q509s3k3.js";
7
7
  import {
8
- Service47
9
- } from "./agent-gjh3yp6z.js";
8
+ Service44
9
+ } from "./aisdk-native-xen2mb01.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./agent-vzs5sf6e.js";
12
+ } from "./aisdk-native-vzs5sf6e.js";
13
13
  import {
14
14
  __export
15
- } from "./agent-9rqn6x4v.js";
15
+ } from "./aisdk-native-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service63;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service47), instances.provide(input.session));
25
+ const instances = yield* Service40;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service44), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,10 +1,10 @@
1
- import {
2
- ID14,
3
- Service77,
4
- node81
5
- } from "./agent-vacv67ne.js";
6
1
  import {
7
2
  ID13,
3
+ Service72,
4
+ node76
5
+ } from "./aisdk-native-p7a2r2f0.js";
6
+ import {
7
+ ID12,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -14,24 +14,24 @@ import {
14
14
  timeouts2,
15
15
  mergeOverlay2,
16
16
  mergeHeaders2,
17
- Service76,
18
- node80
19
- } from "./agent-c0ssjtz7.js";
17
+ Service71,
18
+ node75
19
+ } from "./aisdk-native-gvhkxsws.js";
20
20
  import {
21
- Service66,
22
- node70
23
- } from "./agent-yk2xpxbj.js";
21
+ Service68,
22
+ node72
23
+ } from "./aisdk-native-zwzkbcdw.js";
24
24
  import {
25
- ID8,
25
+ ID11,
26
26
  VariantID2,
27
27
  Ref2,
28
- Service68,
29
- node72,
28
+ Service70,
29
+ node74,
30
30
  supportsText2
31
- } from "./agent-n01nrsz6.js";
31
+ } from "./aisdk-native-zwgbb5k0.js";
32
32
  import {
33
33
  __export
34
- } from "./agent-9rqn6x4v.js";
34
+ } from "./aisdk-native-9rqn6x4v.js";
35
35
 
36
36
  // src/model-resolver.ts
37
37
  var exports_model_resolver = {};
@@ -40,7 +40,7 @@ __export(exports_model_resolver, {
40
40
  ModelConfigurationError: () => ModelConfigurationError2,
41
41
  ModelInitializationError: () => ModelInitializationError2,
42
42
  ModelResolver: () => exports_model_resolver,
43
- Service: () => Service65,
43
+ Service: () => Service67,
44
44
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
45
45
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
46
46
  UnsupportedPackageError: () => UnsupportedPackageError2,
@@ -48,7 +48,7 @@ __export(exports_model_resolver, {
48
48
  fromCatalogModel: () => fromCatalogModel2,
49
49
  hasPackage: () => hasPackage2,
50
50
  layer: () => layer24,
51
- node: () => node69,
51
+ node: () => node71,
52
52
  resolveModel: () => resolveModel2,
53
53
  withVariant: () => withVariant2
54
54
  });
@@ -58,8 +58,8 @@ import { Auth } from "@opencode/ai/route";
58
58
  import { Context, Effect, Layer, Schema, Struct } from "effect";
59
59
  import { Npm } from "@opencode/util/npm";
60
60
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
61
- providerID: ID13,
62
- modelID: ID8,
61
+ providerID: ID12,
62
+ modelID: ID11,
63
63
  variant: VariantID2
64
64
  }) {
65
65
  get message() {
@@ -68,8 +68,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
68
68
  }
69
69
 
70
70
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
71
- providerID: ID13,
72
- modelID: ID8,
71
+ providerID: ID12,
72
+ modelID: ID11,
73
73
  package: Schema.String
74
74
  }) {
75
75
  get message() {
@@ -79,8 +79,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
79
79
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
80
80
 
81
81
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
82
- providerID: ID13,
83
- modelID: ID8,
82
+ providerID: ID12,
83
+ modelID: ID11,
84
84
  package: Schema.String,
85
85
  detail: Schema.String
86
86
  }) {
@@ -90,8 +90,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
90
90
  }
91
91
 
92
92
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
93
- providerID: ID13,
94
- modelID: ID8,
93
+ providerID: ID12,
94
+ modelID: ID11,
95
95
  package: Schema.String,
96
96
  phase: InitializationPhase2,
97
97
  detail: Schema.String
@@ -102,8 +102,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
102
102
  }
103
103
 
104
104
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
105
- providerID: ID13,
106
- modelID: ID8,
105
+ providerID: ID12,
106
+ modelID: ID11,
107
107
  variables: Schema.Array(Schema.String)
108
108
  }) {
109
109
  get message() {
@@ -112,8 +112,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
112
112
  }
113
113
 
114
114
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
115
- providerID: ID13,
116
- modelID: ID8,
115
+ providerID: ID12,
116
+ modelID: ID11,
117
117
  route: Schema.String
118
118
  }) {
119
119
  get message() {
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
121
121
  }
122
122
  }
123
123
 
124
- class Service65 extends Context.Service()("@opencode/ModelResolver") {
124
+ class Service67 extends Context.Service()("@opencode/ModelResolver") {
125
125
  }
126
126
  var withVariant2 = (model, variantID) => {
127
127
  const id = variantID === "default" ? undefined : variantID;
@@ -227,8 +227,10 @@ function unresolvedProviderVariables(model, baseURL) {
227
227
  });
228
228
  }
229
229
  var nativeCredentialSettings = (specifier, credential) => {
230
- if (!credential || credential.type === "external")
230
+ if (!credential)
231
231
  return {};
232
+ if (credential.type === "external")
233
+ return specifier.startsWith("@opencode/ai/providers/amazon-bedrock") ? { auth: "sigv4" } : {};
232
234
  if (credential.type === "key")
233
235
  return { apiKey: credential.key };
234
236
  if (specifier === "@opencode/ai/providers/anthropic" || specifier === "@opencode/ai/providers/anthropic-compatible")
@@ -261,15 +263,15 @@ var causeMessage = (cause) => {
261
263
  };
262
264
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
263
265
  var hasPackage2 = (model) => Boolean(model.package);
264
- var layer24 = Layer.effect(Service65, Effect.gen(function* () {
265
- const providers = yield* Service76;
266
- const models = yield* Service68;
267
- const integrations = yield* Service77;
266
+ var layer24 = Layer.effect(Service67, Effect.gen(function* () {
267
+ const providers = yield* Service71;
268
+ const models = yield* Service70;
269
+ const integrations = yield* Service72;
268
270
  const npm = yield* Npm.Service;
269
- const aisdk = yield* Service66;
271
+ const aisdk = yield* Service68;
270
272
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
271
273
  const provider = yield* providers.get(selected.providerID);
272
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
274
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
273
275
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
274
276
  const selectedVariant = yield* withVariant2(selected, variant);
275
277
  const runtimeInfo = {
@@ -296,7 +298,7 @@ var layer24 = Layer.effect(Service65, Effect.gen(function* () {
296
298
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
297
299
  };
298
300
  });
299
- return Service65.of({
301
+ return Service67.of({
300
302
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
301
303
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
302
304
  if (!selected)
@@ -313,10 +315,10 @@ function usesAPIKeyAuth(packageName) {
313
315
  const name = packageName2(packageName);
314
316
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
315
317
  }
316
- var node69 = makeLocationNode({
317
- service: Service65,
318
+ var node71 = makeLocationNode({
319
+ service: Service67,
318
320
  layer: layer24,
319
- deps: [node80, node72, node81, Npm.node, node70]
321
+ deps: [node75, node74, node76, Npm.node, node72]
320
322
  });
321
323
 
322
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service65, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node69, exports_model_resolver };
324
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service67, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node71, exports_model_resolver };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service71
3
- } from "./agent-a7sd4fz4.js";
2
+ Service63
3
+ } from "./aisdk-native-h96w7myx.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./agent-4vcrnpx2.js";
7
+ } from "./aisdk-native-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./agent-3v8g72cx.js";
10
+ } from "./aisdk-native-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./agent-9rqn6x4v.js";
13
+ } from "./aisdk-native-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,
19
+ Input: () => Input4,
20
20
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin29,
22
+ Plugin: () => Plugin40,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description5,
25
+ description: () => description2,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name11
27
+ name: () => name4
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";
33
+ var name4 = "webfetch";
34
34
  var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description2 = `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 Input4 = 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: Input4.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 Plugin29 = {
95
+ var Plugin40 = {
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* Service71;
99
+ const permission = yield* Service63;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name11,
101
+ name: name4,
102
102
  options: { codemode: false },
103
- description: description5,
104
- input: Input11,
103
+ description: description2,
104
+ input: Input4,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin29 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name11,
112
+ action: name4,
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, Plugin29, extractTextFromHTML2, exports_webfetch };
170
+ export { name4, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input4, Plugin40, extractTextFromHTML2, exports_webfetch };