@opencode/core 0.0.0-dev-19438 → 0.0.0-dev-19440

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 +70 -70
  2. package/dist/aisdk-native.js +2 -2
  3. package/dist/aisdk.js +6 -6
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +62 -62
  6. package/dist/catalog.js +70 -70
  7. package/dist/chunks/{file-2cmcktmr.js → file-01x5ayvb.js} +9 -9
  8. package/dist/chunks/{file-3fj0ehej.js → file-0a423ajn.js} +38 -38
  9. package/dist/chunks/{file-xr2q0tqq.js → file-0ccn345w.js} +21 -21
  10. package/dist/chunks/{file-jjwvsmw4.js → file-0gb42mpy.js} +1 -1
  11. package/dist/chunks/{file-t550f9t1.js → file-0gdmqesm.js} +3 -3
  12. package/dist/chunks/{file-g713qgch.js → file-0j7s38gp.js} +21 -21
  13. package/dist/chunks/{file-p1nm93x7.js → file-0r7yqxbf.js} +3 -3
  14. package/dist/chunks/{file-m4w483hc.js → file-10m077g0.js} +6 -6
  15. package/dist/chunks/{file-614n5vxr.js → file-11rr1j9z.js} +14 -14
  16. package/dist/chunks/{file-s3h59be2.js → file-1dgfjwgv.js} +17 -17
  17. package/dist/chunks/{file-75v5avbv.js → file-1kz1ep11.js} +7 -7
  18. package/dist/chunks/{file-td1bwv9m.js → file-1nepfxaz.js} +8 -8
  19. package/dist/chunks/{file-cqyrr4jp.js → file-1qvh4tdd.js} +89 -89
  20. package/dist/chunks/{file-5trk58xb.js → file-1vtz46z8.js} +7 -7
  21. package/dist/chunks/{file-ht5y0zrb.js → file-1x11rq2a.js} +4 -4
  22. package/dist/chunks/{file-31hyewty.js → file-1zpv7ff7.js} +42 -42
  23. package/dist/chunks/{file-6h73sxmp.js → file-2402vzrj.js} +4 -4
  24. package/dist/chunks/{file-awz7xhfp.js → file-29vcxy2s.js} +4 -4
  25. package/dist/chunks/{file-mdcc0ar8.js → file-2a02pqey.js} +23 -23
  26. package/dist/chunks/{file-3n1sj9mp.js → file-2dwxz9nb.js} +1 -1
  27. package/dist/chunks/{file-3trbxeqx.js → file-2jhvch9f.js} +1 -1
  28. package/dist/chunks/{file-fq1h1v14.js → file-2w8gt3dc.js} +3 -3
  29. package/dist/chunks/{file-wb1yzg53.js → file-31k57cnn.js} +17 -17
  30. package/dist/chunks/{file-fydnx5fx.js → file-34y33xw8.js} +33 -33
  31. package/dist/chunks/{file-befft0k5.js → file-39ydjj0q.js} +13 -13
  32. package/dist/chunks/{file-k2cps1w2.js → file-3e0re2er.js} +12 -12
  33. package/dist/chunks/{file-m20ewzpv.js → file-3q86das3.js} +29 -29
  34. package/dist/chunks/{file-3w2b2yj4.js → file-3w0fmcng.js} +3 -3
  35. package/dist/chunks/{file-qefhz522.js → file-40bxqg89.js} +9 -9
  36. package/dist/chunks/{file-ngx16gc5.js → file-41nzdzyt.js} +11 -11
  37. package/dist/chunks/{file-zn15gz72.js → file-47rg0syt.js} +14 -14
  38. package/dist/chunks/{file-t3ejw313.js → file-4gxnfwsp.js} +40 -40
  39. package/dist/chunks/{file-1tx98gn3.js → file-4k1x48fq.js} +12 -12
  40. package/dist/chunks/{file-q5sxxe7s.js → file-4qk82zqm.js} +19 -19
  41. package/dist/chunks/{file-ntp00jbn.js → file-4zqvh54v.js} +48 -48
  42. package/dist/chunks/{file-g5twr0sp.js → file-51b1p1nf.js} +13 -13
  43. package/dist/chunks/{file-b3xk0srv.js → file-53kvdkfc.js} +44 -44
  44. package/dist/chunks/{file-wh05710z.js → file-54xwtjdq.js} +37 -37
  45. package/dist/chunks/{file-6bg31a94.js → file-56pp0xdw.js} +16 -16
  46. package/dist/chunks/{file-1enyjv7v.js → file-5ahbvy81.js} +12 -12
  47. package/dist/chunks/{file-664j63h8.js → file-5eep6mvg.js} +14 -14
  48. package/dist/chunks/{file-9k2v62xn.js → file-5k8nf3y0.js} +1 -1
  49. package/dist/chunks/{file-1302kqpv.js → file-5t76y6t3.js} +59 -59
  50. package/dist/chunks/{file-wkwfxgj3.js → file-5tvb4m4x.js} +2 -2
  51. package/dist/chunks/{file-rb7pkpgx.js → file-5wd13403.js} +25 -25
  52. package/dist/chunks/{file-9ch41db7.js → file-5zjhyd44.js} +42 -42
  53. package/dist/chunks/{file-52az7e5h.js → file-6brzmxsm.js} +17 -17
  54. package/dist/chunks/{file-e3qzfmye.js → file-6cwg1y4g.js} +17 -17
  55. package/dist/chunks/{file-b8n110tt.js → file-6cxvyk5r.js} +4 -4
  56. package/dist/chunks/{file-fjmrr6sh.js → file-6d9mz4vp.js} +7 -7
  57. package/dist/chunks/{file-8s84r2ab.js → file-6kaqw02d.js} +17 -17
  58. package/dist/chunks/{file-2rk3das1.js → file-6tp3trja.js} +14 -14
  59. package/dist/chunks/{file-03zt5v0h.js → file-6wbs09gh.js} +11 -11
  60. package/dist/chunks/{file-d5n4bh35.js → file-6z8rkrt2.js} +22 -22
  61. package/dist/chunks/{file-79rym0vx.js → file-75kte9jx.js} +17 -17
  62. package/dist/chunks/{file-ms6rwfbv.js → file-7c6e5y81.js} +29 -29
  63. package/dist/chunks/{file-ec8389mk.js → file-7sqxeqwy.js} +3 -3
  64. package/dist/chunks/{file-jvdqbckk.js → file-81wjxh2j.js} +15 -15
  65. package/dist/chunks/{file-ypy1tgyh.js → file-84k0ms65.js} +12 -12
  66. package/dist/chunks/{file-6jnybvqn.js → file-84zt2byv.js} +7 -7
  67. package/dist/chunks/{file-37y0x4sa.js → file-85y38j38.js} +12 -12
  68. package/dist/chunks/{file-hq8zt1th.js → file-8a2qdx2a.js} +5 -5
  69. package/dist/chunks/{file-m2eczmet.js → file-8b4f4643.js} +289 -289
  70. package/dist/chunks/{file-t9qhnrv6.js → file-8st6sg7d.js} +5 -5
  71. package/dist/chunks/{file-xbet31bz.js → file-8tf464ev.js} +29 -29
  72. package/dist/chunks/{file-v9n7g2jp.js → file-8va43b33.js} +49 -49
  73. package/dist/chunks/{file-rn18s34v.js → file-8ygr8afe.js} +6 -6
  74. package/dist/chunks/{file-56j57pys.js → file-90hac4w7.js} +13 -13
  75. package/dist/chunks/{file-3kff94q5.js → file-915t83ht.js} +6 -6
  76. package/dist/chunks/{file-ew6y6y1a.js → file-92e8bh4d.js} +27 -27
  77. package/dist/chunks/{file-4qbtf2xm.js → file-9ev7wkx2.js} +4 -4
  78. package/dist/chunks/{file-q043d12m.js → file-9khdf5s3.js} +10 -10
  79. package/dist/chunks/{file-0cq9sm51.js → file-9pazyhrx.js} +26 -26
  80. package/dist/chunks/{file-z2rxccdg.js → file-a12ktaww.js} +4 -4
  81. package/dist/chunks/{file-he3a9kdv.js → file-a1ttd06w.js} +27 -27
  82. package/dist/chunks/{file-8pnwjqbd.js → file-ad4c86qp.js} +20 -20
  83. package/dist/chunks/{file-dx6t03ys.js → file-ah20z6ve.js} +1 -1
  84. package/dist/chunks/{file-zts5fb25.js → file-akrnn5pm.js} +9 -9
  85. package/dist/chunks/{file-99tcg3bm.js → file-apktd9aw.js} +9 -9
  86. package/dist/chunks/{file-xe3tttza.js → file-aqnnbpn3.js} +10 -10
  87. package/dist/chunks/{file-rbb6h0rd.js → file-arsacetm.js} +9 -9
  88. package/dist/chunks/{file-ja6srv6s.js → file-avp3hhf2.js} +20 -20
  89. package/dist/chunks/{file-8x96bj0m.js → file-b27vhd2z.js} +6 -6
  90. package/dist/chunks/{file-416qpt5q.js → file-b3yz7px1.js} +22 -22
  91. package/dist/chunks/{file-ashvqh0k.js → file-b5v58ftx.js} +6 -6
  92. package/dist/chunks/{file-azec8exe.js → file-bez9jb7v.js} +6 -6
  93. package/dist/chunks/{file-jxj1g7d6.js → file-bjwja24f.js} +1 -1
  94. package/dist/chunks/{file-s7vx81dz.js → file-bnd8m4xr.js} +7 -7
  95. package/dist/chunks/{file-34202413.js → file-bsre5g92.js} +20 -20
  96. package/dist/chunks/{file-gj7pn1ka.js → file-bty97h6q.js} +10 -10
  97. package/dist/chunks/{file-bv5t9bgg.js → file-bz5k20yh.js} +10 -10
  98. package/dist/chunks/{file-reygygas.js → file-c0q0hmxn.js} +4 -4
  99. package/dist/chunks/{file-w6vgwbtw.js → file-c6090g2y.js} +20 -20
  100. package/dist/chunks/{file-b3ab3ctg.js → file-c7vqgbdp.js} +5 -5
  101. package/dist/chunks/{file-8kpa3sfw.js → file-caevyejh.js} +26 -26
  102. package/dist/chunks/{file-p7r5e3re.js → file-cef1ew0c.js} +25 -25
  103. package/dist/chunks/{file-qcv4hsrb.js → file-cqf55qpv.js} +12 -12
  104. package/dist/chunks/{file-zfv8a0ht.js → file-ct16t8sn.js} +13 -13
  105. package/dist/chunks/{file-1vd4786e.js → file-cw20kccn.js} +7 -7
  106. package/dist/chunks/{file-famamp43.js → file-cxgbd94q.js} +19 -19
  107. package/dist/chunks/{file-mrw4weg4.js → file-d1jmswd2.js} +4 -4
  108. package/dist/chunks/{file-an7cqtb7.js → file-dfe8djrf.js} +3 -3
  109. package/dist/chunks/{file-jwcy2c2z.js → file-dpkg50ah.js} +3 -3
  110. package/dist/chunks/{file-bxsmgxt8.js → file-dqjwa780.js} +9 -9
  111. package/dist/chunks/{file-8qqdnwax.js → file-dv8j6wzk.js} +11 -11
  112. package/dist/chunks/{file-gzbkpp9m.js → file-dwvzh0g2.js} +5 -5
  113. package/dist/chunks/{file-195b9hkp.js → file-e4jhm3j4.js} +25 -25
  114. package/dist/chunks/{file-7ebn0nc0.js → file-e6hd9jay.js} +5 -5
  115. package/dist/chunks/{file-a28msnrx.js → file-efd2tswm.js} +1 -1
  116. package/dist/chunks/{file-3yknbgq7.js → file-eg6tdpbh.js} +10 -10
  117. package/dist/chunks/{file-szgy4byf.js → file-epd1fg1b.js} +1 -1
  118. package/dist/chunks/{file-4rpd5z62.js → file-etq9z835.js} +1 -1
  119. package/dist/chunks/{file-dgbe4bt1.js → file-f0w7qnfr.js} +17 -17
  120. package/dist/chunks/{file-nmwa5e32.js → file-f40nw3s4.js} +13 -13
  121. package/dist/chunks/{file-xp2ajnz8.js → file-f7xc3wa1.js} +19 -19
  122. package/dist/chunks/{file-d86az2qg.js → file-fmhfve32.js} +20 -20
  123. package/dist/chunks/{file-ck83t0ny.js → file-fpm9cd7c.js} +29 -29
  124. package/dist/chunks/{file-9v3118pd.js → file-fz45jgbm.js} +26 -26
  125. package/dist/chunks/{file-h2gyv3sg.js → file-g08h86t3.js} +1 -1
  126. package/dist/chunks/{file-t33aqq77.js → file-g1sb636y.js} +6 -6
  127. package/dist/chunks/{file-bxxxhdn8.js → file-gctttn65.js} +22 -22
  128. package/dist/chunks/{file-3fc6dm20.js → file-gdvy8fx6.js} +3 -3
  129. package/dist/chunks/{file-67mjd9te.js → file-gsnb458g.js} +7 -7
  130. package/dist/chunks/{file-kyrbgmgz.js → file-gz2y2193.js} +1 -1
  131. package/dist/chunks/{file-gqzswqpg.js → file-h7nxn43q.js} +30 -30
  132. package/dist/chunks/{file-xnn90w67.js → file-ha2h0zjh.js} +26 -26
  133. package/dist/chunks/{file-e7c5hh0v.js → file-heer32bb.js} +7 -7
  134. package/dist/chunks/{file-sb15f9kd.js → file-hgyq7eg6.js} +20 -20
  135. package/dist/chunks/{file-e6g776ht.js → file-hgz4ddpy.js} +11 -11
  136. package/dist/chunks/{file-nmpjh5tr.js → file-hjkgy200.js} +22 -22
  137. package/dist/chunks/{file-yt0fqk68.js → file-hkfg6fzm.js} +3 -3
  138. package/dist/chunks/{file-9ay0erd8.js → file-hqt9f5hj.js} +172 -172
  139. package/dist/chunks/{file-7yh4e7ss.js → file-j028xdjb.js} +2 -2
  140. package/dist/chunks/{file-xacpwbjs.js → file-j0hyjfyk.js} +7 -7
  141. package/dist/chunks/{file-wxg97684.js → file-j1dc1ckq.js} +25 -25
  142. package/dist/chunks/{file-5z7h86dp.js → file-j1k07czg.js} +2 -2
  143. package/dist/chunks/{file-embw8kgh.js → file-jj3qxa52.js} +3 -3
  144. package/dist/chunks/{file-b3c6xmwh.js → file-jk47m7qg.js} +16 -16
  145. package/dist/chunks/{file-9vqmh8rd.js → file-jtkkm2qn.js} +20 -20
  146. package/dist/chunks/{file-rctdwqm8.js → file-jzd3sdz4.js} +9 -9
  147. package/dist/chunks/{file-tfg00z1r.js → file-jzd96n45.js} +14 -14
  148. package/dist/chunks/{file-0p4j4cv0.js → file-jzzy94zk.js} +8 -8
  149. package/dist/chunks/{file-vabb23s0.js → file-kaaek4yc.js} +1 -1
  150. package/dist/chunks/{file-1wv7z5mx.js → file-kegs65m0.js} +25 -25
  151. package/dist/chunks/{file-y2vrj84a.js → file-kt5w8vxh.js} +8 -8
  152. package/dist/chunks/{file-3kt1zrpp.js → file-kvext5yd.js} +87 -87
  153. package/dist/chunks/{file-rbwxp75v.js → file-m0f43kw2.js} +33 -33
  154. package/dist/chunks/{file-agmzfzv5.js → file-m2h2dh4q.js} +16 -16
  155. package/dist/chunks/{file-jhtsdbae.js → file-m8nf6fh5.js} +35 -35
  156. package/dist/chunks/{file-b4ssmz4r.js → file-ma9yb35x.js} +7 -7
  157. package/dist/chunks/{file-vypqtakx.js → file-mb0ha6fs.js} +1 -1
  158. package/dist/chunks/{file-88sz8qcd.js → file-msq0jde0.js} +3 -3
  159. package/dist/chunks/{file-pd9nar43.js → file-n8hp42zk.js} +22 -22
  160. package/dist/chunks/{file-rs226bz6.js → file-nfnqdzmc.js} +5 -5
  161. package/dist/chunks/{file-nrj82zgb.js → file-nnsfn4jb.js} +26 -26
  162. package/dist/chunks/{file-yp2x3t23.js → file-nxer0yad.js} +3 -3
  163. package/dist/chunks/{file-xck56rmx.js → file-nyj7fnw9.js} +33 -33
  164. package/dist/chunks/{file-b3wkxfg9.js → file-p33ejz0k.js} +1 -1
  165. package/dist/chunks/{file-esdnemd6.js → file-p6mw6jzc.js} +1 -1
  166. package/dist/chunks/{file-nhy5jxhy.js → file-p6yzb5ay.js} +3 -3
  167. package/dist/chunks/{file-j935v87r.js → file-paphc93g.js} +2 -2
  168. package/dist/chunks/{file-gtwpvwn0.js → file-pfjkw3sm.js} +67 -67
  169. package/dist/chunks/{file-3yjg5mh2.js → file-pxt4kznk.js} +3 -3
  170. package/dist/chunks/{file-nrrb2a3e.js → file-pydmrwq0.js} +28 -28
  171. package/dist/chunks/{file-tsdrwk88.js → file-qbrwkfs8.js} +9 -9
  172. package/dist/chunks/{file-vsp1fds9.js → file-qj8eh1ht.js} +20 -20
  173. package/dist/chunks/{file-k4t1n3ds.js → file-qknber6z.js} +5 -5
  174. package/dist/chunks/{file-fzsrmebp.js → file-qmj11y7g.js} +18 -18
  175. package/dist/chunks/{file-206fxkvm.js → file-qnq5akd1.js} +19 -19
  176. package/dist/chunks/{file-n3ehebhz.js → file-qr42g2ex.js} +8 -8
  177. package/dist/chunks/file-qtvmxc8s.js +4 -0
  178. package/dist/chunks/{file-91p1v22t.js → file-qvb3nf84.js} +7 -7
  179. package/dist/chunks/{file-kk4kf303.js → file-qz8n5g0w.js} +9 -9
  180. package/dist/chunks/{file-0z8fjeev.js → file-r0q5qwf7.js} +16 -16
  181. package/dist/chunks/{file-vjjshyym.js → file-r6r1pz2h.js} +23 -23
  182. package/dist/chunks/{file-n2egqj3k.js → file-rj8m8qzm.js} +10 -10
  183. package/dist/chunks/{file-8n8qbvvf.js → file-rmnfqzky.js} +31 -31
  184. package/dist/chunks/{file-verq85zk.js → file-rq6a0dg0.js} +1 -1
  185. package/dist/chunks/{file-qacd23e2.js → file-rvyh1tga.js} +4 -4
  186. package/dist/chunks/{file-pnfpsavj.js → file-s8b69be9.js} +6 -6
  187. package/dist/chunks/{file-8s0m5yrh.js → file-s9wkemjm.js} +13 -13
  188. package/dist/chunks/{file-d1xvm4af.js → file-sfegc1hb.js} +14 -14
  189. package/dist/chunks/{file-yc3z3e63.js → file-shyev4mk.js} +11 -11
  190. package/dist/chunks/{file-wc01vwq2.js → file-snsk04x3.js} +16 -16
  191. package/dist/chunks/{file-2r4xr41j.js → file-stntv2hh.js} +21 -21
  192. package/dist/chunks/{file-c4vq1gr4.js → file-sx8dqv37.js} +21 -21
  193. package/dist/chunks/{file-pvp2wc9z.js → file-t1d7geq2.js} +9 -9
  194. package/dist/chunks/{file-jh9jg79a.js → file-td8ytyxd.js} +8 -8
  195. package/dist/chunks/{file-egqspz5t.js → file-tjr0drtg.js} +10 -10
  196. package/dist/chunks/{file-2ff89mrc.js → file-tmrp3428.js} +3 -3
  197. package/dist/chunks/{file-qbka3964.js → file-tnjzq8hh.js} +21 -21
  198. package/dist/chunks/{file-844ef7ks.js → file-tpw6cwsb.js} +7 -7
  199. package/dist/chunks/{file-gj4x8zz6.js → file-ts8g87kd.js} +12 -12
  200. package/dist/chunks/{file-zh30k3px.js → file-v1d6h3jw.js} +9 -9
  201. package/dist/chunks/{file-11h1hnb3.js → file-v6krneed.js} +1 -1
  202. package/dist/chunks/file-v7es8fey.js +247 -0
  203. package/dist/chunks/{file-fec1vscd.js → file-v84ecj13.js} +39 -39
  204. package/dist/chunks/{file-sqmt1xrx.js → file-v9yqefes.js} +31 -31
  205. package/dist/chunks/{file-v3smhzc7.js → file-vpsn8azz.js} +17 -17
  206. package/dist/chunks/{file-6jekb6p7.js → file-w3tvvpzb.js} +7 -7
  207. package/dist/chunks/{file-eykg37vx.js → file-w7q7v3t1.js} +13 -13
  208. package/dist/chunks/{file-5cvqq58e.js → file-wepxzacc.js} +1 -1
  209. package/dist/chunks/{file-87deq66t.js → file-wpm2rk0p.js} +5 -5
  210. package/dist/chunks/{file-n92g5px8.js → file-x3n8sh0p.js} +15 -15
  211. package/dist/chunks/{file-vq3dh784.js → file-x4tsw7vb.js} +21 -21
  212. package/dist/chunks/{file-0bc9xa41.js → file-xhhb3q2x.js} +12 -12
  213. package/dist/chunks/{file-j2j5pzjs.js → file-xw91ethm.js} +3 -3
  214. package/dist/chunks/{file-kkmk6wev.js → file-xxsgs27q.js} +9 -9
  215. package/dist/chunks/{file-9bj2cvf7.js → file-y2rgym3m.js} +7 -7
  216. package/dist/chunks/{file-x5df1stp.js → file-y3ak5rv5.js} +52 -52
  217. package/dist/chunks/{file-2sgjhdq8.js → file-yczh3409.js} +25 -25
  218. package/dist/chunks/{file-84tssp1s.js → file-yhks5pv3.js} +5 -5
  219. package/dist/chunks/{file-xncegbyh.js → file-ykhkvv1t.js} +2 -2
  220. package/dist/chunks/{file-s4enseaf.js → file-yrznvahk.js} +1 -1
  221. package/dist/chunks/{file-e7n26ax2.js → file-z0q4dsav.js} +7 -7
  222. package/dist/chunks/{file-0tqgm7xh.js → file-z0wr5a8a.js} +23 -23
  223. package/dist/chunks/{file-rywfhtnt.js → file-z2fmw18c.js} +16 -16
  224. package/dist/chunks/{file-f3kdsvs6.js → file-z3asdwpy.js} +16 -16
  225. package/dist/chunks/{file-29x78va6.js → file-z63w68vq.js} +4 -4
  226. package/dist/chunks/{file-11tcp5y8.js → file-zfznrpx1.js} +3 -3
  227. package/dist/chunks/{file-69q31xtv.js → file-zr6kk9a2.js} +4 -4
  228. package/dist/chunks/{file-z2maercm.js → file-zrd73k1r.js} +21 -21
  229. package/dist/chunks/{file-0kzzmtkd.js → file-zw0jxv6w.js} +16 -16
  230. package/dist/chunks/{file-9yb9755z.js → file-zx6x6k27.js} +10 -10
  231. package/dist/codemode/catalog.js +3 -3
  232. package/dist/codemode/instructions.js +7 -7
  233. package/dist/command.js +72 -72
  234. package/dist/config/discovery.js +60 -60
  235. package/dist/config/normalize.js +14 -14
  236. package/dist/config/plugin/agent.js +90 -90
  237. package/dist/config/plugin/command.js +172 -172
  238. package/dist/config/plugin/compaction.js +127 -127
  239. package/dist/config/plugin/formatter.js +92 -92
  240. package/dist/config/plugin/image.js +90 -90
  241. package/dist/config/plugin/instruction.js +67 -67
  242. package/dist/config/plugin/location-watcher.js +90 -90
  243. package/dist/config/plugin/mcp.js +97 -97
  244. package/dist/config/plugin/policy.js +89 -89
  245. package/dist/config/plugin/provider.js +88 -88
  246. package/dist/config/plugin/reference.js +92 -92
  247. package/dist/config/plugin/shell.js +93 -93
  248. package/dist/config/plugin/skill-file.js +76 -76
  249. package/dist/config/plugin/skill.js +111 -111
  250. package/dist/config/plugin/snapshot.js +90 -90
  251. package/dist/config/plugin/source.js +92 -92
  252. package/dist/config/plugin/tool-output.js +92 -92
  253. package/dist/config/plugin/websearch.js +90 -90
  254. package/dist/config/plugin/worktree.js +91 -91
  255. package/dist/config/variable.js +2 -2
  256. package/dist/config.js +91 -91
  257. package/dist/credential.js +66 -66
  258. package/dist/database/database.js +62 -62
  259. package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
  260. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  261. package/dist/database/drizzle/effect-sqlite/session.js +8 -8
  262. package/dist/database/drizzle/index.js +10 -10
  263. package/dist/database/drizzle/sqlite-core/effect/db.js +6 -6
  264. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  265. package/dist/database/drizzle/sqlite-core/effect/session.js +7 -7
  266. package/dist/database/drizzle.js +10 -10
  267. package/dist/database/migration.gen.js +37 -37
  268. package/dist/database/migration.js +39 -39
  269. package/dist/database/v1-migration.bun.js +12 -12
  270. package/dist/effect/app-node-builder.js +235 -235
  271. package/dist/effect/keyed-mutex.js +3 -3
  272. package/dist/environment/environment.js +67 -67
  273. package/dist/environment/index.js +69 -69
  274. package/dist/event-logger.js +14 -14
  275. package/dist/file-access.js +79 -79
  276. package/dist/file-mutation.js +68 -68
  277. package/dist/filesystem/location-watcher-policy.js +5 -5
  278. package/dist/filesystem/location-watcher.js +182 -182
  279. package/dist/filesystem/search.js +75 -75
  280. package/dist/filesystem/watcher-binding.js +3 -3
  281. package/dist/filesystem/watcher.js +10 -10
  282. package/dist/filesystem.js +74 -74
  283. package/dist/form.js +71 -71
  284. package/dist/formatter/builtins.js +3 -3
  285. package/dist/formatter.js +65 -65
  286. package/dist/generate.js +76 -76
  287. package/dist/git.js +6 -6
  288. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +2 -2
  289. package/dist/github-copilot/copilot-provider.js +3 -3
  290. package/dist/github-copilot/models.js +7 -7
  291. package/dist/github-copilot/responses/openai-responses-language-model.js +4 -4
  292. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
  293. package/dist/image/photon.js +1 -1
  294. package/dist/image.js +5 -5
  295. package/dist/instance/service.js +5 -5
  296. package/dist/instance.js +310 -310
  297. package/dist/instruction-discovery.js +71 -71
  298. package/dist/instructions/builtins.js +65 -65
  299. package/dist/instructions/index.js +3 -3
  300. package/dist/integration.js +71 -71
  301. package/dist/job.js +65 -65
  302. package/dist/kv.js +59 -59
  303. package/dist/location-activity.js +57 -57
  304. package/dist/location-mutation.js +30 -30
  305. package/dist/location-service-map.js +64 -64
  306. package/dist/location-services.js +306 -306
  307. package/dist/location.js +67 -67
  308. package/dist/mcp/client.js +17 -17
  309. package/dist/mcp/index.js +82 -82
  310. package/dist/mcp/instructions.js +96 -96
  311. package/dist/mcp/stdio.js +64 -64
  312. package/dist/modal/models.js +7 -7
  313. package/dist/model-resolver.js +73 -73
  314. package/dist/model.js +10 -10
  315. package/dist/models-dev.js +63 -63
  316. package/dist/permission/saved.js +61 -61
  317. package/dist/permission.js +88 -88
  318. package/dist/persistent-pty/index.js +73 -73
  319. package/dist/persistent-pty.js +59 -59
  320. package/dist/plugin/agent.js +77 -77
  321. package/dist/plugin/command.js +73 -73
  322. package/dist/plugin/hooks.js +5 -5
  323. package/dist/plugin/host.js +179 -179
  324. package/dist/plugin/instance.js +5 -5
  325. package/dist/plugin/internal.js +281 -281
  326. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  327. package/dist/plugin/models-dev.js +62 -62
  328. package/dist/plugin/module.js +5 -5
  329. package/dist/plugin/optimize.js +2 -2
  330. package/dist/plugin/plan.js +77 -77
  331. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  332. package/dist/plugin/provider/anthropic.js +2 -2
  333. package/dist/plugin/provider/azure.js +93 -93
  334. package/dist/plugin/provider/cerebras.js +2 -2
  335. package/dist/plugin/provider/cloudflare-ai-gateway.js +92 -92
  336. package/dist/plugin/provider/cloudflare-workers-ai.js +92 -92
  337. package/dist/plugin/provider/configured.js +90 -90
  338. package/dist/plugin/provider/digitalocean.js +65 -65
  339. package/dist/plugin/provider/github-copilot.js +67 -67
  340. package/dist/plugin/provider/gitlab.js +3 -3
  341. package/dist/plugin/provider/google-vertex.js +2 -2
  342. package/dist/plugin/provider/kilo.js +2 -2
  343. package/dist/plugin/provider/llmgateway.js +63 -63
  344. package/dist/plugin/provider/lmstudio.js +93 -93
  345. package/dist/plugin/provider/modal.js +66 -66
  346. package/dist/plugin/provider/nvidia.js +2 -2
  347. package/dist/plugin/provider/ollama.js +93 -93
  348. package/dist/plugin/provider/openai.js +64 -64
  349. package/dist/plugin/provider/opencode.js +65 -65
  350. package/dist/plugin/provider/openrouter.js +3 -3
  351. package/dist/plugin/provider/poe.js +62 -62
  352. package/dist/plugin/provider/sap-ai-core.js +2 -2
  353. package/dist/plugin/provider/snowflake-cortex.js +92 -92
  354. package/dist/plugin/provider/vercel.js +2 -2
  355. package/dist/plugin/provider/vllm.js +93 -93
  356. package/dist/plugin/provider/xai.js +64 -64
  357. package/dist/plugin/provider/zenmux.js +2 -2
  358. package/dist/plugin/provider.js +128 -128
  359. package/dist/plugin/sdk.js +63 -63
  360. package/dist/plugin/service.js +3 -3
  361. package/dist/plugin/skill.js +107 -107
  362. package/dist/plugin/supervisor.js +299 -299
  363. package/dist/plugin/update.js +6 -6
  364. package/dist/plugin/variant.js +2 -2
  365. package/dist/plugin/vcs/git.js +64 -64
  366. package/dist/plugin/vcs/hg.js +64 -64
  367. package/dist/plugin/warming.js +88 -88
  368. package/dist/plugin/websearch/exa.js +5 -5
  369. package/dist/plugin/websearch/firecrawl.js +4 -4
  370. package/dist/plugin/websearch/index.js +6 -6
  371. package/dist/plugin/websearch/parallel.js +6 -6
  372. package/dist/plugin/websearch/tavily.js +4 -4
  373. package/dist/plugin.js +188 -188
  374. package/dist/project.js +62 -62
  375. package/dist/provider.js +5 -5
  376. package/dist/pty/schema.js +3 -3
  377. package/dist/pty.js +75 -75
  378. package/dist/reference/instructions.js +70 -70
  379. package/dist/reference.js +66 -66
  380. package/dist/repository-cache.js +63 -63
  381. package/dist/repository.js +3 -3
  382. package/dist/ripgrep.js +68 -68
  383. package/dist/rpc.js +64 -64
  384. package/dist/session/command.js +61 -61
  385. package/dist/session/compaction.js +103 -103
  386. package/dist/session/context.js +121 -121
  387. package/dist/session/environment.js +5 -5
  388. package/dist/session/error.js +6 -6
  389. package/dist/session/execution/restart.js +122 -122
  390. package/dist/session/execution.js +102 -102
  391. package/dist/session/generate.js +120 -120
  392. package/dist/session/history.js +8 -8
  393. package/dist/session/inbox.js +68 -68
  394. package/dist/session/info.js +2 -2
  395. package/dist/session/instruction-entry.js +62 -62
  396. package/dist/session/instruction-state.js +2 -2
  397. package/dist/session/instructions.js +72 -72
  398. package/dist/session/model-request.js +91 -91
  399. package/dist/session/model-transport.js +7 -7
  400. package/dist/session/move.js +102 -102
  401. package/dist/session/projector.js +64 -64
  402. package/dist/session/prompt.js +80 -80
  403. package/dist/session/provider-context.js +3 -3
  404. package/dist/session/revert.js +67 -67
  405. package/dist/session/run-coordinator.js +3 -3
  406. package/dist/session/runner/index.js +3 -3
  407. package/dist/session/runner/llm.js +189 -189
  408. package/dist/session/runner/model.js +73 -73
  409. package/dist/session/runner/retry.js +89 -89
  410. package/dist/session/runner/step.js +96 -96
  411. package/dist/session/runner/to-llm-message.js +2 -2
  412. package/dist/session/schema.js +5 -5
  413. package/dist/session/session.js +140 -140
  414. package/dist/session/shell.js +102 -102
  415. package/dist/session/skill.js +78 -78
  416. package/dist/session/stats.js +10 -10
  417. package/dist/session/store.js +68 -68
  418. package/dist/session/subagent-job.js +171 -171
  419. package/dist/session/system-prompt.js +3 -3
  420. package/dist/session/title.js +124 -124
  421. package/dist/session/to-session-error.js +86 -86
  422. package/dist/session/transfer.js +122 -122
  423. package/dist/session.js +186 -186
  424. package/dist/shell/parse.js +3 -3
  425. package/dist/shell/select.js +8 -8
  426. package/dist/shell.js +105 -105
  427. package/dist/skill/discovery.js +5 -5
  428. package/dist/skill/instructions.js +82 -82
  429. package/dist/skill.js +81 -81
  430. package/dist/snapshot.js +69 -69
  431. package/dist/tool/mcp.js +95 -95
  432. package/dist/tool/plugin/edit.js +90 -90
  433. package/dist/tool/plugin/glob.js +92 -92
  434. package/dist/tool/plugin/grep.js +92 -92
  435. package/dist/tool/plugin/opencode.js +3 -3
  436. package/dist/tool/plugin/patch.js +92 -92
  437. package/dist/tool/plugin/question.js +80 -80
  438. package/dist/tool/plugin/read.js +93 -93
  439. package/dist/tool/plugin/shell.js +179 -179
  440. package/dist/tool/plugin/skill.js +86 -86
  441. package/dist/tool/plugin/subagent.js +180 -180
  442. package/dist/tool/plugin/webfetch.js +83 -83
  443. package/dist/tool/plugin/websearch.js +86 -86
  444. package/dist/tool/plugin/write.js +86 -86
  445. package/dist/tool/read-filesystem.js +72 -72
  446. package/dist/tool-output.js +5 -5
  447. package/dist/tool.js +7 -7
  448. package/dist/v1/config/agent.js +6 -6
  449. package/dist/v1/config/attachment.js +3 -3
  450. package/dist/v1/config/command.js +5 -5
  451. package/dist/v1/config/config.js +12 -12
  452. package/dist/v1/config/error.js +3 -3
  453. package/dist/v1/config/formatter.js +5 -5
  454. package/dist/v1/config/lsp.js +5 -5
  455. package/dist/v1/config/mcp.js +3 -3
  456. package/dist/v1/config/migrate.js +3 -3
  457. package/dist/v1/config/permission.js +7 -7
  458. package/dist/v1/config/provider.js +3 -3
  459. package/dist/v1/config/skills.js +3 -3
  460. package/dist/vcs.js +65 -65
  461. package/dist/websearch.js +69 -69
  462. package/dist/wellknown/plugin.js +61 -61
  463. package/dist/wellknown.js +64 -64
  464. package/dist/workspace/driver.js +5 -5
  465. package/dist/workspace.js +67 -67
  466. package/dist/worktree/git.js +5 -5
  467. package/dist/worktree/refresh.js +298 -298
  468. package/dist/worktree.js +72 -72
  469. package/package.json +8 -8
  470. package/dist/chunks/file-0mesazry.js +0 -4
  471. package/dist/chunks/file-dk9ef0gz.js +0 -247
  472. /package/dist/chunks/{file-kcvfr73y.js → file-31a64gx3.js} +0 -0
  473. /package/dist/chunks/{file-qaeybh9m.js → file-n032fvft.js} +0 -0
  474. /package/dist/chunks/{file-ff8vf18q.js → file-p2vn5raz.js} +0 -0
  475. /package/dist/chunks/{file-ce5fknq2.js → file-pfq1ksym.js} +0 -0
