@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,132 +1,132 @@
1
1
  import {
2
2
  Metadata2,
3
- node51
4
- } from "./managed-policy-4f6wjw9b.js";
3
+ node52
4
+ } from "./model-retry-7zhd4cey.js";
5
5
  import {
6
6
  Service86,
7
7
  node90
8
- } from "./managed-policy-5zwc8z7d.js";
8
+ } from "./model-retry-b5sxz6p8.js";
9
9
  import {
10
- ID10,
11
- Service73,
12
- node77
13
- } from "./managed-policy-86gmn33h.js";
10
+ ID11,
11
+ Service75,
12
+ node79
13
+ } from "./model-retry-wcbhfjrd.js";
14
14
  import {
15
- ID14,
15
+ ID15,
16
16
  OAuth3
17
- } from "./managed-policy-7c9yzdv1.js";
17
+ } from "./model-retry-cxy24jbt.js";
18
18
  import {
19
- ID13,
19
+ ID14,
20
20
  MethodID2,
21
21
  AttemptID2,
22
22
  Method2,
23
- Service76,
24
- node80
25
- } from "./managed-policy-bewwd09f.js";
23
+ Service79,
24
+ node83
25
+ } from "./model-retry-gs55zvzx.js";
26
26
  import {
27
27
  AbsolutePath2
28
- } from "./managed-policy-z5v4ffb3.js";
28
+ } from "./model-retry-z5v4ffb3.js";
29
29
  import {
30
- Info27,
30
+ Info28,
31
31
  Ref4,
32
- Service82,
33
- node86
34
- } from "./managed-policy-e22n6ctv.js";
32
+ Service83,
33
+ node87
34
+ } from "./model-retry-mbvs8a24.js";
35
35
  import {
36
- ID12,
37
- Service75,
38
- node79
39
- } from "./managed-policy-7f63ea2z.js";
36
+ ID13,
37
+ Service78,
38
+ node82
39
+ } from "./model-retry-hks9h3jz.js";
40
40
  import {
41
- Service66,
42
- node70
43
- } from "./managed-policy-mj47herm.js";
41
+ Service58,
42
+ node62
43
+ } from "./model-retry-2kw25s9z.js";
44
44
  import {
45
- Service85,
46
- node89
47
- } from "./managed-policy-g3pptkv5.js";
45
+ Service34,
46
+ node37
47
+ } from "./model-retry-17tax46a.js";
48
48
  import {
49
- Service68,
50
- node72
51
- } from "./managed-policy-33hmfn8k.js";
49
+ Service71,
50
+ node75
51
+ } from "./model-retry-e207k1f0.js";
52
52
  import {
53
- Service69,
54
- node73
55
- } from "./managed-policy-vb2g9h2k.js";
53
+ Service61,
54
+ node65
55
+ } from "./model-retry-8tm9bnq5.js";
56
56
  import {
57
- ID7,
58
- Service67,
59
- node71
60
- } from "./managed-policy-5be5tbrh.js";
57
+ ID12,
58
+ Service77,
59
+ node81
60
+ } from "./model-retry-ng3brtr7.js";
61
61
  import {
62
62
  ID6
63
- } from "./managed-policy-6fkpavy9.js";
63
+ } from "./model-retry-y6s9gp4k.js";
64
64
  import {
65
- Service34,
66
- node37
67
- } from "./managed-policy-arckp0tt.js";
65
+ Service27,
66
+ node31
67
+ } from "./model-retry-qfdd46e5.js";
68
68
  import {
69
- Service74,
70
- node78
71
- } from "./managed-policy-n7wnam13.js";
69
+ Service76,
70
+ node80
71
+ } from "./model-retry-v6h5bgwd.js";
72
72
  import {
73
- Service70,
74
- node74
75
- } from "./managed-policy-knp52wmd.js";
73
+ Service72,
74
+ node76
75
+ } from "./model-retry-8p97zz9p.js";
76
76
  import {
77
- Service40,
78
- node43,
79
- Error2
80
- } from "./managed-policy-dr1fr17h.js";
77
+ Service48,
78
+ node53,
79
+ Error5
80
+ } from "./model-retry-nrch4egb.js";
81
81
  import {
82
- Source4,
82
+ Source3,
83
83
  Service39,
84
84
  node42
85
- } from "./managed-policy-dxfx83kj.js";
85
+ } from "./model-retry-4xkwq58b.js";
86
86
  import {
87
- Info7,
88
- Service37,
89
- node40
90
- } from "./managed-policy-z5x59bbe.js";
87
+ Info11,
88
+ Service59,
89
+ node63
90
+ } from "./model-retry-z08m45c2.js";
91
91
  import {
92
- Service23,
93
- node26
94
- } from "./managed-policy-kgdbym9g.js";
92
+ Service18,
93
+ node21
94
+ } from "./model-retry-phzadmh4.js";
95
95
  import {
96
- Service20,
97
- node23
98
- } from "./managed-policy-e45v1dq9.js";
96
+ Service64,
97
+ node68
98
+ } from "./model-retry-vrsa97jg.js";
99
99
  import {
100
- Service53,
101
- node58
102
- } from "./managed-policy-c7ce2teg.js";
100
+ Service62,
101
+ node66
102
+ } from "./model-retry-7emqhgyb.js";
103
103
  import {
104
- Service81,
105
- node85
106
- } from "./managed-policy-4fx8k1s6.js";
104
+ Service82,
105
+ node86
106
+ } from "./model-retry-050d3ay8.js";
107
107
  import {
108
- ID3,
108
+ ID4,
109
109
  Service17,
110
110
  node20
111
- } from "./managed-policy-p5w84a5e.js";
111
+ } from "./model-retry-vewr63hq.js";
112
112
  import {
113
- Service19,
114
- node22
115
- } from "./managed-policy-z7bc1hkz.js";
113
+ Service43,
114
+ node46
115
+ } from "./model-retry-9nn8g4z9.js";
116
116
  import {
117
117
  StrategyID2,
118
- Info5,
119
- ListEntry2,
120
- Service18,
121
- node21
122
- } from "./managed-policy-1wyv5fds.js";
118
+ Info8,
119
+ ListEntry3,
120
+ Service42,
121
+ node45
122
+ } from "./model-retry-8kw3wj8m.js";
123
123
  import {
124
- Service50,
125
- node55
126
- } from "./managed-policy-95n777kh.js";
124
+ Service56,
125
+ node60
126
+ } from "./model-retry-c5ncm6k8.js";
127
127
  import {
128
128
  __export
129
- } from "./managed-policy-9rqn6x4v.js";
129
+ } from "./model-retry-9rqn6x4v.js";
130
130
 
