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

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 (915) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +88 -88
  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 +84 -84
  8. package/dist/chunks/{command-aj7mw0zk.js → file-retention-034tev2y.js} +2 -2
  9. package/dist/chunks/{command-9k6nqw7x.js → file-retention-05aqx4at.js} +50 -50
  10. package/dist/chunks/{command-x3agqc95.js → file-retention-06w90rm1.js} +15 -15
  11. package/dist/chunks/{command-z75sjccv.js → file-retention-0aycggmx.js} +21 -21
  12. package/dist/chunks/{command-hk1h1qy2.js → file-retention-0bhp1jsg.js} +24 -24
  13. package/dist/chunks/{command-4g9b4p6m.js → file-retention-0cwqm0ac.js} +40 -40
  14. package/dist/chunks/{command-0j7gp832.js → file-retention-0j7gp832.js} +1 -1
  15. package/dist/chunks/{command-266c1h5y.js → file-retention-0jstpsmh.js} +23 -23
  16. package/dist/chunks/{command-0ma9gw4f.js → file-retention-0ma9gw4f.js} +2 -2
  17. package/dist/chunks/{command-2tetecd9.js → file-retention-0r7m7rz3.js} +16 -16
  18. package/dist/chunks/{command-6cd3ncdx.js → file-retention-0wcgapck.js} +2 -2
  19. package/dist/chunks/{command-1aqsckx4.js → file-retention-1aqsckx4.js} +1 -1
  20. package/dist/chunks/{command-27w5k9zf.js → file-retention-1ep2p91f.js} +2 -2
  21. package/dist/chunks/{command-pbnhzd2a.js → file-retention-1gep6f7s.js} +8 -8
  22. package/dist/chunks/{command-jktx46qt.js → file-retention-1pd9p4zg.js} +28 -28
  23. package/dist/chunks/{command-56yhydrj.js → file-retention-1phbxqt1.js} +3 -3
  24. package/dist/chunks/{command-naahght3.js → file-retention-1pq4mddz.js} +23 -23
  25. package/dist/chunks/{command-mj9h3nv3.js → file-retention-1tdxr5p7.js} +33 -33
  26. package/dist/chunks/{command-ybws1qgk.js → file-retention-1v2g13eq.js} +4 -4
  27. package/dist/chunks/file-retention-1v8gr36j.js +261 -0
  28. package/dist/chunks/{command-1x2knyw4.js → file-retention-1x2knyw4.js} +1 -1
  29. package/dist/chunks/{command-hdjjdvc3.js → file-retention-200qe1b4.js} +11 -11
  30. package/dist/chunks/{command-yjjyz0e3.js → file-retention-2cdjxzfg.js} +3 -3
  31. package/dist/chunks/{command-6e15hyzb.js → file-retention-2dfh1hr2.js} +29 -29
  32. package/dist/chunks/{command-gzpgqmvb.js → file-retention-2n7mmhny.js} +20 -20
  33. package/dist/chunks/{command-s1ba0vj0.js → file-retention-2p60zmnr.js} +2 -2
  34. package/dist/chunks/{command-h89yaxmp.js → file-retention-2ydq151f.js} +11 -11
  35. package/dist/chunks/{command-eebq73da.js → file-retention-30asjkfk.js} +18 -18
  36. package/dist/chunks/{command-390xskpw.js → file-retention-390xskpw.js} +1 -1
  37. package/dist/chunks/file-retention-3aarzgek.js +26 -0
  38. package/dist/chunks/file-retention-3d3mj0t0.js +555 -0
  39. package/dist/chunks/{command-m9168d7w.js → file-retention-3g1e149e.js} +16 -16
  40. package/dist/chunks/{command-caxtd6xe.js → file-retention-3gvmrzme.js} +40 -40
  41. package/dist/chunks/{command-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{command-5q8vf2h9.js → file-retention-3kr3r5pw.js} +2 -2
  43. package/dist/chunks/{command-dzdrzhkt.js → file-retention-3nfqphsz.js} +27 -27
  44. package/dist/chunks/{command-3nnrz6f6.js → file-retention-3nnrz6f6.js} +1 -1
  45. package/dist/chunks/{command-j3f8hyeg.js → file-retention-3ryz99p0.js} +4 -4
  46. package/dist/chunks/{command-gshsjqyk.js → file-retention-3zhtqa8b.js} +11 -11
  47. package/dist/chunks/{command-40y6dtc2.js → file-retention-40y6dtc2.js} +1 -1
  48. package/dist/chunks/{command-5enarcya.js → file-retention-40za9wsf.js} +6 -6
  49. package/dist/chunks/{command-jxd6f16v.js → file-retention-44pmzq9c.js} +2 -2
  50. package/dist/chunks/{command-mnpd6dxn.js → file-retention-496yft2b.js} +8 -8
  51. package/dist/chunks/{command-vf37ha3m.js → file-retention-4angwywx.js} +17 -17
  52. package/dist/chunks/{command-zkb4dvfy.js → file-retention-4aqrmm1g.js} +3 -3
  53. package/dist/chunks/{command-fq4mbxwp.js → file-retention-4cqst6fr.js} +5 -5
  54. package/dist/chunks/{command-8cg7mtm3.js → file-retention-4d2dtj2f.js} +4 -4
  55. package/dist/chunks/{command-4dx1dgte.js → file-retention-4dx1dgte.js} +1 -1
  56. package/dist/chunks/{command-4f25tdd0.js → file-retention-4f25tdd0.js} +1 -1
  57. package/dist/chunks/{command-acsz68z7.js → file-retention-4gggmape.js} +1 -1
  58. package/dist/chunks/{command-wp9qxkj5.js → file-retention-4pa2br34.js} +39 -39
  59. package/dist/chunks/{command-ckev4zzb.js → file-retention-4pmefyym.js} +35 -35
  60. package/dist/chunks/{command-4pyp9zr9.js → file-retention-4pyp9zr9.js} +1 -1
  61. package/dist/chunks/{command-pafwnz17.js → file-retention-4s01kztf.js} +8 -8
  62. package/dist/chunks/{command-4v008n1t.js → file-retention-4v008n1t.js} +1 -1
  63. package/dist/chunks/{command-schafjf2.js → file-retention-4whyrg43.js} +6 -6
  64. package/dist/chunks/{command-v0mzemm6.js → file-retention-4xape4ax.js} +21 -21
  65. package/dist/chunks/{command-q6cg44jg.js → file-retention-4yazknq3.js} +27 -27
  66. package/dist/chunks/{command-adapf27x.js → file-retention-55mjyme4.js} +6 -6
  67. package/dist/chunks/{command-fkr8t5yr.js → file-retention-581r698v.js} +1 -1
  68. package/dist/chunks/{command-pb0zgdvs.js → file-retention-5b8228w4.js} +21 -21
  69. package/dist/chunks/{command-sgfm45rn.js → file-retention-5cfjc002.js} +85 -85
  70. package/dist/chunks/{command-jp4d7tph.js → file-retention-5ej6fcjw.js} +6 -6
  71. package/dist/chunks/{command-hk4d0qev.js → file-retention-5em2n0xv.js} +33 -33
  72. package/dist/chunks/{command-zc1tqb6c.js → file-retention-5ewy4ftf.js} +39 -39
  73. package/dist/chunks/{command-kfynvycx.js → file-retention-5j4z2rnn.js} +23 -23
  74. package/dist/chunks/{command-f1qx1v58.js → file-retention-5m3xrn1j.js} +9 -9
  75. package/dist/chunks/{command-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
  76. package/dist/chunks/{command-112p5x9p.js → file-retention-5qg32bbs.js} +24 -24
  77. package/dist/chunks/{command-a1jg1vcd.js → file-retention-5s9wkzxm.js} +13 -13
  78. package/dist/chunks/{command-vsc4dw33.js → file-retention-5td38wnz.js} +14 -14
  79. package/dist/chunks/{command-1yq9hg58.js → file-retention-5zrxpy3q.js} +5 -5
  80. package/dist/chunks/{command-t8erkws8.js → file-retention-61qraad9.js} +5 -5
  81. package/dist/chunks/{command-6w959vfg.js → file-retention-650f1sfx.js} +11 -11
  82. package/dist/chunks/{command-ggn31dpb.js → file-retention-68qb3djy.js} +2 -2
  83. package/dist/chunks/{command-7fzp8zae.js → file-retention-68tk6k3r.js} +9 -9
  84. package/dist/chunks/{command-c55jkhec.js → file-retention-68tn9ypg.js} +16 -16
  85. package/dist/chunks/{command-3325mep2.js → file-retention-6nj48chv.js} +7 -7
  86. package/dist/chunks/{command-hretfjjx.js → file-retention-6sg7v011.js} +2 -2
  87. package/dist/chunks/{command-h5gjn4y2.js → file-retention-6xnqn21j.js} +3 -3
  88. package/dist/chunks/{command-n6198yay.js → file-retention-6xwywkh7.js} +21 -15
  89. package/dist/chunks/{command-mr41mz10.js → file-retention-6zvhcg4h.js} +9 -9
  90. package/dist/chunks/{command-m3vwtq97.js → file-retention-721agqj7.js} +26 -26
  91. package/dist/chunks/{command-5gxhv5t4.js → file-retention-72b6x64g.js} +5 -5
  92. package/dist/chunks/{command-76cb1hcw.js → file-retention-76cb1hcw.js} +1 -1
  93. package/dist/chunks/{command-nyxvvj5y.js → file-retention-79k544d0.js} +5 -5
  94. package/dist/chunks/{command-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  95. package/dist/chunks/{command-26sg6z04.js → file-retention-7ecjk65p.js} +14 -14
  96. package/dist/chunks/file-retention-7etbzm9y.js +46 -0
  97. package/dist/chunks/{command-x79ghvf2.js → file-retention-7jen3kst.js} +9 -9
  98. package/dist/chunks/{command-7kr66rt3.js → file-retention-7kr66rt3.js} +1 -1
  99. package/dist/chunks/{command-7w2ypzdf.js → file-retention-7w2ypzdf.js} +1 -1
  100. package/dist/chunks/{command-7weczvnd.js → file-retention-7weczvnd.js} +1 -1
  101. package/dist/chunks/{command-775hqbnd.js → file-retention-80mg3ag8.js} +3 -3
  102. package/dist/chunks/{command-m35sj09n.js → file-retention-837bxc3c.js} +12 -12
  103. package/dist/chunks/{command-xywcct0r.js → file-retention-87jq36v2.js} +25 -25
  104. package/dist/chunks/{command-89287pr7.js → file-retention-89287pr7.js} +1 -1
  105. package/dist/chunks/{command-8b3vzgkx.js → file-retention-8b3vzgkx.js} +1 -1
  106. package/dist/chunks/{command-4pefe19r.js → file-retention-8eshswe5.js} +11 -11
  107. package/dist/chunks/{command-x67mg8mk.js → file-retention-8sxe6kv8.js} +8 -3
  108. package/dist/chunks/{command-ahw9krkn.js → file-retention-8v7h9drr.js} +39 -37
  109. package/dist/chunks/{command-8wtp7s3z.js → file-retention-8wtp7s3z.js} +1 -1
  110. package/dist/chunks/{command-pemyrp0y.js → file-retention-90gj1595.js} +4 -4
  111. package/dist/chunks/{command-90zstvax.js → file-retention-90zstvax.js} +1 -1
  112. package/dist/chunks/{command-xya5z1v4.js → file-retention-94e33dpz.js} +3 -3
  113. package/dist/chunks/{command-gmg5z9db.js → file-retention-9dm6vsa2.js} +30 -26
  114. package/dist/chunks/{command-h91vm5r2.js → file-retention-9f3jsh1d.js} +9 -9
  115. package/dist/chunks/{command-htyjw1t2.js → file-retention-9g6yrp67.js} +183 -183
  116. package/dist/chunks/{command-467b3p22.js → file-retention-9gczbj86.js} +13 -13
  117. package/dist/chunks/{command-vxsh6985.js → file-retention-9pkyxfc8.js} +31 -31
  118. package/dist/chunks/{command-n31szky0.js → file-retention-9s6tmzsz.js} +15 -15
  119. package/dist/chunks/{command-wjkfvcx3.js → file-retention-9s8ccxzp.js} +15 -15
  120. package/dist/chunks/{command-frktwh14.js → file-retention-9v7xfrsr.js} +9 -9
  121. package/dist/chunks/{command-wmyfck53.js → file-retention-9z0qc3sg.js} +34 -34
  122. package/dist/chunks/{command-nff5fnx5.js → file-retention-a1j9h5sv.js} +30 -30
  123. package/dist/chunks/{command-7215dbqr.js → file-retention-a4ww6fpm.js} +6 -6
  124. package/dist/chunks/{command-kmxkyq3p.js → file-retention-a5wpc3w3.js} +50 -50
  125. package/dist/chunks/{command-q5rwejs6.js → file-retention-abtpjz44.js} +22 -22
  126. package/dist/chunks/{command-k9s4eaab.js → file-retention-agemttc5.js} +28 -28
  127. package/dist/chunks/{command-j6942x1g.js → file-retention-ananre62.js} +16 -16
  128. package/dist/chunks/{command-r4ce7j88.js → file-retention-ap8y92rr.js} +6 -6
  129. package/dist/chunks/{command-xeazcnat.js → file-retention-atscc837.js} +18 -18
  130. package/dist/chunks/{command-r15e5fgt.js → file-retention-av46dpsn.js} +11 -11
  131. package/dist/chunks/{command-jfn1q9at.js → file-retention-avaerfkj.js} +13 -13
  132. package/dist/chunks/{command-q4wm190t.js → file-retention-ay9b3rdk.js} +23 -23
  133. package/dist/chunks/{command-3cbjf1nt.js → file-retention-ayjs7tqn.js} +2 -2
  134. package/dist/chunks/{command-98h4mwq7.js → file-retention-b1tz7g4k.js} +27 -27
  135. package/dist/chunks/{command-hqv8ds23.js → file-retention-b4rwxy6m.js} +9 -9
  136. package/dist/chunks/{command-5nnwax6m.js → file-retention-b6vsg801.js} +5 -5
  137. package/dist/chunks/{command-j5fr71ge.js → file-retention-b8n7cma0.js} +4 -4
  138. package/dist/chunks/{command-hszgmwg9.js → file-retention-ba16f7j8.js} +18 -18
  139. package/dist/chunks/{command-vy3dbkv2.js → file-retention-bg3xpdpw.js} +25 -25
  140. package/dist/chunks/{command-f8bbmp6a.js → file-retention-bjaevfq0.js} +8 -8
  141. package/dist/chunks/{command-bnzx9dwt.js → file-retention-bnzx9dwt.js} +2 -2
  142. package/dist/chunks/{command-7ppvtjhd.js → file-retention-brbp1jmy.js} +12 -12
  143. package/dist/chunks/{command-d390zwf3.js → file-retention-c0tz6aqz.js} +11 -11
  144. package/dist/chunks/{command-a84pm7qp.js → file-retention-c32zfq3f.js} +8 -8
  145. package/dist/chunks/{command-302t0y3a.js → file-retention-ctj276x0.js} +19 -19
  146. package/dist/chunks/{command-r2jsee34.js → file-retention-ctxsgcm2.js} +8 -8
  147. package/dist/chunks/{command-cwrgdav8.js → file-retention-cwrgdav8.js} +2 -2
  148. package/dist/chunks/{command-kzdam8c6.js → file-retention-cxab28sr.js} +5 -5
  149. package/dist/chunks/{command-8ktngwzh.js → file-retention-d1jwara1.js} +30 -30
  150. package/dist/chunks/{command-x5vff03n.js → file-retention-d4gmqgvp.js} +18 -18
  151. package/dist/chunks/{command-d4v9tmah.js → file-retention-d4v9tmah.js} +2 -2
  152. package/dist/chunks/file-retention-d77dj7jw.js +18 -0
  153. package/dist/chunks/{command-ss2grsr1.js → file-retention-d9b1e71e.js} +19 -19
  154. package/dist/chunks/{command-rq1bn5ff.js → file-retention-dbhc229r.js} +39 -39
  155. package/dist/chunks/{command-fdegceef.js → file-retention-dcdd8gp0.js} +28 -28
  156. package/dist/chunks/{command-pph0sm0s.js → file-retention-dcybvycp.js} +6 -6
  157. package/dist/chunks/{command-f163p87t.js → file-retention-dhv1xx0k.js} +9 -9
  158. package/dist/chunks/{command-4tf5hgjt.js → file-retention-dkb1sx3x.js} +36 -32
  159. package/dist/chunks/{command-ga5t9aga.js → file-retention-dncts3kv.js} +62 -62
  160. package/dist/chunks/{command-dt77769w.js → file-retention-dt77769w.js} +1 -1
  161. package/dist/chunks/{command-75q1s5an.js → file-retention-dvnqv6yn.js} +4 -4
  162. package/dist/chunks/{command-ga0jqm62.js → file-retention-dvyrd087.js} +35 -35
  163. package/dist/chunks/{command-d4abdmzn.js → file-retention-dx38te4v.js} +21 -21
  164. package/dist/chunks/{command-s8d7542g.js → file-retention-e5dmmprw.js} +16 -16
  165. package/dist/chunks/{command-zg9xszfz.js → file-retention-e6er0smf.js} +4 -4
  166. package/dist/chunks/{command-e834z07m.js → file-retention-e834z07m.js} +1 -1
  167. package/dist/chunks/{command-eqw4pqj1.js → file-retention-eqw4pqj1.js} +2 -2
  168. package/dist/chunks/{command-yjw0tny1.js → file-retention-evsac8k0.js} +30 -30
  169. package/dist/chunks/{command-zw5s2a2z.js → file-retention-ewa1ec51.js} +4 -4
  170. package/dist/chunks/{command-tp5psy3g.js → file-retention-f15w2kpp.js} +9 -9
  171. package/dist/chunks/{command-p4q03rmg.js → file-retention-f3efch3k.js} +25 -25
  172. package/dist/chunks/{command-czy387n2.js → file-retention-f7rj94ae.js} +42 -42
  173. package/dist/chunks/{command-6sxf2mfa.js → file-retention-fa7jqgqj.js} +6 -6
  174. package/dist/chunks/{command-fffv3p7h.js → file-retention-fffv3p7h.js} +1 -1
  175. package/dist/chunks/{command-t323kqwe.js → file-retention-ffka7n84.js} +12 -12
  176. package/dist/chunks/{command-fg9p65nk.js → file-retention-fg9p65nk.js} +2 -2
  177. package/dist/chunks/{command-d0p9h96d.js → file-retention-fjjazzdv.js} +20 -20
  178. package/dist/chunks/{command-2m2g9ynh.js → file-retention-fwp9mfc9.js} +4 -4
  179. package/dist/chunks/{command-wr3re1en.js → file-retention-fznmdakp.js} +4 -4
  180. package/dist/chunks/{command-g3jajyb4.js → file-retention-g2jbspnp.js} +15 -15
  181. package/dist/chunks/{command-cqbn3g43.js → file-retention-g63e6h3e.js} +36 -36
  182. package/dist/chunks/{command-veesmm8k.js → file-retention-gbcn9d4h.js} +5 -5
  183. package/dist/chunks/{command-9n68tmyf.js → file-retention-gbgy6ap4.js} +5 -5
  184. package/dist/chunks/{command-gbjdnr5j.js → file-retention-gbjdnr5j.js} +2 -2
  185. package/dist/chunks/{command-5nrew705.js → file-retention-gcavn3wx.js} +5 -5
  186. package/dist/chunks/{command-28d0291v.js → file-retention-gh4z7wry.js} +39 -39
  187. package/dist/chunks/{command-zbbn7txt.js → file-retention-gj10dfeb.js} +12 -12
  188. package/dist/chunks/{command-ajv23y1e.js → file-retention-gmnq7sxz.js} +54 -54
  189. package/dist/chunks/{command-g2m4kvc9.js → file-retention-gxe5e77w.js} +8 -8
  190. package/dist/chunks/{command-gxs71cxp.js → file-retention-gxs71cxp.js} +1 -1
  191. package/dist/chunks/{command-gzayeng8.js → file-retention-h5enc8pd.js} +25 -25
  192. package/dist/chunks/{command-cmrdg35n.js → file-retention-h6ejcba2.js} +5 -5
  193. package/dist/chunks/{command-9dea7wbw.js → file-retention-hew1js5q.js} +2 -2
  194. package/dist/chunks/{command-yms5yk40.js → file-retention-hkyks9g6.js} +11 -11
  195. package/dist/chunks/{command-kqtx5w6f.js → file-retention-hm3wjv3t.js} +24 -24
  196. package/dist/chunks/{command-r6mcamb5.js → file-retention-hmmsk6f4.js} +18 -18
  197. package/dist/chunks/{command-0m2hpscf.js → file-retention-hn189zr5.js} +4 -4
  198. package/dist/chunks/{command-q36xmy8v.js → file-retention-hnxa655x.js} +22 -22
  199. package/dist/chunks/{command-hpg1pkwy.js → file-retention-hpg1pkwy.js} +1 -1
  200. package/dist/chunks/{command-4034feyd.js → file-retention-hqvhb0wh.js} +11 -11
  201. package/dist/chunks/{command-6rehztjd.js → file-retention-hvgfddwz.js} +11 -11
  202. package/dist/chunks/{command-rg9j8c64.js → file-retention-hx2h0g86.js} +9 -9
  203. package/dist/chunks/{command-12g9ep21.js → file-retention-hz2g8n0e.js} +5 -5
  204. package/dist/chunks/{command-je2j8er4.js → file-retention-j4tx0dw9.js} +19 -19
  205. package/dist/chunks/{command-qj7pvvpf.js → file-retention-j6q7spb2.js} +34 -34
  206. package/dist/chunks/{command-crsbatbp.js → file-retention-j90hxq85.js} +11 -11
  207. package/dist/chunks/{command-vtmxyqqs.js → file-retention-jd8phrvf.js} +33 -33
  208. package/dist/chunks/{command-jkdcm5hg.js → file-retention-jkdcm5hg.js} +1 -1
  209. package/dist/chunks/{command-fhtgvnfh.js → file-retention-jmekf4r3.js} +9 -9
  210. package/dist/chunks/{command-jtnps1zs.js → file-retention-jtnps1zs.js} +2 -2
  211. package/dist/chunks/{command-j7fgn957.js → file-retention-k0kcv3gp.js} +9 -9
  212. package/dist/chunks/{command-y4hqb8zf.js → file-retention-k2xygrq7.js} +11 -11
  213. package/dist/chunks/{command-kj9n5bvh.js → file-retention-k46dd5bg.js} +4 -4
  214. package/dist/chunks/{command-q0fawvbg.js → file-retention-k9wymzdg.js} +6 -6
  215. package/dist/chunks/{command-mdwaa3r0.js → file-retention-kkgm43pe.js} +11 -11
  216. package/dist/chunks/{command-thpvhm7p.js → file-retention-kpa09rhw.js} +6 -6
  217. package/dist/chunks/{command-kt3bjfbg.js → file-retention-kt3bjfbg.js} +1 -1
  218. package/dist/chunks/{command-kzczzf4v.js → file-retention-kzczzf4v.js} +1 -1
  219. package/dist/chunks/{command-m1714858.js → file-retention-m1714858.js} +1 -1
  220. package/dist/chunks/{command-ys6g3emr.js → file-retention-m2bn1thc.js} +28 -28
  221. package/dist/chunks/{command-vsnkte39.js → file-retention-m2vpvwkm.js} +54 -54
  222. package/dist/chunks/{command-a4v3wsmw.js → file-retention-m9js7g7m.js} +9 -9
  223. package/dist/chunks/{command-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  224. package/dist/chunks/{command-8z6m94af.js → file-retention-mb7mbhnz.js} +3 -3
  225. package/dist/chunks/{command-a2gahn4b.js → file-retention-mbhkhp6q.js} +6 -6
  226. package/dist/chunks/{command-rs6jcsrf.js → file-retention-mhwtew22.js} +27 -27
  227. package/dist/chunks/{command-98hszmvx.js → file-retention-mtqqxse4.js} +5 -5
  228. package/dist/chunks/{command-wws03c5r.js → file-retention-mzm8bzzq.js} +4 -4
  229. package/dist/chunks/{command-thc4f7yk.js → file-retention-n3bkb5q1.js} +8 -8
  230. package/dist/chunks/{command-th74p2h3.js → file-retention-n3ga810d.js} +17 -17
  231. package/dist/chunks/{command-amadrth6.js → file-retention-n6xbcgna.js} +10 -10
  232. package/dist/chunks/{command-3v6tj8d3.js → file-retention-n8089wab.js} +12 -12
  233. package/dist/chunks/{command-rwsvr4dq.js → file-retention-ndksvsqq.js} +5 -5
  234. package/dist/chunks/{command-28q9vvsb.js → file-retention-nfggrfj2.js} +9 -9
  235. package/dist/chunks/{command-040mzty7.js → file-retention-nmarmpt2.js} +11 -11
  236. package/dist/chunks/{command-xcvkrh98.js → file-retention-pjx7tz23.js} +5 -5
  237. package/dist/chunks/{command-pknna89w.js → file-retention-pknna89w.js} +1 -1
  238. package/dist/chunks/{command-xvh6nyz9.js → file-retention-pkq3dv06.js} +16 -16
  239. package/dist/chunks/{command-mgvy0xnk.js → file-retention-pmhb73dp.js} +19 -19
  240. package/dist/chunks/{command-nptrtzfm.js → file-retention-q5nd4tdk.js} +7 -7
  241. package/dist/chunks/{command-0wk4arae.js → file-retention-qbkx85ty.js} +15 -15
  242. package/dist/chunks/{command-k11dcgkf.js → file-retention-qe6wsf1h.js} +5 -5
  243. package/dist/chunks/{command-qp7r0hxv.js → file-retention-qp7r0hxv.js} +1 -1
  244. package/dist/chunks/{command-qqvy8y24.js → file-retention-qqvy8y24.js} +1 -1
  245. package/dist/chunks/{command-qsdghx1p.js → file-retention-qsdghx1p.js} +1 -1
  246. package/dist/chunks/{command-v0gf7nmq.js → file-retention-qtjtwdkb.js} +27 -27
  247. package/dist/chunks/{command-3bbtnch6.js → file-retention-qxk677ch.js} +31 -31
  248. package/dist/chunks/{command-aenn6vam.js → file-retention-r17fbvme.js} +5 -5
  249. package/dist/chunks/{command-qw2t3dzn.js → file-retention-r1fnsf7p.js} +3 -3
  250. package/dist/chunks/{command-k4am5acp.js → file-retention-r388hamt.js} +30 -30
  251. package/dist/chunks/{command-rb9dy4dg.js → file-retention-rb9dy4dg.js} +1 -1
  252. package/dist/chunks/{command-j16gqe8n.js → file-retention-rcw12gd3.js} +33 -33
  253. package/dist/chunks/{command-2wwcsj3x.js → file-retention-rfhh9jbp.js} +3 -3
  254. package/dist/chunks/{command-ryqhrx4f.js → file-retention-rjdswr2s.js} +19 -19
  255. package/dist/chunks/{command-n7bnkb3p.js → file-retention-rmt6m6se.js} +9 -9
  256. package/dist/chunks/{command-66fewe6v.js → file-retention-rpxemsgz.js} +97 -97
  257. package/dist/chunks/{command-z0bs4asb.js → file-retention-rpzwd4m9.js} +4 -4
  258. package/dist/chunks/{command-4fxzkjd3.js → file-retention-rr9v9k3b.js} +10 -10
  259. package/dist/chunks/{command-rt5dr6hb.js → file-retention-rt5dr6hb.js} +1 -1
  260. package/dist/chunks/{command-hqvy1seb.js → file-retention-s0699xsp.js} +19 -19
  261. package/dist/chunks/{command-tsvf0ypj.js → file-retention-s5vg2p0e.js} +10 -10
  262. package/dist/chunks/{command-1a7qmzy6.js → file-retention-s93d5mte.js} +15 -15
  263. package/dist/chunks/{command-sa3fpqfw.js → file-retention-sa3fpqfw.js} +2 -2
  264. package/dist/chunks/{command-sbya78hr.js → file-retention-sbya78hr.js} +1 -1
  265. package/dist/chunks/{command-rpe9qcx0.js → file-retention-sctph3n4.js} +61 -61
  266. package/dist/chunks/{command-szscrh8z.js → file-retention-sj2s1b9m.js} +23 -23
  267. package/dist/chunks/{command-enq2s1fc.js → file-retention-sj70yks3.js} +12 -12
  268. package/dist/chunks/{command-4ag3733q.js → file-retention-skrg2vfv.js} +30 -30
  269. package/dist/chunks/{command-7q0kkz2h.js → file-retention-snhnc0ef.js} +10 -10
  270. package/dist/chunks/{command-qw26gbrf.js → file-retention-snjqag79.js} +9 -9
  271. package/dist/chunks/{command-1fjqwg4j.js → file-retention-sqz6jy89.js} +59 -59
  272. package/dist/chunks/{command-svcy3p9a.js → file-retention-svcy3p9a.js} +1 -1
  273. package/dist/chunks/{command-mnhcj7qf.js → file-retention-swwepy7r.js} +13 -13
  274. package/dist/chunks/{command-tm5zj7bd.js → file-retention-szfk6t8e.js} +37 -37
  275. package/dist/chunks/{command-96djdqw5.js → file-retention-szwm4crx.js} +4 -4
  276. package/dist/chunks/{command-4sq52vjb.js → file-retention-t6zxhcnm.js} +45 -45
  277. package/dist/chunks/{command-d7x2s5pv.js → file-retention-tb15rp1c.js} +4 -4
  278. package/dist/chunks/{command-tb2mrvc9.js → file-retention-tb2mrvc9.js} +1 -1
  279. package/dist/chunks/{command-tczq8hjw.js → file-retention-tczq8hjw.js} +1 -1
  280. package/dist/chunks/{command-pe5w8f1e.js → file-retention-tfhex4ds.js} +79 -79
  281. package/dist/chunks/{command-1b1fgn2c.js → file-retention-tgc8br6y.js} +9 -9
  282. package/dist/chunks/{command-7xz196dn.js → file-retention-tnya1cye.js} +6 -6
  283. package/dist/chunks/{command-j376ae4e.js → file-retention-tr8x705m.js} +5 -5
  284. package/dist/chunks/{command-twssxy5n.js → file-retention-twssxy5n.js} +2 -2
  285. package/dist/chunks/{command-2kg89srt.js → file-retention-v0t96s7a.js} +4 -4
  286. package/dist/chunks/{command-jqp59910.js → file-retention-v1mj0bgs.js} +31 -31
  287. package/dist/chunks/{command-v2r1d0zg.js → file-retention-v2r1d0zg.js} +1 -1
  288. package/dist/chunks/{command-nv2c5e9q.js → file-retention-v37bc009.js} +3 -3
  289. package/dist/chunks/{command-z9j69c60.js → file-retention-vh942nm4.js} +15 -15
  290. package/dist/chunks/{command-vjf35v1f.js → file-retention-vjf35v1f.js} +1 -1
  291. package/dist/chunks/{command-c5zvymhv.js → file-retention-vt2d6wap.js} +4 -4
  292. package/dist/chunks/{command-rrsfp6ze.js → file-retention-vxcj7dj3.js} +14 -14
  293. package/dist/chunks/{command-ajjm4dtx.js → file-retention-w1g97wbr.js} +9 -9
  294. package/dist/chunks/{command-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  295. package/dist/chunks/{command-6f40yt45.js → file-retention-w4whnx61.js} +22 -22
  296. package/dist/chunks/{command-vvrd773r.js → file-retention-wa6q08vq.js} +25 -25
  297. package/dist/chunks/{command-wakvkjy4.js → file-retention-wakvkjy4.js} +1 -1
  298. package/dist/chunks/{command-ptv6adae.js → file-retention-waxfvz31.js} +33 -33
  299. package/dist/chunks/{command-wd87259q.js → file-retention-wd87259q.js} +1 -1
  300. package/dist/chunks/{command-nx4vzyjd.js → file-retention-wegkxhrn.js} +2 -2
  301. package/dist/chunks/{command-bjr4tvbr.js → file-retention-weqsz73e.js} +6 -6
  302. package/dist/chunks/{command-gctjzyr1.js → file-retention-wfnayh71.js} +11 -11
  303. package/dist/chunks/{command-8hfmqq8w.js → file-retention-wgvnftve.js} +8 -8
  304. package/dist/chunks/{command-5zbs2fep.js → file-retention-wh423nk9.js} +22 -22
  305. package/dist/chunks/{command-rtqf1qnx.js → file-retention-wm09fakr.js} +25 -25
  306. package/dist/chunks/{command-wnhgecwx.js → file-retention-wnhgecwx.js} +1 -1
  307. package/dist/chunks/{command-4gfkesf9.js → file-retention-wr27nwte.js} +11 -11
  308. package/dist/chunks/{command-exw3n246.js → file-retention-wy0xsgxw.js} +8 -8
  309. package/dist/chunks/{command-ag68y7y1.js → file-retention-x24tvm8w.js} +24 -24
  310. package/dist/chunks/{command-qj27ec1j.js → file-retention-x4mcewfn.js} +4 -4
  311. package/dist/chunks/{command-axd1rwaf.js → file-retention-x4t5xjs0.js} +21 -21
  312. package/dist/chunks/{command-k0dmerk5.js → file-retention-x59t0gss.js} +35 -35
  313. package/dist/chunks/{command-6sd197cc.js → file-retention-xa716ypk.js} +15 -15
  314. package/dist/chunks/{command-bstexjd6.js → file-retention-xd9cc171.js} +5 -5
  315. package/dist/chunks/{command-wrq7dm6q.js → file-retention-xe84dabc.js} +4 -4
  316. package/dist/chunks/{command-cqdj8zma.js → file-retention-xgbgysg1.js} +20 -20
  317. package/dist/chunks/{command-797jymej.js → file-retention-xhthag0s.js} +13 -13
  318. package/dist/chunks/{command-8xz27cp9.js → file-retention-xksw6ev0.js} +4 -4
  319. package/dist/chunks/{command-b8gtv96y.js → file-retention-xmm4qtr7.js} +18 -18
  320. package/dist/chunks/{command-289dd89z.js → file-retention-xnc68z72.js} +12 -12
  321. package/dist/chunks/{command-dypb56j1.js → file-retention-y32xxt00.js} +4 -4
  322. package/dist/chunks/{command-s4kyhetj.js → file-retention-y9hckaaa.js} +6 -6
  323. package/dist/chunks/{command-yb20nhc3.js → file-retention-yb20nhc3.js} +1 -1
  324. package/dist/chunks/{command-ykvsfm8k.js → file-retention-ydsespw1.js} +8 -8
  325. package/dist/chunks/{command-4cr9jw6n.js → file-retention-yfe5zj2r.js} +1 -1
  326. package/dist/chunks/{command-qpjbvmjj.js → file-retention-ym5ftk47.js} +19 -19
  327. package/dist/chunks/{command-gbg10xz8.js → file-retention-ymb0ygkv.js} +12 -12
  328. package/dist/chunks/{command-ap7w36b6.js → file-retention-ynsc8wg2.js} +16 -16
  329. package/dist/chunks/{command-yr705xyq.js → file-retention-yr705xyq.js} +1 -1
  330. package/dist/chunks/{command-q3cah92p.js → file-retention-ysfhhwnn.js} +7 -7
  331. package/dist/chunks/{command-kn3pbsk5.js → file-retention-yv7pt3ah.js} +3 -3
  332. package/dist/chunks/{command-zxrsq0zh.js → file-retention-yvchjg13.js} +13 -13
  333. package/dist/chunks/{command-yvtc2x31.js → file-retention-yvtc2x31.js} +1 -1
  334. package/dist/chunks/{command-rsre77k7.js → file-retention-yx0ag50g.js} +21 -21
  335. package/dist/chunks/{command-6ss6ngz0.js → file-retention-yydqqga9.js} +4 -4
  336. package/dist/chunks/{command-yv0q8n2v.js → file-retention-yzde64vc.js} +16 -16
  337. package/dist/chunks/{command-90ct6wq4.js → file-retention-z080rjh6.js} +4 -4
  338. package/dist/chunks/{command-9cv7cw0n.js → file-retention-z7re6mpg.js} +15 -15
  339. package/dist/chunks/{command-j9nxzz3g.js → file-retention-ze75qvmd.js} +3 -3
  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 +11 -11
  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 +130 -130
  365. package/dist/config/plugin/skill-file.js +146 -146
  366. package/dist/config/plugin/skill-scan.js +1 -1
  367. package/dist/config/plugin/skill.js +153 -153
  368. package/dist/config/plugin/snapshot.js +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 +129 -129
  372. package/dist/config/plugin/worktree.js +132 -132
  373. package/dist/config/variable.js +1 -1
  374. package/dist/config/watch.js +1 -1
  375. package/dist/config.js +135 -135
  376. package/dist/console-access.js +1 -1
  377. package/dist/credential/sql.js +2 -2
  378. package/dist/credential.js +94 -94
  379. package/dist/database/database.js +81 -81
  380. package/dist/database/drizzle/effect-sqlite/driver.js +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/v1-migration.bun.js +108 -108
  461. package/dist/database/v1-migration.js +1 -1
  462. package/dist/effect/app-node-builder.js +430 -430
  463. package/dist/effect/app-node-platform.js +2 -2
  464. package/dist/effect/keyed-mutex.js +3 -3
  465. package/dist/effect/websocket-constructor.js +1 -1
  466. package/dist/environment/driver.js +1 -1
  467. package/dist/environment/environment.js +106 -106
  468. package/dist/environment/exec-defaults.js +2 -2
  469. package/dist/environment/files.js +1 -1
  470. package/dist/environment/index.js +108 -108
  471. package/dist/environment/local.js +2 -2
  472. package/dist/environment/memory.js +2 -2
  473. package/dist/environment/unavailable.js +3 -3
  474. package/dist/event/sql.js +1 -1
  475. package/dist/event-logger.js +85 -85
  476. package/dist/file-access.js +156 -156
  477. package/dist/file-mutation.js +109 -107
  478. package/dist/file-retention.js +1 -1
  479. package/dist/filesystem/fff.bun.js +2 -2
  480. package/dist/filesystem/fff.js +1 -1
  481. package/dist/filesystem/fff.node.js +2 -2
  482. package/dist/filesystem/fff.workerd.js +2 -2
  483. package/dist/filesystem/file-watch.js +91 -91
  484. package/dist/filesystem/location-watcher-policy.js +6 -6
  485. package/dist/filesystem/location-watcher.js +239 -239
  486. package/dist/filesystem/protected.js +1 -1
  487. package/dist/filesystem/search.js +112 -112
  488. package/dist/filesystem/watcher-binding.js +1 -1
  489. package/dist/filesystem/watcher.js +11 -11
  490. package/dist/filesystem.js +115 -115
  491. package/dist/form.js +89 -89
  492. package/dist/formatter/builtins.js +4 -4
  493. package/dist/formatter.js +100 -100
  494. package/dist/generate.js +118 -118
  495. package/dist/git.js +11 -11
  496. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  497. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  498. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  499. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  500. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  501. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  502. package/dist/github-copilot/copilot-provider.js +17 -17
  503. package/dist/github-copilot/models.js +104 -104
  504. package/dist/github-copilot/openai-compatible-error.js +1 -1
  505. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  506. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  507. package/dist/github-copilot/responses/openai-error.js +1 -1
  508. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  509. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  510. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  511. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  512. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  513. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  514. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  515. package/dist/image/notice.js +1 -1
  516. package/dist/image/photon-normalize.js +1 -1
  517. package/dist/image/photon-worker.js +1 -1
  518. package/dist/image/photon.js +4 -4
  519. package/dist/image.js +6 -6
  520. package/dist/instance/service.js +5 -5
  521. package/dist/instance.js +421 -421
  522. package/dist/instruction-discovery.js +91 -91
  523. package/dist/instructions/builtins.js +100 -100
  524. package/dist/instructions/index.js +1 -1
  525. package/dist/integration/connection.js +3 -3
  526. package/dist/integration.js +102 -102
  527. package/dist/job/sql.js +2 -2
  528. package/dist/job.js +86 -86
  529. package/dist/kv/sql.js +2 -2
  530. package/dist/kv.js +84 -84
  531. package/dist/location-activity.js +179 -179
  532. package/dist/location-lifecycle.js +150 -150
  533. package/dist/location-service-map.js +99 -99
  534. package/dist/location-services.js +418 -418
  535. package/dist/location.js +102 -102
  536. package/dist/managed-policy.js +3 -3
  537. package/dist/mcp/client.js +104 -104
  538. package/dist/mcp/index.js +122 -122
  539. package/dist/mcp/instructions.js +181 -181
  540. package/dist/mcp/oauth.js +89 -89
  541. package/dist/mcp/socket-client.js +1 -1
  542. package/dist/mcp/stdio.js +103 -103
  543. package/dist/mime.js +1 -1
  544. package/dist/modal/models.js +104 -104
  545. package/dist/model-resolver.js +110 -110
  546. package/dist/model-retry.js +1 -1
  547. package/dist/model.js +111 -111
  548. package/dist/models-dev/v1.js +1 -1
  549. package/dist/models-dev.js +121 -121
  550. package/dist/oauth/page.js +1 -1
  551. package/dist/permission/saved.js +91 -91
  552. package/dist/permission/sql.js +5 -5
  553. package/dist/permission.js +153 -153
  554. package/dist/persistent-pty/binary.bun.js +1 -1
  555. package/dist/persistent-pty/daemon.js +1 -1
  556. package/dist/persistent-pty/index.js +101 -101
  557. package/dist/persistent-pty/pty-binding.js +1 -1
  558. package/dist/persistent-pty.js +86 -86
  559. package/dist/plugin/agent.js +87 -87
  560. package/dist/plugin/command.js +115 -115
  561. package/dist/plugin/goal.js +3 -3
  562. package/dist/plugin/hooks.js +5 -5
  563. package/dist/plugin/host.js +236 -236
  564. package/dist/plugin/identity.js +5 -5
  565. package/dist/plugin/instance.js +5 -5
  566. package/dist/plugin/internal.js +397 -397
  567. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  568. package/dist/plugin/models-dev.js +110 -110
  569. package/dist/plugin/module.js +129 -129
  570. package/dist/plugin/optimize.js +2 -2
  571. package/dist/plugin/plan.js +146 -146
  572. package/dist/plugin/promise.js +1 -1
  573. package/dist/plugin/provider/amazon-bedrock.js +104 -104
  574. package/dist/plugin/provider/azure.js +132 -132
  575. package/dist/plugin/provider/cerebras.js +1 -1
  576. package/dist/plugin/provider/chatgpt.js +130 -130
  577. package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
  578. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  579. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  580. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  581. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  582. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  583. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  584. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  585. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  586. package/dist/plugin/provider/claude-agent/index.js +145 -145
  587. package/dist/plugin/provider/claude-agent/instructions.js +112 -112
  588. package/dist/plugin/provider/claude-agent/integration.js +113 -113
  589. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  590. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  591. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  592. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  593. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  594. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  595. package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
  596. package/dist/plugin/provider/claude-agent/provider.js +110 -110
  597. package/dist/plugin/provider/claude-agent/session.js +112 -112
  598. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  599. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  600. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  601. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  602. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  603. package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
  604. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  605. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  606. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  607. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  608. package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
  609. package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
  610. package/dist/plugin/provider/configured.js +126 -126
  611. package/dist/plugin/provider/credential-settings.js +85 -85
  612. package/dist/plugin/provider/databricks.js +1 -1
  613. package/dist/plugin/provider/digitalocean.js +108 -108
  614. package/dist/plugin/provider/dynamic.js +2 -2
  615. package/dist/plugin/provider/github-copilot.js +110 -110
  616. package/dist/plugin/provider/gitlab.js +107 -107
  617. package/dist/plugin/provider/google-vertex.js +127 -127
  618. package/dist/plugin/provider/kilo.js +1 -1
  619. package/dist/plugin/provider/llmgateway.js +89 -89
  620. package/dist/plugin/provider/lmstudio.js +139 -139
  621. package/dist/plugin/provider/local.js +136 -136
  622. package/dist/plugin/provider/modal.js +107 -107
  623. package/dist/plugin/provider/neon.js +1 -1
  624. package/dist/plugin/provider/nvidia.js +1 -1
  625. package/dist/plugin/provider/ollama.js +139 -139
  626. package/dist/plugin/provider/openai-context-caps.js +103 -103
  627. package/dist/plugin/provider/openai.js +130 -130
  628. package/dist/plugin/provider/opencode.js +132 -132
  629. package/dist/plugin/provider/openrouter.js +104 -104
  630. package/dist/plugin/provider/poe.js +90 -90
  631. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  632. package/dist/plugin/provider/refresh.js +87 -87
  633. package/dist/plugin/provider/sap-ai-core.js +104 -104
  634. package/dist/plugin/provider/sdk-factory.js +1 -1
  635. package/dist/plugin/provider/snowflake-cortex.js +129 -129
  636. package/dist/plugin/provider/vllm.js +137 -137
  637. package/dist/plugin/provider/xai.js +104 -104
  638. package/dist/plugin/provider/zenmux.js +1 -1
  639. package/dist/plugin/provider.js +212 -212
  640. package/dist/plugin/sdk.js +89 -89
  641. package/dist/plugin/service.js +3 -3
  642. package/dist/plugin/skill.js +149 -149
  643. package/dist/plugin/source-directory.js +1 -1
  644. package/dist/plugin/supervisor.js +405 -405
  645. package/dist/plugin/tool-input-repair.js +4 -4
  646. package/dist/plugin/update.js +6 -6
  647. package/dist/plugin/vcs/git.js +99 -99
  648. package/dist/plugin/vcs/hg.js +99 -99
  649. package/dist/plugin/verbosity.js +106 -106
  650. package/dist/plugin/warming.js +128 -128
  651. package/dist/plugin/websearch/exa.js +7 -7
  652. package/dist/plugin/websearch/firecrawl.js +8 -8
  653. package/dist/plugin/websearch/index.js +9 -9
  654. package/dist/plugin/websearch/mcp.js +4 -4
  655. package/dist/plugin/websearch/parallel.js +8 -8
  656. package/dist/plugin/websearch/tavily.js +6 -6
  657. package/dist/plugin/websearch/tinyfish.js +8 -8
  658. package/dist/plugin.js +247 -247
  659. package/dist/project/icon.js +5 -5
  660. package/dist/project/schema.js +8 -8
  661. package/dist/project/sql.js +4 -4
  662. package/dist/project.js +101 -101
  663. package/dist/provider.js +108 -108
  664. package/dist/pty/protocol.js +1 -1
  665. package/dist/pty/ticket.js +1 -1
  666. package/dist/pty.js +107 -107
  667. package/dist/reference/instructions.js +101 -101
  668. package/dist/reference.js +103 -103
  669. package/dist/repository-cache.js +93 -93
  670. package/dist/repository.js +3 -3
  671. package/dist/ripgrep/binary.js +2 -2
  672. package/dist/ripgrep.js +110 -110
  673. package/dist/rpc.js +99 -99
  674. package/dist/schedule/check.js +241 -241
  675. package/dist/schedule/sql.js +6 -6
  676. package/dist/schedule.js +247 -247
  677. package/dist/schema.js +1 -1
  678. package/dist/session/affinity.js +1 -1
  679. package/dist/session/background.js +1 -1
  680. package/dist/session/blob.js +129 -129
  681. package/dist/session/command.js +85 -85
  682. package/dist/session/compaction.js +173 -173
  683. package/dist/session/context.js +198 -198
  684. package/dist/session/diff.js +101 -101
  685. package/dist/session/environment.js +5 -5
  686. package/dist/session/error.js +5 -5
  687. package/dist/session/event.js +1 -1
  688. package/dist/session/execution/restart.js +242 -242
  689. package/dist/session/execution.js +163 -163
  690. package/dist/session/generate.js +200 -200
  691. package/dist/session/history.js +136 -136
  692. package/dist/session/inbox.js +147 -147
  693. package/dist/session/info.js +3 -3
  694. package/dist/session/instruction-entry.js +90 -90
  695. package/dist/session/instruction-state.js +8 -8
  696. package/dist/session/instructions.js +137 -137
  697. package/dist/session/message-updater.js +4 -4
  698. package/dist/session/message.js +1 -1
  699. package/dist/session/model-request.js +168 -168
  700. package/dist/session/model-transport.js +9 -9
  701. package/dist/session/move.js +165 -165
  702. package/dist/session/projector.js +143 -143
  703. package/dist/session/prompt.js +148 -148
  704. package/dist/session/recent-text.js +1 -1
  705. package/dist/session/revert.js +139 -139
  706. package/dist/session/run-coordinator.js +1 -1
  707. package/dist/session/runner/index.js +3 -3
  708. package/dist/session/runner/llm.js +248 -248
  709. package/dist/session/runner/max-steps.js +1 -1
  710. package/dist/session/runner/model.js +113 -113
  711. package/dist/session/runner/publish-llm-event.js +149 -149
  712. package/dist/session/runner/retry.js +3 -3
  713. package/dist/session/runner/step.js +161 -161
  714. package/dist/session/runner/to-llm-message.js +137 -137
  715. package/dist/session/schema.js +5 -5
  716. package/dist/session/session.js +181 -181
  717. package/dist/session/shell.js +144 -144
  718. package/dist/session/skill.js +147 -147
  719. package/dist/session/sql.js +5 -5
  720. package/dist/session/stats.js +86 -86
  721. package/dist/session/store.js +142 -142
  722. package/dist/session/stored.js +2 -2
  723. package/dist/session/subagent-completion.js +1 -1
  724. package/dist/session/subagent-job.js +225 -225
  725. package/dist/session/system-prompt.js +3 -3
  726. package/dist/session/title.js +200 -200
  727. package/dist/session/to-session-error.js +148 -148
  728. package/dist/session/transfer.js +243 -243
  729. package/dist/session/usage.js +1 -1
  730. package/dist/session.js +235 -235
  731. package/dist/shared-cache.js +5 -5
  732. package/dist/shell/parse.js +6 -6
  733. package/dist/shell/result.js +1 -1
  734. package/dist/shell/scan.js +1 -1
  735. package/dist/shell/select.js +15 -15
  736. package/dist/shell.js +146 -146
  737. package/dist/skill/discovery.js +6 -6
  738. package/dist/skill/instructions.js +151 -151
  739. package/dist/skill.js +156 -156
  740. package/dist/snapshot.js +106 -106
  741. package/dist/state.js +1 -1
  742. package/dist/tool/html-markdown.js +1 -1
  743. package/dist/tool/http-body.js +1 -1
  744. package/dist/tool/mcp.js +178 -178
  745. package/dist/tool/plugin/artifact.js +228 -228
  746. package/dist/tool/plugin/edit.js +158 -158
  747. package/dist/tool/plugin/file-diff.js +1 -1
  748. package/dist/tool/plugin/glob.js +168 -168
  749. package/dist/tool/plugin/grep.js +168 -168
  750. package/dist/tool/plugin/image-generate.js +231 -231
  751. package/dist/tool/plugin/mcp-resource.js +162 -162
  752. package/dist/tool/plugin/opencode.js +161 -161
  753. package/dist/tool/plugin/patch.js +162 -162
  754. package/dist/tool/plugin/question.js +146 -146
  755. package/dist/tool/plugin/read.js +169 -169
  756. package/dist/tool/plugin/schedule.js +247 -247
  757. package/dist/tool/plugin/shell.js +233 -233
  758. package/dist/tool/plugin/skill.js +153 -153
  759. package/dist/tool/plugin/subagent.js +236 -236
  760. package/dist/tool/plugin/todo.js +153 -153
  761. package/dist/tool/plugin/webfetch.js +153 -153
  762. package/dist/tool/plugin/websearch.js +153 -153
  763. package/dist/tool/plugin/write.js +162 -162
  764. package/dist/tool/read-filesystem.js +113 -113
  765. package/dist/tool/runtime.js +1 -1
  766. package/dist/tool-output.js +7 -7
  767. package/dist/tool.js +159 -159
  768. package/dist/types/file-mutation.d.ts +8 -1
  769. package/dist/types/project/icon.d.ts +2 -2
  770. package/dist/usage-limits.js +98 -98
  771. package/dist/util/error-summary.js +1 -1
  772. package/dist/util/git-executable.js +3 -3
  773. package/dist/util/lazy.js +1 -1
  774. package/dist/util/slug.js +1 -1
  775. package/dist/util/token.js +1 -1
  776. package/dist/util/which.js +1 -1
  777. package/dist/util/wildcard.js +1 -1
  778. package/dist/v1/config/agent.js +7 -7
  779. package/dist/v1/config/command.js +3 -3
  780. package/dist/v1/config/mcp.js +4 -4
  781. package/dist/v1/config/migrate.js +105 -105
  782. package/dist/v1/config/permission.js +3 -3
  783. package/dist/v1/config/plugin.js +3 -3
  784. package/dist/v1/config/provider-options.js +1 -1
  785. package/dist/v1/config/provider.js +2 -2
  786. package/dist/variant.js +104 -104
  787. package/dist/vcs/patch.js +1 -1
  788. package/dist/vcs.js +102 -102
  789. package/dist/voice.js +99 -99
  790. package/dist/websearch.js +101 -101
  791. package/dist/wellknown/plugin.js +87 -87
  792. package/dist/wellknown.js +92 -92
  793. package/dist/workspace/driver.js +5 -5
  794. package/dist/workspace/sql.js +1 -1
  795. package/dist/workspace.js +89 -89
  796. package/dist/worktree/directory.js +2 -2
  797. package/dist/worktree/git.js +9 -9
  798. package/dist/worktree/sql.js +5 -5
  799. package/dist/worktree/strategies.js +102 -102
  800. package/dist/worktree.js +107 -107
  801. package/package.json +8 -8
  802. package/dist/chunks/command-1t7pz1nk.js +0 -43
  803. package/dist/chunks/command-g1r9ysfg.js +0 -555
  804. package/dist/chunks/command-mary8sqy.js +0 -261
  805. package/dist/chunks/command-x3bvnkne.js +0 -26
  806. package/dist/chunks/command-z355x5yr.js +0 -18
  807. /package/dist/chunks/{command-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  808. /package/dist/chunks/{command-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  809. /package/dist/chunks/{command-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  810. /package/dist/chunks/{command-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  811. /package/dist/chunks/{command-1kah00gy.js → file-retention-1kah00gy.js} +0 -0
  812. /package/dist/chunks/{command-1pevy3nx.js → file-retention-1pevy3nx.js} +0 -0
  813. /package/dist/chunks/{command-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
  814. /package/dist/chunks/{command-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  815. /package/dist/chunks/{command-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
  816. /package/dist/chunks/{command-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  817. /package/dist/chunks/{command-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  818. /package/dist/chunks/{command-3asan66x.js → file-retention-3asan66x.js} +0 -0
  819. /package/dist/chunks/{command-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  820. /package/dist/chunks/{command-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  821. /package/dist/chunks/{command-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  822. /package/dist/chunks/{command-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  823. /package/dist/chunks/{command-4qk9sjk2.js → file-retention-4qk9sjk2.js} +0 -0
  824. /package/dist/chunks/{command-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
  825. /package/dist/chunks/{command-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  826. /package/dist/chunks/{command-53557ph1.js → file-retention-53557ph1.js} +0 -0
  827. /package/dist/chunks/{command-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  828. /package/dist/chunks/{command-5w3e23ze.js → file-retention-5w3e23ze.js} +0 -0
  829. /package/dist/chunks/{command-6agm2x70.js → file-retention-6agm2x70.js} +0 -0
  830. /package/dist/chunks/{command-6prwharc.js → file-retention-6prwharc.js} +0 -0
  831. /package/dist/chunks/{command-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
  832. /package/dist/chunks/{command-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  833. /package/dist/chunks/{command-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  834. /package/dist/chunks/{command-822emrt2.js → file-retention-822emrt2.js} +0 -0
  835. /package/dist/chunks/{command-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
  836. /package/dist/chunks/{command-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  837. /package/dist/chunks/{command-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  838. /package/dist/chunks/{command-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
  839. /package/dist/chunks/{command-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  840. /package/dist/chunks/{command-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  841. /package/dist/chunks/{command-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  842. /package/dist/chunks/{command-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  843. /package/dist/chunks/{command-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  844. /package/dist/chunks/{command-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  845. /package/dist/chunks/{command-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  846. /package/dist/chunks/{command-beh6qq61.js → file-retention-beh6qq61.js} +0 -0
  847. /package/dist/chunks/{command-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  848. /package/dist/chunks/{command-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  849. /package/dist/chunks/{command-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  850. /package/dist/chunks/{command-cqv5kn06.js → file-retention-cqv5kn06.js} +0 -0
  851. /package/dist/chunks/{command-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  852. /package/dist/chunks/{command-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  853. /package/dist/chunks/{command-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  854. /package/dist/chunks/{command-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  855. /package/dist/chunks/{command-dbht28n9.js → file-retention-dbht28n9.js} +0 -0
  856. /package/dist/chunks/{command-df08tz66.js → file-retention-df08tz66.js} +0 -0
  857. /package/dist/chunks/{command-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  858. /package/dist/chunks/{command-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  859. /package/dist/chunks/{command-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  860. /package/dist/chunks/{command-ean2d8b5.js → file-retention-ean2d8b5.js} +0 -0
  861. /package/dist/chunks/{command-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  862. /package/dist/chunks/{command-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  863. /package/dist/chunks/{command-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  864. /package/dist/chunks/{command-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  865. /package/dist/chunks/{command-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  866. /package/dist/chunks/{command-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  867. /package/dist/chunks/{command-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  868. /package/dist/chunks/{command-fkpq3x5p.js → file-retention-fkpq3x5p.js} +0 -0
  869. /package/dist/chunks/{command-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  870. /package/dist/chunks/{command-g86h250q.js → file-retention-g86h250q.js} +0 -0
  871. /package/dist/chunks/{command-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  872. /package/dist/chunks/{command-gftt206x.js → file-retention-gftt206x.js} +0 -0
  873. /package/dist/chunks/{command-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
  874. /package/dist/chunks/{command-hk9envan.js → file-retention-hk9envan.js} +0 -0
  875. /package/dist/chunks/{command-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  876. /package/dist/chunks/{command-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  877. /package/dist/chunks/{command-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
  878. /package/dist/chunks/{command-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  879. /package/dist/chunks/{command-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  880. /package/dist/chunks/{command-jwr30sdr.js → file-retention-jwr30sdr.js} +0 -0
  881. /package/dist/chunks/{command-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  882. /package/dist/chunks/{command-m18g726c.js → file-retention-m18g726c.js} +0 -0
  883. /package/dist/chunks/{command-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  884. /package/dist/chunks/{command-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  885. /package/dist/chunks/{command-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  886. /package/dist/chunks/{command-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  887. /package/dist/chunks/{command-nh4v3znn.js → file-retention-nh4v3znn.js} +0 -0
  888. /package/dist/chunks/{command-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  889. /package/dist/chunks/{command-p71gwv9c.js → file-retention-p71gwv9c.js} +0 -0
  890. /package/dist/chunks/{command-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  891. /package/dist/chunks/{command-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  892. /package/dist/chunks/{command-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  893. /package/dist/chunks/{command-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  894. /package/dist/chunks/{command-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  895. /package/dist/chunks/{command-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
  896. /package/dist/chunks/{command-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  897. /package/dist/chunks/{command-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  898. /package/dist/chunks/{command-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  899. /package/dist/chunks/{command-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  900. /package/dist/chunks/{command-syrav9an.js → file-retention-syrav9an.js} +0 -0
  901. /package/dist/chunks/{command-t03h4f5z.js → file-retention-t03h4f5z.js} +0 -0
  902. /package/dist/chunks/{command-ty7weeps.js → file-retention-ty7weeps.js} +0 -0
  903. /package/dist/chunks/{command-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
  904. /package/dist/chunks/{command-vtarvj67.js → file-retention-vtarvj67.js} +0 -0
  905. /package/dist/chunks/{command-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  906. /package/dist/chunks/{command-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
  907. /package/dist/chunks/{command-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  908. /package/dist/chunks/{command-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  909. /package/dist/chunks/{command-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  910. /package/dist/chunks/{command-x61499pn.js → file-retention-x61499pn.js} +0 -0
  911. /package/dist/chunks/{command-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  912. /package/dist/chunks/{command-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
  913. /package/dist/chunks/{command-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  914. /package/dist/chunks/{command-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
  915. /package/dist/chunks/{command-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./command-z5v4ffb3.js";
3
+ } from "./file-retention-z5v4ffb3.js";
4
4
  import {
5
- Service90,
6
- node93
7
- } from "./command-7ppvtjhd.js";
5
+ Service84,
6
+ node87
7
+ } from "./file-retention-brbp1jmy.js";
8
8
  import {
9
- parse4,
9
+ parse5,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./command-bstexjd6.js";
13
+ } from "./file-retention-xd9cc171.js";
14
14
  import {
15
- Service87,
16
- node90
17
- } from "./command-jfn1q9at.js";
15
+ Service85,
16
+ node88
17
+ } from "./file-retention-avaerfkj.js";
18
18
  import {
19
19
  __export
20
- } from "./command-9rqn6x4v.js";
20
+ } from "./file-retention-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: () => Service47,
33
+ Service: () => Service83,
34
34
  isError: () => isError2,
35
- node: () => node50,
35
+ node: () => node86,
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 Service47 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service83 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,27 +101,27 @@ 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(Service47, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service83, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service90;
106
+ const git = yield* Service84;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service87;
110
- return Service47.of({
109
+ const kv = yield* Service85;
110
+ return Service83.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
114
114
  const repository = input.reference.label;
115
115
  const localPath = cachePath2(global.repos, input.reference, input.branch);
116
116
  const key = `repository-cache:${localPath}`;
117
- const cloneTarget = parse4(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse5(input.reference.remote) ?? input.reference;
118
118
  return yield* flock.withLock(Effect.gen(function* () {
119
119
  yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
120
120
  const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
121
121
  const origin = existing ? yield* git.remote.get(existing).pipe(Effect.orElseSucceed(() => {
122
122
  return;
123
123
  })) : undefined;
124
- const originReference = origin ? parse4(origin) : undefined;
124
+ const originReference = origin ? parse5(origin) : undefined;
125
125
  const worktree = existing ? yield* fs.resolve(localPath) : undefined;
126
126
  const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
127
127
  if (!reuse && (yield* fs.existsSafe(localPath))) {
@@ -169,10 +169,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
169
169
  })
170
170
  });
171
171
  }));
172
- var node50 = makeGlobalNode({
173
- service: Service47,
172
+ var node86 = makeGlobalNode({
173
+ service: Service83,
174
174
  layer,
175
- deps: [EffectFlock.node, FSUtil.node, node93, Global.node, node90]
175
+ deps: [EffectFlock.node, FSUtil.node, node87, Global.node, node88]
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, Service47, isError2, validateBranch2, node50, exports_repository_cache };
184
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service83, isError2, validateBranch2, node86, exports_repository_cache };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./command-wakvkjy4.js";
3
+ } from "./file-retention-wakvkjy4.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./command-aj7mw0zk.js";
6
+ } from "./file-retention-034tev2y.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service88,
3
- node91
4
- } from "./command-ap7w36b6.js";
2
+ Service89,
3
+ node92
4
+ } from "./file-retention-ynsc8wg2.js";
5
5
  import {
6
6
  changes2,
7
7
  create4
8
- } from "./command-40y6dtc2.js";
8
+ } from "./file-retention-40y6dtc2.js";
9
9
  import {
10
10
  evaluate3
11
- } from "./command-czy387n2.js";
11
+ } from "./file-retention-f7rj94ae.js";
12
12
  import {
13
13
  __export
14
- } from "./command-9rqn6x4v.js";
14
+ } from "./file-retention-9rqn6x4v.js";
15
15
 
16
16
  // src/skill.ts
17
17
  var exports_skill5 = {};
18
18
  __export(exports_skill5, {
19
19
  DirectorySource: () => DirectorySource2,
20
20
  EmbeddedSource: () => EmbeddedSource2,
21
- Event: () => Event8,
22
- ID: () => ID9,
23
- Info: () => Info11,
21
+ Event: () => Event9,
22
+ ID: () => ID8,
23
+ Info: () => Info12,
24
24
  Name: () => Name2,
25
- Service: () => Service45,
25
+ Service: () => Service52,
26
26
  Skill: () => exports_skill5,
27
27
  Source: () => Source3,
28
28
  UrlSource: () => UrlSource2,
29
- available: () => available4,
30
- node: () => node48,
29
+ available: () => available3,
30
+ node: () => node54,
31
31
  prepare: () => prepare3,
32
32
  toModelOutput: () => toModelOutput3
33
33
  });
@@ -36,15 +36,15 @@ import { FSUtil } from "@opencode/util/fs-util";
36
36
  import path from "path";
37
37
  import { Context, Effect, Layer } from "effect";
38
38
  import { Skill } from "@opencode/schema/skill";
39
- import { Event as Event8 } from "@opencode/schema/skill";
39
+ import { Event as Event9 } from "@opencode/schema/skill";
40
40
  var DirectorySource2 = Skill.DirectorySource;
41
41
  var UrlSource2 = Skill.UrlSource;
42
42
  var EmbeddedSource2 = Skill.EmbeddedSource;
43
43
  var Source3 = Skill.Source;
44
- var Info11 = Skill.Info;
45
- var ID9 = Skill.ID;
44
+ var Info12 = Skill.Info;
45
+ var ID8 = Skill.ID;
46
46
  var Name2 = Skill.Name;
47
- var available4 = (skills, permissions) => skills.filter((skill) => evaluate3("skill", skill.id, permissions).effect !== "deny");
47
+ var available3 = (skills, permissions) => skills.filter((skill) => evaluate3("skill", skill.id, permissions).effect !== "deny");
48
48
  var toModelOutput3 = (skill, files) => {
49
49
  const directory = path.dirname(skill.path);
50
50
  return [
@@ -79,21 +79,21 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
79
79
  };
80
80
  });
81
81
 
82
- class Service45 extends Context.Service()("@opencode/Skill") {
82
+ class Service52 extends Context.Service()("@opencode/Skill") {
83
83
  }
84
- var layer = Layer.effect(Service45, Effect.gen(function* () {
85
- const bus = yield* Service88;
84
+ var layer = Layer.effect(Service52, Effect.gen(function* () {
85
+ const bus = yield* Service89;
86
86
  const state = create4({
87
87
  name: "skill",
88
88
  initial: () => ({ skills: new Map }),
89
89
  editor: (editor) => ({
90
90
  list: () => Array.from(editor.skills.values()),
91
- get: (id) => editor.skills.get(ID9.make(id)),
91
+ get: (id) => editor.skills.get(ID8.make(id)),
92
92
  add: (skill) => {
93
93
  editor.skills.set(skill.id, { ...skill });
94
94
  },
95
95
  update: (id, update) => {
96
- const key = ID9.make(id);
96
+ const key = ID8.make(id);
97
97
  const current = editor.skills.get(key);
98
98
  if (!current)
99
99
  return;
@@ -101,12 +101,12 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
101
101
  current.id = key;
102
102
  },
103
103
  remove: (id) => {
104
- editor.skills.delete(ID9.make(id));
104
+ editor.skills.delete(ID8.make(id));
105
105
  }
106
106
  }),
107
107
  notify: changes2((data) => Array.from(data.skills.values()), () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid))
108
108
  });
109
- return Service45.of({
109
+ return Service52.of({
110
110
  transform: state.transform,
111
111
  reload: state.reload,
112
112
  get: Effect.fn("Skill.get")(function* (id) {
@@ -117,10 +117,10 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
117
117
  })
118
118
  });
119
119
  }));
120
- var node48 = makeLocationNode({
121
- service: Service45,
120
+ var node54 = makeLocationNode({
121
+ service: Service52,
122
122
  layer,
123
- deps: [node91]
123
+ deps: [node92]
124
124
  });
125
125
 
126
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info11, ID9, Name2, available4, toModelOutput3, prepare3, Service45, node48, exports_skill5, Event8 };
126
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info12, ID8, Name2, available3, toModelOutput3, prepare3, Service52, node54, exports_skill5, Event9 };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service59
3
- } from "./command-7215dbqr.js";
2
+ Service44
3
+ } from "./file-retention-a4ww6fpm.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./command-z355x5yr.js";
6
+ } from "./file-retention-d77dj7jw.js";
7
7
  import {
8
- Service50
9
- } from "./command-kmxkyq3p.js";
8
+ Service39
9
+ } from "./file-retention-a5wpc3w3.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./command-89287pr7.js";
12
+ } from "./file-retention-89287pr7.js";
13
13
  import {
14
14
  __export
15
- } from "./command-9rqn6x4v.js";
15
+ } from "./file-retention-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start4 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service59;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service50), instances.provide(input.session));
25
+ const instances = yield* Service44;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service39), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./command-gftt206x.js";
3
+ } from "./file-retention-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./command-9rqn6x4v.js";
6
+ } from "./file-retention-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
10
10
  __export(exports_message_updater, {
11
11
  SessionMessageUpdater: () => exports_message_updater,
12
- update: () => update3
12
+ update: () => update2
13
13
  });
14
14
  import { castDraft, produce } from "immer";
15
15
  import { DateTime, Effect, Match, pipe, Schema } from "effect";
@@ -22,7 +22,7 @@ var projectTerminalSnapshot = (draft, event) => {
22
22
  files: event.data.files ? Array.from(event.data.files) : undefined
23
23
  };
24
24
  };
25
- function update3(adapter, event) {
25
+ function update2(adapter, event) {
26
26
  const created = DateTime.makeUnsafe(event.created);
27
27
  const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
28
28
  const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
@@ -403,4 +403,4 @@ function update3(adapter, event) {
403
403
  return project(event);
404
404
  }
405
405
 
406
- export { update3, exports_message_updater };
406
+ export { update2, exports_message_updater };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./command-3v6tj8d3.js";
3
+ } from "./file-retention-n8089wab.js";
4
4
 
5
5
  // src/plugin/provider/ollama.ts
6
6
  import { Effect, Schema } from "effect";
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
34
34
  model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
35
35
  });
36
36
  var shows = new Map;
37
- var make15 = createLocalProviderPlugin2({
37
+ var make17 = createLocalProviderPlugin2({
38
38
  id: "opencode.provider.ollama",
39
39
  providerID: "ollama",
40
40
  name: "Ollama",
@@ -67,6 +67,6 @@ var make15 = createLocalProviderPlugin2({
67
67
  context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
68
68
  })
69
69
  });
70
- var OllamaPlugin2 = make15();
70
+ var OllamaPlugin2 = make17();
71
71
 
72
- export { make15, OllamaPlugin2 };
72
+ export { make17, OllamaPlugin2 };
@@ -1,43 +1,43 @@
1
1
  import {
2
- Service89
3
- } from "./command-4pefe19r.js";
2
+ Service90
3
+ } from "./file-retention-8eshswe5.js";
4
4
  import {
5
- Service59
6
- } from "./command-7215dbqr.js";
5
+ Service44
6
+ } from "./file-retention-a4ww6fpm.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./command-z355x5yr.js";
9
+ } from "./file-retention-d77dj7jw.js";
10
10
  import {
11
11
  preview2
12
- } from "./command-j7fgn957.js";
12
+ } from "./file-retention-k0kcv3gp.js";
13
13
  import {
14
14
  baseTranscript2
15
- } from "./command-vxsh6985.js";
15
+ } from "./file-retention-9pkyxfc8.js";
16
16
  import {
17
- Service33
18
- } from "./command-sgfm45rn.js";
17
+ Service28
18
+ } from "./file-retention-5cfjc002.js";
19
19
  import {
20
20
  retry2
21
- } from "./command-wnhgecwx.js";
21
+ } from "./file-retention-wnhgecwx.js";
22
22
  import {
23
23
  __export
24
- } from "./command-9rqn6x4v.js";
24
+ } from "./file-retention-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
- var exports_generate2 = {};
28
- __export(exports_generate2, {
29
- SessionGenerate: () => exports_generate2,
27
+ var exports_generate = {};
28
+ __export(exports_generate, {
29
+ SessionGenerate: () => exports_generate,
30
30
  generate: () => generate2
31
31
  });
32
32
  import { LLMClient, Message } from "@opencode/ai/effect";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service59;
36
- const database = yield* Service89;
35
+ const instances = yield* Service44;
36
+ const database = yield* Service90;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service33;
40
+ const context = yield* Service28;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
71
71
  }).pipe(instances.provide(input.session));
72
72
  });
73
73
 
74
- export { generate2, exports_generate2 };
74
+ export { generate2, exports_generate };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./command-z5v4ffb3.js";
3
+ } from "./file-retention-z5v4ffb3.js";
4
4
  import {
5
- Service83
6
- } from "./command-1t7pz1nk.js";
5
+ Service80
6
+ } from "./file-retention-7etbzm9y.js";
7
7
  import {
8
8
  NotFound3
9
- } from "./command-svcy3p9a.js";
9
+ } from "./file-retention-svcy3p9a.js";
10
10
  import {
11
- Service14
12
- } from "./command-xywcct0r.js";
11
+ Service18
12
+ } from "./file-retention-87jq36v2.js";
13
13
  import {
14
14
  Service11
15
- } from "./command-g3jajyb4.js";
15
+ } from "./file-retention-g2jbspnp.js";
16
16
  import {
17
17
  BinaryFileError2,
18
18
  MediaIngestLimitError2,
@@ -22,26 +22,26 @@ import {
22
22
  FileContent2,
23
23
  TextPage2,
24
24
  ListPage2,
25
- Service43
26
- } from "./command-n31szky0.js";
25
+ Service38
26
+ } from "./file-retention-9s6tmzsz.js";
27
27
  import {
28
28
  __export
29
- } from "./command-9rqn6x4v.js";
29
+ } from "./file-retention-9rqn6x4v.js";
30
30
 
31
31
  // src/tool/plugin/read.ts
32
32
  var exports_read = {};
33
33
  __export(exports_read, {
34
- Input: () => Input6,
35
- Plugin: () => Plugin42,
34
+ Input: () => Input9,
35
+ Plugin: () => Plugin46,
36
36
  ReadTool: () => exports_read,
37
- name: () => name6,
38
- toModelContent: () => toModelContent2
37
+ name: () => name9,
38
+ toModelContent: () => toModelContent5
39
39
  });
40
40
  import { basename, dirname, join } from "path";
41
41
  import { ToolFailure } from "@opencode/ai/effect";
42
42
  import { Effect, Schema } from "effect";
43
43
  import { FSUtil } from "@opencode/util/fs-util";
44
- var name6 = "read";
44
+ var name9 = "read";
45
45
  var FILENAME = "AGENTS.md";
46
46
  var LocationInput = Schema.Struct({
47
47
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
52
52
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
53
53
  })
54
54
  });
55
- var Input6 = LocationInput;
55
+ var Input9 = LocationInput;
56
56
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
57
- var Plugin42 = {
57
+ var Plugin46 = {
58
58
  id: "opencode.tool.read",
59
59
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
60
- const reader = yield* Service43;
61
- const access = yield* Service14;
60
+ const reader = yield* Service38;
61
+ const access = yield* Service18;
62
62
  const sessionInstructions = yield* Service11;
63
63
  const fs = yield* FSUtil.Service;
64
- const location = yield* Service83;
64
+ const location = yield* Service80;
65
65
  yield* ctx.tool.transform((editor) => editor.add({
66
- name: name6,
66
+ name: name9,
67
67
  options: { codemode: false },
68
68
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
69
- input: Input6,
69
+ input: Input9,
70
70
  output: Output,
71
71
  execute: (input, context) => {
72
72
  return Effect.gen(function* () {
@@ -110,7 +110,7 @@ var Plugin42 = {
110
110
  return { output: result.content, path: result.path };
111
111
  }).pipe(Effect.map((result) => ({
112
112
  output: result.output,
113
- content: toModelContent2(result.path, input.offset, result.output),
113
+ content: toModelContent5(result.path, input.offset, result.output),
114
114
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
115
115
  })), Effect.mapError((error) => {
116
116
  if (error instanceof ToolFailure)
@@ -176,7 +176,7 @@ ${suggestions.join(`
176
176
  });
177
177
  })
178
178
  };
179
- var toModelContent2 = (path, offset, output) => {
179
+ var toModelContent5 = (path, offset, output) => {
180
180
  if (output.type === "file" && output.encoding === "base64")
181
181
  return [
182
182
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -212,4 +212,4 @@ var toModelContent2 = (path, offset, output) => {
212
212
  `);
213
213
  };
214
214
 
215
- export { name6, Input6, Plugin42, toModelContent2, exports_read };
215
+ export { name9, Input9, Plugin46, toModelContent5, exports_read };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured8,
11
- layer: () => layer22,
10
+ configured: () => configured6,
11
+ layer: () => layer21,
12
12
  make: () => make29,
13
- node: () => node64,
13
+ node: () => node61,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
@@ -28,8 +28,8 @@ function make29(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer22 = (input) => Layer.succeed(Metadata2, make29(input));
32
- var configured8 = (input) => makeGlobalNode({ service: Metadata2, layer: layer22(input), deps: [] });
33
- var node64 = configured8();
31
+ var layer21 = (input) => Layer.succeed(Metadata2, make29(input));
32
+ var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
33
+ var node61 = configured6();
34
34
 
35
- export { Metadata2, make29, useragent2, layer22, configured8, node64, exports_app };
35
+ export { Metadata2, make29, useragent2, layer21, configured6, node61, exports_app };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./command-z5v4ffb3.js";
3
+ } from "./file-retention-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./command-9rqn6x4v.js";
6
+ } from "./file-retention-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider3 = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./command-z5v4ffb3.js";
4
+ } from "./file-retention-z5v4ffb3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./command-8cg7mtm3.js";
7
+ } from "./file-retention-4d2dtj2f.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./command-rb9dy4dg.js";
12
+ } from "./file-retention-rb9dy4dg.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./command-sa3fpqfw.js";
15
+ } from "./file-retention-sa3fpqfw.js";
16
16
  import {
17
17
  __export
18
- } from "./command-9rqn6x4v.js";
18
+ } from "./file-retention-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -24,11 +24,11 @@ __export(exports_git3, {
24
24
  Git: () => exports_git3,
25
25
  OperationError: () => OperationError3,
26
26
  Repository: () => Repository2,
27
- Service: () => Service90,
27
+ Service: () => Service84,
28
28
  TreeID: () => TreeID2,
29
29
  Worktree: () => Worktree2,
30
30
  WorktreeError: () => WorktreeError2,
31
- node: () => node93
31
+ node: () => node87
32
32
  });
33
33
  import os from "os";
34
34
  import path from "path";
@@ -109,9 +109,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
109
109
  }) {
110
110
  }
111
111
 
112
- class Service90 extends Context.Service()("@opencode/Git") {
112
+ class Service84 extends Context.Service()("@opencode/Git") {
113
113
  }
114
- var layer = Layer.effect(Service90, Effect.gen(function* () {
114
+ var layer = Layer.effect(Service84, Effect.gen(function* () {
115
115
  const fs = yield* FSUtil.Service;
116
116
  const proc = yield* AppProcess.Service;
117
117
  const locks = makeUnsafe2();
@@ -834,7 +834,7 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
834
834
  kind: index === 0 ? "main" : "linked"
835
835
  }));
836
836
  });
837
- return Service90.of({
837
+ return Service84.of({
838
838
  repo: { discover, fingerprint, clone, create },
839
839
  remote: { get: remote },
840
840
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -851,7 +851,7 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
851
851
  objects: { pack: packObjects }
852
852
  });
853
853
  }));
854
- var node93 = makeGlobalNode({ service: Service90, layer, deps: [FSUtil.node, AppProcess.node] });
854
+ var node87 = makeGlobalNode({ service: Service84, layer, deps: [FSUtil.node, AppProcess.node] });
855
855
  function run(cwd, proc, args) {
856
856
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
857
857
  }
@@ -918,4 +918,4 @@ function resolvePath(cwd, value) {
918
918
  return path.resolve(cwd, normalized);
919
919
  }
920
920
 
921
- export { Repository2, TreeID2, OperationError3, CommandError2, Worktree2, WorktreeError2, Service90, node93, exports_git3 };
921
+ export { Repository2, TreeID2, OperationError3, CommandError2, Worktree2, WorktreeError2, Service84, node87, exports_git3 };