@opencode/core 0.0.0-dev-21844 → 0.0.0-dev-21845

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 (486) hide show
  1. package/dist/agent.js +62 -62
  2. package/dist/aisdk-native.js +72 -72
  3. package/dist/aisdk.js +77 -77
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +55 -55
  6. package/dist/chunks/{model-402jaq8j.js → model-013tddxk.js} +22 -22
  7. package/dist/chunks/{model-fkrw0yne.js → model-06npw4ea.js} +4 -4
  8. package/dist/chunks/{model-9revgexs.js → model-06s4d948.js} +27 -27
  9. package/dist/chunks/{model-m37sd98t.js → model-06w9ffrv.js} +6 -6
  10. package/dist/chunks/{model-vg9pdnzk.js → model-074yh523.js} +10 -10
  11. package/dist/chunks/{model-1vtrsweg.js → model-07zzdza0.js} +7 -7
  12. package/dist/chunks/{model-0fkemg5g.js → model-0avazfzn.js} +9 -9
  13. package/dist/chunks/{model-eh9fwdww.js → model-0jdv6s9h.js} +15 -15
  14. package/dist/chunks/{model-qk30m4sk.js → model-0q0mq65j.js} +27 -27
  15. package/dist/chunks/{model-731keyrx.js → model-0tpkjg9c.js} +3 -3
  16. package/dist/chunks/{model-0rdvx8mm.js → model-17n3exwy.js} +4 -4
  17. package/dist/chunks/{model-tpj42b92.js → model-17s4yebz.js} +12 -12
  18. package/dist/chunks/{model-b2v5bh0w.js → model-1cd8ske1.js} +1 -1
  19. package/dist/chunks/{model-27w5k9zf.js → model-1ep2p91f.js} +1 -1
  20. package/dist/chunks/{model-m12w7t7z.js → model-1jcs48vj.js} +20 -20
  21. package/dist/chunks/{model-78re1mwy.js → model-1jh4qr8c.js} +43 -43
  22. package/dist/chunks/{model-51dkjhxd.js → model-1npkc24w.js} +10 -10
  23. package/dist/chunks/{model-vk4kb8hn.js → model-1r26p0x0.js} +1 -1
  24. package/dist/chunks/{model-mshvsfxc.js → model-1t797f07.js} +9 -9
  25. package/dist/chunks/{model-p78d6nb1.js → model-1tmx6d4w.js} +12 -12
  26. package/dist/chunks/{model-z6a5rdjk.js → model-1wtzqdg9.js} +37 -37
  27. package/dist/chunks/{model-kdmmj2s1.js → model-239hgfhk.js} +332 -332
  28. package/dist/chunks/{model-64g0at16.js → model-2a76c6ad.js} +14 -14
  29. package/dist/chunks/{model-x8mwxtvw.js → model-2kx1ja8a.js} +10 -10
  30. package/dist/chunks/{model-0thmwexm.js → model-2rpkyssh.js} +16 -16
  31. package/dist/chunks/{model-kydjeqpp.js → model-344yvkvm.js} +14 -14
  32. package/dist/chunks/{model-16es53gj.js → model-3y91nzap.js} +1 -1
  33. package/dist/chunks/{model-4ezgq1x4.js → model-40vwnjgs.js} +20 -20
  34. package/dist/chunks/{model-t1dzyeae.js → model-4cxp2d2n.js} +22 -22
  35. package/dist/chunks/{model-83h65v0m.js → model-4dkagkf8.js} +16 -16
  36. package/dist/chunks/{model-hezje28m.js → model-4pwgqaz6.js} +8 -8
  37. package/dist/chunks/{model-7epxgbgt.js → model-4s5pdsz9.js} +4 -4
  38. package/dist/chunks/{model-npygb1ck.js → model-4v99rvbj.js} +39 -39
  39. package/dist/chunks/{model-f7d2s408.js → model-5067z2t4.js} +1 -1
  40. package/dist/chunks/{model-ar5gr77z.js → model-517h8a04.js} +14 -14
  41. package/dist/chunks/{model-sjwfx8gd.js → model-55x2dd8h.js} +25 -25
  42. package/dist/chunks/{model-hz64t7fz.js → model-5c2jv3bs.js} +19 -19
  43. package/dist/chunks/{model-jv29p3b2.js → model-5f9k77aj.js} +13 -13
  44. package/dist/chunks/{model-ke5mvtte.js → model-5gpknzzs.js} +6 -6
  45. package/dist/chunks/{model-nv7gks5s.js → model-5kx0spx3.js} +16 -16
  46. package/dist/chunks/{model-bpkn6vzp.js → model-5t0taa5t.js} +16 -16
  47. package/dist/chunks/{model-jbpvmnpb.js → model-5w7qse6t.js} +2 -2
  48. package/dist/chunks/{model-4h1tw5v6.js → model-5wa8msaj.js} +13 -13
  49. package/dist/chunks/{model-9p6bgy1n.js → model-61nbvadz.js} +21 -21
  50. package/dist/chunks/{model-7k1s1p1s.js → model-68sqyx0h.js} +9 -9
  51. package/dist/chunks/{model-cggmdc1q.js → model-6ah2hm3b.js} +11 -11
  52. package/dist/chunks/{model-9yp4nex6.js → model-6av68hmr.js} +13 -13
  53. package/dist/chunks/{model-2epr9161.js → model-6d6xnsqa.js} +3 -3
  54. package/dist/chunks/{model-kdzda3a0.js → model-6gqrrdq1.js} +2 -2
  55. package/dist/chunks/{model-2fawgvav.js → model-6jrjvs1q.js} +3 -3
  56. package/dist/chunks/{model-mdd67zeq.js → model-6qwcfsdb.js} +21 -21
  57. package/dist/chunks/{model-6g54p6vv.js → model-6sxj3h9v.js} +30 -30
  58. package/dist/chunks/{model-nammgbf3.js → model-6ypx34xn.js} +9 -9
  59. package/dist/chunks/{model-23c9q7k2.js → model-6zffjc3y.js} +20 -20
  60. package/dist/chunks/{model-5k0awfxt.js → model-71qqd1mm.js} +21 -21
  61. package/dist/chunks/{model-6wp6bfrs.js → model-7fxaydp2.js} +7 -7
  62. package/dist/chunks/{model-16wdtt3s.js → model-7pap5qv0.js} +10 -10
  63. package/dist/chunks/{model-ypmgnm5h.js → model-7rtchw7v.js} +21 -21
  64. package/dist/chunks/{model-7tya7q0k.js → model-7t90m43d.js} +24 -24
  65. package/dist/chunks/{model-ynbxcf5g.js → model-7texn7dm.js} +15 -15
  66. package/dist/chunks/{model-fxyrt7pt.js → model-7ybvcghj.js} +34 -34
  67. package/dist/chunks/{model-d77dj7jw.js → model-7yv5xa0k.js} +4 -4
  68. package/dist/chunks/{model-mk1nnq7z.js → model-7yzsmpy0.js} +16 -16
  69. package/dist/chunks/{model-jphwvgs8.js → model-81a9zpe2.js} +7 -7
  70. package/dist/chunks/{model-c795v49t.js → model-8rjeswr2.js} +12 -12
  71. package/dist/chunks/{model-md5wnt7s.js → model-8vy26t7y.js} +12 -12
  72. package/dist/chunks/{model-qc8k7t97.js → model-8wb0xjrc.js} +189 -189
  73. package/dist/chunks/{model-6y263vp8.js → model-8wc2fpae.js} +3 -3
  74. package/dist/chunks/{model-xzcr5bts.js → model-8z0derbe.js} +41 -41
  75. package/dist/chunks/{model-jn48zxs4.js → model-8zwekdex.js} +41 -41
  76. package/dist/chunks/{model-7sda5sp4.js → model-91vm8081.js} +17 -17
  77. package/dist/chunks/{model-wde7qgf4.js → model-95dpb2hs.js} +18 -18
  78. package/dist/chunks/{model-z4x76rn2.js → model-997kbpmn.js} +78 -78
  79. package/dist/chunks/{model-dvj9ct8m.js → model-998yhzzq.js} +1 -1
  80. package/dist/chunks/{model-wptrdbtg.js → model-9ayw3ng3.js} +23 -23
  81. package/dist/chunks/{model-0a386vbq.js → model-9eegv743.js} +14 -14
  82. package/dist/chunks/{model-cst19mf0.js → model-9p9tkha5.js} +1 -1
  83. package/dist/chunks/{model-dgk3rxyz.js → model-9wfy5dqd.js} +1 -1
  84. package/dist/chunks/{model-k8p71eb6.js → model-9whfcf9d.js} +9 -9
  85. package/dist/chunks/{model-8n9hptvh.js → model-9zvt316j.js} +7 -7
  86. package/dist/chunks/{model-q532msbf.js → model-a4zd03bm.js} +33 -33
  87. package/dist/chunks/{model-bw6x8991.js → model-a85cw3b8.js} +21 -21
  88. package/dist/chunks/{model-ssvsr732.js → model-a9fwsx2h.js} +13 -13
  89. package/dist/chunks/{model-g05c99nw.js → model-aadqys38.js} +18 -18
  90. package/dist/chunks/{model-9fecm269.js → model-aeqdbpyb.js} +3 -3
  91. package/dist/chunks/{model-yhbmf3r3.js → model-ahagnq8m.js} +15 -15
  92. package/dist/chunks/{model-v85ed5a0.js → model-awgvhhmb.js} +11 -11
  93. package/dist/chunks/{model-3cbjf1nt.js → model-ayjs7tqn.js} +1 -1
  94. package/dist/chunks/{model-d2887f8n.js → model-b1pn0vxn.js} +3 -3
  95. package/dist/chunks/{model-87f563jk.js → model-bcaznchz.js} +22 -22
  96. package/dist/chunks/{model-fpf4qn33.js → model-bg5kv5wd.js} +4 -4
  97. package/dist/chunks/{model-tndtbdsc.js → model-bj9pvvtr.js} +17 -17
  98. package/dist/chunks/{model-cs5ftkmn.js → model-c1bh859y.js} +82 -82
  99. package/dist/chunks/{model-srrx0f1t.js → model-cbpep9ws.js} +3 -3
  100. package/dist/chunks/{model-1985fcgx.js → model-cjhqq07p.js} +1 -1
  101. package/dist/chunks/{model-2azy8kv6.js → model-cpvd08na.js} +3 -3
  102. package/dist/chunks/{model-0rxj7185.js → model-cqsckrq7.js} +9 -9
  103. package/dist/chunks/{model-hzf7xk6p.js → model-d0cn4xf1.js} +5 -5
  104. package/dist/chunks/{model-zywtfy4s.js → model-dcmz9t73.js} +35 -35
  105. package/dist/chunks/{model-bjcz44tz.js → model-ddhyr0yf.js} +9 -9
  106. package/dist/chunks/{model-8pa2dj89.js → model-dkb543ed.js} +10 -10
  107. package/dist/chunks/{model-x0b87aqe.js → model-dmzdysgz.js} +2 -2
  108. package/dist/chunks/{model-nd89jxdt.js → model-dn2d8szr.js} +10 -10
  109. package/dist/chunks/{model-fe8dkmev.js → model-dw227c1f.js} +10 -10
  110. package/dist/chunks/{model-pnwsrq7c.js → model-dy9zc4pe.js} +6 -6
  111. package/dist/chunks/{model-r94gekwm.js → model-e07q2w5p.js} +3 -3
  112. package/dist/chunks/{model-v7jm5qwk.js → model-e77fbdv5.js} +10 -10
  113. package/dist/chunks/{model-06ezgrzy.js → model-e9fqtmvn.js} +5 -5
  114. package/dist/chunks/{model-2h78ty0q.js → model-eah0f417.js} +19 -19
  115. package/dist/chunks/{model-66ztx1wt.js → model-ebah8p59.js} +48 -48
  116. package/dist/chunks/{model-se9dde20.js → model-egfzyrh6.js} +7 -7
  117. package/dist/chunks/{model-ym8qy7cg.js → model-ej1k89v7.js} +15 -15
  118. package/dist/chunks/{model-tqx9c315.js → model-enkpkfwx.js} +7 -7
  119. package/dist/chunks/{model-ptxke91a.js → model-eq9v1gwe.js} +16 -16
  120. package/dist/chunks/{model-3mgb105e.js → model-eqh43b5v.js} +7 -7
  121. package/dist/chunks/{model-5ty2nrhd.js → model-esvjtfcf.js} +37 -37
  122. package/dist/chunks/{model-w468ve0r.js → model-evbwgfv9.js} +4 -4
  123. package/dist/chunks/{model-62s0mvmm.js → model-f25016qf.js} +5 -5
  124. package/dist/chunks/{model-384j55ww.js → model-f55ft9wv.js} +5 -5
  125. package/dist/chunks/{model-qy4ztezv.js → model-ffxn8jxv.js} +15 -15
  126. package/dist/chunks/{model-4detq15m.js → model-fjjq356h.js} +16 -16
  127. package/dist/chunks/{model-5v1kf3ra.js → model-fkhwkvg4.js} +9 -9
  128. package/dist/chunks/{model-7ae59qwn.js → model-frh258xe.js} +4 -4
  129. package/dist/chunks/{model-555mb07r.js → model-fx2893te.js} +29 -29
  130. package/dist/chunks/{model-vqyypdr4.js → model-g022fde4.js} +52 -52
  131. package/dist/chunks/{model-1a3w3mf1.js → model-g4mr61at.js} +33 -33
  132. package/dist/chunks/{model-ke72wgbq.js → model-g53j82me.js} +26 -26
  133. package/dist/chunks/{model-x1tjt3wq.js → model-g55x0rgz.js} +21 -21
  134. package/dist/chunks/{model-02f9ddfp.js → model-g95jm4cv.js} +4 -4
  135. package/dist/chunks/{model-eqm2ye17.js → model-gawwyhx0.js} +1 -1
  136. package/dist/chunks/{model-smfcvx02.js → model-gcjdgkn2.js} +7 -7
  137. package/dist/chunks/{model-az3w0f22.js → model-gmnsm0xm.js} +5 -5
  138. package/dist/chunks/{model-zxdyppha.js → model-h06hrdvc.js} +20 -20
  139. package/dist/chunks/{model-f79gn735.js → model-h1x8n12b.js} +10 -10
  140. package/dist/chunks/{model-nnwmz0bg.js → model-hcfepwe9.js} +17 -17
  141. package/dist/chunks/{model-vnrb1xg8.js → model-hd7kmee3.js} +32 -32
  142. package/dist/chunks/model-hnfvdbcv.js +26 -0
  143. package/dist/chunks/{model-xbhamkrx.js → model-j8gx4rjz.js} +3 -3
  144. package/dist/chunks/{model-qrwb3b8n.js → model-jc16a2xr.js} +7 -7
  145. package/dist/chunks/{model-3c61qp0f.js → model-jcnkegva.js} +33 -33
  146. package/dist/chunks/{model-ynrq1a8k.js → model-jefw9j3y.js} +3 -3
  147. package/dist/chunks/{model-rpqvhqw2.js → model-jg7z8f74.js} +16 -16
  148. package/dist/chunks/{model-j2hg2t1q.js → model-jjg5yz1h.js} +7 -7
  149. package/dist/chunks/{model-tdvp489x.js → model-jmg5mq7t.js} +11 -11
  150. package/dist/chunks/{model-kq9xbr9y.js → model-jqjcc2y2.js} +7 -7
  151. package/dist/chunks/{model-6svchydm.js → model-jtx526ja.js} +6 -6
  152. package/dist/chunks/{model-hbbp5z0j.js → model-jvxa89ah.js} +18 -18
  153. package/dist/chunks/{model-n8m8hryx.js → model-k03zy2hn.js} +7 -7
  154. package/dist/chunks/{model-s2wy8rbs.js → model-k2cxq7d4.js} +6 -6
  155. package/dist/chunks/{model-3vvd2cpm.js → model-k2jarxn6.js} +23 -23
  156. package/dist/chunks/{model-4jf84sc2.js → model-k71m6rcm.js} +9 -9
  157. package/dist/chunks/{model-qpfpj98j.js → model-kdc9scmy.js} +30 -30
  158. package/dist/chunks/{model-26exz8r1.js → model-kfbetxq5.js} +17 -17
  159. package/dist/chunks/{model-a8j79wtm.js → model-kmy9pf2x.js} +32 -32
  160. package/dist/chunks/{model-83ag44xd.js → model-kmycny1b.js} +9 -9
  161. package/dist/chunks/{model-bst7fw4e.js → model-kpmxgff8.js} +16 -16
  162. package/dist/chunks/{model-agqd6nxz.js → model-mj0wev1x.js} +3 -3
  163. package/dist/chunks/{model-6mdc5yts.js → model-mj8fxm36.js} +4 -4
  164. package/dist/chunks/{model-9be9zbyr.js → model-mk552aj1.js} +17 -17
  165. package/dist/chunks/{model-zmqg7qcc.js → model-mrf29jxn.js} +13 -13
  166. package/dist/chunks/{model-t0rkz25q.js → model-ms4pe9g0.js} +6 -6
  167. package/dist/chunks/{model-ce9hjw60.js → model-n4t59mcz.js} +31 -31
  168. package/dist/chunks/{model-v5ybz6p4.js → model-n9j61ap5.js} +6 -6
  169. package/dist/chunks/{model-xt78j2m2.js → model-nbfdmdkr.js} +13 -13
  170. package/dist/chunks/{model-sdvqmftd.js → model-nch7pp5e.js} +8 -8
  171. package/dist/chunks/model-nd8y4bs9.js +261 -0
  172. package/dist/chunks/{model-g1xkvxp8.js → model-nj2tkpbg.js} +7 -7
  173. package/dist/chunks/{model-tch8ap7x.js → model-ns70a8r5.js} +8 -8
  174. package/dist/chunks/{model-swma9ar2.js → model-nvhvwyw4.js} +18 -18
  175. package/dist/chunks/{model-6zz6a8nv.js → model-nwd6n5xv.js} +1 -1
  176. package/dist/chunks/{model-83bdf8f4.js → model-ny7dq850.js} +11 -11
  177. package/dist/chunks/{model-6fbjp8xj.js → model-p43hvp8m.js} +17 -17
  178. package/dist/chunks/{model-hn4sj8vd.js → model-p580ev26.js} +5 -5
  179. package/dist/chunks/{model-4dfkp8r1.js → model-pe0qgjpx.js} +4 -4
  180. package/dist/chunks/{model-kah4he31.js → model-pjwfm23k.js} +9 -9
  181. package/dist/chunks/{model-7w1pfhrs.js → model-pmy52rqq.js} +9 -9
  182. package/dist/chunks/{model-bex4xsk5.js → model-pre1sqds.js} +3 -3
  183. package/dist/chunks/{model-xd1a8f97.js → model-q1f29zd1.js} +16 -16
  184. package/dist/chunks/{model-5dpv3p9j.js → model-q55j0mkq.js} +1 -1
  185. package/dist/chunks/{model-vaanw6hb.js → model-qfan4vrq.js} +4 -4
  186. package/dist/chunks/{model-vpm8vpz0.js → model-qsee9sfb.js} +2 -2
  187. package/dist/chunks/{model-jx89vj1k.js → model-qyq8h28g.js} +2 -2
  188. package/dist/chunks/{model-rdwr32h5.js → model-r2z5h2ge.js} +8 -8
  189. package/dist/chunks/{model-ayat092r.js → model-rbjssvma.js} +23 -23
  190. package/dist/chunks/{model-t7seas5z.js → model-rwvkk097.js} +23 -23
  191. package/dist/chunks/{model-qb81m05d.js → model-rzx8gj4c.js} +44 -44
  192. package/dist/chunks/{model-a63a087g.js → model-s30kv3sw.js} +14 -14
  193. package/dist/chunks/{model-kv0eeqme.js → model-sjhm24t9.js} +17 -17
  194. package/dist/chunks/{model-jj43fz8d.js → model-sy6e38w3.js} +30 -30
  195. package/dist/chunks/{model-a6z537nd.js → model-t2k6bxxg.js} +25 -25
  196. package/dist/chunks/{model-7yect7x1.js → model-t5jqs5j7.js} +1 -1
  197. package/dist/chunks/{model-c227nech.js → model-t5k7yfgh.js} +4 -4
  198. package/dist/chunks/{model-n4m78tbr.js → model-t5rrrqvg.js} +11 -11
  199. package/dist/chunks/{model-twh8pfjr.js → model-t6sg7dcf.js} +8 -8
  200. package/dist/chunks/{model-k9qj3zpm.js → model-tm84tsqp.js} +14 -14
  201. package/dist/chunks/{model-9q8g9sv8.js → model-v0t96s7a.js} +3 -3
  202. package/dist/chunks/{model-h4hzeg9c.js → model-v3rpj7pd.js} +2 -2
  203. package/dist/chunks/{model-6nan9a7c.js → model-v9v4gv6c.js} +29 -29
  204. package/dist/chunks/{model-9kbgk87f.js → model-vbzvb4rg.js} +49 -49
  205. package/dist/chunks/{model-4gqc6sgb.js → model-veetryz8.js} +12 -12
  206. package/dist/chunks/{model-a8m8yj7e.js → model-vfy36k9m.js} +1 -1
  207. package/dist/chunks/{model-172d0k8s.js → model-vh56skz6.js} +4 -4
  208. package/dist/chunks/{model-0f8qr66c.js → model-vj9d8dr6.js} +30 -30
  209. package/dist/chunks/{model-0rc2e56d.js → model-vjnr9cnd.js} +16 -16
  210. package/dist/chunks/{model-2rycmej8.js → model-vx39scks.js} +10 -10
  211. package/dist/chunks/{model-agc6jdz6.js → model-w000bb6e.js} +28 -28
  212. package/dist/chunks/{model-5enarcya.js → model-w2eysc6j.js} +4 -4
  213. package/dist/chunks/{model-hxjdjmbk.js → model-w3mjsd54.js} +10 -10
  214. package/dist/chunks/{model-jns4gqy7.js → model-w9w8mt4n.js} +3 -3
  215. package/dist/chunks/{model-w76r9f4m.js → model-wd9dar1k.js} +2 -2
  216. package/dist/chunks/{model-36mvsa0r.js → model-wh0fenxb.js} +24 -24
  217. package/dist/chunks/{model-v0veydd8.js → model-wntksck6.js} +26 -26
  218. package/dist/chunks/{model-pt3m3pfg.js → model-wq05waba.js} +30 -30
  219. package/dist/chunks/{model-x80r8cj5.js → model-wtps8d4f.js} +20 -20
  220. package/dist/chunks/{model-9cv4rb9g.js → model-xhb3andn.js} +13 -13
  221. package/dist/chunks/{model-hdfrs5mg.js → model-y22f06tx.js} +7 -7
  222. package/dist/chunks/{model-f88pmnpv.js → model-yb10ee6p.js} +38 -38
  223. package/dist/chunks/{model-6h5mdx7b.js → model-yfxbc0kt.js} +7 -7
  224. package/dist/chunks/{model-mevm98qs.js → model-yg7sgxt8.js} +9 -9
  225. package/dist/chunks/{model-kzre842d.js → model-yk2twp5a.js} +23 -23
  226. package/dist/chunks/{model-wpx8mj87.js → model-yr4xnza0.js} +7 -7
  227. package/dist/chunks/{model-85gz5wh8.js → model-yvg25zy8.js} +2 -2
  228. package/dist/chunks/{model-79k5a3c3.js → model-z007v0dr.js} +16 -16
  229. package/dist/chunks/{model-v5tarvwe.js → model-z7mja6z7.js} +10 -10
  230. package/dist/chunks/{model-fkepzdfz.js → model-zgy84aax.js} +13 -13
  231. package/dist/chunks/{model-7m33tdqq.js → model-zhetkrg0.js} +36 -36
  232. package/dist/chunks/{model-ek2ecv40.js → model-zr1qzx10.js} +18 -18
  233. package/dist/chunks/{model-bjhzkqyk.js → model-zzdv5d93.js} +3 -3
  234. package/dist/codemode/instructions.js +6 -6
  235. package/dist/command.js +66 -66
  236. package/dist/config/discovery.js +65 -65
  237. package/dist/config/integration.js +3 -3
  238. package/dist/config/normalize.js +80 -80
  239. package/dist/config/plugin/agent.js +90 -90
  240. package/dist/config/plugin/command.js +171 -171
  241. package/dist/config/plugin/compaction.js +122 -122
  242. package/dist/config/plugin/compatibility.js +105 -105
  243. package/dist/config/plugin/formatter.js +91 -91
  244. package/dist/config/plugin/image.js +90 -90
  245. package/dist/config/plugin/instruction.js +91 -91
  246. package/dist/config/plugin/location-watcher.js +90 -90
  247. package/dist/config/plugin/mcp.js +93 -93
  248. package/dist/config/plugin/policy.js +89 -89
  249. package/dist/config/plugin/provider.js +91 -91
  250. package/dist/config/plugin/reference.js +91 -91
  251. package/dist/config/plugin/shell.js +90 -90
  252. package/dist/config/plugin/skill-file.js +81 -81
  253. package/dist/config/plugin/skill.js +106 -106
  254. package/dist/config/plugin/snapshot.js +90 -90
  255. package/dist/config/plugin/source.js +87 -87
  256. package/dist/config/plugin/tool-output.js +91 -91
  257. package/dist/config/plugin/websearch.js +89 -89
  258. package/dist/config/plugin/worktree.js +91 -91
  259. package/dist/config.js +92 -92
  260. package/dist/credential.js +66 -66
  261. package/dist/database/database.js +54 -54
  262. package/dist/database/drizzle/effect-sqlite/driver.js +8 -8
  263. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  264. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  265. package/dist/database/drizzle/index.js +9 -9
  266. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  267. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  268. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  269. package/dist/database/drizzle.js +9 -9
  270. package/dist/database/migration.gen.js +42 -42
  271. package/dist/database/migration.js +44 -44
  272. package/dist/database/v1-migration.bun.js +23 -23
  273. package/dist/effect/app-node-builder.js +240 -240
  274. package/dist/environment/environment.js +71 -71
  275. package/dist/environment/index.js +71 -71
  276. package/dist/event-logger.js +9 -9
  277. package/dist/file-access.js +84 -84
  278. package/dist/file-mutation.js +72 -72
  279. package/dist/filesystem/location-watcher-policy.js +5 -5
  280. package/dist/filesystem/location-watcher.js +182 -182
  281. package/dist/filesystem/search.js +75 -75
  282. package/dist/filesystem/watcher.js +7 -7
  283. package/dist/filesystem.js +80 -80
  284. package/dist/form.js +68 -68
  285. package/dist/formatter/builtins.js +3 -3
  286. package/dist/formatter.js +70 -70
  287. package/dist/generate.js +85 -85
  288. package/dist/git.js +7 -7
  289. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +3 -3
  290. package/dist/github-copilot/copilot-provider.js +3 -3
  291. package/dist/github-copilot/models.js +82 -82
  292. package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
  293. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
  294. package/dist/image/photon.js +1 -1
  295. package/dist/image.js +5 -5
  296. package/dist/instance/service.js +5 -5
  297. package/dist/instance.js +316 -316
  298. package/dist/instruction-discovery.js +69 -69
  299. package/dist/instructions/builtins.js +70 -70
  300. package/dist/instructions/index.js +3 -3
  301. package/dist/integration/connection.js +3 -3
  302. package/dist/integration.js +72 -72
  303. package/dist/job.js +63 -63
  304. package/dist/kv.js +59 -59
  305. package/dist/location-activity.js +69 -69
  306. package/dist/location-lifecycle.js +87 -87
  307. package/dist/location-service-map.js +69 -69
  308. package/dist/location-services.js +312 -312
  309. package/dist/location.js +72 -72
  310. package/dist/managed-policy.js +8 -8
  311. package/dist/mcp/client.js +19 -19
  312. package/dist/mcp/index.js +87 -87
  313. package/dist/mcp/instructions.js +110 -110
  314. package/dist/mcp/oauth.js +13 -13
  315. package/dist/mcp/stdio.js +68 -68
  316. package/dist/modal/models.js +82 -82
  317. package/dist/model-resolver.js +81 -81
  318. package/dist/model.js +79 -79
  319. package/dist/models-dev.js +83 -83
  320. package/dist/permission/saved.js +64 -64
  321. package/dist/permission/sql.js +3 -3
  322. package/dist/permission.js +87 -87
  323. package/dist/persistent-pty/index.js +72 -72
  324. package/dist/persistent-pty.js +58 -58
  325. package/dist/plugin/agent.js +59 -59
  326. package/dist/plugin/command.js +78 -78
  327. package/dist/plugin/hooks.js +5 -5
  328. package/dist/plugin/host.js +181 -181
  329. package/dist/plugin/identity.js +5 -5
  330. package/dist/plugin/instance.js +5 -5
  331. package/dist/plugin/internal.js +286 -286
  332. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  333. package/dist/plugin/models-dev.js +78 -78
  334. package/dist/plugin/module.js +91 -91
  335. package/dist/plugin/optimize.js +2 -2
  336. package/dist/plugin/plan.js +82 -82
  337. package/dist/plugin/provider/amazon-bedrock.js +73 -73
  338. package/dist/plugin/provider/azure.js +91 -91
  339. package/dist/plugin/provider/chatgpt.js +89 -89
  340. package/dist/plugin/provider/cloudflare-ai-gateway.js +88 -88
  341. package/dist/plugin/provider/cloudflare-workers-ai.js +88 -88
  342. package/dist/plugin/provider/configured.js +87 -87
  343. package/dist/plugin/provider/digitalocean.js +75 -75
  344. package/dist/plugin/provider/github-copilot.js +77 -77
  345. package/dist/plugin/provider/gitlab.js +75 -75
  346. package/dist/plugin/provider/google-vertex.js +88 -88
  347. package/dist/plugin/provider/llmgateway.js +61 -61
  348. package/dist/plugin/provider/lmstudio.js +94 -94
  349. package/dist/plugin/provider/local.js +91 -91
  350. package/dist/plugin/provider/modal.js +75 -75
  351. package/dist/plugin/provider/ollama.js +94 -94
  352. package/dist/plugin/provider/openai-context-caps.js +73 -73
  353. package/dist/plugin/provider/openai.js +89 -89
  354. package/dist/plugin/provider/opencode-legacy.js +80 -80
  355. package/dist/plugin/provider/opencode.js +94 -94
  356. package/dist/plugin/provider/openrouter.js +74 -74
  357. package/dist/plugin/provider/poe.js +61 -61
  358. package/dist/plugin/provider/sap-ai-core.js +73 -73
  359. package/dist/plugin/provider/snowflake-cortex.js +89 -89
  360. package/dist/plugin/provider/vercel.js +73 -73
  361. package/dist/plugin/provider/vllm.js +92 -92
  362. package/dist/plugin/provider/xai.js +74 -74
  363. package/dist/plugin/provider.js +135 -135
  364. package/dist/plugin/sdk.js +62 -62
  365. package/dist/plugin/service.js +3 -3
  366. package/dist/plugin/skill.js +106 -106
  367. package/dist/plugin/supervisor.js +301 -301
  368. package/dist/plugin/tool-input-repair.js +3 -3
  369. package/dist/plugin/update.js +5 -5
  370. package/dist/plugin/vcs/git.js +69 -69
  371. package/dist/plugin/vcs/hg.js +69 -69
  372. package/dist/plugin/verbosity.js +76 -76
  373. package/dist/plugin/warming.js +89 -89
  374. package/dist/plugin/websearch/exa.js +6 -6
  375. package/dist/plugin/websearch/firecrawl.js +7 -7
  376. package/dist/plugin/websearch/index.js +8 -8
  377. package/dist/plugin/websearch/mcp.js +3 -3
  378. package/dist/plugin/websearch/parallel.js +7 -7
  379. package/dist/plugin/websearch/tavily.js +6 -6
  380. package/dist/plugin/websearch/tinyfish.js +7 -7
  381. package/dist/plugin.js +191 -191
  382. package/dist/project/schema.js +7 -7
  383. package/dist/project/sql.js +2 -2
  384. package/dist/project.js +73 -73
  385. package/dist/provider.js +82 -82
  386. package/dist/pty.js +79 -79
  387. package/dist/reference/instructions.js +71 -71
  388. package/dist/reference.js +71 -71
  389. package/dist/repository-cache.js +64 -64
  390. package/dist/ripgrep.js +74 -74
  391. package/dist/rpc.js +69 -69
  392. package/dist/session/command.js +59 -59
  393. package/dist/session/compaction.js +112 -112
  394. package/dist/session/context.js +132 -132
  395. package/dist/session/diff.js +70 -70
  396. package/dist/session/environment.js +5 -5
  397. package/dist/session/error.js +4 -4
  398. package/dist/session/execution/restart.js +113 -113
  399. package/dist/session/execution.js +105 -105
  400. package/dist/session/generate.js +134 -134
  401. package/dist/session/history.js +9 -9
  402. package/dist/session/inbox.js +75 -75
  403. package/dist/session/info.js +2 -2
  404. package/dist/session/instruction-entry.js +65 -65
  405. package/dist/session/instruction-state.js +5 -5
  406. package/dist/session/instructions.js +78 -78
  407. package/dist/session/model-request.js +99 -99
  408. package/dist/session/model-transport.js +7 -7
  409. package/dist/session/move.js +107 -107
  410. package/dist/session/projector.js +69 -69
  411. package/dist/session/prompt.js +84 -84
  412. package/dist/session/revert.js +75 -75
  413. package/dist/session/run-coordinator.js +3 -3
  414. package/dist/session/runner/index.js +3 -3
  415. package/dist/session/runner/llm.js +187 -187
  416. package/dist/session/runner/model.js +82 -82
  417. package/dist/session/runner/publish-llm-event.js +93 -93
  418. package/dist/session/runner/retry.js +3 -3
  419. package/dist/session/runner/step.js +102 -102
  420. package/dist/session/runner/to-llm-message.js +10 -10
  421. package/dist/session/schema.js +3 -3
  422. package/dist/session/session.js +130 -130
  423. package/dist/session/shell.js +99 -99
  424. package/dist/session/skill.js +83 -83
  425. package/dist/session/sql.js +3 -3
  426. package/dist/session/stats.js +10 -10
  427. package/dist/session/store.js +65 -65
  428. package/dist/session/subagent-job.js +172 -172
  429. package/dist/session/system-prompt.js +5 -5
  430. package/dist/session/title.js +129 -129
  431. package/dist/session/to-session-error.js +92 -92
  432. package/dist/session/transfer.js +111 -111
  433. package/dist/session.js +181 -181
  434. package/dist/shell/parse.js +3 -3
  435. package/dist/shell/select.js +12 -12
  436. package/dist/shell.js +102 -102
  437. package/dist/skill/discovery.js +5 -5
  438. package/dist/skill/instructions.js +87 -87
  439. package/dist/skill.js +92 -92
  440. package/dist/snapshot.js +74 -74
  441. package/dist/tool/mcp.js +107 -107
  442. package/dist/tool/plugin/edit.js +94 -94
  443. package/dist/tool/plugin/glob.js +97 -97
  444. package/dist/tool/plugin/grep.js +93 -93
  445. package/dist/tool/plugin/mcp-resource.js +96 -96
  446. package/dist/tool/plugin/opencode.js +87 -87
  447. package/dist/tool/plugin/patch.js +96 -96
  448. package/dist/tool/plugin/question.js +83 -83
  449. package/dist/tool/plugin/read.js +95 -95
  450. package/dist/tool/plugin/shell.js +176 -176
  451. package/dist/tool/plugin/skill.js +93 -93
  452. package/dist/tool/plugin/subagent.js +179 -179
  453. package/dist/tool/plugin/todo.js +105 -105
  454. package/dist/tool/plugin/webfetch.js +90 -90
  455. package/dist/tool/plugin/websearch.js +91 -91
  456. package/dist/tool/plugin/write.js +96 -96
  457. package/dist/tool/read-filesystem.js +77 -77
  458. package/dist/tool-output.js +6 -6
  459. package/dist/tool.js +12 -12
  460. package/dist/usage-limits.js +69 -69
  461. package/dist/v1/config/agent.js +4 -4
  462. package/dist/v1/config/command.js +3 -3
  463. package/dist/v1/config/mcp.js +3 -3
  464. package/dist/v1/config/migrate.js +74 -74
  465. package/dist/v1/config/permission.js +3 -3
  466. package/dist/v1/config/provider.js +3 -3
  467. package/dist/variant.js +74 -74
  468. package/dist/vcs.js +72 -72
  469. package/dist/voice.js +69 -69
  470. package/dist/websearch.js +68 -68
  471. package/dist/wellknown/plugin.js +60 -60
  472. package/dist/wellknown.js +65 -65
  473. package/dist/workspace/driver.js +5 -5
  474. package/dist/workspace.js +66 -66
  475. package/dist/worktree/git.js +6 -6
  476. package/dist/worktree/sql.js +3 -3
  477. package/dist/worktree/strategies.js +71 -71
  478. package/dist/worktree.js +79 -79
  479. package/package.json +8 -8
  480. package/dist/chunks/model-92c4h9tk.js +0 -26
  481. package/dist/chunks/model-dachzfaf.js +0 -261
  482. /package/dist/chunks/{model-aj7mw0zk.js → model-034tev2y.js} +0 -0
  483. /package/dist/chunks/{model-b0grxa7w.js → model-38ys11y3.js} +0 -0
  484. /package/dist/chunks/{model-m15ha2ry.js → model-78hmycys.js} +0 -0
  485. /package/dist/chunks/{model-jh2vxaya.js → model-fv7b5yex.js} +0 -0
  486. /package/dist/chunks/{model-4wnp65at.js → model-t0891ggs.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./model-b2v5bh0w.js";
4
+ } from "./model-1cd8ske1.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
8
  } from "./model-vd3b3yk9.js";