@@ -1,42 +1,42 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./file-0kzzmtkd.js";
2
+ Service79,
3
+ node84
4
+ } from "./file-zw0jxv6w.js";
5
5
  import {
6
- node69
7
- } from "./file-fzsrmebp.js";
6
+ node56
7
+ } from "./file-qmj11y7g.js";
8
8
  import {
9
- Service4,
10
- node7
11
- } from "./file-rb7pkpgx.js";
9
+ Service3,
10
+ node5
11
+ } from "./file-5wd13403.js";
12
12
  import {
13
- Service28
14
- } from "./file-ht5y0zrb.js";
13
+ Service27
14
+ } from "./file-1x11rq2a.js";
15
15
  import {
16
- node19,
17
- ID3
18
- } from "./file-famamp43.js";
16
+ node21,
17
+ ID2
18
+ } from "./file-cxgbd94q.js";
19
19
  import {
20
- Service5,
21
- node8
22
- } from "./file-844ef7ks.js";
20
+ Service7,
21
+ node9
22
+ } from "./file-tpw6cwsb.js";
23
23
  import {
24
24
  requirements2,
25
25
  list2
26
- } from "./file-m2eczmet.js";
26
+ } from "./file-8b4f4643.js";
27
27
  import {
28
- make4,
28
+ make7,
29
29
  LoadError2
30
- } from "./file-pnfpsavj.js";
30
+ } from "./file-s8b69be9.js";
31
31
  import {
32
32
  Updated2,
33
- Service12,
34
- node15
35
- } from "./file-1enyjv7v.js";
33
+ Service6,
34
+ node8
35
+ } from "./file-5ahbvy81.js";
36
36
  import {
37
- Service11,
38
- node14
39
- } from "./file-0p4j4cv0.js";
37
+ Service8,
38
+ node10
39
+ } from "./file-jzzy94zk.js";
40
40
  import {
41
41
  __export
42
42
  } from "./file-9rqn6x4v.js";
@@ -45,8 +45,8 @@ import {
45
45
  var exports_supervisor = {};
46
46
  __export(exports_supervisor, {
47
47
  PluginSupervisor: () => exports_supervisor,
48
- layer: () => layer4,
49
- node: () => node6
48
+ layer: () => layer3,
49
+ node: () => node4
50
50
  });
51
51
  import { Event } from "@opencode/schema/config";
52
52
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -115,7 +115,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
115
115
  failures: [
116
116
  ...failures.values(),
117
117
  ...ordered.filter(duplicate).map((plugin) => ({
118
- id: ID3.make(plugin.id),
118
+ id: ID2.make(plugin.id),
119
119
  source: plugin.source ?? { type: "builtin" },
120
120
  state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
121
121
  features: { server: true, ...plugin.features }
@@ -124,14 +124,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
124
124
  pending: [...pending]
125
125
  };
126
126
  });
127
- var layer4 = Layer.effectDiscard(Effect.gen(function* () {
128
- const registry = yield* Service28;
129
- const sdk = yield* Service12;
130
- const instance = yield* Service5;
131
- const sources = yield* Service4;
132
- const modules = yield* make4();
133
- const bus = yield* Service78;
134
- const updates = yield* Service11;
127
+ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
128
+ const registry = yield* Service27;
129
+ const sdk = yield* Service6;
130
+ const instance = yield* Service7;
131
+ const sources = yield* Service3;
132
+ const modules = yield* make7();
133
+ const bus = yield* Service79;
134
+ const updates = yield* Service8;
135
135
  const internal = yield* list2();
136
136
  let release = yield* registry.hold();
137
137
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -206,14 +206,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
206
206
  })), Effect.forkScoped({ startImmediately: true }));
207
207
  }));
208
208
  var nodeDeps = [
209
- node19,
210
- node15,
209
+ node21,
211
210
  node8,
212
- node7,
213
- node14,
214
- node82,
211
+ node9,
212
+ node5,
213
+ node10,
214
+ node84,
215
215
  Npm.node,
216
- node69,
216
+ node56,
217
217
  requirements2
218
218
  ];
219
219
  function pluginSource(target) {
@@ -221,6 +221,6 @@ function pluginSource(target) {
221
221
  return { type: "local", path: target };
222
222
  return { type: "package", target };
223
223
  }
224
- var node6 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
224
+ var node4 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
225
225
 
226
- export { layer4, node6, exports_supervisor };
226
+ export { layer3, node4, exports_supervisor };
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./file-0kzzmtkd.js";
2
+ Service79,
3
+ node84
4
+ } from "./file-zw0jxv6w.js";
5
5
  import {
6
6
  Event18,
7
- Service74,
8
- node78
9
- } from "./file-0tqgm7xh.js";
7
+ Service69,
8
+ node73
9
+ } from "./file-z0wr5a8a.js";
10
10
  import {
11
- Service66,
12
- node69
13
- } from "./file-fzsrmebp.js";
11
+ Service53,
12
+ node56
13
+ } from "./file-qmj11y7g.js";
14
14
  import {
15
15
  AbsolutePath2
16
16
  } from "./file-922hggd3.js";
