@opencode/core 0.0.0-dev-480 → 0.0.0-dev-481

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 (560) hide show
  1. package/dist/agent.js +73 -73
  2. package/dist/aisdk-native.js +79 -79
  3. package/dist/aisdk.js +84 -84
  4. package/dist/app.js +9 -9
  5. package/dist/artifact.js +196 -195
  6. package/dist/bus.js +62 -62
  7. package/dist/chunks/{app-2w814gvs.js → app-0asq6p20.js} +8 -8
  8. package/dist/chunks/{app-pdh4dm2s.js → app-0qdw55z7.js} +10 -10
  9. package/dist/chunks/{app-s320htan.js → app-0z1kk8n9.js} +7 -7
  10. package/dist/chunks/{app-k0q7t0cq.js → app-11pmnyyq.js} +12 -12
  11. package/dist/chunks/{app-rmeffpf9.js → app-11v4hymh.js} +9 -9
  12. package/dist/chunks/{app-hkmsr0ex.js → app-13aj6xfg.js} +31 -31
  13. package/dist/chunks/{app-x150ncgg.js → app-19gkfjnk.js} +1 -1
  14. package/dist/chunks/{app-e4zeypx4.js → app-19w73m0f.js} +9 -9
  15. package/dist/chunks/{app-qtf35215.js → app-1njtx4es.js} +3 -3
  16. package/dist/chunks/{app-94e33dpz.js → app-1vbrkdbs.js} +1 -1
  17. package/dist/chunks/{app-dghd1q51.js → app-20mc4p3b.js} +10 -10
  18. package/dist/chunks/{app-bjzy61a4.js → app-23b5bwtt.js} +3 -3
  19. package/dist/chunks/{app-0892kzf1.js → app-24sxtq8k.js} +6 -6
  20. package/dist/chunks/{app-jjvvtnfs.js → app-26wfx3k0.js} +3 -3
  21. package/dist/chunks/{app-1ep2p91f.js → app-27w5k9zf.js} +1 -1
  22. package/dist/chunks/{app-1kh27kfm.js → app-28ma8gfj.js} +148 -148
  23. package/dist/chunks/{app-5neq2awb.js → app-2am13szv.js} +6 -6
  24. package/dist/chunks/{app-sbz71ybr.js → app-2cdjxzfg.js} +2 -2
  25. package/dist/chunks/{app-3vea0fa5.js → app-2db5e21y.js} +5 -5
  26. package/dist/chunks/{app-eh2tgqqb.js → app-2emepb4b.js} +30 -30
  27. package/dist/chunks/{app-2x55c7c5.js → app-2gd46ww5.js} +33 -33
  28. package/dist/chunks/{app-0ahs07zn.js → app-2kj7f5bg.js} +6 -6
  29. package/dist/chunks/{app-14nqs3ap.js → app-2n05qsag.js} +1 -1
  30. package/dist/chunks/{app-vcr7qvjv.js → app-2zydp9t3.js} +3 -3
  31. package/dist/chunks/{app-ywnf2d1v.js → app-33fs0phy.js} +1 -1
  32. package/dist/chunks/{app-yadjp1dh.js → app-33vee48d.js} +36 -36
  33. package/dist/chunks/{app-m3pwqbwq.js → app-3ab9az2f.js} +9 -9
  34. package/dist/chunks/{app-ayjs7tqn.js → app-3cbjf1nt.js} +1 -1
  35. package/dist/chunks/{app-8ph5tyb9.js → app-3gqs30ps.js} +17 -17
  36. package/dist/chunks/{app-35tprrwd.js → app-3jqetb86.js} +19 -19
  37. package/dist/chunks/{app-wxej1nzg.js → app-3k6see7r.js} +17 -17
  38. package/dist/chunks/{app-4z1mvv1x.js → app-3nmxyean.js} +4 -4
  39. package/dist/chunks/{app-yg9m2vv3.js → app-3xg6wq2g.js} +12 -12
  40. package/dist/chunks/{app-4n2b8756.js → app-43ynt425.js} +30 -30
  41. package/dist/chunks/{app-szxd9z8c.js → app-45a1n0rj.js} +19 -19
  42. package/dist/chunks/{app-nw690v4j.js → app-4am3819x.js} +23 -23
  43. package/dist/chunks/{app-56je3jta.js → app-4medx3yc.js} +7 -7
  44. package/dist/chunks/{app-fp0vcpt3.js → app-4pc43vs5.js} +3 -3
  45. package/dist/chunks/{app-323cmkwk.js → app-57zkss3n.js} +12 -12
  46. package/dist/chunks/{app-6tzaetms.js → app-5af0c4bz.js} +10 -10
  47. package/dist/chunks/{app-kevqfsd3.js → app-5ftq3225.js} +3 -3
  48. package/dist/chunks/{app-y6ptae2a.js → app-5fz99wkv.js} +6 -6
  49. package/dist/chunks/{app-dv69vrjt.js → app-5tgs095n.js} +24 -24
  50. package/dist/chunks/{app-f3r7ra5x.js → app-5tqhmh96.js} +6 -6
  51. package/dist/chunks/{app-2bxnm4ec.js → app-5xfk76mk.js} +73 -73
  52. package/dist/chunks/{app-6xxb6mpe.js → app-5z1m43a3.js} +2 -2
  53. package/dist/chunks/{app-35ntjcgy.js → app-62beg8mw.js} +13 -13
  54. package/dist/chunks/{app-33vtbrd4.js → app-62fftzdq.js} +13 -13
  55. package/dist/chunks/{app-rqp2fa0h.js → app-6m70gvhx.js} +9 -9
  56. package/dist/chunks/{app-hzg4n0pv.js → app-6mzrbse0.js} +32 -32
  57. package/dist/chunks/{app-5s0vqhb5.js → app-6s3jfmgb.js} +10 -10
  58. package/dist/chunks/{app-hhc0852x.js → app-6tvaezwq.js} +4 -4
  59. package/dist/chunks/{app-2epj4sa1.js → app-6xgrzf3v.js} +4 -4
  60. package/dist/chunks/{app-cd9gcdpg.js → app-71jkfa4r.js} +3 -3
  61. package/dist/chunks/{app-25p1apms.js → app-722vxske.js} +7 -7
  62. package/dist/chunks/{app-xs0nknjh.js → app-750t9xmf.js} +14 -14
  63. package/dist/chunks/{app-690aq4ev.js → app-76ggf0cd.js} +9 -9
  64. package/dist/chunks/{app-wz104dr9.js → app-7ey693cm.js} +5 -5
  65. package/dist/chunks/{app-thtdv5s3.js → app-7ncdpmyj.js} +9 -9
  66. package/dist/chunks/{app-8sxe6kv8.js → app-7qrph824.js} +1 -1
  67. package/dist/chunks/{app-sk38pgfv.js → app-7t9chrae.js} +13 -13
  68. package/dist/chunks/{app-bnqpswrr.js → app-7zggx0n1.js} +6 -6
  69. package/dist/chunks/{app-69r3s0z2.js → app-82fxv0dw.js} +2 -2
  70. package/dist/chunks/{app-8e6rjbvw.js → app-847k13tf.js} +9 -9
  71. package/dist/chunks/{app-ndvyrhxt.js → app-87ef3s8z.js} +28 -28
  72. package/dist/chunks/{app-4d2dtj2f.js → app-8cg7mtm3.js} +3 -3
  73. package/dist/chunks/{app-7yfjyeqk.js → app-8dxpscf2.js} +22 -22
  74. package/dist/chunks/{app-bd76xnxh.js → app-8fzjfj5n.js} +2 -2
  75. package/dist/chunks/{app-2v1211kw.js → app-8g403b55.js} +21 -21
  76. package/dist/chunks/{app-9st9tfe3.js → app-8jw7n1ah.js} +8 -8
  77. package/dist/chunks/{app-n5jj43cg.js → app-8px3ddj4.js} +4 -4
  78. package/dist/chunks/{app-q2c48w2f.js → app-8qbdxarg.js} +22 -22
  79. package/dist/chunks/{app-hxhjnsvc.js → app-8sb7jtsn.js} +8 -8
  80. package/dist/chunks/{app-mb7mbhnz.js → app-8z6m94af.js} +1 -1
  81. package/dist/chunks/{app-rhprh2s9.js → app-90pvm6py.js} +9 -9
  82. package/dist/chunks/{app-6mtyq6z7.js → app-93n7n3x8.js} +13 -13
  83. package/dist/chunks/{app-cxab28sr.js → app-93xmyh8q.js} +3 -3
  84. package/dist/chunks/{app-59jk283z.js → app-99a9crdx.js} +9 -9
  85. package/dist/chunks/{app-32gn4798.js → app-9av120cb.js} +14 -14
  86. package/dist/chunks/{app-88ff6j75.js → app-9c645kx6.js} +1 -1
  87. package/dist/chunks/{app-brjmxn14.js → app-9cgaya5j.js} +9 -9
  88. package/dist/chunks/{app-xcqpvrxn.js → app-9hqxgecf.js} +16 -16
  89. package/dist/chunks/app-9kkkhnvp.js +92 -0
  90. package/dist/chunks/{app-035wadpx.js → app-9rqhy0gk.js} +6 -6
  91. package/dist/chunks/{app-z06h1gcq.js → app-9vajtycf.js} +8 -8
  92. package/dist/chunks/{app-wq0rd6cr.js → app-9wje21dv.js} +9 -9
  93. package/dist/chunks/{app-889wyzdh.js → app-a1dwv91k.js} +6 -6
  94. package/dist/chunks/{app-znjfpv5m.js → app-a5fx33f2.js} +3 -3
  95. package/dist/chunks/{app-4bwthz3m.js → app-ae65egk4.js} +5 -5
  96. package/dist/chunks/{app-vegpmsma.js → app-af8dd66m.js} +1 -1
  97. package/dist/chunks/{app-nfqr52w1.js → app-afwnmwkf.js} +38 -38
  98. package/dist/chunks/{app-fn6ry6x3.js → app-b37ymw5d.js} +13 -13
  99. package/dist/chunks/{app-vx9d4jfk.js → app-b3hbd1md.js} +11 -11
  100. package/dist/chunks/{app-9a2vwae8.js → app-b6s5ycsj.js} +8 -8
  101. package/dist/chunks/{app-htwgbsdd.js → app-bfmts8p1.js} +5 -5
  102. package/dist/chunks/{app-bsk7mddt.js → app-bg9cnzs0.js} +21 -21
  103. package/dist/chunks/{app-jkdcm5hg.js → app-bhfd478d.js} +3 -3
  104. package/dist/chunks/{app-bydc9kjr.js → app-bmgv8h6w.js} +10 -10
  105. package/dist/chunks/{app-xfzj7gv9.js → app-bprvspg8.js} +10 -10
  106. package/dist/chunks/{app-vgcbppz4.js → app-catycsjd.js} +9 -9
  107. package/dist/chunks/{app-x8fqtcqj.js → app-cfg1rk1c.js} +24 -24
  108. package/dist/chunks/{app-1ph3b4tr.js → app-ck4dpv2q.js} +29 -29
  109. package/dist/chunks/app-cpdsp3va.js +16 -0
  110. package/dist/chunks/{app-ff9qqsat.js → app-cpg2sjfp.js} +20 -20
  111. package/dist/chunks/{app-2zepk20t.js → app-czy8szj2.js} +342 -342
  112. package/dist/chunks/{app-47epqbk9.js → app-d4by6qpt.js} +9 -9
  113. package/dist/chunks/{app-hsad75c7.js → app-dbf6dzq1.js} +7 -7
  114. package/dist/chunks/{app-egb0tdpa.js → app-dgmx8s6q.js} +24 -24
  115. package/dist/chunks/{app-dgyn6wwr.js → app-dv2k300y.js} +20 -20
  116. package/dist/chunks/{app-j35vrh5w.js → app-dztesnfv.js} +20 -20
  117. package/dist/chunks/{app-kw5k2th0.js → app-dzws43fd.js} +9 -9
  118. package/dist/chunks/{app-ewa1ec51.js → app-ead32ctt.js} +2 -2
  119. package/dist/chunks/{app-4t66x4kf.js → app-erf9fzfw.js} +16 -16
  120. package/dist/chunks/{app-sjpm2wtc.js → app-essehzfx.js} +11 -11
  121. package/dist/chunks/{app-mvnwdwmw.js → app-f1y0a070.js} +1 -1
  122. package/dist/chunks/{app-pkzaafh3.js → app-f5hyk6e9.js} +22 -22
  123. package/dist/chunks/{app-5fanhgfz.js → app-f851hg2k.js} +19 -19
  124. package/dist/chunks/{app-bjx4a53x.js → app-fdtp6zbm.js} +8 -8
  125. package/dist/chunks/{app-wyzw1feq.js → app-fefx1jcc.js} +3 -3
  126. package/dist/chunks/{app-g4v74gy6.js → app-fhwn87jp.js} +7 -7
  127. package/dist/chunks/{app-4g4z4142.js → app-fk0rpprw.js} +11 -11
  128. package/dist/chunks/{app-yydqqga9.js → app-g1e2r5aa.js} +3 -3
  129. package/dist/chunks/{app-xcygg6mt.js → app-g6p4g6mv.js} +21 -21
  130. package/dist/chunks/{app-h9kyje9x.js → app-g7mcj942.js} +38 -38
  131. package/dist/chunks/{app-xk9149mm.js → app-g8dgshm1.js} +7 -7
  132. package/dist/chunks/{app-0x8q64rn.js → app-ge0ek74f.js} +28 -28
  133. package/dist/chunks/{app-mcgq8fg0.js → app-ggqsw24s.js} +14 -14
  134. package/dist/chunks/{app-f6ss1wp3.js → app-ghkxye21.js} +30 -30
  135. package/dist/chunks/{app-vsgb1f4e.js → app-ghqvcpnh.js} +12 -12
  136. package/dist/chunks/{app-ez7r46kf.js → app-gk56h2xy.js} +13 -13
  137. package/dist/chunks/{app-xzqn2rhm.js → app-gkqc8wt9.js} +8 -8
  138. package/dist/chunks/{app-vkq1ae39.js → app-gtse556r.js} +13 -13
  139. package/dist/chunks/{app-wtm34wvt.js → app-gwz0wrrb.js} +12 -12
  140. package/dist/chunks/{app-hbe2vhx0.js → app-h0xhqjby.js} +2 -2
  141. package/dist/chunks/{app-3b53hm86.js → app-h2ff2q30.js} +7 -7
  142. package/dist/chunks/{app-nyc4jwvb.js → app-h9hc66h4.js} +3 -3
  143. package/dist/chunks/{app-jqc5eb3q.js → app-hahgtam6.js} +40 -40
  144. package/dist/chunks/{app-kev0rknr.js → app-hetycfaa.js} +33 -33
  145. package/dist/chunks/{app-x9nz0k3p.js → app-hfzv1g6g.js} +31 -31
  146. package/dist/chunks/{app-3xvfm8m4.js → app-hxjfpgt3.js} +5 -5
  147. package/dist/chunks/{app-7tpyp9vw.js → app-hy8c1z76.js} +7 -7
  148. package/dist/chunks/{app-ep1fdtvb.js → app-hz7a74th.js} +28 -28
  149. package/dist/chunks/{app-wa3m3n7k.js → app-j06ysx93.js} +12 -12
  150. package/dist/chunks/{app-0nm9xmph.js → app-j6z15evp.js} +7 -7
  151. package/dist/chunks/{app-wws03c5r.js → app-jhwp234h.js} +4 -4
  152. package/dist/chunks/{app-psaq7w5p.js → app-jk9ctt2d.js} +26 -26
  153. package/dist/chunks/{app-77srnqy4.js → app-jmx08cdn.js} +13 -13
  154. package/dist/chunks/{app-cbf5n1y2.js → app-js4hvacx.js} +20 -20
  155. package/dist/chunks/{app-01sxc1c2.js → app-jy1f4pdx.js} +4 -4
  156. package/dist/chunks/{app-6c691zda.js → app-jy6h2y3j.js} +13 -13
  157. package/dist/chunks/{app-6rb0kxcw.js → app-jyntrgsj.js} +7 -7
  158. package/dist/chunks/{app-kse4pj6t.js → app-k44x9x7y.js} +144 -167
  159. package/dist/chunks/{app-rty8vnq8.js → app-k483zyxw.js} +1 -1
  160. package/dist/chunks/{app-2z05z86t.js → app-k8bdr0d0.js} +19 -19
  161. package/dist/chunks/{app-ck0a13vj.js → app-ka1mq67y.js} +12 -12
  162. package/dist/chunks/{app-b8rax9gc.js → app-kbsfb6et.js} +1 -1
  163. package/dist/chunks/{app-qr8hn1sn.js → app-kfd17r3s.js} +6 -6
  164. package/dist/chunks/{app-zvqwea82.js → app-kpfh6gak.js} +19 -19
  165. package/dist/chunks/{app-37k6b6nc.js → app-kse531ts.js} +4 -4
  166. package/dist/chunks/{app-tj6g9xqy.js → app-kz92qt34.js} +7 -7
  167. package/dist/chunks/{app-gj6zt7jr.js → app-me1613fs.js} +159 -159
  168. package/dist/chunks/{app-4nyxr47m.js → app-mgvq6ne3.js} +21 -21
  169. package/dist/chunks/{app-jm0x7179.js → app-mj1xqs5a.js} +38 -38
  170. package/dist/chunks/{app-f9px2wq5.js → app-mxhv6w83.js} +7 -7
  171. package/dist/chunks/{app-hf0syw03.js → app-n17wdgkv.js} +21 -21
  172. package/dist/chunks/{app-sx2sqvt0.js → app-n3bkb5q1.js} +6 -6
  173. package/dist/chunks/{app-9de5wjbr.js → app-n4k1ey5b.js} +2 -2
  174. package/dist/chunks/{app-pbtq0xh8.js → app-n8ahjr4j.js} +14 -14
  175. package/dist/chunks/{app-69qb4gaq.js → app-navg70v8.js} +10 -10
  176. package/dist/chunks/{app-6r3rh7r1.js → app-ndpzex15.js} +9 -9
  177. package/dist/chunks/{app-s643ebaf.js → app-np51zkq5.js} +18 -18
  178. package/dist/chunks/{app-dcp06de2.js → app-nr7cqb9h.js} +6 -6
  179. package/dist/chunks/{app-mt6vzf6s.js → app-nv1v3ewx.js} +20 -20
  180. package/dist/chunks/{app-kkw24wtk.js → app-nv2s17h7.js} +40 -40
  181. package/dist/chunks/{app-wegkxhrn.js → app-nx4vzyjd.js} +1 -1
  182. package/dist/chunks/{app-fzkjf62m.js → app-p5w1jxhv.js} +14 -14
  183. package/dist/chunks/{app-z4zjbjyv.js → app-pq46x9ny.js} +8 -8
  184. package/dist/chunks/{app-p8f4bkd9.js → app-prha7nnz.js} +5 -5
  185. package/dist/chunks/{app-fg9p65nk.js → app-prq7xxp2.js} +4 -4
  186. package/dist/chunks/{app-zeb1kz6r.js → app-prwg2e47.js} +3 -3
  187. package/dist/chunks/{app-e8myj6jb.js → app-psbj456r.js} +9 -9
  188. package/dist/chunks/{app-phmgg4nn.js → app-pyz2pf6w.js} +5 -5
  189. package/dist/chunks/{app-jn1pk9qr.js → app-q391cchf.js} +25 -25
  190. package/dist/chunks/{app-gjghz9g4.js → app-q7zpym3n.js} +1 -1
  191. package/dist/chunks/{app-ba5rcjwv.js → app-q94qz23g.js} +37 -37
  192. package/dist/chunks/{app-bnnprwfj.js → app-q9csfq1d.js} +13 -13
  193. package/dist/chunks/{app-e6fqcwsk.js → app-q9qzw55y.js} +5 -5
  194. package/dist/chunks/{app-vhdveqxn.js → app-qczyd0hm.js} +19 -19
  195. package/dist/chunks/{app-f0sjhv8k.js → app-qfwh95mr.js} +6 -6
  196. package/dist/chunks/{app-k46dd5bg.js → app-qfz6bxfd.js} +3 -3
  197. package/dist/chunks/{app-8s9gs4xt.js → app-qgk9wbmt.js} +15 -15
  198. package/dist/chunks/{app-2dkjcnxp.js → app-qmh7vbk2.js} +4 -4
  199. package/dist/chunks/{app-ct922x92.js → app-qnt4ewtn.js} +4 -4
  200. package/dist/chunks/{app-st0cffhr.js → app-qpe5m7rp.js} +9 -9
  201. package/dist/chunks/{app-bvgyq84r.js → app-qrkmc1kp.js} +9 -9
  202. package/dist/chunks/{app-7q7rxd99.js → app-r17y8811.js} +26 -26
  203. package/dist/chunks/{app-rmv7fhs4.js → app-r1fnsf7p.js} +3 -3
  204. package/dist/chunks/{app-ven1czbf.js → app-r1n0s1ac.js} +14 -14
  205. package/dist/chunks/{app-390xskpw.js → app-rchz5kjx.js} +3 -3
  206. package/dist/chunks/{app-esqtx2bv.js → app-rgzbxrk5.js} +6 -6
  207. package/dist/chunks/{app-r3am8bxq.js → app-rhg1wx68.js} +25 -25
  208. package/dist/chunks/{app-5zpqhmp2.js → app-rnbnz8pk.js} +4 -4
  209. package/dist/chunks/{app-qmkmbszb.js → app-rz032gsk.js} +13 -13
  210. package/dist/chunks/{app-79nnga0g.js → app-s55t9t0j.js} +45 -45
  211. package/dist/chunks/{app-yd5ts3vm.js → app-s5hy498g.js} +13 -13
  212. package/dist/chunks/{app-29znb8a3.js → app-s72x33aq.js} +17 -17
  213. package/dist/chunks/{app-deze0pbg.js → app-s7s2w16j.js} +34 -34
  214. package/dist/chunks/{app-29w6bfzb.js → app-sch7yt7r.js} +17 -17
  215. package/dist/chunks/{app-wbqm5j27.js → app-sgfxw3p2.js} +72 -72
  216. package/dist/chunks/{app-4aqcs7cm.js → app-sj4xjt7y.js} +22 -22
  217. package/dist/chunks/{app-1yp5yc7j.js → app-sr8x3p00.js} +16 -16
  218. package/dist/chunks/{app-3y6ztehy.js → app-t0zfenmz.js} +23 -23
  219. package/dist/chunks/{app-w3c3s7r0.js → app-t4f7c3ht.js} +15 -15
  220. package/dist/chunks/{app-729wf2sv.js → app-t7wtafck.js} +10 -10
  221. package/dist/chunks/{app-q94xbs3k.js → app-tkp5adq0.js} +7 -7
  222. package/dist/chunks/{app-tx9th86b.js → app-ts7bpkbv.js} +1 -1
  223. package/dist/chunks/{app-mf63ygpr.js → app-v0t96s7a.js} +3 -3
  224. package/dist/chunks/{app-0fzs4qek.js → app-v7zvx5ny.js} +30 -30
  225. package/dist/chunks/{app-1yq9hg58.js → app-v9ez2kgh.js} +4 -4
  226. package/dist/chunks/{app-t6fvvd0q.js → app-vf5rezts.js} +8 -8
  227. package/dist/chunks/{app-qh5g3qaw.js → app-vt4r9rmy.js} +7 -7
  228. package/dist/chunks/{app-wcjy6v7w.js → app-vyzwj7hv.js} +7 -7
  229. package/dist/chunks/{app-4fcdzvcv.js → app-w0gbs4kg.js} +27 -27
  230. package/dist/chunks/{app-j4re26mb.js → app-w6adzdws.js} +81 -81
  231. package/dist/chunks/{app-k9mev5ma.js → app-wbqzfeen.js} +14 -14
  232. package/dist/chunks/{app-1ccesh34.js → app-wd6ygds7.js} +1 -1
  233. package/dist/chunks/{app-jf43mb4q.js → app-weahyj5x.js} +3 -3
  234. package/dist/chunks/{app-48c4cf2k.js → app-wf5k0dcb.js} +29 -29
  235. package/dist/chunks/{app-r17fbvme.js → app-wfs84ra6.js} +3 -3
  236. package/dist/chunks/{app-xjbsd7zy.js → app-whhbv2ev.js} +7 -7
  237. package/dist/chunks/{app-sj49106k.js → app-whq4nd4h.js} +8 -8
  238. package/dist/chunks/{app-zdkp82n7.js → app-wjnwerxx.js} +6 -6
  239. package/dist/chunks/{app-ac642rmg.js → app-wq1xd5na.js} +9 -9
  240. package/dist/chunks/{app-czwy3yzx.js → app-wvr8xscb.js} +6 -6
  241. package/dist/chunks/{app-hny7yx1q.js → app-wy3njjma.js} +17 -17
  242. package/dist/chunks/{app-3ehakt2b.js → app-wyya4zt2.js} +7 -7
  243. package/dist/chunks/{app-th2hp9ev.js → app-wyzscbnm.js} +1 -1
  244. package/dist/chunks/{app-hv7hhxe7.js → app-x2eb1s38.js} +14 -14
  245. package/dist/chunks/{app-fm152kwa.js → app-x2kh5z67.js} +19 -19
  246. package/dist/chunks/{app-1zqc9pfk.js → app-x48k7f96.js} +10 -10
  247. package/dist/chunks/{app-2vk2ak2q.js → app-xavgr0sn.js} +22 -22
  248. package/dist/chunks/{app-0c255mfh.js → app-xfdj8ybq.js} +32 -32
  249. package/dist/chunks/{app-7yz4rvvq.js → app-xfssnbs4.js} +16 -16
  250. package/dist/chunks/{app-kbgs7tyr.js → app-xksw6ev0.js} +3 -3
  251. package/dist/chunks/{app-ygvhn020.js → app-xrj14re7.js} +7 -7
  252. package/dist/chunks/{app-ee8h273g.js → app-xznfvz6c.js} +11 -11
  253. package/dist/chunks/{app-ftsg2ab9.js → app-y3e9w5j4.js} +8 -8
  254. package/dist/chunks/{app-70esdp6e.js → app-y5x79gp6.js} +4 -4
  255. package/dist/chunks/{app-19bray3m.js → app-y70svyf1.js} +22 -22
  256. package/dist/chunks/{app-qsvhv05j.js → app-y9dbkkt2.js} +25 -25
  257. package/dist/chunks/{app-8ppgdgnm.js → app-ydejkx0z.js} +1 -1
  258. package/dist/chunks/{app-kak54rfk.js → app-yef98r2t.js} +13 -13
  259. package/dist/chunks/{app-0bskj9a3.js → app-yq2mt5qr.js} +1 -1
  260. package/dist/chunks/{app-h0rg6s60.js → app-yqveydy6.js} +3 -3
  261. package/dist/chunks/{app-t8erkws8.js → app-ysampvvb.js} +3 -3
  262. package/dist/chunks/{app-38aws4xb.js → app-z080rjh6.js} +3 -3
  263. package/dist/chunks/{app-1cs0ztjs.js → app-z4sah7cn.js} +10 -10
  264. package/dist/chunks/{app-tgfrqp5x.js → app-z7a53n6z.js} +5 -5
  265. package/dist/chunks/{app-wffevkx6.js → app-zkket41r.js} +22 -22
  266. package/dist/chunks/{app-r6r95tvq.js → app-zvg8q0fs.js} +2 -2
  267. package/dist/codemode/execution.js +5 -5
  268. package/dist/codemode/fetch.js +113 -113
  269. package/dist/codemode/instructions.js +8 -8
  270. package/dist/codemode/tool.js +119 -119
  271. package/dist/command.js +77 -77
  272. package/dist/config/discovery.js +73 -73
  273. package/dist/config/integration.js +3 -3
  274. package/dist/config/normalize.js +88 -88
  275. package/dist/config/plugin/agent.js +100 -100
  276. package/dist/config/plugin/command.js +189 -188
  277. package/dist/config/plugin/compaction.js +134 -134
  278. package/dist/config/plugin/compatibility.js +116 -116
  279. package/dist/config/plugin/formatter.js +101 -101
  280. package/dist/config/plugin/image.js +100 -100
  281. package/dist/config/plugin/instruction.js +101 -101
  282. package/dist/config/plugin/location-watcher.js +102 -102
  283. package/dist/config/plugin/mcp.js +105 -104
  284. package/dist/config/plugin/policy.js +100 -100
  285. package/dist/config/plugin/provider.js +100 -100
  286. package/dist/config/plugin/reference.js +102 -102
  287. package/dist/config/plugin/shell.js +102 -102
  288. package/dist/config/plugin/skill-file.js +113 -113
  289. package/dist/config/plugin/skill.js +119 -119
  290. package/dist/config/plugin/snapshot.js +100 -100
  291. package/dist/config/plugin/source.js +103 -103
  292. package/dist/config/plugin/tool-output.js +101 -101
  293. package/dist/config/plugin/websearch.js +101 -101
  294. package/dist/config/plugin/worktree.js +102 -102
  295. package/dist/config.js +106 -106
  296. package/dist/credential.js +71 -71
  297. package/dist/database/database.js +60 -60
  298. package/dist/database/drizzle/effect-sqlite/driver.js +10 -10
  299. package/dist/database/drizzle/effect-sqlite/index.js +6 -6
  300. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  301. package/dist/database/drizzle/index.js +11 -11
  302. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  303. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  304. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  305. package/dist/database/drizzle.js +11 -11
  306. package/dist/database/migration.gen.js +49 -49
  307. package/dist/database/migration.js +50 -50
  308. package/dist/database/v1-migration.bun.js +18 -18
  309. package/dist/effect/app-node-builder.js +276 -275
  310. package/dist/effect/keyed-mutex.js +3 -3
  311. package/dist/environment/environment.js +80 -80
  312. package/dist/environment/index.js +80 -80
  313. package/dist/event-logger.js +10 -10
  314. package/dist/file-access.js +123 -123
  315. package/dist/file-mutation.js +81 -81
  316. package/dist/filesystem/file-watch.js +15 -15
  317. package/dist/filesystem/location-watcher-policy.js +5 -5
  318. package/dist/filesystem/location-watcher.js +205 -204
  319. package/dist/filesystem/search.js +84 -84
  320. package/dist/filesystem/watcher.js +9 -9
  321. package/dist/filesystem.js +87 -87
  322. package/dist/form.js +73 -73
  323. package/dist/formatter/builtins.js +3 -3
  324. package/dist/formatter.js +78 -78
  325. package/dist/generate.js +92 -92
  326. package/dist/git.js +3 -3
  327. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  328. package/dist/github-copilot/copilot-provider.js +3 -3
  329. package/dist/github-copilot/models.js +89 -89
  330. package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
  331. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  332. package/dist/image/photon.js +1 -1
  333. package/dist/image.js +5 -5
  334. package/dist/instance/service.js +5 -5
  335. package/dist/instance.js +364 -363
  336. package/dist/instruction-discovery.js +78 -78
  337. package/dist/instructions/builtins.js +78 -78
  338. package/dist/instructions/index.js +3 -3
  339. package/dist/integration/connection.js +3 -3
  340. package/dist/integration.js +72 -72
  341. package/dist/job.js +66 -66
  342. package/dist/kv.js +65 -65
  343. package/dist/location-activity.js +82 -82
  344. package/dist/location-lifecycle.js +118 -118
  345. package/dist/location-service-map.js +77 -77
  346. package/dist/location-services.js +362 -361
  347. package/dist/location.js +72 -72
  348. package/dist/managed-policy.js +2 -2
  349. package/dist/mcp/client.js +21 -21
  350. package/dist/mcp/connection.js +110 -0
  351. package/dist/mcp/index.js +94 -93
  352. package/dist/mcp/instructions.js +147 -146
  353. package/dist/mcp/oauth.js +11 -11
  354. package/dist/mcp/stdio.js +77 -77
  355. package/dist/modal/models.js +89 -89
  356. package/dist/model-resolver.js +88 -88
  357. package/dist/model.js +80 -80
  358. package/dist/models-dev.js +96 -96
  359. package/dist/permission/saved.js +74 -74
  360. package/dist/permission/sql.js +3 -3
  361. package/dist/permission.js +121 -121
  362. package/dist/persistent-pty/index.js +77 -77
  363. package/dist/persistent-pty.js +65 -65
  364. package/dist/plugin/agent.js +66 -66
  365. package/dist/plugin/command.js +87 -86
  366. package/dist/plugin/goal.js +3 -3
  367. package/dist/plugin/hooks.js +5 -5
  368. package/dist/plugin/host.js +196 -195
  369. package/dist/plugin/identity.js +5 -5
  370. package/dist/plugin/instance.js +5 -5
  371. package/dist/plugin/internal.js +340 -339
  372. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  373. package/dist/plugin/models-dev.js +85 -85
  374. package/dist/plugin/module.js +99 -99
  375. package/dist/plugin/optimize.js +2 -2
  376. package/dist/plugin/plan.js +114 -114
  377. package/dist/plugin/provider/amazon-bedrock.js +81 -81
  378. package/dist/plugin/provider/azure.js +103 -103
  379. package/dist/plugin/provider/chatgpt.js +99 -99
  380. package/dist/plugin/provider/claude-agent/aisdk.js +92 -92
  381. package/dist/plugin/provider/claude-agent/claude/query-options.js +3 -3
  382. package/dist/plugin/provider/claude-agent/claude/sessions.js +11 -11
  383. package/dist/plugin/provider/claude-agent/claude/status.js +6 -6
  384. package/dist/plugin/provider/claude-agent/index.js +111 -111
  385. package/dist/plugin/provider/claude-agent/instructions.js +88 -88
  386. package/dist/plugin/provider/claude-agent/integration.js +87 -87
  387. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  388. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +5 -5
  389. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +5 -5
  390. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  391. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  392. package/dist/plugin/provider/claude-agent/provider.js +84 -84
  393. package/dist/plugin/provider/claude-agent/session.js +87 -87
  394. package/dist/plugin/provider/claude-agent/sync/catch-up.js +2 -2
  395. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  396. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  397. package/dist/plugin/provider/claude-agent/tools/result.js +2 -2
  398. package/dist/plugin/provider/claude-agent/tools/server.js +3 -3
  399. package/dist/plugin/provider/cloudflare-ai-gateway.js +99 -99
  400. package/dist/plugin/provider/cloudflare-workers-ai.js +99 -99
  401. package/dist/plugin/provider/configured.js +97 -97
  402. package/dist/plugin/provider/credential-settings.js +66 -66
  403. package/dist/plugin/provider/digitalocean.js +84 -84
  404. package/dist/plugin/provider/github-copilot.js +86 -86
  405. package/dist/plugin/provider/gitlab.js +83 -83
  406. package/dist/plugin/provider/google-vertex.js +98 -98
  407. package/dist/plugin/provider/llmgateway.js +69 -69
  408. package/dist/plugin/provider/lmstudio.js +105 -105
  409. package/dist/plugin/provider/local.js +102 -102
  410. package/dist/plugin/provider/modal.js +84 -84
  411. package/dist/plugin/provider/ollama.js +105 -105
  412. package/dist/plugin/provider/openai-context-caps.js +80 -80
  413. package/dist/plugin/provider/openai.js +99 -99
  414. package/dist/plugin/provider/opencode.js +121 -121
  415. package/dist/plugin/provider/openrouter.js +81 -81
  416. package/dist/plugin/provider/poe.js +69 -69
  417. package/dist/plugin/provider/refresh.js +68 -68
  418. package/dist/plugin/provider/sap-ai-core.js +80 -80
  419. package/dist/plugin/provider/snowflake-cortex.js +99 -99
  420. package/dist/plugin/provider/vllm.js +103 -103
  421. package/dist/plugin/provider/xai.js +81 -81
  422. package/dist/plugin/provider.js +188 -188
  423. package/dist/plugin/sdk.js +69 -69
  424. package/dist/plugin/service.js +3 -3
  425. package/dist/plugin/skill.js +115 -115
  426. package/dist/plugin/supervisor.js +351 -350
  427. package/dist/plugin/tool-input-repair.js +3 -3
  428. package/dist/plugin/update.js +6 -6
  429. package/dist/plugin/vcs/git.js +77 -77
  430. package/dist/plugin/vcs/hg.js +75 -75
  431. package/dist/plugin/verbosity.js +83 -83
  432. package/dist/plugin/warming.js +101 -101
  433. package/dist/plugin/websearch/exa.js +5 -5
  434. package/dist/plugin/websearch/firecrawl.js +6 -6
  435. package/dist/plugin/websearch/index.js +7 -7
  436. package/dist/plugin/websearch/parallel.js +6 -6
  437. package/dist/plugin/websearch/tavily.js +6 -6
  438. package/dist/plugin/websearch/tinyfish.js +6 -6
  439. package/dist/plugin.js +205 -204
  440. package/dist/project/icon.js +3 -3
  441. package/dist/project/schema.js +1 -1
  442. package/dist/project/sql.js +2 -2
  443. package/dist/project.js +71 -71
  444. package/dist/provider.js +83 -83
  445. package/dist/pty.js +87 -87
  446. package/dist/reference/instructions.js +78 -78
  447. package/dist/reference.js +80 -80
  448. package/dist/repository-cache.js +70 -70
  449. package/dist/ripgrep.js +81 -81
  450. package/dist/rpc.js +77 -77
  451. package/dist/schedule/check.js +200 -199
  452. package/dist/schedule/sql.js +4 -4
  453. package/dist/schedule.js +206 -205
  454. package/dist/session/blob.js +99 -99
  455. package/dist/session/command.js +66 -66
  456. package/dist/session/compaction.js +137 -137
  457. package/dist/session/context.js +161 -160
  458. package/dist/session/diff.js +78 -78
  459. package/dist/session/environment.js +5 -5
  460. package/dist/session/error.js +4 -4
  461. package/dist/session/execution/restart.js +126 -125
  462. package/dist/session/execution.js +129 -129
  463. package/dist/session/generate.js +163 -162
  464. package/dist/session/history.js +104 -104
  465. package/dist/session/inbox.js +115 -115
  466. package/dist/session/info.js +2 -2
  467. package/dist/session/instruction-entry.js +69 -69
  468. package/dist/session/instruction-state.js +5 -5
  469. package/dist/session/instructions.js +109 -109
  470. package/dist/session/model-request.js +133 -133
  471. package/dist/session/model-transport.js +7 -7
  472. package/dist/session/move.js +130 -130
  473. package/dist/session/projector.js +110 -110
  474. package/dist/session/prompt.js +116 -116
  475. package/dist/session/revert.js +107 -107
  476. package/dist/session/runner/index.js +3 -3
  477. package/dist/session/runner/llm.js +207 -206
  478. package/dist/session/runner/model.js +89 -89
  479. package/dist/session/runner/publish-llm-event.js +117 -117
  480. package/dist/session/runner/retry.js +4 -4
  481. package/dist/session/runner/step.js +130 -130
  482. package/dist/session/runner/to-llm-message.js +105 -105
  483. package/dist/session/schema.js +5 -5
  484. package/dist/session/session.js +146 -146
  485. package/dist/session/shell.js +110 -110
  486. package/dist/session/skill.js +115 -115
  487. package/dist/session/sql.js +3 -3
  488. package/dist/session/stats.js +10 -10
  489. package/dist/session/store.js +110 -110
  490. package/dist/session/stored.js +3 -3
  491. package/dist/session/subagent-job.js +190 -189
  492. package/dist/session/system-prompt.js +5 -5
  493. package/dist/session/title.js +166 -165
  494. package/dist/session/to-session-error.js +116 -116
  495. package/dist/session/transfer.js +123 -122
  496. package/dist/session.js +201 -200
  497. package/dist/shared-cache.js +5 -5
  498. package/dist/shell/parse.js +3 -3
  499. package/dist/shell/select.js +8 -8
  500. package/dist/shell.js +113 -113
  501. package/dist/skill/discovery.js +5 -5
  502. package/dist/skill/instructions.js +119 -119
  503. package/dist/skill.js +124 -124
  504. package/dist/snapshot.js +82 -82
  505. package/dist/tool/mcp.js +146 -145
  506. package/dist/tool/plugin/artifact.js +189 -188
  507. package/dist/tool/plugin/edit.js +130 -130
  508. package/dist/tool/plugin/glob.js +133 -133
  509. package/dist/tool/plugin/grep.js +127 -127
  510. package/dist/tool/plugin/image-generate.js +198 -197
  511. package/dist/tool/plugin/mcp-resource.js +128 -127
  512. package/dist/tool/plugin/opencode.js +128 -128
  513. package/dist/tool/plugin/patch.js +132 -132
  514. package/dist/tool/plugin/question.js +114 -114
  515. package/dist/tool/plugin/read.js +136 -136
  516. package/dist/tool/plugin/schedule.js +205 -204
  517. package/dist/tool/plugin/shell.js +192 -191
  518. package/dist/tool/plugin/skill.js +123 -123
  519. package/dist/tool/plugin/subagent.js +195 -194
  520. package/dist/tool/plugin/todo.js +120 -120
  521. package/dist/tool/plugin/webfetch.js +115 -115
  522. package/dist/tool/plugin/websearch.js +123 -123
  523. package/dist/tool/plugin/write.js +132 -132
  524. package/dist/tool/read-filesystem.js +85 -85
  525. package/dist/tool-output.js +5 -5
  526. package/dist/tool.js +129 -129
  527. package/dist/types/mcp/connection.d.ts +75 -0
  528. package/dist/types/mcp/index.d.ts +3 -3
  529. package/dist/usage-limits.js +73 -73
  530. package/dist/v1/config/agent.js +4 -4
  531. package/dist/v1/config/command.js +5 -5
  532. package/dist/v1/config/mcp.js +3 -3
  533. package/dist/v1/config/migrate.js +81 -81
  534. package/dist/v1/config/permission.js +3 -3
  535. package/dist/v1/config/plugin.js +3 -3
  536. package/dist/v1/config/provider.js +3 -3
  537. package/dist/variant.js +83 -83
  538. package/dist/vcs.js +80 -80
  539. package/dist/voice.js +73 -73
  540. package/dist/websearch.js +73 -73
  541. package/dist/wellknown/plugin.js +68 -68
  542. package/dist/wellknown.js +73 -73
  543. package/dist/workspace/driver.js +7 -7
  544. package/dist/workspace.js +74 -74
  545. package/dist/worktree/directory.js +1 -1
  546. package/dist/worktree/git.js +7 -7
  547. package/dist/worktree/sql.js +3 -3
  548. package/dist/worktree/strategies.js +80 -80
  549. package/dist/worktree.js +84 -84
  550. package/package.json +8 -8
  551. package/dist/chunks/app-yc9fq4e8.js +0 -16
  552. /package/dist/chunks/{app-s5r5pqmg.js → app-13am0myr.js} +0 -0
  553. /package/dist/chunks/{app-6xw3seg4.js → app-2hg7qvzt.js} +0 -0
  554. /package/dist/chunks/{app-27b1v58b.js → app-7wm6fjb2.js} +0 -0
  555. /package/dist/chunks/{app-775hqbnd.js → app-80mg3ag8.js} +0 -0
  556. /package/dist/chunks/{app-034tev2y.js → app-aj7mw0zk.js} +0 -0
  557. /package/dist/chunks/{app-d4v9tmah.js → app-gn8tkhbf.js} +0 -0
  558. /package/dist/chunks/{app-963hk181.js → app-kp2338hr.js} +0 -0
  559. /package/dist/chunks/{app-0mn5h64x.js → app-q0ez1hrk.js} +0 -0
  560. /package/dist/chunks/{app-j9nxzz3g.js → app-ze75qvmd.js} +0 -0
@@ -1,40 +1,40 @@
1
1
  import {
2
2
  Ref3,
3
3
  Service80
4
- } from "./app-q94xbs3k.js";
4
+ } from "./app-tkp5adq0.js";
5
5
  import {
6
- Service77
7
- } from "./app-nfqr52w1.js";
6
+ Service65
7
+ } from "./app-afwnmwkf.js";
8
8
  import {
9
9
  observe2
10
10
  } from "./app-hpg1pkwy.js";
11
11
  import {
12
- Service60
13
- } from "./app-xcqpvrxn.js";
12
+ Service62
13
+ } from "./app-9hqxgecf.js";
14
14
  import {
15
15
  SessionMessage2
16
16
  } from "./app-gftt206x.js";
17
17
  import {
18
- Service72
19
- } from "./app-jqc5eb3q.js";
18
+ Service52
19
+ } from "./app-hahgtam6.js";
20
20
  import {
21
- Service20
22
- } from "./app-vhdveqxn.js";
21
+ Service15
22
+ } from "./app-qczyd0hm.js";
23
23
  import {
24
- Service22
25
- } from "./app-xcygg6mt.js";
24
+ Service20
25
+ } from "./app-g6p4g6mv.js";
26
26
  import {
27
27
  text2
28
28
  } from "./app-8b3vzgkx.js";
29
29
  import {
30
- Service63
31
- } from "./app-6r3rh7r1.js";
30
+ Service47
31
+ } from "./app-ndpzex15.js";
32
32
  import {
33
33
  detect2
34
34
  } from "./app-4pyp9zr9.js";
35
35
  import {
36
- Service25
37
- } from "./app-j4re26mb.js";
36
+ Service24
37
+ } from "./app-w6adzdws.js";
38
38
  import {
39
39
  collectBoundedResponseBody2
40
40
  } from "./app-3v8g72cx.js";
@@ -46,13 +46,13 @@ import {
46
46
  var exports_image_generate = {};
47
47
  __export(exports_image_generate, {
48
48
  ImageGenerateTool: () => exports_image_generate,
49
- Input: () => Input3,
49
+ Input: () => Input5,
50
50
  MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
51
- Output: () => Output2,
52
- Plugin: () => Plugin41,
51
+ Output: () => Output4,
52
+ Plugin: () => Plugin25,
53
53
  defaultModel: () => defaultModel2,
54
54
  description: () => description4,
55
- name: () => name3
55
+ name: () => name5
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 name3 = "experimental_image_generate";
63
+ var name5 = "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);
@@ -80,7 +80,7 @@ var description4 = [
80
80
  "Don't repeat a request unless the user asks."
81
81
  ].join(`
82
82
  `);
83
- var Input3 = Schema.Struct({
83
+ var Input5 = 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 Input3 = 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 Output2 = Schema.Struct({
97
+ var Output4 = 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 Plugin41 = {
102
+ var Plugin25 = {
103
103
  id: "opencode.tool.image-generate",
104
104
  effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
105
- const access = yield* Service20;
106
- const environment = yield* Service60;
107
- const generate = yield* Service22;
105
+ const access = yield* Service15;
106
+ const environment = yield* Service62;
107
+ const generate = yield* Service20;
108
108
  const global = yield* Global.Service;
109
109
  const http = yield* HttpClient.HttpClient;
110
- const config = yield* Service77;
111
- const jobs = yield* Service63;
110
+ const config = yield* Service65;
111
+ const jobs = yield* Service47;
112
112
  const scope = yield* Scope.Scope;
113
- const sessions = yield* Service25;
113
+ const sessions = yield* Service24;
114
114
  const models = yield* Service80;
115
- const permission = yield* Service72;
115
+ const permission = yield* Service52;
116
116
  const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
117
117
  const available = yield* models.available(["image"]);
118
118
  if (!input) {
@@ -193,7 +193,7 @@ var Plugin41 = {
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: name3, jobID: input.id, state: info.status, path: input.file }
196
+ metadata: { source: name5, 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 }));
@@ -212,11 +212,11 @@ var Plugin41 = {
212
212
  if (!enabled || imageGenerate(loaded.entries) === false)
213
213
  return;
214
214
  editor.add({
215
- name: name3,
215
+ name: name5,
216
216
  options: { codemode: false },
217
217
  description: description4,
218
- input: Input3,
219
- output: Output2,
218
+ input: Input5,
219
+ output: Output4,
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 Plugin41 = {
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: name3,
229
+ action: name5,
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: name3,
297
+ type: name5,
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 },
@@ -333,4 +333,4 @@ function acceptsImages(model) {
333
333
  return model.capabilities.input.some((item) => item.startsWith("image"));
334
334
  }
335
335
 
336
- export { name3, MAX_INPUT_BYTES2, description4, Input3, Output2, Plugin41, defaultModel2, exports_image_generate };
336
+ export { name5, MAX_INPUT_BYTES2, description4, Input5, Output4, Plugin25, defaultModel2, exports_image_generate };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  key2
3
- } from "./app-wws03c5r.js";
3
+ } from "./app-jhwp234h.js";
4
4
  import {
5
5
  ID17,
6
- Service82
7
- } from "./app-hv7hhxe7.js";
6
+ Service81
7
+ } from "./app-x2eb1s38.js";
8
8
  import {
9
- load5,
10
- derive3
11
- } from "./app-kak54rfk.js";
9
+ load4,
10
+ derive2
11
+ } from "./app-yef98r2t.js";
12
12
  import {
13
- Service13,
13
+ Service19,
14
14
  fingerprint2
15
- } from "./app-s320htan.js";
15
+ } from "./app-0z1kk8n9.js";
16
16
  import {
17
17
  start3
18
- } from "./app-qr8hn1sn.js";
18
+ } from "./app-kfd17r3s.js";
19
19
 
20
20
  // src/plugin/provider/modal.ts
21
21
  import { Effect } from "effect";
@@ -25,8 +25,8 @@ var providerID = ID17.make("modal");
25
25
  var ModalPlugin2 = define({
26
26
  id: "opencode.provider.modal",
27
27
  effect: Effect.fn(function* (ctx) {
28
- const providers = yield* Service82;
29
- const cache = yield* Service13;
28
+ const providers = yield* Service81;
29
+ const cache = yield* Service19;
30
30
  const http = yield* HttpClient.HttpClient;
31
31
  const discovered = yield* start3({
32
32
  integrationID: "modal",
@@ -46,7 +46,7 @@ var ModalPlugin2 = define({
46
46
  const models = yield* cache.get({
47
47
  key: modelsKey(connection, apiKey, baseURL),
48
48
  ...options,
49
- load: (connection ? ctx.integration.connection.resolve(connection) : Effect.undefined).pipe(Effect.map((current) => current?.type === "key" ? current.key : connection ? undefined : process.env.MODAL_PROXY_TOKEN), Effect.flatMap((key) => key ? load5(http, baseURL, key) : Effect.fail(new Error("Modal connection has no API key"))), Effect.map((models) => models.toSorted((a, b) => a.id.localeCompare(b.id))))
49
+ load: (connection ? ctx.integration.connection.resolve(connection) : Effect.undefined).pipe(Effect.map((current) => current?.type === "key" ? current.key : connection ? undefined : process.env.MODAL_PROXY_TOKEN), Effect.flatMap((key) => key ? load4(http, baseURL, key) : Effect.fail(new Error("Modal connection has no API key"))), Effect.map((models) => models.toSorted((a, b) => a.id.localeCompare(b.id))))
50
50
  }).pipe(Effect.orElseSucceed(() => {
51
51
  return;
52
52
  }));
@@ -60,7 +60,7 @@ var ModalPlugin2 = define({
60
60
  return;
61
61
  evt.add({
62
62
  info: item.provider,
63
- models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
63
+ models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
64
64
  sourceConnection: loaded.connection
65
65
  });
66
66
  });
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  latest2,
3
- Service77
4
- } from "./app-nfqr52w1.js";
3
+ Service65
4
+ } from "./app-afwnmwkf.js";
5
5
  import {
6
6
  BlobTable2,
7
7
  BlobRefTable2
8
- } from "./app-mb7mbhnz.js";
8
+ } from "./app-8z6m94af.js";
9
9
  import {
10
10
  refHash2,
11
11
  ref2,
12
12
  FileRef2,
13
13
  ToolFileRef2
14
- } from "./app-fg9p65nk.js";
14
+ } from "./app-prq7xxp2.js";
15
15
  import {
16
16
  __export
17
17
  } from "./app-9rqn6x4v.js";
@@ -191,7 +191,7 @@ var read3 = Effect.fnUntraced(function* (db, hash) {
191
191
  });
192
192
  var hashBytes2 = (raw) => createHash("sha256").update(raw).digest("hex");
193
193
  var enabled2 = Effect.gen(function* () {
194
- const config = yield* Effect.serviceOption(Service77);
194
+ const config = yield* Effect.serviceOption(Service65);
195
195
  if (Option.isNone(config))
196
196
  return false;
197
197
  return latest2(yield* config.value.entries(), "experimental")?.media_blob === true;
@@ -7,19 +7,19 @@ import {
7
7
  } from "./app-z5v4ffb3.js";
8
8
  import {
9
9
  root2
10
- } from "./app-6rb0kxcw.js";
10
+ } from "./app-jyntrgsj.js";
11
11
  import {
12
12
  Service86,
13
13
  node89
14
- } from "./app-rty8vnq8.js";
14
+ } from "./app-k483zyxw.js";
15
15
  import {
16
- Service60,
17
- node61
18
- } from "./app-xcqpvrxn.js";
16
+ Service62,
17
+ node63
18
+ } from "./app-9hqxgecf.js";
19
19
  import {
20
- Service72,
21
- node75
22
- } from "./app-jqc5eb3q.js";
20
+ Service52,
21
+ node53
22
+ } from "./app-hahgtam6.js";
23
23
  import {
24
24
  __export
25
25
  } from "./app-9rqn6x4v.js";
@@ -30,8 +30,8 @@ __export(exports_file_access, {
30
30
  FileAccess: () => exports_file_access,
31
31
  Kind: () => Kind2,
32
32
  ResolveInput: () => ResolveInput2,
33
- Service: () => Service20,
34
- node: () => node22,
33
+ Service: () => Service15,
34
+ node: () => node17,
35
35
  resolvePath: () => resolvePath2
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -45,7 +45,7 @@ var ResolveInput2 = Schema.Struct({
45
45
  kind: Kind2.pipe(Schema.optional)
46
46
  });
47
47
 
48
- class Service20 extends Context.Service()("@opencode/FileAccess") {
48
+ class Service15 extends Context.Service()("@opencode/FileAccess") {
49
49
  }
50
50
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
51
51
  const normalized = FSUtil.windowsPath(input);
@@ -57,11 +57,11 @@ var invocation = (context) => ({
57
57
  agent: context.agent,
58
58
  source: { type: "tool", messageID: context.messageID, id: context.id }
59
59
  });
60
- var layer = Layer.effect(Service20, Effect.gen(function* () {
61
- const { files } = yield* Service60;
60
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
61
+ const { files } = yield* Service62;
62
62
  const exists = (file) => exists2(files, file);
63
63
  const location = yield* Service86;
64
- const permission = yield* Service72;
64
+ const permission = yield* Service52;
65
65
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
66
66
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
67
67
  const worktree = path.resolve(location.project.directory);
@@ -110,12 +110,12 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
110
110
  });
111
111
  return target;
112
112
  });
113
- return Service20.of({ resolve, authorizeExternal, authorizeRead });
113
+ return Service15.of({ resolve, authorizeExternal, authorizeRead });
114
114
  }));
115
- var node22 = makeLocationNode({
116
- service: Service20,
115
+ var node17 = makeLocationNode({
116
+ service: Service15,
117
117
  layer,
118
- deps: [node61, node89, node75]
118
+ deps: [node63, node89, node53]
119
119
  });
120
120
 
121
- export { Kind2, ResolveInput2, Service20, resolvePath2, node22, exports_file_access };
121
+ export { Kind2, ResolveInput2, Service15, resolvePath2, node17, exports_file_access };
@@ -3,13 +3,13 @@ import {
3
3
  } from "./app-gxs71cxp.js";
4
4
  import {
5
5
  session2
6
- } from "./app-035wadpx.js";
6
+ } from "./app-9rqhy0gk.js";
7
7
  import {
8
8
  start2
9
9
  } from "./app-1v2g13eq.js";
10
10
  import {
11
- make8
12
- } from "./app-kbgs7tyr.js";
11
+ make6
12
+ } from "./app-xksw6ev0.js";
13
13
  import {
14
14
  build2
15
15
  } from "./app-eqw4pqj1.js";
@@ -22,13 +22,13 @@ import {
22
22
  } from "./app-sbya78hr.js";
23
23
  import {
24
24
  content2
25
- } from "./app-775hqbnd.js";
25
+ } from "./app-80mg3ag8.js";
26
26
  import {
27
27
  make7
28
28
  } from "./app-rj7j5fvs.js";
29
29
  import {
30
30
  collect2
31
- } from "./app-j9nxzz3g.js";
31
+ } from "./app-ze75qvmd.js";
32
32
  import {
33
33
  __export
34
34
  } from "./app-9rqn6x4v.js";
@@ -96,7 +96,7 @@ function registry2() {
96
96
  yield* closeEntries();
97
97
  });
98
98
  const attach = Effect.fn("ClaudeSessions.attach")(function* (input) {
99
- const records = make8(input.storage);
99
+ const records = make6(input.storage);
100
100
  owners++;
101
101
  yield* cancelHandover();
102
102
  yield* Effect.addFinalizer(() => Effect.gen(function* () {
@@ -8,7 +8,7 @@ __export(exports_system_prompt, {
8
8
  AGENT_OPTION: () => AGENT_OPTION2,
9
9
  ClaudeSystemPrompt: () => exports_system_prompt,
10
10
  INSTRUCTIONS_OPTION: () => INSTRUCTIONS_OPTION2,
11
- make: () => make12,
11
+ make: () => make10,
12
12
  utility: () => utility2
13
13
  });
14
14
  var AGENT_OPTION2 = "claudeCodeAgent";
@@ -19,7 +19,7 @@ var primary = {
19
19
  snapshot: false,
20
20
  append: "<runtime_info>You are running in OpenCode through the Claude Code harness. Mention this only when asked.</runtime_info>"
21
21
  };
22
- function make12(role, instructions) {
22
+ function make10(role, instructions) {
23
23
  const blocks = [primary.append];
24
24
  if (role)
25
25
  blocks.push(`# Agent role (from OpenCode)
@@ -37,4 +37,4 @@ function utility2(prompt) {
37
37
  `) || "You are a text generation helper. Return only the requested output.";
38
38
  }
39
39
 
40
- export { AGENT_OPTION2, INSTRUCTIONS_OPTION2, make12, utility2, exports_system_prompt };
40
+ export { AGENT_OPTION2, INSTRUCTIONS_OPTION2, make10, utility2, exports_system_prompt };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  Service89
3
- } from "./app-69r3s0z2.js";
3
+ } from "./app-82fxv0dw.js";
4
4
  import {
5
- Event19,
5
+ Event20,
6
6
  Service84
7
- } from "./app-2z05z86t.js";
7
+ } from "./app-k8bdr0d0.js";
8
8
  import {
9
9
  batch2
10
10
  } from "./app-40y6dtc2.js";
11
11
  import {
12
12
  suppliers2
13
- } from "./app-r17fbvme.js";
13
+ } from "./app-wfs84ra6.js";
14
14
  import {
15
15
  match3
16
16
  } from "./app-1aqsckx4.js";
@@ -19,13 +19,13 @@ import {
19
19
  decision2,
20
20
  integrationResource2,
21
21
  accounts2
22
- } from "./app-94e33dpz.js";
22
+ } from "./app-1vbrkdbs.js";
23
23
  import {
24
- Service77
25
- } from "./app-nfqr52w1.js";
24
+ Service65
25
+ } from "./app-afwnmwkf.js";
26
26
  import {
27
- Service62
28
- } from "./app-hf0syw03.js";
27
+ Service73
28
+ } from "./app-n17wdgkv.js";
29
29
  import {
30
30
  observe2
31
31
  } from "./app-hpg1pkwy.js";
@@ -37,16 +37,16 @@ import {
37
37
  var exports_policy = {};
38
38
  __export(exports_policy, {
39
39
  ConfigPolicyPlugin: () => exports_policy,
40
- Plugin: () => Plugin30
40
+ Plugin: () => Plugin47
41
41
  });
42
42
  import { define } from "@opencode/plugin/effect/plugin";
43
43
  import { Effect, Stream } from "effect";
44
- var Plugin30 = define({
44
+ var Plugin47 = define({
45
45
  id: "opencode.config.policy",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service77;
47
+ const config = yield* Service65;
48
48
  const credentials = yield* Service84;
49
- const websearch = yield* Service62;
49
+ const websearch = yield* Service73;
50
50
  const bus = yield* Service89;
51
51
  const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload(), websearch.reload()], {
52
52
  discard: true
@@ -54,7 +54,7 @@ var Plugin30 = define({
54
54
  const loaded = yield* observe2(config, ctx.event, reload);
55
55
  const policies = () => statements2(loaded.entries);
56
56
  const current = { accounts: accounts2(yield* credentials.all()) };
57
- yield* bus.subscribe([Event19.Updated, Event19.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
57
+ yield* bus.subscribe([Event20.Updated, Event20.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
58
58
  const next = accounts2(yield* credentials.all());
59
59
  if (next.size === current.accounts.size && Array.from(next).every(([id, account]) => current.accounts.get(id) === account))
60
60
  return;
@@ -110,4 +110,4 @@ var Plugin30 = define({
110
110
  })
111
111
  });
112
112
 
113
- export { Plugin30, exports_policy };
113
+ export { Plugin47, exports_policy };
@@ -6,13 +6,13 @@ import {
6
6
  var exports_service = {};
7
7
  __export(exports_service, {
8
8
  Plugin: () => exports_service,
9
- Service: () => Service30,
9
+ Service: () => Service37,
10
10
  awaitActivation: () => awaitActivation2
11
11
  });
12
12
  import { Context } from "effect";
13
13
 
14
- class Service30 extends Context.Service()("@opencode/Plugin") {
14
+ class Service37 extends Context.Service()("@opencode/Plugin") {
15
15
  }
16
- var awaitActivation2 = Service30.use((plugins) => plugins.awaitActivation);
16
+ var awaitActivation2 = Service37.use((plugins) => plugins.awaitActivation);
17
17
 
18
- export { Service30, awaitActivation2, exports_service };
18
+ export { Service37, awaitActivation2, exports_service };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./app-pdh4dm2s.js";
3
+ } from "./app-0qdw55z7.js";
4
4
  import {
5
5
  OAuth3,
6
6
  Service84
7
- } from "./app-2z05z86t.js";
7
+ } from "./app-k8bdr0d0.js";
8
8
  import {
9
9
  ID18,
10
10
  MethodID2
11
- } from "./app-wtm34wvt.js";
11
+ } from "./app-gwz0wrrb.js";
12
12
  import {
13
13
  ID17,
14
14
  mergeOverlay2
15
- } from "./app-hv7hhxe7.js";
15
+ } from "./app-x2eb1s38.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Service86,
3
3
  node89
4
- } from "./app-rty8vnq8.js";
4
+ } from "./app-k483zyxw.js";
5
5
  import {
6
6
  create4
7
7
  } from "./app-40y6dtc2.js";
@@ -13,17 +13,17 @@ import {
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service16,
17
- node: () => node18
16
+ Service: () => Service74,
17
+ node: () => node76
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service16 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service74 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service16, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
27
27
  const location = yield* Service86;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service16.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service74.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node18 = makeLocationNode({
91
- service: Service16,
90
+ var node76 = makeLocationNode({
91
+ service: Service74,
92
92
  layer,
93
93
  deps: [node89, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service16, node18, exports_formatter2 };
96
+ export { Service74, node76, exports_formatter2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Service89
3
- } from "./app-69r3s0z2.js";
3
+ } from "./app-82fxv0dw.js";
4
4
  import {
5
- Event19
6
- } from "./app-2z05z86t.js";
5
+ Event20
6
+ } from "./app-k8bdr0d0.js";
7
7
  import {
8
8
  ID18
9
- } from "./app-wtm34wvt.js";
9
+ } from "./app-gwz0wrrb.js";
10
10
  import {
11
11
  isLoggedIn2
12
12
  } from "./app-2p60zmnr.js";
13
13
  import {
14
14
  ID3
15
- } from "./app-zeb1kz6r.js";
15
+ } from "./app-prwg2e47.js";
16
16
  import {
17
17
  __export
18
18
  } from "./app-9rqn6x4v.js";
@@ -22,11 +22,11 @@ var exports_integration = {};
22
22
  __export(exports_integration, {
23
23
  ClaudeIntegration: () => exports_integration,
24
24
  METHOD_ID: () => METHOD_ID2,
25
- register: () => register2
25
+ register: () => register3
26
26
  });
27
27
  import { Effect, Stream, SubscriptionRef } from "effect";
28
28
  var METHOD_ID2 = "claude-login";
29
- var register2 = Effect.fn("ClaudeIntegration.register")(function* (ctx, status) {
29
+ var register3 = Effect.fn("ClaudeIntegration.register")(function* (ctx, status) {
30
30
  yield* ctx.integration.transform((editor) => {
31
31
  editor.update(ID3, (integration) => {
32
32
  integration.name = "Claude Agent";
@@ -49,7 +49,7 @@ var register2 = Effect.fn("ClaudeIntegration.register")(function* (ctx, status)
49
49
  });
50
50
  })), Effect.forkScoped);
51
51
  const bus = yield* Service89;
52
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID18.make(ID3)), Stream.runForEach(() => status.refresh()), Effect.forkScoped({ startImmediately: true }));
52
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID18.make(ID3)), Stream.runForEach(() => status.refresh()), Effect.forkScoped({ startImmediately: true }));
53
53
  });
54
54
  function problem(state) {
55
55
  if (state.type === "missing")
@@ -65,4 +65,4 @@ function problem(state) {
65
65
  return;
66
66
  }
67
67
 
68
- export { METHOD_ID2, register2, exports_integration };
68
+ export { METHOD_ID2, register3, exports_integration };