@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,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./file-retention-wakvkjy4.js";
4
+ } from "./command-wakvkjy4.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./file-retention-qfa1cgps.js";
7
+ } from "./command-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-retention-6ma7pn4v.js";
3
+ } from "./command-f8bbmp6a.js";
4
4
  import {
5
5
  OAuth3,
6
- Service83
7
- } from "./file-retention-qs85e3xq.js";
6
+ Service82
7
+ } from "./command-ptv6adae.js";
8
8
  import {
9
- ID17,
9
+ ID18,
10
10
  MethodID2
11
- } from "./file-retention-tykajzt3.js";
11
+ } from "./command-qj7pvvpf.js";
12
12
  import {
13
- ID16,
13
+ ID17,
14
14
  mergeOverlay2
15
- } from "./file-retention-qfbjs7tc.js";
15
+ } from "./command-6e15hyzb.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID16.make("xai");
27
+ var providerID = ID17.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID17.make("xai"),
47
+ integrationID: ID18.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service83;
73
- yield* Effect.forEach(yield* credentials.list(ID17.make("xai")), (credential) => {
72
+ const credentials = yield* Service82;
73
+ yield* Effect.forEach(yield* credentials.list(ID18.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {
@@ -1,71 +1,71 @@
1
1
  import {
2
2
  Service88,
3
3
  node91
4
- } from "./file-retention-3whc36fx.js";
4
+ } from "./command-ap7w36b6.js";
5
5
  import {
6
- ID18,
7
- Event19,
8
- Service83,
9
- node86
10
- } from "./file-retention-qs85e3xq.js";
6
+ ID19,
7
+ Event18,
8
+ Service82,
9
+ node85
10
+ } from "./command-ptv6adae.js";
11
11
  import {
12
- Service78,
13
- node81
14
- } from "./file-retention-89rb9xh3.js";
12
+ Service75,
13
+ node78
14
+ } from "./command-gmg5z9db.js";
15
15
  import {
16
16
  AbsolutePath2
17
- } from "./file-retention-z5v4ffb3.js";
17
+ } from "./command-z5v4ffb3.js";
18
18
  import {
19
- Service85,
20
- node88
21
- } from "./file-retention-tz3w010n.js";
19
+ Service83,
20
+ node86
21
+ } from "./command-1t7pz1nk.js";
22
22
  import {
23
23
  substitute2
24
- } from "./file-retention-7w2ypzdf.js";
24
+ } from "./command-7w2ypzdf.js";
25
25
  import {
26
26
  normalize3
27
- } from "./file-retention-yc2h06fb.js";
27
+ } from "./command-c55jkhec.js";
28
28
  import {
29
29
  names4,
30
30
  stripPreferenceMetadata2,
31
31
  discover3
32
- } from "./file-retention-b924sz3m.js";
32
+ } from "./command-98hszmvx.js";
33
33
  import {
34
34
  plan2
35
- } from "./file-retention-1x2knyw4.js";
35
+ } from "./command-1x2knyw4.js";
36
36
  import {
37
37
  Document3,
38
38
  WellKnownDocument2
39
- } from "./file-retention-r17fbvme.js";
39
+ } from "./command-aenn6vam.js";
40
40
  import {
41
41
  Document2
42
- } from "./file-retention-4dx1dgte.js";
42
+ } from "./command-4dx1dgte.js";
43
43
  import {
44
44
  statements2,
45
45
  decision2,
46
46
  integrationResource2,
47
47
  account2
48
- } from "./file-retention-h5chy42v.js";
48
+ } from "./command-xya5z1v4.js";
49
49
  import {
50
- Service79,
51
- Event15,
52
- node82
53
- } from "./file-retention-m7ykyrbv.js";
50
+ Service86,
51
+ Event21,
52
+ node89
53
+ } from "./command-266c1h5y.js";
54
54
  import {
55
55
  __export
56
- } from "./file-retention-9rqn6x4v.js";
56
+ } from "./command-9rqn6x4v.js";
57
57
 
58
58
  // src/config.ts
59
59
  var exports_config = {};
60
60
  __export(exports_config, {
61
61
  Config: () => exports_config,
62
62
  Options: () => Options7,
63
- Service: () => Service77,
63
+ Service: () => Service74,
64
64
  Test: () => Test2,
65
65
  configured: () => configured10,
66
66
  latest: () => latest2,
67
- layer: () => layer25,
68
- node: () => node80,
67
+ layer: () => layer24,
68
+ node: () => node77,
69
69
  testLayer: () => testLayer2
70
70
  });
71
71
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -90,7 +90,7 @@ var Options7 = Schema.Struct({
90
90
  content: Schema.optional(Schema.String)
91
91
  });
