@opencode/core 0.0.0-dev-19336 → 0.0.0-dev-19338

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 (464) 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 +9 -9
  5. package/dist/bus.js +51 -51
  6. package/dist/catalog.js +60 -60
  7. package/dist/chunks/{location-services-1dfhrqqs.js → location-services-0hpxrkyb.js} +3 -3
  8. package/dist/chunks/{location-services-bmwmmh03.js → location-services-0wd6em3j.js} +7 -7
  9. package/dist/chunks/{location-services-5thce3ah.js → location-services-0zj4cm3y.js} +26 -26
  10. package/dist/chunks/{location-services-a5y8eyny.js → location-services-11m7nw5e.js} +22 -22
  11. package/dist/chunks/{location-services-vvv3thrh.js → location-services-15v2jbpx.js} +11 -11
  12. package/dist/chunks/{location-services-3xh3zrfj.js → location-services-162h2cbr.js} +10 -10
  13. package/dist/chunks/{location-services-3znngwgn.js → location-services-16td4x31.js} +7 -7
  14. package/dist/chunks/{location-services-n0ps73j4.js → location-services-1mapar6n.js} +11 -11
  15. package/dist/chunks/{location-services-1c4qjgv9.js → location-services-1qdk8c0g.js} +1 -1
  16. package/dist/chunks/{location-services-56gdpj1q.js → location-services-1ygqh575.js} +7 -7
  17. package/dist/chunks/{location-services-kqd2wwpf.js → location-services-24sbpj7j.js} +3 -3
  18. package/dist/chunks/{location-services-d9hczm2r.js → location-services-27j8ahm1.js} +17 -17
  19. package/dist/chunks/{location-services-dx15qm69.js → location-services-28fzndev.js} +19 -19
  20. package/dist/chunks/{location-services-d20tfxtv.js → location-services-28pzpvq0.js} +8 -8
  21. package/dist/chunks/{location-services-hmtdza7e.js → location-services-2acm1nys.js} +50 -50
  22. package/dist/chunks/{location-services-x95pbp60.js → location-services-2m4pqqb5.js} +27 -27
  23. package/dist/chunks/{location-services-egdp0v7k.js → location-services-2m8nxcnz.js} +3 -3
  24. package/dist/chunks/{location-services-k50vc20r.js → location-services-2wdxjxp6.js} +5 -5
  25. package/dist/chunks/{location-services-dt6arx9z.js → location-services-2xwaa7cw.js} +4 -4
  26. package/dist/chunks/{location-services-a103fdm3.js → location-services-2z317dgv.js} +25 -25
  27. package/dist/chunks/{location-services-3w0fmcng.js → location-services-37s12vcn.js} +3 -3
  28. package/dist/chunks/{location-services-f8q7mv7a.js → location-services-380vjcmd.js} +1 -1
  29. package/dist/chunks/{location-services-skw6ndhb.js → location-services-38acbevk.js} +35 -35
  30. package/dist/chunks/{location-services-dhambjr8.js → location-services-3wy413zp.js} +21 -21
  31. package/dist/chunks/{location-services-g764418v.js → location-services-3xwj35jq.js} +1 -1
  32. package/dist/chunks/{location-services-7sqxeqwy.js → location-services-3ythc6yv.js} +3 -3
  33. package/dist/chunks/{location-services-fgh0kbhd.js → location-services-4b6bntqd.js} +1 -1
  34. package/dist/chunks/{location-services-t2bav4cb.js → location-services-4gp2y10s.js} +6 -6
  35. package/dist/chunks/{location-services-g35h8zvz.js → location-services-4k845csn.js} +19 -19
  36. package/dist/chunks/{location-services-1x11rq2a.js → location-services-4v7qdvcn.js} +4 -4
  37. package/dist/chunks/{location-services-7amtd6bp.js → location-services-4zsc87zk.js} +11 -11
  38. package/dist/chunks/{location-services-0r7yqxbf.js → location-services-510m7gjw.js} +3 -3
  39. package/dist/chunks/{location-services-dcfrmvyb.js → location-services-51t4ys7s.js} +22 -22
  40. package/dist/chunks/{location-services-f32vetax.js → location-services-55bzypr0.js} +10 -10
  41. package/dist/chunks/{location-services-5ap78ss6.js → location-services-5bfzavyb.js} +39 -39
  42. package/dist/chunks/{location-services-4ycxm7c6.js → location-services-5bzad00n.js} +15 -15
  43. package/dist/chunks/{location-services-0387ntk2.js → location-services-5dcgz3aq.js} +12 -12
  44. package/dist/chunks/{location-services-6wwkxy3b.js → location-services-5etegeke.js} +1 -1
  45. package/dist/chunks/{location-services-j8b7ra2y.js → location-services-5fs5z9r9.js} +168 -168
  46. package/dist/chunks/{location-services-31zm1s50.js → location-services-5kh2vy3t.js} +32 -32
  47. package/dist/chunks/{location-services-a4j6dykb.js → location-services-5vm6jgpp.js} +10 -10
  48. package/dist/chunks/{location-services-fbrz957q.js → location-services-6320hmrj.js} +16 -16
  49. package/dist/chunks/location-services-6753kygg.js +22 -0
  50. package/dist/chunks/{location-services-6qtdhq9p.js → location-services-6c1jg7x4.js} +27 -27
  51. package/dist/chunks/{location-services-r33ff4dw.js → location-services-6ersrjne.js} +3 -3
  52. package/dist/chunks/{location-services-erd68jx8.js → location-services-6fjmxycd.js} +22 -22
  53. package/dist/chunks/{location-services-w8v69kqr.js → location-services-6sj05tzn.js} +6 -6
  54. package/dist/chunks/{location-services-h0r85tvv.js → location-services-6y3njc5p.js} +10 -10
  55. package/dist/chunks/{location-services-nw0bqh17.js → location-services-6z6w9rms.js} +9 -9
  56. package/dist/chunks/{location-services-3mmc2xt1.js → location-services-6zkt8sc0.js} +9 -9
  57. package/dist/chunks/{location-services-mvfsc1pv.js → location-services-73tb2d7t.js} +2 -2
  58. package/dist/chunks/{location-services-aj8kkpvr.js → location-services-78hqr335.js} +4 -4
  59. package/dist/chunks/{location-services-12behdsj.js → location-services-7f4cfqjs.js} +10 -10
  60. package/dist/chunks/{location-services-eeaf82dq.js → location-services-7j2qha59.js} +7 -7
  61. package/dist/chunks/{location-services-n3ehebhz.js → location-services-7vc3mrhj.js} +8 -8
  62. package/dist/chunks/{location-services-fygdb7h7.js → location-services-7ybwwvvx.js} +3 -3
  63. package/dist/chunks/{location-services-3tey5e4w.js → location-services-7zdm33ac.js} +7 -7
  64. package/dist/chunks/{location-services-4ttr90xy.js → location-services-85fsg3cm.js} +19 -19
  65. package/dist/chunks/{location-services-nq6tkbxw.js → location-services-8k3jg3eh.js} +14 -14
  66. package/dist/chunks/{location-services-z7wszd63.js → location-services-8ncan3qx.js} +16 -16
  67. package/dist/chunks/location-services-8rfyvjw4.js +462 -0
  68. package/dist/chunks/{location-services-zd0y80kv.js → location-services-9jzbrzc0.js} +13 -13
  69. package/dist/chunks/{location-services-xvbxf676.js → location-services-9kvjnr81.js} +31 -31
  70. package/dist/chunks/{location-services-2q8h11r1.js → location-services-9n75fd9y.js} +4 -4
  71. package/dist/chunks/{location-services-yt1hy964.js → location-services-9pfdanbq.js} +18 -18
  72. package/dist/chunks/{location-services-hm9cthtf.js → location-services-9r2qpqkx.js} +26 -26
  73. package/dist/chunks/{location-services-mgn1q268.js → location-services-9z8a7pbd.js} +24 -24
  74. package/dist/chunks/{location-services-qa4rp7fn.js → location-services-9zswys26.js} +7 -7
  75. package/dist/chunks/{location-services-3g0xtcs6.js → location-services-a5abhest.js} +12 -12
  76. package/dist/chunks/{location-services-w0pkcsrz.js → location-services-at0srrj9.js} +16 -16
  77. package/dist/chunks/{location-services-8azq3xgr.js → location-services-at5nfy9r.js} +20 -20
  78. package/dist/chunks/{location-services-54td8zkb.js → location-services-avay8ehz.js} +4 -4
  79. package/dist/chunks/{location-services-k16ay38w.js → location-services-b2jx7zxs.js} +1 -1
  80. package/dist/chunks/{location-services-bf0ztrs3.js → location-services-bct739vz.js} +3 -3
  81. package/dist/chunks/{location-services-6nh5w358.js → location-services-bdetpt2n.js} +7 -7
  82. package/dist/chunks/{location-services-cq37gk0t.js → location-services-bha4atvq.js} +1 -1
  83. package/dist/chunks/{location-services-zhj44hqa.js → location-services-brzmmewp.js} +2 -2
  84. package/dist/chunks/{location-services-marnn1hp.js → location-services-bscb95cy.js} +6 -6
  85. package/dist/chunks/{location-services-s78rk26g.js → location-services-bt4gwd2t.js} +20 -20
  86. package/dist/chunks/{location-services-dg94tkx3.js → location-services-btas0783.js} +25 -25
  87. package/dist/chunks/{location-services-7tkmrrpv.js → location-services-btq6dtd4.js} +29 -29
  88. package/dist/chunks/{location-services-zmm5wz6q.js → location-services-cpq8mvz9.js} +33 -33
  89. package/dist/chunks/{location-services-0f9afca0.js → location-services-cr07tj7n.js} +3 -3
  90. package/dist/chunks/{location-services-9wrk0c7x.js → location-services-d5mjh5gn.js} +18 -18
  91. package/dist/chunks/{location-services-e6ywpf8t.js → location-services-dpwabj80.js} +4 -4
  92. package/dist/chunks/{location-services-9r3q67g7.js → location-services-dqm30p7h.js} +73 -73
  93. package/dist/chunks/{location-services-efrqks1z.js → location-services-drbyteps.js} +18 -18
  94. package/dist/chunks/{location-services-n65r81b4.js → location-services-dt8w12tc.js} +4 -4
  95. package/dist/chunks/{location-services-30qzt7jy.js → location-services-dvanp92t.js} +16 -16
  96. package/dist/chunks/{location-services-vfx896b4.js → location-services-dxea83ar.js} +15 -15
  97. package/dist/chunks/{location-services-qtmpnr27.js → location-services-dxth83mh.js} +46 -46
  98. package/dist/chunks/{location-services-8jywm6xd.js → location-services-dyp5k833.js} +16 -16
  99. package/dist/chunks/{location-services-98cmn0hr.js → location-services-dzx5qajy.js} +15 -15
  100. package/dist/chunks/{location-services-1s1fbqj5.js → location-services-e4zvp2f4.js} +16 -16
  101. package/dist/chunks/{location-services-a3vv4rs0.js → location-services-e7p6faa2.js} +6 -6
  102. package/dist/chunks/{location-services-rhjbct0v.js → location-services-eaj1djv9.js} +7 -7
  103. package/dist/chunks/{location-services-kap76w5z.js → location-services-eebkyynq.js} +21 -21
  104. package/dist/chunks/{location-services-akrnn5pm.js → location-services-ep6z9mt6.js} +6 -6
  105. package/dist/chunks/{location-services-m2m38rh4.js → location-services-eq4p078r.js} +2 -2
  106. package/dist/chunks/{location-services-rhd00fat.js → location-services-ex5k2c35.js} +5 -5
  107. package/dist/chunks/{location-services-3rz3vg39.js → location-services-f5bs5vv8.js} +50 -50
  108. package/dist/chunks/{location-services-4eavgkwb.js → location-services-f9yp8s8r.js} +5 -5
  109. package/dist/chunks/{location-services-fxf97kjq.js → location-services-fafkyc6a.js} +10 -10
  110. package/dist/chunks/{location-services-sktxfqvp.js → location-services-fbtcayzh.js} +5 -5
  111. package/dist/chunks/{location-services-v5dkyp31.js → location-services-fdv30zvt.js} +6 -6
  112. package/dist/chunks/{location-services-n3pz4r15.js → location-services-fk8q8cg8.js} +15 -15
  113. package/dist/chunks/{location-services-hqxaqnsz.js → location-services-fnhdbvfa.js} +13 -13
  114. package/dist/chunks/{location-services-ne17v9pc.js → location-services-g09rc90z.js} +16 -16
  115. package/dist/chunks/{location-services-qm7jrdpz.js → location-services-g2y161wv.js} +7 -7
  116. package/dist/chunks/{location-services-bcnz578n.js → location-services-g3599gw0.js} +1 -1
  117. package/dist/chunks/{location-services-p12hzc12.js → location-services-gacdy71v.js} +22 -22
  118. package/dist/chunks/{location-services-3fc6dm20.js → location-services-gdvy8fx6.js} +3 -3
  119. package/dist/chunks/{location-services-er56z9m3.js → location-services-h1n238ac.js} +2 -2
  120. package/dist/chunks/{location-services-9xx5ccgp.js → location-services-h4r1yjny.js} +29 -29
  121. package/dist/chunks/{location-services-jd31tk7v.js → location-services-h5e374w5.js} +20 -20
  122. package/dist/chunks/{location-services-h7merwq8.js → location-services-h5pwjbm9.js} +20 -20
  123. package/dist/chunks/{location-services-4crx14pj.js → location-services-h9zmmqvn.js} +11 -11
  124. package/dist/chunks/{location-services-b1t5snx6.js → location-services-hpdzznjk.js} +20 -20
  125. package/dist/chunks/{location-services-nakqg6cg.js → location-services-hq4ymc60.js} +18 -18
  126. package/dist/chunks/{location-services-pjsas99n.js → location-services-j1t1n678.js} +6 -6
  127. package/dist/chunks/{location-services-rbr5swsa.js → location-services-j3xb24h1.js} +17 -17
  128. package/dist/chunks/{location-services-q70gtfmt.js → location-services-j81s0rnf.js} +13 -13
  129. package/dist/chunks/{location-services-npm3wgeg.js → location-services-jh4j6rwm.js} +11 -11
  130. package/dist/chunks/{location-services-gkk9gzwj.js → location-services-jhz8yd6p.js} +8 -8
  131. package/dist/chunks/{location-services-cy9hrc59.js → location-services-jk10gy5t.js} +33 -33
  132. package/dist/chunks/{location-services-k33dzkhb.js → location-services-jk9qnxpz.js} +39 -39
  133. package/dist/chunks/{location-services-tjbdzdwh.js → location-services-jphykfrz.js} +19 -19
  134. package/dist/chunks/{location-services-m27pyyd3.js → location-services-jtp7wgq3.js} +7 -7
  135. package/dist/chunks/{location-services-34na97t4.js → location-services-jzjzmfk7.js} +4 -4
  136. package/dist/chunks/{location-services-9w95a7ga.js → location-services-k5rw4hnc.js} +22 -22
  137. package/dist/chunks/{location-services-e255sby6.js → location-services-k67g98nv.js} +26 -26
  138. package/dist/chunks/{location-services-rpsdx5vs.js → location-services-k8n37kmc.js} +6 -6
  139. package/dist/chunks/{location-services-v5w9803s.js → location-services-ka2k270b.js} +7 -7
  140. package/dist/chunks/{location-services-96yt6zt0.js → location-services-kcwf74x3.js} +1 -1
  141. package/dist/chunks/{location-services-0kghfr31.js → location-services-kf1g5n2n.js} +20 -20
  142. package/dist/chunks/{location-services-s0avzt1k.js → location-services-kjd67z7p.js} +25 -25
  143. package/dist/chunks/{location-services-cknngr8n.js → location-services-kp0txnpa.js} +5 -5
  144. package/dist/chunks/{location-services-gbjggf4w.js → location-services-m48bak5g.js} +37 -37
  145. package/dist/chunks/{location-services-xekzrwwc.js → location-services-m86bnw2c.js} +7 -7
  146. package/dist/chunks/{location-services-w5qh34h0.js → location-services-m9d2dprq.js} +26 -26
  147. package/dist/chunks/{location-services-qj8eh1ht.js → location-services-magykp64.js} +3 -3
  148. package/dist/chunks/{location-services-a8xcd0w8.js → location-services-mr60nntp.js} +1 -1
  149. package/dist/chunks/{location-services-0qk6n2y7.js → location-services-mw0hasaz.js} +28 -28
  150. package/dist/chunks/{location-services-0aqaye2v.js → location-services-n4wjpn8n.js} +28 -28
  151. package/dist/chunks/{location-services-dcg0h0ke.js → location-services-n5ftgbap.js} +32 -32
  152. package/dist/chunks/{location-services-ebcw7cv9.js → location-services-n5pps5m7.js} +4 -4
  153. package/dist/chunks/{location-services-r01t9b5y.js → location-services-ncqtmwmy.js} +7 -7
  154. package/dist/chunks/{location-services-m14v0kx0.js → location-services-nmts8jzf.js} +10 -10
  155. package/dist/chunks/{location-services-1vb9fm0n.js → location-services-ntzg9vqq.js} +30 -30
  156. package/dist/chunks/location-services-nzxgkcr5.js +247 -0
  157. package/dist/chunks/{location-services-y9gdx2th.js → location-services-pa0527fm.js} +3 -3
  158. package/dist/chunks/{location-services-06dxphr1.js → location-services-paegk39x.js} +3 -3
  159. package/dist/chunks/{location-services-rk0rec3h.js → location-services-pdqbsy2v.js} +7 -7
  160. package/dist/chunks/{location-services-1ktzqmb5.js → location-services-pswdd2t8.js} +13 -13
  161. package/dist/chunks/{location-services-ksz0h0wp.js → location-services-q1c4k7jk.js} +1 -1
  162. package/dist/chunks/{location-services-e7v4kvvc.js → location-services-qe24w9vn.js} +11 -11
  163. package/dist/chunks/{location-services-7dqw4kz8.js → location-services-qgn6gcr1.js} +4 -4
  164. package/dist/chunks/{location-services-p75j69a2.js → location-services-qq9z19f4.js} +17 -17
  165. package/dist/chunks/{location-services-kc564ayd.js → location-services-qv2bye7a.js} +7 -7
  166. package/dist/chunks/{location-services-ewqwwm8c.js → location-services-qx1zvxc9.js} +9 -9
  167. package/dist/chunks/{location-services-1v3d03cy.js → location-services-r537c3kh.js} +21 -21
  168. package/dist/chunks/{location-services-hewa18pm.js → location-services-r69tr7x2.js} +42 -42
  169. package/dist/chunks/{location-services-dtz1dq5w.js → location-services-rcxgw5yf.js} +9 -9
  170. package/dist/chunks/{location-services-r9babyk8.js → location-services-rstnkd3y.js} +1 -1
  171. package/dist/chunks/{location-services-3am5m0cf.js → location-services-s2qffcb7.js} +5 -5
  172. package/dist/chunks/{location-services-9tdt6gn5.js → location-services-s2yb2sz1.js} +12 -12
  173. package/dist/chunks/{location-services-7emx6ety.js → location-services-s3fqj7fn.js} +22 -22
  174. package/dist/chunks/{location-services-pnean495.js → location-services-s9vxrr1q.js} +4 -4
  175. package/dist/chunks/{location-services-3gt2xagq.js → location-services-sh26c022.js} +24 -24
  176. package/dist/chunks/{location-services-p4j0k99t.js → location-services-snjhnxkw.js} +22 -22
  177. package/dist/chunks/{location-services-9yks55mb.js → location-services-szvm6efx.js} +18 -18
  178. package/dist/chunks/{location-services-m70sbz6t.js → location-services-t2az9yje.js} +3 -3
  179. package/dist/chunks/{location-services-zv3e7t68.js → location-services-t2w3xr5a.js} +1 -1
  180. package/dist/chunks/{location-services-z69s9t6b.js → location-services-t8r3ep1g.js} +4 -4
  181. package/dist/chunks/{location-services-jw1smgdw.js → location-services-tc8mvhgg.js} +3 -3
  182. package/dist/chunks/{location-services-gjes9ycv.js → location-services-tfs8xndz.js} +84 -84
  183. package/dist/chunks/{location-services-4wdwamv9.js → location-services-tjzgn1x1.js} +16 -16
  184. package/dist/chunks/{location-services-gp27hab3.js → location-services-tmz1m10x.js} +5 -5
  185. package/dist/chunks/{location-services-g56x3r05.js → location-services-tr9c2tdg.js} +17 -17
  186. package/dist/chunks/{location-services-6t5esrgx.js → location-services-ts6t2md9.js} +14 -14
  187. package/dist/chunks/{location-services-wrmagx7v.js → location-services-txm7s3af.js} +53 -53
  188. package/dist/chunks/{location-services-tjasw5j2.js → location-services-ty4y3jpx.js} +17 -17
  189. package/dist/chunks/{location-services-zg809rcf.js → location-services-v055rr52.js} +24 -24
  190. package/dist/chunks/{location-services-z5jxp7ad.js → location-services-v0qc9apc.js} +31 -31
  191. package/dist/chunks/{location-services-98r3f9c4.js → location-services-v17vgq8s.js} +27 -27
  192. package/dist/chunks/{location-services-vgtd617j.js → location-services-v5fza2qm.js} +7 -7
  193. package/dist/chunks/{location-services-mf9m2v67.js → location-services-vjnb44yt.js} +3 -3
  194. package/dist/chunks/{location-services-81s162yb.js → location-services-vk1048p9.js} +14 -14
  195. package/dist/chunks/{location-services-vz505d38.js → location-services-vqa79sa2.js} +6 -6
  196. package/dist/chunks/{location-services-x0b2ccgt.js → location-services-vxqn53pa.js} +24 -24
  197. package/dist/chunks/{location-services-4j4p0yst.js → location-services-vyjzrkx0.js} +7 -7
  198. package/dist/chunks/{location-services-m016k5dt.js → location-services-w28m7x89.js} +11 -11
  199. package/dist/chunks/{location-services-n26aazvb.js → location-services-w76aks9p.js} +8 -8
  200. package/dist/chunks/{location-services-d50f2zf5.js → location-services-w79zsp0s.js} +1 -1
  201. package/dist/chunks/{location-services-d5ta482m.js → location-services-wb0heqy3.js} +3 -3
  202. package/dist/chunks/{location-services-hk3dp6b5.js → location-services-wfjdd711.js} +1 -1
  203. package/dist/chunks/{location-services-k4f6a3yg.js → location-services-wnttaxta.js} +23 -23
  204. package/dist/chunks/{location-services-dgj0dq1g.js → location-services-x3et2xth.js} +7 -7
  205. package/dist/chunks/{location-services-4pg6n0t4.js → location-services-xdj7hph9.js} +6 -6
  206. package/dist/chunks/{location-services-n1wtw7cf.js → location-services-xsa3sn4e.js} +36 -36
  207. package/dist/chunks/{location-services-n76fdqym.js → location-services-xsdh20fb.js} +5 -5
  208. package/dist/chunks/{location-services-wd1wk3fx.js → location-services-xxdsfsv4.js} +22 -22
  209. package/dist/chunks/{location-services-1at44jv2.js → location-services-y3tjje57.js} +14 -14
  210. package/dist/chunks/{location-services-00v0w1pn.js → location-services-y8nep4sr.js} +32 -32
  211. package/dist/chunks/{location-services-v6654y3b.js → location-services-ycaafw61.js} +15 -15
  212. package/dist/chunks/{location-services-s2jzy5b9.js → location-services-ycmd6xcg.js} +9 -9
  213. package/dist/chunks/{location-services-4hzm3hzr.js → location-services-yfq8zh9v.js} +60 -60
  214. package/dist/chunks/{location-services-p79ar1tw.js → location-services-yx9tt4ea.js} +9 -9
  215. package/dist/chunks/{location-services-rv7qyr27.js → location-services-z43vqr8p.js} +23 -23
  216. package/dist/chunks/{location-services-8f0zq1qa.js → location-services-z50tb7yx.js} +4 -4
  217. package/dist/chunks/{location-services-z7vx10hx.js → location-services-zdhmhzs2.js} +12 -12
  218. package/dist/chunks/{location-services-bv56xrks.js → location-services-zerdtc7d.js} +4 -4
  219. package/dist/chunks/{location-services-t3nckq9e.js → location-services-zgwwbszc.js} +16 -16
  220. package/dist/chunks/{location-services-hv7wfk6h.js → location-services-znc92hjm.js} +40 -40
  221. package/dist/chunks/{location-services-kp0f7k9w.js → location-services-zr33rhch.js} +1 -1
  222. package/dist/chunks/{location-services-wzxndrfm.js → location-services-zr7mteb2.js} +24 -24
  223. package/dist/chunks/{location-services-7dh69f0v.js → location-services-zw66t5ma.js} +7 -7
  224. package/dist/chunks/{location-services-1sfmn0at.js → location-services-zwzjy0a1.js} +18 -18
  225. package/dist/codemode/catalog.js +3 -3
  226. package/dist/codemode/instructions.js +7 -7
  227. package/dist/command.js +63 -63
  228. package/dist/config/discovery.js +52 -52
  229. package/dist/config/normalize.js +16 -16
  230. package/dist/config/plugin/agent.js +86 -86
  231. package/dist/config/plugin/command.js +168 -168
  232. package/dist/config/plugin/compaction.js +117 -117
  233. package/dist/config/plugin/formatter.js +85 -85
  234. package/dist/config/plugin/image.js +84 -84
  235. package/dist/config/plugin/instruction.js +56 -56
  236. package/dist/config/plugin/location-watcher.js +83 -83
  237. package/dist/config/plugin/mcp.js +92 -92
  238. package/dist/config/plugin/policy.js +82 -82
  239. package/dist/config/plugin/provider.js +82 -82
  240. package/dist/config/plugin/reference.js +86 -86
  241. package/dist/config/plugin/shell.js +84 -84
  242. package/dist/config/plugin/skill-file.js +66 -66
  243. package/dist/config/plugin/skill.js +100 -100
  244. package/dist/config/plugin/snapshot.js +84 -84
  245. package/dist/config/plugin/source.js +86 -86
  246. package/dist/config/plugin/tool-output.js +86 -86
  247. package/dist/config/plugin/websearch.js +82 -82
  248. package/dist/config/plugin/worktree.js +85 -85
  249. package/dist/config.js +89 -89
  250. package/dist/credential.js +60 -60
  251. package/dist/database/database.js +50 -50
  252. package/dist/database/drizzle/effect-sqlite/driver.js +8 -8
  253. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  254. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  255. package/dist/database/drizzle/index.js +9 -9
  256. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  257. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  258. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  259. package/dist/database/drizzle.js +9 -9
  260. package/dist/database/migration.gen.js +35 -35
  261. package/dist/database/migration.js +36 -36
  262. package/dist/database/v1-migration.bun.js +12 -12
  263. package/dist/effect/app-node-builder.js +223 -223
  264. package/dist/environment/environment.js +59 -59
  265. package/dist/environment/index.js +61 -61
  266. package/dist/event-logger.js +13 -13
  267. package/dist/file-access.js +69 -69
  268. package/dist/file-mutation.js +60 -60
  269. package/dist/filesystem/location-watcher.js +175 -175
  270. package/dist/filesystem/search.js +68 -68
  271. package/dist/filesystem/watcher.js +13 -13
  272. package/dist/filesystem.js +67 -67
  273. package/dist/form.js +64 -64
  274. package/dist/formatter/builtins.js +3 -3
  275. package/dist/formatter.js +59 -59
  276. package/dist/generate.js +68 -68
  277. package/dist/git.js +5 -5
  278. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +5 -5
  279. package/dist/github-copilot/copilot-provider.js +3 -3
  280. package/dist/github-copilot/models.js +7 -7
  281. package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
  282. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  283. package/dist/image/photon.js +1 -1
  284. package/dist/image.js +5 -5
  285. package/dist/instance.js +297 -297
  286. package/dist/instruction-discovery.js +58 -58
  287. package/dist/instructions/builtins.js +57 -57
  288. package/dist/instructions/index.js +5 -5
  289. package/dist/integration.js +63 -63
  290. package/dist/job.js +57 -57
  291. package/dist/kv.js +51 -51
  292. package/dist/location-activity.js +55 -55
  293. package/dist/location-mutation.js +30 -30
  294. package/dist/location-service-map.js +56 -56
  295. package/dist/location-services.js +300 -300
  296. package/dist/location.js +59 -59
  297. package/dist/mcp/client.js +17 -17
  298. package/dist/mcp/index.js +76 -76
  299. package/dist/mcp/instructions.js +90 -90
  300. package/dist/mcp/stdio.js +56 -56
  301. package/dist/modal/models.js +7 -7
  302. package/dist/model-resolver.js +63 -63
  303. package/dist/model.js +8 -8
  304. package/dist/models-dev.js +64 -64
  305. package/dist/permission/saved.js +55 -55
  306. package/dist/permission.js +76 -76
  307. package/dist/persistent-pty/index.js +60 -60
  308. package/dist/persistent-pty.js +50 -50
  309. package/dist/plugin/agent.js +69 -69
  310. package/dist/plugin/command.js +67 -67
  311. package/dist/plugin/hooks.js +5 -5
  312. package/dist/plugin/host.js +173 -173
  313. package/dist/plugin/instance.js +5 -5
  314. package/dist/plugin/internal.js +275 -275
  315. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  316. package/dist/plugin/models-dev.js +53 -53
  317. package/dist/plugin/module.js +4 -4
  318. package/dist/plugin/optimize.js +3 -3
  319. package/dist/plugin/plan.js +67 -67
  320. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  321. package/dist/plugin/provider/anthropic.js +2 -2
  322. package/dist/plugin/provider/azure.js +86 -86
  323. package/dist/plugin/provider/cerebras.js +2 -2
  324. package/dist/plugin/provider/cloudflare-ai-gateway.js +86 -86
  325. package/dist/plugin/provider/cloudflare-workers-ai.js +86 -86
  326. package/dist/plugin/provider/configured.js +84 -84
  327. package/dist/plugin/provider/digitalocean.js +55 -55
  328. package/dist/plugin/provider/github-copilot.js +57 -57
  329. package/dist/plugin/provider/gitlab.js +3 -3
  330. package/dist/plugin/provider/google-vertex.js +2 -2
  331. package/dist/plugin/provider/kilo.js +2 -2
  332. package/dist/plugin/provider/llmgateway.js +53 -53
  333. package/dist/plugin/provider/lmstudio.js +85 -85
  334. package/dist/plugin/provider/modal.js +56 -56
  335. package/dist/plugin/provider/nvidia.js +2 -2
  336. package/dist/plugin/provider/ollama.js +87 -87
  337. package/dist/plugin/provider/openai.js +56 -56
  338. package/dist/plugin/provider/opencode.js +56 -56
  339. package/dist/plugin/provider/openrouter.js +3 -3
  340. package/dist/plugin/provider/poe.js +52 -52
  341. package/dist/plugin/provider/sap-ai-core.js +2 -2
  342. package/dist/plugin/provider/snowflake-cortex.js +86 -86
  343. package/dist/plugin/provider/vercel.js +2 -2
  344. package/dist/plugin/provider/vllm.js +87 -87
  345. package/dist/plugin/provider/xai.js +54 -54
  346. package/dist/plugin/provider/zenmux.js +2 -2
  347. package/dist/plugin/provider.js +119 -119
  348. package/dist/plugin/sdk.js +50 -50
  349. package/dist/plugin/service.js +3 -3
  350. package/dist/plugin/skill.js +98 -98
  351. package/dist/plugin/supervisor.js +290 -290
  352. package/dist/plugin/update.js +5 -5
  353. package/dist/plugin/variant.js +4 -4
  354. package/dist/plugin/vcs/git.js +56 -56
  355. package/dist/plugin/vcs/hg.js +56 -56
  356. package/dist/plugin/warming.js +82 -82
  357. package/dist/plugin/websearch/exa.js +6 -6
  358. package/dist/plugin/websearch/firecrawl.js +5 -5
  359. package/dist/plugin/websearch/index.js +7 -7
  360. package/dist/plugin/websearch/mcp.js +5 -5
  361. package/dist/plugin/websearch/parallel.js +7 -7
  362. package/dist/plugin/websearch/tavily.js +4 -4
  363. package/dist/plugin.js +181 -181
  364. package/dist/project/schema.js +7 -7
  365. package/dist/project.js +58 -58
  366. package/dist/provider.js +7 -7
  367. package/dist/pty.js +54 -54
  368. package/dist/reference/instructions.js +59 -59
  369. package/dist/reference.js +61 -61
  370. package/dist/repository-cache.js +54 -54
  371. package/dist/ripgrep.js +63 -63
  372. package/dist/rpc.js +56 -56
  373. package/dist/session/command.js +51 -51
  374. package/dist/session/compaction.js +93 -93
  375. package/dist/session/context.js +114 -114
  376. package/dist/session/environment.js +5 -5
  377. package/dist/session/error.js +2 -2
  378. package/dist/session/execution/restart.js +117 -117
  379. package/dist/session/execution.js +90 -90
  380. package/dist/session/generate.js +114 -114
  381. package/dist/session/history.js +6 -6
  382. package/dist/session/inbox.js +55 -55
  383. package/dist/session/info.js +2 -2
  384. package/dist/session/instruction-entry.js +52 -52
  385. package/dist/session/instruction-state.js +2 -2
  386. package/dist/session/instructions.js +64 -64
  387. package/dist/session/message-updater.js +3 -3
  388. package/dist/session/model-request.js +78 -78
  389. package/dist/session/model-transport.js +5 -5
  390. package/dist/session/move.js +94 -94
  391. package/dist/session/projector.js +56 -56
  392. package/dist/session/prompt.js +69 -69
  393. package/dist/session/provider-context.js +3 -3
  394. package/dist/session/revert.js +56 -56
  395. package/dist/session/runner/index.js +3 -3
  396. package/dist/session/runner/llm.js +182 -182
  397. package/dist/session/runner/model.js +63 -63
  398. package/dist/session/runner/retry.js +80 -80
  399. package/dist/session/runner/step.js +85 -85
  400. package/dist/session/runner/to-llm-message.js +2 -2
  401. package/dist/session/schema.js +5 -5
  402. package/dist/session/session.js +129 -129
  403. package/dist/session/shell.js +95 -95
  404. package/dist/session/skill.js +67 -67
  405. package/dist/session/stats.js +10 -10
  406. package/dist/session/store.js +58 -58
  407. package/dist/session/subagent-job.js +165 -165
  408. package/dist/session/title.js +113 -113
  409. package/dist/session/to-session-error.js +77 -77
  410. package/dist/session/transfer.js +117 -117
  411. package/dist/session.js +174 -174
  412. package/dist/shell/parse.js +3 -3
  413. package/dist/shell/select.js +5 -5
  414. package/dist/shell.js +99 -99
  415. package/dist/skill/discovery.js +5 -5
  416. package/dist/skill/instructions.js +70 -70
  417. package/dist/skill.js +75 -75
  418. package/dist/snapshot.js +61 -61
  419. package/dist/tool/mcp.js +89 -89
  420. package/dist/tool/plugin/edit.js +82 -82
  421. package/dist/tool/plugin/glob.js +85 -85
  422. package/dist/tool/plugin/grep.js +89 -89
  423. package/dist/tool/plugin/opencode.js +3 -3
  424. package/dist/tool/plugin/patch.js +82 -82
  425. package/dist/tool/plugin/question.js +70 -70
  426. package/dist/tool/plugin/read.js +90 -90
  427. package/dist/tool/plugin/shell.js +171 -171
  428. package/dist/tool/plugin/skill.js +76 -76
  429. package/dist/tool/plugin/subagent.js +172 -172
  430. package/dist/tool/plugin/webfetch.js +75 -75
  431. package/dist/tool/plugin/websearch.js +77 -77
  432. package/dist/tool/plugin/write.js +86 -86
  433. package/dist/tool/read-filesystem.js +65 -65
  434. package/dist/tool-output.js +6 -6
  435. package/dist/tool.js +9 -9
  436. package/dist/v1/config/agent.js +4 -4
  437. package/dist/v1/config/attachment.js +3 -3
  438. package/dist/v1/config/command.js +5 -5
  439. package/dist/v1/config/config.js +13 -13
  440. package/dist/v1/config/formatter.js +5 -5
  441. package/dist/v1/config/lsp.js +3 -3
  442. package/dist/v1/config/mcp.js +3 -3
  443. package/dist/v1/config/migrate.js +3 -3
  444. package/dist/v1/config/permission.js +3 -3
  445. package/dist/v1/config/plugin.js +3 -3
  446. package/dist/v1/config/provider.js +3 -3
  447. package/dist/v1/config/skills.js +3 -3
  448. package/dist/vcs.js +59 -59
  449. package/dist/websearch.js +60 -60
  450. package/dist/wellknown/plugin.js +52 -52
  451. package/dist/wellknown.js +55 -55
  452. package/dist/workspace/driver.js +7 -7
  453. package/dist/workspace.js +58 -58
  454. package/dist/worktree/git.js +2 -2
  455. package/dist/worktree/refresh.js +293 -293
  456. package/dist/worktree.js +60 -60
  457. package/package.json +8 -8
  458. package/dist/chunks/location-services-0ckm5bhw.js +0 -22
  459. package/dist/chunks/location-services-cgxejw6v.js +0 -462
  460. package/dist/chunks/location-services-rvz3wna3.js +0 -247
  461. /package/dist/chunks/{location-services-gqsqt983.js → location-services-27x26mvx.js} +0 -0
  462. /package/dist/chunks/{location-services-wpmxaqyc.js → location-services-8y62cfgq.js} +0 -0
  463. /package/dist/chunks/{location-services-bcbmvgj8.js → location-services-e2dtrqwf.js} +0 -0
  464. /package/dist/chunks/{location-services-3tt1qkhr.js → location-services-sqbb0ctm.js} +0 -0
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-services-f32vetax.js";
3
+ } from "./location-services-55bzypr0.js";
4
4
  import {
5
- ID18
6
- } from "./location-services-m27pyyd3.js";
5
+ ID11
6
+ } from "./location-services-jtp7wgq3.js";
7
7
  import {
8
8
  iife2
9
9
  } from "./location-services-1kg9ymc8.js";
10
10
  import {
11
11
  configuredSettings2
12
- } from "./location-services-7dh69f0v.js";
12
+ } from "./location-services-zw66t5ma.js";
13
13
 
14
14
  // src/plugin/provider/cloudflare-ai-gateway.ts
15
15
  import os from "os";
16
16
  import { Effect, Option, Schema } from "effect";
17
17
  import { define } from "@opencode/plugin/effect/plugin";
18
18
  import { Form } from "@opencode/schema/form";
19
- var providerID = ID18.make("cloudflare-ai-gateway");
19
+ var providerID = ID11.make("cloudflare-ai-gateway");
20
20
  var CloudflareAIGatewayPlugin2 = define({
21
21
  id: "opencode.provider.cloudflare.ai.gateway",
22
22
  effect: Effect.fn(function* (ctx) {
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-services-f32vetax.js";
3
+ } from "./location-services-55bzypr0.js";
4
4
  import {
5
- Service78
6
- } from "./location-services-q70gtfmt.js";
5
+ Service79
6
+ } from "./location-services-j81s0rnf.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./location-services-00v0w1pn.js";
9
+ Event13
10
+ } from "./location-services-y8nep4sr.js";
11
11
  import {
12
- ID14,
12
+ ID7,
13
13
  MethodID2
14
- } from "./location-services-z5jxp7ad.js";
14
+ } from "./location-services-v0qc9apc.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
18
  } from "./location-services-pjvnvgmy.js";
