@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,47 +1,47 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node51
5
- } from "./managed-policy-4f6wjw9b.js";
4
+ node52
5
+ } from "./model-retry-7zhd4cey.js";
6
6
  import {
7
- Service74,
8
- node78
9
- } from "./managed-policy-n7wnam13.js";
7
+ Service76,
8
+ node80
9
+ } from "./model-retry-v6h5bgwd.js";
10
10
  import {
11
11
  DeclinedError2
12
- } from "./managed-policy-knp52wmd.js";
12
+ } from "./model-retry-8p97zz9p.js";
13
13
  import {
14
14
  CancelledError2
15
- } from "./managed-policy-838e58y8.js";
15
+ } from "./model-retry-sm74gnkv.js";
16
16
  import {
17
- Error2
18
- } from "./managed-policy-dr1fr17h.js";
17
+ Error5
18
+ } from "./model-retry-nrch4egb.js";
19
19
  import {
20
- get5
21
- } from "./managed-policy-3nnrz6f6.js";
20
+ get4
21
+ } from "./model-retry-tmc7xdjs.js";
22
22
  import {
23
- Service36,
24
- node39
25
- } from "./managed-policy-e063jx1w.js";
23
+ Service31,
24
+ node34
25
+ } from "./model-retry-y6haqydp.js";
26
26
  import {
27
- make15
28
- } from "./managed-policy-m37sd98t.js";
27
+ make14
28
+ } from "./model-retry-vmfhgzt5.js";
29
29
  import {
30
30
  toLLMMessages2
31
- } from "./managed-policy-4pavydbz.js";
31
+ } from "./model-retry-x1q34xva.js";
32
32
  import {
33
33
  __export
34
- } from "./managed-policy-9rqn6x4v.js";
34
+ } from "./model-retry-9rqn6x4v.js";
35
35
 
36
36
  // src/session/model-request.ts
37
37
  var exports_model_request = {};
