@opencode/core 0.0.0-dev-236 → 0.0.0-dev-248

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 (833) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  3. package/dist/aisdk-native.js +100 -100
  4. package/dist/aisdk.js +106 -106
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +78 -78
  7. package/dist/chunks/{form-aj7mw0zk.js → image-034tev2y.js} +2 -2
  8. package/dist/chunks/{form-0pzggwk2.js → image-04dwygev.js} +28 -28
  9. package/dist/chunks/{form-a66tgrbp.js → image-0hq318p0.js} +21 -21
  10. package/dist/chunks/{form-5s3wzs2b.js → image-0tdbgf6t.js} +6 -6
  11. package/dist/chunks/{form-sdft4pf2.js → image-0v1smhm7.js} +57 -57
  12. package/dist/chunks/{form-ratsm3et.js → image-10gwmmpt.js} +20 -20
  13. package/dist/chunks/{form-8jztxfpf.js → image-11hfp36g.js} +4 -4
  14. package/dist/chunks/{form-9qg9k9gh.js → image-1bf8edtk.js} +17 -17
  15. package/dist/chunks/{form-27w5k9zf.js → image-1ep2p91f.js} +2 -2
  16. package/dist/chunks/{form-57pn975y.js → image-1sd3wnkk.js} +10 -10
  17. package/dist/chunks/{form-1x2knyw4.js → image-1x2knyw4.js} +1 -1
  18. package/dist/chunks/{form-5zrxpy3q.js → image-1yq9hg58.js} +5 -5
  19. package/dist/chunks/{form-4j02pyve.js → image-1z3wvqve.js} +9 -9
  20. package/dist/chunks/{form-204s3925.js → image-204s3925.js} +1 -1
  21. package/dist/chunks/{form-0zh0yqdd.js → image-20pjvqtm.js} +12 -12
  22. package/dist/chunks/{form-b0tt7fbs.js → image-25f6p34y.js} +17 -17
  23. package/dist/chunks/{form-8b3vzgkx.js → image-25h84942.js} +4 -4
  24. package/dist/chunks/{form-26x8chrq.js → image-26x8chrq.js} +3 -3
  25. package/dist/chunks/{form-xty73vjp.js → image-28yqhrns.js} +5 -5
  26. package/dist/chunks/{form-xkkxpaxw.js → image-2ap97v08.js} +19 -19
  27. package/dist/chunks/{form-2dkjcnxp.js → image-2dkjcnxp.js} +1 -1
  28. package/dist/chunks/{form-f952zzwb.js → image-2haa1nrw.js} +4 -4
  29. package/dist/chunks/{form-femntydq.js → image-2m7vd2mn.js} +25 -25
  30. package/dist/chunks/{form-jrqnrhvj.js → image-2skrxz14.js} +16 -16
  31. package/dist/chunks/{form-cram7zgt.js → image-2xwjc3g5.js} +8 -8
  32. package/dist/chunks/{form-81s2k8vv.js → image-32epp8e4.js} +15 -15
  33. package/dist/chunks/{form-0g0wwtc6.js → image-39m5thjs.js} +34 -34
  34. package/dist/chunks/{form-jyvqgxbr.js → image-3ajqprdg.js} +30 -30
  35. package/dist/chunks/{form-xbts61dy.js → image-3bks771a.js} +36 -36
  36. package/dist/chunks/{form-4b42mt74.js → image-3gst0kgm.js} +14 -14
  37. package/dist/chunks/{form-3hepkmqq.js → image-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{form-3r13qzkr.js → image-3jrww01t.js} +49 -53
  39. package/dist/chunks/{form-m7q6ddj2.js → image-3kdbrncp.js} +5 -5
  40. package/dist/chunks/{form-7tyeehtt.js → image-3qcna5dk.js} +1 -1
  41. package/dist/chunks/{form-8f066r9v.js → image-3rt29ewr.js} +17 -17
  42. package/dist/chunks/{form-30jfg8m2.js → image-3t9dgkdy.js} +11 -11
  43. package/dist/chunks/{form-39w9ysaz.js → image-3w0ntz8g.js} +11 -11
  44. package/dist/chunks/{form-kgf7qxx3.js → image-3y081v33.js} +56 -56
  45. package/dist/chunks/{form-ctfjhx7j.js → image-47tv8dfp.js} +15 -15
  46. package/dist/chunks/{form-m0nhvpz4.js → image-4c3xmdam.js} +21 -21
  47. package/dist/chunks/{form-rp624dek.js → image-4eqwcsj2.js} +15 -15
  48. package/dist/chunks/{form-zz5ve47h.js → image-4hhk1wq5.js} +33 -33
  49. package/dist/chunks/{form-rb8x5f8g.js → image-4mkdw68v.js} +6 -6
  50. package/dist/chunks/{form-4pyp9zr9.js → image-4pyp9zr9.js} +1 -1
  51. package/dist/chunks/{form-ax2a2y9p.js → image-4tkxmvmj.js} +10 -10
  52. package/dist/chunks/{form-1fgjq5yh.js → image-4tpjns74.js} +11 -11
  53. package/dist/chunks/{form-4v008n1t.js → image-4v008n1t.js} +1 -1
  54. package/dist/chunks/{form-ex5g5fdx.js → image-4vb4pv6c.js} +4 -4
  55. package/dist/chunks/{form-g39z3c3d.js → image-4x8zw6t1.js} +28 -28
  56. package/dist/chunks/{form-s5h6z9gv.js → image-51y3dyvd.js} +5 -5
  57. package/dist/chunks/{form-2daekhsq.js → image-58d281yc.js} +18 -18
  58. package/dist/chunks/{form-6hc3w7dx.js → image-59few21w.js} +35 -35
  59. package/dist/chunks/{form-tvb592mm.js → image-5cdcvw12.js} +5 -5
  60. package/dist/chunks/{form-r41sfy63.js → image-5enarcya.js} +9 -9
  61. package/dist/chunks/{form-9nbm1qb8.js → image-5f9y2yjb.js} +5 -5
  62. package/dist/chunks/{form-bbex01q8.js → image-5gmpzygr.js} +18 -18
  63. package/dist/chunks/{form-5m9w47nd.js → image-5m9w47nd.js} +1 -1
  64. package/dist/chunks/{form-c7vtx2cj.js → image-5sb780hn.js} +10 -10
  65. package/dist/chunks/{form-rx0a7xyh.js → image-5v2ww1a5.js} +15 -15
  66. package/dist/chunks/{form-gcdcpnqc.js → image-5v3yzjvk.js} +22 -22
  67. package/dist/chunks/{form-zgg8de7g.js → image-5y4p2mbw.js} +11 -11
  68. package/dist/chunks/{form-ma4f8va9.js → image-67eerw5j.js} +17 -17
  69. package/dist/chunks/{form-2az9w9qg.js → image-67xt1syw.js} +21 -21
  70. package/dist/chunks/{form-6h0z5jnc.js → image-6b5m6t85.js} +13 -13
  71. package/dist/chunks/{form-6esdw8yj.js → image-6esdw8yj.js} +1 -1
  72. package/dist/chunks/{form-4vhebqs8.js → image-6khf956j.js} +23 -23
  73. package/dist/chunks/{form-9wfhnavn.js → image-6m42rt11.js} +48 -48
  74. package/dist/chunks/{form-hex344mn.js → image-6r8yaq0c.js} +11 -11
  75. package/dist/chunks/{form-ztqjkmb7.js → image-6v2f7dvw.js} +4 -4
  76. package/dist/chunks/{form-76cb1hcw.js → image-76cb1hcw.js} +1 -1
  77. package/dist/chunks/{form-xtk91xpy.js → image-7bcfrs2x.js} +8 -8
  78. package/dist/chunks/{form-7bmhse3q.js → image-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{form-fymf9s41.js → image-7f054j3n.js} +7 -7
  80. package/dist/chunks/{form-7w2ypzdf.js → image-7w2ypzdf.js} +1 -1
  81. package/dist/chunks/{form-2sqgfc56.js → image-7x8d5pk9.js} +45 -45
  82. package/dist/chunks/{form-wz4vvgzg.js → image-7zwtd1t5.js} +20 -20
  83. package/dist/chunks/{form-5chyaczp.js → image-816kk8rv.js} +10 -5
  84. package/dist/chunks/{form-mggs55rp.js → image-86fy72ae.js} +11 -11
  85. package/dist/chunks/{form-rs85nywm.js → image-86g1pe6q.js} +22 -22
  86. package/dist/chunks/{form-j99dhamb.js → image-89embc53.js} +6 -6
  87. package/dist/chunks/{form-s4j0n7b9.js → image-89ycw09x.js} +24 -24
  88. package/dist/chunks/{form-jxb3gtw0.js → image-8b714bza.js} +8 -8
  89. package/dist/chunks/{form-0neff2gh.js → image-8g8ajnhh.js} +6 -6
  90. package/dist/chunks/{form-9c3ec48c.js → image-8gxv70g9.js} +81 -81
  91. package/dist/chunks/{form-g3d9y95k.js → image-8jf3czjf.js} +23 -23
  92. package/dist/chunks/{form-69p76eyw.js → image-8nkb1bb0.js} +34 -34
  93. package/dist/chunks/{form-8wtp7s3z.js → image-8wtp7s3z.js} +1 -1
  94. package/dist/chunks/{form-dnmen5cb.js → image-8ykqf5wm.js} +9 -9
  95. package/dist/chunks/{form-mdva19h8.js → image-8zgx0mk8.js} +15 -15
  96. package/dist/chunks/{form-90zstvax.js → image-90zstvax.js} +1 -1
  97. package/dist/chunks/{form-pebfq84r.js → image-92zdzejd.js} +21 -21
  98. package/dist/chunks/{form-38adaqc0.js → image-9b00c1fb.js} +5 -5
  99. package/dist/chunks/{form-zgd8t41s.js → image-9f3sjfep.js} +9 -9
  100. package/dist/chunks/{form-gfnmyn48.js → image-9grvd76r.js} +8 -8
  101. package/dist/chunks/{form-mf20dtnm.js → image-9sqzj7jg.js} +9 -9
  102. package/dist/chunks/{form-j3w1x649.js → image-9vmwptcj.js} +27 -27
  103. package/dist/chunks/{form-y3ryyqft.js → image-9ztt5qj6.js} +3 -3
  104. package/dist/chunks/{form-h2xt6wet.js → image-a4ww6fpm.js} +6 -6
  105. package/dist/chunks/{form-57ahrrn7.js → image-a862c78z.js} +19 -19
  106. package/dist/chunks/{form-c4q1vm7v.js → image-ack5fry6.js} +21 -21
  107. package/dist/chunks/{form-5n27fd96.js → image-ag44vf4f.js} +2 -2
  108. package/dist/chunks/{form-812q73hy.js → image-ahzw090p.js} +22 -22
  109. package/dist/chunks/{form-1sw1ga6z.js → image-avce3vrt.js} +13 -13
  110. package/dist/chunks/{form-rhry30kd.js → image-awtxj99r.js} +6 -6
  111. package/dist/chunks/{form-3cbjf1nt.js → image-ayjs7tqn.js} +2 -2
  112. package/dist/chunks/{form-bq3b16qk.js → image-azte55v6.js} +2 -2
  113. package/dist/chunks/{form-smej90w1.js → image-b0nx2azr.js} +9 -9
  114. package/dist/chunks/{form-b6vsg801.js → image-b6vsg801.js} +2 -2
  115. package/dist/chunks/{form-0568hmfx.js → image-bdsr3j33.js} +20 -20
  116. package/dist/chunks/{form-5xhxj3ma.js → image-bhdy8mdp.js} +26 -26
  117. package/dist/chunks/{form-2dzbnn5s.js → image-bn6dytgp.js} +6 -6
  118. package/dist/chunks/{form-s5pg1fnt.js → image-bqdeah0e.js} +27 -27
  119. package/dist/chunks/{form-bstexjd6.js → image-bstexjd6.js} +1 -1
  120. package/dist/chunks/{form-gsw63pph.js → image-c2az2pbz.js} +45 -45
  121. package/dist/chunks/{form-gfdy171d.js → image-c4104nvq.js} +90 -90
  122. package/dist/chunks/{form-z2s36kx0.js → image-c44160y8.js} +7 -7
  123. package/dist/chunks/{form-2azy8kv6.js → image-c6x7d2ts.js} +4 -4
  124. package/dist/chunks/{form-b1pn0vxn.js → image-c9t2ty9q.js} +4 -4
  125. package/dist/chunks/{form-58d2k2k8.js → image-cje1pfpn.js} +32 -32
  126. package/dist/chunks/{form-cwrgdav8.js → image-cwrgdav8.js} +2 -2
  127. package/dist/chunks/{form-gn8tkhbf.js → image-d4v9tmah.js} +2 -2
  128. package/dist/chunks/{form-cpr2q5y2.js → image-d8pnfqg9.js} +35 -35
  129. package/dist/chunks/{form-x0kzwhb5.js → image-de8e9e1p.js} +6 -6
  130. package/dist/chunks/{form-dt7r1hfc.js → image-dgy090gd.js} +5 -5
  131. package/dist/chunks/{form-dt77769w.js → image-dt77769w.js} +1 -1
  132. package/dist/chunks/{form-hz4138gk.js → image-dxw797sb.js} +11 -11
  133. package/dist/chunks/{form-tn4wkvja.js → image-e16ncx1j.js} +22 -22
  134. package/dist/chunks/{form-drvbhkez.js → image-e2ne77ac.js} +4 -4
  135. package/dist/chunks/{form-nm34g1pn.js → image-e4v2mgyj.js} +6 -6
  136. package/dist/chunks/{form-m4mdhy98.js → image-e6v5qvkg.js} +11 -11
  137. package/dist/chunks/{form-e834z07m.js → image-e834z07m.js} +1 -1
  138. package/dist/chunks/{form-jynhhecs.js → image-eahpwh8e.js} +4 -4
  139. package/dist/chunks/{form-apejkmwr.js → image-em6jm62j.js} +5 -5
  140. package/dist/chunks/{form-v54nvb2h.js → image-f01y088k.js} +5 -5
  141. package/dist/chunks/{form-f4mscg03.js → image-f1qxk96b.js} +11 -11
  142. package/dist/chunks/{form-wdxw6h8d.js → image-f3d4492r.js} +13 -13
  143. package/dist/chunks/{form-wcr7n0w7.js → image-f9vfey2v.js} +18 -18
  144. package/dist/chunks/{form-1gebr7re.js → image-fe7b6z6g.js} +21 -21
  145. package/dist/chunks/{form-fffv3p7h.js → image-fffv3p7h.js} +1 -1
  146. package/dist/chunks/{form-prq7xxp2.js → image-fg9p65nk.js} +6 -6
  147. package/dist/chunks/{form-wmsrda0h.js → image-frevgasg.js} +28 -28
  148. package/dist/chunks/{form-r4bcfbbz.js → image-fskffsfd.js} +16 -16
  149. package/dist/chunks/{form-zep4evtf.js → image-fy9mjtsj.js} +20 -20
  150. package/dist/chunks/{form-np3f7rt0.js → image-fypmhnps.js} +2 -2
  151. package/dist/chunks/{form-8kvd5mpw.js → image-fysk4shs.js} +6 -6
  152. package/dist/chunks/{form-wr3re1en.js → image-fznmdakp.js} +4 -4
  153. package/dist/chunks/{form-t08mfb53.js → image-g6car740.js} +48 -48
  154. package/dist/chunks/{form-hfgk9wzg.js → image-g7esga4v.js} +7 -7
  155. package/dist/chunks/{form-nt9wvz87.js → image-g8mt74n4.js} +25 -25
  156. package/dist/chunks/{form-6733gk72.js → image-gacpt71r.js} +30 -30
  157. package/dist/chunks/{form-4ashkr7h.js → image-gbjdk4c3.js} +27 -27
  158. package/dist/chunks/{form-h5jrm83f.js → image-h3pnxjmh.js} +9 -9
  159. package/dist/chunks/{form-t5prmbbw.js → image-h4p3pyf8.js} +6 -6
  160. package/dist/chunks/{form-w5znx9nn.js → image-ha1g65f2.js} +14 -14
  161. package/dist/chunks/{form-1wap8mvb.js → image-hcc6p5a3.js} +28 -28
  162. package/dist/chunks/{form-cd6xe7sj.js → image-heqea18d.js} +24 -24
  163. package/dist/chunks/{form-pxsvpp78.js → image-hex7e87k.js} +11 -11
  164. package/dist/chunks/{form-hh7kjqtw.js → image-hh7kjqtw.js} +1 -1
  165. package/dist/chunks/{form-37qznj3x.js → image-hmthv8g3.js} +16 -16
  166. package/dist/chunks/{form-20h0fae3.js → image-hp23tba8.js} +40 -40
  167. package/dist/chunks/{form-hpg1pkwy.js → image-hpg1pkwy.js} +1 -1
  168. package/dist/chunks/{form-jh74jycr.js → image-hqxkkta1.js} +3 -3
  169. package/dist/chunks/{form-fs9kz63c.js → image-hxh3sdms.js} +14 -14
  170. package/dist/chunks/{form-a2qrzhrv.js → image-j0y2j2y9.js} +12 -12
  171. package/dist/chunks/{form-gm7a1s2a.js → image-j1k7c27p.js} +16 -16
  172. package/dist/chunks/{form-e3yq7vhq.js → image-j36nge33.js} +22 -22
  173. package/dist/chunks/{form-0wkkkdkf.js → image-j8ypmtmr.js} +12 -12
  174. package/dist/chunks/{form-k302pdnh.js → image-jcqm84fr.js} +9 -9
  175. package/dist/chunks/{form-jfaecv01.js → image-jfaecv01.js} +1 -1
  176. package/dist/chunks/{form-0gbb59p9.js → image-jn88007r.js} +2 -2
  177. package/dist/chunks/{form-2mbjfaxd.js → image-jns4gqy7.js} +4 -4
  178. package/dist/chunks/{form-03jqhmmy.js → image-jqcfy5ts.js} +33 -33
  179. package/dist/chunks/{form-45qxjkfx.js → image-js1q3m86.js} +9 -9
  180. package/dist/chunks/{form-jtnps1zs.js → image-jtnps1zs.js} +2 -2
  181. package/dist/chunks/{form-tsdwyhx3.js → image-jy8nsvvz.js} +3 -3
  182. package/dist/chunks/{form-xhr3cxyj.js → image-k0cyqgb5.js} +11 -11
  183. package/dist/chunks/{form-9rmw0sn3.js → image-k0e45ge6.js} +14 -14
  184. package/dist/chunks/{form-0j3zdga0.js → image-k5jndtya.js} +1 -1
  185. package/dist/chunks/{form-k814nvkf.js → image-k814nvkf.js} +1 -1
  186. package/dist/chunks/{form-k9zkdd2y.js → image-k9zkdd2y.js} +1 -1
  187. package/dist/chunks/{form-p71ca3rx.js → image-kag6nkv4.js} +21 -21
  188. package/dist/chunks/{form-kg2n5yz1.js → image-kee8ykx2.js} +8 -8
  189. package/dist/chunks/{form-5w8z11at.js → image-kprvh3r4.js} +18 -18
  190. package/dist/chunks/{form-4er7ty69.js → image-kqjfhnyk.js} +14 -14
  191. package/dist/chunks/{form-swhkgwn8.js → image-kssbtbt0.js} +77 -77
  192. package/dist/chunks/{form-kt3bjfbg.js → image-kt3bjfbg.js} +1 -1
  193. package/dist/chunks/{form-cqgdxhj0.js → image-m11k789k.js} +17 -17
  194. package/dist/chunks/{form-m1714858.js → image-m1714858.js} +1 -1
  195. package/dist/chunks/{form-nes0j92p.js → image-m409210a.js} +2 -2
  196. package/dist/chunks/{form-pa26emph.js → image-m4rznpxk.js} +29 -29
  197. package/dist/chunks/{form-75q1s5an.js → image-m528r48h.js} +4 -4
  198. package/dist/chunks/{form-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
  199. package/dist/chunks/{form-8z6m94af.js → image-mb7mbhnz.js} +3 -3
  200. package/dist/chunks/{form-7wx5knwb.js → image-mg0htjxc.js} +25 -25
  201. package/dist/chunks/{form-mg356nz4.js → image-mg356nz4.js} +3 -3
  202. package/dist/chunks/{form-65745s09.js → image-mj7659ab.js} +24 -24
  203. package/dist/chunks/{form-2nm4w996.js → image-n0ekdz40.js} +40 -40
  204. package/dist/chunks/{form-115q1jpg.js → image-n1c40vny.js} +3 -3
  205. package/dist/chunks/image-n4r6va5a.js +257 -0
  206. package/dist/chunks/{form-65w5xxws.js → image-n8x58739.js} +11 -11
  207. package/dist/chunks/{form-770pw0s1.js → image-nah043kf.js} +4 -4
  208. package/dist/chunks/{form-0a4nha02.js → image-nhjb6w3d.js} +8 -8
  209. package/dist/chunks/{form-eq9kvdfm.js → image-njw1ekhc.js} +11 -11
  210. package/dist/chunks/{form-3mt7h3sc.js → image-ntqnj75s.js} +4 -4
  211. package/dist/chunks/{form-whk88kq8.js → image-nwarprta.js} +28 -28
  212. package/dist/chunks/{form-6dgef8zt.js → image-nz92z2sf.js} +18 -18
  213. package/dist/chunks/{form-p015t6z3.js → image-p015t6z3.js} +2 -2
  214. package/dist/chunks/{form-1naqjf9j.js → image-p087ke4f.js} +43 -43
  215. package/dist/chunks/{form-6v96zr1h.js → image-pd4ndcwr.js} +20 -20
  216. package/dist/chunks/{form-wpm462xr.js → image-pebb1b2g.js} +10 -10
  217. package/dist/chunks/{form-w6rf4v00.js → image-penn2v67.js} +12 -12
  218. package/dist/chunks/{form-z1s357w5.js → image-pf7dnjhv.js} +23 -23
  219. package/dist/chunks/{form-9310e8g9.js → image-pfz9gkfy.js} +11 -11
  220. package/dist/chunks/{form-pknna89w.js → image-pknna89w.js} +1 -1
  221. package/dist/chunks/{form-9avx4ajz.js → image-pkx7b8zb.js} +15 -15
  222. package/dist/chunks/{form-6yppqcev.js → image-q0f5tnzd.js} +26 -26
  223. package/dist/chunks/{form-75dkjs9q.js → image-q2akw4rt.js} +28 -28
  224. package/dist/chunks/{form-s6pdabng.js → image-q4jmz9te.js} +25 -25
  225. package/dist/chunks/{form-1xnfgx4x.js → image-q4rvt96e.js} +9 -9
  226. package/dist/chunks/{form-cv03a796.js → image-q4zyxfy7.js} +9 -9
  227. package/dist/chunks/{form-bhm8f5xf.js → image-q5gscbn2.js} +3 -3
  228. package/dist/chunks/{form-9bcxv424.js → image-qcsh9g2y.js} +11 -11
  229. package/dist/chunks/{form-crdv0qyn.js → image-qeqspr7f.js} +3 -3
  230. package/dist/chunks/{form-qp7r0hxv.js → image-qp7r0hxv.js} +1 -1
  231. package/dist/chunks/{form-60v1vsga.js → image-qp7zbdnj.js} +30 -30
  232. package/dist/chunks/{form-2gptajwx.js → image-qqsnbxa9.js} +1 -1
  233. package/dist/chunks/{form-qqvy8y24.js → image-qqvy8y24.js} +1 -1
  234. package/dist/chunks/{form-3yrks06x.js → image-qqyrafx2.js} +7 -7
  235. package/dist/chunks/{form-kg4r8sy9.js → image-qsv00416.js} +32 -32
  236. package/dist/chunks/{form-7fz7kdv3.js → image-qy3khhnd.js} +29 -29
  237. package/dist/chunks/{form-800hrrsd.js → image-qz9nzpv7.js} +24 -24
  238. package/dist/chunks/{form-r542h3bh.js → image-r542h3bh.js} +1 -1
  239. package/dist/chunks/{form-g4n1wayp.js → image-ra36q08n.js} +15 -15
  240. package/dist/chunks/{form-rb9dy4dg.js → image-rb9dy4dg.js} +1 -1
  241. package/dist/chunks/{form-7pryy4s8.js → image-rj53dkn5.js} +46 -46
  242. package/dist/chunks/{form-tm4pda5m.js → image-rnm2nekc.js} +5 -5
  243. package/dist/chunks/{form-rt5dr6hb.js → image-rt5dr6hb.js} +1 -1
  244. package/dist/chunks/{form-s7kyse9r.js → image-s7kyse9r.js} +1 -1
  245. package/dist/chunks/{form-nsd4cwk5.js → image-s9r9y5yp.js} +15 -15
  246. package/dist/chunks/{form-sa3fpqfw.js → image-sa3fpqfw.js} +2 -2
  247. package/dist/chunks/{form-cn8yknkt.js → image-seap89fc.js} +11 -11
  248. package/dist/chunks/{form-dy2eaxm7.js → image-sm9ekc7r.js} +7 -7
  249. package/dist/chunks/{form-0j7gp832.js → image-sqjzf8x2.js} +4 -4
  250. package/dist/chunks/{form-pwarvv20.js → image-stv8d0fa.js} +25 -25
  251. package/dist/chunks/{form-svcy3p9a.js → image-svcy3p9a.js} +1 -1
  252. package/dist/chunks/{form-7hv4r7xp.js → image-t2rnpzgv.js} +18 -18
  253. package/dist/chunks/{form-tczq8hjw.js → image-tczq8hjw.js} +1 -1
  254. package/dist/chunks/{form-6xa52pg9.js → image-tkm3ck5b.js} +343 -343
  255. package/dist/chunks/{form-3nnrz6f6.js → image-tmc7xdjs.js} +4 -4
  256. package/dist/chunks/{form-5m8x74ph.js → image-tn1wjjkb.js} +4 -4
  257. package/dist/chunks/{form-9a9c6hns.js → image-trpj6qs6.js} +18 -18
  258. package/dist/chunks/{form-twssxy5n.js → image-twssxy5n.js} +2 -2
  259. package/dist/chunks/{form-x4ym8htq.js → image-v1zexmjw.js} +21 -21
  260. package/dist/chunks/{form-v2r1d0zg.js → image-v2r1d0zg.js} +1 -1
  261. package/dist/chunks/{form-6rtanm5a.js → image-v4ntjfa2.js} +28 -28
  262. package/dist/chunks/{form-4xd23xa0.js → image-vk8647fk.js} +4 -4
  263. package/dist/chunks/{form-37cecxny.js → image-vpfyxq3b.js} +25 -25
  264. package/dist/chunks/{form-99z41sf4.js → image-vx3jgdek.js} +3 -3
  265. package/dist/chunks/{form-jrzfxer4.js → image-w0sctsdt.js} +2 -2
  266. package/dist/chunks/{form-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
  267. package/dist/chunks/{form-wakvkjy4.js → image-wakvkjy4.js} +1 -1
  268. package/dist/chunks/{form-wd87259q.js → image-wd87259q.js} +1 -1
  269. package/dist/chunks/{form-zsehzjv7.js → image-wec13qf8.js} +9 -9
  270. package/dist/chunks/{form-wnhgecwx.js → image-wnhgecwx.js} +1 -1
  271. package/dist/chunks/{form-gry98xea.js → image-wpv0pemx.js} +2 -2
  272. package/dist/chunks/{form-j4zj9swe.js → image-wwv5we4j.js} +20 -20
  273. package/dist/chunks/{form-p27rrfjt.js → image-wxae8jq7.js} +19 -19
  274. package/dist/chunks/{form-cykhmcxq.js → image-x219xq9r.js} +10 -10
  275. package/dist/chunks/{form-hpbhhm01.js → image-x5jjnb31.js} +5 -5
  276. package/dist/chunks/{form-mgkq9fbg.js → image-xcx6w6h2.js} +6 -6
  277. package/dist/chunks/{form-4nawp0d8.js → image-xg3m3sfb.js} +182 -182
  278. package/dist/chunks/{form-s6h2s3rz.js → image-xk2zn0cv.js} +4 -4
  279. package/dist/chunks/{form-x4r85fe4.js → image-xpryaxy7.js} +17 -17
  280. package/dist/chunks/{form-x26wqd07.js → image-xsvq7cjt.js} +4 -4
  281. package/dist/chunks/{form-gtn9c16a.js → image-xt0z8zst.js} +4 -4
  282. package/dist/chunks/{form-cbht8k07.js → image-xxbr9jsf.js} +21 -21
  283. package/dist/chunks/{form-202bxvr4.js → image-y6jzwgk6.js} +8 -8
  284. package/dist/chunks/{form-pxtfkpje.js → image-yara3q77.js} +2 -2
  285. package/dist/chunks/{form-yb20nhc3.js → image-yb20nhc3.js} +1 -1
  286. package/dist/chunks/{form-h9bxdqvt.js → image-yc8ck43p.js} +5 -5
  287. package/dist/chunks/{form-kmzgegqq.js → image-ydsespw1.js} +8 -8
  288. package/dist/chunks/{form-vpakn3dw.js → image-ydx4vg6d.js} +16 -16
  289. package/dist/chunks/{form-67kez8k6.js → image-yhrdpjcs.js} +13 -13
  290. package/dist/chunks/{form-ymz7p2c9.js → image-ymz7p2c9.js} +3 -3
  291. package/dist/chunks/{form-z38nccrw.js → image-z38nccrw.js} +1 -1
  292. package/dist/chunks/{form-xffdvv21.js → image-z4vm3w9s.js} +15 -15
  293. package/dist/chunks/{form-ksddj7ae.js → image-zeytg9j8.js} +12 -12
  294. package/dist/chunks/{form-ffd03e03.js → image-zge8sn7n.js} +8 -8
  295. package/dist/chunks/{form-cenhz2kb.js → image-zm4870m6.js} +19 -19
  296. package/dist/chunks/{form-58k7dgzm.js → image-znxs0qdf.js} +24 -24
  297. package/dist/chunks/{form-skszvm0v.js → image-zp19ebaj.js} +10 -10
  298. package/dist/chunks/{form-3mtymbf0.js → image-zr9mjdac.js} +46 -46
  299. package/dist/chunks/image-zx247qgx.js +26 -0
  300. package/dist/codemode/catalog.js +1 -1
  301. package/dist/codemode/instructions.js +5 -5
  302. package/dist/codemode/tool.js +3 -3
  303. package/dist/codemode/web.js +1 -1
  304. package/dist/command.js +92 -92
  305. package/dist/config/discovery.js +93 -93
  306. package/dist/config/integration.js +1 -1
  307. package/dist/config/markdown.js +1 -1
  308. package/dist/config/normalize.js +110 -110
  309. package/dist/config/plugin/agent.js +126 -126
  310. package/dist/config/plugin/command.js +224 -224
  311. package/dist/config/plugin/compaction.js +165 -165
  312. package/dist/config/plugin/compatibility.js +145 -145
  313. package/dist/config/plugin/entry-observer.js +1 -1
  314. package/dist/config/plugin/formatter.js +125 -125
  315. package/dist/config/plugin/image.js +124 -124
  316. package/dist/config/plugin/instruction.js +124 -124
  317. package/dist/config/plugin/location-watcher.js +124 -124
  318. package/dist/config/plugin/mcp.js +133 -133
  319. package/dist/config/plugin/policy.js +126 -126
  320. package/dist/config/plugin/provider.js +125 -125
  321. package/dist/config/plugin/reference.js +126 -126
  322. package/dist/config/plugin/shell.js +126 -126
  323. package/dist/config/plugin/skill-file.js +141 -141
  324. package/dist/config/plugin/skill-scan.js +3 -3
  325. package/dist/config/plugin/skill.js +148 -148
  326. package/dist/config/plugin/snapshot.js +124 -124
  327. package/dist/config/plugin/source.js +127 -127
  328. package/dist/config/plugin/tool-output.js +125 -125
  329. package/dist/config/plugin/websearch.js +125 -125
  330. package/dist/config/plugin/worktree.js +126 -126
  331. package/dist/config/variable.js +1 -1
  332. package/dist/config/watch.js +1 -1
  333. package/dist/config.js +129 -129
  334. package/dist/console-access.js +1 -1
  335. package/dist/credential/sql.js +2 -2
  336. package/dist/credential.js +92 -92
  337. package/dist/database/database.js +75 -75
  338. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  339. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  340. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  341. package/dist/database/drizzle/index.js +15 -15
  342. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  343. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  344. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  345. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  346. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  347. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  348. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  349. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  350. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  351. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  352. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  353. package/dist/database/drizzle.js +16 -16
  354. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  355. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  356. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  357. package/dist/database/migration/20260225215848_workspace.js +1 -1
  358. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  359. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  360. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  361. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  362. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  363. package/dist/database/migration/20260323234822_events.js +1 -1
  364. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  365. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  366. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  367. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  368. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  369. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  370. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  371. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  372. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  373. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  374. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  375. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  376. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  377. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  378. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  379. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  380. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  381. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  382. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  383. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  384. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  385. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  386. package/dist/database/migration/20260611035744_credential.js +1 -1
  387. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  388. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  389. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  390. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  391. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  392. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  393. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  394. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  395. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  396. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  397. package/dist/database/migration/20260812213948_worktree.js +1 -1
  398. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  399. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  400. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  401. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  402. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  403. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  404. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  405. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  406. package/dist/database/migration/20261025123711_blob.js +1 -1
  407. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  408. package/dist/database/migration/20261026223005_schedule.js +1 -1
  409. package/dist/database/migration/20261029002625_session_part.js +1 -1
  410. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  411. package/dist/database/migration.gen.js +58 -58
  412. package/dist/database/migration.js +60 -60
  413. package/dist/database/path.js +2 -2
  414. package/dist/database/schema.gen.js +1 -1
  415. package/dist/database/schema.sql.js +1 -1
  416. package/dist/database/sqlite.bun.js +1 -1
  417. package/dist/database/sqlite.js +1 -1
  418. package/dist/database/sqlite.node.js +1 -1
  419. package/dist/database/sqlite.workerd.js +1 -1
  420. package/dist/database/v1-migration.bun.js +103 -103
  421. package/dist/database/v1-migration.js +1 -1
  422. package/dist/effect/app-node-builder.js +388 -388
  423. package/dist/effect/app-node-platform.js +2 -2
  424. package/dist/effect/keyed-mutex.js +3 -3
  425. package/dist/effect/websocket-constructor.js +1 -1
  426. package/dist/environment/driver.js +1 -1
  427. package/dist/environment/environment.js +104 -104
  428. package/dist/environment/exec-defaults.js +2 -2
  429. package/dist/environment/files.js +1 -1
  430. package/dist/environment/index.js +104 -104
  431. package/dist/environment/local.js +2 -2
  432. package/dist/environment/memory.js +2 -2
  433. package/dist/environment/unavailable.js +3 -3
  434. package/dist/event/sql.js +1 -1
  435. package/dist/event-logger.js +79 -79
  436. package/dist/file-access.js +151 -151
  437. package/dist/file-mutation.js +105 -105
  438. package/dist/file-retention.js +1 -1
  439. package/dist/filesystem/fff.bun.js +2 -2
  440. package/dist/filesystem/fff.js +1 -1
  441. package/dist/filesystem/fff.node.js +2 -2
  442. package/dist/filesystem/fff.workerd.js +2 -2
  443. package/dist/filesystem/file-watch.js +86 -86
  444. package/dist/filesystem/location-watcher-policy.js +6 -6
  445. package/dist/filesystem/location-watcher.js +235 -235
  446. package/dist/filesystem/protected.js +1 -1
  447. package/dist/filesystem/search.js +108 -108
  448. package/dist/filesystem/watcher-binding.js +1 -1
  449. package/dist/filesystem/watcher.js +11 -11
  450. package/dist/filesystem.js +111 -111
  451. package/dist/form.js +89 -89
  452. package/dist/formatter/builtins.js +4 -4
  453. package/dist/formatter.js +98 -98
  454. package/dist/generate.js +116 -116
  455. package/dist/git.js +11 -11
  456. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  457. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  458. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  459. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  460. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  461. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  462. package/dist/github-copilot/copilot-provider.js +17 -17
  463. package/dist/github-copilot/models.js +102 -102
  464. package/dist/github-copilot/openai-compatible-error.js +1 -1
  465. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  466. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  467. package/dist/github-copilot/responses/openai-error.js +1 -1
  468. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  469. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  470. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  471. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  472. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  473. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  474. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  475. package/dist/image/notice.js +3 -3
  476. package/dist/image/photon-normalize.js +1 -1
  477. package/dist/image/photon-worker.js +1 -1
  478. package/dist/image/photon.js +4 -4
  479. package/dist/image.js +6 -6
  480. package/dist/instance/service.js +5 -5
  481. package/dist/instance.js +379 -379
  482. package/dist/instruction-discovery.js +95 -95
  483. package/dist/instructions/builtins.js +98 -98
  484. package/dist/instructions/index.js +3 -3
  485. package/dist/integration/connection.js +3 -3
  486. package/dist/integration.js +98 -98
  487. package/dist/job.js +87 -87
  488. package/dist/kv/sql.js +2 -2
  489. package/dist/kv.js +82 -82
  490. package/dist/location-activity.js +166 -166
  491. package/dist/location-lifecycle.js +145 -145
  492. package/dist/location-service-map.js +97 -97
  493. package/dist/location-services.js +376 -376
  494. package/dist/location.js +100 -100
  495. package/dist/managed-policy.js +3 -3
  496. package/dist/mcp/client.js +102 -102
  497. package/dist/mcp/index.js +116 -116
  498. package/dist/mcp/instructions.js +169 -169
  499. package/dist/mcp/oauth.js +87 -87
  500. package/dist/mcp/socket-client.js +1 -1
  501. package/dist/mcp/stdio.js +101 -101
  502. package/dist/mime.js +1 -1
  503. package/dist/modal/models.js +102 -102
  504. package/dist/model-resolver.js +110 -110
  505. package/dist/model-retry.js +1 -1
  506. package/dist/model.js +109 -109
  507. package/dist/models-dev/v1.js +1 -1
  508. package/dist/models-dev.js +113 -113
  509. package/dist/oauth/page.js +1 -1
  510. package/dist/permission/saved.js +91 -91
  511. package/dist/permission/sql.js +5 -5
  512. package/dist/permission.js +148 -148
  513. package/dist/persistent-pty/binary.bun.js +1 -1
  514. package/dist/persistent-pty/daemon.js +1 -1
  515. package/dist/persistent-pty/index.js +95 -95
  516. package/dist/persistent-pty/pty-binding.js +1 -1
  517. package/dist/persistent-pty.js +84 -84
  518. package/dist/plugin/agent.js +85 -85
  519. package/dist/plugin/command.js +113 -113
  520. package/dist/plugin/goal.js +3 -3
  521. package/dist/plugin/hooks.js +5 -5
  522. package/dist/plugin/host.js +228 -228
  523. package/dist/plugin/identity.js +5 -5
  524. package/dist/plugin/instance.js +5 -5
  525. package/dist/plugin/internal.js +349 -349
  526. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  527. package/dist/plugin/models-dev.js +108 -108
  528. package/dist/plugin/module.js +126 -126
  529. package/dist/plugin/optimize.js +2 -2
  530. package/dist/plugin/plan.js +141 -141
  531. package/dist/plugin/promise.js +1 -1
  532. package/dist/plugin/provider/amazon-bedrock.js +102 -102
  533. package/dist/plugin/provider/azure.js +124 -124
  534. package/dist/plugin/provider/cerebras.js +1 -1
  535. package/dist/plugin/provider/chatgpt.js +124 -124
  536. package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -122
  537. package/dist/plugin/provider/cloudflare-workers-ai.js +122 -122
  538. package/dist/plugin/provider/configured.js +120 -120
  539. package/dist/plugin/provider/credential-settings.js +83 -83
  540. package/dist/plugin/provider/databricks.js +1 -1
  541. package/dist/plugin/provider/digitalocean.js +104 -104
  542. package/dist/plugin/provider/dynamic.js +2 -2
  543. package/dist/plugin/provider/github-copilot.js +106 -106
  544. package/dist/plugin/provider/gitlab.js +105 -105
  545. package/dist/plugin/provider/google-vertex.js +121 -121
  546. package/dist/plugin/provider/kilo.js +1 -1
  547. package/dist/plugin/provider/llmgateway.js +87 -87
  548. package/dist/plugin/provider/lmstudio.js +131 -131
  549. package/dist/plugin/provider/local.js +130 -130
  550. package/dist/plugin/provider/modal.js +103 -103
  551. package/dist/plugin/provider/neon.js +1 -1
  552. package/dist/plugin/provider/nvidia.js +1 -1
  553. package/dist/plugin/provider/ollama.js +133 -133
  554. package/dist/plugin/provider/openai-context-caps.js +101 -101
  555. package/dist/plugin/provider/openai.js +124 -124
  556. package/dist/plugin/provider/opencode.js +127 -127
  557. package/dist/plugin/provider/openrouter.js +102 -102
  558. package/dist/plugin/provider/poe.js +88 -88
  559. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  560. package/dist/plugin/provider/sap-ai-core.js +102 -102
  561. package/dist/plugin/provider/sdk-factory.js +1 -1
  562. package/dist/plugin/provider/snowflake-cortex.js +123 -123
  563. package/dist/plugin/provider/vllm.js +133 -133
  564. package/dist/plugin/provider/xai.js +102 -102
  565. package/dist/plugin/provider/zenmux.js +1 -1
  566. package/dist/plugin/provider.js +175 -175
  567. package/dist/plugin/sdk.js +81 -81
  568. package/dist/plugin/service.js +1 -1
  569. package/dist/plugin/skill.js +142 -142
  570. package/dist/plugin/source-directory.js +1 -1
  571. package/dist/plugin/supervisor.js +363 -363
  572. package/dist/plugin/tool-input-repair.js +4 -4
  573. package/dist/plugin/update.js +2 -2
  574. package/dist/plugin/vcs/git.js +97 -97
  575. package/dist/plugin/vcs/hg.js +97 -97
  576. package/dist/plugin/verbosity.js +104 -104
  577. package/dist/plugin/warming.js +122 -122
  578. package/dist/plugin/websearch/exa.js +7 -7
  579. package/dist/plugin/websearch/firecrawl.js +8 -8
  580. package/dist/plugin/websearch/index.js +9 -9
  581. package/dist/plugin/websearch/mcp.js +6 -6
  582. package/dist/plugin/websearch/parallel.js +8 -8
  583. package/dist/plugin/websearch/tavily.js +4 -4
  584. package/dist/plugin/websearch/tinyfish.js +8 -8
  585. package/dist/plugin.js +237 -237
  586. package/dist/project/icon.js +5 -5
  587. package/dist/project/schema.js +8 -8
  588. package/dist/project/sql.js +4 -4
  589. package/dist/project.js +99 -99
  590. package/dist/provider.js +108 -108
  591. package/dist/pty/protocol.js +1 -1
  592. package/dist/pty/ticket.js +1 -1
  593. package/dist/pty.js +109 -109
  594. package/dist/reference/instructions.js +99 -99
  595. package/dist/reference.js +99 -99
  596. package/dist/repository-cache.js +91 -91
  597. package/dist/repository.js +1 -1
  598. package/dist/ripgrep/binary.js +2 -2
  599. package/dist/ripgrep.js +108 -108
  600. package/dist/rpc.js +97 -97
  601. package/dist/schedule/sql.js +6 -6
  602. package/dist/schedule.js +222 -222
  603. package/dist/schema.js +1 -1
  604. package/dist/session/affinity.js +3 -3
  605. package/dist/session/background.js +1 -1
  606. package/dist/session/blob.js +123 -123
  607. package/dist/session/command.js +83 -83
  608. package/dist/session/compaction.js +165 -165
  609. package/dist/session/context.js +191 -191
  610. package/dist/session/diff.js +99 -99
  611. package/dist/session/environment.js +5 -5
  612. package/dist/session/error.js +5 -5
  613. package/dist/session/event.js +1 -1
  614. package/dist/session/execution/restart.js +237 -237
  615. package/dist/session/execution.js +155 -155
  616. package/dist/session/generate.js +193 -193
  617. package/dist/session/history.js +130 -130
  618. package/dist/session/inbox.js +139 -139
  619. package/dist/session/info.js +3 -3
  620. package/dist/session/instruction-entry.js +88 -88
  621. package/dist/session/instruction-state.js +8 -8
  622. package/dist/session/instructions.js +135 -135
  623. package/dist/session/message-updater.js +2 -2
  624. package/dist/session/message.js +1 -1
  625. package/dist/session/model-request.js +158 -158
  626. package/dist/session/model-transport.js +9 -9
  627. package/dist/session/move.js +159 -159
  628. package/dist/session/projector.js +137 -137
  629. package/dist/session/prompt.js +143 -143
  630. package/dist/session/recent-text.js +1 -1
  631. package/dist/session/revert.js +133 -133
  632. package/dist/session/run-coordinator.js +3 -3
  633. package/dist/session/runner/index.js +3 -3
  634. package/dist/session/runner/llm.js +242 -242
  635. package/dist/session/runner/max-steps.js +1 -1
  636. package/dist/session/runner/model.js +111 -111
  637. package/dist/session/runner/publish-llm-event.js +144 -144
  638. package/dist/session/runner/retry.js +3 -3
  639. package/dist/session/runner/step.js +157 -157
  640. package/dist/session/runner/to-llm-message.js +131 -131
  641. package/dist/session/schema.js +5 -5
  642. package/dist/session/session.js +175 -175
  643. package/dist/session/shell.js +138 -138
  644. package/dist/session/skill.js +144 -144
  645. package/dist/session/sql.js +5 -5
  646. package/dist/session/stats.js +82 -82
  647. package/dist/session/store.js +136 -136
  648. package/dist/session/stored.js +4 -4
  649. package/dist/session/subagent-completion.js +3 -3
  650. package/dist/session/subagent-job.js +222 -222
  651. package/dist/session/system-prompt.js +5 -5
  652. package/dist/session/title.js +195 -195
  653. package/dist/session/to-session-error.js +143 -143
  654. package/dist/session/transfer.js +230 -230
  655. package/dist/session/usage.js +1 -1
  656. package/dist/session.js +228 -228
  657. package/dist/shell/parse.js +8 -8
  658. package/dist/shell/result.js +1 -1
  659. package/dist/shell/scan.js +1 -1
  660. package/dist/shell/select.js +13 -13
  661. package/dist/shell.js +140 -140
  662. package/dist/skill/discovery.js +6 -6
  663. package/dist/skill/instructions.js +146 -146
  664. package/dist/skill.js +151 -151
  665. package/dist/snapshot.js +104 -104
  666. package/dist/state.js +1 -1
  667. package/dist/tool/html-markdown.js +1 -1
  668. package/dist/tool/http-body.js +1 -1
  669. package/dist/tool/mcp.js +168 -168
  670. package/dist/tool/plugin/edit.js +159 -159
  671. package/dist/tool/plugin/file-diff.js +1 -1
  672. package/dist/tool/plugin/glob.js +155 -155
  673. package/dist/tool/plugin/grep.js +155 -155
  674. package/dist/tool/plugin/image-generate.js +230 -230
  675. package/dist/tool/plugin/mcp-resource.js +157 -157
  676. package/dist/tool/plugin/opencode.js +156 -156
  677. package/dist/tool/plugin/patch.js +161 -161
  678. package/dist/tool/plugin/question.js +139 -139
  679. package/dist/tool/plugin/read.js +162 -162
  680. package/dist/tool/plugin/schedule.js +222 -222
  681. package/dist/tool/plugin/shell.js +227 -227
  682. package/dist/tool/plugin/skill.js +152 -152
  683. package/dist/tool/plugin/subagent.js +229 -229
  684. package/dist/tool/plugin/todo.js +148 -148
  685. package/dist/tool/plugin/webfetch.js +152 -152
  686. package/dist/tool/plugin/websearch.js +150 -150
  687. package/dist/tool/plugin/write.js +161 -161
  688. package/dist/tool/read-filesystem.js +113 -113
  689. package/dist/tool/runtime.js +1 -1
  690. package/dist/tool-output.js +7 -7
  691. package/dist/tool.js +10 -10
  692. package/dist/types/tool/plugin/image-generate.d.ts +1 -1
  693. package/dist/usage-limits.js +96 -96
  694. package/dist/util/error-summary.js +1 -1
  695. package/dist/util/git-executable.js +3 -3
  696. package/dist/util/lazy.js +1 -1
  697. package/dist/util/slug.js +1 -1
  698. package/dist/util/token.js +1 -1
  699. package/dist/util/which.js +1 -1
  700. package/dist/util/wildcard.js +1 -1
  701. package/dist/v1/config/agent.js +7 -7
  702. package/dist/v1/config/command.js +3 -3
  703. package/dist/v1/config/mcp.js +4 -4
  704. package/dist/v1/config/migrate.js +103 -103
  705. package/dist/v1/config/permission.js +1 -1
  706. package/dist/v1/config/plugin.js +3 -3
  707. package/dist/v1/config/provider-options.js +1 -1
  708. package/dist/v1/config/provider.js +4 -4
  709. package/dist/variant.js +104 -104
  710. package/dist/vcs/patch.js +1 -1
  711. package/dist/vcs.js +100 -100
  712. package/dist/voice.js +95 -95
  713. package/dist/websearch.js +91 -91
  714. package/dist/wellknown/plugin.js +85 -85
  715. package/dist/wellknown.js +88 -88
  716. package/dist/workspace/driver.js +5 -5
  717. package/dist/workspace/sql.js +1 -1
  718. package/dist/workspace.js +91 -91
  719. package/dist/worktree/directory.js +2 -2
  720. package/dist/worktree/git.js +11 -11
  721. package/dist/worktree/sql.js +5 -5
  722. package/dist/worktree/strategies.js +100 -100
  723. package/dist/worktree.js +111 -111
  724. package/package.json +8 -8
  725. package/dist/chunks/form-30vq0hkk.js +0 -26
  726. package/dist/chunks/form-er9840mn.js +0 -257
  727. /package/dist/chunks/{form-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
  728. /package/dist/chunks/{form-0zkw76rk.js → image-0zkw76rk.js} +0 -0
  729. /package/dist/chunks/{form-17cy0kzp.js → image-17cy0kzp.js} +0 -0
  730. /package/dist/chunks/{form-1cnp2v09.js → image-1cnp2v09.js} +0 -0
  731. /package/dist/chunks/{form-1kah00gy.js → image-1kah00gy.js} +0 -0
  732. /package/dist/chunks/{form-24dcb14g.js → image-24dcb14g.js} +0 -0
  733. /package/dist/chunks/{form-2710q6r3.js → image-2710q6r3.js} +0 -0
  734. /package/dist/chunks/{form-2bv980vf.js → image-2bv980vf.js} +0 -0
  735. /package/dist/chunks/{form-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
  736. /package/dist/chunks/{form-359p4xyc.js → image-359p4xyc.js} +0 -0
  737. /package/dist/chunks/{form-3asan66x.js → image-3asan66x.js} +0 -0
  738. /package/dist/chunks/{form-3v8g72cx.js → image-3v8g72cx.js} +0 -0
  739. /package/dist/chunks/{form-3wcehsnq.js → image-3wcehsnq.js} +0 -0
  740. /package/dist/chunks/{form-43n2bw4t.js → image-43n2bw4t.js} +0 -0
  741. /package/dist/chunks/{form-4knz6hnm.js → image-4knz6hnm.js} +0 -0
  742. /package/dist/chunks/{form-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
  743. /package/dist/chunks/{form-4y7fprxs.js → image-4y7fprxs.js} +0 -0
  744. /package/dist/chunks/{form-53557ph1.js → image-53557ph1.js} +0 -0
  745. /package/dist/chunks/{form-550bvhaj.js → image-550bvhaj.js} +0 -0
  746. /package/dist/chunks/{form-5w3e23ze.js → image-5w3e23ze.js} +0 -0
  747. /package/dist/chunks/{form-6prwharc.js → image-6prwharc.js} +0 -0
  748. /package/dist/chunks/{form-6q2bdcd1.js → image-6q2bdcd1.js} +0 -0
  749. /package/dist/chunks/{form-7akdwqpd.js → image-7akdwqpd.js} +0 -0
  750. /package/dist/chunks/{form-7m9af43g.js → image-7m9af43g.js} +0 -0
  751. /package/dist/chunks/{form-7stb81gk.js → image-7stb81gk.js} +0 -0
  752. /package/dist/chunks/{form-822emrt2.js → image-822emrt2.js} +0 -0
  753. /package/dist/chunks/{form-84wd9syh.js → image-84wd9syh.js} +0 -0
  754. /package/dist/chunks/{form-88xbtdfr.js → image-88xbtdfr.js} +0 -0
  755. /package/dist/chunks/{form-8n3pysct.js → image-8n3pysct.js} +0 -0
  756. /package/dist/chunks/{form-8wj87zfr.js → image-8wj87zfr.js} +0 -0
  757. /package/dist/chunks/{form-9a4afbnw.js → image-9a4afbnw.js} +0 -0
  758. /package/dist/chunks/{form-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
  759. /package/dist/chunks/{form-a058387c.js → image-a058387c.js} +0 -0
  760. /package/dist/chunks/{form-a6k6eb26.js → image-a6k6eb26.js} +0 -0
  761. /package/dist/chunks/{form-af5trqkr.js → image-af5trqkr.js} +0 -0
  762. /package/dist/chunks/{form-afrmfg78.js → image-afrmfg78.js} +0 -0
  763. /package/dist/chunks/{form-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
  764. /package/dist/chunks/{form-atq7p7m5.js → image-atq7p7m5.js} +0 -0
  765. /package/dist/chunks/{form-beh6qq61.js → image-beh6qq61.js} +0 -0
  766. /package/dist/chunks/{form-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
  767. /package/dist/chunks/{form-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
  768. /package/dist/chunks/{form-cf4snx6d.js → image-cf4snx6d.js} +0 -0
  769. /package/dist/chunks/{form-cqv5kn06.js → image-cqv5kn06.js} +0 -0
  770. /package/dist/chunks/{form-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
  771. /package/dist/chunks/{form-d9fn303g.js → image-d9fn303g.js} +0 -0
  772. /package/dist/chunks/{form-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
  773. /package/dist/chunks/{form-dajrwvna.js → image-dajrwvna.js} +0 -0
  774. /package/dist/chunks/{form-dap0rakb.js → image-dap0rakb.js} +0 -0
  775. /package/dist/chunks/{form-df08tz66.js → image-df08tz66.js} +0 -0
  776. /package/dist/chunks/{form-dy18nga0.js → image-dy18nga0.js} +0 -0
  777. /package/dist/chunks/{form-e5kj55wp.js → image-e5kj55wp.js} +0 -0
  778. /package/dist/chunks/{form-e73j6tqm.js → image-e73j6tqm.js} +0 -0
  779. /package/dist/chunks/{form-ec1grn59.js → image-ec1grn59.js} +0 -0
  780. /package/dist/chunks/{form-eh3zwz77.js → image-eh3zwz77.js} +0 -0
  781. /package/dist/chunks/{form-emrn6kk6.js → image-emrn6kk6.js} +0 -0
  782. /package/dist/chunks/{form-f0mxakyp.js → image-f0mxakyp.js} +0 -0
  783. /package/dist/chunks/{form-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
  784. /package/dist/chunks/{form-faypxj3z.js → image-faypxj3z.js} +0 -0
  785. /package/dist/chunks/{form-fd410y7t.js → image-fd410y7t.js} +0 -0
  786. /package/dist/chunks/{form-fkpq3x5p.js → image-fkpq3x5p.js} +0 -0
  787. /package/dist/chunks/{form-g4wezp1m.js → image-g4wezp1m.js} +0 -0
  788. /package/dist/chunks/{form-g86h250q.js → image-g86h250q.js} +0 -0
  789. /package/dist/chunks/{form-gebd4c9n.js → image-gebd4c9n.js} +0 -0
  790. /package/dist/chunks/{form-gftt206x.js → image-gftt206x.js} +0 -0
  791. /package/dist/chunks/{form-hcxmzztb.js → image-hcxmzztb.js} +0 -0
  792. /package/dist/chunks/{form-hk9envan.js → image-hk9envan.js} +0 -0
  793. /package/dist/chunks/{form-j2ntwpah.js → image-j2ntwpah.js} +0 -0
  794. /package/dist/chunks/{form-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
  795. /package/dist/chunks/{form-jjkms2e6.js → image-jjkms2e6.js} +0 -0
  796. /package/dist/chunks/{form-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
  797. /package/dist/chunks/{form-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
  798. /package/dist/chunks/{form-jwr30sdr.js → image-jwr30sdr.js} +0 -0
  799. /package/dist/chunks/{form-jze0r7bz.js → image-jze0r7bz.js} +0 -0
  800. /package/dist/chunks/{form-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
  801. /package/dist/chunks/{form-m18g726c.js → image-m18g726c.js} +0 -0
  802. /package/dist/chunks/{form-mp448xyj.js → image-mp448xyj.js} +0 -0
  803. /package/dist/chunks/{form-msx8hqn2.js → image-msx8hqn2.js} +0 -0
  804. /package/dist/chunks/{form-n05xt0ee.js → image-n05xt0ee.js} +0 -0
  805. /package/dist/chunks/{form-n3j8tn72.js → image-n3j8tn72.js} +0 -0
  806. /package/dist/chunks/{form-ncqqe42p.js → image-ncqqe42p.js} +0 -0
  807. /package/dist/chunks/{form-nh4v3znn.js → image-nh4v3znn.js} +0 -0
  808. /package/dist/chunks/{form-njntx4h6.js → image-njntx4h6.js} +0 -0
  809. /package/dist/chunks/{form-p71gwv9c.js → image-p71gwv9c.js} +0 -0
  810. /package/dist/chunks/{form-q3sfg36h.js → image-q3sfg36h.js} +0 -0
  811. /package/dist/chunks/{form-q74kybfr.js → image-q74kybfr.js} +0 -0
  812. /package/dist/chunks/{form-qaymkmh1.js → image-qaymkmh1.js} +0 -0
  813. /package/dist/chunks/{form-qb87gjwd.js → image-qb87gjwd.js} +0 -0
  814. /package/dist/chunks/{form-qfa1cgps.js → image-qfa1cgps.js} +0 -0
  815. /package/dist/chunks/{form-qg3g05ea.js → image-qg3g05ea.js} +0 -0
  816. /package/dist/chunks/{form-qgfkghh1.js → image-qgfkghh1.js} +0 -0
  817. /package/dist/chunks/{form-qrg20bc0.js → image-qrg20bc0.js} +0 -0
  818. /package/dist/chunks/{form-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
  819. /package/dist/chunks/{form-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
  820. /package/dist/chunks/{form-ssg3fenm.js → image-ssg3fenm.js} +0 -0
  821. /package/dist/chunks/{form-ty7weeps.js → image-ty7weeps.js} +0 -0
  822. /package/dist/chunks/{form-ve7vex1e.js → image-ve7vex1e.js} +0 -0
  823. /package/dist/chunks/{form-w803qqfp.js → image-w803qqfp.js} +0 -0
  824. /package/dist/chunks/{form-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
  825. /package/dist/chunks/{form-wer8tq1h.js → image-wer8tq1h.js} +0 -0
  826. /package/dist/chunks/{form-wtztk69x.js → image-wtztk69x.js} +0 -0
  827. /package/dist/chunks/{form-x0ckcb58.js → image-x0ckcb58.js} +0 -0
  828. /package/dist/chunks/{form-x61499pn.js → image-x61499pn.js} +0 -0
  829. /package/dist/chunks/{form-y44na4kk.js → image-y44na4kk.js} +0 -0
  830. /package/dist/chunks/{form-y8f7s663.js → image-y8f7s663.js} +0 -0
  831. /package/dist/chunks/{form-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
  832. /package/dist/chunks/{form-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
  833. /package/dist/chunks/{form-z9919s4g.js → image-z9919s4g.js} +0 -0
@@ -1,58 +1,58 @@
1
1
  import {
2
2
  Ref3,
3
- Service76
4
- } from "./form-femntydq.js";
3
+ Service73
4
+ } from "./image-2m7vd2mn.js";
5
5
  import {
6
- Service63
7
- } from "./form-3mtymbf0.js";
6
+ Service70
7
+ } from "./image-zr9mjdac.js";
8
8
  import {
9
9
  observe2
10
- } from "./form-hpg1pkwy.js";
10
+ } from "./image-hpg1pkwy.js";
11
11
  import {
12
- Service65
13
- } from "./form-s4j0n7b9.js";
12
+ Service77
13
+ } from "./image-89ycw09x.js";
14
14
  import {
15
15
  SessionMessage2
16
- } from "./form-gftt206x.js";
16
+ } from "./image-gftt206x.js";
17
17
  import {
18
- Service50
19
- } from "./form-2sqgfc56.js";
18
+ Service65
19
+ } from "./image-7x8d5pk9.js";
20
20
  import {
21
- Service14
22
- } from "./form-37cecxny.js";
21
+ Service18
22
+ } from "./image-vpfyxq3b.js";
23
23
  import {
24
- Service20
25
- } from "./form-7wx5knwb.js";
24
+ Service35
25
+ } from "./image-mg0htjxc.js";
26
26
  import {
27
- text2
28
- } from "./form-8b3vzgkx.js";
27
+ text3
28
+ } from "./image-25h84942.js";
29
29
  import {
30
- Service54
31
- } from "./form-vpakn3dw.js";
30
+ Service45
31
+ } from "./image-ydx4vg6d.js";
32
32
  import {
33
33
  detect2
34
- } from "./form-4pyp9zr9.js";
34
+ } from "./image-4pyp9zr9.js";
35
35
  import {
36
- Service25
37
- } from "./form-gfdy171d.js";
36
+ Service21
37
+ } from "./image-c4104nvq.js";
38
38
  import {
39
39
  collectBoundedResponseBody2
40
- } from "./form-3v8g72cx.js";
40
+ } from "./image-3v8g72cx.js";
41
41
  import {
42
42
  __export
43
- } from "./form-9rqn6x4v.js";
43
+ } from "./image-9rqn6x4v.js";
44
44
 
45
45
  // src/tool/plugin/image-generate.ts
46
46
  var exports_image_generate = {};
47
47
  __export(exports_image_generate, {
48
48
  ImageGenerateTool: () => exports_image_generate,
49
- Input: () => Input14,
49
+ Input: () => Input12,
50
50
  MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
51
- Output: () => Output10,
52
- Plugin: () => Plugin17,
51
+ Output: () => Output8,
52
+ Plugin: () => Plugin51,
53
53
  defaultModel: () => defaultModel2,
54
54
  description: () => description6,
55
- name: () => name14
55
+ name: () => name12
56
56
  });
57
57
  import path from "path";
58
58
  import { ToolFailure } from "@opencode/ai/effect";
@@ -60,7 +60,7 @@ import { Identifier } from "@opencode/schema/identifier";
60
60
  import { Global } from "@opencode/util/global";
61
61
  import { Duration, Effect, Schema, Scope, Stream } from "effect";
62
62
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
63
- var name14 = "image_generate";
63
+ var name12 = "experimental_image_generate";
64
64
  var MAX_INPUT_BYTES2 = 20 * 1024 * 1024;
65
65
  var DOWNLOAD_TIMEOUT = Duration.seconds(30);
66
66
  var GENERATE_TIMEOUT = Duration.minutes(30);
@@ -73,14 +73,14 @@ var EXTENSIONS = {
73
73
  };
74
74
  var description6 = [
75
75
  "Generates a new image, or edits existing ones.",
76
- "Only call this when the user asks you to create or edit an image.",
76
+ "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.",
77
77
  "Images you pass are used as the source to edit, or as references for style and subject.",
78
78
  "Each call makes one image. For several images, call it once per image.",
79
79
  "It runs in the background: the call starts a job and returns right away, and you are notified automatically when the image is saved, with its path. Never poll, sleep, or check for the file while you wait.",
80
80
  "Don't repeat a request unless the user asks."
81
81
  ].join(`
82
82
  `);
83
- var Input14 = Schema.Struct({
83
+ var Input12 = Schema.Struct({
84
84
  prompt: Schema.String.check(Schema.isMinLength(1)).annotate({
85
85
  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."
86
86
  }),
@@ -94,25 +94,25 @@ var Input14 = Schema.Struct({
94
94
  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."
95
95
  })
96
96
  });
97
- var Output10 = Schema.Struct({
97
+ var Output8 = Schema.Struct({
98
98
  id: Schema.String.annotate({ description: "The image job's ID, repeated in its completion notice" }),
99
99
  path: Schema.String.annotate({ description: "Where the image is saved, without its extension" }),
100
100
  model: Schema.String.annotate({ description: "providerID/modelID" })
101
101
  });
102
- var Plugin17 = {
102
+ var Plugin51 = {
103
103
  id: "opencode.tool.image-generate",
104
104
  effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
105
- const access = yield* Service14;
106
- const environment = yield* Service65;
107
- const generate = yield* Service20;
105
+ const access = yield* Service18;
106
+ const environment = yield* Service77;
107
+ const generate = yield* Service35;
108
108
  const global = yield* Global.Service;
109
109
  const http = yield* HttpClient.HttpClient;
110
- const config = yield* Service63;
111
- const jobs = yield* Service54;
110
+ const config = yield* Service70;
111
+ const jobs = yield* Service45;
112
112
  const scope = yield* Scope.Scope;
113
- const sessions = yield* Service25;
114
- const models = yield* Service76;
115
- const permission = yield* Service50;
113
+ const sessions = yield* Service21;
114
+ const models = yield* Service73;
115
+ const permission = yield* Service65;
116
116
  const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
117
117
  const available = yield* models.available(["image"]);
118
118
  if (!input) {
@@ -188,12 +188,12 @@ var Plugin17 = {
188
188
  id: input.notificationID,
189
189
  sessionID: input.sessionID,
190
190
  description: "Image generation",
191
- text: text2({
191
+ text: text3({
192
192
  id: input.id,
193
193
  state: info.status,
194
194
  body: info.status === "completed" ? info.output ?? "" : info.status === "error" ? info.error ?? `Image request failed for ${input.file}.` : `Image request for ${input.file} was cancelled.`
195
195
  }),
196
- metadata: { source: name14, jobID: input.id, state: info.status, path: input.file }
196
+ metadata: { source: name12, jobID: input.id, state: info.status, path: input.file }
197
197
  });
198
198
  yield* jobs.completeBackground(input.notificationID);
199
199
  }, Effect.forkIn(scope, { startImmediately: true }));
@@ -209,14 +209,14 @@ var Plugin17 = {
209
209
  yield* ctx.event.subscribe({ types: ["model.updated"] }).pipe(Stream.runForEach(() => refresh), Effect.forkScoped({ startImmediately: true }));
210
210
  enabled = yield* wanted;
211
211
  yield* ctx.tool.transform((editor) => {
212
- if (!enabled || !optedIn(loaded.entries))
212
+ if (!enabled || imageGenerate(loaded.entries) === false)
213
213
  return;
214
214
  editor.add({
215
- name: name14,
215
+ name: name12,
216
216
  options: { codemode: false },
217
217
  description: description6,
218
- input: Input14,
219
- output: Output10,
218
+ input: Input12,
219
+ output: Output8,
220
220
  execute: (input, context) => Effect.gen(function* () {
221
221
  const source = { type: "tool", messageID: context.messageID, id: context.id };
222
222
  const resolved = yield* resolveModel(input.model, context.sessionID, input.images !== undefined);
@@ -226,7 +226,7 @@ var Plugin17 = {
226
226
  const target = input.path ? yield* access.resolve({ path: input.path, kind: "file" }) : undefined;
227
227
  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)}`);
228
228
  yield* permission.assert({
229
- action: name14,
229
+ action: name12,
230
230
  resources: [ref],
231
231
  save: ["*"],
232
232
  metadata: { ...input, model: ref },
@@ -294,7 +294,7 @@ Use the read tool on this path to view the image.`;
294
294
  yield* jobs.start({
295
295
  id,
296
296
  notificationID,
297
- type: name14,
297
+ type: name12,
298
298
  title: input.prompt,
299
299
  metadata: { sessionID: context.sessionID, path: stem, model: ref },
300
300
  recovery: { kind: "image", sessionID: context.sessionID, path: stem, model: ref },
@@ -325,10 +325,6 @@ function defaultModel2(available, input) {
325
325
  function imageGenerate(entries) {
326
326
  return entries.findLast((entry) => entry.type === "document" && entry.info.experimental?.image_generate !== undefined)?.info.experimental?.image_generate;
327
327
  }
328
- function optedIn(entries) {
329
- const value = imageGenerate(entries);
330
- return value !== undefined && value !== false;
331
- }
332
328
  function configuredModel(entries) {
333
329
  const value = imageGenerate(entries);
334
330
  return typeof value === "object" ? value.model : undefined;
@@ -337,4 +333,4 @@ function acceptsImages(model) {
337
333
  return model.capabilities.input.some((item) => item.startsWith("image"));
338
334
  }
339
335
 
340
- export { name14, MAX_INPUT_BYTES2, description6, Input14, Output10, Plugin17, defaultModel2, exports_image_generate };
336
+ export { name12, MAX_INPUT_BYTES2, description6, Input12, Output8, Plugin51, defaultModel2, exports_image_generate };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./form-z5v4ffb3.js";
3
+ } from "./image-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./form-9rqn6x4v.js";
6
+ } from "./image-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info14,
12
+ Info: () => Info15,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info14 = Schema.Struct({
64
+ var Info15 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -91,4 +91,4 @@ var Info14 = Schema.Struct({
91
91
  models: Schema.optional(Schema.Record(Schema.String, Model2))
92
92
  }).annotate({ identifier: "ProviderConfig" });
93
93
 
94
- export { ModelStatus2, Model2, Info14, exports_provider2 };
94
+ export { ModelStatus2, Model2, Info15, exports_provider2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ID12
3
- } from "./form-femntydq.js";
3
+ } from "./image-2m7vd2mn.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./form-812q73hy.js";
2
+ Service68,
3
+ node70
4
+ } from "./image-ahzw090p.js";
5
5
  import {
6
- Service75,
7
- node79
8
- } from "./form-60v1vsga.js";
6
+ Service46,
7
+ node48
8
+ } from "./image-qp7zbdnj.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./form-99z41sf4.js";
11
+ } from "./image-vx3jgdek.js";
12
12
  import {
13
13
  __export
14
- } from "./form-9rqn6x4v.js";
14
+ } from "./image-9rqn6x4v.js";
15
15
 
16
16
  // src/session/runner/model.ts
17
17
  var exports_model = {};
18
18
  __export(exports_model, {
19
19
  ModelNotSelectedError: () => ModelNotSelectedError2,
20
20
  ModelUnavailableError: () => ModelUnavailableError2,
21
- Service: () => Service48,
21
+ Service: () => Service42,
22
22
  SessionRunnerModel: () => exports_model,
23
- node: () => node51,
23
+ node: () => node44,
24
24
  resolved: () => resolved2
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,7 +43,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
43
43
  }
44
44
  }
45
45
 
46
- class Service48 extends Context.Service()("@opencode/SessionRunnerModel") {
46
+ class Service42 extends Context.Service()("@opencode/SessionRunnerModel") {
47
47
  }
48
48
  var resolved2 = (model, options) => ({
49
49
  model,
@@ -58,10 +58,10 @@ var resolved2 = (model, options) => ({
58
58
  compaction: options.compaction,
59
59
  transport: options.transport
60
60
  });
61
- var layer = Layer.effect(Service48, Effect.gen(function* () {
62
- const resolver = yield* Service75;
63
- const agents = yield* Service85;
64
- return Service48.of({
61
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
62
+ const resolver = yield* Service46;
63
+ const agents = yield* Service68;
64
+ return Service42.of({
65
65
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
66
66
  if (!session.model) {
67
67
  const agent = (yield* agents.select(session.agent)).info?.model;
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node51 = makeLocationNode({ service: Service48, layer, deps: [node79, node89] });
84
+ var node44 = makeLocationNode({ service: Service42, layer, deps: [node48, node70] });
85
85
 
86
- export { ModelNotSelectedError2, ModelUnavailableError2, Service48, resolved2, node51, exports_model };
86
+ export { ModelNotSelectedError2, ModelUnavailableError2, Service42, resolved2, node44, exports_model };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./form-9310e8g9.js";
3
+ } from "./image-pfz9gkfy.js";
4
4
  import {
5
5
  Service86
6
- } from "./form-5m8x74ph.js";
6
+ } from "./image-tn1wjjkb.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17
10
- } from "./form-1wap8mvb.js";
9
+ Event19
10
+ } from "./image-hcc6p5a3.js";
11
11
  import {
12
- ID14,
12
+ ID17,
13
13
  MethodID2
14
- } from "./form-g39z3c3d.js";
14
+ } from "./image-4x8zw6t1.js";
15
15
  import {
16
16
  ID13
17
- } from "./form-whk88kq8.js";
17
+ } from "./image-nwarprta.js";
18
18
  import {
19
19
  ID12,
20
20
  Family2
21
- } from "./form-femntydq.js";
21
+ } from "./image-2m7vd2mn.js";
22
22
  import {
23
23
  bootstrap2
24
- } from "./form-yb20nhc3.js";
24
+ } from "./image-yb20nhc3.js";
25
25
 
26
26
  // src/plugin/provider/digitalocean.ts
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Clock, Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
29
29
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
30
30
  var providerID = ID13.make("digitalocean");
31
- var integrationID = ID14.make("digitalocean");
31
+ var integrationID = ID17.make("digitalocean");
32
32
  var methodID = MethodID2.make("browser");
33
33
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
34
34
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
159
159
  }
160
160
  });
161
161
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
162
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
163
163
  yield* refresh().pipe(Effect.forkScoped);
164
164
  })
165
165
  });
@@ -1,17 +1,17 @@
1
1
  import {
2
- Ref5
3
- } from "./form-9qg9k9gh.js";
2
+ Ref4
3
+ } from "./image-1bf8edtk.js";
4
4
  import {
5
5
  __export
6
- } from "./form-9rqn6x4v.js";
6
+ } from "./image-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service49,
12
+ Service: () => Service54,
13
13
  canonical: () => canonical3,
14
- node: () => node52,
14
+ node: () => node56,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service49 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service54 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service49, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service54, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node52 = LayerNode.unbound(Service49, Node.tags.values.global);
27
+ var node56 = LayerNode.unbound(Service54, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service49;
29
+ const locations = yield* Service54;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -42,10 +42,10 @@ function canonical3(ref) {
42
42
  const flavor = process.platform === "win32" && !ref.directory.startsWith("/") ? path.win32 : path.posix;
43
43
  const normalized = flavor.normalize(ref.directory);
44
44
  const trailing = normalized.endsWith(flavor.sep) && normalized.length > flavor.parse(normalized).root.length;
45
- return Ref5.make({
45
+ return Ref4.make({
46
46
  directory: AbsolutePath.make(trailing ? normalized.slice(0, -1) : normalized),
47
47
  workspaceID: ref.workspaceID
48
48
  });
49
49
  }
50
50
 
51
- export { Service49, node52, reload2, canonical3, exports_location_service_map };
51
+ export { Service54, node56, reload2, canonical3, exports_location_service_map };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service87,
3
3
  node91
4
- } from "./form-115q1jpg.js";
4
+ } from "./image-n1c40vny.js";
5
5
  import {
6
6
  Service86,
7
7
  node90
8
- } from "./form-5m8x74ph.js";
8
+ } from "./image-tn1wjjkb.js";
9
9
  import {
10
- Service47,
11
- node50
12
- } from "./form-h2xt6wet.js";
10
+ Service44,
11
+ node46
12
+ } from "./image-a4ww6fpm.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./form-z5v4ffb3.js";
16
+ } from "./image-z5v4ffb3.js";
17
17
  import {
18
- Service82,
19
- node86
20
- } from "./form-gsw63pph.js";
18
+ Service80,
19
+ node83
20
+ } from "./image-c2az2pbz.js";
21
21
  import {
22
- Ref5
23
- } from "./form-9qg9k9gh.js";
22
+ Ref4
23
+ } from "./image-1bf8edtk.js";
24
24
  import {
25
- Service49,
26
- node52
27
- } from "./form-39w9ysaz.js";
25
+ Service54,
26
+ node56
27
+ } from "./image-3w0ntz8g.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./form-gftt206x.js";
30
+ } from "./image-gftt206x.js";
31
31
  import {
32
- NotFoundError6
33
- } from "./form-t5prmbbw.js";
32
+ NotFoundError10
33
+ } from "./image-h4p3pyf8.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./form-ec1grn59.js";
36
+ } from "./image-ec1grn59.js";
37
37
  import {
38
- Service45
39
- } from "./form-2mbjfaxd.js";
38
+ Service41
39
+ } from "./image-jns4gqy7.js";
40
40
  import {
41
- Service51,
42
- node54
43
- } from "./form-0wkkkdkf.js";
41
+ Service66,
42
+ node68
43
+ } from "./image-j8ypmtmr.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service46,
48
- node49,
47
+ Service43,
48
+ node45,
49
49
  moveIDs2
50
- } from "./form-cbht8k07.js";
50
+ } from "./image-xxbr9jsf.js";
51
51
  import {
52
- Service44,
53
- node48
54
- } from "./form-6hc3w7dx.js";
52
+ Service40,
53
+ node43
54
+ } from "./image-59few21w.js";
55
55
  import {
56
- node30
57
- } from "./form-57ahrrn7.js";
56
+ node32
57
+ } from "./image-a862c78z.js";
58
58
  import {
59
59
  __export
60
- } from "./form-9rqn6x4v.js";
60
+ } from "./image-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service26,
68
+ Service: () => Service28,
69
69
  SessionMove: () => exports_move,