19
19
  import {
20
- ID18,
20
+ ID11,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./location-services-m27pyyd3.js";
23
+ } from "./location-services-jtp7wgq3.js";
24
24
 
25
25
  // src/plugin/provider/openai.ts
26
26
  import { define } from "@opencode/plugin/effect/plugin";
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
44
44
  }));
45
45
  var decodeClaims = Schema.decodeUnknownOption(Claims);
46
46
  var browser = (app) => ({
47
- integrationID: ID14.make("openai"),
47
+ integrationID: ID7.make("openai"),
48
48
  method: {
49
49
  id: browserMethodID,
50
50
  type: "oauth",
@@ -117,7 +117,7 @@ function addressInUse(error) {
117
117
  return "code" in error && error.code === "EADDRINUSE";
118
118
  }
119
119
  var headless = (app) => ({
120
- integrationID: ID14.make("openai"),
120
+ integrationID: ID7.make("openai"),
121
121
  method: {
122
122
  id: headlessMethodID,
123
123
  type: "oauth",
@@ -159,10 +159,10 @@ var headless = (app) => ({
159
159
  }),
160
160
  refresh: (value) => refresh(headlessMethodID, value, app)
161
161
  });
162
- var OpenAIPlugin2 = define({
162
+ var OpenAIPlugin3 = define({
163
163
  id: "opencode.provider.openai",
164
164
  effect: Effect.fn(function* (ctx) {
165
- const bus = yield* Service78;
165
+ const bus = yield* Service79;
166
166
  const loading = Semaphore.makeUnsafe(1);
167
167
  let chatgpt;
168
168
  const load = Effect.fn("OpenAIPlugin.load")(function* () {
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
178
178
  });
179
179
  yield* load();
180
180
  yield* ctx.catalog.transform((evt) => {
181
- const item = evt.provider.get(ID18.openai);
181
+ const item = evt.provider.get(ID11.openai);
182
182
  if (!item)
183
183
  return;
184
184
  for (const model of item.models.values()) {
@@ -221,9 +221,9 @@ var OpenAIPlugin2 = define({
221
221
  evt.baseURL = codexBaseURL;
222
222
  evt.headers.originator = "opencode";
223
223
  evt.headers["session-id"] = evt.sessionID;
224
- }), { providerID: ID18.openai });
224
+ }), { providerID: ID11.openai });
225
225
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
226
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
226
+ yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
227
227
  })
228
228
  });
229
229
  function headers(contentType, app) {
@@ -314,4 +314,4 @@ function claim(token) {
314
314
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
315
315
  }
316
316
 
317
- export { OpenAIPlugin2 };
317
+ export { OpenAIPlugin3 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-services-f32vetax.js";
3
+ } from "./location-services-55bzypr0.js";
4
4
  import {
5
- Service78
6
- } from "./location-services-q70gtfmt.js";
5
+ Service79
6
+ } from "./location-services-j81s0rnf.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./location-services-00v0w1pn.js";
9
+ Event13
10
+ } from "./location-services-y8nep4sr.js";
11
11
  import {
12
- ID14,
12
+ ID7,
13
13
  MethodID2
14
- } from "./location-services-z5jxp7ad.js";
14
+ } from "./location-services-v0qc9apc.js";
15
15
  import {
16
- ID18
17
- } from "./location-services-m27pyyd3.js";
16
+ ID11
17
+ } from "./location-services-jtp7wgq3.js";
18
18
  import {
19
19
  Family2
20
- } from "./location-services-vvv3thrh.js";
20
+ } from "./location-services-15v2jbpx.js";
21
21
  import {
22
22
  bootstrap2
23
23
  } from "./location-services-pjvnvgmy.js";
@@ -26,8 +26,8 @@ import {
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
28
28
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
29
- var providerID = ID18.make("digitalocean");
30
- var integrationID = ID14.make("digitalocean");
29
+ var providerID = ID11.make("digitalocean");
30
+ var integrationID = ID7.make("digitalocean");
31
31
  var methodID = MethodID2.make("browser");
32
32
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
33
33
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -115,7 +115,7 @@ var oauth = {
115
115
  var DigitalOceanPlugin2 = define({
116
116
  id: "opencode.provider.digitalocean",
117
117
  effect: Effect.fn(function* (ctx) {
118
- const bus = yield* Service78;
118
+ const bus = yield* Service79;
119
119
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
120
120
  const loading = Semaphore.makeUnsafe(1);
121
121
  const loaded = { routers: [] };
@@ -158,7 +158,7 @@ var DigitalOceanPlugin2 = define({
158
158
  }
159
159
  });
160
160
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
161
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
161
+ yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
162
  yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
163
163
  })
164
164
  });
@@ -2,37 +2,37 @@ import {
2
2
  makeUnsafe2
3
3
  } from "./location-services-y71avatq.js";
4
4
  import {
5
- Service78,
6
- node83
7
- } from "./location-services-q70gtfmt.js";
5
+ Service79,
6
+ node84
7
+ } from "./location-services-j81s0rnf.js";
8
8
  import {
9
- Event20,
10
- Service77,
11
- node82
12
- } from "./location-services-00v0w1pn.js";
9
+ Event13,
10
+ Service63,
11
+ node67
12
+ } from "./location-services-y8nep4sr.js";
13
13
  import {
14
- Service69,
15
- node74
16
- } from "./location-services-1s1fbqj5.js";
14
+ Service73,
15
+ node78
16
+ } from "./location-services-e4zvp2f4.js";
17
17
  import {
18
- Service67,
19
- node71
20
- } from "./location-services-g35h8zvz.js";
18
+ Service55,
19
+ node58
20
+ } from "./location-services-4k845csn.js";
21
21
  import {
22
- ID15,
23
- Service76,
24
- node81
25
- } from "./location-services-0aqaye2v.js";
22
+ ID8,
23
+ Service62,
24
+ node66
25
+ } from "./location-services-n4wjpn8n.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
29
  } from "./location-services-kg06axw8.js";
