@opencode/core 0.0.0-dev-521 → 0.0.0-dev-522

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (921) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +5 -5
  6. package/dist/artifact.js +244 -244
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{bus-94174fzk.js → model-retry-00s7gjcf.js} +42 -42
  9. package/dist/chunks/{bus-034tev2y.js → model-retry-034tev2y.js} +2 -2
  10. package/dist/chunks/{bus-vbkd2vca.js → model-retry-03akfpcj.js} +52 -52
  11. package/dist/chunks/{bus-jjsrzkjm.js → model-retry-040ahvwp.js} +15 -15
  12. package/dist/chunks/{bus-gqejezaz.js → model-retry-046swykb.js} +37 -37
  13. package/dist/chunks/{bus-b5j45rh7.js → model-retry-05gcdst7.js} +29 -29
  14. package/dist/chunks/{bus-cpvd08na.js → model-retry-0ahs07zn.js} +4 -4
  15. package/dist/chunks/{bus-msd2a3qm.js → model-retry-0h86f0az.js} +4 -4
  16. package/dist/chunks/{bus-wr3re1en.js → model-retry-0h8y3ex8.js} +4 -4
  17. package/dist/chunks/{bus-dwx3nxgv.js → model-retry-0j2whhmm.js} +2 -2
  18. package/dist/chunks/{bus-0j7gp832.js → model-retry-0j7gp832.js} +1 -1
  19. package/dist/chunks/{bus-8wn3zh93.js → model-retry-0m2wn4td.js} +36 -36
  20. package/dist/chunks/{bus-0ma9gw4f.js → model-retry-0ma9gw4f.js} +2 -2
  21. package/dist/chunks/{bus-bsfkzme1.js → model-retry-0n28khqy.js} +9 -9
  22. package/dist/chunks/{bus-9gxex9v0.js → model-retry-0pkyagxm.js} +15 -15
  23. package/dist/chunks/{bus-1v62x7nb.js → model-retry-0qs2w0pq.js} +6 -6
  24. package/dist/chunks/{bus-x0rn644k.js → model-retry-0shwd63d.js} +28 -28
  25. package/dist/chunks/{bus-7sztb6xg.js → model-retry-0tcj55vp.js} +11 -11
  26. package/dist/chunks/{bus-tf9r37f3.js → model-retry-0vhe3zz8.js} +11 -11
  27. package/dist/chunks/{bus-24by7f9w.js → model-retry-0yrs0ja2.js} +14 -14
  28. package/dist/chunks/{bus-8e2q6s6v.js → model-retry-133hy8g0.js} +3 -3
  29. package/dist/chunks/{bus-1aqsckx4.js → model-retry-1aqsckx4.js} +1 -1
  30. package/dist/chunks/{bus-kak9xpb9.js → model-retry-1e7234jn.js} +16 -16
  31. package/dist/chunks/{bus-1ep2p91f.js → model-retry-1ep2p91f.js} +2 -2
  32. package/dist/chunks/{bus-8q07052d.js → model-retry-1gz7zm0b.js} +11 -11
  33. package/dist/chunks/{bus-4smyxkmz.js → model-retry-1hzp2809.js} +32 -32
  34. package/dist/chunks/{bus-5hk1j3a1.js → model-retry-1qvny275.js} +59 -59
  35. package/dist/chunks/{bus-wzr2nckg.js → model-retry-1v68nqjc.js} +3 -3
  36. package/dist/chunks/{bus-1x2knyw4.js → model-retry-1x2knyw4.js} +1 -1
  37. package/dist/chunks/{bus-yap6wetc.js → model-retry-1yh4cc2k.js} +7 -7
  38. package/dist/chunks/{bus-5zrxpy3q.js → model-retry-1yq9hg58.js} +5 -5
  39. package/dist/chunks/{bus-8mxrv7vx.js → model-retry-21104yg0.js} +15 -15
  40. package/dist/chunks/{bus-myqg03ks.js → model-retry-2379nghw.js} +18 -18
  41. package/dist/chunks/{bus-6k0d5a0h.js → model-retry-23ec8jz8.js} +8 -8
  42. package/dist/chunks/{bus-y1xg28a3.js → model-retry-26vw3nkf.js} +23 -23
  43. package/dist/chunks/{bus-5qj5pbk7.js → model-retry-2h6k8afz.js} +8 -8
  44. package/dist/chunks/{bus-dz9apbxd.js → model-retry-2hccw83s.js} +17 -17
  45. package/dist/chunks/{bus-2qdbb86w.js → model-retry-2t8sxxq3.js} +4 -4
  46. package/dist/chunks/{bus-sf7kk5v3.js → model-retry-2tqrg817.js} +7 -7
  47. package/dist/chunks/{bus-w8tcjrgy.js → model-retry-2ywepbfj.js} +4 -4
  48. package/dist/chunks/{bus-dwcmmxzn.js → model-retry-2zt8ns9h.js} +19 -19
  49. package/dist/chunks/{bus-yprbzjm3.js → model-retry-313pdhz2.js} +13 -13
  50. package/dist/chunks/{bus-jjc8p30h.js → model-retry-33v5y19x.js} +24 -24
  51. package/dist/chunks/{bus-hf12nyt3.js → model-retry-3627dt3h.js} +29 -29
  52. package/dist/chunks/{bus-rp6t20zc.js → model-retry-3adw4bt5.js} +9 -9
  53. package/dist/chunks/{bus-zybtfqav.js → model-retry-3bgf9gas.js} +4 -4
  54. package/dist/chunks/{bus-3hepkmqq.js → model-retry-3hepkmqq.js} +1 -1
  55. package/dist/chunks/{bus-qkg60srj.js → model-retry-3j3557gf.js} +47 -47
  56. package/dist/chunks/{bus-mj11r9mp.js → model-retry-3mc10hy0.js} +10 -10
  57. package/dist/chunks/{bus-3nnrz6f6.js → model-retry-3nnrz6f6.js} +1 -1
  58. package/dist/chunks/{bus-8t99kr38.js → model-retry-3qgwywyc.js} +4 -4
  59. package/dist/chunks/{bus-s8qtxmzm.js → model-retry-3spf441s.js} +4 -4
  60. package/dist/chunks/{bus-40y6dtc2.js → model-retry-40y6dtc2.js} +1 -1
  61. package/dist/chunks/{bus-8wf0t3vd.js → model-retry-45fvmn93.js} +33 -33
  62. package/dist/chunks/{bus-4dx1dgte.js → model-retry-4dx1dgte.js} +1 -1
  63. package/dist/chunks/{bus-281qarhz.js → model-retry-4et74f6b.js} +5 -5
  64. package/dist/chunks/{bus-ys9zdn9n.js → model-retry-4m58d2b7.js} +18 -18
  65. package/dist/chunks/{bus-pzm37b6s.js → model-retry-4nhx1m4t.js} +33 -33
  66. package/dist/chunks/{bus-4pyp9zr9.js → model-retry-4pyp9zr9.js} +1 -1
  67. package/dist/chunks/{bus-4v008n1t.js → model-retry-4v008n1t.js} +1 -1
  68. package/dist/chunks/{bus-0s9xq3m6.js → model-retry-50d0hzz1.js} +11 -11
  69. package/dist/chunks/{bus-awkn3h2h.js → model-retry-50eg523m.js} +5 -5
  70. package/dist/chunks/{bus-8hws48p9.js → model-retry-510sqk2z.js} +14 -14
  71. package/dist/chunks/{bus-hfdfeqmt.js → model-retry-52bq3fza.js} +12 -12
  72. package/dist/chunks/{bus-b8s66ae1.js → model-retry-55g2q5p5.js} +2 -2
  73. package/dist/chunks/{bus-5j137cd1.js → model-retry-56xvxeba.js} +20 -20
  74. package/dist/chunks/{bus-qe5vhkh7.js → model-retry-56z5jcfe.js} +5 -5
  75. package/dist/chunks/{bus-z896v4z2.js → model-retry-57xm15c5.js} +22 -22
  76. package/dist/chunks/{bus-hmc1gkc2.js → model-retry-58wf94jx.js} +6 -6
  77. package/dist/chunks/{bus-78x25e93.js → model-retry-5ax50e2x.js} +5 -5
  78. package/dist/chunks/{bus-99d1n6p2.js → model-retry-5ay8k29b.js} +5 -5
  79. package/dist/chunks/{bus-5qfvhg2d.js → model-retry-5fcpfsvm.js} +10 -10
  80. package/dist/chunks/{bus-4ngryqn9.js → model-retry-5kfyzpnv.js} +6 -6
  81. package/dist/chunks/{bus-5m9w47nd.js → model-retry-5m9w47nd.js} +1 -1
  82. package/dist/chunks/{bus-s26c8eb5.js → model-retry-5n0rnk8e.js} +4 -4
  83. package/dist/chunks/{bus-4gcmks0q.js → model-retry-5nt4d42h.js} +22 -22
  84. package/dist/chunks/{bus-x4etfqmn.js → model-retry-5pr10cy5.js} +1 -1
  85. package/dist/chunks/{bus-d77r7070.js → model-retry-5tktyjsz.js} +86 -86
  86. package/dist/chunks/{bus-ea55qy06.js → model-retry-5tsqkt8q.js} +32 -32
  87. package/dist/chunks/{bus-qr61aex2.js → model-retry-65jde9q7.js} +21 -21
  88. package/dist/chunks/{bus-68fjv3bw.js → model-retry-67x3kfmd.js} +11 -11
  89. package/dist/chunks/{bus-wwm42y5s.js → model-retry-687fy18w.js} +6 -6
  90. package/dist/chunks/model-retry-6bshxcsx.js +18 -0
  91. package/dist/chunks/{bus-afnfa54c.js → model-retry-6dz7wdar.js} +12 -12
  92. package/dist/chunks/{bus-grxgxjek.js → model-retry-6f7h967y.js} +15 -15
  93. package/dist/chunks/{bus-vrqpnmfa.js → model-retry-6kfhwn66.js} +33 -33
  94. package/dist/chunks/{bus-9kwx3s0r.js → model-retry-6tdmx8x3.js} +37 -37
  95. package/dist/chunks/{bus-y6bv49mt.js → model-retry-6wanefsy.js} +28 -28
  96. package/dist/chunks/{bus-dfaw6ypd.js → model-retry-6xyc0kax.js} +18 -18
  97. package/dist/chunks/{bus-nz0vwcmr.js → model-retry-714sva13.js} +14 -14
  98. package/dist/chunks/{bus-80mg3ag8.js → model-retry-775hqbnd.js} +3 -3
  99. package/dist/chunks/{bus-mjzq44fw.js → model-retry-78bvm8j8.js} +16 -16
  100. package/dist/chunks/{bus-7bmhse3q.js → model-retry-7bmhse3q.js} +1 -1
  101. package/dist/chunks/{bus-g1wg1sjq.js → model-retry-7n50n386.js} +7 -7
  102. package/dist/chunks/{bus-7w2ypzdf.js → model-retry-7w2ypzdf.js} +1 -1
  103. package/dist/chunks/{bus-7weczvnd.js → model-retry-7weczvnd.js} +1 -1
  104. package/dist/chunks/{bus-6xc88389.js → model-retry-84p2h2nr.js} +13 -13
  105. package/dist/chunks/{bus-dtwk4r39.js → model-retry-87n69sem.js} +1 -1
  106. package/dist/chunks/{bus-pgqxr0th.js → model-retry-88kypjvy.js} +4 -4
  107. package/dist/chunks/{bus-89287pr7.js → model-retry-89287pr7.js} +1 -1
  108. package/dist/chunks/{bus-8b3vzgkx.js → model-retry-8b3vzgkx.js} +1 -1
  109. package/dist/chunks/{bus-xvdd2r56.js → model-retry-8b6vc372.js} +54 -54
  110. package/dist/chunks/{bus-jy6kj5ph.js → model-retry-8c6wzkmq.js} +19 -19
  111. package/dist/chunks/{bus-8cg7mtm3.js → model-retry-8cg7mtm3.js} +1 -1
  112. package/dist/chunks/{bus-fx71xthw.js → model-retry-8ghknd81.js} +13 -13
  113. package/dist/chunks/{bus-8sxe6kv8.js → model-retry-8sxe6kv8.js} +2 -2
  114. package/dist/chunks/{bus-8wtp7s3z.js → model-retry-8wtp7s3z.js} +1 -1
  115. package/dist/chunks/{bus-agyrz8xh.js → model-retry-8y1x94rh.js} +39 -39
  116. package/dist/chunks/{bus-3h8m143y.js → model-retry-90khhth6.js} +24 -24
  117. package/dist/chunks/{bus-90zstvax.js → model-retry-90zstvax.js} +1 -1
  118. package/dist/chunks/{bus-spz5sz38.js → model-retry-963hk181.js} +7 -7
  119. package/dist/chunks/{bus-szwm4crx.js → model-retry-96djdqw5.js} +4 -4
  120. package/dist/chunks/{bus-xn70ah2m.js → model-retry-96zbwb42.js} +11 -11
  121. package/dist/chunks/{bus-97pd5eqw.js → model-retry-9gzp0nca.js} +6 -6
  122. package/dist/chunks/{bus-jv5ccajn.js → model-retry-9zwexsxs.js} +5 -5
  123. package/dist/chunks/{bus-xnmk3xsa.js → model-retry-absdbppj.js} +18 -18
  124. package/dist/chunks/{bus-7mvxqbtz.js → model-retry-ahjhkwwj.js} +5 -5
  125. package/dist/chunks/{bus-ky8ryepb.js → model-retry-ak1hfr5m.js} +13 -13
  126. package/dist/chunks/{bus-dwvydzer.js → model-retry-aqpm8sjd.js} +9 -9
  127. package/dist/chunks/{bus-ayjs7tqn.js → model-retry-ayjs7tqn.js} +2 -2
  128. package/dist/chunks/{bus-za9vg3rv.js → model-retry-ayy9hq9v.js} +17 -17
  129. package/dist/chunks/{bus-b6vsg801.js → model-retry-b6vsg801.js} +2 -2
  130. package/dist/chunks/{bus-kcrrt9zw.js → model-retry-b96e45z7.js} +7 -7
  131. package/dist/chunks/{bus-yyh7aaps.js → model-retry-bbv7h0sc.js} +8 -8
  132. package/dist/chunks/{bus-pvjjxckp.js → model-retry-bc1zr08q.js} +29 -29
  133. package/dist/chunks/{bus-52khf8gr.js → model-retry-bh17g5gv.js} +43 -43
  134. package/dist/chunks/{bus-yts2a8qm.js → model-retry-brv6mkyx.js} +4 -4
  135. package/dist/chunks/{bus-qw6nz8fx.js → model-retry-bsmhfrg4.js} +4 -4
  136. package/dist/chunks/{bus-xd9cc171.js → model-retry-bstexjd6.js} +5 -5
  137. package/dist/chunks/{bus-f1hnjyam.js → model-retry-bwfka8tb.js} +17 -17
  138. package/dist/chunks/{bus-z04rt3ve.js → model-retry-byj3h104.js} +19 -19
  139. package/dist/chunks/{bus-x9kbp3hd.js → model-retry-byr6f84d.js} +4 -4
  140. package/dist/chunks/{bus-yewnkzsz.js → model-retry-bzbtkgr3.js} +72 -72
  141. package/dist/chunks/{bus-w7vy65gz.js → model-retry-cfgvgebt.js} +3 -3
  142. package/dist/chunks/{bus-bx3zhw10.js → model-retry-chy84r4k.js} +36 -36
  143. package/dist/chunks/{bus-73ncaqjh.js → model-retry-cmgjhmvc.js} +9 -9
  144. package/dist/chunks/{bus-7d8t5v66.js → model-retry-ctk26xy0.js} +15 -15
  145. package/dist/chunks/{bus-cwrgdav8.js → model-retry-cwrgdav8.js} +2 -2
  146. package/dist/chunks/{bus-wm2h9wn1.js → model-retry-d1tfjsd6.js} +3 -3
  147. package/dist/chunks/{bus-zyng0yj9.js → model-retry-d3m6k2ad.js} +31 -31
  148. package/dist/chunks/{bus-4mwxa58x.js → model-retry-d44g1qb4.js} +17 -17
  149. package/dist/chunks/{bus-d4v9tmah.js → model-retry-d4v9tmah.js} +2 -2
  150. package/dist/chunks/{bus-dd3dt1h3.js → model-retry-d67xjgd2.js} +19 -19
  151. package/dist/chunks/{bus-vd1kjsrz.js → model-retry-dfj6hfj3.js} +43 -43
  152. package/dist/chunks/{bus-vsv0w8m2.js → model-retry-dfxqvc4e.js} +5 -5
  153. package/dist/chunks/{bus-5ckkk9bj.js → model-retry-dg5naf6e.js} +4 -4
  154. package/dist/chunks/{bus-knjdssrv.js → model-retry-djqhmdnb.js} +4 -4
  155. package/dist/chunks/{bus-czc3e01s.js → model-retry-dkpjsqx5.js} +6 -6
  156. package/dist/chunks/{bus-txjws9vm.js → model-retry-dnern54h.js} +11 -11
  157. package/dist/chunks/{bus-4mxa7xsc.js → model-retry-ds3yqcse.js} +33 -33
  158. package/dist/chunks/{bus-dt77769w.js → model-retry-dt77769w.js} +1 -1
  159. package/dist/chunks/{bus-xfmn1200.js → model-retry-dtne69m2.js} +10 -10
  160. package/dist/chunks/{bus-s5x5z5v7.js → model-retry-dx1wjjx5.js} +81 -81
  161. package/dist/chunks/{bus-43a86ed8.js → model-retry-dznv9wr0.js} +6 -6
  162. package/dist/chunks/{bus-epcavnnt.js → model-retry-e0jw5zf9.js} +16 -16
  163. package/dist/chunks/{bus-nwr3e9pg.js → model-retry-e3apafn0.js} +9 -9
  164. package/dist/chunks/{bus-e834z07m.js → model-retry-e834z07m.js} +1 -1
  165. package/dist/chunks/{bus-y468wp7h.js → model-retry-edccdjgn.js} +45 -45
  166. package/dist/chunks/{bus-c3k8f38f.js → model-retry-eev65t0h.js} +4 -4
  167. package/dist/chunks/{bus-d64dqc6h.js → model-retry-eg2d7vgw.js} +21 -21
  168. package/dist/chunks/{bus-n0eajme7.js → model-retry-eg634yz2.js} +16 -16
  169. package/dist/chunks/{bus-6n4ncf2g.js → model-retry-ene5d8sz.js} +31 -31
  170. package/dist/chunks/{bus-8hfctyyf.js → model-retry-ep6pe98a.js} +5 -5
  171. package/dist/chunks/{bus-eqw4pqj1.js → model-retry-eqw4pqj1.js} +2 -2
  172. package/dist/chunks/model-retry-er8gj22z.js +26 -0
  173. package/dist/chunks/{bus-e9d62zj1.js → model-retry-evw2arw5.js} +18 -18
  174. package/dist/chunks/{bus-pyc3gczw.js → model-retry-f32m8sjz.js} +5 -5
  175. package/dist/chunks/{bus-t2dwtrkq.js → model-retry-f4zhj8dy.js} +7 -7
  176. package/dist/chunks/{bus-k50k7jc0.js → model-retry-f5h1k6kg.js} +14 -14
  177. package/dist/chunks/{bus-5awth4d3.js → model-retry-fep26vdr.js} +6 -6
  178. package/dist/chunks/{bus-fffv3p7h.js → model-retry-fffv3p7h.js} +1 -1
  179. package/dist/chunks/{bus-fg9p65nk.js → model-retry-fg9p65nk.js} +2 -2
  180. package/dist/chunks/{bus-0ftyx8tf.js → model-retry-fh4mtqct.js} +19 -19
  181. package/dist/chunks/{bus-bx8nq7pr.js → model-retry-fjtt755v.js} +14 -14
  182. package/dist/chunks/model-retry-fnctwaab.js +563 -0
  183. package/dist/chunks/{bus-2ctpxvpm.js → model-retry-fwv5jk54.js} +12 -12
  184. package/dist/chunks/{bus-rgbv672r.js → model-retry-g1p8tryc.js} +11 -11
  185. package/dist/chunks/{bus-gbjdnr5j.js → model-retry-gbjdnr5j.js} +2 -2
  186. package/dist/chunks/{bus-9ttv4q8q.js → model-retry-gdgh5wxk.js} +49 -49
  187. package/dist/chunks/{bus-ghrv1g9c.js → model-retry-ghrv1g9c.js} +1 -1
  188. package/dist/chunks/{bus-94cfsgt1.js → model-retry-gpsveqwr.js} +15 -15
  189. package/dist/chunks/{bus-36rv6gqa.js → model-retry-grkedb35.js} +13 -13
  190. package/dist/chunks/{bus-50w7720n.js → model-retry-gvca9fq4.js} +45 -45
  191. package/dist/chunks/{bus-wxttsjt8.js → model-retry-h4ng16ej.js} +16 -16
  192. package/dist/chunks/{bus-q6a7h9km.js → model-retry-h5gm5jf1.js} +7 -7
  193. package/dist/chunks/{bus-wjm1hmrr.js → model-retry-hcjkd60y.js} +28 -28
  194. package/dist/chunks/{bus-vn50qq6e.js → model-retry-hr3kczcs.js} +9 -9
  195. package/dist/chunks/{bus-rc848qwm.js → model-retry-hvt5qccz.js} +9 -9
  196. package/dist/chunks/{bus-g0s7vqpm.js → model-retry-hx3v7gkd.js} +10 -10
  197. package/dist/chunks/{bus-tr8x705m.js → model-retry-j376ae4e.js} +5 -5
  198. package/dist/chunks/model-retry-j571r41k.js +265 -0
  199. package/dist/chunks/{bus-swqqhfca.js → model-retry-j6hzybbs.js} +7 -7
  200. package/dist/chunks/{bus-ze75qvmd.js → model-retry-j9nxzz3g.js} +3 -3
  201. package/dist/chunks/{bus-2magbsmb.js → model-retry-jeg20vnb.js} +25 -25
  202. package/dist/chunks/{bus-vmgd1b2n.js → model-retry-jffrhh9g.js} +26 -26
  203. package/dist/chunks/{bus-jhwp234h.js → model-retry-jhwp234h.js} +1 -1
  204. package/dist/chunks/{bus-9rgr5dz2.js → model-retry-jnhgr88h.js} +4 -4
  205. package/dist/chunks/{bus-yhn9yqy6.js → model-retry-jqsxth3s.js} +8 -8
  206. package/dist/chunks/{bus-44pmzq9c.js → model-retry-jxd6f16v.js} +2 -2
  207. package/dist/chunks/{bus-rds5ff12.js → model-retry-k6ymtmb5.js} +5 -5
  208. package/dist/chunks/{bus-xer2fb76.js → model-retry-k7k2wzdy.js} +19 -19
  209. package/dist/chunks/{bus-wt7wzq6n.js → model-retry-kanv5jxz.js} +11 -11
  210. package/dist/chunks/{bus-8n09hdvs.js → model-retry-kc4ez2ea.js} +8 -8
  211. package/dist/chunks/{bus-kh8gdsej.js → model-retry-kh8gdsej.js} +1 -1
  212. package/dist/chunks/{bus-20pht57w.js → model-retry-kj9n5bvh.js} +4 -4
  213. package/dist/chunks/{bus-j5q72a4r.js → model-retry-kkcrh3pd.js} +15 -15
  214. package/dist/chunks/{bus-g3ptzmb6.js → model-retry-kkmtmrgc.js} +8 -8
  215. package/dist/chunks/{bus-kmekj7m2.js → model-retry-kmekj7m2.js} +2 -2
  216. package/dist/chunks/{bus-kt3bjfbg.js → model-retry-kt3bjfbg.js} +1 -1
  217. package/dist/chunks/{bus-1stqc8b1.js → model-retry-kza4z7tg.js} +26 -26
  218. package/dist/chunks/{bus-kzczzf4v.js → model-retry-kzczzf4v.js} +1 -1
  219. package/dist/chunks/{bus-62zd5tzk.js → model-retry-kze6nzna.js} +4 -4
  220. package/dist/chunks/{bus-m1714858.js → model-retry-m1714858.js} +1 -1
  221. package/dist/chunks/{bus-5qaedt7h.js → model-retry-m1drnt0x.js} +3 -3
  222. package/dist/chunks/{bus-sc73t0y9.js → model-retry-m1sd1nzj.js} +31 -31
  223. package/dist/chunks/{bus-56qxc1g1.js → model-retry-m8gg2r61.js} +17 -17
  224. package/dist/chunks/{bus-gs4n4z2g.js → model-retry-m979knme.js} +6 -6
  225. package/dist/chunks/{bus-m9w0rfyh.js → model-retry-m9w0rfyh.js} +1 -1
  226. package/dist/chunks/{bus-mb7mbhnz.js → model-retry-mb7mbhnz.js} +3 -3
  227. package/dist/chunks/{bus-p24z06k5.js → model-retry-mcvp24xr.js} +50 -50
  228. package/dist/chunks/{bus-gb11fqdm.js → model-retry-mepfg8er.js} +14 -14
  229. package/dist/chunks/{bus-w35wzz9x.js → model-retry-mf63ygpr.js} +4 -4
  230. package/dist/chunks/{bus-wjyjrd90.js → model-retry-mmmhs07p.js} +23 -23
  231. package/dist/chunks/{bus-rjxx2gf5.js → model-retry-mn48dts9.js} +12 -12
  232. package/dist/chunks/{bus-vg0erq9k.js → model-retry-mqe7nf5n.js} +3 -3
  233. package/dist/chunks/{bus-gps7pya6.js → model-retry-mt9pskbw.js} +8 -8
  234. package/dist/chunks/{bus-r6khc3n5.js → model-retry-n2fh0ez3.js} +24 -24
  235. package/dist/chunks/{bus-1mf6mf1k.js → model-retry-n4rc99nq.js} +25 -25
  236. package/dist/chunks/{bus-3xxxzx40.js → model-retry-n6gzv18t.js} +31 -31
  237. package/dist/chunks/{bus-jgpy2akj.js → model-retry-n7yjqep5.js} +12 -12
  238. package/dist/chunks/{bus-narzxsz3.js → model-retry-n8c07vr4.js} +18 -18
  239. package/dist/chunks/{bus-61d06eve.js → model-retry-nc4hvdtz.js} +23 -23
  240. package/dist/chunks/{bus-w9t8cew6.js → model-retry-nj5362c0.js} +36 -36
  241. package/dist/chunks/{bus-w82716pr.js → model-retry-npsqt33r.js} +6 -6
  242. package/dist/chunks/{bus-sc6ve54j.js → model-retry-p1x6snt1.js} +1 -1
  243. package/dist/chunks/{bus-3rapmj7b.js → model-retry-p26htzqx.js} +8 -8
  244. package/dist/chunks/{bus-nn6w55pc.js → model-retry-p2tvx8t7.js} +9 -9
  245. package/dist/chunks/{bus-2eb7vdkt.js → model-retry-p5x5ke5n.js} +5 -5
  246. package/dist/chunks/{bus-yg1r97sy.js → model-retry-paj10b95.js} +54 -54
  247. package/dist/chunks/{bus-3ev6762c.js → model-retry-pcz6jjc3.js} +20 -20
  248. package/dist/chunks/{bus-25pgyrsw.js → model-retry-pe2nkaqs.js} +20 -20
  249. package/dist/chunks/{bus-pknna89w.js → model-retry-pknna89w.js} +1 -1
  250. package/dist/chunks/{bus-ypdv3b38.js → model-retry-pppy9358.js} +9 -9
  251. package/dist/chunks/{bus-3adyfz8v.js → model-retry-q4aaye94.js} +29 -29
  252. package/dist/chunks/{bus-kyh18yxw.js → model-retry-q8gvdtzg.js} +9 -9
  253. package/dist/chunks/{bus-j15ynj1b.js → model-retry-qf6vnvtz.js} +16 -16
  254. package/dist/chunks/{bus-qp7r0hxv.js → model-retry-qp7r0hxv.js} +1 -1
  255. package/dist/chunks/{bus-3p85jtfv.js → model-retry-qphqztqn.js} +12 -12
  256. package/dist/chunks/{bus-2eqkfqpq.js → model-retry-qpq3aa4d.js} +25 -25
  257. package/dist/chunks/{bus-qqvy8y24.js → model-retry-qqvy8y24.js} +1 -1
  258. package/dist/chunks/{bus-hjxyb41m.js → model-retry-qst89rrd.js} +3 -3
  259. package/dist/chunks/{bus-0gdrrj59.js → model-retry-qwz12hkq.js} +4 -4
  260. package/dist/chunks/{bus-atpbpd9s.js → model-retry-r343yv53.js} +5 -5
  261. package/dist/chunks/{bus-f51e4fnj.js → model-retry-r3yd059b.js} +3 -3
  262. package/dist/chunks/{bus-r542h3bh.js → model-retry-r542h3bh.js} +1 -1
  263. package/dist/chunks/{bus-sf9y72b7.js → model-retry-r7f89qmp.js} +4 -4
  264. package/dist/chunks/{bus-yw0jzrgx.js → model-retry-radt6btp.js} +8 -8
  265. package/dist/chunks/{bus-283f2gnz.js → model-retry-raq8tkwj.js} +2 -2
  266. package/dist/chunks/{bus-rb9dy4dg.js → model-retry-rb9dy4dg.js} +1 -1
  267. package/dist/chunks/{bus-rgc9cx3e.js → model-retry-rgc9cx3e.js} +2 -2
  268. package/dist/chunks/{bus-nt907s04.js → model-retry-rj7jtxy8.js} +3 -3
  269. package/dist/chunks/{bus-rt5dr6hb.js → model-retry-rt5dr6hb.js} +1 -1
  270. package/dist/chunks/{bus-gbx89qhp.js → model-retry-rz8v6ye2.js} +16 -16
  271. package/dist/chunks/{bus-sbma5mtc.js → model-retry-rzrpwr1q.js} +22 -22
  272. package/dist/chunks/{bus-7tgyfk06.js → model-retry-s0hsmfvj.js} +21 -21
  273. package/dist/chunks/{bus-2p60zmnr.js → model-retry-s1ba0vj0.js} +2 -2
  274. package/dist/chunks/{bus-mbeqmc6f.js → model-retry-s4n4vg8r.js} +38 -38
  275. package/dist/chunks/{bus-9f9vgk7y.js → model-retry-s5pb553a.js} +4 -4
  276. package/dist/chunks/{bus-6f7n0eyd.js → model-retry-s7teqg5a.js} +38 -38
  277. package/dist/chunks/{bus-sa3fpqfw.js → model-retry-sa3fpqfw.js} +2 -2
  278. package/dist/chunks/{bus-sbya78hr.js → model-retry-sbya78hr.js} +1 -1
  279. package/dist/chunks/{bus-00kj77v3.js → model-retry-stsmc9a4.js} +26 -26
  280. package/dist/chunks/{bus-svcy3p9a.js → model-retry-svcy3p9a.js} +1 -1
  281. package/dist/chunks/{bus-jah7jz88.js → model-retry-sx3k1r24.js} +9 -9
  282. package/dist/chunks/{bus-n8szhp98.js → model-retry-t3qgac3j.js} +5 -5
  283. package/dist/chunks/{bus-qmtc18p6.js → model-retry-t5ja9d0g.js} +21 -21
  284. package/dist/chunks/{bus-jx8x5mjv.js → model-retry-t6m54dwp.js} +5 -5
  285. package/dist/chunks/{bus-0ezgpwkc.js → model-retry-ta7eff0d.js} +35 -35
  286. package/dist/chunks/{bus-tczq8hjw.js → model-retry-tczq8hjw.js} +1 -1
  287. package/dist/chunks/{bus-vt4r9rmy.js → model-retry-teav1bzy.js} +9 -9
  288. package/dist/chunks/{bus-tg7s7b5t.js → model-retry-tg7s7b5t.js} +1 -1
  289. package/dist/chunks/{bus-60an6ctf.js → model-retry-tgx2mcr0.js} +5 -5
  290. package/dist/chunks/{bus-tvtps2q9.js → model-retry-tvtps2q9.js} +1 -1
  291. package/dist/chunks/{bus-bxs5ctch.js → model-retry-twp2mmjd.js} +23 -23
  292. package/dist/chunks/{bus-twssxy5n.js → model-retry-twssxy5n.js} +2 -2
  293. package/dist/chunks/{bus-ms34cacd.js → model-retry-tww5npzc.js} +6 -6
  294. package/dist/chunks/{bus-v2r1d0zg.js → model-retry-v2r1d0zg.js} +1 -1
  295. package/dist/chunks/{bus-tqx9c315.js → model-retry-v5hpj9dd.js} +8 -8
  296. package/dist/chunks/{bus-fnexbcks.js → model-retry-v8wxce3j.js} +18 -18
  297. package/dist/chunks/{bus-5gynpj2j.js → model-retry-vgbhzz5z.js} +12 -12
  298. package/dist/chunks/{bus-8bq4ths3.js → model-retry-vhbaker9.js} +28 -28
  299. package/dist/chunks/{bus-a1qwck5h.js → model-retry-vj50rhab.js} +8 -8
  300. package/dist/chunks/{bus-vjf35v1f.js → model-retry-vjf35v1f.js} +1 -1
  301. package/dist/chunks/{bus-qdwsperk.js → model-retry-vmrnw26k.js} +6 -6
  302. package/dist/chunks/{bus-es3hber9.js → model-retry-vms99yab.js} +27 -27
  303. package/dist/chunks/{bus-vwcz1f45.js → model-retry-vwcz1f45.js} +1 -1
  304. package/dist/chunks/{bus-qnqasnye.js → model-retry-vzppetdn.js} +6 -6
  305. package/dist/chunks/{bus-jdj5qprp.js → model-retry-w00pmpz4.js} +6 -6
  306. package/dist/chunks/{bus-w2eysc6j.js → model-retry-w2eysc6j.js} +2 -2
  307. package/dist/chunks/{bus-w3wsvvr9.js → model-retry-w3wsvvr9.js} +1 -1
  308. package/dist/chunks/{bus-0y15sqga.js → model-retry-w9df92qk.js} +11 -11
  309. package/dist/chunks/{bus-vsnnaxjq.js → model-retry-w9w8mt4n.js} +4 -4
  310. package/dist/chunks/{bus-wakvkjy4.js → model-retry-wakvkjy4.js} +1 -1
  311. package/dist/chunks/{bus-wd87259q.js → model-retry-wd87259q.js} +1 -1
  312. package/dist/chunks/{bus-wegkxhrn.js → model-retry-wegkxhrn.js} +2 -2
  313. package/dist/chunks/{bus-1xb40zjp.js → model-retry-weqc7sb9.js} +3 -3
  314. package/dist/chunks/{bus-qsdghx1p.js → model-retry-wfdx5ztx.js} +4 -4
  315. package/dist/chunks/{bus-wnhgecwx.js → model-retry-wnhgecwx.js} +1 -1
  316. package/dist/chunks/{bus-j7q27a7z.js → model-retry-wtppas8f.js} +15 -15
  317. package/dist/chunks/{bus-afdgc3vs.js → model-retry-wv2cr0rm.js} +43 -43
  318. package/dist/chunks/{bus-qxcze8af.js → model-retry-wxynfj5e.js} +10 -10
  319. package/dist/chunks/{bus-88c6r276.js → model-retry-x2ndfy6h.js} +3 -3
  320. package/dist/chunks/{bus-jq9gmw53.js → model-retry-x6xv13fq.js} +13 -13
  321. package/dist/chunks/{bus-vp38q3z5.js → model-retry-x9a09dck.js} +11 -11
  322. package/dist/chunks/{bus-wccr2qkb.js → model-retry-xbrwr3dr.js} +22 -22
  323. package/dist/chunks/{bus-cy70qkhv.js → model-retry-xdg7qpd5.js} +32 -32
  324. package/dist/chunks/{bus-pv4pr5bm.js → model-retry-xmxf0jav.js} +19 -19
  325. package/dist/chunks/{bus-qs66m7qc.js → model-retry-xvjkaw2n.js} +7 -7
  326. package/dist/chunks/{bus-xxschbft.js → model-retry-xxschbft.js} +1 -1
  327. package/dist/chunks/{bus-spt8e44j.js → model-retry-y0cxba2k.js} +22 -22
  328. package/dist/chunks/{bus-mcf9ewwc.js → model-retry-y0f40vmx.js} +18 -18
  329. package/dist/chunks/{bus-vsmhcep0.js → model-retry-y346hdw2.js} +20 -20
  330. package/dist/chunks/{bus-wy9fkgmh.js → model-retry-y9p823a5.js} +21 -21
  331. package/dist/chunks/{bus-j43gwz94.js → model-retry-y9qqg13e.js} +3 -3
  332. package/dist/chunks/{bus-yb20nhc3.js → model-retry-yb20nhc3.js} +1 -1
  333. package/dist/chunks/{bus-7d1t0b3t.js → model-retry-yb9qqmha.js} +8 -8
  334. package/dist/chunks/{bus-wfej2c90.js → model-retry-ympz6dt8.js} +5 -5
  335. package/dist/chunks/{bus-yr705xyq.js → model-retry-yr705xyq.js} +1 -1
  336. package/dist/chunks/{bus-hfdeyy56.js → model-retry-yr85y3b1.js} +11 -11
  337. package/dist/chunks/{bus-yvtc2x31.js → model-retry-yvtc2x31.js} +1 -1
  338. package/dist/chunks/{bus-2525w213.js → model-retry-yzem1831.js} +182 -182
  339. package/dist/chunks/{bus-yrjktvt0.js → model-retry-z5tnba5f.js} +17 -17
  340. package/dist/chunks/{bus-58zm6vp0.js → model-retry-z9zvwr5a.js} +30 -30
  341. package/dist/chunks/{bus-5jdnat6g.js → model-retry-zaaxhjqc.js} +31 -31
  342. package/dist/chunks/{bus-17d3gt7t.js → model-retry-zgv53tvs.js} +20 -20
  343. package/dist/chunks/{bus-6vmdyhkr.js → model-retry-zx68twwp.js} +19 -19
  344. package/dist/chunks/{bus-ecm1d7a2.js → model-retry-zx7hpb7p.js} +21 -21
  345. package/dist/codemode/catalog.js +1 -1
  346. package/dist/codemode/execution.js +3 -3
  347. package/dist/codemode/fetch.js +145 -145
  348. package/dist/codemode/instructions.js +3 -3
  349. package/dist/codemode/tool.js +151 -151
  350. package/dist/command.js +90 -90
  351. package/dist/config/discovery.js +95 -95
  352. package/dist/config/integration.js +3 -3
  353. package/dist/config/managed.js +1 -1
  354. package/dist/config/markdown.js +1 -1
  355. package/dist/config/normalize.js +112 -112
  356. package/dist/config/plugin/agent.js +131 -131
  357. package/dist/config/plugin/command.js +232 -232
  358. package/dist/config/plugin/compaction.js +171 -171
  359. package/dist/config/plugin/compatibility.js +150 -150
  360. package/dist/config/plugin/entry-observer.js +1 -1
  361. package/dist/config/plugin/formatter.js +131 -131
  362. package/dist/config/plugin/image.js +130 -130
  363. package/dist/config/plugin/instruction.js +130 -130
  364. package/dist/config/plugin/location-watcher.js +132 -132
  365. package/dist/config/plugin/mcp.js +139 -139
  366. package/dist/config/plugin/policy.js +130 -130
  367. package/dist/config/plugin/provider.js +130 -130
  368. package/dist/config/plugin/reference.js +132 -132
  369. package/dist/config/plugin/shell.js +132 -132
  370. package/dist/config/plugin/skill-file.js +146 -146
  371. package/dist/config/plugin/skill-scan.js +1 -1
  372. package/dist/config/plugin/skill.js +153 -153
  373. package/dist/config/plugin/snapshot.js +130 -130
  374. package/dist/config/plugin/source.js +132 -132
  375. package/dist/config/plugin/tool-output.js +131 -131
  376. package/dist/config/plugin/websearch.js +131 -131
  377. package/dist/config/plugin/worktree.js +132 -132
  378. package/dist/config/variable.js +1 -1
  379. package/dist/config/watch.js +1 -1
  380. package/dist/config.js +135 -135
  381. package/dist/console-access.js +1 -1
  382. package/dist/credential/sql.js +2 -2
  383. package/dist/credential.js +92 -92
  384. package/dist/database/database.js +77 -77
  385. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  386. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  387. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  388. package/dist/database/drizzle/index.js +13 -13
  389. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  390. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  391. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  392. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  393. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  394. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  395. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  396. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  397. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  398. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  399. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  400. package/dist/database/drizzle.js +14 -14
  401. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  402. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  403. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  404. package/dist/database/migration/20260225215848_workspace.js +1 -1
  405. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  406. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  407. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  408. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  409. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  410. package/dist/database/migration/20260323234822_events.js +1 -1
  411. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  412. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  413. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  414. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  415. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  416. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  417. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  418. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  419. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  420. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  421. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  422. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  423. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  424. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  425. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  426. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  427. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  428. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  429. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  430. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  431. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  432. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  433. package/dist/database/migration/20260611035744_credential.js +1 -1
  434. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  435. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  436. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  437. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  438. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  439. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  440. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  441. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  442. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  443. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  444. package/dist/database/migration/20260812213948_worktree.js +1 -1
  445. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  446. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  447. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  448. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  449. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  450. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  451. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  452. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  453. package/dist/database/migration/20261025123711_blob.js +1 -1
  454. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  455. package/dist/database/migration/20261026223005_schedule.js +1 -1
  456. package/dist/database/migration/20261029002625_session_part.js +1 -1
  457. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  458. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  459. package/dist/database/migration/20261030054400_job.js +1 -1
  460. package/dist/database/migration.gen.js +60 -60
  461. package/dist/database/migration.js +62 -62
  462. package/dist/database/path.js +2 -2
  463. package/dist/database/schema.gen.js +1 -1
  464. package/dist/database/schema.sql.js +1 -1
  465. package/dist/database/v1-migration.bun.js +105 -105
  466. package/dist/database/v1-migration.js +1 -1
  467. package/dist/effect/app-node-builder.js +435 -435
  468. package/dist/effect/app-node-platform.js +2 -2
  469. package/dist/effect/keyed-mutex.js +1 -1
  470. package/dist/effect/websocket-constructor.js +1 -1
  471. package/dist/environment/driver.js +1 -1
  472. package/dist/environment/environment.js +105 -105
  473. package/dist/environment/exec-defaults.js +2 -2
  474. package/dist/environment/files.js +1 -1
  475. package/dist/environment/index.js +109 -109
  476. package/dist/environment/local.js +2 -2
  477. package/dist/environment/memory.js +2 -2
  478. package/dist/environment/unavailable.js +3 -3
  479. package/dist/event/sql.js +1 -1
  480. package/dist/event-logger.js +81 -81
  481. package/dist/file-access.js +157 -157
  482. package/dist/file-mutation.js +108 -108
  483. package/dist/file-retention.js +1 -1
  484. package/dist/file-write.js +161 -161
  485. package/dist/filesystem/fff.bun.js +2 -2
  486. package/dist/filesystem/fff.js +1 -1
  487. package/dist/filesystem/fff.node.js +2 -2
  488. package/dist/filesystem/fff.workerd.js +2 -2
  489. package/dist/filesystem/file-watch.js +88 -88
  490. package/dist/filesystem/location-watcher-policy.js +6 -6
  491. package/dist/filesystem/location-watcher.js +247 -247
  492. package/dist/filesystem/protected.js +1 -1
  493. package/dist/filesystem/search.js +113 -113
  494. package/dist/filesystem/watcher-binding.js +1 -1
  495. package/dist/filesystem/watcher.js +11 -11
  496. package/dist/filesystem.js +118 -118
  497. package/dist/form.js +93 -93
  498. package/dist/formatter/builtins.js +4 -4
  499. package/dist/formatter.js +100 -100
  500. package/dist/generate.js +120 -120
  501. package/dist/git.js +11 -11
  502. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  503. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  504. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  505. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  506. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  507. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  508. package/dist/github-copilot/copilot-provider.js +17 -17
  509. package/dist/github-copilot/models.js +112 -112
  510. package/dist/github-copilot/openai-compatible-error.js +1 -1
  511. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  512. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  513. package/dist/github-copilot/responses/openai-error.js +1 -1
  514. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  515. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  516. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  517. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  518. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  519. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  520. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  521. package/dist/image/notice.js +1 -1
  522. package/dist/image/photon-normalize.js +1 -1
  523. package/dist/image/photon-worker.js +1 -1
  524. package/dist/image/photon.js +4 -4
  525. package/dist/image.js +6 -6
  526. package/dist/instance/service.js +5 -5
  527. package/dist/instance.js +426 -426
  528. package/dist/instruction-discovery.js +95 -95
  529. package/dist/instructions/builtins.js +100 -100
  530. package/dist/instructions/index.js +3 -3
  531. package/dist/integration/connection.js +1 -1
  532. package/dist/integration.js +96 -96
  533. package/dist/job/sql.js +2 -2
  534. package/dist/job.js +86 -86
  535. package/dist/kv/sql.js +2 -2
  536. package/dist/kv.js +84 -84
  537. package/dist/location-activity.js +176 -176
  538. package/dist/location-lifecycle.js +150 -150
  539. package/dist/location-service-map.js +99 -99
  540. package/dist/location-services.js +423 -423
  541. package/dist/location.js +98 -98
  542. package/dist/managed-policy.js +3 -3
  543. package/dist/mcp/client.js +105 -105
  544. package/dist/mcp/connection.js +104 -104
  545. package/dist/mcp/index.js +124 -124
  546. package/dist/mcp/instructions.js +183 -183
  547. package/dist/mcp/oauth.js +89 -89
  548. package/dist/mcp/socket-client.js +1 -1
  549. package/dist/mcp/stdio.js +104 -104
  550. package/dist/mime.js +1 -1
  551. package/dist/modal/models.js +112 -112
  552. package/dist/model-resolver.js +112 -112
  553. package/dist/model-retry.js +1 -1
  554. package/dist/model.js +113 -113
  555. package/dist/models-dev/v1.js +1 -1
  556. package/dist/models-dev.js +117 -117
  557. package/dist/oauth/page.js +1 -1
  558. package/dist/permission/saved.js +91 -91
  559. package/dist/permission/sql.js +5 -5
  560. package/dist/permission.js +153 -153
  561. package/dist/persistent-pty/binary.bun.js +1 -1
  562. package/dist/persistent-pty/daemon.js +1 -1
  563. package/dist/persistent-pty/index.js +101 -101
  564. package/dist/persistent-pty/pty-binding.js +1 -1
  565. package/dist/persistent-pty.js +86 -86
  566. package/dist/plugin/agent.js +83 -83
  567. package/dist/plugin/command.js +115 -115
  568. package/dist/plugin/goal.js +3 -3
  569. package/dist/plugin/hooks.js +5 -5
  570. package/dist/plugin/host.js +238 -238
  571. package/dist/plugin/identity.js +5 -5
  572. package/dist/plugin/instance.js +5 -5
  573. package/dist/plugin/internal.js +402 -402
  574. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  575. package/dist/plugin/models-dev.js +110 -110
  576. package/dist/plugin/module.js +127 -127
  577. package/dist/plugin/optimize.js +2 -2
  578. package/dist/plugin/plan.js +146 -146
  579. package/dist/plugin/promise.js +1 -1
  580. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  581. package/dist/plugin/provider/azure.js +133 -133
  582. package/dist/plugin/provider/cerebras.js +1 -1
  583. package/dist/plugin/provider/chatgpt.js +133 -133
  584. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  585. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  586. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  587. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  588. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  589. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  590. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  591. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  592. package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
  593. package/dist/plugin/provider/claude-agent/index.js +146 -146
  594. package/dist/plugin/provider/claude-agent/instructions.js +112 -112
  595. package/dist/plugin/provider/claude-agent/integration.js +115 -115
  596. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  597. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  598. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  599. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  600. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  601. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  602. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  603. package/dist/plugin/provider/claude-agent/provider.js +108 -108
  604. package/dist/plugin/provider/claude-agent/session.js +112 -112
  605. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  606. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  607. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  608. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  609. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  610. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  611. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  612. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  613. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  614. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  615. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  616. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  617. package/dist/plugin/provider/configured.js +126 -126
  618. package/dist/plugin/provider/credential-settings.js +88 -88
  619. package/dist/plugin/provider/databricks.js +1 -1
  620. package/dist/plugin/provider/digitalocean.js +109 -109
  621. package/dist/plugin/provider/dynamic.js +2 -2
  622. package/dist/plugin/provider/github-copilot.js +111 -111
  623. package/dist/plugin/provider/gitlab.js +109 -109
  624. package/dist/plugin/provider/google-vertex.js +127 -127
  625. package/dist/plugin/provider/kilo.js +1 -1
  626. package/dist/plugin/provider/llmgateway.js +89 -89
  627. package/dist/plugin/provider/lmstudio.js +140 -140
  628. package/dist/plugin/provider/local.js +137 -137
  629. package/dist/plugin/provider/modal.js +108 -108
  630. package/dist/plugin/provider/neon.js +1 -1
  631. package/dist/plugin/provider/nvidia.js +1 -1
  632. package/dist/plugin/provider/ollama.js +138 -138
  633. package/dist/plugin/provider/openai-context-caps.js +106 -106
  634. package/dist/plugin/provider/openai.js +133 -133
  635. package/dist/plugin/provider/opencode.js +157 -157
  636. package/dist/plugin/provider/openrouter.js +104 -104
  637. package/dist/plugin/provider/poe.js +90 -90
  638. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  639. package/dist/plugin/provider/refresh.js +87 -87
  640. package/dist/plugin/provider/sap-ai-core.js +104 -104
  641. package/dist/plugin/provider/sdk-factory.js +1 -1
  642. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  643. package/dist/plugin/provider/vllm.js +138 -138
  644. package/dist/plugin/provider/xai.js +104 -104
  645. package/dist/plugin/provider/zenmux.js +1 -1
  646. package/dist/plugin/provider.js +235 -235
  647. package/dist/plugin/sdk.js +89 -89
  648. package/dist/plugin/service.js +3 -3
  649. package/dist/plugin/skill.js +147 -147
  650. package/dist/plugin/source-directory.js +1 -1
  651. package/dist/plugin/supervisor.js +412 -412
  652. package/dist/plugin/tool-input-repair.js +4 -4
  653. package/dist/plugin/update.js +6 -6
  654. package/dist/plugin/vcs/git.js +99 -99
  655. package/dist/plugin/vcs/hg.js +99 -99
  656. package/dist/plugin/verbosity.js +106 -106
  657. package/dist/plugin/warming.js +130 -130
  658. package/dist/plugin/websearch/exa.js +6 -6
  659. package/dist/plugin/websearch/firecrawl.js +7 -7
  660. package/dist/plugin/websearch/index.js +10 -10
  661. package/dist/plugin/websearch/mcp.js +2 -2
  662. package/dist/plugin/websearch/parallel.js +9 -9
  663. package/dist/plugin/websearch/provider.js +1 -1
  664. package/dist/plugin/websearch/tavily.js +5 -5
  665. package/dist/plugin/websearch/tinyfish.js +9 -9
  666. package/dist/plugin.js +249 -249
  667. package/dist/project/icon.js +5 -5
  668. package/dist/project/schema.js +6 -6
  669. package/dist/project/sql.js +4 -4
  670. package/dist/project.js +103 -103
  671. package/dist/provider.js +110 -110
  672. package/dist/pty/protocol.js +1 -1
  673. package/dist/pty/ticket.js +1 -1
  674. package/dist/pty.js +109 -109
  675. package/dist/reference/instructions.js +101 -101
  676. package/dist/reference.js +101 -101
  677. package/dist/repository-cache.js +93 -93
  678. package/dist/repository.js +3 -3
  679. package/dist/ripgrep/binary.js +2 -2
  680. package/dist/ripgrep.js +109 -109
  681. package/dist/rpc.js +99 -99
  682. package/dist/schedule/check.js +243 -243
  683. package/dist/schedule/sql.js +6 -6
  684. package/dist/schedule.js +245 -245
  685. package/dist/schema.js +1 -1
  686. package/dist/session/affinity.js +1 -1
  687. package/dist/session/background.js +1 -1
  688. package/dist/session/blob.js +129 -129
  689. package/dist/session/command.js +85 -85
  690. package/dist/session/compaction.js +173 -173
  691. package/dist/session/context.js +200 -200
  692. package/dist/session/diff.js +101 -101
  693. package/dist/session/environment.js +5 -5
  694. package/dist/session/error.js +5 -5
  695. package/dist/session/event.js +1 -1
  696. package/dist/session/execution/restart.js +241 -241
  697. package/dist/session/execution.js +161 -161
  698. package/dist/session/generate.js +200 -200
  699. package/dist/session/history.js +136 -136
  700. package/dist/session/inbox.js +147 -147
  701. package/dist/session/info.js +3 -3
  702. package/dist/session/instruction-entry.js +88 -88
  703. package/dist/session/instruction-state.js +8 -8
  704. package/dist/session/instructions.js +141 -141
  705. package/dist/session/message-updater.js +2 -2
  706. package/dist/session/message.js +1 -1
  707. package/dist/session/model-request.js +168 -168
  708. package/dist/session/model-transport.js +9 -9
  709. package/dist/session/move.js +165 -165
  710. package/dist/session/projector.js +143 -143
  711. package/dist/session/prompt.js +148 -148
  712. package/dist/session/recent-text.js +1 -1
  713. package/dist/session/revert.js +139 -139
  714. package/dist/session/run-coordinator.js +3 -3
  715. package/dist/session/runner/index.js +3 -3
  716. package/dist/session/runner/llm.js +250 -250
  717. package/dist/session/runner/max-steps.js +1 -1
  718. package/dist/session/runner/model.js +113 -113
  719. package/dist/session/runner/publish-llm-event.js +149 -149
  720. package/dist/session/runner/retry.js +5 -5
  721. package/dist/session/runner/step.js +161 -161
  722. package/dist/session/runner/to-llm-message.js +137 -137
  723. package/dist/session/schema.js +5 -5
  724. package/dist/session/session.js +180 -180
  725. package/dist/session/shell.js +145 -145
  726. package/dist/session/skill.js +147 -147
  727. package/dist/session/sql.js +5 -5
  728. package/dist/session/stats.js +84 -84
  729. package/dist/session/store.js +142 -142
  730. package/dist/session/stored.js +2 -2
  731. package/dist/session/subagent-completion.js +1 -1
  732. package/dist/session/subagent-job.js +231 -231
  733. package/dist/session/system-prompt.js +1 -1
  734. package/dist/session/title.js +198 -198
  735. package/dist/session/to-session-error.js +148 -148
  736. package/dist/session/transfer.js +238 -238
  737. package/dist/session/usage.js +1 -1
  738. package/dist/session.js +235 -235
  739. package/dist/shared-cache.js +5 -5
  740. package/dist/shell/parse.js +6 -6
  741. package/dist/shell/result.js +1 -1
  742. package/dist/shell/scan.js +1 -1
  743. package/dist/shell/select.js +13 -13
  744. package/dist/shell.js +145 -145
  745. package/dist/skill/discovery.js +6 -6
  746. package/dist/skill/instructions.js +151 -151
  747. package/dist/skill.js +158 -158
  748. package/dist/snapshot.js +100 -100
  749. package/dist/state.js +1 -1
  750. package/dist/tool/html-markdown.js +1 -1
  751. package/dist/tool/http-body.js +1 -1
  752. package/dist/tool/mcp.js +182 -182
  753. package/dist/tool/plugin/artifact.js +230 -230
  754. package/dist/tool/plugin/edit.js +167 -167
  755. package/dist/tool/plugin/file-diff.js +1 -1
  756. package/dist/tool/plugin/glob.js +171 -171
  757. package/dist/tool/plugin/grep.js +166 -166
  758. package/dist/tool/plugin/image-generate.js +241 -241
  759. package/dist/tool/plugin/mcp-resource.js +164 -164
  760. package/dist/tool/plugin/opencode.js +163 -163
  761. package/dist/tool/plugin/patch.js +168 -168
  762. package/dist/tool/plugin/question.js +148 -148
  763. package/dist/tool/plugin/read.js +172 -172
  764. package/dist/tool/plugin/schedule.js +249 -249
  765. package/dist/tool/plugin/shell.js +233 -233
  766. package/dist/tool/plugin/skill.js +157 -157
  767. package/dist/tool/plugin/subagent.js +238 -238
  768. package/dist/tool/plugin/todo.js +153 -153
  769. package/dist/tool/plugin/webfetch.js +155 -155
  770. package/dist/tool/plugin/websearch.js +155 -155
  771. package/dist/tool/plugin/write.js +168 -168
  772. package/dist/tool/read-filesystem.js +114 -114
  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 +159 -159
  777. package/dist/usage-limits.js +96 -96
  778. package/dist/util/error-summary.js +1 -1
  779. package/dist/util/git-executable.js +3 -3
  780. package/dist/util/lazy.js +1 -1
  781. package/dist/util/slug.js +1 -1
  782. package/dist/util/token.js +1 -1
  783. package/dist/util/which.js +1 -1
  784. package/dist/util/wildcard.js +1 -1
  785. package/dist/v1/config/agent.js +7 -7
  786. package/dist/v1/config/command.js +3 -3
  787. package/dist/v1/config/mcp.js +4 -4
  788. package/dist/v1/config/migrate.js +105 -105
  789. package/dist/v1/config/permission.js +3 -3
  790. package/dist/v1/config/plugin.js +3 -3
  791. package/dist/v1/config/provider-options.js +1 -1
  792. package/dist/v1/config/provider.js +4 -4
  793. package/dist/variant.js +104 -104
  794. package/dist/vcs/patch.js +1 -1
  795. package/dist/vcs.js +102 -102
  796. package/dist/voice.js +97 -97
  797. package/dist/websearch.js +101 -101
  798. package/dist/wellknown/plugin.js +85 -85
  799. package/dist/wellknown.js +92 -92
  800. package/dist/workspace/driver.js +5 -5
  801. package/dist/workspace/sql.js +1 -1
  802. package/dist/workspace.js +91 -91
  803. package/dist/worktree/directory.js +2 -2
  804. package/dist/worktree/git.js +9 -9
  805. package/dist/worktree/sql.js +5 -5
  806. package/dist/worktree/strategies.js +102 -102
  807. package/dist/worktree.js +111 -111
  808. package/package.json +8 -8
  809. package/dist/chunks/bus-776tn0xc.js +0 -563
  810. package/dist/chunks/bus-bhhj5802.js +0 -26
  811. package/dist/chunks/bus-hnjwtrny.js +0 -265
  812. package/dist/chunks/bus-v8vhf2as.js +0 -18
  813. /package/dist/chunks/{bus-0qkdqm5v.js → model-retry-0qkdqm5v.js} +0 -0
  814. /package/dist/chunks/{bus-0zkw76rk.js → model-retry-0zkw76rk.js} +0 -0
  815. /package/dist/chunks/{bus-108x4f4w.js → model-retry-108x4f4w.js} +0 -0
  816. /package/dist/chunks/{bus-17cy0kzp.js → model-retry-17cy0kzp.js} +0 -0
  817. /package/dist/chunks/{bus-1cnp2v09.js → model-retry-1cnp2v09.js} +0 -0
  818. /package/dist/chunks/{bus-1kah00gy.js → model-retry-1kah00gy.js} +0 -0
  819. /package/dist/chunks/{bus-24dcb14g.js → model-retry-24dcb14g.js} +0 -0
  820. /package/dist/chunks/{bus-2710q6r3.js → model-retry-2710q6r3.js} +0 -0
  821. /package/dist/chunks/{bus-2bv980vf.js → model-retry-2bv980vf.js} +0 -0
  822. /package/dist/chunks/{bus-2c3vjs8z.js → model-retry-2c3vjs8z.js} +0 -0
  823. /package/dist/chunks/{bus-359p4xyc.js → model-retry-359p4xyc.js} +0 -0
  824. /package/dist/chunks/{bus-3af0jn4w.js → model-retry-3af0jn4w.js} +0 -0
  825. /package/dist/chunks/{bus-3asan66x.js → model-retry-3asan66x.js} +0 -0
  826. /package/dist/chunks/{bus-3v8g72cx.js → model-retry-3v8g72cx.js} +0 -0
  827. /package/dist/chunks/{bus-3wcehsnq.js → model-retry-3wcehsnq.js} +0 -0
  828. /package/dist/chunks/{bus-43n2bw4t.js → model-retry-43n2bw4t.js} +0 -0
  829. /package/dist/chunks/{bus-4knz6hnm.js → model-retry-4knz6hnm.js} +0 -0
  830. /package/dist/chunks/{bus-4qk9sjk2.js → model-retry-4qk9sjk2.js} +0 -0
  831. /package/dist/chunks/{bus-4y7fprxs.js → model-retry-4y7fprxs.js} +0 -0
  832. /package/dist/chunks/{bus-53557ph1.js → model-retry-53557ph1.js} +0 -0
  833. /package/dist/chunks/{bus-550bvhaj.js → model-retry-550bvhaj.js} +0 -0
  834. /package/dist/chunks/{bus-5w3e23ze.js → model-retry-5w3e23ze.js} +0 -0
  835. /package/dist/chunks/{bus-6agm2x70.js → model-retry-6agm2x70.js} +0 -0
  836. /package/dist/chunks/{bus-6prwharc.js → model-retry-6prwharc.js} +0 -0
  837. /package/dist/chunks/{bus-6q2bdcd1.js → model-retry-6q2bdcd1.js} +0 -0
  838. /package/dist/chunks/{bus-7akdwqpd.js → model-retry-7akdwqpd.js} +0 -0
  839. /package/dist/chunks/{bus-7m9af43g.js → model-retry-7m9af43g.js} +0 -0
  840. /package/dist/chunks/{bus-822emrt2.js → model-retry-822emrt2.js} +0 -0
  841. /package/dist/chunks/{bus-84wd9syh.js → model-retry-84wd9syh.js} +0 -0
  842. /package/dist/chunks/{bus-88xbtdfr.js → model-retry-88xbtdfr.js} +0 -0
  843. /package/dist/chunks/{bus-8n3pysct.js → model-retry-8n3pysct.js} +0 -0
  844. /package/dist/chunks/{bus-8wj87zfr.js → model-retry-8wj87zfr.js} +0 -0
  845. /package/dist/chunks/{bus-9a4afbnw.js → model-retry-9a4afbnw.js} +0 -0
  846. /package/dist/chunks/{bus-9rqn6x4v.js → model-retry-9rqn6x4v.js} +0 -0
  847. /package/dist/chunks/{bus-a6k6eb26.js → model-retry-a6k6eb26.js} +0 -0
  848. /package/dist/chunks/{bus-af5trqkr.js → model-retry-af5trqkr.js} +0 -0
  849. /package/dist/chunks/{bus-afrmfg78.js → model-retry-afrmfg78.js} +0 -0
  850. /package/dist/chunks/{bus-aqzs7mqg.js → model-retry-aqzs7mqg.js} +0 -0
  851. /package/dist/chunks/{bus-atq7p7m5.js → model-retry-atq7p7m5.js} +0 -0
  852. /package/dist/chunks/{bus-beh6qq61.js → model-retry-beh6qq61.js} +0 -0
  853. /package/dist/chunks/{bus-bhmrqjy3.js → model-retry-bhmrqjy3.js} +0 -0
  854. /package/dist/chunks/{bus-bkyjaxrp.js → model-retry-bkyjaxrp.js} +0 -0
  855. /package/dist/chunks/{bus-bmr6ed5q.js → model-retry-bmr6ed5q.js} +0 -0
  856. /package/dist/chunks/{bus-cf4snx6d.js → model-retry-cf4snx6d.js} +0 -0
  857. /package/dist/chunks/{bus-cqv5kn06.js → model-retry-cqv5kn06.js} +0 -0
  858. /package/dist/chunks/{bus-cvy3z8tj.js → model-retry-cvy3z8tj.js} +0 -0
  859. /package/dist/chunks/{bus-d9fn303g.js → model-retry-d9fn303g.js} +0 -0
  860. /package/dist/chunks/{bus-d9jj8t3e.js → model-retry-d9jj8t3e.js} +0 -0
  861. /package/dist/chunks/{bus-dap0rakb.js → model-retry-dap0rakb.js} +0 -0
  862. /package/dist/chunks/{bus-df08tz66.js → model-retry-df08tz66.js} +0 -0
  863. /package/dist/chunks/{bus-dy18nga0.js → model-retry-dy18nga0.js} +0 -0
  864. /package/dist/chunks/{bus-e5kj55wp.js → model-retry-e5kj55wp.js} +0 -0
  865. /package/dist/chunks/{bus-ean2d8b5.js → model-retry-ean2d8b5.js} +0 -0
  866. /package/dist/chunks/{bus-ec1grn59.js → model-retry-ec1grn59.js} +0 -0
  867. /package/dist/chunks/{bus-emrn6kk6.js → model-retry-emrn6kk6.js} +0 -0
  868. /package/dist/chunks/{bus-f0mxakyp.js → model-retry-f0mxakyp.js} +0 -0
  869. /package/dist/chunks/{bus-f6n9ztr4.js → model-retry-f6n9ztr4.js} +0 -0
  870. /package/dist/chunks/{bus-faypxj3z.js → model-retry-faypxj3z.js} +0 -0
  871. /package/dist/chunks/{bus-fd410y7t.js → model-retry-fd410y7t.js} +0 -0
  872. /package/dist/chunks/{bus-fkpq3x5p.js → model-retry-fkpq3x5p.js} +0 -0
  873. /package/dist/chunks/{bus-g4wezp1m.js → model-retry-g4wezp1m.js} +0 -0
  874. /package/dist/chunks/{bus-g86h250q.js → model-retry-g86h250q.js} +0 -0
  875. /package/dist/chunks/{bus-gebd4c9n.js → model-retry-gebd4c9n.js} +0 -0
  876. /package/dist/chunks/{bus-gftt206x.js → model-retry-gftt206x.js} +0 -0
  877. /package/dist/chunks/{bus-hcxmzztb.js → model-retry-hcxmzztb.js} +0 -0
  878. /package/dist/chunks/{bus-hk9envan.js → model-retry-hk9envan.js} +0 -0
  879. /package/dist/chunks/{bus-j2ntwpah.js → model-retry-j2ntwpah.js} +0 -0
  880. /package/dist/chunks/{bus-j5zkgpj8.js → model-retry-j5zkgpj8.js} +0 -0
  881. /package/dist/chunks/{bus-jjkms2e6.js → model-retry-jjkms2e6.js} +0 -0
  882. /package/dist/chunks/{bus-jr7sbwjy.js → model-retry-jr7sbwjy.js} +0 -0
  883. /package/dist/chunks/{bus-jwfs4k6c.js → model-retry-jwfs4k6c.js} +0 -0
  884. /package/dist/chunks/{bus-jwr30sdr.js → model-retry-jwr30sdr.js} +0 -0
  885. /package/dist/chunks/{bus-jzg6c2d5.js → model-retry-jzg6c2d5.js} +0 -0
  886. /package/dist/chunks/{bus-m18g726c.js → model-retry-m18g726c.js} +0 -0
  887. /package/dist/chunks/{bus-mp448xyj.js → model-retry-mp448xyj.js} +0 -0
  888. /package/dist/chunks/{bus-msx8hqn2.js → model-retry-msx8hqn2.js} +0 -0
  889. /package/dist/chunks/{bus-n05xt0ee.js → model-retry-n05xt0ee.js} +0 -0
  890. /package/dist/chunks/{bus-n3j8tn72.js → model-retry-n3j8tn72.js} +0 -0
  891. /package/dist/chunks/{bus-nh4v3znn.js → model-retry-nh4v3znn.js} +0 -0
  892. /package/dist/chunks/{bus-njntx4h6.js → model-retry-njntx4h6.js} +0 -0
  893. /package/dist/chunks/{bus-p71gwv9c.js → model-retry-p71gwv9c.js} +0 -0
  894. /package/dist/chunks/{bus-q3sfg36h.js → model-retry-q3sfg36h.js} +0 -0
  895. /package/dist/chunks/{bus-q74kybfr.js → model-retry-q74kybfr.js} +0 -0
  896. /package/dist/chunks/{bus-qaymkmh1.js → model-retry-qaymkmh1.js} +0 -0
  897. /package/dist/chunks/{bus-qb87gjwd.js → model-retry-qb87gjwd.js} +0 -0
  898. /package/dist/chunks/{bus-qfa1cgps.js → model-retry-qfa1cgps.js} +0 -0
  899. /package/dist/chunks/{bus-qg3g05ea.js → model-retry-qg3g05ea.js} +0 -0
  900. /package/dist/chunks/{bus-qrg20bc0.js → model-retry-qrg20bc0.js} +0 -0
  901. /package/dist/chunks/{bus-rcb2kzg1.js → model-retry-rcb2kzg1.js} +0 -0
  902. /package/dist/chunks/{bus-sdp7kfr6.js → model-retry-sdp7kfr6.js} +0 -0
  903. /package/dist/chunks/{bus-ssg3fenm.js → model-retry-ssg3fenm.js} +0 -0
  904. /package/dist/chunks/{bus-syrav9an.js → model-retry-syrav9an.js} +0 -0
  905. /package/dist/chunks/{bus-t03h4f5z.js → model-retry-t03h4f5z.js} +0 -0
  906. /package/dist/chunks/{bus-ty7weeps.js → model-retry-ty7weeps.js} +0 -0
  907. /package/dist/chunks/{bus-ve7vex1e.js → model-retry-ve7vex1e.js} +0 -0
  908. /package/dist/chunks/{bus-vtarvj67.js → model-retry-vtarvj67.js} +0 -0
  909. /package/dist/chunks/{bus-w803qqfp.js → model-retry-w803qqfp.js} +0 -0
  910. /package/dist/chunks/{bus-wc3fc9cn.js → model-retry-wc3fc9cn.js} +0 -0
  911. /package/dist/chunks/{bus-wer8tq1h.js → model-retry-wer8tq1h.js} +0 -0
  912. /package/dist/chunks/{bus-wtztk69x.js → model-retry-wtztk69x.js} +0 -0
  913. /package/dist/chunks/{bus-x0ckcb58.js → model-retry-x0ckcb58.js} +0 -0
  914. /package/dist/chunks/{bus-x61499pn.js → model-retry-x61499pn.js} +0 -0
  915. /package/dist/chunks/{bus-y44na4kk.js → model-retry-y44na4kk.js} +0 -0
  916. /package/dist/chunks/{bus-y8f7s663.js → model-retry-y8f7s663.js} +0 -0
  917. /package/dist/chunks/{bus-ygaqb7jw.js → model-retry-ygaqb7jw.js} +0 -0
  918. /package/dist/chunks/{bus-z0h12gs8.js → model-retry-z0h12gs8.js} +0 -0
  919. /package/dist/chunks/{bus-z5v4ffb3.js → model-retry-z5v4ffb3.js} +0 -0
  920. /package/dist/chunks/{bus-z9919s4g.js → model-retry-z9919s4g.js} +0 -0
  921. /package/dist/chunks/{bus-zxpyjp51.js → model-retry-zxpyjp51.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service90,
3
3
  node93
4
- } from "./bus-9f9vgk7y.js";
4
+ } from "./model-retry-s5pb553a.js";
5
5
  import {
6
6
  __export
7
- } from "./bus-9rqn6x4v.js";
7
+ } from "./model-retry-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,30 +12,30 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event19,
15
+ Event: () => Event20,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID19,
19
+ ID: () => ID20,
20
20
  Info: () => Info29,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError12,