17
17
  import {
18
- Service72,
19
- node76
20
- } from "./file-6bg31a94.js";
18
+ Service76,
19
+ node81
20
+ } from "./file-56pp0xdw.js";
21
21
  import {
22
22
  substitute2
23
- } from "./file-s4enseaf.js";
23
+ } from "./file-yrznvahk.js";
24
24
  import {
25
25
  normalize2
26
- } from "./file-g713qgch.js";
26
+ } from "./file-0j7s38gp.js";
27
27
  import {
28
28
  names4,
29
29
  discover3
30
- } from "./file-j2j5pzjs.js";
30
+ } from "./file-xw91ethm.js";
31
31
  import {
32
32
  plan2
33
33
  } from "./file-j56e64zr.js";
34
34
  import {
35
- Service67,
36
- Event17,
37
- node70
38
- } from "./file-8pnwjqbd.js";
35
+ Service54,
36
+ Event12,
37
+ node57
38
+ } from "./file-ad4c86qp.js";
39
39
  import {
40
40
  __export
41
41
  } from "./file-9rqn6x4v.js";
@@ -45,12 +45,12 @@ var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
47
  Options: () => Options7,
48
- Service: () => Service65,
48
+ Service: () => Service52,
49
49
  Test: () => Test2,
50
50
  configured: () => configured7,
