@opencode/core 0.0.0-dev-19355 → 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 +83 -83
  8. package/dist/chunks/{mime-esqzzyt4.js → command-04rtynqt.js} +20 -20
  9. package/dist/chunks/{mime-fbytrd5k.js → command-06wjbj88.js} +16 -16
  10. package/dist/chunks/{mime-gf9g8h4v.js → command-070a9e04.js} +39 -39
  11. package/dist/chunks/{mime-17ct7hrw.js → command-0btf9jkj.js} +4 -4
  12. package/dist/chunks/{mime-0paq2nw3.js → command-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{mime-0q0f95c6.js → command-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{mime-wm69nqhy.js → command-0w6bwpjx.js} +36 -36
  15. package/dist/chunks/{mime-abr6rqa0.js → command-138p5ddt.js} +20 -20
  16. package/dist/chunks/{mime-nz9phg4y.js → command-13mzqdtz.js} +11 -11
  17. package/dist/chunks/{mime-ypfzqse4.js → command-15n42rft.js} +26 -26
  18. package/dist/chunks/{mime-5g8036jg.js → command-19av3p62.js} +10 -10
  19. package/dist/chunks/{mime-g8d3gcyj.js → command-19vf66h0.js} +7 -7
  20. package/dist/chunks/{mime-1dazxqgg.js → command-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{mime-1dfhrqqs.js → command-1dfhrqqs.js} +2 -2
  22. package/dist/chunks/{mime-r9babyk8.js → command-1wxb385z.js} +1 -1
  23. package/dist/chunks/{mime-21r38tys.js → command-21r38tys.js} +1 -1
  24. package/dist/chunks/{mime-2402vzrj.js → command-2402vzrj.js} +1 -1
  25. package/dist/chunks/{mime-z29e59cf.js → command-24w00f77.js} +25 -25
  26. package/dist/chunks/{mime-z63w68vq.js → command-29x78va6.js} +6 -6
  27. package/dist/chunks/{mime-2a5m3afh.js → command-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{mime-j6xbhd1n.js → command-2a7hagjp.js} +6 -6
  29. package/dist/chunks/{mime-a8zr1srk.js → command-2femdq6k.js} +8 -8
  30. package/dist/chunks/{mime-a8bn8zg0.js → command-2pnhn36q.js} +21 -21
  31. package/dist/chunks/{mime-9xvq3m7s.js → command-2qp6y8xf.js} +5 -5
  32. package/dist/chunks/{mime-kwkb1ck3.js → command-2rfrcgce.js} +32 -32
  33. package/dist/chunks/{mime-9w9315k4.js → command-2xe896hw.js} +283 -283
  34. package/dist/chunks/{mime-tej55220.js → command-31wrjn3h.js} +16 -16
  35. package/dist/chunks/{mime-7rx77mxx.js → command-33xc6zn2.js} +7 -7
  36. package/dist/chunks/{mime-a9e2mfvf.js → command-39q35cms.js} +17 -17
  37. package/dist/chunks/{mime-bknjtf9r.js → command-3eg94j8w.js} +41 -41
  38. package/dist/chunks/{mime-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{mime-qe0022s7.js → command-3kpvh92z.js} +21 -21
  40. package/dist/chunks/{mime-h8m09asr.js → command-3m9dzf4r.js} +1 -1
  41. package/dist/chunks/{mime-4653w0q1.js → command-3nc90kmd.js} +3 -3
  42. package/dist/chunks/{mime-3smtnn6g.js → command-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{mime-3tvqynh2.js → command-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{mime-8pv0ysaw.js → command-43t6csf6.js} +15 -15
  45. package/dist/chunks/{mime-ytptr1j0.js → command-454ap3be.js} +9 -9
  46. package/dist/chunks/{mime-fzbvp66m.js → command-45d0vtt8.js} +6 -6
  47. package/dist/chunks/{mime-x940zq77.js → command-48q4dgm3.js} +10 -10
  48. package/dist/chunks/{mime-s2czs639.js → command-493vsnxm.js} +15 -15
  49. package/dist/chunks/{mime-wndfc8sb.js → command-49grzd0n.js} +9 -9
  50. package/dist/chunks/{mime-csret9jn.js → command-4a54se45.js} +44 -44
  51. package/dist/chunks/{mime-mn0vvavy.js → command-4bj5xf3m.js} +24 -24
  52. package/dist/chunks/{mime-tfngb0ww.js → command-4da4ndpv.js} +4 -4
  53. package/dist/chunks/{mime-60kn0s46.js → command-4e5nbqbj.js} +54 -54
  54. package/dist/chunks/{mime-ahd542yp.js → command-4e7426jc.js} +8 -8
  55. package/dist/chunks/{mime-n76fdqym.js → command-4mkcvr19.js} +5 -5
  56. package/dist/chunks/{mime-ehsf13pq.js → command-4pre3909.js} +13 -13
  57. package/dist/chunks/{mime-t9bxbmcs.js → command-4wn6b914.js} +33 -33
  58. package/dist/chunks/{mime-56gdpj1q.js → command-56gdpj1q.js} +2 -2
  59. package/dist/chunks/{mime-2a94svd1.js → command-59zahvaa.js} +18 -18
  60. package/dist/chunks/{mime-5daktx2q.js → command-5daktx2q.js} +1 -1
  61. package/dist/chunks/{mime-bd7wktek.js → command-5epte933.js} +3 -3
  62. package/dist/chunks/{mime-k16ay38w.js → command-5nsrms9d.js} +1 -1
  63. package/dist/chunks/{mime-5t3nmthw.js → command-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{mime-yvdxbma0.js → command-5xp4z8zk.js} +7 -7
  65. package/dist/chunks/command-619r8v3y.js +18 -0
  66. package/dist/chunks/{mime-669tq793.js → command-669tq793.js} +1 -1
  67. package/dist/chunks/{mime-y5mrfvw4.js → command-68xpwqwy.js} +9 -9
  68. package/dist/chunks/{mime-7a4aatde.js → command-6c1g49x3.js} +9 -9
  69. package/dist/chunks/command-6kdq0pjd.js +4 -0
  70. package/dist/chunks/{mime-6msgmcgs.js → command-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{mime-xdp8bq0v.js → command-6tqsccrn.js} +80 -80
  72. package/dist/chunks/{mime-71q4at8m.js → command-71q4at8m.js} +1 -1
  73. package/dist/chunks/{mime-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{mime-607tc6va.js → command-7dqw4kz8.js} +5 -5
  75. package/dist/chunks/{mime-rhx683sy.js → command-7ebn0nc0.js} +6 -6
  76. package/dist/chunks/{mime-g449k317.js → command-7nwrad04.js} +25 -25
  77. package/dist/chunks/{mime-n1j5t38b.js → command-7qse0qpb.js} +26 -26
  78. package/dist/chunks/{mime-96yt6zt0.js → command-83x6p9kd.js} +1 -1
  79. package/dist/chunks/{mime-ctfy1qrj.js → command-86g4d0kj.js} +51 -51
  80. package/dist/chunks/{mime-6z4wb64c.js → command-88sz8qcd.js} +4 -4
  81. package/dist/chunks/{mime-h1sw4cag.js → command-89t020sf.js} +38 -38
  82. package/dist/chunks/{mime-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{mime-mhntmvf8.js → command-8ezz0qpe.js} +13 -13
  84. package/dist/chunks/{mime-cff8k9ch.js → command-8jdy407s.js} +32 -32
  85. package/dist/chunks/{mime-59g81e4r.js → command-8n2avc0p.js} +6 -6
  86. package/dist/chunks/{mime-8p4f9s12.js → command-8p4f9s12.js} +2 -2
  87. package/dist/chunks/{mime-kjt99ang.js → command-8r7f04jj.js} +15 -15
  88. package/dist/chunks/{mime-5kptn8c0.js → command-8w9tvb25.js} +9 -9
  89. package/dist/chunks/{mime-hqjyvh1c.js → command-9139jgcd.js} +9 -9
  90. package/dist/chunks/{mime-asctxbtd.js → command-9hkkgm6z.js} +11 -11
  91. package/dist/chunks/{mime-sr9h8evr.js → command-9maaan9b.js} +14 -14
  92. package/dist/chunks/{mime-n9aqzp6a.js → command-9rqme4wv.js} +26 -26
  93. package/dist/chunks/{mime-r7wp53q3.js → command-9t5zm95t.js} +6 -6
  94. package/dist/chunks/{mime-6h3jpx6s.js → command-9td3nvch.js} +6 -6
  95. package/dist/chunks/{mime-aksgs6gj.js → command-a02rj634.js} +16 -16
  96. package/dist/chunks/{mime-a1bz86dw.js → command-a1bz86dw.js} +3 -3
  97. package/dist/chunks/{mime-7edrnw3d.js → command-a70vfxwz.js} +15 -15
  98. package/dist/chunks/{mime-meg78na6.js → command-a72wxtdj.js} +26 -26
  99. package/dist/chunks/{mime-aaet6srn.js → command-aaet6srn.js} +2 -2
  100. package/dist/chunks/{mime-dha95t54.js → command-afvn2d8y.js} +17 -17
  101. package/dist/chunks/{mime-05r3kpr5.js → command-anbsab5w.js} +30 -30
  102. package/dist/chunks/{mime-0f9afca0.js → command-avm8jn6n.js} +5 -5
  103. package/dist/chunks/{mime-eah4eh88.js → command-axfg0z4e.js} +15 -15
  104. package/dist/chunks/{mime-0yjqc67b.js → command-az9ecw0v.js} +11 -11
  105. package/dist/chunks/{mime-jybn881g.js → command-azw47gg7.js} +50 -50
  106. package/dist/chunks/{mime-61m8m2d6.js → command-b11rdt3w.js} +8 -8
  107. package/dist/chunks/{mime-jhyy3hk6.js → command-b3wkxfg9.js} +1 -1
  108. package/dist/chunks/{mime-b6gygkdw.js → command-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{mime-f7prfycf.js → command-be4a9pdg.js} +18 -18
  110. package/dist/chunks/{mime-881wxzwh.js → command-bhgdfcz0.js} +9 -9
  111. package/dist/chunks/{mime-a1t1mczq.js → command-bjy2htfa.js} +26 -26
  112. package/dist/chunks/{mime-m27pyyd3.js → command-c7ecgrk6.js} +6 -6
  113. package/dist/chunks/{mime-cfpkc3c9.js → command-cfpkc3c9.js} +2 -2
  114. package/dist/chunks/{mime-6tpecvfp.js → command-cmfpwhr1.js} +9 -9
  115. package/dist/chunks/{mime-ravsmpkf.js → command-cpj6a2aa.js} +45 -45
  116. package/dist/chunks/{mime-3q51rrqb.js → command-cwj87dc4.js} +20 -20
  117. package/dist/chunks/command-d3ggx689.js +247 -0
  118. package/dist/chunks/{mime-mj3ecsg2.js → command-d5ze1g7q.js} +22 -22
  119. package/dist/chunks/{mime-ba8r4wxs.js → command-d6gjw5d8.js} +24 -24
  120. package/dist/chunks/{mime-nh75d5y5.js → command-dcf26w67.js} +18 -18
  121. package/dist/chunks/{mime-ntdyn9jn.js → command-de8rrxbc.js} +7 -7
  122. package/dist/chunks/{mime-hkcw1wdp.js → command-dmmjs2b8.js} +10 -10
  123. package/dist/chunks/{mime-z5yp79za.js → command-dt88errb.js} +9 -9
  124. package/dist/chunks/{mime-4kmd259e.js → command-dvqsfc3k.js} +9 -9
  125. package/dist/chunks/{mime-e052s0h1.js → command-dx63s7w1.js} +12 -12
  126. package/dist/chunks/{mime-9jb0tq3v.js → command-dzcz3c2s.js} +36 -36
  127. package/dist/chunks/{mime-n80xx9fb.js → command-e7sdhxas.js} +20 -20
  128. package/dist/chunks/{mime-e82z9tr0.js → command-e82z9tr0.js} +1 -1
  129. package/dist/chunks/{mime-6thzw8pj.js → command-ebc7h8jh.js} +4 -4
  130. package/dist/chunks/{mime-6evh74rk.js → command-ehzj4vhg.js} +15 -15
  131. package/dist/chunks/{mime-z69s9t6b.js → command-en74w496.js} +5 -5
  132. package/dist/chunks/{mime-etq0c3wd.js → command-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{mime-yp2x3t23.js → command-f2n192rq.js} +4 -4
  134. package/dist/chunks/{mime-3w9pc8m5.js → command-f4pamck6.js} +15 -15
  135. package/dist/chunks/{mime-f828m53h.js → command-f828m53h.js} +2 -2
  136. package/dist/chunks/{mime-qh42d1qk.js → command-farf7nq9.js} +11 -11
  137. package/dist/chunks/{mime-t8jgb82e.js → command-fer3tpfm.js} +11 -11
  138. package/dist/chunks/{mime-fbn4bmmr.js → command-fgxdmbj2.js} +172 -172
  139. package/dist/chunks/{mime-kgbwk399.js → command-fwcwebn7.js} +3 -3
  140. package/dist/chunks/{mime-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
  141. package/dist/chunks/{mime-gd4qta3r.js → command-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{mime-gdvy8fx6.js → command-gdvy8fx6.js} +1 -1
  143. package/dist/chunks/{mime-e4ffge7e.js → command-gepnxnka.js} +11 -11
  144. package/dist/chunks/{mime-wd39cpyz.js → command-gfc9zyvq.js} +20 -20
  145. package/dist/chunks/{mime-m86bnw2c.js → command-gsx0ryk4.js} +9 -9
  146. package/dist/chunks/{mime-fgh0kbhd.js → command-gt0cxfk7.js} +1 -1
  147. package/dist/chunks/{mime-h03wrkyp.js → command-h03wrkyp.js} +2 -2
  148. package/dist/chunks/{mime-t68d5vfj.js → command-h113rvhb.js} +46 -46
  149. package/dist/chunks/{mime-h6vf3j39.js → command-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{mime-kmehkn3p.js → command-h9nzt5cp.js} +17 -17
  151. package/dist/chunks/{mime-9hhm4v0k.js → command-hcxgcq81.js} +7 -7
  152. package/dist/chunks/{mime-147dq4v0.js → command-hdt6myfc.js} +25 -25
  153. package/dist/chunks/{mime-bajakh74.js → command-hfdr1yjj.js} +4 -4
  154. package/dist/chunks/{mime-dtbtf822.js → command-hgdt9556.js} +17 -17
  155. package/dist/chunks/{mime-2yfv78r4.js → command-hh0vmts5.js} +11 -11
  156. package/dist/chunks/{mime-c9q78346.js → command-hm0hsyzs.js} +42 -42
  157. package/dist/chunks/{mime-s90d8d6b.js → command-hwe7x4em.js} +6 -6
  158. package/dist/chunks/{mime-dz9f79na.js → command-hxvm7zmc.js} +4 -4
  159. package/dist/chunks/{mime-amc1cbdz.js → command-hzcxg4q9.js} +16 -16
  160. package/dist/chunks/{mime-wthcjz8p.js → command-j052dg5b.js} +16 -16
  161. package/dist/chunks/{mime-j311gd59.js → command-j5208yae.js} +7 -7
  162. package/dist/chunks/{mime-j56e64zr.js → command-j56e64zr.js} +1 -1
  163. package/dist/chunks/{mime-mk80x0zp.js → command-j7nbk787.js} +32 -32
  164. package/dist/chunks/{mime-paphc93g.js → command-j935v87r.js} +2 -2
  165. package/dist/chunks/{mime-2x0nmk7c.js → command-j9vx3v9v.js} +24 -24
  166. package/dist/chunks/{mime-5fasw0a0.js → command-jh9frvw6.js} +7 -7
  167. package/dist/chunks/{mime-fygdb7h7.js → command-jhetwysa.js} +3 -3
  168. package/dist/chunks/{mime-9k65wgt7.js → command-jjc29zvc.js} +24 -24
  169. package/dist/chunks/{mime-zv0815bp.js → command-jm23p7wd.js} +21 -21
  170. package/dist/chunks/{mime-ec8389mk.js → command-jva4mgym.js} +4 -4
  171. package/dist/chunks/{mime-xw0r27ex.js → command-jvf3yq6v.js} +4 -4
  172. package/dist/chunks/{mime-wz2xtaq2.js → command-jxpa08fn.js} +20 -20
  173. package/dist/chunks/{mime-8j021b5c.js → command-jym9kedx.js} +10 -10
  174. package/dist/chunks/{mime-g4m1ed26.js → command-jz5y6dvz.js} +24 -24
  175. package/dist/chunks/{mime-w6zk8pbt.js → command-k0nnq3t9.js} +6 -6
  176. package/dist/chunks/{mime-844ef7ks.js → command-kbmmzrfa.js} +8 -8
  177. package/dist/chunks/{mime-s43xmd6b.js → command-kd4mv8p1.js} +25 -25
  178. package/dist/chunks/{mime-1awm1f41.js → command-keyg98zt.js} +10 -10
  179. package/dist/chunks/{mime-kg06axw8.js → command-kg06axw8.js} +1 -1
  180. package/dist/chunks/{mime-bcnz578n.js → command-kh9gj6fg.js} +2 -2
  181. package/dist/chunks/{mime-vaa0ttwg.js → command-kqvbfj3r.js} +7 -7
  182. package/dist/chunks/{mime-ks2pnnqs.js → command-ksdnvjw1.js} +19 -19
  183. package/dist/chunks/{mime-k55zexpw.js → command-kyrc5g5p.js} +3 -3
  184. package/dist/chunks/{mime-wj4n53es.js → command-kzxpw37x.js} +25 -25
  185. package/dist/chunks/{mime-7myc9s23.js → command-m3wyk9nc.js} +8 -8
  186. package/dist/chunks/{mime-mvnqeezz.js → command-m9tpa25m.js} +24 -24
  187. package/dist/chunks/{mime-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{mime-mkcjrzeh.js → command-mkcjrzeh.js} +1 -1
  189. package/dist/chunks/{mime-bkx4j9d8.js → command-msjfgnq6.js} +9 -9
  190. package/dist/chunks/{mime-b56d0mkq.js → command-mzfawknz.js} +20 -20
  191. package/dist/chunks/{mime-j08ms6kj.js → command-n4fdf33j.js} +9 -9
  192. package/dist/chunks/{mime-k3exstdw.js → command-naqvy1vc.js} +9 -9
  193. package/dist/chunks/{mime-gvwamc12.js → command-nedyw519.js} +16 -16
  194. package/dist/chunks/{mime-14v24y0y.js → command-nfhmz961.js} +9 -9
  195. package/dist/chunks/{mime-ey35sjvt.js → command-nmxjcnz2.js} +4 -4
  196. package/dist/chunks/{mime-4srsap5e.js → command-nsk5ybg9.js} +13 -13
  197. package/dist/chunks/{mime-9yrjndkh.js → command-pbe99m00.js} +43 -43
  198. package/dist/chunks/{mime-54kdt99r.js → command-pbtsv70y.js} +8 -8
  199. package/dist/chunks/{mime-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{mime-pknna89w.js → command-pknna89w.js} +1 -1
  201. package/dist/chunks/{mime-y67sb11d.js → command-pt50yj7n.js} +15 -15
  202. package/dist/chunks/{mime-0cxtbk44.js → command-q3e3pxrn.js} +2 -2
  203. package/dist/chunks/{mime-3j7fvqyb.js → command-qkwnakvm.js} +12 -12
  204. package/dist/chunks/{mime-bw0vgseb.js → command-qm7jrdpz.js} +5 -5
  205. package/dist/chunks/{mime-7y5rpdmb.js → command-qn2q96g0.js} +24 -24
  206. package/dist/chunks/{mime-v88tv166.js → command-qpt82rvw.js} +4 -4
  207. package/dist/chunks/{mime-5ymgv7yt.js → command-qq9xggvz.js} +6 -6
  208. package/dist/chunks/{mime-qsdy395h.js → command-qsdy395h.js} +1 -1
  209. package/dist/chunks/{mime-ambtdzxj.js → command-qx3fns1j.js} +37 -37
  210. package/dist/chunks/{mime-gmwqsgsq.js → command-qx4eckdq.js} +22 -22
  211. package/dist/chunks/{mime-zx76pqxb.js → command-qxnh841b.js} +12 -12
  212. package/dist/chunks/{mime-r5x6zcsm.js → command-r5x6zcsm.js} +1 -1
  213. package/dist/chunks/{mime-qme7tjp0.js → command-r5zgsrw8.js} +41 -41
  214. package/dist/chunks/{mime-00z3vp5f.js → command-r98e92ep.js} +4 -4
  215. package/dist/chunks/{mime-kt2sgyks.js → command-rf1gapgg.js} +37 -37
  216. package/dist/chunks/command-rq3zbgk8.js +22 -0
  217. package/dist/chunks/{mime-2g7hz5m3.js → command-rryqg9dq.js} +11 -11
  218. package/dist/chunks/{mime-ep72rke2.js → command-rwatm0mm.js} +10 -10
  219. package/dist/chunks/{mime-43k15f45.js → command-rz527k5r.js} +4 -4
  220. package/dist/chunks/{mime-6tg78grf.js → command-s1hyvedr.js} +20 -20
  221. package/dist/chunks/{mime-yrznvahk.js → command-s4enseaf.js} +2 -2
  222. package/dist/chunks/{mime-0ncv4ata.js → command-s6c8tzhk.js} +30 -30
  223. package/dist/chunks/{mime-dn9h7eav.js → command-s8adj76m.js} +8 -8
  224. package/dist/chunks/{mime-t550f9t1.js → command-s8d7rejh.js} +4 -4
  225. package/dist/chunks/{mime-34qkk49m.js → command-s8x2ny25.js} +28 -28
  226. package/dist/chunks/{mime-serrjkd9.js → command-se0tgtr4.js} +18 -18
  227. package/dist/chunks/{mime-e53bzx64.js → command-snt4nv2a.js} +13 -13
  228. package/dist/chunks/{mime-q8a4xmw6.js → command-sp31zz3t.js} +33 -33
  229. package/dist/chunks/{mime-4avrx5wd.js → command-spwgk4wz.js} +16 -16
  230. package/dist/chunks/{mime-bgs9y14h.js → command-sqbb0ctm.js} +5 -5
  231. package/dist/chunks/{mime-kkzk1ten.js → command-st4t0jjg.js} +2 -2
  232. package/dist/chunks/{mime-skxbarzk.js → command-sxyb6qad.js} +4 -4
  233. package/dist/chunks/{mime-f8q7mv7a.js → command-t8mcaem5.js} +1 -1
  234. package/dist/chunks/{mime-tazgh4e4.js → command-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{mime-nzccrkwj.js → command-tc265fkx.js} +5 -5
  236. package/dist/chunks/{mime-89znhe33.js → command-tcezcvh9.js} +4 -4
  237. package/dist/chunks/{mime-tdstcens.js → command-tdstcens.js} +1 -1
  238. package/dist/chunks/{mime-gv6a8nnw.js → command-th5km1p3.js} +5 -5
  239. package/dist/chunks/{mime-8esnxs8p.js → command-tjsj89dc.js} +2 -2
  240. package/dist/chunks/{mime-4k0jqa6e.js → command-tknkg6rx.js} +21 -21
  241. package/dist/chunks/{mime-w5gt5bhe.js → command-tkzgmprh.js} +25 -25
  242. package/dist/chunks/{mime-yz1nfdta.js → command-tqnq6q5q.js} +17 -17
  243. package/dist/chunks/{mime-tvtrv512.js → command-tvtrv512.js} +1 -1
  244. package/dist/chunks/{mime-zq4dpeeb.js → command-v07j1kge.js} +54 -54
  245. package/dist/chunks/{mime-ted8n9gy.js → command-v48pvb4n.js} +11 -11
  246. package/dist/chunks/{mime-kg5pa6va.js → command-v8k1872w.js} +8 -8
  247. package/dist/chunks/{mime-x6n2md0c.js → command-vcxc4q3p.js} +4 -4
  248. package/dist/chunks/{mime-tpkndvr8.js → command-vd8e5h8f.js} +28 -28
  249. package/dist/chunks/{mime-veqvce7d.js → command-veqvce7d.js} +1 -1
  250. package/dist/chunks/{mime-eq23s0y6.js → command-vmq7ehpy.js} +5 -5
  251. package/dist/chunks/{mime-5k3vsv6f.js → command-vmysjhj7.js} +10 -10
  252. package/dist/chunks/{mime-84she4hh.js → command-vpt86awd.js} +12 -12
  253. package/dist/chunks/{mime-zhcrb8m7.js → command-vragf7xq.js} +11 -11
  254. package/dist/chunks/{mime-hz30zgkd.js → command-vxwzppst.js} +9 -9
  255. package/dist/chunks/{mime-vzcthcp8.js → command-vzcthcp8.js} +1 -1
  256. package/dist/chunks/{mime-wmv9egk5.js → command-w17k3rsr.js} +17 -17
  257. package/dist/chunks/{mime-2vnwx32a.js → command-w2q9x1k3.js} +8 -8
  258. package/dist/chunks/{mime-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{mime-rss6435k.js → command-w6a1w976.js} +12 -12
  260. package/dist/chunks/{mime-wd87259q.js → command-wd87259q.js} +1 -1
  261. package/dist/chunks/{mime-gprxcdde.js → command-wfbxv8er.js} +5 -5
  262. package/dist/chunks/{mime-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{mime-x43y2vfs.js → command-x43y2vfs.js} +2 -2
  264. package/dist/chunks/{mime-92d7yd67.js → command-xe22fbq9.js} +12 -12
  265. package/dist/chunks/{mime-6a3xk1zp.js → command-xj439p2s.js} +11 -11
  266. package/dist/chunks/{mime-hspqza3a.js → command-xnk8ss56.js} +36 -36
  267. package/dist/chunks/{mime-q931v04c.js → command-xzja1t39.js} +5 -5
  268. package/dist/chunks/{mime-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{mime-hg23ad5h.js → command-y22f4a62.js} +12 -12
  270. package/dist/chunks/{mime-dpkg50ah.js → command-y71avatq.js} +4 -4
  271. package/dist/chunks/{mime-qq2f46q1.js → command-yg5c8d2j.js} +28 -28
  272. package/dist/chunks/{mime-dx3qdj35.js → command-ygakqxjr.js} +24 -24
  273. package/dist/chunks/{mime-gnc7jk76.js → command-ygtg2ex0.js} +24 -24
  274. package/dist/chunks/{mime-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{mime-hwk9ssg6.js → command-yrwypdbr.js} +22 -22
  276. package/dist/chunks/{mime-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{mime-dep21bfz.js → command-z1f4gy9p.js} +6 -6
  278. package/dist/chunks/{mime-retsea61.js → command-z7vtm5t9.js} +86 -86
  279. package/dist/chunks/{mime-pteysx26.js → command-z9g6acw9.js} +6 -6
  280. package/dist/chunks/{mime-ktvgb8nj.js → command-zc36c13q.js} +30 -30
  281. package/dist/chunks/{mime-zeh9ct20.js → command-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{mime-6nrqe4y5.js → command-zfsxp10c.js} +5 -5
  283. package/dist/chunks/{mime-j9rw4vtk.js → command-zg7s7pjs.js} +18 -18
  284. package/dist/chunks/{mime-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{mime-72dg5627.js → command-ztzqvfjg.js} +16 -16
  286. package/dist/chunks/{mime-f8zs2stk.js → command-zx4qqgq6.js} +11 -11
  287. package/dist/chunks/{mime-zxq2ej10.js → command-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{mime-ksz0h0wp.js → command-zxwpk2nb.js} +1 -1
  289. package/dist/chunks/{mime-7ha57z4m.js → command-zy3h4kss.js} +11 -11
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +5 -5
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +83 -83
  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 +115 -115
  298. package/dist/config/plugin/command.js +207 -207
  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 +115 -115
  305. package/dist/config/plugin/mcp.js +124 -124
  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 +134 -134
  312. package/dist/config/plugin/snapshot.js +115 -115
  313. package/dist/config/plugin/source.js +111 -111
  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 +81 -81
  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 +220 -220
  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 +100 -100
  426. package/dist/form.js +82 -82
  427. package/dist/formatter/builtins.js +2 -2
  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 +3 -3
  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 +81 -81
  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 +86 -86
  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 +84 -84
  468. package/dist/mcp/client.js +86 -86
  469. package/dist/mcp/index.js +103 -103
  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 +3 -3
  475. package/dist/model-resolver.js +86 -86
  476. package/dist/model.js +6 -6
  477. package/dist/models-dev.js +86 -86
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +78 -78
  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 +84 -84
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +73 -73
  487. package/dist/plugin/agent.js +97 -97
  488. package/dist/plugin/command.js +94 -94
  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 +115 -115
  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 +72 -72
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +129 -129
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +339 -339
  542. package/dist/plugin/update.js +2 -2
  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 +5 -5
  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 +2 -2
  551. package/dist/plugin/websearch/parallel.js +8 -8
  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 +85 -85
  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 +94 -94
  562. package/dist/reference/instructions.js +84 -84
  563. package/dist/reference.js +86 -86
  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 +123 -123
  572. package/dist/session/context.js +147 -147
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +5 -5
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +216 -216
  577. package/dist/session/execution.js +124 -124
  578. package/dist/session/generate.js +148 -148
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +86 -86
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +77 -77
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +88 -88
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +113 -113
  588. package/dist/session/model-transport.js +9 -9
  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 +223 -223
  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 +108 -108
  601. package/dist/session/runner/step.js +119 -119
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +167 -167
  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 +83 -83
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +203 -203
  612. package/dist/session/system-prompt.js +1 -1
  613. package/dist/session/title.js +149 -149
  614. package/dist/session/to-session-error.js +107 -107
  615. package/dist/session/transfer.js +212 -212
  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 +9 -9
  622. package/dist/shell.js +133 -133
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +100 -100
  625. package/dist/skill.js +107 -107
  626. package/dist/snapshot.js +88 -88
  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 +119 -119
  631. package/dist/tool/plugin/edit.js +113 -113
  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 +98 -98
  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 +106 -106
  641. package/dist/tool/plugin/subagent.js +212 -212
  642. package/dist/tool/plugin/webfetch.js +105 -105
  643. package/dist/tool/plugin/websearch.js +107 -107
  644. package/dist/tool/plugin/write.js +117 -117
  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 +13 -13
  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 +72 -72
  678. package/dist/wellknown.js +79 -79
  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/mime-sy7rm5tp.js +0 -247
  689. package/dist/chunks/mime-v1faaxn9.js +0 -18
  690. package/dist/chunks/mime-xrsqh21y.js +0 -4
  691. package/dist/chunks/mime-zdjxcwde.js +0 -22
  692. /package/dist/chunks/{mime-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{mime-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{mime-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{mime-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{mime-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{mime-2710q6r3.js → command-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{mime-2axfhc9x.js → command-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{mime-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{mime-359p4xyc.js → command-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{mime-3asan66x.js → command-3asan66x.js} +0 -0
  702. /package/dist/chunks/{mime-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{mime-3w5fmr99.js → command-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{mime-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{mime-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{mime-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{mime-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{mime-53557ph1.js → command-53557ph1.js} +0 -0
  709. /package/dist/chunks/{mime-550bvhaj.js → command-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{mime-6prwharc.js → command-6prwharc.js} +0 -0
  711. /package/dist/chunks/{mime-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{mime-7m9af43g.js → command-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{mime-822emrt2.js → command-822emrt2.js} +0 -0
  714. /package/dist/chunks/{mime-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{mime-8n3pysct.js → command-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{mime-922hggd3.js → command-922hggd3.js} +0 -0
  717. /package/dist/chunks/{mime-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{mime-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{mime-a1tpkmh4.js → command-a1tpkmh4.js} +0 -0
  720. /package/dist/chunks/{mime-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{mime-af5trqkr.js → command-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{mime-afrmfg78.js → command-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{mime-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{mime-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{mime-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{mime-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{mime-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{mime-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{mime-d9fn303g.js → command-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{mime-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{mime-dajrwvna.js → command-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{mime-dap0rakb.js → command-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{mime-df08tz66.js → command-df08tz66.js} +0 -0
  734. /package/dist/chunks/{mime-dy18nga0.js → command-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{mime-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{mime-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{mime-ec1grn59.js → command-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{mime-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{mime-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{mime-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{mime-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{mime-faypxj3z.js → command-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{mime-fd410y7t.js → command-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{mime-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{mime-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{mime-g86h250q.js → command-g86h250q.js} +0 -0
  747. /package/dist/chunks/{mime-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{mime-gftt206x.js → command-gftt206x.js} +0 -0
  749. /package/dist/chunks/{mime-hjbc5kem.js → command-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{mime-hk9envan.js → command-hk9envan.js} +0 -0
  751. /package/dist/chunks/{mime-hrnqkpcd.js → command-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{mime-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{mime-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{mime-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{mime-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{mime-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{mime-mp448xyj.js → command-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{mime-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{mime-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{mime-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{mime-njntx4h6.js → command-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{mime-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{mime-q74kybfr.js → command-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{mime-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{mime-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{mime-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{mime-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{mime-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{mime-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{mime-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{mime-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{mime-twg0f83k.js → command-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{mime-w803qqfp.js → command-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{mime-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{mime-wtztk69x.js → command-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{mime-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{mime-x61499pn.js → command-x61499pn.js} +0 -0
  778. /package/dist/chunks/{mime-y44na4kk.js → command-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{mime-y8cydn3q.js → command-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{mime-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{mime-ym463w8f.js → command-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{mime-z9919s4g.js → command-z9919s4g.js} +0 -0
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service36
4
- } from "./mime-ravsmpkf.js";
3
+ Service65
4
+ } from "./command-cpj6a2aa.js";
5
5
  import {
6
6
  observe2
7
- } from "./mime-qsdy395h.js";
7
+ } from "./command-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./mime-9rqn6x4v.js";
10
+ } from "./command-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
13
  var exports_websearch = {};
14
14
  __export(exports_websearch, {
15
15
  ConfigWebSearchPlugin: () => exports_websearch,
16
- Plugin: () => Plugin11
16
+ Plugin: () => Plugin7
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin11 = define({
20
+ var Plugin7 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service36;
23
+ const config = yield* Service65;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin11 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin11, exports_websearch };
35
+ export { Plugin7, exports_websearch };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isCheckpoint2,
3
3
  decode2
4
- } from "./mime-6z4wb64c.js";
4
+ } from "./command-88sz8qcd.js";
5
5
 
6
6
  // src/session/runner/to-llm-message.ts
7
7
  import { Message, ToolCallPart, ToolResultPart } from "@opencode/ai";
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./mime-2a5m3afh.js";
5
+ } from "./command-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./mime-9rqn6x4v.js";
8
+ } from "./command-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service71,
3
- node75
4
- } from "./mime-n9aqzp6a.js";
2
+ Service47,
3
+ node50
4
+ } from "./command-9rqme4wv.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make19,
8
+ make21,
9
9
  diffByKey2
10
- } from "./mime-t550f9t1.js";
10
+ } from "./command-s8d7rejh.js";
11
11
  import {
12
12
  __export
13
- } from "./mime-9rqn6x4v.js";
13
+ } from "./command-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions2 = {};
17
- __export(exports_instructions2, {
18
- ReferenceInstructions: () => exports_instructions2,
19
- Service: () => Service19,
20
- node: () => node24
16
+ var exports_instructions5 = {};
17
+ __export(exports_instructions5, {
18
+ ReferenceInstructions: () => exports_instructions5,
19
+ Service: () => Service37,
20
+ node: () => node41
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,18 +57,18 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service19 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service37 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service19, Effect.gen(function* () {
63
- const references = yield* Service71;
64
- return Service19.of({
62
+ var layer = Layer.effect(Service37, Effect.gen(function* () {
63
+ const references = yield* Service47;
64
+ return Service37.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make19({
71
+ return make21({
72
72
  key: Key3.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node24 = makeLocationNode({ service: Service19, layer, deps: [node75] });
84
+ var node41 = makeLocationNode({ service: Service37, layer, deps: [node50] });
85
85
 
86
- export { Service19, node24, exports_instructions2 };
86
+ export { Service37, node41, exports_instructions5 };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service36
3
- } from "./mime-ravsmpkf.js";
2
+ Service65
3
+ } from "./command-cpj6a2aa.js";
4
4
  import {
5
5
  Service6
6
- } from "./mime-72dg5627.js";
6
+ } from "./command-ztzqvfjg.js";
7
7
  import {
8
8
  observe2
9
- } from "./mime-qsdy395h.js";
9
+ } from "./command-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./mime-9rqn6x4v.js";
12
+ } from "./command-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compaction.ts
15
15
  var exports_compaction = {};
16
16
  __export(exports_compaction, {
17
17
  ConfigCompactionPlugin: () => exports_compaction,
18
- Plugin: () => Plugin18
18
+ Plugin: () => Plugin8
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin18 = define({
22
+ var Plugin8 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service36;
25
+ const config = yield* Service65;
26
26
  const compaction = yield* Service6;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
@@ -39,4 +39,4 @@ var Plugin18 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin18, exports_compaction };
42
+ export { Plugin8, exports_compaction };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./mime-dz9f79na.js";
4
+ } from "./command-hxvm7zmc.js";
5
5
  import {
6
6
  Key4,
7
- Service70,
8
- node74
9
- } from "./mime-qq2f46q1.js";
7
+ Service77,
8
+ node82
9
+ } from "./command-yg5c8d2j.js";
10
10
  import {
11
11
  create3
12
- } from "./mime-kg06axw8.js";
12
+ } from "./command-kg06axw8.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./mime-7y5rpdmb.js";
16
+ } from "./command-qn2q96g0.js";
17
17
  import {
18
18
  __export
19
- } from "./mime-9rqn6x4v.js";
19
+ } from "./command-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -30,17 +30,17 @@ __export(exports_integration, {
30
30
  CommandAttemptStatus: () => CommandAttemptStatus2,
31
31
  CommandMethod: () => CommandMethod2,
32
32
  EnvMethod: () => EnvMethod2,
33
- Event: () => Event15,
34
- ID: () => ID12,
35
- Info: () => Info25,
33
+ Event: () => Event17,
34
+ ID: () => ID13,
35
+ Info: () => Info28,
36
36
  Integration: () => exports_integration,
37
37
  KeyMethod: () => KeyMethod2,
38
38
  Method: () => Method2,
39
39
  MethodID: () => MethodID2,
40
40
  OAuthMethod: () => OAuthMethod2,
41
- Ref: () => Ref2,
42
- Service: () => Service68,
43
- node: () => node72
41
+ Ref: () => Ref3,
42
+ Service: () => Service74,
43
+ node: () => node79
44
44
  });
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import {
@@ -61,8 +61,8 @@ import {
61
61
  import { Integration } from "@opencode/schema/integration";
62
62
  import { AppProcess } from "@opencode/util/process";
63
63
  import { ChildProcess } from "effect/unstable/process";
64
- import { Event as Event15 } from "@opencode/schema/integration";
65
- var ID12 = Integration.ID;
64
+ import { Event as Event17 } from "@opencode/schema/integration";
65
+ var ID13 = Integration.ID;
66
66
  var MethodID2 = Integration.MethodID;
67
67
  var AttemptID2 = Integration.AttemptID;
68
68
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
70
70
  var KeyMethod2 = Integration.KeyMethod;
71
71
  var EnvMethod2 = Integration.EnvMethod;
72
72
  var Method2 = Integration.Method;
73
- var Info25 = Integration.Info;
73
+ var Info28 = Integration.Info;
74
74
  var Attempt2 = Integration.Attempt;
75
75
  var AttemptStatus2 = Integration.AttemptStatus;
76
76
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -85,15 +85,15 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
85
85
  cause: Schema.Defect()
86
86
  }) {
87
87
  }
88
- var Ref2 = Integration.Ref;
88
+ var Ref3 = Integration.Ref;
89
89
 
90
- class Service68 extends Context.Service()("@opencode/Integration") {
90
+ class Service74 extends Context.Service()("@opencode/Integration") {
91
91
  }
92
92
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
93
93
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
94
94
  var scrubInterval = Duration.seconds(30);
95
- var layer = Layer.effect(Service68, Effect.gen(function* () {
96
- const credentials = yield* Service70;
95
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
96
+ const credentials = yield* Service77;
97
97
  const bus = yield* Service79;
98
98
  const processes = yield* AppProcess.Service;
99
99
  const scope = yield* Scope.Scope;
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
187
187
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
188
188
  return [...credentials, ...env];
189
189
  };
190
- const project = (entry, connections) => Info25.make({
190
+ const project = (entry, connections) => Info28.make({
191
191
  id: entry.ref.id,
192
192
  name: entry.ref.name,
193
193
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
417
417
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
418
418
  return CommandAttempt2.make({ attemptID, time });
419
419
  });
420
- return Service68.of({
420
+ return Service74.of({
421
421
  transform: state.transform,
422
422
  reload: state.reload,
423
423
  get: Effect.fn("Integration.get")(function* (id) {
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
565
565
  }
566
566
  });
567
567
  }));
568
- var node72 = makeLocationNode({
569
- service: Service68,
568
+ var node79 = makeLocationNode({
569
+ service: Service74,
570
570
  layer,
571
- deps: [node74, node84, AppProcess.node]
571
+ deps: [node82, node84, AppProcess.node]
572
572
  });
573
573
 
574
- export { ID12, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info25, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service68, node72, exports_integration, Event15 };
574
+ export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info28, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref3, Service74, node79, exports_integration, Event17 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./mime-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/provider.ts
6
6
  var exports_provider3 = {};
7
7
  __export(exports_provider3, {
8
8
  AISDK_PREFIX: () => AISDK_PREFIX2,
9
- ID: () => ID18,
10
- Info: () => Info33,
9
+ ID: () => ID17,
10
+ Info: () => Info32,
11
11
  LoadError: () => LoadError3,
12
12
  Provider: () => exports_provider3,
13
13
  Request: () => Request3,
@@ -23,7 +23,7 @@ import { Effect, Schema } from "effect";
23
23
  import { Provider } from "@opencode/schema/provider";
24
24
  import { isRecord } from "@opencode/ai/utils/record";
25
25
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
26
- var ID18 = Provider.ID;
26
+ var ID17 = Provider.ID;
27
27
  var AISDK_PREFIX2 = "aisdk:";
28
28
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
29
29
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -139,7 +139,7 @@ function mergeHeaders2(base, overlay) {
139
139
  }
140
140
  var Request3 = Provider.Request;
141
141
  var Settings2 = Provider.Settings;
142
- var Info33 = Provider.Info;
142
+ var Info32 = Provider.Info;
143
143
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
144
144
  const module = yield* Effect.tryPromise({
145
145
  try: () => {
@@ -161,4 +161,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
161
161
  return module;
162
162
  });
163
163
 
164
- export { ID18, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info33, exports_provider3 };
164
+ export { ID17, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info32, exports_provider3 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./mime-6msgmcgs.js";
3
+ } from "./command-6msgmcgs.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./mime-8p4f9s12.js";
6
+ } from "./command-8p4f9s12.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -2,37 +2,37 @@ import {
2
2
  ephemeral2,
3
3
  Service79,
4
4
  node84
5
- } from "./mime-dz9f79na.js";
5
+ } from "./command-hxvm7zmc.js";
6
6
  import {
7
7
  __export
8
- } from "./mime-9rqn6x4v.js";
8
+ } from "./command-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service12,
14
+ Service: () => Service10,
15
15
  Updated: () => Updated2,
16
16
  layer: () => layer7,
17
- node: () => node15
17
+ node: () => node13
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service12 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service10 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer7 = Layer.effect(Service12, Effect.gen(function* () {
25
+ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
26
26
  const bus = yield* Service79;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service12.of({
29
+ return Service10.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node15 = makeGlobalNode({ service: Service12, layer: layer7, deps: [node84] });
36
+ var node13 = makeGlobalNode({ service: Service10, layer: layer7, deps: [node84] });
37
37
 
38
- export { Updated2, Service12, layer7, node15, exports_sdk };
38
+ export { Updated2, Service10, layer7, node13, exports_sdk };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./mime-dz9f79na.js";
4
+ } from "./command-hxvm7zmc.js";
5
5
  import {
6
- Event17,
7
- Service70,
8
- node74
9
- } from "./mime-qq2f46q1.js";
6
+ Event19,
7
+ Service77,
8
+ node82
9
+ } from "./command-yg5c8d2j.js";
10
10
  import {
11
- Service37,
12
- node40
13
- } from "./mime-2x0nmk7c.js";
11
+ Service66,
12
+ node71
13
+ } from "./command-j9vx3v9v.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./mime-922hggd3.js";
16
+ } from "./command-922hggd3.js";
17
17
  import {
18
- Service74,
19
- node78
20
- } from "./mime-dtbtf822.js";
18
+ Service67,
19
+ node72
20
+ } from "./command-hgdt9556.js";
21
21
  import {
22
22
  substitute2
23
- } from "./mime-yrznvahk.js";
23
+ } from "./command-s4enseaf.js";
24
24
  import {
25
25
  normalize2
26
- } from "./mime-ba8r4wxs.js";
26
+ } from "./command-d6gjw5d8.js";
27
27
  import {
28
- names3,
28
+ names4,
29
29
  discover3
30
- } from "./mime-5g8036jg.js";
30
+ } from "./command-19av3p62.js";
31
31
  import {
32
32
  plan2
33
- } from "./mime-j56e64zr.js";
33
+ } from "./command-j56e64zr.js";
34
34
  import {
35
- Service41,
36
- Event6,
37
- node44
38
- } from "./mime-wd39cpyz.js";
35
+ Service70,
36
+ Event15,
37
+ node75
38
+ } from "./command-gfc9zyvq.js";
39
39
  import {
40
40
  __export
41
- } from "./mime-9rqn6x4v.js";
41
+ } from "./command-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options3,
48
- Service: () => Service36,
47
+ Options: () => Options8,
48
+ Service: () => Service65,
49
49
  Test: () => Test2,
50
- configured: () => configured3,
50
+ configured: () => configured10,
51
51
  latest: () => latest2,
52
- layer: () => layer15,
53
- node: () => node39,
52
+ layer: () => layer22,
53
+ node: () => node70,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -71,14 +71,14 @@ import { Global } from "@opencode/util/global";
71
71
  function latest2(entries, key) {
72
72
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
73
73
  }
74
- var Options3 = Schema.Struct({
74
+ var Options8 = Schema.Struct({
75
75
  project: Schema.optional(Schema.Boolean),
76
76
  global: Schema.optional(Schema.Boolean),
77
77
  file: Schema.optional(Schema.String),
78
78
  content: Schema.optional(Schema.String)
79
79
  });
80
80
 
81
- class Service36 extends Context.Service()("@opencode/Config") {
81
+ class Service65 extends Context.Service()("@opencode/Config") {
82
82
  }
83
83
 
84
84
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
92
92
  setEntries: (next) => Ref.set(entries, next),
93
93
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
94
94
  });
95
- return Context.empty().pipe(Context.add(Service36, service), Context.add(Test2, service));
95
+ return Context.empty().pipe(Context.add(Service65, service), Context.add(Test2, service));
96
96
  }));
97
- var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
97
+ var layer22 = (options) => Layer.effect(Service65, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const location = yield* Service74;
100
- const watcher = yield* Service37;
99
+ const location = yield* Service67;
100
+ const watcher = yield* Service66;
101
101
  const bus = yield* Service79;
102
- const credentials = yield* Service70;
103
- const wellknown = yield* Service41;
102
+ const credentials = yield* Service77;
103
+ const wellknown = yield* Service70;
104
104
  const reloadLock = Semaphore.makeUnsafe(1);
105
105
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
106
106
  const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
@@ -168,7 +168,7 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
168
168
  });
169
169
  const loadDirectory = Effect.fnUntraced(function* (directory) {
170
170
  return [
171
- ...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
171
+ ...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
172
172
  new Directory({ type: "directory", path: directory })
173
173
  ];
174
174
  });
@@ -223,8 +223,8 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
223
223
  }, (effect) => reloadLock.withPermit(effect));
224
224
  const pendingReloads = yield* PubSub.subscribe(reloads);
225
225
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
227
- yield* bus.subscribe(Event6.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
227
+ yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
228
228
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
229
229
  if (!wellknown.snapshot().length)
230
230
  return Effect.void;
@@ -235,20 +235,20 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
235
235
  }).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
236
236
  })), Effect.forever, Effect.forkScoped({ startImmediately: true }));
237
237
  yield* reloadLock.withPermit(reconcile(initial));
238
- return Service36.of({
238
+ return Service65.of({
239
239
  entries: Effect.fnUntraced(function* () {
240
240
  return configs;
241
241
  }),
242
242
  changes: () => Stream.fromPubSub(updates)
243
243
  });
244
244
  }));
245
- function configured3(options) {
245
+ function configured10(options) {
246
246
  return makeLocationNode({
247
- service: Service36,
248
- layer: layer15(options),
249
- deps: [node40, node84, FSUtil.node, Global.node, node78, node74, node44]
247
+ service: Service65,
248
+ layer: layer22(options),
249
+ deps: [node71, node84, FSUtil.node, Global.node, node72, node82, node75]
250
250
  });
251
251
  }
252
- var node39 = configured3();
252
+ var node70 = configured10();
253
253
 
254
- export { latest2, Options3, Service36, Test2, testLayer2, layer15, configured3, node39, exports_config };
254
+ export { latest2, Options8, Service65, Test2, testLayer2, layer22, configured10, node70, exports_config };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service80
3
- } from "./mime-4653w0q1.js";
3
+ } from "./command-3nc90kmd.js";
4
4
  import {
5
5
  Service79
6
- } from "./mime-dz9f79na.js";
6
+ } from "./command-hxvm7zmc.js";
7
7
  import {
8
- Service31
9
- } from "./mime-s90d8d6b.js";
8
+ Service44
9
+ } from "./command-hwe7x4em.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./mime-922hggd3.js";
12
+ } from "./command-922hggd3.js";
13
13
  import {
14
- ID3,
15
- Service32
16
- } from "./mime-t9bxbmcs.js";
14
+ ID5,
15
+ Service38
16
+ } from "./command-4wn6b914.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./mime-ec1grn59.js";
19
+ } from "./command-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./mime-gftt206x.js";
22
+ } from "./command-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./mime-yvdxbma0.js";
25
+ } from "./command-5xp4z8zk.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./mime-a1bz86dw.js";
28
+ } from "./command-a1bz86dw.js";
29
29
  import {
30
30
  __export
31
- } from "./mime-9rqn6x4v.js";
31
+ } from "./command-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service31;
45
+ const instances = yield* Service44;
46
46
  const database = yield* Service80;
47
47
  const bus = yield* Service79;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service32;
50
- const original = input.session.revert?.snapshot ? ID3.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service38;
50
+ const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service31;
77
+ const instances = yield* Service44;
78
78
  const bus = yield* Service79;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service32;
80
+ const snapshot = yield* Service38;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID3.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID3.make(message.snapshot.start));
114
+ files.set(file, ID5.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });