@opencode/core 0.0.0-dev-20156 → 0.0.0-dev-20157

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 (475) hide show
  1. package/dist/agent.js +61 -61
  2. package/dist/aisdk-native.js +60 -60
  3. package/dist/aisdk.js +65 -65
  4. package/dist/app.js +5 -5
  5. package/dist/bus.js +50 -50
  6. package/dist/chunks/{repository-0qs0ha18.js → repository-02r4f2yh.js} +13 -13
  7. package/dist/chunks/{repository-a4jmhcge.js → repository-0dea7hqg.js} +4 -4
  8. package/dist/chunks/{repository-3cmt985g.js → repository-0dtc7saj.js} +9 -9
  9. package/dist/chunks/{repository-bd71zrs1.js → repository-0mp9629n.js} +22 -22
  10. package/dist/chunks/{repository-hcz3zddy.js → repository-0r7yqxbf.js} +3 -3
  11. package/dist/chunks/{repository-8t72k94d.js → repository-13dgep1z.js} +17 -17
  12. package/dist/chunks/{repository-vwt4a1k1.js → repository-1bfc10mg.js} +12 -12
  13. package/dist/chunks/{repository-065k3gj0.js → repository-1khmhcax.js} +8 -8
  14. package/dist/chunks/{repository-nf73ch59.js → repository-1tdtc034.js} +20 -20
  15. package/dist/chunks/{repository-dwhtnrsj.js → repository-1xpzac98.js} +17 -17
  16. package/dist/chunks/{repository-qq7xvnxm.js → repository-1z5ysepc.js} +10 -10
  17. package/dist/chunks/{repository-r8x54e6p.js → repository-21akxfrh.js} +60 -60
  18. package/dist/chunks/{repository-6h73sxmp.js → repository-2402vzrj.js} +4 -4
  19. package/dist/chunks/{repository-erw3g6b6.js → repository-2531bb5a.js} +11 -11
  20. package/dist/chunks/{repository-42swhqez.js → repository-2cjsxekc.js} +12 -12
  21. package/dist/chunks/{repository-xxhb4jr7.js → repository-2fgn2we9.js} +7 -7
  22. package/dist/chunks/{repository-5ft7x73b.js → repository-2j74qy9w.js} +1 -1
  23. package/dist/chunks/{repository-fcrkznn8.js → repository-2k8khapm.js} +4 -4
  24. package/dist/chunks/{repository-kv3csxch.js → repository-2nzc6ac3.js} +4 -4
  25. package/dist/chunks/{repository-k53npxr2.js → repository-32h4nn8p.js} +1 -1
  26. package/dist/chunks/{repository-0z8rxnnb.js → repository-38nmpqef.js} +20 -20
  27. package/dist/chunks/{repository-tgey6qrj.js → repository-3f66bwfz.js} +1 -1
  28. package/dist/chunks/{repository-rbmmr3kj.js → repository-3nhsj318.js} +19 -19
  29. package/dist/chunks/{repository-ykh5ygyr.js → repository-3petje8f.js} +3 -3
  30. package/dist/chunks/{repository-1p9j9tg9.js → repository-3rbef5jj.js} +2 -2
  31. package/dist/chunks/{repository-fqgxath9.js → repository-3x8fysj4.js} +17 -17
  32. package/dist/chunks/{repository-fvhjkb74.js → repository-3zz7237p.js} +6 -6
  33. package/dist/chunks/{repository-gf7f2369.js → repository-45g6rp4p.js} +3 -3
  34. package/dist/chunks/{repository-zfjkfzpq.js → repository-4bqx1nme.js} +10 -10
  35. package/dist/chunks/{repository-9rgfjqpd.js → repository-4d31bbse.js} +8 -8
  36. package/dist/chunks/{repository-m6jnjmfw.js → repository-4e5ccp43.js} +16 -16
  37. package/dist/chunks/{repository-96ctqc5x.js → repository-4eq8w0dz.js} +3 -3
  38. package/dist/chunks/{repository-w7t1fehg.js → repository-4f06rze2.js} +5 -5
  39. package/dist/chunks/{repository-jc7dnxay.js → repository-4gxz33t2.js} +13 -13
  40. package/dist/chunks/{repository-x2dtej9w.js → repository-4j5v26y0.js} +4 -4
  41. package/dist/chunks/{repository-fw5xg2y4.js → repository-4shp4sr3.js} +25 -25
  42. package/dist/chunks/{repository-f3tdbywg.js → repository-4t037ma6.js} +12 -12
  43. package/dist/chunks/{repository-8pnn1d33.js → repository-4tjr6zkn.js} +35 -35
  44. package/dist/chunks/{repository-fzxsvrpf.js → repository-50nkx4g5.js} +31 -31
  45. package/dist/chunks/{repository-6wkx2yew.js → repository-50zpe24t.js} +11 -11
  46. package/dist/chunks/{repository-2v0htzv5.js → repository-54cht2md.js} +16 -16
  47. package/dist/chunks/{repository-33w4ejhs.js → repository-56gdpj1q.js} +4 -4
  48. package/dist/chunks/{repository-vhag6pqf.js → repository-580xkvb2.js} +15 -15
  49. package/dist/chunks/{repository-st0xa5p1.js → repository-5gbgdf63.js} +23 -23
  50. package/dist/chunks/{repository-n4a7gw4r.js → repository-5ke24xg0.js} +24 -24
  51. package/dist/chunks/{repository-z2sk8n0r.js → repository-5qedxm44.js} +9 -9
  52. package/dist/chunks/{repository-4jztms0b.js → repository-5rfaxrsd.js} +19 -19
  53. package/dist/chunks/{repository-apzhk4s8.js → repository-61b773qj.js} +4 -4
  54. package/dist/chunks/{repository-nr8zx6fk.js → repository-62gx00z5.js} +17 -17
  55. package/dist/chunks/{repository-a7hkkdqn.js → repository-68pety7q.js} +7 -7
  56. package/dist/chunks/{repository-k5p7g1tb.js → repository-6j3j64eb.js} +73 -73
  57. package/dist/chunks/{repository-wxgegas4.js → repository-6t9zdyzr.js} +6 -6
  58. package/dist/chunks/{repository-bj7255yx.js → repository-70we0w58.js} +12 -12
  59. package/dist/chunks/{repository-jm8vc8yh.js → repository-76eezes8.js} +3 -3
  60. package/dist/chunks/{repository-a4fnzf47.js → repository-7hrknbh1.js} +3 -3
  61. package/dist/chunks/{repository-njhqdk9p.js → repository-82rhge12.js} +7 -7
  62. package/dist/chunks/{repository-hz0q9sdq.js → repository-86m00gc1.js} +7 -7
  63. package/dist/chunks/{repository-bce8mqt3.js → repository-89e14fg5.js} +6 -6
  64. package/dist/chunks/{repository-qzpey3h0.js → repository-8e412960.js} +25 -25
  65. package/dist/chunks/{repository-jh3wktsd.js → repository-8g5424td.js} +17 -17
  66. package/dist/chunks/{repository-9xfpc63v.js → repository-8jyfh64s.js} +17 -17
  67. package/dist/chunks/{repository-n96r89fz.js → repository-8vn4cfgq.js} +13 -13
  68. package/dist/chunks/{repository-k6pkmzhs.js → repository-8xdzh0gy.js} +26 -26
  69. package/dist/chunks/{repository-8z1vhx7d.js → repository-92kfgbvy.js} +12 -12
  70. package/dist/chunks/{repository-j624rcj2.js → repository-9c7cfx9k.js} +9 -9
  71. package/dist/chunks/{repository-77znwksv.js → repository-9t9nwrjp.js} +6 -6
  72. package/dist/chunks/{repository-3w2b2yj4.js → repository-9xvq3m7s.js} +3 -3
  73. package/dist/chunks/{repository-b34mrygk.js → repository-a6aff8z8.js} +17 -17
  74. package/dist/chunks/{repository-zk63fk94.js → repository-a70bg6dx.js} +7 -7
  75. package/dist/chunks/{repository-5v50ez44.js → repository-a8eh5f32.js} +16 -16
  76. package/dist/chunks/{repository-8x661zms.js → repository-agv6b8k2.js} +2 -2
  77. package/dist/chunks/{repository-jca4demv.js → repository-ak8wweg5.js} +1 -1
  78. package/dist/chunks/{repository-gd2mrfha.js → repository-akcepp6y.js} +8 -8
  79. package/dist/chunks/{repository-metfybw1.js → repository-an66nx3z.js} +27 -27
  80. package/dist/chunks/{repository-p8tnfkxq.js → repository-asvap28k.js} +19 -19
  81. package/dist/chunks/{repository-7jk1t73m.js → repository-atcwnc5a.js} +17 -17
  82. package/dist/chunks/{repository-8j12t1bv.js → repository-az4a6sax.js} +85 -85
  83. package/dist/chunks/{repository-1cxq3z7p.js → repository-b57g7gde.js} +1 -1
  84. package/dist/chunks/{repository-x1c0jm0v.js → repository-b6szjc2b.js} +4 -4
  85. package/dist/chunks/{repository-705e2ap1.js → repository-b7b4ctej.js} +3 -3
  86. package/dist/chunks/{repository-kgj7nn0t.js → repository-bakxampr.js} +10 -10
  87. package/dist/chunks/{repository-05b749yd.js → repository-bm2y31hv.js} +13 -13
  88. package/dist/chunks/{repository-de275n1f.js → repository-bx3fq6aw.js} +13 -13
  89. package/dist/chunks/{repository-619r8v3y.js → repository-by5v678g.js} +4 -4
  90. package/dist/chunks/{repository-hkqypw3r.js → repository-cc2shgt9.js} +30 -30
  91. package/dist/chunks/{repository-gfwr3rnv.js → repository-cfmzrcj7.js} +10 -10
  92. package/dist/chunks/{repository-v42zcc13.js → repository-ch64seem.js} +23 -23
  93. package/dist/chunks/{repository-npg39zw6.js → repository-crsexzag.js} +30 -30
  94. package/dist/chunks/repository-d0jzkfbr.js +252 -0
  95. package/dist/chunks/repository-dbc9r3hj.js +26 -0
  96. package/dist/chunks/{repository-3a2j1hjr.js → repository-dh4q5s77.js} +9 -9
  97. package/dist/chunks/{repository-73yrdnyd.js → repository-dhkwabp0.js} +14 -14
  98. package/dist/chunks/{repository-cwa6csj7.js → repository-djszqvmq.js} +7 -7
  99. package/dist/chunks/{repository-xfkkasph.js → repository-drwq78ky.js} +3 -3
  100. package/dist/chunks/{repository-agjv8c5g.js → repository-e59tsew2.js} +11 -11
  101. package/dist/chunks/{repository-5etm4xsh.js → repository-e7ws6ec8.js} +37 -37
  102. package/dist/chunks/{repository-512hw42y.js → repository-eahms454.js} +37 -37
  103. package/dist/chunks/{repository-56ky7bs0.js → repository-ehsk5wsv.js} +25 -25
  104. package/dist/chunks/{repository-9vrq4vn2.js → repository-epfpd7cv.js} +8 -8
  105. package/dist/chunks/{repository-hq7yghhm.js → repository-eyn5j564.js} +6 -6
  106. package/dist/chunks/{repository-yp2x3t23.js → repository-f2n192rq.js} +3 -3
  107. package/dist/chunks/{repository-fc523kt6.js → repository-f334w0pg.js} +32 -32
  108. package/dist/chunks/{repository-mr0mmcj5.js → repository-f5fspc7b.js} +4 -4
  109. package/dist/chunks/{repository-db9prhsp.js → repository-fp35vcn1.js} +45 -45
  110. package/dist/chunks/{repository-q3t37ft6.js → repository-fqka1xvk.js} +3 -3
  111. package/dist/chunks/{repository-w9vf9qqj.js → repository-fsbk27r1.js} +7 -7
  112. package/dist/chunks/{repository-byrrs48t.js → repository-ftjt2372.js} +4 -4
  113. package/dist/chunks/{repository-0xezjjjn.js → repository-g1sxm558.js} +7 -7
  114. package/dist/chunks/{repository-1vnc4v1d.js → repository-geakp29a.js} +9 -9
  115. package/dist/chunks/{repository-16j5ke9h.js → repository-gqnw29hq.js} +9 -9
  116. package/dist/chunks/{repository-y8kkdtzr.js → repository-gwahz6hz.js} +11 -11
  117. package/dist/chunks/{repository-5ev1zspt.js → repository-h3r85v63.js} +7 -7
  118. package/dist/chunks/{repository-5mtzsd3b.js → repository-h6r3nrb9.js} +3 -3
  119. package/dist/chunks/{repository-2rscg1y3.js → repository-h70nwwcc.js} +9 -9
  120. package/dist/chunks/{repository-bdz0bbmb.js → repository-har18r6r.js} +17 -17
  121. package/dist/chunks/{repository-fsf6v8qm.js → repository-hqxn6csc.js} +179 -179
  122. package/dist/chunks/{repository-thk6jfdx.js → repository-hqxxrcsw.js} +19 -19
  123. package/dist/chunks/{repository-1jp2mfrr.js → repository-hr7nhsg3.js} +1 -1
  124. package/dist/chunks/{repository-zte1js4p.js → repository-hr9sx13n.js} +19 -19
  125. package/dist/chunks/{repository-e912ms8z.js → repository-htpfkpfv.js} +3 -3
  126. package/dist/chunks/{repository-hgbqxczd.js → repository-hx10j1ep.js} +9 -9
  127. package/dist/chunks/{repository-qjwr0tpp.js → repository-hyyftsxg.js} +5 -5
  128. package/dist/chunks/{repository-5tnkgdfk.js → repository-j4dredde.js} +15 -15
  129. package/dist/chunks/{repository-kc96dfb8.js → repository-j64jv97n.js} +7 -7
  130. package/dist/chunks/{repository-pmr4s4kc.js → repository-j83byb14.js} +3 -3
  131. package/dist/chunks/{repository-ky1kh8n9.js → repository-jb8f8bdw.js} +25 -25
  132. package/dist/chunks/{repository-ftm3dexp.js → repository-jdt82a65.js} +5 -5
  133. package/dist/chunks/{repository-hq8qt6ng.js → repository-jewqmp23.js} +6 -6
  134. package/dist/chunks/{repository-dg2cj1yd.js → repository-jjzf804t.js} +3 -3
  135. package/dist/chunks/{repository-swwpqdcy.js → repository-jsknnxm0.js} +14 -14
  136. package/dist/chunks/{repository-6q0ntw2a.js → repository-jvzh73h3.js} +16 -16
  137. package/dist/chunks/{repository-8b72xbs9.js → repository-jw7mqvhb.js} +18 -18
  138. package/dist/chunks/{repository-90g9zkdy.js → repository-k4xenmvj.js} +12 -12
  139. package/dist/chunks/{repository-5t7jqs97.js → repository-kjjzdt6z.js} +26 -26
  140. package/dist/chunks/{repository-6r6vp6ha.js → repository-kma5cn94.js} +24 -24
  141. package/dist/chunks/{repository-kstbhh6a.js → repository-kt8nfkp3.js} +24 -24
  142. package/dist/chunks/{repository-t4vj6rvz.js → repository-m7byf6m1.js} +24 -24
  143. package/dist/chunks/{repository-0paz3kdb.js → repository-mnrg3sxj.js} +23 -23
  144. package/dist/chunks/{repository-p9z73tm2.js → repository-mp5r29aw.js} +5 -5
  145. package/dist/chunks/{repository-929cfnf2.js → repository-mzvn4c0x.js} +20 -20
  146. package/dist/chunks/{repository-jj202axs.js → repository-n2yeqzr5.js} +2 -2
  147. package/dist/chunks/{repository-fgg720tk.js → repository-n34cz6pc.js} +9 -9
  148. package/dist/chunks/{repository-6hbqnsja.js → repository-n4qk2p21.js} +5 -5
  149. package/dist/chunks/{repository-azyzdvnn.js → repository-ncvdxrbg.js} +14 -14
  150. package/dist/chunks/{repository-xr86ydmg.js → repository-ndz0f2pv.js} +11 -11
  151. package/dist/chunks/{repository-7w3s9kd0.js → repository-nkcwakxz.js} +5 -5
  152. package/dist/chunks/{repository-jw80jp6b.js → repository-nrdmrqsx.js} +3 -3
  153. package/dist/chunks/{repository-9zqrb8fx.js → repository-nz1w7233.js} +27 -27
  154. package/dist/chunks/{repository-h2r7bbkd.js → repository-p26nknmg.js} +6 -6
  155. package/dist/chunks/{repository-79272cb5.js → repository-p4w1wdw7.js} +16 -16
  156. package/dist/chunks/{repository-czfptnv9.js → repository-pa8pe2x7.js} +3 -3
  157. package/dist/chunks/{repository-47bkxv40.js → repository-pca6s4fg.js} +20 -20
  158. package/dist/chunks/{repository-mvksx64m.js → repository-pccq72bz.js} +1 -1
  159. package/dist/chunks/{repository-zz37z2qt.js → repository-pdgybe9w.js} +4 -4
  160. package/dist/chunks/{repository-d29nyfm4.js → repository-pnpn4wz1.js} +11 -11
  161. package/dist/chunks/{repository-nscznvay.js → repository-pnv527nz.js} +7 -7
  162. package/dist/chunks/{repository-9fcb53ey.js → repository-prd1yc4e.js} +15 -15
  163. package/dist/chunks/{repository-9v05265v.js → repository-pxbjxcby.js} +29 -29
  164. package/dist/chunks/{repository-j5rxtxht.js → repository-qbqbaz6q.js} +3 -3
  165. package/dist/chunks/{repository-h7gb4ryr.js → repository-qernpydw.js} +5 -5
  166. package/dist/chunks/{repository-r52g2zhe.js → repository-qfdxmfvr.js} +3 -3
  167. package/dist/chunks/{repository-kst1pkph.js → repository-qk5kxcbj.js} +17 -17
  168. package/dist/chunks/{repository-scbkt9q8.js → repository-qn9vy89p.js} +30 -30
  169. package/dist/chunks/{repository-qxmaq0sm.js → repository-qvb3nf84.js} +7 -7
  170. package/dist/chunks/{repository-kpqs54h7.js → repository-r040zy0g.js} +25 -25
  171. package/dist/chunks/{repository-6ycw4w1t.js → repository-r1zrj47q.js} +30 -30
  172. package/dist/chunks/{repository-r5m1ty2t.js → repository-r6vv5p3m.js} +43 -43
  173. package/dist/chunks/{repository-b4vexebs.js → repository-r7t6v39w.js} +24 -24
  174. package/dist/chunks/{repository-77wtpmj0.js → repository-rdmyapgx.js} +12 -12
  175. package/dist/chunks/{repository-8sze2n9a.js → repository-rkprpv83.js} +5 -5
  176. package/dist/chunks/{repository-6sj6xmv4.js → repository-rpbss5j3.js} +32 -32
  177. package/dist/chunks/{repository-hbyaebar.js → repository-s6k3yhqj.js} +322 -322
  178. package/dist/chunks/{repository-0hmet0j7.js → repository-sae9kgks.js} +10 -10
  179. package/dist/chunks/{repository-c4ppv1by.js → repository-sdmk119x.js} +2 -2
  180. package/dist/chunks/{repository-m9144ht3.js → repository-sm84vfww.js} +9 -9
  181. package/dist/chunks/{repository-ffcsw7yh.js → repository-smxxsx11.js} +16 -16
  182. package/dist/chunks/{repository-q5dpec9v.js → repository-stv887d7.js} +10 -10
  183. package/dist/chunks/{repository-kwe5n90t.js → repository-svv95awx.js} +23 -23
  184. package/dist/chunks/{repository-v5dkyp31.js → repository-sxz6gkc3.js} +6 -6
  185. package/dist/chunks/{repository-r0p67dnr.js → repository-t041a9x4.js} +21 -21
  186. package/dist/chunks/{repository-rhjbct0v.js → repository-t550f9t1.js} +3 -3
  187. package/dist/chunks/{repository-zvt5dnpc.js → repository-t7n9q6bq.js} +3 -3
  188. package/dist/chunks/{repository-2gy1bqwa.js → repository-t8730cdn.js} +12 -12
  189. package/dist/chunks/{repository-ydx1ak1r.js → repository-tcj9ww28.js} +16 -16
  190. package/dist/chunks/{repository-2zy9bvam.js → repository-tfzy1df7.js} +28 -28
  191. package/dist/chunks/{repository-dwdeeedv.js → repository-tqr3fgz4.js} +43 -43
  192. package/dist/chunks/{repository-hcd63823.js → repository-v4028cvv.js} +14 -14
  193. package/dist/chunks/{repository-e3z9p67s.js → repository-vhyze3e3.js} +18 -18
  194. package/dist/chunks/{repository-5m4tc1r8.js → repository-vp03n2p3.js} +11 -11
  195. package/dist/chunks/{repository-a204ka05.js → repository-vrwms5ta.js} +1 -1
  196. package/dist/chunks/{repository-tma09pjv.js → repository-vsfnjfd7.js} +10 -10
  197. package/dist/chunks/{repository-3gqan0f7.js → repository-vsrax324.js} +19 -19
  198. package/dist/chunks/{repository-da533g22.js → repository-w3x6xwqj.js} +1 -1
  199. package/dist/chunks/{repository-dpsvckea.js → repository-w3zzd7fq.js} +15 -15
  200. package/dist/chunks/{repository-fvanntqq.js → repository-w4arg62q.js} +5 -5
  201. package/dist/chunks/{repository-k07p368a.js → repository-w6pxqv2r.js} +14 -14
  202. package/dist/chunks/{repository-8hbfdwcy.js → repository-w6zk8pbt.js} +5 -5
  203. package/dist/chunks/{repository-5y4gd2sb.js → repository-wa5jjdw0.js} +10 -10
  204. package/dist/chunks/{repository-etzz3kcr.js → repository-was7srj9.js} +7 -7
  205. package/dist/chunks/{repository-h5qvqr7w.js → repository-wbfjc2h1.js} +10 -10
  206. package/dist/chunks/{repository-tyzy9g51.js → repository-wjdksev2.js} +36 -36
  207. package/dist/chunks/{repository-n953eyzk.js → repository-wtb2nkxw.js} +3 -3
  208. package/dist/chunks/{repository-384p91kd.js → repository-www228tn.js} +32 -32
  209. package/dist/chunks/{repository-df54n7py.js → repository-wzvzbcsg.js} +8 -8
  210. package/dist/chunks/{repository-xxv802jd.js → repository-x3g34f3v.js} +1 -1
  211. package/dist/chunks/{repository-pgp1nwjn.js → repository-x3gqap9d.js} +3 -3
  212. package/dist/chunks/{repository-4b9fhhm9.js → repository-x4m537wk.js} +4 -4
  213. package/dist/chunks/{repository-qz02d4gv.js → repository-x5h44zm2.js} +7 -7
  214. package/dist/chunks/{repository-33y1b8yt.js → repository-xkv170v4.js} +8 -8
  215. package/dist/chunks/{repository-kgcknfzw.js → repository-xm24773m.js} +37 -37
  216. package/dist/chunks/{repository-k9p9jwpd.js → repository-xqn8f2xc.js} +17 -17
  217. package/dist/chunks/{repository-3rh9rajd.js → repository-y0rg8wwx.js} +8 -8
  218. package/dist/chunks/{repository-e28ag5bw.js → repository-y14362pj.js} +12 -12
  219. package/dist/chunks/{repository-95qqca5m.js → repository-y2sxsfvk.js} +12 -12
  220. package/dist/chunks/{repository-9rdt4sv8.js → repository-y9kjq5j3.js} +9 -9
  221. package/dist/chunks/{repository-gmjjhz4f.js → repository-yq9bhs5j.js} +1 -1
  222. package/dist/chunks/{repository-c8xyt3x2.js → repository-z139kjpf.js} +7 -7
  223. package/dist/chunks/{repository-8mkxvtcz.js → repository-zbzxhk8m.js} +10 -10
  224. package/dist/chunks/{repository-g9apv6nb.js → repository-zcj9g204.js} +4 -4
  225. package/dist/chunks/{repository-dsped3ts.js → repository-zd8hcvy8.js} +17 -17
  226. package/dist/chunks/{repository-nmxw05nd.js → repository-ztjbcj90.js} +39 -39
  227. package/dist/chunks/{repository-y3k1g0t3.js → repository-zxptzjm7.js} +17 -17
  228. package/dist/codemode/instructions.js +4 -4
  229. package/dist/codemode/tool.js +2 -2
  230. package/dist/command.js +61 -61
  231. package/dist/config/discovery.js +54 -54
  232. package/dist/config/normalize.js +74 -74
  233. package/dist/config/plugin/agent.js +88 -88
  234. package/dist/config/plugin/command.js +172 -172
  235. package/dist/config/plugin/compaction.js +121 -121
  236. package/dist/config/plugin/compatibility.js +101 -101
  237. package/dist/config/plugin/formatter.js +86 -86
  238. package/dist/config/plugin/image.js +86 -86
  239. package/dist/config/plugin/instruction.js +59 -59
  240. package/dist/config/plugin/location-watcher.js +86 -86
  241. package/dist/config/plugin/mcp.js +96 -96
  242. package/dist/config/plugin/policy.js +86 -86
  243. package/dist/config/plugin/provider.js +86 -86
  244. package/dist/config/plugin/reference.js +88 -88
  245. package/dist/config/plugin/shell.js +86 -86
  246. package/dist/config/plugin/skill-file.js +69 -69
  247. package/dist/config/plugin/skill.js +104 -104
  248. package/dist/config/plugin/snapshot.js +86 -86
  249. package/dist/config/plugin/source.js +89 -89
  250. package/dist/config/plugin/tool-output.js +88 -88
  251. package/dist/config/plugin/websearch.js +85 -85
  252. package/dist/config/plugin/worktree.js +88 -88
  253. package/dist/config.js +92 -92
  254. package/dist/credential.js +60 -60
  255. package/dist/database/database.js +49 -49
  256. package/dist/database/drizzle/effect-sqlite/driver.js +7 -7
  257. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  258. package/dist/database/drizzle/effect-sqlite/session.js +6 -6
  259. package/dist/database/drizzle/index.js +8 -8
  260. package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
  261. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  262. package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
  263. package/dist/database/drizzle.js +8 -8
  264. package/dist/database/migration.gen.js +38 -38
  265. package/dist/database/migration.js +40 -40
  266. package/dist/database/v1-migration.bun.js +9 -9
  267. package/dist/effect/app-node-builder.js +228 -228
  268. package/dist/environment/environment.js +60 -60
  269. package/dist/environment/index.js +60 -60
  270. package/dist/event-logger.js +9 -9
  271. package/dist/file-access.js +72 -72
  272. package/dist/file-mutation.js +61 -61
  273. package/dist/filesystem/location-watcher-policy.js +5 -5
  274. package/dist/filesystem/location-watcher.js +178 -178
  275. package/dist/filesystem/search.js +68 -68
  276. package/dist/filesystem/watcher.js +11 -11
  277. package/dist/filesystem.js +67 -67
  278. package/dist/form.js +59 -59
  279. package/dist/formatter.js +58 -58
  280. package/dist/generate.js +74 -74
  281. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  282. package/dist/github-copilot/copilot-provider.js +3 -3
  283. package/dist/github-copilot/models.js +62 -62
  284. package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
  285. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
  286. package/dist/image/photon.js +1 -1
  287. package/dist/image.js +5 -5
  288. package/dist/instance.js +304 -304
  289. package/dist/instruction-discovery.js +64 -64
  290. package/dist/instructions/builtins.js +59 -59
  291. package/dist/instructions/index.js +3 -3
  292. package/dist/integration/connection.js +3 -3
  293. package/dist/integration.js +64 -64
  294. package/dist/job.js +59 -59
  295. package/dist/kv.js +54 -54
  296. package/dist/location-activity.js +51 -51
  297. package/dist/location-lifecycle.js +71 -71
  298. package/dist/location-mutation.js +29 -29
  299. package/dist/location-service-map.js +58 -58
  300. package/dist/location-services.js +305 -305
  301. package/dist/location.js +61 -61
  302. package/dist/managed-policy.js +5 -5
  303. package/dist/mcp/client.js +16 -16
  304. package/dist/mcp/index.js +68 -68
  305. package/dist/mcp/instructions.js +92 -92
  306. package/dist/mcp/oauth.js +13 -13
  307. package/dist/mcp/stdio.js +57 -57
  308. package/dist/modal/models.js +62 -62
  309. package/dist/model-resolver.js +69 -69
  310. package/dist/model.js +73 -73
  311. package/dist/models-dev.js +70 -70
  312. package/dist/permission/saved.js +58 -58
  313. package/dist/permission.js +75 -75
  314. package/dist/persistent-pty/index.js +66 -66
  315. package/dist/persistent-pty.js +52 -52
  316. package/dist/plugin/agent.js +72 -72
  317. package/dist/plugin/command.js +67 -67
  318. package/dist/plugin/compaction.js +99 -99
  319. package/dist/plugin/hooks.js +5 -5
  320. package/dist/plugin/host.js +175 -175
  321. package/dist/plugin/identity.js +3 -3
  322. package/dist/plugin/instance.js +3 -3
  323. package/dist/plugin/internal.js +279 -279
  324. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  325. package/dist/plugin/models-dev.js +67 -67
  326. package/dist/plugin/module.js +4 -4
  327. package/dist/plugin/optimize.js +4 -4
  328. package/dist/plugin/plan.js +70 -70
  329. package/dist/plugin/provider/amazon-bedrock.js +61 -61
  330. package/dist/plugin/provider/azure.js +85 -85
  331. package/dist/plugin/provider/cloudflare-ai-gateway.js +84 -84
  332. package/dist/plugin/provider/cloudflare-workers-ai.js +84 -84
  333. package/dist/plugin/provider/configured.js +83 -83
  334. package/dist/plugin/provider/digitalocean.js +63 -63
  335. package/dist/plugin/provider/github-copilot.js +64 -64
  336. package/dist/plugin/provider/gitlab.js +63 -63
  337. package/dist/plugin/provider/google-vertex.js +61 -61
  338. package/dist/plugin/provider/llmgateway.js +55 -55
  339. package/dist/plugin/provider/lmstudio.js +86 -86
  340. package/dist/plugin/provider/modal.js +63 -63
  341. package/dist/plugin/provider/ollama.js +86 -86
  342. package/dist/plugin/provider/openai.js +64 -64
  343. package/dist/plugin/provider/opencode.js +66 -66
  344. package/dist/plugin/provider/openrouter.js +62 -62
  345. package/dist/plugin/provider/poe.js +55 -55
  346. package/dist/plugin/provider/prompt-cache-key.js +61 -61
  347. package/dist/plugin/provider/sap-ai-core.js +61 -61
  348. package/dist/plugin/provider/snowflake-cortex.js +85 -85
  349. package/dist/plugin/provider/vercel.js +61 -61
  350. package/dist/plugin/provider/vllm.js +86 -86
  351. package/dist/plugin/provider/xai.js +62 -62
  352. package/dist/plugin/provider.js +118 -118
  353. package/dist/plugin/sdk.js +57 -57
  354. package/dist/plugin/service.js +3 -3
  355. package/dist/plugin/skill.js +102 -102
  356. package/dist/plugin/supervisor.js +298 -298
  357. package/dist/plugin/tool-input-repair.js +3 -3
  358. package/dist/plugin/update.js +5 -5
  359. package/dist/plugin/vcs/git.js +57 -57
  360. package/dist/plugin/vcs/hg.js +57 -57
  361. package/dist/plugin/verbosity.js +64 -64
  362. package/dist/plugin/warming.js +85 -85
  363. package/dist/plugin/websearch/exa.js +6 -6
  364. package/dist/plugin/websearch/firecrawl.js +7 -7
  365. package/dist/plugin/websearch/index.js +8 -8
  366. package/dist/plugin/websearch/mcp.js +3 -3
  367. package/dist/plugin/websearch/parallel.js +7 -7
  368. package/dist/plugin/websearch/tavily.js +6 -6
  369. package/dist/plugin/websearch/tinyfish.js +7 -7
  370. package/dist/plugin.js +182 -182
  371. package/dist/project/schema.js +7 -7
  372. package/dist/project.js +60 -60
  373. package/dist/provider.js +70 -70
  374. package/dist/pty.js +59 -59
  375. package/dist/reference/instructions.js +63 -63
  376. package/dist/reference.js +63 -63
  377. package/dist/repository-cache.js +57 -57
  378. package/dist/repository.js +3 -3
  379. package/dist/ripgrep.js +61 -61
  380. package/dist/rpc.js +58 -58
  381. package/dist/session/command.js +53 -53
  382. package/dist/session/compaction.js +98 -98
  383. package/dist/session/context.js +115 -115
  384. package/dist/session/diff.js +58 -58
  385. package/dist/session/environment.js +5 -5
  386. package/dist/session/error.js +2 -2
  387. package/dist/session/execution/restart.js +114 -114
  388. package/dist/session/execution.js +93 -93
  389. package/dist/session/generate.js +115 -115
  390. package/dist/session/history.js +8 -8
  391. package/dist/session/inbox.js +64 -64
  392. package/dist/session/info.js +2 -2
  393. package/dist/session/instruction-entry.js +57 -57
  394. package/dist/session/instruction-state.js +3 -3
  395. package/dist/session/instructions.js +68 -68
  396. package/dist/session/model-request.js +87 -87
  397. package/dist/session/model-transport.js +7 -7
  398. package/dist/session/move.js +96 -96
  399. package/dist/session/projector.js +61 -61
  400. package/dist/session/prompt.js +72 -72
  401. package/dist/session/provider-context.js +3 -3
  402. package/dist/session/revert.js +59 -59
  403. package/dist/session/run-coordinator.js +3 -3
  404. package/dist/session/runner/index.js +3 -3
  405. package/dist/session/runner/llm.js +185 -185
  406. package/dist/session/runner/model.js +69 -69
  407. package/dist/session/runner/retry.js +82 -82
  408. package/dist/session/runner/step.js +92 -92
  409. package/dist/session/runner/to-llm-message.js +2 -2
  410. package/dist/session/schema.js +5 -5
  411. package/dist/session/session.js +132 -132
  412. package/dist/session/shell.js +101 -101
  413. package/dist/session/skill.js +70 -70
  414. package/dist/session/stats.js +8 -8
  415. package/dist/session/store.js +63 -63
  416. package/dist/session/subagent-job.js +168 -168
  417. package/dist/session/system-prompt.js +3 -3
  418. package/dist/session/title.js +118 -118
  419. package/dist/session/to-session-error.js +79 -79
  420. package/dist/session/transfer.js +111 -111
  421. package/dist/session.js +177 -177
  422. package/dist/shell/parse.js +2 -2
  423. package/dist/shell/select.js +7 -7
  424. package/dist/shell.js +102 -102
  425. package/dist/skill/discovery.js +5 -5
  426. package/dist/skill/instructions.js +75 -75
  427. package/dist/skill.js +78 -78
  428. package/dist/snapshot.js +60 -60
  429. package/dist/tool/mcp.js +89 -89
  430. package/dist/tool/plugin/edit.js +80 -80
  431. package/dist/tool/plugin/glob.js +87 -87
  432. package/dist/tool/plugin/grep.js +87 -87
  433. package/dist/tool/plugin/mcp-resource.js +79 -79
  434. package/dist/tool/plugin/opencode.js +3 -3
  435. package/dist/tool/plugin/patch.js +84 -84
  436. package/dist/tool/plugin/question.js +69 -69
  437. package/dist/tool/plugin/read.js +88 -88
  438. package/dist/tool/plugin/shell.js +174 -174
  439. package/dist/tool/plugin/skill.js +79 -79
  440. package/dist/tool/plugin/subagent.js +169 -169
  441. package/dist/tool/plugin/webfetch.js +76 -76
  442. package/dist/tool/plugin/websearch.js +76 -76
  443. package/dist/tool/plugin/write.js +86 -86
  444. package/dist/tool/read-filesystem.js +65 -65
  445. package/dist/tool-output.js +5 -5
  446. package/dist/tool.js +9 -9
  447. package/dist/v1/config/agent.js +4 -4
  448. package/dist/v1/config/attachment.js +3 -3
  449. package/dist/v1/config/command.js +5 -5
  450. package/dist/v1/config/config.js +13 -13
  451. package/dist/v1/config/formatter.js +5 -5
  452. package/dist/v1/config/lsp.js +5 -5
  453. package/dist/v1/config/migrate.js +62 -62
  454. package/dist/v1/config/permission.js +3 -3
  455. package/dist/v1/config/plugin.js +3 -3
  456. package/dist/v1/config/provider.js +3 -3
  457. package/dist/v1/config/skills.js +3 -3
  458. package/dist/variant.js +64 -64
  459. package/dist/vcs.js +58 -58
  460. package/dist/websearch.js +58 -58
  461. package/dist/wellknown/plugin.js +55 -55
  462. package/dist/wellknown.js +60 -60
  463. package/dist/workspace/driver.js +5 -5
  464. package/dist/workspace.js +61 -61
  465. package/dist/worktree/git.js +3 -3
  466. package/dist/worktree/strategies.js +59 -59
  467. package/dist/worktree.js +65 -65
  468. package/package.json +8 -8
  469. package/dist/chunks/repository-tewh99a4.js +0 -26
  470. package/dist/chunks/repository-vgmd07b2.js +0 -252
  471. /package/dist/chunks/{repository-p5c89f54.js → repository-21zq8aa1.js} +0 -0
  472. /package/dist/chunks/{repository-n3wcrd3g.js → repository-cm0f77dr.js} +0 -0
  473. /package/dist/chunks/{repository-nzks3jc8.js → repository-k3c624dm.js} +0 -0
  474. /package/dist/chunks/{repository-vnwmzs4a.js → repository-sqbb0ctm.js} +0 -0
  475. /package/dist/chunks/{repository-6s8c70gj.js → repository-y99ygqqg.js} +0 -0
