@opencode/core 0.0.0-dev-1224 → 0.0.0-dev-1228

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (915) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +90 -90
  3. package/dist/aisdk-native.js +1 -1
  4. package/dist/aisdk.js +107 -107
  5. package/dist/app.js +11 -11
  6. package/dist/artifact.js +254 -252
  7. package/dist/bus.js +84 -84
  8. package/dist/chunks/{state-fkkq8w99.js → model-retry-017h64p1.js} +24 -24
  9. package/dist/chunks/{state-034tev2y.js → model-retry-034tev2y.js} +2 -2
  10. package/dist/chunks/{state-rp6t20zc.js → model-retry-04whjz6n.js} +9 -9
  11. package/dist/chunks/{state-fp9bkp4s.js → model-retry-05smcpsa.js} +9 -9
  12. package/dist/chunks/{state-cse5rjp3.js → model-retry-06czbez7.js} +12 -12
  13. package/dist/chunks/{state-j4vp8fq6.js → model-retry-0775ra12.js} +11 -11
  14. package/dist/chunks/{state-yd4vfr0t.js → model-retry-07h2h242.js} +11 -11
  15. package/dist/chunks/{state-3nft16zg.js → model-retry-0aagcdmq.js} +40 -40
  16. package/dist/chunks/{state-wjz4g2jq.js → model-retry-0cvdc2hp.js} +21 -20
  17. package/dist/chunks/{state-ctd3k3x6.js → model-retry-0d9nkyse.js} +4 -4
  18. package/dist/chunks/{state-7v7sk204.js → model-retry-0dp7pkp4.js} +42 -42
  19. package/dist/chunks/{state-ttz31trp.js → model-retry-0fvxehme.js} +5 -5
  20. package/dist/chunks/model-retry-0gdrrj59.js +16 -0
  21. package/dist/chunks/{state-0ma9gw4f.js → model-retry-0ma9gw4f.js} +2 -2
  22. package/dist/chunks/{state-rgptf7vs.js → model-retry-0mgcmraf.js} +18 -18
  23. package/dist/chunks/{state-1cgctss4.js → model-retry-0mkk1a55.js} +38 -38
  24. package/dist/chunks/{state-cjqsf6bw.js → model-retry-0npmn2an.js} +9 -9
  25. package/dist/chunks/{state-e30cnwrb.js → model-retry-0wvjh4a5.js} +12 -12
  26. package/dist/chunks/{state-1zqfq3fa.js → model-retry-0y2evkmt.js} +8 -8
  27. package/dist/chunks/{state-r932s1aq.js → model-retry-14sh7vvp.js} +26 -26
  28. package/dist/chunks/{state-87kxp3gn.js → model-retry-18b1hh0p.js} +11 -11
  29. package/dist/chunks/{state-qvhq5dtp.js → model-retry-18yxzk2x.js} +17 -17
  30. package/dist/chunks/{state-enbnk4v1.js → model-retry-1adntvrs.js} +20 -20
  31. package/dist/chunks/{state-1aqsckx4.js → model-retry-1aqsckx4.js} +1 -1
  32. package/dist/chunks/{state-1aryjtsy.js → model-retry-1aryjtsy.js} +1 -1
  33. package/dist/chunks/{state-e9embajv.js → model-retry-1bg07a4w.js} +23 -23
  34. package/dist/chunks/{state-1ep2p91f.js → model-retry-1ep2p91f.js} +2 -2
  35. package/dist/chunks/{state-wevk3aaq.js → model-retry-1jhp7y1p.js} +26 -26
  36. package/dist/chunks/{state-phqefw3j.js → model-retry-1kjasx2x.js} +5 -5
  37. package/dist/chunks/{state-r0wrga32.js → model-retry-1mk73hd7.js} +8 -8
  38. package/dist/chunks/{state-1x2knyw4.js → model-retry-1x2knyw4.js} +1 -1
  39. package/dist/chunks/{state-wr3re1en.js → model-retry-1yped5qa.js} +4 -4
  40. package/dist/chunks/{state-awc294qn.js → model-retry-205ne5q0.js} +20 -20
  41. package/dist/chunks/{state-v9wprw03.js → model-retry-24zwqz7x.js} +42 -42
  42. package/dist/chunks/{state-ba5f9dy2.js → model-retry-26wfx3k0.js} +4 -4
  43. package/dist/chunks/{state-2fc7eemy.js → model-retry-2fc7eemy.js} +1 -1
  44. package/dist/chunks/{state-2prt43t7.js → model-retry-2prt43t7.js} +1 -1
  45. package/dist/chunks/{state-jv28pj5x.js → model-retry-2rxa40t0.js} +43 -43
  46. package/dist/chunks/{state-rgpq9amq.js → model-retry-2w9vd9yb.js} +12 -12
  47. package/dist/chunks/{state-kzv3grbw.js → model-retry-2xn2a7gs.js} +22 -22
  48. package/dist/chunks/{state-n1n71mfr.js → model-retry-30p7g2re.js} +9 -9
  49. package/dist/chunks/{state-4qxrae77.js → model-retry-36fsej7j.js} +16 -16
  50. package/dist/chunks/{state-8rapdqzr.js → model-retry-36qzrbfm.js} +4 -4
  51. package/dist/chunks/{state-sf9y72b7.js → model-retry-38aws4xb.js} +4 -4
  52. package/dist/chunks/{state-ek8dn5z5.js → model-retry-3dtw2n51.js} +4 -4
  53. package/dist/chunks/{state-yxb8rzbt.js → model-retry-3ex1ss0s.js} +9 -9
  54. package/dist/chunks/{state-y7v4rbnm.js → model-retry-3gn5nf8x.js} +27 -27
  55. package/dist/chunks/{state-3hepkmqq.js → model-retry-3hepkmqq.js} +1 -1
  56. package/dist/chunks/{state-3nnrz6f6.js → model-retry-3nnrz6f6.js} +1 -1
  57. package/dist/chunks/{state-0dnk7p9t.js → model-retry-3pnjxbxn.js} +12 -12
  58. package/dist/chunks/{state-xacrkbdt.js → model-retry-3qgwywyc.js} +4 -4
  59. package/dist/chunks/{state-36wtp86d.js → model-retry-3ykfc097.js} +4 -4
  60. package/dist/chunks/{state-40y6dtc2.js → model-retry-40y6dtc2.js} +1 -1
  61. package/dist/chunks/{state-sktstmq7.js → model-retry-44wsn7a8.js} +16 -16
  62. package/dist/chunks/{state-aypj46ae.js → model-retry-48fp153q.js} +61 -61
  63. package/dist/chunks/{state-4dx1dgte.js → model-retry-4dx1dgte.js} +1 -1
  64. package/dist/chunks/{state-4f25tdd0.js → model-retry-4f25tdd0.js} +1 -1
  65. package/dist/chunks/{state-4pyp9zr9.js → model-retry-4pyp9zr9.js} +1 -1
  66. package/dist/chunks/{state-4v008n1t.js → model-retry-4v008n1t.js} +1 -1
  67. package/dist/chunks/{state-ywxpr5ha.js → model-retry-55rakbxg.js} +18 -18
  68. package/dist/chunks/{state-s81kawhg.js → model-retry-56q4jy8r.js} +7 -7
  69. package/dist/chunks/{state-v4qeya6z.js → model-retry-5aet2gp4.js} +12 -12
  70. package/dist/chunks/{state-eb56k80z.js → model-retry-5bmpv8sd.js} +24 -24
  71. package/dist/chunks/{state-w2eysc6j.js → model-retry-5enarcya.js} +6 -6
  72. package/dist/chunks/{state-gnz7qpne.js → model-retry-5g04599y.js} +17 -17
  73. package/dist/chunks/{state-nd788t6c.js → model-retry-5hxqmjne.js} +7 -7
  74. package/dist/chunks/{state-5m9w47nd.js → model-retry-5m9w47nd.js} +1 -1
  75. package/dist/chunks/{state-4qfnvyqn.js → model-retry-5r27h39g.js} +9 -9
  76. package/dist/chunks/{state-t8erkws8.js → model-retry-67zhfnr5.js} +5 -5
  77. package/dist/chunks/{state-f4svtajv.js → model-retry-6885ryxz.js} +1 -1
  78. package/dist/chunks/{state-wpjpmdpx.js → model-retry-6agft1e9.js} +8 -8
  79. package/dist/chunks/{state-vngwnm7r.js → model-retry-6dveb54w.js} +32 -32
  80. package/dist/chunks/{state-q3t09a1r.js → model-retry-6e0f2n9r.js} +21 -21
  81. package/dist/chunks/{state-xvxdf7j2.js → model-retry-6e8ndm8p.js} +8 -8
  82. package/dist/chunks/{state-6508jazp.js → model-retry-6fmqn2jp.js} +36 -36
  83. package/dist/chunks/{state-81d4j08k.js → model-retry-6p093zj9.js} +29 -29
  84. package/dist/chunks/{state-kkbwffhf.js → model-retry-6p27a4aw.js} +32 -32
  85. package/dist/chunks/{state-85wm61p0.js → model-retry-6x6v86yv.js} +12 -12
  86. package/dist/chunks/{state-vf55m751.js → model-retry-6y6x3np2.js} +18 -18
  87. package/dist/chunks/{state-427haqbe.js → model-retry-71kjr7zt.js} +5 -5
  88. package/dist/chunks/{state-80mg3ag8.js → model-retry-775hqbnd.js} +3 -3
  89. package/dist/chunks/{state-1h56tgqc.js → model-retry-7b8z1km1.js} +15 -15
  90. package/dist/chunks/{state-7bmhse3q.js → model-retry-7bmhse3q.js} +1 -1
  91. package/dist/chunks/{state-sq2460zj.js → model-retry-7d9xhrrr.js} +5 -5
  92. package/dist/chunks/{state-wzf5k0ay.js → model-retry-7nbeytcw.js} +5 -5
  93. package/dist/chunks/{state-v159dwgd.js → model-retry-7r27hdps.js} +18 -18
  94. package/dist/chunks/{state-a9qdt05j.js → model-retry-7s11eagy.js} +19 -19
  95. package/dist/chunks/{state-7w2ypzdf.js → model-retry-7w2ypzdf.js} +1 -1
  96. package/dist/chunks/{state-7weczvnd.js → model-retry-7weczvnd.js} +1 -1
  97. package/dist/chunks/{state-p5memtjr.js → model-retry-7zpefmmn.js} +18 -18
  98. package/dist/chunks/{state-d390zwf3.js → model-retry-80m5xgxj.js} +11 -11
  99. package/dist/chunks/{state-80pdk984.js → model-retry-80pdk984.js} +1 -1
  100. package/dist/chunks/{state-vmwdw956.js → model-retry-829pgtev.js} +24 -24
  101. package/dist/chunks/{state-v9edw38w.js → model-retry-842xs9ev.js} +8 -8
  102. package/dist/chunks/{state-85jq8dht.js → model-retry-85jq8dht.js} +1 -1
  103. package/dist/chunks/{state-qq8nxmq8.js → model-retry-85yc0hq8.js} +12 -12
  104. package/dist/chunks/{state-ehhg2xcr.js → model-retry-8a135hpr.js} +14 -14
  105. package/dist/chunks/{state-8b3vzgkx.js → model-retry-8b3vzgkx.js} +1 -1
  106. package/dist/chunks/{state-fwmxwjyq.js → model-retry-8c2epgrf.js} +19 -19
  107. package/dist/chunks/{state-djnm8m9y.js → model-retry-8cf0qzhe.js} +19 -19
  108. package/dist/chunks/{state-9279jmms.js → model-retry-8ctyhwzp.js} +16 -16
  109. package/dist/chunks/{state-cbat45jb.js → model-retry-8eswvhzm.js} +31 -31
  110. package/dist/chunks/{state-8c2cgf6e.js → model-retry-8hex9hfh.js} +19 -19
  111. package/dist/chunks/{state-t1cpgcqv.js → model-retry-8jtp0fba.js} +11 -11
  112. package/dist/chunks/{state-8kjyvwy5.js → model-retry-8kjyvwy5.js} +1 -1
  113. package/dist/chunks/{state-8sxe6kv8.js → model-retry-8sxe6kv8.js} +2 -2
  114. package/dist/chunks/{state-8wtp7s3z.js → model-retry-8wtp7s3z.js} +1 -1
  115. package/dist/chunks/{state-wz7en73q.js → model-retry-8y9tjgy2.js} +24 -24
  116. package/dist/chunks/{state-emskjcb9.js → model-retry-8yz0jhpn.js} +18 -18
  117. package/dist/chunks/{state-8zv0xmg5.js → model-retry-8zv0xmg5.js} +1 -1
  118. package/dist/chunks/{state-2bswbpgz.js → model-retry-93xmyh8q.js} +7 -7
  119. package/dist/chunks/{state-963hk181.js → model-retry-963hk181.js} +2 -2
  120. package/dist/chunks/{state-ktck1cjp.js → model-retry-99qapbs9.js} +6 -6
  121. package/dist/chunks/{state-0hhk97e6.js → model-retry-9ajhsmak.js} +5 -5
  122. package/dist/chunks/model-retry-9ceax7yg.js +19 -0
  123. package/dist/chunks/{state-fzattvf9.js → model-retry-9edbf5wj.js} +26 -26
  124. package/dist/chunks/{state-px6wqt9a.js → model-retry-9es5bg3v.js} +9 -9
  125. package/dist/chunks/{state-h0scc2f8.js → model-retry-9kw5xz73.js} +5 -5
  126. package/dist/chunks/{state-2kg89srt.js → model-retry-9q8g9sv8.js} +4 -4
  127. package/dist/chunks/{state-9khz0wq9.js → model-retry-9rqhy0gk.js} +7 -7
  128. package/dist/chunks/{state-r5t319e4.js → model-retry-9v3yr0dd.js} +13 -13
  129. package/dist/chunks/{state-109ycj4d.js → model-retry-9vcnt7gp.js} +7 -7
  130. package/dist/chunks/{state-eeqr2ezx.js → model-retry-a1sevdk6.js} +8 -8
  131. package/dist/chunks/{state-6xm9jdbn.js → model-retry-a2m3nwnc.js} +2 -2
  132. package/dist/chunks/{state-twn0g4c4.js → model-retry-a3nz3ck4.js} +9 -9
  133. package/dist/chunks/{state-2fqhctvv.js → model-retry-a4hgaa8m.js} +17 -17
  134. package/dist/chunks/{state-hk7vvr1w.js → model-retry-a8d6xaw0.js} +4 -4
  135. package/dist/chunks/{state-hct41e8k.js → model-retry-aahpp0ad.js} +18 -18
  136. package/dist/chunks/{state-qvscvz7g.js → model-retry-acckxf00.js} +31 -31
  137. package/dist/chunks/model-retry-ade8csyh.js +10 -0
  138. package/dist/chunks/{state-3efg5d53.js → model-retry-aj8dydnj.js} +14 -14
  139. package/dist/chunks/{state-h4vx8t2t.js → model-retry-ax7s30a4.js} +4 -4
  140. package/dist/chunks/{state-ayjs7tqn.js → model-retry-ayjs7tqn.js} +2 -2
  141. package/dist/chunks/{state-b7nkz392.js → model-retry-b0fy1v2h.js} +1 -1
  142. package/dist/chunks/{state-5n0rnk8e.js → model-retry-bhfd478d.js} +4 -4
  143. package/dist/chunks/{state-kqzd954s.js → model-retry-brkxq01e.js} +19 -19
  144. package/dist/chunks/{state-bstexjd6.js → model-retry-bstexjd6.js} +1 -1
  145. package/dist/chunks/{state-27fqdypx.js → model-retry-btg7eafc.js} +15 -15
  146. package/dist/chunks/{state-d1g7k0n1.js → model-retry-bv7r9pcg.js} +6 -6
  147. package/dist/chunks/{state-y8extacy.js → model-retry-bwgmfgvg.js} +25 -25
  148. package/dist/chunks/{state-8atgymfb.js → model-retry-byybcfm0.js} +7 -7
  149. package/dist/chunks/{state-dg5naf6e.js → model-retry-c5zvymhv.js} +4 -4
  150. package/dist/chunks/{state-4dg21t77.js → model-retry-c9867p5d.js} +45 -45
  151. package/dist/chunks/{state-52by9wz1.js → model-retry-cd37ehzf.js} +22 -22
  152. package/dist/chunks/{state-3qw8teq0.js → model-retry-cmnqamdd.js} +39 -39
  153. package/dist/chunks/{state-rgceh5wf.js → model-retry-cphxwmbb.js} +21 -21
  154. package/dist/chunks/{state-cwrgdav8.js → model-retry-cwrgdav8.js} +2 -2
  155. package/dist/chunks/{state-mx3cbz75.js → model-retry-d24yje7t.js} +25 -25
  156. package/dist/chunks/{state-d4v9tmah.js → model-retry-d4v9tmah.js} +2 -2
  157. package/dist/chunks/{state-97d0bxh6.js → model-retry-dgs1ay09.js} +34 -34
  158. package/dist/chunks/{state-dfpyr7py.js → model-retry-dn1xh1rs.js} +6 -6
  159. package/dist/chunks/{state-dt77769w.js → model-retry-dt77769w.js} +1 -1
  160. package/dist/chunks/{state-qtf35215.js → model-retry-dtrrxc61.js} +3 -3
  161. package/dist/chunks/{state-zhbst51w.js → model-retry-dv49zdb6.js} +31 -31
  162. package/dist/chunks/{state-6pahazrx.js → model-retry-dw87ag6x.js} +10 -10
  163. package/dist/chunks/{state-narxvgx9.js → model-retry-dx37v7zm.js} +19 -19
  164. package/dist/chunks/{state-da44vmvv.js → model-retry-eg252j0s.js} +17 -17
  165. package/dist/chunks/{state-pgqxr0th.js → model-retry-egte8s1h.js} +4 -4
  166. package/dist/chunks/{state-eqw4pqj1.js → model-retry-eqw4pqj1.js} +2 -2
  167. package/dist/chunks/{state-edm37t96.js → model-retry-f65x015p.js} +6 -6
  168. package/dist/chunks/{state-7khw6ctp.js → model-retry-fapwvgcn.js} +380 -380
  169. package/dist/chunks/{state-gpz3zcsm.js → model-retry-fb713nv2.js} +19 -19
  170. package/dist/chunks/{state-egsmxz2f.js → model-retry-fckc8ywy.js} +59 -59
  171. package/dist/chunks/{state-n320gsn2.js → model-retry-fcrd7kek.js} +4 -4
  172. package/dist/chunks/{state-gnrnwaff.js → model-retry-fddj29ch.js} +14 -14
  173. package/dist/chunks/{state-fg9p65nk.js → model-retry-fg9p65nk.js} +2 -2
  174. package/dist/chunks/{state-e0xk049a.js → model-retry-fgdy0q7j.js} +3 -3
  175. package/dist/chunks/{state-4gneve8v.js → model-retry-fhb2k50q.js} +37 -37
  176. package/dist/chunks/{state-jh82ppf8.js → model-retry-fmkb7dtj.js} +37 -37
  177. package/dist/chunks/{state-a60yvsvr.js → model-retry-fn6nr9y6.js} +16 -16
  178. package/dist/chunks/{state-r4ey0dp4.js → model-retry-fph2q7fn.js} +9 -9
  179. package/dist/chunks/{state-fmers9j5.js → model-retry-fxfygywz.js} +9 -9
  180. package/dist/chunks/{state-v8dnj16f.js → model-retry-fzpq44b5.js} +5 -5
  181. package/dist/chunks/{state-ebxw5th9.js → model-retry-g3423m7g.js} +15 -15
  182. package/dist/chunks/{state-3djagcat.js → model-retry-g3gg2kgz.js} +36 -36
  183. package/dist/chunks/{state-8gc717j2.js → model-retry-g41t17xq.js} +30 -30
  184. package/dist/chunks/{state-g4txs7zc.js → model-retry-g4txs7zc.js} +4 -4
  185. package/dist/chunks/{state-5wyjxme5.js → model-retry-g650r2x6.js} +7 -7
  186. package/dist/chunks/{state-7pf24df8.js → model-retry-g6jvgjwm.js} +39 -39
  187. package/dist/chunks/{state-3ck5pzsd.js → model-retry-g95tps0q.js} +33 -33
  188. package/dist/chunks/{state-gbjdnr5j.js → model-retry-gbjdnr5j.js} +2 -2
  189. package/dist/chunks/{state-ghrv1g9c.js → model-retry-ghrv1g9c.js} +1 -1
  190. package/dist/chunks/{state-g3v06dfq.js → model-retry-gpy0j4f0.js} +10 -10
  191. package/dist/chunks/{state-tg7s7b5t.js → model-retry-gxs71cxp.js} +4 -4
  192. package/dist/chunks/{state-jy6nqey9.js → model-retry-h1hxhh1f.js} +8 -8
  193. package/dist/chunks/{state-k5pkx81j.js → model-retry-h7swj2ct.js} +3 -3
  194. package/dist/chunks/{state-627a6t8n.js → model-retry-hffj87vq.js} +16 -16
  195. package/dist/chunks/{state-hgzwgvze.js → model-retry-hgzwgvze.js} +2 -2
  196. package/dist/chunks/{state-4bwthz3m.js → model-retry-hmc1gkc2.js} +6 -6
  197. package/dist/chunks/{state-2fsxdb0d.js → model-retry-hqjn8a4q.js} +23 -23
  198. package/dist/chunks/{state-j376ae4e.js → model-retry-j376ae4e.js} +1 -1
  199. package/dist/chunks/{state-eezvz286.js → model-retry-j5smw18m.js} +13 -13
  200. package/dist/chunks/{state-ze75qvmd.js → model-retry-j9nxzz3g.js} +3 -3
  201. package/dist/chunks/{state-930967qy.js → model-retry-jctnb33c.js} +11 -11
  202. package/dist/chunks/{state-nxbnzhh1.js → model-retry-jd2k76th.js} +3 -3
  203. package/dist/chunks/{state-t65b4mrh.js → model-retry-jd3472bp.js} +3 -3
  204. package/dist/chunks/{state-x150ncgg.js → model-retry-jh9q4qkg.js} +2 -2
  205. package/dist/chunks/{state-s1t4haaj.js → model-retry-jkf8ywy2.js} +16 -16
  206. package/dist/chunks/{state-jm70asfg.js → model-retry-jm70asfg.js} +1 -1
  207. package/dist/chunks/{state-ydet8tgv.js → model-retry-jprmyt26.js} +34 -34
  208. package/dist/chunks/{state-cpe35zww.js → model-retry-jwve1gmd.js} +4 -4
  209. package/dist/chunks/{state-jxd6f16v.js → model-retry-jxd6f16v.js} +2 -2
  210. package/dist/chunks/model-retry-jzp9axma.js +273 -0
  211. package/dist/chunks/{state-djkt98xq.js → model-retry-k2m8za3w.js} +21 -21
  212. package/dist/chunks/{state-15rmc56z.js → model-retry-k6n4wbgb.js} +13 -13
  213. package/dist/chunks/{state-j3f8hyeg.js → model-retry-k98yejja.js} +7 -7
  214. package/dist/chunks/{state-6gjb87wc.js → model-retry-kef55kra.js} +8 -8
  215. package/dist/chunks/{state-nmbew64m.js → model-retry-kfdqexcg.js} +40 -40
  216. package/dist/chunks/{state-7g1dpkev.js → model-retry-kffbz72f.js} +8 -8
  217. package/dist/chunks/{state-cv6amnmh.js → model-retry-kj9n5bvh.js} +4 -4
  218. package/dist/chunks/{state-a0f8fvmt.js → model-retry-kmekj7m2.js} +8 -8
  219. package/dist/chunks/{state-6d99zds6.js → model-retry-kp9ph64s.js} +13 -13
  220. package/dist/chunks/{state-15mkcj75.js → model-retry-kpyg76p6.js} +28 -28
  221. package/dist/chunks/{state-kt3bjfbg.js → model-retry-kt3bjfbg.js} +1 -1
  222. package/dist/chunks/{state-kzczzf4v.js → model-retry-kzczzf4v.js} +1 -1
  223. package/dist/chunks/{state-m1714858.js → model-retry-m1714858.js} +1 -1
  224. package/dist/chunks/{state-smk8519c.js → model-retry-m2yay7s6.js} +48 -48
  225. package/dist/chunks/{state-fc9qhm4k.js → model-retry-m3xv23jc.js} +24 -24
  226. package/dist/chunks/{state-m4p4r8nc.js → model-retry-m4p4r8nc.js} +1 -1
  227. package/dist/chunks/{state-wmkrkwan.js → model-retry-m62mbdjb.js} +8 -8
  228. package/dist/chunks/{state-8vy8myv0.js → model-retry-m8sm4ebg.js} +22 -22
  229. package/dist/chunks/{state-m90tx7mw.js → model-retry-m90tx7mw.js} +1 -1
  230. package/dist/chunks/{state-m9w0rfyh.js → model-retry-m9w0rfyh.js} +1 -1
  231. package/dist/chunks/{state-mb7mbhnz.js → model-retry-mb7mbhnz.js} +3 -3
  232. package/dist/chunks/{state-5strrb1w.js → model-retry-mbpw86kt.js} +10 -10
  233. package/dist/chunks/{state-gnwx4pxd.js → model-retry-mdwjffta.js} +11 -11
  234. package/dist/chunks/{state-wfyabtyf.js → model-retry-mfevbvrs.js} +100 -100
  235. package/dist/chunks/model-retry-mgpk6n80.js +35 -0
  236. package/dist/chunks/{state-00ceerga.js → model-retry-mm2dsn97.js} +36 -36
  237. package/dist/chunks/{state-fgzhd4f7.js → model-retry-n1hebc3y.js} +29 -29
  238. package/dist/chunks/{state-mvmm73ke.js → model-retry-n79wpsrs.js} +18 -18
  239. package/dist/chunks/{state-xxschbft.js → model-retry-nad3qcx8.js} +7 -7
  240. package/dist/chunks/{state-y5mtf85h.js → model-retry-ne7cd1ha.js} +58 -58
  241. package/dist/chunks/{state-gpr6mhvd.js → model-retry-nfac8j8b.js} +183 -60
  242. package/dist/chunks/{state-9evh4g6t.js → model-retry-ngx10khd.js} +15 -15
  243. package/dist/chunks/{state-chnap7qb.js → model-retry-nxyd0h03.js} +25 -25
  244. package/dist/chunks/{state-35tpvsnd.js → model-retry-nzaatkzq.js} +30 -30
  245. package/dist/chunks/{state-10j04twc.js → model-retry-p7kraew4.js} +19 -19
  246. package/dist/chunks/{state-6a3n96rr.js → model-retry-p9j37s50.js} +49 -49
  247. package/dist/chunks/{state-yh9adn63.js → model-retry-pf8955xt.js} +26 -26
  248. package/dist/chunks/{state-pknna89w.js → model-retry-pknna89w.js} +1 -1
  249. package/dist/chunks/{state-j408af94.js → model-retry-pm3c6s16.js} +17 -17
  250. package/dist/chunks/{state-ary6xecs.js → model-retry-pmg3ynn9.js} +4 -4
  251. package/dist/chunks/{state-tye10t2g.js → model-retry-pmmk8bnh.js} +15 -15
  252. package/dist/chunks/{state-yr4nm0tc.js → model-retry-pnzagfnf.js} +16 -16
  253. package/dist/chunks/{state-cqwm3s9e.js → model-retry-pwvv35w0.js} +12 -12
  254. package/dist/chunks/{state-skh0vv1h.js → model-retry-pxknse7s.js} +2 -2
  255. package/dist/chunks/{state-w0ee2s96.js → model-retry-pymb48n1.js} +5 -5
  256. package/dist/chunks/{state-e9efqbvz.js → model-retry-q16m5d83.js} +19 -19
  257. package/dist/chunks/{state-p94p4v4n.js → model-retry-q5bk3gvt.js} +8 -12
  258. package/dist/chunks/{state-rf2e2mym.js → model-retry-q7xxxqhc.js} +28 -28
  259. package/dist/chunks/{state-qj27vsmx.js → model-retry-qdqqjg8m.js} +31 -31
  260. package/dist/chunks/{state-4y5qk8wr.js → model-retry-qjr82zmw.js} +12 -12
  261. package/dist/chunks/{state-tts1m72y.js → model-retry-qkawq70m.js} +11 -11
  262. package/dist/chunks/{state-pvh525kc.js → model-retry-qnanx3dd.js} +27 -27
  263. package/dist/chunks/{state-fjwkbb1x.js → model-retry-qp2996hh.js} +5 -5
  264. package/dist/chunks/{state-qp7r0hxv.js → model-retry-qp7r0hxv.js} +1 -1
  265. package/dist/chunks/{state-5nc9cxcx.js → model-retry-r02bwx1r.js} +86 -86
  266. package/dist/chunks/{state-59r2jq59.js → model-retry-r1w8nv7n.js} +36 -36
  267. package/dist/chunks/{state-7hm90z9h.js → model-retry-r35w9x31.js} +13 -13
  268. package/dist/chunks/{state-8c2aw5yp.js → model-retry-rb5d0a2b.js} +11 -11
  269. package/dist/chunks/{state-rb9dy4dg.js → model-retry-rb9dy4dg.js} +1 -1
  270. package/dist/chunks/{state-13gs6whz.js → model-retry-regkb5hs.js} +84 -84
  271. package/dist/chunks/{state-rgc9cx3e.js → model-retry-rgc9cx3e.js} +2 -2
  272. package/dist/chunks/{state-tqnb7fam.js → model-retry-rge3pmcm.js} +15 -15
  273. package/dist/chunks/{state-cr77hmd1.js → model-retry-rgwq2xe1.js} +37 -37
  274. package/dist/chunks/{state-4vzr2b15.js → model-retry-rj7jtxy8.js} +3 -3
  275. package/dist/chunks/{state-29t5ms5a.js → model-retry-rjx5dk1m.js} +3 -3
  276. package/dist/chunks/{state-7z0rb6fn.js → model-retry-rng172mc.js} +21 -21
  277. package/dist/chunks/{state-v6atjk4t.js → model-retry-rxzmn0gk.js} +16 -16
  278. package/dist/chunks/{state-s1ba0vj0.js → model-retry-s1ba0vj0.js} +2 -2
  279. package/dist/chunks/{state-hd5gh2tq.js → model-retry-s2vht1pw.js} +6 -6
  280. package/dist/chunks/{state-3nv1v92r.js → model-retry-s3yy3wtm.js} +15 -15
  281. package/dist/chunks/{state-s47rahr7.js → model-retry-s47rahr7.js} +1 -1
  282. package/dist/chunks/{state-4p679b5s.js → model-retry-s4sw4556.js} +11 -11
  283. package/dist/chunks/{state-2asypf8v.js → model-retry-s9p6mhxc.js} +25 -25
  284. package/dist/chunks/{state-sbya78hr.js → model-retry-sbya78hr.js} +1 -1
  285. package/dist/chunks/model-retry-secz9mse.js +26 -0
  286. package/dist/chunks/{state-vjjnj6g4.js → model-retry-sgs702js.js} +21 -21
  287. package/dist/chunks/{state-w65a8kme.js → model-retry-smx0ae0w.js} +8 -8
  288. package/dist/chunks/{state-svcy3p9a.js → model-retry-svcy3p9a.js} +1 -1
  289. package/dist/chunks/{state-ng5phben.js → model-retry-svhbx49m.js} +15 -15
  290. package/dist/chunks/{state-hmp5x989.js → model-retry-svn6ge3n.js} +5 -5
  291. package/dist/chunks/{state-6ssbb960.js → model-retry-sykpeafb.js} +20 -20
  292. package/dist/chunks/{state-w26ydvkj.js → model-retry-sztfd69n.js} +18 -18
  293. package/dist/chunks/{state-73ff1310.js → model-retry-t48jrnqq.js} +3 -3
  294. package/dist/chunks/{state-tbpn7jtk.js → model-retry-tbpn7jtk.js} +1 -1
  295. package/dist/chunks/{state-tczq8hjw.js → model-retry-tczq8hjw.js} +1 -1
  296. package/dist/chunks/{state-7r2vp639.js → model-retry-tets3327.js} +47 -47
  297. package/dist/chunks/{state-s3jahghs.js → model-retry-tm1rwdkz.js} +23 -23
  298. package/dist/chunks/{state-tvtps2q9.js → model-retry-tvtps2q9.js} +1 -1
  299. package/dist/chunks/{state-twssxy5n.js → model-retry-twssxy5n.js} +2 -2
  300. package/dist/chunks/{state-htvtdz3s.js → model-retry-tzghbzrd.js} +35 -35
  301. package/dist/chunks/{state-hd8w7nxr.js → model-retry-v0ptq8kx.js} +5 -5
  302. package/dist/chunks/{state-v2r1d0zg.js → model-retry-v2r1d0zg.js} +1 -1
  303. package/dist/chunks/{state-tqx9c315.js → model-retry-v5hpj9dd.js} +8 -8
  304. package/dist/chunks/{state-dr704ma6.js → model-retry-v5x6a47m.js} +39 -39
  305. package/dist/chunks/{state-vq1ppevj.js → model-retry-v8vd993n.js} +8 -8
  306. package/dist/chunks/{state-p7vhpwh8.js → model-retry-v9ez2kgh.js} +5 -5
  307. package/dist/chunks/{state-p6s20s7v.js → model-retry-vbenvz7q.js} +24 -24
  308. package/dist/chunks/{state-dsn35pkw.js → model-retry-vbq6wsfa.js} +44 -44
  309. package/dist/chunks/{state-r3sws3fk.js → model-retry-vfz1f8qw.js} +15 -15
  310. package/dist/chunks/{state-vjf35v1f.js → model-retry-vjf35v1f.js} +1 -1
  311. package/dist/chunks/{state-ynzdgah7.js → model-retry-vjhrddsw.js} +5 -5
  312. package/dist/chunks/{state-evw2hqks.js → model-retry-vp8y8q5k.js} +3 -3
  313. package/dist/chunks/{state-6v3qw19h.js → model-retry-vrgptqph.js} +10 -10
  314. package/dist/chunks/{state-jns4gqy7.js → model-retry-vsnnaxjq.js} +4 -4
  315. package/dist/chunks/{state-vt4r9rmy.js → model-retry-vt4r9rmy.js} +2 -2
  316. package/dist/chunks/{state-fes325b1.js → model-retry-vw4fppnt.js} +20 -20
  317. package/dist/chunks/{state-agje4kmn.js → model-retry-vwcz1f45.js} +7 -7
  318. package/dist/chunks/{state-6ey5hxvm.js → model-retry-vyyswwn4.js} +54 -54
  319. package/dist/chunks/{state-nd2e51yr.js → model-retry-w206vg3g.js} +1 -1
  320. package/dist/chunks/{state-zqeyams7.js → model-retry-w3jbjfas.js} +31 -31
  321. package/dist/chunks/{state-w3wsvvr9.js → model-retry-w3wsvvr9.js} +1 -1
  322. package/dist/chunks/{state-cbce2z70.js → model-retry-w42jvh7m.js} +4 -4
  323. package/dist/chunks/{state-9fgy5dtv.js → model-retry-w48gbg6x.js} +8 -8
  324. package/dist/chunks/{state-bbytzacy.js → model-retry-w5tzktdd.js} +9 -9
  325. package/dist/chunks/{state-vzbnr37h.js → model-retry-w60b7bmx.js} +11 -11
  326. package/dist/chunks/{state-yzyzjx54.js → model-retry-w8t7r7gz.js} +9 -9
  327. package/dist/chunks/{state-wakvkjy4.js → model-retry-wakvkjy4.js} +1 -1
  328. package/dist/chunks/{state-hs7q0dfv.js → model-retry-wcq2yt31.js} +42 -42
  329. package/dist/chunks/{state-wd87259q.js → model-retry-wd87259q.js} +1 -1
  330. package/dist/chunks/{state-wegkxhrn.js → model-retry-wegkxhrn.js} +2 -2
  331. package/dist/chunks/{state-9q00jv0h.js → model-retry-whdvth7n.js} +22 -22
  332. package/dist/chunks/{state-v291rggy.js → model-retry-wsk3qzh5.js} +35 -35
  333. package/dist/chunks/{state-r1qh9q3s.js → model-retry-wtzh5vnc.js} +5 -5
  334. package/dist/chunks/{state-5njhb98r.js → model-retry-wx8t3hee.js} +6 -6
  335. package/dist/chunks/{state-ksg1ge82.js → model-retry-x5bmpxxv.js} +5 -5
  336. package/dist/chunks/{state-kqtyt155.js → model-retry-x9mcnj2g.js} +4 -4
  337. package/dist/chunks/{state-0vaa0e61.js → model-retry-xc0p3naf.js} +27 -27
  338. package/dist/chunks/{state-wjcg0vp3.js → model-retry-xdce6pj8.js} +3 -3
  339. package/dist/chunks/{state-1xhvy0a1.js → model-retry-xgpm74pc.js} +28 -28
  340. package/dist/chunks/{state-brv6mkyx.js → model-retry-xksw6ev0.js} +4 -4
  341. package/dist/chunks/{state-eqfxx9cj.js → model-retry-xp7jqvb9.js} +8 -8
  342. package/dist/chunks/{state-t69jc1z4.js → model-retry-xy63rwa2.js} +5 -5
  343. package/dist/chunks/{state-1a9h65em.js → model-retry-y031kkgx.js} +11 -11
  344. package/dist/chunks/{state-tnqc7dvm.js → model-retry-yahkkr4p.js} +184 -184
  345. package/dist/chunks/{state-yb20nhc3.js → model-retry-yb20nhc3.js} +1 -1
  346. package/dist/chunks/{state-yr705xyq.js → model-retry-yr705xyq.js} +1 -1
  347. package/dist/chunks/{state-yvtc2x31.js → model-retry-yvtc2x31.js} +1 -1
  348. package/dist/chunks/{state-pffxc541.js → model-retry-yz7qshjs.js} +22 -22
  349. package/dist/chunks/{state-z0wbgq7s.js → model-retry-z0wbgq7s.js} +1 -1
  350. package/dist/chunks/{state-dkvpwghq.js → model-retry-z2j2y5rk.js} +24 -24
  351. package/dist/chunks/{state-rmeffpf9.js → model-retry-z6c0s5pf.js} +11 -11
  352. package/dist/chunks/model-retry-z7bdqmx5.js +18 -0
  353. package/dist/chunks/{state-s2rw6bpt.js → model-retry-z8yeq6ar.js} +25 -25
  354. package/dist/chunks/{state-xnvj0mm3.js → model-retry-zmn35q6p.js} +6 -6
  355. package/dist/codemode/catalog.js +1 -1
  356. package/dist/codemode/execution.js +5 -5
  357. package/dist/codemode/fetch.js +150 -149
  358. package/dist/codemode/instructions.js +12 -11
  359. package/dist/codemode/tool.js +157 -156
  360. package/dist/command.js +96 -96
  361. package/dist/config/discovery.js +95 -95
  362. package/dist/config/integration.js +3 -3
  363. package/dist/config/managed.js +1 -1
  364. package/dist/config/markdown.js +1 -1
  365. package/dist/config/normalize.js +113 -113
  366. package/dist/config/plugin/agent.js +132 -132
  367. package/dist/config/plugin/command.js +247 -245
  368. package/dist/config/plugin/compaction.js +175 -174
  369. package/dist/config/plugin/compatibility.js +155 -154
  370. package/dist/config/plugin/entry-observer.js +1 -1
  371. package/dist/config/plugin/formatter.js +132 -132
  372. package/dist/config/plugin/image.js +131 -131
  373. package/dist/config/plugin/instruction.js +132 -131
  374. package/dist/config/plugin/location-watcher.js +131 -131
  375. package/dist/config/plugin/mcp.js +146 -144
  376. package/dist/config/plugin/policy.js +131 -131
  377. package/dist/config/plugin/provider.js +133 -133
  378. package/dist/config/plugin/reference.js +133 -133
  379. package/dist/config/plugin/shell.js +131 -131
  380. package/dist/config/plugin/skill-file.js +151 -150
  381. package/dist/config/plugin/skill-scan.js +1 -1
  382. package/dist/config/plugin/skill.js +158 -157
  383. package/dist/config/plugin/snapshot.js +131 -131
  384. package/dist/config/plugin/source.js +129 -129
  385. package/dist/config/plugin/tool-output.js +132 -132
  386. package/dist/config/plugin/websearch.js +132 -132
  387. package/dist/config/plugin/worktree.js +133 -133
  388. package/dist/config/variable.js +1 -1
  389. package/dist/config/watch.js +1 -1
  390. package/dist/config.js +136 -136
  391. package/dist/console-access.js +1 -1
  392. package/dist/credential/sql.js +2 -2
  393. package/dist/credential.js +94 -94
  394. package/dist/database/batch.js +1 -1
  395. package/dist/database/database.js +81 -81
  396. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  397. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  398. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  399. package/dist/database/drizzle/index.js +13 -13
  400. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  401. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  402. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  403. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  404. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  405. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  406. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  407. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  408. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  409. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  410. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  411. package/dist/database/drizzle.js +14 -14
  412. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  413. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  414. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  415. package/dist/database/migration/20260225215848_workspace.js +1 -1
  416. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  417. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  418. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  419. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  420. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  421. package/dist/database/migration/20260323234822_events.js +1 -1
  422. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  423. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  424. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  425. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  426. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  427. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  428. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  429. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  430. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  431. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  432. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  433. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  434. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  435. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  436. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  437. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  438. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  439. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  440. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  441. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  442. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  443. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  444. package/dist/database/migration/20260611035744_credential.js +1 -1
  445. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  446. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  447. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  448. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  449. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  450. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  451. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  452. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  453. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  454. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  455. package/dist/database/migration/20260812213948_worktree.js +1 -1
  456. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  457. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  458. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  459. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  460. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  461. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  462. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  463. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  464. package/dist/database/migration/20261025123711_blob.js +1 -1
  465. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  466. package/dist/database/migration/20261026223005_schedule.js +1 -1
  467. package/dist/database/migration/20261029002625_session_part.js +1 -1
  468. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  469. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  470. package/dist/database/migration/20261030054400_job.js +1 -1
  471. package/dist/database/migration.gen.js +60 -60
  472. package/dist/database/migration.js +76 -76
  473. package/dist/database/path.js +2 -2
  474. package/dist/database/schema.gen.js +1 -1
  475. package/dist/database/schema.sql.js +1 -1
  476. package/dist/database/v1-migration.bun.js +103 -103
  477. package/dist/effect/app-node-builder.js +448 -446
  478. package/dist/effect/app-node-platform.js +2 -2
  479. package/dist/effect/keyed-mutex.js +1 -1
  480. package/dist/effect/websocket-constructor.js +1 -1
  481. package/dist/environment/driver.js +1 -1
  482. package/dist/environment/environment.js +105 -105
  483. package/dist/environment/exec-defaults.js +2 -2
  484. package/dist/environment/files.js +1 -1
  485. package/dist/environment/index.js +109 -109
  486. package/dist/environment/local.js +2 -2
  487. package/dist/environment/memory.js +2 -2
  488. package/dist/environment/unavailable.js +3 -3
  489. package/dist/event/sql.js +1 -1
  490. package/dist/event-logger.js +85 -85
  491. package/dist/file-access.js +162 -161
  492. package/dist/file-mutation.js +108 -108
  493. package/dist/file-retention.js +1 -1
  494. package/dist/file-write.js +166 -165
  495. package/dist/filesystem/fff.bun.js +2 -2
  496. package/dist/filesystem/fff.js +1 -1
  497. package/dist/filesystem/fff.node.js +2 -2
  498. package/dist/filesystem/fff.workerd.js +2 -2
  499. package/dist/filesystem/file-watch.js +91 -91
  500. package/dist/filesystem/location-watcher-policy.js +2 -2
  501. package/dist/filesystem/location-watcher.js +254 -252
  502. package/dist/filesystem/protected.js +1 -1
  503. package/dist/filesystem/search.js +111 -111
  504. package/dist/filesystem/watcher-binding.js +1 -1
  505. package/dist/filesystem/watcher.js +11 -11
  506. package/dist/filesystem.js +116 -116
  507. package/dist/flag.js +136 -136
  508. package/dist/form.js +95 -95
  509. package/dist/formatter/builtins.js +4 -4
  510. package/dist/formatter.js +100 -100
  511. package/dist/generate.js +119 -119
  512. package/dist/git.js +11 -11
  513. package/dist/github-copilot/models.js +113 -113
  514. package/dist/image/notice.js +1 -1
  515. package/dist/image/photon-normalize.js +1 -1
  516. package/dist/image/photon-worker.js +1 -1
  517. package/dist/image/photon.js +4 -4
  518. package/dist/image.js +6 -6
  519. package/dist/instance/service.js +5 -5
  520. package/dist/instance.js +441 -439
  521. package/dist/instruction-discovery.js +90 -89
  522. package/dist/instructions/builtins.js +101 -100
  523. package/dist/instructions/index.js +4 -3
  524. package/dist/integration/connection.js +3 -3
  525. package/dist/integration.js +98 -98
  526. package/dist/job/list.js +5 -5
  527. package/dist/job/recovery.js +2 -2
  528. package/dist/job/sql.js +2 -2
  529. package/dist/job.js +88 -88
  530. package/dist/kv/sql.js +2 -2
  531. package/dist/kv.js +82 -82
  532. package/dist/location-activity.js +188 -187
  533. package/dist/location-lifecycle.js +155 -154
  534. package/dist/location-service-map.js +97 -97
  535. package/dist/location-services.js +438 -436
  536. package/dist/location.js +98 -98
  537. package/dist/managed-policy.js +3 -3
  538. package/dist/mcp/client.js +165 -160
  539. package/dist/mcp/connection.js +106 -106
  540. package/dist/mcp/event-errors.js +8 -0
  541. package/dist/mcp/index.js +149 -145
  542. package/dist/mcp/instructions.js +192 -190
  543. package/dist/mcp/oauth.js +90 -90
  544. package/dist/mcp/pool.js +110 -110
  545. package/dist/mcp/socket-client.js +1 -1
  546. package/dist/mcp/stdio.js +161 -160
  547. package/dist/mime.js +1 -1
  548. package/dist/modal/models.js +113 -113
  549. package/dist/model-resolver.js +111 -111
  550. package/dist/model-retry.js +1 -1
  551. package/dist/model.js +114 -114
  552. package/dist/models-dev/v1.js +1 -1
  553. package/dist/models-dev.js +120 -120
  554. package/dist/oauth/page.js +1 -1
  555. package/dist/oauth/redirect.js +1 -1
  556. package/dist/permission/saved.js +93 -93
  557. package/dist/permission/sql.js +5 -5
  558. package/dist/permission.js +158 -157
  559. package/dist/persistent-pty/binary.bun.js +1 -1
  560. package/dist/persistent-pty/daemon.js +1 -1
  561. package/dist/persistent-pty/index.js +101 -101
  562. package/dist/persistent-pty/pty-binding.js +1 -1
  563. package/dist/persistent-pty.js +86 -86
  564. package/dist/plugin/agent.js +85 -85
  565. package/dist/plugin/command.js +146 -144
  566. package/dist/plugin/fork-notice.js +3 -3
  567. package/dist/plugin/goal.js +3 -3
  568. package/dist/plugin/hooks.js +5 -5
  569. package/dist/plugin/host.js +251 -249
  570. package/dist/plugin/identity.js +5 -5
  571. package/dist/plugin/instance.js +5 -5
  572. package/dist/plugin/internal.js +418 -416
  573. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  574. package/dist/plugin/models-dev.js +111 -111
  575. package/dist/plugin/module.js +130 -130
  576. package/dist/plugin/optimize.js +4 -4
  577. package/dist/plugin/plan.js +151 -150
  578. package/dist/plugin/promise.js +1 -1
  579. package/dist/plugin/provider/amazon-bedrock.js +107 -107
  580. package/dist/plugin/provider/azure.js +134 -134
  581. package/dist/plugin/provider/cerebras.js +1 -1
  582. package/dist/plugin/provider/chatgpt.js +135 -135
  583. package/dist/plugin/provider/claude-agent/aisdk.js +116 -116
  584. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  585. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  586. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  587. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  588. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  589. package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
  590. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  591. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  592. package/dist/plugin/provider/claude-agent/index.js +149 -149
  593. package/dist/plugin/provider/claude-agent/instructions.js +115 -115
  594. package/dist/plugin/provider/claude-agent/integration.js +114 -114
  595. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  596. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  597. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  598. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  599. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  600. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  601. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  602. package/dist/plugin/provider/claude-agent/provider.js +113 -113
  603. package/dist/plugin/provider/claude-agent/session.js +113 -113
  604. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  605. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  606. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  607. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  608. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  609. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  610. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  611. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  612. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  613. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  614. package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
  615. package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
  616. package/dist/plugin/provider/configured.js +127 -127
  617. package/dist/plugin/provider/credential-settings.js +88 -88
  618. package/dist/plugin/provider/databricks.js +1 -1
  619. package/dist/plugin/provider/digitalocean.js +110 -110
  620. package/dist/plugin/provider/dynamic.js +2 -2
  621. package/dist/plugin/provider/github-copilot.js +112 -112
  622. package/dist/plugin/provider/gitlab.js +111 -111
  623. package/dist/plugin/provider/google-vertex.js +128 -128
  624. package/dist/plugin/provider/kilo.js +1 -1
  625. package/dist/plugin/provider/llmgateway.js +89 -89
  626. package/dist/plugin/provider/lmstudio.js +142 -142
  627. package/dist/plugin/provider/local.js +141 -141
  628. package/dist/plugin/provider/modal.js +109 -109
  629. package/dist/plugin/provider/neon.js +1 -1
  630. package/dist/plugin/provider/nvidia.js +1 -1
  631. package/dist/plugin/provider/ollama.js +144 -144
  632. package/dist/plugin/provider/openai-context-caps.js +107 -107
  633. package/dist/plugin/provider/openai.js +137 -137
  634. package/dist/plugin/provider/opencode-watches.js +4 -4
  635. package/dist/plugin/provider/opencode.js +163 -162
  636. package/dist/plugin/provider/openrouter.js +105 -105
  637. package/dist/plugin/provider/poe.js +91 -91
  638. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  639. package/dist/plugin/provider/refresh.js +89 -89
  640. package/dist/plugin/provider/sap-ai-core.js +105 -105
  641. package/dist/plugin/provider/sdk-factory.js +1 -1
  642. package/dist/plugin/provider/snowflake-cortex.js +133 -133
  643. package/dist/plugin/provider/vllm.js +144 -144
  644. package/dist/plugin/provider/xai.js +105 -105
  645. package/dist/plugin/provider/zenmux.js +1 -1
  646. package/dist/plugin/provider.js +242 -241
  647. package/dist/plugin/sdk.js +87 -87
  648. package/dist/plugin/service.js +3 -3
  649. package/dist/plugin/skill.js +154 -153
  650. package/dist/plugin/source-directory.js +1 -1
  651. package/dist/plugin/supervisor.js +426 -424
  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 +107 -107
  657. package/dist/plugin/warming.js +131 -131
  658. package/dist/plugin/websearch/exa.js +6 -6
  659. package/dist/plugin/websearch/firecrawl.js +9 -9
  660. package/dist/plugin/websearch/index.js +10 -10
  661. package/dist/plugin/websearch/mcp.js +4 -4
  662. package/dist/plugin/websearch/parallel.js +9 -9
  663. package/dist/plugin/websearch/provider.js +5 -5
  664. package/dist/plugin/websearch/tavily.js +7 -7
  665. package/dist/plugin/websearch/tinyfish.js +9 -9
  666. package/dist/plugin.js +262 -260
  667. package/dist/project/icon.js +5 -5
  668. package/dist/project/schema.js +2 -2
  669. package/dist/project/sql.js +4 -4
  670. package/dist/project.js +97 -97
  671. package/dist/provider.js +113 -113
  672. package/dist/pty/protocol.js +1 -1
  673. package/dist/pty/ticket.js +1 -1
  674. package/dist/pty.js +113 -113
  675. package/dist/reference/instructions.js +100 -99
  676. package/dist/reference.js +103 -103
  677. package/dist/repository-cache.js +93 -93
  678. package/dist/repository.js +1 -1
  679. package/dist/ripgrep/binary.js +2 -2
  680. package/dist/ripgrep.js +111 -111
  681. package/dist/rpc.js +99 -99
  682. package/dist/schedule/check.js +256 -254
  683. package/dist/schedule/sql.js +6 -6
  684. package/dist/schedule.js +264 -262
  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 +133 -133
  689. package/dist/session/command.js +85 -85
  690. package/dist/session/compaction.js +175 -174
  691. package/dist/session/context.js +208 -206
  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 +280 -278
  697. package/dist/session/execution/subagent-report.js +145 -144
  698. package/dist/session/execution.js +176 -175
  699. package/dist/session/generate.js +208 -206
  700. package/dist/session/history.js +141 -140
  701. package/dist/session/inbox.js +150 -149
  702. package/dist/session/info.js +3 -3
  703. package/dist/session/instruction-entry.js +89 -88
  704. package/dist/session/instruction-state.js +9 -8
  705. package/dist/session/instructions.js +148 -147
  706. package/dist/session/message-updater.js +4 -4
  707. package/dist/session/message.js +1 -1
  708. package/dist/session/model-request.js +173 -172
  709. package/dist/session/model-transport.js +9 -9
  710. package/dist/session/move.js +176 -175
  711. package/dist/session/projector.js +148 -147
  712. package/dist/session/prompt.js +153 -152
  713. package/dist/session/recent-text.js +1 -1
  714. package/dist/session/revert.js +144 -143
  715. package/dist/session/run-coordinator.js +1 -1
  716. package/dist/session/runner/index.js +3 -3
  717. package/dist/session/runner/llm.js +261 -259
  718. package/dist/session/runner/max-steps.js +1 -1
  719. package/dist/session/runner/model.js +115 -115
  720. package/dist/session/runner/publish-llm-event.js +155 -154
  721. package/dist/session/runner/retry.js +5 -5
  722. package/dist/session/runner/step.js +166 -165
  723. package/dist/session/runner/to-llm-message.js +142 -141
  724. package/dist/session/schema.js +5 -5
  725. package/dist/session/session.js +196 -195
  726. package/dist/session/shell.js +149 -149
  727. package/dist/session/skill.js +152 -151
  728. package/dist/session/sql.js +5 -5
  729. package/dist/session/stats.js +87 -87
  730. package/dist/session/store.js +147 -146
  731. package/dist/session/stored.js +2 -2
  732. package/dist/session/subagent-completion.js +1 -1
  733. package/dist/session/subagent-job.js +175 -174
  734. package/dist/session/system-prompt.js +5 -5
  735. package/dist/session/title.js +206 -204
  736. package/dist/session/to-session-error.js +154 -153
  737. package/dist/session/transfer.js +263 -261
  738. package/dist/session/usage.js +1 -1
  739. package/dist/session.js +251 -249
  740. package/dist/shared-cache.js +5 -5
  741. package/dist/shell/parse.js +6 -6
  742. package/dist/shell/result.js +1 -1
  743. package/dist/shell/scan.js +1 -1
  744. package/dist/shell/select.js +13 -13
  745. package/dist/shell.js +151 -151
  746. package/dist/skill/discovery.js +6 -6
  747. package/dist/skill/instructions.js +156 -155
  748. package/dist/skill.js +161 -160
  749. package/dist/snapshot.js +104 -104
  750. package/dist/state.js +1 -1
  751. package/dist/tool/html-markdown.js +1 -1
  752. package/dist/tool/http-body.js +1 -1
  753. package/dist/tool/mcp.js +191 -189
  754. package/dist/tool/plugin/artifact.js +246 -244
  755. package/dist/tool/plugin/edit.js +172 -171
  756. package/dist/tool/plugin/file-diff.js +1 -1
  757. package/dist/tool/plugin/glob.js +176 -175
  758. package/dist/tool/plugin/grep.js +175 -174
  759. package/dist/tool/plugin/image-generate.js +257 -255
  760. package/dist/tool/plugin/mcp-events.js +168 -166
  761. package/dist/tool/plugin/mcp-resource.js +172 -170
  762. package/dist/tool/plugin/opencode.js +168 -167
  763. package/dist/tool/plugin/patch.js +169 -168
  764. package/dist/tool/plugin/question.js +151 -150
  765. package/dist/tool/plugin/read.js +177 -176
  766. package/dist/tool/plugin/schedule.js +262 -260
  767. package/dist/tool/plugin/shell.js +251 -249
  768. package/dist/tool/plugin/skill.js +162 -161
  769. package/dist/tool/plugin/subagent.js +253 -251
  770. package/dist/tool/plugin/todo.js +158 -157
  771. package/dist/tool/plugin/webfetch.js +162 -161
  772. package/dist/tool/plugin/websearch.js +160 -159
  773. package/dist/tool/plugin/write.js +173 -172
  774. package/dist/tool/read-filesystem.js +114 -114
  775. package/dist/tool/runtime.js +1 -1
  776. package/dist/tool/search.js +109 -109
  777. package/dist/tool-output.js +7 -7
  778. package/dist/tool.js +165 -164
  779. package/dist/types/mcp/client.d.ts +7 -16
  780. package/dist/types/mcp/event-errors.d.ts +25 -0
  781. package/dist/types/mcp/index.d.ts +40 -0
  782. package/dist/types/util/canonical-json.d.ts +2 -0
  783. package/dist/usage-limits.js +96 -96
  784. package/dist/util/canonical-json.js +6 -0
  785. package/dist/util/error-summary.js +1 -1
  786. package/dist/util/git-executable.js +3 -3
  787. package/dist/util/lazy.js +1 -1
  788. package/dist/util/slug.js +1 -1
  789. package/dist/util/token.js +1 -1
  790. package/dist/util/which.js +1 -1
  791. package/dist/util/wildcard.js +1 -1
  792. package/dist/v1/config/agent.js +7 -7
  793. package/dist/v1/config/command.js +5 -5
  794. package/dist/v1/config/mcp.js +4 -4
  795. package/dist/v1/config/migrate.js +106 -106
  796. package/dist/v1/config/permission.js +3 -3
  797. package/dist/v1/config/plugin.js +3 -3
  798. package/dist/v1/config/provider-options.js +1 -1
  799. package/dist/v1/config/provider.js +4 -4
  800. package/dist/variant.js +105 -105
  801. package/dist/vcs/patch.js +1 -1
  802. package/dist/vcs.js +102 -102
  803. package/dist/voice.js +95 -95
  804. package/dist/websearch.js +89 -89
  805. package/dist/wellknown/plugin.js +87 -87
  806. package/dist/wellknown.js +92 -92
  807. package/dist/workspace/driver.js +7 -7
  808. package/dist/workspace/sql.js +1 -1
  809. package/dist/workspace.js +93 -93
  810. package/dist/worktree/directory.js +2 -2
  811. package/dist/worktree/git.js +9 -9
  812. package/dist/worktree/sql.js +5 -5
  813. package/dist/worktree/strategies.js +102 -102
  814. package/dist/worktree.js +111 -111
  815. package/package.json +9 -9
  816. package/dist/chunks/state-3k8dzdg4.js +0 -273
  817. package/dist/chunks/state-5zcyx99g.js +0 -16
  818. package/dist/chunks/state-9bjnw33a.js +0 -35
  819. package/dist/chunks/state-ezna1kdx.js +0 -18
  820. package/dist/chunks/state-hww5z1ja.js +0 -26
  821. /package/dist/chunks/{state-0qkdqm5v.js → model-retry-0qkdqm5v.js} +0 -0
  822. /package/dist/chunks/{state-0zkw76rk.js → model-retry-0zkw76rk.js} +0 -0
  823. /package/dist/chunks/{state-17cy0kzp.js → model-retry-17cy0kzp.js} +0 -0
  824. /package/dist/chunks/{state-1cnp2v09.js → model-retry-1cnp2v09.js} +0 -0
  825. /package/dist/chunks/{state-1kah00gy.js → model-retry-1kah00gy.js} +0 -0
  826. /package/dist/chunks/{state-24dcb14g.js → model-retry-24dcb14g.js} +0 -0
  827. /package/dist/chunks/{state-2710q6r3.js → model-retry-2710q6r3.js} +0 -0
  828. /package/dist/chunks/{state-2c3vjs8z.js → model-retry-2c3vjs8z.js} +0 -0
  829. /package/dist/chunks/{state-359p4xyc.js → model-retry-359p4xyc.js} +0 -0
  830. /package/dist/chunks/{state-3v8g72cx.js → model-retry-3v8g72cx.js} +0 -0
  831. /package/dist/chunks/{state-43n2bw4t.js → model-retry-43n2bw4t.js} +0 -0
  832. /package/dist/chunks/{state-4knz6hnm.js → model-retry-4knz6hnm.js} +0 -0
  833. /package/dist/chunks/{state-4qk9sjk2.js → model-retry-4qk9sjk2.js} +0 -0
  834. /package/dist/chunks/{state-53557ph1.js → model-retry-53557ph1.js} +0 -0
  835. /package/dist/chunks/{state-5w3e23ze.js → model-retry-5w3e23ze.js} +0 -0
  836. /package/dist/chunks/{state-6agm2x70.js → model-retry-6agm2x70.js} +0 -0
  837. /package/dist/chunks/{state-6prwharc.js → model-retry-6prwharc.js} +0 -0
  838. /package/dist/chunks/{state-6q2bdcd1.js → model-retry-6q2bdcd1.js} +0 -0
  839. /package/dist/chunks/{state-7akdwqpd.js → model-retry-7akdwqpd.js} +0 -0
  840. /package/dist/chunks/{state-7m9af43g.js → model-retry-7m9af43g.js} +0 -0
  841. /package/dist/chunks/{state-7rvsyqjv.js → model-retry-7rvsyqjv.js} +0 -0
  842. /package/dist/chunks/{state-822emrt2.js → model-retry-822emrt2.js} +0 -0
  843. /package/dist/chunks/{state-84wd9syh.js → model-retry-84wd9syh.js} +0 -0
  844. /package/dist/chunks/{state-88xbtdfr.js → model-retry-88xbtdfr.js} +0 -0
  845. /package/dist/chunks/{state-8n3pysct.js → model-retry-8n3pysct.js} +0 -0
  846. /package/dist/chunks/{state-8wj87zfr.js → model-retry-8wj87zfr.js} +0 -0
  847. /package/dist/chunks/{state-9a4afbnw.js → model-retry-9a4afbnw.js} +0 -0
  848. /package/dist/chunks/{state-9rqn6x4v.js → model-retry-9rqn6x4v.js} +0 -0
  849. /package/dist/chunks/{state-aqzs7mqg.js → model-retry-aqzs7mqg.js} +0 -0
  850. /package/dist/chunks/{state-atq7p7m5.js → model-retry-atq7p7m5.js} +0 -0
  851. /package/dist/chunks/{state-beh6qq61.js → model-retry-beh6qq61.js} +0 -0
  852. /package/dist/chunks/{state-bkyjaxrp.js → model-retry-bkyjaxrp.js} +0 -0
  853. /package/dist/chunks/{state-bmr6ed5q.js → model-retry-bmr6ed5q.js} +0 -0
  854. /package/dist/chunks/{state-cf4snx6d.js → model-retry-cf4snx6d.js} +0 -0
  855. /package/dist/chunks/{state-cqv5kn06.js → model-retry-cqv5kn06.js} +0 -0
  856. /package/dist/chunks/{state-cvy3z8tj.js → model-retry-cvy3z8tj.js} +0 -0
  857. /package/dist/chunks/{state-d9fn303g.js → model-retry-d9fn303g.js} +0 -0
  858. /package/dist/chunks/{state-d9jj8t3e.js → model-retry-d9jj8t3e.js} +0 -0
  859. /package/dist/chunks/{state-df08tz66.js → model-retry-df08tz66.js} +0 -0
  860. /package/dist/chunks/{state-dy18nga0.js → model-retry-dy18nga0.js} +0 -0
  861. /package/dist/chunks/{state-e5kj55wp.js → model-retry-e5kj55wp.js} +0 -0
  862. /package/dist/chunks/{state-ean2d8b5.js → model-retry-ean2d8b5.js} +0 -0
  863. /package/dist/chunks/{state-ec1grn59.js → model-retry-ec1grn59.js} +0 -0
  864. /package/dist/chunks/{state-emrn6kk6.js → model-retry-emrn6kk6.js} +0 -0
  865. /package/dist/chunks/{state-f0mxakyp.js → model-retry-f0mxakyp.js} +0 -0
  866. /package/dist/chunks/{state-f6n9ztr4.js → model-retry-f6n9ztr4.js} +0 -0
  867. /package/dist/chunks/{state-faypxj3z.js → model-retry-faypxj3z.js} +0 -0
  868. /package/dist/chunks/{state-fd410y7t.js → model-retry-fd410y7t.js} +0 -0
  869. /package/dist/chunks/{state-fkpq3x5p.js → model-retry-fkpq3x5p.js} +0 -0
  870. /package/dist/chunks/{state-g86h250q.js → model-retry-g86h250q.js} +0 -0
  871. /package/dist/chunks/{state-gebd4c9n.js → model-retry-gebd4c9n.js} +0 -0
  872. /package/dist/chunks/{state-gftt206x.js → model-retry-gftt206x.js} +0 -0
  873. /package/dist/chunks/{state-hcxmzztb.js → model-retry-hcxmzztb.js} +0 -0
  874. /package/dist/chunks/{state-hk9envan.js → model-retry-hk9envan.js} +0 -0
  875. /package/dist/chunks/{state-j2ntwpah.js → model-retry-j2ntwpah.js} +0 -0
  876. /package/dist/chunks/{state-jjkms2e6.js → model-retry-jjkms2e6.js} +0 -0
  877. /package/dist/chunks/{state-jr7sbwjy.js → model-retry-jr7sbwjy.js} +0 -0
  878. /package/dist/chunks/{state-jwfs4k6c.js → model-retry-jwfs4k6c.js} +0 -0
  879. /package/dist/chunks/{state-jwr30sdr.js → model-retry-jwr30sdr.js} +0 -0
  880. /package/dist/chunks/{state-jzg6c2d5.js → model-retry-jzg6c2d5.js} +0 -0
  881. /package/dist/chunks/{state-m18g726c.js → model-retry-m18g726c.js} +0 -0
  882. /package/dist/chunks/{state-mp448xyj.js → model-retry-mp448xyj.js} +0 -0
  883. /package/dist/chunks/{state-msx8hqn2.js → model-retry-msx8hqn2.js} +0 -0
  884. /package/dist/chunks/{state-n05xt0ee.js → model-retry-n05xt0ee.js} +0 -0
  885. /package/dist/chunks/{state-n3j8tn72.js → model-retry-n3j8tn72.js} +0 -0
  886. /package/dist/chunks/{state-nh4v3znn.js → model-retry-nh4v3znn.js} +0 -0
  887. /package/dist/chunks/{state-njntx4h6.js → model-retry-njntx4h6.js} +0 -0
  888. /package/dist/chunks/{state-p71gwv9c.js → model-retry-p71gwv9c.js} +0 -0
  889. /package/dist/chunks/{state-q3sfg36h.js → model-retry-q3sfg36h.js} +0 -0
  890. /package/dist/chunks/{state-q74kybfr.js → model-retry-q74kybfr.js} +0 -0
  891. /package/dist/chunks/{state-qb87gjwd.js → model-retry-qb87gjwd.js} +0 -0
  892. /package/dist/chunks/{state-qfa1cgps.js → model-retry-qfa1cgps.js} +0 -0
  893. /package/dist/chunks/{state-qg3g05ea.js → model-retry-qg3g05ea.js} +0 -0
  894. /package/dist/chunks/{state-qrg20bc0.js → model-retry-qrg20bc0.js} +0 -0
  895. /package/dist/chunks/{state-rcb2kzg1.js → model-retry-rcb2kzg1.js} +0 -0
  896. /package/dist/chunks/{state-sdp7kfr6.js → model-retry-sdp7kfr6.js} +0 -0
  897. /package/dist/chunks/{state-ssg3fenm.js → model-retry-ssg3fenm.js} +0 -0
  898. /package/dist/chunks/{state-syrav9an.js → model-retry-syrav9an.js} +0 -0
  899. /package/dist/chunks/{state-t03h4f5z.js → model-retry-t03h4f5z.js} +0 -0
  900. /package/dist/chunks/{state-ty7weeps.js → model-retry-ty7weeps.js} +0 -0
  901. /package/dist/chunks/{state-v2dnd5dt.js → model-retry-v2dnd5dt.js} +0 -0
  902. /package/dist/chunks/{state-ve7vex1e.js → model-retry-ve7vex1e.js} +0 -0
  903. /package/dist/chunks/{state-vtarvj67.js → model-retry-vtarvj67.js} +0 -0
  904. /package/dist/chunks/{state-w803qqfp.js → model-retry-w803qqfp.js} +0 -0
  905. /package/dist/chunks/{state-wc3fc9cn.js → model-retry-wc3fc9cn.js} +0 -0
  906. /package/dist/chunks/{state-wer8tq1h.js → model-retry-wer8tq1h.js} +0 -0
  907. /package/dist/chunks/{state-wtztk69x.js → model-retry-wtztk69x.js} +0 -0
  908. /package/dist/chunks/{state-x4th4bpe.js → model-retry-x4th4bpe.js} +0 -0
  909. /package/dist/chunks/{state-y44na4kk.js → model-retry-y44na4kk.js} +0 -0
  910. /package/dist/chunks/{state-y8f7s663.js → model-retry-y8f7s663.js} +0 -0
  911. /package/dist/chunks/{state-ygaqb7jw.js → model-retry-ygaqb7jw.js} +0 -0
  912. /package/dist/chunks/{state-z5v4ffb3.js → model-retry-z5v4ffb3.js} +0 -0
  913. /package/dist/chunks/{state-z9919s4g.js → model-retry-z9919s4g.js} +0 -0
  914. /package/dist/chunks/{state-zxpyjp51.js → model-retry-zxpyjp51.js} +0 -0
  915. /package/dist/chunks/{state-zz5vv3aq.js → model-retry-zz5vv3aq.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service79
3
- } from "./state-6ey5hxvm.js";
2
+ Service65
3
+ } from "./model-retry-vyyswwn4.js";
4
4
  import {
5
5
  Service12
6
- } from "./state-vt4r9rmy.js";
6
+ } from "./model-retry-vt4r9rmy.js";
7
7
  import {
8
8
  observe2
9
- } from "./state-tvtps2q9.js";
9
+ } from "./model-retry-tvtps2q9.js";
10
10
  import {
11
11
  __export
12
- } from "./state-9rqn6x4v.js";
12
+ } from "./model-retry-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
15
  var exports_location_watcher = {};