23
+ NotFoundError: () => NotFoundError13,
24
24
  Reply: () => Reply3,
25
- Service: () => Service81,
25
+ Service: () => Service86,
26
26
  State: () => State3,
27
27
  When: () => When3,
28
- layer: () => layer26,
29
- node: () => node84,
28
+ layer: () => layer27,
29
+ node: () => node89,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event19 } from "@opencode/schema/form";
36
+ import { Event as Event20 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID19 = Form.ID;
38
+ var ID20 = Form.ID;
39
39
  var Info29 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
@@ -44,8 +44,8 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID19
47
+ class NotFoundError13 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID20
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID19
56
+ id: ID20
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID19
64
+ id: ID20
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID19,
72
+ id: ID20,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service81 extends Context.Service()("@opencode/Form") {
82
+ class Service86 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer26 = Layer.effect(Service81, Effect.gen(function* () {
84
+ var layer27 = Layer.effect(Service86, Effect.gen(function* () {
85
85
  const bus = yield* Service90;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError12({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError13({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID19.create();
93
+ const id = input.id ?? ID20.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer26 = Layer.effect(Service81, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service81.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service86.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node84 = makeLocationNode({ service: Service81, layer: layer26, deps: [node93] });
167
+ var node89 = makeLocationNode({ service: Service86, layer: layer27, deps: [node93] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID19, Info29, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError12, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service81, layer26, node84, validateAnswer2, validateFields2, exports_form, Event19 };
319
+ export { ID20, Info29, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError13, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service86, layer27, node89, validateAnswer2, validateFields2, exports_form, Event20 };
@@ -2,39 +2,39 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./bus-z5v4ffb3.js";
5
+ } from "./model-retry-z5v4ffb3.js";
6
6
  import {
7
- Service83,
8
- node86
9
- } from "./bus-nz0vwcmr.js";
7
+ Service87,
8
+ node90
9
+ } from "./model-retry-714sva13.js";
10
10
  import {
11
- Service45,
12
- node48
13
- } from "./bus-2magbsmb.js";
11
+ Service54,
12
+ node55
13
+ } from "./model-retry-jeg20vnb.js";
14
14
  import {
15
15
  __export
16
- } from "./bus-9rqn6x4v.js";
16
+ } from "./model-retry-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content3,
21
+ Content: () => Content4,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event7,
27
+ Event: () => Event8,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  Match: () => Match2,
33
- NotFoundError: () => NotFoundError6,
34
- Service: () => Service44,
33
+ NotFoundError: () => NotFoundError8,
34
+ Service: () => Service53,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
- node: () => node47
37
+ node: () => node54
38
38
  });
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import path from "path";
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
43
43
  import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
44
44
  import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
45
45
 
46
- class NotFoundError6 extends Schema.TaggedError()("FileSystem.NotFoundError", {
46
+ class NotFoundError8 extends Schema.TaggedError()("FileSystem.NotFoundError", {
47
47
  path: RelativePath2
48
48
  }) {
49
49
  }
@@ -65,7 +65,7 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
65
65
  return `Access denied to directory: ${this.directory}`;
66
66
  }
67
67
  }
68
- var Content3 = Schema.Struct({
68
+ var Content4 = Schema.Struct({
69
69
  uri: Schema.String,
70
70
  name: Schema.String.pipe(Schema.optional),
71
71
  content: Schema.String,
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
92
92
  limit: Schema.optionalKey(PositiveInt2)
93
93
  }) {
94
94
  }
95
- var Event7 = FileSystem.Event;
95
+ var Event8 = FileSystem.Event;
96
96
 
97
- class Service44 extends Context.Service()("@opencode/FileSystem") {
97
+ class Service53 extends Context.Service()("@opencode/FileSystem") {
98
98
  }
99
- var baseLayer = Layer.effect(Service44, Effect.gen(function* () {
99
+ var baseLayer = Layer.effect(Service53, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
- const location = yield* Service83;
102
- const search = yield* Service45;
101
+ const location = yield* Service87;
102
+ const search = yield* Service54;
103
103
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
104
104
  if (cause.reason._tag === "NotFound")
105
105
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service44, Effect.gen(function* () {
109
109
  }));
110
110
  const resolve = Effect.fnUntraced(function* (input) {
111
111
  if (input.includes("\x00"))
112
- return yield* Effect.fail(new NotFoundError6({ path: input }));
112
+ return yield* Effect.fail(new NotFoundError8({ path: input }));
113
113
  const absolute = path.resolve(location.directory, input);
114
114
  if (!FSUtil.contains(location.directory, absolute))
115
- return yield* Effect.fail(new NotFoundError6({ path: input }));
116
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input })), (_, error) => Effect.die(error)));
115
+ return yield* Effect.fail(new NotFoundError8({ path: input }));
116
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError8({ path: input })), (_, error) => Effect.die(error)));
117
117
  if (!FSUtil.contains(root, real))
118
- return yield* Effect.fail(new NotFoundError6({ path: input }));
118
+ return yield* Effect.fail(new NotFoundError8({ path: input }));
119
119
  return { absolute, real, directory: location.directory };
120
120
  });
121
- return Service44.of({
121
+ return Service53.of({
122
122
  find: search.find,
123
123
  read: Effect.fn("FileSystem.read")(function* (input) {
124
124
  const target = yield* resolve(input.path);
125
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
125
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError8({ path: input.path })), (_, error) => Effect.die(error)));
126
126
  if (info.type !== "File")
127
- return yield* Effect.fail(new NotFoundError6({ path: input.path }));
127
+ return yield* Effect.fail(new NotFoundError8({ path: input.path }));
128
128
  return {
129
129
  mime: FSUtil.mimeType(target.real),
130
130
  size: Number(info.size),
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service44, Effect.gen(function* () {
134
134
  }),
135
135
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
136
136
  const directory = path.resolve(location.directory, input.path ?? ".");
137
- const missing = new NotFoundError6({ path: RelativePath2.make(input.path ?? ".") });
137
+ const missing = new NotFoundError8({ path: RelativePath2.make(input.path ?? ".") });
138
138
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "Directory")
140
140
  return yield* missing;
@@ -159,10 +159,10 @@ var baseLayer = Layer.effect(Service44, Effect.gen(function* () {
159
159
  })
160
160
  });
161
161
  }));
162
- var node47 = makeLocationNode({
163
- service: Service44,
162
+ var node54 = makeLocationNode({
163
+ service: Service53,
164
164
  layer: baseLayer,
165
- deps: [FSUtil.node, node86, node48]
165
+ deps: [FSUtil.node, node90, node55]
166
166
  });
167
167
 
168
- export { FindInput2, Write2, NotFoundError6, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service44, node47, exports_filesystem, Entry2, Match2, Submatch2 };
168
+ export { FindInput2, Write2, NotFoundError8, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content4, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event8, Service53, node54, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  Service91,
3
3
  node94
4
- } from "./bus-88c6r276.js";
4
+ } from "./model-retry-x2ndfy6h.js";
5
5
  import {
6
6
  reserveSequence2,
7
7
  Service90,
8
8
  node93
9
- } from "./bus-9f9vgk7y.js";
9
+ } from "./model-retry-s5pb553a.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./bus-ec1grn59.js";
12
+ } from "./model-retry-ec1grn59.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./bus-gftt206x.js";
15
+ } from "./model-retry-gftt206x.js";
16
16
  import {
17
17
  update2
18
- } from "./bus-b6vsg801.js";
18
+ } from "./model-retry-b6vsg801.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
22
- } from "./bus-z5v4ffb3.js";
22
+ } from "./model-retry-z5v4ffb3.js";
23
23
  import {
24
24
  ProjectTable2
25
- } from "./bus-034tev2y.js";
25
+ } from "./model-retry-034tev2y.js";
26
26
  import {
27
27
  SessionTable2,
28
28
  SessionMessageTable2,
29
29
  SessionPartTable2,
30
30
  SessionInboxTable2
31
- } from "./bus-mb7mbhnz.js";
31
+ } from "./model-retry-mb7mbhnz.js";
32
32
  import {
33
33
  User3
34
- } from "./bus-fg9p65nk.js";
34
+ } from "./model-retry-fg9p65nk.js";
35
35
  import {
36
36
  ForkMedia2,
37
37
  externalize2,
@@ -40,39 +40,39 @@ import {
40
40
  syncRefs2,
41
41
  releaseFrom2,
42
42
  releaseSession2
43
- } from "./bus-43a86ed8.js";
43
+ } from "./model-retry-dznv9wr0.js";
44
44
  import {
45
45
  apply2,
46
46
  initialize3,
47
47
  advanceEpoch2,
48
48
  rewind2
49
- } from "./bus-9rgr5dz2.js";
49
+ } from "./model-retry-jnhgr88h.js";
50
50
  import {
51
51
  withParts2,
52
52
  decodeMessageRowSync2
53
- } from "./bus-73ncaqjh.js";
53
+ } from "./model-retry-cmgjhmvc.js";
54
54
  import {
55
55
  projectAdmitted2,
56
56
  projectDelivered2,
57
57
  projectCancelled2,
58
58
  projectDeliveryChanged2
59
- } from "./bus-spt8e44j.js";
59
+ } from "./model-retry-y0cxba2k.js";
60
60
  import {
61
61
  initialize2
62
- } from "./bus-36rv6gqa.js";
62
+ } from "./model-retry-grkedb35.js";
63
63
  import {
64
64
  Slug2
65
- } from "./bus-gebd4c9n.js";
65
+ } from "./model-retry-gebd4c9n.js";
66
66
  import {
67
67
  __export
68
- } from "./bus-9rqn6x4v.js";
68
+ } from "./model-retry-9rqn6x4v.js";
69
69
 