131
131
  // src/plugin/host.ts
132
132
  var exports_host = {};
@@ -144,32 +144,32 @@ var mutable = (value) => value;
144
144
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
145
145
  var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
146
146
  const app = yield* Metadata2;
147
- const agents = yield* Service73;
148
- const aisdk = yield* Service66;
149
- const providers = yield* Service75;
150
- const models = yield* Service67;
151
- const commands = yield* Service85;
147
+ const agents = yield* Service75;
148
+ const aisdk = yield* Service58;
149
+ const providers = yield* Service78;
150
+ const models = yield* Service77;
151
+ const commands = yield* Service34;
152
152
  const bus = yield* Service86;
153
- const integration = yield* Service76;
154
- const kv = yield* Service68;
155
- const mcp = yield* Service34;
156
- const location = yield* Service82;
153
+ const integration = yield* Service79;
154
+ const kv = yield* Service71;
155
+ const mcp = yield* Service27;
156
+ const location = yield* Service83;
157
157
  const reference = yield* Service39;
158
- const rpc = yield* Service53;
159
- const skill = yield* Service37;
160
- const tools = yield* Service40;
161
- const vcs = yield* Service81;
158
+ const rpc = yield* Service62;
159
+ const skill = yield* Service59;
160
+ const tools = yield* Service48;
161
+ const vcs = yield* Service82;
162
162
  const websearch = yield* Service17;
