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

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 (935) 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 +254 -254
  7. package/dist/bus.js +86 -86
  8. package/dist/chunks/filesystem-00ve6mdn.js +18 -0
  9. package/dist/chunks/{event-logger-qt7xm8h2.js → filesystem-02z2ds17.js} +4 -4
  10. package/dist/chunks/{event-logger-034tev2y.js → filesystem-034tev2y.js} +2 -2
  11. package/dist/chunks/{event-logger-v2x06h94.js → filesystem-035wadpx.js} +3 -3
  12. package/dist/chunks/{event-logger-pgmzfdk5.js → filesystem-0a2yyxmk.js} +7 -7
  13. package/dist/chunks/{event-logger-9kh3h3y0.js → filesystem-0ezh5f4m.js} +9 -9
  14. package/dist/chunks/{event-logger-ycwj4jqj.js → filesystem-0f9gmxqb.js} +18 -18
  15. package/dist/chunks/{event-logger-gn6qas9s.js → filesystem-0gwbn6a0.js} +8 -8
  16. package/dist/chunks/{event-logger-0j7gp832.js → filesystem-0j7gp832.js} +1 -1
  17. package/dist/chunks/{event-logger-5byntdag.js → filesystem-0jm1xj0f.js} +26 -26
  18. package/dist/chunks/{event-logger-0ma9gw4f.js → filesystem-0ma9gw4f.js} +2 -2
  19. package/dist/chunks/{event-logger-tjvrwq0k.js → filesystem-0tfj7kb5.js} +20 -20
  20. package/dist/chunks/{event-logger-tsskc6h9.js → filesystem-0xrhftmq.js} +11 -11
  21. package/dist/chunks/{event-logger-t8rdgqhb.js → filesystem-0yhbbq00.js} +11 -11
  22. package/dist/chunks/{event-logger-8h77agxq.js → filesystem-15z4wtk0.js} +20 -20
  23. package/dist/chunks/{event-logger-aew8rpfa.js → filesystem-17sb9jwz.js} +18 -18
  24. package/dist/chunks/{event-logger-km9kxtn8.js → filesystem-17vt7wwr.js} +30 -30
  25. package/dist/chunks/{event-logger-srabb7dz.js → filesystem-181902zs.js} +22 -22
  26. package/dist/chunks/{event-logger-na4zh7w6.js → filesystem-19aj727q.js} +14 -14
  27. package/dist/chunks/{event-logger-aax7r870.js → filesystem-1a5bb6as.js} +6 -6
  28. package/dist/chunks/{event-logger-1aqsckx4.js → filesystem-1aqsckx4.js} +1 -1
  29. package/dist/chunks/{event-logger-cxvat2mj.js → filesystem-1dm1rjcg.js} +35 -35
  30. package/dist/chunks/{event-logger-1ep2p91f.js → filesystem-1ep2p91f.js} +2 -2
  31. package/dist/chunks/{event-logger-ex1wgdz4.js → filesystem-1fbngjjy.js} +17 -17
  32. package/dist/chunks/{event-logger-r0yxyc6f.js → filesystem-1k7rps55.js} +13 -13
  33. package/dist/chunks/{event-logger-deq7zezz.js → filesystem-1na8pg7t.js} +11 -11
  34. package/dist/chunks/{event-logger-0h86f0az.js → filesystem-1v2g13eq.js} +4 -4
  35. package/dist/chunks/{event-logger-bpc17s8v.js → filesystem-1wpz8b97.js} +20 -20
  36. package/dist/chunks/{event-logger-1x2knyw4.js → filesystem-1x2knyw4.js} +1 -1
  37. package/dist/chunks/{event-logger-7jmaf9hv.js → filesystem-1zez8a6k.js} +9 -9
  38. package/dist/chunks/{event-logger-65ckc8p3.js → filesystem-25rr9byq.js} +19 -19
  39. package/dist/chunks/{event-logger-md69vhb1.js → filesystem-2dfq8ch4.js} +16 -16
  40. package/dist/chunks/{event-logger-2fc7eemy.js → filesystem-2fc7eemy.js} +1 -1
  41. package/dist/chunks/{event-logger-srcdbpr2.js → filesystem-2fk4msj1.js} +8 -8
  42. package/dist/chunks/{event-logger-v0t96s7a.js → filesystem-2kg89srt.js} +4 -4
  43. package/dist/chunks/{event-logger-s1ba0vj0.js → filesystem-2p60zmnr.js} +2 -2
  44. package/dist/chunks/{event-logger-jhem0d9a.js → filesystem-2t6zpmzs.js} +6 -6
  45. package/dist/chunks/{event-logger-cyw90pqg.js → filesystem-2wk0sjak.js} +15 -15
  46. package/dist/chunks/{event-logger-3ztwrxep.js → filesystem-2ynhg311.js} +23 -23
  47. package/dist/chunks/{event-logger-xjbsd7zy.js → filesystem-3adw4bt5.js} +9 -9
  48. package/dist/chunks/{event-logger-mdrjseww.js → filesystem-3ag897fb.js} +34 -34
  49. package/dist/chunks/{event-logger-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{event-logger-3nnrz6f6.js → filesystem-3nnrz6f6.js} +1 -1
  51. package/dist/chunks/{event-logger-hxmw4pfp.js → filesystem-3nzasfxf.js} +58 -58
  52. package/dist/chunks/{event-logger-grzj74dp.js → filesystem-3r13rg9x.js} +361 -367
  53. package/dist/chunks/{event-logger-7dykt898.js → filesystem-3vcxs8xg.js} +29 -29
  54. package/dist/chunks/{event-logger-4mahgh79.js → filesystem-3ws7347k.js} +12 -12
  55. package/dist/chunks/{event-logger-nwyfjcs7.js → filesystem-3wyhrqfb.js} +8 -8
  56. package/dist/chunks/{event-logger-40y6dtc2.js → filesystem-40y6dtc2.js} +1 -1
  57. package/dist/chunks/{event-logger-w2eysc6j.js → filesystem-40za9wsf.js} +9 -9
  58. package/dist/chunks/{event-logger-2rwbqqk4.js → filesystem-42csrcj6.js} +5 -5
  59. package/dist/chunks/{event-logger-jxd6f16v.js → filesystem-44pmzq9c.js} +2 -2
  60. package/dist/chunks/{event-logger-67s37gp7.js → filesystem-45xfphr3.js} +4 -4
  61. package/dist/chunks/filesystem-46esafq5.js +49 -0
  62. package/dist/chunks/{event-logger-189zs3b8.js → filesystem-48wgh0r5.js} +10 -10
  63. package/dist/chunks/{event-logger-f45mtqja.js → filesystem-4d76xdka.js} +36 -36
  64. package/dist/chunks/{event-logger-4dx1dgte.js → filesystem-4dx1dgte.js} +1 -1
  65. package/dist/chunks/{event-logger-r542h3bh.js → filesystem-4f25tdd0.js} +5 -5
  66. package/dist/chunks/{event-logger-02ct3eem.js → filesystem-4jcpm909.js} +5 -5
  67. package/dist/chunks/{event-logger-4pyp9zr9.js → filesystem-4pyp9zr9.js} +1 -1
  68. package/dist/chunks/{event-logger-9xzr77jx.js → filesystem-4qtvx9g1.js} +51 -51
  69. package/dist/chunks/{event-logger-7s1wk4pk.js → filesystem-4r8hh93p.js} +11 -11
  70. package/dist/chunks/{event-logger-80n0ya2z.js → filesystem-4tnszcv9.js} +7 -7
  71. package/dist/chunks/{event-logger-4v008n1t.js → filesystem-4v008n1t.js} +1 -1
  72. package/dist/chunks/{event-logger-tr50er13.js → filesystem-50pr8z8j.js} +14 -14
  73. package/dist/chunks/{event-logger-v8bjwhbx.js → filesystem-539dw32x.js} +4 -4
  74. package/dist/chunks/{event-logger-z0c26qk4.js → filesystem-55g2q5p5.js} +2 -2
  75. package/dist/chunks/{event-logger-8523rkyj.js → filesystem-5ejp9ww5.js} +16 -16
  76. package/dist/chunks/{event-logger-yj1d80n7.js → filesystem-5jp6ksrm.js} +9 -9
  77. package/dist/chunks/{event-logger-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
  78. package/dist/chunks/{event-logger-c0r5cqvh.js → filesystem-5stch7mz.js} +12 -12
  79. package/dist/chunks/{event-logger-s11v5awe.js → filesystem-5tm0nqws.js} +21 -21
  80. package/dist/chunks/{event-logger-q500dmz2.js → filesystem-5x1njh48.js} +23 -23
  81. package/dist/chunks/{event-logger-76sc5fc6.js → filesystem-648ay51t.js} +37 -37
  82. package/dist/chunks/{event-logger-a3z1q8zt.js → filesystem-6kyk5zwt.js} +14 -14
  83. package/dist/chunks/{event-logger-mzhnyth5.js → filesystem-6pgb0c6g.js} +4 -4
  84. package/dist/chunks/{event-logger-tb6fee1v.js → filesystem-6rgg22fb.js} +3 -3
  85. package/dist/chunks/{event-logger-vhcs6f4s.js → filesystem-6rkgwr3t.js} +20 -20
  86. package/dist/chunks/{event-logger-ke8d4nz8.js → filesystem-6sfcjb92.js} +12 -12
  87. package/dist/chunks/{event-logger-cmffm6qs.js → filesystem-6vth7jmw.js} +22 -22
  88. package/dist/chunks/{event-logger-czx3by8z.js → filesystem-6zj50wfk.js} +20 -20
  89. package/dist/chunks/{event-logger-k2qpt0zk.js → filesystem-718p8p18.js} +39 -39
  90. package/dist/chunks/{event-logger-nhfg700v.js → filesystem-72rhbnyr.js} +43 -43
  91. package/dist/chunks/{event-logger-emwsg0fj.js → filesystem-7559cqc2.js} +33 -33
  92. package/dist/chunks/{event-logger-80mg3ag8.js → filesystem-775hqbnd.js} +3 -3
  93. package/dist/chunks/{event-logger-8gpdtejb.js → filesystem-78jb72c0.js} +17 -17
  94. package/dist/chunks/{event-logger-vdyb4s6e.js → filesystem-79bbe8py.js} +23 -23
  95. package/dist/chunks/{event-logger-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
  96. package/dist/chunks/{event-logger-25hkaegy.js → filesystem-7cwg0q3v.js} +13 -13
  97. package/dist/chunks/{event-logger-mptv2b35.js → filesystem-7h6anj5r.js} +5 -5
  98. package/dist/chunks/{event-logger-9h9gknhd.js → filesystem-7j2v9es1.js} +10 -10
  99. package/dist/chunks/{event-logger-x4mcewfn.js → filesystem-7nqkf5r1.js} +4 -4
  100. package/dist/chunks/{event-logger-7w2ypzdf.js → filesystem-7w2ypzdf.js} +1 -1
  101. package/dist/chunks/{event-logger-7weczvnd.js → filesystem-7weczvnd.js} +1 -1
  102. package/dist/chunks/{event-logger-gxx5n6vy.js → filesystem-7zzyr76m.js} +31 -31
  103. package/dist/chunks/{event-logger-rvnns7rr.js → filesystem-882t1npe.js} +26 -26
  104. package/dist/chunks/{event-logger-89287pr7.js → filesystem-89287pr7.js} +1 -1
  105. package/dist/chunks/{event-logger-8b3vzgkx.js → filesystem-8b3vzgkx.js} +1 -1
  106. package/dist/chunks/{event-logger-3dk66214.js → filesystem-8bfbfs0m.js} +19 -19
  107. package/dist/chunks/{event-logger-8cg7mtm3.js → filesystem-8cg7mtm3.js} +1 -1
  108. package/dist/chunks/{event-logger-a35sr0b6.js → filesystem-8es3pha2.js} +8 -8
  109. package/dist/chunks/{event-logger-074qhhck.js → filesystem-8ff7z165.js} +6 -6
  110. package/dist/chunks/{event-logger-8sxe6kv8.js → filesystem-8sxe6kv8.js} +2 -2
  111. package/dist/chunks/{event-logger-8wtp7s3z.js → filesystem-8wtp7s3z.js} +1 -1
  112. package/dist/chunks/{event-logger-0q7dyhp6.js → filesystem-8xs1szqy.js} +8 -8
  113. package/dist/chunks/{event-logger-8zv0xmg5.js → filesystem-8zv0xmg5.js} +1 -1
  114. package/dist/chunks/{event-logger-matrc5aw.js → filesystem-921qrkta.js} +2 -2
  115. package/dist/chunks/{event-logger-3mryy5hd.js → filesystem-938jxp85.js} +10 -10
  116. package/dist/chunks/{event-logger-kcrxe5g6.js → filesystem-95chw932.js} +21 -21
  117. package/dist/chunks/{event-logger-zyfhsknv.js → filesystem-963hk181.js} +9 -9
  118. package/dist/chunks/{event-logger-jj0fxw73.js → filesystem-9650aqwr.js} +20 -20
  119. package/dist/chunks/{event-logger-4wqemmxb.js → filesystem-9936y3jg.js} +8 -8
  120. package/dist/chunks/{event-logger-xj142ye1.js → filesystem-9bf0jn0y.js} +27 -27
  121. package/dist/chunks/{event-logger-3rq8m51m.js → filesystem-9dxkw32d.js} +18 -18
  122. package/dist/chunks/{event-logger-23wmfp43.js → filesystem-9e67kptv.js} +29 -29
  123. package/dist/chunks/{event-logger-fpjxw46t.js → filesystem-9yqjp86x.js} +6 -6
  124. package/dist/chunks/{event-logger-tjaqvmna.js → filesystem-a6b3g8hx.js} +28 -28
  125. package/dist/chunks/{event-logger-h0aw0xcs.js → filesystem-ag6wve2c.js} +9 -9
  126. package/dist/chunks/{event-logger-vsjvrq8f.js → filesystem-ar2hvv65.js} +27 -27
  127. package/dist/chunks/{event-logger-yrfzjmxs.js → filesystem-at088wgp.js} +38 -38
  128. package/dist/chunks/{event-logger-xyp0w5w2.js → filesystem-avz8bhs5.js} +15 -15
  129. package/dist/chunks/{event-logger-8dmpkg7y.js → filesystem-ay4fx4x8.js} +27 -27
  130. package/dist/chunks/{event-logger-ayjs7tqn.js → filesystem-ayjs7tqn.js} +2 -2
  131. package/dist/chunks/{event-logger-vzg9t7w7.js → filesystem-b1pxs4mx.js} +11 -11
  132. package/dist/chunks/{event-logger-g4txs7zc.js → filesystem-b26ddj6h.js} +4 -4
  133. package/dist/chunks/{event-logger-6538m5zf.js → filesystem-ba9sjspj.js} +12 -12
  134. package/dist/chunks/{event-logger-czsg6qa7.js → filesystem-bcjnxnhp.js} +59 -78
  135. package/dist/chunks/{event-logger-mc2cd50f.js → filesystem-bgwzppbt.js} +15 -15
  136. package/dist/chunks/{event-logger-csbkhh9r.js → filesystem-bh17vazq.js} +34 -34
  137. package/dist/chunks/{event-logger-bstexjd6.js → filesystem-bstexjd6.js} +1 -1
  138. package/dist/chunks/{event-logger-by8ty0bx.js → filesystem-by8ty0bx.js} +1 -1
  139. package/dist/chunks/{event-logger-nz6g494t.js → filesystem-c17c5xy0.js} +17 -17
  140. package/dist/chunks/{event-logger-w6ab945r.js → filesystem-c1edwwnv.js} +16 -16
  141. package/dist/chunks/{event-logger-hrfssxzn.js → filesystem-c2shajz4.js} +25 -25
  142. package/dist/chunks/{event-logger-jgegbhe4.js → filesystem-c5sns9rs.js} +49 -49
  143. package/dist/chunks/{event-logger-c7cw818c.js → filesystem-c7cw818c.js} +2 -2
  144. package/dist/chunks/{event-logger-axskksgc.js → filesystem-cdnzabwv.js} +24 -24
  145. package/dist/chunks/{event-logger-7dbrtjsx.js → filesystem-cdvjn5dz.js} +14 -14
  146. package/dist/chunks/{event-logger-vh1gbyr9.js → filesystem-cf8mej1f.js} +48 -48
  147. package/dist/chunks/{event-logger-dy7cgtbm.js → filesystem-ck7e0r21.js} +63 -63
  148. package/dist/chunks/{event-logger-5asgddgx.js → filesystem-ckn0kvtp.js} +6 -6
  149. package/dist/chunks/{event-logger-51kt8vqr.js → filesystem-cmm5btky.js} +86 -86
  150. package/dist/chunks/{event-logger-63xym3gh.js → filesystem-cpvd08na.js} +4 -4
  151. package/dist/chunks/{event-logger-jhkq54md.js → filesystem-cqv7tc87.js} +42 -42
  152. package/dist/chunks/{event-logger-teav1bzy.js → filesystem-ctmpqb7w.js} +9 -9
  153. package/dist/chunks/{event-logger-7ke2z32d.js → filesystem-cvwe7hsa.js} +6 -6
  154. package/dist/chunks/{event-logger-cwrgdav8.js → filesystem-cwrgdav8.js} +2 -2
  155. package/dist/chunks/{event-logger-2bswbpgz.js → filesystem-cxab28sr.js} +4 -4
  156. package/dist/chunks/{event-logger-0php2d2a.js → filesystem-czqb1qjr.js} +6 -6
  157. package/dist/chunks/{event-logger-2gcw5fz7.js → filesystem-d0pmvwgf.js} +5 -5
  158. package/dist/chunks/{event-logger-jndeg0s5.js → filesystem-d2bwycwa.js} +12 -12
  159. package/dist/chunks/{event-logger-31avdb49.js → filesystem-d390zwf3.js} +8 -8
  160. package/dist/chunks/{event-logger-d4v9tmah.js → filesystem-d4v9tmah.js} +2 -2
  161. package/dist/chunks/{event-logger-qqarxf7p.js → filesystem-d9qmvhen.js} +63 -63
  162. package/dist/chunks/{event-logger-zqvy8w2r.js → filesystem-dg5es6ze.js} +2 -2
  163. package/dist/chunks/{event-logger-qj3ncjqk.js → filesystem-dgb83nsm.js} +11 -11
  164. package/dist/chunks/{event-logger-bzz00sbm.js → filesystem-dpj6gsfx.js} +9 -9
  165. package/dist/chunks/{event-logger-3jgbjpr1.js → filesystem-dr1vsqzj.js} +12 -12
  166. package/dist/chunks/{event-logger-dt77769w.js → filesystem-dt77769w.js} +1 -1
  167. package/dist/chunks/{event-logger-kyq61t9j.js → filesystem-e070wvce.js} +17 -17
  168. package/dist/chunks/{event-logger-9f4w71gj.js → filesystem-e2d6g660.js} +22 -22
  169. package/dist/chunks/{event-logger-ff2d2kf1.js → filesystem-e4cczzb6.js} +5 -5
  170. package/dist/chunks/{event-logger-e834z07m.js → filesystem-e834z07m.js} +1 -1
  171. package/dist/chunks/{event-logger-p96srfh5.js → filesystem-e851vs6d.js} +23 -23
  172. package/dist/chunks/{event-logger-bpqkk4rq.js → filesystem-ec7kz664.js} +86 -86
  173. package/dist/chunks/{event-logger-jtn88xg7.js → filesystem-ep6snxvm.js} +5 -5
  174. package/dist/chunks/{event-logger-0ex746g5.js → filesystem-epsw3z7t.js} +1 -1
  175. package/dist/chunks/{event-logger-9bs8vsaq.js → filesystem-epywfnkq.js} +76 -76
  176. package/dist/chunks/{event-logger-t0608nav.js → filesystem-eq6zysp6.js} +6 -6
  177. package/dist/chunks/{event-logger-eqw4pqj1.js → filesystem-eqw4pqj1.js} +2 -2
  178. package/dist/chunks/{event-logger-23ppzeqs.js → filesystem-f0mr1pc6.js} +23 -23
  179. package/dist/chunks/{event-logger-mzy1mbez.js → filesystem-f2vx8x8a.js} +16 -16
  180. package/dist/chunks/{event-logger-azqdag7d.js → filesystem-fcrd7kek.js} +4 -4
  181. package/dist/chunks/{event-logger-mecrap0n.js → filesystem-fe9jvyxb.js} +8 -8
  182. package/dist/chunks/{event-logger-fffv3p7h.js → filesystem-fffv3p7h.js} +1 -1
  183. package/dist/chunks/{event-logger-fg9p65nk.js → filesystem-fg9p65nk.js} +2 -2
  184. package/dist/chunks/{event-logger-sr0y9bv7.js → filesystem-fqshqzv0.js} +5 -5
  185. package/dist/chunks/{event-logger-qpw46gtf.js → filesystem-ft24z9as.js} +19 -19
  186. package/dist/chunks/{event-logger-0xkg24zk.js → filesystem-g7m0qqq0.js} +25 -25
  187. package/dist/chunks/{event-logger-nhmg6cd1.js → filesystem-g9t47zy8.js} +37 -37
  188. package/dist/chunks/{event-logger-gbjdnr5j.js → filesystem-gbjdnr5j.js} +2 -2
  189. package/dist/chunks/{event-logger-v3qajxv2.js → filesystem-ge2z13zp.js} +19 -19
  190. package/dist/chunks/{event-logger-m1vrgpkz.js → filesystem-gg7m0nzr.js} +15 -15
  191. package/dist/chunks/{event-logger-t2s9kz02.js → filesystem-gk0cbdm8.js} +5 -5
  192. package/dist/chunks/{event-logger-kpqqccsm.js → filesystem-gwv3crrh.js} +12 -12
  193. package/dist/chunks/{event-logger-tg7s7b5t.js → filesystem-gxs71cxp.js} +4 -4
  194. package/dist/chunks/{event-logger-ts3bqvg1.js → filesystem-gy4928xg.js} +17 -17
  195. package/dist/chunks/{event-logger-xbfsqk1q.js → filesystem-h0pfp02j.js} +12 -12
  196. package/dist/chunks/{event-logger-0d9h2c3x.js → filesystem-h5chy42v.js} +3 -3
  197. package/dist/chunks/filesystem-hcv8rxnm.js +265 -0
  198. package/dist/chunks/{event-logger-hgzwgvze.js → filesystem-hgzwgvze.js} +2 -2
  199. package/dist/chunks/{event-logger-zc8yksyc.js → filesystem-hpgky7br.js} +17 -17
  200. package/dist/chunks/{event-logger-s1s15f1s.js → filesystem-hsgagtv4.js} +13 -13
  201. package/dist/chunks/{event-logger-xyktq1rn.js → filesystem-hvj3ek6w.js} +49 -49
  202. package/dist/chunks/{event-logger-m3k4f4wp.js → filesystem-hx5nh5s3.js} +32 -32
  203. package/dist/chunks/{event-logger-7v9favrf.js → filesystem-hxcyyd46.js} +31 -31
  204. package/dist/chunks/{event-logger-e7gzwz94.js → filesystem-hzz3fta6.js} +23 -23
  205. package/dist/chunks/{event-logger-3w343411.js → filesystem-j181v3gh.js} +29 -29
  206. package/dist/chunks/{event-logger-ze75qvmd.js → filesystem-j9nxzz3g.js} +3 -3
  207. package/dist/chunks/{event-logger-p0fvjn2m.js → filesystem-jaed4v45.js} +4 -4
  208. package/dist/chunks/{event-logger-5js5wbdj.js → filesystem-jb1c1e15.js} +31 -31
  209. package/dist/chunks/{event-logger-7zek9829.js → filesystem-jhsnhsa7.js} +37 -37
  210. package/dist/chunks/{event-logger-jkdcm5hg.js → filesystem-jkdcm5hg.js} +1 -1
  211. package/dist/chunks/{event-logger-jm70asfg.js → filesystem-jm70asfg.js} +1 -1
  212. package/dist/chunks/{event-logger-bh44pqhp.js → filesystem-jmknrr9q.js} +15 -15
  213. package/dist/chunks/{event-logger-whyespqn.js → filesystem-jtgc3vqj.js} +27 -27
  214. package/dist/chunks/{event-logger-dcd7sf2d.js → filesystem-jvxqx3e4.js} +12 -12
  215. package/dist/chunks/{event-logger-xrsq8sp2.js → filesystem-jwbahhn3.js} +36 -36
  216. package/dist/chunks/{event-logger-cttnq2ya.js → filesystem-jy0jnkzv.js} +11 -11
  217. package/dist/chunks/{event-logger-ggz19km9.js → filesystem-jz2wm8q8.js} +45 -45
  218. package/dist/chunks/{event-logger-k46dd5bg.js → filesystem-k46dd5bg.js} +1 -1
  219. package/dist/chunks/{event-logger-qcsq32s1.js → filesystem-k4qe4bdb.js} +6 -6
  220. package/dist/chunks/{event-logger-1vw1hhqb.js → filesystem-kb2t6asd.js} +43 -43
  221. package/dist/chunks/{event-logger-8xz27cp9.js → filesystem-kbgs7tyr.js} +4 -4
  222. package/dist/chunks/{event-logger-q5h1hz5x.js → filesystem-kf0dj0r3.js} +26 -26
  223. package/dist/chunks/{event-logger-wfzyh5a9.js → filesystem-km4jpkz6.js} +4 -4
  224. package/dist/chunks/{event-logger-s6rsk2n9.js → filesystem-kq6p0m63.js} +29 -29
  225. package/dist/chunks/{event-logger-gdb8gb6g.js → filesystem-kqa1ww29.js} +7 -7
  226. package/dist/chunks/{event-logger-jhmmfs20.js → filesystem-kssh28p5.js} +5 -5
  227. package/dist/chunks/{event-logger-k6acvzzp.js → filesystem-kt3bjfbg.js} +2 -12
  228. package/dist/chunks/{event-logger-d4tmeg7z.js → filesystem-kyggev0f.js} +30 -30
  229. package/dist/chunks/{event-logger-kzczzf4v.js → filesystem-kzczzf4v.js} +1 -1
  230. package/dist/chunks/{event-logger-m1714858.js → filesystem-m1714858.js} +1 -1
  231. package/dist/chunks/{event-logger-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
  232. package/dist/chunks/{event-logger-mb7mbhnz.js → filesystem-mb7mbhnz.js} +3 -3
  233. package/dist/chunks/filesystem-mf97tfts.js +26 -0
  234. package/dist/chunks/{event-logger-9beqts2g.js → filesystem-mpq7brr0.js} +19 -19
  235. package/dist/chunks/{event-logger-572t6fnq.js → filesystem-mrzew5a0.js} +5 -5
  236. package/dist/chunks/{event-logger-h49hp34r.js → filesystem-mskkk8kf.js} +16 -16
  237. package/dist/chunks/{event-logger-0k9p0h2k.js → filesystem-n084kdnf.js} +17 -17
  238. package/dist/chunks/{event-logger-b9pvq46e.js → filesystem-n9vcj540.js} +13 -13
  239. package/dist/chunks/{event-logger-cr44ae3x.js → filesystem-nchw3v9s.js} +5 -5
  240. package/dist/chunks/{event-logger-17452w76.js → filesystem-njg3q12r.js} +12 -12
  241. package/dist/chunks/{event-logger-v0p3ytcm.js → filesystem-nkphb79f.js} +19 -19
  242. package/dist/chunks/{event-logger-qmpm55vb.js → filesystem-nnfhsy33.js} +25 -25
  243. package/dist/chunks/{event-logger-kytm3xky.js → filesystem-nqx1ern4.js} +9 -9
  244. package/dist/chunks/{event-logger-w57p72p4.js → filesystem-nqy8vhw1.js} +19 -19
  245. package/dist/chunks/{event-logger-8054w6j6.js → filesystem-nv1t5fvd.js} +11 -11
  246. package/dist/chunks/{event-logger-gnkmn8c6.js → filesystem-nw5eecxx.js} +1 -1
  247. package/dist/chunks/{event-logger-qxc5t3fh.js → filesystem-p10mzfnc.js} +5 -5
  248. package/dist/chunks/{event-logger-0rdj797v.js → filesystem-p17589ft.js} +5 -5
  249. package/dist/chunks/{event-logger-z88rdk3t.js → filesystem-p2tvx8t7.js} +9 -9
  250. package/dist/chunks/{event-logger-hz63kff2.js → filesystem-p6mqzsa5.js} +4 -4
  251. package/dist/chunks/{event-logger-bdhd9h6e.js → filesystem-p7vhpwh8.js} +5 -5
  252. package/dist/chunks/{event-logger-ead14kf1.js → filesystem-pd5348f3.js} +38 -38
  253. package/dist/chunks/{event-logger-n3j33rb6.js → filesystem-ph2hg484.js} +6 -6
  254. package/dist/chunks/{event-logger-pknna89w.js → filesystem-pknna89w.js} +1 -1
  255. package/dist/chunks/{event-logger-xnreh5ed.js → filesystem-pks4cj27.js} +12 -12
  256. package/dist/chunks/{event-logger-vt2d6wap.js → filesystem-px7qpgcn.js} +4 -4
  257. package/dist/chunks/{event-logger-6n43x6px.js → filesystem-q1yqs2c4.js} +5 -5
  258. package/dist/chunks/{event-logger-m46fgh23.js → filesystem-q6ses74x.js} +18 -18
  259. package/dist/chunks/{event-logger-5wyzzdh8.js → filesystem-qa3zm6vn.js} +11 -11
  260. package/dist/chunks/{event-logger-byg8gfhm.js → filesystem-qe76v4mn.js} +7 -7
  261. package/dist/chunks/{event-logger-qp7r0hxv.js → filesystem-qp7r0hxv.js} +1 -1
  262. package/dist/chunks/{event-logger-r40cwf40.js → filesystem-qph9r1p4.js} +45 -16
  263. package/dist/chunks/{event-logger-wfdx5ztx.js → filesystem-qsdghx1p.js} +4 -4
  264. package/dist/chunks/{event-logger-qwz12hkq.js → filesystem-qwz12hkq.js} +1 -1
  265. package/dist/chunks/{event-logger-hkf8spj2.js → filesystem-r17fbvme.js} +7 -7
  266. package/dist/chunks/{event-logger-eqn2xv21.js → filesystem-r1xy8wjw.js} +47 -47
  267. package/dist/chunks/{event-logger-rb9dy4dg.js → filesystem-rb9dy4dg.js} +1 -1
  268. package/dist/chunks/{event-logger-37yf26y7.js → filesystem-rbebbts0.js} +5 -5
  269. package/dist/chunks/{event-logger-3gv0spa2.js → filesystem-rbg54dp1.js} +4 -4
  270. package/dist/chunks/{event-logger-hn1m907y.js → filesystem-rdn5fp89.js} +9 -9
  271. package/dist/chunks/{event-logger-rgc9cx3e.js → filesystem-rgc9cx3e.js} +2 -2
  272. package/dist/chunks/{event-logger-0n9bx249.js → filesystem-rrcsvc7m.js} +35 -35
  273. package/dist/chunks/{event-logger-j995642n.js → filesystem-rsdvfnet.js} +9 -9
  274. package/dist/chunks/{event-logger-rt5dr6hb.js → filesystem-rt5dr6hb.js} +1 -1
  275. package/dist/chunks/{event-logger-xwmw33nn.js → filesystem-rxdvn915.js} +6 -6
  276. package/dist/chunks/{event-logger-rjpqygew.js → filesystem-s063p80t.js} +22 -22
  277. package/dist/chunks/{event-logger-7hxw40qb.js → filesystem-s41e1wzc.js} +11 -11
  278. package/dist/chunks/{event-logger-9deqve51.js → filesystem-s6v5r3nd.js} +13 -13
  279. package/dist/chunks/{event-logger-sbya78hr.js → filesystem-sbya78hr.js} +1 -1
  280. package/dist/chunks/{event-logger-y8hpk01c.js → filesystem-scy8vkan.js} +11 -11
  281. package/dist/chunks/{event-logger-ghrv1g9c.js → filesystem-sdt5j0rm.js} +4 -4
  282. package/dist/chunks/{event-logger-q92r6wg6.js → filesystem-skbh59st.js} +32 -32
  283. package/dist/chunks/{event-logger-z33yrdx8.js → filesystem-ssh841z8.js} +9 -9
  284. package/dist/chunks/{event-logger-svcy3p9a.js → filesystem-svcy3p9a.js} +1 -1
  285. package/dist/chunks/{event-logger-t48jrnqq.js → filesystem-t48jrnqq.js} +1 -1
  286. package/dist/chunks/{event-logger-61qraad9.js → filesystem-t8erkws8.js} +5 -5
  287. package/dist/chunks/{event-logger-r58d7y94.js → filesystem-taa6ksrb.js} +3 -3
  288. package/dist/chunks/{event-logger-62zd5tzk.js → filesystem-tb2mrvc9.js} +7 -7
  289. package/dist/chunks/{event-logger-tbpn7jtk.js → filesystem-tbpn7jtk.js} +1 -1
  290. package/dist/chunks/{event-logger-tczq8hjw.js → filesystem-tczq8hjw.js} +1 -1
  291. package/dist/chunks/{event-logger-fdrbqvh6.js → filesystem-th0477r0.js} +8 -8
  292. package/dist/chunks/{event-logger-yjh7jbr3.js → filesystem-tk96nzak.js} +31 -31
  293. package/dist/chunks/{event-logger-j376ae4e.js → filesystem-tr8x705m.js} +5 -5
  294. package/dist/chunks/{event-logger-9d6wjg0a.js → filesystem-trz3127x.js} +23 -23
  295. package/dist/chunks/{event-logger-mm06edep.js → filesystem-tvtps2q9.js} +6 -7
  296. package/dist/chunks/{event-logger-twssxy5n.js → filesystem-twssxy5n.js} +2 -2
  297. package/dist/chunks/{event-logger-tqpaksp0.js → filesystem-v1ps7nwg.js} +8 -8
  298. package/dist/chunks/{event-logger-v2r1d0zg.js → filesystem-v2r1d0zg.js} +1 -1
  299. package/dist/chunks/{event-logger-160yv0cs.js → filesystem-v5hpj9dd.js} +8 -8
  300. package/dist/chunks/{event-logger-j3k739k1.js → filesystem-v7rmebyy.js} +16 -16
  301. package/dist/chunks/{event-logger-461f2rcz.js → filesystem-vcbvzcay.js} +3 -3
  302. package/dist/chunks/{event-logger-ntaabztc.js → filesystem-vhmjqsfk.js} +6 -6
  303. package/dist/chunks/{event-logger-vjf35v1f.js → filesystem-vjf35v1f.js} +1 -1
  304. package/dist/chunks/{event-logger-e253s4ac.js → filesystem-vkxtbcsc.js} +15 -15
  305. package/dist/chunks/{event-logger-s4mprw62.js → filesystem-vp24eq8c.js} +5 -5
  306. package/dist/chunks/{event-logger-9rztdry8.js → filesystem-vq0y6bse.js} +11 -11
  307. package/dist/chunks/{event-logger-3450dmdx.js → filesystem-vsbgvdf0.js} +23 -18
  308. package/dist/chunks/{event-logger-nznkv68n.js → filesystem-vyzkhsyt.js} +12 -12
  309. package/dist/chunks/{event-logger-55271zqq.js → filesystem-w0jedvew.js} +30 -30
  310. package/dist/chunks/{event-logger-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
  311. package/dist/chunks/{event-logger-m170w9hk.js → filesystem-w4zkc3a0.js} +16 -16
  312. package/dist/chunks/{event-logger-wr3re1en.js → filesystem-w687dnns.js} +4 -4
  313. package/dist/chunks/{event-logger-wakvkjy4.js → filesystem-wakvkjy4.js} +1 -1
  314. package/dist/chunks/{event-logger-wd87259q.js → filesystem-wd87259q.js} +1 -1
  315. package/dist/chunks/{event-logger-wegkxhrn.js → filesystem-wegkxhrn.js} +2 -2
  316. package/dist/chunks/{event-logger-fyfzbt3s.js → filesystem-weqc7sb9.js} +2 -2
  317. package/dist/chunks/{event-logger-g4zsvtq0.js → filesystem-wfxxzfe0.js} +15 -15
  318. package/dist/chunks/{event-logger-bdaygxa6.js → filesystem-wk3tvmbz.js} +36 -36
  319. package/dist/chunks/{event-logger-3h5z7vgp.js → filesystem-wq8rmehe.js} +29 -29
  320. package/dist/chunks/{event-logger-68teftay.js → filesystem-wryyvkqn.js} +22 -22
  321. package/dist/chunks/{event-logger-79k544d0.js → filesystem-wvr8xscb.js} +7 -7
  322. package/dist/chunks/{event-logger-bbzy17b9.js → filesystem-wzcb695t.js} +59 -59
  323. package/dist/chunks/{event-logger-pct4p3yk.js → filesystem-x1hgtw2f.js} +6 -6
  324. package/dist/chunks/{event-logger-6ejjbczr.js → filesystem-x5cd4jne.js} +6 -6
  325. package/dist/chunks/{event-logger-ngyqh69c.js → filesystem-x6jvqskc.js} +27 -27
  326. package/dist/chunks/{event-logger-ejgeqqx1.js → filesystem-x7e420mc.js} +8 -8
  327. package/dist/chunks/{event-logger-e1gc2t3g.js → filesystem-x83082rg.js} +191 -191
  328. package/dist/chunks/{event-logger-spysdwxw.js → filesystem-x9tgsr9g.js} +11 -11
  329. package/dist/chunks/{event-logger-51zaerfh.js → filesystem-xep6jqgx.js} +49 -49
  330. package/dist/chunks/{event-logger-xxschbft.js → filesystem-xjr6c8m4.js} +4 -4
  331. package/dist/chunks/{event-logger-eqxe8rhz.js → filesystem-xrf5bdyr.js} +16 -16
  332. package/dist/chunks/{event-logger-4mcv9g69.js → filesystem-xv6av45t.js} +11 -11
  333. package/dist/chunks/{event-logger-zpzp6d8n.js → filesystem-xxphw40g.js} +6 -6
  334. package/dist/chunks/{event-logger-hyq7ny1j.js → filesystem-y2jyke39.js} +14 -14
  335. package/dist/chunks/{event-logger-bx958sf8.js → filesystem-y6psyawz.js} +26 -26
  336. package/dist/chunks/{event-logger-zxrwfkf3.js → filesystem-y7k285qd.js} +33 -33
  337. package/dist/chunks/{event-logger-vqmth87c.js → filesystem-y9yxqpkb.js} +16 -16
  338. package/dist/chunks/{event-logger-yb20nhc3.js → filesystem-yb20nhc3.js} +1 -1
  339. package/dist/chunks/{event-logger-zxwn8npj.js → filesystem-yqhvz5dd.js} +62 -66
  340. package/dist/chunks/{event-logger-yr705xyq.js → filesystem-yr705xyq.js} +1 -1
  341. package/dist/chunks/{event-logger-yvtc2x31.js → filesystem-yvtc2x31.js} +1 -1
  342. package/dist/chunks/{event-logger-4pw98qd4.js → filesystem-yydqqga9.js} +4 -4
  343. package/dist/chunks/{event-logger-38aws4xb.js → filesystem-z080rjh6.js} +4 -4
  344. package/dist/chunks/{event-logger-hm1ec11z.js → filesystem-z1y40jkr.js} +14 -14
  345. package/dist/chunks/{event-logger-y1g0wtcd.js → filesystem-z664tc7y.js} +3 -3
  346. package/dist/chunks/{event-logger-19s9nrwf.js → filesystem-z9cq7218.js} +4 -4
  347. package/dist/chunks/{event-logger-8c3a1y3h.js → filesystem-zaqe5xsm.js} +1 -1
  348. package/dist/chunks/{event-logger-83jaandp.js → filesystem-zdgre5kj.js} +23 -23
  349. package/dist/chunks/{event-logger-59hd7tc6.js → filesystem-zsp4v0js.js} +11 -11
  350. package/dist/codemode/catalog.js +1 -1
  351. package/dist/codemode/execution.js +1 -1
  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 +92 -92
  356. package/dist/config/discovery.js +97 -97
  357. package/dist/config/integration.js +5 -5
  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 +129 -129
  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 +128 -128
  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 -7
  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 +83 -83
  391. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  392. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  393. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  394. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +105 -105
  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 +107 -107
  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 +116 -116
  503. package/dist/flag.js +129 -129
  504. package/dist/form.js +93 -93
  505. package/dist/formatter/builtins.js +2 -2
  506. package/dist/formatter.js +100 -100
  507. package/dist/generate.js +122 -122
  508. package/dist/git.js +9 -9
  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 +112 -112
  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 +1 -1
  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 +4 -4
  533. package/dist/instance/service.js +5 -5
  534. package/dist/instance.js +431 -431
  535. package/dist/instruction-discovery.js +95 -95
  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 +102 -102
  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 +88 -88
  544. package/dist/kv/sql.js +2 -2
  545. package/dist/kv.js +84 -84
  546. package/dist/location-activity.js +184 -184
  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 +100 -100
  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 +124 -124
  555. package/dist/mcp/instructions.js +185 -185
  556. package/dist/mcp/oauth.js +89 -89
  557. package/dist/mcp/pool.js +110 -110
  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 +112 -112
  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 +91 -91
  569. package/dist/permission/sql.js +5 -5
  570. package/dist/permission.js +158 -158
  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 +97 -97
  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 +3 -3
  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 +146 -146
  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 +3 -3
  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 +4 -4
  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 +1 -1
  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 +112 -112
  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 +1 -1
  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 +2 -2
  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 +140 -140
  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 +140 -140
  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 +138 -138
  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 +89 -89
  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 +6 -6
  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 +8 -8
  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 +7 -7
  676. package/dist/plugin.js +255 -255
  677. package/dist/project/icon.js +5 -5
  678. package/dist/project/schema.js +8 -8
  679. package/dist/project/sql.js +4 -4
  680. package/dist/project.js +103 -103
  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 +101 -101
  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 +109 -109
  691. package/dist/rpc.js +99 -99
  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 +249 -249
  707. package/dist/session/execution.js +165 -165
  708. package/dist/session/generate.js +206 -206
  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 +169 -169
  718. package/dist/session/model-transport.js +7 -7
  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 +3 -3
  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 +3 -3
  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 +2 -2
  741. package/dist/session/subagent-completion.js +1 -1
  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 +246 -246
  747. package/dist/session/usage.js +3 -3
  748. package/dist/session.js +239 -239
  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 +15 -15
  754. package/dist/shell.js +147 -147
  755. package/dist/skill/discovery.js +6 -6
  756. package/dist/skill/instructions.js +152 -152
  757. package/dist/skill.js +155 -155
  758. package/dist/snapshot.js +102 -102
  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 +184 -184
  763. package/dist/tool/plugin/artifact.js +236 -236
  764. package/dist/tool/plugin/edit.js +166 -166
  765. package/dist/tool/plugin/file-diff.js +1 -1
  766. package/dist/tool/plugin/glob.js +172 -172
  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 +160 -160
  777. package/dist/tool/plugin/subagent.js +240 -240
  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 +159 -159
  787. package/dist/types/config/plugin/entry-observer.d.ts +1 -5
  788. package/dist/types/config.d.ts +0 -5
  789. package/dist/types/console-access.d.ts +0 -12
  790. package/dist/types/plugin/internal.d.ts +1 -3
  791. package/dist/usage-limits.js +94 -94
  792. package/dist/util/error-summary.js +1 -1
  793. package/dist/util/git-executable.js +3 -3
  794. package/dist/util/lazy.js +1 -1
  795. package/dist/util/slug.js +1 -1
  796. package/dist/util/token.js +1 -1
  797. package/dist/util/which.js +1 -1
  798. package/dist/util/wildcard.js +1 -1
  799. package/dist/v1/config/agent.js +5 -5
  800. package/dist/v1/config/command.js +3 -3
  801. package/dist/v1/config/mcp.js +4 -4
  802. package/dist/v1/config/migrate.js +105 -105
  803. package/dist/v1/config/permission.js +3 -3
  804. package/dist/v1/config/plugin.js +3 -3
  805. package/dist/v1/config/provider-options.js +1 -1
  806. package/dist/v1/config/provider.js +4 -4
  807. package/dist/variant.js +104 -104
  808. package/dist/vcs/patch.js +1 -1
  809. package/dist/vcs.js +102 -102
  810. package/dist/voice.js +101 -101
  811. package/dist/websearch.js +101 -101
  812. package/dist/wellknown/plugin.js +85 -85
  813. package/dist/wellknown.js +92 -92
  814. package/dist/workspace/driver.js +5 -5
  815. package/dist/workspace/sql.js +1 -1
  816. package/dist/workspace.js +91 -91
  817. package/dist/worktree/directory.js +2 -2
  818. package/dist/worktree/git.js +9 -9
  819. package/dist/worktree/sql.js +5 -5
  820. package/dist/worktree/strategies.js +102 -102
  821. package/dist/worktree.js +109 -109
  822. package/package.json +8 -8
  823. package/dist/chunks/event-logger-26xw1n6q.js +0 -26
  824. package/dist/chunks/event-logger-ffm8k566.js +0 -265
  825. package/dist/chunks/event-logger-qmh7vbk2.js +0 -18
  826. package/dist/chunks/event-logger-zbxcwakx.js +0 -47
  827. /package/dist/chunks/{event-logger-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
  828. /package/dist/chunks/{event-logger-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
  829. /package/dist/chunks/{event-logger-108x4f4w.js → filesystem-108x4f4w.js} +0 -0
  830. /package/dist/chunks/{event-logger-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
  831. /package/dist/chunks/{event-logger-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
  832. /package/dist/chunks/{event-logger-1kah00gy.js → filesystem-1kah00gy.js} +0 -0
  833. /package/dist/chunks/{event-logger-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
  834. /package/dist/chunks/{event-logger-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
  835. /package/dist/chunks/{event-logger-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
  836. /package/dist/chunks/{event-logger-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
  837. /package/dist/chunks/{event-logger-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
  838. /package/dist/chunks/{event-logger-3af0jn4w.js → filesystem-3af0jn4w.js} +0 -0
  839. /package/dist/chunks/{event-logger-3asan66x.js → filesystem-3asan66x.js} +0 -0
  840. /package/dist/chunks/{event-logger-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
  841. /package/dist/chunks/{event-logger-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
  842. /package/dist/chunks/{event-logger-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
  843. /package/dist/chunks/{event-logger-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
  844. /package/dist/chunks/{event-logger-4qk9sjk2.js → filesystem-4qk9sjk2.js} +0 -0
  845. /package/dist/chunks/{event-logger-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
  846. /package/dist/chunks/{event-logger-53557ph1.js → filesystem-53557ph1.js} +0 -0
  847. /package/dist/chunks/{event-logger-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
  848. /package/dist/chunks/{event-logger-5w3e23ze.js → filesystem-5w3e23ze.js} +0 -0
  849. /package/dist/chunks/{event-logger-6agm2x70.js → filesystem-6agm2x70.js} +0 -0
  850. /package/dist/chunks/{event-logger-6prwharc.js → filesystem-6prwharc.js} +0 -0
  851. /package/dist/chunks/{event-logger-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
  852. /package/dist/chunks/{event-logger-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
  853. /package/dist/chunks/{event-logger-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
  854. /package/dist/chunks/{event-logger-822emrt2.js → filesystem-822emrt2.js} +0 -0
  855. /package/dist/chunks/{event-logger-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
  856. /package/dist/chunks/{event-logger-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
  857. /package/dist/chunks/{event-logger-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
  858. /package/dist/chunks/{event-logger-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
  859. /package/dist/chunks/{event-logger-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
  860. /package/dist/chunks/{event-logger-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
  861. /package/dist/chunks/{event-logger-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
  862. /package/dist/chunks/{event-logger-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
  863. /package/dist/chunks/{event-logger-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
  864. /package/dist/chunks/{event-logger-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
  865. /package/dist/chunks/{event-logger-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
  866. /package/dist/chunks/{event-logger-beh6qq61.js → filesystem-beh6qq61.js} +0 -0
  867. /package/dist/chunks/{event-logger-bhmrqjy3.js → filesystem-bhmrqjy3.js} +0 -0
  868. /package/dist/chunks/{event-logger-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
  869. /package/dist/chunks/{event-logger-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
  870. /package/dist/chunks/{event-logger-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
  871. /package/dist/chunks/{event-logger-cqv5kn06.js → filesystem-cqv5kn06.js} +0 -0
  872. /package/dist/chunks/{event-logger-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
  873. /package/dist/chunks/{event-logger-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
  874. /package/dist/chunks/{event-logger-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
  875. /package/dist/chunks/{event-logger-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
  876. /package/dist/chunks/{event-logger-df08tz66.js → filesystem-df08tz66.js} +0 -0
  877. /package/dist/chunks/{event-logger-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
  878. /package/dist/chunks/{event-logger-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
  879. /package/dist/chunks/{event-logger-ean2d8b5.js → filesystem-ean2d8b5.js} +0 -0
  880. /package/dist/chunks/{event-logger-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
  881. /package/dist/chunks/{event-logger-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
  882. /package/dist/chunks/{event-logger-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
  883. /package/dist/chunks/{event-logger-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
  884. /package/dist/chunks/{event-logger-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
  885. /package/dist/chunks/{event-logger-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
  886. /package/dist/chunks/{event-logger-fkpq3x5p.js → filesystem-fkpq3x5p.js} +0 -0
  887. /package/dist/chunks/{event-logger-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
  888. /package/dist/chunks/{event-logger-g86h250q.js → filesystem-g86h250q.js} +0 -0
  889. /package/dist/chunks/{event-logger-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
  890. /package/dist/chunks/{event-logger-gftt206x.js → filesystem-gftt206x.js} +0 -0
  891. /package/dist/chunks/{event-logger-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
  892. /package/dist/chunks/{event-logger-hk9envan.js → filesystem-hk9envan.js} +0 -0
  893. /package/dist/chunks/{event-logger-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
  894. /package/dist/chunks/{event-logger-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
  895. /package/dist/chunks/{event-logger-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
  896. /package/dist/chunks/{event-logger-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
  897. /package/dist/chunks/{event-logger-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
  898. /package/dist/chunks/{event-logger-jwr30sdr.js → filesystem-jwr30sdr.js} +0 -0
  899. /package/dist/chunks/{event-logger-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
  900. /package/dist/chunks/{event-logger-m18g726c.js → filesystem-m18g726c.js} +0 -0
  901. /package/dist/chunks/{event-logger-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
  902. /package/dist/chunks/{event-logger-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
  903. /package/dist/chunks/{event-logger-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
  904. /package/dist/chunks/{event-logger-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
  905. /package/dist/chunks/{event-logger-nh4v3znn.js → filesystem-nh4v3znn.js} +0 -0
  906. /package/dist/chunks/{event-logger-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
  907. /package/dist/chunks/{event-logger-p71gwv9c.js → filesystem-p71gwv9c.js} +0 -0
  908. /package/dist/chunks/{event-logger-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
  909. /package/dist/chunks/{event-logger-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
  910. /package/dist/chunks/{event-logger-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
  911. /package/dist/chunks/{event-logger-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
  912. /package/dist/chunks/{event-logger-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
  913. /package/dist/chunks/{event-logger-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
  914. /package/dist/chunks/{event-logger-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
  915. /package/dist/chunks/{event-logger-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
  916. /package/dist/chunks/{event-logger-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
  917. /package/dist/chunks/{event-logger-syrav9an.js → filesystem-syrav9an.js} +0 -0
  918. /package/dist/chunks/{event-logger-t03h4f5z.js → filesystem-t03h4f5z.js} +0 -0
  919. /package/dist/chunks/{event-logger-ty7weeps.js → filesystem-ty7weeps.js} +0 -0
  920. /package/dist/chunks/{event-logger-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
  921. /package/dist/chunks/{event-logger-vtarvj67.js → filesystem-vtarvj67.js} +0 -0
  922. /package/dist/chunks/{event-logger-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
  923. /package/dist/chunks/{event-logger-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
  924. /package/dist/chunks/{event-logger-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
  925. /package/dist/chunks/{event-logger-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
  926. /package/dist/chunks/{event-logger-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
  927. /package/dist/chunks/{event-logger-x4th4bpe.js → filesystem-x4th4bpe.js} +0 -0
  928. /package/dist/chunks/{event-logger-x61499pn.js → filesystem-x61499pn.js} +0 -0
  929. /package/dist/chunks/{event-logger-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
  930. /package/dist/chunks/{event-logger-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
  931. /package/dist/chunks/{event-logger-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
  932. /package/dist/chunks/{event-logger-z0h12gs8.js → filesystem-z0h12gs8.js} +0 -0
  933. /package/dist/chunks/{event-logger-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
  934. /package/dist/chunks/{event-logger-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
  935. /package/dist/chunks/{event-logger-zxpyjp51.js → filesystem-zxpyjp51.js} +0 -0
@@ -1,143 +1,143 @@
1
1
  import {
2
2
  Metadata2,
3
- node75
4
- } from "./event-logger-5wyzzdh8.js";
3
+ node67
4
+ } from "./filesystem-qa3zm6vn.js";
5
5
  import {
6
- Service91,
7
- node95
8
- } from "./event-logger-j3k739k1.js";
6
+ Service89,
7
+ node92
8
+ } from "./filesystem-v7rmebyy.js";
9
9
  import {
10
- ID14,
11
- Service73,
12
- node76
13
- } from "./event-logger-srabb7dz.js";
10
+ ID12,
11
+ Service64,
12
+ node65
13
+ } from "./filesystem-181902zs.js";
14
14
  import {
15
- ID21,
15
+ ID17,
16
16
  OAuth3
17
- } from "./event-logger-m3k4f4wp.js";
17
+ } from "./filesystem-hx5nh5s3.js";
18
18
  import {
19
19
  AbsolutePath2
20
- } from "./event-logger-z5v4ffb3.js";
20
+ } from "./filesystem-z5v4ffb3.js";
21
21
  import {
22
- Info26,
23
- Ref4,
24
- Service85,
22
+ Info30,
23
+ Ref5,
24
+ Service86,
25
25
  node89
26
- } from "./event-logger-hyq7ny1j.js";
26
+ } from "./filesystem-y2jyke39.js";
27
27
  import {
28
- ID20,
28
+ ID16,
29
29
  MethodID2,
30
30
  AttemptID2,
31
31
  Method2,
32
- Service88,
33
- node92
34
- } from "./event-logger-mdrjseww.js";
32
+ Service74,
33
+ node76
34
+ } from "./filesystem-3ag897fb.js";
35
35
  import {
36
- ID17,
37
- Service82,
38
- node86
39
- } from "./event-logger-q92r6wg6.js";
36
+ ID15,
37
+ Service73,
38
+ node75
39
+ } from "./filesystem-skbh59st.js";
40
40
  import {
41
- ID16,
42
- Service81,
43
- node85
44
- } from "./event-logger-csbkhh9r.js";
41
+ ID14,
42
+ Service72,
43
+ node74
44
+ } from "./filesystem-bh17vazq.js";
45
45
  import {
46
- Service84,
47
- node88
48
- } from "./event-logger-t8rdgqhb.js";
46
+ Service91,
47
+ node94
48
+ } from "./filesystem-0yhbbq00.js";
49
49
  import {
50
50
  Key2,
51
- Service32,
52
- node37
53
- } from "./event-logger-h49hp34r.js";
51
+ Service27,
52
+ node31
53
+ } from "./filesystem-mskkk8kf.js";
54
54
  import {
55
- Service72,
56
- node74
57
- } from "./event-logger-gn6qas9s.js";
55
+ Service68,
56
+ node70
57
+ } from "./filesystem-0gwbn6a0.js";
58
58
  import {
59
- Service69,
60
- node71
61
- } from "./event-logger-51zaerfh.js";
59
+ Service61,
60
+ node62
61
+ } from "./filesystem-xep6jqgx.js";
62
62
  import {
63
- Service66,
64
- node68
65
- } from "./event-logger-nznkv68n.js";
63
+ Service67,
64
+ node69
65
+ } from "./filesystem-vyzkhsyt.js";
66
66
  import {
67
- ID15
68
- } from "./event-logger-8dmpkg7y.js";
67
+ ID19
68
+ } from "./filesystem-ay4fx4x8.js";
69
69
  import {
70
- Service41,
71
- node45
72
- } from "./event-logger-dy7cgtbm.js";
70
+ Service36,
71
+ node39
72
+ } from "./filesystem-ck7e0r21.js";
73
73
  import {
74
74
  Service43,
75
- node47,
75
+ node46,
76
76
  Error2
77
- } from "./event-logger-v0p3ytcm.js";
77
+ } from "./filesystem-nkphb79f.js";
78
78
  import {
79
- Source5,
80
- Service74,
81
- node77
82
- } from "./event-logger-3w343411.js";
79
+ Source3,
80
+ Service40,
81
+ node43
82
+ } from "./filesystem-j181v3gh.js";
83
83
  import {
84
84
  Info12,
85
- Service47,
86
- node50
87
- } from "./event-logger-3ztwrxep.js";
88
- import {
89
85
  Service46,
90
- node49
91
- } from "./event-logger-9d6wjg0a.js";
86
+ node48
87
+ } from "./filesystem-2ynhg311.js";
92
88
  import {
93
- Service68,
94
- node70
95
- } from "./event-logger-cttnq2ya.js";
89
+ Service39,
90
+ node42
91
+ } from "./filesystem-trz3127x.js";
96
92
  import {
97
- Service28,
98
- node32
99
- } from "./event-logger-51kt8vqr.js";
93
+ Service60,
94
+ node61
95
+ } from "./filesystem-jy0jnkzv.js";
96
+ import {
97
+ Service24,
98
+ node27
99
+ } from "./filesystem-cmm5btky.js";
100
100
  import {
101
101
  ProviderID2,
102
- Service27,
103
- node31
104
- } from "./event-logger-qqarxf7p.js";
102
+ Service23,
103
+ node26
104
+ } from "./filesystem-d9qmvhen.js";
105
105
  import {
106
- Service55,
107
- node58
108
- } from "./event-logger-23wmfp43.js";
106
+ Service53,
107
+ node55
108
+ } from "./filesystem-9e67kptv.js";
109
109
  import {
110
- Service67,
111
- node69,
110
+ Service77,
111
+ node79,
112
112
  eventDefinition2
113
- } from "./event-logger-vhcs6f4s.js";
113
+ } from "./filesystem-6rkgwr3t.js";
114
114
  import {
115
- Service26,
116
- node30
117
- } from "./event-logger-83jaandp.js";
115
+ Service19,
116
+ node22
117
+ } from "./filesystem-zdgre5kj.js";
118
118
  import {
119
- ID7,
120
- Service23,
121
- node27
122
- } from "./event-logger-bdaygxa6.js";
119
+ ID9,
120
+ Service52,
121
+ node54
122
+ } from "./filesystem-wk3tvmbz.js";
123
123
  import {
124
- Service25,
125
- node29
126
- } from "./event-logger-w6ab945r.js";
124
+ Service21,
125
+ node24
126
+ } from "./filesystem-c1edwwnv.js";
127
127
  import {
128
128
  StrategyID2,
129
129
  Info7,
130
130
  ListEntry2,
131
- Service24,
132
- node28
133
- } from "./event-logger-jhkq54md.js";
131
+ Service20,
132
+ node23
133
+ } from "./filesystem-cqv7tc87.js";
134
134
  import {
135
- Service57,
136
- node60
137
- } from "./event-logger-f45mtqja.js";
135
+ Service22,
136
+ node25
137
+ } from "./filesystem-4d76xdka.js";
138
138
  import {
139
139
  __export
140
- } from "./event-logger-9rqn6x4v.js";
140
+ } from "./filesystem-9rqn6x4v.js";
141
141
 
142
142
  // src/plugin/host.ts
143
143
  var exports_host = {};
@@ -157,52 +157,52 @@ var isRpcEvent = (event) => isRpcType(event.type);
157
157
  var isPublicEvent = (event) => EventManifest.isServer(event) || isRpcEvent(event);
158
158
  var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
159
159
  const app = yield* Metadata2;
160
- const agents = yield* Service73;
161
- const artifacts = yield* Service27;
162
- const aisdk = yield* Service66;
163
- const providers = yield* Service82;
164
- const models = yield* Service81;
165
- const commands = yield* Service46;
166
- const bus = yield* Service91;
167
- const integration = yield* Service88;
168
- const kv = yield* Service84;
169
- const mcp = yield* Service41;
170
- const location = yield* Service85;
171
- const reference = yield* Service74;
172
- const rpc = yield* Service67;
173
- const skill = yield* Service47;
160
+ const agents = yield* Service64;
161
+ const artifacts = yield* Service23;
162
+ const aisdk = yield* Service67;
163
+ const providers = yield* Service73;
164
+ const models = yield* Service72;
165
+ const commands = yield* Service39;
166
+ const bus = yield* Service89;
167
+ const integration = yield* Service74;
168
+ const kv = yield* Service91;
169
+ const mcp = yield* Service36;
170
+ const location = yield* Service86;
171
+ const reference = yield* Service40;
172
+ const rpc = yield* Service77;
173
+ const skill = yield* Service46;
174
174
  const tools = yield* Service43;
175
- const vcs = yield* Service26;
176
- const websearch = yield* Service23;
177
- const generate = yield* Service57;
175
+ const vcs = yield* Service19;
176
+ const websearch = yield* Service52;
177
+ const generate = yield* Service22;
178
178
  const generateText = (input) => generate.text(input).pipe(Effect.map((text) => ({ text })));
179
- const permission = yield* Service69;
180
- const hooks = yield* Service72;
181
- const sessions = yield* Service28;
182
- const instructionEntries = yield* Service32;
183
- const persistentPty = yield* Service55;
184
- const locations = yield* Service68;
185
- const worktrees = yield* Service24;
186
- const worktreeStrategies = yield* Service25;
179
+ const permission = yield* Service61;
180
+ const hooks = yield* Service68;
181
+ const sessions = yield* Service24;
182
+ const instructionEntries = yield* Service27;
183
+ const persistentPty = yield* Service53;
184
+ const locations = yield* Service60;
185
+ const worktrees = yield* Service20;
186
+ const worktreeStrategies = yield* Service21;
187
187
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
188
- const locationInfo = (current = location) => new Info26({
188
+ const locationInfo = (current = location) => new Info30({
189
189
  directory: current.directory,
190
190
  workspaceID: current.workspaceID,
191
191
  project: current.project
192
192
  });
193
- const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
193
+ const locationRef = (input) => input?.location === undefined ? undefined : Ref5.make({
194
194
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
195
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID15.make(input.location.workspace)
195
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID19.make(input.location.workspace)
196
196
  });
197
197
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
198
198
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
199
199
  const atLocation = (ref, effect) => Effect.gen(function* () {
200
- return { location: locationInfo(yield* Service85), data: yield* effect };
200
+ return { location: locationInfo(yield* Service86), data: yield* effect };
201
201
  }).pipe(Effect.provide(locations.get(ref)));
202
202
  const sessionPermission = (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? Effect.succeed(request) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`))));
203
203
  const decodeWorktree = Schema.decodeUnknownEffect(Info7);
204
204
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry2));
205
- const listAgents = Effect.fn("PluginHost.listAgents")((ref) => atLocation(ref, Effect.flatMap(Service73, (agents) => agents.list())).pipe(Effect.orDie));
205
+ const listAgents = Effect.fn("PluginHost.listAgents")((ref) => atLocation(ref, Effect.flatMap(Service64, (agents) => agents.list())).pipe(Effect.orDie));
206
206
  const context = {
207
207
  app,
208
208
  location: locationInfo(),
@@ -227,10 +227,10 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
227
227
  transform: (callback) => agents.transform((editor) => {
228
228
  callback({
229
229
  list: editor.list,
230
- get: (id) => editor.get(ID14.make(id)),
231
- default: (id) => editor.default(id === undefined ? undefined : ID14.make(id)),
232
- update: (id, update) => editor.update(ID14.make(id), update),
233
- remove: (id) => editor.remove(ID14.make(id))
230
+ get: (id) => editor.get(ID12.make(id)),
231
+ default: (id) => editor.default(id === undefined ? undefined : ID12.make(id)),
232
+ update: (id, update) => editor.update(ID12.make(id), update),
233
+ remove: (id) => editor.remove(ID12.make(id))
234
234
  });
235
235
  })
236
236
  },
@@ -264,22 +264,22 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
264
264
  },
265
265
  provider: {
266
266
  list: () => response(providers.available()),
267
- get: (input) => providers.get(ID17.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
267
+ get: (input) => providers.get(ID15.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
268
268
  reload: providers.reload,
269
269
  transform: (callback) => providers.transform((editor) => {
270
270
  callback({
271
271
  list: editor.list,
272
- get: (id) => editor.get(ID17.make(id)),
272
+ get: (id) => editor.get(ID15.make(id)),
273
273
  add: (definition) => editor.add({
274
274
  ...definition,
275
275
  sourceConnection: definition.sourceConnection && connectionInfo(definition.sourceConnection)
276
276
  }),
277
- update: (id, update) => editor.update(ID17.make(id), update),
278
- remove: (id) => editor.remove(ID17.make(id)),
277
+ update: (id, update) => editor.update(ID15.make(id), update),
278
+ remove: (id) => editor.remove(ID15.make(id)),
279
279
  models: {
280
- set: (id, models) => editor.models.set(ID17.make(id), models),
281
- update: (providerID, modelID, update) => editor.models.update(ID17.make(providerID), ID16.make(modelID), update),
282
- remove: (providerID, modelID) => editor.models.remove(ID17.make(providerID), ID16.make(modelID))
280
+ set: (id, models) => editor.models.set(ID15.make(id), models),
281
+ update: (providerID, modelID, update) => editor.models.update(ID15.make(providerID), ID14.make(modelID), update),
282
+ remove: (providerID, modelID) => editor.models.remove(ID15.make(providerID), ID14.make(modelID))
283
283
  }
284
284
  });
285
285
  })
@@ -289,17 +289,17 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
289
289
  default: () => response(models.default()),
290
290
  reload: models.reload,
291
291
  transform: (callback) => models.transform((editor) => callback({
292
- list: (providerID) => editor.list(providerID === undefined ? undefined : ID17.make(providerID)),
293
- get: (providerID, modelID) => editor.get(ID17.make(providerID), ID16.make(modelID)),
294
- update: (providerID, modelID, update) => editor.update(ID17.make(providerID), ID16.make(modelID), update),
295
- remove: (providerID, modelID) => editor.remove(ID17.make(providerID), ID16.make(modelID)),
292
+ list: (providerID) => editor.list(providerID === undefined ? undefined : ID15.make(providerID)),
293
+ get: (providerID, modelID) => editor.get(ID15.make(providerID), ID14.make(modelID)),
294
+ update: (providerID, modelID, update) => editor.update(ID15.make(providerID), ID14.make(modelID), update),
295
+ remove: (providerID, modelID) => editor.remove(ID15.make(providerID), ID14.make(modelID)),
296
296
  default: {
297
297
  get: editor.default.get,
298
- set: (providerID, modelID) => editor.default.set(ID17.make(providerID), ID16.make(modelID))
298
+ set: (providerID, modelID) => editor.default.set(ID15.make(providerID), ID14.make(modelID))
299
299
  },
300
300
  provider: {
301
301
  list: editor.provider.list,
302
- get: (id) => editor.provider.get(ID17.make(id))
302
+ get: (id) => editor.provider.get(ID15.make(id))
303
303
  }
304
304
  }))
305
305
  },
@@ -368,20 +368,20 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
368
368
  integration: {
369
369
  list: () => response(integration.list()),
370
370
  get: Effect.fn(function* (input) {
371
- const item = yield* integration.get(ID20.make(input.integrationID));
371
+ const item = yield* integration.get(ID16.make(input.integrationID));
372
372
  if (!item)
373
373
  return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
374
374
  return yield* response(Effect.succeed(item));
375
375
  }),
376
376
  connect: {
377
377
  key: (input) => integration.connection.key({
378
- integrationID: ID20.make(input.integrationID),
378
+ integrationID: ID16.make(input.integrationID),
379
379
  key: input.key,
380
380
  answer: input.answer,
381
381
  label: input.label
382
382
  }),
383
383
  external: (input) => integration.connection.external({
384
- integrationID: ID20.make(input.integrationID),
384
+ integrationID: ID16.make(input.integrationID),
385
385
  methodID: MethodID2.make(input.methodID),
386
386
  answer: input.answer,
387
387
  label: input.label
@@ -389,46 +389,46 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
389
389
  },
390
390
  oauth: {
391
391
  connect: (input) => response(integration.oauth.connect({
392
- integrationID: ID20.make(input.integrationID),
392
+ integrationID: ID16.make(input.integrationID),
393
393
  methodID: MethodID2.make(input.methodID),
394
394
  answer: input.answer,
395
395
  label: input.label
396
396
  })),
397
397
  status: (input) => response(integration.oauth.status({
398
- integrationID: ID20.make(input.integrationID),
398
+ integrationID: ID16.make(input.integrationID),
399
399
  attemptID: AttemptID2.make(input.attemptID)
400
400
  })),
401
401
  complete: (input) => integration.oauth.complete({
402
- integrationID: ID20.make(input.integrationID),
402
+ integrationID: ID16.make(input.integrationID),
403
403
  attemptID: AttemptID2.make(input.attemptID),
404
404
  code: input.code
405
405
  }),
406
406
  cancel: (input) => integration.oauth.cancel({
407
- integrationID: ID20.make(input.integrationID),
407
+ integrationID: ID16.make(input.integrationID),
408
408
  attemptID: AttemptID2.make(input.attemptID)
409
409
  })
410
410
  },
411
411
  command: {
412
412
  connect: (input) => response(integration.command.connect({
413
- integrationID: ID20.make(input.integrationID),
413
+ integrationID: ID16.make(input.integrationID),
414
414
  methodID: MethodID2.make(input.methodID),
415
415
  label: input.label
416
416
  })),
417
417
  status: (input) => response(integration.command.status({
418
- integrationID: ID20.make(input.integrationID),
418
+ integrationID: ID16.make(input.integrationID),
419
419
  attemptID: AttemptID2.make(input.attemptID)
420
420
  })),
421
421
  cancel: (input) => integration.command.cancel({
422
- integrationID: ID20.make(input.integrationID),
422
+ integrationID: ID16.make(input.integrationID),
423
423
  attemptID: AttemptID2.make(input.attemptID)
424
424
  })
425
425
  },
426
426
  reload: integration.reload,
427
427
  connection: {
428
- active: (id) => integration.connection.active(ID20.make(id)),
428
+ active: (id) => integration.connection.active(ID16.make(id)),
429
429
  resolve: (connection) => integration.connection.resolve(connectionInfo(connection)),
430
430
  status: (input) => integration.connection.status({
431
- integrationID: ID20.make(input.integrationID),
431
+ integrationID: ID16.make(input.integrationID),
432
432
  connection: connectionInfo(input.connection),
433
433
  status: input.status
434
434
  })
@@ -436,13 +436,13 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
436
436
  transform: (callback) => integration.transform((editor) => {
437
437
  callback({
438
438
  list: editor.list,
439
- get: (id) => editor.get(ID20.make(id)),
440
- update: (id, update) => editor.update(ID20.make(id), update),
441
- remove: (id) => editor.remove(ID20.make(id)),
439
+ get: (id) => editor.get(ID16.make(id)),
440
+ update: (id, update) => editor.update(ID16.make(id), update),
441
+ remove: (id) => editor.remove(ID16.make(id)),
442
442
  method: {
443
- list: (id) => editor.method.list(ID20.make(id)),
443
+ list: (id) => editor.method.list(ID16.make(id)),
444
444
  update: (input) => editor.method.update(methodImplementation(input)),
445
- remove: (id, method) => editor.method.remove(ID20.make(id), Schema.decodeUnknownSync(Method2)(method))
445
+ remove: (id, method) => editor.method.remove(ID16.make(id), Schema.decodeUnknownSync(Method2)(method))
446
446
  }
447
447
  });
448
448
  })
@@ -451,7 +451,7 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
451
451
  list: (input) => {
452
452
  const ref = locationRef(input);
453
453
  if (ref && !isCurrentLocation(ref))
454
- return atLocation(ref, Effect.flatMap(Service41, (mcp) => mcp.servers()));
454
+ return atLocation(ref, Effect.flatMap(Service36, (mcp) => mcp.servers()));
455
455
  return response(mcp.servers());
456
456
  },
457
457
  reload: mcp.reload,
@@ -484,7 +484,7 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
484
484
  reload: reference.reload,
485
485
  transform: (callback) => reference.transform((editor) => {
486
486
  callback({
487
- add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source5)(source)),
487
+ add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
488
488
  remove: editor.remove,
489
489
  list: editor.list,
490
490
  get: editor.get
@@ -529,19 +529,19 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
529
529
  providers: () => response(websearch.providers()),
530
530
  query: (input) => response(websearch.query({
531
531
  query: input.query,
532
- providerID: input.providerID === undefined ? undefined : ID7.make(input.providerID)
532
+ providerID: input.providerID === undefined ? undefined : ID9.make(input.providerID)
533
533
  })),
534
534
  reload: websearch.reload,
535
535
  transform: (callback) => websearch.transform((editor) => {
536
536
  callback({
537
537
  add: (definition) => editor.add({
538
- id: ID7.make(definition.id),
538
+ id: ID9.make(definition.id),
539
539
  name: definition.name,
540
540
  execute: definition.execute
541
541
  }),
542
542
  default: {
543
543
  get: editor.default.get,
544
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID7.make(selection))
544
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID9.make(selection))
545
545
  }
546
546
  });
547
547
  })
@@ -572,7 +572,7 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
572
572
  metadata: input?.metadata,
573
573
  permissions: input?.permissions,
574
574
  ...input?.parentID === undefined ? {
575
- location: input?.location ?? Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
575
+ location: input?.location ?? Ref5.make({ directory: location.directory, workspaceID: location.workspaceID })
576
576
  } : { parentID: input.parentID }
577
577
  }),
578
578
  get: (input) => sessions.get(input.sessionID),
@@ -620,33 +620,33 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
620
620
  return context;
621
621
  });
622
622
  var requirements3 = LayerNode.group([
623
+ node67,
624
+ node65,
625
+ node26,
626
+ node69,
623
627
  node75,
624
- node76,
625
- node31,
626
- node68,
627
- node86,
628
- node85,
629
- node49,
630
- node95,
628
+ node74,
629
+ node42,
631
630
  node92,
632
- node88,
633
- node45,
631
+ node76,
632
+ node94,
633
+ node39,
634
634
  node89,
635
- node77,
636
- node69,
637
- node50,
638
- node47,
639
- node30,
635
+ node43,
636
+ node79,
637
+ node48,
638
+ node46,
639
+ node22,
640
+ node54,
641
+ node23,
642
+ node24,
643
+ node25,
644
+ node62,
645
+ node70,
640
646
  node27,
641
- node28,
642
- node29,
643
- node60,
644
- node71,
645
- node74,
646
- node32,
647
- node37,
648
- node58,
649
- node70
647
+ node31,
648
+ node55,
649
+ node61
650
650
  ]);
651
651
  function storage2(kv, pluginID) {
652
652
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -673,7 +673,7 @@ function methodImplementation(input) {
673
673
  if ("authorize" in input) {
674
674
  const refresh = input.refresh;
675
675
  return {
676
- integrationID: ID20.make(input.integrationID),
676
+ integrationID: ID16.make(input.integrationID),
677
677
  method: { ...input.method, id: MethodID2.make(input.method.id) },
678
678
  authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
679
679
  if (authorization.mode === "auto") {
@@ -693,29 +693,29 @@ function methodImplementation(input) {
693
693
  }
694
694
  if (input.method.type === "env") {
695
695
  return {
696
- integrationID: ID20.make(input.integrationID),
696
+ integrationID: ID16.make(input.integrationID),
697
697
  method: input.method
698
698
  };
699
699
  }
700
700
  if (input.method.type === "command") {
701
701
  return {
702
- integrationID: ID20.make(input.integrationID),
702
+ integrationID: ID16.make(input.integrationID),
703
703
  method: { ...input.method, id: MethodID2.make(input.method.id) }
704
704
  };
705
705
  }
706
706
  if (input.method.type === "external") {
707
707
  return {
708
- integrationID: ID20.make(input.integrationID),
708
+ integrationID: ID16.make(input.integrationID),
709
709
  method: { ...input.method, id: MethodID2.make(input.method.id) }
710
710
  };
711
711
  }
712
712
  return {
713
- integrationID: ID20.make(input.integrationID),
713
+ integrationID: ID16.make(input.integrationID),
714
714
  method: input.method
715
715
  };
716
716
  }
717
717
  function connectionInfo(connection) {
718
- return connection.type === "credential" ? { ...connection, id: ID21.make(connection.id) } : connection;
718
+ return connection.type === "credential" ? { ...connection, id: ID17.make(connection.id) } : connection;
719
719
  }
720
720
  function credential(value) {
721
721
  return OAuth3.make({ ...value, methodID: MethodID2.make(value.methodID) });