@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
@@ -0,0 +1,253 @@
1
+ import {
2
+ node68
3
+ } from "./location-service-map-4fx98jam.js";
4
+ import {
5
+ node76
6
+ } from "./location-service-map-gvr8ekz8.js";
7
+ import {
8
+ node75
9
+ } from "./location-service-map-f4d9c169.js";
10
+ import {
11
+ node84,
12
+ boundNode2
13
+ } from "./location-service-map-9hp16pdx.js";
14
+ import {
15
+ node73
16
+ } from "./location-service-map-e3h34950.js";
17
+ import {
18
+ node71
19
+ } from "./location-service-map-cqv2wkh6.js";
20
+ import {
21
+ node72
22
+ } from "./location-service-map-sten0bqb.js";
23
+ import {
24
+ node67
25
+ } from "./location-service-map-6req7aj4.js";
26
+ import {
27
+ configured6,
28
+ node55
29
+ } from "./location-service-map-3br01mcr.js";
30
+ import {
31
+ node81
32
+ } from "./location-service-map-v5fbhvxb.js";
33
+ import {
34
+ node17
35
+ } from "./location-service-map-x24mjvnp.js";
36
+ import {
37
+ node18
38
+ } from "./location-service-map-vc9hav61.js";
39
+ import {
40
+ node79
41
+ } from "./location-service-map-ppzsh8xz.js";
42
+ import {
43
+ DirectoryNotFoundError2,
44
+ node78
45
+ } from "./location-service-map-wwwjdszg.js";
46
+ import {
47
+ node70
48
+ } from "./location-service-map-v1f6cgh9.js";
49
+ import {
50
+ node69
51
+ } from "./location-service-map-3baj6v9a.js";
52
+ import {
53
+ node74
54
+ } from "./location-service-map-vynmvp9h.js";
55
+ import {
56
+ node36
57
+ } from "./location-service-map-fr637340.js";
58
+ import {
59
+ Service38,
60
+ node40
61
+ } from "./location-service-map-p7a39gy5.js";
62
+ import {
63
+ node29
64
+ } from "./location-service-map-snyghj24.js";
65
+ import {
66
+ node61
67
+ } from "./location-service-map-jvnghvnw.js";
68
+ import {
69
+ node58
70
+ } from "./location-service-map-8r1f1zwq.js";
71
+ import {
72
+ node39
73
+ } from "./location-service-map-rtb52qhq.js";
74
+ import {
75
+ configured5,
76
+ node51
77
+ } from "./location-service-map-zmhs9j3z.js";
78
+ import {
79
+ node34
80
+ } from "./location-service-map-cag4tck2.js";
81
+ import {
82
+ node49
83
+ } from "./location-service-map-x65zb6ev.js";
84
+ import {
85
+ node35
86
+ } from "./location-service-map-a55jx63h.js";
87
+ import {
88
+ node41
89
+ } from "./location-service-map-53vxm274.js";
90
+ import {
91
+ node30
92
+ } from "./location-service-map-vedpmp6c.js";
93
+ import {
94
+ node43
95
+ } from "./location-service-map-ezhqr4dw.js";
96
+ import {
97
+ node28
98
+ } from "./location-service-map-4esgd2h9.js";
99
+ import {
100
+ node27
101
+ } from "./location-service-map-xg9smtde.js";
102
+ import {
103
+ node42
104
+ } from "./location-service-map-m4qbna0r.js";
105
+ import {
106
+ node50
107
+ } from "./location-service-map-jz7r8edy.js";
108
+ import {
109
+ node46
110
+ } from "./location-service-map-1shzte8w.js";
111
+ import {
112
+ node44
113
+ } from "./location-service-map-xdc3sm7c.js";
114
+ import {
115
+ node53
116
+ } from "./location-service-map-zkyrpvtj.js";
117
+ import {
118
+ node22
119
+ } from "./location-service-map-5fde8rf2.js";
120
+ import {
121
+ node52
122
+ } from "./location-service-map-47fh37dc.js";
123
+ import {
124
+ node48
125
+ } from "./location-service-map-a8vtzv7h.js";
126
+ import {
127
+ node21
128
+ } from "./location-service-map-jf28ek8f.js";
129
+ import {
130
+ node2
131
+ } from "./location-service-map-xevjxxfx.js";
132
+ import {
133
+ Service17,
134
+ node19
135
+ } from "./location-service-map-faxn7cy8.js";
136
+ import {
137
+ node16
138
+ } from "./location-service-map-dm2pdpx2.js";
139
+ import {
140
+ node10,
141
+ bound2
142
+ } from "./location-service-map-1ajx6rf5.js";
143
+ import {
144
+ node9
145
+ } from "./location-service-map-dewj8197.js";
146
+ import {
147
+ node13
148
+ } from "./location-service-map-0jd8n8rn.js";
149
+ import {
150
+ node15
151
+ } from "./location-service-map-5wq08njd.js";
152
+ import {
153
+ node5
154
+ } from "./location-service-map-ptxaygn1.js";
155
+ import {
156
+ node20
157
+ } from "./location-service-map-ax1z2ndw.js";
158
+ import {
159
+ node4
160
+ } from "./location-service-map-tmq2emtr.js";
161
+ import {
162
+ node3
163
+ } from "./location-service-map-xa056vn0.js";
164
+ import {
165
+ __export
166
+ } from "./location-service-map-9rqn6x4v.js";
167
+
168
+ // src/instance.ts
169
+ var exports_instance = {};
170
+ __export(exports_instance, {
171
+ Instance: () => exports_instance,
172
+ Service: () => Service38,
173
+ graph: () => graph2,
174
+ layer: () => layer2,
175
+ node: () => node40
176
+ });
177
+ import { Context, Effect, Layer } from "effect";
178
+ import { LayerNode } from "@opencode/util/effect/layer-node";
179
+ import { Node } from "@opencode/util/effect/app-node";
180
+ var nodes = [
181
+ node84,
182
+ node19,
183
+ node81,
184
+ node55,
185
+ node68,
186
+ node67,
187
+ node41,
188
+ node53,
189
+ node52,
190
+ node75,
191
+ node73,
192
+ node72,
193
+ node70,
194
+ node71,
195
+ node21,
196
+ node61,
197
+ node10,
198
+ node5,
199
+ node48,
200
+ node79,
201
+ node78,
202
+ node50,
203
+ node20,
204
+ node44,
205
+ node43,
206
+ node34,
207
+ node51,
208
+ node16,
209
+ node17,
210
+ node18,
211
+ node36,
212
+ node58,
213
+ node49,
214
+ node46,
215
+ node74,
216
+ node28,
217
+ node30,
218
+ node29,
219
+ node76,
220
+ node69,
221
+ node15,
222
+ node35,
223
+ node13,
224
+ node39,
225
+ node9,
226
+ node4,
227
+ node27,
228
+ node42,
229
+ node3,
230
+ node22,
231
+ node2
232
+ ];
233
+ var graph2 = LayerNode.group(nodes);
234
+ var vanillaReplacements = [
235
+ node55.replace(configured6({ project: false, global: false })),
236
+ node51.replace(configured5({ project: false, global: false }))
237
+ ];
238
+ function layer2(ref, options = {}) {
239
+ const startedAt = performance.now();
240
+ const replacements = [
241
+ ...options.discovery === false ? vanillaReplacements : [],
242
+ ...options.replacements ?? [],
243
+ node84.replace(boundNode2(ref)),
244
+ node10.replace(bound2(options.plugins ?? []))
245
+ ];
246
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.catchCause((cause) => Layer.unwrap(Effect.failCause(cause).pipe(Effect.catch((error) => error instanceof DirectoryNotFoundError2 ? Effect.fail(error) : Effect.die(error))))), Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service17).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
247
+ directory: ref.directory,
248
+ workspaceID: ref.workspaceID,
249
+ durationMs: Math.round(performance.now() - startedAt)
250
+ })));
251
+ }
252
+
253
+ export { graph2, layer2, exports_instance };
@@ -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/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./state-62k0yxbf.js";
2
+ Service83,
3
+ node87
4
+ } from "./location-service-map-2y6zpsdj.js";
5
5
  import {
6
6
  create3
7
- } from "./state-rdw6cm16.js";
7
+ } from "./location-service-map-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./state-yfng7xhx.js";
10
+ } from "./location-service-map-8r1f1zwq.js";
11
11
  import {
12
12
  __export
13
- } from "./state-9rqn6x4v.js";
13
+ } from "./location-service-map-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event9,
20
+ Event: () => Event5,
21
21
  ID: () => ID5,
22
- Info: () => Info9,
22
+ Info: () => Info8,
23
23
  Name: () => Name2,
24
- Service: () => Service49,
24
+ Service: () => Service41,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available3,
29
- node: () => node52,
29
+ node: () => node43,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,12 +34,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event9 } from "@opencode/schema/skill";
37
+ import { Event as Event5 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
41
  var Source4 = Skill.Source;
42
- var Info9 = Skill.Info;
42
+ var Info8 = Skill.Info;
43
43
  var ID5 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
@@ -71,10 +71,10 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service49 extends Context.Service()("@opencode/Skill") {
74
+ class Service41 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service49, Effect.gen(function* () {
77
- const bus = yield* Service80;
76
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
77
+ const bus = yield* Service83;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service49.of({
100
+ return Service41.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node52 = makeLocationNode({
112
- service: Service49,
111
+ var node43 = makeLocationNode({
112
+ service: Service41,
113
113
  layer,
114
- deps: [node84]
114
+ deps: [node87]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info9, ID5, Name2, available3, toModelOutput3, prepare3, Service49, node52, exports_skill5, Event9 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info8, ID5, Name2, available3, toModelOutput3, prepare3, Service41, node43, exports_skill5, Event5 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./state-z5v4ffb3.js";
3
+ } from "./location-service-map-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./location-service-map-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info10,
12
+ Info: () => Info11,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info10 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info11 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info10, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info11, exports_mcp5 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./state-ktay9hq4.js";
3
+ } from "./location-service-map-c3zehg50.js";
4
4
  import {
5
5
  call2
6
- } from "./state-1ygqh575.js";
6
+ } from "./location-service-map-mfqp6xfm.js";
7
7
  import {
8
8
  __export
9
- } from "./state-9rqn6x4v.js";
9
+ } from "./location-service-map-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/tinyfish.ts
12
12
  var exports_tinyfish = {};
13
13
  __export(exports_tinyfish, {
14
- Plugin: () => Plugin10,
14
+ Plugin: () => Plugin25,
15
15
  WebSearchTinyFish: () => exports_tinyfish,
16
- endpoint: () => endpoint6
16
+ endpoint: () => endpoint4
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint6 = "https://agent.tinyfish.ai/mcp";
21
+ var endpoint4 = "https://agent.tinyfish.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String
24
24
  });
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
33
33
  }))
34
34
  }));
35
35
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
36
- var Plugin10 = define({
36
+ var Plugin25 = define({
37
37
  id: "opencode.websearch.tinyfish",
38
38
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
39
39
  const http = yield* HttpClient.HttpClient;
@@ -55,7 +55,7 @@ var Plugin10 = define({
55
55
  execute: (input) => Effect.gen(function* () {
56
56
  const connection = yield* ctx.integration.connection.active("tinyfish");
57
57
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
58
- const result = yield* call2(http, endpoint6, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
58
+ const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
59
59
  "User-Agent": useragent2(ctx.app),
60
60
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
61
61
  });
@@ -73,4 +73,4 @@ var Plugin10 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { endpoint6, Plugin10, exports_tinyfish };
76
+ export { endpoint4, Plugin25, exports_tinyfish };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./state-62k0yxbf.js";
2
+ Service83,
3
+ node87
4
+ } from "./location-service-map-2y6zpsdj.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  External2,
8
- Service69,
9
- node73
10
- } from "./state-40rcjy03.js";
8
+ Service74,
9
+ node77
10
+ } from "./location-service-map-hqsbmb15.js";
11
11
  import {
12
12
  create3
13
- } from "./state-rdw6cm16.js";
13
+ } from "./location-service-map-rdw6cm16.js";
14
14
  import {
15
15
  key2
16
- } from "./state-gqtdsdt7.js";
16
+ } from "./location-service-map-x661k3y3.js";
17
17
  import {
18
18
  validateAnswer2,
19
19
  validateFields2
20
- } from "./state-5y60f30r.js";
20
+ } from "./location-service-map-gvr8ekz8.js";
21
21
  import {
22
22
  __export
23
- } from "./state-9rqn6x4v.js";
23
+ } from "./location-service-map-9rqn6x4v.js";
24
24
 
25
25
  // src/integration.ts
26
26
  var exports_integration = {};
@@ -35,18 +35,18 @@ __export(exports_integration, {
35
35
  CommandAttemptStatus: () => CommandAttemptStatus2,
36
36
  CommandMethod: () => CommandMethod2,
37
37
  EnvMethod: () => EnvMethod2,
38
- Event: () => Event15,
38
+ Event: () => Event17,
39
39
  ExternalMethod: () => ExternalMethod2,
40
- ID: () => ID10,
41
- Info: () => Info18,
40
+ ID: () => ID13,
41
+ Info: () => Info22,
42
42
  Integration: () => exports_integration,
43
43
  KeyMethod: () => KeyMethod2,
44
44
  Method: () => Method2,
45
45
  MethodID: () => MethodID2,
46
46
  OAuthMethod: () => OAuthMethod2,
47
47
  Ref: () => Ref3,
48
- Service: () => Service67,
49
- node: () => node71
48
+ Service: () => Service72,
49
+ node: () => node75
50
50
  });
51
51
  import { makeLocationNode } from "@opencode/util/effect/app-node";
52
52
  import {
@@ -68,8 +68,8 @@ import {
68
68
  import { Integration } from "@opencode/schema/integration";
69
69
  import { AppProcess } from "@opencode/util/process";
70
70
  import { ChildProcess } from "effect/unstable/process";
71
- import { Event as Event15 } from "@opencode/schema/integration";
72
- var ID10 = Integration.ID;
71
+ import { Event as Event17 } from "@opencode/schema/integration";
72
+ var ID13 = Integration.ID;
73
73
  var MethodID2 = Integration.MethodID;
74
74
  var AttemptID2 = Integration.AttemptID;
75
75
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
78
78
  var ExternalMethod2 = Integration.ExternalMethod;
79
79
  var EnvMethod2 = Integration.EnvMethod;
80
80
  var Method2 = Integration.Method;
81
- var Info18 = Integration.Info;
81
+ var Info22 = Integration.Info;
82
82
  var Attempt2 = Integration.Attempt;
83
83
  var AttemptStatus2 = Integration.AttemptStatus;
84
84
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -101,20 +101,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
101
101
  }
102
102
 
103
103
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
104
- integrationID: ID10,
104
+ integrationID: ID13,
105
105
  attemptID: AttemptID2
106
106
  }) {
107
107
  }
108
108
  var Ref3 = Integration.Ref;
109
109
 
110
- class Service67 extends Context.Service()("@opencode/Integration") {
110
+ class Service72 extends Context.Service()("@opencode/Integration") {
111
111
  }
112
112
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
113
113
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
114
114
  var scrubInterval = Duration.seconds(30);
115
- var layer = Layer.effect(Service67, Effect.gen(function* () {
116
- const credentials = yield* Service69;
117
- const bus = yield* Service80;
115
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
116
+ const credentials = yield* Service74;
117
+ const bus = yield* Service83;
118
118
  const processes = yield* AppProcess.Service;
119
119
  const scope = yield* Scope.Scope;
120
120
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
214
214
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
215
215
  return [...credentials, ...env];
216
216
  };
217
- const project = (entry, connections) => Info18.make({
217
+ const project = (entry, connections) => Info22.make({
218
218
  id: entry.ref.id,
219
219
  name: entry.ref.name,
220
220
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
301
301
  const persistence = yield* createCredential({
302
302
  integrationID: attempt.integrationID,
303
303
  label: attempt.label,
304
- value: Key3.make({ type: "key", key: exit.value })
304
+ value: Key4.make({ type: "key", key: exit.value })
305
305
  }).pipe(Effect.asVoid, Effect.exit);
306
306
  const settledAt = yield* Clock.currentTimeMillis;
307
307
  const terminal = Exit.isSuccess(persistence) ? {
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
447
447
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
448
448
  return CommandAttempt2.make({ attemptID, time });
449
449
  });
450
- return Service67.of({
450
+ return Service72.of({
451
451
  transform: state.transform,
452
452
  reload: state.reload,
453
453
  revision: state.revision,
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
469
469
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
470
470
  if (connection.type === "env") {
471
471
  const key = process.env[connection.name];
472
- return key ? Key3.make({ type: "key", key }) : undefined;
472
+ return key ? Key4.make({ type: "key", key }) : undefined;
473
473
  }
474
474
  const credential = yield* credentials.get(connection.id);
475
475
  if (!credential)
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
502
502
  yield* createCredential({
503
503
  integrationID: input.integrationID,
504
504
  label: input.label,
505
- value: Key3.make({
505
+ value: Key4.make({
506
506
  type: "key",
507
507
  key: input.key,
508
508
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
629
629
  }
630
630
  });
631
631
  }));
632
- var node71 = makeLocationNode({
633
- service: Service67,
632
+ var node75 = makeLocationNode({
633
+ service: Service72,
634
634
  layer,
635
- deps: [node73, node84, AppProcess.node]
635
+ deps: [node77, node87, AppProcess.node]
636
636
  });
637
637
 
638
- export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info18, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service67, node71, exports_integration, Event15 };
638
+ export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service72, node75, exports_integration, Event17 };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service57
3
- } from "./state-h78379q5.js";
2
+ Service53
3
+ } from "./location-service-map-3br01mcr.js";
4
4
  import {
5
- Service83
6
- } from "./state-fmcqyzhx.js";
5
+ Service71
6
+ } from "./location-service-map-vynmvp9h.js";
7
7
  import {
8
8
  observe2
9
- } from "./state-qsdy395h.js";
9
+ } from "./location-service-map-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./state-9rqn6x4v.js";
12
+ } from "./location-service-map-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin28
18
+ Plugin: () => Plugin20
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin28 = define({
22
+ var Plugin20 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service57;
26
- const image = yield* Service83;
25
+ const config = yield* Service53;
26
+ const image = yield* Service71;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin28 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin28, exports_image };
46
+ export { Plugin20, exports_image };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./state-qfa1cgps.js";
3
+ } from "./location-service-map-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./state-h2b79v29.js";
6
+ } from "./location-service-map-3cegwx68.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";