@opencode/core 0.0.0-dev-957 → 0.0.0-dev-960

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 (930) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +88 -88
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +238 -238
  7. package/dist/bus.js +84 -84
  8. package/dist/chunks/{filesystem-48wvk849.js → artifact-01nta593.js} +17 -17
  9. package/dist/chunks/{filesystem-b0bwd18e.js → artifact-023tzc2c.js} +11 -11
  10. package/dist/chunks/{filesystem-aj7mw0zk.js → artifact-034tev2y.js} +2 -2
  11. package/dist/chunks/{filesystem-b3pd91qs.js → artifact-03y2fc94.js} +35 -35
  12. package/dist/chunks/{filesystem-scn5v30h.js → artifact-05p6s1y0.js} +9 -9
  13. package/dist/chunks/{filesystem-qghv1qvb.js → artifact-088wmh5f.js} +11 -11
  14. package/dist/chunks/{filesystem-c8gnfnry.js → artifact-0ephczst.js} +38 -38
  15. package/dist/chunks/{filesystem-rtznbf6z.js → artifact-0gprsrbg.js} +3 -3
  16. package/dist/chunks/{filesystem-w687dnns.js → artifact-0h8y3ex8.js} +4 -4
  17. package/dist/chunks/{filesystem-0j7gp832.js → artifact-0j7gp832.js} +1 -1
  18. package/dist/chunks/{filesystem-0ma9gw4f.js → artifact-0ma9gw4f.js} +2 -2
  19. package/dist/chunks/{filesystem-ngrxenw8.js → artifact-0mfaebw6.js} +19 -19
  20. package/dist/chunks/{filesystem-837f9cvw.js → artifact-0nj6xyvc.js} +5 -5
  21. package/dist/chunks/{filesystem-mrqpf9vy.js → artifact-0reqnh07.js} +172 -172
  22. package/dist/chunks/{filesystem-yst66qdr.js → artifact-0rfdpq4d.js} +15 -15
  23. package/dist/chunks/{filesystem-9t9kmmk7.js → artifact-0sp9zm8b.js} +41 -41
  24. package/dist/chunks/{filesystem-2q2xjc3y.js → artifact-0svkmnha.js} +4 -4
  25. package/dist/chunks/{filesystem-jpdnsake.js → artifact-0tvrn1v1.js} +4 -4
  26. package/dist/chunks/{filesystem-11yq9acd.js → artifact-12pasksk.js} +28 -28
  27. package/dist/chunks/{filesystem-4avqmzbm.js → artifact-15d2fr7s.js} +7 -7
  28. package/dist/chunks/{filesystem-dbsreg9c.js → artifact-17e6ratg.js} +6 -6
  29. package/dist/chunks/{filesystem-9czynnf5.js → artifact-19h0jc8d.js} +78 -78
  30. package/dist/chunks/{filesystem-1aqsckx4.js → artifact-1aqsckx4.js} +1 -1
  31. package/dist/chunks/{filesystem-xtq9xpt1.js → artifact-1b8r59qx.js} +1 -1
  32. package/dist/chunks/{filesystem-27w5k9zf.js → artifact-1ep2p91f.js} +2 -2
  33. package/dist/chunks/{filesystem-erh9g648.js → artifact-1f0rdby0.js} +17 -17
  34. package/dist/chunks/{filesystem-1x2knyw4.js → artifact-1x2knyw4.js} +1 -1
  35. package/dist/chunks/{filesystem-1yq9hg58.js → artifact-1yq9hg58.js} +1 -1
  36. package/dist/chunks/{filesystem-1y90dh74.js → artifact-1z68abv9.js} +12 -12
  37. package/dist/chunks/{filesystem-g5gt5c3n.js → artifact-1zxrx0km.js} +9 -9
  38. package/dist/chunks/{filesystem-kj9n5bvh.js → artifact-20pht57w.js} +4 -4
  39. package/dist/chunks/{filesystem-jqz55792.js → artifact-2336s4tv.js} +2 -2
  40. package/dist/chunks/{filesystem-5an0vcbv.js → artifact-2780xe2h.js} +2 -2
  41. package/dist/chunks/{filesystem-vqved2p9.js → artifact-27c2wrf6.js} +28 -28
  42. package/dist/chunks/{filesystem-maqe1dzr.js → artifact-29sywc7d.js} +59 -59
  43. package/dist/chunks/{filesystem-keyjx42v.js → artifact-2bfs2e0e.js} +25 -25
  44. package/dist/chunks/{filesystem-2fc7eemy.js → artifact-2fc7eemy.js} +1 -1
  45. package/dist/chunks/{filesystem-afx89y6e.js → artifact-2jgc8kcd.js} +15 -15
  46. package/dist/chunks/{filesystem-4yaz4z6j.js → artifact-2kceb2jj.js} +13 -13
  47. package/dist/chunks/{filesystem-9q8g9sv8.js → artifact-2kg89srt.js} +4 -4
  48. package/dist/chunks/{filesystem-ccckf9jr.js → artifact-2mw6mxez.js} +10 -10
  49. package/dist/chunks/{filesystem-zfzncdf1.js → artifact-2n1sxqes.js} +43 -43
  50. package/dist/chunks/{filesystem-0cvmjxzj.js → artifact-2qr0rzrp.js} +8 -8
  51. package/dist/chunks/{filesystem-j0yjsatb.js → artifact-2s4x0kvm.js} +10 -10
  52. package/dist/chunks/{filesystem-kznkdm16.js → artifact-2yfhpypw.js} +26 -26
  53. package/dist/chunks/{filesystem-snpn28jx.js → artifact-39sgvy3e.js} +4 -4
  54. package/dist/chunks/{filesystem-3hepkmqq.js → artifact-3hepkmqq.js} +1 -1
  55. package/dist/chunks/{filesystem-nq4f4ywt.js → artifact-3k5551g2.js} +14 -14
  56. package/dist/chunks/{filesystem-kapntja0.js → artifact-3ktax26a.js} +5 -5
  57. package/dist/chunks/{filesystem-3nnrz6f6.js → artifact-3nnrz6f6.js} +1 -1
  58. package/dist/chunks/{filesystem-g9ndtp1p.js → artifact-3p57dcxh.js} +4 -4
  59. package/dist/chunks/{filesystem-y140ayzt.js → artifact-3rqpseta.js} +8 -8
  60. package/dist/chunks/{filesystem-m5gve12k.js → artifact-3savzzrz.js} +21 -21
  61. package/dist/chunks/{filesystem-kvcp6n19.js → artifact-3v92t5r3.js} +15 -15
  62. package/dist/chunks/{filesystem-br87qvha.js → artifact-3zhs1ksq.js} +16 -16
  63. package/dist/chunks/{filesystem-40y6dtc2.js → artifact-40y6dtc2.js} +1 -1
  64. package/dist/chunks/{filesystem-6e0r0q4k.js → artifact-42j3gjq8.js} +9 -9
  65. package/dist/chunks/{filesystem-1v53xt9g.js → artifact-42pxgvw1.js} +5 -5
  66. package/dist/chunks/{filesystem-yv682wh0.js → artifact-4607pg26.js} +39 -39
  67. package/dist/chunks/{filesystem-4dx1dgte.js → artifact-4dx1dgte.js} +1 -1
  68. package/dist/chunks/{filesystem-4pyp9zr9.js → artifact-4pyp9zr9.js} +1 -1
  69. package/dist/chunks/{filesystem-7ns12trf.js → artifact-4q03q0em.js} +56 -56
  70. package/dist/chunks/{filesystem-np8em5wg.js → artifact-4t0gk0j9.js} +2 -2
  71. package/dist/chunks/{filesystem-4v008n1t.js → artifact-4v008n1t.js} +1 -1
  72. package/dist/chunks/{filesystem-sdn2zcx3.js → artifact-51smt0vq.js} +2 -2
  73. package/dist/chunks/{filesystem-gcy216gt.js → artifact-53zz1js3.js} +27 -27
  74. package/dist/chunks/{filesystem-ckn0kvtp.js → artifact-5asgddgx.js} +6 -6
  75. package/dist/chunks/{filesystem-09tt7k9z.js → artifact-5bpqemyg.js} +15 -15
  76. package/dist/chunks/{filesystem-4gmbvmjy.js → artifact-5c0ay57s.js} +4 -4
  77. package/dist/chunks/{filesystem-db6nf9v0.js → artifact-5e3xqask.js} +10 -10
  78. package/dist/chunks/{filesystem-5m9w47nd.js → artifact-5m9w47nd.js} +1 -1
  79. package/dist/chunks/{filesystem-3jsstbwk.js → artifact-5ny7rfcs.js} +10 -10
  80. package/dist/chunks/{filesystem-jxza8fhd.js → artifact-5sj7abj0.js} +7 -7
  81. package/dist/chunks/{filesystem-0havt919.js → artifact-66rr18gb.js} +6 -6
  82. package/dist/chunks/{filesystem-6wag68c3.js → artifact-684sh8yv.js} +12 -12
  83. package/dist/chunks/{filesystem-1jt30gsv.js → artifact-684yxfdc.js} +10 -10
  84. package/dist/chunks/{filesystem-qyvke9h9.js → artifact-68epe7kv.js} +19 -19
  85. package/dist/chunks/{filesystem-tb2mrvc9.js → artifact-694dpcrp.js} +7 -7
  86. package/dist/chunks/{filesystem-vgc35wbf.js → artifact-6bb4jmgg.js} +39 -39
  87. package/dist/chunks/{filesystem-7828r2n0.js → artifact-6cbyh0q7.js} +19 -19
  88. package/dist/chunks/{filesystem-vgfnw8qz.js → artifact-6fh5fymj.js} +6 -6
  89. package/dist/chunks/{filesystem-63zz6drz.js → artifact-6gw0nqv4.js} +31 -31
  90. package/dist/chunks/{filesystem-teav1bzy.js → artifact-6h8vcvjm.js} +9 -9
  91. package/dist/chunks/{filesystem-bh19fz13.js → artifact-6j4sdj6f.js} +20 -20
  92. package/dist/chunks/{filesystem-gx924ews.js → artifact-6merkr3x.js} +23 -23
  93. package/dist/chunks/{filesystem-hj5ypy4p.js → artifact-7192c67s.js} +24 -24
  94. package/dist/chunks/{filesystem-acn9mmgv.js → artifact-743tdy9z.js} +11 -11
  95. package/dist/chunks/{filesystem-55cy7d7f.js → artifact-746z978s.js} +5 -5
  96. package/dist/chunks/{filesystem-775hqbnd.js → artifact-775hqbnd.js} +3 -3
  97. package/dist/chunks/{filesystem-7bmhse3q.js → artifact-7bmhse3q.js} +1 -1
  98. package/dist/chunks/{filesystem-dj75yzz7.js → artifact-7ex71cjq.js} +23 -23
  99. package/dist/chunks/{filesystem-6xgbgdv6.js → artifact-7fqzwmsk.js} +16 -16
  100. package/dist/chunks/{filesystem-1v2g13eq.js → artifact-7gve5pza.js} +8 -8
  101. package/dist/chunks/{filesystem-jt92w8ws.js → artifact-7hvrn7ye.js} +7 -7
  102. package/dist/chunks/{filesystem-sgsg0vfz.js → artifact-7j1wqkfj.js} +9 -9
  103. package/dist/chunks/{filesystem-vnn7kt1n.js → artifact-7jkx80bs.js} +40 -40
  104. package/dist/chunks/{filesystem-7nqkf5r1.js → artifact-7nqkf5r1.js} +2 -2
  105. package/dist/chunks/{filesystem-qq6kszvj.js → artifact-7p197hja.js} +12 -12
  106. package/dist/chunks/{filesystem-7w2ypzdf.js → artifact-7w2ypzdf.js} +1 -1
  107. package/dist/chunks/{filesystem-7weczvnd.js → artifact-7weczvnd.js} +1 -1
  108. package/dist/chunks/{filesystem-80pdk984.js → artifact-80pdk984.js} +1 -1
  109. package/dist/chunks/{filesystem-89287pr7.js → artifact-89287pr7.js} +1 -1
  110. package/dist/chunks/{filesystem-8b3vzgkx.js → artifact-8b3vzgkx.js} +1 -1
  111. package/dist/chunks/{filesystem-5whx36p1.js → artifact-8cg7mtm3.js} +4 -4
  112. package/dist/chunks/{filesystem-93xmyh8q.js → artifact-8hfctyyf.js} +7 -7
  113. package/dist/chunks/{filesystem-rdrrctes.js → artifact-8sdbysvt.js} +13 -13
  114. package/dist/chunks/{filesystem-bb3mmwvh.js → artifact-8sxe6kv8.js} +2 -2
  115. package/dist/chunks/{filesystem-8wtp7s3z.js → artifact-8wtp7s3z.js} +1 -1
  116. package/dist/chunks/{filesystem-a4z47j9b.js → artifact-8zbxzx7w.js} +27 -27
  117. package/dist/chunks/{filesystem-8zv0xmg5.js → artifact-8zv0xmg5.js} +1 -1
  118. package/dist/chunks/{filesystem-nt907s04.js → artifact-94e33dpz.js} +3 -3
  119. package/dist/chunks/{filesystem-xfmt2ww9.js → artifact-96pwkqmt.js} +4 -4
  120. package/dist/chunks/{filesystem-15ev6cjk.js → artifact-9f7d7p6h.js} +16 -16
  121. package/dist/chunks/{filesystem-r75f2j8n.js → artifact-9ffxq9nb.js} +11 -11
  122. package/dist/chunks/{filesystem-jctajm4m.js → artifact-9vwj3ctj.js} +7 -7
  123. package/dist/chunks/{filesystem-m60z7dxa.js → artifact-a1jekfnk.js} +72 -72
  124. package/dist/chunks/{filesystem-7184ydrq.js → artifact-a8scrf28.js} +17 -17
  125. package/dist/chunks/{filesystem-2m7evczf.js → artifact-acyqypdd.js} +23 -23
  126. package/dist/chunks/{filesystem-qgxpp3m1.js → artifact-ap1xahee.js} +12 -12
  127. package/dist/chunks/{filesystem-68ng9fap.js → artifact-argw2mv9.js} +51 -51
  128. package/dist/chunks/{filesystem-htbgj509.js → artifact-avhghzw1.js} +27 -27
  129. package/dist/chunks/{filesystem-3cbjf1nt.js → artifact-ayjs7tqn.js} +2 -2
  130. package/dist/chunks/{filesystem-2dgmvn0e.js → artifact-b03tcp1p.js} +11 -11
  131. package/dist/chunks/{filesystem-08pbggxf.js → artifact-b3bqz6yd.js} +27 -27
  132. package/dist/chunks/{filesystem-zeppcy2b.js → artifact-b8dq6zbn.js} +16 -16
  133. package/dist/chunks/{filesystem-m2pcc6v5.js → artifact-bjdtmntm.js} +8 -8
  134. package/dist/chunks/{filesystem-by8ty0bx.js → artifact-by8ty0bx.js} +1 -1
  135. package/dist/chunks/{filesystem-2r27xy4g.js → artifact-bz70ks26.js} +32 -32
  136. package/dist/chunks/{filesystem-c3wmb854.js → artifact-c3abk5vz.js} +25 -25
  137. package/dist/chunks/{filesystem-gbx63q5b.js → artifact-c6jssay7.js} +39 -39
  138. package/dist/chunks/{filesystem-c7cw818c.js → artifact-c7cw818c.js} +2 -2
  139. package/dist/chunks/{filesystem-365eavge.js → artifact-c7gk57p6.js} +4 -4
  140. package/dist/chunks/{filesystem-h34znyea.js → artifact-caxf7zxk.js} +19 -19
  141. package/dist/chunks/{filesystem-wt40kvke.js → artifact-ce7qegav.js} +36 -36
  142. package/dist/chunks/{filesystem-h41db3f3.js → artifact-cjgg4me7.js} +30 -30
  143. package/dist/chunks/{filesystem-r4rzdsef.js → artifact-cndvwyr8.js} +15 -15
  144. package/dist/chunks/{filesystem-0ahs07zn.js → artifact-cpvd08na.js} +4 -4
  145. package/dist/chunks/{filesystem-bhfd478d.js → artifact-cr4rfj9z.js} +4 -4
  146. package/dist/chunks/{filesystem-zhjr46dy.js → artifact-csk34hdm.js} +4 -4
  147. package/dist/chunks/{filesystem-cwrgdav8.js → artifact-cwrgdav8.js} +2 -2
  148. package/dist/chunks/{filesystem-n81rxgvg.js → artifact-d390zwf3.js} +8 -8
  149. package/dist/chunks/{filesystem-d4v9tmah.js → artifact-d4v9tmah.js} +2 -2
  150. package/dist/chunks/{filesystem-ngtphjad.js → artifact-d690nst1.js} +49 -49
  151. package/dist/chunks/{filesystem-vz5gdy1c.js → artifact-d79ftn5e.js} +18 -18
  152. package/dist/chunks/{filesystem-f7dfffjm.js → artifact-dan8sjb9.js} +5 -5
  153. package/dist/chunks/{filesystem-y5y97czz.js → artifact-dfszvtxr.js} +21 -21
  154. package/dist/chunks/{filesystem-px7qpgcn.js → artifact-dg5naf6e.js} +4 -4
  155. package/dist/chunks/{filesystem-c3crn9d5.js → artifact-dq9r6gjp.js} +19 -19
  156. package/dist/chunks/{filesystem-qcktaagv.js → artifact-drs6w14g.js} +18 -18
  157. package/dist/chunks/{filesystem-n67psbbx.js → artifact-dstz1yab.js} +17 -17
  158. package/dist/chunks/{filesystem-dt77769w.js → artifact-dt77769w.js} +1 -1
  159. package/dist/chunks/{filesystem-4bj26h8q.js → artifact-dyzar3a9.js} +10 -10
  160. package/dist/chunks/{filesystem-67hqsa53.js → artifact-e2w1bh1e.js} +6 -6
  161. package/dist/chunks/{filesystem-tc77hxc8.js → artifact-e3v03hrq.js} +40 -40
  162. package/dist/chunks/{filesystem-tsda2a03.js → artifact-e3wz0jbr.js} +27 -27
  163. package/dist/chunks/{filesystem-3yj7dt59.js → artifact-e5653pfs.js} +8 -8
  164. package/dist/chunks/{filesystem-n0hg6e9k.js → artifact-edj0kk9f.js} +32 -32
  165. package/dist/chunks/{filesystem-a11c4705.js → artifact-ee9rb598.js} +12 -12
  166. package/dist/chunks/{filesystem-8d2bz6m6.js → artifact-enkpkfwx.js} +8 -8
  167. package/dist/chunks/{filesystem-eqw4pqj1.js → artifact-eqw4pqj1.js} +2 -2
  168. package/dist/chunks/{filesystem-1b8vvyhw.js → artifact-ev6faw2s.js} +7 -7
  169. package/dist/chunks/{filesystem-d6sk47qw.js → artifact-ewtvdge1.js} +6 -6
  170. package/dist/chunks/{filesystem-x3d6bqxn.js → artifact-ex14qddr.js} +16 -16
  171. package/dist/chunks/{filesystem-zt8d2mt2.js → artifact-excbda4d.js} +10 -10
  172. package/dist/chunks/{filesystem-yny8e69s.js → artifact-f11x4925.js} +4 -4
  173. package/dist/chunks/{filesystem-x1nvxta7.js → artifact-f5cyjz2c.js} +9 -9
  174. package/dist/chunks/{filesystem-nzkaa3ba.js → artifact-f9v1b3q7.js} +13 -13
  175. package/dist/chunks/{filesystem-jaee43gy.js → artifact-fbxt9h83.js} +15 -15
  176. package/dist/chunks/{filesystem-fffv3p7h.js → artifact-fffv3p7h.js} +1 -1
  177. package/dist/chunks/{filesystem-fg9p65nk.js → artifact-fg9p65nk.js} +2 -2
  178. package/dist/chunks/{filesystem-yw294zhh.js → artifact-fjxhe9n5.js} +23 -23
  179. package/dist/chunks/{filesystem-1rv0jg3n.js → artifact-fma2wdmj.js} +7 -7
  180. package/dist/chunks/{filesystem-xr7zekac.js → artifact-fnadnqwe.js} +13 -13
  181. package/dist/chunks/{filesystem-hmadzfaz.js → artifact-fvkbjr3x.js} +12 -12
  182. package/dist/chunks/{filesystem-j1wvkh1x.js → artifact-fvtgbbxy.js} +11 -11
  183. package/dist/chunks/{filesystem-gpcm5csb.js → artifact-g106qs1q.js} +28 -28
  184. package/dist/chunks/{filesystem-vm784cm5.js → artifact-g1zb840a.js} +1 -1
  185. package/dist/chunks/{filesystem-kh1zbdt3.js → artifact-g2nw11rj.js} +4 -4
  186. package/dist/chunks/{filesystem-b26ddj6h.js → artifact-g4txs7zc.js} +4 -4
  187. package/dist/chunks/{filesystem-17b8a7h3.js → artifact-g8vemvpr.js} +11 -11
  188. package/dist/chunks/{filesystem-gbjdnr5j.js → artifact-gbjdnr5j.js} +2 -2
  189. package/dist/chunks/{filesystem-sdt5j0rm.js → artifact-ghrv1g9c.js} +4 -4
  190. package/dist/chunks/{filesystem-7s99zgth.js → artifact-gm2vm0vb.js} +25 -25
  191. package/dist/chunks/{filesystem-5j3ybskv.js → artifact-gnne2sk4.js} +24 -24
  192. package/dist/chunks/{filesystem-rgm5kar6.js → artifact-grvyh3xe.js} +12 -12
  193. package/dist/chunks/{filesystem-fgr6g8pv.js → artifact-gwh81hzm.js} +10 -10
  194. package/dist/chunks/{filesystem-x3k6scem.js → artifact-h72115vk.js} +24 -24
  195. package/dist/chunks/{filesystem-ygnyxm4b.js → artifact-haf3e1p5.js} +6 -6
  196. package/dist/chunks/{filesystem-gg2b8mjc.js → artifact-hck1h0wx.js} +13 -13
  197. package/dist/chunks/{filesystem-hgzwgvze.js → artifact-hgzwgvze.js} +2 -2
  198. package/dist/chunks/{filesystem-hmc1gkc2.js → artifact-hmc1gkc2.js} +1 -1
  199. package/dist/chunks/{filesystem-ry7kp2db.js → artifact-hx3mz2q2.js} +8 -8
  200. package/dist/chunks/{filesystem-tr8x705m.js → artifact-j376ae4e.js} +5 -5
  201. package/dist/chunks/{filesystem-gzmww30b.js → artifact-j68k6m80.js} +12 -12
  202. package/dist/chunks/{filesystem-wfddqnpx.js → artifact-j8aghjtt.js} +7 -7
  203. package/dist/chunks/{filesystem-sktkk5wx.js → artifact-j8sqjsxt.js} +18 -18
  204. package/dist/chunks/{filesystem-j9nxzz3g.js → artifact-j9nxzz3g.js} +3 -3
  205. package/dist/chunks/{filesystem-csnvjcee.js → artifact-j9rs7mv1.js} +8 -8
  206. package/dist/chunks/{filesystem-4pvj62dq.js → artifact-ja8bwt4z.js} +33 -33
  207. package/dist/chunks/{filesystem-4e7fsjjk.js → artifact-jadkxxaf.js} +19 -19
  208. package/dist/chunks/{filesystem-zvbpgp0m.js → artifact-jh1zq2gc.js} +10 -10
  209. package/dist/chunks/{filesystem-jm70asfg.js → artifact-jm70asfg.js} +1 -1
  210. package/dist/chunks/{filesystem-p7b25p4c.js → artifact-jpvs5h9c.js} +11 -11
  211. package/dist/chunks/{filesystem-ep6snxvm.js → artifact-jtn88xg7.js} +5 -5
  212. package/dist/chunks/{filesystem-418pw5n0.js → artifact-jvpyq7s4.js} +19 -19
  213. package/dist/chunks/{filesystem-44pmzq9c.js → artifact-jxd6f16v.js} +2 -2
  214. package/dist/chunks/artifact-k23mdptc.js +26 -0
  215. package/dist/chunks/{filesystem-9vmr7758.js → artifact-kaab7h2x.js} +3 -3
  216. package/dist/chunks/{filesystem-8xz27cp9.js → artifact-kbgs7tyr.js} +4 -4
  217. package/dist/chunks/{filesystem-0q93trv0.js → artifact-kjaabnvp.js} +13 -13
  218. package/dist/chunks/{filesystem-kse531ts.js → artifact-kjt1gsc4.js} +6 -6
  219. package/dist/chunks/{filesystem-fcrd7kek.js → artifact-kq4fnwb1.js} +4 -4
  220. package/dist/chunks/{filesystem-4n2dtty6.js → artifact-kq8jy6v4.js} +16 -16
  221. package/dist/chunks/{filesystem-2nw7gz01.js → artifact-krd9fbse.js} +10 -10
  222. package/dist/chunks/{filesystem-kt3bjfbg.js → artifact-kt3bjfbg.js} +1 -1
  223. package/dist/chunks/{filesystem-kzczzf4v.js → artifact-kzczzf4v.js} +1 -1
  224. package/dist/chunks/{filesystem-m1714858.js → artifact-m1714858.js} +1 -1
  225. package/dist/chunks/{filesystem-m9w0rfyh.js → artifact-m9w0rfyh.js} +1 -1
  226. package/dist/chunks/{filesystem-8z6m94af.js → artifact-mb7mbhnz.js} +3 -3
  227. package/dist/chunks/{filesystem-wn623n5w.js → artifact-mf8x8z5b.js} +21 -21
  228. package/dist/chunks/{filesystem-6q8jj3zs.js → artifact-mpp83xkh.js} +3 -3
  229. package/dist/chunks/{filesystem-rr6wzrrw.js → artifact-mstftcan.js} +18 -18
  230. package/dist/chunks/{filesystem-p8cs7n7b.js → artifact-mze69b16.js} +14 -14
  231. package/dist/chunks/{filesystem-wybce884.js → artifact-n0fz4hvz.js} +5 -5
  232. package/dist/chunks/{filesystem-jqrvh40r.js → artifact-n367pce1.js} +43 -43
  233. package/dist/chunks/{filesystem-t2jj1q7e.js → artifact-n6dz78md.js} +6 -6
  234. package/dist/chunks/{filesystem-hsx8x5xk.js → artifact-n6fppkbq.js} +30 -30
  235. package/dist/chunks/{filesystem-kvtg5rv4.js → artifact-nay4073r.js} +5 -5
  236. package/dist/chunks/{filesystem-rky169ds.js → artifact-nm1w09bq.js} +32 -32
  237. package/dist/chunks/{filesystem-t48jrnqq.js → artifact-nq1mg43n.js} +3 -3
  238. package/dist/chunks/{filesystem-5smxck5e.js → artifact-p0tna57r.js} +31 -31
  239. package/dist/chunks/{filesystem-jd9j19df.js → artifact-p9a7ghyf.js} +25 -25
  240. package/dist/chunks/{filesystem-k58qkxgp.js → artifact-pb82hh1j.js} +34 -34
  241. package/dist/chunks/{filesystem-bxvej6ck.js → artifact-pgf1j7p5.js} +40 -40
  242. package/dist/chunks/{filesystem-20bx7jp1.js → artifact-phs7kmvd.js} +50 -50
  243. package/dist/chunks/{filesystem-pknna89w.js → artifact-pknna89w.js} +1 -1
  244. package/dist/chunks/{filesystem-76p3xy3c.js → artifact-pmvh47qc.js} +8 -8
  245. package/dist/chunks/{filesystem-mxxad9v0.js → artifact-qava8dj6.js} +11 -11
  246. package/dist/chunks/{filesystem-hj6988hr.js → artifact-qbag486h.js} +11 -11
  247. package/dist/chunks/{filesystem-crwg6mh2.js → artifact-qexgrky7.js} +4 -4
  248. package/dist/chunks/{filesystem-e2tfp8ry.js → artifact-qfexa7mt.js} +3 -3
  249. package/dist/chunks/{filesystem-k3p9dtgb.js → artifact-qfvnat7d.js} +15 -15
  250. package/dist/chunks/artifact-qhzpvq0b.js +265 -0
  251. package/dist/chunks/{filesystem-17es37va.js → artifact-qj72544e.js} +17 -17
  252. package/dist/chunks/{filesystem-z72m2yzn.js → artifact-qjfr1059.js} +11 -11
  253. package/dist/chunks/{filesystem-hkfe6d6q.js → artifact-qm46tnva.js} +12 -12
  254. package/dist/chunks/{filesystem-qp7r0hxv.js → artifact-qp7r0hxv.js} +1 -1
  255. package/dist/chunks/{filesystem-t5rmm2ev.js → artifact-qptayef0.js} +9 -9
  256. package/dist/chunks/{filesystem-qsdghx1p.js → artifact-qsdghx1p.js} +1 -1
  257. package/dist/chunks/{filesystem-1djvm6kf.js → artifact-qwbf6adw.js} +8 -8
  258. package/dist/chunks/{filesystem-t79wcjvh.js → artifact-qyzxh3by.js} +12 -12
  259. package/dist/chunks/{filesystem-8t99kr38.js → artifact-r17fbvme.js} +4 -4
  260. package/dist/chunks/{filesystem-wsrzsgee.js → artifact-r4aqx9nh.js} +6 -6
  261. package/dist/chunks/{filesystem-4f25tdd0.js → artifact-r542h3bh.js} +5 -5
  262. package/dist/chunks/{filesystem-r7zrbnjn.js → artifact-r7zrbnjn.js} +1 -1
  263. package/dist/chunks/{filesystem-rb9dy4dg.js → artifact-rb9dy4dg.js} +1 -1
  264. package/dist/chunks/{filesystem-bry3s3h0.js → artifact-rdqcf2kd.js} +16 -16
  265. package/dist/chunks/{filesystem-fx4vwgh3.js → artifact-rf5v02jm.js} +12 -12
  266. package/dist/chunks/{filesystem-rgc9cx3e.js → artifact-rgc9cx3e.js} +2 -2
  267. package/dist/chunks/{filesystem-t319hsc5.js → artifact-rhnddp7n.js} +3 -3
  268. package/dist/chunks/{filesystem-f59jsr6e.js → artifact-rhzyqjag.js} +17 -17
  269. package/dist/chunks/{filesystem-7xqm9b38.js → artifact-rm7wc3b8.js} +11 -11
  270. package/dist/chunks/{filesystem-963hk181.js → artifact-rn6817b0.js} +9 -9
  271. package/dist/chunks/{filesystem-0pvy9emx.js → artifact-rnfrjme0.js} +15 -15
  272. package/dist/chunks/{filesystem-rt5dr6hb.js → artifact-rt5dr6hb.js} +1 -1
  273. package/dist/chunks/{filesystem-5drv7zr7.js → artifact-rtn9bdzs.js} +21 -21
  274. package/dist/chunks/{filesystem-9rqhy0gk.js → artifact-rwcc01tt.js} +7 -7
  275. package/dist/chunks/{filesystem-wpdcbbyg.js → artifact-rx23pc2t.js} +377 -377
  276. package/dist/chunks/{filesystem-p5ccmfnv.js → artifact-rx6d57e7.js} +22 -22
  277. package/dist/chunks/{filesystem-2p60zmnr.js → artifact-s1ba0vj0.js} +2 -2
  278. package/dist/chunks/{filesystem-7f840skq.js → artifact-s5zrq09q.js} +8 -8
  279. package/dist/chunks/{filesystem-z5c2z2ge.js → artifact-saz430dm.js} +16 -16
  280. package/dist/chunks/{filesystem-7nte6xmc.js → artifact-sb9h232m.js} +18 -18
  281. package/dist/chunks/{filesystem-sbya78hr.js → artifact-sbya78hr.js} +1 -1
  282. package/dist/chunks/{filesystem-78p2h4ex.js → artifact-scmk72rv.js} +5 -5
  283. package/dist/chunks/{filesystem-csxpn9yn.js → artifact-scpgcczk.js} +3 -3
  284. package/dist/chunks/{filesystem-1dyajge1.js → artifact-sjqnr5s8.js} +23 -23
  285. package/dist/chunks/{filesystem-svcy3p9a.js → artifact-svcy3p9a.js} +1 -1
  286. package/dist/chunks/{filesystem-3ev9nt0s.js → artifact-t26sqkzd.js} +14 -14
  287. package/dist/chunks/{filesystem-gtg9pbpj.js → artifact-t5mjxac8.js} +13 -13
  288. package/dist/chunks/{filesystem-tbpn7jtk.js → artifact-tbpn7jtk.js} +1 -1
  289. package/dist/chunks/{filesystem-a8dpdn4a.js → artifact-tbxqb127.js} +27 -27
  290. package/dist/chunks/{filesystem-qtemt9a6.js → artifact-tcjtmdqy.js} +6 -6
  291. package/dist/chunks/{filesystem-tczq8hjw.js → artifact-tczq8hjw.js} +1 -1
  292. package/dist/chunks/{filesystem-y5rwnb26.js → artifact-tds9ybpk.js} +12 -12
  293. package/dist/chunks/{filesystem-454f6kjb.js → artifact-tg1z3r2b.js} +7 -7
  294. package/dist/chunks/{filesystem-gxs71cxp.js → artifact-tg7s7b5t.js} +4 -4
  295. package/dist/chunks/{filesystem-jeyt5pa2.js → artifact-tk2qa79d.js} +36 -36
  296. package/dist/chunks/{filesystem-tvtps2q9.js → artifact-tvtps2q9.js} +1 -1
  297. package/dist/chunks/{filesystem-twssxy5n.js → artifact-twssxy5n.js} +2 -2
  298. package/dist/chunks/{filesystem-grjr2gbp.js → artifact-v1z93482.js} +3 -3
  299. package/dist/chunks/{filesystem-v2r1d0zg.js → artifact-v2r1d0zg.js} +1 -1
  300. package/dist/chunks/{filesystem-6c7v3fwj.js → artifact-v40rggfj.js} +41 -41
  301. package/dist/chunks/{filesystem-gqwyess1.js → artifact-v7x9amtm.js} +31 -31
  302. package/dist/chunks/artifact-v8vhf2as.js +18 -0
  303. package/dist/chunks/{filesystem-8mkk93b3.js → artifact-vbmy4dv8.js} +6 -6
  304. package/dist/chunks/{filesystem-1rkgdt11.js → artifact-vegh3683.js} +72 -72
  305. package/dist/chunks/{filesystem-vjf35v1f.js → artifact-vjf35v1f.js} +1 -1
  306. package/dist/chunks/{filesystem-80w9bxhm.js → artifact-vjg2rxjw.js} +15 -15
  307. package/dist/chunks/{filesystem-qyr2dypf.js → artifact-vk7ve012.js} +31 -31
  308. package/dist/chunks/{filesystem-haw8stzt.js → artifact-vm00temk.js} +5 -5
  309. package/dist/chunks/{filesystem-vsnnaxjq.js → artifact-vsnnaxjq.js} +1 -1
  310. package/dist/chunks/{filesystem-aay370xc.js → artifact-w0yfsdtv.js} +4 -4
  311. package/dist/chunks/{filesystem-xj7xg5ja.js → artifact-w13evrkv.js} +23 -23
  312. package/dist/chunks/{filesystem-40za9wsf.js → artifact-w2eysc6j.js} +9 -9
  313. package/dist/chunks/{filesystem-d001apn6.js → artifact-w3qmp03c.js} +11 -11
  314. package/dist/chunks/{filesystem-w3wsvvr9.js → artifact-w3wsvvr9.js} +1 -1
  315. package/dist/chunks/{filesystem-wakvkjy4.js → artifact-wakvkjy4.js} +1 -1
  316. package/dist/chunks/{filesystem-82m30djg.js → artifact-wcznk7xz.js} +11 -11
  317. package/dist/chunks/{filesystem-wd87259q.js → artifact-wd87259q.js} +1 -1
  318. package/dist/chunks/{filesystem-dw1bgse5.js → artifact-wec6enrg.js} +1 -1
  319. package/dist/chunks/{filesystem-nx4vzyjd.js → artifact-wegkxhrn.js} +2 -2
  320. package/dist/chunks/{filesystem-ff9814bj.js → artifact-wrjw35qn.js} +5 -5
  321. package/dist/chunks/{filesystem-8c7x16zv.js → artifact-wrtcwg59.js} +24 -24
  322. package/dist/chunks/{filesystem-wvr8xscb.js → artifact-wvr8xscb.js} +1 -1
  323. package/dist/chunks/{filesystem-rr1v8qt4.js → artifact-wywms26a.js} +37 -37
  324. package/dist/chunks/{filesystem-b2vh92cg.js → artifact-x9vd5s0r.js} +28 -28
  325. package/dist/chunks/{filesystem-xd9cc171.js → artifact-xd9cc171.js} +1 -1
  326. package/dist/chunks/{filesystem-bebc0q7y.js → artifact-xe31a7yj.js} +20 -20
  327. package/dist/chunks/{filesystem-rp6t20zc.js → artifact-xjbsd7zy.js} +9 -9
  328. package/dist/chunks/{filesystem-xjr6c8m4.js → artifact-xxschbft.js} +4 -4
  329. package/dist/chunks/{filesystem-0mp36kg4.js → artifact-xz8r956s.js} +28 -28
  330. package/dist/chunks/{filesystem-ntbmxnjx.js → artifact-y326gskf.js} +2 -2
  331. package/dist/chunks/{filesystem-s82ny5ks.js → artifact-y5w2nrb2.js} +3 -3
  332. package/dist/chunks/{filesystem-cymdgrpe.js → artifact-y8bjk5qp.js} +3 -3
  333. package/dist/chunks/{filesystem-gexxa2vn.js → artifact-y9w9sc3k.js} +35 -35
  334. package/dist/chunks/{filesystem-hwapax60.js → artifact-yatsevsv.js} +14 -14
  335. package/dist/chunks/{filesystem-yb20nhc3.js → artifact-yb20nhc3.js} +1 -1
  336. package/dist/chunks/{filesystem-rkna7mc2.js → artifact-yc4jz0ya.js} +9 -9
  337. package/dist/chunks/{filesystem-7trt7kgg.js → artifact-yepd7x5v.js} +5 -5
  338. package/dist/chunks/{filesystem-acts9ffx.js → artifact-yj1kz1ga.js} +25 -25
  339. package/dist/chunks/{filesystem-4rqnzn9t.js → artifact-ymmy827p.js} +54 -54
  340. package/dist/chunks/{filesystem-zzmy57bz.js → artifact-yn9rcvvw.js} +12 -12
  341. package/dist/chunks/{filesystem-yr705xyq.js → artifact-yr705xyq.js} +1 -1
  342. package/dist/chunks/{filesystem-51jhd8ep.js → artifact-yvn0y49k.js} +31 -31
  343. package/dist/chunks/{filesystem-yvtc2x31.js → artifact-yvtc2x31.js} +1 -1
  344. package/dist/chunks/{filesystem-90ct6wq4.js → artifact-z080rjh6.js} +4 -4
  345. package/dist/chunks/{filesystem-ppxbfkyv.js → artifact-z3xsgcpr.js} +14 -14
  346. package/dist/chunks/{filesystem-0cfy1ehc.js → artifact-zead4rxg.js} +4 -4
  347. package/dist/chunks/{filesystem-wqqvn0mb.js → artifact-zhzgpvr2.js} +11 -11
  348. package/dist/chunks/{filesystem-vza1zfjv.js → artifact-zp0nz9wc.js} +5 -5
  349. package/dist/chunks/{filesystem-b6bj0qf6.js → artifact-zx3dzts4.js} +9 -9
  350. package/dist/codemode/catalog.js +1 -1
  351. package/dist/codemode/execution.js +3 -3
  352. package/dist/codemode/fetch.js +148 -148
  353. package/dist/codemode/instructions.js +5 -5
  354. package/dist/codemode/tool.js +155 -155
  355. package/dist/command.js +92 -92
  356. package/dist/config/discovery.js +97 -97
  357. package/dist/config/integration.js +3 -3
  358. package/dist/config/managed.js +1 -1
  359. package/dist/config/markdown.js +1 -1
  360. package/dist/config/normalize.js +112 -112
  361. package/dist/config/plugin/agent.js +133 -133
  362. package/dist/config/plugin/command.js +240 -240
  363. package/dist/config/plugin/compaction.js +173 -173
  364. package/dist/config/plugin/compatibility.js +153 -153
  365. package/dist/config/plugin/entry-observer.js +1 -1
  366. package/dist/config/plugin/formatter.js +131 -131
  367. package/dist/config/plugin/image.js +130 -130
  368. package/dist/config/plugin/instruction.js +130 -130
  369. package/dist/config/plugin/location-watcher.js +130 -130
  370. package/dist/config/plugin/mcp.js +145 -145
  371. package/dist/config/plugin/policy.js +130 -130
  372. package/dist/config/plugin/provider.js +130 -130
  373. package/dist/config/plugin/reference.js +132 -132
  374. package/dist/config/plugin/shell.js +130 -130
  375. package/dist/config/plugin/skill-file.js +149 -149
  376. package/dist/config/plugin/skill-scan.js +1 -1
  377. package/dist/config/plugin/skill.js +156 -156
  378. package/dist/config/plugin/snapshot.js +130 -130
  379. package/dist/config/plugin/source.js +134 -134
  380. package/dist/config/plugin/tool-output.js +131 -131
  381. package/dist/config/plugin/websearch.js +129 -129
  382. package/dist/config/plugin/worktree.js +132 -132
  383. package/dist/config/variable.js +1 -1
  384. package/dist/config/watch.js +1 -1
  385. package/dist/config.js +131 -131
  386. package/dist/console-access.js +1 -1
  387. package/dist/credential/sql.js +2 -2
  388. package/dist/credential.js +94 -94
  389. package/dist/database/batch.js +1 -1
  390. package/dist/database/database.js +77 -77
  391. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  392. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  393. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  394. package/dist/database/drizzle/index.js +15 -15
  395. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  396. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  397. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  398. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  399. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  400. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  401. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  402. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  403. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  404. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  405. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  406. package/dist/database/drizzle.js +16 -16
  407. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  408. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  409. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  410. package/dist/database/migration/20260225215848_workspace.js +1 -1
  411. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  412. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  413. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  414. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  415. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  416. package/dist/database/migration/20260323234822_events.js +1 -1
  417. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  418. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  419. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  420. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  421. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  422. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  423. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  424. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  425. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  426. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  427. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  428. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  429. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  430. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  431. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  432. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  433. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  434. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  435. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  436. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  437. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  438. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  439. package/dist/database/migration/20260611035744_credential.js +1 -1
  440. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  441. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  442. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  443. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  444. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  445. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  446. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  447. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  448. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  449. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  450. package/dist/database/migration/20260812213948_worktree.js +1 -1
  451. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  452. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  453. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  454. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  455. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  456. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  457. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  458. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  459. package/dist/database/migration/20261025123711_blob.js +1 -1
  460. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  461. package/dist/database/migration/20261026223005_schedule.js +1 -1
  462. package/dist/database/migration/20261029002625_session_part.js +1 -1
  463. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  464. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  465. package/dist/database/migration/20261030054400_job.js +1 -1
  466. package/dist/database/migration.gen.js +60 -60
  467. package/dist/database/migration.js +76 -76
  468. package/dist/database/path.js +2 -2
  469. package/dist/database/schema.gen.js +1 -1
  470. package/dist/database/schema.sql.js +1 -1
  471. package/dist/database/v1-migration.bun.js +105 -105
  472. package/dist/database/v1-migration.js +1 -1
  473. package/dist/effect/app-node-builder.js +434 -434
  474. package/dist/effect/app-node-platform.js +2 -2
  475. package/dist/effect/keyed-mutex.js +3 -3
  476. package/dist/effect/websocket-constructor.js +1 -1
  477. package/dist/environment/driver.js +1 -1
  478. package/dist/environment/environment.js +105 -105
  479. package/dist/environment/exec-defaults.js +2 -2
  480. package/dist/environment/files.js +1 -1
  481. package/dist/environment/index.js +108 -108
  482. package/dist/environment/local.js +2 -2
  483. package/dist/environment/memory.js +2 -2
  484. package/dist/environment/unavailable.js +3 -3
  485. package/dist/event/sql.js +1 -1
  486. package/dist/event-logger.js +85 -85
  487. package/dist/file-access.js +160 -160
  488. package/dist/file-mutation.js +108 -108
  489. package/dist/file-retention.js +1 -1
  490. package/dist/file-write.js +164 -164
  491. package/dist/filesystem/fff.bun.js +2 -2
  492. package/dist/filesystem/fff.js +1 -1
  493. package/dist/filesystem/fff.node.js +2 -2
  494. package/dist/filesystem/fff.workerd.js +2 -2
  495. package/dist/filesystem/file-watch.js +91 -91
  496. package/dist/filesystem/location-watcher-policy.js +6 -6
  497. package/dist/filesystem/location-watcher.js +251 -251
  498. package/dist/filesystem/protected.js +3 -3
  499. package/dist/filesystem/search.js +113 -113
  500. package/dist/filesystem/watcher-binding.js +1 -1
  501. package/dist/filesystem/watcher.js +9 -9
  502. package/dist/filesystem.js +116 -116
  503. package/dist/flag.js +127 -127
  504. package/dist/form.js +95 -95
  505. package/dist/formatter/builtins.js +4 -4
  506. package/dist/formatter.js +100 -100
  507. package/dist/generate.js +120 -120
  508. package/dist/git.js +11 -11
  509. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  510. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  511. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  512. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  513. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  514. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  515. package/dist/github-copilot/copilot-provider.js +17 -17
  516. package/dist/github-copilot/models.js +104 -104
  517. package/dist/github-copilot/openai-compatible-error.js +1 -1
  518. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  519. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  520. package/dist/github-copilot/responses/openai-error.js +1 -1
  521. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  522. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  523. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  524. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  525. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  526. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  527. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  528. package/dist/image/notice.js +1 -1
  529. package/dist/image/photon-normalize.js +1 -1
  530. package/dist/image/photon-worker.js +1 -1
  531. package/dist/image/photon.js +4 -4
  532. package/dist/image.js +6 -6
  533. package/dist/instance/service.js +1 -1
  534. package/dist/instance.js +427 -427
  535. package/dist/instruction-discovery.js +87 -87
  536. package/dist/instructions/builtins.js +100 -100
  537. package/dist/instructions/index.js +1 -1
  538. package/dist/integration/connection.js +3 -3
  539. package/dist/integration.js +100 -100
  540. package/dist/job/list.js +5 -5
  541. package/dist/job/recovery.js +2 -2
  542. package/dist/job/sql.js +2 -2
  543. package/dist/job.js +88 -88
  544. package/dist/kv/sql.js +2 -2
  545. package/dist/kv.js +84 -84
  546. package/dist/location-activity.js +182 -182
  547. package/dist/location-lifecycle.js +153 -153
  548. package/dist/location-service-map.js +99 -99
  549. package/dist/location-services.js +428 -428
  550. package/dist/location.js +102 -102
  551. package/dist/managed-policy.js +3 -3
  552. package/dist/mcp/client.js +158 -158
  553. package/dist/mcp/connection.js +104 -104
  554. package/dist/mcp/index.js +118 -118
  555. package/dist/mcp/instructions.js +187 -187
  556. package/dist/mcp/oauth.js +89 -89
  557. package/dist/mcp/pool.js +110 -110
  558. package/dist/mcp/socket-client.js +1 -1
  559. package/dist/mcp/stdio.js +157 -157
  560. package/dist/mime.js +1 -1
  561. package/dist/modal/models.js +104 -104
  562. package/dist/model-resolver.js +110 -110
  563. package/dist/model-retry.js +1 -1
  564. package/dist/model.js +109 -109
  565. package/dist/models-dev/v1.js +1 -1
  566. package/dist/models-dev.js +115 -115
  567. package/dist/oauth/page.js +1 -1
  568. package/dist/permission/saved.js +89 -89
  569. package/dist/permission/sql.js +5 -5
  570. package/dist/permission.js +154 -154
  571. package/dist/persistent-pty/binary.bun.js +1 -1
  572. package/dist/persistent-pty/daemon.js +1 -1
  573. package/dist/persistent-pty/index.js +93 -93
  574. package/dist/persistent-pty/pty-binding.js +1 -1
  575. package/dist/persistent-pty.js +86 -86
  576. package/dist/plugin/agent.js +87 -87
  577. package/dist/plugin/command.js +119 -119
  578. package/dist/plugin/goal.js +3 -3
  579. package/dist/plugin/hooks.js +5 -5
  580. package/dist/plugin/host.js +244 -244
  581. package/dist/plugin/identity.js +5 -5
  582. package/dist/plugin/instance.js +5 -5
  583. package/dist/plugin/internal.js +407 -407
  584. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  585. package/dist/plugin/models-dev.js +110 -110
  586. package/dist/plugin/module.js +129 -129
  587. package/dist/plugin/optimize.js +2 -2
  588. package/dist/plugin/plan.js +149 -149
  589. package/dist/plugin/promise.js +1 -1
  590. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  591. package/dist/plugin/provider/azure.js +133 -133
  592. package/dist/plugin/provider/cerebras.js +1 -1
  593. package/dist/plugin/provider/chatgpt.js +133 -133
  594. package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
  595. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  596. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  597. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  598. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  599. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  600. package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
  601. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  602. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  603. package/dist/plugin/provider/claude-agent/index.js +148 -148
  604. package/dist/plugin/provider/claude-agent/instructions.js +114 -114
  605. package/dist/plugin/provider/claude-agent/integration.js +115 -115
  606. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  607. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  608. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  609. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  610. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  611. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  612. package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
  613. package/dist/plugin/provider/claude-agent/provider.js +110 -110
  614. package/dist/plugin/provider/claude-agent/session.js +114 -114
  615. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  616. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  617. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  618. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  619. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  620. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  621. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  622. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  623. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  624. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  625. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  626. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  627. package/dist/plugin/provider/configured.js +126 -126
  628. package/dist/plugin/provider/credential-settings.js +88 -88
  629. package/dist/plugin/provider/databricks.js +1 -1
  630. package/dist/plugin/provider/digitalocean.js +109 -109
  631. package/dist/plugin/provider/dynamic.js +2 -2
  632. package/dist/plugin/provider/github-copilot.js +111 -111
  633. package/dist/plugin/provider/gitlab.js +109 -109
  634. package/dist/plugin/provider/google-vertex.js +127 -127
  635. package/dist/plugin/provider/kilo.js +1 -1
  636. package/dist/plugin/provider/llmgateway.js +89 -89
  637. package/dist/plugin/provider/lmstudio.js +140 -140
  638. package/dist/plugin/provider/local.js +137 -137
  639. package/dist/plugin/provider/modal.js +108 -108
  640. package/dist/plugin/provider/neon.js +1 -1
  641. package/dist/plugin/provider/nvidia.js +1 -1
  642. package/dist/plugin/provider/ollama.js +140 -140
  643. package/dist/plugin/provider/openai-context-caps.js +106 -106
  644. package/dist/plugin/provider/openai.js +133 -133
  645. package/dist/plugin/provider/opencode.js +159 -159
  646. package/dist/plugin/provider/openrouter.js +104 -104
  647. package/dist/plugin/provider/poe.js +90 -90
  648. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  649. package/dist/plugin/provider/refresh.js +87 -87
  650. package/dist/plugin/provider/sap-ai-core.js +104 -104
  651. package/dist/plugin/provider/sdk-factory.js +1 -1
  652. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  653. package/dist/plugin/provider/vllm.js +140 -140
  654. package/dist/plugin/provider/xai.js +104 -104
  655. package/dist/plugin/provider/zenmux.js +1 -1
  656. package/dist/plugin/provider.js +237 -237
  657. package/dist/plugin/sdk.js +89 -89
  658. package/dist/plugin/service.js +3 -3
  659. package/dist/plugin/skill.js +152 -152
  660. package/dist/plugin/source-directory.js +1 -1
  661. package/dist/plugin/supervisor.js +417 -417
  662. package/dist/plugin/tool-input-repair.js +4 -4
  663. package/dist/plugin/update.js +6 -6
  664. package/dist/plugin/vcs/git.js +99 -99
  665. package/dist/plugin/vcs/hg.js +99 -99
  666. package/dist/plugin/verbosity.js +106 -106
  667. package/dist/plugin/warming.js +130 -130
  668. package/dist/plugin/websearch/exa.js +8 -8
  669. package/dist/plugin/websearch/firecrawl.js +9 -9
  670. package/dist/plugin/websearch/index.js +10 -10
  671. package/dist/plugin/websearch/mcp.js +6 -6
  672. package/dist/plugin/websearch/parallel.js +9 -9
  673. package/dist/plugin/websearch/provider.js +3 -3
  674. package/dist/plugin/websearch/tavily.js +5 -5
  675. package/dist/plugin/websearch/tinyfish.js +9 -9
  676. package/dist/plugin.js +249 -249
  677. package/dist/project/icon.js +5 -5
  678. package/dist/project/schema.js +8 -8
  679. package/dist/project/sql.js +4 -4
  680. package/dist/project.js +103 -103
  681. package/dist/provider.js +108 -108
  682. package/dist/pty/protocol.js +1 -1
  683. package/dist/pty/ticket.js +1 -1
  684. package/dist/pty.js +109 -109
  685. package/dist/reference/instructions.js +101 -101
  686. package/dist/reference.js +101 -101
  687. package/dist/repository-cache.js +93 -93
  688. package/dist/repository.js +1 -1
  689. package/dist/ripgrep/binary.js +2 -2
  690. package/dist/ripgrep.js +109 -109
  691. package/dist/rpc.js +99 -99
  692. package/dist/schedule/check.js +249 -249
  693. package/dist/schedule/sql.js +6 -6
  694. package/dist/schedule.js +263 -263
  695. package/dist/schema.js +1 -1
  696. package/dist/session/affinity.js +1 -1
  697. package/dist/session/background.js +1 -1
  698. package/dist/session/blob.js +132 -132
  699. package/dist/session/command.js +85 -85
  700. package/dist/session/compaction.js +175 -175
  701. package/dist/session/context.js +205 -205
  702. package/dist/session/diff.js +101 -101
  703. package/dist/session/environment.js +5 -5
  704. package/dist/session/error.js +5 -5
  705. package/dist/session/event.js +1 -1
  706. package/dist/session/execution/restart.js +247 -247
  707. package/dist/session/execution.js +163 -163
  708. package/dist/session/generate.js +204 -204
  709. package/dist/session/history.js +139 -139
  710. package/dist/session/inbox.js +144 -144
  711. package/dist/session/info.js +3 -3
  712. package/dist/session/instruction-entry.js +90 -90
  713. package/dist/session/instruction-state.js +8 -8
  714. package/dist/session/instructions.js +146 -146
  715. package/dist/session/message-updater.js +2 -2
  716. package/dist/session/message.js +1 -1
  717. package/dist/session/model-request.js +171 -171
  718. package/dist/session/model-transport.js +9 -9
  719. package/dist/session/move.js +167 -167
  720. package/dist/session/projector.js +144 -144
  721. package/dist/session/prompt.js +151 -151
  722. package/dist/session/recent-text.js +1 -1
  723. package/dist/session/revert.js +142 -142
  724. package/dist/session/run-coordinator.js +1 -1
  725. package/dist/session/runner/index.js +1 -1
  726. package/dist/session/runner/llm.js +256 -256
  727. package/dist/session/runner/max-steps.js +1 -1
  728. package/dist/session/runner/model.js +109 -109
  729. package/dist/session/runner/publish-llm-event.js +153 -153
  730. package/dist/session/runner/retry.js +5 -5
  731. package/dist/session/runner/step.js +164 -164
  732. package/dist/session/runner/to-llm-message.js +140 -140
  733. package/dist/session/schema.js +5 -5
  734. package/dist/session/session.js +186 -186
  735. package/dist/session/shell.js +145 -145
  736. package/dist/session/skill.js +150 -150
  737. package/dist/session/sql.js +5 -5
  738. package/dist/session/stats.js +85 -85
  739. package/dist/session/store.js +145 -145
  740. package/dist/session/stored.js +2 -2
  741. package/dist/session/subagent-completion.js +1 -1
  742. package/dist/session/subagent-job.js +237 -237
  743. package/dist/session/system-prompt.js +1 -1
  744. package/dist/session/title.js +203 -203
  745. package/dist/session/to-session-error.js +152 -152
  746. package/dist/session/transfer.js +245 -245
  747. package/dist/session/usage.js +3 -3
  748. package/dist/session.js +243 -243
  749. package/dist/shared-cache.js +5 -5
  750. package/dist/shell/parse.js +6 -6
  751. package/dist/shell/result.js +1 -1
  752. package/dist/shell/scan.js +1 -1
  753. package/dist/shell/select.js +9 -9
  754. package/dist/shell.js +147 -147
  755. package/dist/skill/discovery.js +6 -6
  756. package/dist/skill/instructions.js +152 -152
  757. package/dist/skill.js +155 -155
  758. package/dist/snapshot.js +104 -104
  759. package/dist/state.js +1 -1
  760. package/dist/tool/html-markdown.js +1 -1
  761. package/dist/tool/http-body.js +1 -1
  762. package/dist/tool/mcp.js +188 -188
  763. package/dist/tool/plugin/artifact.js +236 -236
  764. package/dist/tool/plugin/edit.js +170 -170
  765. package/dist/tool/plugin/file-diff.js +1 -1
  766. package/dist/tool/plugin/glob.js +174 -174
  767. package/dist/tool/plugin/grep.js +173 -173
  768. package/dist/tool/plugin/image-generate.js +247 -247
  769. package/dist/tool/plugin/mcp-resource.js +169 -169
  770. package/dist/tool/plugin/opencode.js +166 -166
  771. package/dist/tool/plugin/patch.js +171 -171
  772. package/dist/tool/plugin/question.js +149 -149
  773. package/dist/tool/plugin/read.js +175 -175
  774. package/dist/tool/plugin/schedule.js +255 -255
  775. package/dist/tool/plugin/shell.js +241 -241
  776. package/dist/tool/plugin/skill.js +158 -158
  777. package/dist/tool/plugin/subagent.js +244 -244
  778. package/dist/tool/plugin/todo.js +154 -154
  779. package/dist/tool/plugin/webfetch.js +160 -160
  780. package/dist/tool/plugin/websearch.js +156 -156
  781. package/dist/tool/plugin/write.js +171 -171
  782. package/dist/tool/read-filesystem.js +114 -114
  783. package/dist/tool/runtime.js +1 -1
  784. package/dist/tool/search.js +109 -109
  785. package/dist/tool-output.js +7 -7
  786. package/dist/tool.js +163 -163
  787. package/dist/usage-limits.js +96 -96
  788. package/dist/util/error-summary.js +1 -1
  789. package/dist/util/git-executable.js +3 -3
  790. package/dist/util/lazy.js +1 -1
  791. package/dist/util/slug.js +1 -1
  792. package/dist/util/token.js +1 -1
  793. package/dist/util/which.js +1 -1
  794. package/dist/util/wildcard.js +1 -1
  795. package/dist/v1/config/agent.js +5 -5
  796. package/dist/v1/config/command.js +3 -3
  797. package/dist/v1/config/mcp.js +4 -4
  798. package/dist/v1/config/migrate.js +105 -105
  799. package/dist/v1/config/permission.js +3 -3
  800. package/dist/v1/config/plugin.js +1 -1
  801. package/dist/v1/config/provider-options.js +1 -1
  802. package/dist/v1/config/provider.js +4 -4
  803. package/dist/variant.js +104 -104
  804. package/dist/vcs/patch.js +1 -1
  805. package/dist/vcs.js +102 -102
  806. package/dist/voice.js +101 -101
  807. package/dist/websearch.js +91 -91
  808. package/dist/wellknown/plugin.js +87 -87
  809. package/dist/wellknown.js +90 -90
  810. package/dist/workspace/driver.js +5 -5
  811. package/dist/workspace/sql.js +1 -1
  812. package/dist/workspace.js +93 -93
  813. package/dist/worktree/directory.js +2 -2
  814. package/dist/worktree/git.js +9 -9
  815. package/dist/worktree/sql.js +5 -5
  816. package/dist/worktree/strategies.js +102 -102
  817. package/dist/worktree.js +107 -107
  818. package/package.json +8 -8
  819. package/dist/chunks/filesystem-0hjndary.js +0 -26
  820. package/dist/chunks/filesystem-a610t88q.js +0 -18
  821. package/dist/chunks/filesystem-z829e1vf.js +0 -265
  822. /package/dist/chunks/{filesystem-0qkdqm5v.js → artifact-0qkdqm5v.js} +0 -0
  823. /package/dist/chunks/{filesystem-0zkw76rk.js → artifact-0zkw76rk.js} +0 -0
  824. /package/dist/chunks/{filesystem-108x4f4w.js → artifact-108x4f4w.js} +0 -0
  825. /package/dist/chunks/{filesystem-17cy0kzp.js → artifact-17cy0kzp.js} +0 -0
  826. /package/dist/chunks/{filesystem-1cnp2v09.js → artifact-1cnp2v09.js} +0 -0
  827. /package/dist/chunks/{filesystem-1kah00gy.js → artifact-1kah00gy.js} +0 -0
  828. /package/dist/chunks/{filesystem-24dcb14g.js → artifact-24dcb14g.js} +0 -0
  829. /package/dist/chunks/{filesystem-2710q6r3.js → artifact-2710q6r3.js} +0 -0
  830. /package/dist/chunks/{filesystem-2bv980vf.js → artifact-2bv980vf.js} +0 -0
  831. /package/dist/chunks/{filesystem-2c3vjs8z.js → artifact-2c3vjs8z.js} +0 -0
  832. /package/dist/chunks/{filesystem-359p4xyc.js → artifact-359p4xyc.js} +0 -0
  833. /package/dist/chunks/{filesystem-3af0jn4w.js → artifact-3af0jn4w.js} +0 -0
  834. /package/dist/chunks/{filesystem-3asan66x.js → artifact-3asan66x.js} +0 -0
  835. /package/dist/chunks/{filesystem-3v8g72cx.js → artifact-3v8g72cx.js} +0 -0
  836. /package/dist/chunks/{filesystem-3wcehsnq.js → artifact-3wcehsnq.js} +0 -0
  837. /package/dist/chunks/{filesystem-43n2bw4t.js → artifact-43n2bw4t.js} +0 -0
  838. /package/dist/chunks/{filesystem-4knz6hnm.js → artifact-4knz6hnm.js} +0 -0
  839. /package/dist/chunks/{filesystem-4qk9sjk2.js → artifact-4qk9sjk2.js} +0 -0
  840. /package/dist/chunks/{filesystem-4y7fprxs.js → artifact-4y7fprxs.js} +0 -0
  841. /package/dist/chunks/{filesystem-53557ph1.js → artifact-53557ph1.js} +0 -0
  842. /package/dist/chunks/{filesystem-550bvhaj.js → artifact-550bvhaj.js} +0 -0
  843. /package/dist/chunks/{filesystem-5w3e23ze.js → artifact-5w3e23ze.js} +0 -0
  844. /package/dist/chunks/{filesystem-6agm2x70.js → artifact-6agm2x70.js} +0 -0
  845. /package/dist/chunks/{filesystem-6prwharc.js → artifact-6prwharc.js} +0 -0
  846. /package/dist/chunks/{filesystem-6q2bdcd1.js → artifact-6q2bdcd1.js} +0 -0
  847. /package/dist/chunks/{filesystem-7akdwqpd.js → artifact-7akdwqpd.js} +0 -0
  848. /package/dist/chunks/{filesystem-7m9af43g.js → artifact-7m9af43g.js} +0 -0
  849. /package/dist/chunks/{filesystem-822emrt2.js → artifact-822emrt2.js} +0 -0
  850. /package/dist/chunks/{filesystem-84wd9syh.js → artifact-84wd9syh.js} +0 -0
  851. /package/dist/chunks/{filesystem-88xbtdfr.js → artifact-88xbtdfr.js} +0 -0
  852. /package/dist/chunks/{filesystem-8n3pysct.js → artifact-8n3pysct.js} +0 -0
  853. /package/dist/chunks/{filesystem-8wj87zfr.js → artifact-8wj87zfr.js} +0 -0
  854. /package/dist/chunks/{filesystem-9a4afbnw.js → artifact-9a4afbnw.js} +0 -0
  855. /package/dist/chunks/{filesystem-9rqn6x4v.js → artifact-9rqn6x4v.js} +0 -0
  856. /package/dist/chunks/{filesystem-a6k6eb26.js → artifact-a6k6eb26.js} +0 -0
  857. /package/dist/chunks/{filesystem-af5trqkr.js → artifact-af5trqkr.js} +0 -0
  858. /package/dist/chunks/{filesystem-afrmfg78.js → artifact-afrmfg78.js} +0 -0
  859. /package/dist/chunks/{filesystem-aqzs7mqg.js → artifact-aqzs7mqg.js} +0 -0
  860. /package/dist/chunks/{filesystem-atq7p7m5.js → artifact-atq7p7m5.js} +0 -0
  861. /package/dist/chunks/{filesystem-beh6qq61.js → artifact-beh6qq61.js} +0 -0
  862. /package/dist/chunks/{filesystem-bhmrqjy3.js → artifact-bhmrqjy3.js} +0 -0
  863. /package/dist/chunks/{filesystem-bkyjaxrp.js → artifact-bkyjaxrp.js} +0 -0
  864. /package/dist/chunks/{filesystem-bmr6ed5q.js → artifact-bmr6ed5q.js} +0 -0
  865. /package/dist/chunks/{filesystem-cf4snx6d.js → artifact-cf4snx6d.js} +0 -0
  866. /package/dist/chunks/{filesystem-cqv5kn06.js → artifact-cqv5kn06.js} +0 -0
  867. /package/dist/chunks/{filesystem-cvy3z8tj.js → artifact-cvy3z8tj.js} +0 -0
  868. /package/dist/chunks/{filesystem-d9fn303g.js → artifact-d9fn303g.js} +0 -0
  869. /package/dist/chunks/{filesystem-d9jj8t3e.js → artifact-d9jj8t3e.js} +0 -0
  870. /package/dist/chunks/{filesystem-dap0rakb.js → artifact-dap0rakb.js} +0 -0
  871. /package/dist/chunks/{filesystem-df08tz66.js → artifact-df08tz66.js} +0 -0
  872. /package/dist/chunks/{filesystem-dy18nga0.js → artifact-dy18nga0.js} +0 -0
  873. /package/dist/chunks/{filesystem-e5kj55wp.js → artifact-e5kj55wp.js} +0 -0
  874. /package/dist/chunks/{filesystem-ean2d8b5.js → artifact-ean2d8b5.js} +0 -0
  875. /package/dist/chunks/{filesystem-ec1grn59.js → artifact-ec1grn59.js} +0 -0
  876. /package/dist/chunks/{filesystem-emrn6kk6.js → artifact-emrn6kk6.js} +0 -0
  877. /package/dist/chunks/{filesystem-f0mxakyp.js → artifact-f0mxakyp.js} +0 -0
  878. /package/dist/chunks/{filesystem-f6n9ztr4.js → artifact-f6n9ztr4.js} +0 -0
  879. /package/dist/chunks/{filesystem-faypxj3z.js → artifact-faypxj3z.js} +0 -0
  880. /package/dist/chunks/{filesystem-fd410y7t.js → artifact-fd410y7t.js} +0 -0
  881. /package/dist/chunks/{filesystem-fkpq3x5p.js → artifact-fkpq3x5p.js} +0 -0
  882. /package/dist/chunks/{filesystem-g4wezp1m.js → artifact-g4wezp1m.js} +0 -0
  883. /package/dist/chunks/{filesystem-g86h250q.js → artifact-g86h250q.js} +0 -0
  884. /package/dist/chunks/{filesystem-gebd4c9n.js → artifact-gebd4c9n.js} +0 -0
  885. /package/dist/chunks/{filesystem-gftt206x.js → artifact-gftt206x.js} +0 -0
  886. /package/dist/chunks/{filesystem-hcxmzztb.js → artifact-hcxmzztb.js} +0 -0
  887. /package/dist/chunks/{filesystem-hk9envan.js → artifact-hk9envan.js} +0 -0
  888. /package/dist/chunks/{filesystem-j2ntwpah.js → artifact-j2ntwpah.js} +0 -0
  889. /package/dist/chunks/{filesystem-j5zkgpj8.js → artifact-j5zkgpj8.js} +0 -0
  890. /package/dist/chunks/{filesystem-jjkms2e6.js → artifact-jjkms2e6.js} +0 -0
  891. /package/dist/chunks/{filesystem-jr7sbwjy.js → artifact-jr7sbwjy.js} +0 -0
  892. /package/dist/chunks/{filesystem-jwfs4k6c.js → artifact-jwfs4k6c.js} +0 -0
  893. /package/dist/chunks/{filesystem-jwr30sdr.js → artifact-jwr30sdr.js} +0 -0
  894. /package/dist/chunks/{filesystem-jzg6c2d5.js → artifact-jzg6c2d5.js} +0 -0
  895. /package/dist/chunks/{filesystem-m18g726c.js → artifact-m18g726c.js} +0 -0
  896. /package/dist/chunks/{filesystem-mp448xyj.js → artifact-mp448xyj.js} +0 -0
  897. /package/dist/chunks/{filesystem-msx8hqn2.js → artifact-msx8hqn2.js} +0 -0
  898. /package/dist/chunks/{filesystem-n05xt0ee.js → artifact-n05xt0ee.js} +0 -0
  899. /package/dist/chunks/{filesystem-n3j8tn72.js → artifact-n3j8tn72.js} +0 -0
  900. /package/dist/chunks/{filesystem-nh4v3znn.js → artifact-nh4v3znn.js} +0 -0
  901. /package/dist/chunks/{filesystem-njntx4h6.js → artifact-njntx4h6.js} +0 -0
  902. /package/dist/chunks/{filesystem-p71gwv9c.js → artifact-p71gwv9c.js} +0 -0
  903. /package/dist/chunks/{filesystem-q3sfg36h.js → artifact-q3sfg36h.js} +0 -0
  904. /package/dist/chunks/{filesystem-q74kybfr.js → artifact-q74kybfr.js} +0 -0
  905. /package/dist/chunks/{filesystem-qb87gjwd.js → artifact-qb87gjwd.js} +0 -0
  906. /package/dist/chunks/{filesystem-qfa1cgps.js → artifact-qfa1cgps.js} +0 -0
  907. /package/dist/chunks/{filesystem-qg3g05ea.js → artifact-qg3g05ea.js} +0 -0
  908. /package/dist/chunks/{filesystem-qrg20bc0.js → artifact-qrg20bc0.js} +0 -0
  909. /package/dist/chunks/{filesystem-rcb2kzg1.js → artifact-rcb2kzg1.js} +0 -0
  910. /package/dist/chunks/{filesystem-sdp7kfr6.js → artifact-sdp7kfr6.js} +0 -0
  911. /package/dist/chunks/{filesystem-ssg3fenm.js → artifact-ssg3fenm.js} +0 -0
  912. /package/dist/chunks/{filesystem-syrav9an.js → artifact-syrav9an.js} +0 -0
  913. /package/dist/chunks/{filesystem-t03h4f5z.js → artifact-t03h4f5z.js} +0 -0
  914. /package/dist/chunks/{filesystem-ty7weeps.js → artifact-ty7weeps.js} +0 -0
  915. /package/dist/chunks/{filesystem-ve7vex1e.js → artifact-ve7vex1e.js} +0 -0
  916. /package/dist/chunks/{filesystem-vtarvj67.js → artifact-vtarvj67.js} +0 -0
  917. /package/dist/chunks/{filesystem-w803qqfp.js → artifact-w803qqfp.js} +0 -0
  918. /package/dist/chunks/{filesystem-wc3fc9cn.js → artifact-wc3fc9cn.js} +0 -0
  919. /package/dist/chunks/{filesystem-wer8tq1h.js → artifact-wer8tq1h.js} +0 -0
  920. /package/dist/chunks/{filesystem-wtztk69x.js → artifact-wtztk69x.js} +0 -0
  921. /package/dist/chunks/{filesystem-x0ckcb58.js → artifact-x0ckcb58.js} +0 -0
  922. /package/dist/chunks/{filesystem-x4th4bpe.js → artifact-x4th4bpe.js} +0 -0
  923. /package/dist/chunks/{filesystem-x61499pn.js → artifact-x61499pn.js} +0 -0
  924. /package/dist/chunks/{filesystem-y44na4kk.js → artifact-y44na4kk.js} +0 -0
  925. /package/dist/chunks/{filesystem-y8f7s663.js → artifact-y8f7s663.js} +0 -0
  926. /package/dist/chunks/{filesystem-ygaqb7jw.js → artifact-ygaqb7jw.js} +0 -0
  927. /package/dist/chunks/{filesystem-z0h12gs8.js → artifact-z0h12gs8.js} +0 -0
  928. /package/dist/chunks/{filesystem-z5v4ffb3.js → artifact-z5v4ffb3.js} +0 -0
  929. /package/dist/chunks/{filesystem-z9919s4g.js → artifact-z9919s4g.js} +0 -0
  930. /package/dist/chunks/{filesystem-zxpyjp51.js → artifact-zxpyjp51.js} +0 -0
