@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,34 +1,34 @@
1
1
  import {
2
2
  Service89,
3
3
  node92
4
- } from "./app-82fxv0dw.js";
4
+ } from "./location-rbnrb63z.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./app-z5v4ffb3.js";
8
+ } from "./location-z5v4ffb3.js";
9
9
  import {
10
- Ref5,
11
- Service86,
12
- node89
13
- } from "./app-k483zyxw.js";
10
+ Ref4,
11
+ Service83,
12
+ node86
13
+ } from "./location-0fcqkqe0.js";
14
14
  import {
15
15
  __export
16
- } from "./app-9rqn6x4v.js";
16
+ } from "./location-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service58,
22
+ Service: () => Service27,
23
23
  define: () => define2,
24
24
  eventDefinition: () => eventDefinition2,
25
- node: () => node59
25
+ node: () => node30
26
26
  });
27
27
  import { define as define2 } from "@opencode/schema/rpc";
28
28
  import { Event } from "@opencode/schema/event";
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
30
30
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
31
- class Service58 extends Context.Service()("@opencode/Rpc") {
31
+ class Service27 extends Context.Service()("@opencode/Rpc") {
32
32
  }
33
33
 
34
34
  class DeclaredError extends Error {
@@ -40,10 +40,10 @@ class DeclaredError extends Error {
40
40
  this.data = data;
41
41
  }
42
42
  }
43
- var layer = Layer.effect(Service58, Effect.gen(function* () {
43
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
44
44
  const bus = yield* Service89;
45
- const location = yield* Service86;
46
- const ref = Ref5.make({ directory: location.directory, workspaceID: location.workspaceID });
45
+ const location = yield* Service83;
46
+ const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
47
47
  const closed = yield* Deferred.make();
48
48
  const callContext = {
49
49
  error: (type, message, data) => new DeclaredError(type, message, data)
@@ -119,19 +119,19 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
119
119
  const registered = events.get(name);
120
120
  if (!registered)
121
121
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
122
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service86, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service83, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
123
123
  }
124
124
  }
125
125
  };
126
126
  };
127
- return Service58.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
+ return Service27.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
128
128
  }));
129
- var node59 = makeLocationNode({ service: Service58, layer, deps: [node92, node89] });
129
+ var node30 = makeLocationNode({ service: Service27, layer, deps: [node92, node86] });
130
130
  var fields = {
131
131
  id: Event.ID,
132
132
  created: Schema.Finite,
133
133
  metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
134
- location: optional2(Ref5)
134
+ location: optional2(Ref4)
135
135
  };
136
136
  var EventData = Schema.Record(Schema.String, Schema.Unknown);
137
137
  var jsonSchemas = new WeakMap;
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service58, node59, eventDefinition2, exports_rpc, define2 };
213
+ export { Service27, node30, eventDefinition2, exports_rpc, define2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./app-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt2 = {};
7
7
  __export(exports_system_prompt2, {
8
8
  SessionSystemPrompt: () => exports_system_prompt2,
9
- make: () => make25,
9
+ make: () => make24,
10
10
  render: () => render3
11
11
  });
12
12
  // src/session/runner/prompt/system.txt
@@ -28,7 +28,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
28
28
  `;
29
29
 
30
30
  // src/session/system-prompt.ts
31
- function make25(tools) {
31
+ function make24(tools) {
32
32
  return render3(system_default, tools);
33
33
  }
34
34
  function render3(prompt, tools) {
@@ -46,4 +46,4 @@ function render3(prompt, tools) {
46
46
  `));
47
47
  }
48
48
 
49
- export { make25, render3, exports_system_prompt2 };
49
+ export { make24, render3, exports_system_prompt2 };
@@ -1,26 +1,26 @@
1
1
  import {
2
- make9
3
- } from "./app-26wfx3k0.js";
2
+ make6
3
+ } from "./location-9qqfewpb.js";
4
4
  import {
5
5
  original2
6
- } from "./app-gxs71cxp.js";
6
+ } from "./location-gxs71cxp.js";
7
7
  import {
8
- make11
9
- } from "./app-z080rjh6.js";
8
+ make5
9
+ } from "./location-1cdwtwnn.js";
10
10
  import {
11
11
  __export
12
- } from "./app-9rqn6x4v.js";
12
+ } from "./location-9rqn6x4v.js";
13
13
 
