@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,12 +1,12 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./file-access-gftt206x.js";
3
+ } from "./location-services-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./file-access-q3t37ft6.js";
6
+ } from "./location-services-2f04pwep.js";
7
7
  import {
8
8
  __export
9
- } from "./file-access-9rqn6x4v.js";
9
+ } from "./location-services-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
12
  var exports_error2 = {};
@@ -19,7 +19,7 @@ __export(exports_error2, {
19
19
  InboxConflictError: () => InboxConflictError2,
20
20
  MessageDecodeError: () => MessageDecodeError2,
21
21
  MessageNotFoundError: () => MessageNotFoundError2,
22
- NotFoundError: () => NotFoundError10,
22
+ NotFoundError: () => NotFoundError9,
23
23
  PromptConflictError: () => PromptConflictError2,
24
24
  SessionErrors: () => exports_error2,
25
25
  SkillNotFoundError: () => SkillNotFoundError2,
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
32
32
  import { Skill } from "@opencode/schema/skill";
33
33
  import { SessionError } from "@opencode/schema/session-error";
34
34
 
35
- class NotFoundError10 extends Schema.TaggedError()("Session.NotFoundError", {
35
+ class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
36
36
  sessionID: SessionSchema2.ID
37
37
  }) {
38
38
  }
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
123
123
  }) {
124
124
  }
125
125
 
