@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,57 +1,57 @@
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
- Service54,
11
- node58
12
- } from "./credential-2jhbac8t.js";
10
+ Service74,
11
+ node78
12
+ } from "./command-atwtfknp.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./credential-gd4qta3r.js";
15
+ } from "./command-gd4qta3r.js";
16
16
  import {
17
- Service52,
17
+ Service39,
18
18
  args2,
19
- node56
20
- } from "./credential-gb35scn0.js";
19
+ node43
20
+ } from "./command-dq5erfj9.js";
21
21
  import {
22
- Service62,
22
+ Service63,
23
23
  node67
24
- } from "./credential-w2q9x1k3.js";
24
+ } from "./command-ra3qct3x.js";
25
25
  import {
26
- Service51,
27
- node55
28
- } from "./credential-73t188jy.js";
26
+ Service37,
27
+ node41
28
+ } from "./command-8wsye86r.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./credential-7jdsj2a9.js";
31
+ } from "./command-qsee9sfb.js";
32
32
  import {
33
33
  latest2,
34
- Service63,
35
- node68
36
- } from "./credential-p0sx4xrp.js";
34
+ Service65,
35
+ node69
36
+ } from "./command-p34q75r1.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./credential-gp1yc2vx.js";
40
+ } from "./command-g48a3zmh.js";
41
41
  import {
42
42
  __export
43
- } from "./credential-9rqn6x4v.js";
43
+ } from "./command-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError6,
49
+ NotFoundError: () => NotFoundError5,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service50,
51
+ Service: () => Service36,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node54
54
+ node: () => node40
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
62
62
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
64
  import { Global } from "@opencode/util/global";
65
- class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
65
+ class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
66
66
  id: Shell.ID
