@opencode/core 0.0.0-dev-19567 → 0.0.0-dev-19568

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 (490) hide show
  1. package/dist/agent.js +67 -67
  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 +53 -53
  6. package/dist/catalog.js +67 -67
  7. package/dist/chunks/{filesystem-bccb6npm.js → filesystem-06dxphr1.js} +3 -3
  8. package/dist/chunks/{filesystem-ehhvb1z1.js → filesystem-0b51tgne.js} +23 -23
  9. package/dist/chunks/{filesystem-f8652x2w.js → filesystem-0ezsa6vy.js} +40 -40
  10. package/dist/chunks/{filesystem-vncd6x2p.js → filesystem-0jsm5b6f.js} +18 -18
  11. package/dist/chunks/{filesystem-zdzb03tf.js → filesystem-0yf7gmgh.js} +1 -1
  12. package/dist/chunks/{filesystem-j8yes9fb.js → filesystem-0z4swx6k.js} +13 -13
  13. package/dist/chunks/{filesystem-f2n192rq.js → filesystem-1acjjqhc.js} +3 -3
  14. package/dist/chunks/{filesystem-k5734w4a.js → filesystem-1b5k9ny0.js} +8 -8
  15. package/dist/chunks/{filesystem-078gytam.js → filesystem-1q26ypmg.js} +14 -14
  16. package/dist/chunks/{filesystem-1s6ef6er.js → filesystem-1xzg4q7f.js} +7 -7
  17. package/dist/chunks/{filesystem-6rx9j4b0.js → filesystem-27fbez5x.js} +6 -6
  18. package/dist/chunks/{filesystem-6y0dpk3y.js → filesystem-298asx42.js} +25 -25
  19. package/dist/chunks/{filesystem-xn99z6n2.js → filesystem-2ah6ycde.js} +24 -24
  20. package/dist/chunks/{filesystem-t6xgqy70.js → filesystem-2b6sywcb.js} +10 -10
  21. package/dist/chunks/{filesystem-ywkfy99j.js → filesystem-2bt6bea8.js} +7 -7
  22. package/dist/chunks/{filesystem-vkxpz7g2.js → filesystem-2tfmgkzg.js} +2 -2
  23. package/dist/chunks/{filesystem-56gdpj1q.js → filesystem-33w4ejhs.js} +4 -4
  24. package/dist/chunks/{filesystem-9m209nhj.js → filesystem-3723sw29.js} +4 -4
  25. package/dist/chunks/{filesystem-caw866h7.js → filesystem-3bxse654.js} +9 -9
  26. package/dist/chunks/{filesystem-041s7t4d.js → filesystem-3e73f7fn.js} +18 -18
  27. package/dist/chunks/{filesystem-jjt6g8ec.js → filesystem-3p9h8pr0.js} +10 -10
  28. package/dist/chunks/{filesystem-vwedqk8m.js → filesystem-4as8h3gg.js} +13 -13
  29. package/dist/chunks/{filesystem-ekjywdh4.js → filesystem-4f8bfcxm.js} +10 -10
  30. package/dist/chunks/{filesystem-nh937vtg.js → filesystem-4f92c8s9.js} +16 -16
  31. package/dist/chunks/{filesystem-bezn74c1.js → filesystem-4fbncvv5.js} +6 -6
  32. package/dist/chunks/{filesystem-175mk5tz.js → filesystem-4mwvkeyx.js} +10 -10
  33. package/dist/chunks/{filesystem-9ftserdy.js → filesystem-4p7x74p9.js} +9 -9
  34. package/dist/chunks/{filesystem-439y12vh.js → filesystem-4skj9pjn.js} +2 -2
  35. package/dist/chunks/{filesystem-vsp1fds9.js → filesystem-50mzsvk4.js} +20 -20
  36. package/dist/chunks/{filesystem-ppf6v6e1.js → filesystem-5762gc32.js} +33 -33
  37. package/dist/chunks/{filesystem-ayp6cqfq.js → filesystem-57v6fmny.js} +15 -15
  38. package/dist/chunks/{filesystem-a1bz86dw.js → filesystem-5c4hm403.js} +1 -1
  39. package/dist/chunks/{filesystem-abe16e6q.js → filesystem-5ctrep3m.js} +9 -9
  40. package/dist/chunks/{filesystem-ytapak9r.js → filesystem-5m7h1hre.js} +14 -14
  41. package/dist/chunks/{filesystem-pmr4s4kc.js → filesystem-5q02cxx3.js} +3 -3
  42. package/dist/chunks/{filesystem-mgjabrz5.js → filesystem-5rjrjdee.js} +4 -4
  43. package/dist/chunks/{filesystem-5c91nd8t.js → filesystem-5whwrpxa.js} +8 -8
  44. package/dist/chunks/{filesystem-qgn6gcr1.js → filesystem-607tc6va.js} +4 -4
  45. package/dist/chunks/{filesystem-eyeb23k4.js → filesystem-631045jg.js} +28 -28
  46. package/dist/chunks/{filesystem-gqrjg9m0.js → filesystem-64ddj6v7.js} +1 -1
  47. package/dist/chunks/{filesystem-7qj23typ.js → filesystem-696tvegr.js} +27 -27
  48. package/dist/chunks/{filesystem-khbvvr7x.js → filesystem-6gwpwpyd.js} +22 -22
  49. package/dist/chunks/{filesystem-r1kfjs52.js → filesystem-6gypj2re.js} +23 -23
  50. package/dist/chunks/{filesystem-7n5ebxvb.js → filesystem-6j4fq2cq.js} +9 -9
  51. package/dist/chunks/filesystem-6kdq0pjd.js +4 -0
  52. package/dist/chunks/{filesystem-ssnweha5.js → filesystem-6kkxyhkv.js} +3 -3
  53. package/dist/chunks/{filesystem-gg8vxy2p.js → filesystem-6qxnajbz.js} +23 -23
  54. package/dist/chunks/{filesystem-mgp1xb0f.js → filesystem-6zp4xm1r.js} +22 -22
  55. package/dist/chunks/{filesystem-23279rje.js → filesystem-703jyx7f.js} +7 -7
  56. package/dist/chunks/{filesystem-w105trey.js → filesystem-7061gxvt.js} +23 -23
  57. package/dist/chunks/{filesystem-ecrg2nqv.js → filesystem-72jmdy6r.js} +19 -19
  58. package/dist/chunks/{filesystem-q8qk0cpb.js → filesystem-75va9qk2.js} +9 -9
  59. package/dist/chunks/{filesystem-3c1tgrea.js → filesystem-7bnzk546.js} +5 -5
  60. package/dist/chunks/{filesystem-ad7xdf9r.js → filesystem-7krdaasy.js} +5 -5
  61. package/dist/chunks/{filesystem-yya0sae6.js → filesystem-7nwp8zja.js} +9 -9
  62. package/dist/chunks/{filesystem-wj45sndb.js → filesystem-7pqa36gv.js} +11 -11
  63. package/dist/chunks/{filesystem-dhwr7h25.js → filesystem-7rrn560x.js} +9 -9
  64. package/dist/chunks/{filesystem-4frkg54w.js → filesystem-81swgkk7.js} +7 -7
  65. package/dist/chunks/{filesystem-av1zmrck.js → filesystem-84r56gr5.js} +1 -1
  66. package/dist/chunks/{filesystem-5et2ke9z.js → filesystem-85c4hbm5.js} +22 -22
  67. package/dist/chunks/{filesystem-55yqmepc.js → filesystem-8aabwx5n.js} +17 -17
  68. package/dist/chunks/{filesystem-jacaeees.js → filesystem-8akv9m9x.js} +15 -15
  69. package/dist/chunks/{filesystem-958js9br.js → filesystem-8et7pj57.js} +12 -12
  70. package/dist/chunks/{filesystem-hef24fn2.js → filesystem-8m5v51r2.js} +40 -40
  71. package/dist/chunks/{filesystem-ptytrkeg.js → filesystem-9104srmq.js} +16 -16
  72. package/dist/chunks/{filesystem-krhdd13z.js → filesystem-975yhv65.js} +17 -17
  73. package/dist/chunks/{filesystem-cf3tj770.js → filesystem-9c1k5ss1.js} +8 -8
  74. package/dist/chunks/{filesystem-tmz07czs.js → filesystem-9d82za01.js} +18 -18
  75. package/dist/chunks/{filesystem-zxnzg6kz.js → filesystem-9j5jfgtr.js} +22 -22
  76. package/dist/chunks/{filesystem-x159k7tn.js → filesystem-9qpqmwv0.js} +9 -9
  77. package/dist/chunks/{filesystem-dywhtpsx.js → filesystem-9s312kc4.js} +7 -7
  78. package/dist/chunks/{filesystem-p815bw41.js → filesystem-9v1c99ce.js} +75 -75
  79. package/dist/chunks/{filesystem-z46ew2vq.js → filesystem-a2hw0sqp.js} +45 -45
  80. package/dist/chunks/{filesystem-1ndypj5r.js → filesystem-a3r4dcrj.js} +1 -1
  81. package/dist/chunks/{filesystem-27ekamt2.js → filesystem-akfg16cj.js} +1 -1
  82. package/dist/chunks/{filesystem-9fvhjrgf.js → filesystem-arpbwta6.js} +22 -22
  83. package/dist/chunks/{filesystem-bv2jx7pw.js → filesystem-b1tz6w3s.js} +28 -28
  84. package/dist/chunks/{filesystem-b8mjdg95.js → filesystem-b762qnyw.js} +30 -30
  85. package/dist/chunks/{filesystem-yatbfktz.js → filesystem-bjbm878y.js} +4 -4
  86. package/dist/chunks/{filesystem-6xgghmbk.js → filesystem-bp0xbca5.js} +39 -39
  87. package/dist/chunks/{filesystem-yxc59d7f.js → filesystem-bs4q3tqg.js} +5 -5
  88. package/dist/chunks/{filesystem-v84z85pp.js → filesystem-c8266qxr.js} +11 -11
  89. package/dist/chunks/{filesystem-57gxc5pf.js → filesystem-cerc8atz.js} +16 -16
  90. package/dist/chunks/{filesystem-79h9wc7p.js → filesystem-cpcnfgyy.js} +27 -27
  91. package/dist/chunks/{filesystem-w2yvy5y9.js → filesystem-d979a45b.js} +4 -4
  92. package/dist/chunks/{filesystem-eraanh1f.js → filesystem-da6kr1wx.js} +5 -5
  93. package/dist/chunks/{filesystem-dkvg49fw.js → filesystem-dn7swrv3.js} +29 -29
  94. package/dist/chunks/{filesystem-y71avatq.js → filesystem-dpkg50ah.js} +3 -3
  95. package/dist/chunks/{filesystem-41k02yvh.js → filesystem-dq26kvy6.js} +16 -16
  96. package/dist/chunks/{filesystem-6bckx01s.js → filesystem-dzhcmde1.js} +5 -5
  97. package/dist/chunks/{filesystem-77xgrpmb.js → filesystem-e0tp7zzd.js} +21 -21
  98. package/dist/chunks/{filesystem-12v07r08.js → filesystem-e7tx2v0e.js} +8 -8
  99. package/dist/chunks/{filesystem-4jjph5sa.js → filesystem-e99qm4q4.js} +7 -7
  100. package/dist/chunks/{filesystem-0gdmqesm.js → filesystem-eaj1djv9.js} +7 -7
  101. package/dist/chunks/{filesystem-ntkt8hfw.js → filesystem-eb2yma87.js} +8 -8
  102. package/dist/chunks/{filesystem-sgm801mv.js → filesystem-eb4y5yy0.js} +25 -25
  103. package/dist/chunks/{filesystem-kh4cqp9s.js → filesystem-ecd1f3mq.js} +4 -4
  104. package/dist/chunks/{filesystem-2qxnj2tc.js → filesystem-ecfkvkmx.js} +10 -10
  105. package/dist/chunks/{filesystem-eh1r3epm.js → filesystem-ee5p72rr.js} +3 -3
  106. package/dist/chunks/{filesystem-kk05wj6g.js → filesystem-efttx8x1.js} +5 -5
  107. package/dist/chunks/{filesystem-2da2wngq.js → filesystem-epn31rr5.js} +6 -6
  108. package/dist/chunks/{filesystem-gx8gn256.js → filesystem-erhcz2jb.js} +25 -25
  109. package/dist/chunks/{filesystem-h85jpfa0.js → filesystem-es5dr4fw.js} +7 -7
  110. package/dist/chunks/{filesystem-8z6dw92s.js → filesystem-ethbh4z7.js} +16 -16
  111. package/dist/chunks/{filesystem-2f0bjgcj.js → filesystem-evbgk2k8.js} +3 -3
  112. package/dist/chunks/{filesystem-65tvvp9r.js → filesystem-ez02qrbp.js} +1 -1
  113. package/dist/chunks/{filesystem-6fatt4mk.js → filesystem-f7ehr2sm.js} +8 -8
  114. package/dist/chunks/{filesystem-kkdq4gv9.js → filesystem-fc5gyn3k.js} +8 -8
  115. package/dist/chunks/{filesystem-4xwhw091.js → filesystem-fgsjaxv0.js} +2 -2
  116. package/dist/chunks/{filesystem-9v4y56cw.js → filesystem-fm98w790.js} +8 -8
  117. package/dist/chunks/{filesystem-v36j07s8.js → filesystem-fpnq3hwf.js} +12 -12
  118. package/dist/chunks/{filesystem-trwj2ymr.js → filesystem-fsma24dd.js} +4 -4
  119. package/dist/chunks/{filesystem-ysg8hvve.js → filesystem-ftyr94h4.js} +28 -28
  120. package/dist/chunks/{filesystem-kjc7y5he.js → filesystem-fyvhdr9h.js} +7 -7
  121. package/dist/chunks/{filesystem-rzj44daq.js → filesystem-ga5yzwkb.js} +15 -15
  122. package/dist/chunks/{filesystem-q9sh34kg.js → filesystem-gb4851xq.js} +29 -29
  123. package/dist/chunks/{filesystem-k394pqej.js → filesystem-gea7vc3h.js} +4 -4
  124. package/dist/chunks/{filesystem-qm7jrdpz.js → filesystem-gft05b0a.js} +7 -7
  125. package/dist/chunks/{filesystem-n8dshb08.js → filesystem-h0vwgry8.js} +11 -11
  126. package/dist/chunks/{filesystem-6b0jwvmt.js → filesystem-haa1g6we.js} +27 -27
  127. package/dist/chunks/{filesystem-f828m53h.js → filesystem-hdnk95c8.js} +1 -1
  128. package/dist/chunks/{filesystem-f8rh72t3.js → filesystem-hfk3zaat.js} +9 -9
  129. package/dist/chunks/{filesystem-nhy5jxhy.js → filesystem-hjt4xg1x.js} +3 -3
  130. package/dist/chunks/{filesystem-sk6yq7gh.js → filesystem-jexxy024.js} +3 -3
  131. package/dist/chunks/{filesystem-r7yb2281.js → filesystem-jjf0vtdq.js} +10 -10
  132. package/dist/chunks/{filesystem-87c2hcfn.js → filesystem-jxn345vr.js} +16 -16
  133. package/dist/chunks/{filesystem-4xhf45yx.js → filesystem-k1j6gk9a.js} +6 -6
  134. package/dist/chunks/{filesystem-0z4fxwj8.js → filesystem-k2qtg38n.js} +27 -27
  135. package/dist/chunks/{filesystem-se105tye.js → filesystem-k6z5z3xm.js} +4 -4
  136. package/dist/chunks/{filesystem-4b4yfk1e.js → filesystem-ka7bdmkm.js} +41 -41
  137. package/dist/chunks/{filesystem-6a2hk3n2.js → filesystem-kdsged9e.js} +8 -8
  138. package/dist/chunks/{filesystem-4j9ew2rr.js → filesystem-kfs8rg3h.js} +1 -1
  139. package/dist/chunks/{filesystem-5wvv95xm.js → filesystem-ky7as88a.js} +19 -19
  140. package/dist/chunks/{filesystem-cfpkc3c9.js → filesystem-m0jqrx5p.js} +1 -1
  141. package/dist/chunks/{filesystem-45vv7gab.js → filesystem-m87kjwf8.js} +9 -9
  142. package/dist/chunks/{filesystem-1bbkgx8g.js → filesystem-mhkvc446.js} +2 -2
  143. package/dist/chunks/{filesystem-aycy0v5g.js → filesystem-mmgf1rqt.js} +10 -10
  144. package/dist/chunks/{filesystem-y88ze32q.js → filesystem-mrjzwcm0.js} +9 -9
  145. package/dist/chunks/{filesystem-dsqq6j4y.js → filesystem-mtd6x72z.js} +5 -5
  146. package/dist/chunks/{filesystem-nnwnj3kt.js → filesystem-myekw2gp.js} +10 -10
  147. package/dist/chunks/{filesystem-v5eees2g.js → filesystem-mz2wz6jn.js} +19 -19
  148. package/dist/chunks/{filesystem-rv6e4z41.js → filesystem-mzhavs24.js} +35 -35
  149. package/dist/chunks/{filesystem-axc3cb0n.js → filesystem-n7ghmjtx.js} +7 -7
  150. package/dist/chunks/{filesystem-zzzpg4zy.js → filesystem-n8v6jt5n.js} +11 -11
  151. package/dist/chunks/{filesystem-w9s2bh3f.js → filesystem-nbvvbhgb.js} +74 -74
  152. package/dist/chunks/{filesystem-jaqemzyz.js → filesystem-nhj3pk2g.js} +16 -16
  153. package/dist/chunks/{filesystem-p6hxwm8v.js → filesystem-nm2epvtw.js} +22 -22
  154. package/dist/chunks/{filesystem-hwma07pt.js → filesystem-nrtb1m71.js} +13 -13
  155. package/dist/chunks/{filesystem-wyzh7da2.js → filesystem-p0hmzt3n.js} +7 -7
  156. package/dist/chunks/{filesystem-zf0cgqdy.js → filesystem-p0ydpdje.js} +1 -1
  157. package/dist/chunks/{filesystem-gacr8fx6.js → filesystem-p5w9prz9.js} +24 -24
  158. package/dist/chunks/{filesystem-4fy5a9h5.js → filesystem-p6j6tyky.js} +17 -17
  159. package/dist/chunks/{filesystem-j935v87r.js → filesystem-paphc93g.js} +2 -2
  160. package/dist/chunks/{filesystem-th2mpfrx.js → filesystem-pbky73a2.js} +3 -3
  161. package/dist/chunks/{filesystem-p44d8wdy.js → filesystem-pecb0brz.js} +3 -3
  162. package/dist/chunks/{filesystem-zjyfgt6w.js → filesystem-pge2bfmc.js} +18 -18
  163. package/dist/chunks/{filesystem-0300fd29.js → filesystem-px514bpm.js} +19 -19
  164. package/dist/chunks/{filesystem-1x11rq2a.js → filesystem-q509s3k3.js} +4 -4
  165. package/dist/chunks/{filesystem-4zqmmk7v.js → filesystem-qen1jmg8.js} +32 -32
  166. package/dist/chunks/{filesystem-wbkyxrgf.js → filesystem-qjnxxf51.js} +3 -3
  167. package/dist/chunks/{filesystem-bkfa2z39.js → filesystem-re9amv7g.js} +163 -163
  168. package/dist/chunks/{filesystem-hr4rc9dq.js → filesystem-rfp29srv.js} +23 -23
  169. package/dist/chunks/{filesystem-xvkeykba.js → filesystem-rgrjgzhx.js} +18 -18
  170. package/dist/chunks/{filesystem-jay4nmce.js → filesystem-rgyfsfc5.js} +32 -32
  171. package/dist/chunks/filesystem-rh7ezj45.js +26 -0
  172. package/dist/chunks/{filesystem-87bjq7d8.js → filesystem-rk9hj1v7.js} +47 -47
  173. package/dist/chunks/{filesystem-x6aajhkr.js → filesystem-rnfn6xxq.js} +21 -21
  174. package/dist/chunks/{filesystem-gb7ervf3.js → filesystem-rph3zd4r.js} +5 -5
  175. package/dist/chunks/{filesystem-ndaapn5x.js → filesystem-rr25vpab.js} +8 -8
  176. package/dist/chunks/{filesystem-a9pdx8gz.js → filesystem-rvzfv4w1.js} +7 -7
  177. package/dist/chunks/{filesystem-a4kfj0a0.js → filesystem-rxdk16p3.js} +17 -17
  178. package/dist/chunks/{filesystem-ahnqppdj.js → filesystem-rxjvbk8n.js} +1 -1
  179. package/dist/chunks/{filesystem-jhvzetwt.js → filesystem-s9q5j7ef.js} +39 -39
  180. package/dist/chunks/{filesystem-r8dnm4fk.js → filesystem-sf0gthgt.js} +11 -11
  181. package/dist/chunks/{filesystem-25jf9b0a.js → filesystem-t000jqpf.js} +17 -17
  182. package/dist/chunks/{filesystem-6ck2t1rv.js → filesystem-t0x5rdq8.js} +7 -7
  183. package/dist/chunks/{filesystem-cj0ynpdk.js → filesystem-t15xvjkv.js} +16 -16
  184. package/dist/chunks/{filesystem-12v7y99v.js → filesystem-t7nbeyr2.js} +12 -12
  185. package/dist/chunks/{filesystem-g9mjxn54.js → filesystem-tdk2wfqj.js} +8 -8
  186. package/dist/chunks/{filesystem-h39eyz0q.js → filesystem-thcje0ms.js} +16 -16
  187. package/dist/chunks/{filesystem-88bvrjqm.js → filesystem-tj8y1zy0.js} +14 -14
  188. package/dist/chunks/{filesystem-1g7epwpd.js → filesystem-tkmwgdpd.js} +3 -3
  189. package/dist/chunks/{filesystem-0c4e0yvv.js → filesystem-tm94zk3c.js} +29 -29
  190. package/dist/chunks/{filesystem-gthqyac3.js → filesystem-tryb73nk.js} +3 -3
  191. package/dist/chunks/{filesystem-ey1y6cx4.js → filesystem-tv2fxbte.js} +7 -7
  192. package/dist/chunks/{filesystem-tpw6cwsb.js → filesystem-v4hmzr0r.js} +7 -7
  193. package/dist/chunks/{filesystem-c0msvw2j.js → filesystem-v7t6t3ee.js} +20 -20
  194. package/dist/chunks/filesystem-v8z7968n.js +247 -0
  195. package/dist/chunks/{filesystem-t1waf9zt.js → filesystem-vcybtvp5.js} +7 -7
  196. package/dist/chunks/{filesystem-m142jtgy.js → filesystem-vd431jt0.js} +10 -10
  197. package/dist/chunks/{filesystem-nkvjcq56.js → filesystem-vjstzn3j.js} +12 -12
  198. package/dist/chunks/{filesystem-gzxx6bgm.js → filesystem-vm9edkyf.js} +14 -14
  199. package/dist/chunks/{filesystem-em33emqj.js → filesystem-vywwb7xw.js} +1 -1
  200. package/dist/chunks/{filesystem-dsyn576s.js → filesystem-vz4k8wbp.js} +2 -2
  201. package/dist/chunks/{filesystem-wh1jz8sn.js → filesystem-w2w9rvzr.js} +44 -44
  202. package/dist/chunks/{filesystem-d7swqpa7.js → filesystem-w7cks01r.js} +16 -16
  203. package/dist/chunks/{filesystem-cqk3ba3b.js → filesystem-wbcpzrvz.js} +4 -4
  204. package/dist/chunks/{filesystem-pwxjd99w.js → filesystem-wcft5t0g.js} +17 -17
  205. package/dist/chunks/{filesystem-9grmh3gg.js → filesystem-wcy83pfm.js} +12 -12
  206. package/dist/chunks/{filesystem-sqhed6c7.js → filesystem-wprd8xj9.js} +16 -16
  207. package/dist/chunks/{filesystem-f0q97ex4.js → filesystem-wqntmd11.js} +6 -6
  208. package/dist/chunks/{filesystem-qwwrayhn.js → filesystem-x1cde7tm.js} +10 -10
  209. package/dist/chunks/{filesystem-n2g8w3nt.js → filesystem-x6h9ntm8.js} +25 -25
  210. package/dist/chunks/{filesystem-0vag3j8x.js → filesystem-xb3nqwnp.js} +60 -60
  211. package/dist/chunks/{filesystem-kqn78m91.js → filesystem-xb7w47hd.js} +9 -9
  212. package/dist/chunks/{filesystem-kzs1nj2w.js → filesystem-xbv0k4ba.js} +38 -38
  213. package/dist/chunks/{filesystem-w28ya9nv.js → filesystem-xez80017.js} +17 -17
  214. package/dist/chunks/{filesystem-rdfsynn7.js → filesystem-xg954myy.js} +5 -5
  215. package/dist/chunks/{filesystem-37jfsww8.js → filesystem-xrr0m7w9.js} +15 -15
  216. package/dist/chunks/{filesystem-18e56dsp.js → filesystem-xwwz9aqf.js} +3 -3
  217. package/dist/chunks/{filesystem-8czw5t31.js → filesystem-xxj3pgp3.js} +1 -1
  218. package/dist/chunks/{filesystem-yy6wawb8.js → filesystem-y3xz725g.js} +24 -24
  219. package/dist/chunks/{filesystem-nmedgzjr.js → filesystem-y45wrhxb.js} +6 -6
  220. package/dist/chunks/{filesystem-z2erpwqc.js → filesystem-y80z5qnm.js} +16 -16
  221. package/dist/chunks/{filesystem-2w43xsrz.js → filesystem-y9mn02hf.js} +10 -10
  222. package/dist/chunks/{filesystem-2ctqm5ex.js → filesystem-yawef6kw.js} +1 -1
  223. package/dist/chunks/{filesystem-qxe1e9q5.js → filesystem-ypz4327q.js} +3 -3
  224. package/dist/chunks/{filesystem-av40d20f.js → filesystem-yqtqx2tb.js} +1 -1
  225. package/dist/chunks/{filesystem-ks78zxsa.js → filesystem-yrr26vyh.js} +27 -27
  226. package/dist/chunks/{filesystem-60qw2sva.js → filesystem-yrz8q0k0.js} +5 -5
  227. package/dist/chunks/{filesystem-s4enseaf.js → filesystem-yrznvahk.js} +1 -1
  228. package/dist/chunks/{filesystem-bm5ycmby.js → filesystem-yvrn8c55.js} +9 -9
  229. package/dist/chunks/{filesystem-5y27wggs.js → filesystem-yx6mkdzk.js} +48 -48
  230. package/dist/chunks/{filesystem-8jt463w9.js → filesystem-z2708axn.js} +27 -27
  231. package/dist/chunks/{filesystem-29x78va6.js → filesystem-z63w68vq.js} +4 -4
  232. package/dist/chunks/{filesystem-rnm8ebdw.js → filesystem-zb3fmyt6.js} +300 -300
  233. package/dist/chunks/{filesystem-cdt344wa.js → filesystem-zdx06d9s.js} +32 -32
  234. package/dist/chunks/{filesystem-f8gcejx1.js → filesystem-zqngs88h.js} +12 -12
  235. package/dist/chunks/{filesystem-9ewzbff8.js → filesystem-zshj55xc.js} +23 -23
  236. package/dist/chunks/{filesystem-hn57h045.js → filesystem-zvt5dnpc.js} +3 -3
  237. package/dist/codemode/instructions.js +6 -6
  238. package/dist/command.js +67 -67
  239. package/dist/config/discovery.js +61 -61
  240. package/dist/config/normalize.js +16 -16
  241. package/dist/config/plugin/agent.js +95 -95
  242. package/dist/config/plugin/command.js +180 -180
  243. package/dist/config/plugin/compaction.js +133 -133
  244. package/dist/config/plugin/compatibility.js +111 -111
  245. package/dist/config/plugin/formatter.js +94 -94
  246. package/dist/config/plugin/image.js +93 -93
  247. package/dist/config/plugin/instruction.js +68 -68
  248. package/dist/config/plugin/location-watcher.js +93 -93
  249. package/dist/config/plugin/mcp.js +101 -101
  250. package/dist/config/plugin/policy.js +92 -92
  251. package/dist/config/plugin/provider.js +91 -91
  252. package/dist/config/plugin/reference.js +94 -94
  253. package/dist/config/plugin/shell.js +95 -95
  254. package/dist/config/plugin/skill-file.js +77 -77
  255. package/dist/config/plugin/skill.js +114 -114
  256. package/dist/config/plugin/snapshot.js +93 -93
  257. package/dist/config/plugin/source.js +95 -95
  258. package/dist/config/plugin/tool-output.js +95 -95
  259. package/dist/config/plugin/websearch.js +93 -93
  260. package/dist/config/plugin/worktree.js +96 -96
  261. package/dist/config/variable.js +2 -2
  262. package/dist/config.js +98 -98
  263. package/dist/credential.js +67 -67
  264. package/dist/database/database.js +51 -51
  265. package/dist/database/drizzle/effect-sqlite/driver.js +10 -10
  266. package/dist/database/drizzle/effect-sqlite/index.js +6 -6
  267. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  268. package/dist/database/drizzle/index.js +11 -11
  269. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  270. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  271. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  272. package/dist/database/drizzle.js +11 -11
  273. package/dist/database/migration.gen.js +35 -35
  274. package/dist/database/migration.js +36 -36
  275. package/dist/database/v1-migration.bun.js +11 -11
  276. package/dist/effect/app-node-builder.js +242 -242
  277. package/dist/effect/keyed-mutex.js +3 -3
  278. package/dist/environment/environment.js +68 -68
  279. package/dist/environment/index.js +70 -70
  280. package/dist/event-logger.js +10 -10
  281. package/dist/file-access.js +80 -80
  282. package/dist/file-mutation.js +69 -69
  283. package/dist/filesystem/location-watcher-policy.js +5 -5
  284. package/dist/filesystem/location-watcher.js +190 -190
  285. package/dist/filesystem/search.js +77 -77
  286. package/dist/filesystem/watcher-binding.js +3 -3
  287. package/dist/filesystem/watcher.js +14 -14
  288. package/dist/filesystem.js +76 -76
  289. package/dist/form.js +68 -68
  290. package/dist/formatter/builtins.js +3 -3
  291. package/dist/formatter.js +68 -68
  292. package/dist/generate.js +75 -75
  293. package/dist/git.js +6 -6
  294. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  295. package/dist/github-copilot/copilot-provider.js +3 -3
  296. package/dist/github-copilot/models.js +3 -3
  297. package/dist/github-copilot/responses/openai-responses-language-model.js +5 -5
  298. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  299. package/dist/image/photon.js +1 -1
  300. package/dist/image.js +5 -5
  301. package/dist/instance/service.js +5 -5
  302. package/dist/instance.js +313 -313
  303. package/dist/instruction-discovery.js +68 -68
  304. package/dist/instructions/builtins.js +66 -66
  305. package/dist/instructions/index.js +5 -5
  306. package/dist/integration.js +70 -70
  307. package/dist/job.js +61 -61
  308. package/dist/kv.js +56 -56
  309. package/dist/location-activity.js +59 -59
  310. package/dist/location-mutation.js +35 -35
  311. package/dist/location-service-map.js +65 -65
  312. package/dist/location-services.js +310 -310
  313. package/dist/location.js +68 -68
  314. package/dist/mcp/client.js +20 -20
  315. package/dist/mcp/index.js +81 -81
  316. package/dist/mcp/instructions.js +95 -95
  317. package/dist/mcp/stdio.js +65 -65
  318. package/dist/modal/models.js +3 -3
  319. package/dist/model-resolver.js +70 -70
  320. package/dist/model.js +8 -8
  321. package/dist/models-dev.js +70 -70
  322. package/dist/permission/saved.js +65 -65
  323. package/dist/permission/sql.js +3 -3
  324. package/dist/permission.js +87 -87
  325. package/dist/persistent-pty/index.js +68 -68
  326. package/dist/persistent-pty.js +56 -56
  327. package/dist/plugin/agent.js +80 -80
  328. package/dist/plugin/command.js +76 -76
  329. package/dist/plugin/hooks.js +5 -5
  330. package/dist/plugin/host.js +183 -183
  331. package/dist/plugin/instance.js +5 -5
  332. package/dist/plugin/internal.js +285 -285
  333. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  334. package/dist/plugin/models-dev.js +59 -59
  335. package/dist/plugin/module.js +5 -5
  336. package/dist/plugin/optimize.js +4 -4
  337. package/dist/plugin/plan.js +78 -78
  338. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  339. package/dist/plugin/provider/azure.js +95 -95
  340. package/dist/plugin/provider/cerebras.js +2 -2
  341. package/dist/plugin/provider/cloudflare-ai-gateway.js +95 -95
  342. package/dist/plugin/provider/cloudflare-workers-ai.js +95 -95
  343. package/dist/plugin/provider/configured.js +93 -93
  344. package/dist/plugin/provider/digitalocean.js +62 -62
  345. package/dist/plugin/provider/github-copilot.js +64 -64
  346. package/dist/plugin/provider/gitlab.js +3 -3
  347. package/dist/plugin/provider/google-vertex.js +2 -2
  348. package/dist/plugin/provider/kilo.js +2 -2
  349. package/dist/plugin/provider/llmgateway.js +60 -60
  350. package/dist/plugin/provider/lmstudio.js +96 -96
  351. package/dist/plugin/provider/modal.js +63 -63
  352. package/dist/plugin/provider/nvidia.js +2 -2
  353. package/dist/plugin/provider/ollama.js +96 -96
  354. package/dist/plugin/provider/openai.js +63 -63
  355. package/dist/plugin/provider/opencode.js +62 -62
  356. package/dist/plugin/provider/openrouter.js +3 -3
  357. package/dist/plugin/provider/poe.js +59 -59
  358. package/dist/plugin/provider/sap-ai-core.js +2 -2
  359. package/dist/plugin/provider/snowflake-cortex.js +95 -95
  360. package/dist/plugin/provider/vercel.js +2 -2
  361. package/dist/plugin/provider/vllm.js +96 -96
  362. package/dist/plugin/provider/xai.js +61 -61
  363. package/dist/plugin/provider/zenmux.js +2 -2
  364. package/dist/plugin/provider.js +129 -129
  365. package/dist/plugin/sdk.js +58 -58
  366. package/dist/plugin/service.js +3 -3
  367. package/dist/plugin/skill.js +112 -112
  368. package/dist/plugin/supervisor.js +302 -302
  369. package/dist/plugin/update.js +6 -6
  370. package/dist/plugin/variant.js +4 -4
  371. package/dist/plugin/vcs/git.js +65 -65
  372. package/dist/plugin/vcs/hg.js +65 -65
  373. package/dist/plugin/warming.js +91 -91
  374. package/dist/plugin/websearch/exa.js +6 -6
  375. package/dist/plugin/websearch/firecrawl.js +7 -7
  376. package/dist/plugin/websearch/index.js +8 -8
  377. package/dist/plugin/websearch/mcp.js +3 -3
  378. package/dist/plugin/websearch/parallel.js +7 -7
  379. package/dist/plugin/websearch/tavily.js +6 -6
  380. package/dist/plugin/websearch/tinyfish.js +7 -7
  381. package/dist/plugin.js +194 -194
  382. package/dist/project/schema.js +7 -7
  383. package/dist/project/sql.js +2 -2
  384. package/dist/project.js +69 -69
  385. package/dist/provider.js +5 -5
  386. package/dist/pty/schema.js +3 -3
  387. package/dist/pty.js +74 -74
  388. package/dist/reference/instructions.js +66 -66
  389. package/dist/reference.js +68 -68
  390. package/dist/repository-cache.js +61 -61
  391. package/dist/ripgrep.js +70 -70
  392. package/dist/rpc.js +65 -65
  393. package/dist/session/command.js +58 -58
  394. package/dist/session/compaction.js +105 -105
  395. package/dist/session/context.js +120 -120
  396. package/dist/session/diff.js +66 -66
  397. package/dist/session/environment.js +5 -5
  398. package/dist/session/error.js +4 -4
  399. package/dist/session/execution/restart.js +121 -121
  400. package/dist/session/execution.js +103 -103
  401. package/dist/session/generate.js +121 -121
  402. package/dist/session/history.js +11 -11
  403. package/dist/session/inbox.js +68 -68
  404. package/dist/session/info.js +2 -2
  405. package/dist/session/instruction-entry.js +62 -62
  406. package/dist/session/instruction-state.js +5 -5
  407. package/dist/session/instructions.js +74 -74
  408. package/dist/session/model-request.js +92 -92
  409. package/dist/session/model-transport.js +7 -7
  410. package/dist/session/move.js +106 -106
  411. package/dist/session/projector.js +65 -65
  412. package/dist/session/prompt.js +81 -81
  413. package/dist/session/provider-context.js +3 -3
  414. package/dist/session/revert.js +67 -67
  415. package/dist/session/run-coordinator.js +3 -3
  416. package/dist/session/runner/index.js +3 -3
  417. package/dist/session/runner/llm.js +193 -193
  418. package/dist/session/runner/model.js +70 -70
  419. package/dist/session/runner/retry.js +91 -91
  420. package/dist/session/runner/step.js +98 -98
  421. package/dist/session/runner/to-llm-message.js +2 -2
  422. package/dist/session/schema.js +5 -5
  423. package/dist/session/session.js +142 -142
  424. package/dist/session/shell.js +105 -105
  425. package/dist/session/skill.js +79 -79
  426. package/dist/session/sql.js +3 -3
  427. package/dist/session/stats.js +10 -10
  428. package/dist/session/store.js +68 -68
  429. package/dist/session/subagent-job.js +176 -176
  430. package/dist/session/system-prompt.js +3 -3
  431. package/dist/session/title.js +123 -123
  432. package/dist/session/to-session-error.js +88 -88
  433. package/dist/session/transfer.js +118 -118
  434. package/dist/session.js +178 -178
  435. package/dist/shell/parse.js +3 -3
  436. package/dist/shell/select.js +7 -7
  437. package/dist/shell.js +106 -106
  438. package/dist/skill/discovery.js +5 -5
  439. package/dist/skill/instructions.js +79 -79
  440. package/dist/skill.js +88 -88
  441. package/dist/snapshot.js +68 -68
  442. package/dist/tool/mcp.js +92 -92
  443. package/dist/tool/plugin/edit.js +91 -91
  444. package/dist/tool/plugin/glob.js +91 -91
  445. package/dist/tool/plugin/grep.js +95 -95
  446. package/dist/tool/plugin/opencode.js +3 -3
  447. package/dist/tool/plugin/patch.js +93 -93
  448. package/dist/tool/plugin/question.js +79 -79
  449. package/dist/tool/plugin/read.js +96 -96
  450. package/dist/tool/plugin/shell.js +184 -184
  451. package/dist/tool/plugin/skill.js +89 -89
  452. package/dist/tool/plugin/subagent.js +179 -179
  453. package/dist/tool/plugin/webfetch.js +84 -84
  454. package/dist/tool/plugin/websearch.js +90 -90
  455. package/dist/tool/plugin/write.js +91 -91
  456. package/dist/tool/read-filesystem.js +71 -71
  457. package/dist/tool-output.js +6 -6
  458. package/dist/tool.js +3 -3
  459. package/dist/v1/config/agent.js +6 -6
  460. package/dist/v1/config/attachment.js +3 -3
  461. package/dist/v1/config/command.js +3 -3
  462. package/dist/v1/config/config.js +14 -14
  463. package/dist/v1/config/error.js +3 -3
  464. package/dist/v1/config/formatter.js +7 -7
  465. package/dist/v1/config/lsp.js +5 -5
  466. package/dist/v1/config/mcp.js +3 -3
  467. package/dist/v1/config/migrate.js +3 -3
  468. package/dist/v1/config/permission.js +7 -7
  469. package/dist/v1/config/plugin.js +3 -3
  470. package/dist/v1/config/provider.js +3 -3
  471. package/dist/v1/config/skills.js +3 -3
  472. package/dist/vcs.js +68 -68
  473. package/dist/websearch.js +66 -66
  474. package/dist/wellknown/plugin.js +58 -58
  475. package/dist/wellknown.js +61 -61
  476. package/dist/workspace/driver.js +5 -5
  477. package/dist/workspace.js +64 -64
  478. package/dist/worktree/git.js +5 -5
  479. package/dist/worktree/refresh.js +301 -301
  480. package/dist/worktree/sql.js +3 -3
  481. package/dist/worktree.js +73 -73
  482. package/package.json +8 -8
  483. package/dist/chunks/filesystem-0mesazry.js +0 -4
  484. package/dist/chunks/filesystem-cfbhz4sy.js +0 -26
  485. package/dist/chunks/filesystem-kshn8saw.js +0 -247
  486. /package/dist/chunks/{filesystem-kay20y4r.js → filesystem-4v46yx8e.js} +0 -0
  487. /package/dist/chunks/{filesystem-0dfv01xh.js → filesystem-5nrew705.js} +0 -0
  488. /package/dist/chunks/{filesystem-8p4f9s12.js → filesystem-dj2t23y0.js} +0 -0
  489. /package/dist/chunks/{filesystem-rwdrjh9g.js → filesystem-nyr44rzh.js} +0 -0
  490. /package/dist/chunks/{filesystem-mrrn9raq.js → filesystem-yzpfgjrz.js} +0 -0
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./filesystem-y71avatq.js";
3
+ } from "./filesystem-dpkg50ah.js";
4
4
  import {
5
5
  Service79,
6
6
  node84
7
- } from "./filesystem-dsyn576s.js";
7
+ } from "./filesystem-vz4k8wbp.js";
8
8
  import {
9
- Event18,
10
- Service74,
11
- node79
12
- } from "./filesystem-79h9wc7p.js";
9
+ Event12,
10
+ Service52,
11
+ node56
12
+ } from "./filesystem-cpcnfgyy.js";
13
13
  import {
14
- Service68,
15
- node73
16
- } from "./filesystem-8z6dw92s.js";
17
- import {
18
- Service65,
19
- node69
20
- } from "./filesystem-v5eees2g.js";
21
- import {
22
- ID15,
23
14
  Service76,
24
15
  node81
25
- } from "./filesystem-w105trey.js";
16
+ } from "./filesystem-ethbh4z7.js";
17
+ import {
18
+ Service71,
19
+ node75
20
+ } from "./filesystem-mz2wz6jn.js";
21
+ import {
22
+ ID12,
23
+ Service62,
24
+ node66
25
+ } from "./filesystem-7061gxvt.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
29
  } from "./filesystem-kg06axw8.js";
30
30
  import {
31
- ID13,
31
+ ID6,
32
32
  MethodID2,
33
- Service73,
34
- node78
35
- } from "./filesystem-bv2jx7pw.js";
33
+ Service51,
34
+ node55
35
+ } from "./filesystem-b1tz6w3s.js";
36
36
  import {
37
37
  __export
38
38
  } from "./filesystem-9rqn6x4v.js";
@@ -42,7 +42,7 @@ var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
44
  NotFoundError: () => NotFoundError3,
45
- Options: () => Options3,
45
+ Options: () => Options2,
46
46
  Prompt: () => Prompt2,
47
47
  PromptArgument: () => PromptArgument2,
48
48
  PromptMessage: () => PromptMessage2,
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
56
56
  ServerInfo: () => ServerInfo2,
57
57
  ServerInstructions: () => ServerInstructions2,
58
58
  ServerName: () => ServerName2,
59
- Service: () => Service25,
59
+ Service: () => Service28,
60
60
  Status: () => Status2,
61
61
  Tool: () => Tool3,
62
62
  ToolCallError: () => ToolCallError2,
63
63
  ToolResult: () => ToolResult2,
64
64
  ToolResultContent: () => ToolResultContent2,
65
- configured: () => configured3,
66
- layer: () => layer11,
67
- node: () => node30
65
+ configured: () => configured2,
66
+ layer: () => layer13,
67
+ node: () => node32
68
68
  });
69
69
  import { Mcp } from "@opencode/schema/mcp";
70
70
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
81
81
  class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
82
82
  name: ServerName2,
83
83
  status: Status2,
84
- integrationID: ID13.pipe(Schema.optional)
84
+ integrationID: ID6.pipe(Schema.optional)
85
85
  }) {
86
86
  }
87
87
 
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
165
165
  var URL_ELICITATION_FIELD_KEY = "elicitation";
166
166
  var cloneConfig = (config) => structuredClone(config);
167
167
 
168
- class Service25 extends Context.Service()("@opencode/MCP") {
168
+ class Service28 extends Context.Service()("@opencode/MCP") {
169
169
  }
170
- var Options3 = Schema.Struct({
170
+ var Options2 = Schema.Struct({
171
171
  clientInfo: Schema.optional(Schema.Struct({
172
172
  name: Schema.String,
173
173
  version: Schema.String
174
174
  }))
175
175
  });
176
- var layer11 = (options) => Layer.effect(Service25, Effect.gen(function* () {
177
- const location = yield* Service68;
178
- const environment = yield* Service65;
176
+ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
177
+ const location = yield* Service76;
178
+ const environment = yield* Service71;
179
179
  const bus = yield* Service79;
180
- const forms = yield* Service76;
181
- const integration = yield* Service73;
182
- const credentials = yield* Service74;
180
+ const forms = yield* Service62;
181
+ const integration = yield* Service51;
182
+ const credentials = yield* Service52;
183
183
  const root = yield* Effect.scope;
184
184
  const fork = yield* FiberSet.makeRuntime();
185
185
  const entries = new Map;
@@ -191,7 +191,7 @@ var layer11 = (options) => Layer.effect(Service25, Effect.gen(function* () {
191
191
  return;
192
192
  const remote = entry.config;
193
193
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
194
- const integrationID = ID13.make(suffix);
194
+ const integrationID = ID6.make(suffix);
195
195
  entry.integrationID = integrationID;
196
196
  owned.add(integrationID);
197
197
  const methodID = MethodID2.make(suffix);
@@ -315,7 +315,7 @@ var layer11 = (options) => Layer.effect(Service25, Effect.gen(function* () {
315
315
  const elicitation = {
316
316
  create: (input) => Effect.gen(function* () {
317
317
  if (input.params.mode === "url") {
318
- const formID = ID15.create();
318
+ const formID = ID12.create();
319
319
  const key = input.server + "\x00" + input.params.elicitationId;
320
320
  urlElicitations.set(key, formID);
321
321
  return yield* forms.ask({
@@ -433,7 +433,7 @@ var layer11 = (options) => Layer.effect(Service25, Effect.gen(function* () {
433
433
  entry.scope = scope;
434
434
  const authProvider = yield* connectProvider(entry);
435
435
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
436
- const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service65, environment), Scope.provide(scope), Effect.exit);
436
+ const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service71, environment), Scope.provide(scope), Effect.exit);
437
437
  if (Exit.isSuccess(result)) {
438
438
  entry.client = result.value.connection;
439
439
  entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
@@ -557,7 +557,7 @@ var layer11 = (options) => Layer.effect(Service25, Effect.gen(function* () {
557
557
  yield* startServer(name, entry);
558
558
  }).pipe(locks.withLock(name));
559
559
  });
560
- fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
560
+ fork(bus.subscribe(Event12.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
561
561
  const state = create3({
562
562
  name: "mcp",
563
563
  initial: () => ({
@@ -587,7 +587,7 @@ var layer11 = (options) => Layer.effect(Service25, Effect.gen(function* () {
587
587
  concurrency: "unbounded",
588
588
  discard: true
589
589
  }));
590
- return Service25.of({
590
+ return Service28.of({
591
591
  transform: state.transform,
592
592
  reload: state.reload,
593
593
  servers: Effect.fn("MCP.servers")(function* () {
@@ -707,14 +707,14 @@ var layer11 = (options) => Layer.effect(Service25, Effect.gen(function* () {
707
707
  })
708
708
  });
709
709
  }));
710
- function configured3(options) {
710
+ function configured2(options) {
711
711
  return makeLocationNode({
712
- service: Service25,
713
- layer: layer11(options),
714
- deps: [node73, node69, node84, node81, node78, node79]
712
+ service: Service28,
713
+ layer: layer13(options),
714
+ deps: [node81, node75, node84, node66, node55, node56]
715
715
  });
716
716
  }
717
- var node30 = configured3();
717
+ var node32 = configured2();
718
718
  function toElicitationField(key, property, required) {
719
719
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
720
720
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
765
765
  }
766
766
  }
767
767
 
768
- export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service25, Options3, layer11, configured3, node30, exports_mcp4 };
768
+ export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service28, Options2, layer13, configured2, node32, exports_mcp4 };
@@ -4,7 +4,7 @@ import {
4
4
  } from "./filesystem-922hggd3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./filesystem-sk6yq7gh.js";
7
+ } from "./filesystem-jexxy024.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ps2
3
- } from "./filesystem-2qxnj2tc.js";
3
+ } from "./filesystem-ecfkvkmx.js";
4
4
  import {
5
5
  lazy2
6
6
  } from "./filesystem-88xbtdfr.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./filesystem-dsyn576s.js";
4
+ } from "./filesystem-vz4k8wbp.js";
5
5
  import {
6
6
  create3
7
7
  } from "./filesystem-kg06axw8.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./filesystem-87bjq7d8.js";
10
+ } from "./filesystem-rk9hj1v7.js";
11
11
  import {
12
12
  __export
13
13
  } from "./filesystem-9rqn6x4v.js";
@@ -17,16 +17,16 @@ var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event5,
21
- ID: () => ID4,
22
- Info: () => Info5,
20
+ Event: () => Event8,
21
+ ID: () => ID5,
22
+ Info: () => Info17,
23
23
  Name: () => Name2,
24
- Service: () => Service30,
24
+ Service: () => Service35,
25
25
  Skill: () => exports_skill5,
26
- Source: () => Source3,
26
+ Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node34,
29
+ node: () => node39,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event5 } from "@opencode/schema/skill";
37
+ import { Event as Event8 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
- var Source3 = Skill.Source;
42
- var Info5 = Skill.Info;
43
- var ID4 = Skill.ID;
41
+ var Source4 = Skill.Source;
42
+ var Info17 = Skill.Info;
43
+ var ID5 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service30 extends Context.Service()("@opencode/Skill") {
74
+ class Service35 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service30, Effect.gen(function* () {
76
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
77
77
  const bus = yield* Service79;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID4.make(id)),
83
+ get: (id) => editor.skills.get(ID5.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID4.make(id));
88
+ const current = editor.skills.get(ID5.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID4.make(id);
92
+ current.id = ID5.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID4.make(id));
95
+ editor.skills.delete(ID5.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service30.of({
100
+ return Service35.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node34 = makeLocationNode({
112
- service: Service30,
111
+ var node39 = makeLocationNode({
112
+ service: Service35,
113
113
  layer,
114
114
  deps: [node84]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info5, ID4, Name2, available2, toModelOutput3, prepare3, Service30, node34, exports_skill5, Event5 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info17, ID5, Name2, available2, toModelOutput3, prepare3, Service35, node39, exports_skill5, Event8 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./filesystem-dsyn576s.js";
4
+ } from "./filesystem-vz4k8wbp.js";
5
5
  import {
6
- Key4,
7
- Service74,
8
- node79
9
- } from "./filesystem-79h9wc7p.js";
6
+ Key3,
7
+ Service52,
8
+ node56
9
+ } from "./filesystem-cpcnfgyy.js";
10
10
  import {
11
11
  create3
12
12
  } from "./filesystem-kg06axw8.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./filesystem-w105trey.js";
16
+ } from "./filesystem-7061gxvt.js";
17
17
  import {
18
18
  __export
19
19
  } from "./filesystem-9rqn6x4v.js";
@@ -30,17 +30,17 @@ __export(exports_integration, {
30
30
  CommandAttemptStatus: () => CommandAttemptStatus2,
31
31
  CommandMethod: () => CommandMethod2,
32
32
  EnvMethod: () => EnvMethod2,
33
- Event: () => Event17,
34
- ID: () => ID13,
35
- Info: () => Info29,
33
+ Event: () => Event11,
34
+ ID: () => ID6,
35
+ Info: () => Info20,
36
36
  Integration: () => exports_integration,
37
37
  KeyMethod: () => KeyMethod2,
38
38
  Method: () => Method2,
39
39
  MethodID: () => MethodID2,
40
40
  OAuthMethod: () => OAuthMethod2,
41
- Ref: () => Ref3,
42
- Service: () => Service73,
43
- node: () => node78
41
+ Ref: () => Ref2,
42
+ Service: () => Service51,
43
+ node: () => node55
44
44
  });
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import {
@@ -61,8 +61,8 @@ import {
61
61
  import { Integration } from "@opencode/schema/integration";
62
62
  import { AppProcess } from "@opencode/util/process";
63
63
  import { ChildProcess } from "effect/unstable/process";
64
- import { Event as Event17 } from "@opencode/schema/integration";
65
- var ID13 = Integration.ID;
64
+ import { Event as Event11 } from "@opencode/schema/integration";
65
+ var ID6 = Integration.ID;
66
66
  var MethodID2 = Integration.MethodID;
67
67
  var AttemptID2 = Integration.AttemptID;
68
68
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
70
70
  var KeyMethod2 = Integration.KeyMethod;
71
71
  var EnvMethod2 = Integration.EnvMethod;
72
72
  var Method2 = Integration.Method;
73
- var Info29 = Integration.Info;
73
+ var Info20 = Integration.Info;
74
74
  var Attempt2 = Integration.Attempt;
75
75
  var AttemptStatus2 = Integration.AttemptStatus;
76
76
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -85,15 +85,15 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
85
85
  cause: Schema.Defect()
86
86
  }) {
87
87
  }
88
- var Ref3 = Integration.Ref;
88
+ var Ref2 = Integration.Ref;
89
89
 
90
- class Service73 extends Context.Service()("@opencode/Integration") {
90
+ class Service51 extends Context.Service()("@opencode/Integration") {
91
91
  }
92
92
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
93
93
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
94
94
  var scrubInterval = Duration.seconds(30);
95
- var layer = Layer.effect(Service73, Effect.gen(function* () {
96
- const credentials = yield* Service74;
95
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
96
+ const credentials = yield* Service52;
97
97
  const bus = yield* Service79;
98
98
  const processes = yield* AppProcess.Service;
99
99
  const scope = yield* Scope.Scope;
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
187
187
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
188
188
  return [...credentials, ...env];
189
189
  };
190
- const project = (entry, connections) => Info29.make({
190
+ const project = (entry, connections) => Info20.make({
191
191
  id: entry.ref.id,
192
192
  name: entry.ref.name,
193
193
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
271
271
  const persistence = yield* createCredential({
272
272
  integrationID: attempt.integrationID,
273
273
  label: attempt.label,
274
- value: Key4.make({ type: "key", key: exit.value })
274
+ value: Key3.make({ type: "key", key: exit.value })
275
275
  }).pipe(Effect.asVoid, Effect.exit);
276
276
  const settledAt = yield* Clock.currentTimeMillis;
277
277
  const terminal = Exit.isSuccess(persistence) ? {
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
417
417
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
418
418
  return CommandAttempt2.make({ attemptID, time });
419
419
  });
420
- return Service73.of({
420
+ return Service51.of({
421
421
  transform: state.transform,
422
422
  reload: state.reload,
423
423
  get: Effect.fn("Integration.get")(function* (id) {
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
438
438
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
439
439
  if (connection.type === "env") {
440
440
  const key = process.env[connection.name];
441
- return key ? Key4.make({ type: "key", key }) : undefined;
441
+ return key ? Key3.make({ type: "key", key }) : undefined;
442
442
  }
443
443
  const credential = yield* credentials.get(connection.id);
444
444
  if (!credential)
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
471
471
  yield* createCredential({
472
472
  integrationID: input.integrationID,
473
473
  label: input.label,
474
- value: Key4.make({
474
+ value: Key3.make({
475
475
  type: "key",
476
476
  key: input.key,
477
477
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
565
565
  }
566
566
  });
567
567
  }));
568
- var node78 = makeLocationNode({
569
- service: Service73,
568
+ var node55 = makeLocationNode({
569
+ service: Service51,
570
570
  layer,
571
- deps: [node79, node84, AppProcess.node]
571
+ deps: [node56, node84, AppProcess.node]
572
572
  });
573
573
 
574
- export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref3, Service73, node78, exports_integration, Event17 };
574
+ export { ID6, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info20, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service51, node55, exports_integration, Event11 };
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service68
3
- } from "./filesystem-8z6dw92s.js";
2
+ Service76
3
+ } from "./filesystem-ethbh4z7.js";
4
4
  import {
5
- Service65
6
- } from "./filesystem-v5eees2g.js";
5
+ Service71
6
+ } from "./filesystem-mz2wz6jn.js";
7
7
  import {
8
- Service64,
8
+ Service40,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./filesystem-9grmh3gg.js";
11
+ } from "./filesystem-wcy83pfm.js";
12
12
  import {
13
- Service16
14
- } from "./filesystem-nh937vtg.js";
13
+ Service63
14
+ } from "./filesystem-4f92c8s9.js";
15
15
  import {
16
- Service43
17
- } from "./filesystem-87bjq7d8.js";
16
+ Service54
17
+ } from "./filesystem-rk9hj1v7.js";
18
18
  import {
19
- Service13,
19
+ Service42,
20
20
  resolvePath2
21
- } from "./filesystem-sqhed6c7.js";
21
+ } from "./filesystem-wprd8xj9.js";
22
22
  import {
23
23
  fileDiff2
24
24
  } from "./filesystem-6prwharc.js";
@@ -30,17 +30,17 @@ import {
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input6,
34
- Output: () => Output5,
35
- Plugin: () => Plugin25,
36
- name: () => name6
33
+ Input: () => Input10,
34
+ Output: () => Output7,
35
+ Plugin: () => Plugin11,
36
+ name: () => name10
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name6 = "edit";
43
- var Input6 = Schema.Struct({
42
+ var name10 = "edit";
43
+ var Input10 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input6 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output5 = Schema.Struct({
53
+ var Output7 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin25 = {
106
+ var Plugin11 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service13;
110
- const fileMutation = yield* Service64;
111
- const environment = yield* Service65;
112
- const formatter = yield* Service16;
113
- const location = yield* Service68;
114
- const permission = yield* Service43;
109
+ const access = yield* Service42;
110
+ const fileMutation = yield* Service40;
111
+ const environment = yield* Service71;
112
+ const formatter = yield* Service63;
113
+ const location = yield* Service76;
114
+ const permission = yield* Service54;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name6,
116
+ name: name10,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input6,
120
- output: Output5,
119
+ input: Input10,
120
+ output: Output7,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin25 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name6, Input6, Output5, Plugin25, exports_edit };
197
+ export { name10, Input10, Output7, Plugin11, exports_edit };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./filesystem-87bjq7d8.js";
3
+ } from "./filesystem-rk9hj1v7.js";
4
4
  import {
5
5
  __export
6
6
  } from "./filesystem-9rqn6x4v.js";
@@ -9,7 +9,7 @@ import {
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin43
12
+ Plugin: () => Plugin28
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin43 = define({
32
+ var Plugin28 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin43, exports_plan };
109
+ export { Plugin28, exports_plan };