14
14
  // src/plugin/provider/claude-agent/language-model/convert-claude-stream.ts
15
15
  var exports_convert_claude_stream = {};
16
16
  __export(exports_convert_claude_stream, {
17
17
  ConvertClaudeStream: () => exports_convert_claude_stream,
18
- make: () => make8
18
+ make: () => make4
19
19
  });
20
20
  import { Provider } from "@opencode/schema/provider";
21
- function make8(tools) {
22
- const usage = make9();
23
- const failure = make11();
21
+ function make4(tools) {
22
+ const usage = make6();
23
+ const failure = make5();
24
24
  const streamed = new Set;
25
25
  const blocks = new Map;
26
26
  let messageID = "";
@@ -152,4 +152,4 @@ function make8(tools) {
152
152
  };
153
153
  }
154
154
 
155
- export { make8, exports_convert_claude_stream };
155
+ export { make4, exports_convert_claude_stream };
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service55
3
- } from "./app-3gqs30ps.js";
2
+ Service73
3
+ } from "./location-hpgfvtnm.js";
4
4
  import {
5
5
  Ref3,
6
- Service80
7
- } from "./app-tkp5adq0.js";
6
+ Service81
7
+ } from "./location-z3deh3n3.js";
8
8
  import {
9
9
  latest2,
10
- Service65
11
- } from "./app-afwnmwkf.js";
10
+ Service75
11
+ } from "./location-mjye3rax.js";
12
12
  import {
13
13
  SessionSchema2
14
- } from "./app-1njtx4es.js";
14
+ } from "./location-vnjc296t.js";
15
15
  import {
16
- Service47
17
- } from "./app-ndpzex15.js";
16
+ Service63
17
+ } from "./location-vkx30h9m.js";
18
18
  import {
19
19
  evaluate3,
20
- Service52
21
- } from "./app-hahgtam6.js";
20
+ Service70
21
+ } from "./location-zva2cc2v.js";
22
22
  import {
23
- Service24
24
- } from "./app-w6adzdws.js";
23
+ Service31
24
+ } from "./location-2axvd6s3.js";
25
25
  import {
26
26
  NO_TEXT2
27
- } from "./app-0j7gp832.js";
27
+ } from "./location-sqjzf8x2.js";
28
28
  import {
29
- Service11
30
- } from "./app-sch7yt7r.js";
29
+ Service10
30
+ } from "./location-bd27wa44.js";
31
31
  import {
32
32
  __export
33
- } from "./app-9rqn6x4v.js";
33
+ } from "./location-9rqn6x4v.js";
34
34
 
35
35
  // src/tool/plugin/subagent.ts
36
36
  var exports_subagent = {};
