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

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  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/{config-02nrjc1r.js → bus-02nrjc1r.js} +1 -1
  8. package/dist/chunks/{config-nxhqveyz.js → bus-0f9afca0.js} +5 -5
  9. package/dist/chunks/{config-nwfagajg.js → bus-0ffvsmqa.js} +11 -11
  10. package/dist/chunks/{config-r1176k9f.js → bus-0h0xn3fd.js} +28 -28
  11. package/dist/chunks/{config-nbjvymme.js → bus-0hng8cbp.js} +17 -17
  12. package/dist/chunks/{config-7dqw4kz8.js → bus-0jwsre1p.js} +5 -5
  13. package/dist/chunks/{config-rfrnx1x2.js → bus-0n6rap9z.js} +13 -13
  14. package/dist/chunks/{config-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{config-2evr9zt9.js → bus-0pwp6vee.js} +17 -17
  16. package/dist/chunks/{config-0q0f95c6.js → bus-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{config-yjptyezs.js → bus-0r7yqxbf.js} +5 -5
  18. package/dist/chunks/{config-m8t7cym1.js → bus-11nsfp7x.js} +21 -21
  19. package/dist/chunks/{config-w49382pb.js → bus-15nepkqg.js} +8 -8
  20. package/dist/chunks/{config-fvanntqq.js → bus-15zevn5w.js} +6 -6
  21. package/dist/chunks/{config-s0esgemt.js → bus-179189h4.js} +4 -4
  22. package/dist/chunks/{config-8jxhrtr4.js → bus-1c2v1v3n.js} +15 -15
  23. package/dist/chunks/{config-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{config-8e0kgrz0.js → bus-1m7ztpz9.js} +9 -9
  25. package/dist/chunks/{config-tw1vzf9c.js → bus-1p84h329.js} +13 -13
  26. package/dist/chunks/{config-p3eq7c85.js → bus-1vh9c756.js} +12 -12
  27. package/dist/chunks/{config-qb2r5jjt.js → bus-1xj9a01p.js} +5 -5
  28. package/dist/chunks/{config-21r38tys.js → bus-21r38tys.js} +1 -1
  29. package/dist/chunks/{config-bx6fw66d.js → bus-236xsrf6.js} +19 -19
  30. package/dist/chunks/{config-0cwcwy81.js → bus-2596a819.js} +13 -13
  31. package/dist/chunks/{config-ep4s98w8.js → bus-25k60r6z.js} +8 -8
  32. package/dist/chunks/{config-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{config-tesctre0.js → bus-2fqncqd8.js} +20 -20
  34. package/dist/chunks/{config-8p2dyb9f.js → bus-2hhrjxd4.js} +11 -11
  35. package/dist/chunks/{config-vgazdx51.js → bus-2p5j9sv7.js} +17 -17
  36. package/dist/chunks/{config-bspgjcjj.js → bus-2ryrfs8t.js} +18 -18
  37. package/dist/chunks/{config-gg1g9x44.js → bus-2t9y4ena.js} +20 -20
  38. package/dist/chunks/{config-ryqq3fs3.js → bus-2vvyjm96.js} +87 -87
  39. package/dist/chunks/{config-d29w5y5s.js → bus-2wmcpc5j.js} +11 -11
  40. package/dist/chunks/{config-33w4ejhs.js → bus-33w4ejhs.js} +2 -2
  41. package/dist/chunks/{config-mhenqsgy.js → bus-36eabxvj.js} +6 -6
  42. package/dist/chunks/{config-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
  43. package/dist/chunks/{config-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{config-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{config-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{config-0xzm444n.js → bus-3vk31qq0.js} +1 -1
  47. package/dist/chunks/{config-vshjjydt.js → bus-3vnz1vry.js} +14 -14
  48. package/dist/chunks/{config-bvs3n29g.js → bus-437w8xnq.js} +4 -4
  49. package/dist/chunks/{config-r7pkag9k.js → bus-4czdean4.js} +15 -15
  50. package/dist/chunks/{config-p13m5t7c.js → bus-4fb4zfkv.js} +3 -3
  51. package/dist/chunks/{config-ft490bmc.js → bus-4ma4crhq.js} +6 -6
  52. package/dist/chunks/{config-57ez7d0k.js → bus-4sn99hha.js} +7 -7
  53. package/dist/chunks/{config-8xmwc048.js → bus-4vdg0vy0.js} +32 -32
  54. package/dist/chunks/{config-mwqpz8n2.js → bus-4xgsacd1.js} +24 -24
  55. package/dist/chunks/{config-xh49vxj8.js → bus-5d17xbav.js} +5 -5
  56. package/dist/chunks/{config-5daktx2q.js → bus-5daktx2q.js} +1 -1
  57. package/dist/chunks/{config-sjxn26y6.js → bus-5dfrxsm4.js} +6 -6
  58. package/dist/chunks/{config-t6xy52bk.js → bus-5nc0fa0s.js} +16 -16
  59. package/dist/chunks/{config-5a015e2n.js → bus-5pjsqvg3.js} +9 -9
  60. package/dist/chunks/{config-g799fvry.js → bus-5rr0th1e.js} +15 -15
  61. package/dist/chunks/{config-eat4kxte.js → bus-5rvay4qb.js} +4 -4
  62. package/dist/chunks/{config-6er5gdy9.js → bus-5t01hw7s.js} +1 -1
  63. package/dist/chunks/{config-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{config-n1g6tgdt.js → bus-62akg8e4.js} +22 -22
  65. package/dist/chunks/{config-hwe7x4em.js → bus-63xctefh.js} +6 -6
  66. package/dist/chunks/{config-669tq793.js → bus-669tq793.js} +1 -1
  67. package/dist/chunks/{config-9pc1c82a.js → bus-686zvbc5.js} +38 -38
  68. package/dist/chunks/{config-0bxteebn.js → bus-6cr8vpfb.js} +1 -1
  69. package/dist/chunks/{config-2402vzrj.js → bus-6h73sxmp.js} +5 -5
  70. package/dist/chunks/{config-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{config-p60gzv6z.js → bus-6xf9vr65.js} +45 -45
  72. package/dist/chunks/{config-71q4at8m.js → bus-71q4at8m.js} +1 -1
  73. package/dist/chunks/{config-0p1mpksr.js → bus-72774a2p.js} +4 -4
  74. package/dist/chunks/{config-eq1pz5kg.js → bus-73tb2d7t.js} +3 -3
  75. package/dist/chunks/{config-5zfzqmbx.js → bus-73z097ay.js} +14 -14
  76. package/dist/chunks/{config-kxgs9bks.js → bus-7414g21f.js} +41 -41
  77. package/dist/chunks/{config-zqvkfjn9.js → bus-74ag36aw.js} +13 -13
  78. package/dist/chunks/{config-r8k6ctx1.js → bus-75tpbtqb.js} +27 -27
  79. package/dist/chunks/{config-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{config-ybpe84zh.js → bus-7kj26btf.js} +3 -3
  81. package/dist/chunks/{config-561257dr.js → bus-7vgsmbaw.js} +9 -9
  82. package/dist/chunks/{config-m33h53s5.js → bus-7zgx3034.js} +18 -18
  83. package/dist/chunks/{config-tcezcvh9.js → bus-89znhe33.js} +4 -4
  84. package/dist/chunks/{config-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{config-dj2t23y0.js → bus-8p4f9s12.js} +2 -2
  86. package/dist/chunks/{config-xj3xm1k8.js → bus-8pbhr5rb.js} +6 -6
  87. package/dist/chunks/{config-4kstw10y.js → bus-8qvaa28h.js} +10 -10
  88. package/dist/chunks/{config-n8d9nt83.js → bus-9a5x4ndh.js} +27 -27
  89. package/dist/chunks/{config-1037fk78.js → bus-9cebcpzz.js} +28 -28
  90. package/dist/chunks/{config-vrx3af4d.js → bus-9gwk1d27.js} +290 -290
  91. package/dist/chunks/{config-4ykybvcx.js → bus-9m5kzw0e.js} +8 -8
  92. package/dist/chunks/{config-g7hwnr26.js → bus-9yma6mz2.js} +21 -21
  93. package/dist/chunks/{config-5c4hm403.js → bus-a1bz86dw.js} +3 -3
  94. package/dist/chunks/{config-p4688at0.js → bus-a3e7ey2w.js} +5 -5
  95. package/dist/chunks/{config-rb8ztnfs.js → bus-a4f8rw7k.js} +10 -10
  96. package/dist/chunks/{config-aaet6srn.js → bus-aaet6srn.js} +2 -2
  97. package/dist/chunks/{config-vdp3mxfz.js → bus-aef6edcj.js} +11 -11
  98. package/dist/chunks/{config-bt0r0ca8.js → bus-aez8skhx.js} +31 -31
  99. package/dist/chunks/{config-at1kfnmk.js → bus-at1kfnmk.js} +1 -1
  100. package/dist/chunks/{config-ftjyd2wg.js → bus-atssdtxp.js} +7 -7
  101. package/dist/chunks/{config-99a0qa8k.js → bus-ay1e4s3v.js} +11 -11
  102. package/dist/chunks/{config-s0kmt45v.js → bus-b5ky3g00.js} +2 -2
  103. package/dist/chunks/{config-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
  104. package/dist/chunks/{config-7d01vtdt.js → bus-b8ey678w.js} +9 -9
  105. package/dist/chunks/{config-jp0z8v05.js → bus-bbtrsqmd.js} +16 -16
  106. package/dist/chunks/{config-nrhg7jns.js → bus-bc94wkq6.js} +13 -13
  107. package/dist/chunks/{config-2y34zzjz.js → bus-bdqrk2vk.js} +4 -4
  108. package/dist/chunks/{config-bga3tdbt.js → bus-bje2m678.js} +39 -39
  109. package/dist/chunks/{config-ef38hzxk.js → bus-brbkvpcb.js} +9 -9
  110. package/dist/chunks/{config-311bhbyp.js → bus-c3nbwr53.js} +37 -37
  111. package/dist/chunks/{config-zvgzwjz2.js → bus-c72vda60.js} +26 -26
  112. package/dist/chunks/{config-hh67s49j.js → bus-c833tjt1.js} +28 -28
  113. package/dist/chunks/{config-mmemk5tk.js → bus-c9f7p254.js} +19 -19
  114. package/dist/chunks/{config-zcrspsvn.js → bus-ca7w653e.js} +4 -4
  115. package/dist/chunks/{config-w4qr52xm.js → bus-cadqg8yk.js} +13 -13
  116. package/dist/chunks/{config-rne9pc95.js → bus-cdvm88eq.js} +9 -9
  117. package/dist/chunks/{config-m0jqrx5p.js → bus-cfpkc3c9.js} +2 -2
  118. package/dist/chunks/{config-h36hfp8w.js → bus-cj2xyb66.js} +14 -14
  119. package/dist/chunks/{config-9hcx1pw3.js → bus-cnb5z5cf.js} +11 -11
  120. package/dist/chunks/{config-xxa5qpbf.js → bus-cpng0f85.js} +27 -27
  121. package/dist/chunks/{config-b9kr5pr6.js → bus-cq1ssszz.js} +6 -6
  122. package/dist/chunks/{config-gmdddcby.js → bus-cst62dfw.js} +19 -19
  123. package/dist/chunks/{config-f7ehr2sm.js → bus-d09006c3.js} +9 -9
  124. package/dist/chunks/{config-k3nb5hz9.js → bus-d1e2r7xq.js} +10 -10
  125. package/dist/chunks/{config-4hvk3cj0.js → bus-dbmkm35e.js} +1 -1
  126. package/dist/chunks/{config-a0saq2jn.js → bus-dn2g8ty9.js} +9 -9
  127. package/dist/chunks/{config-dpkg50ah.js → bus-dpkg50ah.js} +1 -1
  128. package/dist/chunks/{config-49xfatwk.js → bus-dpmm3pd1.js} +24 -24
  129. package/dist/chunks/{config-v91t7ygf.js → bus-e16t29dh.js} +9 -9
  130. package/dist/chunks/{config-bndc73cn.js → bus-e5nv3ght.js} +5 -5
  131. package/dist/chunks/{config-nhy5jxhy.js → bus-e82z9tr0.js} +7 -7
  132. package/dist/chunks/{config-kbabcr0z.js → bus-eebdtnk6.js} +11 -11
  133. package/dist/chunks/{config-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{config-c0qqbqkt.js → bus-engx0f1y.js} +10 -10
  135. package/dist/chunks/{config-hxhthevt.js → bus-eq4mjx14.js} +25 -25
  136. package/dist/chunks/{config-m62t8evc.js → bus-erswsgcd.js} +8 -8
  137. package/dist/chunks/{config-1hpwa04j.js → bus-ete3mxyp.js} +14 -14
  138. package/dist/chunks/{config-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{config-8j98jw8c.js → bus-ewp6a6x8.js} +37 -37
  140. package/dist/chunks/{config-hdnk95c8.js → bus-f828m53h.js} +2 -2
  141. package/dist/chunks/{config-07ct75e8.js → bus-fcxm0egy.js} +12 -12
  142. package/dist/chunks/{config-qm9468kh.js → bus-fec9d9pd.js} +56 -56
  143. package/dist/chunks/{config-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
  144. package/dist/chunks/{config-3c4e3q8d.js → bus-fxqygnfa.js} +4 -4
  145. package/dist/chunks/{config-512fes74.js → bus-fz5sfred.js} +20 -20
  146. package/dist/chunks/{config-46mmdbbw.js → bus-g4rgasps.js} +3 -3
  147. package/dist/chunks/{config-7s61wb75.js → bus-g8n86g3v.js} +2 -2
  148. package/dist/chunks/{config-h2jj299s.js → bus-gbcrwt4m.js} +10 -10
  149. package/dist/chunks/{config-bvtyn1jh.js → bus-gcrpxwkb.js} +27 -27
  150. package/dist/chunks/{config-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{config-fdbh7561.js → bus-gemkh5vt.js} +24 -24
  152. package/dist/chunks/{config-wrmrmykr.js → bus-gmjjhz4f.js} +6 -6
  153. package/dist/chunks/{config-dcse214k.js → bus-gx8hye9g.js} +6 -6
  154. package/dist/chunks/{config-vy6azx93.js → bus-gzyaaj9q.js} +13 -13
  155. package/dist/chunks/{config-h03wrkyp.js → bus-h03wrkyp.js} +2 -2
  156. package/dist/chunks/{config-kf89feae.js → bus-h11wzpyy.js} +16 -16
  157. package/dist/chunks/{config-vwpvshvf.js → bus-h3sg4en2.js} +10 -10
  158. package/dist/chunks/{config-6m7mwj0d.js → bus-h3ysd6bx.js} +36 -36
  159. package/dist/chunks/{config-rtkqeva5.js → bus-h686kfbk.js} +7 -7
  160. package/dist/chunks/{config-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{config-6jnybvqn.js → bus-h7ygw6q4.js} +9 -9
  162. package/dist/chunks/{config-02vv4t7e.js → bus-hp23vqgj.js} +4 -4
  163. package/dist/chunks/{config-pk8q5a7v.js → bus-hs3grr87.js} +21 -21
  164. package/dist/chunks/{config-22nhpc8c.js → bus-hspc2tk9.js} +1 -1
  165. package/dist/chunks/{config-ywxs3drb.js → bus-hvk5xh9a.js} +34 -34
  166. package/dist/chunks/{config-hfjwnna4.js → bus-hy39tjkp.js} +6 -6
  167. package/dist/chunks/{config-9vxqyqsf.js → bus-j2149bqs.js} +8 -8
  168. package/dist/chunks/{config-spm3grx6.js → bus-j35w4m74.js} +4 -4
  169. package/dist/chunks/{config-j56e64zr.js → bus-j56e64zr.js} +1 -1
  170. package/dist/chunks/{config-hkagk5ex.js → bus-jca4demv.js} +2 -2
  171. package/dist/chunks/{config-2nqybkx4.js → bus-jcmyxw9c.js} +12 -12
  172. package/dist/chunks/{config-qq98fpg3.js → bus-jdc9ax8k.js} +10 -10
  173. package/dist/chunks/{config-vsqbtd9w.js → bus-jg1rg3jc.js} +48 -48
  174. package/dist/chunks/{config-hyts3kyv.js → bus-jgpr3qf1.js} +26 -26
  175. package/dist/chunks/{config-myqbec2v.js → bus-jssqjg8j.js} +7 -7
  176. package/dist/chunks/{config-q8peyv7x.js → bus-k5m0fz1p.js} +6 -6
  177. package/dist/chunks/{config-ze5vbvww.js → bus-kdh23bg8.js} +11 -11
  178. package/dist/chunks/{config-wdjzerwh.js → bus-kffdrsz9.js} +2 -2
  179. package/dist/chunks/{config-rabqss3e.js → bus-km7e3hxy.js} +1 -1
  180. package/dist/chunks/{config-k02etdm7.js → bus-ktjqq88n.js} +23 -23
  181. package/dist/chunks/{config-mj8bfnak.js → bus-kxdh0s6n.js} +8 -8
  182. package/dist/chunks/{config-dr66jqxh.js → bus-m4gm00jg.js} +7 -7
  183. package/dist/chunks/{config-a81jxvbk.js → bus-m4sagrtb.js} +47 -47
  184. package/dist/chunks/{config-a9gm5pt7.js → bus-m63gtq16.js} +8 -8
  185. package/dist/chunks/{config-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{config-jcc1af6w.js → bus-mca7v45c.js} +32 -32
  187. package/dist/chunks/{config-jw80jp6b.js → bus-mjymc32g.js} +4 -4
  188. package/dist/chunks/{config-a578w8xj.js → bus-mx0gp0c3.js} +26 -26
  189. package/dist/chunks/{config-vp05wna8.js → bus-mz0r0wg6.js} +10 -10
  190. package/dist/chunks/{config-710x7ek7.js → bus-n81xd9d5.js} +1 -1
  191. package/dist/chunks/{config-mm2fzfxw.js → bus-nkj12b6c.js} +140 -140
  192. package/dist/chunks/{config-3q02f9f5.js → bus-nnq4n2qn.js} +43 -43
  193. package/dist/chunks/{config-nq5k1b2k.js → bus-nrtvwtgm.js} +4 -4
  194. package/dist/chunks/{config-may7gegf.js → bus-nzh27kh4.js} +10 -10
  195. package/dist/chunks/{config-71t2waba.js → bus-nzzy63ds.js} +11 -11
  196. package/dist/chunks/{config-jr7r5qxn.js → bus-p33wnvsh.js} +27 -27
  197. package/dist/chunks/{config-2qy99qce.js → bus-p53n7dng.js} +30 -30
  198. package/dist/chunks/{config-paegk39x.js → bus-paegk39x.js} +1 -1
  199. package/dist/chunks/{config-fha9pxsp.js → bus-pbky2mmf.js} +22 -22
  200. package/dist/chunks/{config-k7d8hn12.js → bus-pbp9sz76.js} +2 -2
  201. package/dist/chunks/bus-pf31ssb9.js +18 -0
  202. package/dist/chunks/{config-4x4yz1zb.js → bus-pfrpta5e.js} +4 -4
  203. package/dist/chunks/{config-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{config-pknna89w.js → bus-pknna89w.js} +1 -1
  205. package/dist/chunks/{config-jxahb5yh.js → bus-ppj42jsj.js} +16 -16
  206. package/dist/chunks/{config-rff62xhr.js → bus-pw2ze8eb.js} +32 -32
  207. package/dist/chunks/{config-cmpbkavg.js → bus-pwpvhpkp.js} +16 -16
  208. package/dist/chunks/{config-p71w2c74.js → bus-q09v2a5f.js} +4 -4
  209. package/dist/chunks/{config-vncycja5.js → bus-q2b1ymqp.js} +4 -4
  210. package/dist/chunks/{config-ndmv45hp.js → bus-q3t37ft6.js} +3 -3
  211. package/dist/chunks/{config-chb9knyq.js → bus-q529tzg0.js} +10 -10
  212. package/dist/chunks/{config-yadbpzqa.js → bus-q73r15kw.js} +9 -9
  213. package/dist/chunks/{config-mec4xq3m.js → bus-q7wya2ft.js} +7 -7
  214. package/dist/chunks/bus-qapv375x.js +4 -0
  215. package/dist/chunks/{config-17gm43d7.js → bus-qed01h9c.js} +60 -60
  216. package/dist/chunks/{config-z48yjxtn.js → bus-qrs9zw48.js} +8 -8
  217. package/dist/chunks/{config-qsdy395h.js → bus-qsdy395h.js} +1 -1
  218. package/dist/chunks/{config-zzk4kz08.js → bus-qyeevtht.js} +29 -29
  219. package/dist/chunks/{config-cpj0znwe.js → bus-r55vasa2.js} +4 -4
  220. package/dist/chunks/{config-r9mregkx.js → bus-r9mregkx.js} +2 -2
  221. package/dist/chunks/{config-7z47sd0g.js → bus-r9nkdn48.js} +1 -1
  222. package/dist/chunks/{config-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{config-q25aqn8x.js → bus-rkhcyd8j.js} +19 -19
  224. package/dist/chunks/{config-0cnqf63x.js → bus-sg1mp0wp.js} +26 -26
  225. package/dist/chunks/{config-xz76qvd7.js → bus-sm8rghk4.js} +13 -13
  226. package/dist/chunks/{config-5ckhvvdw.js → bus-ss6xz6nm.js} +11 -11
  227. package/dist/chunks/{config-n46at92c.js → bus-stb1hwq0.js} +15 -15
  228. package/dist/chunks/{config-tw1yr5et.js → bus-t32f9ypw.js} +11 -11
  229. package/dist/chunks/{config-jt6yj0wk.js → bus-t3qrjm11.js} +29 -29
  230. package/dist/chunks/{config-emzzpcmn.js → bus-t402yjt7.js} +20 -20
  231. package/dist/chunks/{config-4sya3ve4.js → bus-t5t549nc.js} +20 -20
  232. package/dist/chunks/{config-vbh50phm.js → bus-tat11k01.js} +9 -9
  233. package/dist/chunks/{config-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{config-tcg29b4q.js → bus-tcg29b4q.js} +1 -1
  235. package/dist/chunks/{config-h2r7bbkd.js → bus-tdhe5xga.js} +8 -8
  236. package/dist/chunks/{config-tdstcens.js → bus-tdstcens.js} +1 -1
  237. package/dist/chunks/{config-8bcx3nez.js → bus-te6cpsjw.js} +4 -4
  238. package/dist/chunks/{config-4m864w3m.js → bus-th34e5xy.js} +9 -9
  239. package/dist/chunks/{config-gv6a8nnw.js → bus-th5km1p3.js} +5 -5
  240. package/dist/chunks/{config-v5dkyp31.js → bus-tkmwgdpd.js} +5 -5
  241. package/dist/chunks/{config-vvza37g4.js → bus-tsg9kv8a.js} +12 -12
  242. package/dist/chunks/{config-tvtrv512.js → bus-tvtrv512.js} +1 -1
  243. package/dist/chunks/{config-3w2b2yj4.js → bus-tz2bjj40.js} +5 -5
  244. package/dist/chunks/{config-jq1r26zb.js → bus-v1ksr1cs.js} +8 -8
  245. package/dist/chunks/{config-e64sr7en.js → bus-v21t5zre.js} +22 -22
  246. package/dist/chunks/{config-661h2f9b.js → bus-v2tpmsmj.js} +37 -37
  247. package/dist/chunks/{config-7b15y959.js → bus-v4hmzr0r.js} +8 -8
  248. package/dist/chunks/{config-veqvce7d.js → bus-veqvce7d.js} +1 -1
  249. package/dist/chunks/{config-dgmceqp5.js → bus-vgg4xkgc.js} +8 -8
  250. package/dist/chunks/{config-ybkr1nm0.js → bus-vw8bwat5.js} +21 -21
  251. package/dist/chunks/{config-va9enkqs.js → bus-vxn7m0sk.js} +3 -3
  252. package/dist/chunks/{config-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{config-v09z6gxa.js → bus-w0sf05pe.js} +4 -4
  254. package/dist/chunks/{config-rnw4m13x.js → bus-w35y2yw8.js} +37 -37
  255. package/dist/chunks/{config-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{config-n2p6wzd9.js → bus-w5k3gg8r.js} +92 -92
  257. package/dist/chunks/{config-thqea5vd.js → bus-w6dzfd7x.js} +12 -12
  258. package/dist/chunks/{config-3gjm35pn.js → bus-wb72v9a5.js} +15 -15
  259. package/dist/chunks/{config-wd87259q.js → bus-wd87259q.js} +1 -1
  260. package/dist/chunks/{config-e8340df8.js → bus-wq4mgxca.js} +4 -4
  261. package/dist/chunks/{config-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{config-10c965xq.js → bus-x60djdrf.js} +19 -19
  263. package/dist/chunks/bus-x88d9nzm.js +251 -0
  264. package/dist/chunks/{config-rfrwpsbw.js → bus-xevfw74a.js} +27 -27
  265. package/dist/chunks/{config-gcxs8bcj.js → bus-xp1v9ajb.js} +20 -20
  266. package/dist/chunks/{config-5xyhe042.js → bus-xpfz5w62.js} +4 -4
  267. package/dist/chunks/{config-jsgc62f7.js → bus-xpgn474g.js} +10 -10
  268. package/dist/chunks/{config-5ddn7qpa.js → bus-xsxe7432.js} +9 -9
  269. package/dist/chunks/{config-qrsrd25h.js → bus-xx2kx86r.js} +41 -41
  270. package/dist/chunks/{config-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{config-qxwj42xs.js → bus-ycxk46z7.js} +47 -47
  272. package/dist/chunks/{config-tg3cprtf.js → bus-yd9ketrd.js} +3 -3
  273. package/dist/chunks/{config-qvfgmrxz.js → bus-yjjca98t.js} +18 -18
  274. package/dist/chunks/{config-yp2x3t23.js → bus-yp2x3t23.js} +1 -1
  275. package/dist/chunks/{config-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{config-yrznvahk.js → bus-yrznvahk.js} +2 -2
  277. package/dist/chunks/{config-ak9msbxp.js → bus-yx0rmv9r.js} +4 -4
  278. package/dist/chunks/{config-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{config-z63w68vq.js → bus-z63w68vq.js} +2 -2
  280. package/dist/chunks/{config-v3tp873m.js → bus-zakjc7j6.js} +26 -26
  281. package/dist/chunks/{config-dcndwnyf.js → bus-zbj7r6th.js} +10 -10
  282. package/dist/chunks/{config-7zbs69wf.js → bus-zcxhpjvf.js} +23 -23
  283. package/dist/chunks/{config-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{config-33j6m0ys.js → bus-zg4yt3jb.js} +33 -33
  285. package/dist/chunks/{config-af4gk936.js → bus-zn1xqtaw.js} +26 -26
  286. package/dist/chunks/{config-w7318msx.js → bus-zp0g5kd9.js} +10 -10
  287. package/dist/chunks/{config-7s10n74m.js → bus-zp47re1r.js} +11 -11
  288. package/dist/chunks/{config-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{config-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +11 -11
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +84 -84
  294. package/dist/config/discovery.js +83 -83
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +120 -120
  298. package/dist/config/plugin/command.js +211 -211
  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 +120 -120
  306. package/dist/config/plugin/mcp.js +129 -129
  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 +122 -122
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +141 -141
  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 +121 -121
  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 +127 -127
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +82 -82
  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 +365 -365
  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 +94 -94
  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 +71 -71
  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 +221 -221
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +105 -105
  428. package/dist/form.js +79 -79
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +101 -101
  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 +90 -90
  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 +1 -1
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +83 -83
  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 +87 -87
  468. package/dist/location-services.js +353 -353
  469. package/dist/location.js +84 -84
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +105 -105
  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 +90 -90
  477. package/dist/model-resolver.js +96 -96
  478. package/dist/model.js +101 -101
  479. package/dist/models-dev.js +101 -101
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +75 -75
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +104 -104
  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 +85 -85
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +101 -101
  490. package/dist/plugin/command.js +98 -98
  491. package/dist/plugin/hooks.js +1 -1
  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 +2 -2
  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 +91 -91
  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 +136 -136
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +342 -342
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +91 -91
  544. package/dist/plugin/vcs/git.js +83 -83
  545. package/dist/plugin/vcs/hg.js +83 -83
  546. package/dist/plugin/warming.js +120 -120
  547. package/dist/plugin/websearch/exa.js +5 -5
  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 +2 -2
  551. package/dist/plugin/websearch/parallel.js +6 -6
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +6 -6
  554. package/dist/plugin.js +227 -227
  555. package/dist/project/schema.js +6 -6
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +89 -89
  558. package/dist/provider.js +96 -96
  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 +91 -91
  563. package/dist/reference/instructions.js +86 -86
  564. package/dist/reference.js +88 -88
  565. package/dist/repository-cache.js +80 -80
  566. package/dist/repository.js +3 -3
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +96 -96
  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 +133 -133
  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 +5 -5
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +221 -221
  579. package/dist/session/execution.js +126 -126
  580. package/dist/session/generate.js +150 -150
  581. package/dist/session/history.js +13 -13
  582. package/dist/session/inbox.js +87 -87
  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 +1 -1
  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 +98 -98
  601. package/dist/session/runner/publish-llm-event.js +3 -3
  602. package/dist/session/runner/retry.js +114 -114
  603. package/dist/session/runner/step.js +123 -123
  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 +84 -84
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +209 -209
  614. package/dist/session/system-prompt.js +5 -5
  615. package/dist/session/title.js +151 -151
  616. package/dist/session/to-session-error.js +111 -111
  617. package/dist/session/transfer.js +217 -217
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +219 -219
  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 +13 -13
  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 +105 -105
  628. package/dist/snapshot.js +86 -86
  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 +115 -115
  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 +123 -123
  637. package/dist/tool/plugin/opencode.js +3 -3
  638. package/dist/tool/plugin/patch.js +121 -121
  639. package/dist/tool/plugin/question.js +104 -104
  640. package/dist/tool/plugin/read.js +122 -122
  641. package/dist/tool/plugin/shell.js +214 -214
  642. package/dist/tool/plugin/skill.js +104 -104
  643. package/dist/tool/plugin/subagent.js +212 -212
  644. package/dist/tool/plugin/webfetch.js +109 -109
  645. package/dist/tool/plugin/websearch.js +111 -111
  646. package/dist/tool/plugin/write.js +121 -121
  647. package/dist/tool/read-filesystem.js +95 -95
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +8 -8
  650. package/dist/tool.js +11 -11
  651. package/dist/types/session/execution.d.ts +1 -1
  652. package/dist/types/session/session.d.ts +1 -1
  653. package/dist/types/session.d.ts +1 -1
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +5 -5
  664. package/dist/v1/config/attachment.js +4 -4
  665. package/dist/v1/config/command.js +3 -3
  666. package/dist/v1/config/config.js +16 -16
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/formatter.js +3 -3
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +5 -5
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +91 -91
  673. package/dist/v1/config/permission.js +3 -3
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +3 -3
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/vcs/patch.js +1 -1
  681. package/dist/vcs.js +88 -88
  682. package/dist/websearch.js +83 -83
  683. package/dist/wellknown/plugin.js +75 -75
  684. package/dist/wellknown.js +80 -80
  685. package/dist/workspace/driver.js +3 -3
  686. package/dist/workspace/sql.js +1 -1
  687. package/dist/workspace.js +79 -79
  688. package/dist/worktree/directory.js +4 -4
  689. package/dist/worktree/git.js +10 -10
  690. package/dist/worktree/refresh.js +345 -345
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree.js +93 -93
  693. package/package.json +8 -8
  694. package/dist/chunks/config-0mesazry.js +0 -4
  695. package/dist/chunks/config-1jzc40x7.js +0 -251
  696. package/dist/chunks/config-qc068m1q.js +0 -18
  697. /package/dist/chunks/{config-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
  698. /package/dist/chunks/{config-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
  699. /package/dist/chunks/{config-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
  700. /package/dist/chunks/{config-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
  701. /package/dist/chunks/{config-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
  702. /package/dist/chunks/{config-2710q6r3.js → bus-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{config-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{config-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{config-359p4xyc.js → bus-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{config-3asan66x.js → bus-3asan66x.js} +0 -0
  707. /package/dist/chunks/{config-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{config-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
  709. /package/dist/chunks/{config-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{config-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{config-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{config-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{config-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{config-53557ph1.js → bus-53557ph1.js} +0 -0
  715. /package/dist/chunks/{config-550bvhaj.js → bus-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{config-5qd3pb7m.js → bus-5qd3pb7m.js} +0 -0
  717. /package/dist/chunks/{config-6prwharc.js → bus-6prwharc.js} +0 -0
  718. /package/dist/chunks/{config-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{config-7m9af43g.js → bus-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{config-822emrt2.js → bus-822emrt2.js} +0 -0
  721. /package/dist/chunks/{config-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{config-8n3pysct.js → bus-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{config-922hggd3.js → bus-922hggd3.js} +0 -0
  724. /package/dist/chunks/{config-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{config-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{config-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{config-af5trqkr.js → bus-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{config-afrmfg78.js → bus-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{config-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{config-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{config-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{config-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{config-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{config-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{config-d9fn303g.js → bus-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{config-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{config-dajrwvna.js → bus-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{config-dap0rakb.js → bus-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{config-df08tz66.js → bus-df08tz66.js} +0 -0
  740. /package/dist/chunks/{config-dy18nga0.js → bus-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{config-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{config-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{config-ec1grn59.js → bus-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{config-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{config-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{config-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{config-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{config-faypxj3z.js → bus-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{config-fd410y7t.js → bus-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{config-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
  751. /package/dist/chunks/{config-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{config-g86h250q.js → bus-g86h250q.js} +0 -0
  753. /package/dist/chunks/{config-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{config-gftt206x.js → bus-gftt206x.js} +0 -0
  755. /package/dist/chunks/{config-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
  756. /package/dist/chunks/{config-hk9envan.js → bus-hk9envan.js} +0 -0
  757. /package/dist/chunks/{config-hrnqkpcd.js → bus-hrnqkpcd.js} +0 -0
  758. /package/dist/chunks/{config-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{config-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{config-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{config-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{config-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{config-mp448xyj.js → bus-mp448xyj.js} +0 -0
  764. /package/dist/chunks/{config-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
  765. /package/dist/chunks/{config-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
  766. /package/dist/chunks/{config-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
  767. /package/dist/chunks/{config-njntx4h6.js → bus-njntx4h6.js} +0 -0
  768. /package/dist/chunks/{config-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{config-q74kybfr.js → bus-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{config-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{config-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{config-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{config-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{config-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{config-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{config-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
  777. /package/dist/chunks/{config-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{config-twg0f83k.js → bus-twg0f83k.js} +0 -0
  779. /package/dist/chunks/{config-w803qqfp.js → bus-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{config-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{config-wtztk69x.js → bus-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{config-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{config-x61499pn.js → bus-x61499pn.js} +0 -0
  784. /package/dist/chunks/{config-y44na4kk.js → bus-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{config-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
  786. /package/dist/chunks/{config-y8f7s663.js → bus-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{config-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{config-ym463w8f.js → bus-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{config-z9919s4g.js → bus-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service81,
3
3
  node86
4
- } from "./config-46mmdbbw.js";
4
+ } from "./bus-g4rgasps.js";
5
5
  import {
6
6
  Service79,
7
- node84
8
- } from "./config-ef38hzxk.js";
7
+ node83
8
+ } from "./bus-brbkvpcb.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./config-pknna89w.js";
11
+ } from "./bus-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./config-0q0f95c6.js";
14
+ } from "./bus-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./config-9rqn6x4v.js";
17
+ } from "./bus-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event16,
24
- ID: () => ID10,
25
- Info: () => Info25,
23
+ Event: () => Event14,
24
+ ID: () => ID9,
25
+ Info: () => Info23,
26
26
  Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service67,
28
+ Service: () => Service57,
29
29
  Value: () => Value2,
30
- node: () => node71
30
+ node: () => node61
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID10 = Credential.ID;
37
+ var ID9 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key3 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event16 = Credential.Event;
41
+ var Event14 = Credential.Event;
42
42
 
43
- class Info25 extends Schema.Class("Credential.Info")({
44
- id: ID10,
43
+ class Info23 extends Schema.Class("Credential.Info")({
44
+ id: ID9,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service67 extends Context.Service()("@opencode/Credential") {
51
+ class Service57 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service67, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
54
54
  const db = (yield* Service81).db;
55
55
  const bus = yield* Service79;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info25({
60
+ return new Info23({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service67.of({
71
+ return Service57.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info25({
80
- id: ID10.create(),
79
+ const credential = new Info23({
80
+ id: ID9.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event16.Updated, {}, { global: true });
105
- yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event14.Updated, {}, { global: true });
105
+ yield* bus.publish(Event14.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event14.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event16.Updated, {}, { global: true });
157
+ yield* bus.publish(Event14.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event16.Updated, {}, { global: true });
190
+ yield* bus.publish(Event14.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event14.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node71 = makeGlobalNode({ service: Service67, layer, deps: [node86, node84] });
196
+ var node61 = makeGlobalNode({ service: Service57, layer, deps: [node86, node83] });
197
197
 
198
- export { ID10, OAuth3, Key3, Value2, Event16, Info25, Service67, node71, exports_credential };
198
+ export { ID9, OAuth3, Key3, Value2, Event14, Info23, Service57, node61, exports_credential };
@@ -4,29 +4,29 @@ import {
4
4
  empty3,
5
5
  make20,
6
6
  diffByKey2
7
- } from "./config-02nrjc1r.js";
7
+ } from "./bus-02nrjc1r.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./config-9pc1c82a.js";
10
+ } from "./bus-686zvbc5.js";
11
11
  import {
12
- Service33,
13
- node37
14
- } from "./config-vsqbtd9w.js";
12
+ Service31,
13
+ node35
14
+ } from "./bus-jg1rg3jc.js";
15
15
  import {
16
16
  namespace2,
17
- name13
18
- } from "./config-1037fk78.js";
17
+ name14
18
+ } from "./bus-9cebcpzz.js";
19
19
  import {
20
20
  __export
21
- } from "./config-9rqn6x4v.js";
21
+ } from "./bus-9rqn6x4v.js";
22
22
 
23
23
  // src/mcp/instructions.ts
24
- var exports_instructions4 = {};
25
- __export(exports_instructions4, {
26
- McpInstructions: () => exports_instructions4,
27
- Service: () => Service31,
24
+ var exports_instructions5 = {};
25
+ __export(exports_instructions5, {
26
+ McpInstructions: () => exports_instructions5,
27
+ Service: () => Service29,
28
28
  layer: () => layer12,
29
- node: () => node35
29
+ node: () => node33
30
30
  });
31
31
  import { makeLocationNode } from "@opencode/util/effect/app-node";
32
32
  import { Context, Effect, Layer, Schema } from "effect";
@@ -62,11 +62,11 @@ var update = (previous, current) => {
62
62
  `);
63
63
  };
64
64
 
65
- class Service31 extends Context.Service()("@opencode/McpInstructions") {
65
+ class Service29 extends Context.Service()("@opencode/McpInstructions") {
66
66
  }
67
- var layer12 = Layer.effect(Service31, Effect.gen(function* () {
68
- const mcp = yield* Service33;
69
- return Service31.of({
67
+ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
68
+ const mcp = yield* Service31;
69
+ return Service29.of({
70
70
  load: Effect.fn("McpInstructions.load")(function* (selection) {
71
71
  const agent = selection.info;
72
72
  if (!agent)
@@ -90,7 +90,7 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
90
90
  const codemode = owned[0]?.codemode !== false;
91
91
  if (codemode && !canExecute)
92
92
  return [];
93
- if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
93
+ if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
94
94
  return [];
95
95
  return [
96
96
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -100,6 +100,6 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
100
100
  })
101
101
  });
102
102
  }));
103
- var node35 = makeLocationNode({ service: Service31, layer: layer12, deps: [node37] });
103
+ var node33 = makeLocationNode({ service: Service29, layer: layer12, deps: [node35] });
104
104
 
105
- export { Service31, layer12, node35, exports_instructions4 };
105
+ export { Service29, layer12, node33, exports_instructions5 };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service71
3
- } from "./config-9pc1c82a.js";
2
+ Service68
3
+ } from "./bus-686zvbc5.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./config-4vcrnpx2.js";
7
+ } from "./bus-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./config-3v8g72cx.js";
10
+ } from "./bus-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./config-9rqn6x4v.js";
13
+ } from "./bus-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input12,
19
+ Input: () => Input9,
20
20
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin14,
22
+ Plugin: () => Plugin10,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description5,
25
+ description: () => description4,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name12
27
+ name: () => name9
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name12 = "webfetch";
33
+ var name9 = "webfetch";
34
34
  var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input12 = Schema.Struct({
41
+ var Input9 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input12 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input12.fields.format,
51
+ format: Input9.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin14 = {
95
+ var Plugin10 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service71;
99
+ const permission = yield* Service68;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name12,
101
+ name: name9,
102
102
  options: { codemode: false },
103
- description: description5,
104
- input: Input12,
103
+ description: description4,
104
+ input: Input9,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin14 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name12,
112
+ action: name9,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name12, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input12, Plugin14, extractTextFromHTML2, exports_webfetch };
170
+ export { name9, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input9, Plugin10, extractTextFromHTML2, exports_webfetch };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./config-rdw6cm16.js";
3
+ } from "./bus-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./config-9rqn6x4v.js";
6
+ } from "./bus-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service57,
14
+ Service: () => Service76,
15
15
  SizeError: () => SizeError2,
16
- node: () => node61
16
+ node: () => node80
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service57 extends Context.Service()("@opencode/Image") {
45
+ class Service76 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service57, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service57.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service76.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node61 = makeLocationNode({ service: Service57, layer, deps: [] });
79
+ var node80 = makeLocationNode({ service: Service76, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service57, node61, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service76, node80, exports_image2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isCheckpoint2,
3
3
  decode2
4
- } from "./config-paegk39x.js";
4
+ } from "./bus-paegk39x.js";
5
5
 
6
6
  // src/session/runner/to-llm-message.ts
7
7
  import {
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./config-922hggd3.js";
3
+ } from "./bus-922hggd3.js";
4
4
  import {
5
- Info17
6
- } from "./config-jw80jp6b.js";
5
+ Info11
6
+ } from "./bus-mjymc32g.js";
7
7
  import {
8
8
  __export
9
- } from "./config-9rqn6x4v.js";
9
+ } from "./bus-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
12
  var exports_agent3 = {};
13
13
  __export(exports_agent3, {
14
14
  ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info16
15
+ Info: () => Info10
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info17)
47
+ permission: Schema.optional(Info11)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info16 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info10 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info16, exports_agent3 };
74
+ export { Info10, exports_agent3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/session/usage.ts
6
6
  var exports_usage = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/tool/plugin/opencode.ts
6
6
  var exports_opencode = {};
7
7
  __export(exports_opencode, {
8
8
  MoveInput: () => MoveInput2,
9
9
  OpenCodeTools: () => exports_opencode,
10
- Plugin: () => Plugin10,
10
+ Plugin: () => Plugin2,
11
11
  RenameInput: () => RenameInput2
12
12
  });
13
13
  import { SystemPart, ToolFailure } from "@opencode/ai";
@@ -26,7 +26,7 @@ var MoveInput2 = Schema.Struct({
26
26
  })
27
27
  });
28
28
  var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
29
- var Plugin10 = {
29
+ var Plugin2 = {
30
30
  id: "opencode.tools",
31
31
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
32
32
  const hook = (event) => Effect.sync(() => {
@@ -77,4 +77,4 @@ var Plugin10 = {
77
77
  })
78
78
  };
79
79
 
80
- export { RenameInput2, MoveInput2, Plugin10, exports_opencode };
80
+ export { RenameInput2, MoveInput2, Plugin2, exports_opencode };
@@ -3,19 +3,19 @@ import {
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  mergeOverlay2
6
- } from "./config-r8k6ctx1.js";
6
+ } from "./bus-75tpbtqb.js";
7
7
  import {
8
8
  __export
9
- } from "./config-9rqn6x4v.js";
9
+ } from "./bus-9rqn6x4v.js";
10
10
 
11
11
  // src/aisdk.ts
12
12
  var exports_aisdk = {};
13
13
  __export(exports_aisdk, {
14
14
  AISDK: () => exports_aisdk,
15
15
  InitError: () => InitError2,
16
- Service: () => Service51,
16
+ Service: () => Service45,
17
17
  locationLayer: () => locationLayer2,
18
- node: () => node54
18
+ node: () => node48
19
19
  });
20
20
  import { makeLocationNode } from "@opencode/util/effect/app-node";
21
21
  import { APICallError } from "@ai-sdk/provider";
@@ -136,9 +136,9 @@ function initError(providerID) {
136
136
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
137
137
  }
138
138
 
139
- class Service51 extends Context.Service()("@opencode/AISDK") {
139
+ class Service45 extends Context.Service()("@opencode/AISDK") {
140
140
  }
141
- var locationLayer2 = Layer.effect(Service51, Effect.gen(function* () {
141
+ var locationLayer2 = Layer.effect(Service45, Effect.gen(function* () {
142
142
  let sdkHooks = [];
143
143
  let languageHooks = [];
144
144
  const languages = new Map;
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service51, Effect.gen(function* () {
176
176
  }
177
177
  return event;
178
178
  });
179
- const service = Service51.of({
179
+ const service = Service45.of({
180
180
  hook: {
181
181
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
182
182
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -817,6 +817,6 @@ function providerErrorMessage(error) {
817
817
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
818
818
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
819
819
  }
820
- var node54 = makeLocationNode({ service: Service51, layer: locationLayer2, deps: [] });
820
+ var node48 = makeLocationNode({ service: Service45, layer: locationLayer2, deps: [] });
821
821
 
822
- export { InitError2, Service51, locationLayer2, node54, exports_aisdk };
822
+ export { InitError2, Service45, locationLayer2, node48, exports_aisdk };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./config-922hggd3.js";
3
+ } from "./bus-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./config-9rqn6x4v.js";
6
+ } from "./bus-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
10
10
  __export(exports_directory, {
11
11
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
12
12
  WorktreeDirectory: () => exports_directory,
13
- canonical: () => canonical2
13
+ canonical: () => canonical3
14
14
  });
15
15
  import { Effect, Schema } from "effect";
16
16
  class DirectoryUnavailableError2 extends Schema.TaggedError()("Worktree.DirectoryUnavailableError", { directory: AbsolutePath2 }) {
17
17
  }
18
- var canonical2 = Effect.fnUntraced(function* (fs, input) {
18
+ var canonical3 = Effect.fnUntraced(function* (fs, input) {
19
19
  const resolved = AbsolutePath2.make(yield* fs.resolve(input));
20
20
  if (!(yield* fs.isDir(resolved)))
21
21
  return yield* new DirectoryUnavailableError2({ directory: input });
22
22
  return resolved;
23
23
  });
24
24
 
25
- export { DirectoryUnavailableError2, canonical2, exports_directory };
25
+ export { DirectoryUnavailableError2, canonical3, exports_directory };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
- var exports_command5 = {};
7
- __export(exports_command5, {
8
- ConfigCommandV1: () => exports_command5,
6
+ var exports_command4 = {};
7
+ __export(exports_command4, {
8
+ ConfigCommandV1: () => exports_command4,
9
9
  Info: () => Info12
10
10
  });
11
11
  import { Schema } from "effect";
@@ -18,4 +18,4 @@ var Info12 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info12, exports_command5 };
21
+ export { Info12, exports_command4 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./config-gd4qta3r.js";
3
+ } from "./bus-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./config-tvtrv512.js";
6
+ } from "./bus-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./config-rdw6cm16.js";
9
+ } from "./bus-rdw6cm16.js";
10
10
  import {
11
11
  __export
12
- } from "./config-9rqn6x4v.js";
12
+ } from "./bus-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: () => Service54,
21
+ Service: () => Service63,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node57
23
+ node: () => node67
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 Service54 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service63 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(Service54, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service63, 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(Service54, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service54.of({
125
+ return Service63.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 node57 = makeLocationNode({
143
- service: Service54,
142
+ var node67 = makeLocationNode({
143
+ service: Service63,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service54, node57, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service63, node67, exports_tool_output2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/id/id.ts
6
6
  var exports_id = {};