@opencode/core 0.0.0-dev-19400 → 0.0.0-dev-19402

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 (467) hide show
  1. package/dist/agent.js +59 -59
  2. package/dist/aisdk-native.js +2 -2
  3. package/dist/aisdk.js +6 -6
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +51 -51
  6. package/dist/catalog.js +60 -60
  7. package/dist/chunks/{worktree-ttqfmzkf.js → worktree-07gza034.js} +4 -4
  8. package/dist/chunks/{worktree-4y7f1htk.js → worktree-0a6m9zn6.js} +23 -23
  9. package/dist/chunks/{worktree-nfnn75e4.js → worktree-0bfcx7cw.js} +12 -12
  10. package/dist/chunks/{worktree-e79axaby.js → worktree-0ddfdf6h.js} +9 -9
  11. package/dist/chunks/{worktree-zfm6bwvs.js → worktree-0hjjfnva.js} +20 -20
  12. package/dist/chunks/{worktree-1k4ezpe5.js → worktree-0kjjkgrz.js} +13 -13
  13. package/dist/chunks/{worktree-63rqrmz1.js → worktree-0ms7d4ta.js} +9 -9
  14. package/dist/chunks/{worktree-sehhrc3t.js → worktree-0qzq572y.js} +3 -3
  15. package/dist/chunks/{worktree-pg7qm28t.js → worktree-12jxt57q.js} +10 -10
  16. package/dist/chunks/{worktree-f2n192rq.js → worktree-1acjjqhc.js} +3 -3
  17. package/dist/chunks/{worktree-typy0p4q.js → worktree-1aqychxq.js} +79 -79
  18. package/dist/chunks/{worktree-xe1bsykz.js → worktree-1n39waag.js} +15 -15
  19. package/dist/chunks/{worktree-kpvyk30t.js → worktree-1tjg7tvh.js} +7 -7
  20. package/dist/chunks/{worktree-33w4ejhs.js → worktree-1ygqh575.js} +4 -4
  21. package/dist/chunks/{worktree-pdjr2yqz.js → worktree-22pek6eg.js} +34 -34
  22. package/dist/chunks/{worktree-ev46nrf8.js → worktree-2t5f0p39.js} +22 -22
  23. package/dist/chunks/{worktree-1ery4yfq.js → worktree-2t5vmbg2.js} +11 -11
  24. package/dist/chunks/{worktree-b2a3xspp.js → worktree-31n43axm.js} +16 -16
  25. package/dist/chunks/{worktree-9qj7dh1c.js → worktree-37fxfkdc.js} +16 -16
  26. package/dist/chunks/{worktree-dp88awst.js → worktree-39gq0jsz.js} +14 -14
  27. package/dist/chunks/{worktree-atxwy4st.js → worktree-3gvv7fv9.js} +14 -14
  28. package/dist/chunks/{worktree-ge649byp.js → worktree-3m1vdcah.js} +16 -16
  29. package/dist/chunks/{worktree-7wbb1zn6.js → worktree-3ma48d2q.js} +20 -20
  30. package/dist/chunks/{worktree-erjxbtfh.js → worktree-47cde2b0.js} +12 -12
  31. package/dist/chunks/worktree-4arj8dq0.js +462 -0
  32. package/dist/chunks/{worktree-3gdgz9fc.js → worktree-4hs0xter.js} +5 -5
  33. package/dist/chunks/{worktree-8fp5w46m.js → worktree-4w6drx90.js} +16 -16
  34. package/dist/chunks/{worktree-rme689gw.js → worktree-4zn0m4jw.js} +3 -3
  35. package/dist/chunks/{worktree-m5y0j72z.js → worktree-530frpyx.js} +11 -11
  36. package/dist/chunks/{worktree-y1f8q6kf.js → worktree-5aq7k26p.js} +49 -49
  37. package/dist/chunks/{worktree-2njfwjb2.js → worktree-5d5n2frr.js} +35 -35
  38. package/dist/chunks/{worktree-bct739vz.js → worktree-5q02cxx3.js} +3 -3
  39. package/dist/chunks/{worktree-hm24pp5g.js → worktree-5sdemcz3.js} +7 -7
  40. package/dist/chunks/{worktree-zxq47b82.js → worktree-5t6qf0dk.js} +6 -6
  41. package/dist/chunks/{worktree-wk4gand9.js → worktree-68sfsyrr.js} +1 -1
  42. package/dist/chunks/{worktree-2bt6bea8.js → worktree-6jnybvqn.js} +7 -7
  43. package/dist/chunks/{worktree-wtf4ezaw.js → worktree-6npnztgt.js} +1 -1
  44. package/dist/chunks/{worktree-rk0ywbkq.js → worktree-721cw5cc.js} +1 -1
  45. package/dist/chunks/{worktree-tqfdrk91.js → worktree-75nkg2tt.js} +7 -7
  46. package/dist/chunks/{worktree-fq1h1v14.js → worktree-787q5hy4.js} +3 -3
  47. package/dist/chunks/{worktree-8gy8zqjj.js → worktree-7d9jba8k.js} +16 -16
  48. package/dist/chunks/{worktree-hpfvhvya.js → worktree-7m5f9412.js} +7 -7
  49. package/dist/chunks/{worktree-3a69nzm4.js → worktree-7x1jk2s0.js} +38 -38
  50. package/dist/chunks/{worktree-mqy0jkn2.js → worktree-7z7az0f5.js} +3 -3
  51. package/dist/chunks/{worktree-a31gkhvw.js → worktree-84esvpjp.js} +6 -6
  52. package/dist/chunks/{worktree-07h6kd27.js → worktree-87s6j92f.js} +18 -18
  53. package/dist/chunks/{worktree-cht86wkj.js → worktree-88nd1tx7.js} +29 -29
  54. package/dist/chunks/{worktree-z3g4xrj9.js → worktree-89y6ec7x.js} +17 -17
  55. package/dist/chunks/{worktree-44baxtt9.js → worktree-8g9sv97x.js} +19 -19
  56. package/dist/chunks/{worktree-tsc6q5nc.js → worktree-8hyjw9n3.js} +29 -29
  57. package/dist/chunks/{worktree-rs226bz6.js → worktree-8rkr9qb0.js} +5 -5
  58. package/dist/chunks/{worktree-xjqvt66n.js → worktree-8t3tghaa.js} +9 -9
  59. package/dist/chunks/{worktree-5tapvk4p.js → worktree-8tw6vjk5.js} +12 -12
  60. package/dist/chunks/{worktree-w418y777.js → worktree-9abatgz1.js} +14 -14
  61. package/dist/chunks/{worktree-gbk988mc.js → worktree-9b60vqg3.js} +19 -19
  62. package/dist/chunks/{worktree-3qdqgmdj.js → worktree-9df0z3fr.js} +12 -12
  63. package/dist/chunks/{worktree-6a5c1xrn.js → worktree-9mszsyym.js} +7 -7
  64. package/dist/chunks/{worktree-z027aptg.js → worktree-9pbhwmzz.js} +41 -41
  65. package/dist/chunks/{worktree-3trbxeqx.js → worktree-a54cm72e.js} +1 -1
  66. package/dist/chunks/{worktree-nnn1sa7c.js → worktree-a81erjcz.js} +17 -17
  67. package/dist/chunks/{worktree-c2bnm6k2.js → worktree-aw7fybkd.js} +4 -4
  68. package/dist/chunks/{worktree-cqja50m8.js → worktree-b7qepvza.js} +4 -4
  69. package/dist/chunks/{worktree-gst7axd9.js → worktree-baaqp4zd.js} +3 -3
  70. package/dist/chunks/{worktree-tsjq9kym.js → worktree-bf5zf3k6.js} +22 -22
  71. package/dist/chunks/{worktree-fxqygnfa.js → worktree-bha4atvq.js} +1 -1
  72. package/dist/chunks/{worktree-cewmsarv.js → worktree-bsn55ndq.js} +21 -21
  73. package/dist/chunks/{worktree-2gydx7a7.js → worktree-bz2gz0gx.js} +7 -7
  74. package/dist/chunks/{worktree-k2h4r4s0.js → worktree-cavr175a.js} +3 -3
  75. package/dist/chunks/{worktree-vypqtakx.js → worktree-ceanckhm.js} +1 -1
  76. package/dist/chunks/{worktree-81zaz4ac.js → worktree-cwyfgkk1.js} +39 -39
  77. package/dist/chunks/{worktree-n8fan464.js → worktree-d73e9djv.js} +27 -27
  78. package/dist/chunks/{worktree-e9x29tk8.js → worktree-d99x89gq.js} +10 -10
  79. package/dist/chunks/{worktree-93x798nw.js → worktree-d9sn21bc.js} +1 -1
  80. package/dist/chunks/{worktree-nhvhf6q8.js → worktree-dep21bfz.js} +3 -3
  81. package/dist/chunks/{worktree-zsedakp3.js → worktree-dfzyx3vm.js} +6 -6
  82. package/dist/chunks/{worktree-2bbm4yb8.js → worktree-dj33xrhc.js} +17 -17
  83. package/dist/chunks/{worktree-cpaskrdq.js → worktree-dsk24zyn.js} +24 -24
  84. package/dist/chunks/worktree-dt3c0xg5.js +22 -0
  85. package/dist/chunks/{worktree-ht5y0zrb.js → worktree-dxj72tfx.js} +4 -4
  86. package/dist/chunks/{worktree-1z0pzthf.js → worktree-dz46kn0c.js} +1 -1
  87. package/dist/chunks/{worktree-q6r44qt1.js → worktree-e5sghx2m.js} +1 -1
  88. package/dist/chunks/{worktree-mrw4weg4.js → worktree-e7f0s3sx.js} +4 -4
  89. package/dist/chunks/{worktree-nhy5jxhy.js → worktree-e82z9tr0.js} +6 -6
  90. package/dist/chunks/{worktree-02nrjc1r.js → worktree-eaj1djv9.js} +3 -3
  91. package/dist/chunks/{worktree-34rkz0x9.js → worktree-edrmdtr5.js} +3 -3
  92. package/dist/chunks/{worktree-2eadnc11.js → worktree-efywkr4m.js} +25 -25
  93. package/dist/chunks/{worktree-mzcj9rt6.js → worktree-ehzmktfy.js} +20 -20
  94. package/dist/chunks/{worktree-47t1zbrj.js → worktree-enae0pqt.js} +6 -6
  95. package/dist/chunks/{worktree-54cxa91y.js → worktree-et0ngb76.js} +3 -3
  96. package/dist/chunks/{worktree-axcvnh6x.js → worktree-etbytr9f.js} +19 -19
  97. package/dist/chunks/{worktree-1c2y2rkk.js → worktree-ex6wht0f.js} +7 -7
  98. package/dist/chunks/{worktree-47b9yvnx.js → worktree-f4hvcdyc.js} +18 -18
  99. package/dist/chunks/{worktree-hch7hs3h.js → worktree-f59qb7z8.js} +10 -10
  100. package/dist/chunks/{worktree-xaqsqef1.js → worktree-f7ng0avf.js} +14 -14
  101. package/dist/chunks/{worktree-g2r6x3tk.js → worktree-fan4hwvp.js} +10 -10
  102. package/dist/chunks/{worktree-qc69zkx6.js → worktree-fbnvfbcr.js} +26 -26
  103. package/dist/chunks/{worktree-h48cjffy.js → worktree-fdkcz4j4.js} +16 -16
  104. package/dist/chunks/{worktree-g44j0cq6.js → worktree-fjsew8y4.js} +18 -18
  105. package/dist/chunks/{worktree-wsgy8dtq.js → worktree-fmtcp64w.js} +56 -56
  106. package/dist/chunks/{worktree-fs5d0kpm.js → worktree-fxr0k3ej.js} +26 -26
  107. package/dist/chunks/{worktree-09xs0kpr.js → worktree-g1f7p4xr.js} +35 -35
  108. package/dist/chunks/{worktree-0pnwce6d.js → worktree-g5z572jc.js} +20 -20
  109. package/dist/chunks/{worktree-kt1ecy0s.js → worktree-gb17qnes.js} +26 -26
  110. package/dist/chunks/{worktree-3fc6dm20.js → worktree-gdvy8fx6.js} +3 -3
  111. package/dist/chunks/{worktree-wbkyxrgf.js → worktree-gg7pg1rj.js} +3 -3
  112. package/dist/chunks/{worktree-bb7ds5b0.js → worktree-ggr3x0mq.js} +13 -13
  113. package/dist/chunks/{worktree-nwbet28h.js → worktree-gqt4stpv.js} +7 -7
  114. package/dist/chunks/{worktree-c0ewq7ys.js → worktree-h1201fn2.js} +14 -14
  115. package/dist/chunks/{worktree-jrf7w1sk.js → worktree-hapy5g3w.js} +4 -4
  116. package/dist/chunks/{worktree-a4wsc5ch.js → worktree-hcryep5n.js} +6 -6
  117. package/dist/chunks/{worktree-nqdxr6ky.js → worktree-hd849z55.js} +1 -1
  118. package/dist/chunks/{worktree-72bhgy2p.js → worktree-hf4cy5d5.js} +22 -22
  119. package/dist/chunks/{worktree-7f1zm8xr.js → worktree-hv82z4gy.js} +10 -10
  120. package/dist/chunks/{worktree-xd2p8b6x.js → worktree-j47svp76.js} +4 -4
  121. package/dist/chunks/{worktree-pdyh4aae.js → worktree-j7k24pbc.js} +18 -18
  122. package/dist/chunks/{worktree-539jk4fq.js → worktree-j7wq2tw5.js} +3 -3
  123. package/dist/chunks/{worktree-h538v51m.js → worktree-j8n86hs1.js} +20 -20
  124. package/dist/chunks/{worktree-we8gksts.js → worktree-jb4hwekh.js} +13 -13
  125. package/dist/chunks/{worktree-s1ht2sg9.js → worktree-jbeqfmv6.js} +21 -21
  126. package/dist/chunks/{worktree-5trk58xb.js → worktree-jdh6s7jq.js} +7 -7
  127. package/dist/chunks/{worktree-dc6hwzzt.js → worktree-jjxpfn67.js} +50 -50
  128. package/dist/chunks/{worktree-byda3mc6.js → worktree-jkzabyxv.js} +7 -7
  129. package/dist/chunks/{worktree-kqd2wwpf.js → worktree-jnmqjdkf.js} +3 -3
  130. package/dist/chunks/{worktree-yve3c8px.js → worktree-jr0w00x6.js} +32 -32
  131. package/dist/chunks/{worktree-884je023.js → worktree-jy5v7e4m.js} +52 -52
  132. package/dist/chunks/{worktree-244mw7cq.js → worktree-k0kes8vm.js} +30 -30
  133. package/dist/chunks/{worktree-5ak723ww.js → worktree-kexm4n6m.js} +9 -9
  134. package/dist/chunks/{worktree-yn5pc3yf.js → worktree-kgxk992x.js} +15 -15
  135. package/dist/chunks/{worktree-nyy8pdp4.js → worktree-ks9r2606.js} +23 -23
  136. package/dist/chunks/{worktree-h2gyv3sg.js → worktree-kx71qmfd.js} +1 -1
  137. package/dist/chunks/{worktree-0bqrjw7h.js → worktree-kyamxspj.js} +6 -6
  138. package/dist/chunks/{worktree-j0eba36x.js → worktree-m1m1txre.js} +40 -40
  139. package/dist/chunks/{worktree-qfzde7bh.js → worktree-m2manvsf.js} +5 -5
  140. package/dist/chunks/{worktree-nx4935gj.js → worktree-m2wv8ykr.js} +11 -11
  141. package/dist/chunks/{worktree-84tssp1s.js → worktree-m3g11tvf.js} +7 -7
  142. package/dist/chunks/{worktree-qzkqxs9z.js → worktree-mcrth2bg.js} +8 -8
  143. package/dist/chunks/{worktree-sxs9szdh.js → worktree-me1mq5zn.js} +27 -27
  144. package/dist/chunks/{worktree-tn4hkw1v.js → worktree-mkyhyqbc.js} +30 -30
  145. package/dist/chunks/{worktree-bf84bve4.js → worktree-mmg38rnz.js} +165 -165
  146. package/dist/chunks/{worktree-yhrpggw5.js → worktree-mw16jd8v.js} +7 -7
  147. package/dist/chunks/{worktree-dxag5rg4.js → worktree-mzbvs37z.js} +7 -7
  148. package/dist/chunks/{worktree-c8r0p240.js → worktree-n1qkhzt6.js} +12 -12
  149. package/dist/chunks/{worktree-2ggpg6at.js → worktree-n2rf99bc.js} +21 -21
  150. package/dist/chunks/{worktree-jefma2gq.js → worktree-nbddwgy7.js} +7 -7
  151. package/dist/chunks/{worktree-swhf355t.js → worktree-nf98eega.js} +13 -13
  152. package/dist/chunks/{worktree-0fyqfvqt.js → worktree-nhpkhfw8.js} +20 -20
  153. package/dist/chunks/{worktree-74argw2a.js → worktree-nt7ny3vf.js} +22 -22
  154. package/dist/chunks/{worktree-fdhw24dr.js → worktree-nx9fcjx2.js} +33 -33
  155. package/dist/chunks/{worktree-yapytcgw.js → worktree-p1bhyryy.js} +6 -6
  156. package/dist/chunks/{worktree-0f9afca0.js → worktree-p44d8wdy.js} +3 -3
  157. package/dist/chunks/{worktree-crm0qphm.js → worktree-p6vhw81v.js} +9 -9
  158. package/dist/chunks/{worktree-twrvq24m.js → worktree-paqdzpve.js} +26 -26
  159. package/dist/chunks/{worktree-y13khpec.js → worktree-pda56gn5.js} +11 -11
  160. package/dist/chunks/{worktree-mz61je2n.js → worktree-psyj660w.js} +8 -8
  161. package/dist/chunks/{worktree-edme2h3e.js → worktree-pt3jfr41.js} +8 -8
  162. package/dist/chunks/{worktree-3y4zrqv5.js → worktree-pztj2cvn.js} +12 -12
  163. package/dist/chunks/{worktree-7qq57c1m.js → worktree-q2t36530.js} +7 -7
  164. package/dist/chunks/{worktree-v3psvfd1.js → worktree-q6dht6b8.js} +24 -24
  165. package/dist/chunks/{worktree-v2xpgazf.js → worktree-qhrw8p3b.js} +5 -5
  166. package/dist/chunks/{worktree-zxkpyd1k.js → worktree-qj8a3ybw.js} +5 -5
  167. package/dist/chunks/{worktree-tw3b2c1y.js → worktree-qsfs49vc.js} +80 -80
  168. package/dist/chunks/{worktree-esdnemd6.js → worktree-qvgcjadf.js} +1 -1
  169. package/dist/chunks/{worktree-k6z6zgfk.js → worktree-qwkytnft.js} +4 -4
  170. package/dist/chunks/{worktree-wx9wy1qm.js → worktree-rfnzy394.js} +1 -1
  171. package/dist/chunks/{worktree-2310gy7k.js → worktree-rq2m1hnf.js} +15 -15
  172. package/dist/chunks/{worktree-c34h00rm.js → worktree-rzse8s8s.js} +19 -19
  173. package/dist/chunks/{worktree-5xyve7h3.js → worktree-sdva1t93.js} +25 -25
  174. package/dist/chunks/{worktree-kd5sw36g.js → worktree-sfbj4knz.js} +7 -7
  175. package/dist/chunks/{worktree-81enad2h.js → worktree-swqq1grb.js} +1 -1
  176. package/dist/chunks/{worktree-9k2v62xn.js → worktree-sxc4n3b4.js} +1 -1
  177. package/dist/chunks/{worktree-c78bbtc9.js → worktree-t0fxg8b9.js} +3 -3
  178. package/dist/chunks/{worktree-2zjkjrap.js → worktree-t0msmdsn.js} +14 -14
  179. package/dist/chunks/{worktree-p1wf2k30.js → worktree-t0x5rdq8.js} +7 -7
  180. package/dist/chunks/{worktree-0nz9pv5r.js → worktree-t5sxkdg8.js} +30 -30
  181. package/dist/chunks/{worktree-6wc2ywbc.js → worktree-t7pm3pdd.js} +11 -11
  182. package/dist/chunks/{worktree-y5p6jryx.js → worktree-t7xstbkq.js} +3 -3
  183. package/dist/chunks/{worktree-1dhk6hmk.js → worktree-t8k0wgen.js} +11 -11
  184. package/dist/chunks/{worktree-arv4s5vt.js → worktree-tby7n86s.js} +42 -42
  185. package/dist/chunks/{worktree-jqdzd9z8.js → worktree-tezvarmp.js} +11 -11
  186. package/dist/chunks/{worktree-gngqx6ca.js → worktree-tfj258z8.js} +23 -23
  187. package/dist/chunks/{worktree-mn22b81s.js → worktree-trwfvtm6.js} +13 -13
  188. package/dist/chunks/{worktree-nzwz8brh.js → worktree-txqj87x6.js} +17 -17
  189. package/dist/chunks/{worktree-ya8x3fj2.js → worktree-ty151b2e.js} +11 -11
  190. package/dist/chunks/{worktree-b293fxw2.js → worktree-vdehrbvs.js} +36 -36
  191. package/dist/chunks/{worktree-msdm1bd1.js → worktree-vh076mqk.js} +17 -17
  192. package/dist/chunks/{worktree-pyakq9xe.js → worktree-vvgctfdq.js} +8 -8
  193. package/dist/chunks/{worktree-wewgh3cc.js → worktree-w1ad28wa.js} +7 -7
  194. package/dist/chunks/{worktree-yj5yszst.js → worktree-w1cjc361.js} +12 -12
  195. package/dist/chunks/{worktree-rsdf2nvv.js → worktree-w1k39n5e.js} +3 -3
  196. package/dist/chunks/{worktree-hb79c5eb.js → worktree-w2pgmj82.js} +7 -7
  197. package/dist/chunks/worktree-w6vhhse3.js +247 -0
  198. package/dist/chunks/{worktree-wtez2wwh.js → worktree-wnbnthsg.js} +4 -4
  199. package/dist/chunks/{worktree-6fdj6kdr.js → worktree-wtkpn8tp.js} +2 -2
  200. package/dist/chunks/{worktree-n6a4148r.js → worktree-x05hx5mx.js} +2 -2
  201. package/dist/chunks/{worktree-bqd37ks9.js → worktree-x3af3qht.js} +8 -8
  202. package/dist/chunks/{worktree-7b15y959.js → worktree-x3et2xth.js} +7 -7
  203. package/dist/chunks/{worktree-x1b4jc5q.js → worktree-xb08yn7h.js} +27 -27
  204. package/dist/chunks/{worktree-q9h22sj1.js → worktree-xhm4y6wv.js} +21 -21
  205. package/dist/chunks/{worktree-qezjrgcf.js → worktree-xjgcvsjt.js} +17 -17
  206. package/dist/chunks/{worktree-y869hese.js → worktree-xkskprjp.js} +26 -26
  207. package/dist/chunks/{worktree-6t3tdbke.js → worktree-xvarwbkw.js} +11 -11
  208. package/dist/chunks/{worktree-nj8r009v.js → worktree-y2a9qway.js} +15 -15
  209. package/dist/chunks/{worktree-9cdxmsp5.js → worktree-y2e61msj.js} +37 -37
  210. package/dist/chunks/{worktree-6cnhqcb5.js → worktree-y6qp2ybc.js} +30 -30
  211. package/dist/chunks/{worktree-dykjtkm6.js → worktree-y91xqvp5.js} +8 -8
  212. package/dist/chunks/{worktree-vdc5d1rg.js → worktree-yefxppqx.js} +12 -12
  213. package/dist/chunks/{worktree-35agz59w.js → worktree-yr02nea7.js} +5 -5
  214. package/dist/chunks/{worktree-r7kds8hk.js → worktree-yse482wb.js} +4 -4
  215. package/dist/chunks/{worktree-3h1qna2c.js → worktree-z1cvmk2p.js} +11 -11
  216. package/dist/chunks/{worktree-2h5ywktg.js → worktree-z2333xw5.js} +10 -10
  217. package/dist/chunks/{worktree-vxsx0exv.js → worktree-z5vzydcd.js} +49 -49
  218. package/dist/chunks/worktree-z926abd4.js +4 -0
  219. package/dist/chunks/{worktree-vabb23s0.js → worktree-z92e5j38.js} +1 -1
  220. package/dist/chunks/{worktree-0c6ktq3y.js → worktree-za9cx4qh.js} +6 -6
  221. package/dist/chunks/{worktree-zr3qrszr.js → worktree-zbxt5nxa.js} +16 -16
  222. package/dist/chunks/{worktree-1afrw49r.js → worktree-zc2n0ndy.js} +10 -10
  223. package/dist/chunks/{worktree-wgr81hh0.js → worktree-zez8w2s0.js} +30 -30
  224. package/dist/chunks/{worktree-w74v902z.js → worktree-zgcjn2bs.js} +22 -22
  225. package/dist/chunks/{worktree-0rstx4q2.js → worktree-zznp8j5v.js} +2 -2
  226. package/dist/codemode/catalog.js +3 -3
  227. package/dist/codemode/instructions.js +9 -9
  228. package/dist/command.js +61 -61
  229. package/dist/config/discovery.js +52 -52
  230. package/dist/config/normalize.js +15 -15
  231. package/dist/config/plugin/agent.js +80 -80
  232. package/dist/config/plugin/command.js +162 -162
  233. package/dist/config/plugin/compaction.js +116 -116
  234. package/dist/config/plugin/formatter.js +82 -82
  235. package/dist/config/plugin/image.js +80 -80
  236. package/dist/config/plugin/instruction.js +58 -58
  237. package/dist/config/plugin/location-watcher.js +82 -82
  238. package/dist/config/plugin/mcp.js +87 -87
  239. package/dist/config/plugin/policy.js +79 -79
  240. package/dist/config/plugin/provider.js +78 -78
  241. package/dist/config/plugin/reference.js +81 -81
  242. package/dist/config/plugin/shell.js +81 -81
  243. package/dist/config/plugin/skill-file.js +68 -68
  244. package/dist/config/plugin/skill.js +97 -97
  245. package/dist/config/plugin/snapshot.js +80 -80
  246. package/dist/config/plugin/source.js +80 -80
  247. package/dist/config/plugin/tool-output.js +81 -81
  248. package/dist/config/plugin/websearch.js +78 -78
  249. package/dist/config/plugin/worktree.js +81 -81
  250. package/dist/config.js +85 -85
  251. package/dist/credential.js +58 -58
  252. package/dist/database/database.js +50 -50
  253. package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
  254. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  255. package/dist/database/drizzle/effect-sqlite/session.js +8 -8
  256. package/dist/database/drizzle/index.js +10 -10
  257. package/dist/database/drizzle/sqlite-core/effect/db.js +6 -6
  258. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  259. package/dist/database/drizzle/sqlite-core/effect/session.js +7 -7
  260. package/dist/database/drizzle.js +10 -10
  261. package/dist/database/migration.gen.js +34 -34
  262. package/dist/database/migration.js +35 -35
  263. package/dist/database/v1-migration.bun.js +12 -12
  264. package/dist/effect/app-node-builder.js +230 -230
  265. package/dist/environment/environment.js +60 -60
  266. package/dist/environment/index.js +62 -62
  267. package/dist/event-logger.js +13 -13
  268. package/dist/file-access.js +71 -71
  269. package/dist/file-mutation.js +61 -61
  270. package/dist/filesystem/location-watcher-policy.js +5 -5
  271. package/dist/filesystem/location-watcher.js +177 -177
  272. package/dist/filesystem/search.js +62 -62
  273. package/dist/filesystem/watcher.js +13 -13
  274. package/dist/filesystem.js +63 -63
  275. package/dist/form.js +62 -62
  276. package/dist/formatter.js +59 -59
  277. package/dist/generate.js +66 -66
  278. package/dist/git.js +5 -5
  279. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  280. package/dist/github-copilot/copilot-provider.js +3 -3
  281. package/dist/github-copilot/models.js +3 -3
  282. package/dist/github-copilot/responses/openai-responses-language-model.js +8 -8
  283. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  284. package/dist/image/photon.js +1 -1
  285. package/dist/image.js +5 -5
  286. package/dist/instance/service.js +5 -5
  287. package/dist/instance.js +295 -295
  288. package/dist/instruction-discovery.js +62 -62
  289. package/dist/instructions/builtins.js +57 -57
  290. package/dist/instructions/index.js +3 -3
  291. package/dist/integration.js +63 -63
  292. package/dist/job.js +56 -56
  293. package/dist/kv.js +51 -51
  294. package/dist/location-activity.js +56 -56
  295. package/dist/location-mutation.js +29 -29
  296. package/dist/location-service-map.js +56 -56
  297. package/dist/location-services.js +291 -291
  298. package/dist/location.js +55 -55
  299. package/dist/mcp/client.js +16 -16
  300. package/dist/mcp/index.js +73 -73
  301. package/dist/mcp/instructions.js +89 -89
  302. package/dist/mcp/stdio.js +57 -57
  303. package/dist/modal/models.js +3 -3
  304. package/dist/model-resolver.js +63 -63
  305. package/dist/model.js +8 -8
  306. package/dist/models-dev.js +64 -64
  307. package/dist/permission/saved.js +57 -57
  308. package/dist/permission.js +78 -78
  309. package/dist/persistent-pty/index.js +64 -64
  310. package/dist/persistent-pty.js +50 -50
  311. package/dist/plugin/agent.js +69 -69
  312. package/dist/plugin/command.js +64 -64
  313. package/dist/plugin/hooks.js +5 -5
  314. package/dist/plugin/host.js +168 -168
  315. package/dist/plugin/instance.js +5 -5
  316. package/dist/plugin/internal.js +268 -268
  317. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  318. package/dist/plugin/models-dev.js +53 -53
  319. package/dist/plugin/module.js +2 -2
  320. package/dist/plugin/optimize.js +2 -2
  321. package/dist/plugin/plan.js +69 -69
  322. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  323. package/dist/plugin/provider/anthropic.js +2 -2
  324. package/dist/plugin/provider/azure.js +83 -83
  325. package/dist/plugin/provider/cerebras.js +2 -2
  326. package/dist/plugin/provider/cloudflare-ai-gateway.js +82 -82
  327. package/dist/plugin/provider/cloudflare-workers-ai.js +82 -82
  328. package/dist/plugin/provider/configured.js +80 -80
  329. package/dist/plugin/provider/digitalocean.js +55 -55
  330. package/dist/plugin/provider/github-copilot.js +57 -57
  331. package/dist/plugin/provider/gitlab.js +3 -3
  332. package/dist/plugin/provider/google-vertex.js +2 -2
  333. package/dist/plugin/provider/kilo.js +2 -2
  334. package/dist/plugin/provider/llmgateway.js +53 -53
  335. package/dist/plugin/provider/lmstudio.js +81 -81
  336. package/dist/plugin/provider/modal.js +56 -56
  337. package/dist/plugin/provider/nvidia.js +2 -2
  338. package/dist/plugin/provider/ollama.js +83 -83
  339. package/dist/plugin/provider/openai.js +54 -54
  340. package/dist/plugin/provider/opencode.js +55 -55
  341. package/dist/plugin/provider/openrouter.js +3 -3
  342. package/dist/plugin/provider/poe.js +52 -52
  343. package/dist/plugin/provider/sap-ai-core.js +2 -2
  344. package/dist/plugin/provider/snowflake-cortex.js +82 -82
  345. package/dist/plugin/provider/vercel.js +2 -2
  346. package/dist/plugin/provider/vllm.js +83 -83
  347. package/dist/plugin/provider/xai.js +54 -54
  348. package/dist/plugin/provider/zenmux.js +2 -2
  349. package/dist/plugin/provider.js +118 -118
  350. package/dist/plugin/sdk.js +52 -52
  351. package/dist/plugin/service.js +3 -3
  352. package/dist/plugin/skill.js +97 -97
  353. package/dist/plugin/supervisor.js +282 -282
  354. package/dist/plugin/update.js +5 -5
  355. package/dist/plugin/variant.js +4 -4
  356. package/dist/plugin/vcs/git.js +56 -56
  357. package/dist/plugin/vcs/hg.js +56 -56
  358. package/dist/plugin/warming.js +78 -78
  359. package/dist/plugin/websearch/exa.js +6 -6
  360. package/dist/plugin/websearch/firecrawl.js +7 -7
  361. package/dist/plugin/websearch/index.js +7 -7
  362. package/dist/plugin/websearch/mcp.js +3 -3
  363. package/dist/plugin/websearch/parallel.js +7 -7
  364. package/dist/plugin/websearch/tavily.js +6 -6
  365. package/dist/plugin.js +178 -178
  366. package/dist/project.js +54 -54
  367. package/dist/provider.js +7 -7
  368. package/dist/pty/schema.js +3 -3
  369. package/dist/pty.js +67 -67
  370. package/dist/reference/instructions.js +60 -60
  371. package/dist/reference.js +60 -60
  372. package/dist/repository-cache.js +53 -53
  373. package/dist/ripgrep.js +61 -61
  374. package/dist/rpc.js +56 -56
  375. package/dist/session/command.js +52 -52
  376. package/dist/session/compaction.js +93 -93
  377. package/dist/session/context.js +111 -111
  378. package/dist/session/environment.js +5 -5
  379. package/dist/session/error.js +4 -4
  380. package/dist/session/execution/restart.js +117 -117
  381. package/dist/session/execution.js +94 -94
  382. package/dist/session/generate.js +112 -112
  383. package/dist/session/history.js +6 -6
  384. package/dist/session/inbox.js +59 -59
  385. package/dist/session/info.js +2 -2
  386. package/dist/session/instruction-entry.js +54 -54
  387. package/dist/session/instruction-state.js +2 -2
  388. package/dist/session/instructions.js +64 -64
  389. package/dist/session/model-request.js +77 -77
  390. package/dist/session/model-transport.js +3 -3
  391. package/dist/session/move.js +94 -94
  392. package/dist/session/projector.js +55 -55
  393. package/dist/session/prompt.js +71 -71
  394. package/dist/session/provider-context.js +3 -3
  395. package/dist/session/revert.js +57 -57
  396. package/dist/session/run-coordinator.js +3 -3
  397. package/dist/session/runner/index.js +3 -3
  398. package/dist/session/runner/llm.js +174 -174
  399. package/dist/session/runner/model.js +63 -63
  400. package/dist/session/runner/retry.js +78 -78
  401. package/dist/session/runner/step.js +86 -86
  402. package/dist/session/runner/to-llm-message.js +2 -2
  403. package/dist/session/schema.js +5 -5
  404. package/dist/session/session.js +127 -127
  405. package/dist/session/shell.js +93 -93
  406. package/dist/session/skill.js +70 -70
  407. package/dist/session/stats.js +10 -10
  408. package/dist/session/store.js +60 -60
  409. package/dist/session/subagent-job.js +159 -159
  410. package/dist/session/system-prompt.js +5 -5
  411. package/dist/session/title.js +110 -110
  412. package/dist/session/to-session-error.js +77 -77
  413. package/dist/session/transfer.js +117 -117
  414. package/dist/session.js +168 -168
  415. package/dist/shell/parse.js +2 -2
  416. package/dist/shell/select.js +9 -9
  417. package/dist/shell.js +96 -96
  418. package/dist/skill/discovery.js +5 -5
  419. package/dist/skill/instructions.js +70 -70
  420. package/dist/skill.js +77 -77
  421. package/dist/snapshot.js +59 -59
  422. package/dist/tool/mcp.js +86 -86
  423. package/dist/tool/plugin/edit.js +83 -83
  424. package/dist/tool/plugin/glob.js +82 -82
  425. package/dist/tool/plugin/grep.js +84 -84
  426. package/dist/tool/plugin/opencode.js +3 -3
  427. package/dist/tool/plugin/patch.js +85 -85
  428. package/dist/tool/plugin/question.js +68 -68
  429. package/dist/tool/plugin/read.js +87 -87
  430. package/dist/tool/plugin/shell.js +167 -167
  431. package/dist/tool/plugin/skill.js +80 -80
  432. package/dist/tool/plugin/subagent.js +170 -170
  433. package/dist/tool/plugin/webfetch.js +78 -78
  434. package/dist/tool/plugin/websearch.js +79 -79
  435. package/dist/tool/plugin/write.js +85 -85
  436. package/dist/tool/read-filesystem.js +65 -65
  437. package/dist/tool-output.js +6 -6
  438. package/dist/tool.js +9 -9
  439. package/dist/v1/config/agent.js +4 -4
  440. package/dist/v1/config/attachment.js +3 -3
  441. package/dist/v1/config/command.js +3 -3
  442. package/dist/v1/config/config.js +12 -12
  443. package/dist/v1/config/formatter.js +7 -7
  444. package/dist/v1/config/lsp.js +5 -5
  445. package/dist/v1/config/mcp.js +3 -3
  446. package/dist/v1/config/migrate.js +3 -3
  447. package/dist/v1/config/permission.js +3 -3
  448. package/dist/v1/config/provider.js +3 -3
  449. package/dist/v1/config/skills.js +3 -3
  450. package/dist/vcs.js +59 -59
  451. package/dist/websearch.js +56 -56
  452. package/dist/wellknown/plugin.js +52 -52
  453. package/dist/wellknown.js +55 -55
  454. package/dist/workspace/driver.js +7 -7
  455. package/dist/workspace.js +58 -58
  456. package/dist/worktree/git.js +4 -4
  457. package/dist/worktree/refresh.js +283 -283
  458. package/dist/worktree.js +64 -64
  459. package/package.json +8 -8
  460. package/dist/chunks/worktree-0mesazry.js +0 -4
  461. package/dist/chunks/worktree-fe4ks3ds.js +0 -462
  462. package/dist/chunks/worktree-gm7vsq7q.js +0 -247
  463. package/dist/chunks/worktree-xc139tzx.js +0 -22
  464. /package/dist/chunks/{worktree-468dtmg8.js → worktree-0cj21tsq.js} +0 -0
  465. /package/dist/chunks/{worktree-q5xvhvda.js → worktree-3cdjp2z1.js} +0 -0
  466. /package/dist/chunks/{worktree-sadxt2pa.js → worktree-4rx8c3z8.js} +0 -0
  467. /package/dist/chunks/{worktree-9b00c1fb.js → worktree-9w4ppqge.js} +0 -0
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID16,
2
+ ID11,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./worktree-84tssp1s.js";
5
+ } from "./worktree-m3g11tvf.js";
6
6
  import {
7
- ID15
8
- } from "./worktree-nx4935gj.js";
7
+ ID7
8
+ } from "./worktree-m2wv8ykr.js";
9
9
  import {
10
- Service79
11
- } from "./worktree-1k4ezpe5.js";
10
+ Service78
11
+ } from "./worktree-0kjjkgrz.js";
12
12
  import {
13
13
  OAuth3,
14
- Event14
15
- } from "./worktree-wgr81hh0.js";
14
+ Event12
15
+ } from "./worktree-zez8w2s0.js";
16
16
  import {
17
- ID5,
17
+ ID8,
18
18
  MethodID2
19
- } from "./worktree-x1b4jc5q.js";
19
+ } from "./worktree-xb08yn7h.js";
20
20
  import {
21
- Service44
22
- } from "./worktree-y869hese.js";
21
+ Service56
22
+ } from "./worktree-xkskprjp.js";
23
23
  import {
24
24
  get3
25
- } from "./worktree-e9x29tk8.js";
25
+ } from "./worktree-d99x89gq.js";
26
26
  import {
27
27
  useragent2
28
- } from "./worktree-hch7hs3h.js";
28
+ } from "./worktree-f59qb7z8.js";
29
29
 
30
30
  // src/plugin/provider/github-copilot.ts
31
31
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
57
57
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
58
58
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
59
59
  var oauth = (app) => ({
60
- integrationID: ID5.make("github-copilot"),
60
+ integrationID: ID8.make("github-copilot"),
61
61
  method: {
62
62
  id: methodID,
63
63
  type: "oauth",
@@ -155,8 +155,8 @@ var oauth = (app) => ({
155
155
  var GithubCopilotPlugin2 = define({
156
156
  id: "opencode.provider.github.copilot",
157
157
  effect: Effect.fn(function* (ctx) {
158
- const catalog = yield* Service44;
159
- const bus = yield* Service79;
158
+ const catalog = yield* Service56;
159
+ const bus = yield* Service78;
160
160
  const loading = Semaphore.makeUnsafe(1);
161
161
  const loaded = {};
162
162
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -170,8 +170,8 @@ var GithubCopilotPlugin2 = define({
170
170
  return;
171
171
  }
172
172
  loaded.baseURL = copilotBaseURL2(credential.metadata);
173
- const provider = yield* catalog.provider.get(ID16.githubCopilot);
174
- const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID16.githubCopilot);
173
+ const provider = yield* catalog.provider.get(ID11.githubCopilot);
174
+ const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID11.githubCopilot);
175
175
  loaded.models = yield* Effect.tryPromise({
176
176
  try: () => get3(loaded.baseURL ?? baseURL(), {
177
177
  ...provider?.headers,
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
187
187
  editor.method.update(oauth(ctx.app));
188
188
  });
189
189
  yield* ctx.catalog.transform((evt) => {
190
- const item = evt.provider.get(ID16.githubCopilot);
190
+ const item = evt.provider.get(ID11.githubCopilot);
191
191
  if (!item)
192
192
  return;
193
193
  if (loaded.models) {
194
194
  for (const id of item.models.keys()) {
195
- if (!loaded.models.has(ID15.make(id)))
195
+ if (!loaded.models.has(ID7.make(id)))
196
196
  evt.model.remove(item.provider.id, id);
197
197
  }
198
198
  for (const [id, model] of loaded.models) {
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
207
207
  });
208
208
  }
209
209
  }
210
- if (item.models.has(ID15.make("gpt-5-chat-latest"))) {
211
- evt.model.update(item.provider.id, ID15.make("gpt-5-chat-latest"), (model) => {
210
+ if (item.models.has(ID7.make("gpt-5-chat-latest"))) {
211
+ evt.model.update(item.provider.id, ID7.make("gpt-5-chat-latest"), (model) => {
212
212
  model.enabled = false;
213
213
  });
214
214
  }
215
215
  });
216
216
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
217
- yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
217
+ yield* bus.subscribe(Event12.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
218
218
  yield* refresh().pipe(Effect.forkScoped);
219
219
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
220
- if (evt.model.providerID !== ID16.githubCopilot)
220
+ if (evt.model.providerID !== ID11.githubCopilot)
221
221
  return;
222
222
  if (evt.package !== "@ai-sdk/github-copilot")
223
223
  return;
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
226
226
  evt.sdk = mod.createOpenaiCompatible(evt.options);
227
227
  }));
228
228
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
229
- if (evt.model.providerID !== ID16.githubCopilot)
229
+ if (evt.model.providerID !== ID11.githubCopilot)
230
230
  return;
231
231
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
232
232
  return;
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
236
236
  evt.headers["X-Interaction-Id"] = evt.sessionID;
237
237
  if (interaction !== "conversation-agent")
238
238
  evt.headers["x-initiator"] = "agent";
239
- }), { providerID: ID16.githubCopilot });
239
+ }), { providerID: ID11.githubCopilot });
240
240
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
241
- if (evt.model.providerID !== ID16.githubCopilot)
241
+ if (evt.model.providerID !== ID11.githubCopilot)
242
242
  return;
243
243
  const token = evt.request.headers.get("x-api-key");
244
244
  if (!token)
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
246
246
  const text = yield* Effect.promise(() => evt.request.clone().text());
247
247
  const body = Option.getOrUndefined(decodeBody(text));
248
248
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
249
- }), { providerID: ID16.githubCopilot });
249
+ }), { providerID: ID11.githubCopilot });
250
250
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
251
- if (evt.model.providerID !== ID16.githubCopilot)
251
+ if (evt.model.providerID !== ID11.githubCopilot)
252
252
  return;
253
253
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
254
254
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service56
3
- } from "./worktree-arv4s5vt.js";
2
+ Service40
3
+ } from "./worktree-tby7n86s.js";
4
4
  import {
5
- Service10
6
- } from "./worktree-74argw2a.js";
5
+ Service8
6
+ } from "./worktree-nt7ny3vf.js";
7
7
  import {
8
8
  observe2
9
9
  } from "./worktree-qsdy395h.js";
@@ -15,15 +15,15 @@ import {
15
15
  var exports_compaction = {};
16
16
  __export(exports_compaction, {
17
17
  ConfigCompactionPlugin: () => exports_compaction,
18
- Plugin: () => Plugin33
18
+ Plugin: () => Plugin29
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin33 = define({
22
+ var Plugin29 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service56;
26
- const compaction = yield* Service10;
25
+ const config = yield* Service40;
26
+ const compaction = yield* Service8;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -39,4 +39,4 @@ var Plugin33 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin33, exports_compaction };
42
+ export { Plugin29, exports_compaction };
@@ -1,20 +1,20 @@
1
1
  import {
2
- Service76,
3
- node81
4
- } from "./worktree-mn22b81s.js";
2
+ Service75,
3
+ node80
4
+ } from "./worktree-trwfvtm6.js";
5
5
  import {
6
- Service28
7
- } from "./worktree-ht5y0zrb.js";
6
+ Service31
7
+ } from "./worktree-dxj72tfx.js";
8
8
  import {
9
- Service66,
10
- node70
11
- } from "./worktree-yve3c8px.js";
9
+ Service62,
10
+ node67
11
+ } from "./worktree-jr0w00x6.js";
12
12
  import {
13
- node22
14
- } from "./worktree-gbk988mc.js";
13
+ node21
14
+ } from "./worktree-9b60vqg3.js";
15
15
  import {
16
16
  node5
17
- } from "./worktree-b293fxw2.js";
17
+ } from "./worktree-vdehrbvs.js";
18
18
  import {
19
19
  __export
20
20
  } from "./worktree-9rqn6x4v.js";