37
37
  __export(exports_subagent, {
38
- Input: () => Input11,
39
- Output: () => Output8,
40
- Plugin: () => Plugin32,
38
+ Input: () => Input5,
39
+ Output: () => Output3,
40
+ Plugin: () => Plugin43,
41
41
  SubagentTool: () => exports_subagent,
42
42
  description: () => description5,
43
- name: () => name11
43
+ name: () => name5
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai/effect";
46
46
  import { Effect, Predicate, Schema } from "effect";
47
- var name11 = "subagent";
47
+ var name5 = "subagent";
48
48
  var backgroundResult = (sessionID) => ({
49
49
  sessionID,
50
50
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input11 = Schema.Struct({
59
+ var Input5 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,7 +72,7 @@ var Input11 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output8 = Schema.Struct({
75
+ var Output3 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
@@ -86,16 +86,16 @@ var description5 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin32 = {
89
+ var Plugin43 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service24;
93
- const jobs = yield* Service47;
94
- const agents = yield* Service55;
95
- const config = yield* Service65;
96
- const permission = yield* Service52;
97
- const models = yield* Service80;
98
- const subagents = yield* Service11;
92
+ const sessions = yield* Service31;
93
+ const jobs = yield* Service63;
94
+ const agents = yield* Service73;
95
+ const config = yield* Service75;
96
+ const permission = yield* Service70;
97
+ const models = yield* Service81;
98
+ const subagents = yield* Service10;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref3.parse(input),
@@ -117,11 +117,11 @@ var Plugin32 = {
117
117
  return ref;
118
118
  });
119
119
  yield* ctx.tool.transform((editor) => editor.add({
120
- name: name11,
120
+ name: name5,
121
121
  options: { codemode: false },
122
122
  description: description5,
123
- input: Input11,
124
- output: Output8,
123
+ input: Input5,
124
+ output: Output3,
125
125
  execute: (input, context) => Effect.gen(function* () {
126
126
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
127
127
  let current = parent;
@@ -141,7 +141,7 @@ var Plugin32 = {
141
141
  if (agent.mode === "primary")
142
142
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
143
143
  yield* permission.assert({
144
- action: name11,
144
+ action: name5,
145
145
  resources: [agent.id],
146
146
  save: [agent.id],
147
147
  sessionID: context.sessionID,
@@ -220,7 +220,7 @@ ${output.output}
220
220
  })))
221
221
  })).pipe(Effect.orDie);
222
222
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
223
- if (event.tool !== name11 || !Predicate.isObject(event.input))
223
+ if (event.tool !== name5 || !Predicate.isObject(event.input))
224
224
  return;
225
225
  if (event.input.model !== "" && event.input.sessionID !== "")
226
226
  return;
@@ -232,13 +232,13 @@ ${output.output}
232
232
  event.input = input;
233
233
  }));
234
234
  const hook = (event) => Effect.gen(function* () {
235
- const tool = event.tools[name11];
235
+ const tool = event.tools[name5];
236
236
  if (!tool)
237
237
  return;
238
238
  const selected = yield* agents.resolve(event.agent);
239
239
  if (!selected)
240
240
  return;
241
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name11, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
241
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name5, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
242
242
  if (available.length === 0)
243
243
  return;
244
244
  tool.description = [
@@ -255,4 +255,4 @@ ${output.output}
255
255
  })
256
256
  };
257
257
 
258
- export { name11, Input11, Output8, description5, Plugin32, exports_subagent };
258
+ export { name5, Input5, Output3, description5, Plugin43, exports_subagent };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./app-qfa1cgps.js";
3
+ } from "./location-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  server2,
3
3
  headers2
4
- } from "./app-kt3bjfbg.js";
4
+ } from "./location-kt3bjfbg.js";
5
5
  import {
6
- ID18,
7
- Service82,
8
- node85
9
- } from "./app-gwz0wrrb.js";
6
+ ID20,
7
+ Service86,
8
+ node89
9
+ } from "./location-629vq7qf.js";
10
10
  import {
11
11
  __export
12
- } from "./app-9rqn6x4v.js";
12
+ } from "./location-9rqn6x4v.js";
13
13
 
14
14
  // src/usage-limits.ts
15
15
  var exports_usage_limits = {};
16
16
  __export(exports_usage_limits, {
17
- Info: () => Info3,
18
- Service: () => Service13,
17
+ Info: () => Info5,
18
+ Service: () => Service15,
19
19
  UnavailableError: () => UnavailableError2,
20
20
  UsageLimits: () => exports_usage_limits,
21
21
  layer: () => layer9,
22
- node: () => node15
22
+ node: () => node17
23
23
  });
24
24
  import { Model } from "@opencode/schema/model";
25
25
  import { Money } from "@opencode/schema/money";
@@ -29,20 +29,20 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { httpClient } from "@opencode/util/effect/app-node-platform";
30
30
  import { Context, Duration, Effect, Layer, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
32
- var Info3 = UsageLimits.Info;
32
+ var Info5 = UsageLimits.Info;
33
33
 
34
34
  class UnavailableError2 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
35
35
  message: Schema.String
36
36
  }) {
37
37
  }
38
38
 