126
- export { NotFoundError10, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
126
+ export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
@@ -1,59 +1,59 @@
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
- Service47,
11
- node49
12
- } from "./file-access-8b68vhre.js";
10
+ Service49,
11
+ node51
12
+ } from "./location-services-6c28me67.js";
13
13
  import {
14
- Service40,
15
- node42
16
- } from "./file-access-3ppptnan.js";
14
+ Service36,
15
+ node38
16
+ } from "./location-services-j5w2yx54.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./file-access-ec1grn59.js";
19
+ } from "./location-services-ec1grn59.js";
20
20
  import {
21
21
  make16
22
- } from "./file-access-yp2x3t23.js";
22
+ } from "./location-services-yp2x3t23.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service38
26
- } from "./file-access-hn57h045.js";
25
+ Service33
26
+ } from "./location-services-ca7w653e.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./file-access-3ktbe3hf.js";
29
+ } from "./location-services-wqkncbjv.js";
30
30
  import {
31
31
  Service72,
32
- node75
33
- } from "./file-access-by9rpdtw.js";
32
+ node76
33
+ } from "./location-services-9r37c4n6.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./file-access-bj5hbc59.js";
36
+ } from "./location-services-r135cjb7.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./file-access-k31cg7qp.js";
39
+ } from "./location-services-j91m9kav.js";
40
40
  import {
41
41
  __export
42
- } from "./file-access-9rqn6x4v.js";
42
+ } from "./location-services-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service37,
47
+ Service: () => Service32,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer17,
50
- node: () => node40,
49
+ layer: () => layer14,
50
+ node: () => node35,
51
51
  noopLayer: () => noopLayer2,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service37 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service32 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer17 = Layer.effect(Service37, Effect.gen(function* () {
68
+ var layer14 = Layer.effect(Service32, Effect.gen(function* () {
69
69
  const store = yield* Service72;
70
- const instances = yield* Service40;
70
+ const instances = yield* Service36;
71
71
  const bus = yield* Service81;
72
- const jobs = yield* Service47;
72
+ const jobs = yield* Service49;
73
73
  const db = (yield* Service82).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,7 +82,7 @@ var layer17 = Layer.effect(Service37, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service38.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service33.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable)
@@ -109,7 +109,7 @@ var layer17 = Layer.effect(Service37, Effect.gen(function* () {
109
109
  }, releaseOnCommit(sessionID));
110
110
  }))
111
111
  });
112
- return Service37.of({
112
+ return Service32.of({
113
113
  active: coordinator.active,
114
114
  isActive: coordinator.isActive,
115
115
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -128,12 +128,12 @@ var layer17 = Layer.effect(Service37, Effect.gen(function* () {
128
128
  awaitIdle: coordinator.awaitIdle
129
129
  });
130
130
  }));
131
- var node40 = makeGlobalNode({
132
- service: Service37,
133
- layer: layer17,
134
- deps: [node75, node42, node85, node86, node49]
131
+ var node35 = makeGlobalNode({
132
+ service: Service32,
133
+ layer: layer14,
134
+ deps: [node76, node38, node85, node86, node51]
135
135
  });
136
- var noopLayer2 = Layer.succeed(Service37, Service37.of({
136
+ var noopLayer2 = Layer.succeed(Service32, Service32.of({
137
137
  active: Effect.succeed(new Set),
138
138
  isActive: () => Effect.succeed(false),
139
139
  resume: () => Effect.void,
@@ -142,4 +142,4 @@ var noopLayer2 = Layer.succeed(Service37, Service37.of({
142
142
  awaitIdle: () => Effect.void
143
143
  }));
144
144
 
145
- export { Service37, terminal2, layer17, node40, noopLayer2, exports_execution };
145
+ export { Service32, terminal2, layer14, node35, noopLayer2, exports_execution };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-access-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service40
3
- } from "./file-access-3ppptnan.js";
2
+ Service36
3
+ } from "./location-services-j5w2yx54.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./file-access-by5v678g.js";
6
+ } from "./location-services-9zdhvgqs.js";
7
7
  import {
8
- Service49
9
- } from "./file-access-jjefk1kz.js";
8
+ Service44
9
+ } from "./location-services-e2xf6ff7.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./file-access-fxbjtjnd.js";
12
+ } from "./location-services-fxbjtjnd.js";
13
13
  import {
14
14
  __export
15
- } from "./file-access-9rqn6x4v.js";
15
+ } from "./location-services-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service40;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service49), instances.provide(input.session));
25
+ const instances = yield* Service36;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service44), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service51
3
- } from "./file-access-vpgyrhve.js";
2
+ Service47
3
+ } from "./location-services-b5t6kpaj.js";
4
4
  import {
5
- Service45
6
- } from "./file-access-kw9xdzv2.js";
5
+ Service59
6
+ } from "./location-services-zn5v3n4q.js";
7
7
  import {
8
8
  observe2
9
- } from "./file-access-qsdy395h.js";
9
+ } from "./location-services-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./file-access-9rqn6x4v.js";
12
+ } from "./location-services-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: () => Plugin12
18
+ Plugin: () => Plugin38
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin12 = define({
22
+ var Plugin38 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service51;
26
- const image = yield* Service45;
25
+ const config = yield* Service47;
26
+ const image = yield* Service59;
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 Plugin12 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin12, exports_image };
46
+ export { Plugin38, exports_image };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./file-access-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make14,
10
- render: () => render2
9
+ make: () => make15,
10
+ render: () => render3
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
14
- var system_default = `You are an AI agent powered by OpenCode, a coding agent harness. Help the user accomplish their goals using the tools you have available.
14
+ var system_default = `You are an AI agent running in OpenCode, a coding agent harness. Help the user accomplish their goals using the tools you have available.
15
15
 
16
16
  # Harness
17
17
  - Responses are rendered as GitHub-flavored Markdown.
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make14(tools) {
33
- return render2(system_default, tools);
32
+ function make15(tools) {
33
+ return render3(system_default, tools);
34
34
  }
35
- function render2(prompt, tools) {
35
+ function render3(prompt, tools) {
36
36
  const instructions = [];
37
37
  if (tools.includes("shell")) {
38
38
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make14, render2, exports_system_prompt };
50
+ export { make15, render3, exports_system_prompt };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-access-922hggd3.js";
3
+ } from "./location-services-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-access-9rqn6x4v.js";
6
+ } from "./location-services-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service8,
11
+ Service: () => Service9,
12
12
  SkillDiscovery: () => exports_discovery,
13
13
  node: () => node10
14
14
  });
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service9 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service8, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service9, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service8.of({
66
+ return Service9.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node10 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node10 = makeGlobalNode({ service: Service9, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service8, node10, exports_discovery };
155
+ export { Service9, node10, exports_discovery };
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  Service70
3
- } from "./file-access-6snq9ewv.js";
3
+ } from "./location-services-5dfvhher.js";
4
4
  import {
5
- ID11,
5
+ ID12,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
9
  Service69
10
- } from "./file-access-8yppv9j5.js";
10
+ } from "./location-services-72wxma7g.js";
11
11
  import {
12
12
  __export
13
- } from "./file-access-9rqn6x4v.js";
13
+ } from "./location-services-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
- var exports_skill3 = {};
17
- __export(exports_skill3, {
18
- Input: () => Input11,
16
+ var exports_skill2 = {};
17
+ __export(exports_skill2, {
18
+ Input: () => Input9,
19
19
  Output: () => Output7,
20
- Plugin: () => Plugin44,
21
- SkillTool: () => exports_skill3,
22
- description: () => description5,
23
- name: () => name11,
20
+ Plugin: () => Plugin25,
21
+ SkillTool: () => exports_skill2,
22
+ description: () => description4,
23
+ name: () => name9,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name11 = "skill";
30
- var Input11 = Schema.Struct({
31
- id: ID11.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
29
+ var name9 = "skill";
30
+ var Input9 = Schema.Struct({
31
+ id: ID12.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
33
  var Output7 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
37
37
  });
38
- var description5 = [
38
+ var description4 = [
39
39
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
40
40
  "",
41
41
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -43,17 +43,17 @@ var description5 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin44 = {
46
+ var Plugin25 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const skills = yield* Service69;
51
51
  const permission = yield* Service70;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name11,
53
+ name: name9,
54
54
  options: { codemode: false },
55
- description: description5,
56
- input: Input11,
55
+ description: description4,
56
+ input: Input9,
57
57
  output: Output7,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
@@ -61,7 +61,7 @@ var Plugin44 = {
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name11,
64
+ action: name9,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin44 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name11, Input11, Output7, description5, toModelOutput2, Plugin44, exports_skill3 };
82
+ export { name9, Input9, Output7, description4, toModelOutput2, Plugin25, exports_skill2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
- ID5
3
- } from "./file-access-ea3fxjgj.js";
2
+ ID7
3
+ } from "./location-services-8027tmm7.js";
4
4
  import {
5
- Service51
6
- } from "./file-access-vpgyrhve.js";
5
+ Service47
6
+ } from "./location-services-b5t6kpaj.js";
7
7
  import {
8
8
  foldSettings2
9
- } from "./file-access-dbtyj0an.js";
9
+ } from "./location-services-tw59yntq.js";
10
10
 
11
11
  // src/plugin/provider/vllm.ts
12
12
  import { define } from "@opencode/plugin/effect/plugin";
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
21
21
  var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
22
22
  var discovery = new Map;
23
23
  var discoveryLock = Semaphore.makeUnsafe(1);
24
- function make8(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
24
+ function make4(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
25
25
  return define({
26
26
  id: "opencode.provider.vllm",
27
27
  effect: Effect.fn(function* (ctx) {
28
28
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
29
- const config = yield* Service51;
29
+ const config = yield* Service47;
30
30
  const source = { current: configured(yield* config.entries(), origin) };
31
31
  const loaded = { models: [], hash: "[]" };
32
32
  yield* ctx.integration.transform((integrations) => {
@@ -53,7 +53,7 @@ function make8(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
53
53
  });
54
54
  for (const item of loaded.models) {
55
55
  providers.models.update(providerID, item.id, (model) => {
56
- model.modelID = ID5.make(item.id);
56
+ model.modelID = ID7.make(item.id);
57
57
  model.name = item.id;
58
58
  model.capabilities = { tools: false, input: ["text"], output: ["text"] };
59
59
  if (typeof item.max_model_len === "number" && item.max_model_len > 0)
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
112
112
  })
113
113
  });
114
114
  }
115
- var VLLMPlugin2 = make8();
115
+ var VLLMPlugin2 = make4();
116
116
  function configured(entries, origin) {
117
117
  const settings = foldSettings2(entries, providerID, undefined);
118
118
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -134,4 +134,4 @@ function configured(entries, origin) {
134
134
  return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
135
135
  }
136
136
 
137
- export { make8, VLLMPlugin2 };
137
+ export { make4, VLLMPlugin2 };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-access-7n0p62ew.js";
3
+ } from "./location-services-5149gher.js";
4
4
  import {
5
5
  Service81
6
- } from "./file-access-zw6dtez5.js";
6
+ } from "./location-services-dyn67hmm.js";
7
7
  import {
8
8
  OAuth3,
9
- Event15
10
- } from "./file-access-fak7xqqt.js";
9
+ Event14
10
+ } from "./location-services-3qppezv8.js";
11
11
  import {
12
- ID7,
12
+ ID9,
13
13
  MethodID2
14
- } from "./file-access-mmy2zf88.js";
14
+ } from "./location-services-5knxp1w9.js";
15
15
  import {
16
- ID6
17
- } from "./file-access-rds37zvx.js";
16
+ ID8
17
+ } from "./location-services-wp8d7vmq.js";
18
18
  import {
19
- ID5,
19
+ ID7,
20
20
  Family2
21
- } from "./file-access-ea3fxjgj.js";
21
+ } from "./location-services-8027tmm7.js";
22
22
  import {
23
23
  bootstrap2
24
- } from "./file-access-pjvnvgmy.js";
24
+ } from "./location-services-pjvnvgmy.js";
25
25
 
26
26
  // src/plugin/provider/digitalocean.ts
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
29
29
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
30
- var providerID = ID6.make("digitalocean");
31
- var integrationID = ID7.make("digitalocean");
30
+ var providerID = ID8.make("digitalocean");
31
+ var integrationID = ID9.make("digitalocean");
32
32
  var methodID = MethodID2.make("browser");
33
33
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
34
34
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
148
148
  return;
149
149
  for (const router of loaded.routers) {
150
150
  const id = `router:${router.name}`;
151
- if (evt.get(providerID)?.models.has(ID5.make(id)))
151
+ if (evt.get(providerID)?.models.has(ID7.make(id)))
152
152
  continue;
153
153
  evt.models.update(providerID, id, (draft) => {
154
154
  draft.name = router.name;
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
159
159
  }
160
160
  });
161
161
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
162
- yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
+ yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
163
163
  yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
164
164
  })
165
165
  });