67
67
  }) {
68
68
  }
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service50 extends Context.Service()("@opencode/Shell") {
73
+ class Service36 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service50, Effect.gen(function* () {
89
+ var layer = () => Layer.effect(Service36, Effect.gen(function* () {
90
90
  const bus = yield* Service79;
91
91
  const location = yield* Service76;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service52;
94
- const environment = yield* Service54;
95
- const hooks = yield* Service62;
96
- const environments = yield* Service51;
97
- const config = yield* Service63;
93
+ const shell = yield* Service39;
94
+ const environment = yield* Service74;
95
+ const hooks = yield* Service63;
96
+ const environments = yield* Service37;
97
+ const config = yield* Service65;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service50, Effect.gen(function* () {
115
115
  const require2 = Effect.fnUntraced(function* (id) {
116
116
  const command = commands.get(id);
117
117
  if (!command)
118
- return yield* new NotFoundError6({ id });
118
+ return yield* new NotFoundError5({ id });
119
119
  return command;
120
120
  });
121
121
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service50, Effect.gen(function* () {
128
128
  commands.delete(id);
129
129
  if (command.timeoutFiber)
130
130
  yield* Fiber.interrupt(command.timeoutFiber);
131
- yield* Deferred.fail(command.done, new NotFoundError6({ id }));
131
+ yield* Deferred.fail(command.done, new NotFoundError5({ id }));
132
132
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
133
133
  yield* bus.publish(Shell.Event.Deleted, { id });
134
134
  });
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service50, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service50.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service36.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node54 = makeLocationNode({
320
- service: Service50,
319
+ var node40 = makeLocationNode({
320
+ service: Service36,
321
321
  layer: layer(),
322
322
  deps: [
323
323
  node84,
324
324
  node81,
325
325
  Global.node,
326
- node56,
327
- node58,
326
+ node43,
327
+ node78,
328
328
  node67,
329
- node55,
330
- node68,
329
+ node41,
330
+ node69,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError6, RETENTION2, DIRECTORY2, Service50, cleanup2, node54, exports_shell4 };
335
+ export { NotFoundError5, RETENTION2, DIRECTORY2, Service36, cleanup2, node40, exports_shell4 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Key4,
2
+ Key3,
3
3
  removed2,
4
4
  empty3,
5
- make21,
5
+ make20,
6
6
  diffByKey2
7
- } from "./credential-eaj1djv9.js";
7
+ } from "./command-rhjbct0v.js";
8
8
  import {
9
- ID6,
9
+ ID5,
10
10
  Name2,
11
11
  available2,
12
- Service44,
13
- node48
14
- } from "./credential-wptwfzfm.js";
12
+ Service48,
13
+ node51
14
+ } from "./command-9cctb9bg.js";
15
15
  import {
16
16
  __export
17
- } from "./credential-9rqn6x4v.js";
17
+ } from "./command-9rqn6x4v.js";
18
18
 
19
19
  // src/skill/instructions.ts
20
- var exports_instructions5 = {};
21
- __export(exports_instructions5, {
22
- Service: () => Service28,
23
- SkillInstructions: () => exports_instructions5,
24
- node: () => node33
20
+ var exports_instructions4 = {};
21
+ __export(exports_instructions4, {
22
+ Service: () => Service34,
23
+ SkillInstructions: () => exports_instructions4,
24
+ node: () => node38
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Context, Effect, Layer, Schema } from "effect";
28
28
  var Summary = Schema.Struct({
29
- id: ID6,
29
+ id: ID5,
30
30
  name: Name2,
31
31
  description: Schema.String
32
32
  });
@@ -60,18 +60,18 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service28 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service34 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service28, Effect.gen(function* () {
66
- const skills = yield* Service44;
67
- return Service28.of({
65
+ var layer = Layer.effect(Service34, Effect.gen(function* () {
66
+ const skills = yield* Service48;
67
+ return Service34.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (selection) {
69
69
  const agent = selection.info;
70
70
  if (!agent)
71
71
  return empty3;
72
72
  const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
73
- return make21({
74
- key: Key4.make("core/skill-guidance"),
73
+ return make20({
74
+ key: Key3.make("core/skill-guidance"),
75
75
  codec: Schema.toCodecJson(Schema.Array(Summary)),
76
76
  read: Effect.succeed(available.length === 0 ? removed2 : available),
77
77
  render: {
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
83
83
  })
84
84
  });
85
85
  }));
86
- var node33 = makeLocationNode({ service: Service28, layer, deps: [node48] });
86
+ var node38 = makeLocationNode({ service: Service34, layer, deps: [node51] });
87
87
 
88
- export { Service28, node33, exports_instructions5 };
88
+ export { Service34, node38, exports_instructions4 };
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service54
3
- } from "./credential-2jhbac8t.js";
2
+ Service74
3
+ } from "./command-atwtfknp.js";
4
4
  import {
5
- Service13,
5
+ Service14,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./credential-4css7a44.js";
8
+ } from "./command-6c7a0g9q.js";
9
9
  import {
10
- Service18
11
- } from "./credential-qzteyjp0.js";
10
+ Service22
11
+ } from "./command-v9g8grrj.js";
12
12
  import {
13
- Service58
14
- } from "./credential-wfr0f2wv.js";
13
+ Service60
14
+ } from "./command-snjca2tz.js";
15
15
  import {
16
- Service57
17
- } from "./credential-x0srfm87.js";
16
+ Service15
17
+ } from "./command-grw52wr5.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./credential-6prwharc.js";
20
+ } from "./command-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./credential-9rqn6x4v.js";
23
+ } from "./command-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input10,
29
- Output: () => Output6,
30
- Plugin: () => Plugin25,
28
+ Input: () => Input6,
29
+ Output: () => Output4,
30
+ Plugin: () => Plugin37,
31
31
  WriteTool: () => exports_write,
32
- name: () => name10,
33
- toModelContent: () => toModelContent5
32
+ name: () => name6,
33
+ toModelContent: () => toModelContent3
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name10 = "write";
39
- var Input10 = Schema.Struct({
38
+ var name6 = "write";
39
+ var Input6 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output6 = Schema.Struct({
45
+ var Output4 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin25 = {
51
+ var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin37 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service57;
56
- const fileMutation = yield* Service13;
57
- const environment = yield* Service54;
58
- const formatter = yield* Service18;
59
- const permission = yield* Service58;
55
+ const access = yield* Service15;
56
+ const fileMutation = yield* Service14;
57
+ const environment = yield* Service74;
58
+ const formatter = yield* Service22;
59
+ const permission = yield* Service60;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name10,
61
+ name: name6,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input10,
69
- output: Output6,
68
+ input: Input6,
69
+ output: Output4,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name10, Input10, Output6, toModelContent5, Plugin25, exports_write };
101
+ export { name6, Input6, Output4, toModelContent3, Plugin37, exports_write };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service77,
3
3
  node82
4
- } from "./credential-st0tfbhf.js";
4
+ } from "./command-tdmnc99b.js";
5
5
  import {
6
6
  __export
7
- } from "./credential-9rqn6x4v.js";
7
+ } from "./command-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./credential-9p3b3m98.js";
4
+ } from "./command-vzrnynxw.js";
5
5
 
6
6
  // src/plugin/provider/kilo.ts
7
7
  import { Effect } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
@@ -2,10 +2,10 @@ import {
2
2
  ephemeral2,
3
3
  Service79,
4
4
  node84
5
- } from "./credential-q19fwqr8.js";
5
+ } from "./command-6sd8tygk.js";
6
6
  import {
7
7
  __export
8
- } from "./credential-9rqn6x4v.js";
8
+ } from "./command-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
@@ -13,8 +13,8 @@ __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
14
  Service: () => Service3,
15
15
  Updated: () => Updated2,
16
- layer: () => layer4,
17
- node: () => node5
16
+ layer: () => layer5,
17
+ node: () => node6
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -22,7 +22,7 @@ var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
23
  class Service3 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer4 = Layer.effect(Service3, Effect.gen(function* () {
25
+ var layer5 = Layer.effect(Service3, Effect.gen(function* () {
26
26
  const bus = yield* Service79;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
@@ -33,6 +33,6 @@ var layer4 = Layer.effect(Service3, Effect.gen(function* () {
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node5 = makeGlobalNode({ service: Service3, layer: layer4, deps: [node84] });
36
+ var node6 = makeGlobalNode({ service: Service3, layer: layer5, deps: [node84] });
37
37
 
38
- export { Updated2, Service3, layer4, node5, exports_sdk };
38
+ export { Updated2, Service3, layer5, node6, exports_sdk };
@@ -2,27 +2,27 @@ import {
2
2
  ephemeral2,
3
3
  Service79,
4
4
  node84
5
- } from "./credential-q19fwqr8.js";
5
+ } from "./command-6sd8tygk.js";
6
6
  import {
7
- Service66,
8
- node71
9
- } from "./credential-j4m9dw8y.js";
7
+ Service69,
8
+ node73
9
+ } from "./command-37wx6eva.js";
10
10
  import {
11
11
  __export
12
- } from "./credential-9rqn6x4v.js";
12
+ } from "./command-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event14,
19
+ Event: () => Event17,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service65,
22
+ Service: () => Service67,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node70,
25
+ node: () => node71,
26
26
  resolve: () => resolve3
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service65 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service67 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event14 = {
51
+ var Event17 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service65, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service66;
80
+ const kv = yield* Service69;
81
81
  const bus = yield* Service79;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event14.Updated, {});
112
+ yield* bus.publish(Event17.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service65.of({
115
+ return Service67.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event14.Updated, {});
128
+ yield* bus.publish(Event17.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event14.Updated, {});
141
+ yield* bus.publish(Event17.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node70 = makeGlobalNode({ service: Service65, layer, deps: [httpClient, node71, node84] });
146
+ var node71 = makeGlobalNode({ service: Service67, layer, deps: [httpClient, node73, node84] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service65, Event14, inspect2, resolve3, node70, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service67, Event17, inspect2, resolve3, node71, exports_wellknown };
@@ -2,44 +2,44 @@ import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2,
4
4
  Info29
5
- } from "./credential-9p3b3m98.js";
5
+ } from "./command-vzrnynxw.js";
6
6
  import {
7
- Info27
8
- } from "./credential-b5hymcep.js";
7
+ Info28
8
+ } from "./command-70vxa6pp.js";
9
9
  import {
10
10
  Service79,
11
11
  node84
12
- } from "./credential-q19fwqr8.js";
12
+ } from "./command-6sd8tygk.js";
13
13
  import {
14
14
  create3
15
- } from "./credential-kg06axw8.js";
15
+ } from "./command-kg06axw8.js";
16
16
  import {
17
- ID12,
18
- Service69,
19
- node74
20
- } from "./credential-w27d4nw8.js";
17
+ ID6,
18
+ Service55,
19
+ node58
20
+ } from "./command-cgpqyknh.js";
21
21
  import {
22
22
  __export
23
- } from "./credential-9rqn6x4v.js";
23
+ } from "./command-9rqn6x4v.js";
24
24
 
25
25
  // src/catalog.ts
26
26
  var exports_catalog2 = {};
27
27
  __export(exports_catalog2, {
28
28
  Catalog: () => exports_catalog2,
29
- Event: () => Event15,
30
- Service: () => Service68,
31
- node: () => node73
29
+ Event: () => Event8,
30
+ Service: () => Service54,
31
+ node: () => node57
32
32
  });
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import { Array, Context, Effect, Layer, Order, pipe } from "effect";
35
35
  import { Catalog } from "@opencode/schema/catalog";
36
- import { Event as Event15 } from "@opencode/schema/catalog";
36
+ import { Event as Event8 } from "@opencode/schema/catalog";
37
37
 
38
- class Service68 extends Context.Service()("@opencode/Catalog") {
38
+ class Service54 extends Context.Service()("@opencode/Catalog") {
39
39
  }
40
- var layer = Layer.effect(Service68, Effect.gen(function* () {
40
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
41
41
  const bus = yield* Service79;
42
- const integrations = yield* Service69;
42
+ const integrations = yield* Service55;
43
43
  const available = (provider, integration) => {
44
44
  if (provider.activation === "disabled")
45
45
  return false;
@@ -95,7 +95,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
95
95
  };
96
96
  editor.providers.set(providerID, record);
97
97
  }
98
- const model = record.models.get(modelID) ?? Info27.default(providerID, modelID);
98
+ const model = record.models.get(modelID) ?? Info28.default(providerID, modelID);
99
99
  if (!record.models.has(modelID))
100
100
  record.models.set(modelID, model);
101
101
  fn(model);
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
129
129
  }),
130
130
  available: Effect.fn("Catalog.provider.available")(function* () {
131
131
  const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
132
- return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID12.make(provider.id))));
132
+ return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID6.make(provider.id))));
133
133
  })
134
134
  },
135
135
  model: {
@@ -184,9 +184,9 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
184
184
  })
185
185
  }
186
186
  };
187
- return Service68.of(result);
187
+ return Service54.of(result);
188
188
  }));
189
189
  var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
190
- var node73 = makeLocationNode({ service: Service68, layer, deps: [node84, node74] });
190
+ var node57 = makeLocationNode({ service: Service54, layer, deps: [node84, node58] });
191
191
 
192
- export { Service68, node73, exports_catalog2, Event15 };
192
+ export { Service54, node57, exports_catalog2, Event8 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make17
9
+ make: () => make16
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make17 = (options) => Effect.gen(function* () {
12
+ var make16 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -89,4 +89,4 @@ var make17 = (options) => Effect.gen(function* () {
89
89
  };
90
90
  });
91
91
 
92
- export { make17, exports_run_coordinator };
92
+ export { make16, exports_run_coordinator };