@opencode/core 0.0.0-dev-19638 → 0.0.0-dev-19640

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 (787) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +76 -76
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{file-access-avs77xrm.js → location-services-02gzfyb5.js} +5 -5
  8. package/dist/chunks/{file-access-hm7xtcxq.js → location-services-02phnknr.js} +13 -13
  9. package/dist/chunks/{file-access-et8mzwyf.js → location-services-04kk4d0b.js} +11 -11
  10. package/dist/chunks/{file-access-hg4hxzv1.js → location-services-0586yqyr.js} +24 -24
  11. package/dist/chunks/{file-access-vbmkf8sa.js → location-services-0fpm5ckv.js} +63 -63
  12. package/dist/chunks/{file-access-a3ftg8j6.js → location-services-0jq9fyba.js} +9 -9
  13. package/dist/chunks/{file-access-1h5aw7tx.js → location-services-0ms6sga5.js} +28 -28
  14. package/dist/chunks/{file-access-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{file-access-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{file-access-46hd3f0f.js → location-services-0qfr4k4g.js} +5 -5
  17. package/dist/chunks/{file-access-j03d6hs6.js → location-services-0rzg7vgx.js} +18 -18
  18. package/dist/chunks/{file-access-62agcz7g.js → location-services-0tjwgcx9.js} +18 -18
  19. package/dist/chunks/{file-access-vfp4enkz.js → location-services-0z4j7wf4.js} +11 -11
  20. package/dist/chunks/{file-access-2js99wz0.js → location-services-0ztby9hd.js} +13 -13
  21. package/dist/chunks/{file-access-5srkf7nd.js → location-services-16srzzdd.js} +11 -11
  22. package/dist/chunks/{file-access-mrxfpjcs.js → location-services-178pw3hr.js} +8 -8
  23. package/dist/chunks/{file-access-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{file-access-z12cg9p1.js → location-services-1kpkrr0w.js} +9 -9
  25. package/dist/chunks/{file-access-mfqp6xfm.js → location-services-1ygqh575.js} +6 -6
  26. package/dist/chunks/{file-access-ypyq2zsn.js → location-services-1zv9wbr8.js} +10 -10
  27. package/dist/chunks/{file-access-812zr1rk.js → location-services-219xz9an.js} +10 -10
  28. package/dist/chunks/{file-access-21r38tys.js → location-services-21r38tys.js} +1 -1
  29. package/dist/chunks/{file-access-2402vzrj.js → location-services-2402vzrj.js} +1 -1
  30. package/dist/chunks/{file-access-s8j3dq9b.js → location-services-25tw5xqn.js} +3 -3
  31. package/dist/chunks/{file-access-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{file-access-q3t37ft6.js → location-services-2f04pwep.js} +2 -2
  33. package/dist/chunks/{file-access-f60890a8.js → location-services-3bw0x712.js} +7 -7
  34. package/dist/chunks/{file-access-56rycjvn.js → location-services-3c141gkz.js} +30 -30
  35. package/dist/chunks/{file-access-2j0dgarf.js → location-services-3ecmxp0g.js} +20 -20
  36. package/dist/chunks/{file-access-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{file-access-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{file-access-fak7xqqt.js → location-services-3qppezv8.js} +28 -28
  39. package/dist/chunks/{file-access-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{file-access-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{file-access-6jft8mvs.js → location-services-3y7s1jsp.js} +20 -20
  42. package/dist/chunks/{file-access-4hxfx086.js → location-services-3yx66ec2.js} +9 -9
  43. package/dist/chunks/{file-access-t9kha2ca.js → location-services-415rc5ej.js} +16 -16
  44. package/dist/chunks/{file-access-p2f255ct.js → location-services-448vs3y4.js} +4 -4
  45. package/dist/chunks/{file-access-hpe0ccrg.js → location-services-4585f844.js} +42 -42
  46. package/dist/chunks/{file-access-rw8kjknk.js → location-services-4ascqkkz.js} +5 -5
  47. package/dist/chunks/{file-access-cy2r3qg1.js → location-services-4fpx8h9m.js} +34 -34
  48. package/dist/chunks/{file-access-25fjjxm2.js → location-services-4g26z7a1.js} +30 -30
  49. package/dist/chunks/{file-access-b2jj88ef.js → location-services-4gd3ydy5.js} +16 -16
  50. package/dist/chunks/{file-access-xsyev9bv.js → location-services-4gpbsxfq.js} +17 -17
  51. package/dist/chunks/{file-access-4jc5c4h4.js → location-services-4jc5c4h4.js} +1 -1
  52. package/dist/chunks/{file-access-q12jtckr.js → location-services-4ncrsdff.js} +10 -10
  53. package/dist/chunks/{file-access-gsj5sv52.js → location-services-4sb98eey.js} +11 -11
  54. package/dist/chunks/{file-access-kr9cqyf0.js → location-services-4zxevbz2.js} +8 -8
  55. package/dist/chunks/{file-access-7n0p62ew.js → location-services-5149gher.js} +11 -11
  56. package/dist/chunks/{file-access-0tg58rzn.js → location-services-51vvd7en.js} +11 -11
  57. package/dist/chunks/{file-access-5daktx2q.js → location-services-5daktx2q.js} +1 -1
  58. package/dist/chunks/{file-access-6snq9ewv.js → location-services-5dfvhher.js} +36 -36
  59. package/dist/chunks/{file-access-mmy2zf88.js → location-services-5knxp1w9.js} +20 -20
  60. package/dist/chunks/{file-access-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{file-access-y3d0z3tn.js → location-services-5x3hq9j3.js} +27 -27
  62. package/dist/chunks/{file-access-6ykthspn.js → location-services-5yjbp4dm.js} +6 -6
  63. package/dist/chunks/{file-access-cmwkp3r5.js → location-services-5yzzbxa7.js} +8 -8
  64. package/dist/chunks/{file-access-669tq793.js → location-services-669tq793.js} +1 -1
  65. package/dist/chunks/{file-access-fyjp43ss.js → location-services-66r9f6z1.js} +5 -5
  66. package/dist/chunks/{file-access-rsk3jvy7.js → location-services-684662vh.js} +11 -11
  67. package/dist/chunks/{file-access-8b68vhre.js → location-services-6c28me67.js} +15 -15
  68. package/dist/chunks/{file-access-76xmbs1m.js → location-services-6gfvp9py.js} +15 -15
  69. package/dist/chunks/{file-access-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
  70. package/dist/chunks/{file-access-wvxf6pmh.js → location-services-6n37dfq0.js} +10 -10
  71. package/dist/chunks/{file-access-js4k7t4e.js → location-services-6nk105vy.js} +17 -17
  72. package/dist/chunks/{file-access-86jfkp86.js → location-services-6ta1kpbb.js} +24 -24
  73. package/dist/chunks/{file-access-dthhqzns.js → location-services-7147cet5.js} +12 -12
  74. package/dist/chunks/{file-access-8yppv9j5.js → location-services-72wxma7g.js} +15 -15
  75. package/dist/chunks/{file-access-7yh4e7ss.js → location-services-73tb2d7t.js} +3 -3
  76. package/dist/chunks/{file-access-b5jkzqy2.js → location-services-750q0psk.js} +37 -37
  77. package/dist/chunks/{file-access-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{file-access-dy562txv.js → location-services-7gekp0pq.js} +17 -17
  79. package/dist/chunks/{file-access-33c2t3mm.js → location-services-7sadfj5y.js} +20 -20
  80. package/dist/chunks/{file-access-ea3fxjgj.js → location-services-8027tmm7.js} +23 -23
  81. package/dist/chunks/{file-access-eahf1j6r.js → location-services-80vjes0x.js} +24 -24
  82. package/dist/chunks/{file-access-snmjhvm7.js → location-services-81bq2xsc.js} +18 -18
  83. package/dist/chunks/{file-access-8yph952s.js → location-services-85jve5wz.js} +4 -4
  84. package/dist/chunks/{file-access-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{file-access-j0vfj7ky.js → location-services-8h9se9rt.js} +13 -13
  86. package/dist/chunks/{file-access-vhfq0sg5.js → location-services-8jdmsvjr.js} +7 -7
  87. package/dist/chunks/{file-access-yb8fj77w.js → location-services-8jpr388a.js} +30 -30
  88. package/dist/chunks/{file-access-dj2t23y0.js → location-services-8p4f9s12.js} +2 -2
  89. package/dist/chunks/{file-access-f3k401ar.js → location-services-8rj4g5mw.js} +24 -24
  90. package/dist/chunks/{file-access-3zrjs6f3.js → location-services-8wmmyffs.js} +9 -9
  91. package/dist/chunks/{file-access-99xay3p1.js → location-services-97w5rk9e.js} +8 -8
  92. package/dist/chunks/location-services-9djywp5r.js +478 -0
  93. package/dist/chunks/{file-access-ajk9kppy.js → location-services-9gv4jtzp.js} +20 -20
  94. package/dist/chunks/{file-access-ke9sk9ax.js → location-services-9mmvzbkx.js} +17 -17
  95. package/dist/chunks/{file-access-by9rpdtw.js → location-services-9r37c4n6.js} +8 -8
  96. package/dist/chunks/location-services-9zdhvgqs.js +18 -0
  97. package/dist/chunks/{file-access-5c4hm403.js → location-services-a1bz86dw.js} +3 -3
  98. package/dist/chunks/{file-access-sxd752g3.js → location-services-a3f8kctb.js} +8 -8
  99. package/dist/chunks/{file-access-f6fgfmmn.js → location-services-a7tmcrpq.js} +28 -28
  100. package/dist/chunks/{file-access-aaet6srn.js → location-services-aaet6srn.js} +2 -2
  101. package/dist/chunks/{file-access-j15mfg1p.js → location-services-ab9238g2.js} +4 -4
  102. package/dist/chunks/{file-access-g00jty2v.js → location-services-aggp30hw.js} +18 -18
  103. package/dist/chunks/{file-access-8ank75fn.js → location-services-at1kfnmk.js} +4 -4
  104. package/dist/chunks/{file-access-6m499kzd.js → location-services-axhjmd8c.js} +33 -33
  105. package/dist/chunks/{file-access-0hnxfn8s.js → location-services-azmtv9sv.js} +27 -27
  106. package/dist/chunks/{file-access-vyqn3nqs.js → location-services-b0awdqvx.js} +5 -5
  107. package/dist/chunks/{file-access-vpgyrhve.js → location-services-b5t6kpaj.js} +43 -43
  108. package/dist/chunks/{file-access-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{file-access-b2gch9fn.js → location-services-b7wwt9tw.js} +25 -25
  110. package/dist/chunks/{file-access-m6gy85y0.js → location-services-bcjhdqzs.js} +20 -20
  111. package/dist/chunks/{file-access-t3swkhbg.js → location-services-bgxcxs0p.js} +5 -5
  112. package/dist/chunks/{file-access-9b36z5yg.js → location-services-bha4atvq.js} +4 -4
  113. package/dist/chunks/{file-access-spqgdpza.js → location-services-bkr4pjs6.js} +9 -9
  114. package/dist/chunks/{file-access-sstmea9h.js → location-services-bn81s3gb.js} +9 -9
  115. package/dist/chunks/{file-access-e5nv3ght.js → location-services-bndc73cn.js} +5 -5
  116. package/dist/chunks/{file-access-dpcqhtkn.js → location-services-bp8fbrfw.js} +15 -15
  117. package/dist/chunks/{file-access-hn57h045.js → location-services-ca7w653e.js} +4 -4
  118. package/dist/chunks/{file-access-6ywjc070.js → location-services-cbbxnz2q.js} +22 -22
  119. package/dist/chunks/{file-access-m0jqrx5p.js → location-services-cfpkc3c9.js} +2 -2
  120. package/dist/chunks/{file-access-ycrw32xq.js → location-services-cktzqvwp.js} +14 -14
  121. package/dist/chunks/{file-access-v24739yc.js → location-services-cnvnzs5z.js} +12 -12
  122. package/dist/chunks/{file-access-cpj0znwe.js → location-services-cpj0znwe.js} +1 -1
  123. package/dist/chunks/{file-access-s587y4ee.js → location-services-cr07tj7n.js} +5 -5
  124. package/dist/chunks/{file-access-km5njsm9.js → location-services-cy7kc1q1.js} +11 -11
  125. package/dist/chunks/{file-access-917gka4z.js → location-services-dbqyrmkt.js} +12 -12
  126. package/dist/chunks/{file-access-8r5sxhkv.js → location-services-dbxcrmyc.js} +3 -3
  127. package/dist/chunks/{file-access-vncycja5.js → location-services-dfe8djrf.js} +4 -4
  128. package/dist/chunks/{file-access-k33y0e94.js → location-services-dgazmx6a.js} +37 -37
  129. package/dist/chunks/{file-access-gqchpbtd.js → location-services-dj9sq318.js} +2 -2
  130. package/dist/chunks/{file-access-be47w3k3.js → location-services-djayz1b9.js} +11 -11
  131. package/dist/chunks/{file-access-pdd0bbjk.js → location-services-dwt525sp.js} +18 -18
  132. package/dist/chunks/{file-access-zw6dtez5.js → location-services-dyn67hmm.js} +4 -4
  133. package/dist/chunks/{file-access-01bhhyb7.js → location-services-e01z6h01.js} +3 -3
  134. package/dist/chunks/{file-access-jjefk1kz.js → location-services-e2xf6ff7.js} +43 -43
  135. package/dist/chunks/{file-access-0j8y3tn5.js → location-services-e9rrmjf1.js} +15 -15
  136. package/dist/chunks/{file-access-02nrjc1r.js → location-services-eaj1djv9.js} +4 -4
  137. package/dist/chunks/{file-access-zj09a0ew.js → location-services-ec87kc5z.js} +4 -4
  138. package/dist/chunks/{file-access-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{file-access-wc8ptzv7.js → location-services-ef8wy0yg.js} +27 -27
  140. package/dist/chunks/{file-access-4nfbas15.js → location-services-egqygf3v.js} +14 -14
  141. package/dist/chunks/{file-access-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{file-access-pr444p5c.js → location-services-evf9rjs4.js} +15 -15
  143. package/dist/chunks/{file-access-hdnk95c8.js → location-services-f828m53h.js} +2 -2
  144. package/dist/chunks/{file-access-rj5xkaak.js → location-services-fnqw9s27.js} +15 -15
  145. package/dist/chunks/{file-access-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{file-access-jgv4nkbw.js → location-services-fxp7jvj2.js} +18 -18
  147. package/dist/chunks/{file-access-f3ngv102.js → location-services-g190xswt.js} +4 -4
  148. package/dist/chunks/{file-access-4wrt768g.js → location-services-g5bdk11j.js} +4 -4
  149. package/dist/chunks/{file-access-zmk6j7b1.js → location-services-g7775ndf.js} +13 -13
  150. package/dist/chunks/{file-access-b27vhd2z.js → location-services-g8d3gcyj.js} +7 -7
  151. package/dist/chunks/{file-access-8y62cfgq.js → location-services-g97k7hqe.js} +6 -6
  152. package/dist/chunks/{file-access-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{file-access-s6jatava.js → location-services-gh298ty0.js} +12 -12
  154. package/dist/chunks/{file-access-32x43b5h.js → location-services-gkjbdhm0.js} +4 -4
  155. package/dist/chunks/{file-access-v65pmyz7.js → location-services-gkqpf5j8.js} +3 -3
  156. package/dist/chunks/{file-access-3knnkrdf.js → location-services-gn22vpfk.js} +18 -18
  157. package/dist/chunks/{file-access-yyb7tjpc.js → location-services-gv6a8nnw.js} +2 -2
  158. package/dist/chunks/{file-access-s7769g1c.js → location-services-gz1ysa8z.js} +22 -22
  159. package/dist/chunks/{file-access-h03wrkyp.js → location-services-h03wrkyp.js} +2 -2
  160. package/dist/chunks/{file-access-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{file-access-pfz3dw98.js → location-services-ha0nspk8.js} +24 -24
  162. package/dist/chunks/{file-access-qx87dfmj.js → location-services-hdh6cx73.js} +12 -12
  163. package/dist/chunks/{file-access-7tcrqq4t.js → location-services-hqdn5jrt.js} +7 -7
  164. package/dist/chunks/{file-access-8snetkfr.js → location-services-hy5fzqeh.js} +5 -5
  165. package/dist/chunks/{file-access-5apets8e.js → location-services-hz0n22rs.js} +5 -5
  166. package/dist/chunks/{file-access-j56e64zr.js → location-services-j56e64zr.js} +1 -1
  167. package/dist/chunks/{file-access-3ppptnan.js → location-services-j5w2yx54.js} +6 -6
  168. package/dist/chunks/{file-access-k31cg7qp.js → location-services-j91m9kav.js} +15 -15
  169. package/dist/chunks/{file-access-y3ye89br.js → location-services-j95sj0b7.js} +40 -40
  170. package/dist/chunks/{file-access-vmgcxazz.js → location-services-jcpsvazg.js} +5 -5
  171. package/dist/chunks/{file-access-azvx9vjt.js → location-services-jea6qdrd.js} +15 -15
  172. package/dist/chunks/{file-access-mby8mxat.js → location-services-jfy9m09y.js} +10 -10
  173. package/dist/chunks/{file-access-bbfsgge0.js → location-services-jwa4pvs5.js} +22 -22
  174. package/dist/chunks/{file-access-a3dkvnxb.js → location-services-k3cgqnmg.js} +44 -44
  175. package/dist/chunks/{file-access-ngdt5g2x.js → location-services-k9kj6xed.js} +10 -10
  176. package/dist/chunks/{file-access-pj43p8qp.js → location-services-kc86y1cg.js} +5 -5
  177. package/dist/chunks/{file-access-a46e93d3.js → location-services-kcm4f2kg.js} +6 -6
  178. package/dist/chunks/{file-access-1r6cykv1.js → location-services-ktm1df1f.js} +4 -4
  179. package/dist/chunks/{file-access-6ycvbcht.js → location-services-kvq4cs15.js} +16 -16
  180. package/dist/chunks/{file-access-enbnvbva.js → location-services-m1vq15se.js} +33 -33
  181. package/dist/chunks/{file-access-rgp511zr.js → location-services-m2gtt6ea.js} +2 -2
  182. package/dist/chunks/{file-access-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{file-access-9ev53f4q.js → location-services-mazvwtnn.js} +12 -12
  184. package/dist/chunks/{file-access-7h1ryc6p.js → location-services-me1tt2vw.js} +9 -9
  185. package/dist/chunks/{file-access-z6t9vx1b.js → location-services-mq0rsbgt.js} +11 -11
  186. package/dist/chunks/{file-access-3stbjpb0.js → location-services-my244nh0.js} +20 -20
  187. package/dist/chunks/{file-access-a6kbnp9r.js → location-services-nbqe97f8.js} +6 -6
  188. package/dist/chunks/{file-access-andt55zn.js → location-services-nc4xh2kb.js} +51 -51
  189. package/dist/chunks/{file-access-sve5t580.js → location-services-nj8hxbz2.js} +52 -52
  190. package/dist/chunks/{file-access-qv9gx9bg.js → location-services-nqdbn1cc.js} +29 -29
  191. package/dist/chunks/{file-access-ys2m57fz.js → location-services-nsdnjfab.js} +33 -33
  192. package/dist/chunks/{file-access-p5599t8k.js → location-services-p1fvsthc.js} +8 -8
  193. package/dist/chunks/{file-access-9ancjmj9.js → location-services-p1hzy66n.js} +28 -28
  194. package/dist/chunks/{file-access-r4ck6ye8.js → location-services-p3bz7yjh.js} +11 -11
  195. package/dist/chunks/{file-access-9bkgmrac.js → location-services-p3q8av9z.js} +3 -3
  196. package/dist/chunks/{file-access-50hk1gym.js → location-services-p5ndkpmy.js} +9 -9
  197. package/dist/chunks/{file-access-c1661jpf.js → location-services-pas7sy9w.js} +1 -1
  198. package/dist/chunks/{file-access-e2e34s5q.js → location-services-pf3kx1xh.js} +26 -26
  199. package/dist/chunks/{file-access-a97f1kxr.js → location-services-pfj4yg38.js} +30 -30
  200. package/dist/chunks/{file-access-d9s573fh.js → location-services-pjmw00w1.js} +7 -7
  201. package/dist/chunks/{file-access-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{file-access-pknna89w.js → location-services-pknna89w.js} +1 -1
  203. package/dist/chunks/{file-access-ashkezcm.js → location-services-pkzfcp45.js} +26 -26
  204. package/dist/chunks/location-services-pmhjn3da.js +26 -0
  205. package/dist/chunks/{file-access-b5j16w9d.js → location-services-pn2fvd3j.js} +12 -12
  206. package/dist/chunks/{file-access-qfjwnv02.js → location-services-pv1225zn.js} +1 -1
  207. package/dist/chunks/{file-access-ewwzb6sv.js → location-services-q6wy8yy3.js} +5 -5
  208. package/dist/chunks/{file-access-t7e0y256.js → location-services-q8dzjkx6.js} +9 -9
  209. package/dist/chunks/{file-access-qgn6gcr1.js → location-services-qgn6gcr1.js} +1 -1
  210. package/dist/chunks/{file-access-dsyvch4e.js → location-services-qnaqs727.js} +13 -13
  211. package/dist/chunks/{file-access-zf9pbwsw.js → location-services-qrsn4n6d.js} +84 -84
  212. package/dist/chunks/{file-access-qsdy395h.js → location-services-qsdy395h.js} +1 -1
  213. package/dist/chunks/{file-access-bj5hbc59.js → location-services-r135cjb7.js} +4 -4
  214. package/dist/chunks/{file-access-qmqgtz8f.js → location-services-r2m716tb.js} +9 -9
  215. package/dist/chunks/{file-access-r9mregkx.js → location-services-r9mregkx.js} +2 -2
  216. package/dist/chunks/{file-access-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{file-access-zetsppkw.js → location-services-rhmaz7bq.js} +24 -24
  218. package/dist/chunks/{file-access-bhqn7aj9.js → location-services-s7af8scf.js} +11 -11
  219. package/dist/chunks/{file-access-jca4demv.js → location-services-s8610hey.js} +2 -2
  220. package/dist/chunks/{file-access-g0r62mbx.js → location-services-ssnweha5.js} +4 -4
  221. package/dist/chunks/{file-access-92f8rgp2.js → location-services-sx0er8nq.js} +32 -32
  222. package/dist/chunks/{file-access-z6q28316.js → location-services-ta8x8nr4.js} +11 -11
  223. package/dist/chunks/{file-access-n9y08rq6.js → location-services-tangkck8.js} +15 -15
  224. package/dist/chunks/{file-access-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
  225. package/dist/chunks/{file-access-tdbakys2.js → location-services-tc4zgeve.js} +22 -22
  226. package/dist/chunks/{file-access-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
  227. package/dist/chunks/{file-access-tdstcens.js → location-services-tdstcens.js} +1 -1
  228. package/dist/chunks/{file-access-4vb1y0qz.js → location-services-tqzvspav.js} +9 -9
  229. package/dist/chunks/{file-access-m3kws1jr.js → location-services-tr4zpdh3.js} +47 -47
  230. package/dist/chunks/{file-access-tvtrv512.js → location-services-tvtrv512.js} +1 -1
  231. package/dist/chunks/{file-access-dbtyj0an.js → location-services-tw59yntq.js} +6 -6
  232. package/dist/chunks/{file-access-8kckztxt.js → location-services-v1288tjp.js} +25 -25
  233. package/dist/chunks/{file-access-hftty0sn.js → location-services-v2vh6mnd.js} +23 -23
  234. package/dist/chunks/{file-access-7dcaf0ce.js → location-services-v797jxaj.js} +14 -14
  235. package/dist/chunks/location-services-v8p7hepz.js +39 -0
  236. package/dist/chunks/{file-access-22xdy94t.js → location-services-v9561b1h.js} +19 -19
  237. package/dist/chunks/{file-access-veqvce7d.js → location-services-veqvce7d.js} +1 -1
  238. package/dist/chunks/{file-access-8526r7vx.js → location-services-vfyag517.js} +36 -36
  239. package/dist/chunks/{file-access-e64xqjet.js → location-services-vgbbjg13.js} +6 -6
  240. package/dist/chunks/{file-access-8602h8p3.js → location-services-vm8cdysd.js} +8 -8
  241. package/dist/chunks/{file-access-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
  242. package/dist/chunks/{file-access-zsn07k7j.js → location-services-w0rde4tw.js} +11 -11
  243. package/dist/chunks/{file-access-w1k39n5e.js → location-services-w1k39n5e.js} +1 -1
  244. package/dist/chunks/{file-access-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
  245. package/dist/chunks/{file-access-mxyhxd0t.js → location-services-w4dkncpy.js} +10 -10
  246. package/dist/chunks/{file-access-e3adyxrg.js → location-services-w9e5737r.js} +27 -27
  247. package/dist/chunks/{file-access-wd87259q.js → location-services-wd87259q.js} +1 -1
  248. package/dist/chunks/{file-access-1bz55dqa.js → location-services-wft7b0k7.js} +81 -81
  249. package/dist/chunks/{file-access-rds37zvx.js → location-services-wp8d7vmq.js} +23 -23
  250. package/dist/chunks/{file-access-3ktbe3hf.js → location-services-wqkncbjv.js} +6 -6
  251. package/dist/chunks/{file-access-z25b1m8j.js → location-services-x11s5y75.js} +33 -33
  252. package/dist/chunks/{file-access-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
  253. package/dist/chunks/{file-access-3zdwcfwy.js → location-services-xa2bqj84.js} +9 -9
  254. package/dist/chunks/{file-access-njqgj7qg.js → location-services-xe7qpmt5.js} +11 -11
  255. package/dist/chunks/{file-access-47gsdddb.js → location-services-xfkkasph.js} +8 -8
  256. package/dist/chunks/{file-access-mvn2r3z4.js → location-services-xk747vep.js} +8 -8
  257. package/dist/chunks/{file-access-7heb594d.js → location-services-xpahhy1b.js} +21 -21
  258. package/dist/chunks/{file-access-hwr433ds.js → location-services-xpy6m67s.js} +10 -10
  259. package/dist/chunks/{file-access-nzha355v.js → location-services-xr9fhq19.js} +15 -15
  260. package/dist/chunks/location-services-xwdetg76.js +247 -0
  261. package/dist/chunks/{file-access-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
  262. package/dist/chunks/{file-access-9s92gzw6.js → location-services-y55p7fpy.js} +24 -24
  263. package/dist/chunks/{file-access-9rrc34ns.js → location-services-y665jayr.js} +24 -24
  264. package/dist/chunks/{file-access-y71avatq.js → location-services-y71avatq.js} +1 -1
  265. package/dist/chunks/{file-access-e2qab2dq.js → location-services-ydgw7m1v.js} +5 -5
  266. package/dist/chunks/{file-access-7tdtfp7b.js → location-services-yjc6asv9.js} +23 -23
  267. package/dist/chunks/{file-access-76jmq1mn.js → location-services-yjrx1dyy.js} +169 -169
  268. package/dist/chunks/{file-access-rtxak1ft.js → location-services-ymga07ac.js} +13 -13
  269. package/dist/chunks/{file-access-yp2x3t23.js → location-services-yp2x3t23.js} +1 -1
  270. package/dist/chunks/{file-access-he2x7e7z.js → location-services-yra71rfx.js} +3 -3
  271. package/dist/chunks/{file-access-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{file-access-yrznvahk.js → location-services-yrznvahk.js} +2 -2
  273. package/dist/chunks/{file-access-fc4nsy51.js → location-services-ytnbagj1.js} +39 -39
  274. package/dist/chunks/{file-access-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{file-access-mzrp1fyr.js → location-services-z28368px.js} +17 -17
  276. package/dist/chunks/{file-access-z63w68vq.js → location-services-z63w68vq.js} +2 -2
  277. package/dist/chunks/{file-access-5n7sh86d.js → location-services-za4pw5w1.js} +8 -8
  278. package/dist/chunks/{file-access-4cmr76fd.js → location-services-zdh9vwwx.js} +3 -3
  279. package/dist/chunks/{file-access-2wts5qzq.js → location-services-ze5v0a14.js} +8 -8
  280. package/dist/chunks/{file-access-rq775frq.js → location-services-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{file-access-w4axh9wz.js → location-services-zkp7t929.js} +8 -8
  282. package/dist/chunks/{file-access-kw9xdzv2.js → location-services-zn5v3n4q.js} +9 -9
  283. package/dist/chunks/{file-access-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{file-access-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +11 -11
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +84 -84
  289. package/dist/config/discovery.js +81 -81
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +105 -105
  292. package/dist/config/plugin/agent.js +124 -124
  293. package/dist/config/plugin/command.js +212 -212
  294. package/dist/config/plugin/compaction.js +158 -158
  295. package/dist/config/plugin/compatibility.js +140 -140
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +123 -123
  298. package/dist/config/plugin/image.js +122 -122
  299. package/dist/config/plugin/instruction.js +89 -89
  300. package/dist/config/plugin/location-watcher.js +122 -122
  301. package/dist/config/plugin/mcp.js +131 -131
  302. package/dist/config/plugin/policy.js +122 -122
  303. package/dist/config/plugin/provider.js +122 -122
  304. package/dist/config/plugin/reference.js +124 -124
  305. package/dist/config/plugin/shell.js +124 -124
  306. package/dist/config/plugin/skill-file.js +101 -101
  307. package/dist/config/plugin/skill.js +143 -143
  308. package/dist/config/plugin/snapshot.js +122 -122
  309. package/dist/config/plugin/source.js +123 -123
  310. package/dist/config/plugin/tool-output.js +124 -124
  311. package/dist/config/plugin/websearch.js +123 -123
  312. package/dist/config/plugin/worktree.js +124 -124
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +127 -127
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +82 -82
  318. package/dist/database/database.js +65 -65
  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.gen.js +48 -48
  383. package/dist/database/migration.js +50 -50
  384. package/dist/database/path.js +2 -2
  385. package/dist/database/schema.gen.js +1 -1
  386. package/dist/database/schema.sql.js +1 -1
  387. package/dist/database/sqlite.bun.js +1 -1
  388. package/dist/database/sqlite.js +1 -1
  389. package/dist/database/sqlite.node.js +1 -1
  390. package/dist/database/sqlite.workerd.js +1 -1
  391. package/dist/database/v1-migration.bun.js +75 -75
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +364 -363
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +1 -1
  396. package/dist/effect/websocket-constructor.js +1 -1
  397. package/dist/environment/driver.js +1 -1
  398. package/dist/environment/environment.js +92 -92
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +94 -94
  402. package/dist/environment/local.js +2 -2
  403. package/dist/environment/memory.js +2 -2
  404. package/dist/environment/unavailable.js +1 -1
  405. package/dist/event/sql.js +1 -1
  406. package/dist/event-logger.js +69 -69
  407. package/dist/file-access.js +103 -103
  408. package/dist/file-mutation.js +93 -93
  409. package/dist/file-retention.js +1 -1
  410. package/dist/file.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/ignore.js +1 -1
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +223 -223
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +102 -102
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +13 -13
  422. package/dist/filesystem.js +103 -103
  423. package/dist/form.js +83 -83
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +88 -88
  426. package/dist/generate.js +102 -102
  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 +90 -90
  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/id/id.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +355 -354
  452. package/dist/instruction-discovery.js +84 -84
  453. package/dist/instructions/builtins.js +86 -86
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +1 -1
  456. package/dist/integration.js +81 -81
  457. package/dist/job.js +76 -76
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +72 -72
  460. package/dist/location-activity.js +129 -129
  461. package/dist/location-mutation.js +103 -103
  462. package/dist/location-service-map.js +85 -85
  463. package/dist/location-services.js +352 -351
  464. package/dist/location.js +86 -86
  465. package/dist/mcp/client.js +90 -90
  466. package/dist/mcp/index.js +107 -107
  467. package/dist/mcp/instructions.js +126 -126
  468. package/dist/mcp/oauth.js +77 -77
  469. package/dist/mcp/stdio.js +89 -89
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +90 -90
  472. package/dist/model-resolver.js +97 -97
  473. package/dist/model.js +95 -95
  474. package/dist/models-dev.js +106 -106
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +75 -75
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +106 -106
  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 +87 -87
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +74 -74
  484. package/dist/plugin/agent.js +103 -103
  485. package/dist/plugin/command.js +100 -100
  486. package/dist/plugin/hooks.js +3 -3
  487. package/dist/plugin/host.js +216 -216
  488. package/dist/plugin/identity.js +10 -0
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +327 -326
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +95 -95
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +101 -101
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  498. package/dist/plugin/provider/azure.js +121 -121
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +118 -118
  504. package/dist/plugin/provider/digitalocean.js +92 -92
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/gateway.js +2 -2
  508. package/dist/plugin/provider/github-copilot.js +92 -92
  509. package/dist/plugin/provider/gitlab.js +90 -90
  510. package/dist/plugin/provider/google-vertex.js +89 -89
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +76 -76
  513. package/dist/plugin/provider/lmstudio.js +121 -121
  514. package/dist/plugin/provider/modal.js +91 -91
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +121 -121
  517. package/dist/plugin/provider/openai.js +93 -93
  518. package/dist/plugin/provider/opencode.js +92 -92
  519. package/dist/plugin/provider/openrouter.js +90 -90
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +77 -77
  522. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  523. package/dist/plugin/provider/sap-ai-core.js +90 -90
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  526. package/dist/plugin/provider/venice.js +2 -2
  527. package/dist/plugin/provider/vercel.js +89 -89
  528. package/dist/plugin/provider/vllm.js +121 -121
  529. package/dist/plugin/provider/xai.js +90 -90
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +158 -158
  532. package/dist/plugin/sdk.js +75 -75
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +140 -140
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +346 -345
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +85 -85
  539. package/dist/plugin/vcs/hg.js +85 -85
  540. package/dist/plugin/warming.js +120 -120
  541. package/dist/plugin/websearch/exa.js +7 -7
  542. package/dist/plugin/websearch/firecrawl.js +8 -8
  543. package/dist/plugin/websearch/index.js +9 -9
  544. package/dist/plugin/websearch/mcp.js +4 -4
  545. package/dist/plugin/websearch/parallel.js +8 -8
  546. package/dist/plugin/websearch/tavily.js +6 -6
  547. package/dist/plugin/websearch/tinyfish.js +8 -8
  548. package/dist/plugin.js +223 -223
  549. package/dist/project/schema.js +6 -6
  550. package/dist/project/sql.js +4 -4
  551. package/dist/project.js +87 -87
  552. package/dist/provider.js +94 -94
  553. package/dist/pty/protocol.js +1 -1
  554. package/dist/pty/schema.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +85 -85
  557. package/dist/reference/instructions.js +84 -84
  558. package/dist/reference.js +88 -88
  559. package/dist/repository-cache.js +80 -80
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +96 -96
  563. package/dist/rpc.js +83 -83
  564. package/dist/schema.js +1 -1
  565. package/dist/session/command.js +73 -73
  566. package/dist/session/compaction.js +132 -132
  567. package/dist/session/context.js +150 -150
  568. package/dist/session/diff.js +87 -87
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +5 -5
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +217 -217
  573. package/dist/session/execution.js +125 -125
  574. package/dist/session/generate.js +149 -149
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +83 -83
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +78 -78
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +96 -96
  581. package/dist/session/message-updater.js +4 -4
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +115 -115
  584. package/dist/session/model-transport.js +7 -7
  585. package/dist/session/move.js +129 -129
  586. package/dist/session/projector.js +85 -85
  587. package/dist/session/prompt.js +104 -104
  588. package/dist/session/provider-context.js +1 -1
  589. package/dist/session/revert.js +89 -89
  590. package/dist/session/run-coordinator.js +1 -1
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +228 -228
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +97 -97
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +113 -113
  597. package/dist/session/runner/step.js +124 -124
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +3 -3
  600. package/dist/session/session.js +169 -169
  601. package/dist/session/shell.js +137 -137
  602. package/dist/session/skill.js +102 -102
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +72 -72
  605. package/dist/session/store.js +82 -82
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +208 -208
  608. package/dist/session/system-prompt.js +5 -5
  609. package/dist/session/title.js +154 -154
  610. package/dist/session/to-session-error.js +110 -110
  611. package/dist/session/transfer.js +215 -215
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +216 -216
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +9 -9
  618. package/dist/shell.js +139 -139
  619. package/dist/skill/discovery.js +4 -4
  620. package/dist/skill/instructions.js +104 -104
  621. package/dist/skill.js +105 -105
  622. package/dist/snapshot.js +90 -90
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +125 -125
  627. package/dist/tool/plugin/edit.js +119 -119
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +123 -123
  630. package/dist/tool/plugin/grep.js +123 -123
  631. package/dist/tool/plugin/opencode.js +3 -3
  632. package/dist/tool/plugin/patch.js +121 -121
  633. package/dist/tool/plugin/question.js +106 -106
  634. package/dist/tool/plugin/read.js +124 -124
  635. package/dist/tool/plugin/shell.js +215 -215
  636. package/dist/tool/plugin/skill.js +110 -110
  637. package/dist/tool/plugin/subagent.js +217 -217
  638. package/dist/tool/plugin/webfetch.js +109 -109
  639. package/dist/tool/plugin/websearch.js +113 -113
  640. package/dist/tool/plugin/write.js +121 -121
  641. package/dist/tool/read-filesystem.js +99 -99
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +13 -13
  645. package/dist/types/plugin/identity.d.ts +8 -0
  646. package/dist/util/error-summary.js +1 -1
  647. package/dist/util/error.js +1 -1
  648. package/dist/util/git-executable.js +2 -2
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +5 -5
  656. package/dist/v1/config/attachment.js +2 -2
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/formatter.js +3 -3
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +3 -3
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +91 -91
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +1 -1
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/variant.js +92 -92
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +88 -88
  675. package/dist/websearch.js +83 -83
  676. package/dist/wellknown/plugin.js +75 -75
  677. package/dist/wellknown.js +78 -78
  678. package/dist/workspace/driver.js +7 -7
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +79 -79
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +8 -8
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree/strategies.js +88 -88
  685. package/dist/worktree.js +95 -95
  686. package/package.json +8 -8
  687. package/dist/chunks/file-access-by5v678g.js +0 -18
  688. package/dist/chunks/file-access-h2q74avv.js +0 -26
  689. package/dist/chunks/file-access-phnkt68t.js +0 -474
  690. package/dist/chunks/file-access-xv4gw76e.js +0 -247
  691. /package/dist/chunks/{file-access-0mesazry.js → location-services-0mesazry.js} +0 -0
  692. /package/dist/chunks/{file-access-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{file-access-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{file-access-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{file-access-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{file-access-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{file-access-24dcb14g.js → location-services-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{file-access-2710q6r3.js → location-services-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{file-access-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{file-access-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{file-access-359p4xyc.js → location-services-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{file-access-3asan66x.js → location-services-3asan66x.js} +0 -0
  703. /package/dist/chunks/{file-access-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{file-access-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
  705. /package/dist/chunks/{file-access-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{file-access-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{file-access-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{file-access-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{file-access-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{file-access-53557ph1.js → location-services-53557ph1.js} +0 -0
  711. /package/dist/chunks/{file-access-550bvhaj.js → location-services-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{file-access-5qd3pb7m.js → location-services-5qd3pb7m.js} +0 -0
  713. /package/dist/chunks/{file-access-6prwharc.js → location-services-6prwharc.js} +0 -0
  714. /package/dist/chunks/{file-access-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{file-access-7m9af43g.js → location-services-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{file-access-822emrt2.js → location-services-822emrt2.js} +0 -0
  717. /package/dist/chunks/{file-access-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{file-access-8n3pysct.js → location-services-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{file-access-922hggd3.js → location-services-922hggd3.js} +0 -0
  720. /package/dist/chunks/{file-access-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{file-access-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{file-access-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{file-access-af5trqkr.js → location-services-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{file-access-afrmfg78.js → location-services-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{file-access-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{file-access-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{file-access-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{file-access-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{file-access-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{file-access-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{file-access-d9fn303g.js → location-services-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{file-access-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{file-access-dajrwvna.js → location-services-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{file-access-dap0rakb.js → location-services-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{file-access-df08tz66.js → location-services-df08tz66.js} +0 -0
  736. /package/dist/chunks/{file-access-dy18nga0.js → location-services-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{file-access-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{file-access-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{file-access-ec1grn59.js → location-services-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{file-access-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{file-access-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{file-access-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{file-access-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{file-access-faypxj3z.js → location-services-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{file-access-fd410y7t.js → location-services-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{file-access-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
  747. /package/dist/chunks/{file-access-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{file-access-g86h250q.js → location-services-g86h250q.js} +0 -0
  749. /package/dist/chunks/{file-access-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{file-access-gftt206x.js → location-services-gftt206x.js} +0 -0
  751. /package/dist/chunks/{file-access-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
  752. /package/dist/chunks/{file-access-hk9envan.js → location-services-hk9envan.js} +0 -0
  753. /package/dist/chunks/{file-access-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{file-access-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{file-access-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
  756. /package/dist/chunks/{file-access-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{file-access-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{file-access-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{file-access-mp448xyj.js → location-services-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{file-access-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{file-access-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{file-access-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{file-access-njntx4h6.js → location-services-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{file-access-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
  765. /package/dist/chunks/{file-access-q74kybfr.js → location-services-q74kybfr.js} +0 -0
  766. /package/dist/chunks/{file-access-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
  767. /package/dist/chunks/{file-access-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
  768. /package/dist/chunks/{file-access-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
  769. /package/dist/chunks/{file-access-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
  770. /package/dist/chunks/{file-access-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
  771. /package/dist/chunks/{file-access-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
  772. /package/dist/chunks/{file-access-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
  773. /package/dist/chunks/{file-access-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
  774. /package/dist/chunks/{file-access-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{file-access-twg0f83k.js → location-services-twg0f83k.js} +0 -0
  776. /package/dist/chunks/{file-access-w803qqfp.js → location-services-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{file-access-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{file-access-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{file-access-wtztk69x.js → location-services-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{file-access-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{file-access-x61499pn.js → location-services-x61499pn.js} +0 -0
  782. /package/dist/chunks/{file-access-y44na4kk.js → location-services-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{file-access-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
  784. /package/dist/chunks/{file-access-y8f7s663.js → location-services-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{file-access-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{file-access-ym463w8f.js → location-services-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{file-access-z9919s4g.js → location-services-z9919s4g.js} +0 -0
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./file-access-y71avatq.js";
3
+ } from "./location-services-y71avatq.js";
4
4
  import {
5
5
  Service81,
6
6
  node85
7
- } from "./file-access-zw6dtez5.js";
7
+ } from "./location-services-dyn67hmm.js";
8
8
  import {
9
- Event15,
10
- Service62,
11
- node65
12
- } from "./file-access-fak7xqqt.js";
9
+ Event14,
10
+ Service66,
11
+ node70
12
+ } from "./location-services-3qppezv8.js";
13
13
  import {
14
- Service78,
15
- node82
16
- } from "./file-access-t9kha2ca.js";
17
- import {
18
- Service76,
14
+ Service75,
19
15
  node79
20
- } from "./file-access-eahf1j6r.js";
16
+ } from "./location-services-415rc5ej.js";
17
+ import {
18
+ Service55,
19
+ node57
20
+ } from "./location-services-80vjes0x.js";
21
21
  import {
22
- ID8,
23
- Service61,
24
- node64
25
- } from "./file-access-hg4hxzv1.js";
22
+ ID11,
23
+ Service67,
24
+ node71
25
+ } from "./location-services-0586yqyr.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./file-access-rdw6cm16.js";
29
+ } from "./location-services-rdw6cm16.js";
30
30
  import {
31
- ID7,
31
+ ID9,
32
32
  MethodID2,
33
- Service60,
34
- node63
35
- } from "./file-access-mmy2zf88.js";
33
+ Service65,
34
+ node69
35
+ } from "./location-services-5knxp1w9.js";
36
36
  import {
37
37
  __export
38
- } from "./file-access-9rqn6x4v.js";
38
+ } from "./location-services-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError5,
45
- Options: () => Options5,
44
+ NotFoundError: () => NotFoundError3,
45
+ Options: () => Options2,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
50
50
  ResourceContentPart: () => ResourceContentPart2,
51
51
  ResourceTemplate: () => ResourceTemplate2,
52
52
  ServerName: () => ServerName2,
53
- Service: () => Service36,
53
+ Service: () => Service25,
54
54
  Status: () => Status2,
55
55
  ToolCallError: () => ToolCallError2,
56
- configured: () => configured5,
57
- layer: () => layer16,
58
- node: () => node39
56
+ configured: () => configured2,
57
+ layer: () => layer11,
58
+ node: () => node29
59
59
  });
60
60
  import { Mcp } from "@opencode/schema/mcp";
61
61
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
74
74
  var ResourceContentPart2 = Mcp.ResourceContentPart;
75
75
  var ResourceContent2 = Mcp.ResourceContent;
76
76
 
77
- class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
77
+ class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
78
78
  server: ServerName2
79
79
  }) {
80
80
  get message() {
@@ -92,21 +92,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
92
92
  var URL_ELICITATION_FIELD_KEY = "elicitation";
93
93
  var cloneConfig = (config) => structuredClone(config);
94
94
 
95
- class Service36 extends Context.Service()("@opencode/MCP") {
95
+ class Service25 extends Context.Service()("@opencode/MCP") {
96
96
  }
97
- var Options5 = Schema.Struct({
97
+ var Options2 = Schema.Struct({
98
98
  clientInfo: Schema.optional(Schema.Struct({
99
99
  name: Schema.String,
100
100
  version: Schema.String
101
101
  }))
102
102
  });
103
- var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
104
- const location = yield* Service78;
105
- const environment = yield* Service76;
103
+ var layer11 = (options) => Layer.effect(Service25, Effect.gen(function* () {
104
+ const location = yield* Service75;
105
+ const environment = yield* Service55;
106
106
  const bus = yield* Service81;
107
- const forms = yield* Service61;
108
- const integration = yield* Service60;
109
- const credentials = yield* Service62;
107
+ const forms = yield* Service67;
108
+ const integration = yield* Service65;
109
+ const credentials = yield* Service66;
110
110
  const root = yield* Effect.scope;
111
111
  const fork = yield* FiberSet.makeRuntime();
112
112
  const entries = new Map;
@@ -118,7 +118,7 @@ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
118
118
  return;
119
119
  const remote = entry.config;
120
120
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
121
- const integrationID = ID7.make(suffix);
121
+ const integrationID = ID9.make(suffix);
122
122
  entry.integrationID = integrationID;
123
123
  owned.add(integrationID);
124
124
  const methodID = MethodID2.make(suffix);
@@ -134,7 +134,7 @@ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
134
134
  method: { id: methodID, type: "oauth", label: name },
135
135
  authorize: () => Effect.gen(function* () {
136
136
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
137
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service62, credentials));
137
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service66, credentials));
138
138
  })
139
139
  });
140
140
  }).pipe(Scope.provide(scope));
@@ -143,19 +143,19 @@ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
143
143
  const name = ServerName2.make(server);
144
144
  const entry = entries.get(name);
145
145
  if (!entry)
146
- return yield* new NotFoundError5({ server: name });
146
+ return yield* new NotFoundError3({ server: name });
147
147
  return { name, entry };
148
148
  });
149
149
  const connectProvider = Effect.fnUntraced(function* (entry) {
150
150
  if (entry.config.type !== "remote" || !entry.integrationID)
151
151
  return;
152
152
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
153
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service62, credentials));
153
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service66, credentials));
154
154
  });
155
155
  const elicitation = {
156
156
  create: (input) => Effect.gen(function* () {
157
157
  if (input.params.mode === "url") {
158
- const formID = ID8.create();
158
+ const formID = ID11.create();
159
159
  const elicitationID = input.params.elicitationId;
160
160
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
161
161
  if (key)
@@ -239,7 +239,7 @@ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
239
239
  entry.scope = scope;
240
240
  const authProvider = yield* connectProvider(entry);
241
241
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
242
- const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service76, environment), Scope.provide(scope), Effect.exit);
242
+ const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service55, environment), Scope.provide(scope), Effect.exit);
243
243
  if (Exit.isSuccess(result)) {
244
244
  entry.client = result.value.connection;
245
245
  entry.tools = result.value.tools.map((tool) => toTool(name, entry, tool));
@@ -363,7 +363,7 @@ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
363
363
  yield* startServer(name, entry);
364
364
  }).pipe(locks.withLock(name));
365
365
  });
366
- fork(bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
366
+ fork(bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
367
367
  const state = create3({
368
368
  name: "mcp",
369
369
  initial: () => ({
@@ -389,7 +389,7 @@ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
389
389
  }),
390
390
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
391
391
  });
392
- return Service36.of({
392
+ return Service25.of({
393
393
  transform: state.transform,
394
394
  reload: state.reload,
395
395
  servers: Effect.fn("MCP.servers")(function* () {
@@ -508,14 +508,14 @@ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
508
508
  })
509
509
  });
510
510
  }));
511
- function configured5(options) {
511
+ function configured2(options) {
512
512
  return makeLocationNode({
513
- service: Service36,
514
- layer: layer16(options),
515
- deps: [node82, node79, node85, node64, node63, node65]
513
+ service: Service25,
514
+ layer: layer11(options),
515
+ deps: [node79, node57, node85, node71, node69, node70]
516
516
  });
517
517
  }
518
- var node39 = configured5();
518
+ var node29 = configured2();
519
519
  function toElicitationField(key, property, required) {
520
520
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
521
521
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -566,4 +566,4 @@ function toElicitationField(key, property, required) {
566
566
  }
567
567
  }
568
568
 
569
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service36, Options5, layer16, configured5, node39, exports_mcp4 };
569
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service25, Options2, layer11, configured2, node29, exports_mcp4 };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./file-access-s8j3dq9b.js";
4
+ } from "./location-services-25tw5xqn.js";
5
5
  import {
6
6
  Service81,
7
7
  node85
8
- } from "./file-access-zw6dtez5.js";
8
+ } from "./location-services-dyn67hmm.js";
9
9
  import {
10
- Service40,
11
- node42
12
- } from "./file-access-3ppptnan.js";
10
+ Service36,
11
+ node38
12
+ } from "./location-services-j5w2yx54.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./file-access-922hggd3.js";
16
+ } from "./location-services-922hggd3.js";
17
17
  import {
18
- Service79,
19
- node83
20
- } from "./file-access-qv9gx9bg.js";
18
+ Service76,
19
+ node80
20
+ } from "./location-services-nqdbn1cc.js";
21
21
  import {
22
22
  Ref4
23
- } from "./file-access-t9kha2ca.js";
23
+ } from "./location-services-415rc5ej.js";
24
24
  import {
25
- Service54,
26
- node57
27
- } from "./file-access-sxd752g3.js";
25
+ Service50,
26
+ node52
27
+ } from "./location-services-a3f8kctb.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./file-access-gftt206x.js";
30
+ } from "./location-services-gftt206x.js";
31
31
  import {
32
- NotFoundError10
33
- } from "./file-access-3ktbe3hf.js";
32
+ NotFoundError9
33
+ } from "./location-services-wqkncbjv.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./file-access-ec1grn59.js";
36
+ } from "./location-services-ec1grn59.js";
37
37
  import {
38
- Service38
39
- } from "./file-access-hn57h045.js";
38
+ Service33
39
+ } from "./location-services-ca7w653e.js";
40
40
  import {
41
41
  Service72,
42
- node75
43
- } from "./file-access-by9rpdtw.js";
42
+ node76
43
+ } from "./location-services-9r37c4n6.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service39,
48
- node41,
47
+ Service34,
48
+ node36,
49
49
  moveIDs2
50
- } from "./file-access-k31cg7qp.js";
50
+ } from "./location-services-j91m9kav.js";
51
51
  import {
52
- Service37,
53
- node40
54
- } from "./file-access-z25b1m8j.js";
52
+ Service32,
53
+ node35
54
+ } from "./location-services-x11s5y75.js";
55
55
  import {
56
- node29
57
- } from "./file-access-g00jty2v.js";
56
+ node23
57
+ } from "./location-services-aggp30hw.js";
58
58
  import {
59
59
  __export
60
- } from "./file-access-9rqn6x4v.js";
60
+ } from "./location-services-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service25,
68
+ Service: () => Service19,
69
69
  SessionMove: () => exports_move,
70
- node: () => node28
70
+ node: () => node22
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service25 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service19 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service25, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service79;
92
- const locations = yield* Service54;
91
+ const projects = yield* Service76;
92
+ const locations = yield* Service50;
93
93
  const store = yield* Service72;
94
- const execution = yield* Service37;
95
- const instances = yield* Service40;
96
- const admission = yield* Service39;
94
+ const execution = yield* Service32;
95
+ const instances = yield* Service36;
96
+ const admission = yield* Service34;
97
97
  const database = yield* Service82;
98
98
  const bus = yield* Service81;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError10({ sessionID });
102
+ return yield* new NotFoundError9({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service38.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
134
+ return yield* Service33.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service25.of({
136
+ return Service19.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node28 = makeGlobalNode({
167
- service: Service25,
166
+ var node22 = makeGlobalNode({
167
+ service: Service19,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node83,
173
- node57,
174
- node75,
175
- node40,
176
- node42,
177
- node41,
172
+ node80,
173
+ node52,
174
+ node76,
175
+ node35,
176
+ node38,
177
+ node36,
178
178
  node86,
179
179
  node85,
180
- node29
180
+ node23
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service25, node28, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service19, node22, exports_move };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-access-922hggd3.js";
3
+ } from "./location-services-922hggd3.js";
4
4
  import {
5
5
  Service82,
6
6
  node86
7
- } from "./file-access-s8j3dq9b.js";
7
+ } from "./location-services-25tw5xqn.js";
8
8
  import {
9
9
  Service81,
10
10
  node85
11
- } from "./file-access-zw6dtez5.js";
11
+ } from "./location-services-dyn67hmm.js";
12
12
  import {
13
- Service80,
14
- node84
15
- } from "./file-access-v24739yc.js";
13
+ Service77,
14
+ node81
15
+ } from "./location-services-cnvnzs5z.js";
16
16
  import {
17
17
  ID18,
18
18
  Current3,
19
- Info34,
19
+ Info33,
20
20
  UpdateInput4,
21
- Event21,
21
+ Event19,
22
22
  Vcs3
23
- } from "./file-access-d9s573fh.js";
23
+ } from "./location-services-pjmw00w1.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./file-access-dj2t23y0.js";
27
+ } from "./location-services-8p4f9s12.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./file-access-m0jqrx5p.js";
30
+ } from "./location-services-cfpkc3c9.js";
31
31
  import {
32
32
  __export
33
- } from "./file-access-9rqn6x4v.js";
33
+ } from "./location-services-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
39
  ID: () => ID17,
40
- Info: () => Info33,
41
- NotFoundError: () => NotFoundError11,
40
+ Info: () => Info32,
41
+ NotFoundError: () => NotFoundError10,
42
42
  Project: () => exports_project,
43
- Service: () => Service79,
43
+ Service: () => Service76,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node83,
46
+ node: () => node80,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -58,10 +58,10 @@ import { Hash } from "@opencode/util/hash";
58
58
  var ID17 = ID18;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info33 = Info34;
61
+ var Info32 = Info33;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
64
+ class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
65
  projectID: ID17
66
66
  }) {
67
67
  }
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service79 extends Context.Service()("@opencode/Project") {
74
+ class Service76 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -93,9 +93,9 @@ function fromRow(row) {
93
93
  sandboxes: row.sandboxes
94
94
  };
95
95
  }
96
- var layer = Layer.effect(Service79, Effect.gen(function* () {
96
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
97
97
  const fs = yield* FSUtil.Service;
98
- const git = yield* Service80;
98
+ const git = yield* Service77;
99
99
  const proc = yield* AppProcess.Service;
100
100
  const bus = yield* Service81;
101
101
  const db = (yield* Service82).db;
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
106
106
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
107
107
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
108
108
  if (row)
109
- yield* bus.publish(Event21.Updated, fromRow(row));
109
+ yield* bus.publish(Event19.Updated, fromRow(row));
110
110
  }
111
111
  if (!project.vcs)
112
112
  return project;
@@ -166,9 +166,9 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
166
166
  time_updated: Date.now()
167
167
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
168
168
  if (!row)
169
- return yield* new NotFoundError11({ projectID: input.projectID });
169
+ return yield* new NotFoundError10({ projectID: input.projectID });
170
170
  const project = fromRow(row);
171
- yield* bus.publish(Event21.Updated, project);
171
+ yield* bus.publish(Event19.Updated, project);
172
172
  return project;
173
173
  });
174
174
  const cached = Effect.fnUntraced(function* (dir) {
@@ -270,12 +270,12 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
270
270
  vcs: undefined
271
271
  });
272
272
  });
273
- return Service79.of({ list, update, resolve });
273
+ return Service76.of({ list, update, resolve });
274
274
  }));
275
- var node83 = makeGlobalNode({
276
- service: Service79,
275
+ var node80 = makeGlobalNode({
276
+ service: Service76,
277
277
  layer,
278
- deps: [node85, node86, FSUtil.node, node84, AppProcess.node]
278
+ deps: [node85, node86, FSUtil.node, node81, AppProcess.node]
279
279
  });
280
280
 
281
- export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service79, node83, exports_project };
281
+ export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2, Service76, node80, exports_project };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./file-access-2a5m3afh.js";
3
+ } from "./location-services-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./file-access-922hggd3.js";
6
+ } from "./location-services-922hggd3.js";
7
7
  import {
8
- Service78
9
- } from "./file-access-t9kha2ca.js";
8
+ Service75
9
+ } from "./location-services-415rc5ej.js";
10
10
  import {
11
- Service76
12
- } from "./file-access-eahf1j6r.js";
11
+ Service55
12
+ } from "./location-services-80vjes0x.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service75
16
- } from "./file-access-pdd0bbjk.js";
15
+ Service40
16
+ } from "./location-services-dwt525sp.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./file-access-1h5aw7tx.js";
23
+ } from "./location-services-0ms6sga5.js";
24
24
  import {
25
25
  Service70
26
- } from "./file-access-6snq9ewv.js";
26
+ } from "./location-services-5dfvhher.js";
27
27
  import {
28
- Service65
29
- } from "./file-access-b2jj88ef.js";
28
+ Service37
29
+ } from "./location-services-4gd3ydy5.js";
30
30
  import {
31
31
  __export
32
- } from "./file-access-9rqn6x4v.js";
32
+ } from "./location-services-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input12,
39
- Output: () => Output8,
40
- Plugin: () => Plugin45,
41
- name: () => name12,
42
- toModelContent: () => toModelContent6
38
+ Input: () => Input3,
39
+ Output: () => Output3,
40
+ Plugin: () => Plugin18,
41
+ name: () => name3,
42
+ toModelContent: () => toModelContent3
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name12 = "grep";
48
- var Input12 = Schema.Struct({
47
+ var name3 = "grep";
48
+ var Input3 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input12 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output8 = Schema.Array(Match2);
69
- var toModelContent6 = (matches, truncated = false) => {
68
+ var Output3 = Schema.Array(Match2);
69
+ var toModelContent3 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin45 = {
86
+ var Plugin18 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service76;
90
- const ripgrep = yield* Service75;
91
- const location = yield* Service78;
92
- const access = yield* Service65;
89
+ const environment = yield* Service55;
90
+ const ripgrep = yield* Service40;
91
+ const location = yield* Service75;
92
+ const access = yield* Service37;
93
93
  const permission = yield* Service70;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name12,
95
+ name: name3,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input12,
99
- output: Output8,
98
+ input: Input3,
99
+ output: Output3,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name12,
105
+ action: name3,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin45 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent6(result.matches.map((match) => ({
147
+ content: toModelContent3(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin45 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name12, Input12, Output8, toModelContent6, Plugin45, exports_grep };
157
+ export { name3, Input3, Output3, toModelContent3, Plugin18, exports_grep };