@opencode/core 0.0.0-dev-21709 → 0.0.0-dev-21733

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 (482) hide show
  1. package/dist/agent.js +67 -67
  2. package/dist/aisdk-native.js +69 -69
  3. package/dist/aisdk.js +74 -74
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +53 -53
  6. package/dist/chunks/{file-mutation-0j1f7v6y.js → file-mutation-00rzab14.js} +7 -7
  7. package/dist/chunks/{file-mutation-s7112yyh.js → file-mutation-01k3925y.js} +16 -16
  8. package/dist/chunks/{file-mutation-m14375f6.js → file-mutation-036w2vvs.js} +25 -25
  9. package/dist/chunks/{file-mutation-k4x8dxyy.js → file-mutation-0ns4m9xc.js} +6 -6
  10. package/dist/chunks/{file-mutation-jcapkbe6.js → file-mutation-10rcdg98.js} +2 -2
  11. package/dist/chunks/{file-mutation-vbmz9jev.js → file-mutation-12p8ee72.js} +23 -23
  12. package/dist/chunks/{file-mutation-713f9fkw.js → file-mutation-1k1fqc4x.js} +169 -169
  13. package/dist/chunks/{file-mutation-ay6kp039.js → file-mutation-1r91ydea.js} +3 -3
  14. package/dist/chunks/{file-mutation-v6x8rhc3.js → file-mutation-21et416z.js} +5 -5
  15. package/dist/chunks/{file-mutation-rmv7btfw.js → file-mutation-26dky2bj.js} +10 -10
  16. package/dist/chunks/{file-mutation-g113tq3g.js → file-mutation-27tam8fm.js} +1 -1
  17. package/dist/chunks/{file-mutation-1ep2p91f.js → file-mutation-27w5k9zf.js} +1 -1
  18. package/dist/chunks/{file-mutation-kd4chd64.js → file-mutation-2azy8kv6.js} +4 -4
  19. package/dist/chunks/{file-mutation-3jt9gp25.js → file-mutation-2hbghhry.js} +20 -20
  20. package/dist/chunks/{file-mutation-r0zz2cdc.js → file-mutation-2kxb353b.js} +1 -1
  21. package/dist/chunks/{file-mutation-m6yg81he.js → file-mutation-2rjbzknj.js} +14 -14
  22. package/dist/chunks/{file-mutation-e5yz98j3.js → file-mutation-30e15dtz.js} +3 -3
  23. package/dist/chunks/{file-mutation-t9e9esc1.js → file-mutation-32d3hzha.js} +8 -8
  24. package/dist/chunks/{file-mutation-ctagr9g7.js → file-mutation-368ze413.js} +9 -9
  25. package/dist/chunks/{file-mutation-5ahehfm9.js → file-mutation-3c164b2z.js} +11 -11
  26. package/dist/chunks/{file-mutation-ayjs7tqn.js → file-mutation-3cbjf1nt.js} +1 -1
  27. package/dist/chunks/{file-mutation-3a12p9c1.js → file-mutation-3de1akn6.js} +10 -10
  28. package/dist/chunks/{file-mutation-tn2pqadg.js → file-mutation-3ek3wb4s.js} +12 -12
  29. package/dist/chunks/{file-mutation-nad4mkqt.js → file-mutation-45t4pvv9.js} +7 -7
  30. package/dist/chunks/{file-mutation-rz0hcvs1.js → file-mutation-471rdaac.js} +328 -328
  31. package/dist/chunks/{file-mutation-gkq9xxxw.js → file-mutation-48ns11pq.js} +31 -31
  32. package/dist/chunks/{file-mutation-cw4h5047.js → file-mutation-4dnfsash.js} +29 -29
  33. package/dist/chunks/{file-mutation-m6r2ag02.js → file-mutation-4gceq66t.js} +4 -4
  34. package/dist/chunks/{file-mutation-zgmrepvs.js → file-mutation-4pw98qd4.js} +3 -3
  35. package/dist/chunks/{file-mutation-mz1zez7g.js → file-mutation-4rnk6nkc.js} +43 -43
  36. package/dist/chunks/{file-mutation-ad8q6rp3.js → file-mutation-4yx08eh2.js} +9 -9
  37. package/dist/chunks/{file-mutation-jfqpy2va.js → file-mutation-535rzh00.js} +19 -19
  38. package/dist/chunks/{file-mutation-3g9qcz5y.js → file-mutation-550hghqf.js} +10 -10
  39. package/dist/chunks/{file-mutation-7w4z2a19.js → file-mutation-55gnfc1d.js} +52 -52
  40. package/dist/chunks/{file-mutation-k9kmnnb3.js → file-mutation-59syh3a3.js} +8 -8
  41. package/dist/chunks/{file-mutation-rt3jy22f.js → file-mutation-5fvmg1r1.js} +20 -20
  42. package/dist/chunks/{file-mutation-b6vsg801.js → file-mutation-5nnwax6m.js} +3 -3
  43. package/dist/chunks/{file-mutation-pafr3hmb.js → file-mutation-5pex491w.js} +21 -21
  44. package/dist/chunks/{file-mutation-gx0r2313.js → file-mutation-5rxgzxpx.js} +4 -4
  45. package/dist/chunks/{file-mutation-3y39jmrc.js → file-mutation-5x4h0w91.js} +14 -14
  46. package/dist/chunks/{file-mutation-f10m4awg.js → file-mutation-5xn9952g.js} +2 -2
  47. package/dist/chunks/{file-mutation-abr51mnh.js → file-mutation-67avc1k8.js} +6 -6
  48. package/dist/chunks/{file-mutation-rgv2frq9.js → file-mutation-6bexxghh.js} +9 -9
  49. package/dist/chunks/{file-mutation-4bm89b1z.js → file-mutation-6j3c7a8w.js} +9 -9
  50. package/dist/chunks/{file-mutation-sbegqkxp.js → file-mutation-6nc585nh.js} +5 -5
  51. package/dist/chunks/{file-mutation-r2m1wrpm.js → file-mutation-743x2srx.js} +12 -12
  52. package/dist/chunks/{file-mutation-cfbwa52m.js → file-mutation-747awqjk.js} +7 -7
  53. package/dist/chunks/{file-mutation-hwg1rf37.js → file-mutation-74vrwnwk.js} +14 -14
  54. package/dist/chunks/{file-mutation-537zfnwd.js → file-mutation-782p0d6m.js} +14 -14
  55. package/dist/chunks/{file-mutation-eqzqqxkz.js → file-mutation-79gmc5z2.js} +10 -10
  56. package/dist/chunks/{file-mutation-6pe7vn7p.js → file-mutation-7qacj1zk.js} +16 -16
  57. package/dist/chunks/{file-mutation-f535s2sq.js → file-mutation-7v4gnnpt.js} +19 -19
  58. package/dist/chunks/{file-mutation-0t3ga4zv.js → file-mutation-7v95c66a.js} +10 -10
  59. package/dist/chunks/{file-mutation-nz1awqkw.js → file-mutation-81axfqtx.js} +32 -32
  60. package/dist/chunks/{file-mutation-dg69zav8.js → file-mutation-82ae05qv.js} +12 -12
  61. package/dist/chunks/{file-mutation-n5h7v18c.js → file-mutation-85p7gfn7.js} +5 -5
  62. package/dist/chunks/{file-mutation-kz13mb51.js → file-mutation-86ak512e.js} +32 -32
  63. package/dist/chunks/{file-mutation-0z1e74sk.js → file-mutation-8c7d9mqr.js} +10 -10
  64. package/dist/chunks/{file-mutation-n0n6a7ps.js → file-mutation-94f0gtd2.js} +6 -6
  65. package/dist/chunks/{file-mutation-dkkf5xq4.js → file-mutation-9b9c9169.js} +22 -22
  66. package/dist/chunks/{file-mutation-h931zhe2.js → file-mutation-9b9nrhta.js} +44 -44
  67. package/dist/chunks/{file-mutation-2jmbxqq8.js → file-mutation-9fs0fy5y.js} +16 -16
  68. package/dist/chunks/{file-mutation-s4rs4ktr.js → file-mutation-9q4552st.js} +25 -25
  69. package/dist/chunks/{file-mutation-d8qd4w10.js → file-mutation-9t2khtsw.js} +9 -9
  70. package/dist/chunks/{file-mutation-ts7thg7k.js → file-mutation-9tjddhah.js} +36 -36
  71. package/dist/chunks/{file-mutation-j110d6ac.js → file-mutation-a3ve0kqa.js} +9 -9
  72. package/dist/chunks/{file-mutation-ejx5chcx.js → file-mutation-a4hxdnm9.js} +25 -25
  73. package/dist/chunks/{file-mutation-3w6s660c.js → file-mutation-a7dmfdvk.js} +13 -13
  74. package/dist/chunks/{file-mutation-jd41cg63.js → file-mutation-abn7vnge.js} +44 -44
  75. package/dist/chunks/{file-mutation-dz55c0zm.js → file-mutation-abrtv49q.js} +5 -5
  76. package/dist/chunks/{file-mutation-416sv9a0.js → file-mutation-asrwnq9b.js} +13 -13
  77. package/dist/chunks/{file-mutation-40jy4byv.js → file-mutation-av5z0m6e.js} +21 -21
  78. package/dist/chunks/{file-mutation-dm5qwjy7.js → file-mutation-aw7qnxd4.js} +9 -9
  79. package/dist/chunks/{file-mutation-1eaqqsxz.js → file-mutation-b0zdea0q.js} +29 -29
  80. package/dist/chunks/{file-mutation-3f3erb08.js → file-mutation-b7zzhf47.js} +7 -7
  81. package/dist/chunks/{file-mutation-zhv6stc2.js → file-mutation-b9d9dj3z.js} +1 -1
  82. package/dist/chunks/{file-mutation-kp4a0nkj.js → file-mutation-bgmahzg8.js} +48 -48
  83. package/dist/chunks/{file-mutation-hsb38h3t.js → file-mutation-bjeh6j1p.js} +23 -23
  84. package/dist/chunks/{file-mutation-xmjq5dsw.js → file-mutation-bjh3krjv.js} +19 -19
  85. package/dist/chunks/{file-mutation-rrad2nt9.js → file-mutation-bjhzkqyk.js} +3 -3
  86. package/dist/chunks/{file-mutation-psvnc0zj.js → file-mutation-bwe8ad2d.js} +20 -20
  87. package/dist/chunks/{file-mutation-mmkbt6v3.js → file-mutation-c3cfh5w6.js} +7 -7
  88. package/dist/chunks/{file-mutation-jwswcnbf.js → file-mutation-c7c27t1m.js} +14 -14
  89. package/dist/chunks/{file-mutation-j144xwzw.js → file-mutation-cc7rcpec.js} +5 -5
  90. package/dist/chunks/{file-mutation-zkgq49d1.js → file-mutation-cfkc8wvf.js} +2 -2
  91. package/dist/chunks/{file-mutation-kvd7rme4.js → file-mutation-cjbqfpza.js} +1 -1
  92. package/dist/chunks/{file-mutation-bjhhq9t1.js → file-mutation-cn264291.js} +10 -10
  93. package/dist/chunks/{file-mutation-kd8e7gdr.js → file-mutation-cp34p7ag.js} +1 -1
  94. package/dist/chunks/{file-mutation-b2fa49hh.js → file-mutation-cvmvznrx.js} +1 -1
  95. package/dist/chunks/{file-mutation-ys14c7h6.js → file-mutation-cwq0sf4z.js} +13 -13
  96. package/dist/chunks/{file-mutation-2y6rfkwc.js → file-mutation-cxa2kxks.js} +5 -5
  97. package/dist/chunks/{file-mutation-293dk3rs.js → file-mutation-d979ez4r.js} +13 -13
  98. package/dist/chunks/{file-mutation-0jy8s6kx.js → file-mutation-da9t4t99.js} +16 -16
  99. package/dist/chunks/{file-mutation-rvw14dk0.js → file-mutation-deg8k6mg.js} +19 -19
  100. package/dist/chunks/{file-mutation-6tkfv6vy.js → file-mutation-dqfc4a56.js} +17 -17
  101. package/dist/chunks/{file-mutation-998yhzzq.js → file-mutation-dvj9ct8m.js} +1 -1
  102. package/dist/chunks/{file-mutation-gzr767ae.js → file-mutation-dwarwzmx.js} +20 -20
  103. package/dist/chunks/{file-mutation-vxnb1daw.js → file-mutation-dzgdh8q8.js} +26 -26
  104. package/dist/chunks/{file-mutation-5qd3pb7m.js → file-mutation-e3qxr5gk.js} +2 -2
  105. package/dist/chunks/{file-mutation-hr21agsb.js → file-mutation-e4n8ygfy.js} +78 -78
  106. package/dist/chunks/{file-mutation-jneg3k74.js → file-mutation-e5dqjz6v.js} +3 -3
  107. package/dist/chunks/{file-mutation-4qeetvzp.js → file-mutation-e86res7a.js} +15 -15
  108. package/dist/chunks/{file-mutation-8zf098kr.js → file-mutation-eahrer4y.js} +16 -16
  109. package/dist/chunks/{file-mutation-z11v4z0j.js → file-mutation-edcmpgtq.js} +15 -15
  110. package/dist/chunks/{file-mutation-1qgwrgfd.js → file-mutation-egsctaqy.js} +21 -21
  111. package/dist/chunks/{file-mutation-4kxjpvmm.js → file-mutation-ems2smmp.js} +24 -24
  112. package/dist/chunks/{file-mutation-bfp67d1e.js → file-mutation-enfrdb2x.js} +8 -8
  113. package/dist/chunks/{file-mutation-b8wpdthk.js → file-mutation-epgj3jkd.js} +22 -22
  114. package/dist/chunks/{file-mutation-0421tmwc.js → file-mutation-eqh43b5v.js} +7 -7
  115. package/dist/chunks/{file-mutation-q8ks7c1m.js → file-mutation-esd6nksf.js} +21 -21
  116. package/dist/chunks/{file-mutation-vm0wcjea.js → file-mutation-eskv2f81.js} +8 -8
  117. package/dist/chunks/{file-mutation-a610t88q.js → file-mutation-ezna1kdx.js} +4 -4
  118. package/dist/chunks/{file-mutation-rz9csvhz.js → file-mutation-f3mkqzy7.js} +12 -12
  119. package/dist/chunks/{file-mutation-mfd21a06.js → file-mutation-f4275qbf.js} +3 -3
  120. package/dist/chunks/{file-mutation-fvc4bqe2.js → file-mutation-faewc6h3.js} +3 -3
  121. package/dist/chunks/{file-mutation-xs3xca8c.js → file-mutation-fbnpe429.js} +18 -18
  122. package/dist/chunks/{file-mutation-p7bm53gt.js → file-mutation-fm0kc2vz.js} +8 -8
  123. package/dist/chunks/{file-mutation-vaqsjg05.js → file-mutation-fnbj75xz.js} +5 -5
  124. package/dist/chunks/{file-mutation-0zc3gznn.js → file-mutation-fqje64y2.js} +21 -21
  125. package/dist/chunks/{file-mutation-wqvpyqgm.js → file-mutation-fqktgm0k.js} +12 -12
  126. package/dist/chunks/{file-mutation-3p1jq0np.js → file-mutation-frvfbmdp.js} +8 -8
  127. package/dist/chunks/{file-mutation-atxt4sm9.js → file-mutation-ft13nsd4.js} +6 -6
  128. package/dist/chunks/{file-mutation-fr0fh1nj.js → file-mutation-fymw8q55.js} +18 -18
  129. package/dist/chunks/{file-mutation-mr7gd4pm.js → file-mutation-g5j9106q.js} +9 -9
  130. package/dist/chunks/{file-mutation-w7ceskr2.js → file-mutation-gctveymt.js} +12 -12
  131. package/dist/chunks/{file-mutation-f2rre9xz.js → file-mutation-gqmebmt6.js} +7 -7
  132. package/dist/chunks/{file-mutation-5q3wnkda.js → file-mutation-h245t4yc.js} +7 -7
  133. package/dist/chunks/{file-mutation-3dcnb5me.js → file-mutation-h2vj4qcs.js} +12 -12
  134. package/dist/chunks/{file-mutation-qpxdw9gm.js → file-mutation-h8gqg4ne.js} +7 -7
  135. package/dist/chunks/{file-mutation-5rv30s6t.js → file-mutation-h99q40g3.js} +82 -82
  136. package/dist/chunks/{file-mutation-acjz1v7j.js → file-mutation-hbcfg93c.js} +6 -6
  137. package/dist/chunks/{file-mutation-r5zmcn5f.js → file-mutation-hgcdtq4e.js} +12 -12
  138. package/dist/chunks/{file-mutation-p47da6wh.js → file-mutation-hhe7s84q.js} +2 -2
  139. package/dist/chunks/{file-mutation-e28v8y2t.js → file-mutation-hkzhzv1f.js} +29 -29
  140. package/dist/chunks/{file-mutation-bpzpc9vw.js → file-mutation-htq3pgp8.js} +1 -1
  141. package/dist/chunks/{file-mutation-kf6qbgb5.js → file-mutation-j12nxzwd.js} +1 -1
  142. package/dist/chunks/{file-mutation-we6venq8.js → file-mutation-j3zafv13.js} +9 -9
  143. package/dist/chunks/{file-mutation-kkh6p5hg.js → file-mutation-jbscr9h1.js} +4 -4
  144. package/dist/chunks/{file-mutation-bd3818sh.js → file-mutation-jp8p8349.js} +4 -4
  145. package/dist/chunks/{file-mutation-z2a3rv7v.js → file-mutation-jw9wy7z2.js} +9 -9
  146. package/dist/chunks/{file-mutation-7rp33d8t.js → file-mutation-jyragf21.js} +14 -14
  147. package/dist/chunks/{file-mutation-906g5kdk.js → file-mutation-kmnk1vdb.js} +7 -7
  148. package/dist/chunks/{file-mutation-9y9qs21w.js → file-mutation-krdcrhxc.js} +10 -10
  149. package/dist/chunks/{file-mutation-ganf5qds.js → file-mutation-m4qx0dyh.js} +22 -22
  150. package/dist/chunks/{file-mutation-zhbs0pmw.js → file-mutation-m4t4ftb9.js} +32 -32
  151. package/dist/chunks/{file-mutation-57k3rf66.js → file-mutation-m6btfgkq.js} +16 -16
  152. package/dist/chunks/{file-mutation-6b8h7563.js → file-mutation-mcc21mqv.js} +5 -5
  153. package/dist/chunks/{file-mutation-vx3jgdek.js → file-mutation-my4zabxr.js} +3 -3
  154. package/dist/chunks/{file-mutation-pr21x5ks.js → file-mutation-nffa1r89.js} +28 -28
  155. package/dist/chunks/{file-mutation-kaen2cat.js → file-mutation-ng91319j.js} +18 -18
  156. package/dist/chunks/{file-mutation-nmmvaykg.js → file-mutation-nwhk50md.js} +14 -14
  157. package/dist/chunks/{file-mutation-1yq9hg58.js → file-mutation-p7vhpwh8.js} +4 -4
  158. package/dist/chunks/{file-mutation-7cbjmmn9.js → file-mutation-pef0bd6s.js} +10 -10
  159. package/dist/chunks/{file-mutation-e1nbxf8q.js → file-mutation-q2dhmgm2.js} +12 -12
  160. package/dist/chunks/{file-mutation-q1xw7kgx.js → file-mutation-q7717vr4.js} +2 -2
  161. package/dist/chunks/{file-mutation-h65mpfhc.js → file-mutation-qgrk9qt1.js} +44 -44
  162. package/dist/chunks/{file-mutation-8jztxfpf.js → file-mutation-qjgzc4b4.js} +3 -3
  163. package/dist/chunks/{file-mutation-3n1ze0gv.js → file-mutation-qx7wy1t5.js} +22 -22
  164. package/dist/chunks/{file-mutation-ajmrn4wa.js → file-mutation-r64mr812.js} +26 -26
  165. package/dist/chunks/{file-mutation-yt06m8xx.js → file-mutation-r6b9cme8.js} +5 -5
  166. package/dist/chunks/{file-mutation-997dsrmm.js → file-mutation-r6wgv8c9.js} +7 -7
  167. package/dist/chunks/{file-mutation-d5w8jy03.js → file-mutation-r9t475hy.js} +12 -12
  168. package/dist/chunks/{file-mutation-y9xrhqjb.js → file-mutation-raw26vjr.js} +5 -5
  169. package/dist/chunks/{file-mutation-ew73g2zp.js → file-mutation-rbcej9n7.js} +4 -4
  170. package/dist/chunks/{file-mutation-e8zbksk4.js → file-mutation-rds2jhhw.js} +2 -2
  171. package/dist/chunks/{file-mutation-rehp1ca5.js → file-mutation-rjew0wjs.js} +18 -18
  172. package/dist/chunks/{file-mutation-rt0txz63.js → file-mutation-rjnacbrz.js} +7 -7
  173. package/dist/chunks/{file-mutation-zh89wwz7.js → file-mutation-rmvh37n9.js} +7 -7
  174. package/dist/chunks/{file-mutation-2v6yzfrh.js → file-mutation-rskep9rf.js} +26 -26
  175. package/dist/chunks/{file-mutation-2cvbz1q2.js → file-mutation-ry869zts.js} +14 -14
  176. package/dist/chunks/{file-mutation-7r2864x8.js → file-mutation-s0cvatyn.js} +9 -9
  177. package/dist/chunks/{file-mutation-gh9nzn29.js → file-mutation-s4yz0bzs.js} +2 -2
  178. package/dist/chunks/{file-mutation-hrwtt92m.js → file-mutation-s5ypg3ex.js} +10 -10
  179. package/dist/chunks/{file-mutation-00zh2tpm.js → file-mutation-s6p20e1k.js} +7 -7
  180. package/dist/chunks/{file-mutation-h406p1d4.js → file-mutation-s6xj0n9e.js} +11 -11
  181. package/dist/chunks/{file-mutation-9vyfkg2v.js → file-mutation-s9ty2h8k.js} +8 -8
  182. package/dist/chunks/{file-mutation-mgvc1gk7.js → file-mutation-sm6n1kzz.js} +12 -12
  183. package/dist/chunks/{file-mutation-1k8pspw3.js → file-mutation-sn3yw1vh.js} +23 -23
  184. package/dist/chunks/{file-mutation-4xg6svek.js → file-mutation-svewv0nk.js} +32 -32
  185. package/dist/chunks/{file-mutation-gy8yxpp1.js → file-mutation-t72fmagr.js} +8 -8
  186. package/dist/chunks/{file-mutation-c3kxzd3k.js → file-mutation-td9q6ghh.js} +14 -14
  187. package/dist/chunks/{file-mutation-hbkf0bb7.js → file-mutation-tfvs93xs.js} +4 -4
  188. package/dist/chunks/{file-mutation-myc1cmw5.js → file-mutation-tq3mzssj.js} +11 -11
  189. package/dist/chunks/{file-mutation-5vmh6pxt.js → file-mutation-v35yay96.js} +14 -14
  190. package/dist/chunks/{file-mutation-d8c7zwkj.js → file-mutation-v8kyx9fe.js} +19 -19
  191. package/dist/chunks/{file-mutation-03cjnd07.js → file-mutation-v9pksffj.js} +28 -28
  192. package/dist/chunks/{file-mutation-2qv8esx8.js → file-mutation-vamt18wv.js} +22 -22
  193. package/dist/chunks/{file-mutation-04ppth10.js → file-mutation-vd9bj70h.js} +25 -25
  194. package/dist/chunks/file-mutation-venck2hm.js +26 -0
  195. package/dist/chunks/{file-mutation-3405mbpt.js → file-mutation-vf8a67bd.js} +19 -19
  196. package/dist/chunks/{file-mutation-g7esga4v.js → file-mutation-vmfhgzt5.js} +4 -4
  197. package/dist/chunks/{file-mutation-qgk279fs.js → file-mutation-vtjgj3jr.js} +38 -38
  198. package/dist/chunks/{file-mutation-yy2s616e.js → file-mutation-vyaq3xbs.js} +8 -8
  199. package/dist/chunks/{file-mutation-egmw08v6.js → file-mutation-w059c7vr.js} +3 -3
  200. package/dist/chunks/{file-mutation-d2dx6a7h.js → file-mutation-w35wzz9x.js} +8 -8
  201. package/dist/chunks/{file-mutation-ph89xtmw.js → file-mutation-w3w76j4m.js} +32 -32
  202. package/dist/chunks/{file-mutation-76cb1hcw.js → file-mutation-w8qtt4th.js} +3 -3
  203. package/dist/chunks/{file-mutation-3vf4gpqx.js → file-mutation-w9vn8wsz.js} +9 -9
  204. package/dist/chunks/{file-mutation-zmk1cqnw.js → file-mutation-wb23mhq7.js} +37 -37
  205. package/dist/chunks/{file-mutation-fv8tw6aa.js → file-mutation-wbbnhv6v.js} +2 -2
  206. package/dist/chunks/{file-mutation-2c4qk5dm.js → file-mutation-wbz42q9f.js} +18 -18
  207. package/dist/chunks/{file-mutation-cg703a76.js → file-mutation-wdh6vgg0.js} +13 -13
  208. package/dist/chunks/{file-mutation-0h8y3ex8.js → file-mutation-wr3re1en.js} +3 -3
  209. package/dist/chunks/{file-mutation-1bb7jn70.js → file-mutation-wwzjdjk2.js} +1 -1
  210. package/dist/chunks/{file-mutation-kb3vw7p8.js → file-mutation-x240r3kw.js} +25 -25
  211. package/dist/chunks/{file-mutation-3bnc55rz.js → file-mutation-xb154nqk.js} +1 -1
  212. package/dist/chunks/{file-mutation-0fn7fmmf.js → file-mutation-xcfcjf9d.js} +10 -10
  213. package/dist/chunks/{file-mutation-c2b1zq20.js → file-mutation-xh4stpws.js} +32 -32
  214. package/dist/chunks/{file-mutation-hvh7vr4z.js → file-mutation-xk2ssr6t.js} +8 -8
  215. package/dist/chunks/{file-mutation-c5kjsz6q.js → file-mutation-xpve62cf.js} +3 -3
  216. package/dist/chunks/{file-mutation-yz63e4xv.js → file-mutation-xq4hz08w.js} +1 -1
  217. package/dist/chunks/{file-mutation-m6yx9010.js → file-mutation-y0dnfxbe.js} +9 -9
  218. package/dist/chunks/{file-mutation-y456hjcf.js → file-mutation-y78pw8hh.js} +17 -17
  219. package/dist/chunks/{file-mutation-5jn2rvwm.js → file-mutation-y9nmyqm6.js} +16 -16
  220. package/dist/chunks/{file-mutation-czxr0pk5.js → file-mutation-yf8h703t.js} +25 -25
  221. package/dist/chunks/{file-mutation-ejryywa8.js → file-mutation-yhtr6e88.js} +42 -42
  222. package/dist/chunks/{file-mutation-n0cek02z.js → file-mutation-yprj29vk.js} +4 -4
  223. package/dist/chunks/{file-mutation-1daas5y7.js → file-mutation-ys5ve7gf.js} +59 -59
  224. package/dist/chunks/{file-mutation-bn1zwxk7.js → file-mutation-yvyt4vgc.js} +10 -10
  225. package/dist/chunks/file-mutation-z053f2bw.js +257 -0
  226. package/dist/chunks/{file-mutation-yk7z3cd9.js → file-mutation-z3789qry.js} +17 -17
  227. package/dist/chunks/{file-mutation-9z3zqrcq.js → file-mutation-zg057h9g.js} +16 -16
  228. package/dist/chunks/{file-mutation-dr3mewcq.js → file-mutation-zk52q0tv.js} +13 -13
  229. package/dist/chunks/{file-mutation-27bs79w9.js → file-mutation-zmwx25fz.js} +1 -1
  230. package/dist/chunks/{file-mutation-06ddj0xt.js → file-mutation-zz54hcfv.js} +13 -13
  231. package/dist/codemode/instructions.js +10 -10
  232. package/dist/command.js +69 -69
  233. package/dist/config/discovery.js +64 -64
  234. package/dist/config/normalize.js +77 -77
  235. package/dist/config/plugin/agent.js +89 -89
  236. package/dist/config/plugin/command.js +176 -176
  237. package/dist/config/plugin/compaction.js +124 -124
  238. package/dist/config/plugin/compatibility.js +107 -107
  239. package/dist/config/plugin/formatter.js +90 -90
  240. package/dist/config/plugin/image.js +89 -89
  241. package/dist/config/plugin/instruction.js +90 -90
  242. package/dist/config/plugin/location-watcher.js +91 -91
  243. package/dist/config/plugin/mcp.js +93 -93
  244. package/dist/config/plugin/policy.js +90 -90
  245. package/dist/config/plugin/provider.js +89 -89
  246. package/dist/config/plugin/reference.js +91 -91
  247. package/dist/config/plugin/shell.js +91 -91
  248. package/dist/config/plugin/skill-file.js +79 -79
  249. package/dist/config/plugin/skill.js +110 -110
  250. package/dist/config/plugin/snapshot.js +89 -89
  251. package/dist/config/plugin/source.js +90 -90
  252. package/dist/config/plugin/tool-output.js +90 -90
  253. package/dist/config/plugin/websearch.js +90 -90
  254. package/dist/config/plugin/worktree.js +90 -90
  255. package/dist/config.js +95 -95
  256. package/dist/credential.js +64 -64
  257. package/dist/database/database.js +51 -51
  258. package/dist/database/drizzle/effect-sqlite/driver.js +10 -10
  259. package/dist/database/drizzle/effect-sqlite/index.js +6 -6
  260. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  261. package/dist/database/drizzle/index.js +11 -11
  262. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  263. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  264. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  265. package/dist/database/drizzle.js +11 -11
  266. package/dist/database/migration.gen.js +39 -39
  267. package/dist/database/migration.js +41 -41
  268. package/dist/database/v1-migration.bun.js +24 -24
  269. package/dist/effect/app-node-builder.js +238 -238
  270. package/dist/effect/keyed-mutex.js +3 -3
  271. package/dist/environment/environment.js +69 -69
  272. package/dist/environment/index.js +69 -69
  273. package/dist/environment/unavailable.js +3 -3
  274. package/dist/event-logger.js +10 -10
  275. package/dist/file-access.js +82 -82
  276. package/dist/file-mutation.js +70 -70
  277. package/dist/filesystem/location-watcher-policy.js +5 -5
  278. package/dist/filesystem/location-watcher.js +191 -191
  279. package/dist/filesystem/protected.js +3 -3
  280. package/dist/filesystem/search.js +74 -74
  281. package/dist/filesystem/watcher-binding.js +3 -3
  282. package/dist/filesystem/watcher.js +10 -10
  283. package/dist/filesystem.js +77 -77
  284. package/dist/form.js +66 -66
  285. package/dist/formatter.js +63 -63
  286. package/dist/generate.js +83 -83
  287. package/dist/git.js +7 -7
  288. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  289. package/dist/github-copilot/copilot-provider.js +3 -3
  290. package/dist/github-copilot/models.js +71 -71
  291. package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
  292. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  293. package/dist/image/photon.js +1 -1
  294. package/dist/image.js +5 -5
  295. package/dist/instance/service.js +5 -5
  296. package/dist/instance.js +315 -315
  297. package/dist/instruction-discovery.js +64 -64
  298. package/dist/instructions/builtins.js +67 -67
  299. package/dist/instructions/index.js +3 -3
  300. package/dist/integration/connection.js +3 -3
  301. package/dist/integration.js +70 -70
  302. package/dist/job.js +59 -59
  303. package/dist/kv.js +56 -56
  304. package/dist/location-activity.js +73 -73
  305. package/dist/location-lifecycle.js +85 -85
  306. package/dist/location-service-map.js +66 -66
  307. package/dist/location-services.js +313 -313
  308. package/dist/location.js +69 -69
  309. package/dist/managed-policy.js +7 -7
  310. package/dist/mcp/client.js +20 -20
  311. package/dist/mcp/index.js +79 -79
  312. package/dist/mcp/instructions.js +111 -111
  313. package/dist/mcp/oauth.js +14 -14
  314. package/dist/mcp/stdio.js +66 -66
  315. package/dist/modal/models.js +71 -71
  316. package/dist/model-resolver.js +78 -78
  317. package/dist/model.js +70 -70
  318. package/dist/models-dev.js +80 -80
  319. package/dist/permission/saved.js +65 -65
  320. package/dist/permission/sql.js +3 -3
  321. package/dist/permission.js +91 -91
  322. package/dist/persistent-pty/index.js +66 -66
  323. package/dist/persistent-pty.js +56 -56
  324. package/dist/plugin/agent.js +58 -58
  325. package/dist/plugin/command.js +76 -76
  326. package/dist/plugin/hooks.js +5 -5
  327. package/dist/plugin/host.js +182 -182
  328. package/dist/plugin/identity.js +3 -3
  329. package/dist/plugin/internal.js +289 -289
  330. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  331. package/dist/plugin/models-dev.js +75 -75
  332. package/dist/plugin/module.js +90 -90
  333. package/dist/plugin/optimize.js +4 -4
  334. package/dist/plugin/plan.js +80 -80
  335. package/dist/plugin/provider/amazon-bedrock.js +70 -70
  336. package/dist/plugin/provider/azure.js +90 -90
  337. package/dist/plugin/provider/chatgpt.js +88 -88
  338. package/dist/plugin/provider/cloudflare-ai-gateway.js +87 -87
  339. package/dist/plugin/provider/cloudflare-workers-ai.js +87 -87
  340. package/dist/plugin/provider/configured.js +86 -86
  341. package/dist/plugin/provider/digitalocean.js +72 -72
  342. package/dist/plugin/provider/github-copilot.js +74 -74
  343. package/dist/plugin/provider/gitlab.js +72 -72
  344. package/dist/plugin/provider/google-vertex.js +87 -87
  345. package/dist/plugin/provider/llmgateway.js +59 -59
  346. package/dist/plugin/provider/lmstudio.js +95 -95
  347. package/dist/plugin/provider/local.js +92 -92
  348. package/dist/plugin/provider/modal.js +72 -72
  349. package/dist/plugin/provider/ollama.js +95 -95
  350. package/dist/plugin/provider/openai-context-caps.js +70 -70
  351. package/dist/plugin/provider/openai.js +90 -90
  352. package/dist/plugin/provider/opencode.js +80 -80
  353. package/dist/plugin/provider/openrouter.js +71 -71
  354. package/dist/plugin/provider/poe.js +59 -59
  355. package/dist/plugin/provider/sap-ai-core.js +70 -70
  356. package/dist/plugin/provider/snowflake-cortex.js +88 -88
  357. package/dist/plugin/provider/vercel.js +70 -70
  358. package/dist/plugin/provider/vllm.js +95 -95
  359. package/dist/plugin/provider/xai.js +71 -71
  360. package/dist/plugin/provider.js +135 -135
  361. package/dist/plugin/sdk.js +60 -60
  362. package/dist/plugin/service.js +3 -3
  363. package/dist/plugin/skill.js +106 -106
  364. package/dist/plugin/supervisor.js +304 -304
  365. package/dist/plugin/tool-input-repair.js +3 -3
  366. package/dist/plugin/update.js +6 -6
  367. package/dist/plugin/vcs/git.js +66 -66
  368. package/dist/plugin/vcs/hg.js +66 -66
  369. package/dist/plugin/verbosity.js +73 -73
  370. package/dist/plugin/warming.js +88 -88
  371. package/dist/plugin/websearch/exa.js +5 -5
  372. package/dist/plugin/websearch/firecrawl.js +4 -4
  373. package/dist/plugin/websearch/index.js +7 -7
  374. package/dist/plugin/websearch/parallel.js +4 -4
  375. package/dist/plugin/websearch/tavily.js +6 -6
  376. package/dist/plugin/websearch/tinyfish.js +6 -6
  377. package/dist/plugin.js +194 -194
  378. package/dist/project/schema.js +7 -7
  379. package/dist/project/sql.js +2 -2
  380. package/dist/project.js +70 -70
  381. package/dist/provider.js +73 -73
  382. package/dist/pty.js +78 -78
  383. package/dist/reference/instructions.js +66 -66
  384. package/dist/reference.js +64 -64
  385. package/dist/repository-cache.js +59 -59
  386. package/dist/ripgrep.js +70 -70
  387. package/dist/rpc.js +66 -66
  388. package/dist/session/command.js +58 -58
  389. package/dist/session/compaction.js +106 -106
  390. package/dist/session/context.js +133 -133
  391. package/dist/session/diff.js +67 -67
  392. package/dist/session/environment.js +5 -5
  393. package/dist/session/error.js +4 -4
  394. package/dist/session/execution/restart.js +119 -119
  395. package/dist/session/execution.js +102 -102
  396. package/dist/session/generate.js +135 -135
  397. package/dist/session/history.js +11 -11
  398. package/dist/session/inbox.js +69 -69
  399. package/dist/session/info.js +2 -2
  400. package/dist/session/instruction-entry.js +62 -62
  401. package/dist/session/instruction-state.js +5 -5
  402. package/dist/session/instructions.js +75 -75
  403. package/dist/session/message-updater.js +3 -3
  404. package/dist/session/model-request.js +92 -92
  405. package/dist/session/model-transport.js +5 -5
  406. package/dist/session/move.js +105 -105
  407. package/dist/session/projector.js +68 -68
  408. package/dist/session/prompt.js +82 -82
  409. package/dist/session/revert.js +72 -72
  410. package/dist/session/runner/index.js +3 -3
  411. package/dist/session/runner/llm.js +192 -192
  412. package/dist/session/runner/model.js +77 -77
  413. package/dist/session/runner/publish-llm-event.js +90 -90
  414. package/dist/session/runner/retry.js +2 -2
  415. package/dist/session/runner/step.js +98 -98
  416. package/dist/session/runner/to-llm-message.js +10 -10
  417. package/dist/session/schema.js +5 -5
  418. package/dist/session/session.js +133 -133
  419. package/dist/session/shell.js +99 -99
  420. package/dist/session/skill.js +81 -81
  421. package/dist/session/sql.js +3 -3
  422. package/dist/session/stats.js +10 -10
  423. package/dist/session/store.js +66 -66
  424. package/dist/session/subagent-job.js +177 -177
  425. package/dist/session/system-prompt.js +3 -3
  426. package/dist/session/title.js +134 -134
  427. package/dist/session/to-session-error.js +89 -89
  428. package/dist/session/transfer.js +116 -116
  429. package/dist/session.js +188 -188
  430. package/dist/shell/parse.js +4 -4
  431. package/dist/shell/select.js +12 -12
  432. package/dist/shell.js +102 -102
  433. package/dist/skill/discovery.js +5 -5
  434. package/dist/skill/instructions.js +85 -85
  435. package/dist/skill.js +90 -90
  436. package/dist/snapshot.js +69 -69
  437. package/dist/tool/mcp.js +110 -110
  438. package/dist/tool/plugin/edit.js +95 -95
  439. package/dist/tool/plugin/glob.js +99 -99
  440. package/dist/tool/plugin/grep.js +99 -99
  441. package/dist/tool/plugin/mcp-resource.js +98 -98
  442. package/dist/tool/plugin/opencode.js +85 -85
  443. package/dist/tool/plugin/patch.js +91 -91
  444. package/dist/tool/plugin/question.js +81 -81
  445. package/dist/tool/plugin/read.js +99 -99
  446. package/dist/tool/plugin/shell.js +183 -183
  447. package/dist/tool/plugin/skill.js +83 -83
  448. package/dist/tool/plugin/subagent.js +182 -182
  449. package/dist/tool/plugin/todo.js +111 -111
  450. package/dist/tool/plugin/webfetch.js +84 -84
  451. package/dist/tool/plugin/websearch.js +90 -90
  452. package/dist/tool/plugin/write.js +91 -91
  453. package/dist/tool/read-filesystem.js +76 -76
  454. package/dist/tool-output.js +5 -5
  455. package/dist/tool.js +9 -9
  456. package/dist/v1/config/agent.js +6 -6
  457. package/dist/v1/config/command.js +3 -3
  458. package/dist/v1/config/mcp.js +3 -3
  459. package/dist/v1/config/migrate.js +71 -71
  460. package/dist/v1/config/permission.js +7 -7
  461. package/dist/v1/config/plugin.js +3 -3
  462. package/dist/variant.js +73 -73
  463. package/dist/vcs.js +69 -69
  464. package/dist/voice.js +67 -67
  465. package/dist/websearch.js +64 -64
  466. package/dist/wellknown/plugin.js +58 -58
  467. package/dist/wellknown.js +63 -63
  468. package/dist/workspace/driver.js +5 -5
  469. package/dist/workspace.js +63 -63
  470. package/dist/worktree/git.js +6 -6
  471. package/dist/worktree/sql.js +3 -3
  472. package/dist/worktree/strategies.js +68 -68
  473. package/dist/worktree.js +78 -78
  474. package/package.json +8 -8
  475. package/dist/chunks/file-mutation-k1mgqf2s.js +0 -26
  476. package/dist/chunks/file-mutation-vz42csha.js +0 -257
  477. /package/dist/chunks/{file-mutation-8sxdqgb0.js → file-mutation-0ks2n9jf.js} +0 -0
  478. /package/dist/chunks/{file-mutation-9s6n3p5d.js → file-mutation-245k30ek.js} +0 -0
  479. /package/dist/chunks/{file-mutation-rf80fxgj.js → file-mutation-2cmv458r.js} +0 -0
  480. /package/dist/chunks/{file-mutation-034tev2y.js → file-mutation-aj7mw0zk.js} +0 -0
  481. /package/dist/chunks/{file-mutation-29kdrth0.js → file-mutation-rmyqj6m3.js} +0 -0
  482. /package/dist/chunks/{file-mutation-51wwr1cb.js → file-mutation-yj6jvem3.js} +0 -0
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-mutation-0fn7fmmf.js";
3
+ } from "./file-mutation-xcfcjf9d.js";
4
4
  import {
5
5
  Service85
6
- } from "./file-mutation-q1xw7kgx.js";
6
+ } from "./file-mutation-q7717vr4.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./file-mutation-s4rs4ktr.js";
9
+ Event18
10
+ } from "./file-mutation-9q4552st.js";
11
11
  import {
12
12
  key2
13
- } from "./file-mutation-rrad2nt9.js";
13
+ } from "./file-mutation-bjhzkqyk.js";
14
14
  import {
15
- ID16,
15
+ ID14,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./file-mutation-vxnb1daw.js";
18
+ } from "./file-mutation-dzgdh8q8.js";
19
19
  import {
20
- Service15
21
- } from "./file-mutation-vm0wcjea.js";
20
+ Service47
21
+ } from "./file-mutation-eskv2f81.js";
22
22
  import {
23
23
  ID13,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./file-mutation-pafr3hmb.js";
26
+ } from "./file-mutation-5pex491w.js";
27
27
  import {
28
28
  mergeCapabilities2
29
- } from "./file-mutation-hrwtt92m.js";
29
+ } from "./file-mutation-s5ypg3ex.js";
30
30
  import {
31
31
  supports2,
32
- resolve2
33
- } from "./file-mutation-v6x8rhc3.js";
32
+ resolve4
33
+ } from "./file-mutation-21et416z.js";
34
34
  import {
35
35
  InvalidRequestError2,
36
- UnavailableError4,
37
- Service81
38
- } from "./file-mutation-2qv8esx8.js";
36
+ UnavailableError2,
37
+ Service13
38
+ } from "./file-mutation-vamt18wv.js";
39
39
  import {
40
- ID4,
40
+ ID3,
41
41
  Input14,
42
42
  Response2
43
- } from "./file-mutation-1qgwrgfd.js";
43
+ } from "./file-mutation-egsctaqy.js";
44
44
 