163
- const generate = yield* Service50;
164
- const permission = yield* Service70;
165
- const hooks = yield* Service74;
166
- const sessions = yield* Service23;
167
- const persistentPty = yield* Service20;
168
- const locations = yield* Service69;
169
- const worktrees = yield* Service18;
170
- const worktreeStrategies = yield* Service19;
163
+ const generate = yield* Service56;
164
+ const permission = yield* Service72;
165
+ const hooks = yield* Service76;
166
+ const sessions = yield* Service18;
167
+ const persistentPty = yield* Service64;
168
+ const locations = yield* Service61;
169
+ const worktrees = yield* Service42;
170
+ const worktreeStrategies = yield* Service43;
171
171
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
172
- const locationInfo = () => new Info27({
172
+ const locationInfo = () => new Info28({
173
173
  directory: location.directory,
174
174
  workspaceID: location.workspaceID,
175
175
  project: location.project
@@ -180,13 +180,13 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
180
180
  });
181
181
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
182
182
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
183
- const decodeWorktree = Schema.decodeUnknownEffect(Info5);
184
- const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry2));
183
+ const decodeWorktree = Schema.decodeUnknownEffect(Info8);
184
+ const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
185
185
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
186
- const location = yield* Service82;
187
- const agents = yield* Service73;
186
+ const location = yield* Service83;
187
+ const agents = yield* Service75;
188
188
  return {
189
- location: new Info27({
189
+ location: new Info28({
190
190
  directory: location.directory,
191
191
  workspaceID: location.workspaceID,
192
192
  project: location.project
@@ -218,10 +218,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
218
218
  transform: (callback) => agents.transform((editor) => {
219
219
  callback({
220
220
  list: editor.list,
221
- get: (id) => editor.get(ID10.make(id)),
222
- default: (id) => editor.default(id === undefined ? undefined : ID10.make(id)),
223
- update: (id, update) => editor.update(ID10.make(id), update),
224
- remove: (id) => editor.remove(ID10.make(id))
221
+ get: (id) => editor.get(ID11.make(id)),
222
+ default: (id) => editor.default(id === undefined ? undefined : ID11.make(id)),
223
+ update: (id, update) => editor.update(ID11.make(id), update),
224
+ remove: (id) => editor.remove(ID11.make(id))
225
225
  });
226
226
  })
227
227
  },
@@ -255,22 +255,22 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
255
255
  },
256
256
  provider: {
257
257
  list: () => response(providers.available()),
258
- get: (input) => providers.get(ID12.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
258
+ get: (input) => providers.get(ID13.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
259
259
  reload: providers.reload,
260
260
  transform: (callback) => providers.transform((editor) => {
261
261
  callback({
262
262
  list: editor.list,
263
- get: (id) => editor.get(ID12.make(id)),
263
+ get: (id) => editor.get(ID13.make(id)),
264
264
  add: (definition) => editor.add({
265
265
  ...definition,
266
- sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID14.make(definition.sourceConnection.id) } : definition.sourceConnection
266
+ sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID15.make(definition.sourceConnection.id) } : definition.sourceConnection
267
267
  }),
268
- update: (id, update) => editor.update(ID12.make(id), update),
269
- remove: (id) => editor.remove(ID12.make(id)),
268
+ update: (id, update) => editor.update(ID13.make(id), update),
269
+ remove: (id) => editor.remove(ID13.make(id)),
270
270
  models: {
271
- set: (id, models) => editor.models.set(ID12.make(id), models),
272
- update: (providerID, modelID, update) => editor.models.update(ID12.make(providerID), ID7.make(modelID), update),
273
- remove: (providerID, modelID) => editor.models.remove(ID12.make(providerID), ID7.make(modelID))
271
+ set: (id, models) => editor.models.set(ID13.make(id), models),
272
+ update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID), ID12.make(modelID), update),
273
+ remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID), ID12.make(modelID))
274
274
  }
275
275
  });
276
276
  })
@@ -280,17 +280,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
280
280
  default: () => response(models.default()),
281
281
  reload: models.reload,