9
9
  import {
10
- Service83,
11
- node87
12
- } from "./model-xd1a8f97.js";
10
+ Service79,
11
+ node83
12
+ } from "./model-q1f29zd1.js";
13
13
  import {
14
14
  rewrite2,
15
- ID12,
15
+ ID13,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service77,
20
- node80,
21
- Event16
22
- } from "./model-agc6jdz6.js";
19
+ Service78,
20
+ node82,
21
+ Event15
22
+ } from "./model-w000bb6e.js";
23
23
  import {
24
24
  __export
25
25
  } from "./model-9rqn6x4v.js";
@@ -30,18 +30,18 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event15,
33
+ Event: () => Event14,
34
34
  Family: () => Family2,
35
35
  ID: () => ID11,
36
36
  Info: () => Info21,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service76,
40
+ Service: () => Service72,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
43
  mergeCapabilities: () => mergeCapabilities2,
44
- node: () => node79,
44
+ node: () => node75,
45
45
  parse: () => parse5,
46
46
  supportsText: () => supportsText2
47
47
  });
@@ -49,7 +49,7 @@ import { Model } from "@opencode/schema/model";
49
49
  import { Context, Effect, Layer, Stream } from "effect";
50
50
  import { makeLocationNode } from "@opencode/util/effect/app-node";
51
51
  import { freeze } from "immer";
52
- import { Event as Event15 } from "@opencode/schema/model";
52
+ import { Event as Event14 } from "@opencode/schema/model";
53
53
  var ID11 = Model.ID;
54
54
  var VariantID2 = Model.VariantID;
55
55
  var Family2 = Model.Family;
@@ -69,12 +69,12 @@ var Cost2 = Model.Cost;
69
69
  var Ref2 = Model.Ref;
70
70
  var Info21 = Model.Info;
71
71
 
72
- class Service76 extends Context.Service()("@opencode/Model") {
72
+ class Service72 extends Context.Service()("@opencode/Model") {
73
73
  }
74
- var layer = Layer.effect(Service76, Effect.gen(function* () {
75
- const providers = yield* Service77;
74
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
75
+ const providers = yield* Service78;
76
76
  const bus = yield* Service86;
77
- const location = yield* Service83;
77
+ const location = yield* Service79;
78
78
  const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
79
79
  let input;
80
80
  const state = create3({
@@ -189,7 +189,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
189
189
  ];
190
190
  }));
191
191
  if (disableFree)
192
- for (const providerID of [ID12.opencode, ID12.make("opencode-go")])
192
+ for (const providerID of [ID13.opencode, ID13.make("opencode-go")])
193
193
  byProvider.get(providerID)?.forEach((model, id, models) => {
194
194
  if (!model.cost.some((cost) => cost.input > 0))
195
195
  models.delete(id);
@@ -216,8 +216,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
216
216
  location: { directory: location.directory, workspaceID: location.workspaceID }
217
217
  });
218
218
  });
219
- yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
220
- return Service76.of({
219
+ yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
220
+ return Service72.of({
221
221
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
222
222
  reload,
223
223
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
236
236
  })
237
237
  });
238
238
  }));
239
- var node79 = makeLocationNode({ service: Service76, layer, deps: [node80, node90, node87] });
239
+ var node75 = makeLocationNode({ service: Service72, layer, deps: [node82, node90, node83] });
240
240
  var PREFERRED_FREE = [
241
241
  "big-pickle",
242
242
  "deepseek-v4.1-flash-free",
@@ -244,7 +244,7 @@ var PREFERRED_FREE = [
244
244
  "muse-spark-1.3-contributor-free"
245
245
  ];
246
246
  function preferFree(models) {
247
- const freeOnly = models.every((model) => model.providerID === ID12.opencode && !model.cost.some((cost) => cost.input > 0));
247
+ const freeOnly = models.every((model) => model.providerID === ID13.opencode && !model.cost.some((cost) => cost.input > 0));
248
248
  if (!freeOnly)
249
249
  return models;
250
250
  const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
@@ -263,9 +263,9 @@ function compatibility2(input) {
263
263
  function parse5(input) {
264
264
  const index = input.indexOf("/");
265
265
  return {
266
- providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
266
+ providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
267
267
  modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
268
268
  };
269
269
  }
270
270
 
271
- export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info21, Service76, node79, supportsText2, compatibility2, parse5, exports_model2, Event15 };
271
+ export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info21, Service72, node75, supportsText2, compatibility2, parse5, exports_model2, Event14 };
@@ -4,9 +4,9 @@ import {
4
4
  RelativePath2
5
5
  } from "./model-z5v4ffb3.js";
6
6
  import {
7
- Service81,
8
- node84
9
- } from "./model-hz64t7fz.js";
7
+ Service75,
8
+ node78
9
+ } from "./model-5c2jv3bs.js";
10
10
  import {
11
11
  RipgrepBinary2
12
12
  } from "./model-maspj1v3.js";
@@ -17,11 +17,11 @@ import {
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error4,
20
+ Error: () => Error3,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service39,
24
- node: () => node43
23
+ Service: () => Service53,
24
+ node: () => node56
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service39 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service53 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error4({ message, cause });
63
+ var failure = (message, cause) => new Error3({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service39, Effect.gen(function* () {
67
- const environment = yield* Service81;
66
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
67
+ const environment = yield* Service75;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service39.of({
95
+ return Service53.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node43 = makeLocationNode({ service: Service39, layer, deps: [node84, RipgrepBinary2.node] });
178
+ var node56 = makeLocationNode({ service: Service53, layer, deps: [node78, RipgrepBinary2.node] });
179
179
 
180
- export { Error4, InvalidPatternError2, Service39, node43, exports_ripgrep };
180
+ export { Error3, InvalidPatternError2, Service53, node56, exports_ripgrep };
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./model-b2v5bh0w.js";
4
+ } from "./model-1cd8ske1.js";
5
5
  import {
6
- node74
7
- } from "./model-fkepzdfz.js";
6
+ node72
7
+ } from "./model-zgy84aax.js";
8
8
  import {
9
9
  Service4,
10
10
  node6
11
- } from "./model-jv29p3b2.js";
11
+ } from "./model-5f9k77aj.js";
12
12
  import {
13
- Service47
14
- } from "./model-kah4he31.js";
13
+ Service15
14
+ } from "./model-pjwfm23k.js";
15
15
  import {
16
- Service27
17
- } from "./model-d77dj7jw.js";
16
+ Service36
17
+ } from "./model-7yv5xa0k.js";
18
18
  import {
19
- node19,
20
- ID2
21
- } from "./model-zxdyppha.js";
19
+ node23,
20
+ ID3
21
+ } from "./model-h06hrdvc.js";
22
22
  import {
23
- Service10,
24
- node12
25
- } from "./model-tqx9c315.js";
23
+ Service9,
24
+ node11
25
+ } from "./model-enkpkfwx.js";
26
26
  import {
27
27
  requirements2,
28
28
  guarded2,
29
29
  list2
30
- } from "./model-kdmmj2s1.js";
30
+ } from "./model-239hgfhk.js";
31
31
  import {
32
- make6,
32
+ make10,
33
33
  LoadError2
34
- } from "./model-4gqc6sgb.js";
34
+ } from "./model-veetryz8.js";
35
35
  import {
36
36
  Updated2,
37
- Service5,
38
- node7
39
- } from "./model-bjcz44tz.js";
37
+ Service10,
38
+ node12
39
+ } from "./model-ddhyr0yf.js";
40
40
  import {
41
- Service9,
42
- node11
43
- } from "./model-n8m8hryx.js";
41
+ Service11,
42
+ node13
43
+ } from "./model-k03zy2hn.js";
44
44
  import {
45
45
  __export
46
46
  } from "./model-9rqn6x4v.js";
