@opencode/core 0.0.0-dev-513 → 0.0.0-dev-519

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 (933) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +90 -90
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +242 -242
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{pty-n515v1q6.js → plugin-0307q67x.js} +4 -4
  9. package/dist/chunks/{pty-aj7mw0zk.js → plugin-034tev2y.js} +2 -2
  10. package/dist/chunks/{pty-0jr76kac.js → plugin-03fcrb20.js} +27 -27
  11. package/dist/chunks/{pty-fvf45ej9.js → plugin-0c17gj5y.js} +32 -32
  12. package/dist/chunks/{pty-g2s3kvm8.js → plugin-0fgydazq.js} +26 -26
  13. package/dist/chunks/{pty-trbkmgn6.js → plugin-0fk7qgkg.js} +8 -8
  14. package/dist/chunks/{pty-659k2zkq.js → plugin-0gawn60p.js} +5 -9
  15. package/dist/chunks/{pty-0ma9gw4f.js → plugin-0ma9gw4f.js} +2 -2
  16. package/dist/chunks/{pty-haj55tp1.js → plugin-0nwyq8xc.js} +15 -15
  17. package/dist/chunks/{pty-c0z0yn58.js → plugin-0r1vvj52.js} +10 -10
  18. package/dist/chunks/{pty-1t1eb7kp.js → plugin-0rprqean.js} +3 -3
  19. package/dist/chunks/{pty-kazckff2.js → plugin-0s190qh7.js} +88 -88
  20. package/dist/chunks/{pty-tnzj1417.js → plugin-0vd1ww2e.js} +8 -8
  21. package/dist/chunks/{pty-eh3zwz77.js → plugin-108x4f4w.js} +1 -10
  22. package/dist/chunks/{pty-4rv3z8zz.js → plugin-143cpz4c.js} +10 -10
  23. package/dist/chunks/{pty-nw314s9d.js → plugin-18aa7g5f.js} +2 -2
  24. package/dist/chunks/{pty-5ar0v554.js → plugin-18b1hh0p.js} +11 -11
  25. package/dist/chunks/{pty-1aqsckx4.js → plugin-1aqsckx4.js} +1 -1
  26. package/dist/chunks/{pty-qrnhzphe.js → plugin-1e94hgbm.js} +21 -21
  27. package/dist/chunks/{pty-27w5k9zf.js → plugin-1ep2p91f.js} +2 -2
  28. package/dist/chunks/{pty-erfgee4t.js → plugin-1g0v3vx9.js} +29 -29
  29. package/dist/chunks/{pty-nkwvx6n5.js → plugin-1w13tshp.js} +20 -20
  30. package/dist/chunks/{pty-qgxn53r2.js → plugin-1w2h5b1p.js} +24 -24
  31. package/dist/chunks/{pty-1x2knyw4.js → plugin-1x2knyw4.js} +1 -1
  32. package/dist/chunks/{pty-2ks6fys2.js → plugin-1ycjxbw0.js} +16 -16
  33. package/dist/chunks/{pty-w96t5dx5.js → plugin-205xss10.js} +15 -15
  34. package/dist/chunks/{pty-eab6qpsk.js → plugin-20j6w53w.js} +28 -28
  35. package/dist/chunks/{pty-pkkerzhz.js → plugin-23ef35a7.js} +9 -9
  36. package/dist/chunks/{pty-q8h8ge1b.js → plugin-25d4jj4c.js} +3 -3
  37. package/dist/chunks/{pty-8b3vzgkx.js → plugin-25h84942.js} +4 -4
  38. package/dist/chunks/{pty-tb2mrvc9.js → plugin-26wfx3k0.js} +4 -4
  39. package/dist/chunks/{pty-kv7gpwre.js → plugin-26x1t9w8.js} +4 -4
  40. package/dist/chunks/{pty-fr031yhe.js → plugin-2jstwc4e.js} +21 -21
  41. package/dist/chunks/{pty-z080rjh6.js → plugin-38aws4xb.js} +4 -4
  42. package/dist/chunks/{pty-k634w52t.js → plugin-3942hstv.js} +31 -31
  43. package/dist/chunks/{pty-04whjz6n.js → plugin-3adw4bt5.js} +9 -9
  44. package/dist/chunks/{pty-e73j6tqm.js → plugin-3af0jn4w.js} +1 -7
  45. package/dist/chunks/{pty-f6pp4qky.js → plugin-3dgyt4sk.js} +54 -54
  46. package/dist/chunks/{pty-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{pty-9h0cdvnk.js → plugin-3jem8rp1.js} +27 -27
  48. package/dist/chunks/{pty-z51hj4f3.js → plugin-3nbgerk0.js} +25 -25
  49. package/dist/chunks/{pty-3nnrz6f6.js → plugin-3nnrz6f6.js} +1 -1
  50. package/dist/chunks/{pty-x4qk82bb.js → plugin-3pf4ebn6.js} +11 -11
  51. package/dist/chunks/{pty-gapbp5pm.js → plugin-400hm5z8.js} +5 -5
  52. package/dist/chunks/{pty-40y6dtc2.js → plugin-40y6dtc2.js} +1 -1
  53. package/dist/chunks/{pty-r41sfy63.js → plugin-40za9wsf.js} +6 -6
  54. package/dist/chunks/{pty-yrx88kft.js → plugin-45wpgpw0.js} +7 -7
  55. package/dist/chunks/{pty-x04h5mrv.js → plugin-46zfztsf.js} +16 -16
  56. package/dist/chunks/{pty-50j5ra4n.js → plugin-4b5w7wew.js} +29 -29
  57. package/dist/chunks/{pty-4dx1dgte.js → plugin-4dx1dgte.js} +1 -1
  58. package/dist/chunks/{pty-4f25tdd0.js → plugin-4f25tdd0.js} +1 -1
  59. package/dist/chunks/{pty-yh1frphp.js → plugin-4gmbvmjy.js} +4 -4
  60. package/dist/chunks/{pty-rhc46xz4.js → plugin-4jbhkvpc.js} +11 -11
  61. package/dist/chunks/{pty-4pyp9zr9.js → plugin-4pyp9zr9.js} +1 -1
  62. package/dist/chunks/{pty-yxaknd5c.js → plugin-4tkdjh03.js} +16 -16
  63. package/dist/chunks/{pty-mgcjyd9g.js → plugin-4tpf07mz.js} +18 -18
  64. package/dist/chunks/{pty-4v008n1t.js → plugin-4v008n1t.js} +1 -1
  65. package/dist/chunks/{pty-28tn5j34.js → plugin-4v75kcj2.js} +13 -13
  66. package/dist/chunks/{pty-6a8kqfnf.js → plugin-52mfrm74.js} +185 -185
  67. package/dist/chunks/{pty-g9y97szr.js → plugin-5czv5vem.js} +3 -3
  68. package/dist/chunks/{pty-654bsdn4.js → plugin-5da9cq3a.js} +11 -11
  69. package/dist/chunks/{pty-zvcp0hmn.js → plugin-5e6t1ybt.js} +4 -4
  70. package/dist/chunks/{pty-7dp4g980.js → plugin-5fd6nf8f.js} +36 -36
  71. package/dist/chunks/{pty-ea5kk55q.js → plugin-5k0e9bef.js} +9 -9
  72. package/dist/chunks/{pty-4rj068ra.js → plugin-5m0kkg6e.js} +3 -3
  73. package/dist/chunks/{pty-2518a6av.js → plugin-5m6m8jcx.js} +16 -16
  74. package/dist/chunks/{pty-5m9w47nd.js → plugin-5m9w47nd.js} +1 -1
  75. package/dist/chunks/{pty-w6zht2k8.js → plugin-5mabv1as.js} +8 -8
  76. package/dist/chunks/{pty-gd52an9j.js → plugin-5q4fwj44.js} +21 -21
  77. package/dist/chunks/{pty-tgc5wewm.js → plugin-5xy2086m.js} +41 -41
  78. package/dist/chunks/{pty-xym735jc.js → plugin-64eehrrp.js} +8 -8
  79. package/dist/chunks/{pty-tcyq6bhw.js → plugin-64h51qjv.js} +9 -9
  80. package/dist/chunks/{pty-3b7wqyfh.js → plugin-659689q6.js} +42 -42
  81. package/dist/chunks/{pty-apk2e2bs.js → plugin-66fcksfe.js} +27 -29
  82. package/dist/chunks/{pty-fn274a08.js → plugin-68y3jp1b.js} +27 -27
  83. package/dist/chunks/{pty-xad1gvt8.js → plugin-6cqkw5v2.js} +7 -7
  84. package/dist/chunks/{pty-nd7r4c3m.js → plugin-6d3d7yn0.js} +30 -30
  85. package/dist/chunks/{pty-fdn86re1.js → plugin-6hkk8qd7.js} +6 -6
  86. package/dist/chunks/{pty-yhg19nad.js → plugin-6wzhfj3x.js} +13 -13
  87. package/dist/chunks/{pty-p85kh4b9.js → plugin-76rtdvsh.js} +18 -18
  88. package/dist/chunks/{pty-80mg3ag8.js → plugin-775hqbnd.js} +3 -3
  89. package/dist/chunks/{pty-nyxvvj5y.js → plugin-79k544d0.js} +5 -5
  90. package/dist/chunks/{pty-c0a85cxq.js → plugin-7b62eh3s.js} +30 -30
  91. package/dist/chunks/{pty-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
  92. package/dist/chunks/{pty-c1gh3vn9.js → plugin-7fcgsqjj.js} +41 -41
  93. package/dist/chunks/{pty-0zjr29y6.js → plugin-7nwg7nkv.js} +31 -31
  94. package/dist/chunks/{pty-w0dbrkjj.js → plugin-7qs3n6rr.js} +20 -20
  95. package/dist/chunks/{pty-be2xj2mn.js → plugin-7sg11x79.js} +12 -12
  96. package/dist/chunks/{pty-7tpyp9vw.js → plugin-7tpyp9vw.js} +1 -1
  97. package/dist/chunks/{pty-7w2ypzdf.js → plugin-7w2ypzdf.js} +1 -1
  98. package/dist/chunks/{pty-7weczvnd.js → plugin-7weczvnd.js} +1 -1
  99. package/dist/chunks/{pty-wxerkmn2.js → plugin-7wr677ys.js} +3 -3
  100. package/dist/chunks/{pty-fg52mjqa.js → plugin-821by267.js} +7 -7
  101. package/dist/chunks/{pty-sp85y8nd.js → plugin-82phgae0.js} +5 -5
  102. package/dist/chunks/{pty-sz3tm3gm.js → plugin-882wabxv.js} +47 -47
  103. package/dist/chunks/{pty-89287pr7.js → plugin-89287pr7.js} +1 -1
  104. package/dist/chunks/{pty-gpqwk5ba.js → plugin-8ay7y1mr.js} +13 -13
  105. package/dist/chunks/{pty-s5mwnp51.js → plugin-8bwj31k3.js} +8 -8
  106. package/dist/chunks/{pty-8cg7mtm3.js → plugin-8cg7mtm3.js} +1 -1
  107. package/dist/chunks/{pty-c3wwghza.js → plugin-8j4sf7tq.js} +9 -9
  108. package/dist/chunks/{pty-08bhk29w.js → plugin-8kdhxkda.js} +51 -51
  109. package/dist/chunks/{pty-ebys333n.js → plugin-8ppcttfd.js} +5 -5
  110. package/dist/chunks/{pty-tfphs1zq.js → plugin-8pt3y8ax.js} +31 -31
  111. package/dist/chunks/{pty-bb3mmwvh.js → plugin-8sxe6kv8.js} +2 -2
  112. package/dist/chunks/{pty-8wtp7s3z.js → plugin-8wtp7s3z.js} +1 -1
  113. package/dist/chunks/{pty-2awgd92s.js → plugin-8x8h4rhy.js} +4 -4
  114. package/dist/chunks/{pty-xksw6ev0.js → plugin-8xz27cp9.js} +4 -4
  115. package/dist/chunks/{pty-wzk0sywq.js → plugin-8z4njp8c.js} +356 -356
  116. package/dist/chunks/{pty-90zstvax.js → plugin-90zstvax.js} +1 -1
  117. package/dist/chunks/{pty-fmyvpwrx.js → plugin-92cgrw0c.js} +11 -11
  118. package/dist/chunks/{pty-z7881fav.js → plugin-963hk181.js} +7 -7
  119. package/dist/chunks/{pty-szwm4crx.js → plugin-96djdqw5.js} +4 -4
  120. package/dist/chunks/{pty-mat0qw5s.js → plugin-97zmy9as.js} +32 -42
  121. package/dist/chunks/{pty-s7kyse9r.js → plugin-9q8g9sv8.js} +4 -4
  122. package/dist/chunks/{pty-5gheszdj.js → plugin-9rgr5dz2.js} +4 -4
  123. package/dist/chunks/{pty-bmy4z589.js → plugin-9smy52bw.js} +21 -21
  124. package/dist/chunks/{pty-gh24x7dt.js → plugin-9y5h6eke.js} +14 -17
  125. package/dist/chunks/{pty-b8dwq97p.js → plugin-9zmrnjhe.js} +6 -6
  126. package/dist/chunks/{pty-2tcca9zd.js → plugin-a33ck5g3.js} +15 -15
  127. package/dist/chunks/{pty-b2d6kd10.js → plugin-asv65enq.js} +23 -23
  128. package/dist/chunks/{pty-bv0keema.js → plugin-aya2pgr4.js} +3 -3
  129. package/dist/chunks/{pty-3cbjf1nt.js → plugin-ayjs7tqn.js} +2 -2
  130. package/dist/chunks/{pty-kjzwj302.js → plugin-azgwy399.js} +24 -24
  131. package/dist/chunks/{pty-xf13msbn.js → plugin-b5dp1yyd.js} +34 -34
  132. package/dist/chunks/{pty-b6vsg801.js → plugin-b6vsg801.js} +2 -2
  133. package/dist/chunks/{pty-pwnwjmpk.js → plugin-b7awpy5c.js} +21 -21
  134. package/dist/chunks/{pty-9cnt8tq7.js → plugin-bqt8n8sn.js} +11 -11
  135. package/dist/chunks/{pty-5qs3xxfj.js → plugin-bsft2v7w.js} +18 -18
  136. package/dist/chunks/{pty-xd9cc171.js → plugin-bstexjd6.js} +5 -5
  137. package/dist/chunks/{pty-39w45v6e.js → plugin-bwda0h4h.js} +6 -13
  138. package/dist/chunks/{pty-yxrmjvdn.js → plugin-bytt2466.js} +24 -24
  139. package/dist/chunks/{pty-zmx3s5hb.js → plugin-c0g1rcjh.js} +28 -28
  140. package/dist/chunks/{pty-ea27ppw6.js → plugin-c0mz4dw7.js} +7 -7
  141. package/dist/chunks/{pty-vwqd7bxt.js → plugin-ch1bfet6.js} +22 -22
  142. package/dist/chunks/{pty-7nsaabgw.js → plugin-ch5jtm51.js} +5 -5
  143. package/dist/chunks/{pty-hbvmt4xp.js → plugin-cj804wmc.js} +4 -4
  144. package/dist/chunks/{pty-kvbbjz3k.js → plugin-cjt6hyjh.js} +59 -59
  145. package/dist/chunks/{pty-srvw3mxg.js → plugin-cmww38cp.js} +4 -4
  146. package/dist/chunks/{pty-xngq7d9m.js → plugin-cq0xhnx7.js} +81 -81
  147. package/dist/chunks/{pty-da6gh99y.js → plugin-cqshc3qt.js} +11 -36
  148. package/dist/chunks/{pty-vq0qa3sh.js → plugin-ctmpqb7w.js} +9 -9
  149. package/dist/chunks/{pty-cwrgdav8.js → plugin-cwrgdav8.js} +2 -2
  150. package/dist/chunks/plugin-d0ypfarx.js +26 -0
  151. package/dist/chunks/{pty-rcx3bfwc.js → plugin-d29ybxya.js} +4 -4
  152. package/dist/chunks/{pty-d4v9tmah.js → plugin-d4v9tmah.js} +2 -2
  153. package/dist/chunks/{pty-x29wv32c.js → plugin-d5p8nnrp.js} +29 -29
  154. package/dist/chunks/{pty-k07ws8by.js → plugin-d6nd5g21.js} +6 -6
  155. package/dist/chunks/{pty-mpb394t4.js → plugin-d9rtw456.js} +32 -32
  156. package/dist/chunks/{pty-dt77769w.js → plugin-dt77769w.js} +1 -1
  157. package/dist/chunks/{pty-k63t3j85.js → plugin-e402ykp8.js} +9 -9
  158. package/dist/chunks/{pty-e834z07m.js → plugin-e834z07m.js} +1 -1
  159. package/dist/chunks/{pty-8yb9m984.js → plugin-ebgwwyf3.js} +12 -12
  160. package/dist/chunks/{pty-0te9byq8.js → plugin-ed9atyp6.js} +28 -28
  161. package/dist/chunks/{pty-q187sr27.js → plugin-egs6vbpk.js} +19 -19
  162. package/dist/chunks/{pty-nz5h4cjb.js → plugin-ejkdhtg9.js} +1 -1
  163. package/dist/chunks/{pty-7h22etv1.js → plugin-ep6snxvm.js} +5 -5
  164. package/dist/chunks/{pty-eqw4pqj1.js → plugin-eqw4pqj1.js} +2 -2
  165. package/dist/chunks/{pty-ppcv2fse.js → plugin-et1f68h9.js} +11 -11
  166. package/dist/chunks/{pty-g1x3338p.js → plugin-ez4sqtdc.js} +3 -3
  167. package/dist/chunks/{pty-ezna1kdx.js → plugin-ezna1kdx.js} +1 -1
  168. package/dist/chunks/{pty-ak5gz8d8.js → plugin-fdqvem49.js} +3 -3
  169. package/dist/chunks/{pty-55858vys.js → plugin-fe12914f.js} +12 -12
  170. package/dist/chunks/{pty-6935jb0f.js → plugin-fere6m7x.js} +16 -16
  171. package/dist/chunks/{pty-fffv3p7h.js → plugin-fffv3p7h.js} +1 -1
  172. package/dist/chunks/{pty-2rvvwxmf.js → plugin-ffwf0set.js} +5 -5
  173. package/dist/chunks/{pty-fg9p65nk.js → plugin-fg9p65nk.js} +2 -2
  174. package/dist/chunks/{pty-ge41aakr.js → plugin-fh35p99c.js} +11 -11
  175. package/dist/chunks/{pty-t600mkfg.js → plugin-fn8jvz8n.js} +16 -16
  176. package/dist/chunks/{pty-dm24tqc7.js → plugin-fxd1mh99.js} +10 -10
  177. package/dist/chunks/{pty-jraeh57d.js → plugin-g2qxe5yd.js} +10 -10
  178. package/dist/chunks/{pty-6dqyy18z.js → plugin-g8gy8cqb.js} +4 -4
  179. package/dist/chunks/{pty-jgktxrwk.js → plugin-g9c7e3vx.js} +15 -15
  180. package/dist/chunks/{pty-gbjdnr5j.js → plugin-gbjdnr5j.js} +2 -2
  181. package/dist/chunks/{pty-1fa7jad0.js → plugin-gezffjc8.js} +16 -16
  182. package/dist/chunks/{pty-ghrv1g9c.js → plugin-ghrv1g9c.js} +1 -1
  183. package/dist/chunks/{pty-8n09hdvs.js → plugin-gjweb3gp.js} +4 -4
  184. package/dist/chunks/{pty-v3hpn5wv.js → plugin-gn5zcm9s.js} +20 -21
  185. package/dist/chunks/{pty-jw5816mk.js → plugin-gr50ewac.js} +15 -15
  186. package/dist/chunks/{pty-tg7s7b5t.js → plugin-gxs71cxp.js} +4 -4
  187. package/dist/chunks/{pty-ayz3ejvk.js → plugin-h2w0evjw.js} +28 -28
  188. package/dist/chunks/{pty-c3p97ra1.js → plugin-h2yyaxhq.js} +28 -30
  189. package/dist/chunks/{pty-prvyngaa.js → plugin-h3gq0p8j.js} +8 -119
  190. package/dist/chunks/{pty-0qfwrc6c.js → plugin-h6y5cyye.js} +7 -7
  191. package/dist/chunks/{pty-gqq2rd3z.js → plugin-hc7jz7r9.js} +51 -51
  192. package/dist/chunks/{pty-cwwdfq61.js → plugin-hccd5xc6.js} +6 -6
  193. package/dist/chunks/{pty-vsp3v0h1.js → plugin-hh9dw27j.js} +6 -6
  194. package/dist/chunks/{pty-b7q2kk65.js → plugin-hnb0d39k.js} +6 -6
  195. package/dist/chunks/{pty-9wenq46a.js → plugin-hr807t1y.js} +11 -11
  196. package/dist/chunks/{pty-smsep8gg.js → plugin-hva22j4a.js} +19 -19
  197. package/dist/chunks/{pty-qv4xbp49.js → plugin-hw1j2f02.js} +7 -7
  198. package/dist/chunks/{pty-we1nkpqm.js → plugin-hx394b5m.js} +10 -10
  199. package/dist/chunks/{pty-fe97g4vx.js → plugin-hy66zyk1.js} +17 -17
  200. package/dist/chunks/{pty-8t99kr38.js → plugin-j1zpf99x.js} +7 -7
  201. package/dist/chunks/{pty-tr8x705m.js → plugin-j376ae4e.js} +5 -5
  202. package/dist/chunks/{pty-ze75qvmd.js → plugin-j9nxzz3g.js} +3 -3
  203. package/dist/chunks/{pty-q53j9prd.js → plugin-jfcqwqwp.js} +6 -6
  204. package/dist/chunks/{pty-qqht4f3t.js → plugin-jgsj3drs.js} +34 -34
  205. package/dist/chunks/{pty-cr4rfj9z.js → plugin-jkdcm5hg.js} +4 -4
  206. package/dist/chunks/{pty-he8e2fqg.js → plugin-jsjkdva5.js} +13 -13
  207. package/dist/chunks/{pty-bekm5p4a.js → plugin-jwcrseny.js} +20 -20
  208. package/dist/chunks/{pty-44pmzq9c.js → plugin-jxd6f16v.js} +2 -2
  209. package/dist/chunks/{pty-vh8cf7c0.js → plugin-jz1wtjz3.js} +5 -5
  210. package/dist/chunks/{pty-2xwkyk0m.js → plugin-k151g6mf.js} +5 -5
  211. package/dist/chunks/{pty-kq3sm1ep.js → plugin-k2qbgnm5.js} +15 -15
  212. package/dist/chunks/{pty-z9fr3t5s.js → plugin-k3zq5bxc.js} +5 -5
  213. package/dist/chunks/{pty-488wrreq.js → plugin-k8p04dbv.js} +12 -12
  214. package/dist/chunks/{pty-kh8gdsej.js → plugin-kh8gdsej.js} +1 -1
  215. package/dist/chunks/{pty-k46dd5bg.js → plugin-kj9n5bvh.js} +4 -4
  216. package/dist/chunks/{pty-jkmfd651.js → plugin-ksw9nvwk.js} +26 -26
  217. package/dist/chunks/{pty-kt3bjfbg.js → plugin-kt3bjfbg.js} +1 -1
  218. package/dist/chunks/{pty-kzczzf4v.js → plugin-kzczzf4v.js} +1 -1
  219. package/dist/chunks/{pty-qk5sk9d1.js → plugin-kzdam8c6.js} +7 -7
  220. package/dist/chunks/{pty-m1714858.js → plugin-m1714858.js} +1 -1
  221. package/dist/chunks/{pty-55tsekh9.js → plugin-m22qpjt0.js} +40 -40
  222. package/dist/chunks/{pty-77ehzzh1.js → plugin-m28a2cxj.js} +20 -20
  223. package/dist/chunks/{pty-t9s2jeab.js → plugin-m3vj42yh.js} +11 -11
  224. package/dist/chunks/{pty-5cmp3exa.js → plugin-m84ty610.js} +15 -15
  225. package/dist/chunks/{pty-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
  226. package/dist/chunks/{pty-8z6m94af.js → plugin-mb7mbhnz.js} +3 -3
  227. package/dist/chunks/{pty-jbze84ed.js → plugin-mgx795sg.js} +18 -18
  228. package/dist/chunks/{pty-3dn304yc.js → plugin-mkqdp8ha.js} +8 -8
  229. package/dist/chunks/{pty-xczh4mb3.js → plugin-mmv5kgnn.js} +11 -11
  230. package/dist/chunks/{pty-76ek7j69.js → plugin-mrba6hw6.js} +8 -8
  231. package/dist/chunks/{pty-f96z8a64.js → plugin-mvfgry4c.js} +13 -13
  232. package/dist/chunks/{pty-kthmjft2.js → plugin-mzy2axmh.js} +3 -3
  233. package/dist/chunks/{pty-288dktsv.js → plugin-n28cn2fs.js} +6 -326
  234. package/dist/chunks/{pty-j1m6936b.js → plugin-n29tdv07.js} +16 -16
  235. package/dist/chunks/{pty-frh3mjer.js → plugin-n33wks76.js} +20 -20
  236. package/dist/chunks/{pty-etatbea9.js → plugin-n995p2xd.js} +30 -30
  237. package/dist/chunks/{pty-e6hhhbsa.js → plugin-nf9zancy.js} +25 -25
  238. package/dist/chunks/{pty-xzakt4mt.js → plugin-nvrmqqyc.js} +41 -44
  239. package/dist/chunks/{pty-pzmcnx89.js → plugin-p1g7zq4e.js} +12 -12
  240. package/dist/chunks/{pty-p7vhpwh8.js → plugin-p7vhpwh8.js} +1 -1
  241. package/dist/chunks/{pty-rm3930ch.js → plugin-pdyefe2s.js} +20 -20
  242. package/dist/chunks/{pty-vyb022hh.js → plugin-pjn7nv2s.js} +57 -60
  243. package/dist/chunks/{pty-pknna89w.js → plugin-pknna89w.js} +1 -1
  244. package/dist/chunks/{pty-8ykqf5wm.js → plugin-pnwsrq7c.js} +8 -8
  245. package/dist/chunks/{pty-scj3yyxn.js → plugin-ps7x4nfx.js} +24 -24
  246. package/dist/chunks/{pty-mypzkbjq.js → plugin-psa3qbev.js} +11 -11
  247. package/dist/chunks/{pty-rj7j5fvs.js → plugin-px7qpgcn.js} +4 -4
  248. package/dist/chunks/{pty-rbvjmsc7.js → plugin-py5xaqhw.js} +28 -28
  249. package/dist/chunks/{pty-1p367p45.js → plugin-qchry0bm.js} +12 -12
  250. package/dist/chunks/{pty-skdkpe37.js → plugin-qeza7szv.js} +18 -18
  251. package/dist/chunks/{pty-e45fk36t.js → plugin-qkc3z5ds.js} +4 -4
  252. package/dist/chunks/{pty-qp7r0hxv.js → plugin-qp7r0hxv.js} +1 -1
  253. package/dist/chunks/{pty-xwkfc1jv.js → plugin-qqd78179.js} +15 -15
  254. package/dist/chunks/{pty-qqvy8y24.js → plugin-qqvy8y24.js} +1 -1
  255. package/dist/chunks/{pty-kb91f2ce.js → plugin-qsxr0pb6.js} +6 -6
  256. package/dist/chunks/plugin-r21r83t2.js +265 -0
  257. package/dist/chunks/{pty-e18eb6k2.js → plugin-r2jsee34.js} +8 -8
  258. package/dist/chunks/plugin-ranh0xe7.js +16 -0
  259. package/dist/chunks/{pty-rb9dy4dg.js → plugin-rb9dy4dg.js} +1 -1
  260. package/dist/chunks/{pty-sjtej4jg.js → plugin-rd9wcvfd.js} +5 -5
  261. package/dist/chunks/{pty-rgc9cx3e.js → plugin-rgc9cx3e.js} +2 -2
  262. package/dist/chunks/{pty-fvwmbxrt.js → plugin-rh4e39b1.js} +5 -5
  263. package/dist/chunks/{pty-8wjgamp7.js → plugin-rmv7fhs4.js} +3 -3
  264. package/dist/chunks/{pty-6dtfbb2g.js → plugin-rsh0a03v.js} +12 -12
  265. package/dist/chunks/{pty-rt5dr6hb.js → plugin-rt5dr6hb.js} +1 -1
  266. package/dist/chunks/{pty-wedqffd6.js → plugin-rx91prjf.js} +11 -11
  267. package/dist/chunks/{pty-0023dqyf.js → plugin-s077j9hd.js} +38 -38
  268. package/dist/chunks/{pty-2p60zmnr.js → plugin-s1ba0vj0.js} +2 -2
  269. package/dist/chunks/{pty-s8qtxmzm.js → plugin-s8qtxmzm.js} +1 -1
  270. package/dist/chunks/{pty-sa3fpqfw.js → plugin-sa3fpqfw.js} +2 -2
  271. package/dist/chunks/{pty-sbya78hr.js → plugin-sbya78hr.js} +1 -1
  272. package/dist/chunks/{pty-sbz71ybr.js → plugin-sbz71ybr.js} +1 -1
  273. package/dist/chunks/{pty-67zhfnr5.js → plugin-scmk72rv.js} +5 -5
  274. package/dist/chunks/{pty-0j7gp832.js → plugin-sqjzf8x2.js} +4 -4
  275. package/dist/chunks/{pty-nt907s04.js → plugin-stbett4v.js} +3 -3
  276. package/dist/chunks/{pty-svcy3p9a.js → plugin-svcy3p9a.js} +1 -1
  277. package/dist/chunks/{pty-we7ta21m.js → plugin-syxe2jw8.js} +6 -6
  278. package/dist/chunks/{pty-24cv518k.js → plugin-t5tepyg2.js} +9 -9
  279. package/dist/chunks/{pty-8ykbxn4t.js → plugin-t70bn8z7.js} +13 -13
  280. package/dist/chunks/{pty-tczq8hjw.js → plugin-tczq8hjw.js} +1 -1
  281. package/dist/chunks/{pty-btjprcgw.js → plugin-tjyxzeh0.js} +14 -14
  282. package/dist/chunks/{pty-06x2tb2z.js → plugin-tssnwzvm.js} +43 -43
  283. package/dist/chunks/{pty-g1h0e984.js → plugin-tvfn97n0.js} +9 -9
  284. package/dist/chunks/{pty-tvtps2q9.js → plugin-tvtps2q9.js} +1 -1
  285. package/dist/chunks/{pty-twssxy5n.js → plugin-twssxy5n.js} +2 -2
  286. package/dist/chunks/{pty-1er6rw3f.js → plugin-ty825d7j.js} +5 -5
  287. package/dist/chunks/{pty-he6fdh83.js → plugin-v055br61.js} +4 -4
  288. package/dist/chunks/{pty-xcx3vbqx.js → plugin-v1nhkc67.js} +9 -9
  289. package/dist/chunks/{pty-v2r1d0zg.js → plugin-v2r1d0zg.js} +1 -1
  290. package/dist/chunks/{pty-xj846p5w.js → plugin-v6ffavxp.js} +18 -13
  291. package/dist/chunks/{pty-s2pfznc4.js → plugin-v80n1jgs.js} +6 -6
  292. package/dist/chunks/{pty-9wydm227.js → plugin-v9nnbbtp.js} +7 -7
  293. package/dist/chunks/{pty-t41k4f06.js → plugin-v9x69s9r.js} +11 -11
  294. package/dist/chunks/{pty-ycjen0nk.js → plugin-vactc6jv.js} +38 -38
  295. package/dist/chunks/{pty-y63cdny4.js → plugin-van5qev3.js} +7 -7
  296. package/dist/chunks/{pty-nvwv1dfk.js → plugin-vb3hc0dy.js} +23 -23
  297. package/dist/chunks/{pty-6f7774sy.js → plugin-veq7nxyb.js} +18 -18
  298. package/dist/chunks/{pty-vjf35v1f.js → plugin-vjf35v1f.js} +1 -1
  299. package/dist/chunks/{pty-czhsb2q6.js → plugin-vnepjky2.js} +21 -21
  300. package/dist/chunks/{pty-hav9640s.js → plugin-vntx4tw2.js} +32 -32
  301. package/dist/chunks/{pty-snyjxc4r.js → plugin-vz9qepft.js} +27 -30
  302. package/dist/chunks/{pty-xg3etxpz.js → plugin-w2sgeva4.js} +3 -3
  303. package/dist/chunks/{pty-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
  304. package/dist/chunks/{pty-gmn6pm9k.js → plugin-w7zjgm3x.js} +14 -14
  305. package/dist/chunks/{pty-yw6v6yt8.js → plugin-w8a1xme7.js} +18 -18
  306. package/dist/chunks/{pty-xygzzjxz.js → plugin-w986w4hx.js} +6 -6
  307. package/dist/chunks/{pty-wakvkjy4.js → plugin-wakvkjy4.js} +1 -1
  308. package/dist/chunks/{pty-wd87259q.js → plugin-wd87259q.js} +1 -1
  309. package/dist/chunks/{pty-ab8ej67z.js → plugin-wd8v34mw.js} +5 -5
  310. package/dist/chunks/{pty-nx4vzyjd.js → plugin-wegkxhrn.js} +2 -2
  311. package/dist/chunks/{pty-qsdghx1p.js → plugin-wfdx5ztx.js} +4 -4
  312. package/dist/chunks/{pty-y99mgccj.js → plugin-wg3vpxnx.js} +5 -5
  313. package/dist/chunks/{pty-wnhgecwx.js → plugin-wnhgecwx.js} +1 -1
  314. package/dist/chunks/{pty-w687dnns.js → plugin-wr3re1en.js} +4 -4
  315. package/dist/chunks/{pty-b7xq4dcs.js → plugin-ww36sbnk.js} +4 -4
  316. package/dist/chunks/{pty-xygagwej.js → plugin-x0z7edbs.js} +21 -21
  317. package/dist/chunks/{pty-qj27ec1j.js → plugin-x4mcewfn.js} +4 -4
  318. package/dist/chunks/{pty-rqr4sfbw.js → plugin-x7daqgzn.js} +39 -39
  319. package/dist/chunks/{pty-vr57n06r.js → plugin-x8n516ga.js} +9 -9
  320. package/dist/chunks/{pty-h16d3r43.js → plugin-xa4rzg62.js} +35 -35
  321. package/dist/chunks/{pty-3fyhdc57.js → plugin-xbtkckw0.js} +32 -32
  322. package/dist/chunks/{pty-yx0s3wdh.js → plugin-xd4rj5dr.js} +17 -17
  323. package/dist/chunks/{pty-7y5ejeck.js → plugin-xeb6r8mn.js} +68 -68
  324. package/dist/chunks/{pty-xjr6c8m4.js → plugin-xjr6c8m4.js} +1 -1
  325. package/dist/chunks/{pty-c6x7d2ts.js → plugin-xmx7xj34.js} +4 -4
  326. package/dist/chunks/{pty-awz4eek6.js → plugin-xnw3wznc.js} +15 -9
  327. package/dist/chunks/{pty-6095q8tb.js → plugin-xpbztm1g.js} +21 -21
  328. package/dist/chunks/{pty-392kfhz5.js → plugin-xqeg9bew.js} +11 -11
  329. package/dist/chunks/{pty-3wb7g1gt.js → plugin-xr2zjevv.js} +2 -2
  330. package/dist/chunks/{pty-4r9sfa39.js → plugin-xysn4frr.js} +14 -14
  331. package/dist/chunks/{pty-yj36cpkw.js → plugin-xz3qdgg9.js} +6 -6
  332. package/dist/chunks/{pty-2y6sjp8j.js → plugin-y2bhwy3z.js} +9 -9
  333. package/dist/chunks/{pty-x26wqd07.js → plugin-y4n6pw34.js} +4 -4
  334. package/dist/chunks/{pty-yb20nhc3.js → plugin-yb20nhc3.js} +1 -1
  335. package/dist/chunks/{pty-msd2a3qm.js → plugin-ybws1qgk.js} +4 -4
  336. package/dist/chunks/{pty-mqg1yz44.js → plugin-yfzjcqwq.js} +16 -16
  337. package/dist/chunks/{pty-bnr8j2y9.js → plugin-ygsqpktb.js} +15 -15
  338. package/dist/chunks/{pty-f2cwqqap.js → plugin-yj0rtb4n.js} +37 -37
  339. package/dist/chunks/{pty-yr705xyq.js → plugin-yr705xyq.js} +1 -1
  340. package/dist/chunks/{pty-yvtc2x31.js → plugin-yvtc2x31.js} +1 -1
  341. package/dist/chunks/{pty-yhqe6hsm.js → plugin-z34m5vvf.js} +9 -9
  342. package/dist/chunks/{pty-vgv0ynd3.js → plugin-zbnm3t1v.js} +15 -15
  343. package/dist/chunks/{pty-knrrsbj9.js → plugin-zhwa4vsz.js} +30 -30
  344. package/dist/chunks/{pty-b5ppfg7c.js → plugin-znwf6q4v.js} +45 -45
  345. package/dist/chunks/{pty-ygqv5g3p.js → plugin-zq70qzgy.js} +28 -28
  346. package/dist/chunks/{pty-0afnvty9.js → plugin-zt1atjsr.js} +16 -16
  347. package/dist/codemode/catalog.js +1 -1
  348. package/dist/codemode/execution.js +5 -5
  349. package/dist/codemode/fetch.js +145 -145
  350. package/dist/codemode/instructions.js +9 -9
  351. package/dist/codemode/tool.js +151 -151
  352. package/dist/command.js +94 -94
  353. package/dist/config/discovery.js +95 -95
  354. package/dist/config/integration.js +5 -5
  355. package/dist/config/managed.js +1 -1
  356. package/dist/config/markdown.js +1 -1
  357. package/dist/config/normalize.js +112 -112
  358. package/dist/config/plugin/agent.js +131 -131
  359. package/dist/config/plugin/command.js +232 -232
  360. package/dist/config/plugin/compaction.js +171 -171
  361. package/dist/config/plugin/compatibility.js +150 -150
  362. package/dist/config/plugin/entry-observer.js +1 -1
  363. package/dist/config/plugin/formatter.js +131 -131
  364. package/dist/config/plugin/image.js +130 -130
  365. package/dist/config/plugin/instruction.js +130 -130
  366. package/dist/config/plugin/location-watcher.js +130 -130
  367. package/dist/config/plugin/mcp.js +139 -139
  368. package/dist/config/plugin/policy.js +130 -130
  369. package/dist/config/plugin/provider.js +130 -130
  370. package/dist/config/plugin/reference.js +132 -132
  371. package/dist/config/plugin/shell.js +132 -132
  372. package/dist/config/plugin/skill-file.js +146 -146
  373. package/dist/config/plugin/skill-scan.js +1 -1
  374. package/dist/config/plugin/skill.js +153 -153
  375. package/dist/config/plugin/snapshot.js +130 -130
  376. package/dist/config/plugin/source.js +128 -128
  377. package/dist/config/plugin/tool-output.js +131 -131
  378. package/dist/config/plugin/websearch.js +131 -131
  379. package/dist/config/plugin/worktree.js +132 -132
  380. package/dist/config/variable.js +1 -1
  381. package/dist/config/watch.js +1 -1
  382. package/dist/config.js +131 -131
  383. package/dist/console-access.js +1 -1
  384. package/dist/credential/sql.js +2 -2
  385. package/dist/credential.js +94 -94
  386. package/dist/database/database.js +77 -77
  387. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  388. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  389. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  390. package/dist/database/drizzle/index.js +13 -13
  391. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  392. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  393. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  394. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  395. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  396. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  397. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  398. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  399. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  400. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  401. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  402. package/dist/database/drizzle.js +14 -14
  403. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  404. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  405. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  406. package/dist/database/migration/20260225215848_workspace.js +1 -1
  407. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  408. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  409. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  410. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  411. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  412. package/dist/database/migration/20260323234822_events.js +1 -1
  413. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  414. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  415. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  416. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  417. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  418. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  419. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  420. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  421. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  422. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  423. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  424. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  425. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  426. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  427. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  428. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  429. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  430. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  431. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  432. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  433. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  434. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  435. package/dist/database/migration/20260611035744_credential.js +1 -1
  436. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  437. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  438. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  439. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  440. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  441. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  442. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  443. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  444. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  445. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  446. package/dist/database/migration/20260812213948_worktree.js +1 -1
  447. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  448. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  449. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  450. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  451. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  452. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  453. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  454. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  455. package/dist/database/migration/20261025123711_blob.js +1 -1
  456. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  457. package/dist/database/migration/20261026223005_schedule.js +1 -1
  458. package/dist/database/migration/20261029002625_session_part.js +1 -1
  459. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  460. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  461. package/dist/database/migration/20261030054400_job.js +1 -1
  462. package/dist/database/migration.gen.js +60 -60
  463. package/dist/database/migration.js +62 -62
  464. package/dist/database/path.js +2 -2
  465. package/dist/database/schema.gen.js +1 -1
  466. package/dist/database/schema.sql.js +1 -1
  467. package/dist/database/v1-migration.bun.js +100 -100
  468. package/dist/database/v1-migration.js +1 -1
  469. package/dist/effect/app-node-builder.js +435 -435
  470. package/dist/effect/app-node-platform.js +2 -2
  471. package/dist/effect/keyed-mutex.js +1 -1
  472. package/dist/effect/websocket-constructor.js +1 -1
  473. package/dist/environment/driver.js +1 -1
  474. package/dist/environment/environment.js +105 -105
  475. package/dist/environment/exec-defaults.js +2 -2
  476. package/dist/environment/files.js +1 -1
  477. package/dist/environment/index.js +107 -107
  478. package/dist/environment/local.js +2 -2
  479. package/dist/environment/memory.js +2 -2
  480. package/dist/environment/unavailable.js +3 -3
  481. package/dist/event/sql.js +1 -1
  482. package/dist/event-logger.js +81 -81
  483. package/dist/file-access.js +157 -157
  484. package/dist/file-mutation.js +108 -108
  485. package/dist/file-retention.js +1 -1
  486. package/dist/file-write.js +161 -161
  487. package/dist/filesystem/fff.bun.js +2 -2
  488. package/dist/filesystem/fff.js +1 -1
  489. package/dist/filesystem/fff.node.js +2 -2
  490. package/dist/filesystem/fff.workerd.js +2 -2
  491. package/dist/filesystem/file-watch.js +88 -88
  492. package/dist/filesystem/location-watcher-policy.js +6 -6
  493. package/dist/filesystem/location-watcher.js +245 -245
  494. package/dist/filesystem/protected.js +1 -1
  495. package/dist/filesystem/search.js +113 -113
  496. package/dist/filesystem/watcher-binding.js +1 -1
  497. package/dist/filesystem/watcher.js +9 -9
  498. package/dist/filesystem.js +118 -118
  499. package/dist/form.js +87 -87
  500. package/dist/formatter/builtins.js +2 -2
  501. package/dist/formatter.js +100 -100
  502. package/dist/generate.js +120 -120
  503. package/dist/git.js +7 -7
  504. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  505. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  506. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  507. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  508. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  509. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  510. package/dist/github-copilot/copilot-provider.js +17 -17
  511. package/dist/github-copilot/models.js +104 -104
  512. package/dist/github-copilot/openai-compatible-error.js +1 -1
  513. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  514. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  515. package/dist/github-copilot/responses/openai-error.js +1 -1
  516. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  517. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  518. package/dist/github-copilot/responses/tool/code-interpreter.js +3 -7
  519. package/dist/github-copilot/responses/tool/file-search.js +2 -4
  520. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  521. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  522. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  523. package/dist/image/notice.js +3 -3
  524. package/dist/image/photon-normalize.js +1 -1
  525. package/dist/image/photon-worker.js +1 -1
  526. package/dist/image/photon.js +4 -4
  527. package/dist/image.js +6 -6
  528. package/dist/instance/service.js +5 -5
  529. package/dist/instance.js +426 -426
  530. package/dist/instruction-discovery.js +89 -89
  531. package/dist/instructions/builtins.js +100 -100
  532. package/dist/instructions/index.js +1 -1
  533. package/dist/integration/connection.js +3 -3
  534. package/dist/integration.js +98 -98
  535. package/dist/job/sql.js +2 -2
  536. package/dist/job.js +88 -88
  537. package/dist/kv/sql.js +2 -2
  538. package/dist/kv.js +84 -84
  539. package/dist/location-activity.js +176 -176
  540. package/dist/location-lifecycle.js +150 -150
  541. package/dist/location-service-map.js +99 -99
  542. package/dist/location-services.js +423 -423
  543. package/dist/location.js +100 -100
  544. package/dist/managed-policy.js +3 -3
  545. package/dist/mcp/client.js +105 -105
  546. package/dist/mcp/connection.js +104 -104
  547. package/dist/mcp/index.js +118 -118
  548. package/dist/mcp/instructions.js +181 -181
  549. package/dist/mcp/oauth.js +89 -89
  550. package/dist/mcp/socket-client.js +1 -1
  551. package/dist/mcp/stdio.js +104 -104
  552. package/dist/mime.js +1 -1
  553. package/dist/modal/models.js +104 -104
  554. package/dist/model-resolver.js +112 -112
  555. package/dist/model-retry.js +1 -1
  556. package/dist/model.js +113 -113
  557. package/dist/models-dev/v1.js +1 -1
  558. package/dist/models-dev.js +115 -115
  559. package/dist/oauth/page.js +1 -1
  560. package/dist/permission/saved.js +91 -91
  561. package/dist/permission/sql.js +5 -5
  562. package/dist/permission.js +151 -151
  563. package/dist/persistent-pty/binary.bun.js +1 -1
  564. package/dist/persistent-pty/daemon.js +1 -1
  565. package/dist/persistent-pty/index.js +93 -93
  566. package/dist/persistent-pty/pty-binding.js +1 -1
  567. package/dist/persistent-pty.js +86 -86
  568. package/dist/plugin/agent.js +85 -85
  569. package/dist/plugin/command.js +115 -115
  570. package/dist/plugin/goal.js +3 -3
  571. package/dist/plugin/hooks.js +5 -5
  572. package/dist/plugin/host.js +238 -238
  573. package/dist/plugin/identity.js +5 -5
  574. package/dist/plugin/instance.js +1 -1
  575. package/dist/plugin/internal.js +402 -402
  576. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  577. package/dist/plugin/models-dev.js +110 -110
  578. package/dist/plugin/module.js +129 -129
  579. package/dist/plugin/optimize.js +2 -2
  580. package/dist/plugin/plan.js +146 -146
  581. package/dist/plugin/promise.js +1 -1
  582. package/dist/plugin/provider/amazon-bedrock.js +106 -104
  583. package/dist/plugin/provider/azure.js +133 -132
  584. package/dist/plugin/provider/cerebras.js +1 -1
  585. package/dist/plugin/provider/chatgpt.js +133 -130
  586. package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
  587. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  588. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  589. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  590. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  591. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  592. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  593. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  594. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  595. package/dist/plugin/provider/claude-agent/index.js +148 -146
  596. package/dist/plugin/provider/claude-agent/instructions.js +112 -112
  597. package/dist/plugin/provider/claude-agent/integration.js +113 -111
  598. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  599. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  600. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  601. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  602. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  603. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  604. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  605. package/dist/plugin/provider/claude-agent/provider.js +108 -108
  606. package/dist/plugin/provider/claude-agent/session.js +110 -110
  607. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  608. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  609. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  610. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  611. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  612. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  613. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  614. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  615. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  616. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  617. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -128
  618. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -128
  619. package/dist/plugin/provider/configured.js +126 -126
  620. package/dist/plugin/provider/credential-settings.js +90 -85
  621. package/dist/plugin/provider/databricks.js +1 -1
  622. package/dist/plugin/provider/digitalocean.js +109 -108
  623. package/dist/plugin/provider/dynamic.js +2 -2
  624. package/dist/plugin/provider/github-copilot.js +111 -110
  625. package/dist/plugin/provider/gitlab.js +109 -107
  626. package/dist/plugin/provider/google-vertex.js +127 -127
  627. package/dist/plugin/provider/kilo.js +1 -1
  628. package/dist/plugin/provider/llmgateway.js +89 -89
  629. package/dist/plugin/provider/lmstudio.js +140 -140
  630. package/dist/plugin/provider/local.js +137 -137
  631. package/dist/plugin/provider/modal.js +108 -107
  632. package/dist/plugin/provider/neon.js +1 -1
  633. package/dist/plugin/provider/nvidia.js +1 -1
  634. package/dist/plugin/provider/ollama.js +140 -140
  635. package/dist/plugin/provider/openai-context-caps.js +106 -103
  636. package/dist/plugin/provider/openai.js +133 -130
  637. package/dist/plugin/provider/opencode.js +157 -155
  638. package/dist/plugin/provider/openrouter.js +104 -104
  639. package/dist/plugin/provider/poe.js +90 -90
  640. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  641. package/dist/plugin/provider/refresh.js +91 -87
  642. package/dist/plugin/provider/sap-ai-core.js +104 -104
  643. package/dist/plugin/provider/sdk-factory.js +1 -1
  644. package/dist/plugin/provider/snowflake-cortex.js +131 -129
  645. package/dist/plugin/provider/vllm.js +140 -140
  646. package/dist/plugin/provider/xai.js +104 -104
  647. package/dist/plugin/provider/zenmux.js +1 -1
  648. package/dist/plugin/provider.js +235 -235
  649. package/dist/plugin/sdk.js +83 -83
  650. package/dist/plugin/service.js +1 -1
  651. package/dist/plugin/skill.js +149 -149
  652. package/dist/plugin/source-directory.js +1 -1
  653. package/dist/plugin/supervisor.js +412 -412
  654. package/dist/plugin/tool-input-repair.js +4 -4
  655. package/dist/plugin/update.js +6 -6
  656. package/dist/plugin/vcs/git.js +99 -99
  657. package/dist/plugin/vcs/hg.js +99 -99
  658. package/dist/plugin/verbosity.js +106 -106
  659. package/dist/plugin/warming.js +130 -130
  660. package/dist/plugin/websearch/exa.js +6 -6
  661. package/dist/plugin/websearch/firecrawl.js +7 -7
  662. package/dist/plugin/websearch/index.js +10 -10
  663. package/dist/plugin/websearch/mcp.js +4 -4
  664. package/dist/plugin/websearch/parallel.js +7 -7
  665. package/dist/plugin/websearch/provider.js +1 -1
  666. package/dist/plugin/websearch/tavily.js +5 -5
  667. package/dist/plugin/websearch/tinyfish.js +7 -7
  668. package/dist/plugin.js +241 -241
  669. package/dist/project/icon.js +5 -5
  670. package/dist/project/schema.js +6 -6
  671. package/dist/project/sql.js +4 -4
  672. package/dist/project.js +99 -99
  673. package/dist/provider.js +110 -110
  674. package/dist/pty/protocol.js +1 -1
  675. package/dist/pty/ticket.js +1 -1
  676. package/dist/pty.js +109 -109
  677. package/dist/reference/instructions.js +101 -101
  678. package/dist/reference.js +103 -103
  679. package/dist/repository-cache.js +93 -93
  680. package/dist/repository.js +3 -3
  681. package/dist/ripgrep/binary.js +2 -2
  682. package/dist/ripgrep.js +111 -111
  683. package/dist/rpc.js +95 -95
  684. package/dist/schedule/check.js +243 -243
  685. package/dist/schedule/sql.js +6 -6
  686. package/dist/schedule.js +245 -245
  687. package/dist/schema.js +1 -1
  688. package/dist/session/affinity.js +1 -1
  689. package/dist/session/background.js +1 -1
  690. package/dist/session/blob.js +129 -129
  691. package/dist/session/command.js +85 -85
  692. package/dist/session/compaction.js +173 -173
  693. package/dist/session/context.js +200 -200
  694. package/dist/session/diff.js +101 -101
  695. package/dist/session/environment.js +3 -3
  696. package/dist/session/error.js +5 -5
  697. package/dist/session/event.js +1 -1
  698. package/dist/session/execution/restart.js +245 -245
  699. package/dist/session/execution.js +163 -163
  700. package/dist/session/generate.js +202 -202
  701. package/dist/session/history.js +136 -136
  702. package/dist/session/inbox.js +145 -145
  703. package/dist/session/info.js +3 -3
  704. package/dist/session/instruction-entry.js +90 -90
  705. package/dist/session/instruction-state.js +8 -8
  706. package/dist/session/instructions.js +143 -143
  707. package/dist/session/message-updater.js +2 -2
  708. package/dist/session/message.js +1 -1
  709. package/dist/session/model-request.js +168 -168
  710. package/dist/session/model-transport.js +9 -9
  711. package/dist/session/move.js +165 -165
  712. package/dist/session/projector.js +143 -143
  713. package/dist/session/prompt.js +148 -148
  714. package/dist/session/recent-text.js +1 -1
  715. package/dist/session/revert.js +139 -139
  716. package/dist/session/run-coordinator.js +3 -3
  717. package/dist/session/runner/index.js +3 -3
  718. package/dist/session/runner/llm.js +250 -250
  719. package/dist/session/runner/max-steps.js +1 -1
  720. package/dist/session/runner/model.js +113 -113
  721. package/dist/session/runner/publish-llm-event.js +149 -149
  722. package/dist/session/runner/retry.js +3 -3
  723. package/dist/session/runner/step.js +161 -161
  724. package/dist/session/runner/to-llm-message.js +137 -137
  725. package/dist/session/schema.js +5 -5
  726. package/dist/session/session.js +182 -182
  727. package/dist/session/shell.js +145 -145
  728. package/dist/session/skill.js +147 -147
  729. package/dist/session/sql.js +5 -5
  730. package/dist/session/stats.js +84 -84
  731. package/dist/session/store.js +142 -142
  732. package/dist/session/stored.js +2 -2
  733. package/dist/session/subagent-completion.js +3 -3
  734. package/dist/session/subagent-job.js +231 -231
  735. package/dist/session/system-prompt.js +3 -3
  736. package/dist/session/title.js +198 -198
  737. package/dist/session/to-session-error.js +148 -148
  738. package/dist/session/transfer.js +239 -239
  739. package/dist/session/usage.js +1 -1
  740. package/dist/session.js +235 -235
  741. package/dist/shared-cache.js +5 -5
  742. package/dist/shell/parse.js +6 -6
  743. package/dist/shell/result.js +1 -1
  744. package/dist/shell/scan.js +1 -1
  745. package/dist/shell/select.js +7 -7
  746. package/dist/shell.js +145 -145
  747. package/dist/skill/discovery.js +6 -6
  748. package/dist/skill/instructions.js +151 -151
  749. package/dist/skill.js +156 -156
  750. package/dist/snapshot.js +106 -106
  751. package/dist/state.js +1 -1
  752. package/dist/tool/html-markdown.js +1 -1
  753. package/dist/tool/http-body.js +1 -1
  754. package/dist/tool/mcp.js +182 -182
  755. package/dist/tool/plugin/artifact.js +230 -230
  756. package/dist/tool/plugin/edit.js +165 -165
  757. package/dist/tool/plugin/file-diff.js +1 -1
  758. package/dist/tool/plugin/glob.js +171 -171
  759. package/dist/tool/plugin/grep.js +170 -170
  760. package/dist/tool/plugin/image-generate.js +241 -241
  761. package/dist/tool/plugin/mcp-resource.js +164 -164
  762. package/dist/tool/plugin/opencode.js +163 -163
  763. package/dist/tool/plugin/patch.js +168 -168
  764. package/dist/tool/plugin/question.js +146 -146
  765. package/dist/tool/plugin/read.js +172 -172
  766. package/dist/tool/plugin/schedule.js +249 -249
  767. package/dist/tool/plugin/shell.js +237 -237
  768. package/dist/tool/plugin/skill.js +157 -157
  769. package/dist/tool/plugin/subagent.js +238 -238
  770. package/dist/tool/plugin/todo.js +147 -147
  771. package/dist/tool/plugin/webfetch.js +155 -155
  772. package/dist/tool/plugin/websearch.js +155 -155
  773. package/dist/tool/plugin/write.js +168 -168
  774. package/dist/tool/read-filesystem.js +116 -116
  775. package/dist/tool/runtime.js +1 -1
  776. package/dist/tool/search.js +109 -109
  777. package/dist/tool-output.js +5 -5
  778. package/dist/tool.js +161 -161
  779. package/dist/types/github-copilot/chat/openai-compatible-chat-language-model.d.ts +2 -46
  780. package/dist/types/github-copilot/responses/openai-responses-language-model.d.ts +2 -96
  781. package/dist/types/github-copilot/responses/tool/code-interpreter.d.ts +0 -67
  782. package/dist/types/github-copilot/responses/tool/file-search.d.ts +0 -64
  783. package/dist/types/plugin/provider/azure.d.ts +2 -3
  784. package/dist/types/plugin/provider/chatgpt.d.ts +1 -2
  785. package/dist/types/plugin/provider/claude-agent/integration.d.ts +1 -2
  786. package/dist/types/plugin/provider/credential-settings.d.ts +6 -2
  787. package/dist/types/plugin/provider/gitlab.d.ts +1 -2
  788. package/dist/types/plugin/provider/openai-context-caps.d.ts +1 -2
  789. package/dist/types/plugin/provider/openai.d.ts +1 -2
  790. package/dist/types/plugin/provider/refresh.d.ts +4 -0
  791. package/dist/types/plugin/provider/snowflake-cortex.d.ts +1 -2
  792. package/dist/usage-limits.js +96 -96
  793. package/dist/util/error-summary.js +1 -1
  794. package/dist/util/git-executable.js +3 -3
  795. package/dist/util/lazy.js +1 -1
  796. package/dist/util/slug.js +1 -1
  797. package/dist/util/token.js +1 -1
  798. package/dist/util/which.js +1 -1
  799. package/dist/util/wildcard.js +1 -1
  800. package/dist/v1/config/agent.js +5 -5
  801. package/dist/v1/config/command.js +3 -3
  802. package/dist/v1/config/mcp.js +4 -4
  803. package/dist/v1/config/migrate.js +105 -105
  804. package/dist/v1/config/permission.js +3 -3
  805. package/dist/v1/config/plugin.js +1 -1
  806. package/dist/v1/config/provider-options.js +1 -1
  807. package/dist/v1/config/provider.js +4 -4
  808. package/dist/variant.js +104 -104
  809. package/dist/vcs/patch.js +1 -1
  810. package/dist/vcs.js +102 -102
  811. package/dist/voice.js +99 -99
  812. package/dist/websearch.js +99 -99
  813. package/dist/wellknown/plugin.js +85 -85
  814. package/dist/wellknown.js +90 -90
  815. package/dist/workspace/driver.js +5 -5
  816. package/dist/workspace/sql.js +1 -1
  817. package/dist/workspace.js +91 -91
  818. package/dist/worktree/directory.js +2 -2
  819. package/dist/worktree/git.js +11 -11
  820. package/dist/worktree/sql.js +5 -5
  821. package/dist/worktree/strategies.js +102 -102
  822. package/dist/worktree.js +111 -111
  823. package/package.json +9 -8
  824. package/dist/chunks/pty-208nbn7x.js +0 -16
  825. package/dist/chunks/pty-9bxrat4n.js +0 -265
  826. package/dist/chunks/pty-tfhtby8v.js +0 -26
  827. /package/dist/chunks/{pty-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
  828. /package/dist/chunks/{pty-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
  829. /package/dist/chunks/{pty-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
  830. /package/dist/chunks/{pty-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
  831. /package/dist/chunks/{pty-1kah00gy.js → plugin-1kah00gy.js} +0 -0
  832. /package/dist/chunks/{pty-24dcb14g.js → plugin-24dcb14g.js} +0 -0
  833. /package/dist/chunks/{pty-2710q6r3.js → plugin-2710q6r3.js} +0 -0
  834. /package/dist/chunks/{pty-2bv980vf.js → plugin-2bv980vf.js} +0 -0
  835. /package/dist/chunks/{pty-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
  836. /package/dist/chunks/{pty-359p4xyc.js → plugin-359p4xyc.js} +0 -0
  837. /package/dist/chunks/{pty-3asan66x.js → plugin-3asan66x.js} +0 -0
  838. /package/dist/chunks/{pty-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
  839. /package/dist/chunks/{pty-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
  840. /package/dist/chunks/{pty-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
  841. /package/dist/chunks/{pty-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
  842. /package/dist/chunks/{pty-4qk9sjk2.js → plugin-4qk9sjk2.js} +0 -0
  843. /package/dist/chunks/{pty-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
  844. /package/dist/chunks/{pty-53557ph1.js → plugin-53557ph1.js} +0 -0
  845. /package/dist/chunks/{pty-550bvhaj.js → plugin-550bvhaj.js} +0 -0
  846. /package/dist/chunks/{pty-5w3e23ze.js → plugin-5w3e23ze.js} +0 -0
  847. /package/dist/chunks/{pty-6agm2x70.js → plugin-6agm2x70.js} +0 -0
  848. /package/dist/chunks/{pty-6prwharc.js → plugin-6prwharc.js} +0 -0
  849. /package/dist/chunks/{pty-6q2bdcd1.js → plugin-6q2bdcd1.js} +0 -0
  850. /package/dist/chunks/{pty-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
  851. /package/dist/chunks/{pty-7m9af43g.js → plugin-7m9af43g.js} +0 -0
  852. /package/dist/chunks/{pty-822emrt2.js → plugin-822emrt2.js} +0 -0
  853. /package/dist/chunks/{pty-84wd9syh.js → plugin-84wd9syh.js} +0 -0
  854. /package/dist/chunks/{pty-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
  855. /package/dist/chunks/{pty-8n3pysct.js → plugin-8n3pysct.js} +0 -0
  856. /package/dist/chunks/{pty-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
  857. /package/dist/chunks/{pty-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
  858. /package/dist/chunks/{pty-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
  859. /package/dist/chunks/{pty-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
  860. /package/dist/chunks/{pty-af5trqkr.js → plugin-af5trqkr.js} +0 -0
  861. /package/dist/chunks/{pty-afrmfg78.js → plugin-afrmfg78.js} +0 -0
  862. /package/dist/chunks/{pty-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
  863. /package/dist/chunks/{pty-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
  864. /package/dist/chunks/{pty-beh6qq61.js → plugin-beh6qq61.js} +0 -0
  865. /package/dist/chunks/{pty-bhmrqjy3.js → plugin-bhmrqjy3.js} +0 -0
  866. /package/dist/chunks/{pty-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
  867. /package/dist/chunks/{pty-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
  868. /package/dist/chunks/{pty-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
  869. /package/dist/chunks/{pty-cqv5kn06.js → plugin-cqv5kn06.js} +0 -0
  870. /package/dist/chunks/{pty-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
  871. /package/dist/chunks/{pty-d9fn303g.js → plugin-d9fn303g.js} +0 -0
  872. /package/dist/chunks/{pty-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
  873. /package/dist/chunks/{pty-dap0rakb.js → plugin-dap0rakb.js} +0 -0
  874. /package/dist/chunks/{pty-df08tz66.js → plugin-df08tz66.js} +0 -0
  875. /package/dist/chunks/{pty-dy18nga0.js → plugin-dy18nga0.js} +0 -0
  876. /package/dist/chunks/{pty-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
  877. /package/dist/chunks/{pty-ean2d8b5.js → plugin-ean2d8b5.js} +0 -0
  878. /package/dist/chunks/{pty-ec1grn59.js → plugin-ec1grn59.js} +0 -0
  879. /package/dist/chunks/{pty-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
  880. /package/dist/chunks/{pty-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
  881. /package/dist/chunks/{pty-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
  882. /package/dist/chunks/{pty-faypxj3z.js → plugin-faypxj3z.js} +0 -0
  883. /package/dist/chunks/{pty-fd410y7t.js → plugin-fd410y7t.js} +0 -0
  884. /package/dist/chunks/{pty-fkpq3x5p.js → plugin-fkpq3x5p.js} +0 -0
  885. /package/dist/chunks/{pty-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
  886. /package/dist/chunks/{pty-g86h250q.js → plugin-g86h250q.js} +0 -0
  887. /package/dist/chunks/{pty-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
  888. /package/dist/chunks/{pty-gftt206x.js → plugin-gftt206x.js} +0 -0
  889. /package/dist/chunks/{pty-hcxmzztb.js → plugin-hcxmzztb.js} +0 -0
  890. /package/dist/chunks/{pty-hk9envan.js → plugin-hk9envan.js} +0 -0
  891. /package/dist/chunks/{pty-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
  892. /package/dist/chunks/{pty-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
  893. /package/dist/chunks/{pty-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
  894. /package/dist/chunks/{pty-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
  895. /package/dist/chunks/{pty-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
  896. /package/dist/chunks/{pty-jwr30sdr.js → plugin-jwr30sdr.js} +0 -0
  897. /package/dist/chunks/{pty-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
  898. /package/dist/chunks/{pty-m18g726c.js → plugin-m18g726c.js} +0 -0
  899. /package/dist/chunks/{pty-mp448xyj.js → plugin-mp448xyj.js} +0 -0
  900. /package/dist/chunks/{pty-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
  901. /package/dist/chunks/{pty-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
  902. /package/dist/chunks/{pty-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
  903. /package/dist/chunks/{pty-nh4v3znn.js → plugin-nh4v3znn.js} +0 -0
  904. /package/dist/chunks/{pty-njntx4h6.js → plugin-njntx4h6.js} +0 -0
  905. /package/dist/chunks/{pty-p71gwv9c.js → plugin-p71gwv9c.js} +0 -0
  906. /package/dist/chunks/{pty-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
  907. /package/dist/chunks/{pty-q74kybfr.js → plugin-q74kybfr.js} +0 -0
  908. /package/dist/chunks/{pty-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
  909. /package/dist/chunks/{pty-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
  910. /package/dist/chunks/{pty-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
  911. /package/dist/chunks/{pty-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
  912. /package/dist/chunks/{pty-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
  913. /package/dist/chunks/{pty-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
  914. /package/dist/chunks/{pty-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
  915. /package/dist/chunks/{pty-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
  916. /package/dist/chunks/{pty-syrav9an.js → plugin-syrav9an.js} +0 -0
  917. /package/dist/chunks/{pty-t03h4f5z.js → plugin-t03h4f5z.js} +0 -0
  918. /package/dist/chunks/{pty-ty7weeps.js → plugin-ty7weeps.js} +0 -0
  919. /package/dist/chunks/{pty-ve7vex1e.js → plugin-ve7vex1e.js} +0 -0
  920. /package/dist/chunks/{pty-vtarvj67.js → plugin-vtarvj67.js} +0 -0
  921. /package/dist/chunks/{pty-w803qqfp.js → plugin-w803qqfp.js} +0 -0
  922. /package/dist/chunks/{pty-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
  923. /package/dist/chunks/{pty-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
  924. /package/dist/chunks/{pty-wtztk69x.js → plugin-wtztk69x.js} +0 -0
  925. /package/dist/chunks/{pty-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
  926. /package/dist/chunks/{pty-x61499pn.js → plugin-x61499pn.js} +0 -0
  927. /package/dist/chunks/{pty-y44na4kk.js → plugin-y44na4kk.js} +0 -0
  928. /package/dist/chunks/{pty-y8f7s663.js → plugin-y8f7s663.js} +0 -0
  929. /package/dist/chunks/{pty-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
  930. /package/dist/chunks/{pty-z0h12gs8.js → plugin-z0h12gs8.js} +0 -0
  931. /package/dist/chunks/{pty-z5v4ffb3.js → plugin-z5v4ffb3.js} +0 -0
  932. /package/dist/chunks/{pty-z9919s4g.js → plugin-z9919s4g.js} +0 -0
  933. /package/dist/chunks/{pty-zxpyjp51.js → plugin-zxpyjp51.js} +0 -0
@@ -1,143 +1,143 @@
1
1
  import {
2
2
  Metadata2,
3
- node47
4
- } from "./pty-t9s2jeab.js";
3
+ node66
4
+ } from "./plugin-m3vj42yh.js";
5
5
  import {
6
6
  Service90,
7
7
  node93
8
- } from "./pty-n515v1q6.js";
8
+ } from "./plugin-0307q67x.js";
9
9
  import {
10
10
  ID13,
11
- Service66,
12
- node69
13
- } from "./pty-haj55tp1.js";
11
+ Service72,
12
+ node75
13
+ } from "./plugin-0nwyq8xc.js";
14
14
  import {
15
- ID20,
15
+ ID17,
16
16
  OAuth3
17
- } from "./pty-ayz3ejvk.js";
17
+ } from "./plugin-h2w0evjw.js";
18
18
  import {
19
19
  AbsolutePath2
20
- } from "./pty-z5v4ffb3.js";
20
+ } from "./plugin-z5v4ffb3.js";
21
21
  import {
22
- Info29,
22
+ Info30,
23
23
  Ref5,
24
- Service84,
25
- node87
26
- } from "./pty-x04h5mrv.js";
24
+ Service87,
25
+ node90
26
+ } from "./plugin-46zfztsf.js";
27
27
  import {
28
- ID18,
28
+ ID16,
29
29
  MethodID2,
30
30
  AttemptID2,
31
31
  Method2,
32
- Service81,
33
- node84
34
- } from "./pty-fn274a08.js";
35
- import {
36
- ID17,
37
32
  Service80,
38
33
  node83
39
- } from "./pty-jkmfd651.js";
34
+ } from "./plugin-68y3jp1b.js";
40
35
  import {
41
- ID16,
36
+ ID15,
42
37
  Service79,
43
38
  node82
44
- } from "./pty-etatbea9.js";
39
+ } from "./plugin-ksw9nvwk.js";
40
+ import {
41
+ ID14,
42
+ Service78,
43
+ node81
44
+ } from "./plugin-n995p2xd.js";
45
45
  import {
46
- Service88,
47
- node91
48
- } from "./pty-jraeh57d.js";
46
+ Service77,
47
+ node80
48
+ } from "./plugin-g2qxe5yd.js";
49
49
  import {
50
50
  Key2,
51
- Service30,
52
- node34
53
- } from "./pty-he8e2fqg.js";
51
+ Service33,
52
+ node37
53
+ } from "./plugin-jsjkdva5.js";
54
54
  import {
55
- Service67,
56
- node70
57
- } from "./pty-e18eb6k2.js";
55
+ Service73,
56
+ node76
57
+ } from "./plugin-r2jsee34.js";
58
58
  import {
59
- Service63,
60
- node66
61
- } from "./pty-rqr4sfbw.js";
59
+ Service69,
60
+ node72
61
+ } from "./plugin-x7daqgzn.js";
62
62
  import {
63
- Service78,
64
- node81
65
- } from "./pty-6dtfbb2g.js";
63
+ Service68,
64
+ node71
65
+ } from "./plugin-rsh0a03v.js";
66
66
  import {
67
- ID9
68
- } from "./pty-g2s3kvm8.js";
67
+ ID10
68
+ } from "./plugin-0fgydazq.js";
69
69
  import {
70
- Service39,
71
- node42
72
- } from "./pty-3b7wqyfh.js";
70
+ Service40,
71
+ node43
72
+ } from "./plugin-659689q6.js";
73
73
  import {
74
- Service42,
75
- node45,
76
- Error2
77
- } from "./pty-x29wv32c.js";
74
+ Service64,
75
+ node68,
76
+ Error5
77
+ } from "./plugin-d5p8nnrp.js";
78
78
  import {
79
- Source5,
80
- Service86,
81
- node89
82
- } from "./pty-rbvjmsc7.js";
79
+ Source3,
80
+ Service46,
81
+ node49
82
+ } from "./plugin-py5xaqhw.js";
83
83
  import {
84
- Info10,
85
- Service44,
86
- node46
87
- } from "./pty-b2d6kd10.js";
84
+ Info11,
85
+ Service49,
86
+ node52
87
+ } from "./plugin-asv65enq.js";
88
88
  import {
89
- Service41,
90
- node44
91
- } from "./pty-czhsb2q6.js";
89
+ Service50,
90
+ node53
91
+ } from "./plugin-vnepjky2.js";
92
92
  import {
93
- Service72,
94
- node75
95
- } from "./pty-vr57n06r.js";
93
+ Service58,
94
+ node60
95
+ } from "./plugin-x8n516ga.js";
96
96
  import {
97
- Service27,
98
- node30
99
- } from "./pty-kazckff2.js";
97
+ Service29,
98
+ node32
99
+ } from "./plugin-0s190qh7.js";
100
100
  import {
101
101
  ProviderID2,
102
- Service25,
103
- node28
104
- } from "./pty-gqq2rd3z.js";
102
+ Service22,
103
+ node25
104
+ } from "./plugin-hc7jz7r9.js";
105
105
  import {
106
- Service26,
107
- node29
108
- } from "./pty-frh3mjer.js";
106
+ Service28,
107
+ node31
108
+ } from "./plugin-n33wks76.js";
109
109
  import {
110
110
  Service62,
111
111
  node65,
112
112
  eventDefinition2
113
- } from "./pty-yhqe6hsm.js";
113
+ } from "./plugin-z34m5vvf.js";
114
+ import {
115
+ Service27,
116
+ node30
117
+ } from "./plugin-b7awpy5c.js";
118
+ import {
119
+ ID7,
120
+ Service25,
121
+ node28
122
+ } from "./plugin-3942hstv.js";
114
123
  import {
115
124
  Service24,
116
125
  node27
117
- } from "./pty-pwnwjmpk.js";
126
+ } from "./plugin-1w13tshp.js";
118
127
  import {
119
- ID6,
128
+ StrategyID2,
129
+ Info7,
130
+ ListEntry2,
120
131
  Service23,
121
132
  node26
122
- } from "./pty-k634w52t.js";
123
- import {
124
- Service71,
125
- node74
126
- } from "./pty-nkwvx6n5.js";
133
+ } from "./plugin-b5dp1yyd.js";
127
134
  import {
128
- StrategyID2,
129
- Info21,
130
- ListEntry3,
131
- Service70,
132
- node73
133
- } from "./pty-xf13msbn.js";
134
- import {
135
- Service76,
136
- node79
137
- } from "./pty-knrrsbj9.js";
135
+ Service26,
136
+ node29
137
+ } from "./plugin-zhwa4vsz.js";
138
138
  import {
139
139
  __export
140
- } from "./pty-9rqn6x4v.js";
140
+ } from "./plugin-9rqn6x4v.js";
141
141
 
142
142
  // src/plugin/host.ts
143
143
  var exports_host = {};
@@ -157,52 +157,52 @@ var isRpcEvent = (event) => isRpcType(event.type);
157
157
  var isPublicEvent = (event) => EventManifest.isServer(event) || isRpcEvent(event);
158
158
  var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
159
159
  const app = yield* Metadata2;
160
- const agents = yield* Service66;
161
- const artifacts = yield* Service25;
162
- const aisdk = yield* Service78;
163
- const providers = yield* Service80;
164
- const models = yield* Service79;
165
- const commands = yield* Service41;
160
+ const agents = yield* Service72;
161
+ const artifacts = yield* Service22;
162
+ const aisdk = yield* Service68;
163
+ const providers = yield* Service79;
164
+ const models = yield* Service78;
165
+ const commands = yield* Service50;
166
166
  const bus = yield* Service90;
167
- const integration = yield* Service81;
168
- const kv = yield* Service88;
169
- const mcp = yield* Service39;
170
- const location = yield* Service84;
171
- const reference = yield* Service86;
167
+ const integration = yield* Service80;
168
+ const kv = yield* Service77;
169
+ const mcp = yield* Service40;
170
+ const location = yield* Service87;
171
+ const reference = yield* Service46;
172
172
  const rpc = yield* Service62;
173
- const skill = yield* Service44;
174
- const tools = yield* Service42;
175
- const vcs = yield* Service24;
176
- const websearch = yield* Service23;
177
- const generate = yield* Service76;
173
+ const skill = yield* Service49;
174
+ const tools = yield* Service64;
175
+ const vcs = yield* Service27;
176
+ const websearch = yield* Service25;
177
+ const generate = yield* Service26;
178
178
  const generateText = (input) => generate.text(input).pipe(Effect.map((text) => ({ text })));
179
- const permission = yield* Service63;
180
- const hooks = yield* Service67;
181
- const sessions = yield* Service27;
182
- const instructionEntries = yield* Service30;
183
- const persistentPty = yield* Service26;
184
- const locations = yield* Service72;
185
- const worktrees = yield* Service70;
186
- const worktreeStrategies = yield* Service71;
179
+ const permission = yield* Service69;
180
+ const hooks = yield* Service73;
181
+ const sessions = yield* Service29;
182
+ const instructionEntries = yield* Service33;
183
+ const persistentPty = yield* Service28;
184
+ const locations = yield* Service58;
185
+ const worktrees = yield* Service23;
186
+ const worktreeStrategies = yield* Service24;
187
187
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
188
- const locationInfo = (current = location) => new Info29({
188
+ const locationInfo = (current = location) => new Info30({
189
189
  directory: current.directory,
190
190
  workspaceID: current.workspaceID,
191
191
  project: current.project
192
192
  });
193
193
  const locationRef = (input) => input?.location === undefined ? undefined : Ref5.make({
194
194
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
195
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID9.make(input.location.workspace)
195
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID10.make(input.location.workspace)
196
196
  });
197
197
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
198
198
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
199
199
  const atLocation = (ref, effect) => Effect.gen(function* () {
200
- return { location: locationInfo(yield* Service84), data: yield* effect };
200
+ return { location: locationInfo(yield* Service87), data: yield* effect };
201
201
  }).pipe(Effect.provide(locations.get(ref)));
202
202
  const sessionPermission = (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}`))));
203
- const decodeWorktree = Schema.decodeUnknownEffect(Info21);
204
- const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
205
- const listAgents = Effect.fn("PluginHost.listAgents")((ref) => atLocation(ref, Effect.flatMap(Service66, (agents) => agents.list())).pipe(Effect.orDie));
203
+ const decodeWorktree = Schema.decodeUnknownEffect(Info7);
204
+ const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry2));
205
+ const listAgents = Effect.fn("PluginHost.listAgents")((ref) => atLocation(ref, Effect.flatMap(Service72, (agents) => agents.list())).pipe(Effect.orDie));
206
206
  const context = {
207
207
  app,
208
208
  location: locationInfo(),
@@ -264,22 +264,22 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
264
264
  },
265
265
  provider: {
266
266
  list: () => response(providers.available()),
267
- get: (input) => providers.get(ID17.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
267
+ get: (input) => providers.get(ID15.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
268
268
  reload: providers.reload,
269
269
  transform: (callback) => providers.transform((editor) => {
270
270
  callback({
271
271
  list: editor.list,
272
- get: (id) => editor.get(ID17.make(id)),
272
+ get: (id) => editor.get(ID15.make(id)),
273
273
  add: (definition) => editor.add({
274
274
  ...definition,
275
275
  sourceConnection: definition.sourceConnection && connectionInfo(definition.sourceConnection)
276
276
  }),
277
- update: (id, update) => editor.update(ID17.make(id), update),
278
- remove: (id) => editor.remove(ID17.make(id)),
277
+ update: (id, update) => editor.update(ID15.make(id), update),
278
+ remove: (id) => editor.remove(ID15.make(id)),
279
279
  models: {
280
- set: (id, models) => editor.models.set(ID17.make(id), models),
281
- update: (providerID, modelID, update) => editor.models.update(ID17.make(providerID), ID16.make(modelID), update),
282
- remove: (providerID, modelID) => editor.models.remove(ID17.make(providerID), ID16.make(modelID))
280
+ set: (id, models) => editor.models.set(ID15.make(id), models),
281
+ update: (providerID, modelID, update) => editor.models.update(ID15.make(providerID), ID14.make(modelID), update),
282
+ remove: (providerID, modelID) => editor.models.remove(ID15.make(providerID), ID14.make(modelID))
283
283
  }
284
284
  });
285
285
  })
@@ -289,17 +289,17 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
289
289
  default: () => response(models.default()),
290
290
  reload: models.reload,
291
291
  transform: (callback) => models.transform((editor) => callback({
292
- list: (providerID) => editor.list(providerID === undefined ? undefined : ID17.make(providerID)),
293
- get: (providerID, modelID) => editor.get(ID17.make(providerID), ID16.make(modelID)),
294
- update: (providerID, modelID, update) => editor.update(ID17.make(providerID), ID16.make(modelID), update),
295
- remove: (providerID, modelID) => editor.remove(ID17.make(providerID), ID16.make(modelID)),
292
+ list: (providerID) => editor.list(providerID === undefined ? undefined : ID15.make(providerID)),
293
+ get: (providerID, modelID) => editor.get(ID15.make(providerID), ID14.make(modelID)),
294
+ update: (providerID, modelID, update) => editor.update(ID15.make(providerID), ID14.make(modelID), update),
295
+ remove: (providerID, modelID) => editor.remove(ID15.make(providerID), ID14.make(modelID)),
296
296
  default: {
297
297
  get: editor.default.get,
298
- set: (providerID, modelID) => editor.default.set(ID17.make(providerID), ID16.make(modelID))
298
+ set: (providerID, modelID) => editor.default.set(ID15.make(providerID), ID14.make(modelID))
299
299
  },
300
300
  provider: {
301
301
  list: editor.provider.list,
302
- get: (id) => editor.provider.get(ID17.make(id))
302
+ get: (id) => editor.provider.get(ID15.make(id))
303
303
  }
304
304
  }))
305
305
  },
@@ -368,20 +368,20 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
368
368
  integration: {
369
369
  list: () => response(integration.list()),
370
370
  get: Effect.fn(function* (input) {
371
- const item = yield* integration.get(ID18.make(input.integrationID));
371
+ const item = yield* integration.get(ID16.make(input.integrationID));
372
372
  if (!item)
373
373
  return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
374
374
  return yield* response(Effect.succeed(item));
375
375
  }),
376
376
  connect: {
377
377
  key: (input) => integration.connection.key({
378
- integrationID: ID18.make(input.integrationID),
378
+ integrationID: ID16.make(input.integrationID),
379
379
  key: input.key,
380
380
  answer: input.answer,
381
381
  label: input.label
382
382
  }),
383
383
  external: (input) => integration.connection.external({
384
- integrationID: ID18.make(input.integrationID),
384
+ integrationID: ID16.make(input.integrationID),
385
385
  methodID: MethodID2.make(input.methodID),
386
386
  answer: input.answer,
387
387
  label: input.label
@@ -389,46 +389,46 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
389
389
  },
390
390
  oauth: {
391
391
  connect: (input) => response(integration.oauth.connect({
392
- integrationID: ID18.make(input.integrationID),
392
+ integrationID: ID16.make(input.integrationID),
393
393
  methodID: MethodID2.make(input.methodID),
394
394
  answer: input.answer,
395
395
  label: input.label
396
396
  })),
397
397
  status: (input) => response(integration.oauth.status({
398
- integrationID: ID18.make(input.integrationID),
398
+ integrationID: ID16.make(input.integrationID),
399
399
  attemptID: AttemptID2.make(input.attemptID)
400
400
  })),
401
401
  complete: (input) => integration.oauth.complete({
402
- integrationID: ID18.make(input.integrationID),
402
+ integrationID: ID16.make(input.integrationID),
403
403
  attemptID: AttemptID2.make(input.attemptID),
404
404
  code: input.code
405
405
  }),
406
406
  cancel: (input) => integration.oauth.cancel({
407
- integrationID: ID18.make(input.integrationID),
407
+ integrationID: ID16.make(input.integrationID),
408
408
  attemptID: AttemptID2.make(input.attemptID)
409
409
  })
410
410
  },
411
411
  command: {
412
412
  connect: (input) => response(integration.command.connect({
413
- integrationID: ID18.make(input.integrationID),
413
+ integrationID: ID16.make(input.integrationID),
414
414
  methodID: MethodID2.make(input.methodID),
415
415
  label: input.label
416
416
  })),
417
417
  status: (input) => response(integration.command.status({
418
- integrationID: ID18.make(input.integrationID),
418
+ integrationID: ID16.make(input.integrationID),
419
419
  attemptID: AttemptID2.make(input.attemptID)
420
420
  })),
421
421
  cancel: (input) => integration.command.cancel({
422
- integrationID: ID18.make(input.integrationID),
422
+ integrationID: ID16.make(input.integrationID),
423
423
  attemptID: AttemptID2.make(input.attemptID)
424
424
  })
425
425
  },
426
426
  reload: integration.reload,
427
427
  connection: {
428
- active: (id) => integration.connection.active(ID18.make(id)),
428
+ active: (id) => integration.connection.active(ID16.make(id)),
429
429
  resolve: (connection) => integration.connection.resolve(connectionInfo(connection)),
430
430
  status: (input) => integration.connection.status({
431
- integrationID: ID18.make(input.integrationID),
431
+ integrationID: ID16.make(input.integrationID),
432
432
  connection: connectionInfo(input.connection),
433
433
  status: input.status
434
434
  })
@@ -436,13 +436,13 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
436
436
  transform: (callback) => integration.transform((editor) => {
437
437
  callback({
438
438
  list: editor.list,
439
- get: (id) => editor.get(ID18.make(id)),
440
- update: (id, update) => editor.update(ID18.make(id), update),
441
- remove: (id) => editor.remove(ID18.make(id)),
439
+ get: (id) => editor.get(ID16.make(id)),
440
+ update: (id, update) => editor.update(ID16.make(id), update),
441
+ remove: (id) => editor.remove(ID16.make(id)),
442
442
  method: {
443
- list: (id) => editor.method.list(ID18.make(id)),
443
+ list: (id) => editor.method.list(ID16.make(id)),
444
444
  update: (input) => editor.method.update(methodImplementation(input)),
445
- remove: (id, method) => editor.method.remove(ID18.make(id), Schema.decodeUnknownSync(Method2)(method))
445
+ remove: (id, method) => editor.method.remove(ID16.make(id), Schema.decodeUnknownSync(Method2)(method))
446
446
  }
447
447
  });
448
448
  })
@@ -451,7 +451,7 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
451
451
  list: (input) => {
452
452
  const ref = locationRef(input);
453
453
  if (ref && !isCurrentLocation(ref))
454
- return atLocation(ref, Effect.flatMap(Service39, (mcp) => mcp.servers()));
454
+ return atLocation(ref, Effect.flatMap(Service40, (mcp) => mcp.servers()));
455
455
  return response(mcp.servers());
456
456
  },
457
457
  reload: mcp.reload,
@@ -471,9 +471,9 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
471
471
  get: sessionPermission,
472
472
  reply: (input) => sessionPermission(input).pipe(Effect.andThen(() => permission.reply({ requestID: input.requestID, reply: input.decision, message: input.message }))),
473
473
  assert: (input) => permission.assert(input).pipe(Effect.catchTags({
474
- "Permission.BlockedError": (error) => Effect.fail(new Error2({ message: error.message, error })),
475
- "Permission.CorrectedError": (error) => Effect.fail(new Error2({ message: error.feedback, error })),
476
- "Session.NotFoundError": (error) => Effect.fail(new Error2({ message: `Session not found: ${error.sessionID}`, error }))
474
+ "Permission.BlockedError": (error) => Effect.fail(new Error5({ message: error.message, error })),
475
+ "Permission.CorrectedError": (error) => Effect.fail(new Error5({ message: error.feedback, error })),
476
+ "Session.NotFoundError": (error) => Effect.fail(new Error5({ message: `Session not found: ${error.sessionID}`, error }))
477
477
  }))
478
478
  },
479
479
  plugin: {
@@ -484,7 +484,7 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
484
484
  reload: reference.reload,
485
485
  transform: (callback) => reference.transform((editor) => {
486
486
  callback({
487
- add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source5)(source)),
487
+ add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
488
488
  remove: editor.remove,
489
489
  list: editor.list,
490
490
  get: editor.get
@@ -498,7 +498,7 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
498
498
  callback({
499
499
  list: () => mutable(editor.list()),
500
500
  get: editor.get,
501
- add: (value) => editor.add(Schema.decodeUnknownSync(Info10)(value)),
501
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info11)(value)),
502
502
  update: editor.update,
503
503
  remove: editor.remove
504
504
  });
@@ -529,19 +529,19 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
529
529
  providers: () => response(websearch.providers()),
530
530
  query: (input) => response(websearch.query({
531
531
  query: input.query,
532
- providerID: input.providerID === undefined ? undefined : ID6.make(input.providerID)
532
+ providerID: input.providerID === undefined ? undefined : ID7.make(input.providerID)
533
533
  })),
534
534
  reload: websearch.reload,
535
535
  transform: (callback) => websearch.transform((editor) => {
536
536
  callback({
537
537
  add: (definition) => editor.add({
538
- id: ID6.make(definition.id),
538
+ id: ID7.make(definition.id),
539
539
  name: definition.name,
540
540
  execute: definition.execute
541
541
  }),
542
542
  default: {
543
543
  get: editor.default.get,
544
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID6.make(selection))
544
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID7.make(selection))
545
545
  }
546
546
  });
547
547
  })
@@ -620,33 +620,33 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
620
620
  return context;
621
621
  });
622
622
  var requirements3 = LayerNode.group([
623
- node47,
624
- node69,
625
- node28,
626
- node81,
627
- node83,
623
+ node66,
624
+ node75,
625
+ node25,
626
+ node71,
628
627
  node82,
629
- node44,
628
+ node81,
629
+ node53,
630
630
  node93,
631
- node84,
632
- node91,
633
- node42,
634
- node87,
635
- node89,
631
+ node83,
632
+ node80,
633
+ node43,
634
+ node90,
635
+ node49,
636
636
  node65,
637
- node46,
638
- node45,
639
- node27,
640
- node26,
641
- node73,
642
- node74,
643
- node79,
644
- node66,
645
- node70,
637
+ node52,
638
+ node68,
646
639
  node30,
647
- node34,
640
+ node28,
641
+ node26,
642
+ node27,
648
643
  node29,
649
- node75
644
+ node72,
645
+ node76,
646
+ node32,
647
+ node37,
648
+ node31,
649
+ node60
650
650
  ]);
651
651
  function storage2(kv, pluginID) {
652
652
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -673,7 +673,7 @@ function methodImplementation(input) {
673
673
  if ("authorize" in input) {
674
674
  const refresh = input.refresh;
675
675
  return {
676
- integrationID: ID18.make(input.integrationID),
676
+ integrationID: ID16.make(input.integrationID),
677
677
  method: { ...input.method, id: MethodID2.make(input.method.id) },
678
678
  authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
679
679
  if (authorization.mode === "auto") {
@@ -693,29 +693,29 @@ function methodImplementation(input) {
693
693
  }
694
694
  if (input.method.type === "env") {
695
695
  return {
696
- integrationID: ID18.make(input.integrationID),
696
+ integrationID: ID16.make(input.integrationID),
697
697
  method: input.method
698
698
  };
699
699
  }
700
700
  if (input.method.type === "command") {
701
701
  return {
702
- integrationID: ID18.make(input.integrationID),
702
+ integrationID: ID16.make(input.integrationID),
703
703
  method: { ...input.method, id: MethodID2.make(input.method.id) }
704
704
  };
705
705
  }
706
706
  if (input.method.type === "external") {
707
707
  return {
708
- integrationID: ID18.make(input.integrationID),
708
+ integrationID: ID16.make(input.integrationID),
709
709
  method: { ...input.method, id: MethodID2.make(input.method.id) }
710
710
  };
711
711
  }
712
712
  return {
713
- integrationID: ID18.make(input.integrationID),
713
+ integrationID: ID16.make(input.integrationID),
714
714
  method: input.method
715
715
  };
716
716
  }
717
717
  function connectionInfo(connection) {
718
- return connection.type === "credential" ? { ...connection, id: ID20.make(connection.id) } : connection;
718
+ return connection.type === "credential" ? { ...connection, id: ID17.make(connection.id) } : connection;
719
719
  }
720
720
  function credential(value) {
721
721
  return OAuth3.make({ ...value, methodID: MethodID2.make(value.methodID) });
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID16
3
- } from "./pty-etatbea9.js";
2
+ ID14
3
+ } from "./plugin-n995p2xd.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID16.make("gpt-5-chat-latest"), ID16.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID14.make("gpt-5-chat-latest"), ID14.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {