@opencode/core 0.0.0-dev-1294 → 0.0.0-dev-1296

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 (914) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  3. package/dist/aisdk-native.js +1 -1
  4. package/dist/aisdk.js +109 -109
  5. package/dist/app.js +7 -7
  6. package/dist/artifact.js +264 -264
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{formatter-034tev2y.js → model-retry-034tev2y.js} +2 -2
  9. package/dist/chunks/{formatter-haksh1nm.js → model-retry-091fm073.js} +10 -10
  10. package/dist/chunks/{formatter-0fvxehme.js → model-retry-0fvxehme.js} +2 -2
  11. package/dist/chunks/{formatter-xd7ffwxg.js → model-retry-0qdv0842.js} +12 -12
  12. package/dist/chunks/model-retry-0t4nwps0.js +16 -0
  13. package/dist/chunks/{formatter-hj0xet7m.js → model-retry-10pn4eb5.js} +5 -5
  14. package/dist/chunks/{formatter-8vnqf0b3.js → model-retry-14f8knpd.js} +19 -19
  15. package/dist/chunks/{formatter-saqprc7x.js → model-retry-15pbjvhv.js} +3 -3
  16. package/dist/chunks/{formatter-fyef4kah.js → model-retry-15q0ymzx.js} +17 -17
  17. package/dist/chunks/{formatter-mfcckmmr.js → model-retry-18hbsgcw.js} +10 -10
  18. package/dist/chunks/{formatter-1aqsckx4.js → model-retry-1aqsckx4.js} +1 -1
  19. package/dist/chunks/{formatter-zwmrnfgc.js → model-retry-1dtzyf2w.js} +27 -27
  20. package/dist/chunks/{formatter-1ep2p91f.js → model-retry-1ep2p91f.js} +2 -2
  21. package/dist/chunks/{formatter-75nm06f1.js → model-retry-1fsgeav2.js} +88 -60
  22. package/dist/chunks/{formatter-rxptv60e.js → model-retry-1ra3771t.js} +3 -3
  23. package/dist/chunks/{formatter-1x2knyw4.js → model-retry-1x2knyw4.js} +1 -1
  24. package/dist/chunks/{formatter-wr3re1en.js → model-retry-1yped5qa.js} +4 -4
  25. package/dist/chunks/{formatter-1yq9hg58.js → model-retry-1yq9hg58.js} +1 -1
  26. package/dist/chunks/{formatter-5xbqvg7k.js → model-retry-20fq0wad.js} +24 -24
  27. package/dist/chunks/model-retry-24tp732n.js +26 -0
  28. package/dist/chunks/{formatter-c0fe0nyt.js → model-retry-26wfx3k0.js} +4 -4
  29. package/dist/chunks/{formatter-1afk09fq.js → model-retry-2749z806.js} +14 -14
  30. package/dist/chunks/{formatter-qrjwc0ab.js → model-retry-2b7whw4a.js} +30 -30
  31. package/dist/chunks/{formatter-2q7w2n5y.js → model-retry-2bxdgvd9.js} +20 -20
  32. package/dist/chunks/{formatter-ppvn17ey.js → model-retry-2edbhpy5.js} +9 -9
  33. package/dist/chunks/{formatter-2fc7eemy.js → model-retry-2fc7eemy.js} +1 -1
  34. package/dist/chunks/{formatter-fwh96pc6.js → model-retry-2grzewjw.js} +20 -20
  35. package/dist/chunks/{formatter-h9cw37xw.js → model-retry-2kv0k6r1.js} +10 -10
  36. package/dist/chunks/{formatter-e6rgf6z7.js → model-retry-2r85g90k.js} +23 -23
  37. package/dist/chunks/{formatter-f80thpwy.js → model-retry-2s9mae96.js} +6 -6
  38. package/dist/chunks/{formatter-te4ym9cz.js → model-retry-2w22t8ax.js} +41 -41
  39. package/dist/chunks/{formatter-2ytp0tvq.js → model-retry-2ytp0tvq.js} +1 -1
  40. package/dist/chunks/{formatter-9gdt4sfh.js → model-retry-328bf5fx.js} +21 -21
  41. package/dist/chunks/{formatter-bkfnmamh.js → model-retry-349apszt.js} +34 -34
  42. package/dist/chunks/model-retry-3d85xyf4.js +587 -0
  43. package/dist/chunks/{formatter-514vvw19.js → model-retry-3dqq9gn5.js} +1 -1
  44. package/dist/chunks/{formatter-3hepkmqq.js → model-retry-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{formatter-1rtj8tn6.js → model-retry-3k3x9sbj.js} +5 -5
  46. package/dist/chunks/{formatter-tay08eyj.js → model-retry-3k7mf083.js} +12 -12
  47. package/dist/chunks/{formatter-rbvnf4ks.js → model-retry-3k8betg3.js} +18 -18
  48. package/dist/chunks/{formatter-k15h447b.js → model-retry-3kzj6mg1.js} +20 -20
  49. package/dist/chunks/{formatter-kjpcdd93.js → model-retry-3m2czhe6.js} +6 -6
  50. package/dist/chunks/{formatter-gs70f3rg.js → model-retry-3n83wc2c.js} +6 -6
  51. package/dist/chunks/{formatter-3nnrz6f6.js → model-retry-3nnrz6f6.js} +1 -1
  52. package/dist/chunks/{formatter-2bvj0tyw.js → model-retry-3q73yqpv.js} +19 -19
  53. package/dist/chunks/{formatter-wp9rabm0.js → model-retry-3sjmqfd8.js} +17 -17
  54. package/dist/chunks/{formatter-633zrvc0.js → model-retry-3tnz5sgn.js} +9 -9
  55. package/dist/chunks/{formatter-ya6jhd7d.js → model-retry-3wdg2vz7.js} +29 -29
  56. package/dist/chunks/{formatter-pevw1m5g.js → model-retry-3xwdqzn1.js} +20 -20
  57. package/dist/chunks/{formatter-vm5ant4y.js → model-retry-3zakkr5m.js} +20 -20
  58. package/dist/chunks/{formatter-40y6dtc2.js → model-retry-40y6dtc2.js} +1 -1
  59. package/dist/chunks/{formatter-w2eysc6j.js → model-retry-40za9wsf.js} +9 -9
  60. package/dist/chunks/{formatter-8ye65hwy.js → model-retry-46wp4j5s.js} +15 -15
  61. package/dist/chunks/{formatter-tmxr2s7a.js → model-retry-495vdj1c.js} +8 -8
  62. package/dist/chunks/{formatter-09cv1hcq.js → model-retry-4bfnqy0c.js} +17 -17
  63. package/dist/chunks/{formatter-4dfqsw0d.js → model-retry-4dfqsw0d.js} +1 -1
  64. package/dist/chunks/{formatter-4dx1dgte.js → model-retry-4dx1dgte.js} +1 -1
  65. package/dist/chunks/{formatter-zjks91hc.js → model-retry-4exqcqyt.js} +21 -21
  66. package/dist/chunks/{formatter-4f25tdd0.js → model-retry-4f25tdd0.js} +1 -1
  67. package/dist/chunks/{formatter-kw4np9ag.js → model-retry-4f8ypqyw.js} +2 -2
  68. package/dist/chunks/{formatter-p2vw66gn.js → model-retry-4fqb7bj2.js} +4 -4
  69. package/dist/chunks/{formatter-astymy2y.js → model-retry-4h47fwz8.js} +23 -23
  70. package/dist/chunks/{formatter-66r11b12.js → model-retry-4mhgjeaw.js} +9 -9
  71. package/dist/chunks/{formatter-4v008n1t.js → model-retry-4v008n1t.js} +1 -1
  72. package/dist/chunks/{formatter-s5m9z68j.js → model-retry-4v0y3s2e.js} +28 -28
  73. package/dist/chunks/{formatter-pde3h8sb.js → model-retry-4v4b6x27.js} +35 -35
  74. package/dist/chunks/{formatter-qfdvj3xm.js → model-retry-4ygb74tw.js} +11 -11
  75. package/dist/chunks/{formatter-10veb3z3.js → model-retry-53jrkz5f.js} +5 -5
  76. package/dist/chunks/{formatter-zhh3ssa0.js → model-retry-55phx77e.js} +7 -7
  77. package/dist/chunks/{formatter-jj1w0njq.js → model-retry-57wgnfy6.js} +2 -2
  78. package/dist/chunks/{formatter-3m4fz3hb.js → model-retry-5dshr504.js} +8 -8
  79. package/dist/chunks/{formatter-5m9w47nd.js → model-retry-5m9w47nd.js} +1 -1
  80. package/dist/chunks/{formatter-smwgzt6b.js → model-retry-5r4v1zkh.js} +4 -4
  81. package/dist/chunks/{formatter-rwt90xdw.js → model-retry-5s5sf5ct.js} +19 -19
  82. package/dist/chunks/{formatter-crke0hy6.js → model-retry-5z2vgqsy.js} +15 -15
  83. package/dist/chunks/{formatter-hsqbp4e3.js → model-retry-5z5rge5r.js} +19 -19
  84. package/dist/chunks/{formatter-t8erkws8.js → model-retry-61qraad9.js} +5 -5
  85. package/dist/chunks/{formatter-875etveh.js → model-retry-625axahf.js} +7 -7
  86. package/dist/chunks/{formatter-ztwsqh7x.js → model-retry-64fy8m1r.js} +8 -8
  87. package/dist/chunks/{formatter-h1hvzfh9.js → model-retry-667wgg12.js} +26 -26
  88. package/dist/chunks/{formatter-fs0w54hj.js → model-retry-68j4m5qv.js} +14 -14
  89. package/dist/chunks/{formatter-vt4r9rmy.js → model-retry-6h8vcvjm.js} +9 -9
  90. package/dist/chunks/{formatter-vwjkfnk2.js → model-retry-6jz6cj67.js} +5 -5
  91. package/dist/chunks/{formatter-e5rky726.js → model-retry-6tndtenk.js} +29 -29
  92. package/dist/chunks/{formatter-6d0ke9pc.js → model-retry-6vhg36rj.js} +14 -14
  93. package/dist/chunks/{formatter-ymhcxh1d.js → model-retry-6xqsykwa.js} +96 -96
  94. package/dist/chunks/{formatter-9efj75yn.js → model-retry-71fn3hf3.js} +40 -40
  95. package/dist/chunks/{formatter-5tda77qk.js → model-retry-76can8nc.js} +13 -13
  96. package/dist/chunks/{formatter-80mg3ag8.js → model-retry-775hqbnd.js} +3 -3
  97. package/dist/chunks/{formatter-18w9amv2.js → model-retry-77n50j8n.js} +4 -4
  98. package/dist/chunks/{formatter-fhwbhm4t.js → model-retry-7az9823q.js} +4 -4
  99. package/dist/chunks/{formatter-7bmhse3q.js → model-retry-7bmhse3q.js} +1 -1
  100. package/dist/chunks/{formatter-g25zmjdc.js → model-retry-7j1a3wmk.js} +11 -11
  101. package/dist/chunks/{formatter-0jk88157.js → model-retry-7mkaydvr.js} +16 -16
  102. package/dist/chunks/{formatter-xy9mx054.js → model-retry-7n1c2gf8.js} +25 -25
  103. package/dist/chunks/{formatter-284qbwak.js → model-retry-7r81nz66.js} +40 -40
  104. package/dist/chunks/{formatter-7tx5zndv.js → model-retry-7tx5zndv.js} +2 -2
  105. package/dist/chunks/{formatter-p4s9564z.js → model-retry-7vhxchqw.js} +29 -29
  106. package/dist/chunks/{formatter-bes4ktrd.js → model-retry-7vz66qdt.js} +5 -5
  107. package/dist/chunks/{formatter-7w2ypzdf.js → model-retry-7w2ypzdf.js} +1 -1
  108. package/dist/chunks/{formatter-7weczvnd.js → model-retry-7weczvnd.js} +1 -1
  109. package/dist/chunks/model-retry-7wng9pms.js +273 -0
  110. package/dist/chunks/{formatter-7zs4mqwf.js → model-retry-7zs4mqwf.js} +1 -1
  111. package/dist/chunks/{formatter-80pdk984.js → model-retry-80pdk984.js} +1 -1
  112. package/dist/chunks/{formatter-vpa8zgt8.js → model-retry-80zs2z7e.js} +28 -28
  113. package/dist/chunks/{formatter-wx6nv8fq.js → model-retry-815bscc5.js} +5 -5
  114. package/dist/chunks/{formatter-85jq8dht.js → model-retry-85jq8dht.js} +1 -1
  115. package/dist/chunks/{formatter-8b3vzgkx.js → model-retry-8b3vzgkx.js} +1 -1
  116. package/dist/chunks/{formatter-97yxev1x.js → model-retry-8c5thnyc.js} +7 -7
  117. package/dist/chunks/{formatter-8gc9kz7m.js → model-retry-8ck4vskz.js} +36 -36
  118. package/dist/chunks/{formatter-1twmh811.js → model-retry-8h6qcqsp.js} +17 -17
  119. package/dist/chunks/{formatter-8kjyvwy5.js → model-retry-8kjyvwy5.js} +1 -1
  120. package/dist/chunks/{formatter-x1rh6vcx.js → model-retry-8kztn3dj.js} +5 -5
  121. package/dist/chunks/{formatter-0p8fz9ey.js → model-retry-8rs0m7ne.js} +25 -25
  122. package/dist/chunks/{formatter-8sxe6kv8.js → model-retry-8sxe6kv8.js} +2 -2
  123. package/dist/chunks/{formatter-d66h0vnz.js → model-retry-8vyyfba0.js} +11 -11
  124. package/dist/chunks/{formatter-8wtp7s3z.js → model-retry-8wtp7s3z.js} +1 -1
  125. package/dist/chunks/{formatter-8zv0xmg5.js → model-retry-8zv0xmg5.js} +1 -1
  126. package/dist/chunks/{formatter-4rz36ceb.js → model-retry-927fj99d.js} +20 -20
  127. package/dist/chunks/{formatter-zyfhsknv.js → model-retry-963hk181.js} +9 -9
  128. package/dist/chunks/{formatter-nyxvepra.js → model-retry-9g3vqnsq.js} +9 -9
  129. package/dist/chunks/{formatter-zv324z0d.js → model-retry-9kb7cvqj.js} +11 -11
  130. package/dist/chunks/{formatter-87yq9eva.js → model-retry-9xf3pksr.js} +25 -25
  131. package/dist/chunks/{formatter-9zfcngb4.js → model-retry-9zfcngb4.js} +3 -3
  132. package/dist/chunks/{formatter-vfrym1mm.js → model-retry-a0h9n4yn.js} +21 -21
  133. package/dist/chunks/{formatter-dgjqzpns.js → model-retry-a5hn6end.js} +3 -3
  134. package/dist/chunks/model-retry-a610t88q.js +18 -0
  135. package/dist/chunks/{formatter-3k1xqshc.js → model-retry-a84bsdq1.js} +2 -2
  136. package/dist/chunks/{formatter-b9t4mw29.js → model-retry-ag6d02bt.js} +16 -16
  137. package/dist/chunks/{formatter-6y2b864j.js → model-retry-agje4kmn.js} +4 -4
  138. package/dist/chunks/{formatter-1065azbp.js → model-retry-akfm4532.js} +6 -6
  139. package/dist/chunks/{formatter-rzg6y5rp.js → model-retry-anvcme1c.js} +4 -4
  140. package/dist/chunks/{formatter-e3jrxgpp.js → model-retry-apgx4zf7.js} +20 -20
  141. package/dist/chunks/{formatter-gwh4e7sy.js → model-retry-aq48hhzx.js} +21 -21
  142. package/dist/chunks/{formatter-ayjs7tqn.js → model-retry-ayjs7tqn.js} +2 -2
  143. package/dist/chunks/{formatter-zqzpkhyt.js → model-retry-b2adpddk.js} +13 -13
  144. package/dist/chunks/{formatter-75a2gs08.js → model-retry-b7nkz392.js} +1 -1
  145. package/dist/chunks/{formatter-ftmc7284.js → model-retry-bbyh8hwm.js} +4 -4
  146. package/dist/chunks/{formatter-jxaybbka.js → model-retry-bfpzgz6w.js} +5 -5
  147. package/dist/chunks/{formatter-jjp0376k.js → model-retry-bmg41xmg.js} +42 -42
  148. package/dist/chunks/{formatter-x061st40.js → model-retry-bmxgvxbw.js} +16 -16
  149. package/dist/chunks/{formatter-98m3s5a8.js → model-retry-bq6zz71s.js} +20 -20
  150. package/dist/chunks/{formatter-h9rpx784.js → model-retry-bq828n5y.js} +32 -32
  151. package/dist/chunks/{formatter-bstexjd6.js → model-retry-bstexjd6.js} +1 -1
  152. package/dist/chunks/{formatter-jbgt7846.js → model-retry-bt78nyr8.js} +9 -9
  153. package/dist/chunks/{formatter-s31xv9rs.js → model-retry-c3fgcd3v.js} +40 -40
  154. package/dist/chunks/{formatter-bmw1c1w2.js → model-retry-c5m2a8vb.js} +8 -8
  155. package/dist/chunks/{formatter-v62q6mjx.js → model-retry-c5mv65df.js} +8 -8
  156. package/dist/chunks/{formatter-jbca85dn.js → model-retry-c5zvymhv.js} +4 -4
  157. package/dist/chunks/{formatter-3ryz99p0.js → model-retry-c6x7d2ts.js} +4 -4
  158. package/dist/chunks/{formatter-b1t3h42q.js → model-retry-cay00gdv.js} +26 -26
  159. package/dist/chunks/{formatter-vg2ks647.js → model-retry-cde8qab1.js} +13 -13
  160. package/dist/chunks/{formatter-ee62m3wg.js → model-retry-cr571syx.js} +17 -17
  161. package/dist/chunks/{formatter-f3ptgqzf.js → model-retry-cvntc25c.js} +8 -8
  162. package/dist/chunks/{formatter-cwrgdav8.js → model-retry-cwrgdav8.js} +2 -2
  163. package/dist/chunks/{formatter-d4v9tmah.js → model-retry-d4v9tmah.js} +2 -2
  164. package/dist/chunks/{formatter-1y4446k4.js → model-retry-d58fy8mx.js} +35 -35
  165. package/dist/chunks/{formatter-c8g1f16z.js → model-retry-d5n845vw.js} +18 -18
  166. package/dist/chunks/{formatter-n1jv3hnp.js → model-retry-dbbkyw7c.js} +24 -24
  167. package/dist/chunks/{formatter-ftbc3n7f.js → model-retry-dcwr9369.js} +29 -29
  168. package/dist/chunks/{formatter-ebhg4tc3.js → model-retry-dg51p885.js} +84 -84
  169. package/dist/chunks/{formatter-2yn2tdym.js → model-retry-dhhwsjs6.js} +61 -61
  170. package/dist/chunks/{formatter-xyc15gmq.js → model-retry-dhv4mfxz.js} +47 -47
  171. package/dist/chunks/{formatter-kfjk2j2t.js → model-retry-dkmvggzp.js} +4 -4
  172. package/dist/chunks/{formatter-6s29sep7.js → model-retry-dm80djc7.js} +25 -25
  173. package/dist/chunks/{formatter-ztbesdks.js → model-retry-dmtr0n9v.js} +168 -168
  174. package/dist/chunks/{formatter-eeytvfr7.js → model-retry-dt5a52ky.js} +2 -2
  175. package/dist/chunks/{formatter-dt77769w.js → model-retry-dt77769w.js} +1 -1
  176. package/dist/chunks/{formatter-vh2m3kqm.js → model-retry-e0nfbn8k.js} +35 -35
  177. package/dist/chunks/{formatter-0f98ft02.js → model-retry-e3jjhejk.js} +46 -46
  178. package/dist/chunks/{formatter-re955109.js → model-retry-e5ax2xrh.js} +7 -7
  179. package/dist/chunks/{formatter-f9tc5me5.js → model-retry-edm37t96.js} +6 -6
  180. package/dist/chunks/{formatter-2z7m33tr.js → model-retry-ee2edeb1.js} +6 -6
  181. package/dist/chunks/{formatter-eqw4pqj1.js → model-retry-eqw4pqj1.js} +2 -2
  182. package/dist/chunks/{formatter-q08apbdq.js → model-retry-et3bggtj.js} +16 -16
  183. package/dist/chunks/{formatter-v840bdta.js → model-retry-etv4jxej.js} +6 -6
  184. package/dist/chunks/{formatter-fpzzg31c.js → model-retry-ewjgt5mg.js} +9 -9
  185. package/dist/chunks/{formatter-19ah3epb.js → model-retry-ey111c4r.js} +5 -5
  186. package/dist/chunks/{formatter-f2zjpyt5.js → model-retry-f2zjpyt5.js} +2 -2
  187. package/dist/chunks/{formatter-nsza2hwd.js → model-retry-f6mssv9c.js} +14 -14
  188. package/dist/chunks/{formatter-681reqgc.js → model-retry-fcq3f784.js} +8 -8
  189. package/dist/chunks/{formatter-0r5j1y1x.js → model-retry-fd06pqyn.js} +6 -6
  190. package/dist/chunks/{formatter-fg9p65nk.js → model-retry-fg9p65nk.js} +2 -2
  191. package/dist/chunks/{formatter-v3c2n8v6.js → model-retry-fkkr4y2t.js} +23 -23
  192. package/dist/chunks/{formatter-fnrhryqq.js → model-retry-fnrhryqq.js} +1 -1
  193. package/dist/chunks/{formatter-c5kjsz6q.js → model-retry-fstdtr31.js} +4 -4
  194. package/dist/chunks/{formatter-pz2ne4az.js → model-retry-fvy19nrt.js} +15 -15
  195. package/dist/chunks/{formatter-vhe13esa.js → model-retry-g4dya16n.js} +23 -23
  196. package/dist/chunks/{formatter-67s9kfqp.js → model-retry-g4nrtg52.js} +18 -18
  197. package/dist/chunks/{formatter-g4txs7zc.js → model-retry-g4txs7zc.js} +4 -4
  198. package/dist/chunks/{formatter-90fyndgx.js → model-retry-g5hm9gne.js} +28 -28
  199. package/dist/chunks/{formatter-5wyjxme5.js → model-retry-g650r2x6.js} +7 -7
  200. package/dist/chunks/{formatter-gbjdnr5j.js → model-retry-gbjdnr5j.js} +2 -2
  201. package/dist/chunks/{formatter-qbqg5kvw.js → model-retry-gfkj8pg2.js} +17 -17
  202. package/dist/chunks/{formatter-zbj23qj9.js → model-retry-gfq64twp.js} +14 -14
  203. package/dist/chunks/{formatter-ghrv1g9c.js → model-retry-ghrv1g9c.js} +1 -1
  204. package/dist/chunks/{formatter-ejv3gkck.js → model-retry-gssgrah2.js} +4 -4
  205. package/dist/chunks/{formatter-tg7s7b5t.js → model-retry-gxs71cxp.js} +4 -4
  206. package/dist/chunks/{formatter-0b9dpcqh.js → model-retry-gz1wv23a.js} +6 -6
  207. package/dist/chunks/{formatter-x2w3vhab.js → model-retry-h09zepvb.js} +10 -10
  208. package/dist/chunks/{formatter-qy94z0q3.js → model-retry-h4yybdgt.js} +11 -11
  209. package/dist/chunks/{formatter-472kcb6j.js → model-retry-h8v758tv.js} +4 -4
  210. package/dist/chunks/{formatter-fnyetkmc.js → model-retry-haqhc53f.js} +7 -7
  211. package/dist/chunks/{formatter-xe53826y.js → model-retry-hgvzfra1.js} +13 -13
  212. package/dist/chunks/{formatter-hgzwgvze.js → model-retry-hgzwgvze.js} +2 -2
  213. package/dist/chunks/{formatter-d49t3rb6.js → model-retry-hn8kcxz7.js} +16 -16
  214. package/dist/chunks/{formatter-v02hya04.js → model-retry-j0hy5st1.js} +24 -24
  215. package/dist/chunks/{formatter-j376ae4e.js → model-retry-j376ae4e.js} +1 -1
  216. package/dist/chunks/{formatter-kxfy12sm.js → model-retry-j6y0smqe.js} +16 -16
  217. package/dist/chunks/{formatter-tsm0w78m.js → model-retry-j98b4kym.js} +11 -11
  218. package/dist/chunks/{formatter-ze75qvmd.js → model-retry-j9nxzz3g.js} +3 -3
  219. package/dist/chunks/{formatter-hw7r6q9t.js → model-retry-jbx2ytam.js} +17 -17
  220. package/dist/chunks/{formatter-p9dwe2ys.js → model-retry-jfpz2mnn.js} +6 -6
  221. package/dist/chunks/{formatter-j6q8d4x2.js → model-retry-jja1z2vg.js} +8 -8
  222. package/dist/chunks/{formatter-njx9gg5k.js → model-retry-jkdcm5hg.js} +4 -4
  223. package/dist/chunks/{formatter-jm70asfg.js → model-retry-jm70asfg.js} +1 -1
  224. package/dist/chunks/{formatter-jxd6f16v.js → model-retry-jxd6f16v.js} +2 -2
  225. package/dist/chunks/{formatter-pn8p7g5s.js → model-retry-k2kne4hj.js} +30 -30
  226. package/dist/chunks/{formatter-107n4kdg.js → model-retry-k46zft5f.js} +55 -55
  227. package/dist/chunks/{formatter-bc6vcyc2.js → model-retry-kb8grmy4.js} +19 -19
  228. package/dist/chunks/{formatter-a0rh3gnp.js → model-retry-kggmge9g.js} +16 -16
  229. package/dist/chunks/{formatter-5c0ay57s.js → model-retry-kh0hrg97.js} +4 -4
  230. package/dist/chunks/{formatter-enkpkfwx.js → model-retry-kmzgegqq.js} +8 -8
  231. package/dist/chunks/{formatter-pfc82750.js → model-retry-kr143xzh.js} +10 -10
  232. package/dist/chunks/{formatter-dxvykrw7.js → model-retry-ks693xed.js} +3 -3
  233. package/dist/chunks/{formatter-kt3bjfbg.js → model-retry-kt3bjfbg.js} +1 -1
  234. package/dist/chunks/{formatter-5nvn3v8n.js → model-retry-kv5h436t.js} +14 -14
  235. package/dist/chunks/{formatter-a18qm98g.js → model-retry-kyefafz7.js} +8 -8
  236. package/dist/chunks/{formatter-kzczzf4v.js → model-retry-kzczzf4v.js} +1 -1
  237. package/dist/chunks/{formatter-ep6pe98a.js → model-retry-kzdam8c6.js} +7 -7
  238. package/dist/chunks/{formatter-m1714858.js → model-retry-m1714858.js} +1 -1
  239. package/dist/chunks/{formatter-fj2fxy38.js → model-retry-m350zk4x.js} +6 -6
  240. package/dist/chunks/{formatter-m90tx7mw.js → model-retry-m90tx7mw.js} +1 -1
  241. package/dist/chunks/{formatter-m9w0rfyh.js → model-retry-m9w0rfyh.js} +1 -1
  242. package/dist/chunks/{formatter-mb7mbhnz.js → model-retry-mb7mbhnz.js} +3 -3
  243. package/dist/chunks/{formatter-tpjmrfc6.js → model-retry-me10dk9t.js} +14 -14
  244. package/dist/chunks/{formatter-2kg89srt.js → model-retry-mf63ygpr.js} +4 -4
  245. package/dist/chunks/{formatter-kmnfk4kb.js → model-retry-mqmkyzwr.js} +3 -3
  246. package/dist/chunks/{formatter-mwnxvxbk.js → model-retry-mwnxvxbk.js} +1 -1
  247. package/dist/chunks/{formatter-pt2ev3mw.js → model-retry-mze7znq0.js} +12 -12
  248. package/dist/chunks/{formatter-azqdag7d.js → model-retry-n320gsn2.js} +4 -4
  249. package/dist/chunks/{formatter-be3cmm3y.js → model-retry-n3bcrrqw.js} +59 -59
  250. package/dist/chunks/{formatter-q929d8mh.js → model-retry-n8kyszt2.js} +3 -3
  251. package/dist/chunks/{formatter-9kkht3bz.js → model-retry-neknd9vt.js} +33 -33
  252. package/dist/chunks/{formatter-xpr07rag.js → model-retry-nqhzmekw.js} +22 -22
  253. package/dist/chunks/{formatter-k0e8skg7.js → model-retry-nqnhdn1e.js} +21 -21
  254. package/dist/chunks/{formatter-n4b81h20.js → model-retry-nrrvmsf7.js} +4 -4
  255. package/dist/chunks/{formatter-n6y2yx69.js → model-retry-nsdn2f4g.js} +15 -15
  256. package/dist/chunks/{formatter-dj4g1h0v.js → model-retry-nwmfh7bd.js} +23 -23
  257. package/dist/chunks/{formatter-88vzj3a4.js → model-retry-p1hn1ay8.js} +3 -3
  258. package/dist/chunks/{formatter-swaacjqy.js → model-retry-p5tk1xdz.js} +11 -11
  259. package/dist/chunks/{formatter-6s9a3p6j.js → model-retry-p6k55dzp.js} +26 -26
  260. package/dist/chunks/{formatter-rvy75j9f.js → model-retry-pcjhzmpm.js} +8 -8
  261. package/dist/chunks/{formatter-a9770cg9.js → model-retry-pde2d58k.js} +28 -28
  262. package/dist/chunks/{formatter-4r37kn7a.js → model-retry-pgtkf8d9.js} +32 -32
  263. package/dist/chunks/{formatter-pknna89w.js → model-retry-pknna89w.js} +1 -1
  264. package/dist/chunks/{formatter-fjfab1hg.js → model-retry-psf2cz52.js} +11 -11
  265. package/dist/chunks/{formatter-6mqmmy5j.js → model-retry-pwhf257g.js} +46 -46
  266. package/dist/chunks/{formatter-c09jwrv7.js → model-retry-q0q5p15d.js} +8 -8
  267. package/dist/chunks/{formatter-9j79xsdn.js → model-retry-q2qn9pec.js} +6 -6
  268. package/dist/chunks/{formatter-kybpnnhk.js → model-retry-q52a0xmm.js} +15 -15
  269. package/dist/chunks/{formatter-n61xnajd.js → model-retry-q69fea8d.js} +3 -3
  270. package/dist/chunks/{formatter-q963thn8.js → model-retry-q963thn8.js} +4 -4
  271. package/dist/chunks/{formatter-69rarv6g.js → model-retry-qfz6bxfd.js} +4 -4
  272. package/dist/chunks/{formatter-phkzaw91.js → model-retry-qm453fgb.js} +6 -6
  273. package/dist/chunks/{formatter-qp7r0hxv.js → model-retry-qp7r0hxv.js} +1 -1
  274. package/dist/chunks/{formatter-v37bc009.js → model-retry-qtf35215.js} +3 -3
  275. package/dist/chunks/{formatter-999eq5wg.js → model-retry-qyafh6c0.js} +7 -7
  276. package/dist/chunks/{formatter-s9mjx3f0.js → model-retry-r1wj65t2.js} +30 -30
  277. package/dist/chunks/{formatter-zb0mnwnv.js → model-retry-r499zw42.js} +84 -84
  278. package/dist/chunks/{formatter-gz50ktfn.js → model-retry-r8623cwy.js} +14 -14
  279. package/dist/chunks/{formatter-rb9dy4dg.js → model-retry-rb9dy4dg.js} +1 -1
  280. package/dist/chunks/{formatter-6ftp030z.js → model-retry-rbt238x6.js} +14 -14
  281. package/dist/chunks/{formatter-rgc9cx3e.js → model-retry-rgc9cx3e.js} +2 -2
  282. package/dist/chunks/{formatter-ssjd5cby.js → model-retry-rjg17fm7.js} +13 -13
  283. package/dist/chunks/{formatter-cwws9yn6.js → model-retry-rzgzmmsy.js} +18 -18
  284. package/dist/chunks/{formatter-s1ba0vj0.js → model-retry-s1ba0vj0.js} +2 -2
  285. package/dist/chunks/{formatter-kw0j7zdf.js → model-retry-s84es42m.js} +1 -1
  286. package/dist/chunks/{formatter-sbya78hr.js → model-retry-sbya78hr.js} +1 -1
  287. package/dist/chunks/{formatter-d34c0f98.js → model-retry-sbzezcpx.js} +8 -8
  288. package/dist/chunks/{formatter-9mz9bkgy.js → model-retry-sc61rjh5.js} +9 -9
  289. package/dist/chunks/{formatter-1m5xsna8.js → model-retry-sjzs80zr.js} +24 -24
  290. package/dist/chunks/{formatter-qycm87ym.js → model-retry-sk5qsbcw.js} +5 -5
  291. package/dist/chunks/{formatter-pxfvz1hx.js → model-retry-spb4g8aj.js} +6 -6
  292. package/dist/chunks/{formatter-3aystt2y.js → model-retry-ss6cpaky.js} +4 -4
  293. package/dist/chunks/{formatter-svcy3p9a.js → model-retry-svcy3p9a.js} +1 -1
  294. package/dist/chunks/{formatter-g1b5nzek.js → model-retry-t1bc5svt.js} +8 -8
  295. package/dist/chunks/{formatter-73ff1310.js → model-retry-t48jrnqq.js} +3 -3
  296. package/dist/chunks/{formatter-fck1fraj.js → model-retry-t61eas2m.js} +8 -8
  297. package/dist/chunks/{formatter-tbpn7jtk.js → model-retry-tbpn7jtk.js} +1 -1
  298. package/dist/chunks/{formatter-tczq8hjw.js → model-retry-tczq8hjw.js} +1 -1
  299. package/dist/chunks/{formatter-8p9429cg.js → model-retry-tmq9jgfn.js} +35 -35
  300. package/dist/chunks/{formatter-zpw8n7tm.js → model-retry-tr3c1hr0.js} +14 -14
  301. package/dist/chunks/{formatter-tvtps2q9.js → model-retry-tvtps2q9.js} +1 -1
  302. package/dist/chunks/{formatter-twssxy5n.js → model-retry-twssxy5n.js} +2 -2
  303. package/dist/chunks/{formatter-8faq9twa.js → model-retry-txcpr02b.js} +13 -13
  304. package/dist/chunks/{formatter-z8adrwbe.js → model-retry-txe55pgv.js} +7 -7
  305. package/dist/chunks/{formatter-d58gm13w.js → model-retry-txq0kcg0.js} +16 -16
  306. package/dist/chunks/{formatter-0rdrv6c4.js → model-retry-v2jmw1hp.js} +9 -9
  307. package/dist/chunks/{formatter-v2r1d0zg.js → model-retry-v2r1d0zg.js} +1 -1
  308. package/dist/chunks/{formatter-1cnk63hp.js → model-retry-v5d3jf35.js} +11 -11
  309. package/dist/chunks/{formatter-2t6bt9cz.js → model-retry-v6bymc68.js} +28 -28
  310. package/dist/chunks/{formatter-7ha2pc0m.js → model-retry-v99gtden.js} +21 -21
  311. package/dist/chunks/{formatter-zqp0bxw0.js → model-retry-vcz165ne.js} +18 -18
  312. package/dist/chunks/{formatter-ppk2ta81.js → model-retry-vdxwczv6.js} +38 -38
  313. package/dist/chunks/{formatter-vjf35v1f.js → model-retry-vjf35v1f.js} +1 -1
  314. package/dist/chunks/{formatter-8wdnmp4h.js → model-retry-vjmraqjf.js} +41 -41
  315. package/dist/chunks/{formatter-bm49bgmn.js → model-retry-vm0473yf.js} +21 -21
  316. package/dist/chunks/{formatter-qkn1vdbd.js → model-retry-w1e5009d.js} +5 -5
  317. package/dist/chunks/{formatter-w3wsvvr9.js → model-retry-w3wsvvr9.js} +1 -1
  318. package/dist/chunks/{formatter-xz07m27x.js → model-retry-w4xw9ac5.js} +2 -2
  319. package/dist/chunks/{formatter-hvvf9qw8.js → model-retry-w87hzrb3.js} +6 -6
  320. package/dist/chunks/{formatter-wakvkjy4.js → model-retry-wakvkjy4.js} +1 -1
  321. package/dist/chunks/{formatter-wd87259q.js → model-retry-wd87259q.js} +1 -1
  322. package/dist/chunks/{formatter-wegkxhrn.js → model-retry-wegkxhrn.js} +2 -2
  323. package/dist/chunks/{formatter-knp4g8v8.js → model-retry-wmsn6fsz.js} +11 -11
  324. package/dist/chunks/{formatter-dft9bp6v.js → model-retry-wqgsq883.js} +14 -14
  325. package/dist/chunks/{formatter-a6f3a7w7.js → model-retry-wwwhnnrb.js} +12 -12
  326. package/dist/chunks/{formatter-6sg7v011.js → model-retry-x150ncgg.js} +2 -2
  327. package/dist/chunks/{formatter-g88qm316.js → model-retry-xeeabgfh.js} +10 -10
  328. package/dist/chunks/{formatter-p1qy27ja.js → model-retry-xfchhe29.js} +56 -56
  329. package/dist/chunks/{formatter-rp6t20zc.js → model-retry-xjbsd7zy.js} +9 -9
  330. package/dist/chunks/{formatter-xxschbft.js → model-retry-xjr6c8m4.js} +4 -4
  331. package/dist/chunks/{formatter-19cz2mh9.js → model-retry-xk90d7ar.js} +26 -26
  332. package/dist/chunks/{formatter-brv6mkyx.js → model-retry-xksw6ev0.js} +4 -4
  333. package/dist/chunks/{formatter-dchba5z5.js → model-retry-xnc04a8y.js} +13 -13
  334. package/dist/chunks/{formatter-36veeb2h.js → model-retry-xwagvjey.js} +13 -13
  335. package/dist/chunks/{formatter-8er0ykh9.js → model-retry-xyv3z5gg.js} +27 -27
  336. package/dist/chunks/{formatter-yb20nhc3.js → model-retry-yb20nhc3.js} +1 -1
  337. package/dist/chunks/{formatter-c98n4vdv.js → model-retry-yj4sw9dy.js} +9 -9
  338. package/dist/chunks/{formatter-zr79126c.js → model-retry-yjrgmzdq.js} +44 -44
  339. package/dist/chunks/{formatter-2prt43t7.js → model-retry-ypzfmdvb.js} +4 -4
  340. package/dist/chunks/{formatter-yr705xyq.js → model-retry-yr705xyq.js} +1 -1
  341. package/dist/chunks/{formatter-89wqeg04.js → model-retry-ysbfp3jb.js} +6 -6
  342. package/dist/chunks/{formatter-vsb4jc51.js → model-retry-yv09dmea.js} +11 -11
  343. package/dist/chunks/{formatter-yvtc2x31.js → model-retry-yvtc2x31.js} +1 -1
  344. package/dist/chunks/{formatter-3p57dcxh.js → model-retry-yydqqga9.js} +4 -4
  345. package/dist/chunks/{formatter-z0wbgq7s.js → model-retry-z0wbgq7s.js} +1 -1
  346. package/dist/chunks/{formatter-8frvfs4e.js → model-retry-z6gkct3a.js} +44 -44
  347. package/dist/chunks/{formatter-zpkeqzrx.js → model-retry-zdn1ptym.js} +18 -18
  348. package/dist/chunks/{formatter-kph8mjwn.js → model-retry-zjvqphdj.js} +9 -9
  349. package/dist/chunks/{formatter-26g5dw0a.js → model-retry-zq2w2t7s.js} +18 -18
  350. package/dist/chunks/{formatter-4nr20r5b.js → model-retry-zqaq7e3k.js} +36 -36
  351. package/dist/chunks/{formatter-n6nqkh8e.js → model-retry-zssj66mt.js} +10 -10
  352. package/dist/chunks/{formatter-6phyd5m2.js → model-retry-ztmds42j.js} +9 -9
  353. package/dist/codemode/catalog.js +1 -1
  354. package/dist/codemode/execution.js +5 -5
  355. package/dist/codemode/fetch.js +150 -150
  356. package/dist/codemode/instructions.js +8 -8
  357. package/dist/codemode/tool.js +157 -157
  358. package/dist/command.js +94 -94
  359. package/dist/config/discovery.js +95 -95
  360. package/dist/config/integration.js +1 -1
  361. package/dist/config/managed.js +1 -1
  362. package/dist/config/markdown.js +1 -1
  363. package/dist/config/normalize.js +113 -113
  364. package/dist/config/plugin/agent.js +134 -134
  365. package/dist/config/plugin/command.js +249 -249
  366. package/dist/config/plugin/compaction.js +175 -175
  367. package/dist/config/plugin/compatibility.js +155 -155
  368. package/dist/config/plugin/entry-observer.js +1 -1
  369. package/dist/config/plugin/formatter.js +132 -132
  370. package/dist/config/plugin/image.js +131 -131
  371. package/dist/config/plugin/instruction.js +132 -132
  372. package/dist/config/plugin/location-watcher.js +133 -133
  373. package/dist/config/plugin/mcp.js +150 -150
  374. package/dist/config/plugin/policy.js +131 -131
  375. package/dist/config/plugin/provider.js +131 -131
  376. package/dist/config/plugin/reference.js +133 -133
  377. package/dist/config/plugin/shell.js +133 -133
  378. package/dist/config/plugin/skill-file.js +151 -151
  379. package/dist/config/plugin/skill-scan.js +1 -1
  380. package/dist/config/plugin/skill.js +158 -158
  381. package/dist/config/plugin/snapshot.js +131 -131
  382. package/dist/config/plugin/source.js +135 -135
  383. package/dist/config/plugin/tool-output.js +132 -132
  384. package/dist/config/plugin/websearch.js +130 -130
  385. package/dist/config/plugin/worktree.js +133 -133
  386. package/dist/config/variable.js +1 -1
  387. package/dist/config/watch.js +1 -1
  388. package/dist/config.js +132 -132
  389. package/dist/console-access.js +1 -1
  390. package/dist/credential/sql.js +2 -2
  391. package/dist/credential.js +92 -92
  392. package/dist/database/batch.js +1 -1
  393. package/dist/database/database.js +77 -77
  394. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  395. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  396. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  397. package/dist/database/drizzle/index.js +13 -13
  398. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  399. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  400. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  401. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  402. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  403. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  404. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  405. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  406. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  407. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  408. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  409. package/dist/database/drizzle.js +14 -14
  410. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  411. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  412. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  413. package/dist/database/migration/20260225215848_workspace.js +1 -1
  414. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  415. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  416. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  417. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  418. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  419. package/dist/database/migration/20260323234822_events.js +1 -1
  420. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  421. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  422. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  423. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  424. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  425. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  426. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  427. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  428. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  429. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  430. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  431. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  432. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  433. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  434. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  435. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  436. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  437. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  438. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  439. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  440. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  441. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  442. package/dist/database/migration/20260611035744_credential.js +1 -1
  443. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  444. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  445. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  446. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  447. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  448. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  449. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  450. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  451. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  452. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  453. package/dist/database/migration/20260812213948_worktree.js +1 -1
  454. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  455. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  456. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  457. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  458. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  459. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  460. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  461. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  462. package/dist/database/migration/20261025123711_blob.js +1 -1
  463. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  464. package/dist/database/migration/20261026223005_schedule.js +1 -1
  465. package/dist/database/migration/20261029002625_session_part.js +1 -1
  466. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  467. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  468. package/dist/database/migration/20261030054400_job.js +1 -1
  469. package/dist/database/migration.gen.js +60 -60
  470. package/dist/database/migration.js +76 -76
  471. package/dist/database/path.js +2 -2
  472. package/dist/database/schema.gen.js +1 -1
  473. package/dist/database/schema.sql.js +1 -1
  474. package/dist/database/v1-migration.bun.js +105 -105
  475. package/dist/effect/app-node-builder.js +450 -450
  476. package/dist/effect/app-node-platform.js +2 -2
  477. package/dist/effect/client-tls/client-tls.bun.js +1 -1
  478. package/dist/effect/client-tls/client-tls.node.js +1 -1
  479. package/dist/effect/client-tls/client-tls.workerd.js +1 -1
  480. package/dist/effect/keyed-mutex.js +1 -1
  481. package/dist/effect/websocket-constructor.js +1 -1
  482. package/dist/environment/driver.js +1 -1
  483. package/dist/environment/environment.js +105 -105
  484. package/dist/environment/exec-defaults.js +2 -2
  485. package/dist/environment/files.js +1 -1
  486. package/dist/environment/index.js +109 -109
  487. package/dist/environment/local.js +2 -2
  488. package/dist/environment/memory.js +2 -2
  489. package/dist/environment/unavailable.js +3 -3
  490. package/dist/event/sql.js +1 -1
  491. package/dist/event-logger.js +81 -81
  492. package/dist/file-access.js +162 -162
  493. package/dist/file-mutation.js +108 -108
  494. package/dist/file-retention.js +1 -1
  495. package/dist/file-write.js +164 -164
  496. package/dist/filesystem/fff.bun.js +2 -2
  497. package/dist/filesystem/fff.js +1 -1
  498. package/dist/filesystem/fff.node.js +2 -2
  499. package/dist/filesystem/fff.workerd.js +2 -2
  500. package/dist/filesystem/file-watch.js +88 -88
  501. package/dist/filesystem/location-watcher-policy.js +6 -6
  502. package/dist/filesystem/location-watcher.js +260 -260
  503. package/dist/filesystem/protected.js +1 -1
  504. package/dist/filesystem/search.js +113 -113
  505. package/dist/filesystem/watcher-binding.js +1 -1
  506. package/dist/filesystem/watcher.js +9 -9
  507. package/dist/filesystem.js +116 -116
  508. package/dist/flag.js +136 -136
  509. package/dist/form.js +93 -93
  510. package/dist/formatter/builtins.js +4 -4
  511. package/dist/formatter.js +100 -100
  512. package/dist/generate.js +117 -117
  513. package/dist/git.js +7 -7
  514. package/dist/github-copilot/models.js +105 -105
  515. package/dist/image/notice.js +1 -1
  516. package/dist/image/photon-normalize.js +1 -1
  517. package/dist/image/photon-worker.js +1 -1
  518. package/dist/image/photon.js +4 -4
  519. package/dist/image.js +6 -6
  520. package/dist/instance/service.js +5 -5
  521. package/dist/instance.js +441 -441
  522. package/dist/instruction-discovery.js +94 -94
  523. package/dist/instructions/builtins.js +101 -101
  524. package/dist/instructions/index.js +2 -2
  525. package/dist/integration/connection.js +3 -3
  526. package/dist/integration.js +100 -100
  527. package/dist/job/list.js +5 -5
  528. package/dist/job/recovery.js +2 -2
  529. package/dist/job/sql.js +2 -2
  530. package/dist/job.js +90 -90
  531. package/dist/kv/sql.js +2 -2
  532. package/dist/kv.js +80 -80
  533. package/dist/location-activity.js +187 -187
  534. package/dist/location-lifecycle.js +155 -155
  535. package/dist/location-service-map.js +99 -99
  536. package/dist/location-services.js +438 -438
  537. package/dist/location.js +102 -102
  538. package/dist/managed-policy.js +3 -3
  539. package/dist/mcp/client.js +161 -161
  540. package/dist/mcp/connection.js +106 -106
  541. package/dist/mcp/event-errors.js +1 -1
  542. package/dist/mcp/index.js +151 -151
  543. package/dist/mcp/instructions.js +190 -190
  544. package/dist/mcp/oauth.js +90 -90
  545. package/dist/mcp/pool.js +112 -112
  546. package/dist/mcp/socket-client.js +1 -1
  547. package/dist/mcp/stdio.js +161 -161
  548. package/dist/mime.js +1 -1
  549. package/dist/modal/models.js +105 -105
  550. package/dist/model-resolver.js +113 -113
  551. package/dist/model-retry.js +1 -1
  552. package/dist/model.js +104 -104
  553. package/dist/models-dev/v1.js +1 -1
  554. package/dist/models-dev.js +118 -118
  555. package/dist/oauth/page.js +1 -1
  556. package/dist/oauth/redirect.js +1 -1
  557. package/dist/permission/saved.js +91 -91
  558. package/dist/permission/sql.js +5 -5
  559. package/dist/permission.js +152 -152
  560. package/dist/persistent-pty/binary.bun.js +1 -1
  561. package/dist/persistent-pty/daemon.js +1 -1
  562. package/dist/persistent-pty/index.js +95 -95
  563. package/dist/persistent-pty/pty-binding.js +1 -1
  564. package/dist/persistent-pty.js +86 -86
  565. package/dist/plugin/agent.js +87 -87
  566. package/dist/plugin/command.js +148 -148
  567. package/dist/plugin/fork-notice.js +3 -3
  568. package/dist/plugin/goal.js +3 -3
  569. package/dist/plugin/hooks.js +5 -5
  570. package/dist/plugin/host.js +251 -251
  571. package/dist/plugin/identity.js +5 -5
  572. package/dist/plugin/instance.js +5 -5
  573. package/dist/plugin/internal.js +418 -418
  574. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  575. package/dist/plugin/models-dev.js +111 -111
  576. package/dist/plugin/module.js +130 -130
  577. package/dist/plugin/optimize.js +2 -2
  578. package/dist/plugin/plan.js +151 -151
  579. package/dist/plugin/promise.js +1 -1
  580. package/dist/plugin/provider/amazon-bedrock.js +107 -107
  581. package/dist/plugin/provider/azure.js +134 -134
  582. package/dist/plugin/provider/cerebras.js +1 -1
  583. package/dist/plugin/provider/chatgpt.js +135 -135
  584. package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
  585. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  586. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  587. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  588. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  589. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  590. package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
  591. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  592. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  593. package/dist/plugin/provider/claude-agent/index.js +149 -149
  594. package/dist/plugin/provider/claude-agent/instructions.js +115 -115
  595. package/dist/plugin/provider/claude-agent/integration.js +116 -116
  596. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  597. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  598. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  599. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  600. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  601. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  602. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  603. package/dist/plugin/provider/claude-agent/provider.js +111 -111
  604. package/dist/plugin/provider/claude-agent/session.js +113 -113
  605. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  606. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  607. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  608. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  609. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  610. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  611. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  612. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  613. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  614. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  615. package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
  616. package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
  617. package/dist/plugin/provider/configured.js +127 -127
  618. package/dist/plugin/provider/credential-settings.js +88 -88
  619. package/dist/plugin/provider/databricks.js +1 -1
  620. package/dist/plugin/provider/digitalocean.js +110 -110
  621. package/dist/plugin/provider/dynamic.js +2 -2
  622. package/dist/plugin/provider/github-copilot.js +112 -112
  623. package/dist/plugin/provider/gitlab.js +111 -111
  624. package/dist/plugin/provider/google-vertex.js +128 -128
  625. package/dist/plugin/provider/kilo.js +1 -1
  626. package/dist/plugin/provider/llmgateway.js +89 -89
  627. package/dist/plugin/provider/lmstudio.js +144 -144
  628. package/dist/plugin/provider/local.js +141 -141
  629. package/dist/plugin/provider/modal.js +109 -109
  630. package/dist/plugin/provider/neon.js +1 -1
  631. package/dist/plugin/provider/nvidia.js +1 -1
  632. package/dist/plugin/provider/ollama.js +144 -144
  633. package/dist/plugin/provider/openai-context-caps.js +107 -107
  634. package/dist/plugin/provider/openai.js +135 -135
  635. package/dist/plugin/provider/opencode-watches.js +4 -4
  636. package/dist/plugin/provider/opencode.js +163 -163
  637. package/dist/plugin/provider/openrouter.js +105 -105
  638. package/dist/plugin/provider/poe.js +91 -91
  639. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  640. package/dist/plugin/provider/refresh.js +89 -89
  641. package/dist/plugin/provider/sap-ai-core.js +105 -105
  642. package/dist/plugin/provider/sdk-factory.js +1 -1
  643. package/dist/plugin/provider/snowflake-cortex.js +133 -133
  644. package/dist/plugin/provider/vllm.js +144 -144
  645. package/dist/plugin/provider/xai.js +105 -105
  646. package/dist/plugin/provider/zenmux.js +1 -1
  647. package/dist/plugin/provider.js +242 -242
  648. package/dist/plugin/sdk.js +87 -87
  649. package/dist/plugin/service.js +3 -3
  650. package/dist/plugin/skill.js +154 -154
  651. package/dist/plugin/source-directory.js +1 -1
  652. package/dist/plugin/supervisor.js +430 -430
  653. package/dist/plugin/tool-input-repair.js +4 -4
  654. package/dist/plugin/update.js +6 -6
  655. package/dist/plugin/vcs/git.js +99 -99
  656. package/dist/plugin/vcs/hg.js +99 -99
  657. package/dist/plugin/verbosity.js +107 -107
  658. package/dist/plugin/warming.js +131 -131
  659. package/dist/plugin/websearch/exa.js +8 -8
  660. package/dist/plugin/websearch/firecrawl.js +7 -7
  661. package/dist/plugin/websearch/index.js +10 -10
  662. package/dist/plugin/websearch/mcp.js +6 -6
  663. package/dist/plugin/websearch/parallel.js +9 -9
  664. package/dist/plugin/websearch/provider.js +3 -3
  665. package/dist/plugin/websearch/tavily.js +5 -5
  666. package/dist/plugin/websearch/tinyfish.js +9 -9
  667. package/dist/plugin.js +262 -262
  668. package/dist/project/icon.js +5 -5
  669. package/dist/project/schema.js +8 -8
  670. package/dist/project/sql.js +4 -4
  671. package/dist/project.js +103 -103
  672. package/dist/provider.js +103 -103
  673. package/dist/pty/protocol.js +1 -1
  674. package/dist/pty/ticket.js +1 -1
  675. package/dist/pty.js +113 -113
  676. package/dist/reference/instructions.js +102 -102
  677. package/dist/reference.js +101 -101
  678. package/dist/repository-cache.js +93 -93
  679. package/dist/repository.js +1 -1
  680. package/dist/ripgrep/binary.js +2 -2
  681. package/dist/ripgrep.js +109 -109
  682. package/dist/rpc.js +99 -99
  683. package/dist/schedule/check.js +256 -256
  684. package/dist/schedule/sql.js +6 -6
  685. package/dist/schedule.js +270 -270
  686. package/dist/schema.js +1 -1
  687. package/dist/session/affinity.js +1 -1
  688. package/dist/session/background.js +1 -1
  689. package/dist/session/blob.js +133 -133
  690. package/dist/session/command.js +85 -85
  691. package/dist/session/compaction.js +177 -177
  692. package/dist/session/context.js +208 -208
  693. package/dist/session/diff.js +101 -101
  694. package/dist/session/environment.js +5 -5
  695. package/dist/session/error.js +5 -5
  696. package/dist/session/event.js +1 -1
  697. package/dist/session/execution/restart.js +274 -274
  698. package/dist/session/execution/subagent-report.js +147 -147
  699. package/dist/session/execution.js +176 -176
  700. package/dist/session/generate.js +208 -208
  701. package/dist/session/history.js +141 -141
  702. package/dist/session/inbox.js +154 -154
  703. package/dist/session/info.js +3 -3
  704. package/dist/session/instruction-entry.js +91 -91
  705. package/dist/session/instruction-state.js +9 -9
  706. package/dist/session/instructions.js +148 -148
  707. package/dist/session/message-updater.js +2 -2
  708. package/dist/session/message.js +1 -1
  709. package/dist/session/model-request.js +173 -173
  710. package/dist/session/model-transport.js +9 -9
  711. package/dist/session/move.js +176 -176
  712. package/dist/session/projector.js +148 -148
  713. package/dist/session/prompt.js +153 -153
  714. package/dist/session/recent-text.js +1 -1
  715. package/dist/session/revert.js +144 -144
  716. package/dist/session/run-coordinator.js +3 -3
  717. package/dist/session/runner/index.js +3 -3
  718. package/dist/session/runner/llm.js +263 -263
  719. package/dist/session/runner/max-steps.js +1 -1
  720. package/dist/session/runner/model.js +115 -115
  721. package/dist/session/runner/publish-llm-event.js +155 -155
  722. package/dist/session/runner/retry.js +5 -5
  723. package/dist/session/runner/step.js +168 -168
  724. package/dist/session/runner/to-llm-message.js +142 -142
  725. package/dist/session/schema.js +5 -5
  726. package/dist/session/session.js +196 -196
  727. package/dist/session/shell.js +149 -149
  728. package/dist/session/skill.js +152 -152
  729. package/dist/session/sql.js +5 -5
  730. package/dist/session/stats.js +85 -85
  731. package/dist/session/store.js +147 -147
  732. package/dist/session/stored.js +2 -2
  733. package/dist/session/subagent-completion.js +1 -1
  734. package/dist/session/subagent-job.js +173 -173
  735. package/dist/session/system-prompt.js +3 -3
  736. package/dist/session/title.js +212 -212
  737. package/dist/session/to-session-error.js +154 -154
  738. package/dist/session/transfer.js +257 -257
  739. package/dist/session/usage.js +1 -1
  740. package/dist/session.js +253 -253
  741. package/dist/shared-cache.js +5 -5
  742. package/dist/shell/parse.js +6 -6
  743. package/dist/shell/result.js +1 -1
  744. package/dist/shell/scan.js +1 -1
  745. package/dist/shell/select.js +13 -13
  746. package/dist/shell.js +151 -151
  747. package/dist/skill/discovery.js +6 -6
  748. package/dist/skill/instructions.js +156 -156
  749. package/dist/skill.js +159 -159
  750. package/dist/snapshot.js +104 -104
  751. package/dist/state.js +1 -1
  752. package/dist/tool/html-markdown.js +1 -1
  753. package/dist/tool/http-body.js +1 -1
  754. package/dist/tool/mcp.js +191 -191
  755. package/dist/tool/plugin/artifact.js +246 -246
  756. package/dist/tool/plugin/edit.js +172 -172
  757. package/dist/tool/plugin/file-diff.js +1 -1
  758. package/dist/tool/plugin/glob.js +176 -176
  759. package/dist/tool/plugin/grep.js +175 -175
  760. package/dist/tool/plugin/image-generate.js +257 -257
  761. package/dist/tool/plugin/mcp-events.js +168 -168
  762. package/dist/tool/plugin/mcp-resource.js +172 -172
  763. package/dist/tool/plugin/opencode.js +168 -168
  764. package/dist/tool/plugin/patch.js +171 -171
  765. package/dist/tool/plugin/question.js +153 -153
  766. package/dist/tool/plugin/read.js +177 -177
  767. package/dist/tool/plugin/schedule.js +262 -262
  768. package/dist/tool/plugin/shell.js +253 -253
  769. package/dist/tool/plugin/skill.js +162 -162
  770. package/dist/tool/plugin/subagent.js +253 -253
  771. package/dist/tool/plugin/todo.js +158 -158
  772. package/dist/tool/plugin/webfetch.js +162 -162
  773. package/dist/tool/plugin/websearch.js +158 -158
  774. package/dist/tool/plugin/write.js +171 -171
  775. package/dist/tool/read-filesystem.js +116 -116
  776. package/dist/tool/runtime.js +1 -1
  777. package/dist/tool/search.js +109 -109
  778. package/dist/tool-output.js +5 -5
  779. package/dist/tool.js +163 -163
  780. package/dist/usage-limits.js +98 -98
  781. package/dist/util/canonical-json.js +1 -1
  782. package/dist/util/error-summary.js +1 -1
  783. package/dist/util/git-executable.js +3 -3
  784. package/dist/util/lazy.js +1 -1
  785. package/dist/util/slug.js +1 -1
  786. package/dist/util/token.js +1 -1
  787. package/dist/util/which.js +1 -1
  788. package/dist/util/wildcard.js +1 -1
  789. package/dist/v1/config/agent.js +7 -7
  790. package/dist/v1/config/command.js +3 -3
  791. package/dist/v1/config/mcp.js +4 -4
  792. package/dist/v1/config/migrate.js +106 -106
  793. package/dist/v1/config/permission.js +3 -3
  794. package/dist/v1/config/plugin.js +1 -1
  795. package/dist/v1/config/provider-options.js +1 -1
  796. package/dist/v1/config/provider.js +4 -4
  797. package/dist/variant.js +107 -107
  798. package/dist/vcs/patch.js +1 -1
  799. package/dist/vcs.js +102 -102
  800. package/dist/voice.js +99 -99
  801. package/dist/websearch.js +101 -101
  802. package/dist/wellknown/plugin.js +87 -87
  803. package/dist/wellknown.js +86 -86
  804. package/dist/workspace/driver.js +5 -5
  805. package/dist/workspace/sql.js +1 -1
  806. package/dist/workspace.js +93 -93
  807. package/dist/worktree/directory.js +2 -2
  808. package/dist/worktree/git.js +11 -11
  809. package/dist/worktree/sql.js +5 -5
  810. package/dist/worktree/strategies.js +102 -102
  811. package/dist/worktree.js +111 -111
  812. package/package.json +8 -8
  813. package/dist/chunks/formatter-367yzc22.js +0 -587
  814. package/dist/chunks/formatter-3qhreq2y.js +0 -16
  815. package/dist/chunks/formatter-b5696b0c.js +0 -26
  816. package/dist/chunks/formatter-rnatn0se.js +0 -273
  817. package/dist/chunks/formatter-z7bdqmx5.js +0 -18
  818. /package/dist/chunks/{formatter-0qkdqm5v.js → model-retry-0qkdqm5v.js} +0 -0
  819. /package/dist/chunks/{formatter-0zkw76rk.js → model-retry-0zkw76rk.js} +0 -0
  820. /package/dist/chunks/{formatter-17cy0kzp.js → model-retry-17cy0kzp.js} +0 -0
  821. /package/dist/chunks/{formatter-1cnp2v09.js → model-retry-1cnp2v09.js} +0 -0
  822. /package/dist/chunks/{formatter-1kah00gy.js → model-retry-1kah00gy.js} +0 -0
  823. /package/dist/chunks/{formatter-24dcb14g.js → model-retry-24dcb14g.js} +0 -0
  824. /package/dist/chunks/{formatter-2710q6r3.js → model-retry-2710q6r3.js} +0 -0
  825. /package/dist/chunks/{formatter-2c3vjs8z.js → model-retry-2c3vjs8z.js} +0 -0
  826. /package/dist/chunks/{formatter-359p4xyc.js → model-retry-359p4xyc.js} +0 -0
  827. /package/dist/chunks/{formatter-3v8g72cx.js → model-retry-3v8g72cx.js} +0 -0
  828. /package/dist/chunks/{formatter-43n2bw4t.js → model-retry-43n2bw4t.js} +0 -0
  829. /package/dist/chunks/{formatter-4knz6hnm.js → model-retry-4knz6hnm.js} +0 -0
  830. /package/dist/chunks/{formatter-4qk9sjk2.js → model-retry-4qk9sjk2.js} +0 -0
  831. /package/dist/chunks/{formatter-53557ph1.js → model-retry-53557ph1.js} +0 -0
  832. /package/dist/chunks/{formatter-5w3e23ze.js → model-retry-5w3e23ze.js} +0 -0
  833. /package/dist/chunks/{formatter-6agm2x70.js → model-retry-6agm2x70.js} +0 -0
  834. /package/dist/chunks/{formatter-6prwharc.js → model-retry-6prwharc.js} +0 -0
  835. /package/dist/chunks/{formatter-6q2bdcd1.js → model-retry-6q2bdcd1.js} +0 -0
  836. /package/dist/chunks/{formatter-7akdwqpd.js → model-retry-7akdwqpd.js} +0 -0
  837. /package/dist/chunks/{formatter-7m9af43g.js → model-retry-7m9af43g.js} +0 -0
  838. /package/dist/chunks/{formatter-7rvsyqjv.js → model-retry-7rvsyqjv.js} +0 -0
  839. /package/dist/chunks/{formatter-822emrt2.js → model-retry-822emrt2.js} +0 -0
  840. /package/dist/chunks/{formatter-84wd9syh.js → model-retry-84wd9syh.js} +0 -0
  841. /package/dist/chunks/{formatter-88xbtdfr.js → model-retry-88xbtdfr.js} +0 -0
  842. /package/dist/chunks/{formatter-8n3pysct.js → model-retry-8n3pysct.js} +0 -0
  843. /package/dist/chunks/{formatter-8wj87zfr.js → model-retry-8wj87zfr.js} +0 -0
  844. /package/dist/chunks/{formatter-9a4afbnw.js → model-retry-9a4afbnw.js} +0 -0
  845. /package/dist/chunks/{formatter-9ceax7yg.js → model-retry-9ceax7yg.js} +0 -0
  846. /package/dist/chunks/{formatter-9rqn6x4v.js → model-retry-9rqn6x4v.js} +0 -0
  847. /package/dist/chunks/{formatter-ade8csyh.js → model-retry-ade8csyh.js} +0 -0
  848. /package/dist/chunks/{formatter-aqzs7mqg.js → model-retry-aqzs7mqg.js} +0 -0
  849. /package/dist/chunks/{formatter-atq7p7m5.js → model-retry-atq7p7m5.js} +0 -0
  850. /package/dist/chunks/{formatter-beh6qq61.js → model-retry-beh6qq61.js} +0 -0
  851. /package/dist/chunks/{formatter-bkyjaxrp.js → model-retry-bkyjaxrp.js} +0 -0
  852. /package/dist/chunks/{formatter-bmr6ed5q.js → model-retry-bmr6ed5q.js} +0 -0
  853. /package/dist/chunks/{formatter-cf4snx6d.js → model-retry-cf4snx6d.js} +0 -0
  854. /package/dist/chunks/{formatter-cqv5kn06.js → model-retry-cqv5kn06.js} +0 -0
  855. /package/dist/chunks/{formatter-cvy3z8tj.js → model-retry-cvy3z8tj.js} +0 -0
  856. /package/dist/chunks/{formatter-d9fn303g.js → model-retry-d9fn303g.js} +0 -0
  857. /package/dist/chunks/{formatter-d9jj8t3e.js → model-retry-d9jj8t3e.js} +0 -0
  858. /package/dist/chunks/{formatter-df08tz66.js → model-retry-df08tz66.js} +0 -0
  859. /package/dist/chunks/{formatter-dy18nga0.js → model-retry-dy18nga0.js} +0 -0
  860. /package/dist/chunks/{formatter-e5kj55wp.js → model-retry-e5kj55wp.js} +0 -0
  861. /package/dist/chunks/{formatter-ean2d8b5.js → model-retry-ean2d8b5.js} +0 -0
  862. /package/dist/chunks/{formatter-ec1grn59.js → model-retry-ec1grn59.js} +0 -0
  863. /package/dist/chunks/{formatter-emrn6kk6.js → model-retry-emrn6kk6.js} +0 -0
  864. /package/dist/chunks/{formatter-f0mxakyp.js → model-retry-f0mxakyp.js} +0 -0
  865. /package/dist/chunks/{formatter-f6n9ztr4.js → model-retry-f6n9ztr4.js} +0 -0
  866. /package/dist/chunks/{formatter-faypxj3z.js → model-retry-faypxj3z.js} +0 -0
  867. /package/dist/chunks/{formatter-fd410y7t.js → model-retry-fd410y7t.js} +0 -0
  868. /package/dist/chunks/{formatter-fkpq3x5p.js → model-retry-fkpq3x5p.js} +0 -0
  869. /package/dist/chunks/{formatter-g86h250q.js → model-retry-g86h250q.js} +0 -0
  870. /package/dist/chunks/{formatter-gebd4c9n.js → model-retry-gebd4c9n.js} +0 -0
  871. /package/dist/chunks/{formatter-gftt206x.js → model-retry-gftt206x.js} +0 -0
  872. /package/dist/chunks/{formatter-hcxmzztb.js → model-retry-hcxmzztb.js} +0 -0
  873. /package/dist/chunks/{formatter-hk9envan.js → model-retry-hk9envan.js} +0 -0
  874. /package/dist/chunks/{formatter-j2ntwpah.js → model-retry-j2ntwpah.js} +0 -0
  875. /package/dist/chunks/{formatter-jjkms2e6.js → model-retry-jjkms2e6.js} +0 -0
  876. /package/dist/chunks/{formatter-jr7sbwjy.js → model-retry-jr7sbwjy.js} +0 -0
  877. /package/dist/chunks/{formatter-jwfs4k6c.js → model-retry-jwfs4k6c.js} +0 -0
  878. /package/dist/chunks/{formatter-jwr30sdr.js → model-retry-jwr30sdr.js} +0 -0
  879. /package/dist/chunks/{formatter-jzg6c2d5.js → model-retry-jzg6c2d5.js} +0 -0
  880. /package/dist/chunks/{formatter-m18g726c.js → model-retry-m18g726c.js} +0 -0
  881. /package/dist/chunks/{formatter-mp448xyj.js → model-retry-mp448xyj.js} +0 -0
  882. /package/dist/chunks/{formatter-msx8hqn2.js → model-retry-msx8hqn2.js} +0 -0
  883. /package/dist/chunks/{formatter-n05xt0ee.js → model-retry-n05xt0ee.js} +0 -0
  884. /package/dist/chunks/{formatter-n3j8tn72.js → model-retry-n3j8tn72.js} +0 -0
  885. /package/dist/chunks/{formatter-nh4v3znn.js → model-retry-nh4v3znn.js} +0 -0
  886. /package/dist/chunks/{formatter-njntx4h6.js → model-retry-njntx4h6.js} +0 -0
  887. /package/dist/chunks/{formatter-p71gwv9c.js → model-retry-p71gwv9c.js} +0 -0
  888. /package/dist/chunks/{formatter-q3sfg36h.js → model-retry-q3sfg36h.js} +0 -0
  889. /package/dist/chunks/{formatter-q74kybfr.js → model-retry-q74kybfr.js} +0 -0
  890. /package/dist/chunks/{formatter-qb87gjwd.js → model-retry-qb87gjwd.js} +0 -0
  891. /package/dist/chunks/{formatter-qfa1cgps.js → model-retry-qfa1cgps.js} +0 -0
  892. /package/dist/chunks/{formatter-qg3g05ea.js → model-retry-qg3g05ea.js} +0 -0
  893. /package/dist/chunks/{formatter-qrg20bc0.js → model-retry-qrg20bc0.js} +0 -0
  894. /package/dist/chunks/{formatter-rcb2kzg1.js → model-retry-rcb2kzg1.js} +0 -0
  895. /package/dist/chunks/{formatter-sdp7kfr6.js → model-retry-sdp7kfr6.js} +0 -0
  896. /package/dist/chunks/{formatter-ssg3fenm.js → model-retry-ssg3fenm.js} +0 -0
  897. /package/dist/chunks/{formatter-syrav9an.js → model-retry-syrav9an.js} +0 -0
  898. /package/dist/chunks/{formatter-t03h4f5z.js → model-retry-t03h4f5z.js} +0 -0
  899. /package/dist/chunks/{formatter-ty7weeps.js → model-retry-ty7weeps.js} +0 -0
  900. /package/dist/chunks/{formatter-v2dnd5dt.js → model-retry-v2dnd5dt.js} +0 -0
  901. /package/dist/chunks/{formatter-ve7vex1e.js → model-retry-ve7vex1e.js} +0 -0
  902. /package/dist/chunks/{formatter-vtarvj67.js → model-retry-vtarvj67.js} +0 -0
  903. /package/dist/chunks/{formatter-w803qqfp.js → model-retry-w803qqfp.js} +0 -0
  904. /package/dist/chunks/{formatter-wc3fc9cn.js → model-retry-wc3fc9cn.js} +0 -0
  905. /package/dist/chunks/{formatter-wer8tq1h.js → model-retry-wer8tq1h.js} +0 -0
  906. /package/dist/chunks/{formatter-wtztk69x.js → model-retry-wtztk69x.js} +0 -0
  907. /package/dist/chunks/{formatter-x4th4bpe.js → model-retry-x4th4bpe.js} +0 -0
  908. /package/dist/chunks/{formatter-y44na4kk.js → model-retry-y44na4kk.js} +0 -0
  909. /package/dist/chunks/{formatter-y8f7s663.js → model-retry-y8f7s663.js} +0 -0
  910. /package/dist/chunks/{formatter-ygaqb7jw.js → model-retry-ygaqb7jw.js} +0 -0
  911. /package/dist/chunks/{formatter-z5v4ffb3.js → model-retry-z5v4ffb3.js} +0 -0
  912. /package/dist/chunks/{formatter-z9919s4g.js → model-retry-z9919s4g.js} +0 -0
  913. /package/dist/chunks/{formatter-zxpyjp51.js → model-retry-zxpyjp51.js} +0 -0
  914. /package/dist/chunks/{formatter-zz5vv3aq.js → model-retry-zz5vv3aq.js} +0 -0
@@ -3,29 +3,29 @@ import {
3
3
  removed2,
4
4
  make33,
5
5
  listUpdate2
6
- } from "./formatter-f2zjpyt5.js";
6
+ } from "./model-retry-f2zjpyt5.js";
7
7
  import {
8
8
  evaluate3
9
- } from "./formatter-1y4446k4.js";
9
+ } from "./model-retry-d58fy8mx.js";
10
10
  import {
11
- Service30,
12
- node34
13
- } from "./formatter-2yn2tdym.js";
11
+ Service36,
12
+ node39
13
+ } from "./model-retry-dhhwsjs6.js";
14
14
  import {
15
15
  namespace2,
16
- name16
17
- } from "./formatter-vh2m3kqm.js";
16
+ name15
17
+ } from "./model-retry-e0nfbn8k.js";
18
18
  import {
19
19
  __export
20
- } from "./formatter-9rqn6x4v.js";
20
+ } from "./model-retry-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
23
  var exports_instructions6 = {};
