@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
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node60
5
- } from "./repository-w7t1fehg.js";
4
+ node56
5
+ } from "./repository-4f06rze2.js";
6
6
  import {
7
7
  Service83,
8
8
  node87
9
- } from "./repository-tgey6qrj.js";
9
+ } from "./repository-3f66bwfz.js";
10
10
  import {
11
11
  native2,
12
- ID12,
12
+ ID13,
13
13
  aisdk2
14
- } from "./repository-k6pkmzhs.js";
14
+ } from "./repository-8xdzh0gy.js";
15
15
  import {
16
- ID8,
16
+ ID12,
17
17
  Family2,
18
18
  compatibility2
19
- } from "./repository-scbkt9q8.js";
19
+ } from "./repository-qn9vy89p.js";
20
20
  import {
21
- resolve2
22
- } from "./repository-qjwr0tpp.js";
21
+ resolve4
22
+ } from "./repository-hyyftsxg.js";
23
23
  import {
24
- Service82,
25
- node86
26
- } from "./repository-9rgfjqpd.js";
24
+ Service71,
25
+ node75
26
+ } from "./repository-4d31bbse.js";
27
27
  import {
28
28
  __export
29
29
  } from "./repository-9rqn6x4v.js";
@@ -35,11 +35,11 @@ __export(exports_models_dev, {
35
35
  Event: () => Event2,
36
36
  ModelsDev: () => exports_models_dev,
37
37
  Options: () => Options2,
38
- Service: () => Service13,
38
+ Service: () => Service16,
39
39
  bodyDigest: () => bodyDigest2,
40
40
  configured: () => configured2,
41
41
  layer: () => layer8,
42
- node: () => node15
42
+ node: () => node18
43
43
  });
44
44
  import { Cause, Context, Duration, Effect, Layer, Option, Schedule, Schema, Semaphore } from "effect";
45
45
  import { HttpClient, HttpClientRequest } from "effect/unstable/http";
