@opencode/core 0.0.0-dev-703 → 0.0.0-dev-724

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 +94 -94
  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 +254 -254
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{flag-aj7mw0zk.js → agent-034tev2y.js} +2 -2
  9. package/dist/chunks/{flag-7jmkd9gk.js → agent-0699g30z.js} +8 -8
  10. package/dist/chunks/agent-0bcfs57j.js +265 -0
  11. package/dist/chunks/{flag-prev81pe.js → agent-0j2ngfqx.js} +10 -10
  12. package/dist/chunks/{flag-0j7gp832.js → agent-0j7gp832.js} +1 -1
  13. package/dist/chunks/{flag-0ma9gw4f.js → agent-0ma9gw4f.js} +2 -2
  14. package/dist/chunks/{flag-s7agjm8x.js → agent-0qccc6r6.js} +32 -32
  15. package/dist/chunks/{flag-p8x3s9s0.js → agent-0vn9zqn2.js} +14 -14
  16. package/dist/chunks/{flag-zxgv4zyy.js → agent-0wpbjwe4.js} +37 -37
  17. package/dist/chunks/{flag-p1yctq83.js → agent-0wqvtycd.js} +3 -3
  18. package/dist/chunks/{flag-h45fex01.js → agent-0yxtqpz7.js} +18 -18
  19. package/dist/chunks/{flag-ddvn7d3w.js → agent-160yv0cs.js} +8 -8
  20. package/dist/chunks/{flag-1aqsckx4.js → agent-1aqsckx4.js} +1 -1
  21. package/dist/chunks/{flag-cgf9sdf9.js → agent-1bnb2w0q.js} +346 -346
  22. package/dist/chunks/{flag-dv64j6bj.js → agent-1dsh2pge.js} +6 -6
  23. package/dist/chunks/{flag-27w5k9zf.js → agent-1ep2p91f.js} +2 -2
  24. package/dist/chunks/{flag-f9qc2wt8.js → agent-1mp63k31.js} +43 -43
  25. package/dist/chunks/{flag-7m7yw9xb.js → agent-1n0kq262.js} +19 -19
  26. package/dist/chunks/{flag-tbesfxyn.js → agent-1r3pc4va.js} +11 -11
  27. package/dist/chunks/{flag-dha4d4jk.js → agent-1wbany6c.js} +25 -25
  28. package/dist/chunks/{flag-1x2knyw4.js → agent-1x2knyw4.js} +1 -1
  29. package/dist/chunks/{flag-fcktxjz8.js → agent-1x9rmq5t.js} +11 -11
  30. package/dist/chunks/{flag-sw6cj1fr.js → agent-1yvpepkz.js} +8 -8
  31. package/dist/chunks/{flag-jfqxjkss.js → agent-230v58ed.js} +11 -11
  32. package/dist/chunks/{flag-sskhdzv5.js → agent-270r659b.js} +6 -6
  33. package/dist/chunks/{flag-yk4ram99.js → agent-2bhkadc4.js} +3 -3
  34. package/dist/chunks/{flag-8hfctyyf.js → agent-2bswbpgz.js} +5 -5
  35. package/dist/chunks/{flag-k88mc761.js → agent-2bwhv0b9.js} +9 -9
  36. package/dist/chunks/{flag-f19zgvc4.js → agent-2crbja0r.js} +59 -59
  37. package/dist/chunks/{flag-2fc7eemy.js → agent-2fc7eemy.js} +1 -1
  38. package/dist/chunks/{flag-2vbyz3ve.js → agent-2h8cm49x.js} +17 -17
  39. package/dist/chunks/{flag-ad21tgm2.js → agent-2p60zmnr.js} +4 -4
  40. package/dist/chunks/{flag-de6vx7qv.js → agent-2t3w83bm.js} +9 -9
  41. package/dist/chunks/{flag-j1md2365.js → agent-2w3nwg04.js} +30 -30
  42. package/dist/chunks/{flag-ynfppmfj.js → agent-32m7xsmh.js} +8 -8
  43. package/dist/chunks/{flag-99qjshey.js → agent-34zmmmgy.js} +35 -35
  44. package/dist/chunks/{flag-wcgr2qvn.js → agent-3dn304yc.js} +6 -6
  45. package/dist/chunks/{flag-tycv7n3a.js → agent-3h1bv8fr.js} +4 -4
  46. package/dist/chunks/{flag-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{flag-pjc6mvna.js → agent-3jtgmzny.js} +4 -4
  48. package/dist/chunks/{flag-4pqak4bs.js → agent-3m1vjthe.js} +5 -5
  49. package/dist/chunks/{flag-3nnrz6f6.js → agent-3nnrz6f6.js} +1 -1
  50. package/dist/chunks/{flag-5z69tzgz.js → agent-3pptegkg.js} +30 -30
  51. package/dist/chunks/{flag-dcscqx6t.js → agent-3q25xadc.js} +7 -7
  52. package/dist/chunks/{flag-c6x7d2ts.js → agent-3ryz99p0.js} +4 -4
  53. package/dist/chunks/{flag-hxxjyvvt.js → agent-3s5pvj1d.js} +30 -30
  54. package/dist/chunks/{flag-awqgm1xr.js → agent-3w9q9vh6.js} +5 -5
  55. package/dist/chunks/{flag-d9bwbd34.js → agent-3ycxw5e5.js} +7 -7
  56. package/dist/chunks/{flag-40y6dtc2.js → agent-40y6dtc2.js} +1 -1
  57. package/dist/chunks/{flag-66qrnzd4.js → agent-43pfjxg5.js} +4 -4
  58. package/dist/chunks/{flag-twhtcdx9.js → agent-44pmzq9c.js} +4 -4
  59. package/dist/chunks/{flag-xpgwhcsc.js → agent-45rmpdrg.js} +10 -10
  60. package/dist/chunks/{flag-0e11sktb.js → agent-49k1t6da.js} +23 -23
  61. package/dist/chunks/{flag-4dx1dgte.js → agent-4dx1dgte.js} +1 -1
  62. package/dist/chunks/{flag-4f25tdd0.js → agent-4f25tdd0.js} +1 -1
  63. package/dist/chunks/{flag-4x7taxmj.js → agent-4fabgnbe.js} +8 -8
  64. package/dist/chunks/{flag-0bc8wfaz.js → agent-4p9btqyw.js} +9 -9
  65. package/dist/chunks/{flag-5030jfk7.js → agent-4panavwp.js} +33 -33
  66. package/dist/chunks/{flag-0kqs6rny.js → agent-4pyebn2h.js} +24 -24
  67. package/dist/chunks/{flag-4pyp9zr9.js → agent-4pyp9zr9.js} +1 -1
  68. package/dist/chunks/{flag-wz69xhs4.js → agent-4sk2temx.js} +15 -15
  69. package/dist/chunks/{flag-4v008n1t.js → agent-4v008n1t.js} +1 -1
  70. package/dist/chunks/{flag-7y8vdrm0.js → agent-4v9ax5y3.js} +32 -32
  71. package/dist/chunks/{flag-w86n90pq.js → agent-4vnngm45.js} +18 -18
  72. package/dist/chunks/{flag-7gq44nr2.js → agent-54d9e7kt.js} +18 -18
  73. package/dist/chunks/{flag-s6jqqyhe.js → agent-56z9ckds.js} +4 -4
  74. package/dist/chunks/{flag-dznvadht.js → agent-5ar0v554.js} +8 -8
  75. package/dist/chunks/{flag-vf4s44w5.js → agent-5bk8975x.js} +17 -17
  76. package/dist/chunks/{flag-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
  77. package/dist/chunks/{flag-ms3vknx6.js → agent-5n5e7dw0.js} +8 -8
  78. package/dist/chunks/{flag-5whx36p1.js → agent-5whx36p1.js} +1 -1
  79. package/dist/chunks/{flag-963hk181.js → agent-68cs06h1.js} +5 -5
  80. package/dist/chunks/{flag-6bshxcsx.js → agent-6bshxcsx.js} +1 -1
  81. package/dist/chunks/{flag-wkwg78fg.js → agent-6cvz5smp.js} +5 -5
  82. package/dist/chunks/{flag-mxg97kar.js → agent-6mzx2fqq.js} +9 -9
  83. package/dist/chunks/{flag-wh69gkkt.js → agent-6nasdh91.js} +10 -10
  84. package/dist/chunks/{flag-2848wdzx.js → agent-6qh9fsc1.js} +10 -10
  85. package/dist/chunks/{flag-14xds8kf.js → agent-6sbqt8cr.js} +43 -43
  86. package/dist/chunks/{flag-mxf61dw8.js → agent-6xey0d43.js} +3 -3
  87. package/dist/chunks/{flag-80mg3ag8.js → agent-775hqbnd.js} +3 -3
  88. package/dist/chunks/{flag-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
  89. package/dist/chunks/{flag-wrad7mqx.js → agent-7e4rwvsh.js} +21 -21
  90. package/dist/chunks/{flag-j0p3wt22.js → agent-7f840skq.js} +8 -8
  91. package/dist/chunks/{flag-shy79f59.js → agent-7gmcbytm.js} +31 -31
  92. package/dist/chunks/{flag-r66m1ym6.js → agent-7j1ep75t.js} +60 -60
  93. package/dist/chunks/{flag-rp320nw4.js → agent-7s2dr1e1.js} +3 -3
  94. package/dist/chunks/{flag-7w2ypzdf.js → agent-7w2ypzdf.js} +1 -1
  95. package/dist/chunks/{flag-7weczvnd.js → agent-7weczvnd.js} +1 -1
  96. package/dist/chunks/{flag-mftnr7k7.js → agent-7xqwfa56.js} +8 -8
  97. package/dist/chunks/{flag-aj3gmhrk.js → agent-81m5rmwx.js} +19 -19
  98. package/dist/chunks/{flag-y4ba7xbg.js → agent-850ymmzx.js} +16 -16
  99. package/dist/chunks/{flag-89287pr7.js → agent-89287pr7.js} +1 -1
  100. package/dist/chunks/{flag-8b3vzgkx.js → agent-8b3vzgkx.js} +1 -1
  101. package/dist/chunks/{flag-mdpn3ac9.js → agent-8g19k2e5.js} +21 -21
  102. package/dist/chunks/{flag-hrvyb3yv.js → agent-8ny69rmg.js} +6 -6
  103. package/dist/chunks/{flag-jt1fmwse.js → agent-8seg3v42.js} +4 -4
  104. package/dist/chunks/{flag-bb3mmwvh.js → agent-8sxe6kv8.js} +2 -2
  105. package/dist/chunks/{flag-e6jghphk.js → agent-8wa8ngfp.js} +12 -12
  106. package/dist/chunks/{flag-8wtp7s3z.js → agent-8wtp7s3z.js} +1 -1
  107. package/dist/chunks/{flag-kvnzvr36.js → agent-8y992kak.js} +17 -17
  108. package/dist/chunks/{flag-8zv0xmg5.js → agent-8zv0xmg5.js} +1 -1
  109. package/dist/chunks/{flag-90zstvax.js → agent-90zstvax.js} +1 -1
  110. package/dist/chunks/{flag-m2r94a4c.js → agent-91cjkkm3.js} +27 -27
  111. package/dist/chunks/{flag-x77f537z.js → agent-92ng8w6r.js} +11 -11
  112. package/dist/chunks/{flag-yphgnept.js → agent-955bk7gf.js} +11 -11
  113. package/dist/chunks/{flag-44ewmqts.js → agent-96g13gj9.js} +23 -23
  114. package/dist/chunks/{flag-gf34717g.js → agent-9a06hvbq.js} +11 -11
  115. package/dist/chunks/{flag-6079vd0y.js → agent-9hgg8v4t.js} +3 -3
  116. package/dist/chunks/{flag-p319bwjr.js → agent-9p3e19xy.js} +23 -23
  117. package/dist/chunks/{flag-dbk9fhqm.js → agent-9pewx6m0.js} +14 -14
  118. package/dist/chunks/{flag-tt01103d.js → agent-9wh2pe5x.js} +18 -18
  119. package/dist/chunks/{flag-0yn32hjb.js → agent-9xp9fbz7.js} +6 -6
  120. package/dist/chunks/{flag-edm37t96.js → agent-a0njj5td.js} +3 -3
  121. package/dist/chunks/{flag-p8zy8ekr.js → agent-a110cqe1.js} +9 -9
  122. package/dist/chunks/{flag-xz07m27x.js → agent-a5fx33f2.js} +6 -6
  123. package/dist/chunks/{flag-9kb7csvb.js → agent-a78m50kv.js} +34 -34
  124. package/dist/chunks/{flag-qajc28y8.js → agent-ahs2e380.js} +4 -4
  125. package/dist/chunks/{flag-ye59cvew.js → agent-ak6kr98p.js} +33 -33
  126. package/dist/chunks/{flag-vc28gdnb.js → agent-an59wq9t.js} +8 -8
  127. package/dist/chunks/{flag-8x4qn23y.js → agent-anammz50.js} +20 -20
  128. package/dist/chunks/{flag-2az7p6sc.js → agent-anwz40as.js} +28 -28
  129. package/dist/chunks/agent-aq193527.js +26 -0
  130. package/dist/chunks/{flag-trm8snxh.js → agent-aq6a5s3g.js} +5 -5
  131. package/dist/chunks/{flag-3cbjf1nt.js → agent-ayjs7tqn.js} +2 -2
  132. package/dist/chunks/{flag-b7nkz392.js → agent-b0fy1v2h.js} +1 -1
  133. package/dist/chunks/{flag-evy5hxmv.js → agent-b2zf48kj.js} +51 -51
  134. package/dist/chunks/{flag-436seg2v.js → agent-b6c7g8vw.js} +1 -1
  135. package/dist/chunks/{flag-593ra3z7.js → agent-b7xbe2eg.js} +7 -7
  136. package/dist/chunks/{flag-xbsjtb80.js → agent-b98mm2af.js} +9 -9
  137. package/dist/chunks/{flag-d390zwf3.js → agent-b9fw4xdr.js} +11 -11
  138. package/dist/chunks/{flag-hyb99r0e.js → agent-bafd1fcn.js} +19 -19
  139. package/dist/chunks/{flag-qs5yh7hs.js → agent-becnqr15.js} +30 -30
  140. package/dist/chunks/{flag-tz9a6xhb.js → agent-bsek2bbw.js} +5 -5
  141. package/dist/chunks/{flag-bstexjd6.js → agent-bstexjd6.js} +1 -1
  142. package/dist/chunks/{flag-by8ty0bx.js → agent-by8ty0bx.js} +1 -1
  143. package/dist/chunks/{flag-fc2famm9.js → agent-c4613x02.js} +12 -12
  144. package/dist/chunks/{flag-gzxwvkk4.js → agent-c6tddvh8.js} +59 -59
  145. package/dist/chunks/{flag-c7cw818c.js → agent-c7cw818c.js} +2 -2
  146. package/dist/chunks/{flag-bpb6gxr9.js → agent-c9q46f8p.js} +20 -20
  147. package/dist/chunks/{flag-pzq1pwd4.js → agent-cbcw0qrx.js} +14 -14
  148. package/dist/chunks/{flag-p2t9xhrw.js → agent-cew7k7b6.js} +18 -18
  149. package/dist/chunks/{flag-eqd5bg7r.js → agent-cftka958.js} +5 -5
  150. package/dist/chunks/{flag-ggx84v7x.js → agent-ckn0kvtp.js} +6 -6
  151. package/dist/chunks/{flag-cn1901n6.js → agent-cph1m4pw.js} +22 -22
  152. package/dist/chunks/{flag-6wt6gmsj.js → agent-cq2antnz.js} +26 -26
  153. package/dist/chunks/{flag-cwrgdav8.js → agent-cwrgdav8.js} +2 -2
  154. package/dist/chunks/{flag-wjnyvaf5.js → agent-czckasff.js} +35 -35
  155. package/dist/chunks/{flag-5nbmkez3.js → agent-d07x248k.js} +18 -18
  156. package/dist/chunks/{flag-rpc5eq17.js → agent-d3k83vxa.js} +5 -5
  157. package/dist/chunks/{flag-d4v9tmah.js → agent-d4v9tmah.js} +2 -2
  158. package/dist/chunks/{flag-qyba36f5.js → agent-d875sacc.js} +5 -5
  159. package/dist/chunks/{flag-g1kn1j67.js → agent-d97evh6t.js} +11 -11
  160. package/dist/chunks/{flag-zyqwfwdy.js → agent-dpkh4rq0.js} +30 -30
  161. package/dist/chunks/{flag-dt77769w.js → agent-dt77769w.js} +1 -1
  162. package/dist/chunks/{flag-qtf35215.js → agent-dtrrxc61.js} +3 -3
  163. package/dist/chunks/{flag-a81bvg07.js → agent-dw1ye70f.js} +33 -33
  164. package/dist/chunks/{flag-qbgtjm4x.js → agent-dy4d9874.js} +7 -7
  165. package/dist/chunks/{flag-43xtk0qx.js → agent-e3fanrvr.js} +12 -12
  166. package/dist/chunks/{flag-ndgws28h.js → agent-e67w1kmt.js} +22 -22
  167. package/dist/chunks/{flag-e834z07m.js → agent-e834z07m.js} +1 -1
  168. package/dist/chunks/{flag-gj900dj9.js → agent-e95ykt29.js} +29 -29
  169. package/dist/chunks/{flag-56jfvdyx.js → agent-e9jmw0ht.js} +27 -27
  170. package/dist/chunks/{flag-cpzzhyr1.js → agent-e9k5gxf4.js} +8 -8
  171. package/dist/chunks/{flag-sy57q6d1.js → agent-edwx1ema.js} +30 -30
  172. package/dist/chunks/{flag-5jve1gyn.js → agent-eh20wy2z.js} +9 -9
  173. package/dist/chunks/{flag-scn5v30h.js → agent-ekhvmsd2.js} +9 -9
  174. package/dist/chunks/{flag-eqw4pqj1.js → agent-eqw4pqj1.js} +2 -2
  175. package/dist/chunks/{flag-4aetv9s2.js → agent-ev97nhn2.js} +12 -12
  176. package/dist/chunks/{flag-2dzq860g.js → agent-ew642sw2.js} +8 -8
  177. package/dist/chunks/{flag-9bpm0caw.js → agent-ezfxdwf3.js} +45 -45
  178. package/dist/chunks/{flag-q4mn8rz9.js → agent-f14s7ktc.js} +34 -34
  179. package/dist/chunks/{flag-6p5ysxk1.js → agent-ff5mhygc.js} +20 -20
  180. package/dist/chunks/{flag-fffv3p7h.js → agent-fffv3p7h.js} +1 -1
  181. package/dist/chunks/{flag-bzx61477.js → agent-fvqhdj2b.js} +12 -12
  182. package/dist/chunks/{flag-k8k8cw5x.js → agent-fyjjbtyf.js} +36 -36
  183. package/dist/chunks/{flag-s9ah0c7h.js → agent-fymwe120.js} +45 -45
  184. package/dist/chunks/{flag-71b6exvm.js → agent-g22rscmr.js} +28 -28
  185. package/dist/chunks/{flag-r3k22sjy.js → agent-g2mg1fsy.js} +13 -13
  186. package/dist/chunks/{flag-89ypf89t.js → agent-g7x9jesh.js} +40 -40
  187. package/dist/chunks/{flag-78m7t9x5.js → agent-g82vwm3c.js} +8 -8
  188. package/dist/chunks/{flag-s7y9d25e.js → agent-gb5fgnjd.js} +20 -20
  189. package/dist/chunks/{flag-gbjdnr5j.js → agent-gbjdnr5j.js} +2 -2
  190. package/dist/chunks/{flag-ghrv1g9c.js → agent-ghrv1g9c.js} +1 -1
  191. package/dist/chunks/{flag-yv62rn4q.js → agent-gk9gzhj1.js} +5 -5
  192. package/dist/chunks/{flag-9nwpctz8.js → agent-gtcms6ct.js} +7 -7
  193. package/dist/chunks/{flag-n3j33rb6.js → agent-gvjax9xa.js} +8 -8
  194. package/dist/chunks/{flag-p52kq8pf.js → agent-gym9zrac.js} +30 -30
  195. package/dist/chunks/{flag-0gfx6v9p.js → agent-gzcy99ht.js} +20 -20
  196. package/dist/chunks/{flag-0rarzwaj.js → agent-h29jgkxe.js} +9 -9
  197. package/dist/chunks/{flag-27hbt5ky.js → agent-h3r71kc4.js} +15 -15
  198. package/dist/chunks/{flag-ycxmyaa8.js → agent-h42xs5f6.js} +73 -73
  199. package/dist/chunks/{flag-stab2pv9.js → agent-h5em4a99.js} +8 -8
  200. package/dist/chunks/{flag-sc8gk52j.js → agent-h7t4c3p9.js} +22 -22
  201. package/dist/chunks/{flag-w8g1dskt.js → agent-hgm1wm98.js} +30 -30
  202. package/dist/chunks/{flag-de13v7mz.js → agent-hh2vw3e2.js} +18 -18
  203. package/dist/chunks/{flag-nvhv17z1.js → agent-hng9qfns.js} +21 -21
  204. package/dist/chunks/{flag-tkzg5qhb.js → agent-hsg5ysck.js} +16 -16
  205. package/dist/chunks/{flag-6d78zjtf.js → agent-j3sd2jae.js} +22 -22
  206. package/dist/chunks/{flag-3hk9adsa.js → agent-j8bfb29e.js} +13 -13
  207. package/dist/chunks/{flag-ze75qvmd.js → agent-j9nxzz3g.js} +3 -3
  208. package/dist/chunks/{flag-7k9kz9jy.js → agent-jc14h7jr.js} +30 -30
  209. package/dist/chunks/{flag-vjvy448k.js → agent-jcqtacjj.js} +15 -15
  210. package/dist/chunks/{flag-q0ghkzhd.js → agent-je9sppby.js} +29 -29
  211. package/dist/chunks/{flag-kxkkah86.js → agent-jfny1ppa.js} +5 -5
  212. package/dist/chunks/{flag-x150ncgg.js → agent-jh9q4qkg.js} +2 -2
  213. package/dist/chunks/{flag-s26c8eb5.js → agent-jkdcm5hg.js} +4 -4
  214. package/dist/chunks/{flag-jm70asfg.js → agent-jm70asfg.js} +1 -1
  215. package/dist/chunks/{flag-atves291.js → agent-jmrq1tea.js} +42 -42
  216. package/dist/chunks/{flag-da73gr06.js → agent-jwk7m03s.js} +18 -18
  217. package/dist/chunks/{flag-fkasyrab.js → agent-k25mt8kq.js} +6 -6
  218. package/dist/chunks/{flag-kj9n5bvh.js → agent-k46dd5bg.js} +4 -4
  219. package/dist/chunks/{flag-8xz27cp9.js → agent-kbgs7tyr.js} +4 -4
  220. package/dist/chunks/{flag-j8qa49gr.js → agent-kcbr708v.js} +6 -6
  221. package/dist/chunks/{flag-9t9e6z1k.js → agent-kn0n0yqw.js} +15 -15
  222. package/dist/chunks/{flag-9dby1x0g.js → agent-ksjgaqh0.js} +10 -10
  223. package/dist/chunks/{flag-kzczzf4v.js → agent-kzczzf4v.js} +1 -1
  224. package/dist/chunks/{flag-m1714858.js → agent-m1714858.js} +1 -1
  225. package/dist/chunks/{flag-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
  226. package/dist/chunks/{flag-8z6m94af.js → agent-mb7mbhnz.js} +3 -3
  227. package/dist/chunks/{flag-sdw8kdqn.js → agent-mcqh2gjr.js} +33 -33
  228. package/dist/chunks/{flag-8ek53k77.js → agent-mkjtdqgf.js} +9 -9
  229. package/dist/chunks/{flag-mm06edep.js → agent-mm06edep.js} +1 -1
  230. package/dist/chunks/{flag-4tnarq1t.js → agent-msd2a3qm.js} +6 -6
  231. package/dist/chunks/{flag-59cs8yn3.js → agent-myckrn3a.js} +41 -41
  232. package/dist/chunks/{flag-x7f1yxy8.js → agent-n2j35w1r.js} +13 -13
  233. package/dist/chunks/{flag-4k3ewznj.js → agent-n2qm4rvy.js} +8 -8
  234. package/dist/chunks/{flag-s2z0me27.js → agent-n55b7vd5.js} +6 -6
  235. package/dist/chunks/{flag-zpvj7pbv.js → agent-n5zj00pj.js} +10 -10
  236. package/dist/chunks/{flag-nemnqzpn.js → agent-nemnqzpn.js} +1 -1
  237. package/dist/chunks/{flag-n1gj87y9.js → agent-nh4zq14w.js} +83 -83
  238. package/dist/chunks/{flag-g1e8prjs.js → agent-nkancn2p.js} +30 -30
  239. package/dist/chunks/{flag-bdhd9h6e.js → agent-p7vhpwh8.js} +5 -5
  240. package/dist/chunks/{flag-vaf27j96.js → agent-p8mh00x2.js} +20 -20
  241. package/dist/chunks/{flag-16ejsnhh.js → agent-pc81zxsz.js} +29 -29
  242. package/dist/chunks/{flag-zpcf3ktr.js → agent-pdx9nt45.js} +22 -22
  243. package/dist/chunks/{flag-kah1des0.js → agent-pj5hqg4g.js} +17 -17
  244. package/dist/chunks/{flag-ktdfez1z.js → agent-pj6d1xwv.js} +28 -28
  245. package/dist/chunks/{flag-bm0xqw3z.js → agent-pjc0s0z5.js} +3 -3
  246. package/dist/chunks/{flag-pknna89w.js → agent-pknna89w.js} +1 -1
  247. package/dist/chunks/{flag-fg9p65nk.js → agent-prq7xxp2.js} +6 -6
  248. package/dist/chunks/{flag-5h354152.js → agent-px34s52x.js} +11 -11
  249. package/dist/chunks/{flag-904twzva.js → agent-q0wn09nm.js} +7 -7
  250. package/dist/chunks/{flag-cy88k38k.js → agent-q146y50p.js} +11 -11
  251. package/dist/chunks/{flag-023w48re.js → agent-q6kzhayd.js} +15 -15
  252. package/dist/chunks/{flag-r9dd0xct.js → agent-q9fpmhy0.js} +2 -2
  253. package/dist/chunks/{flag-7qv3ry32.js → agent-qa0xa6fs.js} +15 -15
  254. package/dist/chunks/{flag-15vm986v.js → agent-qa8cs4zd.js} +36 -36
  255. package/dist/chunks/{flag-waj4ykx6.js → agent-qanwsyn8.js} +22 -22
  256. package/dist/chunks/{flag-qp7r0hxv.js → agent-qp7r0hxv.js} +1 -1
  257. package/dist/chunks/{flag-jg11hrrc.js → agent-qsdghx1p.js} +4 -4
  258. package/dist/chunks/{flag-sh1zp5p1.js → agent-qt52mg76.js} +179 -179
  259. package/dist/chunks/{flag-dsdhytqw.js → agent-r2dg4ypp.js} +10 -10
  260. package/dist/chunks/{flag-r41sfy63.js → agent-r41sfy63.js} +2 -2
  261. package/dist/chunks/{flag-s2p4nhbh.js → agent-r87112jt.js} +24 -24
  262. package/dist/chunks/{flag-41vagnw5.js → agent-r9jj2fpr.js} +21 -21
  263. package/dist/chunks/{flag-rb9dy4dg.js → agent-rb9dy4dg.js} +1 -1
  264. package/dist/chunks/{flag-gdb0ys4e.js → agent-rfqk20bv.js} +9 -9
  265. package/dist/chunks/{flag-rgc9cx3e.js → agent-rgc9cx3e.js} +2 -2
  266. package/dist/chunks/{flag-vt2d6wap.js → agent-rj7j5fvs.js} +4 -4
  267. package/dist/chunks/{flag-rt5dr6hb.js → agent-rt5dr6hb.js} +1 -1
  268. package/dist/chunks/{flag-byhqx4g5.js → agent-rx3th0cf.js} +16 -16
  269. package/dist/chunks/{flag-d1weh077.js → agent-rz69a4za.js} +2 -2
  270. package/dist/chunks/{flag-2kg89srt.js → agent-s7kyse9r.js} +4 -4
  271. package/dist/chunks/{flag-4tvfx95k.js → agent-s9se01ep.js} +4 -4
  272. package/dist/chunks/{flag-sa3fpqfw.js → agent-sa3fpqfw.js} +2 -2
  273. package/dist/chunks/{flag-sbya78hr.js → agent-sbya78hr.js} +1 -1
  274. package/dist/chunks/{flag-1scgcwfj.js → agent-sbz71ybr.js} +3 -3
  275. package/dist/chunks/{flag-cr44ae3x.js → agent-sp85y8nd.js} +5 -5
  276. package/dist/chunks/{flag-2ftyd5qw.js → agent-ssyabe20.js} +24 -24
  277. package/dist/chunks/{flag-kn4zqwcq.js → agent-sv909n4y.js} +3 -3
  278. package/dist/chunks/{flag-svcy3p9a.js → agent-svcy3p9a.js} +1 -1
  279. package/dist/chunks/{flag-8wwdcf3x.js → agent-sxk1c408.js} +17 -17
  280. package/dist/chunks/{flag-n4z1q12f.js → agent-szwm4crx.js} +7 -7
  281. package/dist/chunks/{flag-fkzdwwx0.js → agent-t4q26rjw.js} +19 -19
  282. package/dist/chunks/{flag-y3p3hzkr.js → agent-t8erkws8.js} +5 -5
  283. package/dist/chunks/{flag-adsyangh.js → agent-t975apb5.js} +32 -32
  284. package/dist/chunks/{flag-v4bj6baw.js → agent-tb2mrvc9.js} +4 -4
  285. package/dist/chunks/{flag-643a13m8.js → agent-tb9v3prs.js} +27 -27
  286. package/dist/chunks/{flag-tczq8hjw.js → agent-tczq8hjw.js} +1 -1
  287. package/dist/chunks/{flag-ctmpqb7w.js → agent-teav1bzy.js} +9 -9
  288. package/dist/chunks/{flag-tg7s7b5t.js → agent-tg7s7b5t.js} +1 -1
  289. package/dist/chunks/{flag-dxcj994g.js → agent-tgwd2taw.js} +15 -15
  290. package/dist/chunks/{flag-0j40d8rc.js → agent-tjbmpz8y.js} +10 -10
  291. package/dist/chunks/{flag-21mfesqj.js → agent-tjncsxe1.js} +8 -8
  292. package/dist/chunks/{flag-jht64jd1.js → agent-tr8x705m.js} +4 -4
  293. package/dist/chunks/{flag-x618v0wq.js → agent-trbcr54d.js} +17 -17
  294. package/dist/chunks/agent-tt9rk80g.js +16 -0
  295. package/dist/chunks/{flag-twssxy5n.js → agent-twssxy5n.js} +2 -2
  296. package/dist/chunks/{flag-v2r1d0zg.js → agent-v2r1d0zg.js} +1 -1
  297. package/dist/chunks/{flag-v438kgpn.js → agent-v2x06h94.js} +7 -7
  298. package/dist/chunks/{flag-x2tyrk29.js → agent-v76jn9m0.js} +18 -18
  299. package/dist/chunks/{flag-cg51fk4c.js → agent-v8nxqm0j.js} +4 -4
  300. package/dist/chunks/{flag-fej3esqb.js → agent-v8vd993n.js} +8 -8
  301. package/dist/chunks/{flag-67mcrh1f.js → agent-ve7xnkcb.js} +17 -17
  302. package/dist/chunks/{flag-vjf35v1f.js → agent-vjf35v1f.js} +1 -1
  303. package/dist/chunks/{flag-v3jwzdd2.js → agent-vk8bhwp9.js} +6 -6
  304. package/dist/chunks/{flag-ytsx0jn4.js → agent-vkj2re5r.js} +16 -16
  305. package/dist/chunks/{flag-npz8myfn.js → agent-vmbdsdmz.js} +3 -3
  306. package/dist/chunks/{flag-3gv0spa2.js → agent-vsnnaxjq.js} +4 -4
  307. package/dist/chunks/{flag-gfgj8a08.js → agent-vxm311kj.js} +15 -15
  308. package/dist/chunks/{flag-x8rjh8ab.js → agent-w0f7q7sg.js} +4 -4
  309. package/dist/chunks/{flag-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
  310. package/dist/chunks/{flag-1yped5qa.js → agent-w687dnns.js} +4 -4
  311. package/dist/chunks/{flag-yswt24xe.js → agent-w7jfwa7t.js} +5 -5
  312. package/dist/chunks/{flag-wakvkjy4.js → agent-wakvkjy4.js} +1 -1
  313. package/dist/chunks/{flag-b4aph2fn.js → agent-wbyd4mvd.js} +52 -52
  314. package/dist/chunks/{flag-wd87259q.js → agent-wd87259q.js} +1 -1
  315. package/dist/chunks/{flag-nx4vzyjd.js → agent-wegkxhrn.js} +2 -2
  316. package/dist/chunks/{flag-3qgwywyc.js → agent-wfs84ra6.js} +4 -4
  317. package/dist/chunks/{flag-n4c9d60b.js → agent-wp73ac89.js} +22 -22
  318. package/dist/chunks/{flag-tmmzgave.js → agent-wt73w1vf.js} +11 -11
  319. package/dist/chunks/{flag-6y2b864j.js → agent-wvr8xscb.js} +4 -4
  320. package/dist/chunks/{flag-5b42kqag.js → agent-wxxm8bf0.js} +17 -17
  321. package/dist/chunks/{flag-02d6bhe0.js → agent-x0zx26at.js} +15 -15
  322. package/dist/chunks/{flag-xsvq7cjt.js → agent-x26wqd07.js} +4 -4
  323. package/dist/chunks/{flag-xc73mdd1.js → agent-x2jdr90d.js} +23 -23
  324. package/dist/chunks/{flag-z34m6vx4.js → agent-x35vzqzv.js} +10 -10
  325. package/dist/chunks/{flag-mxfw6byj.js → agent-x6ah2pwg.js} +11 -11
  326. package/dist/chunks/{flag-z7bx7nj5.js → agent-xcvt7gda.js} +7 -7
  327. package/dist/chunks/{flag-se06t1th.js → agent-xf321fwn.js} +12 -12
  328. package/dist/chunks/{flag-gdqab8my.js → agent-xfcgjey3.js} +5 -5
  329. package/dist/chunks/{flag-xjbsd7zy.js → agent-xjbsd7zy.js} +2 -2
  330. package/dist/chunks/{flag-xjr6c8m4.js → agent-xjr6c8m4.js} +1 -1
  331. package/dist/chunks/{flag-yscjb6w8.js → agent-xk4wn29w.js} +40 -40
  332. package/dist/chunks/{flag-ady5eesf.js → agent-xsmgvw70.js} +9 -9
  333. package/dist/chunks/{flag-n320gsn2.js → agent-xvn8mnch.js} +4 -4
  334. package/dist/chunks/{flag-pxyqg0fd.js → agent-xzb3zm1w.js} +12 -12
  335. package/dist/chunks/{flag-qxvzmfp5.js → agent-y13yzvfz.js} +11 -11
  336. package/dist/chunks/{flag-rx0nm2qe.js → agent-y1zkeeep.js} +21 -21
  337. package/dist/chunks/{flag-q0mrkb4f.js → agent-y66w7ktp.js} +3 -3
  338. package/dist/chunks/{flag-rwx12ajr.js → agent-y9ckm5hn.js} +4 -4
  339. package/dist/chunks/{flag-yb20nhc3.js → agent-yb20nhc3.js} +1 -1
  340. package/dist/chunks/{flag-bhqhj1dd.js → agent-yq8zkd46.js} +17 -17
  341. package/dist/chunks/{flag-yr705xyq.js → agent-yr705xyq.js} +1 -1
  342. package/dist/chunks/{flag-yvtc2x31.js → agent-yvtc2x31.js} +1 -1
  343. package/dist/chunks/{flag-38aws4xb.js → agent-z080rjh6.js} +4 -4
  344. package/dist/chunks/{flag-smheew1c.js → agent-z70k8qnt.js} +81 -81
  345. package/dist/chunks/{flag-3ppfbg49.js → agent-z8ayg3ym.js} +13 -13
  346. package/dist/chunks/{flag-qftch89m.js → agent-zgvpfbrs.js} +35 -35
  347. package/dist/chunks/{flag-qh4edj6m.js → agent-zkg5wsys.js} +15 -15
  348. package/dist/chunks/{flag-pr55ezka.js → agent-zqmbb1r7.js} +22 -22
  349. package/dist/chunks/{flag-1jh9wfpv.js → agent-zxzazbrt.js} +5 -5
  350. package/dist/codemode/catalog.js +1 -1
  351. package/dist/codemode/execution.js +5 -5
  352. package/dist/codemode/fetch.js +148 -148
  353. package/dist/codemode/instructions.js +7 -7
  354. package/dist/codemode/tool.js +155 -155
  355. package/dist/command.js +88 -88
  356. package/dist/config/discovery.js +95 -95
  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 +131 -131
  362. package/dist/config/plugin/command.js +238 -238
  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 +141 -141
  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 +154 -154
  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 +135 -135
  386. package/dist/console-access.js +7 -7
  387. package/dist/credential/sql.js +2 -2
  388. package/dist/credential.js +96 -96
  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 +12 -12
  392. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  393. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  394. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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 +100 -100
  472. package/dist/database/v1-migration.js +1 -1
  473. package/dist/effect/app-node-builder.js +440 -440
  474. package/dist/effect/app-node-platform.js +2 -2
  475. package/dist/effect/keyed-mutex.js +1 -1
  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 +109 -109
  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 +81 -81
  487. package/dist/file-access.js +158 -158
  488. package/dist/file-mutation.js +108 -108
  489. package/dist/file-retention.js +1 -1
  490. package/dist/file-write.js +160 -160
  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 +88 -88
  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 +1 -1
  499. package/dist/filesystem/search.js +111 -111
  500. package/dist/filesystem/watcher-binding.js +1 -1
  501. package/dist/filesystem/watcher.js +11 -11
  502. package/dist/filesystem.js +116 -116
  503. package/dist/flag.js +127 -127
  504. package/dist/form.js +93 -93
  505. package/dist/formatter/builtins.js +4 -4
  506. package/dist/formatter.js +100 -100
  507. package/dist/generate.js +122 -122
  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 +112 -112
  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 +5 -5
  534. package/dist/instance.js +431 -431
  535. package/dist/instruction-discovery.js +97 -97
  536. package/dist/instructions/builtins.js +100 -100
  537. package/dist/instructions/index.js +5 -5
  538. package/dist/integration/connection.js +3 -3
  539. package/dist/integration.js +98 -98
  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 +90 -90
  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 +98 -98
  551. package/dist/managed-policy.js +3 -3
  552. package/dist/mcp/client.js +158 -158
  553. package/dist/mcp/connection.js +106 -106
  554. package/dist/mcp/index.js +122 -122
  555. package/dist/mcp/instructions.js +187 -187
  556. package/dist/mcp/oauth.js +89 -89
  557. package/dist/mcp/pool.js +112 -112
  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 +112 -112
  562. package/dist/model-resolver.js +112 -112
  563. package/dist/model-retry.js +1 -1
  564. package/dist/model.js +113 -113
  565. package/dist/models-dev/v1.js +1 -1
  566. package/dist/models-dev.js +121 -121
  567. package/dist/oauth/page.js +1 -1
  568. package/dist/permission/saved.js +91 -91
  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 +99 -99
  574. package/dist/persistent-pty/pty-binding.js +1 -1
  575. package/dist/persistent-pty.js +86 -86
  576. package/dist/plugin/agent.js +83 -83
  577. package/dist/plugin/command.js +117 -117
  578. package/dist/plugin/goal.js +1 -1
  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 +127 -127
  587. package/dist/plugin/optimize.js +4 -4
  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 +117 -117
  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 +4 -4
  601. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  602. package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
  603. package/dist/plugin/provider/claude-agent/index.js +146 -146
  604. package/dist/plugin/provider/claude-agent/instructions.js +112 -112
  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 +4 -4
  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 +3 -3
  613. package/dist/plugin/provider/claude-agent/provider.js +108 -108
  614. package/dist/plugin/provider/claude-agent/session.js +112 -112
  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 +1 -1
  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 +135 -135
  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 +85 -85
  658. package/dist/plugin/service.js +1 -1
  659. package/dist/plugin/skill.js +150 -150
  660. package/dist/plugin/source-directory.js +1 -1
  661. package/dist/plugin/supervisor.js +415 -415
  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 +2 -2
  672. package/dist/plugin/websearch/parallel.js +7 -7
  673. package/dist/plugin/websearch/provider.js +1 -1
  674. package/dist/plugin/websearch/tavily.js +7 -7
  675. package/dist/plugin/websearch/tinyfish.js +7 -7
  676. package/dist/plugin.js +249 -249
  677. package/dist/project/icon.js +5 -5
  678. package/dist/project/schema.js +4 -4
  679. package/dist/project/sql.js +4 -4
  680. package/dist/project.js +99 -99
  681. package/dist/provider.js +112 -112
  682. package/dist/pty/protocol.js +1 -1
  683. package/dist/pty/ticket.js +1 -1
  684. package/dist/pty.js +111 -111
  685. package/dist/reference/instructions.js +99 -99
  686. package/dist/reference.js +99 -99
  687. package/dist/repository-cache.js +91 -91
  688. package/dist/repository.js +1 -1
  689. package/dist/ripgrep/binary.js +2 -2
  690. package/dist/ripgrep.js +111 -111
  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 +255 -255
  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 +171 -171
  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 +3 -3
  705. package/dist/session/event.js +1 -1
  706. package/dist/session/execution/restart.js +245 -245
  707. package/dist/session/execution.js +171 -171
  708. package/dist/session/generate.js +206 -206
  709. package/dist/session/history.js +139 -139
  710. package/dist/session/inbox.js +148 -148
  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 +144 -144
  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 +171 -171
  720. package/dist/session/projector.js +146 -146
  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 +3 -3
  725. package/dist/session/runner/index.js +3 -3
  726. package/dist/session/runner/llm.js +258 -258
  727. package/dist/session/runner/max-steps.js +1 -1
  728. package/dist/session/runner/model.js +113 -113
  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 +188 -188
  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 +4 -4
  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 +3 -3
  744. package/dist/session/title.js +207 -207
  745. package/dist/session/to-session-error.js +152 -152
  746. package/dist/session/transfer.js +243 -243
  747. package/dist/session/usage.js +1 -1
  748. package/dist/session.js +239 -239
  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 +11 -11
  754. package/dist/shell.js +145 -145
  755. package/dist/skill/discovery.js +2 -2
  756. package/dist/skill/instructions.js +154 -154
  757. package/dist/skill.js +157 -157
  758. package/dist/snapshot.js +106 -106
  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 +184 -184
  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 +171 -171
  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 +147 -147
  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 +239 -239
  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 +156 -156
  779. package/dist/tool/plugin/webfetch.js +158 -158
  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 +100 -100
  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 +7 -7
  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 +3 -3
  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 +95 -95
  808. package/dist/wellknown/plugin.js +87 -87
  809. package/dist/wellknown.js +90 -90
  810. package/dist/workspace/driver.js +7 -7
  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/flag-bp4tfqdd.js +0 -16
  820. package/dist/chunks/flag-rpq636vb.js +0 -265
  821. package/dist/chunks/flag-zd0f51kc.js +0 -26
  822. /package/dist/chunks/{flag-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
  823. /package/dist/chunks/{flag-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
  824. /package/dist/chunks/{flag-108x4f4w.js → agent-108x4f4w.js} +0 -0
  825. /package/dist/chunks/{flag-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
  826. /package/dist/chunks/{flag-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
  827. /package/dist/chunks/{flag-1kah00gy.js → agent-1kah00gy.js} +0 -0
  828. /package/dist/chunks/{flag-24dcb14g.js → agent-24dcb14g.js} +0 -0
  829. /package/dist/chunks/{flag-2710q6r3.js → agent-2710q6r3.js} +0 -0
  830. /package/dist/chunks/{flag-2bv980vf.js → agent-2bv980vf.js} +0 -0
  831. /package/dist/chunks/{flag-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
  832. /package/dist/chunks/{flag-359p4xyc.js → agent-359p4xyc.js} +0 -0
  833. /package/dist/chunks/{flag-3af0jn4w.js → agent-3af0jn4w.js} +0 -0
  834. /package/dist/chunks/{flag-3asan66x.js → agent-3asan66x.js} +0 -0
  835. /package/dist/chunks/{flag-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
  836. /package/dist/chunks/{flag-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
  837. /package/dist/chunks/{flag-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
  838. /package/dist/chunks/{flag-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
  839. /package/dist/chunks/{flag-4qk9sjk2.js → agent-4qk9sjk2.js} +0 -0
  840. /package/dist/chunks/{flag-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
  841. /package/dist/chunks/{flag-53557ph1.js → agent-53557ph1.js} +0 -0
  842. /package/dist/chunks/{flag-550bvhaj.js → agent-550bvhaj.js} +0 -0
  843. /package/dist/chunks/{flag-5w3e23ze.js → agent-5w3e23ze.js} +0 -0
  844. /package/dist/chunks/{flag-6agm2x70.js → agent-6agm2x70.js} +0 -0
  845. /package/dist/chunks/{flag-6prwharc.js → agent-6prwharc.js} +0 -0
  846. /package/dist/chunks/{flag-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
  847. /package/dist/chunks/{flag-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
  848. /package/dist/chunks/{flag-7m9af43g.js → agent-7m9af43g.js} +0 -0
  849. /package/dist/chunks/{flag-822emrt2.js → agent-822emrt2.js} +0 -0
  850. /package/dist/chunks/{flag-84wd9syh.js → agent-84wd9syh.js} +0 -0
  851. /package/dist/chunks/{flag-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
  852. /package/dist/chunks/{flag-8n3pysct.js → agent-8n3pysct.js} +0 -0
  853. /package/dist/chunks/{flag-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
  854. /package/dist/chunks/{flag-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
  855. /package/dist/chunks/{flag-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
  856. /package/dist/chunks/{flag-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
  857. /package/dist/chunks/{flag-af5trqkr.js → agent-af5trqkr.js} +0 -0
  858. /package/dist/chunks/{flag-afrmfg78.js → agent-afrmfg78.js} +0 -0
  859. /package/dist/chunks/{flag-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
  860. /package/dist/chunks/{flag-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
  861. /package/dist/chunks/{flag-beh6qq61.js → agent-beh6qq61.js} +0 -0
  862. /package/dist/chunks/{flag-bhmrqjy3.js → agent-bhmrqjy3.js} +0 -0
  863. /package/dist/chunks/{flag-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
  864. /package/dist/chunks/{flag-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
  865. /package/dist/chunks/{flag-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
  866. /package/dist/chunks/{flag-cqv5kn06.js → agent-cqv5kn06.js} +0 -0
  867. /package/dist/chunks/{flag-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
  868. /package/dist/chunks/{flag-d9fn303g.js → agent-d9fn303g.js} +0 -0
  869. /package/dist/chunks/{flag-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
  870. /package/dist/chunks/{flag-dap0rakb.js → agent-dap0rakb.js} +0 -0
  871. /package/dist/chunks/{flag-df08tz66.js → agent-df08tz66.js} +0 -0
  872. /package/dist/chunks/{flag-dy18nga0.js → agent-dy18nga0.js} +0 -0
  873. /package/dist/chunks/{flag-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
  874. /package/dist/chunks/{flag-ean2d8b5.js → agent-ean2d8b5.js} +0 -0
  875. /package/dist/chunks/{flag-ec1grn59.js → agent-ec1grn59.js} +0 -0
  876. /package/dist/chunks/{flag-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
  877. /package/dist/chunks/{flag-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
  878. /package/dist/chunks/{flag-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
  879. /package/dist/chunks/{flag-faypxj3z.js → agent-faypxj3z.js} +0 -0
  880. /package/dist/chunks/{flag-fd410y7t.js → agent-fd410y7t.js} +0 -0
  881. /package/dist/chunks/{flag-fkpq3x5p.js → agent-fkpq3x5p.js} +0 -0
  882. /package/dist/chunks/{flag-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
  883. /package/dist/chunks/{flag-g86h250q.js → agent-g86h250q.js} +0 -0
  884. /package/dist/chunks/{flag-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
  885. /package/dist/chunks/{flag-gftt206x.js → agent-gftt206x.js} +0 -0
  886. /package/dist/chunks/{flag-hcxmzztb.js → agent-hcxmzztb.js} +0 -0
  887. /package/dist/chunks/{flag-hk9envan.js → agent-hk9envan.js} +0 -0
  888. /package/dist/chunks/{flag-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
  889. /package/dist/chunks/{flag-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
  890. /package/dist/chunks/{flag-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
  891. /package/dist/chunks/{flag-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
  892. /package/dist/chunks/{flag-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
  893. /package/dist/chunks/{flag-jwr30sdr.js → agent-jwr30sdr.js} +0 -0
  894. /package/dist/chunks/{flag-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
  895. /package/dist/chunks/{flag-m18g726c.js → agent-m18g726c.js} +0 -0
  896. /package/dist/chunks/{flag-mp448xyj.js → agent-mp448xyj.js} +0 -0
  897. /package/dist/chunks/{flag-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
  898. /package/dist/chunks/{flag-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
  899. /package/dist/chunks/{flag-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
  900. /package/dist/chunks/{flag-nh4v3znn.js → agent-nh4v3znn.js} +0 -0
  901. /package/dist/chunks/{flag-njntx4h6.js → agent-njntx4h6.js} +0 -0
  902. /package/dist/chunks/{flag-p71gwv9c.js → agent-p71gwv9c.js} +0 -0
  903. /package/dist/chunks/{flag-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
  904. /package/dist/chunks/{flag-q74kybfr.js → agent-q74kybfr.js} +0 -0
  905. /package/dist/chunks/{flag-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
  906. /package/dist/chunks/{flag-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
  907. /package/dist/chunks/{flag-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
  908. /package/dist/chunks/{flag-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
  909. /package/dist/chunks/{flag-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
  910. /package/dist/chunks/{flag-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
  911. /package/dist/chunks/{flag-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
  912. /package/dist/chunks/{flag-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
  913. /package/dist/chunks/{flag-syrav9an.js → agent-syrav9an.js} +0 -0
  914. /package/dist/chunks/{flag-t03h4f5z.js → agent-t03h4f5z.js} +0 -0
  915. /package/dist/chunks/{flag-ty7weeps.js → agent-ty7weeps.js} +0 -0
  916. /package/dist/chunks/{flag-ve7vex1e.js → agent-ve7vex1e.js} +0 -0
  917. /package/dist/chunks/{flag-vtarvj67.js → agent-vtarvj67.js} +0 -0
  918. /package/dist/chunks/{flag-w803qqfp.js → agent-w803qqfp.js} +0 -0
  919. /package/dist/chunks/{flag-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
  920. /package/dist/chunks/{flag-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
  921. /package/dist/chunks/{flag-wtztk69x.js → agent-wtztk69x.js} +0 -0
  922. /package/dist/chunks/{flag-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
  923. /package/dist/chunks/{flag-x61499pn.js → agent-x61499pn.js} +0 -0
  924. /package/dist/chunks/{flag-y44na4kk.js → agent-y44na4kk.js} +0 -0
  925. /package/dist/chunks/{flag-y8f7s663.js → agent-y8f7s663.js} +0 -0
  926. /package/dist/chunks/{flag-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
  927. /package/dist/chunks/{flag-z0h12gs8.js → agent-z0h12gs8.js} +0 -0
  928. /package/dist/chunks/{flag-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
  929. /package/dist/chunks/{flag-z9919s4g.js → agent-z9919s4g.js} +0 -0
  930. /package/dist/chunks/{flag-zxpyjp51.js → agent-zxpyjp51.js} +0 -0
@@ -1,65 +1,65 @@
1
1
  import {
2
2
  Service91,
3
3
  node95
4
- } from "./flag-s6jqqyhe.js";
4
+ } from "./agent-56z9ckds.js";
5
5
  import {
6
6
  lazy2
7
- } from "./flag-88xbtdfr.js";
7
+ } from "./agent-88xbtdfr.js";
8
8
  import {
9
- Service88,
10
- node92
11
- } from "./flag-dbk9fhqm.js";
9
+ Service87,
10
+ node91
11
+ } from "./agent-9pewx6m0.js";
12
12
  import {
13
- Service69,
13
+ Service60,
14
14
  login2,
15
- node72
16
- } from "./flag-27hbt5ky.js";
15
+ node62
16
+ } from "./agent-h3r71kc4.js";
17
17
  import {
18
18
  __export
19
- } from "./flag-9rqn6x4v.js";
19
+ } from "./agent-9rqn6x4v.js";
20
20
 
21
21
  // src/pty.ts
22
22
  var exports_pty = {};
23
23
  __export(exports_pty, {
24
- CreateInput: () => CreateInput4,
25
- Event: () => Event5,
24
+ CreateInput: () => CreateInput5,
25
+ Event: () => Event7,
26
26
  ExitedError: () => ExitedError2,
27
- ID: () => ID6,
27
+ ID: () => ID8,
28
28
  Info: () => Info8,
29
- NotFoundError: () => NotFoundError3,
29
+ NotFoundError: () => NotFoundError5,
30
30
  Pty: () => exports_pty,
31
- Service: () => Service26,
32
- UpdateInput: () => UpdateInput2,
33
- node: () => node30
31
+ Service: () => Service28,
32
+ UpdateInput: () => UpdateInput3,
33
+ node: () => node31
34
34
  });
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Schema } from "effect";
37
37
  import { Pty } from "@opencode/schema/pty";
38
- import { Event as Event5 } from "@opencode/schema/pty";
38
+ import { Event as Event7 } from "@opencode/schema/pty";
39
39
  var BUFFER_LIMIT = 1024 * 1024 * 2;
40
40
  var EXITED_LIMIT = 25;
41
41
  var pty = lazy2(() => import("#pty"));
42
- var ID6 = Pty.ID;
42
+ var ID8 = Pty.ID;
43
43
  var Info8 = Pty.Info;
44
- var CreateInput4 = Pty.CreateInput;
45
- var UpdateInput2 = Pty.UpdateInput;
44
+ var CreateInput5 = Pty.CreateInput;
45
+ var UpdateInput3 = Pty.UpdateInput;
46
46
 
47
- class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
48
- ptyID: ID6
47
+ class NotFoundError5 extends Schema.TaggedError()("Pty.NotFoundError", {
48
+ ptyID: ID8
49
49
  }) {
50
50
  }
51
51
 
52
52
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
53
- ptyID: ID6
53
+ ptyID: ID8
54
54
  }) {
55
55
  }
56
56
 
57
- class Service26 extends Context.Service()("@opencode/Pty") {
57
+ class Service28 extends Context.Service()("@opencode/Pty") {
58
58
  }
59
- var layer = Layer.effect(Service26, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
60
60
  const bus = yield* Service91;
61
- const location = yield* Service88;
62
- const shell = yield* Service69;
61
+ const location = yield* Service87;
62
+ const shell = yield* Service60;
63
63
  const context = yield* Effect.context();
64
64
  const runFork = Effect.runForkWith(context);
65
65
  const sessions = new Map;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
96
96
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
97
97
  const session = sessions.get(id);
98
98
  if (!session)
99
- return yield* new NotFoundError3({ ptyID: id });
99
+ return yield* new NotFoundError5({ ptyID: id });
100
100
  return session;
101
101
  });
102
102
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
122
122
  return (yield* requireSession(id)).info;
123
123
  });
124
124
  const create = Effect.fn("Pty.create")(function* (input) {
125
- const id = ID6.ascending();
125
+ const id = ID8.ascending();
126
126
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
127
127
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
128
128
  const cwd = input.cwd || location.directory;
@@ -255,12 +255,12 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
255
255
  }
256
256
  };
257
257
  });
258
- return Service26.of({ list, get, create, update, remove, write, attach });
258
+ return Service28.of({ list, get, create, update, remove, write, attach });
259
259
  }));
260
- var node30 = makeLocationNode({
261
- service: Service26,
260
+ var node31 = makeLocationNode({
261
+ service: Service28,
262
262
  layer,
263
- deps: [node95, node92, node72]
263
+ deps: [node95, node91, node62]
264
264
  });
265
265
 
266
- export { ID6, Info8, CreateInput4, UpdateInput2, NotFoundError3, ExitedError2, Service26, node30, exports_pty, Event5 };
266
+ export { ID8, Info8, CreateInput5, UpdateInput3, NotFoundError5, ExitedError2, Service28, node31, exports_pty, Event7 };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  Service91,
3
3
  node95
4
- } from "./flag-s6jqqyhe.js";
4
+ } from "./agent-56z9ckds.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./flag-bstexjd6.js";
11
+ } from "./agent-bstexjd6.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./flag-z5v4ffb3.js";
14
+ } from "./agent-z5v4ffb3.js";
15
15
  import {
16
- Service47,
16
+ Service48,
17
17
  node51
18
- } from "./flag-x2tyrk29.js";
18
+ } from "./agent-v76jn9m0.js";
19
19
  import {
20
20
  changes2,
21
21
  create4
22
- } from "./flag-40y6dtc2.js";
22
+ } from "./agent-40y6dtc2.js";
23
23
  import {
24
24
  __export
25
- } from "./flag-9rqn6x4v.js";
25
+ } from "./agent-9rqn6x4v.js";
26
26
 
27
27
  // src/reference.ts
28
28
  var exports_reference2 = {};
29
29
  __export(exports_reference2, {
30
- Event: () => Event9,
30
+ Event: () => Event8,
31
31
  GitSource: () => GitSource2,
32
- Info: () => Info11,
32
+ Info: () => Info10,
33
33
  LocalSource: () => LocalSource2,
34
34
  Reference: () => exports_reference2,
35
- Service: () => Service46,
35
+ Service: () => Service47,
36
36
  Source: () => Source3,
37
37
  node: () => node50
38
38
  });
@@ -40,18 +40,18 @@ 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 Event9 } from "@opencode/schema/reference";
43
+ import { Event as Event8 } from "@opencode/schema/reference";
44
44
  var LocalSource2 = Reference.LocalSource;
45
45
  var GitSource2 = Reference.GitSource;
46
46
  var Source3 = Reference.Source;
47
- var Info11 = Reference.Info;
47
+ var Info10 = Reference.Info;
48
48
 
49
- class Service46 extends Context.Service()("@opencode/Reference") {
49
+ class Service47 extends Context.Service()("@opencode/Reference") {
50
50
  }
51
- var layer = Layer.effect(Service46, Effect.gen(function* () {
51
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
52
52
  const global = yield* Global.Service;
53
53
  const bus = yield* Service91;
54
- const cache = yield* Service47;
54
+ const cache = yield* Service48;
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(Service46, Effect.gen(function* () {
61
61
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
62
62
  };
63
63
  if (source.type === "local")
64
- return [Info11.make({ ...info, path: source.path })];
64
+ return [Info10.make({ ...info, path: source.path })];
65
65
  const repository = parse4(source.repository);
66
66
  if (!repository || !isRemote2(repository))
67
67
  return [];
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
73
73
  }
74
74
  }
75
75
  return [
76
- Info11.make({
76
+ Info10.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(Service46, Effect.gen(function* () {
105
105
  }))
106
106
  });
107
107
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
108
- return Service46.of({
108
+ return Service47.of({
109
109
  transform: state.transform,
110
110
  reload: state.reload,
111
111
  list: Effect.fn("Reference.list")(function* () {
@@ -114,9 +114,9 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
114
114
  });
115
115
  }));
116
116
  var node50 = makeLocationNode({
117
- service: Service46,
117
+ service: Service47,
118
118
  layer,
119
119
  deps: [Global.node, node95, node51]
120
120
  });
121
121
 
122
- export { LocalSource2, GitSource2, Source3, Info11, Service46, node50, exports_reference2, Event9 };
122
+ export { LocalSource2, GitSource2, Source3, Info10, Service47, node50, exports_reference2, Event8 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./flag-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
- ID17,
2
+ ID15,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  nativeSettings2,
6
6
  timeouts2,
7
7
  mergeOverlay2
8
- } from "./flag-sy57q6d1.js";
8
+ } from "./agent-edwx1ema.js";
9
9
  import {
10
10
  stringify2
11
- } from "./flag-z0h12gs8.js";
11
+ } from "./agent-z0h12gs8.js";
12
12
  import {
13
13
  __export
14
- } from "./flag-9rqn6x4v.js";
14
+ } from "./agent-9rqn6x4v.js";
15
15
 
16
16
  // src/aisdk.ts
17
17
  var exports_aisdk2 = {};
18
18
  __export(exports_aisdk2, {
19
19
  AISDK: () => exports_aisdk2,
20
20
  InitError: () => InitError2,
21
- Service: () => Service82,
21
+ Service: () => Service75,
22
22
  locationLayer: () => locationLayer2,
23
- node: () => node86
23
+ node: () => node76
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { httpFetch } from "@opencode/util/effect/app-node-platform";
@@ -154,7 +154,7 @@ function throughMiddleware(store, send, input, init) {
154
154
  var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
155
155
 
156
156
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
157
- providerID: ID17,
157
+ providerID: ID15,
158
158
  cause: Schema.Defect()
159
159
  }) {
160
160
  }
@@ -162,9 +162,9 @@ function initError(providerID) {
162
162
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
163
163
  }
164
164
 
165
- class Service82 extends Context.Service()("@opencode/AISDK") {
165
+ class Service75 extends Context.Service()("@opencode/AISDK") {
166
166
  }
167
- var locationLayer2 = Layer.effect(Service82, Effect.gen(function* () {
167
+ var locationLayer2 = Layer.effect(Service75, Effect.gen(function* () {
168
168
  const outbound = yield* FetchHttpClient.Fetch;
169
169
  let sdkHooks = [];
170
170
  let languageHooks = [];
@@ -203,7 +203,7 @@ var locationLayer2 = Layer.effect(Service82, Effect.gen(function* () {
203
203
  }
204
204
  return event;
205
205
  });
206
- const service = Service82.of({
206
+ const service = Service75.of({
207
207
  hook: {
208
208
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
209
209
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -861,6 +861,6 @@ function providerErrorMessage(error) {
861
861
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
862
862
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
863
863
  }
864
- var node86 = makeLocationNode({ service: Service82, layer: locationLayer2, deps: [httpFetch] });
864
+ var node76 = makeLocationNode({ service: Service75, layer: locationLayer2, deps: [httpFetch] });
865
865
 
866
- export { InitError2, Service82, locationLayer2, node86, exports_aisdk2 };
866
+ export { InitError2, Service75, locationLayer2, node76, exports_aisdk2 };
@@ -1,35 +1,35 @@
1
1
  import {
2
2
  requestExecutor2,
3
3
  llmClient2
4
- } from "./flag-0ma9gw4f.js";
4
+ } from "./agent-0ma9gw4f.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./flag-s7agjm8x.js";
6
+ Service76,
7
+ node77
8
+ } from "./agent-0qccc6r6.js";
9
9
  import {
10
- Service81,
11
- node85
12
- } from "./flag-9bpm0caw.js";
10
+ Service73,
11
+ node74
12
+ } from "./agent-ezfxdwf3.js";
13
13
  import {
14
14
  retryOneShot2
15
- } from "./flag-2fc7eemy.js";
15
+ } from "./agent-2fc7eemy.js";
16
16
  import {
17
17
  __export
18
- } from "./flag-9rqn6x4v.js";
18
+ } from "./agent-9rqn6x4v.js";
19
19
 
20
20
  // src/generate.ts
21
- var exports_generate2 = {};
22
- __export(exports_generate2, {
23
- Generate: () => exports_generate2,
24
- InvalidRequestError: () => InvalidRequestError3,
21
+ var exports_generate = {};
22
+ __export(exports_generate, {
23
+ Generate: () => exports_generate,
24
+ InvalidRequestError: () => InvalidRequestError2,
25
25
  ModelNotFoundError: () => ModelNotFoundError2,
26
26
  ProviderFailure: () => ProviderFailure2,
27
27
  ProviderRequestError: () => ProviderRequestError2,
28
- Service: () => Service80,
29
- UnavailableError: () => UnavailableError5,
28
+ Service: () => Service18,
29
+ UnavailableError: () => UnavailableError2,
30
30
  UnsupportedModelError: () => UnsupportedModelError2,
31
- layer: () => layer26,
32
- node: () => node84
31
+ layer: () => layer9,
32
+ node: () => node21
33
33
  });
34
34
  import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
35
35
  import { Money } from "@opencode/schema/money";
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
37
37
  import { Context, Effect, Layer, Schema } from "effect";
38
38
  import { RequestExecutor } from "@opencode/ai/route";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- class UnavailableError5 extends Schema.TaggedError()("Generate.UnavailableError", {
40
+ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
41
41
  message: Schema.String,
42
42
  service: Schema.optional(Schema.String)
43
43
  }) {
@@ -58,7 +58,7 @@ class UnsupportedModelError2 extends Schema.TaggedError()("Generate.UnsupportedM
58
58
  }) {
59
59
  }
60
60
 
61
- class InvalidRequestError3 extends Schema.TaggedError()("Generate.InvalidRequestError", {
61
+ class InvalidRequestError2 extends Schema.TaggedError()("Generate.InvalidRequestError", {
62
62
  message: Schema.String,
63
63
  field: Schema.optional(Schema.String)
64
64
  }) {
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
81
81
  }) {
82
82
  }
83
83
 
84
- class Service80 extends Context.Service()("@opencode/Generate") {
84
+ class Service18 extends Context.Service()("@opencode/Generate") {
85
85
  }
86
- var layer26 = Layer.effect(Service80, Effect.gen(function* () {
86
+ var layer9 = Layer.effect(Service18, Effect.gen(function* () {
87
87
  const llm = yield* LLMClient.Service;
88
- const resolver = yield* Service81;
89
- const models = yield* Service83;
88
+ const resolver = yield* Service73;
89
+ const models = yield* Service76;
90
90
  const executor = yield* RequestExecutor.Service;
91
91
  const images = yield* ImageClient.Service;
92
92
  const decisionClient = yield* DecisionClient.Service;
@@ -98,11 +98,11 @@ var layer26 = Layer.effect(Service80, Effect.gen(function* () {
98
98
  "SessionRunnerModel.ModelInitializationError",
99
99
  "SessionRunnerModel.UnresolvedProviderVariablesError",
100
100
  "SessionRunnerModel.UnsupportedCompactionError"
101
- ], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError5({ message: error.message, service: error.providerID }))));
101
+ ], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError2({ message: error.message, service: error.providerID }))));
102
102
  if (!resolved && input.model)
103
103
  return yield* missing(input.model, "chat");
104
104
  if (!resolved)
105
- return yield* new UnavailableError5({ message: "No model specified and no supported model is available" });
105
+ return yield* new UnavailableError2({ message: "No model specified and no supported model is available" });
106
106
  const response = yield* llm.generate(ai.request({
107
107
  model: resolved.model,
108
108
  prompt: input.prompt,
@@ -162,8 +162,8 @@ var layer26 = Layer.effect(Service80, Effect.gen(function* () {
162
162
  ...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
163
163
  };
164
164
  });
165
- const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError5({ message: "Generation credentials are unavailable" })));
166
- return Service80.of({
165
+ const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({ message: "Generation credentials are unavailable" })));
166
+ return Service18.of({
167
167
  text: (input) => credentials(runText(input)),
168
168
  image: (input) => credentials(image(input)),
169
169
  decisions: (input) => credentials(decisions(input))
@@ -176,7 +176,7 @@ function resolutionError(ref, type, error) {
176
176
  if (error._tag === "Integration.Authorization")
177
177
  return error;
178
178
  if (error._tag === "SessionRunnerModel.VariantUnavailableError")
179
- return new InvalidRequestError3({ message: error.message, field: "model.variant" });
179
+ return new InvalidRequestError2({ message: error.message, field: "model.variant" });
180
180
  if (error._tag === "SessionRunnerModel.UnsupportedPackageError")
181
181
  return new UnsupportedModelError2({
182
182
  providerID: ref.providerID,
@@ -184,14 +184,14 @@ function resolutionError(ref, type, error) {
184
184
  capability: type,
185
185
  message: `${ref.providerID}/${ref.id} has no ${type} API opencode can call (package ${error.package})`
186
186
  });
187
- return new InvalidRequestError3({ message: error.message, field: "model" });
187
+ return new InvalidRequestError2({ message: error.message, field: "model" });
188
188
  }
189
189
  function providerError(ref, error) {
190
190
  const reason = error.reason;
191
191
  if (reason._tag === "InvalidRequest" && reason.http === undefined)
192
- return new InvalidRequestError3({ message: reason.message });
192
+ return new InvalidRequestError2({ message: reason.message });
193
193
  if (reason._tag === "UnsupportedOperation")
194
- return new InvalidRequestError3({ message: reason.message });
194
+ return new InvalidRequestError2({ message: reason.message });
195
195
  const status = "http" in reason ? reason.http?.status : undefined;
196
196
  const retryAfterMs = "retryAfterMs" in reason ? reason.retryAfterMs : undefined;
197
197
  return new ProviderRequestError2({
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
215
215
  return "overloaded";
216
216
  return "provider";
217
217
  }
218
- var node84 = makeLocationNode({
219
- service: Service80,
220
- layer: layer26,
221
- deps: [node85, node87, llmClient2, requestExecutor2]
218
+ var node21 = makeLocationNode({
219
+ service: Service18,
220
+ layer: layer9,
221
+ deps: [node74, node77, llmClient2, requestExecutor2]
222
222
  });
223
223
 
224
- export { UnavailableError5, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service80, layer26, node84, exports_generate2 };
224
+ export { UnavailableError2, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError2, ProviderFailure2, ProviderRequestError2, Service18, layer9, node21, exports_generate };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  toolFailure2
3
- } from "./flag-z0h12gs8.js";
3
+ } from "./agent-z0h12gs8.js";
4
4
  import {
5
5
  Ref3,
6
- Service83
7
- } from "./flag-s7agjm8x.js";
8
- import {
9
6
  Service76
10
- } from "./flag-evy5hxmv.js";
7
+ } from "./agent-0qccc6r6.js";
8
+ import {
9
+ Service69
10
+ } from "./agent-b2zf48kj.js";
11
11
  import {
12
12
  observe2
13
- } from "./flag-mm06edep.js";
13
+ } from "./agent-mm06edep.js";
14
14
  import {
15
- Service53
16
- } from "./flag-8x4qn23y.js";
15
+ Service85
16
+ } from "./agent-anammz50.js";
17
17
  import {
18
18
  SessionMessage2
19
- } from "./flag-gftt206x.js";
19
+ } from "./agent-gftt206x.js";
20
20
  import {
21
21
  invocation2,
22
- Service71
23
- } from "./flag-89ypf89t.js";
22
+ Service65
23
+ } from "./agent-g7x9jesh.js";
24
24
  import {
25
25
  Service19
26
- } from "./flag-s7y9d25e.js";
26
+ } from "./agent-gb5fgnjd.js";
27
27
  import {
28
- Service80
29
- } from "./flag-k8k8cw5x.js";
28
+ Service18
29
+ } from "./agent-fyjjbtyf.js";
30
30
  import {
31
31
  text2
32
- } from "./flag-8b3vzgkx.js";
32
+ } from "./agent-8b3vzgkx.js";
33
33
  import {
34
- Service67
35
- } from "./flag-gfgj8a08.js";
34
+ Service57
35
+ } from "./agent-vxm311kj.js";
36
36
  import {
37
37
  detect2
38
- } from "./flag-4pyp9zr9.js";
38
+ } from "./agent-4pyp9zr9.js";
39
39
  import {
40
40
  Service29
41
- } from "./flag-smheew1c.js";
41
+ } from "./agent-z70k8qnt.js";
42
42
  import {
43
43
  collectBoundedResponseBody2
44
- } from "./flag-3v8g72cx.js";
44
+ } from "./agent-3v8g72cx.js";
45
45
  import {
46
46
  __export
47
- } from "./flag-9rqn6x4v.js";
47
+ } from "./agent-9rqn6x4v.js";
48
48
 
49
49
  // src/tool/plugin/image-generate.ts
50
50
  var exports_image_generate = {};
51
51
  __export(exports_image_generate, {
52
52
  ImageGenerateTool: () => exports_image_generate,
53
- Input: () => Input14,
53
+ Input: () => Input3,
54
54
  MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
55
- Output: () => Output10,
56
- Plugin: () => Plugin18,
55
+ Output: () => Output3,
56
+ Plugin: () => Plugin5,
57
57
  defaultModel: () => defaultModel2,
58
- description: () => description6,
59
- name: () => name14
58
+ description: () => description2,
59
+ name: () => name3
60
60
  });
61
61
  import path from "path";
62
62
  import { ToolFailure } from "@opencode/ai/effect";
@@ -64,7 +64,7 @@ import { Identifier } from "@opencode/schema/identifier";
64
64
  import { Global } from "@opencode/util/global";
65
65
  import { Duration, Effect, Schema, Scope, Stream } from "effect";
66
66
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
67
- var name14 = "experimental_image_generate";
67
+ var name3 = "experimental_image_generate";
68
68
  var MAX_INPUT_BYTES2 = 20 * 1024 * 1024;
69
69
  var DOWNLOAD_TIMEOUT = Duration.seconds(30);
70
70
  var GENERATE_TIMEOUT = Duration.minutes(30);
@@ -75,7 +75,7 @@ var EXTENSIONS = {
75
75
  "image/webp": ".webp",
76
76
  "image/gif": ".gif"
77
77
  };
78
- var description6 = [
78
+ var description2 = [
79
79
  "Generates a new image, or edits existing ones.",
80
80
  "Only call this when the user asks you to create or edit an image. If you think an image would help but the user didn't ask for one, ask them first instead of generating it.",
81
81
  "Images you pass are used as the source to edit, or as references for style and subject.",
@@ -84,7 +84,7 @@ var description6 = [
84
84
  "Don't repeat a request unless the user asks."
85
85
  ].join(`
86
86
  `);
87
- var Input14 = Schema.Struct({
87
+ var Input3 = Schema.Struct({
88
88
  prompt: Schema.String.check(Schema.isMinLength(1)).annotate({
89
89
  description: "What to create, or for edits, what to change. Be specific about subject, style, composition and any text that should appear in the image."
90
90
  }),
@@ -98,25 +98,25 @@ var Input14 = Schema.Struct({
98
98
  description: "Where to save the image, relative to the session directory or absolute. The extension is replaced with the image's real format, and an existing file is overwritten. Defaults to a new file in the session's temp folder."
99
99
  })
100
100
  });
101
- var Output10 = Schema.Struct({
101
+ var Output3 = Schema.Struct({
102
102
  id: Schema.String.annotate({ description: "The image job's ID, repeated in its completion notice" }),
103
103
  path: Schema.String.annotate({ description: "Where the image is saved, without its extension" }),
104
104
  model: Schema.String.annotate({ description: "providerID/modelID" })
105
105
  });
106
- var Plugin18 = {
106
+ var Plugin5 = {
107
107
  id: "opencode.tool.image-generate",
108
108
  effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
109
109
  const access = yield* Service19;
110
- const environment = yield* Service53;
111
- const generate = yield* Service80;
110
+ const environment = yield* Service85;
111
+ const generate = yield* Service18;
112
112
  const global = yield* Global.Service;
113
113
  const http = yield* HttpClient.HttpClient;
114
- const config = yield* Service76;
115
- const jobs = yield* Service67;
114
+ const config = yield* Service69;
115
+ const jobs = yield* Service57;
116
116
  const scope = yield* Scope.Scope;
117
117
  const sessions = yield* Service29;
118
- const models = yield* Service83;
119
- const permission = yield* Service71;
118
+ const models = yield* Service76;
119
+ const permission = yield* Service65;
120
120
  const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
121
121
  const available = yield* models.available(["image"]);
122
122
  if (!input) {
@@ -201,7 +201,7 @@ var Plugin18 = {
201
201
  state: info.status,
202
202
  body: info.status === "completed" ? info.output ?? "" : info.status === "error" ? info.error ?? `Image request failed for ${input.file}.` : `Image request for ${input.file} was cancelled.`
203
203
  }),
204
- metadata: { source: name14, jobID: input.id, state: info.status, path: input.file }
204
+ metadata: { source: name3, jobID: input.id, state: info.status, path: input.file }
205
205
  });
206
206
  yield* jobs.completeBackground(input.notificationID);
207
207
  }, Effect.forkIn(scope, { startImmediately: true }));
@@ -220,11 +220,11 @@ var Plugin18 = {
220
220
  if (!enabled || imageGenerate(loaded.entries) === false)
221
221
  return;
222
222
  editor.add({
223
- name: name14,
223
+ name: name3,
224
224
  options: { codemode: false },
225
- description: description6,
226
- input: Input14,
227
- output: Output10,
225
+ description: description2,
226
+ input: Input3,
227
+ output: Output3,
228
228
  execute: (input, context) => Effect.gen(function* () {
229
229
  const resolved = yield* resolveModel(input.model, context.sessionID, input.images !== undefined);
230
230
  const model = resolved.model;
@@ -233,7 +233,7 @@ var Plugin18 = {
233
233
  const target = input.path ? yield* access.resolve({ path: input.path, kind: "file" }) : undefined;
234
234
  const stem = target ? target.absolute.slice(0, target.absolute.length - path.extname(target.absolute).length) : path.join(global.tmp, "images", context.sessionID, `image_${Identifier.create(false)}`);
235
235
  yield* permission.assert({
236
- action: name14,
236
+ action: name3,
237
237
  resources: [ref],
238
238
  save: ["*"],
239
239
  metadata: { ...input, model: ref },
@@ -287,7 +287,7 @@ Use the read tool on this path to view the image.`;
287
287
  yield* jobs.start({
288
288
  id,
289
289
  notificationID,
290
- type: name14,
290
+ type: name3,
291
291
  title: input.prompt,
292
292
  metadata: { sessionID: context.sessionID, path: stem, model: ref },
293
293
  recovery: { kind: "image", sessionID: context.sessionID, path: stem, model: ref },
@@ -326,4 +326,4 @@ function acceptsImages(model) {
326
326
  return model.capabilities.input.some((item) => item.startsWith("image"));
327
327
  }
328
328
 
329
- export { name14, MAX_INPUT_BYTES2, description6, Input14, Output10, Plugin18, defaultModel2, exports_image_generate };
329
+ export { name3, MAX_INPUT_BYTES2, description2, Input3, Output3, Plugin5, defaultModel2, exports_image_generate };