@@ -1,57 +1,57 @@
1
1
  import {
2
- Service90,
3
- node93
4
- } from "./filesystem-gzmww30b.js";
2
+ Service89,
3
+ node92
4
+ } from "./artifact-j68k6m80.js";
5
5
  import {
6
6
  parse5,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./filesystem-xd9cc171.js";
11
+ } from "./artifact-xd9cc171.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./filesystem-z5v4ffb3.js";
14
+ } from "./artifact-z5v4ffb3.js";
15
15
  import {
16
- Service84,
17
- node87
18
- } from "./filesystem-bebc0q7y.js";
16
+ Service87,
17
+ node90
18
+ } from "./artifact-xe31a7yj.js";
19
19
  import {
20
20
  changes2,
21
21
  create4
22
- } from "./filesystem-40y6dtc2.js";
22
+ } from "./artifact-40y6dtc2.js";
23
23
  import {
24
24
  __export
25
- } from "./filesystem-9rqn6x4v.js";
25
+ } from "./artifact-9rqn6x4v.js";
26
26
 
27
27
  // src/reference.ts
28
28
  var exports_reference2 = {};
29
29
  __export(exports_reference2, {
30
- Event: () => Event20,
30
+ Event: () => Event21,
31
31
  GitSource: () => GitSource2,
32
- Info: () => Info29,
32
+ Info: () => Info32,
33
33
  LocalSource: () => LocalSource2,
34
34
  Reference: () => exports_reference2,
35
- Service: () => Service83,
35
+ Service: () => Service86,
36
36
  Source: () => Source5,
37
- node: () => node86
37
+ node: () => node89
38
38
  });
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import { Context, Effect, Layer, Scope } from "effect";
41
41
  import { Reference } from "@opencode/schema/reference";
