@opencode/core 0.0.0-dev-491 → 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 (958) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  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 +240 -239
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{schema-5zrvqxbg.js → plugin-0307q67x.js} +27 -37
  9. package/dist/chunks/{schema-aj7mw0zk.js → plugin-034tev2y.js} +2 -2
  10. package/dist/chunks/{schema-mtjzj2m1.js → plugin-03fcrb20.js} +27 -27
  11. package/dist/chunks/{schema-afz985yq.js → plugin-0c17gj5y.js} +52 -67
  12. package/dist/chunks/{schema-z01zhnc6.js → plugin-0fgydazq.js} +30 -33
  13. package/dist/chunks/{schema-s2edn48d.js → plugin-0fk7qgkg.js} +19 -18
  14. package/dist/chunks/{schema-x9fmexvv.js → plugin-0gawn60p.js} +5 -9
  15. package/dist/chunks/{schema-0ma9gw4f.js → plugin-0ma9gw4f.js} +2 -2
  16. package/dist/chunks/{schema-ygmq07zy.js → plugin-0nwyq8xc.js} +19 -19
  17. package/dist/chunks/{schema-6x26xpab.js → plugin-0r1vvj52.js} +16 -16
  18. package/dist/chunks/plugin-0rprqean.js +28 -0
  19. package/dist/chunks/{schema-4ze3m284.js → plugin-0s190qh7.js} +86 -86
  20. package/dist/chunks/{schema-j2t21h9q.js → plugin-0vd1ww2e.js} +8 -8
  21. package/dist/chunks/{schema-eh3zwz77.js → plugin-108x4f4w.js} +1 -10
  22. package/dist/chunks/{schema-tk7wm9t6.js → plugin-143cpz4c.js} +31 -58
  23. package/dist/chunks/{schema-x150ncgg.js → plugin-18aa7g5f.js} +2 -2
  24. package/dist/chunks/{schema-g442wsqe.js → plugin-18b1hh0p.js} +11 -11
  25. package/dist/chunks/{schema-1aqsckx4.js → plugin-1aqsckx4.js} +1 -1
  26. package/dist/chunks/{schema-8yhnmq54.js → plugin-1e94hgbm.js} +21 -21
  27. package/dist/chunks/{schema-27w5k9zf.js → plugin-1ep2p91f.js} +2 -2
  28. package/dist/chunks/{schema-j1kb77r1.js → plugin-1g0v3vx9.js} +29 -29
  29. package/dist/chunks/{schema-pmjf6175.js → plugin-1w13tshp.js} +16 -16
  30. package/dist/chunks/{schema-rezvgxsg.js → plugin-1w2h5b1p.js} +37 -39
  31. package/dist/chunks/{schema-1x2knyw4.js → plugin-1x2knyw4.js} +1 -1
  32. package/dist/chunks/{schema-v8wxce3j.js → plugin-1ycjxbw0.js} +16 -16
  33. package/dist/chunks/{schema-hr712wcm.js → plugin-205xss10.js} +15 -15
  34. package/dist/chunks/{schema-9ywzg6g3.js → plugin-20j6w53w.js} +19 -19
  35. package/dist/chunks/{schema-pkkerzhz.js → plugin-23ef35a7.js} +9 -9
  36. package/dist/chunks/{schema-g3smeneb.js → plugin-25d4jj4c.js} +3 -3
  37. package/dist/chunks/{schema-8b3vzgkx.js → plugin-25h84942.js} +4 -4
  38. package/dist/chunks/{schema-kze6nzna.js → plugin-26wfx3k0.js} +7 -7
  39. package/dist/chunks/{schema-mdkgg4b2.js → plugin-26x1t9w8.js} +7 -7
  40. package/dist/chunks/{schema-b25mxkxc.js → plugin-2jstwc4e.js} +19 -19
  41. package/dist/chunks/{schema-sf9y72b7.js → plugin-38aws4xb.js} +4 -4
  42. package/dist/chunks/{schema-fkk1f725.js → plugin-3942hstv.js} +31 -31
  43. package/dist/chunks/{schema-3adw4bt5.js → plugin-3adw4bt5.js} +2 -2
  44. package/dist/chunks/{schema-e73j6tqm.js → plugin-3af0jn4w.js} +1 -7
  45. package/dist/chunks/{schema-cj6s55dc.js → plugin-3dgyt4sk.js} +50 -50
  46. package/dist/chunks/{schema-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{schema-htk0pxp4.js → plugin-3jem8rp1.js} +24 -24
  48. package/dist/chunks/{schema-hs0d6vna.js → plugin-3nbgerk0.js} +25 -29
  49. package/dist/chunks/{schema-3nnrz6f6.js → plugin-3nnrz6f6.js} +1 -1
  50. package/dist/chunks/{schema-69s1y7w5.js → plugin-3pf4ebn6.js} +11 -11
  51. package/dist/chunks/{schema-2vn10rnz.js → plugin-400hm5z8.js} +5 -5
  52. package/dist/chunks/{schema-40y6dtc2.js → plugin-40y6dtc2.js} +1 -1
  53. package/dist/chunks/{schema-w2eysc6j.js → plugin-40za9wsf.js} +9 -9
  54. package/dist/chunks/{schema-20yhjmgn.js → plugin-45wpgpw0.js} +10 -10
  55. package/dist/chunks/{schema-th5svyvp.js → plugin-46zfztsf.js} +2 -2
  56. package/dist/chunks/{schema-rs07w8af.js → plugin-4b5w7wew.js} +30 -31
  57. package/dist/chunks/{schema-4dx1dgte.js → plugin-4dx1dgte.js} +1 -1
  58. package/dist/chunks/{schema-r542h3bh.js → plugin-4f25tdd0.js} +5 -5
  59. package/dist/chunks/{schema-cpe35zww.js → plugin-4gmbvmjy.js} +4 -4
  60. package/dist/chunks/{schema-wse597y0.js → plugin-4jbhkvpc.js} +11 -11
  61. package/dist/chunks/{schema-4pyp9zr9.js → plugin-4pyp9zr9.js} +1 -1
  62. package/dist/chunks/{schema-hae73tt5.js → plugin-4tkdjh03.js} +29 -29
  63. package/dist/chunks/{schema-wxd7rbv3.js → plugin-4tpf07mz.js} +14 -14
  64. package/dist/chunks/{schema-4v008n1t.js → plugin-4v008n1t.js} +1 -1
  65. package/dist/chunks/{schema-yv34actv.js → plugin-4v75kcj2.js} +11 -11
  66. package/dist/chunks/{schema-v0dc4xqt.js → plugin-52mfrm74.js} +199 -214
  67. package/dist/chunks/{schema-wcrhk13t.js → plugin-5czv5vem.js} +3 -3
  68. package/dist/chunks/{schema-kxcyzez0.js → plugin-5da9cq3a.js} +11 -11
  69. package/dist/chunks/{schema-eeze92kt.js → plugin-5e6t1ybt.js} +5 -7
  70. package/dist/chunks/{schema-39ecara3.js → plugin-5fd6nf8f.js} +46 -56
  71. package/dist/chunks/{schema-1acgysvj.js → plugin-5k0e9bef.js} +9 -9
  72. package/dist/chunks/{schema-7wz58vea.js → plugin-5m0kkg6e.js} +3 -3
  73. package/dist/chunks/{schema-9vbafrh8.js → plugin-5m6m8jcx.js} +16 -16
  74. package/dist/chunks/{schema-5m9w47nd.js → plugin-5m9w47nd.js} +1 -1
  75. package/dist/chunks/{schema-c485byne.js → plugin-5mabv1as.js} +8 -8
  76. package/dist/chunks/{schema-j3118bbp.js → plugin-5q4fwj44.js} +21 -21
  77. package/dist/chunks/{schema-qygxdx42.js → plugin-5xy2086m.js} +42 -48
  78. package/dist/chunks/{schema-crrcr980.js → plugin-64eehrrp.js} +8 -8
  79. package/dist/chunks/{schema-zn515352.js → plugin-64h51qjv.js} +9 -9
  80. package/dist/chunks/{schema-7wetmpgy.js → plugin-659689q6.js} +106 -126
  81. package/dist/chunks/{schema-saqe5fxg.js → plugin-66fcksfe.js} +29 -31
  82. package/dist/chunks/{schema-zrcyxcfh.js → plugin-68y3jp1b.js} +29 -29
  83. package/dist/chunks/{schema-h5gm5jf1.js → plugin-6cqkw5v2.js} +7 -7
  84. package/dist/chunks/{schema-ygy4s6bd.js → plugin-6d3d7yn0.js} +23 -23
  85. package/dist/chunks/{schema-njm1h2ne.js → plugin-6hkk8qd7.js} +6 -6
  86. package/dist/chunks/{schema-yrb8cmyx.js → plugin-6wzhfj3x.js} +13 -13
  87. package/dist/chunks/{schema-tt497rda.js → plugin-76rtdvsh.js} +30 -38
  88. package/dist/chunks/{schema-775hqbnd.js → plugin-775hqbnd.js} +3 -3
  89. package/dist/chunks/{schema-wvr8xscb.js → plugin-79k544d0.js} +7 -7
  90. package/dist/chunks/{schema-d1e46tjw.js → plugin-7b62eh3s.js} +32 -32
  91. package/dist/chunks/{schema-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
  92. package/dist/chunks/{schema-fzt7dsyw.js → plugin-7fcgsqjj.js} +43 -43
  93. package/dist/chunks/{schema-7gc06pn7.js → plugin-7nwg7nkv.js} +33 -34
  94. package/dist/chunks/{schema-vzv5k31s.js → plugin-7qs3n6rr.js} +26 -20
  95. package/dist/chunks/{schema-1mgbt8zv.js → plugin-7sg11x79.js} +12 -12
  96. package/dist/chunks/{schema-160yv0cs.js → plugin-7tpyp9vw.js} +8 -8
  97. package/dist/chunks/{schema-7w2ypzdf.js → plugin-7w2ypzdf.js} +1 -1
  98. package/dist/chunks/{schema-7weczvnd.js → plugin-7weczvnd.js} +1 -1
  99. package/dist/chunks/{schema-5ss6spnt.js → plugin-7wr677ys.js} +3 -3
  100. package/dist/chunks/{schema-7357t78n.js → plugin-821by267.js} +7 -7
  101. package/dist/chunks/{schema-jf43mb4q.js → plugin-82phgae0.js} +8 -8
  102. package/dist/chunks/{schema-dn909y3q.js → plugin-882wabxv.js} +45 -45
  103. package/dist/chunks/{schema-89287pr7.js → plugin-89287pr7.js} +1 -1
  104. package/dist/chunks/{schema-e383wbw3.js → plugin-8ay7y1mr.js} +13 -13
  105. package/dist/chunks/{schema-zmn1zasx.js → plugin-8bwj31k3.js} +8 -8
  106. package/dist/chunks/{schema-8cg7mtm3.js → plugin-8cg7mtm3.js} +1 -1
  107. package/dist/chunks/{schema-1hqk7qd1.js → plugin-8j4sf7tq.js} +7 -7
  108. package/dist/chunks/{schema-267nqqyb.js → plugin-8kdhxkda.js} +76 -86
  109. package/dist/chunks/{schema-ysh3dgvc.js → plugin-8ppcttfd.js} +14 -14
  110. package/dist/chunks/{schema-3748dbe8.js → plugin-8pt3y8ax.js} +31 -31
  111. package/dist/chunks/{schema-bb3mmwvh.js → plugin-8sxe6kv8.js} +2 -2
  112. package/dist/chunks/{schema-8wtp7s3z.js → plugin-8wtp7s3z.js} +1 -1
  113. package/dist/chunks/{schema-crmh26nv.js → plugin-8x8h4rhy.js} +7 -7
  114. package/dist/chunks/{schema-brv6mkyx.js → plugin-8xz27cp9.js} +4 -4
  115. package/dist/chunks/{schema-fnnekxbx.js → plugin-8z4njp8c.js} +361 -359
  116. package/dist/chunks/{schema-90zstvax.js → plugin-90zstvax.js} +1 -1
  117. package/dist/chunks/{schema-wc6thd2m.js → plugin-92cgrw0c.js} +14 -17
  118. package/dist/chunks/{schema-963hk181.js → plugin-963hk181.js} +2 -2
  119. package/dist/chunks/{schema-szwm4crx.js → plugin-96djdqw5.js} +4 -4
  120. package/dist/chunks/{schema-akx6eq60.js → plugin-97zmy9as.js} +34 -44
  121. package/dist/chunks/{schema-mf63ygpr.js → plugin-9q8g9sv8.js} +4 -4
  122. package/dist/chunks/{schema-b0vacgmx.js → plugin-9rgr5dz2.js} +6 -14
  123. package/dist/chunks/{schema-974fscry.js → plugin-9smy52bw.js} +21 -21
  124. package/dist/chunks/{schema-xcxvf2mg.js → plugin-9y5h6eke.js} +14 -17
  125. package/dist/chunks/plugin-9zmrnjhe.js +69 -0
  126. package/dist/chunks/{schema-cr2p0kda.js → plugin-a33ck5g3.js} +23 -23
  127. package/dist/chunks/{schema-jv8r5h6h.js → plugin-asv65enq.js} +21 -21
  128. package/dist/chunks/{schema-g5za79em.js → plugin-aya2pgr4.js} +3 -3
  129. package/dist/chunks/{schema-3cbjf1nt.js → plugin-ayjs7tqn.js} +2 -2
  130. package/dist/chunks/{schema-vypb472n.js → plugin-azgwy399.js} +24 -24
  131. package/dist/chunks/{schema-4pfm4xhn.js → plugin-b5dp1yyd.js} +36 -36
  132. package/dist/chunks/{schema-b6vsg801.js → plugin-b6vsg801.js} +2 -2
  133. package/dist/chunks/{schema-r5z1733q.js → plugin-b7awpy5c.js} +17 -17
  134. package/dist/chunks/{schema-1pevy3nx.js → plugin-bhmrqjy3.js} +12 -21
  135. package/dist/chunks/{schema-xnespcx4.js → plugin-bqt8n8sn.js} +20 -21
  136. package/dist/chunks/{schema-hev8zkn4.js → plugin-bsft2v7w.js} +18 -18
  137. package/dist/chunks/{schema-bstexjd6.js → plugin-bstexjd6.js} +1 -1
  138. package/dist/chunks/{schema-4r9r2tvk.js → plugin-bwda0h4h.js} +9 -16
  139. package/dist/chunks/{schema-nsqhjfa0.js → plugin-bytt2466.js} +106 -139
  140. package/dist/chunks/{schema-e932njkj.js → plugin-c0g1rcjh.js} +9 -9
  141. package/dist/chunks/{schema-fspaztcq.js → plugin-c0mz4dw7.js} +9 -9
  142. package/dist/chunks/{schema-c4bydvs8.js → plugin-ch1bfet6.js} +39 -38
  143. package/dist/chunks/{schema-ztjgp9mc.js → plugin-ch5jtm51.js} +5 -5
  144. package/dist/chunks/{schema-07njmr26.js → plugin-cj804wmc.js} +4 -4
  145. package/dist/chunks/{schema-7gh115gk.js → plugin-cjt6hyjh.js} +59 -59
  146. package/dist/chunks/{schema-xar4zgxk.js → plugin-cmww38cp.js} +4 -4
  147. package/dist/chunks/{schema-b1hp95c4.js → plugin-cq0xhnx7.js} +85 -85
  148. package/dist/chunks/{schema-k86qxh6q.js → plugin-cqshc3qt.js} +11 -36
  149. package/dist/chunks/{schema-6h8vcvjm.js → plugin-ctmpqb7w.js} +9 -9
  150. package/dist/chunks/{schema-cwrgdav8.js → plugin-cwrgdav8.js} +2 -2
  151. package/dist/chunks/plugin-d0ypfarx.js +26 -0
  152. package/dist/chunks/{schema-9ek4pzqb.js → plugin-d29ybxya.js} +4 -4
  153. package/dist/chunks/{schema-d4v9tmah.js → plugin-d4v9tmah.js} +2 -2
  154. package/dist/chunks/{schema-0e72twgx.js → plugin-d5p8nnrp.js} +44 -52
  155. package/dist/chunks/{schema-05jba50e.js → plugin-d6nd5g21.js} +6 -6
  156. package/dist/chunks/{schema-cf903btn.js → plugin-d9rtw456.js} +33 -45
  157. package/dist/chunks/{schema-dt77769w.js → plugin-dt77769w.js} +1 -1
  158. package/dist/chunks/{schema-cjg73b7n.js → plugin-e402ykp8.js} +11 -11
  159. package/dist/chunks/{schema-e834z07m.js → plugin-e834z07m.js} +1 -1
  160. package/dist/chunks/{schema-5hbm6fh6.js → plugin-ebgwwyf3.js} +15 -15
  161. package/dist/chunks/{schema-xr5ngpme.js → plugin-ed9atyp6.js} +31 -37
  162. package/dist/chunks/{schema-9zvhtp2r.js → plugin-egs6vbpk.js} +49 -49
  163. package/dist/chunks/{schema-040bqqk0.js → plugin-ejkdhtg9.js} +1 -1
  164. package/dist/chunks/{schema-n8szhp98.js → plugin-ep6snxvm.js} +5 -5
  165. package/dist/chunks/{schema-eqw4pqj1.js → plugin-eqw4pqj1.js} +2 -2
  166. package/dist/chunks/{schema-tecv0z0k.js → plugin-et1f68h9.js} +8 -8
  167. package/dist/chunks/{schema-qtf35215.js → plugin-ez4sqtdc.js} +3 -3
  168. package/dist/chunks/plugin-ezna1kdx.js +18 -0
  169. package/dist/chunks/{schema-6ptc49v9.js → plugin-fdqvem49.js} +6 -6
  170. package/dist/chunks/{schema-22877hrr.js → plugin-fe12914f.js} +21 -21
  171. package/dist/chunks/{schema-mv0hp075.js → plugin-fere6m7x.js} +16 -16
  172. package/dist/chunks/{schema-fffv3p7h.js → plugin-fffv3p7h.js} +1 -1
  173. package/dist/chunks/{schema-ehjdr9kj.js → plugin-ffwf0set.js} +3 -3
  174. package/dist/chunks/{schema-fg9p65nk.js → plugin-fg9p65nk.js} +2 -2
  175. package/dist/chunks/{schema-yqnnk2wp.js → plugin-fh35p99c.js} +20 -20
  176. package/dist/chunks/{schema-f4kasrny.js → plugin-fn8jvz8n.js} +16 -16
  177. package/dist/chunks/plugin-fxd1mh99.js +42 -0
  178. package/dist/chunks/{schema-5wv7wkw7.js → plugin-g2qxe5yd.js} +10 -10
  179. package/dist/chunks/{schema-jhwp234h.js → plugin-g8gy8cqb.js} +4 -4
  180. package/dist/chunks/{schema-bnhv7900.js → plugin-g9c7e3vx.js} +13 -13
  181. package/dist/chunks/{schema-gbjdnr5j.js → plugin-gbjdnr5j.js} +2 -2
  182. package/dist/chunks/{schema-nvx0tz4r.js → plugin-gezffjc8.js} +21 -21
  183. package/dist/chunks/plugin-ghrv1g9c.js +38 -0
  184. package/dist/chunks/{schema-3416qbwy.js → plugin-gjweb3gp.js} +8 -8
  185. package/dist/chunks/{schema-ss6cgsgk.js → plugin-gn5zcm9s.js} +20 -21
  186. package/dist/chunks/{schema-3qwqbjqh.js → plugin-gr50ewac.js} +15 -15
  187. package/dist/chunks/{schema-tg7s7b5t.js → plugin-gxs71cxp.js} +4 -4
  188. package/dist/chunks/{schema-jdfneqs4.js → plugin-h2w0evjw.js} +52 -61
  189. package/dist/chunks/{schema-954e8f6b.js → plugin-h2yyaxhq.js} +28 -30
  190. package/dist/chunks/{schema-18g55aa2.js → plugin-h3gq0p8j.js} +8 -119
  191. package/dist/chunks/{schema-v8mak0jw.js → plugin-h6y5cyye.js} +13 -10
  192. package/dist/chunks/{schema-cx89w8t7.js → plugin-hc7jz7r9.js} +55 -61
  193. package/dist/chunks/{schema-3k1df4cf.js → plugin-hccd5xc6.js} +4 -4
  194. package/dist/chunks/{schema-827fdamw.js → plugin-hh9dw27j.js} +13 -13
  195. package/dist/chunks/{schema-y7rptanb.js → plugin-hnb0d39k.js} +22 -33
  196. package/dist/chunks/{schema-ynddwxng.js → plugin-hr807t1y.js} +8 -8
  197. package/dist/chunks/{schema-2n7wa7sq.js → plugin-hva22j4a.js} +19 -19
  198. package/dist/chunks/{schema-qzntb7s5.js → plugin-hw1j2f02.js} +9 -9
  199. package/dist/chunks/{schema-xnegq722.js → plugin-hx394b5m.js} +36 -47
  200. package/dist/chunks/{schema-7wkzsx5z.js → plugin-hy66zyk1.js} +21 -21
  201. package/dist/chunks/{schema-r17fbvme.js → plugin-j1zpf99x.js} +7 -7
  202. package/dist/chunks/{schema-tr8x705m.js → plugin-j376ae4e.js} +5 -5
  203. package/dist/chunks/{schema-j9nxzz3g.js → plugin-j9nxzz3g.js} +3 -3
  204. package/dist/chunks/{schema-5zpqhmp2.js → plugin-jfcqwqwp.js} +6 -6
  205. package/dist/chunks/{schema-csd7ebkm.js → plugin-jgsj3drs.js} +40 -41
  206. package/dist/chunks/{schema-5n0rnk8e.js → plugin-jkdcm5hg.js} +4 -4
  207. package/dist/chunks/{schema-p4w1989n.js → plugin-jsjkdva5.js} +21 -25
  208. package/dist/chunks/{schema-3maza8nj.js → plugin-jwcrseny.js} +24 -24
  209. package/dist/chunks/{schema-44pmzq9c.js → plugin-jxd6f16v.js} +2 -2
  210. package/dist/chunks/{schema-y71c85jv.js → plugin-jz1wtjz3.js} +5 -5
  211. package/dist/chunks/{schema-7d2a7xbs.js → plugin-k151g6mf.js} +5 -5
  212. package/dist/chunks/{schema-3vp9g4px.js → plugin-k2qbgnm5.js} +16 -16
  213. package/dist/chunks/{schema-2g5fs7wp.js → plugin-k3zq5bxc.js} +27 -36
  214. package/dist/chunks/{schema-rkbq4mr3.js → plugin-k8p04dbv.js} +12 -12
  215. package/dist/chunks/{schema-7kr66rt3.js → plugin-kh8gdsej.js} +55 -92
  216. package/dist/chunks/{schema-vmqe41cb.js → plugin-kj9n5bvh.js} +4 -4
  217. package/dist/chunks/{schema-0069kg3w.js → plugin-ksw9nvwk.js} +33 -34
  218. package/dist/chunks/{schema-kt3bjfbg.js → plugin-kt3bjfbg.js} +1 -1
  219. package/dist/chunks/{schema-kzczzf4v.js → plugin-kzczzf4v.js} +1 -1
  220. package/dist/chunks/{schema-ep6pe98a.js → plugin-kzdam8c6.js} +7 -7
  221. package/dist/chunks/{schema-m1714858.js → plugin-m1714858.js} +1 -1
  222. package/dist/chunks/{schema-nc6ym85v.js → plugin-m22qpjt0.js} +43 -43
  223. package/dist/chunks/plugin-m28a2cxj.js +45 -0
  224. package/dist/chunks/{schema-rgr58pg0.js → plugin-m3vj42yh.js} +11 -11
  225. package/dist/chunks/{schema-an38jetd.js → plugin-m84ty610.js} +15 -15
  226. package/dist/chunks/{schema-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
  227. package/dist/chunks/{schema-8z6m94af.js → plugin-mb7mbhnz.js} +3 -3
  228. package/dist/chunks/{schema-p7s5ympt.js → plugin-mgx795sg.js} +34 -42
  229. package/dist/chunks/{schema-a2y6he6z.js → plugin-mkqdp8ha.js} +8 -8
  230. package/dist/chunks/{schema-s1d5m1r1.js → plugin-mmv5kgnn.js} +11 -11
  231. package/dist/chunks/{schema-y329tfma.js → plugin-mrba6hw6.js} +8 -8
  232. package/dist/chunks/{schema-1bmqe60m.js → plugin-mvfgry4c.js} +13 -13
  233. package/dist/chunks/{schema-vjrqr51s.js → plugin-mzy2axmh.js} +3 -3
  234. package/dist/chunks/{schema-6r3e2m86.js → plugin-n28cn2fs.js} +6 -326
  235. package/dist/chunks/{schema-96ahmd6x.js → plugin-n29tdv07.js} +24 -24
  236. package/dist/chunks/{schema-wdwt8pse.js → plugin-n33wks76.js} +35 -78
  237. package/dist/chunks/{schema-7cfarfc9.js → plugin-n995p2xd.js} +29 -29
  238. package/dist/chunks/{schema-hrs1my6p.js → plugin-nf9zancy.js} +21 -21
  239. package/dist/chunks/{schema-056gbxz2.js → plugin-nvrmqqyc.js} +43 -46
  240. package/dist/chunks/{schema-mpzzt3bk.js → plugin-p1g7zq4e.js} +12 -12
  241. package/dist/chunks/{schema-1yq9hg58.js → plugin-p7vhpwh8.js} +5 -5
  242. package/dist/chunks/{schema-z4be597q.js → plugin-pdyefe2s.js} +16 -16
  243. package/dist/chunks/{schema-yfd5yn1x.js → plugin-pjn7nv2s.js} +57 -60
  244. package/dist/chunks/{schema-pknna89w.js → plugin-pknna89w.js} +1 -1
  245. package/dist/chunks/{schema-gx16d8rj.js → plugin-pnwsrq7c.js} +8 -8
  246. package/dist/chunks/{schema-tc429zzg.js → plugin-ps7x4nfx.js} +40 -53
  247. package/dist/chunks/{schema-0cdjmvxc.js → plugin-psa3qbev.js} +11 -11
  248. package/dist/chunks/{schema-dg5naf6e.js → plugin-px7qpgcn.js} +4 -4
  249. package/dist/chunks/{schema-0djc5t6x.js → plugin-py5xaqhw.js} +22 -22
  250. package/dist/chunks/{schema-610gd2w6.js → plugin-qchry0bm.js} +19 -17
  251. package/dist/chunks/{schema-hrp8tsee.js → plugin-qeza7szv.js} +25 -28
  252. package/dist/chunks/{schema-8r9nj4s8.js → plugin-qkc3z5ds.js} +4 -4
  253. package/dist/chunks/{schema-qp7r0hxv.js → plugin-qp7r0hxv.js} +1 -1
  254. package/dist/chunks/{schema-dgnwfmhp.js → plugin-qqd78179.js} +15 -15
  255. package/dist/chunks/{schema-qqvy8y24.js → plugin-qqvy8y24.js} +1 -1
  256. package/dist/chunks/{schema-hqtkd67t.js → plugin-qsxr0pb6.js} +11 -11
  257. package/dist/chunks/plugin-r21r83t2.js +265 -0
  258. package/dist/chunks/{schema-p9x26950.js → plugin-r2jsee34.js} +8 -8
  259. package/dist/chunks/{schema-tkxx25dy.js → plugin-ranh0xe7.js} +4 -4
  260. package/dist/chunks/{schema-rb9dy4dg.js → plugin-rb9dy4dg.js} +1 -1
  261. package/dist/chunks/{schema-177t8xde.js → plugin-rd9wcvfd.js} +5 -5
  262. package/dist/chunks/{schema-jtnps1zs.js → plugin-rgc9cx3e.js} +9 -4
  263. package/dist/chunks/{schema-2wy6zzm4.js → plugin-rh4e39b1.js} +5 -5
  264. package/dist/chunks/{schema-qnqasnye.js → plugin-rmv7fhs4.js} +6 -6
  265. package/dist/chunks/{schema-1vp6kgjq.js → plugin-rsh0a03v.js} +27 -35
  266. package/dist/chunks/{schema-rt5dr6hb.js → plugin-rt5dr6hb.js} +1 -1
  267. package/dist/chunks/{schema-wrfejyj7.js → plugin-rx91prjf.js} +11 -11
  268. package/dist/chunks/{schema-1dgxpnnn.js → plugin-s077j9hd.js} +41 -45
  269. package/dist/chunks/{schema-2p60zmnr.js → plugin-s1ba0vj0.js} +2 -2
  270. package/dist/chunks/{schema-0xaphmx4.js → plugin-s8qtxmzm.js} +19 -4
  271. package/dist/chunks/{schema-sa3fpqfw.js → plugin-sa3fpqfw.js} +2 -2
  272. package/dist/chunks/{schema-sbya78hr.js → plugin-sbya78hr.js} +1 -1
  273. package/dist/chunks/{schema-vb80j1wh.js → plugin-sbz71ybr.js} +3 -3
  274. package/dist/chunks/{schema-61qraad9.js → plugin-scmk72rv.js} +5 -5
  275. package/dist/chunks/{schema-0j7gp832.js → plugin-sqjzf8x2.js} +4 -4
  276. package/dist/chunks/{schema-94e33dpz.js → plugin-stbett4v.js} +3 -3
  277. package/dist/chunks/{schema-svcy3p9a.js → plugin-svcy3p9a.js} +1 -1
  278. package/dist/chunks/{schema-5373j5vs.js → plugin-syxe2jw8.js} +6 -6
  279. package/dist/chunks/{schema-531yazj3.js → plugin-t5tepyg2.js} +9 -9
  280. package/dist/chunks/{schema-9g28e2s0.js → plugin-t70bn8z7.js} +12 -12
  281. package/dist/chunks/{schema-tczq8hjw.js → plugin-tczq8hjw.js} +1 -1
  282. package/dist/chunks/{schema-4byhtres.js → plugin-tjyxzeh0.js} +14 -14
  283. package/dist/chunks/{schema-79q7t6vk.js → plugin-tssnwzvm.js} +45 -50
  284. package/dist/chunks/{schema-49v9szp5.js → plugin-tvfn97n0.js} +9 -10
  285. package/dist/chunks/plugin-tvtps2q9.js +40 -0
  286. package/dist/chunks/{schema-twssxy5n.js → plugin-twssxy5n.js} +2 -2
  287. package/dist/chunks/{schema-1xr65f63.js → plugin-ty825d7j.js} +5 -5
  288. package/dist/chunks/{schema-pkyxhtt8.js → plugin-v055br61.js} +4 -4
  289. package/dist/chunks/{schema-xfkjnhsk.js → plugin-v1nhkc67.js} +11 -11
  290. package/dist/chunks/{schema-v2r1d0zg.js → plugin-v2r1d0zg.js} +1 -1
  291. package/dist/chunks/{schema-qq0q7pz9.js → plugin-v6ffavxp.js} +18 -13
  292. package/dist/chunks/{schema-51d35nkj.js → plugin-v80n1jgs.js} +6 -6
  293. package/dist/chunks/plugin-v9nnbbtp.js +69 -0
  294. package/dist/chunks/{schema-9sy862gz.js → plugin-v9x69s9r.js} +12 -12
  295. package/dist/chunks/{schema-vw7pb86b.js → plugin-vactc6jv.js} +37 -37
  296. package/dist/chunks/plugin-van5qev3.js +85 -0
  297. package/dist/chunks/{schema-szya7jty.js → plugin-vb3hc0dy.js} +27 -27
  298. package/dist/chunks/{schema-6cnr43q5.js → plugin-veq7nxyb.js} +18 -18
  299. package/dist/chunks/{schema-vjf35v1f.js → plugin-vjf35v1f.js} +1 -1
  300. package/dist/chunks/{schema-009ad18z.js → plugin-vnepjky2.js} +21 -21
  301. package/dist/chunks/{schema-17wpx1f8.js → plugin-vntx4tw2.js} +16 -16
  302. package/dist/chunks/{schema-aq1dqpx8.js → plugin-vz9qepft.js} +27 -30
  303. package/dist/chunks/{schema-z78ex2z3.js → plugin-w2sgeva4.js} +9 -24
  304. package/dist/chunks/{schema-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
  305. package/dist/chunks/{schema-z9e79eck.js → plugin-w7zjgm3x.js} +12 -12
  306. package/dist/chunks/{schema-x4w59bsh.js → plugin-w8a1xme7.js} +18 -18
  307. package/dist/chunks/{schema-9nh708zh.js → plugin-w986w4hx.js} +6 -6
  308. package/dist/chunks/{schema-wakvkjy4.js → plugin-wakvkjy4.js} +1 -1
  309. package/dist/chunks/{schema-wd87259q.js → plugin-wd87259q.js} +1 -1
  310. package/dist/chunks/{schema-hmcbsnb6.js → plugin-wd8v34mw.js} +5 -5
  311. package/dist/chunks/{schema-nx4vzyjd.js → plugin-wegkxhrn.js} +2 -2
  312. package/dist/chunks/{schema-k3cx6fhe.js → plugin-wfdx5ztx.js} +4 -4
  313. package/dist/chunks/{schema-cbqrfj54.js → plugin-wg3vpxnx.js} +5 -5
  314. package/dist/chunks/{schema-wnhgecwx.js → plugin-wnhgecwx.js} +1 -1
  315. package/dist/chunks/{schema-wr3re1en.js → plugin-wr3re1en.js} +1 -1
  316. package/dist/chunks/{schema-sh8kb457.js → plugin-ww36sbnk.js} +5 -6
  317. package/dist/chunks/{schema-t1r3r4xh.js → plugin-x0z7edbs.js} +18 -18
  318. package/dist/chunks/{schema-a5fx33f2.js → plugin-x4mcewfn.js} +8 -8
  319. package/dist/chunks/{schema-9hm59r1c.js → plugin-x7daqgzn.js} +48 -42
  320. package/dist/chunks/{schema-4jd8rbj6.js → plugin-x8n516ga.js} +9 -9
  321. package/dist/chunks/{schema-51nz7m1t.js → plugin-xa4rzg62.js} +50 -55
  322. package/dist/chunks/{schema-b292epq5.js → plugin-xbtkckw0.js} +32 -32
  323. package/dist/chunks/{schema-a2xw24t4.js → plugin-xd4rj5dr.js} +17 -17
  324. package/dist/chunks/{schema-sbxckrs6.js → plugin-xeb6r8mn.js} +78 -78
  325. package/dist/chunks/plugin-xjr6c8m4.js +37 -0
  326. package/dist/chunks/{schema-c6x7d2ts.js → plugin-xmx7xj34.js} +4 -4
  327. package/dist/chunks/{schema-hqerns6c.js → plugin-xnw3wznc.js} +15 -9
  328. package/dist/chunks/{schema-6vwb70w2.js → plugin-xpbztm1g.js} +33 -30
  329. package/dist/chunks/{schema-s46s4q5z.js → plugin-xqeg9bew.js} +11 -11
  330. package/dist/chunks/{schema-wgtjsce3.js → plugin-xr2zjevv.js} +2 -2
  331. package/dist/chunks/{schema-k3ysz89m.js → plugin-xysn4frr.js} +11 -11
  332. package/dist/chunks/{schema-p76d4538.js → plugin-xz3qdgg9.js} +6 -6
  333. package/dist/chunks/{schema-vba4zwdc.js → plugin-y2bhwy3z.js} +9 -9
  334. package/dist/chunks/{schema-1e1dknnq.js → plugin-y4n6pw34.js} +4 -4
  335. package/dist/chunks/{schema-yb20nhc3.js → plugin-yb20nhc3.js} +1 -1
  336. package/dist/chunks/{schema-msd2a3qm.js → plugin-ybws1qgk.js} +4 -4
  337. package/dist/chunks/{schema-074zz3d2.js → plugin-yfzjcqwq.js} +18 -19
  338. package/dist/chunks/{schema-vm1w8k2h.js → plugin-ygsqpktb.js} +31 -33
  339. package/dist/chunks/{schema-4a220kpg.js → plugin-yj0rtb4n.js} +44 -67
  340. package/dist/chunks/{schema-yr705xyq.js → plugin-yr705xyq.js} +1 -1
  341. package/dist/chunks/{schema-yvtc2x31.js → plugin-yvtc2x31.js} +1 -1
  342. package/dist/chunks/{schema-c9kma9ds.js → plugin-z34m5vvf.js} +11 -11
  343. package/dist/chunks/{schema-b78t38vn.js → plugin-zbnm3t1v.js} +11 -11
  344. package/dist/chunks/{schema-h2h7ybtz.js → plugin-zhwa4vsz.js} +30 -30
  345. package/dist/chunks/{schema-75w632t3.js → plugin-znwf6q4v.js} +80 -44
  346. package/dist/chunks/{schema-0x221h4h.js → plugin-zq70qzgy.js} +30 -31
  347. package/dist/chunks/plugin-zt1atjsr.js +82 -0
  348. package/dist/chunks/{schema-4vcrnpx2.js → plugin-zxpyjp51.js} +9 -19
  349. package/dist/codemode/catalog.js +1 -1
  350. package/dist/codemode/execution.js +3 -3
  351. package/dist/codemode/fetch.js +145 -145
  352. package/dist/codemode/instructions.js +7 -7
  353. package/dist/codemode/tool.js +151 -151
  354. package/dist/command.js +94 -94
  355. package/dist/config/discovery.js +95 -95
  356. package/dist/config/integration.js +5 -5
  357. package/dist/config/managed.js +1 -1
  358. package/dist/config/markdown.js +1 -1
  359. package/dist/config/normalize.js +112 -112
  360. package/dist/config/plugin/agent.js +133 -132
  361. package/dist/config/plugin/command.js +234 -232
  362. package/dist/config/plugin/compaction.js +171 -171
  363. package/dist/config/plugin/compatibility.js +150 -150
  364. package/dist/config/plugin/entry-observer.js +6 -2
  365. package/dist/config/plugin/formatter.js +131 -131
  366. package/dist/config/plugin/image.js +130 -130
  367. package/dist/config/plugin/instruction.js +130 -130
  368. package/dist/config/plugin/location-watcher.js +130 -130
  369. package/dist/config/plugin/mcp.js +143 -142
  370. package/dist/config/plugin/policy.js +130 -130
  371. package/dist/config/plugin/provider.js +132 -132
  372. package/dist/config/plugin/reference.js +132 -132
  373. package/dist/config/plugin/shell.js +130 -130
  374. package/dist/config/plugin/skill-file.js +146 -146
  375. package/dist/config/plugin/skill-scan.js +1 -1
  376. package/dist/config/plugin/skill.js +153 -153
  377. package/dist/config/plugin/snapshot.js +130 -130
  378. package/dist/config/plugin/source.js +134 -133
  379. package/dist/config/plugin/tool-output.js +131 -131
  380. package/dist/config/plugin/websearch.js +129 -129
  381. package/dist/config/plugin/worktree.js +132 -132
  382. package/dist/config/variable.js +1 -1
  383. package/dist/config/watch.js +1 -1
  384. package/dist/config.js +133 -133
  385. package/dist/console-access.js +1 -1
  386. package/dist/credential/sql.js +2 -2
  387. package/dist/credential.js +94 -94
  388. package/dist/database/database.js +77 -77
  389. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  390. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  391. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  392. package/dist/database/drizzle/index.js +13 -13
  393. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  394. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  395. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  396. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  397. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  398. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  399. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  400. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  401. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  402. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  403. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  404. package/dist/database/drizzle.js +14 -14
  405. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  406. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  407. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  408. package/dist/database/migration/20260225215848_workspace.js +1 -1
  409. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  410. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  411. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  412. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  413. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  414. package/dist/database/migration/20260323234822_events.js +1 -1
  415. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  416. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  417. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  418. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  419. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  420. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  421. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  422. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  423. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  424. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  425. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  426. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  427. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  428. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  429. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  430. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  431. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  432. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  433. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  434. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  435. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  436. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  437. package/dist/database/migration/20260611035744_credential.js +1 -1
  438. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  439. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  440. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  441. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  442. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  443. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  444. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  445. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  446. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  447. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  448. package/dist/database/migration/20260812213948_worktree.js +1 -1
  449. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  450. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  451. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  452. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  453. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  454. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  455. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  456. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  457. package/dist/database/migration/20261025123711_blob.js +1 -1
  458. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  459. package/dist/database/migration/20261026223005_schedule.js +1 -1
  460. package/dist/database/migration/20261029002625_session_part.js +1 -1
  461. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  462. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  463. package/dist/database/migration/20261030054400_job.js +1 -1
  464. package/dist/database/migration.gen.js +60 -60
  465. package/dist/database/migration.js +62 -62
  466. package/dist/database/path.js +2 -2
  467. package/dist/database/schema.gen.js +1 -1
  468. package/dist/database/schema.sql.js +1 -1
  469. package/dist/database/v1-migration.bun.js +98 -98
  470. package/dist/database/v1-migration.js +1 -1
  471. package/dist/effect/app-node-builder.js +435 -432
  472. package/dist/effect/app-node-platform.js +2 -2
  473. package/dist/effect/keyed-mutex.js +1 -1
  474. package/dist/effect/websocket-constructor.js +1 -1
  475. package/dist/environment/driver.js +1 -1
  476. package/dist/environment/environment.js +107 -108
  477. package/dist/environment/exec-defaults.js +5 -3
  478. package/dist/environment/files.js +1 -1
  479. package/dist/environment/index.js +113 -111
  480. package/dist/environment/local.js +2 -2
  481. package/dist/environment/memory.js +2 -2
  482. package/dist/environment/unavailable.js +1 -1
  483. package/dist/event/sql.js +1 -1
  484. package/dist/event-logger.js +81 -81
  485. package/dist/file-access.js +157 -156
  486. package/dist/file-mutation.js +108 -107
  487. package/dist/file-retention.js +1 -1
  488. package/dist/file-write.js +161 -160
  489. package/dist/filesystem/fff.bun.js +2 -2
  490. package/dist/filesystem/fff.js +1 -1
  491. package/dist/filesystem/fff.node.js +2 -2
  492. package/dist/filesystem/fff.workerd.js +2 -2
  493. package/dist/filesystem/file-watch.js +88 -88
  494. package/dist/filesystem/location-watcher-policy.js +6 -6
  495. package/dist/filesystem/location-watcher.js +245 -244
  496. package/dist/filesystem/protected.js +2 -4
  497. package/dist/filesystem/search.js +115 -114
  498. package/dist/filesystem/watcher-binding.js +1 -1
  499. package/dist/filesystem/watcher.js +9 -9
  500. package/dist/filesystem.js +112 -111
  501. package/dist/form.js +93 -93
  502. package/dist/formatter/builtins.js +4 -4
  503. package/dist/formatter.js +100 -100
  504. package/dist/generate.js +120 -120
  505. package/dist/git.js +7 -7
  506. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  507. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  508. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  509. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  510. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  511. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  512. package/dist/github-copilot/copilot-provider.js +17 -17
  513. package/dist/github-copilot/models.js +104 -104
  514. package/dist/github-copilot/openai-compatible-error.js +1 -1
  515. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  516. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  517. package/dist/github-copilot/responses/openai-error.js +1 -1
  518. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  519. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  520. package/dist/github-copilot/responses/tool/code-interpreter.js +3 -7
  521. package/dist/github-copilot/responses/tool/file-search.js +2 -4
  522. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  523. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  524. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  525. package/dist/image/notice.js +3 -3
  526. package/dist/image/photon-normalize.js +1 -1
  527. package/dist/image/photon-worker.js +1 -1
  528. package/dist/image/photon.js +4 -4
  529. package/dist/image.js +6 -6
  530. package/dist/instance/service.js +5 -5
  531. package/dist/instance.js +426 -423
  532. package/dist/instruction-discovery.js +93 -93
  533. package/dist/instructions/builtins.js +100 -100
  534. package/dist/instructions/index.js +5 -3
  535. package/dist/integration/connection.js +3 -3
  536. package/dist/integration.js +100 -100
  537. package/dist/job/sql.js +2 -2
  538. package/dist/job.js +88 -88
  539. package/dist/kv/sql.js +2 -2
  540. package/dist/kv.js +84 -84
  541. package/dist/location-activity.js +176 -176
  542. package/dist/location-lifecycle.js +150 -150
  543. package/dist/location-service-map.js +99 -99
  544. package/dist/location-services.js +423 -420
  545. package/dist/location.js +94 -94
  546. package/dist/managed-policy.js +3 -3
  547. package/dist/mcp/client.js +109 -108
  548. package/dist/mcp/connection.js +106 -105
  549. package/dist/mcp/index.js +124 -123
  550. package/dist/mcp/instructions.js +183 -182
  551. package/dist/mcp/oauth.js +92 -103
  552. package/dist/mcp/socket-client.js +2 -4
  553. package/dist/mcp/stdio.js +104 -103
  554. package/dist/mime.js +1 -1
  555. package/dist/modal/models.js +104 -104
  556. package/dist/model-resolver.js +110 -110
  557. package/dist/model-retry.js +1 -1
  558. package/dist/model.js +113 -113
  559. package/dist/models-dev/v1.js +1 -1
  560. package/dist/models-dev.js +115 -115
  561. package/dist/oauth/page.js +1 -1
  562. package/dist/permission/saved.js +93 -93
  563. package/dist/permission/sql.js +5 -5
  564. package/dist/permission.js +155 -153
  565. package/dist/persistent-pty/binary.bun.js +1 -1
  566. package/dist/persistent-pty/daemon.js +1 -1
  567. package/dist/persistent-pty/index.js +99 -99
  568. package/dist/persistent-pty/pty-binding.js +1 -1
  569. package/dist/persistent-pty.js +86 -86
  570. package/dist/plugin/agent.js +87 -87
  571. package/dist/plugin/command.js +117 -116
  572. package/dist/plugin/goal.js +3 -3
  573. package/dist/plugin/hooks.js +5 -5
  574. package/dist/plugin/host.js +238 -237
  575. package/dist/plugin/identity.js +5 -5
  576. package/dist/plugin/instance.js +5 -5
  577. package/dist/plugin/internal.js +402 -399
  578. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  579. package/dist/plugin/models-dev.js +110 -110
  580. package/dist/plugin/module.js +131 -129
  581. package/dist/plugin/optimize.js +4 -4
  582. package/dist/plugin/plan.js +146 -146
  583. package/dist/plugin/promise.js +1 -1
  584. package/dist/plugin/provider/amazon-bedrock.js +106 -104
  585. package/dist/plugin/provider/azure.js +133 -132
  586. package/dist/plugin/provider/cerebras.js +1 -1
  587. package/dist/plugin/provider/chatgpt.js +133 -130
  588. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  589. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  590. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  591. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  592. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  593. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  594. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  595. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  596. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  597. package/dist/plugin/provider/claude-agent/index.js +148 -145
  598. package/dist/plugin/provider/claude-agent/instructions.js +114 -114
  599. package/dist/plugin/provider/claude-agent/integration.js +115 -113
  600. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  601. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  602. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  603. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  604. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  605. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  606. package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
  607. package/dist/plugin/provider/claude-agent/provider.js +110 -110
  608. package/dist/plugin/provider/claude-agent/session.js +112 -112
  609. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  610. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  611. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  612. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  613. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  614. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  615. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  616. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  617. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  618. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  619. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -128
  620. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -128
  621. package/dist/plugin/provider/configured.js +126 -126
  622. package/dist/plugin/provider/credential-settings.js +90 -85
  623. package/dist/plugin/provider/databricks.js +1 -1
  624. package/dist/plugin/provider/digitalocean.js +109 -108
  625. package/dist/plugin/provider/dynamic.js +2 -2
  626. package/dist/plugin/provider/github-copilot.js +111 -110
  627. package/dist/plugin/provider/gitlab.js +109 -107
  628. package/dist/plugin/provider/google-vertex.js +127 -127
  629. package/dist/plugin/provider/kilo.js +1 -1
  630. package/dist/plugin/provider/llmgateway.js +89 -89
  631. package/dist/plugin/provider/lmstudio.js +140 -139
  632. package/dist/plugin/provider/local.js +137 -136
  633. package/dist/plugin/provider/modal.js +108 -107
  634. package/dist/plugin/provider/neon.js +1 -1
  635. package/dist/plugin/provider/nvidia.js +1 -1
  636. package/dist/plugin/provider/ollama.js +140 -139
  637. package/dist/plugin/provider/openai-context-caps.js +106 -103
  638. package/dist/plugin/provider/openai.js +135 -132
  639. package/dist/plugin/provider/opencode.js +157 -155
  640. package/dist/plugin/provider/openrouter.js +104 -104
  641. package/dist/plugin/provider/poe.js +90 -90
  642. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  643. package/dist/plugin/provider/refresh.js +91 -87
  644. package/dist/plugin/provider/sap-ai-core.js +104 -104
  645. package/dist/plugin/provider/sdk-factory.js +1 -1
  646. package/dist/plugin/provider/snowflake-cortex.js +131 -129
  647. package/dist/plugin/provider/vllm.js +140 -139
  648. package/dist/plugin/provider/xai.js +104 -104
  649. package/dist/plugin/provider/zenmux.js +1 -1
  650. package/dist/plugin/provider.js +235 -234
  651. package/dist/plugin/sdk.js +89 -89
  652. package/dist/plugin/service.js +3 -3
  653. package/dist/plugin/skill.js +149 -149
  654. package/dist/plugin/source-directory.js +1 -1
  655. package/dist/plugin/supervisor.js +412 -409
  656. package/dist/plugin/tool-input-repair.js +4 -4
  657. package/dist/plugin/update.js +6 -6
  658. package/dist/plugin/vcs/git.js +99 -99
  659. package/dist/plugin/vcs/hg.js +99 -99
  660. package/dist/plugin/verbosity.js +106 -106
  661. package/dist/plugin/warming.js +130 -130
  662. package/dist/plugin/websearch/exa.js +8 -7
  663. package/dist/plugin/websearch/firecrawl.js +9 -8
  664. package/dist/plugin/websearch/index.js +10 -9
  665. package/dist/plugin/websearch/mcp.js +6 -6
  666. package/dist/plugin/websearch/parallel.js +9 -8
  667. package/dist/plugin/websearch/provider.js +8 -0
  668. package/dist/plugin/websearch/tavily.js +7 -6
  669. package/dist/plugin/websearch/tinyfish.js +9 -8
  670. package/dist/plugin.js +245 -244
  671. package/dist/project/icon.js +5 -5
  672. package/dist/project/schema.js +2 -2
  673. package/dist/project/sql.js +4 -4
  674. package/dist/project.js +93 -93
  675. package/dist/provider.js +114 -114
  676. package/dist/pty/protocol.js +1 -1
  677. package/dist/pty/ticket.js +1 -1
  678. package/dist/pty.js +111 -111
  679. package/dist/reference/instructions.js +101 -101
  680. package/dist/reference.js +99 -99
  681. package/dist/repository-cache.js +93 -93
  682. package/dist/repository.js +1 -1
  683. package/dist/ripgrep/binary.js +2 -2
  684. package/dist/ripgrep.js +109 -108
  685. package/dist/rpc.js +99 -99
  686. package/dist/schedule/check.js +243 -242
  687. package/dist/schedule/sql.js +6 -6
  688. package/dist/schedule.js +249 -248
  689. package/dist/schema.js +1 -1
  690. package/dist/session/affinity.js +1 -1
  691. package/dist/session/background.js +1 -1
  692. package/dist/session/blob.js +129 -129
  693. package/dist/session/command.js +85 -85
  694. package/dist/session/compaction.js +173 -173
  695. package/dist/session/context.js +200 -199
  696. package/dist/session/diff.js +101 -101
  697. package/dist/session/environment.js +5 -5
  698. package/dist/session/error.js +5 -5
  699. package/dist/session/event.js +1 -1
  700. package/dist/session/execution/restart.js +245 -244
  701. package/dist/session/execution.js +163 -163
  702. package/dist/session/generate.js +202 -201
  703. package/dist/session/history.js +136 -136
  704. package/dist/session/inbox.js +145 -145
  705. package/dist/session/info.js +3 -3
  706. package/dist/session/instruction-entry.js +90 -90
  707. package/dist/session/instruction-state.js +8 -8
  708. package/dist/session/instructions.js +143 -143
  709. package/dist/session/message-updater.js +2 -2
  710. package/dist/session/message.js +1 -1
  711. package/dist/session/model-request.js +168 -168
  712. package/dist/session/model-transport.js +9 -9
  713. package/dist/session/move.js +165 -165
  714. package/dist/session/projector.js +143 -143
  715. package/dist/session/prompt.js +148 -148
  716. package/dist/session/recent-text.js +1 -1
  717. package/dist/session/revert.js +139 -139
  718. package/dist/session/run-coordinator.js +3 -3
  719. package/dist/session/runner/index.js +3 -3
  720. package/dist/session/runner/llm.js +252 -251
  721. package/dist/session/runner/max-steps.js +1 -1
  722. package/dist/session/runner/model.js +113 -113
  723. package/dist/session/runner/publish-llm-event.js +149 -149
  724. package/dist/session/runner/retry.js +5 -5
  725. package/dist/session/runner/step.js +161 -161
  726. package/dist/session/runner/to-llm-message.js +137 -137
  727. package/dist/session/schema.js +5 -5
  728. package/dist/session/session.js +182 -181
  729. package/dist/session/shell.js +145 -144
  730. package/dist/session/skill.js +147 -147
  731. package/dist/session/sql.js +5 -5
  732. package/dist/session/stats.js +84 -84
  733. package/dist/session/store.js +142 -142
  734. package/dist/session/stored.js +2 -2
  735. package/dist/session/subagent-completion.js +3 -3
  736. package/dist/session/subagent-job.js +231 -230
  737. package/dist/session/system-prompt.js +5 -5
  738. package/dist/session/title.js +202 -201
  739. package/dist/session/to-session-error.js +148 -148
  740. package/dist/session/transfer.js +236 -235
  741. package/dist/session/usage.js +3 -3
  742. package/dist/session.js +237 -236
  743. package/dist/shared-cache.js +5 -5
  744. package/dist/shell/parse.js +6 -6
  745. package/dist/shell/result.js +1 -1
  746. package/dist/shell/scan.js +1 -1
  747. package/dist/shell/select.js +13 -13
  748. package/dist/shell.js +147 -146
  749. package/dist/skill/discovery.js +2 -2
  750. package/dist/skill/instructions.js +149 -149
  751. package/dist/skill.js +154 -154
  752. package/dist/snapshot.js +104 -104
  753. package/dist/state.js +1 -1
  754. package/dist/tool/html-markdown.js +1 -1
  755. package/dist/tool/http-body.js +1 -1
  756. package/dist/tool/mcp.js +180 -179
  757. package/dist/tool/plugin/artifact.js +230 -229
  758. package/dist/tool/plugin/edit.js +167 -166
  759. package/dist/tool/plugin/file-diff.js +1 -1
  760. package/dist/tool/plugin/glob.js +171 -169
  761. package/dist/tool/plugin/grep.js +170 -168
  762. package/dist/tool/plugin/image-generate.js +241 -240
  763. package/dist/tool/plugin/mcp-resource.js +164 -163
  764. package/dist/tool/plugin/opencode.js +163 -162
  765. package/dist/tool/plugin/patch.js +168 -167
  766. package/dist/tool/plugin/question.js +144 -144
  767. package/dist/tool/plugin/read.js +172 -171
  768. package/dist/tool/plugin/schedule.js +249 -248
  769. package/dist/tool/plugin/shell.js +235 -234
  770. package/dist/tool/plugin/skill.js +157 -157
  771. package/dist/tool/plugin/subagent.js +238 -237
  772. package/dist/tool/plugin/todo.js +151 -151
  773. package/dist/tool/plugin/webfetch.js +157 -157
  774. package/dist/tool/plugin/websearch.js +153 -153
  775. package/dist/tool/plugin/write.js +168 -167
  776. package/dist/tool/read-filesystem.js +116 -115
  777. package/dist/tool/runtime.js +1 -1
  778. package/dist/tool/search.js +118 -0
  779. package/dist/tool-output.js +7 -7
  780. package/dist/tool.js +157 -157
  781. package/dist/types/config/plugin/entry-observer.d.ts +15 -0
  782. package/dist/types/environment/exec-defaults.d.ts +3 -1
  783. package/dist/types/environment/index.d.ts +1 -4
  784. package/dist/types/filesystem/protected.d.ts +0 -2
  785. package/dist/types/github-copilot/chat/openai-compatible-chat-language-model.d.ts +2 -46
  786. package/dist/types/github-copilot/responses/openai-responses-language-model.d.ts +2 -96
  787. package/dist/types/github-copilot/responses/tool/code-interpreter.d.ts +0 -67
  788. package/dist/types/github-copilot/responses/tool/file-search.d.ts +0 -64
  789. package/dist/types/instructions/index.d.ts +16 -0
  790. package/dist/types/mcp/index.d.ts +3 -9
  791. package/dist/types/mcp/oauth.d.ts +1 -44
  792. package/dist/types/permission.d.ts +11 -0
  793. package/dist/types/persistent-pty/daemon.d.ts +10 -16
  794. package/dist/types/persistent-pty/index.d.ts +3 -16
  795. package/dist/types/plugin/internal.d.ts +16 -2
  796. package/dist/types/plugin/module.d.ts +13 -6
  797. package/dist/types/plugin/provider/azure.d.ts +2 -3
  798. package/dist/types/plugin/provider/chatgpt.d.ts +1 -2
  799. package/dist/types/plugin/provider/claude-agent/integration.d.ts +1 -2
  800. package/dist/types/plugin/provider/credential-settings.d.ts +6 -2
  801. package/dist/types/plugin/provider/gitlab.d.ts +1 -2
  802. package/dist/types/plugin/provider/openai-context-caps.d.ts +1 -2
  803. package/dist/types/plugin/provider/openai.d.ts +1 -2
  804. package/dist/types/plugin/provider/refresh.d.ts +4 -0
  805. package/dist/types/plugin/provider/snowflake-cortex.d.ts +1 -2
  806. package/dist/types/plugin/websearch/provider.d.ts +12 -0
  807. package/dist/types/plugin.d.ts +1 -1
  808. package/dist/types/repository-cache.d.ts +1 -1
  809. package/dist/types/session/runner/publish-llm-event.d.ts +0 -1
  810. package/dist/types/tool/runtime.d.ts +2 -2
  811. package/dist/types/tool/search.d.ts +9 -0
  812. package/dist/usage-limits.js +100 -100
  813. package/dist/util/error-summary.js +1 -1
  814. package/dist/util/git-executable.js +3 -3
  815. package/dist/util/lazy.js +1 -1
  816. package/dist/util/slug.js +1 -1
  817. package/dist/util/token.js +1 -1
  818. package/dist/util/which.js +1 -1
  819. package/dist/util/wildcard.js +1 -1
  820. package/dist/v1/config/agent.js +5 -5
  821. package/dist/v1/config/command.js +3 -3
  822. package/dist/v1/config/mcp.js +4 -4
  823. package/dist/v1/config/migrate.js +105 -105
  824. package/dist/v1/config/permission.js +3 -3
  825. package/dist/v1/config/plugin.js +3 -3
  826. package/dist/v1/config/provider-options.js +1 -1
  827. package/dist/v1/config/provider.js +6 -6
  828. package/dist/variant.js +104 -104
  829. package/dist/vcs/patch.js +1 -1
  830. package/dist/vcs.js +102 -102
  831. package/dist/voice.js +99 -99
  832. package/dist/websearch.js +99 -99
  833. package/dist/wellknown/plugin.js +87 -87
  834. package/dist/wellknown.js +92 -92
  835. package/dist/workspace/driver.js +3 -3
  836. package/dist/workspace/sql.js +1 -1
  837. package/dist/workspace.js +93 -93
  838. package/dist/worktree/directory.js +2 -2
  839. package/dist/worktree/git.js +11 -11
  840. package/dist/worktree/sql.js +5 -5
  841. package/dist/worktree/strategies.js +102 -102
  842. package/dist/worktree.js +113 -113
  843. package/package.json +10 -9
  844. package/dist/chunks/schema-0s1qz2vx.js +0 -96
  845. package/dist/chunks/schema-2cwesr55.js +0 -80
  846. package/dist/chunks/schema-76cb1hcw.js +0 -63
  847. package/dist/chunks/schema-hpg1pkwy.js +0 -20
  848. package/dist/chunks/schema-me0dhgxs.js +0 -18
  849. package/dist/chunks/schema-p79bcmnw.js +0 -26
  850. package/dist/chunks/schema-pt1rbhsc.js +0 -81
  851. package/dist/chunks/schema-py00tmr0.js +0 -80
  852. package/dist/chunks/schema-qhn8d2qf.js +0 -265
  853. package/dist/chunks/schema-svmsgnt5.js +0 -90
  854. /package/dist/chunks/{schema-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
  855. /package/dist/chunks/{schema-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
  856. /package/dist/chunks/{schema-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
  857. /package/dist/chunks/{schema-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
  858. /package/dist/chunks/{schema-1kah00gy.js → plugin-1kah00gy.js} +0 -0
  859. /package/dist/chunks/{schema-24dcb14g.js → plugin-24dcb14g.js} +0 -0
  860. /package/dist/chunks/{schema-2710q6r3.js → plugin-2710q6r3.js} +0 -0
  861. /package/dist/chunks/{schema-2bv980vf.js → plugin-2bv980vf.js} +0 -0
  862. /package/dist/chunks/{schema-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
  863. /package/dist/chunks/{schema-359p4xyc.js → plugin-359p4xyc.js} +0 -0
  864. /package/dist/chunks/{schema-3asan66x.js → plugin-3asan66x.js} +0 -0
  865. /package/dist/chunks/{schema-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
  866. /package/dist/chunks/{schema-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
  867. /package/dist/chunks/{schema-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
  868. /package/dist/chunks/{schema-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
  869. /package/dist/chunks/{schema-4qk9sjk2.js → plugin-4qk9sjk2.js} +0 -0
  870. /package/dist/chunks/{schema-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
  871. /package/dist/chunks/{schema-53557ph1.js → plugin-53557ph1.js} +0 -0
  872. /package/dist/chunks/{schema-550bvhaj.js → plugin-550bvhaj.js} +0 -0
  873. /package/dist/chunks/{schema-5w3e23ze.js → plugin-5w3e23ze.js} +0 -0
  874. /package/dist/chunks/{schema-6agm2x70.js → plugin-6agm2x70.js} +0 -0
  875. /package/dist/chunks/{schema-6prwharc.js → plugin-6prwharc.js} +0 -0
  876. /package/dist/chunks/{schema-6q2bdcd1.js → plugin-6q2bdcd1.js} +0 -0
  877. /package/dist/chunks/{schema-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
  878. /package/dist/chunks/{schema-7m9af43g.js → plugin-7m9af43g.js} +0 -0
  879. /package/dist/chunks/{schema-822emrt2.js → plugin-822emrt2.js} +0 -0
  880. /package/dist/chunks/{schema-84wd9syh.js → plugin-84wd9syh.js} +0 -0
  881. /package/dist/chunks/{schema-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
  882. /package/dist/chunks/{schema-8n3pysct.js → plugin-8n3pysct.js} +0 -0
  883. /package/dist/chunks/{schema-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
  884. /package/dist/chunks/{schema-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
  885. /package/dist/chunks/{schema-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
  886. /package/dist/chunks/{schema-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
  887. /package/dist/chunks/{schema-af5trqkr.js → plugin-af5trqkr.js} +0 -0
  888. /package/dist/chunks/{schema-afrmfg78.js → plugin-afrmfg78.js} +0 -0
  889. /package/dist/chunks/{schema-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
  890. /package/dist/chunks/{schema-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
  891. /package/dist/chunks/{schema-beh6qq61.js → plugin-beh6qq61.js} +0 -0
  892. /package/dist/chunks/{schema-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
  893. /package/dist/chunks/{schema-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
  894. /package/dist/chunks/{schema-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
  895. /package/dist/chunks/{schema-cqv5kn06.js → plugin-cqv5kn06.js} +0 -0
  896. /package/dist/chunks/{schema-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
  897. /package/dist/chunks/{schema-d9fn303g.js → plugin-d9fn303g.js} +0 -0
  898. /package/dist/chunks/{schema-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
  899. /package/dist/chunks/{schema-dap0rakb.js → plugin-dap0rakb.js} +0 -0
  900. /package/dist/chunks/{schema-df08tz66.js → plugin-df08tz66.js} +0 -0
  901. /package/dist/chunks/{schema-dy18nga0.js → plugin-dy18nga0.js} +0 -0
  902. /package/dist/chunks/{schema-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
  903. /package/dist/chunks/{schema-ean2d8b5.js → plugin-ean2d8b5.js} +0 -0
  904. /package/dist/chunks/{schema-ec1grn59.js → plugin-ec1grn59.js} +0 -0
  905. /package/dist/chunks/{schema-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
  906. /package/dist/chunks/{schema-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
  907. /package/dist/chunks/{schema-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
  908. /package/dist/chunks/{schema-faypxj3z.js → plugin-faypxj3z.js} +0 -0
  909. /package/dist/chunks/{schema-fd410y7t.js → plugin-fd410y7t.js} +0 -0
  910. /package/dist/chunks/{schema-fkpq3x5p.js → plugin-fkpq3x5p.js} +0 -0
  911. /package/dist/chunks/{schema-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
  912. /package/dist/chunks/{schema-g86h250q.js → plugin-g86h250q.js} +0 -0
  913. /package/dist/chunks/{schema-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
  914. /package/dist/chunks/{schema-gftt206x.js → plugin-gftt206x.js} +0 -0
  915. /package/dist/chunks/{schema-hcxmzztb.js → plugin-hcxmzztb.js} +0 -0
  916. /package/dist/chunks/{schema-hk9envan.js → plugin-hk9envan.js} +0 -0
  917. /package/dist/chunks/{schema-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
  918. /package/dist/chunks/{schema-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
  919. /package/dist/chunks/{schema-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
  920. /package/dist/chunks/{schema-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
  921. /package/dist/chunks/{schema-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
  922. /package/dist/chunks/{schema-jwr30sdr.js → plugin-jwr30sdr.js} +0 -0
  923. /package/dist/chunks/{schema-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
  924. /package/dist/chunks/{schema-m18g726c.js → plugin-m18g726c.js} +0 -0
  925. /package/dist/chunks/{schema-mp448xyj.js → plugin-mp448xyj.js} +0 -0
  926. /package/dist/chunks/{schema-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
  927. /package/dist/chunks/{schema-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
  928. /package/dist/chunks/{schema-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
  929. /package/dist/chunks/{schema-nh4v3znn.js → plugin-nh4v3znn.js} +0 -0
  930. /package/dist/chunks/{schema-njntx4h6.js → plugin-njntx4h6.js} +0 -0
  931. /package/dist/chunks/{schema-p71gwv9c.js → plugin-p71gwv9c.js} +0 -0
  932. /package/dist/chunks/{schema-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
  933. /package/dist/chunks/{schema-q74kybfr.js → plugin-q74kybfr.js} +0 -0
  934. /package/dist/chunks/{schema-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
  935. /package/dist/chunks/{schema-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
  936. /package/dist/chunks/{schema-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
  937. /package/dist/chunks/{schema-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
  938. /package/dist/chunks/{schema-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
  939. /package/dist/chunks/{schema-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
  940. /package/dist/chunks/{schema-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
  941. /package/dist/chunks/{schema-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
  942. /package/dist/chunks/{schema-syrav9an.js → plugin-syrav9an.js} +0 -0
  943. /package/dist/chunks/{schema-t03h4f5z.js → plugin-t03h4f5z.js} +0 -0
  944. /package/dist/chunks/{schema-ty7weeps.js → plugin-ty7weeps.js} +0 -0
  945. /package/dist/chunks/{schema-ve7vex1e.js → plugin-ve7vex1e.js} +0 -0
  946. /package/dist/chunks/{schema-vtarvj67.js → plugin-vtarvj67.js} +0 -0
  947. /package/dist/chunks/{schema-w803qqfp.js → plugin-w803qqfp.js} +0 -0
  948. /package/dist/chunks/{schema-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
  949. /package/dist/chunks/{schema-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
  950. /package/dist/chunks/{schema-wtztk69x.js → plugin-wtztk69x.js} +0 -0
  951. /package/dist/chunks/{schema-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
  952. /package/dist/chunks/{schema-x61499pn.js → plugin-x61499pn.js} +0 -0
  953. /package/dist/chunks/{schema-y44na4kk.js → plugin-y44na4kk.js} +0 -0
  954. /package/dist/chunks/{schema-y8f7s663.js → plugin-y8f7s663.js} +0 -0
  955. /package/dist/chunks/{schema-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
  956. /package/dist/chunks/{schema-z0h12gs8.js → plugin-z0h12gs8.js} +0 -0
  957. /package/dist/chunks/{schema-z5v4ffb3.js → plugin-z5v4ffb3.js} +0 -0
  958. /package/dist/chunks/{schema-z9919s4g.js → plugin-z9919s4g.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./plugin-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/scan.ts
6
6
  var exports_scan = {};
@@ -75,8 +75,9 @@ var TOKEN_RE = /[A-Za-z_][A-Za-z0-9_]*(?=(?:\\\n)*(?:[ \t\n;|&()<>]|$))/y;
75
75
  var BRACE_CLOSE_AHEAD_RE = /(?:\\\n)*(?:[ \t\n;&|()<>]|$)/y;
76
76
  var SPACE_CONTINUATION_AHEAD_RE = /(?:\\\n)*[ \t\n]/y;
77
77
  var NEGATION_AHEAD_RE = /(?:\\\n)*[ \t\n(]/y;
78
- var COPROC_AHEAD_RE = /coproc(?:[ \t]|\\\n)+(?:--(?:[ \t]|\\\n)+)?(?:[A-Za-z_][A-Za-z0-9_]*(?:[ \t]|\\\n)+)?(?=(?:!(?:[ \t]|\\\n)*)*(?:[{(]|\[\[(?:\\\n)*[ \t\n]|(?:if|while|until|for|select|case|repeat)\b))/y;
79
- var TIME_AHEAD_RE = /time(?:[ \t]|\\\n)+(?:-p(?:[ \t]|\\\n)+)?(?:--(?:[ \t]|\\\n)+)?(?=(?:!(?:[ \t]|\\\n)*)*(?:[{(]|\[\[(?:\\\n)*[ \t\n]|(?:if|while|until|for|select|case|repeat)\b))/y;
78
+ var COMPOUND_AHEAD = String.raw`(?=(?:!(?:[ \t]|\\\n)*)*(?:[{(]|\[\[(?:\\\n)*[ \t\n]|(?:if|while|until|for|select|case|repeat)\b))`;
79
+ var COPROC_AHEAD_RE = new RegExp(String.raw`coproc(?:[ \t]|\\\n)+(?:--(?:[ \t]|\\\n)+)?(?:[A-Za-z_][A-Za-z0-9_]*(?:[ \t]|\\\n)+)?` + COMPOUND_AHEAD, "y");
80
+ var TIME_AHEAD_RE = new RegExp(String.raw`time(?:[ \t]|\\\n)+(?:-p(?:[ \t]|\\\n)+)?(?:--(?:[ \t]|\\\n)+)?` + COMPOUND_AHEAD, "y");
80
81
  var FUNCTION_HEAD_RE = /(function[ \t](?:[ \t]|\\\n)*)?([A-Za-z_][\w.:+@%-]*)?(?:[ \t]|\\\n)*(\([ \t]*\))?((?:[ \t\n]|\\\n|#[^\n]*\n)*)/y;
81
82
  var FUNCTION_BODY_RE = /[{(]|\[\[(?=(?:\\\n)*[ \t\n])|(?:if|while|until|for|select|case|repeat)(?=(?:\\\n)*(?:[ \t\n(]|$))/y;
82
83
  var DO_AHEAD_RE = /(?:[ \t\n;]|\\\n|#[^\n]*(?:\n|$))*(?:do(?=(?:\\\n)*(?:[ \t\n;{(]|$))|\{(?=(?:\\\n)*[ \t\n]))/y;
@@ -253,6 +254,7 @@ function finishBashCommand(state, boundary = false, newline = false) {
253
254
  const inHeader = bashInHeader(state);
254
255
  if (name >= 0 && !state.words[name])
255
256
  state.invalid ??= "invalid-structure";
257
+ let owner;
256
258
  if (name >= 0 && !inHeader) {
257
259
  const resource = state.input.slice(state.commandStart, state.wordEnd).replace(/^[ \t\n]+|[ \t\n]+$/g, "");
258
260
  const command = {
@@ -280,15 +282,7 @@ function finishBashCommand(state, boundary = false, newline = false) {
280
282
  for (const heredoc of state.heredocs)
281
283
  heredoc.binding ??= true;
282
284
  }
283
- for (const heredoc of state.heredocs) {
284
- if (heredoc.owned)
285
- continue;
286
- heredoc.owned = true;
287
- if (newline) {
288
- heredoc.command = command;
289
- heredoc.start = state.commandStart;
290
- }
291
- }
285
+ owner = command;
292
286
  } else if (name < 0 && !inHeader && state.commandStart !== undefined && (state.hasFileRedirect || state.hasRedirect && !state.compoundEnd)) {
293
287
  const rawSpan = state.input.slice(state.commandStart, state.wordEnd);
294
288
  const leading = /^[ \t\n]+/.exec(rawSpan)?.[0].length ?? 0;
@@ -303,19 +297,16 @@ function finishBashCommand(state, boundary = false, newline = false) {
303
297
  redirectPrefixEnd: prefixEnd
304
298
  };
305
299
  state.commands.push(command);
306
- for (const heredoc of state.heredocs) {
307
- if (heredoc.owned)
308
- continue;
309
- heredoc.owned = true;
310
- if (newline) {
311
- heredoc.command = command;
312
- heredoc.start = state.commandStart;
313
- }
314
- }
300
+ owner = command;
315
301
  }
316
302
  }
317
- for (const heredoc of state.heredocs)
303
+ for (const heredoc of state.heredocs) {
304
+ if (owner && newline && !heredoc.owned) {
305
+ heredoc.command = owner;
306
+ heredoc.start = state.commandStart;
307
+ }
318
308
  heredoc.owned = true;
309
+ }
319
310
  if (boundary && !state.words.length && !state.hasRedirect && !state.compoundEnd && !inHeader)
320
311
  state.invalid ??= "invalid-structure";
321
312
  if (state.words.length > (state.ampersandRedirectWords ?? Infinity))
@@ -384,7 +375,7 @@ function scanBash(input, start, depth, context, close, heredocs, outer) {
384
375
  state.wordStart = index;
385
376
  if (char === " " || char === "\t")
386
377
  continue;
387
- if (char === "}" && state.words.length === 0 && !state.redirectTarget && (close === "}" || close === "nofork") && state.structures.length === 0 && (heredocs !== undefined || state.heredocs.length === 0) && (close === "nofork" || (BRACE_CLOSE_AHEAD_RE.lastIndex = index + 1, BRACE_CLOSE_AHEAD_RE.test(input))))
378
+ if (char === "}" && state.words.length === 0 && !state.redirectTarget && (close === "}" || close === "nofork") && state.structures.length === 0 && (heredocs !== undefined || state.heredocs.length === 0) && (close === "nofork" || testAt(BRACE_CLOSE_AHEAD_RE, input, index + 1)))
388
379
  return closeBashList(state, index);
389
380
  if (char === "}")
390
381
  return { kind: "opaque", reason: state.structures.length ? "compound-command" : "invalid-structure" };
@@ -482,7 +473,7 @@ function scanBash(input, start, depth, context, close, heredocs, outer) {
482
473
  return { kind: "opaque", reason: "compound-command" };
483
474
  return closeBashList(state, index);
484
475
  }
485
- if (char === "(" && context.dialect === "zsh" && state.wordStarted && !inCasePattern && (ZSH_GLOB_QUALIFIER_RE.lastIndex = index, ZSH_GLOB_QUALIFIER_RE.test(input))) {
476
+ if (char === "(" && context.dialect === "zsh" && state.wordStarted && !inCasePattern && testAt(ZSH_GLOB_QUALIFIER_RE, input, index)) {
486
477
  const end = ZSH_GLOB_QUALIFIER_RE.lastIndex - 1;
487
478
  bashAppend(state, input.slice(index, end + 1));
488
479
  index = end;
@@ -667,15 +658,13 @@ function scanBashCommandStart(state, index, depth, context) {
667
658
  finishBashCommand(state);
668
659
  structure.phase = "do";
669
660
  structure.parenthesized = true;
670
- DO_AHEAD_RE.lastIndex = end + 1;
671
- if (!DO_AHEAD_RE.test(input))
661
+ if (!testAt(DO_AHEAD_RE, input, end + 1))
672
662
  state.structures.pop();
673
663
  return end;
674
664
  }
675
665
  if (structure?.kind === "repeat" && structure.phase === "do" && char !== `
676
666
  ` && char !== "#" && char !== ";") {
677
- TOKEN_RE.lastIndex = index;
678
- if (TOKEN_RE.exec(input)?.[0] !== "do")
667
+ if (matchAt(TOKEN_RE, input, index)?.[0] !== "do")
679
668
  state.structures.pop();
680
669
  }
681
670
  const keywordStep = scanBashKeyword(state, index, depth, context);
@@ -683,8 +672,7 @@ function scanBashCommandStart(state, index, depth, context) {
683
672
  return keywordStep;
684
673
  if (structure?.kind === "for" && structure.phase === "do" && char !== `
685
674
  ` && char !== "#" && char !== ";") {
686
- SPACE_CONTINUATION_AHEAD_RE.lastIndex = index + 1;
687
- if (char !== "{" || !SPACE_CONTINUATION_AHEAD_RE.test(input))
675
+ if (char !== "{" || !testAt(SPACE_CONTINUATION_AHEAD_RE, input, index + 1))
688
676
  return { kind: "opaque", reason: "compound-command" };
689
677
  state.structures.pop();
690
678
  }
@@ -693,8 +681,7 @@ function scanBashCommandStart(state, index, depth, context) {
693
681
  if (functionHead)
694
682
  return index + functionHead - 1;
695
683
  if (atStart && char === "!") {
696
- NEGATION_AHEAD_RE.lastIndex = index + 1;
697
- if (NEGATION_AHEAD_RE.test(input))
684
+ if (testAt(NEGATION_AHEAD_RE, input, index + 1))
698
685
  return index;
699
686
  }
700
687
  const forHeader = structure?.kind === "for" && structure.phase === "header";
@@ -733,7 +720,7 @@ function scanBashCommandStart(state, index, depth, context) {
733
720
  if (forHeader)
734
721
  return { kind: "opaque", reason: "invalid-structure" };
735
722
  }
736
- if (atStart && (char === "(" || char === "{" && (SPACE_CONTINUATION_AHEAD_RE.lastIndex = index + 1, SPACE_CONTINUATION_AHEAD_RE.test(input)))) {
723
+ if (atStart && (char === "(" || char === "{" && testAt(SPACE_CONTINUATION_AHEAD_RE, input, index + 1))) {
737
724
  const group = scanBash(input, index + 1, depth + 1, context, char === "{" ? "}" : ")", state.heredocs);
738
725
  if (group.kind === "opaque")
739
726
  return group;
@@ -744,7 +731,7 @@ function scanBashCommandStart(state, index, depth, context) {
744
731
  state.compoundEnd = true;
745
732
  return group.end;
746
733
  }
747
- if (atStart && compoundOpen === "[[" && (SPACE_CONTINUATION_AHEAD_RE.lastIndex = index + 2, SPACE_CONTINUATION_AHEAD_RE.test(input))) {
734
+ if (atStart && compoundOpen === "[[" && testAt(SPACE_CONTINUATION_AHEAD_RE, input, index + 2)) {
748
735
  const end = scanBashConditional(input, index + 2, depth, context, state.commands);
749
736
  if (typeof end === "object")
750
737
  return end;
@@ -762,8 +749,7 @@ function scanBashKeyword(state, index, depth, context) {
762
749
  if (!(char >= "A" && char <= "Z" || char >= "a" && char <= "z" || char === "_"))
763
750
  return;
764
751
  const structure = state.structures.at(-1);
765
- TOKEN_RE.lastIndex = index;
766
- const token = TOKEN_RE.exec(input)?.[0];
752
+ const token = matchAt(TOKEN_RE, input, index)?.[0];
767
753
  const end = index + (token?.length ?? 0) - 1;
768
754
  if (structure?.kind === "case" && structure.phase === "header" && token === "in") {
769
755
  if (state.words.length !== 1 || state.hasRedirect)
@@ -837,27 +823,17 @@ function scanBashKeyword(state, index, depth, context) {
837
823
  state.dangling = false;
838
824
  return end;
839
825
  }
840
- if (token === "coproc") {
841
- COPROC_AHEAD_RE.lastIndex = index;
842
- const coprocMatch = COPROC_AHEAD_RE.exec(input)?.[0];
843
- if (coprocMatch)
844
- return index + coprocMatch.length - 1;
845
- }
846
- if (token === "time") {
847
- TIME_AHEAD_RE.lastIndex = index;
848
- const timeMatch = TIME_AHEAD_RE.exec(input)?.[0];
849
- if (timeMatch)
850
- return index + timeMatch.length - 1;
851
- }
826
+ const prefix = token === "coproc" ? COPROC_AHEAD_RE : token === "time" ? TIME_AHEAD_RE : undefined;
827
+ const prefixMatch = prefix && matchAt(prefix, input, index)?.[0];
828
+ if (prefixMatch)
829
+ return index + prefixMatch.length - 1;
852
830
  return;
853
831
  }
854
832
  function bashFunctionHeadLength(input, start) {
855
- FUNCTION_HEAD_RE.lastIndex = start;
856
- const head = FUNCTION_HEAD_RE.exec(input);
833
+ const head = matchAt(FUNCTION_HEAD_RE, input, start);
857
834
  if (!head || (head[1] ? !head[2] : !head[3] || BASH_NON_FUNCTION_KEYWORDS.has(head[2] ?? "")))
858
835
  return 0;
859
- FUNCTION_BODY_RE.lastIndex = start + head[0].length;
860
- return FUNCTION_BODY_RE.test(input) ? head[0].length - head[4].length : 0;
836
+ return testAt(FUNCTION_BODY_RE, input, start + head[0].length) ? head[0].length - head[4].length : 0;
861
837
  }
862
838
  var BASH_SPANS = {
863
839
  double: { close: '"', reject: "", mode: "quoted" },
@@ -887,16 +863,13 @@ function scanBashUnit(input, index, depth, context, commands, mode, allowBracket
887
863
  }
888
864
  if (char === "$" && context.dialect !== "bash" && zshEvaluates(input, index))
889
865
  return { kind: "opaque", reason: "dynamic-execution" };
890
- if (char === "$" && context.dialect !== "bash" && (mode === "word" || mode === "quoted") && (ZSH_SUBSCRIPT_RE.lastIndex = index, ZSH_SUBSCRIPT_RE.test(input))) {
866
+ if (char === "$" && context.dialect !== "bash" && (mode === "word" || mode === "quoted") && testAt(ZSH_SUBSCRIPT_RE, input, index)) {
891
867
  const bracket = ZSH_SUBSCRIPT_RE.lastIndex;
892
868
  const subscript = bashText();
893
869
  const span = mode === "quoted" ? BASH_SPANS.quotedSubscript : BASH_SPANS.subscript;
894
- const end = scanBashSpan(input, bracket, depth, context, commands, span, false, subscript);
870
+ const end = scanBashSubscript(input, bracket, depth, context, commands, span, subscript);
895
871
  if (typeof end === "object")
896
872
  return end;
897
- context.sinkBracket = true;
898
- if (bashEvaluatesExpansion(subscript, "arithmetic", context))
899
- return { kind: "opaque", reason: "dynamic-execution" };
900
873
  if (text)
901
874
  text.word += `${input.slice(index, bracket)}${subscript.word}]`;
902
875
  return end;
@@ -905,8 +878,7 @@ function scanBashUnit(input, index, depth, context, commands, mode, allowBracket
905
878
  if (typeof opener === "object")
906
879
  return opener;
907
880
  if (opener === "$$") {
908
- LINE_CONTINUATION_RE.lastIndex = index + 2;
909
- const quoteStart = LINE_CONTINUATION_RE.exec(input) ? LINE_CONTINUATION_RE.lastIndex : index + 2;
881
+ const quoteStart = matchAt(LINE_CONTINUATION_RE, input, index + 2) ? LINE_CONTINUATION_RE.lastIndex : index + 2;
910
882
  if (input[quoteStart] === "'") {
911
883
  const nextQuote = input.indexOf("'", quoteStart + 1);
912
884
  if (nextQuote < 0)
@@ -968,15 +940,13 @@ function zshEvaluates(input, index) {
968
940
  if (input.startsWith("{\\\n", at))
969
941
  return true;
970
942
  if (input[at] === "{" && input[at + 1] === "(") {
971
- ZSH_SAFE_FLAGS_RE.lastIndex = index;
972
- if (!ZSH_SAFE_FLAGS_RE.test(input))
943
+ if (!testAt(ZSH_SAFE_FLAGS_RE, input, index))
973
944
  return true;
974
945
  at = ZSH_SAFE_FLAGS_RE.lastIndex;
975
946
  }
976
947
  if (input[at] === "{")
977
948
  at++;
978
- ZSH_GLOB_MODIFIER_RE.lastIndex = at;
979
- return ZSH_GLOB_MODIFIER_RE.test(input);
949
+ return testAt(ZSH_GLOB_MODIFIER_RE, input, at);
980
950
  }
981
951
  function bashAppend(text, value) {
982
952
  text.word += value;
@@ -1005,8 +975,7 @@ function bashEvaluatesExpansion(text, evaluation, context) {
1005
975
  function bashText() {
1006
976
  return { word: "", literal: "", output: "" };
1007
977
  }
1008
- function scanBashSubscript(input, start, depth, context, commands, span = BASH_SPANS.subscript) {
1009
- const text = bashText();
978
+ function scanBashSubscript(input, start, depth, context, commands, span = BASH_SPANS.subscript, text = bashText()) {
1010
979
  const end = scanBashSpan(input, start, depth, context, commands, span, false, text);
1011
980
  if (typeof end === "number") {
1012
981
  context.sinkBracket = true;
@@ -1075,14 +1044,13 @@ function scanBashDollarOrBacktick(input, start, depth, context, commands, quoted
1075
1044
  }
1076
1045
  if (input.startsWith("$(", start))
1077
1046
  return scanBashNested(input, start + 2, depth, context, commands, ")", text);
1078
- NOFORK_OPEN_RE.lastIndex = start;
1079
- const nofork = NOFORK_OPEN_RE.exec(input);
1047
+ const nofork = matchAt(NOFORK_OPEN_RE, input, start);
1080
1048
  if (nofork)
1081
1049
  return scanBashNested(input, start + nofork[0].length, depth, context, commands, "nofork", text);
1082
1050
  if (input.startsWith("${", start)) {
1083
1051
  const parameter = bashText();
1084
1052
  const end = scanBashParameter(input, start + 2, depth + 1, context, commands, quoted, parameter);
1085
- const indirect = /^(?:\\\n)*!/.test(input.slice(start + 2)) || context.dialect !== "bash" && input[start + 2] === "(" && (ZSH_SAFE_FLAGS_RE.lastIndex = start, ZSH_SAFE_FLAGS_RE.test(input)) && input.slice(start + 3, ZSH_SAFE_FLAGS_RE.lastIndex - 1).replace(ZSH_QUOTED_FLAG_ARG_RE, "").includes("P");
1053
+ const indirect = /^(?:\\\n)*!/.test(input.slice(start + 2)) || context.dialect !== "bash" && input[start + 2] === "(" && testAt(ZSH_SAFE_FLAGS_RE, input, start) && input.slice(start + 3, ZSH_SAFE_FLAGS_RE.lastIndex - 1).replace(ZSH_QUOTED_FLAG_ARG_RE, "").includes("P");
1086
1054
  if (indirect) {
1087
1055
  context.variableSink = true;
1088
1056
  if (bashEvaluatesExpansion(parameter, "binding", context))
@@ -1143,10 +1111,8 @@ function scanBashBacktick(input, start, depth, context, commands, quoted, text)
1143
1111
  return { kind: "opaque", reason: "command-substitution" };
1144
1112
  }
1145
1113
  function scanBashParameter(input, start, depth, context, commands, quoted, text) {
1146
- PARAMETER_PREFIX_RE.lastIndex = start;
1147
- const nameStart = PARAMETER_PREFIX_RE.exec(input) ? PARAMETER_PREFIX_RE.lastIndex : start;
1148
- PARAMETER_NAME_RE.lastIndex = nameStart;
1149
- let colon = PARAMETER_NAME_RE.test(input) ? PARAMETER_NAME_RE.lastIndex : -1;
1114
+ const nameStart = matchAt(PARAMETER_PREFIX_RE, input, start) ? PARAMETER_PREFIX_RE.lastIndex : start;
1115
+ let colon = testAt(PARAMETER_NAME_RE, input, nameStart) ? PARAMETER_NAME_RE.lastIndex : -1;
1150
1116
  const name = colon > nameStart ? input.slice(nameStart, colon).replace(/\\\n/g, "") : "";
1151
1117
  if (context.dialect !== "bash" && (/^(?:READ)?NULLCMD$/.test(name) || /^(?:(?:dis_)?(?:functions|[gs]?aliases)|options|commands)$/.test(name) && "[=:".includes(input[colon] ?? "")))
1152
1118
  return { kind: "opaque", reason: "dynamic-execution" };
@@ -1175,8 +1141,7 @@ function scanBashParameter(input, start, depth, context, commands, quoted, text)
1175
1141
  }
1176
1142
  }
1177
1143
  if (char === "@") {
1178
- PARAMETER_PROMPT_RE.lastIndex = index;
1179
- if (PARAMETER_PROMPT_RE.test(input))
1144
+ if (testAt(PARAMETER_PROMPT_RE, input, index))
1180
1145
  return { kind: "opaque", reason: "dynamic-execution" };
1181
1146
  }
1182
1147
  if (!quoted && context.dialect !== "bash" && char === "(" && index > start)
@@ -1194,8 +1159,7 @@ function scanBashParameter(input, start, depth, context, commands, quoted, text)
1194
1159
  if (quoted && unit !== undefined && input.startsWith("$(", index) && input.slice(index, unit + 1).includes("}"))
1195
1160
  return { kind: "opaque", reason: "command-substitution" };
1196
1161
  if (subscript || index === nameStart && input.startsWith("${", index) && unit !== undefined) {
1197
- LINE_CONTINUATION_RE.lastIndex = Number(unit) + 1;
1198
- colon = LINE_CONTINUATION_RE.exec(input) ? LINE_CONTINUATION_RE.lastIndex : Number(unit) + 1;
1162
+ colon = matchAt(LINE_CONTINUATION_RE, input, Number(unit) + 1) ? LINE_CONTINUATION_RE.lastIndex : Number(unit) + 1;
1199
1163
  }
1200
1164
  if (unit !== undefined)
1201
1165
  index = unit;
@@ -1233,8 +1197,7 @@ function scanBashConditional(input, start, depth, context, commands) {
1233
1197
  if (typeof close === "object")
1234
1198
  return close;
1235
1199
  if (close) {
1236
- BRACE_CLOSE_AHEAD_RE.lastIndex = index + 2;
1237
- if (BRACE_CLOSE_AHEAD_RE.test(input)) {
1200
+ if (testAt(BRACE_CLOSE_AHEAD_RE, input, index + 2)) {
1238
1201
  if (parenDepth !== 0)
1239
1202
  return { kind: "opaque", reason: "invalid-structure" };
1240
1203
  const evaluated = words.some((word, at) => words[at - 1]?.word === "-v" && bashEvaluatesExpansion(word, "binding", context) || (context.dialect !== "bash" && words[at - 1]?.word === "-t" || BASH_ARITHMETIC_COMPARISONS.has(words[at - 1]?.word ?? "") || BASH_ARITHMETIC_COMPARISONS.has(words[at + 1]?.word ?? "")) && bashEvaluatesExpansion(word, "arithmetic", context));
@@ -1329,7 +1292,7 @@ function scanBashArrayOrPattern(input, start, depth, context, commands, mode) {
1329
1292
  wordStarted = false;
1330
1293
  continue;
1331
1294
  }
1332
- if (mode === "array" && wordStarted && char === "(" && context.dialect === "zsh" && (ZSH_GLOB_QUALIFIER_RE.lastIndex = index, ZSH_GLOB_QUALIFIER_RE.test(input))) {
1295
+ if (mode === "array" && wordStarted && char === "(" && context.dialect === "zsh" && testAt(ZSH_GLOB_QUALIFIER_RE, input, index)) {
1333
1296
  const end = ZSH_GLOB_QUALIFIER_RE.lastIndex - 1;
1334
1297
  if (text)
1335
1298
  text.literal += input.slice(index, end + 1);
@@ -1525,6 +1488,8 @@ function scanPowerShellList(input, start, depth, budget, close, hash = false, sk
1525
1488
  let redirectTarget = false;
1526
1489
  let dangling = false;
1527
1490
  let invocation = false;
1491
+ const previousWord = () => started ? word : words.at(-1) ?? "";
1492
+ const afterMemberOperator = () => indexable === "member" && /[.:]$/.test(previousWord());
1528
1493
  const resetMember = () => {
1529
1494
  indexable = false;
1530
1495
  memberChainStart = undefined;
@@ -1643,7 +1608,7 @@ function scanPowerShellList(input, start, depth, budget, close, hash = false, sk
1643
1608
  if (!started && words.length === 0 && !invocation)
1644
1609
  expression = true;
1645
1610
  quote = char;
1646
- const dynamicMember = indexable === "member" && /[.:]$/.test(started ? word : words.at(-1) ?? "");
1611
+ const dynamicMember = afterMemberOperator();
1647
1612
  standalone = atBoundary || expression && !redirectTarget || dynamicMember;
1648
1613
  if (dynamicMember)
1649
1614
  hasMemberAccess = true;
@@ -1679,7 +1644,7 @@ function scanPowerShellList(input, start, depth, budget, close, hash = false, sk
1679
1644
  continue;
1680
1645
  }
1681
1646
  if (char === "<" && input[index + 1] === "#" && (atBoundary || inExpression || indexable === "member")) {
1682
- const memberOperator = indexable === "member" && /[.:]$/.test(started ? word : words.at(-1) ?? "");
1647
+ const memberOperator = afterMemberOperator();
1683
1648
  if (started)
1684
1649
  finishWord(index);
1685
1650
  const end = input.indexOf("#>", index + 2);
@@ -1691,8 +1656,8 @@ function scanPowerShellList(input, start, depth, budget, close, hash = false, sk
1691
1656
  continue;
1692
1657
  }
1693
1658
  if (char === "#" && (atBoundary || indexable === "member" || inExpression && !(close === "]" && /^[\p{L}\p{Nl}_][\p{L}\p{Nl}\d_.#+`\\]*$/u.test(word)))) {
1694
- const prev = started ? word : words.at(-1) ?? "";
1695
- const memberOperator = indexable === "member" && /[.:]$/.test(prev);
1659
+ const prev = previousWord();
1660
+ const memberOperator = afterMemberOperator();
1696
1661
  if (clause && clause !== "member" || prev.endsWith(",") || memberOperator)
1697
1662
  finishWord(index);
1698
1663
  else if (words.length || started || invocation)
@@ -1788,7 +1753,7 @@ function scanPowerShellList(input, start, depth, budget, close, hash = false, sk
1788
1753
  return { kind: "opaque", reason: "invalid-structure" };
1789
1754
  if (!started && !words.length && !invocation && hash !== "switch")
1790
1755
  expression = true;
1791
- const dynamicMember = indexable === "member" && /[.:]$/.test(started ? word : words.at(-1) ?? "");
1756
+ const dynamicMember = afterMemberOperator();
1792
1757
  if (dynamicMember) {
1793
1758
  indexable = "closed";
1794
1759
  hasMemberAccess = true;
@@ -1809,8 +1774,7 @@ function scanPowerShellList(input, start, depth, budget, close, hash = false, sk
1809
1774
  if (opener !== undefined) {
1810
1775
  const tokenIndex = index;
1811
1776
  const openChar = input[opener];
1812
- const prevMemberWord = started ? word : words.at(-1) ?? "";
1813
- const dynamicMemberOpener = indexable === "member" && /[.:]$/.test(prevMemberWord);
1777
+ const dynamicMemberOpener = afterMemberOperator();
1814
1778
  const priorIndexable = Boolean(indexable);
1815
1779
  const isMethodCall = char === "(" && opener === tokenIndex && memberChainStart !== undefined && (indexable === "member" && started && !/[.:]$/.test(word) || indexable === "closed" && !started && hasMemberAccess);
1816
1780
  const standaloneBlock = atBoundary || inExpression || char === "(" || openChar === "{";
@@ -1881,7 +1845,7 @@ function scanPowerShellList(input, start, depth, budget, close, hash = false, sk
1881
1845
  }
1882
1846
  if (/\s/.test(char) && char !== `
1883
1847
  ` && char !== "\r") {
1884
- const memberOperator = indexable === "member" && /[.:]$/.test(started ? word : words.at(-1) ?? "");
1848
+ const memberOperator = afterMemberOperator();
1885
1849
  finishWord(index);
1886
1850
  if (!memberOperator)
1887
1851
  resetMember();
@@ -1897,8 +1861,8 @@ function scanPowerShellList(input, start, depth, budget, close, hash = false, sk
1897
1861
  if (separator === `
1898
1862
  ` || separator === "\r" || separator === `\r
1899
1863
  `) {
1900
- const prev = started ? word : words.at(-1) ?? "";
1901
- const memberOperator = indexable === "member" && /[.:]$/.test(prev);
1864
+ const prev = previousWord();
1865
+ const memberOperator = afterMemberOperator();
1902
1866
  if (clause && clause !== "member" || prev.endsWith(",") || memberOperator) {
1903
1867
  finishWord(index);
1904
1868
  index += separator.length - 1;
@@ -1924,10 +1888,9 @@ function scanPowerShellList(input, start, depth, budget, close, hash = false, sk
1924
1888
  }
1925
1889
  if (!started && !words.length && !invocation && hash !== "switch" && testAt(POWERSHELL_EXPRESSION_RE, input, index))
1926
1890
  expression = true;
1927
- const prevMember = started ? word : words.at(-1) ?? "";
1928
- if ((atBoundary || indexable === "member" && /[.:]$/.test(prevMember)) && char === "$") {
1891
+ if ((atBoundary || afterMemberOperator()) && char === "$") {
1929
1892
  if (testAt(POWERSHELL_INDEXABLE_VAR_RE, input, index + 1)) {
1930
- if (indexable === "member" && /[.:]$/.test(prevMember))
1893
+ if (afterMemberOperator())
1931
1894
  hasMemberAccess = true;
1932
1895
  else {
1933
1896
  memberChainStart = index;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./plugin-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/provider/claude-agent/language-model/system-prompt.ts
6
6
  var exports_system_prompt = {};
@@ -8,7 +8,7 @@ __export(exports_system_prompt, {
8
8
  AGENT_OPTION: () => AGENT_OPTION2,
9
9
  ClaudeSystemPrompt: () => exports_system_prompt,
10
10
  INSTRUCTIONS_OPTION: () => INSTRUCTIONS_OPTION2,
11
- make: () => make14,
11
+ make: () => make11,
12
12
  utility: () => utility2
13
13
  });
14
14
  var AGENT_OPTION2 = "claudeCodeAgent";
@@ -19,7 +19,7 @@ var primary = {
19
19
  snapshot: false,
20
20
  append: "<runtime_info>You are running in OpenCode through the Claude Code harness. Mention this only when asked.</runtime_info>"
21
21
  };
22
- function make14(role, instructions) {
22
+ function make11(role, instructions) {
23
23
  const blocks = [primary.append];
24
24
  if (role)
25
25
  blocks.push(`# Agent role (from OpenCode)
@@ -37,4 +37,4 @@ function utility2(prompt) {
37
37
  `) || "You are a text generation helper. Return only the requested output.";
38
38
  }
39
39
 
40
- export { AGENT_OPTION2, INSTRUCTIONS_OPTION2, make14, utility2, exports_system_prompt };
40
+ export { AGENT_OPTION2, INSTRUCTIONS_OPTION2, make11, utility2, exports_system_prompt };
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  Service90,
3
3
  node93
4
- } from "./schema-5zrvqxbg.js";
4
+ } from "./plugin-0307q67x.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create4
8
- } from "./schema-40y6dtc2.js";
8
+ } from "./plugin-40y6dtc2.js";
9
9
  import {
10
10
  key2
11
- } from "./schema-jhwp234h.js";
11
+ } from "./plugin-g8gy8cqb.js";
12
12
  import {
13
- ID18,
14
- Service84,
15
- node87,
16
- Event18
17
- } from "./schema-zrcyxcfh.js";
13
+ ID16,
14
+ Service80,
15
+ node83,
16
+ Event17
17
+ } from "./plugin-68y3jp1b.js";
18
18
  import {
19
19
  Service87,
20
20
  node90
21
- } from "./schema-th5svyvp.js";
21
+ } from "./plugin-46zfztsf.js";
22
22
  import {
23
23
  __export
24
- } from "./schema-9rqn6x4v.js";
24
+ } from "./plugin-9rqn6x4v.js";
25
25
 
26
26
  // src/provider.ts
27
- var exports_provider4 = {};
28
- __export(exports_provider4, {
27
+ var exports_provider5 = {};
28
+ __export(exports_provider5, {
29
29
  AISDK_PREFIX: () => AISDK_PREFIX2,
30
30
  Cache: () => Cache2,
31
31
  Compaction: () => Compaction3,
32
32
  DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
33
33
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
34
- Event: () => Event17,
35
- ID: () => ID17,
36
- Info: () => Info25,
34
+ Event: () => Event16,
35
+ ID: () => ID15,
36
+ Info: () => Info23,
37
37
  LoadError: () => LoadError3,
38
- Provider: () => exports_provider4,
38
+ Provider: () => exports_provider5,
39
39
  Request: () => Request4,
40
- Service: () => Service83,
40
+ Service: () => Service79,
41
41
  Settings: () => Settings2,
42
42
  Transport: () => Transport2,
43
43
  aisdk: () => aisdk2,
@@ -49,7 +49,7 @@ __export(exports_provider4, {
49
49
  mergeOverlay: () => mergeOverlay2,
50
50
  modelSettings: () => modelSettings2,
51
51
  nativeSettings: () => nativeSettings2,
52
- node: () => node86,
52
+ node: () => node82,
53
53
  packageName: () => packageName2,
54
54
  timeout: () => timeout2,
55
55
  timeouts: () => timeouts2
@@ -79,11 +79,10 @@ import { Effect, Option, Schema, Struct } from "effect";
79
79
  function rewrite2(target, input) {
80
80
  if (input.specifier === undefined)
81
81
  return;
82
- const plain = resolve(input.specifier, input);
83
- if (!plain)
84
- return;
85
82
  const settings = decode(target.settings ?? {});
86
- const replacement = resolve(input.specifier, { ...input, settings }) ?? plain;
83
+ const replacement = resolve(input.specifier, { ...input, settings });
84
+ if (!replacement)
85
+ return;
87
86
  const translated = options(replacement, input.modelID, settings);
88
87
  if (target.package !== undefined || replacement !== input.specifier)
89
88
  target.package = replacement;
@@ -332,8 +331,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
332
331
  var decode = Schema.decodeUnknownSync(Legacy);
333
332
 
334
333
  // src/provider.ts
335
- import { Event as Event17 } from "@opencode/schema/provider";
336
- var ID17 = Provider.ID;
334
+ import { Event as Event16 } from "@opencode/schema/provider";
335
+ var ID15 = Provider.ID;
337
336
  var AISDK_PREFIX2 = "aisdk:";
338
337
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
339
338
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -578,9 +577,9 @@ var Compaction3 = Provider.Compaction;
578
577
  var Cache2 = Provider.Cache;
579
578
  var Transport2 = Provider.Transport;
580
579
  var Settings2 = Provider.Settings;
581
- var Info25 = Provider.Info;
580
+ var Info23 = Provider.Info;
582
581
 
583
- class Service83 extends Context.Service()("@opencode/Provider") {
582
+ class Service79 extends Context.Service()("@opencode/Provider") {
584
583
  }
585
584
  var definitions = new WeakMap;
586
585
  function index(providerID, models) {
@@ -593,9 +592,9 @@ function index(providerID, models) {
593
592
  definitions.set(models, indexes);
594
593
  return result;
595
594
  }
596
- var layer = Layer.effect(Service83, Effect2.gen(function* () {
595
+ var layer = Layer.effect(Service79, Effect2.gen(function* () {
597
596
  const bus = yield* Service90;
598
- const integrations = yield* Service84;
597
+ const integrations = yield* Service80;
599
598
  const location = yield* Service87;
600
599
  const state = create4({
601
600
  name: "provider",
@@ -607,7 +606,7 @@ var layer = Layer.effect(Service83, Effect2.gen(function* () {
607
606
  const current = records.get(id);
608
607
  if (current)
609
608
  return current;
610
- const added = { provider: Info25.empty(id), models: new Map };
609
+ const added = { provider: Info23.empty(id), models: new Map };
611
610
  records.set(id, added);
612
611
  maps.add(added.models);
613
612
  return added;
@@ -688,7 +687,7 @@ var layer = Layer.effect(Service83, Effect2.gen(function* () {
688
687
  const available = Array.from(records.values()).filter((record) => {
689
688
  if (record.provider.activation === "disabled")
690
689
  return false;
691
- const integration = byID.get(record.provider.integrationID ?? ID18.make(record.provider.id));
690
+ const integration = byID.get(record.provider.integrationID ?? ID16.make(record.provider.id));
692
691
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
693
692
  return false;
694
693
  if (record.provider.activation === "enabled")
@@ -714,8 +713,8 @@ var layer = Layer.effect(Service83, Effect2.gen(function* () {
714
713
  location: { directory: location.directory, workspaceID: location.workspaceID }
715
714
  });
716
715
  });
717
- yield* bus.subscribe([Event18.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
718
- return Service83.of({
716
+ yield* bus.subscribe([Event17.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
717
+ return Service79.of({
719
718
  transform: state.transform,
720
719
  reload: state.reload,
721
720
  get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -724,7 +723,7 @@ var layer = Layer.effect(Service83, Effect2.gen(function* () {
724
723
  snapshot
725
724
  });
726
725
  }));
727
- var node86 = makeLocationNode({ service: Service83, layer, deps: [node93, node87, node90] });
726
+ var node82 = makeLocationNode({ service: Service79, layer, deps: [node93, node83, node90] });
728
727
  var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
729
728
  const module = yield* Effect2.tryPromise({
730
729
  try: () => {
@@ -746,4 +745,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
746
745
  return module;
747
746
  });
748
747
 
749
- export { rewrite2, native2, exports_aisdk_native, ID17, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info25, Service83, node86, exports_provider4, Event17 };
748
+ export { rewrite2, native2, exports_aisdk_native, ID15, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info23, Service79, node82, exports_provider5, Event16 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./plugin-9rqn6x4v.js";
4
4
 
5
5
  // src/console-access.ts
6
6
  var exports_console_access = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./schema-qfa1cgps.js";
3
+ } from "./plugin-qfa1cgps.js";
4
4
 
5
5
  // src/job/sql.ts
6
6
  import { index, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -2,24 +2,24 @@ import {
2
2
  PREFIX2,
3
3
  short2,
4
4
  original2,
5
- description7
6
- } from "./schema-tg7s7b5t.js";
5
+ description2
6
+ } from "./plugin-gxs71cxp.js";
7
7
  import {
8
8
  __export
9
- } from "./schema-9rqn6x4v.js";
9
+ } from "./plugin-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/provider/claude-agent/tools/server.ts
12
12
  var exports_server = {};
13
13
  __export(exports_server, {
14
14
  ToolServer: () => exports_server,
15
- make: () => make16
15
+ make: () => make12
16
16
  });
17
- async function make16(tools, pending) {
17
+ async function make12(tools, pending) {
18
18
  const { Server } = await import("@modelcontextprotocol/server");
19
19
  const server = new Server({ name: "opencode", version: "1.0.0" }, { capabilities: { tools: {} } });
20
20
  const definitions = tools.map((tool) => ({
21
21
  name: short2(tool.name),
22
- description: description7(tool),
22
+ description: description2(tool),
23
23
  inputSchema: tool.inputSchema,
24
24
  annotations: { readOnlyHint: false },
25
25
  _meta: { "anthropic/alwaysLoad": true, "anthropic/maxResultSizeChars": 500000 }
@@ -34,4 +34,4 @@ async function make16(tools, pending) {
34
34
  return { type: "sdk", name: "opencode", instance: server };
35
35
  }
36
36
 
37
- export { make16, exports_server };
37
+ export { make12, exports_server };