16
16
  __export(exports_location_watcher, {
17
17
  ConfigLocationWatcherPlugin: () => exports_location_watcher,
18
- Plugin: () => Plugin21
18
+ Plugin: () => Plugin14
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin21 = define({
22
+ var Plugin14 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service79;
25
+ const config = yield* Service65;
26
26
  const policy = yield* Service12;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
@@ -35,4 +35,4 @@ var Plugin21 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin21, exports_location_watcher };
38
+ export { Plugin14, exports_location_watcher };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service93,
3
- node95
4
- } from "./state-yr4nm0tc.js";
2
+ Service92,
3
+ node94
4
+ } from "./model-retry-pnzagfnf.js";
5
5
  import {
6
6
  Service84,
7
- node86
8
- } from "./state-px6wqt9a.js";
7
+ node85
8
+ } from "./model-retry-9es5bg3v.js";
9
9
  import {
10
10
  changes2,
11
11
  create4
12
- } from "./state-40y6dtc2.js";
12
+ } from "./model-retry-40y6dtc2.js";
13
13
  import {
14
14
  __export
15
- } from "./state-9rqn6x4v.js";
15
+ } from "./model-retry-9rqn6x4v.js";
16
16
 
17
17
  // src/websearch.ts
18
18
  var exports_websearch3 = {};
