@opencode/core 0.0.0-dev-1293 → 0.0.0-dev-1295

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 (914) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  3. package/dist/aisdk-native.js +1 -1
  4. package/dist/aisdk.js +109 -109
  5. package/dist/app.js +11 -11
  6. package/dist/artifact.js +258 -258
  7. package/dist/bus.js +84 -84
  8. package/dist/chunks/{command-gx76kxxn.js → repository-00awaz76.js} +9 -9
  9. package/dist/chunks/{command-05qmkqxc.js → repository-02aqb0hw.js} +13 -13
  10. package/dist/chunks/{command-pdn7768w.js → repository-02mvxpmz.js} +6 -6
  11. package/dist/chunks/{command-034tev2y.js → repository-034tev2y.js} +2 -2
  12. package/dist/chunks/{command-vxcqyea6.js → repository-036t2kfc.js} +12 -12
  13. package/dist/chunks/{command-a84cszaf.js → repository-075tnmpp.js} +39 -39
  14. package/dist/chunks/{command-b1bejxds.js → repository-08kgq63a.js} +13 -13
  15. package/dist/chunks/{command-s9kd1pfb.js → repository-0cw2pp5w.js} +25 -25
  16. package/dist/chunks/{command-0fvxehme.js → repository-0fvxehme.js} +2 -2
  17. package/dist/chunks/repository-0gdrrj59.js +16 -0
  18. package/dist/chunks/{command-kvq9h0sm.js → repository-0kjnhnat.js} +10 -10
  19. package/dist/chunks/{command-vw17p9nj.js → repository-0kphx6m0.js} +66 -66
  20. package/dist/chunks/{command-a84t9kh6.js → repository-0q9em7pe.js} +29 -29
  21. package/dist/chunks/{command-741va2xm.js → repository-0rzkqjqm.js} +22 -22
  22. package/dist/chunks/{command-ywwk2jyx.js → repository-0syj7h06.js} +10 -10
  23. package/dist/chunks/{command-3y4zhc2n.js → repository-0y16qpbq.js} +20 -20
  24. package/dist/chunks/{command-g5bf500w.js → repository-19db04m1.js} +4 -4
  25. package/dist/chunks/{command-6bhge99a.js → repository-1aes4e9d.js} +22 -22
  26. package/dist/chunks/{command-1aqsckx4.js → repository-1aqsckx4.js} +1 -1
  27. package/dist/chunks/{command-gab8rwnv.js → repository-1cwf02y7.js} +16 -16
  28. package/dist/chunks/{command-1ep2p91f.js → repository-1ep2p91f.js} +2 -2
  29. package/dist/chunks/{command-npte79n3.js → repository-1h6n0ysm.js} +28 -28
  30. package/dist/chunks/{command-dt6tsz7x.js → repository-1hzyh15y.js} +31 -31
  31. package/dist/chunks/{command-e4b4cbc2.js → repository-1q7tn8wg.js} +21 -21
  32. package/dist/chunks/{command-4dwjnmct.js → repository-1t7x0sp9.js} +11 -11
  33. package/dist/chunks/{command-1x2knyw4.js → repository-1x2knyw4.js} +1 -1
  34. package/dist/chunks/{command-p7vhpwh8.js → repository-1yq9hg58.js} +5 -5
  35. package/dist/chunks/{command-1wmzbjb1.js → repository-22726xzj.js} +21 -21
  36. package/dist/chunks/{command-3zfajawq.js → repository-22m1t7j6.js} +16 -16
  37. package/dist/chunks/{command-4d1f1c7e.js → repository-2bzjnwzn.js} +11 -11
  38. package/dist/chunks/{command-c51p6570.js → repository-2c6sxtb9.js} +2 -2
  39. package/dist/chunks/{command-p1ea0emk.js → repository-2cks5jyr.js} +8 -8
  40. package/dist/chunks/{command-7hyftc6b.js → repository-2cnj5468.js} +4 -4
  41. package/dist/chunks/{command-qy94z0q3.js → repository-2dq8jpdd.js} +11 -11
  42. package/dist/chunks/{command-2fc7eemy.js → repository-2fc7eemy.js} +1 -1
  43. package/dist/chunks/{command-nkzb5f1v.js → repository-2hc2yyeh.js} +8 -8
  44. package/dist/chunks/{command-h7d4rbrg.js → repository-2kg89srt.js} +4 -4
  45. package/dist/chunks/{command-2prt43t7.js → repository-2prt43t7.js} +1 -1
  46. package/dist/chunks/{command-6nw0se4n.js → repository-2sm5ch0r.js} +28 -28
  47. package/dist/chunks/{command-mrc8gdh0.js → repository-2x334bmq.js} +29 -29
  48. package/dist/chunks/{command-4e22apbf.js → repository-34dqnfkc.js} +3 -3
  49. package/dist/chunks/{command-7y2jw3ee.js → repository-3a8968hy.js} +14 -14
  50. package/dist/chunks/{command-88vr49vm.js → repository-3beq3wdw.js} +3 -3
  51. package/dist/chunks/{command-r2rgtba5.js → repository-3btmr5ck.js} +6 -6
  52. package/dist/chunks/{command-evjv4h7n.js → repository-3by0w2ax.js} +14 -14
  53. package/dist/chunks/{command-kc4ez2ea.js → repository-3c7qpzd7.js} +8 -8
  54. package/dist/chunks/{command-zk1cryvj.js → repository-3cm6sehk.js} +23 -23
  55. package/dist/chunks/{command-chgkwb0j.js → repository-3crjv7w7.js} +12 -12
  56. package/dist/chunks/{command-m6b1y2sf.js → repository-3d3k30ev.js} +9 -9
  57. package/dist/chunks/{command-4p9g6gya.js → repository-3ddecqpa.js} +12 -12
  58. package/dist/chunks/{command-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  59. package/dist/chunks/{command-gxnp7ekr.js → repository-3kh5eq90.js} +14 -14
  60. package/dist/chunks/{command-hdsvjrkq.js → repository-3knw41x0.js} +9 -9
  61. package/dist/chunks/{command-0k0e3yqn.js → repository-3mcdazc4.js} +8 -8
  62. package/dist/chunks/{command-3nnrz6f6.js → repository-3nnrz6f6.js} +1 -1
  63. package/dist/chunks/{command-hkf8spj2.js → repository-3qgwywyc.js} +7 -7
  64. package/dist/chunks/{command-nvnvd5wa.js → repository-3s23b7nf.js} +9 -9
  65. package/dist/chunks/{command-40y6dtc2.js → repository-40y6dtc2.js} +1 -1
  66. package/dist/chunks/{command-w2eysc6j.js → repository-40za9wsf.js} +9 -9
  67. package/dist/chunks/{command-zfjmf10w.js → repository-440d70yp.js} +14 -14
  68. package/dist/chunks/{command-xvn8mnch.js → repository-44w9n9s7.js} +4 -4
  69. package/dist/chunks/{command-m4p4r8nc.js → repository-4dfqsw0d.js} +4 -4
  70. package/dist/chunks/{command-4dx1dgte.js → repository-4dx1dgte.js} +1 -1
  71. package/dist/chunks/{command-jvc6ajf5.js → repository-4erzfp4b.js} +7 -7
  72. package/dist/chunks/{command-grmaj3s8.js → repository-4ez88w3t.js} +19 -19
  73. package/dist/chunks/{command-4f25tdd0.js → repository-4f25tdd0.js} +1 -1
  74. package/dist/chunks/{command-trs7a2qk.js → repository-4gv8hekr.js} +31 -31
  75. package/dist/chunks/{command-2m935wwe.js → repository-4tc7e79j.js} +27 -27
  76. package/dist/chunks/{command-4v008n1t.js → repository-4v008n1t.js} +1 -1
  77. package/dist/chunks/{command-ntyam5cy.js → repository-4y6h7701.js} +29 -29
  78. package/dist/chunks/{command-maqcfgk7.js → repository-52840mb9.js} +22 -22
  79. package/dist/chunks/{command-fhgvdm1j.js → repository-52a0vpb2.js} +44 -44
  80. package/dist/chunks/{command-gx70bdw1.js → repository-57mvpke6.js} +20 -20
  81. package/dist/chunks/{command-5m9w47nd.js → repository-5m9w47nd.js} +1 -1
  82. package/dist/chunks/{command-hdr5hne2.js → repository-5mcs1phj.js} +6 -6
  83. package/dist/chunks/{command-xrayc9jg.js → repository-5n3vkvkg.js} +24 -24
  84. package/dist/chunks/{command-66jzz31a.js → repository-5r6kmg8r.js} +60 -60
  85. package/dist/chunks/{command-s47rahr7.js → repository-5whx36p1.js} +4 -4
  86. package/dist/chunks/{command-38hffzgp.js → repository-5zjvj63j.js} +43 -43
  87. package/dist/chunks/{command-z8mdwd44.js → repository-60ey6p5f.js} +12 -12
  88. package/dist/chunks/{command-xksw6ev0.js → repository-67wwskyb.js} +4 -4
  89. package/dist/chunks/{command-48t0pb5g.js → repository-6d623jwb.js} +52 -52
  90. package/dist/chunks/{command-72n513kv.js → repository-6fvhexbh.js} +6 -6
  91. package/dist/chunks/{command-8k2mn50d.js → repository-6tw2hsz8.js} +10 -10
  92. package/dist/chunks/{command-d4qb2rc3.js → repository-6xtjqz2m.js} +4 -4
  93. package/dist/chunks/{command-mb36n99k.js → repository-72fnktma.js} +47 -47
  94. package/dist/chunks/{command-ad3ej1v4.js → repository-731rr466.js} +5 -5
  95. package/dist/chunks/{command-mvp1qzcv.js → repository-74m4g95v.js} +9 -9
  96. package/dist/chunks/{command-qe6954ph.js → repository-77bcp5wq.js} +16 -16
  97. package/dist/chunks/{command-wfpw9855.js → repository-78shhwap.js} +26 -26
  98. package/dist/chunks/{command-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  99. package/dist/chunks/{command-hs4st8jg.js → repository-7de1jspm.js} +5 -5
  100. package/dist/chunks/{command-v4gq67p5.js → repository-7f6kc9pt.js} +5 -5
  101. package/dist/chunks/{command-6fp9hgrk.js → repository-7s8ymmn3.js} +6 -6
  102. package/dist/chunks/{command-7tx5zndv.js → repository-7tx5zndv.js} +2 -2
  103. package/dist/chunks/{command-7w2ypzdf.js → repository-7w2ypzdf.js} +1 -1
  104. package/dist/chunks/{command-7weczvnd.js → repository-7weczvnd.js} +1 -1
  105. package/dist/chunks/{command-6tdwsadc.js → repository-80ej5eef.js} +25 -25
  106. package/dist/chunks/{command-775hqbnd.js → repository-80mg3ag8.js} +3 -3
  107. package/dist/chunks/{command-80pdk984.js → repository-80pdk984.js} +1 -1
  108. package/dist/chunks/{command-br85n61x.js → repository-859w1rtj.js} +9 -9
  109. package/dist/chunks/{command-85jq8dht.js → repository-85jq8dht.js} +1 -1
  110. package/dist/chunks/{command-n2ah2rkn.js → repository-86rqf3w8.js} +12 -12
  111. package/dist/chunks/{command-rjdz0je4.js → repository-86yjpch2.js} +17 -17
  112. package/dist/chunks/{command-s2rmzza2.js → repository-883s1ske.js} +28 -28
  113. package/dist/chunks/{command-8b3vzgkx.js → repository-8b3vzgkx.js} +1 -1
  114. package/dist/chunks/{command-8kjyvwy5.js → repository-8kjyvwy5.js} +1 -1
  115. package/dist/chunks/{command-ptqtsqsq.js → repository-8pefwsjs.js} +7 -7
  116. package/dist/chunks/{command-gs317ewe.js → repository-8qrf03x0.js} +12 -12
  117. package/dist/chunks/{command-9ahpzkmc.js → repository-8rn80sq6.js} +4 -4
  118. package/dist/chunks/{command-8sxe6kv8.js → repository-8sxe6kv8.js} +2 -2
  119. package/dist/chunks/{command-pmxhedey.js → repository-8t14wrn8.js} +7 -7
  120. package/dist/chunks/{command-4gatbntd.js → repository-8tjj9rtv.js} +12 -12
  121. package/dist/chunks/{command-ymh2zpye.js → repository-8w92qacv.js} +18 -18
  122. package/dist/chunks/{command-8wtp7s3z.js → repository-8wtp7s3z.js} +1 -1
  123. package/dist/chunks/{command-1f32vgp3.js → repository-8wx5ae1x.js} +18 -17
  124. package/dist/chunks/repository-8x060fmy.js +18 -0
  125. package/dist/chunks/{command-8zv0xmg5.js → repository-8zv0xmg5.js} +1 -1
  126. package/dist/chunks/{command-1p4vhnrh.js → repository-933032vd.js} +3 -3
  127. package/dist/chunks/{command-z4z67x7v.js → repository-93fptvw0.js} +35 -35
  128. package/dist/chunks/{command-c9v165g9.js → repository-94kg4pr2.js} +45 -45
  129. package/dist/chunks/{command-vspq6nrc.js → repository-97243vbs.js} +88 -88
  130. package/dist/chunks/{command-9tg5000s.js → repository-9bqhtztk.js} +25 -25
  131. package/dist/chunks/{command-avrmj142.js → repository-9d072b6q.js} +12 -12
  132. package/dist/chunks/{command-x7de2wha.js → repository-9f3jsh1d.js} +9 -9
  133. package/dist/chunks/{command-fmbhv8wq.js → repository-9hnkp272.js} +11 -11
  134. package/dist/chunks/{command-1byp4d39.js → repository-9j7f5x07.js} +26 -26
  135. package/dist/chunks/{command-99x81fn2.js → repository-9jmkx442.js} +18 -23
  136. package/dist/chunks/{command-dbatw319.js → repository-9rqfe4ad.js} +3 -3
  137. package/dist/chunks/{command-scmk72rv.js → repository-9zwexsxs.js} +5 -5
  138. package/dist/chunks/{command-5c8k4hxw.js → repository-9zx7r65b.js} +23 -23
  139. package/dist/chunks/{command-963hk181.js → repository-a0fq0pbv.js} +9 -9
  140. package/dist/chunks/{command-ed2rhd70.js → repository-a5w0t351.js} +22 -22
  141. package/dist/chunks/{command-q99548g1.js → repository-a6qcwttn.js} +12 -12
  142. package/dist/chunks/{command-vntcsxyj.js → repository-a6vptk3v.js} +14 -14
  143. package/dist/chunks/{command-hbjxspw9.js → repository-a75y8c3w.js} +12 -12
  144. package/dist/chunks/repository-aczc0e5b.js +35 -0
  145. package/dist/chunks/{command-b9qgv8m5.js → repository-adpq3e4w.js} +6 -6
  146. package/dist/chunks/{command-8ar0836h.js → repository-adwsp3br.js} +11 -11
  147. package/dist/chunks/{command-s349q7p5.js → repository-afzp9kbc.js} +9 -9
  148. package/dist/chunks/{command-vwcz1f45.js → repository-agje4kmn.js} +7 -7
  149. package/dist/chunks/{command-mnj5jjmx.js → repository-amv5w5q7.js} +11 -11
  150. package/dist/chunks/{command-djcm10vk.js → repository-as8prksk.js} +29 -29
  151. package/dist/chunks/{command-ayjs7tqn.js → repository-ayjs7tqn.js} +2 -2
  152. package/dist/chunks/{command-7a35fjb6.js → repository-b4wh2b3v.js} +8 -8
  153. package/dist/chunks/{command-gzkxc65a.js → repository-bd7bren2.js} +16 -16
  154. package/dist/chunks/{command-dc4t5msd.js → repository-bekg9j7j.js} +25 -25
  155. package/dist/chunks/{command-nrvnrvd9.js → repository-bkxm042y.js} +9 -9
  156. package/dist/chunks/{command-bsycervj.js → repository-bs1g9tnx.js} +24 -24
  157. package/dist/chunks/{command-bstexjd6.js → repository-bstexjd6.js} +1 -1
  158. package/dist/chunks/{command-br0kkpnn.js → repository-c6x7d2ts.js} +7 -7
  159. package/dist/chunks/{command-3kcm45zc.js → repository-cea6hd02.js} +12 -12
  160. package/dist/chunks/{command-cwrgdav8.js → repository-cwrgdav8.js} +2 -2
  161. package/dist/chunks/{command-8esf06c6.js → repository-d390zwf3.js} +8 -8
  162. package/dist/chunks/{command-d4v9tmah.js → repository-d4v9tmah.js} +2 -2
  163. package/dist/chunks/{command-29avq3cp.js → repository-d7ghtrxv.js} +8 -8
  164. package/dist/chunks/{command-4xzzce0f.js → repository-dekwarse.js} +24 -24
  165. package/dist/chunks/{command-rj7j5fvs.js → repository-dg5naf6e.js} +4 -4
  166. package/dist/chunks/{command-jgvrj005.js → repository-dna90dc9.js} +5 -5
  167. package/dist/chunks/{command-d44wfkmg.js → repository-ds3x2h8w.js} +15 -15
  168. package/dist/chunks/{command-vhjhcx68.js → repository-dsd5wyar.js} +3 -3
  169. package/dist/chunks/{command-dt77769w.js → repository-dt77769w.js} +1 -1
  170. package/dist/chunks/{command-3scav9bn.js → repository-dwsh12fh.js} +29 -29
  171. package/dist/chunks/{command-qxvrvs93.js → repository-e0zepttq.js} +18 -18
  172. package/dist/chunks/{command-xn4a5x1q.js → repository-e7hkgzd9.js} +34 -34
  173. package/dist/chunks/{command-epnvf3pb.js → repository-e9e1fhjv.js} +22 -22
  174. package/dist/chunks/{command-2km60gbx.js → repository-e9h2qsxa.js} +11 -11
  175. package/dist/chunks/{command-q5db7jz2.js → repository-ecncedhr.js} +11 -11
  176. package/dist/chunks/{command-v12yjajt.js → repository-ef93qkt9.js} +10 -10
  177. package/dist/chunks/{command-7gqnzgav.js → repository-ejgm7w4x.js} +24 -24
  178. package/dist/chunks/{command-eqw4pqj1.js → repository-eqw4pqj1.js} +2 -2
  179. package/dist/chunks/repository-erw3q77e.js +26 -0
  180. package/dist/chunks/{command-61dc3kjz.js → repository-f2xmw0q9.js} +27 -27
  181. package/dist/chunks/{command-b7tcf9j8.js → repository-fb4dw218.js} +20 -20
  182. package/dist/chunks/{command-n1r126yv.js → repository-ff4xqyp0.js} +26 -26
  183. package/dist/chunks/{command-3dygp556.js → repository-fgarm31a.js} +33 -33
  184. package/dist/chunks/{command-fnrhryqq.js → repository-fnrhryqq.js} +1 -1
  185. package/dist/chunks/{command-wdn6va0d.js → repository-fx32ndrh.js} +6 -6
  186. package/dist/chunks/{command-b26ddj6h.js → repository-g4txs7zc.js} +4 -4
  187. package/dist/chunks/{command-90ct6wq4.js → repository-g5ajqn12.js} +4 -4
  188. package/dist/chunks/{command-gbjdnr5j.js → repository-gbjdnr5j.js} +2 -2
  189. package/dist/chunks/{command-wf5xbgyh.js → repository-gg524fet.js} +5 -5
  190. package/dist/chunks/{command-w75qynz4.js → repository-ggx84v7x.js} +6 -6
  191. package/dist/chunks/{command-ghrv1g9c.js → repository-ghrv1g9c.js} +1 -1
  192. package/dist/chunks/{command-fyfcjg2j.js → repository-gkx18e3k.js} +11 -11
  193. package/dist/chunks/{command-qq8nxmq8.js → repository-gq39yebw.js} +12 -12
  194. package/dist/chunks/{command-jd3pkr7r.js → repository-gw350h34.js} +16 -16
  195. package/dist/chunks/{command-69b8verm.js → repository-gxch3nm8.js} +27 -27
  196. package/dist/chunks/{command-tg7s7b5t.js → repository-gxs71cxp.js} +4 -4
  197. package/dist/chunks/{command-x4pvyz3p.js → repository-gzm6fcqq.js} +20 -20
  198. package/dist/chunks/{command-0ht5pcpg.js → repository-h5j1t2ft.js} +27 -27
  199. package/dist/chunks/{command-8kxf49yw.js → repository-h6emrs48.js} +4 -4
  200. package/dist/chunks/{command-hgzwgvze.js → repository-hgzwgvze.js} +2 -2
  201. package/dist/chunks/{command-qa4hpnzm.js → repository-hh7dvhm4.js} +4 -4
  202. package/dist/chunks/{command-hj0xet7m.js → repository-hj0xet7m.js} +2 -2
  203. package/dist/chunks/{command-4kmavamd.js → repository-hj3r42js.js} +31 -31
  204. package/dist/chunks/repository-hm90a926.js +273 -0
  205. package/dist/chunks/{command-zxd2y8y4.js → repository-hswcgjnv.js} +3 -3
  206. package/dist/chunks/{command-b15xysde.js → repository-hwgpdvjp.js} +7 -7
  207. package/dist/chunks/{command-jb6z6a30.js → repository-hym86aeq.js} +6 -6
  208. package/dist/chunks/{command-d7dn0zx2.js → repository-j372c61n.js} +11 -11
  209. package/dist/chunks/{command-tr8x705m.js → repository-j376ae4e.js} +5 -5
  210. package/dist/chunks/{command-fh8am5dj.js → repository-j7d5jxht.js} +14 -14
  211. package/dist/chunks/{command-wbwc7xrx.js → repository-jev05t8t.js} +25 -25
  212. package/dist/chunks/{command-psy9mywm.js → repository-jgr611bs.js} +2 -2
  213. package/dist/chunks/{command-njb58ya1.js → repository-jhaw84mg.js} +30 -30
  214. package/dist/chunks/{command-h83e0t1m.js → repository-jm1xng1y.js} +55 -55
  215. package/dist/chunks/{command-jm70asfg.js → repository-jm70asfg.js} +1 -1
  216. package/dist/chunks/{command-jhbk36e1.js → repository-jnpx970n.js} +23 -23
  217. package/dist/chunks/{command-e9actfxe.js → repository-jp9d3jyy.js} +15 -15
  218. package/dist/chunks/{command-9ajzb2kh.js → repository-jt3wcppe.js} +8 -8
  219. package/dist/chunks/{command-k62xrt9q.js → repository-jvdg4s4q.js} +86 -86
  220. package/dist/chunks/{command-kw06wevc.js → repository-jvtd2tv8.js} +3 -3
  221. package/dist/chunks/{command-mk9nde4r.js → repository-jwf2mwjn.js} +13 -13
  222. package/dist/chunks/{command-44pmzq9c.js → repository-jxd6f16v.js} +2 -2
  223. package/dist/chunks/{command-j7hqze2t.js → repository-jy8sxj26.js} +10 -10
  224. package/dist/chunks/{command-88n83f38.js → repository-jz2mpads.js} +6 -6
  225. package/dist/chunks/{command-6g985hjc.js → repository-k9rwbxer.js} +17 -17
  226. package/dist/chunks/{command-9cbnrx2n.js → repository-kgmdm1mc.js} +6 -6
  227. package/dist/chunks/{command-jb4gpq25.js → repository-khn3h0zf.js} +6 -6
  228. package/dist/chunks/{command-4z0vtj0c.js → repository-kkq7zywd.js} +23 -23
  229. package/dist/chunks/{command-tg1vr1qt.js → repository-kmzgegqq.js} +8 -8
  230. package/dist/chunks/{command-atz1w742.js → repository-kn4zqwcq.js} +3 -3
  231. package/dist/chunks/{command-vz7cb8rc.js → repository-ksqm0fh2.js} +5 -5
  232. package/dist/chunks/{command-kt3bjfbg.js → repository-kt3bjfbg.js} +1 -1
  233. package/dist/chunks/{command-kzczzf4v.js → repository-kzczzf4v.js} +1 -1
  234. package/dist/chunks/{command-qk5sk9d1.js → repository-kzdam8c6.js} +7 -7
  235. package/dist/chunks/{command-m1714858.js → repository-m1714858.js} +1 -1
  236. package/dist/chunks/{command-shs0bj48.js → repository-m5mzeqng.js} +20 -20
  237. package/dist/chunks/{command-m90tx7mw.js → repository-m90tx7mw.js} +1 -1
  238. package/dist/chunks/{command-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  239. package/dist/chunks/{command-mb7mbhnz.js → repository-mb7mbhnz.js} +3 -3
  240. package/dist/chunks/{command-545mfvbm.js → repository-md0yj4wk.js} +30 -30
  241. package/dist/chunks/{command-7a2bwsmz.js → repository-mgcsgjq4.js} +4 -4
  242. package/dist/chunks/{command-gjqpkb49.js → repository-mjwhre59.js} +7 -7
  243. package/dist/chunks/{command-9fbvv04g.js → repository-mkvkcrcf.js} +42 -42
  244. package/dist/chunks/{command-mwnxvxbk.js → repository-mwnxvxbk.js} +1 -1
  245. package/dist/chunks/{command-z2kxm34f.js → repository-mxx8515c.js} +367 -367
  246. package/dist/chunks/{command-vkz3ha21.js → repository-mym403hh.js} +1 -1
  247. package/dist/chunks/{command-d5z7929f.js → repository-n2jwyyf2.js} +21 -21
  248. package/dist/chunks/{command-vdcc3vzr.js → repository-n99tbm1k.js} +21 -21
  249. package/dist/chunks/{command-c65w1jkd.js → repository-nde04cgd.js} +9 -9
  250. package/dist/chunks/{command-1mfn2wbd.js → repository-ndpn1932.js} +16 -16
  251. package/dist/chunks/{command-anetphez.js → repository-nen4dd64.js} +24 -24
  252. package/dist/chunks/{command-2z6qaazc.js → repository-nhp7k6g9.js} +35 -35
  253. package/dist/chunks/{command-x713kxbr.js → repository-nmqks962.js} +13 -13
  254. package/dist/chunks/{command-prnegb22.js → repository-nq82rmey.js} +11 -11
  255. package/dist/chunks/{command-kj9n5bvh.js → repository-nr915jn7.js} +4 -4
  256. package/dist/chunks/{command-angwvatz.js → repository-nwkfswnm.js} +11 -11
  257. package/dist/chunks/{command-e8fm7yqv.js → repository-nzazpc8g.js} +46 -46
  258. package/dist/chunks/{command-amjjh717.js → repository-p5jwrm42.js} +7 -7
  259. package/dist/chunks/{command-sch203vp.js → repository-pcqz0mdk.js} +6 -6
  260. package/dist/chunks/{command-pknna89w.js → repository-pknna89w.js} +1 -1
  261. package/dist/chunks/{command-5m3xrn1j.js → repository-pn1g3a6b.js} +9 -9
  262. package/dist/chunks/{command-6rwp9k3d.js → repository-pqk22v3f.js} +40 -40
  263. package/dist/chunks/{command-fg9p65nk.js → repository-prq7xxp2.js} +6 -6
  264. package/dist/chunks/{command-wqeff9d1.js → repository-q2z2msfx.js} +4 -4
  265. package/dist/chunks/{command-epap8xr2.js → repository-q5v60jsn.js} +49 -49
  266. package/dist/chunks/{command-c5vx1zac.js → repository-qa5v9vbm.js} +5 -5
  267. package/dist/chunks/{command-rcxa3fp6.js → repository-qa8wq1bx.js} +9 -9
  268. package/dist/chunks/{command-4yw3xa9p.js → repository-qgv3bwcw.js} +1 -1
  269. package/dist/chunks/{command-emq6awqh.js → repository-qkc3z5ds.js} +4 -4
  270. package/dist/chunks/{command-qp7r0hxv.js → repository-qp7r0hxv.js} +1 -1
  271. package/dist/chunks/{command-t1xbeg12.js → repository-qxb7dfc7.js} +87 -65
  272. package/dist/chunks/{command-akvkwv3r.js → repository-r279jrjw.js} +100 -100
  273. package/dist/chunks/{command-32kdnsac.js → repository-r6g0pp9s.js} +7 -7
  274. package/dist/chunks/{command-dfz60nj9.js → repository-ra5f49x0.js} +11 -11
  275. package/dist/chunks/{command-rb9dy4dg.js → repository-rb9dy4dg.js} +1 -1
  276. package/dist/chunks/{command-yrt2j6wb.js → repository-rdrzgfkv.js} +4 -4
  277. package/dist/chunks/{command-rgc9cx3e.js → repository-rgc9cx3e.js} +2 -2
  278. package/dist/chunks/{command-00vb7kby.js → repository-rgq5xsj8.js} +46 -46
  279. package/dist/chunks/{command-p7xq7ysq.js → repository-rjdsgaq2.js} +15 -15
  280. package/dist/chunks/{command-ee2b5eh8.js → repository-rkq6y9xm.js} +195 -195
  281. package/dist/chunks/{command-hyq0mm5d.js → repository-rpx37cdg.js} +20 -20
  282. package/dist/chunks/{command-nc5gqs0z.js → repository-rre0hjx2.js} +2 -2
  283. package/dist/chunks/{command-03vgrdy6.js → repository-rsbnpsp6.js} +4 -4
  284. package/dist/chunks/{command-2vqjzyt6.js → repository-rsp3mteq.js} +20 -20
  285. package/dist/chunks/{command-s0z62q3x.js → repository-rxmw0rhb.js} +11 -11
  286. package/dist/chunks/{command-2p60zmnr.js → repository-s1ba0vj0.js} +2 -2
  287. package/dist/chunks/{command-9zc2sd1y.js → repository-s6zk46kh.js} +26 -26
  288. package/dist/chunks/{command-x443n8rt.js → repository-sazfq51k.js} +3 -3
  289. package/dist/chunks/{command-sbya78hr.js → repository-sbya78hr.js} +1 -1
  290. package/dist/chunks/{command-9mg2j4gp.js → repository-sjdm6j9a.js} +15 -15
  291. package/dist/chunks/{command-n9tv4x9v.js → repository-srcf351v.js} +8 -8
  292. package/dist/chunks/{command-svcy3p9a.js → repository-svcy3p9a.js} +1 -1
  293. package/dist/chunks/{command-561wfhxt.js → repository-tagr13r7.js} +23 -23
  294. package/dist/chunks/{command-tb2mrvc9.js → repository-tb2mrvc9.js} +1 -1
  295. package/dist/chunks/{command-tbpn7jtk.js → repository-tbpn7jtk.js} +1 -1
  296. package/dist/chunks/{command-73gcsqdp.js → repository-tcxn00q3.js} +17 -17
  297. package/dist/chunks/{command-tczq8hjw.js → repository-tczq8hjw.js} +1 -1
  298. package/dist/chunks/{command-bf0m000r.js → repository-tg4p7551.js} +22 -22
  299. package/dist/chunks/{command-7wkcwtpg.js → repository-tvfb4cnx.js} +18 -18
  300. package/dist/chunks/{command-k9ev0kgm.js → repository-tvstap8v.js} +8 -8
  301. package/dist/chunks/{command-tvtps2q9.js → repository-tvtps2q9.js} +1 -1
  302. package/dist/chunks/{command-rxp2smpj.js → repository-twbzdyjv.js} +6 -6
  303. package/dist/chunks/{command-twssxy5n.js → repository-twssxy5n.js} +2 -2
  304. package/dist/chunks/{command-v2r1d0zg.js → repository-v2r1d0zg.js} +1 -1
  305. package/dist/chunks/{command-ez7z3q9e.js → repository-vc5wyrht.js} +35 -35
  306. package/dist/chunks/{command-vjf35v1f.js → repository-vjf35v1f.js} +1 -1
  307. package/dist/chunks/{command-2bjvbgsm.js → repository-vk792x7x.js} +24 -24
  308. package/dist/chunks/{command-bhfd478d.js → repository-vmxsyvj6.js} +4 -4
  309. package/dist/chunks/{command-g3k34n04.js → repository-vn5ba1v3.js} +12 -12
  310. package/dist/chunks/{command-pxszmvbt.js → repository-vszek5yb.js} +16 -16
  311. package/dist/chunks/{command-s6q3xz50.js → repository-vzyp2xnz.js} +2 -2
  312. package/dist/chunks/{command-55bcys5k.js → repository-w0drzbgw.js} +21 -21
  313. package/dist/chunks/{command-kxrn7gky.js → repository-w0nrctbj.js} +15 -15
  314. package/dist/chunks/{command-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  315. package/dist/chunks/{command-kmekj7m2.js → repository-w4xw9ac5.js} +4 -4
  316. package/dist/chunks/{command-w687dnns.js → repository-w687dnns.js} +1 -1
  317. package/dist/chunks/{command-j5c22pgh.js → repository-w6s4w6nr.js} +3 -3
  318. package/dist/chunks/{command-wakvkjy4.js → repository-wakvkjy4.js} +1 -1
  319. package/dist/chunks/{command-wd87259q.js → repository-wd87259q.js} +1 -1
  320. package/dist/chunks/{command-j63q17en.js → repository-wds6xyh6.js} +35 -35
  321. package/dist/chunks/{command-wegkxhrn.js → repository-wegkxhrn.js} +2 -2
  322. package/dist/chunks/{command-29xnk67d.js → repository-wm9tjz56.js} +24 -24
  323. package/dist/chunks/{command-wsqqgvdy.js → repository-wqqvsnnx.js} +7 -7
  324. package/dist/chunks/{command-3em2z4he.js → repository-wrr9v7mg.js} +5 -5
  325. package/dist/chunks/{command-491c9q92.js → repository-wtft8ef2.js} +4 -4
  326. package/dist/chunks/{command-j76kcwy4.js → repository-wvh4mmya.js} +33 -32
  327. package/dist/chunks/{command-0jgcgtm3.js → repository-wvvnzt41.js} +16 -16
  328. package/dist/chunks/{command-xxschbft.js → repository-xjr6c8m4.js} +4 -4
  329. package/dist/chunks/{command-5tf32vej.js → repository-xpjxmhsa.js} +5 -5
  330. package/dist/chunks/{command-5ej7n8k1.js → repository-xqesnw9t.js} +2 -2
  331. package/dist/chunks/{command-g6cytcga.js → repository-xvk67q7t.js} +14 -14
  332. package/dist/chunks/{command-w69q6psg.js → repository-y0rznfn7.js} +23 -23
  333. package/dist/chunks/{command-ybxm74q5.js → repository-y4gksshd.js} +59 -59
  334. package/dist/chunks/{command-45gvefkm.js → repository-y7a06hmq.js} +9 -9
  335. package/dist/chunks/{command-gam3p8fy.js → repository-y8nypnxs.js} +34 -34
  336. package/dist/chunks/{command-yb20nhc3.js → repository-yb20nhc3.js} +1 -1
  337. package/dist/chunks/{command-msd2a3qm.js → repository-ybws1qgk.js} +4 -4
  338. package/dist/chunks/{command-z2wzp662.js → repository-yhx5bx5z.js} +39 -39
  339. package/dist/chunks/{command-yr705xyq.js → repository-yr705xyq.js} +1 -1
  340. package/dist/chunks/{command-yvtc2x31.js → repository-yvtc2x31.js} +1 -1
  341. package/dist/chunks/{command-z0wbgq7s.js → repository-z0wbgq7s.js} +1 -1
  342. package/dist/chunks/{command-6w30sr0w.js → repository-z262y3bk.js} +19 -19
  343. package/dist/chunks/{command-3nxcgjv6.js → repository-z4w3231s.js} +35 -35
  344. package/dist/chunks/{command-wnqev3np.js → repository-z7r7vmcc.js} +17 -17
  345. package/dist/chunks/{command-j9nxzz3g.js → repository-ze75qvmd.js} +3 -3
  346. package/dist/chunks/{command-bs7vr8qa.js → repository-zph6xvvn.js} +50 -50
  347. package/dist/chunks/{command-6zxqzzmm.js → repository-zqjd7nbm.js} +6 -6
  348. package/dist/chunks/{command-1kresdfv.js → repository-zqjk3b05.js} +29 -29
  349. package/dist/chunks/{command-8xd8xvh0.js → repository-zqm9n0j1.js} +30 -30
  350. package/dist/chunks/{command-exkmrkyq.js → repository-zqnv9fqk.js} +39 -39
  351. package/dist/chunks/{command-jz1q4zsd.js → repository-zs3nra86.js} +30 -30
  352. package/dist/chunks/{command-mcabtfgp.js → repository-zy4b93eg.js} +3 -3
  353. package/dist/codemode/catalog.js +1 -1
  354. package/dist/codemode/execution.js +5 -5
  355. package/dist/codemode/fetch.js +150 -150
  356. package/dist/codemode/instructions.js +10 -10
  357. package/dist/codemode/tool.js +157 -157
  358. package/dist/command.js +96 -96
  359. package/dist/config/discovery.js +95 -95
  360. package/dist/config/integration.js +5 -5
  361. package/dist/config/managed.js +1 -1
  362. package/dist/config/markdown.js +1 -1
  363. package/dist/config/normalize.js +113 -113
  364. package/dist/config/plugin/agent.js +134 -134
  365. package/dist/config/plugin/command.js +249 -249
  366. package/dist/config/plugin/compaction.js +175 -175
  367. package/dist/config/plugin/compatibility.js +155 -155
  368. package/dist/config/plugin/entry-observer.js +1 -1
  369. package/dist/config/plugin/formatter.js +132 -132
  370. package/dist/config/plugin/image.js +131 -131
  371. package/dist/config/plugin/instruction.js +132 -132
  372. package/dist/config/plugin/location-watcher.js +133 -133
  373. package/dist/config/plugin/mcp.js +148 -148
  374. package/dist/config/plugin/policy.js +131 -131
  375. package/dist/config/plugin/provider.js +131 -131
  376. package/dist/config/plugin/reference.js +133 -133
  377. package/dist/config/plugin/shell.js +131 -131
  378. package/dist/config/plugin/skill-file.js +151 -151
  379. package/dist/config/plugin/skill-scan.js +1 -1
  380. package/dist/config/plugin/skill.js +156 -156
  381. package/dist/config/plugin/snapshot.js +131 -131
  382. package/dist/config/plugin/source.js +135 -135
  383. package/dist/config/plugin/tool-output.js +132 -132
  384. package/dist/config/plugin/websearch.js +132 -132
  385. package/dist/config/plugin/worktree.js +133 -133
  386. package/dist/config/variable.js +1 -1
  387. package/dist/config/watch.js +1 -1
  388. package/dist/config.js +136 -136
  389. package/dist/console-access.js +1 -1
  390. package/dist/credential/sql.js +2 -2
  391. package/dist/credential.js +94 -94
  392. package/dist/database/batch.js +1 -1
  393. package/dist/database/database.js +77 -77
  394. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  395. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  396. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  397. package/dist/database/drizzle/index.js +13 -13
  398. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  399. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  400. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  401. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  402. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  403. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  404. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  405. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  406. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  407. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  408. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  409. package/dist/database/drizzle.js +14 -14
  410. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  411. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  412. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  413. package/dist/database/migration/20260225215848_workspace.js +1 -1
  414. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  415. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  416. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  417. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  418. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  419. package/dist/database/migration/20260323234822_events.js +1 -1
  420. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  421. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  422. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  423. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  424. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  425. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  426. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  427. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  428. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  429. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  430. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  431. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  432. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  433. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  434. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  435. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  436. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  437. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  438. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  439. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  440. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  441. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  442. package/dist/database/migration/20260611035744_credential.js +1 -1
  443. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  444. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  445. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  446. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  447. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  448. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  449. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  450. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  451. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  452. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  453. package/dist/database/migration/20260812213948_worktree.js +1 -1
  454. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  455. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  456. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  457. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  458. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  459. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  460. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  461. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  462. package/dist/database/migration/20261025123711_blob.js +1 -1
  463. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  464. package/dist/database/migration/20261026223005_schedule.js +1 -1
  465. package/dist/database/migration/20261029002625_session_part.js +1 -1
  466. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  467. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  468. package/dist/database/migration/20261030054400_job.js +1 -1
  469. package/dist/database/migration.gen.js +60 -60
  470. package/dist/database/migration.js +76 -76
  471. package/dist/database/path.js +2 -2
  472. package/dist/database/schema.gen.js +1 -1
  473. package/dist/database/schema.sql.js +1 -1
  474. package/dist/database/v1-migration.bun.js +105 -105
  475. package/dist/effect/app-node-builder.js +450 -450
  476. package/dist/effect/app-node-platform.js +2 -2
  477. package/dist/effect/client-tls/client-tls.bun.js +1 -1
  478. package/dist/effect/client-tls/client-tls.node.js +1 -1
  479. package/dist/effect/client-tls/client-tls.workerd.js +1 -1
  480. package/dist/effect/keyed-mutex.js +3 -3
  481. package/dist/effect/websocket-constructor.js +1 -1
  482. package/dist/environment/driver.js +1 -1
  483. package/dist/environment/environment.js +101 -101
  484. package/dist/environment/exec-defaults.js +2 -2
  485. package/dist/environment/files.js +1 -1
  486. package/dist/environment/index.js +105 -105
  487. package/dist/environment/local.js +2 -2
  488. package/dist/environment/memory.js +2 -2
  489. package/dist/environment/unavailable.js +1 -1
  490. package/dist/event/sql.js +1 -1
  491. package/dist/event-logger.js +85 -85
  492. package/dist/file-access.js +162 -162
  493. package/dist/file-mutation.js +108 -108
  494. package/dist/file-retention.js +1 -1
  495. package/dist/file-write.js +166 -166
  496. package/dist/filesystem/fff.bun.js +2 -2
  497. package/dist/filesystem/fff.js +1 -1
  498. package/dist/filesystem/fff.node.js +2 -2
  499. package/dist/filesystem/fff.workerd.js +2 -2
  500. package/dist/filesystem/file-watch.js +91 -91
  501. package/dist/filesystem/location-watcher-policy.js +6 -6
  502. package/dist/filesystem/location-watcher.js +260 -260
  503. package/dist/filesystem/protected.js +1 -1
  504. package/dist/filesystem/search.js +113 -113
  505. package/dist/filesystem/watcher-binding.js +1 -1
  506. package/dist/filesystem/watcher.js +11 -11
  507. package/dist/filesystem.js +116 -116
  508. package/dist/flag.js +136 -136
  509. package/dist/form.js +93 -93
  510. package/dist/formatter/builtins.js +4 -4
  511. package/dist/formatter.js +96 -96
  512. package/dist/generate.js +117 -117
  513. package/dist/git.js +11 -11
  514. package/dist/github-copilot/models.js +113 -113
  515. package/dist/image/notice.js +1 -1
  516. package/dist/image/photon-normalize.js +1 -1
  517. package/dist/image/photon-worker.js +1 -1
  518. package/dist/image/photon.js +4 -4
  519. package/dist/image.js +6 -6
  520. package/dist/instance/service.js +5 -5
  521. package/dist/instance.js +441 -441
  522. package/dist/instruction-discovery.js +98 -98
  523. package/dist/instructions/builtins.js +101 -101
  524. package/dist/instructions/index.js +6 -6
  525. package/dist/integration/connection.js +3 -3
  526. package/dist/integration.js +102 -102
  527. package/dist/job/list.js +7 -7
  528. package/dist/job/recovery.js +2 -2
  529. package/dist/job/sql.js +2 -2
  530. package/dist/job.js +90 -90
  531. package/dist/kv/sql.js +2 -2
  532. package/dist/kv.js +84 -84
  533. package/dist/location-activity.js +190 -190
  534. package/dist/location-lifecycle.js +155 -155
  535. package/dist/location-service-map.js +99 -99
  536. package/dist/location-services.js +438 -438
  537. package/dist/location.js +102 -102
  538. package/dist/managed-policy.js +3 -3
  539. package/dist/mcp/client.js +161 -161
  540. package/dist/mcp/connection.js +106 -106
  541. package/dist/mcp/event-errors.js +1 -1
  542. package/dist/mcp/index.js +155 -155
  543. package/dist/mcp/instructions.js +192 -192
  544. package/dist/mcp/oauth.js +90 -90
  545. package/dist/mcp/pool.js +112 -112
  546. package/dist/mcp/socket-client.js +1 -1
  547. package/dist/mcp/stdio.js +161 -161
  548. package/dist/mime.js +1 -1
  549. package/dist/modal/models.js +113 -113
  550. package/dist/model-resolver.js +113 -113
  551. package/dist/model-retry.js +1 -1
  552. package/dist/model.js +114 -114
  553. package/dist/models-dev/v1.js +1 -1
  554. package/dist/models-dev.js +122 -122
  555. package/dist/oauth/page.js +1 -1
  556. package/dist/oauth/redirect.js +1 -1
  557. package/dist/permission/saved.js +93 -93
  558. package/dist/permission/sql.js +5 -5
  559. package/dist/permission.js +160 -160
  560. package/dist/persistent-pty/binary.bun.js +1 -1
  561. package/dist/persistent-pty/daemon.js +1 -1
  562. package/dist/persistent-pty/index.js +95 -95
  563. package/dist/persistent-pty/pty-binding.js +1 -1
  564. package/dist/persistent-pty.js +86 -86
  565. package/dist/plugin/agent.js +87 -87
  566. package/dist/plugin/command.js +148 -148
  567. package/dist/plugin/fork-notice.js +3 -3
  568. package/dist/plugin/goal.js +3 -3
  569. package/dist/plugin/hooks.js +5 -5
  570. package/dist/plugin/host.js +251 -251
  571. package/dist/plugin/identity.js +5 -5
  572. package/dist/plugin/instance.js +5 -5
  573. package/dist/plugin/internal.js +418 -418
  574. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  575. package/dist/plugin/models-dev.js +111 -111
  576. package/dist/plugin/module.js +128 -128
  577. package/dist/plugin/optimize.js +2 -2
  578. package/dist/plugin/plan.js +151 -151
  579. package/dist/plugin/promise.js +1 -1
  580. package/dist/plugin/provider/amazon-bedrock.js +107 -107
  581. package/dist/plugin/provider/azure.js +134 -134
  582. package/dist/plugin/provider/cerebras.js +1 -1
  583. package/dist/plugin/provider/chatgpt.js +135 -135
  584. package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
  585. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  586. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  587. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  588. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  589. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  590. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  591. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  592. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  593. package/dist/plugin/provider/claude-agent/index.js +149 -149
  594. package/dist/plugin/provider/claude-agent/instructions.js +113 -113
  595. package/dist/plugin/provider/claude-agent/integration.js +116 -116
  596. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  597. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  598. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  599. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  600. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  601. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  602. package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
  603. package/dist/plugin/provider/claude-agent/provider.js +111 -111
  604. package/dist/plugin/provider/claude-agent/session.js +113 -113
  605. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  606. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  607. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  608. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  609. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  610. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  611. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  612. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  613. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  614. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  615. package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
  616. package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
  617. package/dist/plugin/provider/configured.js +127 -127
  618. package/dist/plugin/provider/credential-settings.js +88 -88
  619. package/dist/plugin/provider/databricks.js +1 -1
  620. package/dist/plugin/provider/digitalocean.js +110 -110
  621. package/dist/plugin/provider/dynamic.js +2 -2
  622. package/dist/plugin/provider/github-copilot.js +112 -112
  623. package/dist/plugin/provider/gitlab.js +111 -111
  624. package/dist/plugin/provider/google-vertex.js +128 -128
  625. package/dist/plugin/provider/kilo.js +1 -1
  626. package/dist/plugin/provider/llmgateway.js +89 -89
  627. package/dist/plugin/provider/lmstudio.js +144 -144
  628. package/dist/plugin/provider/local.js +141 -141
  629. package/dist/plugin/provider/modal.js +109 -109
  630. package/dist/plugin/provider/neon.js +1 -1
  631. package/dist/plugin/provider/nvidia.js +1 -1
  632. package/dist/plugin/provider/ollama.js +144 -144
  633. package/dist/plugin/provider/openai-context-caps.js +107 -107
  634. package/dist/plugin/provider/openai.js +135 -135
  635. package/dist/plugin/provider/opencode-watches.js +4 -4
  636. package/dist/plugin/provider/opencode.js +163 -163
  637. package/dist/plugin/provider/openrouter.js +105 -105
  638. package/dist/plugin/provider/poe.js +91 -91
  639. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  640. package/dist/plugin/provider/refresh.js +87 -87
  641. package/dist/plugin/provider/sap-ai-core.js +105 -105
  642. package/dist/plugin/provider/sdk-factory.js +1 -1
  643. package/dist/plugin/provider/snowflake-cortex.js +133 -133
  644. package/dist/plugin/provider/vllm.js +144 -144
  645. package/dist/plugin/provider/xai.js +105 -105
  646. package/dist/plugin/provider/zenmux.js +1 -1
  647. package/dist/plugin/provider.js +242 -242
  648. package/dist/plugin/sdk.js +89 -89
  649. package/dist/plugin/service.js +3 -3
  650. package/dist/plugin/skill.js +154 -154
  651. package/dist/plugin/source-directory.js +1 -1
  652. package/dist/plugin/supervisor.js +428 -428
  653. package/dist/plugin/tool-input-repair.js +4 -4
  654. package/dist/plugin/update.js +6 -6
  655. package/dist/plugin/vcs/git.js +99 -99
  656. package/dist/plugin/vcs/hg.js +99 -99
  657. package/dist/plugin/verbosity.js +107 -107
  658. package/dist/plugin/warming.js +131 -131
  659. package/dist/plugin/websearch/exa.js +8 -8
  660. package/dist/plugin/websearch/firecrawl.js +9 -9
  661. package/dist/plugin/websearch/index.js +10 -10
  662. package/dist/plugin/websearch/mcp.js +6 -6
  663. package/dist/plugin/websearch/parallel.js +9 -9
  664. package/dist/plugin/websearch/provider.js +3 -3
  665. package/dist/plugin/websearch/tavily.js +7 -7
  666. package/dist/plugin/websearch/tinyfish.js +7 -7
  667. package/dist/plugin.js +262 -262
  668. package/dist/project/icon.js +5 -5
  669. package/dist/project/schema.js +8 -8
  670. package/dist/project/sql.js +4 -4
  671. package/dist/project.js +103 -103
  672. package/dist/provider.js +105 -105
  673. package/dist/pty/protocol.js +1 -1
  674. package/dist/pty/ticket.js +1 -1
  675. package/dist/pty.js +113 -113
  676. package/dist/reference/instructions.js +102 -102
  677. package/dist/reference.js +103 -103
  678. package/dist/repository-cache.js +93 -93
  679. package/dist/repository.js +1 -1
  680. package/dist/ripgrep/binary.js +2 -2
  681. package/dist/ripgrep.js +111 -111
  682. package/dist/rpc.js +99 -99
  683. package/dist/schedule/check.js +256 -256
  684. package/dist/schedule/sql.js +6 -6
  685. package/dist/schedule.js +270 -270
  686. package/dist/schema.js +1 -1
  687. package/dist/session/affinity.js +1 -1
  688. package/dist/session/background.js +3 -3
  689. package/dist/session/blob.js +135 -135
  690. package/dist/session/command.js +85 -85
  691. package/dist/session/compaction.js +177 -177
  692. package/dist/session/context.js +208 -208
  693. package/dist/session/diff.js +101 -101
  694. package/dist/session/environment.js +5 -5
  695. package/dist/session/error.js +5 -5
  696. package/dist/session/event.js +1 -1
  697. package/dist/session/execution/restart.js +273 -273
  698. package/dist/session/execution/subagent-report.js +147 -147
  699. package/dist/session/execution.js +174 -174
  700. package/dist/session/generate.js +208 -208
  701. package/dist/session/history.js +141 -141
  702. package/dist/session/inbox.js +154 -154
  703. package/dist/session/info.js +3 -3
  704. package/dist/session/instruction-entry.js +91 -91
  705. package/dist/session/instruction-state.js +9 -9
  706. package/dist/session/instructions.js +142 -142
  707. package/dist/session/message-updater.js +2 -2
  708. package/dist/session/message.js +1 -1
  709. package/dist/session/model-request.js +173 -173
  710. package/dist/session/model-transport.js +9 -9
  711. package/dist/session/move.js +176 -176
  712. package/dist/session/projector.js +148 -148
  713. package/dist/session/prompt.js +153 -153
  714. package/dist/session/recent-text.js +1 -1
  715. package/dist/session/revert.js +144 -144
  716. package/dist/session/run-coordinator.js +1 -1
  717. package/dist/session/runner/index.js +3 -3
  718. package/dist/session/runner/llm.js +261 -261
  719. package/dist/session/runner/max-steps.js +1 -1
  720. package/dist/session/runner/model.js +115 -115
  721. package/dist/session/runner/publish-llm-event.js +155 -155
  722. package/dist/session/runner/retry.js +5 -5
  723. package/dist/session/runner/step.js +168 -168
  724. package/dist/session/runner/to-llm-message.js +142 -142
  725. package/dist/session/schema.js +5 -5
  726. package/dist/session/session.js +196 -196
  727. package/dist/session/shell.js +149 -149
  728. package/dist/session/skill.js +152 -152
  729. package/dist/session/sql.js +5 -5
  730. package/dist/session/stats.js +85 -85
  731. package/dist/session/store.js +147 -147
  732. package/dist/session/stored.js +4 -4
  733. package/dist/session/subagent-completion.js +1 -1
  734. package/dist/session/subagent-job.js +173 -173
  735. package/dist/session/system-prompt.js +5 -5
  736. package/dist/session/title.js +212 -212
  737. package/dist/session/to-session-error.js +154 -154
  738. package/dist/session/transfer.js +260 -260
  739. package/dist/session/usage.js +1 -1
  740. package/dist/session.js +253 -253
  741. package/dist/shared-cache.js +5 -5
  742. package/dist/shell/parse.js +6 -6
  743. package/dist/shell/result.js +1 -1
  744. package/dist/shell/scan.js +1 -1
  745. package/dist/shell/select.js +15 -15
  746. package/dist/shell.js +149 -149
  747. package/dist/skill/discovery.js +6 -6
  748. package/dist/skill/instructions.js +156 -156
  749. package/dist/skill.js +157 -157
  750. package/dist/snapshot.js +102 -102
  751. package/dist/state.js +1 -1
  752. package/dist/tool/html-markdown.js +1 -1
  753. package/dist/tool/http-body.js +1 -1
  754. package/dist/tool/mcp.js +189 -189
  755. package/dist/tool/plugin/artifact.js +246 -246
  756. package/dist/tool/plugin/edit.js +172 -172
  757. package/dist/tool/plugin/file-diff.js +1 -1
  758. package/dist/tool/plugin/glob.js +174 -174
  759. package/dist/tool/plugin/grep.js +175 -175
  760. package/dist/tool/plugin/image-generate.js +257 -257
  761. package/dist/tool/plugin/mcp-events.js +168 -168
  762. package/dist/tool/plugin/mcp-resource.js +172 -172
  763. package/dist/tool/plugin/opencode.js +168 -168
  764. package/dist/tool/plugin/patch.js +171 -171
  765. package/dist/tool/plugin/question.js +149 -149
  766. package/dist/tool/plugin/read.js +177 -177
  767. package/dist/tool/plugin/schedule.js +262 -262
  768. package/dist/tool/plugin/shell.js +245 -245
  769. package/dist/tool/plugin/skill.js +162 -162
  770. package/dist/tool/plugin/subagent.js +253 -253
  771. package/dist/tool/plugin/todo.js +158 -158
  772. package/dist/tool/plugin/webfetch.js +162 -162
  773. package/dist/tool/plugin/websearch.js +160 -160
  774. package/dist/tool/plugin/write.js +171 -171
  775. package/dist/tool/read-filesystem.js +116 -116
  776. package/dist/tool/runtime.js +1 -1
  777. package/dist/tool/search.js +109 -109
  778. package/dist/tool-output.js +7 -7
  779. package/dist/tool.js +165 -165
  780. package/dist/usage-limits.js +100 -100
  781. package/dist/util/canonical-json.js +1 -1
  782. package/dist/util/error-summary.js +1 -1
  783. package/dist/util/git-executable.js +3 -3
  784. package/dist/util/lazy.js +1 -1
  785. package/dist/util/slug.js +1 -1
  786. package/dist/util/token.js +1 -1
  787. package/dist/util/which.js +1 -1
  788. package/dist/util/wildcard.js +1 -1
  789. package/dist/v1/config/agent.js +5 -5
  790. package/dist/v1/config/command.js +5 -5
  791. package/dist/v1/config/mcp.js +4 -4
  792. package/dist/v1/config/migrate.js +106 -106
  793. package/dist/v1/config/permission.js +3 -3
  794. package/dist/v1/config/plugin.js +3 -3
  795. package/dist/v1/config/provider-options.js +1 -1
  796. package/dist/v1/config/provider.js +2 -2
  797. package/dist/variant.js +105 -105
  798. package/dist/vcs/patch.js +1 -1
  799. package/dist/vcs.js +102 -102
  800. package/dist/voice.js +99 -99
  801. package/dist/websearch.js +93 -93
  802. package/dist/wellknown/plugin.js +87 -87
  803. package/dist/wellknown.js +92 -92
  804. package/dist/workspace/driver.js +3 -3
  805. package/dist/workspace/sql.js +1 -1
  806. package/dist/workspace.js +89 -89
  807. package/dist/worktree/directory.js +2 -2
  808. package/dist/worktree/git.js +11 -11
  809. package/dist/worktree/sql.js +5 -5
  810. package/dist/worktree/strategies.js +102 -102
  811. package/dist/worktree.js +111 -111
  812. package/package.json +8 -8
  813. package/dist/chunks/command-4spk3jf8.js +0 -273
  814. package/dist/chunks/command-69588b63.js +0 -35
  815. package/dist/chunks/command-ezna1kdx.js +0 -18
  816. package/dist/chunks/command-f2dgq8fn.js +0 -26
  817. package/dist/chunks/command-xtyr0vxr.js +0 -16
  818. /package/dist/chunks/{command-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  819. /package/dist/chunks/{command-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  820. /package/dist/chunks/{command-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  821. /package/dist/chunks/{command-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  822. /package/dist/chunks/{command-1kah00gy.js → repository-1kah00gy.js} +0 -0
  823. /package/dist/chunks/{command-24dcb14g.js → repository-24dcb14g.js} +0 -0
  824. /package/dist/chunks/{command-2710q6r3.js → repository-2710q6r3.js} +0 -0
  825. /package/dist/chunks/{command-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  826. /package/dist/chunks/{command-359p4xyc.js → repository-359p4xyc.js} +0 -0
  827. /package/dist/chunks/{command-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  828. /package/dist/chunks/{command-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  829. /package/dist/chunks/{command-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  830. /package/dist/chunks/{command-4qk9sjk2.js → repository-4qk9sjk2.js} +0 -0
  831. /package/dist/chunks/{command-53557ph1.js → repository-53557ph1.js} +0 -0
  832. /package/dist/chunks/{command-5w3e23ze.js → repository-5w3e23ze.js} +0 -0
  833. /package/dist/chunks/{command-6agm2x70.js → repository-6agm2x70.js} +0 -0
  834. /package/dist/chunks/{command-6prwharc.js → repository-6prwharc.js} +0 -0
  835. /package/dist/chunks/{command-6q2bdcd1.js → repository-6q2bdcd1.js} +0 -0
  836. /package/dist/chunks/{command-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  837. /package/dist/chunks/{command-7m9af43g.js → repository-7m9af43g.js} +0 -0
  838. /package/dist/chunks/{command-7rvsyqjv.js → repository-7rvsyqjv.js} +0 -0
  839. /package/dist/chunks/{command-822emrt2.js → repository-822emrt2.js} +0 -0
  840. /package/dist/chunks/{command-84wd9syh.js → repository-84wd9syh.js} +0 -0
  841. /package/dist/chunks/{command-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  842. /package/dist/chunks/{command-8n3pysct.js → repository-8n3pysct.js} +0 -0
  843. /package/dist/chunks/{command-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
  844. /package/dist/chunks/{command-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  845. /package/dist/chunks/{command-9ceax7yg.js → repository-9ceax7yg.js} +0 -0
  846. /package/dist/chunks/{command-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  847. /package/dist/chunks/{command-ade8csyh.js → repository-ade8csyh.js} +0 -0
  848. /package/dist/chunks/{command-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  849. /package/dist/chunks/{command-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  850. /package/dist/chunks/{command-beh6qq61.js → repository-beh6qq61.js} +0 -0
  851. /package/dist/chunks/{command-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  852. /package/dist/chunks/{command-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  853. /package/dist/chunks/{command-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  854. /package/dist/chunks/{command-cqv5kn06.js → repository-cqv5kn06.js} +0 -0
  855. /package/dist/chunks/{command-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  856. /package/dist/chunks/{command-d9fn303g.js → repository-d9fn303g.js} +0 -0
  857. /package/dist/chunks/{command-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  858. /package/dist/chunks/{command-df08tz66.js → repository-df08tz66.js} +0 -0
  859. /package/dist/chunks/{command-dy18nga0.js → repository-dy18nga0.js} +0 -0
  860. /package/dist/chunks/{command-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  861. /package/dist/chunks/{command-ean2d8b5.js → repository-ean2d8b5.js} +0 -0
  862. /package/dist/chunks/{command-ec1grn59.js → repository-ec1grn59.js} +0 -0
  863. /package/dist/chunks/{command-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  864. /package/dist/chunks/{command-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  865. /package/dist/chunks/{command-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  866. /package/dist/chunks/{command-faypxj3z.js → repository-faypxj3z.js} +0 -0
  867. /package/dist/chunks/{command-fd410y7t.js → repository-fd410y7t.js} +0 -0
  868. /package/dist/chunks/{command-fkpq3x5p.js → repository-fkpq3x5p.js} +0 -0
  869. /package/dist/chunks/{command-g86h250q.js → repository-g86h250q.js} +0 -0
  870. /package/dist/chunks/{command-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  871. /package/dist/chunks/{command-gftt206x.js → repository-gftt206x.js} +0 -0
  872. /package/dist/chunks/{command-hcxmzztb.js → repository-hcxmzztb.js} +0 -0
  873. /package/dist/chunks/{command-hk9envan.js → repository-hk9envan.js} +0 -0
  874. /package/dist/chunks/{command-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  875. /package/dist/chunks/{command-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
  876. /package/dist/chunks/{command-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  877. /package/dist/chunks/{command-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  878. /package/dist/chunks/{command-jwr30sdr.js → repository-jwr30sdr.js} +0 -0
  879. /package/dist/chunks/{command-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  880. /package/dist/chunks/{command-m18g726c.js → repository-m18g726c.js} +0 -0
  881. /package/dist/chunks/{command-mp448xyj.js → repository-mp448xyj.js} +0 -0
  882. /package/dist/chunks/{command-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  883. /package/dist/chunks/{command-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  884. /package/dist/chunks/{command-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  885. /package/dist/chunks/{command-nh4v3znn.js → repository-nh4v3znn.js} +0 -0
  886. /package/dist/chunks/{command-njntx4h6.js → repository-njntx4h6.js} +0 -0
  887. /package/dist/chunks/{command-p71gwv9c.js → repository-p71gwv9c.js} +0 -0
  888. /package/dist/chunks/{command-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  889. /package/dist/chunks/{command-q74kybfr.js → repository-q74kybfr.js} +0 -0
  890. /package/dist/chunks/{command-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  891. /package/dist/chunks/{command-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  892. /package/dist/chunks/{command-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
  893. /package/dist/chunks/{command-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  894. /package/dist/chunks/{command-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  895. /package/dist/chunks/{command-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  896. /package/dist/chunks/{command-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  897. /package/dist/chunks/{command-syrav9an.js → repository-syrav9an.js} +0 -0
  898. /package/dist/chunks/{command-t03h4f5z.js → repository-t03h4f5z.js} +0 -0
  899. /package/dist/chunks/{command-ty7weeps.js → repository-ty7weeps.js} +0 -0
  900. /package/dist/chunks/{command-v2dnd5dt.js → repository-v2dnd5dt.js} +0 -0
  901. /package/dist/chunks/{command-ve7vex1e.js → repository-ve7vex1e.js} +0 -0
  902. /package/dist/chunks/{command-vtarvj67.js → repository-vtarvj67.js} +0 -0
  903. /package/dist/chunks/{command-w803qqfp.js → repository-w803qqfp.js} +0 -0
  904. /package/dist/chunks/{command-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
  905. /package/dist/chunks/{command-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  906. /package/dist/chunks/{command-wtztk69x.js → repository-wtztk69x.js} +0 -0
  907. /package/dist/chunks/{command-x4th4bpe.js → repository-x4th4bpe.js} +0 -0
  908. /package/dist/chunks/{command-y44na4kk.js → repository-y44na4kk.js} +0 -0
  909. /package/dist/chunks/{command-y8f7s663.js → repository-y8f7s663.js} +0 -0
  910. /package/dist/chunks/{command-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  911. /package/dist/chunks/{command-z5v4ffb3.js → repository-z5v4ffb3.js} +0 -0
  912. /package/dist/chunks/{command-z9919s4g.js → repository-z9919s4g.js} +0 -0
  913. /package/dist/chunks/{command-zxpyjp51.js → repository-zxpyjp51.js} +0 -0
  914. /package/dist/chunks/{command-zz5vv3aq.js → repository-zz5vv3aq.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
- Service93,
3
- node95
4
- } from "./command-q99548g1.js";
2
+ Service92,
3
+ node94
4
+ } from "./repository-a6qcwttn.js";
5
5
  import {
6
- Service29,
7
- node33
8
- } from "./command-vw17p9nj.js";
6
+ Service34,
7
+ node38
8
+ } from "./repository-0kphx6m0.js";
9
9
  import {
10
10
  isTextual2
11
- } from "./command-mwnxvxbk.js";
11
+ } from "./repository-mwnxvxbk.js";
12
12
  import {
13
13
  invocation2,
14
14
  CorrectedError2,
15
15
  BlockedError2,
16
- Service61,
17
- node62
18
- } from "./command-epap8xr2.js";
16
+ Service64,
17
+ node65
18
+ } from "./repository-q5v60jsn.js";
19
19
  import {
20
20
  normalizedName2,
21
21
  effectiveName2
22
- } from "./command-7rvsyqjv.js";
23
- import {
24
- Service51,
25
- node53
26
- } from "./command-6nw0se4n.js";
22
+ } from "./repository-7rvsyqjv.js";
27
23
  import {
28
24
  Service49,
29
- node51
30
- } from "./command-s0z62q3x.js";
25
+ node52
26
+ } from "./repository-2sm5ch0r.js";
27
+ import {
28
+ Service53,
29
+ node55
30
+ } from "./repository-rxmw0rhb.js";
31
31
  import {
32
32
  MEDIA_MIMES2
33
- } from "./command-99x81fn2.js";
33
+ } from "./repository-9jmkx442.js";
34
34
  import {
35
35
  __export
36
- } from "./command-9rqn6x4v.js";
36
+ } from "./repository-9rqn6x4v.js";
37
37
 
38
38
  // src/tool/mcp.ts
39
39
  var exports_mcp3 = {};
40
40
  __export(exports_mcp3, {
41
41
  McpTool: () => exports_mcp3,
42
- Service: () => Service26,
43
- layer: () => layer13,
42
+ Service: () => Service33,
43
+ layer: () => layer14,
44
44
  name: () => name15,
45
45
  namespace: () => namespace2,
46
- node: () => node30
46
+ node: () => node37
47
47
  });
48
48
  import { ToolFailure } from "@opencode/ai/effect";
49
49
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -54,14 +54,14 @@ var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown
54
54
  var namespace2 = (server) => normalizedName2({ name: server });
55
55
  var name15 = (server, tool) => effectiveName2({ name: tool, options: { namespace: namespace2(server) } });
56
56
 
57
- class Service26 extends Context.Service()("@opencode/McpTool") {
57
+ class Service33 extends Context.Service()("@opencode/McpTool") {
58
58
  }
59
- var layer13 = Layer.effect(Service26, Effect.gen(function* () {
60
- const mcp = yield* Service29;
61
- const tools = yield* Service51;
62
- const bus = yield* Service93;
63
- const permission = yield* Service61;
64
- const toolOutput = yield* Service49;
59
+ var layer14 = Layer.effect(Service33, Effect.gen(function* () {
60
+ const mcp = yield* Service34;
61
+ const tools = yield* Service49;
62
+ const bus = yield* Service92;
63
+ const permission = yield* Service64;
64
+ const toolOutput = yield* Service53;
65
65
  const lock = Semaphore.makeUnsafe(1);
66
66
  let discovered = [];
67
67
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -133,7 +133,7 @@ var layer13 = Layer.effect(Service26, Effect.gen(function* () {
133
133
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
134
134
  const updates = yield* PubSub.subscribe(changes);
135
135
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
136
- return Service26.of({
136
+ return Service33.of({
137
137
  flush: Effect.gen(function* () {
138
138
  yield* Fiber.await(initial);
139
139
  yield* mcp.awaitStartup();
@@ -161,10 +161,10 @@ ${bytes.toString("utf8")}` };
161
161
  text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
162
162
  };
163
163
  });
164
- var node30 = makeLocationNode({
165
- service: Service26,
166
- layer: layer13,
167
- deps: [node53, node33, node95, node62, node51]
164
+ var node37 = makeLocationNode({
165
+ service: Service33,
166
+ layer: layer14,
167
+ deps: [node52, node38, node94, node65, node55]
168
168
  });
169
169
 
170
- export { namespace2, name15, Service26, layer13, node30, exports_mcp3 };
170
+ export { namespace2, name15, Service33, layer14, node37, exports_mcp3 };
@@ -1,61 +1,61 @@
1
1
  import {
2
2
  Service94,
3
3
  node96
4
- } from "./command-9ahpzkmc.js";
4
+ } from "./repository-8rn80sq6.js";
5
+ import {
6
+ Service92,
7
+ node94
8
+ } from "./repository-a6qcwttn.js";
5
9
  import {
6
10
  Service93,
7
11
  node95
8
- } from "./command-q99548g1.js";
9
- import {
10
- Service59,
11
- node60
12
- } from "./command-73gcsqdp.js";
12
+ } from "./repository-tcxn00q3.js";
13
13
  import {
14
- Service39,
15
- node41
16
- } from "./command-9cbnrx2n.js";
14
+ Service57,
15
+ node58
16
+ } from "./repository-kgmdm1mc.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./command-ec1grn59.js";
19
+ } from "./repository-ec1grn59.js";
20
20
  import {
21
- Service38,
22
- node40,
21
+ Service56,
22
+ node57,
23
23
  nextPromotable2
24
- } from "./command-3scav9bn.js";
24
+ } from "./repository-dwsh12fh.js";
25
25
  import {
26
- make27
27
- } from "./command-k9ev0kgm.js";
26
+ make28
27
+ } from "./repository-tvstap8v.js";
28
28
  import {
29
29
  make29
30
- } from "./command-2prt43t7.js";
30
+ } from "./repository-2prt43t7.js";
31
31
  import {
32
32
  DrainResult2,
33
- Service37
34
- } from "./command-emq6awqh.js";
33
+ Service55
34
+ } from "./repository-qkc3z5ds.js";
35
35
  import {
36
- Service62,
37
- node63
38
- } from "./command-4gatbntd.js";
36
+ Service66,
37
+ node67
38
+ } from "./repository-8tjj9rtv.js";
39
39
  import {
40
40
  toSessionError2
41
- } from "./command-wdn6va0d.js";
41
+ } from "./repository-fx32ndrh.js";
42
42
  import {
43
43
  __export
44
- } from "./command-9rqn6x4v.js";
44
+ } from "./repository-9rqn6x4v.js";
45
45
 
46
46
  // src/session/execution.ts
47
- var exports_execution = {};
48
- __export(exports_execution, {
49
- Service: () => Service36,
50
- SessionExecution: () => exports_execution,
51
- layer: () => layer18,
52
- node: () => node39,
47
+ var exports_execution2 = {};
48
+ __export(exports_execution2, {
49
+ Service: () => Service54,
50
+ SessionExecution: () => exports_execution2,
51
+ layer: () => layer20,
52
+ node: () => node56,
53
53
  noopLayer: () => noopLayer2,
54
54
  terminal: () => terminal2
55
55
  });
56
56
  import { Cause, Context, Effect, Exit, Layer } from "effect";
57
57
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
58
- class Service36 extends Context.Service()("@opencode/SessionExecution") {
58
+ class Service54 extends Context.Service()("@opencode/SessionExecution") {
59
59
  }
60
60
  function terminal2(exit, reason) {
61
61
  if (Exit.isSuccess(exit))
@@ -64,19 +64,19 @@ function terminal2(exit, reason) {
64
64
  return { type: "interrupted", reason: reason ?? "shutdown" };
65
65
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
66
66
  }
67
- var layer18 = Layer.effect(Service36, Effect.gen(function* () {
68
- const store = yield* Service62;
69
- const instances = yield* Service39;
70
- const bus = yield* Service93;
71
- const jobs = yield* Service59;
72
- const inbox = yield* Service38;
67
+ var layer20 = Layer.effect(Service54, Effect.gen(function* () {
68
+ const store = yield* Service66;
69
+ const instances = yield* Service57;
70
+ const bus = yield* Service92;
71
+ const jobs = yield* Service93;
72
+ const inbox = yield* Service56;
73
73
  const db = (yield* Service94).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
76
76
  commit: () => store.claim(sessionID)
77
77
  });
78
78
  const holder = {};
79
- const subagentReport = make27({
79
+ const subagentReport = make28({
80
80
  store,
81
81
  jobs,
82
82
  inbox,
@@ -90,7 +90,7 @@ var layer18 = Layer.effect(Service36, Effect.gen(function* () {
90
90
  const session = yield* store.get(sessionID);
91
91
  if (!session)
92
92
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
93
- const result = yield* Service37.use((runner) => runner.drain({
93
+ const result = yield* Service55.use((runner) => runner.drain({
94
94
  sessionID,
95
95
  force,
96
96
  continuation,
@@ -131,7 +131,7 @@ var layer18 = Layer.effect(Service36, Effect.gen(function* () {
131
131
  });
132
132
  holder.coordinator = coordinator;
133
133
  interruption = coordinator.interruption;
134
- return Service36.of({
134
+ return Service54.of({
135
135
  active: coordinator.active,
136
136
  isActive: coordinator.isActive,
137
137
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -158,12 +158,12 @@ function publishTerminal(bus, sessionID, outcome, commit) {
158
158
  }
159
159
  return bus.publish(SessionEvent2.Execution.Failed, { sessionID, error: outcome.error }, { commit });
160
160
  }
161
- var node39 = makeGlobalNode({
162
- service: Service36,
163
- layer: layer18,
164
- deps: [node63, node41, node95, node96, node60, node40]
161
+ var node56 = makeGlobalNode({
162
+ service: Service54,
163
+ layer: layer20,
164
+ deps: [node67, node58, node94, node96, node95, node57]
165
165
  });
166
- var noopLayer2 = Layer.succeed(Service36, Service36.of({
166
+ var noopLayer2 = Layer.succeed(Service54, Service54.of({
167
167
  active: Effect.succeed(new Set),
168
168
  isActive: () => Effect.succeed(false),
169
169
  resume: () => Effect.void,
@@ -172,4 +172,4 @@ var noopLayer2 = Layer.succeed(Service36, Service36.of({
172
172
  awaitIdle: () => Effect.void
173
173
  }));
174
174
 
175
- export { Service36, terminal2, layer18, node39, noopLayer2, exports_execution };
175
+ export { Service54, terminal2, layer20, node56, noopLayer2, exports_execution2 };
@@ -1,115 +1,115 @@
1
1
  import {
2
2
  Service94,
3
3
  node96
4
- } from "./command-9ahpzkmc.js";
4
+ } from "./repository-8rn80sq6.js";
5
5
  import {
6
- Service90,
7
- node92
8
- } from "./command-6g985hjc.js";
6
+ Service85,
7
+ node87
8
+ } from "./repository-k9rwbxer.js";
9
9
  import {
10
10
  VariantID2,
11
11
  Ref3,
12
- Service77,
13
- node79
14
- } from "./command-1kresdfv.js";
12
+ Service83,
13
+ node85
14
+ } from "./repository-zqjk3b05.js";
15
15
  import {
16
- ID11,
17
- Service64,
18
- node65
19
- } from "./command-6bhge99a.js";
16
+ ID13,
17
+ Service68,
18
+ node69
19
+ } from "./repository-1aes4e9d.js";
20
20
  import {
21
21
  AgentNotFoundError2
22
- } from "./command-6zxqzzmm.js";
22
+ } from "./repository-zqjd7nbm.js";
23
23
  import {
24
24
  combine2
25
- } from "./command-amjjh717.js";
25
+ } from "./repository-p5jwrm42.js";
26
26
  import {
27
27
  entriesForRunner2
28
- } from "./command-3kcm45zc.js";
28
+ } from "./repository-cea6hd02.js";
29
29
  import {
30
- Service62,
31
- node63
32
- } from "./command-4gatbntd.js";
30
+ Service66,
31
+ node67
32
+ } from "./repository-8tjj9rtv.js";
33
33
  import {
34
34
  merge2
35
- } from "./command-epap8xr2.js";
35
+ } from "./repository-q5v60jsn.js";
36
36
  import {
37
- make26
38
- } from "./command-kxrn7gky.js";
37
+ make25
38
+ } from "./repository-w0nrctbj.js";
39
39
  import {
40
- Service42,
41
- node44
42
- } from "./command-dt6tsz7x.js";
40
+ Service75,
41
+ node77
42
+ } from "./repository-1hzyh15y.js";
43
43
  import {
44
- Service28,
45
- node32
46
- } from "./command-0jgcgtm3.js";
44
+ Service31,
45
+ node35
46
+ } from "./repository-wvvnzt41.js";
47
47
  import {
48
- Service53,
49
- node54
50
- } from "./command-jhbk36e1.js";
48
+ Service58,
49
+ node59
50
+ } from "./repository-jnpx970n.js";
51
51
  import {
52
- Service51,
53
- node53
54
- } from "./command-6nw0se4n.js";
52
+ Service49,
53
+ node52
54
+ } from "./repository-2sm5ch0r.js";
55
55
  import {
56
- Service26,
57
- node30
58
- } from "./command-z4z67x7v.js";
56
+ Service33,
57
+ node37
58
+ } from "./repository-93fptvw0.js";
59
59
  import {
60
- Service25,
61
- node29
62
- } from "./command-55bcys5k.js";
60
+ Service32,
61
+ node36
62
+ } from "./repository-w0drzbgw.js";
63
63
  import {
64
- Service24,
65
- node28
66
- } from "./command-7wkcwtpg.js";
64
+ Service29,
65
+ node33
66
+ } from "./repository-tvfb4cnx.js";
67
67
  import {
68
- Service23,
69
- node27
70
- } from "./command-3y4zhc2n.js";
68
+ Service30,
69
+ node34
70
+ } from "./repository-0y16qpbq.js";
71
71
  import {
72
- Service33,
73
- node37
74
- } from "./command-d44wfkmg.js";
72
+ Service37,
73
+ node41
74
+ } from "./repository-ds3x2h8w.js";
75
75
  import {
76
- Service31,
77
- node35
78
- } from "./command-ez7z3q9e.js";
76
+ Service39,
77
+ node42
78
+ } from "./repository-vc5wyrht.js";
79
79
  import {
80
80
  __export
81
- } from "./command-9rqn6x4v.js";
81
+ } from "./repository-9rqn6x4v.js";
82
82
 
83
83
  // src/session/context.ts
84
84
  var exports_context = {};
85
85
  __export(exports_context, {
86
- Service: () => Service22,
86
+ Service: () => Service28,
87
87
  SessionContext: () => exports_context,
88
- node: () => node26
88
+ node: () => node32
89
89
  });
90
90
  import { Context, Effect, Layer } from "effect";
91
91
  import { makeLocationNode } from "@opencode/util/effect/app-node";
92
- class Service22 extends Context.Service()("@opencode/SessionContext") {
92
+ class Service28 extends Context.Service()("@opencode/SessionContext") {
93
93
  }
94
- var layer = Layer.effect(Service22, Effect.gen(function* () {
95
- const agents = yield* Service64;
96
- const builtins = yield* Service28;
97
- const model = yield* Service77;
94
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
95
+ const agents = yield* Service68;
96
+ const builtins = yield* Service31;
97
+ const model = yield* Service83;
98
98
  const db = (yield* Service94).db;
99
- const discovery = yield* Service42;
100
- const entries = yield* Service33;
101
- const location = yield* Service90;
102
- const mcpInstructions = yield* Service25;
103
- const mcpTools = yield* Service26;
104
- const models = yield* Service53;
105
- const request = yield* Service31;
106
- const referenceInstructions = yield* Service24;
107
- const skillInstructions = yield* Service23;
108
- const store = yield* Service62;
109
- const registry = yield* Service51;
99
+ const discovery = yield* Service75;
100
+ const entries = yield* Service37;
101
+ const location = yield* Service85;
102
+ const mcpInstructions = yield* Service32;
103
+ const mcpTools = yield* Service33;
104
+ const models = yield* Service58;
105
+ const request = yield* Service39;
106
+ const referenceInstructions = yield* Service29;
107
+ const skillInstructions = yield* Service30;
108
+ const store = yield* Service66;
109
+ const registry = yield* Service49;
110
110
  const resolveModel = (session, request) => models.resolve(session, model.available, request);
111
111
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
112
- const agent = yield* agents.get(ID11.make("title"));
112
+ const agent = yield* agents.get(ID13.make("title"));
113
113
  if (!agent)
114
114
  return;
115
115
  const primary = yield* resolveModel(session, { kind: "title", agent: agent.id }).pipe(Effect.orElseSucceed(() => {
@@ -168,7 +168,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
168
168
  session,
169
169
  agent: { ...agent, info: agent.info },
170
170
  instructions: combine2([
171
- make26(loaded.tools.codeModeCatalog),
171
+ make25(loaded.tools.codeModeCatalog),
172
172
  loaded.mcp,
173
173
  loaded.references,
174
174
  loaded.skills,
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
191
191
  tools: selection.tools
192
192
  };
193
193
  });
194
- return Service22.of({ select, load, resolveModel, selectTitle, request });
194
+ return Service28.of({ select, load, resolveModel, selectTitle, request });
195
195
  }));
196
196
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
197
197
  var minimalVariant = (info) => MINIMAL_REASONING_VARIANTS.find((id) => info.variants.some((item) => item.id === id));
@@ -199,26 +199,26 @@ var lowerVariant = (info, selected) => {
199
199
  const rank = (id) => info.variants.findIndex((item) => item.id === id);
200
200
  return MINIMAL_REASONING_VARIANTS.find((id) => rank(id) !== -1 && (id !== "low" || rank(id) < rank(selected)));
201
201
  };
202
- var node26 = makeLocationNode({
203
- service: Service22,
202
+ var node32 = makeLocationNode({
203
+ service: Service28,
204
204
  layer,
205
205
  deps: [
206
- node65,
207
- node79,
206
+ node69,
207
+ node85,
208
208
  node96,
209
- node32,
210
- node44,
211
- node37,
212
- node92,
213
- node29,
214
- node30,
215
- node28,
216
- node54,
217
209
  node35,
218
- node63,
219
- node27,
220
- node53
210
+ node77,
211
+ node41,
212
+ node87,
213
+ node36,
214
+ node37,
215
+ node33,
216
+ node59,
217
+ node42,
218
+ node67,
219
+ node34,
220
+ node52
221
221
  ]
222
222
  });
223
223
 
224
- export { Service22, node26, exports_context };
224
+ export { Service28, node32, exports_context };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  isTextual2
3
- } from "./command-mwnxvxbk.js";
3
+ } from "./repository-mwnxvxbk.js";
4
4
  import {
5
5
  invocation2,
6
- Service61
7
- } from "./command-epap8xr2.js";
6
+ Service64
7
+ } from "./repository-q5v60jsn.js";
8
8
  import {
9
9
  MAX_MARKDOWN_BYTES2,
10
10
  convertHTMLToMarkdown2
11
- } from "./command-zxpyjp51.js";
11
+ } from "./repository-zxpyjp51.js";
12
12
  import {
13
13
  collectBoundedResponseBody2
14
- } from "./command-3v8g72cx.js";
14
+ } from "./repository-3v8g72cx.js";
15
15
  import {
16
16
  __export
17
- } from "./command-9rqn6x4v.js";
17
+ } from "./repository-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/webfetch.ts
20
20
  var exports_webfetch = {};
21
21
  __export(exports_webfetch, {
22
22
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
23
- Input: () => Input9,
23
+ Input: () => Input12,
24
24
  MAX_REDIRECTS: () => MAX_REDIRECTS2,
25
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
25
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
26
26
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
27
- Plugin: () => Plugin14,
27
+ Plugin: () => Plugin53,
28
28
  WebFetchTool: () => exports_webfetch,
29
29
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
30
- description: () => description3,
30
+ description: () => description7,
31
31
  extractTextFromHTML: () => extractTextFromHTML2,
32
- name: () => name9
32
+ name: () => name12
33
33
  });
34
34
  import { ToolFailure } from "@opencode/ai/effect";
35
35
  import { Duration, Effect, Schema } from "effect";
36
36
  import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
37
37
  import { Parser } from "htmlparser2";
38
- var name9 = "webfetch";
39
- var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
38
+ var name12 = "webfetch";
39
+ var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
40
40
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
41
41
  var MAX_TIMEOUT_SECONDS2 = 120;
42
- var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
42
+ var description7 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
43
43
 
44
44
  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.`;
45
45
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
46
- var Input9 = Schema.Struct({
46
+ var Input12 = Schema.Struct({
47
47
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
48
48
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
49
49
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -53,7 +53,7 @@ var Input9 = Schema.Struct({
53
53
  var Output = Schema.Struct({
54
54
  url: Schema.String,
55
55
  contentType: Schema.String,
56
- format: Input9.fields.format,
56
+ format: Input12.fields.format,
57
57
  output: Schema.String
58
58
  });
59
59
  var acceptHeader = (format) => {
@@ -107,7 +107,7 @@ var execute = (http, check, url, format, userAgent = openCodeUserAgent, redirect
107
107
  return yield* execute(http, check, next, format, userAgent, redirects + 1);
108
108
  });
109
109
  }));
110
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
110
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
111
111
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
112
112
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
113
113
  var convert = (content, contentType, format) => {
@@ -119,16 +119,16 @@ var convert = (content, contentType, format) => {
119
119
  return extractTextFromHTML2(content);
120
120
  return content;
121
121
  };
122
- var Plugin14 = {
122
+ var Plugin53 = {
123
123
  id: "opencode.tool.webfetch",
124
124
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
125
125
  const http = yield* HttpClient.HttpClient;
126
- const permission = yield* Service61;
126
+ const permission = yield* Service64;
127
127
  yield* ctx.tool.transform((editor) => editor.add({
128
- name: name9,
128
+ name: name12,
129
129
  options: { codemode: false },
130
- description: description3,
131
- input: Input9,
130
+ description: description7,
131
+ input: Input12,
132
132
  output: Output,
133
133
  execute: (input, context) => Effect.gen(function* () {
134
134
  const url = input.url.split("#")[0];
@@ -137,7 +137,7 @@ var Plugin14 = {
137
137
  catch: (error) => error
138
138
  });
139
139
  yield* permission.assert({
140
- action: name9,
140
+ action: name12,
141
141
  resources: [url],
142
142
  save: ["*"],
143
143
  metadata: input,
@@ -145,7 +145,7 @@ var Plugin14 = {
145
145
  });
146
146
  const { body, contentType } = yield* Effect.gen(function* () {
147
147
  const check = (next) => permission.assertNotDenied({
148
- action: name9,
148
+ action: name12,
149
149
  resources: [next],
150
150
  metadata: { ...input, url: next },
151
151
  ...invocation2(context)
@@ -199,4 +199,4 @@ function extractTextFromHTML2(html) {
199
199
  parser.end();
200
200
  return text.trim();
201
201
  }
202
- export { name9, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input9, MAX_REDIRECTS2, Plugin14, extractTextFromHTML2, exports_webfetch };
202
+ export { name12, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description7, Input12, MAX_REDIRECTS2, Plugin53, extractTextFromHTML2, exports_webfetch };