@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,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./state-z5v4ffb3.js";
3
+ } from "./location-service-map-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service57
7
- } from "./state-h78379q5.js";
6
+ Service53
7
+ } from "./location-service-map-3br01mcr.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./state-2a5m3afh.js";
10
+ } from "./location-service-map-2a5m3afh.js";
11
11
  import {
12
- Service59
13
- } from "./state-m4g7grr3.js";
12
+ Service78
13
+ } from "./location-service-map-v5fbhvxb.js";
14
14
  import {
15
- Service48
16
- } from "./state-wm8vp7b3.js";
15
+ Service60
16
+ } from "./location-service-map-pwqp88nm.js";
17
17
  import {
18
- Service72
19
- } from "./state-yfng7xhx.js";
18
+ Service56
19
+ } from "./location-service-map-8r1f1zwq.js";
20
20
  import {
21
- Service71,
21
+ Service14,
22
22
  resolvePath2
23
- } from "./state-1b60b23y.js";
23
+ } from "./location-service-map-dm2pdpx2.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./state-vzs5sf6e.js";
29
+ } from "./location-service-map-vzs5sf6e.js";
30
30
  import {
31
- Service62,
31
+ Service48,
32
32
  name15
33
- } from "./state-9dgxaq8y.js";
33
+ } from "./location-service-map-jz7r8edy.js";
34
34
  import {
35
- NotFoundError6,
36
- Service55
37
- } from "./state-ms5r0hkh.js";
35
+ NotFoundError5,
36
+ Service42
37
+ } from "./location-service-map-xdc3sm7c.js";
38
38
  import {
39
- Service29
40
- } from "./state-hw2pxhp3.js";
39
+ Service21
40
+ } from "./location-service-map-anwrx3vb.js";
41
41
  import {
42
42
  scan2
43
- } from "./state-bgecxp98.js";
43
+ } from "./location-service-map-egh0nd0j.js";
44
44
  import {
45
45
  __export
46
- } from "./state-9rqn6x4v.js";
46
+ } from "./location-service-map-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell2 = {};
50
50
  __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input8,
53
- Plugin: () => Plugin44,
52
+ Input: () => Input11,
53
+ Plugin: () => Plugin48,
54
54
  ShellTool: () => exports_shell2,
55
- name: () => name8
55
+ name: () => name11
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name8 = "shell";
59
+ var name11 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input8 = Schema.Struct({
73
+ var Input11 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
116
116
  truncated: false,
117
117
  status: "running"
118
118
  });
119
- var Plugin44 = {
119
+ var Plugin48 = {
120
120
  id: "opencode.tool.shell",
121
121
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
122
- const sessions = yield* Service29;
123
- const jobs = yield* Service48;
122
+ const sessions = yield* Service21;
123
+ const jobs = yield* Service60;
124
124
  const scope = yield* Scope.Scope;
125
- const environment = yield* Service59;
126
- const access = yield* Service71;
127
- const shell = yield* Service55;
128
- const shellSelect = yield* Service62;
125
+ const environment = yield* Service78;
126
+ const access = yield* Service14;
127
+ const shell = yield* Service42;
128
+ const shellSelect = yield* Service48;
129
129
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
130
- const permission = yield* Service72;
131
- const config = yield* Service57;
130
+ const permission = yield* Service56;
131
+ const config = yield* Service53;
132
132
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
133
133
  const source = {
134
134
  type: "tool",
@@ -147,7 +147,7 @@ var Plugin44 = {
147
147
  yield* access.authorizeExternal([target, ...directories], context);
148
148
  if (parsed.commands.length > 0)
149
149
  yield* permission.assert({
150
- action: name8,
150
+ action: name11,
151
151
  resources: parsed.commands.map((command) => command.resource),
152
152
  save: parsed.commands.map((command) => command.save),
153
153
  sessionID: context.sessionID,
@@ -184,10 +184,10 @@ var Plugin44 = {
184
184
  yield* jobs.completeBackground(info.notificationID);
185
185
  }, Effect.forkIn(scope, { startImmediately: true }));
186
186
  yield* ctx.tool.transform((editor) => editor.add({
187
- name: name8,
187
+ name: name11,
188
188
  options: { codemode: false },
189
189
  description: description(),
190
- input: Input8,
190
+ input: Input11,
191
191
  output: Output,
192
192
  execute: (input, context) => Effect.gen(function* () {
193
193
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -210,7 +210,7 @@ var Plugin44 = {
210
210
  const run = Effect.gen(function* () {
211
211
  const result = yield* shell.result(info);
212
212
  if (!result.capture)
213
- return yield* new NotFoundError6({ id: info.id });
213
+ return yield* new NotFoundError5({ id: info.id });
214
214
  const output = output2(result);
215
215
  return {
216
216
  ...output,
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
224
224
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
225
225
  const job = yield* jobs.start({
226
226
  id: info.id,
227
- type: name8,
227
+ type: name11,
228
228
  title: info.command,
229
229
  metadata: { sessionID: context.sessionID, shellID: info.id },
230
230
  recovery: {
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
254
254
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
255
255
  })).pipe(Effect.orDie);
256
256
  const hook = (event) => Effect.gen(function* () {
257
- const tool = event.tools[name8];
257
+ const tool = event.tools[name11];
258
258
  if (!tool)
259
259
  return;
260
260
  tool.description = description(name15(yield* compatibleShell));
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
265
265
  })
266
266
  };
267
267
 
268
- export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin44, exports_shell2 };
268
+ export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin48, exports_shell2 };
@@ -2,42 +2,42 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./state-z5v4ffb3.js";
5
+ } from "./location-service-map-z5v4ffb3.js";
6
6
  import {
7
- Service76,
8
- node80
9
- } from "./state-9qk2kwmb.js";
7
+ Service80,
8
+ node84
9
+ } from "./location-service-map-9hp16pdx.js";
10
10
  import {
11
- Service18,
12
- node20
13
- } from "./state-80jhpvy9.js";
11
+ Service76,
12
+ node79
13
+ } from "./location-service-map-ppzsh8xz.js";
14
14
  import {
15
15
  __export
16
- } from "./state-9rqn6x4v.js";
16
+ } from "./location-service-map-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content2,
21
+ Content: () => Content3,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event4,
27
+ Event: () => Event20,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
- ListInput: () => ListInput2,
32
+ ListInput: () => ListInput5,
33
33
  Match: () => Match2,
34
- NotFoundError: () => NotFoundError3,
34
+ NotFoundError: () => NotFoundError10,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service17,
36
+ Service: () => Service75,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node19
40
+ node: () => node78
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
53
53
  data: Schema.Uint8Array
54
54
  });
55
55
 
56
- class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
56
+ class NotFoundError10 extends Schema.TaggedError()("FileSystem.NotFoundError", {
57
57
  path: RelativePath2
58
58
  }) {
59
59
  }
@@ -75,14 +75,14 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
75
75
  return `Access denied to directory: ${this.directory}`;
76
76
  }
77
77
  }
78
- var Content2 = Schema.Struct({
78
+ var Content3 = Schema.Struct({
79
79
  uri: Schema.String,
80
80
  name: Schema.String.pipe(Schema.optional),
81
81
  content: Schema.String,
82
82
  encoding: Schema.Literals(["utf8", "base64"]),
83
83
  mime: Schema.String
84
84
  }).annotate({ identifier: "FileSystem.Content" });
85
- var ListInput2 = Schema.Struct({
85
+ var ListInput5 = Schema.Struct({
86
86
  path: Schema.String.pipe(Schema.optional)
87
87
  });
88
88
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
105
105
  limit: Schema.optionalKey(PositiveInt2)
106
106
  }) {
107
107
  }
108
- var Event4 = FileSystem.Event;
108
+ var Event20 = FileSystem.Event;
109
109
 
110
- class Service17 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service75 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service75, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
- const location = yield* Service76;
115
- const search = yield* Service18;
114
+ const location = yield* Service80;
115
+ const search = yield* Service76;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
122
122
  }));
123
123
  const resolve = Effect.fnUntraced(function* (input) {
124
124
  if (input.includes("\x00"))
125
- return yield* Effect.fail(new NotFoundError3({ path: input }));
125
+ return yield* Effect.fail(new NotFoundError10({ path: input }));
126
126
  const absolute = path.resolve(location.directory, input);
127
127
  if (!FSUtil.contains(location.directory, absolute))
128
- return yield* Effect.fail(new NotFoundError3({ path: input }));
129
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input })), (_, error) => Effect.die(error)));
128
+ return yield* Effect.fail(new NotFoundError10({ path: input }));
129
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input })), (_, error) => Effect.die(error)));
130
130
  if (!FSUtil.contains(root, real))
131
- return yield* Effect.fail(new NotFoundError3({ path: input }));
131
+ return yield* Effect.fail(new NotFoundError10({ path: input }));
132
132
  return { absolute, real, directory: location.directory };
133
133
  });
134
- return Service17.of({
134
+ return Service75.of({
135
135
  find: search.find,
136
136
  read: Effect.fn("FileSystem.read")(function* (input) {
137
137
  const target = yield* resolve(input.path);
138
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
138
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "File")
140
- return yield* Effect.fail(new NotFoundError3({ path: input.path }));
140
+ return yield* Effect.fail(new NotFoundError10({ path: input.path }));
141
141
  return {
142
142
  mime: FSUtil.mimeType(target.real),
143
143
  size: Number(info.size),
@@ -170,10 +170,10 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
170
170
  })
171
171
  });
172
172
  }));
173
- var node19 = makeLocationNode({
174
- service: Service17,
173
+ var node78 = makeLocationNode({
174
+ service: Service75,
175
175
  layer: baseLayer,
176
- deps: [FSUtil.node, node80, node20]
176
+ deps: [FSUtil.node, node84, node79]
177
177
  });
178
178
 
179
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service17, node19, exports_filesystem, Entry2, Match2, Submatch2 };
179
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError10, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event20, Service75, node78, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./state-dpkg50ah.js";
3
+ } from "./location-service-map-dpkg50ah.js";
4
4
  import {
5
- Service59,
6
- node62
7
- } from "./state-m4g7grr3.js";
5
+ Service78,
6
+ node81
7
+ } from "./location-service-map-v5fbhvxb.js";
8
8
  import {
9
9
  __export
10
- } from "./state-9rqn6x4v.js";
10
+ } from "./location-service-map-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service16,
17
- node: () => node18,
16
+ Service: () => Service15,
17
+ node: () => node17,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service16 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service15 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service16, Effect.gen(function* () {
38
- const environment = yield* Service59;
37
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
38
+ const environment = yield* Service78;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service16.of({ withLock, write, writeTextPreservingBom });
59
+ return Service15.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node18 = makeLocationNode({ service: Service16, layer, deps: [node62] });
61
+ var node17 = makeLocationNode({ service: Service15, layer, deps: [node81] });
62
62
 
63
- export { Service16, readText2, syncTextBom2, node18, exports_file_mutation };
63
+ export { Service15, readText2, syncTextBom2, node17, exports_file_mutation };
@@ -1,150 +1,150 @@
1
1
  import {
2
2
  _20260127222353_familiar_lady_ursula_default
3
- } from "./state-jzg6c2d5.js";
3
+ } from "./location-service-map-jzg6c2d5.js";
4
4
  import {
5
5
  _20260211171708_add_project_commands_default
6
- } from "./state-q3sfg36h.js";
6
+ } from "./location-service-map-q3sfg36h.js";
7
7
  import {
8
8
  _20260213144116_wakeful_the_professor_default
9
- } from "./state-1cnp2v09.js";
9
+ } from "./location-service-map-1cnp2v09.js";
10
10
  import {
11
11
  _20260225215848_workspace_default
12
- } from "./state-rcb2kzg1.js";
12
+ } from "./location-service-map-rcb2kzg1.js";
13
13
  import {
14
14
  _20260227213759_add_session_workspace_id_default
15
- } from "./state-msx8hqn2.js";
15
+ } from "./location-service-map-msx8hqn2.js";
16
16
  import {
17
17
  _20260228203230_blue_harpoon_default
18
- } from "./state-bkyjaxrp.js";
18
+ } from "./location-service-map-bkyjaxrp.js";
19
19
  import {
20
20
  _20260303231226_add_workspace_fields_default
21
- } from "./state-g86h250q.js";
21
+ } from "./location-service-map-g86h250q.js";
22
22
  import {
23
23
  _20260309230000_move_org_to_state_default
24
- } from "./state-jr7sbwjy.js";
24
+ } from "./location-service-map-jr7sbwjy.js";
25
25
  import {
26
26
  _20260312043431_session_message_cursor_default
27
- } from "./state-7m9af43g.js";
27
+ } from "./location-service-map-7m9af43g.js";
28
28
  import {
29
29
  _20260323234822_events_default
30
- } from "./state-j2ntwpah.js";
30
+ } from "./location-service-map-j2ntwpah.js";
31
31
  import {
32
32
  _20260410174513_workspace_name_default
33
- } from "./state-njntx4h6.js";
33
+ } from "./location-service-map-njntx4h6.js";
34
34
  import {
35
35
  _20260413175956_chief_energizer_default
36
- } from "./state-qrg20bc0.js";
36
+ } from "./location-service-map-qrg20bc0.js";
37
37
  import {
38
38
  _20260423070820_add_icon_url_override_default
39
- } from "./state-z9919s4g.js";
39
+ } from "./location-service-map-z9919s4g.js";
40
40
  import {
41
41
  _20260427172553_slow_nightmare_default
42
- } from "./state-43n2bw4t.js";
42
+ } from "./location-service-map-43n2bw4t.js";
43
43
  import {
44
44
  _20260428004200_add_session_path_default
45
- } from "./state-n3j8tn72.js";
45
+ } from "./location-service-map-n3j8tn72.js";
46
46
  import {
47
47
  _20260501142318_next_venus_default
48
- } from "./state-d9jj8t3e.js";
48
+ } from "./location-service-map-d9jj8t3e.js";
49
49
  import {
50
50
  _20260504145000_add_sync_owner_default
51
- } from "./state-fd410y7t.js";
51
+ } from "./location-service-map-fd410y7t.js";
52
52
  import {
53
53
  _20260507164347_add_workspace_time_default
54
- } from "./state-e5kj55wp.js";
54
+ } from "./location-service-map-e5kj55wp.js";
55
55
  import {
56
56
  _20260510033149_session_usage_default
57
- } from "./state-f6n9ztr4.js";
57
+ } from "./location-service-map-f6n9ztr4.js";
58
58
  import {
59
59
  _20260511000411_data_migration_state_default
60
- } from "./state-q74kybfr.js";
60
+ } from "./location-service-map-q74kybfr.js";
61
61
  import {
62
62
  _20260511173437_session_metadata_default
63
- } from "./state-53557ph1.js";
63
+ } from "./location-service-map-53557ph1.js";
64
64
  import {
65
65
  _20260601010001_normalize_storage_paths_default
66
- } from "./state-7akdwqpd.js";
66
+ } from "./location-service-map-7akdwqpd.js";
67
67
  import {
68
68
  _20260601202201_amazing_prowler_default
69
- } from "./state-wer8tq1h.js";
69
+ } from "./location-service-map-wer8tq1h.js";
70
70
  import {
71
71
  _20260602002951_lowly_union_jack_default
72
- } from "./state-wtztk69x.js";
72
+ } from "./location-service-map-wtztk69x.js";
73
73
  import {
74
74
  _20260602182828_add_project_directories_default
75
- } from "./state-ssg3fenm.js";
75
+ } from "./location-service-map-ssg3fenm.js";
76
76
  import {
77
77
  _20260603001617_session_message_projection_indexes_default
78
- } from "./state-2c3vjs8z.js";
78
+ } from "./location-service-map-2c3vjs8z.js";
79
79
  import {
80
80
  _20260603040000_session_message_projection_order_default
81
- } from "./state-17cy0kzp.js";
81
+ } from "./location-service-map-17cy0kzp.js";
82
82
  import {
83
83
  _20260603141458_session_input_inbox_default
84
- } from "./state-hk9envan.js";
84
+ } from "./location-service-map-hk9envan.js";
85
85
  import {
86
86
  _20260603160727_jittery_ezekiel_stane_default
87
- } from "./state-w803qqfp.js";
87
+ } from "./location-service-map-w803qqfp.js";
88
88
  import {
89
89
  _20260604172448_event_sourced_session_input_default
90
- } from "./state-jwfs4k6c.js";
90
+ } from "./location-service-map-jwfs4k6c.js";
91
91
  import {
92
92
  _20260605003541_add_session_context_snapshot_default
93
- } from "./state-mp448xyj.js";
93
+ } from "./location-service-map-mp448xyj.js";
94
94
  import {
95
95
  _20260605042240_add_context_epoch_agent_default
96
- } from "./state-aqzs7mqg.js";
96
+ } from "./location-service-map-aqzs7mqg.js";
97
97
  import {
98
98
  _20260611035744_credential_default
99
- } from "./state-ygaqb7jw.js";
99
+ } from "./location-service-map-ygaqb7jw.js";
100
100
  import {
101
101
  _20260611192811_lush_chimera_default
102
- } from "./state-8n3pysct.js";
102
+ } from "./location-service-map-8n3pysct.js";
103
103
  import {
104
104
  _20260612174303_project_dir_strategy_default
105
- } from "./state-d9fn303g.js";
105
+ } from "./location-service-map-d9fn303g.js";
106
106
  import {
107
107
  _20260622142730_simplify_session_context_epoch_default
108
- } from "./state-cvy3z8tj.js";
108
+ } from "./location-service-map-cvy3z8tj.js";
109
109
  import {
110
110
  _20260622170816_reset_v2_session_state_default
111
- } from "./state-9a4afbnw.js";
111
+ } from "./location-service-map-9a4afbnw.js";
112
112
  import {
113
113
  _20260622202450_simplify_session_input_default
114
- } from "./state-n05xt0ee.js";
114
+ } from "./location-service-map-n05xt0ee.js";
115
115
  import {
116
116
  _20260804233008_loose_psylocke_default
117
- } from "./state-sdp7kfr6.js";
117
+ } from "./location-service-map-sdp7kfr6.js";
118
118
  import {
119
119
  _20260805200742_import_legacy_credentials_default
120
- } from "./state-a6k6eb26.js";
120
+ } from "./location-service-map-a6k6eb26.js";
121
121
  import {
122
122
  _20260808023530_workspace_domain_default
123
- } from "./state-4knz6hnm.js";
123
+ } from "./location-service-map-4knz6hnm.js";
124
124
  import {
125
125
  _20260811161259_execution_claim_attempts_default
126
- } from "./state-df08tz66.js";
126
+ } from "./location-service-map-df08tz66.js";
127
127
  import {
128
128
  _20260812181746_session_inbox_default
129
- } from "./state-bmr6ed5q.js";
129
+ } from "./location-service-map-bmr6ed5q.js";
130
130
  import {
131
131
  _20260812213948_worktree_default
132
- } from "./state-atq7p7m5.js";
132
+ } from "./location-service-map-atq7p7m5.js";
133
133
  import {
134
134
  _20260819222447_session_viewed_state_default
135
- } from "./state-qb87gjwd.js";
135
+ } from "./location-service-map-qb87gjwd.js";
136
136
  import {
137
137
  _20260823191254_nullable_workspace_binding_default
138
- } from "./state-359p4xyc.js";
138
+ } from "./location-service-map-359p4xyc.js";
139
139
  import {
140
140
  _20260910120000_clear_v1_session_permission_default
141
- } from "./state-y8f7s663.js";
141
+ } from "./location-service-map-y8f7s663.js";
142
142
  import {
143
143
  _20260923013825_project_time_active_default
144
- } from "./state-8wj87zfr.js";
144
+ } from "./location-service-map-8wj87zfr.js";
145
145
  import {
146
146
  _20261007190000_azure_cli_external_credential_default
147
- } from "./state-84wd9syh.js";
147
+ } from "./location-service-map-84wd9syh.js";
148
148
 
149
149
  // src/database/migration.gen.ts
150
150
  var migrations2 = [