@@ -29,9 +29,9 @@ __export(exports_websearch3, {
29
29
  Response: () => Response2,
30
30
  Result: () => Result2,
31
31
  Selection: () => Selection2,
32
- Service: () => Service21,
32
+ Service: () => Service23,
33
33
  WebSearch: () => exports_websearch3,
34
- node: () => node24
34
+ node: () => node26
35
35
  });
36
36
  import { WebSearch } from "@opencode/schema/websearch";
37
37
  import { SessionEvent } from "@opencode/schema/session-event";
@@ -64,10 +64,10 @@ class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
64
64
  }) {
65
65
  }
66
66
 
67
- class Service21 extends Context.Service()("@opencode/WebSearch") {
67
+ class Service23 extends Context.Service()("@opencode/WebSearch") {
68
68
  }
69
- var layer = Layer.effect(Service21, Effect.gen(function* () {
70
- const bus = yield* Service93;
69
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
70
+ const bus = yield* Service92;
71
71
  const kv = yield* Service84;
72
72
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
73
73
  const cooldowns = new Map;
@@ -131,7 +131,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
131
131
  }
132
132
  return choice ? state.get().providers.get(choice) : undefined;
133
133
  });
134
- return Service21.of({
134
+ return Service23.of({
135
135
  transform: state.transform,
136
136
  reload: state.reload,
137
137
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -188,10 +188,10 @@ function cooldownMillis(value, now) {
188
188
  const date = Date.parse(value);
189
189
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
190
190
  }
191
- var node24 = makeLocationNode({
192
- service: Service21,
191
+ var node26 = makeLocationNode({
192
+ service: Service23,
193
193
  layer,
194
- deps: [node95, node86]
194
+ deps: [node94, node85]
195
195
  });
196
196
 
197
- export { ID8, Provider3, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError3, DisabledError4, RequestError2, Service21, node24, exports_websearch3, Event6 };
197
+ export { ID8, Provider3, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError3, DisabledError4, RequestError2, Service23, node26, exports_websearch3, Event6 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./state-9279jmms.js";
3
+ } from "./model-retry-8ctyhwzp.js";
4
4
 
5
5
  // src/plugin/provider/vllm.ts
6
6
  import { Effect, Schema } from "effect";
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
11
11
  max_model_len: Schema.NullOr(Schema.Int)
12
12
  });
13
13
  var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
14
- var make20 = createLocalProviderPlugin2({
14
+ var make17 = createLocalProviderPlugin2({
15
15
  id: "opencode.provider.vllm",
16
16
  providerID,
17
17
  name: "vLLM",
@@ -26,6 +26,6 @@ var make20 = createLocalProviderPlugin2({
26
26
  context: item.max_model_len
27
27
  })
28
28
  });
29
- var VLLMPlugin2 = make20();
29
+ var VLLMPlugin2 = make17();
30
30
 
31
- export { make20, VLLMPlugin2 };
31
+ export { make17, VLLMPlugin2 };
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service94
3
- } from "./state-0dnk7p9t.js";
2
+ Service93
3
+ } from "./model-retry-3pnjxbxn.js";
4
4
  import {
5
- Service70
6
- } from "./state-cjqsf6bw.js";
5
+ Service94
6
+ } from "./model-retry-0npmn2an.js";
7
7
  import {
8
8
  detect2
9
- } from "./state-4pyp9zr9.js";
9
+ } from "./model-retry-4pyp9zr9.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./state-ezna1kdx.js";
12
+ } from "./model-retry-z7bdqmx5.js";
13
13
  import {
14
- Service76
15
- } from "./state-r0wrga32.js";
14
+ Service64
15
+ } from "./model-retry-1mk73hd7.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./state-edm37t96.js";
19
+ } from "./model-retry-f65x015p.js";
20
20
  import {
21
21
  Ref2,
22
22
  refHash2
23
- } from "./state-fg9p65nk.js";
23
+ } from "./model-retry-fg9p65nk.js";
24
24
  import {
25
25
  read4
26
- } from "./state-s81kawhg.js";
26
+ } from "./model-retry-56q4jy8r.js";
27
27
  import {
28
28
  prepare3,
29
- Service54
30
- } from "./state-wz7en73q.js";
29
+ Service43
30
+ } from "./model-retry-8y9tjgy2.js";
31
31
  import {
32
32
  __export
33
- } from "./state-9rqn6x4v.js";
33
+ } from "./model-retry-9rqn6x4v.js";
34
34
 
