@opencode-ai/core 0.0.0-dev-19158 → 0.0.0-dev-19162

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 (462) hide show
  1. package/dist/agent.js +65 -65
  2. package/dist/aisdk-native.js +2 -2
  3. package/dist/aisdk.js +6 -6
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +52 -52
  6. package/dist/catalog.js +65 -65
  7. package/dist/chunks/{config-cnxfty65.js → config-05zt7bxw.js} +1 -1
  8. package/dist/chunks/{config-ecrnc5yy.js → config-06hhv4mk.js} +9 -9
  9. package/dist/chunks/{config-nxrz604p.js → config-06qbn9zd.js} +7 -7
  10. package/dist/chunks/{config-v0gb0rxw.js → config-0717jcw9.js} +10 -10
  11. package/dist/chunks/{config-ag4rn41e.js → config-0dv7911r.js} +3 -3
  12. package/dist/chunks/{config-ee6p858a.js → config-0f36fkqm.js} +9 -9
  13. package/dist/chunks/{config-d90gephe.js → config-0ftyh06z.js} +9 -9
  14. package/dist/chunks/{config-qz49fwgp.js → config-0gaj4617.js} +3 -3
  15. package/dist/chunks/{config-05c02jrd.js → config-0mh54vrd.js} +27 -27
  16. package/dist/chunks/{config-ty2c41g5.js → config-0q7045zc.js} +9 -9
  17. package/dist/chunks/{config-bpgwf1gn.js → config-0w1hyfp5.js} +7 -7
  18. package/dist/chunks/{config-7xy1n7sd.js → config-158d8j6f.js} +9 -9
  19. package/dist/chunks/{config-hy4a837d.js → config-1dzz6snw.js} +143 -143
  20. package/dist/chunks/{config-8yvym9ym.js → config-1n116cmy.js} +7 -7
  21. package/dist/chunks/{config-pt7wq7x0.js → config-1rfmywcm.js} +1 -1
  22. package/dist/chunks/{config-dwwf8aqg.js → config-1xgpa51k.js} +26 -26
  23. package/dist/chunks/{config-2w6bfmvf.js → config-237jjh8r.js} +1 -1
  24. package/dist/chunks/{config-6h73sxmp.js → config-2402vzrj.js} +4 -4
  25. package/dist/chunks/{config-s0bghcpj.js → config-28137t3k.js} +13 -13
  26. package/dist/chunks/{config-5bryt7a0.js → config-2pcxbq9w.js} +14 -14
  27. package/dist/chunks/{config-dr3kpc4j.js → config-2pr397y0.js} +2 -2
  28. package/dist/chunks/{config-73h8w926.js → config-2wc239sk.js} +15 -15
  29. package/dist/chunks/{config-d5zz5mmx.js → config-2wqzt3cn.js} +1 -1
  30. package/dist/chunks/{config-be4f2y3v.js → config-31e3ykh9.js} +22 -22
  31. package/dist/chunks/config-35chk74t.js +4 -0
  32. package/dist/chunks/{config-2z5z4180.js → config-390g9qnx.js} +1 -1
  33. package/dist/chunks/{config-tg5j20fd.js → config-3esdbzaj.js} +29 -29
  34. package/dist/chunks/{config-1hy241bm.js → config-3h117gp9.js} +3 -3
  35. package/dist/chunks/{config-0a461f5m.js → config-4f0jyt0w.js} +1 -1
  36. package/dist/chunks/{config-tkkwfdrn.js → config-4h971em0.js} +14 -14
  37. package/dist/chunks/{config-82vek7a0.js → config-4q2e07t1.js} +27 -27
  38. package/dist/chunks/{config-6zjfgkhx.js → config-4zxvp4s8.js} +10 -10
  39. package/dist/chunks/{config-ess78x58.js → config-50jazn63.js} +3 -3
  40. package/dist/chunks/{config-d1a1bt21.js → config-55v2ymrw.js} +5 -5
  41. package/dist/chunks/{config-sev5fk1x.js → config-5v35ncxg.js} +13 -13
  42. package/dist/chunks/{config-06x6pa3n.js → config-5wxrjykn.js} +36 -36
  43. package/dist/chunks/{config-aj7d9r5a.js → config-61xw2vyk.js} +3 -3
  44. package/dist/chunks/{config-dkbgd4kx.js → config-67cp0t3n.js} +7 -7
  45. package/dist/chunks/{config-4p3gnpt1.js → config-69r0shtj.js} +23 -23
  46. package/dist/chunks/{config-m1xnd0vw.js → config-6affnmbh.js} +1 -1
  47. package/dist/chunks/config-6ancngw6.js +22 -0
  48. package/dist/chunks/{config-t73hfssp.js → config-6bk635n3.js} +3 -3
  49. package/dist/chunks/{config-rm8ckr6f.js → config-6cnprtbt.js} +10 -10
  50. package/dist/chunks/{config-4rhsk56h.js → config-6cp2jw9r.js} +11 -11
  51. package/dist/chunks/{config-af00207d.js → config-6mjnften.js} +20 -20
  52. package/dist/chunks/{config-afqdc92k.js → config-6t8g9t55.js} +36 -36
  53. package/dist/chunks/{config-rb8h7r9w.js → config-6wms2n7k.js} +13 -13
  54. package/dist/chunks/{config-mhkvc446.js → config-73tb2d7t.js} +2 -2
  55. package/dist/chunks/{config-k0amsfzg.js → config-749gab3j.js} +80 -80
  56. package/dist/chunks/{config-9n94sb4s.js → config-75f2r3s2.js} +7 -7
  57. package/dist/chunks/{config-zf2r3hh8.js → config-75kxdcsk.js} +15 -15
  58. package/dist/chunks/{config-97f5v037.js → config-75yf2d83.js} +7 -7
  59. package/dist/chunks/{config-rs1e0b8t.js → config-77d3wn9c.js} +30 -30
  60. package/dist/chunks/{config-yrzsrb4b.js → config-7cnzp9pw.js} +6 -6
  61. package/dist/chunks/{config-fcrkznn8.js → config-7dqw4kz8.js} +4 -4
  62. package/dist/chunks/{config-rvb2zp0m.js → config-7gbsxqt2.js} +7 -7
  63. package/dist/chunks/{config-99wsp9nb.js → config-7vybpyaj.js} +55 -55
  64. package/dist/chunks/{config-bbvq66e2.js → config-849efh8h.js} +12 -12
  65. package/dist/chunks/{config-768z0hjh.js → config-84e5sn9r.js} +1 -1
  66. package/dist/chunks/{config-er38wkfc.js → config-88f2w7bg.js} +19 -19
  67. package/dist/chunks/{config-besb2aaq.js → config-8g9nxc0g.js} +5 -5
  68. package/dist/chunks/{config-ngaay9ac.js → config-8mytbkpk.js} +11 -11
  69. package/dist/chunks/{config-jnmmvqjs.js → config-8pn7nfj1.js} +1 -1
  70. package/dist/chunks/{config-ten32qq2.js → config-8sst88kq.js} +130 -130
  71. package/dist/chunks/{config-qbyszf6s.js → config-8ysd1vrr.js} +10 -10
  72. package/dist/chunks/{config-fz1hta7e.js → config-90f0znq3.js} +10 -10
  73. package/dist/chunks/{config-qr55wwdd.js → config-90jvxegy.js} +25 -25
  74. package/dist/chunks/{config-5h14vxyg.js → config-95dz77zy.js} +7 -7
  75. package/dist/chunks/{config-nb6s2wb6.js → config-9k4yc68s.js} +7 -7
  76. package/dist/chunks/{config-y0padt56.js → config-9mdqs4p6.js} +8 -8
  77. package/dist/chunks/{config-61za95ds.js → config-9n4rmthx.js} +4 -4
  78. package/dist/chunks/{config-91fry4gj.js → config-9swgxcyc.js} +8 -8
  79. package/dist/chunks/{config-wybz6hrf.js → config-a1bqr6mg.js} +7 -7
  80. package/dist/chunks/{config-76a1wewz.js → config-a848jf85.js} +15 -15
  81. package/dist/chunks/{config-d7mjzyv0.js → config-asc3hgbh.js} +5 -5
  82. package/dist/chunks/{config-6m53fthq.js → config-az3ewtba.js} +8 -8
  83. package/dist/chunks/{config-pwfaxt9w.js → config-b06njkpy.js} +23 -23
  84. package/dist/chunks/{config-6pca0jhe.js → config-b0ememyf.js} +6 -6
  85. package/dist/chunks/{config-at5d07az.js → config-b27vhd2z.js} +3 -3
  86. package/dist/chunks/{config-warhvf6j.js → config-b7sv87fa.js} +14 -14
  87. package/dist/chunks/{config-aep3zssy.js → config-bhhnfd7g.js} +9 -9
  88. package/dist/chunks/{config-bbewgybn.js → config-bnf63c9y.js} +22 -22
  89. package/dist/chunks/{config-fv0a46mq.js → config-bpnz08mb.js} +1 -1
  90. package/dist/chunks/{config-2wqt7jqe.js → config-btc4hvws.js} +3 -3
  91. package/dist/chunks/{config-4czb3y5g.js → config-cbmwqr93.js} +34 -34
  92. package/dist/chunks/{config-h7ff3db1.js → config-cbx5tm5q.js} +1 -1
  93. package/dist/chunks/{config-e65pwgvg.js → config-cdq864t9.js} +4 -4
  94. package/dist/chunks/{config-yb908mkd.js → config-cgpj99p4.js} +10 -10
  95. package/dist/chunks/{config-w3wxw8kx.js → config-cwq8wwbw.js} +5 -5
  96. package/dist/chunks/{config-rpehk5bg.js → config-d4fghf44.js} +15 -15
  97. package/dist/chunks/{config-t21nbt5p.js → config-dfxkf46d.js} +13 -13
  98. package/dist/chunks/{config-67jd09d6.js → config-dnqht47t.js} +9 -9
  99. package/dist/chunks/{config-q8pady3j.js → config-drvezzaf.js} +17 -17
  100. package/dist/chunks/{config-0pxkb8sx.js → config-dvnq9x8h.js} +22 -22
  101. package/dist/chunks/{config-d22p1rbq.js → config-e06bka4b.js} +16 -16
  102. package/dist/chunks/{config-nnppy51n.js → config-e5c0hftg.js} +10 -10
  103. package/dist/chunks/{config-5rex2td8.js → config-ea6674rn.js} +38 -38
  104. package/dist/chunks/{config-hhhknvt0.js → config-efcf8wyf.js} +3 -3
  105. package/dist/chunks/{config-7j0xh36y.js → config-eqepbgaf.js} +6 -6
  106. package/dist/chunks/{config-955d8903.js → config-f0xx6xrn.js} +24 -24
  107. package/dist/chunks/{config-djaedspm.js → config-f4ptx47h.js} +17 -17
  108. package/dist/chunks/{config-3wbdmr3k.js → config-f6p2s77z.js} +11 -11
  109. package/dist/chunks/{config-hdzt82x2.js → config-fjvydvzm.js} +3 -3
  110. package/dist/chunks/{config-vzxy5pye.js → config-fpkc6x6e.js} +281 -281
  111. package/dist/chunks/{config-ky96tthz.js → config-g0h7a6z3.js} +18 -18
  112. package/dist/chunks/{config-b589frdy.js → config-g2g0nm0k.js} +6 -6
  113. package/dist/chunks/{config-z6z2k755.js → config-g3m1b5yb.js} +15 -15
  114. package/dist/chunks/{config-n4j22jpp.js → config-g3ncs8hk.js} +27 -27
  115. package/dist/chunks/{config-jejm9xps.js → config-gcq6p8pa.js} +15 -15
  116. package/dist/chunks/{config-3fc6dm20.js → config-gdvy8fx6.js} +3 -3
  117. package/dist/chunks/{config-4zyfxj4f.js → config-gmgk58pj.js} +26 -26
  118. package/dist/chunks/{config-wdge9c06.js → config-gs07ajs2.js} +12 -12
  119. package/dist/chunks/{config-5w08bhrc.js → config-gszwqe5d.js} +21 -21
  120. package/dist/chunks/{config-6rx01yq8.js → config-gvha7d93.js} +7 -7
  121. package/dist/chunks/{config-svq2erka.js → config-gw2ha4j9.js} +17 -17
  122. package/dist/chunks/{config-0dbg0bks.js → config-gzd7t3bg.js} +3 -3
  123. package/dist/chunks/{config-8vngan4t.js → config-h0xakedw.js} +10 -10
  124. package/dist/chunks/{config-qs4avvkb.js → config-h397hkc6.js} +1 -1
  125. package/dist/chunks/{config-kj6nvqge.js → config-hbyy88g2.js} +4 -4
  126. package/dist/chunks/{config-1x17a3c7.js → config-hqq8t1nz.js} +22 -22
  127. package/dist/chunks/{config-kvsjn1dr.js → config-hw4pv20g.js} +1 -1
  128. package/dist/chunks/{config-kjq59vae.js → config-j793fzzw.js} +4 -4
  129. package/dist/chunks/{config-z9xbv7h3.js → config-k0jfbz6p.js} +7 -7
  130. package/dist/chunks/{config-0p9sb830.js → config-k16hc8ta.js} +6 -6
  131. package/dist/chunks/{config-jg8b9hk9.js → config-k3qb5jpq.js} +15 -15
  132. package/dist/chunks/{config-3d9g3vnb.js → config-ke4h9fde.js} +29 -29
  133. package/dist/chunks/{config-1rrv44nx.js → config-khzg4rw9.js} +8 -8
  134. package/dist/chunks/{config-16r38w9g.js → config-kx2gvdct.js} +3 -3
  135. package/dist/chunks/{config-1m75zwha.js → config-kxdbpzvg.js} +10 -10
  136. package/dist/chunks/{config-8cmk2yrh.js → config-kxt3why0.js} +1 -1
  137. package/dist/chunks/{config-7b89tsdd.js → config-m7yd5tmd.js} +22 -22
  138. package/dist/chunks/{config-mdtrqsjb.js → config-mcwyqbfv.js} +11 -11
  139. package/dist/chunks/{config-qbjxktnx.js → config-mk71vqfm.js} +15 -15
  140. package/dist/chunks/{config-yv1mnqgn.js → config-mq9r6drf.js} +3 -3
  141. package/dist/chunks/{config-frpgp90v.js → config-mrr5n1t5.js} +39 -39
  142. package/dist/chunks/{config-st2ye5gy.js → config-ms4p05rz.js} +4 -4
  143. package/dist/chunks/{config-paaj2tba.js → config-n4vc4wqp.js} +26 -26
  144. package/dist/chunks/{config-d0ewx9kc.js → config-n6wnzfnt.js} +7 -7
  145. package/dist/chunks/{config-r9hy8h05.js → config-n95nq84g.js} +3 -3
  146. package/dist/chunks/{config-792dbvs3.js → config-nbb09f0r.js} +8 -8
  147. package/dist/chunks/{config-9fa16n1e.js → config-nc7vhk1r.js} +13 -13
  148. package/dist/chunks/{config-0rxs0e68.js → config-ndcx881h.js} +8 -8
  149. package/dist/chunks/{config-re1thkzp.js → config-ndvrq8a0.js} +46 -46
  150. package/dist/chunks/{config-6jcpr1v0.js → config-njc68f1a.js} +9 -9
  151. package/dist/chunks/{config-d64qpf1g.js → config-nntdm4dm.js} +7 -7
  152. package/dist/chunks/{config-qekkcmhw.js → config-p4tet26t.js} +10 -10
  153. package/dist/chunks/{config-rzkmjmsa.js → config-p6ff5tbf.js} +21 -21
  154. package/dist/chunks/{config-8rzvg9y3.js → config-p75fycp1.js} +16 -16
  155. package/dist/chunks/{config-j935v87r.js → config-paphc93g.js} +2 -2
  156. package/dist/chunks/{config-zajwd6at.js → config-pdw22why.js} +4 -4
  157. package/dist/chunks/{config-hvpnsy1s.js → config-pe168bzg.js} +9 -9
  158. package/dist/chunks/{config-mpftn8ge.js → config-pwt28h08.js} +5 -5
  159. package/dist/chunks/{config-2h688s1b.js → config-qcgjm0wy.js} +2 -2
  160. package/dist/chunks/{config-n4229vd9.js → config-qdc7md5c.js} +13 -13
  161. package/dist/chunks/{config-j916w4yw.js → config-r0d31c8w.js} +73 -73
  162. package/dist/chunks/{config-trkzvrng.js → config-r4xgsgaj.js} +9 -9
  163. package/dist/chunks/{config-n38qs1ar.js → config-r5w2ssxe.js} +7 -7
  164. package/dist/chunks/{config-759pz1a2.js → config-rae26gbb.js} +3 -3
  165. package/dist/chunks/{config-dxj72tfx.js → config-rap9a73h.js} +4 -4
  166. package/dist/chunks/{config-hddz0wn7.js → config-rd1ep0s8.js} +5 -5
  167. package/dist/chunks/{config-t6r14j5z.js → config-rjdxf66f.js} +7 -7
  168. package/dist/chunks/{config-egt1ss7v.js → config-rm88cc49.js} +30 -30
  169. package/dist/chunks/{config-trt6hbzz.js → config-rz7hn0qq.js} +1 -1
  170. package/dist/chunks/{config-2dhdzgjt.js → config-s0xz30kk.js} +1 -1
  171. package/dist/chunks/{config-e1hrx4vk.js → config-s3ef855p.js} +1 -1
  172. package/dist/chunks/{config-5ybpggmd.js → config-sec21qxj.js} +24 -24
  173. package/dist/chunks/{config-k9g2f61c.js → config-segpa9t1.js} +28 -28
  174. package/dist/chunks/{config-sy3syc2d.js → config-skh1dhby.js} +10 -10
  175. package/dist/chunks/{config-9fqwkpwc.js → config-srbc34s8.js} +19 -19
  176. package/dist/chunks/{config-6ssjdv0f.js → config-ssx4hce4.js} +9 -9
  177. package/dist/chunks/{config-8zvpx36b.js → config-t0mrj28q.js} +12 -12
  178. package/dist/chunks/{config-x838v1f0.js → config-tb8pps08.js} +20 -20
  179. package/dist/chunks/{config-p8wq76ht.js → config-tdae0fjt.js} +35 -35
  180. package/dist/chunks/{config-2r96sc0k.js → config-thh4j27q.js} +26 -26
  181. package/dist/chunks/{config-rbat79dr.js → config-tvhb6ja7.js} +9 -9
  182. package/dist/chunks/{config-1w30f4f2.js → config-ty7ewxnj.js} +9 -9
  183. package/dist/chunks/{config-g54t4tcc.js → config-tz7hz8t4.js} +30 -30
  184. package/dist/chunks/{config-p2qtf44v.js → config-v7vyss8a.js} +6 -6
  185. package/dist/chunks/{config-wvbe3rtp.js → config-v9jt0hrb.js} +22 -22
  186. package/dist/chunks/{config-r98e92ep.js → config-ve4pfa0n.js} +3 -3
  187. package/dist/chunks/{config-apsp7jgk.js → config-vpkbx0dt.js} +4 -4
  188. package/dist/chunks/{config-kkpsphwy.js → config-vr61rn6q.js} +23 -23
  189. package/dist/chunks/{config-z8bnceqx.js → config-w4b4w6yp.js} +16 -16
  190. package/dist/chunks/{config-yj3e99fm.js → config-wb545wbz.js} +1 -1
  191. package/dist/chunks/{config-qefte8q3.js → config-wcge92de.js} +11 -11
  192. package/dist/chunks/{config-ph38rbv1.js → config-wdqf1a1r.js} +7 -7
  193. package/dist/chunks/{config-22wsmeqd.js → config-wfqth6gn.js} +19 -19
  194. package/dist/chunks/{config-s61m3yv4.js → config-wjjyb9kf.js} +14 -14
  195. package/dist/chunks/{config-397c8mnj.js → config-wmjbr0cd.js} +17 -17
  196. package/dist/chunks/{config-66dnbv3r.js → config-wpj5mmzs.js} +39 -39
  197. package/dist/chunks/{config-nf2cw6d6.js → config-wtm3m4mv.js} +19 -19
  198. package/dist/chunks/{config-y8b7bht2.js → config-wv9wspwp.js} +33 -33
  199. package/dist/chunks/{config-2h6dm58y.js → config-ww0d9pr3.js} +1 -1
  200. package/dist/chunks/{config-wh79xy5p.js → config-x0bt72s0.js} +16 -16
  201. package/dist/chunks/{config-jqbr1wyt.js → config-x37beqws.js} +13 -13
  202. package/dist/chunks/{config-3ke7pvrw.js → config-x3n7g9ke.js} +16 -16
  203. package/dist/chunks/{config-dpgq5tn5.js → config-x6g7mdd1.js} +50 -50
  204. package/dist/chunks/{config-jzn5q2t4.js → config-x780yf15.js} +8 -8
  205. package/dist/chunks/{config-02hqbqte.js → config-xdhd08xr.js} +2 -2
  206. package/dist/chunks/{config-yt752v3e.js → config-xhry6vyk.js} +21 -21
  207. package/dist/chunks/{config-yk7p6t6k.js → config-xj0fb0cg.js} +12 -12
  208. package/dist/chunks/{config-zeb8mwjb.js → config-xnjnn6ck.js} +2 -2
  209. package/dist/chunks/{config-rb9cx0k8.js → config-xx3n06zn.js} +9 -9
  210. package/dist/chunks/{config-93a8yfjt.js → config-y2cqme3r.js} +3 -3
  211. package/dist/chunks/{config-hrjnmr7c.js → config-y5b08bcr.js} +2 -2
  212. package/dist/chunks/{config-gqxn036h.js → config-ye5gakfv.js} +20 -20
  213. package/dist/chunks/{config-qa3j2s86.js → config-yenvjmh1.js} +7 -7
  214. package/dist/chunks/{config-6j09wqep.js → config-yj1cv159.js} +14 -14
  215. package/dist/chunks/{config-mckf4h7b.js → config-ym594s0z.js} +7 -7
  216. package/dist/chunks/{config-7z9s4yw9.js → config-yvrpaamn.js} +21 -21
  217. package/dist/chunks/{config-n9mr47st.js → config-ywabkmpb.js} +5 -5
  218. package/dist/chunks/{config-famd3pv6.js → config-yzd93mfj.js} +3 -3
  219. package/dist/chunks/{config-djtdz80w.js → config-z3xgatyd.js} +3 -3
  220. package/dist/chunks/{config-29x78va6.js → config-z63w68vq.js} +4 -4
  221. package/dist/chunks/{config-cdgrjcgr.js → config-zh34rd03.js} +27 -26
  222. package/dist/chunks/{config-9rccpk3b.js → config-zhhnkchw.js} +8 -8
  223. package/dist/chunks/{config-ht56m8ty.js → config-zker5bfq.js} +11 -11
  224. package/dist/chunks/{config-smdsd39q.js → config-zre25x07.js} +13 -13
  225. package/dist/codemode/catalog.js +3 -3
  226. package/dist/codemode/instructions.js +7 -7
  227. package/dist/command.js +63 -63
  228. package/dist/config/discovery.js +57 -57
  229. package/dist/config/normalize.js +16 -16
  230. package/dist/config/plugin/agent.js +87 -87
  231. package/dist/config/plugin/command.js +168 -168
  232. package/dist/config/plugin/compaction.js +119 -119
  233. package/dist/config/plugin/formatter.js +88 -88
  234. package/dist/config/plugin/image.js +87 -87
  235. package/dist/config/plugin/instruction.js +64 -64
  236. package/dist/config/plugin/location-watcher.js +87 -87
  237. package/dist/config/plugin/mcp.js +91 -91
  238. package/dist/config/plugin/policy.js +85 -85
  239. package/dist/config/plugin/provider.js +85 -85
  240. package/dist/config/plugin/reference.js +89 -89
  241. package/dist/config/plugin/shell.js +87 -87
  242. package/dist/config/plugin/skill-file.js +71 -71
  243. package/dist/config/plugin/skill.js +103 -103
  244. package/dist/config/plugin/snapshot.js +87 -87
  245. package/dist/config/plugin/source.js +83 -83
  246. package/dist/config/plugin/tool-output.js +88 -88
  247. package/dist/config/plugin/websearch.js +85 -85
  248. package/dist/config/plugin/worktree.js +89 -89
  249. package/dist/config/variable.js +2 -2
  250. package/dist/config.js +88 -88
  251. package/dist/credential.js +66 -66
  252. package/dist/database/database.js +51 -51
  253. package/dist/database/drizzle/effect-sqlite/driver.js +8 -8
  254. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  255. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  256. package/dist/database/drizzle/index.js +9 -9
  257. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  258. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  259. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  260. package/dist/database/drizzle.js +9 -9
  261. package/dist/database/migration.gen.js +35 -35
  262. package/dist/database/migration.js +36 -36
  263. package/dist/database/v1-migration.bun.js +9 -9
  264. package/dist/effect/app-node-builder.js +229 -229
  265. package/dist/environment/environment.js +64 -64
  266. package/dist/environment/index.js +66 -66
  267. package/dist/event-logger.js +9 -9
  268. package/dist/file-mutation.js +61 -61
  269. package/dist/filesystem/location-watcher-policy.js +5 -5
  270. package/dist/filesystem/location-watcher.js +181 -181
  271. package/dist/filesystem/search.js +73 -73
  272. package/dist/filesystem/watcher-binding.js +3 -3
  273. package/dist/filesystem/watcher.js +12 -12
  274. package/dist/filesystem.js +70 -70
  275. package/dist/form.js +65 -65
  276. package/dist/formatter/builtins.js +3 -3
  277. package/dist/formatter.js +62 -62
  278. package/dist/generate.js +71 -71
  279. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  280. package/dist/github-copilot/copilot-provider.js +3 -3
  281. package/dist/github-copilot/models.js +3 -3
  282. package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
  283. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  284. package/dist/image/photon.js +1 -1
  285. package/dist/image.js +5 -5
  286. package/dist/instance/service.js +5 -5
  287. package/dist/instance.js +302 -302
  288. package/dist/instruction-discovery.js +63 -63
  289. package/dist/instructions/builtins.js +62 -62
  290. package/dist/instructions/index.js +5 -5
  291. package/dist/integration.js +64 -64
  292. package/dist/job.js +61 -61
  293. package/dist/kv.js +56 -56
  294. package/dist/location-activity.js +16 -16
  295. package/dist/location-mutation.js +61 -61
  296. package/dist/location-service-map.js +63 -63
  297. package/dist/location-services.js +300 -300
  298. package/dist/location.js +56 -56
  299. package/dist/mcp/client.js +15 -15
  300. package/dist/mcp/index.js +75 -75
  301. package/dist/mcp/instructions.js +93 -93
  302. package/dist/mcp/stdio.js +61 -61
  303. package/dist/modal/models.js +3 -3
  304. package/dist/model-resolver.js +68 -68
  305. package/dist/model.js +10 -10
  306. package/dist/models-dev.js +68 -68
  307. package/dist/permission/saved.js +60 -60
  308. package/dist/permission.js +87 -87
  309. package/dist/persistent-pty/index.js +66 -66
  310. package/dist/persistent-pty.js +54 -54
  311. package/dist/plugin/agent.js +72 -72
  312. package/dist/plugin/command.js +68 -68
  313. package/dist/plugin/host.js +174 -174
  314. package/dist/plugin/instance.js +3 -3
  315. package/dist/plugin/internal.js +273 -273
  316. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  317. package/dist/plugin/models-dev.js +59 -59
  318. package/dist/plugin/module.js +5 -5
  319. package/dist/plugin/plan.js +72 -72
  320. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  321. package/dist/plugin/provider/anthropic.js +2 -2
  322. package/dist/plugin/provider/azure.js +89 -89
  323. package/dist/plugin/provider/cerebras.js +2 -2
  324. package/dist/plugin/provider/cloudflare-ai-gateway.js +89 -89
  325. package/dist/plugin/provider/cloudflare-workers-ai.js +89 -89
  326. package/dist/plugin/provider/configured.js +87 -87
  327. package/dist/plugin/provider/github-copilot.js +62 -62
  328. package/dist/plugin/provider/gitlab.js +3 -3
  329. package/dist/plugin/provider/google-vertex.js +2 -2
  330. package/dist/plugin/provider/kilo.js +2 -2
  331. package/dist/plugin/provider/llmgateway.js +58 -58
  332. package/dist/plugin/provider/lmstudio.js +90 -90
  333. package/dist/plugin/provider/modal.js +61 -61
  334. package/dist/plugin/provider/nvidia.js +2 -2
  335. package/dist/plugin/provider/ollama.js +90 -90
  336. package/dist/plugin/provider/openai.js +61 -61
  337. package/dist/plugin/provider/opencode.js +58 -58
  338. package/dist/plugin/provider/openrouter.js +3 -3
  339. package/dist/plugin/provider/sap-ai-core.js +2 -2
  340. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  341. package/dist/plugin/provider/vercel.js +2 -2
  342. package/dist/plugin/provider/vllm.js +90 -90
  343. package/dist/plugin/provider/xai.js +59 -59
  344. package/dist/plugin/provider/zenmux.js +2 -2
  345. package/dist/plugin/provider.js +121 -121
  346. package/dist/plugin/sdk.js +59 -59
  347. package/dist/plugin/service.js +3 -3
  348. package/dist/plugin/skill.js +101 -101
  349. package/dist/plugin/supervisor.js +291 -291
  350. package/dist/plugin/system-prompt.js +4 -4
  351. package/dist/plugin/update.js +5 -5
  352. package/dist/plugin/variant.js +2 -2
  353. package/dist/plugin/vcs/git.js +61 -61
  354. package/dist/plugin/vcs/hg.js +61 -61
  355. package/dist/plugin/warming.js +85 -85
  356. package/dist/plugin/websearch/exa.js +3 -3
  357. package/dist/plugin/websearch/firecrawl.js +6 -6
  358. package/dist/plugin/websearch/index.js +6 -6
  359. package/dist/plugin/websearch/parallel.js +6 -6
  360. package/dist/plugin/websearch/tavily.js +6 -6
  361. package/dist/plugin.js +184 -184
  362. package/dist/project.js +55 -55
  363. package/dist/provider.js +7 -7
  364. package/dist/pty/schema.js +3 -3
  365. package/dist/pty.js +70 -70
  366. package/dist/reference/instructions.js +66 -66
  367. package/dist/reference.js +66 -66
  368. package/dist/repository-cache.js +59 -59
  369. package/dist/repository.js +3 -3
  370. package/dist/ripgrep.js +66 -66
  371. package/dist/rpc.js +61 -61
  372. package/dist/session/command.js +56 -56
  373. package/dist/session/compaction.js +96 -96
  374. package/dist/session/context.js +115 -115
  375. package/dist/session/environment.js +5 -5
  376. package/dist/session/error.js +6 -6
  377. package/dist/session/execution/restart.js +115 -115
  378. package/dist/session/execution.js +96 -96
  379. package/dist/session/generate.js +116 -116
  380. package/dist/session/history.js +8 -8
  381. package/dist/session/inbox.js +64 -64
  382. package/dist/session/info.js +2 -2
  383. package/dist/session/instruction-entry.js +59 -59
  384. package/dist/session/instruction-state.js +2 -2
  385. package/dist/session/instructions.js +69 -69
  386. package/dist/session/model-request.js +87 -87
  387. package/dist/session/model-transport.js +7 -7
  388. package/dist/session/move.js +98 -98
  389. package/dist/session/projector.js +62 -62
  390. package/dist/session/prompt.js +75 -75
  391. package/dist/session/revert.js +63 -63
  392. package/dist/session/run-coordinator.js +3 -3
  393. package/dist/session/runner/index.js +3 -3
  394. package/dist/session/runner/llm.js +182 -182
  395. package/dist/session/runner/model.js +68 -68
  396. package/dist/session/runner/step.js +92 -92
  397. package/dist/session/schema.js +5 -5
  398. package/dist/session/session.js +134 -134
  399. package/dist/session/shell.js +98 -98
  400. package/dist/session/skill.js +73 -73
  401. package/dist/session/stats.js +8 -8
  402. package/dist/session/store.js +63 -63
  403. package/dist/session/subagent-job.js +167 -167
  404. package/dist/session/system-prompt.js +5 -5
  405. package/dist/session/title.js +118 -118
  406. package/dist/session/to-session-error.js +81 -81
  407. package/dist/session/transfer.js +109 -109
  408. package/dist/session.js +184 -184
  409. package/dist/shell/parse.js +2 -2
  410. package/dist/shell/select.js +7 -7
  411. package/dist/shell.js +101 -101
  412. package/dist/skill/discovery.js +5 -5
  413. package/dist/skill/instructions.js +77 -77
  414. package/dist/skill.js +80 -80
  415. package/dist/snapshot.js +64 -64
  416. package/dist/tool/mcp.js +90 -90
  417. package/dist/tool/plugin/edit.js +87 -87
  418. package/dist/tool/plugin/glob.js +91 -91
  419. package/dist/tool/plugin/grep.js +89 -89
  420. package/dist/tool/plugin/opencode.js +3 -3
  421. package/dist/tool/plugin/patch.js +89 -89
  422. package/dist/tool/plugin/question.js +73 -73
  423. package/dist/tool/plugin/read.js +92 -92
  424. package/dist/tool/plugin/shell.js +169 -169
  425. package/dist/tool/plugin/skill.js +79 -79
  426. package/dist/tool/plugin/subagent.js +176 -176
  427. package/dist/tool/plugin/webfetch.js +79 -79
  428. package/dist/tool/plugin/websearch.js +74 -74
  429. package/dist/tool/plugin/write.js +89 -89
  430. package/dist/tool/read-filesystem.js +70 -70
  431. package/dist/tool-output.js +5 -5
  432. package/dist/tool.js +8 -8
  433. package/dist/v1/config/agent.js +6 -6
  434. package/dist/v1/config/attachment.js +3 -3
  435. package/dist/v1/config/command.js +3 -3
  436. package/dist/v1/config/config.js +14 -14
  437. package/dist/v1/config/error.js +3 -3
  438. package/dist/v1/config/formatter.js +3 -3
  439. package/dist/v1/config/lsp.js +3 -3
  440. package/dist/v1/config/mcp.js +3 -3
  441. package/dist/v1/config/migrate.js +3 -3
  442. package/dist/v1/config/permission.js +7 -7
  443. package/dist/v1/config/plugin.js +3 -3
  444. package/dist/v1/config/provider.js +3 -3
  445. package/dist/v1/config/skills.js +3 -3
  446. package/dist/vcs.js +64 -64
  447. package/dist/websearch.js +65 -65
  448. package/dist/wellknown/plugin.js +58 -58
  449. package/dist/wellknown.js +61 -61
  450. package/dist/workspace/driver.js +7 -7
  451. package/dist/workspace.js +63 -63
  452. package/dist/worktree/directory.js +3 -3
  453. package/dist/worktree/git.js +4 -4
  454. package/dist/worktree/refresh.js +290 -290
  455. package/dist/worktree.js +68 -68
  456. package/package.json +7 -7
  457. package/dist/chunks/config-2j7y305z.js +0 -22
  458. package/dist/chunks/config-7zk4hah4.js +0 -4
  459. /package/dist/chunks/{config-2vbg8t8g.js → config-3qdjr5ym.js} +0 -0
  460. /package/dist/chunks/{config-z2qbjhyn.js → config-7xyrrtj6.js} +0 -0
  461. /package/dist/chunks/{config-h7vqmq4a.js → config-k8cz140w.js} +0 -0
  462. /package/dist/chunks/{config-hnxdesg1.js → config-pdk1dwn1.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node50
5
- } from "./config-6zjfgkhx.js";
4
+ node60
5
+ } from "./config-4zxvp4s8.js";
6
6
  import {
7
7
  Service74,
8
8
  node79
9
9
  } from "./config-t00n1yfv.js";
10
10
  import {
11
11
  DeclinedError2
12
- } from "./config-dpgq5tn5.js";
12
+ } from "./config-x6g7mdd1.js";
13
13
  import {
14
14
  CancelledError2
15
- } from "./config-nnppy51n.js";
15
+ } from "./config-e5c0hftg.js";
16
16
  import {
17
- Error5
18
- } from "./config-jejm9xps.js";
17
+ Error4
18
+ } from "./config-gcq6p8pa.js";
19
19
  import {
20
- Service40,
21
- node43
22
- } from "./config-hvpnsy1s.js";
20
+ Service31,
21
+ node35
22
+ } from "./config-pe168bzg.js";
23
23
  import {
24
- make17
25
- } from "./config-yrzsrb4b.js";
24
+ make14
25
+ } from "./config-7cnzp9pw.js";
26
26
  import {
27
27
  toLLMMessages2
28
28
  } from "./config-zbjnn3ac.js";
@@ -33,12 +33,12 @@ import {
33
33
  // src/session/model-request.ts
34
34
  var exports_model_request = {};
35
35
  __export(exports_model_request, {
36
- Service: () => Service39,
36
+ Service: () => Service30,
37
37
  SessionModelRequest: () => exports_model_request,
38
38
  baseTranscript: () => baseTranscript2,
39
39
  boundImages: () => boundImages2,
40
- layer: () => layer15,
41
- node: () => node42,
40
+ layer: () => layer13,
41
+ node: () => node34,
42
42
  unsupportedParts: () => unsupportedParts2
43
43
  });
44
44
  import { HttpOptions, LanguageModel, LLM, LLMRequest, Message, SystemPart } from "@opencode-ai/ai";
@@ -58,7 +58,7 @@ var baseTranscript2 = (input) => {
58
58
  return {
59
59
  providerMetadataKey,
60
60
  system: [
61
- input.agent.system ? input.agent.system : make17(input.tools.definitions.map((tool) => tool.name)),
61
+ input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
62
62
  input.initial
63
63
  ].filter((part) => part.length > 0).map(SystemPart.make),
64
64
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -185,11 +185,11 @@ var httpMiddleware = (hooks, scope) => (request, handler) => Effect.gen(function
185
185
  return HttpClientResponse.fromWeb(sent, after.response);
186
186
  }).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause))));
