@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,43 +1,43 @@
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
- Service63,
11
- node66
12
- } from "./file-mutation-jfqpy2va.js";
10
+ Service73,
11
+ node76
12
+ } from "./file-mutation-535rzh00.js";
13
13
  import {
14
14
  cleanup3
15
15
  } from "./file-mutation-tczq8hjw.js";
16
16
  import {
17
- Service48,
17
+ Service65,
18
18
  args2,
19
- node50
20
- } from "./file-mutation-2jmbxqq8.js";
19
+ node68
20
+ } from "./file-mutation-9fs0fy5y.js";
21
21
  import {
22
- Service71,
23
- node75
24
- } from "./file-mutation-nad4mkqt.js";
22
+ Service68,
23
+ node71
24
+ } from "./file-mutation-45t4pvv9.js";
25
25
  import {
26
- Service43,
27
- node45
28
- } from "./file-mutation-00zh2tpm.js";
26
+ Service61,
27
+ node64
28
+ } from "./file-mutation-s6p20e1k.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./file-mutation-vx3jgdek.js";
31
+ } from "./file-mutation-my4zabxr.js";
32
32
  import {
33
33
  latest2,
34
- Service55,
35
- node57
36
- } from "./file-mutation-jd41cg63.js";
34
+ Service63,
35
+ node66
36
+ } from "./file-mutation-abn7vnge.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./file-mutation-9vyfkg2v.js";
40
+ } from "./file-mutation-s9ty2h8k.js";
41
41
  import {
42
42
  __export
43
43
  } from "./file-mutation-9rqn6x4v.js";
