@opencode/core 0.0.0-dev-20731 → 0.0.0-dev-20735

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +90 -90
  4. package/dist/aisdk.js +95 -95
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +74 -74
  7. package/dist/chunks/{state-vfnexndp.js → location-service-map-020j3mp2.js} +6 -6
  8. package/dist/chunks/{state-0vbcp93d.js → location-service-map-0emb60td.js} +2 -2
  9. package/dist/chunks/{state-qcq5ks5d.js → location-service-map-0jd8n8rn.js} +14 -14
  10. package/dist/chunks/{state-67yqhhje.js → location-service-map-0jmyq18g.js} +20 -20
  11. package/dist/chunks/{state-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{state-10rnhjad.js → location-service-map-0zr63e5x.js} +11 -11
  13. package/dist/chunks/{state-dy8qh9xy.js → location-service-map-1109kv5r.js} +8 -8
  14. package/dist/chunks/{state-y7hh2tp0.js → location-service-map-198ssmbw.js} +26 -26
  15. package/dist/chunks/{state-5yzzbxa7.js → location-service-map-1ajx6rf5.js} +8 -8
  16. package/dist/chunks/{state-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{state-1a37t69z.js → location-service-map-1gpjfezg.js} +10 -10
  18. package/dist/chunks/{state-t2t1t50a.js → location-service-map-1r0m8s4k.js} +16 -16
  19. package/dist/chunks/{state-bdpzzc2x.js → location-service-map-1shzte8w.js} +11 -11
  20. package/dist/chunks/{state-qf4tt5n8.js → location-service-map-1y43ym7q.js} +5 -5
  21. package/dist/chunks/{state-pgz7mtdk.js → location-service-map-1ze35xh4.js} +10 -10
  22. package/dist/chunks/{state-b0rb4zb4.js → location-service-map-20cj7b67.js} +32 -32
  23. package/dist/chunks/{state-1qbad211.js → location-service-map-20g1jh9k.js} +8 -8
  24. package/dist/chunks/{state-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{state-7dqw4kz8.js → location-service-map-2k8khapm.js} +5 -5
  26. package/dist/chunks/{state-fzm7tejx.js → location-service-map-2ky06ky9.js} +17 -17
  27. package/dist/chunks/{state-2kngz1a4.js → location-service-map-2mb2919b.js} +11 -11
  28. package/dist/chunks/{state-qmqgtz8f.js → location-service-map-2mq1h16s.js} +9 -9
  29. package/dist/chunks/{state-4n607a2z.js → location-service-map-2p623br6.js} +5 -5
  30. package/dist/chunks/{state-d7gb4geb.js → location-service-map-2q116s0g.js} +8 -8
  31. package/dist/chunks/{state-686nxd57.js → location-service-map-2qbvmajs.js} +6 -6
  32. package/dist/chunks/{state-62k0yxbf.js → location-service-map-2y6zpsdj.js} +16 -16
  33. package/dist/chunks/{state-wcnv1p8x.js → location-service-map-2zbf90ch.js} +11 -11
  34. package/dist/chunks/{state-8hrcrd79.js → location-service-map-39r23z6b.js} +27 -27
  35. package/dist/chunks/{state-ajhnm1zb.js → location-service-map-3b1n4c0v.js} +25 -25
  36. package/dist/chunks/{state-srp51ndr.js → location-service-map-3baj6v9a.js} +25 -25
  37. package/dist/chunks/{state-h78379q5.js → location-service-map-3br01mcr.js} +49 -49
  38. package/dist/chunks/{state-h2b79v29.js → location-service-map-3cegwx68.js} +2 -2
  39. package/dist/chunks/{state-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{state-yndsvvt3.js → location-service-map-3fxhvxgd.js} +1 -1
  41. package/dist/chunks/{state-rhgq3aa6.js → location-service-map-3h3m3rpf.js} +22 -22
  42. package/dist/chunks/{state-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{state-3eb2wybh.js → location-service-map-3j09gcwn.js} +8 -8
  44. package/dist/chunks/{state-551azpvx.js → location-service-map-3jq3pnk6.js} +22 -22
  45. package/dist/chunks/{state-138h01qe.js → location-service-map-3knmg7hh.js} +7 -7
  46. package/dist/chunks/{state-6pygarpm.js → location-service-map-3p88kp5b.js} +3 -3
  47. package/dist/chunks/{state-4j4tgtq5.js → location-service-map-3sj8yt8v.js} +4 -4
  48. package/dist/chunks/{state-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{state-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{state-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
  51. package/dist/chunks/{state-6bjn4za1.js → location-service-map-47fh37dc.js} +28 -28
  52. package/dist/chunks/{state-rg29w5sg.js → location-service-map-4bgzx16c.js} +15 -15
  53. package/dist/chunks/{state-2rc505e3.js → location-service-map-4esgd2h9.js} +20 -20
  54. package/dist/chunks/{state-nc7he5v1.js → location-service-map-4fx98jam.js} +24 -24
  55. package/dist/chunks/{state-4ts7tf6z.js → location-service-map-4ts7tf6z.js} +2 -2
  56. package/dist/chunks/{state-3gccgfaf.js → location-service-map-4y4r5z5b.js} +4 -4
  57. package/dist/chunks/{state-a8bn8zg0.js → location-service-map-50mzsvk4.js} +4 -4
  58. package/dist/chunks/{state-7pg6bb3s.js → location-service-map-53vxm274.js} +22 -22
  59. package/dist/chunks/{state-54ma36ye.js → location-service-map-54ma36ye.js} +1 -1
  60. package/dist/chunks/{state-qh28zxsx.js → location-service-map-5aw4d85b.js} +32 -32
  61. package/dist/chunks/{state-pb9tkzd3.js → location-service-map-5fde8rf2.js} +24 -24
  62. package/dist/chunks/{state-9n6qg2a9.js → location-service-map-5h9eqmsr.js} +32 -32
  63. package/dist/chunks/{state-ryg7eh2t.js → location-service-map-5jswmftw.js} +18 -18
  64. package/dist/chunks/{state-5m9w47nd.js → location-service-map-5m9w47nd.js} +1 -1
  65. package/dist/chunks/{state-h3pfkhmz.js → location-service-map-5s9sacvh.js} +13 -13
  66. package/dist/chunks/{state-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{state-xt4njr3s.js → location-service-map-5w9yjztw.js} +1 -1
  68. package/dist/chunks/{state-zh56ev1t.js → location-service-map-5wq08njd.js} +17 -17
  69. package/dist/chunks/{state-rkkgxmw8.js → location-service-map-5y8fd58d.js} +5 -5
  70. package/dist/chunks/{state-y9v55n8z.js → location-service-map-664v0k6q.js} +10 -10
  71. package/dist/chunks/{state-myr8fe9c.js → location-service-map-6h9s4x6n.js} +3 -3
  72. package/dist/chunks/{state-mhrgq2e3.js → location-service-map-6jps0nvq.js} +8 -8
  73. package/dist/chunks/{state-maw79xe3.js → location-service-map-6p6p53k2.js} +11 -11
  74. package/dist/chunks/{state-ft8vrdb0.js → location-service-map-6req7aj4.js} +25 -25
  75. package/dist/chunks/{state-j34bs4nz.js → location-service-map-6rm5yzkt.js} +4 -4
  76. package/dist/chunks/{state-6xb47vfp.js → location-service-map-6xb47vfp.js} +1 -1
  77. package/dist/chunks/{state-2rnwhwfa.js → location-service-map-711y4ma3.js} +14 -14
  78. package/dist/chunks/{state-n3ky4ns8.js → location-service-map-73esx20d.js} +2 -2
  79. package/dist/chunks/{state-5k5r4c8x.js → location-service-map-782taykb.js} +11 -11
  80. package/dist/chunks/{state-4m5yfwrs.js → location-service-map-7a1hshqp.js} +13 -13
  81. package/dist/chunks/{state-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{state-918mtgee.js → location-service-map-7qtaxanh.js} +5 -5
  83. package/dist/chunks/{state-7st03jgk.js → location-service-map-7rq69z08.js} +19 -19
  84. package/dist/chunks/{state-tf2qcnq5.js → location-service-map-7y8fvpvp.js} +11 -11
  85. package/dist/chunks/{state-gs1dqwms.js → location-service-map-811a529q.js} +22 -22
  86. package/dist/chunks/{state-1dvck2a7.js → location-service-map-84h8c373.js} +2 -2
  87. package/dist/chunks/{state-84txncab.js → location-service-map-84txncab.js} +1 -1
  88. package/dist/chunks/{state-tcezcvh9.js → location-service-map-89znhe33.js} +4 -4
  89. package/dist/chunks/{state-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{state-y0rd6mpg.js → location-service-map-8dnsnve2.js} +4 -4
  91. package/dist/chunks/{state-vyb30c2y.js → location-service-map-8kq9p8jz.js} +18 -18
  92. package/dist/chunks/{state-8m6m0r52.js → location-service-map-8m6m0r52.js} +1 -1
  93. package/dist/chunks/{state-jn0tk1mz.js → location-service-map-8n69n882.js} +8 -8
  94. package/dist/chunks/{state-yfng7xhx.js → location-service-map-8r1f1zwq.js} +57 -57
  95. package/dist/chunks/{state-ts23464c.js → location-service-map-8sze2n9a.js} +8 -8
  96. package/dist/chunks/{state-2s897vgp.js → location-service-map-8x62bep5.js} +13 -13
  97. package/dist/chunks/{state-bx25mqzy.js → location-service-map-92pnwrb8.js} +27 -27
  98. package/dist/chunks/{state-m2pfdawv.js → location-service-map-9d29k2sy.js} +4 -4
  99. package/dist/chunks/{state-9qk2kwmb.js → location-service-map-9hp16pdx.js} +16 -16
  100. package/dist/chunks/{state-3yjxx9cb.js → location-service-map-9kw1gp9b.js} +13 -13
  101. package/dist/chunks/{state-dqv4y3rf.js → location-service-map-9ph3ycpc.js} +47 -47
  102. package/dist/chunks/{state-dmw4vz70.js → location-service-map-9vaedqxn.js} +17 -17
  103. package/dist/chunks/{state-4dy7nfnb.js → location-service-map-9vmwa021.js} +38 -38
  104. package/dist/chunks/location-service-map-9zdhvgqs.js +18 -0
  105. package/dist/chunks/{state-fhb2dsjj.js → location-service-map-a55jx63h.js} +28 -28
  106. package/dist/chunks/{state-7q0e42ms.js → location-service-map-a6v06961.js} +4 -4
  107. package/dist/chunks/{state-mhz4gg3p.js → location-service-map-a8vtzv7h.js} +21 -21
  108. package/dist/chunks/{state-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
  109. package/dist/chunks/{state-21qrczcf.js → location-service-map-aezf7b9z.js} +26 -26
  110. package/dist/chunks/{state-tjedn1bk.js → location-service-map-afrtgck4.js} +4 -4
  111. package/dist/chunks/{state-hw2pxhp3.js → location-service-map-anwrx3vb.js} +99 -99
  112. package/dist/chunks/{state-x944hqgj.js → location-service-map-ax1z2ndw.js} +22 -22
  113. package/dist/chunks/{state-pkqb68ka.js → location-service-map-aywfxs4m.js} +4 -4
  114. package/dist/chunks/{state-q8bdncf5.js → location-service-map-b1psh6s2.js} +9 -9
  115. package/dist/chunks/{state-5zqdgy8b.js → location-service-map-b27ghv1r.js} +25 -25
  116. package/dist/chunks/{state-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
  117. package/dist/chunks/{state-cs141p16.js → location-service-map-b70cp975.js} +31 -31
  118. package/dist/chunks/{state-d9sgy5v4.js → location-service-map-bsqx64w4.js} +4 -4
  119. package/dist/chunks/{state-c6dd62wt.js → location-service-map-byjhjrmz.js} +4 -4
  120. package/dist/chunks/{state-7j27yge6.js → location-service-map-c2wr4gbn.js} +21 -21
  121. package/dist/chunks/{state-ktay9hq4.js → location-service-map-c3zehg50.js} +11 -11
  122. package/dist/chunks/{state-8mps3fwf.js → location-service-map-cag4tck2.js} +19 -19
  123. package/dist/chunks/{state-nv5wzee9.js → location-service-map-cdf44jq4.js} +14 -14
  124. package/dist/chunks/{state-mzwaxmr6.js → location-service-map-cjk3yztn.js} +3 -3
  125. package/dist/chunks/{state-7rghpwat.js → location-service-map-cpwfp1a9.js} +35 -35
  126. package/dist/chunks/{state-wxgmpaes.js → location-service-map-cqv2wkh6.js} +11 -11
  127. package/dist/chunks/{state-55ehdx5d.js → location-service-map-csmm5m4x.js} +18 -18
  128. package/dist/chunks/{state-hs3zg9hx.js → location-service-map-cvx0e1bt.js} +36 -36
  129. package/dist/chunks/{state-vjps42b3.js → location-service-map-dc1bnmm6.js} +40 -40
  130. package/dist/chunks/{state-5gt3f0n7.js → location-service-map-dch9g1ez.js} +27 -27
  131. package/dist/chunks/{state-e4atdt0t.js → location-service-map-dewj8197.js} +46 -46
  132. package/dist/chunks/{state-6fhb81wd.js → location-service-map-dgm945yk.js} +22 -22
  133. package/dist/chunks/{state-1b60b23y.js → location-service-map-dm2pdpx2.js} +18 -18
  134. package/dist/chunks/{state-2t7sqs4y.js → location-service-map-dmsxtrss.js} +9 -9
  135. package/dist/chunks/{state-dpkg50ah.js → location-service-map-dpkg50ah.js} +1 -1
  136. package/dist/chunks/{state-54z56z4r.js → location-service-map-dvkrz2pa.js} +8 -8
  137. package/dist/chunks/{state-s4e19jsk.js → location-service-map-e0xpb80v.js} +42 -42
  138. package/dist/chunks/{state-kkqpbp86.js → location-service-map-e3h34950.js} +35 -35
  139. package/dist/chunks/{state-w9f5rn9p.js → location-service-map-e4g6rnfs.js} +17 -17
  140. package/dist/chunks/{state-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
  141. package/dist/chunks/{state-bgecxp98.js → location-service-map-egh0nd0j.js} +4 -4
  142. package/dist/chunks/{state-hv684ge7.js → location-service-map-em5gwgnx.js} +188 -188
  143. package/dist/chunks/location-service-map-eq4v9m8y.js +253 -0
  144. package/dist/chunks/{state-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
  145. package/dist/chunks/{state-sny9w75j.js → location-service-map-ezhqr4dw.js} +20 -20
  146. package/dist/chunks/{state-1pxz8ven.js → location-service-map-ezk2k2nc.js} +5 -5
  147. package/dist/chunks/{state-41kmeemt.js → location-service-map-f4cke4kj.js} +9 -9
  148. package/dist/chunks/{state-q5gkxxjb.js → location-service-map-f4d9c169.js} +33 -33
  149. package/dist/chunks/{state-dn6t15nt.js → location-service-map-f59s4cc3.js} +11 -11
  150. package/dist/chunks/{state-71az546q.js → location-service-map-f75zav2x.js} +2 -2
  151. package/dist/chunks/{state-k99mds86.js → location-service-map-faxn7cy8.js} +36 -36
  152. package/dist/chunks/{state-wrvjmzy4.js → location-service-map-fr637340.js} +54 -54
  153. package/dist/chunks/{state-9ywvhnd6.js → location-service-map-fv6z39q6.js} +20 -20
  154. package/dist/chunks/{state-cb71px6m.js → location-service-map-g3kvhe3m.js} +14 -14
  155. package/dist/chunks/{state-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{state-8hts1srz.js → location-service-map-gm6f8w1r.js} +11 -11
  157. package/dist/chunks/{state-5y60f30r.js → location-service-map-gvr8ekz8.js} +28 -28
  158. package/dist/chunks/{state-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{state-40rcjy03.js → location-service-map-hqsbmb15.js} +36 -36
  160. package/dist/chunks/{state-mthfcyeq.js → location-service-map-hv5wevtb.js} +11 -11
  161. package/dist/chunks/{state-jnz95558.js → location-service-map-hz6nra5z.js} +17 -17
  162. package/dist/chunks/{state-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
  163. package/dist/chunks/{state-25qfk6yg.js → location-service-map-j6d8s83h.js} +15 -15
  164. package/dist/chunks/{state-q41dffrp.js → location-service-map-janz2r1q.js} +22 -22
  165. package/dist/chunks/{state-m8b1hsph.js → location-service-map-jdpqn6n9.js} +13 -13
  166. package/dist/chunks/{state-mwnn09ds.js → location-service-map-jf28ek8f.js} +20 -20
  167. package/dist/chunks/{state-h4ckqw4f.js → location-service-map-jp3y83b8.js} +8 -8
  168. package/dist/chunks/{state-bnmr3cva.js → location-service-map-jvnghvnw.js} +8 -8
  169. package/dist/chunks/{state-9dgxaq8y.js → location-service-map-jz7r8edy.js} +19 -19
  170. package/dist/chunks/{state-1epzdntc.js → location-service-map-k5n7mtkn.js} +11 -11
  171. package/dist/chunks/{state-qfqe7b7s.js → location-service-map-k6ybn7as.js} +13 -13
  172. package/dist/chunks/{state-9e5bzkjp.js → location-service-map-kb9j3d72.js} +3 -3
  173. package/dist/chunks/{state-aeb4sny1.js → location-service-map-kbj2dgab.js} +5 -5
  174. package/dist/chunks/{state-0j8txdm0.js → location-service-map-kbx8m6gb.js} +3 -3
  175. package/dist/chunks/{state-kss966qf.js → location-service-map-kneamgfa.js} +24 -24
  176. package/dist/chunks/{state-52gbbbb2.js → location-service-map-kpxkaw22.js} +36 -36
  177. package/dist/chunks/{state-mzc2a39c.js → location-service-map-kx705y8y.js} +6 -6
  178. package/dist/chunks/{state-p66jwzje.js → location-service-map-kzce54ng.js} +23 -23
  179. package/dist/chunks/{state-09sqteag.js → location-service-map-kzn4295t.js} +1 -1
  180. package/dist/chunks/{state-m3fdjcah.js → location-service-map-m3fdjcah.js} +1 -1
  181. package/dist/chunks/{state-ejxk0zy2.js → location-service-map-m4qbna0r.js} +32 -32
  182. package/dist/chunks/{state-4pa8nav4.js → location-service-map-m5jcjszt.js} +3 -3
  183. package/dist/chunks/{state-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{state-1ygqh575.js → location-service-map-mfqp6xfm.js} +6 -6
  185. package/dist/chunks/{state-h6h410qg.js → location-service-map-mg9mkpg3.js} +61 -61
  186. package/dist/chunks/{state-a1gpj94z.js → location-service-map-mvfsc1pv.js} +3 -3
  187. package/dist/chunks/{state-tprb9ykm.js → location-service-map-n57qrn3a.js} +8 -8
  188. package/dist/chunks/{state-mwh5sg7p.js → location-service-map-nbfk4spf.js} +37 -37
  189. package/dist/chunks/{state-5h69wz8x.js → location-service-map-nw42y7ya.js} +4 -4
  190. package/dist/chunks/location-service-map-nyf6va6s.js +507 -0
  191. package/dist/chunks/{state-jwygkmfq.js → location-service-map-p0n75hrs.js} +9 -9
  192. package/dist/chunks/{state-7x6rk6r1.js → location-service-map-p5vcwgcv.js} +9 -9
  193. package/dist/chunks/{state-r8wc69dc.js → location-service-map-p79d271j.js} +23 -23
  194. package/dist/chunks/{state-2a6rn6yr.js → location-service-map-p7a39gy5.js} +6 -6
  195. package/dist/chunks/{state-kaywwrt1.js → location-service-map-p8p13f12.js} +5 -5
  196. package/dist/chunks/{state-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{state-pknna89w.js → location-service-map-pknna89w.js} +1 -1
  198. package/dist/chunks/{state-mak85ys1.js → location-service-map-pm7gqfwt.js} +15 -15
  199. package/dist/chunks/{state-80jhpvy9.js → location-service-map-ppzsh8xz.js} +32 -32
  200. package/dist/chunks/{state-k1qsfy5p.js → location-service-map-ptxaygn1.js} +47 -47
  201. package/dist/chunks/{state-wm8vp7b3.js → location-service-map-pwqp88nm.js} +16 -16
  202. package/dist/chunks/{state-q0xm7vwc.js → location-service-map-q0xm7vwc.js} +2 -2
  203. package/dist/chunks/{state-4xpke3ff.js → location-service-map-qb6b4g4m.js} +19 -19
  204. package/dist/chunks/{state-zz0gef9f.js → location-service-map-qg91mhk9.js} +20 -20
  205. package/dist/chunks/{state-qnc92qwc.js → location-service-map-qnc92qwc.js} +1 -1
  206. package/dist/chunks/{state-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
  207. package/dist/chunks/{state-qxjc9qry.js → location-service-map-qxjc9qry.js} +3 -3
  208. package/dist/chunks/{state-mcqz5t5c.js → location-service-map-r2gzg7ce.js} +20 -20
  209. package/dist/chunks/{state-5w4b35rv.js → location-service-map-rb8bt062.js} +9 -9
  210. package/dist/chunks/{state-fw6msab2.js → location-service-map-rd3hqfd2.js} +13 -13
  211. package/dist/chunks/{state-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
  212. package/dist/chunks/{state-t5131vnj.js → location-service-map-rf4vyrz7.js} +45 -45
  213. package/dist/chunks/{state-k9t3kwqs.js → location-service-map-rfrf17aw.js} +12 -12
  214. package/dist/chunks/{state-dabehbb6.js → location-service-map-rqb87221.js} +9 -9
  215. package/dist/chunks/{state-3w2eqbz4.js → location-service-map-rtb52qhq.js} +13 -13
  216. package/dist/chunks/{state-r3v0c7hy.js → location-service-map-ryb4sabt.js} +5 -5
  217. package/dist/chunks/{state-0r3c1bmw.js → location-service-map-s7nv2rwz.js} +5 -5
  218. package/dist/chunks/{state-ad6fy242.js → location-service-map-snr9kmf9.js} +7 -7
  219. package/dist/chunks/{state-427fgkyx.js → location-service-map-snyghj24.js} +20 -20
  220. package/dist/chunks/{state-24dsd3mh.js → location-service-map-sten0bqb.js} +33 -33
  221. package/dist/chunks/{state-2z3n0s1m.js → location-service-map-swg79b35.js} +11 -11
  222. package/dist/chunks/{state-4yhfmhtq.js → location-service-map-sxkj110m.js} +37 -37
  223. package/dist/chunks/{state-wv396vej.js → location-service-map-t550f9t1.js} +8 -8
  224. package/dist/chunks/{state-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
  225. package/dist/chunks/{state-9kg8hsmm.js → location-service-map-tbwdsz02.js} +11 -11
  226. package/dist/chunks/{state-tdstcens.js → location-service-map-tdstcens.js} +1 -1
  227. package/dist/chunks/{state-fdv30zvt.js → location-service-map-tkmwgdpd.js} +4 -4
  228. package/dist/chunks/{state-t7v34wze.js → location-service-map-tmm18trm.js} +8 -8
  229. package/dist/chunks/{state-0zaydvkv.js → location-service-map-tmq2emtr.js} +32 -32
  230. package/dist/chunks/location-service-map-tp2bs2c5.js +26 -0
  231. package/dist/chunks/{state-gh5z95q3.js → location-service-map-tv7q41xk.js} +9 -9
  232. package/dist/chunks/{state-6cpepfj3.js → location-service-map-tv9et59k.js} +18 -18
  233. package/dist/chunks/{state-aeggwfyx.js → location-service-map-tx2y3b3g.js} +7 -7
  234. package/dist/chunks/{state-zvt5dnpc.js → location-service-map-tz4n1mmd.js} +4 -4
  235. package/dist/chunks/{state-3nz0bd4c.js → location-service-map-v0xmac3n.js} +2 -2
  236. package/dist/chunks/{state-f7ge0a8n.js → location-service-map-v1f6cgh9.js} +45 -45
  237. package/dist/chunks/{state-9031p0b2.js → location-service-map-v3axjhay.js} +10 -10
  238. package/dist/chunks/{state-m4g7grr3.js → location-service-map-v5fbhvxb.js} +24 -24
  239. package/dist/chunks/{state-z2btvd3q.js → location-service-map-vc751hta.js} +9 -9
  240. package/dist/chunks/{state-0s32db7e.js → location-service-map-vc9hav61.js} +15 -15
  241. package/dist/chunks/{state-x62cppxn.js → location-service-map-vedpmp6c.js} +20 -20
  242. package/dist/chunks/{state-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
  243. package/dist/chunks/{state-f42t7e33.js → location-service-map-vqtj5sg4.js} +11 -11
  244. package/dist/chunks/{state-zw11p4sz.js → location-service-map-vthg97h9.js} +5 -5
  245. package/dist/chunks/{state-tb07zrhn.js → location-service-map-vy7v463h.js} +4 -4
  246. package/dist/chunks/{state-fmcqyzhx.js → location-service-map-vynmvp9h.js} +9 -9
  247. package/dist/chunks/{state-vzs5sf6e.js → location-service-map-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{state-08jsyhgk.js → location-service-map-w319nhgc.js} +22 -22
  249. package/dist/chunks/{state-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{state-nb795v0v.js → location-service-map-w40abp0x.js} +5 -5
  251. package/dist/chunks/{state-yss3y4q1.js → location-service-map-w9zfbjp4.js} +16 -16
  252. package/dist/chunks/{state-wd87259q.js → location-service-map-wd87259q.js} +1 -1
  253. package/dist/chunks/{state-1q8nfdb4.js → location-service-map-wm5kwffx.js} +3 -3
  254. package/dist/chunks/{state-6rhevr55.js → location-service-map-wr9mz46y.js} +43 -43
  255. package/dist/chunks/{state-ykd4jxva.js → location-service-map-wwwjdszg.js} +33 -33
  256. package/dist/chunks/{state-77f8qgj3.js → location-service-map-x24mjvnp.js} +13 -13
  257. package/dist/chunks/{state-y88q4kk1.js → location-service-map-x33nvbwv.js} +49 -49
  258. package/dist/chunks/{state-89zyxthc.js → location-service-map-x5qamb68.js} +22 -22
  259. package/dist/chunks/{state-cfcvtgjj.js → location-service-map-x65zb6ev.js} +25 -25
  260. package/dist/chunks/{state-gqtdsdt7.js → location-service-map-x661k3y3.js} +4 -4
  261. package/dist/chunks/{state-3jms3t4n.js → location-service-map-xa056vn0.js} +79 -79
  262. package/dist/chunks/{state-xg26vyyk.js → location-service-map-xaaj1tye.js} +4 -4
  263. package/dist/chunks/{state-c6b7y4z0.js → location-service-map-xcprcbs0.js} +3 -3
  264. package/dist/chunks/{state-ms5r0hkh.js → location-service-map-xdc3sm7c.js} +49 -49
  265. package/dist/chunks/{state-tg7bkhef.js → location-service-map-xecxzrdp.js} +7 -7
  266. package/dist/chunks/{state-1h0krj6g.js → location-service-map-xevjxxfx.js} +36 -36
  267. package/dist/chunks/{state-prq7hedt.js → location-service-map-xf8yqmad.js} +9 -9
  268. package/dist/chunks/{state-w19d8598.js → location-service-map-xfkkasph.js} +5 -5
  269. package/dist/chunks/{state-101fvt1n.js → location-service-map-xg9smtde.js} +94 -94
  270. package/dist/chunks/{state-xkntkrq7.js → location-service-map-xkntkrq7.js} +2 -2
  271. package/dist/chunks/{state-edpay1ac.js → location-service-map-xw2x94wp.js} +31 -31
  272. package/dist/chunks/{state-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{state-r8xr0va3.js → location-service-map-yp2x3t23.js} +4 -4
  274. package/dist/chunks/{state-jf701akp.js → location-service-map-ypafjwkk.js} +6 -6
  275. package/dist/chunks/{state-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{state-jwpv483e.js → location-service-map-zkyrpvtj.js} +18 -18
  277. package/dist/chunks/{state-kmb6d1dy.js → location-service-map-zmhs9j3z.js} +30 -30
  278. package/dist/chunks/{state-611ehfjv.js → location-service-map-zpkmj148.js} +6 -6
  279. package/dist/chunks/{state-b434f0z0.js → location-service-map-zpts693v.js} +9 -9
  280. package/dist/chunks/{state-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{state-vccqm5x4.js → location-service-map-zwfhe8jc.js} +28 -28
  282. package/dist/chunks/{state-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{state-scgrse2b.js → location-service-map-zyk1yjk8.js} +5 -5
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +84 -84
  289. package/dist/config/discovery.js +85 -85
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +100 -100
  292. package/dist/config/plugin/agent.js +119 -119
  293. package/dist/config/plugin/command.js +208 -208
  294. package/dist/config/plugin/compaction.js +155 -155
  295. package/dist/config/plugin/compatibility.js +135 -135
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +118 -118
  298. package/dist/config/plugin/image.js +117 -117
  299. package/dist/config/plugin/instruction.js +91 -91
  300. package/dist/config/plugin/location-watcher.js +119 -119
  301. package/dist/config/plugin/mcp.js +126 -126
  302. package/dist/config/plugin/policy.js +118 -118
  303. package/dist/config/plugin/provider.js +117 -117
  304. package/dist/config/plugin/reference.js +119 -119
  305. package/dist/config/plugin/shell.js +117 -117
  306. package/dist/config/plugin/skill-file.js +103 -103
  307. package/dist/config/plugin/skill.js +138 -138
  308. package/dist/config/plugin/snapshot.js +117 -117
  309. package/dist/config/plugin/source.js +120 -120
  310. package/dist/config/plugin/tool-output.js +118 -118
  311. package/dist/config/plugin/websearch.js +116 -116
  312. package/dist/config/plugin/worktree.js +119 -119
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +122 -122
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +86 -86
  318. package/dist/database/database.js +71 -71
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration.gen.js +50 -50
  385. package/dist/database/migration.js +52 -52
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +80 -80
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +364 -364
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +94 -94
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +94 -94
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +75 -75
  409. package/dist/file-access.js +105 -105
  410. package/dist/file-mutation.js +95 -95
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +221 -221
  418. package/dist/filesystem/protected.js +3 -3
  419. package/dist/filesystem/search.js +104 -104
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +107 -107
  423. package/dist/form.js +85 -85
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +88 -88
  426. package/dist/generate.js +106 -106
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +100 -100
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +355 -355
  451. package/dist/instruction-discovery.js +86 -86
  452. package/dist/instructions/builtins.js +88 -88
  453. package/dist/instructions/index.js +5 -5
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +88 -88
  456. package/dist/job.js +79 -79
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +74 -74
  459. package/dist/location-activity.js +135 -135
  460. package/dist/location-lifecycle.js +108 -108
  461. package/dist/location-service-map.js +87 -87
  462. package/dist/location-services.js +352 -352
  463. package/dist/location.js +88 -88
  464. package/dist/managed-policy.js +8 -8
  465. package/dist/mcp/client.js +92 -92
  466. package/dist/mcp/index.js +110 -110
  467. package/dist/mcp/instructions.js +128 -128
  468. package/dist/mcp/oauth.js +79 -79
  469. package/dist/mcp/stdio.js +91 -91
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +100 -100
  472. package/dist/model-resolver.js +99 -99
  473. package/dist/model.js +101 -101
  474. package/dist/models-dev.js +108 -108
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +83 -83
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +114 -114
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +89 -89
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +76 -76
  484. package/dist/plugin/agent.js +77 -77
  485. package/dist/plugin/command.js +103 -103
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +212 -212
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +327 -327
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +97 -97
  493. package/dist/plugin/module.js +118 -118
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +103 -103
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +91 -91
  498. package/dist/plugin/provider/azure.js +118 -118
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +95 -95
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +113 -113
  505. package/dist/plugin/provider/digitalocean.js +94 -94
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/github-copilot.js +96 -96
  509. package/dist/plugin/provider/gitlab.js +94 -94
  510. package/dist/plugin/provider/google-vertex.js +91 -91
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +79 -79
  513. package/dist/plugin/provider/lmstudio.js +117 -117
  514. package/dist/plugin/provider/local.js +114 -114
  515. package/dist/plugin/provider/modal.js +93 -93
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +117 -117
  518. package/dist/plugin/provider/openai.js +96 -96
  519. package/dist/plugin/provider/opencode.js +98 -98
  520. package/dist/plugin/provider/openrouter.js +92 -92
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +80 -80
  523. package/dist/plugin/provider/prompt-cache-key.js +91 -91
  524. package/dist/plugin/provider/sap-ai-core.js +92 -92
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +116 -116
  527. package/dist/plugin/provider/vercel.js +91 -91
  528. package/dist/plugin/provider/vllm.js +117 -117
  529. package/dist/plugin/provider/xai.js +92 -92
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +157 -157
  532. package/dist/plugin/sdk.js +77 -77
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +135 -135
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +346 -346
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +87 -87
  540. package/dist/plugin/vcs/hg.js +87 -87
  541. package/dist/plugin/verbosity.js +94 -94
  542. package/dist/plugin/warming.js +115 -115
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +4 -4
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +219 -219
  551. package/dist/project/schema.js +6 -6
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +89 -89
  554. package/dist/provider.js +102 -102
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +90 -90
  558. package/dist/reference/instructions.js +90 -90
  559. package/dist/reference.js +88 -88
  560. package/dist/repository-cache.js +80 -80
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +98 -98
  564. package/dist/rpc.js +87 -87
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +1 -1
  567. package/dist/session/command.js +75 -75
  568. package/dist/session/compaction.js +134 -134
  569. package/dist/session/context.js +154 -154
  570. package/dist/session/diff.js +89 -89
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +218 -218
  575. package/dist/session/execution.js +126 -126
  576. package/dist/session/generate.js +155 -155
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +87 -87
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +80 -80
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +94 -94
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +121 -121
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +130 -130
  588. package/dist/session/projector.js +87 -87
  589. package/dist/session/prompt.js +106 -106
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +91 -91
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +99 -99
  597. package/dist/session/runner/publish-llm-event.js +114 -114
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +126 -126
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +165 -165
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +104 -104
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +76 -76
  607. package/dist/session/store.js +88 -88
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +204 -204
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +158 -158
  612. package/dist/session/to-session-error.js +112 -112
  613. package/dist/session/transfer.js +217 -217
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +212 -212
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +108 -108
  623. package/dist/skill.js +109 -109
  624. package/dist/snapshot.js +92 -92
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +127 -127
  629. package/dist/tool/plugin/edit.js +121 -121
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +125 -125
  632. package/dist/tool/plugin/grep.js +119 -119
  633. package/dist/tool/plugin/mcp-resource.js +118 -118
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +123 -123
  636. package/dist/tool/plugin/question.js +104 -104
  637. package/dist/tool/plugin/read.js +126 -126
  638. package/dist/tool/plugin/shell.js +209 -209
  639. package/dist/tool/plugin/skill.js +104 -104
  640. package/dist/tool/plugin/subagent.js +213 -213
  641. package/dist/tool/plugin/webfetch.js +111 -111
  642. package/dist/tool/plugin/websearch.js +113 -113
  643. package/dist/tool/plugin/write.js +123 -123
  644. package/dist/tool/read-filesystem.js +101 -101
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +16 -16
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +93 -93
  662. package/dist/v1/config/permission.js +3 -3
  663. package/dist/v1/config/plugin.js +3 -3
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +94 -94
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +90 -90
  669. package/dist/websearch.js +85 -85
  670. package/dist/wellknown/plugin.js +75 -75
  671. package/dist/wellknown.js +82 -82
  672. package/dist/workspace/driver.js +7 -7
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +79 -79
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +10 -10
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +90 -90
  679. package/dist/worktree.js +95 -95
  680. package/package.json +8 -8
  681. package/dist/chunks/state-7jy1nsxc.js +0 -26
  682. package/dist/chunks/state-by5v678g.js +0 -18
  683. package/dist/chunks/state-nvdmc63m.js +0 -507
  684. package/dist/chunks/state-qk8sy7r3.js +0 -253
  685. /package/dist/chunks/{state-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{state-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{state-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{state-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{state-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{state-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{state-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{state-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{state-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{state-34c7v6d4.js → location-service-map-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{state-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{state-3asan66x.js → location-service-map-3asan66x.js} +0 -0
  697. /package/dist/chunks/{state-3t0ybcrp.js → location-service-map-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{state-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{state-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{state-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{state-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{state-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{state-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{state-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{state-53557ph1.js → location-service-map-53557ph1.js} +0 -0
  706. /package/dist/chunks/{state-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{state-5qd3pb7m.js → location-service-map-5qd3pb7m.js} +0 -0
  708. /package/dist/chunks/{state-6prwharc.js → location-service-map-6prwharc.js} +0 -0
  709. /package/dist/chunks/{state-6q2bdcd1.js → location-service-map-6q2bdcd1.js} +0 -0
  710. /package/dist/chunks/{state-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{state-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{state-822emrt2.js → location-service-map-822emrt2.js} +0 -0
  713. /package/dist/chunks/{state-84wd9syh.js → location-service-map-84wd9syh.js} +0 -0
  714. /package/dist/chunks/{state-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{state-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{state-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
  717. /package/dist/chunks/{state-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{state-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{state-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{state-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{state-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{state-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{state-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{state-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{state-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{state-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{state-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{state-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{state-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{state-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{state-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{state-df08tz66.js → location-service-map-df08tz66.js} +0 -0
  733. /package/dist/chunks/{state-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{state-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{state-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{state-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{state-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{state-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{state-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{state-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{state-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{state-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{state-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{state-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{state-g86h250q.js → location-service-map-g86h250q.js} +0 -0
  746. /package/dist/chunks/{state-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{state-gftt206x.js → location-service-map-gftt206x.js} +0 -0
  748. /package/dist/chunks/{state-hk9envan.js → location-service-map-hk9envan.js} +0 -0
  749. /package/dist/chunks/{state-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{state-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{state-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
  752. /package/dist/chunks/{state-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{state-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{state-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{state-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{state-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{state-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{state-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{state-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{state-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{state-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{state-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{state-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{state-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{state-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
  766. /package/dist/chunks/{state-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{state-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{state-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{state-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{state-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{state-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
  772. /package/dist/chunks/{state-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{state-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{state-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{state-x61499pn.js → location-service-map-x61499pn.js} +0 -0
  776. /package/dist/chunks/{state-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{state-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{state-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
  779. /package/dist/chunks/{state-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{state-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{state-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
  782. /package/dist/chunks/{state-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./state-62k0yxbf.js";
2
+ Service83,
3
+ node87
4
+ } from "./location-service-map-2y6zpsdj.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./state-tazgh4e4.js";
9
+ } from "./location-service-map-tazgh4e4.js";
10
10
  import {
11
11
  root2
12
- } from "./state-52gbbbb2.js";
12
+ } from "./location-service-map-kpxkaw22.js";
13
13
  import {
14
- Service76,
15
- node80
16
- } from "./state-9qk2kwmb.js";
14
+ Service80,
15
+ node84
16
+ } from "./location-service-map-9hp16pdx.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./state-rdw6cm16.js";
20
+ } from "./location-service-map-rdw6cm16.js";
21
21
  import {
22
22
  __export
23
- } from "./state-9rqn6x4v.js";
23
+ } from "./location-service-map-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,18 +29,18 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info5,
32
+ Info: () => Info4,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service26,
35
+ Service: () => Service19,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node29
37
+ node: () => node22
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
41
41
  import { FileDiff } from "@opencode/schema/file-diff";
42
42
  import { FileSystem } from "@opencode/schema/filesystem";
43
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
43
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
44
44
  import { VcsEvent } from "@opencode/schema/vcs-event";
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import { FSUtil } from "@opencode/util/fs-util";
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service26 extends Context.Service()("@opencode/Vcs") {
57
+ class Service19 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service26, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
- const location = yield* Service76;
62
- const bus = yield* Service80;
61
+ const location = yield* Service80;
62
+ const bus = yield* Service83;
63
63
  const root = yield* Effect.scope;
64
64
  const fork = yield* FiberSet.makeRuntime();
65
65
  const vcs = location.vcs;
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
71
71
  canonical: location.project.canonical,
72
72
  ...vcs ? { store: vcs.store } : {}
73
73
  };
74
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
74
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
75
75
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
76
76
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
77
77
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service26.of({
132
+ return Service19.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node29 = makeLocationNode({
191
- service: Service26,
190
+ var node22 = makeLocationNode({
191
+ service: Service19,
192
192
  layer,
193
- deps: [FSUtil.node, node80, node84]
193
+ deps: [FSUtil.node, node84, node87]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, InitializeError2, Service26, node29, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, InitializeError2, Service19, node22, exports_vcs };
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service59
3
- } from "./state-m4g7grr3.js";
2
+ Service78
3
+ } from "./location-service-map-v5fbhvxb.js";
4
4
  import {
5
- Service16,
5
+ Service15,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./state-77f8qgj3.js";
8
+ } from "./location-service-map-x24mjvnp.js";
9
9
  import {
10
- Service28
11
- } from "./state-0s32db7e.js";
10
+ Service16
11
+ } from "./location-service-map-vc9hav61.js";
12
12
  import {
13
- Service72
14
- } from "./state-yfng7xhx.js";
13
+ Service56
14
+ } from "./location-service-map-8r1f1zwq.js";
15
15
  import {
16
- Service71
17
- } from "./state-1b60b23y.js";
16
+ Service14
17
+ } from "./location-service-map-dm2pdpx2.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./state-6prwharc.js";
20
+ } from "./location-service-map-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./state-9rqn6x4v.js";
23
+ } from "./location-service-map-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input4,
29
- Output: () => Output3,
30
- Plugin: () => Plugin39,
28
+ Input: () => Input12,
29
+ Output: () => Output8,
30
+ Plugin: () => Plugin49,
31
31
  WriteTool: () => exports_write,
32
- name: () => name4,
33
- toModelContent: () => toModelContent2
32
+ name: () => name12,
33
+ toModelContent: () => toModelContent6
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name4 = "write";
39
- var Input4 = Schema.Struct({
38
+ var name12 = "write";
39
+ var Input12 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output3 = Schema.Struct({
45
+ var Output8 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin39 = {
51
+ var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin49 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service71;
56
- const fileMutation = yield* Service16;
57
- const environment = yield* Service59;
58
- const formatter = yield* Service28;
59
- const permission = yield* Service72;
55
+ const access = yield* Service14;
56
+ const fileMutation = yield* Service15;
57
+ const environment = yield* Service78;
58
+ const formatter = yield* Service16;
59
+ const permission = yield* Service56;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name4,
61
+ name: name12,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input4,
69
- output: Output3,
68
+ input: Input12,
69
+ output: Output8,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name4, Input4, Output3, toModelContent2, Plugin39, exports_write };
101
+ export { name12, Input12, Output8, toModelContent6, Plugin49, exports_write };
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./state-z5v4ffb3.js";
5
+ } from "./location-service-map-z5v4ffb3.js";
6
6
  import {
7
- Service59,
8
- node62
9
- } from "./state-m4g7grr3.js";
7
+ Service78,
8
+ node81
9
+ } from "./location-service-map-v5fbhvxb.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./state-8d7r5vzw.js";
12
+ } from "./location-service-map-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./state-9rqn6x4v.js";
15
+ } from "./location-service-map-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error2,
20
+ Error: () => Error4,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service19,
24
- node: () => node21
23
+ Service: () => Service77,
24
+ node: () => node80
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service19 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service77 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error2({ message, cause });
63
+ var failure = (message, cause) => new Error4({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service19, Effect.gen(function* () {
67
- const environment = yield* Service59;
66
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
67
+ const environment = yield* Service78;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service19.of({
95
+ return Service77.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node21 = makeLocationNode({ service: Service19, layer, deps: [node62, RipgrepBinary2.node] });
178
+ var node80 = makeLocationNode({ service: Service77, layer, deps: [node81, RipgrepBinary2.node] });
179
179
 
180
- export { Error2, InvalidPatternError2, Service19, node21, exports_ripgrep };
180
+ export { Error4, InvalidPatternError2, Service77, node80, exports_ripgrep };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./state-6q2bdcd1.js";
3
+ } from "./location-service-map-6q2bdcd1.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./state-mthfcyeq.js";
2
+ Service84,
3
+ node88
4
+ } from "./location-service-map-hv5wevtb.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./state-3hepkmqq.js";
7
+ } from "./location-service-map-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./state-9rqn6x4v.js";
10
+ } from "./location-service-map-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service66,
17
- node: () => node70
16
+ Service: () => Service62,
17
+ node: () => node65
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service66 extends Context.Service()("@opencode/KV") {
22
+ class Service62 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service66, Effect.gen(function* () {
25
- const db = (yield* Service81).db;
26
- return Service66.of({
24
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
25
+ const db = (yield* Service84).db;
26
+ return Service62.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node70 = makeGlobalNode({ service: Service66, layer, deps: [node85] });
54
+ var node65 = makeGlobalNode({ service: Service62, layer, deps: [node88] });
55
55
 
56
- export { Service66, node70, exports_kv };
56
+ export { Service62, node65, exports_kv };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./state-y8cydn3q.js";
3
+ } from "./location-service-map-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./location-service-map-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isCheckpoint2,
3
3
  decode2
4
- } from "./state-4j4tgtq5.js";
4
+ } from "./location-service-map-3sj8yt8v.js";
5
5
 
6
6
  // src/session/runner/to-llm-message.ts
7
7
  import {
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./state-z5v4ffb3.js";
5
+ } from "./location-service-map-z5v4ffb3.js";
6
6
  import {
7
- Service59,
8
- node62
9
- } from "./state-m4g7grr3.js";
7
+ Service78,
8
+ node81
9
+ } from "./location-service-map-v5fbhvxb.js";
10
10
  import {
11
- Content2
12
- } from "./state-ykd4jxva.js";
11
+ Content3
12
+ } from "./location-service-map-wwwjdszg.js";
13
13
  import {
14
14
  detect2
15
- } from "./state-3smtnn6g.js";
15
+ } from "./location-service-map-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./state-9rqn6x4v.js";
18
+ } from "./location-service-map-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service12,
36
+ Service: () => Service13,
37
37
  TextPage: () => TextPage2,
38
- node: () => node14,
38
+ node: () => node15,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
89
89
  });
90
90
  var FileContent2 = Schema.Struct({
91
91
  type: Schema.Literal("file"),
92
- ...Content2.fields
92
+ ...Content3.fields
93
93
  }).annotate({ identifier: "ReadTool.FileContent" });
94
94
 
95
95
  class TextPage2 extends Schema.Class("ReadTool.TextPage")({
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service13 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service12, Effect.gen(function* () {
334
- const environment = yield* Service59;
335
- return Service12.of({
333
+ var layer = Layer.effect(Service13, Effect.gen(function* () {
334
+ const environment = yield* Service78;
335
+ return Service13.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node14 = makeLocationNode({ service: Service12, layer, deps: [node62] });
340
+ var node15 = makeLocationNode({ service: Service13, layer, deps: [node81] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node14, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service13, read2, node15, exports_read_filesystem };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2
4
- } from "./state-mzc2a39c.js";
4
+ } from "./location-service-map-kx705y8y.js";
5
5
  import {
6
6
  CorrectedError2,
7
7
  BlockedError2
8
- } from "./state-yfng7xhx.js";
8
+ } from "./location-service-map-8r1f1zwq.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./state-q5gkxxjb.js";
11
+ } from "./location-service-map-f4d9c169.js";
12
12
  import {
13
13
  VariantUnavailableError2,
14
14
  UnsupportedPackageError2,
@@ -16,11 +16,11 @@ import {
16
16
  ModelInitializationError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./state-f7ge0a8n.js";
19
+ } from "./location-service-map-v1f6cgh9.js";
20
20
  import {
21
21
  ModelNotSelectedError2,
22
22
  ModelUnavailableError2
23
- } from "./state-3w2eqbz4.js";
23
+ } from "./location-service-map-rtb52qhq.js";
24
24
 
25
25
  // src/session/to-session-error.ts
26
26
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -2,28 +2,28 @@ import {
2
2
  Resource2,
3
3
  ResourceTemplate2,
4
4
  ResourceContent2,
5
- Service41
6
- } from "./state-wrvjmzy4.js";
5
+ Service33
6
+ } from "./location-service-map-fr637340.js";
7
7
  import {
8
- Service72
9
- } from "./state-yfng7xhx.js";
8
+ Service56
9
+ } from "./location-service-map-8r1f1zwq.js";
10
10
  import {
11
11
  __export
12
- } from "./state-9rqn6x4v.js";
12
+ } from "./location-service-map-9rqn6x4v.js";
13
13
 
14
14
  // src/tool/plugin/mcp-resource.ts
15
15
  var exports_mcp_resource = {};
16
16
  __export(exports_mcp_resource, {
17
17
  McpResourceTools: () => exports_mcp_resource,
18
- Plugin: () => Plugin49
18
+ Plugin: () => Plugin43
19
19
  });
20
20
  import { ToolFailure } from "@opencode/ai";
21
21
  import { Effect, Schema } from "effect";
22
- var Plugin49 = {
22
+ var Plugin43 = {
23
23
  id: "opencode.tools.mcp-resources",
24
24
  effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
25
- const mcp = yield* Service41;
26
- const permission = yield* Service72;
25
+ const mcp = yield* Service33;
26
+ const permission = yield* Service56;
27
27
  yield* ctx.tool.transform((editor) => {
28
28
  editor.add({
29
29
  name: "list_mcp_resources",
@@ -93,4 +93,4 @@ var Plugin49 = {
93
93
  })
94
94
  };
95
95
 
96
- export { Plugin49, exports_mcp_resource };
96
+ export { Plugin43, exports_mcp_resource };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./state-emrn6kk6.js";
3
+ } from "./location-service-map-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./state-ad6fy242.js";
6
+ } from "./location-service-map-snr9kmf9.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./state-yndsvvt3.js";
9
+ } from "./location-service-map-3fxhvxgd.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./state-kkqpbp86.js";
3
+ } from "./location-service-map-e3h34950.js";
4
4
  import {
5
- Service61
6
- } from "./state-24dsd3mh.js";
5
+ Service69
6
+ } from "./location-service-map-sten0bqb.js";
7
7
  import {
8
8
  __export
9
- } from "./state-9rqn6x4v.js";
9
+ } from "./location-service-map-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/verbosity.ts
12
12
  var exports_verbosity = {};
13
13
  __export(exports_verbosity, {
14
- Plugin: () => Plugin15,
14
+ Plugin: () => Plugin29,
15
15
  VerbosityPlugin: () => exports_verbosity
16
16
  });
17
17
  import { define } from "@opencode/plugin/effect/plugin";
@@ -27,10 +27,10 @@ var gateways = new Set([
27
27
  "@opencode/ai/providers/vercel-ai-gateway",
28
28
  aisdk2("@ai-sdk/gateway")
29
29
  ]);
30
- var Plugin15 = define({
30
+ var Plugin29 = define({
31
31
  id: "opencode.prompt.verbosity",
32
32
  effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
33
- const models = yield* Service61;
33
+ const models = yield* Service69;
34
34
  const hook = (event) => Effect.gen(function* () {
35
35
  if (event.options.textVerbosity !== undefined)
36
36
  return;
@@ -70,4 +70,4 @@ function openAIModelID(model) {
70
70
  return id.slice("openai/".length);
71
71
  }
72
72
 
73
- export { Plugin15, exports_verbosity };
73
+ export { Plugin29, exports_verbosity };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service57
3
- } from "./state-h78379q5.js";
2
+ Service53
3
+ } from "./location-service-map-3br01mcr.js";
4
4
  import {
5
- Service6
6
- } from "./state-e4atdt0t.js";
5
+ Service7
6
+ } from "./location-service-map-dewj8197.js";
7
7
  import {
8
8
  observe2
9
- } from "./state-qsdy395h.js";
9
+ } from "./location-service-map-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./state-9rqn6x4v.js";
12
+ } from "./location-service-map-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compaction.ts
15
15
  var exports_compaction = {};
16
16
  __export(exports_compaction, {
17
17
  ConfigCompactionPlugin: () => exports_compaction,
18
- Plugin: () => Plugin24
18
+ Plugin: () => Plugin14
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin24 = define({
22
+ var Plugin14 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service57;
26
- const compaction = yield* Service6;
25
+ const config = yield* Service53;
26
+ const compaction = yield* Service7;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -39,4 +39,4 @@ var Plugin24 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin24, exports_compaction };
42
+ export { Plugin14, exports_compaction };