@opencode/core 0.0.0-dev-1274 → 0.0.0-dev-1275

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 (911) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  3. package/dist/aisdk-native.js +1 -1
  4. package/dist/aisdk.js +109 -109
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +252 -252
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{wellknown-034tev2y.js → file-retention-034tev2y.js} +2 -2
  9. package/dist/chunks/{wellknown-jvcygd6j.js → file-retention-04tv7frf.js} +9 -9
  10. package/dist/chunks/{wellknown-8w8cpz06.js → file-retention-06v46bpq.js} +21 -21
  11. package/dist/chunks/{wellknown-mnd11pf8.js → file-retention-09exjb9z.js} +92 -92
  12. package/dist/chunks/{wellknown-ttryaj5y.js → file-retention-09xx3e9d.js} +21 -21
  13. package/dist/chunks/{wellknown-3ryz99p0.js → file-retention-0ahs07zn.js} +4 -4
  14. package/dist/chunks/{wellknown-se8w9n5w.js → file-retention-0cm2734h.js} +23 -23
  15. package/dist/chunks/{wellknown-hcwr1eq3.js → file-retention-0d10ewvx.js} +4 -4
  16. package/dist/chunks/{wellknown-rmzz9gxy.js → file-retention-0efy3j82.js} +59 -59
  17. package/dist/chunks/{wellknown-0fvxehme.js → file-retention-0fvxehme.js} +2 -2
  18. package/dist/chunks/{wellknown-1w56m6hw.js → file-retention-0gtpsn3x.js} +3 -3
  19. package/dist/chunks/{wellknown-a3dc5jdz.js → file-retention-0ja1snzm.js} +5 -5
  20. package/dist/chunks/{wellknown-ghfzx59g.js → file-retention-0kbsc3bc.js} +10 -10
  21. package/dist/chunks/{wellknown-0ma9gw4f.js → file-retention-0ma9gw4f.js} +2 -2
  22. package/dist/chunks/{wellknown-d89kch1r.js → file-retention-0rsmmchx.js} +4 -4
  23. package/dist/chunks/{wellknown-azk4er3g.js → file-retention-0vp45jwm.js} +20 -20
  24. package/dist/chunks/{wellknown-s5jb09at.js → file-retention-150b7jmw.js} +23 -23
  25. package/dist/chunks/{wellknown-1aqsckx4.js → file-retention-1aqsckx4.js} +1 -1
  26. package/dist/chunks/{wellknown-1aryjtsy.js → file-retention-1aryjtsy.js} +1 -1
  27. package/dist/chunks/{wellknown-1ep2p91f.js → file-retention-1ep2p91f.js} +2 -2
  28. package/dist/chunks/{wellknown-1v2g13eq.js → file-retention-1v2g13eq.js} +4 -4
  29. package/dist/chunks/{wellknown-1x2knyw4.js → file-retention-1x2knyw4.js} +1 -1
  30. package/dist/chunks/{wellknown-6qkskqcr.js → file-retention-1x3dkayz.js} +36 -36
  31. package/dist/chunks/{wellknown-w687dnns.js → file-retention-1yped5qa.js} +4 -4
  32. package/dist/chunks/{wellknown-34gd944s.js → file-retention-1ytda9fg.js} +194 -194
  33. package/dist/chunks/{wellknown-g5rh77mm.js → file-retention-22qctdeq.js} +10 -10
  34. package/dist/chunks/file-retention-2dkjcnxp.js +18 -0
  35. package/dist/chunks/file-retention-2ev4mpw4.js +26 -0
  36. package/dist/chunks/{wellknown-2fc7eemy.js → file-retention-2fc7eemy.js} +1 -1
  37. package/dist/chunks/{wellknown-2p60zmnr.js → file-retention-2p60zmnr.js} +2 -2
  38. package/dist/chunks/{wellknown-vahqzszt.js → file-retention-2p8k2s7w.js} +12 -12
  39. package/dist/chunks/{wellknown-2prt43t7.js → file-retention-2prt43t7.js} +1 -1
  40. package/dist/chunks/{wellknown-ygzypyn0.js → file-retention-3cq3byd1.js} +25 -25
  41. package/dist/chunks/{wellknown-hacm5ky9.js → file-retention-3czc66q2.js} +11 -11
  42. package/dist/chunks/{wellknown-12gkcqap.js → file-retention-3gfdscm4.js} +15 -15
  43. package/dist/chunks/{wellknown-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{wellknown-g2qvhfnx.js → file-retention-3j14174f.js} +7 -7
  45. package/dist/chunks/{wellknown-p694rhrj.js → file-retention-3j87ya0s.js} +57 -57
  46. package/dist/chunks/{wellknown-6hzsz47x.js → file-retention-3jchp7r6.js} +13 -13
  47. package/dist/chunks/{wellknown-3nnrz6f6.js → file-retention-3nnrz6f6.js} +1 -1
  48. package/dist/chunks/{wellknown-xacrkbdt.js → file-retention-3qgwywyc.js} +4 -4
  49. package/dist/chunks/{wellknown-eea91zwp.js → file-retention-3qh97n76.js} +4 -4
  50. package/dist/chunks/{wellknown-vmkk11eb.js → file-retention-3r9gxn8p.js} +14 -14
  51. package/dist/chunks/{wellknown-r6pn3r14.js → file-retention-3ra5990g.js} +5 -5
  52. package/dist/chunks/{wellknown-40y6dtc2.js → file-retention-40y6dtc2.js} +1 -1
  53. package/dist/chunks/{wellknown-wmerjj0j.js → file-retention-42f9g7sr.js} +28 -28
  54. package/dist/chunks/{wellknown-11f4vkhr.js → file-retention-44pa0r3g.js} +17 -17
  55. package/dist/chunks/{wellknown-44pmzq9c.js → file-retention-44pmzq9c.js} +2 -2
  56. package/dist/chunks/{wellknown-dvnqv6yn.js → file-retention-4aq2cbca.js} +4 -4
  57. package/dist/chunks/{wellknown-p3g3b7x5.js → file-retention-4bwthz3m.js} +6 -6
  58. package/dist/chunks/{wellknown-hy0yhvdm.js → file-retention-4d7zxp2a.js} +14 -14
  59. package/dist/chunks/{wellknown-m4p4r8nc.js → file-retention-4dfqsw0d.js} +4 -4
  60. package/dist/chunks/{wellknown-4dx1dgte.js → file-retention-4dx1dgte.js} +1 -1
  61. package/dist/chunks/{wellknown-4f25tdd0.js → file-retention-4f25tdd0.js} +1 -1
  62. package/dist/chunks/{wellknown-drf94xsw.js → file-retention-4kkdjnw8.js} +5 -5
  63. package/dist/chunks/{wellknown-cgb0ky0r.js → file-retention-4nrkag3r.js} +47 -47
  64. package/dist/chunks/{wellknown-4pyp9zr9.js → file-retention-4pyp9zr9.js} +1 -1
  65. package/dist/chunks/{wellknown-4v008n1t.js → file-retention-4v008n1t.js} +1 -1
  66. package/dist/chunks/{wellknown-sdvame5v.js → file-retention-50dkjas4.js} +21 -21
  67. package/dist/chunks/{wellknown-kzp5qeg3.js → file-retention-52je48kk.js} +5 -5
  68. package/dist/chunks/{wellknown-dwssz31q.js → file-retention-52rc22q8.js} +11 -11
  69. package/dist/chunks/{wellknown-ggtsavny.js → file-retention-560dfe2w.js} +20 -20
  70. package/dist/chunks/{wellknown-yv9r88qp.js → file-retention-56xt8ks8.js} +25 -25
  71. package/dist/chunks/{wellknown-tzwds221.js → file-retention-5cjcvxnn.js} +15 -15
  72. package/dist/chunks/{wellknown-kybpnhsk.js → file-retention-5d3y61h0.js} +8 -8
  73. package/dist/chunks/{wellknown-40za9wsf.js → file-retention-5enarcya.js} +6 -6
  74. package/dist/chunks/{wellknown-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
  75. package/dist/chunks/{wellknown-c6jqhfbx.js → file-retention-5nsh16xn.js} +7 -7
  76. package/dist/chunks/{wellknown-fze8cfn0.js → file-retention-5pa1dgs1.js} +16 -16
  77. package/dist/chunks/{wellknown-525mz8jg.js → file-retention-5qd2gt0z.js} +4 -4
  78. package/dist/chunks/{wellknown-0p664kx6.js → file-retention-5xdgvpxd.js} +6 -6
  79. package/dist/chunks/{wellknown-x0gzg1yf.js → file-retention-5yzck44w.js} +24 -24
  80. package/dist/chunks/{wellknown-wvxbfzwt.js → file-retention-60ppm0h1.js} +31 -31
  81. package/dist/chunks/{wellknown-qjx4e7wd.js → file-retention-62gb4g00.js} +13 -13
  82. package/dist/chunks/{wellknown-gvzshmgs.js → file-retention-667z2zx1.js} +39 -39
  83. package/dist/chunks/{wellknown-g4h9rjaz.js → file-retention-66yzdfmc.js} +3 -3
  84. package/dist/chunks/{wellknown-9v88h1ca.js → file-retention-68ffpfcm.js} +25 -25
  85. package/dist/chunks/{wellknown-dnv3vdn4.js → file-retention-69mw4eyz.js} +12 -12
  86. package/dist/chunks/{wellknown-2w0fxkqg.js → file-retention-6d420gkt.js} +2 -2
  87. package/dist/chunks/{wellknown-j1wnaq34.js → file-retention-6fnvvkcf.js} +11 -11
  88. package/dist/chunks/{wellknown-gb1nz6tw.js → file-retention-6jbb2aeh.js} +13 -13
  89. package/dist/chunks/{wellknown-tsq3zbsd.js → file-retention-6jnjjsb4.js} +6 -6
  90. package/dist/chunks/{wellknown-e8q0fqbh.js → file-retention-6pntshe6.js} +19 -19
  91. package/dist/chunks/{wellknown-s5gnd255.js → file-retention-77yjsakq.js} +3 -3
  92. package/dist/chunks/{wellknown-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  93. package/dist/chunks/{wellknown-1bbryb4w.js → file-retention-7mcabm6m.js} +6 -6
  94. package/dist/chunks/{wellknown-yp5x37yz.js → file-retention-7nb8tm12.js} +5 -5
  95. package/dist/chunks/{wellknown-xz07m27x.js → file-retention-7nqkf5r1.js} +2 -2
  96. package/dist/chunks/{wellknown-gv0w1vxr.js → file-retention-7pts1ak4.js} +31 -31
  97. package/dist/chunks/{wellknown-e1yxnm4d.js → file-retention-7qk7973a.js} +19 -19
  98. package/dist/chunks/{wellknown-7w2ypzdf.js → file-retention-7w2ypzdf.js} +1 -1
  99. package/dist/chunks/{wellknown-7weczvnd.js → file-retention-7weczvnd.js} +1 -1
  100. package/dist/chunks/{wellknown-a72a9qq8.js → file-retention-7ww0j6wb.js} +18 -18
  101. package/dist/chunks/{wellknown-y62e7w4v.js → file-retention-7zwayxc3.js} +9 -9
  102. package/dist/chunks/{wellknown-80mg3ag8.js → file-retention-80mg3ag8.js} +3 -3
  103. package/dist/chunks/{wellknown-80pdk984.js → file-retention-80pdk984.js} +1 -1
  104. package/dist/chunks/{wellknown-dq9yw5y4.js → file-retention-85b3prs0.js} +39 -39
  105. package/dist/chunks/{wellknown-85jq8dht.js → file-retention-85jq8dht.js} +1 -1
  106. package/dist/chunks/file-retention-86kd7kzh.js +16 -0
  107. package/dist/chunks/{wellknown-mrp55d25.js → file-retention-89ebr2vf.js} +21 -21
  108. package/dist/chunks/{wellknown-8b3vzgkx.js → file-retention-8b3vzgkx.js} +1 -1
  109. package/dist/chunks/{wellknown-hngf4e10.js → file-retention-8ek76eqy.js} +14 -14
  110. package/dist/chunks/{wellknown-18b1hh0p.js → file-retention-8es3pha2.js} +11 -11
  111. package/dist/chunks/{wellknown-8zqzm5np.js → file-retention-8fd4mn1c.js} +5 -5
  112. package/dist/chunks/{wellknown-8kjyvwy5.js → file-retention-8kjyvwy5.js} +1 -1
  113. package/dist/chunks/{wellknown-5tfk53q0.js → file-retention-8njq14s6.js} +41 -41
  114. package/dist/chunks/{wellknown-z4fev26h.js → file-retention-8pan14bd.js} +11 -11
  115. package/dist/chunks/{wellknown-yhyead5v.js → file-retention-8q1q12k3.js} +8 -8
  116. package/dist/chunks/{wellknown-8sxe6kv8.js → file-retention-8sxe6kv8.js} +2 -2
  117. package/dist/chunks/{wellknown-8wtp7s3z.js → file-retention-8wtp7s3z.js} +1 -1
  118. package/dist/chunks/{wellknown-pnwsrq7c.js → file-retention-8ykqf5wm.js} +8 -8
  119. package/dist/chunks/{wellknown-8zv0xmg5.js → file-retention-8zv0xmg5.js} +1 -1
  120. package/dist/chunks/{wellknown-drx3xxbs.js → file-retention-94k3x7fw.js} +9 -9
  121. package/dist/chunks/{wellknown-p6zdnexr.js → file-retention-95m5nm6t.js} +19 -19
  122. package/dist/chunks/{wellknown-963hk181.js → file-retention-963hk181.js} +2 -2
  123. package/dist/chunks/{wellknown-vtftqehb.js → file-retention-9c7qz02m.js} +42 -42
  124. package/dist/chunks/{wellknown-49vqy2az.js → file-retention-a75rh4gh.js} +46 -46
  125. package/dist/chunks/{wellknown-qk5jqvsz.js → file-retention-ab317q8b.js} +7 -7
  126. package/dist/chunks/{wellknown-64ny3mcx.js → file-retention-ahpgc8cc.js} +19 -19
  127. package/dist/chunks/{wellknown-pja52887.js → file-retention-amzpgvrk.js} +19 -19
  128. package/dist/chunks/{wellknown-z4r2dvf6.js → file-retention-axztvgqb.js} +22 -22
  129. package/dist/chunks/{wellknown-ayjs7tqn.js → file-retention-ayjs7tqn.js} +2 -2
  130. package/dist/chunks/{wellknown-cre26pzh.js → file-retention-aytg7816.js} +4 -4
  131. package/dist/chunks/{wellknown-b26ddj6h.js → file-retention-b26ddj6h.js} +4 -4
  132. package/dist/chunks/{wellknown-3n1bw4p7.js → file-retention-bdv8sqrq.js} +1 -1
  133. package/dist/chunks/{wellknown-ryxj8vej.js → file-retention-bdwbwdha.js} +4 -4
  134. package/dist/chunks/{wellknown-wy6ncpne.js → file-retention-bhm679s9.js} +16 -16
  135. package/dist/chunks/{wellknown-a68pf15f.js → file-retention-bmhe4rg7.js} +13 -13
  136. package/dist/chunks/{wellknown-b2na6raw.js → file-retention-bqp6xy8k.js} +34 -34
  137. package/dist/chunks/{wellknown-xd9cc171.js → file-retention-bstexjd6.js} +5 -5
  138. package/dist/chunks/{wellknown-6n7km2ez.js → file-retention-bxhjfq4f.js} +11 -11
  139. package/dist/chunks/{wellknown-84aeym0z.js → file-retention-by0d0avf.js} +38 -35
  140. package/dist/chunks/{wellknown-9nkczbvd.js → file-retention-c1vk4cgc.js} +11 -11
  141. package/dist/chunks/{wellknown-6d86p0rx.js → file-retention-c63tvp3g.js} +30 -30
  142. package/dist/chunks/{wellknown-xjpg0rhp.js → file-retention-c726nvqq.js} +20 -20
  143. package/dist/chunks/{wellknown-w17m67z5.js → file-retention-c9xapkpf.js} +23 -23
  144. package/dist/chunks/{wellknown-rjq2h366.js → file-retention-cfh4jfjc.js} +18 -18
  145. package/dist/chunks/{wellknown-ps1sh08h.js → file-retention-cmn8rvxz.js} +7 -7
  146. package/dist/chunks/{wellknown-46vh34ss.js → file-retention-cs73jd0s.js} +11 -11
  147. package/dist/chunks/{wellknown-6h8vcvjm.js → file-retention-ctmpqb7w.js} +9 -9
  148. package/dist/chunks/{wellknown-cwrgdav8.js → file-retention-cwrgdav8.js} +2 -2
  149. package/dist/chunks/{wellknown-kzdam8c6.js → file-retention-cxab28sr.js} +5 -5
  150. package/dist/chunks/{wellknown-d4v9tmah.js → file-retention-d4v9tmah.js} +2 -2
  151. package/dist/chunks/{wellknown-k82p69kk.js → file-retention-d5pat9xm.js} +15 -15
  152. package/dist/chunks/{wellknown-tebsc1c2.js → file-retention-d9fan7x9.js} +16 -16
  153. package/dist/chunks/{wellknown-mavnwbez.js → file-retention-dq4qq6ky.js} +8 -8
  154. package/dist/chunks/{wellknown-wexdq955.js → file-retention-drd1heem.js} +10 -10
  155. package/dist/chunks/{wellknown-dt77769w.js → file-retention-dt77769w.js} +1 -1
  156. package/dist/chunks/{wellknown-tpbp4zns.js → file-retention-dv3b9r4y.js} +15 -15
  157. package/dist/chunks/{wellknown-z4bvkcgz.js → file-retention-dvq2ad43.js} +15 -15
  158. package/dist/chunks/{wellknown-n7q05nrv.js → file-retention-e0j5ff10.js} +3 -3
  159. package/dist/chunks/file-retention-e4vg19md.js +273 -0
  160. package/dist/chunks/{wellknown-ygfv9ggh.js → file-retention-e9v8rvcx.js} +19 -19
  161. package/dist/chunks/{wellknown-b2xmvq2c.js → file-retention-ea9gdnjh.js} +29 -29
  162. package/dist/chunks/{wellknown-vf4vzgrq.js → file-retention-ejbss7k5.js} +3 -3
  163. package/dist/chunks/{wellknown-zz2c832q.js → file-retention-eq4sfy6p.js} +9 -9
  164. package/dist/chunks/{wellknown-eqw4pqj1.js → file-retention-eqw4pqj1.js} +2 -2
  165. package/dist/chunks/{wellknown-pz4160y0.js → file-retention-ev31077d.js} +18 -18
  166. package/dist/chunks/{wellknown-zmxv47jx.js → file-retention-evzwwyk8.js} +30 -30
  167. package/dist/chunks/{wellknown-m4c54zxh.js → file-retention-ewcb59am.js} +8 -8
  168. package/dist/chunks/{wellknown-d76f69sx.js → file-retention-exvyxjzm.js} +21 -21
  169. package/dist/chunks/{wellknown-qrjh6ecv.js → file-retention-f49b5jkw.js} +30 -30
  170. package/dist/chunks/{wellknown-fa0k7vsk.js → file-retention-feyxv19c.js} +20 -20
  171. package/dist/chunks/{wellknown-27vwpkqs.js → file-retention-ffhnscww.js} +5 -5
  172. package/dist/chunks/{wellknown-tr7e1wbp.js → file-retention-fgvpvm77.js} +35 -35
  173. package/dist/chunks/{wellknown-hdtqhxbt.js → file-retention-fh0fq9b5.js} +8 -8
  174. package/dist/chunks/{wellknown-bv5pmh23.js → file-retention-fjfy99sp.js} +16 -16
  175. package/dist/chunks/{wellknown-9x1w0840.js → file-retention-frmf8ahe.js} +15 -15
  176. package/dist/chunks/{wellknown-9hkx6g65.js → file-retention-ft9k8fee.js} +4 -4
  177. package/dist/chunks/{wellknown-3vadn2gy.js → file-retention-fww0ckjz.js} +30 -30
  178. package/dist/chunks/{wellknown-hrfbfe36.js → file-retention-fyfz6y7c.js} +45 -45
  179. package/dist/chunks/{wellknown-q99fg7xs.js → file-retention-g0spxtp6.js} +29 -29
  180. package/dist/chunks/{wellknown-3epvxjx2.js → file-retention-g7av7xrx.js} +25 -25
  181. package/dist/chunks/{wellknown-gbjdnr5j.js → file-retention-gbjdnr5j.js} +2 -2
  182. package/dist/chunks/{wellknown-bqfa9ah4.js → file-retention-gc6rk9wr.js} +8 -8
  183. package/dist/chunks/{wellknown-nctk7vpd.js → file-retention-ge5br79w.js} +25 -25
  184. package/dist/chunks/{wellknown-ghrv1g9c.js → file-retention-ghrv1g9c.js} +1 -1
  185. package/dist/chunks/{wellknown-vq65r0sw.js → file-retention-gpgwkesj.js} +15 -15
  186. package/dist/chunks/{wellknown-kk6vxkpe.js → file-retention-gvxv930q.js} +24 -24
  187. package/dist/chunks/{wellknown-gxs71cxp.js → file-retention-gxs71cxp.js} +1 -1
  188. package/dist/chunks/{wellknown-sg8yaemx.js → file-retention-gy9f922q.js} +12 -12
  189. package/dist/chunks/{wellknown-2mbjfaxd.js → file-retention-h0rg6s60.js} +4 -4
  190. package/dist/chunks/{wellknown-2kdxm5sv.js → file-retention-h2wrp3yj.js} +70 -70
  191. package/dist/chunks/{wellknown-7pxtpnyj.js → file-retention-h7ezd2nn.js} +5 -5
  192. package/dist/chunks/{wellknown-5afvs6k1.js → file-retention-h8jbka20.js} +19 -19
  193. package/dist/chunks/{wellknown-88gs4f06.js → file-retention-heemzf90.js} +5 -5
  194. package/dist/chunks/{wellknown-hgzwgvze.js → file-retention-hgzwgvze.js} +2 -2
  195. package/dist/chunks/{wellknown-5gszs3mg.js → file-retention-hhqkzs30.js} +8 -8
  196. package/dist/chunks/{wellknown-10ah2vsp.js → file-retention-hm2477qa.js} +7 -7
  197. package/dist/chunks/{wellknown-80a1w5an.js → file-retention-hretfjjx.js} +2 -2
  198. package/dist/chunks/{wellknown-3vm4zwhg.js → file-retention-hvdaxvp6.js} +22 -22
  199. package/dist/chunks/{wellknown-anm5jz6g.js → file-retention-j06rjn1j.js} +28 -28
  200. package/dist/chunks/{wellknown-q48e718y.js → file-retention-j0pb0h51.js} +8 -8
  201. package/dist/chunks/{wellknown-9f8kb14f.js → file-retention-j1xv4v49.js} +12 -12
  202. package/dist/chunks/{wellknown-7naf8s2s.js → file-retention-j2f88nx3.js} +41 -41
  203. package/dist/chunks/{wellknown-1t7bna1x.js → file-retention-j4rt9t5q.js} +5 -5
  204. package/dist/chunks/{wellknown-xjjc6s74.js → file-retention-jj536981.js} +8 -8
  205. package/dist/chunks/{wellknown-jkdcm5hg.js → file-retention-jkdcm5hg.js} +1 -1
  206. package/dist/chunks/{wellknown-jm70asfg.js → file-retention-jm70asfg.js} +1 -1
  207. package/dist/chunks/{wellknown-xg0vzbv9.js → file-retention-jnq57at3.js} +26 -26
  208. package/dist/chunks/{wellknown-9t3w645t.js → file-retention-jw36j8wc.js} +15 -15
  209. package/dist/chunks/{wellknown-61625brq.js → file-retention-jz0mx6tr.js} +15 -15
  210. package/dist/chunks/{wellknown-kj9n5bvh.js → file-retention-k46dd5bg.js} +4 -4
  211. package/dist/chunks/{wellknown-239ft0hq.js → file-retention-k4cv2hms.js} +11 -11
  212. package/dist/chunks/{wellknown-azf43hmp.js → file-retention-kbdxrbcm.js} +36 -36
  213. package/dist/chunks/{wellknown-xksw6ev0.js → file-retention-kbgs7tyr.js} +4 -4
  214. package/dist/chunks/{wellknown-ppdsqj4g.js → file-retention-kc4ez2ea.js} +8 -8
  215. package/dist/chunks/{wellknown-t4r9w2r8.js → file-retention-kd251xf9.js} +371 -371
  216. package/dist/chunks/{wellknown-2eyxc6yq.js → file-retention-khj9x6xc.js} +1 -1
  217. package/dist/chunks/{wellknown-45bebn9c.js → file-retention-kjsepkch.js} +18 -18
  218. package/dist/chunks/{wellknown-vmt418y7.js → file-retention-kkf7ngzn.js} +13 -13
  219. package/dist/chunks/{wellknown-txtemxmw.js → file-retention-kmcen3k3.js} +25 -25
  220. package/dist/chunks/{wellknown-kt3bjfbg.js → file-retention-kt3bjfbg.js} +1 -1
  221. package/dist/chunks/{wellknown-j4p6td36.js → file-retention-kxkhg3zq.js} +12 -12
  222. package/dist/chunks/{wellknown-kzczzf4v.js → file-retention-kzczzf4v.js} +1 -1
  223. package/dist/chunks/{wellknown-m1714858.js → file-retention-m1714858.js} +1 -1
  224. package/dist/chunks/{wellknown-m90tx7mw.js → file-retention-m90tx7mw.js} +1 -1
  225. package/dist/chunks/{wellknown-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  226. package/dist/chunks/{wellknown-mb7mbhnz.js → file-retention-mb7mbhnz.js} +3 -3
  227. package/dist/chunks/{wellknown-fjwkbb1x.js → file-retention-mbhm97dq.js} +5 -5
  228. package/dist/chunks/{wellknown-d0qca5b5.js → file-retention-mfj4zn8r.js} +13 -13
  229. package/dist/chunks/{wellknown-9xjx31jr.js → file-retention-mhc0p716.js} +24 -24
  230. package/dist/chunks/{wellknown-da9kefhx.js → file-retention-mhd9r07a.js} +19 -19
  231. package/dist/chunks/{wellknown-kd3pvrcx.js → file-retention-mk3p57ba.js} +7 -7
  232. package/dist/chunks/{wellknown-nfj3wr17.js → file-retention-mkcfyg48.js} +14 -14
  233. package/dist/chunks/{wellknown-fz2n6382.js → file-retention-mnhjkgm7.js} +31 -31
  234. package/dist/chunks/{wellknown-2e4jyqpy.js → file-retention-mnyx5pgk.js} +28 -28
  235. package/dist/chunks/{wellknown-j9dezkr9.js → file-retention-mqfpt9za.js} +44 -44
  236. package/dist/chunks/{wellknown-hfd14bbn.js → file-retention-mxgx47vh.js} +3 -3
  237. package/dist/chunks/{wellknown-nhb9dsje.js → file-retention-mywchkag.js} +38 -38
  238. package/dist/chunks/{wellknown-d8ths8hj.js → file-retention-n185pfet.js} +20 -20
  239. package/dist/chunks/{wellknown-4yav3t7s.js → file-retention-n1zsgr9w.js} +45 -45
  240. package/dist/chunks/{wellknown-s6bhvg1c.js → file-retention-n6qtc6gw.js} +8 -8
  241. package/dist/chunks/{wellknown-9p2szv1p.js → file-retention-nv2c5e9q.js} +3 -3
  242. package/dist/chunks/{wellknown-vnm5skb7.js → file-retention-nwrmc6eh.js} +13 -13
  243. package/dist/chunks/{wellknown-t9dyr738.js → file-retention-p3vyqzsr.js} +8 -8
  244. package/dist/chunks/{wellknown-zvx3j4zh.js → file-retention-p4ejt6rk.js} +6 -6
  245. package/dist/chunks/{wellknown-h8x5hy5a.js → file-retention-p4rtjgzz.js} +18 -18
  246. package/dist/chunks/{wellknown-v9ez2kgh.js → file-retention-p7vhpwh8.js} +5 -5
  247. package/dist/chunks/{wellknown-sqmdmenf.js → file-retention-pbqaqhra.js} +1 -1
  248. package/dist/chunks/{wellknown-r9x4hg85.js → file-retention-pcdy99rr.js} +18 -18
  249. package/dist/chunks/{wellknown-1g33jr7s.js → file-retention-pdfrrazy.js} +6 -6
  250. package/dist/chunks/{wellknown-p7rg0ahv.js → file-retention-phm1wtvk.js} +16 -16
  251. package/dist/chunks/{wellknown-db894n5b.js → file-retention-pk5zk8y9.js} +10 -10
  252. package/dist/chunks/{wellknown-pknna89w.js → file-retention-pknna89w.js} +1 -1
  253. package/dist/chunks/{wellknown-prq7xxp2.js → file-retention-prq7xxp2.js} +2 -2
  254. package/dist/chunks/{wellknown-frep32by.js → file-retention-pv5h712h.js} +10 -10
  255. package/dist/chunks/{wellknown-ynp30pmv.js → file-retention-q6mj5sb5.js} +16 -16
  256. package/dist/chunks/{wellknown-wefs7edz.js → file-retention-qd3x4hec.js} +63 -63
  257. package/dist/chunks/{wellknown-b5v6grxt.js → file-retention-qek3cncy.js} +3 -3
  258. package/dist/chunks/{wellknown-1z4gzts3.js → file-retention-qj0z1s3r.js} +34 -34
  259. package/dist/chunks/{wellknown-6zrhfp6q.js → file-retention-qjda8ra2.js} +83 -83
  260. package/dist/chunks/{wellknown-j1fqt4qc.js → file-retention-qmak0sqy.js} +5 -5
  261. package/dist/chunks/{wellknown-qp7r0hxv.js → file-retention-qp7r0hxv.js} +1 -1
  262. package/dist/chunks/{wellknown-4jexctq9.js → file-retention-qvb43d5p.js} +11 -11
  263. package/dist/chunks/{wellknown-5er5nwr6.js → file-retention-qwbqpk8k.js} +40 -40
  264. package/dist/chunks/{wellknown-atctktsp.js → file-retention-qzpac2v2.js} +20 -20
  265. package/dist/chunks/{wellknown-des3sty7.js → file-retention-r3mdxadk.js} +41 -41
  266. package/dist/chunks/{wellknown-ywgwmejy.js → file-retention-r700gx2d.js} +17 -17
  267. package/dist/chunks/{wellknown-mcy8kewc.js → file-retention-r7szk8ev.js} +12 -12
  268. package/dist/chunks/{wellknown-rb9dy4dg.js → file-retention-rb9dy4dg.js} +1 -1
  269. package/dist/chunks/{wellknown-bbqhzdxr.js → file-retention-rbxfq0qh.js} +14 -14
  270. package/dist/chunks/{wellknown-rgc9cx3e.js → file-retention-rgc9cx3e.js} +2 -2
  271. package/dist/chunks/{wellknown-gky9pep2.js → file-retention-rgt3k6v8.js} +41 -41
  272. package/dist/chunks/{wellknown-rj7j5fvs.js → file-retention-rj7j5fvs.js} +1 -1
  273. package/dist/chunks/{wellknown-04qc8z7j.js → file-retention-rj7jtxy8.js} +3 -3
  274. package/dist/chunks/{wellknown-ckn0kvtp.js → file-retention-rkd48pdt.js} +6 -6
  275. package/dist/chunks/{wellknown-veeygb1m.js → file-retention-s3v49wnk.js} +8 -8
  276. package/dist/chunks/{wellknown-s47rahr7.js → file-retention-s47rahr7.js} +1 -1
  277. package/dist/chunks/{wellknown-60j45npd.js → file-retention-s4dm6e30.js} +23 -23
  278. package/dist/chunks/{wellknown-9q8g9sv8.js → file-retention-s7kyse9r.js} +4 -4
  279. package/dist/chunks/{wellknown-3am32n0d.js → file-retention-s9fd3xwq.js} +12 -12
  280. package/dist/chunks/{wellknown-sbya78hr.js → file-retention-sbya78hr.js} +1 -1
  281. package/dist/chunks/{wellknown-dqb5vj9d.js → file-retention-sc9hyn7r.js} +6 -6
  282. package/dist/chunks/{wellknown-ane8d80r.js → file-retention-scs9p2da.js} +4 -4
  283. package/dist/chunks/{wellknown-3f3rpwdz.js → file-retention-sdxq25xx.js} +10 -10
  284. package/dist/chunks/{wellknown-vjwxq6wx.js → file-retention-sgt041th.js} +15 -15
  285. package/dist/chunks/{wellknown-86d88khw.js → file-retention-ssxfv6ww.js} +32 -32
  286. package/dist/chunks/{wellknown-svcy3p9a.js → file-retention-svcy3p9a.js} +1 -1
  287. package/dist/chunks/{wellknown-kd43xx4e.js → file-retention-swh6q862.js} +9 -9
  288. package/dist/chunks/{wellknown-2rnbxajr.js → file-retention-t12h4yen.js} +8 -8
  289. package/dist/chunks/{wellknown-t48jrnqq.js → file-retention-t48jrnqq.js} +1 -1
  290. package/dist/chunks/{wellknown-bys6f9s7.js → file-retention-t8erkws8.js} +5 -5
  291. package/dist/chunks/{wellknown-26wfx3k0.js → file-retention-tb2mrvc9.js} +4 -4
  292. package/dist/chunks/{wellknown-tbpn7jtk.js → file-retention-tbpn7jtk.js} +1 -1
  293. package/dist/chunks/{wellknown-tczq8hjw.js → file-retention-tczq8hjw.js} +1 -1
  294. package/dist/chunks/{wellknown-vp369ad1.js → file-retention-td2m5beg.js} +32 -32
  295. package/dist/chunks/{wellknown-tr8x705m.js → file-retention-tr8x705m.js} +1 -1
  296. package/dist/chunks/{wellknown-tvtps2q9.js → file-retention-tvtps2q9.js} +1 -1
  297. package/dist/chunks/{wellknown-twssxy5n.js → file-retention-twssxy5n.js} +2 -2
  298. package/dist/chunks/{wellknown-yzwcwngq.js → file-retention-tz1vm39h.js} +49 -49
  299. package/dist/chunks/{wellknown-bf5h8hhg.js → file-retention-v21gy18w.js} +12 -12
  300. package/dist/chunks/{wellknown-v2r1d0zg.js → file-retention-v2r1d0zg.js} +1 -1
  301. package/dist/chunks/{wellknown-tg1vr1qt.js → file-retention-v5hpj9dd.js} +8 -8
  302. package/dist/chunks/{wellknown-ntgys0yr.js → file-retention-v5wv1gmb.js} +5 -5
  303. package/dist/chunks/{wellknown-0nz55kmn.js → file-retention-v7p9rwhb.js} +5 -5
  304. package/dist/chunks/{wellknown-69gprzdq.js → file-retention-va4jfsd2.js} +10 -10
  305. package/dist/chunks/{wellknown-hpsyjkdx.js → file-retention-vcg7bpvq.js} +12 -12
  306. package/dist/chunks/{wellknown-00q5c7ny.js → file-retention-vcys6qhd.js} +16 -16
  307. package/dist/chunks/{wellknown-eaqk9kqr.js → file-retention-vf2r618n.js} +20 -20
  308. package/dist/chunks/{wellknown-90tgay6n.js → file-retention-vh41eekb.js} +9 -9
  309. package/dist/chunks/{wellknown-vjf35v1f.js → file-retention-vjf35v1f.js} +1 -1
  310. package/dist/chunks/{wellknown-am54fdzb.js → file-retention-vnqd166h.js} +2 -2
  311. package/dist/chunks/{wellknown-4x5nk1x5.js → file-retention-vp6f3r4t.js} +33 -33
  312. package/dist/chunks/{wellknown-6nk6b5z2.js → file-retention-vsk6pjy9.js} +19 -19
  313. package/dist/chunks/{wellknown-qy4z8qgx.js → file-retention-w18pj85q.js} +32 -32
  314. package/dist/chunks/{wellknown-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  315. package/dist/chunks/{wellknown-wakvkjy4.js → file-retention-wakvkjy4.js} +1 -1
  316. package/dist/chunks/{wellknown-1f3f09ty.js → file-retention-wb0b7yq0.js} +28 -28
  317. package/dist/chunks/{wellknown-wd87259q.js → file-retention-wd87259q.js} +1 -1
  318. package/dist/chunks/{wellknown-q4018z18.js → file-retention-we5qfhj5.js} +20 -20
  319. package/dist/chunks/{wellknown-wegkxhrn.js → file-retention-wegkxhrn.js} +2 -2
  320. package/dist/chunks/{wellknown-gkpn8dda.js → file-retention-whpxj07g.js} +6 -6
  321. package/dist/chunks/{wellknown-jh4x1cys.js → file-retention-wj07hs0y.js} +7 -7
  322. package/dist/chunks/{wellknown-n9fc3ffr.js → file-retention-wk43x6sn.js} +9 -9
  323. package/dist/chunks/{wellknown-6y2b864j.js → file-retention-wvr8xscb.js} +4 -4
  324. package/dist/chunks/{wellknown-tx91wa5k.js → file-retention-x26wqd07.js} +4 -4
  325. package/dist/chunks/{wellknown-jr0fegj9.js → file-retention-x9rvnbpf.js} +7 -7
  326. package/dist/chunks/{wellknown-81wndkw9.js → file-retention-xb99jcsv.js} +18 -18
  327. package/dist/chunks/{wellknown-g4nnzxz4.js → file-retention-xdw1z05c.js} +9 -9
  328. package/dist/chunks/{wellknown-3adw4bt5.js → file-retention-xjbsd7zy.js} +9 -9
  329. package/dist/chunks/{wellknown-6h75haat.js → file-retention-xnapnxbk.js} +5 -5
  330. package/dist/chunks/{wellknown-xvn8mnch.js → file-retention-xvn8mnch.js} +1 -1
  331. package/dist/chunks/{wellknown-t54kw4zq.js → file-retention-xxschbft.js} +7 -7
  332. package/dist/chunks/{wellknown-xwn9qeys.js → file-retention-xzrej5mb.js} +14 -14
  333. package/dist/chunks/{wellknown-yc82dn71.js → file-retention-y1wz0kre.js} +5 -5
  334. package/dist/chunks/{wellknown-p7pxh3hk.js → file-retention-y36pttez.js} +27 -27
  335. package/dist/chunks/{wellknown-7mp3bmtj.js → file-retention-y8hpy02j.js} +3 -3
  336. package/dist/chunks/{wellknown-3wwst4c5.js → file-retention-yat07sy7.js} +4 -4
  337. package/dist/chunks/{wellknown-yb20nhc3.js → file-retention-yb20nhc3.js} +1 -1
  338. package/dist/chunks/{wellknown-yr705xyq.js → file-retention-yr705xyq.js} +1 -1
  339. package/dist/chunks/{wellknown-yvtc2x31.js → file-retention-yvtc2x31.js} +1 -1
  340. package/dist/chunks/{wellknown-xgf66r5p.js → file-retention-yx4a6ynz.js} +11 -11
  341. package/dist/chunks/{wellknown-r45nfa48.js → file-retention-yxb8rzbt.js} +9 -9
  342. package/dist/chunks/{wellknown-38aws4xb.js → file-retention-z080rjh6.js} +4 -4
  343. package/dist/chunks/{wellknown-z0wbgq7s.js → file-retention-z0wbgq7s.js} +1 -1
  344. package/dist/chunks/{wellknown-fgmter8b.js → file-retention-z6g4szpb.js} +8 -8
  345. package/dist/chunks/{wellknown-b5fgf89h.js → file-retention-z9aj34kn.js} +35 -35
  346. package/dist/chunks/{wellknown-ze75qvmd.js → file-retention-ze75qvmd.js} +3 -3
  347. package/dist/chunks/{wellknown-95xmv174.js → file-retention-zftx71qr.js} +30 -30
  348. package/dist/chunks/{wellknown-c7nq4s0z.js → file-retention-zmek7bxz.js} +15 -15
  349. package/dist/chunks/{wellknown-k7kssdtd.js → file-retention-znt68fg9.js} +28 -28
  350. package/dist/chunks/{wellknown-wpkh533q.js → file-retention-znwh7a4t.js} +50 -50
  351. package/dist/chunks/{wellknown-cb67h20a.js → file-retention-zs3fp1wz.js} +6 -6
  352. package/dist/chunks/{wellknown-8gryxz20.js → file-retention-ztpwyc0h.js} +13 -13
  353. package/dist/codemode/catalog.js +1 -1
  354. package/dist/codemode/execution.js +5 -5
  355. package/dist/codemode/fetch.js +150 -150
  356. package/dist/codemode/instructions.js +8 -8
  357. package/dist/codemode/tool.js +157 -157
  358. package/dist/command.js +92 -92
  359. package/dist/config/discovery.js +95 -95
  360. package/dist/config/integration.js +3 -3
  361. package/dist/config/managed.js +1 -1
  362. package/dist/config/markdown.js +1 -1
  363. package/dist/config/normalize.js +113 -113
  364. package/dist/config/plugin/agent.js +134 -134
  365. package/dist/config/plugin/command.js +249 -249
  366. package/dist/config/plugin/compaction.js +175 -175
  367. package/dist/config/plugin/compatibility.js +155 -155
  368. package/dist/config/plugin/entry-observer.js +1 -1
  369. package/dist/config/plugin/formatter.js +132 -132
  370. package/dist/config/plugin/image.js +131 -131
  371. package/dist/config/plugin/instruction.js +132 -132
  372. package/dist/config/plugin/location-watcher.js +133 -133
  373. package/dist/config/plugin/mcp.js +150 -150
  374. package/dist/config/plugin/policy.js +131 -131
  375. package/dist/config/plugin/provider.js +131 -131
  376. package/dist/config/plugin/reference.js +133 -133
  377. package/dist/config/plugin/shell.js +131 -131
  378. package/dist/config/plugin/skill-file.js +151 -151
  379. package/dist/config/plugin/skill-scan.js +1 -1
  380. package/dist/config/plugin/skill.js +158 -158
  381. package/dist/config/plugin/snapshot.js +131 -131
  382. package/dist/config/plugin/source.js +135 -135
  383. package/dist/config/plugin/tool-output.js +132 -132
  384. package/dist/config/plugin/websearch.js +130 -130
  385. package/dist/config/plugin/worktree.js +133 -133
  386. package/dist/config/variable.js +1 -1
  387. package/dist/config/watch.js +1 -1
  388. package/dist/config.js +136 -136
  389. package/dist/console-access.js +1 -1
  390. package/dist/credential/sql.js +2 -2
  391. package/dist/credential.js +92 -92
  392. package/dist/database/batch.js +1 -1
  393. package/dist/database/database.js +77 -77
  394. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  395. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  396. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  397. package/dist/database/drizzle/index.js +13 -13
  398. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  399. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  400. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  401. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  402. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  403. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  404. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  405. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  406. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  407. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  408. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  409. package/dist/database/drizzle.js +14 -14
  410. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  411. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  412. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  413. package/dist/database/migration/20260225215848_workspace.js +1 -1
  414. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  415. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  416. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  417. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  418. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  419. package/dist/database/migration/20260323234822_events.js +1 -1
  420. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  421. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  422. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  423. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  424. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  425. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  426. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  427. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  428. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  429. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  430. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  431. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  432. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  433. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  434. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  435. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  436. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  437. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  438. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  439. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  440. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  441. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  442. package/dist/database/migration/20260611035744_credential.js +1 -1
  443. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  444. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  445. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  446. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  447. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  448. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  449. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  450. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  451. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  452. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  453. package/dist/database/migration/20260812213948_worktree.js +1 -1
  454. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  455. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  456. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  457. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  458. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  459. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  460. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  461. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  462. package/dist/database/migration/20261025123711_blob.js +1 -1
  463. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  464. package/dist/database/migration/20261026223005_schedule.js +1 -1
  465. package/dist/database/migration/20261029002625_session_part.js +1 -1
  466. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  467. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  468. package/dist/database/migration/20261030054400_job.js +1 -1
  469. package/dist/database/migration.gen.js +60 -60
  470. package/dist/database/migration.js +76 -76
  471. package/dist/database/path.js +2 -2
  472. package/dist/database/schema.gen.js +1 -1
  473. package/dist/database/schema.sql.js +1 -1
  474. package/dist/database/v1-migration.bun.js +98 -98
  475. package/dist/effect/app-node-builder.js +450 -450
  476. package/dist/effect/app-node-platform.js +2 -2
  477. package/dist/effect/keyed-mutex.js +1 -1
  478. package/dist/effect/websocket-constructor.js +1 -1
  479. package/dist/environment/driver.js +1 -1
  480. package/dist/environment/environment.js +105 -105
  481. package/dist/environment/exec-defaults.js +2 -2
  482. package/dist/environment/files.js +1 -1
  483. package/dist/environment/index.js +108 -108
  484. package/dist/environment/local.js +2 -2
  485. package/dist/environment/memory.js +2 -2
  486. package/dist/environment/unavailable.js +3 -3
  487. package/dist/event/sql.js +1 -1
  488. package/dist/event-logger.js +81 -81
  489. package/dist/file-access.js +162 -162
  490. package/dist/file-mutation.js +108 -108
  491. package/dist/file-retention.js +1 -1
  492. package/dist/file-write.js +166 -166
  493. package/dist/filesystem/fff.bun.js +2 -2
  494. package/dist/filesystem/fff.js +1 -1
  495. package/dist/filesystem/fff.node.js +2 -2
  496. package/dist/filesystem/fff.workerd.js +2 -2
  497. package/dist/filesystem/file-watch.js +88 -88
  498. package/dist/filesystem/location-watcher-policy.js +6 -6
  499. package/dist/filesystem/location-watcher.js +260 -260
  500. package/dist/filesystem/protected.js +1 -1
  501. package/dist/filesystem/search.js +111 -111
  502. package/dist/filesystem/watcher-binding.js +1 -1
  503. package/dist/filesystem/watcher.js +11 -11
  504. package/dist/filesystem.js +116 -116
  505. package/dist/flag.js +136 -136
  506. package/dist/form.js +91 -91
  507. package/dist/formatter/builtins.js +2 -2
  508. package/dist/formatter.js +100 -100
  509. package/dist/generate.js +121 -121
  510. package/dist/git.js +7 -7
  511. package/dist/github-copilot/models.js +105 -105
  512. package/dist/image/notice.js +1 -1
  513. package/dist/image/photon-normalize.js +1 -1
  514. package/dist/image/photon-worker.js +1 -1
  515. package/dist/image/photon.js +4 -4
  516. package/dist/image.js +6 -6
  517. package/dist/instance/service.js +5 -5
  518. package/dist/instance.js +441 -441
  519. package/dist/instruction-discovery.js +96 -96
  520. package/dist/instructions/builtins.js +97 -97
  521. package/dist/instructions/index.js +4 -4
  522. package/dist/integration/connection.js +1 -1
  523. package/dist/integration.js +94 -94
  524. package/dist/job/list.js +5 -5
  525. package/dist/job/recovery.js +2 -2
  526. package/dist/job/sql.js +2 -2
  527. package/dist/job.js +90 -90
  528. package/dist/kv/sql.js +2 -2
  529. package/dist/kv.js +84 -84
  530. package/dist/location-activity.js +185 -185
  531. package/dist/location-lifecycle.js +153 -153
  532. package/dist/location-service-map.js +99 -99
  533. package/dist/location-services.js +438 -438
  534. package/dist/location.js +100 -100
  535. package/dist/managed-policy.js +3 -3
  536. package/dist/mcp/client.js +161 -161
  537. package/dist/mcp/connection.js +106 -106
  538. package/dist/mcp/event-errors.js +1 -1
  539. package/dist/mcp/index.js +155 -155
  540. package/dist/mcp/instructions.js +186 -186
  541. package/dist/mcp/oauth.js +90 -90
  542. package/dist/mcp/pool.js +112 -112
  543. package/dist/mcp/socket-client.js +1 -1
  544. package/dist/mcp/stdio.js +159 -159
  545. package/dist/mime.js +1 -1
  546. package/dist/modal/models.js +105 -105
  547. package/dist/model-resolver.js +113 -113
  548. package/dist/model-retry.js +1 -1
  549. package/dist/model.js +116 -116
  550. package/dist/models-dev/v1.js +1 -1
  551. package/dist/models-dev.js +122 -122
  552. package/dist/oauth/page.js +1 -1
  553. package/dist/oauth/redirect.js +1 -1
  554. package/dist/permission/saved.js +93 -93
  555. package/dist/permission/sql.js +5 -5
  556. package/dist/permission.js +160 -160
  557. package/dist/persistent-pty/binary.bun.js +1 -1
  558. package/dist/persistent-pty/daemon.js +1 -1
  559. package/dist/persistent-pty/index.js +99 -99
  560. package/dist/persistent-pty/pty-binding.js +1 -1
  561. package/dist/persistent-pty.js +86 -86
  562. package/dist/plugin/agent.js +87 -87
  563. package/dist/plugin/command.js +148 -148
  564. package/dist/plugin/fork-notice.js +3 -3
  565. package/dist/plugin/goal.js +3 -3
  566. package/dist/plugin/hooks.js +5 -5
  567. package/dist/plugin/host.js +251 -251
  568. package/dist/plugin/identity.js +5 -5
  569. package/dist/plugin/instance.js +5 -5
  570. package/dist/plugin/internal.js +418 -418
  571. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  572. package/dist/plugin/models-dev.js +111 -111
  573. package/dist/plugin/module.js +130 -130
  574. package/dist/plugin/optimize.js +2 -2
  575. package/dist/plugin/plan.js +151 -151
  576. package/dist/plugin/promise.js +1 -1
  577. package/dist/plugin/provider/amazon-bedrock.js +107 -107
  578. package/dist/plugin/provider/azure.js +134 -134
  579. package/dist/plugin/provider/cerebras.js +1 -1
  580. package/dist/plugin/provider/chatgpt.js +135 -135
  581. package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
  582. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  583. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  584. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  585. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  586. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  587. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  588. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  589. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  590. package/dist/plugin/provider/claude-agent/index.js +149 -149
  591. package/dist/plugin/provider/claude-agent/instructions.js +113 -113
  592. package/dist/plugin/provider/claude-agent/integration.js +116 -116
  593. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  594. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  595. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  596. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  597. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  598. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  599. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  600. package/dist/plugin/provider/claude-agent/provider.js +113 -113
  601. package/dist/plugin/provider/claude-agent/session.js +113 -113
  602. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  603. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  604. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  605. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  606. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  607. package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
  608. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  609. package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
  610. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  611. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  612. package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
  613. package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
  614. package/dist/plugin/provider/configured.js +127 -127
  615. package/dist/plugin/provider/credential-settings.js +88 -88
  616. package/dist/plugin/provider/databricks.js +1 -1
  617. package/dist/plugin/provider/digitalocean.js +110 -110
  618. package/dist/plugin/provider/dynamic.js +2 -2
  619. package/dist/plugin/provider/github-copilot.js +112 -112
  620. package/dist/plugin/provider/gitlab.js +111 -111
  621. package/dist/plugin/provider/google-vertex.js +128 -128
  622. package/dist/plugin/provider/kilo.js +1 -1
  623. package/dist/plugin/provider/llmgateway.js +89 -89
  624. package/dist/plugin/provider/lmstudio.js +142 -142
  625. package/dist/plugin/provider/local.js +141 -141
  626. package/dist/plugin/provider/modal.js +109 -109
  627. package/dist/plugin/provider/neon.js +1 -1
  628. package/dist/plugin/provider/nvidia.js +1 -1
  629. package/dist/plugin/provider/ollama.js +144 -144
  630. package/dist/plugin/provider/openai-context-caps.js +107 -107
  631. package/dist/plugin/provider/openai.js +135 -135
  632. package/dist/plugin/provider/opencode-watches.js +4 -4
  633. package/dist/plugin/provider/opencode.js +163 -163
  634. package/dist/plugin/provider/openrouter.js +105 -105
  635. package/dist/plugin/provider/poe.js +91 -91
  636. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  637. package/dist/plugin/provider/refresh.js +87 -87
  638. package/dist/plugin/provider/sap-ai-core.js +105 -105
  639. package/dist/plugin/provider/sdk-factory.js +1 -1
  640. package/dist/plugin/provider/snowflake-cortex.js +133 -133
  641. package/dist/plugin/provider/vllm.js +144 -144
  642. package/dist/plugin/provider/xai.js +105 -105
  643. package/dist/plugin/provider/zenmux.js +1 -1
  644. package/dist/plugin/provider.js +242 -242
  645. package/dist/plugin/sdk.js +87 -87
  646. package/dist/plugin/service.js +3 -3
  647. package/dist/plugin/skill.js +154 -154
  648. package/dist/plugin/source-directory.js +1 -1
  649. package/dist/plugin/supervisor.js +430 -430
  650. package/dist/plugin/tool-input-repair.js +4 -4
  651. package/dist/plugin/update.js +6 -6
  652. package/dist/plugin/vcs/git.js +99 -99
  653. package/dist/plugin/vcs/hg.js +99 -99
  654. package/dist/plugin/verbosity.js +107 -107
  655. package/dist/plugin/warming.js +131 -131
  656. package/dist/plugin/websearch/exa.js +8 -8
  657. package/dist/plugin/websearch/firecrawl.js +9 -9
  658. package/dist/plugin/websearch/index.js +10 -10
  659. package/dist/plugin/websearch/mcp.js +4 -4
  660. package/dist/plugin/websearch/parallel.js +9 -9
  661. package/dist/plugin/websearch/provider.js +5 -5
  662. package/dist/plugin/websearch/tavily.js +5 -5
  663. package/dist/plugin/websearch/tinyfish.js +9 -9
  664. package/dist/plugin.js +258 -258
  665. package/dist/project/icon.js +5 -5
  666. package/dist/project/schema.js +2 -2
  667. package/dist/project/sql.js +4 -4
  668. package/dist/project.js +93 -93
  669. package/dist/provider.js +113 -113
  670. package/dist/pty/protocol.js +1 -1
  671. package/dist/pty/ticket.js +1 -1
  672. package/dist/pty.js +113 -113
  673. package/dist/reference/instructions.js +98 -98
  674. package/dist/reference.js +103 -103
  675. package/dist/repository-cache.js +93 -93
  676. package/dist/repository.js +3 -3
  677. package/dist/ripgrep/binary.js +2 -2
  678. package/dist/ripgrep.js +111 -111
  679. package/dist/rpc.js +99 -99
  680. package/dist/schedule/check.js +256 -256
  681. package/dist/schedule/sql.js +6 -6
  682. package/dist/schedule.js +270 -270
  683. package/dist/schema.js +1 -1
  684. package/dist/session/affinity.js +1 -1
  685. package/dist/session/background.js +3 -3
  686. package/dist/session/blob.js +133 -133
  687. package/dist/session/command.js +85 -85
  688. package/dist/session/compaction.js +177 -177
  689. package/dist/session/context.js +208 -208
  690. package/dist/session/diff.js +101 -101
  691. package/dist/session/environment.js +5 -5
  692. package/dist/session/error.js +5 -5
  693. package/dist/session/event.js +1 -1
  694. package/dist/session/execution/restart.js +272 -272
  695. package/dist/session/execution/subagent-report.js +147 -147
  696. package/dist/session/execution.js +172 -172
  697. package/dist/session/generate.js +210 -210
  698. package/dist/session/history.js +141 -141
  699. package/dist/session/inbox.js +152 -152
  700. package/dist/session/info.js +3 -3
  701. package/dist/session/instruction-entry.js +91 -91
  702. package/dist/session/instruction-state.js +9 -9
  703. package/dist/session/instructions.js +146 -146
  704. package/dist/session/message-updater.js +2 -2
  705. package/dist/session/message.js +1 -1
  706. package/dist/session/model-request.js +171 -171
  707. package/dist/session/model-transport.js +7 -7
  708. package/dist/session/move.js +176 -176
  709. package/dist/session/projector.js +148 -148
  710. package/dist/session/prompt.js +153 -153
  711. package/dist/session/recent-text.js +1 -1
  712. package/dist/session/revert.js +144 -144
  713. package/dist/session/run-coordinator.js +1 -1
  714. package/dist/session/runner/index.js +3 -3
  715. package/dist/session/runner/llm.js +263 -263
  716. package/dist/session/runner/max-steps.js +1 -1
  717. package/dist/session/runner/model.js +111 -111
  718. package/dist/session/runner/publish-llm-event.js +155 -155
  719. package/dist/session/runner/retry.js +5 -5
  720. package/dist/session/runner/step.js +168 -168
  721. package/dist/session/runner/to-llm-message.js +142 -142
  722. package/dist/session/schema.js +5 -5
  723. package/dist/session/session.js +196 -196
  724. package/dist/session/shell.js +149 -149
  725. package/dist/session/skill.js +152 -152
  726. package/dist/session/sql.js +5 -5
  727. package/dist/session/stats.js +85 -85
  728. package/dist/session/store.js +147 -147
  729. package/dist/session/stored.js +2 -2
  730. package/dist/session/subagent-completion.js +1 -1
  731. package/dist/session/subagent-job.js +173 -173
  732. package/dist/session/system-prompt.js +3 -3
  733. package/dist/session/title.js +212 -212
  734. package/dist/session/to-session-error.js +154 -154
  735. package/dist/session/transfer.js +254 -254
  736. package/dist/session/usage.js +1 -1
  737. package/dist/session.js +253 -253
  738. package/dist/shared-cache.js +5 -5
  739. package/dist/shell/parse.js +6 -6
  740. package/dist/shell/result.js +1 -1
  741. package/dist/shell/scan.js +1 -1
  742. package/dist/shell/select.js +13 -13
  743. package/dist/shell.js +151 -151
  744. package/dist/skill/discovery.js +6 -6
  745. package/dist/skill/instructions.js +154 -154
  746. package/dist/skill.js +163 -163
  747. package/dist/snapshot.js +104 -104
  748. package/dist/state.js +1 -1
  749. package/dist/tool/html-markdown.js +1 -1
  750. package/dist/tool/http-body.js +1 -1
  751. package/dist/tool/mcp.js +189 -189
  752. package/dist/tool/plugin/artifact.js +246 -246
  753. package/dist/tool/plugin/edit.js +172 -172
  754. package/dist/tool/plugin/file-diff.js +1 -1
  755. package/dist/tool/plugin/glob.js +174 -174
  756. package/dist/tool/plugin/grep.js +175 -175
  757. package/dist/tool/plugin/image-generate.js +257 -257
  758. package/dist/tool/plugin/mcp-events.js +168 -168
  759. package/dist/tool/plugin/mcp-resource.js +172 -172
  760. package/dist/tool/plugin/opencode.js +168 -168
  761. package/dist/tool/plugin/patch.js +171 -171
  762. package/dist/tool/plugin/question.js +149 -149
  763. package/dist/tool/plugin/read.js +177 -177
  764. package/dist/tool/plugin/schedule.js +262 -262
  765. package/dist/tool/plugin/shell.js +251 -251
  766. package/dist/tool/plugin/skill.js +158 -158
  767. package/dist/tool/plugin/subagent.js +251 -251
  768. package/dist/tool/plugin/todo.js +158 -158
  769. package/dist/tool/plugin/webfetch.js +158 -158
  770. package/dist/tool/plugin/websearch.js +152 -152
  771. package/dist/tool/plugin/write.js +171 -171
  772. package/dist/tool/read-filesystem.js +116 -116
  773. package/dist/tool/runtime.js +1 -1
  774. package/dist/tool/search.js +109 -109
  775. package/dist/tool-output.js +7 -7
  776. package/dist/tool.js +165 -165
  777. package/dist/types/session/model-request.d.ts +3 -3
  778. package/dist/usage-limits.js +100 -100
  779. package/dist/util/canonical-json.js +1 -1
  780. package/dist/util/error-summary.js +1 -1
  781. package/dist/util/git-executable.js +3 -3
  782. package/dist/util/lazy.js +1 -1
  783. package/dist/util/slug.js +1 -1
  784. package/dist/util/token.js +1 -1
  785. package/dist/util/which.js +1 -1
  786. package/dist/util/wildcard.js +1 -1
  787. package/dist/v1/config/agent.js +5 -5
  788. package/dist/v1/config/command.js +3 -3
  789. package/dist/v1/config/mcp.js +4 -4
  790. package/dist/v1/config/migrate.js +106 -106
  791. package/dist/v1/config/permission.js +3 -3
  792. package/dist/v1/config/plugin.js +3 -3
  793. package/dist/v1/config/provider-options.js +1 -1
  794. package/dist/v1/config/provider.js +4 -4
  795. package/dist/variant.js +105 -105
  796. package/dist/vcs/patch.js +1 -1
  797. package/dist/vcs.js +102 -102
  798. package/dist/voice.js +101 -101
  799. package/dist/websearch.js +91 -91
  800. package/dist/wellknown/plugin.js +87 -87
  801. package/dist/wellknown.js +90 -90
  802. package/dist/workspace/driver.js +7 -7
  803. package/dist/workspace/sql.js +1 -1
  804. package/dist/workspace.js +93 -93
  805. package/dist/worktree/directory.js +2 -2
  806. package/dist/worktree/git.js +11 -11
  807. package/dist/worktree/sql.js +5 -5
  808. package/dist/worktree/strategies.js +102 -102
  809. package/dist/worktree.js +113 -113
  810. package/package.json +8 -8
  811. package/dist/chunks/wellknown-00ve6mdn.js +0 -18
  812. package/dist/chunks/wellknown-v0zd4c6n.js +0 -26
  813. package/dist/chunks/wellknown-x3c9tvtc.js +0 -16
  814. package/dist/chunks/wellknown-zjrg4e70.js +0 -273
  815. /package/dist/chunks/{wellknown-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  816. /package/dist/chunks/{wellknown-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  817. /package/dist/chunks/{wellknown-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  818. /package/dist/chunks/{wellknown-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  819. /package/dist/chunks/{wellknown-1kah00gy.js → file-retention-1kah00gy.js} +0 -0
  820. /package/dist/chunks/{wellknown-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
  821. /package/dist/chunks/{wellknown-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  822. /package/dist/chunks/{wellknown-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  823. /package/dist/chunks/{wellknown-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  824. /package/dist/chunks/{wellknown-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  825. /package/dist/chunks/{wellknown-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  826. /package/dist/chunks/{wellknown-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  827. /package/dist/chunks/{wellknown-4qk9sjk2.js → file-retention-4qk9sjk2.js} +0 -0
  828. /package/dist/chunks/{wellknown-53557ph1.js → file-retention-53557ph1.js} +0 -0
  829. /package/dist/chunks/{wellknown-5w3e23ze.js → file-retention-5w3e23ze.js} +0 -0
  830. /package/dist/chunks/{wellknown-6agm2x70.js → file-retention-6agm2x70.js} +0 -0
  831. /package/dist/chunks/{wellknown-6prwharc.js → file-retention-6prwharc.js} +0 -0
  832. /package/dist/chunks/{wellknown-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
  833. /package/dist/chunks/{wellknown-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  834. /package/dist/chunks/{wellknown-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  835. /package/dist/chunks/{wellknown-7rvsyqjv.js → file-retention-7rvsyqjv.js} +0 -0
  836. /package/dist/chunks/{wellknown-822emrt2.js → file-retention-822emrt2.js} +0 -0
  837. /package/dist/chunks/{wellknown-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
  838. /package/dist/chunks/{wellknown-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  839. /package/dist/chunks/{wellknown-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  840. /package/dist/chunks/{wellknown-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
  841. /package/dist/chunks/{wellknown-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  842. /package/dist/chunks/{wellknown-9ceax7yg.js → file-retention-9ceax7yg.js} +0 -0
  843. /package/dist/chunks/{wellknown-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  844. /package/dist/chunks/{wellknown-ade8csyh.js → file-retention-ade8csyh.js} +0 -0
  845. /package/dist/chunks/{wellknown-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  846. /package/dist/chunks/{wellknown-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  847. /package/dist/chunks/{wellknown-beh6qq61.js → file-retention-beh6qq61.js} +0 -0
  848. /package/dist/chunks/{wellknown-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  849. /package/dist/chunks/{wellknown-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  850. /package/dist/chunks/{wellknown-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  851. /package/dist/chunks/{wellknown-cqv5kn06.js → file-retention-cqv5kn06.js} +0 -0
  852. /package/dist/chunks/{wellknown-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  853. /package/dist/chunks/{wellknown-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  854. /package/dist/chunks/{wellknown-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  855. /package/dist/chunks/{wellknown-df08tz66.js → file-retention-df08tz66.js} +0 -0
  856. /package/dist/chunks/{wellknown-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  857. /package/dist/chunks/{wellknown-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  858. /package/dist/chunks/{wellknown-ean2d8b5.js → file-retention-ean2d8b5.js} +0 -0
  859. /package/dist/chunks/{wellknown-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  860. /package/dist/chunks/{wellknown-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  861. /package/dist/chunks/{wellknown-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  862. /package/dist/chunks/{wellknown-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  863. /package/dist/chunks/{wellknown-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  864. /package/dist/chunks/{wellknown-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  865. /package/dist/chunks/{wellknown-fkpq3x5p.js → file-retention-fkpq3x5p.js} +0 -0
  866. /package/dist/chunks/{wellknown-g86h250q.js → file-retention-g86h250q.js} +0 -0
  867. /package/dist/chunks/{wellknown-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  868. /package/dist/chunks/{wellknown-gftt206x.js → file-retention-gftt206x.js} +0 -0
  869. /package/dist/chunks/{wellknown-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
  870. /package/dist/chunks/{wellknown-hk9envan.js → file-retention-hk9envan.js} +0 -0
  871. /package/dist/chunks/{wellknown-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  872. /package/dist/chunks/{wellknown-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
  873. /package/dist/chunks/{wellknown-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  874. /package/dist/chunks/{wellknown-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  875. /package/dist/chunks/{wellknown-jwr30sdr.js → file-retention-jwr30sdr.js} +0 -0
  876. /package/dist/chunks/{wellknown-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  877. /package/dist/chunks/{wellknown-m18g726c.js → file-retention-m18g726c.js} +0 -0
  878. /package/dist/chunks/{wellknown-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  879. /package/dist/chunks/{wellknown-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  880. /package/dist/chunks/{wellknown-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  881. /package/dist/chunks/{wellknown-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  882. /package/dist/chunks/{wellknown-nh4v3znn.js → file-retention-nh4v3znn.js} +0 -0
  883. /package/dist/chunks/{wellknown-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  884. /package/dist/chunks/{wellknown-p71gwv9c.js → file-retention-p71gwv9c.js} +0 -0
  885. /package/dist/chunks/{wellknown-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  886. /package/dist/chunks/{wellknown-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  887. /package/dist/chunks/{wellknown-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  888. /package/dist/chunks/{wellknown-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  889. /package/dist/chunks/{wellknown-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
  890. /package/dist/chunks/{wellknown-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  891. /package/dist/chunks/{wellknown-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  892. /package/dist/chunks/{wellknown-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  893. /package/dist/chunks/{wellknown-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  894. /package/dist/chunks/{wellknown-syrav9an.js → file-retention-syrav9an.js} +0 -0
  895. /package/dist/chunks/{wellknown-t03h4f5z.js → file-retention-t03h4f5z.js} +0 -0
  896. /package/dist/chunks/{wellknown-ty7weeps.js → file-retention-ty7weeps.js} +0 -0
  897. /package/dist/chunks/{wellknown-v2dnd5dt.js → file-retention-v2dnd5dt.js} +0 -0
  898. /package/dist/chunks/{wellknown-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
  899. /package/dist/chunks/{wellknown-vtarvj67.js → file-retention-vtarvj67.js} +0 -0
  900. /package/dist/chunks/{wellknown-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  901. /package/dist/chunks/{wellknown-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
  902. /package/dist/chunks/{wellknown-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  903. /package/dist/chunks/{wellknown-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  904. /package/dist/chunks/{wellknown-x4th4bpe.js → file-retention-x4th4bpe.js} +0 -0
  905. /package/dist/chunks/{wellknown-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  906. /package/dist/chunks/{wellknown-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
  907. /package/dist/chunks/{wellknown-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  908. /package/dist/chunks/{wellknown-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
  909. /package/dist/chunks/{wellknown-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
  910. /package/dist/chunks/{wellknown-zxpyjp51.js → file-retention-zxpyjp51.js} +0 -0
  911. /package/dist/chunks/{wellknown-zz5vv3aq.js → file-retention-zz5vv3aq.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service93,
3
3
  node95
4
- } from "./wellknown-cre26pzh.js";
4
+ } from "./file-retention-aytg7816.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create4
8
- } from "./wellknown-40y6dtc2.js";
8
+ } from "./file-retention-40y6dtc2.js";
9
9
  import {
10
10
  key3
11
- } from "./wellknown-xvn8mnch.js";
11
+ } from "./file-retention-xvn8mnch.js";
12
12
  import {
13
- ID18,
14
- Service84,
13
+ ID17,
14
+ Service85,
15
15
  node86,
16
- Event18
17
- } from "./wellknown-yv9r88qp.js";
16
+ Event17
17
+ } from "./file-retention-56xt8ks8.js";
18
18
  import {
19
- Service90,
20
- node92
21
- } from "./wellknown-dnv3vdn4.js";
19
+ Service88,
20
+ node89
21
+ } from "./file-retention-69mw4eyz.js";
22
22
  import {
23
23
  AISDK_PREFIX2,
24
24
  isAISDK2,
@@ -27,10 +27,10 @@ import {
27
27
  mergeOverlay2,
28
28
  mergeHeaders2,
29
29
  rewrite2
30
- } from "./wellknown-m90tx7mw.js";
30
+ } from "./file-retention-m90tx7mw.js";
31
31
  import {
32
32
  __export
33
- } from "./wellknown-9rqn6x4v.js";
33
+ } from "./file-retention-9rqn6x4v.js";
34
34
 
35
35
  // src/provider.ts
36
36
  var exports_provider5 = {};
@@ -40,13 +40,13 @@ __export(exports_provider5, {
40
40
  Compaction: () => Compaction3,
41
41
  DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
42
42
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
43
- Event: () => Event13,
44
- ID: () => ID14,
45
- Info: () => Info21,
43
+ Event: () => Event16,
44
+ ID: () => ID16,
45
+ Info: () => Info24,
46
46
  LoadError: () => LoadError3,
47
47
  Provider: () => exports_provider5,
48
48
  Request: () => Request4,
49
- Service: () => Service73,
49
+ Service: () => Service84,
50
50
  Settings: () => Settings2,
51
51
  Transport: () => Transport2,
52
52
  aisdk: () => aisdk2,
@@ -58,7 +58,7 @@ __export(exports_provider5, {
58
58
  mergeOverlay: () => mergeOverlay2,
59
59
  modelSettings: () => modelSettings2,
60
60
  nativeSettings: () => nativeSettings2,
61
- node: () => node74,
61
+ node: () => node85,
62
62
  packageName: () => packageName2,
63
63
  timeout: () => timeout2,
64
64
  timeouts: () => timeouts2
@@ -71,8 +71,8 @@ import { HttpTimeout } from "@opencode/ai/effect";
71
71
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
72
72
  import { Credential } from "@opencode/schema/credential";
73
73
  import { freeze } from "immer";
74
- import { Event as Event13 } from "@opencode/schema/provider";
75
- var ID14 = Provider.ID;
74
+ import { Event as Event16 } from "@opencode/schema/provider";
75
+ var ID16 = Provider.ID;
76
76
 
77
77
  class LoadError3 extends Schema.TaggedError()("Provider.LoadError", {
78
78
  package: Schema.String,
@@ -300,9 +300,9 @@ var Compaction3 = Provider.Compaction;
300
300
  var Cache2 = Provider.Cache;
301
301
  var Transport2 = Provider.Transport;
302
302
  var Settings2 = Provider.Settings;
303
- var Info21 = Provider.Info;
303
+ var Info24 = Provider.Info;
304
304
 
305
- class Service73 extends Context.Service()("@opencode/Provider") {
305
+ class Service84 extends Context.Service()("@opencode/Provider") {
306
306
  }
307
307
  var definitions = new WeakMap;
308
308
  function index(providerID, models) {
@@ -315,10 +315,10 @@ function index(providerID, models) {
315
315
  definitions.set(models, indexes);
316
316
  return result;
317
317
  }
318
- var layer = Layer.effect(Service73, Effect.gen(function* () {
318
+ var layer = Layer.effect(Service84, Effect.gen(function* () {
319
319
  const bus = yield* Service93;
320
- const integrations = yield* Service84;
321
- const location = yield* Service90;
320
+ const integrations = yield* Service85;
321
+ const location = yield* Service88;
322
322
  const state = create4({
323
323
  name: "provider",
324
324
  initial: () => new Map,
@@ -329,7 +329,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
329
329
  const current = records.get(id);
330
330
  if (current)
331
331
  return current;
332
- const added = { provider: Info21.empty(id), models: new Map };
332
+ const added = { provider: Info24.empty(id), models: new Map };
333
333
  records.set(id, added);
334
334
  maps.add(added.models);
335
335
  return added;
@@ -412,7 +412,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
412
412
  const available = Array.from(records.values()).filter((record) => {
413
413
  if (record.provider.activation === "disabled")
414
414
  return false;
415
- const integration = byID.get(record.provider.integrationID ?? ID18.make(record.provider.id));
415
+ const integration = byID.get(record.provider.integrationID ?? ID17.make(record.provider.id));
416
416
  if (record.sourceConnection && key3(record.sourceConnection) !== key3(integration?.connections[0]))
417
417
  return false;
418
418
  if (record.provider.activation === "enabled")
@@ -438,8 +438,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
438
438
  location: { directory: location.directory, workspaceID: location.workspaceID }
439
439
  });
440
440
  });
441
- yield* bus.subscribe([Event18.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
442
- return Service73.of({
441
+ yield* bus.subscribe([Event17.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
442
+ return Service84.of({
443
443
  transform: state.transform,
444
444
  reload: state.reload,
445
445
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -448,7 +448,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
448
448
  snapshot
449
449
  });
450
450
  }));
451
- var node74 = makeLocationNode({ service: Service73, layer, deps: [node95, node86, node92] });
451
+ var node85 = makeLocationNode({ service: Service84, layer, deps: [node95, node86, node89] });
452
452
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
453
453
  const module = yield* Effect.tryPromise({
454
454
  try: () => {
@@ -470,4 +470,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
470
470
  return module;
471
471
  });
472
472
 
473
- export { ID14, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, Request4, Compaction3, Cache2, Transport2, Settings2, Info21, Service73, node74, exports_provider5, Event13 };
473
+ export { ID16, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, Request4, Compaction3, Cache2, Transport2, Settings2, Info24, Service84, node85, exports_provider5, Event16 };
@@ -1,40 +1,40 @@
1
1
  import {
2
- ID18,
3
- Service84,
2
+ ID17,
3
+ Service85,
4
4
  node86
5
- } from "./wellknown-yv9r88qp.js";
5
+ } from "./file-retention-56xt8ks8.js";
6
6
  import {
7
7
  isAISDK2,
8
8
  packageName2,
9
9
  mergeOverlay2,
10
10
  mergeHeaders2
11
- } from "./wellknown-m90tx7mw.js";
11
+ } from "./file-retention-m90tx7mw.js";
12
12
  import {
13
- ID14,
13
+ ID16,
14
14
  loadPackage2,
15
15
  nativeSettings2,
16
16
  modelSettings2,
17
17
  timeout2,
18
18
  timeouts2,
19
19
  encoding2,
20
- Service73,
21
- node74
22
- } from "./wellknown-3vadn2gy.js";
20
+ Service84,
21
+ node85
22
+ } from "./file-retention-fww0ckjz.js";
23
23
  import {
24
- Service54,
25
- node55
26
- } from "./wellknown-qjx4e7wd.js";
24
+ Service66,
25
+ node67
26
+ } from "./file-retention-62gb4g00.js";
27
27
  import {
28
- ID13,
28
+ ID14,
29
29
  VariantID2,
30
30
  Ref3,
31
- Service72,
32
- node73,
31
+ Service80,
32
+ node81,
33
33
  supportsText2
34
- } from "./wellknown-b5fgf89h.js";
34
+ } from "./file-retention-z9aj34kn.js";
35
35
  import {
36
36
  __export
37
- } from "./wellknown-9rqn6x4v.js";
37
+ } from "./file-retention-9rqn6x4v.js";
38
38
 
39
39
  // src/model-resolver.ts
40
40
  var exports_model_resolver = {};
@@ -43,15 +43,15 @@ __export(exports_model_resolver, {
43
43
  ModelConfigurationError: () => ModelConfigurationError2,
44
44
  ModelInitializationError: () => ModelInitializationError2,
45
45
  ModelResolver: () => exports_model_resolver,
46
- Service: () => Service53,
46
+ Service: () => Service51,
47
47
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
48
48
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
49
49
  UnsupportedPackageError: () => UnsupportedPackageError2,
50
50
  VariantUnavailableError: () => VariantUnavailableError2,
51
51
  fromCatalogModel: () => fromCatalogModel2,
52
52
  hasPackage: () => hasPackage2,
53
- layer: () => layer22,
54
- node: () => node54,
53
+ layer: () => layer21,
54
+ node: () => node52,
55
55
  resolveModel: () => resolveModel3,
56
56
  withVariant: () => withVariant2
57
57
  });
@@ -68,8 +68,8 @@ import { Auth, mergeTransport } from "@opencode/ai/route";
68
68
  import { Context, Effect, Layer, Schema, Struct } from "effect";
69
69
  import { Npm } from "@opencode/util/npm";
70
70
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
71
- providerID: ID14,
72
- modelID: ID13,
71
+ providerID: ID16,
72
+ modelID: ID14,
73
73
  variant: VariantID2
74
74
  }) {
75
75
  get message() {
@@ -78,8 +78,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
78
78
  }
79
79
 
80
80
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
81
- providerID: ID14,
82
- modelID: ID13,
81
+ providerID: ID16,
82
+ modelID: ID14,
83
83
  package: Schema.String
84
84
  }) {
85
85
  get message() {
@@ -89,8 +89,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
89
89
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
90
90
 
91
91
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
92
- providerID: ID14,
93
- modelID: ID13,
92
+ providerID: ID16,
93
+ modelID: ID14,
94
94
  package: Schema.String,
95
95
  detail: Schema.String
96
96
  }) {
@@ -100,8 +100,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
100
100
  }
101
101
 
102
102
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
103
- providerID: ID14,
104
- modelID: ID13,
103
+ providerID: ID16,
104
+ modelID: ID14,
105
105
  package: Schema.String,
106
106
  phase: InitializationPhase2,
107
107
  detail: Schema.String
@@ -112,8 +112,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
112
112
  }
113
113
 
114
114
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
115
- providerID: ID14,
116
- modelID: ID13,
115
+ providerID: ID16,
116
+ modelID: ID14,
117
117
  variables: Schema.Array(Schema.String)
118
118
  }) {
119
119
  get message() {
@@ -122,8 +122,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
122
122
  }
123
123
 
124
124
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
125
- providerID: ID14,
126
- modelID: ID13,
125
+ providerID: ID16,
126
+ modelID: ID14,
127
127
  route: Schema.String
128
128
  }) {
129
129
  get message() {
@@ -131,7 +131,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
131
131
  }
132
132
  }
133
133
 
134
- class Service53 extends Context.Service()("@opencode/ModelResolver") {
134
+ class Service51 extends Context.Service()("@opencode/ModelResolver") {
135
135
  }
136
136
  var withVariant2 = (model, variantID) => {
137
137
  const id = variantID === "default" ? undefined : variantID;
@@ -275,7 +275,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
275
275
  return tokenSettings(specifier, credential.access);
276
276
  if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
277
277
  return { auth: "sigv4" };
278
- if (model.providerID === ID14.azure)
278
+ if (model.providerID === ID16.azure)
279
279
  return tokenSettings(specifier, "azure-cli");
280
280
  return {};
281
281
  };
@@ -310,19 +310,19 @@ var causeMessage = (cause) => {
310
310
  };
311
311
  var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
312
312
  var hasPackage2 = (model) => Boolean(model.package);
313
- var layer22 = Layer.effect(Service53, Effect.gen(function* () {
314
- const providers = yield* Service73;
315
- const models = yield* Service72;
316
- const integrations = yield* Service84;
313
+ var layer21 = Layer.effect(Service51, Effect.gen(function* () {
314
+ const providers = yield* Service84;
315
+ const models = yield* Service80;
316
+ const integrations = yield* Service85;
317
317
  const npm = yield* Npm.Service;
318
- const aisdk = yield* Service54;
318
+ const aisdk = yield* Service66;
319
319
  const dependencies = {
320
320
  loadPackage: (specifier) => loadPackage2(specifier, npm),
321
321
  loadAISDK: (model) => aisdk.model(model)
322
322
  };
323
323
  const prepare = Effect.fn("ModelResolver.prepare")(function* (selected, variant) {
324
324
  const provider = yield* providers.get(selected.providerID);
325
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID18.make(selected.providerID));
325
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID17.make(selected.providerID));
326
326
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
327
327
  const selectedVariant = yield* withVariant2(selected, variant);
328
328
  const runtimeInfo = {
@@ -365,7 +365,7 @@ var layer22 = Layer.effect(Service53, Effect.gen(function* () {
365
365
  return model;
366
366
  return (yield* models.available()).find((model) => hasPackage2(model) && supportsText2(model));
367
367
  });
368
- return Service53.of({
368
+ return Service51.of({
369
369
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
370
370
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* fallback();
371
371
  if (!selected)
@@ -431,10 +431,10 @@ function usesAPIKeyAuth(packageName) {
431
431
  return false;
432
432
  return API_KEY_AUTH_PACKAGES.has(name) || name.startsWith("@opencode/ai/providers/openai/") || name.startsWith("@opencode/ai/providers/azure/");
433
433
  }
434
- var node54 = makeLocationNode({
435
- service: Service53,
436
- layer: layer22,
437
- deps: [node74, node73, node86, Npm.node, node55]
434
+ var node52 = makeLocationNode({
435
+ service: Service51,
436
+ layer: layer21,
437
+ deps: [node85, node81, node86, Npm.node, node67]
438
438
  });
439
439
 
440
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service53, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer22, node54, exports_model_resolver };
440
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service51, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer21, node52, exports_model_resolver };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./wellknown-z5v4ffb3.js";
4
+ } from "./file-retention-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service92,
9
9
  node94
10
- } from "./wellknown-8zqzm5np.js";
10
+ } from "./file-retention-8fd4mn1c.js";
11
11
  import {
12
- Service90,
13
- node92
14
- } from "./wellknown-dnv3vdn4.js";
12
+ Service88,
13
+ node89
14
+ } from "./file-retention-69mw4eyz.js";
15
15
  import {
16
16
  create4
17
- } from "./wellknown-40y6dtc2.js";
17
+ } from "./file-retention-40y6dtc2.js";
18
18
  import {
19
19
  __export
20
- } from "./wellknown-9rqn6x4v.js";
20
+ } from "./file-retention-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error5,
26
- ID: () => ID16,
27
- Service: () => Service76,
25
+ Error: () => Error2,
26
+ ID: () => ID9,
27
+ Service: () => Service43,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node78,
29
+ node: () => node45,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,22 +34,22 @@ import path from "path";
34
34
  import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID16 } from "@opencode/schema/snapshot";
37
+ import { ID as ID9 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error5 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service76 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service43 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service76, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service43, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service92;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service90;
52
+ const location = yield* Service88;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create4({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const directory = yield* fs.realPath(location.directory).pipe(Effect.mapError((cause) => failure("capture", cause)));
75
75
  if (!FSUtil.contains(worktree, directory))
76
- return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(path.relative(worktree, directory).replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
97
97
  maximumUntrackedFileBytes: 2 * 1024 * 1024
98
98
  });
99
99
  yield* packWhenDue(repo.snapshotRepository);
100
- return ID16.make(tree);
100
+ return ID9.make(tree);
101
101
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
102
102
  });
103
103
  const comparison = Effect.fnUntraced(function* (operation, input) {
@@ -142,25 +142,25 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
142
142
  for (const [file, snapshot] of input.files) {
143
143
  const absolute = path.resolve(worktree, file);
144
144
  if (!FSUtil.contains(worktree, absolute))
145
- return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
145
+ return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
146
146
  files.set(file, TreeID2.make(snapshot));
147
147
  }
148
148
  return files;
149
149
  });
150
150
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
151
151
  if (!enabled())
152
- return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
152
+ return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
153
153
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
154
154
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
155
155
  });
156
- return Service76.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
156
+ return Service43.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
157
157
  }).pipe(Effect.withSpan("Snapshot.boot")));
158
- var node78 = makeLocationNode({
159
- service: Service76,
158
+ var node45 = makeLocationNode({
159
+ service: Service43,
160
160
  layer,
161
- deps: [FSUtil.node, node94, Global.node, node92]
161
+ deps: [FSUtil.node, node94, Global.node, node89]
162
162
  });
163
- var noopLayer3 = Layer.succeed(Service76, Service76.of({
163
+ var noopLayer3 = Layer.succeed(Service43, Service43.of({
164
164
  transform: () => Effect.succeed({ dispose: Effect.void }),
165
165
  reload: () => Effect.void,
166
166
  capture: () => Effect.undefined,
@@ -169,13 +169,13 @@ var noopLayer3 = Layer.succeed(Service76, Service76.of({
169
169
  restore: () => Effect.void
170
170
  }));
171
171
  function failure(operation, cause) {
172
- if (cause instanceof Error5 && cause.operation === operation)
172
+ if (cause instanceof Error2 && cause.operation === operation)
173
173
  return cause;
174
- return new Error5({
174
+ return new Error2({
175
175
  operation,
176
176
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
177
177
  cause
178
178
  });
179
179
  }
180
180
 
181
- export { ID16, Error5, Service76, node78, noopLayer3, exports_snapshot2 };
181
+ export { ID9, Error2, Service43, node45, noopLayer3, exports_snapshot2 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  typeFollowing2,
3
3
  exists2
4
- } from "./wellknown-svcy3p9a.js";
4
+ } from "./file-retention-svcy3p9a.js";
5
5
  import {
6
6
  AbsolutePath2
7
- } from "./wellknown-z5v4ffb3.js";
7
+ } from "./file-retention-z5v4ffb3.js";
8
8
  import {
9
9
  root2
10
- } from "./wellknown-90tgay6n.js";
10
+ } from "./file-retention-vh41eekb.js";
11
11
  import {
12
- Service90,
13
- node92
14
- } from "./wellknown-dnv3vdn4.js";
12
+ Service88,
13
+ node89
14
+ } from "./file-retention-69mw4eyz.js";
15
15
  import {
16
- Service68,
17
- node69
18
- } from "./wellknown-d8ths8hj.js";
16
+ Service71,
17
+ node72
18
+ } from "./file-retention-n185pfet.js";
19
19
  import {
20
20
  invocation2,
21
- Service59,
22
- node60
23
- } from "./wellknown-cgb0ky0r.js";
21
+ Service72,
22
+ node73
23
+ } from "./file-retention-4nrkag3r.js";
24
24
  import {
25
25
  __export
26
- } from "./wellknown-9rqn6x4v.js";
26
+ } from "./file-retention-9rqn6x4v.js";
27
27
 
28
28
  // src/file-access.ts
29
29
  var exports_file_access = {};
@@ -31,8 +31,8 @@ __export(exports_file_access, {
31
31
  FileAccess: () => exports_file_access,
32
32
  Kind: () => Kind2,
33
33
  ResolveInput: () => ResolveInput2,
34
- Service: () => Service17,
35
- node: () => node19,
34
+ Service: () => Service69,
35
+ node: () => node70,
36
36
  resolvePath: () => resolvePath2
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -46,18 +46,18 @@ var ResolveInput2 = Schema.Struct({
46
46
  kind: Kind2.pipe(Schema.optional)
47
47
  });
48
48
 
49
- class Service17 extends Context.Service()("@opencode/FileAccess") {
49
+ class Service69 extends Context.Service()("@opencode/FileAccess") {
50
50
  }
51
51
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
52
52
  const normalized = FSUtil.windowsPath(input);
53
53
  return path.resolve(directory, normalized === "~" ? home : normalized.startsWith("~/") || process.platform === "win32" && normalized.startsWith("~\\") ? path.join(home, normalized.slice(2)) : normalized);
54
54
  };
55
55
  var slash = (value) => value.replaceAll("\\", "/");
56
- var layer = Layer.effect(Service17, Effect.gen(function* () {
57
- const { files } = yield* Service68;
56
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
57
+ const { files } = yield* Service71;
58
58
  const exists = (file) => exists2(files, file);
59
- const location = yield* Service90;
60
- const permission = yield* Service59;
59
+ const location = yield* Service88;
60
+ const permission = yield* Service72;
61
61
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
62
62
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
63
63
  const worktree = path.resolve(location.project.directory);
@@ -106,12 +106,12 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
106
106
  });
107
107
  return target;
108
108
  });
109
- return Service17.of({ resolve, authorizeExternal, authorizeRead });
109
+ return Service69.of({ resolve, authorizeExternal, authorizeRead });
110
110
  }));
111
- var node19 = makeLocationNode({
112
- service: Service17,
111
+ var node70 = makeLocationNode({
112
+ service: Service69,
113
113
  layer,
114
- deps: [node69, node92, node60]
114
+ deps: [node72, node89, node73]
115
115
  });
116
116
 
117
- export { Kind2, ResolveInput2, Service17, resolvePath2, node19, exports_file_access };
117
+ export { Kind2, ResolveInput2, Service69, resolvePath2, node70, exports_file_access };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  groups2
3
- } from "./wellknown-vjf35v1f.js";
3
+ } from "./file-retention-vjf35v1f.js";
4
4
  import {
5
5
  __export
6
- } from "./wellknown-9rqn6x4v.js";
6
+ } from "./file-retention-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/provider/claude-agent/sync/decide.ts
9
9
  var exports_decide = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
7
7
  __export(exports_driver, {
8
8
  Binding: () => Binding2,
9
- Error: () => Error4,
9
+ Error: () => Error5,
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make33,
14
- node: () => node76,
13
+ make: () => make34,
14
+ node: () => node91,
15
15
  registry: () => registry3,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
20
20
  var Binding2 = Schema.Record(Schema.String, Schema.Json);
21
21
 
22
- class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
22
+ class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
23
23
  message: Schema.optional(Schema.String),
24
24
  cause: Schema.optional(Schema.Defect())
25
25
  }) {
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make33 = (driver) => driver;
32
+ var make34 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry3(drivers))),
45
45
  deps: []
46
46
  });
47
- var node76 = registryNode2({});
47
+ var node91 = registryNode2({});
48
48
 
49
- export { Binding2, Error4, ProviderNotFound2, make33, RegistryService2, registry3, registryNode2, node76, exports_driver };
49
+ export { Binding2, Error5, ProviderNotFound2, make34, RegistryService2, registry3, registryNode2, node91, exports_driver };