@opencode/core 0.0.0-dev-448 → 0.0.0-dev-451

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 (920) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +244 -244
  7. package/dist/bus.js +84 -84
  8. package/dist/chunks/{shell-ss0wp4jv.js → command-040mzty7.js} +19 -19
  9. package/dist/chunks/{shell-0j7gp832.js → command-0j7gp832.js} +1 -1
  10. package/dist/chunks/{shell-pncygwdk.js → command-0m2hpscf.js} +4 -4
  11. package/dist/chunks/{shell-0ma9gw4f.js → command-0ma9gw4f.js} +2 -2
  12. package/dist/chunks/{shell-y9xb4576.js → command-0wk4arae.js} +15 -15
  13. package/dist/chunks/{shell-m41dwf8x.js → command-112p5x9p.js} +28 -28
  14. package/dist/chunks/{shell-73n38n5m.js → command-12g9ep21.js} +5 -5
  15. package/dist/chunks/{shell-2nye2ds3.js → command-1a7qmzy6.js} +12 -12
  16. package/dist/chunks/{shell-1aqsckx4.js → command-1aqsckx4.js} +1 -1
  17. package/dist/chunks/{shell-n9vbb020.js → command-1b1fgn2c.js} +9 -9
  18. package/dist/chunks/{shell-25wes5qp.js → command-1fjqwg4j.js} +59 -59
  19. package/dist/chunks/{shell-9yvqmxq3.js → command-1t7pz1nk.js} +16 -16
  20. package/dist/chunks/{shell-1x2knyw4.js → command-1x2knyw4.js} +1 -1
  21. package/dist/chunks/{shell-p7vhpwh8.js → command-1yq9hg58.js} +5 -5
  22. package/dist/chunks/{shell-3fm5wbjz.js → command-266c1h5y.js} +23 -23
  23. package/dist/chunks/{shell-wbebweck.js → command-26sg6z04.js} +14 -14
  24. package/dist/chunks/{shell-1ep2p91f.js → command-27w5k9zf.js} +2 -2
  25. package/dist/chunks/{shell-h068nwdc.js → command-289dd89z.js} +12 -12
  26. package/dist/chunks/{shell-4zd0rrxz.js → command-28d0291v.js} +40 -40
  27. package/dist/chunks/{shell-6gggjtz2.js → command-28q9vvsb.js} +9 -9
  28. package/dist/chunks/{shell-w79nt68w.js → command-2kg89srt.js} +4 -4
  29. package/dist/chunks/{shell-yqveydy6.js → command-2m2g9ynh.js} +4 -4
  30. package/dist/chunks/{shell-en2d5ckk.js → command-2tetecd9.js} +16 -16
  31. package/dist/chunks/{shell-2vpa0jw2.js → command-2wwcsj3x.js} +3 -3
  32. package/dist/chunks/{shell-83dtkyp0.js → command-302t0y3a.js} +24 -24
  33. package/dist/chunks/{shell-fb1j3qsp.js → command-3325mep2.js} +7 -7
  34. package/dist/chunks/{shell-dxsywhez.js → command-390xskpw.js} +4 -4
  35. package/dist/chunks/{shell-a2avvjgj.js → command-3bbtnch6.js} +35 -35
  36. package/dist/chunks/{shell-ayjs7tqn.js → command-3cbjf1nt.js} +2 -2
  37. package/dist/chunks/{shell-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{shell-3nnrz6f6.js → command-3nnrz6f6.js} +1 -1
  39. package/dist/chunks/{shell-4hheswcz.js → command-3v6tj8d3.js} +14 -14
  40. package/dist/chunks/{shell-4pk3sz26.js → command-4034feyd.js} +9 -9
  41. package/dist/chunks/{shell-40y6dtc2.js → command-40y6dtc2.js} +1 -1
  42. package/dist/chunks/{shell-askmrcha.js → command-467b3p22.js} +13 -13
  43. package/dist/chunks/{shell-h30y51ze.js → command-4ag3733q.js} +32 -32
  44. package/dist/chunks/{shell-nx6bawrx.js → command-4cr9jw6n.js} +3 -3
  45. package/dist/chunks/{shell-4dx1dgte.js → command-4dx1dgte.js} +1 -1
  46. package/dist/chunks/{shell-4f25tdd0.js → command-4f25tdd0.js} +1 -1
  47. package/dist/chunks/{shell-awp23k8s.js → command-4fxzkjd3.js} +10 -10
  48. package/dist/chunks/{shell-1gn0yq23.js → command-4g9b4p6m.js} +40 -40
  49. package/dist/chunks/{shell-14h6fpvz.js → command-4gfkesf9.js} +8 -8
  50. package/dist/chunks/{shell-2zhyc09s.js → command-4pefe19r.js} +11 -11
  51. package/dist/chunks/{shell-4pyp9zr9.js → command-4pyp9zr9.js} +1 -1
  52. package/dist/chunks/{shell-z5rnbz19.js → command-4sq52vjb.js} +42 -42
  53. package/dist/chunks/{shell-e9eefsk3.js → command-4tf5hgjt.js} +24 -24
  54. package/dist/chunks/{shell-4v008n1t.js → command-4v008n1t.js} +1 -1
  55. package/dist/chunks/{shell-wt44qdcs.js → command-56yhydrj.js} +3 -3
  56. package/dist/chunks/{shell-40za9wsf.js → command-5enarcya.js} +6 -6
  57. package/dist/chunks/{shell-0kfn2p10.js → command-5gxhv5t4.js} +5 -5
  58. package/dist/chunks/{shell-5m9w47nd.js → command-5m9w47nd.js} +1 -1
  59. package/dist/chunks/{shell-5nnwax6m.js → command-5nnwax6m.js} +2 -2
  60. package/dist/chunks/{shell-7r0r50e5.js → command-5nrew705.js} +5 -5
  61. package/dist/chunks/{shell-7jk3qjta.js → command-5q8vf2h9.js} +2 -2
  62. package/dist/chunks/{shell-jcxtjxcx.js → command-5zbs2fep.js} +31 -31
  63. package/dist/chunks/{shell-aq3d4cx2.js → command-66fewe6v.js} +91 -91
  64. package/dist/chunks/{shell-e3vjfzb0.js → command-6cd3ncdx.js} +2 -2
  65. package/dist/chunks/{shell-zqgpx8ma.js → command-6e15hyzb.js} +26 -26
  66. package/dist/chunks/{shell-30rdyssq.js → command-6f40yt45.js} +22 -22
  67. package/dist/chunks/{shell-3br5vy3s.js → command-6rehztjd.js} +11 -11
  68. package/dist/chunks/{shell-m7sxgjj7.js → command-6sd197cc.js} +15 -15
  69. package/dist/chunks/{shell-pn41xxg3.js → command-6ss6ngz0.js} +4 -4
  70. package/dist/chunks/{shell-ggrsp7xj.js → command-6sxf2mfa.js} +6 -6
  71. package/dist/chunks/{shell-461h2a5h.js → command-6w959vfg.js} +9 -9
  72. package/dist/chunks/{shell-9nkjg9qd.js → command-7215dbqr.js} +6 -6
  73. package/dist/chunks/{shell-ssdvd2y7.js → command-75q1s5an.js} +4 -4
  74. package/dist/chunks/{shell-76cb1hcw.js → command-76cb1hcw.js} +1 -1
  75. package/dist/chunks/{shell-775hqbnd.js → command-775hqbnd.js} +3 -3
  76. package/dist/chunks/{shell-a7jv6bhz.js → command-797jymej.js} +16 -16
  77. package/dist/chunks/{shell-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{shell-k84dnw8r.js → command-7fzp8zae.js} +13 -13
  79. package/dist/chunks/{shell-7kr66rt3.js → command-7kr66rt3.js} +1 -1
  80. package/dist/chunks/{shell-vq7pdr9z.js → command-7ppvtjhd.js} +12 -12
  81. package/dist/chunks/{shell-pcxqyrq0.js → command-7q0kkz2h.js} +10 -10
  82. package/dist/chunks/{shell-7w2ypzdf.js → command-7w2ypzdf.js} +1 -1
  83. package/dist/chunks/{shell-7weczvnd.js → command-7weczvnd.js} +1 -1
  84. package/dist/chunks/{shell-7ne4y0bm.js → command-7xz196dn.js} +6 -6
  85. package/dist/chunks/{shell-89287pr7.js → command-89287pr7.js} +1 -1
  86. package/dist/chunks/{shell-8b3vzgkx.js → command-8b3vzgkx.js} +1 -1
  87. package/dist/chunks/{shell-b2armg7w.js → command-8cg7mtm3.js} +4 -4
  88. package/dist/chunks/{shell-p52jgvd8.js → command-8hfmqq8w.js} +8 -8
  89. package/dist/chunks/{shell-cbzdy2pv.js → command-8ktngwzh.js} +30 -30
  90. package/dist/chunks/{shell-8wtp7s3z.js → command-8wtp7s3z.js} +1 -1
  91. package/dist/chunks/{shell-8xz27cp9.js → command-8xz27cp9.js} +1 -1
  92. package/dist/chunks/{shell-mb7mbhnz.js → command-8z6m94af.js} +3 -3
  93. package/dist/chunks/{shell-90ct6wq4.js → command-90ct6wq4.js} +1 -1
  94. package/dist/chunks/{shell-90zstvax.js → command-90zstvax.js} +1 -1
  95. package/dist/chunks/{shell-96djdqw5.js → command-96djdqw5.js} +4 -4
  96. package/dist/chunks/{shell-qw9nj3hw.js → command-98h4mwq7.js} +18 -18
  97. package/dist/chunks/{shell-qx8keh7z.js → command-98hszmvx.js} +5 -5
  98. package/dist/chunks/{shell-6g782zwq.js → command-9cv7cw0n.js} +13 -13
  99. package/dist/chunks/{shell-3mg501j9.js → command-9dea7wbw.js} +2 -2
  100. package/dist/chunks/{shell-89cj2fxr.js → command-9k6nqw7x.js} +51 -51
  101. package/dist/chunks/{shell-8mft0qb8.js → command-9n68tmyf.js} +3 -3
  102. package/dist/chunks/{shell-3vtz7ksg.js → command-a1jg1vcd.js} +13 -13
  103. package/dist/chunks/{shell-cxj09ebx.js → command-a2gahn4b.js} +6 -6
  104. package/dist/chunks/{shell-yfp0tbxs.js → command-a4v3wsmw.js} +9 -9
  105. package/dist/chunks/{shell-b096peb1.js → command-a84pm7qp.js} +8 -8
  106. package/dist/chunks/{shell-wf4k3nrk.js → command-acsz68z7.js} +1 -1
  107. package/dist/chunks/{shell-51v7w56y.js → command-adapf27x.js} +4 -4
  108. package/dist/chunks/{shell-j82m12k7.js → command-aenn6vam.js} +4 -4
  109. package/dist/chunks/{shell-ra7camvv.js → command-ag68y7y1.js} +24 -24
  110. package/dist/chunks/{shell-6rzx9z0d.js → command-ahw9krkn.js} +33 -33
  111. package/dist/chunks/{shell-034tev2y.js → command-aj7mw0zk.js} +2 -2
  112. package/dist/chunks/{shell-7b7w9v0b.js → command-ajjm4dtx.js} +6 -6
  113. package/dist/chunks/{shell-y2384acf.js → command-ajv23y1e.js} +54 -54
  114. package/dist/chunks/{shell-mwb4t2xa.js → command-amadrth6.js} +8 -8
  115. package/dist/chunks/{shell-4n04qkt5.js → command-ap7w36b6.js} +16 -16
  116. package/dist/chunks/{shell-b50bv8kf.js → command-axd1rwaf.js} +26 -26
  117. package/dist/chunks/{shell-ps01eb2k.js → command-b8gtv96y.js} +22 -22
  118. package/dist/chunks/{shell-eyjntv0n.js → command-bjr4tvbr.js} +6 -6
  119. package/dist/chunks/{shell-bnzx9dwt.js → command-bnzx9dwt.js} +2 -2
  120. package/dist/chunks/{shell-bstexjd6.js → command-bstexjd6.js} +1 -1
  121. package/dist/chunks/{shell-k9bs7cba.js → command-c55jkhec.js} +14 -14
  122. package/dist/chunks/{shell-px7qpgcn.js → command-c5zvymhv.js} +4 -4
  123. package/dist/chunks/{shell-d27tfk0e.js → command-caxtd6xe.js} +39 -39
  124. package/dist/chunks/{shell-sfpad9m1.js → command-ckev4zzb.js} +35 -35
  125. package/dist/chunks/{shell-bs847zte.js → command-cmrdg35n.js} +5 -5
  126. package/dist/chunks/{shell-56jkt7vc.js → command-cqbn3g43.js} +36 -36
  127. package/dist/chunks/{shell-gtt1ypct.js → command-cqdj8zma.js} +20 -20
  128. package/dist/chunks/{shell-qn178psk.js → command-crsbatbp.js} +11 -11
  129. package/dist/chunks/{shell-cwrgdav8.js → command-cwrgdav8.js} +2 -2
  130. package/dist/chunks/{shell-js4rf8bj.js → command-czy387n2.js} +50 -50
  131. package/dist/chunks/{shell-j9zdr12n.js → command-d0p9h96d.js} +20 -20
  132. package/dist/chunks/{shell-etrnj9s7.js → command-d390zwf3.js} +8 -8
  133. package/dist/chunks/{shell-drd2zyk1.js → command-d4abdmzn.js} +18 -18
  134. package/dist/chunks/{shell-d4v9tmah.js → command-d4v9tmah.js} +2 -2
  135. package/dist/chunks/{shell-hm878m0g.js → command-d7x2s5pv.js} +4 -4
  136. package/dist/chunks/{shell-dt77769w.js → command-dt77769w.js} +1 -1
  137. package/dist/chunks/{shell-86kd7kzh.js → command-dypb56j1.js} +4 -4
  138. package/dist/chunks/{shell-4qjj3hcn.js → command-dzdrzhkt.js} +26 -26
  139. package/dist/chunks/{shell-e834z07m.js → command-e834z07m.js} +1 -1
  140. package/dist/chunks/{shell-1t71ng30.js → command-eebq73da.js} +18 -18
  141. package/dist/chunks/{shell-b358x5d5.js → command-enq2s1fc.js} +12 -12
  142. package/dist/chunks/{shell-eqw4pqj1.js → command-eqw4pqj1.js} +2 -2
  143. package/dist/chunks/{shell-92cf50ag.js → command-exw3n246.js} +8 -8
  144. package/dist/chunks/{shell-f163p87t.js → command-f163p87t.js} +4 -4
  145. package/dist/chunks/{shell-fccvjkbp.js → command-f1qx1v58.js} +9 -9
  146. package/dist/chunks/{shell-27q2yh5h.js → command-f8bbmp6a.js} +11 -11
  147. package/dist/chunks/{shell-6ckcm1vf.js → command-fdegceef.js} +28 -28
  148. package/dist/chunks/{shell-fffv3p7h.js → command-fffv3p7h.js} +1 -1
  149. package/dist/chunks/{shell-fg9p65nk.js → command-fg9p65nk.js} +2 -2
  150. package/dist/chunks/{shell-x3fa7fwr.js → command-fhtgvnfh.js} +9 -9
  151. package/dist/chunks/{shell-39v0af2n.js → command-fkr8t5yr.js} +4 -4
  152. package/dist/chunks/{shell-fmvwew7x.js → command-fq4mbxwp.js} +7 -7
  153. package/dist/chunks/{shell-5q2nstmm.js → command-frktwh14.js} +9 -9
  154. package/dist/chunks/{shell-hj48rses.js → command-g1r9ysfg.js} +346 -346
  155. package/dist/chunks/{shell-sx705zhx.js → command-g2m4kvc9.js} +8 -8
  156. package/dist/chunks/{shell-j7pa4zmt.js → command-g3jajyb4.js} +15 -15
  157. package/dist/chunks/{shell-3114at99.js → command-ga0jqm62.js} +27 -27
  158. package/dist/chunks/{shell-449ep3qq.js → command-ga5t9aga.js} +50 -50
  159. package/dist/chunks/{shell-4s5nd4wa.js → command-gbg10xz8.js} +12 -12
  160. package/dist/chunks/{shell-gbjdnr5j.js → command-gbjdnr5j.js} +2 -2
  161. package/dist/chunks/{shell-qe69n4wc.js → command-gctjzyr1.js} +11 -11
  162. package/dist/chunks/{shell-9qgz8pwv.js → command-ggn31dpb.js} +2 -2
  163. package/dist/chunks/{shell-0kxez0ph.js → command-gmg5z9db.js} +24 -24
  164. package/dist/chunks/{shell-pmctgzqh.js → command-gshsjqyk.js} +9 -9
  165. package/dist/chunks/{shell-gxs71cxp.js → command-gxs71cxp.js} +1 -1
  166. package/dist/chunks/{shell-5yya8jn5.js → command-gzayeng8.js} +27 -27
  167. package/dist/chunks/{shell-6cqv0jev.js → command-gzpgqmvb.js} +18 -18
  168. package/dist/chunks/{shell-dbc9xtzy.js → command-h5gjn4y2.js} +3 -3
  169. package/dist/chunks/{shell-8wepf0gn.js → command-h89yaxmp.js} +11 -11
  170. package/dist/chunks/{shell-qh5g3qaw.js → command-h91vm5r2.js} +9 -9
  171. package/dist/chunks/{shell-b6p2478r.js → command-hdjjdvc3.js} +9 -9
  172. package/dist/chunks/{shell-2xqskhr2.js → command-hk1h1qy2.js} +22 -22
  173. package/dist/chunks/{shell-2zekx2gw.js → command-hk4d0qev.js} +33 -33
  174. package/dist/chunks/{shell-hpg1pkwy.js → command-hpg1pkwy.js} +1 -1
  175. package/dist/chunks/{shell-vt35469a.js → command-hqv8ds23.js} +9 -9
  176. package/dist/chunks/{shell-bzeh9fff.js → command-hqvy1seb.js} +19 -19
  177. package/dist/chunks/{shell-a3fn0gmm.js → command-hretfjjx.js} +2 -2
  178. package/dist/chunks/{shell-ckw7gy7y.js → command-hszgmwg9.js} +14 -14
  179. package/dist/chunks/{shell-05ag7ga3.js → command-htyjw1t2.js} +171 -171
  180. package/dist/chunks/{shell-y5bbkd9h.js → command-j16gqe8n.js} +30 -30
  181. package/dist/chunks/{shell-j376ae4e.js → command-j376ae4e.js} +1 -1
  182. package/dist/chunks/{shell-0ahs07zn.js → command-j3f8hyeg.js} +4 -4
  183. package/dist/chunks/{shell-s75f2ek2.js → command-j5fr71ge.js} +4 -4
  184. package/dist/chunks/{shell-eyrapaw6.js → command-j6942x1g.js} +16 -16
  185. package/dist/chunks/{shell-5wa3g67q.js → command-j7fgn957.js} +9 -9
  186. package/dist/chunks/{shell-j9nxzz3g.js → command-j9nxzz3g.js} +3 -3
  187. package/dist/chunks/{shell-7bd9md05.js → command-je2j8er4.js} +24 -24
  188. package/dist/chunks/{shell-6qccxdkv.js → command-jfn1q9at.js} +13 -13
  189. package/dist/chunks/{shell-bhfd478d.js → command-jkdcm5hg.js} +4 -4
  190. package/dist/chunks/{shell-2665aej8.js → command-jktx46qt.js} +29 -29
  191. package/dist/chunks/{shell-r4p1hmh8.js → command-jp4d7tph.js} +6 -6
  192. package/dist/chunks/{shell-51apr65m.js → command-jqp59910.js} +29 -29
  193. package/dist/chunks/{shell-jtnps1zs.js → command-jtnps1zs.js} +2 -2
  194. package/dist/chunks/{shell-jxd6f16v.js → command-jxd6f16v.js} +2 -2
  195. package/dist/chunks/{shell-qax80wjp.js → command-k0dmerk5.js} +35 -35
  196. package/dist/chunks/{shell-a752e3c2.js → command-k11dcgkf.js} +3 -3
  197. package/dist/chunks/{shell-t11xxbkn.js → command-k4am5acp.js} +30 -30
  198. package/dist/chunks/{shell-gmsr39wm.js → command-k9s4eaab.js} +25 -25
  199. package/dist/chunks/{shell-sywhw5n9.js → command-kfynvycx.js} +23 -23
  200. package/dist/chunks/{shell-kj9n5bvh.js → command-kj9n5bvh.js} +1 -1
  201. package/dist/chunks/{shell-5btn60ym.js → command-kmxkyq3p.js} +51 -51
  202. package/dist/chunks/{shell-pawhhdeh.js → command-kn3pbsk5.js} +3 -3
  203. package/dist/chunks/{shell-8tr8bk8c.js → command-kqtx5w6f.js} +24 -24
  204. package/dist/chunks/{shell-kt3bjfbg.js → command-kt3bjfbg.js} +1 -1
  205. package/dist/chunks/{shell-kzczzf4v.js → command-kzczzf4v.js} +1 -1
  206. package/dist/chunks/{shell-93xmyh8q.js → command-kzdam8c6.js} +5 -5
  207. package/dist/chunks/{shell-m1714858.js → command-m1714858.js} +1 -1
  208. package/dist/chunks/{shell-5rktefs5.js → command-m35sj09n.js} +12 -12
  209. package/dist/chunks/{shell-drzej0yw.js → command-m3vwtq97.js} +31 -31
  210. package/dist/chunks/{shell-9r66fnzx.js → command-m9168d7w.js} +11 -11
  211. package/dist/chunks/{shell-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  212. package/dist/chunks/command-mary8sqy.js +261 -0
  213. package/dist/chunks/{shell-ed6f1zf7.js → command-mdwaa3r0.js} +14 -14
  214. package/dist/chunks/{shell-53qdpb3h.js → command-mgvy0xnk.js} +21 -21
  215. package/dist/chunks/{shell-4za8zkf9.js → command-mj9h3nv3.js} +24 -24
  216. package/dist/chunks/{shell-b1cct362.js → command-mnhcj7qf.js} +15 -15
  217. package/dist/chunks/{shell-mnpd6dxn.js → command-mnpd6dxn.js} +4 -4
  218. package/dist/chunks/{shell-27nqpkb2.js → command-mr41mz10.js} +10 -10
  219. package/dist/chunks/{shell-bfg2nms2.js → command-n31szky0.js} +17 -17
  220. package/dist/chunks/{shell-4jwb178p.js → command-n6198yay.js} +13 -13
  221. package/dist/chunks/{shell-gcjdgkn2.js → command-n7bnkb3p.js} +9 -9
  222. package/dist/chunks/{shell-a4jw6pvt.js → command-naahght3.js} +23 -23
  223. package/dist/chunks/{shell-61w59j6e.js → command-nff5fnx5.js} +30 -30
  224. package/dist/chunks/{shell-jnfc869c.js → command-nptrtzfm.js} +7 -7
  225. package/dist/chunks/{shell-2n444ktb.js → command-nv2c5e9q.js} +3 -3
  226. package/dist/chunks/{shell-wegkxhrn.js → command-nx4vzyjd.js} +2 -2
  227. package/dist/chunks/{shell-wvr8xscb.js → command-nyxvvj5y.js} +4 -4
  228. package/dist/chunks/{shell-vy50mzzj.js → command-p4q03rmg.js} +23 -23
  229. package/dist/chunks/{shell-vy796nhc.js → command-pafwnz17.js} +8 -8
  230. package/dist/chunks/{shell-jprct3q1.js → command-pb0zgdvs.js} +21 -21
  231. package/dist/chunks/{shell-yqvz6s31.js → command-pbnhzd2a.js} +8 -8
  232. package/dist/chunks/{shell-ahetjexs.js → command-pe5w8f1e.js} +80 -80
  233. package/dist/chunks/{shell-stb7syxb.js → command-pemyrp0y.js} +4 -4
  234. package/dist/chunks/{shell-pknna89w.js → command-pknna89w.js} +1 -1
  235. package/dist/chunks/{shell-ca06aq19.js → command-pph0sm0s.js} +20 -20
  236. package/dist/chunks/{shell-t9p1t371.js → command-ptv6adae.js} +33 -33
  237. package/dist/chunks/{shell-0v6hfd9s.js → command-q0fawvbg.js} +3 -3
  238. package/dist/chunks/{shell-ehmfb7qh.js → command-q36xmy8v.js} +22 -22
  239. package/dist/chunks/{shell-yf4636eg.js → command-q3cah92p.js} +7 -7
  240. package/dist/chunks/{shell-snk2nech.js → command-q4wm190t.js} +20 -20
  241. package/dist/chunks/{shell-bm4qvk29.js → command-q5rwejs6.js} +23 -23
  242. package/dist/chunks/{shell-swrmw7cp.js → command-q6cg44jg.js} +29 -29
  243. package/dist/chunks/{shell-7nqkf5r1.js → command-qj27ec1j.js} +2 -2
  244. package/dist/chunks/{shell-m74aw6gb.js → command-qj7pvvpf.js} +23 -23
  245. package/dist/chunks/{shell-qp7r0hxv.js → command-qp7r0hxv.js} +1 -1
  246. package/dist/chunks/{shell-m7bre8ve.js → command-qpjbvmjj.js} +19 -19
  247. package/dist/chunks/{shell-qqvy8y24.js → command-qqvy8y24.js} +1 -1
  248. package/dist/chunks/{shell-qsdghx1p.js → command-qsdghx1p.js} +1 -1
  249. package/dist/chunks/{shell-963hk181.js → command-qw26gbrf.js} +9 -9
  250. package/dist/chunks/{shell-qw2t3dzn.js → command-qw2t3dzn.js} +3 -3
  251. package/dist/chunks/{shell-31694pws.js → command-r15e5fgt.js} +11 -11
  252. package/dist/chunks/{shell-gn6qas9s.js → command-r2jsee34.js} +8 -8
  253. package/dist/chunks/{shell-7gh7q8bn.js → command-r4ce7j88.js} +21 -21
  254. package/dist/chunks/{shell-mnc72ab7.js → command-r6mcamb5.js} +27 -27
  255. package/dist/chunks/{shell-rb9dy4dg.js → command-rb9dy4dg.js} +1 -1
  256. package/dist/chunks/{shell-yd96381m.js → command-rg9j8c64.js} +9 -9
  257. package/dist/chunks/{shell-9q5v2hqn.js → command-rpe9qcx0.js} +63 -63
  258. package/dist/chunks/{shell-tcahmmy5.js → command-rq1bn5ff.js} +43 -43
  259. package/dist/chunks/{shell-djjqqg9g.js → command-rrsfp6ze.js} +17 -17
  260. package/dist/chunks/{shell-1t6wg0nd.js → command-rs6jcsrf.js} +23 -23
  261. package/dist/chunks/{shell-8qmjt4fd.js → command-rsre77k7.js} +21 -21
  262. package/dist/chunks/{shell-rt5dr6hb.js → command-rt5dr6hb.js} +1 -1
  263. package/dist/chunks/{shell-eh5dqxbp.js → command-rtqf1qnx.js} +35 -35
  264. package/dist/chunks/{shell-ndksvsqq.js → command-rwsvr4dq.js} +5 -5
  265. package/dist/chunks/{shell-d9xdsm8s.js → command-ryqhrx4f.js} +18 -18
  266. package/dist/chunks/{shell-s1ba0vj0.js → command-s1ba0vj0.js} +2 -2
  267. package/dist/chunks/{shell-ss09eh5m.js → command-s4kyhetj.js} +6 -6
  268. package/dist/chunks/{shell-fqs0zq7g.js → command-s8d7542g.js} +12 -12
  269. package/dist/chunks/{shell-sa3fpqfw.js → command-sa3fpqfw.js} +2 -2
  270. package/dist/chunks/{shell-sbya78hr.js → command-sbya78hr.js} +1 -1
  271. package/dist/chunks/{shell-5h6nvp4c.js → command-schafjf2.js} +6 -6
  272. package/dist/chunks/{shell-kmee7t05.js → command-sgfm45rn.js} +92 -92
  273. package/dist/chunks/{shell-9fa1t37d.js → command-ss2grsr1.js} +22 -22
  274. package/dist/chunks/{shell-svcy3p9a.js → command-svcy3p9a.js} +1 -1
  275. package/dist/chunks/{shell-dwstrqp9.js → command-szscrh8z.js} +23 -23
  276. package/dist/chunks/{shell-3tp4c0xt.js → command-t323kqwe.js} +12 -12
  277. package/dist/chunks/{shell-t8erkws8.js → command-t8erkws8.js} +2 -2
  278. package/dist/chunks/{shell-tb2mrvc9.js → command-tb2mrvc9.js} +1 -1
  279. package/dist/chunks/{shell-tczq8hjw.js → command-tczq8hjw.js} +1 -1
  280. package/dist/chunks/{shell-nbbs31bc.js → command-th74p2h3.js} +17 -17
  281. package/dist/chunks/{shell-ja2smk70.js → command-thc4f7yk.js} +8 -8
  282. package/dist/chunks/{shell-0w3xksdf.js → command-thpvhm7p.js} +8 -8
  283. package/dist/chunks/{shell-2x55varr.js → command-tm5zj7bd.js} +37 -37
  284. package/dist/chunks/{shell-mdeyfzen.js → command-tp5psy3g.js} +9 -9
  285. package/dist/chunks/{shell-yf073rag.js → command-tsvf0ypj.js} +10 -10
  286. package/dist/chunks/{shell-twssxy5n.js → command-twssxy5n.js} +2 -2
  287. package/dist/chunks/{shell-snc40rsw.js → command-v0gf7nmq.js} +25 -25
  288. package/dist/chunks/{shell-kghhyr40.js → command-v0mzemm6.js} +21 -21
  289. package/dist/chunks/{shell-v2r1d0zg.js → command-v2r1d0zg.js} +1 -1
  290. package/dist/chunks/{shell-81xk75pr.js → command-veesmm8k.js} +3 -3
  291. package/dist/chunks/{shell-0zakc424.js → command-vf37ha3m.js} +15 -15
  292. package/dist/chunks/{shell-vjf35v1f.js → command-vjf35v1f.js} +1 -1
  293. package/dist/chunks/{shell-pwz5ypps.js → command-vsc4dw33.js} +13 -13
  294. package/dist/chunks/{shell-ft05h4rm.js → command-vsnkte39.js} +53 -53
  295. package/dist/chunks/{shell-eg4gnj8c.js → command-vtmxyqqs.js} +35 -35
  296. package/dist/chunks/{shell-8rj7reax.js → command-vvrd773r.js} +23 -23
  297. package/dist/chunks/{shell-xj160ydj.js → command-vxsh6985.js} +31 -31
  298. package/dist/chunks/{shell-tc9v4qa2.js → command-vy3dbkv2.js} +25 -25
  299. package/dist/chunks/{shell-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  300. package/dist/chunks/{shell-wakvkjy4.js → command-wakvkjy4.js} +1 -1
  301. package/dist/chunks/{shell-wd87259q.js → command-wd87259q.js} +1 -1
  302. package/dist/chunks/{shell-x64jffdk.js → command-wjkfvcx3.js} +15 -15
  303. package/dist/chunks/{shell-8fmhgeg1.js → command-wmyfck53.js} +34 -34
  304. package/dist/chunks/{shell-wnhgecwx.js → command-wnhgecwx.js} +1 -1
  305. package/dist/chunks/{shell-9pmmtcn7.js → command-wp9qxkj5.js} +35 -35
  306. package/dist/chunks/{shell-wr3re1en.js → command-wr3re1en.js} +1 -1
  307. package/dist/chunks/{shell-epcdake3.js → command-wrq7dm6q.js} +4 -4
  308. package/dist/chunks/{shell-wws03c5r.js → command-wws03c5r.js} +1 -1
  309. package/dist/chunks/{shell-r6mk7n9z.js → command-x3agqc95.js} +17 -17
  310. package/dist/chunks/command-x3bvnkne.js +26 -0
  311. package/dist/chunks/{shell-00mqt8vt.js → command-x5vff03n.js} +18 -18
  312. package/dist/chunks/{shell-zm27gg57.js → command-x67mg8mk.js} +2 -2
  313. package/dist/chunks/{shell-ne3edjpr.js → command-x79ghvf2.js} +9 -9
  314. package/dist/chunks/{shell-395719v5.js → command-xcvkrh98.js} +5 -5
  315. package/dist/chunks/{shell-7ydc43j0.js → command-xeazcnat.js} +12 -12
  316. package/dist/chunks/{shell-9zhekznq.js → command-xvh6nyz9.js} +18 -18
  317. package/dist/chunks/{shell-qzxcgvak.js → command-xya5z1v4.js} +3 -3
  318. package/dist/chunks/{shell-sj1akaq3.js → command-xywcct0r.js} +25 -25
  319. package/dist/chunks/{shell-tdzh4vzn.js → command-y4hqb8zf.js} +11 -11
  320. package/dist/chunks/{shell-yb20nhc3.js → command-yb20nhc3.js} +1 -1
  321. package/dist/chunks/{shell-ybws1qgk.js → command-ybws1qgk.js} +4 -4
  322. package/dist/chunks/{shell-2cdjxzfg.js → command-yjjyz0e3.js} +3 -3
  323. package/dist/chunks/{shell-51fa9ecf.js → command-yjw0tny1.js} +32 -32
  324. package/dist/chunks/{shell-hy8c1z76.js → command-ykvsfm8k.js} +8 -8
  325. package/dist/chunks/{shell-azx1espf.js → command-yms5yk40.js} +11 -11
  326. package/dist/chunks/{shell-yr705xyq.js → command-yr705xyq.js} +1 -1
  327. package/dist/chunks/{shell-n4d8tphs.js → command-ys6g3emr.js} +35 -35
  328. package/dist/chunks/{shell-05bzq52v.js → command-yv0q8n2v.js} +18 -18
  329. package/dist/chunks/{shell-yvtc2x31.js → command-yvtc2x31.js} +1 -1
  330. package/dist/chunks/{shell-sdn8sen6.js → command-z0bs4asb.js} +4 -4
  331. package/dist/chunks/command-z355x5yr.js +18 -0
  332. package/dist/chunks/{shell-wej8cf7c.js → command-z75sjccv.js} +25 -25
  333. package/dist/chunks/{shell-bxq9e2r0.js → command-z9j69c60.js} +15 -15
  334. package/dist/chunks/{shell-0yrffq11.js → command-zbbn7txt.js} +12 -12
  335. package/dist/chunks/{shell-cn0ah7mh.js → command-zc1tqb6c.js} +43 -43
  336. package/dist/chunks/{shell-xc1jhcm7.js → command-zg9xszfz.js} +7 -7
  337. package/dist/chunks/{shell-8dzmkjrb.js → command-zkb4dvfy.js} +3 -3
  338. package/dist/chunks/{shell-6d0d1q6g.js → command-zw5s2a2z.js} +4 -4
  339. package/dist/chunks/{shell-fc6b9ra8.js → command-zxrsq0zh.js} +13 -13
  340. package/dist/codemode/catalog.js +1 -1
  341. package/dist/codemode/execution.js +3 -3
  342. package/dist/codemode/fetch.js +145 -145
  343. package/dist/codemode/instructions.js +7 -7
  344. package/dist/codemode/tool.js +151 -151
  345. package/dist/command.js +92 -92
  346. package/dist/config/discovery.js +95 -95
  347. package/dist/config/integration.js +3 -3
  348. package/dist/config/managed.js +1 -1
  349. package/dist/config/markdown.js +1 -1
  350. package/dist/config/normalize.js +112 -112
  351. package/dist/config/plugin/agent.js +132 -132
  352. package/dist/config/plugin/command.js +231 -231
  353. package/dist/config/plugin/compaction.js +171 -171
  354. package/dist/config/plugin/compatibility.js +150 -150
  355. package/dist/config/plugin/entry-observer.js +1 -1
  356. package/dist/config/plugin/formatter.js +131 -131
  357. package/dist/config/plugin/image.js +130 -130
  358. package/dist/config/plugin/instruction.js +130 -130
  359. package/dist/config/plugin/location-watcher.js +132 -132
  360. package/dist/config/plugin/mcp.js +141 -141
  361. package/dist/config/plugin/policy.js +130 -130
  362. package/dist/config/plugin/provider.js +130 -130
  363. package/dist/config/plugin/reference.js +132 -132
  364. package/dist/config/plugin/shell.js +130 -130
  365. package/dist/config/plugin/skill-file.js +146 -146
  366. package/dist/config/plugin/skill-scan.js +1 -1
  367. package/dist/config/plugin/skill.js +153 -153
  368. package/dist/config/plugin/snapshot.js +128 -128
  369. package/dist/config/plugin/source.js +131 -131
  370. package/dist/config/plugin/tool-output.js +131 -131
  371. package/dist/config/plugin/websearch.js +129 -129
  372. package/dist/config/plugin/worktree.js +132 -132
  373. package/dist/config/variable.js +1 -1
  374. package/dist/config/watch.js +1 -1
  375. package/dist/config.js +135 -135
  376. package/dist/console-access.js +1 -1
  377. package/dist/credential/sql.js +2 -2
  378. package/dist/credential.js +94 -94
  379. package/dist/database/database.js +81 -81
  380. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  381. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  382. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  383. package/dist/database/drizzle/index.js +13 -13
  384. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  385. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  386. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  387. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  388. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  389. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  390. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  391. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  392. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  393. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  394. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  395. package/dist/database/drizzle.js +14 -14
  396. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  397. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  398. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  399. package/dist/database/migration/20260225215848_workspace.js +1 -1
  400. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  401. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  402. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  403. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  404. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  405. package/dist/database/migration/20260323234822_events.js +1 -1
  406. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  407. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  408. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  409. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  410. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  411. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  412. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  413. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  414. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  415. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  416. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  417. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  418. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  419. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  420. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  421. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  422. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  423. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  424. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  425. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  426. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  427. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  428. package/dist/database/migration/20260611035744_credential.js +1 -1
  429. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  430. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  431. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  432. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  433. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  434. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  435. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  436. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  437. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  438. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  439. package/dist/database/migration/20260812213948_worktree.js +1 -1
  440. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  441. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  442. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  443. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  444. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  445. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  446. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  447. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  448. package/dist/database/migration/20261025123711_blob.js +1 -1
  449. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  450. package/dist/database/migration/20261026223005_schedule.js +1 -1
  451. package/dist/database/migration/20261029002625_session_part.js +1 -1
  452. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  453. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  454. package/dist/database/migration/20261030054400_job.js +1 -1
  455. package/dist/database/migration.gen.js +60 -60
  456. package/dist/database/migration.js +62 -62
  457. package/dist/database/path.js +2 -2
  458. package/dist/database/schema.gen.js +1 -1
  459. package/dist/database/schema.sql.js +1 -1
  460. package/dist/database/sqlite.bun.js +3 -71
  461. package/dist/database/sqlite.node.js +3 -67
  462. package/dist/database/sqlite.workerd.js +11 -14
  463. package/dist/database/v1-migration.bun.js +108 -108
  464. package/dist/database/v1-migration.js +1 -1
  465. package/dist/effect/app-node-builder.js +430 -430
  466. package/dist/effect/app-node-platform.js +2 -2
  467. package/dist/effect/keyed-mutex.js +3 -3
  468. package/dist/effect/websocket-constructor.js +1 -1
  469. package/dist/environment/driver.js +1 -1
  470. package/dist/environment/environment.js +106 -106
  471. package/dist/environment/exec-defaults.js +2 -2
  472. package/dist/environment/files.js +1 -1
  473. package/dist/environment/index.js +106 -106
  474. package/dist/environment/local.js +2 -2
  475. package/dist/environment/memory.js +2 -2
  476. package/dist/environment/unavailable.js +1 -1
  477. package/dist/event/sql.js +1 -1
  478. package/dist/event-logger.js +85 -85
  479. package/dist/file-access.js +156 -156
  480. package/dist/file-mutation.js +107 -107
  481. package/dist/file-retention.js +1 -1
  482. package/dist/filesystem/fff.bun.js +2 -2
  483. package/dist/filesystem/fff.js +1 -1
  484. package/dist/filesystem/fff.node.js +2 -2
  485. package/dist/filesystem/fff.workerd.js +2 -2
  486. package/dist/filesystem/file-watch.js +91 -91
  487. package/dist/filesystem/location-watcher-policy.js +6 -6
  488. package/dist/filesystem/location-watcher.js +245 -245
  489. package/dist/filesystem/protected.js +1 -1
  490. package/dist/filesystem/search.js +110 -110
  491. package/dist/filesystem/watcher-binding.js +1 -1
  492. package/dist/filesystem/watcher.js +13 -13
  493. package/dist/filesystem.js +117 -117
  494. package/dist/form.js +93 -93
  495. package/dist/formatter/builtins.js +4 -4
  496. package/dist/formatter.js +100 -100
  497. package/dist/generate.js +118 -118
  498. package/dist/git.js +11 -11
  499. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  500. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  501. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  502. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  503. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  504. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  505. package/dist/github-copilot/copilot-provider.js +17 -17
  506. package/dist/github-copilot/models.js +112 -112
  507. package/dist/github-copilot/openai-compatible-error.js +1 -1
  508. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  509. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  510. package/dist/github-copilot/responses/openai-error.js +1 -1
  511. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  512. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  513. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  514. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  515. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  516. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  517. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  518. package/dist/image/notice.js +1 -1
  519. package/dist/image/photon-normalize.js +1 -1
  520. package/dist/image/photon-worker.js +1 -1
  521. package/dist/image/photon.js +4 -4
  522. package/dist/image.js +6 -6
  523. package/dist/instance/service.js +5 -5
  524. package/dist/instance.js +421 -421
  525. package/dist/instruction-discovery.js +95 -95
  526. package/dist/instructions/builtins.js +100 -100
  527. package/dist/instructions/index.js +3 -3
  528. package/dist/integration/connection.js +1 -1
  529. package/dist/integration.js +94 -94
  530. package/dist/job/sql.js +2 -2
  531. package/dist/job.js +86 -86
  532. package/dist/kv/sql.js +2 -2
  533. package/dist/kv.js +84 -84
  534. package/dist/location-activity.js +179 -179
  535. package/dist/location-lifecycle.js +150 -150
  536. package/dist/location-service-map.js +99 -99
  537. package/dist/location-services.js +418 -418
  538. package/dist/location.js +100 -100
  539. package/dist/managed-policy.js +3 -3
  540. package/dist/mcp/client.js +104 -104
  541. package/dist/mcp/index.js +122 -122
  542. package/dist/mcp/instructions.js +181 -181
  543. package/dist/mcp/oauth.js +89 -89
  544. package/dist/mcp/socket-client.js +1 -1
  545. package/dist/mcp/stdio.js +103 -103
  546. package/dist/mime.js +1 -1
  547. package/dist/modal/models.js +112 -112
  548. package/dist/model-resolver.js +112 -112
  549. package/dist/model-retry.js +1 -1
  550. package/dist/model.js +113 -113
  551. package/dist/models-dev/v1.js +1 -1
  552. package/dist/models-dev.js +117 -117
  553. package/dist/oauth/page.js +1 -1
  554. package/dist/permission/saved.js +93 -93
  555. package/dist/permission/sql.js +5 -5
  556. package/dist/permission.js +155 -155
  557. package/dist/persistent-pty/binary.bun.js +1 -1
  558. package/dist/persistent-pty/daemon.js +1 -1
  559. package/dist/persistent-pty/index.js +101 -101
  560. package/dist/persistent-pty/pty-binding.js +1 -1
  561. package/dist/persistent-pty.js +86 -86
  562. package/dist/plugin/agent.js +87 -87
  563. package/dist/plugin/command.js +115 -115
  564. package/dist/plugin/goal.js +3 -3
  565. package/dist/plugin/hooks.js +5 -5
  566. package/dist/plugin/host.js +236 -236
  567. package/dist/plugin/identity.js +5 -5
  568. package/dist/plugin/instance.js +5 -5
  569. package/dist/plugin/internal.js +397 -397
  570. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  571. package/dist/plugin/models-dev.js +110 -110
  572. package/dist/plugin/module.js +129 -129
  573. package/dist/plugin/optimize.js +2 -2
  574. package/dist/plugin/plan.js +146 -146
  575. package/dist/plugin/promise.js +1 -1
  576. package/dist/plugin/provider/amazon-bedrock.js +104 -104
  577. package/dist/plugin/provider/azure.js +132 -132
  578. package/dist/plugin/provider/cerebras.js +1 -1
  579. package/dist/plugin/provider/chatgpt.js +130 -130
  580. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  581. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  582. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  583. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  584. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  585. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  586. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  587. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  588. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  589. package/dist/plugin/provider/claude-agent/index.js +143 -143
  590. package/dist/plugin/provider/claude-agent/instructions.js +112 -112
  591. package/dist/plugin/provider/claude-agent/integration.js +113 -113
  592. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
  593. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  594. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +4 -4
  595. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  596. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  597. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +1 -1
  598. package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
  599. package/dist/plugin/provider/claude-agent/provider.js +110 -110
  600. package/dist/plugin/provider/claude-agent/session.js +112 -112
  601. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  602. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  603. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  604. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  605. package/dist/plugin/provider/claude-agent/sync/record.js +1 -1
  606. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  607. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  608. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  609. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  610. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  611. package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
  612. package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
  613. package/dist/plugin/provider/configured.js +126 -126
  614. package/dist/plugin/provider/credential-settings.js +85 -85
  615. package/dist/plugin/provider/databricks.js +1 -1
  616. package/dist/plugin/provider/digitalocean.js +108 -108
  617. package/dist/plugin/provider/dynamic.js +2 -2
  618. package/dist/plugin/provider/github-copilot.js +110 -110
  619. package/dist/plugin/provider/gitlab.js +107 -107
  620. package/dist/plugin/provider/google-vertex.js +127 -127
  621. package/dist/plugin/provider/kilo.js +1 -1
  622. package/dist/plugin/provider/llmgateway.js +89 -89
  623. package/dist/plugin/provider/lmstudio.js +139 -139
  624. package/dist/plugin/provider/local.js +136 -136
  625. package/dist/plugin/provider/modal.js +107 -107
  626. package/dist/plugin/provider/neon.js +1 -1
  627. package/dist/plugin/provider/nvidia.js +1 -1
  628. package/dist/plugin/provider/ollama.js +139 -139
  629. package/dist/plugin/provider/openai-context-caps.js +103 -103
  630. package/dist/plugin/provider/openai.js +130 -130
  631. package/dist/plugin/provider/opencode.js +132 -132
  632. package/dist/plugin/provider/openrouter.js +104 -104
  633. package/dist/plugin/provider/poe.js +90 -90
  634. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  635. package/dist/plugin/provider/refresh.js +87 -87
  636. package/dist/plugin/provider/sap-ai-core.js +104 -104
  637. package/dist/plugin/provider/sdk-factory.js +1 -1
  638. package/dist/plugin/provider/snowflake-cortex.js +129 -129
  639. package/dist/plugin/provider/vllm.js +139 -139
  640. package/dist/plugin/provider/xai.js +104 -104
  641. package/dist/plugin/provider/zenmux.js +1 -1
  642. package/dist/plugin/provider.js +212 -212
  643. package/dist/plugin/sdk.js +85 -85
  644. package/dist/plugin/service.js +3 -3
  645. package/dist/plugin/skill.js +149 -149
  646. package/dist/plugin/source-directory.js +1 -1
  647. package/dist/plugin/supervisor.js +407 -407
  648. package/dist/plugin/tool-input-repair.js +4 -4
  649. package/dist/plugin/update.js +6 -6
  650. package/dist/plugin/vcs/git.js +99 -99
  651. package/dist/plugin/vcs/hg.js +99 -99
  652. package/dist/plugin/verbosity.js +106 -106
  653. package/dist/plugin/warming.js +128 -128
  654. package/dist/plugin/websearch/exa.js +7 -7
  655. package/dist/plugin/websearch/firecrawl.js +8 -8
  656. package/dist/plugin/websearch/index.js +9 -9
  657. package/dist/plugin/websearch/mcp.js +4 -4
  658. package/dist/plugin/websearch/parallel.js +8 -8
  659. package/dist/plugin/websearch/tavily.js +6 -6
  660. package/dist/plugin/websearch/tinyfish.js +8 -8
  661. package/dist/plugin.js +247 -247
  662. package/dist/project/icon.js +5 -5
  663. package/dist/project/schema.js +8 -8
  664. package/dist/project/sql.js +4 -4
  665. package/dist/project.js +103 -103
  666. package/dist/provider.js +108 -108
  667. package/dist/pty/protocol.js +1 -1
  668. package/dist/pty/ticket.js +1 -1
  669. package/dist/pty.js +109 -109
  670. package/dist/reference/instructions.js +101 -101
  671. package/dist/reference.js +103 -103
  672. package/dist/repository-cache.js +93 -93
  673. package/dist/repository.js +1 -1
  674. package/dist/ripgrep/binary.js +2 -2
  675. package/dist/ripgrep.js +110 -110
  676. package/dist/rpc.js +99 -99
  677. package/dist/schedule/check.js +241 -241
  678. package/dist/schedule/sql.js +6 -6
  679. package/dist/schedule.js +243 -243
  680. package/dist/schema.js +1 -1
  681. package/dist/session/affinity.js +1 -1
  682. package/dist/session/background.js +1 -1
  683. package/dist/session/blob.js +129 -129
  684. package/dist/session/command.js +85 -85
  685. package/dist/session/compaction.js +169 -169
  686. package/dist/session/context.js +198 -198
  687. package/dist/session/diff.js +101 -101
  688. package/dist/session/environment.js +5 -5
  689. package/dist/session/error.js +5 -5
  690. package/dist/session/event.js +1 -1
  691. package/dist/session/execution/restart.js +242 -242
  692. package/dist/session/execution.js +161 -161
  693. package/dist/session/generate.js +198 -198
  694. package/dist/session/history.js +136 -136
  695. package/dist/session/inbox.js +147 -147
  696. package/dist/session/info.js +3 -3
  697. package/dist/session/instruction-entry.js +90 -90
  698. package/dist/session/instruction-state.js +8 -8
  699. package/dist/session/instructions.js +137 -137
  700. package/dist/session/message-updater.js +2 -2
  701. package/dist/session/message.js +1 -1
  702. package/dist/session/model-request.js +166 -166
  703. package/dist/session/model-transport.js +7 -7
  704. package/dist/session/move.js +161 -161
  705. package/dist/session/projector.js +141 -141
  706. package/dist/session/prompt.js +148 -148
  707. package/dist/session/recent-text.js +1 -1
  708. package/dist/session/revert.js +139 -139
  709. package/dist/session/run-coordinator.js +1 -1
  710. package/dist/session/runner/index.js +3 -3
  711. package/dist/session/runner/llm.js +250 -250
  712. package/dist/session/runner/max-steps.js +1 -1
  713. package/dist/session/runner/model.js +113 -113
  714. package/dist/session/runner/publish-llm-event.js +149 -149
  715. package/dist/session/runner/retry.js +3 -3
  716. package/dist/session/runner/step.js +161 -161
  717. package/dist/session/runner/to-llm-message.js +137 -137
  718. package/dist/session/schema.js +5 -5
  719. package/dist/session/session.js +181 -181
  720. package/dist/session/shell.js +144 -144
  721. package/dist/session/skill.js +147 -147
  722. package/dist/session/sql.js +5 -5
  723. package/dist/session/stats.js +86 -86
  724. package/dist/session/store.js +142 -142
  725. package/dist/session/stored.js +2 -2
  726. package/dist/session/subagent-completion.js +1 -1
  727. package/dist/session/subagent-job.js +229 -229
  728. package/dist/session/system-prompt.js +3 -3
  729. package/dist/session/title.js +202 -202
  730. package/dist/session/to-session-error.js +148 -148
  731. package/dist/session/transfer.js +243 -243
  732. package/dist/session/usage.js +1 -1
  733. package/dist/session.js +235 -235
  734. package/dist/shared-cache.js +5 -5
  735. package/dist/shell/parse.js +6 -6
  736. package/dist/shell/result.js +1 -1
  737. package/dist/shell/scan.js +1 -1
  738. package/dist/shell/select.js +15 -15
  739. package/dist/shell.js +146 -146
  740. package/dist/skill/discovery.js +6 -6
  741. package/dist/skill/instructions.js +151 -151
  742. package/dist/skill.js +150 -150
  743. package/dist/snapshot.js +102 -102
  744. package/dist/state.js +1 -1
  745. package/dist/tool/html-markdown.js +1 -1
  746. package/dist/tool/http-body.js +1 -1
  747. package/dist/tool/mcp.js +178 -178
  748. package/dist/tool/plugin/artifact.js +228 -228
  749. package/dist/tool/plugin/edit.js +158 -158
  750. package/dist/tool/plugin/file-diff.js +1 -1
  751. package/dist/tool/plugin/glob.js +168 -168
  752. package/dist/tool/plugin/grep.js +168 -168
  753. package/dist/tool/plugin/image-generate.js +229 -229
  754. package/dist/tool/plugin/mcp-resource.js +162 -162
  755. package/dist/tool/plugin/opencode.js +161 -161
  756. package/dist/tool/plugin/patch.js +162 -162
  757. package/dist/tool/plugin/question.js +146 -146
  758. package/dist/tool/plugin/read.js +169 -169
  759. package/dist/tool/plugin/schedule.js +247 -247
  760. package/dist/tool/plugin/shell.js +233 -233
  761. package/dist/tool/plugin/skill.js +155 -155
  762. package/dist/tool/plugin/subagent.js +236 -236
  763. package/dist/tool/plugin/todo.js +153 -153
  764. package/dist/tool/plugin/webfetch.js +155 -155
  765. package/dist/tool/plugin/websearch.js +153 -153
  766. package/dist/tool/plugin/write.js +160 -160
  767. package/dist/tool/read-filesystem.js +113 -113
  768. package/dist/tool/runtime.js +1 -1
  769. package/dist/tool-output.js +7 -7
  770. package/dist/tool.js +161 -161
  771. package/dist/types/database/sqlite.bun.d.ts +3 -11
  772. package/dist/types/database/sqlite.node.d.ts +3 -13
  773. package/dist/types/database/sqlite.workerd.d.ts +1 -2
  774. package/dist/usage-limits.js +100 -100
  775. package/dist/util/error-summary.js +1 -1
  776. package/dist/util/git-executable.js +3 -3
  777. package/dist/util/lazy.js +1 -1
  778. package/dist/util/slug.js +1 -1
  779. package/dist/util/token.js +1 -1
  780. package/dist/util/which.js +1 -1
  781. package/dist/util/wildcard.js +1 -1
  782. package/dist/v1/config/agent.js +5 -5
  783. package/dist/v1/config/command.js +3 -3
  784. package/dist/v1/config/mcp.js +2 -2
  785. package/dist/v1/config/migrate.js +105 -105
  786. package/dist/v1/config/permission.js +3 -3
  787. package/dist/v1/config/plugin.js +3 -3
  788. package/dist/v1/config/provider-options.js +1 -1
  789. package/dist/v1/config/provider.js +2 -2
  790. package/dist/variant.js +104 -104
  791. package/dist/vcs/patch.js +1 -1
  792. package/dist/vcs.js +102 -102
  793. package/dist/voice.js +99 -99
  794. package/dist/websearch.js +101 -101
  795. package/dist/wellknown/plugin.js +87 -87
  796. package/dist/wellknown.js +92 -92
  797. package/dist/workspace/driver.js +7 -7
  798. package/dist/workspace/sql.js +1 -1
  799. package/dist/workspace.js +93 -93
  800. package/dist/worktree/directory.js +2 -2
  801. package/dist/worktree/git.js +9 -9
  802. package/dist/worktree/sql.js +5 -5
  803. package/dist/worktree/strategies.js +102 -102
  804. package/dist/worktree.js +109 -109
  805. package/package.json +10 -9
  806. package/dist/chunks/shell-7yv5xa0k.js +0 -18
  807. package/dist/chunks/shell-94s5f2xb.js +0 -62
  808. package/dist/chunks/shell-hhqxxv04.js +0 -26
  809. package/dist/chunks/shell-w9emth0g.js +0 -261
  810. package/dist/database/sqlite.js +0 -12
  811. package/dist/types/database/sqlite.d.ts +0 -20
  812. /package/dist/chunks/{shell-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  813. /package/dist/chunks/{shell-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  814. /package/dist/chunks/{shell-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  815. /package/dist/chunks/{shell-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  816. /package/dist/chunks/{shell-1kah00gy.js → command-1kah00gy.js} +0 -0
  817. /package/dist/chunks/{shell-1pevy3nx.js → command-1pevy3nx.js} +0 -0
  818. /package/dist/chunks/{shell-24dcb14g.js → command-24dcb14g.js} +0 -0
  819. /package/dist/chunks/{shell-2710q6r3.js → command-2710q6r3.js} +0 -0
  820. /package/dist/chunks/{shell-2bv980vf.js → command-2bv980vf.js} +0 -0
  821. /package/dist/chunks/{shell-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  822. /package/dist/chunks/{shell-359p4xyc.js → command-359p4xyc.js} +0 -0
  823. /package/dist/chunks/{shell-3asan66x.js → command-3asan66x.js} +0 -0
  824. /package/dist/chunks/{shell-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  825. /package/dist/chunks/{shell-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  826. /package/dist/chunks/{shell-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  827. /package/dist/chunks/{shell-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  828. /package/dist/chunks/{shell-4qk9sjk2.js → command-4qk9sjk2.js} +0 -0
  829. /package/dist/chunks/{shell-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
  830. /package/dist/chunks/{shell-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  831. /package/dist/chunks/{shell-53557ph1.js → command-53557ph1.js} +0 -0
  832. /package/dist/chunks/{shell-550bvhaj.js → command-550bvhaj.js} +0 -0
  833. /package/dist/chunks/{shell-5w3e23ze.js → command-5w3e23ze.js} +0 -0
  834. /package/dist/chunks/{shell-6agm2x70.js → command-6agm2x70.js} +0 -0
  835. /package/dist/chunks/{shell-6prwharc.js → command-6prwharc.js} +0 -0
  836. /package/dist/chunks/{shell-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
  837. /package/dist/chunks/{shell-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  838. /package/dist/chunks/{shell-7m9af43g.js → command-7m9af43g.js} +0 -0
  839. /package/dist/chunks/{shell-822emrt2.js → command-822emrt2.js} +0 -0
  840. /package/dist/chunks/{shell-84wd9syh.js → command-84wd9syh.js} +0 -0
  841. /package/dist/chunks/{shell-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  842. /package/dist/chunks/{shell-8n3pysct.js → command-8n3pysct.js} +0 -0
  843. /package/dist/chunks/{shell-8wj87zfr.js → command-8wj87zfr.js} +0 -0
  844. /package/dist/chunks/{shell-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  845. /package/dist/chunks/{shell-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  846. /package/dist/chunks/{shell-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  847. /package/dist/chunks/{shell-af5trqkr.js → command-af5trqkr.js} +0 -0
  848. /package/dist/chunks/{shell-afrmfg78.js → command-afrmfg78.js} +0 -0
  849. /package/dist/chunks/{shell-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  850. /package/dist/chunks/{shell-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  851. /package/dist/chunks/{shell-beh6qq61.js → command-beh6qq61.js} +0 -0
  852. /package/dist/chunks/{shell-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  853. /package/dist/chunks/{shell-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  854. /package/dist/chunks/{shell-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  855. /package/dist/chunks/{shell-cqv5kn06.js → command-cqv5kn06.js} +0 -0
  856. /package/dist/chunks/{shell-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  857. /package/dist/chunks/{shell-d9fn303g.js → command-d9fn303g.js} +0 -0
  858. /package/dist/chunks/{shell-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  859. /package/dist/chunks/{shell-dap0rakb.js → command-dap0rakb.js} +0 -0
  860. /package/dist/chunks/{shell-dbht28n9.js → command-dbht28n9.js} +0 -0
  861. /package/dist/chunks/{shell-df08tz66.js → command-df08tz66.js} +0 -0
  862. /package/dist/chunks/{shell-dy18nga0.js → command-dy18nga0.js} +0 -0
  863. /package/dist/chunks/{shell-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  864. /package/dist/chunks/{shell-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  865. /package/dist/chunks/{shell-ean2d8b5.js → command-ean2d8b5.js} +0 -0
  866. /package/dist/chunks/{shell-ec1grn59.js → command-ec1grn59.js} +0 -0
  867. /package/dist/chunks/{shell-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  868. /package/dist/chunks/{shell-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  869. /package/dist/chunks/{shell-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  870. /package/dist/chunks/{shell-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  871. /package/dist/chunks/{shell-faypxj3z.js → command-faypxj3z.js} +0 -0
  872. /package/dist/chunks/{shell-fd410y7t.js → command-fd410y7t.js} +0 -0
  873. /package/dist/chunks/{shell-fkpq3x5p.js → command-fkpq3x5p.js} +0 -0
  874. /package/dist/chunks/{shell-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  875. /package/dist/chunks/{shell-g86h250q.js → command-g86h250q.js} +0 -0
  876. /package/dist/chunks/{shell-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  877. /package/dist/chunks/{shell-gftt206x.js → command-gftt206x.js} +0 -0
  878. /package/dist/chunks/{shell-hcxmzztb.js → command-hcxmzztb.js} +0 -0
  879. /package/dist/chunks/{shell-hk9envan.js → command-hk9envan.js} +0 -0
  880. /package/dist/chunks/{shell-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  881. /package/dist/chunks/{shell-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  882. /package/dist/chunks/{shell-jjkms2e6.js → command-jjkms2e6.js} +0 -0
  883. /package/dist/chunks/{shell-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  884. /package/dist/chunks/{shell-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  885. /package/dist/chunks/{shell-jwr30sdr.js → command-jwr30sdr.js} +0 -0
  886. /package/dist/chunks/{shell-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  887. /package/dist/chunks/{shell-m18g726c.js → command-m18g726c.js} +0 -0
  888. /package/dist/chunks/{shell-mp448xyj.js → command-mp448xyj.js} +0 -0
  889. /package/dist/chunks/{shell-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  890. /package/dist/chunks/{shell-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  891. /package/dist/chunks/{shell-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  892. /package/dist/chunks/{shell-nh4v3znn.js → command-nh4v3znn.js} +0 -0
  893. /package/dist/chunks/{shell-njntx4h6.js → command-njntx4h6.js} +0 -0
  894. /package/dist/chunks/{shell-p71gwv9c.js → command-p71gwv9c.js} +0 -0
  895. /package/dist/chunks/{shell-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  896. /package/dist/chunks/{shell-q74kybfr.js → command-q74kybfr.js} +0 -0
  897. /package/dist/chunks/{shell-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  898. /package/dist/chunks/{shell-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  899. /package/dist/chunks/{shell-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  900. /package/dist/chunks/{shell-qg3g05ea.js → command-qg3g05ea.js} +0 -0
  901. /package/dist/chunks/{shell-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  902. /package/dist/chunks/{shell-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  903. /package/dist/chunks/{shell-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  904. /package/dist/chunks/{shell-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  905. /package/dist/chunks/{shell-syrav9an.js → command-syrav9an.js} +0 -0
  906. /package/dist/chunks/{shell-t03h4f5z.js → command-t03h4f5z.js} +0 -0
  907. /package/dist/chunks/{shell-ty7weeps.js → command-ty7weeps.js} +0 -0
  908. /package/dist/chunks/{shell-ve7vex1e.js → command-ve7vex1e.js} +0 -0
  909. /package/dist/chunks/{shell-vtarvj67.js → command-vtarvj67.js} +0 -0
  910. /package/dist/chunks/{shell-w803qqfp.js → command-w803qqfp.js} +0 -0
  911. /package/dist/chunks/{shell-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
  912. /package/dist/chunks/{shell-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  913. /package/dist/chunks/{shell-wtztk69x.js → command-wtztk69x.js} +0 -0
  914. /package/dist/chunks/{shell-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  915. /package/dist/chunks/{shell-x61499pn.js → command-x61499pn.js} +0 -0
  916. /package/dist/chunks/{shell-y44na4kk.js → command-y44na4kk.js} +0 -0
  917. /package/dist/chunks/{shell-y8f7s663.js → command-y8f7s663.js} +0 -0
  918. /package/dist/chunks/{shell-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  919. /package/dist/chunks/{shell-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
  920. /package/dist/chunks/{shell-z9919s4g.js → command-z9919s4g.js} +0 -0
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  latest2,
3
- Service73
4
- } from "./shell-y2384acf.js";
3
+ Service74
4
+ } from "./command-ajv23y1e.js";
5
5
  import {
6
6
  Content2,
7
- Event5,
8
- ID7,
9
- Info7,
7
+ Event7,
8
+ ID8,
9
+ Info9,
10
10
  ProviderID2,
11
- Service24
12
- } from "./shell-9q5v2hqn.js";
11
+ Service30
12
+ } from "./command-rpe9qcx0.js";
13
13
  import {
14
14
  observe2
15
- } from "./shell-hpg1pkwy.js";
15
+ } from "./command-hpg1pkwy.js";
16
16
  import {
17
17
  __export
18
- } from "./shell-9rqn6x4v.js";
18
+ } from "./command-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/plugin/artifact.ts
21
21
  var exports_artifact = {};
@@ -23,7 +23,7 @@ __export(exports_artifact, {
23
23
  ArtifactTools: () => exports_artifact,
24
24
  CreateToolInput: () => CreateToolInput2,
25
25
  DeleteToolInput: () => DeleteToolInput2,
26
- Plugin: () => Plugin47,
26
+ Plugin: () => Plugin50,
27
27
  ReadToolInput: () => ReadToolInput2,
28
28
  UpdateToolInput: () => UpdateToolInput2
29
29
  });
@@ -43,10 +43,10 @@ var CreateToolInput2 = Schema.Struct({
43
43
  })
44
44
  });
45
45
  var ReadToolInput2 = Schema.Struct({
46
- id: ID7.annotate({ description: "Artifact ID (art_...) to read." })
46
+ id: ID8.annotate({ description: "Artifact ID (art_...) to read." })
47
47
  });
48
48
  var UpdateToolInput2 = Schema.Struct({
49
- id: ID7.annotate({ description: "Artifact ID (art_...) to update." }),
49
+ id: ID8.annotate({ description: "Artifact ID (art_...) to update." }),
50
50
  title: Schema.String.pipe(optional).annotate({ description: "Updated title, or omit to keep the current title." }),
51
51
  files: Schema.Record(Schema.String, Schema.String).annotate({
52
52
  description: "Replacement UTF-8 file map keyed by relative path."
@@ -54,24 +54,24 @@ var UpdateToolInput2 = Schema.Struct({
54
54
  entry: Schema.String.pipe(optional).annotate({ description: "Updated entry file path." })
55
55
  });
56
56
  var DeleteToolInput2 = Schema.Struct({
57
- id: ID7.annotate({ description: "Artifact ID (art_...) to delete." })
57
+ id: ID8.annotate({ description: "Artifact ID (art_...) to delete." })
58
58
  });
59
59
  var DeleteToolOutput = Schema.Struct({
60
- id: ID7,
60
+ id: ID8,
61
61
  deleted: Schema.Boolean
62
62
  });
63
- var Plugin47 = {
63
+ var Plugin50 = {
64
64
  id: "opencode.tool.artifact",
65
65
  effect: Effect.fn("ArtifactTools.Plugin")(function* (ctx) {
66
- const config = yield* Service73;
67
- const artifacts = yield* Service24;
66
+ const config = yield* Service74;
67
+ const artifacts = yield* Service30;
68
68
  const promptSnapshot = { text: yield* renderCreateDescription(artifacts) };
69
69
  const refreshTools = Effect.gen(function* () {
70
70
  promptSnapshot.text = yield* renderCreateDescription(artifacts);
71
71
  yield* ctx.tool.reload();
72
72
  });
73
73
  const loaded = yield* observe2(config, ctx.event, refreshTools);
74
- yield* ctx.event.subscribe({ types: [Event5.Updated.type] }).pipe(Stream.runForEach(() => refreshTools), Effect.forkScoped({ startImmediately: true }));
74
+ yield* ctx.event.subscribe({ types: [Event7.Updated.type] }).pipe(Stream.runForEach(() => refreshTools), Effect.forkScoped({ startImmediately: true }));
75
75
  const enabled = () => latest2(loaded.entries, "experimental")?.artifacts === true;
76
76
  const failure = (error) => new ToolFailure({ message: error.message, error });
77
77
  yield* ctx.tool.transform((editor) => {
@@ -81,7 +81,7 @@ var Plugin47 = {
81
81
  name: "artifact_create",
82
82
  description: promptSnapshot.text,
83
83
  input: CreateToolInput2,
84
- output: Info7,
84
+ output: Info9,
85
85
  options: { namespace: "opencode", codemode: true },
86
86
  execute: (input, context) => artifacts.create({
87
87
  title: input.title,
@@ -109,7 +109,7 @@ var Plugin47 = {
109
109
  name: "artifact_update",
110
110
  description: "Replace an existing artifact's files at the same ID and URL.",
111
111
  input: UpdateToolInput2,
112
- output: Info7,
112
+ output: Info9,
113
113
  options: { namespace: "opencode", codemode: true },
114
114
  execute: (input, context) => artifacts.update(input.id, {
115
115
  title: input.title,
@@ -149,4 +149,4 @@ function renderCreateDescription(artifacts) {
149
149
  }));
150
150
  }
151
151
 
152
- export { CreateToolInput2, ReadToolInput2, UpdateToolInput2, DeleteToolInput2, Plugin47, exports_artifact };
152
+ export { CreateToolInput2, ReadToolInput2, UpdateToolInput2, DeleteToolInput2, Plugin50, exports_artifact };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service60
3
- } from "./shell-8rj7reax.js";
2
+ Service65
3
+ } from "./command-vvrd773r.js";
4
4
  import {
5
- Service45
6
- } from "./shell-9nkjg9qd.js";
5
+ Service59
6
+ } from "./command-7215dbqr.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./shell-7yv5xa0k.js";
9
+ } from "./command-z355x5yr.js";
10
10
  import {
11
11
  __export
12
- } from "./shell-9rqn6x4v.js";
12
+ } from "./command-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,10 +19,10 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service45;
22
+ const instances = yield* Service59;
23
23
  yield* Effect.gen(function* () {
24
24
  yield* awaitActivation2;
25
- const commands = yield* Service60;
25
+ const commands = yield* Service65;
26
26
  yield* commands.execute({
27
27
  name: input.command,
28
28
  invocation: {
@@ -1,117 +1,117 @@
1
- import {
2
- Service90,
3
- node93
4
- } from "./shell-2zhyc09s.js";
5
1
  import {
6
2
  Service89,
7
3
  node92
8
- } from "./shell-4n04qkt5.js";
4
+ } from "./command-4pefe19r.js";
5
+ import {
6
+ Service88,
7
+ node91
8
+ } from "./command-ap7w36b6.js";
9
9
  import {
10
10
  SessionMessage2
11
- } from "./shell-gftt206x.js";
11
+ } from "./command-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./shell-ss09eh5m.js";
14
+ } from "./command-s4kyhetj.js";
15
15
  import {
16
16
  SessionEvent2
17
- } from "./shell-ec1grn59.js";
17
+ } from "./command-ec1grn59.js";
18
18
  import {
19
19
  SessionMessageTable2
20
- } from "./shell-mb7mbhnz.js";
20
+ } from "./command-8z6m94af.js";
21
21
  import {
22
22
  prepare4
23
- } from "./shell-6d0d1q6g.js";
23
+ } from "./command-zw5s2a2z.js";
24
24
  import {
25
25
  decodeMessageRow2,
26
26
  preview2
27
- } from "./shell-5wa3g67q.js";
27
+ } from "./command-j7fgn957.js";
28
28
  import {
29
- Service57,
30
- node58
31
- } from "./shell-x64jffdk.js";
29
+ Service70,
30
+ node73
31
+ } from "./command-wjkfvcx3.js";
32
32
  import {
33
- Service72,
34
- node74
35
- } from "./shell-gn6qas9s.js";
33
+ Service73,
34
+ node76
35
+ } from "./command-r2jsee34.js";
36
36
  import {
37
- Service18,
38
- node20
39
- } from "./shell-9pmmtcn7.js";
37
+ Service22,
38
+ node25
39
+ } from "./command-wp9qxkj5.js";
40
40
  import {
41
41
  llmClient2
42
- } from "./shell-0ma9gw4f.js";
42
+ } from "./command-0ma9gw4f.js";
43
43
  import {
44
44
  toSessionError2
45
- } from "./shell-0kfn2p10.js";
45
+ } from "./command-5gxhv5t4.js";
46
46
  import {
47
- Service35,
48
- node39
49
- } from "./shell-4pk3sz26.js";
47
+ Service39,
48
+ node43
49
+ } from "./command-4034feyd.js";
50
50
  import {
51
51
  baseTranscript2
52
- } from "./shell-xj160ydj.js";
52
+ } from "./command-vxsh6985.js";
53
53
  import {
54
54
  make20
55
- } from "./shell-qw2t3dzn.js";
55
+ } from "./command-qw2t3dzn.js";
56
56
  import {
57
57
  Service9,
58
58
  node11,
59
59
  estimatePrompt2
60
- } from "./shell-z5rnbz19.js";
60
+ } from "./command-4sq52vjb.js";
61
61
  import {
62
- node80
63
- } from "./shell-qn178psk.js";
62
+ node55
63
+ } from "./command-crsbatbp.js";
64
64
  import {
65
- Service28,
66
- node31
67
- } from "./shell-kmee7t05.js";
65
+ Service33,
66
+ node37
67
+ } from "./command-sgfm45rn.js";
68
68
  import {
69
69
  serialized2,
70
70
  nextPromotable2,
71
71
  has2,
72
72
  promote2
73
- } from "./shell-cbzdy2pv.js";
73
+ } from "./command-8ktngwzh.js";
74
74
  import {
75
75
  outstanding2
76
- } from "./shell-qqvy8y24.js";
76
+ } from "./command-qqvy8y24.js";
77
77
  import {
78
- Service46,
79
- node48
80
- } from "./shell-m7sxgjj7.js";
78
+ Service60,
79
+ node62
80
+ } from "./command-6sd197cc.js";
81
81
  import {
82
- Service8,
82
+ Service10,
83
83
  isUntitled2,
84
- node10
85
- } from "./shell-51fa9ecf.js";
84
+ node12
85
+ } from "./command-yjw0tny1.js";
86
86
  import {
87
87
  DrainResult2,
88
- Service43
89
- } from "./shell-yqveydy6.js";
88
+ Service57
89
+ } from "./command-2m2g9ynh.js";
90
90
  import {
91
- node44
92
- } from "./shell-4za8zkf9.js";
91
+ node58
92
+ } from "./command-mj9h3nv3.js";
93
93
  import {
94
94
  Outcome2,
95
95
  make19
96
- } from "./shell-bzeh9fff.js";
96
+ } from "./command-hqvy1seb.js";
97
97
  import {
98
- Service36
99
- } from "./shell-7yv5xa0k.js";
98
+ Service40
99
+ } from "./command-z355x5yr.js";
100
100
  import {
101
- node25
102
- } from "./shell-ehmfb7qh.js";
101
+ node17
102
+ } from "./command-q36xmy8v.js";
103
103
  import {
104
104
  MAX_STEPS_PROMPT2
105
- } from "./shell-y44na4kk.js";
105
+ } from "./command-y44na4kk.js";
106
106
  import {
107
107
  __export
108
- } from "./shell-9rqn6x4v.js";
108
+ } from "./command-9rqn6x4v.js";
109
109
 
110
110
  // src/session/runner/llm.ts
111
111
  var exports_llm = {};
112
112
  __export(exports_llm, {
113
113
  SessionRunnerLLM: () => exports_llm,
114
- node: () => node8
114
+ node: () => node10
115
115
  });
116
116
  import { Message } from "@opencode/ai/effect";
117
117
  import { and, desc, eq, inArray, sql } from "drizzle-orm";
@@ -119,18 +119,18 @@ import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
119
119
  import { makeLocationNode } from "@opencode/util/effect/app-node";
120
120
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
121
121
  var CONTINUE_AFTER_OUTPUT_LIMIT = "Your last response hit the output token limit (stop reason: length). Do not apologize, recap, or repeat yourself. Break the remaining work into smaller pieces.";
122
- var layer = Layer.effect(Service43, Effect.gen(function* () {
123
- const bus = yield* Service89;
124
- const lifecycle = yield* Service18;
125
- const store = yield* Service57;
126
- const context = yield* Service28;
127
- const modelTransport = yield* Service35;
128
- const db = (yield* Service90).db;
122
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
123
+ const bus = yield* Service88;
124
+ const lifecycle = yield* Service22;
125
+ const store = yield* Service70;
126
+ const context = yield* Service33;
127
+ const modelTransport = yield* Service39;
128
+ const db = (yield* Service89).db;
129
129
  const compaction = yield* Service9;
130
- const plugins = yield* Service36;
131
- const hooks = yield* Service72;
132
- const jobs = yield* Service46;
133
- const title = yield* Service8;
130
+ const plugins = yield* Service40;
131
+ const hooks = yield* Service73;
132
+ const jobs = yield* Service60;
133
+ const title = yield* Service10;
134
134
  const steps = yield* make19;
135
135
  const titles = yield* FiberMap.make();
136
136
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
@@ -417,27 +417,27 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
417
417
  }
418
418
  }
419
419
  });
420
- return Service43.of({ drain });
420
+ return Service57.of({ drain });
421
421
  }));
422
- var node8 = makeLocationNode({
423
- service: Service43,
422
+ var node10 = makeLocationNode({
423
+ service: Service57,
424
424
  layer,
425
425
  deps: [
426
- node92,
427
- node20,
426
+ node91,
427
+ node25,
428
428
  llmClient2,
429
- node31,
430
- node39,
431
- node58,
429
+ node37,
430
+ node43,
431
+ node73,
432
432
  node11,
433
- node25,
434
- node74,
435
- node48,
436
- node10,
437
- node44,
438
- node80,
439
- node93
433
+ node17,
434
+ node76,
435
+ node62,
436
+ node12,
437
+ node58,
438
+ node55,
439
+ node92
440
440
  ]
441
441
  });
442
442
 
443
- export { node8, exports_llm };
443
+ export { node10, exports_llm };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  openaiFailedResponseHandler2
3
- } from "./shell-550bvhaj.js";
3
+ } from "./command-550bvhaj.js";
4
4
  import {
5
5
  convertToOpenAIResponsesInput2
6
- } from "./shell-j5zkgpj8.js";
6
+ } from "./command-j5zkgpj8.js";
7
7
  import {
8
8
  mapOpenAIResponseFinishReason2
9
- } from "./shell-3asan66x.js";
9
+ } from "./command-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./shell-7r0r50e5.js";
12
+ } from "./command-5nrew705.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./shell-qfa1cgps.js";
3
+ } from "./command-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -2,24 +2,24 @@ import {
2
2
  ID17,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./shell-zqgpx8ma.js";
5
+ } from "./command-6e15hyzb.js";
6
6
  import {
7
- ID15,
7
+ ID16,
8
8
  VariantID2,
9
9
  Family2,
10
- Info23
11
- } from "./shell-drzej0yw.js";
10
+ Info24
11
+ } from "./command-m3vwtq97.js";
12
12
  import {
13
13
  __export
14
- } from "./shell-9rqn6x4v.js";
14
+ } from "./command-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models = {};
18
- __export(exports_models, {
19
- CopilotModels: () => exports_models,
20
- derive: () => derive2,
21
- get: () => get2,
22
- load: () => load4
17
+ var exports_models2 = {};
18
+ __export(exports_models2, {
19
+ CopilotModels: () => exports_models2,
20
+ derive: () => derive3,
21
+ get: () => get3,
22
+ load: () => load5
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Effect, Option, Schema } from "effect";
@@ -68,17 +68,17 @@ var RemoteModel = Schema.Struct({
68
68
  });
69
69
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- function get2(http, baseURL, headers, existing) {
72
- return load4(http, baseURL, headers).pipe(Effect.map((remote) => derive2(baseURL, remote, existing)));
71
+ function get3(http, baseURL, headers, existing) {
72
+ return load5(http, baseURL, headers).pipe(Effect.map((remote) => derive3(baseURL, remote, existing)));
73
73
  }
74
- var load4 = Effect.fn("CopilotModels.load")(function* (http, baseURL, headers) {
74
+ var load5 = Effect.fn("CopilotModels.load")(function* (http, baseURL, headers) {
75
75
  const response = yield* HttpClient.filterStatusOk(http).execute(HttpClientRequest.get(`${baseURL}/models`).pipe(HttpClientRequest.setHeaders(headers))).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Response)), Effect.timeout("5 seconds"));
76
76
  return new Map(response.data.flatMap((raw) => {
77
77
  const model = Option.getOrUndefined(decodeModel(raw));
78
78
  return model && usable(model) ? [[model.id, model]] : [];
79
79
  }));
80
80
  });
81
- function derive2(baseURL, remote, existing) {
81
+ function derive3(baseURL, remote, existing) {
82
82
  const result = new Map(existing.map((model) => [model.id, model]));
83
83
  for (const [id, model] of result) {
84
84
  const current = remote.get(model.modelID);
@@ -89,7 +89,7 @@ function derive2(baseURL, remote, existing) {
89
89
  result.set(id, build(id, current, baseURL, model));
90
90
  }
91
91
  for (const [id, model] of remote) {
92
- const key = ID15.make(id);
92
+ const key = ID16.make(id);
93
93
  if (result.has(key))
94
94
  continue;
95
95
  result.set(key, build(key, model, baseURL));
@@ -113,10 +113,10 @@ function build(id, remote, baseURL, previous) {
113
113
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
114
114
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
115
115
  const released = previous?.time.released || Date.parse(version);
116
- return Info23.make({
117
- ...Info23.default(ID17.githubCopilot, id),
116
+ return Info24.make({
117
+ ...Info24.default(ID17.githubCopilot, id),
118
118
  id,
119
- modelID: ID15.make(remote.id),
119
+ modelID: ID16.make(remote.id),
120
120
  providerID: ID17.githubCopilot,
121
121
  family: previous?.family ?? Family2.make(remote.capabilities.family),
122
122
  name: previous?.name ?? remote.name,
@@ -192,4 +192,4 @@ function variants(remote, messages) {
192
192
  ];
193
193
  }
194
194
 
195
- export { get2, load4, derive2, exports_models };
195
+ export { get3, load5, derive3, exports_models2 };
@@ -1,34 +1,34 @@
1
- import {
2
- Service90,
3
- node93
4
- } from "./shell-2zhyc09s.js";
5
1
  import {
6
2
  Service89,
7
3
  node92
8
- } from "./shell-4n04qkt5.js";
4
+ } from "./command-4pefe19r.js";
5
+ import {
6
+ Service88,
7
+ node91
8
+ } from "./command-ap7w36b6.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./shell-pknna89w.js";
11
+ } from "./command-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./shell-m1714858.js";
14
+ } from "./command-m1714858.js";
15
15
  import {
16
16
  __export
17
- } from "./shell-9rqn6x4v.js";
17
+ } from "./command-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event20,
23
+ Event: () => Event18,
24
24
  External: () => External2,
25
- ID: () => ID20,
26
- Info: () => Info29,
25
+ ID: () => ID19,
26
+ Info: () => Info28,
27
27
  Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service85,
29
+ Service: () => Service82,
30
30
  Value: () => Value2,
31
- node: () => node88
31
+ node: () => node85
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Fiber, Layer, Schema } from "effect";
@@ -37,26 +37,26 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
37
37
  import { Integration } from "@opencode/schema/integration";
38
38
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
39
39
  import { EffectFlock } from "@opencode/util/effect-flock";
40
- var ID20 = Credential.ID;
40
+ var ID19 = Credential.ID;
41
41
  var OAuth3 = Credential.OAuth;
42
42
  var Key4 = Credential.Key;
43
43
  var External2 = Credential.External;
44
44
  var Value2 = Credential.Value;
45
- var Event20 = Credential.Event;
45
+ var Event18 = Credential.Event;
46
46
 
47
- class Info29 extends Schema.Class("Credential.Info")({
48
- id: ID20,
47
+ class Info28 extends Schema.Class("Credential.Info")({
48
+ id: ID19,
49
49
  integrationID: Integration.ID,
50
50
  label: Schema.String,
51
51
  value: Value2
52
52
  }) {
53
53
  }
54
54
 
55
- class Service85 extends Context.Service()("@opencode/Credential") {
55
+ class Service82 extends Context.Service()("@opencode/Credential") {
56
56
  }
57
- var layer = Layer.effect(Service85, Effect.gen(function* () {
58
- const db = (yield* Service90).db;
59
- const bus = yield* Service89;
57
+ var layer = Layer.effect(Service82, Effect.gen(function* () {
58
+ const db = (yield* Service89).db;
59
+ const bus = yield* Service88;
60
60
  const flock = yield* EffectFlock.Service;
61
61
  const scope = yield* Effect.scope;
62
62
  const pending = new Map;
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
64
64
  const stored = (row) => {
65
65
  if (!row.integration_id)
66
66
  return;
67
- return new Info29({
67
+ return new Info28({
68
68
  id: row.id,
69
69
  integrationID: row.integration_id,
70
70
  label: row.label,
@@ -75,7 +75,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
75
75
  const credential = stored(row);
76
76
  return credential ? [credential] : [];
77
77
  });
78
- return Service85.of({
78
+ return Service82.of({
79
79
  lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
80
80
  const current = pending.get(id);
81
81
  if (current)
@@ -91,8 +91,8 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
91
91
  return row ? stored(row) : undefined;
92
92
  }),
93
93
  create: Effect.fn("Credential.create")(function* (input) {
94
- const credential = new Info29({
95
- id: input.id ?? ID20.create(),
94
+ const credential = new Info28({
95
+ id: input.id ?? ID19.create(),
96
96
  integrationID: input.integrationID,
97
97
  label: input.label ?? "default",
98
98
  value: input.value
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
123
123
  type: credential.value.type,
124
124
  active: activated
125
125
  });
126
- yield* bus.publish(Event20.Updated, {}, { global: true });
126
+ yield* bus.publish(Event18.Updated, {}, { global: true });
127
127
  if (activated)
128
- yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
128
+ yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
129
129
  return credential;
130
130
  }),
131
131
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
145
145
  })), Effect.orDie);
146
146
  if (integrationID) {
147
147
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
148
- yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
148
+ yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
149
149
  }
150
150
  }),
151
151
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -177,7 +177,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
177
177
  labelChanged: updates.label !== undefined && updates.label !== credential.label
178
178
  });
179
179
  if (updates.label !== undefined && updates.label !== credential.label)
180
- yield* bus.publish(Event20.Updated, {}, { global: true });
180
+ yield* bus.publish(Event18.Updated, {}, { global: true });
181
181
  }),
182
182
  remove: Effect.fn("Credential.remove")(function* (id) {
183
183
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -210,12 +210,12 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
210
210
  active: removed.switched,
211
211
  ...removed.switched ? { replacementID: removed.credentialID } : {}
212
212
  });
213
- yield* bus.publish(Event20.Updated, {}, { global: true });
213
+ yield* bus.publish(Event18.Updated, {}, { global: true });
214
214
  if (removed.switched)
215
- yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
215
+ yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
216
216
  })
217
217
  });
218
218
  }));
219
- var node88 = makeGlobalNode({ service: Service85, layer, deps: [node93, node92, EffectFlock.node] });
219
+ var node85 = makeGlobalNode({ service: Service82, layer, deps: [node92, node91, EffectFlock.node] });
220
220
 
221
- export { ID20, OAuth3, Key4, External2, Value2, Event20, Info29, Service85, node88, exports_credential };
221
+ export { ID19, OAuth3, Key4, External2, Value2, Event18, Info28, Service82, node85, exports_credential };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./shell-emrn6kk6.js";
3
+ } from "./command-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./shell-fb1j3qsp.js";
6
+ } from "./command-3325mep2.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./shell-wf4k3nrk.js";
9
+ } from "./command-acsz68z7.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";