92
92
 
93
- class Service77 extends Context.Service()("@opencode/Config") {
93
+ class Service74 extends Context.Service()("@opencode/Config") {
94
94
  }
95
95
 
96
96
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -114,16 +114,16 @@ var testLayer2 = (initial = [], compatibility = {
114
114
  return document ? next.set(integrationID, document) : next;
115
115
  })
116
116
  });
117
- return Context.empty().pipe(Context.add(Service77, service), Context.add(Test2, service));
117
+ return Context.empty().pipe(Context.add(Service74, service), Context.add(Test2, service));
118
118
  }));
119
- var layer25 = (options) => Layer.effect(Service77, Effect.gen(function* () {
119
+ var layer24 = (options) => Layer.effect(Service74, Effect.gen(function* () {
120
120
  const fs = yield* FSUtil.Service;
121
- const location = yield* Service85;
122
- const watcher = yield* Service78;
121
+ const location = yield* Service83;
122
+ const watcher = yield* Service75;
123
123
  const bus = yield* Service88;
124
- const credentials = yield* Service83;
124
+ const credentials = yield* Service82;
125
125
  const globalService = yield* Global.Service;
126
- const wellknown = yield* Service79;
126
+ const wellknown = yield* Service86;
127
127
  const processes = yield* AppProcess.Service;
128
128
  const integrations = new Map;
129
129
  const context = yield* Effect.context();
@@ -194,7 +194,7 @@ var layer25 = (options) => Layer.effect(Service77, Effect.gen(function* () {
194
194
  return yield* Effect.forEach(entries, (entry) => loadWellknownEntry(entry).pipe(Effect.map((documents) => ({ integrationID: entry.integrationID, documents }))));
195
195
  });
196
196
  const supplies = Effect.fnUntraced(function* (lockdown, integrationID, connection) {
197
- const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
197
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID19.make(connection.id)) : undefined;
198
198
  const resource = integrationResource2(integrationID, stored ? account2(stored.value) : undefined);
199
199
  return decision2(lockdown, "integration.use", resource) !== "deny";
200
200
  });
@@ -292,8 +292,8 @@ var layer25 = (options) => Layer.effect(Service77, Effect.gen(function* () {
292
292
  }, (effect) => reloadLock.withPermit(effect));
293
293
  const pendingReloads = yield* PubSub.subscribe(reloads);
294
294
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
295
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
296
- yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
295
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
296
+ yield* bus.subscribe(Event21.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
297
297
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
298
298
  if (!wellknown.snapshot().length)
299
299
  return Effect.void;
@@ -321,7 +321,7 @@ var layer25 = (options) => Layer.effect(Service77, Effect.gen(function* () {
321
321
  `);
322
322
  yield* requestReload;
323
323
  }, (effect) => updateLock.withPermit(effect));
324
- return Service77.of({
324
+ return Service74.of({
325
325
  entries: Effect.fnUntraced(function* () {
326
326
  return configs;
327
327
  }),
@@ -343,20 +343,20 @@ var layer25 = (options) => Layer.effect(Service77, Effect.gen(function* () {
343
343
  }));
344
344
  function configured10(options) {
345
345
  return makeLocationNode({
346
- service: Service77,
347
- layer: layer25(options),
346
+ service: Service74,
347
+ layer: layer24(options),
348
348
  deps: [
349
- node81,
349
+ node78,
350
350
  node91,
351
351
  FSUtil.node,
352
352
  Global.node,
353
- node88,
354
353
  node86,
355
- node82,
354
+ node85,
355
+ node89,
356
356
  AppProcess.node
357
357
  ]
358
358
  });
359
359
  }
360
- var node80 = configured10();
360
+ var node77 = configured10();
361
361
 
362
- export { latest2, Options7, Service77, Test2, testLayer2, layer25, configured10, node80, exports_config };
362
+ export { latest2, Options7, Service74, Test2, testLayer2, layer24, configured10, node77, exports_config };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Service88
3
- } from "./file-retention-3whc36fx.js";
3
+ } from "./command-ap7w36b6.js";
4
4
  import {
5
- Event19
6
- } from "./file-retention-qs85e3xq.js";
5
+ Event18
6
+ } from "./command-ptv6adae.js";
7
7
  import {
8
- ID17
9
- } from "./file-retention-tykajzt3.js";
8
+ ID18
9
+ } from "./command-qj7pvvpf.js";
10
10
  import {
11
- ID16
12
- } from "./file-retention-qfbjs7tc.js";
11
+ ID17
12
+ } from "./command-6e15hyzb.js";
13
13
 
14
14
  // src/plugin/provider/openai-context-caps.ts
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Stream } from "effect";
17
- var integrationID = ID17.make("openai");
17
+ var integrationID = ID18.make("openai");
18
18
  var methodIDs = new Set(["chatgpt-browser", "chatgpt-headless", "chatgpt-token-sharing"]);
19
19
  var legacyInput = 272000;
20
20
  var currentInput = 500000;
@@ -36,7 +36,7 @@ var OpenAIContextCapsPlugin2 = define({
36
36
  yield* ctx.model.transform((models) => {
37
37
  if (!signedIn)
38
38
  return;
39
- for (const model of models.list(ID16.openai)) {
39
+ for (const model of models.list(ID17.openai)) {
40
40
  models.update(model.providerID, model.id, (draft) => {
41
41
  const input = cap(draft.modelID ?? draft.id);
42
42
  if ((draft.limit.input || draft.limit.context) <= input)
@@ -45,7 +45,7 @@ var OpenAIContextCapsPlugin2 = define({
45
45
  });
46
46
  }
47
47
  });
48
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load().pipe(Effect.flatMap((changed) => changed ? ctx.provider.reload() : Effect.void))), Effect.forkScoped({ startImmediately: true }));
48
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load().pipe(Effect.flatMap((changed) => changed ? ctx.provider.reload() : Effect.void))), Effect.forkScoped({ startImmediately: true }));
49
49
  })
50
50
  });
51
51
  function cap(apiID) {
@@ -1,17 +1,17 @@
1
1
  import {
2
- Service90,
3
- node93
4
- } from "./file-retention-wzp3mys1.js";
2
+ Service89,
3
+ node92
4
+ } from "./command-4pefe19r.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./file-retention-2710q6r3.js";
8
+ } from "./command-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./file-retention-4d2dtj2f.js";
11
+ } from "./command-8cg7mtm3.js";
12
12
  import {
13
13
  __export
14
- } from "./file-retention-9rqn6x4v.js";
14
+ } from "./command-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
@@ -83,7 +83,7 @@ class Service88 extends Context.Service()("@opencode/Bus") {
83
83
  function configured13(options) {
84
84
  return makeGlobalNode({
85
85
  service: Service88,
86
- deps: [node93],
86
+ deps: [node92],
87
87
  layer: Layer.effect(Service88, Effect.gen(function* () {
88
88
  const { Location } = yield* Effect.promise(() => import("../location.js"));
89
89
  const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
@@ -95,7 +95,7 @@ function configured13(options) {
95
95
  const projectors = new Map;
96
96
  const listeners = new Array;
97
97
  const durableLocks = makeUnsafe2();
98
- const { db } = yield* Service90;
98
+ const { db } = yield* Service89;
99
99
  const logReadPageSize = options?.logReadPageSize ?? 512;
100
100
  const persist = options?.persist ?? false;
101
101
  const sessions = new Map;
@@ -1,10 +1,10 @@
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
  __export
7
- } from "./file-retention-9rqn6x4v.js";
7
+ } from "./command-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -16,17 +16,17 @@ __export(exports_form, {
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID19,
20
- Info: () => Info28,
19
+ ID: () => ID22,
20
+ Info: () => Info32,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError13,
23
+ NotFoundError: () => NotFoundError14,
24
24
  Reply: () => Reply3,
25
- Service: () => Service84,
25
+ Service: () => Service85,
26
26
  State: () => State3,
27
27
  When: () => When3,
28
28
  layer: () => layer27,
29
- node: () => node87,
29
+ node: () => node88,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
@@ -35,8 +35,8 @@ import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Event as Event20 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID19 = Form.ID;
39
- var Info28 = Form.Info;
38
+ var ID22 = Form.ID;
39
+ var Info32 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When3 = Form.When;
@@ -44,8 +44,8 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError13 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID19
47
+ class NotFoundError14 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID22
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError13 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID19
56
+ id: ID22
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID19
64
+ id: ID22
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID19,
72
+ id: ID22,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service84 extends Context.Service()("@opencode/Form") {
82
+ class Service85 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer27 = Layer.effect(Service84, Effect.gen(function* () {
84
+ var layer27 = Layer.effect(Service85, Effect.gen(function* () {
85
85
  const bus = yield* Service88;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError13({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError14({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID19.create();
93
+ const id = input.id ?? ID22.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service84, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service84.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service85.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node87 = makeLocationNode({ service: Service84, layer: layer27, deps: [node91] });
167
+ var node88 = makeLocationNode({ service: Service85, layer: layer27, deps: [node91] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID19, Info28, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError13, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service84, layer27, node87, validateAnswer2, validateFields2, exports_form, Event20 };
319
+ export { ID22, Info32, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError14, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service85, layer27, node88, validateAnswer2, validateFields2, exports_form, Event20 };
@@ -1,14 +1,14 @@
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
  changes2,
7
7
  create4
8
- } from "./file-retention-40y6dtc2.js";
8
+ } from "./command-40y6dtc2.js";
9
9
  import {
10
10
  __export
11
- } from "./file-retention-9rqn6x4v.js";
11
+ } from "./command-9rqn6x4v.js";
12
12
 
13
13
  // src/agent.ts
14
14
  var exports_agent3 = {};
@@ -19,9 +19,9 @@ __export(exports_agent3, {
19
19
  ID: () => ID14,
20
20
  Info: () => Info17,
21
21
  Name: () => Name3,
22
- Service: () => Service75,
22
+ Service: () => Service72,
23
23
  defaultID: () => defaultID2,
24
- node: () => node78
24
+ node: () => node75
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
@@ -33,9 +33,9 @@ var defaultID2 = ID14.make("build");
33
33
  var Color2 = Agent.Color;
34
34
  var Info17 = Agent.Info;
35
35
 
36
- class Service75 extends Context.Service()("@opencode/Agent") {
36
+ class Service72 extends Context.Service()("@opencode/Agent") {
37
37
  }
38
- var layer = Layer.effect(Service75, Effect.gen(function* () {
38
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
39
39
  const bus = yield* Service88;
40
40
  const selectable = (agent) => agent && agent.mode !== "subagent" && !agent.hidden ? agent : undefined;
41
41
  const selectedDefault = (data) => {
@@ -80,7 +80,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
80
80
  }),
81
81
  notify: changes2(list, () => bus.publish(Agent.Event.Updated, {}).pipe(Effect.asVoid))
82
82
  });
83
- return Service75.of({
83
+ return Service72.of({
84
84
  transform: state.transform,
85
85
  reload: state.reload,
86
86
  get: Effect.fn("Agent.get")(function* (id) {
@@ -102,6 +102,6 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
102
102
  })
103
103
  });
104
104
  }));
105
- var node78 = makeLocationNode({ service: Service75, layer, deps: [node91] });
105
+ var node75 = makeLocationNode({ service: Service72, layer, deps: [node91] });
106
106
 
107
- export { ID14, Name3, defaultID2, Color2, Info17, Service75, node78, exports_agent3, Event14 };
107
+ export { ID14, Name3, defaultID2, Color2, Info17, Service72, node75, exports_agent3, Event14 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  HEADER2,
3
3
  FORK_HEADER2
4
- } from "./file-retention-yr705xyq.js";
4
+ } from "./command-yr705xyq.js";
5
5
  import {
6
6
  ID3
7
- } from "./file-retention-hwq2cs9e.js";
7
+ } from "./command-mr41mz10.js";
8
8
  import {
9
9
  __export
10
- } from "./file-retention-9rqn6x4v.js";
10
+ } from "./command-9rqn6x4v.js";
11
11
 
12
12
  // src/plugin/provider/claude-agent/session.ts
13
13
  var exports_session2 = {};
14
14
  __export(exports_session2, {
15
15
  ClaudeSessionHooks: () => exports_session2,
16
- register: () => register5
16
+ register: () => register4
17
17
  });
18
18
  import { Effect, Schema } from "effect";
19
19
  var isAborted = Schema.is(Schema.Struct({ error: Schema.Struct({ type: Schema.Literal("aborted") }) }));
20
- var register5 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
20
+ var register4 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
21
21
  yield* ctx.session.hook("model.request", (event) => Effect.gen(function* () {
22
22
  event.headers[HEADER2] = event.kind;
23
23
  if (event.kind !== "primary")
@@ -47,4 +47,4 @@ var register5 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
47
47
  }), { providerID: ID3 });
48
48
  });
49
49
 
50
- export { register5, exports_session2 };
50
+ export { register4, exports_session2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-retention-z5v4ffb3.js";
3
+ } from "./command-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./command-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider3 = {};
10
10
  __export(exports_provider3, {
11
11
  ConfigProviderV1: () => exports_provider3,
12
- Info: () => Info21,
12
+ Info: () => Info18,
13
13
  Model: () => Model3,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model3 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info21 = Schema.Struct({
64
+ var Info18 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -91,4 +91,4 @@ var Info21 = Schema.Struct({
91
91
  models: Schema.optional(Schema.Record(Schema.String, Model3))
92
92
  }).annotate({ identifier: "ProviderConfig" });
93
93
 
94
- export { ModelStatus2, Model3, Info21, exports_provider3 };
94
+ export { ModelStatus2, Model3, Info18, exports_provider3 };
@@ -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/repository.ts
6
6
  var exports_repository = {};