@opencode/core 0.0.0-dev-21832 → 0.0.0-dev-21843

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 (806) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +94 -94
  4. package/dist/aisdk.js +100 -100
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +77 -77
  7. package/dist/chunks/{worktree-jneg3k74.js → location-activity-02pz8arg.js} +8 -8
  8. package/dist/chunks/{worktree-b6h3agk1.js → location-activity-033a0jkt.js} +3 -3
  9. package/dist/chunks/{worktree-aj7mw0zk.js → location-activity-034tev2y.js} +2 -2
  10. package/dist/chunks/{worktree-mzf7pqqe.js → location-activity-05x0v6vq.js} +7 -7
  11. package/dist/chunks/{worktree-sfzvze88.js → location-activity-0bmnjpfs.js} +6 -6
  12. package/dist/chunks/{worktree-zyz3pmwr.js → location-activity-0hdn0fa7.js} +8 -8
  13. package/dist/chunks/{worktree-tp98z23w.js → location-activity-0ms9wyx6.js} +14 -14
  14. package/dist/chunks/{worktree-rh3bv7hm.js → location-activity-0tvnnqrs.js} +6 -6
  15. package/dist/chunks/{worktree-3nnh6x8n.js → location-activity-0x36h70s.js} +30 -30
  16. package/dist/chunks/{worktree-11hfp36g.js → location-activity-11hfp36g.js} +1 -1
  17. package/dist/chunks/{worktree-ds26jgk3.js → location-activity-16atamx4.js} +5 -5
  18. package/dist/chunks/{worktree-qyk31xf6.js → location-activity-19m0w0bv.js} +26 -26
  19. package/dist/chunks/location-activity-1b4ezkbd.js +26 -0
  20. package/dist/chunks/{worktree-27w5k9zf.js → location-activity-1ep2p91f.js} +2 -2
  21. package/dist/chunks/{worktree-6hxyv8w6.js → location-activity-1kjz3a69.js} +18 -18
  22. package/dist/chunks/{worktree-jjg5yz1h.js → location-activity-1r150qaf.js} +9 -9
  23. package/dist/chunks/{worktree-krcgmfx1.js → location-activity-1tzjbzhg.js} +5 -5
  24. package/dist/chunks/{worktree-1x2knyw4.js → location-activity-1x2knyw4.js} +1 -1
  25. package/dist/chunks/{worktree-x564bgvm.js → location-activity-1yw8ef7d.js} +11 -11
  26. package/dist/chunks/{worktree-b5qn2jt5.js → location-activity-1zc1v7j6.js} +11 -11
  27. package/dist/chunks/{worktree-j0xszzq0.js → location-activity-2hp5yqxf.js} +30 -30
  28. package/dist/chunks/{worktree-30r67fxy.js → location-activity-2k60tzqy.js} +22 -22
  29. package/dist/chunks/{worktree-2z1j29yd.js → location-activity-2z1j29yd.js} +1 -1
  30. package/dist/chunks/{worktree-mn53dk4j.js → location-activity-30147ds3.js} +6 -6
  31. package/dist/chunks/{worktree-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{worktree-a5vkyr04.js → location-activity-3mahw19w.js} +31 -31
  33. package/dist/chunks/{worktree-8wezqzag.js → location-activity-3mwdbvs3.js} +23 -23
  34. package/dist/chunks/{worktree-kd4chd64.js → location-activity-3ryz99p0.js} +7 -7
  35. package/dist/chunks/{worktree-m30wvgj2.js → location-activity-3s22rsh1.js} +34 -34
  36. package/dist/chunks/{worktree-4f15exd5.js → location-activity-3s7a6tyr.js} +1 -1
  37. package/dist/chunks/{worktree-hhafapa0.js → location-activity-3t73xeyv.js} +2 -2
  38. package/dist/chunks/{worktree-8yqsymsg.js → location-activity-3xgpm2f0.js} +6 -6
  39. package/dist/chunks/{worktree-j78bae2j.js → location-activity-41kbj73v.js} +18 -18
  40. package/dist/chunks/{worktree-y35tw0d0.js → location-activity-42a3ps5p.js} +28 -28
  41. package/dist/chunks/{worktree-pbjge5gp.js → location-activity-487p98sc.js} +3 -3
  42. package/dist/chunks/{worktree-00cp3g78.js → location-activity-4avpmr6q.js} +46 -46
  43. package/dist/chunks/{worktree-z3dz6gn5.js → location-activity-4b68tag9.js} +4 -4
  44. package/dist/chunks/{worktree-s7e49xxs.js → location-activity-4drkv06w.js} +6 -6
  45. package/dist/chunks/{worktree-695afxk5.js → location-activity-4fkrdzv3.js} +20 -20
  46. package/dist/chunks/{worktree-q2d8rzza.js → location-activity-4sedpc32.js} +12 -12
  47. package/dist/chunks/{worktree-6k2rkf8h.js → location-activity-4sz2zbgb.js} +4 -4
  48. package/dist/chunks/{worktree-4v008n1t.js → location-activity-4v008n1t.js} +1 -1
  49. package/dist/chunks/{worktree-rdrpd67x.js → location-activity-4wqc8mqe.js} +5 -5
  50. package/dist/chunks/{worktree-4xvmh7wp.js → location-activity-4xvmh7wp.js} +3 -3
  51. package/dist/chunks/location-activity-4zjpcea3.js +517 -0
  52. package/dist/chunks/{worktree-9qpye6ef.js → location-activity-595k99j1.js} +11 -11
  53. package/dist/chunks/{worktree-5fy5wh6g.js → location-activity-59bxvgd1.js} +11 -11
  54. package/dist/chunks/{worktree-n3nby4kh.js → location-activity-5csg2dg3.js} +18 -18
  55. package/dist/chunks/{worktree-7e8scw2k.js → location-activity-5e4012f5.js} +32 -32
  56. package/dist/chunks/{worktree-w2eysc6j.js → location-activity-5enarcya.js} +6 -6
  57. package/dist/chunks/{worktree-5m9w47nd.js → location-activity-5m9w47nd.js} +1 -1
  58. package/dist/chunks/{worktree-b6vsg801.js → location-activity-5nnwax6m.js} +5 -5
  59. package/dist/chunks/{worktree-geqny0bq.js → location-activity-603khqbt.js} +7 -7
  60. package/dist/chunks/{worktree-06nywv30.js → location-activity-6095ntjv.js} +32 -32
  61. package/dist/chunks/{worktree-n5xdxtnj.js → location-activity-61a3p4gm.js} +6 -6
  62. package/dist/chunks/{worktree-bjhzkqyk.js → location-activity-61ennm6n.js} +4 -4
  63. package/dist/chunks/{worktree-erswfzqj.js → location-activity-6akkzwyq.js} +16 -16
  64. package/dist/chunks/{worktree-5p205wab.js → location-activity-6bg0td8b.js} +4 -4
  65. package/dist/chunks/{worktree-yt6kymc0.js → location-activity-6cssycs3.js} +4 -4
  66. package/dist/chunks/{worktree-6esdw8yj.js → location-activity-6esdw8yj.js} +1 -1
  67. package/dist/chunks/{worktree-4jj79f23.js → location-activity-6fpkxg3y.js} +8 -8
  68. package/dist/chunks/{worktree-ntp0y56p.js → location-activity-6j70ej2p.js} +35 -35
  69. package/dist/chunks/{worktree-d6sbn13z.js → location-activity-6jkbzxj9.js} +13 -13
  70. package/dist/chunks/{worktree-6pjqjmy2.js → location-activity-6pjqjmy2.js} +1 -1
  71. package/dist/chunks/{worktree-j7vbh7t2.js → location-activity-6q88zxvg.js} +3 -3
  72. package/dist/chunks/{worktree-ksj36tw4.js → location-activity-6z8136wj.js} +9 -9
  73. package/dist/chunks/{worktree-93wp6b6w.js → location-activity-7525bpb5.js} +7 -7
  74. package/dist/chunks/{worktree-76cb1hcw.js → location-activity-76cb1hcw.js} +1 -1
  75. package/dist/chunks/{worktree-86djksxe.js → location-activity-7a16ehjz.js} +16 -16
  76. package/dist/chunks/{worktree-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{worktree-z4rz3s0w.js → location-activity-7c3myc02.js} +18 -18
  78. package/dist/chunks/{worktree-24cx9b7z.js → location-activity-7e1vp0fn.js} +26 -26
  79. package/dist/chunks/{worktree-fp6jbq7y.js → location-activity-7v8d6x1k.js} +7 -7
  80. package/dist/chunks/{worktree-bdyzd1jt.js → location-activity-7vhm47zd.js} +16 -16
  81. package/dist/chunks/{worktree-7w2ypzdf.js → location-activity-7w2ypzdf.js} +1 -1
  82. package/dist/chunks/{worktree-f21hf6dz.js → location-activity-7z3rpvwm.js} +15 -16
  83. package/dist/chunks/{worktree-xxjr0q4c.js → location-activity-8212brpd.js} +3 -3
  84. package/dist/chunks/{worktree-wggsh2ew.js → location-activity-8324jf5j.js} +17 -17
  85. package/dist/chunks/{worktree-mkt943y8.js → location-activity-89wan0w5.js} +8 -8
  86. package/dist/chunks/{worktree-f4bg9t37.js → location-activity-8c14ptpj.js} +4 -4
  87. package/dist/chunks/{worktree-11aje976.js → location-activity-8ftr6dvn.js} +4 -4
  88. package/dist/chunks/{worktree-qravd527.js → location-activity-8hv3zzk0.js} +23 -23
  89. package/dist/chunks/{worktree-p58azk3d.js → location-activity-8jh9nkx4.js} +14 -14
  90. package/dist/chunks/{worktree-2bvfvv2f.js → location-activity-8k393grp.js} +9 -9
  91. package/dist/chunks/{worktree-abr51mnh.js → location-activity-8kc5h368.js} +8 -8
  92. package/dist/chunks/{worktree-x6bmqb9g.js → location-activity-8mr85aye.js} +20 -20
  93. package/dist/chunks/{worktree-yv6n3e4t.js → location-activity-8p48feyx.js} +8 -8
  94. package/dist/chunks/{worktree-0p25w9ph.js → location-activity-8shc1k29.js} +6 -6
  95. package/dist/chunks/{worktree-8wtp7s3z.js → location-activity-8wtp7s3z.js} +1 -1
  96. package/dist/chunks/{worktree-3akbsydm.js → location-activity-8zhftxja.js} +21 -21
  97. package/dist/chunks/{worktree-91rj84md.js → location-activity-91rj84md.js} +1 -1
  98. package/dist/chunks/{worktree-8qa3g5sa.js → location-activity-95krpnrr.js} +2 -2
  99. package/dist/chunks/{worktree-j1rq0xw8.js → location-activity-98ef583n.js} +11 -11
  100. package/dist/chunks/{worktree-dvj9ct8m.js → location-activity-998yhzzq.js} +3 -3
  101. package/dist/chunks/{worktree-9cx9sm2q.js → location-activity-9cx9sm2q.js} +1 -1
  102. package/dist/chunks/{worktree-mcbcg4yq.js → location-activity-9er42xsq.js} +11 -11
  103. package/dist/chunks/{worktree-jg3dfvq9.js → location-activity-9eyva995.js} +1 -1
  104. package/dist/chunks/{worktree-skkyj46b.js → location-activity-9smdxzvm.js} +17 -17
  105. package/dist/chunks/{worktree-rm75chpx.js → location-activity-9yq7r5dv.js} +33 -33
  106. package/dist/chunks/{worktree-e2x7gzav.js → location-activity-a0qbyar6.js} +5 -5
  107. package/dist/chunks/{worktree-qaky2rz3.js → location-activity-ab09fkn9.js} +21 -21
  108. package/dist/chunks/{worktree-f403h8b4.js → location-activity-agmsx4h5.js} +13 -13
  109. package/dist/chunks/{worktree-wcnxy81f.js → location-activity-am1hrvrn.js} +52 -52
  110. package/dist/chunks/{worktree-d85xqdn3.js → location-activity-awvkesrt.js} +22 -22
  111. package/dist/chunks/{worktree-3cbjf1nt.js → location-activity-ayjs7tqn.js} +2 -2
  112. package/dist/chunks/{worktree-b0mv4wxm.js → location-activity-b0mv4wxm.js} +2 -2
  113. package/dist/chunks/{worktree-wvyfhptm.js → location-activity-b5wpxwgz.js} +16 -16
  114. package/dist/chunks/{worktree-hn0qbz2m.js → location-activity-bdce97ys.js} +24 -24
  115. package/dist/chunks/{worktree-rc8w65gm.js → location-activity-bh8nc5br.js} +27 -27
  116. package/dist/chunks/{worktree-fsre0723.js → location-activity-bq7mp8wa.js} +38 -38
  117. package/dist/chunks/{worktree-43dhkpfn.js → location-activity-br701w79.js} +11 -11
  118. package/dist/chunks/{worktree-xd9cc171.js → location-activity-bstexjd6.js} +5 -5
  119. package/dist/chunks/{worktree-z8e9ff6b.js → location-activity-c1vxy3ef.js} +15 -15
  120. package/dist/chunks/{worktree-qyky1vbj.js → location-activity-cc7r2pny.js} +16 -16
  121. package/dist/chunks/{worktree-2nph1nr4.js → location-activity-ccjdn68k.js} +23 -23
  122. package/dist/chunks/{worktree-sq4s6wq1.js → location-activity-ct9w26td.js} +6 -6
  123. package/dist/chunks/{worktree-rkhtrhzc.js → location-activity-cz2ejaf5.js} +19 -19
  124. package/dist/chunks/{worktree-ax1j2da4.js → location-activity-czec1763.js} +13 -13
  125. package/dist/chunks/{worktree-s4cnera1.js → location-activity-d1549mka.js} +17 -17
  126. package/dist/chunks/{worktree-t65tnfxg.js → location-activity-d2npex55.js} +3 -3
  127. package/dist/chunks/{worktree-qpbq1ttd.js → location-activity-d2rkb4sa.js} +18 -18
  128. package/dist/chunks/{worktree-d4v9tmah.js → location-activity-d4v9tmah.js} +2 -2
  129. package/dist/chunks/{worktree-smrfb97d.js → location-activity-dc4f32k0.js} +12 -12
  130. package/dist/chunks/{worktree-k8f39ak3.js → location-activity-dczehs3t.js} +47 -47
  131. package/dist/chunks/{worktree-x29n1dd5.js → location-activity-dkp9dzpk.js} +24 -24
  132. package/dist/chunks/{worktree-mhmzddah.js → location-activity-dkqkergf.js} +9 -9
  133. package/dist/chunks/{worktree-bs5a9a9v.js → location-activity-dr7gjgjm.js} +5 -5
  134. package/dist/chunks/{worktree-e2ne77ac.js → location-activity-drvbhkez.js} +4 -4
  135. package/dist/chunks/{worktree-ewyr86ft.js → location-activity-dtnnd8wz.js} +27 -27
  136. package/dist/chunks/{worktree-fwfdmgk0.js → location-activity-dtqg9ce1.js} +5 -5
  137. package/dist/chunks/{worktree-6e20mv58.js → location-activity-e07q2w5p.js} +4 -4
  138. package/dist/chunks/{worktree-bgcmwhzg.js → location-activity-e0gtmwd9.js} +19 -19
  139. package/dist/chunks/{worktree-hkemg6xf.js → location-activity-e5zfxx7z.js} +6 -6
  140. package/dist/chunks/{worktree-7e510nwg.js → location-activity-e7690xe6.js} +11 -11
  141. package/dist/chunks/{worktree-e834z07m.js → location-activity-e834z07m.js} +1 -1
  142. package/dist/chunks/{worktree-edvcby6a.js → location-activity-efpq152p.js} +12 -12
  143. package/dist/chunks/{worktree-yxhh0eg2.js → location-activity-epnh506y.js} +2 -2
  144. package/dist/chunks/{worktree-95exz2bq.js → location-activity-f2175j9g.js} +13 -13
  145. package/dist/chunks/{worktree-9m513bsn.js → location-activity-f3pg34sc.js} +16 -16
  146. package/dist/chunks/{worktree-fffv3p7h.js → location-activity-fffv3p7h.js} +1 -1
  147. package/dist/chunks/{worktree-2hn3edqp.js → location-activity-fz89ngxz.js} +15 -15
  148. package/dist/chunks/{worktree-p9g6dw9y.js → location-activity-g11vyvkk.js} +90 -90
  149. package/dist/chunks/{worktree-ztf6n3de.js → location-activity-g42b6ca9.js} +4 -4
  150. package/dist/chunks/{worktree-g5h9c0rr.js → location-activity-g5h9c0rr.js} +2 -2
  151. package/dist/chunks/{worktree-pdt2ff5a.js → location-activity-g6ygjhqz.js} +8 -8
  152. package/dist/chunks/{worktree-e91b353h.js → location-activity-gbf1h0p6.js} +2 -2
  153. package/dist/chunks/{worktree-m3sy78y2.js → location-activity-gc3w7c14.js} +44 -44
  154. package/dist/chunks/{worktree-e50pjhb3.js → location-activity-gcy584ez.js} +16 -16
  155. package/dist/chunks/{worktree-a74nhg91.js → location-activity-gfhqxdr4.js} +20 -20
  156. package/dist/chunks/{worktree-zm3q4tch.js → location-activity-ggdadg23.js} +25 -25
  157. package/dist/chunks/{worktree-wzcykjgt.js → location-activity-ghfxwrd0.js} +74 -74
  158. package/dist/chunks/{worktree-aykhvqdn.js → location-activity-gpk4vna8.js} +11 -11
  159. package/dist/chunks/{worktree-dks4h55m.js → location-activity-gq3pb2ky.js} +57 -57
  160. package/dist/chunks/location-activity-grzehpz7.js +18 -0
  161. package/dist/chunks/{worktree-yrdnce5a.js → location-activity-h0bcja7y.js} +1 -1
  162. package/dist/chunks/{worktree-0pv1adqs.js → location-activity-h3yr6ymm.js} +6 -6
  163. package/dist/chunks/{worktree-6hasb7jx.js → location-activity-hajksvt1.js} +21 -21
  164. package/dist/chunks/{worktree-g7esga4v.js → location-activity-hfgk9wzg.js} +7 -7
  165. package/dist/chunks/{worktree-zqjghnyq.js → location-activity-hspcae4d.js} +26 -26
  166. package/dist/chunks/{worktree-ydsespw1.js → location-activity-hy8c1z76.js} +8 -8
  167. package/dist/chunks/{worktree-j113cymg.js → location-activity-j113cymg.js} +1 -1
  168. package/dist/chunks/{worktree-rtapny2j.js → location-activity-j1qbb91p.js} +19 -19
  169. package/dist/chunks/{worktree-cw1ztss7.js → location-activity-j1svzg7h.js} +19 -19
  170. package/dist/chunks/{worktree-hb5n2c5k.js → location-activity-j3xacg7z.js} +14 -14
  171. package/dist/chunks/{worktree-8kk74xj2.js → location-activity-j4691fhs.js} +12 -12
  172. package/dist/chunks/{worktree-adrm93f2.js → location-activity-j5awm6ww.js} +6 -6
  173. package/dist/chunks/{worktree-p8rd148r.js → location-activity-j72q7jsp.js} +2 -2
  174. package/dist/chunks/{worktree-xy4vra7r.js → location-activity-j9d7tr1v.js} +13 -13
  175. package/dist/chunks/{worktree-gcjdgkn2.js → location-activity-jcqm84fr.js} +9 -9
  176. package/dist/chunks/{worktree-8h6r4m67.js → location-activity-jhge9k7e.js} +31 -31
  177. package/dist/chunks/{worktree-rd5c3v22.js → location-activity-jnvbehxc.js} +25 -25
  178. package/dist/chunks/{worktree-z54qrd8r.js → location-activity-jq363kms.js} +4 -4
  179. package/dist/chunks/{worktree-j6grf6bb.js → location-activity-jr82jprn.js} +26 -26
  180. package/dist/chunks/{worktree-arbdk1zr.js → location-activity-jsfyp282.js} +21 -21
  181. package/dist/chunks/{worktree-kb4178cy.js → location-activity-jy367g8a.js} +10 -10
  182. package/dist/chunks/{worktree-yj3d1z1y.js → location-activity-jy8aw3fz.js} +24 -24
  183. package/dist/chunks/{worktree-vcpvdpk3.js → location-activity-k27hgwn3.js} +12 -12
  184. package/dist/chunks/{worktree-nbwz5qgq.js → location-activity-k6t2g0a3.js} +28 -28
  185. package/dist/chunks/{worktree-k814nvkf.js → location-activity-k814nvkf.js} +1 -1
  186. package/dist/chunks/{worktree-d30eyz0g.js → location-activity-k9brgbn2.js} +41 -41
  187. package/dist/chunks/{worktree-ssfehs1z.js → location-activity-kkqethq7.js} +4 -4
  188. package/dist/chunks/{worktree-5z2q9a8r.js → location-activity-knfxgszc.js} +21 -21
  189. package/dist/chunks/{worktree-kt3bjfbg.js → location-activity-kt3bjfbg.js} +1 -1
  190. package/dist/chunks/{worktree-3647s6zq.js → location-activity-kxbyk518.js} +6 -6
  191. package/dist/chunks/{worktree-m1714858.js → location-activity-m1714858.js} +1 -1
  192. package/dist/chunks/{worktree-z1dp9nz5.js → location-activity-m1vsf3wt.js} +7 -7
  193. package/dist/chunks/{worktree-w78kaheb.js → location-activity-m5t3njjp.js} +11 -11
  194. package/dist/chunks/{worktree-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
  195. package/dist/chunks/{worktree-maspj1v3.js → location-activity-maspj1v3.js} +1 -1
  196. package/dist/chunks/{worktree-45t4pvv9.js → location-activity-msj7tqt3.js} +8 -8
  197. package/dist/chunks/{worktree-4fkatqpa.js → location-activity-mye58y5r.js} +11 -11
  198. package/dist/chunks/{worktree-5pq867hf.js → location-activity-myjk140s.js} +1 -1
  199. package/dist/chunks/{worktree-36p3y7jg.js → location-activity-n5b16bzg.js} +13 -13
  200. package/dist/chunks/{worktree-afmnpta1.js → location-activity-n6v2b7cw.js} +5 -5
  201. package/dist/chunks/{worktree-nah043kf.js → location-activity-nah043kf.js} +1 -1
  202. package/dist/chunks/{worktree-4sarpyhn.js → location-activity-nbmkd425.js} +24 -24
  203. package/dist/chunks/{worktree-p015t6z3.js → location-activity-p015t6z3.js} +2 -2
  204. package/dist/chunks/{worktree-cf3d3h2s.js → location-activity-p125zy0q.js} +14 -14
  205. package/dist/chunks/{worktree-p7vhpwh8.js → location-activity-p7vhpwh8.js} +1 -1
  206. package/dist/chunks/{worktree-s602p396.js → location-activity-p8pcbj49.js} +9 -9
  207. package/dist/chunks/{worktree-0s95dftc.js → location-activity-pfcqehyw.js} +5 -5
  208. package/dist/chunks/{worktree-pknna89w.js → location-activity-pknna89w.js} +1 -1
  209. package/dist/chunks/{worktree-97p8nte2.js → location-activity-pw0akqv8.js} +5 -5
  210. package/dist/chunks/{worktree-m6f7840m.js → location-activity-pybkjvpz.js} +28 -28
  211. package/dist/chunks/{worktree-8n09hdvs.js → location-activity-q1nnka74.js} +8 -8
  212. package/dist/chunks/{worktree-dz8hhvgv.js → location-activity-q46y00v4.js} +9 -9
  213. package/dist/chunks/{worktree-3dj841q6.js → location-activity-q8d6p094.js} +40 -40
  214. package/dist/chunks/{worktree-stn0kadw.js → location-activity-q8daycq1.js} +36 -36
  215. package/dist/chunks/{worktree-9c77wjje.js → location-activity-qjfw0xrc.js} +21 -21
  216. package/dist/chunks/{worktree-cd50e0wg.js → location-activity-qkas69ay.js} +11 -11
  217. package/dist/chunks/{worktree-p0wrzpeb.js → location-activity-qp0pjfax.js} +18 -18
  218. package/dist/chunks/{worktree-z6b1690w.js → location-activity-qzxvg6nn.js} +43 -43
  219. package/dist/chunks/{worktree-r0yr0wbs.js → location-activity-r0yr0wbs.js} +1 -1
  220. package/dist/chunks/{worktree-j28jswtw.js → location-activity-r1bpggkg.js} +15 -15
  221. package/dist/chunks/{worktree-w145qvk2.js → location-activity-r249qerf.js} +10 -10
  222. package/dist/chunks/{worktree-y82h6rr8.js → location-activity-r2f98fb0.js} +21 -21
  223. package/dist/chunks/{worktree-r542h3bh.js → location-activity-r542h3bh.js} +1 -1
  224. package/dist/chunks/{worktree-rb9dy4dg.js → location-activity-rb9dy4dg.js} +1 -1
  225. package/dist/chunks/{worktree-q066xmm0.js → location-activity-rgf5zwbc.js} +26 -26
  226. package/dist/chunks/{worktree-jjbrt4w4.js → location-activity-rk386mc4.js} +19 -19
  227. package/dist/chunks/{worktree-rt5dr6hb.js → location-activity-rt5dr6hb.js} +1 -1
  228. package/dist/chunks/{worktree-fepbbevx.js → location-activity-rzzj9a3f.js} +85 -85
  229. package/dist/chunks/{worktree-h9t23wpm.js → location-activity-s1zqtkx1.js} +9 -9
  230. package/dist/chunks/{worktree-t2n4qmf3.js → location-activity-s5g5aw75.js} +4 -4
  231. package/dist/chunks/{worktree-sa3fpqfw.js → location-activity-sa3fpqfw.js} +2 -2
  232. package/dist/chunks/{worktree-gbbgar44.js → location-activity-sfd0nrs4.js} +15 -15
  233. package/dist/chunks/{worktree-e9p3jgk6.js → location-activity-shx9aams.js} +25 -25
  234. package/dist/chunks/{worktree-24kf08q0.js → location-activity-sns7yv86.js} +30 -30
  235. package/dist/chunks/{worktree-wx8nkbb1.js → location-activity-spzfee89.js} +25 -25
  236. package/dist/chunks/{worktree-sqjzf8x2.js → location-activity-sqjzf8x2.js} +1 -1
  237. package/dist/chunks/{worktree-tczq8hjw.js → location-activity-tczq8hjw.js} +1 -1
  238. package/dist/chunks/{worktree-rn2kv32m.js → location-activity-tffz7380.js} +12 -12
  239. package/dist/chunks/{worktree-ad2qwzwg.js → location-activity-th0j3rqy.js} +51 -51
  240. package/dist/chunks/{worktree-3nnrz6f6.js → location-activity-tmc7xdjs.js} +4 -4
  241. package/dist/chunks/{worktree-hem0ycea.js → location-activity-tptq9ch4.js} +34 -34
  242. package/dist/chunks/{worktree-arz7hw7x.js → location-activity-ts7mkfs9.js} +2 -2
  243. package/dist/chunks/{worktree-x8rzfgrc.js → location-activity-tsnb3ney.js} +14 -14
  244. package/dist/chunks/{worktree-s6fqr474.js → location-activity-twadjf9w.js} +10 -10
  245. package/dist/chunks/{worktree-9n98ejx3.js → location-activity-twdxws5c.js} +35 -35
  246. package/dist/chunks/{worktree-twv2r8f4.js → location-activity-twv2r8f4.js} +2 -2
  247. package/dist/chunks/{worktree-rs5sv2a8.js → location-activity-v2ks0v8v.js} +10 -10
  248. package/dist/chunks/{worktree-v2r1d0zg.js → location-activity-v2r1d0zg.js} +1 -1
  249. package/dist/chunks/{worktree-vd3b3yk9.js → location-activity-vd3b3yk9.js} +1 -1
  250. package/dist/chunks/{worktree-d2dx6a7h.js → location-activity-vdxpn21v.js} +4 -4
  251. package/dist/chunks/{worktree-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
  252. package/dist/chunks/{worktree-hthy47ds.js → location-activity-vhy7p45g.js} +18 -18
  253. package/dist/chunks/{worktree-w78vkh9t.js → location-activity-vm344f9z.js} +22 -22
  254. package/dist/chunks/{worktree-a8mb2d06.js → location-activity-vnnnn0es.js} +25 -25
  255. package/dist/chunks/{worktree-qyzf8248.js → location-activity-vymys6j6.js} +16 -16
  256. package/dist/chunks/{worktree-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{worktree-wakvkjy4.js → location-activity-wakvkjy4.js} +1 -1
  258. package/dist/chunks/{worktree-wd87259q.js → location-activity-wd87259q.js} +1 -1
  259. package/dist/chunks/{worktree-vta5p220.js → location-activity-wpa07s6k.js} +4 -4
  260. package/dist/chunks/{worktree-zweymgaq.js → location-activity-wqajr36m.js} +11 -11
  261. package/dist/chunks/{worktree-wr3re1en.js → location-activity-wr3re1en.js} +1 -1
  262. package/dist/chunks/{worktree-7a4k0486.js → location-activity-wstp8737.js} +6 -6
  263. package/dist/chunks/{worktree-n4q2bts1.js → location-activity-wxprmxtq.js} +29 -29
  264. package/dist/chunks/{worktree-dds9zz6p.js → location-activity-x26wqd07.js} +4 -4
  265. package/dist/chunks/{worktree-3e59rph2.js → location-activity-x3wrktsw.js} +9 -9
  266. package/dist/chunks/{worktree-6xsx1z0g.js → location-activity-xa2396zj.js} +26 -26
  267. package/dist/chunks/{worktree-6k95y278.js → location-activity-xm1hrz56.js} +14 -14
  268. package/dist/chunks/{worktree-0zpa3jfg.js → location-activity-xmh1d652.js} +25 -25
  269. package/dist/chunks/{worktree-80yrqs2x.js → location-activity-xwace2t1.js} +25 -25
  270. package/dist/chunks/{worktree-2fjys8ky.js → location-activity-y159kj1b.js} +2 -2
  271. package/dist/chunks/{worktree-rphf3yd4.js → location-activity-y7fvevzk.js} +27 -27
  272. package/dist/chunks/{worktree-yb20nhc3.js → location-activity-yb20nhc3.js} +1 -1
  273. package/dist/chunks/{worktree-hjpd440b.js → location-activity-yb8v32d2.js} +19 -19
  274. package/dist/chunks/{worktree-gdr92bwx.js → location-activity-ybsnzayh.js} +11 -11
  275. package/dist/chunks/{worktree-pnqk97j3.js → location-activity-yh80qtsd.js} +13 -13
  276. package/dist/chunks/{worktree-sz7p3par.js → location-activity-yhpern24.js} +17 -17
  277. package/dist/chunks/{worktree-setr6b4n.js → location-activity-ymtz0ncd.js} +40 -40
  278. package/dist/chunks/location-activity-ynhjqnw5.js +261 -0
  279. package/dist/chunks/{worktree-gsb6mw3d.js → location-activity-ynxbjwqk.js} +142 -142
  280. package/dist/chunks/{worktree-5nftfhq6.js → location-activity-yxw41t39.js} +39 -39
  281. package/dist/chunks/{worktree-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{worktree-7193gb3b.js → location-activity-z226nxt7.js} +5 -5
  283. package/dist/chunks/{worktree-z38nccrw.js → location-activity-z38nccrw.js} +1 -1
  284. package/dist/chunks/{worktree-2bzhzvzq.js → location-activity-z6sk7g2v.js} +5 -5
  285. package/dist/chunks/{worktree-vx60mxx6.js → location-activity-z8b6a6tg.js} +10 -10
  286. package/dist/chunks/{worktree-zyeyds15.js → location-activity-z8gfxwh4.js} +9 -9
  287. package/dist/chunks/{worktree-r73cphfz.js → location-activity-zjg58x4z.js} +9 -9
  288. package/dist/chunks/{worktree-zkg84ctx.js → location-activity-zkg84ctx.js} +1 -1
  289. package/dist/chunks/{worktree-gstbwwx4.js → location-activity-zqzv0jg6.js} +6 -6
  290. package/dist/chunks/{worktree-h2fy2dat.js → location-activity-zvgs83an.js} +15 -15
  291. package/dist/chunks/{worktree-42dtxe9w.js → location-activity-zyj6nmkw.js} +23 -23
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +9 -9
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +89 -89
  297. package/dist/config/discovery.js +87 -87
  298. package/dist/config/integration.js +3 -3
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +104 -104
  301. package/dist/config/plugin/agent.js +118 -118
  302. package/dist/config/plugin/command.js +214 -214
  303. package/dist/config/plugin/compaction.js +157 -157
  304. package/dist/config/plugin/compatibility.js +137 -137
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +119 -119
  307. package/dist/config/plugin/image.js +118 -118
  308. package/dist/config/plugin/instruction.js +118 -118
  309. package/dist/config/plugin/location-watcher.js +120 -120
  310. package/dist/config/plugin/mcp.js +125 -125
  311. package/dist/config/plugin/policy.js +120 -120
  312. package/dist/config/plugin/provider.js +119 -119
  313. package/dist/config/plugin/reference.js +120 -120
  314. package/dist/config/plugin/shell.js +120 -120
  315. package/dist/config/plugin/skill-file.js +107 -107
  316. package/dist/config/plugin/skill-scan.js +1 -1
  317. package/dist/config/plugin/skill.js +140 -140
  318. package/dist/config/plugin/snapshot.js +118 -118
  319. package/dist/config/plugin/source.js +119 -119
  320. package/dist/config/plugin/tool-output.js +119 -119
  321. package/dist/config/plugin/websearch.js +119 -119
  322. package/dist/config/plugin/worktree.js +120 -120
  323. package/dist/config/variable.js +1 -1
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +121 -121
  326. package/dist/console-access.js +1 -1
  327. package/dist/credential/sql.js +2 -2
  328. package/dist/credential.js +87 -87
  329. package/dist/database/database.js +76 -76
  330. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  331. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  332. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  333. package/dist/database/drizzle/index.js +15 -15
  334. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  337. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  342. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  344. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  345. package/dist/database/drizzle.js +16 -16
  346. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  347. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  348. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  349. package/dist/database/migration/20260225215848_workspace.js +1 -1
  350. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  351. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  352. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  353. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  354. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  355. package/dist/database/migration/20260323234822_events.js +1 -1
  356. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  357. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  358. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  359. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  360. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  361. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  362. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  363. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  364. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  365. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  366. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  367. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  368. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  369. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  370. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  371. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  372. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  373. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  374. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  375. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  376. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  377. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  378. package/dist/database/migration/20260611035744_credential.js +1 -1
  379. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  380. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  381. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  382. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  383. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  384. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  385. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  386. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  387. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  388. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  389. package/dist/database/migration/20260812213948_worktree.js +1 -1
  390. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  391. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  392. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  393. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  394. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  395. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  396. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  397. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  398. package/dist/database/migration.gen.js +53 -53
  399. package/dist/database/migration.js +55 -55
  400. package/dist/database/path.js +2 -2
  401. package/dist/database/schema.gen.js +1 -1
  402. package/dist/database/schema.sql.js +1 -1
  403. package/dist/database/sqlite.bun.js +1 -1
  404. package/dist/database/sqlite.js +1 -1
  405. package/dist/database/sqlite.node.js +1 -1
  406. package/dist/database/sqlite.workerd.js +1 -1
  407. package/dist/database/v1-migration.bun.js +92 -92
  408. package/dist/database/v1-migration.js +1 -1
  409. package/dist/effect/app-node-builder.js +376 -376
  410. package/dist/effect/app-node-platform.js +2 -2
  411. package/dist/effect/keyed-mutex.js +1 -1
  412. package/dist/effect/websocket-constructor.js +1 -1
  413. package/dist/environment/driver.js +1 -1
  414. package/dist/environment/environment.js +98 -98
  415. package/dist/environment/exec-defaults.js +2 -2
  416. package/dist/environment/files.js +1 -1
  417. package/dist/environment/index.js +98 -98
  418. package/dist/environment/local.js +2 -2
  419. package/dist/environment/memory.js +2 -2
  420. package/dist/environment/unavailable.js +1 -1
  421. package/dist/event/sql.js +1 -1
  422. package/dist/event-logger.js +76 -76
  423. package/dist/file-access.js +109 -109
  424. package/dist/file-mutation.js +99 -99
  425. package/dist/file-retention.js +1 -1
  426. package/dist/filesystem/fff.bun.js +2 -2
  427. package/dist/filesystem/fff.js +1 -1
  428. package/dist/filesystem/fff.node.js +2 -2
  429. package/dist/filesystem/fff.workerd.js +2 -2
  430. package/dist/filesystem/location-watcher-policy.js +6 -6
  431. package/dist/filesystem/location-watcher.js +229 -229
  432. package/dist/filesystem/protected.js +1 -1
  433. package/dist/filesystem/search.js +104 -104
  434. package/dist/filesystem/watcher-binding.js +1 -1
  435. package/dist/filesystem/watcher.js +11 -11
  436. package/dist/filesystem.js +107 -107
  437. package/dist/form.js +88 -88
  438. package/dist/formatter/builtins.js +4 -4
  439. package/dist/formatter.js +92 -92
  440. package/dist/generate.js +112 -112
  441. package/dist/git.js +9 -9
  442. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  443. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  444. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  445. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  446. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  447. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  448. package/dist/github-copilot/copilot-provider.js +17 -17
  449. package/dist/github-copilot/models.js +96 -96
  450. package/dist/github-copilot/openai-compatible-error.js +1 -1
  451. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  452. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  453. package/dist/github-copilot/responses/openai-error.js +1 -1
  454. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  455. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  456. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  457. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  458. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  459. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  460. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  461. package/dist/image/photon.js +2 -2
  462. package/dist/image.js +6 -6
  463. package/dist/instance/service.js +5 -5
  464. package/dist/instance.js +367 -367
  465. package/dist/instruction-discovery.js +88 -88
  466. package/dist/instructions/builtins.js +92 -92
  467. package/dist/instructions/index.js +5 -5
  468. package/dist/integration/connection.js +3 -3
  469. package/dist/integration.js +87 -87
  470. package/dist/job.js +82 -82
  471. package/dist/kv/sql.js +2 -2
  472. package/dist/kv.js +77 -77
  473. package/dist/location-activity.js +159 -159
  474. package/dist/location-lifecycle.js +112 -112
  475. package/dist/location-service-map.js +91 -91
  476. package/dist/location-services.js +364 -364
  477. package/dist/location.js +92 -92
  478. package/dist/managed-policy.js +9 -9
  479. package/dist/mcp/client.js +96 -96
  480. package/dist/mcp/index.js +114 -114
  481. package/dist/mcp/instructions.js +143 -143
  482. package/dist/mcp/oauth.js +82 -82
  483. package/dist/mcp/socket-client.js +1 -1
  484. package/dist/mcp/stdio.js +95 -95
  485. package/dist/mime.js +1 -1
  486. package/dist/modal/models.js +96 -96
  487. package/dist/model-resolver.js +104 -104
  488. package/dist/model-retry.js +1 -1
  489. package/dist/model.js +103 -103
  490. package/dist/models-dev.js +112 -112
  491. package/dist/oauth/page.js +1 -1
  492. package/dist/permission/saved.js +82 -82
  493. package/dist/permission/sql.js +5 -5
  494. package/dist/permission.js +112 -112
  495. package/dist/persistent-pty/binary.bun.js +1 -1
  496. package/dist/persistent-pty/daemon.js +1 -1
  497. package/dist/persistent-pty/index.js +94 -94
  498. package/dist/persistent-pty/pty-binding.js +1 -1
  499. package/dist/persistent-pty.js +79 -79
  500. package/dist/plugin/agent.js +78 -78
  501. package/dist/plugin/command.js +105 -105
  502. package/dist/plugin/hooks.js +5 -5
  503. package/dist/plugin/host.js +222 -222
  504. package/dist/plugin/identity.js +5 -5
  505. package/dist/plugin/instance.js +5 -5
  506. package/dist/plugin/internal.js +337 -337
  507. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  508. package/dist/plugin/models-dev.js +101 -101
  509. package/dist/plugin/module.js +120 -120
  510. package/dist/plugin/optimize.js +2 -2
  511. package/dist/plugin/plan.js +107 -107
  512. package/dist/plugin/promise.js +1 -1
  513. package/dist/plugin/provider/amazon-bedrock.js +95 -95
  514. package/dist/plugin/provider/azure.js +118 -118
  515. package/dist/plugin/provider/cerebras.js +1 -1
  516. package/dist/plugin/provider/chatgpt.js +118 -118
  517. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  518. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  519. package/dist/plugin/provider/cohere.js +2 -2
  520. package/dist/plugin/provider/configured.js +114 -114
  521. package/dist/plugin/provider/databricks.js +1 -1
  522. package/dist/plugin/provider/digitalocean.js +98 -98
  523. package/dist/plugin/provider/dynamic.js +2 -2
  524. package/dist/plugin/provider/factory.js +1 -1
  525. package/dist/plugin/provider/github-copilot.js +100 -100
  526. package/dist/plugin/provider/gitlab.js +98 -98
  527. package/dist/plugin/provider/google-vertex.js +115 -115
  528. package/dist/plugin/provider/kilo.js +1 -1
  529. package/dist/plugin/provider/llmgateway.js +82 -82
  530. package/dist/plugin/provider/lmstudio.js +127 -127
  531. package/dist/plugin/provider/local.js +124 -124
  532. package/dist/plugin/provider/modal.js +97 -97
  533. package/dist/plugin/provider/neon.js +1 -1
  534. package/dist/plugin/provider/nvidia.js +1 -1
  535. package/dist/plugin/provider/ollama.js +127 -127
  536. package/dist/plugin/provider/openai-context-caps.js +95 -95
  537. package/dist/plugin/provider/openai.js +118 -118
  538. package/dist/plugin/provider/opencode-legacy.js +103 -103
  539. package/dist/plugin/provider/opencode.js +124 -124
  540. package/dist/plugin/provider/openrouter.js +96 -96
  541. package/dist/plugin/provider/perplexity.js +2 -2
  542. package/dist/plugin/provider/poe.js +83 -83
  543. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  544. package/dist/plugin/provider/sap-ai-core.js +96 -96
  545. package/dist/plugin/provider/sdk-factory.js +1 -1
  546. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  547. package/dist/plugin/provider/vercel.js +95 -95
  548. package/dist/plugin/provider/vllm.js +127 -127
  549. package/dist/plugin/provider/xai.js +96 -96
  550. package/dist/plugin/provider/zenmux.js +1 -1
  551. package/dist/plugin/provider.js +175 -175
  552. package/dist/plugin/sdk.js +74 -74
  553. package/dist/plugin/service.js +3 -3
  554. package/dist/plugin/skill.js +136 -136
  555. package/dist/plugin/source-directory.js +1 -1
  556. package/dist/plugin/supervisor.js +354 -354
  557. package/dist/plugin/tool-input-repair.js +4 -4
  558. package/dist/plugin/update.js +6 -6
  559. package/dist/plugin/vcs/git.js +91 -91
  560. package/dist/plugin/vcs/hg.js +91 -91
  561. package/dist/plugin/verbosity.js +98 -98
  562. package/dist/plugin/warming.js +116 -116
  563. package/dist/plugin/websearch/exa.js +7 -7
  564. package/dist/plugin/websearch/firecrawl.js +8 -8
  565. package/dist/plugin/websearch/index.js +9 -9
  566. package/dist/plugin/websearch/mcp.js +4 -4
  567. package/dist/plugin/websearch/parallel.js +8 -8
  568. package/dist/plugin/websearch/tavily.js +6 -6
  569. package/dist/plugin/websearch/tinyfish.js +8 -8
  570. package/dist/plugin.js +231 -231
  571. package/dist/project/schema.js +4 -4
  572. package/dist/project/sql.js +4 -4
  573. package/dist/project.js +93 -93
  574. package/dist/provider.js +100 -100
  575. package/dist/pty/protocol.js +1 -1
  576. package/dist/pty/ticket.js +1 -1
  577. package/dist/pty.js +95 -95
  578. package/dist/reference/instructions.js +94 -94
  579. package/dist/reference.js +94 -94
  580. package/dist/repository-cache.js +86 -86
  581. package/dist/repository.js +3 -3
  582. package/dist/ripgrep/binary.js +2 -2
  583. package/dist/ripgrep.js +100 -100
  584. package/dist/rpc.js +91 -91
  585. package/dist/schema.js +1 -1
  586. package/dist/session/affinity.js +3 -3
  587. package/dist/session/command.js +78 -78
  588. package/dist/session/compaction.js +139 -139
  589. package/dist/session/context.js +167 -167
  590. package/dist/session/diff.js +93 -93
  591. package/dist/session/environment.js +5 -5
  592. package/dist/session/error.js +5 -5
  593. package/dist/session/event.js +1 -1
  594. package/dist/session/execution/restart.js +224 -224
  595. package/dist/session/execution.js +133 -133
  596. package/dist/session/generate.js +169 -169
  597. package/dist/session/history.js +13 -13
  598. package/dist/session/inbox.js +99 -99
  599. package/dist/session/info.js +3 -3
  600. package/dist/session/instruction-entry.js +83 -83
  601. package/dist/session/instruction-state.js +8 -8
  602. package/dist/session/instructions.js +102 -102
  603. package/dist/session/message-updater.js +4 -4
  604. package/dist/session/message.js +1 -1
  605. package/dist/session/model-request.js +123 -123
  606. package/dist/session/model-transport.js +7 -7
  607. package/dist/session/move.js +135 -135
  608. package/dist/session/projector.js +93 -93
  609. package/dist/session/prompt.js +110 -110
  610. package/dist/session/recent-text.js +1 -1
  611. package/dist/session/revert.js +99 -99
  612. package/dist/session/run-coordinator.js +3 -3
  613. package/dist/session/runner/index.js +3 -3
  614. package/dist/session/runner/llm.js +233 -233
  615. package/dist/session/runner/max-steps.js +1 -1
  616. package/dist/session/runner/model.js +105 -105
  617. package/dist/session/runner/publish-llm-event.js +118 -118
  618. package/dist/session/runner/retry.js +5 -5
  619. package/dist/session/runner/step.js +131 -131
  620. package/dist/session/runner/to-llm-message.js +14 -14
  621. package/dist/session/schema.js +3 -3
  622. package/dist/session/session.js +167 -167
  623. package/dist/session/shell.js +132 -132
  624. package/dist/session/skill.js +110 -110
  625. package/dist/session/sql.js +5 -5
  626. package/dist/session/stats.js +77 -77
  627. package/dist/session/store.js +89 -89
  628. package/dist/session/subagent-completion.js +1 -1
  629. package/dist/session/subagent-job.js +214 -214
  630. package/dist/session/system-prompt.js +5 -5
  631. package/dist/session/title.js +169 -169
  632. package/dist/session/to-session-error.js +117 -117
  633. package/dist/session/transfer.js +219 -219
  634. package/dist/session/usage.js +1 -1
  635. package/dist/session.js +216 -216
  636. package/dist/shell/parse.js +6 -6
  637. package/dist/shell/result.js +1 -1
  638. package/dist/shell/scan.js +1 -1
  639. package/dist/shell/select.js +11 -11
  640. package/dist/shell.js +134 -134
  641. package/dist/skill/discovery.js +6 -6
  642. package/dist/skill/instructions.js +110 -110
  643. package/dist/skill.js +117 -117
  644. package/dist/snapshot.js +96 -96
  645. package/dist/state.js +1 -1
  646. package/dist/tool/html-markdown.js +1 -1
  647. package/dist/tool/http-body.js +1 -1
  648. package/dist/tool/mcp.js +142 -142
  649. package/dist/tool/plugin/edit.js +125 -125
  650. package/dist/tool/plugin/file-diff.js +1 -1
  651. package/dist/tool/plugin/glob.js +129 -129
  652. package/dist/tool/plugin/grep.js +129 -129
  653. package/dist/tool/plugin/mcp-resource.js +129 -129
  654. package/dist/tool/plugin/opencode.js +114 -114
  655. package/dist/tool/plugin/patch.js +123 -123
  656. package/dist/tool/plugin/question.js +108 -108
  657. package/dist/tool/plugin/read.js +130 -130
  658. package/dist/tool/plugin/shell.js +219 -219
  659. package/dist/tool/plugin/skill.js +116 -116
  660. package/dist/tool/plugin/subagent.js +221 -221
  661. package/dist/tool/plugin/todo.js +140 -140
  662. package/dist/tool/plugin/webfetch.js +118 -118
  663. package/dist/tool/plugin/websearch.js +115 -115
  664. package/dist/tool/plugin/write.js +125 -125
  665. package/dist/tool/read-filesystem.js +107 -107
  666. package/dist/tool/runtime.js +1 -1
  667. package/dist/tool-output.js +7 -7
  668. package/dist/tool.js +12 -12
  669. package/dist/usage-limits.js +93 -93
  670. package/dist/util/error-summary.js +1 -1
  671. package/dist/util/git-executable.js +3 -3
  672. package/dist/util/lazy.js +1 -1
  673. package/dist/util/slug.js +1 -1
  674. package/dist/util/token.js +1 -1
  675. package/dist/util/which.js +1 -1
  676. package/dist/util/wildcard.js +1 -1
  677. package/dist/v1/config/agent.js +5 -5
  678. package/dist/v1/config/command.js +5 -5
  679. package/dist/v1/config/mcp.js +4 -4
  680. package/dist/v1/config/migrate.js +97 -97
  681. package/dist/v1/config/permission.js +3 -3
  682. package/dist/v1/config/plugin.js +1 -1
  683. package/dist/v1/config/provider-options.js +1 -1
  684. package/dist/v1/config/provider.js +4 -4
  685. package/dist/variant.js +98 -98
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +92 -92
  688. package/dist/voice.js +92 -92
  689. package/dist/websearch.js +84 -84
  690. package/dist/wellknown/plugin.js +78 -78
  691. package/dist/wellknown.js +85 -85
  692. package/dist/workspace/driver.js +5 -5
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +84 -84
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +11 -11
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +94 -94
  699. package/dist/worktree.js +103 -103
  700. package/package.json +8 -8
  701. package/dist/chunks/worktree-00yw50eq.js +0 -261
  702. package/dist/chunks/worktree-f8ma18fn.js +0 -18
  703. package/dist/chunks/worktree-wntn4vfk.js +0 -26
  704. package/dist/chunks/worktree-x2457qsk.js +0 -517
  705. /package/dist/chunks/{worktree-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{worktree-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{worktree-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{worktree-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{worktree-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{worktree-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{worktree-2bv980vf.js → location-activity-2bv980vf.js} +0 -0
  712. /package/dist/chunks/{worktree-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{worktree-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{worktree-3asan66x.js → location-activity-3asan66x.js} +0 -0
  715. /package/dist/chunks/{worktree-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{worktree-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
  717. /package/dist/chunks/{worktree-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
  718. /package/dist/chunks/{worktree-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
  719. /package/dist/chunks/{worktree-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
  720. /package/dist/chunks/{worktree-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
  721. /package/dist/chunks/{worktree-53557ph1.js → location-activity-53557ph1.js} +0 -0
  722. /package/dist/chunks/{worktree-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
  723. /package/dist/chunks/{worktree-5fjb7ams.js → location-activity-5fjb7ams.js} +0 -0
  724. /package/dist/chunks/{worktree-5qd3pb7m.js → location-activity-5qd3pb7m.js} +0 -0
  725. /package/dist/chunks/{worktree-6prwharc.js → location-activity-6prwharc.js} +0 -0
  726. /package/dist/chunks/{worktree-6q2bdcd1.js → location-activity-6q2bdcd1.js} +0 -0
  727. /package/dist/chunks/{worktree-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{worktree-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{worktree-822emrt2.js → location-activity-822emrt2.js} +0 -0
  730. /package/dist/chunks/{worktree-84wd9syh.js → location-activity-84wd9syh.js} +0 -0
  731. /package/dist/chunks/{worktree-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{worktree-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{worktree-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{worktree-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{worktree-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{worktree-a058387c.js → location-activity-a058387c.js} +0 -0
  737. /package/dist/chunks/{worktree-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{worktree-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{worktree-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{worktree-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{worktree-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{worktree-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{worktree-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{worktree-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{worktree-cqv5kn06.js → location-activity-cqv5kn06.js} +0 -0
  746. /package/dist/chunks/{worktree-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
  747. /package/dist/chunks/{worktree-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
  748. /package/dist/chunks/{worktree-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
  749. /package/dist/chunks/{worktree-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
  750. /package/dist/chunks/{worktree-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
  751. /package/dist/chunks/{worktree-df08tz66.js → location-activity-df08tz66.js} +0 -0
  752. /package/dist/chunks/{worktree-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
  753. /package/dist/chunks/{worktree-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
  754. /package/dist/chunks/{worktree-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
  755. /package/dist/chunks/{worktree-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
  756. /package/dist/chunks/{worktree-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
  757. /package/dist/chunks/{worktree-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
  758. /package/dist/chunks/{worktree-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
  759. /package/dist/chunks/{worktree-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
  760. /package/dist/chunks/{worktree-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
  761. /package/dist/chunks/{worktree-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
  762. /package/dist/chunks/{worktree-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{worktree-g86h250q.js → location-activity-g86h250q.js} +0 -0
  764. /package/dist/chunks/{worktree-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{worktree-gftt206x.js → location-activity-gftt206x.js} +0 -0
  766. /package/dist/chunks/{worktree-hcxmzztb.js → location-activity-hcxmzztb.js} +0 -0
  767. /package/dist/chunks/{worktree-hk9envan.js → location-activity-hk9envan.js} +0 -0
  768. /package/dist/chunks/{worktree-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{worktree-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{worktree-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{worktree-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{worktree-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{worktree-jwr30sdr.js → location-activity-jwr30sdr.js} +0 -0
  774. /package/dist/chunks/{worktree-jze0r7bz.js → location-activity-jze0r7bz.js} +0 -0
  775. /package/dist/chunks/{worktree-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
  776. /package/dist/chunks/{worktree-m18g726c.js → location-activity-m18g726c.js} +0 -0
  777. /package/dist/chunks/{worktree-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
  778. /package/dist/chunks/{worktree-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
  779. /package/dist/chunks/{worktree-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
  780. /package/dist/chunks/{worktree-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
  781. /package/dist/chunks/{worktree-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
  782. /package/dist/chunks/{worktree-pkyv6v7h.js → location-activity-pkyv6v7h.js} +0 -0
  783. /package/dist/chunks/{worktree-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
  784. /package/dist/chunks/{worktree-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
  785. /package/dist/chunks/{worktree-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
  786. /package/dist/chunks/{worktree-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
  787. /package/dist/chunks/{worktree-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
  788. /package/dist/chunks/{worktree-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
  789. /package/dist/chunks/{worktree-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
  790. /package/dist/chunks/{worktree-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
  791. /package/dist/chunks/{worktree-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
  792. /package/dist/chunks/{worktree-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
  793. /package/dist/chunks/{worktree-ve7vex1e.js → location-activity-ve7vex1e.js} +0 -0
  794. /package/dist/chunks/{worktree-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
  795. /package/dist/chunks/{worktree-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
  796. /package/dist/chunks/{worktree-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
  797. /package/dist/chunks/{worktree-wjj7prxr.js → location-activity-wjj7prxr.js} +0 -0
  798. /package/dist/chunks/{worktree-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
  799. /package/dist/chunks/{worktree-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
  800. /package/dist/chunks/{worktree-x61499pn.js → location-activity-x61499pn.js} +0 -0
  801. /package/dist/chunks/{worktree-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
  802. /package/dist/chunks/{worktree-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
  803. /package/dist/chunks/{worktree-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
  804. /package/dist/chunks/{worktree-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
  805. /package/dist/chunks/{worktree-z5v4ffb3.js → location-activity-z5v4ffb3.js} +0 -0
  806. /package/dist/chunks/{worktree-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
@@ -2,44 +2,44 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./worktree-zkg84ctx.js";
5
+ } from "./location-activity-zkg84ctx.js";
6
6
  import {
7
- Service80
8
- } from "./worktree-86djksxe.js";
7
+ Service82
8
+ } from "./location-activity-7a16ehjz.js";
9
9
  import {
10
- Service59
11
- } from "./worktree-x29n1dd5.js";
10
+ Service49
11
+ } from "./location-activity-dkp9dzpk.js";
12
12
  import {
13
- Service50
14
- } from "./worktree-z8e9ff6b.js";
13
+ Service71
14
+ } from "./location-activity-c1vxy3ef.js";
15
15
  import {
16
- Service15,
16
+ Service14,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./worktree-xy4vra7r.js";
19
+ } from "./location-activity-j9d7tr1v.js";
20
20
  import {
21
- Service62
22
- } from "./worktree-d30eyz0g.js";
21
+ Service65
22
+ } from "./location-activity-k9brgbn2.js";
23
23
  import {
24
- Service61,
24
+ Service20,
25
25
  resolvePath2
26
- } from "./worktree-p0wrzpeb.js";
26
+ } from "./location-activity-qp0pjfax.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./worktree-6prwharc.js";
29
+ } from "./location-activity-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./worktree-9rqn6x4v.js";
32
+ } from "./location-activity-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input3,
38
+ Input: () => Input4,
39
39
  Output: () => Output3,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin4,
42
- name: () => name3,
41
+ Plugin: () => Plugin38,
42
+ name: () => name4,
43
43
  toModelContent: () => toModelContent2
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai/effect";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name3 = "patch";
89
- var Input3 = Schema.Struct({
88
+ var name4 = "patch";
89
+ var Input4 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -105,20 +105,20 @@ var toModelContent2 = (output) => [
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin4 = {
108
+ var Plugin38 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service59;
112
- const access = yield* Service61;
113
- const fileMutation = yield* Service15;
114
- const formatter = yield* Service50;
115
- const location = yield* Service80;
116
- const permission = yield* Service62;
111
+ const environment = yield* Service49;
112
+ const access = yield* Service20;
113
+ const fileMutation = yield* Service14;
114
+ const formatter = yield* Service71;
115
+ const location = yield* Service82;
116
+ const permission = yield* Service65;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name3,
118
+ name: name4,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input3,
121
+ input: Input4,
122
122
  output: Output3,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name3, Input3, Applied2, Output3, toModelContent2, Plugin4, exports_patch };
329
+ export { name4, Input4, Applied2, Output3, toModelContent2, Plugin38, exports_patch };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service56,
3
- node58
4
- } from "./worktree-n3nby4kh.js";
2
+ Service64,
3
+ node68
4
+ } from "./location-activity-5csg2dg3.js";
5
5
  import {
6
- Service80,
7
- node83
8
- } from "./worktree-86djksxe.js";
6
+ Service82,
7
+ node86
8
+ } from "./location-activity-7a16ehjz.js";
9
9
  import {
10
- Service55,
11
- node57
12
- } from "./worktree-00cp3g78.js";
10
+ Service63,
11
+ node67
12
+ } from "./location-activity-4avpmr6q.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./worktree-6esdw8yj.js";
16
+ } from "./location-activity-6esdw8yj.js";
17
17
  import {
18
18
  __export
19
- } from "./worktree-9rqn6x4v.js";
19
+ } from "./location-activity-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service3,
25
+ Service: () => Service2,
26
26
  empty: () => empty2,
27
27
  layer: () => layer4,
28
- node: () => node4
28
+ node: () => node3
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service3 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service2 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer4 = Layer.effect(Service3, Effect.gen(function* () {
39
- const config = yield* Service55;
40
- const watcher = yield* Service56;
38
+ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
39
+ const config = yield* Service63;
40
+ const watcher = yield* Service64;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service80;
42
+ const location = yield* Service82;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer4 = Layer.effect(Service3, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service3.of({
61
+ return Service2.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer4 = Layer.effect(Service3, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node4 = makeLocationNode({
74
- service: Service3,
73
+ var node3 = makeLocationNode({
74
+ service: Service2,
75
75
  layer: layer4,
76
- deps: [node57, FSUtil.node, node58, node83]
76
+ deps: [node67, FSUtil.node, node68, node86]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service3,
80
- layer: Layer.succeed(Service3, Service3.of({
79
+ service: Service2,
80
+ layer: Layer.succeed(Service2, Service2.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service3, layer4, node4, empty2, exports_source };
140
+ export { Service2, layer4, node3, empty2, exports_source };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./location-activity-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./location-activity-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  latest2,
3
- Service55
4
- } from "./worktree-00cp3g78.js";
3
+ Service63
4
+ } from "./location-activity-4avpmr6q.js";
5
5
  import {
6
6
  Service54
7
- } from "./worktree-gbbgar44.js";
7
+ } from "./location-activity-sfd0nrs4.js";
8
8
  import {
9
9
  observe2
10
- } from "./worktree-6pjqjmy2.js";
10
+ } from "./location-activity-6pjqjmy2.js";
11
11
  import {
12
12
  __export
13
- } from "./worktree-9rqn6x4v.js";
13
+ } from "./location-activity-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/shell.ts
16
- var exports_shell2 = {};
17
- __export(exports_shell2, {
18
- ConfigShellPlugin: () => exports_shell2,
19
- Plugin: () => Plugin23
16
+ var exports_shell = {};
17
+ __export(exports_shell, {
18
+ ConfigShellPlugin: () => exports_shell,
19
+ Plugin: () => Plugin7
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin23 = define({
23
+ var Plugin7 = define({
24
24
  id: "opencode.config.shell",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service55;
26
+ const config = yield* Service63;
27
27
  const shell = yield* Service54;
28
28
  const loaded = yield* observe2(config, ctx.event, shell.reload());
29
29
  yield* shell.transform((editor) => {
@@ -34,4 +34,4 @@ var Plugin23 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin23, exports_shell2 };
37
+ export { Plugin7, exports_shell };
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./worktree-11hfp36g.js";
3
+ } from "./location-activity-11hfp36g.js";
4
4
  import {
5
5
  Service86,
6
- node89
7
- } from "./worktree-f21hf6dz.js";
8
- import {
9
- Event18,
10
- Service79,
11
- node82
12
- } from "./worktree-m6f7840m.js";
6
+ node90
7
+ } from "./location-activity-7z3rpvwm.js";
13
8
  import {
9
+ Event17,
14
10
  Service80,
15
- node83
16
- } from "./worktree-86djksxe.js";
11
+ node84
12
+ } from "./location-activity-pybkjvpz.js";
17
13
  import {
18
- Service59,
19
- node61
20
- } from "./worktree-x29n1dd5.js";
14
+ Service82,
15
+ node86
16
+ } from "./location-activity-7a16ehjz.js";
21
17
  import {
22
- ID15,
23
- Service78,
24
- node81
25
- } from "./worktree-zm3q4tch.js";
18
+ Service49,
19
+ node52
20
+ } from "./location-activity-dkp9dzpk.js";
21
+ import {
22
+ ID16,
23
+ Service81,
24
+ node85
25
+ } from "./location-activity-ggdadg23.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./worktree-vd3b3yk9.js";
29
+ } from "./location-activity-vd3b3yk9.js";
30
30
  import {
31
31
  ID14,
32
32
  MethodID2,
33
- Service77,
34
- node80
35
- } from "./worktree-zqjghnyq.js";
33
+ Service79,
34
+ node83
35
+ } from "./location-activity-hspcae4d.js";
36
36
  import {
37
37
  __export
38
- } from "./worktree-9rqn6x4v.js";
38
+ } from "./location-activity-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: () => NotFoundError3,
45
- Options: () => Options2,
44
+ NotFoundError: () => NotFoundError5,
45
+ Options: () => Options4,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service26,
52
+ Service: () => Service42,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured2,
56
- layer: () => layer13,
57
- node: () => node30
55
+ configured: () => configured4,
56
+ layer: () => layer18,
57
+ node: () => node45
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
72
72
  var ResourceCatalog2 = Mcp.ResourceCatalog;
73
73
  var ResourceContent2 = Mcp.ResourceContent;
74
74
 
75
- class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -104,21 +104,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
104
104
  var endpointLoads = makeUnsafe2();
105
105
  var cloneConfig = (config) => structuredClone(config);
106
106
 
107
- class Service26 extends Context.Service()("@opencode/MCP") {
107
+ class Service42 extends Context.Service()("@opencode/MCP") {
108
108
  }
109
- var Options2 = Schema.Struct({
109
+ var Options4 = Schema.Struct({
110
110
  clientInfo: Schema.optional(Schema.Struct({
111
111
  name: Schema.String,
112
112
  version: Schema.String
113
113
  }))
114
114
  });
115
- var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
116
- const location = yield* Service80;
117
- const environment = yield* Service59;
115
+ var layer18 = (options) => Layer.effect(Service42, Effect.gen(function* () {
116
+ const location = yield* Service82;
117
+ const environment = yield* Service49;
118
118
  const bus = yield* Service86;
119
- const forms = yield* Service78;
120
- const integration = yield* Service77;
121
- const credentials = yield* Service79;
119
+ const forms = yield* Service81;
120
+ const integration = yield* Service79;
121
+ const credentials = yield* Service80;
122
122
  const root = yield* Effect.scope;
123
123
  const fork = yield* FiberSet.makeRuntime();
124
124
  const servers = yield* Scope.fork(root, "parallel");
@@ -149,7 +149,7 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
149
149
  method: { id: methodID, type: "oauth", label: name },
150
150
  authorize: () => Effect.gen(function* () {
151
151
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
152
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service79, credentials));
152
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service80, credentials));
153
153
  })
154
154
  });
155
155
  }).pipe(Scope.provide(scope));
@@ -157,19 +157,19 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
157
157
  const requireServer = Effect.fnUntraced(function* (name) {
158
158
  const entry = entries.get(name);
159
159
  if (!entry)
160
- return yield* new NotFoundError3({ server: name });
160
+ return yield* new NotFoundError5({ server: name });
161
161
  return { name, entry };
162
162
  });
163
163
  const connectProvider = Effect.fnUntraced(function* (entry) {
164
164
  if (entry.config.type !== "remote" || !entry.integrationID)
165
165
  return;
166
166
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
167
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service79, credentials));
167
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service80, credentials));
168
168
  });
169
169
  const elicitation = {
170
170
  create: (input) => Effect.gen(function* () {
171
171
  if (input.params.mode === "url") {
172
- const formID = ID15.create();
172
+ const formID = ID16.create();
173
173
  const elicitationID = input.params.elicitationId;
174
174
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
175
175
  if (key)
@@ -272,7 +272,7 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
272
272
  entry.scope = scope;
273
273
  const authProvider = yield* connectProvider(entry);
274
274
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
275
- const load = 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(Service59, environment), Scope.provide(scope));
275
+ const load = 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(Service49, environment), Scope.provide(scope));
276
276
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
277
277
  if (Exit.isSuccess(result)) {
278
278
  entry.client = result.value.connection;
@@ -373,7 +373,7 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
373
373
  let closed = false;
374
374
  const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
375
375
  closed = true;
376
- }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service59, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
376
+ }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service49, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
377
377
  const register = Effect.gen(function* () {
378
378
  if (closed) {
379
379
  yield* Scope.close(scope, Exit.void);
@@ -452,7 +452,7 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
452
452
  yield* startServer(name, entry);
453
453
  }).pipe(locks.withLock(name));
454
454
  });
455
- fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
455
+ fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
456
456
  const state = create3({
457
457
  name: "mcp",
458
458
  initial: () => ({
@@ -478,7 +478,7 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
478
478
  }),
479
479
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
480
480
  });
481
- return Service26.of({
481
+ return Service42.of({
482
482
  transform: state.transform,
483
483
  reload: state.reload,
484
484
  servers: Effect.fn("MCP.servers")(function* () {
@@ -611,14 +611,14 @@ function mergeCatalogs(catalogs) {
611
611
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
612
612
  });
613
613
  }
614
- function configured2(options) {
614
+ function configured4(options) {
615
615
  return makeLocationNode({
616
- service: Service26,
617
- layer: layer13(options),
618
- deps: [node83, node61, node89, node81, node80, node82]
616
+ service: Service42,
617
+ layer: layer18(options),
618
+ deps: [node86, node52, node90, node85, node83, node84]
619
619
  });
620
620
  }
621
- var node30 = configured2();
621
+ var node45 = configured4();
622
622
  function toElicitationField(key, property, required) {
623
623
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
624
624
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -669,4 +669,4 @@ function toElicitationField(key, property, required) {
669
669
  }
670
670
  }
671
671
 
672
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service26, Options2, layer13, configured2, node30, exports_mcp4 };
672
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service42, Options4, layer18, configured4, node45, exports_mcp4 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./location-activity-9rqn6x4v.js";
4
4
 
5
5
  // src/session/affinity.ts
6
6
  var exports_affinity = {};
7
7
  __export(exports_affinity, {
8
8
  SessionAffinity: () => exports_affinity,
9
- get: () => get5
9
+ get: () => get4
10
10
  });
11
- var get5 = (session) => session.parentID ?? session.fork?.sessionID ?? session.id;
11
+ var get4 = (session) => session.parentID ?? session.fork?.sessionID ?? session.id;
12
12
 
13
- export { get5, exports_affinity };
13
+ export { get4, exports_affinity };