@opencode/core 0.0.0-dev-19352 → 0.0.0-dev-19358

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +81 -81
  8. package/dist/chunks/{vcs-g9vt8npf.js → command-04rtynqt.js} +20 -20
  9. package/dist/chunks/{vcs-md4p8jx7.js → command-06wjbj88.js} +16 -16
  10. package/dist/chunks/{vcs-5vb9gjps.js → command-070a9e04.js} +38 -38
  11. package/dist/chunks/{vcs-89aakzzy.js → command-0btf9jkj.js} +4 -4
  12. package/dist/chunks/{vcs-0paq2nw3.js → command-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{vcs-0q0f95c6.js → command-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{vcs-f15kpgz7.js → command-0w6bwpjx.js} +36 -36
  15. package/dist/chunks/{vcs-5k606f7k.js → command-138p5ddt.js} +24 -24
  16. package/dist/chunks/{vcs-fhgv8s92.js → command-13mzqdtz.js} +14 -14
  17. package/dist/chunks/{vcs-q35rmx0b.js → command-15n42rft.js} +37 -37
  18. package/dist/chunks/{vcs-4vt5pay0.js → command-19av3p62.js} +10 -10
  19. package/dist/chunks/{vcs-d216944b.js → command-19vf66h0.js} +7 -7
  20. package/dist/chunks/{vcs-1dazxqgg.js → command-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{vcs-1dfhrqqs.js → command-1dfhrqqs.js} +2 -2
  22. package/dist/chunks/{vcs-r9babyk8.js → command-1wxb385z.js} +1 -1
  23. package/dist/chunks/{vcs-21r38tys.js → command-21r38tys.js} +1 -1
  24. package/dist/chunks/{vcs-2402vzrj.js → command-2402vzrj.js} +1 -1
  25. package/dist/chunks/{vcs-6skfy287.js → command-24w00f77.js} +29 -29
  26. package/dist/chunks/{vcs-z63w68vq.js → command-29x78va6.js} +6 -6
  27. package/dist/chunks/{vcs-2a5m3afh.js → command-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{vcs-5amwhyk8.js → command-2a7hagjp.js} +6 -6
  29. package/dist/chunks/{vcs-h2r7bbkd.js → command-2femdq6k.js} +8 -8
  30. package/dist/chunks/{vcs-jw80jp6b.js → command-2pnhn36q.js} +21 -21
  31. package/dist/chunks/{vcs-c78bbtc9.js → command-2qp6y8xf.js} +5 -5
  32. package/dist/chunks/{vcs-1rvshjc5.js → command-2rfrcgce.js} +32 -32
  33. package/dist/chunks/{vcs-3g39bars.js → command-2xe896hw.js} +290 -290
  34. package/dist/chunks/{vcs-19tkkezt.js → command-31wrjn3h.js} +16 -16
  35. package/dist/chunks/{vcs-n6x7b3rg.js → command-33xc6zn2.js} +7 -7
  36. package/dist/chunks/{vcs-nry70fe1.js → command-39q35cms.js} +20 -20
  37. package/dist/chunks/{vcs-8zsh1gfm.js → command-3eg94j8w.js} +38 -38
  38. package/dist/chunks/{vcs-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{vcs-hyxv6ya2.js → command-3kpvh92z.js} +23 -23
  40. package/dist/chunks/{vcs-npvkfe5e.js → command-3m9dzf4r.js} +1 -1
  41. package/dist/chunks/{vcs-f8x5rdn0.js → command-3nc90kmd.js} +3 -3
  42. package/dist/chunks/{vcs-3smtnn6g.js → command-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{vcs-3tvqynh2.js → command-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{vcs-ke96686p.js → command-43t6csf6.js} +17 -17
  45. package/dist/chunks/{vcs-keta4zkg.js → command-454ap3be.js} +9 -9
  46. package/dist/chunks/{vcs-x8qdq8sj.js → command-45d0vtt8.js} +6 -6
  47. package/dist/chunks/{vcs-yn3zm7tz.js → command-48q4dgm3.js} +10 -10
  48. package/dist/chunks/{vcs-jbz7verq.js → command-493vsnxm.js} +17 -17
  49. package/dist/chunks/{vcs-73c5pb4q.js → command-49grzd0n.js} +9 -9
  50. package/dist/chunks/{vcs-54n60knz.js → command-4a54se45.js} +47 -47
  51. package/dist/chunks/{vcs-7mwxg484.js → command-4bj5xf3m.js} +27 -27
  52. package/dist/chunks/{vcs-tfngb0ww.js → command-4da4ndpv.js} +4 -4
  53. package/dist/chunks/{vcs-1hda6s4f.js → command-4e5nbqbj.js} +64 -64
  54. package/dist/chunks/{vcs-gdezgtpw.js → command-4e7426jc.js} +8 -8
  55. package/dist/chunks/{vcs-n76fdqym.js → command-4mkcvr19.js} +5 -5
  56. package/dist/chunks/{vcs-1g5zcjq6.js → command-4pre3909.js} +11 -11
  57. package/dist/chunks/{vcs-s1wdsb24.js → command-4wn6b914.js} +32 -32
  58. package/dist/chunks/{vcs-1ygqh575.js → command-56gdpj1q.js} +9 -9
  59. package/dist/chunks/{vcs-vrx2x45w.js → command-59zahvaa.js} +18 -18
  60. package/dist/chunks/{vcs-5daktx2q.js → command-5daktx2q.js} +1 -1
  61. package/dist/chunks/{vcs-7w99qc9d.js → command-5epte933.js} +2 -2
  62. package/dist/chunks/{vcs-k16ay38w.js → command-5nsrms9d.js} +1 -1
  63. package/dist/chunks/{vcs-5t3nmthw.js → command-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{vcs-2e96adxv.js → command-5xp4z8zk.js} +9 -9
  65. package/dist/chunks/command-619r8v3y.js +18 -0
  66. package/dist/chunks/{vcs-669tq793.js → command-669tq793.js} +1 -1
  67. package/dist/chunks/{vcs-v33xfvcj.js → command-68xpwqwy.js} +9 -9
  68. package/dist/chunks/{vcs-618ahsfg.js → command-6c1g49x3.js} +9 -9
  69. package/dist/chunks/command-6kdq0pjd.js +4 -0
  70. package/dist/chunks/{vcs-6msgmcgs.js → command-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{vcs-ezneqf5r.js → command-6tqsccrn.js} +84 -84
  72. package/dist/chunks/{vcs-71q4at8m.js → command-71q4at8m.js} +1 -1
  73. package/dist/chunks/{vcs-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{vcs-qgn6gcr1.js → command-7dqw4kz8.js} +5 -5
  75. package/dist/chunks/{vcs-cqg8v4c7.js → command-7ebn0nc0.js} +6 -6
  76. package/dist/chunks/{vcs-ehc2ebhg.js → command-7nwrad04.js} +26 -26
  77. package/dist/chunks/{vcs-74vkx7f2.js → command-7qse0qpb.js} +26 -26
  78. package/dist/chunks/{vcs-96yt6zt0.js → command-83x6p9kd.js} +1 -1
  79. package/dist/chunks/{vcs-djgnpn76.js → command-86g4d0kj.js} +54 -54
  80. package/dist/chunks/{vcs-5c0f1prt.js → command-88sz8qcd.js} +4 -4
  81. package/dist/chunks/{vcs-ve2enx5p.js → command-89t020sf.js} +37 -37
  82. package/dist/chunks/{vcs-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{vcs-70feczxz.js → command-8ezz0qpe.js} +13 -13
  84. package/dist/chunks/{vcs-rtbqzsck.js → command-8jdy407s.js} +29 -29
  85. package/dist/chunks/{vcs-d96jyjza.js → command-8n2avc0p.js} +4 -4
  86. package/dist/chunks/{vcs-dj2t23y0.js → command-8p4f9s12.js} +2 -2
  87. package/dist/chunks/{vcs-4e2wq67s.js → command-8r7f04jj.js} +13 -13
  88. package/dist/chunks/{vcs-6d9mz4vp.js → command-8w9tvb25.js} +9 -9
  89. package/dist/chunks/{vcs-902wey3c.js → command-9139jgcd.js} +11 -11
  90. package/dist/chunks/{vcs-a08t2777.js → command-9hkkgm6z.js} +17 -17
  91. package/dist/chunks/{vcs-45f5zjr0.js → command-9maaan9b.js} +16 -16
  92. package/dist/chunks/{vcs-nt86060n.js → command-9rqme4wv.js} +22 -22
  93. package/dist/chunks/{vcs-36kdc7kz.js → command-9t5zm95t.js} +6 -6
  94. package/dist/chunks/{vcs-qy95qgmd.js → command-9td3nvch.js} +6 -6
  95. package/dist/chunks/{vcs-5rdg31a5.js → command-a02rj634.js} +15 -15
  96. package/dist/chunks/{vcs-5c4hm403.js → command-a1bz86dw.js} +3 -3
  97. package/dist/chunks/{vcs-fr23h874.js → command-a70vfxwz.js} +23 -23
  98. package/dist/chunks/{vcs-g1y4rj0e.js → command-a72wxtdj.js} +26 -26
  99. package/dist/chunks/{vcs-aaet6srn.js → command-aaet6srn.js} +2 -2
  100. package/dist/chunks/{vcs-9m45xea9.js → command-afvn2d8y.js} +18 -18
  101. package/dist/chunks/{vcs-dhp0gznk.js → command-anbsab5w.js} +30 -30
  102. package/dist/chunks/{vcs-cr07tj7n.js → command-avm8jn6n.js} +5 -5
  103. package/dist/chunks/{vcs-rabsc696.js → command-axfg0z4e.js} +15 -15
  104. package/dist/chunks/{vcs-4wnv0zcc.js → command-az9ecw0v.js} +11 -11
  105. package/dist/chunks/{vcs-errxns4n.js → command-azw47gg7.js} +48 -48
  106. package/dist/chunks/{vcs-a35dj1p0.js → command-b11rdt3w.js} +8 -8
  107. package/dist/chunks/{vcs-b3t12aqp.js → command-b3wkxfg9.js} +1 -1
  108. package/dist/chunks/{vcs-b6gygkdw.js → command-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{vcs-b40bhsbd.js → command-be4a9pdg.js} +15 -15
  110. package/dist/chunks/{vcs-v2evf2n8.js → command-bhgdfcz0.js} +11 -11
  111. package/dist/chunks/{vcs-6jtsvx81.js → command-bjy2htfa.js} +22 -22
  112. package/dist/chunks/{vcs-m27pyyd3.js → command-c7ecgrk6.js} +6 -6
  113. package/dist/chunks/{vcs-m0jqrx5p.js → command-cfpkc3c9.js} +2 -2
  114. package/dist/chunks/{vcs-3h2x8833.js → command-cmfpwhr1.js} +10 -10
  115. package/dist/chunks/{vcs-vd2x9cn1.js → command-cpj6a2aa.js} +40 -40
  116. package/dist/chunks/{vcs-px131gfx.js → command-cwj87dc4.js} +20 -20
  117. package/dist/chunks/command-d3ggx689.js +247 -0
  118. package/dist/chunks/{vcs-nyxp2xat.js → command-d5ze1g7q.js} +20 -20
  119. package/dist/chunks/{vcs-wj12b5ba.js → command-d6gjw5d8.js} +24 -24
  120. package/dist/chunks/{vcs-wk4gr677.js → command-dcf26w67.js} +18 -18
  121. package/dist/chunks/{vcs-yeyc284m.js → command-de8rrxbc.js} +7 -7
  122. package/dist/chunks/{vcs-1zeep833.js → command-dmmjs2b8.js} +10 -10
  123. package/dist/chunks/{vcs-vx19sbg3.js → command-dt88errb.js} +6 -6
  124. package/dist/chunks/{vcs-dwg9fzb4.js → command-dvqsfc3k.js} +9 -9
  125. package/dist/chunks/{vcs-2ehqxkpw.js → command-dx63s7w1.js} +18 -18
  126. package/dist/chunks/{vcs-5n03wcbn.js → command-dzcz3c2s.js} +32 -32
  127. package/dist/chunks/{vcs-6krg85z2.js → command-e7sdhxas.js} +15 -15
  128. package/dist/chunks/{vcs-hjt4xg1x.js → command-e82z9tr0.js} +7 -7
  129. package/dist/chunks/{vcs-s534qmrw.js → command-ebc7h8jh.js} +4 -4
  130. package/dist/chunks/{vcs-q43e2342.js → command-ehzj4vhg.js} +17 -17
  131. package/dist/chunks/{vcs-z69s9t6b.js → command-en74w496.js} +5 -5
  132. package/dist/chunks/{vcs-etq0c3wd.js → command-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{vcs-rhraev7y.js → command-f2n192rq.js} +4 -4
  134. package/dist/chunks/{vcs-7x2bbjma.js → command-f4pamck6.js} +15 -15
  135. package/dist/chunks/{vcs-hdnk95c8.js → command-f828m53h.js} +2 -2
  136. package/dist/chunks/{vcs-mxrt7448.js → command-farf7nq9.js} +9 -9
  137. package/dist/chunks/{vcs-c3z7fafd.js → command-fer3tpfm.js} +11 -11
  138. package/dist/chunks/{vcs-58h0vxwj.js → command-fgxdmbj2.js} +164 -164
  139. package/dist/chunks/{vcs-mmkvvxh7.js → command-fwcwebn7.js} +6 -6
  140. package/dist/chunks/{vcs-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
  141. package/dist/chunks/{vcs-gd4qta3r.js → command-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{vcs-3fc6dm20.js → command-gdvy8fx6.js} +4 -4
  143. package/dist/chunks/{vcs-e8kpt5bt.js → command-gepnxnka.js} +11 -11
  144. package/dist/chunks/{vcs-3y2x6txz.js → command-gfc9zyvq.js} +18 -18
  145. package/dist/chunks/{vcs-jjs74g98.js → command-gsx0ryk4.js} +9 -9
  146. package/dist/chunks/{vcs-fgh0kbhd.js → command-gt0cxfk7.js} +1 -1
  147. package/dist/chunks/{vcs-h03wrkyp.js → command-h03wrkyp.js} +2 -2
  148. package/dist/chunks/{vcs-d1qjzs83.js → command-h113rvhb.js} +46 -46
  149. package/dist/chunks/{vcs-h6vf3j39.js → command-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{vcs-bd1esbde.js → command-h9nzt5cp.js} +17 -17
  151. package/dist/chunks/{vcs-09w56j03.js → command-hcxgcq81.js} +7 -7
  152. package/dist/chunks/{vcs-8zs8y668.js → command-hdt6myfc.js} +25 -25
  153. package/dist/chunks/{vcs-ae01ggp0.js → command-hfdr1yjj.js} +4 -4
  154. package/dist/chunks/{vcs-wgada9a8.js → command-hgdt9556.js} +16 -16
  155. package/dist/chunks/{vcs-tsfvcx29.js → command-hh0vmts5.js} +14 -14
  156. package/dist/chunks/{vcs-xqcd7gac.js → command-hm0hsyzs.js} +42 -42
  157. package/dist/chunks/{vcs-4m2pmvxz.js → command-hwe7x4em.js} +6 -6
  158. package/dist/chunks/{vcs-r9v7jrnn.js → command-hxvm7zmc.js} +4 -4
  159. package/dist/chunks/{vcs-na21baqn.js → command-hzcxg4q9.js} +15 -15
  160. package/dist/chunks/{vcs-bamjm5t3.js → command-j052dg5b.js} +16 -16
  161. package/dist/chunks/{vcs-7s6gk46a.js → command-j5208yae.js} +7 -7
  162. package/dist/chunks/{vcs-j56e64zr.js → command-j56e64zr.js} +1 -1
  163. package/dist/chunks/{vcs-cvr1mqz4.js → command-j7nbk787.js} +29 -29
  164. package/dist/chunks/{vcs-paphc93g.js → command-j935v87r.js} +2 -2
  165. package/dist/chunks/{vcs-mcyv22g2.js → command-j9vx3v9v.js} +24 -24
  166. package/dist/chunks/{vcs-7qykr4ed.js → command-jh9frvw6.js} +10 -10
  167. package/dist/chunks/{vcs-fygdb7h7.js → command-jhetwysa.js} +3 -3
  168. package/dist/chunks/{vcs-bm56easb.js → command-jjc29zvc.js} +25 -25
  169. package/dist/chunks/{vcs-3k775b2j.js → command-jm23p7wd.js} +21 -21
  170. package/dist/chunks/{vcs-shh6fz4q.js → command-jva4mgym.js} +4 -4
  171. package/dist/chunks/{vcs-f73rjn58.js → command-jvf3yq6v.js} +4 -4
  172. package/dist/chunks/{vcs-0rbfcjex.js → command-jxpa08fn.js} +20 -20
  173. package/dist/chunks/{vcs-en0csq7p.js → command-jym9kedx.js} +13 -13
  174. package/dist/chunks/{vcs-1mctce5e.js → command-jz5y6dvz.js} +18 -18
  175. package/dist/chunks/{vcs-8e1b1gzh.js → command-k0nnq3t9.js} +6 -6
  176. package/dist/chunks/{vcs-5xtgfte3.js → command-kbmmzrfa.js} +8 -8
  177. package/dist/chunks/{vcs-f4p8qj1v.js → command-kd4mv8p1.js} +27 -27
  178. package/dist/chunks/{vcs-1awm1f41.js → command-keyg98zt.js} +10 -10
  179. package/dist/chunks/{vcs-kg06axw8.js → command-kg06axw8.js} +1 -1
  180. package/dist/chunks/{vcs-bcnz578n.js → command-kh9gj6fg.js} +2 -2
  181. package/dist/chunks/{vcs-5q7pvjyd.js → command-kqvbfj3r.js} +10 -10
  182. package/dist/chunks/{vcs-rfmg4dpd.js → command-ksdnvjw1.js} +20 -20
  183. package/dist/chunks/{vcs-z2bxacmw.js → command-kyrc5g5p.js} +3 -3
  184. package/dist/chunks/{vcs-0n10z62r.js → command-kzxpw37x.js} +23 -23
  185. package/dist/chunks/{vcs-xx9mw36p.js → command-m3wyk9nc.js} +8 -8
  186. package/dist/chunks/{vcs-n30gy4xr.js → command-m9tpa25m.js} +24 -24
  187. package/dist/chunks/{vcs-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{vcs-mkcjrzeh.js → command-mkcjrzeh.js} +1 -1
  189. package/dist/chunks/{vcs-nx200rc8.js → command-msjfgnq6.js} +9 -9
  190. package/dist/chunks/{vcs-63p6zp09.js → command-mzfawknz.js} +15 -15
  191. package/dist/chunks/{vcs-yatbfwrz.js → command-n4fdf33j.js} +9 -9
  192. package/dist/chunks/{vcs-3n3mkc0a.js → command-naqvy1vc.js} +13 -13
  193. package/dist/chunks/{vcs-3mxmhv99.js → command-nedyw519.js} +17 -17
  194. package/dist/chunks/{vcs-jysqvf6a.js → command-nfhmz961.js} +9 -9
  195. package/dist/chunks/{vcs-hpzssmaj.js → command-nmxjcnz2.js} +4 -4
  196. package/dist/chunks/{vcs-343vth6t.js → command-nsk5ybg9.js} +13 -13
  197. package/dist/chunks/{vcs-qx1ymhax.js → command-pbe99m00.js} +43 -43
  198. package/dist/chunks/{vcs-d0tbe3qc.js → command-pbtsv70y.js} +11 -11
  199. package/dist/chunks/{vcs-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{vcs-pknna89w.js → command-pknna89w.js} +1 -1
  201. package/dist/chunks/{vcs-jy1fd401.js → command-pt50yj7n.js} +15 -15
  202. package/dist/chunks/{vcs-w1jcz6hc.js → command-q3e3pxrn.js} +2 -2
  203. package/dist/chunks/{vcs-gsfatvyr.js → command-qkwnakvm.js} +15 -15
  204. package/dist/chunks/{vcs-2nbt55tc.js → command-qm7jrdpz.js} +8 -8
  205. package/dist/chunks/{vcs-15jt7hnh.js → command-qn2q96g0.js} +19 -19
  206. package/dist/chunks/{vcs-grkhgew7.js → command-qpt82rvw.js} +4 -4
  207. package/dist/chunks/{vcs-ctpgvfcv.js → command-qq9xggvz.js} +6 -6
  208. package/dist/chunks/{vcs-qsdy395h.js → command-qsdy395h.js} +1 -1
  209. package/dist/chunks/{vcs-z0yd4kpw.js → command-qx3fns1j.js} +37 -37
  210. package/dist/chunks/{vcs-ytj1vtz4.js → command-qx4eckdq.js} +24 -24
  211. package/dist/chunks/{vcs-dnjrnpe9.js → command-qxnh841b.js} +19 -19
  212. package/dist/chunks/{vcs-1bbkgx8g.js → command-r5x6zcsm.js} +3 -3
  213. package/dist/chunks/{vcs-75d5mvfd.js → command-r5zgsrw8.js} +43 -43
  214. package/dist/chunks/{vcs-0v53mg2y.js → command-r98e92ep.js} +4 -4
  215. package/dist/chunks/{vcs-6jpqjxjf.js → command-rf1gapgg.js} +37 -37
  216. package/dist/chunks/command-rq3zbgk8.js +22 -0
  217. package/dist/chunks/{vcs-zx7eyp7z.js → command-rryqg9dq.js} +14 -14
  218. package/dist/chunks/{vcs-g69w66qb.js → command-rwatm0mm.js} +10 -10
  219. package/dist/chunks/{vcs-43k15f45.js → command-rz527k5r.js} +4 -4
  220. package/dist/chunks/{vcs-4mdcb7rk.js → command-s1hyvedr.js} +20 -20
  221. package/dist/chunks/{vcs-yrznvahk.js → command-s4enseaf.js} +2 -2
  222. package/dist/chunks/{vcs-cf5aa6ac.js → command-s6c8tzhk.js} +33 -33
  223. package/dist/chunks/{vcs-6gdkyjx4.js → command-s8adj76m.js} +8 -8
  224. package/dist/chunks/{vcs-eaj1djv9.js → command-s8d7rejh.js} +6 -6
  225. package/dist/chunks/{vcs-2dmy33xk.js → command-s8x2ny25.js} +33 -33
  226. package/dist/chunks/{vcs-atgzv10b.js → command-se0tgtr4.js} +18 -18
  227. package/dist/chunks/{vcs-ntzywbn0.js → command-snt4nv2a.js} +13 -13
  228. package/dist/chunks/{vcs-bs8nkske.js → command-sp31zz3t.js} +27 -27
  229. package/dist/chunks/{vcs-t7st2vvv.js → command-spwgk4wz.js} +16 -16
  230. package/dist/chunks/{vcs-4dg124c5.js → command-sqbb0ctm.js} +5 -5
  231. package/dist/chunks/{vcs-v68haqbh.js → command-st4t0jjg.js} +2 -2
  232. package/dist/chunks/{vcs-3rpa2x9h.js → command-sxyb6qad.js} +4 -4
  233. package/dist/chunks/{vcs-f8q7mv7a.js → command-t8mcaem5.js} +1 -1
  234. package/dist/chunks/{vcs-tazgh4e4.js → command-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{vcs-66qkg17f.js → command-tc265fkx.js} +5 -5
  236. package/dist/chunks/{vcs-89znhe33.js → command-tcezcvh9.js} +4 -4
  237. package/dist/chunks/{vcs-tdstcens.js → command-tdstcens.js} +1 -1
  238. package/dist/chunks/{vcs-gv6a8nnw.js → command-th5km1p3.js} +5 -5
  239. package/dist/chunks/{vcs-k79tzb9n.js → command-tjsj89dc.js} +9 -9
  240. package/dist/chunks/{vcs-fsbd0sgt.js → command-tknkg6rx.js} +28 -28
  241. package/dist/chunks/{vcs-ak6krb0w.js → command-tkzgmprh.js} +27 -27
  242. package/dist/chunks/{vcs-vgx5p2wd.js → command-tqnq6q5q.js} +20 -20
  243. package/dist/chunks/{vcs-tvtrv512.js → command-tvtrv512.js} +1 -1
  244. package/dist/chunks/{vcs-b8twdx30.js → command-v07j1kge.js} +53 -53
  245. package/dist/chunks/{vcs-stbc3qj5.js → command-v48pvb4n.js} +11 -11
  246. package/dist/chunks/{vcs-1fkasrsp.js → command-v8k1872w.js} +8 -8
  247. package/dist/chunks/{vcs-6j367vjx.js → command-vcxc4q3p.js} +4 -4
  248. package/dist/chunks/{vcs-gxex9f2w.js → command-vd8e5h8f.js} +29 -29
  249. package/dist/chunks/{vcs-veqvce7d.js → command-veqvce7d.js} +1 -1
  250. package/dist/chunks/{vcs-bgxcxs0p.js → command-vmq7ehpy.js} +5 -5
  251. package/dist/chunks/{vcs-gn3r6m65.js → command-vmysjhj7.js} +10 -10
  252. package/dist/chunks/{vcs-efmhwa42.js → command-vpt86awd.js} +12 -12
  253. package/dist/chunks/{vcs-9a316c20.js → command-vragf7xq.js} +11 -11
  254. package/dist/chunks/{vcs-j8281ebe.js → command-vxwzppst.js} +9 -9
  255. package/dist/chunks/{vcs-vzcthcp8.js → command-vzcthcp8.js} +1 -1
  256. package/dist/chunks/{vcs-znge5ab1.js → command-w17k3rsr.js} +13 -13
  257. package/dist/chunks/{vcs-9pm6y0s1.js → command-w2q9x1k3.js} +8 -8
  258. package/dist/chunks/{vcs-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{vcs-pj71h5ej.js → command-w6a1w976.js} +15 -15
  260. package/dist/chunks/{vcs-wd87259q.js → command-wd87259q.js} +1 -1
  261. package/dist/chunks/{vcs-f3xhjfec.js → command-wfbxv8er.js} +5 -5
  262. package/dist/chunks/{vcs-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{vcs-x43y2vfs.js → command-x43y2vfs.js} +2 -2
  264. package/dist/chunks/{vcs-0cj7r9av.js → command-xe22fbq9.js} +10 -10
  265. package/dist/chunks/{vcs-94388agg.js → command-xj439p2s.js} +9 -9
  266. package/dist/chunks/{vcs-9rm48j8q.js → command-xnk8ss56.js} +36 -36
  267. package/dist/chunks/{vcs-fgwkmjw7.js → command-xzja1t39.js} +5 -5
  268. package/dist/chunks/{vcs-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{vcs-xdxv2f96.js → command-y22f4a62.js} +15 -15
  270. package/dist/chunks/{vcs-dpkg50ah.js → command-y71avatq.js} +4 -4
  271. package/dist/chunks/{vcs-p9dw09k2.js → command-yg5c8d2j.js} +8 -8
  272. package/dist/chunks/{vcs-ya9c0ydz.js → command-ygakqxjr.js} +22 -22
  273. package/dist/chunks/{vcs-acy09nwh.js → command-ygtg2ex0.js} +26 -26
  274. package/dist/chunks/{vcs-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{vcs-rvc3xsce.js → command-yrwypdbr.js} +21 -21
  276. package/dist/chunks/{vcs-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{vcs-bv56xrks.js → command-z1f4gy9p.js} +8 -8
  278. package/dist/chunks/{vcs-v42r3sq1.js → command-z7vtm5t9.js} +85 -85
  279. package/dist/chunks/{vcs-bpgwr2b8.js → command-z9g6acw9.js} +6 -6
  280. package/dist/chunks/{vcs-46rk3c8f.js → command-zc36c13q.js} +32 -32
  281. package/dist/chunks/{vcs-zeh9ct20.js → command-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{vcs-wr0nxa4t.js → command-zfsxp10c.js} +5 -5
  283. package/dist/chunks/{vcs-5fq4v6s9.js → command-zg7s7pjs.js} +18 -18
  284. package/dist/chunks/{vcs-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{vcs-9zr6q9jt.js → command-ztzqvfjg.js} +26 -26
  286. package/dist/chunks/{vcs-4w8bkcbc.js → command-zx4qqgq6.js} +11 -11
  287. package/dist/chunks/{vcs-zxq2ej10.js → command-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{vcs-ksz0h0wp.js → command-zxwpk2nb.js} +1 -1
  289. package/dist/chunks/{vcs-ccmdxyv2.js → command-zy3h4kss.js} +11 -11
  290. package/dist/codemode/catalog.js +3 -3
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +81 -81
  294. package/dist/config/discovery.js +79 -79
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +117 -117
  298. package/dist/config/plugin/command.js +209 -209
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +115 -115
  303. package/dist/config/plugin/instruction.js +85 -85
  304. package/dist/config/plugin/location-watcher.js +117 -117
  305. package/dist/config/plugin/mcp.js +126 -126
  306. package/dist/config/plugin/policy.js +114 -114
  307. package/dist/config/plugin/provider.js +113 -113
  308. package/dist/config/plugin/reference.js +117 -117
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +97 -97
  311. package/dist/config/plugin/skill.js +136 -136
  312. package/dist/config/plugin/snapshot.js +115 -115
  313. package/dist/config/plugin/source.js +113 -113
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +113 -113
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +119 -119
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +73 -73
  322. package/dist/database/database.js +64 -64
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration.gen.js +47 -47
  386. package/dist/database/migration.js +49 -49
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +74 -74
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +362 -362
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +88 -88
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +90 -90
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +68 -68
  410. package/dist/file-access.js +99 -99
  411. package/dist/file-mutation.js +89 -89
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +222 -222
  421. package/dist/filesystem/protected.js +3 -3
  422. package/dist/filesystem/search.js +99 -99
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +102 -102
  426. package/dist/form.js +78 -78
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +84 -84
  429. package/dist/generate.js +91 -91
  430. package/dist/git.js +7 -7
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +7 -7
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +353 -353
  455. package/dist/instruction-discovery.js +83 -83
  456. package/dist/instructions/builtins.js +82 -82
  457. package/dist/instructions/index.js +3 -3
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +82 -82
  460. package/dist/job.js +77 -77
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +71 -71
  463. package/dist/location-activity.js +130 -130
  464. package/dist/location-mutation.js +99 -99
  465. package/dist/location-service-map.js +83 -83
  466. package/dist/location-services.js +350 -350
  467. package/dist/location.js +82 -82
  468. package/dist/mcp/client.js +86 -86
  469. package/dist/mcp/index.js +105 -105
  470. package/dist/mcp/instructions.js +122 -122
  471. package/dist/mcp/oauth.js +3 -3
  472. package/dist/mcp/stdio.js +85 -85
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +7 -7
  475. package/dist/model-resolver.js +86 -86
  476. package/dist/model.js +6 -6
  477. package/dist/models-dev.js +80 -80
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +80 -80
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +108 -108
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +82 -82
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +73 -73
  487. package/dist/plugin/agent.js +99 -99
  488. package/dist/plugin/command.js +96 -96
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +324 -324
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +75 -75
  495. package/dist/plugin/module.js +7 -7
  496. package/dist/plugin/optimize.js +4 -4
  497. package/dist/plugin/plan.js +97 -97
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/alibaba.js +2 -2
  500. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  501. package/dist/plugin/provider/anthropic.js +2 -2
  502. package/dist/plugin/provider/azure.js +118 -118
  503. package/dist/plugin/provider/cerebras.js +2 -2
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/digitalocean.js +79 -79
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +80 -80
  513. package/dist/plugin/provider/gitlab.js +3 -3
  514. package/dist/plugin/provider/google-vertex.js +2 -2
  515. package/dist/plugin/provider/kilo.js +2 -2
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +117 -117
  518. package/dist/plugin/provider/mistral.js +2 -2
  519. package/dist/plugin/provider/modal.js +79 -79
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +117 -117
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +80 -80
  524. package/dist/plugin/provider/opencode.js +79 -79
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +76 -76
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +117 -117
  534. package/dist/plugin/provider/xai.js +77 -77
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +74 -74
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +133 -133
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +343 -343
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +82 -82
  545. package/dist/plugin/vcs/hg.js +82 -82
  546. package/dist/plugin/warming.js +112 -112
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +8 -8
  550. package/dist/plugin/websearch/mcp.js +6 -6
  551. package/dist/plugin/websearch/parallel.js +6 -6
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin.js +220 -220
  554. package/dist/project/schema.js +8 -8
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +83 -83
  557. package/dist/provider.js +5 -5
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +90 -90
  562. package/dist/reference/instructions.js +82 -82
  563. package/dist/reference.js +84 -84
  564. package/dist/repository-cache.js +76 -76
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +93 -93
  568. package/dist/rpc.js +81 -81
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +72 -72
  571. package/dist/session/compaction.js +129 -129
  572. package/dist/session/context.js +147 -147
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +216 -216
  577. package/dist/session/execution.js +122 -122
  578. package/dist/session/generate.js +148 -148
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +88 -88
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +75 -75
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +92 -92
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +111 -111
  588. package/dist/session/model-transport.js +7 -7
  589. package/dist/session/move.js +126 -126
  590. package/dist/session/projector.js +84 -84
  591. package/dist/session/prompt.js +100 -100
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +85 -85
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +225 -225
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +86 -86
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +110 -110
  601. package/dist/session/runner/step.js +121 -121
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +3 -3
  604. package/dist/session/session.js +169 -169
  605. package/dist/session/shell.js +131 -131
  606. package/dist/session/skill.js +98 -98
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +71 -71
  609. package/dist/session/store.js +85 -85
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +205 -205
  612. package/dist/session/system-prompt.js +5 -5
  613. package/dist/session/title.js +151 -151
  614. package/dist/session/to-session-error.js +107 -107
  615. package/dist/session/transfer.js +210 -210
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +211 -211
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +11 -11
  622. package/dist/shell.js +133 -133
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +102 -102
  625. package/dist/skill.js +105 -105
  626. package/dist/snapshot.js +86 -86
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +121 -121
  631. package/dist/tool/plugin/edit.js +115 -115
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +120 -120
  634. package/dist/tool/plugin/grep.js +120 -120
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +117 -117
  637. package/dist/tool/plugin/question.js +100 -100
  638. package/dist/tool/plugin/read.js +121 -121
  639. package/dist/tool/plugin/shell.js +210 -210
  640. package/dist/tool/plugin/skill.js +108 -108
  641. package/dist/tool/plugin/subagent.js +210 -210
  642. package/dist/tool/plugin/webfetch.js +103 -103
  643. package/dist/tool/plugin/websearch.js +107 -107
  644. package/dist/tool/plugin/write.js +115 -115
  645. package/dist/tool/read-filesystem.js +96 -96
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +15 -15
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +5 -5
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +4 -4
  662. package/dist/v1/config/formatter.js +5 -5
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +5 -5
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +4 -4
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +85 -85
  676. package/dist/websearch.js +82 -82
  677. package/dist/wellknown/plugin.js +74 -74
  678. package/dist/wellknown.js +77 -77
  679. package/dist/workspace/driver.js +5 -5
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +78 -78
  682. package/dist/worktree/directory.js +4 -4
  683. package/dist/worktree/git.js +7 -7
  684. package/dist/worktree/refresh.js +342 -342
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree.js +91 -91
  687. package/package.json +8 -8
  688. package/dist/chunks/vcs-9krkn4rj.js +0 -22
  689. package/dist/chunks/vcs-9zdhvgqs.js +0 -18
  690. package/dist/chunks/vcs-qapv375x.js +0 -4
  691. package/dist/chunks/vcs-r794vdnj.js +0 -247
  692. /package/dist/chunks/{vcs-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{vcs-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{vcs-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{vcs-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{vcs-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{vcs-2710q6r3.js → command-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{vcs-2axfhc9x.js → command-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{vcs-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{vcs-359p4xyc.js → command-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{vcs-3asan66x.js → command-3asan66x.js} +0 -0
  702. /package/dist/chunks/{vcs-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{vcs-3w5fmr99.js → command-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{vcs-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{vcs-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{vcs-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{vcs-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{vcs-53557ph1.js → command-53557ph1.js} +0 -0
  709. /package/dist/chunks/{vcs-550bvhaj.js → command-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{vcs-6prwharc.js → command-6prwharc.js} +0 -0
  711. /package/dist/chunks/{vcs-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{vcs-7m9af43g.js → command-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{vcs-822emrt2.js → command-822emrt2.js} +0 -0
  714. /package/dist/chunks/{vcs-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{vcs-8n3pysct.js → command-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{vcs-922hggd3.js → command-922hggd3.js} +0 -0
  717. /package/dist/chunks/{vcs-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{vcs-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{vcs-a1tpkmh4.js → command-a1tpkmh4.js} +0 -0
  720. /package/dist/chunks/{vcs-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{vcs-af5trqkr.js → command-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{vcs-afrmfg78.js → command-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{vcs-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{vcs-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{vcs-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{vcs-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{vcs-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{vcs-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{vcs-d9fn303g.js → command-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{vcs-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{vcs-dajrwvna.js → command-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{vcs-dap0rakb.js → command-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{vcs-df08tz66.js → command-df08tz66.js} +0 -0
  734. /package/dist/chunks/{vcs-dy18nga0.js → command-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{vcs-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{vcs-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{vcs-ec1grn59.js → command-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{vcs-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{vcs-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{vcs-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{vcs-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{vcs-faypxj3z.js → command-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{vcs-fd410y7t.js → command-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{vcs-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{vcs-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{vcs-g86h250q.js → command-g86h250q.js} +0 -0
  747. /package/dist/chunks/{vcs-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{vcs-gftt206x.js → command-gftt206x.js} +0 -0
  749. /package/dist/chunks/{vcs-hjbc5kem.js → command-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{vcs-hk9envan.js → command-hk9envan.js} +0 -0
  751. /package/dist/chunks/{vcs-hrnqkpcd.js → command-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{vcs-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{vcs-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{vcs-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{vcs-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{vcs-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{vcs-mp448xyj.js → command-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{vcs-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{vcs-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{vcs-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{vcs-njntx4h6.js → command-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{vcs-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{vcs-q74kybfr.js → command-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{vcs-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{vcs-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{vcs-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{vcs-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{vcs-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{vcs-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{vcs-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{vcs-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{vcs-twg0f83k.js → command-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{vcs-w803qqfp.js → command-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{vcs-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{vcs-wtztk69x.js → command-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{vcs-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{vcs-x61499pn.js → command-x61499pn.js} +0 -0
  778. /package/dist/chunks/{vcs-y44na4kk.js → command-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{vcs-y8cydn3q.js → command-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{vcs-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{vcs-ym463w8f.js → command-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{vcs-z9919s4g.js → command-z9919s4g.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./vcs-r9v7jrnn.js";
4
+ } from "./command-hxvm7zmc.js";
5
5
  import {
6
6
  Event19,
7
7
  Service77,
8
8
  node82
9
- } from "./vcs-p9dw09k2.js";
9
+ } from "./command-yg5c8d2j.js";
10
10
  import {
11
- Service41,
12
- node46
13
- } from "./vcs-mcyv22g2.js";
11
+ Service66,
12
+ node71
13
+ } from "./command-j9vx3v9v.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./vcs-922hggd3.js";
16
+ } from "./command-922hggd3.js";
17
17
  import {
18
- Service71,
19
- node76
20
- } from "./vcs-wgada9a8.js";
18
+ Service67,
19
+ node72
20
+ } from "./command-hgdt9556.js";
21
21
  import {
22
22
  substitute2
23
- } from "./vcs-yrznvahk.js";
23
+ } from "./command-s4enseaf.js";
24
24
  import {
25
25
  normalize2
26
- } from "./vcs-wj12b5ba.js";
26
+ } from "./command-d6gjw5d8.js";
27
27
  import {
28
- names3,
28
+ names4,
29
29
  discover3
30
- } from "./vcs-4vt5pay0.js";
30
+ } from "./command-19av3p62.js";
31
31
  import {
32
32
  plan2
33
- } from "./vcs-j56e64zr.js";
33
+ } from "./command-j56e64zr.js";
34
34
  import {
35
- Service48,
36
- Event10,
37
- node53
38
- } from "./vcs-3y2x6txz.js";
35
+ Service70,
36
+ Event15,
37
+ node75
38
+ } from "./command-gfc9zyvq.js";
39
39
  import {
40
40
  __export
41
- } from "./vcs-9rqn6x4v.js";
41
+ } from "./command-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options5,
48
- Service: () => Service40,
47
+ Options: () => Options8,
48
+ Service: () => Service65,
49
49
  Test: () => Test2,
50
- configured: () => configured6,
50
+ configured: () => configured10,
51
51
  latest: () => latest2,
52
- layer: () => layer17,
53
- node: () => node45,
52
+ layer: () => layer22,
53
+ node: () => node70,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -71,14 +71,14 @@ import { Global } from "@opencode/util/global";
71
71
  function latest2(entries, key) {
72
72
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
73
73
  }
74
- var Options5 = Schema.Struct({
74
+ var Options8 = Schema.Struct({
75
75
  project: Schema.optional(Schema.Boolean),
76
76
  global: Schema.optional(Schema.Boolean),
77
77
  file: Schema.optional(Schema.String),
78
78
  content: Schema.optional(Schema.String)
79
79
  });
80
80
 
81
- class Service40 extends Context.Service()("@opencode/Config") {
81
+ class Service65 extends Context.Service()("@opencode/Config") {
82
82
  }
83
83
 
84
84
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
92
92
  setEntries: (next) => Ref.set(entries, next),
93
93
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
94
94
  });
95
- return Context.empty().pipe(Context.add(Service40, service), Context.add(Test2, service));
95
+ return Context.empty().pipe(Context.add(Service65, service), Context.add(Test2, service));
96
96
  }));
97
- var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
97
+ var layer22 = (options) => Layer.effect(Service65, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const location = yield* Service71;
100
- const watcher = yield* Service41;
99
+ const location = yield* Service67;
100
+ const watcher = yield* Service66;
101
101
  const bus = yield* Service79;
102
102
  const credentials = yield* Service77;
103
- const wellknown = yield* Service48;
103
+ const wellknown = yield* Service70;
104
104
  const reloadLock = Semaphore.makeUnsafe(1);
105
105
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
106
106
  const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
@@ -168,7 +168,7 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
168
168
  });
169
169
  const loadDirectory = Effect.fnUntraced(function* (directory) {
170
170
  return [
171
- ...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
171
+ ...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
172
172
  new Directory({ type: "directory", path: directory })
173
173
  ];
174
174
  });
@@ -224,7 +224,7 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
224
224
  const pendingReloads = yield* PubSub.subscribe(reloads);
225
225
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
226
  yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
227
- yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
227
+ yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
228
228
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
229
229
  if (!wellknown.snapshot().length)
230
230
  return Effect.void;
@@ -235,20 +235,20 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
235
235
  }).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
236
236
  })), Effect.forever, Effect.forkScoped({ startImmediately: true }));
237
237
  yield* reloadLock.withPermit(reconcile(initial));
238
- return Service40.of({
238
+ return Service65.of({
239
239
  entries: Effect.fnUntraced(function* () {
240
240
  return configs;
241
241
  }),
242
242
  changes: () => Stream.fromPubSub(updates)
243
243
  });
244
244
  }));
245
- function configured6(options) {
245
+ function configured10(options) {
246
246
  return makeLocationNode({
247
- service: Service40,
248
- layer: layer17(options),
249
- deps: [node46, node84, FSUtil.node, Global.node, node76, node82, node53]
247
+ service: Service65,
248
+ layer: layer22(options),
249
+ deps: [node71, node84, FSUtil.node, Global.node, node72, node82, node75]
250
250
  });
251
251
  }
252
- var node45 = configured6();
252
+ var node70 = configured10();
253
253
 
254
- export { latest2, Options5, Service40, Test2, testLayer2, layer17, configured6, node45, exports_config };
254
+ export { latest2, Options8, Service65, Test2, testLayer2, layer22, configured10, node70, exports_config };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service80
3
- } from "./vcs-f8x5rdn0.js";
3
+ } from "./command-3nc90kmd.js";
4
4
  import {
5
5
  Service79
6
- } from "./vcs-r9v7jrnn.js";
6
+ } from "./command-hxvm7zmc.js";
7
7
  import {
8
- Service60
9
- } from "./vcs-4m2pmvxz.js";
8
+ Service44
9
+ } from "./command-hwe7x4em.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./vcs-922hggd3.js";
12
+ } from "./command-922hggd3.js";
13
13
  import {
14
- ID4,
15
- Service31
16
- } from "./vcs-s1wdsb24.js";
14
+ ID5,
15
+ Service38
16
+ } from "./command-4wn6b914.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./vcs-ec1grn59.js";
19
+ } from "./command-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./vcs-gftt206x.js";
22
+ } from "./command-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./vcs-2e96adxv.js";
25
+ } from "./command-5xp4z8zk.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./vcs-5c4hm403.js";
28
+ } from "./command-a1bz86dw.js";
29
29
  import {
30
30
  __export
31
- } from "./vcs-9rqn6x4v.js";
31
+ } from "./command-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service60;
45
+ const instances = yield* Service44;
46
46
  const database = yield* Service80;
47
47
  const bus = yield* Service79;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service31;
50
- const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service38;
50
+ const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service60;
77
+ const instances = yield* Service44;
78
78
  const bus = yield* Service79;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service31;
80
+ const snapshot = yield* Service38;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID4.make(message.snapshot.start));
114
+ files.set(file, ID5.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -0,0 +1,247 @@
1
+ import {
2
+ node83
3
+ } from "./command-jm23p7wd.js";
4
+ import {
5
+ node81
6
+ } from "./command-zy3h4kss.js";
7
+ import {
8
+ node80
9
+ } from "./command-qn2q96g0.js";
10
+ import {
11
+ node79
12
+ } from "./command-bjy2htfa.js";
13
+ import {
14
+ node78
15
+ } from "./command-kzxpw37x.js";
16
+ import {
17
+ node68
18
+ } from "./command-ygakqxjr.js";
19
+ import {
20
+ node72,
21
+ boundNode2
22
+ } from "./command-hgdt9556.js";
23
+ import {
24
+ configured10,
25
+ node70
26
+ } from "./command-cpj6a2aa.js";
27
+ import {
28
+ node63
29
+ } from "./command-m9tpa25m.js";
30
+ import {
31
+ node26
32
+ } from "./command-snt4nv2a.js";
33
+ import {
34
+ node16
35
+ } from "./command-zg7s7pjs.js";
36
+ import {
37
+ node24
38
+ } from "./command-2rfrcgce.js";
39
+ import {
40
+ node23
41
+ } from "./command-tkzgmprh.js";
42
+ import {
43
+ node77
44
+ } from "./command-070a9e04.js";
45
+ import {
46
+ node20
47
+ } from "./command-04rtynqt.js";
48
+ import {
49
+ node44
50
+ } from "./command-vxwzppst.js";
51
+ import {
52
+ node40
53
+ } from "./command-azw47gg7.js";
54
+ import {
55
+ Service44,
56
+ node47
57
+ } from "./command-hwe7x4em.js";
58
+ import {
59
+ node33
60
+ } from "./command-8r7f04jj.js";
61
+ import {
62
+ node67
63
+ } from "./command-w2q9x1k3.js";
64
+ import {
65
+ node57
66
+ } from "./command-86g4d0kj.js";
67
+ import {
68
+ node48
69
+ } from "./command-8ezz0qpe.js";
70
+ import {
71
+ configured9,
72
+ node69
73
+ } from "./command-qx4eckdq.js";
74
+ import {
75
+ node37
76
+ } from "./command-j052dg5b.js";
77
+ import {
78
+ node43
79
+ } from "./command-jjc29zvc.js";
80
+ import {
81
+ node39
82
+ } from "./command-24w00f77.js";
83
+ import {
84
+ node50
85
+ } from "./command-9rqme4wv.js";
86
+ import {
87
+ node41
88
+ } from "./command-be4a9pdg.js";
89
+ import {
90
+ node52
91
+ } from "./command-jz5y6dvz.js";
92
+ import {
93
+ node38
94
+ } from "./command-afvn2d8y.js";
95
+ import {
96
+ node32
97
+ } from "./command-z7vtm5t9.js";
98
+ import {
99
+ node42
100
+ } from "./command-4wn6b914.js";
101
+ import {
102
+ node66
103
+ } from "./command-y22f4a62.js";
104
+ import {
105
+ node62
106
+ } from "./command-vpt86awd.js";
107
+ import {
108
+ node60
109
+ } from "./command-4a54se45.js";
110
+ import {
111
+ node28
112
+ } from "./command-mzfawknz.js";
113
+ import {
114
+ node21
115
+ } from "./command-s1hyvedr.js";
116
+ import {
117
+ node19
118
+ } from "./command-hdt6myfc.js";
119
+ import {
120
+ node54
121
+ } from "./command-hm0hsyzs.js";
122
+ import {
123
+ node18
124
+ } from "./command-dcf26w67.js";
125
+ import {
126
+ node3
127
+ } from "./command-s6c8tzhk.js";
128
+ import {
129
+ node56
130
+ } from "./command-59zahvaa.js";
131
+ import {
132
+ node15,
133
+ bound2
134
+ } from "./command-kbmmzrfa.js";
135
+ import {
136
+ node9
137
+ } from "./command-ztzqvfjg.js";
138
+ import {
139
+ node10
140
+ } from "./command-qxnh841b.js";
141
+ import {
142
+ node12
143
+ } from "./command-43t6csf6.js";
144
+ import {
145
+ node6
146
+ } from "./command-15n42rft.js";
147
+ import {
148
+ node5
149
+ } from "./command-ksdnvjw1.js";
150
+ import {
151
+ node22
152
+ } from "./command-8jdy407s.js";
153
+ import {
154
+ node4
155
+ } from "./command-ygtg2ex0.js";
156
+ import {
157
+ node2
158
+ } from "./command-4e5nbqbj.js";
159
+ import {
160
+ __export
161
+ } from "./command-9rqn6x4v.js";
162
+
163
+ // src/instance.ts
164
+ var exports_instance = {};
165
+ __export(exports_instance, {
166
+ Instance: () => exports_instance,
167
+ Service: () => Service44,
168
+ graph: () => graph2,
169
+ layer: () => layer2,
170
+ node: () => node47
171
+ });
172
+ import { Effect, Layer } from "effect";
173
+ import { LayerNode } from "@opencode/util/effect/layer-node";
174
+ import { Node } from "@opencode/util/effect/app-node";
175
+ var nodes = [
176
+ node72,
177
+ node63,
178
+ node70,
179
+ node83,
180
+ node68,
181
+ node50,
182
+ node28,
183
+ node19,
184
+ node79,
185
+ node78,
186
+ node77,
187
+ node81,
188
+ node18,
189
+ node67,
190
+ node15,
191
+ node6,
192
+ node5,
193
+ node54,
194
+ node24,
195
+ node23,
196
+ node66,
197
+ node22,
198
+ node60,
199
+ node52,
200
+ node37,
201
+ node69,
202
+ node56,
203
+ node26,
204
+ node16,
205
+ node40,
206
+ node57,
207
+ node43,
208
+ node62,
209
+ node44,
210
+ node38,
211
+ node41,
212
+ node33,
213
+ node80,
214
+ node20,
215
+ node12,
216
+ node39,
217
+ node10,
218
+ node48,
219
+ node9,
220
+ node4,
221
+ node32,
222
+ node42,
223
+ node2,
224
+ node21,
225
+ node3
226
+ ];
227
+ var graph2 = LayerNode.group(nodes);
228
+ var vanillaReplacements = [
229
+ node70.replace(configured10({ project: false, global: false })),
230
+ node69.replace(configured9({ project: false, global: false }))
231
+ ];
232
+ function layer2(ref, options = {}) {
233
+ const startedAt = performance.now();
234
+ const replacements = [
235
+ ...options.discovery === false ? vanillaReplacements : [],
236
+ ...options.replacements ?? [],
237
+ node72.replace(boundNode2(ref, { discovery: options.discovery })),
238
+ node15.replace(bound2(options.plugins ?? []))
239
+ ];
240
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap(() => Effect.logInfo("location services booted", {
241
+ directory: ref.directory,
242
+ workspaceID: ref.workspaceID,
243
+ durationMs: Math.round(performance.now() - startedAt)
244
+ })));
245
+ }
246
+
247
+ export { graph2, layer2, exports_instance };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./vcs-r9v7jrnn.js";
4
+ } from "./command-hxvm7zmc.js";
5
5
  import {
6
6
  environment2
7
- } from "./vcs-xdxv2f96.js";
7
+ } from "./command-y22f4a62.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./vcs-sk3qaz4a.js";
10
+ } from "./command-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./vcs-9rqn6x4v.js";
13
+ } from "./command-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError4,
19
+ NotFoundError: () => NotFoundError3,
20
20
  Options: () => Options4,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service34,
22
+ Service: () => Service23,
23
23
  UnavailableError: () => UnavailableError3,
24
- configured: () => configured5,
25
- layer: () => layer16,
26
- node: () => node39
24
+ configured: () => configured4,
25
+ layer: () => layer11,
26
+ node: () => node27
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -42,14 +42,14 @@ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableE
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service34 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service23 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service34, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* () {
53
53
  const bus = yield* Service79;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service34, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError4({ ptyID: id });
75
+ return yield* new NotFoundError3({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service34, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service34.of({
242
+ return Service23.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service34, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer16 = makeLayer();
259
- var configured5 = (options) => makeGlobalNode({
260
- service: Service34,
261
- layer: options === undefined ? layer16 : makeLayer(options),
258
+ var layer11 = makeLayer();
259
+ var configured4 = (options) => makeGlobalNode({
260
+ service: Service23,
261
+ layer: options === undefined ? layer11 : makeLayer(options),
262
262
  deps: [node84, Global.node]
263
263
  });
264
- var node39 = configured5();
264
+ var node27 = configured4();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
267
  var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options4, UnavailableError3, NotFoundError4, Service34, layer16, configured5, node39, exports_persistent_pty, Handoff2 };
304
+ export { Options4, UnavailableError3, NotFoundError3, Service23, layer11, configured4, node27, exports_persistent_pty, Handoff2 };