24
24
  __export(exports_instructions6, {
25
25
  McpInstructions: () => exports_instructions6,
26
- Service: () => Service27,
27
- layer: () => layer13,
28
- node: () => node31
26
+ Service: () => Service31,
27
+ layer: () => layer12,
28
+ node: () => node35
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,11 +57,11 @@ var update = listUpdate2({
57
57
  }
58
58
  });
59
59
 
60
- class Service27 extends Context.Service()("@opencode/McpInstructions") {
60
+ class Service31 extends Context.Service()("@opencode/McpInstructions") {
61
61
  }
62
- var layer13 = Layer.effect(Service27, Effect.gen(function* () {
63
- const mcp = yield* Service30;
64
- return Service27.of({
62
+ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
63
+ const mcp = yield* Service36;
64
+ return Service31.of({
65
65
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
66
66
  const source = (value) => make33({
67
67
  key: Key3.make("core/mcp-guidance"),
@@ -80,7 +80,7 @@ var layer13 = Layer.effect(Service27, Effect.gen(function* () {
80
80
  const visible = instructions.flatMap((item) => {
81
81
  const owned = tools.filter((tool) => tool.server === item.server);
82
82
  const codemode = canExecute && owned[0]?.codemode !== false;
83
- if (!owned.some((tool) => evaluate3(name16(tool.server, tool.name), "*", permissions).effect !== "deny"))
83
+ if (!owned.some((tool) => evaluate3(name15(tool.server, tool.name), "*", permissions).effect !== "deny"))
84
84
  return [];
85
85
  return [
86
86
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -90,6 +90,6 @@ var layer13 = Layer.effect(Service27, Effect.gen(function* () {
90
90
  })
91
91
  });
92
92
  }));
93
- var node31 = makeLocationNode({ service: Service27, layer: layer13, deps: [node34] });
93
+ var node35 = makeLocationNode({ service: Service31, layer: layer12, deps: [node39] });
94
94
 
95
- export { Service27, layer13, node31, exports_instructions6 };
95
+ export { Service31, layer12, node35, exports_instructions6 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Service94,
3
3
  node96
4
- } from "./formatter-fhwbhm4t.js";
4
+ } from "./model-retry-7az9823q.js";
5
5
  import {
6
6
  Service93,
7
7
  node95
8
- } from "./formatter-18w9amv2.js";
8
+ } from "./model-retry-77n50j8n.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./formatter-pknna89w.js";
11
+ } from "./model-retry-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./formatter-m1714858.js";
14
+ } from "./model-retry-m1714858.js";
15
15
  import {
16
16
  __export
17
- } from "./formatter-9rqn6x4v.js";
17
+ } from "./model-retry-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
@@ -22,14 +22,14 @@ __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
23
  Event: () => Event20,
24
24
  External: () => External2,
25
- ID: () => ID21,
26
- Info: () => Info31,
25
+ ID: () => ID20,
26
+ Info: () => Info29,
27
27
  Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service90,
29
+ Service: () => Service89,
30
30
  Value: () => Value2,
31
31
  expiring: () => expiring2,
32
- node: () => node92
32
+ node: () => node91
33
33
  });
34
34
  import { asc, desc, eq } from "drizzle-orm";
35
35
  import { Cause, Clock, Context, Duration, Effect, Fiber, Layer, Schema } from "effect";
@@ -38,7 +38,7 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
38
38
  import { Integration } from "@opencode/schema/integration";
39
39
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
40
40
  import { EffectFlock } from "@opencode/util/effect-flock";
41
- var ID21 = Credential.ID;
41
+ var ID20 = Credential.ID;
42
42
  var OAuth3 = Credential.OAuth;
43
43
  var Key4 = Credential.Key;
44
44
  var External2 = Credential.External;
@@ -46,17 +46,17 @@ var Value2 = Credential.Value;
46
46
  var Event20 = Credential.Event;
47
47
  var expiring2 = (value, now, margin = Duration.minutes(5)) => value.expires !== 0 && value.expires <= now + Duration.toMillis(margin);
48
48
 
49
- class Info31 extends Schema.Class("Credential.Info")({
50
- id: ID21,
49
+ class Info29 extends Schema.Class("Credential.Info")({
50
+ id: ID20,
51
51
  integrationID: Integration.ID,
52
52
  label: Schema.String,
53
53
  value: Value2
54
54
  }) {
55
55
  }
56
56
 
57
- class Service90 extends Context.Service()("@opencode/Credential") {
57
+ class Service89 extends Context.Service()("@opencode/Credential") {
58
58
  }
59
- var layer = Layer.effect(Service90, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service89, Effect.gen(function* () {
60
60
  const db = (yield* Service94).db;
61
61
  const bus = yield* Service93;
62
62
  const flock = yield* EffectFlock.Service;
@@ -66,7 +66,7 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
66
66
  const stored = (row) => {
67
67
  if (!row.integration_id)
68
68
  return;
69
- return new Info31({
69
+ return new Info29({
70
70
  id: row.id,
71
71
  integrationID: row.integration_id,
72
72
  label: row.label,
@@ -93,7 +93,7 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
93
93
  pending.set(id, fiber);
94
94
  return yield* restore(Fiber.join(fiber));
95
95
  }));
96
- const service = Service90.of({
96
+ const service = Service89.of({
97
97
  refresh: Effect.fn("Credential.refresh")((id, input) => lock(id, Effect.gen(function* () {
98
98
  const current = yield* service.get(id);
99
99
  if (current?.value.type !== "oauth")
@@ -123,8 +123,8 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
123
123
  return row ? stored(row) : undefined;
124
124
  }),
125
125
  create: Effect.fn("Credential.create")(function* (input) {
126
- const credential = new Info31({
127
- id: input.id ?? ID21.create(),
126
+ const credential = new Info29({
127
+ id: input.id ?? ID20.create(),
128
128
  integrationID: input.integrationID,
129
129
  label: input.label ?? "default",
130
130
  value: input.value
@@ -233,6 +233,6 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
233
233
  });
234
234
  return service;
235
235
  }));
236
- var node92 = makeGlobalNode({ service: Service90, layer, deps: [node96, node95, EffectFlock.node] });
236
+ var node91 = makeGlobalNode({ service: Service89, layer, deps: [node96, node95, EffectFlock.node] });
237
237
 
238
- export { ID21, OAuth3, Key4, External2, Value2, Event20, expiring2, Info31, Service90, node92, exports_credential };
238
+ export { ID20, OAuth3, Key4, External2, Value2, Event20, expiring2, Info29, Service89, node91, exports_credential };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  run2
3
- } from "./formatter-s1ba0vj0.js";
3
+ } from "./model-retry-s1ba0vj0.js";
4
4
  import {
5
5
  base2
6
- } from "./formatter-875etveh.js";
6
+ } from "./model-retry-625axahf.js";
7
7
  import {
8
8
  __export
9
- } from "./formatter-9rqn6x4v.js";
9
+ } from "./model-retry-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/provider/claude-agent/claude/status.ts
12
12
  var exports_status = {};
13
13
  __export(exports_status, {
14
14
  ClaudeStatus: () => exports_status,
15
- make: () => make9
15
+ make: () => make11
16
16
  });
17
17
  import { Effect, Semaphore, SubscriptionRef } from "effect";
18
- var make9 = Effect.fn("ClaudeStatus.make")(function* (io, connection) {
18
+ var make11 = Effect.fn("ClaudeStatus.make")(function* (io, connection) {
19
19
  const state = yield* SubscriptionRef.make({ type: "checking" });
20
20
  const lock = yield* Semaphore.make(1);
21
21
  const refresh = Effect.fn("ClaudeStatus.refresh")(function* () {
@@ -33,4 +33,4 @@ var make9 = Effect.fn("ClaudeStatus.make")(function* (io, connection) {
33
33
  return { state, refresh, report };
34
34
  });
35
35
 
36
- export { make9, exports_status };
36
+ export { make11, exports_status };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2
4
- } from "./formatter-f9tc5me5.js";
4
+ } from "./model-retry-edm37t96.js";
5
5
  import {
6
6
  AuthorizationError2
7
- } from "./formatter-vpa8zgt8.js";
7
+ } from "./model-retry-80zs2z7e.js";
8
8
  import {
9
9
  CorrectedError2,
10
10
  BlockedError2
11
- } from "./formatter-1y4446k4.js";
11
+ } from "./model-retry-d58fy8mx.js";
12
12
  import {
13
13
  VariantUnavailableError2,
14
14
  UnsupportedPackageError2,
@@ -16,14 +16,14 @@ import {
16
16
  ModelInitializationError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./formatter-xy9mx054.js";
19
+ } from "./model-retry-7n1c2gf8.js";
20
20
  import {
21
21
  isUnreachable2
22
- } from "./formatter-2fc7eemy.js";
22
+ } from "./model-retry-2fc7eemy.js";
23
23
  import {
24
24
  ModelNotSelectedError2,
25
25
  ModelUnavailableError2
26
- } from "./formatter-astymy2y.js";
26
+ } from "./model-retry-4h47fwz8.js";
27
27
 
28
28
  // src/session/to-session-error.ts
29
29
  import { AIError, ToolFailure } from "@opencode/ai/effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./formatter-9rqn6x4v.js";
3
+ } from "./model-retry-9rqn6x4v.js";
4
4
 
5
5
  // src/session/affinity.ts
6
6
  var exports_affinity = {};
@@ -2,32 +2,32 @@ import {
2
2
  ephemeral2,
3
3
  Service93,
4
4
  node95
5
- } from "./formatter-18w9amv2.js";
5
+ } from "./model-retry-77n50j8n.js";
6
6
  import {
7
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
10
  make33,
11
11
  diffByKey2
12
- } from "./formatter-f2zjpyt5.js";
12
+ } from "./model-retry-f2zjpyt5.js";
13
13
  import {
14
14
  create4
15
- } from "./formatter-40y6dtc2.js";
15
+ } from "./model-retry-40y6dtc2.js";
16
16
  import {
17
17
  __export
18
- } from "./formatter-9rqn6x4v.js";
18
+ } from "./model-retry-9rqn6x4v.js";
19
19
 
20
20
  // src/instruction-discovery.ts
21
21
  var exports_instruction_discovery = {};
22
22
  __export(exports_instruction_discovery, {
23
- Event: () => Event7,
23
+ Event: () => Event8,
24
24
  File: () => File2,
25
25
  InstructionDiscovery: () => exports_instruction_discovery,
26
26
  Options: () => Options4,
27
- Service: () => Service36,
28
- configured: () => configured5,
29
- layer: () => layer17,
30
- node: () => node39
27
+ Service: () => Service43,
28
+ configured: () => configured4,
29
+ layer: () => layer18,
30
+ node: () => node46
31
31
  });
32
32
  import { Context, Effect, Layer, Schema } from "effect";
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,7 +39,7 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
39
39
  }
40
40
  var Files = Schema.Array(File2);
41
41
  var key = Key3.make("core/instructions");
42
- var Event7 = {
42
+ var Event8 = {
43
43
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
44
44
  };
45
45
  var Options4 = Schema.Struct({
@@ -47,9 +47,9 @@ var Options4 = Schema.Struct({
47
47
  global: Schema.optional(Schema.Boolean)
48
48
  });
49
49
 
50
- class Service36 extends Context.Service()("@opencode/InstructionDiscovery") {
50
+ class Service43 extends Context.Service()("@opencode/InstructionDiscovery") {
51
51
  }
52
- var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
52
+ var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
53
53
  const bus = yield* Service93;
54
54
  const state = create4({
55
55
  name: "instruction-discovery",
@@ -69,7 +69,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
69
69
  editor.available = false;
70
70
  }
71
71
  }),
72
- notify: () => bus.publish(Event7.Updated, {}).pipe(Effect.asVoid)
72
+ notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
73
73
  });
74
74
  const source = (value) => make33({
75
75
  key,
@@ -87,7 +87,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
87
87
  return unavailable3;
88
88
  return Array.from(current.files.values());
89
89
  });
90
- return Service36.of({
90
+ return Service43.of({
91
91
  project: options?.project !== false,
92
92
  global: options?.global !== false,
93
93
  transform: state.transform,
@@ -101,14 +101,14 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
101
101
  })
102
102
  });
103
103
  }));
104
- function configured5(options) {
104
+ function configured4(options) {
105
105
  return makeLocationNode({
106
- service: Service36,
107
- layer: layer17(options),
106
+ service: Service43,
107
+ layer: layer18(options),
108
108
  deps: [node95]
109
109
  });
110
110
  }
111
- var node39 = configured5();
111
+ var node46 = configured4();
112
112
  function render(files) {
113
113
  return files.map((file) => `Instructions from: ${file.path}
114
114
  ${file.content}`).join(`
@@ -140,4 +140,4 @@ ${render([after])}`;
140
140
  `);
141
141
  }
142
142
 
143
- export { File2, Event7, Options4, Service36, layer17, configured5, node39, exports_instruction_discovery };
143
+ export { File2, Event8, Options4, Service43, layer18, configured4, node46, exports_instruction_discovery };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  useragent2
3
- } from "./formatter-nyxvepra.js";
3
+ } from "./model-retry-9g3vqnsq.js";
4
4
  import {
5
5
  collectBoundedResponseBody2
6
- } from "./formatter-3v8g72cx.js";
6
+ } from "./model-retry-3v8g72cx.js";
7
7
  import {
8
- MAX_RESPONSE_BYTES3,
8
+ MAX_RESPONSE_BYTES2,
9
9
  call2
10
- } from "./formatter-w2eysc6j.js";
10
+ } from "./model-retry-40za9wsf.js";
11
11
  import {
12
- register3
13
- } from "./formatter-xxschbft.js";
12
+ register2
13
+ } from "./model-retry-xjr6c8m4.js";
14
14
  import {
15
15
  __export
16
- } from "./formatter-9rqn6x4v.js";
16
+ } from "./model-retry-9rqn6x4v.js";
17
17
 
18
18
  // src/plugin/websearch/tinyfish.ts
19
19
  var exports_tinyfish = {};
20
20
  __export(exports_tinyfish, {
21
- Plugin: () => Plugin44,
21
+ Plugin: () => Plugin4,
22
22
  WebSearchTinyFish: () => exports_tinyfish,
23
- endpoint: () => endpoint6
23
+ endpoint: () => endpoint3
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Duration, Effect, Option, Schema } from "effect";
27
27
  import { HttpClient, HttpClientRequest } from "effect/http";
28
- var endpoint6 = "https://agent.tinyfish.ai/mcp";
28
+ var endpoint3 = "https://agent.tinyfish.ai/mcp";
29
29
  var McpInput = Schema.Struct({
30
30
  query: Schema.String
31
31
  });
@@ -54,11 +54,11 @@ var InitializedNotification = Schema.Struct({
54
54
  jsonrpc: Schema.Literal("2.0"),
55
55
  method: Schema.Literal("notifications/initialized")
56
56
  });
57
- var Plugin44 = define({
57
+ var Plugin4 = define({
58
58
  id: "opencode.websearch.tinyfish",
59
59
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
60
60
  const http = yield* HttpClient.HttpClient;
61
- yield* register3(ctx, {
61
+ yield* register2(ctx, {
62
62
  id: "tinyfish",
63
63
  name: "TinyFish",
64
64
  env: "TINYFISH_API_KEY",
@@ -68,7 +68,7 @@ var Plugin44 = define({
68
68
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
69
69
  };
70
70
  const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
71
- const result = yield* call2(http, endpoint6, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
71
+ const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
72
72
  const content = result?.content.find((item) => item.text);
73
73
  const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
74
74
  return response?.results.map((item) => ({
@@ -83,7 +83,7 @@ var Plugin44 = define({
83
83
  });
84
84
  var initialize = (http, headers) => Effect.gen(function* () {
85
85
  const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
86
- const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
86
+ const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
87
87
  jsonrpc: "2.0",
88
88
  id: 1,
89
89
  method: "initialize",
@@ -94,11 +94,11 @@ var initialize = (http, headers) => Effect.gen(function* () {
94
94
  }
95
95
  }));
96
96
  const response = yield* client.execute(request);
97
- yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
97
+ yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
98
98
  const session = response.headers["mcp-session-id"];
99
99
  if (session === undefined)
100
100
  return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
101
- const notification = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
101
+ const notification = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
102
102
  jsonrpc: "2.0",
103
103
  method: "notifications/initialized"
104
104
  }));
@@ -109,4 +109,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
109
109
  orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
110
110
  }));
111
111
 
112
- export { endpoint6, Plugin44, exports_tinyfish };
112
+ export { endpoint3, Plugin4, exports_tinyfish };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./formatter-2ytp0tvq.js";
3
+ } from "./model-retry-2ytp0tvq.js";
4
4
  import {
5
5
  __export
6
- } from "./formatter-9rqn6x4v.js";
6
+ } from "./model-retry-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service4,
13
- node: () => node6
12
+ Service: () => Service3,
13
+ node: () => node4
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service4 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service3 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service4, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service3, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service4.of({
27
+ return Service3.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node6 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
52
+ var node4 = makeGlobalNode({ service: Service3, layer, deps: [Npm.node] });
53
53
 
54
- export { Service4, node6, exports_update };
54
+ export { Service3, node4, exports_update };
@@ -1,72 +1,72 @@
1
1
  import {
2
2
  Service93,
3
3
  node95
4
- } from "./formatter-18w9amv2.js";
4
+ } from "./model-retry-77n50j8n.js";
5
5
  import {
6
6
  Service84,
7
7
  node86
8
- } from "./formatter-dxvykrw7.js";
8
+ } from "./model-retry-ks693xed.js";
9
9
  import {
10
10
  changes2,
11
11
  create4
12
- } from "./formatter-40y6dtc2.js";
12
+ } from "./model-retry-40y6dtc2.js";
13
13
  import {
14
14
  __export
15
- } from "./formatter-9rqn6x4v.js";
15
+ } from "./model-retry-9rqn6x4v.js";
16
16
 
17
17
  // src/websearch.ts
18
18
  var exports_websearch3 = {};
19
19
  __export(exports_websearch3, {
20
- DisabledError: () => DisabledError4,
21
- Event: () => Event10,
22
- ID: () => ID8,
23
- Input: () => Input16,
24
- Provider: () => Provider3,
20
+ DisabledError: () => DisabledError3,
21
+ Event: () => Event5,
22
+ ID: () => ID7,
23
+ Input: () => Input15,
24
+ Provider: () => Provider2,
25
25
  ProviderKey: () => ProviderKey2,
26
- ProviderNotFoundError: () => ProviderNotFoundError3,
26
+ ProviderNotFoundError: () => ProviderNotFoundError2,
27
27
  ProviderRequiredError: () => ProviderRequiredError2,
28
28
  RequestError: () => RequestError2,
29
29
  Response: () => Response2,
30
30
  Result: () => Result2,
31
31
  Selection: () => Selection2,
32
- Service: () => Service50,
32
+ Service: () => Service18,
33
33
  WebSearch: () => exports_websearch3,
34
- node: () => node52
34
+ node: () => node21
35
35
  });
36
36
  import { WebSearch } from "@opencode/schema/websearch";
37
37
  import { SessionEvent } from "@opencode/schema/session-event";
38
38
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
39
39
  import { HttpClientError } from "effect/http";
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
- import { Event as Event10 } from "@opencode/schema/websearch";
42
- var ID8 = WebSearch.ID;
43
- var Provider3 = WebSearch.Provider;
44
- var Input16 = WebSearch.Input;
41
+ import { Event as Event5 } from "@opencode/schema/websearch";
42
+ var ID7 = WebSearch.ID;
43
+ var Provider2 = WebSearch.Provider;
44
+ var Input15 = WebSearch.Input;
45
45
  var Result2 = WebSearch.Result;
46
46
  var Response2 = WebSearch.Response;
47
47
  var ProviderKey2 = "websearch:provider";
48
- var Selection2 = Schema.Union([ID8, Schema.Literal("random"), Schema.Literal(false)]);
48
+ var Selection2 = Schema.Union([ID7, Schema.Literal("random"), Schema.Literal(false)]);
49
49
 
50
50
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
51
51
  }
52
52
 
53
- class ProviderNotFoundError3 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
54
- providerID: ID8
53
+ class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
54
+ providerID: ID7
55
55
  }) {
56
56
  }
57
57
 
58
- class DisabledError4 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
+ class DisabledError3 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
59
59
  }
60
60
 
61
61
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
62
- providerID: ID8,
62
+ providerID: ID7,
63
63
  cause: Schema.Defect()
64
64
  }) {
65
65
  }
66
66
 
67
- class Service50 extends Context.Service()("@opencode/WebSearch") {
67
+ class Service18 extends Context.Service()("@opencode/WebSearch") {
68
68
  }
69
- var layer = Layer.effect(Service50, Effect.gen(function* () {
69
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
70
70
  const bus = yield* Service93;
71
71
  const kv = yield* Service84;
72
72
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
@@ -95,7 +95,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
95
95
  });
96
96
  const requireProvider = (providers, providerID) => {
97
97
  const provider = providers.get(providerID);
98
- return provider ? Effect.succeed(provider) : Effect.fail(new ProviderNotFoundError3({ providerID }));
98
+ return provider ? Effect.succeed(provider) : Effect.fail(new ProviderNotFoundError2({ providerID }));
99
99
  };
100
100
  const selection = Effect.fn("WebSearch.selection")(function* () {
101
101
  const data = state.get();
@@ -124,14 +124,14 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
124
124
  };
125
125
  const defaultProvider = Effect.fn("WebSearch.default")(function* (choice) {
126
126
  if (choice === false)
127
- return yield* new DisabledError4;
127
+ return yield* new DisabledError3;
128
128
  if (choice === "random") {
129
129
  const active = preferred.get(undefined)?.provider;
130
130
  return (active === undefined ? undefined : state.get().providers.get(active)) ?? state.get().providers.values().next().value;
131
131
  }
132
132
  return choice ? state.get().providers.get(choice) : undefined;
133
133
  });
134
- return Service50.of({
134
+ return Service18.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 node52 = makeLocationNode({
192
- service: Service50,
191
+ var node21 = makeLocationNode({
192
+ service: Service18,
193
193
  layer,
194
194
  deps: [node95, node86]
195
195
  });
196
196
 
197
- export { ID8, Provider3, Input16, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError3, DisabledError4, RequestError2, Service50, node52, exports_websearch3, Event10 };
197
+ export { ID7, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError3, RequestError2, Service18, node21, exports_websearch3, Event5 };