39
- class Service13 extends Context.Service()("@opencode/UsageLimits") {
39
+ class Service15 extends Context.Service()("@opencode/UsageLimits") {
40
40
  }
41
- var layer9 = Layer.effect(Service13, Effect.gen(function* () {
42
- const integrations = yield* Service82;
41
+ var layer9 = Layer.effect(Service15, Effect.gen(function* () {
42
+ const integrations = yield* Service86;
43
43
  const http = yield* HttpClient.HttpClient;
44
44
  const get = Effect.fn("UsageLimits.get")(function* () {
45
- const connection = yield* integrations.connection.active(ID18.make("opencode"));
45
+ const connection = yield* integrations.connection.active(ID20.make("opencode"));
46
46
  if (!connection)
47
47
  return;
48
48
  const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError2({ message: error.message })));
@@ -66,12 +66,12 @@ var layer9 = Layer.effect(Service13, Effect.gen(function* () {
66
66
  budgets
67
67
  };
68
68
  });
69
- return Service13.of({ get });
69
+ return Service15.of({ get });
70
70
  }));
71
- var node15 = makeLocationNode({
72
- service: Service13,
71
+ var node17 = makeLocationNode({
72
+ service: Service15,
73
73
  layer: layer9,
74
- deps: [node85, httpClient]
74
+ deps: [node89, httpClient]
75
75
  });
76
76
  var ConsoleBudget = Schema.Struct({
77
77
  ruleID: Schema.String,
@@ -130,4 +130,4 @@ function meter(value) {
130
130
  return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
131
131
  }
132
132
 
133
- export { Info3, UnavailableError2, Service13, layer9, node15, exports_usage_limits };
133
+ export { Info5, UnavailableError2, Service15, layer9, node17, exports_usage_limits };
@@ -2,39 +2,39 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./app-z5v4ffb3.js";
5
+ } from "./location-z5v4ffb3.js";
6
6
  import {
7
- Service86,
8
- node89
9
- } from "./app-k483zyxw.js";
7
+ Service83,
8
+ node86
9
+ } from "./location-0fcqkqe0.js";
10
10
  import {
11
- Service50,
12
- node51
13
- } from "./app-3k6see7r.js";
11
+ Service52,
12
+ node54
13
+ } from "./location-tv15tdwr.js";
14
14
  import {
15
15
  __export
16
- } from "./app-9rqn6x4v.js";
16
+ } from "./location-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content4,
21
+ Content: () => Content3,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event6,
27
+ Event: () => Event9,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  Match: () => Match2,
33
- NotFoundError: () => NotFoundError6,
34
- Service: () => Service49,
33
+ NotFoundError: () => NotFoundError8,
34
+ Service: () => Service51,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
- node: () => node50
37
+ node: () => node53
38
38
  });
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import path from "path";
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
43
43
  import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
44
44
  import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
45
45
 
46
- class NotFoundError6 extends Schema.TaggedError()("FileSystem.NotFoundError", {
46
+ class NotFoundError8 extends Schema.TaggedError()("FileSystem.NotFoundError", {
47
47
  path: RelativePath2
48
48
  }) {
49
49
  }
@@ -65,7 +65,7 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
65
65
  return `Access denied to directory: ${this.directory}`;
66
66
  }
67
67
  }
68
- var Content4 = Schema.Struct({
68
+ var Content3 = Schema.Struct({
69
69
  uri: Schema.String,
70
70
  name: Schema.String.pipe(Schema.optional),
71
71
  content: Schema.String,
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
92
92
  limit: Schema.optionalKey(PositiveInt2)
93
93
  }) {
94
94
  }
95
- var Event6 = FileSystem.Event;
95
+ var Event9 = FileSystem.Event;
96
96
 
97
- class Service49 extends Context.Service()("@opencode/FileSystem") {
97
+ class Service51 extends Context.Service()("@opencode/FileSystem") {
98
98
  }
99
- var baseLayer = Layer.effect(Service49, Effect.gen(function* () {
99
+ var baseLayer = Layer.effect(Service51, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
- const location = yield* Service86;
102
- const search = yield* Service50;
101
+ const location = yield* Service83;
102
+ const search = yield* Service52;
103
103
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
104
104
  if (cause.reason._tag === "NotFound")
105
105
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service49, Effect.gen(function* () {
109
109
  }));
110
110
  const resolve = Effect.fnUntraced(function* (input) {
111
111
  if (input.includes("\x00"))
112
- return yield* Effect.fail(new NotFoundError6({ path: input }));
112
+ return yield* Effect.fail(new NotFoundError8({ path: input }));
113
113
  const absolute = path.resolve(location.directory, input);
114
114
  if (!FSUtil.contains(location.directory, absolute))
115
- return yield* Effect.fail(new NotFoundError6({ path: input }));
116
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input })), (_, error) => Effect.die(error)));
115
+ return yield* Effect.fail(new NotFoundError8({ path: input }));
116
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError8({ path: input })), (_, error) => Effect.die(error)));
117
117
  if (!FSUtil.contains(root, real))
118
- return yield* Effect.fail(new NotFoundError6({ path: input }));
118
+ return yield* Effect.fail(new NotFoundError8({ path: input }));
119
119
  return { absolute, real, directory: location.directory };
120
120
  });