@@ -127,7 +127,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
127
127
  failures: [
128
128
  ...failures.values(),
129
129
  ...ordered.filter(duplicate).map((plugin) => ({
130
- id: ID2.make(plugin.id),
130
+ id: ID3.make(plugin.id),
131
131
  source: plugin.source ?? { type: "builtin" },
132
132
  state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
133
133
  features: { server: true, ...plugin.features }
@@ -137,14 +137,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
137
137
  };
138
138
  });
139
139
  var layer4 = Layer.effectDiscard(Effect.gen(function* () {
140
- const managed = yield* Service47;
141
- const registry = yield* Service27;
142
- const sdk = yield* Service5;
143
- const instance = yield* Service10;
140
+ const managed = yield* Service15;
141
+ const registry = yield* Service36;
142
+ const sdk = yield* Service10;
143
+ const instance = yield* Service9;
144
144
  const sources = yield* Service4;
145
- const modules = yield* make6();
145
+ const modules = yield* make10();
146
146
  const bus = yield* Service86;
147
- const updates = yield* Service9;
147
+ const updates = yield* Service11;
148
148
  const internal = yield* list2();
149
149
  let release = yield* registry.hold();
150
150
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -220,14 +220,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
220
220
  })), Effect.forkScoped({ startImmediately: true }));