282
282
  transform: (callback) => models.transform((editor) => callback({
283
- list: (providerID) => editor.list(providerID === undefined ? undefined : ID12.make(providerID)),
284
- get: (providerID, modelID) => editor.get(ID12.make(providerID), ID7.make(modelID)),
285
- update: (providerID, modelID, update) => editor.update(ID12.make(providerID), ID7.make(modelID), update),
286
- remove: (providerID, modelID) => editor.remove(ID12.make(providerID), ID7.make(modelID)),
283
+ list: (providerID) => editor.list(providerID === undefined ? undefined : ID13.make(providerID)),
284
+ get: (providerID, modelID) => editor.get(ID13.make(providerID), ID12.make(modelID)),
285
+ update: (providerID, modelID, update) => editor.update(ID13.make(providerID), ID12.make(modelID), update),
286
+ remove: (providerID, modelID) => editor.remove(ID13.make(providerID), ID12.make(modelID)),
287
287
  default: {
288
288
  get: editor.default.get,
289
- set: (providerID, modelID) => editor.default.set(ID12.make(providerID), ID7.make(modelID))
289
+ set: (providerID, modelID) => editor.default.set(ID13.make(providerID), ID12.make(modelID))
290
290
  },
291
291
  provider: {
292
292
  list: editor.provider.list,
293
- get: (id) => editor.provider.get(ID12.make(id))
293
+ get: (id) => editor.provider.get(ID13.make(id))
294
294
  }
295
295
  }))
296
296
  },
@@ -316,20 +316,20 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
316
316
  integration: {
317
317
  list: () => response(integration.list()),
318
318
  get: Effect.fn(function* (input) {
319
- const item = yield* integration.get(ID13.make(input.integrationID));
319
+ const item = yield* integration.get(ID14.make(input.integrationID));
320
320
  if (!item)
321
321
  return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
322
322
  return yield* response(Effect.succeed(item));
323
323
  }),
324
324
  connect: {
325
325
  key: (input) => integration.connection.key({
326
- integrationID: ID13.make(input.integrationID),
326
+ integrationID: ID14.make(input.integrationID),
327
327
  key: input.key,
328
328
  answer: input.answer,
329
329
  label: input.label
330
330
  }),
331
331
  external: (input) => integration.connection.external({
332
- integrationID: ID13.make(input.integrationID),
332
+ integrationID: ID14.make(input.integrationID),
333
333
  methodID: MethodID2.make(input.methodID),
334
334
  answer: input.answer,
335
335
  label: input.label
@@ -337,60 +337,60 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
337
337
  },
338
338
  oauth: {
339
339
  connect: (input) => response(integration.oauth.connect({
340
- integrationID: ID13.make(input.integrationID),
340
+ integrationID: ID14.make(input.integrationID),
341
341
  methodID: MethodID2.make(input.methodID),
342
342
  answer: input.answer,
343
343
  label: input.label
344
344
  })),
345
345
  status: (input) => response(integration.oauth.status({
346
- integrationID: ID13.make(input.integrationID),
346
+ integrationID: ID14.make(input.integrationID),
347
347
  attemptID: AttemptID2.make(input.attemptID)
348
348
  })),
349
349
  complete: (input) => integration.oauth.complete({
350
- integrationID: ID13.make(input.integrationID),
350
+ integrationID: ID14.make(input.integrationID),
351
351
  attemptID: AttemptID2.make(input.attemptID),
352
352
  code: input.code
353
353
  }),
354
354
  cancel: (input) => integration.oauth.cancel({
355
- integrationID: ID13.make(input.integrationID),
355
+ integrationID: ID14.make(input.integrationID),
356
356
  attemptID: AttemptID2.make(input.attemptID)
357
357
  })
358
358
  },
359
359
  command: {
360
360
  connect: (input) => response(integration.command.connect({
361
- integrationID: ID13.make(input.integrationID),
361
+ integrationID: ID14.make(input.integrationID),
362
362
  methodID: MethodID2.make(input.methodID),
363
363
  label: input.label
364
364
  })),
365
365
  status: (input) => response(integration.command.status({
366
- integrationID: ID13.make(input.integrationID),
366
+ integrationID: ID14.make(input.integrationID),
367
367
  attemptID: AttemptID2.make(input.attemptID)
368
368
  })),
369
369
  cancel: (input) => integration.command.cancel({
370
- integrationID: ID13.make(input.integrationID),
370
+ integrationID: ID14.make(input.integrationID),
371
371
  attemptID: AttemptID2.make(input.attemptID)
372
372
  })
373
373
  },
374
374
  reload: integration.reload,
375
375
  connection: {
376
- active: (id) => integration.connection.active(ID13.make(id)),
377
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID14.make(connection.id) } : connection),
376
+ active: (id) => integration.connection.active(ID14.make(id)),
377
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID15.make(connection.id) } : connection),
378
378
  status: (input) => integration.connection.status({
379
- integrationID: ID13.make(input.integrationID),
380
- connection: input.connection.type === "credential" ? { ...input.connection, id: ID14.make(input.connection.id) } : input.connection,
379
+ integrationID: ID14.make(input.integrationID),
380
+ connection: input.connection.type === "credential" ? { ...input.connection, id: ID15.make(input.connection.id) } : input.connection,
381
381
  status: input.status
382
382
  })