187
187
 
188
- class Service39 extends Context.Service()("@opencode/SessionModelRequest") {
188
+ class Service30 extends Context.Service()("@opencode/SessionModelRequest") {
189
189
  }
190
- var layer15 = Layer.effect(Service39, Effect.gen(function* () {
190
+ var layer13 = Layer.effect(Service30, Effect.gen(function* () {
191
191
  const hooks = yield* Service74;
192
- const transport = yield* Service40;
192
+ const transport = yield* Service31;
193
193
  const app = yield* Metadata2;
194
194
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
195
195
  const session = input.scope.session;
@@ -197,7 +197,7 @@ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
197
197
  const model = resolved.model;
198
198
  const tools = input.scope.tools ?? {
199
199
  definitions: [],
200
- execute: () => new Error5({ message: "Tools are not available for this request" })
200
+ execute: () => new Error4({ message: "Tools are not available for this request" })
201
201
  };
202
202
  const registry = new Map(tools.definitions.map((tool) => [tool.name, tool]));
203
203
  const given = new Map(tools.definitions.map((tool) => [{ description: tool.description, input: { ...tool.inputSchema } }, tool]));
@@ -254,12 +254,12 @@ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
254
254
  executeTool
255
255
  };
256
256
  });
257
- return Service39.of({ prepare });
257
+ return Service30.of({ prepare });
258
258
  }));
259
- var node42 = makeLocationNode({
260
- service: Service39,
261
- layer: layer15,
262
- deps: [node79, node43, node50]
259
+ var node34 = makeLocationNode({
260
+ service: Service30,
261
+ layer: layer13,
262
+ deps: [node79, node35, node60]
263
263
  });
264
264
 
265
- export { baseTranscript2, unsupportedParts2, boundImages2, Service39, layer15, node42, exports_model_request };
265
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service30, layer13, node34, exports_model_request };
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service32
3
- } from "./config-n9mr47st.js";
2
+ Service34
3
+ } from "./config-ywabkmpb.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./config-dxj72tfx.js";
6
+ } from "./config-rap9a73h.js";
7
7
  import {
8
- Service59
9
- } from "./config-afqdc92k.js";
8
+ Service38
9
+ } from "./config-6t8g9t55.js";
10
10
  import {
11
11
  unavailable2
12
12
  } from "./config-fxbjtjnd.js";
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service32;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service59), instances.provide(input.session));
25
+ const instances = yield* Service34;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service38), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useragent2
3
- } from "./config-6zjfgkhx.js";
3
+ } from "./config-4zxvp4s8.js";
4
4
  import {
5
5
  call2
6
6
  } from "./config-6z5bwd8g.js";
