@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,32 +1,32 @@
1
1
  import {
2
2
  Service79,
3
- node84
4
- } from "./config-ef38hzxk.js";
3
+ node83
4
+ } from "./bus-brbkvpcb.js";
5
5
  import {
6
6
  create3
7
- } from "./config-rdw6cm16.js";
7
+ } from "./bus-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./config-9pc1c82a.js";
10
+ } from "./bus-686zvbc5.js";
11
11
  import {
12
12
  __export
13
- } from "./config-9rqn6x4v.js";
13
+ } from "./bus-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event18,
20
+ Event: () => Event17,
21
21
  ID: () => ID11,
22
22
  Info: () => Info26,
23
23
  Name: () => Name2,
24
- Service: () => Service70,
24
+ Service: () => Service64,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node74,
29
+ node: () => node68,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,7 +34,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event18 } from "@opencode/schema/skill";
37
+ import { Event as Event17 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
@@ -71,9 +71,9 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service70 extends Context.Service()("@opencode/Skill") {
74
+ class Service64 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service70, Effect.gen(function* () {
76
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
77
77
  const bus = yield* Service79;
78
78
  const state = create3({
79
79
  name: "skill",
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service70.of({
100
+ return Service64.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node74 = makeLocationNode({
112
- service: Service70,
111
+ var node68 = makeLocationNode({
112
+ service: Service64,
113
113
  layer,
114
- deps: [node84]
114
+ deps: [node83]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info26, ID11, Name2, available2, toModelOutput3, prepare3, Service70, node74, exports_skill5, Event18 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info26, ID11, Name2, available2, toModelOutput3, prepare3, Service64, node68, exports_skill5, Event17 };
@@ -1,25 +1,25 @@
1
1
  import {
2
- Service71
3
- } from "./config-9pc1c82a.js";
2
+ Service68
3
+ } from "./bus-686zvbc5.js";
4
4
  import {
5
5
  ID11,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service70
10
- } from "./config-jp0z8v05.js";
9
+ Service64
10
+ } from "./bus-bbtrsqmd.js";
11
11
  import {
12
12
  __export
13
- } from "./config-9rqn6x4v.js";
13
+ } from "./bus-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
16
  var exports_skill = {};
17
17
  __export(exports_skill, {
18
18
  Input: () => Input7,
19
19
  Output: () => Output6,
20
- Plugin: () => Plugin7,
20
+ Plugin: () => Plugin8,
21
21
  SkillTool: () => exports_skill,
22
- description: () => description4,
22
+ description: () => description3,
23
23
  name: () => name7,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
@@ -35,7 +35,7 @@ var Output6 = Schema.Struct({
35
35
  directory: Schema.String,
36
36
  output: Schema.String
37
37
  });
38
- var description4 = [
38
+ var description3 = [
39
39
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
40
40
  "",
41
41
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -43,16 +43,16 @@ var description4 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin7 = {
46
+ var Plugin8 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service70;
51
- const permission = yield* Service71;
50
+ const skills = yield* Service64;
51
+ const permission = yield* Service68;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
53
  name: name7,
54
54
  options: { codemode: false },
55
- description: description4,
55
+ description: description3,
56
56
  input: Input7,
57
57
  output: Output6,
58
58
  execute: (input, context) => Effect.gen(function* () {
@@ -79,4 +79,4 @@ var Plugin7 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name7, Input7, Output6, description4, toModelOutput2, Plugin7, exports_skill };
82
+ export { name7, Input7, Output6, description3, toModelOutput2, Plugin8, exports_skill };
@@ -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/v1/config/formatter.ts
6
6
  var exports_formatter3 = {};
7
7
  __export(exports_formatter3, {
8
8
  ConfigFormatterV1: () => exports_formatter3,
9
9
  Entry: () => Entry3,
10
- Info: () => Info13
10
+ Info: () => Info15
11
11
  });
12
12
  import { Schema } from "effect";
13
13
  var Entry3 = Schema.Struct({
@@ -16,6 +16,6 @@ var Entry3 = Schema.Struct({
16
16
  environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
17
17
  extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
18
18
  });
19
- var Info13 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
19
+ var Info15 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
20
20
 
21
- export { Entry3, Info13, exports_formatter3 };
21
+ export { Entry3, Info15, exports_formatter3 };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./config-922hggd3.js";
3
+ } from "./bus-922hggd3.js";
4
4
  import {
5
5
  Service81,
6
6
  node86
7
- } from "./config-46mmdbbw.js";
7
+ } from "./bus-g4rgasps.js";
8
8
  import {
9
9
  Service79,
10
- node84
11
- } from "./config-ef38hzxk.js";
10
+ node83
11
+ } from "./bus-brbkvpcb.js";
12
12
  import {
13
- Service80,
14
- node85
15
- } from "./config-thqea5vd.js";
13
+ Service75,
14
+ node79
15
+ } from "./bus-w6dzfd7x.js";
16
16
  import {
17
- ID18,
17
+ ID17,
18
18
  Current3,
19
- Info34,
19
+ Info33,
20
20
  UpdateInput4,
21
21
  Event21,
22
22
  Vcs3
23
- } from "./config-57ez7d0k.js";
23
+ } from "./bus-4sn99hha.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./config-dj2t23y0.js";
27
+ } from "./bus-8p4f9s12.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./config-m0jqrx5p.js";
30
+ } from "./bus-cfpkc3c9.js";
31
31
  import {
32
32
  __export
33
- } from "./config-9rqn6x4v.js";
33
+ } from "./bus-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID17,
40
- Info: () => Info33,
41
- NotFoundError: () => NotFoundError11,
39
+ ID: () => ID16,
40
+ Info: () => Info32,
41
+ NotFoundError: () => NotFoundError10,
42
42
  Project: () => exports_project,
43
- Service: () => Service78,
43
+ Service: () => Service73,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node83,
46
+ node: () => node77,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID17 = ID18;
58
+ var ID16 = ID17;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info33 = Info34;
61
+ var Info32 = Info33;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID17
64
+ class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ projectID: ID16
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service78 extends Context.Service()("@opencode/Project") {
74
+ class Service73 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -93,9 +93,9 @@ function fromRow(row) {
93
93
  sandboxes: row.sandboxes
94
94
  };
95
95
  }
96
- var layer = Layer.effect(Service78, Effect.gen(function* () {
96
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
97
97
  const fs = yield* FSUtil.Service;
98
- const git = yield* Service80;
98
+ const git = yield* Service75;
99
99
  const proc = yield* AppProcess.Service;
100
100
  const bus = yield* Service79;
101
101
  const db = (yield* Service81).db;
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
143
143
  yield* bus.publish(Worktree.Event.Resolved, {
144
144
  projectID: item.projectID,
145
145
  directory: item.directory,
146
- previous: project.previous ?? ID17.global,
146
+ previous: project.previous ?? ID16.global,
147
147
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
148
148
  }, {
149
149
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -166,13 +166,13 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
166
166
  time_updated: Date.now()
167
167
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
168
168
  if (!row)
169
- return yield* new NotFoundError11({ projectID: input.projectID });
169
+ return yield* new NotFoundError10({ projectID: input.projectID });
170
170
  const project = fromRow(row);
171
171
  yield* bus.publish(Event21.Updated, project);
172
172
  return project;
173
173
  });
174
174
  const cached = Effect.fnUntraced(function* (dir) {
175
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
175
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
176
176
  return;
177
177
  }));
178
178
  });
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
183
183
  const normalized = url(origin);
184
184
  if (!normalized)
185
185
  return;
186
- return ID17.make(Hash.fast(`git-remote:${normalized}`));
186
+ return ID16.make(Hash.fast(`git-remote:${normalized}`));
187
187
  });
188
188
  function url(input) {
189
189
  const value = input.trim();
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
208
208
  }
209
209
  const rootCommit = Effect.fnUntraced(function* (repo) {
210
210
  const root = (yield* git.history.rootCommits(repo))[0];
211
- return root ? ID17.make(root) : undefined;
211
+ return root ? ID16.make(root) : undefined;
212
212
  });
213
213
  const hgRoot = Effect.fnUntraced(function* (worktree) {
214
214
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
224
224
  return;
225
225
  const node = result.stdout.toString("utf8").split(`
226
226
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
227
- return node ? ID17.make(node) : undefined;
227
+ return node ? ID16.make(node) : undefined;
228
228
  });
229
229
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
230
230
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
233
233
  const id = previous ?? (yield* hgRoot(worktree));
234
234
  return {
235
235
  previous,
236
- id: id ?? ID17.global,
236
+ id: id ?? ID16.global,
237
237
  directory: worktree,
238
238
  vcs: { type: "hg", store }
239
239
  };
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
250
250
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
251
251
  return yield* persist({
252
252
  previous,
253
- id: id ?? ID17.global,
253
+ id: id ?? ID16.global,
254
254
  directory: repo.worktree,
255
255
  canonical,
256
256
  vcs: { type: "git", store: repo.commonDirectory }
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
264
264
  });
265
265
  }
266
266
  return yield* persist({
267
- id: ID17.make(Hash.fast(`directory:${directory}`)),
267
+ id: ID16.make(Hash.fast(`directory:${directory}`)),
268
268
  directory,
269
269
  canonical: directory,
270
270
  vcs: undefined
271
271
  });
272
272
  });
273
- return Service78.of({ list, update, resolve });
273
+ return Service73.of({ list, update, resolve });
274
274
  }));
275
- var node83 = makeGlobalNode({
276
- service: Service78,
275
+ var node77 = makeGlobalNode({
276
+ service: Service73,
277
277
  layer,
278
- deps: [node84, node86, FSUtil.node, node85, AppProcess.node]
278
+ deps: [node83, node86, FSUtil.node, node79, AppProcess.node]
279
279
  });
280
280
 
281
- export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service78, node83, exports_project };
281
+ export { ID16, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2, Service73, node77, exports_project };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Service81,
3
3
  node86
4
- } from "./config-46mmdbbw.js";
4
+ } from "./bus-g4rgasps.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./config-2710q6r3.js";
8
+ } from "./bus-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./config-dpkg50ah.js";
11
+ } from "./bus-dpkg50ah.js";
12
12
  import {
13
13
  __export
14
- } from "./config-9rqn6x4v.js";
14
+ } from "./bus-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
@@ -19,12 +19,12 @@ __export(exports_bus, {
19
19
  Bus: () => exports_bus,
20
20
  InvalidDurableEventError: () => InvalidDurableEventError2,
21
21
  Service: () => Service79,
22
- configured: () => configured12,
22
+ configured: () => configured11,
23
23
  durable: () => durable2,
24
24
  ephemeral: () => ephemeral2,
25
25
  isSynced: () => isSynced2,
26
26
  latestSequence: () => latestSequence2,
27
- node: () => node84,
27
+ node: () => node83,
28
28
  reserveSequence: () => reserveSequence2,
29
29
  versionedType: () => versionedType2
30
30
  });
@@ -78,7 +78,7 @@ var isDefinition = (input) => !Array.isArray(input);
78
78
 
79
79
  class Service79 extends Context.Service()("@opencode/Bus") {
80
80
  }
81
- function configured12(options) {
81
+ function configured11(options) {
82
82
  return makeGlobalNode({
83
83
  service: Service79,
84
84
  deps: [node86],
@@ -539,6 +539,6 @@ function configured12(options) {
539
539
  }))
540
540
  });
541
541
  }
542
- var node84 = configured12();
542
+ var node83 = configured11();
543
543
 
544
- export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service79, configured12, node84, exports_bus };
544
+ export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service79, configured11, node83, exports_bus };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service79,
3
- node84
4
- } from "./config-ef38hzxk.js";
3
+ node83
4
+ } from "./bus-brbkvpcb.js";
5
5
  import {
6
- node66
7
- } from "./config-n1g6tgdt.js";
6
+ node44
7
+ } from "./bus-62akg8e4.js";
8
8
  import {
9
- Service8,
10
- node11
11
- } from "./config-rfrwpsbw.js";
9
+ Service10,
10
+ node13
11
+ } from "./bus-xevfw74a.js";
12
12
  import {
13
- Service37
14
- } from "./config-qc068m1q.js";
13
+ Service26
14
+ } from "./bus-pf31ssb9.js";
15
15
  import {
16
- node21,
17
- ID3
18
- } from "./config-512fes74.js";
16
+ node16,
17
+ ID2
18
+ } from "./bus-fz5sfred.js";
19
19
  import {
20
- Service6,
21
- node9
22
- } from "./config-7b15y959.js";
20
+ Service8,
21
+ node11
22
+ } from "./bus-v4hmzr0r.js";
23
23
  import {
24
24
  requirements2,
25
25
  list2
26
- } from "./config-vrx3af4d.js";
26
+ } from "./bus-9gwk1d27.js";
27
27
  import {
28
- make7,
28
+ make4,
29
29
  LoadError2
30
- } from "./config-jq1r26zb.js";
30
+ } from "./bus-v1ksr1cs.js";
31
31
  import {
32
32
  Updated2,
33
- Service7,
34
- node10
35
- } from "./config-may7gegf.js";
36
- import {
37
33
  Service4,
38
34
  node7
39
- } from "./config-f7ehr2sm.js";
35
+ } from "./bus-nzh27kh4.js";
36
+ import {
37
+ Service7,
38
+ node10
39
+ } from "./bus-d09006c3.js";
40
40
  import {
41
41
  __export
42
- } from "./config-9rqn6x4v.js";
42
+ } from "./bus-9rqn6x4v.js";
43
43
 
44
44
  // src/plugin/supervisor.ts
45
45
  var exports_supervisor = {};
@@ -115,7 +115,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
115
115
  failures: [
116
116
  ...failures.values(),
117
117
  ...ordered.filter(duplicate).map((plugin) => ({
118
- id: ID3.make(plugin.id),
118
+ id: ID2.make(plugin.id),
119
119
  source: plugin.source ?? { type: "builtin" },
120
120
  state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
121
121
  features: { server: true, ...plugin.features }
@@ -125,13 +125,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
125
125
  };
126
126
  });
127
127
  var layer4 = Layer.effectDiscard(Effect.gen(function* () {
128
- const registry = yield* Service37;
129
- const sdk = yield* Service7;
130
- const instance = yield* Service6;
131
- const sources = yield* Service8;
132
- const modules = yield* make7();
128
+ const registry = yield* Service26;
129
+ const sdk = yield* Service4;
130
+ const instance = yield* Service8;
131
+ const sources = yield* Service10;
132
+ const modules = yield* make4();
133
133
  const bus = yield* Service79;
134
- const updates = yield* Service4;
134
+ const updates = yield* Service7;
135
135
  const internal = yield* list2();
136
136
  let release = yield* registry.hold();
137
137
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -206,14 +206,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
206
206
  })), Effect.forkScoped({ startImmediately: true }));
207
207
  }));
208
208
  var nodeDeps = [
209
- node21,
210
- node10,
211
- node9,
212
- node11,
209
+ node16,
213
210
  node7,
214
- node84,
211
+ node11,
212
+ node13,
213
+ node10,
214
+ node83,
215
215
  Npm.node,
216
- node66,
216
+ node44,
217
217
  requirements2
218
218
  ];
219
219
  function pluginSource(target) {
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service66
3
- } from "./config-ybkr1nm0.js";
2
+ Service58
3
+ } from "./bus-vw8bwat5.js";
4
4
  import {
5
- Service71
6
- } from "./config-9pc1c82a.js";
5
+ Service68
6
+ } from "./bus-686zvbc5.js";
7
7
  import {
8
- ID4,
8
+ ID6,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service20
14
- } from "./config-0cnqf63x.js";
13
+ Service51
14
+ } from "./bus-sg1mp0wp.js";
15
15
  import {
16
16
  __export
17
- } from "./config-9rqn6x4v.js";
17
+ } from "./bus-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
20
  var exports_websearch = {};
21
21
  __export(exports_websearch, {
22
- Input: () => Input2,
22
+ Input: () => Input11,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin2,
24
+ Plugin: () => Plugin12,
25
25
  WebSearchTool: () => exports_websearch,
26
- description: () => description2,
27
- name: () => name2
26
+ description: () => description5,
27
+ name: () => name11
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name2 = "websearch";
32
+ var name11 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input2 = Schema.Struct({
42
+ var Input11 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID4,
46
+ provider: ID6,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin2 = {
49
+ var Plugin12 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service71;
53
- const forms = yield* Service66;
54
- const websearch = yield* Service20;
52
+ const permission = yield* Service68;
53
+ const forms = yield* Service58;
54
+ const websearch = yield* Service51;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name2,
56
+ name: name11,
57
57
  options: { codemode: false },
58
- description: description2,
59
- input: Input2,
58
+ description: description5,
59
+ input: Input11,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name2,
63
+ action: name11,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name2];
179
+ delete event.tools[name11];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name2, NO_RESULTS2, description2, Input2, Plugin2, exports_websearch };
187
+ export { name11, NO_RESULTS2, description5, Input11, Plugin12, exports_websearch };