@opencode/core 0.0.0-dev-1018 → 0.0.0-dev-1021

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 (933) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +94 -94
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +252 -252
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{location-services-ppay2prz.js → variant-00qs8ms4.js} +7 -7
  9. package/dist/chunks/{location-services-c348qrfn.js → variant-01hyf2gm.js} +10 -10
  10. package/dist/chunks/{location-services-dzvgyemd.js → variant-02gada8r.js} +14 -14
  11. package/dist/chunks/{location-services-034tev2y.js → variant-034tev2y.js} +2 -2
  12. package/dist/chunks/{location-services-vw0tjj1n.js → variant-04s3xj52.js} +5 -5
  13. package/dist/chunks/{location-services-rjg4ptcj.js → variant-04tv7frf.js} +9 -9
  14. package/dist/chunks/{location-services-t872w7xh.js → variant-06xv1d3c.js} +3 -3
  15. package/dist/chunks/{location-services-g18g3d01.js → variant-0a9c3z02.js} +26 -26
  16. package/dist/chunks/{location-services-7xf080vp.js → variant-0c0dmfvk.js} +34 -34
  17. package/dist/chunks/{location-services-19y9ca77.js → variant-0gv8v8qp.js} +12 -12
  18. package/dist/chunks/{location-services-0ma9gw4f.js → variant-0ma9gw4f.js} +2 -2
  19. package/dist/chunks/{location-services-0php2d2a.js → variant-0php2d2a.js} +4 -4
  20. package/dist/chunks/{location-services-7yn9f8h5.js → variant-11z3y5m4.js} +11 -11
  21. package/dist/chunks/{location-services-ca7nh339.js → variant-15cn84bc.js} +11 -11
  22. package/dist/chunks/variant-1694ca0t.js +273 -0
  23. package/dist/chunks/{location-services-qnsd7j7p.js → variant-16nbjf0j.js} +31 -31
  24. package/dist/chunks/{location-services-j1hxdwg7.js → variant-1am7fc68.js} +13 -13
  25. package/dist/chunks/{location-services-1aqsckx4.js → variant-1aqsckx4.js} +1 -1
  26. package/dist/chunks/{location-services-ks3nrd9n.js → variant-1c4cg8g5.js} +15 -15
  27. package/dist/chunks/{location-services-fw8b407a.js → variant-1d309avm.js} +24 -24
  28. package/dist/chunks/{location-services-1ep2p91f.js → variant-1ep2p91f.js} +2 -2
  29. package/dist/chunks/{location-services-2zdv0xg6.js → variant-1jsbehcm.js} +11 -11
  30. package/dist/chunks/{location-services-7gg9f32q.js → variant-1rmm5tby.js} +43 -43
  31. package/dist/chunks/{location-services-ybws1qgk.js → variant-1v2g13eq.js} +4 -4
  32. package/dist/chunks/{location-services-75ebkg3j.js → variant-1vhtnv1t.js} +196 -196
  33. package/dist/chunks/{location-services-1x2knyw4.js → variant-1x2knyw4.js} +1 -1
  34. package/dist/chunks/{location-services-1yq9hg58.js → variant-1yq9hg58.js} +1 -1
  35. package/dist/chunks/{location-services-1rfapbvb.js → variant-21ad2p8c.js} +13 -13
  36. package/dist/chunks/{location-services-25h84942.js → variant-25h84942.js} +1 -1
  37. package/dist/chunks/{location-services-5j68pf7y.js → variant-2f6xwkke.js} +17 -17
  38. package/dist/chunks/{location-services-2fc7eemy.js → variant-2fc7eemy.js} +1 -1
  39. package/dist/chunks/{location-services-vyy9a248.js → variant-2jbtsx7f.js} +10 -10
  40. package/dist/chunks/{location-services-9q8g9sv8.js → variant-2kg89srt.js} +4 -4
  41. package/dist/chunks/{location-services-s1ba0vj0.js → variant-2p60zmnr.js} +2 -2
  42. package/dist/chunks/{location-services-y0rmysmd.js → variant-2q8hd4zx.js} +18 -18
  43. package/dist/chunks/{location-services-gwyytpcj.js → variant-2s9mae96.js} +6 -6
  44. package/dist/chunks/{location-services-g8vy647v.js → variant-37yb2w81.js} +41 -41
  45. package/dist/chunks/{location-services-04whjz6n.js → variant-3adw4bt5.js} +9 -9
  46. package/dist/chunks/{location-services-4qvkk0dz.js → variant-3dg2f2kn.js} +6 -6
  47. package/dist/chunks/{location-services-e36d7ha4.js → variant-3dqat21d.js} +8 -8
  48. package/dist/chunks/{location-services-0z8g566h.js → variant-3f5hge4z.js} +11 -11
  49. package/dist/chunks/{location-services-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{location-services-g3x8pyyq.js → variant-3kmgnts2.js} +3 -3
  51. package/dist/chunks/{location-services-3g6amnkk.js → variant-3m120mf8.js} +1 -1
  52. package/dist/chunks/{location-services-3nnrz6f6.js → variant-3nnrz6f6.js} +1 -1
  53. package/dist/chunks/{location-services-zjrfncxe.js → variant-3ns607qw.js} +77 -77
  54. package/dist/chunks/{location-services-18b1hh0p.js → variant-3qevzq3v.js} +11 -11
  55. package/dist/chunks/{location-services-br0kkpnn.js → variant-3ryz99p0.js} +7 -7
  56. package/dist/chunks/{location-services-0t4nwps0.js → variant-3s6tjk9w.js} +4 -4
  57. package/dist/chunks/{location-services-j668sn39.js → variant-3y2xxsbq.js} +17 -17
  58. package/dist/chunks/{location-services-40y6dtc2.js → variant-40y6dtc2.js} +1 -1
  59. package/dist/chunks/{location-services-40za9wsf.js → variant-40za9wsf.js} +2 -2
  60. package/dist/chunks/{location-services-jxd6f16v.js → variant-44pmzq9c.js} +2 -2
  61. package/dist/chunks/{location-services-xznh71wt.js → variant-44t04hen.js} +43 -43
  62. package/dist/chunks/{location-services-kj76qnrb.js → variant-4670jfw2.js} +2 -2
  63. package/dist/chunks/{location-services-ccp6j38y.js → variant-487rztgh.js} +8 -8
  64. package/dist/chunks/{location-services-m764bqcb.js → variant-49y6ybtx.js} +14 -14
  65. package/dist/chunks/{location-services-8ksznzzn.js → variant-4avvagxm.js} +13 -13
  66. package/dist/chunks/{location-services-9mzt2h69.js → variant-4c6nxctq.js} +17 -17
  67. package/dist/chunks/{location-services-4dx1dgte.js → variant-4dx1dgte.js} +1 -1
  68. package/dist/chunks/{location-services-4f25tdd0.js → variant-4f25tdd0.js} +1 -1
  69. package/dist/chunks/{location-services-qs2j0e81.js → variant-4kb2rb9z.js} +3 -3
  70. package/dist/chunks/{location-services-4pyp9zr9.js → variant-4pyp9zr9.js} +1 -1
  71. package/dist/chunks/{location-services-4v008n1t.js → variant-4v008n1t.js} +1 -1
  72. package/dist/chunks/{location-services-zczb3ahd.js → variant-4wc7zfb5.js} +13 -13
  73. package/dist/chunks/{location-services-11m1jm16.js → variant-4yee01q8.js} +11 -11
  74. package/dist/chunks/{location-services-yfmjk2nz.js → variant-52k06fgh.js} +10 -10
  75. package/dist/chunks/{location-services-k8ezxhnc.js → variant-52x6f109.js} +4 -4
  76. package/dist/chunks/{location-services-m752f6cs.js → variant-56ap4002.js} +25 -25
  77. package/dist/chunks/{location-services-fyfzbt3s.js → variant-58072hz9.js} +2 -2
  78. package/dist/chunks/{location-services-4mqvkt3j.js → variant-5dyprbjy.js} +27 -27
  79. package/dist/chunks/{location-services-kj3m9s0k.js → variant-5hvecwch.js} +8 -8
  80. package/dist/chunks/{location-services-rgs6xe9s.js → variant-5kw4vp5v.js} +7 -7
  81. package/dist/chunks/{location-services-5m9w47nd.js → variant-5m9w47nd.js} +1 -1
  82. package/dist/chunks/{location-services-5whx36p1.js → variant-5whx36p1.js} +1 -1
  83. package/dist/chunks/{location-services-kf574bvz.js → variant-5y684b8m.js} +10 -10
  84. package/dist/chunks/{location-services-sx0w8rs7.js → variant-5z9wyjq2.js} +12 -12
  85. package/dist/chunks/{location-services-h0qxp3tm.js → variant-643xh5xb.js} +49 -49
  86. package/dist/chunks/{location-services-xksw6ev0.js → variant-67wwskyb.js} +4 -4
  87. package/dist/chunks/{location-services-rn1qbw8h.js → variant-6brtbz4q.js} +9 -9
  88. package/dist/chunks/{location-services-vt4r9rmy.js → variant-6h8vcvjm.js} +9 -9
  89. package/dist/chunks/{location-services-3ee1s2ra.js → variant-6ktfbj0j.js} +6 -6
  90. package/dist/chunks/{location-services-ejpxyj8k.js → variant-6kyk0q73.js} +11 -11
  91. package/dist/chunks/{location-services-n1dex2d7.js → variant-6sa2nc3c.js} +8 -8
  92. package/dist/chunks/{location-services-nxqh83cm.js → variant-759gfxk1.js} +27 -27
  93. package/dist/chunks/{location-services-bvtd3b63.js → variant-779kvspc.js} +18 -18
  94. package/dist/chunks/{location-services-78p2h4ex.js → variant-78p2h4ex.js} +2 -2
  95. package/dist/chunks/{location-services-6y2b864j.js → variant-79k544d0.js} +7 -7
  96. package/dist/chunks/{location-services-ek05gm53.js → variant-7a9n7fqw.js} +33 -33
  97. package/dist/chunks/{location-services-hm74t5nv.js → variant-7af8vm84.js} +3 -3
  98. package/dist/chunks/{location-services-p7qcaf5b.js → variant-7any9j1d.js} +11 -11
  99. package/dist/chunks/{location-services-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
  100. package/dist/chunks/{location-services-ghckvrg0.js → variant-7ge0yknw.js} +28 -28
  101. package/dist/chunks/{location-services-y66q23bf.js → variant-7gv1pznk.js} +15 -15
  102. package/dist/chunks/{location-services-c9bjbb3k.js → variant-7mkpy6cz.js} +19 -19
  103. package/dist/chunks/{location-services-57hexvt2.js → variant-7q7qky4b.js} +24 -24
  104. package/dist/chunks/{location-services-2sk6hk3v.js → variant-7s9npmvw.js} +32 -32
  105. package/dist/chunks/{location-services-f3kdy67z.js → variant-7tn0bx3w.js} +26 -26
  106. package/dist/chunks/{location-services-95ch3ng8.js → variant-7vmd1mc2.js} +27 -27
  107. package/dist/chunks/{location-services-7w2ypzdf.js → variant-7w2ypzdf.js} +1 -1
  108. package/dist/chunks/{location-services-7weczvnd.js → variant-7weczvnd.js} +1 -1
  109. package/dist/chunks/{location-services-80mg3ag8.js → variant-80mg3ag8.js} +3 -3
  110. package/dist/chunks/{location-services-80pdk984.js → variant-80pdk984.js} +1 -1
  111. package/dist/chunks/{location-services-85jq8dht.js → variant-85jq8dht.js} +1 -1
  112. package/dist/chunks/{location-services-24han2b5.js → variant-8b3n411w.js} +50 -50
  113. package/dist/chunks/{location-services-yrpsd8ep.js → variant-8ej67rtx.js} +12 -12
  114. package/dist/chunks/{location-services-hx42m0sk.js → variant-8g12redv.js} +44 -41
  115. package/dist/chunks/{location-services-vh9vtdzr.js → variant-8gy3cmhk.js} +11 -11
  116. package/dist/chunks/{location-services-e4xndj1f.js → variant-8sq7ektf.js} +24 -24
  117. package/dist/chunks/{location-services-8sxe6kv8.js → variant-8sxe6kv8.js} +2 -2
  118. package/dist/chunks/{location-services-8wtp7s3z.js → variant-8wtp7s3z.js} +1 -1
  119. package/dist/chunks/{location-services-8zv0xmg5.js → variant-8zv0xmg5.js} +1 -1
  120. package/dist/chunks/{location-services-38aws4xb.js → variant-90ct6wq4.js} +4 -4
  121. package/dist/chunks/{location-services-rn6817b0.js → variant-963hk181.js} +9 -9
  122. package/dist/chunks/{location-services-4c0app9d.js → variant-97z795ms.js} +5 -5
  123. package/dist/chunks/{location-services-266325jp.js → variant-995escff.js} +8 -8
  124. package/dist/chunks/{location-services-q2ggqmww.js → variant-99whw8jg.js} +25 -25
  125. package/dist/chunks/{location-services-wbwnvjw7.js → variant-9b7hkytf.js} +38 -38
  126. package/dist/chunks/{location-services-v6fxhkcf.js → variant-9kf7qp9k.js} +7 -7
  127. package/dist/chunks/{location-services-xxdnanm7.js → variant-9mcq8csv.js} +24 -20
  128. package/dist/chunks/{location-services-dhwvc2jt.js → variant-9payxpaq.js} +5 -5
  129. package/dist/chunks/{location-services-zaa1z54d.js → variant-9wts7ac9.js} +30 -30
  130. package/dist/chunks/{location-services-br8ehxr1.js → variant-a0tdhhqr.js} +21 -21
  131. package/dist/chunks/{location-services-dzxny3rz.js → variant-a7d1yfqq.js} +5 -5
  132. package/dist/chunks/{location-services-t5tk8b81.js → variant-ad3pbwbn.js} +10 -10
  133. package/dist/chunks/{location-services-r17fbvme.js → variant-aenn6vam.js} +5 -5
  134. package/dist/chunks/{location-services-55dthnq9.js → variant-ahenw0f4.js} +12 -12
  135. package/dist/chunks/{location-services-h4b4ad4n.js → variant-ajd6ze1b.js} +27 -27
  136. package/dist/chunks/{location-services-apncw8nq.js → variant-apf9pp70.js} +5 -5
  137. package/dist/chunks/{location-services-08j34ytv.js → variant-aq51bn07.js} +17 -17
  138. package/dist/chunks/{location-services-2jvs10sm.js → variant-ar2188r0.js} +5 -5
  139. package/dist/chunks/{location-services-krc440de.js → variant-arvxeg2k.js} +30 -30
  140. package/dist/chunks/{location-services-ayjs7tqn.js → variant-ayjs7tqn.js} +2 -2
  141. package/dist/chunks/{location-services-nswamck1.js → variant-b15dw3t3.js} +10 -10
  142. package/dist/chunks/variant-b1bdn9ww.js +18 -0
  143. package/dist/chunks/{location-services-g4txs7zc.js → variant-b26ddj6h.js} +4 -4
  144. package/dist/chunks/{location-services-g5gdmhh6.js → variant-ba524eff.js} +18 -18
  145. package/dist/chunks/{location-services-9rqhy0gk.js → variant-bb3pv0r8.js} +5 -5
  146. package/dist/chunks/{location-services-bhfd478d.js → variant-bhfd478d.js} +1 -1
  147. package/dist/chunks/{location-services-my1apsf8.js → variant-bq5mnsak.js} +18 -18
  148. package/dist/chunks/{location-services-gq4r58bj.js → variant-brhq0xss.js} +9 -9
  149. package/dist/chunks/{location-services-94e33dpz.js → variant-brzehw6d.js} +3 -3
  150. package/dist/chunks/{location-services-bstexjd6.js → variant-bstexjd6.js} +1 -1
  151. package/dist/chunks/{location-services-96pyep5q.js → variant-bv6ncay4.js} +6 -6
  152. package/dist/chunks/{location-services-wxtac8m4.js → variant-bw5737rp.js} +20 -20
  153. package/dist/chunks/{location-services-z6qjrsxc.js → variant-bx42851a.js} +13 -13
  154. package/dist/chunks/{location-services-g2nd8s5g.js → variant-byn2k991.js} +6 -6
  155. package/dist/chunks/{location-services-43dkd884.js → variant-bzsj5hp1.js} +4 -4
  156. package/dist/chunks/{location-services-h1bq840x.js → variant-c1j8jf0s.js} +76 -49
  157. package/dist/chunks/{location-services-sbk1er59.js → variant-c1mpywrn.js} +15 -15
  158. package/dist/chunks/{location-services-9589yjf4.js → variant-c47pgt4g.js} +6 -6
  159. package/dist/chunks/{location-services-wy2y7272.js → variant-c5kjsz6q.js} +4 -4
  160. package/dist/chunks/{location-services-wt99tj4q.js → variant-c7cw818c.js} +5 -5
  161. package/dist/chunks/{location-services-wrtnm9rp.js → variant-c8erkcr0.js} +35 -35
  162. package/dist/chunks/{location-services-3yq8hmjy.js → variant-cdcxceaq.js} +9 -9
  163. package/dist/chunks/{location-services-ppv0q14k.js → variant-cdgnj81e.js} +20 -20
  164. package/dist/chunks/{location-services-55p921qz.js → variant-chnshf5d.js} +7 -7
  165. package/dist/chunks/{location-services-qxd8xqpm.js → variant-cmw3d6cw.js} +5 -5
  166. package/dist/chunks/{location-services-ewwxda2t.js → variant-cnh7rm97.js} +5 -5
  167. package/dist/chunks/{location-services-ej1mycq3.js → variant-crz2v0cr.js} +14 -14
  168. package/dist/chunks/{location-services-e4a27gkz.js → variant-ctactnja.js} +20 -20
  169. package/dist/chunks/{location-services-cwrgdav8.js → variant-cwrgdav8.js} +2 -2
  170. package/dist/chunks/{location-services-wp5pv6d7.js → variant-cxab8yc4.js} +24 -24
  171. package/dist/chunks/{location-services-7pmvrtj8.js → variant-cxcw0y8k.js} +16 -16
  172. package/dist/chunks/{location-services-dn27waz6.js → variant-d1y3tfe5.js} +33 -33
  173. package/dist/chunks/{location-services-aaybcdk7.js → variant-d390zwf3.js} +11 -11
  174. package/dist/chunks/{location-services-d4v9tmah.js → variant-d4v9tmah.js} +2 -2
  175. package/dist/chunks/{location-services-grhec5r6.js → variant-d62z5e6p.js} +34 -34
  176. package/dist/chunks/{location-services-m8zx2yvr.js → variant-d6yg13b8.js} +3 -3
  177. package/dist/chunks/{location-services-567596kv.js → variant-d8nqa1rn.js} +24 -24
  178. package/dist/chunks/{location-services-8qm44xvf.js → variant-dbgstt96.js} +18 -18
  179. package/dist/chunks/{location-services-tx91wa5k.js → variant-ddwaa558.js} +4 -4
  180. package/dist/chunks/{location-services-v3s4bj3j.js → variant-dfnt32pr.js} +6 -6
  181. package/dist/chunks/{location-services-68hs0k9s.js → variant-dhg17ma1.js} +31 -31
  182. package/dist/chunks/{location-services-w70mdzqv.js → variant-dmhmrkhb.js} +14 -14
  183. package/dist/chunks/{location-services-c9zsax4s.js → variant-dqctngfx.js} +19 -19
  184. package/dist/chunks/{location-services-dt77769w.js → variant-dt77769w.js} +1 -1
  185. package/dist/chunks/{location-services-539dw32x.js → variant-dvnqv6yn.js} +4 -4
  186. package/dist/chunks/variant-dwwbp54y.js +26 -0
  187. package/dist/chunks/{location-services-8rhxnahr.js → variant-dxms3va4.js} +8 -8
  188. package/dist/chunks/{location-services-1w10j92s.js → variant-dyx9m1dy.js} +15 -15
  189. package/dist/chunks/{location-services-7dntc97d.js → variant-e6mkcg3j.js} +8 -8
  190. package/dist/chunks/{location-services-y1vxsnye.js → variant-eb68pf5c.js} +35 -34
  191. package/dist/chunks/{location-services-fwzf50ze.js → variant-edbzgde2.js} +59 -59
  192. package/dist/chunks/{location-services-eqw4pqj1.js → variant-eqw4pqj1.js} +2 -2
  193. package/dist/chunks/{location-services-fxjk1bjs.js → variant-er2pxdar.js} +36 -36
  194. package/dist/chunks/{location-services-b5ptbrza.js → variant-erzx9h8s.js} +13 -13
  195. package/dist/chunks/{location-services-q4e77hz1.js → variant-eswxnkqs.js} +19 -19
  196. package/dist/chunks/{location-services-8n666mwk.js → variant-ettw2t59.js} +8 -8
  197. package/dist/chunks/{location-services-q708e1j4.js → variant-etw227xb.js} +29 -29
  198. package/dist/chunks/{location-services-y7n6mfpt.js → variant-ezbcwp3x.js} +64 -64
  199. package/dist/chunks/{location-services-z1gwm4ht.js → variant-f4e0rj8k.js} +18 -18
  200. package/dist/chunks/{location-services-etwnht5y.js → variant-fcqnpkk0.js} +31 -31
  201. package/dist/chunks/{location-services-tes7x7rh.js → variant-ff10y0vt.js} +50 -50
  202. package/dist/chunks/{location-services-fg9p65nk.js → variant-fg9p65nk.js} +2 -2
  203. package/dist/chunks/{location-services-p32hhzbk.js → variant-fnrfxqv9.js} +4 -4
  204. package/dist/chunks/{location-services-8zknyrh4.js → variant-g2z770v4.js} +10 -10
  205. package/dist/chunks/{location-services-gbjdnr5j.js → variant-gbjdnr5j.js} +2 -2
  206. package/dist/chunks/{location-services-3wy79f45.js → variant-gc6rk9wr.js} +4 -4
  207. package/dist/chunks/{location-services-cpyfbe5h.js → variant-ghqr7vsg.js} +32 -32
  208. package/dist/chunks/{location-services-26wfx3k0.js → variant-gmemj5zs.js} +4 -4
  209. package/dist/chunks/{location-services-gxs71cxp.js → variant-gxs71cxp.js} +1 -1
  210. package/dist/chunks/{location-services-0mp8jrhf.js → variant-gy0mrysv.js} +43 -43
  211. package/dist/chunks/{location-services-kem0mawp.js → variant-h7skh1rs.js} +1 -1
  212. package/dist/chunks/{location-services-wjw9jc70.js → variant-hch6nnwn.js} +5 -5
  213. package/dist/chunks/{location-services-hgzwgvze.js → variant-hgzwgvze.js} +2 -2
  214. package/dist/chunks/{location-services-przvah75.js → variant-hhftq43c.js} +22 -22
  215. package/dist/chunks/{location-services-jnq8ctsk.js → variant-hyb6z04w.js} +11 -11
  216. package/dist/chunks/{location-services-vwf14hkv.js → variant-hzx6xeyy.js} +3 -3
  217. package/dist/chunks/{location-services-7hgnn06b.js → variant-j1rxep1x.js} +9 -9
  218. package/dist/chunks/{location-services-d69g7qpe.js → variant-j5hnx331.js} +41 -41
  219. package/dist/chunks/{location-services-0hqdgkh5.js → variant-j6c1cnm6.js} +2 -2
  220. package/dist/chunks/{location-services-jm70asfg.js → variant-jm70asfg.js} +1 -1
  221. package/dist/chunks/{location-services-tzcbr6cy.js → variant-jwsqwh3k.js} +11 -11
  222. package/dist/chunks/{location-services-ha0ssc2n.js → variant-jzacnq6b.js} +8 -8
  223. package/dist/chunks/{location-services-6wjndty1.js → variant-k0dmc88w.js} +20 -20
  224. package/dist/chunks/{location-services-grvjd2tp.js → variant-k17acsj6.js} +32 -32
  225. package/dist/chunks/{location-services-nm9w8qa9.js → variant-k8zvk9yk.js} +1 -1
  226. package/dist/chunks/{location-services-wjhreaqv.js → variant-kbwwped5.js} +4 -4
  227. package/dist/chunks/{location-services-hy8c1z76.js → variant-kmzgegqq.js} +8 -8
  228. package/dist/chunks/{location-services-jjzwh8sv.js → variant-kskf6ts6.js} +12 -12
  229. package/dist/chunks/{location-services-kt3bjfbg.js → variant-kt3bjfbg.js} +1 -1
  230. package/dist/chunks/{location-services-qrwn5q0j.js → variant-ktrxwwt4.js} +4 -4
  231. package/dist/chunks/{location-services-95ag31st.js → variant-kw2jghpk.js} +13 -13
  232. package/dist/chunks/{location-services-9sw2rrc1.js → variant-kw6rtbr7.js} +5 -5
  233. package/dist/chunks/{location-services-kzczzf4v.js → variant-kzczzf4v.js} +1 -1
  234. package/dist/chunks/{location-services-2kyj86a2.js → variant-m0eanzg9.js} +39 -39
  235. package/dist/chunks/{location-services-m1714858.js → variant-m1714858.js} +1 -1
  236. package/dist/chunks/{location-services-azn13hyn.js → variant-m391qmzq.js} +12 -12
  237. package/dist/chunks/{location-services-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
  238. package/dist/chunks/{location-services-mb7mbhnz.js → variant-mb7mbhnz.js} +3 -3
  239. package/dist/chunks/{location-services-532aw9k5.js → variant-mjx8bvya.js} +2 -2
  240. package/dist/chunks/{location-services-q1zyq82t.js → variant-mkcyn2me.js} +16 -16
  241. package/dist/chunks/{location-services-xqcc833w.js → variant-mm99kr92.js} +50 -50
  242. package/dist/chunks/{location-services-qthpjem4.js → variant-mn5w4svc.js} +15 -15
  243. package/dist/chunks/{location-services-spge2s6b.js → variant-n0tajg5c.js} +20 -20
  244. package/dist/chunks/{location-services-1z3p9jpq.js → variant-n1bjqkdd.js} +36 -36
  245. package/dist/chunks/{location-services-n3j33rb6.js → variant-n3j33rb6.js} +1 -1
  246. package/dist/chunks/{location-services-7y58fzyq.js → variant-n4vbm4w1.js} +8 -8
  247. package/dist/chunks/{location-services-p8hhbr1v.js → variant-n6psmdwt.js} +28 -28
  248. package/dist/chunks/{location-services-942rfr41.js → variant-nma2f0f2.js} +9 -9
  249. package/dist/chunks/{location-services-93xmyh8q.js → variant-nn2nd58t.js} +5 -5
  250. package/dist/chunks/{location-services-fyx96w05.js → variant-nsw81j72.js} +26 -26
  251. package/dist/chunks/{location-services-anxm212y.js → variant-ntz62w7c.js} +82 -82
  252. package/dist/chunks/{location-services-rhnttm5v.js → variant-nvf1ct64.js} +39 -39
  253. package/dist/chunks/{location-services-gyv4b0r8.js → variant-nxptjga0.js} +7 -7
  254. package/dist/chunks/{location-services-crvpqcw1.js → variant-p0vxt2nw.js} +32 -32
  255. package/dist/chunks/{location-services-t7htycx0.js → variant-p5gq72qy.js} +13 -13
  256. package/dist/chunks/{location-services-0ac2k0jg.js → variant-pfearfp1.js} +17 -17
  257. package/dist/chunks/{location-services-8e7ggcjp.js → variant-pgr3qzjp.js} +12 -12
  258. package/dist/chunks/{location-services-pknna89w.js → variant-pknna89w.js} +1 -1
  259. package/dist/chunks/{location-services-4c7e6jzd.js → variant-pvgq2xjz.js} +6 -6
  260. package/dist/chunks/{location-services-9db2vg26.js → variant-pxc8jhfc.js} +37 -37
  261. package/dist/chunks/{location-services-9mmamjmw.js → variant-pxeahsk4.js} +39 -39
  262. package/dist/chunks/{location-services-47k3myws.js → variant-pysr0f89.js} +86 -86
  263. package/dist/chunks/{location-services-q42tzrxa.js → variant-q42tzrxa.js} +1 -1
  264. package/dist/chunks/{location-services-4n202ep1.js → variant-q8x7vnpn.js} +26 -26
  265. package/dist/chunks/{location-services-8crbrjbr.js → variant-qb22wwfd.js} +28 -28
  266. package/dist/chunks/{location-services-kj9n5bvh.js → variant-qfz6bxfd.js} +4 -4
  267. package/dist/chunks/{location-services-v24zwr61.js → variant-qkzfcznx.js} +20 -20
  268. package/dist/chunks/{location-services-qp7r0hxv.js → variant-qp7r0hxv.js} +1 -1
  269. package/dist/chunks/{location-services-770fvbnk.js → variant-qrj1hpgy.js} +17 -17
  270. package/dist/chunks/{location-services-wfdx5ztx.js → variant-qsdghx1p.js} +4 -4
  271. package/dist/chunks/{location-services-dnb086dv.js → variant-qtc7p051.js} +28 -28
  272. package/dist/chunks/{location-services-h2zn2r51.js → variant-qy1ykcpg.js} +4 -4
  273. package/dist/chunks/{location-services-sqqp85ca.js → variant-r0s9nwyy.js} +12 -12
  274. package/dist/chunks/{location-services-v6k8h06f.js → variant-r4ww1zt6.js} +19 -19
  275. package/dist/chunks/{location-services-4nzmwxgf.js → variant-r7qmt8hm.js} +3 -3
  276. package/dist/chunks/{location-services-rb9dy4dg.js → variant-rb9dy4dg.js} +1 -1
  277. package/dist/chunks/{location-services-rgc9cx3e.js → variant-rgc9cx3e.js} +2 -2
  278. package/dist/chunks/{location-services-z8qvzaw8.js → variant-rpjrr4cf.js} +24 -24
  279. package/dist/chunks/{location-services-gncemv6d.js → variant-rra48y3g.js} +8 -8
  280. package/dist/chunks/{location-services-rt5dr6hb.js → variant-rt5dr6hb.js} +1 -1
  281. package/dist/chunks/{location-services-6pyp58fx.js → variant-rt83ywa3.js} +15 -15
  282. package/dist/chunks/{location-services-7peaj6gv.js → variant-rzyb9n9w.js} +22 -22
  283. package/dist/chunks/{location-services-b7xf5rs7.js → variant-s0zgwzsf.js} +21 -21
  284. package/dist/chunks/{location-services-8cx4xjy0.js → variant-s12ty5y8.js} +6 -6
  285. package/dist/chunks/{location-services-rj7j5fvs.js → variant-s79v6bct.js} +4 -4
  286. package/dist/chunks/{location-services-sbya78hr.js → variant-sbya78hr.js} +1 -1
  287. package/dist/chunks/{location-services-ghrv1g9c.js → variant-sdt5j0rm.js} +4 -4
  288. package/dist/chunks/{location-services-qq922x6n.js → variant-sm1ek3w8.js} +20 -20
  289. package/dist/chunks/{location-services-vb80gn4g.js → variant-spx4vaz6.js} +8 -8
  290. package/dist/chunks/{location-services-sqjzf8x2.js → variant-sqjzf8x2.js} +1 -1
  291. package/dist/chunks/{location-services-gnkmn8c6.js → variant-srxqw4k9.js} +1 -1
  292. package/dist/chunks/{location-services-38ebvk59.js → variant-sv1b27es.js} +21 -21
  293. package/dist/chunks/{location-services-w4wtrrm0.js → variant-sv3x81pm.js} +24 -24
  294. package/dist/chunks/{location-services-svcy3p9a.js → variant-svcy3p9a.js} +1 -1
  295. package/dist/chunks/{location-services-ngm86eak.js → variant-sx38wn6p.js} +17 -17
  296. package/dist/chunks/{location-services-tdeaf8zc.js → variant-t2sc9t78.js} +31 -31
  297. package/dist/chunks/{location-services-hd3apvyx.js → variant-t32m6fhr.js} +12 -12
  298. package/dist/chunks/{location-services-9rqfe4ad.js → variant-t48jrnqq.js} +3 -3
  299. package/dist/chunks/{location-services-7z1bdsh3.js → variant-t8gamzjd.js} +10 -10
  300. package/dist/chunks/{location-services-et0e1evp.js → variant-t8ng57rn.js} +6 -6
  301. package/dist/chunks/{location-services-tbpn7jtk.js → variant-tbpn7jtk.js} +1 -1
  302. package/dist/chunks/{location-services-tczq8hjw.js → variant-tczq8hjw.js} +1 -1
  303. package/dist/chunks/{location-services-0nbahg35.js → variant-tnrzrzmr.js} +8 -8
  304. package/dist/chunks/{location-services-t2ysygqw.js → variant-tqv4vvv6.js} +32 -32
  305. package/dist/chunks/{location-services-j376ae4e.js → variant-tr8x705m.js} +5 -5
  306. package/dist/chunks/{location-services-tvtps2q9.js → variant-tvtps2q9.js} +1 -1
  307. package/dist/chunks/{location-services-twssxy5n.js → variant-twssxy5n.js} +2 -2
  308. package/dist/chunks/{location-services-36zd8q63.js → variant-txrqh0xa.js} +21 -21
  309. package/dist/chunks/{location-services-js1t2t7e.js → variant-v1m2t1vc.js} +3 -3
  310. package/dist/chunks/{location-services-v2r1d0zg.js → variant-v2r1d0zg.js} +1 -1
  311. package/dist/chunks/{location-services-r8h0t1w2.js → variant-v69v8cp8.js} +7 -7
  312. package/dist/chunks/{location-services-vjf35v1f.js → variant-vjf35v1f.js} +1 -1
  313. package/dist/chunks/{location-services-x1actg1q.js → variant-vqzp10ba.js} +4 -4
  314. package/dist/chunks/{location-services-tz8eqr11.js → variant-vre17ymf.js} +9 -9
  315. package/dist/chunks/{location-services-pkqeagea.js → variant-vw662ttr.js} +8 -8
  316. package/dist/chunks/{location-services-dp72kpfz.js → variant-vyfxsvzt.js} +37 -37
  317. package/dist/chunks/{location-services-dq1p2qgy.js → variant-w2xcdr2y.js} +45 -45
  318. package/dist/chunks/{location-services-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
  319. package/dist/chunks/{location-services-je3gn0yt.js → variant-w5mn8q6d.js} +18 -18
  320. package/dist/chunks/{location-services-wakvkjy4.js → variant-wakvkjy4.js} +1 -1
  321. package/dist/chunks/{location-services-vgkznsbx.js → variant-wargr65t.js} +24 -24
  322. package/dist/chunks/{location-services-wd87259q.js → variant-wd87259q.js} +1 -1
  323. package/dist/chunks/{location-services-wegkxhrn.js → variant-wegkxhrn.js} +2 -2
  324. package/dist/chunks/{location-services-mkqdp8ha.js → variant-wp142abh.js} +8 -8
  325. package/dist/chunks/{location-services-fznmdakp.js → variant-wr3re1en.js} +4 -4
  326. package/dist/chunks/{location-services-cpj4vd2a.js → variant-wtxmbf3w.js} +20 -20
  327. package/dist/chunks/{location-services-aeg6pysx.js → variant-wtyz4cdf.js} +11 -11
  328. package/dist/chunks/{location-services-v2kcrxmn.js → variant-wx1c037k.js} +23 -23
  329. package/dist/chunks/{location-services-9sk33afj.js → variant-x4mcewfn.js} +8 -8
  330. package/dist/chunks/{location-services-06gdz5re.js → variant-x7j2mvb1.js} +21 -21
  331. package/dist/chunks/{location-services-z0c26qk4.js → variant-x8gpwz20.js} +2 -2
  332. package/dist/chunks/{location-services-ktp098y0.js → variant-xa96d35r.js} +56 -56
  333. package/dist/chunks/{location-services-xjr6c8m4.js → variant-xjr6c8m4.js} +1 -1
  334. package/dist/chunks/{location-services-tah3cnd0.js → variant-xm8w5e5w.js} +25 -25
  335. package/dist/chunks/{location-services-qd74dc1z.js → variant-xmknv8zy.js} +16 -16
  336. package/dist/chunks/{location-services-kq4fnwb1.js → variant-xvn8mnch.js} +4 -4
  337. package/dist/chunks/{location-services-p6p70pmf.js → variant-y0bd0xbt.js} +5 -5
  338. package/dist/chunks/{location-services-2kpjs9hs.js → variant-y22zf01p.js} +7 -7
  339. package/dist/chunks/{location-services-1t5hb6rz.js → variant-y943wrzp.js} +17 -17
  340. package/dist/chunks/{location-services-yb20nhc3.js → variant-yb20nhc3.js} +1 -1
  341. package/dist/chunks/{location-services-7r3f8kp7.js → variant-ydqjhb56.js} +9 -9
  342. package/dist/chunks/{location-services-10pn4eb5.js → variant-yepd7x5v.js} +5 -5
  343. package/dist/chunks/{location-services-cqk8mjmt.js → variant-ykpwycey.js} +11 -11
  344. package/dist/chunks/{location-services-yr705xyq.js → variant-yr705xyq.js} +1 -1
  345. package/dist/chunks/{location-services-yvtc2x31.js → variant-yvtc2x31.js} +1 -1
  346. package/dist/chunks/{location-services-r3cge2w6.js → variant-z02mgz09.js} +16 -16
  347. package/dist/chunks/{location-services-m9xxttth.js → variant-z54qh2k9.js} +4 -4
  348. package/dist/chunks/variant-zdzh32kn.js +577 -0
  349. package/dist/chunks/{location-services-ze75qvmd.js → variant-ze75qvmd.js} +3 -3
  350. package/dist/chunks/{location-services-zpdbqgja.js → variant-zpdbqgja.js} +1 -1
  351. package/dist/codemode/catalog.js +1 -1
  352. package/dist/codemode/execution.js +3 -3
  353. package/dist/codemode/fetch.js +148 -148
  354. package/dist/codemode/instructions.js +9 -9
  355. package/dist/codemode/tool.js +155 -155
  356. package/dist/command.js +96 -96
  357. package/dist/config/discovery.js +97 -97
  358. package/dist/config/integration.js +3 -3
  359. package/dist/config/managed.js +1 -1
  360. package/dist/config/markdown.js +1 -1
  361. package/dist/config/normalize.js +112 -112
  362. package/dist/config/plugin/agent.js +131 -131
  363. package/dist/config/plugin/command.js +238 -238
  364. package/dist/config/plugin/compaction.js +173 -173
  365. package/dist/config/plugin/compatibility.js +153 -153
  366. package/dist/config/plugin/entry-observer.js +1 -1
  367. package/dist/config/plugin/formatter.js +131 -131
  368. package/dist/config/plugin/image.js +130 -130
  369. package/dist/config/plugin/instruction.js +130 -130
  370. package/dist/config/plugin/location-watcher.js +132 -132
  371. package/dist/config/plugin/mcp.js +141 -141
  372. package/dist/config/plugin/policy.js +130 -130
  373. package/dist/config/plugin/provider.js +130 -130
  374. package/dist/config/plugin/reference.js +132 -132
  375. package/dist/config/plugin/shell.js +130 -130
  376. package/dist/config/plugin/skill-file.js +149 -149
  377. package/dist/config/plugin/skill-scan.js +1 -1
  378. package/dist/config/plugin/skill.js +154 -154
  379. package/dist/config/plugin/snapshot.js +130 -130
  380. package/dist/config/plugin/source.js +132 -132
  381. package/dist/config/plugin/tool-output.js +131 -131
  382. package/dist/config/plugin/websearch.js +129 -129
  383. package/dist/config/plugin/worktree.js +132 -132
  384. package/dist/config/variable.js +1 -1
  385. package/dist/config/watch.js +1 -1
  386. package/dist/config.js +133 -133
  387. package/dist/console-access.js +1 -1
  388. package/dist/credential/sql.js +2 -2
  389. package/dist/credential.js +94 -94
  390. package/dist/database/batch.js +1 -1
  391. package/dist/database/database.js +77 -77
  392. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  393. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  394. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  395. package/dist/database/drizzle/index.js +13 -13
  396. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  397. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  398. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  399. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  400. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  401. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  402. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  403. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  404. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  405. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  406. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  407. package/dist/database/drizzle.js +14 -14
  408. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  409. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  410. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  411. package/dist/database/migration/20260225215848_workspace.js +1 -1
  412. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  413. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  414. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  415. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  416. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  417. package/dist/database/migration/20260323234822_events.js +1 -1
  418. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  419. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  420. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  421. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  422. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  423. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  424. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  425. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  426. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  427. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  428. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  429. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  430. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  431. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  432. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  433. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  434. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  435. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  436. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  437. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  438. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  439. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  440. package/dist/database/migration/20260611035744_credential.js +1 -1
  441. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  442. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  443. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  444. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  445. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  446. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  447. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  448. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  449. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  450. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  451. package/dist/database/migration/20260812213948_worktree.js +1 -1
  452. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  453. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  454. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  455. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  456. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  457. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  458. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  459. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  460. package/dist/database/migration/20261025123711_blob.js +1 -1
  461. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  462. package/dist/database/migration/20261026223005_schedule.js +1 -1
  463. package/dist/database/migration/20261029002625_session_part.js +1 -1
  464. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  465. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  466. package/dist/database/migration/20261030054400_job.js +1 -1
  467. package/dist/database/migration.gen.js +60 -60
  468. package/dist/database/migration.js +76 -76
  469. package/dist/database/path.js +2 -2
  470. package/dist/database/schema.gen.js +1 -1
  471. package/dist/database/schema.sql.js +1 -1
  472. package/dist/database/v1-migration.bun.js +105 -105
  473. package/dist/database/v1-migration.js +1 -1
  474. package/dist/effect/app-node-builder.js +436 -436
  475. package/dist/effect/app-node-platform.js +2 -2
  476. package/dist/effect/keyed-mutex.js +1 -1
  477. package/dist/effect/websocket-constructor.js +1 -1
  478. package/dist/environment/driver.js +1 -1
  479. package/dist/environment/environment.js +105 -105
  480. package/dist/environment/exec-defaults.js +2 -2
  481. package/dist/environment/files.js +1 -1
  482. package/dist/environment/index.js +109 -109
  483. package/dist/environment/local.js +2 -2
  484. package/dist/environment/memory.js +2 -2
  485. package/dist/environment/unavailable.js +3 -3
  486. package/dist/event/sql.js +1 -1
  487. package/dist/event-logger.js +81 -81
  488. package/dist/file-access.js +160 -160
  489. package/dist/file-mutation.js +108 -108
  490. package/dist/file-retention.js +1 -1
  491. package/dist/file-write.js +164 -164
  492. package/dist/filesystem/fff.bun.js +2 -2
  493. package/dist/filesystem/fff.js +1 -1
  494. package/dist/filesystem/fff.node.js +2 -2
  495. package/dist/filesystem/fff.workerd.js +2 -2
  496. package/dist/filesystem/file-watch.js +88 -88
  497. package/dist/filesystem/location-watcher-policy.js +6 -6
  498. package/dist/filesystem/location-watcher.js +253 -253
  499. package/dist/filesystem/protected.js +3 -3
  500. package/dist/filesystem/search.js +113 -113
  501. package/dist/filesystem/watcher-binding.js +1 -1
  502. package/dist/filesystem/watcher.js +11 -11
  503. package/dist/filesystem.js +118 -118
  504. package/dist/flag.js +133 -133
  505. package/dist/form.js +95 -95
  506. package/dist/formatter/builtins.js +4 -4
  507. package/dist/formatter.js +100 -100
  508. package/dist/generate.js +118 -118
  509. package/dist/git.js +11 -11
  510. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  511. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  512. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  513. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  514. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  515. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  516. package/dist/github-copilot/copilot-provider.js +17 -17
  517. package/dist/github-copilot/models.js +104 -104
  518. package/dist/github-copilot/openai-compatible-error.js +1 -1
  519. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  520. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  521. package/dist/github-copilot/responses/openai-error.js +1 -1
  522. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  523. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  524. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  525. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  526. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  527. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  528. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  529. package/dist/image/notice.js +1 -1
  530. package/dist/image/photon-normalize.js +1 -1
  531. package/dist/image/photon-worker.js +1 -1
  532. package/dist/image/photon.js +4 -4
  533. package/dist/image.js +6 -6
  534. package/dist/instance/service.js +5 -5
  535. package/dist/instance.js +432 -432
  536. package/dist/instruction-discovery.js +95 -95
  537. package/dist/instructions/builtins.js +100 -100
  538. package/dist/instructions/index.js +1 -1
  539. package/dist/integration/connection.js +3 -3
  540. package/dist/integration.js +102 -102
  541. package/dist/job/list.js +5 -5
  542. package/dist/job/recovery.js +2 -2
  543. package/dist/job/sql.js +2 -2
  544. package/dist/job.js +88 -88
  545. package/dist/kv/sql.js +2 -2
  546. package/dist/kv.js +84 -84
  547. package/dist/location-activity.js +179 -179
  548. package/dist/location-lifecycle.js +153 -153
  549. package/dist/location-service-map.js +95 -95
  550. package/dist/location-services.js +429 -429
  551. package/dist/location.js +102 -102
  552. package/dist/managed-policy.js +3 -3
  553. package/dist/mcp/client.js +158 -158
  554. package/dist/mcp/connection.js +106 -106
  555. package/dist/mcp/index.js +126 -126
  556. package/dist/mcp/instructions.js +189 -189
  557. package/dist/mcp/oauth.js +89 -89
  558. package/dist/mcp/pool.js +112 -112
  559. package/dist/mcp/socket-client.js +1 -1
  560. package/dist/mcp/stdio.js +157 -157
  561. package/dist/mime.js +1 -1
  562. package/dist/modal/models.js +104 -104
  563. package/dist/model-resolver.js +112 -112
  564. package/dist/model-retry.js +1 -1
  565. package/dist/model.js +113 -113
  566. package/dist/models-dev/v1.js +1 -1
  567. package/dist/models-dev.js +121 -121
  568. package/dist/oauth/page.js +1 -1
  569. package/dist/permission/saved.js +91 -91
  570. package/dist/permission/sql.js +5 -5
  571. package/dist/permission.js +154 -154
  572. package/dist/persistent-pty/binary.bun.js +1 -1
  573. package/dist/persistent-pty/daemon.js +1 -1
  574. package/dist/persistent-pty/index.js +101 -101
  575. package/dist/persistent-pty/pty-binding.js +1 -1
  576. package/dist/persistent-pty.js +86 -86
  577. package/dist/plugin/agent.js +85 -85
  578. package/dist/plugin/command.js +117 -117
  579. package/dist/plugin/goal.js +3 -3
  580. package/dist/plugin/hooks.js +5 -5
  581. package/dist/plugin/host.js +244 -244
  582. package/dist/plugin/identity.js +3 -3
  583. package/dist/plugin/instance.js +5 -5
  584. package/dist/plugin/internal.js +408 -408
  585. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  586. package/dist/plugin/models-dev.js +110 -110
  587. package/dist/plugin/module.js +129 -129
  588. package/dist/plugin/optimize.js +4 -4
  589. package/dist/plugin/plan.js +149 -149
  590. package/dist/plugin/promise.js +1 -1
  591. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  592. package/dist/plugin/provider/azure.js +133 -133
  593. package/dist/plugin/provider/cerebras.js +1 -1
  594. package/dist/plugin/provider/chatgpt.js +133 -133
  595. package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
  596. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  597. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  598. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  599. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  600. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  601. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  602. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  603. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  604. package/dist/plugin/provider/claude-agent/index.js +148 -148
  605. package/dist/plugin/provider/claude-agent/instructions.js +110 -110
  606. package/dist/plugin/provider/claude-agent/integration.js +115 -115
  607. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  608. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  609. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  610. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  611. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  612. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  613. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  614. package/dist/plugin/provider/claude-agent/provider.js +108 -108
  615. package/dist/plugin/provider/claude-agent/session.js +112 -112
  616. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  617. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  618. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  619. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  620. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  621. package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
  622. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  623. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  624. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  625. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  626. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  627. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  628. package/dist/plugin/provider/configured.js +126 -126
  629. package/dist/plugin/provider/credential-settings.js +88 -88
  630. package/dist/plugin/provider/databricks.js +1 -1
  631. package/dist/plugin/provider/digitalocean.js +109 -109
  632. package/dist/plugin/provider/dynamic.js +2 -2
  633. package/dist/plugin/provider/github-copilot.js +111 -111
  634. package/dist/plugin/provider/gitlab.js +109 -109
  635. package/dist/plugin/provider/google-vertex.js +127 -127
  636. package/dist/plugin/provider/kilo.js +1 -1
  637. package/dist/plugin/provider/llmgateway.js +89 -89
  638. package/dist/plugin/provider/lmstudio.js +140 -140
  639. package/dist/plugin/provider/local.js +137 -137
  640. package/dist/plugin/provider/modal.js +108 -108
  641. package/dist/plugin/provider/neon.js +1 -1
  642. package/dist/plugin/provider/nvidia.js +1 -1
  643. package/dist/plugin/provider/ollama.js +138 -138
  644. package/dist/plugin/provider/openai-context-caps.js +106 -106
  645. package/dist/plugin/provider/openai.js +135 -135
  646. package/dist/plugin/provider/opencode-watches.js +4 -4
  647. package/dist/plugin/provider/opencode.js +161 -161
  648. package/dist/plugin/provider/openrouter.js +104 -104
  649. package/dist/plugin/provider/poe.js +90 -90
  650. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  651. package/dist/plugin/provider/refresh.js +87 -87
  652. package/dist/plugin/provider/sap-ai-core.js +104 -104
  653. package/dist/plugin/provider/sdk-factory.js +1 -1
  654. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  655. package/dist/plugin/provider/vllm.js +138 -138
  656. package/dist/plugin/provider/xai.js +104 -104
  657. package/dist/plugin/provider/zenmux.js +1 -1
  658. package/dist/plugin/provider.js +239 -239
  659. package/dist/plugin/sdk.js +87 -87
  660. package/dist/plugin/service.js +3 -3
  661. package/dist/plugin/skill.js +150 -150
  662. package/dist/plugin/source-directory.js +1 -1
  663. package/dist/plugin/supervisor.js +416 -416
  664. package/dist/plugin/tool-input-repair.js +4 -4
  665. package/dist/plugin/update.js +6 -6
  666. package/dist/plugin/vcs/git.js +99 -99
  667. package/dist/plugin/vcs/hg.js +99 -99
  668. package/dist/plugin/verbosity.js +106 -106
  669. package/dist/plugin/warming.js +130 -130
  670. package/dist/plugin/websearch/exa.js +8 -8
  671. package/dist/plugin/websearch/firecrawl.js +7 -7
  672. package/dist/plugin/websearch/index.js +10 -10
  673. package/dist/plugin/websearch/mcp.js +2 -2
  674. package/dist/plugin/websearch/parallel.js +9 -9
  675. package/dist/plugin/websearch/provider.js +1 -1
  676. package/dist/plugin/websearch/tavily.js +5 -5
  677. package/dist/plugin/websearch/tinyfish.js +9 -9
  678. package/dist/plugin.js +255 -255
  679. package/dist/project/icon.js +5 -5
  680. package/dist/project/schema.js +8 -8
  681. package/dist/project/sql.js +4 -4
  682. package/dist/project.js +105 -105
  683. package/dist/provider.js +112 -112
  684. package/dist/pty/protocol.js +1 -1
  685. package/dist/pty/ticket.js +1 -1
  686. package/dist/pty.js +111 -111
  687. package/dist/reference/instructions.js +99 -99
  688. package/dist/reference.js +101 -101
  689. package/dist/repository-cache.js +93 -93
  690. package/dist/repository.js +1 -1
  691. package/dist/ripgrep/binary.js +2 -2
  692. package/dist/ripgrep.js +111 -111
  693. package/dist/rpc.js +99 -99
  694. package/dist/schedule/check.js +249 -249
  695. package/dist/schedule/sql.js +6 -6
  696. package/dist/schedule.js +259 -259
  697. package/dist/schema.js +1 -1
  698. package/dist/session/affinity.js +1 -1
  699. package/dist/session/background.js +1 -1
  700. package/dist/session/blob.js +132 -132
  701. package/dist/session/command.js +85 -85
  702. package/dist/session/compaction.js +173 -173
  703. package/dist/session/context.js +205 -205
  704. package/dist/session/diff.js +101 -101
  705. package/dist/session/environment.js +5 -5
  706. package/dist/session/error.js +3 -3
  707. package/dist/session/event.js +1 -1
  708. package/dist/session/execution/restart.js +247 -247
  709. package/dist/session/execution.js +169 -169
  710. package/dist/session/generate.js +204 -204
  711. package/dist/session/history.js +139 -139
  712. package/dist/session/inbox.js +152 -152
  713. package/dist/session/info.js +3 -3
  714. package/dist/session/instruction-entry.js +90 -90
  715. package/dist/session/instruction-state.js +8 -8
  716. package/dist/session/instructions.js +144 -144
  717. package/dist/session/message-updater.js +4 -4
  718. package/dist/session/message.js +1 -1
  719. package/dist/session/model-request.js +171 -171
  720. package/dist/session/model-transport.js +9 -9
  721. package/dist/session/move.js +171 -171
  722. package/dist/session/projector.js +146 -146
  723. package/dist/session/prompt.js +151 -151
  724. package/dist/session/recent-text.js +1 -1
  725. package/dist/session/revert.js +142 -142
  726. package/dist/session/run-coordinator.js +3 -3
  727. package/dist/session/runner/index.js +3 -3
  728. package/dist/session/runner/llm.js +258 -258
  729. package/dist/session/runner/max-steps.js +1 -1
  730. package/dist/session/runner/model.js +113 -113
  731. package/dist/session/runner/publish-llm-event.js +153 -153
  732. package/dist/session/runner/retry.js +5 -5
  733. package/dist/session/runner/step.js +164 -164
  734. package/dist/session/runner/to-llm-message.js +140 -140
  735. package/dist/session/schema.js +3 -3
  736. package/dist/session/session.js +188 -188
  737. package/dist/session/shell.js +145 -145
  738. package/dist/session/skill.js +150 -150
  739. package/dist/session/sql.js +5 -5
  740. package/dist/session/stats.js +85 -85
  741. package/dist/session/store.js +145 -145
  742. package/dist/session/stored.js +2 -2
  743. package/dist/session/subagent-completion.js +1 -1
  744. package/dist/session/subagent-job.js +237 -237
  745. package/dist/session/system-prompt.js +5 -5
  746. package/dist/session/title.js +209 -209
  747. package/dist/session/to-session-error.js +152 -152
  748. package/dist/session/transfer.js +245 -245
  749. package/dist/session/usage.js +1 -1
  750. package/dist/session.js +237 -237
  751. package/dist/shared-cache.js +5 -5
  752. package/dist/shell/parse.js +6 -6
  753. package/dist/shell/result.js +1 -1
  754. package/dist/shell/scan.js +1 -1
  755. package/dist/shell/select.js +13 -13
  756. package/dist/shell.js +147 -147
  757. package/dist/skill/discovery.js +6 -6
  758. package/dist/skill/instructions.js +154 -154
  759. package/dist/skill.js +159 -159
  760. package/dist/snapshot.js +102 -102
  761. package/dist/state.js +1 -1
  762. package/dist/tool/html-markdown.js +1 -1
  763. package/dist/tool/http-body.js +1 -1
  764. package/dist/tool/mcp.js +186 -186
  765. package/dist/tool/plugin/artifact.js +236 -236
  766. package/dist/tool/plugin/edit.js +170 -170
  767. package/dist/tool/plugin/file-diff.js +1 -1
  768. package/dist/tool/plugin/glob.js +174 -174
  769. package/dist/tool/plugin/grep.js +167 -167
  770. package/dist/tool/plugin/image-generate.js +247 -247
  771. package/dist/tool/plugin/mcp-resource.js +169 -169
  772. package/dist/tool/plugin/opencode.js +166 -166
  773. package/dist/tool/plugin/patch.js +171 -171
  774. package/dist/tool/plugin/question.js +149 -149
  775. package/dist/tool/plugin/read.js +175 -175
  776. package/dist/tool/plugin/schedule.js +255 -255
  777. package/dist/tool/plugin/shell.js +241 -241
  778. package/dist/tool/plugin/skill.js +158 -158
  779. package/dist/tool/plugin/subagent.js +244 -244
  780. package/dist/tool/plugin/todo.js +156 -156
  781. package/dist/tool/plugin/webfetch.js +158 -158
  782. package/dist/tool/plugin/websearch.js +156 -156
  783. package/dist/tool/plugin/write.js +171 -171
  784. package/dist/tool/read-filesystem.js +116 -116
  785. package/dist/tool/runtime.js +1 -1
  786. package/dist/tool/search.js +109 -109
  787. package/dist/tool-output.js +7 -7
  788. package/dist/tool.js +165 -165
  789. package/dist/usage-limits.js +100 -100
  790. package/dist/util/error-summary.js +1 -1
  791. package/dist/util/git-executable.js +3 -3
  792. package/dist/util/lazy.js +1 -1
  793. package/dist/util/slug.js +1 -1
  794. package/dist/util/token.js +1 -1
  795. package/dist/util/which.js +1 -1
  796. package/dist/util/wildcard.js +1 -1
  797. package/dist/v1/config/agent.js +7 -7
  798. package/dist/v1/config/command.js +5 -5
  799. package/dist/v1/config/mcp.js +2 -2
  800. package/dist/v1/config/migrate.js +105 -105
  801. package/dist/v1/config/permission.js +3 -3
  802. package/dist/v1/config/plugin.js +1 -1
  803. package/dist/v1/config/provider-options.js +1 -1
  804. package/dist/v1/config/provider.js +4 -4
  805. package/dist/variant.js +106 -106
  806. package/dist/vcs/patch.js +1 -1
  807. package/dist/vcs.js +102 -102
  808. package/dist/voice.js +99 -99
  809. package/dist/websearch.js +101 -101
  810. package/dist/wellknown/plugin.js +87 -87
  811. package/dist/wellknown.js +88 -88
  812. package/dist/workspace/driver.js +3 -3
  813. package/dist/workspace/sql.js +1 -1
  814. package/dist/workspace.js +93 -93
  815. package/dist/worktree/directory.js +2 -2
  816. package/dist/worktree/git.js +11 -11
  817. package/dist/worktree/sql.js +5 -5
  818. package/dist/worktree/strategies.js +102 -102
  819. package/dist/worktree.js +113 -113
  820. package/package.json +9 -9
  821. package/dist/chunks/location-services-8x060fmy.js +0 -18
  822. package/dist/chunks/location-services-d3jdhg57.js +0 -577
  823. package/dist/chunks/location-services-hqeqqmh6.js +0 -26
  824. package/dist/chunks/location-services-jwc600br.js +0 -273
  825. /package/dist/chunks/{location-services-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
  826. /package/dist/chunks/{location-services-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
  827. /package/dist/chunks/{location-services-108x4f4w.js → variant-108x4f4w.js} +0 -0
  828. /package/dist/chunks/{location-services-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
  829. /package/dist/chunks/{location-services-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
  830. /package/dist/chunks/{location-services-1kah00gy.js → variant-1kah00gy.js} +0 -0
  831. /package/dist/chunks/{location-services-24dcb14g.js → variant-24dcb14g.js} +0 -0
  832. /package/dist/chunks/{location-services-2710q6r3.js → variant-2710q6r3.js} +0 -0
  833. /package/dist/chunks/{location-services-2bv980vf.js → variant-2bv980vf.js} +0 -0
  834. /package/dist/chunks/{location-services-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
  835. /package/dist/chunks/{location-services-359p4xyc.js → variant-359p4xyc.js} +0 -0
  836. /package/dist/chunks/{location-services-3af0jn4w.js → variant-3af0jn4w.js} +0 -0
  837. /package/dist/chunks/{location-services-3asan66x.js → variant-3asan66x.js} +0 -0
  838. /package/dist/chunks/{location-services-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
  839. /package/dist/chunks/{location-services-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
  840. /package/dist/chunks/{location-services-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
  841. /package/dist/chunks/{location-services-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
  842. /package/dist/chunks/{location-services-4qk9sjk2.js → variant-4qk9sjk2.js} +0 -0
  843. /package/dist/chunks/{location-services-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
  844. /package/dist/chunks/{location-services-53557ph1.js → variant-53557ph1.js} +0 -0
  845. /package/dist/chunks/{location-services-550bvhaj.js → variant-550bvhaj.js} +0 -0
  846. /package/dist/chunks/{location-services-5w3e23ze.js → variant-5w3e23ze.js} +0 -0
  847. /package/dist/chunks/{location-services-6agm2x70.js → variant-6agm2x70.js} +0 -0
  848. /package/dist/chunks/{location-services-6prwharc.js → variant-6prwharc.js} +0 -0
  849. /package/dist/chunks/{location-services-6q2bdcd1.js → variant-6q2bdcd1.js} +0 -0
  850. /package/dist/chunks/{location-services-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
  851. /package/dist/chunks/{location-services-7m9af43g.js → variant-7m9af43g.js} +0 -0
  852. /package/dist/chunks/{location-services-822emrt2.js → variant-822emrt2.js} +0 -0
  853. /package/dist/chunks/{location-services-84wd9syh.js → variant-84wd9syh.js} +0 -0
  854. /package/dist/chunks/{location-services-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
  855. /package/dist/chunks/{location-services-8n3pysct.js → variant-8n3pysct.js} +0 -0
  856. /package/dist/chunks/{location-services-8wj87zfr.js → variant-8wj87zfr.js} +0 -0
  857. /package/dist/chunks/{location-services-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
  858. /package/dist/chunks/{location-services-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
  859. /package/dist/chunks/{location-services-af5trqkr.js → variant-af5trqkr.js} +0 -0
  860. /package/dist/chunks/{location-services-afrmfg78.js → variant-afrmfg78.js} +0 -0
  861. /package/dist/chunks/{location-services-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
  862. /package/dist/chunks/{location-services-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
  863. /package/dist/chunks/{location-services-beh6qq61.js → variant-beh6qq61.js} +0 -0
  864. /package/dist/chunks/{location-services-bhmrqjy3.js → variant-bhmrqjy3.js} +0 -0
  865. /package/dist/chunks/{location-services-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
  866. /package/dist/chunks/{location-services-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
  867. /package/dist/chunks/{location-services-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
  868. /package/dist/chunks/{location-services-cqv5kn06.js → variant-cqv5kn06.js} +0 -0
  869. /package/dist/chunks/{location-services-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
  870. /package/dist/chunks/{location-services-d9fn303g.js → variant-d9fn303g.js} +0 -0
  871. /package/dist/chunks/{location-services-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
  872. /package/dist/chunks/{location-services-dap0rakb.js → variant-dap0rakb.js} +0 -0
  873. /package/dist/chunks/{location-services-df08tz66.js → variant-df08tz66.js} +0 -0
  874. /package/dist/chunks/{location-services-dy18nga0.js → variant-dy18nga0.js} +0 -0
  875. /package/dist/chunks/{location-services-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
  876. /package/dist/chunks/{location-services-ean2d8b5.js → variant-ean2d8b5.js} +0 -0
  877. /package/dist/chunks/{location-services-ec1grn59.js → variant-ec1grn59.js} +0 -0
  878. /package/dist/chunks/{location-services-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
  879. /package/dist/chunks/{location-services-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
  880. /package/dist/chunks/{location-services-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
  881. /package/dist/chunks/{location-services-faypxj3z.js → variant-faypxj3z.js} +0 -0
  882. /package/dist/chunks/{location-services-fd410y7t.js → variant-fd410y7t.js} +0 -0
  883. /package/dist/chunks/{location-services-fkpq3x5p.js → variant-fkpq3x5p.js} +0 -0
  884. /package/dist/chunks/{location-services-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
  885. /package/dist/chunks/{location-services-g86h250q.js → variant-g86h250q.js} +0 -0
  886. /package/dist/chunks/{location-services-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
  887. /package/dist/chunks/{location-services-gftt206x.js → variant-gftt206x.js} +0 -0
  888. /package/dist/chunks/{location-services-hcxmzztb.js → variant-hcxmzztb.js} +0 -0
  889. /package/dist/chunks/{location-services-hk9envan.js → variant-hk9envan.js} +0 -0
  890. /package/dist/chunks/{location-services-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
  891. /package/dist/chunks/{location-services-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
  892. /package/dist/chunks/{location-services-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
  893. /package/dist/chunks/{location-services-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
  894. /package/dist/chunks/{location-services-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
  895. /package/dist/chunks/{location-services-jwr30sdr.js → variant-jwr30sdr.js} +0 -0
  896. /package/dist/chunks/{location-services-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
  897. /package/dist/chunks/{location-services-m18g726c.js → variant-m18g726c.js} +0 -0
  898. /package/dist/chunks/{location-services-mp448xyj.js → variant-mp448xyj.js} +0 -0
  899. /package/dist/chunks/{location-services-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
  900. /package/dist/chunks/{location-services-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
  901. /package/dist/chunks/{location-services-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
  902. /package/dist/chunks/{location-services-nh4v3znn.js → variant-nh4v3znn.js} +0 -0
  903. /package/dist/chunks/{location-services-njntx4h6.js → variant-njntx4h6.js} +0 -0
  904. /package/dist/chunks/{location-services-p71gwv9c.js → variant-p71gwv9c.js} +0 -0
  905. /package/dist/chunks/{location-services-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
  906. /package/dist/chunks/{location-services-q74kybfr.js → variant-q74kybfr.js} +0 -0
  907. /package/dist/chunks/{location-services-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
  908. /package/dist/chunks/{location-services-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
  909. /package/dist/chunks/{location-services-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
  910. /package/dist/chunks/{location-services-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
  911. /package/dist/chunks/{location-services-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
  912. /package/dist/chunks/{location-services-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
  913. /package/dist/chunks/{location-services-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
  914. /package/dist/chunks/{location-services-syrav9an.js → variant-syrav9an.js} +0 -0
  915. /package/dist/chunks/{location-services-t03h4f5z.js → variant-t03h4f5z.js} +0 -0
  916. /package/dist/chunks/{location-services-ty7weeps.js → variant-ty7weeps.js} +0 -0
  917. /package/dist/chunks/{location-services-ve7vex1e.js → variant-ve7vex1e.js} +0 -0
  918. /package/dist/chunks/{location-services-vtarvj67.js → variant-vtarvj67.js} +0 -0
  919. /package/dist/chunks/{location-services-w803qqfp.js → variant-w803qqfp.js} +0 -0
  920. /package/dist/chunks/{location-services-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
  921. /package/dist/chunks/{location-services-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
  922. /package/dist/chunks/{location-services-wtztk69x.js → variant-wtztk69x.js} +0 -0
  923. /package/dist/chunks/{location-services-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
  924. /package/dist/chunks/{location-services-x4th4bpe.js → variant-x4th4bpe.js} +0 -0
  925. /package/dist/chunks/{location-services-x61499pn.js → variant-x61499pn.js} +0 -0
  926. /package/dist/chunks/{location-services-y44na4kk.js → variant-y44na4kk.js} +0 -0
  927. /package/dist/chunks/{location-services-y8f7s663.js → variant-y8f7s663.js} +0 -0
  928. /package/dist/chunks/{location-services-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
  929. /package/dist/chunks/{location-services-z0h12gs8.js → variant-z0h12gs8.js} +0 -0
  930. /package/dist/chunks/{location-services-z5v4ffb3.js → variant-z5v4ffb3.js} +0 -0
  931. /package/dist/chunks/{location-services-z9919s4g.js → variant-z9919s4g.js} +0 -0
  932. /package/dist/chunks/{location-services-zxpyjp51.js → variant-zxpyjp51.js} +0 -0
  933. /package/dist/chunks/{location-services-zz5vv3aq.js → variant-zz5vv3aq.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  Service93,
3
3
  node95
4
- } from "./location-services-k8ezxhnc.js";
4
+ } from "./variant-52x6f109.js";
5
5
  import {
6
- Service42,
7
- node45
8
- } from "./location-services-y7n6mfpt.js";
6
+ Service30,
7
+ node33
8
+ } from "./variant-ezbcwp3x.js";
9
9
  import {
10
10
  isTextual2
11
- } from "./location-services-4pyp9zr9.js";
11
+ } from "./variant-4pyp9zr9.js";
12
12
  import {
13
13
  invocation2,
14
14
  CorrectedError2,
15
15
  BlockedError2,
16
- Service71,
17
- node72
18
- } from "./location-services-2kyj86a2.js";
16
+ Service68,
17
+ node69
18
+ } from "./variant-m0eanzg9.js";
19
19
  import {
20
20
  normalizedName2,
21
21
  effectiveName2
22
- } from "./location-services-z0h12gs8.js";
22
+ } from "./variant-z0h12gs8.js";
23
23
  import {
24
- Service59,
25
- node62
26
- } from "./location-services-y1vxsnye.js";
24
+ Service33,
25
+ node36
26
+ } from "./variant-eb68pf5c.js";
27
27
  import {
28
- Service50,
29
- node53
30
- } from "./location-services-11m1jm16.js";
28
+ Service62,
29
+ node63
30
+ } from "./variant-4yee01q8.js";
31
31
  import {
32
32
  MEDIA_MIMES2
33
- } from "./location-services-38ebvk59.js";
33
+ } from "./variant-sv1b27es.js";
34
34
  import {
35
35
  __export
36
- } from "./location-services-9rqn6x4v.js";
36
+ } from "./variant-9rqn6x4v.js";
37
37
 
38
38
  // src/tool/mcp.ts
39
39
  var exports_mcp3 = {};
40
40
  __export(exports_mcp3, {
41
41
  McpTool: () => exports_mcp3,
42
- Service: () => Service41,
43
- layer: () => layer17,
42
+ Service: () => Service29,
43
+ layer: () => layer14,
44
44
  name: () => name16,
45
45
  namespace: () => namespace2,
46
- node: () => node44
46
+ node: () => node32
47
47
  });
48
48
  import { ToolFailure } from "@opencode/ai/effect";
49
49
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -54,14 +54,14 @@ var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown
54
54
  var namespace2 = (server) => normalizedName2({ name: server });
55
55
  var name16 = (server, tool) => effectiveName2({ name: tool, options: { namespace: namespace2(server) } });
56
56
 
57
- class Service41 extends Context.Service()("@opencode/McpTool") {
57
+ class Service29 extends Context.Service()("@opencode/McpTool") {
58
58
  }
59
- var layer17 = Layer.effect(Service41, Effect.gen(function* () {
60
- const mcp = yield* Service42;
61
- const tools = yield* Service59;
59
+ var layer14 = Layer.effect(Service29, Effect.gen(function* () {
60
+ const mcp = yield* Service30;
61
+ const tools = yield* Service33;
62
62
  const bus = yield* Service93;
63
- const permission = yield* Service71;
64
- const toolOutput = yield* Service50;
63
+ const permission = yield* Service68;
64
+ const toolOutput = yield* Service62;
65
65
  const lock = Semaphore.makeUnsafe(1);
66
66
  let discovered = [];
67
67
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -133,7 +133,7 @@ var layer17 = Layer.effect(Service41, Effect.gen(function* () {
133
133
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
134
134
  const updates = yield* PubSub.subscribe(changes);
135
135
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
136
- return Service41.of({
136
+ return Service29.of({
137
137
  flush: Effect.gen(function* () {
138
138
  yield* Fiber.await(initial);
139
139
  yield* mcp.awaitStartup();
@@ -161,10 +161,10 @@ ${bytes.toString("utf8")}` };
161
161
  text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
162
162
  };
163
163
  });
164
- var node44 = makeLocationNode({
165
- service: Service41,
166
- layer: layer17,
167
- deps: [node62, node45, node95, node72, node53]
164
+ var node32 = makeLocationNode({
165
+ service: Service29,
166
+ layer: layer14,
167
+ deps: [node36, node33, node95, node69, node63]
168
168
  });
169
169
 
170
- export { namespace2, name16, Service41, layer17, node44, exports_mcp3 };
170
+ export { namespace2, name16, Service29, layer14, node32, exports_mcp3 };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service94,
3
3
  node96
4
- } from "./location-services-wjhreaqv.js";
4
+ } from "./variant-kbwwped5.js";
5
5
  import {
6
6
  latestSequence2,
7
7
  Service93,
8
8
  node95
9
- } from "./location-services-k8ezxhnc.js";
9
+ } from "./variant-52x6f109.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./location-services-0ma9gw4f.js";
12
+ } from "./variant-0ma9gw4f.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./location-services-ec1grn59.js";
15
+ } from "./variant-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./location-services-c348qrfn.js";
18
+ } from "./variant-01hyf2gm.js";
19
19
  import {
20
- Service72,
21
- node73
22
- } from "./location-services-19y9ca77.js";
20
+ Service69,
21
+ node70
22
+ } from "./variant-0gv8v8qp.js";
23
23
  import {
24
- Service32,
25
- node35
26
- } from "./location-services-47k3myws.js";
24
+ Service21,
25
+ node24
26
+ } from "./variant-pysr0f89.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./location-services-4f25tdd0.js";
30
+ } from "./variant-4f25tdd0.js";
31
31
  import {
32
32
  __export
33
- } from "./location-services-9rqn6x4v.js";
33
+ } from "./variant-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service7,
38
+ Service: () => Service5,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer8,
42
- node: () => node9
41
+ layer: () => layer5,
42
+ node: () => node7
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai/effect";
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service7 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service5 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var messagePrompt = (text) => `Here is the first message of the conversation:
@@ -72,11 +72,11 @@ var isUntitled2 = (session) => isExactRootFallback({
72
72
  title: session.title,
73
73
  time: { created: DateTime.toEpochMillis(session.time.created) }
74
74
  });
75
- var layer8 = Layer.effect(Service7, Effect.gen(function* () {
75
+ var layer5 = Layer.effect(Service5, Effect.gen(function* () {
76
76
  const bus = yield* Service93;
77
77
  const llm = yield* LLMClient.Service;
78
- const context = yield* Service32;
79
- const store = yield* Service72;
78
+ const context = yield* Service21;
79
+ const store = yield* Service69;
80
80
  const db = (yield* Service94).db;
81
81
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
82
82
  const chunks = [];
@@ -167,12 +167,12 @@ Recent conversation:
167
167
  title: truncate(title)
168
168
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
169
169
  });
170
- return Service7.of({ generate });
170
+ return Service5.of({ generate });
171
171
  }));
172
- var node9 = makeLocationNode({
173
- service: Service7,
174
- layer: layer8,
175
- deps: [node95, llmClient2, node35, node73, node96]
172
+ var node7 = makeLocationNode({
173
+ service: Service5,
174
+ layer: layer5,
175
+ deps: [node95, llmClient2, node24, node70, node96]
176
176
  });
177
177
 
178
- export { Service7, isUntitled2, layer8, node9, exports_title };
178
+ export { Service5, isUntitled2, layer5, node7, exports_title };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  requestExecutor2,
3
3
  llmClient2
4
- } from "./location-services-0ma9gw4f.js";
4
+ } from "./variant-0ma9gw4f.js";
5
5
  import {
6
- Service80,
7
- node81
8
- } from "./location-services-crvpqcw1.js";
6
+ Service77,
7
+ node78
8
+ } from "./variant-p0vxt2nw.js";
9
9
  import {
10
- Service69,
11
- node70
12
- } from "./location-services-dq1p2qgy.js";
10
+ Service42,
11
+ node43
12
+ } from "./variant-w2xcdr2y.js";
13
13
  import {
14
14
  retryOneShot2
15
- } from "./location-services-2fc7eemy.js";
15
+ } from "./variant-2fc7eemy.js";
16
16
  import {
17
17
  __export
18
- } from "./location-services-9rqn6x4v.js";
18
+ } from "./variant-9rqn6x4v.js";
19
19
 
20
20
  // src/generate.ts
21
21
  var exports_generate = {};
@@ -25,11 +25,11 @@ __export(exports_generate, {
25
25
  ModelNotFoundError: () => ModelNotFoundError2,
26
26
  ProviderFailure: () => ProviderFailure2,
27
27
  ProviderRequestError: () => ProviderRequestError2,
28
- Service: () => Service18,
29
- UnavailableError: () => UnavailableError2,
28
+ Service: () => Service16,
29
+ UnavailableError: () => UnavailableError3,
30
30
  UnsupportedModelError: () => UnsupportedModelError2,
31
- layer: () => layer9,
32
- node: () => node21
31
+ layer: () => layer10,
32
+ node: () => node19
33
33
  });
34
34
  import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
35
35
  import { Money } from "@opencode/schema/money";
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
37
37
  import { Context, Effect, Layer, Schema } from "effect";
38
38
  import { RequestExecutor } from "@opencode/ai/route";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
40
+ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
41
41
  message: Schema.String,
42
42
  service: Schema.optional(Schema.String)
43
43
  }) {
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
81
81
  }) {
82
82
  }
83
83
 
84
- class Service18 extends Context.Service()("@opencode/Generate") {
84
+ class Service16 extends Context.Service()("@opencode/Generate") {
85
85
  }
86
- var layer9 = Layer.effect(Service18, Effect.gen(function* () {
86
+ var layer10 = Layer.effect(Service16, Effect.gen(function* () {
87
87
  const llm = yield* LLMClient.Service;
88
- const resolver = yield* Service69;
89
- const models = yield* Service80;
88
+ const resolver = yield* Service42;
89
+ const models = yield* Service77;
90
90
  const executor = yield* RequestExecutor.Service;
91
91
  const images = yield* ImageClient.Service;
92
92
  const decisionClient = yield* DecisionClient.Service;
@@ -98,11 +98,11 @@ var layer9 = Layer.effect(Service18, Effect.gen(function* () {
98
98
  "SessionRunnerModel.ModelInitializationError",
99
99
  "SessionRunnerModel.UnresolvedProviderVariablesError",
100
100
  "SessionRunnerModel.UnsupportedCompactionError"
101
- ], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError2({ message: error.message, service: error.providerID }))));
101
+ ], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError3({ message: error.message, service: error.providerID }))));
102
102
  if (!resolved && input.model)
103
103
  return yield* missing(input.model, "chat");
104
104
  if (!resolved)
105
- return yield* new UnavailableError2({ message: "No model specified and no supported model is available" });
105
+ return yield* new UnavailableError3({ message: "No model specified and no supported model is available" });
106
106
  const response = yield* llm.generate(ai.request({
107
107
  model: resolved.model,
108
108
  prompt: input.prompt,
@@ -162,8 +162,8 @@ var layer9 = Layer.effect(Service18, Effect.gen(function* () {
162
162
  ...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
163
163
  };
164
164
  });
165
- const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({ message: "Generation credentials are unavailable" })));
166
- return Service18.of({
165
+ const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({ message: "Generation credentials are unavailable" })));
166
+ return Service16.of({
167
167
  text: (input) => credentials(runText(input)),
168
168
  image: (input) => credentials(image(input)),
169
169
  decisions: (input) => credentials(decisions(input))
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
215
215
  return "overloaded";
216
216
  return "provider";
217
217
  }
218
- var node21 = makeLocationNode({
219
- service: Service18,
220
- layer: layer9,
221
- deps: [node70, node81, llmClient2, requestExecutor2]
218
+ var node19 = makeLocationNode({
219
+ service: Service16,
220
+ layer: layer10,
221
+ deps: [node43, node78, llmClient2, requestExecutor2]
222
222
  });
223
223
 
224
- export { UnavailableError2, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError2, ProviderFailure2, ProviderRequestError2, Service18, layer9, node21, exports_generate };
224
+ export { UnavailableError3, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError2, ProviderFailure2, ProviderRequestError2, Service16, layer10, node19, exports_generate };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./variant-9rqn6x4v.js";
4
4
 
5
5
  // src/config/variable.ts
6
6
  var exports_variable = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./variant-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/source-directory.ts
6
6
  var exports_source_directory = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  content3
3
- } from "./location-services-sbya78hr.js";
3
+ } from "./variant-sbya78hr.js";
4
4
  import {
5
5
  groups2
6
- } from "./location-services-vjf35v1f.js";
6
+ } from "./variant-vjf35v1f.js";
7
7
  import {
8
8
  __export
9
- } from "./location-services-9rqn6x4v.js";
9
+ } from "./variant-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/provider/claude-agent/sync/catch-up.ts
12
12
  var exports_catch_up = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./variant-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./variant-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-services-z5v4ffb3.js";
3
+ } from "./variant-z5v4ffb3.js";
4
4
  import {
5
5
  Service94,
6
6
  node96
7
- } from "./location-services-wjhreaqv.js";
7
+ } from "./variant-kbwwped5.js";
8
8
  import {
9
9
  Service93,
10
10
  node95
11
- } from "./location-services-k8ezxhnc.js";
11
+ } from "./variant-52x6f109.js";
12
12
  import {
13
- Service84,
14
- node85
15
- } from "./location-services-55dthnq9.js";
13
+ Service92,
14
+ node94
15
+ } from "./variant-ahenw0f4.js";
16
16
  import {
17
- ID18,
17
+ ID22,
18
18
  Current3,
19
- Info26,
19
+ Info32,
20
20
  UpdateInput5,
21
- Event17,
21
+ Event21,
22
22
  Vcs3
23
- } from "./location-services-rn6817b0.js";
23
+ } from "./variant-963hk181.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./location-services-034tev2y.js";
27
+ } from "./variant-034tev2y.js";
28
28
  import {
29
29
  refresh2
30
- } from "./location-services-8sxe6kv8.js";
30
+ } from "./variant-8sxe6kv8.js";
31
31
  import {
32
32
  WorktreeTable2
33
- } from "./location-services-ayjs7tqn.js";
33
+ } from "./variant-ayjs7tqn.js";
34
34
  import {
35
35
  __export
36
- } from "./location-services-9rqn6x4v.js";
36
+ } from "./variant-9rqn6x4v.js";
37
37
 
38
38
  // src/project.ts
39
39
  var exports_project = {};
40
40
  __export(exports_project, {
41
41
  ACTIVATE_INTERVAL: () => ACTIVATE_INTERVAL2,
42
42
  Current: () => Current2,
43
- ID: () => ID17,
44
- Info: () => Info25,
45
- NotFoundError: () => NotFoundError12,
43
+ ID: () => ID21,
44
+ Info: () => Info31,
45
+ NotFoundError: () => NotFoundError14,
46
46
  Project: () => exports_project,
47
- Service: () => Service83,
47
+ Service: () => Service91,
48
48
  UpdateInput: () => UpdateInput4,
49
49
  Vcs: () => Vcs2,
50
- configured: () => configured10,
51
- node: () => node84,
50
+ configured: () => configured12,
51
+ node: () => node93,
52
52
  root: () => root2,
53
53
  sweepNode: () => sweepNode2
54
54
  });
@@ -61,14 +61,14 @@ import { FSUtil } from "@opencode/util/fs-util";
61
61
  import { AppProcess } from "@opencode/util/process";
62
62
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
63
63
  import { Hash } from "@opencode/util/hash";
64
- var ID17 = ID18;
64
+ var ID21 = ID22;
65
65
  var Vcs2 = Vcs3;
66
66
  var Current2 = Current3;
67
- var Info25 = Info26;
67
+ var Info31 = Info32;
68
68
  var UpdateInput4 = UpdateInput5;
69
69
 
70
- class NotFoundError12 extends Schema.TaggedError()("Project.NotFoundError", {
71
- projectID: ID17
70
+ class NotFoundError14 extends Schema.TaggedError()("Project.NotFoundError", {
71
+ projectID: ID21
72
72
  }) {
73
73
  }
74
74
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
87
87
  var SWEEP_INTERVAL = Duration.hours(1);
88
88
  var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
89
89
 
90
- class Service83 extends Context.Service()("@opencode/Project") {
90
+ class Service91 extends Context.Service()("@opencode/Project") {
91
91
  }
92
92
  function fromRow(row) {
93
93
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -111,10 +111,10 @@ function fromRow(row) {
111
111
  sandboxes: row.sandboxes
112
112
  };
113
113
  }
114
- var layer = Layer.effect(Service83, Effect.gen(function* () {
114
+ var layer = Layer.effect(Service91, Effect.gen(function* () {
115
115
  const now = yield* Now;
116
116
  const fs = yield* FSUtil.Service;
117
- const git = yield* Service84;
117
+ const git = yield* Service92;
118
118
  const proc = yield* AppProcess.Service;
119
119
  const bus = yield* Service93;
120
120
  const db = (yield* Service94).db;
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
127
127
  const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
128
128
  const changed = replaced ?? unarchived;
129
129
  if (changed)
130
- yield* bus.publish(Event17.Updated, fromRow(changed));
131
- yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event17.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
130
+ yield* bus.publish(Event21.Updated, fromRow(changed));
131
+ yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event21.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
132
132
  if (!project.vcs)
133
133
  return project;
134
134
  const directories = [
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
164
164
  yield* bus.publish(Worktree.Event.Resolved, {
165
165
  projectID: item.projectID,
166
166
  directory: item.directory,
167
- previous: project.previous ?? ID17.global,
167
+ previous: project.previous ?? ID21.global,
168
168
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
169
169
  }, {
170
170
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -187,16 +187,16 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
187
187
  time_updated: Date.now()
188
188
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
189
189
  if (!row)
190
- return yield* new NotFoundError12({ projectID: input.projectID });
190
+ return yield* new NotFoundError14({ projectID: input.projectID });
191
191
  const project = fromRow(row);
192
- yield* bus.publish(Event17.Updated, project);
192
+ yield* bus.publish(Event21.Updated, project);
193
193
  return project;
194
194
  });
195
195
  const activated = new Map;
196
196
  const persistActivate = Effect.fn("Project.activate")(function* (projectID, timestamp) {
197
197
  const row = yield* db.update(ProjectTable2).set({ time_active: timestamp, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
198
198
  if (row)
199
- yield* bus.publish(Event17.Updated, fromRow(row));
199
+ yield* bus.publish(Event21.Updated, fromRow(row));
200
200
  });
201
201
  const activate = (projectID, options) => Effect.suspend(() => {
202
202
  const timestamp = now();
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
208
208
  return options?.forkIn ? write.pipe(Effect.forkIn(options.forkIn), Effect.asVoid) : write;
209
209
  });
210
210
  const cached = Effect.fnUntraced(function* (dir) {
211
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
211
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID21.make(value) : undefined), Effect.orElseSucceed(() => {
212
212
  return;
213
213
  }));
214
214
  });
@@ -219,7 +219,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
219
219
  const normalized = url(origin);
220
220
  if (!normalized)
221
221
  return;
222
- return ID17.make(Hash.fast(`git-remote:${normalized}`));
222
+ return ID21.make(Hash.fast(`git-remote:${normalized}`));
223
223
  });
224
224
  function url(input) {
225
225
  const value = input.trim();
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
244
244
  }
245
245
  const rootCommit = Effect.fnUntraced(function* (repo) {
246
246
  const root = (yield* git.history.rootCommits(repo))[0];
247
- return root ? ID17.make(root) : undefined;
247
+ return root ? ID21.make(root) : undefined;
248
248
  });
249
249
  const gitDiscover = Effect.fnUntraced(function* (dotGit) {
250
250
  const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
260
260
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
261
261
  const resolved = {
262
262
  previous,
263
- id: id ?? ID17.global,
263
+ id: id ?? ID21.global,
264
264
  directory: repo.worktree,
265
265
  canonical,
266
266
  vcs: { type: "git", store: repo.commonDirectory }
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
285
285
  return;
286
286
  const node = result.stdout.toString("utf8").split(`
287
287
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
288
- return node ? ID17.make(node) : undefined;
288
+ return node ? ID21.make(node) : undefined;
289
289
  });
290
290
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
291
291
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -293,7 +293,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
293
293
  const id = previous ?? (yield* hgRoot(worktree));
294
294
  return {
295
295
  previous,
296
- id: id ?? ID17.global,
296
+ id: id ?? ID21.global,
297
297
  directory: worktree,
298
298
  vcs: { type: "hg", store: dotHg }
299
299
  };
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
320
320
  });
321
321
  }
322
322
  return yield* save({
323
- id: ID17.make(Hash.fast(`directory:${directory}`)),
323
+ id: ID21.make(Hash.fast(`directory:${directory}`)),
324
324
  directory,
325
325
  canonical: directory,
326
326
  vcs: undefined
@@ -329,7 +329,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
329
329
  const sweep = Effect.fn("Project.sweep")(function* () {
330
330
  const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
331
331
  const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
332
- const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
332
+ const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID21.global))).all().pipe(Effect.orDie);
333
333
  const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
334
334
  const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
335
335
  yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
@@ -342,26 +342,26 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
342
342
  return;
343
343
  const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
344
344
  if (row)
345
- yield* bus.publish(Event17.Updated, fromRow(row));
345
+ yield* bus.publish(Event21.Updated, fromRow(row));
346
346
  }), { concurrency: 8, discard: true });
347
347
  });
348
- return Service83.of({ list, update, activate, resolve, sweep });
348
+ return Service91.of({ list, update, activate, resolve, sweep });
349
349
  }));
350
- function configured10(options) {
350
+ function configured12(options) {
351
351
  return makeGlobalNode({
352
- service: Service83,
352
+ service: Service91,
353
353
  layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
354
- deps: [node95, node96, FSUtil.node, node85, AppProcess.node]
354
+ deps: [node95, node96, FSUtil.node, node94, AppProcess.node]
355
355
  });
356
356
  }
357
- var node84 = configured10();
357
+ var node93 = configured12();
358
358
  var sweepNode2 = makeGlobalNode({
359
359
  name: "project-archive-sweep",
360
360
  layer: Layer.effectDiscard(Effect.gen(function* () {
361
- const project = yield* Service83;
361
+ const project = yield* Service91;
362
362
  yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
363
363
  })),
364
- deps: [node84]
364
+ deps: [node93]
365
365
  });
366
366
 
367
- export { ID17, Vcs2, Current2, Info25, UpdateInput4, NotFoundError12, root2, ACTIVATE_INTERVAL2, Service83, configured10, node84, sweepNode2, exports_project };
367
+ export { ID21, Vcs2, Current2, Info31, UpdateInput4, NotFoundError14, root2, ACTIVATE_INTERVAL2, Service91, configured12, node93, sweepNode2, exports_project };