35
35
  // src/session/prompt.ts
36
36
  var exports_prompt = {};
@@ -48,7 +48,7 @@ var RESIZABLE_IMAGE_MIMES = new Set(["image/png", "image/jpeg", "image/gif", "im
48
48
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
49
49
  const fs = yield* FSUtil.Service;
50
50
  yield* awaitActivation2;
51
- const hooks = yield* Service76;
51
+ const hooks = yield* Service64;
52
52
  const event = yield* hooks.trigger("session", "prompt", {
53
53
  sessionID: request.session.id,
54
54
  messageID: request.messageID,
@@ -67,7 +67,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
67
67
  const selected = yield* Effect.gen(function* () {
68
68
  if (!requested?.length)
69
69
  return;
70
- const skillService = yield* Service54;
70
+ const skillService = yield* Service43;
71
71
  const prepared = new Map;
72
72
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
73
73
  const name = prepared.get(attachment.id);
@@ -142,14 +142,14 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
142
142
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
143
143
  if (!RESIZABLE_IMAGE_MIMES.has(mime))
144
144
  return { data: Base64.make(data), mime };
145
- const image = yield* Service70;
145
+ const image = yield* Service94;
146
146
  const label = attachmentLabel(input);
147
147
  const content = { uri: label, content: data, encoding: "base64", mime };
148
148
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
149
149
  return { data: Base64.make(normalized.content), mime: normalized.mime };
150
150
  });
151
151
  var readBlobAttachment = Effect.fn("SessionPrompt.readBlobAttachment")(function* (uri) {
152
- const { db } = yield* Service94;
152
+ const { db } = yield* Service93;
153
153
  const blob = yield* read4(db, refHash2(uri));
154
154
  if (!blob)
155
155
  return yield* new AttachmentError2({ uri, message: `Attachment is no longer stored: ${uri}` });
@@ -1,51 +1,51 @@
1
1
  import {
2
- Service64,
3
- node66
4
- } from "./state-awc294qn.js";
2
+ Service87,
3
+ node88
4
+ } from "./model-retry-205ne5q0.js";
5
5
  import {
6
6
  invocation2,
7
- Service73,
8
- node75
9
- } from "./state-smk8519c.js";
7
+ Service60,
8
+ node61
9
+ } from "./model-retry-m2yay7s6.js";
10
10
  import {
11
- Service62,
12
- node64
13
- } from "./state-y8extacy.js";
11
+ Service19,
12
+ node21
13
+ } from "./model-retry-bwgmfgvg.js";
14
14
  import {
15
- Service63,
15
+ Service86,
16
16
  readOptionalText2,
17
17
  syncTextBom2,
18
- node65
19
- } from "./state-7hm90z9h.js";
18
+ node87
19
+ } from "./model-retry-r35w9x31.js";
20
20
  import {
21
- Service66,
22
- node69
23
- } from "./state-r3sws3fk.js";
21
+ Service18,
22
+ node20
23
+ } from "./model-retry-vfz1f8qw.js";
24
24
  import {
25
25
  fileDiff2
26
- } from "./state-6prwharc.js";
26
+ } from "./model-retry-6prwharc.js";
27
27
  import {
28
28
  __export
29
- } from "./state-9rqn6x4v.js";
29
+ } from "./model-retry-9rqn6x4v.js";
30
30
 
31
31
  // src/file-write.ts
32
32
  var exports_file_write = {};
33
33
  __export(exports_file_write, {
34
34
  FileWrite: () => exports_file_write,
35
- Service: () => Service61,
36
- node: () => node63
35
+ Service: () => Service17,
36
+ node: () => node19
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Bom } from "@opencode/util/bom";
40
40
  import { Context, Effect, Layer } from "effect";
41
- class Service61 extends Context.Service()("@opencode/FileWrite") {
41
+ class Service17 extends Context.Service()("@opencode/FileWrite") {
42
42
  }
43
- var layer = Layer.effect(Service61, Effect.gen(function* () {
44
- const access = yield* Service62;
45
- const environment = yield* Service64;
46
- const fileMutation = yield* Service63;
47
- const formatter = yield* Service66;
48
- const permission = yield* Service73;
43
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
44
+ const access = yield* Service19;
45
+ const environment = yield* Service87;
46
+ const fileMutation = yield* Service86;
47
+ const formatter = yield* Service18;
48
+ const permission = yield* Service60;
49
49
  const target = Effect.fn("FileWrite.target")(function* (file, context) {
50
50
  const target = yield* access.resolve({ path: file, kind: "file" });
51
51
  yield* access.authorizeExternal([target], context);
@@ -75,12 +75,12 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
75
75
  yield* authorize(resolved, context, fileDiff2(resolved.resource, current?.text ?? "", Bom.split(input.content).text, current ? "modified" : "added"));
76
76
  return yield* commit(resolved, input.content);
77
77
  });
78
- return Service61.of({ target, authorize, commit, write });
78
+ return Service17.of({ target, authorize, commit, write });
79
79
  }));
80
- var node63 = makeLocationNode({
81
- service: Service61,
80
+ var node19 = makeLocationNode({
81
+ service: Service17,
82
82
  layer,
83
- deps: [node66, node64, node65, node69, node75]
83
+ deps: [node88, node21, node87, node20, node61]
84
84
  });
85
85
 
86
- export { Service61, node63, exports_file_write };
86
+ export { Service17, node19, exports_file_write };
@@ -0,0 +1,10 @@
1
+ // src/util/canonical-json.ts
2
+ function canonicalJson2(value) {
3
+ if (Array.isArray(value))
4
+ return `[${value.map(canonicalJson2).join(",")}]`;
5
+ if (value !== null && typeof value === "object")
6
+ return `{${Object.entries(value).sort(([a], [b]) => a < b ? -1 : a > b ? 1 : 0).map(([key, entry]) => `${JSON.stringify(key)}:${canonicalJson2(entry)}`).join(",")}}`;
7
+ return JSON.stringify(value);
8
+ }
9
+
10
+ export { canonicalJson2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service91,
3
- node93
4
- } from "./state-fzattvf9.js";
2
+ Service90,
3
+ node92
4
+ } from "./model-retry-9edbf5wj.js";
5
5
  import {
6
6
  __export
7
- } from "./state-9rqn6x4v.js";
7
+ } from "./model-retry-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
@@ -12,9 +12,9 @@ __export(exports_location, {
12
12
  Info: () => Info30,
13
13
  Location: () => exports_location,
14
14
  Ref: () => Ref5,
15
- Service: () => Service90,
15
+ Service: () => Service89,
16
16
  boundNode: () => boundNode2,
17
- node: () => node92,
17
+ node: () => node91,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
@@ -22,15 +22,15 @@ import { Info as Info30, Ref as Ref5, response as response2 } from "@opencode/sc
22
22
  import { FSUtil } from "@opencode/util/fs-util";
23
23
  import { LayerNode } from "@opencode/util/effect/layer-node";
24
24
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
25
- class Service90 extends Context.Service()("@opencode/Location") {
25
+ class Service89 extends Context.Service()("@opencode/Location") {
26
26
  }
27
- var node92 = LayerNode.unbound(Service90, tags.values.location);
28
- var layer = (ref) => Layer.effect(Service90, Effect.gen(function* () {
27
+ var node91 = LayerNode.unbound(Service89, tags.values.location);
28
+ var layer = (ref) => Layer.effect(Service89, Effect.gen(function* () {
29
29
  const fs = yield* FSUtil.Service;
30
- const project = yield* Service91;
30
+ const project = yield* Service90;
31
31
  const persist = ref.workspaceID !== undefined || (yield* fs.isDir(ref.directory));
32
32
  const resolved = yield* project.resolve(ref.directory, { persist });
33
- return Service90.of({
33
+ return Service89.of({
34
34
  directory: ref.directory,
35
35
  workspaceID: ref.workspaceID,
36
36
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -38,9 +38,9 @@ var layer = (ref) => Layer.effect(Service90, Effect.gen(function* () {
38
38
  });
39
39
  }));
40
40
  var boundNode2 = (ref) => makeLocationNode({
41
- service: Service90,
41
+ service: Service89,
42
42
  layer: layer(ref),
43
- deps: [FSUtil.node, node93]
43
+ deps: [FSUtil.node, node92]
44
44
  });
45
45
 
46
- export { Info30, Ref5, response2, Service90, node92, boundNode2, exports_location };
46
+ export { Info30, Ref5, response2, Service89, node91, boundNode2, exports_location };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./state-80pdk984.js";
3
+ } from "./model-retry-80pdk984.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./state-z5v4ffb3.js";
6
+ } from "./model-retry-z5v4ffb3.js";
7
7
  import {
8
8
  ID10,
9
9
  Name2
10
- } from "./state-wz7en73q.js";
10
+ } from "./model-retry-8y9tjgy2.js";
11
11
  import {
12
12
  __export
13
- } from "./state-9rqn6x4v.js";
13
+ } from "./model-retry-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./state-wakvkjy4.js";
3
+ } from "./model-retry-wakvkjy4.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./state-034tev2y.js";
6
+ } from "./model-retry-034tev2y.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SessionSchema2
3
- } from "./state-qtf35215.js";
3
+ } from "./model-retry-dtrrxc61.js";
4
4
 
5
5
  // src/job/recovery.ts
6
6
  import { Schema } from "effect";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./model-retry-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/provider/claude-agent/tools/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  ToolHooks: () => exports_hooks,
9
- make: () => make15
9
+ make: () => make12
10
10
  });
11
- function make15(pending) {
11
+ function make12(pending) {
12
12
  const before = async (input) => {
13
13
  if (input.hook_event_name === "PreToolUse")
14
14
  pending.before(input.tool_use_id, input.tool_name);
@@ -28,4 +28,4 @@ function make15(pending) {
28
28
  };
29
29
  }
30
30
 
31
- export { make15, exports_hooks };
31
+ export { make12, exports_hooks };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  server2,
3
3
  headers2
4
- } from "./state-kt3bjfbg.js";
4
+ } from "./model-retry-kt3bjfbg.js";
5
5
  import {
6
- ID18,
7
- Service87,
8
- node89
9
- } from "./state-fgzhd4f7.js";
6
+ ID17,
7
+ Service81,
8
+ node82
9
+ } from "./model-retry-n1hebc3y.js";
10
10
  import {
11
11
  __export
12
- } from "./state-9rqn6x4v.js";
12
+ } from "./model-retry-9rqn6x4v.js";
13
13
 
14
14
  // src/usage-limits.ts
15
15
  var exports_usage_limits = {};
16
16
  __export(exports_usage_limits, {
17
- Info: () => Info3,
18
- Service: () => Service14,
17
+ Info: () => Info5,
18
+ Service: () => Service16,
19
19
  UnavailableError: () => UnavailableError3,
20
20
  UsageLimits: () => exports_usage_limits,
21
21
  layer: () => layer11,
22
- node: () => node16
22
+ node: () => node18
23
23
  });
24
24
  import { Model } from "@opencode/schema/model";
25
25
  import { Money } from "@opencode/schema/money";
@@ -29,20 +29,20 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { httpClient } from "@opencode/util/effect/app-node-platform";
30
30
  import { Context, Duration, Effect, Layer, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
32
- var Info3 = UsageLimits.Info;
32
+ var Info5 = UsageLimits.Info;
33
33
 
34
34
  class UnavailableError3 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
35
35
  message: Schema.String
36
36
  }) {
37
37
  }