42
42
  import { Global } from "@opencode/util/global";
43
- import { Event as Event20 } from "@opencode/schema/reference";
43
+ import { Event as Event21 } from "@opencode/schema/reference";
44
44
  var LocalSource2 = Reference.LocalSource;
45
45
  var GitSource2 = Reference.GitSource;
46
46
  var Source5 = Reference.Source;
47
- var Info29 = Reference.Info;
47
+ var Info32 = Reference.Info;
48
48
 
49
- class Service83 extends Context.Service()("@opencode/Reference") {
49
+ class Service86 extends Context.Service()("@opencode/Reference") {
50
50
  }
51
- var layer = Layer.effect(Service83, Effect.gen(function* () {
51
+ var layer = Layer.effect(Service86, Effect.gen(function* () {
52
52
  const global = yield* Global.Service;
53
- const bus = yield* Service90;
54
- const cache = yield* Service84;
53
+ const bus = yield* Service89;
54
+ const cache = yield* Service87;
55
55
  const scope = yield* Scope.Scope;
56
56
  const list = (data = state.get()) => Array.from(data.sources).flatMap(([name, source]) => {
57
57
  const info = {
@@ -61,7 +61,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
61
61
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
62
62
  };
63
63
  if (source.type === "local")
64
- return [Info29.make({ ...info, path: source.path })];
64
+ return [Info32.make({ ...info, path: source.path })];
65
65
  const repository = parse5(source.repository);
66
66
  if (!repository || !isRemote2(repository))
67
67
  return [];
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
73
73
  }
74
74
  }
75
75
  return [
76
- Info29.make({
76
+ Info32.make({
77
77
  ...info,
78
78
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
79
79
  })
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
105
105
  }))
106
106
  });
107
107
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
108
- return Service83.of({
108
+ return Service86.of({
109
109
  transform: state.transform,
110
110
  reload: state.reload,
111
111
  list: Effect.fn("Reference.list")(function* () {
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
113
113
  })
114
114
  });
115
115
  }));
116
- var node86 = makeLocationNode({
117
- service: Service83,
116
+ var node89 = makeLocationNode({
117
+ service: Service86,
118
118
  layer,
119
- deps: [Global.node, node93, node87]
119
+ deps: [Global.node, node92, node90]
120
120
  });
121
121
 
122
- export { LocalSource2, GitSource2, Source5, Info29, Service83, node86, exports_reference2, Event20 };
122
+ export { LocalSource2, GitSource2, Source5, Info32, Service86, node89, exports_reference2, Event21 };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  Service91
3
- } from "./filesystem-2q2xjc3y.js";
3
+ } from "./artifact-0svkmnha.js";
4
4
  import {
5
- Service49
6
- } from "./filesystem-g5gt5c3n.js";
5
+ Service50
6
+ } from "./artifact-1zxrx0km.js";
7
7
  import {
8
8
  detect2
9
- } from "./filesystem-4pyp9zr9.js";
9
+ } from "./artifact-4pyp9zr9.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./filesystem-a610t88q.js";
12
+ } from "./artifact-v8vhf2as.js";
13
13
  import {
14
- Service68
15
- } from "./filesystem-7f840skq.js";
14
+ Service72
15
+ } from "./artifact-s5zrq09q.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./filesystem-ygnyxm4b.js";
19
+ } from "./artifact-haf3e1p5.js";
20
20
  import {
21
21
  Ref2,
22
22
  refHash2
23
- } from "./filesystem-fg9p65nk.js";
23
+ } from "./artifact-fg9p65nk.js";
24
24
  import {
25
25
  read4
26
- } from "./filesystem-x1nvxta7.js";
26
+ } from "./artifact-f5cyjz2c.js";
27
27
  import {
28
28
  prepare3,
29
- Service44
30
- } from "./filesystem-2m7evczf.js";
29
+ Service45
30
+ } from "./artifact-acyqypdd.js";
31
31
  import {
32
32
  __export
33
- } from "./filesystem-9rqn6x4v.js";
33
+ } from "./artifact-9rqn6x4v.js";
34
34
 