70
70
  // src/session/projector.ts
71
71
  var exports_projector = {};
72
72
  __export(exports_projector, {
73
73
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
74
74
  SessionProjector: () => exports_projector,
75
- node: () => node35
75
+ node: () => node33
76
76
  });
77
77
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
78
78
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -547,6 +547,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
547
547
  return publishSessionUsage(db, bus, event.data.sessionID);
548
548
  }), Effect.forkScoped({ startImmediately: true }));
549
549
  }));
550
- var node35 = makeGlobalNode({ name: "session-projector", layer, deps: [node93, node94] });
550
+ var node33 = makeGlobalNode({ name: "session-projector", layer, deps: [node93, node94] });
551
551
 
552
- export { SessionAlreadyProjected2, node35, exports_projector };
552
+ export { SessionAlreadyProjected2, node33, exports_projector };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./model-retry-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured6,
11
- layer: () => layer23,
10
+ configured: () => configured8,
11
+ layer: () => layer24,
12
12
  make: () => make30,
13
13
  node: () => node68,
14
14
  useragent: () => useragent2
@@ -28,8 +28,8 @@ function make30(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer23 = (input) => Layer.succeed(Metadata2, make30(input));
32
- var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer23(input), deps: [] });
33
- var node68 = configured6();
31
+ var layer24 = (input) => Layer.succeed(Metadata2, make30(input));
32
+ var configured8 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
33
+ var node68 = configured8();
34
34
 
