@opencode/core 0.0.0-dev-19599 → 0.0.0-dev-19601

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 +89 -89
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{tool-t550f9t1.js → config-02nrjc1r.js} +8 -8
  8. package/dist/chunks/{tool-v0hcs57f.js → config-02vv4t7e.js} +4 -4
  9. package/dist/chunks/{tool-6sg447na.js → config-07ct75e8.js} +15 -15
  10. package/dist/chunks/{tool-acpnwff5.js → config-0bxteebn.js} +3 -3
  11. package/dist/chunks/{tool-w9rsy75j.js → config-0cnqf63x.js} +28 -28
  12. package/dist/chunks/{tool-f9a3pmyr.js → config-0cwcwy81.js} +13 -13
  13. package/dist/chunks/{tool-vas055je.js → config-0p1mpksr.js} +6 -6
  14. package/dist/chunks/{tool-0paq2nw3.js → config-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{tool-0q0f95c6.js → config-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{tool-r6fz4byc.js → config-0xzm444n.js} +1 -1
  17. package/dist/chunks/{tool-sy7efrgz.js → config-1037fk78.js} +28 -28
  18. package/dist/chunks/{tool-zdvgxm63.js → config-10c965xq.js} +22 -22
  19. package/dist/chunks/{tool-tvmnx93k.js → config-17gm43d7.js} +67 -67
  20. package/dist/chunks/{tool-1dazxqgg.js → config-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{tool-mrk4e56b.js → config-1hpwa04j.js} +16 -16
  22. package/dist/chunks/config-1jzc40x7.js +251 -0
  23. package/dist/chunks/{tool-21r38tys.js → config-21r38tys.js} +1 -1
  24. package/dist/chunks/{tool-s9pnwdwt.js → config-22nhpc8c.js} +1 -1
  25. package/dist/chunks/{tool-2402vzrj.js → config-2402vzrj.js} +1 -1
  26. package/dist/chunks/{tool-2a5m3afh.js → config-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{tool-jxrvs0y0.js → config-2evr9zt9.js} +17 -17
  28. package/dist/chunks/{tool-98f484r8.js → config-2nqybkx4.js} +16 -16
  29. package/dist/chunks/{tool-nffnkmsf.js → config-2qy99qce.js} +26 -26
  30. package/dist/chunks/{tool-y10wk092.js → config-2y34zzjz.js} +9 -9
  31. package/dist/chunks/{tool-yyqa94g7.js → config-311bhbyp.js} +43 -43
  32. package/dist/chunks/{tool-e4yvw0pn.js → config-33j6m0ys.js} +37 -37
  33. package/dist/chunks/{tool-56gdpj1q.js → config-33w4ejhs.js} +6 -6
  34. package/dist/chunks/{tool-bajakh74.js → config-3c4e3q8d.js} +4 -4
  35. package/dist/chunks/{tool-3fc6dm20.js → config-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{tool-99yh2pdr.js → config-3gjm35pn.js} +15 -15
  37. package/dist/chunks/{tool-3hepkmqq.js → config-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{tool-2x9c36ps.js → config-3q02f9f5.js} +44 -44
  39. package/dist/chunks/{tool-3smtnn6g.js → config-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{tool-3tvqynh2.js → config-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{tool-3w0fmcng.js → config-3w2b2yj4.js} +5 -5
  42. package/dist/chunks/{tool-2vg6efqn.js → config-46mmdbbw.js} +3 -3
  43. package/dist/chunks/{tool-jj2x8ya3.js → config-49xfatwk.js} +30 -30
  44. package/dist/chunks/{tool-3g77v28p.js → config-4hvk3cj0.js} +1 -1
  45. package/dist/chunks/{tool-mf4jvz0z.js → config-4kstw10y.js} +8 -8
  46. package/dist/chunks/{tool-metb0c44.js → config-4m864w3m.js} +11 -11
  47. package/dist/chunks/{tool-wzvtb6ev.js → config-4sya3ve4.js} +20 -20
  48. package/dist/chunks/{tool-7tw3btct.js → config-4x4yz1zb.js} +6 -6
  49. package/dist/chunks/{tool-bmnapqat.js → config-4ykybvcx.js} +11 -11
  50. package/dist/chunks/{tool-pngq9dd9.js → config-512fes74.js} +20 -20
  51. package/dist/chunks/{tool-3f6m7h4m.js → config-561257dr.js} +9 -9
  52. package/dist/chunks/{tool-57ez7d0k.js → config-57ez7d0k.js} +2 -2
  53. package/dist/chunks/{tool-mtxfs5k5.js → config-5a015e2n.js} +22 -22
  54. package/dist/chunks/{tool-a1bz86dw.js → config-5c4hm403.js} +3 -3
  55. package/dist/chunks/{tool-mksr8qt3.js → config-5ckhvvdw.js} +8 -8
  56. package/dist/chunks/{tool-5daktx2q.js → config-5daktx2q.js} +1 -1
  57. package/dist/chunks/{tool-95vfjh4q.js → config-5ddn7qpa.js} +9 -9
  58. package/dist/chunks/{tool-e3qxr5gk.js → config-5qd3pb7m.js} +2 -2
  59. package/dist/chunks/{tool-5t3nmthw.js → config-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{tool-h0cab0jj.js → config-5xyhe042.js} +6 -6
  61. package/dist/chunks/{tool-kj8x889q.js → config-5zfzqmbx.js} +12 -12
  62. package/dist/chunks/{tool-b7n5ecmq.js → config-661h2f9b.js} +39 -39
  63. package/dist/chunks/{tool-669tq793.js → config-669tq793.js} +1 -1
  64. package/dist/chunks/{tool-63dea9jd.js → config-6er5gdy9.js} +1 -1
  65. package/dist/chunks/{tool-jjs74g98.js → config-6jnybvqn.js} +9 -9
  66. package/dist/chunks/{tool-gbex3acd.js → config-6m7mwj0d.js} +30 -30
  67. package/dist/chunks/{tool-6msgmcgs.js → config-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{tool-vgf270yp.js → config-710x7ek7.js} +1 -1
  69. package/dist/chunks/{tool-71q4at8m.js → config-71q4at8m.js} +1 -1
  70. package/dist/chunks/{tool-hddv9rh5.js → config-71t2waba.js} +11 -11
  71. package/dist/chunks/{tool-p42hj8p8.js → config-7b15y959.js} +8 -8
  72. package/dist/chunks/{tool-7bmhse3q.js → config-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{tool-2mq1h16s.js → config-7d01vtdt.js} +9 -9
  74. package/dist/chunks/{tool-fcrkznn8.js → config-7dqw4kz8.js} +5 -5
  75. package/dist/chunks/{tool-tqsepttq.js → config-7s10n74m.js} +11 -11
  76. package/dist/chunks/{tool-gan2aag1.js → config-7s61wb75.js} +2 -2
  77. package/dist/chunks/{tool-m46abj74.js → config-7z47sd0g.js} +5 -5
  78. package/dist/chunks/{tool-hswenssz.js → config-7zbs69wf.js} +20 -20
  79. package/dist/chunks/{tool-p7cb5w0v.js → config-8bcx3nez.js} +4 -4
  80. package/dist/chunks/{tool-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/config-8e0kgrz0.js +26 -0
  82. package/dist/chunks/{tool-djh8651g.js → config-8j98jw8c.js} +35 -35
  83. package/dist/chunks/{tool-ze59vjzs.js → config-8jxhrtr4.js} +32 -32
  84. package/dist/chunks/{tool-f38hchcj.js → config-8p2dyb9f.js} +16 -16
  85. package/dist/chunks/{tool-y0rh7a7t.js → config-8xmwc048.js} +30 -30
  86. package/dist/chunks/{tool-3y6z2ty2.js → config-99a0qa8k.js} +17 -17
  87. package/dist/chunks/{tool-chp1ctqz.js → config-9hcx1pw3.js} +11 -11
  88. package/dist/chunks/{tool-vmyza7nt.js → config-9pc1c82a.js} +62 -62
  89. package/dist/chunks/{tool-cddy6wgw.js → config-9vxqyqsf.js} +11 -11
  90. package/dist/chunks/{tool-f1xrsf6k.js → config-a0saq2jn.js} +15 -15
  91. package/dist/chunks/{tool-fspd6qjs.js → config-a578w8xj.js} +24 -24
  92. package/dist/chunks/{tool-vqdbe12f.js → config-a81jxvbk.js} +42 -42
  93. package/dist/chunks/{tool-e8rb0fk9.js → config-a9gm5pt7.js} +11 -11
  94. package/dist/chunks/{tool-aaet6srn.js → config-aaet6srn.js} +2 -2
  95. package/dist/chunks/{tool-rcptzcjb.js → config-af4gk936.js} +28 -28
  96. package/dist/chunks/{tool-tprb9ykm.js → config-ak9msbxp.js} +6 -6
  97. package/dist/chunks/{tool-6qkc0t3x.js → config-at1kfnmk.js} +8 -8
  98. package/dist/chunks/{tool-b6gygkdw.js → config-b6gygkdw.js} +2 -2
  99. package/dist/chunks/{tool-gjtgcmhe.js → config-b9kr5pr6.js} +6 -6
  100. package/dist/chunks/{tool-66qmevrd.js → config-bga3tdbt.js} +14 -14
  101. package/dist/chunks/{tool-e5nv3ght.js → config-bndc73cn.js} +5 -5
  102. package/dist/chunks/{tool-f3yjyja6.js → config-bspgjcjj.js} +13 -13
  103. package/dist/chunks/{tool-7v2wf9c4.js → config-bt0r0ca8.js} +33 -33
  104. package/dist/chunks/{tool-bv9pnvgp.js → config-bvs3n29g.js} +4 -4
  105. package/dist/chunks/{tool-2h74skrz.js → config-bvtyn1jh.js} +25 -25
  106. package/dist/chunks/{tool-qh3h8fjc.js → config-bx6fw66d.js} +24 -24
  107. package/dist/chunks/{tool-9kvb8f9y.js → config-c0qqbqkt.js} +23 -23
  108. package/dist/chunks/{tool-n9a9ascx.js → config-chb9knyq.js} +23 -23
  109. package/dist/chunks/{tool-4kbjb3sr.js → config-cmpbkavg.js} +18 -18
  110. package/dist/chunks/{tool-h6r3nrb9.js → config-cpj0znwe.js} +4 -4
  111. package/dist/chunks/{tool-4an599d2.js → config-d29w5y5s.js} +11 -11
  112. package/dist/chunks/{tool-t97w6b9c.js → config-dcndwnyf.js} +10 -10
  113. package/dist/chunks/{tool-vdyyrf70.js → config-dcse214k.js} +6 -6
  114. package/dist/chunks/{tool-erw0n60b.js → config-dgmceqp5.js} +8 -8
  115. package/dist/chunks/{tool-8p4f9s12.js → config-dj2t23y0.js} +2 -2
  116. package/dist/chunks/{tool-dpkg50ah.js → config-dpkg50ah.js} +1 -1
  117. package/dist/chunks/{tool-nb4aeq3b.js → config-dr66jqxh.js} +7 -7
  118. package/dist/chunks/{tool-smthb8q2.js → config-e64sr7en.js} +24 -24
  119. package/dist/chunks/{tool-ctn2km86.js → config-e8340df8.js} +6 -6
  120. package/dist/chunks/{tool-rfbvv5xc.js → config-eat4kxte.js} +4 -4
  121. package/dist/chunks/{tool-1bkx5pwe.js → config-ef38hzxk.js} +12 -12
  122. package/dist/chunks/{tool-ef5x83kb.js → config-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{tool-y3acf7kc.js → config-emzzpcmn.js} +20 -20
  124. package/dist/chunks/{tool-k56b83dc.js → config-ep4s98w8.js} +19 -19
  125. package/dist/chunks/{tool-mvfsc1pv.js → config-eq1pz5kg.js} +3 -3
  126. package/dist/chunks/{tool-etq0c3wd.js → config-etq0c3wd.js} +1 -1
  127. package/dist/chunks/{tool-jzzy94zk.js → config-f7ehr2sm.js} +9 -9
  128. package/dist/chunks/{tool-va79mfn6.js → config-fdbh7561.js} +24 -24
  129. package/dist/chunks/{tool-8kacz6a1.js → config-fha9pxsp.js} +27 -27
  130. package/dist/chunks/{tool-v64wsefy.js → config-ft490bmc.js} +18 -18
  131. package/dist/chunks/{tool-ttyd6mwr.js → config-ftjyd2wg.js} +9 -9
  132. package/dist/chunks/{tool-2d57kztd.js → config-fvanntqq.js} +6 -6
  133. package/dist/chunks/{tool-fxbjtjnd.js → config-fxbjtjnd.js} +1 -1
  134. package/dist/chunks/{tool-bwfqemah.js → config-g799fvry.js} +18 -18
  135. package/dist/chunks/{tool-akvwqyjh.js → config-g7hwnr26.js} +21 -21
  136. package/dist/chunks/{tool-rm9n4pe2.js → config-gcxs8bcj.js} +29 -29
  137. package/dist/chunks/{tool-gd4qta3r.js → config-gd4qta3r.js} +1 -1
  138. package/dist/chunks/{tool-acxcbb38.js → config-gg1g9x44.js} +22 -22
  139. package/dist/chunks/{tool-7vnx6y3p.js → config-gmdddcby.js} +20 -20
  140. package/dist/chunks/{tool-gv6a8nnw.js → config-gv6a8nnw.js} +2 -2
  141. package/dist/chunks/{tool-h03wrkyp.js → config-h03wrkyp.js} +2 -2
  142. package/dist/chunks/{tool-5qdj1v4m.js → config-h2jj299s.js} +13 -13
  143. package/dist/chunks/{tool-17j9h1rv.js → config-h2r7bbkd.js} +11 -11
  144. package/dist/chunks/{tool-a6d3kgp8.js → config-h36hfp8w.js} +20 -20
  145. package/dist/chunks/{tool-h6vf3j39.js → config-h6vf3j39.js} +1 -1
  146. package/dist/chunks/{tool-f828m53h.js → config-hdnk95c8.js} +2 -2
  147. package/dist/chunks/{tool-21dj5k26.js → config-hfjwnna4.js} +9 -9
  148. package/dist/chunks/{tool-c5f1xghs.js → config-hh67s49j.js} +36 -36
  149. package/dist/chunks/{tool-tqkrwgse.js → config-hkagk5ex.js} +2 -2
  150. package/dist/chunks/{tool-ve6nm2s5.js → config-hwe7x4em.js} +6 -6
  151. package/dist/chunks/{tool-b5vpxnpr.js → config-hxhthevt.js} +24 -24
  152. package/dist/chunks/{tool-pd0fnjnr.js → config-hyts3kyv.js} +24 -24
  153. package/dist/chunks/{tool-j56e64zr.js → config-j56e64zr.js} +1 -1
  154. package/dist/chunks/{tool-da1ppnzr.js → config-jcc1af6w.js} +32 -32
  155. package/dist/chunks/{tool-8dp74fdk.js → config-jp0z8v05.js} +26 -26
  156. package/dist/chunks/{tool-4gp9przv.js → config-jq1r26zb.js} +8 -8
  157. package/dist/chunks/{tool-d55qd04d.js → config-jr7r5qxn.js} +30 -30
  158. package/dist/chunks/{tool-92s0cqnp.js → config-jsgc62f7.js} +12 -12
  159. package/dist/chunks/{tool-2wvxgkaf.js → config-jt6yj0wk.js} +33 -33
  160. package/dist/chunks/{tool-6sr3ve8g.js → config-jw80jp6b.js} +21 -21
  161. package/dist/chunks/{tool-dy775f0c.js → config-jxahb5yh.js} +14 -14
  162. package/dist/chunks/{tool-1gfn0ycf.js → config-k02etdm7.js} +32 -32
  163. package/dist/chunks/{tool-ebx0djr7.js → config-k3nb5hz9.js} +5 -5
  164. package/dist/chunks/{tool-8y01k5fy.js → config-k7d8hn12.js} +4 -4
  165. package/dist/chunks/{tool-4e0pbrm7.js → config-kbabcr0z.js} +8 -8
  166. package/dist/chunks/{tool-c0g4q567.js → config-kf89feae.js} +22 -22
  167. package/dist/chunks/{tool-ce8sn01r.js → config-kxgs9bks.js} +43 -43
  168. package/dist/chunks/{tool-cfpkc3c9.js → config-m0jqrx5p.js} +2 -2
  169. package/dist/chunks/{tool-5hsgp0bq.js → config-m33h53s5.js} +18 -18
  170. package/dist/chunks/{tool-mwp9jd7s.js → config-m62t8evc.js} +8 -8
  171. package/dist/chunks/{tool-e0b694rp.js → config-m8t7cym1.js} +23 -23
  172. package/dist/chunks/{tool-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{tool-t06sf88e.js → config-may7gegf.js} +12 -12
  174. package/dist/chunks/{tool-bbaxns64.js → config-mec4xq3m.js} +10 -10
  175. package/dist/chunks/{tool-z4t82ehr.js → config-mhenqsgy.js} +3 -3
  176. package/dist/chunks/{tool-f1ts345w.js → config-mj8bfnak.js} +10 -10
  177. package/dist/chunks/{tool-may1xj9k.js → config-mm2fzfxw.js} +180 -180
  178. package/dist/chunks/{tool-ptg6kxy0.js → config-mmemk5tk.js} +21 -21
  179. package/dist/chunks/{tool-nafczmzp.js → config-mwqpz8n2.js} +31 -31
  180. package/dist/chunks/{tool-4gnyebnw.js → config-myqbec2v.js} +7 -7
  181. package/dist/chunks/{tool-fgb2mcbr.js → config-n1g6tgdt.js} +22 -22
  182. package/dist/chunks/{tool-7933w99v.js → config-n2p6wzd9.js} +90 -90
  183. package/dist/chunks/{tool-nr5q34ns.js → config-n46at92c.js} +15 -15
  184. package/dist/chunks/{tool-r2gzwywa.js → config-n8d9nt83.js} +29 -29
  185. package/dist/chunks/{tool-6j9t704q.js → config-nbjvymme.js} +17 -17
  186. package/dist/chunks/{tool-nvxqht09.js → config-ndmv45hp.js} +3 -3
  187. package/dist/chunks/{tool-nhy5jxhy.js → config-nhy5jxhy.js} +1 -1
  188. package/dist/chunks/{tool-nw3p9810.js → config-nq5k1b2k.js} +4 -4
  189. package/dist/chunks/{tool-fsqnn3fv.js → config-nrhg7jns.js} +18 -18
  190. package/dist/chunks/{tool-6yy9wark.js → config-nwfagajg.js} +11 -11
  191. package/dist/chunks/{tool-ead3g9p8.js → config-nxhqveyz.js} +5 -5
  192. package/dist/chunks/{tool-8e117wbv.js → config-p13m5t7c.js} +3 -3
  193. package/dist/chunks/{tool-4vkh6st7.js → config-p3eq7c85.js} +16 -16
  194. package/dist/chunks/{tool-7m0wx7n2.js → config-p4688at0.js} +5 -5
  195. package/dist/chunks/{tool-66yyaz7c.js → config-p60gzv6z.js} +46 -46
  196. package/dist/chunks/{tool-884gyjym.js → config-p71w2c74.js} +4 -4
  197. package/dist/chunks/{tool-88sz8qcd.js → config-paegk39x.js} +4 -4
  198. package/dist/chunks/{tool-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{tool-r1dtnce0.js → config-pk8q5a7v.js} +21 -21
  200. package/dist/chunks/{tool-pknna89w.js → config-pknna89w.js} +1 -1
  201. package/dist/chunks/{tool-wjjsbp8j.js → config-q25aqn8x.js} +3 -3
  202. package/dist/chunks/{tool-d383cjmk.js → config-q8peyv7x.js} +8 -8
  203. package/dist/chunks/{tool-emgx2tje.js → config-qb2r5jjt.js} +5 -5
  204. package/dist/chunks/config-qc068m1q.js +18 -0
  205. package/dist/chunks/{tool-cdx2nmd2.js → config-qm9468kh.js} +52 -52
  206. package/dist/chunks/{tool-fdftwakz.js → config-qq98fpg3.js} +10 -10
  207. package/dist/chunks/{tool-n83tpar3.js → config-qrsrd25h.js} +36 -36
  208. package/dist/chunks/{tool-qsdy395h.js → config-qsdy395h.js} +1 -1
  209. package/dist/chunks/{tool-gjh1s6ya.js → config-qvfgmrxz.js} +14 -14
  210. package/dist/chunks/{tool-383meeh8.js → config-qxwj42xs.js} +47 -47
  211. package/dist/chunks/{tool-cejrj8y8.js → config-r1176k9f.js} +23 -23
  212. package/dist/chunks/{tool-5k338v2a.js → config-r7pkag9k.js} +22 -22
  213. package/dist/chunks/{tool-40tbggcp.js → config-r8k6ctx1.js} +35 -35
  214. package/dist/chunks/{tool-r9mregkx.js → config-r9mregkx.js} +2 -2
  215. package/dist/chunks/{tool-2gkxg42g.js → config-rabqss3e.js} +1 -1
  216. package/dist/chunks/{tool-jez6grfh.js → config-rb8ztnfs.js} +10 -10
  217. package/dist/chunks/{tool-rdw6cm16.js → config-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{tool-pmwf0w9a.js → config-rff62xhr.js} +34 -34
  219. package/dist/chunks/{tool-q4wkz71m.js → config-rfrnx1x2.js} +19 -19
  220. package/dist/chunks/{tool-c8r4c7x7.js → config-rfrwpsbw.js} +27 -27
  221. package/dist/chunks/{tool-xsghnh50.js → config-rne9pc95.js} +9 -9
  222. package/dist/chunks/{tool-jndxpbzp.js → config-rnw4m13x.js} +29 -29
  223. package/dist/chunks/{tool-awzpd58r.js → config-rtkqeva5.js} +9 -9
  224. package/dist/chunks/{tool-knc2ad2x.js → config-ryqq3fs3.js} +82 -82
  225. package/dist/chunks/{tool-ec8389mk.js → config-s0esgemt.js} +4 -4
  226. package/dist/chunks/{tool-nef32yex.js → config-s0kmt45v.js} +2 -2
  227. package/dist/chunks/{tool-1d4jdnc8.js → config-sjxn26y6.js} +8 -8
  228. package/dist/chunks/{tool-ggz7fzf6.js → config-spm3grx6.js} +6 -6
  229. package/dist/chunks/{tool-kcxpnbwn.js → config-t6xy52bk.js} +23 -23
  230. package/dist/chunks/{tool-tazgh4e4.js → config-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{tool-tcezcvh9.js → config-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{tool-scq4khx8.js → config-tcg29b4q.js} +1 -1
  233. package/dist/chunks/{tool-tdstcens.js → config-tdstcens.js} +1 -1
  234. package/dist/chunks/{tool-efxhpxf5.js → config-tesctre0.js} +27 -27
  235. package/dist/chunks/{tool-7355chmd.js → config-tg3cprtf.js} +3 -3
  236. package/dist/chunks/{tool-zr6g55aw.js → config-thqea5vd.js} +12 -12
  237. package/dist/chunks/{tool-tvtrv512.js → config-tvtrv512.js} +1 -1
  238. package/dist/chunks/{tool-ayrzd4q0.js → config-tw1vzf9c.js} +17 -17
  239. package/dist/chunks/{tool-tqq7t134.js → config-tw1yr5et.js} +12 -12
  240. package/dist/chunks/{tool-jpsh07gn.js → config-v09z6gxa.js} +4 -4
  241. package/dist/chunks/{tool-sr5hsr7h.js → config-v3tp873m.js} +28 -28
  242. package/dist/chunks/{tool-axtvtek4.js → config-v5dkyp31.js} +7 -7
  243. package/dist/chunks/{tool-fyfytr13.js → config-v91t7ygf.js} +9 -9
  244. package/dist/chunks/{tool-xerjptys.js → config-va9enkqs.js} +5 -5
  245. package/dist/chunks/{tool-9d4sgpz8.js → config-vbh50phm.js} +9 -9
  246. package/dist/chunks/{tool-qkttm6v0.js → config-vdp3mxfz.js} +11 -11
  247. package/dist/chunks/{tool-veqvce7d.js → config-veqvce7d.js} +1 -1
  248. package/dist/chunks/{tool-7eyb1ky7.js → config-vgazdx51.js} +25 -25
  249. package/dist/chunks/{tool-1a6p2twq.js → config-vncycja5.js} +4 -4
  250. package/dist/chunks/{tool-rkdpvaam.js → config-vp05wna8.js} +17 -17
  251. package/dist/chunks/{tool-16jeg0qk.js → config-vrx3af4d.js} +302 -302
  252. package/dist/chunks/{tool-jqvwbgns.js → config-vshjjydt.js} +11 -11
  253. package/dist/chunks/{tool-c31h4aj0.js → config-vsqbtd9w.js} +54 -54
  254. package/dist/chunks/{tool-5y9tx54q.js → config-vvza37g4.js} +12 -12
  255. package/dist/chunks/{tool-5w7fqkzx.js → config-vwpvshvf.js} +10 -10
  256. package/dist/chunks/{tool-jscm6k4t.js → config-vy6azx93.js} +7 -7
  257. package/dist/chunks/{tool-vzcthcp8.js → config-vzcthcp8.js} +1 -1
  258. package/dist/chunks/{tool-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{tool-q7wajf8z.js → config-w49382pb.js} +8 -8
  260. package/dist/chunks/{tool-7q67xa21.js → config-w4qr52xm.js} +20 -20
  261. package/dist/chunks/{tool-prres578.js → config-w7318msx.js} +19 -19
  262. package/dist/chunks/{tool-wd87259q.js → config-wd87259q.js} +1 -1
  263. package/dist/chunks/{tool-hs2aqah5.js → config-wdjzerwh.js} +5 -5
  264. package/dist/chunks/{tool-tbht75y9.js → config-wrmrmykr.js} +9 -9
  265. package/dist/chunks/{tool-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{tool-6vq97qmv.js → config-xh49vxj8.js} +5 -5
  267. package/dist/chunks/{tool-964t6598.js → config-xj3xm1k8.js} +11 -11
  268. package/dist/chunks/{tool-9q34vwzw.js → config-xxa5qpbf.js} +27 -27
  269. package/dist/chunks/{tool-21f2rsjd.js → config-xz76qvd7.js} +13 -13
  270. package/dist/chunks/{tool-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{tool-x7ajdgre.js → config-yadbpzqa.js} +9 -9
  272. package/dist/chunks/{tool-cseyvs3z.js → config-ybkr1nm0.js} +28 -28
  273. package/dist/chunks/{tool-253bq4qw.js → config-ybpe84zh.js} +3 -3
  274. package/dist/chunks/{tool-hnr5yq9h.js → config-yjptyezs.js} +5 -5
  275. package/dist/chunks/{tool-yp2x3t23.js → config-yp2x3t23.js} +1 -1
  276. package/dist/chunks/{tool-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{tool-s4enseaf.js → config-yrznvahk.js} +2 -2
  278. package/dist/chunks/{tool-b4655sfp.js → config-ywxs3drb.js} +45 -45
  279. package/dist/chunks/{tool-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{tool-tg3z6q21.js → config-z48yjxtn.js} +11 -11
  281. package/dist/chunks/{tool-29x78va6.js → config-z63w68vq.js} +6 -6
  282. package/dist/chunks/{tool-2vs2nh1n.js → config-zcrspsvn.js} +4 -4
  283. package/dist/chunks/{tool-6d1tapbz.js → config-ze5vbvww.js} +19 -19
  284. package/dist/chunks/{tool-zeh9ct20.js → config-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{tool-s4k2xazs.js → config-zqvkfjn9.js} +19 -19
  286. package/dist/chunks/{tool-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{tool-nbzw66ce.js → config-zvgzwjz2.js} +29 -29
  288. package/dist/chunks/{tool-zxq2ej10.js → config-zxq2ej10.js} +1 -1
  289. package/dist/chunks/{tool-xkc29y86.js → config-zzk4kz08.js} +36 -36
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +84 -84
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +124 -124
  298. package/dist/config/plugin/command.js +213 -213
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +122 -122
  306. package/dist/config/plugin/mcp.js +131 -131
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +121 -121
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +124 -124
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +125 -125
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +123 -123
  317. package/dist/config/plugin/worktree.js +125 -125
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +123 -123
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +84 -84
  323. package/dist/database/database.js +65 -65
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +75 -75
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +364 -364
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +92 -92
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +73 -73
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +219 -219
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +3 -3
  426. package/dist/filesystem/watcher.js +13 -13
  427. package/dist/filesystem.js +101 -101
  428. package/dist/form.js +83 -83
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +88 -88
  431. package/dist/generate.js +105 -105
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +98 -98
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +356 -356
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +135 -135
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +85 -85
  468. package/dist/location-services.js +353 -353
  469. package/dist/location.js +86 -86
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +107 -107
  472. package/dist/mcp/instructions.js +124 -124
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +98 -98
  477. package/dist/model-resolver.js +98 -98
  478. package/dist/model.js +99 -99
  479. package/dist/models-dev.js +105 -105
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +81 -81
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +116 -116
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +87 -87
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +103 -103
  490. package/dist/plugin/command.js +100 -100
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +216 -216
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +327 -327
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +94 -94
  497. package/dist/plugin/module.js +7 -7
  498. package/dist/plugin/optimize.js +4 -4
  499. package/dist/plugin/plan.js +101 -101
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/alibaba.js +2 -2
  502. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +89 -89
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +92 -92
  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 +92 -92
  514. package/dist/plugin/provider/gitlab.js +90 -90
  515. package/dist/plugin/provider/google-vertex.js +89 -89
  516. package/dist/plugin/provider/kilo.js +89 -89
  517. package/dist/plugin/provider/llmgateway.js +89 -89
  518. package/dist/plugin/provider/lmstudio.js +121 -121
  519. package/dist/plugin/provider/modal.js +91 -91
  520. package/dist/plugin/provider/nvidia.js +89 -89
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +93 -93
  524. package/dist/plugin/provider/opencode.js +92 -92
  525. package/dist/plugin/provider/openrouter.js +90 -90
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +77 -77
  528. package/dist/plugin/provider/sap-ai-core.js +90 -90
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +89 -89
  533. package/dist/plugin/provider/vllm.js +121 -121
  534. package/dist/plugin/provider/xai.js +90 -90
  535. package/dist/plugin/provider/zenmux.js +89 -89
  536. package/dist/plugin/provider.js +159 -159
  537. package/dist/plugin/sdk.js +73 -73
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +140 -140
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +346 -346
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +91 -91
  544. package/dist/plugin/vcs/git.js +85 -85
  545. package/dist/plugin/vcs/hg.js +85 -85
  546. package/dist/plugin/warming.js +120 -120
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +4 -4
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +223 -223
  555. package/dist/project/schema.js +2 -2
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +79 -79
  558. package/dist/provider.js +100 -100
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +91 -91
  563. package/dist/reference/instructions.js +88 -88
  564. package/dist/reference.js +88 -88
  565. package/dist/repository-cache.js +80 -80
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +94 -94
  569. package/dist/rpc.js +85 -85
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +131 -131
  573. package/dist/session/context.js +151 -151
  574. package/dist/session/diff.js +87 -87
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +223 -223
  579. package/dist/session/execution.js +128 -128
  580. package/dist/session/generate.js +152 -152
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +85 -85
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +78 -78
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +96 -96
  587. package/dist/session/message-updater.js +4 -4
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +117 -117
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +130 -130
  592. package/dist/session/projector.js +85 -85
  593. package/dist/session/prompt.js +104 -104
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +89 -89
  596. package/dist/session/run-coordinator.js +1 -1
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +228 -228
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +94 -94
  601. package/dist/session/runner/publish-llm-event.js +3 -3
  602. package/dist/session/runner/retry.js +112 -112
  603. package/dist/session/runner/step.js +125 -125
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +172 -172
  607. package/dist/session/shell.js +137 -137
  608. package/dist/session/skill.js +102 -102
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +72 -72
  611. package/dist/session/store.js +86 -86
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +1 -1
  615. package/dist/session/title.js +155 -155
  616. package/dist/session/to-session-error.js +111 -111
  617. package/dist/session/transfer.js +216 -216
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +217 -217
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +3 -3
  624. package/dist/shell.js +139 -139
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +106 -106
  627. package/dist/skill.js +109 -109
  628. package/dist/snapshot.js +90 -90
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +123 -123
  633. package/dist/tool/plugin/edit.js +117 -117
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +123 -123
  636. package/dist/tool/plugin/grep.js +119 -119
  637. package/dist/tool/plugin/opencode.js +3 -3
  638. package/dist/tool/plugin/patch.js +117 -117
  639. package/dist/tool/plugin/question.js +102 -102
  640. package/dist/tool/plugin/read.js +124 -124
  641. package/dist/tool/plugin/shell.js +216 -216
  642. package/dist/tool/plugin/skill.js +106 -106
  643. package/dist/tool/plugin/subagent.js +216 -216
  644. package/dist/tool/plugin/webfetch.js +109 -109
  645. package/dist/tool/plugin/websearch.js +113 -113
  646. package/dist/tool/plugin/write.js +121 -121
  647. package/dist/tool/read-filesystem.js +99 -99
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +8 -8
  650. package/dist/tool.js +13 -13
  651. package/dist/types/session/session.d.ts +2 -3
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  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 +5 -5
  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 +91 -91
  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 +88 -88
  680. package/dist/websearch.js +83 -83
  681. package/dist/wellknown/plugin.js +75 -75
  682. package/dist/wellknown.js +78 -78
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +77 -77
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/refresh.js +345 -345
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree.js +93 -93
  691. package/package.json +8 -8
  692. package/dist/chunks/tool-9sh4wc5j.js +0 -18
  693. package/dist/chunks/tool-dadjnxcz.js +0 -26
  694. package/dist/chunks/tool-yqybgd19.js +0 -251
  695. /package/dist/chunks/{tool-0mesazry.js → config-0mesazry.js} +0 -0
  696. /package/dist/chunks/{tool-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{tool-0zkw76rk.js → config-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{tool-17cy0kzp.js → config-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{tool-1cnp2v09.js → config-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{tool-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{tool-2710q6r3.js → config-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{tool-2axfhc9x.js → config-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{tool-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{tool-359p4xyc.js → config-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{tool-3asan66x.js → config-3asan66x.js} +0 -0
  706. /package/dist/chunks/{tool-3v8g72cx.js → config-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{tool-3w5fmr99.js → config-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{tool-3wcehsnq.js → config-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{tool-43n2bw4t.js → config-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{tool-4knz6hnm.js → config-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{tool-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{tool-4y7fprxs.js → config-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{tool-53557ph1.js → config-53557ph1.js} +0 -0
  714. /package/dist/chunks/{tool-550bvhaj.js → config-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{tool-6prwharc.js → config-6prwharc.js} +0 -0
  716. /package/dist/chunks/{tool-7akdwqpd.js → config-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{tool-7m9af43g.js → config-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{tool-822emrt2.js → config-822emrt2.js} +0 -0
  719. /package/dist/chunks/{tool-88xbtdfr.js → config-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{tool-8n3pysct.js → config-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{tool-922hggd3.js → config-922hggd3.js} +0 -0
  722. /package/dist/chunks/{tool-9a4afbnw.js → config-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{tool-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{tool-a6k6eb26.js → config-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{tool-af5trqkr.js → config-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{tool-afrmfg78.js → config-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{tool-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{tool-atq7p7m5.js → config-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{tool-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{tool-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{tool-cf4snx6d.js → config-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{tool-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{tool-d9fn303g.js → config-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{tool-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{tool-dajrwvna.js → config-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{tool-dap0rakb.js → config-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{tool-df08tz66.js → config-df08tz66.js} +0 -0
  738. /package/dist/chunks/{tool-dy18nga0.js → config-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{tool-e5kj55wp.js → config-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{tool-e73j6tqm.js → config-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{tool-ec1grn59.js → config-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{tool-eh3zwz77.js → config-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{tool-emrn6kk6.js → config-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{tool-f0mxakyp.js → config-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{tool-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{tool-faypxj3z.js → config-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{tool-fd410y7t.js → config-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{tool-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{tool-g4wezp1m.js → config-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{tool-g86h250q.js → config-g86h250q.js} +0 -0
  751. /package/dist/chunks/{tool-gebd4c9n.js → config-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{tool-gftt206x.js → config-gftt206x.js} +0 -0
  753. /package/dist/chunks/{tool-hjbc5kem.js → config-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{tool-hk9envan.js → config-hk9envan.js} +0 -0
  755. /package/dist/chunks/{tool-hrnqkpcd.js → config-hrnqkpcd.js} +0 -0
  756. /package/dist/chunks/{tool-j2ntwpah.js → config-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{tool-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{tool-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{tool-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{tool-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{tool-mp448xyj.js → config-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{tool-msx8hqn2.js → config-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{tool-n05xt0ee.js → config-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{tool-n3j8tn72.js → config-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{tool-njntx4h6.js → config-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{tool-q3sfg36h.js → config-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{tool-q74kybfr.js → config-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{tool-qaymkmh1.js → config-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{tool-qb87gjwd.js → config-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{tool-qfa1cgps.js → config-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{tool-qrg20bc0.js → config-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{tool-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{tool-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{tool-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{tool-ssg3fenm.js → config-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{tool-twg0f83k.js → config-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{tool-w803qqfp.js → config-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{tool-wer8tq1h.js → config-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{tool-wtztk69x.js → config-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{tool-x0ckcb58.js → config-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{tool-x61499pn.js → config-x61499pn.js} +0 -0
  782. /package/dist/chunks/{tool-y44na4kk.js → config-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{tool-y8cydn3q.js → config-y8cydn3q.js} +0 -0
  784. /package/dist/chunks/{tool-y8f7s663.js → config-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{tool-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{tool-ym463w8f.js → config-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{tool-z9919s4g.js → config-z9919s4g.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service74
3
- } from "./tool-cseyvs3z.js";
2
+ Service66
3
+ } from "./config-ybkr1nm0.js";
4
4
  import {
5
- Service46
6
- } from "./tool-vmyza7nt.js";
5
+ Service71
6
+ } from "./config-9pc1c82a.js";
7
7
  import {
8
8
  __export
9
- } from "./tool-9rqn6x4v.js";
9
+ } from "./config-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
13
13
  __export(exports_question, {
14
14
  CancelledError: () => CancelledError2,
15
- Input: () => Input13,
15
+ Input: () => Input14,
16
16
  Output: () => Output9,
17
17
  Plugin: () => Plugin47,
18
18
  QuestionTool: () => exports_question,
@@ -34,7 +34,7 @@ Usage notes:
34
34
  - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
35
35
  - Set \`multiple: true\` to allow selecting more than one option
36
36
  - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
37
- var Input13 = Schema.Struct({
37
+ var Input14 = Schema.Struct({
38
38
  questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
39
39
  });
40
40
  var Output9 = Schema.Struct({
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin47 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service74;
57
- const permission = yield* Service46;
56
+ const forms = yield* Service66;
57
+ const permission = yield* Service71;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
59
  name: name14,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
- input: Input13,
62
+ input: Input14,
63
63
  output: Output9,
64
64
  execute: (input, context) => permission.assert({
65
65
  action: "question",
@@ -115,4 +115,4 @@ function toField(question, index) {
115
115
  };
116
116
  }
117
117
 
118
- export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin47, exports_question };
118
+ export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin47, exports_question };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./tool-dpkg50ah.js";
3
+ } from "./config-dpkg50ah.js";
4
4
  import {
5
- Service80,
6
- node85
7
- } from "./tool-1bkx5pwe.js";
5
+ Service79,
6
+ node84
7
+ } from "./config-ef38hzxk.js";
8
8
  import {
9
- Event20,
10
- Service75,
11
- node80
12
- } from "./tool-2wvxgkaf.js";
9
+ Event16,
10
+ Service67,
11
+ node71
12
+ } from "./config-jt6yj0wk.js";
13
13
  import {
14
- Service77,
15
- node82
16
- } from "./tool-kj8x889q.js";
14
+ Service76,
15
+ node80
16
+ } from "./config-5zfzqmbx.js";
17
17
  import {
18
- Service58,
19
- node62
20
- } from "./tool-va79mfn6.js";
18
+ Service60,
19
+ node64
20
+ } from "./config-fdbh7561.js";
21
21
  import {
22
- ID15,
23
- Service74,
24
- node79
25
- } from "./tool-cseyvs3z.js";
22
+ ID9,
23
+ Service66,
24
+ node70
25
+ } from "./config-ybkr1nm0.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./tool-rdw6cm16.js";
29
+ } from "./config-rdw6cm16.js";
30
30
  import {
31
- ID14,
31
+ ID8,
32
32
  MethodID2,
33
- Service73,
34
- node78
35
- } from "./tool-1gfn0ycf.js";
33
+ Service65,
34
+ node69
35
+ } from "./config-k02etdm7.js";
36
36
  import {
37
37
  __export
38
- } from "./tool-9rqn6x4v.js";
38
+ } from "./config-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: () => NotFoundError4,
45
- Options: () => Options4,
44
+ NotFoundError: () => NotFoundError5,
45
+ Options: () => Options5,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
50
50
  ResourceContentPart: () => ResourceContentPart2,
51
51
  ResourceTemplate: () => ResourceTemplate2,
52
52
  ServerName: () => ServerName2,
53
- Service: () => Service27,
53
+ Service: () => Service33,
54
54
  Status: () => Status2,
55
55
  ToolCallError: () => ToolCallError2,
56
- configured: () => configured4,
57
- layer: () => layer12,
58
- node: () => node32
56
+ configured: () => configured5,
57
+ layer: () => layer14,
58
+ node: () => node37
59
59
  });
60
60
  import { Mcp } from "@opencode/schema/mcp";
61
61
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
74
74
  var ResourceContentPart2 = Mcp.ResourceContentPart;
75
75
  var ResourceContent2 = Mcp.ResourceContent;
76
76
 
77
- class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
77
+ class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
78
78
  server: ServerName2
79
79
  }) {
80
80
  get message() {
@@ -92,21 +92,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
92
92
  var URL_ELICITATION_FIELD_KEY = "elicitation";
93
93
  var cloneConfig = (config) => structuredClone(config);
94
94
 
95
- class Service27 extends Context.Service()("@opencode/MCP") {
95
+ class Service33 extends Context.Service()("@opencode/MCP") {
96
96
  }
97
- var Options4 = Schema.Struct({
97
+ var Options5 = Schema.Struct({
98
98
  clientInfo: Schema.optional(Schema.Struct({
99
99
  name: Schema.String,
100
100
  version: Schema.String
101
101
  }))
102
102
  });
103
- var layer12 = (options) => Layer.effect(Service27, Effect.gen(function* () {
104
- const location = yield* Service77;
105
- const environment = yield* Service58;
106
- const bus = yield* Service80;
107
- const forms = yield* Service74;
108
- const integration = yield* Service73;
109
- const credentials = yield* Service75;
103
+ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
104
+ const location = yield* Service76;
105
+ const environment = yield* Service60;
106
+ const bus = yield* Service79;
107
+ const forms = yield* Service66;
108
+ const integration = yield* Service65;
109
+ const credentials = yield* Service67;
110
110
  const root = yield* Effect.scope;
111
111
  const fork = yield* FiberSet.makeRuntime();
112
112
  const entries = new Map;
@@ -118,7 +118,7 @@ var layer12 = (options) => Layer.effect(Service27, Effect.gen(function* () {
118
118
  return;
119
119
  const remote = entry.config;
120
120
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
121
- const integrationID = ID14.make(suffix);
121
+ const integrationID = ID8.make(suffix);
122
122
  entry.integrationID = integrationID;
123
123
  owned.add(integrationID);
124
124
  const methodID = MethodID2.make(suffix);
@@ -134,7 +134,7 @@ var layer12 = (options) => Layer.effect(Service27, Effect.gen(function* () {
134
134
  method: { id: methodID, type: "oauth", label: name },
135
135
  authorize: () => Effect.gen(function* () {
136
136
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
137
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service75, credentials));
137
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service67, credentials));
138
138
  })
139
139
  });
140
140
  }).pipe(Scope.provide(scope));
@@ -143,19 +143,19 @@ var layer12 = (options) => Layer.effect(Service27, Effect.gen(function* () {
143
143
  const name = ServerName2.make(server);
144
144
  const entry = entries.get(name);
145
145
  if (!entry)
146
- return yield* new NotFoundError4({ server: name });
146
+ return yield* new NotFoundError5({ server: name });
147
147
  return { name, entry };
148
148
  });
149
149
  const connectProvider = Effect.fnUntraced(function* (entry) {
150
150
  if (entry.config.type !== "remote" || !entry.integrationID)
151
151
  return;
152
152
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
153
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service75, credentials));
153
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service67, credentials));
154
154
  });
155
155
  const elicitation = {
156
156
  create: (input) => Effect.gen(function* () {
157
157
  if (input.params.mode === "url") {
158
- const formID = ID15.create();
158
+ const formID = ID9.create();
159
159
  const elicitationID = input.params.elicitationId;
160
160
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
161
161
  if (key)
@@ -239,7 +239,7 @@ var layer12 = (options) => Layer.effect(Service27, Effect.gen(function* () {
239
239
  entry.scope = scope;
240
240
  const authProvider = yield* connectProvider(entry);
241
241
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
242
- 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);
242
+ 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);
243
243
  if (Exit.isSuccess(result)) {
244
244
  entry.client = result.value.connection;
245
245
  entry.tools = result.value.tools.map((tool) => toTool(name, entry, tool));
@@ -363,7 +363,7 @@ var layer12 = (options) => Layer.effect(Service27, Effect.gen(function* () {
363
363
  yield* startServer(name, entry);
364
364
  }).pipe(locks.withLock(name));
365
365
  });
366
- fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
366
+ fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
367
367
  const state = create3({
368
368
  name: "mcp",
369
369
  initial: () => ({
@@ -389,7 +389,7 @@ var layer12 = (options) => Layer.effect(Service27, Effect.gen(function* () {
389
389
  }),
390
390
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
391
391
  });
392
- return Service27.of({
392
+ return Service33.of({
393
393
  transform: state.transform,
394
394
  reload: state.reload,
395
395
  servers: Effect.fn("MCP.servers")(function* () {
@@ -508,14 +508,14 @@ var layer12 = (options) => Layer.effect(Service27, Effect.gen(function* () {
508
508
  })
509
509
  });
510
510
  }));
511
- function configured4(options) {
511
+ function configured5(options) {
512
512
  return makeLocationNode({
513
- service: Service27,
514
- layer: layer12(options),
515
- deps: [node82, node62, node85, node79, node78, node80]
513
+ service: Service33,
514
+ layer: layer14(options),
515
+ deps: [node80, node64, node84, node70, node69, node71]
516
516
  });
517
517
  }
518
- var node32 = configured4();
518
+ var node37 = configured5();
519
519
  function toElicitationField(key, property, required) {
520
520
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
521
521
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -566,4 +566,4 @@ function toElicitationField(key, property, required) {
566
566
  }
567
567
  }
568
568
 
569
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service27, Options4, layer12, configured4, node32, exports_mcp4 };
569
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service33, Options5, layer14, configured5, node37, exports_mcp4 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./tool-gd4qta3r.js";
3
+ } from "./config-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./tool-tvtrv512.js";
6
+ } from "./config-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./tool-rdw6cm16.js";
9
+ } from "./config-rdw6cm16.js";
10
10
  import {
11
11
  __export
12
- } from "./tool-9rqn6x4v.js";
12
+ } from "./config-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service57,
21
+ Service: () => Service54,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node61
23
+ node: () => node57
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service57 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service54 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service57, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service57.of({
125
+ return Service54.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node61 = makeLocationNode({
143
- service: Service57,
142
+ var node57 = makeLocationNode({
143
+ service: Service54,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service57, node61, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service54, node57, exports_tool_output2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID12,
2
+ ID6,
3
3
  Family2
4
- } from "./tool-7v2wf9c4.js";
4
+ } from "./config-bt0r0ca8.js";
5
5
  import {
6
- Service60
7
- } from "./tool-vqdbe12f.js";
6
+ Service61
7
+ } from "./config-a81jxvbk.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./tool-gjtgcmhe.js";
10
+ } from "./config-b9kr5pr6.js";
11
11
 
12
12
  // src/plugin/provider/lmstudio.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
31
31
  var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
32
32
  var discovery = new Map;
33
33
  var discoveryLock = Semaphore.makeUnsafe(1);
34
- function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
34
+ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
35
35
  return define({
36
36
  id: "opencode.provider.lmstudio",
37
37
  effect: Effect.fn(function* (ctx) {
38
38
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
39
- const config = yield* Service60;
39
+ const config = yield* Service61;
40
40
  const source = { current: configured(yield* config.entries(), origin) };
41
41
  const loaded = { models: [], hash: "[]" };
42
42
  yield* ctx.integration.transform((integrations) => {
@@ -63,7 +63,7 @@ function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
63
63
  });
64
64
  for (const item of loaded.models) {
65
65
  providers.models.update(providerID, item.key, (model) => {
66
- model.modelID = ID12.make(item.key);
66
+ model.modelID = ID6.make(item.key);
67
67
  model.name = item.display_name || item.key;
68
68
  model.family = item.architecture ? Family2.make(item.architecture) : undefined;
69
69
  model.capabilities = {
@@ -125,7 +125,7 @@ function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
125
125
  })
126
126
  });
127
127
  }
128
- var LMStudioPlugin2 = make7();
128
+ var LMStudioPlugin2 = make6();
129
129
  function configured(entries, origin) {
130
130
  const settings = foldSettings2(entries, providerID, undefined);
131
131
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -142,4 +142,4 @@ function configured(entries, origin) {
142
142
  return { baseURL, apiKey, endpoint: url.toString() };
143
143
  }
144
144
 
145
- export { make7, LMStudioPlugin2 };
145
+ export { make6, LMStudioPlugin2 };
@@ -5,15 +5,15 @@ import {
5
5
  ModelInitializationError3,
6
6
  UnresolvedProviderVariablesError3,
7
7
  UnsupportedCompactionError3,
8
- Service53,
9
- node57
10
- } from "./tool-b4655sfp.js";
8
+ Service47,
9
+ node50
10
+ } from "./config-ywxs3drb.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./tool-nvxqht09.js";
13
+ } from "./config-ndmv45hp.js";
14
14
  import {
15
15
  __export
16
- } from "./tool-9rqn6x4v.js";
16
+ } from "./config-9rqn6x4v.js";
17
17
 
18
18
  // src/session/runner/model.ts
19
19
  var exports_model = {};
@@ -73,7 +73,7 @@ var resolved2 = (model, options) => ({
73
73
  websocket: options.websocket ?? false
74
74
  });
75
75
  var layer = Layer.effect(Service42, Effect.gen(function* () {
76
- const resolver = yield* Service53;
76
+ const resolver = yield* Service47;
77
77
  return Service42.of({
78
78
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
79
79
  if (!session.model) {
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
92
92
  })
93
93
  });
94
94
  }));
95
- var node45 = makeLocationNode({ service: Service42, layer, deps: [node57] });
95
+ var node45 = makeLocationNode({ service: Service42, layer, deps: [node50] });
96
96
 
97
97
  export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service42, resolved2, node45, exports_model };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./tool-hjbc5kem.js";
3
+ } from "./config-hjbc5kem.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./tool-emrn6kk6.js";
4
+ } from "./config-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./config-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service56,
8
+ Service: () => Service53,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node60
10
+ node: () => node56
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service56 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service53 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service56, () => {
17
+ var layer = Layer.sync(Service53, () => {
18
18
  const environments = new Map;
19
- return Service56.of({
19
+ return Service53.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service56, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node60 = makeGlobalNode({ service: Service56, layer, deps: [] });
29
+ var node56 = makeGlobalNode({ service: Service53, layer, deps: [] });
30
30
 
31
- export { Service56, node60, exports_environment };
31
+ export { Service53, node56, exports_environment };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service33,
3
- node37
4
- } from "./tool-9q34vwzw.js";
2
+ Service46,
3
+ node49
4
+ } from "./config-xxa5qpbf.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
- make19,
8
+ make20,
9
9
  diffByKey2
10
- } from "./tool-t550f9t1.js";
10
+ } from "./config-02nrjc1r.js";
11
11
  import {
12
12
  __export
13
- } from "./tool-9rqn6x4v.js";
13
+ } from "./config-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions5 = {};
17
- __export(exports_instructions5, {
18
- ReferenceInstructions: () => exports_instructions5,
19
- Service: () => Service31,
20
- node: () => node36
16
+ var exports_instructions2 = {};
17
+ __export(exports_instructions2, {
18
+ ReferenceInstructions: () => exports_instructions2,
19
+ Service: () => Service29,
20
+ node: () => node33
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,19 +57,19 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service31 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service29 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service31, Effect.gen(function* () {
63
- const references = yield* Service33;
64
- return Service31.of({
62
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
63
+ const references = yield* Service46;
64
+ return Service29.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make19({
72
- key: Key3.make("core/reference-guidance"),
71
+ return make20({
72
+ key: Key4.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
75
75
  render: {
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node36 = makeLocationNode({ service: Service31, layer, deps: [node37] });
84
+ var node33 = makeLocationNode({ service: Service29, layer, deps: [node49] });
85
85
 
86
- export { Service31, node36, exports_instructions5 };
86
+ export { Service29, node33, exports_instructions2 };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service80
3
- } from "./tool-1bkx5pwe.js";
2
+ Service79
3
+ } from "./config-ef38hzxk.js";
4
4
  import {
5
5
  key2
6
- } from "./tool-h6r3nrb9.js";
6
+ } from "./config-cpj0znwe.js";
7
7
  import {
8
- Event20
9
- } from "./tool-2wvxgkaf.js";
8
+ Event16
9
+ } from "./config-jt6yj0wk.js";
10
10
  import {
11
- ID14
12
- } from "./tool-1gfn0ycf.js";
11
+ ID8
12
+ } from "./config-k02etdm7.js";
13
13
  import {
14
- ID13,
15
- Service72
16
- } from "./tool-40tbggcp.js";
14
+ ID7,
15
+ Service64
16
+ } from "./config-r8k6ctx1.js";
17
17
  import {
18
- load3,
19
- derive3
20
- } from "./tool-9kvb8f9y.js";
18
+ load2,
19
+ derive2
20
+ } from "./config-c0qqbqkt.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
- var providerID = ID13.make("modal");
25
+ var providerID = ID7.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service72;
30
- const bus = yield* Service80;
29
+ const providers = yield* Service64;
30
+ const bus = yield* Service79;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
33
33
  const load = Effect.fn("ModalPlugin.load")(function* () {
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
45
45
  return;
46
46
  }
47
47
  const remote = yield* Effect.tryPromise({
48
- try: () => load3(baseURL, apiKey),
48
+ try: () => load2(baseURL, apiKey),
49
49
  catch: (cause) => cause
50
50
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
51
51
  if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
62
62
  return;
63
63
  evt.add({
64
64
  info: item.provider,
65
- models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
65
+ models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
66
66
  sourceConnection: loaded.connection
67
67
  });
68
68
  });
69
69
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
70
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
71
71
  yield* refresh().pipe(Effect.forkScoped);
72
72
  })
73
73
  });
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./tool-emrn6kk6.js";
4
+ } from "./config-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";