@opencode/core 0.0.0-dev-957 → 0.0.0-dev-961

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 (930) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +5 -5
  6. package/dist/artifact.js +238 -238
  7. package/dist/bus.js +84 -84
  8. package/dist/chunks/{filesystem-aj7mw0zk.js → image-034tev2y.js} +2 -2
  9. package/dist/chunks/{filesystem-1b8vvyhw.js → image-046ka7ge.js} +9 -9
  10. package/dist/chunks/{filesystem-rp6t20zc.js → image-04whjz6n.js} +9 -9
  11. package/dist/chunks/{filesystem-7nte6xmc.js → image-05h1yjhb.js} +21 -21
  12. package/dist/chunks/{filesystem-rtznbf6z.js → image-06p8f4w7.js} +3 -3
  13. package/dist/chunks/{filesystem-kapntja0.js → image-08nv1sqv.js} +5 -5
  14. package/dist/chunks/{filesystem-0ahs07zn.js → image-0ahs07zn.js} +1 -1
  15. package/dist/chunks/{filesystem-0cvmjxzj.js → image-0cvmjxzj.js} +4 -4
  16. package/dist/chunks/{filesystem-0j7gp832.js → image-0j7gp832.js} +1 -1
  17. package/dist/chunks/{filesystem-67hqsa53.js → image-0jkdf1w4.js} +6 -6
  18. package/dist/chunks/{filesystem-gg2b8mjc.js → image-0kfyj8ed.js} +20 -20
  19. package/dist/chunks/{filesystem-0ma9gw4f.js → image-0ma9gw4f.js} +2 -2
  20. package/dist/chunks/{filesystem-963hk181.js → image-0mtp185z.js} +9 -9
  21. package/dist/chunks/{filesystem-htbgj509.js → image-0qsrgza2.js} +27 -27
  22. package/dist/chunks/{filesystem-vqved2p9.js → image-0wegtcvq.js} +43 -43
  23. package/dist/chunks/{filesystem-acts9ffx.js → image-0ys0zqm0.js} +18 -18
  24. package/dist/chunks/{filesystem-erh9g648.js → image-0ztag15v.js} +17 -17
  25. package/dist/chunks/{filesystem-wsrzsgee.js → image-10cxcpa6.js} +8 -8
  26. package/dist/chunks/{filesystem-17b8a7h3.js → image-17b8a7h3.js} +4 -4
  27. package/dist/chunks/{filesystem-1aqsckx4.js → image-1aqsckx4.js} +1 -1
  28. package/dist/chunks/{filesystem-6c7v3fwj.js → image-1bv8vvc5.js} +43 -43
  29. package/dist/chunks/{filesystem-27w5k9zf.js → image-1ep2p91f.js} +2 -2
  30. package/dist/chunks/{filesystem-a8dpdn4a.js → image-1hg4vngk.js} +19 -19
  31. package/dist/chunks/{filesystem-1x2knyw4.js → image-1x2knyw4.js} +1 -1
  32. package/dist/chunks/{filesystem-c3crn9d5.js → image-1xfmbzk6.js} +9 -9
  33. package/dist/chunks/{filesystem-1yq9hg58.js → image-1yq9hg58.js} +1 -1
  34. package/dist/chunks/{filesystem-y5rwnb26.js → image-21cx9xv3.js} +15 -15
  35. package/dist/chunks/{filesystem-7ns12trf.js → image-2218j1jm.js} +56 -56
  36. package/dist/chunks/{filesystem-tc77hxc8.js → image-24ttz5dm.js} +40 -40
  37. package/dist/chunks/{filesystem-17es37va.js → image-268e20yt.js} +10 -10
  38. package/dist/chunks/{filesystem-gbx63q5b.js → image-29pwzgg2.js} +30 -30
  39. package/dist/chunks/{filesystem-scn5v30h.js → image-2b2r7h3k.js} +9 -9
  40. package/dist/chunks/{filesystem-2fc7eemy.js → image-2fc7eemy.js} +1 -1
  41. package/dist/chunks/{filesystem-s82ny5ks.js → image-2hn4k6ez.js} +22 -22
  42. package/dist/chunks/{filesystem-fgr6g8pv.js → image-2s0whn70.js} +12 -12
  43. package/dist/chunks/{filesystem-aay370xc.js → image-2vsbtjn3.js} +4 -4
  44. package/dist/chunks/{filesystem-2nw7gz01.js → image-2xjcw2b3.js} +10 -10
  45. package/dist/chunks/{filesystem-hwapax60.js → image-2xm1hsxy.js} +20 -20
  46. package/dist/chunks/{filesystem-bh19fz13.js → image-396xn14t.js} +20 -20
  47. package/dist/chunks/{filesystem-bry3s3h0.js → image-3ajfv3vy.js} +16 -16
  48. package/dist/chunks/{filesystem-acn9mmgv.js → image-3bv8eph1.js} +11 -11
  49. package/dist/chunks/{filesystem-3hepkmqq.js → image-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{filesystem-11yq9acd.js → image-3q86tv52.js} +28 -28
  51. package/dist/chunks/{filesystem-8t99kr38.js → image-3qgwywyc.js} +4 -4
  52. package/dist/chunks/{filesystem-418pw5n0.js → image-3vphcqt4.js} +11 -11
  53. package/dist/chunks/{filesystem-2m7evczf.js → image-3wsnvgjy.js} +27 -27
  54. package/dist/chunks/{filesystem-40y6dtc2.js → image-40y6dtc2.js} +1 -1
  55. package/dist/chunks/{filesystem-wn623n5w.js → image-47tndxsj.js} +18 -18
  56. package/dist/chunks/{filesystem-jeyt5pa2.js → image-4a40kz34.js} +36 -36
  57. package/dist/chunks/{filesystem-kvtg5rv4.js → image-4bt6rj1a.js} +5 -5
  58. package/dist/chunks/{filesystem-r75f2j8n.js → image-4ckwpsmh.js} +11 -11
  59. package/dist/chunks/{filesystem-4dx1dgte.js → image-4dx1dgte.js} +1 -1
  60. package/dist/chunks/{filesystem-4f25tdd0.js → image-4f25tdd0.js} +1 -1
  61. package/dist/chunks/{filesystem-k3p9dtgb.js → image-4h9ahznc.js} +15 -15
  62. package/dist/chunks/{filesystem-1dyajge1.js → image-4kzzzjzp.js} +22 -22
  63. package/dist/chunks/{filesystem-4pyp9zr9.js → image-4pyp9zr9.js} +1 -1
  64. package/dist/chunks/{filesystem-b6bj0qf6.js → image-4q8jn37k.js} +11 -11
  65. package/dist/chunks/{filesystem-9czynnf5.js → image-4qd6re51.js} +87 -87
  66. package/dist/chunks/{filesystem-kse531ts.js → image-4qvkk0dz.js} +3 -3
  67. package/dist/chunks/{filesystem-vnn7kt1n.js → image-4radpwks.js} +43 -43
  68. package/dist/chunks/{filesystem-b0bwd18e.js → image-4rvfywfc.js} +17 -17
  69. package/dist/chunks/{filesystem-4v008n1t.js → image-4v008n1t.js} +1 -1
  70. package/dist/chunks/{filesystem-5smxck5e.js → image-52h42t2j.js} +31 -31
  71. package/dist/chunks/{filesystem-40za9wsf.js → image-5enarcya.js} +6 -6
  72. package/dist/chunks/{filesystem-4yaz4z6j.js → image-5jazzers.js} +13 -13
  73. package/dist/chunks/{filesystem-5m9w47nd.js → image-5m9w47nd.js} +1 -1
  74. package/dist/chunks/{filesystem-d6sk47qw.js → image-5te4vw32.js} +6 -6
  75. package/dist/chunks/{filesystem-gtg9pbpj.js → image-5xx3wckp.js} +16 -16
  76. package/dist/chunks/{filesystem-4avqmzbm.js → image-6gttzp6q.js} +9 -9
  77. package/dist/chunks/{filesystem-ngrxenw8.js → image-6p3rv1m2.js} +11 -11
  78. package/dist/chunks/{filesystem-ff9814bj.js → image-6qag2q30.js} +5 -5
  79. package/dist/chunks/{filesystem-db6nf9v0.js → image-6r5w6st3.js} +10 -10
  80. package/dist/chunks/{filesystem-zfzncdf1.js → image-6s31zqcc.js} +38 -38
  81. package/dist/chunks/{filesystem-z72m2yzn.js → image-6vyftykw.js} +11 -11
  82. package/dist/chunks/{filesystem-n67psbbx.js → image-77cn6z06.js} +16 -16
  83. package/dist/chunks/{filesystem-h34znyea.js → image-79rrmjfx.js} +22 -22
  84. package/dist/chunks/{filesystem-7bmhse3q.js → image-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{filesystem-qq6kszvj.js → image-7egdqz3j.js} +12 -12
  86. package/dist/chunks/{filesystem-08pbggxf.js → image-7j3wvdfz.js} +31 -31
  87. package/dist/chunks/{filesystem-b3pd91qs.js → image-7tw54njt.js} +37 -37
  88. package/dist/chunks/{filesystem-7w2ypzdf.js → image-7w2ypzdf.js} +1 -1
  89. package/dist/chunks/{filesystem-7weczvnd.js → image-7weczvnd.js} +1 -1
  90. package/dist/chunks/{filesystem-775hqbnd.js → image-80mg3ag8.js} +3 -3
  91. package/dist/chunks/{filesystem-80pdk984.js → image-80pdk984.js} +1 -1
  92. package/dist/chunks/{filesystem-vza1zfjv.js → image-867m4chq.js} +5 -5
  93. package/dist/chunks/{filesystem-89287pr7.js → image-89287pr7.js} +1 -1
  94. package/dist/chunks/{filesystem-8b3vzgkx.js → image-8b3vzgkx.js} +1 -1
  95. package/dist/chunks/{filesystem-5whx36p1.js → image-8cg7mtm3.js} +4 -4
  96. package/dist/chunks/{filesystem-4gmbvmjy.js → image-8dfptpqb.js} +4 -4
  97. package/dist/chunks/{filesystem-0cfy1ehc.js → image-8g29nsdr.js} +1 -1
  98. package/dist/chunks/{filesystem-2q2xjc3y.js → image-8msjp164.js} +12 -12
  99. package/dist/chunks/{filesystem-51jhd8ep.js → image-8mxdh5yj.js} +33 -33
  100. package/dist/chunks/{filesystem-bb3mmwvh.js → image-8sxe6kv8.js} +2 -2
  101. package/dist/chunks/{filesystem-8wtp7s3z.js → image-8wtp7s3z.js} +1 -1
  102. package/dist/chunks/{filesystem-8zv0xmg5.js → image-8zv0xmg5.js} +1 -1
  103. package/dist/chunks/{filesystem-90ct6wq4.js → image-90ct6wq4.js} +1 -1
  104. package/dist/chunks/{filesystem-csnvjcee.js → image-93txqy9x.js} +14 -14
  105. package/dist/chunks/{filesystem-93xmyh8q.js → image-93xmyh8q.js} +2 -2
  106. package/dist/chunks/{filesystem-vz5gdy1c.js → image-9cr767vn.js} +20 -20
  107. package/dist/chunks/{filesystem-f7dfffjm.js → image-9fkwhhb5.js} +5 -5
  108. package/dist/chunks/{filesystem-gcy216gt.js → image-9hwc8wcq.js} +27 -27
  109. package/dist/chunks/{filesystem-hmadzfaz.js → image-9ma5fn1f.js} +20 -20
  110. package/dist/chunks/{filesystem-9rqhy0gk.js → image-9rqhy0gk.js} +3 -3
  111. package/dist/chunks/{filesystem-454f6kjb.js → image-9s3a43jd.js} +7 -7
  112. package/dist/chunks/{filesystem-t319hsc5.js → image-9twex731.js} +5 -5
  113. package/dist/chunks/{filesystem-1rkgdt11.js → image-9w1wxbvz.js} +93 -93
  114. package/dist/chunks/{filesystem-qyr2dypf.js → image-9wyee0qt.js} +31 -31
  115. package/dist/chunks/{filesystem-9t9kmmk7.js → image-a086xmbz.js} +46 -46
  116. package/dist/chunks/{filesystem-7f840skq.js → image-a1qwck5h.js} +8 -8
  117. package/dist/chunks/{filesystem-4rqnzn9t.js → image-a3ph1300.js} +56 -56
  118. package/dist/chunks/{filesystem-365eavge.js → image-a4h8tact.js} +4 -4
  119. package/dist/chunks/{filesystem-jpdnsake.js → image-a616gn02.js} +4 -4
  120. package/dist/chunks/{filesystem-rgm5kar6.js → image-a7an38xq.js} +12 -12
  121. package/dist/chunks/{filesystem-55cy7d7f.js → image-aa6rrhmx.js} +5 -5
  122. package/dist/chunks/{filesystem-vgc35wbf.js → image-aeyde66b.js} +35 -35
  123. package/dist/chunks/{filesystem-zeppcy2b.js → image-af6thppn.js} +20 -20
  124. package/dist/chunks/{filesystem-20bx7jp1.js → image-agw8vqrr.js} +53 -53
  125. package/dist/chunks/{filesystem-3cbjf1nt.js → image-ayjs7tqn.js} +2 -2
  126. package/dist/chunks/{filesystem-gexxa2vn.js → image-b2m2zsc5.js} +35 -35
  127. package/dist/chunks/{filesystem-xtq9xpt1.js → image-b7nkz392.js} +1 -1
  128. package/dist/chunks/{filesystem-gzmww30b.js → image-bbbyb96v.js} +16 -16
  129. package/dist/chunks/{filesystem-t5rmm2ev.js → image-bbeyq2cc.js} +9 -9
  130. package/dist/chunks/{filesystem-5drv7zr7.js → image-bbk26bye.js} +21 -21
  131. package/dist/chunks/{filesystem-np8em5wg.js → image-bc2m02yj.js} +2 -2
  132. package/dist/chunks/{filesystem-r7zrbnjn.js → image-bfmm6xpm.js} +4 -4
  133. package/dist/chunks/{filesystem-bhfd478d.js → image-bhfd478d.js} +1 -1
  134. package/dist/chunks/{filesystem-xd9cc171.js → image-bstexjd6.js} +5 -5
  135. package/dist/chunks/{filesystem-ppxbfkyv.js → image-by14ycmy.js} +14 -14
  136. package/dist/chunks/{filesystem-48wvk849.js → image-byjyn2a5.js} +16 -16
  137. package/dist/chunks/{filesystem-p5ccmfnv.js → image-c096rkwb.js} +40 -40
  138. package/dist/chunks/{filesystem-ep6snxvm.js → image-c2p0j2y8.js} +5 -5
  139. package/dist/chunks/{filesystem-d001apn6.js → image-c5sbpv0k.js} +14 -14
  140. package/dist/chunks/{filesystem-z5c2z2ge.js → image-ccpzm5r6.js} +23 -23
  141. package/dist/chunks/{filesystem-f59jsr6e.js → image-cemr9974.js} +17 -17
  142. package/dist/chunks/{filesystem-ntbmxnjx.js → image-cjra45me.js} +2 -2
  143. package/dist/chunks/image-cjyp1t7z.js +26 -0
  144. package/dist/chunks/image-cqn1kb1y.js +265 -0
  145. package/dist/chunks/{filesystem-4e7fsjjk.js → image-csd3w13c.js} +19 -19
  146. package/dist/chunks/{filesystem-mrqpf9vy.js → image-cwqtyn5a.js} +181 -181
  147. package/dist/chunks/{filesystem-cwrgdav8.js → image-cwrgdav8.js} +2 -2
  148. package/dist/chunks/{filesystem-jqrvh40r.js → image-cwthamer.js} +50 -50
  149. package/dist/chunks/{filesystem-qtemt9a6.js → image-d4ed2gt6.js} +6 -6
  150. package/dist/chunks/{filesystem-d4v9tmah.js → image-d4v9tmah.js} +2 -2
  151. package/dist/chunks/{filesystem-bxvej6ck.js → image-d5fptwae.js} +49 -49
  152. package/dist/chunks/{filesystem-y5y97czz.js → image-d7w07mfq.js} +21 -21
  153. package/dist/chunks/{filesystem-ccckf9jr.js → image-df7emc42.js} +12 -12
  154. package/dist/chunks/{filesystem-h41db3f3.js → image-dmsryt2k.js} +30 -30
  155. package/dist/chunks/{filesystem-cymdgrpe.js → image-dp275c5j.js} +23 -23
  156. package/dist/chunks/{filesystem-jd9j19df.js → image-dsh61j18.js} +37 -37
  157. package/dist/chunks/{filesystem-dt77769w.js → image-dt77769w.js} +1 -1
  158. package/dist/chunks/{filesystem-rdrrctes.js → image-dvdbzmy5.js} +19 -19
  159. package/dist/chunks/{filesystem-ygnyxm4b.js → image-edm37t96.js} +6 -6
  160. package/dist/chunks/{filesystem-jt92w8ws.js → image-ekf4yap7.js} +9 -9
  161. package/dist/chunks/{filesystem-y140ayzt.js → image-ekq15ar9.js} +8 -8
  162. package/dist/chunks/{filesystem-m60z7dxa.js → image-empdm8x3.js} +86 -86
  163. package/dist/chunks/{filesystem-yny8e69s.js → image-en657vn8.js} +4 -4
  164. package/dist/chunks/{filesystem-hj6988hr.js → image-enfch9m5.js} +11 -11
  165. package/dist/chunks/{filesystem-eqw4pqj1.js → image-eqw4pqj1.js} +2 -2
  166. package/dist/chunks/{filesystem-jctajm4m.js → image-erf9qnyb.js} +7 -7
  167. package/dist/chunks/{filesystem-n81rxgvg.js → image-etrnj9s7.js} +8 -8
  168. package/dist/chunks/image-ev660z6k.js +18 -0
  169. package/dist/chunks/{filesystem-xfmt2ww9.js → image-exmv1nzx.js} +1 -1
  170. package/dist/chunks/{filesystem-xj7xg5ja.js → image-f06ty72g.js} +23 -23
  171. package/dist/chunks/{filesystem-0havt919.js → image-f10z0tjs.js} +6 -6
  172. package/dist/chunks/{filesystem-fffv3p7h.js → image-fffv3p7h.js} +1 -1
  173. package/dist/chunks/{filesystem-fg9p65nk.js → image-fg9p65nk.js} +2 -2
  174. package/dist/chunks/{filesystem-0pvy9emx.js → image-fqe6gzj0.js} +22 -22
  175. package/dist/chunks/{filesystem-2r27xy4g.js → image-fr4mpfvv.js} +33 -33
  176. package/dist/chunks/{filesystem-br87qvha.js → image-fz6kk9rr.js} +16 -16
  177. package/dist/chunks/{filesystem-w687dnns.js → image-fznmdakp.js} +4 -4
  178. package/dist/chunks/{filesystem-b26ddj6h.js → image-g4txs7zc.js} +4 -4
  179. package/dist/chunks/{filesystem-gbjdnr5j.js → image-gbjdnr5j.js} +2 -2
  180. package/dist/chunks/{filesystem-xr7zekac.js → image-gh21b0ry.js} +15 -15
  181. package/dist/chunks/{filesystem-sdt5j0rm.js → image-ghrv1g9c.js} +4 -4
  182. package/dist/chunks/{filesystem-0mp36kg4.js → image-gs6hy6yz.js} +33 -33
  183. package/dist/chunks/{filesystem-ckn0kvtp.js → image-gwyytpcj.js} +6 -6
  184. package/dist/chunks/{filesystem-zt8d2mt2.js → image-gxp5m4b7.js} +10 -10
  185. package/dist/chunks/{filesystem-gxs71cxp.js → image-gxs71cxp.js} +1 -1
  186. package/dist/chunks/{filesystem-09tt7k9z.js → image-gz3gn77m.js} +15 -15
  187. package/dist/chunks/{filesystem-x3d6bqxn.js → image-h12rks1t.js} +16 -16
  188. package/dist/chunks/{filesystem-j1wvkh1x.js → image-h1aheenb.js} +8 -8
  189. package/dist/chunks/{filesystem-hsx8x5xk.js → image-h2dy2p62.js} +30 -30
  190. package/dist/chunks/{filesystem-wfddqnpx.js → image-h5707t0m.js} +7 -7
  191. package/dist/chunks/{filesystem-p8cs7n7b.js → image-h5qk3p40.js} +18 -18
  192. package/dist/chunks/{filesystem-t2jj1q7e.js → image-h9vrndxk.js} +6 -6
  193. package/dist/chunks/{filesystem-6xgbgdv6.js → image-ha1v2dhf.js} +18 -18
  194. package/dist/chunks/{filesystem-gpcm5csb.js → image-hae9edhn.js} +26 -26
  195. package/dist/chunks/{filesystem-rr1v8qt4.js → image-hagns0fx.js} +37 -37
  196. package/dist/chunks/{filesystem-jaee43gy.js → image-hc52dr5k.js} +15 -15
  197. package/dist/chunks/{filesystem-qghv1qvb.js → image-hdgden8p.js} +9 -9
  198. package/dist/chunks/{filesystem-yst66qdr.js → image-hg6vn70s.js} +15 -15
  199. package/dist/chunks/{filesystem-hgzwgvze.js → image-hgzwgvze.js} +2 -2
  200. package/dist/chunks/{filesystem-15ev6cjk.js → image-hp3zd7ap.js} +21 -21
  201. package/dist/chunks/{filesystem-8d2bz6m6.js → image-hw621kav.js} +8 -8
  202. package/dist/chunks/{filesystem-ry7kp2db.js → image-hx3mz2q2.js} +8 -8
  203. package/dist/chunks/{filesystem-tr8x705m.js → image-j376ae4e.js} +5 -5
  204. package/dist/chunks/{filesystem-m5gve12k.js → image-j6ttt5wd.js} +31 -31
  205. package/dist/chunks/{filesystem-r4rzdsef.js → image-jbg9kr7p.js} +15 -15
  206. package/dist/chunks/{filesystem-7184ydrq.js → image-jcd5kwse.js} +18 -18
  207. package/dist/chunks/{filesystem-jqz55792.js → image-jf3krjas.js} +8 -8
  208. package/dist/chunks/{filesystem-1v53xt9g.js → image-jg05jkna.js} +5 -5
  209. package/dist/chunks/{filesystem-jm70asfg.js → image-jm70asfg.js} +1 -1
  210. package/dist/chunks/{filesystem-44pmzq9c.js → image-jxd6f16v.js} +2 -2
  211. package/dist/chunks/{filesystem-g9ndtp1p.js → image-jy2czfqv.js} +4 -4
  212. package/dist/chunks/{filesystem-a4z47j9b.js → image-kbdqsgdv.js} +23 -23
  213. package/dist/chunks/{filesystem-ngtphjad.js → image-kdy8sw8g.js} +49 -49
  214. package/dist/chunks/{filesystem-bebc0q7y.js → image-kfv0g1g4.js} +23 -23
  215. package/dist/chunks/{filesystem-kj9n5bvh.js → image-kj9n5bvh.js} +1 -1
  216. package/dist/chunks/{filesystem-a11c4705.js → image-knyvry82.js} +12 -12
  217. package/dist/chunks/{filesystem-5j3ybskv.js → image-krgcry9n.js} +24 -24
  218. package/dist/chunks/{filesystem-5an0vcbv.js → image-krncvf6c.js} +5 -5
  219. package/dist/chunks/{filesystem-kt3bjfbg.js → image-kt3bjfbg.js} +1 -1
  220. package/dist/chunks/{filesystem-3ev9nt0s.js → image-kvv0ftgz.js} +16 -16
  221. package/dist/chunks/{filesystem-kzczzf4v.js → image-kzczzf4v.js} +1 -1
  222. package/dist/chunks/{filesystem-m1714858.js → image-m1714858.js} +1 -1
  223. package/dist/chunks/{filesystem-grjr2gbp.js → image-m4q5fsjq.js} +3 -3
  224. package/dist/chunks/{filesystem-p7b25p4c.js → image-m9958x9e.js} +7 -7
  225. package/dist/chunks/{filesystem-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
  226. package/dist/chunks/{filesystem-8z6m94af.js → image-mb7mbhnz.js} +3 -3
  227. package/dist/chunks/{filesystem-rkna7mc2.js → image-mk2vc4nh.js} +9 -9
  228. package/dist/chunks/{filesystem-fx4vwgh3.js → image-mkk8xpp8.js} +20 -20
  229. package/dist/chunks/{filesystem-m2pcc6v5.js → image-mrdbhex5.js} +11 -11
  230. package/dist/chunks/{filesystem-kh1zbdt3.js → image-msvgrtxd.js} +7 -7
  231. package/dist/chunks/{filesystem-8mkk93b3.js → image-mvyyz3zx.js} +6 -6
  232. package/dist/chunks/{filesystem-fcrd7kek.js → image-n320gsn2.js} +4 -4
  233. package/dist/chunks/{filesystem-gqwyess1.js → image-nbd8ybqd.js} +29 -29
  234. package/dist/chunks/{filesystem-68ng9fap.js → image-njern350.js} +50 -50
  235. package/dist/chunks/{filesystem-3jsstbwk.js → image-nndkek1f.js} +10 -10
  236. package/dist/chunks/{filesystem-wt40kvke.js → image-nppabbt8.js} +59 -59
  237. package/dist/chunks/{filesystem-hkfe6d6q.js → image-nr585y3a.js} +9 -9
  238. package/dist/chunks/{filesystem-e2tfp8ry.js → image-nrjw5mj8.js} +3 -3
  239. package/dist/chunks/{filesystem-sktkk5wx.js → image-nv5fs5xj.js} +37 -37
  240. package/dist/chunks/{filesystem-837f9cvw.js → image-ny5q7brq.js} +5 -5
  241. package/dist/chunks/{filesystem-wvr8xscb.js → image-nyxvvj5y.js} +4 -4
  242. package/dist/chunks/{filesystem-zhjr46dy.js → image-pbay3y7v.js} +4 -4
  243. package/dist/chunks/{filesystem-yw294zhh.js → image-pgbwfxwj.js} +28 -28
  244. package/dist/chunks/{filesystem-maqe1dzr.js → image-pgpy5f68.js} +59 -59
  245. package/dist/chunks/{filesystem-pknna89w.js → image-pknna89w.js} +1 -1
  246. package/dist/chunks/{filesystem-vgfnw8qz.js → image-pkpzvw61.js} +8 -8
  247. package/dist/chunks/{filesystem-wqqvn0mb.js → image-pzpvhz9w.js} +11 -11
  248. package/dist/chunks/{filesystem-rr6wzrrw.js → image-qab8xyyx.js} +18 -18
  249. package/dist/chunks/{filesystem-zzmy57bz.js → image-qcshcqpt.js} +12 -12
  250. package/dist/chunks/{filesystem-6wag68c3.js → image-qd7rfwp1.js} +12 -12
  251. package/dist/chunks/{filesystem-7nqkf5r1.js → image-qj27ec1j.js} +2 -2
  252. package/dist/chunks/{filesystem-qp7r0hxv.js → image-qp7r0hxv.js} +1 -1
  253. package/dist/chunks/{filesystem-6q8jj3zs.js → image-qtf35215.js} +3 -3
  254. package/dist/chunks/{filesystem-4n2dtty6.js → image-qtn25ebs.js} +16 -16
  255. package/dist/chunks/{filesystem-8c7x16zv.js → image-qvyjzzvv.js} +31 -31
  256. package/dist/chunks/{filesystem-gx924ews.js → image-r2mws0sc.js} +38 -38
  257. package/dist/chunks/{filesystem-1rv0jg3n.js → image-r38gzt4p.js} +20 -20
  258. package/dist/chunks/{filesystem-g5gt5c3n.js → image-r4yhzkx5.js} +9 -9
  259. package/dist/chunks/{filesystem-hj5ypy4p.js → image-ra04w5ma.js} +24 -24
  260. package/dist/chunks/{filesystem-rb9dy4dg.js → image-rb9dy4dg.js} +1 -1
  261. package/dist/chunks/{filesystem-rgc9cx3e.js → image-rgc9cx3e.js} +2 -2
  262. package/dist/chunks/{filesystem-9vmr7758.js → image-rht3t5rc.js} +5 -5
  263. package/dist/chunks/{filesystem-px7qpgcn.js → image-rj7j5fvs.js} +4 -4
  264. package/dist/chunks/{filesystem-nt907s04.js → image-rj7jtxy8.js} +3 -3
  265. package/dist/chunks/{filesystem-tsda2a03.js → image-rjra07fs.js} +27 -27
  266. package/dist/chunks/{filesystem-3yj7dt59.js → image-rkz6c2qr.js} +8 -8
  267. package/dist/chunks/{filesystem-j0yjsatb.js → image-rmxaqrg0.js} +13 -13
  268. package/dist/chunks/{filesystem-rt5dr6hb.js → image-rt5dr6hb.js} +1 -1
  269. package/dist/chunks/{filesystem-2p60zmnr.js → image-s1ba0vj0.js} +2 -2
  270. package/dist/chunks/{filesystem-n0hg6e9k.js → image-s3k2sa2x.js} +32 -32
  271. package/dist/chunks/{filesystem-63zz6drz.js → image-s4kwe8j9.js} +27 -27
  272. package/dist/chunks/{filesystem-7xqm9b38.js → image-s80rzqwm.js} +11 -11
  273. package/dist/chunks/{filesystem-0q93trv0.js → image-saacmhc2.js} +13 -13
  274. package/dist/chunks/{filesystem-sbya78hr.js → image-sbya78hr.js} +1 -1
  275. package/dist/chunks/{filesystem-dw1bgse5.js → image-sfmggqcd.js} +1 -1
  276. package/dist/chunks/{filesystem-80w9bxhm.js → image-sgwjzmx6.js} +13 -13
  277. package/dist/chunks/{filesystem-jxza8fhd.js → image-snz3588v.js} +12 -12
  278. package/dist/chunks/{filesystem-76p3xy3c.js → image-sr5j8d32.js} +11 -11
  279. package/dist/chunks/{filesystem-nzkaa3ba.js → image-ssk079xs.js} +13 -13
  280. package/dist/chunks/{filesystem-svcy3p9a.js → image-svcy3p9a.js} +1 -1
  281. package/dist/chunks/{filesystem-78p2h4ex.js → image-t8erkws8.js} +5 -5
  282. package/dist/chunks/{filesystem-tb2mrvc9.js → image-tb2mrvc9.js} +1 -1
  283. package/dist/chunks/{filesystem-tbpn7jtk.js → image-tbpn7jtk.js} +1 -1
  284. package/dist/chunks/{filesystem-tczq8hjw.js → image-tczq8hjw.js} +1 -1
  285. package/dist/chunks/{filesystem-t79wcjvh.js → image-tg3sartf.js} +14 -14
  286. package/dist/chunks/{filesystem-7828r2n0.js → image-tgfs2sc8.js} +20 -20
  287. package/dist/chunks/{filesystem-vm784cm5.js → image-th55dg36.js} +3 -3
  288. package/dist/chunks/{filesystem-b2vh92cg.js → image-th7d41nj.js} +31 -31
  289. package/dist/chunks/{filesystem-3nnrz6f6.js → image-tmc7xdjs.js} +4 -4
  290. package/dist/chunks/{filesystem-haw8stzt.js → image-tsgtjrn9.js} +5 -5
  291. package/dist/chunks/{filesystem-1jt30gsv.js → image-tv4nthgt.js} +14 -14
  292. package/dist/chunks/{filesystem-tvtps2q9.js → image-tvtps2q9.js} +1 -1
  293. package/dist/chunks/{filesystem-twssxy5n.js → image-twssxy5n.js} +2 -2
  294. package/dist/chunks/{filesystem-x1nvxta7.js → image-tzaszg7x.js} +12 -12
  295. package/dist/chunks/{filesystem-v2r1d0zg.js → image-v2r1d0zg.js} +1 -1
  296. package/dist/chunks/{filesystem-yv682wh0.js → image-v83znpm4.js} +39 -39
  297. package/dist/chunks/{filesystem-4pvj62dq.js → image-vadvdzzh.js} +27 -27
  298. package/dist/chunks/{filesystem-vjf35v1f.js → image-vjf35v1f.js} +1 -1
  299. package/dist/chunks/{filesystem-afx89y6e.js → image-vm57m203.js} +15 -15
  300. package/dist/chunks/{filesystem-c3wmb854.js → image-vmhc7pn4.js} +22 -22
  301. package/dist/chunks/{filesystem-wpdcbbyg.js → image-vrc4p0sk.js} +365 -365
  302. package/dist/chunks/{filesystem-wybce884.js → image-vrw842nf.js} +5 -5
  303. package/dist/chunks/{filesystem-2dgmvn0e.js → image-w174dh1t.js} +11 -11
  304. package/dist/chunks/{filesystem-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
  305. package/dist/chunks/{filesystem-9q8g9sv8.js → image-w79nt68w.js} +4 -4
  306. package/dist/chunks/{filesystem-c8gnfnry.js → image-w7smcngz.js} +35 -35
  307. package/dist/chunks/{filesystem-hmc1gkc2.js → image-w87hzrb3.js} +6 -6
  308. package/dist/chunks/{filesystem-wakvkjy4.js → image-wakvkjy4.js} +1 -1
  309. package/dist/chunks/{filesystem-sgsg0vfz.js → image-wbg5dyt1.js} +6 -6
  310. package/dist/chunks/{filesystem-wd87259q.js → image-wd87259q.js} +1 -1
  311. package/dist/chunks/{filesystem-nx4vzyjd.js → image-wegkxhrn.js} +2 -2
  312. package/dist/chunks/{filesystem-qsdghx1p.js → image-wfdx5ztx.js} +4 -4
  313. package/dist/chunks/{filesystem-c7cw818c.js → image-wt99tj4q.js} +5 -5
  314. package/dist/chunks/{filesystem-vsnnaxjq.js → image-wy2y7272.js} +4 -4
  315. package/dist/chunks/{filesystem-k58qkxgp.js → image-x0wb7rjc.js} +38 -38
  316. package/dist/chunks/{filesystem-sdn2zcx3.js → image-x150ncgg.js} +2 -2
  317. package/dist/chunks/{filesystem-qgxpp3m1.js → image-x16ehwz9.js} +12 -12
  318. package/dist/chunks/{filesystem-zvbpgp0m.js → image-x4f50b5m.js} +16 -16
  319. package/dist/chunks/{filesystem-keyjx42v.js → image-x7st692r.js} +39 -39
  320. package/dist/chunks/{filesystem-kvcp6n19.js → image-xcya9mej.js} +22 -22
  321. package/dist/chunks/{filesystem-8xz27cp9.js → image-xksw6ev0.js} +4 -4
  322. package/dist/chunks/{filesystem-1y90dh74.js → image-xnmhcxk7.js} +12 -12
  323. package/dist/chunks/{filesystem-x3k6scem.js → image-xw4hq4dk.js} +24 -24
  324. package/dist/chunks/{filesystem-dj75yzz7.js → image-xxpb6c96.js} +22 -22
  325. package/dist/chunks/{filesystem-xjr6c8m4.js → image-xxschbft.js} +4 -4
  326. package/dist/chunks/{filesystem-t48jrnqq.js → image-y1n277rb.js} +3 -3
  327. package/dist/chunks/{filesystem-csxpn9yn.js → image-y3w724ap.js} +6 -6
  328. package/dist/chunks/{filesystem-4bj26h8q.js → image-y5g7mn2s.js} +13 -13
  329. package/dist/chunks/{filesystem-qcktaagv.js → image-y5tkr1nf.js} +18 -18
  330. package/dist/chunks/{filesystem-7s99zgth.js → image-y6f5fq50.js} +25 -25
  331. package/dist/chunks/{filesystem-teav1bzy.js → image-y9x9m3cp.js} +9 -9
  332. package/dist/chunks/{filesystem-yb20nhc3.js → image-yb20nhc3.js} +1 -1
  333. package/dist/chunks/{filesystem-1v2g13eq.js → image-ybws1qgk.js} +4 -4
  334. package/dist/chunks/{filesystem-6e0r0q4k.js → image-ydnykckk.js} +3 -3
  335. package/dist/chunks/{filesystem-crwg6mh2.js → image-yeaqkrr5.js} +1 -1
  336. package/dist/chunks/{filesystem-snpn28jx.js → image-yfmbdz01.js} +6 -6
  337. package/dist/chunks/{filesystem-7trt7kgg.js → image-ynzdgah7.js} +5 -5
  338. package/dist/chunks/{filesystem-yr705xyq.js → image-yr705xyq.js} +1 -1
  339. package/dist/chunks/{filesystem-1djvm6kf.js → image-yry2n4cf.js} +8 -8
  340. package/dist/chunks/{filesystem-yvtc2x31.js → image-yvtc2x31.js} +1 -1
  341. package/dist/chunks/{filesystem-rky169ds.js → image-yynxcjvm.js} +21 -21
  342. package/dist/chunks/{filesystem-dbsreg9c.js → image-z2rtd2mp.js} +6 -6
  343. package/dist/chunks/{filesystem-kznkdm16.js → image-zde0ex5v.js} +34 -34
  344. package/dist/chunks/{filesystem-j9nxzz3g.js → image-ze75qvmd.js} +3 -3
  345. package/dist/chunks/{filesystem-qyvke9h9.js → image-zfgt8gz9.js} +32 -32
  346. package/dist/chunks/{filesystem-nq4f4ywt.js → image-zkfmeyq2.js} +14 -14
  347. package/dist/chunks/{filesystem-82m30djg.js → image-zm9m67ms.js} +11 -11
  348. package/dist/chunks/{filesystem-mxxad9v0.js → image-zmkxf04a.js} +7 -7
  349. package/dist/chunks/{filesystem-by8ty0bx.js → image-zpdbqgja.js} +4 -4
  350. package/dist/codemode/catalog.js +1 -1
  351. package/dist/codemode/execution.js +3 -3
  352. package/dist/codemode/fetch.js +148 -148
  353. package/dist/codemode/instructions.js +7 -7
  354. package/dist/codemode/tool.js +155 -155
  355. package/dist/command.js +92 -92
  356. package/dist/config/discovery.js +97 -97
  357. package/dist/config/integration.js +3 -3
  358. package/dist/config/managed.js +1 -1
  359. package/dist/config/markdown.js +1 -1
  360. package/dist/config/normalize.js +112 -112
  361. package/dist/config/plugin/agent.js +133 -133
  362. package/dist/config/plugin/command.js +240 -240
  363. package/dist/config/plugin/compaction.js +173 -173
  364. package/dist/config/plugin/compatibility.js +153 -153
  365. package/dist/config/plugin/entry-observer.js +1 -1
  366. package/dist/config/plugin/formatter.js +131 -131
  367. package/dist/config/plugin/image.js +130 -130
  368. package/dist/config/plugin/instruction.js +130 -130
  369. package/dist/config/plugin/location-watcher.js +130 -130
  370. package/dist/config/plugin/mcp.js +145 -145
  371. package/dist/config/plugin/policy.js +130 -130
  372. package/dist/config/plugin/provider.js +130 -130
  373. package/dist/config/plugin/reference.js +132 -132
  374. package/dist/config/plugin/shell.js +132 -132
  375. package/dist/config/plugin/skill-file.js +149 -149
  376. package/dist/config/plugin/skill-scan.js +1 -1
  377. package/dist/config/plugin/skill.js +156 -156
  378. package/dist/config/plugin/snapshot.js +130 -130
  379. package/dist/config/plugin/source.js +134 -134
  380. package/dist/config/plugin/tool-output.js +131 -131
  381. package/dist/config/plugin/websearch.js +131 -131
  382. package/dist/config/plugin/worktree.js +132 -132
  383. package/dist/config/variable.js +1 -1
  384. package/dist/config/watch.js +1 -1
  385. package/dist/config.js +133 -133
  386. package/dist/console-access.js +1 -1
  387. package/dist/credential/sql.js +2 -2
  388. package/dist/credential.js +94 -94
  389. package/dist/database/batch.js +1 -1
  390. package/dist/database/database.js +81 -81
  391. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  392. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  393. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  394. package/dist/database/drizzle/index.js +15 -15
  395. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  396. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  397. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  398. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  399. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  400. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  401. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  402. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  403. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  404. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  405. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  406. package/dist/database/drizzle.js +16 -16
  407. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  408. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  409. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  410. package/dist/database/migration/20260225215848_workspace.js +1 -1
  411. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  412. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  413. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  414. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  415. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  416. package/dist/database/migration/20260323234822_events.js +1 -1
  417. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  418. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  419. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  420. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  421. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  422. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  423. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  424. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  425. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  426. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  427. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  428. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  429. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  430. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  431. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  432. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  433. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  434. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  435. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  436. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  437. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  438. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  439. package/dist/database/migration/20260611035744_credential.js +1 -1
  440. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  441. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  442. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  443. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  444. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  445. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  446. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  447. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  448. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  449. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  450. package/dist/database/migration/20260812213948_worktree.js +1 -1
  451. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  452. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  453. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  454. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  455. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  456. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  457. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  458. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  459. package/dist/database/migration/20261025123711_blob.js +1 -1
  460. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  461. package/dist/database/migration/20261026223005_schedule.js +1 -1
  462. package/dist/database/migration/20261029002625_session_part.js +1 -1
  463. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  464. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  465. package/dist/database/migration/20261030054400_job.js +1 -1
  466. package/dist/database/migration.gen.js +60 -60
  467. package/dist/database/migration.js +76 -76
  468. package/dist/database/path.js +2 -2
  469. package/dist/database/schema.gen.js +1 -1
  470. package/dist/database/schema.sql.js +1 -1
  471. package/dist/database/v1-migration.bun.js +108 -108
  472. package/dist/database/v1-migration.js +1 -1
  473. package/dist/effect/app-node-builder.js +440 -440
  474. package/dist/effect/app-node-platform.js +2 -2
  475. package/dist/effect/keyed-mutex.js +3 -3
  476. package/dist/effect/websocket-constructor.js +1 -1
  477. package/dist/environment/driver.js +1 -1
  478. package/dist/environment/environment.js +105 -105
  479. package/dist/environment/exec-defaults.js +2 -2
  480. package/dist/environment/files.js +1 -1
  481. package/dist/environment/index.js +107 -107
  482. package/dist/environment/local.js +2 -2
  483. package/dist/environment/memory.js +2 -2
  484. package/dist/environment/unavailable.js +3 -3
  485. package/dist/event/sql.js +1 -1
  486. package/dist/event-logger.js +85 -85
  487. package/dist/file-access.js +160 -160
  488. package/dist/file-mutation.js +108 -108
  489. package/dist/file-retention.js +1 -1
  490. package/dist/file-write.js +164 -164
  491. package/dist/filesystem/fff.bun.js +2 -2
  492. package/dist/filesystem/fff.js +1 -1
  493. package/dist/filesystem/fff.node.js +2 -2
  494. package/dist/filesystem/fff.workerd.js +2 -2
  495. package/dist/filesystem/file-watch.js +91 -91
  496. package/dist/filesystem/location-watcher-policy.js +6 -6
  497. package/dist/filesystem/location-watcher.js +251 -251
  498. package/dist/filesystem/protected.js +3 -3
  499. package/dist/filesystem/search.js +113 -113
  500. package/dist/filesystem/watcher-binding.js +1 -1
  501. package/dist/filesystem/watcher.js +11 -11
  502. package/dist/filesystem.js +116 -116
  503. package/dist/flag.js +127 -127
  504. package/dist/form.js +95 -95
  505. package/dist/formatter/builtins.js +4 -4
  506. package/dist/formatter.js +100 -100
  507. package/dist/generate.js +118 -118
  508. package/dist/git.js +11 -11
  509. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  510. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  511. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  512. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  513. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  514. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  515. package/dist/github-copilot/copilot-provider.js +17 -17
  516. package/dist/github-copilot/models.js +112 -112
  517. package/dist/github-copilot/openai-compatible-error.js +1 -1
  518. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  519. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  520. package/dist/github-copilot/responses/openai-error.js +1 -1
  521. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  522. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  523. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  524. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  525. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  526. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  527. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  528. package/dist/image/notice.js +1 -1
  529. package/dist/image/photon-normalize.js +1 -1
  530. package/dist/image/photon-worker.js +1 -1
  531. package/dist/image/photon.js +4 -4
  532. package/dist/image.js +6 -6
  533. package/dist/instance/service.js +5 -5
  534. package/dist/instance.js +431 -431
  535. package/dist/instruction-discovery.js +93 -93
  536. package/dist/instructions/builtins.js +100 -100
  537. package/dist/instructions/index.js +3 -3
  538. package/dist/integration/connection.js +3 -3
  539. package/dist/integration.js +98 -98
  540. package/dist/job/list.js +7 -7
  541. package/dist/job/recovery.js +2 -2
  542. package/dist/job/sql.js +2 -2
  543. package/dist/job.js +90 -90
  544. package/dist/kv/sql.js +2 -2
  545. package/dist/kv.js +84 -84
  546. package/dist/location-activity.js +185 -185
  547. package/dist/location-lifecycle.js +153 -153
  548. package/dist/location-service-map.js +99 -99
  549. package/dist/location-services.js +428 -428
  550. package/dist/location.js +100 -100
  551. package/dist/managed-policy.js +3 -3
  552. package/dist/mcp/client.js +158 -158
  553. package/dist/mcp/connection.js +104 -104
  554. package/dist/mcp/index.js +118 -118
  555. package/dist/mcp/instructions.js +187 -187
  556. package/dist/mcp/oauth.js +89 -89
  557. package/dist/mcp/pool.js +110 -110
  558. package/dist/mcp/socket-client.js +1 -1
  559. package/dist/mcp/stdio.js +157 -157
  560. package/dist/mime.js +1 -1
  561. package/dist/modal/models.js +112 -112
  562. package/dist/model-resolver.js +110 -110
  563. package/dist/model-retry.js +1 -1
  564. package/dist/model.js +115 -115
  565. package/dist/models-dev/v1.js +1 -1
  566. package/dist/models-dev.js +117 -117
  567. package/dist/oauth/page.js +1 -1
  568. package/dist/permission/saved.js +91 -91
  569. package/dist/permission/sql.js +5 -5
  570. package/dist/permission.js +158 -158
  571. package/dist/persistent-pty/binary.bun.js +1 -1
  572. package/dist/persistent-pty/daemon.js +1 -1
  573. package/dist/persistent-pty/index.js +93 -93
  574. package/dist/persistent-pty/pty-binding.js +1 -1
  575. package/dist/persistent-pty.js +86 -86
  576. package/dist/plugin/agent.js +87 -87
  577. package/dist/plugin/command.js +119 -119
  578. package/dist/plugin/goal.js +3 -3
  579. package/dist/plugin/hooks.js +5 -5
  580. package/dist/plugin/host.js +244 -244
  581. package/dist/plugin/identity.js +5 -5
  582. package/dist/plugin/instance.js +5 -5
  583. package/dist/plugin/internal.js +409 -409
  584. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  585. package/dist/plugin/models-dev.js +110 -110
  586. package/dist/plugin/module.js +127 -127
  587. package/dist/plugin/optimize.js +2 -2
  588. package/dist/plugin/plan.js +149 -149
  589. package/dist/plugin/promise.js +1 -1
  590. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  591. package/dist/plugin/provider/azure.js +131 -131
  592. package/dist/plugin/provider/cerebras.js +1 -1
  593. package/dist/plugin/provider/chatgpt.js +133 -133
  594. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  595. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  596. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  597. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  598. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  599. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  600. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  601. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  602. package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
  603. package/dist/plugin/provider/claude-agent/index.js +146 -146
  604. package/dist/plugin/provider/claude-agent/instructions.js +110 -110
  605. package/dist/plugin/provider/claude-agent/integration.js +115 -115
  606. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
  607. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  608. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +4 -4
  609. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  610. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  611. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +1 -1
  612. package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
  613. package/dist/plugin/provider/claude-agent/provider.js +110 -110
  614. package/dist/plugin/provider/claude-agent/session.js +112 -112
  615. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  616. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  617. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  618. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  619. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  620. package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
  621. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  622. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  623. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  624. package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
  625. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  626. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  627. package/dist/plugin/provider/configured.js +126 -126
  628. package/dist/plugin/provider/credential-settings.js +88 -88
  629. package/dist/plugin/provider/databricks.js +1 -1
  630. package/dist/plugin/provider/digitalocean.js +109 -109
  631. package/dist/plugin/provider/dynamic.js +2 -2
  632. package/dist/plugin/provider/github-copilot.js +111 -111
  633. package/dist/plugin/provider/gitlab.js +109 -109
  634. package/dist/plugin/provider/google-vertex.js +127 -127
  635. package/dist/plugin/provider/kilo.js +1 -1
  636. package/dist/plugin/provider/llmgateway.js +89 -89
  637. package/dist/plugin/provider/lmstudio.js +138 -138
  638. package/dist/plugin/provider/local.js +137 -137
  639. package/dist/plugin/provider/modal.js +108 -108
  640. package/dist/plugin/provider/neon.js +1 -1
  641. package/dist/plugin/provider/nvidia.js +1 -1
  642. package/dist/plugin/provider/ollama.js +138 -138
  643. package/dist/plugin/provider/openai-context-caps.js +106 -106
  644. package/dist/plugin/provider/openai.js +133 -133
  645. package/dist/plugin/provider/opencode.js +159 -159
  646. package/dist/plugin/provider/openrouter.js +104 -104
  647. package/dist/plugin/provider/poe.js +90 -90
  648. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  649. package/dist/plugin/provider/refresh.js +87 -87
  650. package/dist/plugin/provider/sap-ai-core.js +104 -104
  651. package/dist/plugin/provider/sdk-factory.js +1 -1
  652. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  653. package/dist/plugin/provider/vllm.js +138 -138
  654. package/dist/plugin/provider/xai.js +104 -104
  655. package/dist/plugin/provider/zenmux.js +1 -1
  656. package/dist/plugin/provider.js +237 -237
  657. package/dist/plugin/sdk.js +89 -89
  658. package/dist/plugin/service.js +3 -3
  659. package/dist/plugin/skill.js +152 -152
  660. package/dist/plugin/source-directory.js +1 -1
  661. package/dist/plugin/supervisor.js +419 -419
  662. package/dist/plugin/tool-input-repair.js +4 -4
  663. package/dist/plugin/update.js +6 -6
  664. package/dist/plugin/vcs/git.js +99 -99
  665. package/dist/plugin/vcs/hg.js +99 -99
  666. package/dist/plugin/verbosity.js +106 -106
  667. package/dist/plugin/warming.js +130 -130
  668. package/dist/plugin/websearch/exa.js +8 -8
  669. package/dist/plugin/websearch/firecrawl.js +9 -9
  670. package/dist/plugin/websearch/index.js +10 -10
  671. package/dist/plugin/websearch/mcp.js +4 -4
  672. package/dist/plugin/websearch/parallel.js +9 -9
  673. package/dist/plugin/websearch/provider.js +3 -3
  674. package/dist/plugin/websearch/tavily.js +7 -7
  675. package/dist/plugin/websearch/tinyfish.js +7 -7
  676. package/dist/plugin.js +249 -249
  677. package/dist/project/icon.js +5 -5
  678. package/dist/project/schema.js +8 -8
  679. package/dist/project/sql.js +4 -4
  680. package/dist/project.js +103 -103
  681. package/dist/provider.js +112 -112
  682. package/dist/pty/protocol.js +1 -1
  683. package/dist/pty/ticket.js +1 -1
  684. package/dist/pty.js +111 -111
  685. package/dist/reference/instructions.js +101 -101
  686. package/dist/reference.js +103 -103
  687. package/dist/repository-cache.js +93 -93
  688. package/dist/repository.js +3 -3
  689. package/dist/ripgrep/binary.js +2 -2
  690. package/dist/ripgrep.js +109 -109
  691. package/dist/rpc.js +99 -99
  692. package/dist/schedule/check.js +249 -249
  693. package/dist/schedule/sql.js +6 -6
  694. package/dist/schedule.js +263 -263
  695. package/dist/schema.js +1 -1
  696. package/dist/session/affinity.js +3 -3
  697. package/dist/session/background.js +3 -3
  698. package/dist/session/blob.js +134 -134
  699. package/dist/session/command.js +85 -85
  700. package/dist/session/compaction.js +175 -175
  701. package/dist/session/context.js +205 -205
  702. package/dist/session/diff.js +101 -101
  703. package/dist/session/environment.js +5 -5
  704. package/dist/session/error.js +5 -5
  705. package/dist/session/event.js +1 -1
  706. package/dist/session/execution/restart.js +250 -250
  707. package/dist/session/execution.js +165 -165
  708. package/dist/session/generate.js +204 -204
  709. package/dist/session/history.js +139 -139
  710. package/dist/session/inbox.js +150 -150
  711. package/dist/session/info.js +3 -3
  712. package/dist/session/instruction-entry.js +90 -90
  713. package/dist/session/instruction-state.js +8 -8
  714. package/dist/session/instructions.js +144 -144
  715. package/dist/session/message-updater.js +4 -4
  716. package/dist/session/message.js +1 -1
  717. package/dist/session/model-request.js +169 -169
  718. package/dist/session/model-transport.js +7 -7
  719. package/dist/session/move.js +171 -171
  720. package/dist/session/projector.js +146 -146
  721. package/dist/session/prompt.js +151 -151
  722. package/dist/session/recent-text.js +1 -1
  723. package/dist/session/revert.js +142 -142
  724. package/dist/session/run-coordinator.js +3 -3
  725. package/dist/session/runner/index.js +3 -3
  726. package/dist/session/runner/llm.js +258 -258
  727. package/dist/session/runner/max-steps.js +1 -1
  728. package/dist/session/runner/model.js +113 -113
  729. package/dist/session/runner/publish-llm-event.js +153 -153
  730. package/dist/session/runner/retry.js +5 -5
  731. package/dist/session/runner/step.js +166 -166
  732. package/dist/session/runner/to-llm-message.js +140 -140
  733. package/dist/session/schema.js +5 -5
  734. package/dist/session/session.js +188 -188
  735. package/dist/session/shell.js +145 -145
  736. package/dist/session/skill.js +152 -152
  737. package/dist/session/sql.js +5 -5
  738. package/dist/session/stats.js +87 -87
  739. package/dist/session/store.js +145 -145
  740. package/dist/session/stored.js +2 -2
  741. package/dist/session/subagent-completion.js +1 -1
  742. package/dist/session/subagent-job.js +233 -233
  743. package/dist/session/system-prompt.js +3 -3
  744. package/dist/session/title.js +209 -209
  745. package/dist/session/to-session-error.js +152 -152
  746. package/dist/session/transfer.js +251 -251
  747. package/dist/session/usage.js +1 -1
  748. package/dist/session.js +243 -243
  749. package/dist/shared-cache.js +5 -5
  750. package/dist/shell/parse.js +6 -6
  751. package/dist/shell/result.js +1 -1
  752. package/dist/shell/scan.js +1 -1
  753. package/dist/shell/select.js +11 -11
  754. package/dist/shell.js +147 -147
  755. package/dist/skill/discovery.js +6 -6
  756. package/dist/skill/instructions.js +154 -154
  757. package/dist/skill.js +159 -159
  758. package/dist/snapshot.js +100 -100
  759. package/dist/state.js +1 -1
  760. package/dist/tool/html-markdown.js +1 -1
  761. package/dist/tool/http-body.js +1 -1
  762. package/dist/tool/mcp.js +188 -188
  763. package/dist/tool/plugin/artifact.js +236 -236
  764. package/dist/tool/plugin/edit.js +170 -170
  765. package/dist/tool/plugin/file-diff.js +1 -1
  766. package/dist/tool/plugin/glob.js +174 -174
  767. package/dist/tool/plugin/grep.js +173 -173
  768. package/dist/tool/plugin/image-generate.js +247 -247
  769. package/dist/tool/plugin/mcp-resource.js +169 -169
  770. package/dist/tool/plugin/opencode.js +166 -166
  771. package/dist/tool/plugin/patch.js +171 -171
  772. package/dist/tool/plugin/question.js +149 -149
  773. package/dist/tool/plugin/read.js +173 -173
  774. package/dist/tool/plugin/schedule.js +255 -255
  775. package/dist/tool/plugin/shell.js +243 -243
  776. package/dist/tool/plugin/skill.js +154 -154
  777. package/dist/tool/plugin/subagent.js +242 -242
  778. package/dist/tool/plugin/todo.js +156 -156
  779. package/dist/tool/plugin/webfetch.js +158 -158
  780. package/dist/tool/plugin/websearch.js +156 -156
  781. package/dist/tool/plugin/write.js +171 -171
  782. package/dist/tool/read-filesystem.js +114 -114
  783. package/dist/tool/runtime.js +1 -1
  784. package/dist/tool/search.js +109 -109
  785. package/dist/tool-output.js +7 -7
  786. package/dist/tool.js +161 -161
  787. package/dist/usage-limits.js +90 -90
  788. package/dist/util/error-summary.js +1 -1
  789. package/dist/util/git-executable.js +3 -3
  790. package/dist/util/lazy.js +1 -1
  791. package/dist/util/slug.js +1 -1
  792. package/dist/util/token.js +1 -1
  793. package/dist/util/which.js +1 -1
  794. package/dist/util/wildcard.js +1 -1
  795. package/dist/v1/config/agent.js +5 -5
  796. package/dist/v1/config/command.js +1 -1
  797. package/dist/v1/config/mcp.js +4 -4
  798. package/dist/v1/config/migrate.js +105 -105
  799. package/dist/v1/config/permission.js +3 -3
  800. package/dist/v1/config/plugin.js +1 -1
  801. package/dist/v1/config/provider-options.js +1 -1
  802. package/dist/v1/config/provider.js +4 -4
  803. package/dist/variant.js +104 -104
  804. package/dist/vcs/patch.js +1 -1
  805. package/dist/vcs.js +102 -102
  806. package/dist/voice.js +97 -97
  807. package/dist/websearch.js +91 -91
  808. package/dist/wellknown/plugin.js +87 -87
  809. package/dist/wellknown.js +90 -90
  810. package/dist/workspace/driver.js +5 -5
  811. package/dist/workspace/sql.js +1 -1
  812. package/dist/workspace.js +93 -93
  813. package/dist/worktree/directory.js +2 -2
  814. package/dist/worktree/git.js +9 -9
  815. package/dist/worktree/sql.js +5 -5
  816. package/dist/worktree/strategies.js +98 -98
  817. package/dist/worktree.js +103 -103
  818. package/package.json +9 -9
  819. package/dist/chunks/filesystem-0hjndary.js +0 -26
  820. package/dist/chunks/filesystem-a610t88q.js +0 -18
  821. package/dist/chunks/filesystem-z829e1vf.js +0 -265
  822. /package/dist/chunks/{filesystem-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
  823. /package/dist/chunks/{filesystem-0zkw76rk.js → image-0zkw76rk.js} +0 -0
  824. /package/dist/chunks/{filesystem-108x4f4w.js → image-108x4f4w.js} +0 -0
  825. /package/dist/chunks/{filesystem-17cy0kzp.js → image-17cy0kzp.js} +0 -0
  826. /package/dist/chunks/{filesystem-1cnp2v09.js → image-1cnp2v09.js} +0 -0
  827. /package/dist/chunks/{filesystem-1kah00gy.js → image-1kah00gy.js} +0 -0
  828. /package/dist/chunks/{filesystem-24dcb14g.js → image-24dcb14g.js} +0 -0
  829. /package/dist/chunks/{filesystem-2710q6r3.js → image-2710q6r3.js} +0 -0
  830. /package/dist/chunks/{filesystem-2bv980vf.js → image-2bv980vf.js} +0 -0
  831. /package/dist/chunks/{filesystem-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
  832. /package/dist/chunks/{filesystem-359p4xyc.js → image-359p4xyc.js} +0 -0
  833. /package/dist/chunks/{filesystem-3af0jn4w.js → image-3af0jn4w.js} +0 -0
  834. /package/dist/chunks/{filesystem-3asan66x.js → image-3asan66x.js} +0 -0
  835. /package/dist/chunks/{filesystem-3v8g72cx.js → image-3v8g72cx.js} +0 -0
  836. /package/dist/chunks/{filesystem-3wcehsnq.js → image-3wcehsnq.js} +0 -0
  837. /package/dist/chunks/{filesystem-43n2bw4t.js → image-43n2bw4t.js} +0 -0
  838. /package/dist/chunks/{filesystem-4knz6hnm.js → image-4knz6hnm.js} +0 -0
  839. /package/dist/chunks/{filesystem-4qk9sjk2.js → image-4qk9sjk2.js} +0 -0
  840. /package/dist/chunks/{filesystem-4y7fprxs.js → image-4y7fprxs.js} +0 -0
  841. /package/dist/chunks/{filesystem-53557ph1.js → image-53557ph1.js} +0 -0
  842. /package/dist/chunks/{filesystem-550bvhaj.js → image-550bvhaj.js} +0 -0
  843. /package/dist/chunks/{filesystem-5w3e23ze.js → image-5w3e23ze.js} +0 -0
  844. /package/dist/chunks/{filesystem-6agm2x70.js → image-6agm2x70.js} +0 -0
  845. /package/dist/chunks/{filesystem-6prwharc.js → image-6prwharc.js} +0 -0
  846. /package/dist/chunks/{filesystem-6q2bdcd1.js → image-6q2bdcd1.js} +0 -0
  847. /package/dist/chunks/{filesystem-7akdwqpd.js → image-7akdwqpd.js} +0 -0
  848. /package/dist/chunks/{filesystem-7m9af43g.js → image-7m9af43g.js} +0 -0
  849. /package/dist/chunks/{filesystem-822emrt2.js → image-822emrt2.js} +0 -0
  850. /package/dist/chunks/{filesystem-84wd9syh.js → image-84wd9syh.js} +0 -0
  851. /package/dist/chunks/{filesystem-88xbtdfr.js → image-88xbtdfr.js} +0 -0
  852. /package/dist/chunks/{filesystem-8n3pysct.js → image-8n3pysct.js} +0 -0
  853. /package/dist/chunks/{filesystem-8wj87zfr.js → image-8wj87zfr.js} +0 -0
  854. /package/dist/chunks/{filesystem-9a4afbnw.js → image-9a4afbnw.js} +0 -0
  855. /package/dist/chunks/{filesystem-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
  856. /package/dist/chunks/{filesystem-a6k6eb26.js → image-a6k6eb26.js} +0 -0
  857. /package/dist/chunks/{filesystem-af5trqkr.js → image-af5trqkr.js} +0 -0
  858. /package/dist/chunks/{filesystem-afrmfg78.js → image-afrmfg78.js} +0 -0
  859. /package/dist/chunks/{filesystem-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
  860. /package/dist/chunks/{filesystem-atq7p7m5.js → image-atq7p7m5.js} +0 -0
  861. /package/dist/chunks/{filesystem-beh6qq61.js → image-beh6qq61.js} +0 -0
  862. /package/dist/chunks/{filesystem-bhmrqjy3.js → image-bhmrqjy3.js} +0 -0
  863. /package/dist/chunks/{filesystem-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
  864. /package/dist/chunks/{filesystem-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
  865. /package/dist/chunks/{filesystem-cf4snx6d.js → image-cf4snx6d.js} +0 -0
  866. /package/dist/chunks/{filesystem-cqv5kn06.js → image-cqv5kn06.js} +0 -0
  867. /package/dist/chunks/{filesystem-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
  868. /package/dist/chunks/{filesystem-d9fn303g.js → image-d9fn303g.js} +0 -0
  869. /package/dist/chunks/{filesystem-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
  870. /package/dist/chunks/{filesystem-dap0rakb.js → image-dap0rakb.js} +0 -0
  871. /package/dist/chunks/{filesystem-df08tz66.js → image-df08tz66.js} +0 -0
  872. /package/dist/chunks/{filesystem-dy18nga0.js → image-dy18nga0.js} +0 -0
  873. /package/dist/chunks/{filesystem-e5kj55wp.js → image-e5kj55wp.js} +0 -0
  874. /package/dist/chunks/{filesystem-ean2d8b5.js → image-ean2d8b5.js} +0 -0
  875. /package/dist/chunks/{filesystem-ec1grn59.js → image-ec1grn59.js} +0 -0
  876. /package/dist/chunks/{filesystem-emrn6kk6.js → image-emrn6kk6.js} +0 -0
  877. /package/dist/chunks/{filesystem-f0mxakyp.js → image-f0mxakyp.js} +0 -0
  878. /package/dist/chunks/{filesystem-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
  879. /package/dist/chunks/{filesystem-faypxj3z.js → image-faypxj3z.js} +0 -0
  880. /package/dist/chunks/{filesystem-fd410y7t.js → image-fd410y7t.js} +0 -0
  881. /package/dist/chunks/{filesystem-fkpq3x5p.js → image-fkpq3x5p.js} +0 -0
  882. /package/dist/chunks/{filesystem-g4wezp1m.js → image-g4wezp1m.js} +0 -0
  883. /package/dist/chunks/{filesystem-g86h250q.js → image-g86h250q.js} +0 -0
  884. /package/dist/chunks/{filesystem-gebd4c9n.js → image-gebd4c9n.js} +0 -0
  885. /package/dist/chunks/{filesystem-gftt206x.js → image-gftt206x.js} +0 -0
  886. /package/dist/chunks/{filesystem-hcxmzztb.js → image-hcxmzztb.js} +0 -0
  887. /package/dist/chunks/{filesystem-hk9envan.js → image-hk9envan.js} +0 -0
  888. /package/dist/chunks/{filesystem-j2ntwpah.js → image-j2ntwpah.js} +0 -0
  889. /package/dist/chunks/{filesystem-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
  890. /package/dist/chunks/{filesystem-jjkms2e6.js → image-jjkms2e6.js} +0 -0
  891. /package/dist/chunks/{filesystem-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
  892. /package/dist/chunks/{filesystem-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
  893. /package/dist/chunks/{filesystem-jwr30sdr.js → image-jwr30sdr.js} +0 -0
  894. /package/dist/chunks/{filesystem-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
  895. /package/dist/chunks/{filesystem-m18g726c.js → image-m18g726c.js} +0 -0
  896. /package/dist/chunks/{filesystem-mp448xyj.js → image-mp448xyj.js} +0 -0
  897. /package/dist/chunks/{filesystem-msx8hqn2.js → image-msx8hqn2.js} +0 -0
  898. /package/dist/chunks/{filesystem-n05xt0ee.js → image-n05xt0ee.js} +0 -0
  899. /package/dist/chunks/{filesystem-n3j8tn72.js → image-n3j8tn72.js} +0 -0
  900. /package/dist/chunks/{filesystem-nh4v3znn.js → image-nh4v3znn.js} +0 -0
  901. /package/dist/chunks/{filesystem-njntx4h6.js → image-njntx4h6.js} +0 -0
  902. /package/dist/chunks/{filesystem-p71gwv9c.js → image-p71gwv9c.js} +0 -0
  903. /package/dist/chunks/{filesystem-q3sfg36h.js → image-q3sfg36h.js} +0 -0
  904. /package/dist/chunks/{filesystem-q74kybfr.js → image-q74kybfr.js} +0 -0
  905. /package/dist/chunks/{filesystem-qb87gjwd.js → image-qb87gjwd.js} +0 -0
  906. /package/dist/chunks/{filesystem-qfa1cgps.js → image-qfa1cgps.js} +0 -0
  907. /package/dist/chunks/{filesystem-qg3g05ea.js → image-qg3g05ea.js} +0 -0
  908. /package/dist/chunks/{filesystem-qrg20bc0.js → image-qrg20bc0.js} +0 -0
  909. /package/dist/chunks/{filesystem-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
  910. /package/dist/chunks/{filesystem-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
  911. /package/dist/chunks/{filesystem-ssg3fenm.js → image-ssg3fenm.js} +0 -0
  912. /package/dist/chunks/{filesystem-syrav9an.js → image-syrav9an.js} +0 -0
  913. /package/dist/chunks/{filesystem-t03h4f5z.js → image-t03h4f5z.js} +0 -0
  914. /package/dist/chunks/{filesystem-ty7weeps.js → image-ty7weeps.js} +0 -0
  915. /package/dist/chunks/{filesystem-ve7vex1e.js → image-ve7vex1e.js} +0 -0
  916. /package/dist/chunks/{filesystem-vtarvj67.js → image-vtarvj67.js} +0 -0
  917. /package/dist/chunks/{filesystem-w803qqfp.js → image-w803qqfp.js} +0 -0
  918. /package/dist/chunks/{filesystem-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
  919. /package/dist/chunks/{filesystem-wer8tq1h.js → image-wer8tq1h.js} +0 -0
  920. /package/dist/chunks/{filesystem-wtztk69x.js → image-wtztk69x.js} +0 -0
  921. /package/dist/chunks/{filesystem-x0ckcb58.js → image-x0ckcb58.js} +0 -0
  922. /package/dist/chunks/{filesystem-x4th4bpe.js → image-x4th4bpe.js} +0 -0
  923. /package/dist/chunks/{filesystem-x61499pn.js → image-x61499pn.js} +0 -0
  924. /package/dist/chunks/{filesystem-y44na4kk.js → image-y44na4kk.js} +0 -0
  925. /package/dist/chunks/{filesystem-y8f7s663.js → image-y8f7s663.js} +0 -0
  926. /package/dist/chunks/{filesystem-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
  927. /package/dist/chunks/{filesystem-z0h12gs8.js → image-z0h12gs8.js} +0 -0
  928. /package/dist/chunks/{filesystem-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
  929. /package/dist/chunks/{filesystem-z9919s4g.js → image-z9919s4g.js} +0 -0
  930. /package/dist/chunks/{filesystem-zxpyjp51.js → image-zxpyjp51.js} +0 -0
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service91,
3
- node94
4
- } from "./filesystem-2q2xjc3y.js";
2
+ Service92,
3
+ node95
4
+ } from "./image-8msjp164.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./filesystem-2710q6r3.js";
8
+ } from "./image-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./filesystem-5whx36p1.js";
11
+ } from "./image-8cg7mtm3.js";
12
12
  import {
13
13
  __export
14
- } from "./filesystem-9rqn6x4v.js";
14
+ } from "./image-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
18
18
  __export(exports_bus, {
19
19
  Bus: () => exports_bus,
20
20
  InvalidDurableEventError: () => InvalidDurableEventError2,
21
- Service: () => Service90,
21
+ Service: () => Service91,
22
22
  configured: () => configured13,
23
23
  durable: () => durable2,
24
24
  ephemeral: () => ephemeral2,
25
25
  isSynced: () => isSynced2,
26
26
  latestSequence: () => latestSequence2,
27
- node: () => node93,
27
+ node: () => node94,
28
28
  reserveSequence: () => reserveSequence2,
29
29
  versionedType: () => versionedType2
30
30
  });
@@ -84,13 +84,13 @@ var ephemeral2 = Event.ephemeral;
84
84
  var isSynced2 = (item) => item.type === "log.synced";
85
85
  var isDefinition = (input) => !Array.isArray(input);
86
86
 
87
- class Service90 extends Context.Service()("@opencode/Bus") {
87
+ class Service91 extends Context.Service()("@opencode/Bus") {
88
88
  }
89
89
  function configured13(options) {
90
90
  return makeGlobalNode({
91
- service: Service90,
92
- deps: [node94],
93
- layer: Layer.effect(Service90, Effect.gen(function* () {
91
+ service: Service91,
92
+ deps: [node95],
93
+ layer: Layer.effect(Service91, Effect.gen(function* () {
94
94
  const { Location } = yield* Effect.promise(() => import("../location.js"));
95
95
  const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
96
96
  const pubsub = {
@@ -101,7 +101,7 @@ function configured13(options) {
101
101
  const projectors = new Map;
102
102
  const listeners = new Array;
103
103
  const durableLocks = makeUnsafe2();
104
- const { db } = yield* Service91;
104
+ const { db } = yield* Service92;
105
105
  const logReadPageSize = options?.logReadPageSize ?? 512;
106
106
  const persist = options?.persist ?? false;
107
107
  const sessions = new Map;
@@ -515,7 +515,7 @@ function configured13(options) {
515
515
  list.push((event) => projector(event));
516
516
  projectors.set(key, list);
517
517
  });
518
- return Service90.of({
518
+ return Service91.of({
519
519
  publish,
520
520
  publishAll,
521
521
  subscribe,
@@ -529,6 +529,6 @@ function configured13(options) {
529
529
  }))
530
530
  });
531
531
  }
532
- var node93 = configured13();
532
+ var node94 = configured13();
533
533
 
534
- export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service90, configured13, node93, exports_bus };
534
+ export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service91, configured13, node94, exports_bus };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service90
3
- } from "./filesystem-gzmww30b.js";
2
+ Service91
3
+ } from "./image-bbbyb96v.js";
4
4
  import {
5
- Event17
6
- } from "./filesystem-51jhd8ep.js";
5
+ Event19
6
+ } from "./image-8mxdh5yj.js";
7
7
  import {
8
8
  key3
9
- } from "./filesystem-fcrd7kek.js";
9
+ } from "./image-n320gsn2.js";
10
10
  import {
11
11
  interval2
12
- } from "./filesystem-3yj7dt59.js";
12
+ } from "./image-rkz6c2qr.js";
13
13
  import {
14
14
  __export
15
- } from "./filesystem-9rqn6x4v.js";
15
+ } from "./image-9rqn6x4v.js";
16
16
 
17
17
  // src/plugin/provider/refresh.ts
18
18
  var exports_refresh = {};
@@ -25,8 +25,8 @@ __export(exports_refresh, {
25
25
  });
26
26
  import { Duration, Effect, Equal, Fiber, FiberHandle, Semaphore, Stream } from "effect";
27
27
  var onSwitch2 = (integrationID, effect) => Effect.gen(function* () {
28
- const bus = yield* Service90;
29
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => effect), Effect.forkScoped({ startImmediately: true }));
28
+ const bus = yield* Service91;
29
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => effect), Effect.forkScoped({ startImmediately: true }));
30
30
  });
31
31
  var reloadIfChanged2 = (load, reload) => load.pipe(Effect.flatMap((changed) => changed ? reload : Effect.void));
32
32
  var switched2 = (load, apply) => Effect.gen(function* () {
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service90,
4
- node93
5
- } from "./filesystem-gzmww30b.js";
3
+ Service91,
4
+ node94
5
+ } from "./image-bbbyb96v.js";
6
6
  import {
7
- Service85,
8
- node88
9
- } from "./filesystem-4bj26h8q.js";
7
+ Service82,
8
+ node85
9
+ } from "./image-y5g7mn2s.js";
10
10
  import {
11
11
  __export
12
- } from "./filesystem-9rqn6x4v.js";
12
+ } from "./image-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event13,
19
+ Event: () => Event15,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service71,
22
+ Service: () => Service81,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node72,
25
+ node: () => node84,
26
26
  resolve: () => resolve5
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service71 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service81 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event13 = {
51
+ var Event15 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var requestTimeout = "15 seconds";
@@ -79,10 +79,10 @@ var Sources = Schema.Array(Schema.String);
79
79
  var manifestKey = (origin) => `wellknown:manifest:${origin}`;
80
80
  var configKey = (origin) => `wellknown:config:${origin}`;
81
81
  var Configs = Schema.Array(Config2);
82
- var layer = Layer.effect(Service71, Effect.gen(function* () {
82
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
83
83
  const http = yield* HttpClient.HttpClient;
84
- const kv = yield* Service85;
85
- const bus = yield* Service90;
84
+ const kv = yield* Service82;
85
+ const bus = yield* Service91;
86
86
  const cache = yield* Ref.make(new Map);
87
87
  const lock = Semaphore.makeUnsafe(1);
88
88
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
112
112
  if (!changed)
113
113
  return false;
114
114
  yield* Ref.set(cache, next);
115
- yield* bus.publish(Event13.Updated, {}, { global: true });
115
+ yield* bus.publish(Event15.Updated, {}, { global: true });
116
116
  return true;
117
117
  }, (effect) => lock.withPermit(effect));
118
- return Service71.of({
118
+ return Service81.of({
119
119
  entries: load,
120
120
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
121
121
  refresh,
@@ -127,7 +127,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
127
127
  const origins = yield* readOrigins;
128
128
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
129
129
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
130
- yield* bus.publish(Event13.Updated, {}, { global: true });
130
+ yield* bus.publish(Event15.Updated, {}, { global: true });
131
131
  return entry;
132
132
  }, (effect, _value) => lock.withPermit(effect)),
133
133
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -141,7 +141,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
141
141
  next.delete(origin);
142
142
  return next;
143
143
  });
144
- yield* bus.publish(Event13.Updated, {}, { global: true });
144
+ yield* bus.publish(Event15.Updated, {}, { global: true });
145
145
  }, (effect, _value) => lock.withPermit(effect)),
146
146
  resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
147
147
  const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
@@ -154,6 +154,6 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
154
154
  })
155
155
  });
156
156
  }));
157
- var node72 = makeGlobalNode({ service: Service71, layer, deps: [httpClient, node88, node93] });
157
+ var node84 = makeGlobalNode({ service: Service81, layer, deps: [httpClient, node85, node94] });
158
158
 
159
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service71, Event13, inspect2, resolve5, node72, exports_wellknown };
159
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service81, Event15, inspect2, resolve5, node84, exports_wellknown };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./filesystem-emrn6kk6.js";
4
+ } from "./image-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./filesystem-jctajm4m.js";
7
+ } from "./image-erf9qnyb.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/instructions/index.ts
6
6
  var exports_instructions7 = {};
@@ -21,7 +21,7 @@ __export(exports_instructions7, {
21
21
  join: () => join2,
22
22
  listUpdate: () => listUpdate2,
23
23
  make: () => make30,
24
- read: () => read5,
24
+ read: () => read4,
25
25
  removed: () => removed2,
26
26
  renderInitial: () => renderInitial2,
27
27
  renderUpdate: () => renderUpdate2,
@@ -98,7 +98,7 @@ function combine2(values) {
98
98
  }
99
99
  return sources;
100
100
  }
101
- function read5(value) {
101
+ function read4(value) {
102
102
  return Effect.forEach(value, (source) => source.read.pipe(Effect.map((observed) => ({ key: source.key, value: observed }))), { concurrency: "unbounded" });
103
103
  }
104
104
  function diff2(observed, previous) {
@@ -213,4 +213,4 @@ function requireText(key, kind, text) {
213
213
  return text;
214
214
  }
215
215
 
216
- export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make30, combine2, read5, diff2, renderInitial2, join2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, listUpdate2, exports_instructions7 };
216
+ export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make30, combine2, read4, diff2, renderInitial2, join2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, listUpdate2, exports_instructions7 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/provider/claude-agent/tools/hooks.ts
6
6
  var exports_hooks = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -13,7 +13,7 @@ __export(exports_repository, {
13
13
  cachePath: () => cachePath2,
14
14
  isFile: () => isFile2,
15
15
  isRemote: () => isRemote2,
16
- parse: () => parse5,
16
+ parse: () => parse4,
17
17
  parseRemote: () => parseRemote2,
18
18
  same: () => same2,
19
19
  validateBranch: () => validateBranch3
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
39
39
  message: Schema.String
40
40
  }) {
41
41
  }
42
- function parse5(input) {
42
+ function parse4(input) {
43
43
  const cleaned = normalizeInput(input);
44
44
  if (!cleaned)
45
45
  return;
@@ -72,7 +72,7 @@ function parse5(input) {
72
72
  }
73
73
  }
74
74
  function parseRemote2(input) {
75
- const reference = parse5(input);
75
+ const reference = parse4(input);
76
76
  if (!reference) {
77
77
  throw new InvalidReferenceError2({
78
78
  repository: input,
@@ -172,4 +172,4 @@ function buildFile(input) {
172
172
  };
173
173
  }
174
174
 
175
- export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
175
+ export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  toolFailure2
3
- } from "./filesystem-z0h12gs8.js";
3
+ } from "./image-z0h12gs8.js";
4
4
  import {
5
5
  WorktreeError2
6
- } from "./filesystem-qgxpp3m1.js";
6
+ } from "./image-x16ehwz9.js";
7
7
  import {
8
8
  invocation2,
9
- Service64
10
- } from "./filesystem-jqrvh40r.js";
9
+ Service67
10
+ } from "./image-cwthamer.js";
11
11
  import {
12
- Service18,
12
+ Service21,
13
13
  resolvePath2
14
- } from "./filesystem-7s99zgth.js";
14
+ } from "./image-y6f5fq50.js";
15
15
  import {
16
16
  DirectoryUnavailableError2
17
- } from "./filesystem-d4v9tmah.js";
17
+ } from "./image-d4v9tmah.js";
18
18
  import {
19
19
  Info7,
20
20
  List2,
21
21
  InvalidDirectoryError2,
22
22
  StrategyUnavailableError2,
23
23
  OperationError2
24
- } from "./filesystem-gbx63q5b.js";
24
+ } from "./image-29pwzgg2.js";
25
25
  import {
26
26
  __export
27
- } from "./filesystem-9rqn6x4v.js";
27
+ } from "./image-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/opencode.ts
30
30
  var exports_opencode = {};