@@ -11,14 +11,14 @@ import {
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin5,
14
+ Plugin: () => Plugin7,
15
15
  WebSearchParallel: () => exports_parallel,
16
- endpoint: () => endpoint4
16
+ endpoint: () => endpoint5
17
17
  });
18
18
  import { define } from "@opencode-ai/plugin/effect/plugin";
19
19
  import { Effect, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint4 = "https://search.parallel.ai/mcp";
21
+ var endpoint5 = "https://search.parallel.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  objective: Schema.String,
24
24
  search_queries: Schema.Array(Schema.String),
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin5 = define({
50
+ var Plugin7 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -69,7 +69,7 @@ var Plugin5 = define({
69
69
  execute: (input) => Effect.gen(function* () {
70
70
  const connection = yield* ctx.integration.connection.active("parallel");
71
71
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
72
- const result = yield* call2(http, endpoint4, "web_search", { input: McpInput, output: McpOutput }, {
72
+ const result = yield* call2(http, endpoint5, "web_search", { input: McpInput, output: McpOutput }, {
73
73
  objective: input.query,
74
74
  search_queries: [input.query]
75
75
  }, {
@@ -93,4 +93,4 @@ var Plugin5 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint4, Plugin5, exports_parallel };
96
+ export { endpoint5, Plugin7, exports_parallel };
@@ -3,14 +3,14 @@ import {
3
3
  } from "./config-p8qxwesx.js";
4
4
  import {
5
5
  Service76
6
- } from "./config-2dhdzgjt.js";
6
+ } from "./config-s0xz30kk.js";
7
7
  import {
8
- Service65
9
- } from "./config-y8b7bht2.js";
8
+ Service63
9
+ } from "./config-wv9wspwp.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./config-4p3gnpt1.js";
13
+ } from "./config-69r0shtj.js";
14
14
  import {
15
15
  observe2
16
16
  } from "./config-qsdy395h.js";
@@ -22,16 +22,16 @@ import {
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin16
25
+ Plugin: () => Plugin31
26
26
  });
27
27
  import { define } from "@opencode-ai/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode-ai/util/global";
31
- var Plugin16 = define({
31
+ var Plugin31 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service65;
34
+ const config = yield* Service63;
35
35
  const location = yield* Service76;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin16, exports_reference };
75
+ export { Plugin31, exports_reference };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service79
3
- } from "./config-d5zz5mmx.js";
3
+ } from "./config-2wqzt3cn.js";
4
4
  import {
5
- Service15,
5
+ Service18,
6
6
  Event3
7
- } from "./config-rs1e0b8t.js";
7
+ } from "./config-77d3wn9c.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -14,7 +14,7 @@ import { Effect, Stream } from "effect";
14
14
  var ModelsDevPlugin2 = define({
15
15
  id: "opencode.models.dev",
16
16
  effect: Effect.fn(function* (ctx) {
17
- const modelsDev = yield* Service15;
17
+ const modelsDev = yield* Service18;
18
18
  const bus = yield* Service79;
19
19
  const loaded = { data: snapshots(yield* modelsDev.get()) };
20
20
  yield* ctx.integration.transform((integrations) => {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./config-hrjnmr7c.js";
4
+ } from "./config-y5b08bcr.js";
5
5
  import {
6
6
  reserveSequence2,
7
7
  Service79,
8
8
  node84
9
- } from "./config-d5zz5mmx.js";
9
+ } from "./config-2wqzt3cn.js";
10
10
  import {
11
11
  SessionEvent2
12
12
  } from "./config-mntxs535.js";
@@ -33,16 +33,16 @@ import {
33
33
  projectDelivered2,
34
34
  projectCancelled2,
35
35
  projectDeliveryChanged2
36
- } from "./config-rb8h7r9w.js";
36
+ } from "./config-6wms2n7k.js";
37
37
  import {
38
38
  apply2,
39
39
  initialize3,
40
40
  advanceEpoch2,
41
41
  reset2
42
- } from "./config-trt6hbzz.js";
42
+ } from "./config-rz7hn0qq.js";
43
43
  import {
44
44
  initialize2
45
- } from "./config-jg8b9hk9.js";
45
+ } from "./config-k3qb5jpq.js";
46
46
  import {
47
47
  Slug2
48
48
  } from "./config-gebd4c9n.js";
@@ -55,7 +55,7 @@ var exports_projector = {};
55
55
  __export(exports_projector, {
56
56
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
57
57
  SessionProjector: () => exports_projector,
58
- node: () => node32
58
+ node: () => node27
59
59
  });
60
60
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
61
61
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -455,6 +455,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
455
455
  return publishSessionUsage(db, bus, event.data.sessionID);
456
456
  }), Effect.forkScoped({ startImmediately: true }));
457
457
  }));