35
35
  // src/session/prompt.ts
36
36
  var exports_prompt = {};
@@ -48,7 +48,7 @@ var RESIZABLE_IMAGE_MIMES = new Set(["image/png", "image/jpeg", "image/gif", "im
48
48
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
49
49
  const fs = yield* FSUtil.Service;
50
50
  yield* awaitActivation2;
51
- const hooks = yield* Service68;
51
+ const hooks = yield* Service72;
52
52
  const event = yield* hooks.trigger("session", "prompt", {
53
53
  sessionID: request.session.id,
54
54
  messageID: request.messageID,
@@ -67,7 +67,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
67
67
  const selected = yield* Effect.gen(function* () {
68
68
  if (!requested?.length)
69
69
  return;
70
- const skillService = yield* Service44;
70
+ const skillService = yield* Service45;
71
71
  const prepared = new Map;
72
72
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
73
73
  const name = prepared.get(attachment.id);
@@ -142,7 +142,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
142
142
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
143
143
  if (!RESIZABLE_IMAGE_MIMES.has(mime))
144
144
  return { data: Base64.make(data), mime };
145
- const image = yield* Service49;
145
+ const image = yield* Service50;
146
146
  const label = attachmentLabel(input);
147
147
  const content = { uri: label, content: data, encoding: "base64", mime };
148
148
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./filesystem-p7b25p4c.js";
3
+ } from "./artifact-jpvs5h9c.js";
4
4
  import {
5
- register2
6
- } from "./filesystem-xjr6c8m4.js";
5
+ register3
6
+ } from "./artifact-xxschbft.js";
7
7
  import {
8
8
  __export
9
- } from "./filesystem-9rqn6x4v.js";
9
+ } from "./artifact-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/tavily.ts
12
12
  var exports_tavily = {};
13
13
  __export(exports_tavily, {
14
- Plugin: () => Plugin7,
14
+ Plugin: () => Plugin40,
15
15
  WebSearchTavily: () => exports_tavily,
16
16
  endpoint: () => endpoint5
17
17
  });
@@ -32,11 +32,11 @@ var SearchResponse = Schema.Struct({
32
32
  content: Schema.String
33
33
  }))
34
34
  });