45
45
  // src/plugin/provider/opencode.ts
46
46
  import {
@@ -78,7 +78,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
78
78
  var RemoteResponse = Schema.Struct({
79
79
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
80
80
  websearch: Schema.Struct({
81
- providerID: ID4
81
+ providerID: ID3
82
82
  }).pipe(Schema.optional),
83
83
  mcp: Schema.Struct({
84
84
  servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
@@ -136,7 +136,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
136
136
  }
137
137
  function oauth(http) {
138
138
  return {
139
- integrationID: ID16.make("opencode"),
139
+ integrationID: ID14.make("opencode"),
140
140
  method: {
141
141
  id: methodID,
142
142
  type: "oauth",
@@ -204,8 +204,8 @@ var OpencodePlugin2 = define({
204
204
  const bus = yield* Service85;
205
205
  const client = yield* HttpClient.HttpClient;
206
206
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
207
- const managed = yield* Service15;
208
- const voice = yield* Service81;
207
+ const managed = yield* Service47;
208
+ const voice = yield* Service13;
209
209
  const scope = yield* Scope.Scope;
210
210
  const loading = Semaphore.makeUnsafe(1);
211
211
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -257,22 +257,22 @@ var OpencodePlugin2 = define({
257
257
  }).pipe(Effect.provideService(FetchHttpClient.RequestInit, { redirect: "error" }), Effect.scoped, Effect.timeoutOrElse({
258
258
  duration: Duration.seconds(20),
259
259
  orElse: () => Effect.fail(new Error("OpenCode Console didn't answer in time"))
260
- }), Effect.mapError((cause) => new UnavailableError4({
260
+ }), Effect.mapError((cause) => new UnavailableError2({
261
261
  service: "opencode",
262
262
  message: cause instanceof Error ? cause.message : String(cause)
263
263
  })), Effect.flatMap((reply) => {
264
264
  if (reply.status >= 200 && reply.status < 300)
265
265
  return Effect.succeed(reply.text);
266
266
  if (reply.status === 401)
267
- return Effect.fail(new UnavailableError4({ service: "opencode", message: `${signedOutMessage}.` }));
267
+ return Effect.fail(new UnavailableError2({ service: "opencode", message: `${signedOutMessage}.` }));
268
268
  const message = Option.getOrUndefined(Schema.decodeUnknownOption(InferenceError)(reply.text))?.error.message ?? `OpenCode Console refused the voice request (HTTP ${reply.status})`;
269
- return Effect.fail(reply.status === 400 || reply.status === 404 ? new InvalidRequestError2({ message }) : new UnavailableError4({ service: "opencode", message }));
269
+ return Effect.fail(reply.status === 400 || reply.status === 404 ? new InvalidRequestError2({ message }) : new UnavailableError2({ service: "opencode", message }));
270
270
  }));
271
271
  return {
272
272
  integration: "opencode",
273
273
  models: offer.models,
274
274
  workspace: offer.workspace,
275
- session: (input) => send("/live/sessions", { session: { ...input.session, model: input.model }, transport: input.transport }).pipe(Effect.flatMap((text) => Schema.decodeUnknownEffect(LiveSession)(text).pipe(Effect.mapError(() => new UnavailableError4({
275
+ session: (input) => send("/live/sessions", { session: { ...input.session, model: input.model }, transport: input.transport }).pipe(Effect.flatMap((text) => Schema.decodeUnknownEffect(LiveSession)(text).pipe(Effect.mapError(() => new UnavailableError2({
276
276
  service: "opencode",
277
277
  message: "OpenCode Console returned an invalid voice session"
278
278
  })))), Effect.map((created) => ({
@@ -306,7 +306,7 @@ var OpencodePlugin2 = define({
306
306
  providers.update(providerID, (provider) => {
307
307
  if (source && source.provider !== provider)
308
308
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
309
- provider.integrationID = ID16.make("opencode");
309
+ provider.integrationID = ID14.make("opencode");
310
310
  if (item.canonical !== undefined)
311
311
  provider.canonical = item.canonical;
312
312
  if (item.name !== undefined)
@@ -344,7 +344,7 @@ var OpencodePlugin2 = define({
344
344
  providers.models.update(providerID, modelID, (model) => {
345
345
  if (config.capabilities?.reasoning !== undefined)
346
346
  model.variants = [
347
- ...resolve2({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
347
+ ...resolve4({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
348
348
  ];
349
349
  for (const variant of config.variants ?? []) {
350
350
  let existing = model.variants.find((item) => item.id === variant.id);
@@ -492,7 +492,7 @@ var OpencodePlugin2 = define({
492
492
  onlyIfMissing: true
493
493
  });
494
494
  });
495
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
495
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
496
496
  yield* poll();
497
497
  })
498
498
  });
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service65
3
- } from "./file-mutation-b8wpdthk.js";
2
+ Service37
3
+ } from "./file-mutation-epgj3jkd.js";
4
4
  import {
5
- Service41
6
- } from "./file-mutation-sbegqkxp.js";
5
+ Service42
6
+ } from "./file-mutation-6nc585nh.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./file-mutation-a610t88q.js";
9
+ } from "./file-mutation-ezna1kdx.js";
10
10
  import {
11
11
  __export
12
12
  } from "./file-mutation-9rqn6x4v.js";
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service41;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service65), instances.provide(input.session));
22
+ const instances = yield* Service42;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service37), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -9,7 +9,7 @@ import {
9
9
  } from "./file-mutation-5fjb7ams.js";
10
10
  import {
11
11
  contentFilterError2
12
- } from "./file-mutation-n5h7v18c.js";
12
+ } from "./file-mutation-85p7gfn7.js";
13
13
 
14
14
  // src/session/runner/publish-llm-event.ts
15
15
  import { isRecord } from "@opencode/ai/utils/record";
@@ -1,66 +1,66 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./file-mutation-q1xw7kgx.js";
4
+ } from "./file-mutation-q7717vr4.js";
5
5
  import {
6
- Service78,
7
- node82
8
- } from "./file-mutation-57k3rf66.js";
6
+ Service82,
7
+ node86
8
+ } from "./file-mutation-m6btfgkq.js";
9
9
  import {
10
- Service72,
11
- node76
12
- } from "./file-mutation-3jt9gp25.js";
10
+ Service57,
11
+ node60
12
+ } from "./file-mutation-2hbghhry.js";
13
13
  import {
14
- NotFoundError9
15
- } from "./file-mutation-gx0r2313.js";
14
+ NotFoundError7
15
+ } from "./file-mutation-5rxgzxpx.js";
16
16
  import {
17
- Service69,
18
- node73
19
- } from "./file-mutation-cg703a76.js";
17
+ Service55,
18
+ node58
19
+ } from "./file-mutation-wdh6vgg0.js";
20
20
  import {
21
21
  match2
22
22
  } from "./file-mutation-z38nccrw.js";
23
23
  import {
24
- Service70,
25
- node74
26
- } from "./file-mutation-rt3jy22f.js";
24
+ Service56,
25
+ node59
26
+ } from "./file-mutation-5fvmg1r1.js";
27
27
  import {
28
- Service71,
29
- node75
30
- } from "./file-mutation-nad4mkqt.js";
28
+ Service68,
29
+ node71
30
+ } from "./file-mutation-45t4pvv9.js";
31
31
  import {
32
32
  __export
33
33
  } from "./file-mutation-9rqn6x4v.js";
34
34
 
35
35
  // src/permission.ts
36
- var exports_permission2 = {};
37
- __export(exports_permission2, {
36
+ var exports_permission = {};
37
+ __export(exports_permission, {
38
38
  BlockedError: () => BlockedError2,
39
39
  CorrectedError: () => CorrectedError2,
40
40
  DeclinedError: () => DeclinedError2,
41
41
  Effect: () => PermissionEffect,
42
- Event: () => Event13,
43
- ID: () => ID8,
44
- NotFoundError: () => NotFoundError8,
45
- Permission: () => exports_permission2,
42
+ Event: () => Event11,
43
+ ID: () => ID7,
44
+ NotFoundError: () => NotFoundError6,
45
+ Permission: () => exports_permission,
46
46
  Reply: () => Reply2,
47
47
  Request: () => Request2,
48
- Rule: () => Rule3,
48
+ Rule: () => Rule2,
49
49
  Ruleset: () => Ruleset2,
50
- Service: () => Service68,
50
+ Service: () => Service54,
51
51
  Source: () => Source5,
52
52
  evaluate: () => evaluate2,
53
53
  merge: () => merge2,
54
- node: () => node72
54
+ node: () => node57
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
57
57
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
58
58
  import { Permission } from "@opencode/schema/permission";
59
- import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
60
- import { Event as Event13 } from "@opencode/schema/permission";
59
+ import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
60
+ import { Event as Event11 } from "@opencode/schema/permission";
61
61
  var PermissionEffect = Permission.Effect;
62
62
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
63
- var ID8 = Permission.ID;
63
+ var ID7 = Permission.ID;
64
64
  var Source5 = Permission.Source;
65
65
  var Request2 = Permission.Request;
66
66
  var Reply2 = Permission.Reply;
@@ -84,8 +84,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
84
84
  }
85
85
  }
86
86
 
87
- class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
88
- requestID: ID8
87
+ class NotFoundError6 extends Schema.TaggedError()("Permission.NotFoundError", {
88
+ requestID: ID7
89
89
  }) {
90
90
  }
91
91
  function evaluate2(action, resource, ...rulesets) {
@@ -99,15 +99,15 @@ function merge2(...rulesets) {
99
99
  return rulesets.flat();
100
100
  }
101
101
 
102
- class Service68 extends Context.Service()("@opencode/Permission") {
102
+ class Service54 extends Context.Service()("@opencode/Permission") {
103
103
  }
104
- var layer = Layer.effect(Service68, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
105
105
  const bus = yield* Service85;
106
- const location = yield* Service78;
107
- const agents = yield* Service72;
108
- const sessions = yield* Service69;
109
- const saved = yield* Service70;
110
- const hooks = yield* Service71;
106
+ const location = yield* Service82;
107
+ const agents = yield* Service57;
108
+ const sessions = yield* Service55;
109
+ const saved = yield* Service56;
110
+ const hooks = yield* Service68;
111
111
  const pending = new Map;
112
112
  let closed = false;
113
113
  const close = Effect.gen(function* () {
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
130
130
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
131
131
  const session = yield* sessions.get(sessionID);
132
132
  if (!session)
133
- return yield* new NotFoundError9({ sessionID });
133
+ return yield* new NotFoundError7({ sessionID });
134
134
  const agent = yield* agents.resolve(agentID ?? session.agent);
135
135
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
136
136
  });
@@ -160,7 +160,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
160
160
  });
161
161
  function request(input, message) {
162
162
  return {
163
- id: input.id ?? ID8.create(),
163
+ id: input.id ?? ID7.create(),
164
164
  sessionID: input.sessionID,
165
165
  action: input.action,
166
166
  resources: input.resources,
@@ -185,7 +185,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
185
185
  }));
186
186
  const ask = Effect.fn("Permission.ask")(function* (input) {
187
187
  if (closed)
188
- return { id: input.id ?? ID8.create(), effect: "deny" };
188
+ return { id: input.id ?? ID7.create(), effect: "deny" };
189
189
  const result = yield* evaluateInput(input);
190
190
  const value = request(input, result.message);
191
191
  if (result.effect === "ask")
@@ -216,7 +216,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
216
216
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
217
217
  const existing = pending.get(input.requestID);
218
218
  if (!existing)
219
- return yield* new NotFoundError8({ requestID: input.requestID });
219
+ return yield* new NotFoundError6({ requestID: input.requestID });
220
220
  yield* bus.publish(Permission.Event.Replied, {
221
221
  sessionID: existing.request.sessionID,
222
222
  requestID: existing.request.id,
@@ -271,12 +271,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
271
271
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
272
272
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
273
273
  });
274
- return Service68.of({ ask, assert, reply, get, forSession, list, close });
274
+ return Service54.of({ ask, assert, reply, get, forSession, list, close });
275
275
  }));
276
- var node72 = makeLocationNode({
277
- service: Service68,
276
+ var node57 = makeLocationNode({
277
+ service: Service54,
278
278
  layer,
279
- deps: [node89, node82, node76, node73, node74, node75]
279
+ deps: [node89, node86, node60, node58, node59, node71]
280
280
  });
281
281
 
282
- export { PermissionEffect, ID8, Source5, Request2, Reply2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service68, node72, exports_permission2, Rule3, Ruleset2, Event13 };
282
+ export { PermissionEffect, ID7, Source5, Request2, Reply2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service54, node57, exports_permission, Rule2, Ruleset2, Event11 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- ID10,
3
- Service72
4
- } from "./file-mutation-3jt9gp25.js";
2
+ ID9,
3
+ Service57
4
+ } from "./file-mutation-2hbghhry.js";
5
5
  import {
6
- Service78
7
- } from "./file-mutation-57k3rf66.js";
6
+ Service82
7
+ } from "./file-mutation-m6btfgkq.js";
8
8
  import {
9
- Service55
10
- } from "./file-mutation-jd41cg63.js";
9
+ Service63
10
+ } from "./file-mutation-abn7vnge.js";
11
11
  import {
12
- Service48,
12
+ Service65,
13
13
  args2
14
- } from "./file-mutation-2jmbxqq8.js";
14
+ } from "./file-mutation-9fs0fy5y.js";
15
15
  import {
16
- Service22
17
- } from "./file-mutation-5rv30s6t.js";
16
+ Service21
17
+ } from "./file-mutation-h99q40g3.js";
18
18
  import {
19
- Service6
20
- } from "./file-mutation-yk7z3cd9.js";
19
+ Service8
20
+ } from "./file-mutation-z3789qry.js";
21
21
  import {
22
22
  parseOption2
23
23
  } from "./file-mutation-e834z07m.js";
@@ -29,7 +29,7 @@ import {
29
29
  var exports_command = {};
30
30
  __export(exports_command, {
31
31
  ConfigCommandPlugin: () => exports_command,
32
- Plugin: () => Plugin18
32
+ Plugin: () => Plugin27
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -39,10 +39,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
39
39
  import { ChildProcess } from "effect/process";
40
40
  import { FSUtil } from "@opencode/util/fs-util";
41
41
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
42
- var Plugin18 = define({
42
+ var Plugin27 = define({
43
43
  id: "opencode.config.command",
44
44
  effect: Effect.fn(function* (ctx) {
45
- const config = yield* Service55;
45
+ const config = yield* Service63;
46
46
  const fs = yield* FSUtil.Service;
47
47
  const loadEntry = Effect.fnUntraced(function* (entry) {
48
48
  if (entry.type === "document")
@@ -52,12 +52,12 @@ var Plugin18 = define({
52
52
  const commands = yield* loadDirectory(fs, entry.path);
53
53
  return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
54
54
  });
55
- const location = yield* Service78;
55
+ const location = yield* Service82;
56
56
  const processes = yield* AppProcess.Service;
57
- const shell = yield* Service48;
58
- const sessions = yield* Service22;
59
- const agents = yield* Service72;
60
- const subagents = yield* Service6;
57
+ const shell = yield* Service65;
58
+ const sessions = yield* Service21;
59
+ const agents = yield* Service57;
60
+ const subagents = yield* Service8;
61
61
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
62
62
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
63
63
  });
@@ -78,7 +78,7 @@ var Plugin18 = define({
78
78
  name,
79
79
  description: command.description,
80
80
  execute: (input) => Effect.gen(function* () {
81
- const agent = command.agent === undefined ? undefined : ID10.make(command.agent);
81
+ const agent = command.agent === undefined ? undefined : ID9.make(command.agent);
82
82
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
83
83
  const model = command.model === undefined ? commandAgent?.model : {
84
84
  id: command.model.model,
@@ -202,4 +202,4 @@ var placeholderRegex = /\$(\d+)/g;
202
202
  var quoteTrimRegex = /^["']|["']$/g;
203
203
  var shellRegex = /!`([^`]+)`/g;
204
204
 
205
- export { Plugin18, exports_command };
205
+ export { Plugin27, exports_command };
@@ -2,11 +2,11 @@ import {
2
2
  ephemeral2,
3
3
  Service85,
4
4
  node89
5
- } from "./file-mutation-q1xw7kgx.js";
5
+ } from "./file-mutation-q7717vr4.js";
6
6
  import {
7
- Service58,
8
- node61
9
- } from "./file-mutation-p7bm53gt.js";
7
+ Service67,
8
+ node70
9
+ } from "./file-mutation-fm0kc2vz.js";
10
10
  import {
11
11
  __export
12
12
  } from "./file-mutation-9rqn6x4v.js";
@@ -16,14 +16,14 @@ var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event11,
19
+ Event: () => Event13,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service57,
22
+ Service: () => Service66,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node60,
26
- resolve: () => resolve4
25
+ node: () => node69,
26
+ resolve: () => resolve3
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service57 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service66 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event11 = {
51
+ var Event13 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var requestTimeout = "15 seconds";
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
57
57
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
58
58
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
59
59
  });
60
- var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
60
+ var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
61
61
  const manifest = yield* inspect2(input.origin);
62
62
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
63
63
  });
@@ -79,9 +79,9 @@ var Sources = Schema.Array(Schema.String);
79
79
  var manifestKey = (origin) => `wellknown:manifest:${origin}`;
80
80
  var configKey = (origin) => `wellknown:config:${origin}`;
81
81
  var Configs = Schema.Array(Config2);
82
- var layer = Layer.effect(Service57, Effect.gen(function* () {
82
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
83
83
  const http = yield* HttpClient.HttpClient;
84
- const kv = yield* Service58;
84
+ const kv = yield* Service67;
85
85
  const bus = yield* Service85;
86
86
  const cache = yield* Ref.make(new Map);
87
87
  const lock = Semaphore.makeUnsafe(1);
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
113
113
  if (!changed)
114
114
  return false;
115
115
  yield* Ref.set(cache, next);
116
- yield* bus.publish(Event11.Updated, {}, { global: true });
116
+ yield* bus.publish(Event13.Updated, {}, { global: true });
117
117
  return true;
118
118
  }, (effect) => lock.withPermit(effect));
119
- return Service57.of({
119
+ return Service66.of({
120
120
  entries: load,
121
121
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
122
122
  refresh,
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
129
129
  const origins = Schema.is(Sources)(sources) ? sources : [];
130
130
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
131
131
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
132
- yield* bus.publish(Event11.Updated, {}, { global: true });
132
+ yield* bus.publish(Event13.Updated, {}, { global: true });
133
133
  return entry;
134
134
  }, (effect, _value) => lock.withPermit(effect)),
135
135
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
144
144
  next.delete(origin);
145
145
  return next;
146
146
  });
147
- yield* bus.publish(Event11.Updated, {}, { global: true });
147
+ yield* bus.publish(Event13.Updated, {}, { global: true });
148
148
  }, (effect, _value) => lock.withPermit(effect)),
149
149
  resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
150
150
  const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
157
157
  })
158
158
  });
159
159
  }));
160
- var node60 = makeGlobalNode({ service: Service57, layer, deps: [httpClient, node61, node89] });
160
+ var node69 = makeGlobalNode({ service: Service66, layer, deps: [httpClient, node70, node89] });
161
161
 
162
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service57, Event11, inspect2, resolve4, node60, exports_wellknown };
162
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service66, Event13, inspect2, resolve3, node69, exports_wellknown };
@@ -7,7 +7,7 @@ var exports_connection = {};
7
7
  __export(exports_connection, {
8
8
  CredentialInfo: () => CredentialInfo2,
9
9
  EnvInfo: () => EnvInfo2,
10
- Info: () => Info27,
10
+ Info: () => Info24,
11
11
  IntegrationConnection: () => exports_connection,
12
12
  Status: () => Status3,
13
13
  key: () => key2
@@ -15,7 +15,7 @@ __export(exports_connection, {
15
15
  import { Connection } from "@opencode/schema/connection";
16
16
  var CredentialInfo2 = Connection.CredentialInfo;
17
17
  var EnvInfo2 = Connection.EnvInfo;
18
- var Info27 = Connection.Info;
18
+ var Info24 = Connection.Info;
19
19
  var Status3 = Connection.Status;
20
20
  function key2(connection) {
21
21
  if (!connection)
@@ -23,4 +23,4 @@ function key2(connection) {
23
23
  return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
24
24
  }
25
25
 
26
- export { CredentialInfo2, EnvInfo2, Info27, Status3, key2, exports_connection };
26
+ export { CredentialInfo2, EnvInfo2, Info24, Status3, key2, exports_connection };