@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,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./vcs-2a5m3afh.js";
3
+ } from "./command-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./vcs-922hggd3.js";
6
+ } from "./command-922hggd3.js";
7
7
  import {
8
- Service71
9
- } from "./vcs-wgada9a8.js";
8
+ Service67
9
+ } from "./command-hgdt9556.js";
10
10
  import {
11
- Service54
12
- } from "./vcs-n30gy4xr.js";
11
+ Service59
12
+ } from "./command-m9tpa25m.js";
13
13
  import {
14
- Service53
15
- } from "./vcs-atgzv10b.js";
14
+ Service21
15
+ } from "./command-se0tgtr4.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
- Entry4
21
- } from "./vcs-ak6krb0w.js";
20
+ Entry2
21
+ } from "./command-tkzgmprh.js";
22
22
  import {
23
- Service66
24
- } from "./vcs-djgnpn76.js";
23
+ Service53
24
+ } from "./command-86g4d0kj.js";
25
25
  import {
26
- Service47
27
- } from "./vcs-vrx2x45w.js";
26
+ Service52
27
+ } from "./command-59zahvaa.js";
28
28
  import {
29
29
  __export
30
- } from "./vcs-9rqn6x4v.js";
30
+ } from "./command-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input12,
37
- Output: () => Output8,
38
- Plugin: () => Plugin43,
39
- name: () => name12,
40
- toModelContent: () => toModelContent6
36
+ Input: () => Input10,
37
+ Output: () => Output7,
38
+ Plugin: () => Plugin29,
39
+ name: () => name10,
40
+ toModelContent: () => toModelContent5
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name12 = "glob";
46
- var Input12 = Schema.Struct({
45
+ var name10 = "glob";
46
+ var Input10 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input12 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output8 = Schema.Array(Entry4);
59
- var toModelContent6 = (entries, truncated = false) => {
58
+ var Output7 = Schema.Array(Entry2);
59
+ var toModelContent5 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin43 = {
66
+ var Plugin29 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service54;
70
- const ripgrep = yield* Service53;
71
- const location = yield* Service71;
72
- const access = yield* Service47;
73
- const permission = yield* Service66;
69
+ const environment = yield* Service59;
70
+ const ripgrep = yield* Service21;
71
+ const location = yield* Service67;
72
+ const access = yield* Service52;
73
+ const permission = yield* Service53;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name12,
75
+ name: name10,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input12,
79
- output: Output8,
78
+ input: Input10,
79
+ output: Output7,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name12,
86
+ action: name10,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -111,18 +111,18 @@ var Plugin43 = {
111
111
  orElse: () => Effect.fail(new ToolFailure({
112
112
  message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
113
113
  }))
114
- }), Effect.map((result) => result.map((entry) => Entry4.make({
114
+ }), Effect.map((result) => result.map((entry) => Entry2.make({
115
115
  ...entry,
116
116
  path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
117
117
  }))));
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name12, Input12, Output8, toModelContent6, Plugin43, exports_glob };
128
+ export { name10, Input10, Output7, toModelContent5, Plugin29, exports_glob };
@@ -2,35 +2,35 @@ import {
2
2
  ephemeral2,
3
3
  Service79,
4
4
  node84
5
- } from "./vcs-r9v7jrnn.js";
5
+ } from "./command-hxvm7zmc.js";
6
6
  import {
7
- Key4,
7
+ Key3,
8
8
  unavailable3,
9
9
  removed2,
10
10
  make21,
11
11
  diffByKey2
12
- } from "./vcs-eaj1djv9.js";
12
+ } from "./command-s8d7rejh.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./vcs-922hggd3.js";
15
+ } from "./command-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./vcs-kg06axw8.js";
18
+ } from "./command-kg06axw8.js";
19
19
  import {
20
20
  __export
21
- } from "./vcs-9rqn6x4v.js";
21
+ } from "./command-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event20,
26
+ Event: () => Event12,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options10,
30
- Service: () => Service78,
31
- configured: () => configured11,
32
- layer: () => layer25,
33
- node: () => node83
29
+ Options: () => Options7,
30
+ Service: () => Service64,
31
+ configured: () => configured9,
32
+ layer: () => layer21,
33
+ node: () => node69
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
41
41
  }) {
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
- var key = Key4.make("core/instructions");
45
- var Event20 = {
44
+ var key = Key3.make("core/instructions");
45
+ var Event12 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options10 = Schema.Struct({
48
+ var Options7 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service78 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service64 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer25 = (options) => Layer.effect(Service78, Effect.gen(function* () {
55
+ var layer21 = (options) => Layer.effect(Service64, Effect.gen(function* () {
56
56
  const bus = yield* Service79;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
@@ -72,7 +72,7 @@ var layer25 = (options) => Layer.effect(Service78, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event20.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event12.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
77
  const source = (value) => make21({
78
78
  key,
@@ -90,7 +90,7 @@ var layer25 = (options) => Layer.effect(Service78, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service78.of({
93
+ return Service64.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer25 = (options) => Layer.effect(Service78, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured11(options) {
107
+ function configured9(options) {
108
108
  return makeLocationNode({
109
- service: Service78,
110
- layer: layer25(options),
109
+ service: Service64,
110
+ layer: layer21(options),
111
111
  deps: [node84]
112
112
  });
113
113
  }
114
- var node83 = configured11();
114
+ var node69 = configured9();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event20, Options10, Service78, layer25, configured11, node83, exports_instruction_discovery };
145
+ export { File2, Event12, Options7, Service64, layer21, configured9, node69, exports_instruction_discovery };
@@ -1,28 +1,28 @@
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
10
  SessionEvent2
11
- } from "./vcs-ec1grn59.js";
11
+ } from "./command-ec1grn59.js";
12
12
  import {
13
- Service68,
14
- node73
15
- } from "./vcs-45f5zjr0.js";
13
+ Service54,
14
+ node58
15
+ } from "./command-9maaan9b.js";
16
16
  import {
17
17
  __export
18
- } from "./vcs-9rqn6x4v.js";
18
+ } from "./command-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service13,
23
+ Service: () => Service7,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node17
25
+ node: () => node10
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service13 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service7 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service13, Effect.gen(function* () {
37
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
38
38
  const bus = yield* Service79;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service68;
41
- const location = yield* Service71;
40
+ const store = yield* Service54;
41
+ const location = yield* Service67;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service13.of({ load });
87
+ return Service7.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node17 = makeLocationNode({
98
+ var node10 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node84, FSUtil.node, node76, node73]
101
+ deps: [node84, FSUtil.node, node72, node58]
102
102
  });
103
103
 
104
- export { Service13, node17, exports_instructions };
104
+ export { Service7, node10, exports_instructions };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./vcs-qaymkmh1.js";
3
+ } from "./command-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/unstable/process";
8
- function make7(input) {
8
+ function make5(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make7 };
264
+ export { make5 };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./vcs-922hggd3.js";
3
+ } from "./command-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service40
7
- } from "./vcs-vd2x9cn1.js";
6
+ Service65
7
+ } from "./command-cpj6a2aa.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./vcs-2a5m3afh.js";
10
+ } from "./command-2a5m3afh.js";
11
11
  import {
12
- Service54
13
- } from "./vcs-n30gy4xr.js";
12
+ Service59
13
+ } from "./command-m9tpa25m.js";
14
14
  import {
15
- Service64
16
- } from "./vcs-bd1esbde.js";
15
+ Service46
16
+ } from "./command-h9nzt5cp.js";
17
17
  import {
18
- Service66
19
- } from "./vcs-djgnpn76.js";
18
+ Service53
19
+ } from "./command-86g4d0kj.js";
20
20
  import {
21
- Service47,
21
+ Service52,
22
22
  resolvePath2
23
- } from "./vcs-vrx2x45w.js";
23
+ } from "./command-59zahvaa.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./vcs-fxbjtjnd.js";
29
+ } from "./command-fxbjtjnd.js";
30
30
  import {
31
- Service43,
31
+ Service61,
32
32
  name15
33
- } from "./vcs-xdxv2f96.js";
33
+ } from "./command-y22f4a62.js";
34
34
  import {
35
- NotFoundError5,
36
- Service38
37
- } from "./vcs-54n60knz.js";
35
+ NotFoundError7,
36
+ Service56
37
+ } from "./command-4a54se45.js";
38
38
  import {
39
- Service18
40
- } from "./vcs-ezneqf5r.js";
39
+ Service25
40
+ } from "./command-6tqsccrn.js";
41
41
  import {
42
42
  scan2
43
- } from "./vcs-89aakzzy.js";
43
+ } from "./command-0btf9jkj.js";
44
44
  import {
45
45
  __export
46
- } from "./vcs-9rqn6x4v.js";
46
+ } from "./command-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell2 = {};
50
50
  __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input6,