@@ -32,7 +32,7 @@ __export(exports_opencode, {
32
32
  ModelsInput: () => ModelsInput2,
33
33
  MoveInput: () => MoveInput2,
34
34
  OpenCodeTools: () => exports_opencode,
35
- Plugin: () => Plugin29,
35
+ Plugin: () => Plugin43,
36
36
  RenameInput: () => RenameInput2,
37
37
  WorktreeCreateInput: () => WorktreeCreateInput2,
38
38
  WorktreeRemoveInput: () => WorktreeRemoveInput2
@@ -111,11 +111,11 @@ var ModelsOutput = Schema.Struct({
111
111
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
112
112
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
113
113
  });
114
- var Plugin29 = {
114
+ var Plugin43 = {
115
115
  id: "opencode.tools",
116
116
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
117
- const access = yield* Service18;
118
- const permission = yield* Service64;
117
+ const access = yield* Service21;
118
+ const permission = yield* Service67;
119
119
  const hook = (event) => Effect.sync(() => {
120
120
  event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
121
121
  });
@@ -268,4 +268,4 @@ function removeFailure(directory, error) {
268
268
  return `Unable to remove worktree ${directory}.`;
269
269
  }
270
270
 
271
- export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin29, exports_opencode };
271
+ export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin43, exports_opencode };
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service89,
3
- node92
4
- } from "./filesystem-20bx7jp1.js";
2
+ Service88,
3
+ node91
4
+ } from "./image-agw8vqrr.js";
5
5
  import {
6
6
  __export
7
- } from "./filesystem-9rqn6x4v.js";
7
+ } from "./image-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info30,
12
+ Info: () => Info29,
13
13
  Location: () => exports_location,