35
- var Plugin7 = define({
35
+ var Plugin40 = define({
36
36
  id: "opencode.websearch.tavily",
37
37
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
38
38
  const http = yield* HttpClient.HttpClient;
39
- yield* register2(ctx, {
39
+ yield* register3(ctx, {
40
40
  id: "tavily",
41
41
  name: "Tavily",
42
42
  env: "TAVILY_API_KEY",
@@ -66,4 +66,4 @@ var Plugin7 = define({
66
66
  })
67
67
  });
68
68
 
69
- export { endpoint5, Plugin7, exports_tavily };
69
+ export { endpoint5, Plugin40, exports_tavily };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./artifact-9rqn6x4v.js";
4
4
 
5
5
  // src/session/background.ts
6
6
  var exports_background = {};
@@ -1,54 +1,54 @@
1
+ import {
2
+ Service89,
3
+ node92
4
+ } from "./artifact-j68k6m80.js";
1
5
  import {
2
6
  Service90,
3
7
  node93
4
- } from "./filesystem-gzmww30b.js";
5
- import {
6
- Service92,
7
- node95
8
- } from "./filesystem-qgxpp3m1.js";
8
+ } from "./artifact-ap1xahee.js";
9
9
  import {
10
- Service88,
11
- node91
12
- } from "./filesystem-48wvk849.js";
10
+ Service81,
11
+ node84
12
+ } from "./artifact-01nta593.js";
13
13
  import {
14
- Service70,
15
- node71
16
- } from "./filesystem-6xgbgdv6.js";
14
+ Service77,
15
+ node79
16
+ } from "./artifact-7fqzwmsk.js";
17
17
  import {
18
18
  awaitActivation2
19
- } from "./filesystem-a610t88q.js";
19
+ } from "./artifact-v8vhf2as.js";
20
20
  import {
21
- node24
22
- } from "./filesystem-afx89y6e.js";
21
+ node23
22
+ } from "./artifact-2jgc8kcd.js";
23
23
  import {
24
- Service10,
25
- node12
26
- } from "./filesystem-teav1bzy.js";
24
+ Service8,
25
+ node10
26
+ } from "./artifact-6h8vcvjm.js";
27
27
  import {
28
28
  __export
29
- } from "./filesystem-9rqn6x4v.js";
29
+ } from "./artifact-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
32
  var exports_location_watcher = {};
