@opencode/core 0.0.0-dev-20859 → 0.0.0-dev-20865

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 (456) hide show
  1. package/dist/agent.js +63 -63
  2. package/dist/aisdk-native.js +61 -61
  3. package/dist/aisdk.js +66 -66
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +52 -52
  6. package/dist/chunks/{models-dev-5hje56dy.js → models-dev-02vpj3qc.js} +17 -17
  7. package/dist/chunks/{models-dev-n7c9kffx.js → models-dev-09dj6j0c.js} +18 -18
  8. package/dist/chunks/{models-dev-qsjdw6zx.js → models-dev-0c77cqtw.js} +8 -8
  9. package/dist/chunks/{models-dev-y8ywfhz0.js → models-dev-0cwy3bsm.js} +30 -30
  10. package/dist/chunks/{models-dev-etrah8tf.js → models-dev-0ef4xx30.js} +11 -11
  11. package/dist/chunks/{models-dev-mhj1gmv2.js → models-dev-0sakkys5.js} +8 -8
  12. package/dist/chunks/{models-dev-825k8aw8.js → models-dev-0xb1ev3y.js} +18 -18
  13. package/dist/chunks/{models-dev-sds13m34.js → models-dev-1813d5zh.js} +4 -4
  14. package/dist/chunks/{models-dev-xskeg1my.js → models-dev-18ged8s4.js} +4 -4
  15. package/dist/chunks/{models-dev-20nanq9y.js → models-dev-1kzng4v9.js} +23 -23
  16. package/dist/chunks/{models-dev-g6yfr6ja.js → models-dev-1pxz8ven.js} +3 -3
  17. package/dist/chunks/{models-dev-nywrw2rv.js → models-dev-1xbam7mh.js} +23 -23
  18. package/dist/chunks/{models-dev-a4t865ze.js → models-dev-1zran81s.js} +42 -42
  19. package/dist/chunks/{models-dev-d2wg8ycw.js → models-dev-1zzep20k.js} +48 -48
  20. package/dist/chunks/{models-dev-rm8qkk51.js → models-dev-20y73wgn.js} +75 -75
  21. package/dist/chunks/{models-dev-xapca0z6.js → models-dev-27jjh9qb.js} +5 -5
  22. package/dist/chunks/{models-dev-dtv3x9wh.js → models-dev-27k0aesg.js} +31 -31
  23. package/dist/chunks/{models-dev-rcjkxq8e.js → models-dev-2fah77kf.js} +20 -20
  24. package/dist/chunks/{models-dev-607tc6va.js → models-dev-2k8khapm.js} +4 -4
  25. package/dist/chunks/{models-dev-nppymsqd.js → models-dev-3066s64a.js} +9 -9
  26. package/dist/chunks/{models-dev-cg1v189h.js → models-dev-3711sgqg.js} +13 -13
  27. package/dist/chunks/{models-dev-zbt6nn6v.js → models-dev-38ae7j5t.js} +4 -4
  28. package/dist/chunks/{models-dev-95vtkt33.js → models-dev-38qn8yeh.js} +16 -16
  29. package/dist/chunks/{models-dev-p871771t.js → models-dev-3af8jha9.js} +11 -11
  30. package/dist/chunks/models-dev-3ak9ykqq.js +26 -0
  31. package/dist/chunks/{models-dev-0kxvzjqb.js → models-dev-3gkd5a8g.js} +8 -8
  32. package/dist/chunks/{models-dev-vmcw6w9a.js → models-dev-3h8e7zd4.js} +9 -9
  33. package/dist/chunks/{models-dev-frwnkyqj.js → models-dev-3kdapj6e.js} +3 -3
  34. package/dist/chunks/{models-dev-g5thp7qf.js → models-dev-3pe8x8yc.js} +33 -33
  35. package/dist/chunks/{models-dev-m1xtt4y5.js → models-dev-3qsb6rdp.js} +10 -10
  36. package/dist/chunks/{models-dev-t5qdg2d6.js → models-dev-3rf335s5.js} +28 -28
  37. package/dist/chunks/{models-dev-jq3943v9.js → models-dev-3svptyzd.js} +5 -5
  38. package/dist/chunks/{models-dev-6kvq4g2x.js → models-dev-3xh5mtw1.js} +16 -16
  39. package/dist/chunks/{models-dev-x19bay7e.js → models-dev-3zkyqq39.js} +30 -30
  40. package/dist/chunks/{models-dev-dnbgra15.js → models-dev-41ha1pse.js} +14 -14
  41. package/dist/chunks/{models-dev-9mpm97f6.js → models-dev-4297re2w.js} +17 -17
  42. package/dist/chunks/{models-dev-mtpeagzc.js → models-dev-48kw51zw.js} +3 -3
  43. package/dist/chunks/{models-dev-x7fmrxm4.js → models-dev-4c9nws0q.js} +39 -39
  44. package/dist/chunks/{models-dev-vfjhn2wd.js → models-dev-4v7ngy20.js} +3 -3
  45. package/dist/chunks/{models-dev-dxj72tfx.js → models-dev-4v7qdvcn.js} +4 -4
  46. package/dist/chunks/{models-dev-skz3ykf8.js → models-dev-4vs05w9v.js} +76 -76
  47. package/dist/chunks/{models-dev-xrmxwe4z.js → models-dev-50jefmw0.js} +16 -16
  48. package/dist/chunks/{models-dev-r94pvvab.js → models-dev-54ma36ye.js} +3 -3
  49. package/dist/chunks/{models-dev-yas3qt8d.js → models-dev-56zrnamb.js} +9 -9
  50. package/dist/chunks/{models-dev-nfy0j2qk.js → models-dev-5cr9rfmm.js} +31 -31
  51. package/dist/chunks/{models-dev-sr10jt0g.js → models-dev-5dn4fjfa.js} +10 -10
  52. package/dist/chunks/{models-dev-rt393x0g.js → models-dev-5fxerghj.js} +23 -23
  53. package/dist/chunks/{models-dev-neksqwq6.js → models-dev-5jebg124.js} +4 -4
  54. package/dist/chunks/{models-dev-9k0wbz69.js → models-dev-5rb28c55.js} +8 -8
  55. package/dist/chunks/{models-dev-61j0dmjj.js → models-dev-62wenpza.js} +8 -8
  56. package/dist/chunks/{models-dev-2sntqjaq.js → models-dev-6631xwdh.js} +15 -15
  57. package/dist/chunks/{models-dev-y37ep2y1.js → models-dev-6893qs62.js} +2 -2
  58. package/dist/chunks/{models-dev-e3w9vdzz.js → models-dev-6f60r94z.js} +2 -2
  59. package/dist/chunks/{models-dev-x084de2t.js → models-dev-6m68mxhc.js} +8 -8
  60. package/dist/chunks/{models-dev-24chregn.js → models-dev-6nndasc1.js} +15 -15
  61. package/dist/chunks/{models-dev-pxqeypnt.js → models-dev-6nvb4mge.js} +5 -5
  62. package/dist/chunks/{models-dev-x9kv5ets.js → models-dev-76qnrnma.js} +2 -2
  63. package/dist/chunks/{models-dev-d5k6qz6m.js → models-dev-7j2crns3.js} +9 -9
  64. package/dist/chunks/{models-dev-3rw41r48.js → models-dev-7mjqmdtc.js} +35 -35
  65. package/dist/chunks/{models-dev-9wrrb0yb.js → models-dev-7z5rppbg.js} +14 -14
  66. package/dist/chunks/{models-dev-q5e7cmwt.js → models-dev-7zt5x37y.js} +1 -1
  67. package/dist/chunks/{models-dev-bwqxdjjg.js → models-dev-82148vs9.js} +7 -7
  68. package/dist/chunks/{models-dev-f062g88n.js → models-dev-8a2c1kbr.js} +14 -14
  69. package/dist/chunks/{models-dev-paaty2hy.js → models-dev-8dthkasz.js} +38 -38
  70. package/dist/chunks/{models-dev-b2r2w48a.js → models-dev-8e54dvz2.js} +14 -14
  71. package/dist/chunks/{models-dev-gtbbts5w.js → models-dev-8jwn2r34.js} +2 -2
  72. package/dist/chunks/{models-dev-0h3bmwzg.js → models-dev-8krkc3yk.js} +2 -2
  73. package/dist/chunks/{models-dev-6e3h9s4c.js → models-dev-91ywsamh.js} +19 -19
  74. package/dist/chunks/{models-dev-ryhdpedp.js → models-dev-93m7ndqx.js} +1 -1
  75. package/dist/chunks/{models-dev-gvyvbnms.js → models-dev-977z57ma.js} +1 -1
  76. package/dist/chunks/{models-dev-xqytcf95.js → models-dev-98str5rv.js} +1 -1
  77. package/dist/chunks/{models-dev-q8k64wqz.js → models-dev-9c6cajnv.js} +9 -9
  78. package/dist/chunks/{models-dev-aet8a8m6.js → models-dev-9j9hzet3.js} +13 -13
  79. package/dist/chunks/{models-dev-tpg3rrhy.js → models-dev-9n90zg10.js} +8 -8
  80. package/dist/chunks/{models-dev-qe05a2bz.js → models-dev-9p0xfm4a.js} +19 -19
  81. package/dist/chunks/{models-dev-ggw4qjdj.js → models-dev-9v3ssj07.js} +9 -9
  82. package/dist/chunks/{models-dev-tx9w5tca.js → models-dev-a2qe2ev9.js} +7 -7
  83. package/dist/chunks/{models-dev-1vg111bv.js → models-dev-ab4qm1k1.js} +20 -20
  84. package/dist/chunks/{models-dev-3ppptnan.js → models-dev-acd4vkpt.js} +5 -5
  85. package/dist/chunks/{models-dev-qf76qvkk.js → models-dev-ajxsk1x2.js} +3 -3
  86. package/dist/chunks/{models-dev-hbz3dq43.js → models-dev-awppbkr6.js} +14 -14
  87. package/dist/chunks/{models-dev-yqbtp4nn.js → models-dev-az0s1ab0.js} +24 -24
  88. package/dist/chunks/{models-dev-0vvhvyba.js → models-dev-b250jdey.js} +14 -14
  89. package/dist/chunks/{models-dev-jq5e7nes.js → models-dev-b41xg0sk.js} +9 -9
  90. package/dist/chunks/{models-dev-ygdna4kr.js → models-dev-b674v2dg.js} +3 -3
  91. package/dist/chunks/{models-dev-mt0x4r8y.js → models-dev-b9tgwt06.js} +19 -19
  92. package/dist/chunks/{models-dev-1ffvrpkg.js → models-dev-bjx1sjef.js} +4 -4
  93. package/dist/chunks/{models-dev-2qzyfzsa.js → models-dev-bky1yqwv.js} +19 -19
  94. package/dist/chunks/{models-dev-s2z0d44b.js → models-dev-bmr56wjg.js} +3 -3
  95. package/dist/chunks/{models-dev-81mmn3a0.js → models-dev-bmzae5ya.js} +21 -21
  96. package/dist/chunks/{models-dev-9y49bz8y.js → models-dev-bty79xpe.js} +4 -4
  97. package/dist/chunks/{models-dev-698b69sb.js → models-dev-bvnvcshr.js} +20 -20
  98. package/dist/chunks/{models-dev-mw7nwdkh.js → models-dev-ce0wjd2x.js} +3 -3
  99. package/dist/chunks/{models-dev-xxqyc97q.js → models-dev-cedw1as4.js} +14 -14
  100. package/dist/chunks/{models-dev-jkcwyt6p.js → models-dev-cfdgyghc.js} +15 -15
  101. package/dist/chunks/{models-dev-gst7axd9.js → models-dev-ckf8nxjz.js} +3 -3
  102. package/dist/chunks/{models-dev-ge15eywb.js → models-dev-cm1qnfez.js} +9 -9
  103. package/dist/chunks/{models-dev-k19akd89.js → models-dev-db8bgabc.js} +10 -10
  104. package/dist/chunks/{models-dev-1fv76e68.js → models-dev-dk2prtcf.js} +1 -1
  105. package/dist/chunks/{models-dev-xpkv9yx2.js → models-dev-dwbvz6j3.js} +298 -298
  106. package/dist/chunks/{models-dev-6943eppc.js → models-dev-e8tkc3qk.js} +13 -13
  107. package/dist/chunks/{models-dev-kzc3h1h3.js → models-dev-eahhehpg.js} +3 -3
  108. package/dist/chunks/{models-dev-vzrjrdpg.js → models-dev-ednkbcah.js} +13 -13
  109. package/dist/chunks/{models-dev-9wx1dm4d.js → models-dev-f1f91z08.js} +20 -20
  110. package/dist/chunks/{models-dev-p2sw0m36.js → models-dev-f2wtk041.js} +46 -46
  111. package/dist/chunks/{models-dev-3cqwnyj9.js → models-dev-fan8xm03.js} +6 -6
  112. package/dist/chunks/{models-dev-adkf1mef.js → models-dev-fbwp6pwa.js} +1 -1
  113. package/dist/chunks/{models-dev-52j8y2jv.js → models-dev-fdkb9ec3.js} +20 -20
  114. package/dist/chunks/{models-dev-0jq9fyba.js → models-dev-fdms3n6w.js} +7 -7
  115. package/dist/chunks/{models-dev-bp2y3nv0.js → models-dev-fg3tm49t.js} +30 -30
  116. package/dist/chunks/{models-dev-edrmdtr5.js → models-dev-fqb2p7cx.js} +6 -6
  117. package/dist/chunks/{models-dev-tvdyt1f2.js → models-dev-fxjftaq6.js} +10 -10
  118. package/dist/chunks/{models-dev-fh0gp1g6.js → models-dev-g0ma4c6w.js} +22 -22
  119. package/dist/chunks/{models-dev-denz7pvs.js → models-dev-g74jm693.js} +6 -6
  120. package/dist/chunks/{models-dev-xcmk6yw7.js → models-dev-g8ytx0e6.js} +8 -8
  121. package/dist/chunks/{models-dev-d5fjkd30.js → models-dev-gaagjm2t.js} +8 -8
  122. package/dist/chunks/{models-dev-4gknt9fd.js → models-dev-gbmjry2n.js} +7 -7
  123. package/dist/chunks/{models-dev-vy569zcr.js → models-dev-gm86nbja.js} +4 -4
  124. package/dist/chunks/{models-dev-4t1gj9yh.js → models-dev-gvmpqvya.js} +12 -12
  125. package/dist/chunks/{models-dev-f29mbr7f.js → models-dev-gw7cjrad.js} +3 -3
  126. package/dist/chunks/{models-dev-5e9r84ee.js → models-dev-h0q4qrbw.js} +25 -25
  127. package/dist/chunks/{models-dev-gwwmhhky.js → models-dev-h4k3px47.js} +11 -11
  128. package/dist/chunks/{models-dev-xjm3547e.js → models-dev-hakjpm15.js} +10 -10
  129. package/dist/chunks/{models-dev-rz81a41x.js → models-dev-hgbphaw8.js} +22 -22
  130. package/dist/chunks/{models-dev-82y99j0b.js → models-dev-hpa38nzs.js} +1 -1
  131. package/dist/chunks/{models-dev-rq8mp9zh.js → models-dev-hpf1ew30.js} +25 -25
  132. package/dist/chunks/{models-dev-0q0wg4xp.js → models-dev-hzphjpmd.js} +1 -1
  133. package/dist/chunks/{models-dev-22wdbsts.js → models-dev-j0zrtwtb.js} +5 -5
  134. package/dist/chunks/{models-dev-pavee1b2.js → models-dev-jcnpjjtr.js} +32 -32
  135. package/dist/chunks/{models-dev-8v3dx1b1.js → models-dev-jk72hbrr.js} +20 -20
  136. package/dist/chunks/{models-dev-97krh25m.js → models-dev-k64wxf8y.js} +2 -2
  137. package/dist/chunks/{models-dev-2ganz3y8.js → models-dev-k6n6e38h.js} +1 -1
  138. package/dist/chunks/{models-dev-nw3bkfwn.js → models-dev-k6ysx7ta.js} +20 -20
  139. package/dist/chunks/{models-dev-zn5v3n4q.js → models-dev-k7myrtme.js} +7 -7
  140. package/dist/chunks/{models-dev-f8tkgn5s.js → models-dev-kbrj9m31.js} +19 -19
  141. package/dist/chunks/{models-dev-fy2g7ryf.js → models-dev-ke4s2br1.js} +18 -18
  142. package/dist/chunks/{models-dev-gem7d763.js → models-dev-ktzky0j0.js} +8 -8
  143. package/dist/chunks/{models-dev-5enhjtjj.js → models-dev-ky2vbgv2.js} +9 -9
  144. package/dist/chunks/{models-dev-8674dt24.js → models-dev-m1pp26ww.js} +7 -7
  145. package/dist/chunks/{models-dev-m96k3bkt.js → models-dev-m8yn9wqd.js} +9 -9
  146. package/dist/chunks/{models-dev-hwt2tm4a.js → models-dev-m92ve9wx.js} +22 -22
  147. package/dist/chunks/{models-dev-gk8qb678.js → models-dev-maspj1v3.js} +5 -18
  148. package/dist/chunks/{models-dev-k9rphyjs.js → models-dev-mbqxj1ec.js} +1 -1
  149. package/dist/chunks/{models-dev-rdq446ee.js → models-dev-mjx5rav7.js} +32 -32
  150. package/dist/chunks/{models-dev-3jrhrefn.js → models-dev-n0dhg24y.js} +4 -4
  151. package/dist/chunks/{models-dev-q297xgrc.js → models-dev-n59g9vmt.js} +9 -9
  152. package/dist/chunks/{models-dev-rhcjcads.js → models-dev-n8brk52a.js} +10 -10
  153. package/dist/chunks/{models-dev-5fh04hx0.js → models-dev-nasydrcy.js} +9 -9
  154. package/dist/chunks/{models-dev-h9y1jbrp.js → models-dev-nex57z9h.js} +21 -21
  155. package/dist/chunks/{models-dev-mkezy99k.js → models-dev-njr6j307.js} +1 -1
  156. package/dist/chunks/{models-dev-m069vd74.js → models-dev-nk6ny5be.js} +5 -5
  157. package/dist/chunks/{models-dev-gsfpqf0z.js → models-dev-p0acjafb.js} +22 -22
  158. package/dist/chunks/{models-dev-5yzzbxa7.js → models-dev-p37cw4rj.js} +7 -7
  159. package/dist/chunks/{models-dev-k34nj8c9.js → models-dev-pj8gj9vn.js} +9 -9
  160. package/dist/chunks/{models-dev-a2t0s2yb.js → models-dev-pw0wjf5b.js} +20 -20
  161. package/dist/chunks/{models-dev-n9m213t7.js → models-dev-pxgkna3x.js} +10 -10
  162. package/dist/chunks/{models-dev-sxxv73z5.js → models-dev-q3986erm.js} +5 -5
  163. package/dist/chunks/{models-dev-82d1et5t.js → models-dev-q3jzg8ra.js} +161 -161
  164. package/dist/chunks/{models-dev-n01hsn3w.js → models-dev-qa0fzn5w.js} +31 -31
  165. package/dist/chunks/{models-dev-18qdyfs3.js → models-dev-qbqawk7j.js} +10 -10
  166. package/dist/chunks/{models-dev-nnjnsc1s.js → models-dev-qm5jr2ty.js} +12 -12
  167. package/dist/chunks/{models-dev-qf9g6tp9.js → models-dev-r7nsrefv.js} +7 -7
  168. package/dist/chunks/{models-dev-6gw9y4bj.js → models-dev-r9bvg2me.js} +19 -19
  169. package/dist/chunks/{models-dev-v1vh7s4p.js → models-dev-ra67jj04.js} +7 -7
  170. package/dist/chunks/{models-dev-70m140w6.js → models-dev-rc1kv93m.js} +9 -9
  171. package/dist/chunks/{models-dev-pb231g4a.js → models-dev-rek66y3z.js} +10 -10
  172. package/dist/chunks/{models-dev-68wyf5bm.js → models-dev-rg0zttgc.js} +4 -4
  173. package/dist/chunks/{models-dev-p99txfpw.js → models-dev-rj9375zf.js} +40 -40
  174. package/dist/chunks/{models-dev-127b9nq3.js → models-dev-rqa1jxse.js} +1 -1
  175. package/dist/chunks/{models-dev-374ye17y.js → models-dev-rqd2zw5t.js} +10 -10
  176. package/dist/chunks/{models-dev-6zqpyfbt.js → models-dev-rx0anvt2.js} +22 -22
  177. package/dist/chunks/{models-dev-av393dca.js → models-dev-s0wmvqbr.js} +22 -22
  178. package/dist/chunks/{models-dev-qwvs60pp.js → models-dev-sqp85fkz.js} +41 -41
  179. package/dist/chunks/{models-dev-knrxc9g3.js → models-dev-t77ee9tw.js} +14 -14
  180. package/dist/chunks/{models-dev-zxjahm5e.js → models-dev-tdr9jbt8.js} +13 -13
  181. package/dist/chunks/{models-dev-xtst01x3.js → models-dev-ts5gehh4.js} +4 -4
  182. package/dist/chunks/{models-dev-x3bxg7jp.js → models-dev-ts9abvhb.js} +27 -27
  183. package/dist/chunks/{models-dev-19ezngz8.js → models-dev-twwzjqdf.js} +4 -4
  184. package/dist/chunks/{models-dev-887nqayc.js → models-dev-tzza62aq.js} +16 -16
  185. package/dist/chunks/{models-dev-4y22yp3a.js → models-dev-v05n4cdg.js} +8 -8
  186. package/dist/chunks/{models-dev-8yrsrcqn.js → models-dev-v1aj2m8y.js} +7 -7
  187. package/dist/chunks/{models-dev-ytpyksxf.js → models-dev-v1rcz1aj.js} +32 -32
  188. package/dist/chunks/{models-dev-zm51nxtb.js → models-dev-v4r7zn86.js} +19 -19
  189. package/dist/chunks/{models-dev-sek363pm.js → models-dev-vd2q3was.js} +20 -20
  190. package/dist/chunks/{models-dev-t2svpsp8.js → models-dev-vqh374jc.js} +20 -20
  191. package/dist/chunks/{models-dev-kz8r75e4.js → models-dev-w0dkdy3z.js} +20 -20
  192. package/dist/chunks/{models-dev-4cb8f7fk.js → models-dev-w0k2ty99.js} +6 -6
  193. package/dist/chunks/{models-dev-vapve5e1.js → models-dev-w2ad8e9p.js} +27 -27
  194. package/dist/chunks/{models-dev-j3zd635k.js → models-dev-w2zfgxdh.js} +4 -4
  195. package/dist/chunks/{models-dev-z5frhjvt.js → models-dev-w8yyf988.js} +56 -56
  196. package/dist/chunks/{models-dev-v897zbhh.js → models-dev-wbta6961.js} +9 -9
  197. package/dist/chunks/{models-dev-k43nyay6.js → models-dev-wg0er8g6.js} +13 -13
  198. package/dist/chunks/{models-dev-647967zt.js → models-dev-wh5jxp3t.js} +10 -10
  199. package/dist/chunks/{models-dev-55gcgw3e.js → models-dev-wwzpy5az.js} +20 -20
  200. package/dist/chunks/{models-dev-v8w8krek.js → models-dev-xcqtwf8k.js} +11 -11
  201. package/dist/chunks/{models-dev-ydd0n9pq.js → models-dev-xfbgawb1.js} +1 -1
  202. package/dist/chunks/{models-dev-k8e7ekdf.js → models-dev-xfmbje2f.js} +3 -3
  203. package/dist/chunks/{models-dev-9cmzbzxt.js → models-dev-xjg855ze.js} +19 -19
  204. package/dist/chunks/{models-dev-s7w1n9db.js → models-dev-xsrwpwr1.js} +24 -24
  205. package/dist/chunks/models-dev-y4h261y3.js +253 -0
  206. package/dist/chunks/{models-dev-1pwmnsys.js → models-dev-y4n4c0dd.js} +28 -28
  207. package/dist/chunks/{models-dev-rt3hmfjg.js → models-dev-y9s9xvs6.js} +7 -7
  208. package/dist/chunks/{models-dev-6m0bz93p.js → models-dev-yjqf8yma.js} +14 -14
  209. package/dist/chunks/{models-dev-e8v4tyd8.js → models-dev-ym59rfmj.js} +6 -6
  210. package/dist/chunks/{models-dev-8n69n882.js → models-dev-yvvvp4gn.js} +3 -3
  211. package/dist/chunks/{models-dev-18vazzn9.js → models-dev-z0mn02tj.js} +8 -8
  212. package/dist/chunks/{models-dev-qrsmaxpv.js → models-dev-z1bdek5p.js} +9 -9
  213. package/dist/chunks/{models-dev-7r5hmjg5.js → models-dev-z9b11dw0.js} +5 -5
  214. package/dist/chunks/{models-dev-d55j8a6m.js → models-dev-zmzf6gpz.js} +9 -9
  215. package/dist/chunks/{models-dev-jd32emjx.js → models-dev-zpywvqex.js} +8 -8
  216. package/dist/chunks/{models-dev-db2wf4at.js → models-dev-zw2hpfmh.js} +3 -3
  217. package/dist/chunks/{models-dev-mqr0et5e.js → models-dev-zyq7fnpt.js} +16 -16
  218. package/dist/codemode/instructions.js +3 -3
  219. package/dist/codemode/tool.js +2 -2
  220. package/dist/command.js +65 -65
  221. package/dist/config/discovery.js +55 -55
  222. package/dist/config/normalize.js +70 -70
  223. package/dist/config/plugin/agent.js +82 -82
  224. package/dist/config/plugin/command.js +161 -161
  225. package/dist/config/plugin/compaction.js +112 -112
  226. package/dist/config/plugin/compatibility.js +96 -96
  227. package/dist/config/plugin/formatter.js +82 -82
  228. package/dist/config/plugin/image.js +82 -82
  229. package/dist/config/plugin/instruction.js +60 -60
  230. package/dist/config/plugin/location-watcher.js +84 -84
  231. package/dist/config/plugin/mcp.js +90 -90
  232. package/dist/config/plugin/policy.js +82 -82
  233. package/dist/config/plugin/provider.js +82 -82
  234. package/dist/config/plugin/reference.js +83 -83
  235. package/dist/config/plugin/shell.js +82 -82
  236. package/dist/config/plugin/skill-file.js +70 -70
  237. package/dist/config/plugin/skill.js +97 -97
  238. package/dist/config/plugin/snapshot.js +82 -82
  239. package/dist/config/plugin/source.js +83 -83
  240. package/dist/config/plugin/tool-output.js +83 -83
  241. package/dist/config/plugin/websearch.js +81 -81
  242. package/dist/config/plugin/worktree.js +80 -80
  243. package/dist/config.js +88 -88
  244. package/dist/credential.js +62 -62
  245. package/dist/database/database.js +51 -51
  246. package/dist/database/drizzle/effect-sqlite/driver.js +7 -7
  247. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  248. package/dist/database/drizzle/effect-sqlite/session.js +6 -6
  249. package/dist/database/drizzle/index.js +8 -8
  250. package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
  251. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  252. package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
  253. package/dist/database/drizzle.js +8 -8
  254. package/dist/database/migration.gen.js +40 -40
  255. package/dist/database/migration.js +42 -42
  256. package/dist/database/v1-migration.bun.js +9 -9
  257. package/dist/effect/app-node-builder.js +225 -225
  258. package/dist/environment/environment.js +60 -60
  259. package/dist/environment/index.js +60 -60
  260. package/dist/event-logger.js +9 -9
  261. package/dist/file-access.js +73 -73
  262. package/dist/file-mutation.js +63 -63
  263. package/dist/filesystem/location-watcher.js +175 -175
  264. package/dist/filesystem/search.js +67 -67
  265. package/dist/filesystem/watcher.js +13 -13
  266. package/dist/filesystem.js +70 -70
  267. package/dist/form.js +67 -67
  268. package/dist/formatter.js +60 -60
  269. package/dist/generate.js +73 -73
  270. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +3 -3
  271. package/dist/github-copilot/copilot-provider.js +3 -3
  272. package/dist/github-copilot/models.js +71 -71
  273. package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
  274. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  275. package/dist/image/photon.js +1 -1
  276. package/dist/image.js +5 -5
  277. package/dist/instance/service.js +5 -5
  278. package/dist/instance.js +299 -299
  279. package/dist/instruction-discovery.js +63 -63
  280. package/dist/instructions/builtins.js +59 -59
  281. package/dist/integration/connection.js +3 -3
  282. package/dist/integration.js +66 -66
  283. package/dist/job.js +58 -58
  284. package/dist/kv.js +56 -56
  285. package/dist/location-activity.js +49 -49
  286. package/dist/location-lifecycle.js +76 -76
  287. package/dist/location-service-map.js +59 -59
  288. package/dist/location-services.js +297 -297
  289. package/dist/location.js +54 -54
  290. package/dist/managed-policy.js +7 -7
  291. package/dist/mcp/client.js +15 -15
  292. package/dist/mcp/index.js +78 -78
  293. package/dist/mcp/instructions.js +94 -94
  294. package/dist/mcp/oauth.js +13 -13
  295. package/dist/mcp/stdio.js +59 -59
  296. package/dist/modal/models.js +71 -71
  297. package/dist/model-resolver.js +70 -70
  298. package/dist/model.js +70 -70
  299. package/dist/models-dev.js +76 -76
  300. package/dist/permission/saved.js +60 -60
  301. package/dist/permission.js +80 -80
  302. package/dist/persistent-pty/index.js +67 -67
  303. package/dist/persistent-pty.js +55 -55
  304. package/dist/plugin/agent.js +56 -56
  305. package/dist/plugin/command.js +69 -69
  306. package/dist/plugin/hooks.js +5 -5
  307. package/dist/plugin/host.js +167 -167
  308. package/dist/plugin/identity.js +3 -3
  309. package/dist/plugin/instance.js +5 -5
  310. package/dist/plugin/internal.js +271 -271
  311. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  312. package/dist/plugin/models-dev.js +67 -67
  313. package/dist/plugin/module.js +80 -80
  314. package/dist/plugin/plan.js +71 -71
  315. package/dist/plugin/provider/amazon-bedrock.js +62 -62
  316. package/dist/plugin/provider/azure.js +81 -81
  317. package/dist/plugin/provider/chatgpt.js +82 -82
  318. package/dist/plugin/provider/cloudflare-ai-gateway.js +80 -80
  319. package/dist/plugin/provider/cloudflare-workers-ai.js +80 -80
  320. package/dist/plugin/provider/configured.js +79 -79
  321. package/dist/plugin/provider/digitalocean.js +64 -64
  322. package/dist/plugin/provider/github-copilot.js +67 -67
  323. package/dist/plugin/provider/gitlab.js +64 -64
  324. package/dist/plugin/provider/google-vertex.js +80 -80
  325. package/dist/plugin/provider/llmgateway.js +59 -59
  326. package/dist/plugin/provider/lmstudio.js +91 -91
  327. package/dist/plugin/provider/local.js +88 -88
  328. package/dist/plugin/provider/modal.js +64 -64
  329. package/dist/plugin/provider/ollama.js +89 -89
  330. package/dist/plugin/provider/openai.js +82 -82
  331. package/dist/plugin/provider/opencode.js +67 -67
  332. package/dist/plugin/provider/openrouter.js +63 -63
  333. package/dist/plugin/provider/poe.js +59 -59
  334. package/dist/plugin/provider/sap-ai-core.js +62 -62
  335. package/dist/plugin/provider/snowflake-cortex.js +81 -81
  336. package/dist/plugin/provider/vercel.js +62 -62
  337. package/dist/plugin/provider/vllm.js +91 -91
  338. package/dist/plugin/provider/xai.js +63 -63
  339. package/dist/plugin/provider.js +126 -126
  340. package/dist/plugin/sdk.js +57 -57
  341. package/dist/plugin/service.js +3 -3
  342. package/dist/plugin/skill.js +97 -97
  343. package/dist/plugin/supervisor.js +286 -286
  344. package/dist/plugin/tool-input-repair.js +3 -3
  345. package/dist/plugin/update.js +5 -5
  346. package/dist/plugin/vcs/git.js +59 -59
  347. package/dist/plugin/vcs/hg.js +59 -59
  348. package/dist/plugin/verbosity.js +65 -65
  349. package/dist/plugin/warming.js +81 -81
  350. package/dist/plugin/websearch/exa.js +6 -6
  351. package/dist/plugin/websearch/firecrawl.js +7 -7
  352. package/dist/plugin/websearch/index.js +8 -8
  353. package/dist/plugin/websearch/mcp.js +3 -3
  354. package/dist/plugin/websearch/parallel.js +7 -7
  355. package/dist/plugin/websearch/tavily.js +6 -6
  356. package/dist/plugin/websearch/tinyfish.js +7 -7
  357. package/dist/plugin.js +174 -174
  358. package/dist/project.js +53 -53
  359. package/dist/provider.js +69 -69
  360. package/dist/pty.js +65 -65
  361. package/dist/reference/instructions.js +63 -63
  362. package/dist/reference.js +64 -64
  363. package/dist/repository-cache.js +57 -57
  364. package/dist/ripgrep/binary.js +1 -1
  365. package/dist/ripgrep.js +64 -64
  366. package/dist/rpc.js +59 -59
  367. package/dist/session/affinity.js +3 -3
  368. package/dist/session/command.js +56 -56
  369. package/dist/session/compaction.js +96 -96
  370. package/dist/session/context.js +115 -115
  371. package/dist/session/diff.js +59 -59
  372. package/dist/session/environment.js +3 -3
  373. package/dist/session/error.js +4 -4
  374. package/dist/session/execution/restart.js +107 -107
  375. package/dist/session/execution.js +93 -93
  376. package/dist/session/generate.js +116 -116
  377. package/dist/session/history.js +6 -6
  378. package/dist/session/inbox.js +65 -65
  379. package/dist/session/info.js +2 -2
  380. package/dist/session/instruction-entry.js +58 -58
  381. package/dist/session/instruction-state.js +2 -2
  382. package/dist/session/instructions.js +67 -67
  383. package/dist/session/model-request.js +85 -85
  384. package/dist/session/model-transport.js +7 -7
  385. package/dist/session/move.js +94 -94
  386. package/dist/session/projector.js +60 -60
  387. package/dist/session/prompt.js +74 -74
  388. package/dist/session/provider-context.js +3 -3
  389. package/dist/session/revert.js +61 -61
  390. package/dist/session/runner/index.js +3 -3
  391. package/dist/session/runner/llm.js +174 -174
  392. package/dist/session/runner/model.js +70 -70
  393. package/dist/session/runner/publish-llm-event.js +80 -80
  394. package/dist/session/runner/step.js +88 -88
  395. package/dist/session/runner/to-llm-message.js +2 -2
  396. package/dist/session/schema.js +5 -5
  397. package/dist/session/session.js +124 -124
  398. package/dist/session/shell.js +96 -96
  399. package/dist/session/skill.js +74 -74
  400. package/dist/session/stats.js +8 -8
  401. package/dist/session/store.js +63 -63
  402. package/dist/session/subagent-job.js +158 -158
  403. package/dist/session/title.js +118 -118
  404. package/dist/session/to-session-error.js +79 -79
  405. package/dist/session/transfer.js +101 -101
  406. package/dist/session.js +169 -169
  407. package/dist/shell/parse.js +3 -3
  408. package/dist/shell/select.js +14 -14
  409. package/dist/shell.js +97 -97
  410. package/dist/skill/discovery.js +5 -5
  411. package/dist/skill/instructions.js +76 -76
  412. package/dist/skill.js +79 -79
  413. package/dist/snapshot.js +64 -64
  414. package/dist/tool/mcp.js +89 -89
  415. package/dist/tool/plugin/edit.js +84 -84
  416. package/dist/tool/plugin/glob.js +88 -88
  417. package/dist/tool/plugin/grep.js +88 -88
  418. package/dist/tool/plugin/mcp-resource.js +82 -82
  419. package/dist/tool/plugin/opencode.js +75 -75
  420. package/dist/tool/plugin/patch.js +86 -86
  421. package/dist/tool/plugin/question.js +72 -72
  422. package/dist/tool/plugin/read.js +89 -89
  423. package/dist/tool/plugin/shell.js +162 -162
  424. package/dist/tool/plugin/skill.js +82 -82
  425. package/dist/tool/plugin/subagent.js +169 -169
  426. package/dist/tool/plugin/webfetch.js +79 -79
  427. package/dist/tool/plugin/websearch.js +80 -80
  428. package/dist/tool/plugin/write.js +86 -86
  429. package/dist/tool/read-filesystem.js +64 -64
  430. package/dist/tool-output.js +5 -5
  431. package/dist/tool.js +11 -11
  432. package/dist/v1/config/agent.js +4 -4
  433. package/dist/v1/config/command.js +5 -5
  434. package/dist/v1/config/mcp.js +3 -3
  435. package/dist/v1/config/migrate.js +63 -63
  436. package/dist/v1/config/permission.js +3 -3
  437. package/dist/v1/config/plugin.js +3 -3
  438. package/dist/v1/config/provider.js +3 -3
  439. package/dist/variant.js +63 -63
  440. package/dist/vcs.js +62 -62
  441. package/dist/websearch.js +59 -59
  442. package/dist/wellknown/plugin.js +57 -57
  443. package/dist/wellknown.js +62 -62
  444. package/dist/workspace/driver.js +7 -7
  445. package/dist/workspace.js +64 -64
  446. package/dist/worktree/strategies.js +60 -60
  447. package/dist/worktree.js +62 -62
  448. package/package.json +8 -8
  449. package/dist/chunks/models-dev-17ycsp3w.js +0 -26
  450. package/dist/chunks/models-dev-f5tf24pd.js +0 -253
  451. /package/dist/chunks/{models-dev-38adaqc0.js → models-dev-3tt1qkhr.js} +0 -0
  452. /package/dist/chunks/{models-dev-ayxtq27e.js → models-dev-bggdt6jp.js} +0 -0
  453. /package/dist/chunks/{models-dev-pyg4v0b6.js → models-dev-c6bnrspk.js} +0 -0
  454. /package/dist/chunks/{models-dev-mv5c0h3x.js → models-dev-d9jtx293.js} +0 -0
  455. /package/dist/chunks/{models-dev-91qna3x0.js → models-dev-j09zfasm.js} +0 -0
  456. /package/dist/chunks/{models-dev-aqq7qq15.js → models-dev-w6082x2g.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./models-dev-e3w9vdzz.js";
4
+ } from "./models-dev-6f60r94z.js";
5
5
  import {
6
6
  KVTable2
7
7
  } from "./models-dev-3hepkmqq.js";
