@opencode/core 0.0.0-dev-19337 → 0.0.0-dev-19340

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 (780) 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/{credential-526v470z.js → command-058t7yf9.js} +2 -2
  9. package/dist/chunks/{credential-249nn8tn.js → command-06fs55ff.js} +21 -21
  10. package/dist/chunks/{credential-et95z6r9.js → command-071pgthj.js} +27 -27
  11. package/dist/chunks/{credential-0n3rk2gt.js → command-07am1m2n.js} +13 -13
  12. package/dist/chunks/{credential-151mpj9e.js → command-0arazqkx.js} +10 -10
  13. package/dist/chunks/{credential-0bnjtszc.js → command-0njkqfg3.js} +11 -11
  14. package/dist/chunks/{credential-0paq2nw3.js → command-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{credential-0q0f95c6.js → command-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{credential-31dzdahz.js → command-16yyeh88.js} +3 -3
  17. package/dist/chunks/{credential-pc200wed.js → command-16zr1pr9.js} +11 -11
  18. package/dist/chunks/{credential-1dazxqgg.js → command-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{credential-1dfhrqqs.js → command-1dfhrqqs.js} +2 -2
  20. package/dist/chunks/{credential-79ygexg1.js → command-1hp1n8hq.js} +10 -10
  21. package/dist/chunks/{credential-3gfpy94r.js → command-1k8kk91w.js} +46 -46
  22. package/dist/chunks/{credential-j10vveh1.js → command-1tj6de83.js} +6 -6
  23. package/dist/chunks/{credential-1ygqh575.js → command-1ygqh575.js} +2 -2
  24. package/dist/chunks/{credential-p6d8qxhz.js → command-21pbdrht.js} +45 -45
  25. package/dist/chunks/{credential-21r38tys.js → command-21r38tys.js} +1 -1
  26. package/dist/chunks/{credential-2nbt55tc.js → command-2336b01z.js} +8 -8
  27. package/dist/chunks/{credential-2402vzrj.js → command-2402vzrj.js} +1 -1
  28. package/dist/chunks/{credential-v6pdazz0.js → command-289tsq5j.js} +34 -34
  29. package/dist/chunks/{credential-hhf650b6.js → command-290wsyyp.js} +20 -20
  30. package/dist/chunks/{credential-29x78va6.js → command-29x78va6.js} +2 -2
  31. package/dist/chunks/{credential-2a5m3afh.js → command-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{credential-dp84dkzj.js → command-2fptrwpm.js} +11 -11
  33. package/dist/chunks/{credential-nkz5kzvr.js → command-2gg4mvag.js} +16 -16
  34. package/dist/chunks/{credential-qz49fwgp.js → command-2jmaghvr.js} +6 -6
  35. package/dist/chunks/{credential-6kqsmg0b.js → command-2jr08de7.js} +23 -23
  36. package/dist/chunks/{credential-7dqw4kz8.js → command-2k8khapm.js} +5 -5
  37. package/dist/chunks/{credential-eere18dq.js → command-2r3qnbph.js} +5 -5
  38. package/dist/chunks/{credential-jj6pqn3w.js → command-2s62dw2x.js} +1 -1
  39. package/dist/chunks/{credential-4jmdj23e.js → command-352w66m8.js} +9 -9
  40. package/dist/chunks/{credential-9rdh6ewn.js → command-357er88r.js} +8 -8
  41. package/dist/chunks/{credential-j4m9dw8y.js → command-37wx6eva.js} +10 -10
  42. package/dist/chunks/{credential-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{credential-tdw0q9zr.js → command-3hrzv0kt.js} +19 -19
  44. package/dist/chunks/{credential-bct739vz.js → command-3j8sdtpz.js} +4 -4
  45. package/dist/chunks/{credential-e1pb9r1r.js → command-3kp7n1bh.js} +25 -25
  46. package/dist/chunks/{credential-s2aq5fn4.js → command-3s259dc5.js} +7 -7
  47. package/dist/chunks/{credential-3smtnn6g.js → command-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{credential-3tvqynh2.js → command-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{credential-pjedbq3k.js → command-3wm7cf08.js} +6 -6
  50. package/dist/chunks/{credential-5gnvgr1s.js → command-3xgcdqsq.js} +35 -35
  51. package/dist/chunks/{credential-nhy5jxhy.js → command-47gsdddb.js} +5 -5
  52. package/dist/chunks/{credential-1j4x7018.js → command-4d14myfn.js} +33 -33
  53. package/dist/chunks/{credential-b0grxa7w.js → command-4drgpw32.js} +5 -5
  54. package/dist/chunks/{credential-ntdnj22e.js → command-4exj6bqr.js} +12 -12
  55. package/dist/chunks/{credential-22rswy7q.js → command-4tkmwwah.js} +7 -7
  56. package/dist/chunks/{credential-4rym0agr.js → command-4z9mtqyz.js} +11 -11
  57. package/dist/chunks/{credential-rxzbznts.js → command-4zy2mhr2.js} +26 -26
  58. package/dist/chunks/{credential-593yh7cm.js → command-556mt29y.js} +2 -2
  59. package/dist/chunks/{credential-5daktx2q.js → command-5daktx2q.js} +1 -1
  60. package/dist/chunks/{credential-rgcx19v1.js → command-5gy68s7g.js} +21 -21
  61. package/dist/chunks/{credential-6gdcbxbt.js → command-5s59rewz.js} +5 -5
  62. package/dist/chunks/{credential-5t3nmthw.js → command-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{credential-669tq793.js → command-669tq793.js} +1 -1
  64. package/dist/chunks/{credential-ja89yahs.js → command-68m404t8.js} +12 -12
  65. package/dist/chunks/{credential-trjjxkd4.js → command-68w7n5s5.js} +14 -14
  66. package/dist/chunks/{credential-4css7a44.js → command-6c7a0g9q.js} +13 -13
  67. package/dist/chunks/{credential-17qwwr3r.js → command-6hyh8d33.js} +13 -13
  68. package/dist/chunks/{credential-pnv527nz.js → command-6jnybvqn.js} +9 -9
  69. package/dist/chunks/{credential-6msgmcgs.js → command-6msgmcgs.js} +1 -1
  70. package/dist/chunks/{credential-64kphnzf.js → command-6p3xbzsx.js} +4 -4
  71. package/dist/chunks/{credential-q19fwqr8.js → command-6sd8tygk.js} +4 -4
  72. package/dist/chunks/{credential-b5hymcep.js → command-70vxa6pp.js} +10 -10
  73. package/dist/chunks/{credential-71q4at8m.js → command-71q4at8m.js} +1 -1
  74. package/dist/chunks/{credential-n6avr4zf.js → command-71sxxhdq.js} +11 -11
  75. package/dist/chunks/{credential-a2ew8a62.js → command-73gmm198.js} +4 -4
  76. package/dist/chunks/{credential-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{credential-mtft99cd.js → command-7gvwkz6m.js} +5 -5
  78. package/dist/chunks/{credential-98g7fywj.js → command-7zxy0r75.js} +11 -11
  79. package/dist/chunks/{credential-81swgkk7.js → command-81swgkk7.js} +2 -2
  80. package/dist/chunks/{credential-q26tgv94.js → command-844ef7ks.js} +8 -8
  81. package/dist/chunks/{credential-efhzxcq4.js → command-8560ytdy.js} +24 -24
  82. package/dist/chunks/{credential-dnba0na5.js → command-87s66tky.js} +8 -8
  83. package/dist/chunks/{credential-tcezcvh9.js → command-89znhe33.js} +4 -4
  84. package/dist/chunks/{credential-q5zfzp2a.js → command-8a43qwm6.js} +46 -46
  85. package/dist/chunks/{credential-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{credential-8483wvpx.js → command-8dpy7hpx.js} +7 -7
  87. package/dist/chunks/{credential-d94m8qs1.js → command-8em5q6v9.js} +12 -12
  88. package/dist/chunks/command-8jw9xxr7.js +22 -0
  89. package/dist/chunks/{credential-dj2t23y0.js → command-8p4f9s12.js} +2 -2
  90. package/dist/chunks/{credential-eg6kvm4e.js → command-8wkvwetv.js} +33 -33
  91. package/dist/chunks/{credential-73t188jy.js → command-8wsye86r.js} +8 -8
  92. package/dist/chunks/{credential-k8r06fnw.js → command-8xyemkvq.js} +3 -3
  93. package/dist/chunks/{credential-gg9d5pah.js → command-8zbbstcn.js} +16 -16
  94. package/dist/chunks/{credential-71qmvsg5.js → command-8zv2n1xn.js} +8 -8
  95. package/dist/chunks/{credential-wptwfzfm.js → command-9cctb9bg.js} +24 -24
  96. package/dist/chunks/{credential-b01ntp0y.js → command-9dwetznw.js} +287 -287
  97. package/dist/chunks/{credential-r50xb6dr.js → command-9v7bhpan.js} +11 -11
  98. package/dist/chunks/{credential-b9pe0b4x.js → command-9wrz99x9.js} +11 -11
  99. package/dist/chunks/{credential-5c4hm403.js → command-a1bz86dw.js} +3 -3
  100. package/dist/chunks/{credential-rxhbz9hr.js → command-a2fmrcfx.js} +4 -4
  101. package/dist/chunks/{credential-y8ztsxtk.js → command-a3vbp4x0.js} +9 -9
  102. package/dist/chunks/{credential-aaet6srn.js → command-aaet6srn.js} +2 -2
  103. package/dist/chunks/{credential-rp0q961h.js → command-akqdjt52.js} +36 -36
  104. package/dist/chunks/{credential-2jhbac8t.js → command-atwtfknp.js} +21 -21
  105. package/dist/chunks/{credential-cqwj9awd.js → command-b06etp1z.js} +21 -21
  106. package/dist/chunks/{credential-b6gygkdw.js → command-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{credential-cbqmp7b7.js → command-baf8vqcb.js} +18 -18
  108. package/dist/chunks/{credential-hrj4tf28.js → command-bcm798z8.js} +3 -3
  109. package/dist/chunks/{credential-m4vn3qv8.js → command-bgcypqfq.js} +15 -15
  110. package/dist/chunks/{credential-3fh0rg45.js → command-bnm0713s.js} +11 -11
  111. package/dist/chunks/{credential-rc4v7jdw.js → command-bx97mp2c.js} +3 -3
  112. package/dist/chunks/{credential-55r4thj5.js → command-by885ras.js} +4 -4
  113. package/dist/chunks/{credential-j9cg0esf.js → command-ca8kgyjt.js} +78 -78
  114. package/dist/chunks/{credential-m0jqrx5p.js → command-cfpkc3c9.js} +2 -2
  115. package/dist/chunks/{credential-w27d4nw8.js → command-cgpqyknh.js} +28 -28
  116. package/dist/chunks/{credential-2tfmgkzg.js → command-cq37gk0t.js} +4 -4
  117. package/dist/chunks/{credential-mhayska3.js → command-cqq77scw.js} +6 -6
  118. package/dist/chunks/{credential-y91nxhfn.js → command-cy0caesz.js} +16 -16
  119. package/dist/chunks/{credential-z3pw5915.js → command-d87ppnb3.js} +5 -5
  120. package/dist/chunks/{credential-gb35scn0.js → command-dq5erfj9.js} +17 -17
  121. package/dist/chunks/{credential-5cnp842v.js → command-dt3kpdt2.js} +11 -11
  122. package/dist/chunks/{credential-ac32kc2r.js → command-dv5md250.js} +15 -15
  123. package/dist/chunks/{credential-bawspjyh.js → command-e81phd5e.js} +13 -13
  124. package/dist/chunks/{credential-npsw1jjn.js → command-ee0v75zs.js} +15 -15
  125. package/dist/chunks/{credential-1bbkgx8g.js → command-eq1pz5kg.js} +3 -3
  126. package/dist/chunks/{credential-etq0c3wd.js → command-etq0c3wd.js} +1 -1
  127. package/dist/chunks/{credential-2tw57gz0.js → command-ewq934af.js} +9 -9
  128. package/dist/chunks/{credential-qmthdazp.js → command-ezxzkja2.js} +15 -15
  129. package/dist/chunks/{credential-qdykr49y.js → command-f1endfdf.js} +13 -13
  130. package/dist/chunks/{credential-enygcmwv.js → command-f405q49x.js} +14 -14
  131. package/dist/chunks/{credential-hdnk95c8.js → command-f828m53h.js} +2 -2
  132. package/dist/chunks/{credential-ahcp8nkf.js → command-ffd8yj9h.js} +3 -3
  133. package/dist/chunks/{credential-gh3h736b.js → command-fhh9803e.js} +11 -11
  134. package/dist/chunks/{credential-jxzmtya1.js → command-fhq6reqx.js} +26 -26
  135. package/dist/chunks/{credential-96h9wr4f.js → command-fq2b9r6y.js} +17 -17
  136. package/dist/chunks/{credential-a2tdmfa4.js → command-frdrseff.js} +27 -27
  137. package/dist/chunks/{credential-h1z6jwhd.js → command-ftt3rafc.js} +23 -23
  138. package/dist/chunks/{credential-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
  139. package/dist/chunks/{credential-fyjrpq2n.js → command-fyjrpq2n.js} +3 -3
  140. package/dist/chunks/{credential-gp1yc2vx.js → command-g48a3zmh.js} +12 -12
  141. package/dist/chunks/{credential-5e20nh0k.js → command-gcgba2m6.js} +14 -14
  142. package/dist/chunks/{credential-gd4qta3r.js → command-gd4qta3r.js} +1 -1
  143. package/dist/chunks/{credential-3fc6dm20.js → command-gdvy8fx6.js} +4 -4
  144. package/dist/chunks/{credential-b8s54zd1.js → command-gfdt0few.js} +11 -11
  145. package/dist/chunks/command-gnc7c7rw.js +247 -0
  146. package/dist/chunks/{credential-x0srfm87.js → command-grw52wr5.js} +15 -15
  147. package/dist/chunks/{credential-gv6a8nnw.js → command-gv6a8nnw.js} +2 -2
  148. package/dist/chunks/{credential-h03wrkyp.js → command-h03wrkyp.js} +2 -2
  149. package/dist/chunks/{credential-w8gzpttc.js → command-h17eanzf.js} +23 -23
  150. package/dist/chunks/{credential-w09rpk5j.js → command-h29crgh1.js} +7 -7
  151. package/dist/chunks/{credential-e8184ah6.js → command-h336fp6c.js} +143 -143
  152. package/dist/chunks/{credential-gf4qtxm6.js → command-h457z9c3.js} +1 -1
  153. package/dist/chunks/{credential-h6vf3j39.js → command-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{credential-wvhct48y.js → command-hc7b2h00.js} +24 -24
  155. package/dist/chunks/{credential-fbp1d1k7.js → command-hdx86dvw.js} +20 -20
  156. package/dist/chunks/{credential-exydcs1h.js → command-hjcy75b0.js} +15 -15
  157. package/dist/chunks/{credential-98408z27.js → command-hmv863ha.js} +30 -30
  158. package/dist/chunks/{credential-r4k4q95n.js → command-hn16n4ga.js} +43 -43
  159. package/dist/chunks/{credential-c3xdpmrh.js → command-hpr7c3g9.js} +8 -8
  160. package/dist/chunks/{credential-ahymmsbp.js → command-hrstj3y9.js} +14 -14
  161. package/dist/chunks/{credential-ghk9cxjs.js → command-hwe7x4em.js} +6 -6
  162. package/dist/chunks/{credential-g3nd3rk8.js → command-hzdjxxhj.js} +20 -20
  163. package/dist/chunks/{credential-yww5gzhe.js → command-j4e3jsg7.js} +5 -5
  164. package/dist/chunks/{credential-j56e64zr.js → command-j56e64zr.js} +1 -1
  165. package/dist/chunks/{credential-1adagaa7.js → command-j91vykf4.js} +26 -26
  166. package/dist/chunks/{credential-z6rkfk30.js → command-jdfx4b8y.js} +15 -15
  167. package/dist/chunks/{credential-jefma2gq.js → command-jefma2gq.js} +3 -3
  168. package/dist/chunks/{credential-ddtk0mvx.js → command-jp4vwsmq.js} +10 -10
  169. package/dist/chunks/{credential-kk00bynn.js → command-jr3tywxk.js} +4 -4
  170. package/dist/chunks/{credential-hcz3zddy.js → command-jv01nqvq.js} +5 -5
  171. package/dist/chunks/{credential-0996nyz8.js → command-jwx4y25k.js} +5 -5
  172. package/dist/chunks/{credential-w7cj9ekx.js → command-kf5543nd.js} +4 -4
  173. package/dist/chunks/{credential-kg06axw8.js → command-kg06axw8.js} +1 -1
  174. package/dist/chunks/{credential-gx1zhcta.js → command-kjcr15p7.js} +1 -1
  175. package/dist/chunks/{credential-jx42jpcz.js → command-kv4yc82c.js} +11 -11
  176. package/dist/chunks/{credential-xzr3fv1j.js → command-kwktpek4.js} +6 -6
  177. package/dist/chunks/{credential-vqh4gwbt.js → command-m4bcmcjq.js} +29 -29
  178. package/dist/chunks/{credential-3gfv59ch.js → command-m5zyy4tv.js} +12 -12
  179. package/dist/chunks/{credential-ng5shs3s.js → command-m9g7kjz2.js} +1 -1
  180. package/dist/chunks/{credential-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{credential-nc3q5shn.js → command-mbznh4s6.js} +79 -79
  182. package/dist/chunks/{credential-9a1bzkpj.js → command-mgkcxgp8.js} +11 -11
  183. package/dist/chunks/{credential-mkcjrzeh.js → command-mkcjrzeh.js} +1 -1
  184. package/dist/chunks/{credential-gj6dbvth.js → command-mpn2n5n1.js} +8 -8
  185. package/dist/chunks/{credential-jh4fk4tf.js → command-mrn52ye8.js} +16 -16
  186. package/dist/chunks/{credential-vgcq2s3r.js → command-mvqfncgj.js} +10 -10
  187. package/dist/chunks/{credential-mkw2wvv0.js → command-my9h9hzg.js} +17 -17
  188. package/dist/chunks/{credential-m1gz7xkc.js → command-n0j6r25c.js} +22 -22
  189. package/dist/chunks/{credential-89spjjbp.js → command-n5wndhd6.js} +25 -25
  190. package/dist/chunks/{credential-z8awfy9p.js → command-ncaz8497.js} +11 -11
  191. package/dist/chunks/{credential-cb5dpwd3.js → command-ndhysefr.js} +31 -31
  192. package/dist/chunks/{credential-6dtevzgb.js → command-neeqahzq.js} +59 -59
  193. package/dist/chunks/{credential-6ee1nj74.js → command-nq63wmfx.js} +7 -7
  194. package/dist/chunks/{credential-vsa2623n.js → command-nrpht070.js} +26 -26
  195. package/dist/chunks/{credential-3k31r9j9.js → command-nvnfwph8.js} +11 -11
  196. package/dist/chunks/{credential-p0sx4xrp.js → command-p34q75r1.js} +38 -38
  197. package/dist/chunks/{credential-vyje1mnf.js → command-p5gbrdgq.js} +17 -17
  198. package/dist/chunks/{credential-vr2q3kmy.js → command-phjaars8.js} +6 -6
  199. package/dist/chunks/{credential-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{credential-pknna89w.js → command-pknna89w.js} +1 -1
  201. package/dist/chunks/{credential-rhhgd1jt.js → command-q30tygxd.js} +2 -2
  202. package/dist/chunks/{credential-vyqtz9n7.js → command-qd417my5.js} +1 -1
  203. package/dist/chunks/{credential-nahk2kxe.js → command-qqd26nq6.js} +24 -24
  204. package/dist/chunks/{credential-qsdy395h.js → command-qsdy395h.js} +1 -1
  205. package/dist/chunks/{credential-7jdsj2a9.js → command-qsee9sfb.js} +3 -3
  206. package/dist/chunks/{credential-j1etvyav.js → command-qtsr48c5.js} +6 -6
  207. package/dist/chunks/{credential-eckjfj34.js → command-qwch66v3.js} +6 -6
  208. package/dist/chunks/{credential-f0yr6nyc.js → command-qymwj187.js} +22 -22
  209. package/dist/chunks/{credential-2998kf83.js → command-r54ga04y.js} +48 -48
  210. package/dist/chunks/{credential-w2q9x1k3.js → command-ra3qct3x.js} +7 -7
  211. package/dist/chunks/{credential-rap9a73h.js → command-rap9a73h.js} +1 -1
  212. package/dist/chunks/{credential-5hrkz7py.js → command-redwpn1x.js} +4 -4
  213. package/dist/chunks/{credential-dyhhrnbz.js → command-remxzp3g.js} +8 -8
  214. package/dist/chunks/{credential-1b5rdxkb.js → command-rgach609.js} +11 -11
  215. package/dist/chunks/{credential-eaj1djv9.js → command-rhjbct0v.js} +8 -8
  216. package/dist/chunks/{credential-3x4a4zpr.js → command-rhy34gnx.js} +6 -6
  217. package/dist/chunks/{credential-stb366ab.js → command-rj8d4vx7.js} +17 -17
  218. package/dist/chunks/{credential-5w5ha1nc.js → command-rqdgyf5f.js} +7 -7
  219. package/dist/chunks/{credential-t5pp6k6z.js → command-rr7cvzdb.js} +4 -4
  220. package/dist/chunks/{credential-2a29v3a8.js → command-s2kyekkn.js} +25 -25
  221. package/dist/chunks/{credential-s4enseaf.js → command-s4enseaf.js} +2 -2
  222. package/dist/chunks/{credential-jvmxcf50.js → command-s4szbmdb.js} +9 -9
  223. package/dist/chunks/{credential-hyj2vz80.js → command-s534qmrw.js} +4 -4
  224. package/dist/chunks/{credential-6qw5vjfk.js → command-s7kwm6zm.js} +5 -5
  225. package/dist/chunks/{credential-10es6fvg.js → command-scgtce1m.js} +2 -2
  226. package/dist/chunks/{credential-b1jm75xs.js → command-sjajpaqc.js} +11 -11
  227. package/dist/chunks/{credential-wrxgasq3.js → command-smsvd5z8.js} +17 -17
  228. package/dist/chunks/{credential-wfr0f2wv.js → command-snjca2tz.js} +40 -40
  229. package/dist/chunks/{credential-1hanh0e3.js → command-st3pa4gm.js} +25 -25
  230. package/dist/chunks/{credential-w031r0ta.js → command-swx6zjdy.js} +11 -11
  231. package/dist/chunks/{credential-a5gt7g2r.js → command-t0x5rdq8.js} +9 -9
  232. package/dist/chunks/{credential-tazgh4e4.js → command-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{credential-qdmm088d.js → command-tb5310gf.js} +24 -24
  234. package/dist/chunks/{credential-rnwa6k7x.js → command-tbwa9y7t.js} +4 -4
  235. package/dist/chunks/{credential-st0tfbhf.js → command-tdmnc99b.js} +8 -8
  236. package/dist/chunks/{credential-tdstcens.js → command-tdstcens.js} +1 -1
  237. package/dist/chunks/{credential-6va5e0hk.js → command-tk55yp24.js} +21 -21
  238. package/dist/chunks/{credential-fw4rsm43.js → command-tkbkgwhn.js} +22 -22
  239. package/dist/chunks/{credential-tvtrv512.js → command-tvtrv512.js} +1 -1
  240. package/dist/chunks/{credential-qzteyjp0.js → command-v9g8grrj.js} +11 -11
  241. package/dist/chunks/{credential-veqvce7d.js → command-veqvce7d.js} +1 -1
  242. package/dist/chunks/{credential-egqpk7m0.js → command-vhs5mz75.js} +10 -10
  243. package/dist/chunks/{credential-8meg8dre.js → command-vptj8nd7.js} +9 -9
  244. package/dist/chunks/{credential-wnbzzbw2.js → command-vqanb4pf.js} +7 -7
  245. package/dist/chunks/{credential-w4enfkwp.js → command-vqfcvgsz.js} +22 -22
  246. package/dist/chunks/{credential-e4bvg1nj.js → command-vr9ffpmn.js} +20 -20
  247. package/dist/chunks/{credential-fr2qe1q3.js → command-vxkr754a.js} +6 -6
  248. package/dist/chunks/{credential-vzcthcp8.js → command-vzcthcp8.js} +1 -1
  249. package/dist/chunks/{credential-9p3b3m98.js → command-vzrnynxw.js} +4 -4
  250. package/dist/chunks/{credential-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{credential-nhvhf6q8.js → command-wa9n8nyq.js} +4 -4
  252. package/dist/chunks/{credential-wd87259q.js → command-wd87259q.js} +1 -1
  253. package/dist/chunks/{credential-z2qvtray.js → command-wpm2rk0p.js} +6 -6
  254. package/dist/chunks/{credential-2566302p.js → command-wsjnvgbx.js} +7 -7
  255. package/dist/chunks/{credential-h74ge2a2.js → command-wstvv1gd.js} +8 -8
  256. package/dist/chunks/{credential-shh6fz4q.js → command-x0511brf.js} +4 -4
  257. package/dist/chunks/{credential-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{credential-x43y2vfs.js → command-x43y2vfs.js} +2 -2
  259. package/dist/chunks/{credential-0y6fnfyn.js → command-x8ya09y2.js} +13 -13
  260. package/dist/chunks/{credential-6jrdwt83.js → command-xfjwmp6z.js} +4 -4
  261. package/dist/chunks/{credential-abkdt1xb.js → command-xfxn6gek.js} +1 -1
  262. package/dist/chunks/{credential-mx65tve6.js → command-xgm06qps.js} +27 -27
  263. package/dist/chunks/{credential-g7hryrp6.js → command-xq4rgyah.js} +16 -16
  264. package/dist/chunks/{credential-28prswrc.js → command-xra6sk40.js} +6 -6
  265. package/dist/chunks/{credential-40wszbrc.js → command-xtcj8k9r.js} +41 -41
  266. package/dist/chunks/{credential-h32nz7rm.js → command-xw8fym13.js} +22 -22
  267. package/dist/chunks/{credential-7y8s6rgk.js → command-xwe3tfkg.js} +32 -32
  268. package/dist/chunks/{credential-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{credential-mj233eqc.js → command-y45y5km7.js} +2 -2
  270. package/dist/chunks/{credential-0pyqcms3.js → command-y49qrr0k.js} +1 -1
  271. package/dist/chunks/{credential-y71avatq.js → command-y71avatq.js} +1 -1
  272. package/dist/chunks/{credential-p71dzhbg.js → command-ycyqxyvr.js} +7 -7
  273. package/dist/chunks/{credential-dqv7d9mx.js → command-yd8re12n.js} +18 -18
  274. package/dist/chunks/{credential-yjc83x66.js → command-yjdkc533.js} +22 -22
  275. package/dist/chunks/{credential-1acjjqhc.js → command-yp2x3t23.js} +4 -4
  276. package/dist/chunks/{credential-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{credential-p7m6avpa.js → command-ywj00zs4.js} +35 -35
  278. package/dist/chunks/{credential-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{credential-cd4mc13g.js → command-z33n7yxw.js} +1 -1
  280. package/dist/chunks/{credential-h4rz3t7g.js → command-z5pdw36g.js} +34 -34
  281. package/dist/chunks/{credential-pn0ve21a.js → command-zbb6rgvj.js} +6 -6
  282. package/dist/chunks/{credential-tz4n1mmd.js → command-zcrspsvn.js} +4 -4
  283. package/dist/chunks/{credential-zeh9ct20.js → command-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{credential-t0vv7hjv.js → command-zgq1tywg.js} +39 -39
  285. package/dist/chunks/{credential-zrrbqdrq.js → command-zpwwzgp1.js} +29 -29
  286. package/dist/chunks/{credential-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{credential-zxq2ej10.js → command-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +3 -3
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +81 -81
  292. package/dist/config/discovery.js +79 -79
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +115 -115
  296. package/dist/config/plugin/command.js +207 -207
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +115 -115
  301. package/dist/config/plugin/instruction.js +85 -85
  302. package/dist/config/plugin/location-watcher.js +117 -117
  303. package/dist/config/plugin/mcp.js +124 -124
  304. package/dist/config/plugin/policy.js +112 -112
  305. package/dist/config/plugin/provider.js +113 -113
  306. package/dist/config/plugin/reference.js +117 -117
  307. package/dist/config/plugin/shell.js +118 -118
  308. package/dist/config/plugin/skill-file.js +97 -97
  309. package/dist/config/plugin/skill.js +136 -136
  310. package/dist/config/plugin/snapshot.js +115 -115
  311. package/dist/config/plugin/source.js +117 -117
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +115 -115
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +117 -117
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +81 -81
  320. package/dist/database/database.js +64 -64
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration.gen.js +47 -47
  384. package/dist/database/migration.js +49 -49
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +74 -74
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +362 -362
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +88 -88
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +90 -90
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +68 -68
  408. package/dist/file-access.js +99 -99
  409. package/dist/file-mutation.js +89 -89
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +222 -222
  419. package/dist/filesystem/protected.js +3 -3
  420. package/dist/filesystem/search.js +99 -99
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +100 -100
  424. package/dist/form.js +84 -84
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +82 -82
  427. package/dist/generate.js +85 -85
  428. package/dist/git.js +3 -3
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +3 -3
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +353 -353
  453. package/dist/instruction-discovery.js +83 -83
  454. package/dist/instructions/builtins.js +82 -82
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +84 -84
  458. package/dist/job.js +77 -77
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +71 -71
  461. package/dist/location-activity.js +127 -127
  462. package/dist/location-mutation.js +99 -99
  463. package/dist/location-service-map.js +81 -81
  464. package/dist/location-services.js +350 -350
  465. package/dist/location.js +76 -76
  466. package/dist/mcp/client.js +86 -86
  467. package/dist/mcp/index.js +103 -103
  468. package/dist/mcp/instructions.js +122 -122
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +85 -85
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +3 -3
  473. package/dist/model-resolver.js +86 -86
  474. package/dist/model.js +6 -6
  475. package/dist/models-dev.js +86 -86
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +76 -76
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +104 -104
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +78 -78
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +73 -73
  485. package/dist/plugin/agent.js +97 -97
  486. package/dist/plugin/command.js +94 -94
  487. package/dist/plugin/hooks.js +3 -3
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +324 -324
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +75 -75
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +97 -97
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/anthropic.js +2 -2
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/digitalocean.js +79 -79
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +80 -80
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +117 -117
  516. package/dist/plugin/provider/mistral.js +2 -2
  517. package/dist/plugin/provider/modal.js +79 -79
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +117 -117
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +78 -78
  522. package/dist/plugin/provider/opencode.js +79 -79
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +76 -76
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +115 -115
  532. package/dist/plugin/provider/xai.js +77 -77
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +72 -72
  536. package/dist/plugin/service.js +1 -1
  537. package/dist/plugin/skill.js +131 -131
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +343 -343
  540. package/dist/plugin/update.js +4 -4
  541. package/dist/plugin/variant.js +2 -2
  542. package/dist/plugin/vcs/git.js +82 -82
  543. package/dist/plugin/vcs/hg.js +82 -82
  544. package/dist/plugin/warming.js +112 -112
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +6 -6
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +2 -2
  549. package/dist/plugin/websearch/parallel.js +6 -6
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin.js +216 -216
  552. package/dist/project/schema.js +2 -2
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +75 -75
  555. package/dist/provider.js +3 -3
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +86 -86
  560. package/dist/reference/instructions.js +84 -84
  561. package/dist/reference.js +84 -84
  562. package/dist/repository-cache.js +76 -76
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +91 -91
  566. package/dist/rpc.js +81 -81
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +72 -72
  569. package/dist/session/compaction.js +127 -127
  570. package/dist/session/context.js +147 -147
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +215 -215
  575. package/dist/session/execution.js +122 -122
  576. package/dist/session/generate.js +146 -146
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +88 -88
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +92 -92
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +113 -113
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +126 -126
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +100 -100
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +85 -85
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +86 -86
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +110 -110
  599. package/dist/session/runner/step.js +121 -121
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +169 -169
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +98 -98
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +71 -71
  607. package/dist/session/store.js +83 -83
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +205 -205
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +151 -151
  612. package/dist/session/to-session-error.js +107 -107
  613. package/dist/session/transfer.js +209 -209
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +102 -102
  623. package/dist/skill.js +107 -107
  624. package/dist/snapshot.js +86 -86
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +117 -117
  629. package/dist/tool/plugin/edit.js +115 -115
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +120 -120
  632. package/dist/tool/plugin/grep.js +120 -120
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +117 -117
  635. package/dist/tool/plugin/question.js +96 -96
  636. package/dist/tool/plugin/read.js +121 -121
  637. package/dist/tool/plugin/shell.js +212 -212
  638. package/dist/tool/plugin/skill.js +100 -100
  639. package/dist/tool/plugin/subagent.js +208 -208
  640. package/dist/tool/plugin/webfetch.js +105 -105
  641. package/dist/tool/plugin/websearch.js +109 -109
  642. package/dist/tool/plugin/write.js +117 -117
  643. package/dist/tool/read-filesystem.js +96 -96
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +13 -13
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +5 -5
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/formatter.js +5 -5
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +5 -5
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +85 -85
  674. package/dist/websearch.js +76 -76
  675. package/dist/wellknown/plugin.js +74 -74
  676. package/dist/wellknown.js +77 -77
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +78 -78
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +5 -5
  682. package/dist/worktree/refresh.js +342 -342
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +85 -85
  685. package/package.json +8 -8
  686. package/dist/chunks/credential-bqchtq7z.js +0 -247
  687. package/dist/chunks/credential-jrj2y5pk.js +0 -22
  688. /package/dist/chunks/{credential-0mesazry.js → command-0mesazry.js} +0 -0
  689. /package/dist/chunks/{credential-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{credential-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{credential-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{credential-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{credential-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{credential-2710q6r3.js → command-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{credential-2axfhc9x.js → command-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{credential-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{credential-359p4xyc.js → command-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{credential-3asan66x.js → command-3asan66x.js} +0 -0
  699. /package/dist/chunks/{credential-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{credential-3w5fmr99.js → command-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{credential-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{credential-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{credential-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{credential-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{credential-53557ph1.js → command-53557ph1.js} +0 -0
  706. /package/dist/chunks/{credential-550bvhaj.js → command-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{credential-6prwharc.js → command-6prwharc.js} +0 -0
  708. /package/dist/chunks/{credential-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{credential-7m9af43g.js → command-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{credential-822emrt2.js → command-822emrt2.js} +0 -0
  711. /package/dist/chunks/{credential-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{credential-8n3pysct.js → command-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{credential-922hggd3.js → command-922hggd3.js} +0 -0
  714. /package/dist/chunks/{credential-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{credential-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{credential-a1tpkmh4.js → command-a1tpkmh4.js} +0 -0
  717. /package/dist/chunks/{credential-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{credential-af5trqkr.js → command-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{credential-afrmfg78.js → command-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{credential-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{credential-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{credential-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{credential-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{credential-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{credential-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{credential-d9fn303g.js → command-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{credential-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{credential-dajrwvna.js → command-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{credential-dap0rakb.js → command-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{credential-df08tz66.js → command-df08tz66.js} +0 -0
  731. /package/dist/chunks/{credential-dy18nga0.js → command-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{credential-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{credential-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{credential-ec1grn59.js → command-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{credential-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{credential-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{credential-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{credential-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{credential-faypxj3z.js → command-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{credential-fd410y7t.js → command-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{credential-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{credential-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{credential-g86h250q.js → command-g86h250q.js} +0 -0
  744. /package/dist/chunks/{credential-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{credential-gftt206x.js → command-gftt206x.js} +0 -0
  746. /package/dist/chunks/{credential-hjbc5kem.js → command-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{credential-hk9envan.js → command-hk9envan.js} +0 -0
  748. /package/dist/chunks/{credential-hrnqkpcd.js → command-hrnqkpcd.js} +0 -0
  749. /package/dist/chunks/{credential-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{credential-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{credential-j935v87r.js → command-j935v87r.js} +0 -0
  752. /package/dist/chunks/{credential-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{credential-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{credential-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{credential-mp448xyj.js → command-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{credential-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{credential-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{credential-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{credential-njntx4h6.js → command-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{credential-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{credential-q74kybfr.js → command-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{credential-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{credential-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{credential-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{credential-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{credential-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{credential-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{credential-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{credential-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{credential-twg0f83k.js → command-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{credential-w803qqfp.js → command-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{credential-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{credential-wtztk69x.js → command-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{credential-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{credential-x61499pn.js → command-x61499pn.js} +0 -0
  776. /package/dist/chunks/{credential-y44na4kk.js → command-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{credential-y8cydn3q.js → command-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{credential-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{credential-ym463w8f.js → command-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{credential-z9919s4g.js → command-z9919s4g.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service80
3
- } from "./credential-ahcp8nkf.js";
3
+ } from "./command-ffd8yj9h.js";
4
4
  import {
5
5
  Service79
6
- } from "./credential-q19fwqr8.js";
6
+ } from "./command-6sd8tygk.js";
7
7
  import {
8
- Service38
9
- } from "./credential-ghk9cxjs.js";
8
+ Service44
9
+ } from "./command-hwe7x4em.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./credential-922hggd3.js";
12
+ } from "./command-922hggd3.js";
13
13
  import {
14
- ID5,
15
- Service41
16
- } from "./credential-e1pb9r1r.js";
14
+ ID15,
15
+ Service70
16
+ } from "./command-3kp7n1bh.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./credential-ec1grn59.js";
19
+ } from "./command-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./credential-gftt206x.js";
22
+ } from "./command-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./credential-xzr3fv1j.js";
25
+ } from "./command-kwktpek4.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./credential-5c4hm403.js";
28
+ } from "./command-a1bz86dw.js";
29
29
  import {
30
30
  __export
31
- } from "./credential-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* Service38;
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* Service41;
50
- const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service70;
50
+ const original = input.session.revert?.snapshot ? ID15.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* Service38;
77
+ const instances = yield* Service44;
78
78
  const bus = yield* Service79;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service41;
80
+ const snapshot = yield* Service70;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID15.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, ID5.make(message.snapshot.start));
114
+ files.set(file, ID15.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service79
3
- } from "./credential-q19fwqr8.js";
4
- import {
5
- ID16
6
- } from "./credential-9p3b3m98.js";
3
+ } from "./command-6sd8tygk.js";
7
4
  import {
8
5
  ID14
9
- } from "./credential-b5hymcep.js";
6
+ } from "./command-vzrnynxw.js";
7
+ import {
8
+ ID13
9
+ } from "./command-70vxa6pp.js";
10
10
  import {
11
11
  Event18
12
- } from "./credential-m1gz7xkc.js";
12
+ } from "./command-n0j6r25c.js";
13
13
  import {
14
- ID12
15
- } from "./credential-w27d4nw8.js";
14
+ ID6
15
+ } from "./command-cgpqyknh.js";
16
16
  import {
17
- Service68
18
- } from "./credential-yjc83x66.js";
17
+ Service54
18
+ } from "./command-yjdkc533.js";
19
19
  import {
20
20
  get2
21
- } from "./credential-d94m8qs1.js";
21
+ } from "./command-8em5q6v9.js";
22
22
 
23
23
  // src/plugin/provider/modal.ts
24
24
  import { Effect, Semaphore, Stream } from "effect";
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
- var providerID = ID16.make("modal");
26
+ var providerID = ID14.make("modal");
27
27
  var ModalPlugin2 = define({
28
28
  id: "opencode.provider.modal",
29
29
  effect: Effect.fn(function* (ctx) {
30
- const catalog = yield* Service68;
30
+ const catalog = yield* Service54;
31
31
  const bus = yield* Service79;
32
32
  const loading = Semaphore.makeUnsafe(1);
33
33
  const loaded = {};
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
58
58
  if (!loaded.models)
59
59
  return;
60
60
  for (const id of item.models.keys()) {
61
- if (!loaded.models.has(ID14.make(id)))
61
+ if (!loaded.models.has(ID13.make(id)))
62
62
  evt.model.remove(item.provider.id, id);
63
63
  }
64
64
  for (const [id, model] of loaded.models) {
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
66
66
  }
67
67
  });
68
68
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
69
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
69
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
70
  yield* refresh().pipe(Effect.forkScoped);
71
71
  })
72
72
  });
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service76
3
- } from "./credential-mj233eqc.js";
3
+ } from "./command-y45y5km7.js";
4
4
  import {
5
- Service54
6
- } from "./credential-2jhbac8t.js";
5
+ Service74
6
+ } from "./command-atwtfknp.js";
7
7
  import {
8
- Service13,
8
+ Service14,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./credential-4css7a44.js";
11
+ } from "./command-6c7a0g9q.js";
12
12
  import {
13
- Service18
14
- } from "./credential-qzteyjp0.js";
13
+ Service22
14
+ } from "./command-v9g8grrj.js";
15
15
  import {
16
- Service58
17
- } from "./credential-wfr0f2wv.js";
16
+ Service60
17
+ } from "./command-snjca2tz.js";
18
18
  import {
19
- Service57,
19
+ Service15,
20
20
  resolvePath2
21
- } from "./credential-x0srfm87.js";
21
+ } from "./command-grw52wr5.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./credential-6prwharc.js";
24
+ } from "./command-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./credential-9rqn6x4v.js";
27
+ } from "./command-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input6,
34
- Output: () => Output4,
35
- Plugin: () => Plugin21,
36
- name: () => name6
33
+ Input: () => Input8,
34
+ Output: () => Output5,
35
+ Plugin: () => Plugin39,
36
+ name: () => name8
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name6 = "edit";
43
- var Input6 = Schema.Struct({
42
+ var name8 = "edit";
43
+ var Input8 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input6 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output4 = Schema.Struct({
53
+ var Output5 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin21 = {
106
+ var Plugin39 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service57;
110
- const fileMutation = yield* Service13;
111
- const environment = yield* Service54;
112
- const formatter = yield* Service18;
109
+ const access = yield* Service15;
110
+ const fileMutation = yield* Service14;
111
+ const environment = yield* Service74;
112
+ const formatter = yield* Service22;
113
113
  const location = yield* Service76;
114
- const permission = yield* Service58;
114
+ const permission = yield* Service60;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name6,
116
+ name: name8,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input6,
120
- output: Output4,
119
+ input: Input8,
120
+ output: Output5,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin21 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name6, Input6, Output4, Plugin21, exports_edit };
197
+ export { name8, Input8, Output5, Plugin39, exports_edit };
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2
4
- } from "./credential-922hggd3.js";
4
+ } from "./command-922hggd3.js";
5
5
  import {
6
- Info24
7
- } from "./credential-kk00bynn.js";
6
+ Info26
7
+ } from "./command-jr3tywxk.js";
8
8
  import {
9
- Info17
10
- } from "./credential-h74ge2a2.js";
9
+ Info22
10
+ } from "./command-wstvv1gd.js";
11
11
  import {
12
- Info21
13
- } from "./credential-z3pw5915.js";
12
+ Info24
13
+ } from "./command-d87ppnb3.js";
14
14
  import {
15
- Info18
16
- } from "./credential-a2ew8a62.js";
15
+ Info25
16
+ } from "./command-73gmm198.js";
17
17
  import {
18
- Info19
19
- } from "./credential-pjedbq3k.js";
18
+ Info20
19
+ } from "./command-3wm7cf08.js";
20
20
  import {
21
21
  Layout2
22
- } from "./credential-21r38tys.js";
22
+ } from "./command-21r38tys.js";
23
23
  import {
24
- Info23
25
- } from "./credential-qz49fwgp.js";
24
+ Info21
25
+ } from "./command-2jmaghvr.js";
26
26
  import {
27
- Info22
28
- } from "./credential-mtft99cd.js";
27
+ Info19
28
+ } from "./command-7gvwkz6m.js";
29
29
  import {
30
30
  Spec2
31
- } from "./credential-7dqw4kz8.js";
31
+ } from "./command-2k8khapm.js";
32
32
  import {
33
- Info20
34
- } from "./credential-hcz3zddy.js";
33
+ Info18
34
+ } from "./command-jv01nqvq.js";
35
35
  import {
36
36
  Server2
37
- } from "./credential-zeh9ct20.js";
37
+ } from "./command-zeh9ct20.js";
38
38
  import {
39
- Info16
40
- } from "./credential-bct739vz.js";
39
+ Info23
40
+ } from "./command-3j8sdtpz.js";
41
41
  import {
42
42
  __export
43
- } from "./credential-9rqn6x4v.js";
43
+ } from "./command-9rqn6x4v.js";
44
44
 
45
45
  // src/v1/config/config.ts
46
46
  var exports_config2 = {};
47
47
  __export(exports_config2, {
48
48
  ConfigV1: () => exports_config2,
49
- Info: () => Info15,
49
+ Info: () => Info17,
50
50
  WellKnown: () => WellKnown2
51
51
  });
52
52
  import { Schema } from "effect";
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
59
59
  identifier: "LogLevel",
60
60
  description: "Log level"
61
61
  });
62
- var Info15 = Schema.Struct({
62
+ var Info17 = Schema.Struct({
63
63
  $schema: Schema.optional(Schema.String).annotate({
64
64
  description: "JSON schema reference for configuration validation"
65
65
  }),
@@ -68,10 +68,10 @@ var Info15 = Schema.Struct({
68
68
  server: Schema.optional(Server2).annotate({
69
69
  description: "Server configuration for opencode serve and web commands"
70
70
  }),
71
- command: Schema.optional(Schema.Record(Schema.String, Info18)).annotate({
71
+ command: Schema.optional(Schema.Record(Schema.String, Info25)).annotate({
72
72
  description: "Command configuration, see https://opencode.ai/docs/commands"
73
73
  }),
74
- skills: Schema.optional(Info16).annotate({ description: "Additional skill folder paths" }),
74
+ skills: Schema.optional(Info23).annotate({ description: "Additional skill folder paths" }),
75
75
  references: Schema.optional(ConfigReference.Info).annotate({
76
76
  description: "Named git or local directory references"
77
77
  }),
@@ -113,33 +113,33 @@ var Info15 = Schema.Struct({
113
113
  username: Schema.optional(Schema.String).annotate({
114
114
  description: "Custom username to display in conversations instead of system username"
115
115
  }),
116
- mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info17), plan: Schema.optional(Info17) }), [Schema.Record(Schema.String, Info17)])).annotate({ description: "@deprecated Use `agent` field instead." }),
116
+ mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info22), plan: Schema.optional(Info22) }), [Schema.Record(Schema.String, Info22)])).annotate({ description: "@deprecated Use `agent` field instead." }),
117
117
  agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
118
- plan: Schema.optional(Info17),
119
- build: Schema.optional(Info17),
120
- general: Schema.optional(Info17),
121
- explore: Schema.optional(Info17),
122
- title: Schema.optional(Info17),
123
- summary: Schema.optional(Info17),
124
- compaction: Schema.optional(Info17)
125
- }), [Schema.Record(Schema.String, Info17)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
- provider: Schema.optional(Schema.Record(Schema.String, Info20)).annotate({
118
+ plan: Schema.optional(Info22),
119
+ build: Schema.optional(Info22),
120
+ general: Schema.optional(Info22),
121
+ explore: Schema.optional(Info22),
122
+ title: Schema.optional(Info22),
123
+ summary: Schema.optional(Info22),
124
+ compaction: Schema.optional(Info22)
125
+ }), [Schema.Record(Schema.String, Info22)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
+ provider: Schema.optional(Schema.Record(Schema.String, Info18)).annotate({
127
127
  description: "Custom provider configurations and model overrides"
128
128
  }),
129
- mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info22, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
130
- formatter: Schema.optional(Info19).annotate({
129
+ mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info19, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
130
+ formatter: Schema.optional(Info20).annotate({
131
131
  description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
132
132
  }),
133
- lsp: Schema.optional(Info23).annotate({
133
+ lsp: Schema.optional(Info21).annotate({
134
134
  description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
135
135
  }),
136
136
  instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
137
137
  description: "Additional instruction files or patterns to include"
138
138
  }),
139
139
  layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
140
- permission: Schema.optional(Info24),
140
+ permission: Schema.optional(Info26),
141
141
  tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
142
- attachment: Schema.optional(Info21).annotate({
142
+ attachment: Schema.optional(Info24).annotate({
143
143
  description: "Attachment processing configuration, including image size limits and resizing behavior"
144
144
  }),
145
145
  enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
@@ -191,4 +191,4 @@ var Info15 = Schema.Struct({
191
191
  }))
192
192
  }).annotate({ identifier: "Config" });
193
193
 
194
- export { WellKnown2, Info15, exports_config2 };
194
+ export { WellKnown2, Info17, exports_config2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./credential-gftt206x.js";
3
+ } from "./command-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./credential-7jdsj2a9.js";
6
+ } from "./command-qsee9sfb.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./credential-xzr3fv1j.js";
9
+ } from "./command-kwktpek4.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./credential-eaj1djv9.js";
13
+ } from "./command-rhjbct0v.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./credential-5c4hm403.js";
16
+ } from "./command-a1bz86dw.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./credential-2tfmgkzg.js";
20
+ } from "./command-cq37gk0t.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./credential-64kphnzf.js";
25
+ } from "./command-6p3xbzsx.js";
26
26
  import {
27
27
  __export
28
- } from "./credential-9rqn6x4v.js";
28
+ } from "./command-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./credential-q19fwqr8.js";
4
+ } from "./command-6sd8tygk.js";
5
5
  import {
6
6
  Service76,
7
7
  node81
8
- } from "./credential-mj233eqc.js";
8
+ } from "./command-y45y5km7.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./credential-ec1grn59.js";
11
+ } from "./command-ec1grn59.js";
12
12
  import {
13
- Service60,
13
+ Service61,
14
14
  node65
15
- } from "./credential-0n3rk2gt.js";
15
+ } from "./command-07am1m2n.js";
16
16
  import {
17
17
  __export
18
- } from "./credential-9rqn6x4v.js";
18
+ } from "./command-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service10,
23
+ Service: () => Service9,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node13
25
+ node: () => node12
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,12 +32,12 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service10 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service9 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service10, Effect.gen(function* () {
37
+ var layer = Layer.effect(Service9, Effect.gen(function* () {
38
38
  const bus = yield* Service79;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service60;
40
+ const store = yield* Service61;
41
41
  const location = yield* Service76;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service10.of({ load });
87
+ return Service9.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node13 = makeLocationNode({
98
+ var node12 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
101
  deps: [node84, FSUtil.node, node81, node65]
102
102
  });
103
103
 
104
- export { Service10, node13, exports_instructions };
104
+ export { Service9, node12, exports_instructions };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service38,
10
- node: () => node41
9
+ Service: () => Service44,
10
+ node: () => node47
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service38 extends Context.Service()("@opencode/Instance") {
16
+ class Service44 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node41 = LayerNode.unbound(Service38, Node.tags.values.global);
18
+ var node47 = LayerNode.unbound(Service44, Node.tags.values.global);
19
19
 
20
- export { Service38, node41, exports_service2 };
20
+ export { Service44, node47, exports_service2 };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service58
3
- } from "./credential-wfr0f2wv.js";
2
+ Service60
3
+ } from "./command-snjca2tz.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./credential-a1tpkmh4.js";
7
+ } from "./command-a1tpkmh4.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./credential-3v8g72cx.js";
10
+ } from "./command-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./credential-9rqn6x4v.js";
13
+ } from "./command-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input9,
19
+ Input: () => Input2,
20
20
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin24,
22
+ Plugin: () => Plugin33,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description4,
25
+ description: () => description2,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name9
27
+ name: () => name2
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name9 = "webfetch";
33
+ var name2 = "webfetch";
34
34
  var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input9 = Schema.Struct({
41
+ var Input2 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input9 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input9.fields.format,
51
+ format: Input2.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin24 = {
95
+ var Plugin33 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service58;
99
+ const permission = yield* Service60;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name9,
101
+ name: name2,
102
102
  options: { codemode: false },
103
- description: description4,
104
- input: Input9,
103
+ description: description2,
104
+ input: Input2,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin24 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name9,
112
+ action: name2,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name9, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input9, Plugin24, extractTextFromHTML2, exports_webfetch };
170
+ export { name2, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input2, Plugin33, extractTextFromHTML2, exports_webfetch };