@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,27 +1,27 @@
1
1
  import {
2
2
  useragent2
3
- } from "./state-9bjnw33a.js";
3
+ } from "./model-retry-mgpk6n80.js";
4
4
  import {
5
5
  call2
6
- } from "./state-w2eysc6j.js";
6
+ } from "./model-retry-5enarcya.js";
7
7
  import {
8
- register3
9
- } from "./state-xxschbft.js";
8
+ register8
9
+ } from "./model-retry-nad3qcx8.js";
10
10
  import {
11
11
  __export
12
- } from "./state-9rqn6x4v.js";
12
+ } from "./model-retry-9rqn6x4v.js";
13
13
 
14
14
  // src/plugin/websearch/parallel.ts
15
15
  var exports_parallel = {};
16
16
  __export(exports_parallel, {
17
- Plugin: () => Plugin42,
17
+ Plugin: () => Plugin24,
18
18
  WebSearchParallel: () => exports_parallel,
19
- endpoint: () => endpoint4
19
+ endpoint: () => endpoint2
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Schema } from "effect";
23
23
  import { HttpClient } from "effect/http";
24
- var endpoint4 = "https://search.parallel.ai/mcp";
24
+ var endpoint2 = "https://search.parallel.ai/mcp";
25
25
  var McpInput = Schema.Struct({
26
26
  objective: Schema.String,
27
27
  search_queries: Schema.Array(Schema.String),
@@ -50,16 +50,16 @@ var McpOutput = Schema.Struct({
50
50
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
51
51
  structuredContent: SearchResponse
52
52
  });
53
- var Plugin42 = define({
53
+ var Plugin24 = define({
54
54
  id: "opencode.websearch.parallel",
55
55
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
56
56
  const http = yield* HttpClient.HttpClient;
57
- yield* register3(ctx, {
57
+ yield* register8(ctx, {
58
58
  id: "parallel",
59
59
  name: "Parallel",
60
60
  env: "PARALLEL_API_KEY",
61
61
  execute: (input, credential) => Effect.gen(function* () {
62
- const result = yield* call2(http, endpoint4, "web_search", { input: McpInput, output: McpOutput }, {
62
+ const result = yield* call2(http, endpoint2, "web_search", { input: McpInput, output: McpOutput }, {
63
63
  objective: input.query,
64
64
  search_queries: [input.query]
65
65
  }, {
@@ -82,4 +82,4 @@ var Plugin42 = define({
82
82
  })
83
83
  });
84
84
 
85
- export { endpoint4, Plugin42, exports_parallel };
85
+ export { endpoint2, Plugin24, exports_parallel };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service79
4
- } from "./state-6ey5hxvm.js";
3
+ Service65
4
+ } from "./model-retry-vyyswwn4.js";
5
5
  import {
6
- Service55
7
- } from "./state-gnwx4pxd.js";
6
+ Service73
7
+ } from "./model-retry-mdwjffta.js";
8
8
  import {
9
9
  observe2
10
- } from "./state-tvtps2q9.js";
10
+ } from "./model-retry-tvtps2q9.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/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin35
19
+ Plugin: () => Plugin7
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin35 = define({
23
+ var Plugin7 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service79;
27
- const output = yield* Service55;
26
+ const config = yield* Service65;
27
+ const output = yield* Service73;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin35 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin35, exports_tool_output };
41
+ export { Plugin7, exports_tool_output };
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service83,
3
- layer29,
4
- node85
5
- } from "./state-9bjnw33a.js";
2
+ Service78,
3
+ layer28,
4
+ node79
5
+ } from "./model-retry-mgpk6n80.js";
6
6
  import {
7
7
  latest2,
8
- Service79,
8
+ Service65,
9
9
  testLayer3,
10
- node81
11
- } from "./state-6ey5hxvm.js";
10
+ node66
11
+ } from "./model-retry-vyyswwn4.js";
12
12
  import {
13
13
  __export
14
- } from "./state-9rqn6x4v.js";
14
+ } from "./model-retry-9rqn6x4v.js";
15
15
 
16
16
  // src/flag.ts
17
17
  var exports_flag = {};
18
18
  __export(exports_flag, {
19
19
  Flag: () => exports_flag,
20
20
  Overrides: () => Overrides2,
21
- Service: () => Service78,
21
+ Service: () => Service63,
22
22
  all: () => all2,
23
23
  enabled: () => enabled3,
24
- layer: () => layer25,
25
- node: () => node80,
26
- resolve: () => resolve3,
24
+ layer: () => layer21,
25
+ node: () => node64,
26
+ resolve: () => resolve2,
27
27
  testLayer: () => testLayer2
28
28
  });
29
29
  import { Context, Effect, Layer, Record } from "effect";
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { ConfigFlag } from "@opencode/schema/config/flag";
32
- class Service78 extends Context.Service()("@opencode/Flag") {
32
+ class Service63 extends Context.Service()("@opencode/Flag") {
33
33
  }
34
34
  var Overrides2 = Context.Reference("@opencode/Flag/Overrides", {
35
35
  defaultValue: () => process.env.OPENCODE_FLAGS
36
36
  });
37
37
  var onByDefault = (channel) => channel === "local" || channel === "dev";
38
- function resolve3(input) {
38
+ function resolve2(input) {
39
39
  const env = new Map((input.overrides ?? "").split(",").map((item) => item.trim()).filter(Boolean).map((item) => item.startsWith("-") ? [item.slice(1), false] : [item, true]));
40
40
  const all = env.get(ConfigFlag.wildcard) === true;
41
41
  const experimental = latest2(input.entries, "experimental");
@@ -47,27 +47,27 @@ function resolve3(input) {
47
47
  return { enabled, source };
48
48
  });
49
49
  }
50
- var layer25 = Layer.effect(Service78, Effect.gen(function* () {
51
- const app = yield* Service83;
52
- const config = yield* Service79;
50
+ var layer21 = Layer.effect(Service63, Effect.gen(function* () {
51
+ const app = yield* Service78;
52
+ const config = yield* Service65;
53
53
  const overrides = yield* Overrides2;
54
- const resolveEntries = (entries) => resolve3({ entries, channel: app.channel, overrides });
54
+ const resolveEntries = (entries) => resolve2({ entries, channel: app.channel, overrides });
55
55
  const all = Effect.gen(function* () {
56
56
  return resolveEntries(yield* config.entries());
57
57
  });
58
- return Service78.of({
58
+ return Service63.of({
59
59
  resolve: resolveEntries,
60
60
  all,
61
61
  enabled: (key) => Effect.map(all, (flags) => flags[key].enabled)
62
62
  });
63
63
  }));
64
- var testLayer2 = (entries = [], options) => Layer.fresh(layer25).pipe(Layer.provideMerge(Layer.mergeAll(layer29(options?.app), testLayer3(entries), Layer.succeed(Overrides2, options?.overrides))));
65
- var node80 = makeLocationNode({
66
- service: Service78,
67
- layer: layer25,
68
- deps: [node85, node81]
64
+ var testLayer2 = (entries = [], options) => Layer.fresh(layer21).pipe(Layer.provideMerge(Layer.mergeAll(layer28(options?.app), testLayer3(entries), Layer.succeed(Overrides2, options?.overrides))));
65
+ var node64 = makeLocationNode({
66
+ service: Service63,
67
+ layer: layer21,
68
+ deps: [node79, node66]
69
69
  });
70
- var all2 = Service78.use((flags) => flags.all);
71
- var enabled3 = (key) => Service78.use((flags) => flags.enabled(key));
70
+ var all2 = Service63.use((flags) => flags.all);
71
+ var enabled3 = (key) => Service63.use((flags) => flags.enabled(key));
72
72
 
73
- export { Service78, Overrides2, resolve3, layer25, testLayer2, node80, all2, enabled3, exports_flag };
73
+ export { Service63, Overrides2, resolve2, layer21, testLayer2, node64, all2, enabled3, exports_flag };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./state-syrav9an.js";
3
+ } from "./model-retry-syrav9an.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./model-retry-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/provider/opencode-watches.ts
9
9
  var exports_opencode_watches = {};
@@ -16,7 +16,7 @@ __export(exports_opencode_watches, {
16
16
  WINDOW_LIMIT: () => WINDOW_LIMIT2,
17
17
  fence: () => fence2,
18
18
  header: () => header2,
19
- make: () => make17,
19
+ make: () => make15,
20
20
  shellTarget: () => shellTarget2
21
21
  });
22
22
  import { ToolFailure } from "@opencode/ai/effect";
@@ -77,7 +77,7 @@ var Problem = Schema.Struct({ message: Schema.optional(Schema.String), limit: Sc
77
77
  var ShellInput = Schema.Struct({ command: Schema.String });
78
78
  var ShellOutput = Schema.Struct({ exit: Schema.optional(Schema.Number), output: Schema.String });
79
79
  var hubs = new Map;
80
- var make17 = Effect.fnUntraced(function* (ctx, http) {
80
+ var make15 = Effect.fnUntraced(function* (ctx, http) {
81
81
  const scope = yield* Scope.Scope;
82
82
  let current;
83
83
  const streakKey = (sessionID) => `watch-streak:${sessionID}`;
@@ -476,4 +476,4 @@ ${text}
476
476
  ${ticks}`;
477
477
  }
478
478
 
479
- export { header2, LEASE_CLOSE_CODE2, OVERSIZED_CLOSE_CODE2, ACK_LIMIT2, WINDOW_LIMIT2, PROMPT_LIMIT2, make17, shellTarget2, fence2, exports_opencode_watches };
479
+ export { header2, LEASE_CLOSE_CODE2, OVERSIZED_CLOSE_CODE2, ACK_LIMIT2, WINDOW_LIMIT2, PROMPT_LIMIT2, make15, shellTarget2, fence2, exports_opencode_watches };
@@ -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/image/photon-normalize.ts
6
6
  var exports_photon_normalize = {};
@@ -1,112 +1,112 @@
1
1
  import {
2
- Service94,
3
- node96
4
- } from "./state-0dnk7p9t.js";
2
+ Service93,
3
+ node95
4
+ } from "./model-retry-3pnjxbxn.js";
5
5
  import {
6
- Service90,
7
- node92
8
- } from "./state-3efg5d53.js";
6
+ Service89,
7
+ node91
8
+ } from "./model-retry-aj8dydnj.js";
9
9
  import {
10
10
  VariantID2,
11
11
  Ref3,
12
- Service85,
13
- node87
14
- } from "./state-3djagcat.js";
12
+ Service79,
13
+ node80
14
+ } from "./model-retry-g3gg2kgz.js";
15
15
  import {
16
16
  ID14,
17
- Service77,
18
- node79
19
- } from "./state-narxvgx9.js";
17
+ Service69,
18
+ node70
19
+ } from "./model-retry-dx37v7zm.js";
20
20
  import {
21
21
  AgentNotFoundError2
22
- } from "./state-edm37t96.js";
22
+ } from "./model-retry-f65x015p.js";
23
23
  import {
24
24
  combine2
25
- } from "./state-p94p4v4n.js";
25
+ } from "./model-retry-q5bk3gvt.js";
26
26
  import {
27
27
  entriesForRunner2
28
- } from "./state-g3v06dfq.js";
28
+ } from "./model-retry-gpy0j4f0.js";
29
29
  import {
30
- Service75,
31
- node77
32
- } from "./state-ebxw5th9.js";
30
+ Service61,
31
+ node62
32
+ } from "./model-retry-g3423m7g.js";
33
33
  import {
34
34
  merge2
35
- } from "./state-smk8519c.js";
35
+ } from "./model-retry-m2yay7s6.js";
36
36
  import {
37
- make24
38
- } from "./state-w26ydvkj.js";
37
+ make26
38
+ } from "./model-retry-sztfd69n.js";
39
39
  import {
40
40
  Service48,
41
- node50
42
- } from "./state-e9efqbvz.js";
43
- import {
44
- Service30,
45
- node33
46
- } from "./state-a60yvsvr.js";
41
+ node51
42
+ } from "./model-retry-q16m5d83.js";
47
43
  import {
48
- Service69,
49
- node71
50
- } from "./state-rgceh5wf.js";
44
+ Service33,
45
+ node36
46
+ } from "./model-retry-fn6nr9y6.js";
51
47
  import {
52
- Service67,
53
- node70
54
- } from "./state-15mkcj75.js";
48
+ Service58,
49
+ node59
50
+ } from "./model-retry-cphxwmbb.js";
55
51
  import {
56
- Service28,
57
- node31
58
- } from "./state-3qw8teq0.js";
52
+ Service49,
53
+ node52
54
+ } from "./model-retry-kpyg76p6.js";
59
55
  import {
60
- Service27,
61
- node30
62
- } from "./state-e9embajv.js";
56
+ Service36,
57
+ node39
58
+ } from "./model-retry-cmnqamdd.js";
63
59
  import {
64
- Service25,
65
- node28
66
- } from "./state-tye10t2g.js";
60
+ Service35,
61
+ node38
62
+ } from "./model-retry-1bg07a4w.js";
67
63
  import {
68
- Service26,
69
- node29
70
- } from "./state-6ssbb960.js";
64
+ Service28,
65
+ node32
66
+ } from "./model-retry-pmmk8bnh.js";
71
67
  import {
72
- Service33,
68
+ Service34,
73
69
  node37
74
- } from "./state-627a6t8n.js";
70
+ } from "./model-retry-sykpeafb.js";
75
71
  import {
76
72
  Service31,
77
- node34
78
- } from "./state-v291rggy.js";
73
+ node35
74
+ } from "./model-retry-hffj87vq.js";
75
+ import {
76
+ Service29,
77
+ node33
78
+ } from "./model-retry-wsk3qzh5.js";
79
79
  import {
80
80
  __export
81
- } from "./state-9rqn6x4v.js";
81
+ } from "./model-retry-9rqn6x4v.js";
82
82
 
83
83
  // src/session/context.ts
84
84
  var exports_context = {};
85
85
  __export(exports_context, {
86
- Service: () => Service24,
86
+ Service: () => Service27,
87
87
  SessionContext: () => exports_context,
88
- node: () => node27
88
+ node: () => node31
89
89
  });
90
90
  import { Context, Effect, Layer } from "effect";
91
91
  import { makeLocationNode } from "@opencode/util/effect/app-node";
92
- class Service24 extends Context.Service()("@opencode/SessionContext") {
92
+ class Service27 extends Context.Service()("@opencode/SessionContext") {
93
93
  }
94
- var layer = Layer.effect(Service24, Effect.gen(function* () {
95
- const agents = yield* Service77;
96
- const builtins = yield* Service30;
97
- const model = yield* Service85;
98
- const db = (yield* Service94).db;
94
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
95
+ const agents = yield* Service69;
96
+ const builtins = yield* Service33;
97
+ const model = yield* Service79;
98
+ const db = (yield* Service93).db;
99
99
  const discovery = yield* Service48;
100
- const entries = yield* Service33;
101
- const location = yield* Service90;
102
- const mcpInstructions = yield* Service27;
103
- const mcpTools = yield* Service28;
104
- const models = yield* Service69;
105
- const request = yield* Service31;
106
- const referenceInstructions = yield* Service25;
107
- const skillInstructions = yield* Service26;
108
- const store = yield* Service75;
109
- const registry = yield* Service67;
100
+ const entries = yield* Service31;
101
+ const location = yield* Service89;
102
+ const mcpInstructions = yield* Service35;
103
+ const mcpTools = yield* Service36;
104
+ const models = yield* Service58;
105
+ const request = yield* Service29;
106
+ const referenceInstructions = yield* Service28;
107
+ const skillInstructions = yield* Service34;
108
+ const store = yield* Service61;
109
+ const registry = yield* Service49;
110
110
  const resolveModel = (session, request) => models.resolve(session, model.available, request);
111
111
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
112
112
  const agent = yield* agents.get(ID14.make("title"));
@@ -168,7 +168,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
168
168
  session,
169
169
  agent: { ...agent, info: agent.info },
170
170
  instructions: combine2([
171
- make24(loaded.tools.codeModeCatalog),
171
+ make26(loaded.tools.codeModeCatalog),
172
172
  loaded.mcp,
173
173
  loaded.references,
174
174
  loaded.skills,
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
191
191
  tools: selection.tools
192
192
  };
193
193
  });
194
- return Service24.of({ select, load, resolveModel, selectTitle, request });
194
+ return Service27.of({ select, load, resolveModel, selectTitle, request });
195
195
  }));
196
196
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
197
197
  var minimalVariant = (info) => MINIMAL_REASONING_VARIANTS.find((id) => info.variants.some((item) => item.id === id));
@@ -199,26 +199,26 @@ var lowerVariant = (info, selected) => {
199
199
  const rank = (id) => info.variants.findIndex((item) => item.id === id);
200
200
  return MINIMAL_REASONING_VARIANTS.find((id) => rank(id) !== -1 && (id !== "low" || rank(id) < rank(selected)));
201
201
  };
202
- var node27 = makeLocationNode({
203
- service: Service24,
202
+ var node31 = makeLocationNode({
203
+ service: Service27,
204
204
  layer,
205
205
  deps: [
206
- node79,
207
- node87,
208
- node96,
206
+ node70,
207
+ node80,
208
+ node95,
209
+ node36,
210
+ node51,
211
+ node35,
212
+ node91,
213
+ node38,
214
+ node39,
215
+ node32,
216
+ node59,
209
217
  node33,
210
- node50,
218
+ node62,
211
219
  node37,
212
- node92,
213
- node30,
214
- node31,
215
- node28,
216
- node71,
217
- node34,
218
- node77,
219
- node29,
220
- node70
220
+ node52
221
221
  ]
222
222
  });
223
223
 
224
- export { Service24, node27, exports_context };
224
+ export { Service27, node31, exports_context };
@@ -1,44 +1,44 @@
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
- Service88,
7
- node90
8
- } from "./state-y7v4rbnm.js";
6
+ Service82,
7
+ node83
8
+ } from "./model-retry-3gn5nf8x.js";
9
9
  import {
10
- Service91,
11
- node93
12
- } from "./state-fzattvf9.js";
13
- import {
14
- Ref5,
15
10
  Service90,
16
11
  node92
17
- } from "./state-3efg5d53.js";
12
+ } from "./model-retry-9edbf5wj.js";
13
+ import {
14
+ Ref5,
15
+ Service89,
16
+ node91
17
+ } from "./model-retry-aj8dydnj.js";
18
18
  import {
19
19
  canonical3
20
- } from "./state-wzf5k0ay.js";
20
+ } from "./model-retry-7nbeytcw.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./state-ec1grn59.js";
23
+ } from "./model-retry-ec1grn59.js";
24
24
  import {
25
- Service73,
26
- node75
27
- } from "./state-smk8519c.js";
25
+ Service60,
26
+ node61
27
+ } from "./model-retry-m2yay7s6.js";
28
28
  import {
29
- Service58,
30
- node60
31
- } from "./state-p5memtjr.js";
29
+ Service67,
30
+ node68
31
+ } from "./model-retry-7zpefmmn.js";
32
32
  import {
33
33
  __export
34
- } from "./state-9rqn6x4v.js";
34
+ } from "./model-retry-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service57,
41
- node: () => node59
40
+ Service: () => Service52,
41
+ node: () => node54
42
42
  });
43
43
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -46,15 +46,15 @@ import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
  var durableSessionEventTypes = new Set(SessionEvent2.DurableDefinitions.map((definition) => definition.type));
48
48
 
49
- class Service57 extends Context.Service()("@opencode/LocationLifecycle") {
49
+ class Service52 extends Context.Service()("@opencode/LocationLifecycle") {
50
50
  }
51
- var layer = Layer.effect(Service57, Effect.gen(function* () {
52
- const bus = yield* Service93;
53
- const location = yield* Service90;
54
- const permission = yield* Service73;
55
- const forms = yield* Service88;
56
- const rpc = yield* Service58;
57
- const project = yield* Service91;
51
+ var layer = Layer.effect(Service52, Effect.gen(function* () {
52
+ const bus = yield* Service92;
53
+ const location = yield* Service89;
54
+ const permission = yield* Service60;
55
+ const forms = yield* Service82;
56
+ const rpc = yield* Service67;
57
+ const project = yield* Service90;
58
58
  const scope = yield* Effect.scope;
59
59
  const self = canonical3(Ref5.make({ directory: location.directory, workspaceID: location.workspaceID }));
60
60
  yield* project.activate(location.project.id);
@@ -85,7 +85,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
85
85
  });
86
86
  }).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
87
87
  }).pipe(Effect.uninterruptible);
88
- return Service57.of({
88
+ return Service52.of({
89
89
  isClosed: () => closed,
90
90
  shutdown,
91
91
  awaitShutdown: Deferred.await(done),
@@ -97,10 +97,10 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
97
97
  isRetained: () => retained > 0
98
98
  });
99
99
  }));
100
- var node59 = makeLocationNode({
101
- service: Service57,
100
+ var node54 = makeLocationNode({
101
+ service: Service52,
102
102
  layer,
103
- deps: [node95, node92, node75, node93, node90, node60]
103
+ deps: [node94, node91, node61, node92, node83, node68]
104
104
  });
105
105
 
106
- export { Service57, node59, exports_location_lifecycle };
106
+ export { Service52, node54, exports_location_lifecycle };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./state-s47rahr7.js";
3
+ } from "./model-retry-s47rahr7.js";
4
4
  import {
5
- Service64,
6
- node66
7
- } from "./state-awc294qn.js";
5
+ Service87,
6
+ node88
7
+ } from "./model-retry-205ne5q0.js";
8
8
  import {
9
9
  __export
10
- } from "./state-9rqn6x4v.js";
10
+ } from "./model-retry-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service63,
17
- node: () => node65,
16
+ Service: () => Service86,
17
+ node: () => node87,
18
18
  readOptionalText: () => readOptionalText2,
19
19
  readText: () => readText2,
20
20
  syncTextBom: () => syncTextBom2
@@ -23,7 +23,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer } from "effect";
24
24
  import { FSUtil } from "@opencode/util/fs-util";
25
25
  import { Bom } from "@opencode/util/bom";
26
- class Service63 extends Context.Service()("@opencode/FileMutation") {
26
+ class Service86 extends Context.Service()("@opencode/FileMutation") {
27
27
  }
28
28
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
29
29
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -39,8 +39,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
39
39
  return synced.text;
40
40
  });
41
41
  var transactionLocks = makeUnsafe2();
42
- var layer = Layer.effect(Service63, Effect.gen(function* () {
43
- const environment = yield* Service64;
42
+ var layer = Layer.effect(Service86, Effect.gen(function* () {
43
+ const environment = yield* Service87;
44
44
  const locks = makeUnsafe2();
45
45
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
46
46
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
62
62
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, bom)));
63
63
  return { ...writeResult(input.target, current !== undefined), bom };
64
64
  })));
65
- return Service63.of({ withLock, write, writeTextPreservingBom });
65
+ return Service86.of({ withLock, write, writeTextPreservingBom });
66
66
  }));
67
- var node65 = makeLocationNode({ service: Service63, layer, deps: [node66] });
67
+ var node87 = makeLocationNode({ service: Service86, layer, deps: [node88] });
68
68
 
69
- export { Service63, readText2, readOptionalText2, syncTextBom2, node65, exports_file_mutation };
69
+ export { Service86, readText2, readOptionalText2, syncTextBom2, node87, exports_file_mutation };