@@ -13,17 +13,17 @@ import {
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service63,
17
- node: () => node67
16
+ Service: () => Service69,
17
+ node: () => node72
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service63 extends Context.Service()("@opencode/KV") {
22
+ class Service69 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service63, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
25
25
  const db = (yield* Service85).db;
26
- return Service63.of({
26
+ return Service69.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node67 = makeGlobalNode({ service: Service63, layer, deps: [node89] });
54
+ var node72 = makeGlobalNode({ service: Service69, layer, deps: [node89] });
55
55
 
56
- export { Service63, node67, exports_kv };
56
+ export { Service69, node72, exports_kv };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useragent2
3
- } from "./models-dev-pb231g4a.js";
3
+ } from "./models-dev-rek66y3z.js";
4
4
  import {
5
5
  __export
6
6
  } from "./models-dev-9rqn6x4v.js";
@@ -8,14 +8,14 @@ import {
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin16,
11
+ Plugin: () => Plugin5,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint2
13
+ endpoint: () => endpoint3
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
18
- var endpoint2 = "https://api.tavily.com/search";
18
+ var endpoint3 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin16 = define({
32
+ var Plugin5 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin16 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin16 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint2, Plugin16, exports_tavily };
80
+ export { endpoint3, Plugin5, exports_tavily };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./models-dev-e3w9vdzz.js";
4
+ } from "./models-dev-6f60r94z.js";
5
5
  import {
6
6
  Service84,
7
7
  node88
8
- } from "./models-dev-82y99j0b.js";
8
+ } from "./models-dev-hpa38nzs.js";
9
9
  import {
10
- Service41,
11
- node43
12
- } from "./models-dev-4t1gj9yh.js";
10
+ Service59,
11
+ node61
12
+ } from "./models-dev-gvmpqvya.js";
13
13
  import {
14
- Service40,
15
- node42
16
- } from "./models-dev-3ppptnan.js";
14
+ Service57,
15
+ node59
16
+ } from "./models-dev-acd4vkpt.js";
17
17
  import {
18
18
  SessionEvent2
19
19
  } from "./models-dev-ec1grn59.js";
