@opencode/core 0.0.0-dev-20327 → 0.0.0-dev-20328

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 (798) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{repository-xkhfjrgz.js → command-08rawchj.js} +3 -3
  8. package/dist/chunks/{repository-hafbkqsf.js → command-0bbg5mgz.js} +9 -9
  9. package/dist/chunks/{repository-03yhb5ad.js → command-0f00b5dx.js} +17 -17
  10. package/dist/chunks/{repository-gtf1jrjg.js → command-0grgek18.js} +23 -23
  11. package/dist/chunks/{repository-52hb404k.js → command-0hf9g8pg.js} +6 -6
  12. package/dist/chunks/{repository-f3h1v3p4.js → command-0jq7xanq.js} +8 -8
  13. package/dist/chunks/{repository-6hjx5zpb.js → command-0jq9fyba.js} +9 -9
  14. package/dist/chunks/{repository-0paq2nw3.js → command-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{repository-djj2fqjh.js → command-0tsnk9s4.js} +22 -22
  16. package/dist/chunks/{repository-fjvydvzm.js → command-0z8vjex2.js} +7 -7
  17. package/dist/chunks/{repository-94vf58n3.js → command-12wyshmk.js} +12 -12
  18. package/dist/chunks/{repository-d8r9gpwm.js → command-133zd6pq.js} +10 -10
  19. package/dist/chunks/{repository-mwhefvvw.js → command-173e3mya.js} +3 -3
  20. package/dist/chunks/{repository-8x0w9677.js → command-17zy7cfp.js} +4 -4
  21. package/dist/chunks/{repository-a2ew8a62.js → command-19vf66h0.js} +4 -4
  22. package/dist/chunks/{repository-6yea8ax2.js → command-1a79m22w.js} +9 -9
  23. package/dist/chunks/{repository-r8xr0va3.js → command-1acjjqhc.js} +4 -4
  24. package/dist/chunks/{repository-qz061pbh.js → command-1awajp9d.js} +6 -6
  25. package/dist/chunks/{repository-1bbkgx8g.js → command-1bbkgx8g.js} +1 -1
  26. package/dist/chunks/{repository-1dazxqgg.js → command-1dazxqgg.js} +2 -2
  27. package/dist/chunks/{repository-fnrmajhb.js → command-1g734vay.js} +10 -10
  28. package/dist/chunks/{repository-hwce49kt.js → command-1h6krnfg.js} +18 -18
  29. package/dist/chunks/{repository-7g7rfneh.js → command-1k3w44xe.js} +26 -26
  30. package/dist/chunks/{repository-8sze2n9a.js → command-1p07q0wb.js} +8 -8
  31. package/dist/chunks/{repository-46m0hjzr.js → command-1p8321re.js} +4 -4
  32. package/dist/chunks/{repository-dt4h0wgn.js → command-20g5pfhx.js} +10 -10
  33. package/dist/chunks/{repository-21r38tys.js → command-21r38tys.js} +1 -1
  34. package/dist/chunks/{repository-knx6vc55.js → command-26wd49eb.js} +22 -22
  35. package/dist/chunks/{repository-29x78va6.js → command-29x78va6.js} +2 -2
  36. package/dist/chunks/{repository-2a5m3afh.js → command-2a5m3afh.js} +1 -1
  37. package/dist/chunks/{repository-c4sra46q.js → command-2j34hmmc.js} +9 -9
  38. package/dist/chunks/{repository-2p8k3371.js → command-2p8k3371.js} +3 -3
  39. package/dist/chunks/{repository-dqmwfghx.js → command-2qp6y8xf.js} +5 -5
  40. package/dist/chunks/{repository-wgjgjn1f.js → command-2r6ezsm1.js} +18 -18
  41. package/dist/chunks/{repository-zeasar47.js → command-2ta6pfy2.js} +12 -12
  42. package/dist/chunks/{repository-vxp3kcg3.js → command-2vgzs72b.js} +5 -5
  43. package/dist/chunks/{repository-qn1kcwf1.js → command-32eqhqc9.js} +33 -33
  44. package/dist/chunks/{repository-ekmk2epb.js → command-35zdg7pf.js} +8 -8
  45. package/dist/chunks/{repository-pw3aqa3b.js → command-36pz7r0j.js} +21 -21
  46. package/dist/chunks/{repository-w3yyykta.js → command-3b9qt4hj.js} +9 -9
  47. package/dist/chunks/{repository-mv2ay9dz.js → command-3ce9fkjd.js} +17 -17
  48. package/dist/chunks/{repository-3fc6dm20.js → command-3fc6dm20.js} +1 -1
  49. package/dist/chunks/{repository-h1hhz3wc.js → command-3h2pgdn1.js} +11 -11
  50. package/dist/chunks/{repository-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  51. package/dist/chunks/{repository-g0445xdp.js → command-3hfr6h8q.js} +8 -8
  52. package/dist/chunks/{repository-a1x9jh75.js → command-3njz9hw1.js} +5 -5
  53. package/dist/chunks/{repository-rhafb4aa.js → command-3pe7sts8.js} +9 -9
  54. package/dist/chunks/{repository-3smtnn6g.js → command-3smtnn6g.js} +1 -1
  55. package/dist/chunks/{repository-3tvqynh2.js → command-3tvqynh2.js} +1 -1
  56. package/dist/chunks/{repository-e8g69mg2.js → command-3yrc8p0f.js} +25 -25
  57. package/dist/chunks/{repository-3zsf4n22.js → command-3zsf4n22.js} +1 -1
  58. package/dist/chunks/{repository-1j5pt4ft.js → command-407bfz6x.js} +46 -46
  59. package/dist/chunks/{repository-9skhgxq9.js → command-41kk9vt4.js} +27 -27
  60. package/dist/chunks/{repository-4nzwy074.js → command-44pdqs77.js} +4 -4
  61. package/dist/chunks/{repository-eeaf82dq.js → command-4c2df9zx.js} +8 -8
  62. package/dist/chunks/{repository-xgfgp5z3.js → command-4xb4td9x.js} +20 -20
  63. package/dist/chunks/{repository-ksdq3yt2.js → command-52tmng8s.js} +21 -21
  64. package/dist/chunks/{repository-54ma36ye.js → command-54ma36ye.js} +1 -1
  65. package/dist/chunks/{repository-ckecvw8r.js → command-54tcyq79.js} +2 -2
  66. package/dist/chunks/{repository-z45mjmxx.js → command-55149hb6.js} +22 -22
  67. package/dist/chunks/{repository-z2hzy96q.js → command-55mw5dew.js} +3 -3
  68. package/dist/chunks/{repository-mfqp6xfm.js → command-56gdpj1q.js} +6 -6
  69. package/dist/chunks/{repository-xfkkasph.js → command-57b9ws8p.js} +7 -7
  70. package/dist/chunks/{repository-57ez7d0k.js → command-57ez7d0k.js} +2 -2
  71. package/dist/chunks/{repository-5daktx2q.js → command-5daktx2q.js} +1 -1
  72. package/dist/chunks/{repository-dxy9rwgs.js → command-5fr28cxv.js} +13 -13
  73. package/dist/chunks/{repository-p3expsqa.js → command-5gydy8qd.js} +9 -9
  74. package/dist/chunks/{repository-5t3nmthw.js → command-5t3nmthw.js} +2 -2
  75. package/dist/chunks/{repository-rwdmhfe9.js → command-5tc03052.js} +4 -4
  76. package/dist/chunks/{repository-xdk9p2qn.js → command-5wtwrezn.js} +4 -4
  77. package/dist/chunks/{repository-mb7qsxty.js → command-5xampkzv.js} +18 -18
  78. package/dist/chunks/{repository-evh8asg6.js → command-5ysec52w.js} +21 -21
  79. package/dist/chunks/{repository-669tq793.js → command-669tq793.js} +1 -1
  80. package/dist/chunks/{repository-xy1m2s0m.js → command-67a3m4yw.js} +5 -5
  81. package/dist/chunks/{repository-7sg25f73.js → command-68g7trhf.js} +6 -6
  82. package/dist/chunks/{repository-6msgmcgs.js → command-6msgmcgs.js} +1 -1
  83. package/dist/chunks/{repository-ypjj027g.js → command-6p36spce.js} +5 -5
  84. package/dist/chunks/{repository-62jtkyqj.js → command-6t2wbhs5.js} +4 -4
  85. package/dist/chunks/{repository-x6p7tmnf.js → command-6z9y85k1.js} +12 -12
  86. package/dist/chunks/{repository-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{repository-bzrp7q37.js → command-7cqkmc07.js} +11 -11
  88. package/dist/chunks/{repository-7dqw4kz8.js → command-7dqw4kz8.js} +1 -1
  89. package/dist/chunks/{repository-ead3g9p8.js → command-7gvwkz6m.js} +5 -5
  90. package/dist/chunks/{repository-5pwkv57x.js → command-81pgz9gn.js} +5 -5
  91. package/dist/chunks/{repository-84txncab.js → command-84txncab.js} +1 -1
  92. package/dist/chunks/{repository-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
  93. package/dist/chunks/{repository-zsm3phbg.js → command-8hgfhrm0.js} +8 -8
  94. package/dist/chunks/{repository-hhvyr323.js → command-8p6hdx4a.js} +43 -43
  95. package/dist/chunks/{repository-92a4ap4w.js → command-92a4ap4w.js} +2 -2
  96. package/dist/chunks/{repository-w6yj84m2.js → command-93r6kb0j.js} +8 -8
  97. package/dist/chunks/{repository-pp2vfp84.js → command-9bye45vx.js} +18 -18
  98. package/dist/chunks/{repository-pnaxc6j9.js → command-9jbvj98d.js} +8 -8
  99. package/dist/chunks/{repository-yb1xnzya.js → command-9tw8yaak.js} +11 -11
  100. package/dist/chunks/{repository-6ytch5ea.js → command-9x57qh30.js} +15 -15
  101. package/dist/chunks/{repository-kfahhyhy.js → command-a49t4mpe.js} +22 -22
  102. package/dist/chunks/{repository-6abfc7az.js → command-a4jz5h7x.js} +26 -26
  103. package/dist/chunks/{repository-fzhjq0vw.js → command-a7xxapnj.js} +8 -8
  104. package/dist/chunks/{repository-aaet6srn.js → command-aaet6srn.js} +2 -2
  105. package/dist/chunks/command-achjr09z.js +26 -0
  106. package/dist/chunks/{repository-ddwbawsj.js → command-achky8s5.js} +26 -26
  107. package/dist/chunks/{repository-y24krm64.js → command-ad1se6we.js} +8 -8
  108. package/dist/chunks/{repository-azbzvrwt.js → command-ahnc2hpr.js} +11 -11
  109. package/dist/chunks/{repository-e0a154fg.js → command-ak9msbxp.js} +8 -8
  110. package/dist/chunks/{repository-1a6p2twq.js → command-an7cqtb7.js} +4 -4
  111. package/dist/chunks/{repository-g3mc5kfg.js → command-atk3new3.js} +22 -22
  112. package/dist/chunks/{repository-44khr5w8.js → command-aze5dktd.js} +22 -22
  113. package/dist/chunks/{repository-bkzqp4j5.js → command-b06mxnn4.js} +16 -16
  114. package/dist/chunks/{repository-b6gygkdw.js → command-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{repository-nyqx1cb3.js → command-b7b4ctej.js} +5 -5
  116. package/dist/chunks/{repository-z07pqspn.js → command-bjtzbw4r.js} +3 -3
  117. package/dist/chunks/{repository-5xpznt2d.js → command-bk7jaeqh.js} +4 -4
  118. package/dist/chunks/{repository-cqbspedd.js → command-bq6be9me.js} +2 -2
  119. package/dist/chunks/{repository-rftjbn8p.js → command-bqwcv1te.js} +3 -3
  120. package/dist/chunks/{repository-7ec2pg6r.js → command-brbc9hym.js} +13 -13
  121. package/dist/chunks/{repository-e4xyx1jr.js → command-c3btd4vx.js} +19 -19
  122. package/dist/chunks/{repository-z983jzxa.js → command-cca4q062.js} +21 -21
  123. package/dist/chunks/{repository-tap773t1.js → command-ccq9v9cm.js} +7 -7
  124. package/dist/chunks/{repository-gycdx838.js → command-ctmf4cjh.js} +7 -7
  125. package/dist/chunks/{repository-krbat558.js → command-d8jep961.js} +6 -6
  126. package/dist/chunks/{repository-awbq9rs1.js → command-d8xd8q6j.js} +10 -10
  127. package/dist/chunks/{repository-5ph46173.js → command-dzqgar42.js} +25 -25
  128. package/dist/chunks/{repository-74n4xpv9.js → command-e1cpzhmy.js} +19 -19
  129. package/dist/chunks/{repository-7mx8b6x1.js → command-e73y8s3p.js} +13 -13
  130. package/dist/chunks/{repository-ecfe7b91.js → command-ecfe7b91.js} +2 -2
  131. package/dist/chunks/{repository-zyc1d5mg.js → command-edgjk5pb.js} +13 -13
  132. package/dist/chunks/{repository-k9psjfbd.js → command-eeavwd92.js} +3 -3
  133. package/dist/chunks/{repository-ef5x83kb.js → command-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{repository-8wz7d5k9.js → command-ehzgjc3e.js} +22 -22
  135. package/dist/chunks/{repository-etq0c3wd.js → command-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{repository-346y6mfm.js → command-eyhtqccb.js} +3 -3
  137. package/dist/chunks/{repository-xwbd059y.js → command-ezw3czwx.js} +48 -48
  138. package/dist/chunks/{repository-g2yz86wh.js → command-f38wsw69.js} +2 -2
  139. package/dist/chunks/{repository-9esrwjy0.js → command-f3c11mr4.js} +168 -168
  140. package/dist/chunks/{repository-cadhwe8h.js → command-f7arvf55.js} +9 -9
  141. package/dist/chunks/{repository-dn8jpt1b.js → command-fdjp4t8r.js} +10 -10
  142. package/dist/chunks/{repository-qyd0022c.js → command-fmsg4ra7.js} +32 -32
  143. package/dist/chunks/{repository-yb2az3xg.js → command-fraeex00.js} +5 -5
  144. package/dist/chunks/{repository-g5agzp2h.js → command-g5agzp2h.js} +2 -2
  145. package/dist/chunks/{repository-x7rhc6wm.js → command-g5g6qkd8.js} +3 -3
  146. package/dist/chunks/{repository-bahkxd2v.js → command-g8k5egew.js} +13 -13
  147. package/dist/chunks/{repository-sf5q03y5.js → command-ga3d7eyp.js} +42 -42
  148. package/dist/chunks/{repository-gd4qta3r.js → command-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{repository-2fj6nf2m.js → command-gfkmrq4p.js} +24 -24
  150. package/dist/chunks/{repository-94ek1h2f.js → command-gfvb90ym.js} +2 -2
  151. package/dist/chunks/{repository-yxn7kx7v.js → command-gjbqwzd2.js} +32 -32
  152. package/dist/chunks/{repository-r2m716tb.js → command-gjwgx2c5.js} +9 -9
  153. package/dist/chunks/{repository-5khs75m3.js → command-gkgr9f8v.js} +33 -33
  154. package/dist/chunks/{repository-092bevw2.js → command-gkkss05z.js} +4 -4
  155. package/dist/chunks/{repository-pdz52ded.js → command-gmjj820p.js} +20 -20
  156. package/dist/chunks/{repository-gv6a8nnw.js → command-gv6a8nnw.js} +2 -2
  157. package/dist/chunks/{repository-stwc6554.js → command-h0z3n8yt.js} +8 -8
  158. package/dist/chunks/{repository-h6vf3j39.js → command-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{repository-h9wp8z5w.js → command-h9wp8z5w.js} +1 -1
  160. package/dist/chunks/{repository-hgvwc7cd.js → command-hk140s3y.js} +11 -11
  161. package/dist/chunks/{repository-8a17t1bw.js → command-hpjjk0gj.js} +5 -5
  162. package/dist/chunks/{repository-ht5y0zrb.js → command-ht5y0zrb.js} +1 -1
  163. package/dist/chunks/{repository-j56e64zr.js → command-j56e64zr.js} +1 -1
  164. package/dist/chunks/{repository-ar00q028.js → command-j6q1cfcf.js} +7 -7
  165. package/dist/chunks/{repository-20gsadav.js → command-j6y5gsxd.js} +20 -20
  166. package/dist/chunks/{repository-zgt0ygn8.js → command-jc8cd7se.js} +10 -10
  167. package/dist/chunks/{repository-pkve43rd.js → command-jcvmways.js} +41 -41
  168. package/dist/chunks/{repository-z0aj456m.js → command-jewzahs7.js} +4 -4
  169. package/dist/chunks/{repository-k91hc397.js → command-jjc9h9gx.js} +8 -8
  170. package/dist/chunks/{repository-a67k4gtk.js → command-jygjpmnc.js} +15 -15
  171. package/dist/chunks/{repository-0aejbemy.js → command-k458ssz6.js} +17 -17
  172. package/dist/chunks/{repository-pen903sm.js → command-k8zgzs4j.js} +7 -7
  173. package/dist/chunks/{repository-jx6w3tcg.js → command-kfv2zn0s.js} +28 -28
  174. package/dist/chunks/{repository-hmy61pfr.js → command-kha295zz.js} +9 -9
  175. package/dist/chunks/{repository-rb6gffef.js → command-knpa7q1k.js} +40 -40
  176. package/dist/chunks/{repository-9f5fzrca.js → command-kpycjfkz.js} +35 -35
  177. package/dist/chunks/{repository-d2ksf4va.js → command-ks2axvh4.js} +17 -17
  178. package/dist/chunks/{repository-734ywdzp.js → command-m18nzyk6.js} +41 -41
  179. package/dist/chunks/{repository-m3fdjcah.js → command-m3fdjcah.js} +1 -1
  180. package/dist/chunks/{repository-cme5mnrk.js → command-m6bfk4mw.js} +15 -15
  181. package/dist/chunks/{repository-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{repository-zf9fes0n.js → command-md4m2kyr.js} +14 -14
  183. package/dist/chunks/{repository-64d4fz0c.js → command-mfz89tqk.js} +23 -23
  184. package/dist/chunks/{repository-2wts5qzq.js → command-mm5kxf07.js} +8 -8
  185. package/dist/chunks/{repository-ghat809j.js → command-mmeqzzre.js} +23 -23
  186. package/dist/chunks/command-mp2jdty2.js +252 -0
  187. package/dist/chunks/{repository-evfe50z6.js → command-mpc5v7rs.js} +31 -31
  188. package/dist/chunks/{repository-dnxkq42g.js → command-mpk0rfs5.js} +4 -4
  189. package/dist/chunks/{repository-522c72ec.js → command-mqafpt2f.js} +1 -1
  190. package/dist/chunks/{repository-cgvtq6pd.js → command-n9p09fbd.js} +33 -33
  191. package/dist/chunks/{repository-k2yahx9c.js → command-nd3zz1gr.js} +5 -5
  192. package/dist/chunks/{repository-yk5hfv3m.js → command-nr8aa75s.js} +28 -28
  193. package/dist/chunks/{repository-84qcc0z6.js → command-nsdyb8pw.js} +11 -11
  194. package/dist/chunks/{repository-4xrsv61j.js → command-nx1xqst5.js} +3 -3
  195. package/dist/chunks/{repository-0nf4068s.js → command-nxawm2f0.js} +15 -15
  196. package/dist/chunks/{repository-sp7fmdjf.js → command-nzj20ack.js} +12 -12
  197. package/dist/chunks/{repository-k3c624dm.js → command-nzks3jc8.js} +3 -3
  198. package/dist/chunks/{repository-2ccxq8sz.js → command-nzyyvfzd.js} +37 -37
  199. package/dist/chunks/{repository-v81gfb7z.js → command-p1s99nq8.js} +11 -11
  200. package/dist/chunks/{repository-5v36bsqd.js → command-p64sp65g.js} +41 -41
  201. package/dist/chunks/{repository-4pnr4hhq.js → command-p7j22ek7.js} +8 -8
  202. package/dist/chunks/{repository-qmyetdfw.js → command-pgfgfh2x.js} +16 -16
  203. package/dist/chunks/{repository-6ty81bja.js → command-phsdeme5.js} +14 -14
  204. package/dist/chunks/{repository-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{repository-pknna89w.js → command-pknna89w.js} +1 -1
  206. package/dist/chunks/{repository-xwatpa0g.js → command-pmmvzvq4.js} +76 -76
  207. package/dist/chunks/{repository-w4tc47y0.js → command-pppvxay8.js} +24 -24
  208. package/dist/chunks/{repository-wd3x2cqz.js → command-psazpmmj.js} +2 -2
  209. package/dist/chunks/{repository-c8e8p37w.js → command-q5ekdvah.js} +25 -25
  210. package/dist/chunks/{repository-qe2vk4xy.js → command-qd8zrxrt.js} +7 -7
  211. package/dist/chunks/{repository-vybhs2ww.js → command-qkpjvsg2.js} +11 -11
  212. package/dist/chunks/{repository-qsdy395h.js → command-qsdy395h.js} +1 -1
  213. package/dist/chunks/{repository-q26xrw20.js → command-qw2yw8z7.js} +13 -13
  214. package/dist/chunks/{repository-1tq060df.js → command-qz49fwgp.js} +4 -4
  215. package/dist/chunks/{repository-a5bnh3fe.js → command-r6q2c161.js} +11 -11
  216. package/dist/chunks/{repository-6hr9dd4j.js → command-r7cqnzm4.js} +16 -16
  217. package/dist/chunks/{repository-end8q9yf.js → command-rcj1qd62.js} +57 -57
  218. package/dist/chunks/{repository-rdw6cm16.js → command-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{repository-s8d7rejh.js → command-rhjbct0v.js} +4 -4
  220. package/dist/chunks/{repository-0tnq87cq.js → command-rpabj4tm.js} +13 -13
  221. package/dist/chunks/{repository-f73rjn58.js → command-rpg9c19m.js} +4 -4
  222. package/dist/chunks/{repository-46vthg38.js → command-rw4kw2hm.js} +6 -6
  223. package/dist/chunks/{repository-1ncm4hts.js → command-s4b4q9yc.js} +12 -12
  224. package/dist/chunks/{repository-s4enseaf.js → command-s4enseaf.js} +2 -2
  225. package/dist/chunks/{repository-e6v2k67t.js → command-s4x18w05.js} +1 -1
  226. package/dist/chunks/{repository-etsm0c4w.js → command-s53bx6aa.js} +16 -16
  227. package/dist/chunks/{repository-fnwzaghr.js → command-sb221pn8.js} +25 -25
  228. package/dist/chunks/{repository-9v98as8j.js → command-sf4638mk.js} +15 -15
  229. package/dist/chunks/{repository-xnbva5hb.js → command-sk5hhzgy.js} +13 -13
  230. package/dist/chunks/{repository-46zwd712.js → command-sp6nzw66.js} +20 -20
  231. package/dist/chunks/{repository-w0nrm5hv.js → command-t0xpt4yf.js} +26 -26
  232. package/dist/chunks/{repository-7resshyd.js → command-t2445nzz.js} +18 -18
  233. package/dist/chunks/{repository-q5zafh14.js → command-t4g45am5.js} +6 -6
  234. package/dist/chunks/{repository-2sabx5kp.js → command-t7pash87.js} +3 -3
  235. package/dist/chunks/{repository-3qtmwhvy.js → command-tahyjvza.js} +13 -13
  236. package/dist/chunks/{repository-tazgh4e4.js → command-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{repository-256vj6ze.js → command-tcdggtwa.js} +17 -17
  238. package/dist/chunks/{repository-tcezcvh9.js → command-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{repository-tdstcens.js → command-tdstcens.js} +1 -1
  240. package/dist/chunks/{repository-330w2vey.js → command-tea88xkw.js} +68 -68
  241. package/dist/chunks/{repository-ypyd1n4s.js → command-tn9j577v.js} +11 -11
  242. package/dist/chunks/{repository-wd11n6zd.js → command-tsbqqcav.js} +4 -4
  243. package/dist/chunks/{repository-tvtrv512.js → command-tvtrv512.js} +1 -1
  244. package/dist/chunks/{repository-hm4b16ap.js → command-tyq8797k.js} +37 -37
  245. package/dist/chunks/{repository-6cxm58b5.js → command-v556y4yv.js} +11 -11
  246. package/dist/chunks/{repository-ewbysjez.js → command-v9chgcj3.js} +10 -10
  247. package/dist/chunks/{repository-8c1hkqew.js → command-vb1y33sc.js} +11 -11
  248. package/dist/chunks/{repository-veqvce7d.js → command-veqvce7d.js} +1 -1
  249. package/dist/chunks/{repository-rgaw6yy6.js → command-vptby8qv.js} +14 -14
  250. package/dist/chunks/{repository-pqwcs79a.js → command-vr9bpkcp.js} +18 -18
  251. package/dist/chunks/{repository-bk8heh08.js → command-vtyptmt5.js} +318 -318
  252. package/dist/chunks/{repository-vy4zg7qh.js → command-vy4zg7qh.js} +5 -5
  253. package/dist/chunks/{repository-nk8qx497.js → command-vyxeydcn.js} +14 -14
  254. package/dist/chunks/{repository-vzcthcp8.js → command-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{repository-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
  256. package/dist/chunks/{repository-b5rh7nhk.js → command-w0a3dsx5.js} +8 -8
  257. package/dist/chunks/{repository-hrspk2jv.js → command-w2z5746y.js} +20 -20
  258. package/dist/chunks/{repository-e2vme18q.js → command-w37rjecm.js} +34 -34
  259. package/dist/chunks/{repository-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{repository-j91df599.js → command-w7kn78ad.js} +34 -34
  261. package/dist/chunks/{repository-mrg70h1v.js → command-w9kg2djp.js} +18 -18
  262. package/dist/chunks/{repository-51bqn9hx.js → command-wbbwn8b4.js} +14 -14
  263. package/dist/chunks/{repository-wd87259q.js → command-wd87259q.js} +1 -1
  264. package/dist/chunks/{repository-m76a2k0m.js → command-wr1nh5zj.js} +6 -6
  265. package/dist/chunks/{repository-8rkn0jpj.js → command-wwm9drsm.js} +23 -23
  266. package/dist/chunks/{repository-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{repository-a2skee4f.js → command-x4qspy2c.js} +20 -20
  268. package/dist/chunks/{repository-sjm6y15r.js → command-x7va2pbz.js} +10 -10
  269. package/dist/chunks/{repository-jr4dxy5c.js → command-xezhsny9.js} +3 -3
  270. package/dist/chunks/{repository-dmqcgk4z.js → command-xkntkrq7.js} +5 -5
  271. package/dist/chunks/{repository-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{repository-jpqeh2wc.js → command-y5rf7nzv.js} +4 -4
  273. package/dist/chunks/{repository-y71avatq.js → command-y71avatq.js} +1 -1
  274. package/dist/chunks/{repository-s5vjzjxc.js → command-y875hksg.js} +27 -27
  275. package/dist/chunks/{repository-vk6t1kw2.js → command-yb94rfg9.js} +9 -9
  276. package/dist/chunks/{repository-nj1j17x6.js → command-yf10kn3d.js} +8 -8
  277. package/dist/chunks/{repository-23nv5e2k.js → command-yk71r04e.js} +23 -23
  278. package/dist/chunks/{repository-ezbqyzn4.js → command-ykzc6cfj.js} +11 -11
  279. package/dist/chunks/{repository-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{repository-zy8av054.js → command-ytws7ykb.js} +2 -2
  281. package/dist/chunks/{repository-p5gmb07n.js → command-yybzjk8b.js} +5 -5
  282. package/dist/chunks/{repository-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{repository-bvjb2t71.js → command-z3kd0n8s.js} +30 -30
  284. package/dist/chunks/{repository-zeh9ct20.js → command-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{repository-5ngaw42y.js → command-zfa7ynd8.js} +18 -18
  286. package/dist/chunks/{repository-2qzws9he.js → command-zg0g1dmr.js} +3 -3
  287. package/dist/chunks/{repository-z8fpy401.js → command-zmj32qq0.js} +8 -8
  288. package/dist/chunks/{repository-znsx74x0.js → command-znsx74x0.js} +1 -1
  289. package/dist/chunks/{repository-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{repository-zxq2ej10.js → command-zxq2ej10.js} +1 -1
  291. package/dist/chunks/{repository-51b08hzt.js → command-zz0gf2gv.js} +11 -11
  292. package/dist/chunks/{repository-bx61kp2z.js → command-zzn75vcn.js} +22 -22
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +11 -11
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +83 -83
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +213 -213
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +142 -142
  317. package/dist/config/plugin/snapshot.js +121 -121
  318. package/dist/config/plugin/source.js +124 -124
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +124 -124
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +81 -81
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +370 -370
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +228 -228
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +9 -9
  431. package/dist/filesystem.js +100 -100
  432. package/dist/form.js +78 -78
  433. package/dist/formatter/builtins.js +2 -2
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +99 -99
  436. package/dist/git.js +6 -6
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +91 -91
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +83 -83
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +85 -85
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +130 -130
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +84 -84
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +81 -81
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +109 -109
  477. package/dist/mcp/instructions.js +129 -129
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +91 -91
  482. package/dist/model-resolver.js +96 -96
  483. package/dist/model.js +98 -98
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +82 -82
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +107 -107
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +86 -86
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +102 -102
  495. package/dist/plugin/command.js +100 -100
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +335 -335
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +120 -120
  528. package/dist/plugin/provider/openai.js +95 -95
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +74 -74
  544. package/dist/plugin/service.js +1 -1
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +352 -352
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +6 -6
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +222 -222
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +80 -80
  565. package/dist/provider.js +97 -97
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +91 -91
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +91 -91
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +95 -95
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +131 -131
  580. package/dist/session/context.js +149 -149
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +3 -3
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +219 -219
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +152 -152
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +88 -88
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +126 -126
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +1 -1
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +232 -232
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +2 -2
  610. package/dist/session/runner/step.js +124 -124
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +170 -170
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +209 -209
  621. package/dist/session/system-prompt.js +5 -5
  622. package/dist/session/title.js +157 -157
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +212 -212
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +213 -213
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +9 -9
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +110 -110
  635. package/dist/snapshot.js +93 -93
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +126 -126
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +116 -116
  647. package/dist/tool/plugin/question.js +101 -101
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +216 -216
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +220 -220
  652. package/dist/tool/plugin/webfetch.js +112 -112
  653. package/dist/tool/plugin/websearch.js +106 -106
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +14 -14
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +3 -3
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +1 -1
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +2 -2
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +91 -91
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +82 -82
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +77 -77
  691. package/dist/workspace/driver.js +7 -7
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +80 -80
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +8 -8
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +92 -92
  699. package/package.json +8 -8
  700. package/dist/chunks/repository-1g8ttbme.js +0 -26
  701. package/dist/chunks/repository-4rsbbpr6.js +0 -252
  702. /package/dist/chunks/{repository-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{repository-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{repository-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{repository-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{repository-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{repository-24dcb14g.js → command-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{repository-2710q6r3.js → command-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{repository-2axfhc9x.js → command-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{repository-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{repository-34c7v6d4.js → command-34c7v6d4.js} +0 -0
  712. /package/dist/chunks/{repository-359p4xyc.js → command-359p4xyc.js} +0 -0
  713. /package/dist/chunks/{repository-3asan66x.js → command-3asan66x.js} +0 -0
  714. /package/dist/chunks/{repository-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  715. /package/dist/chunks/{repository-3w5fmr99.js → command-3w5fmr99.js} +0 -0
  716. /package/dist/chunks/{repository-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  717. /package/dist/chunks/{repository-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  718. /package/dist/chunks/{repository-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  719. /package/dist/chunks/{repository-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
  720. /package/dist/chunks/{repository-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  721. /package/dist/chunks/{repository-53557ph1.js → command-53557ph1.js} +0 -0
  722. /package/dist/chunks/{repository-550bvhaj.js → command-550bvhaj.js} +0 -0
  723. /package/dist/chunks/{repository-6prwharc.js → command-6prwharc.js} +0 -0
  724. /package/dist/chunks/{repository-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{repository-7m9af43g.js → command-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{repository-822emrt2.js → command-822emrt2.js} +0 -0
  727. /package/dist/chunks/{repository-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{repository-8n3pysct.js → command-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{repository-8wj87zfr.js → command-8wj87zfr.js} +0 -0
  730. /package/dist/chunks/{repository-922hggd3.js → command-922hggd3.js} +0 -0
  731. /package/dist/chunks/{repository-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  732. /package/dist/chunks/{repository-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  733. /package/dist/chunks/{repository-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  734. /package/dist/chunks/{repository-af5trqkr.js → command-af5trqkr.js} +0 -0
  735. /package/dist/chunks/{repository-afrmfg78.js → command-afrmfg78.js} +0 -0
  736. /package/dist/chunks/{repository-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  737. /package/dist/chunks/{repository-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  738. /package/dist/chunks/{repository-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  739. /package/dist/chunks/{repository-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  740. /package/dist/chunks/{repository-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  741. /package/dist/chunks/{repository-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  742. /package/dist/chunks/{repository-d9fn303g.js → command-d9fn303g.js} +0 -0
  743. /package/dist/chunks/{repository-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  744. /package/dist/chunks/{repository-dajrwvna.js → command-dajrwvna.js} +0 -0
  745. /package/dist/chunks/{repository-dap0rakb.js → command-dap0rakb.js} +0 -0
  746. /package/dist/chunks/{repository-df08tz66.js → command-df08tz66.js} +0 -0
  747. /package/dist/chunks/{repository-dy18nga0.js → command-dy18nga0.js} +0 -0
  748. /package/dist/chunks/{repository-e3qxr5gk.js → command-e3qxr5gk.js} +0 -0
  749. /package/dist/chunks/{repository-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  750. /package/dist/chunks/{repository-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  751. /package/dist/chunks/{repository-ec1grn59.js → command-ec1grn59.js} +0 -0
  752. /package/dist/chunks/{repository-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  753. /package/dist/chunks/{repository-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  754. /package/dist/chunks/{repository-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  755. /package/dist/chunks/{repository-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  756. /package/dist/chunks/{repository-faypxj3z.js → command-faypxj3z.js} +0 -0
  757. /package/dist/chunks/{repository-fd410y7t.js → command-fd410y7t.js} +0 -0
  758. /package/dist/chunks/{repository-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
  759. /package/dist/chunks/{repository-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  760. /package/dist/chunks/{repository-g86h250q.js → command-g86h250q.js} +0 -0
  761. /package/dist/chunks/{repository-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  762. /package/dist/chunks/{repository-gftt206x.js → command-gftt206x.js} +0 -0
  763. /package/dist/chunks/{repository-hjbc5kem.js → command-hjbc5kem.js} +0 -0
  764. /package/dist/chunks/{repository-hk9envan.js → command-hk9envan.js} +0 -0
  765. /package/dist/chunks/{repository-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  766. /package/dist/chunks/{repository-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  767. /package/dist/chunks/{repository-jjkms2e6.js → command-jjkms2e6.js} +0 -0
  768. /package/dist/chunks/{repository-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  769. /package/dist/chunks/{repository-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  770. /package/dist/chunks/{repository-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  771. /package/dist/chunks/{repository-mp448xyj.js → command-mp448xyj.js} +0 -0
  772. /package/dist/chunks/{repository-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  773. /package/dist/chunks/{repository-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  774. /package/dist/chunks/{repository-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  775. /package/dist/chunks/{repository-njntx4h6.js → command-njntx4h6.js} +0 -0
  776. /package/dist/chunks/{repository-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  777. /package/dist/chunks/{repository-q74kybfr.js → command-q74kybfr.js} +0 -0
  778. /package/dist/chunks/{repository-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  779. /package/dist/chunks/{repository-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  780. /package/dist/chunks/{repository-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  781. /package/dist/chunks/{repository-qg3g05ea.js → command-qg3g05ea.js} +0 -0
  782. /package/dist/chunks/{repository-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  783. /package/dist/chunks/{repository-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  784. /package/dist/chunks/{repository-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  785. /package/dist/chunks/{repository-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
  786. /package/dist/chunks/{repository-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  787. /package/dist/chunks/{repository-w803qqfp.js → command-w803qqfp.js} +0 -0
  788. /package/dist/chunks/{repository-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
  789. /package/dist/chunks/{repository-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  790. /package/dist/chunks/{repository-wtztk69x.js → command-wtztk69x.js} +0 -0
  791. /package/dist/chunks/{repository-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  792. /package/dist/chunks/{repository-x61499pn.js → command-x61499pn.js} +0 -0
  793. /package/dist/chunks/{repository-y44na4kk.js → command-y44na4kk.js} +0 -0
  794. /package/dist/chunks/{repository-y8cydn3q.js → command-y8cydn3q.js} +0 -0
  795. /package/dist/chunks/{repository-y8f7s663.js → command-y8f7s663.js} +0 -0
  796. /package/dist/chunks/{repository-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  797. /package/dist/chunks/{repository-ym463w8f.js → command-ym463w8f.js} +0 -0
  798. /package/dist/chunks/{repository-z9919s4g.js → command-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./repository-2qzws9he.js";
4
+ } from "./command-zg0g1dmr.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make21,
8
+ make20,
9
9
  combine2
10
- } from "./repository-s8d7rejh.js";
10
+ } from "./command-rhjbct0v.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./repository-z07pqspn.js";
13
+ } from "./command-bjtzbw4r.js";
14
14
  import {
15
15
  __export
16
- } from "./repository-9rqn6x4v.js";
16
+ } from "./command-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info6,
21
+ Info: () => Info5,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service32,
25
+ Service: () => Service37,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node35,
29
+ node: () => node40,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info6 = InstructionEntry.Info;
37
+ var Info5 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service32 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service37 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make21({
64
+ var source = (entry) => make20({
65
65
  key: Key3.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -75,7 +75,7 @@ var source = (entry) => make21({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service32, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service37, Effect.gen(function* () {
79
79
  const { db } = yield* Service84;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service32.of({ list, put, remove, load });
111
+ return Service37.of({ list, put, remove, load });
112
112
  }));
113
- var node35 = makeLocationNode({ service: Service32, layer, deps: [node88] });
113
+ var node40 = makeLocationNode({ service: Service37, layer, deps: [node88] });
114
114
 
115
- export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service32, node35, exports_instruction_entry };
115
+ export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service37, node40, exports_instruction_entry };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./repository-5t3nmthw.js";
3
+ } from "./command-5t3nmthw.js";
4
4
  import {
5
5
  Service61,
6
- node65
7
- } from "./repository-rb6gffef.js";
6
+ node64
7
+ } from "./command-knpa7q1k.js";
8
8
  import {
9
9
  __export
10
- } from "./repository-9rqn6x4v.js";
10
+ } from "./command-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate = {};
14
14
  __export(exports_generate, {
15
15
  Generate: () => exports_generate,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service22,
17
+ Service: () => Service24,
18
18
  UnavailableError: () => UnavailableError2,
19
19
  layer: () => layer10,
20
- node: () => node25
20
+ node: () => node27
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { SessionID } from "@opencode/schema/session-id";
@@ -34,9 +34,9 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
34
34
  }) {
35
35
  }
36
36
 
37
- class Service22 extends Context.Service()("@opencode/Generate") {
37
+ class Service24 extends Context.Service()("@opencode/Generate") {
38
38
  }
39
- var layer10 = Layer.effect(Service22, Effect.gen(function* () {
39
+ var layer10 = Layer.effect(Service24, Effect.gen(function* () {
40
40
  const llm = yield* LLMClient.Service;
41
41
  const resolver = yield* Service61;
42
42
  const runText = Effect.fn("Generate.text")(function* (input) {
@@ -68,12 +68,12 @@ var layer10 = Layer.effect(Service22, Effect.gen(function* () {
68
68
  const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
69
69
  message: "Generation credentials are unavailable"
70
70
  })));
71
- return Service22.of({ text });
71
+ return Service24.of({ text });
72
72
  }));
73
- var node25 = makeLocationNode({
74
- service: Service22,
73
+ var node27 = makeLocationNode({
74
+ service: Service24,
75
75
  layer: layer10,
76
- deps: [node65, llmClient2]
76
+ deps: [node64, llmClient2]
77
77
  });
78
78
 
79
- export { ModelSelectionError2, UnavailableError2, Service22, layer10, node25, exports_generate };
79
+ export { ModelSelectionError2, UnavailableError2, Service24, layer10, node27, exports_generate };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./repository-2qzws9he.js";
4
+ } from "./command-zg0g1dmr.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./repository-y71avatq.js";
7
+ } from "./command-y71avatq.js";
8
8
  import {
9
9
  Service83,
10
10
  node87
11
- } from "./repository-8x0w9677.js";
11
+ } from "./command-17zy7cfp.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./repository-ec1grn59.js";
14
+ } from "./command-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./repository-gftt206x.js";
17
+ } from "./command-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./repository-xkhfjrgz.js";
20
+ } from "./command-08rawchj.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./repository-z07pqspn.js";
24
+ } from "./command-bjtzbw4r.js";
25
25
  import {
26
26
  __export
27
- } from "./repository-9rqn6x4v.js";
27
+ } from "./command-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info11,
35
+ Info: () => Info10,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service59,
40
+ Service: () => Service54,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer21,
48
+ layer: () => layer20,
49
49
  list: () => list4,
50
- make: () => make19,
50
+ make: () => make18,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node63,
53
+ node: () => node57,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info11,
68
+ Info as Info10,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service59 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service54 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make19 = Effect.fn("SessionInbox.make")(function* () {
156
+ var make18 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service84;
158
158
  const db = database.db;
159
159
  const bus = yield* Service83;
@@ -173,7 +173,7 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info11.make({
176
+ }).pipe(Effect.map((event) => Info10.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -227,8 +227,8 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer21 = Layer.effect(Service59, make19());
231
- var node63 = makeGlobalNode({ service: Service59, layer: layer21, deps: [node88, node87] });
230
+ var layer20 = Layer.effect(Service54, make18());
231
+ var node57 = makeGlobalNode({ service: Service54, layer: layer20, deps: [node88, node87] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info11, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service59, make19, layer21, node63, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info10, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service54, make18, layer20, node57, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./repository-922hggd3.js";
4
+ } from "./command-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service82,
9
9
  node86
10
- } from "./repository-vy4zg7qh.js";
10
+ } from "./command-vy4zg7qh.js";
11
11
  import {
12
12
  Service80,
13
13
  node84
14
- } from "./repository-cqbspedd.js";
14
+ } from "./command-bq6be9me.js";
15
15
  import {
16
16
  create3
17
- } from "./repository-rdw6cm16.js";
17
+ } from "./command-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./repository-9rqn6x4v.js";
20
+ } from "./command-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID4,
27
- Service: () => Service42,
25
+ Error: () => Error4,
26
+ ID: () => ID15,
27
+ Service: () => Service75,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node45,
30
- noopLayer: () => noopLayer2
29
+ node: () => node78,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID4 } from "@opencode/schema/snapshot";
37
+ import { ID as ID15 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error4 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service42 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service75 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service42, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service82;
51
51
  const global = yield* Global.Service;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID4.make(yield* git.tree.capture({
85
+ return ID15.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service42.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service75.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node45 = makeLocationNode({
144
- service: Service42,
143
+ var node78 = makeLocationNode({
144
+ service: Service75,
145
145
  layer,
146
146
  deps: [FSUtil.node, node86, Global.node, node84]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service42, Service42.of({
148
+ var noopLayer3 = Layer.succeed(Service75, Service75.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service42, Service42.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error3 && cause.operation === operation)
157
+ if (cause instanceof Error4 && cause.operation === operation)
158
158
  return cause;
159
- return new Error3({
159
+ return new Error4({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID4, Error3, Service42, node45, noopLayer2, exports_snapshot2 };
166
+ export { ID15, Error4, Service75, node78, noopLayer3, exports_snapshot2 };
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./repository-922hggd3.js";
5
+ } from "./command-922hggd3.js";
6
6
  import {
7
7
  Service80,
8
8
  node84
9
- } from "./repository-cqbspedd.js";
9
+ } from "./command-bq6be9me.js";
10
10
  import {
11
- Service18,
12
- node20
13
- } from "./repository-e8g69mg2.js";
11
+ Service19,
12
+ node21
13
+ } from "./command-3yrc8p0f.js";
14
14
  import {
15
15
  __export
16
- } from "./repository-9rqn6x4v.js";
16
+ } from "./command-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -22,7 +22,7 @@ __export(exports_filesystem, {
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  Entry: () => Entry2,
25
- Event: () => Event3,
25
+ Event: () => Event4,
26
26
  FileSystem: () => exports_filesystem,
27
27
  FindInput: () => FindInput2,
28
28
  GlobInput: () => GlobInput2,
@@ -31,11 +31,11 @@ __export(exports_filesystem, {
31
31
  Match: () => Match2,
32
32
  NotFoundError: () => NotFoundError3,
33
33
  ReadInput: () => ReadInput2,
34
- Service: () => Service17,
34
+ Service: () => Service18,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
37
  WriteInput: () => WriteInput2,
38
- node: () => node19
38
+ node: () => node20
39
39
  });
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
41
  import path from "path";
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
85
85
  limit: Schema.optionalKey(PositiveInt2)
86
86
  }) {
87
87
  }
88
- var Event3 = FileSystem.Event;
88
+ var Event4 = FileSystem.Event;
89
89
 
90
- class Service17 extends Context.Service()("@opencode/FileSystem") {
90
+ class Service18 extends Context.Service()("@opencode/FileSystem") {
91
91
  }
92
- var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
92
+ var baseLayer = Layer.effect(Service18, Effect.gen(function* () {
93
93
  const fs = yield* FSUtil.Service;
94
94
  const location = yield* Service80;
95
- const search = yield* Service18;
95
+ const search = yield* Service19;
96
96
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
97
97
  const resolve = Effect.fnUntraced(function* (input) {
98
98
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -103,7 +103,7 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
103
103
  return yield* Effect.die(new Error("Path escapes the location"));
104
104
  return { absolute, real, directory: location.directory };
105
105
  });
106
- return Service17.of({
106
+ return Service18.of({
107
107
  find: search.find,
108
108
  read: Effect.fn("FileSystem.read")(function* (input) {
109
109
  const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
140
140
  })
141
141
  });
142
142
  }));
143
- var node19 = makeLocationNode({
144
- service: Service17,
143
+ var node20 = makeLocationNode({
144
+ service: Service18,
145
145
  layer: baseLayer,
146
- deps: [FSUtil.node, node84, node20]
146
+ deps: [FSUtil.node, node84, node21]
147
147
  });
148
148
 
149
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service17, node19, exports_filesystem, Entry2, Match2, Submatch2 };
149
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service18, node20, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./repository-fxgpk5d8.js";
3
+ } from "./command-fxgpk5d8.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./repository-g4wezp1m.js";
6
+ } from "./command-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./repository-x61499pn.js";
9
+ } from "./command-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./repository-af5trqkr.js";
12
+ } from "./command-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./repository-afrmfg78.js";
15
+ } from "./command-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./repository-x0ckcb58.js";
18
+ } from "./command-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-922hggd3.js";
3
+ } from "./command-922hggd3.js";
4
4
  import {
5
5
  Service80
6
- } from "./repository-cqbspedd.js";
6
+ } from "./command-bq6be9me.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-9rqn6x4v.js";
9
+ } from "./command-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
@@ -2,14 +2,14 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./repository-8x0w9677.js";
5
+ } from "./command-17zy7cfp.js";
6
6
  import {
7
- Service74,
8
- node78
9
- } from "./repository-awbq9rs1.js";
7
+ Service70,
8
+ node73
9
+ } from "./command-d8xd8q6j.js";
10
10
  import {
11
11
  __export
12
- } from "./repository-9rqn6x4v.js";
12
+ } from "./command-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
@@ -19,10 +19,10 @@ __export(exports_wellknown, {
19
19
  Event: () => Event15,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service73,
22
+ Service: () => Service68,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node77,
25
+ node: () => node71,
26
26
  resolve: () => resolve4
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
@@ -46,7 +46,7 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service73 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service68 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
51
  var Event15 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service73, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service74;
80
+ const kv = yield* Service70;
81
81
  const bus = yield* Service83;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
112
112
  yield* bus.publish(Event15.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service73.of({
115
+ return Service68.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -143,6 +143,6 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node77 = makeGlobalNode({ service: Service73, layer, deps: [httpClient, node78, node87] });
146
+ var node71 = makeGlobalNode({ service: Service68, layer, deps: [httpClient, node73, node87] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service73, Event15, inspect2, resolve4, node77, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service68, Event15, inspect2, resolve4, node71, exports_wellknown };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};