14
14
  Ref: () => Ref5,
15
- Service: () => Service88,
15
+ Service: () => Service87,
16
16
  boundNode: () => boundNode2,
17
- node: () => node91,
17
+ node: () => node90,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info30, Ref as Ref5, response as response2 } from "@opencode/schema/location";
21
+ import { Info as Info29, Ref as Ref5, response as response2 } from "@opencode/schema/location";
22
22
  import { FSUtil } from "@opencode/util/fs-util";
23
23
  import { LayerNode } from "@opencode/util/effect/layer-node";
24
24
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
25
- class Service88 extends Context.Service()("@opencode/Location") {
25
+ class Service87 extends Context.Service()("@opencode/Location") {
26
26
  }
27
- var node91 = LayerNode.unbound(Service88, tags.values.location);
28
- var layer = (ref) => Layer.effect(Service88, Effect.gen(function* () {
27
+ var node90 = LayerNode.unbound(Service87, tags.values.location);
28
+ var layer = (ref) => Layer.effect(Service87, Effect.gen(function* () {
29
29
  const fs = yield* FSUtil.Service;
30
- const project = yield* Service89;
30
+ const project = yield* Service88;
31
31
  const persist = ref.workspaceID !== undefined || (yield* fs.isDir(ref.directory));
32
32
  const resolved = yield* project.resolve(ref.directory, { persist });
33
- return Service88.of({
33
+ return Service87.of({
34
34
  directory: ref.directory,
35
35
  workspaceID: ref.workspaceID,
36
36
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -38,9 +38,9 @@ var layer = (ref) => Layer.effect(Service88, Effect.gen(function* () {
38
38
  });
39
39
  }));
40
40
  var boundNode2 = (ref) => makeLocationNode({
41
- service: Service88,
41
+ service: Service87,
42
42
  layer: layer(ref),
43
- deps: [FSUtil.node, node92]
43
+ deps: [FSUtil.node, node91]
44
44
  });
45
45
 
46
- export { Info30, Ref5, response2, Service88, node91, boundNode2, exports_location };
46
+ export { Info29, Ref5, response2, Service87, node90, boundNode2, exports_location };
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  useragent2
3
- } from "./filesystem-p7b25p4c.js";
3
+ } from "./image-m9958x9e.js";
4
4
  import {
5
- ID18,
6
- Service75
7
- } from "./filesystem-51jhd8ep.js";
5
+ ID19,
6
+ Service86
7
+ } from "./image-8mxdh5yj.js";
8
8
  import {
9
9
  key3
10
- } from "./filesystem-fcrd7kek.js";
10
+ } from "./image-n320gsn2.js";
11
11
  import {
12
12
  MethodID2
13
- } from "./filesystem-gqwyess1.js";
13
+ } from "./image-nbd8ybqd.js";
14
14
  import {
15
15
  which2
16
- } from "./filesystem-x4th4bpe.js";
16
+ } from "./image-x4th4bpe.js";
17
17
  import {
18
- ID16,
19
- Service73
20
- } from "./filesystem-0mp36kg4.js";
18
+ ID17,
19
+ Service84
20
+ } from "./image-gs6hy6yz.js";
21
21
  import {
22
- ID15
23
- } from "./filesystem-jd9j19df.js";
22
+ ID16
23
+ } from "./image-dsh61j18.js";
24
24
  import {
25
25
  interval2,
26
- Service82,
26
+ Service76,
27
27
  fingerprint2
28
- } from "./filesystem-3yj7dt59.js";
28
+ } from "./image-rkz6c2qr.js";
29
29
  import {
30
30
  configuredSettings2
31
- } from "./filesystem-8mkk93b3.js";
31
+ } from "./image-mvyyz3zx.js";
32
32
  import {
33
33
  onSwitch2,
34
34
  switched2
35
- } from "./filesystem-t5rmm2ev.js";
35
+ } from "./image-bbeyq2cc.js";
36
36
  import {
37
37
  activeCredential2
38
- } from "./filesystem-qtemt9a6.js";
38
+ } from "./image-d4ed2gt6.js";
39
39
 