53
- Plugin: () => Plugin37,
52
+ Input: () => Input11,
53
+ Plugin: () => Plugin30,
54
54
  ShellTool: () => exports_shell2,
55
- name: () => name6
55
+ name: () => name11
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name6 = "shell";
59
+ var name11 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input6 = Schema.Struct({
73
+ var Input11 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin37 = {
118
+ var Plugin30 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service18;
122
- const jobs = yield* Service64;
121
+ const sessions = yield* Service25;
122
+ const jobs = yield* Service46;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service54;
125
- const access = yield* Service47;
126
- const shell = yield* Service38;
127
- const shellSelect = yield* Service43;
124
+ const environment = yield* Service59;
125
+ const access = yield* Service52;
126
+ const shell = yield* Service56;
127
+ const shellSelect = yield* Service61;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service66;
130
- const config = yield* Service40;
129
+ const permission = yield* Service53;
130
+ const config = yield* Service65;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin37 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name6,
149
+ action: name11,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin37 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name6,
186
+ name: name11,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input6,
189
+ input: Input11,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin37 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError5({ id: info.id });
208
+ return yield* new NotFoundError7({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name6,
222
+ type: name11,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
252
- const tool = event.tools[name6];
252
+ const tool = event.tools[name11];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
257
257
  })
258
258
  };
259
259
 
260
- export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin37, exports_shell2 };
260
+ export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin30, exports_shell2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/skills.ts
6
6
  var exports_skills = {};
7
7
  __export(exports_skills, {
8
8
  ConfigSkillsV1: () => exports_skills,
9
- Info: () => Info15
9
+ Info: () => Info19
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info15 = Schema.Struct({
12
+ var Info19 = Schema.Struct({
13
13
  paths: Schema.optional(Schema.Array(Schema.String)).annotate({
14
14
  description: "Additional paths to skill folders"
15
15
  }),
@@ -18,4 +18,4 @@ var Info15 = Schema.Struct({
18
18
  })
19
19
  });
20
20
 
21
- export { Info15, exports_skills };
21
+ export { Info19, exports_skills };