@@ -46,12 +46,12 @@ import {
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError5,
49
+ NotFoundError: () => NotFoundError9,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service42,
51
+ Service: () => Service60,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node44
54
+ node: () => node63
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError9 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service42 extends Context.Service()("@opencode/Shell") {
74
+ class Service60 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service42, Effect.gen(function* () {
90
+ var layer = () => Layer.effect(Service60, Effect.gen(function* () {
91
91
  const bus = yield* Service85;
92
- const location = yield* Service78;
92
+ const location = yield* Service82;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service48;
95
- const environment = yield* Service63;
96
- const hooks = yield* Service71;
97
- const environments = yield* Service43;
98
- const config = yield* Service55;
94
+ const shell = yield* Service65;
95
+ const environment = yield* Service73;
96
+ const hooks = yield* Service68;
97
+ const environments = yield* Service61;
98
+ const config = yield* Service63;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError5({ id });
119
+ return yield* new NotFoundError9({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError5({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError9({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  if (command.info.status === "running")
135
135
  yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
@@ -336,22 +336,22 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
336
336
  const command = yield* Deferred.await(ready);
337
337
  return command.info;
338
338
  });
339
- return Service42.of({ create, list, get, wait, result, timeout, output, remove });
339
+ return Service60.of({ create, list, get, wait, result, timeout, output, remove });
340
340
  }));
341
- var node44 = makeLocationNode({
342
- service: Service42,
341
+ var node63 = makeLocationNode({
342
+ service: Service60,
343
343
  layer: layer(),
344
344
  deps: [
345
345
  node89,
346
- node82,
346
+ node86,
347
347
  Global.node,
348
- node50,
348
+ node68,
349
+ node76,
350
+ node71,
351
+ node64,
349
352
  node66,
350
- node75,
351
- node45,
352
- node57,
353
353
  cleanupNode
354
354
  ]
355
355
  });
356
356
 
357
- export { NotFoundError5, RETENTION2, DIRECTORY2, Service42, cleanup2, node44, exports_shell4 };
357
+ export { NotFoundError9, RETENTION2, DIRECTORY2, Service60, cleanup2, node63, exports_shell4 };
@@ -11,19 +11,19 @@ import {
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options6,
15
- Service: () => Service48,
14
+ Options: () => Options8,
15
+ Service: () => Service65,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured6,
18
+ configured: () => configured9,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name16,
24
- node: () => node50,
24
+ node: () => node68,
25
25
  ps: () => ps2,
26
- resolve: () => resolve3
26
+ resolve: () => resolve2
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options6 = Schema.Struct({
46
+ var Options8 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service48 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service65 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve3(input, configShell, options, bin) {
167
+ function resolve2(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,7 +180,7 @@ function resolve3(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve3.reset = () => {
183
+ resolve2.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
@@ -188,7 +188,7 @@ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service48, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service65, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service48, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service48.of({
202
+ return Service65.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
205
+ resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
206
206
  list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured6(options) {
210
- return makeLocationNode({ service: Service48, layer: layer(options), deps: [Global.node] });
209
+ function configured9(options) {
210
+ return makeLocationNode({ service: Service65, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node50 = configured6();
212
+ var node68 = configured9();
213
213
 
214
- export { Options6, Service48, gitbash2, name16, login2, ps2, args2, environment2, resolve3, list4, configured6, node50, exports_select };
214
+ export { Options8, Service65, gitbash2, name16, login2, ps2, args2, environment2, resolve2, list4, configured9, node68, exports_select };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./file-mutation-f10m4awg.js";
4
+ } from "./file-mutation-5xn9952g.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./file-mutation-q1xw7kgx.js";
8
+ } from "./file-mutation-q7717vr4.js";
9
9
  import {
10
10
  CredentialTable2
11
11
  } from "./file-mutation-pknna89w.js";
@@ -20,15 +20,15 @@ import {
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event19,
23
+ Event: () => Event18,
24
24
  External: () => External2,
25
- ID: () => ID17,
26
- Info: () => Info28,
25
+ ID: () => ID15,
26
+ Info: () => Info25,
27
27
  Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service83,
29
+ Service: () => Service78,
30
30
  Value: () => Value2,
31
- node: () => node87
31
+ node: () => node82
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Layer, Schema } from "effect";
@@ -36,31 +36,31 @@ import { Credential } from "@opencode/schema/credential";
36
36
  import { CredentialLegacy } from "@opencode/schema/credential-legacy";
37
37
  import { Integration } from "@opencode/schema/integration";
38
38
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
39
- var ID17 = Credential.ID;
39
+ var ID15 = Credential.ID;
40
40
  var OAuth3 = Credential.OAuth;
41
41
  var Key4 = Credential.Key;
42
42
  var External2 = Credential.External;
43
43
  var Value2 = Credential.Value;
44
- var Event19 = Credential.Event;
44
+ var Event18 = Credential.Event;
45
45
 
46
- class Info28 extends Schema.Class("Credential.Info")({
47
- id: ID17,
46
+ class Info25 extends Schema.Class("Credential.Info")({
47
+ id: ID15,
48
48
  integrationID: Integration.ID,
49
49
  label: Schema.String,
50
50
  value: Value2
51
51
  }) {
52
52
  }
53
53
 
54
- class Service83 extends Context.Service()("@opencode/Credential") {
54
+ class Service78 extends Context.Service()("@opencode/Credential") {
55
55
  }
56
- var layer = Layer.effect(Service83, Effect.gen(function* () {
56
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
57
57
  const db = (yield* Service86).db;
58
58
  const bus = yield* Service85;
59
59
  const decode = Schema.decodeUnknownSync(CredentialLegacy.Value);
60
60
  const stored = (row) => {
61
61
  if (!row.integration_id)
62
62
  return;
63
- return new Info28({
63
+ return new Info25({
64
64
  id: row.id,
65
65
  integrationID: row.integration_id,
66
66
  label: row.label,
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
71
71
  const credential = stored(row);
72
72
  return credential ? [credential] : [];
73
73
  });
74
- return Service83.of({
74
+ return Service78.of({
75
75
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
76
76
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
77
77
  get: Effect.fn("Credential.get")(function* (id) {
@@ -79,8 +79,8 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
79
79
  return row ? stored(row) : undefined;
80
80
  }),
81
81
  create: Effect.fn("Credential.create")(function* (input) {
82
- const credential = new Info28({
83
- id: input.id ?? ID17.create(),
82
+ const credential = new Info25({
83
+ id: input.id ?? ID15.create(),
84
84
  integrationID: input.integrationID,
85
85
  label: input.label ?? "default",
86
86
  value: input.value
@@ -111,9 +111,9 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
111
111
  type: credential.value.type,
112
112
  active: activated
113
113
  });
114
- yield* bus.publish(Event19.Updated, {}, { global: true });
114
+ yield* bus.publish(Event18.Updated, {}, { global: true });
115
115
  if (activated)
116
- yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
116
+ yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
117
117
  return credential;
118
118
  }),
119
119
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -133,7 +133,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
133
133
  })), Effect.orDie);
134
134
  if (integrationID) {
135
135
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
136
- yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
136
+ yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
137
137
  }
138
138
  }),
139
139
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
165
165
  labelChanged: updates.label !== undefined && updates.label !== credential.label
166
166
  });
167
167
  if (updates.label !== undefined && updates.label !== credential.label)
168
- yield* bus.publish(Event19.Updated, {}, { global: true });
168
+ yield* bus.publish(Event18.Updated, {}, { global: true });
169
169
  }),
170
170
  remove: Effect.fn("Credential.remove")(function* (id) {
171
171
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -198,12 +198,12 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
198
198
  active: removed.switched,
199
199
  ...removed.switched ? { replacementID: removed.credentialID } : {}
200
200
  });
201
- yield* bus.publish(Event19.Updated, {}, { global: true });
201
+ yield* bus.publish(Event18.Updated, {}, { global: true });
202
202
  if (removed.switched)
203
- yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
203
+ yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
204
204
  })
205
205
  });
206
206
  }));
207
- var node87 = makeGlobalNode({ service: Service83, layer, deps: [node90, node89] });
207
+ var node82 = makeGlobalNode({ service: Service78, layer, deps: [node90, node89] });
208
208
 
209
- export { ID17, OAuth3, Key4, External2, Value2, Event19, Info28, Service83, node87, exports_credential };
209
+ export { ID15, OAuth3, Key4, External2, Value2, Event18, Info25, Service78, node82, exports_credential };
@@ -3,17 +3,17 @@ import {
3
3
  } from "./file-mutation-z5v4ffb3.js";
4
4
  import {
5
5
  Entries2,
6
- Info13
7
- } from "./file-mutation-d2dx6a7h.js";
6
+ Info17
7
+ } from "./file-mutation-w35wzz9x.js";
8
8
  import {
9
9
  __export
10
10
  } from "./file-mutation-9rqn6x4v.js";
11
11
 
12
12
  // src/v1/config/agent.ts
13
- var exports_agent3 = {};
14
- __export(exports_agent3, {
15
- ConfigAgentV1: () => exports_agent3,
16
- Info: () => Info12
13
+ var exports_agent4 = {};
14
+ __export(exports_agent4, {
15
+ ConfigAgentV1: () => exports_agent4,
16
+ Info: () => Info16
17
17
  });
18
18
  import { Schema, SchemaGetter } from "effect";
19
19
  var Color = Schema.Union([
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
45
45
  description: "Maximum number of agentic iterations before forcing text-only response"
46
46
  }),
47
47
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
48
- permission: Schema.optional(Info13)
48
+ permission: Schema.optional(Info17)
49
49
  }), [Schema.Record(Schema.String, Schema.Any)]);
50
50
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
51
51
  var normalize = (agent) => {
@@ -64,9 +64,9 @@ var normalize = (agent) => {
64
64
  const steps = agent.steps ?? agent.maxSteps;
65
65
  return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
66
66
  };
67
- var Info12 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
67
+ var Info16 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
68
68
  decode: SchemaGetter.transform(normalize),
69
69
  encode: SchemaGetter.passthrough({ strict: false })
70
70
  })).annotate({ identifier: "AgentConfig" });
71
71
 
72
- export { Info12, exports_agent3 };
72
+ export { Info16, exports_agent4 };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service72
3
- } from "./file-mutation-3jt9gp25.js";
2
+ Service57
3
+ } from "./file-mutation-2hbghhry.js";
4
4
  import {
5
5
  Ref2,
6
6
  Service75
7
- } from "./file-mutation-hrwtt92m.js";
7
+ } from "./file-mutation-s5ypg3ex.js";
8
8
  import {
9
9
  latest2,
10
- Service55
11
- } from "./file-mutation-jd41cg63.js";
10
+ Service63
11
+ } from "./file-mutation-abn7vnge.js";
12
12
  import {
13
13
  SessionSchema2
14
- } from "./file-mutation-vx3jgdek.js";
14
+ } from "./file-mutation-my4zabxr.js";
15
15
  import {
16
- Service54
17
- } from "./file-mutation-tn2pqadg.js";
16
+ Service43
17
+ } from "./file-mutation-3ek3wb4s.js";
18
18
  import {
19
19
  evaluate2,
20
- Service68
21
- } from "./file-mutation-kp4a0nkj.js";
20
+ Service54
21
+ } from "./file-mutation-bgmahzg8.js";
22
22
  import {
23
- Service22
24
- } from "./file-mutation-5rv30s6t.js";
23
+ Service21
24
+ } from "./file-mutation-h99q40g3.js";
25
25
  import {
26
26
  NO_TEXT2
27
27
  } from "./file-mutation-sqjzf8x2.js";
28
28
  import {
29
- Service6
30
- } from "./file-mutation-yk7z3cd9.js";
29
+ Service8
30
+ } from "./file-mutation-z3789qry.js";
31
31
  import {
32
32
  __export
33
33
  } from "./file-mutation-9rqn6x4v.js";
@@ -35,16 +35,16 @@ import {
35
35
  // src/tool/plugin/subagent.ts
36
36
  var exports_subagent = {};
37
37
  __export(exports_subagent, {
38
- Input: () => Input6,
39
- Output: () => Output4,
40
- Plugin: () => Plugin25,
38
+ Input: () => Input9,
39
+ Output: () => Output7,
40
+ Plugin: () => Plugin11,
41
41
  SubagentTool: () => exports_subagent,
42
42
  description: () => description4,
43
- name: () => name6
43
+ name: () => name9
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { Effect, Predicate, Schema } from "effect";
47
- var name6 = "subagent";
47
+ var name9 = "subagent";
48
48
  var backgroundResult = (sessionID) => ({
49
49
  sessionID,
50
50
  status: "running",
@@ -55,7 +55,7 @@ var backgroundResult = (sessionID) => ({
55
55
  ].join(`
56
56
  `)
57
57
  });
58
- var Input6 = Schema.Struct({
58
+ var Input9 = Schema.Struct({
59
59
  agent: Schema.String.annotate({
60
60
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
61
61
  }),
@@ -71,7 +71,7 @@ var Input6 = Schema.Struct({
71
71
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
72
72
  })
73
73
  });
74
- var Output4 = Schema.Struct({
74
+ var Output7 = Schema.Struct({
75
75
  sessionID: SessionSchema2.ID,
76
76
  status: Schema.Literals(["completed", "running"]),
77
77
  output: Schema.String
@@ -85,16 +85,16 @@ var description4 = [
85
85
  "Use background only for independent work that can run while you continue elsewhere."
86
86
  ].join(`
87
87
  `);
88
- var Plugin25 = {
88
+ var Plugin11 = {
89
89
  id: "opencode.tool.subagent",
90
90
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
91
- const sessions = yield* Service22;
92
- const jobs = yield* Service54;
93
- const agents = yield* Service72;
94
- const config = yield* Service55;
95
- const permission = yield* Service68;
91
+ const sessions = yield* Service21;
92
+ const jobs = yield* Service43;
93
+ const agents = yield* Service57;
94
+ const config = yield* Service63;
95
+ const permission = yield* Service54;
96
96
  const models = yield* Service75;
97
- const subagents = yield* Service6;
97
+ const subagents = yield* Service8;
98
98
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
99
99
  const ref = yield* Effect.try({
100
100
  try: () => Ref2.parse(input),
@@ -114,11 +114,11 @@ var Plugin25 = {
114
114
  return ref;
115
115
  });
116
116
  yield* ctx.tool.transform((editor) => editor.add({
117
- name: name6,
117
+ name: name9,
118
118
  options: { codemode: false },
119
119
  description: description4,
120
- input: Input6,
121
- output: Output4,
120
+ input: Input9,
121
+ output: Output7,
122
122
  execute: (input, context) => Effect.gen(function* () {
123
123
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
124
124
  let current = parent;
@@ -138,7 +138,7 @@ var Plugin25 = {
138
138
  if (agent.mode === "primary")
139
139
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
140
140
  yield* permission.assert({
141
- action: name6,
141
+ action: name9,
142
142
  resources: [agent.id],
143
143
  save: [agent.id],
144
144
  sessionID: context.sessionID,
@@ -217,7 +217,7 @@ ${output.output}
217
217
  })))
218
218
  })).pipe(Effect.orDie);
219
219
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
220
- if (event.tool !== name6 || !Predicate.isObject(event.input))
220
+ if (event.tool !== name9 || !Predicate.isObject(event.input))
221
221
  return;
222
222
  if (event.input.model !== "" && event.input.sessionID !== "")
223
223
  return;
@@ -229,13 +229,13 @@ ${output.output}
229
229
  event.input = input;
230
230
  }));
231
231
  const hook = (event) => Effect.gen(function* () {
232
- const tool = event.tools[name6];
232
+ const tool = event.tools[name9];
233
233
  if (!tool)
234
234
  return;
235
235
  const selected = yield* agents.resolve(event.agent);
236
236
  if (!selected)
237
237
  return;
238
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name6, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
238
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name9, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
239
  if (available.length === 0)
240
240
  return;
241
241
  tool.description = [
@@ -252,4 +252,4 @@ ${output.output}
252
252
  })
253
253
  };
254
254
 
255
- export { name6, Input6, Output4, description4, Plugin25, exports_subagent };
255
+ export { name9, Input9, Output7, description4, Plugin11, exports_subagent };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service55
3
- } from "./file-mutation-jd41cg63.js";
2
+ Service63
3
+ } from "./file-mutation-abn7vnge.js";
4
4
  import {
5
- Service66
6
- } from "./file-mutation-5q3wnkda.js";
5
+ Service80
6
+ } from "./file-mutation-h245t4yc.js";
7
7
  import {
8
8
  observe2
9
9
  } from "./file-mutation-6pjqjmy2.js";
@@ -15,15 +15,15 @@ import {
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin19
18
+ Plugin: () => Plugin30
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin19 = define({
22
+ var Plugin30 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service55;
26
- const image = yield* Service66;
25
+ const config = yield* Service63;
26
+ const image = yield* Service80;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin19 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin19, exports_image };
46
+ export { Plugin30, exports_image };