51
51
  latest: () => latest2,
52
- layer: () => layer22,
53
- node: () => node68,
52
+ layer: () => layer20,
53
+ node: () => node55,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -78,7 +78,7 @@ var Options7 = Schema.Struct({
78
78
  content: Schema.optional(Schema.String)
79
79
  });
80
80
 
81
- class Service65 extends Context.Service()("@opencode/Config") {
81
+ class Service52 extends Context.Service()("@opencode/Config") {
82
82
  }
83
83
 
84
84
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
92
92
  setEntries: (next) => Ref.set(entries, next),
93
93
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
94
94
  });
95
- return Context.empty().pipe(Context.add(Service65, service), Context.add(Test2, service));
95
+ return Context.empty().pipe(Context.add(Service52, service), Context.add(Test2, service));
96
96
  }));
97
- var layer22 = (options) => Layer.effect(Service65, Effect.gen(function* () {
97
+ var layer20 = (options) => Layer.effect(Service52, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const location = yield* Service72;
100
- const watcher = yield* Service66;
101
- const bus = yield* Service78;
102
- const credentials = yield* Service74;
103
- const wellknown = yield* Service67;
99
+ const location = yield* Service76;
100
+ const watcher = yield* Service53;
101
+ const bus = yield* Service79;
102
+ const credentials = yield* Service69;
103
+ const wellknown = yield* Service54;
104
104
  const reloadLock = Semaphore.makeUnsafe(1);
105
105
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
106
106
  const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
@@ -224,7 +224,7 @@ var layer22 = (options) => Layer.effect(Service65, Effect.gen(function* () {
224
224
  const pendingReloads = yield* PubSub.subscribe(reloads);
225
225
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
226
  yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
227
- yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
227
+ yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
228
228
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
229
229
  if (!wellknown.snapshot().length)
230
230
  return Effect.void;
@@ -235,7 +235,7 @@ var layer22 = (options) => Layer.effect(Service65, Effect.gen(function* () {
235
235
  }).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
236
236
  })), Effect.forever, Effect.forkScoped({ startImmediately: true }));
237
237
  yield* reloadLock.withPermit(reconcile(initial));
238
- return Service65.of({
238
+ return Service52.of({
239
239
  entries: Effect.fnUntraced(function* () {
240
240
  return configs;
241
241
  }),
@@ -244,11 +244,11 @@ var layer22 = (options) => Layer.effect(Service65, Effect.gen(function* () {
244
244
  }));
245
245
  function configured7(options) {
246
246
  return makeLocationNode({
247
- service: Service65,
248
- layer: layer22(options),
249
- deps: [node69, node82, FSUtil.node, Global.node, node76, node78, node70]
247
+ service: Service52,
248
+ layer: layer20(options),
249
+ deps: [node56, node84, FSUtil.node, Global.node, node81, node73, node57]
250
250
  });
251
251
  }
252
- var node68 = configured7();
252
+ var node55 = configured7();
253
253
 
254
- export { latest2, Options7, Service65, Test2, testLayer2, layer22, configured7, node68, exports_config };
254
+ export { latest2, Options7, Service52, Test2, testLayer2, layer20, configured7, node55, exports_config };
@@ -1,7 +1,7 @@
1
1
  import {
2
- Service76,
3
- node80
4
- } from "./file-w6vgwbtw.js";
2
+ Service77,
3
+ node82
4
+ } from "./file-c6090g2y.js";
5
5
  import {
6
6
  __export
7
7
  } from "./file-9rqn6x4v.js";
@@ -9,25 +9,25 @@ import {
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info27,
12
+ Info: () => Info31,
13
13
  Location: () => exports_location,
14
- Ref: () => Ref3,
15
- Service: () => Service72,
14
+ Ref: () => Ref4,
15
+ Service: () => Service76,
16
16
  boundNode: () => boundNode2,
17
- node: () => node76,
17
+ node: () => node81,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info27, Ref as Ref3, response as response2 } from "@opencode/schema/location";
21
+ import { Info as Info31, Ref as Ref4, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service72 extends Context.Service()("@opencode/Location") {
24
+ class Service76 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node76 = LayerNode.unbound(Service72, tags.values.location);
27
- var layer = (ref, options) => Layer.effect(Service72, Effect.gen(function* () {
28
- const project = yield* Service76;
26
+ var node81 = LayerNode.unbound(Service76, tags.values.location);
27
+ var layer = (ref, options) => Layer.effect(Service76, Effect.gen(function* () {
28
+ const project = yield* Service77;
29
29
  const resolved = yield* project.resolve(ref.directory, options);
30
- return Service72.of({
30
+ return Service76.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service72, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref, options) => makeLocationNode({
38
- service: Service72,
38
+ service: Service76,
39
39
  layer: layer(ref, options),
40
- deps: [node80]
40
+ deps: [node82]
41
41
  });
42
42
 
43
- export { Info27, Ref3, response2, Service72, node76, boundNode2, exports_location };
43
+ export { Info31, Ref4, response2, Service76, node81, boundNode2, exports_location };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service78,
4
- node82
5
- } from "./file-0kzzmtkd.js";
3
+ Service79,
4
+ node84
5
+ } from "./file-zw0jxv6w.js";
6
6
  import {
7
7
  __export
8
8
  } from "./file-9rqn6x4v.js";
@@ -11,28 +11,28 @@ import {
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service12,
14
+ Service: () => Service6,
15
15
  Updated: () => Updated2,
16
- layer: () => layer7,
17
- node: () => node15
16
+ layer: () => layer5,
17
+ node: () => node8
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service12 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service6 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer7 = Layer.effect(Service12, Effect.gen(function* () {
26
- const bus = yield* Service78;
25
+ var layer5 = Layer.effect(Service6, Effect.gen(function* () {
26
+ const bus = yield* Service79;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service12.of({
29
+ return Service6.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node15 = makeGlobalNode({ service: Service12, layer: layer7, deps: [node82] });
36
+ var node8 = makeGlobalNode({ service: Service6, layer: layer5, deps: [node84] });
37
37
 
38
- export { Updated2, Service12, layer7, node15, exports_sdk };
38
+ export { Updated2, Service6, layer5, node8, exports_sdk };
@@ -1,19 +1,19 @@
1
1
  import {
2
- ID9
3
- } from "./file-p7r5e3re.js";
2
+ ID7
3
+ } from "./file-cef1ew0c.js";
4
4
  import {
5
5
  AbsolutePath2
6
6
  } from "./file-922hggd3.js";
7
7
  import {
8
- Info16
9
- } from "./file-zts5fb25.js";
8
+ Info18
9
+ } from "./file-akrnn5pm.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./file-wkwfxgj3.js";
12
+ } from "./file-5tvb4m4x.js";
13
13
  import {
14
14
  latest2,
15
- Service65
16
- } from "./file-wh05710z.js";
15
+ Service52
16
+ } from "./file-54xwtjdq.js";
17
17
  import {
18
18
  parseOption2
19
19
  } from "./file-5daktx2q.js";
@@ -25,7 +25,7 @@ import {
25
25
  var exports_agent = {};
26
26
  __export(exports_agent, {
27
27
  ConfigAgentPlugin: () => exports_agent,
28
- Plugin: () => Plugin4
28
+ Plugin: () => Plugin27
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info16);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info18);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin4 = define({
47
+ var Plugin27 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service65;
50
+ const config = yield* Service52;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin4 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID9.make(configuredDefault));
79
+ editor.default(ID7.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID9.make(id);
85
+ const agentID = ID7.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin4, exports_agent };
164
+ export { Plugin27, exports_agent };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  packageName2
3
- } from "./file-84tssp1s.js";
3
+ } from "./file-yhks5pv3.js";
4
4
 
5
5
  // src/plugin/provider/cerebras.ts
6
6
  import { Effect } from "effect";
@@ -1,60 +1,60 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./file-d1xvm4af.js";
2
+ Service80,
3
+ node85
4
+ } from "./file-sfegc1hb.js";
5
5
  import {
6
- Service78,
7
- node82
8
- } from "./file-0kzzmtkd.js";
6
+ Service79,
7
+ node84
8
+ } from "./file-zw0jxv6w.js";
9
9
  import {
10
- Service50,
11
- node53
12
- } from "./file-hq8zt1th.js";
10
+ Service28,
11
+ node31
12
+ } from "./file-8a2qdx2a.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
16
  } from "./file-922hggd3.js";
17
17
  import {
18
- Service76,
19
- node80
20
- } from "./file-w6vgwbtw.js";
18
+ Service77,
19
+ node82
20
+ } from "./file-c6090g2y.js";
21
21
  import {
22
- Ref3
23
- } from "./file-6bg31a94.js";
22
+ Ref4
23
+ } from "./file-56pp0xdw.js";
24
24
  import {
25
- Service53,
26
- node56
27
- } from "./file-2cmcktmr.js";
25
+ Service48,
26
+ node51
27
+ } from "./file-01x5ayvb.js";
28
28
  import {
29
29
  SessionMessage2
30
30
  } from "./file-gftt206x.js";
31
31
  import {
32
- NotFoundError6
33
- } from "./file-b4ssmz4r.js";
32
+ NotFoundError7
33
+ } from "./file-ma9yb35x.js";
34
34
  import {
35
35
  SessionEvent2
36
36
  } from "./file-ec1grn59.js";
37
37
  import {
38
- Service47
39
- } from "./file-embw8kgh.js";
38
+ Service25
39
+ } from "./file-jj3qxa52.js";
40
40
  import {
41
- Service56,
42
- node59
43
- } from "./file-8s84r2ab.js";
41
+ Service58,
42
+ node61
43
+ } from "./file-6kaqw02d.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service48,
48
- node51,
47
+ Service26,
48
+ node30,
49
49
  moveIDs2
50
- } from "./file-d5n4bh35.js";
50
+ } from "./file-6z8rkrt2.js";
51
51
  import {
52
- Service46,
53
- node50
54
- } from "./file-31hyewty.js";
52
+ Service24,
53
+ node29
54
+ } from "./file-1zpv7ff7.js";
55
55
  import {
56
- node24
57
- } from "./file-2rk3das1.js";
56
+ node28
57
+ } from "./file-6tp3trja.js";
58
58
  import {
59
59
  __export
60
60
  } from "./file-9rqn6x4v.js";
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service18,
68
+ Service: () => Service23,
69
69
  SessionMove: () => exports_move,
70
- node: () => node22
70
+ node: () => node27
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service18 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service23 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service18, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service76;
92
- const locations = yield* Service53;
93
- const store = yield* Service56;
94
- const execution = yield* Service46;
95
- const instances = yield* Service50;
96
- const admission = yield* Service48;
97
- const database = yield* Service79;
98
- const bus = yield* Service78;
91
+ const projects = yield* Service77;
92
+ const locations = yield* Service48;
93
+ const store = yield* Service58;
94
+ const execution = yield* Service24;
95
+ const instances = yield* Service28;
96
+ const admission = yield* Service26;
97
+ const database = yield* Service80;
98
+ const bus = yield* Service79;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError6({ sessionID });
102
+ return yield* new NotFoundError7({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
115
115
  return yield* new DestinationNotDirectoryError2({ directory });
116
116
  const project = yield* projects.resolve(directory);
117
117
  const destination = {
118
- location: Ref3.make({ directory, workspaceID: input.workspaceID }),
118
+ location: Ref4.make({ directory, workspaceID: input.workspaceID }),
119
119
  projectID: project.id,
120
120
  subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
121
121
  };
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service47.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
134
+ return yield* Service25.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service18.of({
136
+ return Service23.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node22 = makeGlobalNode({
167
- service: Service18,
166
+ var node27 = makeGlobalNode({
167
+ service: Service23,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node80,
173
- node56,
174
- node59,
175
- node50,
176
- node53,
177
- node51,
178
- node83,
179
172
  node82,
180
- node24
173
+ node51,
174
+ node61,
175
+ node29,
176
+ node31,
177
+ node30,
178
+ node85,
179
+ node84,
180
+ node28
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service18, node22, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service23, node27, exports_move };