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

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 +83 -83
  3. package/dist/aisdk-native.js +94 -94
  4. package/dist/aisdk.js +100 -100
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{file-mutation-034tev2y.js → managed-policy-034tev2y.js} +2 -2
  8. package/dist/chunks/{file-mutation-qvzyn69b.js → managed-policy-0myb0hv8.js} +7 -7
  9. package/dist/chunks/{file-mutation-9na97aeg.js → managed-policy-0t0ezgkn.js} +23 -23
  10. package/dist/chunks/{file-mutation-cppvt4zp.js → managed-policy-0xn02ny1.js} +3 -3
  11. package/dist/chunks/{file-mutation-20nwq5j7.js → managed-policy-0zq9v72r.js} +10 -10
  12. package/dist/chunks/{file-mutation-htgm1bds.js → managed-policy-14txj3e5.js} +3 -3
  13. package/dist/chunks/{file-mutation-nnra64kg.js → managed-policy-15cyj2pd.js} +52 -52
  14. package/dist/chunks/{file-mutation-bgm817xr.js → managed-policy-18g90bpv.js} +9 -9
  15. package/dist/chunks/{file-mutation-s0a3xd7q.js → managed-policy-18mmfe1f.js} +11 -11
  16. package/dist/chunks/{file-mutation-1ep2p91f.js → managed-policy-1ep2p91f.js} +2 -2
  17. package/dist/chunks/{file-mutation-mppte30v.js → managed-policy-1mpbznjz.js} +32 -32
  18. package/dist/chunks/{file-mutation-sqgyj4gx.js → managed-policy-1n4z0p15.js} +55 -55
  19. package/dist/chunks/{file-mutation-4rwjg7ym.js → managed-policy-1pfp6hjn.js} +14 -14
  20. package/dist/chunks/{file-mutation-xn4rg1bt.js → managed-policy-1wyv5fds.js} +36 -36
  21. package/dist/chunks/{file-mutation-1x2knyw4.js → managed-policy-1x2knyw4.js} +1 -1
  22. package/dist/chunks/{file-mutation-1y0wdj51.js → managed-policy-1y0wdj51.js} +1 -1
  23. package/dist/chunks/{file-mutation-fzw3ggbd.js → managed-policy-1yv6gjd4.js} +5 -5
  24. package/dist/chunks/{file-mutation-qye7m5mc.js → managed-policy-25ngw1b7.js} +15 -15
  25. package/dist/chunks/{file-mutation-42c08vbd.js → managed-policy-27jk1en4.js} +12 -12
  26. package/dist/chunks/{file-mutation-mt039edz.js → managed-policy-29525h7k.js} +34 -34
  27. package/dist/chunks/{file-mutation-mpw1k9ag.js → managed-policy-2bshgvsd.js} +3 -3
  28. package/dist/chunks/{file-mutation-j9gv32p7.js → managed-policy-2ffq6khn.js} +24 -24
  29. package/dist/chunks/{file-mutation-emq6awqh.js → managed-policy-2m2g9ynh.js} +4 -4
  30. package/dist/chunks/{file-mutation-hvnmtape.js → managed-policy-2rrayadd.js} +30 -30
  31. package/dist/chunks/{file-mutation-tdaksa41.js → managed-policy-2sde7pdr.js} +24 -24
  32. package/dist/chunks/{file-mutation-hvjpqjdc.js → managed-policy-2tfzkff6.js} +16 -16
  33. package/dist/chunks/{file-mutation-zx6dx56d.js → managed-policy-2tst3b9e.js} +9 -9
  34. package/dist/chunks/{file-mutation-2z1j29yd.js → managed-policy-2z1j29yd.js} +1 -1
  35. package/dist/chunks/{file-mutation-xf0kw6r5.js → managed-policy-33hmfn8k.js} +10 -10
  36. package/dist/chunks/{file-mutation-bqwdyg2t.js → managed-policy-39kss88q.js} +9 -9
  37. package/dist/chunks/{file-mutation-pq7xjvmm.js → managed-policy-3dp3y17e.js} +69 -69
  38. package/dist/chunks/{file-mutation-3hepkmqq.js → managed-policy-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{file-mutation-mh72q75k.js → managed-policy-3n7egtfq.js} +9 -9
  40. package/dist/chunks/{file-mutation-3nnrz6f6.js → managed-policy-3nnrz6f6.js} +1 -1
  41. package/dist/chunks/{file-mutation-06t7n8q8.js → managed-policy-3qh28kw9.js} +27 -27
  42. package/dist/chunks/{file-mutation-yy2edg57.js → managed-policy-3sn0zmr9.js} +18 -18
  43. package/dist/chunks/{file-mutation-r41sfy63.js → managed-policy-40za9wsf.js} +6 -6
  44. package/dist/chunks/{file-mutation-s2fjhn33.js → managed-policy-4f6wjw9b.js} +11 -11
  45. package/dist/chunks/{file-mutation-n9pam4rb.js → managed-policy-4fx8k1s6.js} +21 -21
  46. package/dist/chunks/{file-mutation-jkk3563p.js → managed-policy-4gy3hbk0.js} +10 -10
  47. package/dist/chunks/{file-mutation-s6h5wwd7.js → managed-policy-4nz8cp64.js} +17 -17
  48. package/dist/chunks/{file-mutation-jajr2nk9.js → managed-policy-4pavydbz.js} +2 -2
  49. package/dist/chunks/{file-mutation-4v008n1t.js → managed-policy-4v008n1t.js} +1 -1
  50. package/dist/chunks/{file-mutation-x39k9451.js → managed-policy-4x3extsw.js} +8 -8
  51. package/dist/chunks/{file-mutation-jah766w3.js → managed-policy-4xbynjts.js} +1 -1
  52. package/dist/chunks/{file-mutation-r385tprj.js → managed-policy-4zyp4rz1.js} +13 -13
  53. package/dist/chunks/{file-mutation-4k9b8ckd.js → managed-policy-50ra4brc.js} +9 -9
  54. package/dist/chunks/{file-mutation-aye484sv.js → managed-policy-51jhpxmm.js} +19 -19
  55. package/dist/chunks/{file-mutation-n93ct7p0.js → managed-policy-55w14brw.js} +17 -17
  56. package/dist/chunks/{file-mutation-0j822yer.js → managed-policy-5be5tbrh.js} +30 -30
  57. package/dist/chunks/{file-mutation-ne9926sq.js → managed-policy-5bn25yvx.js} +9 -9
  58. package/dist/chunks/{file-mutation-5m9w47nd.js → managed-policy-5m9w47nd.js} +1 -1
  59. package/dist/chunks/{file-mutation-9h0z3fxn.js → managed-policy-5w95pjhr.js} +13 -13
  60. package/dist/chunks/{file-mutation-xm251h68.js → managed-policy-5zcvddpv.js} +33 -33
  61. package/dist/chunks/{file-mutation-ppvrw4s2.js → managed-policy-5zwc8z7d.js} +4 -4
  62. package/dist/chunks/{file-mutation-ak0nv30a.js → managed-policy-6080abd8.js} +18 -18
  63. package/dist/chunks/{file-mutation-16ef7g89.js → managed-policy-62nka828.js} +10 -10
  64. package/dist/chunks/{file-mutation-6esdw8yj.js → managed-policy-6esdw8yj.js} +1 -1
  65. package/dist/chunks/{file-mutation-znfqxp8f.js → managed-policy-6fkpavy9.js} +28 -28
  66. package/dist/chunks/{file-mutation-6pjqjmy2.js → managed-policy-6pjqjmy2.js} +1 -1
  67. package/dist/chunks/{file-mutation-d42sg7e1.js → managed-policy-6v9rn0ba.js} +27 -27
  68. package/dist/chunks/{file-mutation-583v5ha0.js → managed-policy-6z9q0fb1.js} +19 -19
  69. package/dist/chunks/{file-mutation-6cmnpesq.js → managed-policy-711wh92p.js} +6 -6
  70. package/dist/chunks/{file-mutation-wzkhz6q0.js → managed-policy-75137ffn.js} +4 -4
  71. package/dist/chunks/{file-mutation-w8qtt4th.js → managed-policy-76cb1hcw.js} +4 -4
  72. package/dist/chunks/{file-mutation-770pw0s1.js → managed-policy-770pw0s1.js} +1 -1
  73. package/dist/chunks/{file-mutation-npqr99vp.js → managed-policy-79yy74tq.js} +180 -180
  74. package/dist/chunks/{file-mutation-7bmhse3q.js → managed-policy-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{file-mutation-e9jwpacd.js → managed-policy-7c9yzdv1.js} +28 -28
  76. package/dist/chunks/{file-mutation-9d1m9pmn.js → managed-policy-7dg649xm.js} +21 -21
  77. package/dist/chunks/{file-mutation-1nf7yf0j.js → managed-policy-7f4s0p3m.js} +42 -42
  78. package/dist/chunks/{file-mutation-fwrhh8te.js → managed-policy-7f63ea2z.js} +28 -28
  79. package/dist/chunks/{file-mutation-9z8a2djx.js → managed-policy-7pghdm2f.js} +31 -31
  80. package/dist/chunks/{file-mutation-7w2ypzdf.js → managed-policy-7w2ypzdf.js} +1 -1
  81. package/dist/chunks/{file-mutation-ad85zqd0.js → managed-policy-7z3stfjh.js} +35 -35
  82. package/dist/chunks/{file-mutation-h5tgkdcy.js → managed-policy-82jsfkky.js} +11 -11
  83. package/dist/chunks/{file-mutation-gdfaxg1p.js → managed-policy-838e58y8.js} +11 -11
  84. package/dist/chunks/{file-mutation-b0yyfzfw.js → managed-policy-84dphpr9.js} +17 -17
  85. package/dist/chunks/{file-mutation-pyyefh93.js → managed-policy-851zh3j0.js} +10 -10
  86. package/dist/chunks/{file-mutation-zcz1zead.js → managed-policy-86gmn33h.js} +16 -16
  87. package/dist/chunks/{file-mutation-jf98v3pw.js → managed-policy-86pjed9p.js} +8 -8
  88. package/dist/chunks/{file-mutation-xyeba02v.js → managed-policy-8aspdrzb.js} +1 -1
  89. package/dist/chunks/{file-mutation-0pj9ddaq.js → managed-policy-8aw03fbr.js} +3 -3
  90. package/dist/chunks/{file-mutation-j6emb5q4.js → managed-policy-8d3xcys2.js} +26 -26
  91. package/dist/chunks/{file-mutation-gjn8q2kb.js → managed-policy-8ej614zm.js} +5 -5
  92. package/dist/chunks/{file-mutation-w4aahjgf.js → managed-policy-8ht73479.js} +30 -30
  93. package/dist/chunks/managed-policy-8tdc4bs4.js +261 -0
  94. package/dist/chunks/{file-mutation-pdh4yr0t.js → managed-policy-8ty1fwe5.js} +12 -12
  95. package/dist/chunks/{file-mutation-8wtp7s3z.js → managed-policy-8wtp7s3z.js} +1 -1
  96. package/dist/chunks/{file-mutation-14zwc1tm.js → managed-policy-8zj2w8ry.js} +18 -18
  97. package/dist/chunks/{file-mutation-91rj84md.js → managed-policy-91rj84md.js} +1 -1
  98. package/dist/chunks/{file-mutation-wcm504gr.js → managed-policy-95n777kh.js} +23 -23
  99. package/dist/chunks/{file-mutation-3ycsgzwh.js → managed-policy-96fsyy14.js} +16 -16
  100. package/dist/chunks/{file-mutation-hvvf9qw8.js → managed-policy-97cewran.js} +6 -6
  101. package/dist/chunks/{file-mutation-998yhzzq.js → managed-policy-998yhzzq.js} +3 -3
  102. package/dist/chunks/{file-mutation-fvc4bqe2.js → managed-policy-9b28cy4d.js} +5 -5
  103. package/dist/chunks/{file-mutation-86e3dsdc.js → managed-policy-9gnx14jc.js} +18 -18
  104. package/dist/chunks/{file-mutation-hx36yvej.js → managed-policy-9p83n4ag.js} +14 -14
  105. package/dist/chunks/{file-mutation-5q1634ts.js → managed-policy-9qwx7yq4.js} +23 -23
  106. package/dist/chunks/{file-mutation-k10dwtqd.js → managed-policy-9r00qwzx.js} +4 -4
  107. package/dist/chunks/{file-mutation-a0e2vy3h.js → managed-policy-9ttr7wg4.js} +25 -25
  108. package/dist/chunks/{file-mutation-7jev2p96.js → managed-policy-9zrtw0ng.js} +37 -37
  109. package/dist/chunks/{file-mutation-e65cdmhb.js → managed-policy-a7hcemwv.js} +6 -6
  110. package/dist/chunks/{file-mutation-7vrycr0x.js → managed-policy-abatyzxm.js} +21 -21
  111. package/dist/chunks/{file-mutation-szcgc7h4.js → managed-policy-afmnpta1.js} +5 -5
  112. package/dist/chunks/{file-mutation-jc236n4m.js → managed-policy-agyg961t.js} +3 -3
  113. package/dist/chunks/{file-mutation-cvqwb722.js → managed-policy-an8erekz.js} +3 -3
  114. package/dist/chunks/{file-mutation-hj4sgq0k.js → managed-policy-arckp0tt.js} +49 -49
  115. package/dist/chunks/{file-mutation-99z41sf4.js → managed-policy-arz7hw7x.js} +2 -2
  116. package/dist/chunks/{file-mutation-8kf7njae.js → managed-policy-ay70qn8v.js} +9 -9
  117. package/dist/chunks/{file-mutation-ayjs7tqn.js → managed-policy-ayjs7tqn.js} +2 -2
  118. package/dist/chunks/{file-mutation-dbhxdrr0.js → managed-policy-aynbw0zy.js} +11 -11
  119. package/dist/chunks/{file-mutation-b0mv4wxm.js → managed-policy-b0mv4wxm.js} +2 -2
  120. package/dist/chunks/{file-mutation-b6vsg801.js → managed-policy-b6vsg801.js} +2 -2
  121. package/dist/chunks/{file-mutation-9dyr6dbd.js → managed-policy-baphfknr.js} +13 -13
  122. package/dist/chunks/managed-policy-bc5k4005.js +517 -0
  123. package/dist/chunks/{file-mutation-rpyyyxcq.js → managed-policy-bewwd09f.js} +28 -28
  124. package/dist/chunks/{file-mutation-xd9cc171.js → managed-policy-bstexjd6.js} +5 -5
  125. package/dist/chunks/{file-mutation-x4a10420.js → managed-policy-c1fej57t.js} +5 -5
  126. package/dist/chunks/{file-mutation-4w13ygjb.js → managed-policy-c6b16rft.js} +4 -4
  127. package/dist/chunks/{file-mutation-qx48z7fz.js → managed-policy-c7ce2teg.js} +18 -18
  128. package/dist/chunks/{file-mutation-1z6jjy5p.js → managed-policy-c8666r4c.js} +6 -6
  129. package/dist/chunks/{file-mutation-t79q4a8s.js → managed-policy-ccx0tj3k.js} +15 -15
  130. package/dist/chunks/{file-mutation-0f6r689f.js → managed-policy-cgky5gqb.js} +4 -4
  131. package/dist/chunks/{file-mutation-x1rh1q6n.js → managed-policy-ch7yww4p.js} +24 -24
  132. package/dist/chunks/{file-mutation-f378m401.js → managed-policy-ckq7ezzg.js} +28 -28
  133. package/dist/chunks/{file-mutation-b8g5x7py.js → managed-policy-csb4wctr.js} +30 -30
  134. package/dist/chunks/{file-mutation-kng2vz2g.js → managed-policy-cz0we2g4.js} +32 -32
  135. package/dist/chunks/{file-mutation-engkm2d6.js → managed-policy-d1r5081s.js} +5 -5
  136. package/dist/chunks/{file-mutation-kbn4pv95.js → managed-policy-d1vrg4at.js} +35 -35
  137. package/dist/chunks/{file-mutation-d4v9tmah.js → managed-policy-d4v9tmah.js} +2 -2
  138. package/dist/chunks/{file-mutation-hvz0d71n.js → managed-policy-dfexp956.js} +6 -6
  139. package/dist/chunks/{file-mutation-q27sz64n.js → managed-policy-dn35p0ms.js} +15 -15
  140. package/dist/chunks/{file-mutation-9qc30j8j.js → managed-policy-dr1fr17h.js} +22 -22
  141. package/dist/chunks/{file-mutation-pgga6m9y.js → managed-policy-dxfx83kj.js} +28 -28
  142. package/dist/chunks/{file-mutation-sqa3z3dz.js → managed-policy-e063jx1w.js} +11 -11
  143. package/dist/chunks/{file-mutation-m168f1q5.js → managed-policy-e22n6ctv.js} +17 -17
  144. package/dist/chunks/{file-mutation-jq88ke7r.js → managed-policy-e2x7gzav.js} +9 -9
  145. package/dist/chunks/{file-mutation-28ymys8g.js → managed-policy-e45v1dq9.js} +24 -24
  146. package/dist/chunks/{file-mutation-e834z07m.js → managed-policy-e834z07m.js} +1 -1
  147. package/dist/chunks/{file-mutation-18a9gpqs.js → managed-policy-eap9pty2.js} +15 -15
  148. package/dist/chunks/{file-mutation-n6vey4v0.js → managed-policy-ee5m4gs1.js} +18 -18
  149. package/dist/chunks/{file-mutation-412bryh6.js → managed-policy-eet2c32v.js} +20 -20
  150. package/dist/chunks/{file-mutation-rx9zn29t.js → managed-policy-er6b0kzz.js} +12 -12
  151. package/dist/chunks/{file-mutation-5et2web4.js → managed-policy-f8g33fbf.js} +32 -32
  152. package/dist/chunks/{file-mutation-ry63fkbp.js → managed-policy-fdn62rcc.js} +6 -6
  153. package/dist/chunks/{file-mutation-6wded51y.js → managed-policy-fe0b0wqf.js} +10 -10
  154. package/dist/chunks/{file-mutation-fffv3p7h.js → managed-policy-fffv3p7h.js} +1 -1
  155. package/dist/chunks/{file-mutation-5fzv3jtq.js → managed-policy-fgkarqjp.js} +24 -24
  156. package/dist/chunks/{file-mutation-a77zgm32.js → managed-policy-fhrpjj0r.js} +4 -4
  157. package/dist/chunks/{file-mutation-ydgk5ecx.js → managed-policy-frmwq4jb.js} +2 -2
  158. package/dist/chunks/{file-mutation-9bsvgzkn.js → managed-policy-g3pptkv5.js} +21 -21
  159. package/dist/chunks/{file-mutation-ah9fbd82.js → managed-policy-g5304s1h.js} +33 -33
  160. package/dist/chunks/{file-mutation-g5h9c0rr.js → managed-policy-g5h9c0rr.js} +2 -2
  161. package/dist/chunks/{file-mutation-td4wpn7p.js → managed-policy-g5yjf9jg.js} +4 -4
  162. package/dist/chunks/{file-mutation-2n8qcs80.js → managed-policy-g644dnqe.js} +26 -26
  163. package/dist/chunks/{file-mutation-agqd6nxz.js → managed-policy-g6dfma3d.js} +6 -6
  164. package/dist/chunks/{file-mutation-rv3msfz7.js → managed-policy-gf6hc92a.js} +19 -19
  165. package/dist/chunks/{file-mutation-7fkfpscz.js → managed-policy-gf8234ax.js} +5 -5
  166. package/dist/chunks/{file-mutation-c781gd4g.js → managed-policy-gpby3js0.js} +14 -14
  167. package/dist/chunks/{file-mutation-jqnr3q0b.js → managed-policy-hc8rr0f7.js} +11 -11
  168. package/dist/chunks/{file-mutation-r9vxfp52.js → managed-policy-he9da3ry.js} +24 -24
  169. package/dist/chunks/{file-mutation-zqx4v1dp.js → managed-policy-hhafapa0.js} +2 -2
  170. package/dist/chunks/{file-mutation-agt7cqbv.js → managed-policy-hzyqcp35.js} +8 -8
  171. package/dist/chunks/{file-mutation-j113cymg.js → managed-policy-j113cymg.js} +1 -1
  172. package/dist/chunks/{file-mutation-fntjqd6t.js → managed-policy-j5ekttm8.js} +48 -48
  173. package/dist/chunks/{file-mutation-m4n458ne.js → managed-policy-jg4gd8ks.js} +36 -36
  174. package/dist/chunks/{file-mutation-wfjf3dbs.js → managed-policy-jhnq0906.js} +4 -4
  175. package/dist/chunks/{file-mutation-jchrqzf6.js → managed-policy-jneg3k74.js} +4 -4
  176. package/dist/chunks/{file-mutation-c8b8mnkb.js → managed-policy-k1ss8rm4.js} +43 -43
  177. package/dist/chunks/{file-mutation-n3h7tt9m.js → managed-policy-k3gjgtk1.js} +18 -18
  178. package/dist/chunks/{file-mutation-k814nvkf.js → managed-policy-k814nvkf.js} +1 -1
  179. package/dist/chunks/{file-mutation-dycw1daa.js → managed-policy-k8zf2em2.js} +83 -83
  180. package/dist/chunks/{file-mutation-njm07axa.js → managed-policy-kgdbym9g.js} +83 -83
  181. package/dist/chunks/{file-mutation-wkv9y70z.js → managed-policy-kkrmzvm1.js} +11 -11
  182. package/dist/chunks/{file-mutation-wn5tx07g.js → managed-policy-knp52wmd.js} +42 -42
  183. package/dist/chunks/{file-mutation-kt3bjfbg.js → managed-policy-kt3bjfbg.js} +1 -1
  184. package/dist/chunks/{file-mutation-d3kt6ywa.js → managed-policy-kttwta8x.js} +24 -24
  185. package/dist/chunks/{file-mutation-jgx5v8fy.js → managed-policy-kygz8tjd.js} +20 -20
  186. package/dist/chunks/{file-mutation-azzgb3g2.js → managed-policy-kz8nn0w5.js} +7 -7
  187. package/dist/chunks/{file-mutation-ta48ntn4.js → managed-policy-m10jqfx1.js} +10 -10
  188. package/dist/chunks/{file-mutation-m1714858.js → managed-policy-m1714858.js} +1 -1
  189. package/dist/chunks/managed-policy-m1rhczw0.js +26 -0
  190. package/dist/chunks/{file-mutation-m37sd98t.js → managed-policy-m37sd98t.js} +1 -1
  191. package/dist/chunks/{file-mutation-c8j7dx8q.js → managed-policy-m5t3njjp.js} +11 -11
  192. package/dist/chunks/{file-mutation-v2map4bj.js → managed-policy-m607dzpx.js} +14 -14
  193. package/dist/chunks/{file-mutation-m9w0rfyh.js → managed-policy-m9w0rfyh.js} +1 -1
  194. package/dist/chunks/{file-mutation-maspj1v3.js → managed-policy-maspj1v3.js} +1 -1
  195. package/dist/chunks/{file-mutation-by4yhs9f.js → managed-policy-mbfac0q8.js} +7 -7
  196. package/dist/chunks/{file-mutation-rkfx65sc.js → managed-policy-mchxfxvw.js} +5 -5
  197. package/dist/chunks/{file-mutation-0ja23t1b.js → managed-policy-mf0qgk01.js} +18 -18
  198. package/dist/chunks/{file-mutation-0fpyks1q.js → managed-policy-mj47herm.js} +10 -10
  199. package/dist/chunks/{file-mutation-w1gspdc4.js → managed-policy-mpwa3hnt.js} +19 -19
  200. package/dist/chunks/{file-mutation-x9v18vd1.js → managed-policy-n03at03x.js} +11 -11
  201. package/dist/chunks/{file-mutation-n0p0277s.js → managed-policy-n0p0277s.js} +1 -1
  202. package/dist/chunks/{file-mutation-1xnx50jx.js → managed-policy-n6x2fb8a.js} +1 -1
  203. package/dist/chunks/{file-mutation-pkmtmf38.js → managed-policy-n7wnam13.js} +8 -8
  204. package/dist/chunks/{file-mutation-vpgtgc27.js → managed-policy-ncdbbenb.js} +4 -4
  205. package/dist/chunks/{file-mutation-ts53k1nz.js → managed-policy-nh4r2aae.js} +16 -16
  206. package/dist/chunks/{file-mutation-vxq3rjst.js → managed-policy-nt9bdxr0.js} +5 -5
  207. package/dist/chunks/{file-mutation-p015t6z3.js → managed-policy-p015t6z3.js} +2 -2
  208. package/dist/chunks/{file-mutation-spw53e2n.js → managed-policy-p3nedr2s.js} +11 -11
  209. package/dist/chunks/{file-mutation-wtfvr6dg.js → managed-policy-p3q23q4d.js} +25 -25
  210. package/dist/chunks/{file-mutation-jee9mcyq.js → managed-policy-p5w84a5e.js} +25 -25
  211. package/dist/chunks/{file-mutation-v9ez2kgh.js → managed-policy-p7vhpwh8.js} +5 -5
  212. package/dist/chunks/{file-mutation-dh62xe4r.js → managed-policy-pc1v25hk.js} +3 -3
  213. package/dist/chunks/{file-mutation-gzd9h9wc.js → managed-policy-pfmze3yn.js} +26 -26
  214. package/dist/chunks/{file-mutation-pknna89w.js → managed-policy-pknna89w.js} +1 -1
  215. package/dist/chunks/{file-mutation-2pmnyg9r.js → managed-policy-pkv6rmrq.js} +9 -9
  216. package/dist/chunks/{file-mutation-q4b90a1g.js → managed-policy-pq2p86g1.js} +8 -8
  217. package/dist/chunks/{file-mutation-fzpx1t84.js → managed-policy-pw9p4tf0.js} +11 -11
  218. package/dist/chunks/{file-mutation-b4mwhj0w.js → managed-policy-pzmysmsy.js} +9 -9
  219. package/dist/chunks/{file-mutation-jve1z22x.js → managed-policy-q21mtmnq.js} +2 -2
  220. package/dist/chunks/{file-mutation-qjgzc4b4.js → managed-policy-qjgzc4b4.js} +1 -1
  221. package/dist/chunks/{file-mutation-y29v8fx6.js → managed-policy-qjnb67tm.js} +6 -6
  222. package/dist/chunks/{file-mutation-tkawvzsd.js → managed-policy-qsqpg9tp.js} +7 -7
  223. package/dist/chunks/{file-mutation-d32ywmm3.js → managed-policy-qy0f7jh7.js} +9 -9
  224. package/dist/chunks/{file-mutation-r0yr0wbs.js → managed-policy-r0yr0wbs.js} +1 -1
  225. package/dist/chunks/{file-mutation-34y5t1s2.js → managed-policy-r1vtm56b.js} +12 -12
  226. package/dist/chunks/{file-mutation-ev1t90qk.js → managed-policy-r3jkh5w9.js} +19 -19
  227. package/dist/chunks/{file-mutation-tt1npxdc.js → managed-policy-r3x2rc5q.js} +13 -13
  228. package/dist/chunks/{file-mutation-r542h3bh.js → managed-policy-r542h3bh.js} +1 -1
  229. package/dist/chunks/{file-mutation-tw3w7kk6.js → managed-policy-r61tydse.js} +9 -9
  230. package/dist/chunks/{file-mutation-5w1mdqt7.js → managed-policy-r96ere88.js} +4 -4
  231. package/dist/chunks/{file-mutation-rb9dy4dg.js → managed-policy-rb9dy4dg.js} +1 -1
  232. package/dist/chunks/{file-mutation-jppfcdsv.js → managed-policy-rbha4e8j.js} +15 -15
  233. package/dist/chunks/{file-mutation-x9bfykwd.js → managed-policy-rc7nqfyw.js} +5 -5
  234. package/dist/chunks/{file-mutation-nc7nfcmn.js → managed-policy-rd395641.js} +5 -5
  235. package/dist/chunks/{file-mutation-je176taz.js → managed-policy-rmve5ma1.js} +2 -2
  236. package/dist/chunks/{file-mutation-rt5dr6hb.js → managed-policy-rt5dr6hb.js} +1 -1
  237. package/dist/chunks/{file-mutation-thhhq1vt.js → managed-policy-s3ezegtz.js} +16 -16
  238. package/dist/chunks/{file-mutation-zzdv5d93.js → managed-policy-s626qfae.js} +4 -4
  239. package/dist/chunks/{file-mutation-sa3fpqfw.js → managed-policy-sa3fpqfw.js} +2 -2
  240. package/dist/chunks/{file-mutation-e8zejd8s.js → managed-policy-scn35n2s.js} +47 -47
  241. package/dist/chunks/{file-mutation-5fjb7ams.js → managed-policy-sjmm3wxa.js} +14 -4
  242. package/dist/chunks/{file-mutation-st8aw945.js → managed-policy-smyv8e6m.js} +11 -11
  243. package/dist/chunks/{file-mutation-sqjzf8x2.js → managed-policy-sqjzf8x2.js} +1 -1
  244. package/dist/chunks/{file-mutation-c9t2ty9q.js → managed-policy-ssfehs1z.js} +4 -4
  245. package/dist/chunks/{file-mutation-tczq8hjw.js → managed-policy-tczq8hjw.js} +1 -1
  246. package/dist/chunks/{file-mutation-6krm39vr.js → managed-policy-tdqeyjar.js} +11 -11
  247. package/dist/chunks/{file-mutation-tg1vr1qt.js → managed-policy-tg1vr1qt.js} +1 -1
  248. package/dist/chunks/{file-mutation-twv2r8f4.js → managed-policy-twv2r8f4.js} +2 -2
  249. package/dist/chunks/{file-mutation-v2r1d0zg.js → managed-policy-v2r1d0zg.js} +1 -1
  250. package/dist/chunks/{file-mutation-3wyhrqfb.js → managed-policy-v8vd993n.js} +8 -8
  251. package/dist/chunks/{file-mutation-nkkjs32s.js → managed-policy-vb2g9h2k.js} +11 -11
  252. package/dist/chunks/{file-mutation-vd3b3yk9.js → managed-policy-vd3b3yk9.js} +1 -1
  253. package/dist/chunks/managed-policy-vdh3rgac.js +18 -0
  254. package/dist/chunks/{file-mutation-veqvce7d.js → managed-policy-veqvce7d.js} +1 -1
  255. package/dist/chunks/{file-mutation-dz8hhvgv.js → managed-policy-vgk61ywp.js} +9 -9
  256. package/dist/chunks/{file-mutation-b47kxsq8.js → managed-policy-w3fjdyms.js} +15 -15
  257. package/dist/chunks/{file-mutation-w3wsvvr9.js → managed-policy-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{file-mutation-dk5xnaxx.js → managed-policy-w7zjqt6n.js} +4 -4
  259. package/dist/chunks/{file-mutation-awz66qxh.js → managed-policy-w89ca4k9.js} +8 -8
  260. package/dist/chunks/{file-mutation-wakvkjy4.js → managed-policy-wakvkjy4.js} +1 -1
  261. package/dist/chunks/{file-mutation-s1tpjhgy.js → managed-policy-waq4kccd.js} +24 -24
  262. package/dist/chunks/{file-mutation-hq99wsn5.js → managed-policy-wbye8qn8.js} +13 -13
  263. package/dist/chunks/{file-mutation-kt2hvhfc.js → managed-policy-wcxnm9b3.js} +15 -15
  264. package/dist/chunks/{file-mutation-wd87259q.js → managed-policy-wd87259q.js} +1 -1
  265. package/dist/chunks/{file-mutation-0n9958p8.js → managed-policy-wkss3vh5.js} +32 -32
  266. package/dist/chunks/{file-mutation-fznmdakp.js → managed-policy-wr3re1en.js} +4 -4
  267. package/dist/chunks/{file-mutation-681w63qn.js → managed-policy-wt1sed5t.js} +2 -2
  268. package/dist/chunks/{file-mutation-184a1rnm.js → managed-policy-wwye013q.js} +4 -4
  269. package/dist/chunks/{file-mutation-5bk3jjmc.js → managed-policy-x7hdnsxb.js} +17 -17
  270. package/dist/chunks/{file-mutation-gkxweqzn.js → managed-policy-xf4m4z3t.js} +21 -21
  271. package/dist/chunks/{file-mutation-21f4f1g1.js → managed-policy-xjtwdmvz.js} +18 -18
  272. package/dist/chunks/{file-mutation-4xvmh7wp.js → managed-policy-xkfczkpn.js} +3 -3
  273. package/dist/chunks/{file-mutation-nva7xeab.js → managed-policy-xsbcx01h.js} +17 -17
  274. package/dist/chunks/{file-mutation-sv1g5dmz.js → managed-policy-xzjf81fw.js} +43 -43
  275. package/dist/chunks/{file-mutation-bs6kz8fr.js → managed-policy-y9a3321v.js} +43 -43
  276. package/dist/chunks/{file-mutation-7be1feys.js → managed-policy-y9x4pn1g.js} +6 -6
  277. package/dist/chunks/{file-mutation-jyfkkafv.js → managed-policy-yahmaqe8.js} +6 -6
  278. package/dist/chunks/{file-mutation-yb20nhc3.js → managed-policy-yb20nhc3.js} +1 -1
  279. package/dist/chunks/{file-mutation-z9etxwmp.js → managed-policy-yc4ja266.js} +17 -17
  280. package/dist/chunks/{file-mutation-ynx2y6bw.js → managed-policy-ycnqh90j.js} +16 -16
  281. package/dist/chunks/{file-mutation-e5mc6wd5.js → managed-policy-yd8f2aar.js} +15 -15
  282. package/dist/chunks/{file-mutation-rxrr3qdh.js → managed-policy-ymtqdgzg.js} +8 -8
  283. package/dist/chunks/{file-mutation-z0bkrqjs.js → managed-policy-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{file-mutation-z38nccrw.js → managed-policy-z38nccrw.js} +1 -1
  285. package/dist/chunks/{file-mutation-m6v7brdr.js → managed-policy-z5x59bbe.js} +20 -20
  286. package/dist/chunks/{file-mutation-sqz5s9dc.js → managed-policy-z7bc1hkz.js} +19 -19
  287. package/dist/chunks/{file-mutation-3c9yzw43.js → managed-policy-za2sj63g.js} +7 -7
  288. package/dist/chunks/{file-mutation-zkg84ctx.js → managed-policy-zkg84ctx.js} +1 -1
  289. package/dist/chunks/{file-mutation-5mn06ewq.js → managed-policy-zp0mbxe0.js} +23 -23
  290. package/dist/chunks/{file-mutation-vvrrv243.js → managed-policy-zttkbwvn.js} +37 -37
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +87 -87
  296. package/dist/config/discovery.js +89 -89
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +104 -104
  299. package/dist/config/plugin/agent.js +118 -118
  300. package/dist/config/plugin/command.js +214 -214
  301. package/dist/config/plugin/compaction.js +157 -157
  302. package/dist/config/plugin/compatibility.js +137 -137
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +119 -119
  305. package/dist/config/plugin/image.js +118 -118
  306. package/dist/config/plugin/instruction.js +118 -118
  307. package/dist/config/plugin/location-watcher.js +118 -118
  308. package/dist/config/plugin/mcp.js +125 -125
  309. package/dist/config/plugin/policy.js +119 -119
  310. package/dist/config/plugin/provider.js +118 -118
  311. package/dist/config/plugin/reference.js +120 -120
  312. package/dist/config/plugin/shell.js +116 -116
  313. package/dist/config/plugin/skill-file.js +107 -107
  314. package/dist/config/plugin/skill-scan.js +1 -1
  315. package/dist/config/plugin/skill.js +138 -138
  316. package/dist/config/plugin/snapshot.js +118 -118
  317. package/dist/config/plugin/source.js +121 -121
  318. package/dist/config/plugin/tool-output.js +119 -119
  319. package/dist/config/plugin/websearch.js +117 -117
  320. package/dist/config/plugin/worktree.js +120 -120
  321. package/dist/config/variable.js +1 -1
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +123 -123
  324. package/dist/console-access.js +1 -1
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +87 -87
  327. package/dist/database/database.js +70 -70
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  393. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  394. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  395. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  396. package/dist/database/migration.gen.js +53 -53
  397. package/dist/database/migration.js +55 -55
  398. package/dist/database/path.js +2 -2
  399. package/dist/database/schema.gen.js +1 -1
  400. package/dist/database/schema.sql.js +1 -1
  401. package/dist/database/sqlite.bun.js +1 -1
  402. package/dist/database/sqlite.js +1 -1
  403. package/dist/database/sqlite.node.js +1 -1
  404. package/dist/database/sqlite.workerd.js +1 -1
  405. package/dist/database/v1-migration.bun.js +97 -97
  406. package/dist/database/v1-migration.js +1 -1
  407. package/dist/effect/app-node-builder.js +374 -374
  408. package/dist/effect/app-node-platform.js +2 -2
  409. package/dist/effect/keyed-mutex.js +1 -1
  410. package/dist/effect/websocket-constructor.js +1 -1
  411. package/dist/environment/driver.js +1 -1
  412. package/dist/environment/environment.js +98 -98
  413. package/dist/environment/exec-defaults.js +2 -2
  414. package/dist/environment/files.js +1 -1
  415. package/dist/environment/index.js +98 -98
  416. package/dist/environment/local.js +2 -2
  417. package/dist/environment/memory.js +2 -2
  418. package/dist/environment/unavailable.js +3 -3
  419. package/dist/event/sql.js +1 -1
  420. package/dist/event-logger.js +74 -74
  421. package/dist/file-access.js +109 -109
  422. package/dist/file-mutation.js +99 -99
  423. package/dist/file-retention.js +1 -1
  424. package/dist/filesystem/fff.bun.js +2 -2
  425. package/dist/filesystem/fff.js +1 -1
  426. package/dist/filesystem/fff.node.js +2 -2
  427. package/dist/filesystem/fff.workerd.js +2 -2
  428. package/dist/filesystem/location-watcher-policy.js +6 -6
  429. package/dist/filesystem/location-watcher.js +227 -227
  430. package/dist/filesystem/protected.js +3 -3
  431. package/dist/filesystem/search.js +102 -102
  432. package/dist/filesystem/watcher-binding.js +1 -1
  433. package/dist/filesystem/watcher.js +11 -11
  434. package/dist/filesystem.js +107 -107
  435. package/dist/form.js +88 -88
  436. package/dist/formatter/builtins.js +4 -4
  437. package/dist/formatter.js +92 -92
  438. package/dist/generate.js +110 -110
  439. package/dist/git.js +11 -11
  440. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  441. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  442. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  444. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  445. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  446. package/dist/github-copilot/copilot-provider.js +17 -17
  447. package/dist/github-copilot/models.js +96 -96
  448. package/dist/github-copilot/openai-compatible-error.js +1 -1
  449. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  450. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  451. package/dist/github-copilot/responses/openai-error.js +1 -1
  452. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  453. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  454. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  455. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  456. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  457. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  458. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  459. package/dist/image/photon.js +2 -2
  460. package/dist/image.js +6 -6
  461. package/dist/instance/service.js +5 -5
  462. package/dist/instance.js +365 -365
  463. package/dist/instruction-discovery.js +88 -88
  464. package/dist/instructions/builtins.js +92 -92
  465. package/dist/instructions/index.js +3 -3
  466. package/dist/integration/connection.js +3 -3
  467. package/dist/integration.js +93 -93
  468. package/dist/job.js +82 -82
  469. package/dist/kv/sql.js +2 -2
  470. package/dist/kv.js +77 -77
  471. package/dist/location-activity.js +158 -158
  472. package/dist/location-lifecycle.js +112 -112
  473. package/dist/location-service-map.js +91 -91
  474. package/dist/location-services.js +362 -362
  475. package/dist/location.js +94 -94
  476. package/dist/managed-policy.js +8 -8
  477. package/dist/mcp/client.js +96 -96
  478. package/dist/mcp/index.js +112 -112
  479. package/dist/mcp/instructions.js +143 -143
  480. package/dist/mcp/oauth.js +82 -82
  481. package/dist/mcp/socket-client.js +1 -1
  482. package/dist/mcp/stdio.js +95 -95
  483. package/dist/mime.js +1 -1
  484. package/dist/modal/models.js +96 -96
  485. package/dist/model-resolver.js +104 -104
  486. package/dist/model-retry.js +1 -1
  487. package/dist/model.js +107 -107
  488. package/dist/models-dev.js +112 -112
  489. package/dist/oauth/page.js +1 -1
  490. package/dist/permission/saved.js +84 -84
  491. package/dist/permission/sql.js +5 -5
  492. package/dist/permission.js +112 -112
  493. package/dist/persistent-pty/binary.bun.js +1 -1
  494. package/dist/persistent-pty/daemon.js +1 -1
  495. package/dist/persistent-pty/index.js +92 -92
  496. package/dist/persistent-pty/pty-binding.js +1 -1
  497. package/dist/persistent-pty.js +79 -79
  498. package/dist/plugin/agent.js +78 -78
  499. package/dist/plugin/command.js +105 -105
  500. package/dist/plugin/hooks.js +5 -5
  501. package/dist/plugin/host.js +220 -220
  502. package/dist/plugin/identity.js +5 -5
  503. package/dist/plugin/instance.js +1 -1
  504. package/dist/plugin/internal.js +335 -335
  505. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  506. package/dist/plugin/models-dev.js +101 -101
  507. package/dist/plugin/module.js +119 -119
  508. package/dist/plugin/optimize.js +4 -4
  509. package/dist/plugin/plan.js +107 -107
  510. package/dist/plugin/promise.js +1 -1
  511. package/dist/plugin/provider/amazon-bedrock.js +95 -95
  512. package/dist/plugin/provider/azure.js +118 -118
  513. package/dist/plugin/provider/cerebras.js +1 -1
  514. package/dist/plugin/provider/chatgpt.js +118 -118
  515. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  516. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  517. package/dist/plugin/provider/cohere.js +2 -2
  518. package/dist/plugin/provider/configured.js +114 -114
  519. package/dist/plugin/provider/databricks.js +1 -1
  520. package/dist/plugin/provider/digitalocean.js +98 -98
  521. package/dist/plugin/provider/dynamic.js +2 -2
  522. package/dist/plugin/provider/factory.js +1 -1
  523. package/dist/plugin/provider/github-copilot.js +100 -100
  524. package/dist/plugin/provider/gitlab.js +98 -98
  525. package/dist/plugin/provider/google-vertex.js +115 -115
  526. package/dist/plugin/provider/kilo.js +1 -1
  527. package/dist/plugin/provider/llmgateway.js +82 -82
  528. package/dist/plugin/provider/lmstudio.js +127 -127
  529. package/dist/plugin/provider/local.js +124 -124
  530. package/dist/plugin/provider/modal.js +97 -97
  531. package/dist/plugin/provider/neon.js +1 -1
  532. package/dist/plugin/provider/nvidia.js +1 -1
  533. package/dist/plugin/provider/ollama.js +127 -127
  534. package/dist/plugin/provider/openai-context-caps.js +95 -95
  535. package/dist/plugin/provider/openai.js +120 -120
  536. package/dist/plugin/provider/opencode.js +104 -104
  537. package/dist/plugin/provider/openrouter.js +96 -96
  538. package/dist/plugin/provider/perplexity.js +2 -2
  539. package/dist/plugin/provider/poe.js +83 -83
  540. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  541. package/dist/plugin/provider/sap-ai-core.js +96 -96
  542. package/dist/plugin/provider/sdk-factory.js +1 -1
  543. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  544. package/dist/plugin/provider/vercel.js +95 -95
  545. package/dist/plugin/provider/vllm.js +127 -127
  546. package/dist/plugin/provider/xai.js +96 -96
  547. package/dist/plugin/provider/zenmux.js +1 -1
  548. package/dist/plugin/provider.js +171 -171
  549. package/dist/plugin/sdk.js +78 -78
  550. package/dist/plugin/service.js +3 -3
  551. package/dist/plugin/skill.js +136 -136
  552. package/dist/plugin/source-directory.js +1 -1
  553. package/dist/plugin/supervisor.js +350 -350
  554. package/dist/plugin/tool-input-repair.js +4 -4
  555. package/dist/plugin/update.js +6 -6
  556. package/dist/plugin/vcs/git.js +91 -91
  557. package/dist/plugin/vcs/hg.js +91 -91
  558. package/dist/plugin/verbosity.js +98 -98
  559. package/dist/plugin/warming.js +116 -116
  560. package/dist/plugin/websearch/exa.js +5 -5
  561. package/dist/plugin/websearch/firecrawl.js +8 -8
  562. package/dist/plugin/websearch/index.js +9 -9
  563. package/dist/plugin/websearch/mcp.js +4 -4
  564. package/dist/plugin/websearch/parallel.js +6 -6
  565. package/dist/plugin/websearch/tavily.js +6 -6
  566. package/dist/plugin/websearch/tinyfish.js +8 -8
  567. package/dist/plugin.js +227 -227
  568. package/dist/project/schema.js +8 -8
  569. package/dist/project/sql.js +4 -4
  570. package/dist/project.js +93 -93
  571. package/dist/provider.js +102 -102
  572. package/dist/pty/protocol.js +1 -1
  573. package/dist/pty/ticket.js +1 -1
  574. package/dist/pty.js +101 -101
  575. package/dist/reference/instructions.js +94 -94
  576. package/dist/reference.js +96 -96
  577. package/dist/repository-cache.js +86 -86
  578. package/dist/repository.js +3 -3
  579. package/dist/ripgrep/binary.js +2 -2
  580. package/dist/ripgrep.js +102 -102
  581. package/dist/rpc.js +91 -91
  582. package/dist/schema.js +1 -1
  583. package/dist/session/affinity.js +1 -1
  584. package/dist/session/command.js +78 -78
  585. package/dist/session/compaction.js +141 -141
  586. package/dist/session/context.js +167 -167
  587. package/dist/session/diff.js +93 -93
  588. package/dist/session/environment.js +5 -5
  589. package/dist/session/error.js +5 -5
  590. package/dist/session/event.js +1 -1
  591. package/dist/session/execution/restart.js +223 -223
  592. package/dist/session/execution.js +133 -133
  593. package/dist/session/generate.js +167 -167
  594. package/dist/session/history.js +13 -13
  595. package/dist/session/inbox.js +97 -97
  596. package/dist/session/info.js +3 -3
  597. package/dist/session/instruction-entry.js +83 -83
  598. package/dist/session/instruction-state.js +8 -8
  599. package/dist/session/instructions.js +102 -102
  600. package/dist/session/message-updater.js +2 -2
  601. package/dist/session/message.js +1 -1
  602. package/dist/session/model-request.js +125 -125
  603. package/dist/session/model-transport.js +9 -9
  604. package/dist/session/move.js +135 -135
  605. package/dist/session/projector.js +93 -93
  606. package/dist/session/prompt.js +110 -110
  607. package/dist/session/recent-text.js +1 -1
  608. package/dist/session/revert.js +99 -99
  609. package/dist/session/run-coordinator.js +3 -3
  610. package/dist/session/runner/index.js +3 -3
  611. package/dist/session/runner/llm.js +233 -233
  612. package/dist/session/runner/max-steps.js +1 -1
  613. package/dist/session/runner/model.js +105 -105
  614. package/dist/session/runner/publish-llm-event.js +118 -118
  615. package/dist/session/runner/retry.js +5 -5
  616. package/dist/session/runner/step.js +131 -131
  617. package/dist/session/runner/to-llm-message.js +14 -14
  618. package/dist/session/schema.js +3 -3
  619. package/dist/session/session.js +165 -165
  620. package/dist/session/shell.js +132 -132
  621. package/dist/session/skill.js +108 -108
  622. package/dist/session/sql.js +5 -5
  623. package/dist/session/stats.js +77 -77
  624. package/dist/session/store.js +89 -89
  625. package/dist/session/subagent-completion.js +1 -1
  626. package/dist/session/subagent-job.js +214 -214
  627. package/dist/session/system-prompt.js +1 -1
  628. package/dist/session/title.js +171 -171
  629. package/dist/session/to-session-error.js +117 -117
  630. package/dist/session/transfer.js +219 -219
  631. package/dist/session/usage.js +1 -1
  632. package/dist/session.js +216 -216
  633. package/dist/shell/parse.js +6 -6
  634. package/dist/shell/result.js +1 -1
  635. package/dist/shell/scan.js +1 -1
  636. package/dist/shell/select.js +13 -13
  637. package/dist/shell.js +134 -134
  638. package/dist/skill/discovery.js +6 -6
  639. package/dist/skill/instructions.js +110 -110
  640. package/dist/skill.js +117 -117
  641. package/dist/snapshot.js +98 -98
  642. package/dist/state.js +1 -1
  643. package/dist/tool/html-markdown.js +1 -1
  644. package/dist/tool/http-body.js +1 -1
  645. package/dist/tool/mcp.js +140 -140
  646. package/dist/tool/plugin/edit.js +119 -119
  647. package/dist/tool/plugin/file-diff.js +1 -1
  648. package/dist/tool/plugin/glob.js +127 -127
  649. package/dist/tool/plugin/grep.js +127 -127
  650. package/dist/tool/plugin/mcp-resource.js +129 -129
  651. package/dist/tool/plugin/opencode.js +114 -114
  652. package/dist/tool/plugin/patch.js +127 -127
  653. package/dist/tool/plugin/question.js +108 -108
  654. package/dist/tool/plugin/read.js +128 -128
  655. package/dist/tool/plugin/shell.js +217 -217
  656. package/dist/tool/plugin/skill.js +118 -118
  657. package/dist/tool/plugin/subagent.js +221 -221
  658. package/dist/tool/plugin/todo.js +140 -140
  659. package/dist/tool/plugin/webfetch.js +118 -118
  660. package/dist/tool/plugin/websearch.js +113 -113
  661. package/dist/tool/plugin/write.js +127 -127
  662. package/dist/tool/read-filesystem.js +105 -105
  663. package/dist/tool/runtime.js +1 -1
  664. package/dist/tool-output.js +7 -7
  665. package/dist/tool.js +12 -12
  666. package/dist/usage-limits.js +93 -93
  667. package/dist/util/error-summary.js +1 -1
  668. package/dist/util/git-executable.js +3 -3
  669. package/dist/util/lazy.js +1 -1
  670. package/dist/util/slug.js +1 -1
  671. package/dist/util/token.js +1 -1
  672. package/dist/util/which.js +1 -1
  673. package/dist/util/wildcard.js +1 -1
  674. package/dist/v1/config/agent.js +5 -5
  675. package/dist/v1/config/command.js +3 -3
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +97 -97
  678. package/dist/v1/config/permission.js +1 -1
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/variant.js +98 -98
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +94 -94
  685. package/dist/voice.js +92 -92
  686. package/dist/websearch.js +88 -88
  687. package/dist/wellknown/plugin.js +78 -78
  688. package/dist/wellknown.js +85 -85
  689. package/dist/workspace/driver.js +5 -5
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +86 -86
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +9 -9
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +94 -94
  696. package/dist/worktree.js +101 -101
  697. package/package.json +8 -8
  698. package/dist/chunks/file-mutation-f9b0xc0f.js +0 -26
  699. package/dist/chunks/file-mutation-pp26ka9h.js +0 -261
  700. package/dist/chunks/file-mutation-qrbmkj4e.js +0 -517
  701. package/dist/chunks/file-mutation-z7bdqmx5.js +0 -18
  702. /package/dist/chunks/{file-mutation-0qkdqm5v.js → managed-policy-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{file-mutation-0zkw76rk.js → managed-policy-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{file-mutation-17cy0kzp.js → managed-policy-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{file-mutation-1cnp2v09.js → managed-policy-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{file-mutation-24dcb14g.js → managed-policy-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{file-mutation-2710q6r3.js → managed-policy-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{file-mutation-2bv980vf.js → managed-policy-2bv980vf.js} +0 -0
  709. /package/dist/chunks/{file-mutation-2c3vjs8z.js → managed-policy-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{file-mutation-359p4xyc.js → managed-policy-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{file-mutation-3asan66x.js → managed-policy-3asan66x.js} +0 -0
  712. /package/dist/chunks/{file-mutation-3v8g72cx.js → managed-policy-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{file-mutation-3wcehsnq.js → managed-policy-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{file-mutation-43n2bw4t.js → managed-policy-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{file-mutation-4knz6hnm.js → managed-policy-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{file-mutation-4vcrnpx2.js → managed-policy-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{file-mutation-4y7fprxs.js → managed-policy-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{file-mutation-53557ph1.js → managed-policy-53557ph1.js} +0 -0
  719. /package/dist/chunks/{file-mutation-550bvhaj.js → managed-policy-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{file-mutation-5qd3pb7m.js → managed-policy-5qd3pb7m.js} +0 -0
  721. /package/dist/chunks/{file-mutation-6prwharc.js → managed-policy-6prwharc.js} +0 -0
  722. /package/dist/chunks/{file-mutation-6q2bdcd1.js → managed-policy-6q2bdcd1.js} +0 -0
  723. /package/dist/chunks/{file-mutation-7akdwqpd.js → managed-policy-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{file-mutation-7m9af43g.js → managed-policy-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{file-mutation-822emrt2.js → managed-policy-822emrt2.js} +0 -0
  726. /package/dist/chunks/{file-mutation-84wd9syh.js → managed-policy-84wd9syh.js} +0 -0
  727. /package/dist/chunks/{file-mutation-88xbtdfr.js → managed-policy-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{file-mutation-8n3pysct.js → managed-policy-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{file-mutation-8wj87zfr.js → managed-policy-8wj87zfr.js} +0 -0
  730. /package/dist/chunks/{file-mutation-9a4afbnw.js → managed-policy-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{file-mutation-9rqn6x4v.js → managed-policy-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{file-mutation-a058387c.js → managed-policy-a058387c.js} +0 -0
  733. /package/dist/chunks/{file-mutation-a6k6eb26.js → managed-policy-a6k6eb26.js} +0 -0
  734. /package/dist/chunks/{file-mutation-af5trqkr.js → managed-policy-af5trqkr.js} +0 -0
  735. /package/dist/chunks/{file-mutation-afrmfg78.js → managed-policy-afrmfg78.js} +0 -0
  736. /package/dist/chunks/{file-mutation-aqzs7mqg.js → managed-policy-aqzs7mqg.js} +0 -0
  737. /package/dist/chunks/{file-mutation-atq7p7m5.js → managed-policy-atq7p7m5.js} +0 -0
  738. /package/dist/chunks/{file-mutation-bkyjaxrp.js → managed-policy-bkyjaxrp.js} +0 -0
  739. /package/dist/chunks/{file-mutation-bmr6ed5q.js → managed-policy-bmr6ed5q.js} +0 -0
  740. /package/dist/chunks/{file-mutation-cf4snx6d.js → managed-policy-cf4snx6d.js} +0 -0
  741. /package/dist/chunks/{file-mutation-cqv5kn06.js → managed-policy-cqv5kn06.js} +0 -0
  742. /package/dist/chunks/{file-mutation-cvy3z8tj.js → managed-policy-cvy3z8tj.js} +0 -0
  743. /package/dist/chunks/{file-mutation-d9fn303g.js → managed-policy-d9fn303g.js} +0 -0
  744. /package/dist/chunks/{file-mutation-d9jj8t3e.js → managed-policy-d9jj8t3e.js} +0 -0
  745. /package/dist/chunks/{file-mutation-dajrwvna.js → managed-policy-dajrwvna.js} +0 -0
  746. /package/dist/chunks/{file-mutation-dap0rakb.js → managed-policy-dap0rakb.js} +0 -0
  747. /package/dist/chunks/{file-mutation-df08tz66.js → managed-policy-df08tz66.js} +0 -0
  748. /package/dist/chunks/{file-mutation-dy18nga0.js → managed-policy-dy18nga0.js} +0 -0
  749. /package/dist/chunks/{file-mutation-e5kj55wp.js → managed-policy-e5kj55wp.js} +0 -0
  750. /package/dist/chunks/{file-mutation-e73j6tqm.js → managed-policy-e73j6tqm.js} +0 -0
  751. /package/dist/chunks/{file-mutation-ec1grn59.js → managed-policy-ec1grn59.js} +0 -0
  752. /package/dist/chunks/{file-mutation-eh3zwz77.js → managed-policy-eh3zwz77.js} +0 -0
  753. /package/dist/chunks/{file-mutation-emrn6kk6.js → managed-policy-emrn6kk6.js} +0 -0
  754. /package/dist/chunks/{file-mutation-f0mxakyp.js → managed-policy-f0mxakyp.js} +0 -0
  755. /package/dist/chunks/{file-mutation-f6n9ztr4.js → managed-policy-f6n9ztr4.js} +0 -0
  756. /package/dist/chunks/{file-mutation-faypxj3z.js → managed-policy-faypxj3z.js} +0 -0
  757. /package/dist/chunks/{file-mutation-fd410y7t.js → managed-policy-fd410y7t.js} +0 -0
  758. /package/dist/chunks/{file-mutation-g4wezp1m.js → managed-policy-g4wezp1m.js} +0 -0
  759. /package/dist/chunks/{file-mutation-g86h250q.js → managed-policy-g86h250q.js} +0 -0
  760. /package/dist/chunks/{file-mutation-gebd4c9n.js → managed-policy-gebd4c9n.js} +0 -0
  761. /package/dist/chunks/{file-mutation-gftt206x.js → managed-policy-gftt206x.js} +0 -0
  762. /package/dist/chunks/{file-mutation-hcxmzztb.js → managed-policy-hcxmzztb.js} +0 -0
  763. /package/dist/chunks/{file-mutation-hk9envan.js → managed-policy-hk9envan.js} +0 -0
  764. /package/dist/chunks/{file-mutation-j2ntwpah.js → managed-policy-j2ntwpah.js} +0 -0
  765. /package/dist/chunks/{file-mutation-j5zkgpj8.js → managed-policy-j5zkgpj8.js} +0 -0
  766. /package/dist/chunks/{file-mutation-jjkms2e6.js → managed-policy-jjkms2e6.js} +0 -0
  767. /package/dist/chunks/{file-mutation-jr7sbwjy.js → managed-policy-jr7sbwjy.js} +0 -0
  768. /package/dist/chunks/{file-mutation-jwfs4k6c.js → managed-policy-jwfs4k6c.js} +0 -0
  769. /package/dist/chunks/{file-mutation-jwr30sdr.js → managed-policy-jwr30sdr.js} +0 -0
  770. /package/dist/chunks/{file-mutation-jze0r7bz.js → managed-policy-jze0r7bz.js} +0 -0
  771. /package/dist/chunks/{file-mutation-jzg6c2d5.js → managed-policy-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{file-mutation-m18g726c.js → managed-policy-m18g726c.js} +0 -0
  773. /package/dist/chunks/{file-mutation-mp448xyj.js → managed-policy-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{file-mutation-msx8hqn2.js → managed-policy-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{file-mutation-n05xt0ee.js → managed-policy-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{file-mutation-n3j8tn72.js → managed-policy-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{file-mutation-njntx4h6.js → managed-policy-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{file-mutation-pkyv6v7h.js → managed-policy-pkyv6v7h.js} +0 -0
  779. /package/dist/chunks/{file-mutation-q3sfg36h.js → managed-policy-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{file-mutation-q74kybfr.js → managed-policy-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{file-mutation-qaymkmh1.js → managed-policy-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{file-mutation-qb87gjwd.js → managed-policy-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{file-mutation-qfa1cgps.js → managed-policy-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{file-mutation-qg3g05ea.js → managed-policy-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{file-mutation-qrg20bc0.js → managed-policy-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{file-mutation-rcb2kzg1.js → managed-policy-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{file-mutation-sdp7kfr6.js → managed-policy-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{file-mutation-ssg3fenm.js → managed-policy-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{file-mutation-ve7vex1e.js → managed-policy-ve7vex1e.js} +0 -0
  790. /package/dist/chunks/{file-mutation-w803qqfp.js → managed-policy-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{file-mutation-wc3fc9cn.js → managed-policy-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{file-mutation-wer8tq1h.js → managed-policy-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{file-mutation-wjj7prxr.js → managed-policy-wjj7prxr.js} +0 -0
  794. /package/dist/chunks/{file-mutation-wtztk69x.js → managed-policy-wtztk69x.js} +0 -0
  795. /package/dist/chunks/{file-mutation-x0ckcb58.js → managed-policy-x0ckcb58.js} +0 -0
  796. /package/dist/chunks/{file-mutation-x61499pn.js → managed-policy-x61499pn.js} +0 -0
  797. /package/dist/chunks/{file-mutation-y44na4kk.js → managed-policy-y44na4kk.js} +0 -0
  798. /package/dist/chunks/{file-mutation-y8f7s663.js → managed-policy-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{file-mutation-ygaqb7jw.js → managed-policy-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{file-mutation-ym463w8f.js → managed-policy-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{file-mutation-z5v4ffb3.js → managed-policy-z5v4ffb3.js} +0 -0
  802. /package/dist/chunks/{file-mutation-z9919s4g.js → managed-policy-z9919s4g.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service87,
3
3
  node91
4
- } from "./file-mutation-0pj9ddaq.js";
4
+ } from "./managed-policy-8aw03fbr.js";
5
5
  import {
6
6
  Service86,
7
7
  node90
8
- } from "./file-mutation-ppvrw4s2.js";
8
+ } from "./managed-policy-5zwc8z7d.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./file-mutation-pknna89w.js";
11
+ } from "./managed-policy-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./file-mutation-m1714858.js";
14
+ } from "./managed-policy-m1714858.js";
15
15
  import {
16
16
  __export
17
- } from "./file-mutation-9rqn6x4v.js";
17
+ } from "./managed-policy-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event19,
23
+ Event: () => Event16,
24
24
  External: () => External2,
25
- ID: () => ID17,
26
- Info: () => Info29,
25
+ ID: () => ID14,
26
+ Info: () => Info23,
27
27
  Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service84,
29
+ Service: () => Service77,
30
30
  Value: () => Value2,
31
- node: () => node88
31
+ node: () => node81
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Layer, Schema } from "effect";
@@ -36,31 +36,31 @@ import { Credential } from "@opencode/schema/credential";
36
36
  import { CredentialLegacy } from "@opencode/schema/credential-legacy";
37
37
  import { Integration } from "@opencode/schema/integration";
38
38
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
39
- var ID17 = Credential.ID;
39
+ var ID14 = Credential.ID;
40
40
  var OAuth3 = Credential.OAuth;
41
41
  var Key4 = Credential.Key;
42
42
  var External2 = Credential.External;
43
43
  var Value2 = Credential.Value;
44
- var Event19 = Credential.Event;
44
+ var Event16 = Credential.Event;
45
45
 
46
- class Info29 extends Schema.Class("Credential.Info")({
47
- id: ID17,
46
+ class Info23 extends Schema.Class("Credential.Info")({
47
+ id: ID14,
48
48
  integrationID: Integration.ID,
49
49
  label: Schema.String,
50
50
  value: Value2
51
51
  }) {
52
52
  }
53
53
 
54
- class Service84 extends Context.Service()("@opencode/Credential") {
54
+ class Service77 extends Context.Service()("@opencode/Credential") {
55
55
  }
56
- var layer = Layer.effect(Service84, Effect.gen(function* () {
56
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
57
57
  const db = (yield* Service87).db;
58
58
  const bus = yield* Service86;
59
59
  const decode = Schema.decodeUnknownSync(CredentialLegacy.Value);
60
60
  const stored = (row) => {
61
61
  if (!row.integration_id)
62
62
  return;
63
- return new Info29({
63
+ return new Info23({
64
64
  id: row.id,
65
65
  integrationID: row.integration_id,
66
66
  label: row.label,
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
71
71
  const credential = stored(row);
72
72
  return credential ? [credential] : [];
73
73
  });
74
- return Service84.of({
74
+ return Service77.of({
75
75
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
76
76
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
77
77
  get: Effect.fn("Credential.get")(function* (id) {
@@ -79,8 +79,8 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
79
79
  return row ? stored(row) : undefined;
80
80
  }),
81
81
  create: Effect.fn("Credential.create")(function* (input) {
82
- const credential = new Info29({
83
- id: input.id ?? ID17.create(),
82
+ const credential = new Info23({
83
+ id: input.id ?? ID14.create(),
84
84
  integrationID: input.integrationID,
85
85
  label: input.label ?? "default",
86
86
  value: input.value
@@ -111,9 +111,9 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
111
111
  type: credential.value.type,
112
112
  active: activated
113
113
  });
114
- yield* bus.publish(Event19.Updated, {}, { global: true });
114
+ yield* bus.publish(Event16.Updated, {}, { global: true });
115
115
  if (activated)
116
- yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
116
+ yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
117
117
  return credential;
118
118
  }),
119
119
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -133,7 +133,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
133
133
  })), Effect.orDie);
134
134
  if (integrationID) {
135
135
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
136
- yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
136
+ yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
137
137
  }
138
138
  }),
139
139
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
165
165
  labelChanged: updates.label !== undefined && updates.label !== credential.label
166
166
  });
167
167
  if (updates.label !== undefined && updates.label !== credential.label)
168
- yield* bus.publish(Event19.Updated, {}, { global: true });
168
+ yield* bus.publish(Event16.Updated, {}, { global: true });
169
169
  }),
170
170
  remove: Effect.fn("Credential.remove")(function* (id) {
171
171
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -198,12 +198,12 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
198
198
  active: removed.switched,
199
199
  ...removed.switched ? { replacementID: removed.credentialID } : {}
200
200
  });
201
- yield* bus.publish(Event19.Updated, {}, { global: true });
201
+ yield* bus.publish(Event16.Updated, {}, { global: true });
202
202
  if (removed.switched)
203
- yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
203
+ yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
204
204
  })
205
205
  });
206
206
  }));
207
- var node88 = makeGlobalNode({ service: Service84, layer, deps: [node91, node90] });
207
+ var node81 = makeGlobalNode({ service: Service77, layer, deps: [node91, node90] });
208
208
 
209
- export { ID17, OAuth3, Key4, External2, Value2, Event19, Info29, Service84, node88, exports_credential };
209
+ export { ID14, OAuth3, Key4, External2, Value2, Event16, Info23, Service77, node81, exports_credential };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make19,
4
+ make21,
5
5
  diffByKey2
6
- } from "./file-mutation-jchrqzf6.js";
6
+ } from "./managed-policy-jneg3k74.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./file-mutation-wn5tx07g.js";
9
+ } from "./managed-policy-knp52wmd.js";
10
10
  import {
11
- Service29,
12
- node33
13
- } from "./file-mutation-hj4sgq0k.js";
11
+ Service34,
12
+ node37
13
+ } from "./managed-policy-arckp0tt.js";
14
14
  import {
15
15
  namespace2,
16
16
  name14
17
- } from "./file-mutation-9z8a2djx.js";
17
+ } from "./managed-policy-7pghdm2f.js";
18
18
  import {
19
19
  __export
20
- } from "./file-mutation-9rqn6x4v.js";
20
+ } from "./managed-policy-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
- var exports_instructions2 = {};
24
- __export(exports_instructions2, {
25
- McpInstructions: () => exports_instructions2,
26
- Service: () => Service25,
27
- layer: () => layer10,
28
- node: () => node29
23
+ var exports_instructions5 = {};
24
+ __export(exports_instructions5, {
25
+ McpInstructions: () => exports_instructions5,
26
+ Service: () => Service31,
27
+ layer: () => layer13,
28
+ node: () => node34
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -65,13 +65,13 @@ var update = (previous, current) => {
65
65
  `);
66
66
  };
67
67
 
68
- class Service25 extends Context.Service()("@opencode/McpInstructions") {
68
+ class Service31 extends Context.Service()("@opencode/McpInstructions") {
69
69
  }
70
- var layer10 = Layer.effect(Service25, Effect.gen(function* () {
71
- const mcp = yield* Service29;
72
- return Service25.of({
70
+ var layer13 = Layer.effect(Service31, Effect.gen(function* () {
71
+ const mcp = yield* Service34;
72
+ return Service31.of({
73
73
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
74
- const source = (value) => make19({
74
+ const source = (value) => make21({
75
75
  key: Key3.make("core/mcp-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(value),
@@ -100,6 +100,6 @@ var layer10 = Layer.effect(Service25, Effect.gen(function* () {
100
100
  })
101
101
  });
102
102
  }));
103
- var node29 = makeLocationNode({ service: Service25, layer: layer10, deps: [node33] });
103
+ var node34 = makeLocationNode({ service: Service31, layer: layer13, deps: [node37] });
104
104
 
105
- export { Service25, layer10, node29, exports_instructions2 };
105
+ export { Service31, layer13, node34, exports_instructions5 };
@@ -1,83 +1,83 @@
1
1
  import {
2
2
  Service87,
3
3
  node91
4
- } from "./file-mutation-0pj9ddaq.js";
4
+ } from "./managed-policy-8aw03fbr.js";
5
5
  import {
6
6
  Service86,
7
7
  node90
8
- } from "./file-mutation-ppvrw4s2.js";
8
+ } from "./managed-policy-5zwc8z7d.js";
9
9
  import {
10
10
  create3
11
- } from "./file-mutation-vd3b3yk9.js";
11
+ } from "./managed-policy-vd3b3yk9.js";
12
12
  import {
13
- ID7,
14
- Service62,
15
- node64
16
- } from "./file-mutation-zcz1zead.js";
13
+ ID10,
14
+ Service73,
15
+ node77
16
+ } from "./managed-policy-86gmn33h.js";
17
17
  import {
18
18
  llmClient2
19
- } from "./file-mutation-p015t6z3.js";
19
+ } from "./managed-policy-p015t6z3.js";
20
20
  import {
21
- Service73,
22
- node76
23
- } from "./file-mutation-0j822yer.js";
21
+ Service67,
22
+ node71
23
+ } from "./managed-policy-5be5tbrh.js";
24
24
  import {
25
25
  estimate2
26
- } from "./file-mutation-8wtp7s3z.js";
26
+ } from "./managed-policy-8wtp7s3z.js";
27
27
  import {
28
28
  SessionEvent2
29
- } from "./file-mutation-ec1grn59.js";
29
+ } from "./managed-policy-ec1grn59.js";
30
30
  import {
31
31
  kept2,
32
32
  messageToText2,
33
33
  serializeToolContent2
34
- } from "./file-mutation-v2r1d0zg.js";
34
+ } from "./managed-policy-v2r1d0zg.js";
35
35
  import {
36
36
  isNativeCompaction2,
37
37
  load5
38
- } from "./file-mutation-by4yhs9f.js";
38
+ } from "./managed-policy-mbfac0q8.js";
39
39
  import {
40
40
  toLLMMessages2
41
- } from "./file-mutation-jajr2nk9.js";
41
+ } from "./managed-policy-4pavydbz.js";
42
42
  import {
43
43
  outputLimit2,
44
44
  baseTranscript2,
45
45
  unsupportedParts2,
46
46
  boundImages2,
47
- Service30,
48
- node34
49
- } from "./file-mutation-f378m401.js";
47
+ Service35,
48
+ node38
49
+ } from "./managed-policy-ckq7ezzg.js";
50
50
  import {
51
- Service39,
52
- node41
53
- } from "./file-mutation-n93ct7p0.js";
51
+ Service60,
52
+ node64
53
+ } from "./managed-policy-55w14brw.js";
54
54
  import {
55
55
  isRetryable2,
56
56
  policy2
57
- } from "./file-mutation-1z6jjy5p.js";
57
+ } from "./managed-policy-c8666r4c.js";
58
58
  import {
59
59
  toSessionError2,
60
60
  contentFilterError2
61
- } from "./file-mutation-rkfx65sc.js";
61
+ } from "./managed-policy-mchxfxvw.js";
62
62
  import {
63
63
  calculateCost2,
64
64
  record2,
65
65
  add2
66
- } from "./file-mutation-r542h3bh.js";
66
+ } from "./managed-policy-r542h3bh.js";
67
67
  import {
68
68
  __export
69
- } from "./file-mutation-9rqn6x4v.js";
69
+ } from "./managed-policy-9rqn6x4v.js";
70
70
 
71
71
  // src/session/compaction.ts
72
72
  var exports_compaction2 = {};
73
73
  __export(exports_compaction2, {
74
- Service: () => Service12,
74
+ Service: () => Service10,
75
75
  SessionCompaction: () => exports_compaction2,
76
76
  buildPrompt: () => buildPrompt2,
77
77
  estimateContext: () => estimateContext2,
78
78
  estimatePrompt: () => estimatePrompt2,
79
- layer: () => layer8,
80
- node: () => node14,
79
+ layer: () => layer6,
80
+ node: () => node12,
81
81
  recentUserMessages: () => recentUserMessages2
82
82
  });
83
83
  import {
@@ -93,7 +93,7 @@ import {
93
93
  } from "@opencode/ai";
94
94
  import { makeLocationNode } from "@opencode/util/effect/app-node";
95
95
  import { Context, Effect, Exit, Fiber, Layer, Result, Scope, Stream } from "effect";
96
- class Service12 extends Context.Service()("@opencode/SessionCompaction") {
96
+ class Service10 extends Context.Service()("@opencode/SessionCompaction") {
97
97
  }
98
98
  var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
99
99
  var SHRINK_STEPS = [0.85, 0.7, 0.5, 0.35];
@@ -184,14 +184,14 @@ var buildPrompt2 = (update, legacy = false) => {
184
184
  };
185
185
  var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
186
186
  var LEGACY_HEADING = "## Additional Context";
187
- var layer8 = Layer.effect(Service12, Effect.gen(function* () {
188
- const agents = yield* Service62;
187
+ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
188
+ const agents = yield* Service73;
189
189
  const bus = yield* Service86;
190
190
  const llm = yield* LLMClient.Service;
191
- const catalog = yield* Service73;
192
- const models = yield* Service39;
191
+ const catalog = yield* Service67;
192
+ const models = yield* Service60;
193
193
  const db = (yield* Service87).db;
194
- const requests = yield* Service30;
194
+ const requests = yield* Service35;
195
195
  const scope = yield* Scope.Scope;
196
196
  const precomputed = new Map;
197
197
  const state = create3({
@@ -204,7 +204,7 @@ var layer8 = Layer.effect(Service12, Effect.gen(function* () {
204
204
  })
205
205
  });
206
206
  const selectModel = Effect.fnUntraced(function* (context, buffer, native) {
207
- const agent = native ? undefined : yield* agents.get(ID7.make("compaction"));
207
+ const agent = native ? undefined : yield* agents.get(ID10.make("compaction"));
208
208
  const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
209
209
  return;
210
210
  })))) ?? context.model;
@@ -574,17 +574,17 @@ var layer8 = Layer.effect(Service12, Effect.gen(function* () {
574
574
  }, { metadata: outcome.metadata });
575
575
  return { status: "completed" };
576
576
  });
577
- return Service12.of({
577
+ return Service10.of({
578
578
  transform: state.transform,
579
579
  reload: state.reload,
580
580
  compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id)))),
581
581
  precompute
582
582
  });
583
583
  }));
584
- var node14 = makeLocationNode({
585
- service: Service12,
586
- layer: layer8,
587
- deps: [node64, node90, node91, llmClient2, node76, node34, node41]
584
+ var node12 = makeLocationNode({
585
+ service: Service10,
586
+ layer: layer6,
587
+ deps: [node77, node90, node91, llmClient2, node71, node38, node64]
588
588
  });
589
589
  var heldIndex = (held, context) => {
590
590
  if (held.firstID !== context.messages[0]?.id || held.initial !== context.initial)
@@ -771,4 +771,4 @@ var estimateMedia = (mime) => {
771
771
  return 0;
772
772
  };
773
773
 
774
- export { Service12, buildPrompt2, layer8, node14, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
774
+ export { Service10, buildPrompt2, layer6, node12, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./file-mutation-ppvrw4s2.js";
4
+ } from "./managed-policy-5zwc8z7d.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./file-mutation-vd3b3yk9.js";
8
+ } from "./managed-policy-vd3b3yk9.js";
9
9
  import {
10
10
  key2
11
- } from "./file-mutation-zzdv5d93.js";
11
+ } from "./managed-policy-s626qfae.js";
12
12
  import {
13
- ID16,
14
- Service83,
15
- node87,
16
- Event18
17
- } from "./file-mutation-rpyyyxcq.js";
13
+ ID13,
14
+ Service76,
15
+ node80,
16
+ Event15
17
+ } from "./managed-policy-bewwd09f.js";
18
18
  import {
19
- Service78,
20
- node81
21
- } from "./file-mutation-m168f1q5.js";
19
+ Service82,
20
+ node86
21
+ } from "./managed-policy-e22n6ctv.js";
22
22
  import {
23
23
  __export
24
- } from "./file-mutation-9rqn6x4v.js";
24
+ } from "./managed-policy-9rqn6x4v.js";
25
25
 
26
26
  // src/provider.ts
27
27
  var exports_provider3 = {};
@@ -30,13 +30,13 @@ __export(exports_provider3, {
30
30
  Compaction: () => Compaction3,
31
31
  DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
32
32
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
33
- Event: () => Event16,
33
+ Event: () => Event14,
34
34
  ID: () => ID12,
35
- Info: () => Info22,
35
+ Info: () => Info20,
36
36
  LoadError: () => LoadError3,
37
37
  Provider: () => exports_provider3,
38
38
  Request: () => Request3,
39
- Service: () => Service74,
39
+ Service: () => Service75,
40
40
  Settings: () => Settings2,
41
41
  Transport: () => Transport2,
42
42
  aisdk: () => aisdk2,
@@ -48,7 +48,7 @@ __export(exports_provider3, {
48
48
  mergeOverlay: () => mergeOverlay2,
49
49
  modelSettings: () => modelSettings2,
50
50
  nativeSettings: () => nativeSettings2,
51
- node: () => node77,
51
+ node: () => node79,
52
52
  packageName: () => packageName2,
53
53
  timeout: () => timeout2,
54
54
  timeouts: () => timeouts2
@@ -323,7 +323,7 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
323
323
  var decode = Schema.decodeUnknownSync(Legacy);
324
324
 
325
325
  // src/provider.ts
326
- import { Event as Event16 } from "@opencode/schema/provider";
326
+ import { Event as Event14 } from "@opencode/schema/provider";
327
327
  var ID12 = Provider.ID;
328
328
  var AISDK_PREFIX2 = "aisdk:";
329
329
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
@@ -538,9 +538,9 @@ var Request3 = Provider.Request;
538
538
  var Compaction3 = Provider.Compaction;
539
539
  var Transport2 = Provider.Transport;
540
540
  var Settings2 = Provider.Settings;
541
- var Info22 = Provider.Info;
541
+ var Info20 = Provider.Info;
542
542
 
543
- class Service74 extends Context.Service()("@opencode/Provider") {
543
+ class Service75 extends Context.Service()("@opencode/Provider") {
544
544
  }
545
545
  var definitions = new WeakMap;
546
546
  function index(providerID, models) {
@@ -553,10 +553,10 @@ function index(providerID, models) {
553
553
  definitions.set(models, indexes);
554
554
  return result;
555
555
  }
556
- var layer = Layer.effect(Service74, Effect2.gen(function* () {
556
+ var layer = Layer.effect(Service75, Effect2.gen(function* () {
557
557
  const bus = yield* Service86;
558
- const integrations = yield* Service83;
559
- const location = yield* Service78;
558
+ const integrations = yield* Service76;
559
+ const location = yield* Service82;
560
560
  const state = create3({
561
561
  name: "provider",
562
562
  initial: () => new Map,
@@ -567,7 +567,7 @@ var layer = Layer.effect(Service74, Effect2.gen(function* () {
567
567
  const current = records.get(id);
568
568
  if (current)
569
569
  return current;
570
- const added = { provider: Info22.empty(id), models: new Map };
570
+ const added = { provider: Info20.empty(id), models: new Map };
571
571
  records.set(id, added);
572
572
  maps.add(added.models);
573
573
  return added;
@@ -648,7 +648,7 @@ var layer = Layer.effect(Service74, Effect2.gen(function* () {
648
648
  const available = Array.from(records.values()).filter((record) => {
649
649
  if (record.provider.activation === "disabled")
650
650
  return false;
651
- const integration = byID.get(record.provider.integrationID ?? ID16.make(record.provider.id));
651
+ const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
652
652
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
653
653
  return false;
654
654
  if (record.provider.activation === "enabled")
@@ -674,8 +674,8 @@ var layer = Layer.effect(Service74, Effect2.gen(function* () {
674
674
  location: { directory: location.directory, workspaceID: location.workspaceID }
675
675
  });
676
676
  });
677
- yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
678
- return Service74.of({
677
+ yield* bus.subscribe([Event15.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
678
+ return Service75.of({
679
679
  transform: state.transform,
680
680
  reload: state.reload,
681
681
  get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -684,7 +684,7 @@ var layer = Layer.effect(Service74, Effect2.gen(function* () {
684
684
  snapshot
685
685
  });
686
686
  }));
687
- var node77 = makeLocationNode({ service: Service74, layer, deps: [node90, node87, node81] });
687
+ var node79 = makeLocationNode({ service: Service75, layer, deps: [node90, node80, node86] });
688
688
  var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
689
689
  const module = yield* Effect2.tryPromise({
690
690
  try: () => {
@@ -706,4 +706,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
706
706
  return module;
707
707
  });
708
708
 
709
- export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service74, node77, exports_provider3, Event16 };
709
+ export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info20, Service75, node79, exports_provider3, Event14 };
@@ -1,42 +1,42 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./file-mutation-ppvrw4s2.js";
4
+ } from "./managed-policy-5zwc8z7d.js";
5
5
  import {
6
- Service29,
7
- node33
8
- } from "./file-mutation-hj4sgq0k.js";
6
+ Service34,
7
+ node37
8
+ } from "./managed-policy-arckp0tt.js";
9
9
  import {
10
10
  isTextual2
11
- } from "./file-mutation-2z1j29yd.js";
11
+ } from "./managed-policy-2z1j29yd.js";
12
12
  import {
13
- Service59,
14
- node61
15
- } from "./file-mutation-wn5tx07g.js";
13
+ Service70,
14
+ node74
15
+ } from "./managed-policy-knp52wmd.js";
16
16
  import {
17
- Service43,
18
- node45
19
- } from "./file-mutation-9qc30j8j.js";
17
+ Service40,
18
+ node43
19
+ } from "./managed-policy-dr1fr17h.js";
20
20
  import {
21
- Service50,
22
- node52
23
- } from "./file-mutation-c8j7dx8q.js";
21
+ Service55,
22
+ node60
23
+ } from "./managed-policy-m5t3njjp.js";
24
24
  import {
25
25
  MEDIA_MIMES2
26
- } from "./file-mutation-18a9gpqs.js";
26
+ } from "./managed-policy-eap9pty2.js";
27
27
  import {
28
28
  __export
29
- } from "./file-mutation-9rqn6x4v.js";
29
+ } from "./managed-policy-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: () => Service26,
36
- layer: () => layer11,
35
+ Service: () => Service32,
36
+ layer: () => layer14,
37
37
  name: () => name14,
38
38
  namespace: () => namespace2,
39
- node: () => node30
39
+ node: () => node35
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 Service26 extends Context.Service()("@opencode/McpTool") {
50
+ class Service32 extends Context.Service()("@opencode/McpTool") {
51
51
  }
52
- var layer11 = Layer.effect(Service26, Effect.gen(function* () {
53
- const mcp = yield* Service29;
54
- const tools = yield* Service43;
52
+ var layer14 = Layer.effect(Service32, Effect.gen(function* () {
53
+ const mcp = yield* Service34;
54
+ const tools = yield* Service40;
55
55
  const bus = yield* Service86;
56
- const permission = yield* Service59;
57
- const toolOutput = yield* Service50;
56
+ const permission = yield* Service70;
57
+ const toolOutput = yield* Service55;
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 layer11 = Layer.effect(Service26, 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 Service26.of({ flush: Effect.asVoid(Fiber.await(initial)) });
127
+ return Service32.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 node30 = makeLocationNode({
148
- service: Service26,
149
- layer: layer11,
150
- deps: [node45, node33, node90, node61, node52]
147
+ var node35 = makeLocationNode({
148
+ service: Service32,
149
+ layer: layer14,
150
+ deps: [node43, node37, node90, node74, node60]
151
151
  });
152
152
 
153
- export { namespace2, name14, Service26, layer11, node30, exports_mcp3 };
153
+ export { namespace2, name14, Service32, layer14, node35, exports_mcp3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./managed-policy-9rqn6x4v.js";
4
4
 
5
5
  // src/config/variable.ts
6
6
  var exports_variable = {};