@@ -22,18 +22,18 @@ import {
22
22
  } from "./models-dev-yp2x3t23.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service37
26
- } from "./models-dev-gst7axd9.js";
25
+ Service55
26
+ } from "./models-dev-ckf8nxjz.js";
27
27
  import {
28
- Service77,
29
- node81
30
- } from "./models-dev-k19akd89.js";
28
+ Service78,
29
+ node82
30
+ } from "./models-dev-db8bgabc.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./models-dev-7r5hmjg5.js";
33
+ } from "./models-dev-z9b11dw0.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./models-dev-9mpm97f6.js";
36
+ } from "./models-dev-4297re2w.js";
37
37
  import {
38
38
  __export
39
39
  } from "./models-dev-9rqn6x4v.js";
@@ -41,16 +41,16 @@ import {
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service36,
44
+ Service: () => Service54,
45
45
  SessionExecution: () => exports_execution,
46
- layer: () => layer15,
47
- node: () => node39,
48
- noopLayer: () => noopLayer2,
46
+ layer: () => layer21,
47
+ node: () => node57,
48
+ noopLayer: () => noopLayer3,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service36 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service54 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer15 = Layer.effect(Service36, Effect.gen(function* () {
63
- const store = yield* Service77;
64
- const instances = yield* Service40;
62
+ var layer21 = Layer.effect(Service54, Effect.gen(function* () {
63
+ const store = yield* Service78;
64
+ const instances = yield* Service57;
65
65
  const bus = yield* Service84;
66
- const jobs = yield* Service41;
66
+ const jobs = yield* Service59;
67
67
  const db = (yield* Service85).db;
68
68
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
69
69
  const claimOnCommit = (sessionID) => ({
@@ -76,7 +76,7 @@ var layer15 = Layer.effect(Service36, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service37.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
79
+ const result = yield* Service55.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
@@ -104,7 +104,7 @@ var layer15 = Layer.effect(Service36, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service36.of({
107
+ return Service54.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer15 = Layer.effect(Service36, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node39 = makeGlobalNode({
127
- service: Service36,
128
- layer: layer15,
129
- deps: [node81, node42, node88, node89, node43]
126
+ var node57 = makeGlobalNode({
127
+ service: Service54,
128
+ layer: layer21,
129
+ deps: [node82, node59, node88, node89, node61]
130
130
  });
131
- var noopLayer2 = Layer.succeed(Service36, Service36.of({
131
+ var noopLayer3 = Layer.succeed(Service54, Service54.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service36, Service36.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service36, terminal2, layer15, node39, noopLayer2, exports_execution };
140
+ export { Service54, terminal2, layer21, node57, noopLayer3, exports_execution };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./models-dev-pb231g4a.js";
3
+ } from "./models-dev-rek66y3z.js";
4
4
  import {
5
5
  Service84
6
- } from "./models-dev-82y99j0b.js";
6
+ } from "./models-dev-hpa38nzs.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17
10
- } from "./models-dev-yqbtp4nn.js";
9
+ Event16
10
+ } from "./models-dev-az0s1ab0.js";
11
11
  import {
12
12
  key2
13
- } from "./models-dev-db2wf4at.js";
13
+ } from "./models-dev-zw2hpfmh.js";
14
14
  import {
15
- ID10,
15
+ ID8,
16
16
  MethodID2
17
- } from "./models-dev-698b69sb.js";
17
+ } from "./models-dev-bvnvcshr.js";
18
18
  import {
19
- ID9,
19
+ ID7,
20
20
  aisdk2,
21
- Service69
22
- } from "./models-dev-20nanq9y.js";
21
+ Service70
22
+ } from "./models-dev-1kzng4v9.js";
23
23
  import {
24
- ID8,
25
- Info17
26
- } from "./models-dev-52j8y2jv.js";
24
+ ID6,
25
+ Info15
26
+ } from "./models-dev-fdkb9ec3.js";
27
27
  import {
28
28
  success2,
29
29
  error2
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
35
35
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
36
36
  import { define } from "@opencode/plugin/effect/plugin";
37
37
  import { Form } from "@opencode/schema/form";
38
- var providerID = ID9.gitlab;
39
- var integrationID = ID10.make("gitlab");
38
+ var providerID = ID7.gitlab;
39
+ var integrationID = ID8.make("gitlab");
40
40
  var methodID = MethodID2.make("pkce");
41
41
  var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
42
42
  var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
@@ -57,7 +57,7 @@ var refreshRetention = 60000;
57
57
  var GitLabPlugin2 = define({
58
58
  id: "opencode.provider.gitlab",
59
59
  effect: Effect.fn(function* (ctx) {
60
- const providers = yield* Service69;
60
+ const providers = yield* Service70;
61
61
  const bus = yield* Service84;
62
62
  const http = yield* HttpClient.HttpClient;
63
63
  const loading = Semaphore.makeUnsafe(1);
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
185
185
  models: [
186
186
  ...item.models.values(),
187
187
  ...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
188
- ...Info17.default(providerID, ID8.make(model.id)),
188
+ ...Info15.default(providerID, ID6.make(model.id)),
189
189
  name: `Agent Platform (${model.name})`,
190
190
  package: aisdk2("gitlab-ai-provider"),
191
191
  settings: { workflowRef: model.ref },
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
196
196
  });
197
197
  });
198
198
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
199
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
199
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
200
200
  yield* refresh().pipe(Effect.forkScoped);
201
201
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
202
202
  if (evt.package !== "gitlab-ai-provider")
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
219
219
  });
220
220
  }));
221
221
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
222
- if (evt.model.providerID !== ID9.gitlab)
222
+ if (evt.model.providerID !== ID7.gitlab)
223
223
  return;
224
224
  const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
225
225
  const id = evt.model.modelID ?? evt.model.id;
@@ -1,6 +1,6 @@
1
1
  import {
2
- Service75
3
- } from "./models-dev-d2wg8ycw.js";
2
+ Service76
3
+ } from "./models-dev-1zzep20k.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
@@ -16,29 +16,29 @@ import {
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input12,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
19
+ Input: () => Input10,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin14,
22
+ Plugin: () => Plugin29,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description5,
25
+ description: () => description4,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name12
27
+ name: () => name10
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name12 = "webfetch";
34
- var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
33
+ var name10 = "webfetch";
34
+ var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input12 = Schema.Struct({
41
+ var Input10 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input12 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input12.fields.format,
51
+ format: Input10.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
79
79
  throw new Error("URL must use http:// or https://");
80
80
  };
81
81
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
82
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
82
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
83
83
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
84
84
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
85
85
  var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin14 = {
95
+ var Plugin29 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service75;
99
+ const permission = yield* Service76;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name12,
101
+ name: name10,
102
102
  options: { codemode: false },
103
- description: description5,
104
- input: Input12,
103
+ description: description4,
104
+ input: Input10,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin14 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name12,
112
+ action: name10,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name12, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input12, Plugin14, extractTextFromHTML2, exports_webfetch };
170
+ export { name10, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input10, Plugin29, extractTextFromHTML2, exports_webfetch };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./models-dev-82y99j0b.js";
4
+ } from "./models-dev-hpa38nzs.js";
5
5
  import {
6
6
  environment2
7
- } from "./models-dev-qe05a2bz.js";
7
+ } from "./models-dev-9p0xfm4a.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
10
  } from "./models-dev-3t0ybcrp.js";
@@ -16,15 +16,15 @@ import {
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError6,
20
- Options: () => Options7,
19
+ NotFoundError: () => NotFoundError4,
20
+ Options: () => Options3,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service49,
22
+ Service: () => Service25,
23
23
  UnavailableError: () => UnavailableError2,
24
24
  available: () => available2,
25
- configured: () => configured7,
26
- layer: () => layer19,
27
- node: () => node52
25
+ configured: () => configured3,
26
+ layer: () => layer11,
27
+ node: () => node28
28
28
  });
29
29
  import path from "node:path";
30
30
  import { Context, Effect, Layer, Schema } from "effect";
@@ -36,7 +36,7 @@ import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
38
  import { available as available2 } from "#persistent-pty-binary";
39
- var Options7 = Schema.Struct({
39
+ var Options3 = Schema.Struct({
40
40
  handoff: Schema.optional(Handoff),
41
41
  root: Schema.optional(Schema.String)
42
42
  });
@@ -46,14 +46,14 @@ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableE
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
49
+ class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
50
50
  ptyID: Pty.ID
51
51
  }) {
52
52
  }
53
53
 
54
- class Service49 extends Context.Service()("@opencode/PersistentPty") {
54
+ class Service25 extends Context.Service()("@opencode/PersistentPty") {
55
55
  }
56
- var makeLayer = (options = {}) => Layer.effect(Service49, Effect.gen(function* () {
56
+ var makeLayer = (options = {}) => Layer.effect(Service25, Effect.gen(function* () {
57
57
  const bus = yield* Service84;
58
58
  const global = yield* Global.Service;
59
59
  const context = yield* Effect.context();
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service49, Effect.gen(function* (
76
76
  const get = Effect.fn("PersistentPty.get")(function* (id) {
77
77
  const found = (yield* list()).find((terminal) => terminal.id === id);
78
78
  if (!found)
79
- return yield* new NotFoundError6({ ptyID: id });
79
+ return yield* new NotFoundError4({ ptyID: id });
80
80
  return found;
81
81
  });
82
82
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service49, Effect.gen(function* (
243
243
  detach: attachment.detach
244
244
  };
245
245
  });
246
- return Service49.of({
246
+ return Service25.of({
247
247
  list,
248
248
  get,
249
249
  create,
@@ -259,13 +259,13 @@ var makeLayer = (options = {}) => Layer.effect(Service49, Effect.gen(function* (
259
259
  attach
260
260
  });
261
261
  }));
262
- var layer19 = makeLayer();
263
- var configured7 = (options) => makeGlobalNode({
264
- service: Service49,
265
- layer: options === undefined ? layer19 : makeLayer(options),
262
+ var layer11 = makeLayer();
263
+ var configured3 = (options) => makeGlobalNode({
264
+ service: Service25,
265
+ layer: options === undefined ? layer11 : makeLayer(options),
266
266
  deps: [node88, Global.node]
267
267
  });
268
- var node52 = configured7();
268
+ var node28 = configured3();
269
269
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
270
270
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
271
271
  var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options7, UnavailableError2, NotFoundError6, Service49, layer19, configured7, node52, exports_persistent_pty, Handoff2, available2 };
304
+ export { Options3, UnavailableError2, NotFoundError4, Service25, layer11, configured3, node28, exports_persistent_pty, Handoff2, available2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./models-dev-82y99j0b.js";
4
+ } from "./models-dev-hpa38nzs.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
@@ -13,9 +13,9 @@ import {
13
13
  AbsolutePath2
14
14
  } from "./models-dev-z5v4ffb3.js";
15
15
  import {
16
- Service55,
17
- node58
18
- } from "./models-dev-zxjahm5e.js";
16
+ Service64,
17
+ node66
18
+ } from "./models-dev-tdr9jbt8.js";
19
19
  import {
20
20
  create3
21
21
  } from "./models-dev-rdw6cm16.js";
@@ -26,31 +26,31 @@ import {
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event9,
29
+ Event: () => Event10,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info13,
31
+ Info: () => Info14,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service54,
34
+ Service: () => Service63,
35
35
  Source: () => Source3,
36
- node: () => node57
36
+ node: () => node65
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event9 } from "@opencode/schema/reference";
42
+ import { Event as Event10 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
45
  var Source3 = Reference.Source;
46
- var Info13 = Reference.Info;
46
+ var Info14 = Reference.Info;
47
47
 
48
- class Service54 extends Context.Service()("@opencode/Reference") {
48
+ class Service63 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service54, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
52
  const bus = yield* Service84;
53
- const cache = yield* Service55;
53
+ const cache = yield* Service64;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info13.make({ ...info, path: source.path })];
63
+ return [Info14.make({ ...info, path: source.path })];
64
64
  const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info13.make({
75
+ Info14.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service54.of({
107
+ return Service63.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node57 = makeLocationNode({
116
- service: Service54,
115
+ var node65 = makeLocationNode({
116
+ service: Service63,
117
117
  layer,
118
- deps: [Global.node, node88, node58]
118
+ deps: [Global.node, node88, node66]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info13, Service54, node57, exports_reference2, Event9 };
121
+ export { LocalSource2, GitSource2, Source3, Info14, Service63, node65, exports_reference2, Event10 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service69
4
- } from "./models-dev-20nanq9y.js";
3
+ Service70
4
+ } from "./models-dev-1kzng4v9.js";
5
5
  import {
6
- Service44
7
- } from "./models-dev-3rw41r48.js";
6
+ Service50
7
+ } from "./models-dev-7mjqmdtc.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service69;
12
+ const providers = yield* Service70;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service44);
14
+ const service = yield* Effect.serviceOption(Service50);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });