@opencode/core 0.0.0-dev-19529 → 0.0.0-dev-19531

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{credential-3gdxf9my.js → model-resolver-031kg769.js} +18 -18
  9. package/dist/chunks/{credential-rf48t08f.js → model-resolver-05k3a4yp.js} +2 -2
  10. package/dist/chunks/{credential-4y66k410.js → model-resolver-0ajdgxne.js} +5 -5
  11. package/dist/chunks/{credential-xbwpbga0.js → model-resolver-0dy66kxe.js} +11 -11
  12. package/dist/chunks/{credential-wayj738j.js → model-resolver-0fnjefvz.js} +39 -39
  13. package/dist/chunks/{credential-6anwy9fs.js → model-resolver-0gaj4617.js} +6 -6
  14. package/dist/chunks/{credential-ps0k9z1z.js → model-resolver-0gjxn4me.js} +35 -35
  15. package/dist/chunks/{credential-65a5j36j.js → model-resolver-0hxph87b.js} +11 -11
  16. package/dist/chunks/model-resolver-0mesazry.js +4 -0
  17. package/dist/chunks/{credential-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  18. package/dist/chunks/{credential-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
  19. package/dist/chunks/{credential-qtkzm0vp.js → model-resolver-0r684n0p.js} +8 -8
  20. package/dist/chunks/{credential-6qbmmse8.js → model-resolver-13h6pnmt.js} +50 -50
  21. package/dist/chunks/{credential-f2n192rq.js → model-resolver-1acjjqhc.js} +4 -4
  22. package/dist/chunks/{credential-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{credential-k6q20m6t.js → model-resolver-1j5g3f90.js} +32 -32
  24. package/dist/chunks/{credential-bzy4s6e0.js → model-resolver-1snz0n3v.js} +83 -83
  25. package/dist/chunks/{credential-1ygqh575.js → model-resolver-1ygqh575.js} +2 -2
  26. package/dist/chunks/{credential-b3v47ypf.js → model-resolver-20erkkh9.js} +16 -16
  27. package/dist/chunks/{credential-21r38tys.js → model-resolver-21r38tys.js} +1 -1
  28. package/dist/chunks/{credential-2402vzrj.js → model-resolver-2402vzrj.js} +1 -1
  29. package/dist/chunks/{credential-6f89xh0p.js → model-resolver-28gfvtek.js} +47 -47
  30. package/dist/chunks/{credential-29x78va6.js → model-resolver-29x78va6.js} +2 -2
  31. package/dist/chunks/{credential-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{credential-3hjzpa7c.js → model-resolver-2rcpqfm0.js} +9 -9
  33. package/dist/chunks/{credential-w9hf3j60.js → model-resolver-2xbd7nbt.js} +20 -20
  34. package/dist/chunks/{credential-37vne506.js → model-resolver-33yp9811.js} +9 -9
  35. package/dist/chunks/{credential-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{credential-yf17ygct.js → model-resolver-3h8hqytd.js} +13 -13
  37. package/dist/chunks/{credential-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{credential-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{credential-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{credential-bpqahvg7.js → model-resolver-4334gj7r.js} +8 -8
  41. package/dist/chunks/{credential-vs4ph552.js → model-resolver-43thsgmw.js} +20 -20
  42. package/dist/chunks/{credential-w8z81xec.js → model-resolver-44xcyhkw.js} +16 -16
  43. package/dist/chunks/{credential-87deq66t.js → model-resolver-4jk0qxj4.js} +4 -4
  44. package/dist/chunks/{credential-fs6bp36w.js → model-resolver-4q81s1cb.js} +5 -5
  45. package/dist/chunks/{credential-t2q9as2k.js → model-resolver-4s08xxae.js} +5 -5
  46. package/dist/chunks/{credential-ycxn0eaf.js → model-resolver-4t19f8k2.js} +32 -32
  47. package/dist/chunks/{credential-1q5awywt.js → model-resolver-4v4bfvma.js} +5 -5
  48. package/dist/chunks/model-resolver-4v7qdvcn.js +18 -0
  49. package/dist/chunks/{credential-a2zg7mdw.js → model-resolver-4xe2p835.js} +11 -11
  50. package/dist/chunks/{credential-6ghnv2dz.js → model-resolver-52p5p480.js} +33 -33
  51. package/dist/chunks/{credential-a1bz86dw.js → model-resolver-5c4hm403.js} +3 -3
  52. package/dist/chunks/{credential-n9ke8tjh.js → model-resolver-5d4cs5xf.js} +11 -11
  53. package/dist/chunks/{credential-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  54. package/dist/chunks/{credential-dc6tzc5b.js → model-resolver-5faec82q.js} +7 -7
  55. package/dist/chunks/{credential-fb0qyvep.js → model-resolver-5kh0wb3v.js} +13 -13
  56. package/dist/chunks/{credential-5843mwj1.js → model-resolver-5s8kkgq1.js} +89 -89
  57. package/dist/chunks/{credential-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{credential-fschjpvb.js → model-resolver-5z63511r.js} +9 -9
  59. package/dist/chunks/{credential-kmgatmpx.js → model-resolver-61b2qq6z.js} +22 -22
  60. package/dist/chunks/{credential-137edvbp.js → model-resolver-65mwty8e.js} +7 -7
  61. package/dist/chunks/{credential-669tq793.js → model-resolver-669tq793.js} +1 -1
  62. package/dist/chunks/{credential-h51gdt4r.js → model-resolver-66e7kvmh.js} +15 -15
  63. package/dist/chunks/{credential-zfcp8yb0.js → model-resolver-6jswab00.js} +3 -3
  64. package/dist/chunks/{credential-jg4wsava.js → model-resolver-6jzjxba3.js} +15 -15
  65. package/dist/chunks/{credential-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
  66. package/dist/chunks/{credential-vx1b4c7n.js → model-resolver-6n5283ys.js} +14 -14
  67. package/dist/chunks/{credential-tj0j24wc.js → model-resolver-6yxmp89e.js} +10 -10
  68. package/dist/chunks/{credential-rb5q7yxt.js → model-resolver-6ze89g9b.js} +5 -5
  69. package/dist/chunks/{credential-71q4at8m.js → model-resolver-71q4at8m.js} +1 -1
  70. package/dist/chunks/{credential-57kf9cn6.js → model-resolver-71t2waba.js} +11 -11
  71. package/dist/chunks/{credential-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{credential-7dqw4kz8.js → model-resolver-7dqw4kz8.js} +1 -1
  73. package/dist/chunks/{credential-f1zbxv7x.js → model-resolver-7xhhf2aw.js} +6 -6
  74. package/dist/chunks/{credential-csf2jhsg.js → model-resolver-88sz8qcd.js} +4 -4
  75. package/dist/chunks/{credential-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  76. package/dist/chunks/{credential-e518rnqz.js → model-resolver-8efzajgs.js} +15 -15
  77. package/dist/chunks/{credential-trn0ebkj.js → model-resolver-8h4a5z95.js} +2 -2
  78. package/dist/chunks/{credential-ggh4w9bp.js → model-resolver-8nghd9xh.js} +4 -4
  79. package/dist/chunks/{credential-7tjcxw0h.js → model-resolver-8xp7je32.js} +15 -15
  80. package/dist/chunks/{credential-zkcb3wjz.js → model-resolver-9a40xa2n.js} +33 -33
  81. package/dist/chunks/{credential-qy4w3bxg.js → model-resolver-9avrpg3p.js} +22 -22
  82. package/dist/chunks/{credential-shh6fz4q.js → model-resolver-9e3vcssh.js} +4 -4
  83. package/dist/chunks/{credential-7qr38kzh.js → model-resolver-9h8yyxwx.js} +18 -18
  84. package/dist/chunks/model-resolver-9heqp6jx.js +247 -0
  85. package/dist/chunks/{credential-s8evpm24.js → model-resolver-9s6q7dfh.js} +6 -6
  86. package/dist/chunks/{credential-2bt6bea8.js → model-resolver-9tw56fnr.js} +9 -9
  87. package/dist/chunks/{credential-5tc6z34b.js → model-resolver-9z5hcwep.js} +16 -16
  88. package/dist/chunks/{credential-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  89. package/dist/chunks/model-resolver-aed8g19c.js +26 -0
  90. package/dist/chunks/{credential-1xhwvcn8.js → model-resolver-aeex8way.js} +24 -24
  91. package/dist/chunks/{credential-xy7r7wb6.js → model-resolver-aexrjf4q.js} +24 -24
  92. package/dist/chunks/{credential-5rhtwdx6.js → model-resolver-afrwk4ch.js} +8 -8
  93. package/dist/chunks/{credential-kn9ky0zj.js → model-resolver-aryerr4z.js} +32 -32
  94. package/dist/chunks/{credential-h727evg8.js → model-resolver-atgag4yh.js} +38 -38
  95. package/dist/chunks/{credential-6nvz1bm7.js → model-resolver-b0xvdmck.js} +11 -11
  96. package/dist/chunks/{credential-3jp54z3r.js → model-resolver-b3wkxfg9.js} +1 -1
  97. package/dist/chunks/{credential-2hkwsqj8.js → model-resolver-b5nae5wy.js} +34 -34
  98. package/dist/chunks/{credential-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  99. package/dist/chunks/{credential-h7tghspc.js → model-resolver-b7pbz13w.js} +23 -23
  100. package/dist/chunks/{credential-w4whswvt.js → model-resolver-bdv0prqb.js} +18 -18
  101. package/dist/chunks/{credential-c2jb4sd6.js → model-resolver-bs3vba9y.js} +19 -19
  102. package/dist/chunks/{credential-zgsse2vy.js → model-resolver-c4c5wrfd.js} +1 -1
  103. package/dist/chunks/{credential-1e9w7pgh.js → model-resolver-c68b4qab.js} +10 -10
  104. package/dist/chunks/{credential-824g01v9.js → model-resolver-cnr77sqv.js} +10 -10
  105. package/dist/chunks/{credential-y4tdvyse.js → model-resolver-cpwgm14c.js} +18 -18
  106. package/dist/chunks/{credential-6bsje7ws.js → model-resolver-csdaj16z.js} +3 -3
  107. package/dist/chunks/{credential-ep4amt4t.js → model-resolver-ctmnhs0f.js} +278 -278
  108. package/dist/chunks/{credential-4f3mwee9.js → model-resolver-d0as5ky3.js} +4 -4
  109. package/dist/chunks/{credential-xpj3gpes.js → model-resolver-d8dbj37k.js} +9 -9
  110. package/dist/chunks/{credential-eraanh1f.js → model-resolver-da6kr1wx.js} +6 -6
  111. package/dist/chunks/{credential-p8dxdehy.js → model-resolver-ddd0tqrv.js} +21 -21
  112. package/dist/chunks/{credential-qq11w61w.js → model-resolver-dfe8djrf.js} +4 -4
  113. package/dist/chunks/{credential-g59fyfvz.js → model-resolver-dfst59nt.js} +16 -16
  114. package/dist/chunks/{credential-ajpz4c85.js → model-resolver-dj2gndk9.js} +16 -16
  115. package/dist/chunks/{credential-8p4f9s12.js → model-resolver-dj2t23y0.js} +2 -2
  116. package/dist/chunks/{credential-784ptbr4.js → model-resolver-dr6k78h1.js} +12 -12
  117. package/dist/chunks/{credential-f0q7zmqq.js → model-resolver-drwkn14p.js} +24 -24
  118. package/dist/chunks/{credential-fs1f3z87.js → model-resolver-dwe4spzd.js} +3 -3
  119. package/dist/chunks/{credential-mgxxs7qr.js → model-resolver-e2tc44kv.js} +9 -9
  120. package/dist/chunks/{credential-dpk4wwe7.js → model-resolver-e5z2yc0m.js} +15 -15
  121. package/dist/chunks/{credential-52brkwct.js → model-resolver-e9wvc5tf.js} +3 -3
  122. package/dist/chunks/{credential-gzfav7zd.js → model-resolver-ebbn7jdz.js} +8 -8
  123. package/dist/chunks/{credential-m1bsv6jj.js → model-resolver-eqb5zhc6.js} +39 -39
  124. package/dist/chunks/{credential-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  125. package/dist/chunks/{credential-bn33stbn.js → model-resolver-f486cjd7.js} +9 -9
  126. package/dist/chunks/{credential-pmv4bga1.js → model-resolver-fat0n13h.js} +6 -6
  127. package/dist/chunks/{credential-j320jmqx.js → model-resolver-fg61w092.js} +18 -18
  128. package/dist/chunks/{credential-k54dv39c.js → model-resolver-frynmqdf.js} +4 -4
  129. package/dist/chunks/{credential-z8gz5v71.js → model-resolver-fw6f7ywv.js} +17 -17
  130. package/dist/chunks/{credential-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
  131. package/dist/chunks/{credential-az27rkrd.js → model-resolver-fy0w211v.js} +3 -3
  132. package/dist/chunks/{credential-rw56aqa4.js → model-resolver-fyekc6s2.js} +11 -11
  133. package/dist/chunks/{credential-g500fjm7.js → model-resolver-fz9at2d6.js} +1 -1
  134. package/dist/chunks/{credential-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  135. package/dist/chunks/{credential-fkd2ewj5.js → model-resolver-gha63455.js} +12 -12
  136. package/dist/chunks/{credential-m7ze9y9x.js → model-resolver-gkdyp9ys.js} +6 -6
  137. package/dist/chunks/{credential-55wx515q.js → model-resolver-gkytqtkj.js} +12 -12
  138. package/dist/chunks/{credential-h03wrkyp.js → model-resolver-h03wrkyp.js} +2 -2
  139. package/dist/chunks/{credential-a402s24a.js → model-resolver-h2fnwfb0.js} +11 -11
  140. package/dist/chunks/{credential-h7y0pvw8.js → model-resolver-h5knn3sc.js} +5 -5
  141. package/dist/chunks/{credential-bcw3k3x0.js → model-resolver-h6nde2e3.js} +13 -13
  142. package/dist/chunks/{credential-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  143. package/dist/chunks/{credential-znsaqkh0.js → model-resolver-h7dmbe3e.js} +6 -6
  144. package/dist/chunks/{credential-gy4p1xkh.js → model-resolver-h8frrzh0.js} +1 -1
  145. package/dist/chunks/{credential-32k62b7w.js → model-resolver-hahgrcae.js} +18 -18
  146. package/dist/chunks/{credential-f828m53h.js → model-resolver-hdnk95c8.js} +2 -2
  147. package/dist/chunks/{credential-kfef4ady.js → model-resolver-hfkyrasj.js} +54 -54
  148. package/dist/chunks/{credential-nhy5jxhy.js → model-resolver-hjt4xg1x.js} +4 -4
  149. package/dist/chunks/{credential-xw0r27ex.js → model-resolver-hn57h045.js} +4 -4
  150. package/dist/chunks/{credential-aybmp5ad.js → model-resolver-j3h8c2cp.js} +20 -20
  151. package/dist/chunks/{credential-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  152. package/dist/chunks/{credential-f32czd11.js → model-resolver-j7867dn5.js} +8 -8
  153. package/dist/chunks/{credential-j6s0ns1m.js → model-resolver-j8b7kmqb.js} +23 -23
  154. package/dist/chunks/{credential-h2bhmd9t.js → model-resolver-jakagae6.js} +25 -25
  155. package/dist/chunks/{credential-kyktj0vd.js → model-resolver-jd00bmkr.js} +6 -6
  156. package/dist/chunks/{credential-yt0fqk68.js → model-resolver-jwbqhvyy.js} +5 -5
  157. package/dist/chunks/{credential-30e04pyd.js → model-resolver-jyfdqx07.js} +18 -18
  158. package/dist/chunks/{credential-kead0yev.js → model-resolver-k06qmaw9.js} +19 -19
  159. package/dist/chunks/{credential-vj2t5vfg.js → model-resolver-k58qhvzp.js} +10 -10
  160. package/dist/chunks/{credential-mxfg1vns.js → model-resolver-kck439bj.js} +30 -30
  161. package/dist/chunks/{credential-fnjg1z38.js → model-resolver-kew454ha.js} +26 -26
  162. package/dist/chunks/{credential-88fd6wt9.js → model-resolver-kfz2kx3w.js} +10 -10
  163. package/dist/chunks/{credential-kg06axw8.js → model-resolver-kg06axw8.js} +1 -1
  164. package/dist/chunks/{credential-nnn8deah.js → model-resolver-knyfvgyf.js} +18 -18
  165. package/dist/chunks/{credential-tj02xv2p.js → model-resolver-kp92jgaq.js} +26 -26
  166. package/dist/chunks/{credential-j7knmneh.js → model-resolver-kt2k2fvy.js} +16 -16
  167. package/dist/chunks/{credential-cfpkc3c9.js → model-resolver-m0jqrx5p.js} +2 -2
  168. package/dist/chunks/{credential-y4zgnm30.js → model-resolver-m9199dx3.js} +43 -43
  169. package/dist/chunks/{credential-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  170. package/dist/chunks/{credential-jbjr1a4g.js → model-resolver-marnn1hp.js} +9 -9
  171. package/dist/chunks/{credential-kp963v2v.js → model-resolver-mb9syhn1.js} +23 -23
  172. package/dist/chunks/{credential-7t3evy4q.js → model-resolver-mcdc48yx.js} +9 -9
  173. package/dist/chunks/{credential-gfpqwj54.js → model-resolver-mdenrfp6.js} +43 -43
  174. package/dist/chunks/{credential-rc3vhjpg.js → model-resolver-mfka0yjk.js} +8 -8
  175. package/dist/chunks/{credential-vkt5fbj2.js → model-resolver-mgp54d0b.js} +8 -8
  176. package/dist/chunks/{credential-mhkvc446.js → model-resolver-mhkvc446.js} +1 -1
  177. package/dist/chunks/{credential-thqjg0hd.js → model-resolver-mjvxm5h6.js} +4 -4
  178. package/dist/chunks/{credential-f3hm7x99.js → model-resolver-mn7ssvtj.js} +8 -8
  179. package/dist/chunks/{credential-jfqtm2ew.js → model-resolver-mtq6xxnx.js} +7 -7
  180. package/dist/chunks/{credential-g9d49rzx.js → model-resolver-mwmpf2dr.js} +20 -20
  181. package/dist/chunks/{credential-anjj55s4.js → model-resolver-n03j43sk.js} +3 -3
  182. package/dist/chunks/{credential-1eft6v2a.js → model-resolver-n2bk7ja5.js} +7 -7
  183. package/dist/chunks/{credential-0qbfsv0x.js → model-resolver-n2dbyk7b.js} +4 -4
  184. package/dist/chunks/{credential-dx6t9n3e.js → model-resolver-n4d4r70p.js} +47 -47
  185. package/dist/chunks/{credential-mche7wjp.js → model-resolver-n562g2hd.js} +4 -4
  186. package/dist/chunks/{credential-04k593ph.js → model-resolver-nabxe85v.js} +37 -37
  187. package/dist/chunks/{credential-4mp12xfm.js → model-resolver-ndade498.js} +14 -14
  188. package/dist/chunks/{credential-hy1g3bgf.js → model-resolver-nghrh7na.js} +1 -1
  189. package/dist/chunks/{credential-rsb1fe67.js → model-resolver-njysne83.js} +5 -5
  190. package/dist/chunks/{credential-k2v7tfaw.js → model-resolver-nn5tgv9e.js} +23 -23
  191. package/dist/chunks/{credential-025stnsb.js → model-resolver-nv7590vc.js} +4 -4
  192. package/dist/chunks/{credential-383y241e.js → model-resolver-nvsyq3ba.js} +48 -48
  193. package/dist/chunks/{credential-cnyg1n0p.js → model-resolver-nw25ebmp.js} +13 -13
  194. package/dist/chunks/{credential-g1r5npbb.js → model-resolver-nwjtzbvw.js} +10 -10
  195. package/dist/chunks/{credential-adtgbey4.js → model-resolver-p15qfr9z.js} +11 -11
  196. package/dist/chunks/{credential-34ytdzas.js → model-resolver-p1pr2h1d.js} +1 -1
  197. package/dist/chunks/{credential-pgt8aa90.js → model-resolver-p2vh9553.js} +4 -4
  198. package/dist/chunks/{credential-v0rc55wa.js → model-resolver-p6s3kjn1.js} +11 -11
  199. package/dist/chunks/{credential-sazt4qeq.js → model-resolver-p96r38ce.js} +21 -21
  200. package/dist/chunks/{credential-4y8npecy.js → model-resolver-p97yj8zx.js} +24 -24
  201. package/dist/chunks/{credential-s3939hvd.js → model-resolver-pch53j0k.js} +3 -3
  202. package/dist/chunks/{credential-jrrn2k62.js → model-resolver-pck3w1ab.js} +4 -4
  203. package/dist/chunks/{credential-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{credential-vd0a34xb.js → model-resolver-pka8c3mw.js} +6 -6
  205. package/dist/chunks/{credential-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  206. package/dist/chunks/{credential-fqjr7ce9.js → model-resolver-pz6n093v.js} +28 -28
  207. package/dist/chunks/{credential-3nswzzay.js → model-resolver-q78vsr09.js} +12 -12
  208. package/dist/chunks/{credential-zpn9qnw3.js → model-resolver-q8k6t814.js} +4 -4
  209. package/dist/chunks/{credential-90dkwxdw.js → model-resolver-qfzde7bh.js} +6 -6
  210. package/dist/chunks/{credential-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  211. package/dist/chunks/{credential-tyzndn2s.js → model-resolver-qvq5ww91.js} +21 -21
  212. package/dist/chunks/{credential-t2pqv1sz.js → model-resolver-r3aj5peb.js} +20 -20
  213. package/dist/chunks/{credential-h8wfmpj2.js → model-resolver-r5wr7fgd.js} +17 -17
  214. package/dist/chunks/{credential-r9mregkx.js → model-resolver-r9mregkx.js} +2 -2
  215. package/dist/chunks/{credential-mdcergxs.js → model-resolver-rjxbe5xz.js} +10 -10
  216. package/dist/chunks/{credential-zeh9ct20.js → model-resolver-rq775frq.js} +2 -2
  217. package/dist/chunks/{credential-8yey56tc.js → model-resolver-rsj9vhs1.js} +24 -24
  218. package/dist/chunks/{credential-4faqw2br.js → model-resolver-rwa5eky2.js} +28 -28
  219. package/dist/chunks/{credential-108vvwmb.js → model-resolver-s24p5rny.js} +31 -31
  220. package/dist/chunks/{credential-s4enseaf.js → model-resolver-s4enseaf.js} +2 -2
  221. package/dist/chunks/{credential-qzj2vqtz.js → model-resolver-s6z2946v.js} +17 -17
  222. package/dist/chunks/{credential-yyfky2bj.js → model-resolver-s95j2a00.js} +1 -1
  223. package/dist/chunks/{credential-zh5vq5ax.js → model-resolver-sbqaqa2h.js} +15 -15
  224. package/dist/chunks/{credential-vkxpz7g2.js → model-resolver-sdbkfcvv.js} +4 -4
  225. package/dist/chunks/{credential-njr1pezb.js → model-resolver-sdfkf7b9.js} +6 -6
  226. package/dist/chunks/{credential-ck93fedy.js → model-resolver-sp6z5kbv.js} +30 -30
  227. package/dist/chunks/{credential-cxfsjqk4.js → model-resolver-sr987mfq.js} +14 -14
  228. package/dist/chunks/{credential-bdx9dffp.js → model-resolver-swjfbv5x.js} +32 -32
  229. package/dist/chunks/{credential-5kptn8c0.js → model-resolver-t0x5rdq8.js} +9 -9
  230. package/dist/chunks/{credential-2qp6y8xf.js → model-resolver-t2vpa3bp.js} +5 -5
  231. package/dist/chunks/{credential-0gdmqesm.js → model-resolver-t550f9t1.js} +4 -4
  232. package/dist/chunks/{credential-mc5fskgh.js → model-resolver-t8cy7fff.js} +11 -11
  233. package/dist/chunks/{credential-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{credential-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{credential-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  236. package/dist/chunks/{credential-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
  237. package/dist/chunks/{credential-m5kafssk.js → model-resolver-txefqv94.js} +58 -58
  238. package/dist/chunks/{credential-w90cbs64.js → model-resolver-txnj3dzg.js} +4 -4
  239. package/dist/chunks/{credential-pym3tcck.js → model-resolver-txtwx9zc.js} +22 -22
  240. package/dist/chunks/{credential-ff0svapt.js → model-resolver-tyqkzprt.js} +2 -2
  241. package/dist/chunks/{credential-92hfss88.js → model-resolver-tyswbbjp.js} +25 -25
  242. package/dist/chunks/{credential-jv01nqvq.js → model-resolver-v5hpcsb0.js} +5 -5
  243. package/dist/chunks/{credential-pgy0xeev.js → model-resolver-v71jvb7r.js} +5 -5
  244. package/dist/chunks/{credential-deerssnd.js → model-resolver-v8xf7pck.js} +20 -20
  245. package/dist/chunks/{credential-qfvgma3d.js → model-resolver-vb7d7sbc.js} +30 -30
  246. package/dist/chunks/{credential-vparcg9p.js → model-resolver-vcrpr27f.js} +7 -7
  247. package/dist/chunks/{credential-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  248. package/dist/chunks/{credential-xzv329k9.js → model-resolver-vq838htm.js} +9 -9
  249. package/dist/chunks/{credential-axmvebxj.js → model-resolver-vsp1fds9.js} +4 -4
  250. package/dist/chunks/{credential-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{credential-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{credential-w4zny49r.js → model-resolver-w4zny49r.js} +1 -1
  253. package/dist/chunks/{credential-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  254. package/dist/chunks/{credential-6gbp1941.js → model-resolver-wg7eakzt.js} +4 -4
  255. package/dist/chunks/{credential-tcjd441j.js → model-resolver-wn02ky47.js} +8 -8
  256. package/dist/chunks/{credential-j7m6ehyz.js → model-resolver-wpv7jc2z.js} +15 -15
  257. package/dist/chunks/{credential-phwwwv48.js → model-resolver-wq487jqz.js} +15 -15
  258. package/dist/chunks/{credential-djmr82th.js → model-resolver-x0kc6c96.js} +20 -20
  259. package/dist/chunks/{credential-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{credential-c5r41xyy.js → model-resolver-x21rsz6v.js} +16 -16
  261. package/dist/chunks/{credential-4jsr3np4.js → model-resolver-x8y7wgxd.js} +9 -9
  262. package/dist/chunks/{credential-jwx4y25k.js → model-resolver-xhmq8qgk.js} +9 -9
  263. package/dist/chunks/{credential-k7ckb9zr.js → model-resolver-xnbrvajn.js} +9 -9
  264. package/dist/chunks/{credential-cbc0s4e1.js → model-resolver-xsx6sc1v.js} +168 -168
  265. package/dist/chunks/{credential-0k50dt3x.js → model-resolver-y0vt1sxg.js} +10 -10
  266. package/dist/chunks/{credential-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{credential-y71avatq.js → model-resolver-y71avatq.js} +1 -1
  268. package/dist/chunks/{credential-356gzxb5.js → model-resolver-yaga2gvt.js} +16 -16
  269. package/dist/chunks/{credential-a2e86qtx.js → model-resolver-yjwqdqt2.js} +25 -25
  270. package/dist/chunks/{credential-vqeat92e.js → model-resolver-ymbkr1tg.js} +43 -43
  271. package/dist/chunks/{credential-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{credential-vv2ntgne.js → model-resolver-yvegcnp8.js} +29 -29
  273. package/dist/chunks/{credential-th5km1p3.js → model-resolver-yyb7tjpc.js} +5 -5
  274. package/dist/chunks/{credential-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{credential-1y31sz3y.js → model-resolver-z1vbyafm.js} +10 -10
  276. package/dist/chunks/{credential-jvc6geyb.js → model-resolver-z6qpxre5.js} +20 -20
  277. package/dist/chunks/{credential-jjsk41ar.js → model-resolver-z8pjpgj2.js} +22 -22
  278. package/dist/chunks/{credential-8dmhhx1w.js → model-resolver-zaz4910g.js} +24 -24
  279. package/dist/chunks/{credential-tv8vkxw9.js → model-resolver-zckvtzsb.js} +8 -8
  280. package/dist/chunks/{credential-x6we754t.js → model-resolver-zf9fe0vx.js} +40 -40
  281. package/dist/chunks/{credential-3pwgdhn9.js → model-resolver-zjxwcf81.js} +12 -12
  282. package/dist/chunks/{credential-3c04bhmx.js → model-resolver-zjzag8dm.js} +12 -12
  283. package/dist/chunks/{credential-5vbbbddv.js → model-resolver-zmhtgr1a.js} +22 -22
  284. package/dist/chunks/{credential-e9h89vp0.js → model-resolver-zpp9mfbs.js} +24 -24
  285. package/dist/chunks/{credential-5x0qqm75.js → model-resolver-zqfm6xas.js} +5 -5
  286. package/dist/chunks/{credential-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{credential-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +84 -84
  292. package/dist/config/discovery.js +78 -78
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +116 -116
  296. package/dist/config/plugin/command.js +208 -208
  297. package/dist/config/plugin/compaction.js +156 -156
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +118 -118
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +86 -86
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +115 -115
  305. package/dist/config/plugin/provider.js +114 -114
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +117 -117
  308. package/dist/config/plugin/skill-file.js +98 -98
  309. package/dist/config/plugin/skill.js +135 -135
  310. package/dist/config/plugin/snapshot.js +114 -114
  311. package/dist/config/plugin/source.js +116 -116
  312. package/dist/config/plugin/tool-output.js +118 -118
  313. package/dist/config/plugin/websearch.js +114 -114
  314. package/dist/config/plugin/worktree.js +119 -119
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +116 -116
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +82 -82
  320. package/dist/database/database.js +65 -65
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +75 -75
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -362
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +89 -89
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +91 -91
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +69 -69
  409. package/dist/file-access.js +100 -100
  410. package/dist/file-mutation.js +90 -90
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +217 -217
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +100 -100
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +11 -11
  424. package/dist/filesystem.js +97 -97
  425. package/dist/form.js +81 -81
  426. package/dist/formatter/builtins.js +2 -2
  427. package/dist/formatter.js +85 -85
  428. package/dist/generate.js +92 -92
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +3 -3
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +353 -353
  454. package/dist/instruction-discovery.js +82 -82
  455. package/dist/instructions/builtins.js +83 -83
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +85 -85
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +131 -131
  463. package/dist/location-mutation.js +100 -100
  464. package/dist/location-service-map.js +84 -84
  465. package/dist/location-services.js +350 -350
  466. package/dist/location.js +83 -83
  467. package/dist/mcp/client.js +87 -87
  468. package/dist/mcp/index.js +104 -104
  469. package/dist/mcp/instructions.js +123 -123
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +86 -86
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +3 -3
  474. package/dist/model-resolver.js +87 -87
  475. package/dist/model.js +6 -6
  476. package/dist/models-dev.js +85 -85
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +79 -79
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +105 -105
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +85 -85
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -74
  486. package/dist/plugin/agent.js +98 -98
  487. package/dist/plugin/command.js +95 -95
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +214 -214
  490. package/dist/plugin/instance.js +1 -1
  491. package/dist/plugin/internal.js +324 -324
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +76 -76
  494. package/dist/plugin/module.js +5 -5
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +98 -98
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/azure.js +119 -119
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +115 -115
  506. package/dist/plugin/provider/digitalocean.js +80 -80
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +81 -81
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +77 -77
  515. package/dist/plugin/provider/lmstudio.js +118 -118
  516. package/dist/plugin/provider/modal.js +80 -80
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +118 -118
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +81 -81
  521. package/dist/plugin/provider/opencode.js +80 -80
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +116 -116
  531. package/dist/plugin/provider/xai.js +78 -78
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +157 -157
  534. package/dist/plugin/sdk.js +73 -73
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +132 -132
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +339 -339
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +81 -81
  542. package/dist/plugin/vcs/hg.js +81 -81
  543. package/dist/plugin/warming.js +111 -111
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +2 -2
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +225 -225
  552. package/dist/project/schema.js +6 -6
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +86 -86
  555. package/dist/provider.js +5 -5
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +3 -3
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +93 -93
  560. package/dist/reference/instructions.js +85 -85
  561. package/dist/reference.js +87 -87
  562. package/dist/repository-cache.js +77 -77
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +92 -92
  566. package/dist/rpc.js +82 -82
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +73 -73
  569. package/dist/session/compaction.js +128 -128
  570. package/dist/session/context.js +148 -148
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +217 -217
  575. package/dist/session/execution.js +123 -123
  576. package/dist/session/generate.js +149 -149
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +85 -85
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +78 -78
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +89 -89
  583. package/dist/session/message-updater.js +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +114 -114
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +127 -127
  588. package/dist/session/projector.js +85 -85
  589. package/dist/session/prompt.js +101 -101
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +86 -86
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +226 -226
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +87 -87
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +109 -109
  599. package/dist/session/runner/step.js +120 -120
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +170 -170
  603. package/dist/session/shell.js +132 -132
  604. package/dist/session/skill.js +99 -99
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +72 -72
  607. package/dist/session/store.js +84 -84
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +204 -204
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +148 -148
  612. package/dist/session/to-session-error.js +108 -108
  613. package/dist/session/transfer.js +213 -213
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +214 -214
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +9 -9
  620. package/dist/shell.js +134 -134
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +103 -103
  623. package/dist/skill.js +104 -104
  624. package/dist/snapshot.js +85 -85
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +122 -122
  629. package/dist/tool/plugin/edit.js +116 -116
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +119 -119
  632. package/dist/tool/plugin/grep.js +121 -121
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +116 -116
  635. package/dist/tool/plugin/question.js +101 -101
  636. package/dist/tool/plugin/read.js +122 -122
  637. package/dist/tool/plugin/shell.js +211 -211
  638. package/dist/tool/plugin/skill.js +107 -107
  639. package/dist/tool/plugin/subagent.js +215 -215
  640. package/dist/tool/plugin/webfetch.js +106 -106
  641. package/dist/tool/plugin/websearch.js +108 -108
  642. package/dist/tool/plugin/write.js +118 -118
  643. package/dist/tool/read-filesystem.js +93 -93
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +11 -11
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +5 -5
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/formatter.js +7 -7
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +5 -5
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +1 -1
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +86 -86
  674. package/dist/websearch.js +83 -83
  675. package/dist/wellknown/plugin.js +75 -75
  676. package/dist/wellknown.js +80 -80
  677. package/dist/workspace/driver.js +3 -3
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +77 -77
  680. package/dist/worktree/directory.js +4 -4
  681. package/dist/worktree/git.js +7 -7
  682. package/dist/worktree/refresh.js +342 -342
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +90 -90
  685. package/package.json +8 -8
  686. package/dist/chunks/credential-6kdq0pjd.js +0 -4
  687. package/dist/chunks/credential-n7dsh0d3.js +0 -26
  688. package/dist/chunks/credential-p2h6zvwc.js +0 -18
  689. package/dist/chunks/credential-rjd8bv89.js +0 -247
  690. /package/dist/chunks/{credential-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{credential-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{credential-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{credential-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{credential-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{credential-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{credential-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{credential-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{credential-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{credential-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  700. /package/dist/chunks/{credential-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{credential-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{credential-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{credential-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{credential-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{credential-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{credential-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{credential-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  708. /package/dist/chunks/{credential-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{credential-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  710. /package/dist/chunks/{credential-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{credential-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{credential-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  713. /package/dist/chunks/{credential-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{credential-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{credential-922hggd3.js → model-resolver-922hggd3.js} +0 -0
  716. /package/dist/chunks/{credential-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{credential-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{credential-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{credential-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{credential-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{credential-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{credential-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{credential-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{credential-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{credential-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{credential-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{credential-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{credential-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{credential-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{credential-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{credential-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  732. /package/dist/chunks/{credential-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{credential-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{credential-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{credential-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{credential-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{credential-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{credential-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{credential-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{credential-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{credential-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{credential-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{credential-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{credential-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  745. /package/dist/chunks/{credential-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{credential-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  747. /package/dist/chunks/{credential-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{credential-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  749. /package/dist/chunks/{credential-hrnqkpcd.js → model-resolver-hrnqkpcd.js} +0 -0
  750. /package/dist/chunks/{credential-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{credential-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{credential-j935v87r.js → model-resolver-j935v87r.js} +0 -0
  753. /package/dist/chunks/{credential-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{credential-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{credential-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{credential-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{credential-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{credential-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{credential-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{credential-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{credential-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{credential-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{credential-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{credential-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{credential-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{credential-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{credential-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{credential-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{credential-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{credential-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{credential-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{credential-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{credential-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{credential-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{credential-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{credential-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  777. /package/dist/chunks/{credential-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{credential-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{credential-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  780. /package/dist/chunks/{credential-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{credential-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{credential-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./credential-y71avatq.js";
3
+ } from "./model-resolver-y71avatq.js";
4
4
  import {
5
5
  Service79,
6
6
  node84
7
- } from "./credential-4f3mwee9.js";
7
+ } from "./model-resolver-d0as5ky3.js";
8
8
  import {
9
- Event17,
10
- Service71,
11
- node76
12
- } from "./credential-fqjr7ce9.js";
9
+ Event18,
10
+ Service70,
11
+ node75
12
+ } from "./model-resolver-pz6n093v.js";
13
13
  import {
14
- Service74,
15
- node79
16
- } from "./credential-g59fyfvz.js";
14
+ Service75,
15
+ node80
16
+ } from "./model-resolver-dfst59nt.js";
17
17
  import {
18
- Service67,
19
- node71
20
- } from "./credential-1xhwvcn8.js";
18
+ Service60,
19
+ node64
20
+ } from "./model-resolver-aeex8way.js";
21
21
  import {
22
- ID10,
23
- Service58,
24
- node62
25
- } from "./credential-tyzndn2s.js";
22
+ ID13,
23
+ Service69,
24
+ node74
25
+ } from "./model-resolver-qvq5ww91.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./credential-kg06axw8.js";
29
+ } from "./model-resolver-kg06axw8.js";
30
30
  import {
31
- ID9,
31
+ ID12,
32
32
  MethodID2,
33
- Service57,
34
- node61
35
- } from "./credential-e9h89vp0.js";
33
+ Service67,
34
+ node72
35
+ } from "./model-resolver-zpp9mfbs.js";
36
36
  import {
37
37
  __export
38
- } from "./credential-9rqn6x4v.js";
38
+ } from "./model-resolver-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError2,
45
- Options: () => Options2,
44
+ NotFoundError: () => NotFoundError5,
45
+ Options: () => Options5,
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: () => Service26,
59
+ Service: () => Service34,
60
60
  Status: () => Status2,
61
61
  Tool: () => Tool3,
62
62
  ToolCallError: () => ToolCallError2,
63
63
  ToolResult: () => ToolResult2,
64
64
  ToolResultContent: () => ToolResultContent2,
65
- configured: () => configured2,
66
- layer: () => layer12,
67
- node: () => node30
65
+ configured: () => configured5,
66
+ layer: () => layer14,
67
+ node: () => node38
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: ID9.pipe(Schema.optional)
84
+ integrationID: ID12.pipe(Schema.optional)
85
85
  }) {
86
86
  }
87
87
 
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
147
147
  var ResourceContentPart2 = Mcp.ResourceContentPart;
148
148
  var ResourceContent2 = Mcp.ResourceContent;
149
149
 
150
- class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
150
+ class NotFoundError5 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 Service26 extends Context.Service()("@opencode/MCP") {
168
+ class Service34 extends Context.Service()("@opencode/MCP") {
169
169
  }
170
- var Options2 = Schema.Struct({
170
+ var Options5 = 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 layer12 = (options) => Layer.effect(Service26, Effect.gen(function* () {
177
- const location = yield* Service74;
178
- const environment = yield* Service67;
176
+ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
177
+ const location = yield* Service75;
178
+ const environment = yield* Service60;
179
179
  const bus = yield* Service79;
180
- const forms = yield* Service58;
181
- const integration = yield* Service57;
182
- const credentials = yield* Service71;
180
+ const forms = yield* Service69;
181
+ const integration = yield* Service67;
182
+ const credentials = yield* Service70;
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 layer12 = (options) => Layer.effect(Service26, 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 = ID9.make(suffix);
194
+ const integrationID = ID12.make(suffix);
195
195
  entry.integrationID = integrationID;
196
196
  owned.add(integrationID);
197
197
  const methodID = MethodID2.make(suffix);
@@ -216,7 +216,7 @@ var layer12 = (options) => Layer.effect(Service26, 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 NotFoundError2({ server: name });
219
+ return yield* new NotFoundError5({ server: name });
220
220
  return { name, entry };
221
221
  });
222
222
  const connectProvider = Effect.fnUntraced(function* (entry) {
@@ -315,7 +315,7 @@ var layer12 = (options) => Layer.effect(Service26, Effect.gen(function* () {
315
315
  const elicitation = {
316
316
  create: (input) => Effect.gen(function* () {
317
317
  if (input.params.mode === "url") {
318
- const formID = ID10.create();
318
+ const formID = ID13.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 layer12 = (options) => Layer.effect(Service26, 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(Service60, 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 layer12 = (options) => Layer.effect(Service26, Effect.gen(function* () {
557
557
  yield* startServer(name, entry);
558
558
  }).pipe(locks.withLock(name));
559
559
  });
560
- fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
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))))));
561
561
  const state = create3({
562
562
  name: "mcp",
563
563
  initial: () => ({
@@ -587,7 +587,7 @@ var layer12 = (options) => Layer.effect(Service26, Effect.gen(function* () {
587
587
  concurrency: "unbounded",
588
588
  discard: true
589
589
  }));
590
- return Service26.of({
590
+ return Service34.of({
591
591
  transform: state.transform,
592
592
  reload: state.reload,
593
593
  servers: Effect.fn("MCP.servers")(function* () {
@@ -707,14 +707,14 @@ var layer12 = (options) => Layer.effect(Service26, Effect.gen(function* () {
707
707
  })
708
708
  });
709
709
  }));
710
- function configured2(options) {
710
+ function configured5(options) {
711
711
  return makeLocationNode({
712
- service: Service26,
713
- layer: layer12(options),
714
- deps: [node79, node71, node84, node62, node61, node76]
712
+ service: Service34,
713
+ layer: layer14(options),
714
+ deps: [node80, node64, node84, node74, node72, node75]
715
715
  });
716
716
  }
717
- var node30 = configured2();
717
+ var node38 = configured5();
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, NotFoundError2, ToolCallError2, Service26, Options2, layer12, configured2, node30, exports_mcp4 };
768
+ export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service34, Options5, layer14, configured5, node38, exports_mcp4 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make15
9
+ make: () => make17
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make15 = (options) => Effect.gen(function* () {
12
+ var make17 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -89,4 +89,4 @@ var make15 = (options) => Effect.gen(function* () {
89
89
  };
90
90
  });
91
91
 
92
- export { make15, exports_run_coordinator };
92
+ export { make17, exports_run_coordinator };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./credential-2a5m3afh.js";
5
+ } from "./model-resolver-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./credential-9rqn6x4v.js";
8
+ } from "./model-resolver-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service74
3
- } from "./credential-g59fyfvz.js";
2
+ Service75
3
+ } from "./model-resolver-dfst59nt.js";
4
4
  import {
5
- Service67
6
- } from "./credential-1xhwvcn8.js";
5
+ Service60
6
+ } from "./model-resolver-aeex8way.js";
7
7
  import {
8
- Service39,
8
+ Service18,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./credential-yf17ygct.js";
11
+ } from "./model-resolver-3h8hqytd.js";
12
12
  import {
13
- Service55
14
- } from "./credential-3gdxf9my.js";
13
+ Service74
14
+ } from "./model-resolver-031kg769.js";
15
15
  import {
16
- Service49
17
- } from "./credential-383y241e.js";
16
+ Service48
17
+ } from "./model-resolver-nvsyq3ba.js";
18
18
  import {
19
- Service13,
19
+ Service17,
20
20
  resolvePath2
21
- } from "./credential-j320jmqx.js";
21
+ } from "./model-resolver-fg61w092.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./credential-6prwharc.js";
24
+ } from "./model-resolver-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./credential-9rqn6x4v.js";
27
+ } from "./model-resolver-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input4,
34
- Output: () => Output3,
35
- Plugin: () => Plugin19,
36
- name: () => name4
33
+ Input: () => Input6,
34
+ Output: () => Output5,
35
+ Plugin: () => Plugin21,
36
+ name: () => name6
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 name4 = "edit";
43
- var Input4 = Schema.Struct({
42
+ var name6 = "edit";
43
+ var Input6 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input4 = 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 Output3 = Schema.Struct({
53
+ var Output5 = 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 Plugin19 = {
106
+ var Plugin21 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service13;
110
- const fileMutation = yield* Service39;
111
- const environment = yield* Service67;
112
- const formatter = yield* Service55;
113
- const location = yield* Service74;
114
- const permission = yield* Service49;
109
+ const access = yield* Service17;
110
+ const fileMutation = yield* Service18;
111
+ const environment = yield* Service60;
112
+ const formatter = yield* Service74;
113
+ const location = yield* Service75;
114
+ const permission = yield* Service48;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name4,
116
+ name: name6,
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: Input4,
120
- output: Output3,
119
+ input: Input6,
120
+ output: Output5,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin19 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name4, Input4, Output3, Plugin19, exports_edit };
197
+ export { name6, Input6, Output5, Plugin21, exports_edit };
@@ -1,56 +1,56 @@
1
1
  import {
2
- ID12,
3
- Info26,
2
+ ID11,
3
+ Info23,
4
4
  SessionSchema2
5
- } from "./credential-6bsje7ws.js";
5
+ } from "./model-resolver-csdaj16z.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./credential-922hggd3.js";
8
+ } from "./model-resolver-922hggd3.js";
9
9
  import {
10
10
  Service80,
11
11
  node85
12
- } from "./credential-fs1f3z87.js";
12
+ } from "./model-resolver-dwe4spzd.js";
13
13
  import {
14
14
  isSynced2,
15
15
  Service79,
16
16
  node84
17
- } from "./credential-4f3mwee9.js";
17
+ } from "./model-resolver-d0as5ky3.js";
18
18
  import {
19
- Service75,
20
- node80
21
- } from "./credential-h727evg8.js";
19
+ Service76,
20
+ node81
21
+ } from "./model-resolver-atgag4yh.js";
22
22
  import {
23
- Service30,
24
- node33
25
- } from "./credential-90dkwxdw.js";
23
+ Service40,
24
+ node43
25
+ } from "./model-resolver-qfzde7bh.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./credential-ec1grn59.js";
28
+ } from "./model-resolver-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./credential-a1bz86dw.js";
31
+ } from "./model-resolver-5c4hm403.js";
32
32
  import {
33
- node32
34
- } from "./credential-30e04pyd.js";
33
+ node42
34
+ } from "./model-resolver-jyfdqx07.js";
35
35
  import {
36
36
  current2
37
- } from "./credential-vkxpz7g2.js";
37
+ } from "./model-resolver-sdbkfcvv.js";
38
38
  import {
39
39
  snapshot2
40
- } from "./credential-dpk4wwe7.js";
40
+ } from "./model-resolver-e5z2yc0m.js";
41
41
  import {
42
42
  Slug2
43
- } from "./credential-gebd4c9n.js";
43
+ } from "./model-resolver-gebd4c9n.js";
44
44
  import {
45
45
  SessionAlreadyProjected2,
46
- node22
47
- } from "./credential-w4whswvt.js";
46
+ node32
47
+ } from "./model-resolver-bdv0prqb.js";
48
48
  import {
49
49
  Metadata2,
50
- node50
51
- } from "./credential-g1r5npbb.js";
50
+ node51
51
+ } from "./model-resolver-nwjtzbvw.js";
52
52
  import {
53
- NotFoundError8,
53
+ NotFoundError7,
54
54
  MessageNotFoundError2,
55
55
  ForkEmptyError2,
56
56
  MessageDecodeError2,
@@ -61,50 +61,50 @@ import {
61
61
  BusyError2,
62
62
  InboxConflictError2,
63
63
  SkillNotFoundError2
64
- } from "./credential-f1zbxv7x.js";
64
+ } from "./model-resolver-7xhhf2aw.js";
65
65
  import {
66
66
  ListInput5,
67
- Service51,
68
- node55
69
- } from "./credential-55wx515q.js";
67
+ Service50,
68
+ node54
69
+ } from "./model-resolver-gkytqtkj.js";
70
70
  import {
71
- Service54,
72
- node58
73
- } from "./credential-qzj2vqtz.js";
71
+ Service63,
72
+ node68
73
+ } from "./model-resolver-s6z2946v.js";
74
74
  import {
75
- Service27,
76
- node31
77
- } from "./credential-04k593ph.js";
75
+ Service37,
76
+ node41
77
+ } from "./model-resolver-nabxe85v.js";
78
78
  import {
79
79
  llmClient2
80
- } from "./credential-5t3nmthw.js";
80
+ } from "./model-resolver-5t3nmthw.js";
81
81
  import {
82
- Service23,
83
- node27
84
- } from "./credential-57kf9cn6.js";
82
+ Service36,
83
+ node40
84
+ } from "./model-resolver-71t2waba.js";
85
85
  import {
86
86
  generate3
87
- } from "./credential-356gzxb5.js";
87
+ } from "./model-resolver-yaga2gvt.js";
88
88
  import {
89
89
  execute2
90
- } from "./credential-5rhtwdx6.js";
90
+ } from "./model-resolver-afrwk4ch.js";
91
91
  import {
92
92
  DestinationNotFoundError2,
93
93
  DestinationNotDirectoryError2,
94
94
  DestinationUnavailableError2,
95
- Service15,
96
- node19
97
- } from "./credential-kfef4ady.js";
95
+ Service27,
96
+ node31
97
+ } from "./model-resolver-hfkyrasj.js";
98
98
  import {
99
- Service62,
100
- node66
101
- } from "./credential-qtkzm0vp.js";
99
+ Service54,
100
+ node58
101
+ } from "./model-resolver-0r684n0p.js";
102
102
  import {
103
- make12
104
- } from "./credential-6ghnv2dz.js";
103
+ make13
104
+ } from "./model-resolver-52p5p480.js";
105
105
  import {
106
106
  __export
107
- } from "./credential-9rqn6x4v.js";
107
+ } from "./model-resolver-9rqn6x4v.js";
108
108
 
109
109
  // src/session.ts
110
110
  var exports_session = {};
@@ -115,21 +115,21 @@ __export(exports_session, {
115
115
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
116
116
  DestinationNotFoundError: () => DestinationNotFoundError2,
117
117
  DestinationUnavailableError: () => DestinationUnavailableError2,
118
- ID: () => ID12,
118
+ ID: () => ID11,
119
119
  InboxConflictError: () => InboxConflictError2,
120
- Info: () => Info26,
120
+ Info: () => Info23,
121
121
  ListAnchor: () => ListAnchor2,
122
- ListInput: () => ListInput2,
122
+ ListInput: () => ListInput3,
123
123
  MessageDecodeError: () => MessageDecodeError2,
124
124
  MessageNotFoundError: () => MessageNotFoundError2,
125
- NotFoundError: () => NotFoundError8,
125
+ NotFoundError: () => NotFoundError7,
126
126
  PromptConflictError: () => PromptConflictError2,
127
- Service: () => Service14,
127
+ Service: () => Service24,
128
128
  Session: () => exports_session,
129
129
  SessionSchema: () => SessionSchema2,
130
130
  SkillNotFoundError: () => SkillNotFoundError2,
131
131
  SyntheticConflictError: () => SyntheticConflictError2,
132
- node: () => node18
132
+ node: () => node28
133
133
  });
134
134
  import { Effect, Layer, Schema, Context, Stream } from "effect";
135
135
  import { LLMClient } from "@opencode/ai";
@@ -139,26 +139,26 @@ import { Model } from "@opencode/schema/model";
139
139
  import path from "path";
140
140
  import { Node } from "@opencode/util/effect/app-node";
141
141
  import { FSUtil } from "@opencode/util/fs-util";
142
- var ListInput2 = ListInput5;
143
- class Service14 extends Context.Service()("@opencode/Session") {
142
+ var ListInput3 = ListInput5;
143
+ class Service24 extends Context.Service()("@opencode/Session") {
144
144
  }
145
- var layer = Layer.effect(Service14, Effect.gen(function* () {
145
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
146
146
  const app = yield* Metadata2;
147
147
  const database = yield* Service80;
148
148
  const db = database.db;
149
149
  const bus = yield* Service79;
150
- const projects = yield* Service75;
151
- const execution = yield* Service27;
150
+ const projects = yield* Service76;
151
+ const execution = yield* Service37;
152
152
  const llm = yield* LLMClient.Service;
153
- const transport = yield* Service23;
154
- const store = yield* Service51;
155
- const instances = yield* Service30;
156
- const moves = yield* Service15;
157
- const jobs = yield* Service54;
158
- const environments = yield* Service62;
159
- const sessions = yield* make12();
153
+ const transport = yield* Service36;
154
+ const store = yield* Service50;
155
+ const instances = yield* Service40;
156
+ const moves = yield* Service27;
157
+ const jobs = yield* Service63;
158
+ const environments = yield* Service54;
159
+ const sessions = yield* make13();
160
160
  const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
161
- const result = Service14.of({
161
+ const result = Service24.of({
162
162
  create: Effect.fn("Session.create")(function* (input) {
163
163
  const sessionID = input.id ?? SessionSchema2.ID.create();
164
164
  const recorded = yield* store.get(sessionID);
@@ -166,7 +166,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
166
166
  return recorded;
167
167
  const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
168
168
  if (input.parentID && parent === undefined)
169
- return yield* new NotFoundError8({ sessionID: input.parentID });
169
+ return yield* new NotFoundError7({ sessionID: input.parentID });
170
170
  const location = parent?.location ?? input.location;
171
171
  if (location === undefined)
172
172
  return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
@@ -260,11 +260,11 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
260
260
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
261
261
  generate: Effect.fn("Session.generate")(function* (input) {
262
262
  const session = yield* result.get(input.sessionID);
263
- return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service30, instances), Effect.provideService(Service80, database), Effect.provideService(LLMClient.Service, llm));
263
+ return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service40, instances), Effect.provideService(Service80, database), Effect.provideService(LLMClient.Service, llm));
264
264
  }),
265
265
  command: Effect.fn("Session.command")(function* (input) {
266
266
  const session = yield* result.get(input.sessionID);
267
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service30, instances));
267
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service40, instances));
268
268
  }),
269
269
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
270
270
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -305,26 +305,26 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
305
305
  });
306
306
  return result;
307
307
  }));
308
- var node18 = Node.makeGlobalNode({
309
- service: Service14,
308
+ var node28 = Node.makeGlobalNode({
309
+ service: Service24,
310
310
  layer,
311
311
  deps: [
312
+ node68,
312
313
  node58,
313
- node66,
314
314
  node85,
315
315
  node84,
316
- node80,
317
- node31,
318
- node27,
316
+ node81,
317
+ node41,
318
+ node40,
319
319
  llmClient2,
320
- node55,
321
- node33,
320
+ node54,
321
+ node43,
322
+ node42,
323
+ node31,
322
324
  node32,
323
- node19,
324
- node22,
325
325
  FSUtil.node,
326
- node50
326
+ node51
327
327
  ]
328
328
  });
329
329
 
330
- export { ListAnchor2, ListInput2, Service14, node18, exports_session };
330
+ export { ListAnchor2, ListInput3, Service24, node28, exports_session };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./credential-3v8g72cx.js";
3
+ } from "./model-resolver-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./credential-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
9
  var exports_mcp = {};