@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,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./state-aeggwfyx.js";
3
+ } from "./location-service-map-tx2y3b3g.js";
4
4
 
5
5
  // src/plugin/provider/lmstudio.ts
6
6
  import { Effect, Schema } from "effect";
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
19
19
  }).pipe(Schema.optional)
20
20
  });
21
21
  var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
22
- var make6 = createLocalProviderPlugin2({
22
+ var make7 = createLocalProviderPlugin2({
23
23
  id: "opencode.provider.lmstudio",
24
24
  providerID: "lmstudio",
25
25
  name: "LM Studio",
@@ -38,6 +38,6 @@ var make6 = createLocalProviderPlugin2({
38
38
  context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
39
39
  })
40
40
  });
41
- var LMStudioPlugin2 = make6();
41
+ var LMStudioPlugin2 = make7();
42
42
 
43
- export { make6, LMStudioPlugin2 };
43
+ export { make7, LMStudioPlugin2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./state-z5v4ffb3.js";
3
+ } from "./location-service-map-z5v4ffb3.js";
4
4
  import {
5
5
  Action2
6
- } from "./state-a8bn8zg0.js";
6
+ } from "./location-service-map-50mzsvk4.js";
7
7
  import {
8
- Info11
9
- } from "./state-h4ckqw4f.js";
8
+ Info13
9
+ } from "./location-service-map-jp3y83b8.js";
10
10
  import {
11
- Info14
12
- } from "./state-fdv30zvt.js";
11
+ Info12
12
+ } from "./location-service-map-tkmwgdpd.js";
13
13
  import {
14
- Info10
15
- } from "./state-1pxz8ven.js";
14
+ Info11
15
+ } from "./location-service-map-ezk2k2nc.js";
16
16
  import {
17
17
  Spec2
18
- } from "./state-7dqw4kz8.js";
18
+ } from "./location-service-map-2k8khapm.js";
19
19
  import {
20
- Info13
21
- } from "./state-0r3c1bmw.js";
20
+ Info10
21
+ } from "./location-service-map-s7nv2rwz.js";
22
22
  import {
23
23
  normalizeAction2,
24
24
  migrateAgent2,
@@ -27,10 +27,10 @@ import {
27
27
  migrateMcp2,
28
28
  migrateProvider2,
29
29
  providerID2
30
- } from "./state-c6dd62wt.js";
30
+ } from "./location-service-map-byjhjrmz.js";
31
31
  import {
32
32
  __export
33
- } from "./state-9rqn6x4v.js";
33
+ } from "./location-service-map-9rqn6x4v.js";
34
34
 
35
35
  // src/config/normalize.ts
36
36
  var exports_normalize = {};
@@ -97,12 +97,12 @@ function normalize2(input) {
97
97
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
98
98
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
99
99
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
100
- const legacyCommands = decodeMap(input.command, Info14, ["command"], diagnostics, decodeValue);
100
+ const legacyCommands = decodeMap(input.command, Info12, ["command"], diagnostics, decodeValue);
101
101
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
102
102
  const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
103
103
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
104
104
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
105
- const legacyAgents = mapValues(decodeMap(input.agent, Info11, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
105
+ const legacyAgents = mapValues(decodeMap(input.agent, Info13, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
106
106
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
107
107
  const migratedSmallModel = modelSelection2(legacySmallModel);
108
108
  if (legacySmallModel && !migratedSmallModel)
@@ -116,7 +116,7 @@ function normalize2(input) {
116
116
  model: migratedSmallModel,
117
117
  ...legacyAgents.title
118
118
  };
119
- const modeAgents = mapValues(decodeMap(input.mode, Info11, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
119
+ const modeAgents = mapValues(decodeMap(input.mode, Info13, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
120
120
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
121
121
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
122
122
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -217,7 +217,7 @@ function normalizeMcp(input, encoded, diagnostics) {
217
217
  normalizeMcpTimeout(value, timeout, path, diagnostics);
218
218
  return;
219
219
  }
220
- const server = decodeValue(Info10, value, path, diagnostics);
220
+ const server = decodeValue(Info11, value, path, diagnostics);
221
221
  if (server !== undefined)
222
222
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
223
223
  });
@@ -413,7 +413,7 @@ function migrateProviders(value, diagnostics) {
413
413
  diagnoseProviderUnsupported(raw, path, diagnostics);
414
414
  if (invalidProviderOverlays(raw, path, diagnostics))
415
415
  return [];
416
- const provider = decodeValue(Info13, raw, path, diagnostics);
416
+ const provider = decodeValue(Info10, raw, path, diagnostics);
417
417
  if (provider === undefined)
418
418
  return [];
419
419
  const destination = providerID2(name);
@@ -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/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./location-service-map-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service56,
8
+ Service: () => Service43,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node59
10
+ node: () => node45
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service56 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service43 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service56, () => {
17
+ var layer = Layer.sync(Service43, () => {
18
18
  const environments = new Map;
19
- return Service56.of({
19
+ return Service43.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service56, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node59 = makeGlobalNode({ service: Service56, layer, deps: [] });
29
+ var node45 = makeGlobalNode({ service: Service43, layer, deps: [] });
30
30
 
31
- export { Service56, node59, exports_environment };
31
+ export { Service43, node45, exports_environment };
@@ -1,37 +1,37 @@
1
+ import {
2
+ Service83,
3
+ node87
4
+ } from "./location-service-map-2y6zpsdj.js";
1
5
  import {
2
6
  Service80,
3
7
  node84
4
- } from "./state-62k0yxbf.js";
5
- import {
6
- Service76,
7
- node80
8
- } from "./state-9qk2kwmb.js";
8
+ } from "./location-service-map-9hp16pdx.js";
9
9
  import {
10
- ID15,
11
- Service75,
12
- node79
13
- } from "./state-nc7he5v1.js";
10
+ ID10,
11
+ Service65,
12
+ node68
13
+ } from "./location-service-map-4fx98jam.js";
14
14
  import {
15
- NotFoundError9
16
- } from "./state-mzc2a39c.js";
15
+ NotFoundError7
16
+ } from "./location-service-map-kx705y8y.js";
17
17
  import {
18
- Service73,
19
- node77
20
- } from "./state-dmw4vz70.js";
18
+ Service57,
19
+ node59
20
+ } from "./location-service-map-9vaedqxn.js";
21
21
  import {
22
22
  match2
23
- } from "./state-y1fvbwt7.js";
23
+ } from "./location-service-map-y1fvbwt7.js";
24
24
  import {
25
- Service74,
26
- node78
27
- } from "./state-9ywvhnd6.js";
25
+ Service58,
26
+ node60
27
+ } from "./location-service-map-fv6z39q6.js";
28
28
  import {
29
- Service84,
30
- node88
31
- } from "./state-bnmr3cva.js";
29
+ Service59,
30
+ node61
31
+ } from "./location-service-map-jvnghvnw.js";
32
32
  import {
33
33
  __export
34
- } from "./state-9rqn6x4v.js";
34
+ } from "./location-service-map-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,29 +42,29 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event18,
46
- ID: () => ID13,
47
- NotFoundError: () => NotFoundError8,
45
+ Event: () => Event11,
46
+ ID: () => ID7,
47
+ NotFoundError: () => NotFoundError6,
48
48
  Permission: () => exports_permission2,
49
- Reply: () => Reply3,
49
+ Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request3,
51
+ Request: () => Request2,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service72,
54
+ Service: () => Service56,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node76
58
+ node: () => node58
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event18 } from "@opencode/schema/permission";
64
+ import { Event as Event11 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID13 = Permission.ID;
67
+ var ID7 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request3 = Permission.Request;
78
- var Reply3 = Permission.Reply;
77
+ var Request2 = Permission.Request;
78
+ var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID13.pipe(Schema.optional),
80
+ id: ID7.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID15.pipe(Schema.optional)
82
+ agent: ID10.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID13,
86
- reply: Reply3,
85
+ requestID: ID7,
86
+ reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID13,
90
+ id: ID7,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID13
113
+ class NotFoundError6 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID7
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service72 extends Context.Service()("@opencode/Permission") {
128
+ class Service56 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service72, Effect.gen(function* () {
131
- const bus = yield* Service80;
132
- const location = yield* Service76;
133
- const agents = yield* Service75;
134
- const sessions = yield* Service73;
135
- const saved = yield* Service74;
136
- const hooks = yield* Service84;
130
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
131
+ const bus = yield* Service83;
132
+ const location = yield* Service80;
133
+ const agents = yield* Service65;
134
+ const sessions = yield* Service57;
135
+ const saved = yield* Service58;
136
+ const hooks = yield* Service59;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError9({ sessionID });
159
+ return yield* new NotFoundError7({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID13.create(),
189
+ id: input.id ?? ID7.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID13.create(), effect: "deny" };
214
+ return { id: input.id ?? ID7.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError8({ requestID: input.requestID });
245
+ return yield* new NotFoundError6({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service72.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service56.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node76 = makeLocationNode({
303
- service: Service72,
302
+ var node58 = makeLocationNode({
303
+ service: Service56,
304
304
  layer,
305
- deps: [node84, node80, node79, node77, node78, node88]
305
+ deps: [node87, node84, node68, node59, node60, node61]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service72, node76, exports_permission2, Rule3, Ruleset2, Event18 };
308
+ export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service56, node58, exports_permission2, Rule3, Ruleset2, Event11 };
@@ -1,9 +1,9 @@
1
1
  import {
2
- render2
3
- } from "./state-w19d8598.js";
2
+ render3
3
+ } from "./location-service-map-xfkkasph.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/optimize.ts
9
9
  var exports_optimize = {};
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin3,
16
+ OpenAIPlugin: () => OpenAIPlugin2,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
374
374
  `;
375
375
 
376
376
  // src/plugin/optimize.ts
377
- var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
377
+ var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
378
378
  const id = model.id.toLowerCase();
379
379
  if (!id.includes("gpt"))
380
380
  return;
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
409
409
  return;
410
410
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
411
411
  });
412
- var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
412
+ var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
413
  function make(id, optimize, mode = "override") {
414
414
  return define({
415
415
  id,
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
424
424
  const system = event.system[0];
425
425
  if (!system)
426
426
  return;
427
- const rendered = render2(template, Object.keys(event.tools));
427
+ const rendered = render3(template, Object.keys(event.tools));
428
428
  const text = mode === "append" ? `${system.text}
429
429
 
430
430
  ${rendered}` : rendered;
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
437
437
  });
438
438
  }
439
439
 
440
- export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
440
+ export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  batch2
3
- } from "./state-rdw6cm16.js";
3
+ } from "./location-service-map-rdw6cm16.js";
4
4
  import {
5
- Service57
6
- } from "./state-h78379q5.js";
5
+ Service53
6
+ } from "./location-service-map-3br01mcr.js";
7
7
  import {
8
8
  match2
9
- } from "./state-y1fvbwt7.js";
9
+ } from "./location-service-map-y1fvbwt7.js";
10
10
  import {
11
- Service20,
11
+ Service12,
12
12
  statements2,
13
13
  decision2
14
- } from "./state-1a37t69z.js";
14
+ } from "./location-service-map-1gpjfezg.js";
15
15
  import {
16
16
  observe2
17
- } from "./state-qsdy395h.js";
17
+ } from "./location-service-map-qsdy395h.js";
18
18
  import {
19
19
  __export
20
- } from "./state-9rqn6x4v.js";
20
+ } from "./location-service-map-9rqn6x4v.js";
21
21
 
22
22
  // src/config/plugin/policy.ts
23
23
  var exports_policy = {};
24
24
  __export(exports_policy, {
25
25
  ConfigPolicyPlugin: () => exports_policy,
26
- Plugin: () => Plugin20
26
+ Plugin: () => Plugin12
27
27
  });
28
28
  import { define } from "@opencode/plugin/effect/plugin";
29
29
  import { Effect, Stream } from "effect";
30
- var Plugin20 = define({
30
+ var Plugin12 = define({
31
31
  id: "opencode.config.policy",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service57;
34
- const managed = yield* Service20;
33
+ const config = yield* Service53;
34
+ const managed = yield* Service12;
35
35
  const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
36
36
  const loaded = yield* observe2(config, ctx.event, reload);
37
37
  yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
@@ -69,4 +69,4 @@ var Plugin20 = define({
69
69
  })
70
70
  });
71
71
 
72
- export { Plugin20, exports_policy };
72
+ export { Plugin12, exports_policy };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service58,
3
- node61
4
- } from "./state-551azpvx.js";
2
+ Service54,
3
+ node56
4
+ } from "./location-service-map-3jq3pnk6.js";
5
5
  import {
6
- Service76,
7
- node80
8
- } from "./state-9qk2kwmb.js";
6
+ Service80,
7
+ node84
8
+ } from "./location-service-map-9hp16pdx.js";
9
9
  import {
10
- Service57,
11
- node60
12
- } from "./state-h78379q5.js";
10
+ Service53,
11
+ node55
12
+ } from "./location-service-map-3br01mcr.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./state-zxq2ej10.js";
16
+ } from "./location-service-map-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./state-9rqn6x4v.js";
19
+ } from "./location-service-map-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service7,
25
+ Service: () => Service4,
26
26
  empty: () => empty2,
27
- layer: () => layer7,
28
- node: () => node9
27
+ layer: () => layer5,
28
+ node: () => node6
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service7 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer7 = Layer.effect(Service7, Effect.gen(function* () {
39
- const config = yield* Service57;
40
- const watcher = yield* Service58;
38
+ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
39
+ const config = yield* Service53;
40
+ const watcher = yield* Service54;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service76;
42
+ const location = yield* Service80;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service7.of({
61
+ return Service4.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node9 = makeLocationNode({
74
- service: Service7,
75
- layer: layer7,
76
- deps: [node60, FSUtil.node, node61, node80]
73
+ var node6 = makeLocationNode({
74
+ service: Service4,
75
+ layer: layer5,
76
+ deps: [node55, FSUtil.node, node56, node84]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service7,
80
- layer: Layer.succeed(Service7, Service7.of({
79
+ service: Service4,
80
+ layer: Layer.succeed(Service4, Service4.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service7, layer7, node9, empty2, exports_source };
140
+ export { Service4, layer5, node6, empty2, exports_source };
@@ -1,16 +1,16 @@
1
1
  import {
2
- ID8
3
- } from "./state-kkqpbp86.js";
2
+ ID12
3
+ } from "./location-service-map-e3h34950.js";
4
4
  import {
5
5
  configuredSettings2
6
- } from "./state-686nxd57.js";
6
+ } from "./location-service-map-2qbvmajs.js";
7
7
 
8
8
  // src/plugin/provider/cloudflare-ai-gateway.ts
9
9
  import { Effect } from "effect";
10
10
  import { isArrayNonEmpty } from "effect/Array";
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Form } from "@opencode/schema/form";
13
- var providerID = ID8.make("cloudflare-ai-gateway");
13
+ var providerID = ID12.make("cloudflare-ai-gateway");
14
14
  var accountIdField = Form.StringField.make({
15
15
  type: "string",
16
16
  key: "accountId",