@opencode/core 0.0.0-dev-19858 → 0.0.0-dev-19860

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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{vcs-rhjbct0v.js → filesystem-02nrjc1r.js} +6 -6
  8. package/dist/chunks/{vcs-m6em83jz.js → filesystem-04g8gb3s.js} +26 -26
  9. package/dist/chunks/{vcs-gyxn878h.js → filesystem-05g1mm2c.js} +21 -21
  10. package/dist/chunks/{vcs-d7r05era.js → filesystem-0cknbh6y.js} +3 -3
  11. package/dist/chunks/{vcs-9c3np669.js → filesystem-0h54jqbs.js} +8 -8
  12. package/dist/chunks/{vcs-tsvqgg8r.js → filesystem-0jk305gw.js} +15 -15
  13. package/dist/chunks/{vcs-qgn6gcr1.js → filesystem-0jwsre1p.js} +5 -5
  14. package/dist/chunks/filesystem-0mesazry.js +4 -0
  15. package/dist/chunks/{vcs-mzr7febk.js → filesystem-0mxxzrer.js} +9 -9
  16. package/dist/chunks/{vcs-2m1f7cy6.js → filesystem-0nce7q48.js} +15 -15
  17. package/dist/chunks/{vcs-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
  18. package/dist/chunks/{vcs-0q0f95c6.js → filesystem-0q0f95c6.js} +1 -1
  19. package/dist/chunks/{vcs-yz9726cp.js → filesystem-0ya3ykak.js} +11 -11
  20. package/dist/chunks/{vcs-nhja5bmb.js → filesystem-10x37dkd.js} +21 -21
  21. package/dist/chunks/{vcs-erz15eev.js → filesystem-12mvcd02.js} +9 -9
  22. package/dist/chunks/{vcs-9waxhxyt.js → filesystem-13qzbekt.js} +50 -50
  23. package/dist/chunks/{vcs-k6bjvtpx.js → filesystem-19ntd6ym.js} +9 -9
  24. package/dist/chunks/{vcs-x4gr8kd6.js → filesystem-1akmjgjg.js} +8 -8
  25. package/dist/chunks/{vcs-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
  26. package/dist/chunks/{vcs-deajjef3.js → filesystem-1f075h9t.js} +17 -17
  27. package/dist/chunks/{vcs-ehpg0rej.js → filesystem-1gbvn30c.js} +4 -4
  28. package/dist/chunks/{vcs-kxphd5c7.js → filesystem-1qdy7hzf.js} +3 -3
  29. package/dist/chunks/{vcs-2f5wythd.js → filesystem-1rr3swgy.js} +8 -8
  30. package/dist/chunks/{vcs-py7tvzcg.js → filesystem-1wyj371t.js} +32 -32
  31. package/dist/chunks/{vcs-56gdpj1q.js → filesystem-1ygqh575.js} +9 -9
  32. package/dist/chunks/{vcs-jknhfhr2.js → filesystem-1ym61n1a.js} +33 -33
  33. package/dist/chunks/{vcs-21r38tys.js → filesystem-21r38tys.js} +1 -1
  34. package/dist/chunks/{vcs-a20pgr88.js → filesystem-23h8ty1a.js} +26 -26
  35. package/dist/chunks/{vcs-2402vzrj.js → filesystem-2402vzrj.js} +1 -1
  36. package/dist/chunks/{vcs-h1p741k4.js → filesystem-24gf0acj.js} +6 -6
  37. package/dist/chunks/{vcs-s1pxbdt0.js → filesystem-24s8e1ye.js} +18 -18
  38. package/dist/chunks/{vcs-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
  39. package/dist/chunks/{vcs-jexxy024.js → filesystem-2f04pwep.js} +3 -3
  40. package/dist/chunks/{vcs-3ewed21c.js → filesystem-2k71kv7p.js} +4 -4
  41. package/dist/chunks/{vcs-rfm2565c.js → filesystem-2zcvd3jh.js} +51 -51
  42. package/dist/chunks/{vcs-68hsc098.js → filesystem-32czktbn.js} +26 -26
  43. package/dist/chunks/{vcs-12v7f4hg.js → filesystem-3377exhx.js} +36 -36
  44. package/dist/chunks/{vcs-ygrrhazr.js → filesystem-354mtm1j.js} +28 -28
  45. package/dist/chunks/{vcs-8vc35css.js → filesystem-3ch3tthc.js} +20 -20
  46. package/dist/chunks/{vcs-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
  47. package/dist/chunks/{vcs-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{vcs-7md8yzhz.js → filesystem-3qnhr4nm.js} +20 -20
  49. package/dist/chunks/{vcs-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{vcs-j7mpm1wr.js → filesystem-3ta4n5rg.js} +10 -10
  51. package/dist/chunks/{vcs-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{vcs-2djq4902.js → filesystem-46p5v0nr.js} +14 -14
  53. package/dist/chunks/{vcs-jz93xfa4.js → filesystem-48a4xvag.js} +14 -14
  54. package/dist/chunks/{vcs-g1sxm558.js → filesystem-4e8vs6eh.js} +8 -8
  55. package/dist/chunks/{vcs-zhq6vg7a.js → filesystem-4jc5c4h4.js} +1 -1
  56. package/dist/chunks/{vcs-yt3hy1g9.js → filesystem-4n607a2z.js} +5 -5
  57. package/dist/chunks/{vcs-spr050er.js → filesystem-4nq1vhh4.js} +10 -10
  58. package/dist/chunks/{vcs-8xh6cseh.js → filesystem-4pw9szbk.js} +4 -4
  59. package/dist/chunks/{vcs-4rrs1rky.js → filesystem-4r9jq3gm.js} +10 -10
  60. package/dist/chunks/{vcs-hmgqkarr.js → filesystem-4waxsa04.js} +51 -51
  61. package/dist/chunks/{vcs-6kjxsdk9.js → filesystem-52r8cdh9.js} +15 -15
  62. package/dist/chunks/{vcs-57ez7d0k.js → filesystem-57ez7d0k.js} +2 -2
  63. package/dist/chunks/{vcs-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
  64. package/dist/chunks/{vcs-4we6rgn1.js → filesystem-5jzcxvp7.js} +5 -5
  65. package/dist/chunks/{vcs-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{vcs-kxhmg965.js → filesystem-5v1az6zm.js} +27 -27
  67. package/dist/chunks/{vcs-669tq793.js → filesystem-669tq793.js} +1 -1
  68. package/dist/chunks/{vcs-bq6j9g1b.js → filesystem-69qfe4ye.js} +6 -6
  69. package/dist/chunks/{vcs-cpy6gm2a.js → filesystem-6anwy9fs.js} +5 -5
  70. package/dist/chunks/{vcs-gsjgh4hm.js → filesystem-6fnhcvra.js} +17 -17
  71. package/dist/chunks/{vcs-6msgmcgs.js → filesystem-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{vcs-j2zgkdb5.js → filesystem-6nbtj0ez.js} +26 -26
  73. package/dist/chunks/{vcs-repb58am.js → filesystem-6x62fcpm.js} +6 -6
  74. package/dist/chunks/{vcs-4nenax5m.js → filesystem-6ywb039y.js} +9 -9
  75. package/dist/chunks/{vcs-98n6zb1h.js → filesystem-71ka5gtd.js} +20 -20
  76. package/dist/chunks/{vcs-r5x6zcsm.js → filesystem-73tb2d7t.js} +3 -3
  77. package/dist/chunks/{vcs-n8jyz0fj.js → filesystem-76410njm.js} +28 -28
  78. package/dist/chunks/{vcs-6226hgya.js → filesystem-7877ca20.js} +44 -44
  79. package/dist/chunks/{vcs-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{vcs-rcgznhtg.js → filesystem-7gpkdhmk.js} +11 -11
  81. package/dist/chunks/{vcs-h82njgbp.js → filesystem-7hp0tadb.js} +30 -30
  82. package/dist/chunks/{vcs-nw2p6qkx.js → filesystem-7m8psw39.js} +32 -32
  83. package/dist/chunks/{vcs-dv3zezwm.js → filesystem-7xtf3zc8.js} +18 -18
  84. package/dist/chunks/{vcs-nv09mq9g.js → filesystem-7z26aszj.js} +9 -9
  85. package/dist/chunks/{vcs-seeezy3s.js → filesystem-826ce358.js} +11 -11
  86. package/dist/chunks/{vcs-gar06bvm.js → filesystem-84b8vhgq.js} +13 -13
  87. package/dist/chunks/{vcs-bp9gkt27.js → filesystem-858b8443.js} +14 -14
  88. package/dist/chunks/{vcs-w2jpnjzn.js → filesystem-88r9n90q.js} +4 -4
  89. package/dist/chunks/{vcs-rdmr8h45.js → filesystem-89cssmvp.js} +13 -13
  90. package/dist/chunks/{vcs-tcezcvh9.js → filesystem-89znhe33.js} +4 -4
  91. package/dist/chunks/{vcs-n5ej7v0r.js → filesystem-8adjgm89.js} +15 -15
  92. package/dist/chunks/{vcs-fzspm7j1.js → filesystem-8aqc4yxf.js} +6 -6
  93. package/dist/chunks/{vcs-n22a5g2a.js → filesystem-8d69mcgf.js} +38 -38
  94. package/dist/chunks/{vcs-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
  95. package/dist/chunks/{vcs-wy1aae89.js → filesystem-8ft4t96z.js} +37 -37
  96. package/dist/chunks/{vcs-x41dyxnd.js → filesystem-8gac8n07.js} +32 -32
  97. package/dist/chunks/{vcs-kef0rm51.js → filesystem-8j3bcj8f.js} +19 -19
  98. package/dist/chunks/{vcs-9pqkkp2e.js → filesystem-8md4gqd3.js} +11 -11
  99. package/dist/chunks/{vcs-8p4f9s12.js → filesystem-8p4f9s12.js} +2 -2
  100. package/dist/chunks/{vcs-g9zwg0je.js → filesystem-8s2x1r0z.js} +11 -11
  101. package/dist/chunks/{vcs-18e56dsp.js → filesystem-8s8mxddj.js} +4 -4
  102. package/dist/chunks/{vcs-h6r3nrb9.js → filesystem-8z00fdkb.js} +4 -4
  103. package/dist/chunks/{vcs-y15vpdnr.js → filesystem-981wagwk.js} +9 -9
  104. package/dist/chunks/{vcs-bbp8a8gj.js → filesystem-98hxqkfd.js} +20 -20
  105. package/dist/chunks/{vcs-jat0edw6.js → filesystem-9neh7k8p.js} +6 -6
  106. package/dist/chunks/{vcs-xar9seh6.js → filesystem-9q0baw2b.js} +14 -14
  107. package/dist/chunks/{vcs-snabfqxp.js → filesystem-9zcn9hy1.js} +4 -4
  108. package/dist/chunks/{vcs-a1bz86dw.js → filesystem-a1bz86dw.js} +3 -3
  109. package/dist/chunks/{vcs-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
  110. package/dist/chunks/{vcs-vpdthv1w.js → filesystem-aepjrbx0.js} +47 -47
  111. package/dist/chunks/{vcs-40j9bccr.js → filesystem-ap9fazeb.js} +5 -5
  112. package/dist/chunks/{vcs-4xvd153e.js → filesystem-awy7rs6m.js} +7 -7
  113. package/dist/chunks/{vcs-z7z0ddsh.js → filesystem-b02qts2r.js} +8 -8
  114. package/dist/chunks/{vcs-twnj3zvd.js → filesystem-b2e86tga.js} +20 -20
  115. package/dist/chunks/{vcs-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{vcs-7yevm10q.js → filesystem-bf0ep029.js} +14 -14
  117. package/dist/chunks/{vcs-wbkyxrgf.js → filesystem-bgxcxs0p.js} +5 -5
  118. package/dist/chunks/{vcs-r9chjg2t.js → filesystem-bj8kctas.js} +11 -11
  119. package/dist/chunks/{vcs-05ema446.js → filesystem-bp188etw.js} +18 -18
  120. package/dist/chunks/{vcs-762r0j46.js → filesystem-btec747f.js} +5 -5
  121. package/dist/chunks/{vcs-cfpkc3c9.js → filesystem-cfpkc3c9.js} +2 -2
  122. package/dist/chunks/{vcs-v5zftknb.js → filesystem-ckge2wbq.js} +21 -21
  123. package/dist/chunks/{vcs-113z30mj.js → filesystem-cm9jsw5f.js} +8 -8
  124. package/dist/chunks/{vcs-7aqqp7sg.js → filesystem-d2sm94f9.js} +17 -17
  125. package/dist/chunks/{vcs-zee1rnkq.js → filesystem-dhmh7aw6.js} +4 -4
  126. package/dist/chunks/{vcs-tz2bjj40.js → filesystem-dj9sq318.js} +5 -5
  127. package/dist/chunks/{vcs-w5fm7hkw.js → filesystem-dm473wwa.js} +24 -24
  128. package/dist/chunks/{vcs-rqk1njnt.js → filesystem-dpp1ex0k.js} +20 -20
  129. package/dist/chunks/{vcs-p841sg60.js → filesystem-dreppv43.js} +26 -26
  130. package/dist/chunks/{vcs-qqeeq2t9.js → filesystem-drwq78ky.js} +7 -7
  131. package/dist/chunks/{vcs-5wdaxb8f.js → filesystem-e06sw8n6.js} +23 -23
  132. package/dist/chunks/{vcs-8662gdp4.js → filesystem-e4ah1ep1.js} +16 -16
  133. package/dist/chunks/{vcs-tcsc0whj.js → filesystem-e82g4p77.js} +10 -10
  134. package/dist/chunks/filesystem-ec2pb2w2.js +252 -0
  135. package/dist/chunks/{vcs-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{vcs-jhgqne7p.js → filesystem-eqzrmp0y.js} +10 -10
  137. package/dist/chunks/{vcs-whenjg63.js → filesystem-erm9gs1m.js} +18 -18
  138. package/dist/chunks/{vcs-erw5rpbs.js → filesystem-erw5rpbs.js} +2 -2
  139. package/dist/chunks/{vcs-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{vcs-78ht92vq.js → filesystem-eyckedmf.js} +18 -18
  141. package/dist/chunks/{vcs-f828m53h.js → filesystem-f828m53h.js} +2 -2
  142. package/dist/chunks/{vcs-8kwpxbq8.js → filesystem-f8p8k6s9.js} +11 -11
  143. package/dist/chunks/{vcs-dn92n4b8.js → filesystem-fcv5vf6w.js} +24 -24
  144. package/dist/chunks/{vcs-a3ftg8j6.js → filesystem-fdms3n6w.js} +9 -9
  145. package/dist/chunks/{vcs-fdv30zvt.js → filesystem-fdv30zvt.js} +1 -1
  146. package/dist/chunks/{vcs-dmxkarkb.js → filesystem-fkdphn1c.js} +22 -22
  147. package/dist/chunks/{vcs-zk9jfaqz.js → filesystem-fph97qbf.js} +15 -15
  148. package/dist/chunks/{vcs-698nh4g1.js → filesystem-fwm7j62e.js} +15 -15
  149. package/dist/chunks/{vcs-fxbjtjnd.js → filesystem-fxbjtjnd.js} +1 -1
  150. package/dist/chunks/{vcs-cq37gk0t.js → filesystem-fxqygnfa.js} +4 -4
  151. package/dist/chunks/{vcs-spe3g0hp.js → filesystem-g0xmyw3h.js} +179 -179
  152. package/dist/chunks/{vcs-87ghn5kx.js → filesystem-g8sqxk2y.js} +5 -5
  153. package/dist/chunks/{vcs-sme2kac2.js → filesystem-gach115v.js} +29 -29
  154. package/dist/chunks/{vcs-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{vcs-n2rc481p.js → filesystem-gmv9h3vn.js} +32 -32
  156. package/dist/chunks/{vcs-2cdg16k9.js → filesystem-gn50vh93.js} +3 -3
  157. package/dist/chunks/{vcs-gv6a8nnw.js → filesystem-gv6a8nnw.js} +2 -2
  158. package/dist/chunks/filesystem-gyce5qg1.js +18 -0
  159. package/dist/chunks/{vcs-y346bt7s.js → filesystem-gyrsatny.js} +3 -3
  160. package/dist/chunks/{vcs-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{vcs-ew7chs6w.js → filesystem-hg5xz5jt.js} +30 -30
  162. package/dist/chunks/{vcs-apevh53r.js → filesystem-hgxzff7j.js} +18 -18
  163. package/dist/chunks/{vcs-sbrmgv3y.js → filesystem-hh2qayf7.js} +23 -23
  164. package/dist/chunks/{vcs-kgtte2k4.js → filesystem-hhf3paha.js} +25 -25
  165. package/dist/chunks/{vcs-45xbaj3v.js → filesystem-hq8hx04p.js} +10 -10
  166. package/dist/chunks/{vcs-dc8pdabb.js → filesystem-hv6jfmhd.js} +10 -10
  167. package/dist/chunks/{vcs-etazx9r2.js → filesystem-hxyzw3m3.js} +13 -13
  168. package/dist/chunks/{vcs-hv00q5g0.js → filesystem-j0x8q95g.js} +25 -25
  169. package/dist/chunks/{vcs-9cze0bjq.js → filesystem-j41a475f.js} +8 -8
  170. package/dist/chunks/{vcs-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
  171. package/dist/chunks/filesystem-j7fam3f6.js +492 -0
  172. package/dist/chunks/{vcs-q2b1ymqp.js → filesystem-j83byb14.js} +4 -4
  173. package/dist/chunks/{vcs-cfgw6j6z.js → filesystem-j8v09z9q.js} +3 -3
  174. package/dist/chunks/{vcs-01m6t6a9.js → filesystem-j9p9na99.js} +23 -23
  175. package/dist/chunks/{vcs-ebym5fch.js → filesystem-jcqz60n0.js} +8 -8
  176. package/dist/chunks/{vcs-13q063b0.js → filesystem-jxahb5yh.js} +18 -18
  177. package/dist/chunks/{vcs-envqdpax.js → filesystem-k0jqx04v.js} +13 -13
  178. package/dist/chunks/{vcs-nzks3jc8.js → filesystem-k3c624dm.js} +3 -3
  179. package/dist/chunks/{vcs-72n6j39c.js → filesystem-kf5cf4rp.js} +12 -12
  180. package/dist/chunks/{vcs-4qacd19w.js → filesystem-kkz8m0yr.js} +5 -5
  181. package/dist/chunks/{vcs-mmr7bq34.js → filesystem-knb7evpn.js} +8 -8
  182. package/dist/chunks/{vcs-06zrjgay.js → filesystem-kt6frfpb.js} +12 -12
  183. package/dist/chunks/{vcs-mhg46e0p.js → filesystem-kv00n2m3.js} +37 -37
  184. package/dist/chunks/{vcs-a8bn8zg0.js → filesystem-kvvk39gs.js} +4 -4
  185. package/dist/chunks/{vcs-wqteacnb.js → filesystem-kx6qvt0d.js} +85 -85
  186. package/dist/chunks/{vcs-1axrxgdc.js → filesystem-kxyf5z7e.js} +25 -25
  187. package/dist/chunks/{vcs-ke3jsz6r.js → filesystem-kz12prak.js} +28 -28
  188. package/dist/chunks/{vcs-2t103h6b.js → filesystem-kz9hmqfp.js} +22 -22
  189. package/dist/chunks/{vcs-e7710hd6.js → filesystem-m28tfe1w.js} +8 -8
  190. package/dist/chunks/{vcs-m3fdjcah.js → filesystem-m3fdjcah.js} +1 -1
  191. package/dist/chunks/{vcs-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{vcs-379sbzbq.js → filesystem-mkjc2x20.js} +24 -24
  193. package/dist/chunks/{vcs-ry85pwrz.js → filesystem-mx4xx2gt.js} +11 -11
  194. package/dist/chunks/{vcs-hmkrxbsd.js → filesystem-my3wv6m6.js} +1 -1
  195. package/dist/chunks/{vcs-6knq39fp.js → filesystem-n0anbbxx.js} +6 -6
  196. package/dist/chunks/{vcs-ww2ppt95.js → filesystem-n7fr6eaa.js} +10 -10
  197. package/dist/chunks/{vcs-1vx51w1w.js → filesystem-nabsnkhp.js} +18 -18
  198. package/dist/chunks/{vcs-wczd338b.js → filesystem-naqr419p.js} +36 -36
  199. package/dist/chunks/{vcs-n6gjtqa4.js → filesystem-nftssr05.js} +29 -29
  200. package/dist/chunks/{vcs-wvyg63f2.js → filesystem-nj1jmg1n.js} +24 -24
  201. package/dist/chunks/{vcs-wz7c3pjz.js → filesystem-npyp5404.js} +13 -13
  202. package/dist/chunks/{vcs-nq7qbqzc.js → filesystem-nq7qbqzc.js} +2 -2
  203. package/dist/chunks/{vcs-8ta8hfpz.js → filesystem-ntzng88s.js} +17 -17
  204. package/dist/chunks/{vcs-0f9afca0.js → filesystem-nxhqveyz.js} +5 -5
  205. package/dist/chunks/{vcs-phstrbs2.js → filesystem-p37cw4rj.js} +8 -8
  206. package/dist/chunks/{vcs-ds81ph87.js → filesystem-p5bq8rdg.js} +15 -15
  207. package/dist/chunks/{vcs-anq7mq7z.js → filesystem-p9agemf7.js} +16 -16
  208. package/dist/chunks/{vcs-6r81f25e.js → filesystem-p9b38jtj.js} +18 -18
  209. package/dist/chunks/{vcs-3h1vqtm7.js → filesystem-p9za4yg2.js} +45 -45
  210. package/dist/chunks/{vcs-fam871qv.js → filesystem-phsc1w3k.js} +10 -10
  211. package/dist/chunks/{vcs-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
  212. package/dist/chunks/{vcs-pknna89w.js → filesystem-pknna89w.js} +1 -1
  213. package/dist/chunks/{vcs-pj7by5mk.js → filesystem-pmd7yqw7.js} +65 -65
  214. package/dist/chunks/{vcs-173jzaqb.js → filesystem-q1fascv8.js} +44 -44
  215. package/dist/chunks/{vcs-wepc9txd.js → filesystem-q2j4f1zm.js} +17 -17
  216. package/dist/chunks/{vcs-d7r387ef.js → filesystem-q5xvhvda.js} +6 -6
  217. package/dist/chunks/{vcs-amnjnv1s.js → filesystem-q6ymfnrf.js} +38 -38
  218. package/dist/chunks/{vcs-5xhftgj4.js → filesystem-qccxgcpc.js} +23 -23
  219. package/dist/chunks/{vcs-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
  220. package/dist/chunks/{vcs-c765mh8b.js → filesystem-r2m716tb.js} +5 -5
  221. package/dist/chunks/{vcs-h9ynannw.js → filesystem-r5fcph48.js} +4 -4
  222. package/dist/chunks/{vcs-3664dkb2.js → filesystem-rbss9r2b.js} +37 -37
  223. package/dist/chunks/{vcs-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{vcs-t9a3q6q8.js → filesystem-rf5ee5k8.js} +3 -3
  225. package/dist/chunks/{vcs-wprfv400.js → filesystem-rqb0n6yh.js} +32 -32
  226. package/dist/chunks/{vcs-x8h0pz8m.js → filesystem-rxp0wtye.js} +12 -12
  227. package/dist/chunks/{vcs-w4wvvbc4.js → filesystem-rz0q65aw.js} +5 -5
  228. package/dist/chunks/{vcs-vbsshj49.js → filesystem-s4cf8d9e.js} +18 -18
  229. package/dist/chunks/{vcs-71rwez9w.js → filesystem-s85vttx4.js} +11 -11
  230. package/dist/chunks/{vcs-a3r4dcrj.js → filesystem-s8610hey.js} +2 -2
  231. package/dist/chunks/{vcs-q9t0j652.js → filesystem-sdcae30b.js} +16 -16
  232. package/dist/chunks/{vcs-7k1t81qn.js → filesystem-sjwvt0mt.js} +24 -24
  233. package/dist/chunks/{vcs-e34xd838.js → filesystem-sm456w7t.js} +8 -8
  234. package/dist/chunks/{vcs-cvv1tyh9.js → filesystem-sra6vpz2.js} +7 -7
  235. package/dist/chunks/filesystem-stfvhx3k.js +26 -0
  236. package/dist/chunks/{vcs-5qkxfyep.js → filesystem-sv3vsz9b.js} +6 -6
  237. package/dist/chunks/{vcs-mk3kndb3.js → filesystem-sy1fbdna.js} +29 -29
  238. package/dist/chunks/{vcs-59gxncmk.js → filesystem-t37zfa8g.js} +19 -19
  239. package/dist/chunks/{vcs-jphrr7s4.js → filesystem-t4bjqpgv.js} +20 -20
  240. package/dist/chunks/{vcs-nqyhrfcc.js → filesystem-t9d84gp7.js} +4 -4
  241. package/dist/chunks/{vcs-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
  242. package/dist/chunks/{vcs-p28j5sbe.js → filesystem-tbz0fdvh.js} +5 -5
  243. package/dist/chunks/{vcs-tdstcens.js → filesystem-tdstcens.js} +1 -1
  244. package/dist/chunks/{vcs-8jf52wdv.js → filesystem-tt62rdgt.js} +6 -6
  245. package/dist/chunks/{vcs-tvtrv512.js → filesystem-tvtrv512.js} +1 -1
  246. package/dist/chunks/{vcs-ykmdpqna.js → filesystem-v06sarth.js} +1 -1
  247. package/dist/chunks/{vcs-y5df08dr.js → filesystem-v4qfxnag.js} +12 -12
  248. package/dist/chunks/{vcs-05ne224h.js → filesystem-vbf83gs2.js} +30 -30
  249. package/dist/chunks/{vcs-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
  250. package/dist/chunks/{vcs-2hkvphhc.js → filesystem-vhkhvjwk.js} +5 -5
  251. package/dist/chunks/{vcs-7m2tq7cp.js → filesystem-vke0fqjh.js} +12 -12
  252. package/dist/chunks/{vcs-ycjb11n5.js → filesystem-vvccsdf3.js} +6 -6
  253. package/dist/chunks/{vcs-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{vcs-5c0f1prt.js → filesystem-w1k39n5e.js} +4 -4
  255. package/dist/chunks/{vcs-zg00w177.js → filesystem-w1k85dh4.js} +85 -85
  256. package/dist/chunks/{vcs-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{vcs-wd87259q.js → filesystem-wd87259q.js} +1 -1
  258. package/dist/chunks/{vcs-1c63232t.js → filesystem-wjcmd9cz.js} +8 -8
  259. package/dist/chunks/{vcs-mdkr6fq5.js → filesystem-wjv5e24e.js} +20 -20
  260. package/dist/chunks/{vcs-4qqvttyb.js → filesystem-wk75wp36.js} +9 -9
  261. package/dist/chunks/{vcs-ybhbtxjg.js → filesystem-wqkncbjv.js} +3 -3
  262. package/dist/chunks/{vcs-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{vcs-8ctj0vet.js → filesystem-x232yfz7.js} +46 -46
  264. package/dist/chunks/{vcs-j23gxyft.js → filesystem-x6ce0q15.js} +13 -13
  265. package/dist/chunks/{vcs-5gh21e1w.js → filesystem-xcpdqaxy.js} +2 -2
  266. package/dist/chunks/{vcs-tyg3r6mh.js → filesystem-xhezqp3k.js} +4 -4
  267. package/dist/chunks/{vcs-a8zr1srk.js → filesystem-xn9jxgmv.js} +8 -8
  268. package/dist/chunks/{vcs-z2fmrg3w.js → filesystem-xyw3gjcr.js} +32 -32
  269. package/dist/chunks/{vcs-p70617b8.js → filesystem-xz670hkz.js} +32 -32
  270. package/dist/chunks/{vcs-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{vcs-ve62qrz7.js → filesystem-y1p4t30v.js} +5 -5
  272. package/dist/chunks/{vcs-m42kpekn.js → filesystem-y46yp9kd.js} +40 -40
  273. package/dist/chunks/{vcs-y71avatq.js → filesystem-y71avatq.js} +1 -1
  274. package/dist/chunks/{vcs-r8xr0va3.js → filesystem-yp2x3t23.js} +4 -4
  275. package/dist/chunks/{vcs-yrhqyw5v.js → filesystem-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{vcs-yrznvahk.js → filesystem-yrznvahk.js} +2 -2
  277. package/dist/chunks/{vcs-fb101560.js → filesystem-yx0hjtqq.js} +17 -17
  278. package/dist/chunks/{vcs-gn9g1pwf.js → filesystem-yzpfhxvz.js} +27 -27
  279. package/dist/chunks/{vcs-0w296mef.js → filesystem-z014qaxe.js} +17 -17
  280. package/dist/chunks/{vcs-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{vcs-z63w68vq.js → filesystem-z63w68vq.js} +2 -2
  282. package/dist/chunks/{vcs-bfwdkgar.js → filesystem-z97hzn0m.js} +16 -16
  283. package/dist/chunks/{vcs-z2ghjjem.js → filesystem-zanfrvrm.js} +3 -3
  284. package/dist/chunks/{vcs-zeh9ct20.js → filesystem-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{vcs-wjwsazx2.js → filesystem-zgjxrtm7.js} +20 -20
  286. package/dist/chunks/{vcs-kvdph0hb.js → filesystem-zn99htb6.js} +3 -3
  287. package/dist/chunks/{vcs-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{vcs-jw7qx2m6.js → filesystem-zvayce75.js} +4 -4
  289. package/dist/chunks/{vcs-zxq2ej10.js → filesystem-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 +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +80 -80
  295. package/dist/config/discovery.js +83 -83
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +124 -124
  299. package/dist/config/plugin/command.js +213 -213
  300. package/dist/config/plugin/compaction.js +161 -161
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +124 -124
  307. package/dist/config/plugin/mcp.js +131 -131
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +124 -124
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +141 -141
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +121 -121
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +123 -123
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +123 -123
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +368 -368
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +1 -1
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +69 -69
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +4 -4
  423. package/dist/filesystem/location-watcher.js +226 -226
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +107 -107
  429. package/dist/form.js +85 -85
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +104 -104
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +98 -98
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +359 -359
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +131 -131
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +356 -356
  471. package/dist/location.js +84 -84
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +107 -107
  474. package/dist/mcp/instructions.js +125 -125
  475. package/dist/mcp/oauth.js +77 -77
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +98 -98
  479. package/dist/model-resolver.js +97 -97
  480. package/dist/model.js +99 -99
  481. package/dist/models-dev.js +100 -100
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +79 -79
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +110 -110
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +87 -87
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +103 -103
  492. package/dist/plugin/command.js +100 -100
  493. package/dist/plugin/compaction.js +132 -132
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +217 -217
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +330 -330
  499. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  500. package/dist/plugin/models-dev.js +95 -95
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +101 -101
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  506. package/dist/plugin/provider/azure.js +121 -121
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +118 -118
  512. package/dist/plugin/provider/digitalocean.js +92 -92
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +92 -92
  517. package/dist/plugin/provider/gitlab.js +90 -90
  518. package/dist/plugin/provider/google-vertex.js +89 -89
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +76 -76
  521. package/dist/plugin/provider/lmstudio.js +121 -121
  522. package/dist/plugin/provider/modal.js +91 -91
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +121 -121
  525. package/dist/plugin/provider/openai.js +93 -93
  526. package/dist/plugin/provider/opencode.js +92 -92
  527. package/dist/plugin/provider/openrouter.js +90 -90
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  531. package/dist/plugin/provider/sap-ai-core.js +90 -90
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +89 -89
  536. package/dist/plugin/provider/vllm.js +121 -121
  537. package/dist/plugin/provider/xai.js +90 -90
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +158 -158
  540. package/dist/plugin/sdk.js +75 -75
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +140 -140
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +349 -349
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +85 -85
  548. package/dist/plugin/vcs/hg.js +85 -85
  549. package/dist/plugin/warming.js +120 -120
  550. package/dist/plugin/websearch/exa.js +7 -7
  551. package/dist/plugin/websearch/firecrawl.js +6 -6
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +6 -6
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +6 -6
  557. package/dist/plugin.js +226 -226
  558. package/dist/project/schema.js +2 -2
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +85 -85
  561. package/dist/provider.js +100 -100
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/schema.js +3 -3
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +95 -95
  566. package/dist/reference/instructions.js +88 -88
  567. package/dist/reference.js +88 -88
  568. package/dist/repository-cache.js +80 -80
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +96 -96
  572. package/dist/rpc.js +85 -85
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +73 -73
  575. package/dist/session/compaction.js +127 -127
  576. package/dist/session/context.js +151 -151
  577. package/dist/session/diff.js +87 -87
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +3 -3
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +220 -220
  582. package/dist/session/execution.js +125 -125
  583. package/dist/session/generate.js +152 -152
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +89 -89
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +76 -76
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +96 -96
  590. package/dist/session/message-updater.js +4 -4
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +118 -118
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +129 -129
  595. package/dist/session/projector.js +85 -85
  596. package/dist/session/prompt.js +104 -104
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +89 -89
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +230 -230
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +97 -97
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +113 -113
  606. package/dist/session/runner/step.js +125 -125
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +169 -169
  610. package/dist/session/shell.js +137 -137
  611. package/dist/session/skill.js +102 -102
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +72 -72
  614. package/dist/session/store.js +84 -84
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +209 -209
  617. package/dist/session/system-prompt.js +5 -5
  618. package/dist/session/title.js +155 -155
  619. package/dist/session/to-session-error.js +110 -110
  620. package/dist/session/transfer.js +216 -216
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +217 -217
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +13 -13
  627. package/dist/shell.js +139 -139
  628. package/dist/skill/discovery.js +2 -2
  629. package/dist/skill/instructions.js +106 -106
  630. package/dist/skill.js +111 -111
  631. package/dist/snapshot.js +86 -86
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +122 -122
  636. package/dist/tool/plugin/edit.js +119 -119
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +123 -123
  639. package/dist/tool/plugin/grep.js +123 -123
  640. package/dist/tool/plugin/opencode.js +3 -3
  641. package/dist/tool/plugin/patch.js +121 -121
  642. package/dist/tool/plugin/question.js +104 -104
  643. package/dist/tool/plugin/read.js +124 -124
  644. package/dist/tool/plugin/shell.js +216 -216
  645. package/dist/tool/plugin/skill.js +112 -112
  646. package/dist/tool/plugin/subagent.js +218 -218
  647. package/dist/tool/plugin/webfetch.js +109 -109
  648. package/dist/tool/plugin/websearch.js +111 -111
  649. package/dist/tool/plugin/write.js +121 -121
  650. package/dist/tool/read-filesystem.js +99 -99
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +8 -8
  653. package/dist/tool.js +16 -16
  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 +1 -1
  666. package/dist/v1/config/config.js +14 -14
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/formatter.js +5 -5
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +3 -3
  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/variant.js +90 -90
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +88 -88
  683. package/dist/websearch.js +83 -83
  684. package/dist/wellknown/plugin.js +75 -75
  685. package/dist/wellknown.js +76 -76
  686. package/dist/workspace/driver.js +5 -5
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +79 -79
  689. package/dist/worktree/directory.js +2 -2
  690. package/dist/worktree/git.js +10 -10
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree/strategies.js +88 -88
  693. package/dist/worktree.js +95 -95
  694. package/package.json +8 -8
  695. package/dist/chunks/vcs-50hbbtx8.js +0 -26
  696. package/dist/chunks/vcs-619r8v3y.js +0 -18
  697. package/dist/chunks/vcs-bgsd6ce6.js +0 -492
  698. package/dist/chunks/vcs-qapv375x.js +0 -4
  699. package/dist/chunks/vcs-wcr4e3c6.js +0 -252
  700. /package/dist/chunks/{vcs-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{vcs-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{vcs-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{vcs-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{vcs-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{vcs-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{vcs-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{vcs-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{vcs-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{vcs-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{vcs-3asan66x.js → filesystem-3asan66x.js} +0 -0
  711. /package/dist/chunks/{vcs-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{vcs-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{vcs-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{vcs-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{vcs-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{vcs-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{vcs-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{vcs-53557ph1.js → filesystem-53557ph1.js} +0 -0
  719. /package/dist/chunks/{vcs-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{vcs-5qd3pb7m.js → filesystem-5qd3pb7m.js} +0 -0
  721. /package/dist/chunks/{vcs-6prwharc.js → filesystem-6prwharc.js} +0 -0
  722. /package/dist/chunks/{vcs-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{vcs-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{vcs-822emrt2.js → filesystem-822emrt2.js} +0 -0
  725. /package/dist/chunks/{vcs-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{vcs-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{vcs-922hggd3.js → filesystem-922hggd3.js} +0 -0
  728. /package/dist/chunks/{vcs-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{vcs-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{vcs-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{vcs-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{vcs-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{vcs-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{vcs-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{vcs-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{vcs-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{vcs-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{vcs-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{vcs-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{vcs-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{vcs-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{vcs-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{vcs-df08tz66.js → filesystem-df08tz66.js} +0 -0
  744. /package/dist/chunks/{vcs-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{vcs-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{vcs-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{vcs-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{vcs-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{vcs-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{vcs-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{vcs-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{vcs-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{vcs-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{vcs-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
  755. /package/dist/chunks/{vcs-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{vcs-g86h250q.js → filesystem-g86h250q.js} +0 -0
  757. /package/dist/chunks/{vcs-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{vcs-gftt206x.js → filesystem-gftt206x.js} +0 -0
  759. /package/dist/chunks/{vcs-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
  760. /package/dist/chunks/{vcs-hk9envan.js → filesystem-hk9envan.js} +0 -0
  761. /package/dist/chunks/{vcs-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{vcs-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{vcs-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{vcs-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{vcs-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{vcs-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{vcs-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{vcs-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{vcs-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{vcs-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{vcs-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{vcs-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{vcs-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{vcs-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{vcs-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{vcs-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{vcs-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{vcs-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{vcs-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{vcs-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{vcs-sk3qaz4a.js → filesystem-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{vcs-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{vcs-twg0f83k.js → filesystem-twg0f83k.js} +0 -0
  784. /package/dist/chunks/{vcs-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{vcs-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{vcs-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{vcs-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{vcs-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{vcs-x61499pn.js → filesystem-x61499pn.js} +0 -0
  790. /package/dist/chunks/{vcs-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{vcs-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{vcs-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{vcs-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{vcs-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{vcs-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
4
  empty3,
5
5
  make20,
6
6
  diffByKey2
7
- } from "./vcs-rhjbct0v.js";
7
+ } from "./filesystem-02nrjc1r.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./vcs-9waxhxyt.js";
10
+ } from "./filesystem-13qzbekt.js";
11
11
  import {
12
- Service34,
13
- node38
14
- } from "./vcs-hmgqkarr.js";
12
+ Service30,
13
+ node33
14
+ } from "./filesystem-4waxsa04.js";
15
15
  import {
16
16
  namespace2,
17
- name13
18
- } from "./vcs-5wdaxb8f.js";
17
+ name14
18
+ } from "./filesystem-e06sw8n6.js";
19
19
  import {
20
20
  __export
21
- } from "./vcs-9rqn6x4v.js";
21
+ } from "./filesystem-9rqn6x4v.js";
22
22
 
23
23
  // src/mcp/instructions.ts
24
24
  var exports_instructions2 = {};
25
25
  __export(exports_instructions2, {
26
26
  McpInstructions: () => exports_instructions2,
27
- Service: () => Service28,
28
- layer: () => layer11,
29
- node: () => node31
27
+ Service: () => Service24,
28
+ layer: () => layer10,
29
+ node: () => node26
30
30
  });
31
31
  import { makeLocationNode } from "@opencode/util/effect/app-node";
32
32
  import { Context, Effect, Layer, Schema } from "effect";
@@ -62,17 +62,17 @@ var update = (previous, current) => {
62
62
  `);
63
63
  };
64
64
 
65
- class Service28 extends Context.Service()("@opencode/McpInstructions") {
65
+ class Service24 extends Context.Service()("@opencode/McpInstructions") {
66
66
  }
67
- var layer11 = Layer.effect(Service28, Effect.gen(function* () {
68
- const mcp = yield* Service34;
69
- return Service28.of({
67
+ var layer10 = Layer.effect(Service24, Effect.gen(function* () {
68
+ const mcp = yield* Service30;
69
+ return Service24.of({
70
70
  load: Effect.fn("McpInstructions.load")(function* (selection) {
71
71
  const agent = selection.info;
72
72
  if (!agent)
73
73
  return empty3;
74
74
  const source = (value) => make20({
75
- key: Key3.make("core/mcp-guidance"),
75
+ key: Key4.make("core/mcp-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(value),
78
78
  render: {
@@ -90,7 +90,7 @@ var layer11 = Layer.effect(Service28, 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 layer11 = Layer.effect(Service28, Effect.gen(function* () {
100
100
  })
101
101
  });
102
102
  }));
103
- var node31 = makeLocationNode({ service: Service28, layer: layer11, deps: [node38] });
103
+ var node26 = makeLocationNode({ service: Service24, layer: layer10, deps: [node33] });
104
104
 
105
- export { Service28, layer11, node31, exports_instructions2 };
105
+ export { Service24, layer10, node26, exports_instructions2 };
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./vcs-tazgh4e4.js";
10
+ } from "./filesystem-tazgh4e4.js";
11
11
  import {
12
- Service79
13
- } from "./vcs-2djq4902.js";
12
+ Service77
13
+ } from "./filesystem-46p5v0nr.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./vcs-wjwsazx2.js";
16
+ } from "./filesystem-zgjxrtm7.js";
17
17
  import {
18
18
  __export
19
- } from "./vcs-9rqn6x4v.js";
19
+ } from "./filesystem-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin35,
24
+ Plugin: () => Plugin6,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin35 = define({
33
+ var Plugin6 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service79;
36
+ const location = yield* Service77;
37
37
  if (location.vcs?.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
188
188
  return { status, diff, branch, ancestor, cat };
189
189
  }
190
190
 
191
- export { Plugin35, exports_hg };
191
+ export { Plugin6, exports_hg };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./vcs-gftt206x.js";
3
+ } from "./filesystem-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./vcs-jexxy024.js";
6
+ } from "./filesystem-2f04pwep.js";
7
7
  import {
8
8
  __export
9
- } from "./vcs-9rqn6x4v.js";
9
+ } from "./filesystem-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
12
  var exports_error2 = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./vcs-922hggd3.js";
3
+ } from "./filesystem-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service43
7
- } from "./vcs-m42kpekn.js";
6
+ Service42
7
+ } from "./filesystem-y46yp9kd.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./vcs-2a5m3afh.js";
10
+ } from "./filesystem-2a5m3afh.js";
11
11
  import {
12
- Service57
13
- } from "./vcs-379sbzbq.js";
12
+ Service62
13
+ } from "./filesystem-mkjc2x20.js";
14
14
  import {
15
- Service69
16
- } from "./vcs-fb101560.js";
15
+ Service66
16
+ } from "./filesystem-yx0hjtqq.js";
17
17
  import {
18
- Service64
19
- } from "./vcs-9waxhxyt.js";
18
+ Service69
19
+ } from "./filesystem-13qzbekt.js";
20
20
  import {
21
- Service23,
21
+ Service68,
22
22
  resolvePath2
23
- } from "./vcs-whenjg63.js";
23
+ } from "./filesystem-erm9gs1m.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./vcs-fxbjtjnd.js";
29
+ } from "./filesystem-fxbjtjnd.js";
30
30
  import {
31
- Service46,
31
+ Service81,
32
32
  name15
33
- } from "./vcs-s1pxbdt0.js";
33
+ } from "./filesystem-24s8e1ye.js";
34
34
  import {
35
- NotFoundError6,
36
- Service41
37
- } from "./vcs-3h1vqtm7.js";
35
+ NotFoundError4,
36
+ Service39
37
+ } from "./filesystem-p9za4yg2.js";
38
38
  import {
39
- Service24
40
- } from "./vcs-wqteacnb.js";
39
+ Service19
40
+ } from "./filesystem-kx6qvt0d.js";
41
41
  import {
42
42
  scan2
43
- } from "./vcs-tyg3r6mh.js";
43
+ } from "./filesystem-xhezqp3k.js";
44
44
  import {
45
45
  __export
46
- } from "./vcs-9rqn6x4v.js";
46
+ } from "./filesystem-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input2,
53
- Plugin: () => Plugin3,
54
- ShellTool: () => exports_shell,
55
- name: () => name2
52
+ Input: () => Input12,
53
+ Plugin: () => Plugin47,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name12
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name2 = "shell";
59
+ var name12 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input2 = Schema.Struct({
73
+ var Input12 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin3 = {
118
+ var Plugin47 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service24;
122
- const jobs = yield* Service69;
121
+ const sessions = yield* Service19;
122
+ const jobs = yield* Service66;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service57;
125
- const access = yield* Service23;
126
- const shell = yield* Service41;
127
- const shellSelect = yield* Service46;
124
+ const environment = yield* Service62;
125
+ const access = yield* Service68;
126
+ const shell = yield* Service39;
127
+ const shellSelect = yield* Service81;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service64;
130
- const config = yield* Service43;
129
+ const permission = yield* Service69;
130
+ const config = yield* Service42;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin3 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name2,
149
+ action: name12,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin3 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name2,
186
+ name: name12,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input2,
189
+ input: Input12,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin3 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError6({ id: info.id });
208
+ return yield* new NotFoundError4({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name2,
222
+ type: name12,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name2];
252
+ const tool = event.tools[name12];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin3, exports_shell };
263
+ export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin47, exports_shell2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service43
3
- } from "./vcs-m42kpekn.js";
2
+ Service42
3
+ } from "./filesystem-y46yp9kd.js";
4
4
  import {
5
- Service34
6
- } from "./vcs-hmgqkarr.js";
5
+ Service30
6
+ } from "./filesystem-4waxsa04.js";
7
7
  import {
8
8
  __export
9
- } from "./vcs-9rqn6x4v.js";
9
+ } from "./filesystem-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
- var exports_mcp = {};
13
- __export(exports_mcp, {
14
- ConfigMcpPlugin: () => exports_mcp,
15
- Plugin: () => Plugin27,
12
+ var exports_mcp2 = {};
13
+ __export(exports_mcp2, {
14
+ ConfigMcpPlugin: () => exports_mcp2,
15
+ Plugin: () => Plugin28,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin27 = define({
20
+ var Plugin28 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service43;
28
- const mcp = yield* Service34;
27
+ const config = yield* Service42;
28
+ const mcp = yield* Service30;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin27, register2, exports_mcp };
49
+ export { Plugin28, register2, exports_mcp2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./vcs-emrn6kk6.js";
4
+ } from "./filesystem-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./vcs-cvv1tyh9.js";
7
+ } from "./filesystem-sra6vpz2.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ps2
3
- } from "./vcs-s1pxbdt0.js";
3
+ } from "./filesystem-24s8e1ye.js";
4
4
  import {
5
5
  lazy2
6
- } from "./vcs-88xbtdfr.js";
6
+ } from "./filesystem-88xbtdfr.js";
7
7
  import {
8
8
  match2
9
- } from "./vcs-y1fvbwt7.js";
9
+ } from "./filesystem-y1fvbwt7.js";
10
10
  import {
11
11
  __export
12
- } from "./vcs-9rqn6x4v.js";
12
+ } from "./filesystem-9rqn6x4v.js";
13
13
 
14
14
  // src/shell/parse.ts
15
15
  var exports_parse = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./vcs-922hggd3.js";
3
+ } from "./filesystem-922hggd3.js";
4
4
  import {
5
- Info12
6
- } from "./vcs-a8bn8zg0.js";
5
+ Info9
6
+ } from "./filesystem-kvvk39gs.js";
7
7
  import {
8
8
  __export
9
- } from "./vcs-9rqn6x4v.js";
9
+ } from "./filesystem-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: () => Info11
15
+ Info: () => Info8
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(Info12)
47
+ permission: Schema.optional(Info9)
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 Info11 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info8 = 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 { Info11, exports_agent3 };
74
+ export { Info8, exports_agent3 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./vcs-922hggd3.js";
3
+ } from "./filesystem-922hggd3.js";
4
4
  import {
5
- Service79,
6
- node83
7
- } from "./vcs-2djq4902.js";
5
+ Service77,
6
+ node81
7
+ } from "./filesystem-46p5v0nr.js";
8
8
  import {
9
- Service17,
10
- node20
11
- } from "./vcs-78ht92vq.js";
9
+ Service61,
10
+ node64
11
+ } from "./filesystem-eyckedmf.js";
12
12
  import {
13
13
  isHome2,
14
- names3
15
- } from "./vcs-tcezcvh9.js";
14
+ names4
15
+ } from "./filesystem-89znhe33.js";
16
16
  import {
17
17
  __export
18
- } from "./vcs-9rqn6x4v.js";
18
+ } from "./filesystem-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options3,
25
- Service: () => Service15,
26
- configured: () => configured3,
24
+ Options: () => Options8,
25
+ Service: () => Service60,
26
+ configured: () => configured8,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer9,
29
- node: () => node17,
28
+ layer: () => layer23,
29
+ node: () => node63,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options3 = Schema.Struct({
38
+ var Options8 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service15 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service60 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
62
- const location = yield* Service79;
63
- const ripgrep = yield* Service17;
61
+ var ripgrepLayer2 = Layer.effect(Service60, Effect.gen(function* () {
62
+ const location = yield* Service77;
63
+ const ripgrep = yield* Service61;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
77
77
  cwd: location.directory,
78
78
  pattern: "*",
79
79
  limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
80
- exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
80
+ exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
81
81
  onEntry: (entry) => Effect.sync(() => {
82
82
  next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
83
83
  const parts = entry.path.split("/");
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service15.of({
108
+ return Service60.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
116
- const location = yield* Service79;
115
+ var fffLayer2 = Layer.effect(Service60, Effect.gen(function* () {
116
+ const location = yield* Service77;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service15.of({
129
+ return Service60.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service15.of({
134
+ return Service60.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service79;
177
+ var layer23 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service77;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured3(options) {
186
- return makeLocationNode({ service: Service15, layer: layer9(options), deps: [node83, node20] });
185
+ function configured8(options) {
186
+ return makeLocationNode({ service: Service60, layer: layer23(options), deps: [node81, node64] });
187
187
  }
188
- var node17 = configured3();
188
+ var node63 = configured8();
189
189
 
190
- export { Options3, Service15, ripgrepLayer2, fffLayer2, layer9, configured3, node17, exports_search };
190
+ export { Options8, Service60, ripgrepLayer2, fffLayer2, layer23, configured8, node63, exports_search };