@@ -3,28 +3,28 @@ import {
3
3
  } from "./repository-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./repository-jw80jp6b.js";
6
+ } from "./repository-nrdmrqsx.js";
7
7
  import {
8
- Info16
9
- } from "./repository-h2r7bbkd.js";
8
+ Info7
9
+ } from "./repository-p26nknmg.js";
10
10
  import {
11
- Info19
12
- } from "./repository-3w2b2yj4.js";
11
+ Info8
12
+ } from "./repository-9xvq3m7s.js";
13
13
  import {
14
- Info12
15
- } from "./repository-v5dkyp31.js";
14
+ Info13
15
+ } from "./repository-sxz6gkc3.js";
16
16
  import {
17
17
  Info15
18
18
  } from "./repository-nxhqveyz.js";
19
19
  import {
20
20
  Spec2
21
- } from "./repository-fcrkznn8.js";
21
+ } from "./repository-2k8khapm.js";
22
22
  import {
23
- Info20
24
- } from "./repository-hcz3zddy.js";
23
+ Info14
24
+ } from "./repository-0r7yqxbf.js";
25
25
  import {
26
- Info11
27
- } from "./repository-tyzy9g51.js";
26
+ Info6
27
+ } from "./repository-wjdksev2.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,7 +33,7 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./repository-1p9j9tg9.js";
36
+ } from "./repository-3rbef5jj.js";
37
37
  import {
38
38
  __export
39
39
  } from "./repository-9rqn6x4v.js";
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info11.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info6.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info19, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info8, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info12, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info13, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info16, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info7, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info16, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info7, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info20, raw, path, diagnostics);
424
+ const provider = decodeValue(Info14, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./repository-k6pkmzhs.js";
4
+ } from "./repository-8xdzh0gy.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-w7t1fehg.js";
3
+ } from "./repository-4f06rze2.js";
4
4
  import {
5
5
  Service83
6
- } from "./repository-tgey6qrj.js";
6
+ } from "./repository-3f66bwfz.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19
10
- } from "./repository-y3k1g0t3.js";
10
+ } from "./repository-zxptzjm7.js";
11
11
  import {
12
- ID16,
12
+ ID14,
13
13
  MethodID2
14
- } from "./repository-kwe5n90t.js";
14
+ } from "./repository-svv95awx.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
18
  } from "./repository-pjvnvgmy.js";