30
30
  import {
31
- ID14,
31
+ ID7,
32
32
  MethodID2,
33
- Service75,
34
- node80
35
- } from "./location-services-z5jxp7ad.js";
33
+ Service61,
34
+ node65
35
+ } from "./location-services-v0qc9apc.js";
36
36
  import {
37
37
  __export
38
38
  } from "./location-services-9rqn6x4v.js";
@@ -41,8 +41,8 @@ import {
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError4,
45
- Options: () => Options4,
44
+ NotFoundError: () => NotFoundError3,
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: () => Service32,
59
+ Service: () => Service23,
60
60
  Status: () => Status2,
61
- Tool: () => Tool3,
61
+ Tool: () => Tool2,
62
62
  ToolCallError: () => ToolCallError2,
63
63
  ToolResult: () => ToolResult2,
64
64
  ToolResultContent: () => ToolResultContent2,
65
- configured: () => configured4,
66
- layer: () => layer15,
67
- node: () => node36
65
+ configured: () => configured2,
66
+ layer: () => layer11,
67
+ node: () => node27
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: ID14.pipe(Schema.optional)
84
+ integrationID: ID7.pipe(Schema.optional)
85
85
  }) {
86
86
  }
87
87
 
@@ -91,7 +91,7 @@ class ServerInstructions2 extends Schema.Class("MCP.ServerInstructions")({
91
91
  }) {
92
92
  }
93
93
 
94
- class Tool3 extends Schema.Class("MCP.Tool")({
94
+ class Tool2 extends Schema.Class("MCP.Tool")({
95
95
  server: ServerName2,
96
96
  name: Schema.String,
97
97
  codemode: Schema.Boolean.pipe(Schema.optional),
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
147
147
  var ResourceContentPart2 = Mcp.ResourceContentPart;
148
148
  var ResourceContent2 = Mcp.ResourceContent;
149
149
 
150
- class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
150
+ class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
151
151
  server: ServerName2
152
152
  }) {
153
153
  get message() {
@@ -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 Service32 extends Context.Service()("@opencode/MCP") {
168
+ class Service23 extends Context.Service()("@opencode/MCP") {
169
169
  }
170
- var Options4 = 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 layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
177
- const location = yield* Service69;
178
- const environment = yield* Service67;
179
- const bus = yield* Service78;
180
- const forms = yield* Service76;
181
- const integration = yield* Service75;
182
- const credentials = yield* Service77;
176
+ var layer11 = (options) => Layer.effect(Service23, Effect.gen(function* () {
177
+ const location = yield* Service73;
178
+ const environment = yield* Service55;
179
+ const bus = yield* Service79;
180
+ const forms = yield* Service62;
181
+ const integration = yield* Service61;
182
+ const credentials = yield* Service63;
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 layer15 = (options) => Layer.effect(Service32, 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 = ID14.make(suffix);
194
+ const integrationID = ID7.make(suffix);
195
195
  entry.integrationID = integrationID;
196
196
  owned.add(integrationID);
197
197
  const methodID = MethodID2.make(suffix);
@@ -216,7 +216,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
216
216
  const name = ServerName2.make(server);
217
217
  const entry = entries.get(name);
218
218
  if (!entry)
219
- return yield* new NotFoundError4({ server: name });
219
+ return yield* new NotFoundError3({ server: name });
220
220
  return { name, entry };
221
221
  });
222
222
  const connectProvider = Effect.fnUntraced(function* (entry) {
@@ -315,7 +315,7 @@ var layer15 = (options) => Layer.effect(Service32, 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 = ID8.create();
319
319
  const key = input.server + "\x00" + input.params.elicitationId;
320
320
  urlElicitations.set(key, formID);
321
321
  return yield* forms.ask({
@@ -358,7 +358,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
358
358
  yield* forms.reply({ id: formID, answer: { [URL_ELICITATION_FIELD_KEY]: true } }).pipe(Effect.ignore);
359
359
  })
360
360
  };
361
- const toTool = (server, entry, def) => new Tool3({
361
+ const toTool = (server, entry, def) => new Tool2({
362
362
  server,
363
363
  name: def.name,
364
364
  codemode: entry.config.codemode,
@@ -433,7 +433,7 @@ var layer15 = (options) => Layer.effect(Service32, 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(Service67, 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(Service55, 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 layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
557
557
  yield* startServer(name, entry);
558
558
  }).pipe(locks.withLock(name));
559
559
  });
560
- fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
560
+ fork(bus.subscribe(Event13.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 layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
587
587
  concurrency: "unbounded",
588
588
  discard: true
589
589
  }));
590
- return Service32.of({
590
+ return Service23.of({
591
591
  transform: state.transform,
592
592
  reload: state.reload,
593
593
  servers: Effect.fn("MCP.servers")(function* () {
@@ -707,14 +707,14 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
707
707
  })
708
708
  });
709
709
  }));
710
- function configured4(options) {
710
+ function configured2(options) {
711
711
  return makeLocationNode({
712
- service: Service32,
713
- layer: layer15(options),
714
- deps: [node74, node71, node83, node81, node80, node82]
712
+ service: Service23,
713
+ layer: layer11(options),
714
+ deps: [node78, node58, node84, node66, node65, node67]
715
715
  });
716
716
  }
717
- var node36 = configured4();
717
+ var node27 = 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, NotFoundError4, ToolCallError2, Service32, Options4, layer15, configured4, node36, exports_mcp4 };
768
+ export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool2, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service23, Options2, layer11, configured2, node27, exports_mcp4 };
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./location-services-12behdsj.js";
2
+ Service80,
3
+ node85
4
+ } from "./location-services-7f4cfqjs.js";
5
5
  import {
6
6
  reserveSequence2,
7
- Service78,
8
- node83
9
- } from "./location-services-q70gtfmt.js";
7
+ Service79,
8
+ node84
9
+ } from "./location-services-j81s0rnf.js";
10
10
  import {
11
11
  SessionEvent2
12
12
  } from "./location-services-ec1grn59.js";
@@ -14,8 +14,8 @@ import {
14
14
  SessionMessage2
15
15
  } from "./location-services-gftt206x.js";
16
16
  import {
17
- update2
18
- } from "./location-services-1dfhrqqs.js";
17
+ update3
18
+ } from "./location-services-0hpxrkyb.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
@@ -33,16 +33,16 @@ import {
33
33
  projectDelivered2,
34
34
  projectCancelled2,
35
35
  projectDeliveryChanged2
36
- } from "./location-services-fbrz957q.js";
36
+ } from "./location-services-6320hmrj.js";
37
37
  import {
38
38
  apply2,
39
39
  initialize3,
40
40
  advanceEpoch2,
41
41
  reset2
42
- } from "./location-services-cq37gk0t.js";
42
+ } from "./location-services-bha4atvq.js";
43
43
  import {
44
44
  initialize2
45
- } from "./location-services-4wdwamv9.js";
45
+ } from "./location-services-tjzgn1x1.js";
46
46
  import {
47
47
  Slug2
48
48
  } from "./location-services-gebd4c9n.js";
@@ -55,7 +55,7 @@ var exports_projector = {};
55
55
  __export(exports_projector, {
56
56
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
57
57
  SessionProjector: () => exports_projector,
58
- node: () => node25
58
+ node: () => node31
59
59
  });
60
60
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
61
61
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -245,7 +245,7 @@ function run(db, event) {
245
245
  updateCompaction: updateMessage,
246
246
  appendMessage
247
247
  };
248
- yield* update2(adapter, event);
248
+ yield* update3(adapter, event);
249
249
  });
250
250
  }
251
251
  function insertMessage(db, event, message) {
@@ -275,8 +275,8 @@ function projectIdle(db, event) {
275
275
  });
276
276
  }
277
277
  var layer = Layer.effectDiscard(Effect.gen(function* () {
278
- const bus = yield* Service78;
279
- const db = (yield* Service79).db;
278
+ const bus = yield* Service79;
279
+ const db = (yield* Service80).db;
280
280
  yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
281
281
  const stored = yield* db.insert(SessionTable2).values({
282
282
  id: event.data.sessionID,
@@ -455,6 +455,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
455
455
  return publishSessionUsage(db, bus, event.data.sessionID);
456
456
  }), Effect.forkScoped({ startImmediately: true }));
457
457
  }));
458
- var node25 = makeGlobalNode({ name: "session-projector", layer, deps: [node83, node84] });
458
+ var node31 = makeGlobalNode({ name: "session-projector", layer, deps: [node84, node85] });
459
459
 
460
- export { SessionAlreadyProjected2, node25, exports_projector };
460
+ export { SessionAlreadyProjected2, node31, exports_projector };
@@ -2,14 +2,14 @@ import {
2
2
  AbsolutePath2
3
3
  } from "./location-services-922hggd3.js";
4
4
  import {
5
- Service69
6
- } from "./location-services-1s1fbqj5.js";
5
+ Service73
6
+ } from "./location-services-e4zvp2f4.js";
7
7
  import {
8
- Service60
9
- } from "./location-services-z7wszd63.js";
8
+ Service36
9
+ } from "./location-services-8ncan3qx.js";
10
10
  import {
11
- Service10
12
- } from "./location-services-b1t5snx6.js";
11
+ Service11
12
+ } from "./location-services-hpdzznjk.js";
13
13
  import {
14
14
  NotFound2
15
15
  } from "./location-services-2a5m3afh.js";