458
- var node32 = makeGlobalNode({ name: "session-projector", layer, deps: [node84, node85] });
458
+ var node27 = makeGlobalNode({ name: "session-projector", layer, deps: [node84, node85] });
459
459
 
460
- export { SessionAlreadyProjected2, node32, exports_projector };
460
+ export { SessionAlreadyProjected2, node27, exports_projector };
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service73,
14
+ Service: () => Service44,
15
15
  SizeError: () => SizeError2,
16
- node: () => node78
16
+ node: () => node47
17
17
  });
18
18
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service73 extends Context.Service()("@opencode/Image") {
45
+ class Service44 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service73, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service44, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service73.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service44.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node78 = makeLocationNode({ service: Service73, layer, deps: [] });
79
+ var node47 = makeLocationNode({ service: Service44, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service73, node78, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service44, node47, exports_image2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service79
3
- } from "./config-d5zz5mmx.js";
3
+ } from "./config-2wqzt3cn.js";
4
4
  import {
5
- Service44
6
- } from "./config-n4229vd9.js";
5
+ Service41
6
+ } from "./config-qdc7md5c.js";
7
7
  import {
8
- Error5
9
- } from "./config-jejm9xps.js";
8
+ Error4
9
+ } from "./config-gcq6p8pa.js";
10
10
  import {
11
- Service62
12
- } from "./config-1rrv44nx.js";
11
+ Service55
12
+ } from "./config-khzg4rw9.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./config-d0ewx9kc.js";
15
+ } from "./config-n6wnzfnt.js";
16
16
  import {
17
17
  SessionEvent2
18
18
  } from "./config-mntxs535.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./config-e65pwgvg.js";