19
19
  import {
20
- ID12,
20
+ ID13,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./repository-k6pkmzhs.js";
23
+ } from "./repository-8xdzh0gy.js";
24
24
 
25
25
  // src/plugin/provider/openai.ts
26
26
  import { define } from "@opencode/plugin/effect/plugin";
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
44
44
  }));
45
45
  var decodeClaims = Schema.decodeUnknownOption(Claims);
46
46
  var browser = (app) => ({
47
- integrationID: ID16.make("openai"),
47
+ integrationID: ID14.make("openai"),
48
48
  method: {
49
49
  id: browserMethodID,
50
50
  type: "oauth",
@@ -117,7 +117,7 @@ function addressInUse(error) {
117
117
  return "code" in error && error.code === "EADDRINUSE";
118
118
  }
119
119
  var headless = (app) => ({
120
- integrationID: ID16.make("openai"),
120
+ integrationID: ID14.make("openai"),
121
121
  method: {
122
122
  id: headlessMethodID,
123
123
  type: "oauth",
@@ -159,7 +159,7 @@ var headless = (app) => ({
159
159
  }),
160
160
  refresh: (value) => refresh(headlessMethodID, value, app)
161
161
  });
162
- var OpenAIPlugin3 = define({
162
+ var OpenAIPlugin2 = define({
163
163
  id: "opencode.provider.openai",
164
164
  effect: Effect.fn(function* (ctx) {
165
165
  const bus = yield* Service83;
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
178
178
  });
179
179
  yield* load();
180
180
  yield* ctx.provider.transform((providers) => {
181
- const item = providers.get(ID12.openai);
181
+ const item = providers.get(ID13.openai);
182
182
  if (!item)
183
183
  return;
184
184
  const account = chatgpt?.metadata?.accountID;
@@ -197,7 +197,7 @@ var OpenAIPlugin3 = define({
197
197
  });
198
198
  });
199
199
  yield* ctx.model.transform((models) => {
200
- for (const model of models.list(ID12.openai)) {
200
+ for (const model of models.list(ID13.openai)) {
201
201
  models.update(model.providerID, model.id, (draft) => {
202
202
  if (!chatgpt)
203
203
  return;
@@ -225,9 +225,9 @@ var OpenAIPlugin3 = define({
225
225
  evt.baseURL = codexBaseURL;
226
226
  evt.headers.originator = "opencode";
227
227
  evt.headers["session-id"] = evt.sessionID;
228
- }), { providerID: ID12.openai });
228
+ }), { providerID: ID13.openai });
229
229
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
230
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
230
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
231
231
  })
232
232
  });
233
233
  function headers(contentType, app) {
@@ -318,4 +318,4 @@ function claim(token) {
318
318
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
319
319
  }
320
320
 
321
- export { OpenAIPlugin3 };
321
+ export { OpenAIPlugin2 };
@@ -7,8 +7,8 @@ var exports_lsp = {};
7
7
  __export(exports_lsp, {
8
8
  ConfigLSPV1: () => exports_lsp,
9
9
  Disabled: () => Disabled2,
10
- Entry: () => Entry4,
11
- Info: () => Info18,
10
+ Entry: () => Entry3,
11
+ Info: () => Info9,
12
12
  builtinServerIds: () => builtinServerIds2,
13
13
  requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
14
14
  });
@@ -16,7 +16,7 @@ import { Schema } from "effect";
16
16
  var Disabled2 = Schema.Struct({
17
17
  disabled: Schema.Literal(true)
18
18
  });
19
- var Entry4 = Schema.Union([
19
+ var Entry3 = Schema.Union([
20
20
  Disabled2,
21
21
  Schema.Struct({
22
22
  command: Schema.mutable(Schema.Array(Schema.String)),
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
79
79
  });
80
80
  return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
81
81
  });
82
- var Info18 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
82
+ var Info9 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
83
83
 
84
- export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info18, exports_lsp };
84
+ export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info9, exports_lsp };
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID11,
2
+ ID9,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./repository-4jztms0b.js";
5
+ } from "./repository-5rfaxrsd.js";
6
6
  import {
7
7
  merge2
8
- } from "./repository-r5m1ty2t.js";
8
+ } from "./repository-r6vv5p3m.js";
9
9
  import {
10
10
  __export
11
11
  } from "./repository-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
- var exports_agent = {};
15
- __export(exports_agent, {
16
- AgentPlugin: () => exports_agent,
17
- Plugin: () => Plugin30
14
+ var exports_agent2 = {};
15
+ __export(exports_agent2, {
16
+ AgentPlugin: () => exports_agent2,
17
+ Plugin: () => Plugin43
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin30 = define({
93
+ var Plugin43 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin30 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID11.make("general"), (item) => {
103
+ editor.update(ID9.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID11.make("explore"), (item) => {
109
+ editor.update(ID9.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin30 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID11.make("compaction"), (item) => {
128
+ editor.update(ID9.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID11.make("title"), (item) => {
133
+ editor.update(ID9.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID11.make("summary"), (item) => {
140
+ editor.update(ID9.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin30 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin30, exports_agent };
151
+ export { Plugin43, exports_agent2 };
@@ -10,8 +10,8 @@ __export(exports_driver, {
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make19,
14
- node: () => node63,
13
+ make: () => make20,
14
+ node: () => node68,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make19 = (driver) => driver;
32
+ var make20 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node63 = registryNode2({});
47
+ var node68 = registryNode2({});
48
48
 
49
- export { Binding2, Error4, ProviderNotFound2, make19, RegistryService2, registry2, registryNode2, node63, exports_driver };
49
+ export { Binding2, Error4, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node68, exports_driver };
@@ -1,6 +1,6 @@
1
1
  import {
2
- Ref3
3
- } from "./repository-ydx1ak1r.js";
2
+ Ref4
3
+ } from "./repository-tcj9ww28.js";
4
4
  import {
5
5
  __export
6
6
  } from "./repository-9rqn6x4v.js";
@@ -9,9 +9,9 @@ import {
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service65,
12
+ Service: () => Service70,
13
13
  canonical: () => canonical3,
14
- node: () => node69,
14
+ node: () => node74,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service65 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service70 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service65, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service70, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node69 = LayerNode.unbound(Service65, Node.tags.values.global);
27
+ var node74 = LayerNode.unbound(Service70, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service65;
29
+ const locations = yield* Service70;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -39,10 +39,10 @@ var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
39
39
  yield* Effect.logInfo("location services reloaded", { count: refs.length });
40
40
  });
41
41
  function canonical3(ref) {
42
- return Ref3.make({
42
+ return Ref4.make({
43
43
  directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
44
44
  workspaceID: ref.workspaceID
45
45
  });
46
46
  }
47
47
 
48
- export { Service65, node69, reload2, canonical3, exports_location_service_map };
48
+ export { Service70, node74, reload2, canonical3, exports_location_service_map };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  call2
3
- } from "./repository-33w4ejhs.js";
3
+ } from "./repository-56gdpj1q.js";
4
4
  import {
5
5
  __export
6
6
  } from "./repository-9rqn6x4v.js";
@@ -8,14 +8,14 @@ import {
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin21,
11
+ Plugin: () => Plugin39,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint6
13
+ endpoint: () => endpoint5
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/unstable/http";
18
- var endpoint6 = "https://mcp.exa.ai/mcp";
18
+ var endpoint5 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin21 = define({
30
+ var Plugin39 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin21 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint6);
52
+ const url = new URL(endpoint5);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint6, Plugin21, exports_exa };
83
+ export { endpoint5, Plugin39, exports_exa };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./repository-k6pkmzhs.js";
4
+ } from "./repository-8xdzh0gy.js";
5
5
  import {
6
6
  latest2,
7
- Service60
8
- } from "./repository-kgcknfzw.js";
7
+ Service42
8
+ } from "./repository-xm24773m.js";
9
9
  import {
10
- resolve2
11
- } from "./repository-qjwr0tpp.js";
10
+ resolve4
11
+ } from "./repository-hyyftsxg.js";
12
12
  import {
13
13
  observe2
14
14
  } from "./repository-qsdy395h.js";
@@ -20,15 +20,15 @@ import {
20
20
  var exports_provider = {};
21
21
  __export(exports_provider, {
22
22
  ConfigProviderPlugin: () => exports_provider,
23
- Plugin: () => Plugin48
23
+ Plugin: () => Plugin25
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Money } from "@opencode/schema/money";
27
27
  import { Effect } from "effect";
28
- var Plugin48 = define({
28
+ var Plugin25 = define({
29
29
  id: "opencode.config.provider",
30
30
  effect: Effect.fn(function* (ctx) {
31
- const config = yield* Service60;
31
+ const config = yield* Service42;
32
32
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
33
33
  yield* ctx.integration.transform((integrations) => {
34
34
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -177,7 +177,7 @@ var Plugin48 = define({
177
177
  if (config.variants === undefined && !source?.base)
178
178
  models.update(providerID, id, (model) => {
179
179
  model.variants = [
180
- ...resolve2({
180
+ ...resolve4({
181
181
  ...model,
182
182
  package: model.package ?? models.provider.get(providerID)?.provider.package
183
183
  })
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
192
192
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
193
193
  }
194
194
 
195
- export { Plugin48, exports_provider };
195
+ export { Plugin25, exports_provider };
@@ -3,41 +3,41 @@ import {
3
3
  PositiveInt2
4
4
  } from "./repository-922hggd3.js";
5
5
  import {
6
- Info17
7
- } from "./repository-jw80jp6b.js";
6
+ Info10
7
+ } from "./repository-nrdmrqsx.js";
8
8
  import {
9
- Info16
10
- } from "./repository-h2r7bbkd.js";
9
+ Info7
10
+ } from "./repository-p26nknmg.js";
11
11
  import {
12
- Info19
13
- } from "./repository-3w2b2yj4.js";
12
+ Info8
13
+ } from "./repository-9xvq3m7s.js";
14
14
  import {
15
- Info12
16
- } from "./repository-v5dkyp31.js";
15
+ Info13
16
+ } from "./repository-sxz6gkc3.js";
17
17
  import {
18
- Info14
19
- } from "./repository-7w3s9kd0.js";
18
+ Info11
19
+ } from "./repository-nkcwakxz.js";
20
20
  import {
21
21
  Layout2
22
22
  } from "./repository-21r38tys.js";
23
23
  import {
24
- Info18
25
- } from "./repository-fvanntqq.js";
24
+ Info9
25
+ } from "./repository-w4arg62q.js";
26
26
  import {
27
27
  Info15
28
28
  } from "./repository-nxhqveyz.js";
29
29
  import {
30
30
  Spec2
31
- } from "./repository-fcrkznn8.js";
31
+ } from "./repository-2k8khapm.js";
32
32
  import {
33
- Info20
34
- } from "./repository-hcz3zddy.js";
33
+ Info14
34
+ } from "./repository-0r7yqxbf.js";
35
35
  import {
36
36
  Server2
37
37
  } from "./repository-zeh9ct20.js";
38
38
  import {
39
- Info13
40
- } from "./repository-pmr4s4kc.js";
39
+ Info12
40
+ } from "./repository-j83byb14.js";
41
41
  import {
42
42
  __export
43
43
  } from "./repository-9rqn6x4v.js";
@@ -46,7 +46,7 @@ import {
46
46
  var exports_config2 = {};
47
47
  __export(exports_config2, {
48
48
  ConfigV1: () => exports_config2,
49
- Info: () => Info11,
49
+ Info: () => Info6,
50
50
  WellKnown: () => WellKnown2
51
51
  });
52
52
  import { Schema } from "effect";
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
59
59
  identifier: "LogLevel",
60
60
  description: "Log level"
61
61
  });
62
- var Info11 = Schema.Struct({
62
+ var Info6 = Schema.Struct({
63
63
  $schema: Schema.optional(Schema.String).annotate({
64
64
  description: "JSON schema reference for configuration validation"
65
65
  }),
@@ -68,10 +68,10 @@ var Info11 = Schema.Struct({
68
68
  server: Schema.optional(Server2).annotate({
69
69
  description: "Server configuration for opencode serve and web commands"
70
70
  }),
71
- command: Schema.optional(Schema.Record(Schema.String, Info12)).annotate({
71
+ command: Schema.optional(Schema.Record(Schema.String, Info13)).annotate({
72
72
  description: "Command configuration, see https://opencode.ai/docs/commands"
73
73
  }),
74
- skills: Schema.optional(Info13).annotate({ description: "Additional skill folder paths" }),
74
+ skills: Schema.optional(Info12).annotate({ description: "Additional skill folder paths" }),
75
75
  references: Schema.optional(ConfigReference.Info).annotate({
76
76
  description: "Named git or local directory references"
77
77
  }),
@@ -113,33 +113,33 @@ var Info11 = Schema.Struct({
113
113
  username: Schema.optional(Schema.String).annotate({
114
114
  description: "Custom username to display in conversations instead of system username"
115
115
  }),
116
- mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info16), plan: Schema.optional(Info16) }), [Schema.Record(Schema.String, Info16)])).annotate({ description: "@deprecated Use `agent` field instead." }),
116
+ mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info7), plan: Schema.optional(Info7) }), [Schema.Record(Schema.String, Info7)])).annotate({ description: "@deprecated Use `agent` field instead." }),
117
117
  agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
118
- plan: Schema.optional(Info16),
119
- build: Schema.optional(Info16),
120
- general: Schema.optional(Info16),
121
- explore: Schema.optional(Info16),
122
- title: Schema.optional(Info16),
123
- summary: Schema.optional(Info16),
124
- compaction: Schema.optional(Info16)
125
- }), [Schema.Record(Schema.String, Info16)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
- provider: Schema.optional(Schema.Record(Schema.String, Info20)).annotate({
118
+ plan: Schema.optional(Info7),
119
+ build: Schema.optional(Info7),
120
+ general: Schema.optional(Info7),
121
+ explore: Schema.optional(Info7),
122
+ title: Schema.optional(Info7),
123
+ summary: Schema.optional(Info7),
124
+ compaction: Schema.optional(Info7)
125
+ }), [Schema.Record(Schema.String, Info7)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
+ provider: Schema.optional(Schema.Record(Schema.String, Info14)).annotate({
127
127
  description: "Custom provider configurations and model overrides"
128
128
  }),
129
129
  mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info15, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
130
- formatter: Schema.optional(Info14).annotate({
130
+ formatter: Schema.optional(Info11).annotate({
131
131
  description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
132
132
  }),
133
- lsp: Schema.optional(Info18).annotate({
133
+ lsp: Schema.optional(Info9).annotate({
134
134
  description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
135
135
  }),
136
136
  instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
137
137
  description: "Additional instruction files or patterns to include"
138
138
  }),
139
139
  layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
140
- permission: Schema.optional(Info17),
140
+ permission: Schema.optional(Info10),
141
141
  tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
142
- attachment: Schema.optional(Info19).annotate({
142
+ attachment: Schema.optional(Info8).annotate({
143
143
  description: "Attachment processing configuration, including image size limits and resizing behavior"
144
144
  }),
145
145
  enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
@@ -191,4 +191,4 @@ var Info11 = Schema.Struct({
191
191
  }))
192
192
  }).annotate({ identifier: "Config" });
193
193
 
194
- export { WellKnown2, Info11, exports_config2 };
194
+ export { WellKnown2, Info6, exports_config2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
- Service58
3
- } from "./repository-p8tnfkxq.js";
2
+ Service62
3
+ } from "./repository-asvap28k.js";
4
4
  import {
5
5
  __export
6
6
  } from "./repository-9rqn6x4v.js";
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
19
19
  var OUTGOING_CAPACITY = 64;
20
20
  var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var make2 = Effect.fnUntraced(function* (options) {
22
- const environment = yield* Service58;
22
+ const environment = yield* Service62;
23
23
  const scope = yield* Effect.scope;
24
24
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
25
25
  const buffer = new ReadBuffer;