70
- node: () => node29
70
+ node: () => node31
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service26 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service28 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service26, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service82;
92
- const locations = yield* Service49;
93
- const store = yield* Service51;
94
- const execution = yield* Service44;
95
- const instances = yield* Service47;
96
- const admission = yield* Service46;
91
+ const projects = yield* Service80;
92
+ const locations = yield* Service54;
93
+ const store = yield* Service66;
94
+ const execution = yield* Service40;
95
+ const instances = yield* Service44;
96
+ const admission = yield* Service43;
97
97
  const database = yield* Service87;
98
98
  const bus = yield* Service86;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError6({ sessionID });
102
+ return yield* new NotFoundError10({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
115
115
  return yield* new DestinationNotDirectoryError2({ directory });
116
116
  const project = yield* projects.resolve(directory);
117
117
  const destination = {
118
- location: Ref5.make({ directory, workspaceID: input.workspaceID }),
118
+ location: Ref4.make({ directory, workspaceID: input.workspaceID }),
119
119
  projectID: project.id,
120
120
  subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
121
121
  };
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service45.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
134
+ return yield* Service41.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
135
135
  });
136
- return Service26.of({
136
+ return Service28.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node29 = makeGlobalNode({
167
- service: Service26,
166
+ var node31 = makeGlobalNode({
167
+ service: Service28,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node86,
173
- node52,
174
- node54,
175
- node48,
176
- node50,
177
- node49,
172
+ node83,
173
+ node56,
174
+ node68,
175
+ node43,
176
+ node46,
177
+ node45,
178
178
  node91,
179
179
  node90,
180
- node30
180
+ node32
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service26, node29, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service28, node31, exports_move };