@opencode/core 0.0.0-dev-20328 → 0.0.0-dev-20329

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{command-zg0g1dmr.js → location-activity-077m8v1r.js} +11 -11
  8. package/dist/chunks/{command-zzn75vcn.js → location-activity-0b2zk8pd.js} +31 -31
  9. package/dist/chunks/{command-93r6kb0j.js → location-activity-0e9rs99r.js} +8 -8
  10. package/dist/chunks/{command-57ez7d0k.js → location-activity-0ke265bw.js} +5 -5
  11. package/dist/chunks/{command-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{command-gmjj820p.js → location-activity-0seget7c.js} +25 -25
  13. package/dist/chunks/{command-nd3zz1gr.js → location-activity-0xg64tzr.js} +5 -5
  14. package/dist/chunks/{command-ga3d7eyp.js → location-activity-13m3jm1s.js} +53 -53
  15. package/dist/chunks/{command-1bbkgx8g.js → location-activity-1bbkgx8g.js} +1 -1
  16. package/dist/chunks/{command-2j34hmmc.js → location-activity-1bvqb18g.js} +9 -9
  17. package/dist/chunks/{command-1dazxqgg.js → location-activity-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{command-bq6be9me.js → location-activity-1e8xy3zp.js} +14 -14
  19. package/dist/chunks/{command-9jbvj98d.js → location-activity-1gfgk62c.js} +8 -8
  20. package/dist/chunks/{command-0f00b5dx.js → location-activity-1h24k1r9.js} +17 -17
  21. package/dist/chunks/{command-f7arvf55.js → location-activity-1mfhpedz.js} +6 -6
  22. package/dist/chunks/{command-tsbqqcav.js → location-activity-1smqcxb3.js} +4 -4
  23. package/dist/chunks/{command-21r38tys.js → location-activity-21r38tys.js} +1 -1
  24. package/dist/chunks/{command-j6y5gsxd.js → location-activity-229kgytr.js} +21 -21
  25. package/dist/chunks/{command-bqwcv1te.js → location-activity-266vcxgd.js} +3 -3
  26. package/dist/chunks/{command-2a5m3afh.js → location-activity-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{command-4c2df9zx.js → location-activity-2aet7wja.js} +8 -8
  28. package/dist/chunks/{command-kfv2zn0s.js → location-activity-2bdac0n9.js} +28 -28
  29. package/dist/chunks/{command-nxawm2f0.js → location-activity-2h7z08qc.js} +21 -21
  30. package/dist/chunks/{command-55mw5dew.js → location-activity-2k05be8x.js} +6 -6
  31. package/dist/chunks/{command-pgfgfh2x.js → location-activity-2mp83jfq.js} +22 -22
  32. package/dist/chunks/{command-44pdqs77.js → location-activity-30krspkn.js} +4 -4
  33. package/dist/chunks/{command-ctmf4cjh.js → location-activity-34n5sbfk.js} +9 -9
  34. package/dist/chunks/{command-tahyjvza.js → location-activity-3a1krv2k.js} +23 -23
  35. package/dist/chunks/{command-67a3m4yw.js → location-activity-3ejw8a3m.js} +5 -5
  36. package/dist/chunks/{command-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{command-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{command-gfkmrq4p.js → location-activity-3myc71jt.js} +22 -22
  39. package/dist/chunks/{command-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{command-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{command-2qp6y8xf.js → location-activity-3w0fmcng.js} +5 -5
  42. package/dist/chunks/{command-yb94rfg9.js → location-activity-3w9g5he6.js} +9 -9
  43. package/dist/chunks/{command-3zsf4n22.js → location-activity-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{command-wwm9drsm.js → location-activity-40dbptmr.js} +30 -30
  45. package/dist/chunks/{command-zmj32qq0.js → location-activity-41drvpt3.js} +8 -8
  46. package/dist/chunks/{command-x4qspy2c.js → location-activity-47n28gsq.js} +31 -31
  47. package/dist/chunks/{command-h9wp8z5w.js → location-activity-4j4tgtq5.js} +4 -4
  48. package/dist/chunks/{command-0jq9fyba.js → location-activity-4nj4bn9q.js} +9 -9
  49. package/dist/chunks/{command-pmmvzvq4.js → location-activity-4p75gkfp.js} +92 -92
  50. package/dist/chunks/{command-ytws7ykb.js → location-activity-4r30jxym.js} +2 -2
  51. package/dist/chunks/{command-9bye45vx.js → location-activity-4vzdpms5.js} +22 -22
  52. package/dist/chunks/{command-5wtwrezn.js → location-activity-50mzsvk4.js} +21 -21
  53. package/dist/chunks/{command-12wyshmk.js → location-activity-52p88gvx.js} +12 -12
  54. package/dist/chunks/{command-7cqkmc07.js → location-activity-53hmgd1n.js} +13 -13
  55. package/dist/chunks/{command-54ma36ye.js → location-activity-54ma36ye.js} +1 -1
  56. package/dist/chunks/{command-54tcyq79.js → location-activity-54tcyq79.js} +2 -2
  57. package/dist/chunks/{command-tea88xkw.js → location-activity-575d2e68.js} +92 -92
  58. package/dist/chunks/{command-5daktx2q.js → location-activity-5daktx2q.js} +1 -1
  59. package/dist/chunks/{command-gkgr9f8v.js → location-activity-5hjckbc2.js} +29 -29
  60. package/dist/chunks/{command-e3qxr5gk.js → location-activity-5qd3pb7m.js} +2 -2
  61. package/dist/chunks/{command-a7xxapnj.js → location-activity-5rg3wxb4.js} +8 -8
  62. package/dist/chunks/{command-5t3nmthw.js → location-activity-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{command-p1s99nq8.js → location-activity-63nhzkyw.js} +11 -11
  64. package/dist/chunks/{command-407bfz6x.js → location-activity-63xbqhd3.js} +54 -54
  65. package/dist/chunks/{command-zfa7ynd8.js → location-activity-659sfxq9.js} +20 -20
  66. package/dist/chunks/{command-669tq793.js → location-activity-669tq793.js} +1 -1
  67. package/dist/chunks/{command-35zdg7pf.js → location-activity-6fzbf4p9.js} +27 -27
  68. package/dist/chunks/{command-nsdyb8pw.js → location-activity-6jpm1nv0.js} +18 -18
  69. package/dist/chunks/{command-0jq7xanq.js → location-activity-6kagehp5.js} +8 -8
  70. package/dist/chunks/{command-6msgmcgs.js → location-activity-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{command-fdjp4t8r.js → location-activity-6pmchycv.js} +11 -11
  72. package/dist/chunks/{command-6z9y85k1.js → location-activity-6s622yr1.js} +12 -12
  73. package/dist/chunks/{command-eyhtqccb.js → location-activity-6xe4fgg8.js} +7 -7
  74. package/dist/chunks/{command-atk3new3.js → location-activity-74knqbzz.js} +33 -33
  75. package/dist/chunks/{command-q5ekdvah.js → location-activity-75szhmtc.js} +33 -33
  76. package/dist/chunks/{command-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{command-mm5kxf07.js → location-activity-7f85ph34.js} +8 -8
  78. package/dist/chunks/{command-cca4q062.js → location-activity-809qe8sk.js} +25 -25
  79. package/dist/chunks/{command-84txncab.js → location-activity-84txncab.js} +1 -1
  80. package/dist/chunks/{command-1a79m22w.js → location-activity-8a197mr1.js} +9 -9
  81. package/dist/chunks/{command-8d7r5vzw.js → location-activity-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{command-tn9j577v.js → location-activity-8p54jxc6.js} +11 -11
  83. package/dist/chunks/{command-5xampkzv.js → location-activity-8vbndzfj.js} +21 -21
  84. package/dist/chunks/{command-nx1xqst5.js → location-activity-8w7jzeqg.js} +3 -3
  85. package/dist/chunks/{command-nzj20ack.js → location-activity-8z7pc6r1.js} +19 -19
  86. package/dist/chunks/{command-h0z3n8yt.js → location-activity-8zb08g4c.js} +12 -12
  87. package/dist/chunks/{command-c3btd4vx.js → location-activity-8zr3m3wh.js} +35 -35
  88. package/dist/chunks/{command-133zd6pq.js → location-activity-908jv299.js} +10 -10
  89. package/dist/chunks/{command-vy4zg7qh.js → location-activity-965ggptx.js} +12 -12
  90. package/dist/chunks/{command-p64sp65g.js → location-activity-97q6njzc.js} +43 -43
  91. package/dist/chunks/location-activity-9brjy31v.js +18 -0
  92. package/dist/chunks/{command-f38wsw69.js → location-activity-9kmbd9mt.js} +2 -2
  93. package/dist/chunks/{command-d8jep961.js → location-activity-9mkc24xa.js} +6 -6
  94. package/dist/chunks/{command-v556y4yv.js → location-activity-9rkayaet.js} +20 -20
  95. package/dist/chunks/{command-w0a3dsx5.js → location-activity-9spd21z5.js} +11 -11
  96. package/dist/chunks/{command-ad1se6we.js → location-activity-9x5rebw7.js} +8 -8
  97. package/dist/chunks/{command-1h6krnfg.js → location-activity-a5w17s0s.js} +24 -24
  98. package/dist/chunks/{command-aaet6srn.js → location-activity-aaet6srn.js} +2 -2
  99. package/dist/chunks/{command-eeavwd92.js → location-activity-ac5dy6fj.js} +6 -6
  100. package/dist/chunks/{command-rpg9c19m.js → location-activity-afdssyjb.js} +4 -4
  101. package/dist/chunks/{command-jcvmways.js → location-activity-amzv4cj8.js} +43 -43
  102. package/dist/chunks/{command-knpa7q1k.js → location-activity-aq2adzr3.js} +43 -43
  103. package/dist/chunks/{command-0grgek18.js → location-activity-ats5qnf8.js} +30 -30
  104. package/dist/chunks/{command-m18nzyk6.js → location-activity-b14v52mz.js} +43 -43
  105. package/dist/chunks/{command-b6gygkdw.js → location-activity-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{command-ezw3czwx.js → location-activity-b9zav7zg.js} +48 -48
  107. package/dist/chunks/{command-92a4ap4w.js → location-activity-bgxcxs0p.js} +5 -5
  108. package/dist/chunks/{command-bjtzbw4r.js → location-activity-bjtzbw4r.js} +3 -3
  109. package/dist/chunks/{command-mpc5v7rs.js → location-activity-bvbj4v5c.js} +38 -38
  110. package/dist/chunks/{command-gkkss05z.js → location-activity-c1cem4ms.js} +4 -4
  111. package/dist/chunks/{command-v9chgcj3.js → location-activity-c2xxqq54.js} +12 -12
  112. package/dist/chunks/{command-pppvxay8.js → location-activity-c3nwvhvh.js} +30 -30
  113. package/dist/chunks/{command-vr9bpkcp.js → location-activity-cfgnezqe.js} +20 -20
  114. package/dist/chunks/{command-mmeqzzre.js → location-activity-chsg2cca.js} +21 -21
  115. package/dist/chunks/{command-2p8k3371.js → location-activity-cn1v2m3x.js} +8 -8
  116. package/dist/chunks/{command-3njz9hw1.js → location-activity-cnxgg46z.js} +5 -5
  117. package/dist/chunks/{command-wr1nh5zj.js → location-activity-cpwtdbzf.js} +8 -8
  118. package/dist/chunks/{command-7gvwkz6m.js → location-activity-cr07tj7n.js} +5 -5
  119. package/dist/chunks/{command-gjwgx2c5.js → location-activity-cwa6csj7.js} +9 -9
  120. package/dist/chunks/{command-26wd49eb.js → location-activity-cx7facz5.js} +24 -24
  121. package/dist/chunks/{command-3hfr6h8q.js → location-activity-czfptnv9.js} +8 -8
  122. package/dist/chunks/{command-qw2yw8z7.js → location-activity-d2zsdd4d.js} +19 -19
  123. package/dist/chunks/{command-a49t4mpe.js → location-activity-d7ajkdyx.js} +25 -25
  124. package/dist/chunks/{command-y875hksg.js → location-activity-d8nm787w.js} +36 -36
  125. package/dist/chunks/location-activity-dcr8cv6d.js +26 -0
  126. package/dist/chunks/{command-an7cqtb7.js → location-activity-dfe8djrf.js} +4 -4
  127. package/dist/chunks/{command-jygjpmnc.js → location-activity-dfj6fbnh.js} +15 -15
  128. package/dist/chunks/{command-xkntkrq7.js → location-activity-dmqcgk4z.js} +5 -5
  129. package/dist/chunks/{command-nzyyvfzd.js → location-activity-dnvd7z42.js} +57 -57
  130. package/dist/chunks/{command-y71avatq.js → location-activity-dpkg50ah.js} +4 -4
  131. package/dist/chunks/{command-57b9ws8p.js → location-activity-drwq78ky.js} +5 -5
  132. package/dist/chunks/{command-sp6nzw66.js → location-activity-dth4y816.js} +25 -25
  133. package/dist/chunks/{command-20g5pfhx.js → location-activity-dzzshj1y.js} +10 -10
  134. package/dist/chunks/{command-sb221pn8.js → location-activity-e01wyxnv.js} +32 -32
  135. package/dist/chunks/{command-qz49fwgp.js → location-activity-e6hd9jay.js} +6 -6
  136. package/dist/chunks/{command-rhjbct0v.js → location-activity-eaj1djv9.js} +8 -8
  137. package/dist/chunks/{command-ecfe7b91.js → location-activity-ecfe7b91.js} +2 -2
  138. package/dist/chunks/{command-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{command-w2z5746y.js → location-activity-emdw47k5.js} +19 -19
  140. package/dist/chunks/{command-etq0c3wd.js → location-activity-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{command-68g7trhf.js → location-activity-evkwanfq.js} +6 -6
  142. package/dist/chunks/{command-mfz89tqk.js → location-activity-f5f62g8d.js} +30 -30
  143. package/dist/chunks/{command-ehzgjc3e.js → location-activity-f72pbp8a.js} +15 -15
  144. package/dist/chunks/{command-3yrc8p0f.js → location-activity-f8g6ptxf.js} +30 -30
  145. package/dist/chunks/{command-s53bx6aa.js → location-activity-ffg6pth4.js} +16 -16
  146. package/dist/chunks/{command-32eqhqc9.js → location-activity-fnvysv06.js} +29 -29
  147. package/dist/chunks/{command-0hf9g8pg.js → location-activity-fwhqfwqn.js} +6 -6
  148. package/dist/chunks/{command-f3c11mr4.js → location-activity-fx11cx3p.js} +171 -171
  149. package/dist/chunks/{command-r6q2c161.js → location-activity-g1ff065m.js} +11 -11
  150. package/dist/chunks/{command-e73y8s3p.js → location-activity-g554a1q9.js} +13 -13
  151. package/dist/chunks/{command-g5agzp2h.js → location-activity-g5agzp2h.js} +2 -2
  152. package/dist/chunks/{command-hpjjk0gj.js → location-activity-gcbp8h4n.js} +5 -5
  153. package/dist/chunks/{command-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{command-gfvb90ym.js → location-activity-gfvb90ym.js} +2 -2
  155. package/dist/chunks/{command-md4m2kyr.js → location-activity-gjw6p9rk.js} +14 -14
  156. package/dist/chunks/{command-0tsnk9s4.js → location-activity-gmf3x8bs.js} +26 -26
  157. package/dist/chunks/{command-41kk9vt4.js → location-activity-gnbk51kj.js} +32 -32
  158. package/dist/chunks/{command-gv6a8nnw.js → location-activity-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{command-g5g6qkd8.js → location-activity-gvrb3dy5.js} +5 -5
  160. package/dist/chunks/{command-k8zgzs4j.js → location-activity-h5670nt2.js} +7 -7
  161. package/dist/chunks/{command-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{command-t4g45am5.js → location-activity-ha607pgt.js} +6 -6
  163. package/dist/chunks/{command-t2445nzz.js → location-activity-hc9qtajb.js} +28 -28
  164. package/dist/chunks/{command-znsx74x0.js → location-activity-hd8vw2pw.js} +1 -1
  165. package/dist/chunks/location-activity-he76kwyv.js +252 -0
  166. package/dist/chunks/{command-6t2wbhs5.js → location-activity-hgnyq8n3.js} +4 -4
  167. package/dist/chunks/{command-ahnc2hpr.js → location-activity-hmm5qybx.js} +11 -11
  168. package/dist/chunks/{command-aze5dktd.js → location-activity-hmqsdwnf.js} +30 -30
  169. package/dist/chunks/{command-n9p09fbd.js → location-activity-hrw20ktp.js} +29 -29
  170. package/dist/chunks/{command-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
  171. package/dist/chunks/{command-nr8aa75s.js → location-activity-j8n6cjcw.js} +35 -35
  172. package/dist/chunks/{command-vptby8qv.js → location-activity-j9n98th9.js} +11 -11
  173. package/dist/chunks/{command-yybzjk8b.js → location-activity-jg41maze.js} +5 -5
  174. package/dist/chunks/{command-173e3mya.js → location-activity-jnvevjvm.js} +3 -3
  175. package/dist/chunks/{command-y5rf7nzv.js → location-activity-jpqeh2wc.js} +4 -4
  176. package/dist/chunks/{command-nzks3jc8.js → location-activity-k3c624dm.js} +3 -3
  177. package/dist/chunks/{command-zz0gf2gv.js → location-activity-kh303gds.js} +13 -13
  178. package/dist/chunks/{command-qd8zrxrt.js → location-activity-kjst15yx.js} +7 -7
  179. package/dist/chunks/{command-m3fdjcah.js → location-activity-m3fdjcah.js} +1 -1
  180. package/dist/chunks/{command-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{command-08rawchj.js → location-activity-mf9m2v67.js} +2 -2
  182. package/dist/chunks/{command-56gdpj1q.js → location-activity-mfqp6xfm.js} +6 -6
  183. package/dist/chunks/{command-5tc03052.js → location-activity-mk1y78ps.js} +4 -4
  184. package/dist/chunks/{command-mpk0rfs5.js → location-activity-mpk0rfs5.js} +1 -1
  185. package/dist/chunks/{command-ccq9v9cm.js → location-activity-n0a780pf.js} +11 -11
  186. package/dist/chunks/{command-3pe7sts8.js → location-activity-n35d2xk4.js} +9 -9
  187. package/dist/chunks/{command-8hgfhrm0.js → location-activity-nbzsj80d.js} +11 -11
  188. package/dist/chunks/{command-0z8vjex2.js → location-activity-ndqtf2h8.js} +9 -9
  189. package/dist/chunks/{command-kha295zz.js → location-activity-nt99nghq.js} +12 -12
  190. package/dist/chunks/{command-9tw8yaak.js → location-activity-nw4x666j.js} +11 -11
  191. package/dist/chunks/{command-achky8s5.js → location-activity-nx24f48e.js} +41 -41
  192. package/dist/chunks/{command-0bbg5mgz.js → location-activity-p3whrt10.js} +11 -11
  193. package/dist/chunks/{command-17zy7cfp.js → location-activity-p4ba9kby.js} +16 -16
  194. package/dist/chunks/{command-wbbwn8b4.js → location-activity-p8zyjhbq.js} +17 -17
  195. package/dist/chunks/{command-w37rjecm.js → location-activity-pgbr8qsq.js} +36 -36
  196. package/dist/chunks/{command-5fr28cxv.js → location-activity-pj04vm81.js} +15 -15
  197. package/dist/chunks/{command-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{command-pknna89w.js → location-activity-pknna89w.js} +1 -1
  199. package/dist/chunks/{command-vb1y33sc.js → location-activity-pnxxqgm9.js} +11 -11
  200. package/dist/chunks/{command-psazpmmj.js → location-activity-psazpmmj.js} +2 -2
  201. package/dist/chunks/{command-3b9qt4hj.js → location-activity-q0raz0xt.js} +9 -9
  202. package/dist/chunks/{command-z3kd0n8s.js → location-activity-q13vczj5.js} +32 -32
  203. package/dist/chunks/{command-bk7jaeqh.js → location-activity-q7azfttr.js} +4 -4
  204. package/dist/chunks/{command-b06mxnn4.js → location-activity-qacn8y7r.js} +23 -23
  205. package/dist/chunks/{command-qkpjvsg2.js → location-activity-qdg2ycbc.js} +11 -11
  206. package/dist/chunks/{command-7dqw4kz8.js → location-activity-qgn6gcr1.js} +5 -5
  207. package/dist/chunks/{command-sk5hhzgy.js → location-activity-qnvreqxt.js} +25 -25
  208. package/dist/chunks/{command-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
  209. package/dist/chunks/{command-b7b4ctej.js → location-activity-qvreyy9g.js} +5 -5
  210. package/dist/chunks/{command-yf10kn3d.js → location-activity-qw3tzrgn.js} +8 -8
  211. package/dist/chunks/{command-e1cpzhmy.js → location-activity-qwwggkzn.js} +23 -23
  212. package/dist/chunks/{command-t7pash87.js → location-activity-r2wsw91e.js} +5 -5
  213. package/dist/chunks/{command-dzqgar42.js → location-activity-r322y1ma.js} +24 -24
  214. package/dist/chunks/{command-8p6hdx4a.js → location-activity-r46t4cz6.js} +50 -50
  215. package/dist/chunks/{command-5ysec52w.js → location-activity-r8tqkv0e.js} +24 -24
  216. package/dist/chunks/location-activity-r9mxrrsd.js +507 -0
  217. package/dist/chunks/{command-vyxeydcn.js → location-activity-raa6wmpj.js} +21 -21
  218. package/dist/chunks/{command-g8k5egew.js → location-activity-rcbgpb4r.js} +19 -19
  219. package/dist/chunks/{command-w9kg2djp.js → location-activity-rdnpkcaj.js} +19 -19
  220. package/dist/chunks/{command-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{command-t0xpt4yf.js → location-activity-regtqa0k.js} +25 -25
  222. package/dist/chunks/{command-1p07q0wb.js → location-activity-rkprpv83.js} +4 -4
  223. package/dist/chunks/{command-p7j22ek7.js → location-activity-s7jdknsc.js} +11 -11
  224. package/dist/chunks/{command-2r6ezsm1.js → location-activity-s7xe57j0.js} +18 -18
  225. package/dist/chunks/{command-tcdggtwa.js → location-activity-s9rg3eta.js} +20 -20
  226. package/dist/chunks/{command-1g734vay.js → location-activity-sfnhvteh.js} +18 -18
  227. package/dist/chunks/{command-yk71r04e.js → location-activity-sk4ctnjz.js} +20 -20
  228. package/dist/chunks/{command-jjc9h9gx.js → location-activity-sm7q614n.js} +10 -10
  229. package/dist/chunks/{command-s4x18w05.js → location-activity-sp1hxvt0.js} +1 -1
  230. package/dist/chunks/{command-fraeex00.js → location-activity-t74kfxm5.js} +5 -5
  231. package/dist/chunks/{command-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{command-tcezcvh9.js → location-activity-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{command-tdstcens.js → location-activity-tdstcens.js} +1 -1
  234. package/dist/chunks/{command-jewzahs7.js → location-activity-tfzngn12.js} +4 -4
  235. package/dist/chunks/{command-19vf66h0.js → location-activity-tkmwgdpd.js} +7 -7
  236. package/dist/chunks/{command-tvtrv512.js → location-activity-tvtrv512.js} +1 -1
  237. package/dist/chunks/{command-kpycjfkz.js → location-activity-twevnpth.js} +40 -40
  238. package/dist/chunks/{command-gjbqwzd2.js → location-activity-v31wc8m3.js} +46 -46
  239. package/dist/chunks/{command-mqafpt2f.js → location-activity-v9vs3966.js} +1 -1
  240. package/dist/chunks/{command-ykzc6cfj.js → location-activity-vantngra.js} +11 -11
  241. package/dist/chunks/{command-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
  242. package/dist/chunks/{command-3h2pgdn1.js → location-activity-vfarcj8v.js} +13 -13
  243. package/dist/chunks/{command-w7kn78ad.js → location-activity-vg61q99b.js} +32 -32
  244. package/dist/chunks/{command-j6q1cfcf.js → location-activity-vve92bbj.js} +7 -7
  245. package/dist/chunks/{command-vzcthcp8.js → location-activity-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{command-vzs5sf6e.js → location-activity-vzs5sf6e.js} +1 -1
  247. package/dist/chunks/{command-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{command-r7cqnzm4.js → location-activity-w7p1gzy6.js} +24 -24
  249. package/dist/chunks/{command-6p36spce.js → location-activity-w9tybd38.js} +9 -9
  250. package/dist/chunks/{command-1k3w44xe.js → location-activity-wd22x1ac.js} +27 -27
  251. package/dist/chunks/{command-wd87259q.js → location-activity-wd87259q.js} +1 -1
  252. package/dist/chunks/{command-rcj1qd62.js → location-activity-wkw0swf1.js} +74 -74
  253. package/dist/chunks/{command-tyq8797k.js → location-activity-wxtgkjpy.js} +40 -40
  254. package/dist/chunks/{command-k458ssz6.js → location-activity-wyc9ts9v.js} +17 -17
  255. package/dist/chunks/{command-x7va2pbz.js → location-activity-wyktqry7.js} +10 -10
  256. package/dist/chunks/{command-2vgzs72b.js → location-activity-wz5tj16h.js} +5 -5
  257. package/dist/chunks/{command-4xb4td9x.js → location-activity-x0jksney.js} +21 -21
  258. package/dist/chunks/{command-x1ezjp6w.js → location-activity-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{command-2ta6pfy2.js → location-activity-xgr1zbnh.js} +12 -12
  260. package/dist/chunks/{command-hk140s3y.js → location-activity-xq60nwxf.js} +22 -22
  261. package/dist/chunks/{command-5gydy8qd.js → location-activity-xvh8c9bc.js} +13 -13
  262. package/dist/chunks/{command-36pz7r0j.js → location-activity-y0yzcz58.js} +27 -27
  263. package/dist/chunks/{command-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{command-ak9msbxp.js → location-activity-y38ja4bc.js} +6 -6
  265. package/dist/chunks/{command-xezhsny9.js → location-activity-y5p0b48k.js} +3 -3
  266. package/dist/chunks/{command-sf4638mk.js → location-activity-y7fz84ff.js} +20 -20
  267. package/dist/chunks/{command-d8xd8q6j.js → location-activity-y7jk5301.js} +13 -13
  268. package/dist/chunks/{command-s4b4q9yc.js → location-activity-y90p0pz1.js} +20 -20
  269. package/dist/chunks/{command-rpabj4tm.js → location-activity-y9wkp7y4.js} +15 -15
  270. package/dist/chunks/{command-edgjk5pb.js → location-activity-ycse678a.js} +15 -15
  271. package/dist/chunks/{command-9x57qh30.js → location-activity-ydzw58ph.js} +18 -18
  272. package/dist/chunks/{command-phsdeme5.js → location-activity-ye6hvepj.js} +18 -18
  273. package/dist/chunks/{command-1acjjqhc.js → location-activity-yp2x3t23.js} +4 -4
  274. package/dist/chunks/{command-brbc9hym.js → location-activity-ypczpx3e.js} +17 -17
  275. package/dist/chunks/{command-yrhqyw5v.js → location-activity-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{command-s4enseaf.js → location-activity-yrznvahk.js} +2 -2
  277. package/dist/chunks/{command-fmsg4ra7.js → location-activity-ystbhy0h.js} +29 -29
  278. package/dist/chunks/{command-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{command-1awajp9d.js → location-activity-z5v99h50.js} +8 -8
  280. package/dist/chunks/{command-29x78va6.js → location-activity-z63w68vq.js} +6 -6
  281. package/dist/chunks/{command-52tmng8s.js → location-activity-z6makp0e.js} +23 -23
  282. package/dist/chunks/{command-jc8cd7se.js → location-activity-z6nst2md.js} +7 -7
  283. package/dist/chunks/{command-81pgz9gn.js → location-activity-z966pbtj.js} +5 -5
  284. package/dist/chunks/{command-3ce9fkjd.js → location-activity-zd8paa4v.js} +17 -17
  285. package/dist/chunks/{command-zeh9ct20.js → location-activity-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{command-a4jz5h7x.js → location-activity-zm7ccgde.js} +20 -20
  287. package/dist/chunks/{command-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{command-1p8321re.js → location-activity-ztweh0jg.js} +4 -4
  289. package/dist/chunks/{command-ks2axvh4.js → location-activity-zvnak894.js} +18 -18
  290. package/dist/chunks/{command-rw4kw2hm.js → location-activity-zvsgve89.js} +6 -6
  291. package/dist/chunks/{command-55149hb6.js → location-activity-zwg4j557.js} +19 -19
  292. package/dist/chunks/{command-m6bfk4mw.js → location-activity-zxbtycr0.js} +19 -19
  293. package/dist/chunks/{command-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +11 -11
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +81 -81
  299. package/dist/config/discovery.js +82 -82
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +123 -123
  303. package/dist/config/plugin/command.js +213 -213
  304. package/dist/config/plugin/compaction.js +161 -161
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +123 -123
  311. package/dist/config/plugin/mcp.js +130 -130
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +123 -123
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +142 -142
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +120 -120
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +122 -122
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +128 -128
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +83 -83
  328. package/dist/database/database.js +70 -70
  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.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +79 -79
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +372 -372
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +3 -3
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +95 -95
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +74 -74
  418. package/dist/file-access.js +104 -104
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +226 -226
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +103 -103
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +15 -15
  432. package/dist/filesystem.js +104 -104
  433. package/dist/form.js +80 -80
  434. package/dist/formatter/builtins.js +2 -2
  435. package/dist/formatter.js +89 -89
  436. package/dist/generate.js +105 -105
  437. package/dist/git.js +10 -10
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +99 -99
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +85 -85
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +5 -5
  465. package/dist/integration/connection.js +1 -1
  466. package/dist/integration.js +85 -85
  467. package/dist/job.js +79 -79
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +135 -135
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +360 -360
  474. package/dist/location.js +85 -85
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +109 -109
  478. package/dist/mcp/instructions.js +129 -129
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +98 -98
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +80 -80
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +111 -111
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +88 -88
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +100 -100
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +219 -219
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +335 -335
  502. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +7 -7
  505. package/dist/plugin/optimize.js +2 -2
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +122 -122
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/chatgpt.js +93 -93
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +95 -95
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +78 -78
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +120 -120
  529. package/dist/plugin/provider/openai.js +93 -93
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +79 -79
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +120 -120
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +163 -163
  544. package/dist/plugin/sdk.js +74 -74
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +350 -350
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/verbosity.js +93 -93
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +6 -6
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +4 -4
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +6 -6
  562. package/dist/plugin.js +230 -230
  563. package/dist/project/schema.js +4 -4
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +84 -84
  566. package/dist/provider.js +97 -97
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +97 -97
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +89 -89
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +95 -95
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +133 -133
  581. package/dist/session/context.js +153 -153
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +5 -5
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +225 -225
  587. package/dist/session/execution.js +126 -126
  588. package/dist/session/generate.js +154 -154
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +86 -86
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +79 -79
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +4 -4
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +120 -120
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +232 -232
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +2 -2
  611. package/dist/session/runner/step.js +124 -124
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +3 -3
  614. package/dist/session/session.js +172 -172
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +75 -75
  619. package/dist/session/store.js +85 -85
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +209 -209
  622. package/dist/session/system-prompt.js +3 -3
  623. package/dist/session/title.js +155 -155
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +222 -222
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +215 -215
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +13 -13
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +105 -105
  635. package/dist/skill.js +110 -110
  636. package/dist/snapshot.js +91 -91
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +128 -128
  641. package/dist/tool/plugin/edit.js +120 -120
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +120 -120
  644. package/dist/tool/plugin/grep.js +120 -120
  645. package/dist/tool/plugin/mcp-resource.js +117 -117
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +120 -120
  648. package/dist/tool/plugin/question.js +103 -103
  649. package/dist/tool/plugin/read.js +123 -123
  650. package/dist/tool/plugin/shell.js +216 -216
  651. package/dist/tool/plugin/skill.js +113 -113
  652. package/dist/tool/plugin/subagent.js +220 -220
  653. package/dist/tool/plugin/webfetch.js +110 -110
  654. package/dist/tool/plugin/websearch.js +110 -110
  655. package/dist/tool/plugin/write.js +120 -120
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +12 -12
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +7 -7
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +5 -5
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +4 -4
  674. package/dist/v1/config/formatter.js +7 -7
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +5 -5
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +7 -7
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +93 -93
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +80 -80
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +81 -81
  692. package/dist/workspace/driver.js +5 -5
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +76 -76
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +10 -10
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +96 -96
  700. package/package.json +8 -8
  701. package/dist/chunks/command-achjr09z.js +0 -26
  702. package/dist/chunks/command-ht5y0zrb.js +0 -18
  703. package/dist/chunks/command-mp2jdty2.js +0 -252
  704. package/dist/chunks/command-vtyptmt5.js +0 -507
  705. /package/dist/chunks/{command-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{command-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{command-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{command-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{command-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{command-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{command-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{command-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{command-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{command-34c7v6d4.js → location-activity-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{command-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{command-3asan66x.js → location-activity-3asan66x.js} +0 -0
  717. /package/dist/chunks/{command-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{command-3w5fmr99.js → location-activity-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{command-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{command-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{command-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{command-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{command-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{command-53557ph1.js → location-activity-53557ph1.js} +0 -0
  725. /package/dist/chunks/{command-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{command-6prwharc.js → location-activity-6prwharc.js} +0 -0
  727. /package/dist/chunks/{command-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{command-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{command-822emrt2.js → location-activity-822emrt2.js} +0 -0
  730. /package/dist/chunks/{command-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{command-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{command-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{command-922hggd3.js → location-activity-922hggd3.js} +0 -0
  734. /package/dist/chunks/{command-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{command-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{command-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{command-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{command-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{command-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{command-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{command-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{command-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{command-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{command-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{command-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{command-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{command-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{command-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{command-df08tz66.js → location-activity-df08tz66.js} +0 -0
  750. /package/dist/chunks/{command-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{command-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{command-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{command-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{command-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{command-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{command-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{command-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{command-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{command-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{command-fxgpk5d8.js → location-activity-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{command-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{command-g86h250q.js → location-activity-g86h250q.js} +0 -0
  763. /package/dist/chunks/{command-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{command-gftt206x.js → location-activity-gftt206x.js} +0 -0
  765. /package/dist/chunks/{command-hjbc5kem.js → location-activity-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{command-hk9envan.js → location-activity-hk9envan.js} +0 -0
  767. /package/dist/chunks/{command-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{command-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{command-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{command-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{command-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{command-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{command-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{command-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{command-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{command-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{command-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{command-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{command-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{command-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{command-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{command-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{command-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{command-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{command-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{command-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{command-sk3qaz4a.js → location-activity-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{command-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{command-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{command-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{command-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{command-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{command-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{command-x61499pn.js → location-activity-x61499pn.js} +0 -0
  795. /package/dist/chunks/{command-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{command-y8cydn3q.js → location-activity-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{command-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{command-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{command-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{command-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service56
3
- } from "./command-ga3d7eyp.js";
2
+ Service63
3
+ } from "./location-activity-13m3jm1s.js";
4
4
  import {
5
- ID4,
5
+ ID3,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service40
10
- } from "./command-0tsnk9s4.js";
9
+ Service28
10
+ } from "./location-activity-gmf3x8bs.js";
11
11
  import {
12
12
  __export
13
- } from "./command-9rqn6x4v.js";
13
+ } from "./location-activity-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
- var exports_skill2 = {};
17
- __export(exports_skill2, {
18
- Input: () => Input6,
19
- Output: () => Output6,
20
- Plugin: () => Plugin25,
21
- SkillTool: () => exports_skill2,
22
- description: () => description3,
23
- name: () => name6,
16
+ var exports_skill3 = {};
17
+ __export(exports_skill3, {
18
+ Input: () => Input2,
19
+ Output: () => Output2,
20
+ Plugin: () => Plugin36,
21
+ SkillTool: () => exports_skill3,
22
+ description: () => description2,
23
+ name: () => name2,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name6 = "skill";
30
- var Input6 = Schema.Struct({
31
- id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
29
+ var name2 = "skill";
30
+ var Input2 = Schema.Struct({
31
+ id: ID3.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output6 = Schema.Struct({
33
+ var Output2 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
37
37
  });
38
- var description3 = [
38
+ var description2 = [
39
39
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
40
40
  "",
41
41
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -43,25 +43,25 @@ var description3 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin25 = {
46
+ var Plugin36 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service40;
51
- const permission = yield* Service56;
50
+ const skills = yield* Service28;
51
+ const permission = yield* Service63;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name6,
53
+ name: name2,
54
54
  options: { codemode: false },
55
- description: description3,
56
- input: Input6,
57
- output: Output6,
55
+ description: description2,
56
+ input: Input2,
57
+ output: Output2,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name6,
64
+ action: name2,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin25 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name6, Input6, Output6, description3, toModelOutput2, Plugin25, exports_skill2 };
82
+ export { name2, Input2, Output2, description2, toModelOutput2, Plugin36, exports_skill3 };
@@ -1,35 +1,35 @@
1
1
  import {
2
- Service73
3
- } from "./command-9bye45vx.js";
2
+ Service76
3
+ } from "./location-activity-4vzdpms5.js";
4
4
  import {
5
- Service56
6
- } from "./command-ga3d7eyp.js";
5
+ Service63
6
+ } from "./location-activity-13m3jm1s.js";
7
7
  import {
8
8
  ID5,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service49
14
- } from "./command-mmeqzzre.js";
13
+ Service51
14
+ } from "./location-activity-chsg2cca.js";
15
15
  import {
16
16
  __export
17
- } from "./command-9rqn6x4v.js";
17
+ } from "./location-activity-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
20
  var exports_websearch2 = {};
21
21
  __export(exports_websearch2, {
22
- Input: () => Input12,
22
+ Input: () => Input7,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin33,
24
+ Plugin: () => Plugin41,
25
25
  WebSearchTool: () => exports_websearch2,
26
26
  description: () => description5,
27
- name: () => name12
27
+ name: () => name7
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name12 = "websearch";
32
+ var name7 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
@@ -39,28 +39,28 @@ var httpErrors = new Map([
39
39
  var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input12 = Schema.Struct({
42
+ var Input7 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
46
  provider: ID5,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin33 = {
49
+ var Plugin41 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service56;
53
- const forms = yield* Service73;
54
- const websearch = yield* Service49;
52
+ const permission = yield* Service63;
53
+ const forms = yield* Service76;
54
+ const websearch = yield* Service51;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name12,
56
+ name: name7,
57
57
  options: { codemode: false },
58
58
  description: description5,
59
- input: Input12,
59
+ input: Input7,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name12,
63
+ action: name7,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name12];
179
+ delete event.tools[name7];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name12, NO_RESULTS2, description5, Input12, Plugin33, exports_websearch2 };
187
+ export { name7, NO_RESULTS2, description5, Input7, Plugin41, exports_websearch2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./command-wwm9drsm.js";
3
+ } from "./location-activity-40dbptmr.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./command-mfz89tqk.js";
6
+ } from "./location-activity-f5f62g8d.js";
7
7
  import {
8
8
  __export
9
- } from "./command-9rqn6x4v.js";
9
+ } from "./location-activity-9rqn6x4v.js";
10
10
 
11
11
  // src/variant.ts
12
12
  var exports_variant = {};
13
13
  __export(exports_variant, {
14
14
  Variant: () => exports_variant,
15
- resolve: () => resolve2
15
+ resolve: () => resolve4
16
16
  });
17
- function resolve2(model, supports = [{ type: "effort" }]) {
17
+ function resolve4(model, supports = [{ type: "effort" }]) {
18
18
  const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
19
19
  if (!protocol)
20
20
  return [];
@@ -509,4 +509,4 @@ var PROTOCOLS = {
509
509
  [aisdk2("@ai-sdk/cohere")]: cohere
510
510
  };
511
511
 
512
- export { resolve2, exports_variant };
512
+ export { resolve4, exports_variant };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./command-17zy7cfp.js";
2
+ Service82,
3
+ node86
4
+ } from "./location-activity-p4ba9kby.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./command-bq6be9me.js";
6
+ Service79,
7
+ node83
8
+ } from "./location-activity-1e8xy3zp.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./command-ec1grn59.js";
11
+ } from "./location-activity-ec1grn59.js";
12
12
  import {
13
- Service58,
14
- node61
15
- } from "./command-wbbwn8b4.js";
13
+ Service65,
14
+ node67
15
+ } from "./location-activity-p8zyjhbq.js";
16
16
  import {
17
17
  __export
18
- } from "./command-9rqn6x4v.js";
18
+ } from "./location-activity-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service12,
23
+ Service: () => Service9,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node14
25
+ node: () => node11
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service12 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service9 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service12, Effect.gen(function* () {
38
- const bus = yield* Service83;
37
+ var layer = Layer.effect(Service9, Effect.gen(function* () {
38
+ const bus = yield* Service82;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service58;
41
- const location = yield* Service80;
40
+ const store = yield* Service65;
41
+ const location = yield* Service79;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service12.of({ load });
87
+ return Service9.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node14 = makeLocationNode({
98
+ var node11 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node87, FSUtil.node, node84, node61]
101
+ deps: [node86, FSUtil.node, node83, node67]
102
102
  });
103
103
 
104
- export { Service12, node14, exports_instructions };
104
+ export { Service9, node11, exports_instructions };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./location-activity-9rqn6x4v.js";
4
4
 
5
5
  // src/tool/plugin/opencode.ts
6
6
  var exports_opencode = {};
@@ -8,7 +8,7 @@ __export(exports_opencode, {
8
8
  ModelsInput: () => ModelsInput2,
9
9
  MoveInput: () => MoveInput2,
10
10
  OpenCodeTools: () => exports_opencode,
11
- Plugin: () => Plugin29,
11
+ Plugin: () => Plugin43,
12
12
  RenameInput: () => RenameInput2
13
13
  });
14
14
  import { SystemPart, ToolFailure } from "@opencode/ai";
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
64
64
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
65
65
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
66
66
  });
67
- var Plugin29 = {
67
+ var Plugin43 = {
68
68
  id: "opencode.tools",
69
69
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
70
70
  const hook = (event) => Effect.sync(() => {
@@ -161,4 +161,4 @@ var Plugin29 = {
161
161
  })
162
162
  };
163
163
 
164
- export { RenameInput2, MoveInput2, ModelsInput2, Plugin29, exports_opencode };
164
+ export { RenameInput2, MoveInput2, ModelsInput2, Plugin43, exports_opencode };
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./command-tazgh4e4.js";
10
+ } from "./location-activity-tazgh4e4.js";
11
11
  import {
12
- Service80
13
- } from "./command-bq6be9me.js";
12
+ Service79
13
+ } from "./location-activity-1e8xy3zp.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./command-b06mxnn4.js";
16
+ } from "./location-activity-qacn8y7r.js";
17
17
  import {
18
18
  __export
19
- } from "./command-9rqn6x4v.js";
19
+ } from "./location-activity-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin35,
24
+ Plugin: () => Plugin26,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin35 = define({
33
+ var Plugin26 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service80;
36
+ const location = yield* Service79;
37
37
  if (location.vcs?.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
188
188
  return { status, diff, branch, ancestor, cat };
189
189
  }
190
190
 
191
- export { Plugin35, exports_hg };
191
+ export { Plugin26, exports_hg };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service83,
4
- node87
5
- } from "./command-17zy7cfp.js";
3
+ Service82,
4
+ node86
5
+ } from "./location-activity-p4ba9kby.js";
6
6
  import {
7
- Service70,
8
- node73
9
- } from "./command-d8xd8q6j.js";
7
+ Service69,
8
+ node72
9
+ } from "./location-activity-y7jk5301.js";
10
10
  import {
11
11
  __export
12
- } from "./command-9rqn6x4v.js";
12
+ } from "./location-activity-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event15,
19
+ Event: () => Event9,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service68,
22
+ Service: () => Service48,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node71,
26
- resolve: () => resolve4
25
+ node: () => node51,
26
+ resolve: () => resolve3
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ 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 Service48 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event15 = {
51
+ var Event9 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service68, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service70;
81
- const bus = yield* Service83;
80
+ const kv = yield* Service69;
81
+ const bus = yield* Service82;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
84
84
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event15.Updated, {});
112
+ yield* bus.publish(Event9.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service68.of({
115
+ return Service48.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event15.Updated, {});
128
+ yield* bus.publish(Event9.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event15.Updated, {});
141
+ yield* bus.publish(Event9.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node71 = makeGlobalNode({ service: Service68, layer, deps: [httpClient, node73, node87] });
146
+ var node51 = makeGlobalNode({ service: Service48, layer, deps: [httpClient, node72, node86] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service68, Event15, inspect2, resolve4, node71, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service48, Event9, inspect2, resolve3, node51, exports_wellknown };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2
4
- } from "./command-eyhtqccb.js";
4
+ } from "./location-activity-6xe4fgg8.js";
5
5
  import {
6
6
  CorrectedError2,
7
7
  BlockedError2
8
- } from "./command-ga3d7eyp.js";
8
+ } from "./location-activity-13m3jm1s.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./command-pppvxay8.js";
11
+ } from "./location-activity-c3nwvhvh.js";
12
12
  import {
13
13
  VariantUnavailableError2,
14
14
  UnsupportedPackageError2,
@@ -16,11 +16,11 @@ import {
16
16
  ModelInitializationError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./command-knpa7q1k.js";
19
+ } from "./location-activity-aq2adzr3.js";
20
20
  import {
21
21
  ModelNotSelectedError2,
22
22
  ModelUnavailableError2
23
- } from "./command-7cqkmc07.js";
23
+ } from "./location-activity-53hmgd1n.js";
24
24
 
25
25
  // src/session/to-session-error.ts
26
26
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./location-activity-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./command-qfa1cgps.js";
3
+ } from "./location-activity-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -4,28 +4,28 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./command-3w5fmr99.js";
7
+ } from "./location-activity-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./command-nzks3jc8.js";
11
+ } from "./location-activity-k3c624dm.js";
12
12
  import {
13
13
  create3
14
- } from "./command-rdw6cm16.js";
14
+ } from "./location-activity-rdw6cm16.js";
15
15
  import {
16
- Service42,
17
- node45
18
- } from "./command-3b9qt4hj.js";
16
+ Service54,
17
+ node57
18
+ } from "./location-activity-q0raz0xt.js";
19
19
  import {
20
- Service63,
21
- node66
22
- } from "./command-9jbvj98d.js";
20
+ Service67,
21
+ node69
22
+ } from "./location-activity-1gfgk62c.js";
23
23
  import {
24
24
  match2
25
- } from "./command-y1fvbwt7.js";
25
+ } from "./location-activity-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./command-9rqn6x4v.js";
28
+ } from "./location-activity-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
@@ -35,10 +35,10 @@ __export(exports_tool, {
35
35
  Error: () => Error3,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service41,
38
+ Service: () => Service53,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node44
41
+ node: () => node56
42
42
  });
43
43
  import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service41 extends Context.Service()("@opencode/Tool") {
54
+ class Service53 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service41, Effect.gen(function* () {
57
- const hooks = yield* Service63;
58
- const image = yield* Service42;
56
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
57
+ const hooks = yield* Service67;
58
+ const image = yield* Service54;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service41.of({
187
+ return Service53.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node44 = makeLocationNode({
277
- service: Service41,
276
+ var node56 = makeLocationNode({
277
+ service: Service53,
278
278
  layer,
279
- deps: [node66, node45]
279
+ deps: [node69, node57]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service41, node44, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service53, node56, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./location-activity-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./location-activity-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};