@opencode/core 0.0.0-dev-21784 → 0.0.0-dev-21788

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 (809) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -84
  3. package/dist/aisdk-native.js +94 -93
  4. package/dist/aisdk.js +100 -99
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -72
  7. package/dist/chunks/{agent-h5dbejmd.js → location-activity-01hr45d4.js} +16 -16
  8. package/dist/chunks/{agent-0fc55j4y.js → location-activity-02tt61ab.js} +181 -181
  9. package/dist/chunks/{agent-033a0jkt.js → location-activity-033a0jkt.js} +1 -1
  10. package/dist/chunks/{agent-f7n6kqew.js → location-activity-067f1caq.js} +42 -42
  11. package/dist/chunks/{agent-36ea6r34.js → location-activity-06myerbs.js} +11 -11
  12. package/dist/chunks/{agent-zn7c0t9d.js → location-activity-07mr9ttq.js} +7 -7
  13. package/dist/chunks/{agent-eyvhq8ft.js → location-activity-0b08jztn.js} +26 -26
  14. package/dist/chunks/{agent-02yzdc13.js → location-activity-0qkv8zzt.js} +2 -2
  15. package/dist/chunks/{agent-38ndmwz0.js → location-activity-0vrf0jak.js} +13 -13
  16. package/dist/chunks/{agent-8thk20xz.js → location-activity-12szekg3.js} +5 -5
  17. package/dist/chunks/{agent-g41gmtrh.js → location-activity-14e26z3b.js} +14 -14
  18. package/dist/chunks/{agent-8rqhnwg1.js → location-activity-16qrkqa4.js} +5 -5
  19. package/dist/chunks/{agent-aw7ajr0a.js → location-activity-17khjaea.js} +19 -19
  20. package/dist/chunks/{agent-1hetrfzc.js → location-activity-1fcw6zrz.js} +7 -7
  21. package/dist/chunks/{agent-m0w0zyj2.js → location-activity-1fhqa2jj.js} +25 -25
  22. package/dist/chunks/{agent-hjnk4nsf.js → location-activity-1gm74v6v.js} +11 -11
  23. package/dist/chunks/{agent-7an283zs.js → location-activity-1kne0mqx.js} +7 -7
  24. package/dist/chunks/{agent-dvswds2a.js → location-activity-1r6rmb28.js} +2 -2
  25. package/dist/chunks/{agent-zdm2n275.js → location-activity-1t3cgkkb.js} +21 -21
  26. package/dist/chunks/{agent-1x2knyw4.js → location-activity-1x2knyw4.js} +1 -1
  27. package/dist/chunks/{agent-173t91w5.js → location-activity-1y0wdj51.js} +4 -4
  28. package/dist/chunks/{agent-p7vhpwh8.js → location-activity-1yq9hg58.js} +5 -5
  29. package/dist/chunks/{agent-8swrpak5.js → location-activity-22fqff69.js} +9 -9
  30. package/dist/chunks/{agent-1ep2p91f.js → location-activity-27w5k9zf.js} +2 -2
  31. package/dist/chunks/{agent-9fkdxkka.js → location-activity-2chjpfn4.js} +10 -10
  32. package/dist/chunks/{agent-g5axxp69.js → location-activity-2eqcn54e.js} +6 -6
  33. package/dist/chunks/{agent-pczvdmnh.js → location-activity-2mvzdbqk.js} +21 -21
  34. package/dist/chunks/{agent-5kbev7nh.js → location-activity-2nwxwjsv.js} +3 -3
  35. package/dist/chunks/{agent-0k1t71fg.js → location-activity-2wwyctdd.js} +4 -4
  36. package/dist/chunks/{agent-n60440x5.js → location-activity-2y0qb0mc.js} +6 -6
  37. package/dist/chunks/{agent-2z1j29yd.js → location-activity-2z1j29yd.js} +1 -1
  38. package/dist/chunks/{agent-meat84st.js → location-activity-30tj3gky.js} +11 -11
  39. package/dist/chunks/{agent-a7xdavkk.js → location-activity-30trf87e.js} +9 -9
  40. package/dist/chunks/{agent-6c5cd6ez.js → location-activity-32s59e8p.js} +9 -9
  41. package/dist/chunks/{agent-d1e4gt8e.js → location-activity-336qz4d8.js} +79 -79
  42. package/dist/chunks/{agent-mr8zc4t8.js → location-activity-33sp77q7.js} +7 -7
  43. package/dist/chunks/{agent-36qx82yz.js → location-activity-36qx82yz.js} +2 -2
  44. package/dist/chunks/{agent-6kms46fw.js → location-activity-3btq0h72.js} +5 -5
  45. package/dist/chunks/{agent-ayjs7tqn.js → location-activity-3cbjf1nt.js} +2 -2
  46. package/dist/chunks/{agent-cjse11k8.js → location-activity-3d1kj4yr.js} +24 -24
  47. package/dist/chunks/{agent-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{agent-tfxvfanj.js → location-activity-3mgy2h0d.js} +4 -4
  49. package/dist/chunks/{agent-3nnrz6f6.js → location-activity-3nnrz6f6.js} +1 -1
  50. package/dist/chunks/location-activity-3szgxn6c.js +517 -0
  51. package/dist/chunks/{agent-qy3evx35.js → location-activity-3ypypw84.js} +27 -27
  52. package/dist/chunks/{agent-t8n195hz.js → location-activity-40df05qx.js} +14 -14
  53. package/dist/chunks/{agent-97r8yvgs.js → location-activity-41syewzg.js} +37 -37
  54. package/dist/chunks/{agent-61ennm6n.js → location-activity-42jd4697.js} +4 -4
  55. package/dist/chunks/{agent-j11v2g1t.js → location-activity-47n9jgyg.js} +40 -40
  56. package/dist/chunks/{agent-jseav4p7.js → location-activity-4ev7fjb1.js} +16 -16
  57. package/dist/chunks/{agent-800wwg03.js → location-activity-4n8hgrhh.js} +11 -11
  58. package/dist/chunks/{agent-q43qcq83.js → location-activity-4qkv6r56.js} +5 -5
  59. package/dist/chunks/{agent-jdw580xe.js → location-activity-4rmr3zkt.js} +16 -16
  60. package/dist/chunks/{agent-4v008n1t.js → location-activity-4v008n1t.js} +1 -1
  61. package/dist/chunks/{agent-4xvmh7wp.js → location-activity-4xvmh7wp.js} +3 -3
  62. package/dist/chunks/{agent-26ebgyg0.js → location-activity-4y9437cn.js} +45 -45
  63. package/dist/chunks/{agent-rc4jd66d.js → location-activity-4yte20eq.js} +7 -7
  64. package/dist/chunks/{agent-tfbgmxwt.js → location-activity-55y28bj0.js} +4 -4
  65. package/dist/chunks/{agent-wqa97sqm.js → location-activity-5a2n849v.js} +6 -6
  66. package/dist/chunks/{agent-as8v2p6n.js → location-activity-5c21z366.js} +23 -23
  67. package/dist/chunks/{agent-qk0m1vv0.js → location-activity-5e8bacmk.js} +4 -4
  68. package/dist/chunks/{agent-5m9w47nd.js → location-activity-5m9w47nd.js} +1 -1
  69. package/dist/chunks/{agent-01x633r0.js → location-activity-5wjahd8j.js} +18 -18
  70. package/dist/chunks/{agent-m256pbh3.js → location-activity-68d59r98.js} +12 -12
  71. package/dist/chunks/{agent-6esdw8yj.js → location-activity-6esdw8yj.js} +1 -1
  72. package/dist/chunks/{agent-ze8957am.js → location-activity-6ksmve61.js} +20 -20
  73. package/dist/chunks/{agent-ek3fsnwj.js → location-activity-6mmcqg4x.js} +5 -5
  74. package/dist/chunks/{agent-6pjqjmy2.js → location-activity-6pjqjmy2.js} +1 -1
  75. package/dist/chunks/{agent-7nydw5h0.js → location-activity-6rmc0cg0.js} +39 -39
  76. package/dist/chunks/{agent-rnbw0hp3.js → location-activity-6swrj65x.js} +1 -1
  77. package/dist/chunks/{agent-jxd053np.js → location-activity-6tvssnq4.js} +12 -12
  78. package/dist/chunks/{agent-139mbqx8.js → location-activity-6vsfrkfj.js} +10 -10
  79. package/dist/chunks/{agent-ahef7j8f.js → location-activity-6x23shm0.js} +6 -6
  80. package/dist/chunks/{agent-dcjmpepk.js → location-activity-701px5gb.js} +19 -19
  81. package/dist/chunks/{agent-7mztthz3.js → location-activity-73bs6dwh.js} +19 -19
  82. package/dist/chunks/{agent-76cb1hcw.js → location-activity-76cb1hcw.js} +1 -1
  83. package/dist/chunks/{agent-nah043kf.js → location-activity-770pw0s1.js} +4 -4
  84. package/dist/chunks/{agent-r0nyd7pf.js → location-activity-79kbxvtk.js} +21 -21
  85. package/dist/chunks/{agent-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
  86. package/dist/chunks/{agent-rbg54dp1.js → location-activity-7h09t6vy.js} +4 -4
  87. package/dist/chunks/{agent-jkatrbtb.js → location-activity-7k2fg3vq.js} +15 -15
  88. package/dist/chunks/{agent-7f9y6rh0.js → location-activity-7kv1c21d.js} +17 -17
  89. package/dist/chunks/{agent-7qmwdxq4.js → location-activity-7px6qfbd.js} +11 -11
  90. package/dist/chunks/{agent-x46b6f4j.js → location-activity-7rx58ed3.js} +14 -14
  91. package/dist/chunks/{agent-jj1zxfb4.js → location-activity-7ty17bm8.js} +80 -80
  92. package/dist/chunks/{agent-7dg2g5n4.js → location-activity-7tyjvdb7.js} +13 -13
  93. package/dist/chunks/{agent-4773t8et.js → location-activity-7v98qr4z.js} +19 -19
  94. package/dist/chunks/{agent-2km5wy4y.js → location-activity-7vvk2bxp.js} +32 -32
  95. package/dist/chunks/{agent-7w2ypzdf.js → location-activity-7w2ypzdf.js} +1 -1
  96. package/dist/chunks/{agent-31yhp6h2.js → location-activity-8bx675xd.js} +7 -7
  97. package/dist/chunks/{agent-1tfrxqx8.js → location-activity-8ekgv4sx.js} +9 -9
  98. package/dist/chunks/{agent-hsrc9p37.js → location-activity-8jejpbev.js} +13 -13
  99. package/dist/chunks/{agent-qjgzc4b4.js → location-activity-8jztxfpf.js} +4 -4
  100. package/dist/chunks/{agent-n6v2b7cw.js → location-activity-8wc2fpae.js} +5 -5
  101. package/dist/chunks/{agent-vpm8vpz0.js → location-activity-8whp40kv.js} +3 -3
  102. package/dist/chunks/{agent-8wtp7s3z.js → location-activity-8wtp7s3z.js} +1 -1
  103. package/dist/chunks/{agent-91rj84md.js → location-activity-91rj84md.js} +1 -1
  104. package/dist/chunks/{agent-8e6m80hw.js → location-activity-96vydxfm.js} +1 -1
  105. package/dist/chunks/{agent-m1f7zknv.js → location-activity-98zdt0yh.js} +14 -14
  106. package/dist/chunks/{agent-faewc6h3.js → location-activity-9b28cy4d.js} +5 -5
  107. package/dist/chunks/{agent-r0yf9dk1.js → location-activity-9jpv2rkm.js} +19 -19
  108. package/dist/chunks/{agent-jneg3k74.js → location-activity-9p9xqj3m.js} +6 -6
  109. package/dist/chunks/{agent-eqkb58k1.js → location-activity-9qthnb7h.js} +8 -8
  110. package/dist/chunks/{agent-mzyv1r8q.js → location-activity-a7hcemwv.js} +8 -8
  111. package/dist/chunks/{agent-ekkan3t7.js → location-activity-af8vyvhb.js} +17 -17
  112. package/dist/chunks/{agent-6dnbbrkg.js → location-activity-agptt57b.js} +30 -30
  113. package/dist/chunks/{agent-034tev2y.js → location-activity-aj7mw0zk.js} +2 -2
  114. package/dist/chunks/{agent-kntq21p3.js → location-activity-anmk350e.js} +9 -9
  115. package/dist/chunks/{agent-new4gq93.js → location-activity-aqh37b2q.js} +3 -3
  116. package/dist/chunks/{agent-vthbx4vr.js → location-activity-aqrx9dx0.js} +32 -32
  117. package/dist/chunks/{agent-ja2p8ata.js → location-activity-av02mrfn.js} +26 -26
  118. package/dist/chunks/{agent-syfs4wve.js → location-activity-az971z8m.js} +14 -14
  119. package/dist/chunks/{agent-x2w8jbjz.js → location-activity-b014wc4w.js} +17 -17
  120. package/dist/chunks/{agent-b0mv4wxm.js → location-activity-b0mv4wxm.js} +2 -2
  121. package/dist/chunks/{agent-75jp0z26.js → location-activity-b1nmkhtn.js} +15 -15
  122. package/dist/chunks/{agent-prazahgm.js → location-activity-b6vsg801.js} +2 -4
  123. package/dist/chunks/{agent-43ttkgpw.js → location-activity-bhejg4xz.js} +18 -21
  124. package/dist/chunks/{agent-ccga0n09.js → location-activity-bnxfrj2k.js} +8 -8
  125. package/dist/chunks/{agent-pch94jad.js → location-activity-bpn1w030.js} +14 -14
  126. package/dist/chunks/{agent-e8m7b3pk.js → location-activity-bps2drsf.js} +11 -11
  127. package/dist/chunks/{agent-bstexjd6.js → location-activity-bstexjd6.js} +1 -1
  128. package/dist/chunks/{agent-w1xh8xrk.js → location-activity-c3pk09j5.js} +24 -24
  129. package/dist/chunks/{agent-mgbtrrwc.js → location-activity-c671bvsm.js} +3 -3
  130. package/dist/chunks/{agent-ewexpb9k.js → location-activity-catjr96x.js} +6 -6
  131. package/dist/chunks/{agent-as9ge7gr.js → location-activity-cd2k1xnt.js} +45 -45
  132. package/dist/chunks/{agent-xn94rwwj.js → location-activity-cfabegcm.js} +13 -13
  133. package/dist/chunks/{agent-ynyk2n84.js → location-activity-cje3xj0g.js} +17 -17
  134. package/dist/chunks/{agent-13ge0zq5.js → location-activity-csnmakm3.js} +17 -17
  135. package/dist/chunks/{agent-wgr7v8zv.js → location-activity-cz1d3gs1.js} +11 -11
  136. package/dist/chunks/{agent-d4v9tmah.js → location-activity-d4v9tmah.js} +2 -2
  137. package/dist/chunks/{agent-vwy7wwgg.js → location-activity-d6xhnq8s.js} +4 -4
  138. package/dist/chunks/{agent-85qf60df.js → location-activity-d7np8nc9.js} +12 -12
  139. package/dist/chunks/{agent-8d2bz6m6.js → location-activity-ddvn7d3w.js} +8 -8
  140. package/dist/chunks/location-activity-deeg0pgw.js +26 -0
  141. package/dist/chunks/{agent-j241wm9d.js → location-activity-denqp0gf.js} +1 -1
  142. package/dist/chunks/{agent-gjktm9p0.js → location-activity-df0pv1r5.js} +11 -11
  143. package/dist/chunks/{agent-zr7bpxke.js → location-activity-dhgmmzd7.js} +22 -22
  144. package/dist/chunks/{agent-k5aja770.js → location-activity-dpgr420w.js} +8 -8
  145. package/dist/chunks/{agent-g7x514gg.js → location-activity-dqnt9zwg.js} +4 -4
  146. package/dist/chunks/{agent-q4xvtkzf.js → location-activity-dvdrwbj5.js} +19 -19
  147. package/dist/chunks/{agent-fnrac0zs.js → location-activity-dvj9ct8m.js} +3 -4
  148. package/dist/chunks/{agent-y3mrdmj2.js → location-activity-e0habjmx.js} +18 -18
  149. package/dist/chunks/{agent-e834z07m.js → location-activity-e834z07m.js} +1 -1
  150. package/dist/chunks/{agent-v76m31v0.js → location-activity-epwqaf6g.js} +38 -38
  151. package/dist/chunks/{agent-aeczztyf.js → location-activity-exx3m7p4.js} +4 -4
  152. package/dist/chunks/{agent-mfyzpdtn.js → location-activity-f1jczfs9.js} +2 -2
  153. package/dist/chunks/{agent-mgma89zk.js → location-activity-f45gjzva.js} +4 -4
  154. package/dist/chunks/location-activity-f8ma18fn.js +18 -0
  155. package/dist/chunks/{agent-fffv3p7h.js → location-activity-fffv3p7h.js} +1 -1
  156. package/dist/chunks/{agent-f81xf9jd.js → location-activity-fjxbecjf.js} +21 -21
  157. package/dist/chunks/{agent-03qvnrpn.js → location-activity-frn2fm02.js} +33 -33
  158. package/dist/chunks/{agent-kj8ms8x1.js → location-activity-frrtdq1q.js} +5 -5
  159. package/dist/chunks/{agent-wh6wybx0.js → location-activity-fsnkzj02.js} +17 -17
  160. package/dist/chunks/{agent-z4k2sts1.js → location-activity-g06tszjg.js} +63 -63
  161. package/dist/chunks/{agent-g5h9c0rr.js → location-activity-g5h9c0rr.js} +2 -2
  162. package/dist/chunks/{agent-n6k6tv08.js → location-activity-g7hs11pn.js} +29 -29
  163. package/dist/chunks/{agent-j8xhq8v2.js → location-activity-g8jqzkk7.js} +5 -5
  164. package/dist/chunks/{agent-xvy21fdd.js → location-activity-g8k9qds5.js} +25 -25
  165. package/dist/chunks/{agent-mak9ftkg.js → location-activity-gdp0vkf7.js} +22 -22
  166. package/dist/chunks/{agent-k9hbvn9k.js → location-activity-gfvcz5wa.js} +45 -45
  167. package/dist/chunks/{agent-z1889dz1.js → location-activity-gvbwd73c.js} +11 -11
  168. package/dist/chunks/{agent-c6syegq7.js → location-activity-gy65pr6w.js} +26 -26
  169. package/dist/chunks/{agent-r6e28z23.js → location-activity-h1zj8b8q.js} +14 -14
  170. package/dist/chunks/{agent-kae2ksf8.js → location-activity-h3hh0399.js} +31 -31
  171. package/dist/chunks/{agent-hdfrs5mg.js → location-activity-hdfrs5mg.js} +2 -2
  172. package/dist/chunks/{agent-fxjbdvfm.js → location-activity-hj29fcar.js} +28 -28
  173. package/dist/chunks/{agent-gk2p2r2p.js → location-activity-hj952v97.js} +14 -14
  174. package/dist/chunks/{agent-v1xj14h7.js → location-activity-hkfkkryx.js} +5 -5
  175. package/dist/chunks/{agent-9x8q2m03.js → location-activity-hnrbc1x5.js} +19 -19
  176. package/dist/chunks/{agent-trjayejy.js → location-activity-j02adr0e.js} +11 -11
  177. package/dist/chunks/{agent-j113cymg.js → location-activity-j113cymg.js} +1 -1
  178. package/dist/chunks/{agent-36faspmy.js → location-activity-j73f5h72.js} +3 -3
  179. package/dist/chunks/location-activity-jwr30sdr.js +13 -0
  180. package/dist/chunks/{agent-6cjpnrq2.js → location-activity-k22zxr54.js} +27 -27
  181. package/dist/chunks/{agent-4kmz7hka.js → location-activity-k5pxjz9y.js} +18 -18
  182. package/dist/chunks/{agent-k814nvkf.js → location-activity-k814nvkf.js} +1 -1
  183. package/dist/chunks/{agent-7bbsac65.js → location-activity-kq1p7daa.js} +13 -13
  184. package/dist/chunks/{agent-kt3bjfbg.js → location-activity-kt3bjfbg.js} +1 -1
  185. package/dist/chunks/{agent-czx0mg6z.js → location-activity-kw1j96pn.js} +28 -28
  186. package/dist/chunks/{agent-bwk3ddh5.js → location-activity-kx5ztbyk.js} +9 -9
  187. package/dist/chunks/{agent-m1714858.js → location-activity-m1714858.js} +1 -1
  188. package/dist/chunks/{agent-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{agent-maspj1v3.js → location-activity-maspj1v3.js} +1 -1
  190. package/dist/chunks/{agent-2ytwxhv1.js → location-activity-mcmahwn4.js} +23 -23
  191. package/dist/chunks/{agent-89n72xaa.js → location-activity-merrw6gr.js} +28 -28
  192. package/dist/chunks/{agent-rbh56fzy.js → location-activity-mf1qqwmn.js} +47 -47
  193. package/dist/chunks/{agent-x68edsfb.js → location-activity-mherk3tq.js} +3 -3
  194. package/dist/chunks/{agent-gy38441g.js → location-activity-mmq2d74y.js} +15 -15
  195. package/dist/chunks/{agent-s904a6sg.js → location-activity-mqg3azes.js} +5 -5
  196. package/dist/chunks/{agent-7m634182.js → location-activity-mr2e5mch.js} +24 -24
  197. package/dist/chunks/{agent-7t5b4ngt.js → location-activity-msycsjna.js} +48 -48
  198. package/dist/chunks/{agent-cmchtp0v.js → location-activity-mytpcbzr.js} +11 -11
  199. package/dist/chunks/{agent-yr8jvaqb.js → location-activity-mzn9r2j2.js} +37 -37
  200. package/dist/chunks/{agent-n0p0277s.js → location-activity-n0p0277s.js} +1 -1
  201. package/dist/chunks/{agent-mjhk8a0e.js → location-activity-n4zn4mrv.js} +19 -19
  202. package/dist/chunks/{agent-0nfr0cf2.js → location-activity-nnfwqq4b.js} +3 -3
  203. package/dist/chunks/{agent-zdsd1y55.js → location-activity-nwpg3n5j.js} +9 -9
  204. package/dist/chunks/{agent-p015t6z3.js → location-activity-p015t6z3.js} +2 -2
  205. package/dist/chunks/{agent-ges56kck.js → location-activity-p3qy5t07.js} +15 -15
  206. package/dist/chunks/{agent-njvrd8jy.js → location-activity-p3xjka00.js} +7 -7
  207. package/dist/chunks/{agent-q9ajhnek.js → location-activity-p40wsfh4.js} +30 -30
  208. package/dist/chunks/{agent-jfyr8syn.js → location-activity-pa7bjyn8.js} +11 -11
  209. package/dist/chunks/{agent-wbfvqgnf.js → location-activity-pdgmbm3p.js} +31 -31
  210. package/dist/chunks/{agent-pknna89w.js → location-activity-pknna89w.js} +1 -1
  211. package/dist/chunks/{agent-dbztejgq.js → location-activity-pkyv6v7h.js} +0 -1
  212. package/dist/chunks/{agent-nkk0r47z.js → location-activity-pvz3ha5p.js} +8 -8
  213. package/dist/chunks/{agent-5kbc8wm3.js → location-activity-q76mn20p.js} +33 -33
  214. package/dist/chunks/{agent-za9sakwv.js → location-activity-qpndkz4h.js} +19 -19
  215. package/dist/chunks/{agent-3ryz99p0.js → location-activity-qqg9c0kv.js} +4 -4
  216. package/dist/chunks/{agent-b2g4rpf0.js → location-activity-qrnyk1ap.js} +36 -36
  217. package/dist/chunks/{agent-0nervf8r.js → location-activity-qteg3tgt.js} +8 -8
  218. package/dist/chunks/{agent-r0yr0wbs.js → location-activity-r0yr0wbs.js} +1 -1
  219. package/dist/chunks/{agent-q4fmv0xv.js → location-activity-r2jew814.js} +5 -5
  220. package/dist/chunks/{agent-40za9wsf.js → location-activity-r41sfy63.js} +6 -6
  221. package/dist/chunks/{agent-8r6n0qax.js → location-activity-r542h3bh.js} +2 -4
  222. package/dist/chunks/{agent-w82799bh.js → location-activity-r88f64d0.js} +29 -29
  223. package/dist/chunks/{agent-rb9dy4dg.js → location-activity-rb9dy4dg.js} +1 -1
  224. package/dist/chunks/{agent-xb4h8bm0.js → location-activity-rjc4qjf2.js} +4 -4
  225. package/dist/chunks/{agent-vrcsa8qx.js → location-activity-rjnacbrz.js} +9 -9
  226. package/dist/chunks/{agent-rt5dr6hb.js → location-activity-rt5dr6hb.js} +1 -1
  227. package/dist/chunks/{agent-fykkvtjp.js → location-activity-rxy7yh4n.js} +14 -14
  228. package/dist/chunks/{agent-v6h5bgwd.js → location-activity-s12jh10e.js} +8 -8
  229. package/dist/chunks/{agent-ddwaa558.js → location-activity-s4f8ct6t.js} +4 -4
  230. package/dist/chunks/{agent-6mejnpem.js → location-activity-s78fym6c.js} +11 -11
  231. package/dist/chunks/{agent-sa3fpqfw.js → location-activity-sa3fpqfw.js} +2 -2
  232. package/dist/chunks/{agent-7q4ggvk7.js → location-activity-sadb7q59.js} +44 -44
  233. package/dist/chunks/{agent-sqwztq39.js → location-activity-sctk4379.js} +56 -52
  234. package/dist/chunks/{agent-81c7e9ra.js → location-activity-sfvyh7df.js} +3 -3
  235. package/dist/chunks/{agent-ffd6fwxk.js → location-activity-sn2n44nz.js} +20 -20
  236. package/dist/chunks/{agent-66qzw14e.js → location-activity-snssezjg.js} +12 -12
  237. package/dist/chunks/{agent-sqjzf8x2.js → location-activity-sqjzf8x2.js} +1 -1
  238. package/dist/chunks/{agent-d2887f8n.js → location-activity-ssfehs1z.js} +4 -4
  239. package/dist/chunks/{agent-h6h54wtq.js → location-activity-stnh6bq5.js} +15 -15
  240. package/dist/chunks/{agent-x4w6jmkv.js → location-activity-sw94b9fh.js} +29 -29
  241. package/dist/chunks/{agent-ag49k9fp.js → location-activity-t5jye66g.js} +18 -18
  242. package/dist/chunks/{agent-tasvem1v.js → location-activity-tasvem1v.js} +3 -3
  243. package/dist/chunks/{agent-tczq8hjw.js → location-activity-tczq8hjw.js} +1 -1
  244. package/dist/chunks/{agent-q32ndhrq.js → location-activity-tn5gxkrv.js} +6 -6
  245. package/dist/chunks/{agent-sydzkpmk.js → location-activity-tqqxd6qs.js} +16 -16
  246. package/dist/chunks/{agent-zvc54kz4.js → location-activity-tvs8x7qj.js} +30 -30
  247. package/dist/chunks/{agent-twv2r8f4.js → location-activity-twv2r8f4.js} +2 -2
  248. package/dist/chunks/{agent-f993jxvg.js → location-activity-tze371p3.js} +16 -16
  249. package/dist/chunks/{agent-en6q6hb7.js → location-activity-v20098x6.js} +10 -10
  250. package/dist/chunks/{agent-4rwxs393.js → location-activity-v28rpjkp.js} +13 -13
  251. package/dist/chunks/{agent-v2r1d0zg.js → location-activity-v2r1d0zg.js} +1 -1
  252. package/dist/chunks/{agent-ypkjhwqx.js → location-activity-v7aaee86.js} +21 -21
  253. package/dist/chunks/{agent-vd3b3yk9.js → location-activity-vd3b3yk9.js} +1 -1
  254. package/dist/chunks/{agent-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
  255. package/dist/chunks/{agent-njmawajr.js → location-activity-vhn01q1d.js} +24 -24
  256. package/dist/chunks/{agent-61g7nd3s.js → location-activity-vm0wcjea.js} +9 -9
  257. package/dist/chunks/location-activity-vmbvcdd4.js +261 -0
  258. package/dist/chunks/{agent-vmfhgzt5.js → location-activity-vmfhgzt5.js} +1 -1
  259. package/dist/chunks/{agent-1vzks4bn.js → location-activity-vvvztmfk.js} +23 -23
  260. package/dist/chunks/{agent-81k9hmnn.js → location-activity-vw76ys03.js} +8 -8
  261. package/dist/chunks/{agent-r5kq5vn2.js → location-activity-vwvg46tm.js} +2 -3
  262. package/dist/chunks/{agent-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
  263. package/dist/chunks/{agent-w687dnns.js → location-activity-w687dnns.js} +1 -1
  264. package/dist/chunks/{agent-wakvkjy4.js → location-activity-wakvkjy4.js} +1 -1
  265. package/dist/chunks/{agent-wd87259q.js → location-activity-wd87259q.js} +1 -1
  266. package/dist/chunks/{agent-4ebqk1fd.js → location-activity-we3hhw3n.js} +18 -18
  267. package/dist/chunks/{agent-8hn9g0m8.js → location-activity-ws47dh3e.js} +28 -28
  268. package/dist/chunks/{agent-476ebpw1.js → location-activity-wxw2jpx7.js} +30 -30
  269. package/dist/chunks/{agent-vxe4wh26.js → location-activity-x02s2ayd.js} +27 -27
  270. package/dist/chunks/{agent-8x6kkqy5.js → location-activity-x22rmg1t.js} +24 -24
  271. package/dist/chunks/{agent-qqdpdbrj.js → location-activity-x7hc0esa.js} +8 -8
  272. package/dist/chunks/{agent-7x19yq7v.js → location-activity-x879tvrg.js} +9 -9
  273. package/dist/chunks/{agent-5qzx1yz8.js → location-activity-x99ztgmm.js} +17 -17
  274. package/dist/chunks/{agent-bk817c17.js → location-activity-xe8sskqa.js} +33 -33
  275. package/dist/chunks/{agent-8swnnve6.js → location-activity-xhgqx98d.js} +4 -4
  276. package/dist/chunks/{agent-4ffhv9d7.js → location-activity-xrc3640n.js} +8 -8
  277. package/dist/chunks/{agent-n07jd3kn.js → location-activity-xyh4ynjt.js} +13 -13
  278. package/dist/chunks/{agent-cvek0x6e.js → location-activity-y76yskcs.js} +11 -11
  279. package/dist/chunks/{agent-yb20nhc3.js → location-activity-yb20nhc3.js} +1 -1
  280. package/dist/chunks/{agent-kh1mannr.js → location-activity-ye09f13n.js} +24 -24
  281. package/dist/chunks/{agent-kqtnvzmd.js → location-activity-yy3455r6.js} +23 -23
  282. package/dist/chunks/{agent-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{agent-11k6s8k8.js → location-activity-z0qd3mgb.js} +11 -11
  284. package/dist/chunks/{agent-cmxajbhr.js → location-activity-z226nxt7.js} +5 -5
  285. package/dist/chunks/{agent-z38nccrw.js → location-activity-z38nccrw.js} +1 -1
  286. package/dist/chunks/{agent-bh84v676.js → location-activity-z4j115y5.js} +9 -9
  287. package/dist/chunks/{agent-s2hjff0a.js → location-activity-zb2m7c4e.js} +11 -11
  288. package/dist/chunks/{agent-zkg84ctx.js → location-activity-zkg84ctx.js} +1 -1
  289. package/dist/chunks/{agent-g5rmwvhf.js → location-activity-zmrengzf.js} +17 -17
  290. package/dist/chunks/{agent-dhr7th0q.js → location-activity-zv8nd4fr.js} +5 -5
  291. package/dist/chunks/{agent-w22yp63b.js → location-activity-zx29snpc.js} +9 -9
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +3 -3
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +87 -86
  297. package/dist/config/discovery.js +87 -86
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +104 -103
  300. package/dist/config/plugin/agent.js +118 -117
  301. package/dist/config/plugin/command.js +214 -213
  302. package/dist/config/plugin/compaction.js +157 -156
  303. package/dist/config/plugin/compatibility.js +137 -136
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +119 -118
  306. package/dist/config/plugin/image.js +118 -117
  307. package/dist/config/plugin/instruction.js +118 -117
  308. package/dist/config/plugin/location-watcher.js +118 -117
  309. package/dist/config/plugin/mcp.js +125 -124
  310. package/dist/config/plugin/policy.js +119 -118
  311. package/dist/config/plugin/provider.js +118 -117
  312. package/dist/config/plugin/reference.js +120 -119
  313. package/dist/config/plugin/shell.js +120 -119
  314. package/dist/config/plugin/skill-file.js +107 -106
  315. package/dist/config/plugin/skill-scan.js +3 -3
  316. package/dist/config/plugin/skill.js +140 -139
  317. package/dist/config/plugin/snapshot.js +118 -117
  318. package/dist/config/plugin/source.js +119 -118
  319. package/dist/config/plugin/tool-output.js +119 -118
  320. package/dist/config/plugin/websearch.js +119 -118
  321. package/dist/config/plugin/worktree.js +120 -119
  322. package/dist/config/variable.js +1 -1
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +123 -122
  325. package/dist/console-access.js +1 -1
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +89 -88
  328. package/dist/database/database.js +70 -69
  329. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +15 -15
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +16 -16
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  394. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  395. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  396. package/dist/database/migration/20261024175301_drop_session_allowance.js +6 -0
  397. package/dist/database/migration.gen.js +53 -52
  398. package/dist/database/migration.js +55 -54
  399. package/dist/database/path.js +2 -2
  400. package/dist/database/schema.gen.js +1 -1
  401. package/dist/database/schema.sql.js +1 -1
  402. package/dist/database/sqlite.bun.js +1 -1
  403. package/dist/database/sqlite.js +1 -1
  404. package/dist/database/sqlite.node.js +1 -1
  405. package/dist/database/sqlite.workerd.js +1 -1
  406. package/dist/database/v1-migration.bun.js +90 -89
  407. package/dist/database/v1-migration.js +1 -1
  408. package/dist/effect/app-node-builder.js +374 -373
  409. package/dist/effect/app-node-platform.js +2 -2
  410. package/dist/effect/keyed-mutex.js +3 -3
  411. package/dist/effect/websocket-constructor.js +1 -1
  412. package/dist/environment/driver.js +1 -1
  413. package/dist/environment/environment.js +98 -97
  414. package/dist/environment/exec-defaults.js +2 -2
  415. package/dist/environment/files.js +1 -1
  416. package/dist/environment/index.js +100 -99
  417. package/dist/environment/local.js +2 -2
  418. package/dist/environment/memory.js +2 -2
  419. package/dist/environment/unavailable.js +1 -1
  420. package/dist/event/sql.js +1 -1
  421. package/dist/event-logger.js +74 -73
  422. package/dist/file-access.js +109 -108
  423. package/dist/file-mutation.js +99 -98
  424. package/dist/file-retention.js +1 -1
  425. package/dist/filesystem/fff.bun.js +2 -2
  426. package/dist/filesystem/fff.js +1 -1
  427. package/dist/filesystem/fff.node.js +2 -2
  428. package/dist/filesystem/fff.workerd.js +2 -2
  429. package/dist/filesystem/location-watcher-policy.js +6 -6
  430. package/dist/filesystem/location-watcher.js +227 -226
  431. package/dist/filesystem/protected.js +1 -1
  432. package/dist/filesystem/search.js +102 -101
  433. package/dist/filesystem/watcher-binding.js +1 -1
  434. package/dist/filesystem/watcher.js +11 -11
  435. package/dist/filesystem.js +103 -102
  436. package/dist/form.js +88 -87
  437. package/dist/formatter/builtins.js +2 -2
  438. package/dist/formatter.js +92 -91
  439. package/dist/generate.js +108 -107
  440. package/dist/git.js +7 -7
  441. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  442. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  443. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  444. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  445. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  446. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  447. package/dist/github-copilot/copilot-provider.js +17 -17
  448. package/dist/github-copilot/models.js +104 -103
  449. package/dist/github-copilot/openai-compatible-error.js +1 -1
  450. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  451. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  452. package/dist/github-copilot/responses/openai-error.js +1 -1
  453. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  454. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  455. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  456. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  457. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  458. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  459. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  460. package/dist/image/photon.js +2 -2
  461. package/dist/image.js +6 -6
  462. package/dist/instance/service.js +5 -5
  463. package/dist/instance.js +365 -364
  464. package/dist/instruction-discovery.js +84 -83
  465. package/dist/instructions/builtins.js +92 -91
  466. package/dist/instructions/index.js +3 -3
  467. package/dist/integration/connection.js +3 -3
  468. package/dist/integration.js +91 -90
  469. package/dist/job.js +82 -81
  470. package/dist/kv/sql.js +2 -2
  471. package/dist/kv.js +77 -76
  472. package/dist/location-activity.js +158 -157
  473. package/dist/location-lifecycle.js +112 -111
  474. package/dist/location-service-map.js +91 -90
  475. package/dist/location-services.js +362 -361
  476. package/dist/location.js +86 -85
  477. package/dist/managed-policy.js +6 -6
  478. package/dist/mcp/client.js +96 -95
  479. package/dist/mcp/index.js +110 -109
  480. package/dist/mcp/instructions.js +143 -142
  481. package/dist/mcp/oauth.js +82 -81
  482. package/dist/mcp/socket-client.js +1 -1
  483. package/dist/mcp/stdio.js +95 -94
  484. package/dist/mime.js +1 -1
  485. package/dist/modal/models.js +104 -103
  486. package/dist/model-resolver.js +104 -103
  487. package/dist/model-retry.js +1 -1
  488. package/dist/model.js +105 -104
  489. package/dist/models-dev.js +112 -111
  490. package/dist/oauth/page.js +1 -1
  491. package/dist/permission/saved.js +86 -85
  492. package/dist/permission/sql.js +5 -5
  493. package/dist/permission.js +118 -117
  494. package/dist/persistent-pty/binary.bun.js +1 -1
  495. package/dist/persistent-pty/daemon.js +1 -1
  496. package/dist/persistent-pty/index.js +92 -91
  497. package/dist/persistent-pty/pty-binding.js +1 -1
  498. package/dist/persistent-pty.js +79 -78
  499. package/dist/plugin/agent.js +78 -77
  500. package/dist/plugin/command.js +105 -104
  501. package/dist/plugin/hooks.js +5 -5
  502. package/dist/plugin/host.js +220 -219
  503. package/dist/plugin/identity.js +5 -5
  504. package/dist/plugin/instance.js +5 -5
  505. package/dist/plugin/internal.js +335 -334
  506. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  507. package/dist/plugin/models-dev.js +101 -100
  508. package/dist/plugin/module.js +119 -118
  509. package/dist/plugin/optimize.js +2 -2
  510. package/dist/plugin/plan.js +107 -106
  511. package/dist/plugin/promise.js +1 -1
  512. package/dist/plugin/provider/amazon-bedrock.js +95 -94
  513. package/dist/plugin/provider/azure.js +118 -117
  514. package/dist/plugin/provider/cerebras.js +1 -1
  515. package/dist/plugin/provider/chatgpt.js +118 -117
  516. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -114
  517. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -114
  518. package/dist/plugin/provider/cohere.js +2 -2
  519. package/dist/plugin/provider/configured.js +114 -113
  520. package/dist/plugin/provider/databricks.js +1 -1
  521. package/dist/plugin/provider/digitalocean.js +98 -97
  522. package/dist/plugin/provider/dynamic.js +2 -2
  523. package/dist/plugin/provider/factory.js +1 -1
  524. package/dist/plugin/provider/github-copilot.js +100 -99
  525. package/dist/plugin/provider/gitlab.js +98 -97
  526. package/dist/plugin/provider/google-vertex.js +115 -114
  527. package/dist/plugin/provider/kilo.js +1 -1
  528. package/dist/plugin/provider/llmgateway.js +82 -81
  529. package/dist/plugin/provider/lmstudio.js +127 -126
  530. package/dist/plugin/provider/local.js +124 -123
  531. package/dist/plugin/provider/modal.js +97 -96
  532. package/dist/plugin/provider/neon.js +1 -1
  533. package/dist/plugin/provider/nvidia.js +1 -1
  534. package/dist/plugin/provider/ollama.js +125 -124
  535. package/dist/plugin/provider/openai-context-caps.js +95 -94
  536. package/dist/plugin/provider/openai.js +118 -117
  537. package/dist/plugin/provider/opencode.js +104 -103
  538. package/dist/plugin/provider/openrouter.js +96 -95
  539. package/dist/plugin/provider/perplexity.js +2 -2
  540. package/dist/plugin/provider/poe.js +83 -82
  541. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  542. package/dist/plugin/provider/sap-ai-core.js +96 -95
  543. package/dist/plugin/provider/sdk-factory.js +1 -1
  544. package/dist/plugin/provider/snowflake-cortex.js +117 -116
  545. package/dist/plugin/provider/vercel.js +95 -94
  546. package/dist/plugin/provider/vllm.js +127 -126
  547. package/dist/plugin/provider/xai.js +96 -95
  548. package/dist/plugin/provider/zenmux.js +1 -1
  549. package/dist/plugin/provider.js +171 -170
  550. package/dist/plugin/sdk.js +78 -77
  551. package/dist/plugin/service.js +3 -3
  552. package/dist/plugin/skill.js +136 -135
  553. package/dist/plugin/source-directory.js +1 -1
  554. package/dist/plugin/supervisor.js +352 -351
  555. package/dist/plugin/tool-input-repair.js +4 -4
  556. package/dist/plugin/update.js +6 -6
  557. package/dist/plugin/vcs/git.js +91 -90
  558. package/dist/plugin/vcs/hg.js +91 -90
  559. package/dist/plugin/verbosity.js +98 -97
  560. package/dist/plugin/warming.js +116 -115
  561. package/dist/plugin/websearch/exa.js +7 -7
  562. package/dist/plugin/websearch/firecrawl.js +8 -8
  563. package/dist/plugin/websearch/index.js +9 -9
  564. package/dist/plugin/websearch/mcp.js +4 -4
  565. package/dist/plugin/websearch/parallel.js +8 -8
  566. package/dist/plugin/websearch/tavily.js +6 -6
  567. package/dist/plugin/websearch/tinyfish.js +8 -8
  568. package/dist/plugin.js +229 -228
  569. package/dist/project/schema.js +2 -2
  570. package/dist/project/sql.js +4 -4
  571. package/dist/project.js +85 -84
  572. package/dist/provider.js +106 -105
  573. package/dist/pty/protocol.js +1 -1
  574. package/dist/pty/ticket.js +1 -1
  575. package/dist/pty.js +95 -94
  576. package/dist/reference/instructions.js +92 -91
  577. package/dist/reference.js +96 -95
  578. package/dist/repository-cache.js +86 -85
  579. package/dist/repository.js +1 -1
  580. package/dist/ripgrep/binary.js +2 -2
  581. package/dist/ripgrep.js +100 -99
  582. package/dist/rpc.js +91 -90
  583. package/dist/schema.js +1 -1
  584. package/dist/session/affinity.js +1 -1
  585. package/dist/session/command.js +78 -77
  586. package/dist/session/compaction.js +139 -138
  587. package/dist/session/context.js +167 -166
  588. package/dist/session/diff.js +93 -92
  589. package/dist/session/environment.js +5 -5
  590. package/dist/session/error.js +3 -3
  591. package/dist/session/event.js +1 -1
  592. package/dist/session/execution/restart.js +223 -222
  593. package/dist/session/execution.js +133 -132
  594. package/dist/session/generate.js +167 -166
  595. package/dist/session/history.js +13 -13
  596. package/dist/session/inbox.js +97 -96
  597. package/dist/session/info.js +3 -3
  598. package/dist/session/instruction-entry.js +81 -80
  599. package/dist/session/instruction-state.js +8 -8
  600. package/dist/session/instructions.js +102 -101
  601. package/dist/session/message-updater.js +2 -2
  602. package/dist/session/message.js +1 -1
  603. package/dist/session/model-request.js +125 -124
  604. package/dist/session/model-transport.js +9 -9
  605. package/dist/session/move.js +135 -134
  606. package/dist/session/projector.js +93 -92
  607. package/dist/session/prompt.js +110 -109
  608. package/dist/session/recent-text.js +1 -1
  609. package/dist/session/revert.js +99 -98
  610. package/dist/session/run-coordinator.js +3 -3
  611. package/dist/session/runner/index.js +3 -3
  612. package/dist/session/runner/llm.js +231 -230
  613. package/dist/session/runner/max-steps.js +1 -1
  614. package/dist/session/runner/model.js +105 -104
  615. package/dist/session/runner/publish-llm-event.js +118 -117
  616. package/dist/session/runner/retry.js +3 -3
  617. package/dist/session/runner/step.js +129 -128
  618. package/dist/session/runner/to-llm-message.js +14 -14
  619. package/dist/session/schema.js +5 -5
  620. package/dist/session/session.js +165 -164
  621. package/dist/session/shell.js +132 -131
  622. package/dist/session/skill.js +108 -107
  623. package/dist/session/sql.js +5 -5
  624. package/dist/session/stats.js +77 -76
  625. package/dist/session/store.js +89 -88
  626. package/dist/session/subagent-completion.js +1 -1
  627. package/dist/session/subagent-job.js +214 -213
  628. package/dist/session/system-prompt.js +1 -1
  629. package/dist/session/title.js +169 -168
  630. package/dist/session/to-session-error.js +117 -116
  631. package/dist/session/transfer.js +216 -216
  632. package/dist/session/usage.js +1 -1
  633. package/dist/session.js +218 -217
  634. package/dist/shell/parse.js +8 -8
  635. package/dist/shell/result.js +1 -1
  636. package/dist/shell/scan.js +1 -1
  637. package/dist/shell/select.js +13 -13
  638. package/dist/shell.js +134 -133
  639. package/dist/skill/discovery.js +6 -6
  640. package/dist/skill/instructions.js +110 -109
  641. package/dist/skill.js +117 -116
  642. package/dist/snapshot.js +98 -97
  643. package/dist/state.js +1 -1
  644. package/dist/tool/html-markdown.js +1 -1
  645. package/dist/tool/http-body.js +1 -1
  646. package/dist/tool/mcp.js +140 -139
  647. package/dist/tool/plugin/edit.js +121 -120
  648. package/dist/tool/plugin/file-diff.js +1 -1
  649. package/dist/tool/plugin/glob.js +129 -128
  650. package/dist/tool/plugin/grep.js +127 -126
  651. package/dist/tool/plugin/mcp-resource.js +129 -128
  652. package/dist/tool/plugin/opencode.js +114 -113
  653. package/dist/tool/plugin/patch.js +125 -124
  654. package/dist/tool/plugin/question.js +106 -105
  655. package/dist/tool/plugin/read.js +130 -129
  656. package/dist/tool/plugin/shell.js +219 -218
  657. package/dist/tool/plugin/skill.js +118 -117
  658. package/dist/tool/plugin/subagent.js +217 -216
  659. package/dist/tool/plugin/todo.js +136 -135
  660. package/dist/tool/plugin/webfetch.js +118 -117
  661. package/dist/tool/plugin/websearch.js +119 -118
  662. package/dist/tool/plugin/write.js +127 -126
  663. package/dist/tool/read-filesystem.js +105 -104
  664. package/dist/tool/runtime.js +1 -1
  665. package/dist/tool-output.js +7 -7
  666. package/dist/tool.js +14 -14
  667. package/dist/types/database/migration/20261024175301_drop_session_allowance.d.ts +3 -0
  668. package/dist/types/session/history.d.ts +0 -2
  669. package/dist/types/session/runner/publish-llm-event.d.ts +0 -1
  670. package/dist/types/session/schema.d.ts +0 -5
  671. package/dist/types/session/sql.d.ts +0 -16
  672. package/dist/types/session/transfer.d.ts +0 -10
  673. package/dist/types/session/usage.d.ts +0 -2
  674. package/dist/usage-limits.js +93 -92
  675. package/dist/util/error-summary.js +1 -1
  676. package/dist/util/git-executable.js +3 -3
  677. package/dist/util/lazy.js +1 -1
  678. package/dist/util/slug.js +1 -1
  679. package/dist/util/token.js +1 -1
  680. package/dist/util/which.js +1 -1
  681. package/dist/util/wildcard.js +1 -1
  682. package/dist/v1/config/agent.js +5 -5
  683. package/dist/v1/config/command.js +3 -3
  684. package/dist/v1/config/mcp.js +4 -4
  685. package/dist/v1/config/migrate.js +97 -96
  686. package/dist/v1/config/permission.js +3 -3
  687. package/dist/v1/config/plugin.js +3 -3
  688. package/dist/v1/config/provider-options.js +1 -1
  689. package/dist/v1/config/provider.js +4 -4
  690. package/dist/variant.js +98 -97
  691. package/dist/vcs/patch.js +1 -1
  692. package/dist/vcs.js +94 -93
  693. package/dist/voice.js +92 -91
  694. package/dist/websearch.js +86 -85
  695. package/dist/wellknown/plugin.js +80 -79
  696. package/dist/wellknown.js +81 -80
  697. package/dist/workspace/driver.js +3 -3
  698. package/dist/workspace/sql.js +1 -1
  699. package/dist/workspace.js +86 -85
  700. package/dist/worktree/directory.js +2 -2
  701. package/dist/worktree/git.js +9 -9
  702. package/dist/worktree/sql.js +5 -5
  703. package/dist/worktree/strategies.js +94 -93
  704. package/dist/worktree.js +101 -100
  705. package/package.json +8 -8
  706. package/dist/chunks/agent-76mf46np.js +0 -26
  707. package/dist/chunks/agent-j0h8eemx.js +0 -261
  708. package/dist/chunks/agent-k62y2wy8.js +0 -18
  709. package/dist/chunks/agent-t5c3j88j.js +0 -517
  710. /package/dist/chunks/{agent-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
  711. /package/dist/chunks/{agent-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
  712. /package/dist/chunks/{agent-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
  713. /package/dist/chunks/{agent-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
  714. /package/dist/chunks/{agent-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
  715. /package/dist/chunks/{agent-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
  716. /package/dist/chunks/{agent-2bv980vf.js → location-activity-2bv980vf.js} +0 -0
  717. /package/dist/chunks/{agent-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
  718. /package/dist/chunks/{agent-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
  719. /package/dist/chunks/{agent-3asan66x.js → location-activity-3asan66x.js} +0 -0
  720. /package/dist/chunks/{agent-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
  721. /package/dist/chunks/{agent-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
  722. /package/dist/chunks/{agent-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
  723. /package/dist/chunks/{agent-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
  724. /package/dist/chunks/{agent-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
  725. /package/dist/chunks/{agent-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
  726. /package/dist/chunks/{agent-53557ph1.js → location-activity-53557ph1.js} +0 -0
  727. /package/dist/chunks/{agent-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
  728. /package/dist/chunks/{agent-5fjb7ams.js → location-activity-5fjb7ams.js} +0 -0
  729. /package/dist/chunks/{agent-5qd3pb7m.js → location-activity-5qd3pb7m.js} +0 -0
  730. /package/dist/chunks/{agent-6prwharc.js → location-activity-6prwharc.js} +0 -0
  731. /package/dist/chunks/{agent-6q2bdcd1.js → location-activity-6q2bdcd1.js} +0 -0
  732. /package/dist/chunks/{agent-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
  733. /package/dist/chunks/{agent-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
  734. /package/dist/chunks/{agent-822emrt2.js → location-activity-822emrt2.js} +0 -0
  735. /package/dist/chunks/{agent-84wd9syh.js → location-activity-84wd9syh.js} +0 -0
  736. /package/dist/chunks/{agent-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
  737. /package/dist/chunks/{agent-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
  738. /package/dist/chunks/{agent-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
  739. /package/dist/chunks/{agent-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
  740. /package/dist/chunks/{agent-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
  741. /package/dist/chunks/{agent-a058387c.js → location-activity-a058387c.js} +0 -0
  742. /package/dist/chunks/{agent-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
  743. /package/dist/chunks/{agent-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
  744. /package/dist/chunks/{agent-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
  745. /package/dist/chunks/{agent-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
  746. /package/dist/chunks/{agent-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
  747. /package/dist/chunks/{agent-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
  748. /package/dist/chunks/{agent-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
  749. /package/dist/chunks/{agent-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
  750. /package/dist/chunks/{agent-cqv5kn06.js → location-activity-cqv5kn06.js} +0 -0
  751. /package/dist/chunks/{agent-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
  752. /package/dist/chunks/{agent-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
  753. /package/dist/chunks/{agent-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
  754. /package/dist/chunks/{agent-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
  755. /package/dist/chunks/{agent-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
  756. /package/dist/chunks/{agent-df08tz66.js → location-activity-df08tz66.js} +0 -0
  757. /package/dist/chunks/{agent-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
  758. /package/dist/chunks/{agent-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
  759. /package/dist/chunks/{agent-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
  760. /package/dist/chunks/{agent-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
  761. /package/dist/chunks/{agent-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
  762. /package/dist/chunks/{agent-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
  763. /package/dist/chunks/{agent-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
  764. /package/dist/chunks/{agent-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
  765. /package/dist/chunks/{agent-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
  766. /package/dist/chunks/{agent-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
  767. /package/dist/chunks/{agent-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
  768. /package/dist/chunks/{agent-g86h250q.js → location-activity-g86h250q.js} +0 -0
  769. /package/dist/chunks/{agent-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
  770. /package/dist/chunks/{agent-gftt206x.js → location-activity-gftt206x.js} +0 -0
  771. /package/dist/chunks/{agent-hcxmzztb.js → location-activity-hcxmzztb.js} +0 -0
  772. /package/dist/chunks/{agent-hk9envan.js → location-activity-hk9envan.js} +0 -0
  773. /package/dist/chunks/{agent-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
  774. /package/dist/chunks/{agent-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
  775. /package/dist/chunks/{agent-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
  776. /package/dist/chunks/{agent-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
  777. /package/dist/chunks/{agent-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
  778. /package/dist/chunks/{agent-jze0r7bz.js → location-activity-jze0r7bz.js} +0 -0
  779. /package/dist/chunks/{agent-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
  780. /package/dist/chunks/{agent-m18g726c.js → location-activity-m18g726c.js} +0 -0
  781. /package/dist/chunks/{agent-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
  782. /package/dist/chunks/{agent-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
  783. /package/dist/chunks/{agent-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
  784. /package/dist/chunks/{agent-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
  785. /package/dist/chunks/{agent-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
  786. /package/dist/chunks/{agent-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
  787. /package/dist/chunks/{agent-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
  788. /package/dist/chunks/{agent-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
  789. /package/dist/chunks/{agent-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
  790. /package/dist/chunks/{agent-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
  791. /package/dist/chunks/{agent-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
  792. /package/dist/chunks/{agent-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
  793. /package/dist/chunks/{agent-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
  794. /package/dist/chunks/{agent-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
  795. /package/dist/chunks/{agent-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
  796. /package/dist/chunks/{agent-ve7vex1e.js → location-activity-ve7vex1e.js} +0 -0
  797. /package/dist/chunks/{agent-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
  798. /package/dist/chunks/{agent-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
  799. /package/dist/chunks/{agent-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
  800. /package/dist/chunks/{agent-wjj7prxr.js → location-activity-wjj7prxr.js} +0 -0
  801. /package/dist/chunks/{agent-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
  802. /package/dist/chunks/{agent-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
  803. /package/dist/chunks/{agent-x61499pn.js → location-activity-x61499pn.js} +0 -0
  804. /package/dist/chunks/{agent-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
  805. /package/dist/chunks/{agent-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
  806. /package/dist/chunks/{agent-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
  807. /package/dist/chunks/{agent-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
  808. /package/dist/chunks/{agent-z5v4ffb3.js → location-activity-z5v4ffb3.js} +0 -0
  809. /package/dist/chunks/{agent-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
@@ -1,42 +1,42 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./agent-qk0m1vv0.js";
4
+ } from "./location-activity-5e8bacmk.js";
5
5
  import {
6
- Service32,
7
- node35
8
- } from "./agent-k9hbvn9k.js";
6
+ Service35,
7
+ node38
8
+ } from "./location-activity-gfvcz5wa.js";
9
9
  import {
10
10
  isTextual2
11
- } from "./agent-2z1j29yd.js";
11
+ } from "./location-activity-2z1j29yd.js";
12
12
  import {
13
- Service73,
14
- node77
15
- } from "./agent-7q4ggvk7.js";
16
- import {
17
- Service43,
18
- node46
19
- } from "./agent-njmawajr.js";
13
+ Service78,
14
+ node82
15
+ } from "./location-activity-sadb7q59.js";
20
16
  import {
21
17
  Service52,
22
- node55
23
- } from "./agent-6mejnpem.js";
18
+ node56
19
+ } from "./location-activity-vhn01q1d.js";
20
+ import {
21
+ Service72,
22
+ node76
23
+ } from "./location-activity-s78fym6c.js";
24
24
  import {
25
25
  MEDIA_MIMES2
26
- } from "./agent-ges56kck.js";
26
+ } from "./location-activity-p3qy5t07.js";
27
27
  import {
28
28
  __export
29
- } from "./agent-9rqn6x4v.js";
29
+ } from "./location-activity-9rqn6x4v.js";
30
30
 
31
31
  // src/tool/mcp.ts
32
32
  var exports_mcp3 = {};
33
33
  __export(exports_mcp3, {
34
34
  McpTool: () => exports_mcp3,
35
- Service: () => Service31,
36
- layer: () => layer14,
35
+ Service: () => Service33,
36
+ layer: () => layer16,
37
37
  name: () => name15,
38
38
  namespace: () => namespace2,
39
- node: () => node34
39
+ node: () => node36
40
40
  });
41
41
  import { ToolFailure } from "@opencode/ai";
42
42
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -47,14 +47,14 @@ var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown
47
47
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
48
48
  var name15 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
49
49
 
50
- class Service31 extends Context.Service()("@opencode/McpTool") {
50
+ class Service33 extends Context.Service()("@opencode/McpTool") {
51
51
  }
52
- var layer14 = Layer.effect(Service31, Effect.gen(function* () {
53
- const mcp = yield* Service32;
54
- const tools = yield* Service43;
52
+ var layer16 = Layer.effect(Service33, Effect.gen(function* () {
53
+ const mcp = yield* Service35;
54
+ const tools = yield* Service52;
55
55
  const bus = yield* Service86;
56
- const permission = yield* Service73;
57
- const toolOutput = yield* Service52;
56
+ const permission = yield* Service78;
57
+ const toolOutput = yield* Service72;
58
58
  const lock = Semaphore.makeUnsafe(1);
59
59
  let discovered = [];
60
60
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -124,7 +124,7 @@ var layer14 = Layer.effect(Service31, Effect.gen(function* () {
124
124
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
125
125
  const updates = yield* PubSub.subscribe(changes);
126
126
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
127
- return Service31.of({ flush: Effect.asVoid(Fiber.await(initial)) });
127
+ return Service33.of({ flush: Effect.asVoid(Fiber.await(initial)) });
128
128
  }));
129
129
  var toContent = Effect.fnUntraced(function* (part, toolOutput) {
130
130
  if (part.type === "text")
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
144
144
  text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
145
145
  };
146
146
  });
147
- var node34 = makeLocationNode({
148
- service: Service31,
149
- layer: layer14,
150
- deps: [node46, node35, node90, node77, node55]
147
+ var node36 = makeLocationNode({
148
+ service: Service33,
149
+ layer: layer16,
150
+ deps: [node56, node38, node90, node82, node76]
151
151
  });
152
152
 
153
- export { namespace2, name15, Service31, layer14, node34, exports_mcp3 };
153
+ export { namespace2, name15, Service33, layer16, node36, exports_mcp3 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./agent-z5v4ffb3.js";
3
+ } from "./location-activity-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./agent-9rqn6x4v.js";
6
+ } from "./location-activity-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  Failed2
3
- } from "./agent-zkg84ctx.js";
3
+ } from "./location-activity-zkg84ctx.js";
4
4
  import {
5
5
  execDefaults2
6
- } from "./agent-g5h9c0rr.js";
6
+ } from "./location-activity-g5h9c0rr.js";
7
7
  import {
8
8
  Service87,
9
9
  node91
10
- } from "./agent-x68edsfb.js";
10
+ } from "./location-activity-mherk3tq.js";
11
11
  import {
12
12
  makeUnsafe2
13
- } from "./agent-qjgzc4b4.js";
13
+ } from "./location-activity-8jztxfpf.js";
14
14
  import {
15
15
  Binding2,
16
16
  RegistryService2,
17
- node58
18
- } from "./agent-vwy7wwgg.js";
17
+ node55
18
+ } from "./location-activity-d6xhnq8s.js";
19
19
  import {
20
20
  WorkspaceTable2
21
- } from "./agent-faypxj3z.js";
21
+ } from "./location-activity-faypxj3z.js";
22
22
  import {
23
23
  __export
24
- } from "./agent-9rqn6x4v.js";
24
+ } from "./location-activity-9rqn6x4v.js";
25
25
 
26
26
  // src/workspace.ts
27
27
  var exports_workspace = {};
28
28
  __export(exports_workspace, {
29
29
  CreateConflict: () => CreateConflict2,
30
- ID: () => ID5,
31
- Info: () => Info12,
30
+ ID: () => ID6,
31
+ Info: () => Info10,
32
32
  NotFound: () => NotFound2,
33
- Service: () => Service54,
33
+ Service: () => Service51,
34
34
  Workspace: () => exports_workspace,
35
- configured: () => configured7,
36
- node: () => node57
35
+ configured: () => configured6,
36
+ node: () => node54
37
37
  });
38
38
  import { Workspace } from "@opencode/schema/workspace";
39
39
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
41
41
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
42
42
  import { systemError } from "effect/PlatformError";
43
43
  import { make } from "effect/process/ChildProcessSpawner";
44
- var ID5 = Workspace.ID;
44
+ var ID6 = Workspace.ID;
45
45
 
46
- class Info12 extends Schema.Class("Workspace.Info")({
47
- id: ID5,
46
+ class Info10 extends Schema.Class("Workspace.Info")({
47
+ id: ID6,
48
48
  provider: Schema.String,
49
49
  binding: Binding2,
50
50
  createdAt: Schema.Number,
@@ -52,24 +52,24 @@ class Info12 extends Schema.Class("Workspace.Info")({
52
52
  }) {
53
53
  }
54
54
 
55
- class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID5 }) {
55
+ class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
56
56
  }
57
57
 
58
58
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
59
- workspaceID: ID5,
59
+ workspaceID: ID6,
60
60
  provider: Schema.String,
61
61
  existingProvider: Schema.String
62
62
  }) {
63
63
  }
64
64
 
65
- class Service54 extends Context.Service()("@opencode/Workspace") {
65
+ class Service51 extends Context.Service()("@opencode/Workspace") {
66
66
  }
67
- var configured7 = (options = {}) => makeGlobalNode({
68
- service: Service54,
67
+ var configured6 = (options = {}) => makeGlobalNode({
68
+ service: Service51,
69
69
  layer: layer(options),
70
- deps: [node91, node58]
70
+ deps: [node91, node55]
71
71
  });
72
- var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
72
+ var layer = (options) => Layer.effect(Service51, Effect.gen(function* () {
73
73
  const db = (yield* Service87).db;
74
74
  const registry = yield* RegistryService2;
75
75
  const lifetime = yield* Scope.Scope;
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
86
86
  return row;
87
87
  });
88
88
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
89
- const info = (row, binding) => new Info12({
89
+ const info = (row, binding) => new Info10({
90
90
  id: row.id,
91
91
  provider: row.provider,
92
92
  binding,
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
164
164
  yield* Scope.close(connection.scope, Exit.void);
165
165
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
166
166
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
167
- return Service54.of({
167
+ return Service51.of({
168
168
  create: Effect.fn("Workspace.create")(function* (input) {
169
- const workspaceID = input.id ?? ID5.create();
169
+ const workspaceID = input.id ?? ID6.create();
170
170
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
171
171
  if (existing) {
172
172
  if (existing.provider === input.provider)
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
242
242
  })
243
243
  });
244
244
  }));
245
- var node57 = configured7();
245
+ var node54 = configured6();
246
246
 
247
- export { ID5, Info12, NotFound2, CreateConflict2, Service54, configured7, node57, exports_workspace };
247
+ export { ID6, Info10, NotFound2, CreateConflict2, Service51, configured6, node54, exports_workspace };
@@ -2,14 +2,14 @@ import {
2
2
  ephemeral2,
3
3
  Service86,
4
4
  node90
5
- } from "./agent-qk0m1vv0.js";
5
+ } from "./location-activity-5e8bacmk.js";
6
6
  import {
7
- Service72,
8
- node76
9
- } from "./agent-en6q6hb7.js";
7
+ Service68,
8
+ node72
9
+ } from "./location-activity-v20098x6.js";
10
10
  import {
11
11
  __export
12
- } from "./agent-9rqn6x4v.js";
12
+ } from "./location-activity-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
@@ -19,11 +19,11 @@ __export(exports_wellknown, {
19
19
  Event: () => Event11,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service68,
22
+ Service: () => Service67,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
25
  node: () => node71,
26
- resolve: () => resolve3
26
+ resolve: () => resolve4
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,7 +46,7 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service68 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service67 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
51
  var Event11 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
57
57
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
58
58
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
59
59
  });
60
- var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
60
+ var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
61
61
  const manifest = yield* inspect2(input.origin);
62
62
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
63
63
  });
@@ -79,9 +79,9 @@ var Sources = Schema.Array(Schema.String);
79
79
  var manifestKey = (origin) => `wellknown:manifest:${origin}`;
80
80
  var configKey = (origin) => `wellknown:config:${origin}`;
81
81
  var Configs = Schema.Array(Config2);
82
- var layer = Layer.effect(Service68, Effect.gen(function* () {
82
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
83
83
  const http = yield* HttpClient.HttpClient;
84
- const kv = yield* Service72;
84
+ const kv = yield* Service68;
85
85
  const bus = yield* Service86;
86
86
  const cache = yield* Ref.make(new Map);
87
87
  const lock = Semaphore.makeUnsafe(1);
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
116
116
  yield* bus.publish(Event11.Updated, {}, { global: true });
117
117
  return true;
118
118
  }, (effect) => lock.withPermit(effect));
119
- return Service68.of({
119
+ return Service67.of({
120
120
  entries: load,
121
121
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
122
122
  refresh,
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
157
157
  })
158
158
  });
159
159
  }));
160
- var node71 = makeGlobalNode({ service: Service68, layer, deps: [httpClient, node76, node90] });
160
+ var node71 = makeGlobalNode({ service: Service67, layer, deps: [httpClient, node72, node90] });
161
161
 
162
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service68, Event11, inspect2, resolve3, node71, exports_wellknown };
162
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service67, Event11, inspect2, resolve4, node71, exports_wellknown };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./agent-z5v4ffb3.js";
4
+ } from "./location-activity-z5v4ffb3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./agent-qjgzc4b4.js";
7
+ } from "./location-activity-8jztxfpf.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./agent-rb9dy4dg.js";
12
+ } from "./location-activity-rb9dy4dg.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./agent-sa3fpqfw.js";
15
+ } from "./location-activity-sa3fpqfw.js";
16
16
  import {
17
17
  __export
18
- } from "./agent-9rqn6x4v.js";
18
+ } from "./location-activity-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  useragent2
3
- } from "./agent-11k6s8k8.js";
3
+ } from "./location-activity-z0qd3mgb.js";
4
4
  import {
5
5
  Service86
6
- } from "./agent-qk0m1vv0.js";
6
+ } from "./location-activity-5e8bacmk.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./agent-476ebpw1.js";
9
+ Event15
10
+ } from "./location-activity-wxw2jpx7.js";
11
11
  import {
12
- ID14,
12
+ ID9,
13
13
  MethodID2
14
- } from "./agent-6dnbbrkg.js";
14
+ } from "./location-activity-agptt57b.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./agent-yb20nhc3.js";
18
+ } from "./location-activity-yb20nhc3.js";
19
19
  import {
20
- ID13,
20
+ ID8,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./agent-x4w6jmkv.js";
23
+ } from "./location-activity-sw94b9fh.js";
24
24
  import {
25
25
  get5
26
- } from "./agent-3nnrz6f6.js";
26
+ } from "./location-activity-3nnrz6f6.js";
27
27
  import {
28
28
  configuredSettings2
29
- } from "./agent-wqa97sqm.js";
29
+ } from "./location-activity-5a2n849v.js";
30
30
 
31
31
  // src/plugin/provider/openai.ts
32
32
  import { define } from "@opencode/plugin/effect/plugin";
@@ -49,7 +49,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
49
49
  }));
50
50
  var decodeClaims = Schema.decodeUnknownOption(Claims);
51
51
  var browser = (app) => ({
52
- integrationID: ID14.make("openai"),
52
+ integrationID: ID9.make("openai"),
53
53
  method: {
54
54
  id: browserMethodID,
55
55
  type: "oauth",
@@ -122,7 +122,7 @@ function addressInUse(error) {
122
122
  return "code" in error && error.code === "EADDRINUSE";
123
123
  }
124
124
  var headless = (app) => ({
125
- integrationID: ID14.make("openai"),
125
+ integrationID: ID9.make("openai"),
126
126
  method: {
127
127
  id: headlessMethodID,
128
128
  type: "oauth",
@@ -182,9 +182,9 @@ var OpenAIPlugin2 = define({
182
182
  editor.method.update(headless(ctx.app));
183
183
  });
184
184
  yield* load();
185
- const configured = yield* configuredSettings2(ID13.openai);
185
+ const configured = yield* configuredSettings2(ID8.openai);
186
186
  yield* ctx.provider.transform((providers) => {
187
- const item = providers.get(ID13.openai);
187
+ const item = providers.get(ID8.openai);
188
188
  if (!item)
189
189
  return;
190
190
  const account = chatgpt?.metadata?.accountID;
@@ -204,7 +204,7 @@ var OpenAIPlugin2 = define({
204
204
  });
205
205
  });
206
206
  yield* ctx.model.transform((models) => {
207
- for (const model of models.list(ID13.openai)) {
207
+ for (const model of models.list(ID8.openai)) {
208
208
  models.update(model.providerID, model.id, (draft) => {
209
209
  if (!chatgpt)
210
210
  return;
@@ -234,14 +234,14 @@ var OpenAIPlugin2 = define({
234
234
  }));
235
235
  evt.headers.originator = "opencode";
236
236
  evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
237
- }), { providerID: ID13.openai });
237
+ }), { providerID: ID8.openai });
238
238
  const omitOutputLimit = (evt) => Effect.sync(() => {
239
239
  delete evt.options.maxTokens;
240
240
  });
241
241
  for (const name of ["context", "compaction"])
242
- yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
242
+ yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID8.openai });
243
243
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
244
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
244
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
245
245
  })
246
246
  });
247
247
  function headers(contentType, app) {
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./agent-qk0m1vv0.js";
4
+ } from "./location-activity-5e8bacmk.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./agent-z5v4ffb3.js";
8
+ } from "./location-activity-z5v4ffb3.js";
9
9
  import {
10
10
  Ref4,
11
11
  Service83,
12
12
  node87
13
- } from "./agent-dvswds2a.js";
13
+ } from "./location-activity-1r6rmb28.js";
14
14
  import {
15
15
  __export
16
- } from "./agent-9rqn6x4v.js";
16
+ } from "./location-activity-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service46,
22
+ Service: () => Service40,
23
23
  define: () => define2,
24
- node: () => node49
24
+ node: () => node43
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service46 extends Context.Service()("@opencode/Rpc") {
30
+ class Service40 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,7 +39,7 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service46, Effect.gen(function* () {
42
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
43
43
  const bus = yield* Service86;
44
44
  const location = yield* Service83;
45
45
  const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
123
123
  }
124
124
  };
125
125
  };
126
- return Service46.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service40.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node49 = makeLocationNode({ service: Service46, layer, deps: [node90, node87] });
128
+ var node43 = makeLocationNode({ service: Service40, layer, deps: [node90, node87] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service46, node49, exports_rpc, define2 };
213
+ export { Service40, node43, exports_rpc, define2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./agent-9rqn6x4v.js";
3
+ } from "./location-activity-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/provider-options.ts
6
6
  var exports_provider_options = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./agent-z5v4ffb3.js";
3
+ } from "./location-activity-z5v4ffb3.js";
4
4
  import {
5
5
  Service83
6
- } from "./agent-dvswds2a.js";
6
+ } from "./location-activity-1r6rmb28.js";
7
7
  import {
8
8
  __export
9
- } from "./agent-9rqn6x4v.js";
9
+ } from "./location-activity-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
@@ -0,0 +1,13 @@
1
+ // src/database/migration/20261024175301_drop_session_allowance.ts
2
+ import { Effect } from "effect";
3
+ var migration = {
4
+ id: "20261024175301_drop_session_allowance",
5
+ up(tx) {
6
+ return Effect.gen(function* () {
7
+ yield* tx.run(`ALTER TABLE \`session_v2\` DROP COLUMN \`allowance\`;`);
8
+ });
9
+ }
10
+ };
11
+ var _20261024175301_drop_session_allowance_default = migration;
12
+
13
+ export { _20261024175301_drop_session_allowance_default };