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