@opencode/core 0.0.0-dev-360 → 0.0.0-dev-365

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 (906) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +91 -91
  3. package/dist/aisdk-native.js +101 -101
  4. package/dist/aisdk.js +107 -107
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +83 -83
  7. package/dist/chunks/file-retention-00ve6mdn.js +18 -0
  8. package/dist/chunks/{managed-policy-wgvnftve.js → file-retention-00zh2tpm.js} +8 -8
  9. package/dist/chunks/{managed-policy-aj7mw0zk.js → file-retention-034tev2y.js} +2 -2
  10. package/dist/chunks/{managed-policy-yepgas63.js → file-retention-04tv7frf.js} +9 -9
  11. package/dist/chunks/{managed-policy-53s0p5hq.js → file-retention-07eksm9d.js} +8 -8
  12. package/dist/chunks/{managed-policy-cpvd08na.js → file-retention-0ahs07zn.js} +4 -4
  13. package/dist/chunks/{managed-policy-9e2she93.js → file-retention-0cwk7jfm.js} +9 -9
  14. package/dist/chunks/{managed-policy-vrn1pf1v.js → file-retention-0ex8dcbt.js} +11 -11
  15. package/dist/chunks/{managed-policy-aepw0b6p.js → file-retention-0k3nfc9s.js} +11 -11
  16. package/dist/chunks/{managed-policy-s0m7zkjy.js → file-retention-0psyaj3n.js} +15 -15
  17. package/dist/chunks/{managed-policy-zc7pmk1j.js → file-retention-0ytw3hha.js} +9 -9
  18. package/dist/chunks/{managed-policy-4fbzvnkg.js → file-retention-0zcczs7a.js} +3 -3
  19. package/dist/chunks/{managed-policy-ywaqe4tb.js → file-retention-14c3dy8f.js} +24 -24
  20. package/dist/chunks/{managed-policy-5ckkk9bj.js → file-retention-15qtk8ma.js} +4 -4
  21. package/dist/chunks/{managed-policy-jyqx92zg.js → file-retention-191gdv88.js} +6 -6
  22. package/dist/chunks/{managed-policy-1aqsckx4.js → file-retention-1aqsckx4.js} +1 -1
  23. package/dist/chunks/{managed-policy-27w5k9zf.js → file-retention-1ep2p91f.js} +2 -2
  24. package/dist/chunks/{managed-policy-d082y1w6.js → file-retention-1ffma3v6.js} +6 -6
  25. package/dist/chunks/{managed-policy-95pm1j5b.js → file-retention-1jv1g512.js} +15 -15
  26. package/dist/chunks/{managed-policy-f248dtbq.js → file-retention-1nxbehe5.js} +4 -4
  27. package/dist/chunks/{managed-policy-pznt48t8.js → file-retention-1teqm9vw.js} +33 -33
  28. package/dist/chunks/{managed-policy-1x2knyw4.js → file-retention-1x2knyw4.js} +1 -1
  29. package/dist/chunks/{managed-policy-pkthxjgs.js → file-retention-1xeesddd.js} +19 -19
  30. package/dist/chunks/{managed-policy-f35f93zp.js → file-retention-1yq9hg58.js} +5 -5
  31. package/dist/chunks/{managed-policy-56v67pvx.js → file-retention-24xag21k.js} +12 -12
  32. package/dist/chunks/{managed-policy-25h84942.js → file-retention-25h84942.js} +1 -1
  33. package/dist/chunks/{managed-policy-nntmgp2m.js → file-retention-26pa0b26.js} +5 -5
  34. package/dist/chunks/{managed-policy-694dpcrp.js → file-retention-26wfx3k0.js} +7 -7
  35. package/dist/chunks/{managed-policy-egr8wc85.js → file-retention-2cf4w7xq.js} +15 -15
  36. package/dist/chunks/{managed-policy-d3da6sq9.js → file-retention-2d4gmz8y.js} +32 -32
  37. package/dist/chunks/{managed-policy-vp2s2yka.js → file-retention-2eqy3gj5.js} +9 -9
  38. package/dist/chunks/{managed-policy-azeff8cy.js → file-retention-2k0y5jmk.js} +21 -21
  39. package/dist/chunks/{managed-policy-w35wzz9x.js → file-retention-2kg89srt.js} +4 -4
  40. package/dist/chunks/{managed-policy-d1c7txc5.js → file-retention-2pb226t7.js} +3 -3
  41. package/dist/chunks/{managed-policy-dx3j12yd.js → file-retention-2s6nzbwv.js} +45 -45
  42. package/dist/chunks/{managed-policy-ez1mwgrk.js → file-retention-34r1mvkc.js} +17 -17
  43. package/dist/chunks/{managed-policy-k3gdctbe.js → file-retention-367hxp8h.js} +11 -11
  44. package/dist/chunks/{managed-policy-3ftdatfp.js → file-retention-36w0pb0f.js} +5 -5
  45. package/dist/chunks/{managed-policy-816ehvty.js → file-retention-37fmbenv.js} +58 -58
  46. package/dist/chunks/{managed-policy-s9mgb1sy.js → file-retention-3g5n8p7a.js} +1 -1
  47. package/dist/chunks/{managed-policy-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{managed-policy-3nnrz6f6.js → file-retention-3nnrz6f6.js} +1 -1
  49. package/dist/chunks/{managed-policy-fyh03zct.js → file-retention-3pqbsxs8.js} +4 -4
  50. package/dist/chunks/{managed-policy-6y2ptdyb.js → file-retention-3qczp77y.js} +2 -2
  51. package/dist/chunks/{managed-policy-apv9mt11.js → file-retention-3r49zhmj.js} +24 -24
  52. package/dist/chunks/{managed-policy-0dn1yphj.js → file-retention-3rex4wkr.js} +187 -187
  53. package/dist/chunks/file-retention-3vca5scw.js +257 -0
  54. package/dist/chunks/{managed-policy-b77837t1.js → file-retention-3vrm62xe.js} +8 -8
  55. package/dist/chunks/{managed-policy-40y6dtc2.js → file-retention-40y6dtc2.js} +1 -1
  56. package/dist/chunks/{managed-policy-5enarcya.js → file-retention-40za9wsf.js} +6 -6
  57. package/dist/chunks/{managed-policy-vq8xgzqd.js → file-retention-43nkkq55.js} +27 -27
  58. package/dist/chunks/{managed-policy-6k4p53c4.js → file-retention-45k1fat7.js} +84 -84
  59. package/dist/chunks/{managed-policy-prwdsx4e.js → file-retention-47te9age.js} +5 -5
  60. package/dist/chunks/{managed-policy-vx8r5nvb.js → file-retention-494gazew.js} +15 -15
  61. package/dist/chunks/{managed-policy-4d2dtj2f.js → file-retention-4d2dtj2f.js} +1 -1
  62. package/dist/chunks/{managed-policy-4dx1dgte.js → file-retention-4dx1dgte.js} +1 -1
  63. package/dist/chunks/{managed-policy-r542h3bh.js → file-retention-4f25tdd0.js} +5 -5
  64. package/dist/chunks/{managed-policy-eranzbd3.js → file-retention-4fbe36vd.js} +30 -30
  65. package/dist/chunks/{managed-policy-7wnfk6gy.js → file-retention-4g48tjx4.js} +20 -20
  66. package/dist/chunks/{managed-policy-nemnqzpn.js → file-retention-4gmbvmjy.js} +4 -4
  67. package/dist/chunks/{managed-policy-wvp9g99s.js → file-retention-4mtw7039.js} +12 -12
  68. package/dist/chunks/{managed-policy-4pyp9zr9.js → file-retention-4pyp9zr9.js} +1 -1
  69. package/dist/chunks/{managed-policy-zse9yxbs.js → file-retention-4srsrmw7.js} +30 -30
  70. package/dist/chunks/{managed-policy-4v008n1t.js → file-retention-4v008n1t.js} +1 -1
  71. package/dist/chunks/{managed-policy-8ja7m345.js → file-retention-4x09kzkc.js} +28 -28
  72. package/dist/chunks/{managed-policy-w49nkgzd.js → file-retention-5839xq93.js} +8 -8
  73. package/dist/chunks/{managed-policy-9z65j8st.js → file-retention-5ckahk04.js} +40 -40
  74. package/dist/chunks/{managed-policy-nmvtk8pw.js → file-retention-5h3s1vfe.js} +36 -36
  75. package/dist/chunks/{managed-policy-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
  76. package/dist/chunks/{managed-policy-sxnptmk6.js → file-retention-5y8xnkg1.js} +26 -26
  77. package/dist/chunks/{managed-policy-an7nq9v6.js → file-retention-64jy80yv.js} +15 -15
  78. package/dist/chunks/{managed-policy-862ghcnc.js → file-retention-651ahwxn.js} +45 -45
  79. package/dist/chunks/{managed-policy-6esdw8yj.js → file-retention-6esdw8yj.js} +1 -1
  80. package/dist/chunks/{managed-policy-thmnjmx0.js → file-retention-6g1w79yt.js} +25 -25
  81. package/dist/chunks/{managed-policy-tm2grc99.js → file-retention-6gh4xsn0.js} +14 -14
  82. package/dist/chunks/{managed-policy-2pnpws6z.js → file-retention-6m3pmzcb.js} +30 -30
  83. package/dist/chunks/{managed-policy-mfs2cw6h.js → file-retention-6p53pxzw.js} +7 -7
  84. package/dist/chunks/{managed-policy-4fvd22vc.js → file-retention-6q2v7yes.js} +15 -15
  85. package/dist/chunks/{managed-policy-s2pfznc4.js → file-retention-6yakppr8.js} +4 -4
  86. package/dist/chunks/{managed-policy-2y5j90j5.js → file-retention-6yzxzbn5.js} +35 -35
  87. package/dist/chunks/{managed-policy-scxw0c41.js → file-retention-710xrkf2.js} +9 -9
  88. package/dist/chunks/{managed-policy-76cb1hcw.js → file-retention-76cb1hcw.js} +1 -1
  89. package/dist/chunks/{managed-policy-775hqbnd.js → file-retention-775hqbnd.js} +3 -3
  90. package/dist/chunks/{managed-policy-ftv7f0h4.js → file-retention-78p2h4ex.js} +5 -5
  91. package/dist/chunks/{managed-policy-nyxvvj5y.js → file-retention-79k544d0.js} +5 -5
  92. package/dist/chunks/{managed-policy-d021hvhj.js → file-retention-7bh7de7r.js} +23 -23
  93. package/dist/chunks/{managed-policy-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  94. package/dist/chunks/{managed-policy-7kr66rt3.js → file-retention-7kr66rt3.js} +1 -1
  95. package/dist/chunks/{managed-policy-679ep0cz.js → file-retention-7p2pbjq6.js} +11 -11
  96. package/dist/chunks/{managed-policy-yrqkv67x.js → file-retention-7s7r6cce.js} +14 -14
  97. package/dist/chunks/{managed-policy-ddvn7d3w.js → file-retention-7tpyp9vw.js} +8 -8
  98. package/dist/chunks/{managed-policy-7w2ypzdf.js → file-retention-7w2ypzdf.js} +1 -1
  99. package/dist/chunks/{managed-policy-sbmacpxg.js → file-retention-7xdaqeat.js} +29 -29
  100. package/dist/chunks/{managed-policy-ejv1m27g.js → file-retention-806dcycn.js} +43 -43
  101. package/dist/chunks/{managed-policy-9mpf12xv.js → file-retention-81vzgppv.js} +6 -6
  102. package/dist/chunks/{managed-policy-bsfxdvvt.js → file-retention-82d21a7w.js} +6 -6
  103. package/dist/chunks/{managed-policy-39xwsyw8.js → file-retention-854masfb.js} +7 -7
  104. package/dist/chunks/{managed-policy-b1pszpj9.js → file-retention-85va0fa0.js} +14 -14
  105. package/dist/chunks/{managed-policy-vdjr5psn.js → file-retention-86bhhzhr.js} +6 -6
  106. package/dist/chunks/{managed-policy-89287pr7.js → file-retention-89287pr7.js} +1 -1
  107. package/dist/chunks/{managed-policy-rjnxbc3v.js → file-retention-8dngg074.js} +20 -20
  108. package/dist/chunks/{managed-policy-yhsh2wx7.js → file-retention-8h2hwcgr.js} +3 -3
  109. package/dist/chunks/{managed-policy-m9bvz1xb.js → file-retention-8jgevw96.js} +4 -4
  110. package/dist/chunks/file-retention-8jqjkaeg.js +26 -0
  111. package/dist/chunks/{managed-policy-c84j9kfj.js → file-retention-8qbjkpdc.js} +5 -5
  112. package/dist/chunks/{managed-policy-8wtp7s3z.js → file-retention-8wtp7s3z.js} +1 -1
  113. package/dist/chunks/{managed-policy-90zstvax.js → file-retention-90zstvax.js} +1 -1
  114. package/dist/chunks/{managed-policy-gzw4xxzr.js → file-retention-92zsya3r.js} +17 -17
  115. package/dist/chunks/{managed-policy-sv909n4y.js → file-retention-94e33dpz.js} +3 -3
  116. package/dist/chunks/{managed-policy-szwm4crx.js → file-retention-96djdqw5.js} +4 -4
  117. package/dist/chunks/{managed-policy-nn9vx4b3.js → file-retention-97c1910e.js} +8 -8
  118. package/dist/chunks/{managed-policy-cjj2btwh.js → file-retention-97zw14d0.js} +2 -2
  119. package/dist/chunks/{managed-policy-wc9ab0k6.js → file-retention-98dmdzfy.js} +21 -21
  120. package/dist/chunks/{managed-policy-3w7p7eaa.js → file-retention-9anrwwjk.js} +11 -11
  121. package/dist/chunks/{managed-policy-ze9pm62v.js → file-retention-9b1d26tq.js} +6 -6
  122. package/dist/chunks/{managed-policy-zcfzkv6k.js → file-retention-9cvqxzpt.js} +11 -11
  123. package/dist/chunks/{managed-policy-wn77a8c9.js → file-retention-9sy1j1hj.js} +4 -4
  124. package/dist/chunks/{managed-policy-vj308eb4.js → file-retention-a1a5n2rq.js} +23 -23
  125. package/dist/chunks/{managed-policy-wbhszs8a.js → file-retention-a2wbfja7.js} +18 -18
  126. package/dist/chunks/{managed-policy-ph0tf0ph.js → file-retention-adym558h.js} +12 -12
  127. package/dist/chunks/{managed-policy-726zqhgd.js → file-retention-ak3jkmqz.js} +51 -51
  128. package/dist/chunks/{managed-policy-fs81h3jt.js → file-retention-aq0xw1y6.js} +6 -6
  129. package/dist/chunks/{managed-policy-52zf3ryw.js → file-retention-aqaf6eqh.js} +4 -4
  130. package/dist/chunks/{managed-policy-3cbjf1nt.js → file-retention-ayjs7tqn.js} +2 -2
  131. package/dist/chunks/{managed-policy-m8aw8crw.js → file-retention-b5b5s7sc.js} +8 -8
  132. package/dist/chunks/{managed-policy-b6vsg801.js → file-retention-b6vsg801.js} +2 -2
  133. package/dist/chunks/{managed-policy-z47pg1fq.js → file-retention-b70m0jnc.js} +11 -11
  134. package/dist/chunks/{managed-policy-b3kmd4mj.js → file-retention-bah3z096.js} +5 -5
  135. package/dist/chunks/{managed-policy-bstexjd6.js → file-retention-bstexjd6.js} +1 -1
  136. package/dist/chunks/{managed-policy-rtm080pk.js → file-retention-bzyef7s6.js} +19 -19
  137. package/dist/chunks/{managed-policy-a6gn1kd1.js → file-retention-chp37d0z.js} +16 -16
  138. package/dist/chunks/{managed-policy-33nxrdr5.js → file-retention-cmwydw43.js} +11 -11
  139. package/dist/chunks/file-retention-cpdsp3va.js +16 -0
  140. package/dist/chunks/{managed-policy-n5wje2ht.js → file-retention-ct67btrp.js} +8 -8
  141. package/dist/chunks/{managed-policy-vt4r9rmy.js → file-retention-ctmpqb7w.js} +9 -9
  142. package/dist/chunks/{managed-policy-cwrgdav8.js → file-retention-cwrgdav8.js} +2 -2
  143. package/dist/chunks/{managed-policy-cwbpdf7n.js → file-retention-d2dt6bgk.js} +5 -5
  144. package/dist/chunks/{managed-policy-gn8tkhbf.js → file-retention-d4v9tmah.js} +2 -2
  145. package/dist/chunks/{managed-policy-r3nbggc1.js → file-retention-db2n32dy.js} +23 -23
  146. package/dist/chunks/{managed-policy-wscq8e5a.js → file-retention-dbwt9n8c.js} +6 -6
  147. package/dist/chunks/{managed-policy-snnnv1ed.js → file-retention-dnz500gn.js} +46 -46
  148. package/dist/chunks/{managed-policy-a08ktxzt.js → file-retention-dp29q3vk.js} +23 -23
  149. package/dist/chunks/{managed-policy-ppngp76y.js → file-retention-dpqv5et8.js} +27 -27
  150. package/dist/chunks/{managed-policy-gwvs57w6.js → file-retention-dqyf594t.js} +7 -7
  151. package/dist/chunks/{managed-policy-dt77769w.js → file-retention-dt77769w.js} +1 -1
  152. package/dist/chunks/{managed-policy-1mpk1ara.js → file-retention-dwq3t05f.js} +21 -21
  153. package/dist/chunks/{managed-policy-b7s8g6yr.js → file-retention-dx78x4wn.js} +11 -11
  154. package/dist/chunks/{managed-policy-e45fk36t.js → file-retention-e45fk36t.js} +1 -1
  155. package/dist/chunks/{managed-policy-sbs4fxj5.js → file-retention-e7v1mvr4.js} +16 -16
  156. package/dist/chunks/{managed-policy-0ez55h6z.js → file-retention-e82mxxdn.js} +6 -6
  157. package/dist/chunks/{managed-policy-e834z07m.js → file-retention-e834z07m.js} +1 -1
  158. package/dist/chunks/{managed-policy-n8s0y8c9.js → file-retention-e902kjc6.js} +22 -22
  159. package/dist/chunks/{managed-policy-eqw4pqj1.js → file-retention-eqw4pqj1.js} +2 -2
  160. package/dist/chunks/{managed-policy-gnccyfxb.js → file-retention-ewzekqf7.js} +42 -42
  161. package/dist/chunks/{managed-policy-4xnfw7gs.js → file-retention-f49n8c6f.js} +23 -23
  162. package/dist/chunks/{managed-policy-98d5nq0a.js → file-retention-f7fpk87n.js} +4 -4
  163. package/dist/chunks/{managed-policy-acsz629t.js → file-retention-fb1e82c3.js} +30 -30
  164. package/dist/chunks/{managed-policy-fffv3p7h.js → file-retention-fffv3p7h.js} +1 -1
  165. package/dist/chunks/{managed-policy-prq7xxp2.js → file-retention-fg9p65nk.js} +6 -6
  166. package/dist/chunks/{managed-policy-0m15b9c1.js → file-retention-fgd6dfzj.js} +4 -4
  167. package/dist/chunks/{managed-policy-mdew9s65.js → file-retention-fgrd7tsk.js} +4 -4
  168. package/dist/chunks/{managed-policy-dgy090gd.js → file-retention-fhnd73k8.js} +5 -5
  169. package/dist/chunks/{managed-policy-4kvezjxd.js → file-retention-frqbw07m.js} +47 -47
  170. package/dist/chunks/{managed-policy-mg936kbs.js → file-retention-fsydmy3v.js} +23 -23
  171. package/dist/chunks/{managed-policy-wr3re1en.js → file-retention-fznmdakp.js} +4 -4
  172. package/dist/chunks/{managed-policy-6sdem09p.js → file-retention-g4r2wteh.js} +12 -12
  173. package/dist/chunks/{managed-policy-eq80e3bn.js → file-retention-g5tj6nqn.js} +5 -5
  174. package/dist/chunks/{managed-policy-yczyz3qg.js → file-retention-g8as110m.js} +33 -33
  175. package/dist/chunks/{managed-policy-gbjdnr5j.js → file-retention-gbjdnr5j.js} +2 -2
  176. package/dist/chunks/{managed-policy-e496zp5r.js → file-retention-gcjdgkn2.js} +9 -9
  177. package/dist/chunks/{managed-policy-m8wvz71k.js → file-retention-gfg8h6be.js} +32 -32
  178. package/dist/chunks/{managed-policy-78ytgxen.js → file-retention-gk0jamvw.js} +11 -11
  179. package/dist/chunks/{managed-policy-zg145z9d.js → file-retention-gmp4mkqx.js} +25 -25
  180. package/dist/chunks/{managed-policy-4v8skfv1.js → file-retention-gxs71cxp.js} +4 -4
  181. package/dist/chunks/{managed-policy-70b91y90.js → file-retention-h1pmbafy.js} +29 -29
  182. package/dist/chunks/{managed-policy-3zeyn1sh.js → file-retention-h2padk5z.js} +9 -9
  183. package/dist/chunks/{managed-policy-anzvheda.js → file-retention-h525pamn.js} +81 -81
  184. package/dist/chunks/{managed-policy-hh7kjqtw.js → file-retention-hh7kjqtw.js} +1 -1
  185. package/dist/chunks/{managed-policy-mrpnjyvf.js → file-retention-hmhcwfpk.js} +4 -4
  186. package/dist/chunks/{managed-policy-wnxc6ztx.js → file-retention-hp6zvnkh.js} +12 -12
  187. package/dist/chunks/{managed-policy-hpg1pkwy.js → file-retention-hpg1pkwy.js} +1 -1
  188. package/dist/chunks/{managed-policy-00pxn4bd.js → file-retention-hykm9enp.js} +12 -12
  189. package/dist/chunks/{managed-policy-bask9rw9.js → file-retention-hz3tdqq2.js} +13 -13
  190. package/dist/chunks/{managed-policy-q3qhbnrq.js → file-retention-j0p3wt22.js} +8 -8
  191. package/dist/chunks/{managed-policy-zejpc0ts.js → file-retention-j269d26h.js} +10 -10
  192. package/dist/chunks/{managed-policy-tr8x705m.js → file-retention-j376ae4e.js} +5 -5
  193. package/dist/chunks/{managed-policy-5vjvebcw.js → file-retention-j3r2bmag.js} +41 -41
  194. package/dist/chunks/{managed-policy-v289x162.js → file-retention-j8e99ceq.js} +17 -17
  195. package/dist/chunks/{managed-policy-3121tyy5.js → file-retention-j9kgwwfb.js} +3 -3
  196. package/dist/chunks/{managed-policy-j9nxzz3g.js → file-retention-j9nxzz3g.js} +3 -3
  197. package/dist/chunks/{managed-policy-wtdrtnme.js → file-retention-jjxf7reg.js} +14 -14
  198. package/dist/chunks/{managed-policy-t74aepq9.js → file-retention-jstr99pf.js} +7 -7
  199. package/dist/chunks/{managed-policy-xgaq24t7.js → file-retention-jsweddnj.js} +30 -30
  200. package/dist/chunks/{managed-policy-jtnps1zs.js → file-retention-jtnps1zs.js} +2 -2
  201. package/dist/chunks/{managed-policy-gk8vay7z.js → file-retention-jtqae1ex.js} +21 -21
  202. package/dist/chunks/{managed-policy-44pmzq9c.js → file-retention-jxd6f16v.js} +2 -2
  203. package/dist/chunks/{managed-policy-k3cx6fhe.js → file-retention-k3cx6fhe.js} +1 -1
  204. package/dist/chunks/{managed-policy-s5chsxke.js → file-retention-k5aja770.js} +5 -5
  205. package/dist/chunks/{managed-policy-fk0fzfdt.js → file-retention-k92vzxqv.js} +9 -9
  206. package/dist/chunks/{managed-policy-tpd3143z.js → file-retention-kgk83ggj.js} +9 -9
  207. package/dist/chunks/{managed-policy-nwtvxrk7.js → file-retention-knm2fjmh.js} +40 -40
  208. package/dist/chunks/{managed-policy-t0jawx5w.js → file-retention-kps772xv.js} +6 -6
  209. package/dist/chunks/{managed-policy-3ptna5xg.js → file-retention-krj4kdcf.js} +5 -5
  210. package/dist/chunks/{managed-policy-kt3bjfbg.js → file-retention-kt3bjfbg.js} +1 -1
  211. package/dist/chunks/{managed-policy-akx7fhq1.js → file-retention-kzdam8c6.js} +7 -7
  212. package/dist/chunks/{managed-policy-m1714858.js → file-retention-m1714858.js} +1 -1
  213. package/dist/chunks/{managed-policy-1mwahr68.js → file-retention-m4yf5w44.js} +4 -4
  214. package/dist/chunks/{managed-policy-4aggytkt.js → file-retention-m70wzxpa.js} +20 -20
  215. package/dist/chunks/{managed-policy-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  216. package/dist/chunks/{managed-policy-8z6m94af.js → file-retention-mb7mbhnz.js} +3 -3
  217. package/dist/chunks/{managed-policy-8srhw74s.js → file-retention-mgc4smjp.js} +4 -4
  218. package/dist/chunks/{managed-policy-51c4hzeh.js → file-retention-mh0grf13.js} +72 -72
  219. package/dist/chunks/{managed-policy-sfmwmx3y.js → file-retention-mkv9ptyg.js} +22 -22
  220. package/dist/chunks/{managed-policy-9vyzxdt4.js → file-retention-mxwm4x62.js} +6 -6
  221. package/dist/chunks/{managed-policy-trvtaa3q.js → file-retention-mygmh7kq.js} +3 -3
  222. package/dist/chunks/{managed-policy-3c0437bz.js → file-retention-mzaqyawz.js} +12 -12
  223. package/dist/chunks/{managed-policy-wmmtq209.js → file-retention-n67qzrze.js} +25 -25
  224. package/dist/chunks/{managed-policy-3nsvn3qd.js → file-retention-n6emdgzs.js} +5 -5
  225. package/dist/chunks/{managed-policy-nah043kf.js → file-retention-nah043kf.js} +1 -1
  226. package/dist/chunks/{managed-policy-5pf90gbk.js → file-retention-ne5yss8b.js} +12 -12
  227. package/dist/chunks/{managed-policy-g8adbywj.js → file-retention-nnajjmm5.js} +24 -24
  228. package/dist/chunks/{managed-policy-h8j8hrk6.js → file-retention-nnwz0q5b.js} +7 -7
  229. package/dist/chunks/{managed-policy-npn4ysng.js → file-retention-nq0jwwks.js} +11 -11
  230. package/dist/chunks/{managed-policy-pmenavs3.js → file-retention-ntck3dtd.js} +18 -18
  231. package/dist/chunks/{managed-policy-q2g9e0wm.js → file-retention-ntfv8mte.js} +27 -27
  232. package/dist/chunks/{managed-policy-kf7yecx5.js → file-retention-nttcdzvb.js} +35 -35
  233. package/dist/chunks/{managed-policy-4m678s02.js → file-retention-nvwskqe1.js} +12 -12
  234. package/dist/chunks/{managed-policy-xss38zbz.js → file-retention-nyfhe47q.js} +2 -2
  235. package/dist/chunks/{managed-policy-p015t6z3.js → file-retention-p015t6z3.js} +2 -2
  236. package/dist/chunks/{managed-policy-yctvh1cp.js → file-retention-p6bnfrdb.js} +17 -17
  237. package/dist/chunks/{managed-policy-xea05nf5.js → file-retention-patmbawk.js} +28 -28
  238. package/dist/chunks/{managed-policy-hty97zw0.js → file-retention-pb4hadtr.js} +3 -3
  239. package/dist/chunks/{managed-policy-nh61dyqa.js → file-retention-pk2cp82e.js} +12 -12
  240. package/dist/chunks/{managed-policy-pknna89w.js → file-retention-pknna89w.js} +1 -1
  241. package/dist/chunks/file-retention-pxb8fstm.js +539 -0
  242. package/dist/chunks/{managed-policy-84pp956a.js → file-retention-q88jad4y.js} +3 -3
  243. package/dist/chunks/{managed-policy-1ykyerhw.js → file-retention-q98txggg.js} +25 -25
  244. package/dist/chunks/{managed-policy-b8dt3yzy.js → file-retention-q9jzns4g.js} +11 -11
  245. package/dist/chunks/{managed-policy-jgd59f7e.js → file-retention-qbdxqqrf.js} +5 -5
  246. package/dist/chunks/{managed-policy-h8rtbqgs.js → file-retention-qcb68xjt.js} +25 -25
  247. package/dist/chunks/{managed-policy-20pht57w.js → file-retention-qfz6bxfd.js} +4 -4
  248. package/dist/chunks/{managed-policy-x238ctd3.js → file-retention-qh3ce2zs.js} +9 -9
  249. package/dist/chunks/{managed-policy-zee9eqmc.js → file-retention-qn78z9wr.js} +16 -16
  250. package/dist/chunks/{managed-policy-qp7r0hxv.js → file-retention-qp7r0hxv.js} +1 -1
  251. package/dist/chunks/{managed-policy-qqvy8y24.js → file-retention-qqvy8y24.js} +1 -1
  252. package/dist/chunks/{managed-policy-p4xrf3v3.js → file-retention-qy4bfg0t.js} +32 -32
  253. package/dist/chunks/{managed-policy-88tearyr.js → file-retention-qz6mm41d.js} +47 -47
  254. package/dist/chunks/{managed-policy-wfs84ra6.js → file-retention-r17fbvme.js} +4 -4
  255. package/dist/chunks/{managed-policy-pvpn29rk.js → file-retention-r7qkq1cq.js} +11 -11
  256. package/dist/chunks/{managed-policy-rb9dy4dg.js → file-retention-rb9dy4dg.js} +1 -1
  257. package/dist/chunks/{managed-policy-sd7ye422.js → file-retention-rf1cvd9q.js} +7 -7
  258. package/dist/chunks/{managed-policy-30kktm6y.js → file-retention-rfkt08md.js} +21 -21
  259. package/dist/chunks/{managed-policy-tghwpxvy.js → file-retention-rjh8ndqb.js} +7 -7
  260. package/dist/chunks/{managed-policy-arz7hw7x.js → file-retention-rjnvnctx.js} +3 -3
  261. package/dist/chunks/{managed-policy-syxgt7hj.js → file-retention-rjxvw18s.js} +24 -24
  262. package/dist/chunks/{managed-policy-vzppetdn.js → file-retention-rmv7fhs4.js} +6 -6
  263. package/dist/chunks/{managed-policy-fbnrjevw.js → file-retention-rp5gk1vb.js} +15 -15
  264. package/dist/chunks/{managed-policy-myzme4zf.js → file-retention-rqhxkn0m.js} +9 -9
  265. package/dist/chunks/{managed-policy-rt5dr6hb.js → file-retention-rt5dr6hb.js} +1 -1
  266. package/dist/chunks/{managed-policy-3w895kgp.js → file-retention-rw9ek0wk.js} +21 -21
  267. package/dist/chunks/{managed-policy-2p60zmnr.js → file-retention-s1ba0vj0.js} +2 -2
  268. package/dist/chunks/{managed-policy-vrzaf89h.js → file-retention-s1mrn2p8.js} +17 -17
  269. package/dist/chunks/{managed-policy-95sp4hdf.js → file-retention-s6h2s3rz.js} +4 -4
  270. package/dist/chunks/{managed-policy-qvtnw8rj.js → file-retention-s6nkmqs6.js} +9 -9
  271. package/dist/chunks/{managed-policy-be0wmwv5.js → file-retention-s738pv3k.js} +7 -7
  272. package/dist/chunks/{managed-policy-h9tmec5j.js → file-retention-s9hrvzk4.js} +18 -18
  273. package/dist/chunks/{managed-policy-97kr14ga.js → file-retention-s9k2g5gd.js} +21 -21
  274. package/dist/chunks/{managed-policy-sa3fpqfw.js → file-retention-sa3fpqfw.js} +2 -2
  275. package/dist/chunks/{managed-policy-sbya78hr.js → file-retention-sbya78hr.js} +1 -1
  276. package/dist/chunks/{managed-policy-mqe7nf5n.js → file-retention-sbz71ybr.js} +3 -3
  277. package/dist/chunks/{managed-policy-x8pn77yk.js → file-retention-sfdpshmh.js} +33 -33
  278. package/dist/chunks/{managed-policy-rppm5c81.js → file-retention-sk03a6mt.js} +11 -11
  279. package/dist/chunks/{managed-policy-sqjzf8x2.js → file-retention-sqjzf8x2.js} +1 -1
  280. package/dist/chunks/{managed-policy-thk52jvy.js → file-retention-srwhahpg.js} +27 -27
  281. package/dist/chunks/{managed-policy-svcy3p9a.js → file-retention-svcy3p9a.js} +1 -1
  282. package/dist/chunks/{managed-policy-vh150vf7.js → file-retention-t388y8mj.js} +16 -16
  283. package/dist/chunks/{managed-policy-7wtdn1g8.js → file-retention-t7k13e43.js} +25 -25
  284. package/dist/chunks/{managed-policy-t3jf6x5r.js → file-retention-tcgeqmk1.js} +6 -6
  285. package/dist/chunks/{managed-policy-tczq8hjw.js → file-retention-tczq8hjw.js} +1 -1
  286. package/dist/chunks/{managed-policy-654x7yzp.js → file-retention-tk62q1re.js} +16 -16
  287. package/dist/chunks/{managed-policy-fh6yqggw.js → file-retention-tkm9xe8p.js} +10 -10
  288. package/dist/chunks/{managed-policy-2e07j09f.js → file-retention-tp6ysjfh.js} +17 -17
  289. package/dist/chunks/{managed-policy-twssxy5n.js → file-retention-twssxy5n.js} +2 -2
  290. package/dist/chunks/{managed-policy-v2r1d0zg.js → file-retention-v2r1d0zg.js} +1 -1
  291. package/dist/chunks/{managed-policy-r45vdydb.js → file-retention-vdv0ex2k.js} +16 -16
  292. package/dist/chunks/{managed-policy-zpk91qsy.js → file-retention-vh5mfw8y.js} +19 -19
  293. package/dist/chunks/{managed-policy-vjf35v1f.js → file-retention-vjf35v1f.js} +1 -1
  294. package/dist/chunks/{managed-policy-s26c8eb5.js → file-retention-vmxsyvj6.js} +4 -4
  295. package/dist/chunks/{managed-policy-gvn3f3gf.js → file-retention-vn3jxh88.js} +34 -34
  296. package/dist/chunks/{managed-policy-4gf7gge9.js → file-retention-vnh9n1ga.js} +5 -5
  297. package/dist/chunks/{managed-policy-7ve1t3n0.js → file-retention-vx8dvbvz.js} +21 -21
  298. package/dist/chunks/{managed-policy-x99tb5f1.js → file-retention-w3gtzgrj.js} +16 -16
  299. package/dist/chunks/{managed-policy-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  300. package/dist/chunks/{managed-policy-39615p30.js → file-retention-w4y7paq5.js} +15 -15
  301. package/dist/chunks/{managed-policy-wakvkjy4.js → file-retention-wakvkjy4.js} +1 -1
  302. package/dist/chunks/{managed-policy-wd87259q.js → file-retention-wd87259q.js} +1 -1
  303. package/dist/chunks/{managed-policy-nx4vzyjd.js → file-retention-wegkxhrn.js} +2 -2
  304. package/dist/chunks/{managed-policy-wnhgecwx.js → file-retention-wnhgecwx.js} +1 -1
  305. package/dist/chunks/{managed-policy-tazjvz8j.js → file-retention-wvj287hh.js} +16 -16
  306. package/dist/chunks/{managed-policy-9kywdm83.js → file-retention-wyndpgwe.js} +27 -27
  307. package/dist/chunks/{managed-policy-pjxxd0tq.js → file-retention-wz8egk7j.js} +24 -24
  308. package/dist/chunks/{managed-policy-p80db9m6.js → file-retention-x264bg3j.js} +21 -21
  309. package/dist/chunks/{managed-policy-ff98wwhc.js → file-retention-x4fv0bsv.js} +21 -21
  310. package/dist/chunks/{managed-policy-s5vtxg18.js → file-retention-x5pnbcqp.js} +12 -12
  311. package/dist/chunks/{managed-policy-7e7988gh.js → file-retention-x7f1c0hn.js} +11 -11
  312. package/dist/chunks/{managed-policy-qgszjrgp.js → file-retention-x8493zn3.js} +49 -49
  313. package/dist/chunks/{managed-policy-00fx7j5c.js → file-retention-xcabrysh.js} +19 -19
  314. package/dist/chunks/{managed-policy-8ex0w787.js → file-retention-xksw6ev0.js} +4 -4
  315. package/dist/chunks/{managed-policy-5qjahbs7.js → file-retention-xsk8rjgw.js} +16 -16
  316. package/dist/chunks/{managed-policy-xsvks309.js → file-retention-y039zdvd.js} +25 -25
  317. package/dist/chunks/{managed-policy-jy2czfqv.js → file-retention-y4n6pw34.js} +4 -4
  318. package/dist/chunks/{managed-policy-ma48de29.js → file-retention-y906m0ew.js} +5 -5
  319. package/dist/chunks/{managed-policy-g8swrvnn.js → file-retention-yabd269j.js} +31 -31
  320. package/dist/chunks/{managed-policy-pxtfkpje.js → file-retention-yara3q77.js} +2 -2
  321. package/dist/chunks/{managed-policy-yb20nhc3.js → file-retention-yb20nhc3.js} +1 -1
  322. package/dist/chunks/{managed-policy-5zetbzm5.js → file-retention-ybws1qgk.js} +4 -4
  323. package/dist/chunks/{managed-policy-x9fn6984.js → file-retention-ye813fd9.js} +13 -13
  324. package/dist/chunks/{managed-policy-kzh081j6.js → file-retention-yjtwjy4a.js} +28 -28
  325. package/dist/chunks/{managed-policy-hh19szvy.js → file-retention-ykwwpp75.js} +7 -7
  326. package/dist/chunks/{managed-policy-yr705xyq.js → file-retention-yr705xyq.js} +1 -1
  327. package/dist/chunks/{managed-policy-r4myysgd.js → file-retention-yx1bfhrh.js} +15 -15
  328. package/dist/chunks/{managed-policy-gds09g4b.js → file-retention-yxq23fa0.js} +37 -37
  329. package/dist/chunks/{managed-policy-nn2203hf.js → file-retention-z9ak6f41.js} +31 -31
  330. package/dist/chunks/{managed-policy-6nsp1hch.js → file-retention-zb6fyjd2.js} +21 -21
  331. package/dist/chunks/{managed-policy-g35p3w0d.js → file-retention-zdcpgs8q.js} +22 -22
  332. package/dist/chunks/{managed-policy-veh29cvg.js → file-retention-zexg1nap.js} +39 -39
  333. package/dist/chunks/{managed-policy-9r0cabze.js → file-retention-zm4kedsn.js} +18 -18
  334. package/dist/chunks/{managed-policy-emyxh9zd.js → file-retention-zpf912r4.js} +40 -40
  335. package/dist/codemode/catalog.js +1 -1
  336. package/dist/codemode/execution.js +5 -5
  337. package/dist/codemode/fetch.js +144 -144
  338. package/dist/codemode/instructions.js +7 -7
  339. package/dist/codemode/tool.js +150 -150
  340. package/dist/command.js +93 -93
  341. package/dist/config/discovery.js +94 -94
  342. package/dist/config/integration.js +3 -3
  343. package/dist/config/managed.js +1 -1
  344. package/dist/config/markdown.js +1 -1
  345. package/dist/config/normalize.js +111 -111
  346. package/dist/config/plugin/agent.js +131 -131
  347. package/dist/config/plugin/command.js +229 -229
  348. package/dist/config/plugin/compaction.js +170 -170
  349. package/dist/config/plugin/compatibility.js +149 -149
  350. package/dist/config/plugin/entry-observer.js +1 -1
  351. package/dist/config/plugin/formatter.js +130 -130
  352. package/dist/config/plugin/image.js +129 -129
  353. package/dist/config/plugin/instruction.js +129 -129
  354. package/dist/config/plugin/location-watcher.js +129 -129
  355. package/dist/config/plugin/mcp.js +140 -140
  356. package/dist/config/plugin/policy.js +129 -129
  357. package/dist/config/plugin/provider.js +129 -129
  358. package/dist/config/plugin/reference.js +131 -131
  359. package/dist/config/plugin/shell.js +129 -129
  360. package/dist/config/plugin/skill-file.js +145 -145
  361. package/dist/config/plugin/skill-scan.js +1 -1
  362. package/dist/config/plugin/skill.js +152 -152
  363. package/dist/config/plugin/snapshot.js +129 -129
  364. package/dist/config/plugin/source.js +132 -132
  365. package/dist/config/plugin/tool-output.js +130 -130
  366. package/dist/config/plugin/websearch.js +128 -128
  367. package/dist/config/plugin/worktree.js +131 -131
  368. package/dist/config/variable.js +1 -1
  369. package/dist/config/watch.js +1 -1
  370. package/dist/config.js +134 -134
  371. package/dist/console-access.js +1 -1
  372. package/dist/credential/sql.js +2 -2
  373. package/dist/credential.js +85 -85
  374. package/dist/database/database.js +76 -76
  375. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  376. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  377. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  378. package/dist/database/drizzle/index.js +13 -13
  379. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  380. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  381. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  382. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  383. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  384. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  385. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  386. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  387. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  388. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  389. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  390. package/dist/database/drizzle.js +14 -14
  391. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  392. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  393. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  394. package/dist/database/migration/20260225215848_workspace.js +1 -1
  395. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  396. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  397. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  398. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  399. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  400. package/dist/database/migration/20260323234822_events.js +1 -1
  401. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  402. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  403. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  404. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  405. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  406. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  407. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  408. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  409. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  410. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  411. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  412. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  413. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  414. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  415. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  416. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  417. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  418. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  419. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  420. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  421. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  422. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  423. package/dist/database/migration/20260611035744_credential.js +1 -1
  424. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  425. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  426. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  427. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  428. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  429. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  430. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  431. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  432. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  433. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  434. package/dist/database/migration/20260812213948_worktree.js +1 -1
  435. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  436. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  437. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  438. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  439. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  440. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  441. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  442. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  443. package/dist/database/migration/20261025123711_blob.js +1 -1
  444. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  445. package/dist/database/migration/20261026223005_schedule.js +1 -1
  446. package/dist/database/migration/20261029002625_session_part.js +1 -1
  447. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  448. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  449. package/dist/database/migration.gen.js +59 -59
  450. package/dist/database/migration.js +61 -61
  451. package/dist/database/path.js +2 -2
  452. package/dist/database/schema.gen.js +1 -1
  453. package/dist/database/schema.sql.js +1 -1
  454. package/dist/database/sqlite.bun.js +1 -1
  455. package/dist/database/sqlite.js +1 -1
  456. package/dist/database/sqlite.node.js +1 -1
  457. package/dist/database/sqlite.workerd.js +1 -1
  458. package/dist/database/v1-migration.bun.js +104 -104
  459. package/dist/database/v1-migration.js +1 -1
  460. package/dist/effect/app-node-builder.js +420 -420
  461. package/dist/effect/app-node-platform.js +2 -2
  462. package/dist/effect/keyed-mutex.js +1 -1
  463. package/dist/effect/websocket-constructor.js +1 -1
  464. package/dist/environment/driver.js +1 -1
  465. package/dist/environment/environment.js +105 -105
  466. package/dist/environment/exec-defaults.js +2 -2
  467. package/dist/environment/files.js +1 -1
  468. package/dist/environment/index.js +107 -107
  469. package/dist/environment/local.js +2 -2
  470. package/dist/environment/memory.js +2 -2
  471. package/dist/environment/unavailable.js +3 -3
  472. package/dist/event/sql.js +1 -1
  473. package/dist/event-logger.js +84 -84
  474. package/dist/file-access.js +155 -155
  475. package/dist/file-mutation.js +102 -102
  476. package/dist/file-retention.js +1 -1
  477. package/dist/filesystem/fff.bun.js +2 -2
  478. package/dist/filesystem/fff.js +1 -1
  479. package/dist/filesystem/fff.node.js +2 -2
  480. package/dist/filesystem/fff.workerd.js +2 -2
  481. package/dist/filesystem/file-watch.js +90 -90
  482. package/dist/filesystem/location-watcher-policy.js +6 -6
  483. package/dist/filesystem/location-watcher.js +240 -240
  484. package/dist/filesystem/protected.js +1 -1
  485. package/dist/filesystem/search.js +111 -111
  486. package/dist/filesystem/watcher-binding.js +1 -1
  487. package/dist/filesystem/watcher.js +11 -11
  488. package/dist/filesystem.js +112 -112
  489. package/dist/form.js +90 -90
  490. package/dist/formatter/builtins.js +4 -4
  491. package/dist/formatter.js +99 -99
  492. package/dist/generate.js +119 -119
  493. package/dist/git.js +11 -11
  494. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  495. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  496. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  497. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  498. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  499. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  500. package/dist/github-copilot/copilot-provider.js +17 -17
  501. package/dist/github-copilot/models.js +103 -103
  502. package/dist/github-copilot/openai-compatible-error.js +1 -1
  503. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  504. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  505. package/dist/github-copilot/responses/openai-error.js +1 -1
  506. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  507. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  508. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  509. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  510. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  511. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  512. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  513. package/dist/image/notice.js +1 -1
  514. package/dist/image/photon-normalize.js +1 -1
  515. package/dist/image/photon-worker.js +1 -1
  516. package/dist/image/photon.js +4 -4
  517. package/dist/image.js +6 -6
  518. package/dist/instance/service.js +3 -3
  519. package/dist/instance.js +413 -413
  520. package/dist/instruction-discovery.js +96 -96
  521. package/dist/instructions/builtins.js +99 -99
  522. package/dist/instructions/index.js +3 -3
  523. package/dist/integration/connection.js +3 -3
  524. package/dist/integration.js +95 -95
  525. package/dist/job.js +88 -88
  526. package/dist/kv/sql.js +2 -2
  527. package/dist/kv.js +83 -83
  528. package/dist/location-activity.js +171 -171
  529. package/dist/location-lifecycle.js +149 -149
  530. package/dist/location-service-map.js +98 -98
  531. package/dist/location-services.js +412 -412
  532. package/dist/location.js +99 -99
  533. package/dist/managed-policy.js +3 -3
  534. package/dist/mcp/client.js +103 -103
  535. package/dist/mcp/index.js +119 -119
  536. package/dist/mcp/instructions.js +180 -180
  537. package/dist/mcp/oauth.js +85 -85
  538. package/dist/mcp/socket-client.js +1 -1
  539. package/dist/mcp/stdio.js +102 -102
  540. package/dist/mime.js +1 -1
  541. package/dist/modal/models.js +103 -103
  542. package/dist/model-resolver.js +111 -111
  543. package/dist/model-retry.js +1 -1
  544. package/dist/model.js +110 -110
  545. package/dist/models-dev/v1.js +1 -1
  546. package/dist/models-dev.js +120 -120
  547. package/dist/oauth/page.js +1 -1
  548. package/dist/permission/saved.js +92 -92
  549. package/dist/permission/sql.js +5 -5
  550. package/dist/permission.js +152 -152
  551. package/dist/persistent-pty/binary.bun.js +1 -1
  552. package/dist/persistent-pty/daemon.js +1 -1
  553. package/dist/persistent-pty/index.js +100 -100
  554. package/dist/persistent-pty/pty-binding.js +1 -1
  555. package/dist/persistent-pty.js +85 -85
  556. package/dist/plugin/agent.js +86 -86
  557. package/dist/plugin/command.js +114 -114
  558. package/dist/plugin/goal.js +3 -3
  559. package/dist/plugin/hooks.js +5 -5
  560. package/dist/plugin/host.js +233 -233
  561. package/dist/plugin/identity.js +5 -5
  562. package/dist/plugin/instance.js +5 -5
  563. package/dist/plugin/internal.js +391 -391
  564. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  565. package/dist/plugin/models-dev.js +109 -109
  566. package/dist/plugin/module.js +128 -128
  567. package/dist/plugin/optimize.js +2 -2
  568. package/dist/plugin/plan.js +145 -145
  569. package/dist/plugin/promise.js +1 -1
  570. package/dist/plugin/provider/amazon-bedrock.js +103 -103
  571. package/dist/plugin/provider/azure.js +129 -129
  572. package/dist/plugin/provider/cerebras.js +1 -1
  573. package/dist/plugin/provider/chatgpt.js +129 -129
  574. package/dist/plugin/provider/claude-agent/aisdk.js +116 -116
  575. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  576. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  577. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  578. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  579. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  580. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  581. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  582. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  583. package/dist/plugin/provider/claude-agent/index.js +144 -144
  584. package/dist/plugin/provider/claude-agent/instructions.js +111 -111
  585. package/dist/plugin/provider/claude-agent/integration.js +112 -112
  586. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  587. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  588. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  589. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  590. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  591. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  592. package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
  593. package/dist/plugin/provider/claude-agent/provider.js +109 -109
  594. package/dist/plugin/provider/claude-agent/session.js +111 -111
  595. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  596. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  597. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  598. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  599. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  600. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  601. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  602. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  603. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  604. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  605. package/dist/plugin/provider/cloudflare-ai-gateway.js +127 -127
  606. package/dist/plugin/provider/cloudflare-workers-ai.js +127 -127
  607. package/dist/plugin/provider/configured.js +125 -125
  608. package/dist/plugin/provider/credential-settings.js +84 -84
  609. package/dist/plugin/provider/databricks.js +1 -1
  610. package/dist/plugin/provider/digitalocean.js +105 -105
  611. package/dist/plugin/provider/dynamic.js +2 -2
  612. package/dist/plugin/provider/github-copilot.js +107 -107
  613. package/dist/plugin/provider/gitlab.js +106 -106
  614. package/dist/plugin/provider/google-vertex.js +126 -126
  615. package/dist/plugin/provider/kilo.js +1 -1
  616. package/dist/plugin/provider/llmgateway.js +88 -88
  617. package/dist/plugin/provider/lmstudio.js +138 -138
  618. package/dist/plugin/provider/local.js +135 -135
  619. package/dist/plugin/provider/modal.js +104 -104
  620. package/dist/plugin/provider/neon.js +1 -1
  621. package/dist/plugin/provider/nvidia.js +1 -1
  622. package/dist/plugin/provider/ollama.js +138 -138
  623. package/dist/plugin/provider/openai-context-caps.js +102 -102
  624. package/dist/plugin/provider/openai.js +129 -129
  625. package/dist/plugin/provider/opencode.js +131 -131
  626. package/dist/plugin/provider/openrouter.js +103 -103
  627. package/dist/plugin/provider/poe.js +89 -89
  628. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  629. package/dist/plugin/provider/sap-ai-core.js +103 -103
  630. package/dist/plugin/provider/sdk-factory.js +1 -1
  631. package/dist/plugin/provider/snowflake-cortex.js +128 -128
  632. package/dist/plugin/provider/vllm.js +138 -138
  633. package/dist/plugin/provider/xai.js +103 -103
  634. package/dist/plugin/provider/zenmux.js +1 -1
  635. package/dist/plugin/provider.js +209 -209
  636. package/dist/plugin/sdk.js +86 -86
  637. package/dist/plugin/service.js +3 -3
  638. package/dist/plugin/skill.js +148 -148
  639. package/dist/plugin/source-directory.js +1 -1
  640. package/dist/plugin/supervisor.js +399 -399
  641. package/dist/plugin/tool-input-repair.js +4 -4
  642. package/dist/plugin/update.js +6 -6
  643. package/dist/plugin/vcs/git.js +98 -98
  644. package/dist/plugin/vcs/hg.js +98 -98
  645. package/dist/plugin/verbosity.js +105 -105
  646. package/dist/plugin/warming.js +127 -127
  647. package/dist/plugin/websearch/exa.js +5 -5
  648. package/dist/plugin/websearch/firecrawl.js +6 -6
  649. package/dist/plugin/websearch/index.js +9 -9
  650. package/dist/plugin/websearch/mcp.js +4 -4
  651. package/dist/plugin/websearch/parallel.js +8 -8
  652. package/dist/plugin/websearch/tavily.js +4 -4
  653. package/dist/plugin/websearch/tinyfish.js +8 -8
  654. package/dist/plugin.js +242 -242
  655. package/dist/project/icon.js +5 -5
  656. package/dist/project/schema.js +6 -6
  657. package/dist/project/sql.js +4 -4
  658. package/dist/project.js +100 -100
  659. package/dist/provider.js +109 -109
  660. package/dist/pty/protocol.js +1 -1
  661. package/dist/pty/ticket.js +1 -1
  662. package/dist/pty.js +102 -102
  663. package/dist/reference/instructions.js +98 -98
  664. package/dist/reference.js +100 -100
  665. package/dist/repository-cache.js +92 -92
  666. package/dist/repository.js +1 -1
  667. package/dist/ripgrep/binary.js +2 -2
  668. package/dist/ripgrep.js +107 -107
  669. package/dist/rpc.js +98 -98
  670. package/dist/schedule/check.js +238 -238
  671. package/dist/schedule/sql.js +6 -6
  672. package/dist/schedule.js +246 -246
  673. package/dist/schema.js +1 -1
  674. package/dist/session/affinity.js +1 -1
  675. package/dist/session/background.js +1 -1
  676. package/dist/session/blob.js +128 -128
  677. package/dist/session/command.js +84 -84
  678. package/dist/session/compaction.js +172 -172
  679. package/dist/session/context.js +197 -197
  680. package/dist/session/diff.js +100 -100
  681. package/dist/session/environment.js +5 -5
  682. package/dist/session/error.js +3 -3
  683. package/dist/session/event.js +1 -1
  684. package/dist/session/execution/restart.js +238 -238
  685. package/dist/session/execution.js +161 -161
  686. package/dist/session/generate.js +199 -199
  687. package/dist/session/history.js +135 -135
  688. package/dist/session/inbox.js +144 -144
  689. package/dist/session/info.js +3 -3
  690. package/dist/session/instruction-entry.js +87 -87
  691. package/dist/session/instruction-state.js +8 -8
  692. package/dist/session/instructions.js +140 -140
  693. package/dist/session/message-updater.js +2 -2
  694. package/dist/session/message.js +1 -1
  695. package/dist/session/model-request.js +163 -163
  696. package/dist/session/model-transport.js +7 -7
  697. package/dist/session/move.js +163 -163
  698. package/dist/session/projector.js +142 -142
  699. package/dist/session/prompt.js +147 -147
  700. package/dist/session/recent-text.js +1 -1
  701. package/dist/session/revert.js +138 -138
  702. package/dist/session/run-coordinator.js +1 -1
  703. package/dist/session/runner/index.js +1 -1
  704. package/dist/session/runner/llm.js +245 -245
  705. package/dist/session/runner/max-steps.js +1 -1
  706. package/dist/session/runner/model.js +112 -112
  707. package/dist/session/runner/publish-llm-event.js +148 -148
  708. package/dist/session/runner/retry.js +5 -5
  709. package/dist/session/runner/step.js +160 -160
  710. package/dist/session/runner/to-llm-message.js +136 -136
  711. package/dist/session/schema.js +5 -5
  712. package/dist/session/session.js +179 -179
  713. package/dist/session/shell.js +143 -143
  714. package/dist/session/skill.js +146 -146
  715. package/dist/session/sql.js +5 -5
  716. package/dist/session/stats.js +83 -83
  717. package/dist/session/store.js +141 -141
  718. package/dist/session/stored.js +4 -4
  719. package/dist/session/subagent-completion.js +1 -1
  720. package/dist/session/subagent-job.js +227 -227
  721. package/dist/session/system-prompt.js +3 -3
  722. package/dist/session/title.js +195 -195
  723. package/dist/session/to-session-error.js +147 -147
  724. package/dist/session/transfer.js +236 -236
  725. package/dist/session/usage.js +3 -3
  726. package/dist/session.js +229 -229
  727. package/dist/shell/parse.js +6 -6
  728. package/dist/shell/result.js +1 -1
  729. package/dist/shell/scan.js +1 -1
  730. package/dist/shell/select.js +11 -11
  731. package/dist/shell.js +145 -145
  732. package/dist/skill/discovery.js +6 -6
  733. package/dist/skill/instructions.js +148 -148
  734. package/dist/skill.js +153 -153
  735. package/dist/snapshot.js +105 -105
  736. package/dist/state.js +1 -1
  737. package/dist/tool/html-markdown.js +1 -1
  738. package/dist/tool/http-body.js +1 -1
  739. package/dist/tool/mcp.js +177 -177
  740. package/dist/tool/plugin/edit.js +163 -163
  741. package/dist/tool/plugin/file-diff.js +1 -1
  742. package/dist/tool/plugin/glob.js +161 -161
  743. package/dist/tool/plugin/grep.js +167 -167
  744. package/dist/tool/plugin/image-generate.js +235 -235
  745. package/dist/tool/plugin/mcp-resource.js +161 -161
  746. package/dist/tool/plugin/opencode.js +160 -160
  747. package/dist/tool/plugin/patch.js +157 -157
  748. package/dist/tool/plugin/question.js +145 -145
  749. package/dist/tool/plugin/read.js +168 -168
  750. package/dist/tool/plugin/schedule.js +244 -244
  751. package/dist/tool/plugin/shell.js +231 -231
  752. package/dist/tool/plugin/skill.js +154 -154
  753. package/dist/tool/plugin/subagent.js +232 -232
  754. package/dist/tool/plugin/todo.js +152 -152
  755. package/dist/tool/plugin/webfetch.js +154 -154
  756. package/dist/tool/plugin/websearch.js +150 -150
  757. package/dist/tool/plugin/write.js +165 -165
  758. package/dist/tool/read-filesystem.js +114 -114
  759. package/dist/tool/runtime.js +1 -1
  760. package/dist/tool-output.js +7 -7
  761. package/dist/tool.js +158 -158
  762. package/dist/usage-limits.js +99 -99
  763. package/dist/util/error-summary.js +1 -1
  764. package/dist/util/git-executable.js +3 -3
  765. package/dist/util/lazy.js +1 -1
  766. package/dist/util/slug.js +1 -1
  767. package/dist/util/token.js +1 -1
  768. package/dist/util/which.js +1 -1
  769. package/dist/util/wildcard.js +1 -1
  770. package/dist/v1/config/agent.js +7 -7
  771. package/dist/v1/config/command.js +3 -3
  772. package/dist/v1/config/mcp.js +4 -4
  773. package/dist/v1/config/migrate.js +104 -104
  774. package/dist/v1/config/permission.js +3 -3
  775. package/dist/v1/config/plugin.js +3 -3
  776. package/dist/v1/config/provider-options.js +1 -1
  777. package/dist/v1/config/provider.js +4 -4
  778. package/dist/variant.js +105 -105
  779. package/dist/vcs/patch.js +1 -1
  780. package/dist/vcs.js +99 -99
  781. package/dist/voice.js +94 -94
  782. package/dist/websearch.js +94 -94
  783. package/dist/wellknown/plugin.js +84 -84
  784. package/dist/wellknown.js +91 -91
  785. package/dist/workspace/driver.js +5 -5
  786. package/dist/workspace/sql.js +1 -1
  787. package/dist/workspace.js +92 -92
  788. package/dist/worktree/directory.js +2 -2
  789. package/dist/worktree/git.js +11 -11
  790. package/dist/worktree/sql.js +5 -5
  791. package/dist/worktree/strategies.js +101 -101
  792. package/dist/worktree.js +110 -110
  793. package/package.json +8 -8
  794. package/dist/chunks/managed-policy-0p898jtz.js +0 -26
  795. package/dist/chunks/managed-policy-3t5ccfg2.js +0 -539
  796. package/dist/chunks/managed-policy-ezna1kdx.js +0 -18
  797. package/dist/chunks/managed-policy-yc9fq4e8.js +0 -16
  798. package/dist/chunks/managed-policy-yh8m6s3q.js +0 -257
  799. /package/dist/chunks/{managed-policy-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  800. /package/dist/chunks/{managed-policy-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  801. /package/dist/chunks/{managed-policy-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  802. /package/dist/chunks/{managed-policy-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  803. /package/dist/chunks/{managed-policy-1kah00gy.js → file-retention-1kah00gy.js} +0 -0
  804. /package/dist/chunks/{managed-policy-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
  805. /package/dist/chunks/{managed-policy-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  806. /package/dist/chunks/{managed-policy-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
  807. /package/dist/chunks/{managed-policy-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  808. /package/dist/chunks/{managed-policy-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  809. /package/dist/chunks/{managed-policy-3asan66x.js → file-retention-3asan66x.js} +0 -0
  810. /package/dist/chunks/{managed-policy-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  811. /package/dist/chunks/{managed-policy-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  812. /package/dist/chunks/{managed-policy-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  813. /package/dist/chunks/{managed-policy-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  814. /package/dist/chunks/{managed-policy-4qk9sjk2.js → file-retention-4qk9sjk2.js} +0 -0
  815. /package/dist/chunks/{managed-policy-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
  816. /package/dist/chunks/{managed-policy-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  817. /package/dist/chunks/{managed-policy-53557ph1.js → file-retention-53557ph1.js} +0 -0
  818. /package/dist/chunks/{managed-policy-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  819. /package/dist/chunks/{managed-policy-5w3e23ze.js → file-retention-5w3e23ze.js} +0 -0
  820. /package/dist/chunks/{managed-policy-6prwharc.js → file-retention-6prwharc.js} +0 -0
  821. /package/dist/chunks/{managed-policy-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
  822. /package/dist/chunks/{managed-policy-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  823. /package/dist/chunks/{managed-policy-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  824. /package/dist/chunks/{managed-policy-7stb81gk.js → file-retention-7stb81gk.js} +0 -0
  825. /package/dist/chunks/{managed-policy-822emrt2.js → file-retention-822emrt2.js} +0 -0
  826. /package/dist/chunks/{managed-policy-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
  827. /package/dist/chunks/{managed-policy-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  828. /package/dist/chunks/{managed-policy-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  829. /package/dist/chunks/{managed-policy-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
  830. /package/dist/chunks/{managed-policy-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  831. /package/dist/chunks/{managed-policy-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  832. /package/dist/chunks/{managed-policy-a058387c.js → file-retention-a058387c.js} +0 -0
  833. /package/dist/chunks/{managed-policy-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  834. /package/dist/chunks/{managed-policy-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  835. /package/dist/chunks/{managed-policy-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  836. /package/dist/chunks/{managed-policy-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  837. /package/dist/chunks/{managed-policy-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  838. /package/dist/chunks/{managed-policy-beh6qq61.js → file-retention-beh6qq61.js} +0 -0
  839. /package/dist/chunks/{managed-policy-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  840. /package/dist/chunks/{managed-policy-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  841. /package/dist/chunks/{managed-policy-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  842. /package/dist/chunks/{managed-policy-cqv5kn06.js → file-retention-cqv5kn06.js} +0 -0
  843. /package/dist/chunks/{managed-policy-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  844. /package/dist/chunks/{managed-policy-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  845. /package/dist/chunks/{managed-policy-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  846. /package/dist/chunks/{managed-policy-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  847. /package/dist/chunks/{managed-policy-df08tz66.js → file-retention-df08tz66.js} +0 -0
  848. /package/dist/chunks/{managed-policy-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  849. /package/dist/chunks/{managed-policy-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  850. /package/dist/chunks/{managed-policy-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  851. /package/dist/chunks/{managed-policy-ean2d8b5.js → file-retention-ean2d8b5.js} +0 -0
  852. /package/dist/chunks/{managed-policy-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  853. /package/dist/chunks/{managed-policy-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  854. /package/dist/chunks/{managed-policy-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  855. /package/dist/chunks/{managed-policy-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  856. /package/dist/chunks/{managed-policy-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  857. /package/dist/chunks/{managed-policy-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  858. /package/dist/chunks/{managed-policy-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  859. /package/dist/chunks/{managed-policy-fkpq3x5p.js → file-retention-fkpq3x5p.js} +0 -0
  860. /package/dist/chunks/{managed-policy-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  861. /package/dist/chunks/{managed-policy-g86h250q.js → file-retention-g86h250q.js} +0 -0
  862. /package/dist/chunks/{managed-policy-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  863. /package/dist/chunks/{managed-policy-gftt206x.js → file-retention-gftt206x.js} +0 -0
  864. /package/dist/chunks/{managed-policy-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
  865. /package/dist/chunks/{managed-policy-hk9envan.js → file-retention-hk9envan.js} +0 -0
  866. /package/dist/chunks/{managed-policy-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  867. /package/dist/chunks/{managed-policy-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  868. /package/dist/chunks/{managed-policy-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
  869. /package/dist/chunks/{managed-policy-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  870. /package/dist/chunks/{managed-policy-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  871. /package/dist/chunks/{managed-policy-jwr30sdr.js → file-retention-jwr30sdr.js} +0 -0
  872. /package/dist/chunks/{managed-policy-jze0r7bz.js → file-retention-jze0r7bz.js} +0 -0
  873. /package/dist/chunks/{managed-policy-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  874. /package/dist/chunks/{managed-policy-m18g726c.js → file-retention-m18g726c.js} +0 -0
  875. /package/dist/chunks/{managed-policy-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  876. /package/dist/chunks/{managed-policy-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  877. /package/dist/chunks/{managed-policy-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  878. /package/dist/chunks/{managed-policy-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  879. /package/dist/chunks/{managed-policy-nh4v3znn.js → file-retention-nh4v3znn.js} +0 -0
  880. /package/dist/chunks/{managed-policy-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  881. /package/dist/chunks/{managed-policy-p71gwv9c.js → file-retention-p71gwv9c.js} +0 -0
  882. /package/dist/chunks/{managed-policy-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  883. /package/dist/chunks/{managed-policy-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  884. /package/dist/chunks/{managed-policy-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  885. /package/dist/chunks/{managed-policy-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  886. /package/dist/chunks/{managed-policy-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  887. /package/dist/chunks/{managed-policy-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
  888. /package/dist/chunks/{managed-policy-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  889. /package/dist/chunks/{managed-policy-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  890. /package/dist/chunks/{managed-policy-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  891. /package/dist/chunks/{managed-policy-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  892. /package/dist/chunks/{managed-policy-stkk57rt.js → file-retention-stkk57rt.js} +0 -0
  893. /package/dist/chunks/{managed-policy-t03h4f5z.js → file-retention-t03h4f5z.js} +0 -0
  894. /package/dist/chunks/{managed-policy-ty7weeps.js → file-retention-ty7weeps.js} +0 -0
  895. /package/dist/chunks/{managed-policy-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
  896. /package/dist/chunks/{managed-policy-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  897. /package/dist/chunks/{managed-policy-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
  898. /package/dist/chunks/{managed-policy-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  899. /package/dist/chunks/{managed-policy-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  900. /package/dist/chunks/{managed-policy-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  901. /package/dist/chunks/{managed-policy-x61499pn.js → file-retention-x61499pn.js} +0 -0
  902. /package/dist/chunks/{managed-policy-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  903. /package/dist/chunks/{managed-policy-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
  904. /package/dist/chunks/{managed-policy-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  905. /package/dist/chunks/{managed-policy-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
  906. /package/dist/chunks/{managed-policy-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  useragent2
3
- } from "./managed-policy-npn4ysng.js";
3
+ } from "./file-retention-nq0jwwks.js";
4
4
  import {
5
5
  collectBoundedResponseBody2
6
- } from "./managed-policy-3v8g72cx.js";
6
+ } from "./file-retention-3v8g72cx.js";
7
7
  import {
8
8
  MAX_RESPONSE_BYTES2,
9
9
  call2
10
- } from "./managed-policy-5enarcya.js";
10
+ } from "./file-retention-40za9wsf.js";
11
11
  import {
12
12
  __export
13
- } from "./managed-policy-9rqn6x4v.js";
13
+ } from "./file-retention-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/websearch/tinyfish.ts
16
16
  var exports_tinyfish = {};
17
17
  __export(exports_tinyfish, {
18
- Plugin: () => Plugin24,
18
+ Plugin: () => Plugin5,
19
19
  WebSearchTinyFish: () => exports_tinyfish,
20
- endpoint: () => endpoint6
20
+ endpoint: () => endpoint2
21
21
  });
22
22
  import { define } from "@opencode/plugin/effect/plugin";
23
23
  import { Duration, Effect, Option, Schema } from "effect";
24
24
  import { HttpClient, HttpClientRequest } from "effect/http";
25
- var endpoint6 = "https://agent.tinyfish.ai/mcp";
25
+ var endpoint2 = "https://agent.tinyfish.ai/mcp";
26
26
  var McpInput = Schema.Struct({
27
27
  query: Schema.String
28
28
  });
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
51
51
  jsonrpc: Schema.Literal("2.0"),
52
52
  method: Schema.Literal("notifications/initialized")
53
53
  });
54
- var Plugin24 = define({
54
+ var Plugin5 = define({
55
55
  id: "opencode.websearch.tinyfish",
56
56
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
57
57
  const http = yield* HttpClient.HttpClient;
@@ -78,7 +78,7 @@ var Plugin24 = define({
78
78
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
79
79
  };
80
80
  const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
81
- const result = yield* call2(http, endpoint6, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
81
+ const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
82
82
  const content = result?.content.find((item) => item.text);
83
83
  const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
84
84
  return response?.results.map((item) => ({
@@ -94,7 +94,7 @@ var Plugin24 = define({
94
94
  });
95
95
  var initialize = (http, headers) => Effect.gen(function* () {
96
96
  const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
97
- const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
97
+ const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
98
98
  jsonrpc: "2.0",
99
99
  id: 1,
100
100
  method: "initialize",
@@ -109,7 +109,7 @@ var initialize = (http, headers) => Effect.gen(function* () {
109
109
  const session = response.headers["mcp-session-id"];
110
110
  if (session === undefined)
111
111
  return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
112
- const notification = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
112
+ const notification = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
113
113
  jsonrpc: "2.0",
114
114
  method: "notifications/initialized"
115
115
  }));
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
120
120
  orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
121
121
  }));
122
122
 
123
- export { endpoint6, Plugin24, exports_tinyfish };
123
+ export { endpoint2, Plugin5, exports_tinyfish };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./managed-policy-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service84
3
- } from "./managed-policy-r45vdydb.js";
2
+ Service83
3
+ } from "./file-retention-vdv0ex2k.js";
4
4
  import {
5
- Service65
6
- } from "./managed-policy-syxgt7hj.js";
5
+ Service68
6
+ } from "./file-retention-rjxvw18s.js";
7
7
  import {
8
8
  Service13,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./managed-policy-mfs2cw6h.js";
11
+ } from "./file-retention-6p53pxzw.js";
12
12
  import {
13
- Service20
14
- } from "./managed-policy-4fvd22vc.js";
13
+ Service61
14
+ } from "./file-retention-6q2v7yes.js";
15
15
  import {
16
- Service55
17
- } from "./managed-policy-snnnv1ed.js";
16
+ Service70
17
+ } from "./file-retention-dnz500gn.js";
18
18
  import {
19
- Service19,
19
+ Service67,
20
20
  resolvePath2
21
- } from "./managed-policy-1ykyerhw.js";
21
+ } from "./file-retention-q98txggg.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./managed-policy-6prwharc.js";
24
+ } from "./file-retention-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./managed-policy-9rqn6x4v.js";
27
+ } from "./file-retention-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input9,
34
- Output: () => Output5,
35
- Plugin: () => Plugin47,
36
- name: () => name9
33
+ Input: () => Input11,
34
+ Output: () => Output7,
35
+ Plugin: () => Plugin50,
36
+ name: () => name11
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai/effect";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name9 = "edit";
43
- var Input9 = Schema.Struct({
42
+ var name11 = "edit";
43
+ var Input11 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input9 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output5 = Schema.Struct({
53
+ var Output7 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
190
190
  }
191
191
  return low;
192
192
  };
193
- var Plugin47 = {
193
+ var Plugin50 = {
194
194
  id: "opencode.tool.edit",
195
195
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
196
- const access = yield* Service19;
196
+ const access = yield* Service67;
197
197
  const fileMutation = yield* Service13;
198
- const environment = yield* Service65;
199
- const formatter = yield* Service20;
200
- const location = yield* Service84;
201
- const permission = yield* Service55;
198
+ const environment = yield* Service68;
199
+ const formatter = yield* Service61;
200
+ const location = yield* Service83;
201
+ const permission = yield* Service70;
202
202
  yield* ctx.tool.transform((editor) => editor.add({
203
- name: name9,
203
+ name: name11,
204
204
  options: { codemode: false, permission: "edit" },
205
205
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
206
- input: Input9,
207
- output: Output5,
206
+ input: Input11,
207
+ output: Output7,
208
208
  execute: (input, context) => {
209
209
  return Effect.gen(function* () {
210
210
  const permissionSource = {
@@ -276,4 +276,4 @@ var Plugin47 = {
276
276
  })
277
277
  };
278
278
 
279
- export { name9, Input9, Output5, Plugin47, exports_edit };
279
+ export { name11, Input11, Output7, Plugin50, exports_edit };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./managed-policy-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./managed-policy-z5v4ffb3.js";
5
+ } from "./file-retention-z5v4ffb3.js";
6
6
  import {
7
- Service84,
8
- node87
9
- } from "./managed-policy-r45vdydb.js";
7
+ Service83,
8
+ node86
9
+ } from "./file-retention-vdv0ex2k.js";
10
10
  import {
11
- Service43,
12
- node46
13
- } from "./managed-policy-xsvks309.js";
11
+ Service37,
12
+ node40
13
+ } from "./file-retention-y039zdvd.js";
14
14
  import {
15
15
  __export
16
- } from "./managed-policy-9rqn6x4v.js";
16
+ } from "./file-retention-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -30,11 +30,11 @@ __export(exports_filesystem, {
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  Match: () => Match2,
33
- NotFoundError: () => NotFoundError7,
34
- Service: () => Service42,
33
+ NotFoundError: () => NotFoundError5,
34
+ Service: () => Service36,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
- node: () => node45
37
+ node: () => node39
38
38
  });
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import path from "path";
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
43
43
  import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
44
44
  import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
45
45
 
46
- class NotFoundError7 extends Schema.TaggedError()("FileSystem.NotFoundError", {
46
+ class NotFoundError5 extends Schema.TaggedError()("FileSystem.NotFoundError", {
47
47
  path: RelativePath2
48
48
  }) {
49
49
  }
@@ -94,12 +94,12 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
94
94
  }
95
95
  var Event6 = FileSystem.Event;
96
96
 
97
- class Service42 extends Context.Service()("@opencode/FileSystem") {
97
+ class Service36 extends Context.Service()("@opencode/FileSystem") {
98
98
  }
99
- var baseLayer = Layer.effect(Service42, Effect.gen(function* () {
99
+ var baseLayer = Layer.effect(Service36, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
- const location = yield* Service84;
102
- const search = yield* Service43;
101
+ const location = yield* Service83;
102
+ const search = yield* Service37;
103
103
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
104
104
  if (cause.reason._tag === "NotFound")
105
105
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service42, Effect.gen(function* () {
109
109
  }));
110
110
  const resolve = Effect.fnUntraced(function* (input) {
111
111
  if (input.includes("\x00"))
112
- return yield* Effect.fail(new NotFoundError7({ path: input }));
112
+ return yield* Effect.fail(new NotFoundError5({ path: input }));
113
113
  const absolute = path.resolve(location.directory, input);
114
114
  if (!FSUtil.contains(location.directory, absolute))
115
- return yield* Effect.fail(new NotFoundError7({ path: input }));
116
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input })), (_, error) => Effect.die(error)));
115
+ return yield* Effect.fail(new NotFoundError5({ path: input }));
116
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input })), (_, error) => Effect.die(error)));
117
117
  if (!FSUtil.contains(root, real))
118
- return yield* Effect.fail(new NotFoundError7({ path: input }));
118
+ return yield* Effect.fail(new NotFoundError5({ path: input }));
119
119
  return { absolute, real, directory: location.directory };
120
120
  });
121
- return Service42.of({
121
+ return Service36.of({
122
122
  find: search.find,
123
123
  read: Effect.fn("FileSystem.read")(function* (input) {
124
124
  const target = yield* resolve(input.path);
125
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
125
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
126
126
  if (info.type !== "File")
127
- return yield* Effect.fail(new NotFoundError7({ path: input.path }));
127
+ return yield* Effect.fail(new NotFoundError5({ path: input.path }));
128
128
  return {
129
129
  mime: FSUtil.mimeType(target.real),
130
130
  size: Number(info.size),
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service42, Effect.gen(function* () {
134
134
  }),
135
135
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
136
136
  const directory = path.resolve(location.directory, input.path ?? ".");
137
- const missing = new NotFoundError7({ path: RelativePath2.make(input.path ?? ".") });
137
+ const missing = new NotFoundError5({ path: RelativePath2.make(input.path ?? ".") });
138
138
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "Directory")
140
140
  return yield* missing;
@@ -158,10 +158,10 @@ var baseLayer = Layer.effect(Service42, Effect.gen(function* () {
158
158
  })
159
159
  });
160
160
  }));
161
- var node45 = makeLocationNode({
162
- service: Service42,
161
+ var node39 = makeLocationNode({
162
+ service: Service36,
163
163
  layer: baseLayer,
164
- deps: [FSUtil.node, node87, node46]
164
+ deps: [FSUtil.node, node86, node40]
165
165
  });
166
166
 
167
- export { FindInput2, Write2, NotFoundError7, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service42, node45, exports_filesystem, Entry2, Match2, Submatch2 };
167
+ export { FindInput2, Write2, NotFoundError5, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service36, node39, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -2,16 +2,16 @@ import {
2
2
  ID13,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./managed-policy-30kktm6y.js";
5
+ } from "./file-retention-rfkt08md.js";
6
6
  import {
7
7
  __export
8
- } from "./managed-policy-9rqn6x4v.js";
8
+ } from "./file-retention-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/agent.ts
11
- var exports_agent2 = {};
12
- __export(exports_agent2, {
13
- AgentPlugin: () => exports_agent2,
14
- Plugin: () => Plugin32
11
+ var exports_agent = {};
12
+ __export(exports_agent, {
13
+ AgentPlugin: () => exports_agent,
14
+ Plugin: () => Plugin12
15
15
  });
16
16
  import { define } from "@opencode/plugin/effect/plugin";
17
17
  import { Effect } from "effect";
@@ -57,7 +57,7 @@ Rules:
57
57
  - Never ask questions or add new questions
58
58
  - If the conversation ends with an unanswered question to the user, preserve that exact question
59
59
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
60
- var Plugin32 = define({
60
+ var Plugin12 = define({
61
61
  id: "opencode.agent",
62
62
  effect: Effect.fn(function* (ctx) {
63
63
  yield* ctx.agent.transform((editor) => {
@@ -103,4 +103,4 @@ var Plugin32 = define({
103
103
  })
104
104
  });
105
105
 
106
- export { Plugin32, exports_agent2 };
106
+ export { Plugin12, exports_agent };
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service63
3
- } from "./managed-policy-30kktm6y.js";
2
+ Service73
3
+ } from "./file-retention-rfkt08md.js";
4
4
  import {
5
5
  Ref3,
6
- Service79
7
- } from "./managed-policy-g8swrvnn.js";
6
+ Service78
7
+ } from "./file-retention-yabd269j.js";
8
8
  import {
9
9
  latest2,
10
- Service59
11
- } from "./managed-policy-qgszjrgp.js";
10
+ Service75
11
+ } from "./file-retention-x8493zn3.js";
12
12
  import {
13
13
  SessionSchema2
14
- } from "./managed-policy-arz7hw7x.js";
14
+ } from "./file-retention-rjnvnctx.js";
15
15
  import {
16
- Service53
17
- } from "./managed-policy-tazjvz8j.js";
16
+ Service63
17
+ } from "./file-retention-wvj287hh.js";
18
18
  import {
19
19
  evaluate3,
20
- Service55
21
- } from "./managed-policy-snnnv1ed.js";
20
+ Service70
21
+ } from "./file-retention-dnz500gn.js";
22
22
  import {
23
- Service25
24
- } from "./managed-policy-6k4p53c4.js";
23
+ Service21
24
+ } from "./file-retention-45k1fat7.js";
25
25
  import {
26
26
  NO_TEXT2
27
- } from "./managed-policy-sqjzf8x2.js";
27
+ } from "./file-retention-sqjzf8x2.js";
28
28
  import {
29
- Service10
30
- } from "./managed-policy-zpk91qsy.js";
29
+ Service11
30
+ } from "./file-retention-vh5mfw8y.js";
31
31
  import {
32
32
  __export
33
- } from "./managed-policy-9rqn6x4v.js";
33
+ } from "./file-retention-9rqn6x4v.js";
34
34
 
35
35
  // src/tool/plugin/subagent.ts
36
36
  var exports_subagent = {};
37
37
  __export(exports_subagent, {
38
- Input: () => Input6,
38
+ Input: () => Input4,
39
39
  Output: () => Output3,
40
- Plugin: () => Plugin44,
40
+ Plugin: () => Plugin41,
41
41
  SubagentTool: () => exports_subagent,
42
- description: () => description4,
43
- name: () => name6
42
+ description: () => description3,
43
+ name: () => name4
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai/effect";
46
46
  import { Effect, Predicate, Schema } from "effect";
47
- var name6 = "subagent";
47
+ var name4 = "subagent";
48
48
  var backgroundResult = (sessionID) => ({
49
49
  sessionID,
50
50
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input6 = Schema.Struct({
59
+ var Input4 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -77,7 +77,7 @@ var Output3 = Schema.Struct({
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description4 = [
80
+ var description3 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description4 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin44 = {
89
+ var Plugin41 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service25;
93
- const jobs = yield* Service53;
94
- const agents = yield* Service63;
95
- const config = yield* Service59;
96
- const permission = yield* Service55;
97
- const models = yield* Service79;
98
- const subagents = yield* Service10;
92
+ const sessions = yield* Service21;
93
+ const jobs = yield* Service63;
94
+ const agents = yield* Service73;
95
+ const config = yield* Service75;
96
+ const permission = yield* Service70;
97
+ const models = yield* Service78;
98
+ const subagents = yield* Service11;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref3.parse(input),
@@ -117,10 +117,10 @@ var Plugin44 = {
117
117
  return ref;
118
118
  });
119
119
  yield* ctx.tool.transform((editor) => editor.add({
120
- name: name6,
120
+ name: name4,
121
121
  options: { codemode: false },
122
- description: description4,
123
- input: Input6,
122
+ description: description3,
123
+ input: Input4,
124
124
  output: Output3,
125
125
  execute: (input, context) => Effect.gen(function* () {
126
126
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
@@ -141,7 +141,7 @@ var Plugin44 = {
141
141
  if (agent.mode === "primary")
142
142
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
143
143
  yield* permission.assert({
144
- action: name6,
144
+ action: name4,
145
145
  resources: [agent.id],
146
146
  save: [agent.id],
147
147
  sessionID: context.sessionID,
@@ -220,7 +220,7 @@ ${output.output}
220
220
  })))
221
221
  })).pipe(Effect.orDie);
222
222
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
223
- if (event.tool !== name6 || !Predicate.isObject(event.input))
223
+ if (event.tool !== name4 || !Predicate.isObject(event.input))
224
224
  return;
225
225
  if (event.input.model !== "" && event.input.sessionID !== "")
226
226
  return;
@@ -232,13 +232,13 @@ ${output.output}
232
232
  event.input = input;
233
233
  }));
234
234
  const hook = (event) => Effect.gen(function* () {
235
- const tool = event.tools[name6];
235
+ const tool = event.tools[name4];
236
236
  if (!tool)
237
237
  return;
238
238
  const selected = yield* agents.resolve(event.agent);
239
239
  if (!selected)
240
240
  return;
241
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name6, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
241
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name4, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
242
242
  if (available.length === 0)
243
243
  return;
244
244
  tool.description = [
@@ -255,4 +255,4 @@ ${output.output}
255
255
  })
256
256
  };
257
257
 
258
- export { name6, Input6, Output3, description4, Plugin44, exports_subagent };
258
+ export { name4, Input4, Output3, description3, Plugin41, exports_subagent };
@@ -1,59 +1,59 @@
1
1
  import {
2
- Service87,
3
- node90
4
- } from "./managed-policy-wnxc6ztx.js";
2
+ Service86,
3
+ node89
4
+ } from "./file-retention-hp6zvnkh.js";
5
5
  import {
6
- Service83,
7
- node86
8
- } from "./managed-policy-d021hvhj.js";
6
+ Service81,
7
+ node84
8
+ } from "./file-retention-7bh7de7r.js";
9
9
  import {
10
- Service85,
11
- node88
12
- } from "./managed-policy-5vjvebcw.js";
13
- import {
14
- Ref5,
15
10
  Service84,
16
11
  node87
17
- } from "./managed-policy-r45vdydb.js";
12
+ } from "./file-retention-j3r2bmag.js";
13
+ import {
14
+ Ref5,
15
+ Service83,
16
+ node86
17
+ } from "./file-retention-vdv0ex2k.js";
18
18
  import {
19
19
  canonical3
20
- } from "./managed-policy-x238ctd3.js";
20
+ } from "./file-retention-qh3ce2zs.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./managed-policy-ec1grn59.js";
23
+ } from "./file-retention-ec1grn59.js";
24
24
  import {
25
- Service55,
26
- node56
27
- } from "./managed-policy-snnnv1ed.js";
25
+ Service70,
26
+ node73
27
+ } from "./file-retention-dnz500gn.js";
28
28
  import {
29
- Service22,
30
- node25
31
- } from "./managed-policy-h9tmec5j.js";
29
+ Service65,
30
+ node67
31
+ } from "./file-retention-s9hrvzk4.js";
32
32
  import {
33
33
  __export
34
- } from "./managed-policy-9rqn6x4v.js";
34
+ } from "./file-retention-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service14,
41
- node: () => node16
40
+ Service: () => Service64,
41
+ node: () => node66
42
42
  });
43
43
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service14 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service64 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service14, Effect.gen(function* () {
51
- const bus = yield* Service87;
52
- const location = yield* Service84;
53
- const permission = yield* Service55;
54
- const forms = yield* Service83;
55
- const rpc = yield* Service22;
56
- const project = yield* Service85;
50
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
51
+ const bus = yield* Service86;
52
+ const location = yield* Service83;
53
+ const permission = yield* Service70;
54
+ const forms = yield* Service81;
55
+ const rpc = yield* Service65;
56
+ const project = yield* Service84;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
59
59
  const unsubscribe = yield* bus.listen((event) => {
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
80
80
  });
81
81
  }).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
82
82
  }).pipe(Effect.uninterruptible);
83
- return Service14.of({
83
+ return Service64.of({
84
84
  isClosed: () => closed,
85
85
  shutdown
86
86
  });
87
87
  }));
88
- var node16 = makeLocationNode({
89
- service: Service14,
88
+ var node66 = makeLocationNode({
89
+ service: Service64,
90
90
  layer,
91
- deps: [node90, node87, node56, node88, node86, node25]
91
+ deps: [node89, node86, node73, node87, node84, node67]
92
92
  });
93
93
 
94
- export { Service14, node16, exports_location_lifecycle };
94
+ export { Service64, node66, exports_location_lifecycle };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./managed-policy-6q2bdcd1.js";
3
+ } from "./file-retention-6q2bdcd1.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";