@opencode/core 0.0.0-dev-537 → 0.0.0-dev-549

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 (934) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +94 -94
  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 +238 -236
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{console-access-0tew5ztj.js → location-00g1md0g.js} +8 -8
  9. package/dist/chunks/{console-access-m6jd9r5t.js → location-0g3r6f93.js} +25 -25
  10. package/dist/chunks/{console-access-0ma9gw4f.js → location-0ma9gw4f.js} +2 -2
  11. package/dist/chunks/{console-access-9rgr5dz2.js → location-0mgprbja.js} +6 -6
  12. package/dist/chunks/{console-access-963hk181.js → location-0mtp185z.js} +9 -9
  13. package/dist/chunks/{console-access-e8x8wxtq.js → location-0rasd5pw.js} +6 -6
  14. package/dist/chunks/{console-access-j055yfan.js → location-14xva1bm.js} +40 -40
  15. package/dist/chunks/{console-access-1aqsckx4.js → location-1aqsckx4.js} +1 -1
  16. package/dist/chunks/{console-access-vzarxv01.js → location-1bcn4m06.js} +36 -36
  17. package/dist/chunks/{console-access-gzm7e5ze.js → location-1bdjvbg3.js} +9 -9
  18. package/dist/chunks/{console-access-swsjztth.js → location-1er8j9h7.js} +31 -31
  19. package/dist/chunks/{console-access-z7ry9cjm.js → location-1fj7g4kf.js} +23 -23
  20. package/dist/chunks/{console-access-k3zq5bxc.js → location-1h2pfbzg.js} +12 -12
  21. package/dist/chunks/{console-access-c66pd6yg.js → location-1p1ex4nm.js} +22 -22
  22. package/dist/chunks/{console-access-syxe2jw8.js → location-1q5te1bf.js} +5 -5
  23. package/dist/chunks/{console-access-1x2knyw4.js → location-1x2knyw4.js} +1 -1
  24. package/dist/chunks/{console-access-g0cwgpmg.js → location-1xrr95rh.js} +23 -23
  25. package/dist/chunks/{console-access-5mnj44n1.js → location-21m3rdz8.js} +29 -29
  26. package/dist/chunks/{console-access-dg5naf6e.js → location-229tvxdn.js} +4 -4
  27. package/dist/chunks/{console-access-b2a1gydb.js → location-22awn32v.js} +18 -18
  28. package/dist/chunks/{console-access-9wpm5p4w.js → location-24k5xjpd.js} +35 -35
  29. package/dist/chunks/{console-access-h5mcbjm5.js → location-24wmtb0v.js} +9 -9
  30. package/dist/chunks/{console-access-25h84942.js → location-25h84942.js} +1 -1
  31. package/dist/chunks/{console-access-dtf3ehe3.js → location-26k5zxwd.js} +37 -37
  32. package/dist/chunks/{console-access-nsc1n6hp.js → location-27mnyv39.js} +19 -19
  33. package/dist/chunks/{console-access-1ep2p91f.js → location-27w5k9zf.js} +2 -2
  34. package/dist/chunks/{console-access-6mjketch.js → location-28te7a42.js} +30 -30
  35. package/dist/chunks/{console-access-28esfj65.js → location-29wct24j.js} +59 -59
  36. package/dist/chunks/{console-access-32gt9e98.js → location-2etvp3wj.js} +11 -11
  37. package/dist/chunks/{console-access-v3fdbaam.js → location-2f7nmn6j.js} +17 -17
  38. package/dist/chunks/{console-access-p9x26950.js → location-2hc2yyeh.js} +8 -8
  39. package/dist/chunks/{console-access-w3n36f2y.js → location-2hr8wh7g.js} +29 -29
  40. package/dist/chunks/{console-access-2kg89srt.js → location-2kg89srt.js} +1 -1
  41. package/dist/chunks/{console-access-jpgxg7xs.js → location-2n3gv0gf.js} +20 -23
  42. package/dist/chunks/{console-access-2p60zmnr.js → location-2p60zmnr.js} +2 -2
  43. package/dist/chunks/{console-access-epsc95hz.js → location-2v0m0jqf.js} +16 -16
  44. package/dist/chunks/{console-access-49rwpqnq.js → location-3098yrch.js} +8 -8
  45. package/dist/chunks/{console-access-3adw4bt5.js → location-3adw4bt5.js} +2 -2
  46. package/dist/chunks/{console-access-ayjs7tqn.js → location-3cbjf1nt.js} +2 -2
  47. package/dist/chunks/{console-access-gegta5sw.js → location-3cess0ak.js} +19 -19
  48. package/dist/chunks/{console-access-z9vdytz2.js → location-3gbg9zyz.js} +20 -20
  49. package/dist/chunks/{console-access-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{console-access-3nnrz6f6.js → location-3nnrz6f6.js} +1 -1
  51. package/dist/chunks/{console-access-h9ect3m5.js → location-3rx2wvpy.js} +36 -36
  52. package/dist/chunks/{console-access-vrp67h4x.js → location-3w8bmz7a.js} +13 -13
  53. package/dist/chunks/{console-access-ejecrhsa.js → location-40qvad7a.js} +18 -18
  54. package/dist/chunks/{console-access-40y6dtc2.js → location-40y6dtc2.js} +1 -1
  55. package/dist/chunks/{console-access-44pmzq9c.js → location-44pmzq9c.js} +2 -2
  56. package/dist/chunks/{console-access-cchd39rm.js → location-496zx028.js} +3 -3
  57. package/dist/chunks/{console-access-5pk5tb9q.js → location-49z9ts7r.js} +28 -28
  58. package/dist/chunks/{console-access-4dx1dgte.js → location-4dx1dgte.js} +1 -1
  59. package/dist/chunks/{console-access-ycw5dhyk.js → location-4ehf0h4n.js} +32 -32
  60. package/dist/chunks/location-4m6g1g4q.js +16 -0
  61. package/dist/chunks/{console-access-dqpqkpyf.js → location-4nqk0hsk.js} +3 -3
  62. package/dist/chunks/{console-access-bex4xsk5.js → location-4pw98qd4.js} +4 -4
  63. package/dist/chunks/{console-access-4pyp9zr9.js → location-4pyp9zr9.js} +1 -1
  64. package/dist/chunks/{console-access-v0nsnd0c.js → location-4rv8rzzq.js} +44 -44
  65. package/dist/chunks/{console-access-4v008n1t.js → location-4v008n1t.js} +1 -1
  66. package/dist/chunks/{console-access-ce64h981.js → location-50fc5w3v.js} +51 -51
  67. package/dist/chunks/{console-access-1kwdh1fn.js → location-51hmv0n2.js} +16 -16
  68. package/dist/chunks/{console-access-w7wdrfz2.js → location-53c3zvhr.js} +20 -20
  69. package/dist/chunks/{console-access-hretfjjx.js → location-55g2q5p5.js} +2 -2
  70. package/dist/chunks/{console-access-240j0061.js → location-5an73ftn.js} +14 -14
  71. package/dist/chunks/{console-access-zs4xeqky.js → location-5e320d1d.js} +33 -33
  72. package/dist/chunks/{console-access-5m9w47nd.js → location-5m9w47nd.js} +1 -1
  73. package/dist/chunks/{console-access-re7bwp4b.js → location-5n1pdvk8.js} +5 -5
  74. package/dist/chunks/{console-access-b6vsg801.js → location-5nnwax6m.js} +5 -5
  75. package/dist/chunks/{console-access-8cg7mtm3.js → location-5whx36p1.js} +4 -4
  76. package/dist/chunks/{console-access-86pjn6ya.js → location-61j2dr2k.js} +11 -11
  77. package/dist/chunks/{console-access-j0h7znxd.js → location-672s6p6h.js} +8 -8
  78. package/dist/chunks/{console-access-3sset37d.js → location-6ca5gq91.js} +38 -38
  79. package/dist/chunks/{console-access-jhwp234h.js → location-6dqyy18z.js} +4 -4
  80. package/dist/chunks/{console-access-ctmpqb7w.js → location-6h8vcvjm.js} +9 -9
  81. package/dist/chunks/{console-access-hnxcq2te.js → location-6khbp5y7.js} +3 -3
  82. package/dist/chunks/{console-access-d8m3see0.js → location-6sxv3xyg.js} +190 -190
  83. package/dist/chunks/{console-access-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{console-access-m74s51x0.js → location-7cyyvkg3.js} +10 -10
  85. package/dist/chunks/{console-access-xkee8cke.js → location-7dv5yvw2.js} +11 -11
  86. package/dist/chunks/{console-access-9gs5pyxf.js → location-7g9t2g4r.js} +22 -22
  87. package/dist/chunks/{console-access-q17sq61s.js → location-7gesxgma.js} +15 -15
  88. package/dist/chunks/{console-access-x4mcewfn.js → location-7nqkf5r1.js} +4 -4
  89. package/dist/chunks/{console-access-4pk3sz26.js → location-7sztb6xg.js} +11 -11
  90. package/dist/chunks/{console-access-7w2ypzdf.js → location-7w2ypzdf.js} +1 -1
  91. package/dist/chunks/{console-access-7weczvnd.js → location-7weczvnd.js} +1 -1
  92. package/dist/chunks/{console-access-80mg3ag8.js → location-80mg3ag8.js} +3 -3
  93. package/dist/chunks/{console-access-k3r6kg1p.js → location-80ptpaf2.js} +16 -16
  94. package/dist/chunks/location-82rsrcxe.js +107 -0
  95. package/dist/chunks/{console-access-8cptkrwc.js → location-85kbv84c.js} +47 -47
  96. package/dist/chunks/{console-access-q5p3a3y6.js → location-86bhhzhr.js} +6 -6
  97. package/dist/chunks/{console-access-2prk6ebz.js → location-88addkp8.js} +11 -11
  98. package/dist/chunks/{console-access-vre1dc8m.js → location-88x184bh.js} +35 -35
  99. package/dist/chunks/{console-access-89287pr7.js → location-89287pr7.js} +1 -1
  100. package/dist/chunks/{console-access-wkbw1ng8.js → location-8f5grysg.js} +5 -5
  101. package/dist/chunks/{console-access-774wbpts.js → location-8r1t7fjh.js} +7 -7
  102. package/dist/chunks/{console-access-7z4hrd4s.js → location-8sw5jvf7.js} +18 -18
  103. package/dist/chunks/{console-access-j1zpf99x.js → location-8t99kr38.js} +7 -7
  104. package/dist/chunks/{console-access-8wtp7s3z.js → location-8wtp7s3z.js} +1 -1
  105. package/dist/chunks/{console-access-mb7mbhnz.js → location-8z6m94af.js} +3 -3
  106. package/dist/chunks/{console-access-90zstvax.js → location-90zstvax.js} +1 -1
  107. package/dist/chunks/{console-access-m83kddn0.js → location-9mg34vhp.js} +21 -21
  108. package/dist/chunks/{console-access-58wf94jx.js → location-9nkjg9qd.js} +6 -6
  109. package/dist/chunks/{console-access-01qfsx65.js → location-9wafm76a.js} +10 -10
  110. package/dist/chunks/{console-access-4yyb5ss0.js → location-9xb2zfd0.js} +17 -17
  111. package/dist/chunks/{console-access-v8wxce3j.js → location-9yhd652z.js} +18 -18
  112. package/dist/chunks/{console-access-brejs92x.js → location-9zkqpytn.js} +9 -9
  113. package/dist/chunks/{console-access-4qhpafb5.js → location-a5s2mgkk.js} +23 -23
  114. package/dist/chunks/{console-access-xye1ahg3.js → location-a90jbrtj.js} +5 -5
  115. package/dist/chunks/{console-access-jsaamj9a.js → location-aa5gs0ma.js} +25 -25
  116. package/dist/chunks/{console-access-034tev2y.js → location-aj7mw0zk.js} +2 -2
  117. package/dist/chunks/{console-access-s599h56h.js → location-ann72nrn.js} +7 -7
  118. package/dist/chunks/{console-access-861ehekx.js → location-anp5wpvc.js} +9 -9
  119. package/dist/chunks/{console-access-fcva30w8.js → location-asq1rgrp.js} +21 -21
  120. package/dist/chunks/{console-access-z6pangaz.js → location-aw410gph.js} +5 -5
  121. package/dist/chunks/{console-access-z1xhyz8k.js → location-awdze267.js} +10 -10
  122. package/dist/chunks/{console-access-dc17v6bw.js → location-axq5kvf5.js} +8 -8
  123. package/dist/chunks/{console-access-0ypesc4q.js → location-az0zdj3z.js} +24 -24
  124. package/dist/chunks/{console-access-4e1tj326.js → location-b14gg4sh.js} +8 -8
  125. package/dist/chunks/{console-access-ejefhtr3.js → location-b2a6g2nk.js} +12 -12
  126. package/dist/chunks/{console-access-2a6nbhm4.js → location-b3rnm8z6.js} +21 -21
  127. package/dist/chunks/{console-access-8sxe6kv8.js → location-bb3mmwvh.js} +2 -2
  128. package/dist/chunks/{console-access-yxzafcqq.js → location-bk155q1p.js} +1 -1
  129. package/dist/chunks/{console-access-tth38vxj.js → location-bngqrr2y.js} +13 -13
  130. package/dist/chunks/{console-access-bstexjd6.js → location-bstexjd6.js} +1 -1
  131. package/dist/chunks/location-by8ty0bx.js +64 -0
  132. package/dist/chunks/{console-access-sp6zsjn8.js → location-byg4vm5c.js} +9 -9
  133. package/dist/chunks/{console-access-s6d84vpq.js → location-c1qw8qm5.js} +76 -76
  134. package/dist/chunks/{console-access-4dd9qjzm.js → location-c32zfq3f.js} +8 -8
  135. package/dist/chunks/{console-access-m172dm4s.js → location-c6bcwanj.js} +19 -19
  136. package/dist/chunks/{console-access-pnpynw7j.js → location-c79r39j2.js} +43 -43
  137. package/dist/chunks/{console-access-es228e0a.js → location-c8t8aq99.js} +1 -1
  138. package/dist/chunks/{console-access-azf088fb.js → location-cf0xxfvt.js} +3 -3
  139. package/dist/chunks/{console-access-h62m34gk.js → location-cjmczvka.js} +7 -7
  140. package/dist/chunks/{console-access-99sanczd.js → location-cneqv1e4.js} +17 -17
  141. package/dist/chunks/{console-access-cwrgdav8.js → location-cwrgdav8.js} +2 -2
  142. package/dist/chunks/{console-access-64fctkm5.js → location-cy0qxgnz.js} +19 -19
  143. package/dist/chunks/{console-access-dbxt12az.js → location-d4ptbbme.js} +77 -77
  144. package/dist/chunks/{console-access-d4v9tmah.js → location-d4v9tmah.js} +2 -2
  145. package/dist/chunks/{console-access-90dd7jwa.js → location-dab5xxk2.js} +22 -22
  146. package/dist/chunks/{console-access-gd0ntgzq.js → location-db7k8z7c.js} +9 -9
  147. package/dist/chunks/location-dcjv76an.js +563 -0
  148. package/dist/chunks/{console-access-ddvn7d3w.js → location-ddvn7d3w.js} +1 -1
  149. package/dist/chunks/{console-access-xbvabqg6.js → location-dkyhnhrn.js} +4 -4
  150. package/dist/chunks/{console-access-dt77769w.js → location-dt77769w.js} +1 -1
  151. package/dist/chunks/{console-access-4g523th0.js → location-dttk3hyr.js} +11 -11
  152. package/dist/chunks/{console-access-5ba5kpqp.js → location-dy4cmv3t.js} +16 -16
  153. package/dist/chunks/{console-access-m0xatp34.js → location-e3dxhb1y.js} +5 -5
  154. package/dist/chunks/{console-access-e834z07m.js → location-e834z07m.js} +1 -1
  155. package/dist/chunks/{console-access-7zqvgeze.js → location-eava8vrw.js} +33 -33
  156. package/dist/chunks/{console-access-p2tvx8t7.js → location-ekhvmsd2.js} +9 -9
  157. package/dist/chunks/{console-access-t4jx0tp6.js → location-ep55863c.js} +36 -36
  158. package/dist/chunks/{console-access-cxab28sr.js → location-ep6pe98a.js} +7 -7
  159. package/dist/chunks/{console-access-1eeb1y27.js → location-eqphgmwc.js} +30 -30
  160. package/dist/chunks/{console-access-eqw4pqj1.js → location-eqw4pqj1.js} +2 -2
  161. package/dist/chunks/{console-access-1yq9hg58.js → location-f35f93zp.js} +5 -5
  162. package/dist/chunks/{console-access-pkg9mjnw.js → location-fez79j33.js} +29 -29
  163. package/dist/chunks/{console-access-fffv3p7h.js → location-fffv3p7h.js} +1 -1
  164. package/dist/chunks/{console-access-cr44ae3x.js → location-fnm34e0k.js} +5 -5
  165. package/dist/chunks/{console-access-0m6fyr40.js → location-g442wsqe.js} +11 -11
  166. package/dist/chunks/{console-access-taavsht5.js → location-g6x407r8.js} +7 -7
  167. package/dist/chunks/{console-access-7mvxqbtz.js → location-g7hdff6r.js} +16 -16
  168. package/dist/chunks/{console-access-adqje3c4.js → location-g7pr83p9.js} +12 -12
  169. package/dist/chunks/{console-access-gbjdnr5j.js → location-gbjdnr5j.js} +2 -2
  170. package/dist/chunks/{console-access-bn231sga.js → location-gdqaa4j1.js} +18 -18
  171. package/dist/chunks/{console-access-pj1z3rfc.js → location-gfqmq9ve.js} +6 -6
  172. package/dist/chunks/{console-access-ghrv1g9c.js → location-ghrv1g9c.js} +1 -1
  173. package/dist/chunks/{console-access-q6rf6t0p.js → location-gpyr6xh8.js} +51 -48
  174. package/dist/chunks/{console-access-pw5ca1dz.js → location-gs2np24p.js} +50 -50
  175. package/dist/chunks/{console-access-xzq0mc7c.js → location-gv58d16x.js} +11 -11
  176. package/dist/chunks/{console-access-16c35rba.js → location-gxfxt5pf.js} +80 -61
  177. package/dist/chunks/{console-access-jp70m33d.js → location-h362tsex.js} +11 -11
  178. package/dist/chunks/{console-access-y02s2zv9.js → location-hf1k9qq1.js} +15 -15
  179. package/dist/chunks/{console-access-vbmqhdwa.js → location-hhcannk5.js} +14 -14
  180. package/dist/chunks/{console-access-8y9rtgx6.js → location-hn64gcjm.js} +8 -8
  181. package/dist/chunks/{console-access-ybyvbhg6.js → location-hrhp5jj2.js} +9 -9
  182. package/dist/chunks/{console-access-c6x7d2ts.js → location-j3f8hyeg.js} +4 -4
  183. package/dist/chunks/{console-access-0mknkfh7.js → location-j80pfzfz.js} +25 -25
  184. package/dist/chunks/{console-access-s4kyhetj.js → location-ja2hdmbx.js} +6 -6
  185. package/dist/chunks/{console-access-synhjsvb.js → location-jbvfs4em.js} +11 -11
  186. package/dist/chunks/{console-access-npe6ag9b.js → location-jd0gtgnk.js} +18 -18
  187. package/dist/chunks/{console-access-sqkx1aqy.js → location-jdye0830.js} +6 -6
  188. package/dist/chunks/{console-access-n80mj3p5.js → location-jesems5z.js} +16 -16
  189. package/dist/chunks/{console-access-mr4fa0tp.js → location-jfy3wmtj.js} +5 -5
  190. package/dist/chunks/{console-access-atptb1gj.js → location-jkb5ry9r.js} +15 -15
  191. package/dist/chunks/{console-access-hae7e5hr.js → location-jpb0ceh1.js} +3 -3
  192. package/dist/chunks/{console-access-mh6c9rmv.js → location-k26qzjcn.js} +5 -5
  193. package/dist/chunks/{console-access-ekz2zfy6.js → location-kaqpkrxc.js} +4 -4
  194. package/dist/chunks/{console-access-gvsr3njm.js → location-kczttyx7.js} +30 -30
  195. package/dist/chunks/{console-access-kh8gdsej.js → location-kh8gdsej.js} +1 -1
  196. package/dist/chunks/{console-access-7fzt4bje.js → location-kk4ftmpj.js} +10 -10
  197. package/dist/chunks/{console-access-ssccbre0.js → location-krry6xc9.js} +41 -41
  198. package/dist/chunks/{console-access-kt3bjfbg.js → location-kt3bjfbg.js} +1 -1
  199. package/dist/chunks/{console-access-zvy3d7d2.js → location-kwvb3wvp.js} +11 -11
  200. package/dist/chunks/{console-access-kzczzf4v.js → location-kzczzf4v.js} +1 -1
  201. package/dist/chunks/{console-access-694dpcrp.js → location-kze6nzna.js} +4 -4
  202. package/dist/chunks/{console-access-t9rsqpp4.js → location-m0wf7vk9.js} +22 -22
  203. package/dist/chunks/{console-access-m1714858.js → location-m1714858.js} +1 -1
  204. package/dist/chunks/{console-access-d0pmvwgf.js → location-m5brqekz.js} +9 -9
  205. package/dist/chunks/{console-access-0ksptv7m.js → location-m5f7arcv.js} +14 -14
  206. package/dist/chunks/{console-access-cy536r8r.js → location-m5trwfa1.js} +22 -22
  207. package/dist/chunks/{console-access-gg8sx6as.js → location-m8w1tk0z.js} +16 -16
  208. package/dist/chunks/{console-access-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  209. package/dist/chunks/{console-access-ehqs72ba.js → location-mcr4dfm9.js} +11 -11
  210. package/dist/chunks/{console-access-n6kd4wv4.js → location-mee3xqxk.js} +28 -28
  211. package/dist/chunks/{console-access-j0tgfc8g.js → location-mj1vn29f.js} +8 -8
  212. package/dist/chunks/{console-access-9dfbahtw.js → location-mkms6vrd.js} +18 -18
  213. package/dist/chunks/{console-access-t9t4zga7.js → location-mndk49kg.js} +15 -15
  214. package/dist/chunks/{console-access-sbz71ybr.js → location-mqe7nf5n.js} +3 -3
  215. package/dist/chunks/{console-access-4gw5hq4k.js → location-mqh88k61.js} +25 -25
  216. package/dist/chunks/{console-access-1v2g13eq.js → location-msd2a3qm.js} +4 -4
  217. package/dist/chunks/{console-access-2dtsamb2.js → location-mv7w0mfd.js} +7 -7
  218. package/dist/chunks/{console-access-3ccgjac0.js → location-mxdrg681.js} +9 -9
  219. package/dist/chunks/{console-access-0spn13bn.js → location-mys1h67c.js} +13 -13
  220. package/dist/chunks/{console-access-snjjb7w5.js → location-n1yjejen.js} +23 -23
  221. package/dist/chunks/{console-access-kkb949w2.js → location-n9nxrj97.js} +19 -19
  222. package/dist/chunks/{console-access-xxschbft.js → location-nad3qcx8.js} +7 -7
  223. package/dist/chunks/{console-access-dvs1n6vs.js → location-nb49vfmx.js} +19 -19
  224. package/dist/chunks/{console-access-9a9gfm1e.js → location-ng8mw9tj.js} +16 -16
  225. package/dist/chunks/{console-access-jkdcm5hg.js → location-njx9gg5k.js} +4 -4
  226. package/dist/chunks/{console-access-stbett4v.js → location-nt907s04.js} +3 -3
  227. package/dist/chunks/{console-access-x6gccq9b.js → location-ntd6mt7g.js} +2 -2
  228. package/dist/chunks/location-nw5eecxx.js +29 -0
  229. package/dist/chunks/{console-access-wegkxhrn.js → location-nx4vzyjd.js} +2 -2
  230. package/dist/chunks/{console-access-czv08q49.js → location-p73183mt.js} +23 -23
  231. package/dist/chunks/{console-access-apqwmamv.js → location-pd7x5rvr.js} +24 -24
  232. package/dist/chunks/{console-access-6k3nzffy.js → location-pg16dvms.js} +33 -33
  233. package/dist/chunks/{console-access-pknna89w.js → location-pknna89w.js} +1 -1
  234. package/dist/chunks/{console-access-bf2mte99.js → location-pq3kcgdg.js} +17 -17
  235. package/dist/chunks/{console-access-yvr0023q.js → location-pqvrscc6.js} +11 -11
  236. package/dist/chunks/{console-access-fg9p65nk.js → location-prq7xxp2.js} +6 -6
  237. package/dist/chunks/{console-access-1fca3da3.js → location-ptfpayb5.js} +5 -5
  238. package/dist/chunks/{console-access-6rc2qz1w.js → location-pvw83gd8.js} +18 -18
  239. package/dist/chunks/{console-access-fe0asr0j.js → location-pwdwey2m.js} +16 -16
  240. package/dist/chunks/{console-access-q55v30df.js → location-pwz4za8m.js} +21 -21
  241. package/dist/chunks/{console-access-g5nj4j71.js → location-pzt2qzsv.js} +15 -15
  242. package/dist/chunks/{console-access-fzzqk20j.js → location-q85c6t22.js} +33 -33
  243. package/dist/chunks/{console-access-n809k4m2.js → location-qbf871ye.js} +31 -31
  244. package/dist/chunks/{console-access-d390zwf3.js → location-qfdvj3xm.js} +7 -7
  245. package/dist/chunks/{console-access-ty6yycrj.js → location-qgjrqfzw.js} +51 -51
  246. package/dist/chunks/{console-access-11yx2z4e.js → location-qkze4vyw.js} +8 -8
  247. package/dist/chunks/{console-access-qp7r0hxv.js → location-qp7r0hxv.js} +1 -1
  248. package/dist/chunks/{console-access-385q1qcs.js → location-qpz6rgpp.js} +23 -17
  249. package/dist/chunks/{console-access-wfdx5ztx.js → location-qsdghx1p.js} +4 -4
  250. package/dist/chunks/{console-access-kt5jkqqz.js → location-qwxddvhv.js} +45 -45
  251. package/dist/chunks/{console-access-qwfqk0b2.js → location-qzadthsm.js} +18 -18
  252. package/dist/chunks/{console-access-r542h3bh.js → location-r542h3bh.js} +1 -1
  253. package/dist/chunks/{console-access-rb9dy4dg.js → location-rb9dy4dg.js} +1 -1
  254. package/dist/chunks/{console-access-rgc9cx3e.js → location-rgc9cx3e.js} +2 -2
  255. package/dist/chunks/{console-access-svvkgzhv.js → location-rhm6bsed.js} +32 -32
  256. package/dist/chunks/{console-access-bbjt0fvc.js → location-rnd3b2xd.js} +21 -21
  257. package/dist/chunks/{console-access-rt5dr6hb.js → location-rt5dr6hb.js} +1 -1
  258. package/dist/chunks/{console-access-4n3v833w.js → location-s1dp4f9m.js} +10 -10
  259. package/dist/chunks/{console-access-q7adtpdd.js → location-s3s7ywdx.js} +7 -7
  260. package/dist/chunks/{console-access-3qf8cgak.js → location-s4ey0d1y.js} +28 -28
  261. package/dist/chunks/{console-access-6smswwh6.js → location-s86xkqp4.js} +20 -20
  262. package/dist/chunks/{console-access-sa3fpqfw.js → location-sa3fpqfw.js} +2 -2
  263. package/dist/chunks/{console-access-q6r0w6cv.js → location-sa4nqxt2.js} +20 -20
  264. package/dist/chunks/{console-access-m02f2aeb.js → location-sak91mvs.js} +6 -6
  265. package/dist/chunks/{console-access-xxpknyym.js → location-sb19dvwd.js} +6 -6
  266. package/dist/chunks/{console-access-sbya78hr.js → location-sbya78hr.js} +1 -1
  267. package/dist/chunks/{console-access-j55hy4c9.js → location-sdgq9cyd.js} +39 -39
  268. package/dist/chunks/{console-access-z080rjh6.js → location-sf9y72b7.js} +4 -4
  269. package/dist/chunks/{console-access-r24asw1v.js → location-sjjnm6tw.js} +69 -60
  270. package/dist/chunks/{console-access-sqjzf8x2.js → location-sqjzf8x2.js} +1 -1
  271. package/dist/chunks/{console-access-svcy3p9a.js → location-svcy3p9a.js} +1 -1
  272. package/dist/chunks/{console-access-3j29ntmr.js → location-svxffzph.js} +10 -10
  273. package/dist/chunks/{console-access-szwm4crx.js → location-szwm4crx.js} +4 -4
  274. package/dist/chunks/{console-access-bw8v0z00.js → location-t1y05ej8.js} +4 -4
  275. package/dist/chunks/{console-access-k2b1rh1h.js → location-t3qgac3j.js} +5 -5
  276. package/dist/chunks/{console-access-s8qtxmzm.js → location-t62dywgn.js} +4 -4
  277. package/dist/chunks/{console-access-78p2h4ex.js → location-t8erkws8.js} +5 -5
  278. package/dist/chunks/{console-access-tczq8hjw.js → location-tczq8hjw.js} +1 -1
  279. package/dist/chunks/{console-access-gxs71cxp.js → location-tg7s7b5t.js} +4 -4
  280. package/dist/chunks/{console-access-c5dk4fh9.js → location-tjmjwb41.js} +15 -15
  281. package/dist/chunks/{console-access-akw66we8.js → location-tmsew0nk.js} +74 -74
  282. package/dist/chunks/{console-access-j415cyc2.js → location-tpew8ywd.js} +47 -47
  283. package/dist/chunks/{console-access-tr8x705m.js → location-tr8x705m.js} +1 -1
  284. package/dist/chunks/{console-access-q62twncb.js → location-tsberxcb.js} +11 -11
  285. package/dist/chunks/{console-access-qnqasnye.js → location-tvssxyt8.js} +6 -6
  286. package/dist/chunks/{console-access-tvtps2q9.js → location-tvtps2q9.js} +1 -1
  287. package/dist/chunks/{console-access-wg8r148e.js → location-tw0ytpwg.js} +13 -13
  288. package/dist/chunks/location-twk4hq1b.js +26 -0
  289. package/dist/chunks/{console-access-tvyaj39k.js → location-twpr6wwv.js} +11 -11
  290. package/dist/chunks/{console-access-twssxy5n.js → location-twssxy5n.js} +2 -2
  291. package/dist/chunks/{console-access-6mt7j1qh.js → location-ty5d88js.js} +11 -11
  292. package/dist/chunks/{console-access-10n17nhp.js → location-tzjz6n71.js} +12 -12
  293. package/dist/chunks/{console-access-y1h6ch0f.js → location-v18wyzmg.js} +37 -37
  294. package/dist/chunks/{console-access-5k6yhdrg.js → location-v2bkhstg.js} +5 -5
  295. package/dist/chunks/{console-access-v2r1d0zg.js → location-v2r1d0zg.js} +1 -1
  296. package/dist/chunks/{console-access-sjnzk87v.js → location-vbjgpwzc.js} +26 -26
  297. package/dist/chunks/{console-access-mne6x9vy.js → location-vctewhgk.js} +9 -9
  298. package/dist/chunks/{console-access-1pk0e05p.js → location-vek77fn1.js} +4 -4
  299. package/dist/chunks/{console-access-rw03g0pq.js → location-vhe66tjb.js} +5 -5
  300. package/dist/chunks/{console-access-vjf35v1f.js → location-vjf35v1f.js} +1 -1
  301. package/dist/chunks/{console-access-0sx3mf7h.js → location-vk3sbvx6.js} +28 -28
  302. package/dist/chunks/{console-access-69rarv6g.js → location-vmqe41cb.js} +4 -4
  303. package/dist/chunks/{console-access-p0p9tkfe.js → location-vycakrba.js} +35 -35
  304. package/dist/chunks/{console-access-035wadpx.js → location-vzpmfw81.js} +7 -7
  305. package/dist/chunks/{console-access-5enarcya.js → location-w2eysc6j.js} +6 -6
  306. package/dist/chunks/{console-access-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  307. package/dist/chunks/{console-access-nxq2trj2.js → location-w6v6zcjs.js} +12 -12
  308. package/dist/chunks/{console-access-wakvkjy4.js → location-wakvkjy4.js} +1 -1
  309. package/dist/chunks/{console-access-z2ws00tz.js → location-wb3dtbhd.js} +4 -4
  310. package/dist/chunks/{console-access-wd87259q.js → location-wd87259q.js} +1 -1
  311. package/dist/chunks/{console-access-z2s11bdx.js → location-wemtpfsb.js} +15 -15
  312. package/dist/chunks/{console-access-nv2c5e9q.js → location-weqc7sb9.js} +3 -3
  313. package/dist/chunks/{console-access-wnhgecwx.js → location-wnhgecwx.js} +1 -1
  314. package/dist/chunks/{console-access-64wcxg8z.js → location-wpx1vxmw.js} +21 -21
  315. package/dist/chunks/{console-access-wr3re1en.js → location-wr3re1en.js} +1 -1
  316. package/dist/chunks/{console-access-79k544d0.js → location-wvr8xscb.js} +7 -7
  317. package/dist/chunks/{console-access-d8qpes95.js → location-wxfvd4xx.js} +23 -23
  318. package/dist/chunks/{console-access-c8mtj8p1.js → location-xceh9wya.js} +5 -5
  319. package/dist/chunks/{console-access-52xpdvfs.js → location-xghzbwcq.js} +11 -11
  320. package/dist/chunks/{console-access-58qfj6yj.js → location-xqgj3cf1.js} +26 -26
  321. package/dist/chunks/{console-access-2v0qfyqn.js → location-xz6wjjxj.js} +13 -13
  322. package/dist/chunks/{console-access-h9c75ys7.js → location-y32h7nsn.js} +32 -32
  323. package/dist/chunks/{console-access-1x1ecqxp.js → location-y88s9s95.js} +9 -9
  324. package/dist/chunks/{console-access-ctdvtmrn.js → location-y8h6g2sg.js} +6 -6
  325. package/dist/chunks/{console-access-yb20nhc3.js → location-yb20nhc3.js} +1 -1
  326. package/dist/chunks/{console-access-j1szda9m.js → location-ye5hdwv9.js} +4 -4
  327. package/dist/chunks/{console-access-5da9984t.js → location-yef4qhdn.js} +26 -26
  328. package/dist/chunks/{console-access-mtsv36kf.js → location-yf354g2s.js} +8 -8
  329. package/dist/chunks/{console-access-ew73cjz3.js → location-yfdv9gmh.js} +4 -4
  330. package/dist/chunks/{console-access-nnbr5c7q.js → location-yfgb1r8w.js} +23 -23
  331. package/dist/chunks/{console-access-jqsfgq45.js → location-yjkezv03.js} +4 -4
  332. package/dist/chunks/{console-access-yr705xyq.js → location-yr705xyq.js} +1 -1
  333. package/dist/chunks/{console-access-gd4n18ph.js → location-ys8aadwj.js} +2 -2
  334. package/dist/chunks/{console-access-9tyv2z1y.js → location-ysw2y4rw.js} +4 -4
  335. package/dist/chunks/{console-access-8xz27cp9.js → location-yts2a8qm.js} +4 -4
  336. package/dist/chunks/{console-access-yvtc2x31.js → location-yvtc2x31.js} +1 -1
  337. package/dist/chunks/{console-access-bc49p64r.js → location-yy84cna2.js} +21 -37
  338. package/dist/chunks/location-z355x5yr.js +18 -0
  339. package/dist/chunks/{console-access-ze75qvmd.js → location-ze75qvmd.js} +3 -3
  340. package/dist/chunks/{console-access-9syx072k.js → location-zk2nje20.js} +3 -3
  341. package/dist/chunks/location-zkxvtvhq.js +265 -0
  342. package/dist/chunks/{console-access-nad8wh8f.js → location-zs6zb2d6.js} +8 -8
  343. package/dist/chunks/{console-access-7nftjbqh.js → location-zscg4md0.js} +25 -25
  344. package/dist/chunks/{console-access-w9w8mt4n.js → location-ztf6n3de.js} +4 -4
  345. package/dist/chunks/{console-access-3vq7tsfw.js → location-zx0gvdrx.js} +11 -11
  346. package/dist/chunks/{console-access-6tbk1kcn.js → location-zzc8w7zq.js} +11 -11
  347. package/dist/codemode/catalog.js +1 -1
  348. package/dist/codemode/execution.js +5 -5
  349. package/dist/codemode/fetch.js +145 -145
  350. package/dist/codemode/instructions.js +11 -11
  351. package/dist/codemode/tool.js +151 -151
  352. package/dist/command.js +94 -94
  353. package/dist/config/discovery.js +95 -95
  354. package/dist/config/integration.js +5 -5
  355. package/dist/config/managed.js +1 -1
  356. package/dist/config/markdown.js +1 -1
  357. package/dist/config/normalize.js +112 -112
  358. package/dist/config/plugin/agent.js +131 -131
  359. package/dist/config/plugin/command.js +232 -230
  360. package/dist/config/plugin/compaction.js +171 -171
  361. package/dist/config/plugin/compatibility.js +150 -150
  362. package/dist/config/plugin/entry-observer.js +1 -1
  363. package/dist/config/plugin/formatter.js +131 -131
  364. package/dist/config/plugin/image.js +130 -130
  365. package/dist/config/plugin/instruction.js +130 -130
  366. package/dist/config/plugin/location-watcher.js +132 -132
  367. package/dist/config/plugin/mcp.js +139 -139
  368. package/dist/config/plugin/policy.js +130 -130
  369. package/dist/config/plugin/provider.js +132 -132
  370. package/dist/config/plugin/reference.js +132 -132
  371. package/dist/config/plugin/shell.js +130 -130
  372. package/dist/config/plugin/skill-file.js +146 -146
  373. package/dist/config/plugin/skill-scan.js +1 -1
  374. package/dist/config/plugin/skill.js +151 -151
  375. package/dist/config/plugin/snapshot.js +130 -130
  376. package/dist/config/plugin/source.js +132 -132
  377. package/dist/config/plugin/tool-output.js +131 -131
  378. package/dist/config/plugin/websearch.js +129 -129
  379. package/dist/config/plugin/worktree.js +132 -132
  380. package/dist/config/variable.js +1 -1
  381. package/dist/config/watch.js +1 -1
  382. package/dist/config.js +135 -135
  383. package/dist/console-access.js +1 -1
  384. package/dist/credential/sql.js +2 -2
  385. package/dist/credential.js +94 -94
  386. package/dist/database/database.js +77 -77
  387. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  388. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  389. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  390. package/dist/database/drizzle/index.js +15 -15
  391. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  392. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  393. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  394. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  395. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  396. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  397. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  398. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  399. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  400. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  401. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  402. package/dist/database/drizzle.js +16 -16
  403. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  404. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  405. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  406. package/dist/database/migration/20260225215848_workspace.js +1 -1
  407. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  408. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  409. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  410. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  411. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  412. package/dist/database/migration/20260323234822_events.js +1 -1
  413. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  414. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  415. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  416. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  417. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  418. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  419. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  420. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  421. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  422. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  423. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  424. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  425. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  426. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  427. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  428. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  429. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  430. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  431. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  432. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  433. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  434. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  435. package/dist/database/migration/20260611035744_credential.js +1 -1
  436. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  437. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  438. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  439. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  440. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  441. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  442. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  443. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  444. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  445. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  446. package/dist/database/migration/20260812213948_worktree.js +1 -1
  447. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  448. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  449. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  450. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  451. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  452. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  453. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  454. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  455. package/dist/database/migration/20261025123711_blob.js +1 -1
  456. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  457. package/dist/database/migration/20261026223005_schedule.js +1 -1
  458. package/dist/database/migration/20261029002625_session_part.js +1 -1
  459. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  460. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  461. package/dist/database/migration/20261030054400_job.js +1 -1
  462. package/dist/database/migration.gen.js +60 -60
  463. package/dist/database/migration.js +62 -62
  464. package/dist/database/path.js +2 -2
  465. package/dist/database/schema.gen.js +1 -1
  466. package/dist/database/schema.sql.js +1 -1
  467. package/dist/database/v1-migration.bun.js +105 -105
  468. package/dist/database/v1-migration.js +1 -1
  469. package/dist/effect/app-node-builder.js +437 -435
  470. package/dist/effect/app-node-platform.js +2 -2
  471. package/dist/effect/keyed-mutex.js +3 -3
  472. package/dist/effect/websocket-constructor.js +1 -1
  473. package/dist/environment/driver.js +1 -1
  474. package/dist/environment/environment.js +105 -105
  475. package/dist/environment/exec-defaults.js +2 -2
  476. package/dist/environment/files.js +1 -1
  477. package/dist/environment/index.js +109 -109
  478. package/dist/environment/local.js +2 -2
  479. package/dist/environment/memory.js +2 -2
  480. package/dist/environment/unavailable.js +1 -1
  481. package/dist/event/sql.js +1 -1
  482. package/dist/event-logger.js +81 -81
  483. package/dist/file-access.js +157 -157
  484. package/dist/file-mutation.js +108 -108
  485. package/dist/file-retention.js +1 -1
  486. package/dist/file-write.js +161 -161
  487. package/dist/filesystem/fff.bun.js +2 -2
  488. package/dist/filesystem/fff.js +1 -1
  489. package/dist/filesystem/fff.node.js +2 -2
  490. package/dist/filesystem/fff.workerd.js +2 -2
  491. package/dist/filesystem/file-watch.js +88 -88
  492. package/dist/filesystem/location-watcher-policy.js +6 -6
  493. package/dist/filesystem/location-watcher.js +249 -247
  494. package/dist/filesystem/protected.js +1 -1
  495. package/dist/filesystem/search.js +113 -113
  496. package/dist/filesystem/watcher-binding.js +1 -1
  497. package/dist/filesystem/watcher.js +11 -11
  498. package/dist/filesystem.js +118 -118
  499. package/dist/form.js +95 -95
  500. package/dist/formatter/builtins.js +4 -4
  501. package/dist/formatter.js +100 -100
  502. package/dist/generate.js +116 -116
  503. package/dist/git.js +11 -11
  504. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  505. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  506. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  507. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  508. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  509. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  510. package/dist/github-copilot/copilot-provider.js +17 -17
  511. package/dist/github-copilot/models.js +112 -112
  512. package/dist/github-copilot/openai-compatible-error.js +1 -1
  513. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  514. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  515. package/dist/github-copilot/responses/openai-error.js +1 -1
  516. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  517. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  518. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  519. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  520. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  521. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  522. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  523. package/dist/image/notice.js +1 -1
  524. package/dist/image/photon-normalize.js +1 -1
  525. package/dist/image/photon-worker.js +1 -1
  526. package/dist/image/photon.js +4 -4
  527. package/dist/image.js +6 -6
  528. package/dist/instance/service.js +5 -5
  529. package/dist/instance.js +428 -426
  530. package/dist/instruction-discovery.js +97 -97
  531. package/dist/instructions/builtins.js +100 -100
  532. package/dist/instructions/index.js +3 -3
  533. package/dist/integration/connection.js +3 -3
  534. package/dist/integration.js +100 -100
  535. package/dist/job/list.js +12 -0
  536. package/dist/job/recovery.js +7 -0
  537. package/dist/job/sql.js +2 -2
  538. package/dist/job.js +90 -88
  539. package/dist/kv/sql.js +2 -2
  540. package/dist/kv.js +84 -84
  541. package/dist/location-activity.js +178 -176
  542. package/dist/location-lifecycle.js +150 -150
  543. package/dist/location-service-map.js +99 -99
  544. package/dist/location-services.js +425 -423
  545. package/dist/location.js +100 -100
  546. package/dist/managed-policy.js +3 -3
  547. package/dist/mcp/client.js +105 -105
  548. package/dist/mcp/connection.js +106 -106
  549. package/dist/mcp/index.js +122 -122
  550. package/dist/mcp/instructions.js +183 -183
  551. package/dist/mcp/oauth.js +89 -89
  552. package/dist/mcp/socket-client.js +1 -1
  553. package/dist/mcp/stdio.js +104 -104
  554. package/dist/mime.js +1 -1
  555. package/dist/modal/models.js +112 -112
  556. package/dist/model-resolver.js +112 -112
  557. package/dist/model-retry.js +1 -1
  558. package/dist/model.js +113 -113
  559. package/dist/models-dev/v1.js +1 -1
  560. package/dist/models-dev.js +121 -121
  561. package/dist/oauth/page.js +1 -1
  562. package/dist/permission/saved.js +93 -93
  563. package/dist/permission/sql.js +5 -5
  564. package/dist/permission.js +153 -153
  565. package/dist/persistent-pty/binary.bun.js +1 -1
  566. package/dist/persistent-pty/daemon.js +1 -1
  567. package/dist/persistent-pty/index.js +97 -97
  568. package/dist/persistent-pty/pty-binding.js +1 -1
  569. package/dist/persistent-pty.js +86 -86
  570. package/dist/plugin/agent.js +85 -85
  571. package/dist/plugin/command.js +115 -115
  572. package/dist/plugin/goal.js +3 -3
  573. package/dist/plugin/hooks.js +5 -5
  574. package/dist/plugin/host.js +240 -238
  575. package/dist/plugin/identity.js +5 -5
  576. package/dist/plugin/instance.js +1 -1
  577. package/dist/plugin/internal.js +406 -404
  578. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  579. package/dist/plugin/models-dev.js +110 -110
  580. package/dist/plugin/module.js +127 -127
  581. package/dist/plugin/optimize.js +2 -2
  582. package/dist/plugin/plan.js +146 -146
  583. package/dist/plugin/promise.js +1 -1
  584. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  585. package/dist/plugin/provider/azure.js +133 -133
  586. package/dist/plugin/provider/cerebras.js +1 -1
  587. package/dist/plugin/provider/chatgpt.js +133 -133
  588. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  589. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  590. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  591. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  592. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  593. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  594. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  595. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  596. package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
  597. package/dist/plugin/provider/claude-agent/index.js +148 -148
  598. package/dist/plugin/provider/claude-agent/instructions.js +114 -114
  599. package/dist/plugin/provider/claude-agent/integration.js +113 -113
  600. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  601. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  602. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  603. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  604. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  605. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  606. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  607. package/dist/plugin/provider/claude-agent/provider.js +112 -112
  608. package/dist/plugin/provider/claude-agent/session.js +112 -112
  609. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  610. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  611. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  612. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  613. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  614. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  615. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  616. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  617. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  618. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  619. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  620. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  621. package/dist/plugin/provider/configured.js +126 -126
  622. package/dist/plugin/provider/credential-settings.js +88 -88
  623. package/dist/plugin/provider/databricks.js +1 -1
  624. package/dist/plugin/provider/digitalocean.js +109 -109
  625. package/dist/plugin/provider/dynamic.js +2 -2
  626. package/dist/plugin/provider/github-copilot.js +111 -111
  627. package/dist/plugin/provider/gitlab.js +109 -109
  628. package/dist/plugin/provider/google-vertex.js +127 -127
  629. package/dist/plugin/provider/kilo.js +1 -1
  630. package/dist/plugin/provider/llmgateway.js +89 -89
  631. package/dist/plugin/provider/lmstudio.js +140 -140
  632. package/dist/plugin/provider/local.js +137 -137
  633. package/dist/plugin/provider/modal.js +108 -108
  634. package/dist/plugin/provider/neon.js +1 -1
  635. package/dist/plugin/provider/nvidia.js +1 -1
  636. package/dist/plugin/provider/ollama.js +140 -140
  637. package/dist/plugin/provider/openai-context-caps.js +106 -106
  638. package/dist/plugin/provider/openai.js +133 -133
  639. package/dist/plugin/provider/opencode.js +157 -157
  640. package/dist/plugin/provider/openrouter.js +104 -104
  641. package/dist/plugin/provider/poe.js +90 -90
  642. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  643. package/dist/plugin/provider/refresh.js +87 -87
  644. package/dist/plugin/provider/sap-ai-core.js +104 -104
  645. package/dist/plugin/provider/sdk-factory.js +1 -1
  646. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  647. package/dist/plugin/provider/vllm.js +138 -138
  648. package/dist/plugin/provider/xai.js +104 -104
  649. package/dist/plugin/provider/zenmux.js +1 -1
  650. package/dist/plugin/provider.js +235 -235
  651. package/dist/plugin/sdk.js +85 -85
  652. package/dist/plugin/service.js +3 -3
  653. package/dist/plugin/skill.js +149 -149
  654. package/dist/plugin/source-directory.js +1 -1
  655. package/dist/plugin/supervisor.js +414 -412
  656. package/dist/plugin/tool-input-repair.js +4 -4
  657. package/dist/plugin/update.js +6 -6
  658. package/dist/plugin/vcs/git.js +99 -99
  659. package/dist/plugin/vcs/hg.js +99 -99
  660. package/dist/plugin/verbosity.js +106 -106
  661. package/dist/plugin/warming.js +130 -130
  662. package/dist/plugin/websearch/exa.js +6 -6
  663. package/dist/plugin/websearch/firecrawl.js +9 -9
  664. package/dist/plugin/websearch/index.js +10 -10
  665. package/dist/plugin/websearch/mcp.js +4 -4
  666. package/dist/plugin/websearch/parallel.js +7 -7
  667. package/dist/plugin/websearch/provider.js +5 -5
  668. package/dist/plugin/websearch/tavily.js +7 -7
  669. package/dist/plugin/websearch/tinyfish.js +7 -7
  670. package/dist/plugin.js +247 -245
  671. package/dist/project/icon.js +5 -5
  672. package/dist/project/schema.js +8 -8
  673. package/dist/project/sql.js +4 -4
  674. package/dist/project.js +105 -105
  675. package/dist/provider.js +112 -112
  676. package/dist/pty/protocol.js +1 -1
  677. package/dist/pty/ticket.js +1 -1
  678. package/dist/pty.js +103 -103
  679. package/dist/reference/instructions.js +101 -101
  680. package/dist/reference.js +103 -103
  681. package/dist/repository-cache.js +93 -93
  682. package/dist/repository.js +1 -1
  683. package/dist/ripgrep/binary.js +2 -2
  684. package/dist/ripgrep.js +107 -107
  685. package/dist/rpc.js +99 -99
  686. package/dist/schedule/check.js +245 -243
  687. package/dist/schedule/sql.js +6 -6
  688. package/dist/schedule.js +251 -249
  689. package/dist/schema.js +1 -1
  690. package/dist/session/affinity.js +1 -1
  691. package/dist/session/background.js +3 -1
  692. package/dist/session/blob.js +131 -131
  693. package/dist/session/command.js +85 -85
  694. package/dist/session/compaction.js +171 -171
  695. package/dist/session/context.js +196 -196
  696. package/dist/session/diff.js +101 -101
  697. package/dist/session/environment.js +5 -5
  698. package/dist/session/error.js +5 -5
  699. package/dist/session/event.js +1 -1
  700. package/dist/session/execution/restart.js +240 -238
  701. package/dist/session/execution.js +167 -165
  702. package/dist/session/generate.js +200 -200
  703. package/dist/session/history.js +136 -136
  704. package/dist/session/inbox.js +147 -147
  705. package/dist/session/info.js +3 -3
  706. package/dist/session/instruction-entry.js +88 -88
  707. package/dist/session/instruction-state.js +8 -8
  708. package/dist/session/instructions.js +139 -139
  709. package/dist/session/message-updater.js +4 -4
  710. package/dist/session/message.js +1 -1
  711. package/dist/session/model-request.js +168 -168
  712. package/dist/session/model-transport.js +9 -9
  713. package/dist/session/move.js +163 -161
  714. package/dist/session/projector.js +141 -141
  715. package/dist/session/prompt.js +148 -148
  716. package/dist/session/recent-text.js +1 -1
  717. package/dist/session/revert.js +139 -139
  718. package/dist/session/run-coordinator.js +3 -3
  719. package/dist/session/runner/index.js +3 -3
  720. package/dist/session/runner/llm.js +254 -252
  721. package/dist/session/runner/max-steps.js +1 -1
  722. package/dist/session/runner/model.js +113 -113
  723. package/dist/session/runner/publish-llm-event.js +149 -149
  724. package/dist/session/runner/retry.js +5 -5
  725. package/dist/session/runner/step.js +161 -161
  726. package/dist/session/runner/to-llm-message.js +137 -137
  727. package/dist/session/schema.js +5 -5
  728. package/dist/session/session.js +184 -182
  729. package/dist/session/shell.js +145 -145
  730. package/dist/session/skill.js +147 -147
  731. package/dist/session/sql.js +5 -5
  732. package/dist/session/stats.js +84 -84
  733. package/dist/session/store.js +142 -142
  734. package/dist/session/stored.js +4 -4
  735. package/dist/session/subagent-completion.js +1 -1
  736. package/dist/session/subagent-job.js +229 -227
  737. package/dist/session/system-prompt.js +5 -5
  738. package/dist/session/title.js +202 -202
  739. package/dist/session/to-session-error.js +148 -148
  740. package/dist/session/transfer.js +238 -236
  741. package/dist/session/usage.js +1 -1
  742. package/dist/session.js +233 -231
  743. package/dist/shared-cache.js +5 -5
  744. package/dist/shell/parse.js +6 -6
  745. package/dist/shell/result.js +1 -1
  746. package/dist/shell/scan.js +1 -1
  747. package/dist/shell/select.js +15 -15
  748. package/dist/shell.js +147 -147
  749. package/dist/skill/discovery.js +2 -2
  750. package/dist/skill/instructions.js +151 -151
  751. package/dist/skill.js +156 -156
  752. package/dist/snapshot.js +106 -106
  753. package/dist/state.js +1 -1
  754. package/dist/tool/html-markdown.js +1 -1
  755. package/dist/tool/http-body.js +1 -1
  756. package/dist/tool/mcp.js +178 -178
  757. package/dist/tool/plugin/artifact.js +232 -230
  758. package/dist/tool/plugin/edit.js +167 -167
  759. package/dist/tool/plugin/file-diff.js +1 -1
  760. package/dist/tool/plugin/glob.js +171 -171
  761. package/dist/tool/plugin/grep.js +170 -170
  762. package/dist/tool/plugin/image-generate.js +243 -241
  763. package/dist/tool/plugin/mcp-resource.js +164 -164
  764. package/dist/tool/plugin/opencode.js +163 -163
  765. package/dist/tool/plugin/patch.js +168 -168
  766. package/dist/tool/plugin/question.js +146 -146
  767. package/dist/tool/plugin/read.js +172 -172
  768. package/dist/tool/plugin/schedule.js +251 -249
  769. package/dist/tool/plugin/shell.js +237 -235
  770. package/dist/tool/plugin/skill.js +157 -157
  771. package/dist/tool/plugin/subagent.js +240 -238
  772. package/dist/tool/plugin/todo.js +153 -153
  773. package/dist/tool/plugin/webfetch.js +157 -157
  774. package/dist/tool/plugin/websearch.js +153 -153
  775. package/dist/tool/plugin/write.js +168 -168
  776. package/dist/tool/read-filesystem.js +112 -112
  777. package/dist/tool/runtime.js +1 -1
  778. package/dist/tool/search.js +109 -109
  779. package/dist/tool-output.js +7 -7
  780. package/dist/tool.js +161 -161
  781. package/dist/types/job/list.d.ts +13 -0
  782. package/dist/types/job/recovery.d.ts +27 -0
  783. package/dist/types/job.d.ts +4 -1
  784. package/dist/types/plugin/provider/opencode.d.ts +2 -1
  785. package/dist/types/session/background.d.ts +53 -2
  786. package/dist/types/session/history.d.ts +93 -1
  787. package/dist/types/session/model-request.d.ts +2 -2
  788. package/dist/usage-limits.js +96 -96
  789. package/dist/util/error-summary.js +1 -1
  790. package/dist/util/git-executable.js +3 -3
  791. package/dist/util/lazy.js +1 -1
  792. package/dist/util/slug.js +1 -1
  793. package/dist/util/token.js +1 -1
  794. package/dist/util/which.js +1 -1
  795. package/dist/util/wildcard.js +1 -1
  796. package/dist/v1/config/agent.js +5 -5
  797. package/dist/v1/config/command.js +3 -3
  798. package/dist/v1/config/mcp.js +4 -4
  799. package/dist/v1/config/migrate.js +105 -105
  800. package/dist/v1/config/permission.js +1 -1
  801. package/dist/v1/config/plugin.js +3 -3
  802. package/dist/v1/config/provider-options.js +1 -1
  803. package/dist/v1/config/provider.js +4 -4
  804. package/dist/variant.js +106 -106
  805. package/dist/vcs/patch.js +1 -1
  806. package/dist/vcs.js +102 -102
  807. package/dist/voice.js +95 -95
  808. package/dist/websearch.js +95 -95
  809. package/dist/wellknown/plugin.js +87 -87
  810. package/dist/wellknown.js +92 -92
  811. package/dist/workspace/driver.js +5 -5
  812. package/dist/workspace/sql.js +1 -1
  813. package/dist/workspace.js +93 -93
  814. package/dist/worktree/directory.js +2 -2
  815. package/dist/worktree/git.js +9 -9
  816. package/dist/worktree/sql.js +5 -5
  817. package/dist/worktree/strategies.js +102 -102
  818. package/dist/worktree.js +109 -109
  819. package/package.json +8 -8
  820. package/dist/chunks/console-access-6e5hae1x.js +0 -265
  821. package/dist/chunks/console-access-hb9570py.js +0 -26
  822. package/dist/chunks/console-access-qmh7vbk2.js +0 -18
  823. package/dist/chunks/console-access-qqvy8y24.js +0 -45
  824. package/dist/chunks/console-access-qwz12hkq.js +0 -16
  825. package/dist/chunks/console-access-x7yh2rhv.js +0 -563
  826. /package/dist/chunks/{console-access-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  827. /package/dist/chunks/{console-access-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  828. /package/dist/chunks/{console-access-108x4f4w.js → location-108x4f4w.js} +0 -0
  829. /package/dist/chunks/{console-access-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  830. /package/dist/chunks/{console-access-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  831. /package/dist/chunks/{console-access-1kah00gy.js → location-1kah00gy.js} +0 -0
  832. /package/dist/chunks/{console-access-24dcb14g.js → location-24dcb14g.js} +0 -0
  833. /package/dist/chunks/{console-access-2710q6r3.js → location-2710q6r3.js} +0 -0
  834. /package/dist/chunks/{console-access-2bv980vf.js → location-2bv980vf.js} +0 -0
  835. /package/dist/chunks/{console-access-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  836. /package/dist/chunks/{console-access-359p4xyc.js → location-359p4xyc.js} +0 -0
  837. /package/dist/chunks/{console-access-3af0jn4w.js → location-3af0jn4w.js} +0 -0
  838. /package/dist/chunks/{console-access-3asan66x.js → location-3asan66x.js} +0 -0
  839. /package/dist/chunks/{console-access-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  840. /package/dist/chunks/{console-access-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  841. /package/dist/chunks/{console-access-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  842. /package/dist/chunks/{console-access-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  843. /package/dist/chunks/{console-access-4qk9sjk2.js → location-4qk9sjk2.js} +0 -0
  844. /package/dist/chunks/{console-access-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  845. /package/dist/chunks/{console-access-53557ph1.js → location-53557ph1.js} +0 -0
  846. /package/dist/chunks/{console-access-550bvhaj.js → location-550bvhaj.js} +0 -0
  847. /package/dist/chunks/{console-access-5w3e23ze.js → location-5w3e23ze.js} +0 -0
  848. /package/dist/chunks/{console-access-6agm2x70.js → location-6agm2x70.js} +0 -0
  849. /package/dist/chunks/{console-access-6prwharc.js → location-6prwharc.js} +0 -0
  850. /package/dist/chunks/{console-access-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
  851. /package/dist/chunks/{console-access-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  852. /package/dist/chunks/{console-access-7m9af43g.js → location-7m9af43g.js} +0 -0
  853. /package/dist/chunks/{console-access-822emrt2.js → location-822emrt2.js} +0 -0
  854. /package/dist/chunks/{console-access-84wd9syh.js → location-84wd9syh.js} +0 -0
  855. /package/dist/chunks/{console-access-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  856. /package/dist/chunks/{console-access-8n3pysct.js → location-8n3pysct.js} +0 -0
  857. /package/dist/chunks/{console-access-8wj87zfr.js → location-8wj87zfr.js} +0 -0
  858. /package/dist/chunks/{console-access-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  859. /package/dist/chunks/{console-access-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  860. /package/dist/chunks/{console-access-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  861. /package/dist/chunks/{console-access-af5trqkr.js → location-af5trqkr.js} +0 -0
  862. /package/dist/chunks/{console-access-afrmfg78.js → location-afrmfg78.js} +0 -0
  863. /package/dist/chunks/{console-access-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  864. /package/dist/chunks/{console-access-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  865. /package/dist/chunks/{console-access-beh6qq61.js → location-beh6qq61.js} +0 -0
  866. /package/dist/chunks/{console-access-bhmrqjy3.js → location-bhmrqjy3.js} +0 -0
  867. /package/dist/chunks/{console-access-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  868. /package/dist/chunks/{console-access-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  869. /package/dist/chunks/{console-access-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  870. /package/dist/chunks/{console-access-cqv5kn06.js → location-cqv5kn06.js} +0 -0
  871. /package/dist/chunks/{console-access-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  872. /package/dist/chunks/{console-access-d9fn303g.js → location-d9fn303g.js} +0 -0
  873. /package/dist/chunks/{console-access-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  874. /package/dist/chunks/{console-access-dap0rakb.js → location-dap0rakb.js} +0 -0
  875. /package/dist/chunks/{console-access-df08tz66.js → location-df08tz66.js} +0 -0
  876. /package/dist/chunks/{console-access-dy18nga0.js → location-dy18nga0.js} +0 -0
  877. /package/dist/chunks/{console-access-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  878. /package/dist/chunks/{console-access-ean2d8b5.js → location-ean2d8b5.js} +0 -0
  879. /package/dist/chunks/{console-access-ec1grn59.js → location-ec1grn59.js} +0 -0
  880. /package/dist/chunks/{console-access-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  881. /package/dist/chunks/{console-access-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  882. /package/dist/chunks/{console-access-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  883. /package/dist/chunks/{console-access-faypxj3z.js → location-faypxj3z.js} +0 -0
  884. /package/dist/chunks/{console-access-fd410y7t.js → location-fd410y7t.js} +0 -0
  885. /package/dist/chunks/{console-access-fkpq3x5p.js → location-fkpq3x5p.js} +0 -0
  886. /package/dist/chunks/{console-access-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  887. /package/dist/chunks/{console-access-g86h250q.js → location-g86h250q.js} +0 -0
  888. /package/dist/chunks/{console-access-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  889. /package/dist/chunks/{console-access-gftt206x.js → location-gftt206x.js} +0 -0
  890. /package/dist/chunks/{console-access-hcxmzztb.js → location-hcxmzztb.js} +0 -0
  891. /package/dist/chunks/{console-access-hk9envan.js → location-hk9envan.js} +0 -0
  892. /package/dist/chunks/{console-access-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  893. /package/dist/chunks/{console-access-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  894. /package/dist/chunks/{console-access-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  895. /package/dist/chunks/{console-access-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  896. /package/dist/chunks/{console-access-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  897. /package/dist/chunks/{console-access-jwr30sdr.js → location-jwr30sdr.js} +0 -0
  898. /package/dist/chunks/{console-access-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  899. /package/dist/chunks/{console-access-m18g726c.js → location-m18g726c.js} +0 -0
  900. /package/dist/chunks/{console-access-mp448xyj.js → location-mp448xyj.js} +0 -0
  901. /package/dist/chunks/{console-access-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  902. /package/dist/chunks/{console-access-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  903. /package/dist/chunks/{console-access-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  904. /package/dist/chunks/{console-access-nh4v3znn.js → location-nh4v3znn.js} +0 -0
  905. /package/dist/chunks/{console-access-njntx4h6.js → location-njntx4h6.js} +0 -0
  906. /package/dist/chunks/{console-access-p71gwv9c.js → location-p71gwv9c.js} +0 -0
  907. /package/dist/chunks/{console-access-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  908. /package/dist/chunks/{console-access-q74kybfr.js → location-q74kybfr.js} +0 -0
  909. /package/dist/chunks/{console-access-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  910. /package/dist/chunks/{console-access-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  911. /package/dist/chunks/{console-access-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  912. /package/dist/chunks/{console-access-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  913. /package/dist/chunks/{console-access-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  914. /package/dist/chunks/{console-access-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  915. /package/dist/chunks/{console-access-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  916. /package/dist/chunks/{console-access-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  917. /package/dist/chunks/{console-access-syrav9an.js → location-syrav9an.js} +0 -0
  918. /package/dist/chunks/{console-access-t03h4f5z.js → location-t03h4f5z.js} +0 -0
  919. /package/dist/chunks/{console-access-ty7weeps.js → location-ty7weeps.js} +0 -0
  920. /package/dist/chunks/{console-access-ve7vex1e.js → location-ve7vex1e.js} +0 -0
  921. /package/dist/chunks/{console-access-vtarvj67.js → location-vtarvj67.js} +0 -0
  922. /package/dist/chunks/{console-access-w803qqfp.js → location-w803qqfp.js} +0 -0
  923. /package/dist/chunks/{console-access-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  924. /package/dist/chunks/{console-access-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  925. /package/dist/chunks/{console-access-wtztk69x.js → location-wtztk69x.js} +0 -0
  926. /package/dist/chunks/{console-access-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  927. /package/dist/chunks/{console-access-x61499pn.js → location-x61499pn.js} +0 -0
  928. /package/dist/chunks/{console-access-y44na4kk.js → location-y44na4kk.js} +0 -0
  929. /package/dist/chunks/{console-access-y8f7s663.js → location-y8f7s663.js} +0 -0
  930. /package/dist/chunks/{console-access-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  931. /package/dist/chunks/{console-access-z0h12gs8.js → location-z0h12gs8.js} +0 -0
  932. /package/dist/chunks/{console-access-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
  933. /package/dist/chunks/{console-access-z9919s4g.js → location-z9919s4g.js} +0 -0
  934. /package/dist/chunks/{console-access-zxpyjp51.js → location-zxpyjp51.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID20,
3
- Service86
4
- } from "./console-access-5pk5tb9q.js";
2
+ ID19,
3
+ Service83
4
+ } from "./location-49z9ts7r.js";
5
5
  import {
6
6
  onSwitch2
7
- } from "./console-access-2dtsamb2.js";
7
+ } from "./location-mv7w0mfd.js";
8
8
 
9
9
  // src/plugin/provider/credential-settings.ts
10
10
  import { Effect } from "effect";
@@ -16,10 +16,10 @@ var activeCredential2 = Effect.fnUntraced(function* (ctx, integrationID) {
16
16
  return { connection, credential };
17
17
  });
18
18
  var credentialSettings2 = Effect.fn("ProviderPlugin.credentialSettings")(function* (ctx, integrationID, select) {
19
- const credentials = yield* Service86;
19
+ const credentials = yield* Service83;
20
20
  const load = Effect.fn("ProviderPlugin.credentialSettings.load")(function* () {
21
21
  const connection = yield* ctx.integration.connection.active(integrationID);
22
- const stored = connection?.type === "credential" ? yield* credentials.get(ID20.make(connection.id)) : undefined;
22
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID19.make(connection.id)) : undefined;
23
23
  return stored ? select(stored.value) : {};
24
24
  });
25
25
  const current = { settings: yield* load() };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./console-access-emrn6kk6.js";
3
+ } from "./location-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./console-access-s599h56h.js";
6
+ } from "./location-ann72nrn.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./console-access-es228e0a.js";
9
+ } from "./location-c8t8aq99.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
20
20
  static [entityKind] = "EffectSQLiteDatabase";
21
21
  }
22
22
  var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
23
- var make35 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
23
+ var make34 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
24
24
  const client = yield* SqlClient;
25
25
  const cache = yield* EffectCache;
26
26
  const logger = yield* EffectLogger;
@@ -37,6 +37,6 @@ var make35 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
37
37
  db.$cache.invalidate = cache.onMutate;
38
38
  return db;
39
39
  });
40
- var makeWithDefaults2 = (config = {}) => make35(config).pipe(Effect.provide(DefaultServices2));
40
+ var makeWithDefaults2 = (config = {}) => make34(config).pipe(Effect.provide(DefaultServices2));
41
41
 
42
- export { EffectSQLiteDatabase2, DefaultServices2, make35, makeWithDefaults2 };
42
+ export { EffectSQLiteDatabase2, DefaultServices2, make34, makeWithDefaults2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./console-access-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/provider/claude-agent/language-model/convert-to-claude-message.ts
6
6
  var exports_convert_to_claude_message = {};
@@ -1,51 +1,51 @@
1
1
  import {
2
- Service76
3
- } from "./console-access-90dd7jwa.js";
2
+ Service89
3
+ } from "./location-dab5xxk2.js";
4
4
  import {
5
5
  Ref3,
6
- Service82
7
- } from "./console-access-svvkgzhv.js";
6
+ Service79
7
+ } from "./location-rhm6bsed.js";
8
8
  import {
9
9
  latest2,
10
- Service78
11
- } from "./console-access-ce64h981.js";
10
+ Service72
11
+ } from "./location-50fc5w3v.js";
12
12
  import {
13
13
  SessionSchema2
14
- } from "./console-access-nv2c5e9q.js";
14
+ } from "./location-weqc7sb9.js";
15
15
  import {
16
- Service55
17
- } from "./console-access-bc49p64r.js";
16
+ Service57
17
+ } from "./location-yy84cna2.js";
18
18
  import {
19
19
  invocation2,
20
20
  evaluate3,
21
- Service73
22
- } from "./console-access-kt5jkqqz.js";
21
+ Service64
22
+ } from "./location-qwxddvhv.js";
23
23
  import {
24
24
  Service28
25
- } from "./console-access-s6d84vpq.js";
25
+ } from "./location-c1qw8qm5.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./console-access-sqjzf8x2.js";
28
+ } from "./location-sqjzf8x2.js";
29
29
  import {
30
30
  Service10
31
- } from "./console-access-8y9rtgx6.js";
31
+ } from "./location-hn64gcjm.js";
32
32
  import {
33
33
  __export
34
- } from "./console-access-9rqn6x4v.js";
34
+ } from "./location-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: () => Input2,
40
+ Output: () => Output2,
41
+ Plugin: () => Plugin20,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description3,
44
- name: () => name3
43
+ description: () => description2,
44
+ name: () => name2
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai/effect";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name3 = "subagent";
48
+ var name2 = "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 Input2 = 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 Output2 = Schema.Struct({
77
77
  sessionID: SessionSchema2.ID,
78
78
  status: Schema.Literals(["completed", "running"]),
79
79
  output: Schema.String
80
80
  });
81
- var description3 = [
81
+ var description2 = [
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,15 +87,15 @@ var description3 = [
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 Plugin20 = {
91
91
  id: "opencode.tool.subagent",
92
92
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
93
93
  const sessions = yield* Service28;
94
- const jobs = yield* Service55;
95
- const agents = yield* Service76;
96
- const config = yield* Service78;
97
- const permission = yield* Service73;
98
- const models = yield* Service82;
94
+ const jobs = yield* Service57;
95
+ const agents = yield* Service89;
96
+ const config = yield* Service72;
97
+ const permission = yield* Service64;
98
+ const models = yield* Service79;
99
99
  const subagents = yield* Service10;
100
100
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
101
101
  const ref = yield* Effect.try({
@@ -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: name2,
122
122
  options: { codemode: false },
123
- description: description3,
124
- input: Input3,
125
- output: Output3,
123
+ description: description2,
124
+ input: Input2,
125
+ output: Output2,
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: name2,
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 !== name2 || !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[name2];
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(name2, 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, description3, Plugin39, exports_subagent };
253
+ export { name2, Input2, Output2, description2, Plugin20, exports_subagent };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  __export
3
- } from "./console-access-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/provider/claude-agent/language-model/claude-agent-error.ts
6
6
  var exports_claude_agent_error = {};
7
7
  __export(exports_claude_agent_error, {
8
8
  ClaudeAgentError: () => exports_claude_agent_error,
9
- make: () => make11
9
+ make: () => make12
10
10
  });
11
- function make11() {
11
+ function make12() {
12
12
  let code;
13
13
  let rejected;
14
14
  return (message) => {
@@ -40,4 +40,4 @@ function make11() {
40
40
  };
41
41
  }
42
42
 
43
- export { make11, exports_claude_agent_error };
43
+ export { make12, exports_claude_agent_error };
@@ -1,66 +1,69 @@
1
1
  import {
2
2
  useragent2
3
- } from "./console-access-tvyaj39k.js";
3
+ } from "./location-twpr6wwv.js";
4
4
  import {
5
- ID20,
5
+ ID19,
6
6
  OAuth3
7
- } from "./console-access-5pk5tb9q.js";
7
+ } from "./location-49z9ts7r.js";
8
8
  import {
9
9
  AbsolutePath2
10
- } from "./console-access-z5v4ffb3.js";
10
+ } from "./location-z5v4ffb3.js";
11
11
  import {
12
12
  key2
13
- } from "./console-access-jhwp234h.js";
13
+ } from "./location-6dqyy18z.js";
14
14
  import {
15
- ID18,
15
+ ID17,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./console-access-5mnj44n1.js";
18
+ } from "./location-21m3rdz8.js";
19
19
  import {
20
- ID17
21
- } from "./console-access-gvsr3njm.js";
20
+ ID16
21
+ } from "./location-kczttyx7.js";
22
22
  import {
23
23
  Remote3,
24
24
  Document3,
25
- make33
26
- } from "./console-access-j1zpf99x.js";
25
+ make31
26
+ } from "./location-8t99kr38.js";
27
27
  import {
28
- Service78
29
- } from "./console-access-ce64h981.js";
28
+ Service72
29
+ } from "./location-50fc5w3v.js";
30
30
  import {
31
31
  integrate2
32
- } from "./console-access-6rc2qz1w.js";
32
+ } from "./location-pvw83gd8.js";
33
33
  import {
34
34
  uri2,
35
- Service57
36
- } from "./console-access-g0cwgpmg.js";
35
+ Service51
36
+ } from "./location-1xrr95rh.js";
37
37
  import {
38
38
  parse2
39
- } from "./console-access-e8x8wxtq.js";
39
+ } from "./location-0rasd5pw.js";
40
40
  import {
41
41
  defaultServer2,
42
42
  server2,
43
43
  headers2
44
- } from "./console-access-kt3bjfbg.js";
44
+ } from "./location-kt3bjfbg.js";
45
45
  import {
46
- File2,
47
- Service42
48
- } from "./console-access-7nftjbqh.js";
46
+ File3,
47
+ Service75
48
+ } from "./location-zscg4md0.js";
49
+ import {
50
+ Service14
51
+ } from "./location-c32zfq3f.js";
49
52
  import {
50
53
  isSafeSegment2,
51
54
  isSafeRelativePath2
52
- } from "./console-access-3adw4bt5.js";
55
+ } from "./location-3adw4bt5.js";
53
56
  import {
54
- ID8,
55
- Input15,
57
+ ID10,
58
+ Input16,
56
59
  Response2
57
- } from "./console-access-m6jd9r5t.js";
60
+ } from "./location-0g3r6f93.js";
58
61
  import {
59
62
  onSwitch2
60
- } from "./console-access-2dtsamb2.js";
63
+ } from "./location-mv7w0mfd.js";
61
64
 
62
65
  // src/plugin/provider/opencode.ts
63
- import { Clock, Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore } from "effect";
66
+ import { Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore } from "effect";
64
67
  import { define } from "@opencode/plugin/effect/plugin";
65
68
  import { FetchHttpClient, HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
66
69
  var clientID = "opencode-cli";
@@ -101,7 +104,6 @@ var SkillBundle = Schema.Struct({
101
104
  slug: Schema.String,
102
105
  files: Schema.Array(Schema.Struct({ path: Schema.String, content: Schema.String }))
103
106
  });
104
- var downloaded = new Map;
105
107
  var signedOutMessage = "Reconnect OpenCode Console to continue";
106
108
  var ssoMessage = (organization) => `Sign in with SSO again to use ${organization ?? "your OpenCode Console organization"}`;
107
109
 
@@ -121,7 +123,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
121
123
  }
122
124
  function oauth(http) {
123
125
  return {
124
- integrationID: ID18.make("opencode"),
126
+ integrationID: ID17.make("opencode"),
125
127
  method: {
126
128
  id: methodID,
127
129
  type: "oauth",
@@ -188,9 +190,10 @@ var OpencodePlugin2 = define({
188
190
  const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
189
191
  const client = yield* HttpClient.HttpClient;
190
192
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
191
- const config = yield* Service78;
192
- const discovery = yield* Service42;
193
- const skills = yield* Service57;
193
+ const config = yield* Service72;
194
+ const discovery = yield* Service75;
195
+ const skills = yield* Service51;
196
+ const cache = yield* Service14;
194
197
  const scope = yield* Scope.Scope;
195
198
  const loading = Semaphore.makeUnsafe(1);
196
199
  let snapshot = { remote: undefined, connection: undefined, organization: undefined };
@@ -200,9 +203,7 @@ var OpencodePlugin2 = define({
200
203
  const skillDownload = yield* FiberHandle.make();
201
204
  let reported;
202
205
  let explainers = [];
203
- let checked = Number.NEGATIVE_INFINITY;
204
- const load = Effect.fn("OpencodePlugin.load")(function* () {
205
- checked = yield* Clock.currentTimeMillis;
206
+ const load = Effect.fn("OpencodePlugin.load")(function* (maxAge = Duration.minutes(1)) {
206
207
  const connection = yield* ctx.integration.connection.active("opencode");
207
208
  if (!connection) {
208
209
  reported = undefined;
@@ -215,7 +216,11 @@ var OpencodePlugin2 = define({
215
216
  return yield* ctx.integration.connection.resolve(connection).pipe(Effect.flatMap((credential) => {
216
217
  if (!credential || credential.type === "external")
217
218
  return Effect.succeed({ remote: undefined, connection, organization: undefined });
218
- return fetchConfig(http, credential).pipe(Effect.map((remote) => ({
219
+ return cache.get({
220
+ key: `opencode-console:${workspaceKey(connection, credential)}`,
221
+ interval: maxAge,
222
+ load: fetchConfig(http, credential).pipe(Effect.map((remote) => ({ remote })), Effect.catch((cause) => connectionStatus(cause) ? Effect.succeed({ failed: cause }) : Effect.fail(cause)))
223
+ }).pipe(Effect.flatMap((result) => ("failed" in result) ? Effect.fail(result.failed) : Effect.succeed(result.remote)), Effect.map((remote) => ({
219
224
  remote,
220
225
  connection,
221
226
  organization: organizationName(credential)
@@ -230,13 +235,13 @@ var OpencodePlugin2 = define({
230
235
  });
231
236
  let integrated;
232
237
  const integrate = Effect.fnUntraced(function* (document) {
233
- yield* config.integration?.(ID18.make("opencode"), document) ?? Effect.void;
234
- integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID18.make("opencode"));
238
+ yield* config.integration?.(ID17.make("opencode"), document) ?? Effect.void;
239
+ integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID17.make("opencode"));
235
240
  });
236
241
  const publish = Effect.fnUntraced(function* (next) {
237
- const document = next.remote && next.connection && make33({
238
- integrationID: ID18.make("opencode"),
239
- connection: next.connection.type === "credential" ? { ...next.connection, id: ID20.make(next.connection.id) } : next.connection,
242
+ const document = next.remote && next.connection && make31({
243
+ integrationID: ID17.make("opencode"),
244
+ connection: next.connection.type === "credential" ? { ...next.connection, id: ID19.make(next.connection.id) } : next.connection,
240
245
  organization: next.organization,
241
246
  info: next.remote
242
247
  });
@@ -245,7 +250,7 @@ var OpencodePlugin2 = define({
245
250
  });
246
251
  const syncLibrary = (next, allowed) => {
247
252
  const library = allowed ? Option.getOrUndefined(Schema.decodeUnknownOption(Library)(next.remote?.library)) : undefined;
248
- instructions = (library?.instructions ?? []).map((item) => new File2({ path: `OpenCode Console instruction ${item.id}`, content: item.content }));
253
+ instructions = (library?.instructions ?? []).map((item) => new File3({ path: `OpenCode Console instruction ${item.id}`, content: item.content }));
249
254
  if (!allowed)
250
255
  librarySkills = { owner: "", items: [] };
251
256
  return FiberHandle.run(skillDownload, loadSkills(next.connection, library?.skills ?? []).pipe(Effect.flatMap((loaded) => {
@@ -262,17 +267,16 @@ var OpencodePlugin2 = define({
262
267
  if (!credential || credential.type === "external")
263
268
  return [];
264
269
  const server = yield* normalizeServer(server2(credential));
265
- const workspace = JSON.stringify([server, key2(connection), credential.metadata?.orgID]);
266
- const cached = downloaded.get(workspace);
270
+ const workspace = workspaceKey(connection, credential);
267
271
  const loaded = yield* Effect.forEach(listed, (item) => {
268
- const previous = cached?.get(item.slug);
269
- if (previous?.version === item.version)
270
- return Effect.succeed(previous);
271
- return downloadSkill(http, server, item.slug, headers2(credential)).pipe(Effect.map((skill) => ({ slug: item.slug, version: item.version, skill })), Effect.catch((cause) => Effect.logWarning("failed to load Console skill", { slug: item.slug, cause }).pipe(Effect.as(previous))));
272
+ const input = {
273
+ key: `opencode-console-skill:${workspace}:${item.slug}`,
274
+ interval: Duration.infinity,
275
+ load: downloadSkill(http, server, item.slug, headers2(credential)).pipe(Effect.map((skill) => ({ version: item.version, skill })))
276
+ };
277
+ return cache.get(input).pipe(Effect.filterOrFail((cached) => cached.version === item.version), Effect.catch(() => cache.get({ ...input, force: true })), Effect.map((cached) => cached.skill), Effect.catch((cause) => Effect.logWarning("failed to load Console skill", { slug: item.slug, cause }).pipe(Effect.as(undefined))));
272
278
  }, { concurrency: 8 });
273
- const kept = loaded.filter((item) => item !== undefined);
274
- downloaded.set(workspace, new Map(kept.map((item) => [item.slug, item])));
275
- return kept.map((item) => item.skill);
279
+ return loaded.filter((item) => item !== undefined);
276
280
  }, Effect.catch((cause) => Effect.logWarning("failed to load Console skills", { cause }).pipe(Effect.as(undefined))));
277
281
  const search = (providerID, connection) => ({
278
282
  id: providerID,
@@ -288,7 +292,7 @@ var OpencodePlugin2 = define({
288
292
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
289
293
  const token = credential.type === "oauth" ? credential.access : credential.key;
290
294
  const server = yield* normalizeServer(server2(credential));
291
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input15)({
295
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input16)({
292
296
  query: input.query,
293
297
  providerID
294
298
  }));
@@ -316,7 +320,7 @@ var OpencodePlugin2 = define({
316
320
  integrate2(providers, integrated);
317
321
  });
318
322
  yield* ctx.provider.transform((providers) => {
319
- const item = providers.get(ID17.opencode);
323
+ const item = providers.get(ID16.opencode);
320
324
  if (!item)
321
325
  return;
322
326
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -328,7 +332,7 @@ var OpencodePlugin2 = define({
328
332
  });
329
333
  });
330
334
  yield* ctx.model.transform((models) => {
331
- const item = models.provider.get(ID17.opencode);
335
+ const item = models.provider.get(ID16.opencode);
332
336
  if (!item)
333
337
  return;
334
338
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -343,7 +347,7 @@ var OpencodePlugin2 = define({
343
347
  }
344
348
  });
345
349
  yield* ctx.websearch.transform((editor) => {
346
- const provider = ID8.make("opencode");
350
+ const provider = ID10.make("opencode");
347
351
  if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
348
352
  editor.add(search(provider, snapshot.connection));
349
353
  });
@@ -360,10 +364,8 @@ var OpencodePlugin2 = define({
360
364
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload(), ctx.mcp.reload(), discovery.reload(), skills.reload()], { concurrency: 5, discard: true });
361
365
  });
362
366
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
363
- const check = (maxAge = Duration.zero) => loading.withPermit(Effect.gen(function* () {
364
- if ((yield* Clock.currentTimeMillis) - checked < Duration.toMillis(maxAge))
365
- return;
366
- const next = yield* load();
367
+ const check = (maxAge) => loading.withPermit(Effect.gen(function* () {
368
+ const next = yield* load(maxAge);
367
369
  if (!Equal.equals(snapshot, next))
368
370
  yield* apply(next);
369
371
  }));
@@ -384,7 +386,7 @@ var OpencodePlugin2 = define({
384
386
  });
385
387
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
386
388
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
387
- explainers = yield* Effect.forEach(next.connection ? new Set([ID17.opencode, ...Object.keys(next.remote?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
389
+ explainers = yield* Effect.forEach(next.connection ? new Set([ID16.opencode, ...Object.keys(next.remote?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
388
390
  });
389
391
  yield* guard(snapshot);
390
392
  const polling = yield* FiberHandle.make();
@@ -437,6 +439,13 @@ function connectionStatus(cause) {
437
439
  return { status: "needs_auth", message: signedOutMessage };
438
440
  return;
439
441
  }
442
+ function workspaceKey(connection, credential) {
443
+ return JSON.stringify([
444
+ server2(credential),
445
+ key2(connection),
446
+ credential.metadata?.orgID
447
+ ]);
448
+ }
440
449
  function organizationName(credential) {
441
450
  return typeof credential.metadata?.orgName === "string" ? credential.metadata.orgName : undefined;
442
451
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./console-access-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./console-access-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service78
3
- } from "./console-access-ce64h981.js";
2
+ Service72
3
+ } from "./location-50fc5w3v.js";
4
4
  import {
5
- Service39
6
- } from "./console-access-ty6yycrj.js";
5
+ Service41
6
+ } from "./location-qgjrqfzw.js";
7
7
  import {
8
8
  __export
9
- } from "./console-access-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp = {};
13
13
  __export(exports_mcp, {
14
14
  ConfigMcpPlugin: () => exports_mcp,
15
- Plugin: () => Plugin14,
15
+ Plugin: () => Plugin5,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin14 = define({
20
+ var Plugin5 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe({ types: ["config.updated"] }));
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service78;
28
- const mcp = yield* Service39;
27
+ const config = yield* Service72;
28
+ const mcp = yield* Service41;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin14, register2, exports_mcp };
49
+ export { Plugin5, register2, exports_mcp };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  which2
3
- } from "./console-access-qaymkmh1.js";
3
+ } from "./location-qaymkmh1.js";
4
4
  import {
5
5
  load3
6
- } from "./console-access-tr8x705m.js";
6
+ } from "./location-tr8x705m.js";
7
7
  import {
8
8
  create2
9
- } from "./console-access-44pmzq9c.js";
9
+ } from "./location-44pmzq9c.js";
10
10
  import {
11
11
  __export
12
- } from "./console-access-9rqn6x4v.js";
12
+ } from "./location-9rqn6x4v.js";
13
13
 
14
14
  // src/plugin/provider/claude-agent/claude/io.ts
15
15
  var exports_io = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service65
3
- } from "./console-access-q6r0w6cv.js";
2
+ Service58
3
+ } from "./location-sa4nqxt2.js";
4
4
  import {
5
5
  __export
6
- } from "./console-access-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var EXIT_WAIT = Duration.seconds(1);
22
22
  var STDERR_TAIL = 1000;
23
23
  var make2 = Effect.fnUntraced(function* (options) {
24
- const environment = yield* Service65;
24
+ const environment = yield* Service58;
25
25
  const scope = yield* Effect.scope;
26
26
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
27
27
  const state = { phase: "ready" };