@@ -28,9 +28,9 @@ __export(exports_refresh, {
28
28
  import { Effect, Layer } from "effect";
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
30
30
  var layer = Layer.effectDiscard(Effect.gen(function* () {
31
- const location = yield* Service76;
32
- const plugins = yield* Service28;
33
- const worktrees = yield* Service66;
31
+ const location = yield* Service75;
32
+ const plugins = yield* Service31;
33
+ const worktrees = yield* Service62;
34
34
  if (location.workspaceID)
35
35
  return;
36
36
  yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
@@ -38,7 +38,7 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
38
38
  var node4 = makeLocationNode({
39
39
  name: "worktree-refresh",
40
40
  layer,
41
- deps: [node70, node81, node22, node5]
41
+ deps: [node67, node80, node21, node5]
42
42
  });
43
43
 
44
44
  export { node4, exports_refresh };
@@ -1,7 +1,7 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./worktree-1k4ezpe5.js";
2
+ Service78,
3
+ node83
4
+ } from "./worktree-0kjjkgrz.js";
5
5
  import {
6
6
  create3
7
7
  } from "./worktree-kg06axw8.js";
@@ -13,21 +13,21 @@ import {
13
13
  var exports_command5 = {};
14
14
  __export(exports_command5, {
15
15
  Command: () => exports_command5,
16
- Event: () => Event18,
16
+ Event: () => Event15,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info28,
19
- NotFoundError: () => NotFoundError9,
20
- Service: () => Service72,
21
- layer: () => layer23,
22
- node: () => node76
18
+ Info: () => Info25,
19
+ NotFoundError: () => NotFoundError6,
20
+ Service: () => Service63,
21
+ layer: () => layer25,
22
+ node: () => node68
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event18 } from "@opencode/schema/command";
28
- var Info28 = Command.Info;
27
+ import { Event as Event15 } from "@opencode/schema/command";
28
+ var Info25 = Command.Info;
29
29
 
30
- class NotFoundError9 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service72 extends Context.Service()("@opencode/Command") {
42
+ class Service63 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer23 = Layer.effect(Service72, Effect.gen(function* () {
45
- const bus = yield* Service79;
44
+ var layer25 = Layer.effect(Service63, Effect.gen(function* () {
45
+ const bus = yield* Service78;
46
46
  const state = create3({
47
47
  name: "command",
48
48
  initial: () => new Map,
@@ -51,11 +51,11 @@ var layer23 = Layer.effect(Service72, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info28.make({
54
+ const info = (definition) => Info25.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service72.of({
58
+ return Service63.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,15 +66,15 @@ var layer23 = Layer.effect(Service72, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError9({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node76 = makeLocationNode({
75
- service: Service72,
76
- layer: layer23,
77
- deps: [node84]
74
+ var node68 = makeLocationNode({
75
+ service: Service63,
76
+ layer: layer25,
77
+ deps: [node83]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info28, NotFoundError9, ExecutionError2, Service72, layer23, node76, exports_command5, Event18 };
89
+ export { Info25, NotFoundError6, ExecutionError2, Service63, layer25, node68, exports_command5, Event15 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./worktree-84tssp1s.js";
4
+ } from "./worktree-m3g11tvf.js";
5
5
 
6
6
  // src/plugin/provider/kilo.ts
7
7
  import { Effect } from "effect";
@@ -1,11 +1,11 @@
1
1
  import {
2
- ID5,
3
- Service45
4
- } from "./worktree-x1b4jc5q.js";
2
+ ID8,
3
+ Service57
4
+ } from "./worktree-xb08yn7h.js";
5
5
  import {
6
6
  isAISDK2,
7
7
  packageName2
8
- } from "./worktree-84tssp1s.js";
8
+ } from "./worktree-m3g11tvf.js";
9
9
 
10
10
  // src/plugin/provider/llmgateway.ts
11
11
  import { Effect } from "effect";
@@ -13,7 +13,7 @@ import { define } from "@opencode/plugin/effect/plugin";
13
13
  var LLMGatewayPlugin2 = define({
14
14
  id: "opencode.provider.llmgateway",
15
15
  effect: Effect.fn(function* (ctx) {
16
- const integrations = yield* Service45;
16
+ const integrations = yield* Service57;
17
17
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
18
18
  yield* ctx.catalog.transform((evt) => {
19
19
  for (const item of evt.provider.list()) {
@@ -25,7 +25,7 @@ var LLMGatewayPlugin2 = define({
25
25
  continue;
26
26
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
27
27
  continue;
28
- if (!configured.has(ID5.make(item.provider.id)))
28
+ if (!configured.has(ID8.make(item.provider.id)))
29
29
  continue;
30
30
  evt.provider.update(item.provider.id, (provider) => {
31
31
  provider.headers = {
@@ -1,32 +1,32 @@
1
1
  import {
2
- ID16,
2
+ ID11,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  loadPackage2,
6
6
  mergeOverlay2,
7
7
  mergeHeaders2
8
- } from "./worktree-84tssp1s.js";
8
+ } from "./worktree-m3g11tvf.js";
9
9
  import {
10
- Service60,
11
- node64
12
- } from "./worktree-7f1zm8xr.js";
10
+ Service61,
11
+ node66
12
+ } from "./worktree-hv82z4gy.js";
13
13
  import {
14
14
  map2
15
- } from "./worktree-1z0pzthf.js";
15
+ } from "./worktree-dz46kn0c.js";
16
16
  import {
17
- ID15,
17
+ ID7,
18
18
  VariantID2,
19
- Ref3
20
- } from "./worktree-nx4935gj.js";
19
+ Ref2
20
+ } from "./worktree-m2wv8ykr.js";
21
21
  import {
22
- ID5,
23
- Service45,
24
- node48
25
- } from "./worktree-x1b4jc5q.js";
22
+ ID8,
23
+ Service57,
24
+ node62
25
+ } from "./worktree-xb08yn7h.js";
26
26
  import {
27
- Service44,
28
- node47
29
- } from "./worktree-y869hese.js";
27
+ Service56,
28
+ node61
29
+ } from "./worktree-xkskprjp.js";
30
30
  import {
31
31
  __export
32
32
  } from "./worktree-9rqn6x4v.js";
@@ -35,15 +35,15 @@ import {
35
35
  var exports_model_resolver = {};
36
36
  __export(exports_model_resolver, {
37
37
  ModelResolver: () => exports_model_resolver,
38
- Service: () => Service43,
38
+ Service: () => Service55,
39
39
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
40
40
  UnsupportedCompactionError: () => UnsupportedCompactionError3,
41
41
  UnsupportedPackageError: () => UnsupportedPackageError3,
42
42
  VariantUnavailableError: () => VariantUnavailableError3,
43
43
  fromCatalogModel: () => fromCatalogModel2,
44
44
  hasPackage: () => hasPackage2,
45
- layer: () => layer17,
46
- node: () => node46,
45
+ layer: () => layer23,
46
+ node: () => node60,
47
47
  resolveModel: () => resolveModel2,
48
48
  withVariant: () => withVariant2
49
49
  });
@@ -53,8 +53,8 @@ import { Auth } from "@opencode/ai/route";
53
53
  import { Context, Effect, Layer, Schema, Struct } from "effect";
54
54
  import { Npm } from "@opencode/util/npm";
55
55
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
56
- providerID: ID16,
57
- modelID: ID15,
56
+ providerID: ID11,
57
+ modelID: ID7,
58
58
  variant: VariantID2
59
59
  }) {
60
60
  get message() {
@@ -63,8 +63,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
63
63
  }
64
64
 
65
65
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
66
- providerID: ID16,
67
- modelID: ID15,
66
+ providerID: ID11,
67
+ modelID: ID7,
68
68
  package: Schema.String
69
69
  }) {
70
70
  get message() {
@@ -73,8 +73,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
73
73
  }
74
74
 
75
75
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
76
- providerID: ID16,
77
- modelID: ID15,
76
+ providerID: ID11,
77
+ modelID: ID7,
78
78
  variables: Schema.Array(Schema.String)
79
79
  }) {
80
80
  get message() {
@@ -83,8 +83,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
83
83
  }
84
84
 
85
85
  class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
86
- providerID: ID16,
87
- modelID: ID15,
86
+ providerID: ID11,
87
+ modelID: ID7,
88
88
  route: Schema.String
89
89
  }) {
90
90
  get message() {
@@ -92,7 +92,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
92
92
  }
93
93
  }
94
94
 
95
- class Service43 extends Context.Service()("@opencode/ModelResolver") {
95
+ class Service55 extends Context.Service()("@opencode/ModelResolver") {
96
96
  }
97
97
  var withVariant2 = (model, variantID) => {
98
98
  const id = variantID === "default" ? undefined : variantID;
@@ -218,14 +218,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
218
218
  });
219
219
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
220
220
  var hasPackage2 = (model) => Boolean(model.package);
221
- var layer17 = Layer.effect(Service43, Effect.gen(function* () {
222
- const catalog = yield* Service44;
223
- const integrations = yield* Service45;
221
+ var layer23 = Layer.effect(Service55, Effect.gen(function* () {
222
+ const catalog = yield* Service56;
223
+ const integrations = yield* Service57;
224
224
  const npm = yield* Npm.Service;
225
- const aisdk = yield* Service60;
225
+ const aisdk = yield* Service61;
226
226
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
227
227
  const provider = yield* catalog.provider.get(selected.providerID);
228
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID5.make(selected.providerID));
228
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID8.make(selected.providerID));
229
229
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
230
230
  const runtimeInfo = yield* withVariant2(selected, variant);
231
231
  const model = yield* fromCatalogModel2(runtimeInfo, credential, {
@@ -235,7 +235,7 @@ var layer17 = Layer.effect(Service43, Effect.gen(function* () {
235
235
  const runtime = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package) ? LanguageModel.update(model, { route: model.route.with({ auth: Auth.none }) }) : model;
236
236
  return {
237
237
  model: runtime,
238
- ref: Ref3.make({
238
+ ref: Ref2.make({
239
239
  id: selected.id,
240
240
  providerID: selected.providerID,
241
241
  ...variant === undefined ? {} : { variant }
@@ -247,7 +247,7 @@ var layer17 = Layer.effect(Service43, Effect.gen(function* () {
247
247
  websocket: selected.websocket ?? true
248
248
  };
249
249
  });
250
- return Service43.of({
250
+ return Service55.of({
251
251
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
252
252
  const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
253
253
  if (!selected)
@@ -264,10 +264,10 @@ function usesAPIKeyAuth(packageName) {
264
264
  const name = packageName2(packageName);
265
265
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
266
266
  }
267
- var node46 = makeLocationNode({
268
- service: Service43,
269
- layer: layer17,
270
- deps: [node47, node48, Npm.node, node64]
267
+ var node60 = makeLocationNode({
268
+ service: Service55,
269
+ layer: layer23,
270
+ deps: [node61, node62, Npm.node, node66]
271
271
  });
272
272
 
273
- export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service43, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer17, node46, exports_model_resolver };
273
+ export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service55, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node60, exports_model_resolver };
@@ -6,15 +6,15 @@ import {
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service40,
10
- node: () => node43
9
+ Service: () => Service53,
10
+ node: () => node58
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service40 extends Context.Service()("@opencode/Instance") {
16
+ class Service53 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node43 = LayerNode.unbound(Service40, Node.tags.values.global);
18
+ var node58 = LayerNode.unbound(Service53, Node.tags.values.global);
19
19
 
20
- export { Service40, node43, exports_service2 };
20
+ export { Service53, node58, exports_service2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID16
3
- } from "./worktree-84tssp1s.js";
2
+ ID11
3
+ } from "./worktree-m3g11tvf.js";
4
4
  import {
5
5
  __export
6
6
  } from "./worktree-9rqn6x4v.js";
@@ -12,25 +12,25 @@ __export(exports_model2, {
12
12
  Compatibility: () => Compatibility2,
13
13
  Cost: () => Cost2,
14
14
  Family: () => Family2,
15
- ID: () => ID15,
16
- Info: () => Info29,
15
+ ID: () => ID7,
16
+ Info: () => Info19,
17
17
  Model: () => exports_model2,
18
18
  ReasoningField: () => ReasoningField2,
19
- Ref: () => Ref3,
19
+ Ref: () => Ref2,
20
20
  VariantID: () => VariantID2,
21
21
  compatibility: () => compatibility2,
22
22
  parse: () => parse5
23
23
  });
24
24
  import { Model } from "@opencode/schema/model";
25
- var ID15 = Model.ID;
25
+ var ID7 = Model.ID;
26
26
  var VariantID2 = Model.VariantID;
27
27
  var Family2 = Model.Family;
28
28
  var ReasoningField2 = Model.ReasoningField;
29
29
  var Compatibility2 = Model.Compatibility;
30
30
  var Capabilities2 = Model.Capabilities;
31
31
  var Cost2 = Model.Cost;
32
- var Ref3 = Model.Ref;
33
- var Info29 = Model.Info;
32
+ var Ref2 = Model.Ref;
33
+ var Info19 = Model.Info;
34
34
  function compatibility2(input) {
35
35
  if (typeof input === "string")
36
36
  return { reasoningField: input };
@@ -41,9 +41,9 @@ function compatibility2(input) {
41
41
  function parse5(input) {
42
42
  const index = input.indexOf("/");
43
43
  return {
44
- providerID: ID16.make(index === -1 ? input : input.slice(0, index)),
45
- modelID: ID15.make(index === -1 ? "" : input.slice(index + 1))
44
+ providerID: ID11.make(index === -1 ? input : input.slice(0, index)),
45
+ modelID: ID7.make(index === -1 ? "" : input.slice(index + 1))
46
46
  };
47
47
  }
48
48
 
49
- export { ID15, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3, Info29, compatibility2, parse5, exports_model2 };
49
+ export { ID7, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info19, compatibility2, parse5, exports_model2 };