21
+ } from "./config-cdq864t9.js";
22
22
  import {
23
23
  calculateCost2
24
24
  } from "./config-tjykrgmx.js";
@@ -37,7 +37,7 @@ var exports_step = {};
37
37
  __export(exports_step, {
38
38
  Outcome: () => Outcome2,
39
39
  SessionStep: () => exports_step,
40
- make: () => make7
40
+ make: () => make3
41
41
  });
42
42
  import {
43
43
  AIError,
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
51
51
  var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
- var make7 = Effect.gen(function* () {
54
+ var make3 = Effect.gen(function* () {
55
55
  const bus = yield* Service79;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service44;
58
- const toolOutput = yield* Service62;
57
+ const snapshots = yield* Service41;
58
+ const toolOutput = yield* Service55;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -70,7 +70,7 @@ var make7 = Effect.gen(function* () {
70
70
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
71
71
  const executeTool = (call) => {
72
72
  if (input.prepared.request.toolChoice?.type === "none")
73
- return new Error5({ message: "Tools are disabled after the maximum agent steps" });
73
+ return new Error4({ message: "Tools are disabled after the maximum agent steps" });
74
74
  return input.prepared.executeTool({
75
75
  sessionID: input.sessionID,
76
76
  agent: input.agent,
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
205
205
  return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
206
206
  };
207
207
 
208
- export { Outcome2, make7, exports_step };
208
+ export { Outcome2, make3, exports_step };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  useragent2
3
- } from "./config-6zjfgkhx.js";
3
+ } from "./config-4zxvp4s8.js";
4
4
  import {
5
- ID16,
5
+ ID9,
6
6
  isAISDK2
7
- } from "./config-rvb2zp0m.js";
7
+ } from "./config-7gbsxqt2.js";
8
8
  import {
9
9
  iife2
10
10
  } from "./config-1kg9ymc8.js";
11
11
  import {
12
12
  configuredSettings2
13
- } from "./config-9n94sb4s.js";
13
+ } from "./config-75f2r3s2.js";
14
14
 
15
15
  // src/plugin/provider/cloudflare-workers-ai.ts
16
16
  import os from "os";
17
17
  import { Effect } from "effect";
18
18
  import { define } from "@opencode-ai/plugin/effect/plugin";
19
19
  import { Form } from "@opencode-ai/schema/form";
20
- var providerID = ID16.make("cloudflare-workers-ai");
20
+ var providerID = ID9.make("cloudflare-workers-ai");
21
21
  var CloudflareWorkersAIPlugin2 = define({
22
22
  id: "opencode.provider.cloudflare.workers.ai",
23
23
  effect: Effect.fn(function* (ctx) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./config-hrjnmr7c.js";
4
+ } from "./config-y5b08bcr.js";
5
5
  import {
6
6
  KVTable2
7
7
  } from "./config-3hepkmqq.js";
@@ -13,17 +13,17 @@ import {
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service71,
17
- node: () => node76
16
+ Service: () => Service66,
17
+ node: () => node71
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-ai/util/effect/app-node";
22
- class Service71 extends Context.Service()("@opencode/KV") {
22
+ class Service66 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service71, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
25
25
  const db = (yield* Service80).db;
26
- return Service71.of({
26
+ return Service66.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 node76 = makeGlobalNode({ service: Service71, layer, deps: [node85] });
54
+ var node71 = makeGlobalNode({ service: Service66, layer, deps: [node85] });
55
55
 
56
- export { Service71, node76, exports_kv };
56
+ export { Service66, node71, exports_kv };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./config-hrjnmr7c.js";
4
+ } from "./config-y5b08bcr.js";
5
5
  import {
6
6
  makeUnsafe2
7
7
  } from "./config-y71avatq.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node69
12
- } from "./config-ph38rbv1.js";
11
+ node57
12
+ } from "./config-wdqf1a1r.js";
13
13
  import {
14
14
  WorkspaceTable2
15
15
  } from "./config-faypxj3z.js";
@@ -21,13 +21,13 @@ import {
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID12,
25
- Info: () => Info15,
24
+ ID: () => ID5,
25
+ Info: () => Info8,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service64,
27
+ Service: () => Service53,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured9,
30
- node: () => node68
29
+ configured: () => configured7,
30
+ node: () => node56
31
31
  });
32
32
  import { Workspace } from "@opencode-ai/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID12 = Workspace.ID;
38
+ var ID5 = Workspace.ID;
39
39
 
40
- class Info15 extends Schema.Class("Workspace.Info")({
41
- id: ID12,
40
+ class Info8 extends Schema.Class("Workspace.Info")({
41
+ id: ID5,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info15 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID12 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID5 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID12,
53
+ workspaceID: ID5,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service64 extends Context.Service()("@opencode/Workspace") {
59
+ class Service53 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured9 = (options = {}) => makeGlobalNode({
62
- service: Service64,
61
+ var configured7 = (options = {}) => makeGlobalNode({
62
+ service: Service53,
63
63
  layer: layer(options),
64
- deps: [node85, node69]
64
+ deps: [node85, node57]
65
65
  });
66
- var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service53, Effect.gen(function* () {
67
67
  const db = (yield* Service80).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info15({
83
+ const info = (row, binding) => new Info8({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service64.of({
157
+ return Service53.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID12.create();
159
+ const workspaceID = input.id ?? ID5.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node68 = configured9();
224
+ var node56 = configured7();
225
225
 
226
- export { ID12, Info15, NotFound3, CreateConflict2, Service64, configured9, node68, exports_workspace };
226
+ export { ID5, Info8, NotFound3, CreateConflict2, Service53, configured7, node56, exports_workspace };
@@ -2,8 +2,8 @@ import {
2
2
  fromPromise2
3
3
  } from "./config-b9wsbatv.js";
4
4
  import {
5
- Service66
6
- } from "./config-af00207d.js";
5
+ Service64
6
+ } from "./config-6mjnften.js";
7
7
  import {
8
8
  __export
9
9
  } from "./config-9rqn6x4v.js";
@@ -13,7 +13,7 @@ var exports_module = {};
13
13
  __export(exports_module, {
14
14
  LoadError: () => LoadError2,
15
15
  PluginModule: () => exports_module,
16
- make: () => make3
16
+ make: () => make4
17
17
  });
18
18
  import { Host } from "@opencode-ai/plugin/host";
19
19
  import { createPluginSources } from "@opencode-ai/plugin/source";
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
22
22
  import path from "path";
23
23
  import { stat } from "node:fs/promises";
24
24
  import { fileURLToPath, pathToFileURL } from "url";
25
- var make3 = Effect.fn("PluginModule.make")(function* () {
26
- const watcher = yield* Service66;
25
+ var make4 = Effect.fn("PluginModule.make")(function* () {
26
+ const watcher = yield* Service64;
27
27
  const scope = yield* Effect.scope;
28
28
  const runPromise = yield* FiberSet.makeRuntimePromise();
29
29
  const changes = yield* PubSub.unbounded();
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
102
102
  };
103
103
  });
104
104
 
105
- export { make3, LoadError2, exports_module };
105
+ export { make4, LoadError2, exports_module };
@@ -6,10 +6,10 @@ import {
6
6
  var exports_command5 = {};
7
7
  __export(exports_command5, {
8
8
  ConfigCommandV1: () => exports_command5,
9
- Info: () => Info24
9
+ Info: () => Info16
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info24 = Schema.Struct({
12
+ var Info16 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info24 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info24, exports_command5 };
21
+ export { Info16, exports_command5 };