121
- return Service49.of({
121
+ return Service51.of({
122
122
  find: search.find,
123
123
  read: Effect.fn("FileSystem.read")(function* (input) {
124
124
  const target = yield* resolve(input.path);
125
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
125
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError8({ path: input.path })), (_, error) => Effect.die(error)));
126
126
  if (info.type !== "File")
127
- return yield* Effect.fail(new NotFoundError6({ path: input.path }));
127
+ return yield* Effect.fail(new NotFoundError8({ path: input.path }));
128
128
  return {
129
129
  mime: FSUtil.mimeType(target.real),
130
130
  size: Number(info.size),
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service49, Effect.gen(function* () {
134
134
  }),
135
135
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
136
136
  const directory = path.resolve(location.directory, input.path ?? ".");
137
- const missing = new NotFoundError6({ path: RelativePath2.make(input.path ?? ".") });
137
+ const missing = new NotFoundError8({ path: RelativePath2.make(input.path ?? ".") });
138
138
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "Directory")
140
140
  return yield* missing;
@@ -159,10 +159,10 @@ var baseLayer = Layer.effect(Service49, Effect.gen(function* () {
159
159
  })
160
160
  });
161
161
  }));
162
- var node50 = makeLocationNode({
163
- service: Service49,
162
+ var node53 = makeLocationNode({
163
+ service: Service51,
164
164
  layer: baseLayer,
165
- deps: [FSUtil.node, node89, node51]
165
+ deps: [FSUtil.node, node86, node54]
166
166
  });
167
167
 
168
- export { FindInput2, Write2, NotFoundError6, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content4, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service49, node50, exports_filesystem, Entry2, Match2, Submatch2 };
168
+ export { FindInput2, Write2, NotFoundError8, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event9, Service51, node53, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./app-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection2 = {};
7
7
  __export(exports_connection2, {
8
8
  CredentialInfo: () => CredentialInfo2,
9
9
  EnvInfo: () => EnvInfo2,
10
- Info: () => Info27,
10
+ Info: () => Info30,
11
11
  IntegrationConnection: () => exports_connection2,
12
12
  Status: () => Status4,
13
13
  key: () => key2
@@ -15,7 +15,7 @@ __export(exports_connection2, {
15
15
  import { Connection } from "@opencode/schema/connection";
16
16
  var CredentialInfo2 = Connection.CredentialInfo;
17
17
  var EnvInfo2 = Connection.EnvInfo;
18
- var Info27 = Connection.Info;
18
+ var Info30 = Connection.Info;
19
19
  var Status4 = Connection.Status;
20
20
  function key2(connection) {
21
21
  if (!connection)
@@ -23,4 +23,4 @@ function key2(connection) {
23
23
  return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
24
24
  }
25
25
 
26
- export { CredentialInfo2, EnvInfo2, Info27, Status4, key2, exports_connection2 };
26
+ export { CredentialInfo2, EnvInfo2, Info30, Status4, key2, exports_connection2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./app-tczq8hjw.js";
3
+ } from "./location-tczq8hjw.js";
4
4
  import {
5
5
  create4
6
- } from "./app-40y6dtc2.js";
6
+ } from "./location-40y6dtc2.js";
7
7
  import {
8
8
  __export
9
- } from "./app-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/tool-output.ts
12
12
  var exports_tool_output2 = {};
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service61,
18
+ Service: () => Service68,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node62
21
+ node: () => node70
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service61 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service68 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service61, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
121
121
  yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
122
122
  return file;
123
123
  });
124
- return Service61.of({
124
+ return Service68.of({
125
125
  transform: state.transform,
126
126
  reload: state.reload,
127
127
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node62 = makeLocationNode({
143
- service: Service61,
142
+ var node70 = makeLocationNode({
143
+ service: Service68,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service61, node62, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service68, node70, exports_tool_output2 };