@opencode/core 0.0.0-dev-19619 → 0.0.0-dev-19621

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 (798) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  3. package/dist/aisdk-native.js +92 -91
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{state-k3j9nvsf.js → location-activity-02sqczvg.js} +39 -39
  8. package/dist/chunks/{state-gmh1p7c3.js → location-activity-05qdzf61.js} +42 -42
  9. package/dist/chunks/{state-hzm9egg4.js → location-activity-0916jsyy.js} +10 -10
  10. package/dist/chunks/{state-ds6yvnwz.js → location-activity-0fd7a9tf.js} +20 -20
  11. package/dist/chunks/{state-6bhdwa4f.js → location-activity-0kjyq0mv.js} +9 -9
  12. package/dist/chunks/location-activity-0mesazry.js +4 -0
  13. package/dist/chunks/{state-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{state-0q0f95c6.js → location-activity-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{state-ebvdhfn5.js → location-activity-0qfwhm5e.js} +12 -12
  16. package/dist/chunks/{state-hb432nf5.js → location-activity-0qv7mmtq.js} +10 -10
  17. package/dist/chunks/{state-d7pfk9kx.js → location-activity-13jep62n.js} +11 -11
  18. package/dist/chunks/{state-z87ss26s.js → location-activity-16tdh1fk.js} +8 -8
  19. package/dist/chunks/{state-jva4mgym.js → location-activity-179189h4.js} +4 -4
  20. package/dist/chunks/{state-f2n192rq.js → location-activity-1acjjqhc.js} +4 -4
  21. package/dist/chunks/{state-1dazxqgg.js → location-activity-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{state-qwjmgwmn.js → location-activity-1mkrhngc.js} +8 -8
  23. package/dist/chunks/{state-p1d46h3z.js → location-activity-1mnqxrzq.js} +24 -24
  24. package/dist/chunks/{state-hkha9254.js → location-activity-1q7p9dry.js} +4 -4
  25. package/dist/chunks/{state-dq66pm2h.js → location-activity-1qqdn15c.js} +6 -6
  26. package/dist/chunks/{state-21r38tys.js → location-activity-21r38tys.js} +1 -1
  27. package/dist/chunks/{state-2402vzrj.js → location-activity-2402vzrj.js} +1 -1
  28. package/dist/chunks/{state-g5akcga1.js → location-activity-24dcb14g.js} +1 -8
  29. package/dist/chunks/{state-2prd3etb.js → location-activity-277g6yhx.js} +30 -30
  30. package/dist/chunks/{state-29x78va6.js → location-activity-29x78va6.js} +2 -2
  31. package/dist/chunks/{state-2a5m3afh.js → location-activity-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{state-qx0y9v2b.js → location-activity-2acrqt2s.js} +13 -13
  33. package/dist/chunks/{state-nspxmzm8.js → location-activity-2gc3cgtr.js} +23 -23
  34. package/dist/chunks/{state-2k8khapm.js → location-activity-2k8khapm.js} +1 -1
  35. package/dist/chunks/{state-nhgnsbzd.js → location-activity-2pkx220b.js} +24 -24
  36. package/dist/chunks/{state-2p5y98w0.js → location-activity-3c019r4e.js} +6 -6
  37. package/dist/chunks/{state-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{state-hc844qg4.js → location-activity-3gs6qghn.js} +18 -18
  39. package/dist/chunks/{state-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{state-5k6red0j.js → location-activity-3qssm48j.js} +4 -4
  41. package/dist/chunks/{state-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{state-mx19mr1m.js → location-activity-3sxcm1y0.js} +28 -28
  43. package/dist/chunks/{state-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{state-v1kf15d2.js → location-activity-3wettdv3.js} +4 -10
  45. package/dist/chunks/{state-6r5csvev.js → location-activity-3xqxna90.js} +14 -14
  46. package/dist/chunks/{state-raec4cfz.js → location-activity-41kev6en.js} +12 -12
  47. package/dist/chunks/{state-hmw7b3xg.js → location-activity-47d03cme.js} +29 -29
  48. package/dist/chunks/{state-4dgbcxzg.js → location-activity-4dgbcxzg.js} +1 -1
  49. package/dist/chunks/{state-f9j6kmhz.js → location-activity-4dnstb87.js} +9 -9
  50. package/dist/chunks/{state-35g6mzst.js → location-activity-4gc7b6vq.js} +15 -15
  51. package/dist/chunks/location-activity-4v7qdvcn.js +18 -0
  52. package/dist/chunks/{state-mrx0gnf8.js → location-activity-4xdgprr9.js} +1 -1
  53. package/dist/chunks/{state-h7vn9w3e.js → location-activity-50w65075.js} +4 -4
  54. package/dist/chunks/{state-2fgn2we9.js → location-activity-57ez7d0k.js} +9 -9
  55. package/dist/chunks/{state-rp6tmztm.js → location-activity-58g3z28f.js} +19 -19
  56. package/dist/chunks/{state-a1bz86dw.js → location-activity-5c4hm403.js} +3 -3
  57. package/dist/chunks/{state-5daktx2q.js → location-activity-5daktx2q.js} +1 -1
  58. package/dist/chunks/{state-db0wt107.js → location-activity-5hggf6n1.js} +8 -8
  59. package/dist/chunks/{state-qtkzm0vp.js → location-activity-5hk4b2g6.js} +8 -8
  60. package/dist/chunks/{state-qfmkjdkz.js → location-activity-5s2hkj65.js} +15 -15
  61. package/dist/chunks/{state-33b7aymv.js → location-activity-5sj01k15.js} +87 -87
  62. package/dist/chunks/{state-5t3nmthw.js → location-activity-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{state-cfm6v96c.js → location-activity-5wd4d272.js} +15 -15
  64. package/dist/chunks/{state-j7gh742f.js → location-activity-5zzxy0ms.js} +6 -6
  65. package/dist/chunks/{state-1a1r3f73.js → location-activity-6424bnfx.js} +9 -9
  66. package/dist/chunks/location-activity-64r3bpyt.js +26 -0
  67. package/dist/chunks/{state-n36sd619.js → location-activity-64yj1h16.js} +47 -47
  68. package/dist/chunks/{state-9yfa5vrp.js → location-activity-662habgj.js} +22 -22
  69. package/dist/chunks/{state-669tq793.js → location-activity-669tq793.js} +1 -1
  70. package/dist/chunks/{state-3shj2rdg.js → location-activity-67j4hdbe.js} +14 -14
  71. package/dist/chunks/{state-0xdeh7pz.js → location-activity-6858bak6.js} +15 -15
  72. package/dist/chunks/{state-76dkszc0.js → location-activity-6gg4hhkh.js} +20 -20
  73. package/dist/chunks/{state-89srvkns.js → location-activity-6hmxf5qy.js} +15 -15
  74. package/dist/chunks/{state-6msgmcgs.js → location-activity-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{state-3s08q6xc.js → location-activity-6p102wjn.js} +20 -20
  76. package/dist/chunks/{state-q2tqwnr3.js → location-activity-74epasaf.js} +25 -25
  77. package/dist/chunks/{state-67zdakk3.js → location-activity-770gax1y.js} +10 -10
  78. package/dist/chunks/{state-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{state-ny5dfp0g.js → location-activity-7ma01p8d.js} +13 -13
  80. package/dist/chunks/{state-e3pb3krz.js → location-activity-7mhhry16.js} +2 -2
  81. package/dist/chunks/{state-73mx17hp.js → location-activity-7zaraywf.js} +5 -6
  82. package/dist/chunks/{state-bbth31rk.js → location-activity-81ejmews.js} +9 -9
  83. package/dist/chunks/{state-hc2ch4mw.js → location-activity-833nt6ba.js} +5 -5
  84. package/dist/chunks/{state-kkk4ycsn.js → location-activity-86w8gnaa.js} +32 -40
  85. package/dist/chunks/location-activity-8a7mdkfk.js +63 -0
  86. package/dist/chunks/{state-8d7r5vzw.js → location-activity-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{state-3tsj5f46.js → location-activity-8ktevv00.js} +14 -15
  88. package/dist/chunks/{state-qbvf5jer.js → location-activity-8qen5wkx.js} +8 -8
  89. package/dist/chunks/{state-wfzjjtzq.js → location-activity-8tpwn33w.js} +4 -4
  90. package/dist/chunks/{state-g31yknb9.js → location-activity-8wpj8qe8.js} +5 -5
  91. package/dist/chunks/{state-yb0s1s95.js → location-activity-93jjj6k7.js} +54 -54
  92. package/dist/chunks/{state-e3mscyvg.js → location-activity-9h0fm6pv.js} +13 -13
  93. package/dist/chunks/{state-hk9khx82.js → location-activity-9n5n83y6.js} +13 -13
  94. package/dist/chunks/{state-324jz7fy.js → location-activity-9nzr847a.js} +4 -4
  95. package/dist/chunks/{state-29rcqgc7.js → location-activity-9rkj6e7r.js} +82 -82
  96. package/dist/chunks/{state-xe12cp59.js → location-activity-9s4zsea6.js} +5 -5
  97. package/dist/chunks/{state-1x75wf9g.js → location-activity-9w4ppqge.js} +5 -5
  98. package/dist/chunks/{state-s90d8d6b.js → location-activity-9yr2yfq4.js} +6 -6
  99. package/dist/chunks/{state-0wzb4xv0.js → location-activity-a2spgzjy.js} +11 -11
  100. package/dist/chunks/{state-tzfrkvh8.js → location-activity-a44jmwh5.js} +18 -18
  101. package/dist/chunks/{state-qagnz9a5.js → location-activity-a47f8vqp.js} +11 -11
  102. package/dist/chunks/{state-m8d7rwwq.js → location-activity-a7aqdefk.js} +8 -6
  103. package/dist/chunks/{state-aaet6srn.js → location-activity-aaet6srn.js} +2 -2
  104. package/dist/chunks/{state-kp6q4vfw.js → location-activity-aarxr206.js} +37 -37
  105. package/dist/chunks/{state-3sjz8m0p.js → location-activity-b3mk7fqx.js} +30 -30
  106. package/dist/chunks/{state-b6gygkdw.js → location-activity-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{state-97tba3wc.js → location-activity-bbrq8xb6.js} +35 -35
  108. package/dist/chunks/{state-an7cqtb7.js → location-activity-bct739vz.js} +4 -4
  109. package/dist/chunks/{state-e5nv3ght.js → location-activity-bndc73cn.js} +5 -5
  110. package/dist/chunks/{state-zveeavy8.js → location-activity-bsmy1wga.js} +24 -24
  111. package/dist/chunks/{state-tc6j6x3q.js → location-activity-btzyv0k5.js} +10 -10
  112. package/dist/chunks/{state-d09006c3.js → location-activity-bydnjh3t.js} +9 -9
  113. package/dist/chunks/{state-51wwr1cb.js → location-activity-c37dq7f4.js} +7 -7
  114. package/dist/chunks/{state-1b89q7zg.js → location-activity-c50p721n.js} +13 -13
  115. package/dist/chunks/{state-dqmwfghx.js → location-activity-c78bbtc9.js} +5 -5
  116. package/dist/chunks/{state-ww06kf95.js → location-activity-cb8qsvm8.js} +13 -13
  117. package/dist/chunks/{state-97pyyzsd.js → location-activity-chs68zjw.js} +11 -11
  118. package/dist/chunks/{state-n5a5z38x.js → location-activity-cjkdazrq.js} +40 -40
  119. package/dist/chunks/{state-bqszwq89.js → location-activity-ck0ahkdp.js} +6 -6
  120. package/dist/chunks/{state-7b15y959.js → location-activity-cmwkp3r5.js} +8 -8
  121. package/dist/chunks/{state-a8279h33.js → location-activity-cnxzfnnh.js} +17 -17
  122. package/dist/chunks/{state-bccb6npm.js → location-activity-csf2jhsg.js} +4 -4
  123. package/dist/chunks/{state-wq4mgxca.js → location-activity-ctn2km86.js} +8 -8
  124. package/dist/chunks/{state-7qdpe4cb.js → location-activity-d18hzzdd.js} +9 -9
  125. package/dist/chunks/{state-nk4syya3.js → location-activity-d200zqk3.js} +27 -27
  126. package/dist/chunks/{state-d3tz2ej1.js → location-activity-d4he2qe1.js} +9 -9
  127. package/dist/chunks/{state-7zj5q8bn.js → location-activity-d80hd4ax.js} +9 -9
  128. package/dist/chunks/{state-tk4xefdg.js → location-activity-d8bv2r0j.js} +12 -12
  129. package/dist/chunks/{state-gz9zg84n.js → location-activity-d8r3vmz6.js} +17 -17
  130. package/dist/chunks/{state-p57dvf2n.js → location-activity-dg5bcj4q.js} +4 -4
  131. package/dist/chunks/{state-xw0r27ex.js → location-activity-dhmh7aw6.js} +4 -4
  132. package/dist/chunks/{state-8xd21chy.js → location-activity-dhwr7h25.js} +8 -8
  133. package/dist/chunks/{state-8p4f9s12.js → location-activity-dj2t23y0.js} +2 -2
  134. package/dist/chunks/{state-dpkg50ah.js → location-activity-dpkg50ah.js} +1 -1
  135. package/dist/chunks/{state-r3g16p04.js → location-activity-dyn4a6re.js} +11 -11
  136. package/dist/chunks/{state-se4nd5as.js → location-activity-e359ekz1.js} +10 -10
  137. package/dist/chunks/{state-d2jcwrqj.js → location-activity-e48547de.js} +9 -9
  138. package/dist/chunks/{state-vqjrrrw6.js → location-activity-e6tp1f32.js} +3 -11
  139. package/dist/chunks/{state-3jqje4at.js → location-activity-ea8d760j.js} +34 -34
  140. package/dist/chunks/location-activity-ebpp3bj8.js +500 -0
  141. package/dist/chunks/{state-jbqb2jwb.js → location-activity-eehws5bb.js} +18 -18
  142. package/dist/chunks/{state-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
  143. package/dist/chunks/{state-3avsbw2y.js → location-activity-ef6128zr.js} +21 -21
  144. package/dist/chunks/{state-9jbjfr7m.js → location-activity-ehkt0pf5.js} +21 -9
  145. package/dist/chunks/{state-h61yhmmq.js → location-activity-ejz7gt9s.js} +16 -16
  146. package/dist/chunks/{state-ttpn01ps.js → location-activity-et2mx20r.js} +41 -41
  147. package/dist/chunks/{state-etq0c3wd.js → location-activity-etq0c3wd.js} +1 -1
  148. package/dist/chunks/{state-nrs119em.js → location-activity-ewxvpahx.js} +13 -13
  149. package/dist/chunks/{state-cq37gk0t.js → location-activity-fab8hzt3.js} +4 -4
  150. package/dist/chunks/{state-r0r5a59z.js → location-activity-fcpfj2f6.js} +26 -18
  151. package/dist/chunks/{state-5f71spy3.js → location-activity-fgqbyqvh.js} +36 -36
  152. package/dist/chunks/{state-nc2qx4zy.js → location-activity-fk6x6sf2.js} +30 -30
  153. package/dist/chunks/{state-19vf66h0.js → location-activity-fm2qvscf.js} +4 -4
  154. package/dist/chunks/{state-d66s3x2y.js → location-activity-fq1tkef6.js} +8 -8
  155. package/dist/chunks/{state-sxmda080.js → location-activity-fs9jbr70.js} +3 -3
  156. package/dist/chunks/{state-py24y5k5.js → location-activity-fvq1ehz2.js} +20 -20
  157. package/dist/chunks/location-activity-fx7t016x.js +468 -0
  158. package/dist/chunks/{state-fxbjtjnd.js → location-activity-fxbjtjnd.js} +1 -1
  159. package/dist/chunks/{state-gzv4yv3q.js → location-activity-fxk3860w.js} +8 -8
  160. package/dist/chunks/{state-9wb1t077.js → location-activity-g7v47k8t.js} +3 -7
  161. package/dist/chunks/{state-ymawwaz8.js → location-activity-garm4tc5.js} +4 -4
  162. package/dist/chunks/{state-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
  163. package/dist/chunks/{state-s16nmm85.js → location-activity-gegytf0k.js} +6 -6
  164. package/dist/chunks/{state-x6mn7k7a.js → location-activity-gt6bpx3h.js} +26 -26
  165. package/dist/chunks/{state-gv6a8nnw.js → location-activity-gv6a8nnw.js} +2 -2
  166. package/dist/chunks/{state-h03wrkyp.js → location-activity-h03wrkyp.js} +2 -2
  167. package/dist/chunks/{state-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
  168. package/dist/chunks/{state-f828m53h.js → location-activity-hdnk95c8.js} +2 -2
  169. package/dist/chunks/{state-npkvcn11.js → location-activity-hr32vd4d.js} +10 -10
  170. package/dist/chunks/{state-bwpeaz3e.js → location-activity-htzvt3ag.js} +24 -24
  171. package/dist/chunks/{state-r5x6zcsm.js → location-activity-j028xdjb.js} +3 -3
  172. package/dist/chunks/{state-kytg702f.js → location-activity-j2dwpy9c.js} +11 -11
  173. package/dist/chunks/{state-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
  174. package/dist/chunks/{state-c74rwkq8.js → location-activity-j83edvzn.js} +20 -20
  175. package/dist/chunks/{state-kthsafvd.js → location-activity-jcvbpxrt.js} +6 -6
  176. package/dist/chunks/{state-v55354wq.js → location-activity-jjkms2e6.js} +1 -8
  177. package/dist/chunks/{state-tqwj4vg0.js → location-activity-jnvn036s.js} +27 -27
  178. package/dist/chunks/{state-t1pxv65t.js → location-activity-jsbxrgzy.js} +3 -3
  179. package/dist/chunks/{state-hkckt1bw.js → location-activity-jxt4v063.js} +11 -11
  180. package/dist/chunks/{state-pv445f03.js → location-activity-k61ay397.js} +27 -27
  181. package/dist/chunks/{state-qqjwcvaq.js → location-activity-k8mgps65.js} +20 -23
  182. package/dist/chunks/{state-64xmj3r0.js → location-activity-kdc6jnyv.js} +30 -30
  183. package/dist/chunks/{state-fd7qd9sy.js → location-activity-kkes6p7k.js} +15 -15
  184. package/dist/chunks/{state-a1jea0jw.js → location-activity-kn5tvdzd.js} +29 -29
  185. package/dist/chunks/{state-cfpkc3c9.js → location-activity-m0jqrx5p.js} +2 -2
  186. package/dist/chunks/{state-2bt6bea8.js → location-activity-m2d0j7c0.js} +9 -9
  187. package/dist/chunks/{state-2e147z16.js → location-activity-m45spv6b.js} +7 -52
  188. package/dist/chunks/{state-q34edmb6.js → location-activity-m7zgyvpn.js} +13 -13
  189. package/dist/chunks/{state-krmc1sjp.js → location-activity-m8sp6mz4.js} +4 -4
  190. package/dist/chunks/{state-q0dhpvqs.js → location-activity-m99v3cc8.js} +18 -18
  191. package/dist/chunks/{state-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{state-2a1p01cj.js → location-activity-mbs5e5av.js} +49 -49
  193. package/dist/chunks/{state-75p5n5ps.js → location-activity-mcdtcrmv.js} +22 -22
  194. package/dist/chunks/{state-56gdpj1q.js → location-activity-mfqp6xfm.js} +6 -6
  195. package/dist/chunks/location-activity-mfssdfvv.js +609 -0
  196. package/dist/chunks/{state-w21hr1ag.js → location-activity-mhgmrhvx.js} +9 -9
  197. package/dist/chunks/{state-n1t3wdzz.js → location-activity-mtfnb8p4.js} +8 -8
  198. package/dist/chunks/{state-yt0fqk68.js → location-activity-mtft99cd.js} +5 -5
  199. package/dist/chunks/{state-t7kxrzfv.js → location-activity-mx7bb7hv.js} +11 -11
  200. package/dist/chunks/{state-f5cp0sk0.js → location-activity-n60bb144.js} +7 -7
  201. package/dist/chunks/location-activity-n73vg02w.js +251 -0
  202. package/dist/chunks/{state-rn2343kj.js → location-activity-nh0rq1at.js} +61 -61
  203. package/dist/chunks/{state-e82z9tr0.js → location-activity-nhy5jxhy.js} +7 -7
  204. package/dist/chunks/{state-nng2ktcm.js → location-activity-nng2ktcm.js} +2 -2
  205. package/dist/chunks/{state-3w05p07m.js → location-activity-nrv5pzdz.js} +16 -16
  206. package/dist/chunks/{state-zmhc1ceh.js → location-activity-p1epjeyw.js} +4 -4
  207. package/dist/chunks/{state-fc7zbc5p.js → location-activity-p4cmyzqs.js} +8 -8
  208. package/dist/chunks/{state-3zevfmxv.js → location-activity-p9wvsgef.js} +1 -1
  209. package/dist/chunks/{state-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
  210. package/dist/chunks/{state-pknna89w.js → location-activity-pknna89w.js} +1 -1
  211. package/dist/chunks/{state-0faq74rz.js → location-activity-qapjpsgn.js} +11 -11
  212. package/dist/chunks/{state-d3yf3xs0.js → location-activity-qc2dn5sv.js} +35 -35
  213. package/dist/chunks/{state-r402hwa6.js → location-activity-qg3g05ea.js} +1 -8
  214. package/dist/chunks/{state-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
  215. package/dist/chunks/{state-8pj4s1sz.js → location-activity-qt2yfpa3.js} +10 -10
  216. package/dist/chunks/{state-r9mregkx.js → location-activity-r9mregkx.js} +2 -2
  217. package/dist/chunks/{state-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{state-xwm0ajsd.js → location-activity-rh3fxfj6.js} +3 -3
  219. package/dist/chunks/{state-rhjbct0v.js → location-activity-rhjbct0v.js} +1 -1
  220. package/dist/chunks/{state-35agz59w.js → location-activity-rph3zd4r.js} +4 -4
  221. package/dist/chunks/{state-6mp5kyz7.js → location-activity-rrzkscs6.js} +135 -135
  222. package/dist/chunks/{state-7bqgghcm.js → location-activity-s2b0pbwn.js} +37 -37
  223. package/dist/chunks/{state-s4enseaf.js → location-activity-s4enseaf.js} +2 -2
  224. package/dist/chunks/{state-ezc4vqg9.js → location-activity-s86c7pyr.js} +16 -16
  225. package/dist/chunks/{state-j4w3v36h.js → location-activity-sbkgsf4g.js} +15 -15
  226. package/dist/chunks/{state-3te25qqc.js → location-activity-sbqg3kz8.js} +54 -331
  227. package/dist/chunks/{state-3jwvk6df.js → location-activity-sc5vqhje.js} +11 -11
  228. package/dist/chunks/{state-2texzmrd.js → location-activity-skq13fc4.js} +24 -24
  229. package/dist/chunks/{state-sb225ygc.js → location-activity-svjhcw9a.js} +18 -18
  230. package/dist/chunks/{state-3sr08wap.js → location-activity-t3hjw8gy.js} +6 -6
  231. package/dist/chunks/{state-sw33f489.js → location-activity-t6gjch8v.js} +9 -9
  232. package/dist/chunks/{state-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{state-tcezcvh9.js → location-activity-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{state-sb6d7jsa.js → location-activity-td10rya3.js} +13 -13
  235. package/dist/chunks/{state-tdstcens.js → location-activity-tdstcens.js} +1 -1
  236. package/dist/chunks/{state-dd3vv6mw.js → location-activity-tfw1q3xt.js} +20 -20
  237. package/dist/chunks/{state-txxgpxvq.js → location-activity-tk20ndtt.js} +3 -3
  238. package/dist/chunks/{state-ryt7pzqc.js → location-activity-ts2x07a1.js} +1 -1
  239. package/dist/chunks/{state-kkvmk5mz.js → location-activity-tsvd8swj.js} +10 -10
  240. package/dist/chunks/{state-kxfmahn5.js → location-activity-tv502m7y.js} +20 -20
  241. package/dist/chunks/{state-tvtrv512.js → location-activity-tvtrv512.js} +1 -1
  242. package/dist/chunks/{state-agndh9mm.js → location-activity-twym31zm.js} +3 -3
  243. package/dist/chunks/{state-bjmdedkt.js → location-activity-v1q7vfww.js} +6 -6
  244. package/dist/chunks/{state-m4hmv5tv.js → location-activity-v2rse8td.js} +30 -30
  245. package/dist/chunks/{state-qhptap2d.js → location-activity-v8wfqh48.js} +14 -14
  246. package/dist/chunks/{state-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
  247. package/dist/chunks/{state-qte5z7bc.js → location-activity-vmq7ehpy.js} +5 -5
  248. package/dist/chunks/{state-dfem2sdx.js → location-activity-vnqs2v2n.js} +2 -2
  249. package/dist/chunks/{state-t4c6n1n4.js → location-activity-vqhy7mcb.js} +9 -9
  250. package/dist/chunks/{state-c20khjev.js → location-activity-vsp1fds9.js} +4 -4
  251. package/dist/chunks/{state-9je39wvw.js → location-activity-vvwshk7d.js} +43 -43
  252. package/dist/chunks/{state-vzcthcp8.js → location-activity-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{state-bajjbck4.js → location-activity-w3mhw6sa.js} +27 -27
  254. package/dist/chunks/{state-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{state-wwr4cs06.js → location-activity-wc3cewcr.js} +11 -11
  256. package/dist/chunks/{state-xnvr041a.js → location-activity-wc3fc9cn.js} +1 -6
  257. package/dist/chunks/{state-wd87259q.js → location-activity-wd87259q.js} +1 -1
  258. package/dist/chunks/{state-d2y84238.js → location-activity-wnw4ypwe.js} +23 -23
  259. package/dist/chunks/{state-dfst6sb1.js → location-activity-wpea5dn8.js} +17 -17
  260. package/dist/chunks/{state-78b8w714.js → location-activity-ws7pr2ad.js} +24 -24
  261. package/dist/chunks/{state-xg3fmavg.js → location-activity-wt24dnah.js} +9 -9
  262. package/dist/chunks/{state-571v8kyd.js → location-activity-wtyjep1k.js} +32 -32
  263. package/dist/chunks/{state-wq66yabw.js → location-activity-wv4jkh9x.js} +44 -44
  264. package/dist/chunks/{state-n91phzgs.js → location-activity-wzast1kb.js} +13 -13
  265. package/dist/chunks/{state-x1ezjp6w.js → location-activity-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{state-10q2fftm.js → location-activity-x6df8716.js} +8 -8
  267. package/dist/chunks/{state-1p637tnt.js → location-activity-xjty5wr6.js} +18 -18
  268. package/dist/chunks/{state-azcr6ymc.js → location-activity-xzz44w32.js} +20 -20
  269. package/dist/chunks/{state-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{state-8zrm0029.js → location-activity-y3hwqzcx.js} +29 -29
  271. package/dist/chunks/{state-xcmejnqk.js → location-activity-y4gdvsem.js} +8 -8
  272. package/dist/chunks/{state-097xh0r3.js → location-activity-yf74hprm.js} +32 -32
  273. package/dist/chunks/{state-mw934p8z.js → location-activity-yg6nt6v4.js} +8 -8
  274. package/dist/chunks/{state-29wq7zbx.js → location-activity-yk587snj.js} +15 -15
  275. package/dist/chunks/{state-cw6ezj50.js → location-activity-yppxx2jj.js} +24 -24
  276. package/dist/chunks/{state-yrhqyw5v.js → location-activity-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{state-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{state-j7q006w5.js → location-activity-z7m0yey7.js} +14 -14
  279. package/dist/chunks/{state-zeh9ct20.js → location-activity-zeh9ct20.js} +2 -2
  280. package/dist/chunks/{state-fm5c3zy8.js → location-activity-zezwqwg8.js} +16 -16
  281. package/dist/chunks/{state-28kcw9hr.js → location-activity-zfj2pyyt.js} +34 -45
  282. package/dist/chunks/{state-j4265jp1.js → location-activity-zfpnhvxy.js} +41 -41
  283. package/dist/chunks/{state-68na6ghx.js → location-activity-zmxnz357.js} +11 -11
  284. package/dist/chunks/{state-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{state-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{state-sy64ktx8.js → location-activity-zyb93ydj.js} +2 -2
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +9 -9
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +82 -82
  291. package/dist/config/discovery.js +81 -81
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +105 -105
  294. package/dist/config/plugin/agent.js +122 -122
  295. package/dist/config/plugin/command.js +210 -211
  296. package/dist/config/plugin/compaction.js +158 -159
  297. package/dist/config/plugin/compatibility.js +140 -140
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +123 -123
  300. package/dist/config/plugin/image.js +122 -122
  301. package/dist/config/plugin/instruction.js +89 -89
  302. package/dist/config/plugin/location-watcher.js +122 -122
  303. package/dist/config/plugin/mcp.js +129 -129
  304. package/dist/config/plugin/policy.js +122 -122
  305. package/dist/config/plugin/provider.js +122 -121
  306. package/dist/config/plugin/reference.js +124 -124
  307. package/dist/config/plugin/shell.js +124 -124
  308. package/dist/config/plugin/skill-file.js +101 -101
  309. package/dist/config/plugin/skill.js +143 -143
  310. package/dist/config/plugin/snapshot.js +122 -122
  311. package/dist/config/plugin/source.js +125 -125
  312. package/dist/config/plugin/tool-output.js +124 -124
  313. package/dist/config/plugin/websearch.js +123 -123
  314. package/dist/config/plugin/worktree.js +125 -125
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +121 -121
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +78 -78
  320. package/dist/database/database.js +65 -65
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +75 -75
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -365
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +92 -92
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +94 -94
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +69 -69
  409. package/dist/file-access.js +103 -103
  410. package/dist/file-mutation.js +93 -93
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.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/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -223
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +102 -102
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +7 -7
  424. package/dist/filesystem.js +105 -105
  425. package/dist/form.js +81 -81
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +86 -86
  428. package/dist/generate.js +102 -103
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +90 -90
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +353 -356
  454. package/dist/instruction-discovery.js +84 -84
  455. package/dist/instructions/builtins.js +86 -86
  456. package/dist/instructions/index.js +1 -1
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +79 -79
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +131 -132
  463. package/dist/location-mutation.js +103 -103
  464. package/dist/location-service-map.js +85 -85
  465. package/dist/location-services.js +350 -353
  466. package/dist/location.js +86 -86
  467. package/dist/mcp/client.js +90 -90
  468. package/dist/mcp/index.js +107 -107
  469. package/dist/mcp/instructions.js +124 -124
  470. package/dist/mcp/oauth.js +77 -77
  471. package/dist/mcp/stdio.js +89 -89
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +90 -90
  474. package/dist/model-resolver.js +97 -98
  475. package/dist/model.js +93 -93
  476. package/dist/models-dev.js +106 -105
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +75 -75
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +106 -106
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +87 -87
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -74
  486. package/dist/plugin/agent.js +101 -101
  487. package/dist/plugin/command.js +98 -98
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +215 -216
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +324 -327
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +95 -94
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +101 -101
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  499. package/dist/plugin/provider/azure.js +121 -121
  500. package/dist/plugin/provider/cerebras.js +1 -89
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -121
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -121
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +118 -118
  505. package/dist/plugin/provider/digitalocean.js +92 -92
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +92 -92
  510. package/dist/plugin/provider/gitlab.js +90 -90
  511. package/dist/plugin/provider/google-vertex.js +89 -89
  512. package/dist/plugin/provider/kilo.js +1 -89
  513. package/dist/plugin/provider/llmgateway.js +76 -89
  514. package/dist/plugin/provider/lmstudio.js +121 -121
  515. package/dist/plugin/provider/modal.js +91 -91
  516. package/dist/plugin/provider/nvidia.js +1 -89
  517. package/dist/plugin/provider/ollama.js +121 -121
  518. package/dist/plugin/provider/openai.js +93 -93
  519. package/dist/plugin/provider/opencode.js +92 -92
  520. package/dist/plugin/provider/openrouter.js +90 -90
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +77 -77
  523. package/dist/plugin/provider/sap-ai-core.js +90 -90
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  526. package/dist/plugin/provider/venice.js +2 -2
  527. package/dist/plugin/provider/vercel.js +89 -89
  528. package/dist/plugin/provider/vllm.js +121 -121
  529. package/dist/plugin/provider/xai.js +90 -90
  530. package/dist/plugin/provider/zenmux.js +1 -89
  531. package/dist/plugin/provider.js +157 -159
  532. package/dist/plugin/sdk.js +75 -75
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +140 -140
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +343 -346
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +85 -85
  539. package/dist/plugin/vcs/hg.js +85 -85
  540. package/dist/plugin/warming.js +120 -120
  541. package/dist/plugin/websearch/exa.js +7 -7
  542. package/dist/plugin/websearch/firecrawl.js +8 -8
  543. package/dist/plugin/websearch/index.js +9 -9
  544. package/dist/plugin/websearch/mcp.js +4 -4
  545. package/dist/plugin/websearch/parallel.js +8 -8
  546. package/dist/plugin/websearch/tavily.js +4 -4
  547. package/dist/plugin/websearch/tinyfish.js +8 -8
  548. package/dist/plugin.js +226 -227
  549. package/dist/project/schema.js +8 -8
  550. package/dist/project/sql.js +4 -4
  551. package/dist/project.js +89 -89
  552. package/dist/provider.js +92 -92
  553. package/dist/pty/protocol.js +1 -1
  554. package/dist/pty/schema.js +3 -3
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +97 -97
  557. package/dist/reference/instructions.js +86 -86
  558. package/dist/reference.js +88 -88
  559. package/dist/repository-cache.js +80 -80
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +96 -96
  563. package/dist/rpc.js +85 -85
  564. package/dist/schema.js +1 -1
  565. package/dist/session/command.js +73 -73
  566. package/dist/session/compaction.js +128 -129
  567. package/dist/session/context.js +150 -151
  568. package/dist/session/diff.js +87 -87
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +5 -5
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +219 -220
  573. package/dist/session/execution.js +125 -126
  574. package/dist/session/generate.js +151 -152
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +87 -87
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +78 -78
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +96 -96
  581. package/dist/session/message-updater.js +4 -4
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +117 -117
  584. package/dist/session/model-transport.js +9 -9
  585. package/dist/session/move.js +129 -130
  586. package/dist/session/projector.js +85 -85
  587. package/dist/session/prompt.js +104 -104
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +89 -89
  590. package/dist/session/run-coordinator.js +3 -3
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +227 -228
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +97 -98
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +113 -114
  597. package/dist/session/runner/step.js +124 -125
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +1 -1
  600. package/dist/session/session.js +169 -170
  601. package/dist/session/shell.js +137 -137
  602. package/dist/session/skill.js +102 -102
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +72 -72
  605. package/dist/session/store.js +86 -86
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +208 -209
  608. package/dist/session/system-prompt.js +5 -5
  609. package/dist/session/title.js +154 -155
  610. package/dist/session/to-session-error.js +110 -111
  611. package/dist/session/transfer.js +213 -214
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +214 -215
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +7 -7
  618. package/dist/shell.js +137 -137
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +104 -104
  621. package/dist/skill.js +111 -111
  622. package/dist/snapshot.js +90 -90
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +123 -123
  627. package/dist/tool/plugin/edit.js +117 -117
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +123 -123
  630. package/dist/tool/plugin/grep.js +119 -119
  631. package/dist/tool/plugin/opencode.js +3 -3
  632. package/dist/tool/plugin/patch.js +121 -121
  633. package/dist/tool/plugin/question.js +104 -104
  634. package/dist/tool/plugin/read.js +124 -124
  635. package/dist/tool/plugin/shell.js +215 -216
  636. package/dist/tool/plugin/skill.js +112 -112
  637. package/dist/tool/plugin/subagent.js +217 -218
  638. package/dist/tool/plugin/webfetch.js +109 -109
  639. package/dist/tool/plugin/websearch.js +113 -113
  640. package/dist/tool/plugin/write.js +121 -121
  641. package/dist/tool/read-filesystem.js +97 -97
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +13 -13
  645. package/dist/types/aisdk-native.d.ts +21 -13
  646. package/dist/types/mime.d.ts +1 -1
  647. package/dist/types/variant.d.ts +14 -0
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +2 -2
  662. package/dist/v1/config/formatter.js +3 -3
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +3 -3
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +91 -91
  667. package/dist/v1/config/permission.js +3 -3
  668. package/dist/v1/config/plugin.js +1 -1
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/variant.js +97 -0
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +88 -88
  677. package/dist/websearch.js +83 -83
  678. package/dist/wellknown/plugin.js +75 -75
  679. package/dist/wellknown.js +78 -78
  680. package/dist/workspace/driver.js +5 -5
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +77 -77
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +10 -10
  685. package/dist/worktree/refresh.js +342 -345
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree.js +95 -95
  688. package/package.json +9 -15
  689. package/dist/chunks/state-2118r6de.js +0 -26
  690. package/dist/chunks/state-5edc1x4t.js +0 -472
  691. package/dist/chunks/state-5r663aq2.js +0 -251
  692. package/dist/chunks/state-71n3th9c.js +0 -53
  693. package/dist/chunks/state-71q4at8m.js +0 -15
  694. package/dist/chunks/state-gyce5qg1.js +0 -18
  695. package/dist/chunks/state-h47he10w.js +0 -4
  696. package/dist/chunks/state-hrnqkpcd.js +0 -20
  697. package/dist/chunks/state-ph0fbfq2.js +0 -170
  698. package/dist/chunks/state-t8esaq1p.js +0 -118
  699. package/dist/chunks/state-vzy7bsbz.js +0 -331
  700. package/dist/plugin/provider/alibaba.js +0 -7
  701. package/dist/plugin/provider/openai-compatible.js +0 -6
  702. package/dist/plugin/variant.js +0 -98
  703. package/dist/types/plugin/provider/alibaba.d.ts +0 -1
  704. package/dist/types/plugin/provider/openai-compatible.d.ts +0 -1
  705. package/dist/types/plugin/variant.d.ts +0 -10
  706. /package/dist/chunks/{state-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
  707. /package/dist/chunks/{state-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
  708. /package/dist/chunks/{state-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
  709. /package/dist/chunks/{state-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
  710. /package/dist/chunks/{state-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
  711. /package/dist/chunks/{state-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{state-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{state-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{state-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{state-3asan66x.js → location-activity-3asan66x.js} +0 -0
  716. /package/dist/chunks/{state-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{state-3w5fmr99.js → location-activity-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{state-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{state-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{state-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{state-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{state-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{state-53557ph1.js → location-activity-53557ph1.js} +0 -0
  724. /package/dist/chunks/{state-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{state-6prwharc.js → location-activity-6prwharc.js} +0 -0
  726. /package/dist/chunks/{state-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{state-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{state-7w99qc9d.js → location-activity-7w99qc9d.js} +0 -0
  729. /package/dist/chunks/{state-822emrt2.js → location-activity-822emrt2.js} +0 -0
  730. /package/dist/chunks/{state-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{state-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{state-922hggd3.js → location-activity-922hggd3.js} +0 -0
  733. /package/dist/chunks/{state-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{state-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{state-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{state-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{state-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{state-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{state-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{state-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{state-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{state-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{state-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{state-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{state-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{state-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{state-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{state-df08tz66.js → location-activity-df08tz66.js} +0 -0
  749. /package/dist/chunks/{state-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{state-e3qxr5gk.js → location-activity-e3qxr5gk.js} +0 -0
  751. /package/dist/chunks/{state-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{state-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{state-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{state-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{state-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{state-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{state-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{state-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{state-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{state-fxgpk5d8.js → location-activity-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{state-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{state-g86h250q.js → location-activity-g86h250q.js} +0 -0
  763. /package/dist/chunks/{state-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{state-gftt206x.js → location-activity-gftt206x.js} +0 -0
  765. /package/dist/chunks/{state-hjbc5kem.js → location-activity-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{state-hk9envan.js → location-activity-hk9envan.js} +0 -0
  767. /package/dist/chunks/{state-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{state-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{state-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{state-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{state-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{state-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{state-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{state-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{state-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{state-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{state-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{state-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{state-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{state-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{state-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{state-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
  783. /package/dist/chunks/{state-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
  784. /package/dist/chunks/{state-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
  785. /package/dist/chunks/{state-sk3qaz4a.js → location-activity-sk3qaz4a.js} +0 -0
  786. /package/dist/chunks/{state-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
  787. /package/dist/chunks/{state-twg0f83k.js → location-activity-twg0f83k.js} +0 -0
  788. /package/dist/chunks/{state-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{state-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
  790. /package/dist/chunks/{state-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
  791. /package/dist/chunks/{state-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
  792. /package/dist/chunks/{state-x61499pn.js → location-activity-x61499pn.js} +0 -0
  793. /package/dist/chunks/{state-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
  794. /package/dist/chunks/{state-y8cydn3q.js → location-activity-y8cydn3q.js} +0 -0
  795. /package/dist/chunks/{state-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
  796. /package/dist/chunks/{state-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
  797. /package/dist/chunks/{state-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
  798. /package/dist/chunks/{state-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service72
3
- } from "./state-cw6ezj50.js";
2
+ Service64
3
+ } from "./location-activity-yppxx2jj.js";
4
4
  import {
5
- Service53,
5
+ Service16,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./state-hk9khx82.js";
8
+ } from "./location-activity-9n5n83y6.js";
9
9
  import {
10
- Service51
11
- } from "./state-35g6mzst.js";
10
+ Service43
11
+ } from "./location-activity-4gc7b6vq.js";
12
12
  import {
13
- Service44
14
- } from "./state-n5a5z38x.js";
13
+ Service54
14
+ } from "./location-activity-cjkdazrq.js";
15
15
  import {
16
- Service43
17
- } from "./state-jbqb2jwb.js";
16
+ Service13
17
+ } from "./location-activity-eehws5bb.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./state-6prwharc.js";
20
+ } from "./location-activity-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./state-9rqn6x4v.js";
23
+ } from "./location-activity-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input11,
29
- Output: () => Output7,
30
- Plugin: () => Plugin13,
28
+ Input: () => Input7,
29
+ Output: () => Output6,
30
+ Plugin: () => Plugin39,
31
31
  WriteTool: () => exports_write,
32
- name: () => name11,
33
- toModelContent: () => toModelContent6
32
+ name: () => name7,
33
+ toModelContent: () => toModelContent5
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name11 = "write";
39
- var Input11 = Schema.Struct({
38
+ var name7 = "write";
39
+ var Input7 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output7 = Schema.Struct({
45
+ var Output6 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin13 = {
51
+ var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin39 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service43;
56
- const fileMutation = yield* Service53;
57
- const environment = yield* Service72;
58
- const formatter = yield* Service51;
59
- const permission = yield* Service44;
55
+ const access = yield* Service13;
56
+ const fileMutation = yield* Service16;
57
+ const environment = yield* Service64;
58
+ const formatter = yield* Service43;
59
+ const permission = yield* Service54;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name11,
61
+ name: name7,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input11,
69
- output: Output7,
68
+ input: Input7,
69
+ output: Output6,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name11, Input11, Output7, toModelContent6, Plugin13, exports_write };
101
+ export { name7, Input7, Output6, toModelContent5, Plugin39, exports_write };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./state-922hggd3.js";
3
+ } from "./location-activity-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service64
7
- } from "./state-d3yf3xs0.js";
6
+ Service62
7
+ } from "./location-activity-qc2dn5sv.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./state-2a5m3afh.js";
10
+ } from "./location-activity-2a5m3afh.js";
11
11
  import {
12
- Service72
13
- } from "./state-cw6ezj50.js";
12
+ Service64
13
+ } from "./location-activity-yppxx2jj.js";
14
14
  import {
15
- Service34
16
- } from "./state-dfst6sb1.js";
15
+ Service51
16
+ } from "./location-activity-wpea5dn8.js";
17
17
  import {
18
- Service44
19
- } from "./state-n5a5z38x.js";
18
+ Service54
19
+ } from "./location-activity-cjkdazrq.js";
20
20
  import {
21
- Service43,
21
+ Service13,
22
22
  resolvePath2
23
- } from "./state-jbqb2jwb.js";
23
+ } from "./location-activity-eehws5bb.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./state-fxbjtjnd.js";
29
+ } from "./location-activity-fxbjtjnd.js";
30
30
  import {
31
- Service75,
31
+ Service66,
32
32
  name15
33
- } from "./state-3jwvk6df.js";
33
+ } from "./location-activity-sc5vqhje.js";
34
34
  import {
35
35
  NotFoundError9,
36
- Service61
37
- } from "./state-gmh1p7c3.js";
36
+ Service59
37
+ } from "./location-activity-05qdzf61.js";
38
38
  import {
39
- Service14
40
- } from "./state-33b7aymv.js";
39
+ Service20
40
+ } from "./location-activity-5sj01k15.js";
41
41
  import {
42
42
  scan2
43
- } from "./state-ymawwaz8.js";
43
+ } from "./location-activity-garm4tc5.js";
44
44
  import {
45
45
  __export
46
- } from "./state-9rqn6x4v.js";
46
+ } from "./location-activity-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input8,
53
- Plugin: () => Plugin10,
54
- ShellTool: () => exports_shell,
55
- name: () => name8
52
+ Input: () => Input10,
53
+ Plugin: () => Plugin42,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name10
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name8 = "shell";
59
+ var name10 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input8 = Schema.Struct({
73
+ var Input10 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin10 = {
118
+ var Plugin42 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service14;
122
- const jobs = yield* Service34;
121
+ const sessions = yield* Service20;
122
+ const jobs = yield* Service51;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service72;
125
- const access = yield* Service43;
126
- const shell = yield* Service61;
127
- const shellSelect = yield* Service75;
124
+ const environment = yield* Service64;
125
+ const access = yield* Service13;
126
+ const shell = yield* Service59;
127
+ const shellSelect = yield* Service66;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service44;
130
- const config = yield* Service64;
129
+ const permission = yield* Service54;
130
+ const config = yield* Service62;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin10 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name8,
149
+ action: name10,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin10 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name8,
186
+ name: name10,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input8,
189
+ input: Input10,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name8,
222
+ type: name10,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name8];
252
+ const tool = event.tools[name10];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin10, exports_shell };
263
+ export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin42, exports_shell2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service81,
3
3
  node86
4
- } from "./state-sxmda080.js";
4
+ } from "./location-activity-fs9jbr70.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
8
  make20,
9
9
  combine2
10
- } from "./state-rhjbct0v.js";
10
+ } from "./location-activity-rhjbct0v.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./state-a1bz86dw.js";
13
+ } from "./location-activity-5c4hm403.js";
14
14
  import {
15
15
  __export
16
- } from "./state-9rqn6x4v.js";
16
+ } from "./location-activity-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info3,
21
+ Info: () => Info4,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service20,
25
+ Service: () => Service28,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node25,
29
+ node: () => node33,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info3 = InstructionEntry.Info;
37
+ var Info4 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service20 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service28 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
@@ -75,7 +75,7 @@ var source = (entry) => make20({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service20, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
79
79
  const { db } = yield* Service81;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service20.of({ list, put, remove, load });
111
+ return Service28.of({ list, put, remove, load });
112
112
  }));
113
- var node25 = makeLocationNode({ service: Service20, layer, deps: [node86] });
113
+ var node33 = makeLocationNode({ service: Service28, layer, deps: [node86] });
114
114
 
115
- export { Key2, Info3, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service20, node25, exports_instruction_entry };
115
+ export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service28, node33, exports_instruction_entry };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./location-activity-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service80
3
- } from "./state-zmhc1ceh.js";
3
+ } from "./location-activity-p1epjeyw.js";
4
4
  import {
5
- Service66,
5
+ Service67,
6
6
  Event15
7
- } from "./state-j4w3v36h.js";
7
+ } from "./location-activity-sbkgsf4g.js";
8
8
  import {
9
9
  __export
10
- } from "./state-9rqn6x4v.js";
10
+ } from "./location-activity-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin2,
15
+ Plugin: () => Plugin45,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin2 = define({
20
+ var Plugin45 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  const bus = yield* Service80;
24
- const wellknown = yield* Service66;
24
+ const wellknown = yield* Service67;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -45,4 +45,4 @@ var Plugin2 = define({
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin2, exports_plugin };
48
+ export { Plugin45, exports_plugin };
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./state-922hggd3.js";
5
+ } from "./location-activity-922hggd3.js";
6
6
  import {
7
- Service72,
8
- node76
9
- } from "./state-cw6ezj50.js";
7
+ Service64,
8
+ node68
9
+ } from "./location-activity-yppxx2jj.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./state-8d7r5vzw.js";
12
+ } from "./location-activity-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./state-9rqn6x4v.js";
15
+ } from "./location-activity-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error4,
20
+ Error: () => Error2,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service58,
24
- node: () => node62
23
+ Service: () => Service19,
24
+ node: () => node22
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service58 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service19 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error4({ message, cause });
63
+ var failure = (message, cause) => new Error2({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service58, Effect.gen(function* () {
67
- const environment = yield* Service72;
66
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
67
+ const environment = yield* Service64;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service58.of({
95
+ return Service19.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node62 = makeLocationNode({ service: Service58, layer, deps: [node76, RipgrepBinary2.node] });
178
+ var node22 = makeLocationNode({ service: Service19, layer, deps: [node68, RipgrepBinary2.node] });
179
179
 
180
- export { Error4, InvalidPatternError2, Service58, node62, exports_ripgrep };
180
+ export { Error2, InvalidPatternError2, Service19, node22, exports_ripgrep };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./state-922hggd3.js";
3
+ } from "./location-activity-922hggd3.js";
4
4
  import {
5
- Service78,
6
- node83
7
- } from "./state-raec4cfz.js";
5
+ Service79,
6
+ node84
7
+ } from "./location-activity-41kev6en.js";
8
8
  import {
9
9
  parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./state-2402vzrj.js";
13
+ } from "./location-activity-2402vzrj.js";
14
14
  import {
15
- Service67,
16
- node71
17
- } from "./state-npkvcn11.js";
15
+ Service74,
16
+ node79
17
+ } from "./location-activity-hr32vd4d.js";
18
18
  import {
19
19
  __export
20
- } from "./state-9rqn6x4v.js";
20
+ } from "./location-activity-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service40,
33
+ Service: () => Service38,
34
34
  isError: () => isError2,
35
- node: () => node44,
35
+ node: () => node43,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service40 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service38 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service40, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service78;
106
+ const git = yield* Service79;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service67;
110
- return Service40.of({
109
+ const kv = yield* Service74;
110
+ return Service38.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node44 = makeGlobalNode({
171
- service: Service40,
170
+ var node43 = makeGlobalNode({
171
+ service: Service38,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node83, Global.node, node71]
173
+ deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node79]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service40, isError2, validateBranch2, node44, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service38, isError2, validateBranch2, node43, exports_repository_cache };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./location-activity-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};