@opencode-ai/core 0.0.0-dev-19236 → 0.0.0-dev-19237

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 (476) hide show
  1. package/dist/agent.js +59 -59
  2. package/dist/aisdk-native.js +2 -2
  3. package/dist/aisdk.js +6 -6
  4. package/dist/app.js +7 -7
  5. package/dist/bus.js +52 -52
  6. package/dist/catalog.js +56 -56
  7. package/dist/chunks/{file-qq11w61w.js → file-00z3vp5f.js} +3 -3
  8. package/dist/chunks/{file-5fhcw59z.js → file-03ssqq1h.js} +39 -39
  9. package/dist/chunks/{file-ebtdd58c.js → file-0jb3k8j6.js} +21 -21
  10. package/dist/chunks/{file-2k8khapm.js → file-0jwsre1p.js} +4 -4
  11. package/dist/chunks/{file-4e8crvtb.js → file-0p6bnn4j.js} +10 -10
  12. package/dist/chunks/{file-sd8ec36g.js → file-0wagesx1.js} +2 -2
  13. package/dist/chunks/{file-p0fvx2b7.js → file-129m3zyv.js} +7 -7
  14. package/dist/chunks/{file-at07c4b9.js → file-179n7qcx.js} +12 -12
  15. package/dist/chunks/{file-yp2x3t23.js → file-1acjjqhc.js} +3 -3
  16. package/dist/chunks/{file-8p628rfe.js → file-1j6fw132.js} +20 -20
  17. package/dist/chunks/{file-btr637ng.js → file-1jpftfmz.js} +42 -42
  18. package/dist/chunks/{file-3s2nsa7k.js → file-1nk2mnc0.js} +3 -3
  19. package/dist/chunks/{file-hczx788n.js → file-1vkgnbk5.js} +9 -9
  20. package/dist/chunks/{file-1fyf70sm.js → file-1zkb17nt.js} +3 -3
  21. package/dist/chunks/{file-6h73sxmp.js → file-2402vzrj.js} +4 -4
  22. package/dist/chunks/{file-pwphe3rf.js → file-2931d2p1.js} +10 -10
  23. package/dist/chunks/{file-64hre8q8.js → file-2hgwbbq1.js} +28 -28
  24. package/dist/chunks/{file-2gtf4gxt.js → file-2j2akc50.js} +7 -7
  25. package/dist/chunks/{file-7stz268c.js → file-2n0rqa47.js} +39 -39
  26. package/dist/chunks/{file-cctcmebf.js → file-2rx0c1se.js} +2 -2
  27. package/dist/chunks/{file-qyg26a5q.js → file-32vaat9j.js} +67 -67
  28. package/dist/chunks/{file-m25102gb.js → file-339x25ws.js} +5 -5
  29. package/dist/chunks/{file-3k4x7jps.js → file-36srvmcg.js} +8 -8
  30. package/dist/chunks/{file-1mrma768.js → file-3cm4x8pz.js} +3 -3
  31. package/dist/chunks/{file-vz6nxp08.js → file-3dab0e5z.js} +16 -16
  32. package/dist/chunks/{file-4z3jhc10.js → file-3f4r80p6.js} +42 -42
  33. package/dist/chunks/{file-65g4zw8b.js → file-3n69sb31.js} +11 -11
  34. package/dist/chunks/{file-jfx7w4w0.js → file-3v1vnpky.js} +55 -55
  35. package/dist/chunks/{file-bsa9yb1r.js → file-3wwk5jwz.js} +29 -29
  36. package/dist/chunks/{file-y8r8mqe0.js → file-3y04nngn.js} +18 -18
  37. package/dist/chunks/{file-sgecvmzg.js → file-3zf7jj5c.js} +29 -29
  38. package/dist/chunks/{file-jasnfvjs.js → file-46e97tr7.js} +7 -7
  39. package/dist/chunks/{file-hjt4xg1x.js → file-47gsdddb.js} +6 -6
  40. package/dist/chunks/{file-4skn7rc2.js → file-4c7fwq4e.js} +21 -21
  41. package/dist/chunks/{file-q6ypxst3.js → file-4pgqfzd8.js} +4 -4
  42. package/dist/chunks/{file-tjjz5xwe.js → file-4v4ajd06.js} +5 -5
  43. package/dist/chunks/{file-zkj92s1w.js → file-52bfwkce.js} +5 -5
  44. package/dist/chunks/{file-hx6eb5yw.js → file-595kwe3a.js} +1 -1
  45. package/dist/chunks/{file-303p9w1h.js → file-5dhjvcph.js} +4 -4
  46. package/dist/chunks/{file-8ej6t0kx.js → file-5f95ff4q.js} +21 -21
  47. package/dist/chunks/{file-skgjtp1k.js → file-5h5dsh0k.js} +29 -29
  48. package/dist/chunks/{file-5sqy5p9k.js → file-5rdj9hmq.js} +10 -10
  49. package/dist/chunks/{file-p742g7s6.js → file-5vgh9pjn.js} +22 -22
  50. package/dist/chunks/{file-3ew3pzd4.js → file-654kmdbf.js} +4 -4
  51. package/dist/chunks/{file-4xx57fsq.js → file-6652nm96.js} +7 -7
  52. package/dist/chunks/{file-veabk5tt.js → file-6h414ywr.js} +3 -3
  53. package/dist/chunks/{file-ga7x5g5r.js → file-6njxrdza.js} +13 -13
  54. package/dist/chunks/{file-4qjmbshy.js → file-6r2w4rfh.js} +24 -24
  55. package/dist/chunks/{file-qvrpv7pw.js → file-71n2k0sw.js} +21 -21
  56. package/dist/chunks/{file-0gfv995g.js → file-7d289b1g.js} +31 -31
  57. package/dist/chunks/{file-8dv8mw3k.js → file-7fxxes5g.js} +6 -6
  58. package/dist/chunks/{file-bj16ny09.js → file-7mcdhjjw.js} +34 -34
  59. package/dist/chunks/{file-swhyn6z2.js → file-7qhv6080.js} +13 -13
  60. package/dist/chunks/{file-jg8hpbdb.js → file-7vmn5jxr.js} +15 -15
  61. package/dist/chunks/{file-b01ryz8d.js → file-7yr2wfkw.js} +13 -13
  62. package/dist/chunks/{file-sbnvhk9g.js → file-88nptzkr.js} +19 -19
  63. package/dist/chunks/{file-1pdtxp2d.js → file-89cfd633.js} +1 -1
  64. package/dist/chunks/{file-7grmgsg7.js → file-8fhts7ts.js} +3 -3
  65. package/dist/chunks/{file-bwrfg74g.js → file-8kpcqxj9.js} +11 -11
  66. package/dist/chunks/{file-1wfjb4fb.js → file-8tq3sb4p.js} +1 -1
  67. package/dist/chunks/{file-8b48ft5s.js → file-934h7amq.js} +28 -28
  68. package/dist/chunks/{file-75yf2d83.js → file-97f5v037.js} +7 -7
  69. package/dist/chunks/{file-jee1seff.js → file-9938j897.js} +7 -7
  70. package/dist/chunks/{file-65dn8j3v.js → file-9qnjdkjv.js} +13 -13
  71. package/dist/chunks/{file-x5wdkkrz.js → file-9ss86a26.js} +9 -9
  72. package/dist/chunks/{file-wdmsjcnj.js → file-9t0ny11b.js} +9 -9
  73. package/dist/chunks/{file-066kw2xy.js → file-9vw7vcdh.js} +3 -3
  74. package/dist/chunks/{file-ht963k40.js → file-9z6xj13s.js} +5 -5
  75. package/dist/chunks/{file-yb55v587.js → file-a1cchfxj.js} +3 -3
  76. package/dist/chunks/{file-q87c86rb.js → file-a6m8wy4f.js} +14 -14
  77. package/dist/chunks/{file-17hja9f4.js → file-acd73yp7.js} +7 -7
  78. package/dist/chunks/{file-66hkt5g6.js → file-ajc7k593.js} +53 -53
  79. package/dist/chunks/{file-yg7sb877.js → file-ajtjthsy.js} +1 -1
  80. package/dist/chunks/{file-wj16sq0a.js → file-asf9wq49.js} +10 -10
  81. package/dist/chunks/{file-rs2df3q6.js → file-avf2awfk.js} +6 -6
  82. package/dist/chunks/{file-y1r8n7hf.js → file-avffydqw.js} +25 -25
  83. package/dist/chunks/{file-gst7axd9.js → file-baaqp4zd.js} +3 -3
  84. package/dist/chunks/{file-t9s2ckae.js → file-bffddetr.js} +19 -19
  85. package/dist/chunks/{file-v7z8bxbw.js → file-btqahyaw.js} +10 -10
  86. package/dist/chunks/{file-9m6tffr9.js → file-bvza9xe3.js} +80 -80
  87. package/dist/chunks/{file-te19xw12.js → file-c1v5b0wv.js} +11 -11
  88. package/dist/chunks/{file-z0xt53t1.js → file-c2m11pw9.js} +9 -9
  89. package/dist/chunks/{file-z98ztr55.js → file-c7jdh4x9.js} +7 -7
  90. package/dist/chunks/{file-skb9jyq5.js → file-cdbx1xhb.js} +40 -40
  91. package/dist/chunks/{file-hht6jkqw.js → file-cj6bar7a.js} +17 -17
  92. package/dist/chunks/{file-7yqjxrmz.js → file-cpy6gm2a.js} +3 -3
  93. package/dist/chunks/{file-2yb0w078.js → file-crtth3kn.js} +3 -3
  94. package/dist/chunks/{file-z2aqhqx5.js → file-csm9f11b.js} +12 -12
  95. package/dist/chunks/{file-jdnm8yea.js → file-ctpqmbes.js} +9 -9
  96. package/dist/chunks/{file-rxkkpkzx.js → file-d0e4f7jz.js} +6 -6
  97. package/dist/chunks/{file-g2gt0w0k.js → file-d72308c8.js} +1 -1
  98. package/dist/chunks/{file-rc3fvhed.js → file-d9ywy8qq.js} +156 -156
  99. package/dist/chunks/{file-vd657q2k.js → file-dhv13n9b.js} +22 -22
  100. package/dist/chunks/{file-cek9jpa8.js → file-dm4t3jdg.js} +22 -22
  101. package/dist/chunks/{file-km1d5px4.js → file-dt1n4p4v.js} +2 -2
  102. package/dist/chunks/{file-7qxyrcbr.js → file-e2611c6v.js} +9 -9
  103. package/dist/chunks/{file-af4svgqg.js → file-e5w0frp6.js} +9 -9
  104. package/dist/chunks/{file-f73jprk4.js → file-e5zee4hv.js} +9 -9
  105. package/dist/chunks/{file-sb82pmjh.js → file-e9bp071a.js} +1 -1
  106. package/dist/chunks/{file-defv84qj.js → file-en1kwsfy.js} +9 -9
  107. package/dist/chunks/{file-w3v7t084.js → file-ewjc977p.js} +31 -31
  108. package/dist/chunks/{file-4fv3rmvn.js → file-fhm8k5s2.js} +16 -16
  109. package/dist/chunks/{file-sn5ar8h4.js → file-fjsjs8gs.js} +1 -1
  110. package/dist/chunks/{file-08abk570.js → file-fkpavqt9.js} +23 -23
  111. package/dist/chunks/{file-jkbrzrrv.js → file-fqsf7web.js} +27 -27
  112. package/dist/chunks/{file-pbhkjpds.js → file-fz1pdqz4.js} +3 -3
  113. package/dist/chunks/{file-p5a9pe6q.js → file-g2zsh1qa.js} +20 -20
  114. package/dist/chunks/{file-4rx2ve8e.js → file-g3fmkc14.js} +30 -30
  115. package/dist/chunks/{file-qp4m35b7.js → file-g4j6k2pz.js} +11 -11
  116. package/dist/chunks/{file-mtq6xxnx.js → file-g8d3gcyj.js} +3 -3
  117. package/dist/chunks/{file-6pdxptdt.js → file-gpkgrk3z.js} +1 -1
  118. package/dist/chunks/{file-fyvm2v1v.js → file-hadacg6q.js} +4 -4
  119. package/dist/chunks/{file-jnv61ywj.js → file-hc2w1ek9.js} +12 -12
  120. package/dist/chunks/{file-35agntz9.js → file-hcmmkp4d.js} +29 -29
  121. package/dist/chunks/{file-1zremn8p.js → file-hk900qzg.js} +22 -22
  122. package/dist/chunks/{file-bcezcar3.js → file-hnyf01b0.js} +3 -3
  123. package/dist/chunks/{file-10ac5mb1.js → file-hr77wr0b.js} +2 -2
  124. package/dist/chunks/{file-g2dy4bvs.js → file-hrvm11jt.js} +1 -1
  125. package/dist/chunks/{file-rap9a73h.js → file-ht5y0zrb.js} +4 -4
  126. package/dist/chunks/{file-kvsjn1dr.js → file-hw4pv20g.js} +1 -1
  127. package/dist/chunks/{file-xbh233pe.js → file-hw71hpyd.js} +6 -6
  128. package/dist/chunks/{file-049bzhxb.js → file-j2sq7sy2.js} +8 -8
  129. package/dist/chunks/{file-39cmf8tc.js → file-jb4h4dr1.js} +22 -22
  130. package/dist/chunks/{file-zwjsydpj.js → file-jntn13wn.js} +7 -7
  131. package/dist/chunks/{file-fd12r7gp.js → file-jwd6g0dr.js} +8 -8
  132. package/dist/chunks/{file-xqrgenjs.js → file-k4b13ztk.js} +11 -11
  133. package/dist/chunks/{file-wt8jf74x.js → file-k50qz9pg.js} +14 -14
  134. package/dist/chunks/file-k7jgc7wy.js +22 -0
  135. package/dist/chunks/{file-nw7wp838.js → file-kkq1zppc.js} +1 -1
  136. package/dist/chunks/{file-dtb0ws7g.js → file-ktr5pece.js} +286 -286
  137. package/dist/chunks/{file-9ddpxva0.js → file-m0m2gtc4.js} +16 -16
  138. package/dist/chunks/{file-a9zfrvqc.js → file-m3fm0fm8.js} +3 -3
  139. package/dist/chunks/{file-hg836chd.js → file-m3p4mq0k.js} +22 -22
  140. package/dist/chunks/{file-kt8ej3md.js → file-m4je5jzf.js} +15 -15
  141. package/dist/chunks/{file-sthxzpft.js → file-mb6d61vn.js} +21 -21
  142. package/dist/chunks/{file-mw9hhfke.js → file-md9ad6xb.js} +26 -26
  143. package/dist/chunks/{file-56gdpj1q.js → file-mfqp6xfm.js} +4 -4
  144. package/dist/chunks/{file-73tb2d7t.js → file-mhkvc446.js} +2 -2
  145. package/dist/chunks/{file-cbq8agb2.js → file-mhq5r63x.js} +43 -43
  146. package/dist/chunks/{file-0gbwq0hg.js → file-mmkbhfjj.js} +21 -21
  147. package/dist/chunks/{file-6m3yr79m.js → file-mr1e9xzf.js} +27 -27
  148. package/dist/chunks/{file-sxxkfwq9.js → file-mt2hp97g.js} +32 -32
  149. package/dist/chunks/{file-ybjzef57.js → file-mtqwgfqs.js} +7 -7
  150. package/dist/chunks/{file-99f55ymk.js → file-n5f8hq7m.js} +5 -5
  151. package/dist/chunks/{file-00pw28xp.js → file-na3f2bx6.js} +29 -29
  152. package/dist/chunks/{file-kq7ayz9w.js → file-p9tbkvt9.js} +9 -9
  153. package/dist/chunks/{file-j935v87r.js → file-paphc93g.js} +2 -2
  154. package/dist/chunks/file-pegy9qka.js +247 -0
  155. package/dist/chunks/{file-jw46jgr9.js → file-pmfjm0ds.js} +16 -16
  156. package/dist/chunks/{file-qqff7yvw.js → file-pmtj7vd7.js} +8 -8
  157. package/dist/chunks/{file-x7ynhfcf.js → file-prt369qg.js} +28 -28
  158. package/dist/chunks/{file-kkq7fz0t.js → file-ptz1ztyq.js} +5 -5
  159. package/dist/chunks/{file-3qysrpvj.js → file-q3cgsmnj.js} +18 -18
  160. package/dist/chunks/{file-rg4vxe4z.js → file-q604e6nk.js} +12 -12
  161. package/dist/chunks/{file-yqgm3h52.js → file-qeka1wpx.js} +16 -16
  162. package/dist/chunks/{file-39hqv1cv.js → file-qrjx5gd0.js} +20 -20
  163. package/dist/chunks/{file-m7fncjt1.js → file-qya9qmjj.js} +21 -21
  164. package/dist/chunks/{file-xb5gd69p.js → file-r528y2ap.js} +10 -10
  165. package/dist/chunks/{file-j01ht7zb.js → file-r911hjta.js} +17 -17
  166. package/dist/chunks/{file-759pz1a2.js → file-rjqxra3c.js} +7 -7
  167. package/dist/chunks/{file-14ek8s6r.js → file-rjrsppvq.js} +13 -13
  168. package/dist/chunks/{file-81wsxtk4.js → file-rmeyr0zp.js} +28 -28
  169. package/dist/chunks/{file-6c94r859.js → file-rmftyprg.js} +35 -35
  170. package/dist/chunks/{file-7ntygjpx.js → file-rmjbkvqc.js} +5 -5
  171. package/dist/chunks/{file-y0hxjsdz.js → file-rrp6adwx.js} +16 -16
  172. package/dist/chunks/{file-3hfq6gnd.js → file-rtgawa8q.js} +3 -3
  173. package/dist/chunks/{file-f5n5pagv.js → file-rtmnkjh7.js} +7 -7
  174. package/dist/chunks/{file-6gg9h021.js → file-rvvz5b9h.js} +12 -12
  175. package/dist/chunks/{file-rh7y5xh0.js → file-s0gpr7nd.js} +1 -1
  176. package/dist/chunks/{file-dns6mj49.js → file-s0xr38aj.js} +7 -7
  177. package/dist/chunks/{file-nknpaanp.js → file-ssh3ax1h.js} +9 -9
  178. package/dist/chunks/{file-phke90h3.js → file-t7xph3b4.js} +4 -4
  179. package/dist/chunks/{file-vqv04s3v.js → file-t9v5xvk5.js} +1 -1
  180. package/dist/chunks/{file-0nv781ed.js → file-tgta4dgx.js} +25 -25
  181. package/dist/chunks/{file-ts767fjw.js → file-tjjbrw7w.js} +16 -16
  182. package/dist/chunks/{file-tsv3p22z.js → file-tmgtet36.js} +19 -19
  183. package/dist/chunks/{file-wgcrfrpe.js → file-tpqfb4gb.js} +5 -5
  184. package/dist/chunks/{file-dm7yrpwm.js → file-ttmf2k06.js} +3 -3
  185. package/dist/chunks/{file-r5bh2vbg.js → file-tvqb7ptv.js} +8 -8
  186. package/dist/chunks/{file-p2bhzj9e.js → file-tvzx8eep.js} +7 -7
  187. package/dist/chunks/{file-xysfxsss.js → file-tymq08ss.js} +19 -19
  188. package/dist/chunks/{file-vhjdrq5e.js → file-tyqynq3b.js} +4 -4
  189. package/dist/chunks/{file-19knqdbs.js → file-v6khqva7.js} +1 -1
  190. package/dist/chunks/{file-kgx56mxq.js → file-v6vne6e8.js} +82 -82
  191. package/dist/chunks/{file-q06n7zjg.js → file-v8sg56bb.js} +6 -6
  192. package/dist/chunks/{file-75w3e9am.js → file-v92wz3b8.js} +30 -30
  193. package/dist/chunks/{file-d8ch6z4t.js → file-v940708v.js} +22 -22
  194. package/dist/chunks/{file-754np4jn.js → file-v961h6fn.js} +19 -19
  195. package/dist/chunks/{file-j5208yae.js → file-va5qff5x.js} +3 -3
  196. package/dist/chunks/{file-428apkw1.js → file-vgjr9pam.js} +15 -15
  197. package/dist/chunks/{file-z9bw2vtt.js → file-vn9j9bbf.js} +14 -14
  198. package/dist/chunks/{file-ge7ds67b.js → file-vnzc40bj.js} +1 -1
  199. package/dist/chunks/{file-k7ry919m.js → file-vt4ykcc5.js} +18 -18
  200. package/dist/chunks/{file-0kyj2j0j.js → file-vypq2r11.js} +12 -12
  201. package/dist/chunks/{file-zmscwvaw.js → file-w07k5xss.js} +10 -10
  202. package/dist/chunks/{file-7n7dggr2.js → file-w4d6nzh9.js} +7 -7
  203. package/dist/chunks/{file-rzmvvtd3.js → file-waegbgsk.js} +16 -16
  204. package/dist/chunks/{file-kmcjptjm.js → file-wefnnxbq.js} +1 -1
  205. package/dist/chunks/{file-aj358c6r.js → file-wfr7fczh.js} +12 -12
  206. package/dist/chunks/{file-qpfcbq6z.js → file-whc6z58z.js} +7 -7
  207. package/dist/chunks/{file-cryxk9jx.js → file-wt9rnddh.js} +19 -19
  208. package/dist/chunks/{file-b82xwvp7.js → file-wzds84qh.js} +5 -5
  209. package/dist/chunks/{file-fksjs2ph.js → file-x6pvac8r.js} +45 -45
  210. package/dist/chunks/{file-17qydk6p.js → file-x9efqt87.js} +18 -18
  211. package/dist/chunks/{file-3vtq9f9y.js → file-xb70hszk.js} +10 -10
  212. package/dist/chunks/{file-04k4zjse.js → file-xdrtxdpg.js} +15 -15
  213. package/dist/chunks/{file-nxrz604p.js → file-xjde6dvc.js} +7 -7
  214. package/dist/chunks/{file-76wr4mq2.js → file-xr5vwsd4.js} +7 -7
  215. package/dist/chunks/{file-ws7sq7f3.js → file-xy58tbcv.js} +25 -25
  216. package/dist/chunks/{file-c36t02qb.js → file-y37eft65.js} +28 -28
  217. package/dist/chunks/{file-a73hhrgc.js → file-y3cm0t0c.js} +10 -10
  218. package/dist/chunks/{file-ez0vzke5.js → file-y5z1eg03.js} +7 -7
  219. package/dist/chunks/{file-kk3rr3qh.js → file-yfbd16n1.js} +3 -3
  220. package/dist/chunks/{file-fqrxtbzb.js → file-yq559278.js} +5 -5
  221. package/dist/chunks/{file-m6gkbcmq.js → file-yqr8waf2.js} +32 -32
  222. package/dist/chunks/{file-kjsgxbnr.js → file-yt0vhsen.js} +19 -19
  223. package/dist/chunks/{file-33j3s859.js → file-z3h7hm3n.js} +3 -3
  224. package/dist/chunks/{file-29x78va6.js → file-z63w68vq.js} +4 -4
  225. package/dist/chunks/{file-ampcz2zy.js → file-z7ezyskm.js} +28 -28
  226. package/dist/chunks/{file-wd9xnjkn.js → file-z7n23fv9.js} +20 -20
  227. package/dist/chunks/{file-v24vjsdb.js → file-zmy6e5rj.js} +47 -47
  228. package/dist/chunks/{file-zxhyecep.js → file-zp70bgmg.js} +26 -26
  229. package/dist/chunks/{file-sy2xv61m.js → file-ztxeb84j.js} +1 -1
  230. package/dist/chunks/{file-bnce5g0a.js → file-zy8c9jht.js} +17 -17
  231. package/dist/codemode/instructions.js +8 -8
  232. package/dist/command.js +55 -55
  233. package/dist/config/discovery.js +56 -56
  234. package/dist/config/normalize.js +16 -16
  235. package/dist/config/plugin/agent.js +86 -86
  236. package/dist/config/plugin/command.js +172 -172
  237. package/dist/config/plugin/compaction.js +124 -124
  238. package/dist/config/plugin/formatter.js +88 -88
  239. package/dist/config/plugin/image.js +86 -86
  240. package/dist/config/plugin/instruction.js +62 -62
  241. package/dist/config/plugin/location-watcher.js +86 -86
  242. package/dist/config/plugin/mcp.js +95 -95
  243. package/dist/config/plugin/policy.js +86 -86
  244. package/dist/config/plugin/provider.js +85 -85
  245. package/dist/config/plugin/reference.js +88 -88
  246. package/dist/config/plugin/shell.js +89 -89
  247. package/dist/config/plugin/skill-file.js +71 -71
  248. package/dist/config/plugin/skill.js +106 -106
  249. package/dist/config/plugin/snapshot.js +86 -86
  250. package/dist/config/plugin/source.js +89 -89
  251. package/dist/config/plugin/tool-output.js +88 -88
  252. package/dist/config/plugin/websearch.js +87 -87
  253. package/dist/config/plugin/worktree.js +87 -87
  254. package/dist/config/variable.js +2 -2
  255. package/dist/config.js +92 -92
  256. package/dist/credential.js +59 -59
  257. package/dist/database/database.js +51 -51
  258. package/dist/database/drizzle/effect-sqlite/driver.js +7 -7
  259. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  260. package/dist/database/drizzle/effect-sqlite/session.js +6 -6
  261. package/dist/database/drizzle/index.js +8 -8
  262. package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
  263. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  264. package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
  265. package/dist/database/drizzle.js +8 -8
  266. package/dist/database/migration.gen.js +37 -37
  267. package/dist/database/migration.js +38 -38
  268. package/dist/database/v1-migration.bun.js +14 -14
  269. package/dist/effect/app-node-builder.js +236 -236
  270. package/dist/environment/environment.js +64 -64
  271. package/dist/environment/index.js +66 -66
  272. package/dist/event-logger.js +13 -13
  273. package/dist/file-mutation.js +61 -61
  274. package/dist/filesystem/location-watcher-policy.js +3 -3
  275. package/dist/filesystem/location-watcher.js +182 -182
  276. package/dist/filesystem/search.js +73 -73
  277. package/dist/filesystem/watcher-binding.js +3 -3
  278. package/dist/filesystem/watcher.js +14 -14
  279. package/dist/filesystem.js +70 -70
  280. package/dist/form.js +63 -63
  281. package/dist/formatter/builtins.js +3 -3
  282. package/dist/formatter.js +60 -60
  283. package/dist/generate.js +64 -64
  284. package/dist/git.js +5 -5
  285. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  286. package/dist/github-copilot/copilot-provider.js +3 -3
  287. package/dist/github-copilot/models.js +3 -3
  288. package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
  289. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  290. package/dist/image/photon.js +1 -1
  291. package/dist/image.js +5 -5
  292. package/dist/instance/service.js +5 -5
  293. package/dist/instance.js +310 -310
  294. package/dist/instruction-discovery.js +62 -62
  295. package/dist/instructions/builtins.js +61 -61
  296. package/dist/instructions/index.js +5 -5
  297. package/dist/integration.js +63 -63
  298. package/dist/job.js +57 -57
  299. package/dist/kv.js +52 -52
  300. package/dist/location-activity.js +60 -60
  301. package/dist/location-mutation.js +60 -60
  302. package/dist/location-service-map.js +60 -60
  303. package/dist/location-services.js +307 -307
  304. package/dist/location.js +61 -61
  305. package/dist/mcp/client.js +19 -19
  306. package/dist/mcp/index.js +76 -76
  307. package/dist/mcp/instructions.js +92 -92
  308. package/dist/mcp/stdio.js +61 -61
  309. package/dist/modal/models.js +3 -3
  310. package/dist/model-resolver.js +59 -59
  311. package/dist/model.js +10 -10
  312. package/dist/models-dev.js +65 -65
  313. package/dist/permission/saved.js +59 -59
  314. package/dist/permission/sql.js +3 -3
  315. package/dist/permission.js +83 -83
  316. package/dist/persistent-pty/index.js +64 -64
  317. package/dist/persistent-pty.js +50 -50
  318. package/dist/plugin/agent.js +72 -72
  319. package/dist/plugin/command.js +69 -69
  320. package/dist/plugin/hooks.js +5 -5
  321. package/dist/plugin/host.js +179 -179
  322. package/dist/plugin/instance.js +5 -5
  323. package/dist/plugin/internal.js +281 -281
  324. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  325. package/dist/plugin/models-dev.js +54 -54
  326. package/dist/plugin/module.js +5 -5
  327. package/dist/plugin/optimize.js +4 -4
  328. package/dist/plugin/plan.js +72 -72
  329. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  330. package/dist/plugin/provider/anthropic.js +2 -2
  331. package/dist/plugin/provider/azure.js +89 -89
  332. package/dist/plugin/provider/cerebras.js +2 -2
  333. package/dist/plugin/provider/cloudflare-ai-gateway.js +88 -88
  334. package/dist/plugin/provider/cloudflare-workers-ai.js +88 -88
  335. package/dist/plugin/provider/configured.js +86 -86
  336. package/dist/plugin/provider/github-copilot.js +57 -57
  337. package/dist/plugin/provider/gitlab.js +3 -3
  338. package/dist/plugin/provider/google-vertex.js +2 -2
  339. package/dist/plugin/provider/kilo.js +2 -2
  340. package/dist/plugin/provider/llmgateway.js +53 -53
  341. package/dist/plugin/provider/lmstudio.js +89 -89
  342. package/dist/plugin/provider/modal.js +56 -56
  343. package/dist/plugin/provider/nvidia.js +2 -2
  344. package/dist/plugin/provider/ollama.js +89 -89
  345. package/dist/plugin/provider/openai.js +56 -56
  346. package/dist/plugin/provider/opencode.js +53 -53
  347. package/dist/plugin/provider/openrouter.js +3 -3
  348. package/dist/plugin/provider/sap-ai-core.js +2 -2
  349. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  350. package/dist/plugin/provider/vercel.js +2 -2
  351. package/dist/plugin/provider/vllm.js +89 -89
  352. package/dist/plugin/provider/xai.js +54 -54
  353. package/dist/plugin/provider/zenmux.js +2 -2
  354. package/dist/plugin/provider.js +122 -122
  355. package/dist/plugin/sdk.js +55 -55
  356. package/dist/plugin/service.js +3 -3
  357. package/dist/plugin/skill.js +104 -104
  358. package/dist/plugin/supervisor.js +300 -300
  359. package/dist/plugin/update.js +5 -5
  360. package/dist/plugin/variant.js +4 -4
  361. package/dist/plugin/vcs/git.js +59 -59
  362. package/dist/plugin/vcs/hg.js +59 -59
  363. package/dist/plugin/warming.js +85 -85
  364. package/dist/plugin/websearch/exa.js +6 -6
  365. package/dist/plugin/websearch/firecrawl.js +7 -7
  366. package/dist/plugin/websearch/index.js +7 -7
  367. package/dist/plugin/websearch/mcp.js +3 -3
  368. package/dist/plugin/websearch/parallel.js +7 -7
  369. package/dist/plugin/websearch/tavily.js +6 -6
  370. package/dist/plugin.js +187 -187
  371. package/dist/project/schema.js +5 -5
  372. package/dist/project/sql.js +2 -2
  373. package/dist/project.js +62 -62
  374. package/dist/provider.js +5 -5
  375. package/dist/pty.js +64 -64
  376. package/dist/reference/instructions.js +60 -60
  377. package/dist/reference.js +64 -64
  378. package/dist/repository-cache.js +56 -56
  379. package/dist/repository.js +3 -3
  380. package/dist/ripgrep.js +68 -68
  381. package/dist/rpc.js +60 -60
  382. package/dist/session/command.js +52 -52
  383. package/dist/session/compaction.js +100 -100
  384. package/dist/session/context.js +118 -118
  385. package/dist/session/environment.js +5 -5
  386. package/dist/session/error.js +6 -6
  387. package/dist/session/execution/restart.js +125 -125
  388. package/dist/session/execution.js +96 -96
  389. package/dist/session/generate.js +117 -117
  390. package/dist/session/history.js +10 -10
  391. package/dist/session/inbox.js +63 -63
  392. package/dist/session/info.js +2 -2
  393. package/dist/session/instruction-entry.js +58 -58
  394. package/dist/session/instruction-state.js +5 -5
  395. package/dist/session/instructions.js +68 -68
  396. package/dist/session/message-updater.js +3 -3
  397. package/dist/session/model-request.js +87 -87
  398. package/dist/session/model-transport.js +7 -7
  399. package/dist/session/move.js +97 -97
  400. package/dist/session/projector.js +58 -58
  401. package/dist/session/prompt.js +74 -74
  402. package/dist/session/revert.js +61 -61
  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 +188 -188
  406. package/dist/session/runner/model.js +63 -63
  407. package/dist/session/runner/retry.js +3 -3
  408. package/dist/session/runner/step.js +91 -91
  409. package/dist/session/schema.js +5 -5
  410. package/dist/session/session.js +135 -135
  411. package/dist/session/shell.js +101 -101
  412. package/dist/session/skill.js +73 -73
  413. package/dist/session/sql.js +3 -3
  414. package/dist/session/stats.js +12 -12
  415. package/dist/session/store.js +61 -61
  416. package/dist/session/subagent-job.js +171 -171
  417. package/dist/session/system-prompt.js +5 -5
  418. package/dist/session/title.js +121 -121
  419. package/dist/session/to-session-error.js +80 -80
  420. package/dist/session/transfer.js +125 -125
  421. package/dist/session.js +180 -180
  422. package/dist/shell/parse.js +3 -3
  423. package/dist/shell/select.js +11 -11
  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 +80 -80
  428. package/dist/snapshot.js +66 -66
  429. package/dist/tool/mcp.js +93 -93
  430. package/dist/tool/plugin/edit.js +88 -88
  431. package/dist/tool/plugin/glob.js +92 -92
  432. package/dist/tool/plugin/grep.js +90 -90
  433. package/dist/tool/plugin/opencode.js +3 -3
  434. package/dist/tool/plugin/patch.js +88 -88
  435. package/dist/tool/plugin/question.js +73 -73
  436. package/dist/tool/plugin/read.js +89 -89
  437. package/dist/tool/plugin/shell.js +179 -179
  438. package/dist/tool/plugin/skill.js +81 -81
  439. package/dist/tool/plugin/subagent.js +178 -178
  440. package/dist/tool/plugin/webfetch.js +80 -80
  441. package/dist/tool/plugin/websearch.js +84 -84
  442. package/dist/tool/plugin/write.js +88 -88
  443. package/dist/tool/read-filesystem.js +70 -70
  444. package/dist/tool-output.js +6 -6
  445. package/dist/tool.js +9 -9
  446. package/dist/v1/config/agent.js +6 -6
  447. package/dist/v1/config/attachment.js +3 -3
  448. package/dist/v1/config/command.js +3 -3
  449. package/dist/v1/config/config.js +14 -14
  450. package/dist/v1/config/error.js +3 -3
  451. package/dist/v1/config/formatter.js +3 -3
  452. package/dist/v1/config/lsp.js +3 -3
  453. package/dist/v1/config/mcp.js +3 -3
  454. package/dist/v1/config/migrate.js +3 -3
  455. package/dist/v1/config/permission.js +7 -7
  456. package/dist/v1/config/plugin.js +3 -3
  457. package/dist/v1/config/provider.js +3 -3
  458. package/dist/v1/config/skills.js +3 -3
  459. package/dist/vcs.js +62 -62
  460. package/dist/websearch.js +58 -58
  461. package/dist/wellknown/plugin.js +53 -53
  462. package/dist/wellknown.js +58 -58
  463. package/dist/workspace/driver.js +5 -5
  464. package/dist/workspace.js +57 -57
  465. package/dist/worktree/git.js +2 -2
  466. package/dist/worktree/refresh.js +299 -299
  467. package/dist/worktree/sql.js +3 -3
  468. package/dist/worktree.js +63 -63
  469. package/package.json +7 -7
  470. package/dist/chunks/file-g7tb25v3.js +0 -247
  471. package/dist/chunks/file-vz1btq9j.js +0 -22
  472. /package/dist/chunks/{file-qvbcabdc.js → file-9qm9egsn.js} +0 -0
  473. /package/dist/chunks/{file-b29mbqx6.js → file-d9wzmzc3.js} +0 -0
  474. /package/dist/chunks/{file-tag52meg.js → file-gmq3187j.js} +0 -0
  475. /package/dist/chunks/{file-eyx7m0wd.js → file-hpgd43jv.js} +0 -0
  476. /package/dist/chunks/{file-92k45pvj.js → file-zvrekwpq.js} +0 -0
@@ -2,8 +2,8 @@ import {
2
2
  lazy2
3
3
  } from "./file-88xbtdfr.js";
4
4
  import {
5
- load3
6
- } from "./file-j935v87r.js";
5
+ load2
6
+ } from "./file-paphc93g.js";
7
7
  import {
8
8
  __export
9
9
  } from "./file-9rqn6x4v.js";
@@ -11,18 +11,18 @@ import {
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event15,
14
+ Event: () => Event8,
15
15
  Native: () => Native3,
16
- Options: () => Options9,
17
- Service: () => Service67,
16
+ Options: () => Options7,
17
+ Service: () => Service39,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured9,
20
+ configured: () => configured6,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer23,
22
+ layer: () => layer16,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node71,
25
+ node: () => node43,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper";
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event15 = { Updated: FileSystem.Event.Changed };
36
+ var Event8 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
- return createWrapper(load3());
39
+ return createWrapper(load2());
40
40
  } catch {
41
41
  return;
42
42
  }
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options9 = Schema.Struct({
56
+ var Options7 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service67 extends Context.Service()("@opencode/Watcher") {
60
+ class Service39 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer23 = (options) => Layer.effect(Service67, Effect.gen(function* () {
65
+ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service67.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service39.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer23 = (options) => Layer.effect(Service67, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service67.of({ subscribe });
108
+ return Service39.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer23().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer16().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service67).subscribe,
134
+ subscribe: Context.get(context, Service39).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service67, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service39, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured9(options) {
168
- return makeGlobalNode({ service: Service67, layer: layer23(options), deps: [nativeNode2] });
167
+ function configured6(options) {
168
+ return makeGlobalNode({ service: Service39, layer: layer16(options), deps: [nativeNode2] });
169
169
  }
170
- var node71 = configured9();
170
+ var node43 = configured6();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event15, hasNativeBinding2, Native3, Options9, Service67, Test3, layer23, testLayer3, nativeLayer2, nativeNode2, configured9, node71, exports_watcher };
190
+ export { Event8, hasNativeBinding2, Native3, Options7, Service39, Test3, layer16, testLayer3, nativeLayer2, nativeNode2, configured6, node43, exports_watcher };
@@ -4,11 +4,11 @@ import {
4
4
  } from "./file-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./file-zkj92s1w.js";
7
+ } from "./file-52bfwkce.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./file-65dn8j3v.js";
11
+ } from "./file-9qnjdkjv.js";
12
12
  import {
13
13
  __export
14
14
  } from "./file-9rqn6x4v.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service66
3
- } from "./file-cbq8agb2.js";
2
+ Service38
3
+ } from "./file-mhq5r63x.js";
4
4
  import {
5
- Service59
6
- } from "./file-dns6mj49.js";
5
+ Service79
6
+ } from "./file-s0xr38aj.js";
7
7
  import {
8
8
  observe2
9
9
  } from "./file-qsdy395h.js";
@@ -15,15 +15,15 @@ import {
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin27
18
+ Plugin: () => Plugin14
19
19
  });
20
20
  import { define } from "@opencode-ai/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin27 = define({
22
+ var Plugin14 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service66;
26
- const image = yield* Service59;
25
+ const config = yield* Service38;
26
+ const image = yield* Service79;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin27 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin27, exports_image };
46
+ export { Plugin14, exports_image };
@@ -2,17 +2,17 @@ import {
2
2
  PositiveInt2
3
3
  } from "./file-p8qxwesx.js";
4
4
  import {
5
- Info21
6
- } from "./file-sbnvhk9g.js";
5
+ Info11
6
+ } from "./file-88nptzkr.js";
7
7
  import {
8
8
  __export
9
9
  } from "./file-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
- var exports_agent4 = {};
13
- __export(exports_agent4, {
14
- ConfigAgentV1: () => exports_agent4,
15
- Info: () => Info20
12
+ var exports_agent3 = {};
13
+ __export(exports_agent3, {
14
+ ConfigAgentV1: () => exports_agent3,
15
+ Info: () => Info10
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info21)
47
+ permission: Schema.optional(Info11)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info20 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info10 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info20, exports_agent4 };
74
+ export { Info10, exports_agent3 };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service66
3
- } from "./file-cbq8agb2.js";
2
+ Service38
3
+ } from "./file-mhq5r63x.js";
4
4
  import {
5
- Service30
6
- } from "./file-v24vjsdb.js";
5
+ Service32
6
+ } from "./file-zmy6e5rj.js";
7
7
  import {
8
8
  __export
9
9
  } from "./file-9rqn6x4v.js";
@@ -12,20 +12,20 @@ import {
12
12
  var exports_mcp = {};
13
13
  __export(exports_mcp, {
14
14
  ConfigMcpPlugin: () => exports_mcp,
15
- Plugin: () => Plugin24,
15
+ Plugin: () => Plugin4,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode-ai/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin24 = define({
20
+ var Plugin4 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service66;
28
- const mcp = yield* Service30;
27
+ const config = yield* Service38;
28
+ const mcp = yield* Service32;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin24, register2, exports_mcp };
49
+ export { Plugin4, register2, exports_mcp };
@@ -4,7 +4,7 @@ import {
4
4
  } from "./file-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./file-tag52meg.js";
7
+ } from "./file-gmq3187j.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -4,10 +4,10 @@ import {
4
4
  UnresolvedProviderVariablesError3,
5
5
  Service61,
6
6
  node65
7
- } from "./file-sgecvmzg.js";
7
+ } from "./file-3zf7jj5c.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./file-3s2nsa7k.js";
10
+ } from "./file-1nk2mnc0.js";
11
11
  import {
12
12
  __export
13
13
  } from "./file-9rqn6x4v.js";
@@ -17,12 +17,12 @@ var exports_model = {};
17
17
  __export(exports_model, {
18
18
  ModelNotSelectedError: () => ModelNotSelectedError2,
19
19
  ModelUnavailableError: () => ModelUnavailableError2,
20
- Service: () => Service38,
20
+ Service: () => Service52,
21
21
  SessionRunnerModel: () => exports_model,
22
22
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
23
23
  UnsupportedPackageError: () => UnsupportedPackageError2,
24
24
  VariantUnavailableError: () => VariantUnavailableError2,
25
- node: () => node41,
25
+ node: () => node56,
26
26
  resolved: () => resolved2
27
27
  });
28
28
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
@@ -48,7 +48,7 @@ var VariantUnavailableError2 = VariantUnavailableError3;
48
48
  var UnsupportedPackageError2 = UnsupportedPackageError3;
49
49
  var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
50
50
 
51
- class Service38 extends Context.Service()("@opencode/SessionRunnerModel") {
51
+ class Service52 extends Context.Service()("@opencode/SessionRunnerModel") {
52
52
  }
53
53
  var resolved2 = (model, options) => ({
54
54
  model,
@@ -61,9 +61,9 @@ var resolved2 = (model, options) => ({
61
61
  cost: options.cost,
62
62
  limit: options.limit
63
63
  });
64
- var layer = Layer.effect(Service38, Effect.gen(function* () {
64
+ var layer = Layer.effect(Service52, Effect.gen(function* () {
65
65
  const resolver = yield* Service61;
66
- return Service38.of({
66
+ return Service52.of({
67
67
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
68
68
  if (!session.model) {
69
69
  const resolved = yield* resolver.resolve();
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node41 = makeLocationNode({ service: Service38, layer, deps: [node65] });
84
+ var node56 = makeLocationNode({ service: Service52, layer, deps: [node65] });
85
85
 
86
- export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, Service38, resolved2, node41, exports_model };
86
+ export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, Service52, resolved2, node56, exports_model };
@@ -1,19 +1,19 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./file-swhyn6z2.js";
2
+ Service76,
3
+ node81
4
+ } from "./file-7qhv6080.js";
5
5
  import {
6
- Service30,
7
- node35
8
- } from "./file-v24vjsdb.js";
6
+ Service32,
7
+ node36
8
+ } from "./file-zmy6e5rj.js";
9
9
  import {
10
- Service54,
11
- node58
12
- } from "./file-66hkt5g6.js";
10
+ Service57,
11
+ node61
12
+ } from "./file-ajc7k593.js";
13
13
  import {
14
- Service53,
15
- node57
16
- } from "./file-t9s2ckae.js";
14
+ Service78,
15
+ node83
16
+ } from "./file-bffddetr.js";
17
17
  import {
18
18
  __export
19
19
  } from "./file-9rqn6x4v.js";
@@ -22,26 +22,26 @@ import {
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service29,
26
- layer: () => layer10,
27
- name: () => name13,
25
+ Service: () => Service31,
26
+ layer: () => layer13,
27
+ name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node34
29
+ node: () => node35
30
30
  });
31
31
  import { ToolFailure } from "@opencode-ai/ai";
32
32
  import { McpEvent } from "@opencode-ai/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service29 extends Context.Service()("@opencode/McpTool") {
38
+ class Service31 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer10 = Layer.effect(Service29, Effect.gen(function* () {
41
- const mcp = yield* Service30;
42
- const tools = yield* Service53;
43
- const bus = yield* Service79;
44
- const permission = yield* Service54;
40
+ var layer13 = Layer.effect(Service31, Effect.gen(function* () {
41
+ const mcp = yield* Service32;
42
+ const tools = yield* Service78;
43
+ const bus = yield* Service76;
44
+ const permission = yield* Service57;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -62,7 +62,7 @@ var layer10 = Layer.effect(Service29, Effect.gen(function* () {
62
62
  output: tool.outputSchema ?? {},
63
63
  execute: (input, context) => Effect.gen(function* () {
64
64
  yield* permission.assert({
65
- action: name13(tool.server, tool.name),
65
+ action: name14(tool.server, tool.name),
66
66
  resources: ["*"],
67
67
  save: ["*"],
68
68
  metadata: {},
@@ -99,7 +99,7 @@ var layer10 = Layer.effect(Service29, Effect.gen(function* () {
99
99
  output: result.structured ?? (text === "" ? null : text),
100
100
  ...content.length === 0 ? {} : { content }
101
101
  };
102
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
102
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
103
103
  });
104
104
  }
105
105
  });
@@ -112,12 +112,12 @@ var layer10 = Layer.effect(Service29, Effect.gen(function* () {
112
112
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
113
113
  const updates = yield* PubSub.subscribe(changes);
114
114
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
115
- return Service29.of({ flush: Effect.asVoid(Fiber.await(initial)) });
115
+ return Service31.of({ flush: Effect.asVoid(Fiber.await(initial)) });
116
116
  }));
117
- var node34 = makeLocationNode({
118
- service: Service29,
119
- layer: layer10,
120
- deps: [node57, node35, node84, node58]
117
+ var node35 = makeLocationNode({
118
+ service: Service31,
119
+ layer: layer13,
120
+ deps: [node83, node36, node81, node61]
121
121
  });
122
122
 
123
- export { namespace2, name13, Service29, layer10, node34, exports_mcp3 };
123
+ export { namespace2, name14, Service31, layer13, node35, exports_mcp3 };
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service79
3
- } from "./file-swhyn6z2.js";
2
+ Service76
3
+ } from "./file-7qhv6080.js";
4
4
  import {
5
- ID14
6
- } from "./file-zkj92s1w.js";
5
+ ID18
6
+ } from "./file-52bfwkce.js";
7
7
  import {
8
- ID13
9
- } from "./file-65dn8j3v.js";
8
+ ID11
9
+ } from "./file-9qnjdkjv.js";
10
10
  import {
11
- Event16
12
- } from "./file-bsa9yb1r.js";
11
+ Event17
12
+ } from "./file-3wwk5jwz.js";
13
13
  import {
14
- ID10
15
- } from "./file-0gfv995g.js";
14
+ ID12
15
+ } from "./file-7d289b1g.js";
16
16
  import {
17
17
  Service62
18
- } from "./file-8ej6t0kx.js";
18
+ } from "./file-5f95ff4q.js";
19
19
  import {
20
20
  get2
21
- } from "./file-65g4zw8b.js";
21
+ } from "./file-3n69sb31.js";
22
22
 
23
23
  // src/plugin/provider/modal.ts
24
24
  import { Effect, Semaphore, Stream } from "effect";
25
25
  import { define } from "@opencode-ai/plugin/effect/plugin";
26
- var providerID = ID14.make("modal");
26
+ var providerID = ID18.make("modal");
27
27
  var ModalPlugin2 = define({
28
28
  id: "opencode.provider.modal",
29
29
  effect: Effect.fn(function* (ctx) {
30
30
  const catalog = yield* Service62;
31
- const bus = yield* Service79;
31
+ const bus = yield* Service76;
32
32
  const loading = Semaphore.makeUnsafe(1);
33
33
  const loaded = {};
34
34
  const load = Effect.fn("ModalPlugin.load")(function* () {
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
58
58
  if (!loaded.models)
59
59
  return;
60
60
  for (const id of item.models.keys()) {
61
- if (!loaded.models.has(ID13.make(id)))
61
+ if (!loaded.models.has(ID11.make(id)))
62
62
  evt.model.remove(item.provider.id, id);
63
63
  }
64
64
  for (const [id, model] of loaded.models) {
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
66
66
  }
67
67
  });
68
68
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
69
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
69
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
70
  yield* refresh().pipe(Effect.forkScoped);
71
71
  })
72
72
  });
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./file-zkj92s1w.js";
4
+ } from "./file-52bfwkce.js";
5
5
 
6
6
  // src/plugin/provider/anthropic.ts
7
7
  import { Effect } from "effect";
@@ -1,19 +1,19 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./file-swhyn6z2.js";
2
+ Service76,
3
+ node81
4
+ } from "./file-7qhv6080.js";
5
5
  import {
6
- Service75,
7
- node80
8
- } from "./file-04k4zjse.js";
6
+ Service72,
7
+ node77
8
+ } from "./file-xdrtxdpg.js";
9
9
  import {
10
10
  ID2
11
11
  } from "./file-7zk4hah4.js";
12
12
  import {
13
- Service52,
13
+ Service68,
14
14
  login2,
15
- node56
16
- } from "./file-yqgm3h52.js";
15
+ node72
16
+ } from "./file-qeka1wpx.js";
17
17
  import {
18
18
  lazy2
19
19
  } from "./file-88xbtdfr.js";
@@ -25,19 +25,19 @@ import {
25
25
  var exports_pty = {};
26
26
  __export(exports_pty, {
27
27
  CreateInput: () => CreateInput2,
28
- Event: () => Event2,
28
+ Event: () => Event3,
29
29
  ExitedError: () => ExitedError2,
30
30
  Info: () => Info2,
31
31
  NotFoundError: () => NotFoundError2,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service14,
33
+ Service: () => Service15,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node17
35
+ node: () => node18
36
36
  });
37
37
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
39
39
  import { Pty } from "@opencode-ai/schema/pty";
40
- import { Event as Event2 } from "@opencode-ai/schema/pty";
40
+ import { Event as Event3 } from "@opencode-ai/schema/pty";
41
41
  var BUFFER_LIMIT = 1024 * 1024 * 2;
42
42
  var EXITED_LIMIT = 25;
43
43
  var pty = lazy2(() => import("#pty"));
@@ -55,12 +55,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
55
55
  }) {
56
56
  }
57
57
 
58
- class Service14 extends Context.Service()("@opencode/Pty") {
58
+ class Service15 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service14, Effect.gen(function* () {
61
- const bus = yield* Service79;
62
- const location = yield* Service75;
63
- const shell = yield* Service52;
60
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
61
+ const bus = yield* Service76;
62
+ const location = yield* Service72;
63
+ const shell = yield* Service68;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service14.of({ list, get, create, update, remove, write, attach });
271
+ return Service15.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node17 = makeLocationNode({
274
- service: Service14,
273
+ var node18 = makeLocationNode({
274
+ service: Service15,
275
275
  layer,
276
- deps: [node84, node80, node56]
276
+ deps: [node81, node77, node72]
277
277
  });
278
278
 
279
- export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service14, node17, exports_pty, Event2 };
279
+ export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service15, node18, exports_pty, Event3 };