@opencode/core 0.0.0-dev-21779 → 0.0.0-dev-21787

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 (809) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -82
  3. package/dist/aisdk-native.js +94 -93
  4. package/dist/aisdk.js +100 -99
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +77 -76
  7. package/dist/chunks/{managed-policy-aj7mw0zk.js → generate-034tev2y.js} +2 -2
  8. package/dist/chunks/{managed-policy-apd5jra7.js → generate-0421tmwc.js} +9 -9
  9. package/dist/chunks/{managed-policy-t92kp9s5.js → generate-0c2df23s.js} +4 -4
  10. package/dist/chunks/{managed-policy-8wseh08p.js → generate-0gzf2wbx.js} +4 -4
  11. package/dist/chunks/{managed-policy-pdwtbhzp.js → generate-0kdh9f7n.js} +19 -19
  12. package/dist/chunks/generate-12ts6x5e.js +26 -0
  13. package/dist/chunks/{managed-policy-64a4dgx4.js → generate-1602d4m9.js} +9 -9
  14. package/dist/chunks/{managed-policy-ze6babrc.js → generate-16bfm19d.js} +16 -16
  15. package/dist/chunks/{managed-policy-27w5k9zf.js → generate-1ep2p91f.js} +2 -2
  16. package/dist/chunks/{managed-policy-atfnw7gf.js → generate-1pa7gmjv.js} +5 -5
  17. package/dist/chunks/{managed-policy-cxk65cmw.js → generate-1srm2qwn.js} +11 -11
  18. package/dist/chunks/{managed-policy-1x2knyw4.js → generate-1x2knyw4.js} +1 -1
  19. package/dist/chunks/{managed-policy-v8a9v78w.js → generate-1xnaj2rs.js} +35 -35
  20. package/dist/chunks/{managed-policy-49z7jvp2.js → generate-2d8gesjs.js} +29 -29
  21. package/dist/chunks/{managed-policy-mj9xj69n.js → generate-2f776c8r.js} +56 -56
  22. package/dist/chunks/{managed-policy-e0yygr8n.js → generate-2m52ht03.js} +35 -35
  23. package/dist/chunks/{managed-policy-ghp95cmw.js → generate-2x0b8f33.js} +18 -18
  24. package/dist/chunks/{managed-policy-2z1j29yd.js → generate-2z1j29yd.js} +1 -1
  25. package/dist/chunks/{managed-policy-f4eccy7q.js → generate-38bn2079.js} +17 -17
  26. package/dist/chunks/{managed-policy-ew4kz2ah.js → generate-3d5cbqv5.js} +21 -21
  27. package/dist/chunks/{managed-policy-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
  28. package/dist/chunks/{managed-policy-3nnrz6f6.js → generate-3nnrz6f6.js} +1 -1
  29. package/dist/chunks/{managed-policy-ezyvxv03.js → generate-3tt8f194.js} +48 -48
  30. package/dist/chunks/{managed-policy-r3h5n1vp.js → generate-3yeddse9.js} +8 -8
  31. package/dist/chunks/{managed-policy-p5vfq2v8.js → generate-3z9mrz6q.js} +10 -10
  32. package/dist/chunks/{managed-policy-j2g2ntz0.js → generate-41d4f1qa.js} +19 -19
  33. package/dist/chunks/{managed-policy-p3ey8vsp.js → generate-455h4v89.js} +37 -37
  34. package/dist/chunks/{managed-policy-ca54dx7n.js → generate-46sv0t9j.js} +33 -33
  35. package/dist/chunks/{managed-policy-vggrzz3j.js → generate-4ctzk2hd.js} +30 -30
  36. package/dist/chunks/{managed-policy-xqx3k1v9.js → generate-4r35dryz.js} +25 -25
  37. package/dist/chunks/{managed-policy-4v008n1t.js → generate-4v008n1t.js} +1 -1
  38. package/dist/chunks/{managed-policy-ahhnq9fe.js → generate-4v60j7sz.js} +4 -4
  39. package/dist/chunks/{managed-policy-evsbz9da.js → generate-4xf0z7td.js} +9 -9
  40. package/dist/chunks/{managed-policy-v1hzysda.js → generate-4xn5gq7h.js} +22 -22
  41. package/dist/chunks/{managed-policy-4xvmh7wp.js → generate-4xvmh7wp.js} +3 -3
  42. package/dist/chunks/{managed-policy-68dpv4bm.js → generate-4ynggejv.js} +93 -93
  43. package/dist/chunks/{managed-policy-ed5jkn8v.js → generate-57esxv74.js} +2 -2
  44. package/dist/chunks/{managed-policy-w2eysc6j.js → generate-5enarcya.js} +6 -6
  45. package/dist/chunks/{managed-policy-wpdqzxj0.js → generate-5kzn450w.js} +49 -49
  46. package/dist/chunks/{managed-policy-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
  47. package/dist/chunks/{managed-policy-x5p586pb.js → generate-5mkgcf5e.js} +29 -29
  48. package/dist/chunks/{managed-policy-rkdvqggb.js → generate-5nrew705.js} +5 -5
  49. package/dist/chunks/{managed-policy-e3qxr5gk.js → generate-5qd3pb7m.js} +2 -2
  50. package/dist/chunks/{managed-policy-me2be6v4.js → generate-5rsk6zhh.js} +35 -35
  51. package/dist/chunks/{managed-policy-h7vk0jqt.js → generate-60h9p25p.js} +11 -11
  52. package/dist/chunks/{managed-policy-6p9bsfn5.js → generate-61377pcc.js} +16 -16
  53. package/dist/chunks/{managed-policy-b5vt0e29.js → generate-647zght9.js} +36 -36
  54. package/dist/chunks/{managed-policy-tr9mnhj9.js → generate-64w43kpe.js} +4 -4
  55. package/dist/chunks/{managed-policy-bs208s33.js → generate-67gs8m0e.js} +20 -20
  56. package/dist/chunks/{managed-policy-6esdw8yj.js → generate-6esdw8yj.js} +1 -1
  57. package/dist/chunks/{managed-policy-6pjqjmy2.js → generate-6pjqjmy2.js} +1 -1
  58. package/dist/chunks/{managed-policy-wtj1vzq6.js → generate-6wqb6r61.js} +10 -10
  59. package/dist/chunks/{managed-policy-ayhhxpsd.js → generate-6wrzbp15.js} +31 -31
  60. package/dist/chunks/{managed-policy-h1vf7xw6.js → generate-706a9m97.js} +18 -18
  61. package/dist/chunks/{managed-policy-f9fgjzmf.js → generate-72qs9vfp.js} +5 -5
  62. package/dist/chunks/{managed-policy-q666dkhj.js → generate-74wd5b57.js} +24 -24
  63. package/dist/chunks/{managed-policy-76cb1hcw.js → generate-76cb1hcw.js} +1 -1
  64. package/dist/chunks/{managed-policy-ckajzhn0.js → generate-76thwr1m.js} +13 -13
  65. package/dist/chunks/{managed-policy-8kcft6qy.js → generate-7a9fgd28.js} +14 -14
  66. package/dist/chunks/{managed-policy-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{managed-policy-r9d3bf7c.js → generate-7cdxenn5.js} +1 -1
  68. package/dist/chunks/generate-7m48pw0y.js +261 -0
  69. package/dist/chunks/{managed-policy-zq8j0fqq.js → generate-7msg3p4q.js} +19 -19
  70. package/dist/chunks/{managed-policy-7w2ypzdf.js → generate-7w2ypzdf.js} +1 -1
  71. package/dist/chunks/{managed-policy-avpzytns.js → generate-7zre7e56.js} +7 -7
  72. package/dist/chunks/{managed-policy-hj4bas8x.js → generate-804yeq1k.js} +5 -5
  73. package/dist/chunks/{managed-policy-1ft3a64b.js → generate-80pygm52.js} +32 -32
  74. package/dist/chunks/{managed-policy-z0tr6hr4.js → generate-816av33b.js} +85 -85
  75. package/dist/chunks/{managed-policy-1sb2b4hz.js → generate-843z2d51.js} +17 -17
  76. package/dist/chunks/{managed-policy-q85rya1m.js → generate-8682byc1.js} +6 -6
  77. package/dist/chunks/{managed-policy-bad2ztpq.js → generate-89e5nn63.js} +5 -5
  78. package/dist/chunks/{managed-policy-kwag3h57.js → generate-8acmvnn2.js} +6 -6
  79. package/dist/chunks/{managed-policy-9y2xp9dz.js → generate-8e105es8.js} +15 -15
  80. package/dist/chunks/{managed-policy-6wnv4aap.js → generate-8wnwwakb.js} +17 -17
  81. package/dist/chunks/{managed-policy-8wtp7s3z.js → generate-8wtp7s3z.js} +1 -1
  82. package/dist/chunks/{managed-policy-91rj84md.js → generate-91rj84md.js} +1 -1
  83. package/dist/chunks/{managed-policy-n6vhe5fc.js → generate-91rtgvd1.js} +24 -24
  84. package/dist/chunks/{managed-policy-cqntne3k.js → generate-91tq4j7x.js} +47 -47
  85. package/dist/chunks/{managed-policy-s5rxfzaz.js → generate-92krx78w.js} +3 -3
  86. package/dist/chunks/{managed-policy-f42edk30.js → generate-93e6r647.js} +15 -15
  87. package/dist/chunks/{managed-policy-y1m3tahy.js → generate-943vk4xf.js} +4 -4
  88. package/dist/chunks/{managed-policy-vxse5zfy.js → generate-95yk96qj.js} +13 -13
  89. package/dist/chunks/{managed-policy-n77kgz3v.js → generate-988e81kb.js} +18 -18
  90. package/dist/chunks/{managed-policy-fy5bjxgv.js → generate-998yhzzq.js} +3 -4
  91. package/dist/chunks/{managed-policy-f1fvgra9.js → generate-9bv6909x.js} +14 -14
  92. package/dist/chunks/{managed-policy-pv3f4fmb.js → generate-9ebekwpw.js} +11 -11
  93. package/dist/chunks/{managed-policy-t9r9zczj.js → generate-9g64908n.js} +6 -6
  94. package/dist/chunks/{managed-policy-esnhh37z.js → generate-9gs5w8vw.js} +23 -23
  95. package/dist/chunks/{managed-policy-jt052epg.js → generate-9nb4x13m.js} +10 -10
  96. package/dist/chunks/{managed-policy-m7zcvtr8.js → generate-9p4802g3.js} +189 -189
  97. package/dist/chunks/{managed-policy-jchrqzf6.js → generate-9p9xqj3m.js} +8 -8
  98. package/dist/chunks/{managed-policy-rdesvtjj.js → generate-9qpzkr0s.js} +4 -4
  99. package/dist/chunks/{managed-policy-vrn1tqz6.js → generate-9whth5bc.js} +6 -6
  100. package/dist/chunks/{managed-policy-w0j5ywg8.js → generate-9za7fsez.js} +40 -40
  101. package/dist/chunks/{managed-policy-hw53rdkh.js → generate-a78jnvn4.js} +14 -14
  102. package/dist/chunks/{managed-policy-3kdbrncp.js → generate-afmnpta1.js} +5 -5
  103. package/dist/chunks/{managed-policy-qc74gz25.js → generate-am41y27b.js} +11 -11
  104. package/dist/chunks/{managed-policy-sj9d558k.js → generate-apg5tkyy.js} +24 -27
  105. package/dist/chunks/{managed-policy-z7gjhxcb.js → generate-apyfbx3k.js} +12 -12
  106. package/dist/chunks/{managed-policy-9q42j6a5.js → generate-arjcrnbc.js} +11 -11
  107. package/dist/chunks/{managed-policy-03ememhp.js → generate-axywpa85.js} +13 -13
  108. package/dist/chunks/{managed-policy-awkjnfzq.js → generate-ay55ej5b.js} +20 -20
  109. package/dist/chunks/{managed-policy-3cbjf1nt.js → generate-ayjs7tqn.js} +2 -2
  110. package/dist/chunks/{managed-policy-b0mv4wxm.js → generate-b0mv4wxm.js} +2 -2
  111. package/dist/chunks/{managed-policy-prazahgm.js → generate-b6vsg801.js} +2 -4
  112. package/dist/chunks/{managed-policy-tfcjfmds.js → generate-baak6a6c.js} +19 -19
  113. package/dist/chunks/{managed-policy-8554g49p.js → generate-bbcv7z05.js} +33 -33
  114. package/dist/chunks/{managed-policy-mkxcxg19.js → generate-bf5a4r6p.js} +24 -24
  115. package/dist/chunks/{managed-policy-00cr1rxs.js → generate-bgnkmjh7.js} +12 -12
  116. package/dist/chunks/{managed-policy-9hx0ex4r.js → generate-bprg34wm.js} +3 -3
  117. package/dist/chunks/{managed-policy-bstexjd6.js → generate-bstexjd6.js} +1 -1
  118. package/dist/chunks/{managed-policy-d2r51erv.js → generate-bx7p4zt3.js} +17 -17
  119. package/dist/chunks/{managed-policy-42yy1t4m.js → generate-bxpy1z3j.js} +17 -17
  120. package/dist/chunks/{managed-policy-dfgx57nd.js → generate-c1jyg704.js} +35 -35
  121. package/dist/chunks/{managed-policy-je0epjbd.js → generate-c1w24mvk.js} +9 -9
  122. package/dist/chunks/{managed-policy-fbjqxkhq.js → generate-c3q67jfs.js} +5 -5
  123. package/dist/chunks/{managed-policy-rezjgjxe.js → generate-c6sgtb47.js} +20 -20
  124. package/dist/chunks/{managed-policy-p0y7ddwc.js → generate-c7s0gbm9.js} +22 -22
  125. package/dist/chunks/{managed-policy-jrzpqne3.js → generate-c8anzs9p.js} +10 -10
  126. package/dist/chunks/{managed-policy-pqdrg6za.js → generate-cay4tvkt.js} +5 -5
  127. package/dist/chunks/{managed-policy-a5z798gd.js → generate-cg6rqdg0.js} +35 -35
  128. package/dist/chunks/{managed-policy-a8p5crz1.js → generate-cgrnsrfx.js} +22 -22
  129. package/dist/chunks/{managed-policy-7jz5d2t0.js → generate-cm3sk30v.js} +12 -12
  130. package/dist/chunks/{managed-policy-d2vccz4f.js → generate-cp1x68ta.js} +30 -30
  131. package/dist/chunks/{managed-policy-cdfeh84c.js → generate-crvaaxf0.js} +27 -27
  132. package/dist/chunks/{managed-policy-3fwr0gba.js → generate-ctbt5vra.js} +9 -9
  133. package/dist/chunks/{managed-policy-5nd54hzp.js → generate-cwjy3gzh.js} +5 -5
  134. package/dist/chunks/{managed-policy-s1qts2x9.js → generate-d2bz80wk.js} +1 -1
  135. package/dist/chunks/{managed-policy-d4v9tmah.js → generate-d4v9tmah.js} +2 -2
  136. package/dist/chunks/{managed-policy-6vzv00yv.js → generate-d6fcepcv.js} +7 -7
  137. package/dist/chunks/{managed-policy-9kg5w032.js → generate-ddvn7d3w.js} +8 -8
  138. package/dist/chunks/{managed-policy-5ny4wef6.js → generate-dqv1w111.js} +40 -40
  139. package/dist/chunks/{managed-policy-dd6h6kqy.js → generate-dvdcj7cr.js} +24 -24
  140. package/dist/chunks/{managed-policy-zvwzcwk0.js → generate-dy6x8wfh.js} +6 -6
  141. package/dist/chunks/{managed-policy-vvzc2rtq.js → generate-dya2dypy.js} +12 -12
  142. package/dist/chunks/{managed-policy-bctgpknz.js → generate-e1wm1c1c.js} +14 -14
  143. package/dist/chunks/{managed-policy-agqd6nxz.js → generate-e2ne77ac.js} +4 -4
  144. package/dist/chunks/{managed-policy-45chpwqw.js → generate-e5594mv8.js} +11 -11
  145. package/dist/chunks/{managed-policy-e834z07m.js → generate-e834z07m.js} +1 -1
  146. package/dist/chunks/{managed-policy-yzhnqbqe.js → generate-eg1p11h9.js} +46 -46
  147. package/dist/chunks/{managed-policy-mm1qhevh.js → generate-enjcz11b.js} +40 -40
  148. package/dist/chunks/{managed-policy-2jq8265x.js → generate-exvmz0y3.js} +22 -22
  149. package/dist/chunks/{managed-policy-rpw9k8ba.js → generate-f6h5pjek.js} +22 -22
  150. package/dist/chunks/generate-f8ma18fn.js +18 -0
  151. package/dist/chunks/{managed-policy-v7h0nwys.js → generate-f9p4evw4.js} +14 -14
  152. package/dist/chunks/{managed-policy-fffv3p7h.js → generate-fffv3p7h.js} +1 -1
  153. package/dist/chunks/{managed-policy-jyq39yw7.js → generate-fxg03wke.js} +18 -18
  154. package/dist/chunks/{managed-policy-2sp6x650.js → generate-g07s9e0a.js} +16 -16
  155. package/dist/chunks/{managed-policy-kjx6j1fh.js → generate-g1jzcvfp.js} +48 -48
  156. package/dist/chunks/{managed-policy-ygbaejqc.js → generate-g4n8wy90.js} +22 -22
  157. package/dist/chunks/{managed-policy-g5h9c0rr.js → generate-g5h9c0rr.js} +2 -2
  158. package/dist/chunks/{managed-policy-m37sd98t.js → generate-g7esga4v.js} +7 -7
  159. package/dist/chunks/{managed-policy-02fhkb6c.js → generate-g8wnc3yf.js} +25 -25
  160. package/dist/chunks/{managed-policy-je88hrb4.js → generate-gdse6xex.js} +13 -13
  161. package/dist/chunks/{managed-policy-j9ezjb8v.js → generate-ggaga4g8.js} +14 -14
  162. package/dist/chunks/{managed-policy-n9p72mjb.js → generate-gj8x1tda.js} +5 -5
  163. package/dist/chunks/{managed-policy-03pkq5wz.js → generate-gkng5bng.js} +6 -6
  164. package/dist/chunks/{managed-policy-rzbj1kbd.js → generate-grzgy5vk.js} +34 -34
  165. package/dist/chunks/{managed-policy-zw3k2mvr.js → generate-gwgmm0r0.js} +32 -32
  166. package/dist/chunks/{managed-policy-nq061v6n.js → generate-h012d7er.js} +32 -32
  167. package/dist/chunks/{managed-policy-2wyes2cm.js → generate-h5qan5zz.js} +8 -8
  168. package/dist/chunks/{managed-policy-pp9yn2rg.js → generate-hdfrs5mg.js} +9 -9
  169. package/dist/chunks/{managed-policy-j113cymg.js → generate-j113cymg.js} +1 -1
  170. package/dist/chunks/{managed-policy-v8vd993n.js → generate-jc512s3p.js} +8 -8
  171. package/dist/chunks/{managed-policy-47jjev45.js → generate-jdm7ypvj.js} +75 -75
  172. package/dist/chunks/{managed-policy-tqxcyjgt.js → generate-jeyrprj9.js} +21 -21
  173. package/dist/chunks/{managed-policy-5ydp8y6j.js → generate-jfz0xtmw.js} +24 -24
  174. package/dist/chunks/{managed-policy-26h8w6n3.js → generate-jrzjw8ef.js} +11 -11
  175. package/dist/chunks/{managed-policy-jt7s8sjd.js → generate-jw5hzjzk.js} +5 -5
  176. package/dist/chunks/generate-jwr30sdr.js +13 -0
  177. package/dist/chunks/{managed-policy-7kn810xp.js → generate-jyk4tkgp.js} +55 -55
  178. package/dist/chunks/{managed-policy-k814nvkf.js → generate-k814nvkf.js} +1 -1
  179. package/dist/chunks/{managed-policy-m4869hkg.js → generate-kbg7fx6b.js} +11 -11
  180. package/dist/chunks/{managed-policy-q1bq6w6w.js → generate-kcrfampp.js} +8 -8
  181. package/dist/chunks/{managed-policy-skdn7emw.js → generate-kn8waak8.js} +9 -9
  182. package/dist/chunks/{managed-policy-9b4y21f1.js → generate-knz8nj5n.js} +9 -9
  183. package/dist/chunks/{managed-policy-kt3bjfbg.js → generate-kt3bjfbg.js} +1 -1
  184. package/dist/chunks/{managed-policy-c0r0jd01.js → generate-kzqkeft0.js} +5 -5
  185. package/dist/chunks/{managed-policy-m1714858.js → generate-m1714858.js} +1 -1
  186. package/dist/chunks/{managed-policy-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{managed-policy-maspj1v3.js → generate-maspj1v3.js} +1 -1
  188. package/dist/chunks/{managed-policy-qwgnw2k6.js → generate-mhw5nazv.js} +21 -21
  189. package/dist/chunks/{managed-policy-e4bdykca.js → generate-mj7y0whk.js} +1 -1
  190. package/dist/chunks/{managed-policy-f27wsjye.js → generate-mjywf106.js} +27 -27
  191. package/dist/chunks/{managed-policy-0bqp6b53.js → generate-mn233j48.js} +9 -9
  192. package/dist/chunks/{managed-policy-xar3ete2.js → generate-mr4qt0w1.js} +12 -12
  193. package/dist/chunks/{managed-policy-2h4dmphj.js → generate-mrwfy854.js} +46 -46
  194. package/dist/chunks/{managed-policy-c0jb4yaq.js → generate-myck1dky.js} +25 -25
  195. package/dist/chunks/{managed-policy-wyrpevsh.js → generate-mycq80cg.js} +19 -19
  196. package/dist/chunks/{managed-policy-n0p0277s.js → generate-n0p0277s.js} +1 -1
  197. package/dist/chunks/{managed-policy-h9g17fvf.js → generate-n1w9rr7b.js} +5 -5
  198. package/dist/chunks/{managed-policy-cr69m9gz.js → generate-n39q19g8.js} +4 -4
  199. package/dist/chunks/{managed-policy-6zfvt8rp.js → generate-n5ka82qe.js} +13 -13
  200. package/dist/chunks/{managed-policy-770pw0s1.js → generate-nah043kf.js} +4 -4
  201. package/dist/chunks/{managed-policy-x026aahv.js → generate-nqe13dkz.js} +23 -23
  202. package/dist/chunks/{managed-policy-zd3s57ef.js → generate-nxe16pbc.js} +14 -14
  203. package/dist/chunks/{managed-policy-p015t6z3.js → generate-p015t6z3.js} +2 -2
  204. package/dist/chunks/{managed-policy-p7vhpwh8.js → generate-p7vhpwh8.js} +1 -1
  205. package/dist/chunks/{managed-policy-jx89vj1k.js → generate-pc1v25hk.js} +3 -3
  206. package/dist/chunks/{managed-policy-3m04bkm7.js → generate-pc3q5c30.js} +6 -6
  207. package/dist/chunks/{managed-policy-0eeh5sc5.js → generate-pe3tcc4r.js} +30 -30
  208. package/dist/chunks/{managed-policy-pknna89w.js → generate-pknna89w.js} +1 -1
  209. package/dist/chunks/{managed-policy-dbztejgq.js → generate-pkyv6v7h.js} +0 -1
  210. package/dist/chunks/generate-pwprjmjf.js +517 -0
  211. package/dist/chunks/{managed-policy-wp43yer9.js → generate-pxvzbmhb.js} +29 -29
  212. package/dist/chunks/{managed-policy-n5wj02fj.js → generate-pyxrqe4f.js} +25 -19
  213. package/dist/chunks/{managed-policy-mz7dkqsg.js → generate-q5hbvftq.js} +17 -17
  214. package/dist/chunks/{managed-policy-49wfgnbx.js → generate-qc2mm8b6.js} +11 -11
  215. package/dist/chunks/{managed-policy-a1p7bg8r.js → generate-qcr4xbb4.js} +18 -18
  216. package/dist/chunks/{managed-policy-8jztxfpf.js → generate-qjgzc4b4.js} +4 -4
  217. package/dist/chunks/{managed-policy-vsnnaxjq.js → generate-qkc3z5ds.js} +4 -4
  218. package/dist/chunks/{managed-policy-9axz1114.js → generate-qv7y9773.js} +9 -9
  219. package/dist/chunks/{managed-policy-r0yr0wbs.js → generate-r0yr0wbs.js} +1 -1
  220. package/dist/chunks/{managed-policy-2gg250z3.js → generate-r38sx3r4.js} +6 -6
  221. package/dist/chunks/{managed-policy-8r6n0qax.js → generate-r542h3bh.js} +2 -4
  222. package/dist/chunks/{managed-policy-pmnt75d6.js → generate-r63szx73.js} +8 -8
  223. package/dist/chunks/{managed-policy-wgbrv6pc.js → generate-r8en70mr.js} +27 -27
  224. package/dist/chunks/{managed-policy-rb9dy4dg.js → generate-rb9dy4dg.js} +1 -1
  225. package/dist/chunks/{managed-policy-0ks2n9jf.js → generate-rcafeyqq.js} +6 -6
  226. package/dist/chunks/{managed-policy-bqxktn40.js → generate-rh6v8sme.js} +14 -14
  227. package/dist/chunks/{managed-policy-tmb3tnse.js → generate-rhpagg0w.js} +35 -35
  228. package/dist/chunks/{managed-policy-vrcsa8qx.js → generate-rjnacbrz.js} +9 -9
  229. package/dist/chunks/{managed-policy-k69edqc3.js → generate-rqkyt2p4.js} +50 -50
  230. package/dist/chunks/{managed-policy-rt5dr6hb.js → generate-rt5dr6hb.js} +1 -1
  231. package/dist/chunks/{managed-policy-kgbbv3sg.js → generate-rwzztdnt.js} +40 -40
  232. package/dist/chunks/{managed-policy-f5at3vzj.js → generate-rx5q4re9.js} +21 -21
  233. package/dist/chunks/{managed-policy-c0r6m18p.js → generate-s06qzxdv.js} +14 -14
  234. package/dist/chunks/{managed-policy-vwqqd668.js → generate-s12jh10e.js} +8 -8
  235. package/dist/chunks/{managed-policy-zba5tm1j.js → generate-s626qfae.js} +4 -4
  236. package/dist/chunks/{managed-policy-sa3fpqfw.js → generate-sa3fpqfw.js} +2 -2
  237. package/dist/chunks/{managed-policy-rrmqzdps.js → generate-scvarvm8.js} +7 -7
  238. package/dist/chunks/{managed-policy-ph7pkazd.js → generate-snseane2.js} +56 -52
  239. package/dist/chunks/{managed-policy-sqjzf8x2.js → generate-sqjzf8x2.js} +1 -1
  240. package/dist/chunks/{managed-policy-ssfehs1z.js → generate-ssfehs1z.js} +1 -1
  241. package/dist/chunks/{managed-policy-njpdtz7k.js → generate-t8f6zgqm.js} +26 -26
  242. package/dist/chunks/{managed-policy-ddjqg4re.js → generate-t9z09xc1.js} +17 -17
  243. package/dist/chunks/{managed-policy-tczq8hjw.js → generate-tczq8hjw.js} +1 -1
  244. package/dist/chunks/{managed-policy-1ee9e5h5.js → generate-tdzazexc.js} +20 -20
  245. package/dist/chunks/{managed-policy-zfrqmavk.js → generate-tgy9njqc.js} +28 -28
  246. package/dist/chunks/{managed-policy-azemrkpd.js → generate-tn1pzc3v.js} +48 -48
  247. package/dist/chunks/{managed-policy-bm5tsqjy.js → generate-ttqc2aqc.js} +11 -11
  248. package/dist/chunks/{managed-policy-twv2r8f4.js → generate-twv2r8f4.js} +2 -2
  249. package/dist/chunks/{managed-policy-n89ynwx4.js → generate-v1g3t408.js} +15 -15
  250. package/dist/chunks/{managed-policy-v2r1d0zg.js → generate-v2r1d0zg.js} +1 -1
  251. package/dist/chunks/{managed-policy-vd204cgb.js → generate-v8r4h2ge.js} +15 -15
  252. package/dist/chunks/{managed-policy-zw9jfjbq.js → generate-v9hbv2xx.js} +28 -28
  253. package/dist/chunks/{managed-policy-vd3b3yk9.js → generate-vd3b3yk9.js} +1 -1
  254. package/dist/chunks/{managed-policy-veqvce7d.js → generate-veqvce7d.js} +1 -1
  255. package/dist/chunks/{managed-policy-1e5rbrpx.js → generate-vksr3ykb.js} +23 -23
  256. package/dist/chunks/{managed-policy-ydn5pt77.js → generate-vrecv7xn.js} +11 -11
  257. package/dist/chunks/{managed-policy-sa3m9chx.js → generate-vy44t5mr.js} +11 -11
  258. package/dist/chunks/{managed-policy-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{managed-policy-wakvkjy4.js → generate-wakvkjy4.js} +1 -1
  260. package/dist/chunks/{managed-policy-s4dfshv0.js → generate-wb8x9t3h.js} +38 -38
  261. package/dist/chunks/{managed-policy-wd87259q.js → generate-wd87259q.js} +1 -1
  262. package/dist/chunks/{managed-policy-qqg9c0kv.js → generate-wmjzvx4b.js} +4 -4
  263. package/dist/chunks/{managed-policy-32rbtppw.js → generate-wn502zcs.js} +20 -20
  264. package/dist/chunks/{managed-policy-6d6xnsqa.js → generate-wp4rg1a9.js} +5 -5
  265. package/dist/chunks/{managed-policy-fe357ss9.js → generate-wqa6kp8n.js} +9 -9
  266. package/dist/chunks/{managed-policy-w9cf5jnd.js → generate-wqfa8sbf.js} +16 -16
  267. package/dist/chunks/{managed-policy-wr3re1en.js → generate-wr3re1en.js} +1 -1
  268. package/dist/chunks/{managed-policy-yb6typ28.js → generate-wtc8kthj.js} +28 -28
  269. package/dist/chunks/{managed-policy-n3q6whry.js → generate-wypdqsf3.js} +19 -19
  270. package/dist/chunks/{managed-policy-zgmrepvs.js → generate-x26wqd07.js} +4 -4
  271. package/dist/chunks/{managed-policy-x132tpv8.js → generate-x5p4acxh.js} +3 -3
  272. package/dist/chunks/{managed-policy-t639c3yy.js → generate-xrbpmgv4.js} +25 -25
  273. package/dist/chunks/{managed-policy-zm48p3w4.js → generate-xs8vwfgw.js} +8 -8
  274. package/dist/chunks/{managed-policy-fkz1sskx.js → generate-y02kp52f.js} +13 -13
  275. package/dist/chunks/{managed-policy-b6j82r80.js → generate-y0xwmjzw.js} +59 -59
  276. package/dist/chunks/{managed-policy-490c48bj.js → generate-y21fntsh.js} +2 -2
  277. package/dist/chunks/{managed-policy-yb20nhc3.js → generate-yb20nhc3.js} +1 -1
  278. package/dist/chunks/{managed-policy-efkbwkq1.js → generate-ybnpgdfy.js} +2 -3
  279. package/dist/chunks/{managed-policy-vwdfpcvx.js → generate-yeejah88.js} +3 -3
  280. package/dist/chunks/{managed-policy-3dv7tw0m.js → generate-yhm3km31.js} +4 -4
  281. package/dist/chunks/{managed-policy-q01s6b65.js → generate-ykykgdt7.js} +32 -32
  282. package/dist/chunks/{managed-policy-5k38w7sf.js → generate-yt9pczka.js} +5 -5
  283. package/dist/chunks/{managed-policy-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{managed-policy-ncsf0b7s.js → generate-z15hn2yg.js} +14 -14
  285. package/dist/chunks/{managed-policy-twa7y64b.js → generate-z2g5qvzj.js} +18 -18
  286. package/dist/chunks/{managed-policy-z38nccrw.js → generate-z38nccrw.js} +1 -1
  287. package/dist/chunks/{managed-policy-n52dfyva.js → generate-z67a96cz.js} +18 -18
  288. package/dist/chunks/{managed-policy-wy76b4ds.js → generate-za6jnyck.js} +29 -29
  289. package/dist/chunks/{managed-policy-vmfhehpp.js → generate-zcyx2e1c.js} +35 -35
  290. package/dist/chunks/{managed-policy-fmq5p3ga.js → generate-zjyebp72.js} +6 -6
  291. package/dist/chunks/{managed-policy-zkg84ctx.js → generate-zkg84ctx.js} +1 -1
  292. package/dist/chunks/{managed-policy-zz2mxr8y.js → generate-zvctmeyc.js} +35 -35
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +9 -9
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +85 -84
  298. package/dist/config/discovery.js +87 -86
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +104 -103
  301. package/dist/config/plugin/agent.js +118 -117
  302. package/dist/config/plugin/command.js +214 -213
  303. package/dist/config/plugin/compaction.js +157 -156
  304. package/dist/config/plugin/compatibility.js +137 -136
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +119 -118
  307. package/dist/config/plugin/image.js +116 -115
  308. package/dist/config/plugin/instruction.js +118 -117
  309. package/dist/config/plugin/location-watcher.js +120 -119
  310. package/dist/config/plugin/mcp.js +125 -124
  311. package/dist/config/plugin/policy.js +119 -118
  312. package/dist/config/plugin/provider.js +118 -117
  313. package/dist/config/plugin/reference.js +120 -119
  314. package/dist/config/plugin/shell.js +120 -119
  315. package/dist/config/plugin/skill-file.js +107 -106
  316. package/dist/config/plugin/skill-scan.js +3 -3
  317. package/dist/config/plugin/skill.js +140 -139
  318. package/dist/config/plugin/snapshot.js +118 -117
  319. package/dist/config/plugin/source.js +119 -118
  320. package/dist/config/plugin/tool-output.js +119 -118
  321. package/dist/config/plugin/websearch.js +119 -118
  322. package/dist/config/plugin/worktree.js +120 -119
  323. package/dist/config/variable.js +1 -1
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +121 -120
  326. package/dist/console-access.js +1 -1
  327. package/dist/credential/sql.js +2 -2
  328. package/dist/credential.js +89 -88
  329. package/dist/database/database.js +74 -73
  330. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  331. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  332. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  333. package/dist/database/drizzle/index.js +15 -15
  334. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  337. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  342. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  344. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  345. package/dist/database/drizzle.js +16 -16
  346. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  347. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  348. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  349. package/dist/database/migration/20260225215848_workspace.js +1 -1
  350. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  351. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  352. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  353. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  354. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  355. package/dist/database/migration/20260323234822_events.js +1 -1
  356. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  357. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  358. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  359. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  360. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  361. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  362. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  363. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  364. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  365. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  366. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  367. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  368. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  369. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  370. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  371. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  372. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  373. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  374. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  375. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  376. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  377. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  378. package/dist/database/migration/20260611035744_credential.js +1 -1
  379. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  380. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  381. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  382. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  383. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  384. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  385. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  386. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  387. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  388. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  389. package/dist/database/migration/20260812213948_worktree.js +1 -1
  390. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  391. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  392. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  393. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  394. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  395. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  396. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  397. package/dist/database/migration/20261024175301_drop_session_allowance.js +6 -0
  398. package/dist/database/migration.gen.js +53 -52
  399. package/dist/database/migration.js +55 -54
  400. package/dist/database/path.js +2 -2
  401. package/dist/database/schema.gen.js +1 -1
  402. package/dist/database/schema.sql.js +1 -1
  403. package/dist/database/sqlite.bun.js +1 -1
  404. package/dist/database/sqlite.js +1 -1
  405. package/dist/database/sqlite.node.js +1 -1
  406. package/dist/database/sqlite.workerd.js +1 -1
  407. package/dist/database/v1-migration.bun.js +100 -99
  408. package/dist/database/v1-migration.js +1 -1
  409. package/dist/effect/app-node-builder.js +374 -373
  410. package/dist/effect/app-node-platform.js +2 -2
  411. package/dist/effect/keyed-mutex.js +3 -3
  412. package/dist/effect/websocket-constructor.js +1 -1
  413. package/dist/environment/driver.js +1 -1
  414. package/dist/environment/environment.js +98 -97
  415. package/dist/environment/exec-defaults.js +2 -2
  416. package/dist/environment/files.js +1 -1
  417. package/dist/environment/index.js +100 -99
  418. package/dist/environment/local.js +2 -2
  419. package/dist/environment/memory.js +2 -2
  420. package/dist/environment/unavailable.js +1 -1
  421. package/dist/event/sql.js +1 -1
  422. package/dist/event-logger.js +78 -77
  423. package/dist/file-access.js +109 -108
  424. package/dist/file-mutation.js +99 -98
  425. package/dist/file-retention.js +1 -1
  426. package/dist/filesystem/fff.bun.js +2 -2
  427. package/dist/filesystem/fff.js +1 -1
  428. package/dist/filesystem/fff.node.js +2 -2
  429. package/dist/filesystem/fff.workerd.js +2 -2
  430. package/dist/filesystem/location-watcher-policy.js +6 -6
  431. package/dist/filesystem/location-watcher.js +229 -228
  432. package/dist/filesystem/protected.js +1 -1
  433. package/dist/filesystem/search.js +104 -103
  434. package/dist/filesystem/watcher-binding.js +3 -3
  435. package/dist/filesystem/watcher.js +11 -11
  436. package/dist/filesystem.js +109 -108
  437. package/dist/form.js +90 -89
  438. package/dist/formatter/builtins.js +4 -4
  439. package/dist/formatter.js +92 -91
  440. package/dist/generate.js +108 -107
  441. package/dist/git.js +11 -11
  442. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  443. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  444. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  445. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  446. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  447. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  448. package/dist/github-copilot/copilot-provider.js +17 -17
  449. package/dist/github-copilot/models.js +104 -103
  450. package/dist/github-copilot/openai-compatible-error.js +1 -1
  451. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  452. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  453. package/dist/github-copilot/responses/openai-error.js +1 -1
  454. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  455. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  456. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  457. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  458. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  459. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  460. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  461. package/dist/image/photon.js +2 -2
  462. package/dist/image.js +6 -6
  463. package/dist/instance/service.js +5 -5
  464. package/dist/instance.js +365 -364
  465. package/dist/instruction-discovery.js +88 -87
  466. package/dist/instructions/builtins.js +92 -91
  467. package/dist/instructions/index.js +5 -5
  468. package/dist/integration/connection.js +3 -3
  469. package/dist/integration.js +91 -90
  470. package/dist/job.js +80 -79
  471. package/dist/kv/sql.js +2 -2
  472. package/dist/kv.js +77 -76
  473. package/dist/location-activity.js +161 -160
  474. package/dist/location-lifecycle.js +112 -111
  475. package/dist/location-service-map.js +91 -90
  476. package/dist/location-services.js +362 -361
  477. package/dist/location.js +92 -91
  478. package/dist/managed-policy.js +8 -8
  479. package/dist/mcp/client.js +121 -97
  480. package/dist/mcp/index.js +114 -113
  481. package/dist/mcp/instructions.js +143 -142
  482. package/dist/mcp/oauth.js +82 -81
  483. package/dist/mcp/socket-client.js +1 -1
  484. package/dist/mcp/stdio.js +95 -94
  485. package/dist/mime.js +1 -1
  486. package/dist/modal/models.js +104 -103
  487. package/dist/model-resolver.js +104 -103
  488. package/dist/model-retry.js +1 -1
  489. package/dist/model.js +105 -104
  490. package/dist/models-dev.js +112 -111
  491. package/dist/oauth/page.js +1 -1
  492. package/dist/permission/saved.js +86 -85
  493. package/dist/permission/sql.js +5 -5
  494. package/dist/permission.js +122 -121
  495. package/dist/persistent-pty/binary.bun.js +1 -1
  496. package/dist/persistent-pty/daemon.js +1 -1
  497. package/dist/persistent-pty/index.js +90 -89
  498. package/dist/persistent-pty/pty-binding.js +1 -1
  499. package/dist/persistent-pty.js +79 -78
  500. package/dist/plugin/agent.js +78 -77
  501. package/dist/plugin/command.js +105 -104
  502. package/dist/plugin/hooks.js +5 -5
  503. package/dist/plugin/host.js +220 -219
  504. package/dist/plugin/identity.js +5 -5
  505. package/dist/plugin/instance.js +5 -5
  506. package/dist/plugin/internal.js +335 -334
  507. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  508. package/dist/plugin/models-dev.js +101 -100
  509. package/dist/plugin/module.js +119 -118
  510. package/dist/plugin/optimize.js +2 -2
  511. package/dist/plugin/plan.js +107 -106
  512. package/dist/plugin/promise.js +1 -1
  513. package/dist/plugin/provider/amazon-bedrock.js +95 -94
  514. package/dist/plugin/provider/azure.js +118 -117
  515. package/dist/plugin/provider/cerebras.js +1 -1
  516. package/dist/plugin/provider/chatgpt.js +118 -117
  517. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -114
  518. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -114
  519. package/dist/plugin/provider/cohere.js +2 -2
  520. package/dist/plugin/provider/configured.js +114 -113
  521. package/dist/plugin/provider/databricks.js +1 -1
  522. package/dist/plugin/provider/digitalocean.js +98 -97
  523. package/dist/plugin/provider/dynamic.js +2 -2
  524. package/dist/plugin/provider/factory.js +1 -1
  525. package/dist/plugin/provider/github-copilot.js +100 -99
  526. package/dist/plugin/provider/gitlab.js +98 -97
  527. package/dist/plugin/provider/google-vertex.js +115 -114
  528. package/dist/plugin/provider/kilo.js +1 -1
  529. package/dist/plugin/provider/llmgateway.js +82 -81
  530. package/dist/plugin/provider/lmstudio.js +125 -124
  531. package/dist/plugin/provider/local.js +124 -123
  532. package/dist/plugin/provider/modal.js +97 -96
  533. package/dist/plugin/provider/neon.js +1 -1
  534. package/dist/plugin/provider/nvidia.js +1 -1
  535. package/dist/plugin/provider/ollama.js +127 -126
  536. package/dist/plugin/provider/openai-context-caps.js +95 -94
  537. package/dist/plugin/provider/openai.js +118 -117
  538. package/dist/plugin/provider/opencode.js +104 -103
  539. package/dist/plugin/provider/openrouter.js +96 -95
  540. package/dist/plugin/provider/perplexity.js +2 -2
  541. package/dist/plugin/provider/poe.js +83 -82
  542. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  543. package/dist/plugin/provider/sap-ai-core.js +96 -95
  544. package/dist/plugin/provider/sdk-factory.js +1 -1
  545. package/dist/plugin/provider/snowflake-cortex.js +117 -116
  546. package/dist/plugin/provider/vercel.js +95 -94
  547. package/dist/plugin/provider/vllm.js +127 -126
  548. package/dist/plugin/provider/xai.js +96 -95
  549. package/dist/plugin/provider/zenmux.js +1 -1
  550. package/dist/plugin/provider.js +171 -170
  551. package/dist/plugin/sdk.js +78 -77
  552. package/dist/plugin/service.js +3 -3
  553. package/dist/plugin/skill.js +136 -135
  554. package/dist/plugin/source-directory.js +1 -1
  555. package/dist/plugin/supervisor.js +352 -351
  556. package/dist/plugin/tool-input-repair.js +4 -4
  557. package/dist/plugin/update.js +6 -6
  558. package/dist/plugin/vcs/git.js +91 -90
  559. package/dist/plugin/vcs/hg.js +91 -90
  560. package/dist/plugin/verbosity.js +98 -97
  561. package/dist/plugin/warming.js +116 -115
  562. package/dist/plugin/websearch/exa.js +5 -5
  563. package/dist/plugin/websearch/firecrawl.js +6 -6
  564. package/dist/plugin/websearch/index.js +9 -9
  565. package/dist/plugin/websearch/mcp.js +4 -4
  566. package/dist/plugin/websearch/parallel.js +8 -8
  567. package/dist/plugin/websearch/tavily.js +6 -6
  568. package/dist/plugin/websearch/tinyfish.js +8 -8
  569. package/dist/plugin.js +229 -228
  570. package/dist/project/schema.js +8 -8
  571. package/dist/project/sql.js +4 -4
  572. package/dist/project.js +95 -94
  573. package/dist/provider.js +106 -105
  574. package/dist/pty/protocol.js +1 -1
  575. package/dist/pty/ticket.js +1 -1
  576. package/dist/pty.js +103 -102
  577. package/dist/reference/instructions.js +94 -93
  578. package/dist/reference.js +96 -95
  579. package/dist/repository-cache.js +86 -85
  580. package/dist/repository.js +1 -1
  581. package/dist/ripgrep/binary.js +2 -2
  582. package/dist/ripgrep.js +102 -101
  583. package/dist/rpc.js +91 -90
  584. package/dist/schema.js +1 -1
  585. package/dist/session/affinity.js +1 -1
  586. package/dist/session/command.js +78 -77
  587. package/dist/session/compaction.js +139 -138
  588. package/dist/session/context.js +167 -166
  589. package/dist/session/diff.js +93 -92
  590. package/dist/session/environment.js +5 -5
  591. package/dist/session/error.js +5 -5
  592. package/dist/session/event.js +1 -1
  593. package/dist/session/execution/restart.js +226 -225
  594. package/dist/session/execution.js +133 -132
  595. package/dist/session/generate.js +167 -166
  596. package/dist/session/history.js +15 -15
  597. package/dist/session/inbox.js +97 -96
  598. package/dist/session/info.js +3 -3
  599. package/dist/session/instruction-entry.js +81 -80
  600. package/dist/session/instruction-state.js +8 -8
  601. package/dist/session/instructions.js +98 -97
  602. package/dist/session/message-updater.js +2 -2
  603. package/dist/session/message.js +1 -1
  604. package/dist/session/model-request.js +125 -124
  605. package/dist/session/model-transport.js +9 -9
  606. package/dist/session/move.js +135 -134
  607. package/dist/session/projector.js +93 -92
  608. package/dist/session/prompt.js +110 -109
  609. package/dist/session/recent-text.js +1 -1
  610. package/dist/session/revert.js +99 -98
  611. package/dist/session/run-coordinator.js +1 -1
  612. package/dist/session/runner/index.js +3 -3
  613. package/dist/session/runner/llm.js +233 -232
  614. package/dist/session/runner/max-steps.js +1 -1
  615. package/dist/session/runner/model.js +103 -102
  616. package/dist/session/runner/publish-llm-event.js +118 -117
  617. package/dist/session/runner/retry.js +5 -5
  618. package/dist/session/runner/step.js +129 -128
  619. package/dist/session/runner/to-llm-message.js +14 -14
  620. package/dist/session/schema.js +5 -5
  621. package/dist/session/session.js +165 -164
  622. package/dist/session/shell.js +132 -131
  623. package/dist/session/skill.js +108 -107
  624. package/dist/session/sql.js +5 -5
  625. package/dist/session/stats.js +79 -78
  626. package/dist/session/store.js +89 -88
  627. package/dist/session/subagent-completion.js +1 -1
  628. package/dist/session/subagent-job.js +214 -213
  629. package/dist/session/system-prompt.js +5 -5
  630. package/dist/session/title.js +169 -168
  631. package/dist/session/to-session-error.js +117 -116
  632. package/dist/session/transfer.js +225 -225
  633. package/dist/session/usage.js +1 -1
  634. package/dist/session.js +218 -217
  635. package/dist/shell/parse.js +8 -8
  636. package/dist/shell/result.js +1 -1
  637. package/dist/shell/scan.js +1 -1
  638. package/dist/shell/select.js +15 -15
  639. package/dist/shell.js +134 -133
  640. package/dist/skill/discovery.js +6 -6
  641. package/dist/skill/instructions.js +112 -111
  642. package/dist/skill.js +117 -116
  643. package/dist/snapshot.js +96 -95
  644. package/dist/state.js +1 -1
  645. package/dist/tool/html-markdown.js +1 -1
  646. package/dist/tool/http-body.js +1 -1
  647. package/dist/tool/mcp.js +142 -141
  648. package/dist/tool/plugin/edit.js +125 -124
  649. package/dist/tool/plugin/file-diff.js +1 -1
  650. package/dist/tool/plugin/glob.js +129 -128
  651. package/dist/tool/plugin/grep.js +129 -128
  652. package/dist/tool/plugin/mcp-resource.js +129 -128
  653. package/dist/tool/plugin/opencode.js +114 -113
  654. package/dist/tool/plugin/patch.js +127 -126
  655. package/dist/tool/plugin/question.js +110 -109
  656. package/dist/tool/plugin/read.js +128 -127
  657. package/dist/tool/plugin/shell.js +219 -218
  658. package/dist/tool/plugin/skill.js +118 -117
  659. package/dist/tool/plugin/subagent.js +219 -218
  660. package/dist/tool/plugin/todo.js +140 -139
  661. package/dist/tool/plugin/webfetch.js +118 -117
  662. package/dist/tool/plugin/websearch.js +119 -118
  663. package/dist/tool/plugin/write.js +127 -126
  664. package/dist/tool/read-filesystem.js +105 -104
  665. package/dist/tool/runtime.js +1 -1
  666. package/dist/tool-output.js +7 -7
  667. package/dist/tool.js +12 -12
  668. package/dist/types/database/migration/20261024175301_drop_session_allowance.d.ts +3 -0
  669. package/dist/types/session/history.d.ts +0 -2
  670. package/dist/types/session/runner/publish-llm-event.d.ts +0 -1
  671. package/dist/types/session/schema.d.ts +0 -5
  672. package/dist/types/session/sql.d.ts +0 -16
  673. package/dist/types/session/transfer.d.ts +0 -10
  674. package/dist/types/session/usage.d.ts +0 -2
  675. package/dist/usage-limits.js +93 -92
  676. package/dist/util/error-summary.js +1 -1
  677. package/dist/util/git-executable.js +3 -3
  678. package/dist/util/lazy.js +1 -1
  679. package/dist/util/slug.js +1 -1
  680. package/dist/util/token.js +1 -1
  681. package/dist/util/which.js +1 -1
  682. package/dist/util/wildcard.js +1 -1
  683. package/dist/v1/config/agent.js +5 -5
  684. package/dist/v1/config/command.js +3 -3
  685. package/dist/v1/config/mcp.js +4 -4
  686. package/dist/v1/config/migrate.js +97 -96
  687. package/dist/v1/config/permission.js +7 -7
  688. package/dist/v1/config/plugin.js +1 -1
  689. package/dist/v1/config/provider-options.js +1 -1
  690. package/dist/v1/config/provider.js +4 -4
  691. package/dist/variant.js +98 -97
  692. package/dist/vcs/patch.js +1 -1
  693. package/dist/vcs.js +94 -93
  694. package/dist/voice.js +92 -91
  695. package/dist/websearch.js +88 -87
  696. package/dist/wellknown/plugin.js +80 -79
  697. package/dist/wellknown.js +85 -84
  698. package/dist/workspace/driver.js +5 -5
  699. package/dist/workspace/sql.js +1 -1
  700. package/dist/workspace.js +86 -85
  701. package/dist/worktree/directory.js +2 -2
  702. package/dist/worktree/git.js +9 -9
  703. package/dist/worktree/sql.js +5 -5
  704. package/dist/worktree/strategies.js +94 -93
  705. package/dist/worktree.js +101 -100
  706. package/package.json +8 -8
  707. package/dist/chunks/managed-policy-7yv5xa0k.js +0 -18
  708. package/dist/chunks/managed-policy-7z6mcrx3.js +0 -261
  709. package/dist/chunks/managed-policy-8nedx0w1.js +0 -26
  710. package/dist/chunks/managed-policy-g8qg0zk0.js +0 -517
  711. /package/dist/chunks/{managed-policy-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
  712. /package/dist/chunks/{managed-policy-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
  713. /package/dist/chunks/{managed-policy-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
  714. /package/dist/chunks/{managed-policy-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
  715. /package/dist/chunks/{managed-policy-24dcb14g.js → generate-24dcb14g.js} +0 -0
  716. /package/dist/chunks/{managed-policy-2710q6r3.js → generate-2710q6r3.js} +0 -0
  717. /package/dist/chunks/{managed-policy-2bv980vf.js → generate-2bv980vf.js} +0 -0
  718. /package/dist/chunks/{managed-policy-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
  719. /package/dist/chunks/{managed-policy-359p4xyc.js → generate-359p4xyc.js} +0 -0
  720. /package/dist/chunks/{managed-policy-3asan66x.js → generate-3asan66x.js} +0 -0
  721. /package/dist/chunks/{managed-policy-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
  722. /package/dist/chunks/{managed-policy-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
  723. /package/dist/chunks/{managed-policy-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
  724. /package/dist/chunks/{managed-policy-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
  725. /package/dist/chunks/{managed-policy-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
  726. /package/dist/chunks/{managed-policy-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
  727. /package/dist/chunks/{managed-policy-53557ph1.js → generate-53557ph1.js} +0 -0
  728. /package/dist/chunks/{managed-policy-550bvhaj.js → generate-550bvhaj.js} +0 -0
  729. /package/dist/chunks/{managed-policy-5fjb7ams.js → generate-5fjb7ams.js} +0 -0
  730. /package/dist/chunks/{managed-policy-6prwharc.js → generate-6prwharc.js} +0 -0
  731. /package/dist/chunks/{managed-policy-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
  732. /package/dist/chunks/{managed-policy-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
  733. /package/dist/chunks/{managed-policy-7m9af43g.js → generate-7m9af43g.js} +0 -0
  734. /package/dist/chunks/{managed-policy-822emrt2.js → generate-822emrt2.js} +0 -0
  735. /package/dist/chunks/{managed-policy-84wd9syh.js → generate-84wd9syh.js} +0 -0
  736. /package/dist/chunks/{managed-policy-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
  737. /package/dist/chunks/{managed-policy-8n3pysct.js → generate-8n3pysct.js} +0 -0
  738. /package/dist/chunks/{managed-policy-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
  739. /package/dist/chunks/{managed-policy-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
  740. /package/dist/chunks/{managed-policy-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
  741. /package/dist/chunks/{managed-policy-a058387c.js → generate-a058387c.js} +0 -0
  742. /package/dist/chunks/{managed-policy-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
  743. /package/dist/chunks/{managed-policy-af5trqkr.js → generate-af5trqkr.js} +0 -0
  744. /package/dist/chunks/{managed-policy-afrmfg78.js → generate-afrmfg78.js} +0 -0
  745. /package/dist/chunks/{managed-policy-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
  746. /package/dist/chunks/{managed-policy-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
  747. /package/dist/chunks/{managed-policy-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
  748. /package/dist/chunks/{managed-policy-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
  749. /package/dist/chunks/{managed-policy-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
  750. /package/dist/chunks/{managed-policy-cqv5kn06.js → generate-cqv5kn06.js} +0 -0
  751. /package/dist/chunks/{managed-policy-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
  752. /package/dist/chunks/{managed-policy-d9fn303g.js → generate-d9fn303g.js} +0 -0
  753. /package/dist/chunks/{managed-policy-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
  754. /package/dist/chunks/{managed-policy-dajrwvna.js → generate-dajrwvna.js} +0 -0
  755. /package/dist/chunks/{managed-policy-dap0rakb.js → generate-dap0rakb.js} +0 -0
  756. /package/dist/chunks/{managed-policy-df08tz66.js → generate-df08tz66.js} +0 -0
  757. /package/dist/chunks/{managed-policy-dy18nga0.js → generate-dy18nga0.js} +0 -0
  758. /package/dist/chunks/{managed-policy-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
  759. /package/dist/chunks/{managed-policy-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
  760. /package/dist/chunks/{managed-policy-ec1grn59.js → generate-ec1grn59.js} +0 -0
  761. /package/dist/chunks/{managed-policy-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
  762. /package/dist/chunks/{managed-policy-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
  763. /package/dist/chunks/{managed-policy-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
  764. /package/dist/chunks/{managed-policy-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
  765. /package/dist/chunks/{managed-policy-faypxj3z.js → generate-faypxj3z.js} +0 -0
  766. /package/dist/chunks/{managed-policy-fd410y7t.js → generate-fd410y7t.js} +0 -0
  767. /package/dist/chunks/{managed-policy-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
  768. /package/dist/chunks/{managed-policy-g86h250q.js → generate-g86h250q.js} +0 -0
  769. /package/dist/chunks/{managed-policy-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
  770. /package/dist/chunks/{managed-policy-gftt206x.js → generate-gftt206x.js} +0 -0
  771. /package/dist/chunks/{managed-policy-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
  772. /package/dist/chunks/{managed-policy-hk9envan.js → generate-hk9envan.js} +0 -0
  773. /package/dist/chunks/{managed-policy-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
  774. /package/dist/chunks/{managed-policy-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
  775. /package/dist/chunks/{managed-policy-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
  776. /package/dist/chunks/{managed-policy-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
  777. /package/dist/chunks/{managed-policy-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
  778. /package/dist/chunks/{managed-policy-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
  779. /package/dist/chunks/{managed-policy-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
  780. /package/dist/chunks/{managed-policy-m18g726c.js → generate-m18g726c.js} +0 -0
  781. /package/dist/chunks/{managed-policy-mp448xyj.js → generate-mp448xyj.js} +0 -0
  782. /package/dist/chunks/{managed-policy-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
  783. /package/dist/chunks/{managed-policy-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
  784. /package/dist/chunks/{managed-policy-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
  785. /package/dist/chunks/{managed-policy-njntx4h6.js → generate-njntx4h6.js} +0 -0
  786. /package/dist/chunks/{managed-policy-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
  787. /package/dist/chunks/{managed-policy-q74kybfr.js → generate-q74kybfr.js} +0 -0
  788. /package/dist/chunks/{managed-policy-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
  789. /package/dist/chunks/{managed-policy-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
  790. /package/dist/chunks/{managed-policy-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
  791. /package/dist/chunks/{managed-policy-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
  792. /package/dist/chunks/{managed-policy-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
  793. /package/dist/chunks/{managed-policy-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
  794. /package/dist/chunks/{managed-policy-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
  795. /package/dist/chunks/{managed-policy-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
  796. /package/dist/chunks/{managed-policy-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
  797. /package/dist/chunks/{managed-policy-w803qqfp.js → generate-w803qqfp.js} +0 -0
  798. /package/dist/chunks/{managed-policy-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
  799. /package/dist/chunks/{managed-policy-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
  800. /package/dist/chunks/{managed-policy-wjj7prxr.js → generate-wjj7prxr.js} +0 -0
  801. /package/dist/chunks/{managed-policy-wtztk69x.js → generate-wtztk69x.js} +0 -0
  802. /package/dist/chunks/{managed-policy-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
  803. /package/dist/chunks/{managed-policy-x61499pn.js → generate-x61499pn.js} +0 -0
  804. /package/dist/chunks/{managed-policy-y44na4kk.js → generate-y44na4kk.js} +0 -0
  805. /package/dist/chunks/{managed-policy-y8f7s663.js → generate-y8f7s663.js} +0 -0
  806. /package/dist/chunks/{managed-policy-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
  807. /package/dist/chunks/{managed-policy-ym463w8f.js → generate-ym463w8f.js} +0 -0
  808. /package/dist/chunks/{managed-policy-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
  809. /package/dist/chunks/{managed-policy-z9919s4g.js → generate-z9919s4g.js} +0 -0
@@ -1,132 +1,132 @@
1
1
  import {
2
2
  Metadata2,
3
- node50
4
- } from "./managed-policy-pv3f4fmb.js";
3
+ node56
4
+ } from "./generate-9ebekwpw.js";
5
5
  import {
6
- Service85,
7
- node89
8
- } from "./managed-policy-w9cf5jnd.js";
6
+ Service86,
7
+ node90
8
+ } from "./generate-wqfa8sbf.js";
9
9
  import {
10
- ID17,
11
- Service83,
12
- node87
13
- } from "./managed-policy-bs208s33.js";
10
+ ID15,
11
+ Service81,
12
+ node85
13
+ } from "./generate-67gs8m0e.js";
14
14
  import {
15
- ID12,
15
+ ID11,
16
16
  OAuth3
17
- } from "./managed-policy-e0yygr8n.js";
17
+ } from "./generate-2m52ht03.js";
18
18
  import {
19
- ID11,
19
+ ID10,
20
20
  MethodID2,
21
21
  AttemptID2,
22
22
  Method2,
23
- Service75,
24
- node78
25
- } from "./managed-policy-ca54dx7n.js";
23
+ Service73,
24
+ node77
25
+ } from "./generate-46sv0t9j.js";
26
26
  import {
27
27
  AbsolutePath2
28
- } from "./managed-policy-z5v4ffb3.js";
28
+ } from "./generate-z5v4ffb3.js";
29
29
  import {
30
- Info26,
30
+ Info28,
31
31
  Ref4,
32
- Service81,
33
- node85
34
- } from "./managed-policy-6p9bsfn5.js";
35
- import {
36
- ID10,
37
- Service74,
38
- node77
39
- } from "./managed-policy-a5z798gd.js";
32
+ Service83,
33
+ node87
34
+ } from "./generate-61377pcc.js";
40
35
  import {
41
- Service69,
36
+ ID8,
37
+ Service68,
42
38
  node72
43
- } from "./managed-policy-xar3ete2.js";
44
- import {
45
- Service49,
46
- node53
47
- } from "./managed-policy-p0y7ddwc.js";
39
+ } from "./generate-cg6rqdg0.js";
48
40
  import {
49
- Service67,
41
+ Service66,
50
42
  node70
51
- } from "./managed-policy-je88hrb4.js";
43
+ } from "./generate-mr4qt0w1.js";
52
44
  import {
53
- Service61,
54
- node64
55
- } from "./managed-policy-evsbz9da.js";
45
+ Service53,
46
+ node58
47
+ } from "./generate-c7s0gbm9.js";
56
48
  import {
57
- ID9,
58
- Service73,
59
- node76
60
- } from "./managed-policy-tmb3tnse.js";
49
+ Service63,
50
+ node67
51
+ } from "./generate-gdse6xex.js";
61
52
  import {
62
- ID14
63
- } from "./managed-policy-ayhhxpsd.js";
53
+ Service70,
54
+ node74
55
+ } from "./generate-4xf0z7td.js";
64
56
  import {
65
- Service37,
66
- node40
67
- } from "./managed-policy-7kn810xp.js";
57
+ ID7,
58
+ Service67,
59
+ node71
60
+ } from "./generate-rhpagg0w.js";
68
61
  import {
69
- Service64,
70
- node67
71
- } from "./managed-policy-vwqqd668.js";
62
+ ID5
63
+ } from "./generate-6wrzbp15.js";
64
+ import {
65
+ Service34,
66
+ node37
67
+ } from "./generate-jyk4tkgp.js";
72
68
  import {
73
- Service58,
74
- node61
75
- } from "./managed-policy-mj9xj69n.js";
69
+ Service82,
70
+ node86
71
+ } from "./generate-s12jh10e.js";
72
+ import {
73
+ Service78,
74
+ node82
75
+ } from "./generate-2f776c8r.js";
76
76
  import {
77
77
  Service40,
78
78
  node43,
79
- Error2
80
- } from "./managed-policy-n77kgz3v.js";
79
+ Error3
80
+ } from "./generate-988e81kb.js";
81
81
  import {
82
- Source4,
83
- Service44,
84
- node47
85
- } from "./managed-policy-49z7jvp2.js";
82
+ Source3,
83
+ Service41,
84
+ node44
85
+ } from "./generate-2d8gesjs.js";
86
86
  import {
87
- Info8,
88
- Service39,
89
- node42
90
- } from "./managed-policy-wgbrv6pc.js";
87
+ Info19,
88
+ Service71,
89
+ node75
90
+ } from "./generate-r8en70mr.js";
91
91
  import {
92
- Service24,
93
- node27
94
- } from "./managed-policy-68dpv4bm.js";
92
+ Service23,
93
+ node26
94
+ } from "./generate-4ynggejv.js";
95
+ import {
96
+ Service19,
97
+ node22
98
+ } from "./generate-wtc8kthj.js";
95
99
  import {
96
100
  Service20,
97
101
  node23
98
- } from "./managed-policy-yb6typ28.js";
99
- import {
100
- Service17,
101
- node20
102
- } from "./managed-policy-n52dfyva.js";
102
+ } from "./generate-z67a96cz.js";
103
103
  import {
104
- Service16,
105
- node19
106
- } from "./managed-policy-n6vhe5fc.js";
104
+ Service18,
105
+ node21
106
+ } from "./generate-91rtgvd1.js";
107
107
  import {
108
- ID3,
109
- Service21,
110
- node24
111
- } from "./managed-policy-zfrqmavk.js";
108
+ ID6,
109
+ Service52,
110
+ node57
111
+ } from "./generate-tgy9njqc.js";
112
112
  import {
113
- Service19,
114
- node22
115
- } from "./managed-policy-n3q6whry.js";
113
+ Service22,
114
+ node25
115
+ } from "./generate-wypdqsf3.js";
116
116
  import {
117
117
  StrategyID2,
118
- Info5,
118
+ Info6,
119
119
  ListEntry2,
120
- Service18,
121
- node21
122
- } from "./managed-policy-5ny4wef6.js";
120
+ Service21,
121
+ node24
122
+ } from "./generate-dqv1w111.js";
123
123
  import {
124
- Service51,
125
- node55
126
- } from "./managed-policy-ghp95cmw.js";
124
+ Service64,
125
+ node68
126
+ } from "./generate-2x0b8f33.js";
127
127
  import {
128
128
  __export
129
- } from "./managed-policy-9rqn6x4v.js";
129
+ } from "./generate-9rqn6x4v.js";
130
130
 
131
131
  // src/plugin/host.ts
132
132
  var exports_host = {};
@@ -144,49 +144,49 @@ 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* Service83;
148
- const aisdk = yield* Service69;
149
- const providers = yield* Service74;
150
- const models = yield* Service73;
151
- const commands = yield* Service49;
152
- const bus = yield* Service85;
153
- const integration = yield* Service75;
154
- const kv = yield* Service67;
155
- const mcp = yield* Service37;
156
- const location = yield* Service81;
157
- const reference = yield* Service44;
158
- const rpc = yield* Service17;
159
- const skill = yield* Service39;
147
+ const agents = yield* Service81;
148
+ const aisdk = yield* Service66;
149
+ const providers = yield* Service68;
150
+ const models = yield* Service67;
151
+ const commands = yield* Service53;
152
+ const bus = yield* Service86;
153
+ const integration = yield* Service73;
154
+ const kv = yield* Service63;
155
+ const mcp = yield* Service34;
156
+ const location = yield* Service83;
157
+ const reference = yield* Service41;
158
+ const rpc = yield* Service20;
159
+ const skill = yield* Service71;
160
160
  const tools = yield* Service40;
161
- const vcs = yield* Service16;
162
- const websearch = yield* Service21;
163
- const generate = yield* Service51;
164
- const permission = yield* Service58;
165
- const hooks = yield* Service64;
166
- const sessions = yield* Service24;
167
- const persistentPty = yield* Service20;
168
- const locations = yield* Service61;
169
- const worktrees = yield* Service18;
170
- const worktreeStrategies = yield* Service19;
161
+ const vcs = yield* Service18;
162
+ const websearch = yield* Service52;
163
+ const generate = yield* Service64;
164
+ const permission = yield* Service78;
165
+ const hooks = yield* Service82;
166
+ const sessions = yield* Service23;
167
+ const persistentPty = yield* Service19;
168
+ const locations = yield* Service70;
169
+ const worktrees = yield* Service21;
170
+ const worktreeStrategies = yield* Service22;
171
171
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
172
- const locationInfo = () => new Info26({
172
+ const locationInfo = () => new Info28({
173
173
  directory: location.directory,
174
174
  workspaceID: location.workspaceID,
175
175
  project: location.project
176
176
  });
177
177
  const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
178
178
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
179
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID14.make(input.location.workspace)
179
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID5.make(input.location.workspace)
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);
183
+ const decodeWorktree = Schema.decodeUnknownEffect(Info6);
184
184
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry2));
185
185
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
186
- const location = yield* Service81;
187
- const agents = yield* Service83;
186
+ const location = yield* Service83;
187
+ const agents = yield* Service81;
188
188
  return {
189
- location: new Info26({
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(ID17.make(id)),
222
- default: (id) => editor.default(id === undefined ? undefined : ID17.make(id)),
223
- update: (id, update) => editor.update(ID17.make(id), update),
224
- remove: (id) => editor.remove(ID17.make(id))
221
+ get: (id) => editor.get(ID15.make(id)),
222
+ default: (id) => editor.default(id === undefined ? undefined : ID15.make(id)),
223
+ update: (id, update) => editor.update(ID15.make(id), update),
224
+ remove: (id) => editor.remove(ID15.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(ID10.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(ID8.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(ID10.make(id)),
263
+ get: (id) => editor.get(ID8.make(id)),
264
264
  add: (definition) => editor.add({
265
265
  ...definition,
266
- sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID12.make(definition.sourceConnection.id) } : definition.sourceConnection
266
+ sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID11.make(definition.sourceConnection.id) } : definition.sourceConnection
267
267
  }),
268
- update: (id, update) => editor.update(ID10.make(id), update),
269
- remove: (id) => editor.remove(ID10.make(id)),
268
+ update: (id, update) => editor.update(ID8.make(id), update),
269
+ remove: (id) => editor.remove(ID8.make(id)),
270
270
  models: {
271
- set: (id, models) => editor.models.set(ID10.make(id), models),
272
- update: (providerID, modelID, update) => editor.models.update(ID10.make(providerID), ID9.make(modelID), update),
273
- remove: (providerID, modelID) => editor.models.remove(ID10.make(providerID), ID9.make(modelID))
271
+ set: (id, models) => editor.models.set(ID8.make(id), models),
272
+ update: (providerID, modelID, update) => editor.models.update(ID8.make(providerID), ID7.make(modelID), update),
273
+ remove: (providerID, modelID) => editor.models.remove(ID8.make(providerID), ID7.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 : ID10.make(providerID)),
284
- get: (providerID, modelID) => editor.get(ID10.make(providerID), ID9.make(modelID)),
285
- update: (providerID, modelID, update) => editor.update(ID10.make(providerID), ID9.make(modelID), update),
286
- remove: (providerID, modelID) => editor.remove(ID10.make(providerID), ID9.make(modelID)),
283
+ list: (providerID) => editor.list(providerID === undefined ? undefined : ID8.make(providerID)),
284
+ get: (providerID, modelID) => editor.get(ID8.make(providerID), ID7.make(modelID)),
285
+ update: (providerID, modelID, update) => editor.update(ID8.make(providerID), ID7.make(modelID), update),
286
+ remove: (providerID, modelID) => editor.remove(ID8.make(providerID), ID7.make(modelID)),
287
287
  default: {
288
288
  get: editor.default.get,
289
- set: (providerID, modelID) => editor.default.set(ID10.make(providerID), ID9.make(modelID))
289
+ set: (providerID, modelID) => editor.default.set(ID8.make(providerID), ID7.make(modelID))
290
290
  },
291
291
  provider: {
292
292
  list: editor.provider.list,
293
- get: (id) => editor.provider.get(ID10.make(id))
293
+ get: (id) => editor.provider.get(ID8.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(ID11.make(input.integrationID));
319
+ const item = yield* integration.get(ID10.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: ID11.make(input.integrationID),
326
+ integrationID: ID10.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: ID11.make(input.integrationID),
332
+ integrationID: ID10.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: ID11.make(input.integrationID),
340
+ integrationID: ID10.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: ID11.make(input.integrationID),
346
+ integrationID: ID10.make(input.integrationID),
347
347
  attemptID: AttemptID2.make(input.attemptID)
348
348
  })),
349
349
  complete: (input) => integration.oauth.complete({
350
- integrationID: ID11.make(input.integrationID),
350
+ integrationID: ID10.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: ID11.make(input.integrationID),
355
+ integrationID: ID10.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: ID11.make(input.integrationID),
361
+ integrationID: ID10.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: ID11.make(input.integrationID),
366
+ integrationID: ID10.make(input.integrationID),
367
367
  attemptID: AttemptID2.make(input.attemptID)
368
368
  })),
369
369
  cancel: (input) => integration.command.cancel({
370
- integrationID: ID11.make(input.integrationID),
370
+ integrationID: ID10.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(ID11.make(id)),
377
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID12.make(connection.id) } : connection),
376
+ active: (id) => integration.connection.active(ID10.make(id)),
377
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID11.make(connection.id) } : connection),
378
378
  status: (input) => integration.connection.status({
379
- integrationID: ID11.make(input.integrationID),
380
- connection: input.connection.type === "credential" ? { ...input.connection, id: ID12.make(input.connection.id) } : input.connection,
379
+ integrationID: ID10.make(input.integrationID),
380
+ connection: input.connection.type === "credential" ? { ...input.connection, id: ID11.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(ID11.make(id)),
388
- update: (id, update) => editor.update(ID11.make(id), update),
389
- remove: (id) => editor.remove(ID11.make(id)),
387
+ get: (id) => editor.get(ID10.make(id)),
388
+ update: (id, update) => editor.update(ID10.make(id), update),
389
+ remove: (id) => editor.remove(ID10.make(id)),
390
390
  method: {
391
- list: (id) => editor.method.list(ID11.make(id)),
391
+ list: (id) => editor.method.list(ID10.make(id)),
392
392
  update: (input) => editor.method.update(methodImplementation(input)),
393
- remove: (id, method) => editor.method.remove(ID11.make(id), Schema.decodeUnknownSync(Method2)(method))
393
+ remove: (id, method) => editor.method.remove(ID10.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* Service81;
404
- const mcp = yield* Service37;
403
+ const location = yield* Service83;
404
+ const mcp = yield* Service34;
405
405
  return {
406
- location: new Info26({
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 Error3({ message: error.message, error })),
434
+ "Permission.CorrectedError": (error) => Effect.fail(new Error3({ message: error.feedback, error })),
435
+ "Session.NotFoundError": (error) => Effect.fail(new Error3({ 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(Info8)(value)),
460
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info19)(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 : ID6.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: ID6.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 : ID6.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
- node50,
565
- node87,
564
+ node56,
565
+ node85,
566
+ node70,
566
567
  node72,
568
+ node71,
569
+ node58,
570
+ node90,
567
571
  node77,
568
- node76,
569
- node53,
570
- node89,
571
- node78,
572
- node70,
573
- node40,
574
- node85,
575
- node47,
576
- node20,
577
- node42,
572
+ node67,
573
+ node37,
574
+ node87,
575
+ node44,
576
+ node23,
577
+ node75,
578
578
  node43,
579
- node19,
580
- node24,
581
579
  node21,
580
+ node57,
581
+ node24,
582
+ node25,
583
+ node68,
584
+ node82,
585
+ node86,
586
+ node26,
582
587
  node22,
583
- node55,
584
- node61,
585
- node67,
586
- node27,
587
- node23,
588
- node64
588
+ node74
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: ID11.make(input.integrationID),
615
+ integrationID: ID10.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: ID11.make(input.integrationID),
635
+ integrationID: ID10.make(input.integrationID),
636
636
  method: input.method
637
637
  };
638
638
  }
639
639
  if (input.method.type === "command") {
640
640
  return {
641
- integrationID: ID11.make(input.integrationID),
641
+ integrationID: ID10.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: ID11.make(input.integrationID),
647
+ integrationID: ID10.make(input.integrationID),
648
648
  method: { ...input.method, id: MethodID2.make(input.method.id) }
649
649
  };
650
650
  }
651
651
  return {
652
- integrationID: ID11.make(input.integrationID),
652
+ integrationID: ID10.make(input.integrationID),
653
653
  method: input.method
654
654
  };
655
655
  }