33
33
  __export(exports_location_watcher, {
34
34
  LocationWatcher: () => exports_location_watcher,
35
- Service: () => Service7,
36
- node: () => node9
35
+ Service: () => Service3,
36
+ node: () => node4
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service7 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service3 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service7, Effect.gen(function* () {
46
- const location = yield* Service88;
47
- const watcher = yield* Service70;
48
- const bus = yield* Service90;
45
+ var layer = Layer.effect(Service3, Effect.gen(function* () {
46
+ const location = yield* Service81;
47
+ const watcher = yield* Service77;
48
+ const bus = yield* Service89;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service92;
51
- const policy = yield* Service10;
50
+ const git = yield* Service90;
51
+ const policy = yield* Service8;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service7.of({});
103
+ return Service3.of({});
104
104
  }));
105
- var node9 = makeLocationNode({
106
- service: Service7,
105
+ var node4 = makeLocationNode({
106
+ service: Service3,
107
107
  layer,
108
- deps: [node71, FSUtil.node, node91, node95, node93, node24, node12]
108
+ deps: [node79, FSUtil.node, node84, node93, node92, node23, node10]
109
109
  });
110
110
 
111
- export { Service7, node9, exports_location_watcher };
111
+ export { Service3, node4, exports_location_watcher };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  isTextual2
3
- } from "./filesystem-4pyp9zr9.js";
3
+ } from "./artifact-4pyp9zr9.js";
4
4
  import {
5
5
  invocation2,
6
- Service64
7
- } from "./filesystem-jqrvh40r.js";
6
+ Service69
7
+ } from "./artifact-n367pce1.js";
8
8
  import {
9
9
  MAX_MARKDOWN_BYTES2,
10
10
  convertHTMLToMarkdown2
11
- } from "./filesystem-zxpyjp51.js";
11
+ } from "./artifact-zxpyjp51.js";
12
12
  import {
13
13
  collectBoundedResponseBody2
14
- } from "./filesystem-3v8g72cx.js";
14
+ } from "./artifact-3v8g72cx.js";
15
15
  import {
16
16
  __export
17
- } from "./filesystem-9rqn6x4v.js";
17
+ } from "./artifact-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: () => Input4,
23
+ Input: () => Input10,
24
24
  MAX_REDIRECTS: () => MAX_REDIRECTS2,
25
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
25
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
26
26
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
27
- Plugin: () => Plugin22,
27
+ Plugin: () => Plugin11,
28
28
  WebFetchTool: () => exports_webfetch,
29
29
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
30
- description: () => description3,
30
+ description: () => description4,
31
31
  extractTextFromHTML: () => extractTextFromHTML2,
32
- name: () => name4
32
+ name: () => name10
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 name4 = "webfetch";
39
- var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
38
+ var name10 = "webfetch";
39
+ var MAX_RESPONSE_BYTES2 = 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 description4 = `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 Input4 = Schema.Struct({
46
+ var Input10 = 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 Input4 = Schema.Struct({
53
53
  var Output = Schema.Struct({
54
54
  url: Schema.String,
55
55
  contentType: Schema.String,
56
- format: Input4.fields.format,
56
+ format: Input10.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_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
110
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} 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 Plugin22 = {
122
+ var Plugin11 = {
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* Service64;
126
+ const permission = yield* Service69;
127
127
  yield* ctx.tool.transform((editor) => editor.add({
128
- name: name4,
128
+ name: name10,
129
129
  options: { codemode: false },
130
- description: description3,
131
- input: Input4,
130
+ description: description4,
131
+ input: Input10,
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 Plugin22 = {
137
137
  catch: (error) => error
138
138
  });
139
139
  yield* permission.assert({
140
- action: name4,
140
+ action: name10,
141
141
  resources: [url],
142
142
  save: ["*"],
143
143
  metadata: input,
@@ -145,7 +145,7 @@ var Plugin22 = {
145
145
  });
146
146
  const { body, contentType } = yield* Effect.gen(function* () {
147
147
  const check = (next) => permission.assertNotDenied({
148
- action: name4,
148
+ action: name10,
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 { name4, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input4, MAX_REDIRECTS2, Plugin22, extractTextFromHTML2, exports_webfetch };
202
+ export { name10, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input10, MAX_REDIRECTS2, Plugin11, extractTextFromHTML2, exports_webfetch };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./filesystem-z5v4ffb3.js";
3
+ } from "./artifact-z5v4ffb3.js";
4
4
  import {
5
5
  WorktreeError2
6
- } from "./filesystem-qgxpp3m1.js";
6
+ } from "./artifact-ap1xahee.js";
7
7
  import {
8
8
  Slug2
9
- } from "./filesystem-gebd4c9n.js";
9
+ } from "./artifact-gebd4c9n.js";
10
10
  import {
11
11
  Service91,
12
12
  node94
13
- } from "./filesystem-2q2xjc3y.js";
13
+ } from "./artifact-0svkmnha.js";
14
14
  import {
15
- Service90,
16
- node93
17
- } from "./filesystem-gzmww30b.js";
15
+ Service89,
16
+ node92
17
+ } from "./artifact-j68k6m80.js";
18
18
  import {
19
19
  ProjectTable2
20
- } from "./filesystem-aj7mw0zk.js";
20
+ } from "./artifact-034tev2y.js";
21
21
  import {
22
22
  WorktreeTable2
23
- } from "./filesystem-3cbjf1nt.js";
23
+ } from "./artifact-ayjs7tqn.js";
24
24
  import {
25
- ID21,
26
- NotFoundError14
27
- } from "./filesystem-20bx7jp1.js";
25
+ ID17,
26
+ NotFoundError13
27
+ } from "./artifact-phs7kmvd.js";
28
28
  import {
29
- Ref5
30
- } from "./filesystem-48wvk849.js";
29
+ Ref4
30
+ } from "./artifact-01nta593.js";
31
31
  import {
32
- Service63,
33
- node64
34
- } from "./filesystem-qghv1qvb.js";
32
+ Service60,
33
+ node61
34
+ } from "./artifact-088wmh5f.js";
35
35
  import {
36
36
  DirectoryUnavailableError2,
37
37
  canonical2
38
- } from "./filesystem-d4v9tmah.js";
38
+ } from "./artifact-d4v9tmah.js";
39
39
  import {
40
- Service26
41
- } from "./filesystem-ngrxenw8.js";
40
+ Service22
41
+ } from "./artifact-0mfaebw6.js";
42
42
  import {
43
43
  __export
44
- } from "./filesystem-9rqn6x4v.js";
44
+ } from "./artifact-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
49
49
  CreateInput: () => CreateInput4,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event6,
52
+ Event: () => Event5,
53
53
  Info: () => Info7,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry2,
57
57
  OperationError: () => OperationError2,
58
58
  RemoveInput: () => RemoveInput2,
59
- Service: () => Service25,
59
+ Service: () => Service21,
60
60
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
61
61
  StrategyID: () => StrategyID2,
62
62
  StrategyUnavailableError: () => StrategyUnavailableError2,
63
63
  Worktree: () => exports_worktree2,
64
- node: () => node28
64
+ node: () => node24
65
65
  });
66
66
  import { Context, Effect, Layer, Schema } from "effect";
67
67
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -79,7 +79,7 @@ var Info7 = Worktree.Info;
79
79
  var List2 = Worktree.List;
80
80
  var ListEntry2 = Worktree.ListEntry;
81
81
 
82
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID21, directory: Schema.optional(AbsolutePath2) }) {
82
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
83
83
  }
84
84
 
85
85
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -90,21 +90,21 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
90
90
 
91
91
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
92
92
  }
93
- var Event6 = Worktree.Event;
93
+ var Event5 = Worktree.Event;
94
94
 
95
- class Service25 extends Context.Service()("@opencode/Worktree") {
95
+ class Service21 extends Context.Service()("@opencode/Worktree") {
96
96
  }
97
- var layer = Layer.effect(Service25, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
99
  const database = yield* Service91;
100
100
  const db = database.db;
101
- const bus = yield* Service90;
101
+ const bus = yield* Service89;
102
102
  const processService = yield* AppProcess.Service;
103
- const locations = yield* Service63;
103
+ const locations = yield* Service60;
104
104
  const project = Effect.fnUntraced(function* (projectID) {
105
105
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
106
106
  if (!row)
107
- return yield* new NotFoundError14({ projectID });
107
+ return yield* new NotFoundError13({ projectID });
108
108
  return row;
109
109
  });
110
110
  const load = Effect.fnUntraced(function* (directory, current) {
@@ -113,13 +113,13 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
113
113
  if (current?.directory === directory)
114
114
  return current.get();
115
115
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
116
- const context = yield* locations.contextEffect(Ref5.make({ directory }));
116
+ const context = yield* locations.contextEffect(Ref4.make({ directory }));
117
117
  yield* Context.get(context, Plugin.Service).awaitActivation;
118
- return Context.get(context, Service26).get();
118
+ return Context.get(context, Service22).get();
119
119
  });
120
120
  const changed = Effect.fnUntraced(function* (projectID, update) {
121
121
  if (update)
122
- yield* bus.publish(Event6.Updated, { projectID });
122
+ yield* bus.publish(Event5.Updated, { projectID });
123
123
  });
124
124
  const ops = {
125
125
  list: Effect.fnUntraced(function* (projectID) {
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
246
246
  })).pipe(Effect.orDie);
247
247
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
248
248
  }, Effect.scoped);
249
- return Service25.of({
249
+ return Service21.of({
250
250
  list: Effect.fn("Worktree.list")(function* (input) {
251
251
  yield* project(input.projectID);
252
252
  return yield* ops.list(input.projectID);
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
256
256
  refresh
257
257
  });
258
258
  }));
259
- var node28 = Node.makeGlobalNode({
260
- service: Service25,
259
+ var node24 = Node.makeGlobalNode({
260
+ service: Service21,
261
261
  layer,
262
- deps: [FSUtil.node, node93, node94, AppProcess.node, node64]
262
+ deps: [FSUtil.node, node92, node94, AppProcess.node, node61]
263
263
  });
264
264
  function operationError(strategy, operation, error) {
265
265
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
269
269
  });
270
270
  }
271
271
 
272
- export { StrategyID2, CreateInput4, RemoveInput2, Info7, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service25, node28, exports_worktree2, OperationError2 };
272
+ export { StrategyID2, CreateInput4, RemoveInput2, Info7, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event5, Service21, node24, exports_worktree2, OperationError2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./filesystem-gftt206x.js";
3
+ } from "./artifact-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./filesystem-9rqn6x4v.js";
6
+ } from "./artifact-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};