@opencode/core 0.0.0-dev-900 → 0.0.0-dev-904

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 (932) 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 +5 -5
  6. package/dist/artifact.js +254 -254
  7. package/dist/bus.js +84 -84
  8. package/dist/chunks/{filesystem-x83082rg.js → tool-00gmy8xm.js} +193 -193
  9. package/dist/chunks/{filesystem-kb2t6asd.js → tool-083k8jjw.js} +43 -43
  10. package/dist/chunks/{filesystem-3ws7347k.js → tool-0af2ej1h.js} +12 -12
  11. package/dist/chunks/{filesystem-cpvd08na.js → tool-0ahs07zn.js} +4 -4
  12. package/dist/chunks/{filesystem-1wpz8b97.js → tool-0fzn8tne.js} +20 -20
  13. package/dist/chunks/{filesystem-1k7rps55.js → tool-0gfhqxdg.js} +13 -13
  14. package/dist/chunks/{filesystem-0ma9gw4f.js → tool-0ma9gw4f.js} +2 -2
  15. package/dist/chunks/{filesystem-czqb1qjr.js → tool-0mgprbja.js} +6 -6
  16. package/dist/chunks/{filesystem-48wgh0r5.js → tool-0w17snvd.js} +10 -10
  17. package/dist/chunks/{filesystem-th0477r0.js → tool-0yktd958.js} +11 -11
  18. package/dist/chunks/{filesystem-j181v3gh.js → tool-0z237fz4.js} +29 -29
  19. package/dist/chunks/{filesystem-w4zkc3a0.js → tool-144d3hy7.js} +12 -12
  20. package/dist/chunks/{filesystem-9e67kptv.js → tool-1460q3hj.js} +33 -33
  21. package/dist/chunks/{filesystem-pd5348f3.js → tool-155c7zz5.js} +38 -38
  22. package/dist/chunks/{filesystem-zsp4v0js.js → tool-19b2ztj7.js} +11 -11
  23. package/dist/chunks/{filesystem-1aqsckx4.js → tool-1aqsckx4.js} +1 -1
  24. package/dist/chunks/{filesystem-y6psyawz.js → tool-1bbvyrj8.js} +28 -28
  25. package/dist/chunks/{filesystem-cdnzabwv.js → tool-1cnspxhw.js} +25 -25
  26. package/dist/chunks/{filesystem-vhmjqsfk.js → tool-1pbe9gq9.js} +3 -3
  27. package/dist/chunks/{filesystem-kf0dj0r3.js → tool-1r35gkft.js} +26 -26
  28. package/dist/chunks/{filesystem-cmm5btky.js → tool-1w0d05zm.js} +90 -90
  29. package/dist/chunks/{filesystem-1x2knyw4.js → tool-1x2knyw4.js} +1 -1
  30. package/dist/chunks/{filesystem-p7vhpwh8.js → tool-1yq9hg58.js} +5 -5
  31. package/dist/chunks/{filesystem-cxab28sr.js → tool-1z3v6jst.js} +7 -7
  32. package/dist/chunks/{filesystem-k46dd5bg.js → tool-20pht57w.js} +4 -4
  33. package/dist/chunks/{filesystem-tk96nzak.js → tool-2224nmbs.js} +31 -31
  34. package/dist/chunks/{filesystem-6vth7jmw.js → tool-22z3ngk3.js} +22 -22
  35. package/dist/chunks/{filesystem-8b3vzgkx.js → tool-25h84942.js} +4 -4
  36. package/dist/chunks/{filesystem-1ep2p91f.js → tool-27w5k9zf.js} +2 -2
  37. package/dist/chunks/{filesystem-g9t47zy8.js → tool-2946nwq7.js} +40 -40
  38. package/dist/chunks/{filesystem-ssh841z8.js → tool-2bd99pfg.js} +9 -9
  39. package/dist/chunks/{filesystem-2fc7eemy.js → tool-2fc7eemy.js} +1 -1
  40. package/dist/chunks/{filesystem-2p60zmnr.js → tool-2p60zmnr.js} +2 -2
  41. package/dist/chunks/{filesystem-8ff7z165.js → tool-2pwd5hea.js} +6 -6
  42. package/dist/chunks/{filesystem-02z2ds17.js → tool-2qr0rzrp.js} +8 -8
  43. package/dist/chunks/{filesystem-c2shajz4.js → tool-2t9rfbr1.js} +31 -31
  44. package/dist/chunks/{filesystem-3adw4bt5.js → tool-3adw4bt5.js} +2 -2
  45. package/dist/chunks/{filesystem-nchw3v9s.js → tool-3ay6yzp4.js} +5 -5
  46. package/dist/chunks/{filesystem-mskkk8kf.js → tool-3bbjthkp.js} +15 -15
  47. package/dist/chunks/{filesystem-ayjs7tqn.js → tool-3cbjf1nt.js} +2 -2
  48. package/dist/chunks/{filesystem-kqa1ww29.js → tool-3dcz9emx.js} +7 -7
  49. package/dist/chunks/{filesystem-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{filesystem-f2vx8x8a.js → tool-3ktek22a.js} +13 -13
  51. package/dist/chunks/{filesystem-3nnrz6f6.js → tool-3nnrz6f6.js} +1 -1
  52. package/dist/chunks/{filesystem-9936y3jg.js → tool-3nsns975.js} +8 -8
  53. package/dist/chunks/{filesystem-jhsnhsa7.js → tool-3pa842pg.js} +37 -37
  54. package/dist/chunks/{filesystem-r17fbvme.js → tool-3qgwywyc.js} +4 -4
  55. package/dist/chunks/tool-3qhreq2y.js +16 -0
  56. package/dist/chunks/{filesystem-taa6ksrb.js → tool-405anx19.js} +3 -3
  57. package/dist/chunks/{filesystem-40y6dtc2.js → tool-40y6dtc2.js} +1 -1
  58. package/dist/chunks/{filesystem-4qtvx9g1.js → tool-4260v68q.js} +26 -26
  59. package/dist/chunks/{filesystem-44pmzq9c.js → tool-44pmzq9c.js} +2 -2
  60. package/dist/chunks/{filesystem-d9qmvhen.js → tool-45s7g4aj.js} +64 -64
  61. package/dist/chunks/{filesystem-882t1npe.js → tool-4b8smedx.js} +23 -23
  62. package/dist/chunks/{filesystem-3nzasfxf.js → tool-4dfd3vjk.js} +58 -58
  63. package/dist/chunks/{filesystem-4dx1dgte.js → tool-4dx1dgte.js} +1 -1
  64. package/dist/chunks/{filesystem-17sb9jwz.js → tool-4mx18a8z.js} +18 -18
  65. package/dist/chunks/{filesystem-0ezh5f4m.js → tool-4pk3sz26.js} +11 -11
  66. package/dist/chunks/{filesystem-4pyp9zr9.js → tool-4pyp9zr9.js} +1 -1
  67. package/dist/chunks/{filesystem-7zzyr76m.js → tool-4qgen1r6.js} +35 -35
  68. package/dist/chunks/{filesystem-4v008n1t.js → tool-4v008n1t.js} +1 -1
  69. package/dist/chunks/{filesystem-avz8bhs5.js → tool-4v0wh7cn.js} +15 -15
  70. package/dist/chunks/{filesystem-dr1vsqzj.js → tool-51q9w6yf.js} +17 -17
  71. package/dist/chunks/{filesystem-q6ses74x.js → tool-54vy2vdt.js} +21 -21
  72. package/dist/chunks/{filesystem-2ynhg311.js → tool-5c9ayr0a.js} +29 -29
  73. package/dist/chunks/{filesystem-px7qpgcn.js → tool-5ckkk9bj.js} +4 -4
  74. package/dist/chunks/{filesystem-46esafq5.js → tool-5gwtjps0.js} +16 -16
  75. package/dist/chunks/{filesystem-7h6anj5r.js → tool-5h9rmw1n.js} +5 -5
  76. package/dist/chunks/{filesystem-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
  77. package/dist/chunks/{filesystem-1zez8a6k.js → tool-5myx731x.js} +9 -9
  78. package/dist/chunks/{filesystem-jmknrr9q.js → tool-5nqnk5zt.js} +16 -16
  79. package/dist/chunks/{filesystem-q1yqs2c4.js → tool-5yy869d1.js} +5 -5
  80. package/dist/chunks/{filesystem-cvwe7hsa.js → tool-5zpqhmp2.js} +6 -6
  81. package/dist/chunks/{filesystem-t8erkws8.js → tool-61qraad9.js} +5 -5
  82. package/dist/chunks/{filesystem-wq8rmehe.js → tool-65j8xpqd.js} +29 -29
  83. package/dist/chunks/{filesystem-tb2mrvc9.js → tool-694dpcrp.js} +7 -7
  84. package/dist/chunks/{filesystem-rrcsvc7m.js → tool-6ay1c1t0.js} +31 -31
  85. package/dist/chunks/{filesystem-5x1njh48.js → tool-6b8qs503.js} +23 -23
  86. package/dist/chunks/{filesystem-d390zwf3.js → tool-6f6jm3cp.js} +8 -8
  87. package/dist/chunks/{filesystem-9650aqwr.js → tool-6ge1y5qj.js} +20 -20
  88. package/dist/chunks/{filesystem-kyggev0f.js → tool-6p2yvgd8.js} +32 -32
  89. package/dist/chunks/{filesystem-y2jyke39.js → tool-6p47f7n7.js} +14 -14
  90. package/dist/chunks/{filesystem-p17589ft.js → tool-6q4fvzhp.js} +5 -5
  91. package/dist/chunks/{filesystem-jz2wm8q8.js → tool-706wky23.js} +45 -45
  92. package/dist/chunks/{filesystem-x6jvqskc.js → tool-71bdgds2.js} +31 -31
  93. package/dist/chunks/{filesystem-gg7m0nzr.js → tool-71jvkvdc.js} +16 -16
  94. package/dist/chunks/{filesystem-t48jrnqq.js → tool-73ff1310.js} +3 -3
  95. package/dist/chunks/{filesystem-4d76xdka.js → tool-74h3v0cj.js} +33 -33
  96. package/dist/chunks/{filesystem-0a2yyxmk.js → tool-74nkrfhp.js} +7 -7
  97. package/dist/chunks/{filesystem-wvr8xscb.js → tool-79k544d0.js} +7 -7
  98. package/dist/chunks/{filesystem-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  99. package/dist/chunks/{filesystem-e2d6g660.js → tool-7fsc8m4k.js} +22 -22
  100. package/dist/chunks/{filesystem-qe76v4mn.js → tool-7j1hj9ek.js} +7 -7
  101. package/dist/chunks/{filesystem-x1hgtw2f.js → tool-7jh0e0w6.js} +3 -3
  102. package/dist/chunks/{filesystem-7w2ypzdf.js → tool-7w2ypzdf.js} +1 -1
  103. package/dist/chunks/{filesystem-g7m0qqq0.js → tool-7w7ts1mc.js} +25 -25
  104. package/dist/chunks/{filesystem-7weczvnd.js → tool-7weczvnd.js} +1 -1
  105. package/dist/chunks/{filesystem-775hqbnd.js → tool-80mg3ag8.js} +3 -3
  106. package/dist/chunks/{filesystem-trz3127x.js → tool-84h32f71.js} +25 -25
  107. package/dist/chunks/{filesystem-njg3q12r.js → tool-85vpeagd.js} +12 -12
  108. package/dist/chunks/{filesystem-5ejp9ww5.js → tool-86x0psh9.js} +12 -12
  109. package/dist/chunks/{filesystem-89287pr7.js → tool-89287pr7.js} +1 -1
  110. package/dist/chunks/{filesystem-8cg7mtm3.js → tool-8cg7mtm3.js} +1 -1
  111. package/dist/chunks/{filesystem-z1y40jkr.js → tool-8m8kx3ws.js} +14 -14
  112. package/dist/chunks/{filesystem-8wtp7s3z.js → tool-8wtp7s3z.js} +1 -1
  113. package/dist/chunks/tool-8x060fmy.js +18 -0
  114. package/dist/chunks/{filesystem-mb7mbhnz.js → tool-8z6m94af.js} +3 -3
  115. package/dist/chunks/{filesystem-8zv0xmg5.js → tool-8zv0xmg5.js} +1 -1
  116. package/dist/chunks/{filesystem-963hk181.js → tool-963hk181.js} +2 -2
  117. package/dist/chunks/{filesystem-f0mr1pc6.js → tool-96vqe6h0.js} +24 -24
  118. package/dist/chunks/{filesystem-6sfcjb92.js → tool-9g08pa91.js} +17 -17
  119. package/dist/chunks/{filesystem-rdn5fp89.js → tool-9mnt82q7.js} +9 -9
  120. package/dist/chunks/{filesystem-z664tc7y.js → tool-9sr5avzc.js} +3 -3
  121. package/dist/chunks/{filesystem-cqv7tc87.js → tool-9vnsmb12.js} +37 -37
  122. package/dist/chunks/{filesystem-034tev2y.js → tool-aj7mw0zk.js} +2 -2
  123. package/dist/chunks/{filesystem-2fk4msj1.js → tool-an1v5wex.js} +8 -8
  124. package/dist/chunks/{filesystem-6zj50wfk.js → tool-atgf0zmr.js} +21 -21
  125. package/dist/chunks/{filesystem-vp24eq8c.js → tool-avqh07yg.js} +5 -5
  126. package/dist/chunks/{filesystem-718p8p18.js → tool-ax9rm43e.js} +33 -33
  127. package/dist/chunks/{filesystem-3ag897fb.js → tool-b0d5d3xj.js} +29 -29
  128. package/dist/chunks/{filesystem-4tnszcv9.js → tool-b1zs6axd.js} +7 -7
  129. package/dist/chunks/{filesystem-b26ddj6h.js → tool-b26ddj6h.js} +4 -4
  130. package/dist/chunks/{filesystem-72rhbnyr.js → tool-b5atjet8.js} +43 -43
  131. package/dist/chunks/{filesystem-nw5eecxx.js → tool-b7nkz392.js} +1 -1
  132. package/dist/chunks/{filesystem-8sxe6kv8.js → tool-bb3mmwvh.js} +2 -2
  133. package/dist/chunks/{filesystem-n084kdnf.js → tool-be7sh31c.js} +17 -17
  134. package/dist/chunks/{filesystem-bgwzppbt.js → tool-bm3kvz7r.js} +15 -15
  135. package/dist/chunks/tool-bma3xgyt.js +26 -0
  136. package/dist/chunks/{filesystem-7559cqc2.js → tool-bsq94p9g.js} +43 -43
  137. package/dist/chunks/{filesystem-bstexjd6.js → tool-bstexjd6.js} +1 -1
  138. package/dist/chunks/{filesystem-by8ty0bx.js → tool-by8ty0bx.js} +1 -1
  139. package/dist/chunks/{filesystem-c7cw818c.js → tool-c7cw818c.js} +2 -2
  140. package/dist/chunks/{filesystem-y9yxqpkb.js → tool-cc7ea13d.js} +18 -18
  141. package/dist/chunks/{filesystem-9yqjp86x.js → tool-cg3fcpn4.js} +6 -6
  142. package/dist/chunks/{filesystem-1dm1rjcg.js → tool-cgg9h89b.js} +35 -35
  143. package/dist/chunks/{filesystem-wryyvkqn.js → tool-cjehnj7d.js} +19 -19
  144. package/dist/chunks/{filesystem-n9vcj540.js → tool-cpqh714d.js} +13 -13
  145. package/dist/chunks/{filesystem-cwrgdav8.js → tool-cwrgdav8.js} +2 -2
  146. package/dist/chunks/{filesystem-v7rmebyy.js → tool-cyvaxqay.js} +12 -12
  147. package/dist/chunks/{filesystem-zdgre5kj.js → tool-d4p3rnnj.js} +21 -21
  148. package/dist/chunks/{filesystem-ag6wve2c.js → tool-d4r41s9p.js} +9 -9
  149. package/dist/chunks/{filesystem-d4v9tmah.js → tool-d4v9tmah.js} +2 -2
  150. package/dist/chunks/{filesystem-nqy8vhw1.js → tool-d581z8cy.js} +20 -20
  151. package/dist/chunks/{filesystem-e070wvce.js → tool-d88ap0rw.js} +19 -19
  152. package/dist/chunks/{filesystem-v5hpj9dd.js → tool-ddvn7d3w.js} +8 -8
  153. package/dist/chunks/{filesystem-x9tgsr9g.js → tool-dm0jrs5z.js} +8 -8
  154. package/dist/chunks/{filesystem-x5cd4jne.js → tool-dsxayadk.js} +6 -6
  155. package/dist/chunks/{filesystem-dt77769w.js → tool-dt77769w.js} +1 -1
  156. package/dist/chunks/{filesystem-6rkgwr3t.js → tool-e1gdjb2y.js} +14 -14
  157. package/dist/chunks/{filesystem-e834z07m.js → tool-e834z07m.js} +1 -1
  158. package/dist/chunks/{filesystem-bh17vazq.js → tool-edt06h0g.js} +35 -35
  159. package/dist/chunks/{filesystem-jb1c1e15.js → tool-edv5vwyt.js} +31 -31
  160. package/dist/chunks/{filesystem-2wk0sjak.js → tool-efeabf90.js} +15 -15
  161. package/dist/chunks/{filesystem-15z4wtk0.js → tool-egjbmy1y.js} +19 -19
  162. package/dist/chunks/{filesystem-nkphb79f.js → tool-ehts27c3.js} +29 -29
  163. package/dist/chunks/{filesystem-eqw4pqj1.js → tool-eqw4pqj1.js} +2 -2
  164. package/dist/chunks/{filesystem-dpj6gsfx.js → tool-et9cjmd7.js} +9 -9
  165. package/dist/chunks/{filesystem-9dxkw32d.js → tool-f0sqvxyf.js} +15 -15
  166. package/dist/chunks/{filesystem-d0pmvwgf.js → tool-f1qx1v58.js} +9 -9
  167. package/dist/chunks/{filesystem-79bbe8py.js → tool-f3z4j9vv.js} +23 -23
  168. package/dist/chunks/{filesystem-ft24z9as.js → tool-f6r9v5q7.js} +15 -15
  169. package/dist/chunks/{filesystem-0f9gmxqb.js → tool-f9vhsqwm.js} +18 -18
  170. package/dist/chunks/{filesystem-jaed4v45.js → tool-fbkmqcfv.js} +1 -1
  171. package/dist/chunks/{filesystem-fffv3p7h.js → tool-fffv3p7h.js} +1 -1
  172. package/dist/chunks/{filesystem-dgb83nsm.js → tool-fgv8yzeg.js} +11 -11
  173. package/dist/chunks/{filesystem-0tfj7kb5.js → tool-fmdffz6v.js} +20 -20
  174. package/dist/chunks/{filesystem-nqx1ern4.js → tool-ft7ja7xf.js} +9 -9
  175. package/dist/chunks/{filesystem-6rgg22fb.js → tool-fw86ygjm.js} +3 -3
  176. package/dist/chunks/{filesystem-s41e1wzc.js → tool-fxgynan5.js} +11 -11
  177. package/dist/chunks/{filesystem-3vcxs8xg.js → tool-fyzk5b1r.js} +33 -33
  178. package/dist/chunks/{filesystem-vsbgvdf0.js → tool-g093g6qd.js} +18 -18
  179. package/dist/chunks/{filesystem-e4cczzb6.js → tool-g0sw756x.js} +3 -3
  180. package/dist/chunks/{filesystem-938jxp85.js → tool-g3v175ht.js} +10 -10
  181. package/dist/chunks/{filesystem-8es3pha2.js → tool-g8vemvpr.js} +9 -9
  182. package/dist/chunks/{filesystem-gbjdnr5j.js → tool-gbjdnr5j.js} +2 -2
  183. package/dist/chunks/{filesystem-fqshqzv0.js → tool-gdqab8my.js} +5 -5
  184. package/dist/chunks/{filesystem-sdt5j0rm.js → tool-ghrv1g9c.js} +4 -4
  185. package/dist/chunks/{filesystem-p6mqzsa5.js → tool-gn56hyyd.js} +4 -4
  186. package/dist/chunks/{filesystem-8xs1szqy.js → tool-gnz2hs5p.js} +8 -8
  187. package/dist/chunks/{filesystem-zaqe5xsm.js → tool-gzbn54hn.js} +1 -1
  188. package/dist/chunks/{filesystem-2dfq8ch4.js → tool-ha1v2dhf.js} +16 -16
  189. package/dist/chunks/{filesystem-wk3tvmbz.js → tool-hdrb5058.js} +35 -35
  190. package/dist/chunks/{filesystem-hgzwgvze.js → tool-hgzwgvze.js} +2 -2
  191. package/dist/chunks/{filesystem-2t6zpmzs.js → tool-hhegnqrw.js} +6 -6
  192. package/dist/chunks/{filesystem-pks4cj27.js → tool-hkh4ktw2.js} +12 -12
  193. package/dist/chunks/{filesystem-c17c5xy0.js → tool-hna9x47e.js} +25 -25
  194. package/dist/chunks/{filesystem-nnfhsy33.js → tool-j1ms48vw.js} +23 -23
  195. package/dist/chunks/tool-j63r4wxs.js +571 -0
  196. package/dist/chunks/{filesystem-z9cq7218.js → tool-jaftvzjf.js} +1 -1
  197. package/dist/chunks/{filesystem-181902zs.js → tool-jkfj84cm.js} +22 -22
  198. package/dist/chunks/{filesystem-jm70asfg.js → tool-jm70asfg.js} +1 -1
  199. package/dist/chunks/{filesystem-w0jedvew.js → tool-jy9jrrph.js} +30 -30
  200. package/dist/chunks/{filesystem-ay4fx4x8.js → tool-k4y08jtq.js} +28 -28
  201. package/dist/chunks/{filesystem-5jp6ksrm.js → tool-k72r4xn5.js} +12 -12
  202. package/dist/chunks/{filesystem-3wyhrqfb.js → tool-k732j073.js} +8 -8
  203. package/dist/chunks/{filesystem-xrf5bdyr.js → tool-k7cnkcnj.js} +16 -16
  204. package/dist/chunks/{filesystem-d2bwycwa.js → tool-kjef077q.js} +12 -12
  205. package/dist/chunks/{filesystem-gwv3crrh.js → tool-kjgrvgjg.js} +12 -12
  206. package/dist/chunks/{filesystem-kt3bjfbg.js → tool-kt3bjfbg.js} +1 -1
  207. package/dist/chunks/{filesystem-ckn0kvtp.js → tool-ktck1cjp.js} +6 -6
  208. package/dist/chunks/{filesystem-4jcpm909.js → tool-kxhajdy2.js} +5 -5
  209. package/dist/chunks/{filesystem-kzczzf4v.js → tool-kzczzf4v.js} +1 -1
  210. package/dist/chunks/{filesystem-jwbahhn3.js → tool-m0ge85pr.js} +35 -35
  211. package/dist/chunks/{filesystem-m1714858.js → tool-m1714858.js} +1 -1
  212. package/dist/chunks/{filesystem-jvxqx3e4.js → tool-m4d441dw.js} +12 -12
  213. package/dist/chunks/{filesystem-v1ps7nwg.js → tool-m5rpg4mw.js} +8 -8
  214. package/dist/chunks/{filesystem-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  215. package/dist/chunks/{filesystem-epsw3z7t.js → tool-mfnrxmk2.js} +4 -4
  216. package/dist/chunks/{filesystem-6kyk5zwt.js → tool-msa5m8am.js} +16 -16
  217. package/dist/chunks/{filesystem-1v2g13eq.js → tool-msd2a3qm.js} +4 -4
  218. package/dist/chunks/{filesystem-1na8pg7t.js → tool-mzjgx79y.js} +4 -4
  219. package/dist/chunks/{filesystem-fcrd7kek.js → tool-n320gsn2.js} +4 -4
  220. package/dist/chunks/{filesystem-xv6av45t.js → tool-nbrkvs9p.js} +11 -11
  221. package/dist/chunks/{filesystem-p10mzfnc.js → tool-nhshg12m.js} +5 -5
  222. package/dist/chunks/{filesystem-jkdcm5hg.js → tool-njx9gg5k.js} +4 -4
  223. package/dist/chunks/{filesystem-hpgky7br.js → tool-nnapdt59.js} +17 -17
  224. package/dist/chunks/{filesystem-78jb72c0.js → tool-nnvmas47.js} +22 -22
  225. package/dist/chunks/{filesystem-wfxxzfe0.js → tool-nr7prwvg.js} +15 -15
  226. package/dist/chunks/{filesystem-a6b3g8hx.js → tool-nrqvtcd8.js} +25 -25
  227. package/dist/chunks/{filesystem-wegkxhrn.js → tool-nx4vzyjd.js} +2 -2
  228. package/dist/chunks/{filesystem-4r8hh93p.js → tool-p1p5zv4x.js} +12 -12
  229. package/dist/chunks/{filesystem-p2tvx8t7.js → tool-p2tvx8t7.js} +2 -2
  230. package/dist/chunks/{filesystem-y7k285qd.js → tool-p5dv4rwg.js} +29 -29
  231. package/dist/chunks/{filesystem-mrzew5a0.js → tool-padba6h1.js} +5 -5
  232. package/dist/chunks/{filesystem-epywfnkq.js → tool-pak53k0g.js} +76 -76
  233. package/dist/chunks/{filesystem-xep6jqgx.js → tool-pbbrhaxk.js} +48 -48
  234. package/dist/chunks/{filesystem-nv1t5fvd.js → tool-pc077hap.js} +11 -11
  235. package/dist/chunks/{filesystem-r1xy8wjw.js → tool-pez7as0x.js} +46 -46
  236. package/dist/chunks/{filesystem-b1pxs4mx.js → tool-pfnrdc1y.js} +11 -11
  237. package/dist/chunks/{filesystem-k4qe4bdb.js → tool-pfzasy7k.js} +6 -6
  238. package/dist/chunks/{filesystem-yydqqga9.js → tool-pgqxr0th.js} +4 -4
  239. package/dist/chunks/{filesystem-scy8vkan.js → tool-pheg3pak.js} +11 -11
  240. package/dist/chunks/{filesystem-pknna89w.js → tool-pknna89w.js} +1 -1
  241. package/dist/chunks/{filesystem-1a5bb6as.js → tool-ppy7a7my.js} +6 -6
  242. package/dist/chunks/{filesystem-x7e420mc.js → tool-pr7b356r.js} +8 -8
  243. package/dist/chunks/{filesystem-fg9p65nk.js → tool-prq7xxp2.js} +6 -6
  244. package/dist/chunks/{filesystem-ge2z13zp.js → tool-q11dte8f.js} +19 -19
  245. package/dist/chunks/{filesystem-at088wgp.js → tool-q1y2c6x5.js} +39 -39
  246. package/dist/chunks/{filesystem-ck7e0r21.js → tool-q36dsedj.js} +65 -65
  247. package/dist/chunks/{filesystem-cf8mej1f.js → tool-q48415cr.js} +18 -18
  248. package/dist/chunks/{filesystem-vkxtbcsc.js → tool-q9djgp4e.js} +17 -17
  249. package/dist/chunks/{filesystem-1fbngjjy.js → tool-q9sa360e.js} +18 -18
  250. package/dist/chunks/{filesystem-0xrhftmq.js → tool-qd0hwsad.js} +11 -11
  251. package/dist/chunks/{filesystem-19aj727q.js → tool-qe8srvhz.js} +14 -14
  252. package/dist/chunks/{filesystem-kssh28p5.js → tool-qna7kvz1.js} +5 -5
  253. package/dist/chunks/{filesystem-qp7r0hxv.js → tool-qp7r0hxv.js} +1 -1
  254. package/dist/chunks/{filesystem-cdvjn5dz.js → tool-qp8qp7xq.js} +14 -14
  255. package/dist/chunks/{filesystem-bcjnxnhp.js → tool-qrj805cr.js} +45 -45
  256. package/dist/chunks/{filesystem-qsdghx1p.js → tool-qsdghx1p.js} +1 -1
  257. package/dist/chunks/{filesystem-weqc7sb9.js → tool-qtf35215.js} +3 -3
  258. package/dist/chunks/{filesystem-hx5nh5s3.js → tool-r1zdtk3v.js} +31 -31
  259. package/dist/chunks/{filesystem-4f25tdd0.js → tool-r542h3bh.js} +5 -5
  260. package/dist/chunks/tool-r6r1w0bn.js +265 -0
  261. package/dist/chunks/{filesystem-rb9dy4dg.js → tool-rb9dy4dg.js} +1 -1
  262. package/dist/chunks/{filesystem-0yhbbq00.js → tool-rfjyfe4k.js} +10 -10
  263. package/dist/chunks/{filesystem-rgc9cx3e.js → tool-rgc9cx3e.js} +2 -2
  264. package/dist/chunks/{filesystem-h5chy42v.js → tool-rj7jtxy8.js} +3 -3
  265. package/dist/chunks/{filesystem-wzcb695t.js → tool-rs87zcqc.js} +59 -59
  266. package/dist/chunks/{filesystem-rt5dr6hb.js → tool-rt5dr6hb.js} +1 -1
  267. package/dist/chunks/{filesystem-hvj3ek6w.js → tool-s1td2z6q.js} +51 -51
  268. package/dist/chunks/{filesystem-921qrkta.js → tool-sby54dqk.js} +2 -2
  269. package/dist/chunks/{filesystem-sbya78hr.js → tool-sbya78hr.js} +1 -1
  270. package/dist/chunks/{filesystem-hsgagtv4.js → tool-sgx9k6cw.js} +12 -12
  271. package/dist/chunks/{filesystem-fe9jvyxb.js → tool-sk7x78xs.js} +8 -8
  272. package/dist/chunks/{filesystem-9bf0jn0y.js → tool-sn4t5eh4.js} +28 -28
  273. package/dist/chunks/{filesystem-0j7gp832.js → tool-sqjzf8x2.js} +4 -4
  274. package/dist/chunks/{filesystem-svcy3p9a.js → tool-svcy3p9a.js} +1 -1
  275. package/dist/chunks/{filesystem-6pgb0c6g.js → tool-svr136ng.js} +4 -4
  276. package/dist/chunks/{filesystem-648ay51t.js → tool-szfm0m93.js} +34 -34
  277. package/dist/chunks/{filesystem-vcbvzcay.js → tool-t19d8bxp.js} +3 -3
  278. package/dist/chunks/{filesystem-ep6snxvm.js → tool-t3qgac3j.js} +5 -5
  279. package/dist/chunks/{filesystem-ph2hg484.js → tool-t62dywgn.js} +6 -6
  280. package/dist/chunks/{filesystem-tbpn7jtk.js → tool-tbpn7jtk.js} +1 -1
  281. package/dist/chunks/{filesystem-tczq8hjw.js → tool-tczq8hjw.js} +1 -1
  282. package/dist/chunks/{filesystem-c1edwwnv.js → tool-tew3ekv0.js} +19 -19
  283. package/dist/chunks/{filesystem-gxs71cxp.js → tool-tg7s7b5t.js} +4 -4
  284. package/dist/chunks/{filesystem-qa3zm6vn.js → tool-tjakpvzb.js} +6 -6
  285. package/dist/chunks/{filesystem-jy0jnkzv.js → tool-tn7x3vke.js} +9 -9
  286. package/dist/chunks/{filesystem-tr8x705m.js → tool-tr8x705m.js} +1 -1
  287. package/dist/chunks/{filesystem-yqhvz5dd.js → tool-ttb0zajd.js} +56 -56
  288. package/dist/chunks/{filesystem-c5sns9rs.js → tool-tvjkm9e1.js} +51 -51
  289. package/dist/chunks/{filesystem-tvtps2q9.js → tool-tvtps2q9.js} +1 -1
  290. package/dist/chunks/{filesystem-twssxy5n.js → tool-twssxy5n.js} +2 -2
  291. package/dist/chunks/{filesystem-v2r1d0zg.js → tool-v2r1d0zg.js} +1 -1
  292. package/dist/chunks/{filesystem-mpq7brr0.js → tool-v2xkqqn9.js} +19 -19
  293. package/dist/chunks/{filesystem-42csrcj6.js → tool-v5wd13jm.js} +7 -7
  294. package/dist/chunks/{filesystem-km4jpkz6.js → tool-v6j3d7ww.js} +4 -4
  295. package/dist/chunks/{filesystem-gk0cbdm8.js → tool-v9gj58d7.js} +5 -5
  296. package/dist/chunks/{filesystem-rbebbts0.js → tool-v9p4ps2q.js} +5 -5
  297. package/dist/chunks/{filesystem-95chw932.js → tool-vag1bze5.js} +31 -31
  298. package/dist/chunks/{filesystem-539dw32x.js → tool-vek77fn1.js} +4 -4
  299. package/dist/chunks/{filesystem-vyzkhsyt.js → tool-vfpdh65y.js} +12 -12
  300. package/dist/chunks/{filesystem-0gwbn6a0.js → tool-vj50rhab.js} +8 -8
  301. package/dist/chunks/{filesystem-vjf35v1f.js → tool-vjf35v1f.js} +1 -1
  302. package/dist/chunks/{filesystem-ctmpqb7w.js → tool-vq0qa3sh.js} +9 -9
  303. package/dist/chunks/{filesystem-h0pfp02j.js → tool-vtsctq43.js} +12 -12
  304. package/dist/chunks/{filesystem-rxdvn915.js → tool-vwdemqyb.js} +6 -6
  305. package/dist/chunks/{filesystem-hxcyyd46.js → tool-vztdkk27.js} +31 -31
  306. package/dist/chunks/{filesystem-40za9wsf.js → tool-w2eysc6j.js} +9 -9
  307. package/dist/chunks/{filesystem-dg5es6ze.js → tool-w2y7d4w3.js} +2 -2
  308. package/dist/chunks/{filesystem-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  309. package/dist/chunks/{filesystem-rbg54dp1.js → tool-w76xjer3.js} +4 -4
  310. package/dist/chunks/{filesystem-5stch7mz.js → tool-w778kp5v.js} +12 -12
  311. package/dist/chunks/{filesystem-2kg89srt.js → tool-w79nt68w.js} +4 -4
  312. package/dist/chunks/{filesystem-wakvkjy4.js → tool-wakvkjy4.js} +1 -1
  313. package/dist/chunks/{filesystem-wd87259q.js → tool-wd87259q.js} +1 -1
  314. package/dist/chunks/{filesystem-kq6p0m63.js → tool-wftqf8ja.js} +32 -32
  315. package/dist/chunks/{filesystem-w687dnns.js → tool-wr3re1en.js} +4 -4
  316. package/dist/chunks/{filesystem-ec7kz664.js → tool-wsv88edq.js} +88 -88
  317. package/dist/chunks/{filesystem-50pr8z8j.js → tool-wvk4qw2j.js} +18 -18
  318. package/dist/chunks/{filesystem-45xfphr3.js → tool-wyfwz6yz.js} +4 -4
  319. package/dist/chunks/{filesystem-17vt7wwr.js → tool-wzpeeaw7.js} +30 -30
  320. package/dist/chunks/{filesystem-s063p80t.js → tool-x09zhxa3.js} +11 -11
  321. package/dist/chunks/{filesystem-55g2q5p5.js → tool-x150ncgg.js} +2 -2
  322. package/dist/chunks/{filesystem-e851vs6d.js → tool-x30nvd7p.js} +22 -22
  323. package/dist/chunks/{filesystem-7nqkf5r1.js → tool-x4mcewfn.js} +4 -4
  324. package/dist/chunks/{filesystem-0jm1xj0f.js → tool-xd94f5nm.js} +27 -27
  325. package/dist/chunks/{filesystem-skbh59st.js → tool-xdxfw927.js} +33 -33
  326. package/dist/chunks/{filesystem-5tm0nqws.js → tool-xfdma5f7.js} +21 -21
  327. package/dist/chunks/{filesystem-rsdvfnet.js → tool-xjf7t5qy.js} +11 -11
  328. package/dist/chunks/{filesystem-xjr6c8m4.js → tool-xxschbft.js} +4 -4
  329. package/dist/chunks/{filesystem-7j2v9es1.js → tool-y05fgwsx.js} +10 -10
  330. package/dist/chunks/{filesystem-s6v5r3nd.js → tool-y4864fy3.js} +15 -15
  331. package/dist/chunks/{filesystem-035wadpx.js → tool-y67jcnvv.js} +7 -7
  332. package/dist/chunks/{filesystem-ba9sjspj.js → tool-y98jxswp.js} +12 -12
  333. package/dist/chunks/{filesystem-7cwg0q3v.js → tool-y9h7p0q4.js} +13 -13
  334. package/dist/chunks/{filesystem-yb20nhc3.js → tool-yb20nhc3.js} +1 -1
  335. package/dist/chunks/{filesystem-eq6zysp6.js → tool-yk4ram99.js} +6 -6
  336. package/dist/chunks/{filesystem-qph9r1p4.js → tool-ypmz62e0.js} +13 -13
  337. package/dist/chunks/{filesystem-yr705xyq.js → tool-yr705xyq.js} +1 -1
  338. package/dist/chunks/{filesystem-gy4928xg.js → tool-yrv28rr1.js} +23 -23
  339. package/dist/chunks/{filesystem-hzz3fta6.js → tool-ysnehdgc.js} +12 -12
  340. package/dist/chunks/{filesystem-kbgs7tyr.js → tool-yts2a8qm.js} +4 -4
  341. package/dist/chunks/{filesystem-yvtc2x31.js → tool-yvtc2x31.js} +1 -1
  342. package/dist/chunks/{filesystem-25rr9byq.js → tool-yy48g898.js} +19 -19
  343. package/dist/chunks/{filesystem-z080rjh6.js → tool-z080rjh6.js} +1 -1
  344. package/dist/chunks/{filesystem-ar2hvv65.js → tool-z5c1r2f6.js} +26 -26
  345. package/dist/chunks/{filesystem-j9nxzz3g.js → tool-ze75qvmd.js} +3 -3
  346. package/dist/chunks/{filesystem-vq0y6bse.js → tool-zgpeczg8.js} +11 -11
  347. package/dist/chunks/{filesystem-xxphw40g.js → tool-zq96bstz.js} +8 -8
  348. package/dist/chunks/{filesystem-8bfbfs0m.js → tool-zr0eec27.js} +20 -20
  349. package/dist/chunks/{filesystem-jtgc3vqj.js → tool-zw5t7e3y.js} +27 -27
  350. package/dist/codemode/catalog.js +1 -1
  351. package/dist/codemode/execution.js +5 -5
  352. package/dist/codemode/fetch.js +148 -148
  353. package/dist/codemode/instructions.js +9 -9
  354. package/dist/codemode/tool.js +155 -155
  355. package/dist/command.js +94 -94
  356. package/dist/config/discovery.js +97 -97
  357. package/dist/config/integration.js +3 -3
  358. package/dist/config/managed.js +1 -1
  359. package/dist/config/markdown.js +1 -1
  360. package/dist/config/normalize.js +112 -112
  361. package/dist/config/plugin/agent.js +133 -133
  362. package/dist/config/plugin/command.js +240 -240
  363. package/dist/config/plugin/compaction.js +173 -173
  364. package/dist/config/plugin/compatibility.js +153 -153
  365. package/dist/config/plugin/entry-observer.js +1 -1
  366. package/dist/config/plugin/formatter.js +131 -131
  367. package/dist/config/plugin/image.js +130 -130
  368. package/dist/config/plugin/instruction.js +130 -130
  369. package/dist/config/plugin/location-watcher.js +130 -130
  370. package/dist/config/plugin/mcp.js +145 -145
  371. package/dist/config/plugin/policy.js +130 -130
  372. package/dist/config/plugin/provider.js +130 -130
  373. package/dist/config/plugin/reference.js +132 -132
  374. package/dist/config/plugin/shell.js +132 -132
  375. package/dist/config/plugin/skill-file.js +149 -149
  376. package/dist/config/plugin/skill-scan.js +1 -1
  377. package/dist/config/plugin/skill.js +154 -154
  378. package/dist/config/plugin/snapshot.js +130 -130
  379. package/dist/config/plugin/source.js +134 -134
  380. package/dist/config/plugin/tool-output.js +131 -131
  381. package/dist/config/plugin/websearch.js +131 -131
  382. package/dist/config/plugin/worktree.js +132 -132
  383. package/dist/config/variable.js +1 -1
  384. package/dist/config/watch.js +1 -1
  385. package/dist/config.js +133 -133
  386. package/dist/console-access.js +1 -1
  387. package/dist/credential/sql.js +2 -2
  388. package/dist/credential.js +94 -94
  389. package/dist/database/batch.js +1 -1
  390. package/dist/database/database.js +77 -77
  391. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  392. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  393. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  394. package/dist/database/drizzle/index.js +13 -13
  395. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  396. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  397. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  398. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  399. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  400. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  401. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  402. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  403. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  404. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  405. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  406. package/dist/database/drizzle.js +14 -14
  407. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  408. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  409. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  410. package/dist/database/migration/20260225215848_workspace.js +1 -1
  411. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  412. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  413. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  414. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  415. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  416. package/dist/database/migration/20260323234822_events.js +1 -1
  417. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  418. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  419. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  420. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  421. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  422. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  423. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  424. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  425. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  426. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  427. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  428. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  429. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  430. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  431. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  432. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  433. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  434. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  435. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  436. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  437. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  438. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  439. package/dist/database/migration/20260611035744_credential.js +1 -1
  440. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  441. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  442. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  443. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  444. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  445. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  446. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  447. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  448. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  449. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  450. package/dist/database/migration/20260812213948_worktree.js +1 -1
  451. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  452. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  453. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  454. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  455. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  456. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  457. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  458. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  459. package/dist/database/migration/20261025123711_blob.js +1 -1
  460. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  461. package/dist/database/migration/20261026223005_schedule.js +1 -1
  462. package/dist/database/migration/20261029002625_session_part.js +1 -1
  463. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  464. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  465. package/dist/database/migration/20261030054400_job.js +1 -1
  466. package/dist/database/migration.gen.js +60 -60
  467. package/dist/database/migration.js +76 -76
  468. package/dist/database/path.js +2 -2
  469. package/dist/database/schema.gen.js +1 -1
  470. package/dist/database/schema.sql.js +1 -1
  471. package/dist/database/v1-migration.bun.js +100 -100
  472. package/dist/database/v1-migration.js +1 -1
  473. package/dist/effect/app-node-builder.js +440 -440
  474. package/dist/effect/app-node-platform.js +2 -2
  475. package/dist/effect/keyed-mutex.js +1 -1
  476. package/dist/effect/websocket-constructor.js +1 -1
  477. package/dist/environment/driver.js +1 -1
  478. package/dist/environment/environment.js +105 -105
  479. package/dist/environment/exec-defaults.js +2 -2
  480. package/dist/environment/files.js +1 -1
  481. package/dist/environment/index.js +109 -109
  482. package/dist/environment/local.js +2 -2
  483. package/dist/environment/memory.js +2 -2
  484. package/dist/environment/unavailable.js +3 -3
  485. package/dist/event/sql.js +1 -1
  486. package/dist/event-logger.js +85 -85
  487. package/dist/file-access.js +160 -160
  488. package/dist/file-mutation.js +108 -108
  489. package/dist/file-retention.js +1 -1
  490. package/dist/file-write.js +164 -164
  491. package/dist/filesystem/fff.bun.js +2 -2
  492. package/dist/filesystem/fff.js +1 -1
  493. package/dist/filesystem/fff.node.js +2 -2
  494. package/dist/filesystem/fff.workerd.js +2 -2
  495. package/dist/filesystem/file-watch.js +91 -91
  496. package/dist/filesystem/location-watcher-policy.js +6 -6
  497. package/dist/filesystem/location-watcher.js +247 -247
  498. package/dist/filesystem/protected.js +3 -3
  499. package/dist/filesystem/search.js +113 -113
  500. package/dist/filesystem/watcher-binding.js +1 -1
  501. package/dist/filesystem/watcher.js +9 -9
  502. package/dist/filesystem.js +118 -118
  503. package/dist/flag.js +129 -129
  504. package/dist/form.js +93 -93
  505. package/dist/formatter/builtins.js +4 -4
  506. package/dist/formatter.js +100 -100
  507. package/dist/generate.js +120 -120
  508. package/dist/git.js +11 -11
  509. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  510. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  511. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  512. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  513. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  514. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  515. package/dist/github-copilot/copilot-provider.js +17 -17
  516. package/dist/github-copilot/models.js +104 -104
  517. package/dist/github-copilot/openai-compatible-error.js +1 -1
  518. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  519. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  520. package/dist/github-copilot/responses/openai-error.js +1 -1
  521. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  522. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  523. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  524. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  525. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  526. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  527. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  528. package/dist/image/notice.js +3 -3
  529. package/dist/image/photon-normalize.js +1 -1
  530. package/dist/image/photon-worker.js +1 -1
  531. package/dist/image/photon.js +4 -4
  532. package/dist/image.js +6 -6
  533. package/dist/instance/service.js +5 -5
  534. package/dist/instance.js +431 -431
  535. package/dist/instruction-discovery.js +97 -97
  536. package/dist/instructions/builtins.js +100 -100
  537. package/dist/instructions/index.js +5 -5
  538. package/dist/integration/connection.js +3 -3
  539. package/dist/integration.js +98 -98
  540. package/dist/job/list.js +7 -7
  541. package/dist/job/recovery.js +2 -2
  542. package/dist/job/sql.js +2 -2
  543. package/dist/job.js +90 -90
  544. package/dist/kv/sql.js +2 -2
  545. package/dist/kv.js +84 -84
  546. package/dist/location-activity.js +185 -185
  547. package/dist/location-lifecycle.js +153 -153
  548. package/dist/location-service-map.js +99 -99
  549. package/dist/location-services.js +428 -428
  550. package/dist/location.js +98 -98
  551. package/dist/managed-policy.js +3 -3
  552. package/dist/mcp/client.js +158 -158
  553. package/dist/mcp/connection.js +104 -104
  554. package/dist/mcp/index.js +126 -126
  555. package/dist/mcp/instructions.js +187 -187
  556. package/dist/mcp/oauth.js +89 -89
  557. package/dist/mcp/pool.js +112 -112
  558. package/dist/mcp/socket-client.js +1 -1
  559. package/dist/mcp/stdio.js +157 -157
  560. package/dist/mime.js +1 -1
  561. package/dist/modal/models.js +104 -104
  562. package/dist/model-resolver.js +112 -112
  563. package/dist/model-retry.js +1 -1
  564. package/dist/model.js +113 -113
  565. package/dist/models-dev/v1.js +1 -1
  566. package/dist/models-dev.js +113 -113
  567. package/dist/oauth/page.js +1 -1
  568. package/dist/permission/saved.js +93 -93
  569. package/dist/permission/sql.js +5 -5
  570. package/dist/permission.js +156 -156
  571. package/dist/persistent-pty/binary.bun.js +1 -1
  572. package/dist/persistent-pty/daemon.js +1 -1
  573. package/dist/persistent-pty/index.js +101 -101
  574. package/dist/persistent-pty/pty-binding.js +1 -1
  575. package/dist/persistent-pty.js +86 -86
  576. package/dist/plugin/agent.js +87 -87
  577. package/dist/plugin/command.js +119 -119
  578. package/dist/plugin/goal.js +3 -3
  579. package/dist/plugin/hooks.js +5 -5
  580. package/dist/plugin/host.js +244 -244
  581. package/dist/plugin/identity.js +5 -5
  582. package/dist/plugin/instance.js +5 -5
  583. package/dist/plugin/internal.js +407 -407
  584. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  585. package/dist/plugin/models-dev.js +110 -110
  586. package/dist/plugin/module.js +129 -129
  587. package/dist/plugin/optimize.js +2 -2
  588. package/dist/plugin/plan.js +149 -149
  589. package/dist/plugin/promise.js +1 -1
  590. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  591. package/dist/plugin/provider/azure.js +133 -133
  592. package/dist/plugin/provider/cerebras.js +1 -1
  593. package/dist/plugin/provider/chatgpt.js +133 -133
  594. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  595. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  596. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  597. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  598. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  599. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  600. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  601. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  602. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  603. package/dist/plugin/provider/claude-agent/index.js +148 -148
  604. package/dist/plugin/provider/claude-agent/instructions.js +114 -114
  605. package/dist/plugin/provider/claude-agent/integration.js +115 -115
  606. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
  607. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  608. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  609. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  610. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  611. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  612. package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
  613. package/dist/plugin/provider/claude-agent/provider.js +110 -110
  614. package/dist/plugin/provider/claude-agent/session.js +110 -110
  615. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  616. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  617. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  618. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  619. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  620. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  621. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  622. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  623. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  624. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  625. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  626. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  627. package/dist/plugin/provider/configured.js +126 -126
  628. package/dist/plugin/provider/credential-settings.js +88 -88
  629. package/dist/plugin/provider/databricks.js +1 -1
  630. package/dist/plugin/provider/digitalocean.js +109 -109
  631. package/dist/plugin/provider/dynamic.js +2 -2
  632. package/dist/plugin/provider/github-copilot.js +111 -111
  633. package/dist/plugin/provider/gitlab.js +109 -109
  634. package/dist/plugin/provider/google-vertex.js +127 -127
  635. package/dist/plugin/provider/kilo.js +1 -1
  636. package/dist/plugin/provider/llmgateway.js +89 -89
  637. package/dist/plugin/provider/lmstudio.js +138 -138
  638. package/dist/plugin/provider/local.js +137 -137
  639. package/dist/plugin/provider/modal.js +108 -108
  640. package/dist/plugin/provider/neon.js +1 -1
  641. package/dist/plugin/provider/nvidia.js +1 -1
  642. package/dist/plugin/provider/ollama.js +138 -138
  643. package/dist/plugin/provider/openai-context-caps.js +106 -106
  644. package/dist/plugin/provider/openai.js +133 -133
  645. package/dist/plugin/provider/opencode.js +159 -159
  646. package/dist/plugin/provider/openrouter.js +104 -104
  647. package/dist/plugin/provider/poe.js +90 -90
  648. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  649. package/dist/plugin/provider/refresh.js +87 -87
  650. package/dist/plugin/provider/sap-ai-core.js +104 -104
  651. package/dist/plugin/provider/sdk-factory.js +1 -1
  652. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  653. package/dist/plugin/provider/vllm.js +140 -140
  654. package/dist/plugin/provider/xai.js +104 -104
  655. package/dist/plugin/provider/zenmux.js +1 -1
  656. package/dist/plugin/provider.js +237 -237
  657. package/dist/plugin/sdk.js +87 -87
  658. package/dist/plugin/service.js +3 -3
  659. package/dist/plugin/skill.js +152 -152
  660. package/dist/plugin/source-directory.js +1 -1
  661. package/dist/plugin/supervisor.js +415 -415
  662. package/dist/plugin/tool-input-repair.js +4 -4
  663. package/dist/plugin/update.js +2 -2
  664. package/dist/plugin/vcs/git.js +99 -99
  665. package/dist/plugin/vcs/hg.js +99 -99
  666. package/dist/plugin/verbosity.js +106 -106
  667. package/dist/plugin/warming.js +130 -130
  668. package/dist/plugin/websearch/exa.js +6 -6
  669. package/dist/plugin/websearch/firecrawl.js +9 -9
  670. package/dist/plugin/websearch/index.js +10 -10
  671. package/dist/plugin/websearch/mcp.js +6 -6
  672. package/dist/plugin/websearch/parallel.js +9 -9
  673. package/dist/plugin/websearch/provider.js +3 -3
  674. package/dist/plugin/websearch/tavily.js +7 -7
  675. package/dist/plugin/websearch/tinyfish.js +9 -9
  676. package/dist/plugin.js +249 -249
  677. package/dist/project/icon.js +5 -5
  678. package/dist/project/schema.js +2 -2
  679. package/dist/project/sql.js +4 -4
  680. package/dist/project.js +97 -97
  681. package/dist/provider.js +112 -112
  682. package/dist/pty/protocol.js +1 -1
  683. package/dist/pty/ticket.js +1 -1
  684. package/dist/pty.js +113 -113
  685. package/dist/reference/instructions.js +99 -99
  686. package/dist/reference.js +103 -103
  687. package/dist/repository-cache.js +93 -93
  688. package/dist/repository.js +1 -1
  689. package/dist/ripgrep/binary.js +2 -2
  690. package/dist/ripgrep.js +111 -111
  691. package/dist/rpc.js +97 -97
  692. package/dist/schedule/check.js +249 -249
  693. package/dist/schedule/sql.js +6 -6
  694. package/dist/schedule.js +255 -255
  695. package/dist/schema.js +1 -1
  696. package/dist/session/affinity.js +1 -1
  697. package/dist/session/background.js +1 -1
  698. package/dist/session/blob.js +134 -134
  699. package/dist/session/command.js +85 -85
  700. package/dist/session/compaction.js +175 -175
  701. package/dist/session/context.js +205 -205
  702. package/dist/session/diff.js +101 -101
  703. package/dist/session/environment.js +5 -5
  704. package/dist/session/error.js +5 -5
  705. package/dist/session/event.js +1 -1
  706. package/dist/session/execution/restart.js +254 -254
  707. package/dist/session/execution.js +169 -169
  708. package/dist/session/generate.js +204 -204
  709. package/dist/session/history.js +139 -139
  710. package/dist/session/inbox.js +148 -148
  711. package/dist/session/info.js +3 -3
  712. package/dist/session/instruction-entry.js +90 -90
  713. package/dist/session/instruction-state.js +8 -8
  714. package/dist/session/instructions.js +146 -146
  715. package/dist/session/message-updater.js +2 -2
  716. package/dist/session/message.js +1 -1
  717. package/dist/session/model-request.js +171 -171
  718. package/dist/session/model-transport.js +9 -9
  719. package/dist/session/move.js +171 -171
  720. package/dist/session/projector.js +146 -146
  721. package/dist/session/prompt.js +151 -151
  722. package/dist/session/recent-text.js +1 -1
  723. package/dist/session/revert.js +142 -142
  724. package/dist/session/run-coordinator.js +1 -1
  725. package/dist/session/runner/index.js +3 -3
  726. package/dist/session/runner/llm.js +256 -256
  727. package/dist/session/runner/max-steps.js +1 -1
  728. package/dist/session/runner/model.js +113 -113
  729. package/dist/session/runner/publish-llm-event.js +153 -153
  730. package/dist/session/runner/retry.js +5 -5
  731. package/dist/session/runner/step.js +164 -164
  732. package/dist/session/runner/to-llm-message.js +140 -140
  733. package/dist/session/schema.js +5 -5
  734. package/dist/session/session.js +186 -186
  735. package/dist/session/shell.js +145 -145
  736. package/dist/session/skill.js +150 -150
  737. package/dist/session/sql.js +5 -5
  738. package/dist/session/stats.js +85 -85
  739. package/dist/session/store.js +145 -145
  740. package/dist/session/stored.js +4 -4
  741. package/dist/session/subagent-completion.js +3 -3
  742. package/dist/session/subagent-job.js +237 -237
  743. package/dist/session/system-prompt.js +5 -5
  744. package/dist/session/title.js +203 -203
  745. package/dist/session/to-session-error.js +152 -152
  746. package/dist/session/transfer.js +248 -248
  747. package/dist/session/usage.js +3 -3
  748. package/dist/session.js +243 -243
  749. package/dist/shared-cache.js +5 -5
  750. package/dist/shell/parse.js +6 -6
  751. package/dist/shell/result.js +1 -1
  752. package/dist/shell/scan.js +1 -1
  753. package/dist/shell/select.js +13 -13
  754. package/dist/shell.js +147 -147
  755. package/dist/skill/discovery.js +2 -2
  756. package/dist/skill/instructions.js +154 -154
  757. package/dist/skill.js +161 -161
  758. package/dist/snapshot.js +104 -104
  759. package/dist/state.js +1 -1
  760. package/dist/tool/html-markdown.js +1 -1
  761. package/dist/tool/http-body.js +1 -1
  762. package/dist/tool/mcp.js +186 -186
  763. package/dist/tool/plugin/artifact.js +236 -236
  764. package/dist/tool/plugin/edit.js +170 -170
  765. package/dist/tool/plugin/file-diff.js +1 -1
  766. package/dist/tool/plugin/glob.js +170 -170
  767. package/dist/tool/plugin/grep.js +173 -173
  768. package/dist/tool/plugin/image-generate.js +247 -247
  769. package/dist/tool/plugin/mcp-resource.js +169 -169
  770. package/dist/tool/plugin/opencode.js +166 -166
  771. package/dist/tool/plugin/patch.js +171 -171
  772. package/dist/tool/plugin/question.js +149 -149
  773. package/dist/tool/plugin/read.js +175 -175
  774. package/dist/tool/plugin/schedule.js +255 -255
  775. package/dist/tool/plugin/shell.js +243 -243
  776. package/dist/tool/plugin/skill.js +158 -158
  777. package/dist/tool/plugin/subagent.js +244 -244
  778. package/dist/tool/plugin/todo.js +156 -156
  779. package/dist/tool/plugin/webfetch.js +160 -160
  780. package/dist/tool/plugin/websearch.js +158 -158
  781. package/dist/tool/plugin/write.js +171 -171
  782. package/dist/tool/read-filesystem.js +114 -114
  783. package/dist/tool/runtime.js +1 -1
  784. package/dist/tool/search.js +109 -109
  785. package/dist/tool-output.js +7 -7
  786. package/dist/tool.js +165 -165
  787. package/dist/usage-limits.js +98 -98
  788. package/dist/util/error-summary.js +1 -1
  789. package/dist/util/git-executable.js +3 -3
  790. package/dist/util/lazy.js +1 -1
  791. package/dist/util/slug.js +1 -1
  792. package/dist/util/token.js +1 -1
  793. package/dist/util/which.js +1 -1
  794. package/dist/util/wildcard.js +1 -1
  795. package/dist/v1/config/agent.js +5 -5
  796. package/dist/v1/config/command.js +3 -3
  797. package/dist/v1/config/mcp.js +4 -4
  798. package/dist/v1/config/migrate.js +105 -105
  799. package/dist/v1/config/permission.js +3 -3
  800. package/dist/v1/config/plugin.js +3 -3
  801. package/dist/v1/config/provider-options.js +1 -1
  802. package/dist/v1/config/provider.js +4 -4
  803. package/dist/variant.js +104 -104
  804. package/dist/vcs/patch.js +1 -1
  805. package/dist/vcs.js +100 -100
  806. package/dist/voice.js +101 -101
  807. package/dist/websearch.js +101 -101
  808. package/dist/wellknown/plugin.js +87 -87
  809. package/dist/wellknown.js +92 -92
  810. package/dist/workspace/driver.js +7 -7
  811. package/dist/workspace/sql.js +1 -1
  812. package/dist/workspace.js +93 -93
  813. package/dist/worktree/directory.js +2 -2
  814. package/dist/worktree/git.js +9 -9
  815. package/dist/worktree/sql.js +5 -5
  816. package/dist/worktree/strategies.js +102 -102
  817. package/dist/worktree.js +111 -111
  818. package/package.json +8 -8
  819. package/dist/chunks/filesystem-00ve6mdn.js +0 -18
  820. package/dist/chunks/filesystem-3r13rg9x.js +0 -571
  821. package/dist/chunks/filesystem-hcv8rxnm.js +0 -265
  822. package/dist/chunks/filesystem-mf97tfts.js +0 -26
  823. package/dist/chunks/filesystem-qwz12hkq.js +0 -16
  824. /package/dist/chunks/{filesystem-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  825. /package/dist/chunks/{filesystem-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  826. /package/dist/chunks/{filesystem-108x4f4w.js → tool-108x4f4w.js} +0 -0
  827. /package/dist/chunks/{filesystem-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  828. /package/dist/chunks/{filesystem-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  829. /package/dist/chunks/{filesystem-1kah00gy.js → tool-1kah00gy.js} +0 -0
  830. /package/dist/chunks/{filesystem-24dcb14g.js → tool-24dcb14g.js} +0 -0
  831. /package/dist/chunks/{filesystem-2710q6r3.js → tool-2710q6r3.js} +0 -0
  832. /package/dist/chunks/{filesystem-2bv980vf.js → tool-2bv980vf.js} +0 -0
  833. /package/dist/chunks/{filesystem-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  834. /package/dist/chunks/{filesystem-359p4xyc.js → tool-359p4xyc.js} +0 -0
  835. /package/dist/chunks/{filesystem-3af0jn4w.js → tool-3af0jn4w.js} +0 -0
  836. /package/dist/chunks/{filesystem-3asan66x.js → tool-3asan66x.js} +0 -0
  837. /package/dist/chunks/{filesystem-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  838. /package/dist/chunks/{filesystem-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  839. /package/dist/chunks/{filesystem-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  840. /package/dist/chunks/{filesystem-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  841. /package/dist/chunks/{filesystem-4qk9sjk2.js → tool-4qk9sjk2.js} +0 -0
  842. /package/dist/chunks/{filesystem-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  843. /package/dist/chunks/{filesystem-53557ph1.js → tool-53557ph1.js} +0 -0
  844. /package/dist/chunks/{filesystem-550bvhaj.js → tool-550bvhaj.js} +0 -0
  845. /package/dist/chunks/{filesystem-5w3e23ze.js → tool-5w3e23ze.js} +0 -0
  846. /package/dist/chunks/{filesystem-6agm2x70.js → tool-6agm2x70.js} +0 -0
  847. /package/dist/chunks/{filesystem-6prwharc.js → tool-6prwharc.js} +0 -0
  848. /package/dist/chunks/{filesystem-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
  849. /package/dist/chunks/{filesystem-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  850. /package/dist/chunks/{filesystem-7m9af43g.js → tool-7m9af43g.js} +0 -0
  851. /package/dist/chunks/{filesystem-822emrt2.js → tool-822emrt2.js} +0 -0
  852. /package/dist/chunks/{filesystem-84wd9syh.js → tool-84wd9syh.js} +0 -0
  853. /package/dist/chunks/{filesystem-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  854. /package/dist/chunks/{filesystem-8n3pysct.js → tool-8n3pysct.js} +0 -0
  855. /package/dist/chunks/{filesystem-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  856. /package/dist/chunks/{filesystem-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  857. /package/dist/chunks/{filesystem-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  858. /package/dist/chunks/{filesystem-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  859. /package/dist/chunks/{filesystem-af5trqkr.js → tool-af5trqkr.js} +0 -0
  860. /package/dist/chunks/{filesystem-afrmfg78.js → tool-afrmfg78.js} +0 -0
  861. /package/dist/chunks/{filesystem-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  862. /package/dist/chunks/{filesystem-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  863. /package/dist/chunks/{filesystem-beh6qq61.js → tool-beh6qq61.js} +0 -0
  864. /package/dist/chunks/{filesystem-bhmrqjy3.js → tool-bhmrqjy3.js} +0 -0
  865. /package/dist/chunks/{filesystem-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  866. /package/dist/chunks/{filesystem-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  867. /package/dist/chunks/{filesystem-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  868. /package/dist/chunks/{filesystem-cqv5kn06.js → tool-cqv5kn06.js} +0 -0
  869. /package/dist/chunks/{filesystem-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  870. /package/dist/chunks/{filesystem-d9fn303g.js → tool-d9fn303g.js} +0 -0
  871. /package/dist/chunks/{filesystem-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  872. /package/dist/chunks/{filesystem-dap0rakb.js → tool-dap0rakb.js} +0 -0
  873. /package/dist/chunks/{filesystem-df08tz66.js → tool-df08tz66.js} +0 -0
  874. /package/dist/chunks/{filesystem-dy18nga0.js → tool-dy18nga0.js} +0 -0
  875. /package/dist/chunks/{filesystem-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  876. /package/dist/chunks/{filesystem-ean2d8b5.js → tool-ean2d8b5.js} +0 -0
  877. /package/dist/chunks/{filesystem-ec1grn59.js → tool-ec1grn59.js} +0 -0
  878. /package/dist/chunks/{filesystem-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  879. /package/dist/chunks/{filesystem-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  880. /package/dist/chunks/{filesystem-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  881. /package/dist/chunks/{filesystem-faypxj3z.js → tool-faypxj3z.js} +0 -0
  882. /package/dist/chunks/{filesystem-fd410y7t.js → tool-fd410y7t.js} +0 -0
  883. /package/dist/chunks/{filesystem-fkpq3x5p.js → tool-fkpq3x5p.js} +0 -0
  884. /package/dist/chunks/{filesystem-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  885. /package/dist/chunks/{filesystem-g86h250q.js → tool-g86h250q.js} +0 -0
  886. /package/dist/chunks/{filesystem-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  887. /package/dist/chunks/{filesystem-gftt206x.js → tool-gftt206x.js} +0 -0
  888. /package/dist/chunks/{filesystem-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
  889. /package/dist/chunks/{filesystem-hk9envan.js → tool-hk9envan.js} +0 -0
  890. /package/dist/chunks/{filesystem-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  891. /package/dist/chunks/{filesystem-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  892. /package/dist/chunks/{filesystem-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  893. /package/dist/chunks/{filesystem-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  894. /package/dist/chunks/{filesystem-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  895. /package/dist/chunks/{filesystem-jwr30sdr.js → tool-jwr30sdr.js} +0 -0
  896. /package/dist/chunks/{filesystem-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  897. /package/dist/chunks/{filesystem-m18g726c.js → tool-m18g726c.js} +0 -0
  898. /package/dist/chunks/{filesystem-mp448xyj.js → tool-mp448xyj.js} +0 -0
  899. /package/dist/chunks/{filesystem-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  900. /package/dist/chunks/{filesystem-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  901. /package/dist/chunks/{filesystem-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  902. /package/dist/chunks/{filesystem-nh4v3znn.js → tool-nh4v3znn.js} +0 -0
  903. /package/dist/chunks/{filesystem-njntx4h6.js → tool-njntx4h6.js} +0 -0
  904. /package/dist/chunks/{filesystem-p71gwv9c.js → tool-p71gwv9c.js} +0 -0
  905. /package/dist/chunks/{filesystem-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  906. /package/dist/chunks/{filesystem-q74kybfr.js → tool-q74kybfr.js} +0 -0
  907. /package/dist/chunks/{filesystem-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  908. /package/dist/chunks/{filesystem-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  909. /package/dist/chunks/{filesystem-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  910. /package/dist/chunks/{filesystem-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  911. /package/dist/chunks/{filesystem-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  912. /package/dist/chunks/{filesystem-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  913. /package/dist/chunks/{filesystem-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  914. /package/dist/chunks/{filesystem-syrav9an.js → tool-syrav9an.js} +0 -0
  915. /package/dist/chunks/{filesystem-t03h4f5z.js → tool-t03h4f5z.js} +0 -0
  916. /package/dist/chunks/{filesystem-ty7weeps.js → tool-ty7weeps.js} +0 -0
  917. /package/dist/chunks/{filesystem-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
  918. /package/dist/chunks/{filesystem-vtarvj67.js → tool-vtarvj67.js} +0 -0
  919. /package/dist/chunks/{filesystem-w803qqfp.js → tool-w803qqfp.js} +0 -0
  920. /package/dist/chunks/{filesystem-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  921. /package/dist/chunks/{filesystem-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  922. /package/dist/chunks/{filesystem-wtztk69x.js → tool-wtztk69x.js} +0 -0
  923. /package/dist/chunks/{filesystem-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  924. /package/dist/chunks/{filesystem-x4th4bpe.js → tool-x4th4bpe.js} +0 -0
  925. /package/dist/chunks/{filesystem-x61499pn.js → tool-x61499pn.js} +0 -0
  926. /package/dist/chunks/{filesystem-y44na4kk.js → tool-y44na4kk.js} +0 -0
  927. /package/dist/chunks/{filesystem-y8f7s663.js → tool-y8f7s663.js} +0 -0
  928. /package/dist/chunks/{filesystem-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  929. /package/dist/chunks/{filesystem-z0h12gs8.js → tool-z0h12gs8.js} +0 -0
  930. /package/dist/chunks/{filesystem-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
  931. /package/dist/chunks/{filesystem-z9919s4g.js → tool-z9919s4g.js} +0 -0
  932. /package/dist/chunks/{filesystem-zxpyjp51.js → tool-zxpyjp51.js} +0 -0
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  onSwitch2
3
- } from "./filesystem-dpj6gsfx.js";
3
+ } from "./tool-et9cjmd7.js";
4
4
  import {
5
5
  isLoggedIn2
6
- } from "./filesystem-2p60zmnr.js";
6
+ } from "./tool-2p60zmnr.js";
7
7
  import {
8
8
  ID3
9
- } from "./filesystem-0tfj7kb5.js";
9
+ } from "./tool-fmdffz6v.js";
10
10
  import {
11
11
  __export
12
- } from "./filesystem-9rqn6x4v.js";
12
+ } from "./tool-9rqn6x4v.js";
13
13
 
14
14
  // src/plugin/provider/claude-agent/integration.ts
15
15
  var exports_integration = {};
16
16
  __export(exports_integration, {
17
17
  ClaudeIntegration: () => exports_integration,
18
18
  METHOD_ID: () => METHOD_ID2,
19
- register: () => register6
19
+ register: () => register5
20
20
  });
21
21
  import { Effect, Stream, SubscriptionRef } from "effect";
22
22
  var METHOD_ID2 = "claude-login";
23
- var register6 = Effect.fn("ClaudeIntegration.register")(function* (ctx, status) {
23
+ var register5 = Effect.fn("ClaudeIntegration.register")(function* (ctx, status) {
24
24
  yield* ctx.integration.transform((editor) => {
25
25
  editor.update(ID3, (integration) => {
26
26
  integration.name = "Claude Agent";
@@ -58,4 +58,4 @@ function problem(state) {
58
58
  return;
59
59
  }
60
60
 
61
- export { METHOD_ID2, register6, exports_integration };
61
+ export { METHOD_ID2, register5, exports_integration };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  which2
3
- } from "./filesystem-x4th4bpe.js";
3
+ } from "./tool-x4th4bpe.js";
4
4
  import {
5
5
  load3
6
- } from "./filesystem-tr8x705m.js";
6
+ } from "./tool-tr8x705m.js";
7
7
  import {
8
8
  create2
9
- } from "./filesystem-44pmzq9c.js";
9
+ } from "./tool-44pmzq9c.js";
10
10
  import {
11
11
  __export
12
- } from "./filesystem-9rqn6x4v.js";
12
+ } from "./tool-9rqn6x4v.js";
13
13
 
14
14
  // src/plugin/provider/claude-agent/claude/io.ts
15
15
  var exports_io = {};
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  useragent2
3
- } from "./filesystem-qa3zm6vn.js";
3
+ } from "./tool-tjakpvzb.js";
4
4
  import {
5
- ID17,
6
- Service75
7
- } from "./filesystem-hx5nh5s3.js";
5
+ ID20,
6
+ Service87
7
+ } from "./tool-r1zdtk3v.js";
8
8
  import {
9
9
  key3
10
- } from "./filesystem-fcrd7kek.js";
10
+ } from "./tool-n320gsn2.js";
11
11
  import {
12
12
  MethodID2
13
- } from "./filesystem-3ag897fb.js";
13
+ } from "./tool-b0d5d3xj.js";
14
14
  import {
15
15
  which2
16
- } from "./filesystem-x4th4bpe.js";
16
+ } from "./tool-x4th4bpe.js";
17
17
  import {
18
- ID15,
19
- Service73
20
- } from "./filesystem-skbh59st.js";
18
+ ID17,
19
+ Service84
20
+ } from "./tool-xdxfw927.js";
21
21
  import {
22
- ID14
23
- } from "./filesystem-bh17vazq.js";
22
+ ID16
23
+ } from "./tool-edt06h0g.js";
24
24
  import {
25
25
  interval2,
26
- Service90,
26
+ Service78,
27
27
  fingerprint2
28
- } from "./filesystem-x7e420mc.js";
28
+ } from "./tool-pr7b356r.js";
29
29
  import {
30
30
  configuredSettings2
31
- } from "./filesystem-rxdvn915.js";
31
+ } from "./tool-vwdemqyb.js";
32
32
  import {
33
33
  onSwitch2,
34
34
  switched2
35
- } from "./filesystem-dpj6gsfx.js";
35
+ } from "./tool-et9cjmd7.js";
36
36
  import {
37
37
  activeCredential2
38
- } from "./filesystem-2t6zpmzs.js";
38
+ } from "./tool-hhegnqrw.js";
39
39
 
40
40
  // src/plugin/provider/azure.ts
41
41
  import { Clock, Effect, Equal, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -70,18 +70,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
70
70
  }));
71
71
  var ResourceQuery = Schema.Struct({ query: Schema.String });
72
72
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
73
- function make17(endpoints = {
73
+ function make20(endpoints = {
74
74
  resource: (name) => `https://${name}.openai.azure.com/openai`,
75
75
  management: "https://management.azure.com"
76
76
  }) {
77
77
  return define({
78
78
  id: "opencode.provider.azure",
79
79
  effect: Effect.fn(function* (ctx) {
80
- const configured = yield* configuredSettings2(ID15.azure);
80
+ const configured = yield* configuredSettings2(ID17.azure);
81
81
  const processes = yield* AppProcess.Service;
82
- const credentials = yield* Service75;
83
- const providers = yield* Service73;
84
- const cache = yield* Service90;
82
+ const credentials = yield* Service87;
83
+ const providers = yield* Service84;
84
+ const cache = yield* Service78;
85
85
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
86
86
  const tokens = new Map;
87
87
  const resourceIDs = new Map;
@@ -107,11 +107,11 @@ function make17(endpoints = {
107
107
  const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
108
108
  yield* ctx.integration.transform((editor) => {
109
109
  editor.method.update({
110
- integrationID: ID15.azure,
110
+ integrationID: ID17.azure,
111
111
  method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
112
112
  });
113
113
  editor.method.update({
114
- integrationID: ID15.azure,
114
+ integrationID: ID17.azure,
115
115
  method: {
116
116
  type: "key",
117
117
  label: "API key",
@@ -129,7 +129,7 @@ function make17(endpoints = {
129
129
  if (!available)
130
130
  return;
131
131
  editor.method.update({
132
- integrationID: ID15.azure,
132
+ integrationID: ID17.azure,
133
133
  method: {
134
134
  id: methodID,
135
135
  type: "external",
@@ -149,8 +149,8 @@ function make17(endpoints = {
149
149
  });
150
150
  });
151
151
  const load = Effect.fn("AzurePlugin.load")(function* () {
152
- const connection = yield* ctx.integration.connection.active(ID15.azure);
153
- const stored = connection?.type === "credential" ? yield* credentials.get(ID17.make(connection.id)) : undefined;
152
+ const connection = yield* ctx.integration.connection.active(ID17.azure);
153
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID20.make(connection.id)) : undefined;
154
154
  return { connection, resource: credentialResource(stored?.value) };
155
155
  });
156
156
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -189,7 +189,7 @@ function make17(endpoints = {
189
189
  }));
190
190
  const discover = Effect.fn("AzurePlugin.discover")(function* (options) {
191
191
  const connection = loaded.connection;
192
- const settings = (yield* providers.get(ID15.azure))?.settings;
192
+ const settings = (yield* providers.get(ID17.azure))?.settings;
193
193
  const name = loaded.resource ?? resolveResourceName(settings);
194
194
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
195
195
  if (loaded.connection !== connection)
@@ -219,11 +219,11 @@ function make17(endpoints = {
219
219
  });
220
220
  const apply = (next) => next ? loading.withPermit(publish(next.connection, next.found)).pipe(Effect.uninterruptible) : Effect.void;
221
221
  const publish = Effect.fn("AzurePlugin.publish")(function* (connection, found) {
222
- if (loaded.connection !== connection || key3(connection) !== key3(yield* ctx.integration.connection.active(ID15.azure)))
222
+ if (loaded.connection !== connection || key3(connection) !== key3(yield* ctx.integration.connection.active(ID17.azure)))
223
223
  return;
224
224
  if (Equal.equals(found, loaded.deployments))
225
225
  return;
226
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID15.azure)?.models.keys() ?? [], (id) => [
226
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID17.azure)?.models.keys() ?? [], (id) => [
227
227
  id.toLowerCase(),
228
228
  id
229
229
  ]));
@@ -236,7 +236,7 @@ function make17(endpoints = {
236
236
  yield* ctx.model.reload();
237
237
  });
238
238
  const refresh = discover({}).pipe(Effect.flatMap(apply));
239
- const resourceFor = (provider) => provider.id === ID15.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
239
+ const resourceFor = (provider) => provider.id === ID17.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
240
240
  Object.assign(loaded, yield* load());
241
241
  yield* ctx.provider.transform((evt) => {
242
242
  for (const item of evt.list()) {
@@ -255,7 +255,7 @@ function make17(endpoints = {
255
255
  };
256
256
  });
257
257
  }
258
- const item = evt.get(ID15.azure);
258
+ const item = evt.get(ID17.azure);
259
259
  if (!item)
260
260
  return;
261
261
  evt.add({
@@ -285,21 +285,21 @@ function make17(endpoints = {
285
285
  }
286
286
  if (!loaded.deployments)
287
287
  return;
288
- const catalog = models.list(ID15.azure);
288
+ const catalog = models.list(ID17.azure);
289
289
  const deployed = deployedModels(loaded.deployments, catalog);
290
290
  for (const model of catalog) {
291
291
  if (!deployed.has(model.id))
292
- models.remove(ID15.azure, model.id);
292
+ models.remove(ID17.azure, model.id);
293
293
  }
294
294
  for (const [id, model] of deployed) {
295
- models.update(ID15.azure, id, (draft) => Object.assign(draft, model));
295
+ models.update(ID17.azure, id, (draft) => Object.assign(draft, model));
296
296
  }
297
297
  });
298
298
  yield* onSwitch2("azure", rebind().pipe(Effect.andThen(FiberHandle.run(discovery, switched2(discover, apply)))));
299
299
  yield* rebind().pipe(Effect.andThen(FiberHandle.run(discovery, refresh)), Effect.forkScoped);
300
300
  yield* Effect.sleep(interval2).pipe(Effect.andThen(FiberHandle.run(discovery, refresh, { onlyIfMissing: true })), Effect.forever, Effect.forkScoped);
301
301
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
302
- const { credential } = yield* activeCredential2(ctx, ID15.azure);
302
+ const { credential } = yield* activeCredential2(ctx, ID17.azure);
303
303
  if (credential?.type !== "external" || credential.methodID !== methodID)
304
304
  return;
305
305
  const target = new URL(url);
@@ -315,7 +315,7 @@ function make17(endpoints = {
315
315
  evt.request.headers.delete("x-api-key");
316
316
  evt.request.headers.set("authorization", authorization);
317
317
  evt.request.headers.set("user-agent", useragent2(ctx.app));
318
- }), { providerID: ID15.azure });
318
+ }), { providerID: ID17.azure });
319
319
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
320
320
  const authorization = yield* bearer(evt.url);
321
321
  if (!authorization)
@@ -324,11 +324,11 @@ function make17(endpoints = {
324
324
  delete evt.headers["x-api-key"];
325
325
  evt.headers.authorization = authorization;
326
326
  evt.headers["user-agent"] = useragent2(ctx.app);
327
- }), { providerID: ID15.azure });
327
+ }), { providerID: ID17.azure });
328
328
  })
329
329
  });
330
330
  }
331
- var AzurePlugin2 = make17();
331
+ var AzurePlugin2 = make20();
332
332
  function deploymentsKey(connection, credential, url) {
333
333
  const access = credential.type === "key" ? `:${fingerprint2(credential.key)}` : "";
334
334
  return `azure:${key3(connection)}${access}:${url}`;
@@ -343,7 +343,7 @@ function expandResourceName(baseURL, resourceName) {
343
343
  return baseURL.replaceAll("${AZURE_RESOURCE_NAME}", resourceName).replaceAll("${AZURE_COGNITIVE_SERVICES_RESOURCE_NAME}", resourceName);
344
344
  }
345
345
  function azureProvider(provider) {
346
- return provider.id === ID15.azure || provider.package.startsWith("@opencode/ai/providers/azure/");
346
+ return provider.id === ID17.azure || provider.package.startsWith("@opencode/ai/providers/azure/");
347
347
  }
348
348
  function usable(credential) {
349
349
  return credential?.type === "key" || credential?.type === "external" && credential.methodID === methodID;
@@ -368,11 +368,11 @@ function deployedModels(deployments, catalog) {
368
368
  const model = catalogModel(models, deployment);
369
369
  if (!model)
370
370
  return [];
371
- const id = ID14.make(deployment.name.toLowerCase());
371
+ const id = ID16.make(deployment.name.toLowerCase());
372
372
  const info = {
373
373
  ...structuredClone(model),
374
374
  id,
375
- modelID: ID14.make(deployment.name),
375
+ modelID: ID16.make(deployment.name),
376
376
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
377
377
  };
378
378
  return [[id, info]];
@@ -394,4 +394,4 @@ function responsesWebSocketCapable(provider) {
394
394
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
395
395
  }
396
396
 
397
- export { make17, AzurePlugin2 };
397
+ export { make20, AzurePlugin2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SessionSchema2
3
- } from "./filesystem-weqc7sb9.js";
3
+ } from "./tool-qtf35215.js";
4
4
 
5
5
  // src/job/recovery.ts
6
6
  import { Schema } from "effect";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ProjectTable2
3
- } from "./filesystem-034tev2y.js";
3
+ } from "./tool-aj7mw0zk.js";
4
4
  import {
5
5
  __export
6
- } from "./filesystem-9rqn6x4v.js";
6
+ } from "./tool-9rqn6x4v.js";
7
7
 
8
8
  // src/project/icon.ts
9
9
  var exports_icon = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service92,
3
3
  node95
4
- } from "./filesystem-1na8pg7t.js";
4
+ } from "./tool-mzjgx79y.js";
5
5
  import {
6
6
  RecoverySchema2
7
- } from "./filesystem-nw5eecxx.js";
7
+ } from "./tool-b7nkz392.js";
8
8
  import {
9
9
  JobTable2
10
- } from "./filesystem-kzczzf4v.js";
10
+ } from "./tool-kzczzf4v.js";
11
11
  import {
12
- read5
13
- } from "./filesystem-eq6zysp6.js";
12
+ read3
13
+ } from "./tool-yk4ram99.js";
14
14
  import {
15
15
  SessionMessage2
16
- } from "./filesystem-gftt206x.js";
16
+ } from "./tool-gftt206x.js";
17
17
  import {
18
18
  __export
19
- } from "./filesystem-9rqn6x4v.js";
19
+ } from "./tool-9rqn6x4v.js";
20
20
 
21
21
  // src/job.ts
22
22
  var exports_job = {};
23
23
  __export(exports_job, {
24
24
  Job: () => exports_job,
25
- Service: () => Service65,
26
- make: () => make30,
27
- node: () => node66
25
+ Service: () => Service50,
26
+ make: () => make29,
27
+ node: () => node52
28
28
  });
29
29
  import { asc, eq, or } from "drizzle-orm";
30
30
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
@@ -40,7 +40,7 @@ var Background = Schema.Struct({
40
40
  var decodeBackground = Schema.decodeUnknownResult(Background);
41
41
  var COMPLETED_LIMIT = 25;
42
42
 
43
- class Service65 extends Context.Service()("@opencode/Job") {
43
+ class Service50 extends Context.Service()("@opencode/Job") {
44
44
  }
45
45
  function snapshot(job) {
46
46
  return {
@@ -98,7 +98,7 @@ function decrementSession(input, sessionID) {
98
98
  next.set(sessionID, count - 1);
99
99
  return next;
100
100
  }
101
- var make30 = Effect.gen(function* () {
101
+ var make29 = Effect.gen(function* () {
102
102
  const db = (yield* Service92).db;
103
103
  const state = {
104
104
  jobs: yield* SynchronizedRef.make(new Map),
@@ -392,7 +392,7 @@ var make30 = Effect.gen(function* () {
392
392
  next.delete(entry[0]);
393
393
  return next;
394
394
  })));
395
- return Service65.of({
395
+ return Service50.of({
396
396
  get,
397
397
  start,
398
398
  wait,
@@ -403,11 +403,11 @@ var make30 = Effect.gen(function* () {
403
403
  cancelSession,
404
404
  pendingBackground,
405
405
  runningBackground,
406
- backgroundJobs: read5(db, state.jobs),
406
+ backgroundJobs: read3(db, state.jobs),
407
407
  completeBackground
408
408
  });
409
409
  });
410
- var layer = Layer.effect(Service65, make30);
411
- var node66 = makeGlobalNode({ service: Service65, layer, deps: [node95] });
410
+ var layer = Layer.effect(Service50, make29);
411
+ var node52 = makeGlobalNode({ service: Service50, layer, deps: [node95] });
412
412
 
413
- export { Service65, make30, node66, exports_job };
413
+ export { Service50, make29, node52, exports_job };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./filesystem-z5v4ffb3.js";
3
+ } from "./tool-z5v4ffb3.js";
4
4
  import {
5
- Service86
6
- } from "./filesystem-y2jyke39.js";
5
+ Service88
6
+ } from "./tool-6p47f7n7.js";
7
7
  import {
8
- Service69
9
- } from "./filesystem-yqhvz5dd.js";
8
+ Service79
9
+ } from "./tool-ttb0zajd.js";
10
10
  import {
11
- Service21
12
- } from "./filesystem-c1edwwnv.js";
11
+ Service28
12
+ } from "./tool-tew3ekv0.js";
13
13
  import {
14
14
  observe2
15
- } from "./filesystem-tvtps2q9.js";
15
+ } from "./tool-tvtps2q9.js";
16
16
  import {
17
17
  __export
18
- } from "./filesystem-9rqn6x4v.js";
18
+ } from "./tool-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin24
24
+ Plugin: () => Plugin28
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin24 = define({
30
+ var Plugin28 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service69;
34
- const location = yield* Service86;
33
+ const config = yield* Service79;
34
+ const location = yield* Service88;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service21;
36
+ const worktrees = yield* Service28;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin24 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin24, exports_worktree };
51
+ export { Plugin28, exports_worktree };
@@ -0,0 +1,26 @@
1
+ import {
2
+ Plugin42
3
+ } from "./tool-dm0jrs5z.js";
4
+ import {
5
+ Plugin40
6
+ } from "./tool-w778kp5v.js";
7
+ import {
8
+ Plugin43
9
+ } from "./tool-0af2ej1h.js";
10
+ import {
11
+ Plugin39
12
+ } from "./tool-fxgynan5.js";
13
+ import {
14
+ Plugin41
15
+ } from "./tool-51q9w6yf.js";
16
+
17
+ // src/plugin/websearch/index.ts
18
+ var WebSearchPlugins2 = [
19
+ Plugin42,
20
+ Plugin40,
21
+ Plugin43,
22
+ Plugin39,
23
+ Plugin41
24
+ ];
25
+
26
+ export { WebSearchPlugins2 };
@@ -1,51 +1,51 @@
1
1
  import {
2
- Service64
3
- } from "./filesystem-181902zs.js";
2
+ Service73
3
+ } from "./tool-jkfj84cm.js";
4
4
  import {
5
5
  Ref3,
6
- Service72
7
- } from "./filesystem-bh17vazq.js";
6
+ Service83
7
+ } from "./tool-edt06h0g.js";
8
8
  import {
9
9
  latest2,
10
- Service69
11
- } from "./filesystem-yqhvz5dd.js";
10
+ Service79
11
+ } from "./tool-ttb0zajd.js";
12
12
  import {
13
13
  SessionSchema2
14
- } from "./filesystem-weqc7sb9.js";
14
+ } from "./tool-qtf35215.js";
15
15
  import {
16
- Service65
17
- } from "./filesystem-n084kdnf.js";
16
+ Service50
17
+ } from "./tool-be7sh31c.js";
18
18
  import {
19
19
  invocation2,
20
20
  evaluate3,
21
- Service61
22
- } from "./filesystem-xep6jqgx.js";
21
+ Service70
22
+ } from "./tool-pbbrhaxk.js";
23
23
  import {
24
- Service24
25
- } from "./filesystem-cmm5btky.js";
24
+ Service30
25
+ } from "./tool-1w0d05zm.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./filesystem-0j7gp832.js";
28
+ } from "./tool-sqjzf8x2.js";
29
29
  import {
30
- Service10
31
- } from "./filesystem-q6ses74x.js";
30
+ Service9
31
+ } from "./tool-54vy2vdt.js";
32
32
  import {
33
33
  __export
34
- } from "./filesystem-9rqn6x4v.js";
34
+ } from "./tool-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input3,
40
- Output: () => Output3,
41
- Plugin: () => Plugin39,
39
+ Input: () => Input8,
40
+ Output: () => Output6,
41
+ Plugin: () => Plugin9,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description4,
44
- name: () => name3
43
+ description: () => description5,
44
+ name: () => name8
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai/effect";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name3 = "subagent";
48
+ var name8 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -57,7 +57,7 @@ var backgroundResult = (sessionID) => ({
57
57
  ].join(`
58
58
  `)
59
59
  });
60
- var Input3 = Schema.Struct({
60
+ var Input8 = Schema.Struct({
61
61
  agent: Schema.String.annotate({
62
62
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
63
63
  }),
@@ -73,12 +73,12 @@ var Input3 = Schema.Struct({
73
73
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
74
74
  })
75
75
  });
76
- var Output3 = Schema.Struct({
76
+ var Output6 = Schema.Struct({
77
77
  sessionID: SessionSchema2.ID,
78
78
  status: Schema.Literals(["completed", "running"]),
79
79
  output: Schema.String
80
80
  });
81
- var description4 = [
81
+ var description5 = [
82
82
  "Spawns an agent in a child session to work on the specified task.",
83
83
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
84
84
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -87,16 +87,16 @@ var description4 = [
87
87
  "Use background only for independent work that can run while you continue elsewhere."
88
88
  ].join(`
89
89
  `);
90
- var Plugin39 = {
90
+ var Plugin9 = {
91
91
  id: "opencode.tool.subagent",
92
92
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
93
- const sessions = yield* Service24;
94
- const jobs = yield* Service65;
95
- const agents = yield* Service64;
96
- const config = yield* Service69;
97
- const permission = yield* Service61;
98
- const models = yield* Service72;
99
- const subagents = yield* Service10;
93
+ const sessions = yield* Service30;
94
+ const jobs = yield* Service50;
95
+ const agents = yield* Service73;
96
+ const config = yield* Service79;
97
+ const permission = yield* Service70;
98
+ const models = yield* Service83;
99
+ const subagents = yield* Service9;
100
100
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
101
101
  const ref = yield* Effect.try({
102
102
  try: () => Ref3.parse(input),
@@ -118,11 +118,11 @@ var Plugin39 = {
118
118
  return ref;
119
119
  });
120
120
  yield* ctx.tool.transform((editor) => editor.add({
121
- name: name3,
121
+ name: name8,
122
122
  options: { codemode: false },
123
- description: description4,
124
- input: Input3,
125
- output: Output3,
123
+ description: description5,
124
+ input: Input8,
125
+ output: Output6,
126
126
  execute: (input, context) => Effect.gen(function* () {
127
127
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
128
128
  let current = parent;
@@ -142,7 +142,7 @@ var Plugin39 = {
142
142
  if (agent.mode === "primary")
143
143
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
144
144
  yield* permission.assert({
145
- action: name3,
145
+ action: name8,
146
146
  resources: [agent.id],
147
147
  save: [agent.id],
148
148
  ...invocation2(context)
@@ -215,7 +215,7 @@ ${output.output}
215
215
  })))
216
216
  })).pipe(Effect.orDie);
217
217
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
218
- if (event.tool !== name3 || !Predicate.isObject(event.input))
218
+ if (event.tool !== name8 || !Predicate.isObject(event.input))
219
219
  return;
220
220
  if (event.input.model !== "" && event.input.sessionID !== "")
221
221
  return;
@@ -227,13 +227,13 @@ ${output.output}
227
227
  event.input = input;
228
228
  }));
229
229
  const hook = (event) => Effect.gen(function* () {
230
- const tool = event.tools[name3];
230
+ const tool = event.tools[name8];
231
231
  if (!tool)
232
232
  return;
233
233
  const selected = yield* agents.resolve(event.agent);
234
234
  if (!selected)
235
235
  return;
236
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name3, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
236
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name8, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
237
237
  if (available.length === 0)
238
238
  return;
239
239
  tool.description = [
@@ -250,4 +250,4 @@ ${output.output}
250
250
  })
251
251
  };
252
252
 
253
- export { name3, Input3, Output3, description4, Plugin39, exports_subagent };
253
+ export { name8, Input8, Output6, description5, Plugin9, exports_subagent };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};