221
221
  }));
222
222
  var nodeDeps = [
223
- node19,
224
- node7,
223
+ node23,
225
224
  node12,
226
- node6,
227
225
  node11,
226
+ node6,
227
+ node13,
228
228
  node90,
229
229
  Npm.node,
230
- node74,
230
+ node72,
231
231
  requirements2
232
232
  ];
233
233
  function pluginSource(target) {
@@ -6,13 +6,13 @@ import {
6
6
  var exports_service = {};
7
7
  __export(exports_service, {
8
8
  Plugin: () => exports_service,
9
- Service: () => Service27,
9
+ Service: () => Service36,
10
10
  awaitActivation: () => awaitActivation2
11
11
  });
12
12
  import { Context } from "effect";
13
13
 
14
- class Service27 extends Context.Service()("@opencode/Plugin") {
14
+ class Service36 extends Context.Service()("@opencode/Plugin") {
15
15
  }
16
- var awaitActivation2 = Service27.use((plugins) => plugins.awaitActivation);
16
+ var awaitActivation2 = Service36.use((plugins) => plugins.awaitActivation);
17
17
 
18
- export { Service27, awaitActivation2, exports_service };
18
+ export { Service36, awaitActivation2, exports_service };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-f79gn735.js";
3
+ } from "./model-h1x8n12b.js";
4
4
  import {
5
5
  Service86
6
- } from "./model-b2v5bh0w.js";
6
+ } from "./model-1cd8ske1.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./model-sjwfx8gd.js";
9
+ Event19
10
+ } from "./model-55x2dd8h.js";
11
11
  import {
12
12
  key2
13
- } from "./model-bjhzkqyk.js";
13
+ } from "./model-zzdv5d93.js";
14
14
  import {
15
- ID13,
15
+ ID16,
16
16
  MethodID2
17
- } from "./model-v0veydd8.js";
17
+ } from "./model-wntksck6.js";
18
18
  import {
19
- ID12,
19
+ ID13,
20
20
  aisdk2,
21
- Service77
22
- } from "./model-agc6jdz6.js";
21
+ Service78
22
+ } from "./model-w000bb6e.js";
23
23
  import {
24
24
  ID11,
25
25
  Info21
26
- } from "./model-7tya7q0k.js";
26
+ } from "./model-7t90m43d.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 = ID12.gitlab;
39
- var integrationID = ID13.make("gitlab");
38
+ var providerID = ID13.gitlab;
39
+ var integrationID = ID16.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* Service77;
60
+ const providers = yield* Service78;
61
61
  const bus = yield* Service86;
62
62
  const http = yield* HttpClient.HttpClient;
63
63
  const loading = Semaphore.makeUnsafe(1);
@@ -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(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
199
+ yield* bus.subscribe(Event19.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 !== ID12.gitlab)
222
+ if (evt.model.providerID !== ID13.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;
@@ -5,18 +5,18 @@ import {
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service68,
8
+ Service: () => Service43,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node71
10
+ node: () => node47
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service68 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service43 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service68, () => {
17
+ var layer = Layer.sync(Service43, () => {
18
18
  const environments = new Map;
19
- return Service68.of({
19
+ return Service43.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service68, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node71 = makeGlobalNode({ service: Service68, layer, deps: [] });
29
+ var node47 = makeGlobalNode({ service: Service43, layer, deps: [] });
30
30
 
31
- export { Service68, node71, exports_environment };
31
+ export { Service43, node47, exports_environment };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-f79gn735.js";
3
+ } from "./model-h1x8n12b.js";
4
4
  import {
5
5
  collectBoundedResponseBody2
6
6
  } from "./model-3v8g72cx.js";
7
7
  import {
8
- MAX_RESPONSE_BYTES2,
8
+ MAX_RESPONSE_BYTES3,
9
9
  call2
10
- } from "./model-5enarcya.js";
10
+ } from "./model-w2eysc6j.js";
11
11
  import {
12
12
  __export
13
13
  } from "./model-9rqn6x4v.js";
@@ -15,14 +15,14 @@ import {
15
15
  // src/plugin/websearch/tinyfish.ts
16
16
  var exports_tinyfish = {};
17
17
  __export(exports_tinyfish, {
18
- Plugin: () => Plugin26,
18
+ Plugin: () => Plugin40,
19
19
  WebSearchTinyFish: () => exports_tinyfish,
20
- endpoint: () => endpoint4
20
+ endpoint: () => endpoint6
21
21
  });
22
22
  import { define } from "@opencode/plugin/effect/plugin";
23
23
  import { Duration, Effect, Option, Schema } from "effect";
24
24
  import { HttpClient, HttpClientRequest } from "effect/http";
25
- var endpoint4 = "https://agent.tinyfish.ai/mcp";
25
+ var endpoint6 = "https://agent.tinyfish.ai/mcp";
26
26
  var McpInput = Schema.Struct({
27
27
  query: Schema.String
28
28
  });
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
51
51
  jsonrpc: Schema.Literal("2.0"),
52
52
  method: Schema.Literal("notifications/initialized")
53
53
  });
54
- var Plugin26 = define({
54
+ var Plugin40 = define({
55
55
  id: "opencode.websearch.tinyfish",
56
56
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
57
57
  const http = yield* HttpClient.HttpClient;
@@ -78,7 +78,7 @@ var Plugin26 = define({
78
78
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
79
79
  };
80
80
  const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
81
- const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
81
+ const result = yield* call2(http, endpoint6, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
82
82
  const content = result?.content.find((item) => item.text);
83
83
  const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
84
84
  return response?.results.map((item) => ({
@@ -94,7 +94,7 @@ var Plugin26 = define({
94
94
  });
95
95
  var initialize = (http, headers) => Effect.gen(function* () {
96
96
  const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
97
- const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
97
+ const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
98
98
  jsonrpc: "2.0",
99
99
  id: 1,
100
100
  method: "initialize",
@@ -105,11 +105,11 @@ var initialize = (http, headers) => Effect.gen(function* () {
105
105
  }
106
106
  }));
107
107
  const response = yield* client.execute(request);
108
- yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
108
+ yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
109
109
  const session = response.headers["mcp-session-id"];
110
110
  if (session === undefined)
111
111
  return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
112
- const notification = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
112
+ const notification = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
113
113
  jsonrpc: "2.0",
114
114
  method: "notifications/initialized"
115
115
  }));
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
120
120
  orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
121
121
  }));
122
122
 
123
- export { endpoint4, Plugin26, exports_tinyfish };
123
+ export { endpoint6, Plugin40, exports_tinyfish };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  latest2,
3
- Service70
4
- } from "./model-f88pmnpv.js";
3
+ Service68
4
+ } from "./model-yb10ee6p.js";
5
5
  import {
6
6
  observe2
7
7
  } from "./model-6pjqjmy2.js";
8
8
  import {
9
- Service61
10
- } from "./model-zywtfy4s.js";
9
+ Service60
10
+ } from "./model-dcmz9t73.js";
11
11
  import {
12
12
  __export
13
13
  } from "./model-9rqn6x4v.js";
@@ -17,8 +17,8 @@ var exports_todo = {};
17
17
  __export(exports_todo, {
18
18
  Info: () => Info2,
19
19
  Input: () => Input12,
20
- Output: () => Output8,
21
- Plugin: () => Plugin48,
20
+ Output: () => Output9,
21
+ Plugin: () => Plugin31,
22
22
  TodoTool: () => exports_todo,
23
23
  name: () => name12,
24
24
  summarize: () => summarize2
@@ -47,7 +47,7 @@ var Info2 = Schema.Struct({
47
47
  var Input12 = Schema.Struct({
48
48
  todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
49
49
  });
50
- var Output8 = Schema.Struct({
50
+ var Output9 = Schema.Struct({
51
51
  todos: Schema.Array(Info2)
52
52
  });
53
53
  var summarize2 = (todos) => {
@@ -61,11 +61,11 @@ var summarize2 = (todos) => {
61
61
  const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
62
62
  return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
63
63
  };
64
- var Plugin48 = {
64
+ var Plugin31 = {
65
65
  id: "opencode.tool.todo",
66
66
  effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
67
- const config = yield* Service70;
68
- const permission = yield* Service61;
67
+ const config = yield* Service68;
68
+ const permission = yield* Service60;
69
69
  const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
70
70
  const enabled = () => latest2(loaded.entries, "experimental")?.todo === true;
71
71
  yield* ctx.tool.transform((editor) => {
@@ -76,7 +76,7 @@ var Plugin48 = {
76
76
  options: { codemode: false },
77
77
  description: todowrite_default,
78
78
  input: Input12,
79
- output: Output8,
79
+ output: Output9,
80
80
  execute: (input, context) => permission.assert({
81
81
  action: name12,
82
82
  resources: ["*"],
@@ -94,4 +94,4 @@ var Plugin48 = {
94
94
  })
95
95
  };
96
96
 
97
- export { name12, Info2, Input12, Output8, summarize2, Plugin48, exports_todo };
97
+ export { name12, Info2, Input12, Output9, summarize2, Plugin31, exports_todo };