@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,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./state-z5v4ffb3.js";
3
+ } from "./location-service-map-z5v4ffb3.js";
4
4
  import {
5
- Service81,
6
- node85
7
- } from "./state-mthfcyeq.js";
5
+ Service84,
6
+ node88
7
+ } from "./location-service-map-hv5wevtb.js";
8
8
  import {
9
- Service80,
10
- node84
11
- } from "./state-62k0yxbf.js";
9
+ Service83,
10
+ node87
11
+ } from "./location-service-map-2y6zpsdj.js";
12
12
  import {
13
- Service78,
14
- node82
15
- } from "./state-k9t3kwqs.js";
13
+ Service82,
14
+ node86
15
+ } from "./location-service-map-rfrf17aw.js";
16
16
  import {
17
17
  ID18,
18
18
  Current3,
19
- Info28,
19
+ Info29,
20
20
  UpdateInput4,
21
- Event20,
21
+ Event21,
22
22
  Vcs3
23
- } from "./state-tg7bkhef.js";
23
+ } from "./location-service-map-xecxzrdp.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./state-h2b79v29.js";
27
+ } from "./location-service-map-3cegwx68.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./state-1dvck2a7.js";
30
+ } from "./location-service-map-84h8c373.js";
31
31
  import {
32
32
  __export
33
- } from "./state-9rqn6x4v.js";
33
+ } from "./location-service-map-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
39
  ID: () => ID17,
40
- Info: () => Info27,
41
- NotFoundError: () => NotFoundError10,
40
+ Info: () => Info28,
41
+ NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service77,
43
+ Service: () => Service81,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node81,
46
+ node: () => node85,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -58,10 +58,10 @@ import { Hash } from "@opencode/util/hash";
58
58
  var ID17 = ID18;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info27 = Info28;
61
+ var Info28 = Info29;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
64
+ class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
65
65
  projectID: ID17
66
66
  }) {
67
67
  }
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
72
72
  });
73
73
  var ACTIVATE_INTERVAL = 60000;
74
74
 
75
- class Service77 extends Context.Service()("@opencode/Project") {
75
+ class Service81 extends Context.Service()("@opencode/Project") {
76
76
  }
77
77
  function fromRow(row) {
78
78
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -95,12 +95,12 @@ function fromRow(row) {
95
95
  sandboxes: row.sandboxes
96
96
  };
97
97
  }
98
- var layer = Layer.effect(Service77, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
- const git = yield* Service78;
100
+ const git = yield* Service82;
101
101
  const proc = yield* AppProcess.Service;
102
- const bus = yield* Service80;
103
- const db = (yield* Service81).db;
102
+ const bus = yield* Service83;
103
+ const db = (yield* Service84).db;
104
104
  const announcing = new Set;
105
105
  const persist = Effect.fnUntraced(function* (project) {
106
106
  const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
108
108
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
109
109
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
110
110
  if (row)
111
- yield* bus.publish(Event20.Updated, fromRow(row));
111
+ yield* bus.publish(Event21.Updated, fromRow(row));
112
112
  }
113
113
  if (!project.vcs)
114
114
  return project;
@@ -168,9 +168,9 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
168
168
  time_updated: Date.now()
169
169
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
170
170
  if (!row)
171
- return yield* new NotFoundError10({ projectID: input.projectID });
171
+ return yield* new NotFoundError11({ projectID: input.projectID });
172
172
  const project = fromRow(row);
173
- yield* bus.publish(Event20.Updated, project);
173
+ yield* bus.publish(Event21.Updated, project);
174
174
  return project;
175
175
  });
176
176
  const activated = new Map;
@@ -181,7 +181,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
181
181
  activated.set(projectID, now);
182
182
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
183
183
  if (row)
184
- yield* bus.publish(Event20.Updated, fromRow(row));
184
+ yield* bus.publish(Event21.Updated, fromRow(row));
185
185
  });
186
186
  const cached = Effect.fnUntraced(function* (dir) {
187
187
  return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
@@ -282,12 +282,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
282
282
  vcs: undefined
283
283
  });
284
284
  });
285
- return Service77.of({ list, update, activate, resolve });
285
+ return Service81.of({ list, update, activate, resolve });
286
286
  }));
287
- var node81 = makeGlobalNode({
288
- service: Service77,
287
+ var node85 = makeGlobalNode({
288
+ service: Service81,
289
289
  layer,
290
- deps: [node84, node85, FSUtil.node, node82, AppProcess.node]
290
+ deps: [node87, node88, FSUtil.node, node86, AppProcess.node]
291
291
  });
292
292
 
293
- export { ID17, Vcs2, Current2, Info27, UpdateInput3, NotFoundError10, root2, Service77, node81, exports_project };
293
+ export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service81, node85, exports_project };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./state-gftt206x.js";
3
+ } from "./location-service-map-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./state-4pa8nav4.js";
6
+ } from "./location-service-map-m5jcjszt.js";
7
7
  import {
8
8
  __export
9
- } from "./state-9rqn6x4v.js";
9
+ } from "./location-service-map-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
12
  var exports_error2 = {};
@@ -19,7 +19,7 @@ __export(exports_error2, {
19
19
  InboxConflictError: () => InboxConflictError2,
20
20
  MessageDecodeError: () => MessageDecodeError2,
21
21
  MessageNotFoundError: () => MessageNotFoundError2,
22
- NotFoundError: () => NotFoundError9,
22
+ NotFoundError: () => NotFoundError7,
23
23
  PromptConflictError: () => PromptConflictError2,
24
24
  SessionErrors: () => exports_error2,
25
25
  SkillNotFoundError: () => SkillNotFoundError2,
@@ -31,7 +31,7 @@ import { Agent } from "@opencode/schema/agent";
31
31
  import { Skill } from "@opencode/schema/skill";
32
32
  import { SessionError } from "@opencode/schema/session-error";
33
33
 
34
- class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
34
+ class NotFoundError7 extends Schema.TaggedError()("Session.NotFoundError", {
35
35
  sessionID: SessionSchema2.ID
36
36
  }) {
37
37
  }
@@ -116,4 +116,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
116
116
  }) {
117
117
  }
118
118
 
119
- export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
119
+ export { NotFoundError7, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
@@ -1,28 +1,28 @@
1
1
  import {
2
- ID8,
2
+ ID12,
3
3
  mergeOverlay2
4
- } from "./state-kkqpbp86.js";
4
+ } from "./location-service-map-e3h34950.js";
5
5
  import {
6
- ID7,
6
+ ID11,
7
7
  VariantID2,
8
- Info15,
8
+ Info20,
9
9
  compatibility2
10
- } from "./state-24dsd3mh.js";
10
+ } from "./location-service-map-sten0bqb.js";
11
11
  import {
12
12
  __export
13
- } from "./state-9rqn6x4v.js";
13
+ } from "./location-service-map-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
- var exports_models = {};
17
- __export(exports_models, {
18
- ModalModels: () => exports_models,
19
- derive: () => derive2,
20
- get: () => get2,
21
- load: () => load2
16
+ var exports_models2 = {};
17
+ __export(exports_models2, {
18
+ ModalModels: () => exports_models2,
19
+ derive: () => derive3,
20
+ get: () => get3,
21
+ load: () => load3
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
25
- var providerID = ID8.make("modal");
25
+ var providerID = ID12.make("modal");
26
26
  var ReasoningOption = Schema.Struct({
27
27
  type: Schema.Literal("effort"),
28
28
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
54
54
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
55
55
  var decodeResponse = Schema.decodeUnknownSync(Response);
56
56
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
57
- async function get2(baseURL, apiKey, existing) {
58
- return derive2(baseURL, await load2(baseURL, apiKey), existing);
57
+ async function get3(baseURL, apiKey, existing) {
58
+ return derive3(baseURL, await load3(baseURL, apiKey), existing);
59
59
  }
60
- async function load2(baseURL, apiKey) {
60
+ async function load3(baseURL, apiKey) {
61
61
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
71
71
  return model ? [model] : [];
72
72
  });
73
73
  }
74
- function derive2(baseURL, remote, existing) {
74
+ function derive3(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
78
- const template = templates.get(ID7.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID7.make(item.id);
78
+ const template = templates.get(ID11.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID11.make(item.id);
80
80
  result.set(id, build(id, item, baseURL, template));
81
81
  }
82
82
  return result;
@@ -94,10 +94,10 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info15.make({
98
- ...Info15.default(providerID, id),
97
+ return Info20.make({
98
+ ...Info20.default(providerID, id),
99
99
  id,
100
- modelID: ID7.make(remote.id),
100
+ modelID: ID11.make(remote.id),
101
101
  providerID,
102
102
  name: remote.name ?? previous?.name ?? remote.id,
103
103
  family: previous?.family,
@@ -144,4 +144,4 @@ function variants(remote) {
144
144
  return [...seen.values()];
145
145
  }
146
146
 
147
- export { get2, load2, derive2, exports_models };
147
+ export { get3, load3, derive3, exports_models2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./state-kkqpbp86.js";
4
+ } from "./location-service-map-e3h34950.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./location-service-map-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./state-z5v4ffb3.js";
4
+ } from "./location-service-map-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service78,
9
- node82
10
- } from "./state-k9t3kwqs.js";
8
+ Service82,
9
+ node86
10
+ } from "./location-service-map-rfrf17aw.js";
11
11
  import {
12
- Service76,
13
- node80
14
- } from "./state-9qk2kwmb.js";
12
+ Service80,
13
+ node84
14
+ } from "./location-service-map-9hp16pdx.js";
15
15
  import {
16
16
  create3
17
- } from "./state-rdw6cm16.js";
17
+ } from "./location-service-map-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./state-9rqn6x4v.js";
20
+ } from "./location-service-map-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID6,
27
- Service: () => Service52,
25
+ Error: () => Error2,
26
+ ID: () => ID4,
27
+ Service: () => Service40,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node55,
29
+ node: () => node42,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,22 +34,22 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID6 } from "@opencode/schema/snapshot";
37
+ import { ID as ID4 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service52 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service40 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service52, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service78;
50
+ const git = yield* Service82;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service76;
52
+ const location = yield* Service80;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID6.make(yield* git.tree.capture({
85
+ return ID4.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service52.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service40.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node55 = makeLocationNode({
144
- service: Service52,
143
+ var node42 = makeLocationNode({
144
+ service: Service40,
145
145
  layer,
146
- deps: [FSUtil.node, node82, Global.node, node80]
146
+ deps: [FSUtil.node, node86, Global.node, node84]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service52, Service52.of({
148
+ var noopLayer3 = Layer.succeed(Service40, Service40.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service52, Service52.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error3 && cause.operation === operation)
157
+ if (cause instanceof Error2 && cause.operation === operation)
158
158
  return cause;
159
- return new Error3({
159
+ return new Error2({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID6, Error3, Service52, node55, noopLayer3, exports_snapshot2 };
166
+ export { ID4, Error2, Service40, node42, noopLayer3, exports_snapshot2 };
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID16 = Session.ID;
5
- var Info25 = Session.Info;
4
+ var ID9 = Session.ID;
5
+ var Info17 = Session.Info;
6
6
 
7
- export { ID16, Info25, SessionSchema2 };
7
+ export { ID9, Info17, SessionSchema2 };
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./state-emrn6kk6.js";
7
+ } from "./location-service-map-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./state-3v8g72cx.js";
3
+ } from "./location-service-map-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./location-service-map-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
- var exports_mcp = {};
10
- __export(exports_mcp, {
9
+ var exports_mcp2 = {};
10
+ __export(exports_mcp2, {
11
11
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
12
- WebSearchMcp: () => exports_mcp,
12
+ WebSearchMcp: () => exports_mcp2,
13
13
  call: () => call2,
14
14
  parseResponse: () => parseResponse2
15
15
  });
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
61
61
  }));
62
62
  });
63
63
 
64
- export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
64
+ export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp2 };