38
38
  __export(exports_model_request, {
39
- Service: () => Service35,
39
+ Service: () => Service28,
40
40
  SessionModelRequest: () => exports_model_request,
41
41
  baseTranscript: () => baseTranscript2,
42
42
  boundImages: () => boundImages2,
43
- layer: () => layer16,
44
- node: () => node38,
43
+ layer: () => layer15,
44
+ node: () => node32,
45
45
  outputLimit: () => outputLimit2,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
@@ -77,7 +77,7 @@ var baseTranscript2 = (input) => {
77
77
  return {
78
78
  providerMetadataKey,
79
79
  system: [
80
- input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
80
+ input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
81
81
  input.initial
82
82
  ].filter((part) => part.length > 0).map(SystemPart.make),
83
83
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -158,11 +158,11 @@ var boundImages2 = (messages) => {
158
158
  });
159
159
  };
160
160
 
161
- class Service35 extends Context.Service()("@opencode/SessionModelRequest") {
161
+ class Service28 extends Context.Service()("@opencode/SessionModelRequest") {
162
162
  }
163
- var layer16 = Layer.effect(Service35, Effect.gen(function* () {
164
- const hooks = yield* Service74;
165
- const transport = yield* Service36;
163
+ var layer15 = Layer.effect(Service28, Effect.gen(function* () {
164
+ const hooks = yield* Service76;
165
+ const transport = yield* Service31;
166
166
  const app = yield* Metadata2;
167
167
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
168
168
  const session = input.session;
@@ -170,7 +170,7 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
170
170
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
171
171
  const tools = input.tools ?? {
172
172
  definitions: [],
173
- execute: () => new Error2({ message: "Tools are not available for this request" })
173
+ execute: () => new Error5({ message: "Tools are not available for this request" })
174
174
  };
175
175
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
176
176
  const shaped = yield* shape({
@@ -188,7 +188,7 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
188
188
  const entries = Object.entries(shaped.options);
189
189
  const generation = Object.fromEntries(entries.filter(([k]) => GENERATION_KEYS.has(k)));
190
190
  const providerOptions = Object.fromEntries(entries.filter(([k]) => !GENERATION_KEYS.has(k)));
191
- const affinity = get5(session);
191
+ const affinity = get4(session);
192
192
  const base = LLM.request({
193
193
  model: model.model,
194
194
  http: {
@@ -264,17 +264,17 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
264
264
  };
265
265
  });
266
266
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
267
- return Service35.of({
267
+ return Service28.of({
268
268
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
269
269
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
270
270
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
271
271
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
272
272
  });
273
273
  }));
274
- var node38 = makeLocationNode({
275
- service: Service35,
276
- layer: layer16,
277
- deps: [node78, node39, node51]
274
+ var node32 = makeLocationNode({
275
+ service: Service28,
276
+ layer: layer15,
277
+ deps: [node80, node34, node52]
278
278
  });
279
279
 
280
- export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service35, layer16, node38, exports_model_request };
280
+ export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service28, layer15, node32, exports_model_request };
@@ -1,33 +1,33 @@
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
  create3
7
- } from "./managed-policy-vd3b3yk9.js";
7
+ } from "./model-retry-vd3b3yk9.js";
8
8
  import {
9
9
  __export
10
- } from "./managed-policy-9rqn6x4v.js";
10
+ } from "./model-retry-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
- var exports_command5 = {};
14
- __export(exports_command5, {
15
- Command: () => exports_command5,
16
- Event: () => Event20,
13
+ var exports_command4 = {};
14
+ __export(exports_command4, {
15
+ Command: () => exports_command4,
16
+ Event: () => Event7,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info30,
19
- NotFoundError: () => NotFoundError12,
20
- Service: () => Service85,
21
- layer: () => layer28,
22
- node: () => node89
18
+ Info: () => Info6,
19
+ NotFoundError: () => NotFoundError5,
20
+ Service: () => Service34,
21
+ layer: () => layer17,
22
+ node: () => node37
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event20 } from "@opencode/schema/command";
28
- var Info30 = Command.Info;
27
+ import { Event as Event7 } from "@opencode/schema/command";
28
+ var Info6 = Command.Info;
29
29
 
30
- class NotFoundError12 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service85 extends Context.Service()("@opencode/Command") {
42
+ class Service34 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer28 = Layer.effect(Service85, Effect.gen(function* () {
44
+ var layer17 = Layer.effect(Service34, Effect.gen(function* () {
45
45
  const bus = yield* Service86;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer28 = Layer.effect(Service85, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info30.make({
54
+ const info = (definition) => Info6.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service85.of({
58
+ return Service34.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer28 = Layer.effect(Service85, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError12({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node89 = makeLocationNode({
75
- service: Service85,
76
- layer: layer28,
74
+ var node37 = makeLocationNode({
75
+ service: Service34,
76
+ layer: layer17,
77
77
  deps: [node90]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info30, NotFoundError12, ExecutionError2, Service85, layer28, node89, exports_command5, Event20 };
89
+ export { Info6, NotFoundError5, ExecutionError2, Service34, layer17, node37, exports_command4, Event7 };
@@ -1,42 +1,42 @@
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
- Service34,
7
- node37
8
- } from "./managed-policy-arckp0tt.js";
6
+ Service27,
7
+ node31
8
+ } from "./model-retry-qfdd46e5.js";
9
9
  import {
10
10
  isTextual2
11
- } from "./managed-policy-2z1j29yd.js";
11
+ } from "./model-retry-2z1j29yd.js";
12
12
  import {
13
- Service70,
14
- node74
15
- } from "./managed-policy-knp52wmd.js";
13
+ Service72,
14
+ node76
15
+ } from "./model-retry-8p97zz9p.js";
16
16
  import {
17
- Service40,
18
- node43
19
- } from "./managed-policy-dr1fr17h.js";
17
+ Service48,
18
+ node53
19
+ } from "./model-retry-nrch4egb.js";
20
20
  import {
21
- Service55,
22
- node60
23
- } from "./managed-policy-m5t3njjp.js";
21
+ Service38,
22
+ node41
23
+ } from "./model-retry-5j9j26xw.js";
24
24
  import {
25
25
  MEDIA_MIMES2
26
- } from "./managed-policy-eap9pty2.js";
26
+ } from "./model-retry-7yj2t834.js";
27
27
  import {
28
28
  __export
29
- } from "./managed-policy-9rqn6x4v.js";
29
+ } from "./model-retry-9rqn6x4v.js";
30
30
 
31
31
  // src/tool/mcp.ts
32
32
  var exports_mcp3 = {};
33
33
  __export(exports_mcp3, {
34
34
  McpTool: () => exports_mcp3,
35
- Service: () => Service32,
36
- layer: () => layer14,
35
+ Service: () => Service25,
36
+ layer: () => layer13,
37
37
  name: () => name14,
38
38
  namespace: () => namespace2,
39
- node: () => node35
39
+ node: () => node29
40
40
  });
41
41
  import { ToolFailure } from "@opencode/ai";
42
42
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -47,14 +47,14 @@ var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown
47
47
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
48
48
  var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
49
49
 
50
- class Service32 extends Context.Service()("@opencode/McpTool") {
50
+ class Service25 extends Context.Service()("@opencode/McpTool") {
51
51
  }
52
- var layer14 = Layer.effect(Service32, Effect.gen(function* () {
53
- const mcp = yield* Service34;
54
- const tools = yield* Service40;
52
+ var layer13 = Layer.effect(Service25, Effect.gen(function* () {
53
+ const mcp = yield* Service27;
54
+ const tools = yield* Service48;
55
55
  const bus = yield* Service86;
56
- const permission = yield* Service70;
57
- const toolOutput = yield* Service55;
56
+ const permission = yield* Service72;
57
+ const toolOutput = yield* Service38;
58
58
  const lock = Semaphore.makeUnsafe(1);
59
59
  let discovered = [];
60
60
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -124,7 +124,7 @@ var layer14 = Layer.effect(Service32, Effect.gen(function* () {
124
124
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
125
125
  const updates = yield* PubSub.subscribe(changes);
126
126
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
127
- return Service32.of({ flush: Effect.asVoid(Fiber.await(initial)) });
127
+ return Service25.of({ flush: Effect.asVoid(Fiber.await(initial)) });
128
128
  }));
129
129
  var toContent = Effect.fnUntraced(function* (part, toolOutput) {
130
130
  if (part.type === "text")
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
144
144
  text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
145
145
  };
146
146
  });
147
- var node35 = makeLocationNode({
148
- service: Service32,
149
- layer: layer14,
150
- deps: [node43, node37, node90, node74, node60]
147
+ var node29 = makeLocationNode({
148
+ service: Service25,
149
+ layer: layer13,
150
+ deps: [node53, node31, node90, node76, node41]
151
151
  });
152
152
 
153
- export { namespace2, name14, Service32, layer14, node35, exports_mcp3 };
153
+ export { namespace2, name14, Service25, layer13, node29, exports_mcp3 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./managed-policy-15cyj2pd.js";
3
+ } from "./model-retry-v0yxjjsz.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./managed-policy-pkyv6v7h.js";
6
+ } from "./model-retry-pkyv6v7h.js";
7
7
  import {
8
8
  __export
9
- } from "./managed-policy-9rqn6x4v.js";
9
+ } from "./model-retry-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./managed-policy-9rqn6x4v.js";
3
+ } from "./model-retry-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./managed-policy-9rqn6x4v.js";
3
+ } from "./model-retry-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
6
  var exports_permission = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./managed-policy-9rqn6x4v.js";
3
+ } from "./model-retry-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options7,
9
+ Options: () => Options8,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options7 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options7]))]);
13
+ var Options8 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
15
15
 
16
- export { Options7, Spec2, exports_plugin3 };
16
+ export { Options8, Spec2, exports_plugin3 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./managed-policy-qfa1cgps.js";
3
+ } from "./model-retry-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./managed-policy-034tev2y.js";
6
+ } from "./model-retry-aj7mw0zk.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./model-retry-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service30,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service30 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service30.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service30, awaitActivation2, exports_service };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./managed-policy-z5v4ffb3.js";
4
+ } from "./model-retry-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service84,
9
- node88
10
- } from "./managed-policy-8ty1fwe5.js";
8
+ Service85,
9
+ node89
10
+ } from "./model-retry-t08j0hgd.js";
11
11
  import {
12
- Service82,
13
- node86
14
- } from "./managed-policy-e22n6ctv.js";
12
+ Service83,
13
+ node87
14
+ } from "./model-retry-mbvs8a24.js";
15
15
  import {
16
16
  create3
17
- } from "./managed-policy-vd3b3yk9.js";
17
+ } from "./model-retry-vd3b3yk9.js";
18
18
  import {
19
19
  __export
20
- } from "./managed-policy-9rqn6x4v.js";
20
+ } from "./model-retry-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
25
+ Error: () => Error2,
26
26
  ID: () => ID5,
27
- Service: () => Service44,
27
+ Service: () => Service41,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node47,
29
+ node: () => node44,
30
30
  noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -36,20 +36,20 @@ import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service44 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service41 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service44, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service84;
50
+ const git = yield* Service85;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service82;
52
+ const location = yield* Service83;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
72
72
  const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  if (!FSUtil.contains(worktree, location.directory))
75
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
75
+ return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
76
76
  return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
77
77
  });
78
78
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -141,25 +141,25 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
141
141
  for (const [file, snapshot] of input.files) {
142
142
  const absolute = path.resolve(worktree, file);
143
143
  if (!FSUtil.contains(worktree, absolute))
144
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
144
+ return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
145
145
  files.set(file, TreeID2.make(snapshot));
146
146
  }
147
147
  return files;
148
148
  });
149
149
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
150
150
  if (!enabled())
151
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
151
+ return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
152
152
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
153
153
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
154
154
  });
155
- return Service44.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
155
+ return Service41.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
156
156
  }).pipe(Effect.withSpan("Snapshot.boot")));
157
- var node47 = makeLocationNode({
158
- service: Service44,
157
+ var node44 = makeLocationNode({
158
+ service: Service41,
159
159
  layer,
160
- deps: [FSUtil.node, node88, Global.node, node86]
160
+ deps: [FSUtil.node, node89, Global.node, node87]
161
161
  });
162
- var noopLayer2 = Layer.succeed(Service44, Service44.of({
162
+ var noopLayer2 = Layer.succeed(Service41, Service41.of({
163
163
  transform: () => Effect.succeed({ dispose: Effect.void }),
164
164
  reload: () => Effect.void,
165
165
  capture: () => Effect.undefined,
@@ -168,13 +168,13 @@ var noopLayer2 = Layer.succeed(Service44, Service44.of({
168
168
  restore: () => Effect.void
169
169
  }));
170
170
  function failure(operation, cause) {
171
- if (cause instanceof Error3 && cause.operation === operation)
171
+ if (cause instanceof Error2 && cause.operation === operation)
172
172
  return cause;
173
- return new Error3({
173
+ return new Error2({
174
174
  operation,
175
175
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
176
176
  cause
177
177
  });
178
178
  }
179
179
 
180
- export { ID5, Error3, Service44, node47, noopLayer2, exports_snapshot2 };
180
+ export { ID5, Error2, Service41, node44, noopLayer2, exports_snapshot2 };
@@ -1,25 +1,25 @@
1
1
  import {
2
- ID12,
2
+ ID13,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  timeouts2,
6
6
  mergeOverlay2
7
- } from "./managed-policy-7f63ea2z.js";
7
+ } from "./model-retry-hks9h3jz.js";
8
8
  import {
9
9
  stringify2
10
- } from "./managed-policy-sjmm3wxa.js";
10
+ } from "./model-retry-sjmm3wxa.js";
11
11
  import {
12
12
  __export
13
- } from "./managed-policy-9rqn6x4v.js";
13
+ } from "./model-retry-9rqn6x4v.js";
14
14
 
15
15
  // src/aisdk.ts
16
16
  var exports_aisdk = {};
17
17
  __export(exports_aisdk, {
18
18
  AISDK: () => exports_aisdk,
19
19
  InitError: () => InitError2,
20
- Service: () => Service66,
20
+ Service: () => Service58,
21
21
  locationLayer: () => locationLayer2,
22
- node: () => node70
22
+ node: () => node62
23
23
  });
24
24
  import { makeLocationNode } from "@opencode/util/effect/app-node";
25
25
  import { APICallError } from "@ai-sdk/provider";
@@ -156,7 +156,7 @@ function throughMiddleware(store, send, input, init) {
156
156
  var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
157
157
 
158
158
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
159
- providerID: ID12,
159
+ providerID: ID13,
160
160
  cause: Schema.Defect()
161
161
  }) {
162
162
  }
@@ -164,9 +164,9 @@ function initError(providerID) {
164
164
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
165
165
  }
166
166
 
167
- class Service66 extends Context.Service()("@opencode/AISDK") {
167
+ class Service58 extends Context.Service()("@opencode/AISDK") {
168
168
  }
169
- var locationLayer2 = Layer.effect(Service66, Effect.gen(function* () {
169
+ var locationLayer2 = Layer.effect(Service58, Effect.gen(function* () {
170
170
  let sdkHooks = [];
171
171
  let languageHooks = [];
172
172
  const languages = new Map;
@@ -204,7 +204,7 @@ var locationLayer2 = Layer.effect(Service66, Effect.gen(function* () {
204
204
  }
205
205
  return event;
206
206
  });
207
- const service = Service66.of({
207
+ const service = Service58.of({
208
208
  hook: {
209
209
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
210
210
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -870,6 +870,6 @@ function providerErrorMessage(error) {
870
870
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
871
871
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
872
872
  }
873
- var node70 = makeLocationNode({ service: Service66, layer: locationLayer2, deps: [] });
873
+ var node62 = makeLocationNode({ service: Service58, layer: locationLayer2, deps: [] });
874
874
 
875
- export { InitError2, Service66, locationLayer2, node70, exports_aisdk };
875
+ export { InitError2, Service58, locationLayer2, node62, exports_aisdk };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./managed-policy-9rqn6x4v.js";
3
+ } from "./model-retry-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};