@@ -63,7 +63,7 @@ function nativePackage(provider, model) {
63
63
  function normalize(input) {
64
64
  const providers = [];
65
65
  for (const item of Object.values(input)) {
66
- const providerID = ID12.make(item.id);
66
+ const providerID = ID13.make(item.id);
67
67
  const packageName = nativePackage(item);
68
68
  const info = {
69
69
  id: providerID,
@@ -75,12 +75,12 @@ function normalize(input) {
75
75
  const models = [];
76
76
  for (const model of Object.values(item.models)) {
77
77
  const baseCost = cost(model.cost);
78
- const id = ID8.make(model.id);
78
+ const id = ID12.make(model.id);
79
79
  const base = modelInfo(item, id, model, { cost: baseCost });
80
- const variants = resolve2({ ...base, package: nativePackage(item, model) }, supports(model));
80
+ const variants = resolve4({ ...base, package: nativePackage(item, model) }, supports(model));
81
81
  models.push({ ...base, variants });
82
82
  for (const [mode, options] of Object.entries(model.experimental?.modes ?? {})) {
83
- const modeID = ID8.make(`${model.id}-${mode}`);
83
+ const modeID = ID12.make(`${model.id}-${mode}`);
84
84
  models.push(modelInfo(item, modeID, model, {
85
85
  name: modeName(model, mode),
86
86
  cost: mergeCost(baseCost, options.cost),
@@ -164,7 +164,7 @@ function supports(model) {
164
164
  return (model.reasoning_options ?? []).map((option) => option.type === "effort" ? { type: "effort", values: option.values.filter((value) => value !== null && value !== "null") } : option);
165
165
  }
166
166
  function modelInfo(provider, id, model, input = {}) {
167
- const providerID = ID12.make(provider.id);
167
+ const providerID = ID13.make(provider.id);
168
168
  const pkg = model.provider?.npm ? nativePackage(provider, model) : undefined;
169
169
  const settings = {
170
170
  ...model.provider?.api ? { baseURL: model.provider.api } : {},
@@ -172,7 +172,7 @@ function modelInfo(provider, id, model, input = {}) {
172
172
  };
173
173
  return {
174
174
  id,
175
- modelID: ID8.make(model.id),
175
+ modelID: ID12.make(model.id),
176
176
  providerID,
177
177
  name: input.name ?? model.name,
178
178
  compatibility: compatibility2(model.interleaved),
@@ -205,7 +205,7 @@ var Options2 = Schema.Struct({
205
205
  snapshot: Schema.optional(Schema.Boolean)
206
206
  });
207
207
 
208
- class Service13 extends Context.Service()("@opencode/ModelsDev") {
208
+ class Service16 extends Context.Service()("@opencode/ModelsDev") {
209
209
  }
210
210
  var CatalogJson = Schema.fromJsonString(Schema.Record(Schema.String, Schema.Unknown));
211
211
  var decodeCatalog = (text) => Schema.decodeUnknownEffect(CatalogJson)(text).pipe(Effect.map((catalog) => catalog));
@@ -228,11 +228,11 @@ function cacheKey(source) {
228
228
  function bodyDigest2(text) {
229
229
  return Hash.sha256(text);
230
230
  }
231
- var layer8 = (options) => Layer.effect(Service13, Effect.gen(function* () {
231
+ var layer8 = (options) => Layer.effect(Service16, Effect.gen(function* () {
232
232
  const fs = yield* FSUtil.Service;
233
233
  const bus = yield* Service83;
234
234
  const app = yield* Metadata2;
235
- const kv = yield* Service82;
235
+ const kv = yield* Service71;
236
236
  const http = HttpClient.filterStatusOk((yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
237
237
  retryOn: "errors-and-responses",
238
238
  times: 2,
@@ -312,15 +312,15 @@ var layer8 = (options) => Layer.effect(Service13, Effect.gen(function* () {
312
312
  if (fetch && !process.argv.includes("--get-yargs-completions")) {
313
313
  yield* Effect.forkScoped(refresh().pipe(Effect.repeat(Schedule.spaced(ttl)), Effect.ignore));
314
314
  }
315
- return Service13.of({ get, refresh });
315
+ return Service16.of({ get, refresh });
316
316
  }));
317
317
  function configured2(options) {
318
318
  return makeGlobalNode({
319
- service: Service13,
319
+ service: Service16,
320
320
  layer: layer8(options),
321
- deps: [FSUtil.node, node87, node60, node86, httpClient]
321
+ deps: [FSUtil.node, node87, node56, node75, httpClient]
322
322
  });
323
323
  }
324
- var node15 = configured2();
324
+ var node18 = configured2();
325
325
 
326
- export { CatalogModelStatus2, Options2, Service13, bodyDigest2, layer8, configured2, node15, exports_models_dev, Event2 };
326
+ export { CatalogModelStatus2, Options2, Service16, bodyDigest2, layer8, configured2, node18, exports_models_dev, Event2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID16,
3
- Service76,
4
- node80
5
- } from "./repository-kwe5n90t.js";
2
+ ID14,
3
+ Service77,
4
+ node81
5
+ } from "./repository-svv95awx.js";
6
6
  import {
7
- ID12,
7
+ ID13,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -12,20 +12,20 @@ import {
12
12
  modelSettings2,
13
13
  mergeOverlay2,
14
14
  mergeHeaders2,
15
- Service72,
16
- node76
17
- } from "./repository-k6pkmzhs.js";
15
+ Service76,
16
+ node80
17
+ } from "./repository-8xdzh0gy.js";
18
18
  import {
19
- Service51,
20
- node53
21
- } from "./repository-qq7xvnxm.js";
19
+ Service74,
20
+ node78
21
+ } from "./repository-1z5ysepc.js";
22
22
  import {
23
- ID8,
23
+ ID12,
24
24
  VariantID2,
25
25
  Ref2,
26
- Service62,
27
- node66
28
- } from "./repository-scbkt9q8.js";
26
+ Service75,
27
+ node79
28
+ } from "./repository-qn9vy89p.js";
29
29
  import {
30
30
  __export
31
31
  } from "./repository-9rqn6x4v.js";
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
37
37
  ModelConfigurationError: () => ModelConfigurationError3,
38
38
  ModelInitializationError: () => ModelInitializationError3,
39
39
  ModelResolver: () => exports_model_resolver,
40
- Service: () => Service50,
40
+ Service: () => Service73,
41
41
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
42
42
  UnsupportedCompactionError: () => UnsupportedCompactionError3,
43
43
  UnsupportedPackageError: () => UnsupportedPackageError3,
44
44
  VariantUnavailableError: () => VariantUnavailableError3,
45
45
  fromCatalogModel: () => fromCatalogModel2,
46
46
  hasPackage: () => hasPackage2,
47
- layer: () => layer19,
48
- node: () => node52,
47
+ layer: () => layer24,
48
+ node: () => node77,
49
49
  resolveModel: () => resolveModel2,
50
50
  withVariant: () => withVariant2
51
51
  });
@@ -55,8 +55,8 @@ import { Auth } from "@opencode/ai/route";
55
55
  import { Context, Effect, Layer, Schema, Struct } from "effect";
56
56
  import { Npm } from "@opencode/util/npm";
57
57
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
58
- providerID: ID12,
59
- modelID: ID8,
58
+ providerID: ID13,
59
+ modelID: ID12,
60
60
  variant: VariantID2
61
61
  }) {
62
62
  get message() {
@@ -65,8 +65,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
65
65
  }
66
66
 
67
67
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
68
- providerID: ID12,
69
- modelID: ID8,
68
+ providerID: ID13,
69
+ modelID: ID12,
70
70
  package: Schema.String
71
71
  }) {
72
72
  get message() {
@@ -76,8 +76,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
76
76
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
77
77
 
78
78
  class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
79
- providerID: ID12,
80
- modelID: ID8,
79
+ providerID: ID13,
80
+ modelID: ID12,
81
81
  package: Schema.String,
82
82
  detail: Schema.String
83
83
  }) {
@@ -87,8 +87,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
87
87
  }
88
88
 
89
89
  class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
90
- providerID: ID12,
91
- modelID: ID8,
90
+ providerID: ID13,
91
+ modelID: ID12,
92
92
  package: Schema.String,
93
93
  phase: InitializationPhase2,
94
94
  detail: Schema.String
@@ -99,8 +99,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
99
99
  }
100
100
 
101
101
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
102
- providerID: ID12,
103
- modelID: ID8,
102
+ providerID: ID13,
103
+ modelID: ID12,
104
104
  variables: Schema.Array(Schema.String)
105
105
  }) {
106
106
  get message() {
@@ -109,8 +109,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
109
109
  }
110
110
 
111
111
  class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
112
- providerID: ID12,
113
- modelID: ID8,
112
+ providerID: ID13,
113
+ modelID: ID12,
114
114
  route: Schema.String
115
115
  }) {
116
116
  get message() {
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
118
118
  }
119
119
  }
120
120
 
121
- class Service50 extends Context.Service()("@opencode/ModelResolver") {
121
+ class Service73 extends Context.Service()("@opencode/ModelResolver") {
122
122
  }
123
123
  var withVariant2 = (model, variantID) => {
124
124
  const id = variantID === "default" ? undefined : variantID;
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
258
258
  };
259
259
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
260
260
  var hasPackage2 = (model) => Boolean(model.package);
261
- var layer19 = Layer.effect(Service50, Effect.gen(function* () {
262
- const providers = yield* Service72;
263
- const models = yield* Service62;
264
- const integrations = yield* Service76;
261
+ var layer24 = Layer.effect(Service73, Effect.gen(function* () {
262
+ const providers = yield* Service76;
263
+ const models = yield* Service75;
264
+ const integrations = yield* Service77;
265
265
  const npm = yield* Npm.Service;
266
- const aisdk = yield* Service51;
266
+ const aisdk = yield* Service74;
267
267
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
268
268
  const provider = yield* providers.get(selected.providerID);
269
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID16.make(selected.providerID));
269
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
270
270
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
271
271
  const selectedVariant = yield* withVariant2(selected, variant);
272
272
  const runtimeInfo = {
@@ -293,7 +293,7 @@ var layer19 = Layer.effect(Service50, Effect.gen(function* () {
293
293
  chunkTimeout: provider?.settings?.chunkTimeout
294
294
  };
295
295
  });
296
- return Service50.of({
296
+ return Service73.of({
297
297
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
298
298
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
299
299
  if (!selected)
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
310
310
  const name = packageName2(packageName);
311
311
  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;
312
312
  }
313
- var node52 = makeLocationNode({
314
- service: Service50,
315
- layer: layer19,
316
- deps: [node76, node66, node80, Npm.node, node53]
313
+ var node77 = makeLocationNode({
314
+ service: Service73,
315
+ layer: layer24,
316
+ deps: [node80, node79, node81, Npm.node, node78]
317
317
  });
318
318
 
319
- export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service50, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer19, node52, exports_model_resolver };
319
+ export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service73, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node77, exports_model_resolver };
@@ -2,15 +2,15 @@ import {
2
2
  ascending2
3
3
  } from "./repository-tvtrv512.js";
4
4
  import {
5
- Service82,
6
- node86
7
- } from "./repository-9rgfjqpd.js";
5
+ Service71,
6
+ node75
7
+ } from "./repository-4d31bbse.js";
8
8
  import {
9
9
  SessionMessage2
10
10
  } from "./repository-gftt206x.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./repository-q3t37ft6.js";
13
+ } from "./repository-fqka1xvk.js";
14
14
  import {
15
15
  __export
16
16
  } from "./repository-9rqn6x4v.js";
@@ -19,9 +19,9 @@ import {
19
19
  var exports_job = {};
20
20
  __export(exports_job, {
21
21
  Job: () => exports_job,
22
- Service: () => Service75,
23
- make: () => make21,
24
- node: () => node79
22
+ Service: () => Service50,
23
+ make: () => make17,
24
+ node: () => node52
25
25
  });
26
26
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
27
27
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
51
51
  var backgroundPrefix = "job.background/";
52
52
  var COMPLETED_LIMIT = 25;
53
53
 
54
- class Service75 extends Context.Service()("@opencode/Job") {
54
+ class Service50 extends Context.Service()("@opencode/Job") {
55
55
  }
56
56
  function snapshot(job) {
57
57
  return {
@@ -86,8 +86,8 @@ function decrementSession(input, sessionID) {
86
86
  next.set(sessionID, count - 1);
87
87
  return next;
88
88
  }
89
- var make21 = Effect.gen(function* () {
90
- const kv = yield* Service82;
89
+ var make17 = Effect.gen(function* () {
90
+ const kv = yield* Service71;
91
91
  const state = {
92
92
  jobs: yield* SynchronizedRef.make(new Map),
93
93
  scope: yield* Scope.Scope
@@ -346,7 +346,7 @@ var make21 = Effect.gen(function* () {
346
346
  next.delete(entry[0]);
347
347
  return next;
348
348
  })));
349
- return Service75.of({
349
+ return Service50.of({
350
350
  get,
351
351
  start,
352
352
  wait,
@@ -358,7 +358,7 @@ var make21 = Effect.gen(function* () {
358
358
  completeBackground
359
359
  });
360
360
  });
361
- var layer = Layer.effect(Service75, make21);
362
- var node79 = makeGlobalNode({ service: Service75, layer, deps: [node86] });
361
+ var layer = Layer.effect(Service50, make17);
362
+ var node52 = makeGlobalNode({ service: Service50, layer, deps: [node75] });
363
363
 
364
- export { Service75, make21, node79, exports_job };
364
+ export { Service50, make17, node52, exports_job };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./repository-tgey6qrj.js";
4
+ } from "./repository-3f66bwfz.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
8
  } from "./repository-922hggd3.js";
9
9
  import {
10
- Ref3,
11
- Service73,
12
- node77
13
- } from "./repository-ydx1ak1r.js";
10
+ Ref4,
11
+ Service79,
12
+ node83
13
+ } from "./repository-tcj9ww28.js";
14
14
  import {
15
15
  __export
16
16
  } from "./repository-9rqn6x4v.js";
@@ -19,15 +19,15 @@ import {
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service29,
22
+ Service: () => Service22,
23
23
  define: () => define2,
24
- node: () => node32
24
+ node: () => node25
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service29 extends Context.Service()("@opencode/Rpc") {
30
+ class Service22 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service29, Effect.gen(function* () {
42
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
43
43
  const bus = yield* Service83;
44
- const location = yield* Service73;
45
- const ref = Ref3.make({ directory: location.directory, workspaceID: location.workspaceID });
44
+ const location = yield* Service79;
45
+ const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const closed = yield* Deferred.make();
47
47
  const callContext = {
48
48
  error: (type, message, data) => new DeclaredError(type, message, data)
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
82
82
  const event = registered.event;
83
83
  const data = yield* encode(event.schema, args[1]);
84
84
  return yield* bus.publish(registered.definition, data, {
85
- location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
85
+ location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
86
86
  }).pipe(Effect.asVoid);
87
87
  })
88
88
  }
@@ -118,19 +118,19 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
118
118
  const registered = events.get(name);
119
119
  if (!registered)
120
120
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
121
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service73, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
121
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service79, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
122
  }
123
123
  }
124
124
  };
125
125
  };
126
- return Service29.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service22.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node32 = makeLocationNode({ service: Service29, layer, deps: [node87, node77] });
128
+ var node25 = makeLocationNode({ service: Service22, layer, deps: [node87, node83] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
132
132
  metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
133
- location: optional2(Ref3)
133
+ location: optional2(Ref4)
134
134
  };
135
135
  var EventData = Schema.Record(Schema.String, Schema.Unknown);
136
136
  var jsonSchemas = new WeakMap;
@@ -206,8 +206,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
206
206
  ...payload,
207
207
  type: eventType(definition, name),
208
208
  data,
209
- location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
209
+ location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
210
210
  };
211
211
  });
212
212
 
213
- export { Service29, node32, exports_rpc, define2 };
213
+ export { Service22, node25, exports_rpc, define2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Service84
3
- } from "./repository-jj202axs.js";
3
+ } from "./repository-n2yeqzr5.js";
4
4
  import {
5
5
  Service83
6
- } from "./repository-tgey6qrj.js";
6
+ } from "./repository-3f66bwfz.js";
7
7
  import {
8
8
  Service47
9
9
  } from "./repository-2a6rn6yr.js";
@@ -11,9 +11,9 @@ import {
11
11
  RelativePath2
12
12
  } from "./repository-922hggd3.js";
13
13
  import {
14
- ID6,
15
- Service49
16
- } from "./repository-bdz0bbmb.js";
14
+ ID5,
15
+ Service52
16
+ } from "./repository-har18r6r.js";
17
17
  import {
18
18
  SessionEvent2
19
19
  } from "./repository-ec1grn59.js";
@@ -22,7 +22,7 @@ import {
22
22
  } from "./repository-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./repository-gmjjhz4f.js";
25
+ } from "./repository-yq9bhs5j.js";
26
26
  import {
27
27
  SessionMessageTable2
28
28
  } from "./repository-z07pqspn.js";
@@ -46,8 +46,8 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
46
46
  const database = yield* Service84;
47
47
  const bus = yield* Service83;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service49;
50
- const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service52;
50
+ const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -77,10 +77,10 @@ var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
77
  const instances = yield* Service47;
78
78
  const bus = yield* Service83;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service49;
80
+ const snapshot = yield* Service52;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID6.make(message.snapshot.start));
114
+ files.set(file, ID5.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -9,7 +9,7 @@ import {
9
9
  } from "./repository-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./repository-vnwmzs4a.js";
12
+ } from "./repository-sqbb0ctm.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {
@@ -2,15 +2,15 @@ import {
2
2
  AbsolutePath2
3
3
  } from "./repository-922hggd3.js";
4
4
  import {
5
- Service73
6
- } from "./repository-ydx1ak1r.js";
5
+ Service79
6
+ } from "./repository-tcj9ww28.js";
7
7
  import {
8
- Service60
9
- } from "./repository-kgcknfzw.js";
8
+ Service42
9
+ } from "./repository-xm24773m.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./repository-v42zcc13.js";
13
+ } from "./repository-ch64seem.js";
14
14
  import {
15
15
  observe2
16
16
  } from "./repository-qsdy395h.js";
@@ -22,17 +22,17 @@ import {
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin40
25
+ Plugin: () => Plugin32
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin40 = define({
31
+ var Plugin32 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service60;
35
- const location = yield* Service73;
34
+ const config = yield* Service42;
35
+ const location = yield* Service79;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
38
38
  yield* ctx.reference.transform((editor) => {
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin40, exports_reference };
75
+ export { Plugin32, exports_reference };