@opencode/core 0.0.0-dev-481 → 0.0.0-dev-482

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 (916) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +247 -247
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{app-vyzwj7hv.js → location-01pgc6t1.js} +9 -9
  9. package/dist/chunks/{app-aj7mw0zk.js → location-034tev2y.js} +2 -2
  10. package/dist/chunks/{app-h0xhqjby.js → location-0f7kkqtf.js} +4 -4
  11. package/dist/chunks/{app-k483zyxw.js → location-0fcqkqe0.js} +17 -17
  12. package/dist/chunks/{app-erf9fzfw.js → location-0jkcjdkb.js} +18 -18
  13. package/dist/chunks/{app-wyzscbnm.js → location-0jpvqtke.js} +12 -12
  14. package/dist/chunks/{app-0ma9gw4f.js → location-0ma9gw4f.js} +2 -2
  15. package/dist/chunks/{app-b6s5ycsj.js → location-0q8q98et.js} +14 -14
  16. package/dist/chunks/{app-r1n0s1ac.js → location-0tydawpq.js} +16 -16
  17. package/dist/chunks/{app-g6p4g6mv.js → location-0vdywerr.js} +27 -27
  18. package/dist/chunks/{app-wbqzfeen.js → location-0wgmn1kb.js} +21 -21
  19. package/dist/chunks/{app-czy8szj2.js → location-0xqbsrqr.js} +354 -354
  20. package/dist/chunks/{app-7wm6fjb2.js → location-1a140ev3.js} +6 -6
  21. package/dist/chunks/{app-1aqsckx4.js → location-1aqsckx4.js} +1 -1
  22. package/dist/chunks/{app-z080rjh6.js → location-1cdwtwnn.js} +4 -4
  23. package/dist/chunks/{app-27w5k9zf.js → location-1ep2p91f.js} +2 -2
  24. package/dist/chunks/{app-d4by6qpt.js → location-1jshsnt4.js} +11 -11
  25. package/dist/chunks/{app-sr8x3p00.js → location-1nresfvs.js} +20 -20
  26. package/dist/chunks/{app-q391cchf.js → location-1serdbm0.js} +36 -36
  27. package/dist/chunks/{app-r17y8811.js → location-1smrtfhf.js} +40 -40
  28. package/dist/chunks/{app-1v2g13eq.js → location-1v2g13eq.js} +4 -4
  29. package/dist/chunks/{app-1x2knyw4.js → location-1x2knyw4.js} +1 -1
  30. package/dist/chunks/{app-v9ez2kgh.js → location-1yq9hg58.js} +5 -5
  31. package/dist/chunks/{app-s5hy498g.js → location-1zda8fgz.js} +13 -13
  32. package/dist/chunks/{app-f5hyk6e9.js → location-23mg205d.js} +30 -30
  33. package/dist/chunks/{app-8b3vzgkx.js → location-25h84942.js} +4 -4
  34. package/dist/chunks/{app-43ynt425.js → location-27rfk046.js} +26 -26
  35. package/dist/chunks/{app-w6adzdws.js → location-2axvd6s3.js} +88 -88
  36. package/dist/chunks/{app-v0t96s7a.js → location-2kg89srt.js} +4 -4
  37. package/dist/chunks/{app-2p60zmnr.js → location-2p60zmnr.js} +2 -2
  38. package/dist/chunks/{app-qgk9wbmt.js → location-2sck34ne.js} +19 -19
  39. package/dist/chunks/{app-wjnwerxx.js → location-2vytr4qs.js} +22 -22
  40. package/dist/chunks/{app-s72x33aq.js → location-37356421.js} +20 -20
  41. package/dist/chunks/{app-2hg7qvzt.js → location-38ys11y3.js} +5 -5
  42. package/dist/chunks/{app-rchz5kjx.js → location-390xskpw.js} +4 -4
  43. package/dist/chunks/{app-45a1n0rj.js → location-3dvadycf.js} +21 -21
  44. package/dist/chunks/{app-x48k7f96.js → location-3fqv35td.js} +13 -13
  45. package/dist/chunks/{app-y9dbkkt2.js → location-3gbdv6d6.js} +29 -29
  46. package/dist/chunks/{app-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{app-nv2s17h7.js → location-3jcyqs0x.js} +47 -47
  48. package/dist/chunks/{app-q0ez1hrk.js → location-3r0vrc21.js} +7 -7
  49. package/dist/chunks/{app-2kj7f5bg.js → location-3ryz99p0.js} +7 -7
  50. package/dist/chunks/{app-y3e9w5j4.js → location-3sm8rpg8.js} +12 -12
  51. package/dist/chunks/{app-s7s2w16j.js → location-3t9tbebp.js} +39 -39
  52. package/dist/chunks/{app-13am0myr.js → location-3w8s8xp3.js} +59 -59
  53. package/dist/chunks/{app-40y6dtc2.js → location-40y6dtc2.js} +1 -1
  54. package/dist/chunks/{app-gtse556r.js → location-43s7a0t3.js} +3 -3
  55. package/dist/chunks/{app-44pmzq9c.js → location-44pmzq9c.js} +2 -2
  56. package/dist/chunks/{app-9av120cb.js → location-484j8fpd.js} +20 -20
  57. package/dist/chunks/{app-4dx1dgte.js → location-4dx1dgte.js} +1 -1
  58. package/dist/chunks/{app-11pmnyyq.js → location-4eqsjcsp.js} +13 -13
  59. package/dist/chunks/{app-4f25tdd0.js → location-4f25tdd0.js} +1 -1
  60. package/dist/chunks/{app-7ey693cm.js → location-4k2smf6b.js} +3 -3
  61. package/dist/chunks/{app-4pyp9zr9.js → location-4pyp9zr9.js} +1 -1
  62. package/dist/chunks/{app-6s3jfmgb.js → location-4trnm1hn.js} +11 -11
  63. package/dist/chunks/{app-4v008n1t.js → location-4v008n1t.js} +1 -1
  64. package/dist/chunks/{app-8sb7jtsn.js → location-50emzza2.js} +9 -9
  65. package/dist/chunks/{app-f1y0a070.js → location-512tdftc.js} +1 -1
  66. package/dist/chunks/{app-prwg2e47.js → location-52g8y578.js} +7 -7
  67. package/dist/chunks/{app-40za9wsf.js → location-5enarcya.js} +6 -6
  68. package/dist/chunks/{app-a1dwv91k.js → location-5gesekxb.js} +8 -8
  69. package/dist/chunks/{app-24sxtq8k.js → location-5gfssad4.js} +6 -6
  70. package/dist/chunks/{app-jy6h2y3j.js → location-5kwzkdf2.js} +16 -16
  71. package/dist/chunks/{app-5m9w47nd.js → location-5m9w47nd.js} +1 -1
  72. package/dist/chunks/{app-b6vsg801.js → location-5nnwax6m.js} +5 -5
  73. package/dist/chunks/{app-j06ysx93.js → location-5pqzpska.js} +11 -11
  74. package/dist/chunks/{app-dv2k300y.js → location-5tc3n98b.js} +26 -26
  75. package/dist/chunks/{app-y70svyf1.js → location-5zvrjgbk.js} +15 -15
  76. package/dist/chunks/{app-gwz0wrrb.js → location-629vq7qf.js} +28 -28
  77. package/dist/chunks/{app-t7wtafck.js → location-671yt1fh.js} +11 -11
  78. package/dist/chunks/location-6bshxcsx.js +18 -0
  79. package/dist/chunks/{app-q94qz23g.js → location-6dk0e5c5.js} +50 -50
  80. package/dist/chunks/{app-9wje21dv.js → location-6narqht5.js} +12 -12
  81. package/dist/chunks/{app-g1e2r5aa.js → location-6ss6ngz0.js} +4 -4
  82. package/dist/chunks/{app-3xg6wq2g.js → location-6w51fm74.js} +13 -13
  83. package/dist/chunks/{app-76cb1hcw.js → location-76cb1hcw.js} +1 -1
  84. package/dist/chunks/{app-80mg3ag8.js → location-775hqbnd.js} +3 -3
  85. package/dist/chunks/{app-4medx3yc.js → location-78z55vz9.js} +8 -8
  86. package/dist/chunks/{app-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{app-8g403b55.js → location-7e31cxcq.js} +24 -24
  88. package/dist/chunks/{app-pq46x9ny.js → location-7k96bt42.js} +8 -8
  89. package/dist/chunks/{app-7kr66rt3.js → location-7kr66rt3.js} +1 -1
  90. package/dist/chunks/{app-xfdj8ybq.js → location-7tt9v2zf.js} +32 -32
  91. package/dist/chunks/{app-7w2ypzdf.js → location-7w2ypzdf.js} +1 -1
  92. package/dist/chunks/{app-7weczvnd.js → location-7weczvnd.js} +1 -1
  93. package/dist/chunks/{app-4am3819x.js → location-7xxafhkb.js} +32 -32
  94. package/dist/chunks/{app-9cgaya5j.js → location-805dh4kb.js} +16 -16
  95. package/dist/chunks/{app-navg70v8.js → location-80ebm126.js} +13 -13
  96. package/dist/chunks/{app-89287pr7.js → location-89287pr7.js} +1 -1
  97. package/dist/chunks/{app-8cg7mtm3.js → location-8cg7mtm3.js} +1 -1
  98. package/dist/chunks/{app-2zydp9t3.js → location-8j03m598.js} +6 -6
  99. package/dist/chunks/{app-g7mcj942.js → location-8req33qf.js} +62 -62
  100. package/dist/chunks/{app-7qrph824.js → location-8sxe6kv8.js} +2 -2
  101. package/dist/chunks/{app-qpe5m7rp.js → location-8vk3va5c.js} +15 -15
  102. package/dist/chunks/{app-8wtp7s3z.js → location-8wtp7s3z.js} +1 -1
  103. package/dist/chunks/{app-90zstvax.js → location-90zstvax.js} +1 -1
  104. package/dist/chunks/{app-1vbrkdbs.js → location-94e33dpz.js} +3 -3
  105. package/dist/chunks/{app-dgmx8s6q.js → location-970zrxzb.js} +18 -18
  106. package/dist/chunks/{app-af8dd66m.js → location-988q4p70.js} +4 -4
  107. package/dist/chunks/{app-whq4nd4h.js → location-9abj58ej.js} +13 -13
  108. package/dist/chunks/{app-q9csfq1d.js → location-9d2m9w7e.js} +9 -9
  109. package/dist/chunks/{app-hetycfaa.js → location-9e6160nv.js} +41 -41
  110. package/dist/chunks/{app-9kkkhnvp.js → location-9f7zehfv.js} +7 -7
  111. package/dist/chunks/{app-5ftq3225.js → location-9km3nys4.js} +5 -5
  112. package/dist/chunks/{app-26wfx3k0.js → location-9qqfewpb.js} +4 -4
  113. package/dist/chunks/{app-3ab9az2f.js → location-9xfh3qx1.js} +11 -11
  114. package/dist/chunks/{app-xavgr0sn.js → location-a0rbws35.js} +21 -21
  115. package/dist/chunks/{app-b37ymw5d.js → location-a42agwqf.js} +17 -17
  116. package/dist/chunks/{app-js4hvacx.js → location-a5hjg2v1.js} +35 -35
  117. package/dist/chunks/{app-bprvspg8.js → location-a5m75t4w.js} +11 -11
  118. package/dist/chunks/{app-9vajtycf.js → location-ac9tw622.js} +16 -16
  119. package/dist/chunks/{app-q7zpym3n.js → location-add59bdf.js} +2 -2
  120. package/dist/chunks/{app-3cbjf1nt.js → location-ayjs7tqn.js} +2 -2
  121. package/dist/chunks/{app-yq2mt5qr.js → location-aza0qgdg.js} +3 -3
  122. package/dist/chunks/{app-w0gbs4kg.js → location-badf1jx5.js} +36 -36
  123. package/dist/chunks/{app-9rqhy0gk.js → location-bb3pv0r8.js} +5 -5
  124. package/dist/chunks/{app-kfd17r3s.js → location-bbmkcywa.js} +5 -5
  125. package/dist/chunks/{app-sch7yt7r.js → location-bd27wa44.js} +21 -21
  126. package/dist/chunks/{app-xznfvz6c.js → location-bdtb8h02.js} +12 -12
  127. package/dist/chunks/{app-5xfk76mk.js → location-bfwvr4qd.js} +86 -86
  128. package/dist/chunks/{app-bhfd478d.js → location-bhfd478d.js} +1 -1
  129. package/dist/chunks/{app-jyntrgsj.js → location-bn5c4xpj.js} +48 -48
  130. package/dist/chunks/{app-weahyj5x.js → location-bnzx9dwt.js} +5 -5
  131. package/dist/chunks/{app-n3bkb5q1.js → location-bpmnncyw.js} +5 -5
  132. package/dist/chunks/{app-xksw6ev0.js → location-brv6mkyx.js} +4 -4
  133. package/dist/chunks/{app-bstexjd6.js → location-bstexjd6.js} +1 -1
  134. package/dist/chunks/{app-2n05qsag.js → location-bvffa3bg.js} +4 -4
  135. package/dist/chunks/{app-z4sah7cn.js → location-c09c9xx3.js} +12 -12
  136. package/dist/chunks/{app-x2eb1s38.js → location-c13b592v.js} +23 -23
  137. package/dist/chunks/{app-rz032gsk.js → location-cavp24mx.js} +17 -17
  138. package/dist/chunks/{app-9c645kx6.js → location-chgv8zg3.js} +2 -2
  139. package/dist/chunks/{app-wy3njjma.js → location-cpf1ce0h.js} +18 -18
  140. package/dist/chunks/{app-13aj6xfg.js → location-csmfmyj6.js} +33 -33
  141. package/dist/chunks/{app-vt4r9rmy.js → location-ctmpqb7w.js} +9 -9
  142. package/dist/chunks/{app-cwrgdav8.js → location-cwrgdav8.js} +2 -2
  143. package/dist/chunks/{app-rhg1wx68.js → location-cz3wcpwd.js} +27 -27
  144. package/dist/chunks/{app-6m70gvhx.js → location-d3074txc.js} +10 -10
  145. package/dist/chunks/{app-2am13szv.js → location-d390zwf3.js} +8 -8
  146. package/dist/chunks/{app-gn8tkhbf.js → location-d4v9tmah.js} +2 -2
  147. package/dist/chunks/{app-catycsjd.js → location-d573hr5k.js} +11 -11
  148. package/dist/chunks/{app-bfmts8p1.js → location-d9tv0j4w.js} +8 -8
  149. package/dist/chunks/{app-rj7j5fvs.js → location-dg5naf6e.js} +4 -4
  150. package/dist/chunks/{app-3nmxyean.js → location-ds54zjme.js} +5 -5
  151. package/dist/chunks/{app-dt77769w.js → location-dt77769w.js} +1 -1
  152. package/dist/chunks/{app-57zkss3n.js → location-dvn4vb83.js} +14 -14
  153. package/dist/chunks/{app-4pc43vs5.js → location-dxdc95em.js} +3 -3
  154. package/dist/chunks/{app-prha7nnz.js → location-dzxh8mds.js} +10 -10
  155. package/dist/chunks/{app-n8ahjr4j.js → location-e3rsyggn.js} +15 -15
  156. package/dist/chunks/{app-yqveydy6.js → location-e45fk36t.js} +4 -4
  157. package/dist/chunks/{app-e834z07m.js → location-e834z07m.js} +1 -1
  158. package/dist/chunks/{app-19gkfjnk.js → location-eavcrtrz.js} +2 -2
  159. package/dist/chunks/{app-2db5e21y.js → location-efd7k9cd.js} +5 -5
  160. package/dist/chunks/location-epzk50yp.js +26 -0
  161. package/dist/chunks/{app-eqw4pqj1.js → location-eqw4pqj1.js} +2 -2
  162. package/dist/chunks/{app-n4k1ey5b.js → location-ew5p7j1s.js} +3 -3
  163. package/dist/chunks/{app-ead32ctt.js → location-ewa1ec51.js} +4 -4
  164. package/dist/chunks/{app-t4f7c3ht.js → location-f4y3d2yt.js} +18 -18
  165. package/dist/chunks/{app-y5x79gp6.js → location-fc12czj4.js} +3 -3
  166. package/dist/chunks/{app-hxjfpgt3.js → location-fc7r79k5.js} +8 -8
  167. package/dist/chunks/{app-fffv3p7h.js → location-fffv3p7h.js} +1 -1
  168. package/dist/chunks/{app-prq7xxp2.js → location-fg9p65nk.js} +6 -6
  169. package/dist/chunks/{app-mgvq6ne3.js → location-fgj5a68r.js} +21 -21
  170. package/dist/chunks/{app-yef98r2t.js → location-fygak80s.js} +3 -3
  171. package/dist/chunks/{app-b3hbd1md.js → location-g2mgh60t.js} +18 -18
  172. package/dist/chunks/{app-8dxpscf2.js → location-g3v5zqn8.js} +24 -24
  173. package/dist/chunks/{app-6tvaezwq.js → location-g5by8gkj.js} +6 -6
  174. package/dist/chunks/{app-19w73m0f.js → location-gate3zxc.js} +11 -11
  175. package/dist/chunks/{app-gbjdnr5j.js → location-gbjdnr5j.js} +2 -2
  176. package/dist/chunks/{app-8qbdxarg.js → location-gcwte8wz.js} +32 -32
  177. package/dist/chunks/{app-71jkfa4r.js → location-gedds2h4.js} +4 -4
  178. package/dist/chunks/{app-qfwh95mr.js → location-ghv8rcpm.js} +15 -15
  179. package/dist/chunks/{app-g8dgshm1.js → location-gjzp0g0k.js} +8 -8
  180. package/dist/chunks/{app-23b5bwtt.js → location-gnf80hfn.js} +5 -5
  181. package/dist/chunks/{app-11v4hymh.js → location-gse8hrf9.js} +7 -7
  182. package/dist/chunks/{app-gxs71cxp.js → location-gxs71cxp.js} +1 -1
  183. package/dist/chunks/{app-5af0c4bz.js → location-gyckkmpa.js} +15 -15
  184. package/dist/chunks/{app-fefx1jcc.js → location-h7xy8a2s.js} +3 -3
  185. package/dist/chunks/{app-rnbnz8pk.js → location-hdreqhvr.js} +6 -6
  186. package/dist/chunks/{app-jy1f4pdx.js → location-hm0x9a2y.js} +5 -5
  187. package/dist/chunks/{app-hpg1pkwy.js → location-hpg1pkwy.js} +1 -1
  188. package/dist/chunks/{app-3gqs30ps.js → location-hpgfvtnm.js} +19 -19
  189. package/dist/chunks/{app-hfzv1g6g.js → location-hv45qt1z.js} +29 -29
  190. package/dist/chunks/{app-fk0rpprw.js → location-hyevg830.js} +17 -17
  191. package/dist/chunks/{app-kse531ts.js → location-hz1m7hmp.js} +6 -6
  192. package/dist/chunks/{app-h2ff2q30.js → location-j1n85xqv.js} +8 -8
  193. package/dist/chunks/{app-bg9cnzs0.js → location-j6qjs6cp.js} +28 -28
  194. package/dist/chunks/{app-ze75qvmd.js → location-j9nxzz3g.js} +3 -3
  195. package/dist/chunks/{app-qrkmc1kp.js → location-jget9c6q.js} +11 -11
  196. package/dist/chunks/{app-jtnps1zs.js → location-jtnps1zs.js} +2 -2
  197. package/dist/chunks/{app-750t9xmf.js → location-jv56tjdv.js} +21 -21
  198. package/dist/chunks/{app-90pvm6py.js → location-jwaey7ys.js} +11 -11
  199. package/dist/chunks/{app-ka1mq67y.js → location-jx1cej34.js} +16 -16
  200. package/dist/chunks/{app-p5w1jxhv.js → location-jy4bs43h.js} +20 -20
  201. package/dist/chunks/{app-gk56h2xy.js → location-k892zkmz.js} +21 -21
  202. package/dist/chunks/{app-xfssnbs4.js → location-k8zhcgth.js} +17 -17
  203. package/dist/chunks/{app-33fs0phy.js → location-k9g0cjwj.js} +5 -5
  204. package/dist/chunks/{app-zvg8q0fs.js → location-k9swty0g.js} +5 -5
  205. package/dist/chunks/{app-76ggf0cd.js → location-kbjg1c6q.js} +12 -12
  206. package/dist/chunks/{app-7ncdpmyj.js → location-kee5eaqe.js} +15 -15
  207. package/dist/chunks/{app-k8bdr0d0.js → location-kh9rtkn7.js} +20 -20
  208. package/dist/chunks/{app-kt3bjfbg.js → location-kt3bjfbg.js} +1 -1
  209. package/dist/chunks/{app-ck4dpv2q.js → location-ktsssdpw.js} +31 -31
  210. package/dist/chunks/{app-kzczzf4v.js → location-kzczzf4v.js} +1 -1
  211. package/dist/chunks/{app-m1714858.js → location-m1714858.js} +1 -1
  212. package/dist/chunks/{app-h9hc66h4.js → location-m528r48h.js} +4 -4
  213. package/dist/chunks/{app-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  214. package/dist/chunks/{app-8z6m94af.js → location-mb7mbhnz.js} +3 -3
  215. package/dist/chunks/{app-rgzbxrk5.js → location-mf853z88.js} +7 -7
  216. package/dist/chunks/{app-z7a53n6z.js → location-mje1y6t4.js} +6 -6
  217. package/dist/chunks/{app-99a9crdx.js → location-mjhey12a.js} +11 -11
  218. package/dist/chunks/{app-afwnmwkf.js → location-mjye3rax.js} +49 -49
  219. package/dist/chunks/{app-kpfh6gak.js → location-mv3cjvqe.js} +20 -20
  220. package/dist/chunks/{app-ydejkx0z.js → location-n2tjkr8q.js} +4 -4
  221. package/dist/chunks/{app-q9qzw55y.js → location-nbcpa24h.js} +6 -6
  222. package/dist/chunks/{app-cpg2sjfp.js → location-nbw5wvhd.js} +21 -21
  223. package/dist/chunks/{app-kbsfb6et.js → location-nd6ydzwa.js} +1 -1
  224. package/dist/chunks/{app-dztesnfv.js → location-nhk04w5x.js} +21 -21
  225. package/dist/chunks/{app-nv1v3ewx.js → location-nkhc0b8e.js} +23 -23
  226. package/dist/chunks/{app-93xmyh8q.js → location-nn2nd58t.js} +5 -5
  227. package/dist/chunks/{app-ghkxye21.js → location-nq8md5pc.js} +43 -43
  228. package/dist/chunks/{app-847k13tf.js → location-nrczc6t4.js} +16 -16
  229. package/dist/chunks/{app-psbj456r.js → location-nrzjm3wv.js} +18 -18
  230. package/dist/chunks/{app-wvr8xscb.js → location-nyxvvj5y.js} +4 -4
  231. package/dist/chunks/{app-wq1xd5na.js → location-ph23jcdx.js} +11 -11
  232. package/dist/chunks/{app-33vee48d.js → location-phsdbd2h.js} +40 -40
  233. package/dist/chunks/{app-pknna89w.js → location-pknna89w.js} +1 -1
  234. package/dist/chunks/{app-62beg8mw.js → location-px88z4yq.js} +19 -19
  235. package/dist/chunks/{app-np51zkq5.js → location-q08pa1nj.js} +32 -32
  236. package/dist/chunks/{app-jhwp234h.js → location-q65mdntm.js} +4 -4
  237. package/dist/chunks/{app-fdtp6zbm.js → location-qaxfcnsv.js} +11 -11
  238. package/dist/chunks/{app-a5fx33f2.js → location-qj27ec1j.js} +6 -6
  239. package/dist/chunks/{app-qp7r0hxv.js → location-qp7r0hxv.js} +1 -1
  240. package/dist/chunks/{app-0qdw55z7.js → location-qqf3gkjm.js} +11 -11
  241. package/dist/chunks/{app-qqvy8y24.js → location-qqvy8y24.js} +1 -1
  242. package/dist/chunks/{app-k3cx6fhe.js → location-qsdghx1p.js} +4 -4
  243. package/dist/chunks/{app-wfs84ra6.js → location-r17fbvme.js} +4 -4
  244. package/dist/chunks/{app-nr7cqb9h.js → location-r9w18wee.js} +9 -9
  245. package/dist/chunks/{app-rb9dy4dg.js → location-rb9dy4dg.js} +1 -1
  246. package/dist/chunks/{app-82fxv0dw.js → location-rbnrb63z.js} +4 -4
  247. package/dist/chunks/{app-5fz99wkv.js → location-rktfw7eb.js} +6 -6
  248. package/dist/chunks/{app-r1fnsf7p.js → location-rmv7fhs4.js} +6 -6
  249. package/dist/chunks/{app-kz92qt34.js → location-rrym2d7k.js} +9 -9
  250. package/dist/chunks/{app-rt5dr6hb.js → location-rt5dr6hb.js} +1 -1
  251. package/dist/chunks/{app-3jqetb86.js → location-rv7pwnv1.js} +19 -19
  252. package/dist/chunks/{app-62fftzdq.js → location-rw9z8c7r.js} +15 -15
  253. package/dist/chunks/{app-wd6ygds7.js → location-rxzbcqxf.js} +2 -2
  254. package/dist/chunks/{app-9hqxgecf.js → location-rz41xnze.js} +24 -24
  255. package/dist/chunks/{app-x2kh5z67.js → location-rzgk87mw.js} +23 -23
  256. package/dist/chunks/{app-ae65egk4.js → location-s2pfznc4.js} +6 -6
  257. package/dist/chunks/{app-qczyd0hm.js → location-s3571hbf.js} +25 -25
  258. package/dist/chunks/location-s8wwhb0c.js +109 -0
  259. package/dist/chunks/{app-sa3fpqfw.js → location-sa3fpqfw.js} +2 -2
  260. package/dist/chunks/{app-sbya78hr.js → location-sbya78hr.js} +1 -1
  261. package/dist/chunks/{app-2cdjxzfg.js → location-sbz71ybr.js} +3 -3
  262. package/dist/chunks/{app-mxhv6w83.js → location-sk97y4pa.js} +8 -8
  263. package/dist/chunks/{app-sj4xjt7y.js → location-snhk3d40.js} +27 -27
  264. package/dist/chunks/{app-dzws43fd.js → location-spwvyatr.js} +10 -10
  265. package/dist/chunks/{app-0j7gp832.js → location-sqjzf8x2.js} +4 -4
  266. package/dist/chunks/{app-svcy3p9a.js → location-svcy3p9a.js} +1 -1
  267. package/dist/chunks/{app-t0zfenmz.js → location-swedj7af.js} +23 -23
  268. package/dist/chunks/{app-szwm4crx.js → location-szwm4crx.js} +4 -4
  269. package/dist/chunks/{app-zkket41r.js → location-t6fwc9q0.js} +24 -24
  270. package/dist/chunks/{app-ysampvvb.js → location-t8erkws8.js} +5 -5
  271. package/dist/chunks/{app-tczq8hjw.js → location-tczq8hjw.js} +1 -1
  272. package/dist/chunks/{app-ghqvcpnh.js → location-tdrhngm4.js} +15 -15
  273. package/dist/chunks/{app-5z1m43a3.js → location-tenkbk6f.js} +9 -9
  274. package/dist/chunks/{app-mj1xqs5a.js → location-tfn5dkze.js} +35 -35
  275. package/dist/chunks/{app-hy8c1z76.js → location-tg1vr1qt.js} +8 -8
  276. package/dist/chunks/{app-3nnrz6f6.js → location-tmc7xdjs.js} +4 -4
  277. package/dist/chunks/{app-tr8x705m.js → location-tr8x705m.js} +1 -1
  278. package/dist/chunks/{app-3k6see7r.js → location-tv15tdwr.js} +25 -25
  279. package/dist/chunks/{app-bmgv8h6w.js → location-tvzzcc9t.js} +12 -12
  280. package/dist/chunks/{app-twssxy5n.js → location-twssxy5n.js} +2 -2
  281. package/dist/chunks/{app-k44x9x7y.js → location-txkgt4s1.js} +52 -52
  282. package/dist/chunks/{app-87ef3s8z.js → location-tyc6z1sz.js} +33 -33
  283. package/dist/chunks/{app-v2r1d0zg.js → location-v2r1d0zg.js} +1 -1
  284. package/dist/chunks/{app-6xgrzf3v.js → location-v5kg2n5y.js} +4 -4
  285. package/dist/chunks/{app-ts7bpkbv.js → location-v6cyb2p5.js} +3 -3
  286. package/dist/chunks/{app-hz7a74th.js → location-v8114j4p.js} +32 -32
  287. package/dist/chunks/{app-ge0ek74f.js → location-vex3khmr.js} +31 -31
  288. package/dist/chunks/{app-fhwn87jp.js → location-vj50rhab.js} +8 -8
  289. package/dist/chunks/{app-vjf35v1f.js → location-vjf35v1f.js} +1 -1
  290. package/dist/chunks/{app-sgfxw3p2.js → location-vkp5tjg3.js} +79 -79
  291. package/dist/chunks/{app-ndpzex15.js → location-vkx30h9m.js} +14 -14
  292. package/dist/chunks/{app-1njtx4es.js → location-vnjc296t.js} +3 -3
  293. package/dist/chunks/{app-n17wdgkv.js → location-vp2t5zgg.js} +33 -33
  294. package/dist/chunks/{app-2emepb4b.js → location-vr233qkz.js} +29 -29
  295. package/dist/chunks/location-vz06f061.js +261 -0
  296. package/dist/chunks/{app-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  297. package/dist/chunks/{app-dbf6dzq1.js → location-w563xz5b.js} +9 -9
  298. package/dist/chunks/{app-wf5k0dcb.js → location-w9b0ha22.js} +34 -34
  299. package/dist/chunks/{app-wakvkjy4.js → location-wakvkjy4.js} +1 -1
  300. package/dist/chunks/{app-wd87259q.js → location-wd87259q.js} +1 -1
  301. package/dist/chunks/{app-nx4vzyjd.js → location-wegkxhrn.js} +2 -2
  302. package/dist/chunks/{app-vf5rezts.js → location-wm4pme2q.js} +10 -10
  303. package/dist/chunks/{app-wnhgecwx.js → location-wnhgecwx.js} +1 -1
  304. package/dist/chunks/{app-8jw7n1ah.js → location-wq4p4nz0.js} +12 -12
  305. package/dist/chunks/{app-93n7n3x8.js → location-wq4rsx08.js} +21 -21
  306. package/dist/chunks/{app-w687dnns.js → location-wr3re1en.js} +4 -4
  307. package/dist/chunks/{app-722vxske.js → location-wwa90kkq.js} +9 -9
  308. package/dist/chunks/{app-7zggx0n1.js → location-wzjdj14d.js} +6 -6
  309. package/dist/chunks/{app-s55t9t0j.js → location-wzzmpzmb.js} +56 -56
  310. package/dist/chunks/{app-cfg1rk1c.js → location-x1bzrmrv.js} +30 -30
  311. package/dist/chunks/{app-5tgs095n.js → location-x2h3wh5t.js} +28 -28
  312. package/dist/chunks/{app-qnt4ewtn.js → location-x8b2j0eq.js} +9 -9
  313. package/dist/chunks/{app-jmx08cdn.js → location-xdff7p3p.js} +18 -18
  314. package/dist/chunks/{app-gkqc8wt9.js → location-xh5xpxzv.js} +11 -11
  315. package/dist/chunks/{app-whhbv2ev.js → location-xjbsd7zy.js} +9 -9
  316. package/dist/chunks/location-xn7cqzsq.js +16 -0
  317. package/dist/chunks/{app-28ma8gfj.js → location-xnvebmwh.js} +183 -183
  318. package/dist/chunks/{app-20mc4p3b.js → location-xshjxwsy.js} +14 -14
  319. package/dist/chunks/{app-f851hg2k.js → location-xv6tcr0w.js} +20 -20
  320. package/dist/chunks/{app-0z1kk8n9.js → location-xym735jc.js} +8 -8
  321. package/dist/chunks/{app-yb20nhc3.js → location-yb20nhc3.js} +1 -1
  322. package/dist/chunks/{app-8px3ddj4.js → location-ynygqj77.js} +1 -1
  323. package/dist/chunks/{app-yr705xyq.js → location-yr705xyq.js} +1 -1
  324. package/dist/chunks/{app-7t9chrae.js → location-ys7rp9j6.js} +11 -11
  325. package/dist/chunks/{app-j6z15evp.js → location-ytjw7m49.js} +7 -7
  326. package/dist/chunks/{app-2gd46ww5.js → location-ytkajd2z.js} +31 -31
  327. package/dist/chunks/{app-yvtc2x31.js → location-yvtc2x31.js} +1 -1
  328. package/dist/chunks/{app-ggqsw24s.js → location-yzddgs9q.js} +21 -21
  329. package/dist/chunks/{app-tkp5adq0.js → location-z3deh3n3.js} +18 -18
  330. package/dist/chunks/{app-qfz6bxfd.js → location-z5v37w21.js} +4 -4
  331. package/dist/chunks/{app-pyz2pf6w.js → location-z6cfvfba.js} +6 -6
  332. package/dist/chunks/{app-8fzjfj5n.js → location-z838ayja.js} +2 -2
  333. package/dist/chunks/{app-xrj14re7.js → location-zmh55w6z.js} +8 -8
  334. package/dist/chunks/{app-v7zvx5ny.js → location-zrm3sqe8.js} +38 -38
  335. package/dist/chunks/{app-6mzrbse0.js → location-zsxzvz5w.js} +35 -35
  336. package/dist/chunks/{app-0asq6p20.js → location-zt6jbzn6.js} +10 -10
  337. package/dist/chunks/{app-hahgtam6.js → location-zva2cc2v.js} +45 -45
  338. package/dist/chunks/{app-kp2338hr.js → location-zyfhsknv.js} +9 -9
  339. package/dist/chunks/{app-wyya4zt2.js → location-zyne38h8.js} +9 -9
  340. package/dist/chunks/{app-jk9ctt2d.js → location-zzdpwr6m.js} +30 -30
  341. package/dist/codemode/catalog.js +1 -1
  342. package/dist/codemode/execution.js +5 -5
  343. package/dist/codemode/fetch.js +147 -145
  344. package/dist/codemode/instructions.js +7 -7
  345. package/dist/codemode/tool.js +151 -151
  346. package/dist/command.js +96 -96
  347. package/dist/config/discovery.js +95 -95
  348. package/dist/config/integration.js +3 -3
  349. package/dist/config/managed.js +1 -1
  350. package/dist/config/markdown.js +1 -1
  351. package/dist/config/normalize.js +112 -112
  352. package/dist/config/plugin/agent.js +132 -132
  353. package/dist/config/plugin/command.js +232 -232
  354. package/dist/config/plugin/compaction.js +171 -171
  355. package/dist/config/plugin/compatibility.js +150 -150
  356. package/dist/config/plugin/entry-observer.js +1 -1
  357. package/dist/config/plugin/formatter.js +131 -131
  358. package/dist/config/plugin/image.js +130 -130
  359. package/dist/config/plugin/instruction.js +130 -130
  360. package/dist/config/plugin/location-watcher.js +130 -130
  361. package/dist/config/plugin/mcp.js +142 -142
  362. package/dist/config/plugin/policy.js +130 -130
  363. package/dist/config/plugin/provider.js +130 -130
  364. package/dist/config/plugin/reference.js +132 -132
  365. package/dist/config/plugin/shell.js +132 -132
  366. package/dist/config/plugin/skill-file.js +146 -146
  367. package/dist/config/plugin/skill-scan.js +1 -1
  368. package/dist/config/plugin/skill.js +153 -153
  369. package/dist/config/plugin/snapshot.js +130 -130
  370. package/dist/config/plugin/source.js +133 -133
  371. package/dist/config/plugin/tool-output.js +131 -131
  372. package/dist/config/plugin/websearch.js +131 -131
  373. package/dist/config/plugin/worktree.js +132 -132
  374. package/dist/config/variable.js +1 -1
  375. package/dist/config/watch.js +1 -1
  376. package/dist/config.js +135 -135
  377. package/dist/console-access.js +1 -1
  378. package/dist/credential/sql.js +2 -2
  379. package/dist/credential.js +92 -92
  380. package/dist/database/database.js +77 -77
  381. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  382. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  383. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  384. package/dist/database/drizzle/index.js +13 -13
  385. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  386. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  387. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  388. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  389. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  390. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  391. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  392. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  393. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  394. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  395. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  396. package/dist/database/drizzle.js +14 -14
  397. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  398. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  399. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  400. package/dist/database/migration/20260225215848_workspace.js +1 -1
  401. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  402. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  403. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  404. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  405. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  406. package/dist/database/migration/20260323234822_events.js +1 -1
  407. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  408. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  409. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  410. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  411. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  412. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  413. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  414. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  415. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  416. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  417. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  418. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  419. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  420. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  421. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  422. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  423. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  424. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  425. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  426. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  427. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  428. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  429. package/dist/database/migration/20260611035744_credential.js +1 -1
  430. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  431. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  432. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  433. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  434. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  435. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  436. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  437. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  438. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  439. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  440. package/dist/database/migration/20260812213948_worktree.js +1 -1
  441. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  442. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  443. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  444. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  445. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  446. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  447. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  448. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  449. package/dist/database/migration/20261025123711_blob.js +1 -1
  450. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  451. package/dist/database/migration/20261026223005_schedule.js +1 -1
  452. package/dist/database/migration/20261029002625_session_part.js +1 -1
  453. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  454. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  455. package/dist/database/migration/20261030054400_job.js +1 -1
  456. package/dist/database/migration.gen.js +60 -60
  457. package/dist/database/migration.js +62 -62
  458. package/dist/database/path.js +2 -2
  459. package/dist/database/schema.gen.js +1 -1
  460. package/dist/database/schema.sql.js +1 -1
  461. package/dist/database/v1-migration.bun.js +105 -105
  462. package/dist/database/v1-migration.js +1 -1
  463. package/dist/effect/app-node-builder.js +431 -431
  464. package/dist/effect/app-node-platform.js +2 -2
  465. package/dist/effect/keyed-mutex.js +1 -1
  466. package/dist/effect/websocket-constructor.js +1 -1
  467. package/dist/environment/driver.js +1 -1
  468. package/dist/environment/environment.js +106 -106
  469. package/dist/environment/exec-defaults.js +2 -2
  470. package/dist/environment/files.js +1 -1
  471. package/dist/environment/index.js +108 -108
  472. package/dist/environment/local.js +2 -2
  473. package/dist/environment/memory.js +2 -2
  474. package/dist/environment/unavailable.js +3 -3
  475. package/dist/event/sql.js +1 -1
  476. package/dist/event-logger.js +81 -81
  477. package/dist/file-access.js +156 -156
  478. package/dist/file-mutation.js +107 -107
  479. package/dist/file-retention.js +1 -1
  480. package/dist/filesystem/fff.bun.js +2 -2
  481. package/dist/filesystem/fff.js +1 -1
  482. package/dist/filesystem/fff.node.js +2 -2
  483. package/dist/filesystem/fff.workerd.js +2 -2
  484. package/dist/filesystem/file-watch.js +88 -88
  485. package/dist/filesystem/location-watcher-policy.js +6 -6
  486. package/dist/filesystem/location-watcher.js +244 -244
  487. package/dist/filesystem/protected.js +1 -1
  488. package/dist/filesystem/search.js +112 -112
  489. package/dist/filesystem/watcher-binding.js +1 -1
  490. package/dist/filesystem/watcher.js +11 -11
  491. package/dist/filesystem.js +117 -117
  492. package/dist/form.js +93 -93
  493. package/dist/formatter/builtins.js +4 -4
  494. package/dist/formatter.js +100 -100
  495. package/dist/generate.js +118 -118
  496. package/dist/git.js +11 -11
  497. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  498. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  499. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  500. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  501. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  502. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  503. package/dist/github-copilot/copilot-provider.js +17 -17
  504. package/dist/github-copilot/models.js +104 -104
  505. package/dist/github-copilot/openai-compatible-error.js +1 -1
  506. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  507. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  508. package/dist/github-copilot/responses/openai-error.js +1 -1
  509. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  510. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  511. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  512. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  513. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  514. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  515. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  516. package/dist/image/notice.js +3 -3
  517. package/dist/image/photon-normalize.js +1 -1
  518. package/dist/image/photon-worker.js +1 -1
  519. package/dist/image/photon.js +4 -4
  520. package/dist/image.js +6 -6
  521. package/dist/instance/service.js +5 -5
  522. package/dist/instance.js +422 -422
  523. package/dist/instruction-discovery.js +97 -97
  524. package/dist/instructions/builtins.js +100 -100
  525. package/dist/instructions/index.js +3 -3
  526. package/dist/integration/connection.js +3 -3
  527. package/dist/integration.js +100 -100
  528. package/dist/job/sql.js +2 -2
  529. package/dist/job.js +88 -88
  530. package/dist/kv/sql.js +2 -2
  531. package/dist/kv.js +84 -84
  532. package/dist/location-activity.js +176 -176
  533. package/dist/location-lifecycle.js +150 -150
  534. package/dist/location-service-map.js +99 -99
  535. package/dist/location-services.js +419 -419
  536. package/dist/location.js +102 -102
  537. package/dist/managed-policy.js +3 -3
  538. package/dist/mcp/client.js +104 -104
  539. package/dist/mcp/connection.js +105 -105
  540. package/dist/mcp/index.js +123 -123
  541. package/dist/mcp/instructions.js +182 -182
  542. package/dist/mcp/oauth.js +89 -89
  543. package/dist/mcp/socket-client.js +1 -1
  544. package/dist/mcp/stdio.js +103 -103
  545. package/dist/mime.js +1 -1
  546. package/dist/modal/models.js +104 -104
  547. package/dist/model-resolver.js +112 -112
  548. package/dist/model-retry.js +1 -1
  549. package/dist/model.js +107 -107
  550. package/dist/models-dev/v1.js +1 -1
  551. package/dist/models-dev.js +121 -121
  552. package/dist/oauth/page.js +1 -1
  553. package/dist/permission/saved.js +93 -93
  554. package/dist/permission/sql.js +5 -5
  555. package/dist/permission.js +153 -153
  556. package/dist/persistent-pty/binary.bun.js +1 -1
  557. package/dist/persistent-pty/daemon.js +1 -1
  558. package/dist/persistent-pty/index.js +91 -91
  559. package/dist/persistent-pty/pty-binding.js +1 -1
  560. package/dist/persistent-pty.js +86 -86
  561. package/dist/plugin/agent.js +87 -87
  562. package/dist/plugin/command.js +116 -116
  563. package/dist/plugin/goal.js +3 -3
  564. package/dist/plugin/hooks.js +5 -5
  565. package/dist/plugin/host.js +237 -237
  566. package/dist/plugin/identity.js +5 -5
  567. package/dist/plugin/instance.js +5 -5
  568. package/dist/plugin/internal.js +398 -398
  569. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  570. package/dist/plugin/models-dev.js +110 -110
  571. package/dist/plugin/module.js +129 -129
  572. package/dist/plugin/optimize.js +4 -4
  573. package/dist/plugin/plan.js +146 -146
  574. package/dist/plugin/promise.js +1 -1
  575. package/dist/plugin/provider/amazon-bedrock.js +104 -104
  576. package/dist/plugin/provider/azure.js +132 -132
  577. package/dist/plugin/provider/cerebras.js +1 -1
  578. package/dist/plugin/provider/chatgpt.js +130 -130
  579. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  580. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  581. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  582. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  583. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  584. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  585. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  586. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  587. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  588. package/dist/plugin/provider/claude-agent/index.js +145 -145
  589. package/dist/plugin/provider/claude-agent/instructions.js +112 -112
  590. package/dist/plugin/provider/claude-agent/integration.js +113 -113
  591. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  592. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  593. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  594. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  595. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  596. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  597. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  598. package/dist/plugin/provider/claude-agent/provider.js +110 -110
  599. package/dist/plugin/provider/claude-agent/session.js +112 -112
  600. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  601. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  602. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  603. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  604. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  605. package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
  606. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  607. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  608. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  609. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  610. package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
  611. package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
  612. package/dist/plugin/provider/configured.js +126 -126
  613. package/dist/plugin/provider/credential-settings.js +85 -85
  614. package/dist/plugin/provider/databricks.js +1 -1
  615. package/dist/plugin/provider/digitalocean.js +108 -108
  616. package/dist/plugin/provider/dynamic.js +2 -2
  617. package/dist/plugin/provider/github-copilot.js +110 -110
  618. package/dist/plugin/provider/gitlab.js +107 -107
  619. package/dist/plugin/provider/google-vertex.js +127 -127
  620. package/dist/plugin/provider/kilo.js +1 -1
  621. package/dist/plugin/provider/llmgateway.js +89 -89
  622. package/dist/plugin/provider/lmstudio.js +139 -139
  623. package/dist/plugin/provider/local.js +136 -136
  624. package/dist/plugin/provider/modal.js +107 -107
  625. package/dist/plugin/provider/neon.js +1 -1
  626. package/dist/plugin/provider/nvidia.js +1 -1
  627. package/dist/plugin/provider/ollama.js +137 -137
  628. package/dist/plugin/provider/openai-context-caps.js +103 -103
  629. package/dist/plugin/provider/openai.js +132 -132
  630. package/dist/plugin/provider/opencode.js +155 -155
  631. package/dist/plugin/provider/openrouter.js +104 -104
  632. package/dist/plugin/provider/poe.js +90 -90
  633. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  634. package/dist/plugin/provider/refresh.js +87 -87
  635. package/dist/plugin/provider/sap-ai-core.js +104 -104
  636. package/dist/plugin/provider/sdk-factory.js +1 -1
  637. package/dist/plugin/provider/snowflake-cortex.js +129 -129
  638. package/dist/plugin/provider/vllm.js +139 -139
  639. package/dist/plugin/provider/xai.js +104 -104
  640. package/dist/plugin/provider/zenmux.js +1 -1
  641. package/dist/plugin/provider.js +234 -234
  642. package/dist/plugin/sdk.js +87 -87
  643. package/dist/plugin/service.js +3 -3
  644. package/dist/plugin/skill.js +149 -149
  645. package/dist/plugin/source-directory.js +1 -1
  646. package/dist/plugin/supervisor.js +406 -406
  647. package/dist/plugin/tool-input-repair.js +4 -4
  648. package/dist/plugin/update.js +6 -6
  649. package/dist/plugin/vcs/git.js +99 -99
  650. package/dist/plugin/vcs/hg.js +99 -99
  651. package/dist/plugin/verbosity.js +106 -106
  652. package/dist/plugin/warming.js +130 -130
  653. package/dist/plugin/websearch/exa.js +5 -5
  654. package/dist/plugin/websearch/firecrawl.js +8 -8
  655. package/dist/plugin/websearch/index.js +9 -9
  656. package/dist/plugin/websearch/mcp.js +4 -4
  657. package/dist/plugin/websearch/parallel.js +8 -8
  658. package/dist/plugin/websearch/tavily.js +6 -6
  659. package/dist/plugin/websearch/tinyfish.js +8 -8
  660. package/dist/plugin.js +248 -248
  661. package/dist/project/icon.js +5 -5
  662. package/dist/project/schema.js +8 -8
  663. package/dist/project/sql.js +4 -4
  664. package/dist/project.js +103 -103
  665. package/dist/provider.js +106 -106
  666. package/dist/pty/protocol.js +1 -1
  667. package/dist/pty/ticket.js +1 -1
  668. package/dist/pty.js +113 -113
  669. package/dist/reference/instructions.js +101 -101
  670. package/dist/reference.js +101 -101
  671. package/dist/repository-cache.js +93 -93
  672. package/dist/repository.js +1 -1
  673. package/dist/ripgrep/binary.js +2 -2
  674. package/dist/ripgrep.js +110 -110
  675. package/dist/rpc.js +99 -99
  676. package/dist/schedule/check.js +242 -242
  677. package/dist/schedule/sql.js +6 -6
  678. package/dist/schedule.js +250 -250
  679. package/dist/schema.js +1 -1
  680. package/dist/session/affinity.js +3 -3
  681. package/dist/session/background.js +1 -1
  682. package/dist/session/blob.js +129 -129
  683. package/dist/session/command.js +85 -85
  684. package/dist/session/compaction.js +173 -173
  685. package/dist/session/context.js +199 -199
  686. package/dist/session/diff.js +101 -101
  687. package/dist/session/environment.js +5 -5
  688. package/dist/session/error.js +5 -5
  689. package/dist/session/event.js +1 -1
  690. package/dist/session/execution/restart.js +244 -244
  691. package/dist/session/execution.js +163 -163
  692. package/dist/session/generate.js +199 -199
  693. package/dist/session/history.js +136 -136
  694. package/dist/session/inbox.js +145 -145
  695. package/dist/session/info.js +3 -3
  696. package/dist/session/instruction-entry.js +90 -90
  697. package/dist/session/instruction-state.js +8 -8
  698. package/dist/session/instructions.js +141 -141
  699. package/dist/session/message-updater.js +4 -4
  700. package/dist/session/message.js +1 -1
  701. package/dist/session/model-request.js +166 -166
  702. package/dist/session/model-transport.js +7 -7
  703. package/dist/session/move.js +165 -165
  704. package/dist/session/projector.js +143 -143
  705. package/dist/session/prompt.js +148 -148
  706. package/dist/session/recent-text.js +1 -1
  707. package/dist/session/revert.js +139 -139
  708. package/dist/session/run-coordinator.js +3 -3
  709. package/dist/session/runner/index.js +3 -3
  710. package/dist/session/runner/llm.js +251 -251
  711. package/dist/session/runner/max-steps.js +1 -1
  712. package/dist/session/runner/model.js +113 -113
  713. package/dist/session/runner/publish-llm-event.js +149 -149
  714. package/dist/session/runner/retry.js +5 -5
  715. package/dist/session/runner/step.js +163 -163
  716. package/dist/session/runner/to-llm-message.js +137 -137
  717. package/dist/session/schema.js +5 -5
  718. package/dist/session/session.js +181 -181
  719. package/dist/session/shell.js +144 -144
  720. package/dist/session/skill.js +149 -149
  721. package/dist/session/sql.js +5 -5
  722. package/dist/session/stats.js +84 -84
  723. package/dist/session/store.js +142 -142
  724. package/dist/session/stored.js +4 -4
  725. package/dist/session/subagent-completion.js +3 -3
  726. package/dist/session/subagent-job.js +230 -230
  727. package/dist/session/system-prompt.js +3 -3
  728. package/dist/session/title.js +203 -203
  729. package/dist/session/to-session-error.js +148 -148
  730. package/dist/session/transfer.js +238 -238
  731. package/dist/session/usage.js +1 -1
  732. package/dist/session.js +236 -236
  733. package/dist/shared-cache.js +5 -5
  734. package/dist/shell/parse.js +6 -6
  735. package/dist/shell/result.js +1 -1
  736. package/dist/shell/scan.js +1 -1
  737. package/dist/shell/select.js +7 -7
  738. package/dist/shell.js +146 -146
  739. package/dist/skill/discovery.js +6 -6
  740. package/dist/skill/instructions.js +151 -151
  741. package/dist/skill.js +154 -154
  742. package/dist/snapshot.js +104 -104
  743. package/dist/state.js +1 -1
  744. package/dist/tool/html-markdown.js +1 -1
  745. package/dist/tool/http-body.js +1 -1
  746. package/dist/tool/mcp.js +179 -179
  747. package/dist/tool/plugin/artifact.js +229 -229
  748. package/dist/tool/plugin/edit.js +164 -164
  749. package/dist/tool/plugin/file-diff.js +1 -1
  750. package/dist/tool/plugin/glob.js +164 -164
  751. package/dist/tool/plugin/grep.js +168 -168
  752. package/dist/tool/plugin/image-generate.js +240 -240
  753. package/dist/tool/plugin/mcp-resource.js +163 -163
  754. package/dist/tool/plugin/opencode.js +161 -161
  755. package/dist/tool/plugin/patch.js +164 -164
  756. package/dist/tool/plugin/question.js +146 -146
  757. package/dist/tool/plugin/read.js +167 -167
  758. package/dist/tool/plugin/schedule.js +248 -248
  759. package/dist/tool/plugin/shell.js +236 -236
  760. package/dist/tool/plugin/skill.js +151 -151
  761. package/dist/tool/plugin/subagent.js +235 -235
  762. package/dist/tool/plugin/todo.js +153 -153
  763. package/dist/tool/plugin/webfetch.js +155 -155
  764. package/dist/tool/plugin/websearch.js +155 -155
  765. package/dist/tool/plugin/write.js +162 -162
  766. package/dist/tool/read-filesystem.js +115 -115
  767. package/dist/tool/runtime.js +1 -1
  768. package/dist/tool-output.js +7 -7
  769. package/dist/tool.js +161 -161
  770. package/dist/types/codemode/fetch.d.ts +1 -0
  771. package/dist/usage-limits.js +96 -96
  772. package/dist/util/error-summary.js +1 -1
  773. package/dist/util/git-executable.js +3 -3
  774. package/dist/util/lazy.js +1 -1
  775. package/dist/util/slug.js +1 -1
  776. package/dist/util/token.js +1 -1
  777. package/dist/util/which.js +1 -1
  778. package/dist/util/wildcard.js +1 -1
  779. package/dist/v1/config/agent.js +5 -5
  780. package/dist/v1/config/command.js +5 -5
  781. package/dist/v1/config/mcp.js +4 -4
  782. package/dist/v1/config/migrate.js +105 -105
  783. package/dist/v1/config/permission.js +3 -3
  784. package/dist/v1/config/plugin.js +3 -3
  785. package/dist/v1/config/provider-options.js +1 -1
  786. package/dist/v1/config/provider.js +4 -4
  787. package/dist/variant.js +106 -106
  788. package/dist/vcs/patch.js +1 -1
  789. package/dist/vcs.js +102 -102
  790. package/dist/voice.js +95 -95
  791. package/dist/websearch.js +101 -101
  792. package/dist/wellknown/plugin.js +87 -87
  793. package/dist/wellknown.js +92 -92
  794. package/dist/workspace/driver.js +7 -7
  795. package/dist/workspace/sql.js +1 -1
  796. package/dist/workspace.js +93 -93
  797. package/dist/worktree/directory.js +2 -2
  798. package/dist/worktree/git.js +11 -11
  799. package/dist/worktree/sql.js +5 -5
  800. package/dist/worktree/strategies.js +102 -102
  801. package/dist/worktree.js +111 -111
  802. package/package.json +8 -8
  803. package/dist/chunks/app-5tqhmh96.js +0 -72
  804. package/dist/chunks/app-cpdsp3va.js +0 -16
  805. package/dist/chunks/app-essehzfx.js +0 -26
  806. package/dist/chunks/app-me1613fs.js +0 -261
  807. package/dist/chunks/app-qmh7vbk2.js +0 -18
  808. /package/dist/chunks/{app-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  809. /package/dist/chunks/{app-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  810. /package/dist/chunks/{app-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  811. /package/dist/chunks/{app-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  812. /package/dist/chunks/{app-1kah00gy.js → location-1kah00gy.js} +0 -0
  813. /package/dist/chunks/{app-1pevy3nx.js → location-1pevy3nx.js} +0 -0
  814. /package/dist/chunks/{app-24dcb14g.js → location-24dcb14g.js} +0 -0
  815. /package/dist/chunks/{app-2710q6r3.js → location-2710q6r3.js} +0 -0
  816. /package/dist/chunks/{app-2bv980vf.js → location-2bv980vf.js} +0 -0
  817. /package/dist/chunks/{app-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  818. /package/dist/chunks/{app-359p4xyc.js → location-359p4xyc.js} +0 -0
  819. /package/dist/chunks/{app-3asan66x.js → location-3asan66x.js} +0 -0
  820. /package/dist/chunks/{app-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  821. /package/dist/chunks/{app-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  822. /package/dist/chunks/{app-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  823. /package/dist/chunks/{app-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  824. /package/dist/chunks/{app-4qk9sjk2.js → location-4qk9sjk2.js} +0 -0
  825. /package/dist/chunks/{app-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  826. /package/dist/chunks/{app-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  827. /package/dist/chunks/{app-53557ph1.js → location-53557ph1.js} +0 -0
  828. /package/dist/chunks/{app-550bvhaj.js → location-550bvhaj.js} +0 -0
  829. /package/dist/chunks/{app-5w3e23ze.js → location-5w3e23ze.js} +0 -0
  830. /package/dist/chunks/{app-6agm2x70.js → location-6agm2x70.js} +0 -0
  831. /package/dist/chunks/{app-6prwharc.js → location-6prwharc.js} +0 -0
  832. /package/dist/chunks/{app-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
  833. /package/dist/chunks/{app-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  834. /package/dist/chunks/{app-7m9af43g.js → location-7m9af43g.js} +0 -0
  835. /package/dist/chunks/{app-822emrt2.js → location-822emrt2.js} +0 -0
  836. /package/dist/chunks/{app-84wd9syh.js → location-84wd9syh.js} +0 -0
  837. /package/dist/chunks/{app-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  838. /package/dist/chunks/{app-8n3pysct.js → location-8n3pysct.js} +0 -0
  839. /package/dist/chunks/{app-8wj87zfr.js → location-8wj87zfr.js} +0 -0
  840. /package/dist/chunks/{app-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  841. /package/dist/chunks/{app-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  842. /package/dist/chunks/{app-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  843. /package/dist/chunks/{app-af5trqkr.js → location-af5trqkr.js} +0 -0
  844. /package/dist/chunks/{app-afrmfg78.js → location-afrmfg78.js} +0 -0
  845. /package/dist/chunks/{app-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  846. /package/dist/chunks/{app-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  847. /package/dist/chunks/{app-beh6qq61.js → location-beh6qq61.js} +0 -0
  848. /package/dist/chunks/{app-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  849. /package/dist/chunks/{app-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  850. /package/dist/chunks/{app-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  851. /package/dist/chunks/{app-cqv5kn06.js → location-cqv5kn06.js} +0 -0
  852. /package/dist/chunks/{app-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  853. /package/dist/chunks/{app-d9fn303g.js → location-d9fn303g.js} +0 -0
  854. /package/dist/chunks/{app-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  855. /package/dist/chunks/{app-dap0rakb.js → location-dap0rakb.js} +0 -0
  856. /package/dist/chunks/{app-dbht28n9.js → location-dbht28n9.js} +0 -0
  857. /package/dist/chunks/{app-df08tz66.js → location-df08tz66.js} +0 -0
  858. /package/dist/chunks/{app-dy18nga0.js → location-dy18nga0.js} +0 -0
  859. /package/dist/chunks/{app-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  860. /package/dist/chunks/{app-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  861. /package/dist/chunks/{app-ean2d8b5.js → location-ean2d8b5.js} +0 -0
  862. /package/dist/chunks/{app-ec1grn59.js → location-ec1grn59.js} +0 -0
  863. /package/dist/chunks/{app-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  864. /package/dist/chunks/{app-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  865. /package/dist/chunks/{app-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  866. /package/dist/chunks/{app-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  867. /package/dist/chunks/{app-faypxj3z.js → location-faypxj3z.js} +0 -0
  868. /package/dist/chunks/{app-fd410y7t.js → location-fd410y7t.js} +0 -0
  869. /package/dist/chunks/{app-fkpq3x5p.js → location-fkpq3x5p.js} +0 -0
  870. /package/dist/chunks/{app-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  871. /package/dist/chunks/{app-g86h250q.js → location-g86h250q.js} +0 -0
  872. /package/dist/chunks/{app-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  873. /package/dist/chunks/{app-gftt206x.js → location-gftt206x.js} +0 -0
  874. /package/dist/chunks/{app-hcxmzztb.js → location-hcxmzztb.js} +0 -0
  875. /package/dist/chunks/{app-hk9envan.js → location-hk9envan.js} +0 -0
  876. /package/dist/chunks/{app-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  877. /package/dist/chunks/{app-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  878. /package/dist/chunks/{app-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  879. /package/dist/chunks/{app-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  880. /package/dist/chunks/{app-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  881. /package/dist/chunks/{app-jwr30sdr.js → location-jwr30sdr.js} +0 -0
  882. /package/dist/chunks/{app-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  883. /package/dist/chunks/{app-m18g726c.js → location-m18g726c.js} +0 -0
  884. /package/dist/chunks/{app-mp448xyj.js → location-mp448xyj.js} +0 -0
  885. /package/dist/chunks/{app-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  886. /package/dist/chunks/{app-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  887. /package/dist/chunks/{app-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  888. /package/dist/chunks/{app-nh4v3znn.js → location-nh4v3znn.js} +0 -0
  889. /package/dist/chunks/{app-njntx4h6.js → location-njntx4h6.js} +0 -0
  890. /package/dist/chunks/{app-p71gwv9c.js → location-p71gwv9c.js} +0 -0
  891. /package/dist/chunks/{app-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  892. /package/dist/chunks/{app-q74kybfr.js → location-q74kybfr.js} +0 -0
  893. /package/dist/chunks/{app-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  894. /package/dist/chunks/{app-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  895. /package/dist/chunks/{app-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  896. /package/dist/chunks/{app-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  897. /package/dist/chunks/{app-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  898. /package/dist/chunks/{app-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  899. /package/dist/chunks/{app-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  900. /package/dist/chunks/{app-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  901. /package/dist/chunks/{app-syrav9an.js → location-syrav9an.js} +0 -0
  902. /package/dist/chunks/{app-t03h4f5z.js → location-t03h4f5z.js} +0 -0
  903. /package/dist/chunks/{app-ty7weeps.js → location-ty7weeps.js} +0 -0
  904. /package/dist/chunks/{app-ve7vex1e.js → location-ve7vex1e.js} +0 -0
  905. /package/dist/chunks/{app-vtarvj67.js → location-vtarvj67.js} +0 -0
  906. /package/dist/chunks/{app-w803qqfp.js → location-w803qqfp.js} +0 -0
  907. /package/dist/chunks/{app-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  908. /package/dist/chunks/{app-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  909. /package/dist/chunks/{app-wtztk69x.js → location-wtztk69x.js} +0 -0
  910. /package/dist/chunks/{app-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  911. /package/dist/chunks/{app-x61499pn.js → location-x61499pn.js} +0 -0
  912. /package/dist/chunks/{app-y44na4kk.js → location-y44na4kk.js} +0 -0
  913. /package/dist/chunks/{app-y8f7s663.js → location-y8f7s663.js} +0 -0
  914. /package/dist/chunks/{app-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  915. /package/dist/chunks/{app-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
  916. /package/dist/chunks/{app-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Service90,
3
3
  node93
4
- } from "./app-n4k1ey5b.js";
4
+ } from "./location-ew5p7j1s.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./app-27w5k9zf.js";
7
+ } from "./location-1ep2p91f.js";
8
8
  import {
9
9
  __export
10
- } from "./app-9rqn6x4v.js";
10
+ } from "./location-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  ConflictError: () => ConflictError2,
16
- ID: () => ID9,
17
- Info: () => Info12,
18
- NotFoundError: () => NotFoundError8,
16
+ ID: () => ID12,
17
+ Info: () => Info15,
18
+ NotFoundError: () => NotFoundError12,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service53,
21
- node: () => node54
20
+ Service: () => Service72,
21
+ node: () => node74
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { isSqlError } from "effect/sql/SqlError";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID9 = PermissionSaved.ID;
29
- var Info12 = PermissionSaved.Info;
28
+ var ID12 = PermissionSaved.ID;
29
+ var Info15 = PermissionSaved.Info;
30
30
 
31
- class NotFoundError8 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
32
- id: ID9
31
+ class NotFoundError12 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
32
+ id: ID12
33
33
  }) {
34
34
  }
35
35
 
36
36
  class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
37
- id: ID9,
37
+ id: ID12,
38
38
  action: Schema.String,
39
39
  resource: Schema.String
40
40
  }) {
41
41
  }
42
42
 
43
- class Service53 extends Context.Service()("@opencode/PermissionSaved") {
43
+ class Service72 extends Context.Service()("@opencode/PermissionSaved") {
44
44
  }
45
- var layer = Layer.effect(Service53, Effect.gen(function* () {
45
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
46
46
  const db = (yield* Service90).db;
47
47
  const list = Effect.fnUntraced(function* (input) {
48
48
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
52
52
  if (!input.resources.length)
53
53
  return;
54
54
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
55
- id: ID9.create(),
55
+ id: ID12.create(),
56
56
  project_id: input.projectID,
57
57
  action: input.action,
58
58
  resource
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
61
61
  const update = Effect.fn("PermissionSaved.update")(function* (input) {
62
62
  const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
63
63
  if (!current)
64
- return yield* new NotFoundError8({ id: input.id });
64
+ return yield* new NotFoundError12({ id: input.id });
65
65
  const action = input.action ?? current.action;
66
66
  const resource = input.resource ?? current.resource;
67
67
  const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
68
68
  if (!updated)
69
- return yield* new NotFoundError8({ id: input.id });
69
+ return yield* new NotFoundError12({ id: input.id });
70
70
  return info(updated);
71
71
  });
72
72
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
73
73
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
74
74
  });
75
- return Service53.of({ list, add, update, remove });
75
+ return Service72.of({ list, add, update, remove });
76
76
  }));
77
77
  var isUniqueViolation = (error) => {
78
78
  const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
@@ -90,6 +90,6 @@ var info = (row) => ({
90
90
  updated: DateTime.makeUnsafe(row.time_updated)
91
91
  }
92
92
  });
93
- var node54 = makeGlobalNode({ service: Service53, layer, deps: [node93] });
93
+ var node74 = makeGlobalNode({ service: Service72, layer, deps: [node93] });
94
94
 
95
- export { ID9, Info12, NotFoundError8, ConflictError2, Service53, node54, exports_saved };
95
+ export { ID12, Info15, NotFoundError12, ConflictError2, Service72, node74, exports_saved };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ID16
3
- } from "./app-tkp5adq0.js";
3
+ } from "./location-z3deh3n3.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -1,42 +1,42 @@
1
1
  import {
2
2
  key2
3
- } from "./app-jhwp234h.js";
3
+ } from "./location-q65mdntm.js";
4
4
  import {
5
5
  OAuth3
6
- } from "./app-k8bdr0d0.js";
6
+ } from "./location-kh9rtkn7.js";
7
7
  import {
8
- ID18,
8
+ ID20,
9
9
  MethodID2
10
- } from "./app-gwz0wrrb.js";
10
+ } from "./location-629vq7qf.js";
11
11
  import {
12
12
  ID17,
13
13
  aisdk2,
14
14
  mergeOverlay2,
15
- Service81
16
- } from "./app-x2eb1s38.js";
15
+ Service82
16
+ } from "./location-c13b592v.js";
17
17
  import {
18
18
  ID16
19
- } from "./app-tkp5adq0.js";
19
+ } from "./location-z3deh3n3.js";
20
20
  import {
21
21
  load5,
22
22
  derive3
23
- } from "./app-gtse556r.js";
23
+ } from "./location-43s7a0t3.js";
24
24
  import {
25
25
  useragent2
26
- } from "./app-0qdw55z7.js";
26
+ } from "./location-qqf3gkjm.js";
27
27
  import {
28
- ID10
29
- } from "./app-3gqs30ps.js";
28
+ ID13
29
+ } from "./location-hpgfvtnm.js";
30
30
  import {
31
- get5
32
- } from "./app-3nnrz6f6.js";
31
+ get4
32
+ } from "./location-tmc7xdjs.js";
33
33
  import {
34
- Service19,
34
+ Service18,
35
35
  fingerprint2
36
- } from "./app-0z1kk8n9.js";
36
+ } from "./location-xym735jc.js";
37
37
  import {
38
38
  start3
39
- } from "./app-kfd17r3s.js";
39
+ } from "./location-bbmkcywa.js";
40
40
 
41
41
  // src/plugin/provider/github-copilot.ts
42
42
  import { isRecord } from "@opencode/util/record";
@@ -70,7 +70,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
70
70
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
71
71
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
72
72
  var oauth = (app) => ({
73
- integrationID: ID18.make("github-copilot"),
73
+ integrationID: ID20.make("github-copilot"),
74
74
  method: {
75
75
  id: methodID,
76
76
  type: "oauth",
@@ -168,8 +168,8 @@ var oauth = (app) => ({
168
168
  var GithubCopilotPlugin2 = define({
169
169
  id: "opencode.provider.github.copilot",
170
170
  effect: Effect.fn(function* (ctx) {
171
- const providers = yield* Service81;
172
- const cache = yield* Service19;
171
+ const providers = yield* Service82;
172
+ const cache = yield* Service18;
173
173
  const http = yield* HttpClient.HttpClient;
174
174
  const discovered = yield* start3({
175
175
  integrationID: "github-copilot",
@@ -257,7 +257,7 @@ var GithubCopilotPlugin2 = define({
257
257
  }));
258
258
  const interaction = interactionType2(evt.kind, session?.parentID !== undefined);
259
259
  evt.headers["X-Interaction-Type"] = interaction;
260
- evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
260
+ evt.headers["X-Interaction-Id"] = session ? get4(session) : evt.sessionID;
261
261
  if (interaction !== "conversation-agent")
262
262
  evt.headers["x-initiator"] = "agent";
263
263
  }), { providerID: ID17.githubCopilot });
@@ -267,7 +267,7 @@ var GithubCopilotPlugin2 = define({
267
267
  const loaded = discovered.current;
268
268
  if (!loaded.baseURL || !loaded.token || !loaded.models)
269
269
  return;
270
- const agent = yield* ctx.agent.get({ agentID: ID10.make("title") }).pipe(Effect.orElseSucceed(() => {
270
+ const agent = yield* ctx.agent.get({ agentID: ID13.make("title") }).pipe(Effect.orElseSucceed(() => {
271
271
  return;
272
272
  }));
273
273
  if (agent?.data.model)
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service66
3
- } from "./app-t4f7c3ht.js";
2
+ Service76
3
+ } from "./location-f4y3d2yt.js";
4
4
  import {
5
- Service86
6
- } from "./app-k483zyxw.js";
5
+ Service83
6
+ } from "./location-0fcqkqe0.js";
7
7
  import {
8
- Service65
9
- } from "./app-afwnmwkf.js";
8
+ Service75
9
+ } from "./location-mjye3rax.js";
10
10
  import {
11
11
  unavailable3
12
- } from "./app-rchz5kjx.js";
12
+ } from "./location-390xskpw.js";
13
13
  import {
14
- File3,
15
- Service76
16
- } from "./app-rhg1wx68.js";
14
+ File2,
15
+ Service56
16
+ } from "./location-cz3wcpwd.js";
17
17
  import {
18
18
  __export
19
- } from "./app-9rqn6x4v.js";
19
+ } from "./location-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin43
25
+ Plugin: () => Plugin18
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
31
31
  import path, { dirname, join } from "path";
32
32
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
33
33
  import { HttpClient, HttpClientRequest } from "effect/http";
34
- var Plugin43 = define({
34
+ var Plugin18 = define({
35
35
  id: "opencode.config.instruction",
36
36
  effect: Effect.fn(function* (ctx) {
37
- const discovery = yield* Service76;
37
+ const discovery = yield* Service56;
38
38
  yield* Effect.gen(function* () {
39
- const config = yield* Service65;
39
+ const config = yield* Service75;
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
42
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
43
- const location = yield* Service86;
44
- const watcher = yield* Service66;
43
+ const location = yield* Service83;
44
+ const watcher = yield* Service76;
45
45
  const changes = yield* PubSub.sliding(1);
46
46
  const watches = yield* FiberMap.make();
47
47
  const lock = Semaphore.makeUnsafe(1);
@@ -66,13 +66,13 @@ var Plugin43 = define({
66
66
  yield* updates.pipe(Stream.runForEach(publish), Effect.forkScoped({ startImmediately: true }));
67
67
  }
68
68
  const read = Effect.fn("ConfigInstructionPlugin.read")(function* (filepath) {
69
- return yield* fs.readFileString(filepath).pipe(Effect.map((content) => new File3({ path: filepath, content })), Effect.catchIf((error) => error.reason._tag === "NotFound" || FSUtil.isAccessDenied(error), (error) => Effect.logDebug("instruction file skipped", { path: filepath, reason: error.reason._tag }).pipe(Effect.as(error.reason._tag === "NotFound" ? undefined : "denied"))));
69
+ return yield* fs.readFileString(filepath).pipe(Effect.map((content) => new File2({ path: filepath, content })), Effect.catchIf((error) => error.reason._tag === "NotFound" || FSUtil.isAccessDenied(error), (error) => Effect.logDebug("instruction file skipped", { path: filepath, reason: error.reason._tag }).pipe(Effect.as(error.reason._tag === "NotFound" ? undefined : "denied"))));
70
70
  });
71
71
  const globalSource = Effect.fn("ConfigInstructionPlugin.globalSource")(function* () {
72
72
  if (!discovery.global || !(yield* fs.isFile(globalFile)))
73
73
  return [];
74
74
  const file = yield* read(globalFile);
75
- return file instanceof File3 ? [file] : [];
75
+ return file instanceof File2 ? [file] : [];
76
76
  });
77
77
  const projectSource = Effect.fn("ConfigInstructionPlugin.projectSource")(function* () {
78
78
  if (!project)
@@ -82,7 +82,7 @@ var Plugin43 = define({
82
82
  const files = yield* Effect.forEach(discovered, read, { concurrency: "unbounded" });
83
83
  if (files.some((file) => file === undefined))
84
84
  return unavailable3;
85
- return files.filter((file) => file instanceof File3);
85
+ return files.filter((file) => file instanceof File2);
86
86
  });
87
87
  const match = Effect.fn("ConfigInstructionPlugin.match")(function* (source) {
88
88
  const expanded = source.startsWith("~/") ? path.join(global.home, source.slice(2)) : source;
@@ -117,7 +117,7 @@ var Plugin43 = define({
117
117
  continue;
118
118
  watched.add(resolved);
119
119
  const file = yield* read(resolved);
120
- if (file instanceof File3)
120
+ if (file instanceof File2)
121
121
  files.push(file);
122
122
  }
123
123
  }
@@ -136,7 +136,7 @@ var Plugin43 = define({
136
136
  const reconfigure = Effect.fn("ConfigInstructionPlugin.reconfigure")(function* () {
137
137
  const entries = yield* config.entries();
138
138
  const sources = Array.from(new Set(entries.flatMap((entry) => entry.type === "document" ? entry.info.instructions ?? [] : [])));
139
- const fetched = yield* Effect.forEach(sources.filter(isUrl), (url) => HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.text), Effect.timeout("5 seconds"), Effect.map((content) => new File3({ path: url, content })), Effect.catchCause((cause) => Effect.logWarning("failed to fetch instruction url", { url, cause }).pipe(Effect.as(configured.remote.get(url))))), { concurrency: 4 });
139
+ const fetched = yield* Effect.forEach(sources.filter(isUrl), (url) => HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.text), Effect.timeout("5 seconds"), Effect.map((content) => new File2({ path: url, content })), Effect.catchCause((cause) => Effect.logWarning("failed to fetch instruction url", { url, cause }).pipe(Effect.as(configured.remote.get(url))))), { concurrency: 4 });
140
140
  configured.sources = sources;
141
141
  configured.remote = new Map(fetched.filter((file) => file !== undefined).map((file) => [file.path, file]));
142
142
  }, (effect) => lock.withPermit(effect));
@@ -180,4 +180,4 @@ function isUrl(source) {
180
180
  return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
181
181
  }
182
182
 
183
- export { Plugin43, exports_instruction };
183
+ export { Plugin18, exports_instruction };
@@ -3,18 +3,18 @@ import {
3
3
  short2,
4
4
  original2,
5
5
  description2
6
- } from "./app-gxs71cxp.js";
6
+ } from "./location-gxs71cxp.js";
7
7
  import {
8
8
  __export
9
- } from "./app-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/provider/claude-agent/tools/server.ts
12
12
  var exports_server = {};
13
13
  __export(exports_server, {
14
14
  ToolServer: () => exports_server,
15
- make: () => make13
15
+ make: () => make11
16
16
  });
17
- async function make13(tools, pending) {
17
+ async function make11(tools, pending) {
18
18
  const { Server } = await import("@modelcontextprotocol/server");
19
19
  const server = new Server({ name: "opencode", version: "1.0.0" }, { capabilities: { tools: {} } });
20
20
  const definitions = tools.map((tool) => ({
@@ -34,4 +34,4 @@ async function make13(tools, pending) {
34
34
  return { type: "sdk", name: "opencode", instance: server };
35
35
  }
36
36
 
37
- export { make13, exports_server };
37
+ export { make11, exports_server };
@@ -1,58 +1,58 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./app-svcy3p9a.js";
3
+ } from "./location-svcy3p9a.js";
4
4
  import {
5
5
  NonNegativeInt2
6
- } from "./app-z5v4ffb3.js";
6
+ } from "./location-z5v4ffb3.js";
7
7
  import {
8
- Service62
9
- } from "./app-9hqxgecf.js";
8
+ Service69
9
+ } from "./location-rz41xnze.js";
10
10
  import {
11
- Service47
12
- } from "./app-ndpzex15.js";
11
+ Service63
12
+ } from "./location-vkx30h9m.js";
13
13
  import {
14
- Service52
15
- } from "./app-hahgtam6.js";
14
+ Service70
15
+ } from "./location-zva2cc2v.js";
16
16
  import {
17
- Service15,
17
+ Service22,
18
18
  resolvePath2
19
- } from "./app-qczyd0hm.js";
19
+ } from "./location-s3571hbf.js";
20
20
  import {
21
21
  output2,
22
22
  notice2,
23
23
  metadata2,
24
24
  notification2
25
- } from "./app-89287pr7.js";
25
+ } from "./location-89287pr7.js";
26
26
  import {
27
- Service68,
27
+ Service67,
28
28
  name17
29
- } from "./app-t7wtafck.js";
29
+ } from "./location-671yt1fh.js";
30
30
  import {
31
- NotFoundError11,
32
- Service59
33
- } from "./app-nv2s17h7.js";
31
+ NotFoundError9,
32
+ Service65
33
+ } from "./location-3jcyqs0x.js";
34
34
  import {
35
- Service24
36
- } from "./app-w6adzdws.js";
35
+ Service31
36
+ } from "./location-2axvd6s3.js";
37
37
  import {
38
38
  scan3
39
- } from "./app-ydejkx0z.js";
39
+ } from "./location-n2tjkr8q.js";
40
40
  import {
41
41
  __export
42
- } from "./app-9rqn6x4v.js";
42
+ } from "./location-9rqn6x4v.js";
43
43
 
44
44
  // src/tool/plugin/shell.ts
45
- var exports_shell = {};
46
- __export(exports_shell, {
45
+ var exports_shell2 = {};
46
+ __export(exports_shell2, {
47
47
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
48
- Input: () => Input8,
49
- Plugin: () => Plugin28,
50
- ShellTool: () => exports_shell,
51
- name: () => name8
48
+ Input: () => Input9,
49
+ Plugin: () => Plugin47,
50
+ ShellTool: () => exports_shell2,
51
+ name: () => name9
52
52
  });
53
53
  import { ToolFailure } from "@opencode/ai/effect";
54
54
  import { Deferred, Effect, Schema, Scope } from "effect";
55
- var name8 = "shell";
55
+ var name9 = "shell";
56
56
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
57
57
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
58
58
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -66,7 +66,7 @@ var description = (shell) => [
66
66
  "Commands accept an optional timeout, background commands have no timeout by default.",
67
67
  "Background commands return immediately, and you will be notified when they complete."
68
68
  ].join(" ");
69
- var Input8 = Schema.Struct({
69
+ var Input9 = Schema.Struct({
70
70
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
71
71
  workdir: Schema.optionalKey(Schema.String).annotate({
72
72
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -112,18 +112,18 @@ Output is streaming to: ${file}`,
112
112
  truncated: false,
113
113
  status: "running"
114
114
  });
115
- var Plugin28 = {
115
+ var Plugin47 = {
116
116
  id: "opencode.tool.shell",
117
117
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
118
- const sessions = yield* Service24;
119
- const jobs = yield* Service47;
118
+ const sessions = yield* Service31;
119
+ const jobs = yield* Service63;
120
120
  const scope = yield* Scope.Scope;
121
- const environment = yield* Service62;
122
- const access = yield* Service15;
123
- const shell = yield* Service59;
124
- const shellSelect = yield* Service68;
121
+ const environment = yield* Service69;
122
+ const access = yield* Service22;
123
+ const shell = yield* Service65;
124
+ const shellSelect = yield* Service67;
125
125
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
126
- const permission = yield* Service52;
126
+ const permission = yield* Service70;
127
127
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
128
128
  const source = {
129
129
  type: "tool",
@@ -141,7 +141,7 @@ var Plugin28 = {
141
141
  yield* access.authorizeExternal([target, ...directories], context);
142
142
  if (parsed.commands.length > 0)
143
143
  yield* permission.assert({
144
- action: name8,
144
+ action: name9,
145
145
  resources: parsed.commands.map((command) => command.resource),
146
146
  save: parsed.commands.map((command) => command.save),
147
147
  sessionID: context.sessionID,
@@ -178,10 +178,10 @@ var Plugin28 = {
178
178
  yield* jobs.completeBackground(info.notificationID);
179
179
  }, Effect.forkIn(scope, { startImmediately: true }));
180
180
  yield* ctx.tool.transform((editor) => editor.add({
181
- name: name8,
181
+ name: name9,
182
182
  options: { codemode: false },
183
183
  description: description(),
184
- input: Input8,
184
+ input: Input9,
185
185
  output: Output,
186
186
  execute: (input, context) => Effect.gen(function* () {
187
187
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -204,7 +204,7 @@ var Plugin28 = {
204
204
  const run = Effect.gen(function* () {
205
205
  const result = yield* shell.result(info);
206
206
  if (!result.capture)
207
- return yield* new NotFoundError11({ id: info.id });
207
+ return yield* new NotFoundError9({ id: info.id });
208
208
  const output = output2(result);
209
209
  return {
210
210
  ...output,
@@ -218,7 +218,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
218
218
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
219
219
  const job = yield* jobs.start({
220
220
  id: info.id,
221
- type: name8,
221
+ type: name9,
222
222
  title: info.command,
223
223
  metadata: { sessionID: context.sessionID, shellID: info.id },
224
224
  recovery: {
@@ -248,7 +248,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
248
248
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
249
249
  })).pipe(Effect.orDie);
250
250
  const hook = (event) => Effect.gen(function* () {
251
- const tool = event.tools[name8];
251
+ const tool = event.tools[name9];
252
252
  if (!tool)
253
253
  return;
254
254
  tool.description = description(name17(yield* compatibleShell));
@@ -259,4 +259,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
259
259
  })
260
260
  };
261
261
 
262
- export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin28, exports_shell };
262
+ export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin47, exports_shell2 };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./app-0qdw55z7.js";
3
+ } from "./location-qqf3gkjm.js";
4
4
  import {
5
5
  Service89
6
- } from "./app-82fxv0dw.js";
6
+ } from "./location-rbnrb63z.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event20,
10
- Service84
11
- } from "./app-k8bdr0d0.js";
10
+ Service87
11
+ } from "./location-kh9rtkn7.js";
12
12
  import {
13
- ID18,
13
+ ID20,
14
14
  MethodID2
15
- } from "./app-gwz0wrrb.js";
15
+ } from "./location-629vq7qf.js";
16
16
  import {
17
17
  ID17,
18
18
  mergeOverlay2
19
- } from "./app-x2eb1s38.js";
19
+ } from "./location-c13b592v.js";
20
20
  import {
21
21
  ID16,
22
22
  VariantID2,
23
23
  Info24
24
- } from "./app-tkp5adq0.js";
24
+ } from "./location-z3deh3n3.js";
25
25
  import {
26
26
  success2,
27
27
  error2
28
- } from "./app-yb20nhc3.js";
28
+ } from "./location-yb20nhc3.js";
29
29
  import {
30
- get5
31
- } from "./app-3nnrz6f6.js";
30
+ get4
31
+ } from "./location-tmc7xdjs.js";
32
32
  import {
33
33
  configuredSettings2
34
- } from "./app-24sxtq8k.js";
34
+ } from "./location-5gfssad4.js";
35
35
 
36
36
  // src/plugin/provider/chatgpt.ts
37
37
  import { define } from "@opencode/plugin/effect/plugin";
@@ -44,7 +44,7 @@ var tokenURL = `${issuer}/api/accounts/oauth/token`;
44
44
  var resource = "https://api.openai.com/v1";
45
45
  var tokenSharingScope = "chatgpt.tokens.use.direct";
46
46
  var providerID = ID17.openai;
47
- var integrationID = ID18.make("openai");
47
+ var integrationID = ID20.make("openai");
48
48
  var methodID = MethodID2.make("chatgpt-token-sharing");
49
49
  var modelCacheKey = (clientID) => `models:${clientID}`;
50
50
  var fallbackModels = new Set([
@@ -182,7 +182,7 @@ var ChatGPTPlugin2 = define({
182
182
  id: "opencode.provider.chatgpt",
183
183
  effect: Effect.fn(function* (ctx) {
184
184
  const bus = yield* Service89;
185
- const credentials = yield* Service84;
185
+ const credentials = yield* Service87;
186
186
  const loading = Semaphore.makeUnsafe(1);
187
187
  let chatgpt;
188
188
  let source;
@@ -199,7 +199,7 @@ var ChatGPTPlugin2 = define({
199
199
  yield* ctx.integration.transform((editor) => {
200
200
  editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
201
201
  });
202
- yield* Effect.forEach(yield* credentials.list(ID18.make("openai")), (entry) => {
202
+ yield* Effect.forEach(yield* credentials.list(ID20.make("openai")), (entry) => {
203
203
  const value = entry.value;
204
204
  if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
205
205
  return Effect.void;
@@ -228,7 +228,7 @@ var ChatGPTPlugin2 = define({
228
228
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
229
229
  return;
230
230
  }));
231
- evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
231
+ evt.headers["session-id"] = session ? get4(session) : evt.sessionID;
232
232
  evt.headers["thread-id"] = evt.sessionID;
233
233
  evt.headers["x-client-request-id"] = evt.sessionID;
234
234
  }), { providerID });