@opencode/core 0.0.0-dev-19468 → 0.0.0-dev-19472

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 (787) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/generate-01mk1cf2.js +22 -0
  9. package/dist/chunks/{command-f6c90htb.js → generate-01rdfd7a.js} +33 -33
  10. package/dist/chunks/{command-6kwa84ek.js → generate-05nva95e.js} +22 -22
  11. package/dist/chunks/{command-depwzj9d.js → generate-0996nyz8.js} +9 -9
  12. package/dist/chunks/{command-7yqjxrmz.js → generate-0ft9cg2j.js} +6 -6
  13. package/dist/chunks/{command-0gdmqesm.js → generate-0gdmqesm.js} +1 -1
  14. package/dist/chunks/{command-j7cjz3r7.js → generate-0hzvpqmj.js} +22 -22
  15. package/dist/chunks/{command-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{command-0q0f95c6.js → generate-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{command-d1khqved.js → generate-0r7yqxbf.js} +5 -5
  18. package/dist/chunks/{command-1w9eg795.js → generate-0yjrxc0y.js} +16 -16
  19. package/dist/chunks/{command-3ng855cv.js → generate-0ymz8rd6.js} +15 -15
  20. package/dist/chunks/{command-8nk26xcd.js → generate-0yqwvadk.js} +4 -4
  21. package/dist/chunks/{command-49dgzs36.js → generate-12j8am6k.js} +17 -17
  22. package/dist/chunks/{command-atcs2qeq.js → generate-13en43er.js} +12 -12
  23. package/dist/chunks/{command-8bzwbvaa.js → generate-165my6fc.js} +23 -23
  24. package/dist/chunks/{command-fygdb7h7.js → generate-18cztcj7.js} +3 -3
  25. package/dist/chunks/{command-2eyezv9v.js → generate-18dzbcxb.js} +16 -16
  26. package/dist/chunks/{command-zwwg1j6t.js → generate-192njw8s.js} +12 -12
  27. package/dist/chunks/{command-ek7sb5kq.js → generate-19eqgq23.js} +18 -18
  28. package/dist/chunks/{command-4zan7p04.js → generate-1a6d59yt.js} +32 -32
  29. package/dist/chunks/{command-z69s9t6b.js → generate-1ah30sey.js} +5 -5
  30. package/dist/chunks/{command-1bbkgx8g.js → generate-1bbkgx8g.js} +1 -1
  31. package/dist/chunks/{command-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
  32. package/dist/chunks/{command-a0v18vk0.js → generate-1fddzjwn.js} +41 -41
  33. package/dist/chunks/{command-rbzw3czx.js → generate-1jt29hgk.js} +25 -25
  34. package/dist/chunks/{command-w2wp25j3.js → generate-1s9zr6wz.js} +13 -13
  35. package/dist/chunks/{command-21r38tys.js → generate-21r38tys.js} +1 -1
  36. package/dist/chunks/{command-2402vzrj.js → generate-2402vzrj.js} +1 -1
  37. package/dist/chunks/{command-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
  38. package/dist/chunks/{command-m27pyyd3.js → generate-2d6j2h4j.js} +6 -6
  39. package/dist/chunks/{command-tfngb0ww.js → generate-2eh93bg4.js} +4 -4
  40. package/dist/chunks/{command-xrv37rzx.js → generate-2rq438jx.js} +11 -11
  41. package/dist/chunks/{command-8w2x90d8.js → generate-2x2h0p2s.js} +27 -27
  42. package/dist/chunks/{command-janxdphz.js → generate-30h5sse3.js} +26 -26
  43. package/dist/chunks/{command-r9babyk8.js → generate-31dz7cp4.js} +1 -1
  44. package/dist/chunks/{command-1w6a0hnx.js → generate-325b5hht.js} +27 -27
  45. package/dist/chunks/{command-1ygqh575.js → generate-33w4ejhs.js} +6 -6
  46. package/dist/chunks/{command-43k15f45.js → generate-34vvk6bw.js} +4 -4
  47. package/dist/chunks/{command-qbs9wpx5.js → generate-395g5j88.js} +3 -3
  48. package/dist/chunks/{command-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{command-qtewthd2.js → generate-3kr8ysga.js} +12 -12
  50. package/dist/chunks/{command-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{command-xdmx6wv9.js → generate-3ta8pej7.js} +11 -11
  52. package/dist/chunks/{command-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
  53. package/dist/chunks/{command-1awm1f41.js → generate-3xaqhp8d.js} +12 -12
  54. package/dist/chunks/{command-1y7qjh7f.js → generate-3z25xgjb.js} +23 -23
  55. package/dist/chunks/{command-vkpd1pcz.js → generate-45ekqx5k.js} +18 -18
  56. package/dist/chunks/{command-gew808h9.js → generate-46fcrysc.js} +7 -7
  57. package/dist/chunks/{command-trnnyg3s.js → generate-48x36vfa.js} +7 -7
  58. package/dist/chunks/{command-rrn4n66a.js → generate-4dq66jks.js} +11 -11
  59. package/dist/chunks/{command-cj25t1z9.js → generate-4edd2wfm.js} +32 -32
  60. package/dist/chunks/{command-atywk8py.js → generate-4enya5gj.js} +25 -25
  61. package/dist/chunks/{command-c0haxaz1.js → generate-4jbn2tw4.js} +26 -26
  62. package/dist/chunks/{command-d40bqwh8.js → generate-4s94qtmw.js} +1 -1
  63. package/dist/chunks/{command-4y66k410.js → generate-4y66k410.js} +2 -2
  64. package/dist/chunks/{command-t7z3zppm.js → generate-4yg7xpeb.js} +2 -2
  65. package/dist/chunks/{command-t3an8jwj.js → generate-56hme943.js} +24 -24
  66. package/dist/chunks/{command-88k2vggc.js → generate-56jh955g.js} +11 -11
  67. package/dist/chunks/{command-5daktx2q.js → generate-5daktx2q.js} +1 -1
  68. package/dist/chunks/{command-n81d318j.js → generate-5hg44emr.js} +43 -43
  69. package/dist/chunks/{command-zd4hnhbr.js → generate-5rx6s544.js} +35 -35
  70. package/dist/chunks/{command-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
  71. package/dist/chunks/{command-669tq793.js → generate-669tq793.js} +1 -1
  72. package/dist/chunks/{command-6d9mz4vp.js → generate-6d9mz4vp.js} +2 -2
  73. package/dist/chunks/{command-mn5tqr63.js → generate-6kyz0a76.js} +25 -9
  74. package/dist/chunks/{command-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{command-71q4at8m.js → generate-71q4at8m.js} +1 -1
  76. package/dist/chunks/{command-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{command-gn4w61g6.js → generate-7dnaa00t.js} +9 -9
  78. package/dist/chunks/{command-4mp12xfm.js → generate-7h1k4g6r.js} +10 -10
  79. package/dist/chunks/{command-pnw8gab2.js → generate-7h7r2znv.js} +11 -11
  80. package/dist/chunks/{command-hyzf9tpp.js → generate-7j17ak0s.js} +25 -25
  81. package/dist/chunks/{command-k3qnv071.js → generate-7jpshbt3.js} +11 -11
  82. package/dist/chunks/{command-mqkmkpfj.js → generate-7n9tv254.js} +7 -7
  83. package/dist/chunks/{command-q029wpmv.js → generate-7pz2a2p6.js} +17 -17
  84. package/dist/chunks/{command-zytqva6s.js → generate-7tcd4e3j.js} +13 -13
  85. package/dist/chunks/{command-bccb6npm.js → generate-81czwxpn.js} +4 -4
  86. package/dist/chunks/{command-rk0rec3h.js → generate-81swgkk7.js} +9 -9
  87. package/dist/chunks/{command-2gdjp541.js → generate-8bdabsgq.js} +4 -4
  88. package/dist/chunks/{command-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{command-jq16a9yq.js → generate-8fr55evv.js} +49 -49
  90. package/dist/chunks/{command-fvcnrdsd.js → generate-8hznsz6p.js} +2 -2
  91. package/dist/chunks/{command-82tjt3dw.js → generate-8jxg9psv.js} +8 -8
  92. package/dist/chunks/{command-8p4f9s12.js → generate-8p4f9s12.js} +2 -2
  93. package/dist/chunks/{command-22j10vgt.js → generate-95sy4d33.js} +11 -11
  94. package/dist/chunks/{command-k12jm31d.js → generate-98nqcwy8.js} +26 -26
  95. package/dist/chunks/{command-h0vzxx5t.js → generate-9jd7sb31.js} +18 -18
  96. package/dist/chunks/{command-p8h51xpj.js → generate-9qbs61h2.js} +9 -9
  97. package/dist/chunks/{command-2bvt8f80.js → generate-9tbkwgyh.js} +14 -14
  98. package/dist/chunks/{command-z3pw5915.js → generate-9xvq3m7s.js} +5 -5
  99. package/dist/chunks/{command-pbmwqkmp.js → generate-9ya5772p.js} +15 -15
  100. package/dist/chunks/{command-a1bz86dw.js → generate-a1bz86dw.js} +3 -3
  101. package/dist/chunks/{command-vwkvnd24.js → generate-a6y2bq6s.js} +43 -43
  102. package/dist/chunks/{command-aaet6srn.js → generate-aaet6srn.js} +2 -2
  103. package/dist/chunks/{command-cyrm38ka.js → generate-acfjjvt7.js} +4 -4
  104. package/dist/chunks/{command-yt0fqk68.js → generate-af04s6ss.js} +5 -5
  105. package/dist/chunks/{command-qhzsw49z.js → generate-ag3c3gfh.js} +7 -7
  106. package/dist/chunks/{command-623tf1ms.js → generate-anfm8w08.js} +24 -24
  107. package/dist/chunks/{command-zcqf6png.js → generate-asn1qnte.js} +6 -6
  108. package/dist/chunks/{command-awhebgdh.js → generate-at42xpyp.js} +8 -8
  109. package/dist/chunks/{command-w3qz1p8h.js → generate-b16d7jjg.js} +20 -20
  110. package/dist/chunks/{command-4xwq6bpx.js → generate-b4e13j89.js} +16 -16
  111. package/dist/chunks/{command-dqw3007c.js → generate-b67dvkja.js} +10 -10
  112. package/dist/chunks/{command-c6b6ay3f.js → generate-b6efjawe.js} +20 -20
  113. package/dist/chunks/{command-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{command-bn5pg142.js → generate-bb33gxz4.js} +11 -11
  115. package/dist/chunks/{command-nse75xca.js → generate-bc98kfvq.js} +46 -46
  116. package/dist/chunks/{command-zbgm0av8.js → generate-bhxrg7yf.js} +3 -3
  117. package/dist/chunks/{command-hct2a0fv.js → generate-bpm3sphz.js} +21 -21
  118. package/dist/chunks/{command-r80rqf00.js → generate-brp8zeym.js} +6 -6
  119. package/dist/chunks/{command-xg3w2jr6.js → generate-c2mw14d7.js} +11 -11
  120. package/dist/chunks/{command-grw19vv8.js → generate-c36zpzj3.js} +32 -32
  121. package/dist/chunks/{command-tqza4b3e.js → generate-c5c2yrzj.js} +55 -55
  122. package/dist/chunks/{command-8wgprd1f.js → generate-c83rnzgr.js} +17 -17
  123. package/dist/chunks/{command-jrrn2k62.js → generate-cay3r0qb.js} +4 -4
  124. package/dist/chunks/{command-cfpkc3c9.js → generate-cfpkc3c9.js} +2 -2
  125. package/dist/chunks/{command-5xtgfte3.js → generate-cmwkp3r5.js} +8 -8
  126. package/dist/chunks/{command-8qbrsgc3.js → generate-cnsp0jcs.js} +15 -15
  127. package/dist/chunks/{command-m91662m1.js → generate-d2t1ewjp.js} +9 -9
  128. package/dist/chunks/{command-2fd5jjda.js → generate-d7nvx7ja.js} +32 -32
  129. package/dist/chunks/{command-bqx9ejx6.js → generate-dd7fnb5q.js} +20 -20
  130. package/dist/chunks/{command-r7vvp0pq.js → generate-djk06v6t.js} +19 -19
  131. package/dist/chunks/{command-ce2p0j6g.js → generate-dphymz0f.js} +39 -39
  132. package/dist/chunks/{command-nbf8yg7d.js → generate-dspjxxdh.js} +30 -30
  133. package/dist/chunks/{command-nhy5jxhy.js → generate-e82z9tr0.js} +7 -7
  134. package/dist/chunks/{command-dsdd247v.js → generate-egt2n8ed.js} +9 -9
  135. package/dist/chunks/{command-08w2x8wj.js → generate-ek706fp6.js} +25 -25
  136. package/dist/chunks/{command-ksz0h0wp.js → generate-ep73h3z1.js} +3 -3
  137. package/dist/chunks/{command-qkn0he17.js → generate-er50wdsj.js} +86 -86
  138. package/dist/chunks/{command-w4280d3n.js → generate-eraw9w7t.js} +47 -47
  139. package/dist/chunks/{command-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{command-hjtepwtx.js → generate-evvwda50.js} +18 -18
  141. package/dist/chunks/{command-dfzjkmr7.js → generate-f0z4t0qf.js} +20 -20
  142. package/dist/chunks/{command-yp2x3t23.js → generate-f2n192rq.js} +4 -4
  143. package/dist/chunks/{command-f828m53h.js → generate-f828m53h.js} +2 -2
  144. package/dist/chunks/{command-f8q7mv7a.js → generate-f9bavhm2.js} +1 -1
  145. package/dist/chunks/{command-606t1thy.js → generate-fjs0fb1k.js} +6 -6
  146. package/dist/chunks/{command-2vs0bhag.js → generate-fmejfqxx.js} +23 -23
  147. package/dist/chunks/{command-tn44nq14.js → generate-ftqhnfvt.js} +9 -9
  148. package/dist/chunks/{command-fxbjtjnd.js → generate-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{command-b8jxd6e3.js → generate-gca7vttx.js} +6 -6
  150. package/dist/chunks/{command-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{command-3fc6dm20.js → generate-gdvy8fx6.js} +4 -4
  152. package/dist/chunks/{command-jfrxj68p.js → generate-get426a4.js} +289 -289
  153. package/dist/chunks/{command-5wgc7fb1.js → generate-ggfrbzh7.js} +5 -5
  154. package/dist/chunks/{command-2cbvdzk3.js → generate-gggn4yh1.js} +8 -8
  155. package/dist/chunks/{command-csz8m25e.js → generate-gjrm3aqc.js} +17 -17
  156. package/dist/chunks/{command-7r9nvvan.js → generate-gv77bfkj.js} +11 -11
  157. package/dist/chunks/{command-w2rsnnhh.js → generate-gxzjfpj9.js} +3 -3
  158. package/dist/chunks/{command-h03wrkyp.js → generate-h03wrkyp.js} +2 -2
  159. package/dist/chunks/{command-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{command-y62qmqfa.js → generate-h9m084p5.js} +9 -9
  161. package/dist/chunks/generate-ht5y0zrb.js +18 -0
  162. package/dist/chunks/{command-nca7p386.js → generate-hyftv91s.js} +9 -9
  163. package/dist/chunks/{command-5133n32a.js → generate-hz4zfacf.js} +7 -5
  164. package/dist/chunks/{command-j6q1n0sc.js → generate-j3cvmjmb.js} +6 -6
  165. package/dist/chunks/{command-j56e64zr.js → generate-j56e64zr.js} +1 -1
  166. package/dist/chunks/{command-7atngb88.js → generate-j83byb14.js} +4 -4
  167. package/dist/chunks/{command-cf4sgr4m.js → generate-j993hkrk.js} +15 -15
  168. package/dist/chunks/{command-bvbz56nf.js → generate-jdwmg6ph.js} +11 -11
  169. package/dist/chunks/{command-3tey5e4w.js → generate-jefma2gq.js} +10 -10
  170. package/dist/chunks/{command-mj56dvqn.js → generate-jk0bqewv.js} +19 -19
  171. package/dist/chunks/{command-qjmsdj0v.js → generate-jkq4bbrv.js} +18 -18
  172. package/dist/chunks/{command-xwnd57w1.js → generate-jmctn1sj.js} +9 -9
  173. package/dist/chunks/{command-v6gj3a76.js → generate-jsrz9mtp.js} +9 -9
  174. package/dist/chunks/{command-fypfzqg6.js → generate-jsyfvq8g.js} +9 -9
  175. package/dist/chunks/{command-hph61g7p.js → generate-jt3ektyx.js} +24 -24
  176. package/dist/chunks/{command-96yt6zt0.js → generate-jy16bfac.js} +1 -1
  177. package/dist/chunks/{command-kg06axw8.js → generate-kg06axw8.js} +1 -1
  178. package/dist/chunks/{command-17j9h1rv.js → generate-km9fdhsq.js} +11 -11
  179. package/dist/chunks/{command-t3bdjydy.js → generate-kmsq2a8z.js} +36 -36
  180. package/dist/chunks/{command-ktrv770k.js → generate-kqhmtpwq.js} +16 -16
  181. package/dist/chunks/{command-qqe6tnq7.js → generate-kvkb9bqr.js} +10 -10
  182. package/dist/chunks/{command-e89xj288.js → generate-kzdcqyn1.js} +5 -5
  183. package/dist/chunks/{command-m2d0j7c0.js → generate-m2d0j7c0.js} +2 -2
  184. package/dist/chunks/{command-68rj78f5.js → generate-m3k3m1st.js} +24 -24
  185. package/dist/chunks/{command-ddt2bs9e.js → generate-m70sbz6t.js} +4 -4
  186. package/dist/chunks/{command-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{command-6sr3ve8g.js → generate-magykp64.js} +21 -21
  188. package/dist/chunks/{command-yjb6gg26.js → generate-man3t1zm.js} +174 -174
  189. package/dist/chunks/{command-3frp61p1.js → generate-mgwwngzv.js} +10 -10
  190. package/dist/chunks/{command-mkcjrzeh.js → generate-mkcjrzeh.js} +1 -1
  191. package/dist/chunks/{command-dyrcy9xv.js → generate-mkm8pmbj.js} +17 -17
  192. package/dist/chunks/{command-w632jh98.js → generate-mnw1q3jt.js} +9 -9
  193. package/dist/chunks/{command-xzmxhkya.js → generate-mrs002kz.js} +11 -11
  194. package/dist/chunks/{command-ps5pwecj.js → generate-mw3mjnzn.js} +19 -13
  195. package/dist/chunks/{command-jff1ryk2.js → generate-n5r74s3z.js} +30 -30
  196. package/dist/chunks/{command-zk4xc3a5.js → generate-nhatkwh5.js} +8 -8
  197. package/dist/chunks/{command-ce62gj8z.js → generate-njx2nt89.js} +13 -13
  198. package/dist/chunks/{command-kxdgf94m.js → generate-nn62rfad.js} +33 -33
  199. package/dist/chunks/{command-1natq340.js → generate-nrypyvg1.js} +17 -17
  200. package/dist/chunks/{command-et4cfen6.js → generate-p4q3p9e2.js} +17 -15
  201. package/dist/chunks/{command-02dn8pjv.js → generate-p9napa5a.js} +8 -8
  202. package/dist/chunks/{command-j935v87r.js → generate-paphc93g.js} +2 -2
  203. package/dist/chunks/{command-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{command-pknna89w.js → generate-pknna89w.js} +1 -1
  205. package/dist/chunks/{command-msgzsd09.js → generate-q866wamt.js} +26 -26
  206. package/dist/chunks/{command-fcrkznn8.js → generate-qgn6gcr1.js} +5 -5
  207. package/dist/chunks/{command-fgh0kbhd.js → generate-qmr73083.js} +1 -1
  208. package/dist/chunks/{command-56zp6hen.js → generate-qprtv8af.js} +9 -9
  209. package/dist/chunks/{command-qsdy395h.js → generate-qsdy395h.js} +1 -1
  210. package/dist/chunks/{command-wtgrkprm.js → generate-qv1bma43.js} +40 -40
  211. package/dist/chunks/{command-kh9sx4kg.js → generate-qvb3nf84.js} +8 -8
  212. package/dist/chunks/{command-6dqz5g6p.js → generate-r2d6ykh7.js} +43 -43
  213. package/dist/chunks/{command-wpsncnrz.js → generate-r2qedvtq.js} +16 -16
  214. package/dist/chunks/{command-gr4w44ny.js → generate-r2x0j4wr.js} +26 -26
  215. package/dist/chunks/{command-11vz36px.js → generate-r2xq3c3d.js} +56 -56
  216. package/dist/chunks/{command-7kqtcfr2.js → generate-r30aa2d3.js} +13 -13
  217. package/dist/chunks/{command-efje2ph3.js → generate-r3ggr03z.js} +4 -4
  218. package/dist/chunks/{command-r9mregkx.js → generate-r9mregkx.js} +2 -2
  219. package/dist/chunks/{command-53g8qqsb.js → generate-rskfe6j4.js} +19 -19
  220. package/dist/chunks/{command-at5d07az.js → generate-ryr25ayn.js} +4 -4
  221. package/dist/chunks/{command-2ehqxkpw.js → generate-s4f68rsj.js} +12 -12
  222. package/dist/chunks/{command-pk3bwvhp.js → generate-s8d6csw0.js} +15 -15
  223. package/dist/chunks/{command-7jdsj2a9.js → generate-sfvj2g2k.js} +3 -3
  224. package/dist/chunks/{command-zsvvz215.js → generate-ssy2w4cx.js} +7 -7
  225. package/dist/chunks/{command-n76fdqym.js → generate-sv9bpgvh.js} +5 -5
  226. package/dist/chunks/{command-0fwh74eg.js → generate-t3esx9j8.js} +11 -11
  227. package/dist/chunks/{command-ytbffa2g.js → generate-t3mr6dy8.js} +10 -10
  228. package/dist/chunks/{command-n093m6g5.js → generate-t4xg9j4k.js} +28 -28
  229. package/dist/chunks/{command-1z06sqnr.js → generate-t6zgc5e7.js} +6 -6
  230. package/dist/chunks/{command-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{command-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{command-tdstcens.js → generate-tdstcens.js} +1 -1
  233. package/dist/chunks/{command-avj4qb0a.js → generate-tf1v3ef4.js} +19 -19
  234. package/dist/chunks/{command-gv6a8nnw.js → generate-th5km1p3.js} +5 -5
  235. package/dist/chunks/{command-58hs0120.js → generate-tk7z65sd.js} +9 -9
  236. package/dist/chunks/{command-gc5k1756.js → generate-tvb7px3v.js} +17 -17
  237. package/dist/chunks/{command-tvtrv512.js → generate-tvtrv512.js} +1 -1
  238. package/dist/chunks/{command-b3nrcp5c.js → generate-tz6bjvzf.js} +20 -20
  239. package/dist/chunks/{command-wq14gy70.js → generate-v02hggvc.js} +16 -16
  240. package/dist/chunks/{command-9dm3xxv4.js → generate-v4nqh482.js} +6 -6
  241. package/dist/chunks/{command-f2dtw58t.js → generate-v66st79r.js} +24 -24
  242. package/dist/chunks/{command-k16ay38w.js → generate-v8ch97zc.js} +1 -1
  243. package/dist/chunks/{command-f1yy6z4t.js → generate-vdptmm7z.js} +5 -5
  244. package/dist/chunks/{command-abx73nef.js → generate-vdstphw8.js} +33 -33
  245. package/dist/chunks/{command-veqvce7d.js → generate-veqvce7d.js} +1 -1
  246. package/dist/chunks/{command-3b8gsagm.js → generate-vjfcsv3y.js} +92 -43
  247. package/dist/chunks/{command-epd1fg1b.js → generate-vkxpz7g2.js} +4 -4
  248. package/dist/chunks/{command-a2ap4c0w.js → generate-vtwd3wbn.js} +22 -22
  249. package/dist/chunks/{command-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{command-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{command-2f45m2dq.js → generate-w7pdnrhd.js} +3 -3
  252. package/dist/chunks/{command-2wxfd3z4.js → generate-wawrd6s0.js} +7 -7
  253. package/dist/chunks/generate-wd3es6t1.js +4 -0
  254. package/dist/chunks/{command-wd87259q.js → generate-wd87259q.js} +1 -1
  255. package/dist/chunks/{command-5r1zsdx9.js → generate-wewgh3cc.js} +8 -8
  256. package/dist/chunks/{command-t5mzcy74.js → generate-wr298xzg.js} +14 -14
  257. package/dist/chunks/{command-r31hq9tw.js → generate-wybmtabw.js} +15 -15
  258. package/dist/chunks/{command-51jra4mh.js → generate-x15xn7e6.js} +2 -2
  259. package/dist/chunks/{command-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{command-ha44nnvw.js → generate-x28mf59k.js} +15 -15
  261. package/dist/chunks/{command-c6e7cwvj.js → generate-x29t2rc7.js} +56 -56
  262. package/dist/chunks/generate-x369m2nh.js +247 -0
  263. package/dist/chunks/{command-n68r2zkb.js → generate-x450zzfr.js} +12 -12
  264. package/dist/chunks/{command-n5rv7k3r.js → generate-xb2e81ev.js} +8 -8
  265. package/dist/chunks/{command-nre9bmbr.js → generate-xbg1gxb8.js} +26 -26
  266. package/dist/chunks/{command-wj6rvh9s.js → generate-xfv31h68.js} +5 -5
  267. package/dist/chunks/{command-t23qze4t.js → generate-xmh8jj88.js} +1 -1
  268. package/dist/chunks/{command-0rpg7gzc.js → generate-xwwz9aqf.js} +4 -4
  269. package/dist/chunks/{command-3s0x99s8.js → generate-y00nzks5.js} +22 -22
  270. package/dist/chunks/{command-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{command-xe49p51w.js → generate-y3g0amfz.js} +24 -24
  272. package/dist/chunks/{command-y71avatq.js → generate-y71avatq.js} +1 -1
  273. package/dist/chunks/{command-mqzwkyay.js → generate-y8p3zjbc.js} +6 -6
  274. package/dist/chunks/{command-jq77w4zw.js → generate-y8x7dqj3.js} +11 -11
  275. package/dist/chunks/{command-cw6zws1e.js → generate-ybv2cy3n.js} +20 -20
  276. package/dist/chunks/{command-jzbwbd34.js → generate-yg641eya.js} +4 -4
  277. package/dist/chunks/{command-07q4da3w.js → generate-yjmdpt8z.js} +28 -28
  278. package/dist/chunks/{command-6j9ecrq6.js → generate-yjpzctzn.js} +3 -3
  279. package/dist/chunks/{command-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{command-s4enseaf.js → generate-yrznvahk.js} +2 -2
  281. package/dist/chunks/{command-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{command-kar9ash6.js → generate-z2e5hz5t.js} +83 -83
  283. package/dist/chunks/{command-m8zgfef2.js → generate-z4acfq85.js} +5 -5
  284. package/dist/chunks/{command-29x78va6.js → generate-z63w68vq.js} +6 -6
  285. package/dist/chunks/{command-zeh9ct20.js → generate-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{command-3xwc0nbz.js → generate-zn1sknkg.js} +30 -30
  287. package/dist/chunks/{command-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{command-ab1j02q5.js → generate-zr6df6en.js} +38 -38
  289. package/dist/chunks/{command-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +3 -3
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +82 -82
  294. package/dist/config/discovery.js +78 -78
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +116 -116
  298. package/dist/config/plugin/command.js +208 -208
  299. package/dist/config/plugin/compaction.js +156 -156
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +118 -118
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +86 -86
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +123 -123
  306. package/dist/config/plugin/policy.js +115 -115
  307. package/dist/config/plugin/provider.js +114 -114
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +117 -117
  310. package/dist/config/plugin/skill-file.js +98 -98
  311. package/dist/config/plugin/skill.js +135 -135
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +112 -112
  314. package/dist/config/plugin/tool-output.js +118 -118
  315. package/dist/config/plugin/websearch.js +114 -114
  316. package/dist/config/plugin/worktree.js +119 -119
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +120 -120
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +82 -82
  322. package/dist/database/database.js +65 -65
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +75 -75
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +363 -363
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +89 -89
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +91 -91
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +69 -69
  411. package/dist/file-access.js +100 -100
  412. package/dist/file-mutation.js +90 -90
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +2 -2
  421. package/dist/filesystem/location-watcher.js +221 -221
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +100 -100
  424. package/dist/filesystem/watcher-binding.js +3 -3
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +101 -101
  427. package/dist/form.js +81 -81
  428. package/dist/formatter/builtins.js +2 -2
  429. package/dist/formatter.js +85 -85
  430. package/dist/generate.js +88 -88
  431. package/dist/git.js +7 -7
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +3 -3
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +354 -354
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +83 -83
  458. package/dist/instructions/index.js +1 -1
  459. package/dist/integration/connection.js +1 -1
  460. package/dist/integration.js +87 -87
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +131 -131
  465. package/dist/location-mutation.js +100 -100
  466. package/dist/location-service-map.js +84 -84
  467. package/dist/location-services.js +351 -351
  468. package/dist/location.js +85 -85
  469. package/dist/mcp/client.js +87 -87
  470. package/dist/mcp/index.js +104 -104
  471. package/dist/mcp/instructions.js +123 -123
  472. package/dist/mcp/oauth.js +3 -3
  473. package/dist/mcp/stdio.js +86 -86
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +3 -3
  476. package/dist/model-resolver.js +91 -85
  477. package/dist/model.js +8 -8
  478. package/dist/models-dev.js +87 -87
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +81 -81
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +111 -111
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +85 -85
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +74 -74
  488. package/dist/plugin/agent.js +98 -98
  489. package/dist/plugin/command.js +95 -95
  490. package/dist/plugin/hooks.js +5 -5
  491. package/dist/plugin/host.js +214 -214
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +325 -325
  494. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  495. package/dist/plugin/models-dev.js +76 -76
  496. package/dist/plugin/module.js +7 -7
  497. package/dist/plugin/optimize.js +6 -4
  498. package/dist/plugin/plan.js +98 -98
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/alibaba.js +2 -2
  501. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  502. package/dist/plugin/provider/anthropic.js +4 -4
  503. package/dist/plugin/provider/azure.js +119 -119
  504. package/dist/plugin/provider/cerebras.js +2 -2
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +115 -115
  509. package/dist/plugin/provider/digitalocean.js +80 -80
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +81 -81
  514. package/dist/plugin/provider/gitlab.js +3 -3
  515. package/dist/plugin/provider/google-vertex.js +2 -2
  516. package/dist/plugin/provider/kilo.js +2 -2
  517. package/dist/plugin/provider/llmgateway.js +77 -77
  518. package/dist/plugin/provider/lmstudio.js +118 -118
  519. package/dist/plugin/provider/mistral.js +2 -2
  520. package/dist/plugin/provider/modal.js +80 -80
  521. package/dist/plugin/provider/nvidia.js +2 -2
  522. package/dist/plugin/provider/ollama.js +116 -116
  523. package/dist/plugin/provider/openai-compatible.js +1 -1
  524. package/dist/plugin/provider/openai.js +81 -81
  525. package/dist/plugin/provider/opencode.js +80 -80
  526. package/dist/plugin/provider/openrouter.js +3 -3
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/sap-ai-core.js +3 -3
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +2 -2
  534. package/dist/plugin/provider/vllm.js +118 -118
  535. package/dist/plugin/provider/xai.js +78 -78
  536. package/dist/plugin/provider/zenmux.js +2 -2
  537. package/dist/plugin/provider.js +159 -159
  538. package/dist/plugin/sdk.js +73 -73
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +134 -134
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +342 -342
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/variant.js +4 -4
  545. package/dist/plugin/vcs/git.js +83 -83
  546. package/dist/plugin/vcs/hg.js +83 -83
  547. package/dist/plugin/warming.js +113 -113
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +8 -8
  551. package/dist/plugin/websearch/mcp.js +4 -4
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin.js +221 -221
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +86 -86
  558. package/dist/provider.js +5 -5
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +3 -3
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +93 -93
  563. package/dist/reference/instructions.js +85 -85
  564. package/dist/reference.js +87 -87
  565. package/dist/repository-cache.js +77 -77
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +92 -92
  569. package/dist/rpc.js +82 -82
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +130 -130
  573. package/dist/session/context.js +148 -148
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +7 -7
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +217 -217
  578. package/dist/session/execution.js +123 -123
  579. package/dist/session/generate.js +147 -147
  580. package/dist/session/history.js +15 -15
  581. package/dist/session/inbox.js +85 -85
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +76 -76
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +93 -93
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +114 -114
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +127 -127
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +101 -101
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +86 -86
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +224 -224
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +91 -87
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +109 -109
  602. package/dist/session/runner/step.js +120 -120
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +168 -168
  606. package/dist/session/shell.js +132 -132
  607. package/dist/session/skill.js +99 -99
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +72 -72
  610. package/dist/session/store.js +86 -86
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +204 -204
  613. package/dist/session/system-prompt.js +5 -5
  614. package/dist/session/title.js +152 -152
  615. package/dist/session/to-session-error.js +108 -108
  616. package/dist/session/transfer.js +213 -213
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +214 -214
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +13 -13
  623. package/dist/shell.js +134 -134
  624. package/dist/skill/discovery.js +2 -2
  625. package/dist/skill/instructions.js +101 -101
  626. package/dist/skill.js +108 -108
  627. package/dist/snapshot.js +87 -87
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +120 -120
  632. package/dist/tool/plugin/edit.js +116 -116
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +119 -119
  635. package/dist/tool/plugin/grep.js +121 -121
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +116 -116
  638. package/dist/tool/plugin/question.js +97 -97
  639. package/dist/tool/plugin/read.js +122 -122
  640. package/dist/tool/plugin/shell.js +211 -211
  641. package/dist/tool/plugin/skill.js +101 -101
  642. package/dist/tool/plugin/subagent.js +215 -215
  643. package/dist/tool/plugin/webfetch.js +106 -106
  644. package/dist/tool/plugin/websearch.js +108 -108
  645. package/dist/tool/plugin/write.js +118 -118
  646. package/dist/tool/read-filesystem.js +97 -97
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +13 -13
  650. package/dist/types/model-resolver.d.ts +50 -3
  651. package/dist/types/plugin/optimize.d.ts +2 -1
  652. package/dist/types/session/runner/model.d.ts +4 -0
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +7 -7
  662. package/dist/v1/config/attachment.js +4 -4
  663. package/dist/v1/config/command.js +3 -3
  664. package/dist/v1/config/config.js +16 -16
  665. package/dist/v1/config/error.js +4 -4
  666. package/dist/v1/config/formatter.js +7 -7
  667. package/dist/v1/config/layout.js +1 -1
  668. package/dist/v1/config/lsp.js +5 -5
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +4 -4
  671. package/dist/v1/config/permission.js +7 -7
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/v1/config/server.js +2 -2
  676. package/dist/v1/config/skills.js +3 -3
  677. package/dist/v1/permission.js +1 -1
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +86 -86
  680. package/dist/websearch.js +81 -81
  681. package/dist/wellknown/plugin.js +75 -75
  682. package/dist/wellknown.js +80 -80
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +79 -79
  686. package/dist/worktree/directory.js +4 -4
  687. package/dist/worktree/git.js +7 -7
  688. package/dist/worktree/refresh.js +341 -341
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree.js +90 -90
  691. package/package.json +8 -8
  692. package/dist/chunks/command-cjk994kr.js +0 -247
  693. package/dist/chunks/command-h47he10w.js +0 -4
  694. package/dist/chunks/command-hgstdy4b.js +0 -22
  695. package/dist/chunks/command-q509s3k3.js +0 -18
  696. /package/dist/chunks/{command-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{command-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{command-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{command-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{command-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{command-2710q6r3.js → generate-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{command-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{command-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{command-359p4xyc.js → generate-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{command-3asan66x.js → generate-3asan66x.js} +0 -0
  706. /package/dist/chunks/{command-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{command-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{command-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{command-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{command-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{command-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{command-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{command-53557ph1.js → generate-53557ph1.js} +0 -0
  714. /package/dist/chunks/{command-550bvhaj.js → generate-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{command-6prwharc.js → generate-6prwharc.js} +0 -0
  716. /package/dist/chunks/{command-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{command-7m9af43g.js → generate-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{command-822emrt2.js → generate-822emrt2.js} +0 -0
  719. /package/dist/chunks/{command-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{command-8n3pysct.js → generate-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{command-922hggd3.js → generate-922hggd3.js} +0 -0
  722. /package/dist/chunks/{command-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{command-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{command-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{command-af5trqkr.js → generate-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{command-afrmfg78.js → generate-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{command-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{command-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{command-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{command-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{command-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{command-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{command-d9fn303g.js → generate-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{command-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{command-dajrwvna.js → generate-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{command-dap0rakb.js → generate-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{command-df08tz66.js → generate-df08tz66.js} +0 -0
  738. /package/dist/chunks/{command-dy18nga0.js → generate-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{command-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{command-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{command-ec1grn59.js → generate-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{command-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{command-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{command-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{command-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{command-faypxj3z.js → generate-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{command-fd410y7t.js → generate-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{command-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{command-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{command-g86h250q.js → generate-g86h250q.js} +0 -0
  751. /package/dist/chunks/{command-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{command-gftt206x.js → generate-gftt206x.js} +0 -0
  753. /package/dist/chunks/{command-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{command-hk9envan.js → generate-hk9envan.js} +0 -0
  755. /package/dist/chunks/{command-hrnqkpcd.js → generate-hrnqkpcd.js} +0 -0
  756. /package/dist/chunks/{command-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{command-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{command-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{command-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{command-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{command-mp448xyj.js → generate-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{command-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{command-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{command-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{command-njntx4h6.js → generate-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{command-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{command-q74kybfr.js → generate-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{command-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{command-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{command-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{command-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{command-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{command-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{command-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{command-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{command-twg0f83k.js → generate-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{command-w803qqfp.js → generate-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{command-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{command-wtztk69x.js → generate-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{command-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{command-x61499pn.js → generate-x61499pn.js} +0 -0
  782. /package/dist/chunks/{command-y44na4kk.js → generate-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{command-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
  784. /package/dist/chunks/{command-y8f7s663.js → generate-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{command-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{command-ym463w8f.js → generate-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{command-z9919s4g.js → generate-z9919s4g.js} +0 -0
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./command-y71avatq.js";
3
+ } from "./generate-y71avatq.js";
4
4
  import {
5
5
  Service79,
6
6
  node84
7
- } from "./command-jzbwbd34.js";
7
+ } from "./generate-yg641eya.js";
8
8
  import {
9
- Event20,
10
- Service78,
11
- node83
12
- } from "./command-n093m6g5.js";
13
- import {
14
- Service69,
9
+ Event19,
10
+ Service70,
15
11
  node74
16
- } from "./command-q029wpmv.js";
17
- import {
18
- Service58,
19
- node62
20
- } from "./command-xe49p51w.js";
12
+ } from "./generate-t4xg9j4k.js";
21
13
  import {
22
- ID15,
23
14
  Service76,
24
15
  node81
25
- } from "./command-8bzwbvaa.js";
16
+ } from "./generate-7pz2a2p6.js";
17
+ import {
18
+ Service73,
19
+ node77
20
+ } from "./generate-y3g0amfz.js";
21
+ import {
22
+ ID12,
23
+ Service67,
24
+ node71
25
+ } from "./generate-165my6fc.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./command-kg06axw8.js";
29
+ } from "./generate-kg06axw8.js";
30
30
  import {
31
- ID14,
31
+ ID10,
32
32
  MethodID2,
33
- Service75,
34
- node80
35
- } from "./command-k12jm31d.js";
33
+ Service66,
34
+ node70
35
+ } from "./generate-98nqcwy8.js";
36
36
  import {
37
37
  __export
38
- } from "./command-9rqn6x4v.js";
38
+ } from "./generate-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
44
  NotFoundError: () => NotFoundError2,
45
- Options: () => Options2,
45
+ Options: () => Options4,
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: () => Service22,
59
+ Service: () => Service25,
60
60
  Status: () => Status2,
61
- Tool: () => Tool3,
61
+ Tool: () => Tool2,
62
62
  ToolCallError: () => ToolCallError2,
63
63
  ToolResult: () => ToolResult2,
64
64
  ToolResultContent: () => ToolResultContent2,
65
- configured: () => configured2,
66
- layer: () => layer10,
67
- node: () => node27
65
+ configured: () => configured4,
66
+ layer: () => layer12,
67
+ node: () => node30
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: ID10.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),
@@ -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 Service22 extends Context.Service()("@opencode/MCP") {
168
+ class Service25 extends Context.Service()("@opencode/MCP") {
169
169
  }
170
- var Options2 = Schema.Struct({
170
+ var Options4 = 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 layer10 = (options) => Layer.effect(Service22, Effect.gen(function* () {
177
- const location = yield* Service69;
178
- const environment = yield* Service58;
176
+ var layer12 = (options) => Layer.effect(Service25, Effect.gen(function* () {
177
+ const location = yield* Service76;
178
+ const environment = yield* Service73;
179
179
  const bus = yield* Service79;
180
- const forms = yield* Service76;
181
- const integration = yield* Service75;
182
- const credentials = yield* Service78;
180
+ const forms = yield* Service67;
181
+ const integration = yield* Service66;
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 layer10 = (options) => Layer.effect(Service22, 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 = ID10.make(suffix);
195
195
  entry.integrationID = integrationID;
196
196
  owned.add(integrationID);
197
197
  const methodID = MethodID2.make(suffix);
@@ -315,7 +315,7 @@ var layer10 = (options) => Layer.effect(Service22, Effect.gen(function* () {
315
315
  const elicitation = {
316
316
  create: (input) => Effect.gen(function* () {
317
317
  if (input.params.mode === "url") {
318
- const formID = ID15.create();
318
+ const formID = ID12.create();
319
319
  const key = input.server + "\x00" + input.params.elicitationId;
320
320
  urlElicitations.set(key, formID);
321
321
  return yield* forms.ask({
@@ -358,7 +358,7 @@ var layer10 = (options) => Layer.effect(Service22, 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 layer10 = (options) => Layer.effect(Service22, 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(Service58, 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(Service73, 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 layer10 = (options) => Layer.effect(Service22, 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(Event19.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 layer10 = (options) => Layer.effect(Service22, Effect.gen(function* () {
587
587
  concurrency: "unbounded",
588
588
  discard: true
589
589
  }));
590
- return Service22.of({
590
+ return Service25.of({
591
591
  transform: state.transform,
592
592
  reload: state.reload,
593
593
  servers: Effect.fn("MCP.servers")(function* () {
@@ -707,14 +707,14 @@ var layer10 = (options) => Layer.effect(Service22, Effect.gen(function* () {
707
707
  })
708
708
  });
709
709
  }));
710
- function configured2(options) {
710
+ function configured4(options) {
711
711
  return makeLocationNode({
712
- service: Service22,
713
- layer: layer10(options),
714
- deps: [node74, node62, node84, node81, node80, node83]
712
+ service: Service25,
713
+ layer: layer12(options),
714
+ deps: [node81, node77, node84, node71, node70, node74]
715
715
  });
716
716
  }
717
- var node27 = configured2();
717
+ var node30 = configured4();
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, Service22, Options2, layer10, configured2, node27, exports_mcp4 };
768
+ export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool2, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2, Service25, Options4, layer12, configured4, node30, exports_mcp4 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./command-emrn6kk6.js";
4
+ } from "./generate-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./command-2wxfd3z4.js";
7
+ } from "./generate-wawrd6s0.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service65
4
- } from "./command-6dqz5g6p.js";
3
+ Service42
4
+ } from "./generate-r2d6ykh7.js";
5
5
  import {
6
6
  observe2
7
- } from "./command-qsdy395h.js";
7
+ } from "./generate-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./command-9rqn6x4v.js";
10
+ } from "./generate-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
13
  var exports_websearch2 = {};
14
14
  __export(exports_websearch2, {
15
15
  ConfigWebSearchPlugin: () => exports_websearch2,
16
- Plugin: () => Plugin37
16
+ Plugin: () => Plugin38
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin37 = define({
20
+ var Plugin38 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service65;
23
+ const config = yield* Service42;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin37 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin37, exports_websearch2 };
35
+ export { Plugin38, exports_websearch2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./command-6msgmcgs.js";
4
+ } from "./generate-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./command-qfa1cgps.js";
7
+ } from "./generate-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service65
4
- } from "./command-6dqz5g6p.js";
3
+ Service42
4
+ } from "./generate-r2d6ykh7.js";
5
5
  import {
6
- Service50
7
- } from "./command-n68r2zkb.js";
6
+ Service55
7
+ } from "./generate-x450zzfr.js";
8
8
  import {
9
9
  observe2
10
- } from "./command-qsdy395h.js";
10
+ } from "./generate-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./command-9rqn6x4v.js";
13
+ } from "./generate-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin33
19
+ Plugin: () => Plugin37
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin33 = define({
23
+ var Plugin37 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service65;
27
- const output = yield* Service50;
26
+ const config = yield* Service42;
27
+ const output = yield* Service55;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin33 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin33, exports_tool_output };
41
+ export { Plugin37, exports_tool_output };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./command-jzbwbd34.js";
4
+ } from "./generate-yg641eya.js";
5
5
  import {
6
6
  Key4,
7
- Service78,
8
- node83
9
- } from "./command-n093m6g5.js";
7
+ Service70,
8
+ node74
9
+ } from "./generate-t4xg9j4k.js";
10
10
  import {
11
11
  create3
12
- } from "./command-kg06axw8.js";
12
+ } from "./generate-kg06axw8.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./command-8bzwbvaa.js";
16
+ } from "./generate-165my6fc.js";
17
17
  import {
18
18
  __export
19
- } from "./command-9rqn6x4v.js";
19
+ } from "./generate-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -30,17 +30,17 @@ __export(exports_integration, {
30
30
  CommandAttemptStatus: () => CommandAttemptStatus2,
31
31
  CommandMethod: () => CommandMethod2,
32
32
  EnvMethod: () => EnvMethod2,
33
- Event: () => Event18,
34
- ID: () => ID14,
35
- Info: () => Info29,
33
+ Event: () => Event16,
34
+ ID: () => ID10,
35
+ Info: () => Info24,
36
36
  Integration: () => exports_integration,
37
37
  KeyMethod: () => KeyMethod2,
38
38
  Method: () => Method2,
39
39
  MethodID: () => MethodID2,
40
40
  OAuthMethod: () => OAuthMethod2,
41
- Ref: () => Ref3,
42
- Service: () => Service75,
43
- node: () => node80
41
+ Ref: () => Ref2,
42
+ Service: () => Service66,
43
+ node: () => node70
44
44
  });
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import {
@@ -61,8 +61,8 @@ import {
61
61
  import { Integration } from "@opencode/schema/integration";
62
62
  import { AppProcess } from "@opencode/util/process";
63
63
  import { ChildProcess } from "effect/unstable/process";
64
- import { Event as Event18 } from "@opencode/schema/integration";
65
- var ID14 = Integration.ID;
64
+ import { Event as Event16 } from "@opencode/schema/integration";
65
+ var ID10 = Integration.ID;
66
66
  var MethodID2 = Integration.MethodID;
67
67
  var AttemptID2 = Integration.AttemptID;
68
68
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
70
70
  var KeyMethod2 = Integration.KeyMethod;
71
71
  var EnvMethod2 = Integration.EnvMethod;
72
72
  var Method2 = Integration.Method;
73
- var Info29 = Integration.Info;
73
+ var Info24 = Integration.Info;
74
74
  var Attempt2 = Integration.Attempt;
75
75
  var AttemptStatus2 = Integration.AttemptStatus;
76
76
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -85,15 +85,15 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
85
85
  cause: Schema.Defect()
86
86
  }) {
87
87
  }
88
- var Ref3 = Integration.Ref;
88
+ var Ref2 = Integration.Ref;
89
89
 
90
- class Service75 extends Context.Service()("@opencode/Integration") {
90
+ class Service66 extends Context.Service()("@opencode/Integration") {
91
91
  }
92
92
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
93
93
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
94
94
  var scrubInterval = Duration.seconds(30);
95
- var layer = Layer.effect(Service75, Effect.gen(function* () {
96
- const credentials = yield* Service78;
95
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
96
+ const credentials = yield* Service70;
97
97
  const bus = yield* Service79;
98
98
  const processes = yield* AppProcess.Service;
99
99
  const scope = yield* Scope.Scope;
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
187
187
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
188
188
  return [...credentials, ...env];
189
189
  };
190
- const project = (entry, connections) => Info29.make({
190
+ const project = (entry, connections) => Info24.make({
191
191
  id: entry.ref.id,
192
192
  name: entry.ref.name,
193
193
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
417
417
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
418
418
  return CommandAttempt2.make({ attemptID, time });
419
419
  });
420
- return Service75.of({
420
+ return Service66.of({
421
421
  transform: state.transform,
422
422
  reload: state.reload,
423
423
  get: Effect.fn("Integration.get")(function* (id) {
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
565
565
  }
566
566
  });
567
567
  }));
568
- var node80 = makeLocationNode({
569
- service: Service75,
568
+ var node70 = makeLocationNode({
569
+ service: Service66,
570
570
  layer,
571
- deps: [node83, node84, AppProcess.node]
571
+ deps: [node74, node84, AppProcess.node]
572
572
  });
573
573
 
574
- export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref3, Service75, node80, exports_integration, Event18 };
574
+ export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info24, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service66, node70, exports_integration, Event16 };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service69,
3
- node74
4
- } from "./command-q029wpmv.js";
2
+ Service76,
3
+ node81
4
+ } from "./generate-7pz2a2p6.js";
5
5
  import {
6
6
  create3
7
- } from "./command-kg06axw8.js";
7
+ } from "./generate-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./command-9rqn6x4v.js";
10
+ } from "./generate-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
- var exports_formatter2 = {};
14
- __export(exports_formatter2, {
15
- Formatter: () => exports_formatter2,
16
- Service: () => Service13,
17
- node: () => node16
13
+ var exports_formatter3 = {};
14
+ __export(exports_formatter3, {
15
+ Formatter: () => exports_formatter3,
16
+ Service: () => Service75,
17
+ node: () => node80
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service13 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service75 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service13, Effect.gen(function* () {
27
- const location = yield* Service69;
26
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
27
+ const location = yield* Service76;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service13.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service75.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node16 = makeLocationNode({
91
- service: Service13,
90
+ var node80 = makeLocationNode({
91
+ service: Service75,
92
92
  layer,
93
- deps: [node74, AppProcess.node]
93
+ deps: [node81, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service13, node16, exports_formatter2 };
96
+ export { Service75, node80, exports_formatter3 };
@@ -2,37 +2,37 @@ import {
2
2
  ephemeral2,
3
3
  Service79,
4
4
  node84
5
- } from "./command-jzbwbd34.js";
5
+ } from "./generate-yg641eya.js";
6
6
  import {
7
7
  __export
8
- } from "./command-9rqn6x4v.js";
8
+ } from "./generate-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service2,
14
+ Service: () => Service3,
15
15
  Updated: () => Updated2,
16
16
  layer: () => layer4,
17
- node: () => node4
17
+ node: () => node5
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service2 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service3 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer4 = Layer.effect(Service2, Effect.gen(function* () {
25
+ var layer4 = Layer.effect(Service3, Effect.gen(function* () {
26
26
  const bus = yield* Service79;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service2.of({
29
+ return Service3.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node4 = makeGlobalNode({ service: Service2, layer: layer4, deps: [node84] });
36
+ var node5 = makeGlobalNode({ service: Service3, layer: layer4, deps: [node84] });
37
37
 
38
- export { Updated2, Service2, layer4, node4, exports_sdk };
38
+ export { Updated2, Service3, layer4, node5, exports_sdk };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service79
3
- } from "./command-jzbwbd34.js";
3
+ } from "./generate-yg641eya.js";
4
4
  import {
5
5
  OAuth3,
6
- Event20
7
- } from "./command-n093m6g5.js";
6
+ Event19
7
+ } from "./generate-t4xg9j4k.js";
8
8
  import {
9
- ID14,
9
+ ID10,
10
10
  MethodID2
11
- } from "./command-k12jm31d.js";
11
+ } from "./generate-98nqcwy8.js";
12
12
  import {
13
- ID18,
13
+ ID15,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./command-m27pyyd3.js";
16
+ } from "./generate-2d6j2h4j.js";
17
17
  import {
18
- ID4,
18
+ ID3,
19
19
  Input14,
20
20
  Response2
21
- } from "./command-2vs0bhag.js";
21
+ } from "./generate-fmejfqxx.js";
22
22
 
23
23
  // src/plugin/provider/opencode.ts
24
24
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
32
32
  var RemoteResponse = Schema.Struct({
33
33
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
34
34
  websearch: Schema.Struct({
35
- providerID: ID4
35
+ providerID: ID3
36
36
  }).pipe(Schema.optional)
37
37
  });
38
38
  var Device = Schema.Struct({
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
54
54
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
55
55
  function oauth(http) {
56
56
  return {
57
- integrationID: ID14.make("opencode"),
57
+ integrationID: ID10.make("opencode"),
58
58
  method: {
59
59
  id: methodID,
60
60
  type: "oauth",
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
125
125
  catalog.provider.update(providerID, (provider) => {
126
126
  if (source && source.provider !== provider)
127
127
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
128
- provider.integrationID = ID14.make("opencode");
128
+ provider.integrationID = ID10.make("opencode");
129
129
  if (item.canonical !== undefined)
130
130
  provider.canonical = item.canonical;
131
131
  if (item.name !== undefined)
@@ -188,7 +188,7 @@ var OpencodePlugin2 = define({
188
188
  });
189
189
  }
190
190
  }
191
- const item = catalog.provider.get(ID18.opencode);
191
+ const item = catalog.provider.get(ID15.opencode);
192
192
  if (!item)
193
193
  return;
194
194
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
249
249
  yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
250
250
  });
251
251
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
252
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
252
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
253
253
  yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
254
254
  })
255
255
  });