@@ -23,8 +23,8 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service6
27
- } from "./location-services-0387ntk2.js";
26
+ Service7
27
+ } from "./location-services-5dcgz3aq.js";
28
28
  import {
29
29
  __export
30
30
  } from "./location-services-9rqn6x4v.js";
@@ -32,17 +32,17 @@ import {
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input3,
36
- Plugin: () => Plugin4,
35
+ Input: () => Input8,
36
+ Plugin: () => Plugin23,
37
37
  ReadTool: () => exports_read,
38
- name: () => name3,
39
- toModelContent: () => toModelContent3
38
+ name: () => name8,
39
+ toModelContent: () => toModelContent4
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name3 = "read";
45
+ var name8 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input3 = LocationInput;
56
+ var Input8 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin4 = {
58
+ var Plugin23 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service6;
62
- const access = yield* Service60;
63
- const sessionInstructions = yield* Service10;
61
+ const reader = yield* Service7;
62
+ const access = yield* Service36;
63
+ const sessionInstructions = yield* Service11;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service69;
65
+ const location = yield* Service73;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name3,
67
+ name: name8,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input3,
70
+ input: Input8,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin4 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent3(result.path, input.offset, result.output),
115
+ content: toModelContent4(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent3 = (path, offset, output) => {
147
+ var toModelContent4 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -179,4 +179,4 @@ var toModelContent3 = (path, offset, output) => {
179
179
  `);
180
180
  };
181
181
 
182
- export { name3, Input3, Plugin4, toModelContent3, exports_read };
182
+ export { name8, Input8, Plugin23, toModelContent4, exports_read };