40
40
  // src/plugin/provider/azure.ts
41
41
  import { Clock, Effect, Equal, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -77,11 +77,11 @@ function make14(endpoints = {
77
77
  return define({
78
78
  id: "opencode.provider.azure",
79
79
  effect: Effect.fn(function* (ctx) {
80
- const configured = yield* configuredSettings2(ID16.azure);
80
+ const configured = yield* configuredSettings2(ID17.azure);
81
81
  const processes = yield* AppProcess.Service;
82
- const credentials = yield* Service75;
83
- const providers = yield* Service73;
84
- const cache = yield* Service82;
82
+ const credentials = yield* Service86;
83
+ const providers = yield* Service84;
84
+ const cache = yield* Service76;
85
85
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
86
86
  const tokens = new Map;
87
87
  const resourceIDs = new Map;
@@ -107,11 +107,11 @@ function make14(endpoints = {
107
107
  const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
108
108
  yield* ctx.integration.transform((editor) => {
109
109
  editor.method.update({
110
- integrationID: ID16.azure,
110
+ integrationID: ID17.azure,
111
111
  method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
112
112
  });
113
113
  editor.method.update({
114
- integrationID: ID16.azure,
114
+ integrationID: ID17.azure,
115
115
  method: {
116
116
  type: "key",
117
117
  label: "API key",
@@ -129,7 +129,7 @@ function make14(endpoints = {
129
129
  if (!available)
130
130
  return;
131
131
  editor.method.update({
132
- integrationID: ID16.azure,
132
+ integrationID: ID17.azure,
133
133
  method: {
134
134
  id: methodID,
135
135
  type: "external",
@@ -149,8 +149,8 @@ function make14(endpoints = {
149
149
  });
150
150
  });
151
151
  const load = Effect.fn("AzurePlugin.load")(function* () {
152
- const connection = yield* ctx.integration.connection.active(ID16.azure);
153
- const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
152
+ const connection = yield* ctx.integration.connection.active(ID17.azure);
153
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID19.make(connection.id)) : undefined;
154
154
  return { connection, resource: credentialResource(stored?.value) };
155
155
  });
156
156
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -189,7 +189,7 @@ function make14(endpoints = {
189
189
  }));
190
190
  const discover = Effect.fn("AzurePlugin.discover")(function* (options) {
191
191
  const connection = loaded.connection;
192
- const settings = (yield* providers.get(ID16.azure))?.settings;
192
+ const settings = (yield* providers.get(ID17.azure))?.settings;
193
193
  const name = loaded.resource ?? resolveResourceName(settings);
194
194
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
195
195
  if (loaded.connection !== connection)
@@ -219,11 +219,11 @@ function make14(endpoints = {
219
219
  });
220
220
  const apply = (next) => next ? loading.withPermit(publish(next.connection, next.found)).pipe(Effect.uninterruptible) : Effect.void;
221
221
  const publish = Effect.fn("AzurePlugin.publish")(function* (connection, found) {
222
- if (loaded.connection !== connection || key3(connection) !== key3(yield* ctx.integration.connection.active(ID16.azure)))
222
+ if (loaded.connection !== connection || key3(connection) !== key3(yield* ctx.integration.connection.active(ID17.azure)))
223
223
  return;
224
224
  if (Equal.equals(found, loaded.deployments))
225
225
  return;
226
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID16.azure)?.models.keys() ?? [], (id) => [
226
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID17.azure)?.models.keys() ?? [], (id) => [
227
227
  id.toLowerCase(),
228
228
  id
229
229
  ]));
@@ -236,7 +236,7 @@ function make14(endpoints = {
236
236
  yield* ctx.model.reload();
237
237
  });
238
238
  const refresh = discover({}).pipe(Effect.flatMap(apply));
239
- const resourceFor = (provider) => provider.id === ID16.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
239
+ const resourceFor = (provider) => provider.id === ID17.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
240
240
  Object.assign(loaded, yield* load());
241
241
  yield* ctx.provider.transform((evt) => {
242
242
  for (const item of evt.list()) {
@@ -255,7 +255,7 @@ function make14(endpoints = {
255
255
  };
256
256
  });
257
257
  }
258
- const item = evt.get(ID16.azure);
258
+ const item = evt.get(ID17.azure);
259
259
  if (!item)
260
260
  return;
261
261
  evt.add({
@@ -285,21 +285,21 @@ function make14(endpoints = {
285
285
  }
286
286
  if (!loaded.deployments)
287
287
  return;
288
- const catalog = models.list(ID16.azure);
288
+ const catalog = models.list(ID17.azure);
289
289
  const deployed = deployedModels(loaded.deployments, catalog);
290
290
  for (const model of catalog) {
291
291
  if (!deployed.has(model.id))
292
- models.remove(ID16.azure, model.id);
292
+ models.remove(ID17.azure, model.id);
293
293
  }
294
294
  for (const [id, model] of deployed) {
295
- models.update(ID16.azure, id, (draft) => Object.assign(draft, model));
295
+ models.update(ID17.azure, id, (draft) => Object.assign(draft, model));
296
296
  }
297
297
  });
298
298
  yield* onSwitch2("azure", rebind().pipe(Effect.andThen(FiberHandle.run(discovery, switched2(discover, apply)))));
299
299
  yield* rebind().pipe(Effect.andThen(FiberHandle.run(discovery, refresh)), Effect.forkScoped);
300
300
  yield* Effect.sleep(interval2).pipe(Effect.andThen(FiberHandle.run(discovery, refresh, { onlyIfMissing: true })), Effect.forever, Effect.forkScoped);
301
301
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
302
- const { credential } = yield* activeCredential2(ctx, ID16.azure);
302
+ const { credential } = yield* activeCredential2(ctx, ID17.azure);
303
303
  if (credential?.type !== "external" || credential.methodID !== methodID)
304
304
  return;
305
305
  const target = new URL(url);
@@ -315,7 +315,7 @@ function make14(endpoints = {
315
315
  evt.request.headers.delete("x-api-key");
316
316
  evt.request.headers.set("authorization", authorization);
317
317
  evt.request.headers.set("user-agent", useragent2(ctx.app));
318
- }), { providerID: ID16.azure });
318
+ }), { providerID: ID17.azure });
319
319
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
320
320
  const authorization = yield* bearer(evt.url);
321
321
  if (!authorization)
@@ -324,7 +324,7 @@ function make14(endpoints = {
324
324
  delete evt.headers["x-api-key"];
325
325
  evt.headers.authorization = authorization;
326
326
  evt.headers["user-agent"] = useragent2(ctx.app);
327
- }), { providerID: ID16.azure });
327
+ }), { providerID: ID17.azure });
328
328
  })
329
329
  });
330
330
  }
@@ -343,7 +343,7 @@ function expandResourceName(baseURL, resourceName) {
343
343
  return baseURL.replaceAll("${AZURE_RESOURCE_NAME}", resourceName).replaceAll("${AZURE_COGNITIVE_SERVICES_RESOURCE_NAME}", resourceName);
344
344
  }
345
345
  function azureProvider(provider) {
346
- return provider.id === ID16.azure || provider.package.startsWith("@opencode/ai/providers/azure/");
346
+ return provider.id === ID17.azure || provider.package.startsWith("@opencode/ai/providers/azure/");
347
347
  }
348
348
  function usable(credential) {
349
349
  return credential?.type === "key" || credential?.type === "external" && credential.methodID === methodID;
@@ -368,11 +368,11 @@ function deployedModels(deployments, catalog) {
368
368
  const model = catalogModel(models, deployment);
369
369
  if (!model)
370
370
  return [];
371
- const id = ID15.make(deployment.name.toLowerCase());
371
+ const id = ID16.make(deployment.name.toLowerCase());
372
372
  const info = {
373
373
  ...structuredClone(model),
374
374
  id,
375
- modelID: ID15.make(deployment.name),
375
+ modelID: ID16.make(deployment.name),
376
376
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
377
377
  };
378
378
  return [[id, info]];