@opencode/core 0.0.0-dev-21795 → 0.0.0-dev-21798

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 (802) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +94 -94
  4. package/dist/aisdk.js +100 -100
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{managed-policy-4fx8k1s6.js → model-retry-050d3ay8.js} +21 -21
  8. package/dist/chunks/{managed-policy-mchxfxvw.js → model-retry-06vpm9gp.js} +5 -5
  9. package/dist/chunks/{managed-policy-yc4ja266.js → model-retry-0ht9hdz1.js} +18 -18
  10. package/dist/chunks/{managed-policy-96fsyy14.js → model-retry-0jvkxj1w.js} +14 -14
  11. package/dist/chunks/{managed-policy-fgkarqjp.js → model-retry-0wwnb14f.js} +22 -22
  12. package/dist/chunks/{managed-policy-kttwta8x.js → model-retry-0xhfrmwt.js} +24 -24
  13. package/dist/chunks/{managed-policy-1pfp6hjn.js → model-retry-100payr0.js} +14 -14
  14. package/dist/chunks/{managed-policy-6v9rn0ba.js → model-retry-10jcw8d8.js} +27 -27
  15. package/dist/chunks/{managed-policy-aynbw0zy.js → model-retry-125y49va.js} +11 -11
  16. package/dist/chunks/{managed-policy-ckq7ezzg.js → model-retry-17r689qp.js} +34 -34
  17. package/dist/chunks/{managed-policy-g3pptkv5.js → model-retry-17tax46a.js} +24 -24
  18. package/dist/chunks/{managed-policy-7pghdm2f.js → model-retry-1cmbb7v6.js} +31 -31
  19. package/dist/chunks/{managed-policy-14txj3e5.js → model-retry-1v37p8m9.js} +3 -3
  20. package/dist/chunks/{managed-policy-1x2knyw4.js → model-retry-1x2knyw4.js} +1 -1
  21. package/dist/chunks/{managed-policy-1y0wdj51.js → model-retry-1y0wdj51.js} +1 -1
  22. package/dist/chunks/{managed-policy-p7vhpwh8.js → model-retry-1yq9hg58.js} +5 -5
  23. package/dist/chunks/{managed-policy-1ep2p91f.js → model-retry-27w5k9zf.js} +2 -2
  24. package/dist/chunks/model-retry-2dkjcnxp.js +18 -0
  25. package/dist/chunks/{managed-policy-5zcvddpv.js → model-retry-2emwncdy.js} +29 -29
  26. package/dist/chunks/{managed-policy-mj47herm.js → model-retry-2kw25s9z.js} +12 -12
  27. package/dist/chunks/{managed-policy-2z1j29yd.js → model-retry-2z1j29yd.js} +1 -1
  28. package/dist/chunks/{managed-policy-xsbcx01h.js → model-retry-3459c4aq.js} +17 -17
  29. package/dist/chunks/{managed-policy-g6dfma3d.js → model-retry-36qx82yz.js} +6 -6
  30. package/dist/chunks/{managed-policy-s3ezegtz.js → model-retry-376fvw41.js} +16 -16
  31. package/dist/chunks/{managed-policy-pfmze3yn.js → model-retry-37sdb7g6.js} +26 -26
  32. package/dist/chunks/{managed-policy-ayjs7tqn.js → model-retry-3cbjf1nt.js} +2 -2
  33. package/dist/chunks/{managed-policy-3hepkmqq.js → model-retry-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{managed-policy-3dp3y17e.js → model-retry-3j5fsnm8.js} +68 -68
  35. package/dist/chunks/{managed-policy-afmnpta1.js → model-retry-3kdbrncp.js} +5 -5
  36. package/dist/chunks/{managed-policy-3n7egtfq.js → model-retry-3m5yrge5.js} +11 -11
  37. package/dist/chunks/{managed-policy-1yv6gjd4.js → model-retry-3njs8ewd.js} +5 -5
  38. package/dist/chunks/{managed-policy-waq4kccd.js → model-retry-3qxfjpzy.js} +26 -26
  39. package/dist/chunks/{managed-policy-mbfac0q8.js → model-retry-3rc6xfjm.js} +7 -7
  40. package/dist/chunks/{managed-policy-d1vrg4at.js → model-retry-3rvfd2p4.js} +35 -35
  41. package/dist/chunks/{managed-policy-c1fej57t.js → model-retry-3vdwfrk9.js} +5 -5
  42. package/dist/chunks/{managed-policy-csb4wctr.js → model-retry-3vz2yars.js} +23 -23
  43. package/dist/chunks/{managed-policy-4nz8cp64.js → model-retry-44kmfwta.js} +20 -20
  44. package/dist/chunks/{managed-policy-97cewran.js → model-retry-456hh3yw.js} +6 -6
  45. package/dist/chunks/model-retry-4eh702yp.js +261 -0
  46. package/dist/chunks/{managed-policy-k1ss8rm4.js → model-retry-4nff539t.js} +45 -45
  47. package/dist/chunks/{managed-policy-51jhpxmm.js → model-retry-4tpkt9ke.js} +19 -19
  48. package/dist/chunks/{managed-policy-4v008n1t.js → model-retry-4v008n1t.js} +1 -1
  49. package/dist/chunks/{managed-policy-dxfx83kj.js → model-retry-4xkwq58b.js} +19 -19
  50. package/dist/chunks/{managed-policy-5bn25yvx.js → model-retry-5h6jm490.js} +9 -9
  51. package/dist/chunks/{managed-policy-m5t3njjp.js → model-retry-5j9j26xw.js} +11 -11
  52. package/dist/chunks/{managed-policy-j5ekttm8.js → model-retry-5jzmzpz9.js} +46 -46
  53. package/dist/chunks/{managed-policy-5m9w47nd.js → model-retry-5m9w47nd.js} +1 -1
  54. package/dist/chunks/{managed-policy-b6vsg801.js → model-retry-5nnwax6m.js} +5 -5
  55. package/dist/chunks/{managed-policy-w7zjqt6n.js → model-retry-5p205wab.js} +4 -4
  56. package/dist/chunks/{managed-policy-1n4z0p15.js → model-retry-5snh3nsf.js} +54 -54
  57. package/dist/chunks/{managed-policy-frmwq4jb.js → model-retry-5v8dvpa5.js} +4 -4
  58. package/dist/chunks/{managed-policy-kygz8tjd.js → model-retry-5z33grs6.js} +18 -18
  59. package/dist/chunks/{managed-policy-0zq9v72r.js → model-retry-61g7nd3s.js} +10 -10
  60. package/dist/chunks/{managed-policy-pzmysmsy.js → model-retry-64t4yar7.js} +9 -9
  61. package/dist/chunks/{managed-policy-gf8234ax.js → model-retry-67q20rmp.js} +5 -5
  62. package/dist/chunks/{managed-policy-baphfknr.js → model-retry-67szgq6z.js} +13 -13
  63. package/dist/chunks/{managed-policy-6esdw8yj.js → model-retry-6esdw8yj.js} +1 -1
  64. package/dist/chunks/{managed-policy-pkv6rmrq.js → model-retry-6g7mppbr.js} +9 -9
  65. package/dist/chunks/{managed-policy-9p83n4ag.js → model-retry-6nwz34t5.js} +11 -11
  66. package/dist/chunks/{managed-policy-6pjqjmy2.js → model-retry-6pjqjmy2.js} +1 -1
  67. package/dist/chunks/{managed-policy-8ht73479.js → model-retry-72anbrp0.js} +34 -34
  68. package/dist/chunks/{managed-policy-25ngw1b7.js → model-retry-72at9y79.js} +15 -15
  69. package/dist/chunks/{managed-policy-g644dnqe.js → model-retry-73rh2vq1.js} +28 -28
  70. package/dist/chunks/{managed-policy-76cb1hcw.js → model-retry-76cb1hcw.js} +1 -1
  71. package/dist/chunks/{managed-policy-vgk61ywp.js → model-retry-799ckdtf.js} +9 -9
  72. package/dist/chunks/{managed-policy-ymtqdgzg.js → model-retry-7bk0syww.js} +11 -11
  73. package/dist/chunks/{managed-policy-7bmhse3q.js → model-retry-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{managed-policy-c7ce2teg.js → model-retry-7emqhgyb.js} +15 -15
  75. package/dist/chunks/{managed-policy-d1r5081s.js → model-retry-7r0r50e5.js} +5 -5
  76. package/dist/chunks/{managed-policy-7w2ypzdf.js → model-retry-7w2ypzdf.js} +1 -1
  77. package/dist/chunks/{managed-policy-9gnx14jc.js → model-retry-7wy00epp.js} +21 -21
  78. package/dist/chunks/{managed-policy-abatyzxm.js → model-retry-7xj3j87d.js} +34 -34
  79. package/dist/chunks/{managed-policy-eap9pty2.js → model-retry-7yj2t834.js} +21 -21
  80. package/dist/chunks/{managed-policy-xjtwdmvz.js → model-retry-7yp67vww.js} +18 -18
  81. package/dist/chunks/{managed-policy-4f6wjw9b.js → model-retry-7zhd4cey.js} +8 -8
  82. package/dist/chunks/{managed-policy-r3jkh5w9.js → model-retry-856d8532.js} +23 -23
  83. package/dist/chunks/{managed-policy-r96ere88.js → model-retry-88kypjvy.js} +4 -4
  84. package/dist/chunks/{managed-policy-r61tydse.js → model-retry-8gbe608w.js} +12 -12
  85. package/dist/chunks/{managed-policy-kkrmzvm1.js → model-retry-8kcbfhnp.js} +14 -14
  86. package/dist/chunks/{managed-policy-8zj2w8ry.js → model-retry-8krtskbq.js} +10 -10
  87. package/dist/chunks/{managed-policy-1wyv5fds.js → model-retry-8kw3wj8m.js} +38 -38
  88. package/dist/chunks/{managed-policy-knp52wmd.js → model-retry-8p97zz9p.js} +39 -39
  89. package/dist/chunks/{managed-policy-vb2g9h2k.js → model-retry-8tm9bnq5.js} +9 -9
  90. package/dist/chunks/{managed-policy-8wtp7s3z.js → model-retry-8wtp7s3z.js} +1 -1
  91. package/dist/chunks/{managed-policy-91rj84md.js → model-retry-91rj84md.js} +1 -1
  92. package/dist/chunks/{managed-policy-7z3stfjh.js → model-retry-99y4khf1.js} +33 -33
  93. package/dist/chunks/{managed-policy-9qwx7yq4.js → model-retry-9hn5wjvr.js} +17 -17
  94. package/dist/chunks/{managed-policy-z7bc1hkz.js → model-retry-9nn8g4z9.js} +21 -21
  95. package/dist/chunks/{managed-policy-dn35p0ms.js → model-retry-9rm0bcgy.js} +23 -23
  96. package/dist/chunks/{managed-policy-4zyp4rz1.js → model-retry-9t2bhtr4.js} +13 -13
  97. package/dist/chunks/{managed-policy-jg4gd8ks.js → model-retry-9vfx6p45.js} +36 -36
  98. package/dist/chunks/{managed-policy-f8g33fbf.js → model-retry-a5pdx5y6.js} +32 -32
  99. package/dist/chunks/{managed-policy-a7hcemwv.js → model-retry-a7hcemwv.js} +3 -3
  100. package/dist/chunks/{managed-policy-034tev2y.js → model-retry-aj7mw0zk.js} +2 -2
  101. package/dist/chunks/{managed-policy-za2sj63g.js → model-retry-ajxt18t2.js} +7 -7
  102. package/dist/chunks/{managed-policy-ee5m4gs1.js → model-retry-ayrf2aj2.js} +17 -17
  103. package/dist/chunks/{managed-policy-b0mv4wxm.js → model-retry-b0mv4wxm.js} +2 -2
  104. package/dist/chunks/{managed-policy-ssfehs1z.js → model-retry-b1pn0vxn.js} +4 -4
  105. package/dist/chunks/{managed-policy-5zwc8z7d.js → model-retry-b5sxz6p8.js} +4 -4
  106. package/dist/chunks/{managed-policy-4gy3hbk0.js → model-retry-b8d6cdec.js} +12 -12
  107. package/dist/chunks/{managed-policy-s626qfae.js → model-retry-bjhzkqyk.js} +4 -4
  108. package/dist/chunks/{managed-policy-bstexjd6.js → model-retry-bstexjd6.js} +1 -1
  109. package/dist/chunks/{managed-policy-p3q23q4d.js → model-retry-c361hsxc.js} +26 -26
  110. package/dist/chunks/{managed-policy-95n777kh.js → model-retry-c5ncm6k8.js} +23 -23
  111. package/dist/chunks/{managed-policy-g5304s1h.js → model-retry-cnhc66rt.js} +35 -35
  112. package/dist/chunks/{managed-policy-k8zf2em2.js → model-retry-cxnqxqrv.js} +85 -85
  113. package/dist/chunks/{managed-policy-7c9yzdv1.js → model-retry-cxy24jbt.js} +28 -28
  114. package/dist/chunks/{managed-policy-ch7yww4p.js → model-retry-cyyydscs.js} +24 -24
  115. package/dist/chunks/{managed-policy-gpby3js0.js → model-retry-d0pkz9h4.js} +14 -14
  116. package/dist/chunks/{managed-policy-kz8nn0w5.js → model-retry-d22k01at.js} +7 -7
  117. package/dist/chunks/{managed-policy-0xn02ny1.js → model-retry-d2p1wmw4.js} +3 -3
  118. package/dist/chunks/{managed-policy-d4v9tmah.js → model-retry-d4v9tmah.js} +2 -2
  119. package/dist/chunks/{managed-policy-rmve5ma1.js → model-retry-d51kxexq.js} +5 -5
  120. package/dist/chunks/{managed-policy-ay70qn8v.js → model-retry-da6nt20h.js} +10 -10
  121. package/dist/chunks/{managed-policy-pc1v25hk.js → model-retry-dh62xe4r.js} +3 -3
  122. package/dist/chunks/{managed-policy-998yhzzq.js → model-retry-dvj9ct8m.js} +3 -3
  123. package/dist/chunks/{managed-policy-33hmfn8k.js → model-retry-e207k1f0.js} +10 -10
  124. package/dist/chunks/{managed-policy-84dphpr9.js → model-retry-e3fssm85.js} +17 -17
  125. package/dist/chunks/{managed-policy-fdn62rcc.js → model-retry-e4159ryx.js} +8 -8
  126. package/dist/chunks/{managed-policy-e834z07m.js → model-retry-e834z07m.js} +1 -1
  127. package/dist/chunks/{managed-policy-0myb0hv8.js → model-retry-etshtsr8.js} +7 -7
  128. package/dist/chunks/{managed-policy-8ej614zm.js → model-retry-ewr5k9wg.js} +8 -8
  129. package/dist/chunks/{managed-policy-4xbynjts.js → model-retry-faa8s968.js} +1 -1
  130. package/dist/chunks/{managed-policy-fffv3p7h.js → model-retry-fffv3p7h.js} +1 -1
  131. package/dist/chunks/{managed-policy-k3gjgtk1.js → model-retry-fwhyb0gq.js} +15 -15
  132. package/dist/chunks/{managed-policy-wr3re1en.js → model-retry-fznmdakp.js} +4 -4
  133. package/dist/chunks/{managed-policy-8aspdrzb.js → model-retry-g211t61s.js} +5 -5
  134. package/dist/chunks/{managed-policy-wkss3vh5.js → model-retry-g4hhz492.js} +35 -35
  135. package/dist/chunks/{managed-policy-g5h9c0rr.js → model-retry-g5h9c0rr.js} +2 -2
  136. package/dist/chunks/{managed-policy-an8erekz.js → model-retry-gchkqpys.js} +3 -3
  137. package/dist/chunks/{managed-policy-mpwa3hnt.js → model-retry-gjzc59g1.js} +16 -16
  138. package/dist/chunks/model-retry-gnv5jhj2.js +517 -0
  139. package/dist/chunks/{managed-policy-bewwd09f.js → model-retry-gs55zvzx.js} +26 -26
  140. package/dist/chunks/{managed-policy-rc7nqfyw.js → model-retry-h5yq12sk.js} +5 -5
  141. package/dist/chunks/{managed-policy-e2x7gzav.js → model-retry-hdfrs5mg.js} +7 -7
  142. package/dist/chunks/{managed-policy-8aw03fbr.js → model-retry-hgyk1m6z.js} +3 -3
  143. package/dist/chunks/{managed-policy-4x3extsw.js → model-retry-hhmywts7.js} +10 -10
  144. package/dist/chunks/{managed-policy-79yy74tq.js → model-retry-hhnqmbew.js} +184 -184
  145. package/dist/chunks/{managed-policy-7f63ea2z.js → model-retry-hks9h3jz.js} +30 -30
  146. package/dist/chunks/{managed-policy-86pjed9p.js → model-retry-hqdkncv9.js} +8 -8
  147. package/dist/chunks/{managed-policy-2rrayadd.js → model-retry-hwdnhv43.js} +29 -29
  148. package/dist/chunks/{managed-policy-7dg649xm.js → model-retry-hyyhzzxx.js} +16 -16
  149. package/dist/chunks/{managed-policy-j113cymg.js → model-retry-j113cymg.js} +1 -1
  150. package/dist/chunks/{managed-policy-gf6hc92a.js → model-retry-j2pd7159.js} +19 -19
  151. package/dist/chunks/{managed-policy-xzjf81fw.js → model-retry-j8e92swm.js} +38 -38
  152. package/dist/chunks/{managed-policy-eet2c32v.js → model-retry-j9gz35am.js} +17 -17
  153. package/dist/chunks/{managed-policy-18g90bpv.js → model-retry-jcqm84fr.js} +9 -9
  154. package/dist/chunks/{managed-policy-55w14brw.js → model-retry-jd2vyc00.js} +17 -17
  155. package/dist/chunks/{managed-policy-7f4s0p3m.js → model-retry-jm1rj8kh.js} +42 -42
  156. package/dist/chunks/{managed-policy-jneg3k74.js → model-retry-jneg3k74.js} +1 -1
  157. package/dist/chunks/{managed-policy-cz0we2g4.js → model-retry-jzgdpz6y.js} +35 -35
  158. package/dist/chunks/{managed-policy-ycnqh90j.js → model-retry-k60f6tvy.js} +20 -20
  159. package/dist/chunks/{managed-policy-k814nvkf.js → model-retry-k814nvkf.js} +1 -1
  160. package/dist/chunks/{managed-policy-c6b16rft.js → model-retry-kgmyqp0y.js} +1 -1
  161. package/dist/chunks/{managed-policy-y9a3321v.js → model-retry-khgyexzf.js} +33 -33
  162. package/dist/chunks/{managed-policy-711wh92p.js → model-retry-kqerj9ke.js} +9 -9
  163. package/dist/chunks/{managed-policy-rd395641.js → model-retry-krw5ejhg.js} +5 -5
  164. package/dist/chunks/{managed-policy-kt3bjfbg.js → model-retry-kt3bjfbg.js} +1 -1
  165. package/dist/chunks/{managed-policy-2bshgvsd.js → model-retry-kvzw13zf.js} +3 -3
  166. package/dist/chunks/{managed-policy-3qh28kw9.js → model-retry-kzhqem7y.js} +27 -27
  167. package/dist/chunks/{managed-policy-m1714858.js → model-retry-m1714858.js} +1 -1
  168. package/dist/chunks/{managed-policy-jhnq0906.js → model-retry-m5vt6my1.js} +4 -4
  169. package/dist/chunks/{managed-policy-m9w0rfyh.js → model-retry-m9w0rfyh.js} +1 -1
  170. package/dist/chunks/{managed-policy-maspj1v3.js → model-retry-maspj1v3.js} +1 -1
  171. package/dist/chunks/{managed-policy-e22n6ctv.js → model-retry-mbvs8a24.js} +16 -16
  172. package/dist/chunks/{managed-policy-fhrpjj0r.js → model-retry-mn4sstjx.js} +4 -4
  173. package/dist/chunks/{managed-policy-2tfzkff6.js → model-retry-mr3sax3v.js} +16 -16
  174. package/dist/chunks/{managed-policy-q21mtmnq.js → model-retry-msz72xyj.js} +2 -2
  175. package/dist/chunks/{managed-policy-arz7hw7x.js → model-retry-my4zabxr.js} +2 -2
  176. package/dist/chunks/{managed-policy-yd8f2aar.js → model-retry-mya9fhc3.js} +18 -18
  177. package/dist/chunks/{managed-policy-cgky5gqb.js → model-retry-mykzpx85.js} +6 -6
  178. package/dist/chunks/{managed-policy-n0p0277s.js → model-retry-n0p0277s.js} +1 -1
  179. package/dist/chunks/{managed-policy-zp0mbxe0.js → model-retry-n2crsrfc.js} +23 -23
  180. package/dist/chunks/{managed-policy-5w95pjhr.js → model-retry-n82jt8hg.js} +13 -13
  181. package/dist/chunks/{managed-policy-9b28cy4d.js → model-retry-n9p72mjb.js} +5 -5
  182. package/dist/chunks/{managed-policy-770pw0s1.js → model-retry-nah043kf.js} +4 -4
  183. package/dist/chunks/{managed-policy-5be5tbrh.js → model-retry-ng3brtr7.js} +32 -32
  184. package/dist/chunks/{managed-policy-he9da3ry.js → model-retry-nhe1yga1.js} +45 -45
  185. package/dist/chunks/{managed-policy-50ra4brc.js → model-retry-nhqzsk2y.js} +11 -11
  186. package/dist/chunks/{managed-policy-2ffq6khn.js → model-retry-nkr11kdx.js} +27 -27
  187. package/dist/chunks/{managed-policy-0t0ezgkn.js → model-retry-nm0eb3mq.js} +20 -20
  188. package/dist/chunks/{managed-policy-dr1fr17h.js → model-retry-nrch4egb.js} +25 -25
  189. package/dist/chunks/{managed-policy-p015t6z3.js → model-retry-p015t6z3.js} +2 -2
  190. package/dist/chunks/{managed-policy-x7hdnsxb.js → model-retry-p79cjfbn.js} +19 -19
  191. package/dist/chunks/{managed-policy-qy0f7jh7.js → model-retry-pbb834xc.js} +9 -9
  192. package/dist/chunks/{managed-policy-qjnb67tm.js → model-retry-pes7pnh1.js} +6 -6
  193. package/dist/chunks/{managed-policy-g5yjf9jg.js → model-retry-pg8x00ch.js} +4 -4
  194. package/dist/chunks/{managed-policy-kgdbym9g.js → model-retry-phzadmh4.js} +87 -87
  195. package/dist/chunks/{managed-policy-pknna89w.js → model-retry-pknna89w.js} +1 -1
  196. package/dist/chunks/{managed-policy-pq2p86g1.js → model-retry-pkv4aqak.js} +8 -8
  197. package/dist/chunks/{managed-policy-wt1sed5t.js → model-retry-pkyxh230.js} +4 -4
  198. package/dist/chunks/{managed-policy-zttkbwvn.js → model-retry-pr8acd8t.js} +36 -36
  199. package/dist/chunks/{managed-policy-scn35n2s.js → model-retry-q44gb8fn.js} +46 -46
  200. package/dist/chunks/{managed-policy-18mmfe1f.js → model-retry-q9xwq0xc.js} +11 -11
  201. package/dist/chunks/{managed-policy-arckp0tt.js → model-retry-qfdd46e5.js} +49 -49
  202. package/dist/chunks/{managed-policy-qjgzc4b4.js → model-retry-qjgzc4b4.js} +1 -1
  203. package/dist/chunks/{managed-policy-yahmaqe8.js → model-retry-qnm4ee5f.js} +6 -6
  204. package/dist/chunks/{managed-policy-wwye013q.js → model-retry-qqg9c0kv.js} +7 -7
  205. package/dist/chunks/{managed-policy-8d3xcys2.js → model-retry-qzbrb55n.js} +26 -26
  206. package/dist/chunks/{managed-policy-r0yr0wbs.js → model-retry-r0yr0wbs.js} +1 -1
  207. package/dist/chunks/{managed-policy-hzyqcp35.js → model-retry-r2r52ss0.js} +8 -8
  208. package/dist/chunks/{managed-policy-r542h3bh.js → model-retry-r542h3bh.js} +1 -1
  209. package/dist/chunks/{managed-policy-agyg961t.js → model-retry-r621r93h.js} +3 -3
  210. package/dist/chunks/{managed-policy-2tst3b9e.js → model-retry-r7qbvbca.js} +12 -12
  211. package/dist/chunks/{managed-policy-rb9dy4dg.js → model-retry-rb9dy4dg.js} +1 -1
  212. package/dist/chunks/{managed-policy-29525h7k.js → model-retry-rs3s0t58.js} +38 -38
  213. package/dist/chunks/{managed-policy-rt5dr6hb.js → model-retry-rt5dr6hb.js} +1 -1
  214. package/dist/chunks/{managed-policy-fe0b0wqf.js → model-retry-rvbz23xa.js} +13 -13
  215. package/dist/chunks/{managed-policy-y9x4pn1g.js → model-retry-s499zzzn.js} +6 -6
  216. package/dist/chunks/{managed-policy-sa3fpqfw.js → model-retry-sa3fpqfw.js} +2 -2
  217. package/dist/chunks/{managed-policy-p3nedr2s.js → model-retry-shbma2nf.js} +13 -13
  218. package/dist/chunks/{managed-policy-838e58y8.js → model-retry-sm74gnkv.js} +7 -7
  219. package/dist/chunks/{managed-policy-ccx0tj3k.js → model-retry-sn0f3s8q.js} +17 -17
  220. package/dist/chunks/{managed-policy-9ttr7wg4.js → model-retry-sp6zazaz.js} +30 -30
  221. package/dist/chunks/{managed-policy-sqjzf8x2.js → model-retry-sqjzf8x2.js} +1 -1
  222. package/dist/chunks/{managed-policy-hc8rr0f7.js → model-retry-szchc02d.js} +8 -8
  223. package/dist/chunks/{managed-policy-8ty1fwe5.js → model-retry-t08j0hgd.js} +12 -12
  224. package/dist/chunks/{managed-policy-c8666r4c.js → model-retry-tasvem1v.js} +6 -6
  225. package/dist/chunks/{managed-policy-tczq8hjw.js → model-retry-tczq8hjw.js} +1 -1
  226. package/dist/chunks/{managed-policy-smyv8e6m.js → model-retry-tf6tm6wa.js} +11 -11
  227. package/dist/chunks/{managed-policy-tg1vr1qt.js → model-retry-tg1vr1qt.js} +1 -1
  228. package/dist/chunks/{managed-policy-3nnrz6f6.js → model-retry-tmc7xdjs.js} +4 -4
  229. package/dist/chunks/{managed-policy-er6b0kzz.js → model-retry-tvf154dx.js} +14 -14
  230. package/dist/chunks/{managed-policy-9zrtw0ng.js → model-retry-twpa8r42.js} +45 -45
  231. package/dist/chunks/{managed-policy-twv2r8f4.js → model-retry-twv2r8f4.js} +2 -2
  232. package/dist/chunks/{managed-policy-15cyj2pd.js → model-retry-v0yxjjsz.js} +52 -52
  233. package/dist/chunks/{managed-policy-v2r1d0zg.js → model-retry-v2r1d0zg.js} +1 -1
  234. package/dist/chunks/{managed-policy-n7wnam13.js → model-retry-v6h5bgwd.js} +8 -8
  235. package/dist/chunks/{managed-policy-vd3b3yk9.js → model-retry-vd3b3yk9.js} +1 -1
  236. package/dist/chunks/{managed-policy-veqvce7d.js → model-retry-veqvce7d.js} +1 -1
  237. package/dist/chunks/{managed-policy-p5w84a5e.js → model-retry-vewr63hq.js} +16 -16
  238. package/dist/chunks/{managed-policy-tdqeyjar.js → model-retry-vhqwr51r.js} +11 -11
  239. package/dist/chunks/{managed-policy-m37sd98t.js → model-retry-vmfhgzt5.js} +4 -4
  240. package/dist/chunks/{managed-policy-n6x2fb8a.js → model-retry-vqbn6xdq.js} +1 -1
  241. package/dist/chunks/{managed-policy-e45v1dq9.js → model-retry-vrsa97jg.js} +24 -24
  242. package/dist/chunks/{managed-policy-40za9wsf.js → model-retry-w2eysc6j.js} +9 -9
  243. package/dist/chunks/{managed-policy-w3wsvvr9.js → model-retry-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{managed-policy-1mpbznjz.js → model-retry-w59prh0j.js} +34 -34
  245. package/dist/chunks/{managed-policy-2sde7pdr.js → model-retry-w92g60gw.js} +24 -24
  246. package/dist/chunks/{managed-policy-wakvkjy4.js → model-retry-wakvkjy4.js} +1 -1
  247. package/dist/chunks/{managed-policy-86gmn33h.js → model-retry-wcbhfjrd.js} +19 -19
  248. package/dist/chunks/{managed-policy-wd87259q.js → model-retry-wd87259q.js} +1 -1
  249. package/dist/chunks/{managed-policy-mf0qgk01.js → model-retry-wrhwm553.js} +20 -20
  250. package/dist/chunks/{managed-policy-qsqpg9tp.js → model-retry-wy6akpvc.js} +7 -7
  251. package/dist/chunks/{managed-policy-6080abd8.js → model-retry-wyzx5psy.js} +18 -18
  252. package/dist/chunks/{managed-policy-4pavydbz.js → model-retry-x1q34xva.js} +2 -2
  253. package/dist/chunks/{managed-policy-xf4m4z3t.js → model-retry-x6w9baef.js} +18 -18
  254. package/dist/chunks/{managed-policy-75137ffn.js → model-retry-x7ey6qtv.js} +7 -7
  255. package/dist/chunks/{managed-policy-wcxnm9b3.js → model-retry-xc7j2c4d.js} +15 -15
  256. package/dist/chunks/{managed-policy-6z9q0fb1.js → model-retry-xhywq8xw.js} +11 -11
  257. package/dist/chunks/{managed-policy-nt9bdxr0.js → model-retry-xj5efqxa.js} +8 -8
  258. package/dist/chunks/{managed-policy-xkfczkpn.js → model-retry-xkfczkpn.js} +3 -3
  259. package/dist/chunks/{managed-policy-v8vd993n.js → model-retry-xrc3640n.js} +8 -8
  260. package/dist/chunks/{managed-policy-2m2g9ynh.js → model-retry-xsact9zs.js} +4 -4
  261. package/dist/chunks/{managed-policy-9r00qwzx.js → model-retry-xxbj3jbs.js} +4 -4
  262. package/dist/chunks/{managed-policy-rbha4e8j.js → model-retry-xynhjj0h.js} +15 -15
  263. package/dist/chunks/{managed-policy-wbye8qn8.js → model-retry-xzya39d9.js} +15 -15
  264. package/dist/chunks/{managed-policy-e063jx1w.js → model-retry-y6haqydp.js} +11 -11
  265. package/dist/chunks/{managed-policy-6fkpavy9.js → model-retry-y6s9gp4k.js} +19 -19
  266. package/dist/chunks/{managed-policy-n03at03x.js → model-retry-y7qvxgn7.js} +11 -11
  267. package/dist/chunks/{managed-policy-yb20nhc3.js → model-retry-yb20nhc3.js} +1 -1
  268. package/dist/chunks/{managed-policy-3sn0zmr9.js → model-retry-ycqv3yh7.js} +18 -18
  269. package/dist/chunks/{managed-policy-62nka828.js → model-retry-yk4w5znd.js} +10 -10
  270. package/dist/chunks/{managed-policy-nh4r2aae.js → model-retry-yk6hg7py.js} +13 -13
  271. package/dist/chunks/{managed-policy-27jk1en4.js → model-retry-ykrn0qsh.js} +12 -12
  272. package/dist/chunks/{managed-policy-dfexp956.js → model-retry-ynqg5bhp.js} +6 -6
  273. package/dist/chunks/{managed-policy-pw9p4tf0.js → model-retry-yw1ck7zb.js} +11 -11
  274. package/dist/chunks/{managed-policy-z5x59bbe.js → model-retry-z08m45c2.js} +25 -25
  275. package/dist/chunks/{managed-policy-z0bkrqjs.js → model-retry-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{managed-policy-39kss88q.js → model-retry-z18nf20h.js} +9 -9
  277. package/dist/chunks/{managed-policy-m607dzpx.js → model-retry-z1n0gzr1.js} +14 -14
  278. package/dist/chunks/{managed-policy-w3fjdyms.js → model-retry-z1ydadez.js} +9 -9
  279. package/dist/chunks/{managed-policy-z38nccrw.js → model-retry-z38nccrw.js} +1 -1
  280. package/dist/chunks/{managed-policy-m10jqfx1.js → model-retry-z7ttk5hb.js} +5 -5
  281. package/dist/chunks/{managed-policy-851zh3j0.js → model-retry-z9x3jvcw.js} +18 -18
  282. package/dist/chunks/{managed-policy-82jsfkky.js → model-retry-zd3qvcwp.js} +14 -14
  283. package/dist/chunks/model-retry-zd4c8dy4.js +26 -0
  284. package/dist/chunks/{managed-policy-w89ca4k9.js → model-retry-zgphpnk4.js} +8 -8
  285. package/dist/chunks/{managed-policy-r1vtm56b.js → model-retry-zhbxds4j.js} +12 -12
  286. package/dist/chunks/{managed-policy-r3x2rc5q.js → model-retry-zjxxcmzt.js} +13 -13
  287. package/dist/chunks/{managed-policy-zkg84ctx.js → model-retry-zkg84ctx.js} +1 -1
  288. package/dist/chunks/{managed-policy-hhafapa0.js → model-retry-zmwx25fz.js} +2 -2
  289. package/dist/chunks/{managed-policy-ncdbbenb.js → model-retry-zwnm9ync.js} +4 -4
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +89 -89
  295. package/dist/config/discovery.js +87 -87
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +104 -104
  298. package/dist/config/plugin/agent.js +120 -120
  299. package/dist/config/plugin/command.js +216 -216
  300. package/dist/config/plugin/compaction.js +157 -157
  301. package/dist/config/plugin/compatibility.js +137 -137
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +119 -119
  304. package/dist/config/plugin/image.js +118 -118
  305. package/dist/config/plugin/instruction.js +118 -118
  306. package/dist/config/plugin/location-watcher.js +118 -118
  307. package/dist/config/plugin/mcp.js +127 -127
  308. package/dist/config/plugin/policy.js +119 -119
  309. package/dist/config/plugin/provider.js +118 -118
  310. package/dist/config/plugin/reference.js +120 -120
  311. package/dist/config/plugin/shell.js +118 -118
  312. package/dist/config/plugin/skill-file.js +107 -107
  313. package/dist/config/plugin/skill-scan.js +3 -3
  314. package/dist/config/plugin/skill.js +140 -140
  315. package/dist/config/plugin/snapshot.js +118 -118
  316. package/dist/config/plugin/source.js +121 -121
  317. package/dist/config/plugin/tool-output.js +119 -119
  318. package/dist/config/plugin/websearch.js +117 -117
  319. package/dist/config/plugin/worktree.js +120 -120
  320. package/dist/config/variable.js +1 -1
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +123 -123
  323. package/dist/console-access.js +1 -1
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +87 -87
  326. package/dist/database/database.js +70 -70
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  392. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  393. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  394. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  395. package/dist/database/migration.gen.js +53 -53
  396. package/dist/database/migration.js +55 -55
  397. package/dist/database/path.js +2 -2
  398. package/dist/database/schema.gen.js +1 -1
  399. package/dist/database/schema.sql.js +1 -1
  400. package/dist/database/sqlite.bun.js +1 -1
  401. package/dist/database/sqlite.js +1 -1
  402. package/dist/database/sqlite.node.js +1 -1
  403. package/dist/database/sqlite.workerd.js +1 -1
  404. package/dist/database/v1-migration.bun.js +92 -92
  405. package/dist/database/v1-migration.js +1 -1
  406. package/dist/effect/app-node-builder.js +374 -374
  407. package/dist/effect/app-node-platform.js +2 -2
  408. package/dist/effect/keyed-mutex.js +1 -1
  409. package/dist/effect/websocket-constructor.js +1 -1
  410. package/dist/environment/driver.js +1 -1
  411. package/dist/environment/environment.js +98 -98
  412. package/dist/environment/exec-defaults.js +2 -2
  413. package/dist/environment/files.js +1 -1
  414. package/dist/environment/index.js +100 -100
  415. package/dist/environment/local.js +2 -2
  416. package/dist/environment/memory.js +2 -2
  417. package/dist/environment/unavailable.js +3 -3
  418. package/dist/event/sql.js +1 -1
  419. package/dist/event-logger.js +74 -74
  420. package/dist/file-access.js +109 -109
  421. package/dist/file-mutation.js +99 -99
  422. package/dist/file-retention.js +1 -1
  423. package/dist/filesystem/fff.bun.js +2 -2
  424. package/dist/filesystem/fff.js +1 -1
  425. package/dist/filesystem/fff.node.js +2 -2
  426. package/dist/filesystem/fff.workerd.js +2 -2
  427. package/dist/filesystem/location-watcher-policy.js +6 -6
  428. package/dist/filesystem/location-watcher.js +227 -227
  429. package/dist/filesystem/protected.js +1 -1
  430. package/dist/filesystem/search.js +104 -104
  431. package/dist/filesystem/watcher-binding.js +1 -1
  432. package/dist/filesystem/watcher.js +11 -11
  433. package/dist/filesystem.js +107 -107
  434. package/dist/form.js +88 -88
  435. package/dist/formatter/builtins.js +4 -4
  436. package/dist/formatter.js +92 -92
  437. package/dist/generate.js +110 -110
  438. package/dist/git.js +11 -11
  439. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  440. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  441. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  443. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  444. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  445. package/dist/github-copilot/copilot-provider.js +17 -17
  446. package/dist/github-copilot/models.js +96 -96
  447. package/dist/github-copilot/openai-compatible-error.js +1 -1
  448. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  449. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  450. package/dist/github-copilot/responses/openai-error.js +1 -1
  451. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  452. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  453. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  454. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  455. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  457. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +365 -365
  462. package/dist/instruction-discovery.js +84 -84
  463. package/dist/instructions/builtins.js +92 -92
  464. package/dist/instructions/index.js +1 -1
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +91 -91
  467. package/dist/job.js +80 -80
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +77 -77
  470. package/dist/location-activity.js +158 -158
  471. package/dist/location-lifecycle.js +112 -112
  472. package/dist/location-service-map.js +91 -91
  473. package/dist/location-services.js +362 -362
  474. package/dist/location.js +92 -92
  475. package/dist/managed-policy.js +8 -8
  476. package/dist/mcp/client.js +96 -96
  477. package/dist/mcp/index.js +112 -112
  478. package/dist/mcp/instructions.js +141 -141
  479. package/dist/mcp/oauth.js +82 -82
  480. package/dist/mcp/socket-client.js +1 -1
  481. package/dist/mcp/stdio.js +95 -95
  482. package/dist/mime.js +1 -1
  483. package/dist/modal/models.js +96 -96
  484. package/dist/model-resolver.js +104 -104
  485. package/dist/model-retry.js +1 -1
  486. package/dist/model.js +105 -105
  487. package/dist/models-dev.js +112 -112
  488. package/dist/oauth/page.js +1 -1
  489. package/dist/permission/saved.js +84 -84
  490. package/dist/permission/sql.js +5 -5
  491. package/dist/permission.js +112 -112
  492. package/dist/persistent-pty/binary.bun.js +1 -1
  493. package/dist/persistent-pty/daemon.js +1 -1
  494. package/dist/persistent-pty/index.js +92 -92
  495. package/dist/persistent-pty/pty-binding.js +1 -1
  496. package/dist/persistent-pty.js +79 -79
  497. package/dist/plugin/agent.js +80 -80
  498. package/dist/plugin/command.js +107 -107
  499. package/dist/plugin/hooks.js +5 -5
  500. package/dist/plugin/host.js +220 -220
  501. package/dist/plugin/identity.js +5 -5
  502. package/dist/plugin/instance.js +1 -1
  503. package/dist/plugin/internal.js +335 -335
  504. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  505. package/dist/plugin/models-dev.js +101 -101
  506. package/dist/plugin/module.js +117 -117
  507. package/dist/plugin/optimize.js +4 -4
  508. package/dist/plugin/plan.js +107 -107
  509. package/dist/plugin/promise.js +1 -1
  510. package/dist/plugin/provider/amazon-bedrock.js +95 -95
  511. package/dist/plugin/provider/azure.js +118 -118
  512. package/dist/plugin/provider/cerebras.js +1 -1
  513. package/dist/plugin/provider/chatgpt.js +118 -118
  514. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  515. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  516. package/dist/plugin/provider/cohere.js +2 -2
  517. package/dist/plugin/provider/configured.js +114 -114
  518. package/dist/plugin/provider/databricks.js +1 -1
  519. package/dist/plugin/provider/digitalocean.js +98 -98
  520. package/dist/plugin/provider/dynamic.js +2 -2
  521. package/dist/plugin/provider/factory.js +1 -1
  522. package/dist/plugin/provider/github-copilot.js +100 -100
  523. package/dist/plugin/provider/gitlab.js +98 -98
  524. package/dist/plugin/provider/google-vertex.js +115 -115
  525. package/dist/plugin/provider/kilo.js +1 -1
  526. package/dist/plugin/provider/llmgateway.js +82 -82
  527. package/dist/plugin/provider/lmstudio.js +127 -127
  528. package/dist/plugin/provider/local.js +124 -124
  529. package/dist/plugin/provider/modal.js +97 -97
  530. package/dist/plugin/provider/neon.js +1 -1
  531. package/dist/plugin/provider/nvidia.js +1 -1
  532. package/dist/plugin/provider/ollama.js +125 -125
  533. package/dist/plugin/provider/openai-context-caps.js +95 -95
  534. package/dist/plugin/provider/openai.js +120 -120
  535. package/dist/plugin/provider/opencode.js +104 -104
  536. package/dist/plugin/provider/openrouter.js +96 -96
  537. package/dist/plugin/provider/perplexity.js +2 -2
  538. package/dist/plugin/provider/poe.js +83 -83
  539. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  540. package/dist/plugin/provider/sap-ai-core.js +96 -96
  541. package/dist/plugin/provider/sdk-factory.js +1 -1
  542. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  543. package/dist/plugin/provider/vercel.js +95 -95
  544. package/dist/plugin/provider/vllm.js +127 -127
  545. package/dist/plugin/provider/xai.js +96 -96
  546. package/dist/plugin/provider/zenmux.js +1 -1
  547. package/dist/plugin/provider.js +171 -171
  548. package/dist/plugin/sdk.js +80 -80
  549. package/dist/plugin/service.js +3 -3
  550. package/dist/plugin/skill.js +136 -136
  551. package/dist/plugin/source-directory.js +1 -1
  552. package/dist/plugin/supervisor.js +352 -352
  553. package/dist/plugin/tool-input-repair.js +4 -4
  554. package/dist/plugin/update.js +6 -6
  555. package/dist/plugin/vcs/git.js +91 -91
  556. package/dist/plugin/vcs/hg.js +91 -91
  557. package/dist/plugin/verbosity.js +98 -98
  558. package/dist/plugin/warming.js +116 -116
  559. package/dist/plugin/websearch/exa.js +7 -7
  560. package/dist/plugin/websearch/firecrawl.js +8 -8
  561. package/dist/plugin/websearch/index.js +9 -9
  562. package/dist/plugin/websearch/mcp.js +6 -6
  563. package/dist/plugin/websearch/parallel.js +8 -8
  564. package/dist/plugin/websearch/tavily.js +6 -6
  565. package/dist/plugin/websearch/tinyfish.js +8 -8
  566. package/dist/plugin.js +227 -227
  567. package/dist/project/schema.js +6 -6
  568. package/dist/project/sql.js +4 -4
  569. package/dist/project.js +93 -93
  570. package/dist/provider.js +104 -104
  571. package/dist/pty/protocol.js +1 -1
  572. package/dist/pty/ticket.js +1 -1
  573. package/dist/pty.js +103 -103
  574. package/dist/reference/instructions.js +92 -92
  575. package/dist/reference.js +92 -92
  576. package/dist/repository-cache.js +86 -86
  577. package/dist/repository.js +1 -1
  578. package/dist/ripgrep/binary.js +2 -2
  579. package/dist/ripgrep.js +102 -102
  580. package/dist/rpc.js +91 -91
  581. package/dist/schema.js +1 -1
  582. package/dist/session/affinity.js +3 -3
  583. package/dist/session/command.js +78 -78
  584. package/dist/session/compaction.js +141 -141
  585. package/dist/session/context.js +167 -167
  586. package/dist/session/diff.js +93 -93
  587. package/dist/session/environment.js +5 -5
  588. package/dist/session/error.js +5 -5
  589. package/dist/session/event.js +1 -1
  590. package/dist/session/execution/restart.js +223 -223
  591. package/dist/session/execution.js +131 -131
  592. package/dist/session/generate.js +167 -167
  593. package/dist/session/history.js +13 -13
  594. package/dist/session/inbox.js +95 -95
  595. package/dist/session/info.js +3 -3
  596. package/dist/session/instruction-entry.js +81 -81
  597. package/dist/session/instruction-state.js +8 -8
  598. package/dist/session/instructions.js +102 -102
  599. package/dist/session/message-updater.js +4 -4
  600. package/dist/session/message.js +1 -1
  601. package/dist/session/model-request.js +125 -125
  602. package/dist/session/model-transport.js +9 -9
  603. package/dist/session/move.js +135 -135
  604. package/dist/session/projector.js +93 -93
  605. package/dist/session/prompt.js +110 -110
  606. package/dist/session/recent-text.js +1 -1
  607. package/dist/session/revert.js +99 -99
  608. package/dist/session/run-coordinator.js +3 -3
  609. package/dist/session/runner/index.js +3 -3
  610. package/dist/session/runner/llm.js +233 -233
  611. package/dist/session/runner/max-steps.js +1 -1
  612. package/dist/session/runner/model.js +105 -105
  613. package/dist/session/runner/publish-llm-event.js +118 -118
  614. package/dist/session/runner/retry.js +5 -5
  615. package/dist/session/runner/step.js +131 -131
  616. package/dist/session/runner/to-llm-message.js +14 -14
  617. package/dist/session/schema.js +3 -3
  618. package/dist/session/session.js +167 -167
  619. package/dist/session/shell.js +132 -132
  620. package/dist/session/skill.js +110 -110
  621. package/dist/session/sql.js +5 -5
  622. package/dist/session/stats.js +77 -77
  623. package/dist/session/store.js +89 -89
  624. package/dist/session/subagent-completion.js +1 -1
  625. package/dist/session/subagent-job.js +210 -210
  626. package/dist/session/system-prompt.js +3 -3
  627. package/dist/session/title.js +171 -171
  628. package/dist/session/to-session-error.js +117 -117
  629. package/dist/session/transfer.js +219 -219
  630. package/dist/session/usage.js +1 -1
  631. package/dist/session.js +218 -218
  632. package/dist/shell/parse.js +8 -8
  633. package/dist/shell/result.js +1 -1
  634. package/dist/shell/scan.js +1 -1
  635. package/dist/shell/select.js +13 -13
  636. package/dist/shell.js +134 -134
  637. package/dist/skill/discovery.js +6 -6
  638. package/dist/skill/instructions.js +112 -112
  639. package/dist/skill.js +119 -119
  640. package/dist/snapshot.js +94 -94
  641. package/dist/state.js +1 -1
  642. package/dist/tool/html-markdown.js +1 -1
  643. package/dist/tool/http-body.js +1 -1
  644. package/dist/tool/mcp.js +140 -140
  645. package/dist/tool/plugin/edit.js +119 -119
  646. package/dist/tool/plugin/file-diff.js +1 -1
  647. package/dist/tool/plugin/glob.js +129 -129
  648. package/dist/tool/plugin/grep.js +129 -129
  649. package/dist/tool/plugin/mcp-resource.js +129 -129
  650. package/dist/tool/plugin/opencode.js +114 -114
  651. package/dist/tool/plugin/patch.js +127 -127
  652. package/dist/tool/plugin/question.js +106 -106
  653. package/dist/tool/plugin/read.js +130 -130
  654. package/dist/tool/plugin/shell.js +217 -217
  655. package/dist/tool/plugin/skill.js +118 -118
  656. package/dist/tool/plugin/subagent.js +219 -219
  657. package/dist/tool/plugin/todo.js +138 -138
  658. package/dist/tool/plugin/webfetch.js +118 -118
  659. package/dist/tool/plugin/websearch.js +115 -115
  660. package/dist/tool/plugin/write.js +127 -127
  661. package/dist/tool/read-filesystem.js +107 -107
  662. package/dist/tool/runtime.js +1 -1
  663. package/dist/tool-output.js +7 -7
  664. package/dist/tool.js +16 -16
  665. package/dist/usage-limits.js +93 -93
  666. package/dist/util/error-summary.js +1 -1
  667. package/dist/util/git-executable.js +3 -3
  668. package/dist/util/lazy.js +1 -1
  669. package/dist/util/slug.js +1 -1
  670. package/dist/util/token.js +1 -1
  671. package/dist/util/which.js +1 -1
  672. package/dist/util/wildcard.js +1 -1
  673. package/dist/v1/config/agent.js +3 -3
  674. package/dist/v1/config/command.js +5 -5
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +97 -97
  677. package/dist/v1/config/permission.js +1 -1
  678. package/dist/v1/config/plugin.js +3 -3
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/variant.js +98 -98
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +94 -94
  684. package/dist/voice.js +90 -90
  685. package/dist/websearch.js +82 -82
  686. package/dist/wellknown/plugin.js +78 -78
  687. package/dist/wellknown.js +83 -83
  688. package/dist/workspace/driver.js +7 -7
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +82 -82
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +11 -11
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +94 -94
  695. package/dist/worktree.js +105 -105
  696. package/package.json +8 -8
  697. package/dist/chunks/managed-policy-8tdc4bs4.js +0 -261
  698. package/dist/chunks/managed-policy-bc5k4005.js +0 -517
  699. package/dist/chunks/managed-policy-m1rhczw0.js +0 -26
  700. package/dist/chunks/managed-policy-vdh3rgac.js +0 -18
  701. /package/dist/chunks/{managed-policy-0qkdqm5v.js → model-retry-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{managed-policy-0zkw76rk.js → model-retry-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{managed-policy-17cy0kzp.js → model-retry-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{managed-policy-1cnp2v09.js → model-retry-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{managed-policy-24dcb14g.js → model-retry-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{managed-policy-2710q6r3.js → model-retry-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{managed-policy-2bv980vf.js → model-retry-2bv980vf.js} +0 -0
  708. /package/dist/chunks/{managed-policy-2c3vjs8z.js → model-retry-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{managed-policy-359p4xyc.js → model-retry-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{managed-policy-3asan66x.js → model-retry-3asan66x.js} +0 -0
  711. /package/dist/chunks/{managed-policy-3v8g72cx.js → model-retry-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{managed-policy-3wcehsnq.js → model-retry-3wcehsnq.js} +0 -0
  713. /package/dist/chunks/{managed-policy-43n2bw4t.js → model-retry-43n2bw4t.js} +0 -0
  714. /package/dist/chunks/{managed-policy-4knz6hnm.js → model-retry-4knz6hnm.js} +0 -0
  715. /package/dist/chunks/{managed-policy-4vcrnpx2.js → model-retry-4vcrnpx2.js} +0 -0
  716. /package/dist/chunks/{managed-policy-4y7fprxs.js → model-retry-4y7fprxs.js} +0 -0
  717. /package/dist/chunks/{managed-policy-53557ph1.js → model-retry-53557ph1.js} +0 -0
  718. /package/dist/chunks/{managed-policy-550bvhaj.js → model-retry-550bvhaj.js} +0 -0
  719. /package/dist/chunks/{managed-policy-5qd3pb7m.js → model-retry-5qd3pb7m.js} +0 -0
  720. /package/dist/chunks/{managed-policy-6prwharc.js → model-retry-6prwharc.js} +0 -0
  721. /package/dist/chunks/{managed-policy-6q2bdcd1.js → model-retry-6q2bdcd1.js} +0 -0
  722. /package/dist/chunks/{managed-policy-7akdwqpd.js → model-retry-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{managed-policy-7m9af43g.js → model-retry-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{managed-policy-822emrt2.js → model-retry-822emrt2.js} +0 -0
  725. /package/dist/chunks/{managed-policy-84wd9syh.js → model-retry-84wd9syh.js} +0 -0
  726. /package/dist/chunks/{managed-policy-88xbtdfr.js → model-retry-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{managed-policy-8n3pysct.js → model-retry-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{managed-policy-8wj87zfr.js → model-retry-8wj87zfr.js} +0 -0
  729. /package/dist/chunks/{managed-policy-9a4afbnw.js → model-retry-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{managed-policy-9rqn6x4v.js → model-retry-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{managed-policy-a058387c.js → model-retry-a058387c.js} +0 -0
  732. /package/dist/chunks/{managed-policy-a6k6eb26.js → model-retry-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{managed-policy-af5trqkr.js → model-retry-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{managed-policy-afrmfg78.js → model-retry-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{managed-policy-aqzs7mqg.js → model-retry-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{managed-policy-atq7p7m5.js → model-retry-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{managed-policy-bkyjaxrp.js → model-retry-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{managed-policy-bmr6ed5q.js → model-retry-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{managed-policy-cf4snx6d.js → model-retry-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{managed-policy-cqv5kn06.js → model-retry-cqv5kn06.js} +0 -0
  741. /package/dist/chunks/{managed-policy-cvy3z8tj.js → model-retry-cvy3z8tj.js} +0 -0
  742. /package/dist/chunks/{managed-policy-d9fn303g.js → model-retry-d9fn303g.js} +0 -0
  743. /package/dist/chunks/{managed-policy-d9jj8t3e.js → model-retry-d9jj8t3e.js} +0 -0
  744. /package/dist/chunks/{managed-policy-dajrwvna.js → model-retry-dajrwvna.js} +0 -0
  745. /package/dist/chunks/{managed-policy-dap0rakb.js → model-retry-dap0rakb.js} +0 -0
  746. /package/dist/chunks/{managed-policy-df08tz66.js → model-retry-df08tz66.js} +0 -0
  747. /package/dist/chunks/{managed-policy-dy18nga0.js → model-retry-dy18nga0.js} +0 -0
  748. /package/dist/chunks/{managed-policy-e5kj55wp.js → model-retry-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{managed-policy-e73j6tqm.js → model-retry-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{managed-policy-ec1grn59.js → model-retry-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{managed-policy-eh3zwz77.js → model-retry-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{managed-policy-emrn6kk6.js → model-retry-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{managed-policy-f0mxakyp.js → model-retry-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{managed-policy-f6n9ztr4.js → model-retry-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{managed-policy-faypxj3z.js → model-retry-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{managed-policy-fd410y7t.js → model-retry-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{managed-policy-g4wezp1m.js → model-retry-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{managed-policy-g86h250q.js → model-retry-g86h250q.js} +0 -0
  759. /package/dist/chunks/{managed-policy-gebd4c9n.js → model-retry-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{managed-policy-gftt206x.js → model-retry-gftt206x.js} +0 -0
  761. /package/dist/chunks/{managed-policy-hcxmzztb.js → model-retry-hcxmzztb.js} +0 -0
  762. /package/dist/chunks/{managed-policy-hk9envan.js → model-retry-hk9envan.js} +0 -0
  763. /package/dist/chunks/{managed-policy-j2ntwpah.js → model-retry-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{managed-policy-j5zkgpj8.js → model-retry-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{managed-policy-jjkms2e6.js → model-retry-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{managed-policy-jr7sbwjy.js → model-retry-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{managed-policy-jwfs4k6c.js → model-retry-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{managed-policy-jwr30sdr.js → model-retry-jwr30sdr.js} +0 -0
  769. /package/dist/chunks/{managed-policy-jze0r7bz.js → model-retry-jze0r7bz.js} +0 -0
  770. /package/dist/chunks/{managed-policy-jzg6c2d5.js → model-retry-jzg6c2d5.js} +0 -0
  771. /package/dist/chunks/{managed-policy-m18g726c.js → model-retry-m18g726c.js} +0 -0
  772. /package/dist/chunks/{managed-policy-mp448xyj.js → model-retry-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{managed-policy-msx8hqn2.js → model-retry-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{managed-policy-n05xt0ee.js → model-retry-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{managed-policy-n3j8tn72.js → model-retry-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{managed-policy-njntx4h6.js → model-retry-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{managed-policy-pkyv6v7h.js → model-retry-pkyv6v7h.js} +0 -0
  778. /package/dist/chunks/{managed-policy-q3sfg36h.js → model-retry-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{managed-policy-q74kybfr.js → model-retry-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{managed-policy-qaymkmh1.js → model-retry-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{managed-policy-qb87gjwd.js → model-retry-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{managed-policy-qfa1cgps.js → model-retry-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{managed-policy-qg3g05ea.js → model-retry-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{managed-policy-qrg20bc0.js → model-retry-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{managed-policy-rcb2kzg1.js → model-retry-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{managed-policy-sdp7kfr6.js → model-retry-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{managed-policy-sjmm3wxa.js → model-retry-sjmm3wxa.js} +0 -0
  788. /package/dist/chunks/{managed-policy-ssg3fenm.js → model-retry-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{managed-policy-ve7vex1e.js → model-retry-ve7vex1e.js} +0 -0
  790. /package/dist/chunks/{managed-policy-w803qqfp.js → model-retry-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{managed-policy-wc3fc9cn.js → model-retry-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{managed-policy-wer8tq1h.js → model-retry-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{managed-policy-wjj7prxr.js → model-retry-wjj7prxr.js} +0 -0
  794. /package/dist/chunks/{managed-policy-wtztk69x.js → model-retry-wtztk69x.js} +0 -0
  795. /package/dist/chunks/{managed-policy-x0ckcb58.js → model-retry-x0ckcb58.js} +0 -0
  796. /package/dist/chunks/{managed-policy-x61499pn.js → model-retry-x61499pn.js} +0 -0
  797. /package/dist/chunks/{managed-policy-y44na4kk.js → model-retry-y44na4kk.js} +0 -0
  798. /package/dist/chunks/{managed-policy-y8f7s663.js → model-retry-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{managed-policy-ygaqb7jw.js → model-retry-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{managed-policy-ym463w8f.js → model-retry-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{managed-policy-z5v4ffb3.js → model-retry-z5v4ffb3.js} +0 -0
  802. /package/dist/chunks/{managed-policy-z9919s4g.js → model-retry-z9919s4g.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service68,
3
- node72
4
- } from "./managed-policy-33hmfn8k.js";
2
+ Service71,
3
+ node75
4
+ } from "./model-retry-e207k1f0.js";
5
5
  import {
6
6
  SessionMessage2
7
- } from "./managed-policy-gftt206x.js";
7
+ } from "./model-retry-gftt206x.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./managed-policy-arz7hw7x.js";
10
+ } from "./model-retry-my4zabxr.js";
11
11
  import {
12
12
  __export
13
- } from "./managed-policy-9rqn6x4v.js";
13
+ } from "./model-retry-9rqn6x4v.js";
14
14
 
15
15
  // src/job.ts
16
16
  var exports_job = {};
17
17
  __export(exports_job, {
18
18
  Job: () => exports_job,
19
- Service: () => Service61,
19
+ Service: () => Service55,
20
20
  make: () => make20,
21
- node: () => node65
21
+ node: () => node59
22
22
  });
23
23
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
24
24
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
48
48
  var backgroundPrefix = "job.background/";
49
49
  var COMPLETED_LIMIT = 25;
50
50
 
51
- class Service61 extends Context.Service()("@opencode/Job") {
51
+ class Service55 extends Context.Service()("@opencode/Job") {
52
52
  }
53
53
  function snapshot(job) {
54
54
  return {
@@ -84,7 +84,7 @@ function decrementSession(input, sessionID) {
84
84
  return next;
85
85
  }
86
86
  var make20 = Effect.gen(function* () {
87
- const kv = yield* Service68;
87
+ const kv = yield* Service71;
88
88
  const state = {
89
89
  jobs: yield* SynchronizedRef.make(new Map),
90
90
  scope: yield* Scope.Scope
@@ -343,7 +343,7 @@ var make20 = Effect.gen(function* () {
343
343
  next.delete(entry[0]);
344
344
  return next;
345
345
  })));
346
- return Service61.of({
346
+ return Service55.of({
347
347
  get,
348
348
  start,
349
349
  wait,
@@ -356,7 +356,7 @@ var make20 = Effect.gen(function* () {
356
356
  completeBackground
357
357
  });
358
358
  });
359
- var layer = Layer.effect(Service61, make20);
360
- var node65 = makeGlobalNode({ service: Service61, layer, deps: [node72] });
359
+ var layer = Layer.effect(Service55, make20);
360
+ var node59 = makeGlobalNode({ service: Service55, layer, deps: [node75] });
361
361
 
362
- export { Service61, make20, node65, exports_job };
362
+ export { Service55, make20, node59, exports_job };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  requestExecutor2
3
- } from "./managed-policy-p015t6z3.js";
3
+ } from "./model-retry-p015t6z3.js";
4
4
  import {
5
- ID13,
6
- Service76,
7
- node80
8
- } from "./managed-policy-bewwd09f.js";
5
+ ID14,
6
+ Service79,
7
+ node83
8
+ } from "./model-retry-gs55zvzx.js";
9
9
  import {
10
10
  __export
11
- } from "./managed-policy-9rqn6x4v.js";
11
+ } from "./model-retry-9rqn6x4v.js";
12
12
 
13
13
  // src/voice.ts
14
14
  var exports_voice = {};
15
15
  __export(exports_voice, {
16
16
  InvalidRequestError: () => InvalidRequestError2,
17
- Service: () => Service16,
18
- UnavailableError: () => UnavailableError3,
17
+ Service: () => Service15,
18
+ UnavailableError: () => UnavailableError2,
19
19
  Voice: () => exports_voice,
20
20
  layer: () => layer10,
21
- node: () => node18
21
+ node: () => node17
22
22
  });
23
23
  import {
24
24
  Realtime
@@ -31,18 +31,18 @@ class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestErr
31
31
  }) {
32
32
  }
33
33
 
34
- class UnavailableError3 extends Schema.TaggedError()("Voice.UnavailableError", {
34
+ class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
35
35
  message: Schema.String,
36
36
  service: Schema.optional(Schema.String)
37
37
  }) {
38
38
  }
39
39
 
40
- class Service16 extends Context.Service()("@opencode/Voice") {
40
+ class Service15 extends Context.Service()("@opencode/Voice") {
41
41
  }
42
- var layer10 = Layer.effect(Service16, Effect.gen(function* () {
42
+ var layer10 = Layer.effect(Service15, Effect.gen(function* () {
43
43
  const executor = yield* RequestExecutor.Service;
44
- const integrations = yield* Service76;
45
- const findConnection = (provider, methods = ["key"]) => integrations.get(ID13.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
44
+ const integrations = yield* Service79;
45
+ const findConnection = (provider, methods = ["key"]) => integrations.get(ID14.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
46
46
  const source = Effect.fnUntraced(function* (engine) {
47
47
  const connection = yield* findConnection(engine.provider);
48
48
  if (connection)
@@ -67,10 +67,10 @@ var layer10 = Layer.effect(Service16, Effect.gen(function* () {
67
67
  if (!engine)
68
68
  return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
69
69
  const found = yield* source(engine);
70
- const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new UnavailableError3({ service: found.provider, message: error.message }))) : undefined;
70
+ const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new UnavailableError2({ service: found.provider, message: error.message }))) : undefined;
71
71
  const access = found && credential && sessionAccess(found.provider, credential);
72
72
  if (found === undefined || access === undefined)
73
- return yield* new UnavailableError3({
73
+ return yield* new UnavailableError2({
74
74
  service: engine.provider,
75
75
  message: engine.id === "openai-live" ? missingLiveKeyMessage : missingKeyMessage[engine.provider]
76
76
  });
@@ -79,14 +79,14 @@ var layer10 = Layer.effect(Service16, Effect.gen(function* () {
79
79
  session: input.session,
80
80
  transport: input.transport,
81
81
  ...access
82
- }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: found.provider })));
82
+ }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: found.provider })));
83
83
  });
84
- return Service16.of({ models, session });
84
+ return Service15.of({ models, session });
85
85
  }));
86
- var node18 = makeLocationNode({
87
- service: Service16,
86
+ var node17 = makeLocationNode({
87
+ service: Service15,
88
88
  layer: layer10,
89
- deps: [node80, requestExecutor2]
89
+ deps: [node83, requestExecutor2]
90
90
  });
91
91
  var openCodeLive = { provider: "opencode", baseURL: "https://opencode.ai/inference/openai/v1" };
92
92
  var sessionAccess = (provider, credential) => {
@@ -108,4 +108,4 @@ var missingKeyMessage = {
108
108
  google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
109
109
  };
110
110
 
111
- export { InvalidRequestError2, UnavailableError3, Service16, layer10, node18, exports_voice };
111
+ export { InvalidRequestError2, UnavailableError2, Service15, layer10, node17, exports_voice };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./managed-policy-5zwc8z7d.js";
4
+ } from "./model-retry-b5sxz6p8.js";
5
5
  import {
6
6
  __export
7
- } from "./managed-policy-9rqn6x4v.js";
7
+ } from "./model-retry-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event17,
15
+ Event: () => Event19,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID15,
20
- Info: () => Info24,
19
+ ID: () => ID16,
20
+ Info: () => Info26,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError9,
23
+ NotFoundError: () => NotFoundError11,
24
24
  Reply: () => Reply3,
25
- Service: () => Service78,
25
+ Service: () => Service81,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer27,
29
- node: () => node82,
28
+ layer: () => layer28,
29
+ node: () => node85,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event17 } from "@opencode/schema/form";
36
+ import { Event as Event19 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID15 = Form.ID;
39
- var Info24 = Form.Info;
38
+ var ID16 = Form.ID;
39
+ var Info26 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -44,8 +44,8 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID15
47
+ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID16
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID15
56
+ id: ID16
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID15
64
+ id: ID16
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID15,
72
+ id: ID16,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service78 extends Context.Service()("@opencode/Form") {
82
+ class Service81 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer27 = Layer.effect(Service78, Effect.gen(function* () {
84
+ var layer28 = Layer.effect(Service81, Effect.gen(function* () {
85
85
  const bus = yield* Service86;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID15.create();
93
+ const id = input.id ?? ID16.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service78, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service78.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service81.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node82 = makeLocationNode({ service: Service78, layer: layer27, deps: [node90] });
167
+ var node85 = makeLocationNode({ service: Service81, layer: layer28, deps: [node90] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID15, Info24, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service78, layer27, node82, validateAnswer2, validateFields2, exports_form, Event17 };
319
+ export { ID16, Info26, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service81, layer28, node85, validateAnswer2, validateFields2, exports_form, Event19 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  useragent2
3
- } from "./managed-policy-4f6wjw9b.js";
3
+ } from "./model-retry-7zhd4cey.js";
4
4
  import {
5
5
  collectBoundedResponseBody2
6
- } from "./managed-policy-3v8g72cx.js";
6
+ } from "./model-retry-3v8g72cx.js";
7
7
  import {
8
- MAX_RESPONSE_BYTES2,
8
+ MAX_RESPONSE_BYTES3,
9
9
  call2
10
- } from "./managed-policy-40za9wsf.js";
10
+ } from "./model-retry-w2eysc6j.js";
11
11
  import {
12
12
  __export
13
- } from "./managed-policy-9rqn6x4v.js";
13
+ } from "./model-retry-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/websearch/tinyfish.ts
16
16
  var exports_tinyfish = {};
17
17
  __export(exports_tinyfish, {
18
- Plugin: () => Plugin8,
18
+ Plugin: () => Plugin37,
19
19
  WebSearchTinyFish: () => exports_tinyfish,
20
- endpoint: () => endpoint4
20
+ endpoint: () => endpoint5
21
21
  });
22
22
  import { define } from "@opencode/plugin/effect/plugin";
23
23
  import { Duration, Effect, Option, Schema } from "effect";
24
24
  import { HttpClient, HttpClientRequest } from "effect/http";
25
- var endpoint4 = "https://agent.tinyfish.ai/mcp";
25
+ var endpoint5 = "https://agent.tinyfish.ai/mcp";
26
26
  var McpInput = Schema.Struct({
27
27
  query: Schema.String
28
28
  });
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
51
51
  jsonrpc: Schema.Literal("2.0"),
52
52
  method: Schema.Literal("notifications/initialized")
53
53
  });
54
- var Plugin8 = define({
54
+ var Plugin37 = define({
55
55
  id: "opencode.websearch.tinyfish",
56
56
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
57
57
  const http = yield* HttpClient.HttpClient;
@@ -78,7 +78,7 @@ var Plugin8 = define({
78
78
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
79
79
  };
80
80
  const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
81
- const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
81
+ const result = yield* call2(http, endpoint5, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
82
82
  const content = result?.content.find((item) => item.text);
83
83
  const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
84
84
  return response?.results.map((item) => ({
@@ -94,7 +94,7 @@ var Plugin8 = define({
94
94
  });
95
95
  var initialize = (http, headers) => Effect.gen(function* () {
96
96
  const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
97
- const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
97
+ const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
98
98
  jsonrpc: "2.0",
99
99
  id: 1,
100
100
  method: "initialize",
@@ -105,11 +105,11 @@ var initialize = (http, headers) => Effect.gen(function* () {
105
105
  }
106
106
  }));
107
107
  const response = yield* client.execute(request);
108
- yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
108
+ yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
109
109
  const session = response.headers["mcp-session-id"];
110
110
  if (session === undefined)
111
111
  return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
112
- const notification = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
112
+ const notification = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
113
113
  jsonrpc: "2.0",
114
114
  method: "notifications/initialized"
115
115
  }));
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
120
120
  orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
121
121
  }));
122
122
 
123
- export { endpoint4, Plugin8, exports_tinyfish };
123
+ export { endpoint5, Plugin37, exports_tinyfish };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  server2,
3
3
  headers2
4
- } from "./managed-policy-kt3bjfbg.js";
4
+ } from "./model-retry-kt3bjfbg.js";
5
5
  import {
6
- ID13,
7
- Service76,
8
- node80
9
- } from "./managed-policy-bewwd09f.js";
6
+ ID14,
7
+ Service79,
8
+ node83
9
+ } from "./model-retry-gs55zvzx.js";
10
10
  import {
11
11
  __export
12
- } from "./managed-policy-9rqn6x4v.js";
12
+ } from "./model-retry-9rqn6x4v.js";
13
13
 
14
14
  // src/usage-limits.ts
15
15
  var exports_usage_limits = {};
16
16
  __export(exports_usage_limits, {
17
- Info: () => Info3,
18
- Service: () => Service14,
19
- UnavailableError: () => UnavailableError2,
17
+ Info: () => Info12,
18
+ Service: () => Service66,
19
+ UnavailableError: () => UnavailableError5,
20
20
  UsageLimits: () => exports_usage_limits,
21
- layer: () => layer9,
22
- node: () => node16
21
+ layer: () => layer25,
22
+ node: () => node70
23
23
  });
24
24
  import { Model } from "@opencode/schema/model";
25
25
  import { Money } from "@opencode/schema/money";
@@ -29,23 +29,23 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { httpClient } from "@opencode/util/effect/app-node-platform";
30
30
  import { Context, Duration, Effect, Layer, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
32
- var Info3 = UsageLimits.Info;
32
+ var Info12 = UsageLimits.Info;
33
33
 
34
- class UnavailableError2 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
34
+ class UnavailableError5 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
35
35
  message: Schema.String
36
36
  }) {
37
37
  }
38
38
 
39
- class Service14 extends Context.Service()("@opencode/UsageLimits") {
39
+ class Service66 extends Context.Service()("@opencode/UsageLimits") {
40
40
  }
41
- var layer9 = Layer.effect(Service14, Effect.gen(function* () {
42
- const integrations = yield* Service76;
41
+ var layer25 = Layer.effect(Service66, Effect.gen(function* () {
42
+ const integrations = yield* Service79;
43
43
  const http = yield* HttpClient.HttpClient;
44
44
  const get = Effect.fn("UsageLimits.get")(function* () {
45
- const connection = yield* integrations.connection.active(ID13.make("opencode"));
45
+ const connection = yield* integrations.connection.active(ID14.make("opencode"));
46
46
  if (!connection)
47
47
  return;
48
- const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError2({ message: error.message })));
48
+ const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError5({ message: error.message })));
49
49
  if (!credential || credential.type === "external")
50
50
  return;
51
51
  const workspaceID = credential.metadata?.orgID;
@@ -54,7 +54,7 @@ var layer9 = Layer.effect(Service14, Effect.gen(function* () {
54
54
  const server = server2(credential);
55
55
  const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
56
56
  duration: Duration.seconds(15),
57
- orElse: () => Effect.fail(new UnavailableError2({ message: "OpenCode Console usage limits timed out" }))
57
+ orElse: () => Effect.fail(new UnavailableError5({ message: "OpenCode Console usage limits timed out" }))
58
58
  }));
59
59
  return {
60
60
  workspace: {
@@ -66,12 +66,12 @@ var layer9 = Layer.effect(Service14, Effect.gen(function* () {
66
66
  budgets
67
67
  };
68
68
  });
69
- return Service14.of({ get });
69
+ return Service66.of({ get });
70
70
  }));
71
- var node16 = makeLocationNode({
72
- service: Service14,
73
- layer: layer9,
74
- deps: [node80, httpClient]
71
+ var node70 = makeLocationNode({
72
+ service: Service66,
73
+ layer: layer25,
74
+ deps: [node83, httpClient]
75
75
  });
76
76
  var ConsoleBudget = Schema.Struct({
77
77
  ruleID: Schema.String,
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
117
117
  picked: budget.picked,
118
118
  shared: budget.shared,
119
119
  resetsAt: budget.resetsAt.getTime()
120
- }))))), Effect.scoped, Effect.mapError((error) => new UnavailableError2({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
120
+ }))))), Effect.scoped, Effect.mapError((error) => new UnavailableError5({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
121
121
  }
122
122
  function readGo(http, server, credential, workspaceID) {
123
123
  return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
124
124
  rolling: meter(body.usage.rolling),
125
125
  weekly: meter(body.usage.weekly),
126
126
  monthly: meter(body.usage.monthly)
127
- })))), Effect.scoped, Effect.mapError((error) => new UnavailableError2({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
127
+ })))), Effect.scoped, Effect.mapError((error) => new UnavailableError5({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
128
128
  }
129
129
  function meter(value) {
130
130
  return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
131
131
  }
132
132
 
133
- export { Info3, UnavailableError2, Service14, layer9, node16, exports_usage_limits };
133
+ export { Info12, UnavailableError5, Service66, layer25, node70, exports_usage_limits };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service62
4
- } from "./managed-policy-j5ekttm8.js";
3
+ Service68
4
+ } from "./model-retry-5jzmzpz9.js";
5
5
  import {
6
- Service44
7
- } from "./managed-policy-5zcvddpv.js";
6
+ Service41
7
+ } from "./model-retry-2emwncdy.js";
8
8
  import {
9
9
  observe2
10
- } from "./managed-policy-6pjqjmy2.js";
10
+ } from "./model-retry-6pjqjmy2.js";
11
11
  import {
12
12
  __export
13
- } from "./managed-policy-9rqn6x4v.js";
13
+ } from "./model-retry-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin45
19
+ Plugin: () => Plugin25
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin45 = define({
23
+ var Plugin25 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service62;
27
- const snapshot = yield* Service44;
26
+ const config = yield* Service68;
27
+ const snapshot = yield* Service41;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin45 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin45, exports_snapshot };
38
+ export { Plugin25, exports_snapshot };