35
- export { Metadata2, make30, useragent2, layer23, configured6, node68, exports_app };
35
+ export { Metadata2, make30, useragent2, layer24, configured8, node68, exports_app };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./model-retry-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/websearch/provider.ts
6
6
  var exports_provider = {};
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service91,
3
3
  node94
4
- } from "./bus-88c6r276.js";
4
+ } from "./model-retry-x2ndfy6h.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./bus-8cg7mtm3.js";
7
+ } from "./model-retry-8cg7mtm3.js";
8
8
  import {
9
9
  Service90,
10
10
  node93
11
- } from "./bus-9f9vgk7y.js";
11
+ } from "./model-retry-s5pb553a.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./bus-ec1grn59.js";
14
+ } from "./model-retry-ec1grn59.js";
15
15
  import {
16
16
  SessionMessageTable2,
17
17
  SessionInboxTable2
18
- } from "./bus-mb7mbhnz.js";
18
+ } from "./model-retry-mb7mbhnz.js";
19
19
  import {
20
20
  SessionMessage2
21
- } from "./bus-gftt206x.js";
21
+ } from "./model-retry-gftt206x.js";
22
22
  import {
23
23
  UserPayload3
24
- } from "./bus-fg9p65nk.js";
24
+ } from "./model-retry-fg9p65nk.js";
25
25
  import {
26
26
  hydrateInbox2,
27
27
  keepInboxRefs2,
@@ -29,13 +29,13 @@ import {
29
29
  externalizePayload2,
30
30
  recordRefs2,
31
31
  releaseMessage2
32
- } from "./bus-43a86ed8.js";
32
+ } from "./model-retry-dznv9wr0.js";
33
33
  import {
34
34
  decodeMessageRows2
35
- } from "./bus-73ncaqjh.js";
35
+ } from "./model-retry-cmgjhmvc.js";
36
36
  import {
37
37
  __export
38
- } from "./bus-9rqn6x4v.js";
38
+ } from "./model-retry-9rqn6x4v.js";
39
39
 