383
383
  },
384
384
  transform: (callback) => integration.transform((editor) => {
385
385
  callback({
386
386
  list: editor.list,
387
- get: (id) => editor.get(ID13.make(id)),
388
- update: (id, update) => editor.update(ID13.make(id), update),
389
- remove: (id) => editor.remove(ID13.make(id)),
387
+ get: (id) => editor.get(ID14.make(id)),
388
+ update: (id, update) => editor.update(ID14.make(id), update),
389
+ remove: (id) => editor.remove(ID14.make(id)),
390
390
  method: {
391
- list: (id) => editor.method.list(ID13.make(id)),
391
+ list: (id) => editor.method.list(ID14.make(id)),
392
392
  update: (input) => editor.method.update(methodImplementation(input)),
393
- remove: (id, method) => editor.method.remove(ID13.make(id), Schema.decodeUnknownSync(Method2)(method))
393
+ remove: (id, method) => editor.method.remove(ID14.make(id), Schema.decodeUnknownSync(Method2)(method))
394
394
  }
395
395
  });
396
396
  })
@@ -400,10 +400,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
400
400
  const ref = locationRef(input);
401
401
  if (ref && !isCurrentLocation(ref))
402
402
  return Effect.gen(function* () {
403
- const location = yield* Service82;
404
- const mcp = yield* Service34;
403
+ const location = yield* Service83;
404
+ const mcp = yield* Service27;
405
405
  return {
406
- location: new Info27({
406
+ location: new Info28({
407
407
  directory: location.directory,
408
408
  workspaceID: location.workspaceID,
409
409
  project: location.project
@@ -430,9 +430,9 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
430
430
  get: (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? Effect.succeed(request) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`)))),
431
431
  reply: (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? permission.reply({ requestID: input.requestID, reply: input.decision, message: input.message }) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`)))),
432
432
  assert: (input) => permission.assert(input).pipe(Effect.catchTags({
433
- "Permission.BlockedError": (error) => Effect.fail(new Error2({ message: error.message, error })),
434
- "Permission.CorrectedError": (error) => Effect.fail(new Error2({ message: error.feedback, error })),
435
- "Session.NotFoundError": (error) => Effect.fail(new Error2({ message: `Session not found: ${error.sessionID}`, error }))
433
+ "Permission.BlockedError": (error) => Effect.fail(new Error5({ message: error.message, error })),
434
+ "Permission.CorrectedError": (error) => Effect.fail(new Error5({ message: error.feedback, error })),
435
+ "Session.NotFoundError": (error) => Effect.fail(new Error5({ message: `Session not found: ${error.sessionID}`, error }))
436
436
  }))
437
437
  },
438
438
  plugin: {
@@ -443,7 +443,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
443
443
  reload: reference.reload,
444
444
  transform: (callback) => reference.transform((editor) => {
445
445
  callback({
446
- add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source4)(source)),
446
+ add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
447
447
  remove: editor.remove,
448
448
  list: editor.list,
449
449
  get: editor.get
@@ -457,7 +457,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
457
457
  callback({
458
458
  list: () => mutable(editor.list()),
459
459
  get: editor.get,
460
- add: (value) => editor.add(Schema.decodeUnknownSync(Info7)(value)),
460
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info11)(value)),
461
461
  update: editor.update,
462
462
  remove: editor.remove
463
463
  });
@@ -488,19 +488,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
488
488
  providers: () => response(websearch.providers()),
489
489
  query: (input) => response(websearch.query({
490
490
  query: input.query,
491
- providerID: input.providerID === undefined ? undefined : ID3.make(input.providerID)
491
+ providerID: input.providerID === undefined ? undefined : ID4.make(input.providerID)
492
492
  })),
493
493
  reload: websearch.reload,
494
494
  transform: (callback) => websearch.transform((editor) => {
495
495
  callback({
496
496
  add: (definition) => editor.add({
497
- id: ID3.make(definition.id),
497
+ id: ID4.make(definition.id),
498
498
  name: definition.name,
499
499
  execute: definition.execute
500
500
  }),
501
501
  default: {
502
502
  get: editor.default.get,
503
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID3.make(selection))
503
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID4.make(selection))
504
504
  }
505
505
  });
506
506
  })
@@ -561,31 +561,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
561
561
  return context;
562
562
  });
563
563
  var requirements3 = LayerNode.group([
564
- node51,
565
- node77,
566
- node70,
564
+ node52,
567
565
  node79,
568
- node71,
569
- node89,
570
- node90,
571
- node80,
572
- node72,
566
+ node62,
567
+ node82,
568
+ node81,
573
569
  node37,
574
- node86,
570
+ node90,
571
+ node83,
572
+ node75,
573
+ node31,
574
+ node87,
575
575
  node42,
576
- node58,
577
- node40,
578
- node43,
579
- node85,
576
+ node66,
577
+ node63,
578
+ node53,
579
+ node86,
580
580
  node20,
581
+ node45,
582
+ node46,
583
+ node60,
584
+ node76,
585
+ node80,
581
586
  node21,
582
- node22,
583
- node55,
584
- node74,
585
- node78,
586
- node26,
587
- node23,
588
- node73
587
+ node68,
588
+ node65
589
589
  ]);
590
590
  function storage2(kv, pluginID) {
591
591
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -612,7 +612,7 @@ function methodImplementation(input) {
612
612
  if ("authorize" in input) {
613
613
  const refresh = input.refresh;
614
614
  return {
615
- integrationID: ID13.make(input.integrationID),
615
+ integrationID: ID14.make(input.integrationID),
616
616
  method: { ...input.method, id: MethodID2.make(input.method.id) },
617
617
  authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
618
618
  if (authorization.mode === "auto") {
@@ -632,24 +632,24 @@ function methodImplementation(input) {
632
632
  }
633
633
  if (input.method.type === "env") {
634
634
  return {
635
- integrationID: ID13.make(input.integrationID),
635
+ integrationID: ID14.make(input.integrationID),
636
636
  method: input.method
637
637
  };
638
638
  }
639
639
  if (input.method.type === "command") {
640
640
  return {
641
- integrationID: ID13.make(input.integrationID),
641
+ integrationID: ID14.make(input.integrationID),
642
642
  method: { ...input.method, id: MethodID2.make(input.method.id) }
643
643
  };
644
644
  }
645
645
  if (input.method.type === "external") {
646
646
  return {
647
- integrationID: ID13.make(input.integrationID),
647
+ integrationID: ID14.make(input.integrationID),
648
648
  method: { ...input.method, id: MethodID2.make(input.method.id) }
649
649
  };
650
650
  }
651
651
  return {
652
- integrationID: ID13.make(input.integrationID),
652
+ integrationID: ID14.make(input.integrationID),
653
653
  method: input.method
654
654
  };
655
655
  }