@opencode/core 0.0.0-dev-21013 → 0.0.0-dev-21014

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{formatter-6t4hr8r6.js → file-retention-0br3sbwn.js} +4 -4
  8. package/dist/chunks/{formatter-pxs52935.js → file-retention-0ew4pgvh.js} +29 -29
  9. package/dist/chunks/{formatter-ajdjch6h.js → file-retention-0jq9fyba.js} +2 -2
  10. package/dist/chunks/{formatter-te3mz5kp.js → file-retention-0qp554p5.js} +5 -5
  11. package/dist/chunks/{formatter-0vbcp93d.js → file-retention-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{formatter-8hac7c6g.js → file-retention-0z8qyv6e.js} +11 -11
  13. package/dist/chunks/{formatter-pzxf2myn.js → file-retention-12jxavrd.js} +31 -31
  14. package/dist/chunks/{formatter-1qh5f7t0.js → file-retention-14g0fqd9.js} +12 -12
  15. package/dist/chunks/{formatter-b0w5rcd3.js → file-retention-14ss4vbv.js} +9 -9
  16. package/dist/chunks/{formatter-xxtm58em.js → file-retention-169nkwk8.js} +21 -21
  17. package/dist/chunks/{formatter-zpcg010g.js → file-retention-1q8v9ebw.js} +22 -22
  18. package/dist/chunks/{formatter-899eqk77.js → file-retention-1t590k4r.js} +18 -18
  19. package/dist/chunks/{formatter-v0es1rhs.js → file-retention-28qsb1ph.js} +9 -9
  20. package/dist/chunks/{formatter-v3ttaphs.js → file-retention-317g7k6g.js} +35 -35
  21. package/dist/chunks/{formatter-31xfzrxg.js → file-retention-31xfzrxg.js} +2 -2
  22. package/dist/chunks/{formatter-bsysq0ez.js → file-retention-33gt55zk.js} +20 -20
  23. package/dist/chunks/{formatter-fg1z6pp1.js → file-retention-343b8twr.js} +35 -35
  24. package/dist/chunks/{formatter-sz4t6e64.js → file-retention-35f1txve.js} +4 -4
  25. package/dist/chunks/{formatter-qhvzx7pk.js → file-retention-3a90axj9.js} +24 -24
  26. package/dist/chunks/{formatter-dqgx37xb.js → file-retention-3dj4nk9r.js} +10 -10
  27. package/dist/chunks/{formatter-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
  28. package/dist/chunks/{formatter-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  29. package/dist/chunks/{formatter-3hwn7j4h.js → file-retention-3hwn7j4h.js} +2 -2
  30. package/dist/chunks/{formatter-be7qvw84.js → file-retention-3rtxz4nr.js} +8 -8
  31. package/dist/chunks/{formatter-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
  32. package/dist/chunks/{formatter-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
  33. package/dist/chunks/{formatter-wsvg2szn.js → file-retention-3wadahsr.js} +13 -13
  34. package/dist/chunks/{formatter-gqtdsdt7.js → file-retention-3y377wv9.js} +4 -4
  35. package/dist/chunks/{formatter-3zsf4n22.js → file-retention-3zsf4n22.js} +1 -1
  36. package/dist/chunks/{formatter-vjv51mvx.js → file-retention-41jpfhb3.js} +32 -32
  37. package/dist/chunks/{formatter-c1kp7gpd.js → file-retention-45z6fg85.js} +36 -36
  38. package/dist/chunks/{formatter-7wnqvywx.js → file-retention-494866tp.js} +25 -25
  39. package/dist/chunks/{formatter-8c2qsf3t.js → file-retention-4as0pac5.js} +14 -14
  40. package/dist/chunks/{formatter-7c576772.js → file-retention-4jf5r3d7.js} +25 -25
  41. package/dist/chunks/{formatter-d6h3yzf0.js → file-retention-4nq780rr.js} +8 -8
  42. package/dist/chunks/{formatter-qhw583k0.js → file-retention-4qxa3b8n.js} +13 -13
  43. package/dist/chunks/{formatter-dxxkxqr1.js → file-retention-4r8pgdq5.js} +33 -33
  44. package/dist/chunks/{formatter-tsyk5zzk.js → file-retention-4x4e769q.js} +23 -23
  45. package/dist/chunks/{formatter-bgmkc152.js → file-retention-4z07f7n3.js} +28 -28
  46. package/dist/chunks/{formatter-0nfx68vs.js → file-retention-4zys1a3z.js} +8 -8
  47. package/dist/chunks/{formatter-r94pvvab.js → file-retention-54ma36ye.js} +4 -4
  48. package/dist/chunks/{formatter-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
  49. package/dist/chunks/{formatter-vxspw9yr.js → file-retention-5qmd8552.js} +4 -4
  50. package/dist/chunks/{formatter-ygtkbg8j.js → file-retention-5wbvgj8p.js} +9 -9
  51. package/dist/chunks/{formatter-cp57n86a.js → file-retention-5yg5wf9b.js} +38 -38
  52. package/dist/chunks/{formatter-p37cw4rj.js → file-retention-5yzzbxa7.js} +8 -8
  53. package/dist/chunks/file-retention-5z5w0mbt.js +26 -0
  54. package/dist/chunks/{formatter-k9jhr1nj.js → file-retention-5zj8cc1q.js} +17 -17
  55. package/dist/chunks/{formatter-mpmevjqk.js → file-retention-6b6wpy4c.js} +13 -13
  56. package/dist/chunks/{formatter-3p7s2r2p.js → file-retention-6bdav48n.js} +89 -89
  57. package/dist/chunks/{formatter-z2qvtray.js → file-retention-6bh6zht1.js} +6 -6
  58. package/dist/chunks/{formatter-b0f1bdm2.js → file-retention-6na3g6pg.js} +58 -58
  59. package/dist/chunks/{formatter-kfgdhbhb.js → file-retention-6vf2fsqw.js} +17 -17
  60. package/dist/chunks/{formatter-wg7azwjh.js → file-retention-6x7z2ytp.js} +22 -22
  61. package/dist/chunks/{formatter-6xb47vfp.js → file-retention-6xb47vfp.js} +1 -1
  62. package/dist/chunks/{formatter-gs412db5.js → file-retention-70vxy3y5.js} +22 -22
  63. package/dist/chunks/{formatter-q5eaxa6y.js → file-retention-71dexq5d.js} +11 -11
  64. package/dist/chunks/{formatter-fmzzfcx7.js → file-retention-76pbprbn.js} +15 -15
  65. package/dist/chunks/{formatter-775gj3j1.js → file-retention-775gj3j1.js} +2 -2
  66. package/dist/chunks/{formatter-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{formatter-fcrkznn8.js → file-retention-7dqw4kz8.js} +5 -5
  68. package/dist/chunks/{formatter-f3cxnthp.js → file-retention-7e57dx7y.js} +193 -193
  69. package/dist/chunks/{formatter-8svxbds8.js → file-retention-7f00463b.js} +20 -20
  70. package/dist/chunks/{formatter-dwf3tdgd.js → file-retention-7k2e2df9.js} +10 -10
  71. package/dist/chunks/{formatter-6xhm7n2c.js → file-retention-7ky6n90g.js} +13 -13
  72. package/dist/chunks/{formatter-rhy9k1rp.js → file-retention-7nz7jn0r.js} +19 -19
  73. package/dist/chunks/{formatter-yb185ac2.js → file-retention-7yatdfkd.js} +35 -35
  74. package/dist/chunks/{formatter-cc6b32k2.js → file-retention-801ybqbd.js} +5 -5
  75. package/dist/chunks/{formatter-zpa94q1q.js → file-retention-82dw7q9y.js} +46 -46
  76. package/dist/chunks/{formatter-nd4tfyg0.js → file-retention-8hxtpvs0.js} +9 -9
  77. package/dist/chunks/{formatter-8m6m0r52.js → file-retention-8m6m0r52.js} +1 -1
  78. package/dist/chunks/{formatter-j26nqjmz.js → file-retention-8s0xtqnd.js} +20 -20
  79. package/dist/chunks/{formatter-rkprpv83.js → file-retention-8sze2n9a.js} +6 -6
  80. package/dist/chunks/{formatter-xk0yahwt.js → file-retention-8vas296z.js} +5 -5
  81. package/dist/chunks/{formatter-4mwpykj0.js → file-retention-909p1r3q.js} +6 -6
  82. package/dist/chunks/{formatter-1h867pj6.js → file-retention-98c5f06f.js} +15 -15
  83. package/dist/chunks/{formatter-d796kbef.js → file-retention-9aqq5nvv.js} +34 -34
  84. package/dist/chunks/{formatter-6vyn749n.js → file-retention-9jjvh5yj.js} +36 -36
  85. package/dist/chunks/{formatter-2wh84egx.js → file-retention-9p0txavt.js} +5 -5
  86. package/dist/chunks/{formatter-twpzn2hm.js → file-retention-9tw73w2d.js} +27 -27
  87. package/dist/chunks/{formatter-ygfnawd1.js → file-retention-9zd2w1n5.js} +15 -15
  88. package/dist/chunks/{formatter-7f82f210.js → file-retention-a4pc9c5c.js} +51 -51
  89. package/dist/chunks/{formatter-kvesanzg.js → file-retention-aa7e2tv8.js} +31 -31
  90. package/dist/chunks/{formatter-q1f4s60w.js → file-retention-ab62emgm.js} +11 -11
  91. package/dist/chunks/{formatter-3hnj3vj9.js → file-retention-afk6yey1.js} +50 -50
  92. package/dist/chunks/{formatter-nrd63j21.js → file-retention-apkf47ca.js} +6 -6
  93. package/dist/chunks/{formatter-mfd36709.js → file-retention-aqc38cqd.js} +16 -16
  94. package/dist/chunks/{formatter-sq4kkv30.js → file-retention-aqkhk00p.js} +18 -18
  95. package/dist/chunks/{formatter-48kw51zw.js → file-retention-arz7hw7x.js} +3 -3
  96. package/dist/chunks/{formatter-zw5d2dnw.js → file-retention-as4mgesb.js} +35 -35
  97. package/dist/chunks/{formatter-xgaedbr8.js → file-retention-awk6knb3.js} +15 -15
  98. package/dist/chunks/{formatter-9ddcqjst.js → file-retention-b0em60tq.js} +3 -3
  99. package/dist/chunks/{formatter-scgrse2b.js → file-retention-b3f8fkhc.js} +5 -5
  100. package/dist/chunks/{formatter-f26e9619.js → file-retention-b4bz9kxw.js} +1 -1
  101. package/dist/chunks/{formatter-3n40wvxh.js → file-retention-b4nzaj04.js} +5 -5
  102. package/dist/chunks/{formatter-c2gyfhkp.js → file-retention-b70ztsq5.js} +18 -18
  103. package/dist/chunks/{formatter-x40w4ms9.js → file-retention-b7tkvae9.js} +18 -18
  104. package/dist/chunks/{formatter-3rj6f3np.js → file-retention-bcjdeyqn.js} +33 -33
  105. package/dist/chunks/{formatter-4s59bs54.js → file-retention-berr4p9f.js} +41 -41
  106. package/dist/chunks/{formatter-wjr9rjd7.js → file-retention-bjx1sjef.js} +6 -6
  107. package/dist/chunks/{formatter-xzdszenr.js → file-retention-bn2z0vx7.js} +3 -3
  108. package/dist/chunks/{formatter-6p31tnqt.js → file-retention-bwg67q4g.js} +31 -31
  109. package/dist/chunks/{formatter-6zddjdst.js → file-retention-c0ntss9e.js} +22 -22
  110. package/dist/chunks/{formatter-c1fqxshp.js → file-retention-c1fqxshp.js} +3 -3
  111. package/dist/chunks/file-retention-c3ahp5cr.js +253 -0
  112. package/dist/chunks/{formatter-v0267kdd.js → file-retention-cf7mn8e9.js} +22 -22
  113. package/dist/chunks/{formatter-twkrdnw7.js → file-retention-ck51dxh3.js} +17 -17
  114. package/dist/chunks/{formatter-wr0g8n2t.js → file-retention-cn90h94x.js} +37 -37
  115. package/dist/chunks/{formatter-ft3hqk2c.js → file-retention-cpneeje0.js} +9 -9
  116. package/dist/chunks/{formatter-50gtqem5.js → file-retention-csx4qebp.js} +9 -9
  117. package/dist/chunks/{formatter-7ccd9sgx.js → file-retention-czy1bpjs.js} +17 -17
  118. package/dist/chunks/{formatter-jzrhc3ay.js → file-retention-d002rr2p.js} +30 -30
  119. package/dist/chunks/{formatter-0x81qgcv.js → file-retention-d46xqbnr.js} +28 -28
  120. package/dist/chunks/{formatter-1edxb1vv.js → file-retention-d6yjde1r.js} +19 -19
  121. package/dist/chunks/{formatter-2353axak.js → file-retention-d8efssg2.js} +30 -30
  122. package/dist/chunks/{formatter-jh6atg41.js → file-retention-d9hmp2ka.js} +11 -11
  123. package/dist/chunks/{formatter-v6c6rcwe.js → file-retention-dhbnfacn.js} +14 -14
  124. package/dist/chunks/{formatter-3m9w5d4q.js → file-retention-djbp5nh2.js} +6 -6
  125. package/dist/chunks/{formatter-dqxsqydv.js → file-retention-dqxsqydv.js} +1 -1
  126. package/dist/chunks/{formatter-jkfbaykb.js → file-retention-dr4d52gw.js} +32 -32
  127. package/dist/chunks/{formatter-cz2py90e.js → file-retention-dtyzwnrk.js} +5 -5
  128. package/dist/chunks/file-retention-dxj72tfx.js +18 -0
  129. package/dist/chunks/{formatter-afe0v1cd.js → file-retention-dz866tjr.js} +11 -11
  130. package/dist/chunks/{formatter-y6mhz57t.js → file-retention-eahhehpg.js} +4 -4
  131. package/dist/chunks/{formatter-qa3qhgw8.js → file-retention-edrmdtr5.js} +7 -7
  132. package/dist/chunks/{formatter-eej6y6fw.js → file-retention-eej6y6fw.js} +2 -2
  133. package/dist/chunks/{formatter-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{formatter-fjgg99jy.js → file-retention-eh0pg0ss.js} +12 -12
  135. package/dist/chunks/{formatter-662wwg4x.js → file-retention-ej40pes1.js} +23 -23
  136. package/dist/chunks/{formatter-ygz1yfbt.js → file-retention-ejvnp2ks.js} +11 -11
  137. package/dist/chunks/{formatter-0h27695m.js → file-retention-es27v6nt.js} +14 -14
  138. package/dist/chunks/{formatter-7qbbv60v.js → file-retention-f3myw4xv.js} +24 -24
  139. package/dist/chunks/{formatter-z1bgcsag.js → file-retention-fb37tdxn.js} +12 -12
  140. package/dist/chunks/{formatter-a6rx491g.js → file-retention-fbtsrrmm.js} +4 -4
  141. package/dist/chunks/{formatter-z3yc4nfw.js → file-retention-fe7xgvze.js} +24 -24
  142. package/dist/chunks/{formatter-0d2vgyq6.js → file-retention-fg399ztj.js} +36 -36
  143. package/dist/chunks/{formatter-g4t5e3me.js → file-retention-fq2e6s3p.js} +24 -24
  144. package/dist/chunks/{formatter-ysftav9z.js → file-retention-fs90qe41.js} +6 -6
  145. package/dist/chunks/{formatter-4xpgt2w9.js → file-retention-g6yfr6ja.js} +5 -5
  146. package/dist/chunks/{formatter-7ejdeqms.js → file-retention-g7swxvb3.js} +11 -11
  147. package/dist/chunks/{formatter-crrxh0px.js → file-retention-ga6dbr11.js} +49 -49
  148. package/dist/chunks/{formatter-5z5kbpps.js → file-retention-gbqjtqth.js} +25 -25
  149. package/dist/chunks/{formatter-x3c01j44.js → file-retention-gbwx0srj.js} +45 -45
  150. package/dist/chunks/{formatter-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{formatter-p0gzq3ww.js → file-retention-ghgmervw.js} +13 -13
  152. package/dist/chunks/{formatter-ev42yzt1.js → file-retention-gsahz1ss.js} +8 -8
  153. package/dist/chunks/{formatter-j7mctfem.js → file-retention-gwjvbrnw.js} +3 -3
  154. package/dist/chunks/{formatter-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{formatter-kan5fc59.js → file-retention-h748stye.js} +1 -1
  156. package/dist/chunks/{formatter-q5e7cmwt.js → file-retention-he27pt63.js} +1 -1
  157. package/dist/chunks/{formatter-hgz4x7wa.js → file-retention-hgz4x7wa.js} +1 -1
  158. package/dist/chunks/{formatter-015f3c81.js → file-retention-hh6d8b15.js} +28 -28
  159. package/dist/chunks/{formatter-dsdg21fa.js → file-retention-hhreayt7.js} +22 -22
  160. package/dist/chunks/{formatter-wsgnknpb.js → file-retention-hmkps6ty.js} +23 -23
  161. package/dist/chunks/{formatter-p53nntgz.js → file-retention-hzw4cxwv.js} +13 -13
  162. package/dist/chunks/{formatter-91qna3x0.js → file-retention-j09zfasm.js} +3 -3
  163. package/dist/chunks/{formatter-cb1kb5zz.js → file-retention-j37tk4s1.js} +20 -20
  164. package/dist/chunks/{formatter-hjkq67zn.js → file-retention-jd9hc5c6.js} +5 -5
  165. package/dist/chunks/{formatter-r65g850v.js → file-retention-jg32kqvh.js} +19 -19
  166. package/dist/chunks/{formatter-jk540des.js → file-retention-jk540des.js} +2 -2
  167. package/dist/chunks/{formatter-wwt5dmw6.js → file-retention-jxgknhbk.js} +5 -5
  168. package/dist/chunks/{formatter-akvc5q3a.js → file-retention-jz58ycx9.js} +5 -5
  169. package/dist/chunks/{formatter-rjerygwq.js → file-retention-k28swmkw.js} +45 -45
  170. package/dist/chunks/{formatter-19nx87eh.js → file-retention-kanpa06r.js} +16 -16
  171. package/dist/chunks/{formatter-th3em6jy.js → file-retention-kbf0jh97.js} +4 -4
  172. package/dist/chunks/{formatter-b72rtwfy.js → file-retention-kejp1rz3.js} +53 -53
  173. package/dist/chunks/{formatter-d9b0f5kc.js → file-retention-kg91cx0t.js} +7 -7
  174. package/dist/chunks/{formatter-2vs2nh1n.js → file-retention-kne8f3cn.js} +4 -4
  175. package/dist/chunks/{formatter-c9wbyant.js → file-retention-kqx1b4hy.js} +4 -4
  176. package/dist/chunks/{formatter-ybqwpdwm.js → file-retention-kr55r1bg.js} +11 -11
  177. package/dist/chunks/{formatter-hkczk8bw.js → file-retention-kzwbv4nn.js} +11 -11
  178. package/dist/chunks/{formatter-bs1j93w2.js → file-retention-m5tv4514.js} +3 -3
  179. package/dist/chunks/{formatter-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{formatter-maspj1v3.js → file-retention-maspj1v3.js} +1 -1
  181. package/dist/chunks/{formatter-6kskhkf1.js → file-retention-me77td0v.js} +5 -5
  182. package/dist/chunks/{formatter-f0bxardp.js → file-retention-mf0vtrbq.js} +22 -22
  183. package/dist/chunks/{formatter-es3cq489.js → file-retention-mmyj435p.js} +22 -22
  184. package/dist/chunks/{formatter-wg6fdgtk.js → file-retention-mt1habk1.js} +16 -16
  185. package/dist/chunks/{formatter-56hry5jr.js → file-retention-n9jwdt3t.js} +4 -4
  186. package/dist/chunks/{formatter-yvgxm2n5.js → file-retention-nay0he7a.js} +27 -27
  187. package/dist/chunks/{formatter-p6tk73t3.js → file-retention-nj464p1b.js} +15 -15
  188. package/dist/chunks/{formatter-e80seqcp.js → file-retention-nma959mg.js} +3 -3
  189. package/dist/chunks/{formatter-hcv80w8f.js → file-retention-npw39rc8.js} +8 -8
  190. package/dist/chunks/{formatter-rqa1jxse.js → file-retention-nqxj0yn4.js} +2 -2
  191. package/dist/chunks/{formatter-ykgvx44j.js → file-retention-nrrv6dtp.js} +7 -7
  192. package/dist/chunks/{formatter-4sfwg2ck.js → file-retention-nvavy7ph.js} +17 -17
  193. package/dist/chunks/{formatter-f224v0b1.js → file-retention-nxefwe56.js} +17 -17
  194. package/dist/chunks/{formatter-hq3c8me3.js → file-retention-ny8edt06.js} +4 -4
  195. package/dist/chunks/{formatter-5aj6czy3.js → file-retention-pezt36hj.js} +11 -11
  196. package/dist/chunks/{formatter-jfqkz3as.js → file-retention-pfk5wy6h.js} +11 -11
  197. package/dist/chunks/{formatter-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{formatter-pknna89w.js → file-retention-pknna89w.js} +1 -1
  199. package/dist/chunks/{formatter-332njvv8.js → file-retention-pp9wqrm9.js} +18 -18
  200. package/dist/chunks/{formatter-kh11x27a.js → file-retention-psy6vzvk.js} +10 -10
  201. package/dist/chunks/{formatter-q0xm7vwc.js → file-retention-q0xm7vwc.js} +2 -2
  202. package/dist/chunks/{formatter-55t91gwp.js → file-retention-q2e8ypk4.js} +2 -2
  203. package/dist/chunks/{formatter-3hdbdc9p.js → file-retention-q6vgk5tx.js} +19 -19
  204. package/dist/chunks/{formatter-ja2emt1d.js → file-retention-qbfnxdkt.js} +11 -11
  205. package/dist/chunks/{formatter-je4aj9kh.js → file-retention-qd5nnggg.js} +36 -36
  206. package/dist/chunks/{formatter-bc2z15ca.js → file-retention-qk98frm8.js} +97 -97
  207. package/dist/chunks/{formatter-7g29pkaf.js → file-retention-qkhk7ppk.js} +24 -24
  208. package/dist/chunks/{formatter-cd6h4nzs.js → file-retention-qm3ah3vw.js} +12 -12
  209. package/dist/chunks/{formatter-qnc92qwc.js → file-retention-qnc92qwc.js} +1 -1
  210. package/dist/chunks/{formatter-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
  211. package/dist/chunks/{formatter-av61pe84.js → file-retention-qtjfv2pr.js} +14 -14
  212. package/dist/chunks/{formatter-gbc8mqyx.js → file-retention-qzpyk82z.js} +6 -6
  213. package/dist/chunks/{formatter-nxm27acf.js → file-retention-r3ww6m9v.js} +14 -14
  214. package/dist/chunks/{formatter-pdf019mb.js → file-retention-r6k96hsc.js} +17 -17
  215. package/dist/chunks/{formatter-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{formatter-rert0e01.js → file-retention-rert0e01.js} +2 -2
  217. package/dist/chunks/{formatter-08035mxz.js → file-retention-rf36gdfd.js} +11 -11
  218. package/dist/chunks/{formatter-02nrjc1r.js → file-retention-rhjbct0v.js} +6 -6
  219. package/dist/chunks/{formatter-rj3eygr5.js → file-retention-rj3eygr5.js} +2 -2
  220. package/dist/chunks/{formatter-ad7qy436.js → file-retention-rk6zbwj7.js} +5 -5
  221. package/dist/chunks/{formatter-g33e3t29.js → file-retention-rnqjhy1g.js} +11 -11
  222. package/dist/chunks/{formatter-p2zvaqmw.js → file-retention-s68ta6h4.js} +21 -21
  223. package/dist/chunks/{formatter-sa8ekw3f.js → file-retention-sa8ekw3f.js} +2 -2
  224. package/dist/chunks/{formatter-283jaw88.js → file-retention-sdjmf92r.js} +25 -25
  225. package/dist/chunks/{formatter-twwzjqdf.js → file-retention-snf1tfdw.js} +6 -6
  226. package/dist/chunks/{formatter-syv4x271.js → file-retention-syv4x271.js} +1 -1
  227. package/dist/chunks/{formatter-txm3e8qz.js → file-retention-sz15zhhw.js} +4 -4
  228. package/dist/chunks/{formatter-x9269a9z.js → file-retention-t0kc1yrm.js} +38 -38
  229. package/dist/chunks/{formatter-aqbj56nq.js → file-retention-t8ks3146.js} +13 -13
  230. package/dist/chunks/{formatter-tcetyb9j.js → file-retention-t9h41g6h.js} +4 -4
  231. package/dist/chunks/{formatter-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{formatter-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{formatter-v3651974.js → file-retention-tdhvqp0s.js} +8 -8
  234. package/dist/chunks/{formatter-tdstcens.js → file-retention-tdstcens.js} +1 -1
  235. package/dist/chunks/{formatter-whhqcvh8.js → file-retention-tgvthde2.js} +16 -16
  236. package/dist/chunks/{formatter-tm0kqsz3.js → file-retention-tm0kqsz3.js} +1 -1
  237. package/dist/chunks/{formatter-tx6qfw4f.js → file-retention-trya7axm.js} +8 -8
  238. package/dist/chunks/{formatter-y8ay14br.js → file-retention-ts2hbyr8.js} +23 -23
  239. package/dist/chunks/{formatter-e4kb0nq8.js → file-retention-ts8jrmeq.js} +4 -4
  240. package/dist/chunks/{formatter-adfh29v0.js → file-retention-tx96wtwf.js} +5 -5
  241. package/dist/chunks/{formatter-tyytaxap.js → file-retention-tyytaxap.js} +1 -1
  242. package/dist/chunks/{formatter-rptf7q9a.js → file-retention-v567a2n9.js} +9 -9
  243. package/dist/chunks/{formatter-v7p4zvkq.js → file-retention-v7p4zvkq.js} +2 -2
  244. package/dist/chunks/{formatter-ab3n2c3a.js → file-retention-v9aahat3.js} +28 -28
  245. package/dist/chunks/{formatter-ajp2d162.js → file-retention-vapsbb60.js} +11 -11
  246. package/dist/chunks/{formatter-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
  247. package/dist/chunks/file-retention-vfbmtatm.js +513 -0
  248. package/dist/chunks/{formatter-hvzrs0xr.js → file-retention-vsq3m3qh.js} +61 -61
  249. package/dist/chunks/{formatter-sn62p56x.js → file-retention-vyvgz92x.js} +11 -11
  250. package/dist/chunks/{formatter-vzs5sf6e.js → file-retention-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{formatter-84txncab.js → file-retention-w1eejvng.js} +5 -5
  252. package/dist/chunks/{formatter-04frbxpp.js → file-retention-w2xjjsrc.js} +79 -79
  253. package/dist/chunks/{formatter-dzw83ac5.js → file-retention-w3nq1sqw.js} +9 -9
  254. package/dist/chunks/{formatter-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{formatter-hxrpfe82.js → file-retention-w4bpjgvx.js} +1 -1
  256. package/dist/chunks/{formatter-qvcdsk4b.js → file-retention-w9zdepcn.js} +48 -48
  257. package/dist/chunks/{formatter-s5q76w4b.js → file-retention-wby3r2te.js} +7 -7
  258. package/dist/chunks/{formatter-wd87259q.js → file-retention-wd87259q.js} +1 -1
  259. package/dist/chunks/{formatter-gg15nyhh.js → file-retention-ww365c1w.js} +33 -33
  260. package/dist/chunks/{formatter-n4hpj17r.js → file-retention-wwenzjkg.js} +11 -11
  261. package/dist/chunks/{formatter-rmm45jmv.js → file-retention-x6pyv2yz.js} +5 -5
  262. package/dist/chunks/{formatter-qvwq1zvz.js → file-retention-x9bqbk5n.js} +13 -13
  263. package/dist/chunks/{formatter-drwq78ky.js → file-retention-xfkkasph.js} +4 -4
  264. package/dist/chunks/{formatter-wc72y96k.js → file-retention-xftrays8.js} +52 -52
  265. package/dist/chunks/{formatter-3frqz641.js → file-retention-xvtgxxrz.js} +32 -32
  266. package/dist/chunks/{formatter-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{formatter-jwcy2c2z.js → file-retention-y71avatq.js} +4 -4
  268. package/dist/chunks/{formatter-z6c3x22d.js → file-retention-ygdna4kr.js} +5 -5
  269. package/dist/chunks/{formatter-q1kj48yt.js → file-retention-ymq5q27y.js} +47 -47
  270. package/dist/chunks/{formatter-yp2x3t23.js → file-retention-yp2x3t23.js} +1 -1
  271. package/dist/chunks/{formatter-ntvjbsjw.js → file-retention-yrf56wq9.js} +35 -35
  272. package/dist/chunks/{formatter-ze75yzft.js → file-retention-yw8t9dwe.js} +8 -8
  273. package/dist/chunks/{formatter-a346vg2z.js → file-retention-z0bka10m.js} +7 -7
  274. package/dist/chunks/{formatter-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{formatter-fqbxrgf0.js → file-retention-z12nrmke.js} +12 -12
  276. package/dist/chunks/{formatter-ccr708e6.js → file-retention-z407xa8j.js} +13 -13
  277. package/dist/chunks/{formatter-ex4y3cq4.js → file-retention-z4c2qrqq.js} +8 -8
  278. package/dist/chunks/{formatter-mvtm0qmf.js → file-retention-z7cwpd0j.js} +13 -13
  279. package/dist/chunks/{formatter-q45ag0p8.js → file-retention-z7qkgadb.js} +27 -27
  280. package/dist/chunks/{formatter-g1qebd0t.js → file-retention-zjgmvxsd.js} +19 -19
  281. package/dist/chunks/{formatter-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{formatter-f29mbr7f.js → file-retention-zsr4wwhv.js} +4 -4
  283. package/dist/chunks/{formatter-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +87 -87
  289. package/dist/config/discovery.js +84 -84
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +101 -101
  292. package/dist/config/plugin/agent.js +120 -120
  293. package/dist/config/plugin/command.js +209 -209
  294. package/dist/config/plugin/compaction.js +156 -156
  295. package/dist/config/plugin/compatibility.js +136 -136
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +119 -119
  298. package/dist/config/plugin/image.js +118 -118
  299. package/dist/config/plugin/instruction.js +118 -118
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +127 -127
  302. package/dist/config/plugin/policy.js +119 -119
  303. package/dist/config/plugin/provider.js +118 -118
  304. package/dist/config/plugin/reference.js +120 -120
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +104 -104
  307. package/dist/config/plugin/skill.js +139 -139
  308. package/dist/config/plugin/snapshot.js +118 -118
  309. package/dist/config/plugin/source.js +121 -121
  310. package/dist/config/plugin/tool-output.js +119 -119
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +120 -120
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +123 -123
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +87 -87
  318. package/dist/database/database.js +74 -74
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  385. package/dist/database/migration.gen.js +51 -51
  386. package/dist/database/migration.js +53 -53
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +81 -81
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +368 -368
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +95 -95
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +95 -95
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +3 -3
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +76 -76
  410. package/dist/file-access.js +106 -106
  411. package/dist/file-mutation.js +96 -96
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +220 -220
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +99 -99
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +104 -104
  424. package/dist/form.js +88 -88
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +89 -89
  427. package/dist/generate.js +103 -103
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +93 -93
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +359 -359
  452. package/dist/instruction-discovery.js +82 -82
  453. package/dist/instructions/builtins.js +89 -89
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +91 -91
  457. package/dist/job.js +78 -78
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +75 -75
  460. package/dist/location-activity.js +136 -136
  461. package/dist/location-lifecycle.js +109 -109
  462. package/dist/location-service-map.js +88 -88
  463. package/dist/location-services.js +356 -356
  464. package/dist/location.js +91 -91
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +93 -93
  467. package/dist/mcp/index.js +111 -111
  468. package/dist/mcp/instructions.js +129 -129
  469. package/dist/mcp/oauth.js +80 -80
  470. package/dist/mcp/stdio.js +92 -92
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +93 -93
  473. package/dist/model-resolver.js +100 -100
  474. package/dist/model.js +104 -104
  475. package/dist/models-dev.js +97 -97
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +84 -84
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +115 -115
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +90 -90
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +77 -77
  485. package/dist/plugin/agent.js +78 -78
  486. package/dist/plugin/command.js +104 -104
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +331 -331
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +98 -98
  494. package/dist/plugin/module.js +117 -117
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +104 -104
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +118 -118
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/databricks.js +1 -1
  507. package/dist/plugin/provider/digitalocean.js +95 -95
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/github-copilot.js +97 -97
  511. package/dist/plugin/provider/gitlab.js +95 -95
  512. package/dist/plugin/provider/google-vertex.js +115 -115
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +80 -80
  515. package/dist/plugin/provider/lmstudio.js +125 -125
  516. package/dist/plugin/provider/local.js +124 -124
  517. package/dist/plugin/provider/modal.js +94 -94
  518. package/dist/plugin/provider/neon.js +1 -1
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +127 -127
  521. package/dist/plugin/provider/openai.js +120 -120
  522. package/dist/plugin/provider/opencode.js +99 -99
  523. package/dist/plugin/provider/openrouter.js +93 -93
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +81 -81
  526. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  527. package/dist/plugin/provider/sap-ai-core.js +93 -93
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/vercel.js +92 -92
  531. package/dist/plugin/provider/vllm.js +127 -127
  532. package/dist/plugin/provider/xai.js +93 -93
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +169 -169
  535. package/dist/plugin/sdk.js +78 -78
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +136 -136
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +346 -346
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +2 -2
  542. package/dist/plugin/vcs/git.js +88 -88
  543. package/dist/plugin/vcs/hg.js +88 -88
  544. package/dist/plugin/verbosity.js +95 -95
  545. package/dist/plugin/warming.js +116 -116
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +8 -8
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +92 -92
  557. package/dist/provider.js +101 -101
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +101 -101
  561. package/dist/reference/instructions.js +91 -91
  562. package/dist/reference.js +93 -93
  563. package/dist/repository-cache.js +83 -83
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +97 -97
  567. package/dist/rpc.js +88 -88
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +3 -3
  570. package/dist/session/command.js +76 -76
  571. package/dist/session/compaction.js +137 -137
  572. package/dist/session/context.js +155 -155
  573. package/dist/session/diff.js +90 -90
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +219 -219
  578. package/dist/session/execution.js +129 -129
  579. package/dist/session/generate.js +154 -154
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +86 -86
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +77 -77
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +99 -99
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +122 -122
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +131 -131
  591. package/dist/session/projector.js +86 -86
  592. package/dist/session/prompt.js +107 -107
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +92 -92
  595. package/dist/session/run-coordinator.js +1 -1
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +226 -226
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +100 -100
  600. package/dist/session/runner/publish-llm-event.js +115 -115
  601. package/dist/session/runner/retry.js +4 -4
  602. package/dist/session/runner/step.js +127 -127
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +166 -166
  606. package/dist/session/shell.js +132 -132
  607. package/dist/session/skill.js +107 -107
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +77 -77
  610. package/dist/session/store.js +89 -89
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +207 -207
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +159 -159
  615. package/dist/session/to-session-error.js +113 -113
  616. package/dist/session/transfer.js +218 -218
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +213 -213
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +13 -13
  623. package/dist/shell.js +134 -134
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +109 -109
  626. package/dist/skill.js +116 -116
  627. package/dist/snapshot.js +95 -95
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +128 -128
  632. package/dist/tool/plugin/edit.js +122 -122
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +126 -126
  635. package/dist/tool/plugin/grep.js +126 -126
  636. package/dist/tool/plugin/mcp-resource.js +119 -119
  637. package/dist/tool/plugin/opencode.js +111 -111
  638. package/dist/tool/plugin/patch.js +124 -124
  639. package/dist/tool/plugin/question.js +103 -103
  640. package/dist/tool/plugin/read.js +127 -127
  641. package/dist/tool/plugin/shell.js +204 -204
  642. package/dist/tool/plugin/skill.js +113 -113
  643. package/dist/tool/plugin/subagent.js +214 -214
  644. package/dist/tool/plugin/webfetch.js +110 -110
  645. package/dist/tool/plugin/websearch.js +110 -110
  646. package/dist/tool/plugin/write.js +124 -124
  647. package/dist/tool/read-filesystem.js +102 -102
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +14 -14
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/command.js +5 -5
  662. package/dist/v1/config/error.js +2 -2
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +94 -94
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/variant.js +93 -93
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +91 -91
  672. package/dist/websearch.js +82 -82
  673. package/dist/wellknown/plugin.js +78 -78
  674. package/dist/wellknown.js +83 -83
  675. package/dist/workspace/driver.js +5 -5
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +84 -84
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +8 -8
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree/strategies.js +91 -91
  682. package/dist/worktree.js +100 -100
  683. package/package.json +8 -8
  684. package/dist/chunks/formatter-2tm8sjbk.js +0 -253
  685. package/dist/chunks/formatter-9sh4wc5j.js +0 -18
  686. package/dist/chunks/formatter-qz7awyd3.js +0 -26
  687. package/dist/chunks/formatter-rz47h1na.js +0 -513
  688. /package/dist/chunks/{formatter-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{formatter-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{formatter-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{formatter-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{formatter-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{formatter-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{formatter-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{formatter-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{formatter-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
  697. /package/dist/chunks/{formatter-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{formatter-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{formatter-3asan66x.js → file-retention-3asan66x.js} +0 -0
  700. /package/dist/chunks/{formatter-3t0ybcrp.js → file-retention-3t0ybcrp.js} +0 -0
  701. /package/dist/chunks/{formatter-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{formatter-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{formatter-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{formatter-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{formatter-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{formatter-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{formatter-53557ph1.js → file-retention-53557ph1.js} +0 -0
  708. /package/dist/chunks/{formatter-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{formatter-5qd3pb7m.js → file-retention-5qd3pb7m.js} +0 -0
  710. /package/dist/chunks/{formatter-6prwharc.js → file-retention-6prwharc.js} +0 -0
  711. /package/dist/chunks/{formatter-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{formatter-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{formatter-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{formatter-822emrt2.js → file-retention-822emrt2.js} +0 -0
  715. /package/dist/chunks/{formatter-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{formatter-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{formatter-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{formatter-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{formatter-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{formatter-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{formatter-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{formatter-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{formatter-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{formatter-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{formatter-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{formatter-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{formatter-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{formatter-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{formatter-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{formatter-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{formatter-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{formatter-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{formatter-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{formatter-df08tz66.js → file-retention-df08tz66.js} +0 -0
  735. /package/dist/chunks/{formatter-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{formatter-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{formatter-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{formatter-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{formatter-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{formatter-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{formatter-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{formatter-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{formatter-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{formatter-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{formatter-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{formatter-g86h250q.js → file-retention-g86h250q.js} +0 -0
  747. /package/dist/chunks/{formatter-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{formatter-gftt206x.js → file-retention-gftt206x.js} +0 -0
  749. /package/dist/chunks/{formatter-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
  750. /package/dist/chunks/{formatter-hk9envan.js → file-retention-hk9envan.js} +0 -0
  751. /package/dist/chunks/{formatter-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{formatter-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{formatter-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{formatter-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{formatter-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{formatter-jze0r7bz.js → file-retention-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{formatter-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{formatter-m18g726c.js → file-retention-m18g726c.js} +0 -0
  759. /package/dist/chunks/{formatter-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{formatter-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{formatter-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{formatter-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{formatter-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{formatter-pkyv6v7h.js → file-retention-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{formatter-pyv0edze.js → file-retention-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{formatter-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{formatter-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{formatter-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{formatter-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{formatter-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{formatter-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{formatter-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{formatter-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{formatter-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{formatter-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{formatter-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{formatter-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{formatter-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{formatter-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{formatter-wjj7prxr.js → file-retention-wjj7prxr.js} +0 -0
  781. /package/dist/chunks/{formatter-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{formatter-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{formatter-x61499pn.js → file-retention-x61499pn.js} +0 -0
  784. /package/dist/chunks/{formatter-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{formatter-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{formatter-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{formatter-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{formatter-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{formatter-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,132 +1,132 @@
1
1
  import {
2
2
  Metadata2,
3
- node87
4
- } from "./formatter-s5q76w4b.js";
3
+ node89
4
+ } from "./file-retention-wby3r2te.js";
5
5
  import {
6
- Service82,
7
- node85
8
- } from "./formatter-whhqcvh8.js";
6
+ Service84,
7
+ node87
8
+ } from "./file-retention-tgvthde2.js";
9
9
  import {
10
- ID16,
11
- Service76,
12
- node79
13
- } from "./formatter-7g29pkaf.js";
10
+ ID12,
11
+ Service71,
12
+ node74
13
+ } from "./file-retention-qkhk7ppk.js";
14
14
  import {
15
- ID10,
15
+ ID17,
16
16
  OAuth3
17
- } from "./formatter-je4aj9kh.js";
17
+ } from "./file-retention-qd5nnggg.js";
18
18
  import {
19
- ID9,
19
+ ID16,
20
20
  MethodID2,
21
21
  AttemptID2,
22
22
  Method2,
23
- Service66,
24
- node69
25
- } from "./formatter-ntvjbsjw.js";
23
+ Service81,
24
+ node84
25
+ } from "./file-retention-yrf56wq9.js";
26
26
  import {
27
27
  AbsolutePath2
28
- } from "./formatter-z5v4ffb3.js";
28
+ } from "./file-retention-z5v4ffb3.js";
29
29
  import {
30
- Info27,
31
- Ref4,
32
- Service79,
33
- node82
34
- } from "./formatter-twkrdnw7.js";
30
+ Info22,
31
+ Ref3,
32
+ Service75,
33
+ node78
34
+ } from "./file-retention-ck51dxh3.js";
35
35
  import {
36
- ID8,
37
- Service65,
38
- node68
39
- } from "./formatter-gg15nyhh.js";
36
+ ID7,
37
+ Service58,
38
+ node61
39
+ } from "./file-retention-ww365c1w.js";
40
40
  import {
41
- Service60,
42
- node63
43
- } from "./formatter-q5eaxa6y.js";
41
+ Service55,
42
+ node58
43
+ } from "./file-retention-71dexq5d.js";
44
44
  import {
45
- Service47,
46
- node49
47
- } from "./formatter-0x81qgcv.js";
45
+ Service59,
46
+ node62
47
+ } from "./file-retention-d46xqbnr.js";
48
48
  import {
49
- Service71,
50
- node74
51
- } from "./formatter-ccr708e6.js";
49
+ Service79,
50
+ node82
51
+ } from "./file-retention-z407xa8j.js";
52
52
  import {
53
- Service78,
54
- node81
55
- } from "./formatter-08035mxz.js";
53
+ Service66,
54
+ node69
55
+ } from "./file-retention-rf36gdfd.js";
56
56
  import {
57
- ID7,
58
- Service64,
59
- node67
60
- } from "./formatter-v3ttaphs.js";
57
+ ID5,
58
+ Service56,
59
+ node59
60
+ } from "./file-retention-317g7k6g.js";
61
61
  import {
62
- ID5
63
- } from "./formatter-pzxf2myn.js";
62
+ ID4
63
+ } from "./file-retention-12jxavrd.js";
64
64
  import {
65
- Service36,
66
- node39
67
- } from "./formatter-b72rtwfy.js";
65
+ Service34,
66
+ node37
67
+ } from "./file-retention-kejp1rz3.js";
68
68
  import {
69
- Service77,
70
- node80
71
- } from "./formatter-ze75yzft.js";
69
+ Service72,
70
+ node75
71
+ } from "./file-retention-yw8t9dwe.js";
72
72
  import {
73
- Service73,
74
- node76
75
- } from "./formatter-b0f1bdm2.js";
73
+ Service68,
74
+ node71
75
+ } from "./file-retention-6na3g6pg.js";
76
76
  import {
77
- Service48,
78
- node50,
79
- Error4
80
- } from "./formatter-7qbbv60v.js";
77
+ Service61,
78
+ node64,
79
+ Error5
80
+ } from "./file-retention-f3myw4xv.js";
81
81
  import {
82
- Source3,
83
- Service53,
84
- node55
85
- } from "./formatter-kvesanzg.js";
82
+ Source5,
83
+ Service77,
84
+ node80
85
+ } from "./file-retention-aa7e2tv8.js";
86
86
  import {
87
- Info22,
88
- Service72,
89
- node75
90
- } from "./formatter-jzrhc3ay.js";
87
+ Info5,
88
+ Service38,
89
+ node41
90
+ } from "./file-retention-d002rr2p.js";
91
91
  import {
92
- Service25,
93
- node28
94
- } from "./formatter-bc2z15ca.js";
92
+ Service22,
93
+ node25
94
+ } from "./file-retention-qk98frm8.js";
95
95
  import {
96
- Service21,
97
- node24
98
- } from "./formatter-ab3n2c3a.js";
96
+ Service39,
97
+ node42
98
+ } from "./file-retention-v9aahat3.js";
99
99
  import {
100
- Service51,
101
- node53
102
- } from "./formatter-662wwg4x.js";
100
+ Service67,
101
+ node70
102
+ } from "./file-retention-ej40pes1.js";
103
103
  import {
104
- Service24,
105
- node27
106
- } from "./formatter-z3yc4nfw.js";
104
+ Service41,
105
+ node44
106
+ } from "./file-retention-fe7xgvze.js";
107
107
  import {
108
108
  ID6,
109
- Service61,
110
- node64
111
- } from "./formatter-p2zvaqmw.js";
109
+ Service57,
110
+ node60
111
+ } from "./file-retention-s68ta6h4.js";
112
112
  import {
113
- Service23,
114
- node26
115
- } from "./formatter-g1qebd0t.js";
113
+ Service21,
114
+ node24
115
+ } from "./file-retention-zjgmvxsd.js";
116
116
  import {
117
117
  StrategyID2,
118
- Info4,
118
+ Info3,
119
119
  ListEntry3,
120
- Service22,
121
- node25
122
- } from "./formatter-zpa94q1q.js";
120
+ Service20,
121
+ node23
122
+ } from "./file-retention-82dw7q9y.js";
123
123
  import {
124
- Service58,
125
- node61
126
- } from "./formatter-f224v0b1.js";
124
+ Service53,
125
+ node56
126
+ } from "./file-retention-nxefwe56.js";
127
127
  import {
128
128
  __export
129
- } from "./formatter-9rqn6x4v.js";
129
+ } from "./file-retention-9rqn6x4v.js";
130
130
 
131
131
  // src/plugin/host.ts
132
132
  var exports_host = {};
@@ -144,49 +144,49 @@ var mutable = (value) => value;
144
144
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
145
145
  var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
146
146
  const app = yield* Metadata2;
147
- const agents = yield* Service76;
148
- const aisdk = yield* Service60;
149
- const providers = yield* Service65;
150
- const models = yield* Service64;
151
- const commands = yield* Service47;
152
- const bus = yield* Service82;
153
- const integration = yield* Service66;
154
- const kv = yield* Service71;
155
- const mcp = yield* Service36;
156
- const location = yield* Service79;
157
- const reference = yield* Service53;
158
- const rpc = yield* Service51;
159
- const skill = yield* Service72;
160
- const tools = yield* Service48;
161
- const vcs = yield* Service24;
162
- const websearch = yield* Service61;
163
- const generate = yield* Service58;
164
- const permission = yield* Service73;
165
- const hooks = yield* Service77;
166
- const sessions = yield* Service25;
167
- const persistentPty = yield* Service21;
168
- const locations = yield* Service78;
169
- const worktrees = yield* Service22;
170
- const worktreeStrategies = yield* Service23;
147
+ const agents = yield* Service71;
148
+ const aisdk = yield* Service55;
149
+ const providers = yield* Service58;
150
+ const models = yield* Service56;
151
+ const commands = yield* Service59;
152
+ const bus = yield* Service84;
153
+ const integration = yield* Service81;
154
+ const kv = yield* Service79;
155
+ const mcp = yield* Service34;
156
+ const location = yield* Service75;
157
+ const reference = yield* Service77;
158
+ const rpc = yield* Service67;
159
+ const skill = yield* Service38;
160
+ const tools = yield* Service61;
161
+ const vcs = yield* Service41;
162
+ const websearch = yield* Service57;
163
+ const generate = yield* Service53;
164
+ const permission = yield* Service68;
165
+ const hooks = yield* Service72;
166
+ const sessions = yield* Service22;
167
+ const persistentPty = yield* Service39;
168
+ const locations = yield* Service66;
169
+ const worktrees = yield* Service20;
170
+ const worktreeStrategies = yield* Service21;
171
171
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
172
- const locationInfo = () => new Info27({
172
+ const locationInfo = () => new Info22({
173
173
  directory: location.directory,
174
174
  workspaceID: location.workspaceID,
175
175
  project: location.project
176
176
  });
177
- const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
177
+ const locationRef = (input) => input?.location === undefined ? undefined : Ref3.make({
178
178
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
179
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID5.make(input.location.workspace)
179
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID4.make(input.location.workspace)
180
180
  });
181
181
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
182
182
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
183
- const decodeWorktree = Schema.decodeUnknownEffect(Info4);
183
+ const decodeWorktree = Schema.decodeUnknownEffect(Info3);
184
184
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
185
185
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
186
- const location = yield* Service79;
187
- const agents = yield* Service76;
186
+ const location = yield* Service75;
187
+ const agents = yield* Service71;
188
188
  return {
189
- location: new Info27({
189
+ location: new Info22({
190
190
  directory: location.directory,
191
191
  workspaceID: location.workspaceID,
192
192
  project: location.project
@@ -218,10 +218,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
218
218
  transform: (callback) => agents.transform((editor) => {
219
219
  callback({
220
220
  list: () => mutable(editor.list()),
221
- get: (id) => mutable(editor.get(ID16.make(id))),
222
- default: (id) => editor.default(id === undefined ? undefined : ID16.make(id)),
223
- update: (id, update) => editor.update(ID16.make(id), update),
224
- remove: (id) => editor.remove(ID16.make(id))
221
+ get: (id) => mutable(editor.get(ID12.make(id))),
222
+ default: (id) => editor.default(id === undefined ? undefined : ID12.make(id)),
223
+ update: (id, update) => editor.update(ID12.make(id), update),
224
+ remove: (id) => editor.remove(ID12.make(id))
225
225
  });
226
226
  })
227
227
  },
@@ -255,22 +255,22 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
255
255
  },
256
256
  provider: {
257
257
  list: () => response(providers.available()),
258
- get: (input) => providers.get(ID8.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
258
+ get: (input) => providers.get(ID7.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
259
259
  reload: providers.reload,
260
260
  transform: (callback) => providers.transform((editor) => {
261
261
  callback({
262
262
  list: editor.list,
263
- get: (id) => editor.get(ID8.make(id)),
263
+ get: (id) => editor.get(ID7.make(id)),
264
264
  add: (definition) => editor.add({
265
265
  ...definition,
266
- sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID10.make(definition.sourceConnection.id) } : definition.sourceConnection
266
+ sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID17.make(definition.sourceConnection.id) } : definition.sourceConnection
267
267
  }),
268
- update: (id, update) => editor.update(ID8.make(id), update),
269
- remove: (id) => editor.remove(ID8.make(id)),
268
+ update: (id, update) => editor.update(ID7.make(id), update),
269
+ remove: (id) => editor.remove(ID7.make(id)),
270
270
  models: {
271
- set: (id, models) => editor.models.set(ID8.make(id), models),
272
- update: (providerID, modelID, update) => editor.models.update(ID8.make(providerID), ID7.make(modelID), update),
273
- remove: (providerID, modelID) => editor.models.remove(ID8.make(providerID), ID7.make(modelID))
271
+ set: (id, models) => editor.models.set(ID7.make(id), models),
272
+ update: (providerID, modelID, update) => editor.models.update(ID7.make(providerID), ID5.make(modelID), update),
273
+ remove: (providerID, modelID) => editor.models.remove(ID7.make(providerID), ID5.make(modelID))
274
274
  }
275
275
  });
276
276
  })
@@ -280,17 +280,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
280
280
  default: () => response(models.default()),
281
281
  reload: models.reload,
282
282
  transform: (callback) => models.transform((editor) => callback({
283
- list: (providerID) => editor.list(providerID === undefined ? undefined : ID8.make(providerID)),
284
- get: (providerID, modelID) => editor.get(ID8.make(providerID), ID7.make(modelID)),
285
- update: (providerID, modelID, update) => editor.update(ID8.make(providerID), ID7.make(modelID), update),
286
- remove: (providerID, modelID) => editor.remove(ID8.make(providerID), ID7.make(modelID)),
283
+ list: (providerID) => editor.list(providerID === undefined ? undefined : ID7.make(providerID)),
284
+ get: (providerID, modelID) => editor.get(ID7.make(providerID), ID5.make(modelID)),
285
+ update: (providerID, modelID, update) => editor.update(ID7.make(providerID), ID5.make(modelID), update),
286
+ remove: (providerID, modelID) => editor.remove(ID7.make(providerID), ID5.make(modelID)),
287
287
  default: {
288
288
  get: editor.default.get,
289
- set: (providerID, modelID) => editor.default.set(ID8.make(providerID), ID7.make(modelID))
289
+ set: (providerID, modelID) => editor.default.set(ID7.make(providerID), ID5.make(modelID))
290
290
  },
291
291
  provider: {
292
292
  list: editor.provider.list,
293
- get: (id) => editor.provider.get(ID8.make(id))
293
+ get: (id) => editor.provider.get(ID7.make(id))
294
294
  }
295
295
  }))
296
296
  },
@@ -316,20 +316,20 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
316
316
  integration: {
317
317
  list: () => response(integration.list()),
318
318
  get: Effect.fn(function* (input) {
319
- const item = yield* integration.get(ID9.make(input.integrationID));
319
+ const item = yield* integration.get(ID16.make(input.integrationID));
320
320
  if (!item)
321
321
  return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
322
322
  return yield* response(Effect.succeed(item));
323
323
  }),
324
324
  connect: {
325
325
  key: (input) => integration.connection.key({
326
- integrationID: ID9.make(input.integrationID),
326
+ integrationID: ID16.make(input.integrationID),
327
327
  key: input.key,
328
328
  answer: input.answer,
329
329
  label: input.label
330
330
  }),
331
331
  external: (input) => integration.connection.external({
332
- integrationID: ID9.make(input.integrationID),
332
+ integrationID: ID16.make(input.integrationID),
333
333
  methodID: MethodID2.make(input.methodID),
334
334
  answer: input.answer,
335
335
  label: input.label
@@ -337,60 +337,60 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
337
337
  },
338
338
  oauth: {
339
339
  connect: (input) => response(integration.oauth.connect({
340
- integrationID: ID9.make(input.integrationID),
340
+ integrationID: ID16.make(input.integrationID),
341
341
  methodID: MethodID2.make(input.methodID),
342
342
  answer: input.answer,
343
343
  label: input.label
344
344
  })),
345
345
  status: (input) => response(integration.oauth.status({
346
- integrationID: ID9.make(input.integrationID),
346
+ integrationID: ID16.make(input.integrationID),
347
347
  attemptID: AttemptID2.make(input.attemptID)
348
348
  })),
349
349
  complete: (input) => integration.oauth.complete({
350
- integrationID: ID9.make(input.integrationID),
350
+ integrationID: ID16.make(input.integrationID),
351
351
  attemptID: AttemptID2.make(input.attemptID),
352
352
  code: input.code
353
353
  }),
354
354
  cancel: (input) => integration.oauth.cancel({
355
- integrationID: ID9.make(input.integrationID),
355
+ integrationID: ID16.make(input.integrationID),
356
356
  attemptID: AttemptID2.make(input.attemptID)
357
357
  })
358
358
  },
359
359
  command: {
360
360
  connect: (input) => response(integration.command.connect({
361
- integrationID: ID9.make(input.integrationID),
361
+ integrationID: ID16.make(input.integrationID),
362
362
  methodID: MethodID2.make(input.methodID),
363
363
  label: input.label
364
364
  })),
365
365
  status: (input) => response(integration.command.status({
366
- integrationID: ID9.make(input.integrationID),
366
+ integrationID: ID16.make(input.integrationID),
367
367
  attemptID: AttemptID2.make(input.attemptID)
368
368
  })),
369
369
  cancel: (input) => integration.command.cancel({
370
- integrationID: ID9.make(input.integrationID),
370
+ integrationID: ID16.make(input.integrationID),
371
371
  attemptID: AttemptID2.make(input.attemptID)
372
372
  })
373
373
  },
374
374
  reload: integration.reload,
375
375
  connection: {
376
- active: (id) => integration.connection.active(ID9.make(id)),
377
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID10.make(connection.id) } : connection),
376
+ active: (id) => integration.connection.active(ID16.make(id)),
377
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID17.make(connection.id) } : connection),
378
378
  status: (input) => integration.connection.status({
379
- integrationID: ID9.make(input.integrationID),
380
- connection: input.connection.type === "credential" ? { ...input.connection, id: ID10.make(input.connection.id) } : input.connection,
379
+ integrationID: ID16.make(input.integrationID),
380
+ connection: input.connection.type === "credential" ? { ...input.connection, id: ID17.make(input.connection.id) } : input.connection,
381
381
  status: input.status
382
382
  })
383
383
  },
384
384
  transform: (callback) => integration.transform((editor) => {
385
385
  callback({
386
386
  list: () => mutable(editor.list()),
387
- get: (id) => mutable(editor.get(ID9.make(id))),
388
- update: (id, update) => editor.update(ID9.make(id), update),
389
- remove: (id) => editor.remove(ID9.make(id)),
387
+ get: (id) => mutable(editor.get(ID16.make(id))),
388
+ update: (id, update) => editor.update(ID16.make(id), update),
389
+ remove: (id) => editor.remove(ID16.make(id)),
390
390
  method: {
391
- list: (id) => editor.method.list(ID9.make(id)),
391
+ list: (id) => editor.method.list(ID16.make(id)),
392
392
  update: (input) => editor.method.update(methodImplementation(input)),
393
- remove: (id, method) => editor.method.remove(ID9.make(id), Schema.decodeUnknownSync(Method2)(method))
393
+ remove: (id, method) => editor.method.remove(ID16.make(id), Schema.decodeUnknownSync(Method2)(method))
394
394
  }
395
395
  });
396
396
  })
@@ -400,10 +400,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
400
400
  const ref = locationRef(input);
401
401
  if (ref && !isCurrentLocation(ref))
402
402
  return Effect.gen(function* () {
403
- const location = yield* Service79;
404
- const mcp = yield* Service36;
403
+ const location = yield* Service75;
404
+ const mcp = yield* Service34;
405
405
  return {
406
- location: new Info27({
406
+ location: new Info22({
407
407
  directory: location.directory,
408
408
  workspaceID: location.workspaceID,
409
409
  project: location.project
@@ -430,9 +430,9 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
430
430
  get: (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? Effect.succeed(request) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`)))),
431
431
  reply: (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? permission.reply({ requestID: input.requestID, reply: input.decision, message: input.message }) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`)))),
432
432
  assert: (input) => permission.assert(input).pipe(Effect.catchTags({
433
- "Permission.BlockedError": (error) => Effect.fail(new Error4({ message: error.message, error })),
434
- "Permission.CorrectedError": (error) => Effect.fail(new Error4({ message: error.feedback, error })),
435
- "Session.NotFoundError": (error) => Effect.fail(new Error4({ message: `Session not found: ${error.sessionID}`, error }))
433
+ "Permission.BlockedError": (error) => Effect.fail(new Error5({ message: error.message, error })),
434
+ "Permission.CorrectedError": (error) => Effect.fail(new Error5({ message: error.feedback, error })),
435
+ "Session.NotFoundError": (error) => Effect.fail(new Error5({ message: `Session not found: ${error.sessionID}`, error }))
436
436
  }))
437
437
  },
438
438
  plugin: {
@@ -443,7 +443,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
443
443
  reload: reference.reload,
444
444
  transform: (callback) => reference.transform((editor) => {
445
445
  callback({
446
- add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
446
+ add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source5)(source)),
447
447
  remove: editor.remove,
448
448
  list: editor.list,
449
449
  get: editor.get
@@ -457,7 +457,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
457
457
  callback({
458
458
  list: () => mutable(editor.list()),
459
459
  get: editor.get,
460
- add: (value) => editor.add(Schema.decodeUnknownSync(Info22)(value)),
460
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info5)(value)),
461
461
  update: editor.update,
462
462
  remove: editor.remove
463
463
  });
@@ -530,7 +530,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
530
530
  metadata: input?.metadata,
531
531
  permissions: input?.permissions,
532
532
  ...input?.parentID === undefined ? {
533
- location: input?.location ?? Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
533
+ location: input?.location ?? Ref3.make({ directory: location.directory, workspaceID: location.workspaceID })
534
534
  } : { parentID: input.parentID }
535
535
  }),
536
536
  get: (input) => sessions.get(input.sessionID),
@@ -560,31 +560,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
560
560
  return context;
561
561
  });
562
562
  var requirements3 = LayerNode.group([
563
- node87,
564
- node79,
565
- node63,
566
- node68,
567
- node67,
568
- node49,
569
- node85,
570
- node69,
563
+ node89,
571
564
  node74,
572
- node39,
573
- node82,
574
- node55,
575
- node53,
576
- node75,
577
- node50,
578
- node27,
579
- node64,
580
- node25,
581
- node26,
565
+ node58,
582
566
  node61,
583
- node76,
567
+ node59,
568
+ node62,
569
+ node87,
570
+ node84,
571
+ node82,
572
+ node37,
573
+ node78,
584
574
  node80,
585
- node28,
575
+ node70,
576
+ node41,
577
+ node64,
578
+ node44,
579
+ node60,
580
+ node23,
586
581
  node24,
587
- node81
582
+ node56,
583
+ node71,
584
+ node75,
585
+ node25,
586
+ node42,
587
+ node69
588
588
  ]);
589
589
  function storage2(kv, pluginID) {
590
590
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -611,7 +611,7 @@ function methodImplementation(input) {
611
611
  if ("authorize" in input) {
612
612
  const refresh = input.refresh;
613
613
  return {
614
- integrationID: ID9.make(input.integrationID),
614
+ integrationID: ID16.make(input.integrationID),
615
615
  method: { ...input.method, id: MethodID2.make(input.method.id) },
616
616
  authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
617
617
  if (authorization.mode === "auto") {
@@ -631,24 +631,24 @@ function methodImplementation(input) {
631
631
  }
632
632
  if (input.method.type === "env") {
633
633
  return {
634
- integrationID: ID9.make(input.integrationID),
634
+ integrationID: ID16.make(input.integrationID),
635
635
  method: input.method
636
636
  };
637
637
  }
638
638
  if (input.method.type === "command") {
639
639
  return {
640
- integrationID: ID9.make(input.integrationID),
640
+ integrationID: ID16.make(input.integrationID),
641
641
  method: { ...input.method, id: MethodID2.make(input.method.id) }
642
642
  };
643
643
  }
644
644
  if (input.method.type === "external") {
645
645
  return {
646
- integrationID: ID9.make(input.integrationID),
646
+ integrationID: ID16.make(input.integrationID),
647
647
  method: { ...input.method, id: MethodID2.make(input.method.id) }
648
648
  };
649
649
  }
650
650
  return {
651
- integrationID: ID9.make(input.integrationID),
651
+ integrationID: ID16.make(input.integrationID),
652
652
  method: input.method
653
653
  };
654
654
  }