40
40
  // src/session/inbox.ts
41
41
  var exports_inbox = {};
@@ -43,7 +43,7 @@ __export(exports_inbox, {
43
43
  Compaction: () => Compaction2,
44
44
  CompactionPayload: () => CompactionPayload2,
45
45
  Delivery: () => Delivery2,
46
- Info: () => Info13,
46
+ Info: () => Info11,
47
47
  Item: () => Item2,
48
48
  LifecycleConflict: () => LifecycleConflict2,
49
49
  MediaInfo: () => MediaInfo2,
@@ -51,7 +51,7 @@ __export(exports_inbox, {
51
51
  MediaUserPayload: () => MediaUserPayload2,
52
52
  Move: () => Move2,
53
53
  MovePayload: () => MovePayload2,
54
- Service: () => Service55,
54
+ Service: () => Service50,
55
55
  SessionInbox: () => exports_inbox,
56
56
  Synthetic: () => Synthetic2,
57
57
  SyntheticPayload: () => SyntheticPayload2,
@@ -59,13 +59,13 @@ __export(exports_inbox, {
59
59
  UserPayload: () => UserPayload2,
60
60
  find: () => find2,
61
61
  has: () => has2,
62
- layer: () => layer19,
62
+ layer: () => layer20,
63
63
  list: () => list3,
64
64
  listWithRefs: () => listWithRefs2,
65
- make: () => make28,
65
+ make: () => make27,
66
66
  moveIDs: () => moveIDs2,
67
67
  nextPromotable: () => nextPromotable2,
68
- node: () => node56,
68
+ node: () => node51,
69
69
  projectAdmitted: () => projectAdmitted2,
70
70
  projectCancelled: () => projectCancelled2,
71
71
  projectDelivered: () => projectDelivered2,
@@ -80,7 +80,7 @@ import {
80
80
  Compaction as Compaction2,
81
81
  CompactionPayload as CompactionPayload2,
82
82
  Delivery as Delivery2,
83
- Info as Info13,
83
+ Info as Info11,
84
84
  Item as Item2,
85
85
  MediaInfo as MediaInfo2,
86
86
  MediaUser as MediaUser2,
@@ -184,9 +184,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
184
184
  });
185
185
  });
186
186
 
187
- class Service55 extends Context.Service()("@opencode/SessionInbox") {
187
+ class Service50 extends Context.Service()("@opencode/SessionInbox") {
188
188
  }
189
- var make28 = Effect.fn("SessionInbox.make")(function* () {
189
+ var make27 = Effect.fn("SessionInbox.make")(function* () {
190
190
  const database = yield* Service91;
191
191
  const db = database.db;
192
192
  const bus = yield* Service90;
@@ -206,7 +206,7 @@ var make28 = Effect.fn("SessionInbox.make")(function* () {
206
206
  inboxID: request.id,
207
207
  sessionID: request.sessionID,
208
208
  item: request.item
209
- }).pipe(Effect.map((event) => Info13.make({
209
+ }).pipe(Effect.map((event) => Info11.make({
210
210
  id: request.id,
211
211
  sessionID: request.sessionID,
212
212
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -260,8 +260,8 @@ var make28 = Effect.fn("SessionInbox.make")(function* () {
260
260
  queue
261
261
  };
262
262
  });
263
- var layer19 = Layer.effect(Service55, make28());
264
- var node56 = makeGlobalNode({ service: Service55, layer: layer19, deps: [node94, node93] });
263
+ var layer20 = Layer.effect(Service50, make27());
264
+ var node51 = makeGlobalNode({ service: Service50, layer: layer20, deps: [node94, node93] });
265
265
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
266
266
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
267
267
  if (message !== undefined)
@@ -388,4 +388,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
388
388
  return rows;
389
389
  }));
390
390
 
391
- export { Compaction2, CompactionPayload2, Delivery2, Info13, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service55, make28, layer19, node56, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, listWithRefs2, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
391
+ export { Compaction2, CompactionPayload2, Delivery2, Info11, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service50, make27, layer20, node51, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, listWithRefs2, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,34 +1,34 @@
1
1
  import {
2
- ID12
3
- } from "./bus-5j137cd1.js";
2
+ ID15
3
+ } from "./model-retry-56xvxeba.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./bus-z5v4ffb3.js";
6
+ } from "./model-retry-z5v4ffb3.js";
7
7
  import {
8
- Info16
9
- } from "./bus-tf9r37f3.js";
8
+ Info19
9
+ } from "./model-retry-0vhe3zz8.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./bus-w8tcjrgy.js";
12
+ } from "./model-retry-2ywepbfj.js";
13
13
  import {
14
14
  latest2,
15
- Service71
16
- } from "./bus-p24z06k5.js";
15
+ Service78
16
+ } from "./model-retry-mcvp24xr.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./bus-e834z07m.js";
19
+ } from "./model-retry-e834z07m.js";
20
20
  import {
21
21
  observeSources2
22
- } from "./bus-tvtps2q9.js";
22
+ } from "./model-retry-tvtps2q9.js";
23
23
  import {
24
24
  __export
25
- } from "./bus-9rqn6x4v.js";
25
+ } from "./model-retry-9rqn6x4v.js";
26
26
 
27
27
  // src/config/plugin/agent.ts
28
28
  var exports_agent = {};
29
29
  __export(exports_agent, {
30
30
  ConfigAgentPlugin: () => exports_agent,
31
- Plugin: () => Plugin16
31
+ Plugin: () => Plugin36
32
32
  });
33
33
  import { define } from "@opencode/plugin/effect/plugin";
34
34
  import { Document, Info } from "@opencode/schema/config";
@@ -43,14 +43,14 @@ var legacySources = [
43
43
  ];
44
44
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
45
45
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
46
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info16);
46
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info19);
47
47
  var pathActions = ["external_directory", "read", "edit"];
48
48
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
49
49
  var nativeKeys = ["permissions", "request", "system", "disabled"];
50
- var Plugin16 = define({
50
+ var Plugin36 = define({
51
51
  id: "opencode.config.agent",
52
52
  effect: Effect.fn(function* (ctx) {
53
- const config = yield* Service71;
53
+ const config = yield* Service78;
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -77,13 +77,13 @@ var Plugin16 = define({
77
77
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
78
78
  const configuredDefault = latest2(loaded.documents, "default_agent");
79
79
  if (configuredDefault !== undefined)
80
- editor.default(ID12.make(configuredDefault));
80
+ editor.default(ID15.make(configuredDefault));
81
81
  for (const current of editor.list()) {
82
82
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
83
83
  }
84
84
  for (const document of loaded.documents) {
85
85
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
86
- const agentID = ID12.make(id);
86
+ const agentID = ID15.make(id);
87
87
  if (item.disabled) {
88
88
  editor.remove(agentID);
89
89
  continue;
@@ -161,4 +161,4 @@ var decode = Effect.fnUntraced(function* (file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  });
163
163
 
164
- export { Plugin16, exports_agent };
164
+ export { Plugin36, exports_agent };