@opencode/core 0.0.0-dev-449 → 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 (921) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +86 -86
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +7 -7
  6. package/dist/artifact.js +242 -242
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{file-retention-rdj0vc1c.js → command-040mzty7.js} +16 -16
  9. package/dist/chunks/{file-retention-0j7gp832.js → command-0j7gp832.js} +1 -1
  10. package/dist/chunks/{file-retention-z8w58q3b.js → command-0m2hpscf.js} +4 -4
  11. package/dist/chunks/{file-retention-0ma9gw4f.js → command-0ma9gw4f.js} +2 -2
  12. package/dist/chunks/{file-retention-3q6fzyrv.js → command-0wk4arae.js} +15 -15
  13. package/dist/chunks/{file-retention-aedrg0ge.js → command-112p5x9p.js} +24 -24
  14. package/dist/chunks/{file-retention-fx5dbny4.js → command-12g9ep21.js} +5 -5
  15. package/dist/chunks/{file-retention-p9nz32sq.js → command-1a7qmzy6.js} +21 -21
  16. package/dist/chunks/{file-retention-1aqsckx4.js → command-1aqsckx4.js} +1 -1
  17. package/dist/chunks/{file-retention-50hftrwd.js → command-1b1fgn2c.js} +7 -7
  18. package/dist/chunks/{file-retention-2czx47z2.js → command-1fjqwg4j.js} +59 -59
  19. package/dist/chunks/{file-retention-tz3w010n.js → command-1t7pz1nk.js} +16 -16
  20. package/dist/chunks/{file-retention-1x2knyw4.js → command-1x2knyw4.js} +1 -1
  21. package/dist/chunks/{file-retention-1yq9hg58.js → command-1yq9hg58.js} +1 -1
  22. package/dist/chunks/{file-retention-m7ykyrbv.js → command-266c1h5y.js} +18 -18
  23. package/dist/chunks/{file-retention-hkh70t29.js → command-26sg6z04.js} +8 -8
  24. package/dist/chunks/{file-retention-1ep2p91f.js → command-27w5k9zf.js} +2 -2
  25. package/dist/chunks/{file-retention-605b6zwb.js → command-289dd89z.js} +12 -12
  26. package/dist/chunks/{file-retention-a1d98dpx.js → command-28d0291v.js} +37 -37
  27. package/dist/chunks/{file-retention-c2gmg5r9.js → command-28q9vvsb.js} +9 -9
  28. package/dist/chunks/{file-retention-v0t96s7a.js → command-2kg89srt.js} +4 -4
  29. package/dist/chunks/{file-retention-qkc3z5ds.js → command-2m2g9ynh.js} +4 -4
  30. package/dist/chunks/{file-retention-emaa4905.js → command-2tetecd9.js} +14 -14
  31. package/dist/chunks/{file-retention-qja0360d.js → command-2wwcsj3x.js} +5 -5
  32. package/dist/chunks/{file-retention-62ngxq4c.js → command-302t0y3a.js} +17 -17
  33. package/dist/chunks/{file-retention-13k30xes.js → command-3325mep2.js} +7 -7
  34. package/dist/chunks/{file-retention-390xskpw.js → command-390xskpw.js} +1 -1
  35. package/dist/chunks/{file-retention-w0rkd9p8.js → command-3bbtnch6.js} +35 -35
  36. package/dist/chunks/{file-retention-ayjs7tqn.js → command-3cbjf1nt.js} +2 -2
  37. package/dist/chunks/{file-retention-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{file-retention-3nnrz6f6.js → command-3nnrz6f6.js} +1 -1
  39. package/dist/chunks/{file-retention-j7qy0s5h.js → command-3v6tj8d3.js} +14 -14
  40. package/dist/chunks/{file-retention-6n8q8wse.js → command-4034feyd.js} +11 -11
  41. package/dist/chunks/{file-retention-40y6dtc2.js → command-40y6dtc2.js} +1 -1
  42. package/dist/chunks/{file-retention-kzxm184s.js → command-467b3p22.js} +13 -13
  43. package/dist/chunks/{file-retention-9mt9fcpt.js → command-4ag3733q.js} +30 -30
  44. package/dist/chunks/{file-retention-0smjzhyp.js → command-4cr9jw6n.js} +3 -3
  45. package/dist/chunks/{file-retention-4dx1dgte.js → command-4dx1dgte.js} +1 -1
  46. package/dist/chunks/{file-retention-4f25tdd0.js → command-4f25tdd0.js} +1 -1
  47. package/dist/chunks/{file-retention-ztvrq7gb.js → command-4fxzkjd3.js} +12 -12
  48. package/dist/chunks/{file-retention-3th5y0xn.js → command-4g9b4p6m.js} +41 -41
  49. package/dist/chunks/{file-retention-f30y5q5n.js → command-4gfkesf9.js} +11 -11
  50. package/dist/chunks/{file-retention-wzp3mys1.js → command-4pefe19r.js} +11 -11
  51. package/dist/chunks/{file-retention-4pyp9zr9.js → command-4pyp9zr9.js} +1 -1
  52. package/dist/chunks/{file-retention-db2v7vv4.js → command-4sq52vjb.js} +42 -42
  53. package/dist/chunks/{file-retention-6bacesmw.js → command-4tf5hgjt.js} +32 -32
  54. package/dist/chunks/{file-retention-4v008n1t.js → command-4v008n1t.js} +1 -1
  55. package/dist/chunks/{file-retention-hecddnr3.js → command-56yhydrj.js} +3 -3
  56. package/dist/chunks/{file-retention-40za9wsf.js → command-5enarcya.js} +6 -6
  57. package/dist/chunks/{file-retention-v5yvcr0w.js → command-5gxhv5t4.js} +5 -5
  58. package/dist/chunks/{file-retention-5m9w47nd.js → command-5m9w47nd.js} +1 -1
  59. package/dist/chunks/{file-retention-5nnwax6m.js → command-5nnwax6m.js} +2 -2
  60. package/dist/chunks/{file-retention-1nwxscpy.js → command-5nrew705.js} +5 -5
  61. package/dist/chunks/{file-retention-gve1ghrf.js → command-5q8vf2h9.js} +2 -2
  62. package/dist/chunks/{file-retention-3rjt9f5s.js → command-5zbs2fep.js} +29 -29
  63. package/dist/chunks/{file-retention-vcjsbe3m.js → command-66fewe6v.js} +80 -80
  64. package/dist/chunks/{file-retention-gxahm4xg.js → command-6cd3ncdx.js} +5 -5
  65. package/dist/chunks/{file-retention-qfbjs7tc.js → command-6e15hyzb.js} +30 -30
  66. package/dist/chunks/{file-retention-y4f0c2re.js → command-6f40yt45.js} +11 -11
  67. package/dist/chunks/{file-retention-dvt58bph.js → command-6rehztjd.js} +11 -11
  68. package/dist/chunks/{file-retention-1ss1y6bx.js → command-6sd197cc.js} +17 -17
  69. package/dist/chunks/{file-retention-yydqqga9.js → command-6ss6ngz0.js} +4 -4
  70. package/dist/chunks/{file-retention-z9ersv62.js → command-6sxf2mfa.js} +6 -6
  71. package/dist/chunks/{file-retention-6nkv0fkw.js → command-6w959vfg.js} +11 -11
  72. package/dist/chunks/{file-retention-q85rya1m.js → command-7215dbqr.js} +6 -6
  73. package/dist/chunks/{file-retention-539dw32x.js → command-75q1s5an.js} +4 -4
  74. package/dist/chunks/{file-retention-76cb1hcw.js → command-76cb1hcw.js} +1 -1
  75. package/dist/chunks/{file-retention-775hqbnd.js → command-775hqbnd.js} +3 -3
  76. package/dist/chunks/{file-retention-8f42kaey.js → command-797jymej.js} +13 -13
  77. package/dist/chunks/{file-retention-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{file-retention-acpwnfxs.js → command-7fzp8zae.js} +11 -11
  79. package/dist/chunks/{file-retention-7kr66rt3.js → command-7kr66rt3.js} +1 -1
  80. package/dist/chunks/{file-retention-nyxfy9wj.js → command-7ppvtjhd.js} +12 -12
  81. package/dist/chunks/{file-retention-ztz48n3d.js → command-7q0kkz2h.js} +8 -8
  82. package/dist/chunks/{file-retention-7w2ypzdf.js → command-7w2ypzdf.js} +1 -1
  83. package/dist/chunks/{file-retention-7weczvnd.js → command-7weczvnd.js} +1 -1
  84. package/dist/chunks/{file-retention-cse8gxc3.js → command-7xz196dn.js} +6 -6
  85. package/dist/chunks/{file-retention-89287pr7.js → command-89287pr7.js} +1 -1
  86. package/dist/chunks/{file-retention-8b3vzgkx.js → command-8b3vzgkx.js} +1 -1
  87. package/dist/chunks/{file-retention-4d2dtj2f.js → command-8cg7mtm3.js} +4 -4
  88. package/dist/chunks/{file-retention-ccp6j38y.js → command-8hfmqq8w.js} +8 -8
  89. package/dist/chunks/{file-retention-s3ccn36m.js → command-8ktngwzh.js} +21 -21
  90. package/dist/chunks/{file-retention-8wtp7s3z.js → command-8wtp7s3z.js} +1 -1
  91. package/dist/chunks/{file-retention-rt5qjrvj.js → command-8xz27cp9.js} +4 -4
  92. package/dist/chunks/{file-retention-mb7mbhnz.js → command-8z6m94af.js} +3 -3
  93. package/dist/chunks/{file-retention-anvcme1c.js → command-90ct6wq4.js} +4 -4
  94. package/dist/chunks/{file-retention-90zstvax.js → command-90zstvax.js} +1 -1
  95. package/dist/chunks/{file-retention-96djdqw5.js → command-96djdqw5.js} +4 -4
  96. package/dist/chunks/{file-retention-gbyaw8gf.js → command-98h4mwq7.js} +14 -14
  97. package/dist/chunks/{file-retention-b924sz3m.js → command-98hszmvx.js} +5 -5
  98. package/dist/chunks/{file-retention-8xxrj23x.js → command-9cv7cw0n.js} +15 -15
  99. package/dist/chunks/{file-retention-v6sdsd1y.js → command-9dea7wbw.js} +2 -2
  100. package/dist/chunks/{file-retention-me8mm9z9.js → command-9k6nqw7x.js} +51 -51
  101. package/dist/chunks/{file-retention-8zh1h1pe.js → command-9n68tmyf.js} +5 -5
  102. package/dist/chunks/{file-retention-kdcv3xak.js → command-a1jg1vcd.js} +17 -17
  103. package/dist/chunks/{file-retention-75ax6x68.js → command-a2gahn4b.js} +6 -6
  104. package/dist/chunks/{file-retention-3j68zxqn.js → command-a4v3wsmw.js} +9 -9
  105. package/dist/chunks/{file-retention-64eehrrp.js → command-a84pm7qp.js} +8 -8
  106. package/dist/chunks/{file-retention-3dpbtckw.js → command-acsz68z7.js} +1 -1
  107. package/dist/chunks/{file-retention-pb6wsrs5.js → command-adapf27x.js} +4 -4
  108. package/dist/chunks/{file-retention-r17fbvme.js → command-aenn6vam.js} +5 -5
  109. package/dist/chunks/{file-retention-z5s1hzbx.js → command-ag68y7y1.js} +24 -24
  110. package/dist/chunks/{file-retention-yx1z8yqh.js → command-ahw9krkn.js} +31 -31
  111. package/dist/chunks/{file-retention-034tev2y.js → command-aj7mw0zk.js} +2 -2
  112. package/dist/chunks/{file-retention-p9gybnkz.js → command-ajjm4dtx.js} +11 -11
  113. package/dist/chunks/{file-retention-yk7egwn6.js → command-ajv23y1e.js} +46 -46
  114. package/dist/chunks/{file-retention-bt4213zy.js → command-amadrth6.js} +10 -10
  115. package/dist/chunks/{file-retention-3whc36fx.js → command-ap7w36b6.js} +8 -8
  116. package/dist/chunks/{file-retention-0n6d4kn5.js → command-axd1rwaf.js} +21 -21
  117. package/dist/chunks/{file-retention-gmdj38bx.js → command-b8gtv96y.js} +10 -10
  118. package/dist/chunks/{file-retention-txjcpmgd.js → command-bjr4tvbr.js} +6 -6
  119. package/dist/chunks/{file-retention-p55ejza0.js → command-bnzx9dwt.js} +5 -5
  120. package/dist/chunks/{file-retention-bstexjd6.js → command-bstexjd6.js} +1 -1
  121. package/dist/chunks/{file-retention-yc2h06fb.js → command-c55jkhec.js} +16 -16
  122. package/dist/chunks/{file-retention-px7qpgcn.js → command-c5zvymhv.js} +4 -4
  123. package/dist/chunks/{file-retention-a95pzf1x.js → command-caxtd6xe.js} +38 -38
  124. package/dist/chunks/{file-retention-cn4qtwde.js → command-ckev4zzb.js} +35 -35
  125. package/dist/chunks/{file-retention-gr24kjxn.js → command-cmrdg35n.js} +5 -5
  126. package/dist/chunks/{file-retention-whgw2pzj.js → command-cqbn3g43.js} +31 -31
  127. package/dist/chunks/{file-retention-f2j6m0ac.js → command-cqdj8zma.js} +16 -16
  128. package/dist/chunks/{file-retention-m7sx3bgz.js → command-crsbatbp.js} +11 -11
  129. package/dist/chunks/{file-retention-cwrgdav8.js → command-cwrgdav8.js} +2 -2
  130. package/dist/chunks/{file-retention-6mzz8e2v.js → command-czy387n2.js} +34 -34
  131. package/dist/chunks/{file-retention-n56yhxz0.js → command-d0p9h96d.js} +17 -17
  132. package/dist/chunks/{file-retention-31avdb49.js → command-d390zwf3.js} +8 -8
  133. package/dist/chunks/{file-retention-rt5m8xq2.js → command-d4abdmzn.js} +15 -15
  134. package/dist/chunks/{file-retention-d4v9tmah.js → command-d4v9tmah.js} +2 -2
  135. package/dist/chunks/{file-retention-n87deehv.js → command-d7x2s5pv.js} +4 -4
  136. package/dist/chunks/{file-retention-dt77769w.js → command-dt77769w.js} +1 -1
  137. package/dist/chunks/{file-retention-ranh0xe7.js → command-dypb56j1.js} +4 -4
  138. package/dist/chunks/{file-retention-kx4857fp.js → command-dzdrzhkt.js} +25 -25
  139. package/dist/chunks/{file-retention-e834z07m.js → command-e834z07m.js} +1 -1
  140. package/dist/chunks/{file-retention-xzb1rrrv.js → command-eebq73da.js} +18 -18
  141. package/dist/chunks/{file-retention-fwwnnvpx.js → command-enq2s1fc.js} +12 -12
  142. package/dist/chunks/{file-retention-eqw4pqj1.js → command-eqw4pqj1.js} +2 -2
  143. package/dist/chunks/{file-retention-497brhdq.js → command-exw3n246.js} +8 -8
  144. package/dist/chunks/{file-retention-yszbb02h.js → command-f163p87t.js} +11 -11
  145. package/dist/chunks/{file-retention-7vk0t554.js → command-f1qx1v58.js} +9 -9
  146. package/dist/chunks/{file-retention-6ma7pn4v.js → command-f8bbmp6a.js} +10 -10
  147. package/dist/chunks/{file-retention-at1c8yrs.js → command-fdegceef.js} +31 -31
  148. package/dist/chunks/{file-retention-fffv3p7h.js → command-fffv3p7h.js} +1 -1
  149. package/dist/chunks/{file-retention-fg9p65nk.js → command-fg9p65nk.js} +2 -2
  150. package/dist/chunks/{file-retention-pfb54thj.js → command-fhtgvnfh.js} +9 -9
  151. package/dist/chunks/{file-retention-61c892db.js → command-fkr8t5yr.js} +1 -1
  152. package/dist/chunks/{file-retention-4cqst6fr.js → command-fq4mbxwp.js} +5 -5
  153. package/dist/chunks/{file-retention-f7kqgmxs.js → command-frktwh14.js} +7 -7
  154. package/dist/chunks/command-g1r9ysfg.js +555 -0
  155. package/dist/chunks/{file-retention-9dwnyty3.js → command-g2m4kvc9.js} +11 -11
  156. package/dist/chunks/{file-retention-et16066w.js → command-g3jajyb4.js} +20 -20
  157. package/dist/chunks/{file-retention-0tsw2pcx.js → command-ga0jqm62.js} +43 -43
  158. package/dist/chunks/{file-retention-f32h92jn.js → command-ga5t9aga.js} +47 -47
  159. package/dist/chunks/{file-retention-8gc7e869.js → command-gbg10xz8.js} +18 -18
  160. package/dist/chunks/{file-retention-gbjdnr5j.js → command-gbjdnr5j.js} +2 -2
  161. package/dist/chunks/{file-retention-cgy1nctk.js → command-gctjzyr1.js} +11 -11
  162. package/dist/chunks/{file-retention-qzdnvnff.js → command-ggn31dpb.js} +8 -8
  163. package/dist/chunks/{file-retention-89rb9xh3.js → command-gmg5z9db.js} +22 -22
  164. package/dist/chunks/{file-retention-7kjy5yhf.js → command-gshsjqyk.js} +9 -9
  165. package/dist/chunks/{file-retention-gxs71cxp.js → command-gxs71cxp.js} +1 -1
  166. package/dist/chunks/{file-retention-tq5makbn.js → command-gzayeng8.js} +27 -27
  167. package/dist/chunks/{file-retention-z4qfpq4d.js → command-gzpgqmvb.js} +21 -21
  168. package/dist/chunks/{file-retention-mr07ez2r.js → command-h5gjn4y2.js} +5 -5
  169. package/dist/chunks/{file-retention-60m2sppj.js → command-h89yaxmp.js} +14 -14
  170. package/dist/chunks/{file-retention-ctmpqb7w.js → command-h91vm5r2.js} +9 -9
  171. package/dist/chunks/{file-retention-5zgc43gz.js → command-hdjjdvc3.js} +17 -17
  172. package/dist/chunks/{file-retention-3tfpa1a4.js → command-hk1h1qy2.js} +24 -24
  173. package/dist/chunks/{file-retention-8qcax5vp.js → command-hk4d0qev.js} +23 -23
  174. package/dist/chunks/{file-retention-hpg1pkwy.js → command-hpg1pkwy.js} +1 -1
  175. package/dist/chunks/{file-retention-x8yhzycg.js → command-hqv8ds23.js} +9 -9
  176. package/dist/chunks/{file-retention-6qj6ge7d.js → command-hqvy1seb.js} +20 -20
  177. package/dist/chunks/{file-retention-4awjamkd.js → command-hretfjjx.js} +2 -2
  178. package/dist/chunks/{file-retention-wx1v6zv9.js → command-hszgmwg9.js} +12 -12
  179. package/dist/chunks/{file-retention-txt9e0aq.js → command-htyjw1t2.js} +180 -180
  180. package/dist/chunks/{file-retention-pzkzmzjr.js → command-j16gqe8n.js} +46 -46
  181. package/dist/chunks/{file-retention-j376ae4e.js → command-j376ae4e.js} +1 -1
  182. package/dist/chunks/{file-retention-j3f8hyeg.js → command-j3f8hyeg.js} +1 -1
  183. package/dist/chunks/{file-retention-ccvcfenq.js → command-j5fr71ge.js} +4 -4
  184. package/dist/chunks/{file-retention-h5mecdsr.js → command-j6942x1g.js} +16 -16
  185. package/dist/chunks/{file-retention-ae862rdn.js → command-j7fgn957.js} +9 -9
  186. package/dist/chunks/{file-retention-j9nxzz3g.js → command-j9nxzz3g.js} +3 -3
  187. package/dist/chunks/{file-retention-a5e6ddn4.js → command-je2j8er4.js} +31 -31
  188. package/dist/chunks/{file-retention-zece804q.js → command-jfn1q9at.js} +13 -13
  189. package/dist/chunks/{file-retention-jkdcm5hg.js → command-jkdcm5hg.js} +1 -1
  190. package/dist/chunks/{file-retention-7th9pvxb.js → command-jktx46qt.js} +28 -28
  191. package/dist/chunks/{file-retention-gvefjbhs.js → command-jp4d7tph.js} +6 -6
  192. package/dist/chunks/{file-retention-vvxtm2dm.js → command-jqp59910.js} +24 -24
  193. package/dist/chunks/{file-retention-jtnps1zs.js → command-jtnps1zs.js} +2 -2
  194. package/dist/chunks/{file-retention-jxd6f16v.js → command-jxd6f16v.js} +2 -2
  195. package/dist/chunks/{file-retention-fyj2mfgy.js → command-k0dmerk5.js} +35 -35
  196. package/dist/chunks/{file-retention-byjg35ec.js → command-k11dcgkf.js} +5 -5
  197. package/dist/chunks/{file-retention-enexbtbh.js → command-k4am5acp.js} +33 -33
  198. package/dist/chunks/{file-retention-0chqk1tf.js → command-k9s4eaab.js} +28 -28
  199. package/dist/chunks/{file-retention-rt7n98jb.js → command-kfynvycx.js} +23 -23
  200. package/dist/chunks/{file-retention-qfz6bxfd.js → command-kj9n5bvh.js} +4 -4
  201. package/dist/chunks/{file-retention-dgdxz5tx.js → command-kmxkyq3p.js} +47 -47
  202. package/dist/chunks/{file-retention-h63ygx1j.js → command-kn3pbsk5.js} +3 -3
  203. package/dist/chunks/{file-retention-4y9qf8ry.js → command-kqtx5w6f.js} +21 -21
  204. package/dist/chunks/{file-retention-kt3bjfbg.js → command-kt3bjfbg.js} +1 -1
  205. package/dist/chunks/{file-retention-kzczzf4v.js → command-kzczzf4v.js} +1 -1
  206. package/dist/chunks/{file-retention-cxab28sr.js → command-kzdam8c6.js} +5 -5
  207. package/dist/chunks/{file-retention-m1714858.js → command-m1714858.js} +1 -1
  208. package/dist/chunks/{file-retention-cjgsn2s6.js → command-m35sj09n.js} +12 -12
  209. package/dist/chunks/{file-retention-n2pc7kwe.js → command-m3vwtq97.js} +32 -32
  210. package/dist/chunks/{file-retention-ys7rp9j6.js → command-m9168d7w.js} +7 -7
  211. package/dist/chunks/{file-retention-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  212. package/dist/chunks/command-mary8sqy.js +261 -0
  213. package/dist/chunks/{file-retention-26tkb14f.js → command-mdwaa3r0.js} +11 -11
  214. package/dist/chunks/{file-retention-35hcamnh.js → command-mgvy0xnk.js} +21 -21
  215. package/dist/chunks/{file-retention-djp2yf7t.js → command-mj9h3nv3.js} +33 -33
  216. package/dist/chunks/{file-retention-q945z18s.js → command-mnhcj7qf.js} +13 -13
  217. package/dist/chunks/{file-retention-vatt5ny9.js → command-mnpd6dxn.js} +8 -8
  218. package/dist/chunks/{file-retention-hwq2cs9e.js → command-mr41mz10.js} +20 -20
  219. package/dist/chunks/{file-retention-gt12nt52.js → command-n31szky0.js} +15 -15
  220. package/dist/chunks/{file-retention-kpkf4881.js → command-n6198yay.js} +13 -13
  221. package/dist/chunks/{file-retention-vrcsa8qx.js → command-n7bnkb3p.js} +9 -9
  222. package/dist/chunks/{file-retention-dqxhv1nb.js → command-naahght3.js} +21 -21
  223. package/dist/chunks/{file-retention-aakm8s55.js → command-nff5fnx5.js} +32 -32
  224. package/dist/chunks/{file-retention-kz7xb2xy.js → command-nptrtzfm.js} +7 -7
  225. package/dist/chunks/{file-retention-81hxxa3v.js → command-nv2c5e9q.js} +3 -3
  226. package/dist/chunks/{file-retention-wegkxhrn.js → command-nx4vzyjd.js} +2 -2
  227. package/dist/chunks/{file-retention-wvr8xscb.js → command-nyxvvj5y.js} +4 -4
  228. package/dist/chunks/{file-retention-x8pa5p51.js → command-p4q03rmg.js} +25 -25
  229. package/dist/chunks/{file-retention-sakzxw8a.js → command-pafwnz17.js} +8 -8
  230. package/dist/chunks/{file-retention-34cvy9ct.js → command-pb0zgdvs.js} +21 -21
  231. package/dist/chunks/{file-retention-a0vapen2.js → command-pbnhzd2a.js} +8 -8
  232. package/dist/chunks/{file-retention-8j5rt9k2.js → command-pe5w8f1e.js} +81 -81
  233. package/dist/chunks/{file-retention-yf177qcx.js → command-pemyrp0y.js} +4 -4
  234. package/dist/chunks/{file-retention-pknna89w.js → command-pknna89w.js} +1 -1
  235. package/dist/chunks/{file-retention-237anfc9.js → command-pph0sm0s.js} +11 -11
  236. package/dist/chunks/{file-retention-qs85e3xq.js → command-ptv6adae.js} +31 -31
  237. package/dist/chunks/{file-retention-yxmmjzm7.js → command-q0fawvbg.js} +6 -6
  238. package/dist/chunks/{file-retention-75zng1ge.js → command-q36xmy8v.js} +20 -20
  239. package/dist/chunks/{file-retention-5wwt8jnt.js → command-q3cah92p.js} +7 -7
  240. package/dist/chunks/{file-retention-7dhaefc4.js → command-q4wm190t.js} +20 -20
  241. package/dist/chunks/{file-retention-a3q9dv9j.js → command-q5rwejs6.js} +26 -26
  242. package/dist/chunks/{file-retention-07mz05rb.js → command-q6cg44jg.js} +49 -49
  243. package/dist/chunks/{file-retention-a5fx33f2.js → command-qj27ec1j.js} +6 -6
  244. package/dist/chunks/{file-retention-tykajzt3.js → command-qj7pvvpf.js} +29 -29
  245. package/dist/chunks/{file-retention-qp7r0hxv.js → command-qp7r0hxv.js} +1 -1
  246. package/dist/chunks/{file-retention-tfcvmk9c.js → command-qpjbvmjj.js} +19 -19
  247. package/dist/chunks/{file-retention-qqvy8y24.js → command-qqvy8y24.js} +1 -1
  248. package/dist/chunks/{file-retention-qsdghx1p.js → command-qsdghx1p.js} +1 -1
  249. package/dist/chunks/{file-retention-963hk181.js → command-qw26gbrf.js} +9 -9
  250. package/dist/chunks/{file-retention-qw2t3dzn.js → command-qw2t3dzn.js} +3 -3
  251. package/dist/chunks/{file-retention-6n7kk6x7.js → command-r15e5fgt.js} +11 -11
  252. package/dist/chunks/{file-retention-g4v74gy6.js → command-r2jsee34.js} +8 -8
  253. package/dist/chunks/{file-retention-cxbntz7s.js → command-r4ce7j88.js} +12 -12
  254. package/dist/chunks/{file-retention-7bt6msz7.js → command-r6mcamb5.js} +17 -17
  255. package/dist/chunks/{file-retention-rb9dy4dg.js → command-rb9dy4dg.js} +1 -1
  256. package/dist/chunks/{file-retention-b5yzcczs.js → command-rg9j8c64.js} +9 -9
  257. package/dist/chunks/{file-retention-kyb7yekh.js → command-rpe9qcx0.js} +55 -55
  258. package/dist/chunks/{file-retention-y8e7ya07.js → command-rq1bn5ff.js} +41 -41
  259. package/dist/chunks/{file-retention-0j8mhk4d.js → command-rrsfp6ze.js} +17 -17
  260. package/dist/chunks/{file-retention-csdmpgm1.js → command-rs6jcsrf.js} +22 -22
  261. package/dist/chunks/{file-retention-70t2yy6e.js → command-rsre77k7.js} +18 -18
  262. package/dist/chunks/{file-retention-rt5dr6hb.js → command-rt5dr6hb.js} +1 -1
  263. package/dist/chunks/{file-retention-kf485nxs.js → command-rtqf1qnx.js} +30 -30
  264. package/dist/chunks/{file-retention-jz8ht1jj.js → command-rwsvr4dq.js} +5 -5
  265. package/dist/chunks/{file-retention-z1qht066.js → command-ryqhrx4f.js} +21 -21
  266. package/dist/chunks/{file-retention-s1ba0vj0.js → command-s1ba0vj0.js} +2 -2
  267. package/dist/chunks/{file-retention-4xcsbp6b.js → command-s4kyhetj.js} +6 -6
  268. package/dist/chunks/{file-retention-dwsd3zgn.js → command-s8d7542g.js} +10 -10
  269. package/dist/chunks/{file-retention-sa3fpqfw.js → command-sa3fpqfw.js} +2 -2
  270. package/dist/chunks/{file-retention-sbya78hr.js → command-sbya78hr.js} +1 -1
  271. package/dist/chunks/{file-retention-9kgghjmg.js → command-schafjf2.js} +6 -6
  272. package/dist/chunks/{file-retention-433pf4gj.js → command-sgfm45rn.js} +78 -78
  273. package/dist/chunks/{file-retention-xz5yt0yg.js → command-ss2grsr1.js} +22 -22
  274. package/dist/chunks/{file-retention-svcy3p9a.js → command-svcy3p9a.js} +1 -1
  275. package/dist/chunks/{file-retention-ywppahe3.js → command-szscrh8z.js} +32 -32
  276. package/dist/chunks/{file-retention-68cc458t.js → command-t323kqwe.js} +7 -7
  277. package/dist/chunks/{file-retention-78p2h4ex.js → command-t8erkws8.js} +5 -5
  278. package/dist/chunks/{file-retention-26wfx3k0.js → command-tb2mrvc9.js} +4 -4
  279. package/dist/chunks/{file-retention-tczq8hjw.js → command-tczq8hjw.js} +1 -1
  280. package/dist/chunks/{file-retention-aprkypsk.js → command-th74p2h3.js} +17 -17
  281. package/dist/chunks/{file-retention-04s74fx7.js → command-thc4f7yk.js} +8 -8
  282. package/dist/chunks/{file-retention-tmwatq56.js → command-thpvhm7p.js} +8 -8
  283. package/dist/chunks/{file-retention-tngvyp2y.js → command-tm5zj7bd.js} +35 -35
  284. package/dist/chunks/{file-retention-3vc76bbn.js → command-tp5psy3g.js} +6 -6
  285. package/dist/chunks/{file-retention-zsv35m7p.js → command-tsvf0ypj.js} +10 -10
  286. package/dist/chunks/{file-retention-twssxy5n.js → command-twssxy5n.js} +2 -2
  287. package/dist/chunks/{file-retention-b6wwfjf1.js → command-v0gf7nmq.js} +27 -27
  288. package/dist/chunks/{file-retention-7gaksq79.js → command-v0mzemm6.js} +21 -21
  289. package/dist/chunks/{file-retention-v2r1d0zg.js → command-v2r1d0zg.js} +1 -1
  290. package/dist/chunks/{file-retention-teyq45ea.js → command-veesmm8k.js} +5 -5
  291. package/dist/chunks/{file-retention-0yn3ka5j.js → command-vf37ha3m.js} +17 -17
  292. package/dist/chunks/{file-retention-vjf35v1f.js → command-vjf35v1f.js} +1 -1
  293. package/dist/chunks/{file-retention-28nhxqg9.js → command-vsc4dw33.js} +9 -9
  294. package/dist/chunks/{file-retention-fsgv702d.js → command-vsnkte39.js} +43 -43
  295. package/dist/chunks/{file-retention-xgbbyafx.js → command-vtmxyqqs.js} +34 -34
  296. package/dist/chunks/{file-retention-pdpask2k.js → command-vvrd773r.js} +21 -21
  297. package/dist/chunks/{file-retention-n9x9rf44.js → command-vxsh6985.js} +33 -33
  298. package/dist/chunks/{file-retention-zd3y931c.js → command-vy3dbkv2.js} +27 -27
  299. package/dist/chunks/{file-retention-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  300. package/dist/chunks/{file-retention-wakvkjy4.js → command-wakvkjy4.js} +1 -1
  301. package/dist/chunks/{file-retention-wd87259q.js → command-wd87259q.js} +1 -1
  302. package/dist/chunks/{file-retention-x38wddp3.js → command-wjkfvcx3.js} +15 -15
  303. package/dist/chunks/{file-retention-95c1p5m6.js → command-wmyfck53.js} +35 -35
  304. package/dist/chunks/{file-retention-wnhgecwx.js → command-wnhgecwx.js} +1 -1
  305. package/dist/chunks/{file-retention-gf5d3kfh.js → command-wp9qxkj5.js} +32 -32
  306. package/dist/chunks/{file-retention-wr3re1en.js → command-wr3re1en.js} +1 -1
  307. package/dist/chunks/{file-retention-wejx1yzz.js → command-wrq7dm6q.js} +4 -4
  308. package/dist/chunks/{file-retention-95sp4hdf.js → command-wws03c5r.js} +4 -4
  309. package/dist/chunks/{file-retention-kx9qtpmv.js → command-x3agqc95.js} +17 -17
  310. package/dist/chunks/command-x3bvnkne.js +26 -0
  311. package/dist/chunks/{file-retention-9e0zdsd0.js → command-x5vff03n.js} +18 -18
  312. package/dist/chunks/{file-retention-zm27gg57.js → command-x67mg8mk.js} +2 -2
  313. package/dist/chunks/{file-retention-h6jcj9p8.js → command-x79ghvf2.js} +9 -9
  314. package/dist/chunks/{file-retention-kmxy273m.js → command-xcvkrh98.js} +5 -5
  315. package/dist/chunks/{file-retention-hb8g288h.js → command-xeazcnat.js} +12 -12
  316. package/dist/chunks/{file-retention-ty3f8ea2.js → command-xvh6nyz9.js} +13 -13
  317. package/dist/chunks/{file-retention-h5chy42v.js → command-xya5z1v4.js} +3 -3
  318. package/dist/chunks/{file-retention-7xm9wv05.js → command-xywcct0r.js} +25 -25
  319. package/dist/chunks/{file-retention-jjxkdvhg.js → command-y4hqb8zf.js} +11 -11
  320. package/dist/chunks/{file-retention-yb20nhc3.js → command-yb20nhc3.js} +1 -1
  321. package/dist/chunks/{file-retention-ybws1qgk.js → command-ybws1qgk.js} +4 -4
  322. package/dist/chunks/{file-retention-1scgcwfj.js → command-yjjyz0e3.js} +3 -3
  323. package/dist/chunks/{file-retention-pn48ae9c.js → command-yjw0tny1.js} +27 -27
  324. package/dist/chunks/{file-retention-tg1vr1qt.js → command-ykvsfm8k.js} +8 -8
  325. package/dist/chunks/{file-retention-ee476ptv.js → command-yms5yk40.js} +11 -11
  326. package/dist/chunks/{file-retention-yr705xyq.js → command-yr705xyq.js} +1 -1
  327. package/dist/chunks/{file-retention-41mgdpyq.js → command-ys6g3emr.js} +45 -45
  328. package/dist/chunks/{file-retention-06e0bzah.js → command-yv0q8n2v.js} +8 -8
  329. package/dist/chunks/{file-retention-yvtc2x31.js → command-yvtc2x31.js} +1 -1
  330. package/dist/chunks/{file-retention-cmnsegyx.js → command-z0bs4asb.js} +4 -4
  331. package/dist/chunks/command-z355x5yr.js +18 -0
  332. package/dist/chunks/{file-retention-nyra3b4e.js → command-z75sjccv.js} +19 -19
  333. package/dist/chunks/{file-retention-p96e2xw0.js → command-z9j69c60.js} +15 -15
  334. package/dist/chunks/{file-retention-p0g9dthf.js → command-zbbn7txt.js} +12 -12
  335. package/dist/chunks/{file-retention-g6nneh33.js → command-zc1tqb6c.js} +39 -39
  336. package/dist/chunks/{file-retention-gv8nw05x.js → command-zg9xszfz.js} +7 -7
  337. package/dist/chunks/{file-retention-b6prfk3g.js → command-zkb4dvfy.js} +3 -3
  338. package/dist/chunks/{file-retention-ewa1ec51.js → command-zw5s2a2z.js} +4 -4
  339. package/dist/chunks/{file-retention-x457m8xb.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 +5 -5
  344. package/dist/codemode/tool.js +151 -151
  345. package/dist/command.js +94 -94
  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 +130 -130
  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 +132 -132
  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 +130 -130
  369. package/dist/config/plugin/source.js +133 -133
  370. package/dist/config/plugin/tool-output.js +131 -131
  371. package/dist/config/plugin/websearch.js +131 -131
  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 +131 -131
  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 +14 -14
  381. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  382. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  383. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +81 -81
  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 +88 -88
  487. package/dist/filesystem/location-watcher-policy.js +6 -6
  488. package/dist/filesystem/location-watcher.js +243 -243
  489. package/dist/filesystem/protected.js +1 -1
  490. package/dist/filesystem/search.js +112 -112
  491. package/dist/filesystem/watcher-binding.js +1 -1
  492. package/dist/filesystem/watcher.js +11 -11
  493. package/dist/filesystem.js +115 -115
  494. package/dist/form.js +91 -91
  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 +104 -104
  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 +91 -91
  526. package/dist/instructions/builtins.js +100 -100
  527. package/dist/instructions/index.js +1 -1
  528. package/dist/integration/connection.js +3 -3
  529. package/dist/integration.js +100 -100
  530. package/dist/job/sql.js +2 -2
  531. package/dist/job.js +88 -88
  532. package/dist/kv/sql.js +2 -2
  533. package/dist/kv.js +84 -84
  534. package/dist/location-activity.js +176 -176
  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 +116 -116
  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 +104 -104
  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 +89 -89
  555. package/dist/permission/sql.js +5 -5
  556. package/dist/permission.js +147 -147
  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 +95 -95
  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 +4 -4
  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 +111 -111
  592. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  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 +6 -6
  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 +3 -3
  598. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  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 +3 -3
  606. package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
  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 +132 -132
  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 +137 -137
  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 +87 -87
  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 +6 -6
  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 +112 -112
  667. package/dist/pty/protocol.js +1 -1
  668. package/dist/pty/ticket.js +1 -1
  669. package/dist/pty.js +111 -111
  670. package/dist/reference/instructions.js +99 -99
  671. package/dist/reference.js +101 -101
  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 +255 -255
  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 +171 -171
  686. package/dist/session/context.js +196 -196
  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 +236 -236
  692. package/dist/session/execution.js +163 -163
  693. package/dist/session/generate.js +198 -198
  694. package/dist/session/history.js +136 -136
  695. package/dist/session/inbox.js +143 -143
  696. package/dist/session/info.js +3 -3
  697. package/dist/session/instruction-entry.js +84 -84
  698. package/dist/session/instruction-state.js +8 -8
  699. package/dist/session/instructions.js +141 -141
  700. package/dist/session/message-updater.js +2 -2
  701. package/dist/session/message.js +1 -1
  702. package/dist/session/model-request.js +168 -168
  703. package/dist/session/model-transport.js +9 -9
  704. package/dist/session/move.js +161 -161
  705. package/dist/session/projector.js +143 -143
  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 +163 -163
  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 +237 -237
  732. package/dist/session/usage.js +1 -1
  733. package/dist/session.js +229 -229
  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 +7 -7
  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 +106 -106
  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 +180 -180
  748. package/dist/tool/plugin/artifact.js +228 -228
  749. package/dist/tool/plugin/edit.js +164 -164
  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 +239 -239
  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 +164 -164
  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 +235 -235
  761. package/dist/tool/plugin/skill.js +157 -157
  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 +155 -155
  766. package/dist/tool/plugin/write.js +166 -166
  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 +159 -159
  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 +96 -96
  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 +1 -1
  784. package/dist/v1/config/mcp.js +4 -4
  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 +1 -1
  788. package/dist/v1/config/provider-options.js +1 -1
  789. package/dist/v1/config/provider.js +4 -4
  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 +99 -99
  795. package/dist/wellknown/plugin.js +85 -85
  796. package/dist/wellknown.js +90 -90
  797. package/dist/workspace/driver.js +7 -7
  798. package/dist/workspace/sql.js +1 -1
  799. package/dist/workspace.js +91 -91
  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 +107 -107
  805. package/package.json +10 -9
  806. package/dist/chunks/file-retention-6bshxcsx.js +0 -18
  807. package/dist/chunks/file-retention-94s5f2xb.js +0 -62
  808. package/dist/chunks/file-retention-h80z8qef.js +0 -261
  809. package/dist/chunks/file-retention-xajdwwy7.js +0 -26
  810. package/dist/chunks/file-retention-y8y3xh3s.js +0 -555
  811. package/dist/database/sqlite.js +0 -12
  812. package/dist/types/database/sqlite.d.ts +0 -20
  813. /package/dist/chunks/{file-retention-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  814. /package/dist/chunks/{file-retention-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  815. /package/dist/chunks/{file-retention-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  816. /package/dist/chunks/{file-retention-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  817. /package/dist/chunks/{file-retention-1kah00gy.js → command-1kah00gy.js} +0 -0
  818. /package/dist/chunks/{file-retention-1pevy3nx.js → command-1pevy3nx.js} +0 -0
  819. /package/dist/chunks/{file-retention-24dcb14g.js → command-24dcb14g.js} +0 -0
  820. /package/dist/chunks/{file-retention-2710q6r3.js → command-2710q6r3.js} +0 -0
  821. /package/dist/chunks/{file-retention-2bv980vf.js → command-2bv980vf.js} +0 -0
  822. /package/dist/chunks/{file-retention-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  823. /package/dist/chunks/{file-retention-359p4xyc.js → command-359p4xyc.js} +0 -0
  824. /package/dist/chunks/{file-retention-3asan66x.js → command-3asan66x.js} +0 -0
  825. /package/dist/chunks/{file-retention-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  826. /package/dist/chunks/{file-retention-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  827. /package/dist/chunks/{file-retention-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  828. /package/dist/chunks/{file-retention-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  829. /package/dist/chunks/{file-retention-4qk9sjk2.js → command-4qk9sjk2.js} +0 -0
  830. /package/dist/chunks/{file-retention-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
  831. /package/dist/chunks/{file-retention-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  832. /package/dist/chunks/{file-retention-53557ph1.js → command-53557ph1.js} +0 -0
  833. /package/dist/chunks/{file-retention-550bvhaj.js → command-550bvhaj.js} +0 -0
  834. /package/dist/chunks/{file-retention-5w3e23ze.js → command-5w3e23ze.js} +0 -0
  835. /package/dist/chunks/{file-retention-6agm2x70.js → command-6agm2x70.js} +0 -0
  836. /package/dist/chunks/{file-retention-6prwharc.js → command-6prwharc.js} +0 -0
  837. /package/dist/chunks/{file-retention-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
  838. /package/dist/chunks/{file-retention-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  839. /package/dist/chunks/{file-retention-7m9af43g.js → command-7m9af43g.js} +0 -0
  840. /package/dist/chunks/{file-retention-822emrt2.js → command-822emrt2.js} +0 -0
  841. /package/dist/chunks/{file-retention-84wd9syh.js → command-84wd9syh.js} +0 -0
  842. /package/dist/chunks/{file-retention-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  843. /package/dist/chunks/{file-retention-8n3pysct.js → command-8n3pysct.js} +0 -0
  844. /package/dist/chunks/{file-retention-8wj87zfr.js → command-8wj87zfr.js} +0 -0
  845. /package/dist/chunks/{file-retention-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  846. /package/dist/chunks/{file-retention-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  847. /package/dist/chunks/{file-retention-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  848. /package/dist/chunks/{file-retention-af5trqkr.js → command-af5trqkr.js} +0 -0
  849. /package/dist/chunks/{file-retention-afrmfg78.js → command-afrmfg78.js} +0 -0
  850. /package/dist/chunks/{file-retention-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  851. /package/dist/chunks/{file-retention-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  852. /package/dist/chunks/{file-retention-beh6qq61.js → command-beh6qq61.js} +0 -0
  853. /package/dist/chunks/{file-retention-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  854. /package/dist/chunks/{file-retention-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  855. /package/dist/chunks/{file-retention-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  856. /package/dist/chunks/{file-retention-cqv5kn06.js → command-cqv5kn06.js} +0 -0
  857. /package/dist/chunks/{file-retention-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  858. /package/dist/chunks/{file-retention-d9fn303g.js → command-d9fn303g.js} +0 -0
  859. /package/dist/chunks/{file-retention-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  860. /package/dist/chunks/{file-retention-dap0rakb.js → command-dap0rakb.js} +0 -0
  861. /package/dist/chunks/{file-retention-dbht28n9.js → command-dbht28n9.js} +0 -0
  862. /package/dist/chunks/{file-retention-df08tz66.js → command-df08tz66.js} +0 -0
  863. /package/dist/chunks/{file-retention-dy18nga0.js → command-dy18nga0.js} +0 -0
  864. /package/dist/chunks/{file-retention-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  865. /package/dist/chunks/{file-retention-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  866. /package/dist/chunks/{file-retention-ean2d8b5.js → command-ean2d8b5.js} +0 -0
  867. /package/dist/chunks/{file-retention-ec1grn59.js → command-ec1grn59.js} +0 -0
  868. /package/dist/chunks/{file-retention-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  869. /package/dist/chunks/{file-retention-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  870. /package/dist/chunks/{file-retention-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  871. /package/dist/chunks/{file-retention-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  872. /package/dist/chunks/{file-retention-faypxj3z.js → command-faypxj3z.js} +0 -0
  873. /package/dist/chunks/{file-retention-fd410y7t.js → command-fd410y7t.js} +0 -0
  874. /package/dist/chunks/{file-retention-fkpq3x5p.js → command-fkpq3x5p.js} +0 -0
  875. /package/dist/chunks/{file-retention-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  876. /package/dist/chunks/{file-retention-g86h250q.js → command-g86h250q.js} +0 -0
  877. /package/dist/chunks/{file-retention-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  878. /package/dist/chunks/{file-retention-gftt206x.js → command-gftt206x.js} +0 -0
  879. /package/dist/chunks/{file-retention-hcxmzztb.js → command-hcxmzztb.js} +0 -0
  880. /package/dist/chunks/{file-retention-hk9envan.js → command-hk9envan.js} +0 -0
  881. /package/dist/chunks/{file-retention-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  882. /package/dist/chunks/{file-retention-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  883. /package/dist/chunks/{file-retention-jjkms2e6.js → command-jjkms2e6.js} +0 -0
  884. /package/dist/chunks/{file-retention-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  885. /package/dist/chunks/{file-retention-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  886. /package/dist/chunks/{file-retention-jwr30sdr.js → command-jwr30sdr.js} +0 -0
  887. /package/dist/chunks/{file-retention-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  888. /package/dist/chunks/{file-retention-m18g726c.js → command-m18g726c.js} +0 -0
  889. /package/dist/chunks/{file-retention-mp448xyj.js → command-mp448xyj.js} +0 -0
  890. /package/dist/chunks/{file-retention-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  891. /package/dist/chunks/{file-retention-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  892. /package/dist/chunks/{file-retention-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  893. /package/dist/chunks/{file-retention-nh4v3znn.js → command-nh4v3znn.js} +0 -0
  894. /package/dist/chunks/{file-retention-njntx4h6.js → command-njntx4h6.js} +0 -0
  895. /package/dist/chunks/{file-retention-p71gwv9c.js → command-p71gwv9c.js} +0 -0
  896. /package/dist/chunks/{file-retention-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  897. /package/dist/chunks/{file-retention-q74kybfr.js → command-q74kybfr.js} +0 -0
  898. /package/dist/chunks/{file-retention-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  899. /package/dist/chunks/{file-retention-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  900. /package/dist/chunks/{file-retention-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  901. /package/dist/chunks/{file-retention-qg3g05ea.js → command-qg3g05ea.js} +0 -0
  902. /package/dist/chunks/{file-retention-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  903. /package/dist/chunks/{file-retention-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  904. /package/dist/chunks/{file-retention-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  905. /package/dist/chunks/{file-retention-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  906. /package/dist/chunks/{file-retention-syrav9an.js → command-syrav9an.js} +0 -0
  907. /package/dist/chunks/{file-retention-t03h4f5z.js → command-t03h4f5z.js} +0 -0
  908. /package/dist/chunks/{file-retention-ty7weeps.js → command-ty7weeps.js} +0 -0
  909. /package/dist/chunks/{file-retention-ve7vex1e.js → command-ve7vex1e.js} +0 -0
  910. /package/dist/chunks/{file-retention-vtarvj67.js → command-vtarvj67.js} +0 -0
  911. /package/dist/chunks/{file-retention-w803qqfp.js → command-w803qqfp.js} +0 -0
  912. /package/dist/chunks/{file-retention-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
  913. /package/dist/chunks/{file-retention-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  914. /package/dist/chunks/{file-retention-wtztk69x.js → command-wtztk69x.js} +0 -0
  915. /package/dist/chunks/{file-retention-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  916. /package/dist/chunks/{file-retention-x61499pn.js → command-x61499pn.js} +0 -0
  917. /package/dist/chunks/{file-retention-y44na4kk.js → command-y44na4kk.js} +0 -0
  918. /package/dist/chunks/{file-retention-y8f7s663.js → command-y8f7s663.js} +0 -0
  919. /package/dist/chunks/{file-retention-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  920. /package/dist/chunks/{file-retention-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
  921. /package/dist/chunks/{file-retention-z9919s4g.js → command-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-retention-z5v4ffb3.js";
3
+ } from "./command-z5v4ffb3.js";
4
4
  import {
5
- Service87,
6
- node90
7
- } from "./file-retention-nyxfy9wj.js";
5
+ Service90,
6
+ node93
7
+ } from "./command-7ppvtjhd.js";
8
8
  import {
9
9
  parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./file-retention-bstexjd6.js";
13
+ } from "./command-bstexjd6.js";
14
14
  import {
15
- Service89,
16
- node92
17
- } from "./file-retention-zece804q.js";
15
+ Service87,
16
+ node90
17
+ } from "./command-jfn1q9at.js";
18
18
  import {
19
19
  __export
20
- } from "./file-retention-9rqn6x4v.js";
20
+ } from "./command-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service60,
33
+ Service: () => Service47,
34
34
  isError: () => isError2,
35
- node: () => node63,
35
+ node: () => node50,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service60 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service47 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service60, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service87;
106
+ const git = yield* Service90;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service89;
110
- return Service60.of({
109
+ const kv = yield* Service87;
110
+ return Service47.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -169,10 +169,10 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
169
169
  })
170
170
  });
171
171
  }));
172
- var node63 = makeGlobalNode({
173
- service: Service60,
172
+ var node50 = makeGlobalNode({
173
+ service: Service47,
174
174
  layer,
175
- deps: [EffectFlock.node, FSUtil.node, node90, Global.node, node92]
175
+ deps: [EffectFlock.node, FSUtil.node, node93, Global.node, node90]
176
176
  });
177
177
  function errorMessage(error) {
178
178
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -181,4 +181,4 @@ function cacheOperation(effect, operation, target) {
181
181
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
182
182
  }
183
183
 
184
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service60, isError2, validateBranch2, node63, exports_repository_cache };
184
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service47, isError2, validateBranch2, node50, exports_repository_cache };
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service72
3
- } from "./file-retention-6mzz8e2v.js";
2
+ Service69
3
+ } from "./command-czy387n2.js";
4
4
  import {
5
5
  ID9,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service46
10
- } from "./file-retention-gbyaw8gf.js";
9
+ Service45
10
+ } from "./command-98h4mwq7.js";
11
11
  import {
12
12
  __export
13
- } from "./file-retention-9rqn6x4v.js";
13
+ } from "./command-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
- var exports_skill2 = {};
17
- __export(exports_skill2, {
18
- Input: () => Input3,
19
- Output: () => Output3,
20
- Plugin: () => Plugin21,
21
- SkillTool: () => exports_skill2,
22
- description: () => description3,
23
- name: () => name3,
16
+ var exports_skill3 = {};
17
+ __export(exports_skill3, {
18
+ Input: () => Input4,
19
+ Output: () => Output4,
20
+ Plugin: () => Plugin40,
21
+ SkillTool: () => exports_skill3,
22
+ description: () => description4,
23
+ name: () => name4,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai/effect";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name3 = "skill";
30
- var Input3 = Schema.Struct({
29
+ var name4 = "skill";
30
+ var Input4 = Schema.Struct({
31
31
  id: ID9.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output3 = Schema.Struct({
33
+ var Output4 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
37
37
  });
38
- var description3 = [
38
+ var description4 = [
39
39
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
40
40
  "",
41
41
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -43,25 +43,25 @@ var description3 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin21 = {
46
+ var Plugin40 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service46;
51
- const permission = yield* Service72;
50
+ const skills = yield* Service45;
51
+ const permission = yield* Service69;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name3,
53
+ name: name4,
54
54
  options: { codemode: false },
55
- description: description3,
56
- input: Input3,
57
- output: Output3,
55
+ description: description4,
56
+ input: Input4,
57
+ output: Output4,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name3,
64
+ action: name4,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin21 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name3, Input3, Output3, description3, toModelOutput2, Plugin21, exports_skill2 };
82
+ export { name4, Input4, Output4, description4, toModelOutput2, Plugin40, exports_skill3 };
@@ -1,42 +1,42 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-retention-6ma7pn4v.js";
3
+ } from "./command-f8bbmp6a.js";
4
4
  import {
5
5
  Service88
6
- } from "./file-retention-3whc36fx.js";
6
+ } from "./command-ap7w36b6.js";
7
7
  import {
8
- ID18,
9
- Event19,
10
- Service83
11
- } from "./file-retention-qs85e3xq.js";
8
+ ID19,
9
+ Event18,
10
+ Service82
11
+ } from "./command-ptv6adae.js";
12
12
  import {
13
13
  key2
14
- } from "./file-retention-95sp4hdf.js";
14
+ } from "./command-wws03c5r.js";
15
15
  import {
16
- ID17,
16
+ ID18,
17
17
  MethodID2
18
- } from "./file-retention-tykajzt3.js";
18
+ } from "./command-qj7pvvpf.js";
19
19
  import {
20
20
  which2
21
- } from "./file-retention-qaymkmh1.js";
21
+ } from "./command-qaymkmh1.js";
22
22
  import {
23
- ID16,
24
- Service81
25
- } from "./file-retention-qfbjs7tc.js";
23
+ ID17,
24
+ Service80
25
+ } from "./command-6e15hyzb.js";
26
26
  import {
27
- ID15
28
- } from "./file-retention-n2pc7kwe.js";
27
+ ID16
28
+ } from "./command-m3vwtq97.js";
29
29
  import {
30
30
  interval2,
31
- Service16,
31
+ Service29,
32
32
  fingerprint2
33
- } from "./file-retention-64eehrrp.js";
33
+ } from "./command-a84pm7qp.js";
34
34
  import {
35
35
  configuredSettings2
36
- } from "./file-retention-cse8gxc3.js";
36
+ } from "./command-7xz196dn.js";
37
37
  import {
38
38
  switched2
39
- } from "./file-retention-f7kqgmxs.js";
39
+ } from "./command-frktwh14.js";
40
40
 
41
41
  // src/plugin/provider/azure.ts
42
42
  import { Clock, Effect, Equal, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -71,19 +71,19 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
71
71
  }));
72
72
  var ResourceQuery = Schema.Struct({ query: Schema.String });
73
73
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
74
- function make15(endpoints = {
74
+ function make14(endpoints = {
75
75
  resource: (name) => `https://${name}.openai.azure.com/openai`,
76
76
  management: "https://management.azure.com"
77
77
  }) {
78
78
  return define({
79
79
  id: "opencode.provider.azure",
80
80
  effect: Effect.fn(function* (ctx) {
81
- const configured = yield* configuredSettings2(ID16.azure);
81
+ const configured = yield* configuredSettings2(ID17.azure);
82
82
  const processes = yield* AppProcess.Service;
83
83
  const bus = yield* Service88;
84
- const credentials = yield* Service83;
85
- const providers = yield* Service81;
86
- const cache = yield* Service16;
84
+ const credentials = yield* Service82;
85
+ const providers = yield* Service80;
86
+ const cache = yield* Service29;
87
87
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
88
88
  const tokens = new Map;
89
89
  const resourceIDs = new Map;
@@ -109,11 +109,11 @@ function make15(endpoints = {
109
109
  const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
110
110
  yield* ctx.integration.transform((editor) => {
111
111
  editor.method.update({
112
- integrationID: ID16.azure,
112
+ integrationID: ID17.azure,
113
113
  method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
114
114
  });
115
115
  editor.method.update({
116
- integrationID: ID16.azure,
116
+ integrationID: ID17.azure,
117
117
  method: {
118
118
  type: "key",
119
119
  label: "API key",
@@ -131,7 +131,7 @@ function make15(endpoints = {
131
131
  if (!available)
132
132
  return;
133
133
  editor.method.update({
134
- integrationID: ID16.azure,
134
+ integrationID: ID17.azure,
135
135
  method: {
136
136
  id: methodID,
137
137
  type: "external",
@@ -151,8 +151,8 @@ function make15(endpoints = {
151
151
  });
152
152
  });
153
153
  const load = Effect.fn("AzurePlugin.load")(function* () {
154
- const connection = yield* ctx.integration.connection.active(ID16.azure);
155
- const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
154
+ const connection = yield* ctx.integration.connection.active(ID17.azure);
155
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID19.make(connection.id)) : undefined;
156
156
  return { connection, resource: credentialResource(stored?.value) };
157
157
  });
158
158
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -191,7 +191,7 @@ function make15(endpoints = {
191
191
  }));
192
192
  const discover = Effect.fn("AzurePlugin.discover")(function* (options) {
193
193
  const connection = loaded.connection;
194
- const settings = (yield* providers.get(ID16.azure))?.settings;
194
+ const settings = (yield* providers.get(ID17.azure))?.settings;
195
195
  const name = loaded.resource ?? resolveResourceName(settings);
196
196
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
197
197
  if (loaded.connection !== connection)
@@ -221,11 +221,11 @@ function make15(endpoints = {
221
221
  });
222
222
  const apply = (next) => next ? loading.withPermit(publish(next.connection, next.found)).pipe(Effect.uninterruptible) : Effect.void;
223
223
  const publish = Effect.fn("AzurePlugin.publish")(function* (connection, found) {
224
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID16.azure)))
224
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID17.azure)))
225
225
  return;
226
226
  if (Equal.equals(found, loaded.deployments))
227
227
  return;
228
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID16.azure)?.models.keys() ?? [], (id) => [
228
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID17.azure)?.models.keys() ?? [], (id) => [
229
229
  id.toLowerCase(),
230
230
  id
231
231
  ]));
@@ -238,11 +238,11 @@ function make15(endpoints = {
238
238
  yield* ctx.model.reload();
239
239
  });
240
240
  const refresh = discover({}).pipe(Effect.flatMap(apply));
241
- const resourceFor = (provider) => provider.id === ID16.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
241
+ const resourceFor = (provider) => provider.id === ID17.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
242
242
  Object.assign(loaded, yield* load());
243
243
  yield* ctx.provider.transform((evt) => {
244
244
  for (const item of evt.list()) {
245
- if (item.provider.id !== ID16.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
245
+ if (item.provider.id !== ID17.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
246
246
  continue;
247
247
  const resourceName = resourceFor(item.provider);
248
248
  const websocket = responsesWebSocketCapable(item.provider);
@@ -257,7 +257,7 @@ function make15(endpoints = {
257
257
  };
258
258
  });
259
259
  }
260
- const item = evt.get(ID16.azure);
260
+ const item = evt.get(ID17.azure);
261
261
  if (!item)
262
262
  return;
263
263
  evt.add({
@@ -268,7 +268,7 @@ function make15(endpoints = {
268
268
  });
269
269
  yield* ctx.model.transform((models) => {
270
270
  for (const item of models.provider.list()) {
271
- if (item.provider.id !== ID16.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
271
+ if (item.provider.id !== ID17.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
272
272
  continue;
273
273
  const resourceName = resourceFor(item.provider);
274
274
  if (!resourceName)
@@ -287,21 +287,21 @@ function make15(endpoints = {
287
287
  }
288
288
  if (!loaded.deployments)
289
289
  return;
290
- const catalog = models.list(ID16.azure);
290
+ const catalog = models.list(ID17.azure);
291
291
  const deployed = deployedModels(loaded.deployments, catalog);
292
292
  for (const model of catalog) {
293
293
  if (!deployed.has(model.id))
294
- models.remove(ID16.azure, model.id);
294
+ models.remove(ID17.azure, model.id);
295
295
  }
296
296
  for (const [id, model] of deployed) {
297
- models.update(ID16.azure, id, (draft) => Object.assign(draft, model));
297
+ models.update(ID17.azure, id, (draft) => Object.assign(draft, model));
298
298
  }
299
299
  });
300
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID17.make("azure")), Stream.runForEach(() => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, switched2(discover, apply))))), Effect.forkScoped({ startImmediately: true }));
300
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID18.make("azure")), Stream.runForEach(() => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, switched2(discover, apply))))), Effect.forkScoped({ startImmediately: true }));
301
301
  yield* rebind().pipe(Effect.andThen(FiberHandle.run(discovery, refresh)), Effect.forkScoped);
302
302
  yield* Effect.sleep(interval2).pipe(Effect.andThen(FiberHandle.run(discovery, refresh, { onlyIfMissing: true })), Effect.forever, Effect.forkScoped);
303
303
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
304
- const connection = yield* ctx.integration.connection.active(ID16.azure);
304
+ const connection = yield* ctx.integration.connection.active(ID17.azure);
305
305
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
306
306
  return;
307
307
  })) : undefined;
@@ -313,7 +313,7 @@ function make15(endpoints = {
313
313
  return `Bearer ${current.access}`;
314
314
  });
315
315
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
316
- if (evt.model.providerID !== ID16.azure)
316
+ if (evt.model.providerID !== ID17.azure)
317
317
  return;
318
318
  const authorization = yield* bearer(evt.request.url);
319
319
  if (!authorization)
@@ -322,9 +322,9 @@ function make15(endpoints = {
322
322
  evt.request.headers.delete("x-api-key");
323
323
  evt.request.headers.set("authorization", authorization);
324
324
  evt.request.headers.set("user-agent", useragent2(ctx.app));
325
- }), { providerID: ID16.azure });
325
+ }), { providerID: ID17.azure });
326
326
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
327
- if (evt.model.providerID !== ID16.azure)
327
+ if (evt.model.providerID !== ID17.azure)
328
328
  return;
329
329
  const authorization = yield* bearer(evt.url);
330
330
  if (!authorization)
@@ -333,11 +333,11 @@ function make15(endpoints = {
333
333
  delete evt.headers["x-api-key"];
334
334
  evt.headers.authorization = authorization;
335
335
  evt.headers["user-agent"] = useragent2(ctx.app);
336
- }), { providerID: ID16.azure });
336
+ }), { providerID: ID17.azure });
337
337
  })
338
338
  });
339
339
  }
340
- var AzurePlugin2 = make15();
340
+ var AzurePlugin2 = make14();
341
341
  function deploymentsKey(connection, credential, url) {
342
342
  const access = credential.type === "key" ? `:${fingerprint2(credential.key)}` : "";
343
343
  return `azure:${key2(connection)}${access}:${url}`;
@@ -371,11 +371,11 @@ function deployedModels(deployments, catalog) {
371
371
  const model = catalogModel(models, deployment);
372
372
  if (!model)
373
373
  return [];
374
- const id = ID15.make(deployment.name.toLowerCase());
374
+ const id = ID16.make(deployment.name.toLowerCase());
375
375
  const info = {
376
376
  ...structuredClone(model),
377
377
  id,
378
- modelID: ID15.make(deployment.name),
378
+ modelID: ID16.make(deployment.name),
379
379
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
380
380
  };
381
381
  return [[id, info]];
@@ -397,4 +397,4 @@ function responsesWebSocketCapable(provider) {
397
397
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
398
398
  }
399
399
 
400
- export { make15, AzurePlugin2 };
400
+ export { make14, AzurePlugin2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render3
3
- } from "./file-retention-wvr8xscb.js";
3
+ } from "./command-nyxvvj5y.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./command-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin2,
16
+ OpenAIPlugin: () => OpenAIPlugin3,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2,
@@ -375,7 +375,7 @@ By default, match the surrounding comment density: where the code has none, add
375
375
  `;
376
376
 
377
377
  // src/plugin/optimize.ts
378
- var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
378
+ var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
379
379
  const id = model.id.toLowerCase();
380
380
  if (!id.includes("gpt"))
381
381
  return;
@@ -410,7 +410,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
410
410
  return;
411
411
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
412
412
  });
413
- var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
+ var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
414
414
  var models = new WeakMap;
415
415
  var resolveModel2 = (ctx, event) => Effect.gen(function* () {
416
416
  const cached = models.get(event);
@@ -447,4 +447,4 @@ ${rendered}` : rendered;
447
447
  });
448
448
  }
449
449
 
450
- export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, resolveModel2, exports_optimize };
450
+ export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, resolveModel2, exports_optimize };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Service88,
3
3
  node91
4
- } from "./file-retention-3whc36fx.js";
4
+ } from "./command-ap7w36b6.js";
5
5
  import {
6
6
  Key4,
7
7
  External2,
8
- Service83,
9
- node86
10
- } from "./file-retention-qs85e3xq.js";
8
+ Service82,
9
+ node85
10
+ } from "./command-ptv6adae.js";
11
11
  import {
12
12
  changes2,
13
13
  create4
14
- } from "./file-retention-40y6dtc2.js";
14
+ } from "./command-40y6dtc2.js";
15
15
  import {
16
16
  key2
17
- } from "./file-retention-95sp4hdf.js";
17
+ } from "./command-wws03c5r.js";
18
18
  import {
19
19
  validateAnswer2,
20
20
  validateFields2
21
- } from "./file-retention-0n6d4kn5.js";
21
+ } from "./command-axd1rwaf.js";
22
22
  import {
23
23
  __export
24
- } from "./file-retention-9rqn6x4v.js";
24
+ } from "./command-9rqn6x4v.js";
25
25
 
26
26
  // src/integration.ts
27
- var exports_integration3 = {};
28
- __export(exports_integration3, {
27
+ var exports_integration2 = {};
28
+ __export(exports_integration2, {
29
29
  Attempt: () => Attempt2,
30
30
  AttemptID: () => AttemptID2,
31
31
  AttemptNotFoundError: () => AttemptNotFoundError2,
@@ -36,18 +36,18 @@ __export(exports_integration3, {
36
36
  CommandAttemptStatus: () => CommandAttemptStatus2,
37
37
  CommandMethod: () => CommandMethod2,
38
38
  EnvMethod: () => EnvMethod2,
39
- Event: () => Event18,
39
+ Event: () => Event17,
40
40
  ExternalMethod: () => ExternalMethod2,
41
- ID: () => ID17,
42
- Info: () => Info25,
43
- Integration: () => exports_integration3,
41
+ ID: () => ID18,
42
+ Info: () => Info26,
43
+ Integration: () => exports_integration2,
44
44
  KeyMethod: () => KeyMethod2,
45
45
  Method: () => Method2,
46
46
  MethodID: () => MethodID2,
47
47
  OAuthMethod: () => OAuthMethod2,
48
48
  Ref: () => Ref4,
49
- Service: () => Service82,
50
- node: () => node85
49
+ Service: () => Service81,
50
+ node: () => node84
51
51
  });
52
52
  import { makeLocationNode } from "@opencode/util/effect/app-node";
53
53
  import {
@@ -69,8 +69,8 @@ import {
69
69
  import { Integration } from "@opencode/schema/integration";
70
70
  import { AppProcess } from "@opencode/util/process";
71
71
  import { ChildProcess } from "effect/process";
72
- import { Event as Event18 } from "@opencode/schema/integration";
73
- var ID17 = Integration.ID;
72
+ import { Event as Event17 } from "@opencode/schema/integration";
73
+ var ID18 = Integration.ID;
74
74
  var MethodID2 = Integration.MethodID;
75
75
  var AttemptID2 = Integration.AttemptID;
76
76
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -79,7 +79,7 @@ var KeyMethod2 = Integration.KeyMethod;
79
79
  var ExternalMethod2 = Integration.ExternalMethod;
80
80
  var EnvMethod2 = Integration.EnvMethod;
81
81
  var Method2 = Integration.Method;
82
- var Info25 = Integration.Info;
82
+ var Info26 = Integration.Info;
83
83
  var Attempt2 = Integration.Attempt;
84
84
  var AttemptStatus2 = Integration.AttemptStatus;
85
85
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -102,19 +102,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
102
102
  }
103
103
 
104
104
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
105
- integrationID: ID17,
105
+ integrationID: ID18,
106
106
  attemptID: AttemptID2
107
107
  }) {
108
108
  }
109
109
  var Ref4 = Integration.Ref;
110
110
 
111
- class Service82 extends Context.Service()("@opencode/Integration") {
111
+ class Service81 extends Context.Service()("@opencode/Integration") {
112
112
  }
113
113
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
114
114
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
115
115
  var scrubInterval = Duration.seconds(30);
116
- var layer = Layer.effect(Service82, Effect.gen(function* () {
117
- const credentials = yield* Service83;
116
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
117
+ const credentials = yield* Service82;
118
118
  const bus = yield* Service88;
119
119
  const processes = yield* AppProcess.Service;
120
120
  const scope = yield* Scope.Scope;
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
225
225
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
226
226
  return [...credentials, ...env];
227
227
  };
228
- const project = (entry, connections) => Info25.make({
228
+ const project = (entry, connections) => Info26.make({
229
229
  id: entry.ref.id,
230
230
  name: entry.ref.name,
231
231
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -462,7 +462,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
462
462
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
463
463
  return CommandAttempt2.make({ attemptID, time });
464
464
  });
465
- return Service82.of({
465
+ return Service81.of({
466
466
  transform: state.transform,
467
467
  reload: state.reload,
468
468
  revision: state.revision,
@@ -655,10 +655,10 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
655
655
  }
656
656
  });
657
657
  }));
658
- var node85 = makeLocationNode({
659
- service: Service82,
658
+ var node84 = makeLocationNode({
659
+ service: Service81,
660
660
  layer,
661
- deps: [node86, node91, AppProcess.node]
661
+ deps: [node85, node91, AppProcess.node]
662
662
  });
663
663
 
664
- export { ID17, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info25, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref4, Service82, node85, exports_integration3, Event18 };
664
+ export { ID18, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info26, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref4, Service81, node84, exports_integration2, Event17 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/image/photon-normalize.ts
6
6
  var exports_photon_normalize = {};