@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,33 +1,33 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./vcs-f8x5rdn0.js";
4
+ } from "./command-3nc90kmd.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./vcs-dpkg50ah.js";
7
+ } from "./command-y71avatq.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node61
12
- } from "./vcs-8e1b1gzh.js";
11
+ node65
12
+ } from "./command-k0nnq3t9.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./vcs-faypxj3z.js";
15
+ } from "./command-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./vcs-9rqn6x4v.js";
18
+ } from "./command-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID7,
25
- Info: () => Info20,
24
+ ID: () => ID9,
25
+ Info: () => Info12,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service55,
27
+ Service: () => Service60,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured10,
30
- node: () => node60
29
+ configured: () => configured7,
30
+ node: () => node64
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID7 = Workspace.ID;
38
+ var ID9 = Workspace.ID;
39
39
 
40
- class Info20 extends Schema.Class("Workspace.Info")({
41
- id: ID7,
40
+ class Info12 extends Schema.Class("Workspace.Info")({
41
+ id: ID9,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info20 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID9 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID7,
53
+ workspaceID: ID9,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service55 extends Context.Service()("@opencode/Workspace") {
59
+ class Service60 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured10 = (options = {}) => makeGlobalNode({
62
- service: Service55,
61
+ var configured7 = (options = {}) => makeGlobalNode({
62
+ service: Service60,
63
63
  layer: layer(options),
64
- deps: [node85, node61]
64
+ deps: [node85, node65]
65
65
  });
66
- var layer = (options) => Layer.effect(Service55, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
67
67
  const db = (yield* Service80).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service55, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info20({
83
+ const info = (row, binding) => new Info12({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service55, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service55.of({
157
+ return Service60.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID7.create();
159
+ const workspaceID = input.id ?? ID9.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service55, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node60 = configured10();
224
+ var node64 = configured7();
225
225
 
226
- export { ID7, Info20, NotFound3, CreateConflict2, Service55, configured10, node60, exports_workspace };
226
+ export { ID9, Info12, NotFound3, CreateConflict2, Service60, configured7, node64, exports_workspace };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./vcs-m27pyyd3.js";
4
+ } from "./command-c7ecgrk6.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -1,70 +1,70 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./vcs-r9v7jrnn.js";
4
+ } from "./command-hxvm7zmc.js";
5
5
  import {
6
- Service71,
7
- node76
8
- } from "./vcs-wgada9a8.js";
6
+ Service67,
7
+ node72
8
+ } from "./command-hgdt9556.js";
9
9
  import {
10
- ID11,
11
- Service70,
12
- node75
13
- } from "./vcs-3k775b2j.js";
10
+ ID18,
11
+ Service78,
12
+ node83
13
+ } from "./command-jm23p7wd.js";
14
14
  import {
15
- NotFoundError8
16
- } from "./vcs-2e96adxv.js";
15
+ NotFoundError6
16
+ } from "./command-5xp4z8zk.js";
17
17
  import {
18
- Service68,
19
- node73
20
- } from "./vcs-45f5zjr0.js";
18
+ Service54,
19
+ node58
20
+ } from "./command-9maaan9b.js";
21
21
  import {
22
22
  match2
23
- } from "./vcs-y1fvbwt7.js";
23
+ } from "./command-y1fvbwt7.js";
24
24
  import {
25
- Service67,
26
- node72
27
- } from "./vcs-q43e2342.js";
25
+ Service55,
26
+ node59
27
+ } from "./command-ehzj4vhg.js";
28
28
  import {
29
- Service69,
30
- node74
31
- } from "./vcs-9pm6y0s1.js";
29
+ Service62,
30
+ node67
31
+ } from "./command-w2q9x1k3.js";
32
32
  import {
33
33
  __export
34
- } from "./vcs-9rqn6x4v.js";
34
+ } from "./command-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission2 = {};
38
- __export(exports_permission2, {
37
+ var exports_permission = {};
38
+ __export(exports_permission, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event13,
46
- ID: () => ID8,
47
- NotFoundError: () => NotFoundError7,
48
- Permission: () => exports_permission2,
45
+ Event: () => Event10,
46
+ ID: () => ID7,
47
+ NotFoundError: () => NotFoundError5,
48
+ Permission: () => exports_permission,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
51
  Request: () => Request2,
52
- Rule: () => Rule3,
52
+ Rule: () => Rule2,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service66,
54
+ Service: () => Service53,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node71
58
+ node: () => node57
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
- import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event13 } from "@opencode/schema/permission";
63
+ import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event10 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID8 = Permission.ID;
67
+ var ID7 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -77,17 +77,17 @@ var RequestFields = {
77
77
  var Request2 = Permission.Request;
78
78
  var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID8.pipe(Schema.optional),
80
+ id: ID7.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID11.pipe(Schema.optional)
82
+ agent: ID18.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID8,
85
+ requestID: ID7,
86
86
  reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID8,
90
+ id: ID7,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID8
113
+ class NotFoundError5 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID7
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service66 extends Context.Service()("@opencode/Permission") {
128
+ class Service53 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service66, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
131
131
  const bus = yield* Service79;
132
- const location = yield* Service71;
133
- const agents = yield* Service70;
134
- const sessions = yield* Service68;
135
- const saved = yield* Service67;
136
- const hooks = yield* Service69;
132
+ const location = yield* Service67;
133
+ const agents = yield* Service78;
134
+ const sessions = yield* Service54;
135
+ const saved = yield* Service55;
136
+ const hooks = yield* Service62;
137
137
  const pending = new Map;
138
138
  yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
139
139
  discard: true
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
150
150
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
151
151
  const session = yield* sessions.get(sessionID);
152
152
  if (!session)
153
- return yield* new NotFoundError8({ sessionID });
153
+ return yield* new NotFoundError6({ sessionID });
154
154
  const agent = yield* agents.resolve(agentID ?? session.agent);
155
155
  return agent?.permissions ?? missingAgentPermissions;
156
156
  });
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
180
180
  });
181
181
  function request(input, message) {
182
182
  return {
183
- id: input.id ?? ID8.create(),
183
+ id: input.id ?? ID7.create(),
184
184
  sessionID: input.sessionID,
185
185
  action: input.action,
186
186
  resources: input.resources,
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
228
228
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
229
229
  const existing = pending.get(input.requestID);
230
230
  if (!existing)
231
- return yield* new NotFoundError7({ requestID: input.requestID });
231
+ return yield* new NotFoundError5({ requestID: input.requestID });
232
232
  yield* bus.publish(Permission.Event.Replied, {
233
233
  sessionID: existing.request.sessionID,
234
234
  requestID: existing.request.id,
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
283
283
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
284
284
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
285
285
  });
286
- return Service66.of({ ask, assert, reply, get, forSession, list });
286
+ return Service53.of({ ask, assert, reply, get, forSession, list });
287
287
  }));
288
- var node71 = makeLocationNode({
289
- service: Service66,
288
+ var node57 = makeLocationNode({
289
+ service: Service53,
290
290
  layer,
291
- deps: [node84, node76, node75, node73, node72, node74]
291
+ deps: [node84, node72, node83, node58, node59, node67]
292
292
  });
293
293
 
294
- export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service66, node71, exports_permission2, Rule3, Ruleset2, Event13 };
294
+ export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError5, evaluate2, merge2, Service53, node57, exports_permission, Rule2, Ruleset2, Event10 };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info23,
8
+ Info: () => Info10,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info23 = SessionProviderContext.Info;
22
+ var Info10 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
52
52
  var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
53
53
  var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
54
54
 
55
- export { Info23, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
55
+ export { Info10, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./vcs-f8x5rdn0.js";
4
+ } from "./command-3nc90kmd.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./vcs-r9v7jrnn.js";
8
+ } from "./command-hxvm7zmc.js";
9
9
  import {
10
- Service64,
11
- node69
12
- } from "./vcs-bd1esbde.js";
10
+ Service46,
11
+ node49
12
+ } from "./command-h9nzt5cp.js";
13
13
  import {
14
- Service60,
15
- node65
16
- } from "./vcs-4m2pmvxz.js";
14
+ Service44,
15
+ node47
16
+ } from "./command-hwe7x4em.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./vcs-ec1grn59.js";
19
+ } from "./command-ec1grn59.js";
20
20
  import {
21
- make19
22
- } from "./vcs-rhraev7y.js";
21
+ make15
22
+ } from "./command-f2n192rq.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service57
26
- } from "./vcs-f73rjn58.js";
25
+ Service42
26
+ } from "./command-jvf3yq6v.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./vcs-2e96adxv.js";
29
+ } from "./command-5xp4z8zk.js";
30
30
  import {
31
- Service68,
32
- node73
33
- } from "./vcs-45f5zjr0.js";
31
+ Service54,
32
+ node58
33
+ } from "./command-9maaan9b.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./vcs-3rpa2x9h.js";
36
+ } from "./command-sxyb6qad.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./vcs-5k606f7k.js";
39
+ } from "./command-138p5ddt.js";
40
40
  import {
41
41
  __export
42
- } from "./vcs-9rqn6x4v.js";
42
+ } from "./command-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service56,
47
+ Service: () => Service41,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer21,
50
- node: () => node62,
49
+ layer: () => layer17,
50
+ node: () => node45,
51
51
  noopLayer: () => noopLayer3,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service56 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service41 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer21 = Layer.effect(Service56, Effect.gen(function* () {
69
- const store = yield* Service68;
70
- const instances = yield* Service60;
68
+ var layer17 = Layer.effect(Service41, Effect.gen(function* () {
69
+ const store = yield* Service54;
70
+ const instances = yield* Service44;
71
71
  const bus = yield* Service79;
72
- const jobs = yield* Service64;
72
+ const jobs = yield* Service46;
73
73
  const db = (yield* Service80).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,13 +82,13 @@ var layer21 = Layer.effect(Service56, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service57.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service42.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable)
89
89
  });
90
90
  });
91
- const coordinator = yield* make19({
91
+ const coordinator = yield* make15({
92
92
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
93
93
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
94
94
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -109,7 +109,7 @@ var layer21 = Layer.effect(Service56, Effect.gen(function* () {
109
109
  }, releaseOnCommit(sessionID));
110
110
  }))
111
111
  });
112
- return Service56.of({
112
+ return Service41.of({
113
113
  active: coordinator.active,
114
114
  isActive: coordinator.isActive,
115
115
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -128,12 +128,12 @@ var layer21 = Layer.effect(Service56, Effect.gen(function* () {
128
128
  awaitIdle: coordinator.awaitIdle
129
129
  });
130
130
  }));
131
- var node62 = makeGlobalNode({
132
- service: Service56,
133
- layer: layer21,
134
- deps: [node73, node65, node84, node85, node69]
131
+ var node45 = makeGlobalNode({
132
+ service: Service41,
133
+ layer: layer17,
134
+ deps: [node58, node47, node84, node85, node49]
135
135
  });
136
- var noopLayer3 = Layer.succeed(Service56, Service56.of({
136
+ var noopLayer3 = Layer.succeed(Service41, Service41.of({
137
137
  active: Effect.succeed(new Set),
138
138
  isActive: () => Effect.succeed(false),
139
139
  resume: () => Effect.void,
@@ -142,4 +142,4 @@ var noopLayer3 = Layer.succeed(Service56, Service56.of({
142
142
  awaitIdle: () => Effect.void
143
143
  }));
144
144
 
145
- export { Service56, terminal2, layer21, node62, noopLayer3, exports_execution };
145
+ export { Service41, terminal2, layer17, node45, noopLayer3, exports_execution };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./vcs-qaymkmh1.js";
3
+ } from "./command-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
@@ -3,28 +3,28 @@ import {
3
3
  UnsupportedPackageError3,
4
4
  UnresolvedProviderVariablesError3,
5
5
  UnsupportedCompactionError3,
6
- Service62,
7
- node67
8
- } from "./vcs-5vb9gjps.js";
6
+ Service72,
7
+ node77
8
+ } from "./command-070a9e04.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./vcs-7w99qc9d.js";
11
+ } from "./command-5epte933.js";
12
12
  import {
13
13
  __export
14
- } from "./vcs-9rqn6x4v.js";
14
+ } from "./command-9rqn6x4v.js";
15
15
 
16
16
  // src/session/runner/model.ts
17
17
  var exports_model = {};
18
18
  __export(exports_model, {
19
19
  ModelNotSelectedError: () => ModelNotSelectedError2,
20
20
  ModelUnavailableError: () => ModelUnavailableError2,
21
- Service: () => Service59,
21
+ Service: () => Service45,
22
22
  SessionRunnerModel: () => exports_model,
23
23
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
24
24
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
25
25
  UnsupportedPackageError: () => UnsupportedPackageError2,
26
26
  VariantUnavailableError: () => VariantUnavailableError2,
27
- node: () => node64,
27
+ node: () => node48,
28
28
  resolved: () => resolved2
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -51,7 +51,7 @@ var UnsupportedPackageError2 = UnsupportedPackageError3;
51
51
  var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
52
52
  var UnsupportedCompactionError2 = UnsupportedCompactionError3;
53
53
 
54
- class Service59 extends Context.Service()("@opencode/SessionRunnerModel") {
54
+ class Service45 extends Context.Service()("@opencode/SessionRunnerModel") {
55
55
  }
56
56
  var resolved2 = (model, options) => ({
57
57
  model,
@@ -65,9 +65,9 @@ var resolved2 = (model, options) => ({
65
65
  limit: options.limit,
66
66
  compaction: options.compaction
67
67
  });
68
- var layer = Layer.effect(Service59, Effect.gen(function* () {
69
- const resolver = yield* Service62;
70
- return Service59.of({
68
+ var layer = Layer.effect(Service45, Effect.gen(function* () {
69
+ const resolver = yield* Service72;
70
+ return Service45.of({
71
71
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
72
72
  if (!session.model) {
73
73
  const resolved = yield* resolver.resolve();
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
85
85
  })
86
86
  });
87
87
  }));
88
- var node64 = makeLocationNode({ service: Service59, layer, deps: [node67] });
88
+ var node48 = makeLocationNode({ service: Service45, layer, deps: [node77] });
89
89
 
90
- export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service59, resolved2, node64, exports_model };
90
+ export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service45, resolved2, node48, exports_model };