38
38
 
39
- class Service14 extends Context.Service()("@opencode/UsageLimits") {
39
+ class Service16 extends Context.Service()("@opencode/UsageLimits") {
40
40
  }
41
- var layer11 = Layer.effect(Service14, Effect.gen(function* () {
42
- const integrations = yield* Service87;
41
+ var layer11 = Layer.effect(Service16, Effect.gen(function* () {
42
+ const integrations = yield* Service81;
43
43
  const http = yield* HttpClient.HttpClient;
44
44
  const get = Effect.fn("UsageLimits.get")(function* () {
45
- const connection = yield* integrations.connection.active(ID18.make("opencode"));
45
+ const connection = yield* integrations.connection.active(ID17.make("opencode"));
46
46
  if (!connection)
47
47
  return;
48
48
  const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError3({ message: error.message })));
@@ -66,12 +66,12 @@ var layer11 = Layer.effect(Service14, Effect.gen(function* () {
66
66
  budgets
67
67
  };
68
68
  });
69
- return Service14.of({ get });
69
+ return Service16.of({ get });
70
70
  }));
71
- var node16 = makeLocationNode({
72
- service: Service14,
71
+ var node18 = makeLocationNode({
72
+ service: Service16,
73
73
  layer: layer11,
74
- deps: [node89, httpClient]
74
+ deps: [node82, httpClient]
75
75
  });
76
76
  var ConsoleBudget = Schema.Struct({
77
77
  ruleID: Schema.String,
@@ -130,4 +130,4 @@ function meter(value) {
130
130
  return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
131
131
  }
132
132
 
133
- export { Info3, UnavailableError3, Service14, layer11, node16, exports_usage_limits };
133
+ export { Info5, UnavailableError3, Service16, layer11, node18, exports_usage_limits };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./model-retry-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -1,42 +1,42 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./state-m90tx7mw.js";
4
+ } from "./model-retry-m90tx7mw.js";
5
5
  import {
6
6
  mergeCapabilities2
7
- } from "./state-3djagcat.js";
7
+ } from "./model-retry-g3gg2kgz.js";
8
8
  import {
9
9
  Document3
10
- } from "./state-xacrkbdt.js";
10
+ } from "./model-retry-3qgwywyc.js";
11
11
  import {
12
12
  latest2,
13
- Service79
14
- } from "./state-6ey5hxvm.js";
13
+ Service65
14
+ } from "./model-retry-vyyswwn4.js";
15
15
  import {
16
16
  supports2,
17
17
  resolve5
18
- } from "./state-evw2hqks.js";
18
+ } from "./model-retry-vp8y8q5k.js";
19
19
  import {
20
20
  observe2
21
- } from "./state-tvtps2q9.js";
21
+ } from "./model-retry-tvtps2q9.js";
22
22
  import {
23
23
  __export
24
- } from "./state-9rqn6x4v.js";
24
+ } from "./model-retry-9rqn6x4v.js";
25
25
 
26
26
  // src/config/plugin/provider.ts
27
- var exports_provider3 = {};
28
- __export(exports_provider3, {
29
- ConfigProviderPlugin: () => exports_provider3,
30
- Plugin: () => Plugin52,
27
+ var exports_provider2 = {};
28
+ __export(exports_provider2, {
29
+ ConfigProviderPlugin: () => exports_provider2,
30
+ Plugin: () => Plugin23,
31
31
  integrate: () => integrate2
32
32
  });
33
33
  import { define } from "@opencode/plugin/effect/plugin";
34
34
  import { Money } from "@opencode/schema/money";
35
35
  import { Effect } from "effect";
36
- var Plugin52 = define({
36
+ var Plugin23 = define({
37
37
  id: "opencode.config.provider",
38
38
  effect: Effect.fn(function* (ctx) {
39
- const config = yield* Service79;
39
+ const config = yield* Service65;
40
40
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
41
41
  yield* ctx.integration.transform((integrations) => {
42
42
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -251,4 +251,4 @@ function overlay(models, providerPackage, item, providerID, id, config, inherit)
251
251
  });
252
252
  }
253
253
 
254
- export { Plugin52, integrate2, exports_provider3 };
254
+ export { Plugin23, integrate2, exports_provider2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  OAuth3
3
- } from "./state-3ck5pzsd.js";
3
+ } from "./model-retry-g95tps0q.js";
4
4
  import {
5
- ID18,
5
+ ID17,
6
6
  MethodID2
7
- } from "./state-fgzhd4f7.js";
7
+ } from "./model-retry-n1hebc3y.js";
8
8
  import {
9
9
  success2,
10
10
  error2
11
- } from "./state-yb20nhc3.js";
11
+ } from "./model-retry-yb20nhc3.js";
12
12
  import {
13
13
  pasted2
14
- } from "./state-z0wbgq7s.js";
14
+ } from "./model-retry-z0wbgq7s.js";
15
15
 
16
16
  // src/plugin/provider/poe.ts
17
17
  import { define } from "@opencode/plugin/effect/plugin";
18
18
  import { Clock, Deferred, Effect, Option, Schema } from "effect";
19
19
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
20
- var integrationID = ID18.make("poe");
20
+ var integrationID = ID17.make("poe");
21
21
  var methodID = MethodID2.make("browser");
22
22
  var clientID = "client_728290227fc048cc9262091a1ea197ea";
23
23
  var issuer = "https://poe.com";