@opencode/core 0.0.0-dev-20472 → 0.0.0-dev-20480

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 (804) 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 +69 -69
  7. package/dist/chunks/{tool-p7t1r6rx.js → location-activity-0930v272.js} +3 -3
  8. package/dist/chunks/{tool-7zrcenrt.js → location-activity-0b06dnjj.js} +33 -33
  9. package/dist/chunks/{tool-6mz873gg.js → location-activity-0fve3x7k.js} +31 -31
  10. package/dist/chunks/{tool-q0xm7vwc.js → location-activity-0j77ygfz.js} +6 -6
  11. package/dist/chunks/{tool-16rtyza8.js → location-activity-0khjy9ec.js} +31 -31
  12. package/dist/chunks/{tool-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{tool-2xap9sjc.js → location-activity-0q0bn7wt.js} +26 -26
  14. package/dist/chunks/{tool-0vbcp93d.js → location-activity-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{tool-0h1m2r9k.js → location-activity-0ww7qdtd.js} +10 -10
  16. package/dist/chunks/{tool-d0w45w1g.js → location-activity-0zsbm5jj.js} +6 -6
  17. package/dist/chunks/{tool-h6nxw0pd.js → location-activity-10kh9wpp.js} +6 -6
  18. package/dist/chunks/{tool-zepa019x.js → location-activity-116zdfxn.js} +14 -14
  19. package/dist/chunks/{tool-g9xjst3r.js → location-activity-14mdsyfv.js} +21 -21
  20. package/dist/chunks/{tool-35nvda3r.js → location-activity-182h7z1q.js} +24 -24
  21. package/dist/chunks/{tool-r4w453tt.js → location-activity-19rp02gw.js} +15 -15
  22. package/dist/chunks/{tool-tb0c9yyk.js → location-activity-1b3nhc4c.js} +21 -21
  23. package/dist/chunks/{tool-1dazxqgg.js → location-activity-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{tool-etpckvav.js → location-activity-1jktvbmr.js} +11 -11
  25. package/dist/chunks/{tool-jn6gv895.js → location-activity-28zek266.js} +20 -20
  26. package/dist/chunks/{tool-2a5m3afh.js → location-activity-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{tool-4ts7tf6z.js → location-activity-2ccvkpx1.js} +2 -2
  28. package/dist/chunks/{tool-ftynxttp.js → location-activity-2dnd7d20.js} +15 -15
  29. package/dist/chunks/{tool-var7mrn0.js → location-activity-2f0326dr.js} +54 -54
  30. package/dist/chunks/{tool-ekpgh6d5.js → location-activity-2g406fp5.js} +12 -12
  31. package/dist/chunks/{tool-pbcje335.js → location-activity-2jmxtyz7.js} +13 -13
  32. package/dist/chunks/{tool-xw2p2fks.js → location-activity-2k2r7q25.js} +15 -15
  33. package/dist/chunks/{tool-0jwsre1p.js → location-activity-2k8khapm.js} +5 -5
  34. package/dist/chunks/{tool-64mbz47k.js → location-activity-2nv2m7pf.js} +6 -6
  35. package/dist/chunks/{tool-150yg2gd.js → location-activity-2p623br6.js} +5 -5
  36. package/dist/chunks/{tool-2rwb967c.js → location-activity-2w99apfa.js} +36 -36
  37. package/dist/chunks/{tool-89fvn49q.js → location-activity-2wfefq25.js} +34 -34
  38. package/dist/chunks/{tool-90p59b3a.js → location-activity-2wts5qzq.js} +8 -8
  39. package/dist/chunks/{tool-5qwkxp89.js → location-activity-30krspkn.js} +4 -4
  40. package/dist/chunks/{tool-2tmdj2y2.js → location-activity-350srhaq.js} +44 -44
  41. package/dist/chunks/{tool-wxyynt4w.js → location-activity-3556dn8t.js} +1 -1
  42. package/dist/chunks/{tool-h2b79v29.js → location-activity-3cegwx68.js} +2 -2
  43. package/dist/chunks/{tool-je52f75z.js → location-activity-3cg47sj7.js} +10 -10
  44. package/dist/chunks/{tool-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{tool-jcws1aax.js → location-activity-3fwjzrvh.js} +28 -28
  46. package/dist/chunks/{tool-39087s82.js → location-activity-3h2r7n3c.js} +5 -5
  47. package/dist/chunks/{tool-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{tool-46j8w8vf.js → location-activity-3nmmjeqr.js} +15 -15
  49. package/dist/chunks/{tool-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{tool-7z0hsedk.js → location-activity-3t1wp6p2.js} +10 -10
  51. package/dist/chunks/{tool-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{tool-3zsf4n22.js → location-activity-3zsf4n22.js} +1 -1
  53. package/dist/chunks/{tool-kxcd4fwb.js → location-activity-4de0x2wn.js} +5 -5
  54. package/dist/chunks/{tool-d6x8wjh2.js → location-activity-4hn8epdp.js} +37 -37
  55. package/dist/chunks/{tool-fnyka1s1.js → location-activity-4q9xksy6.js} +7 -7
  56. package/dist/chunks/{tool-s73kxs4y.js → location-activity-4rrx6bfz.js} +27 -27
  57. package/dist/chunks/{tool-rh254cas.js → location-activity-4s3tx91s.js} +24 -24
  58. package/dist/chunks/location-activity-4v7qdvcn.js +18 -0
  59. package/dist/chunks/{tool-sjgd5m2j.js → location-activity-4vp2zkv1.js} +9 -9
  60. package/dist/chunks/{tool-fxp95myf.js → location-activity-4w4aa4w4.js} +17 -17
  61. package/dist/chunks/{tool-xagah8e0.js → location-activity-4y69q3w9.js} +5 -5
  62. package/dist/chunks/{tool-gw7cjrad.js → location-activity-4z58m4b4.js} +4 -4
  63. package/dist/chunks/{tool-h8jdcdjx.js → location-activity-525retpn.js} +13 -13
  64. package/dist/chunks/{tool-x6kcbe24.js → location-activity-53sad93v.js} +6 -6
  65. package/dist/chunks/{tool-54ma36ye.js → location-activity-54ma36ye.js} +1 -1
  66. package/dist/chunks/{tool-d1mxnk9b.js → location-activity-567pkxz1.js} +5 -5
  67. package/dist/chunks/{tool-emd75jk3.js → location-activity-5824vx86.js} +11 -11
  68. package/dist/chunks/{tool-k3xmg675.js → location-activity-59g0s8dr.js} +16 -16
  69. package/dist/chunks/{tool-xvfphvy7.js → location-activity-5c258t51.js} +42 -42
  70. package/dist/chunks/{tool-mpcan42b.js → location-activity-5cd0f864.js} +9 -9
  71. package/dist/chunks/{tool-5daktx2q.js → location-activity-5daktx2q.js} +1 -1
  72. package/dist/chunks/{tool-q0vx6mrg.js → location-activity-5sfjawpw.js} +11 -11
  73. package/dist/chunks/{tool-1m5kq2rb.js → location-activity-5shwkg68.js} +6 -6
  74. package/dist/chunks/{tool-5t3nmthw.js → location-activity-5t3nmthw.js} +2 -2
  75. package/dist/chunks/{tool-gvv136sf.js → location-activity-5vx9e22b.js} +24 -132
  76. package/dist/chunks/{tool-rtsswkxs.js → location-activity-5wj0gyf6.js} +11 -11
  77. package/dist/chunks/{tool-rg7q0c5m.js → location-activity-5z2nh3x1.js} +23 -23
  78. package/dist/chunks/{tool-w3nq1sqw.js → location-activity-63kpjth9.js} +9 -9
  79. package/dist/chunks/{tool-3r13hppx.js → location-activity-656t1bz5.js} +2 -2
  80. package/dist/chunks/{tool-669tq793.js → location-activity-669tq793.js} +1 -1
  81. package/dist/chunks/{tool-7vd0q4gx.js → location-activity-699ws4wq.js} +18 -18
  82. package/dist/chunks/{tool-bnfyw5ja.js → location-activity-6mhjx4b6.js} +4 -4
  83. package/dist/chunks/{tool-a3wk7f1b.js → location-activity-6r3g6dz6.js} +30 -30
  84. package/dist/chunks/{tool-0gtjmwnv.js → location-activity-74ksxchy.js} +32 -32
  85. package/dist/chunks/{tool-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
  86. package/dist/chunks/{tool-kkbh4h1z.js → location-activity-7qw5pe6x.js} +20 -20
  87. package/dist/chunks/{tool-n9p5arwt.js → location-activity-7y5xt9fp.js} +24 -24
  88. package/dist/chunks/{tool-3hqn980y.js → location-activity-82m24mh1.js} +24 -24
  89. package/dist/chunks/{tool-1dvck2a7.js → location-activity-84h8c373.js} +2 -2
  90. package/dist/chunks/{tool-84txncab.js → location-activity-84txncab.js} +1 -1
  91. package/dist/chunks/{tool-5hsj21bq.js → location-activity-85bcdz65.js} +16 -16
  92. package/dist/chunks/{tool-5hjzwc51.js → location-activity-8767ctf1.js} +26 -26
  93. package/dist/chunks/{tool-3vddgz3b.js → location-activity-89za3yyg.js} +7 -7
  94. package/dist/chunks/{tool-hvb31e4h.js → location-activity-8bm8gygk.js} +17 -17
  95. package/dist/chunks/{tool-8d7r5vzw.js → location-activity-8d7r5vzw.js} +1 -1
  96. package/dist/chunks/{tool-2vs2nh1n.js → location-activity-8gxqpgph.js} +4 -4
  97. package/dist/chunks/{tool-nzk3n54h.js → location-activity-8mk23zt3.js} +19 -19
  98. package/dist/chunks/{tool-8sbrsbjz.js → location-activity-8s0hbtb0.js} +29 -29
  99. package/dist/chunks/{tool-cfsekr6v.js → location-activity-8sze2n9a.js} +6 -6
  100. package/dist/chunks/{tool-p2fthcwt.js → location-activity-9fcaedt7.js} +8 -8
  101. package/dist/chunks/{tool-5yzzbxa7.js → location-activity-9hn6k4tm.js} +8 -8
  102. package/dist/chunks/{tool-xdf1fj3c.js → location-activity-9ncrd2s7.js} +30 -30
  103. package/dist/chunks/{tool-0ma4vy4p.js → location-activity-9q5tzmyt.js} +4 -4
  104. package/dist/chunks/{tool-89t0bv35.js → location-activity-9xtpzk6w.js} +88 -88
  105. package/dist/chunks/{tool-j255ygs0.js → location-activity-9zdzxtry.js} +18 -18
  106. package/dist/chunks/{tool-vqzmbesx.js → location-activity-9zv23tyg.js} +9 -9
  107. package/dist/chunks/{tool-aaet6srn.js → location-activity-aaet6srn.js} +2 -2
  108. package/dist/chunks/{tool-55n934x1.js → location-activity-adcymw1a.js} +18 -18
  109. package/dist/chunks/{tool-xa1b8akp.js → location-activity-adght6x0.js} +20 -20
  110. package/dist/chunks/{tool-3ym878v0.js → location-activity-adr463s0.js} +21 -21
  111. package/dist/chunks/{tool-hva7ke4f.js → location-activity-agk43xgf.js} +20 -20
  112. package/dist/chunks/{tool-sg9xgrkp.js → location-activity-ah6q2b7n.js} +4 -4
  113. package/dist/chunks/{tool-n2ckjg3g.js → location-activity-ajc4e5h8.js} +22 -22
  114. package/dist/chunks/{tool-6f0yry1r.js → location-activity-b24eg6ry.js} +25 -25
  115. package/dist/chunks/{tool-6hh8tjw2.js → location-activity-b27vhd2z.js} +4 -4
  116. package/dist/chunks/{tool-sb3r03a7.js → location-activity-b2yqmgr8.js} +27 -27
  117. package/dist/chunks/{tool-scgrse2b.js → location-activity-b3f8fkhc.js} +5 -5
  118. package/dist/chunks/{tool-b6gygkdw.js → location-activity-b6gygkdw.js} +2 -2
  119. package/dist/chunks/{tool-bzchk968.js → location-activity-bcyfx9y6.js} +15 -15
  120. package/dist/chunks/{tool-n5w4zgy3.js → location-activity-bdn2jqxx.js} +8 -8
  121. package/dist/chunks/{tool-rbch4nfr.js → location-activity-bp279rdz.js} +28 -28
  122. package/dist/chunks/{tool-zkd6xqbv.js → location-activity-c0j408pk.js} +1 -1
  123. package/dist/chunks/{tool-jad3eb5n.js → location-activity-c1gcx4p7.js} +3 -3
  124. package/dist/chunks/{tool-grq1sczm.js → location-activity-c2xhvt6h.js} +11 -11
  125. package/dist/chunks/{tool-4ve89d8e.js → location-activity-ca8f65ss.js} +6 -6
  126. package/dist/chunks/{tool-4gtnaf1q.js → location-activity-caseqyrv.js} +20 -20
  127. package/dist/chunks/{tool-nas0hrdm.js → location-activity-ce4acjxh.js} +29 -29
  128. package/dist/chunks/{tool-qkfezwh6.js → location-activity-chrxq3ex.js} +14 -14
  129. package/dist/chunks/{tool-vx3qjymf.js → location-activity-ck5rgqrb.js} +85 -85
  130. package/dist/chunks/{tool-djszqvmq.js → location-activity-cpneeje0.js} +9 -9
  131. package/dist/chunks/{tool-qcjxs7e0.js → location-activity-cywz34g8.js} +26 -26
  132. package/dist/chunks/{tool-b8svndy5.js → location-activity-d4xa2c0j.js} +15 -15
  133. package/dist/chunks/{tool-5spq5w86.js → location-activity-da11rmvm.js} +32 -32
  134. package/dist/chunks/{tool-zb7rsj08.js → location-activity-dbwd59jn.js} +28 -39
  135. package/dist/chunks/{tool-ndknajfb.js → location-activity-dc9hv6dn.js} +28 -28
  136. package/dist/chunks/{tool-mp1xsmy4.js → location-activity-devvhrfz.js} +11 -11
  137. package/dist/chunks/{tool-a5my4mnh.js → location-activity-dezvg7mv.js} +34 -34
  138. package/dist/chunks/{tool-xkntkrq7.js → location-activity-dmqcgk4z.js} +5 -5
  139. package/dist/chunks/{tool-dxjv2ykb.js → location-activity-dmvmn2q0.js} +17 -17
  140. package/dist/chunks/{tool-53eqz1v2.js → location-activity-drnf6xwf.js} +2 -2
  141. package/dist/chunks/{tool-4mwpykj0.js → location-activity-dzse07y5.js} +6 -6
  142. package/dist/chunks/{tool-5qd3pb7m.js → location-activity-e3qxr5gk.js} +2 -2
  143. package/dist/chunks/{tool-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
  144. package/dist/chunks/{tool-rnk9zdcq.js → location-activity-ekssatwp.js} +35 -35
  145. package/dist/chunks/{tool-7wnkabmt.js → location-activity-ep44p4pe.js} +12 -12
  146. package/dist/chunks/{tool-etq0c3wd.js → location-activity-etq0c3wd.js} +1 -1
  147. package/dist/chunks/{tool-367tnyhe.js → location-activity-f191dgah.js} +15 -15
  148. package/dist/chunks/{tool-4h10ah5b.js → location-activity-f3d5htwy.js} +8 -8
  149. package/dist/chunks/{tool-cxhqznm4.js → location-activity-f47cg35j.js} +28 -28
  150. package/dist/chunks/{tool-71az546q.js → location-activity-f75zav2x.js} +2 -2
  151. package/dist/chunks/{tool-qhyrk8n4.js → location-activity-f8r3hpen.js} +11 -11
  152. package/dist/chunks/{tool-ze55f0m3.js → location-activity-g4je1hn3.js} +22 -22
  153. package/dist/chunks/{tool-rvwqj9y7.js → location-activity-g8eyt1hc.js} +47 -47
  154. package/dist/chunks/{tool-fw3dky2w.js → location-activity-gd1at56q.js} +25 -25
  155. package/dist/chunks/{tool-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{tool-8efxrb1d.js → location-activity-gda1r8ym.js} +5 -5
  157. package/dist/chunks/{tool-qws6d5dh.js → location-activity-h1yvt719.js} +18 -18
  158. package/dist/chunks/{tool-p9dad75k.js → location-activity-h35v9yb6.js} +44 -44
  159. package/dist/chunks/{tool-v9k40k21.js → location-activity-h4khw5px.js} +11 -11
  160. package/dist/chunks/{tool-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{tool-pg6zqtd0.js → location-activity-hfgdd62m.js} +3 -3
  162. package/dist/chunks/{tool-kn3m44fm.js → location-activity-hge028m4.js} +5 -5
  163. package/dist/chunks/{tool-59376ey9.js → location-activity-hntbmpkd.js} +11 -11
  164. package/dist/chunks/{tool-1egym0t3.js → location-activity-hrhhvsst.js} +38 -38
  165. package/dist/chunks/{tool-frna90m0.js → location-activity-hvp92dt9.js} +15 -15
  166. package/dist/chunks/{tool-bxy1ctzg.js → location-activity-hwrcrf3c.js} +11 -11
  167. package/dist/chunks/{tool-73tb2d7t.js → location-activity-j028xdjb.js} +3 -3
  168. package/dist/chunks/{tool-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
  169. package/dist/chunks/{tool-0psyspmj.js → location-activity-jdxg69hq.js} +13 -13
  170. package/dist/chunks/{tool-sp2t3vey.js → location-activity-jf6pjsy2.js} +29 -29
  171. package/dist/chunks/{tool-f5gy8qwh.js → location-activity-k1qrnqst.js} +8 -8
  172. package/dist/chunks/{tool-b8y6m0vr.js → location-activity-k2dbp69f.js} +10 -10
  173. package/dist/chunks/{tool-h2fzzx8t.js → location-activity-k371y6r1.js} +6 -6
  174. package/dist/chunks/{tool-h85krvk7.js → location-activity-k6ehc7p5.js} +51 -51
  175. package/dist/chunks/{tool-7dkh56cg.js → location-activity-k9ncgs0h.js} +31 -31
  176. package/dist/chunks/{tool-9e5bzkjp.js → location-activity-kb9j3d72.js} +3 -3
  177. package/dist/chunks/{tool-gce79w0q.js → location-activity-kef0s52w.js} +15 -15
  178. package/dist/chunks/{tool-cq43qyqm.js → location-activity-kgnaaj8y.js} +17 -17
  179. package/dist/chunks/{tool-hv7gj7jm.js → location-activity-khw2gspr.js} +70 -70
  180. package/dist/chunks/{tool-m3fdjcah.js → location-activity-m3fdjcah.js} +1 -1
  181. package/dist/chunks/location-activity-m4mmr2p7.js +26 -0
  182. package/dist/chunks/{tool-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{tool-ev9z8jfx.js → location-activity-mbjkcgq4.js} +5 -5
  184. package/dist/chunks/{tool-8vg2w7m1.js → location-activity-mcm367ee.js} +3 -3
  185. package/dist/chunks/{tool-0vz2twak.js → location-activity-md6w79y2.js} +16 -16
  186. package/dist/chunks/{tool-pg4efk5v.js → location-activity-mdatewcv.js} +12 -12
  187. package/dist/chunks/{tool-33w4ejhs.js → location-activity-mfqp6xfm.js} +9 -9
  188. package/dist/chunks/{tool-yexd41ms.js → location-activity-mtjahv1a.js} +14 -14
  189. package/dist/chunks/{tool-93hpb89x.js → location-activity-my4zabxr.js} +3 -3
  190. package/dist/chunks/{tool-f4rymznk.js → location-activity-n11r83wc.js} +13 -13
  191. package/dist/chunks/{tool-tzhbwgz4.js → location-activity-n2nn37za.js} +35 -35
  192. package/dist/chunks/{tool-3q5heb5a.js → location-activity-n6125c2f.js} +1 -1
  193. package/dist/chunks/{tool-apw32n9p.js → location-activity-n6nrhf01.js} +35 -35
  194. package/dist/chunks/{tool-8a6ws7jr.js → location-activity-n8sna2wb.js} +9 -9
  195. package/dist/chunks/{tool-mx83wbf3.js → location-activity-nfg6fefr.js} +9 -9
  196. package/dist/chunks/{tool-f3y2xgd9.js → location-activity-nh29y208.js} +19 -19
  197. package/dist/chunks/{tool-5rrd0wgj.js → location-activity-nsc4cbcy.js} +4 -4
  198. package/dist/chunks/{tool-dpkg50ah.js → location-activity-nxm207yx.js} +4 -4
  199. package/dist/chunks/{tool-a2954sdm.js → location-activity-p1h07j1p.js} +20 -20
  200. package/dist/chunks/{tool-k2h4r4s0.js → location-activity-p51p3jcg.js} +21 -21
  201. package/dist/chunks/{tool-wk3n8732.js → location-activity-p9esxrs0.js} +5 -5
  202. package/dist/chunks/{tool-jgb1x1d9.js → location-activity-pde12nfv.js} +48 -48
  203. package/dist/chunks/{tool-0xvj5dy1.js → location-activity-pg2wvq8g.js} +10 -10
  204. package/dist/chunks/{tool-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{tool-pknna89w.js → location-activity-pknna89w.js} +1 -1
  206. package/dist/chunks/location-activity-pz5pawm5.js +507 -0
  207. package/dist/chunks/{tool-9eyjn78q.js → location-activity-qd4eqyk6.js} +32 -32
  208. package/dist/chunks/{tool-83zz9by4.js → location-activity-qebx1f20.js} +10 -10
  209. package/dist/chunks/{tool-qnc92qwc.js → location-activity-qnc92qwc.js} +1 -1
  210. package/dist/chunks/{tool-5sb33w33.js → location-activity-qpjqjx5f.js} +5 -5
  211. package/dist/chunks/{tool-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
  212. package/dist/chunks/{tool-at1kfnmk.js → location-activity-qwjmgwmn.js} +8 -8
  213. package/dist/chunks/{tool-xyafkbt0.js → location-activity-qxjc9qry.js} +3 -3
  214. package/dist/chunks/{tool-1acjjqhc.js → location-activity-r8xr0va3.js} +4 -4
  215. package/dist/chunks/{tool-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{tool-dq6jrfnm.js → location-activity-rge4jpvb.js} +12 -12
  217. package/dist/chunks/{tool-azvg6g4c.js → location-activity-rjjes25b.js} +9 -9
  218. package/dist/chunks/{tool-56r9g34b.js → location-activity-rm6495e7.js} +20 -20
  219. package/dist/chunks/{tool-3ensxc03.js → location-activity-rvevwjzn.js} +16 -16
  220. package/dist/chunks/{tool-vn72gsba.js → location-activity-rx9ava5n.js} +4 -4
  221. package/dist/chunks/{tool-xf69e5gb.js → location-activity-s7b7m8gm.js} +8 -8
  222. package/dist/chunks/{tool-9t7a50xb.js → location-activity-s8d7rejh.js} +4 -4
  223. package/dist/chunks/{tool-8nykf3n3.js → location-activity-snj9ksdw.js} +22 -22
  224. package/dist/chunks/{tool-0wt4yx46.js → location-activity-sy19eeqe.js} +3 -3
  225. package/dist/chunks/{tool-rx58ztr1.js → location-activity-sy448gmp.js} +7 -7
  226. package/dist/chunks/{tool-6f1n1136.js → location-activity-t0cz011w.js} +23 -23
  227. package/dist/chunks/{tool-4xh45ynr.js → location-activity-t6hpw5rz.js} +13 -13
  228. package/dist/chunks/{tool-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{tool-17e7mjev.js → location-activity-tbd6cyzm.js} +9 -9
  230. package/dist/chunks/{tool-tcezcvh9.js → location-activity-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{tool-tdstcens.js → location-activity-tdstcens.js} +1 -1
  232. package/dist/chunks/{tool-4pf9cp6z.js → location-activity-v0a4cbca.js} +11 -11
  233. package/dist/chunks/{tool-adrzke39.js → location-activity-v0es1rhs.js} +9 -9
  234. package/dist/chunks/{tool-3dxcfbvg.js → location-activity-v6eddqm0.js} +8 -8
  235. package/dist/chunks/{tool-xhf2mpzw.js → location-activity-v7gwj56g.js} +20 -20
  236. package/dist/chunks/{tool-mydkh4yr.js → location-activity-vd3qs992.js} +24 -24
  237. package/dist/chunks/{tool-331jtpav.js → location-activity-vd5y62t1.js} +9 -9
  238. package/dist/chunks/{tool-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
  239. package/dist/chunks/{tool-vzcthcp8.js → location-activity-vzcthcp8.js} +1 -1
  240. package/dist/chunks/{tool-vzs5sf6e.js → location-activity-vzs5sf6e.js} +1 -1
  241. package/dist/chunks/{tool-tk14y25j.js → location-activity-w2h15q85.js} +5 -5
  242. package/dist/chunks/{tool-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{tool-6yrb0ee6.js → location-activity-w4mta7pp.js} +41 -41
  244. package/dist/chunks/location-activity-w7g85kp8.js +252 -0
  245. package/dist/chunks/{tool-wd87259q.js → location-activity-wd87259q.js} +1 -1
  246. package/dist/chunks/{tool-w9wcng5w.js → location-activity-wdpy1g7d.js} +12 -12
  247. package/dist/chunks/{tool-5dwsqdnn.js → location-activity-wfx1w319.js} +32 -32
  248. package/dist/chunks/{tool-g7xsht76.js → location-activity-wg68nafb.js} +11 -11
  249. package/dist/chunks/{tool-n5bh2s1p.js → location-activity-wg8gh26w.js} +21 -21
  250. package/dist/chunks/{tool-j0yek2qa.js → location-activity-wh506jg9.js} +23 -23
  251. package/dist/chunks/{tool-j92d0j7v.js → location-activity-wjmvb2fm.js} +36 -36
  252. package/dist/chunks/{tool-q4bnvgms.js → location-activity-wx8f0816.js} +186 -186
  253. package/dist/chunks/{tool-x1ezjp6w.js → location-activity-x1ezjp6w.js} +1 -1
  254. package/dist/chunks/{tool-mvzzranc.js → location-activity-x46ed3ah.js} +18 -18
  255. package/dist/chunks/{tool-068serwz.js → location-activity-x661k3y3.js} +4 -4
  256. package/dist/chunks/{tool-a694798e.js → location-activity-x6pyv2yz.js} +5 -5
  257. package/dist/chunks/{tool-g5w8qwbj.js → location-activity-xfkkasph.js} +4 -4
  258. package/dist/chunks/{tool-798nffs7.js → location-activity-xn17k1w9.js} +11 -11
  259. package/dist/chunks/{tool-2t0ky1d2.js → location-activity-xwd0acfk.js} +13 -13
  260. package/dist/chunks/{tool-6713qhv3.js → location-activity-xzjez30t.js} +3 -3
  261. package/dist/chunks/{tool-3sthn561.js → location-activity-y14bx9tm.js} +12 -12
  262. package/dist/chunks/{tool-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{tool-8aaqm6qj.js → location-activity-y1qqcj8h.js} +8 -8
  264. package/dist/chunks/{tool-w3v0pvk9.js → location-activity-y2jnyesm.js} +7 -7
  265. package/dist/chunks/{tool-hwzc49pr.js → location-activity-y51nd170.js} +20 -20
  266. package/dist/chunks/{tool-m028xtpq.js → location-activity-y99drxtg.js} +20 -20
  267. package/dist/chunks/{tool-n1edfwxj.js → location-activity-yb8n5v0q.js} +4 -4
  268. package/dist/chunks/{tool-72rw85ce.js → location-activity-yegmnrcf.js} +11 -11
  269. package/dist/chunks/{tool-01vj6crb.js → location-activity-yej8dt28.js} +11 -11
  270. package/dist/chunks/{tool-wpd1znwd.js → location-activity-yh2fg620.js} +14 -14
  271. package/dist/chunks/{tool-0q6e04md.js → location-activity-ym76d0d6.js} +44 -44
  272. package/dist/chunks/{tool-2ywzxrtj.js → location-activity-yqjd25qx.js} +46 -46
  273. package/dist/chunks/{tool-4nj4bn9q.js → location-activity-yr715y08.js} +9 -9
  274. package/dist/chunks/{tool-yrhqyw5v.js → location-activity-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{tool-s26hbv8p.js → location-activity-z0aj456m.js} +4 -4
  276. package/dist/chunks/{tool-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{tool-47jkzegy.js → location-activity-z6c3x22d.js} +5 -5
  278. package/dist/chunks/{tool-pjf8abb1.js → location-activity-z6rdb9sr.js} +16 -16
  279. package/dist/chunks/{tool-k3vbf9cz.js → location-activity-za490t17.js} +13 -13
  280. package/dist/chunks/{tool-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{tool-prwmz47j.js → location-activity-zrbtt2np.js} +11 -11
  282. package/dist/chunks/{tool-x2ywm3mq.js → location-activity-zsrdwez2.js} +10 -10
  283. package/dist/chunks/{tool-xv2d93bz.js → location-activity-zxj9yazw.js} +8 -8
  284. package/dist/chunks/{tool-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{tool-0xqyf95c.js → location-activity-zy43x3f1.js} +4 -4
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +9 -9
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +83 -83
  291. package/dist/config/discovery.js +82 -82
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +99 -106
  294. package/dist/config/plugin/agent.js +118 -125
  295. package/dist/config/plugin/command.js +207 -214
  296. package/dist/config/plugin/compaction.js +154 -161
  297. package/dist/config/plugin/compatibility.js +134 -141
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -124
  300. package/dist/config/plugin/image.js +116 -123
  301. package/dist/config/plugin/instruction.js +90 -90
  302. package/dist/config/plugin/location-watcher.js +118 -125
  303. package/dist/config/plugin/mcp.js +125 -132
  304. package/dist/config/plugin/policy.js +117 -124
  305. package/dist/config/plugin/provider.js +116 -123
  306. package/dist/config/plugin/reference.js +118 -125
  307. package/dist/config/plugin/shell.js +118 -125
  308. package/dist/config/plugin/skill-file.js +102 -102
  309. package/dist/config/plugin/skill.js +137 -144
  310. package/dist/config/plugin/snapshot.js +116 -123
  311. package/dist/config/plugin/source.js +119 -126
  312. package/dist/config/plugin/tool-output.js +117 -124
  313. package/dist/config/plugin/websearch.js +117 -124
  314. package/dist/config/plugin/worktree.js +118 -125
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +121 -128
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +81 -81
  320. package/dist/database/database.js +66 -66
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  385. package/dist/database/migration.gen.js +49 -49
  386. package/dist/database/migration.js +51 -51
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +76 -76
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +364 -371
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +93 -93
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +95 -95
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +70 -70
  410. package/dist/file-access.js +104 -104
  411. package/dist/file-mutation.js +94 -94
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +220 -227
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +101 -101
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +100 -100
  424. package/dist/form.js +82 -82
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +87 -87
  427. package/dist/generate.js +105 -105
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +91 -91
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +355 -362
  452. package/dist/instruction-discovery.js +85 -85
  453. package/dist/instructions/builtins.js +87 -87
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +89 -89
  457. package/dist/job.js +78 -78
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +73 -73
  460. package/dist/location-activity.js +131 -131
  461. package/dist/location-lifecycle.js +107 -107
  462. package/dist/location-service-map.js +86 -86
  463. package/dist/location-services.js +352 -359
  464. package/dist/location.js +89 -89
  465. package/dist/managed-policy.js +5 -5
  466. package/dist/mcp/client.js +91 -91
  467. package/dist/mcp/index.js +105 -105
  468. package/dist/mcp/instructions.js +125 -125
  469. package/dist/mcp/oauth.js +78 -78
  470. package/dist/mcp/stdio.js +90 -90
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +91 -91
  473. package/dist/model-resolver.js +98 -98
  474. package/dist/model.js +100 -100
  475. package/dist/models-dev.js +107 -107
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +82 -82
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +113 -113
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +90 -90
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +75 -75
  485. package/dist/plugin/agent.js +104 -104
  486. package/dist/plugin/command.js +100 -100
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +211 -218
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +327 -334
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +96 -96
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +102 -102
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  499. package/dist/plugin/provider/azure.js +117 -124
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +93 -93
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -120
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -121
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +112 -119
  506. package/dist/plugin/provider/digitalocean.js +93 -93
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +95 -95
  511. package/dist/plugin/provider/gitlab.js +93 -93
  512. package/dist/plugin/provider/google-vertex.js +90 -90
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +78 -78
  515. package/dist/plugin/provider/lmstudio.js +115 -122
  516. package/dist/plugin/provider/modal.js +92 -92
  517. package/dist/plugin/provider/nvidia.js +1 -1
  518. package/dist/plugin/provider/ollama.js +115 -122
  519. package/dist/plugin/provider/openai.js +95 -95
  520. package/dist/plugin/provider/opencode.js +96 -96
  521. package/dist/plugin/provider/openrouter.js +91 -91
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +79 -79
  524. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  525. package/dist/plugin/provider/sap-ai-core.js +91 -91
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +115 -122
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +90 -90
  530. package/dist/plugin/provider/vllm.js +115 -122
  531. package/dist/plugin/provider/xai.js +91 -91
  532. package/dist/plugin/provider/zenmux.js +1 -1
  533. package/dist/plugin/provider.js +156 -163
  534. package/dist/plugin/sdk.js +76 -76
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +132 -139
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +342 -349
  539. package/dist/plugin/tool-input-repair.js +4 -4
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/vcs/git.js +86 -86
  542. package/dist/plugin/vcs/hg.js +86 -86
  543. package/dist/plugin/verbosity.js +93 -93
  544. package/dist/plugin/warming.js +114 -121
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +6 -6
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +222 -229
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +90 -90
  556. package/dist/provider.js +101 -101
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +95 -95
  560. package/dist/reference/instructions.js +89 -89
  561. package/dist/reference.js +87 -87
  562. package/dist/repository-cache.js +81 -81
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +95 -95
  566. package/dist/rpc.js +86 -86
  567. package/dist/schema.js +1 -1
  568. package/dist/session/affinity.js +1 -1
  569. package/dist/session/command.js +74 -74
  570. package/dist/session/compaction.js +133 -133
  571. package/dist/session/context.js +153 -153
  572. package/dist/session/diff.js +88 -88
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +5 -5
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +214 -221
  577. package/dist/session/execution.js +125 -125
  578. package/dist/session/generate.js +154 -154
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +88 -88
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +79 -79
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +97 -97
  585. package/dist/session/message-updater.js +4 -4
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +118 -118
  588. package/dist/session/model-transport.js +7 -7
  589. package/dist/session/move.js +129 -129
  590. package/dist/session/projector.js +86 -86
  591. package/dist/session/prompt.js +105 -105
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +90 -90
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +224 -231
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +98 -98
  599. package/dist/session/runner/publish-llm-event.js +113 -113
  600. package/dist/session/runner/retry.js +4 -4
  601. package/dist/session/runner/step.js +125 -125
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +164 -171
  605. package/dist/session/shell.js +130 -137
  606. package/dist/session/skill.js +103 -103
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +73 -73
  609. package/dist/session/store.js +87 -87
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +201 -208
  612. package/dist/session/system-prompt.js +3 -3
  613. package/dist/session/title.js +157 -157
  614. package/dist/session/to-session-error.js +111 -111
  615. package/dist/session/transfer.js +210 -217
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +207 -214
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +9 -9
  622. package/dist/shell.js +132 -139
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +105 -105
  625. package/dist/skill.js +110 -110
  626. package/dist/snapshot.js +91 -91
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +124 -124
  631. package/dist/tool/plugin/edit.js +120 -120
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +124 -124
  634. package/dist/tool/plugin/grep.js +124 -124
  635. package/dist/tool/plugin/mcp-resource.js +117 -117
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +122 -122
  638. package/dist/tool/plugin/question.js +103 -103
  639. package/dist/tool/plugin/read.js +125 -125
  640. package/dist/tool/plugin/shell.js +210 -217
  641. package/dist/tool/plugin/skill.js +113 -113
  642. package/dist/tool/plugin/subagent.js +206 -213
  643. package/dist/tool/plugin/webfetch.js +106 -106
  644. package/dist/tool/plugin/websearch.js +114 -114
  645. package/dist/tool/plugin/write.js +122 -122
  646. package/dist/tool/read-filesystem.js +100 -100
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +7 -7
  649. package/dist/tool.js +14 -14
  650. package/dist/types/v1/config/migrate.d.ts +15 -319
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +7 -7
  661. package/dist/v1/config/command.js +3 -3
  662. package/dist/v1/config/error.js +4 -4
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +96 -96
  665. package/dist/v1/config/permission.js +7 -7
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/variant.js +93 -93
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +89 -89
  672. package/dist/websearch.js +84 -84
  673. package/dist/wellknown/plugin.js +74 -74
  674. package/dist/wellknown.js +81 -81
  675. package/dist/workspace/driver.js +5 -5
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +80 -80
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +10 -10
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree/strategies.js +89 -89
  682. package/dist/worktree.js +96 -96
  683. package/package.json +8 -8
  684. package/dist/chunks/tool-0qa6hg2d.js +0 -34
  685. package/dist/chunks/tool-21r38tys.js +0 -14
  686. package/dist/chunks/tool-99qazkpk.js +0 -26
  687. package/dist/chunks/tool-hqm5br06.js +0 -507
  688. package/dist/chunks/tool-ht5y0zrb.js +0 -18
  689. package/dist/chunks/tool-mazbtkaa.js +0 -29
  690. package/dist/chunks/tool-ndqtf2h8.js +0 -21
  691. package/dist/chunks/tool-pf2hb43r.js +0 -84
  692. package/dist/chunks/tool-r98e92ep.js +0 -21
  693. package/dist/chunks/tool-va7zg5qg.js +0 -194
  694. package/dist/chunks/tool-zm2m1bym.js +0 -252
  695. package/dist/types/v1/config/attachment.d.ts +0 -18
  696. package/dist/types/v1/config/config.d.ts +0 -1243
  697. package/dist/types/v1/config/formatter.d.ts +0 -15
  698. package/dist/types/v1/config/layout.d.ts +0 -4
  699. package/dist/types/v1/config/lsp.d.ts +0 -38
  700. package/dist/types/v1/config/server.d.ts +0 -10
  701. package/dist/types/v1/config/skills.d.ts +0 -7
  702. package/dist/v1/config/attachment.js +0 -11
  703. package/dist/v1/config/config.js +0 -23
  704. package/dist/v1/config/formatter.js +0 -10
  705. package/dist/v1/config/layout.js +0 -8
  706. package/dist/v1/config/lsp.js +0 -16
  707. package/dist/v1/config/server.js +0 -9
  708. package/dist/v1/config/skills.js +0 -8
  709. /package/dist/chunks/{tool-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
  710. /package/dist/chunks/{tool-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
  711. /package/dist/chunks/{tool-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
  712. /package/dist/chunks/{tool-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
  713. /package/dist/chunks/{tool-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
  714. /package/dist/chunks/{tool-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
  715. /package/dist/chunks/{tool-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
  716. /package/dist/chunks/{tool-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
  717. /package/dist/chunks/{tool-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
  718. /package/dist/chunks/{tool-34c7v6d4.js → location-activity-34c7v6d4.js} +0 -0
  719. /package/dist/chunks/{tool-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
  720. /package/dist/chunks/{tool-3asan66x.js → location-activity-3asan66x.js} +0 -0
  721. /package/dist/chunks/{tool-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
  722. /package/dist/chunks/{tool-3w5fmr99.js → location-activity-3w5fmr99.js} +0 -0
  723. /package/dist/chunks/{tool-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
  724. /package/dist/chunks/{tool-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
  725. /package/dist/chunks/{tool-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
  726. /package/dist/chunks/{tool-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
  727. /package/dist/chunks/{tool-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
  728. /package/dist/chunks/{tool-53557ph1.js → location-activity-53557ph1.js} +0 -0
  729. /package/dist/chunks/{tool-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
  730. /package/dist/chunks/{tool-6prwharc.js → location-activity-6prwharc.js} +0 -0
  731. /package/dist/chunks/{tool-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
  732. /package/dist/chunks/{tool-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
  733. /package/dist/chunks/{tool-822emrt2.js → location-activity-822emrt2.js} +0 -0
  734. /package/dist/chunks/{tool-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
  735. /package/dist/chunks/{tool-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
  736. /package/dist/chunks/{tool-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
  737. /package/dist/chunks/{tool-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
  738. /package/dist/chunks/{tool-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
  739. /package/dist/chunks/{tool-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
  740. /package/dist/chunks/{tool-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
  741. /package/dist/chunks/{tool-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
  742. /package/dist/chunks/{tool-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
  743. /package/dist/chunks/{tool-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
  744. /package/dist/chunks/{tool-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
  745. /package/dist/chunks/{tool-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
  746. /package/dist/chunks/{tool-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
  747. /package/dist/chunks/{tool-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
  748. /package/dist/chunks/{tool-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
  749. /package/dist/chunks/{tool-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
  750. /package/dist/chunks/{tool-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
  751. /package/dist/chunks/{tool-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
  752. /package/dist/chunks/{tool-df08tz66.js → location-activity-df08tz66.js} +0 -0
  753. /package/dist/chunks/{tool-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
  754. /package/dist/chunks/{tool-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
  755. /package/dist/chunks/{tool-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
  756. /package/dist/chunks/{tool-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
  757. /package/dist/chunks/{tool-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
  758. /package/dist/chunks/{tool-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
  759. /package/dist/chunks/{tool-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
  760. /package/dist/chunks/{tool-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
  761. /package/dist/chunks/{tool-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
  762. /package/dist/chunks/{tool-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
  763. /package/dist/chunks/{tool-fxgpk5d8.js → location-activity-fxgpk5d8.js} +0 -0
  764. /package/dist/chunks/{tool-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
  765. /package/dist/chunks/{tool-g86h250q.js → location-activity-g86h250q.js} +0 -0
  766. /package/dist/chunks/{tool-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
  767. /package/dist/chunks/{tool-gftt206x.js → location-activity-gftt206x.js} +0 -0
  768. /package/dist/chunks/{tool-hjbc5kem.js → location-activity-hjbc5kem.js} +0 -0
  769. /package/dist/chunks/{tool-hk9envan.js → location-activity-hk9envan.js} +0 -0
  770. /package/dist/chunks/{tool-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
  771. /package/dist/chunks/{tool-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
  772. /package/dist/chunks/{tool-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
  773. /package/dist/chunks/{tool-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
  774. /package/dist/chunks/{tool-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
  775. /package/dist/chunks/{tool-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
  776. /package/dist/chunks/{tool-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
  777. /package/dist/chunks/{tool-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
  778. /package/dist/chunks/{tool-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
  779. /package/dist/chunks/{tool-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
  780. /package/dist/chunks/{tool-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
  781. /package/dist/chunks/{tool-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
  782. /package/dist/chunks/{tool-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
  783. /package/dist/chunks/{tool-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
  784. /package/dist/chunks/{tool-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
  785. /package/dist/chunks/{tool-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
  786. /package/dist/chunks/{tool-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
  787. /package/dist/chunks/{tool-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
  788. /package/dist/chunks/{tool-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
  789. /package/dist/chunks/{tool-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
  790. /package/dist/chunks/{tool-sk3qaz4a.js → location-activity-sk3qaz4a.js} +0 -0
  791. /package/dist/chunks/{tool-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
  792. /package/dist/chunks/{tool-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
  793. /package/dist/chunks/{tool-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
  794. /package/dist/chunks/{tool-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
  795. /package/dist/chunks/{tool-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
  796. /package/dist/chunks/{tool-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
  797. /package/dist/chunks/{tool-x61499pn.js → location-activity-x61499pn.js} +0 -0
  798. /package/dist/chunks/{tool-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
  799. /package/dist/chunks/{tool-y8cydn3q.js → location-activity-y8cydn3q.js} +0 -0
  800. /package/dist/chunks/{tool-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
  801. /package/dist/chunks/{tool-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
  802. /package/dist/chunks/{tool-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
  803. /package/dist/chunks/{tool-z5v4ffb3.js → location-activity-z5v4ffb3.js} +0 -0
  804. /package/dist/chunks/{tool-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./tool-emd75jk3.js";
3
+ } from "./location-activity-5824vx86.js";
4
4
  import {
5
5
  Service83
6
- } from "./tool-5rrd0wgj.js";
6
+ } from "./location-activity-nsc4cbcy.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event20
10
- } from "./tool-4gtnaf1q.js";
10
+ } from "./location-activity-caseqyrv.js";
11
11
  import {
12
- ID16,
12
+ ID13,
13
13
  MethodID2
14
- } from "./tool-cxhqznm4.js";
14
+ } from "./location-activity-f47cg35j.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./tool-pjvnvgmy.js";
18
+ } from "./location-activity-pjvnvgmy.js";
19
19
  import {
20
- ID9,
20
+ ID12,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./tool-5spq5w86.js";
23
+ } from "./location-activity-da11rmvm.js";
24
24
  import {
25
25
  get5
26
- } from "./tool-54ma36ye.js";
26
+ } from "./location-activity-54ma36ye.js";
27
27
 
28
28
  // src/plugin/provider/openai.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
@@ -47,7 +47,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
47
47
  }));
48
48
  var decodeClaims = Schema.decodeUnknownOption(Claims);
49
49
  var browser = (app) => ({
50
- integrationID: ID16.make("openai"),
50
+ integrationID: ID13.make("openai"),
51
51
  method: {
52
52
  id: browserMethodID,
53
53
  type: "oauth",
@@ -120,7 +120,7 @@ function addressInUse(error) {
120
120
  return "code" in error && error.code === "EADDRINUSE";
121
121
  }
122
122
  var headless = (app) => ({
123
- integrationID: ID16.make("openai"),
123
+ integrationID: ID13.make("openai"),
124
124
  method: {
125
125
  id: headlessMethodID,
126
126
  type: "oauth",
@@ -162,7 +162,7 @@ var headless = (app) => ({
162
162
  }),
163
163
  refresh: (value) => refresh(headlessMethodID, value, app)
164
164
  });
165
- var OpenAIPlugin2 = define({
165
+ var OpenAIPlugin3 = define({
166
166
  id: "opencode.provider.openai",
167
167
  effect: Effect.fn(function* (ctx) {
168
168
  const bus = yield* Service83;
@@ -181,7 +181,7 @@ var OpenAIPlugin2 = define({
181
181
  });
182
182
  yield* load();
183
183
  yield* ctx.provider.transform((providers) => {
184
- const item = providers.get(ID9.openai);
184
+ const item = providers.get(ID12.openai);
185
185
  if (!item)
186
186
  return;
187
187
  const account = chatgpt?.metadata?.accountID;
@@ -200,7 +200,7 @@ var OpenAIPlugin2 = define({
200
200
  });
201
201
  });
202
202
  yield* ctx.model.transform((models) => {
203
- for (const model of models.list(ID9.openai)) {
203
+ for (const model of models.list(ID12.openai)) {
204
204
  models.update(model.providerID, model.id, (draft) => {
205
205
  if (!chatgpt)
206
206
  return;
@@ -231,14 +231,14 @@ var OpenAIPlugin2 = define({
231
231
  }));
232
232
  evt.headers.originator = "opencode";
233
233
  evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
234
- }), { providerID: ID9.openai });
234
+ }), { providerID: ID12.openai });
235
235
  const omitOutputLimit = (evt) => Effect.sync(() => {
236
236
  delete evt.options.maxTokens;
237
237
  });
238
238
  for (const name of ["context", "compaction"])
239
- yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID9.openai });
239
+ yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID12.openai });
240
240
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
241
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
242
242
  })
243
243
  });
244
244
  function headers(contentType, app) {
@@ -329,4 +329,4 @@ function claim(token) {
329
329
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
330
330
  }
331
331
 
332
- export { OpenAIPlugin2 };
332
+ export { OpenAIPlugin3 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./location-activity-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection = {};
7
7
  __export(exports_connection, {
8
8
  CredentialInfo: () => CredentialInfo2,
9
9
  EnvInfo: () => EnvInfo2,
10
- Info: () => Info32,
10
+ Info: () => Info23,
11
11
  IntegrationConnection: () => exports_connection,
12
12
  Status: () => Status3,
13
13
  key: () => key2
@@ -15,7 +15,7 @@ __export(exports_connection, {
15
15
  import { Connection } from "@opencode/schema/connection";
16
16
  var CredentialInfo2 = Connection.CredentialInfo;
17
17
  var EnvInfo2 = Connection.EnvInfo;
18
- var Info32 = Connection.Info;
18
+ var Info23 = Connection.Info;
19
19
  var Status3 = Connection.Status;
20
20
  function key2(connection) {
21
21
  if (!connection)
@@ -23,4 +23,4 @@ function key2(connection) {
23
23
  return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
24
24
  }
25
25
 
26
- export { CredentialInfo2, EnvInfo2, Info32, Status3, key2, exports_connection };
26
+ export { CredentialInfo2, EnvInfo2, Info23, Status3, key2, exports_connection };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  codeInterpreterArgsSchema2
3
- } from "./tool-eh3zwz77.js";
3
+ } from "./location-activity-eh3zwz77.js";
4
4
  import {
5
5
  fileSearchArgsSchema2
6
- } from "./tool-e73j6tqm.js";
6
+ } from "./location-activity-e73j6tqm.js";
7
7
  import {
8
8
  webSearchArgsSchema2
9
- } from "./tool-3wcehsnq.js";
9
+ } from "./location-activity-3wcehsnq.js";
10
10
  import {
11
11
  webSearchPreviewArgsSchema2
12
- } from "./tool-dap0rakb.js";
12
+ } from "./location-activity-dap0rakb.js";
13
13
  import {
14
14
  imageGenerationArgsSchema2
15
- } from "./tool-4y7fprxs.js";
15
+ } from "./location-activity-4y7fprxs.js";
16
16
 
17
17
  // src/github-copilot/responses/openai-responses-prepare-tools.ts
18
18
  import {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./location-activity-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make16,
9
+ make: () => make15,
10
10
  render: () => render3
11
11
  });
12
12
 
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make16(tools) {
32
+ function make15(tools) {
33
33
  return render3(system_default, tools);
34
34
  }
35
35
  function render3(prompt, tools) {
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make16, render3, exports_system_prompt };
50
+ export { make15, render3, exports_system_prompt };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service82
3
- } from "./tool-6f1n1136.js";
2
+ Service75
3
+ } from "./location-activity-t0cz011w.js";
4
4
  import {
5
- Service69
6
- } from "./tool-h85krvk7.js";
5
+ Service57
6
+ } from "./location-activity-k6ehc7p5.js";
7
7
  import {
8
8
  __export
9
- } from "./tool-9rqn6x4v.js";
9
+ } from "./location-activity-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
13
13
  __export(exports_question, {
14
14
  CancelledError: () => CancelledError2,
15
- Input: () => Input14,
15
+ Input: () => Input13,
16
16
  Output: () => Output9,
17
17
  Plugin: () => Plugin50,
18
18
  QuestionTool: () => exports_question,
@@ -34,7 +34,7 @@ Usage notes:
34
34
  - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
35
35
  - Set \`multiple: true\` to allow selecting more than one option
36
36
  - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
37
- var Input14 = Schema.Struct({
37
+ var Input13 = Schema.Struct({
38
38
  questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
39
39
  });
40
40
  var Output9 = Schema.Struct({
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin50 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service82;
57
- const permission = yield* Service69;
56
+ const forms = yield* Service75;
57
+ const permission = yield* Service57;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
59
  name: name13,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
- input: Input14,
62
+ input: Input13,
63
63
  output: Output9,
64
64
  execute: (input, context) => permission.assert({
65
65
  action: "question",
@@ -117,4 +117,4 @@ function toField(question, index) {
117
117
  };
118
118
  }
119
119
 
120
- export { name13, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
120
+ export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service73,
3
- node77,
2
+ Service54,
3
+ node57,
4
4
  canonical3
5
- } from "./tool-59376ey9.js";
5
+ } from "./location-activity-hntbmpkd.js";
6
6
  import {
7
- Service43,
8
- node45
9
- } from "./tool-4mwpykj0.js";
7
+ Service52,
8
+ node55
9
+ } from "./location-activity-dzse07y5.js";
10
10
  import {
11
- Service67
12
- } from "./tool-tzhbwgz4.js";
11
+ Service18
12
+ } from "./location-activity-n2nn37za.js";
13
13
  import {
14
14
  layer2
15
- } from "./tool-zm2m1bym.js";
15
+ } from "./location-activity-w7g85kp8.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service73, Effect.gen(function* () {
20
+ return Layer.effect(Service54, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service67);
30
+ const lifecycle = Context.get(exit.value, Service18);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node45.replace(Layer.succeed(Service43, {
57
+ node55.replace(Layer.succeed(Service52, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
61
- node77.replace(Layer.succeed(Service73, map))
61
+ node57.replace(Layer.succeed(Service54, map))
62
62
  ];
63
63
  return map;
64
64
  }));
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID9
3
- } from "./tool-5spq5w86.js";
2
+ ID12
3
+ } from "./location-activity-da11rmvm.js";
4
4
 
5
5
  // src/plugin/provider/prompt-cache-key.ts
6
6
  import { Effect } from "effect";
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  yield* ctx.model.transform((models) => {
26
26
  for (const id of providerIDs) {
27
- const providerID = ID9.make(id);
27
+ const providerID = ID12.make(id);
28
28
  for (const model of models.list(providerID)) {
29
29
  models.update(model.providerID, model.id, (draft) => {
30
30
  draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  Service83
3
- } from "./tool-5rrd0wgj.js";
3
+ } from "./location-activity-nsc4cbcy.js";
4
4
  import {
5
- Service75
6
- } from "./tool-dxjv2ykb.js";
5
+ Service80
6
+ } from "./location-activity-dmvmn2q0.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service37
10
- } from "./tool-2tmdj2y2.js";
9
+ Service34
10
+ } from "./location-activity-350srhaq.js";
11
11
  import {
12
12
  __export
13
- } from "./tool-9rqn6x4v.js";
13
+ } from "./location-activity-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
- var exports_command = {};
17
- __export(exports_command, {
18
- CommandPlugin: () => exports_command,
16
+ var exports_command2 = {};
17
+ __export(exports_command2, {
18
+ CommandPlugin: () => exports_command2,
19
19
  Plugin: () => Plugin28
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
@@ -196,8 +196,8 @@ If you're uncertain about something and can't verify it with these tools, say "I
196
196
  var Plugin28 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service75;
200
- const mcp = yield* Service37;
199
+ const location = yield* Service80;
200
+ const mcp = yield* Service34;
201
201
  const bus = yield* Service83;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin28, exports_command };
283
+ export { Plugin28, exports_command2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./location-activity-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./location-activity-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service48,
8
+ Service: () => Service63,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node50
10
+ node: () => node66
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service48 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service63 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service48, () => {
17
+ var layer = Layer.sync(Service63, () => {
18
18
  const environments = new Map;
19
- return Service48.of({
19
+ return Service63.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service48, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node50 = makeGlobalNode({ service: Service48, layer, deps: [] });
29
+ var node66 = makeGlobalNode({ service: Service63, layer, deps: [] });
30
30
 
31
- export { Service48, node50, exports_environment };
31
+ export { Service63, node66, exports_environment };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service83
3
- } from "./tool-5rrd0wgj.js";
3
+ } from "./location-activity-nsc4cbcy.js";
4
4
  import {
5
- Service55,
6
- Event11
7
- } from "./tool-jn6gv895.js";
5
+ Service70,
6
+ Event15
7
+ } from "./location-activity-28zek266.js";
8
8
  import {
9
9
  __export
10
- } from "./tool-9rqn6x4v.js";
10
+ } from "./location-activity-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
@@ -21,7 +21,7 @@ var Plugin49 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  const bus = yield* Service83;
24
- const wellknown = yield* Service55;
24
+ const wellknown = yield* Service70;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,7 +41,7 @@ var Plugin49 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID12
3
- } from "./tool-35nvda3r.js";
2
+ ID8
3
+ } from "./location-activity-182h7z1q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./tool-z5v4ffb3.js";
6
+ } from "./location-activity-z5v4ffb3.js";
7
7
  import {
8
- Info15
9
- } from "./tool-g7xsht76.js";
8
+ Info13
9
+ } from "./location-activity-wg68nafb.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./tool-gvv136sf.js";
12
+ } from "./location-activity-5vx9e22b.js";
13
13
  import {
14
14
  latest2,
15
- Service52
16
- } from "./tool-6yrb0ee6.js";
15
+ Service65
16
+ } from "./location-activity-w4mta7pp.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./tool-5daktx2q.js";
19
+ } from "./location-activity-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./tool-9rqn6x4v.js";
22
+ } from "./location-activity-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
- var exports_agent2 = {};
26
- __export(exports_agent2, {
27
- ConfigAgentPlugin: () => exports_agent2,
28
- Plugin: () => Plugin34
25
+ var exports_agent = {};
26
+ __export(exports_agent, {
27
+ ConfigAgentPlugin: () => exports_agent,
28
+ Plugin: () => Plugin15
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info15);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info13);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin34 = define({
47
+ var Plugin15 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service52;
50
+ const config = yield* Service65;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin34 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID12.make(configuredDefault));
79
+ editor.default(ID8.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID12.make(id);
85
+ const agentID = ID8.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin34, exports_agent2 };
164
+ export { Plugin15, exports_agent };
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  Service83
3
- } from "./tool-5rrd0wgj.js";
3
+ } from "./location-activity-nsc4cbcy.js";
4
4
  import {
5
- Service45
6
- } from "./tool-5dwsqdnn.js";
5
+ Service78
6
+ } from "./location-activity-wfx1w319.js";
7
7
  import {
8
- Error5
9
- } from "./tool-3hqn980y.js";
8
+ Error3
9
+ } from "./location-activity-82m24mh1.js";
10
10
  import {
11
- Service49
12
- } from "./tool-72rw85ce.js";
11
+ Service64
12
+ } from "./location-activity-yegmnrcf.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./tool-3vddgz3b.js";
15
+ } from "./location-activity-89za3yyg.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./tool-ec1grn59.js";
18
+ } from "./location-activity-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./tool-xagah8e0.js";
21
+ } from "./location-activity-4y69q3w9.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./tool-tdstcens.js";
24
+ } from "./location-activity-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./tool-p7t1r6rx.js";
27
+ } from "./location-activity-0930v272.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./tool-scgrse2b.js";
30
+ } from "./location-activity-b3f8fkhc.js";
31
31
  import {
32
32
  __export
33
- } from "./tool-9rqn6x4v.js";
33
+ } from "./location-activity-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
37
37
  __export(exports_step, {
38
38
  Outcome: () => Outcome2,
39
39
  SessionStep: () => exports_step,
40
- make: () => make8
40
+ make: () => make9
41
41
  });
42
42
  import {
43
43
  AIError,
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
51
51
  var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
- var make8 = Effect.gen(function* () {
54
+ var make9 = Effect.gen(function* () {
55
55
  const bus = yield* Service83;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service45;
58
- const toolOutput = yield* Service49;
57
+ const snapshots = yield* Service78;
58
+ const toolOutput = yield* Service64;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -71,7 +71,7 @@ var make8 = Effect.gen(function* () {
71
71
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
72
72
  const executeTool = (call) => {
73
73
  if (input.prepared.request.toolChoice?.type === "none")
74
- return new Error5({ message: "Tools are disabled after the maximum agent steps" });
74
+ return new Error3({ message: "Tools are disabled after the maximum agent steps" });
75
75
  return input.prepared.executeTool({
76
76
  sessionID: input.sessionID,
77
77
  agent: input.agent,
@@ -216,4 +216,4 @@ var classifyToolExits = (settled, runs) => {
216
216
  return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
217
217
  };
218
218
 
219
- export { Outcome2, make8, exports_step };
219
+ export { Outcome2, make9, exports_step };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ps2
3
- } from "./tool-gce79w0q.js";
3
+ } from "./location-activity-kef0s52w.js";
4
4
  import {
5
5
  lazy2
6
- } from "./tool-88xbtdfr.js";
6
+ } from "./location-activity-88xbtdfr.js";
7
7
  import {
8
8
  match2
9
- } from "./tool-y1fvbwt7.js";
9
+ } from "./location-activity-y1fvbwt7.js";
10
10
  import {
11
11
  __export
12
- } from "./tool-9rqn6x4v.js";
12
+ } from "./location-activity-9rqn6x4v.js";
13
13
 
14
14
  // src/shell/parse.ts
15
15
  var exports_parse = {};