@opencode/core 0.0.0-beta-19283 → 0.0.0-beta-19288

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{file-mutation-qwqr3n23.js → location-02hgpx06.js} +7 -7
  9. package/dist/chunks/{file-mutation-mbfhs0cg.js → location-07cpqq5c.js} +32 -32
  10. package/dist/chunks/{file-mutation-bb3j3psa.js → location-0bzsvv4f.js} +8 -8
  11. package/dist/chunks/{file-mutation-kf6yd70a.js → location-0dh601sh.js} +9 -9
  12. package/dist/chunks/location-0mesazry.js +4 -0
  13. package/dist/chunks/{file-mutation-3ea0hr43.js → location-0njzyrny.js} +28 -28
  14. package/dist/chunks/{file-mutation-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{file-mutation-0q0f95c6.js → location-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{file-mutation-3x45ad37.js → location-0yq2vxwx.js} +23 -23
  17. package/dist/chunks/{file-mutation-e3qr8qh7.js → location-0zzhyfap.js} +11 -11
  18. package/dist/chunks/{file-mutation-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{file-mutation-0hpxrkyb.js → location-1dfhrqqs.js} +5 -5
  20. package/dist/chunks/{file-mutation-sd8x8c65.js → location-1hfsjvjf.js} +28 -28
  21. package/dist/chunks/{file-mutation-g6ww450v.js → location-1kqd8z3g.js} +4 -4
  22. package/dist/chunks/location-1x11rq2a.js +18 -0
  23. package/dist/chunks/{file-mutation-g2emr326.js → location-1xnwpsdb.js} +27 -27
  24. package/dist/chunks/{file-mutation-21r38tys.js → location-21r38tys.js} +1 -1
  25. package/dist/chunks/{file-mutation-c5c317t5.js → location-22zgx542.js} +8 -8
  26. package/dist/chunks/{file-mutation-2402vzrj.js → location-2402vzrj.js} +1 -1
  27. package/dist/chunks/{file-mutation-gm1k8myf.js → location-24xcqkxa.js} +10 -10
  28. package/dist/chunks/{file-mutation-m0jtk5b3.js → location-2699pam8.js} +30 -30
  29. package/dist/chunks/{file-mutation-4fjbcyqb.js → location-27xkhkzw.js} +24 -24
  30. package/dist/chunks/{file-mutation-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{file-mutation-xryrtgfh.js → location-2dqf8fez.js} +4 -4
  32. package/dist/chunks/{file-mutation-zedst77g.js → location-2erkhkk3.js} +33 -33
  33. package/dist/chunks/{file-mutation-bwshncvd.js → location-2f04pwep.js} +3 -3
  34. package/dist/chunks/{file-mutation-ftnkmamc.js → location-2n69zwpj.js} +20 -20
  35. package/dist/chunks/{file-mutation-2vcmvr51.js → location-2ydbzgba.js} +4 -4
  36. package/dist/chunks/{file-mutation-8m0rbw91.js → location-3280sxnm.js} +6 -6
  37. package/dist/chunks/{file-mutation-1ygqh575.js → location-33w4ejhs.js} +6 -6
  38. package/dist/chunks/{file-mutation-82mcaj86.js → location-34njjamc.js} +10 -10
  39. package/dist/chunks/{file-mutation-gyt4xc7p.js → location-37hegrs4.js} +13 -13
  40. package/dist/chunks/{file-mutation-5qczcnpy.js → location-39gsfx95.js} +24 -24
  41. package/dist/chunks/{file-mutation-2wyjv582.js → location-3cxp5vcp.js} +4 -4
  42. package/dist/chunks/{file-mutation-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  43. package/dist/chunks/{file-mutation-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{file-mutation-vabb23s0.js → location-3rran09x.js} +1 -1
  45. package/dist/chunks/{file-mutation-fq1h1v14.js → location-3rx2nwvc.js} +3 -3
  46. package/dist/chunks/{file-mutation-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{file-mutation-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{file-mutation-tjxznqzk.js → location-3v0ddjaj.js} +11 -11
  49. package/dist/chunks/{file-mutation-z7k8rsga.js → location-3xt2dn0n.js} +13 -13
  50. package/dist/chunks/{file-mutation-zqgpk263.js → location-41jkd1br.js} +25 -25
  51. package/dist/chunks/{file-mutation-p4rfye9r.js → location-4ctep4ed.js} +16 -16
  52. package/dist/chunks/{file-mutation-vzm76b3t.js → location-4m2pmvxz.js} +6 -6
  53. package/dist/chunks/{file-mutation-9jwfms7w.js → location-4n03wa3j.js} +31 -31
  54. package/dist/chunks/{file-mutation-ptrg1k2p.js → location-4ycpd48q.js} +11 -11
  55. package/dist/chunks/{file-mutation-q1a91n7k.js → location-51e3a5p7.js} +2 -2
  56. package/dist/chunks/{file-mutation-8s1fj8xg.js → location-5892jdtn.js} +8 -8
  57. package/dist/chunks/{file-mutation-8x19mfpd.js → location-59m3ejf3.js} +13 -13
  58. package/dist/chunks/{file-mutation-5daktx2q.js → location-5daktx2q.js} +1 -1
  59. package/dist/chunks/{file-mutation-ka2e7rey.js → location-5dgmpcyt.js} +22 -22
  60. package/dist/chunks/{file-mutation-rsqw0z3c.js → location-5h99c1kf.js} +6 -6
  61. package/dist/chunks/{file-mutation-2336b01z.js → location-5kw0n2ma.js} +5 -5
  62. package/dist/chunks/{file-mutation-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{file-mutation-actbqwdw.js → location-61f9xf4r.js} +5 -5
  64. package/dist/chunks/{file-mutation-669tq793.js → location-669tq793.js} +1 -1
  65. package/dist/chunks/{file-mutation-b6tpec7v.js → location-66sq9ze3.js} +27 -27
  66. package/dist/chunks/{file-mutation-p5c89f54.js → location-6cd6tdvt.js} +6 -6
  67. package/dist/chunks/{file-mutation-93qrahcj.js → location-6h508dp1.js} +14 -14
  68. package/dist/chunks/{file-mutation-6msgmcgs.js → location-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{file-mutation-45hw2ke2.js → location-6qr3rp4k.js} +8 -8
  70. package/dist/chunks/{file-mutation-mv0zd19e.js → location-6wfj5a9a.js} +6 -6
  71. package/dist/chunks/{file-mutation-es821efa.js → location-6xkqp8dp.js} +8 -8
  72. package/dist/chunks/{file-mutation-beahn02f.js → location-6y8723ne.js} +29 -29
  73. package/dist/chunks/{file-mutation-bcvv562x.js → location-6zyexpsp.js} +15 -15
  74. package/dist/chunks/{file-mutation-71q4at8m.js → location-71q4at8m.js} +1 -1
  75. package/dist/chunks/{file-mutation-67ta7bkj.js → location-77vyn52g.js} +33 -33
  76. package/dist/chunks/{file-mutation-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{file-mutation-cd746zc3.js → location-7ny1t5fr.js} +27 -27
  78. package/dist/chunks/{file-mutation-84tssp1s.js → location-7ny3kv6n.js} +8 -8
  79. package/dist/chunks/{file-mutation-m3w486dh.js → location-7w1wksne.js} +4 -4
  80. package/dist/chunks/{file-mutation-8d8kddd4.js → location-7wpt1821.js} +19 -19
  81. package/dist/chunks/{file-mutation-1vnghje2.js → location-7x5129vx.js} +12 -12
  82. package/dist/chunks/{file-mutation-2s407pyf.js → location-7zfdt07m.js} +10 -10
  83. package/dist/chunks/{file-mutation-2y04n8jz.js → location-7zmb2mwr.js} +5 -5
  84. package/dist/chunks/{file-mutation-bj38exev.js → location-81c9b8hz.js} +4 -4
  85. package/dist/chunks/{file-mutation-81swgkk7.js → location-81swgkk7.js} +2 -2
  86. package/dist/chunks/{file-mutation-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{file-mutation-m1yhe7vf.js → location-8dr2m966.js} +9 -9
  88. package/dist/chunks/{file-mutation-8p4f9s12.js → location-8p4f9s12.js} +2 -2
  89. package/dist/chunks/{file-mutation-8rndkrc9.js → location-8pa9qqqg.js} +22 -22
  90. package/dist/chunks/{file-mutation-ryfyd5fe.js → location-8t891vs4.js} +14 -14
  91. package/dist/chunks/{file-mutation-38q3t4w4.js → location-95c54xjs.js} +41 -41
  92. package/dist/chunks/{file-mutation-5qzxerzy.js → location-9enfn6ca.js} +65 -65
  93. package/dist/chunks/{file-mutation-6x0tkb6y.js → location-9g2mmtg8.js} +24 -24
  94. package/dist/chunks/{file-mutation-3trbxeqx.js → location-9h3amn4q.js} +1 -1
  95. package/dist/chunks/{file-mutation-994yq7gs.js → location-9jbrb7s7.js} +17 -17
  96. package/dist/chunks/{file-mutation-3hf7z3yq.js → location-9k0trt10.js} +11 -11
  97. package/dist/chunks/{file-mutation-j7rdq0sg.js → location-9k1y1b4w.js} +6 -6
  98. package/dist/chunks/{file-mutation-he7r1j7z.js → location-9tk4atd8.js} +18 -18
  99. package/dist/chunks/{file-mutation-t171jc14.js → location-9zb490gy.js} +10 -10
  100. package/dist/chunks/{file-mutation-a1bz86dw.js → location-a1bz86dw.js} +3 -3
  101. package/dist/chunks/{file-mutation-dwmg9hrb.js → location-a1qbdnb3.js} +84 -84
  102. package/dist/chunks/{file-mutation-6j4ag5pz.js → location-a1z1dycg.js} +37 -37
  103. package/dist/chunks/{file-mutation-aaet6srn.js → location-aaet6srn.js} +2 -2
  104. package/dist/chunks/{file-mutation-pqhj6ddm.js → location-ac0cyhm9.js} +43 -43
  105. package/dist/chunks/{file-mutation-ca7w653e.js → location-afdssyjb.js} +4 -4
  106. package/dist/chunks/{file-mutation-m5shh40j.js → location-akj0j9h5.js} +2 -2
  107. package/dist/chunks/{file-mutation-hnz0zg2g.js → location-ap0kd4ae.js} +18 -18
  108. package/dist/chunks/{file-mutation-y6xnddjk.js → location-apys6pqf.js} +4 -4
  109. package/dist/chunks/{file-mutation-drfdf3ak.js → location-astwgj0c.js} +14 -14
  110. package/dist/chunks/{file-mutation-3sxqrh4h.js → location-at3ax2rg.js} +21 -21
  111. package/dist/chunks/{file-mutation-6hb1nw02.js → location-atdh1fr1.js} +30 -30
  112. package/dist/chunks/{file-mutation-rt3pmekg.js → location-av62z334.js} +35 -35
  113. package/dist/chunks/{file-mutation-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{file-mutation-prg0vcqa.js → location-barpv3dv.js} +33 -33
  115. package/dist/chunks/{file-mutation-8vkd33e4.js → location-bbd53drz.js} +169 -169
  116. package/dist/chunks/{file-mutation-bmgez2f1.js → location-bbwyhmbr.js} +15 -15
  117. package/dist/chunks/{file-mutation-c4xf5pcw.js → location-bgeh6wn9.js} +17 -17
  118. package/dist/chunks/{file-mutation-vkxpz7g2.js → location-bha4atvq.js} +4 -4
  119. package/dist/chunks/{file-mutation-vhqk6wt7.js → location-bjyyddbn.js} +11 -11
  120. package/dist/chunks/{file-mutation-09bre2bs.js → location-bw60cda1.js} +35 -35
  121. package/dist/chunks/location-cbzcwh25.js +22 -0
  122. package/dist/chunks/{file-mutation-h2gyv3sg.js → location-cek2cznd.js} +1 -1
  123. package/dist/chunks/{file-mutation-cfpkc3c9.js → location-cfpkc3c9.js} +2 -2
  124. package/dist/chunks/{file-mutation-jbpw8vb5.js → location-cy6spc12.js} +7 -7
  125. package/dist/chunks/{file-mutation-9jq9dwvq.js → location-d2412gps.js} +18 -18
  126. package/dist/chunks/{file-mutation-88adr1q9.js → location-d36y1n73.js} +12 -12
  127. package/dist/chunks/{file-mutation-9phvn7ns.js → location-d5hy5d1s.js} +3 -3
  128. package/dist/chunks/{file-mutation-d19y6w96.js → location-d6x20h48.js} +42 -42
  129. package/dist/chunks/{file-mutation-2s50d4an.js → location-dc76j9wz.js} +8 -8
  130. package/dist/chunks/{file-mutation-py90b8jm.js → location-depwzj9d.js} +9 -9
  131. package/dist/chunks/{file-mutation-06e9b0r5.js → location-dj7v5w9k.js} +4 -4
  132. package/dist/chunks/{file-mutation-186z8ksc.js → location-djxjwwc9.js} +12 -12
  133. package/dist/chunks/{file-mutation-e3pe5yny.js → location-dsd22mfz.js} +3 -3
  134. package/dist/chunks/{file-mutation-n7gchs3r.js → location-dt587sme.js} +34 -34
  135. package/dist/chunks/{file-mutation-nsfhb685.js → location-dtyxkw1z.js} +29 -29
  136. package/dist/chunks/{file-mutation-ym15bmrz.js → location-dwvzh0g2.js} +9 -9
  137. package/dist/chunks/{file-mutation-whqd4cg2.js → location-e328z05c.js} +18 -18
  138. package/dist/chunks/{file-mutation-nchh3q1h.js → location-e46r4s3c.js} +17 -17
  139. package/dist/chunks/{file-mutation-0gdmqesm.js → location-eaj1djv9.js} +8 -8
  140. package/dist/chunks/{file-mutation-gb3cfaes.js → location-eb6ejpsy.js} +18 -18
  141. package/dist/chunks/{file-mutation-0kmr7qxb.js → location-ejcg2d9c.js} +28 -28
  142. package/dist/chunks/{file-mutation-80738sq9.js → location-essgt512.js} +90 -90
  143. package/dist/chunks/{file-mutation-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{file-mutation-8hzg5heq.js → location-f3wm46p4.js} +10 -10
  145. package/dist/chunks/{file-mutation-f828m53h.js → location-f828m53h.js} +2 -2
  146. package/dist/chunks/{file-mutation-rs226bz6.js → location-fmxbrafm.js} +5 -5
  147. package/dist/chunks/{file-mutation-1zgrek1b.js → location-fvz0rdtn.js} +18 -18
  148. package/dist/chunks/{file-mutation-jps1ny4p.js → location-fw0f0qsw.js} +46 -46
  149. package/dist/chunks/{file-mutation-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
  150. package/dist/chunks/{file-mutation-dakvsad3.js → location-fzhxzx5q.js} +26 -26
  151. package/dist/chunks/{file-mutation-t51qk8jz.js → location-g190xswt.js} +21 -21
  152. package/dist/chunks/{file-mutation-hh8z4pbg.js → location-g72gjvtz.js} +8 -8
  153. package/dist/chunks/{file-mutation-806j49yq.js → location-g8d3gcyj.js} +7 -7
  154. package/dist/chunks/{file-mutation-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{file-mutation-zhsgacjb.js → location-gj6r9tb3.js} +8 -8
  156. package/dist/chunks/{file-mutation-m9q90vtq.js → location-grrcjh3r.js} +9 -9
  157. package/dist/chunks/{file-mutation-fhs97t90.js → location-gsx0ryk4.js} +5 -5
  158. package/dist/chunks/{file-mutation-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{file-mutation-tz7np2q7.js → location-gwzbkwjt.js} +17 -17
  160. package/dist/chunks/{file-mutation-d8dqhcx6.js → location-gxbbas38.js} +20 -20
  161. package/dist/chunks/{file-mutation-rt6kd21k.js → location-gxq3v17r.js} +15 -15
  162. package/dist/chunks/{file-mutation-49w8mb30.js → location-gxr1dr9e.js} +11 -11
  163. package/dist/chunks/{file-mutation-h03wrkyp.js → location-h03wrkyp.js} +2 -2
  164. package/dist/chunks/{file-mutation-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{file-mutation-fa129hwe.js → location-h9kgsp7e.js} +32 -32
  166. package/dist/chunks/{file-mutation-kj8eeftq.js → location-hapt17z5.js} +27 -27
  167. package/dist/chunks/{file-mutation-pq4st5kv.js → location-hnbxh1ec.js} +2 -2
  168. package/dist/chunks/{file-mutation-j56e64zr.js → location-j56e64zr.js} +1 -1
  169. package/dist/chunks/{file-mutation-y2vrj84a.js → location-jefma2gq.js} +10 -10
  170. package/dist/chunks/{file-mutation-e1r2x6f9.js → location-jjmq01nn.js} +36 -36
  171. package/dist/chunks/{file-mutation-tw7brqvw.js → location-jp8bt662.js} +23 -23
  172. package/dist/chunks/{file-mutation-zt5c7qyf.js → location-jwye7syw.js} +9 -9
  173. package/dist/chunks/{file-mutation-3xq6eagg.js → location-jzx475sk.js} +54 -54
  174. package/dist/chunks/{file-mutation-qz2vwnt8.js → location-k1e9d5er.js} +13 -13
  175. package/dist/chunks/{file-mutation-s2dewncd.js → location-k74qewf5.js} +16 -16
  176. package/dist/chunks/{file-mutation-w21xwbmq.js → location-k7d0894y.js} +9 -9
  177. package/dist/chunks/{file-mutation-kg06axw8.js → location-kg06axw8.js} +1 -1
  178. package/dist/chunks/{file-mutation-jw70sp16.js → location-kkcepbrv.js} +4 -4
  179. package/dist/chunks/{file-mutation-t4pq13ck.js → location-kkedg04s.js} +11 -11
  180. package/dist/chunks/{file-mutation-b28dsp24.js → location-kqrx6mz9.js} +35 -35
  181. package/dist/chunks/{file-mutation-ks65mm2v.js → location-m3g1yjqx.js} +21 -21
  182. package/dist/chunks/{file-mutation-9k2v62xn.js → location-m43qeqsy.js} +1 -1
  183. package/dist/chunks/{file-mutation-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{file-mutation-n0hfs6vw.js → location-mgcrt4av.js} +23 -23
  185. package/dist/chunks/{file-mutation-1bbkgx8g.js → location-mhkvc446.js} +3 -3
  186. package/dist/chunks/{file-mutation-mkcjrzeh.js → location-mkcjrzeh.js} +1 -1
  187. package/dist/chunks/{file-mutation-ze2evx92.js → location-mmx9f08p.js} +46 -46
  188. package/dist/chunks/{file-mutation-rvv37x7m.js → location-n2qrf0kt.js} +51 -51
  189. package/dist/chunks/{file-mutation-hyt7xt3b.js → location-nc09bz1g.js} +32 -32
  190. package/dist/chunks/{file-mutation-vypqtakx.js → location-nc3fjawf.js} +1 -1
  191. package/dist/chunks/{file-mutation-hjt4xg1x.js → location-nhy5jxhy.js} +4 -4
  192. package/dist/chunks/{file-mutation-wdnn29qe.js → location-nmxf6tf3.js} +21 -21
  193. package/dist/chunks/{file-mutation-ttr98dqn.js → location-nrg6p0d7.js} +22 -22
  194. package/dist/chunks/{file-mutation-y9dm3m96.js → location-nty3ym86.js} +5 -5
  195. package/dist/chunks/{file-mutation-mgaz471z.js → location-nvpsz6mb.js} +1 -1
  196. package/dist/chunks/{file-mutation-55fsb9kg.js → location-nxts4mre.js} +24 -24
  197. package/dist/chunks/location-nzwad44m.js +462 -0
  198. package/dist/chunks/{file-mutation-3tkzazqm.js → location-p2fyd12k.js} +25 -25
  199. package/dist/chunks/{file-mutation-3cz8rj72.js → location-p44d8wdy.js} +5 -5
  200. package/dist/chunks/{file-mutation-c95cvesc.js → location-p72z5xx6.js} +2 -2
  201. package/dist/chunks/{file-mutation-kx5d5bhr.js → location-p7tj0pd3.js} +15 -15
  202. package/dist/chunks/{file-mutation-q7eqe2cf.js → location-p8vbaxe4.js} +30 -30
  203. package/dist/chunks/{file-mutation-j935v87r.js → location-paphc93g.js} +2 -2
  204. package/dist/chunks/{file-mutation-rcwb6wwf.js → location-pg1rtztb.js} +53 -53
  205. package/dist/chunks/{file-mutation-j2kgjx3g.js → location-ph9kp892.js} +5 -5
  206. package/dist/chunks/{file-mutation-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{file-mutation-pknna89w.js → location-pknna89w.js} +1 -1
  208. package/dist/chunks/{file-mutation-bve5mb3t.js → location-q221t5h0.js} +9 -9
  209. package/dist/chunks/{file-mutation-5xtgfte3.js → location-q26tgv94.js} +8 -8
  210. package/dist/chunks/{file-mutation-vwntjgrk.js → location-q3m96704.js} +30 -30
  211. package/dist/chunks/{file-mutation-hxmjvm96.js → location-q636n16a.js} +46 -46
  212. package/dist/chunks/{file-mutation-pqeratpj.js → location-qa467n4w.js} +11 -11
  213. package/dist/chunks/{file-mutation-h1fkweye.js → location-qfrw2mns.js} +17 -17
  214. package/dist/chunks/{file-mutation-fcrkznn8.js → location-qgn6gcr1.js} +5 -5
  215. package/dist/chunks/{file-mutation-h9sh19qw.js → location-qgzeej5c.js} +5 -5
  216. package/dist/chunks/{file-mutation-qsdy395h.js → location-qsdy395h.js} +1 -1
  217. package/dist/chunks/{file-mutation-y62rmnsx.js → location-qy2vc8de.js} +11 -11
  218. package/dist/chunks/{file-mutation-5f3v4jqn.js → location-r5paa9gw.js} +13 -13
  219. package/dist/chunks/{file-mutation-3qm34taf.js → location-r6yj4sg3.js} +9 -9
  220. package/dist/chunks/{file-mutation-0kmn1fe5.js → location-r8a1vay2.js} +9 -9
  221. package/dist/chunks/{file-mutation-yp2x3t23.js → location-r8xr0va3.js} +4 -4
  222. package/dist/chunks/{file-mutation-kjcr15p7.js → location-rfnzy394.js} +1 -1
  223. package/dist/chunks/{file-mutation-9ctpkay6.js → location-rqay9ghw.js} +24 -24
  224. package/dist/chunks/{file-mutation-0atcf9qv.js → location-s7pvzq3g.js} +23 -23
  225. package/dist/chunks/{file-mutation-nw1kez4j.js → location-sm589ezq.js} +33 -33
  226. package/dist/chunks/{file-mutation-ve4pfa0n.js → location-sx1n432n.js} +4 -4
  227. package/dist/chunks/{file-mutation-2qp6y8xf.js → location-t0fxg8b9.js} +5 -5
  228. package/dist/chunks/{file-mutation-a5gt7g2r.js → location-t0x5rdq8.js} +9 -9
  229. package/dist/chunks/{file-mutation-n763yaxc.js → location-t21qt4wp.js} +8 -8
  230. package/dist/chunks/{file-mutation-c4wn80s8.js → location-t2y4ag3j.js} +15 -15
  231. package/dist/chunks/{file-mutation-0vyd0s5c.js → location-t45krj2e.js} +9 -9
  232. package/dist/chunks/{file-mutation-dbkk30e5.js → location-t4a9fvmm.js} +27 -27
  233. package/dist/chunks/{file-mutation-pgg8zxmg.js → location-t6dzybgg.js} +16 -16
  234. package/dist/chunks/{file-mutation-jxhw35st.js → location-t97t2t7r.js} +13 -13
  235. package/dist/chunks/{file-mutation-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{file-mutation-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{file-mutation-s9abe6v6.js → location-td52w80p.js} +20 -20
  238. package/dist/chunks/{file-mutation-tdstcens.js → location-tdstcens.js} +1 -1
  239. package/dist/chunks/{file-mutation-s5zy3det.js → location-th0feps4.js} +11 -11
  240. package/dist/chunks/{file-mutation-tvtrv512.js → location-tvtrv512.js} +1 -1
  241. package/dist/chunks/{file-mutation-hhc8hmsq.js → location-tz2p0jnc.js} +59 -59
  242. package/dist/chunks/{file-mutation-f3bk3ss6.js → location-v3xga481.js} +9 -9
  243. package/dist/chunks/{file-mutation-3a14va3x.js → location-v4p0vwen.js} +11 -11
  244. package/dist/chunks/{file-mutation-40snepyt.js → location-v74jsawt.js} +29 -29
  245. package/dist/chunks/{file-mutation-8trxq8gn.js → location-v75cpdd6.js} +15 -15
  246. package/dist/chunks/{file-mutation-veqvce7d.js → location-veqvce7d.js} +1 -1
  247. package/dist/chunks/{file-mutation-h0gknw34.js → location-vjv4gnc9.js} +30 -30
  248. package/dist/chunks/{file-mutation-1v9ym5jr.js → location-vma08mpn.js} +20 -20
  249. package/dist/chunks/{file-mutation-0p6seckt.js → location-vqkn863g.js} +26 -26
  250. package/dist/chunks/{file-mutation-t599r0en.js → location-vt07bx5r.js} +11 -11
  251. package/dist/chunks/{file-mutation-1q5awywt.js → location-vxp3kcg3.js} +5 -5
  252. package/dist/chunks/{file-mutation-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{file-mutation-6p3xbzsx.js → location-w1k39n5e.js} +4 -4
  254. package/dist/chunks/{file-mutation-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{file-mutation-1tq060df.js → location-w4arg62q.js} +6 -6
  256. package/dist/chunks/{file-mutation-nvbnysz2.js → location-w54brc8f.js} +9 -9
  257. package/dist/chunks/location-w6mxp700.js +247 -0
  258. package/dist/chunks/{file-mutation-wd87259q.js → location-wd87259q.js} +1 -1
  259. package/dist/chunks/{file-mutation-esdnemd6.js → location-wyam1r5m.js} +1 -1
  260. package/dist/chunks/{file-mutation-f58s2wyk.js → location-x1aqk77e.js} +11 -11
  261. package/dist/chunks/{file-mutation-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{file-mutation-x43y2vfs.js → location-x43y2vfs.js} +2 -2
  263. package/dist/chunks/{file-mutation-pvfgf3c8.js → location-x7728wc6.js} +27 -27
  264. package/dist/chunks/{file-mutation-4k8h272a.js → location-x8pfpgt4.js} +9 -9
  265. package/dist/chunks/{file-mutation-c1k9yc14.js → location-xgcvvaqd.js} +16 -16
  266. package/dist/chunks/{file-mutation-t8ksxzma.js → location-xhg80140.js} +25 -25
  267. package/dist/chunks/{file-mutation-rk2ahbr8.js → location-xpbp2ggf.js} +22 -22
  268. package/dist/chunks/{file-mutation-vxg24fff.js → location-xtbntpkm.js} +7 -7
  269. package/dist/chunks/{file-mutation-mrw4weg4.js → location-xvs1sa11.js} +5 -5
  270. package/dist/chunks/{file-mutation-shh6fz4q.js → location-xwwz9aqf.js} +4 -4
  271. package/dist/chunks/{file-mutation-c48kwzew.js → location-xywxz97c.js} +6 -6
  272. package/dist/chunks/{file-mutation-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{file-mutation-r365bz61.js → location-y6498y89.js} +20 -20
  274. package/dist/chunks/{file-mutation-jwcy2c2z.js → location-y71avatq.js} +4 -4
  275. package/dist/chunks/{file-mutation-feeq33m8.js → location-ydpmm19b.js} +20 -20
  276. package/dist/chunks/{file-mutation-rqg3gf8y.js → location-yg5x8fk4.js} +16 -16
  277. package/dist/chunks/{file-mutation-510m7gjw.js → location-yjptyezs.js} +5 -5
  278. package/dist/chunks/{file-mutation-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{file-mutation-s4enseaf.js → location-yrznvahk.js} +2 -2
  280. package/dist/chunks/{file-mutation-6hvfbh91.js → location-yzcb4rs3.js} +12 -12
  281. package/dist/chunks/{file-mutation-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{file-mutation-29x78va6.js → location-z63w68vq.js} +6 -6
  283. package/dist/chunks/{file-mutation-gnbcfc85.js → location-zb0kem16.js} +36 -36
  284. package/dist/chunks/{file-mutation-zeh9ct20.js → location-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{file-mutation-c1nn02ak.js → location-zkt8qzze.js} +39 -39
  286. package/dist/chunks/{file-mutation-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{file-mutation-5vn17cm2.js → location-ztj8pse5.js} +16 -16
  288. package/dist/chunks/{file-mutation-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +81 -81
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +115 -115
  297. package/dist/config/plugin/command.js +207 -207
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +115 -115
  304. package/dist/config/plugin/mcp.js +124 -124
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +136 -136
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +117 -117
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +115 -115
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +119 -119
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +81 -81
  321. package/dist/database/database.js +70 -70
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  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 +74 -74
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +361 -361
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  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 +72 -72
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  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 +220 -220
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +96 -96
  425. package/dist/form.js +82 -82
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +84 -84
  428. package/dist/generate.js +93 -93
  429. package/dist/git.js +7 -7
  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 +7 -7
  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 +352 -352
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +86 -86
  459. package/dist/job.js +77 -77
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +131 -131
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +81 -81
  465. package/dist/location-services.js +349 -349
  466. package/dist/location.js +80 -80
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +103 -103
  469. package/dist/mcp/instructions.js +122 -122
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +8 -8
  476. package/dist/models-dev.js +86 -86
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +78 -78
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +110 -110
  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 +82 -82
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +97 -97
  487. package/dist/plugin/command.js +94 -94
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +323 -323
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +5 -5
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +78 -78
  523. package/dist/plugin/provider/opencode.js +76 -76
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +117 -117
  532. package/dist/plugin/provider/xai.js +77 -77
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +156 -156
  535. package/dist/plugin/sdk.js +72 -72
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +133 -133
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +338 -338
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +82 -82
  543. package/dist/plugin/vcs/hg.js +82 -82
  544. package/dist/plugin/warming.js +112 -112
  545. package/dist/plugin/websearch/exa.js +5 -5
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +4 -4
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin.js +222 -222
  552. package/dist/project/schema.js +2 -2
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +79 -79
  555. package/dist/provider.js +7 -7
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +3 -3
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +94 -94
  560. package/dist/reference/instructions.js +84 -84
  561. package/dist/reference.js +86 -86
  562. package/dist/repository-cache.js +76 -76
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +93 -93
  566. package/dist/rpc.js +81 -81
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +72 -72
  569. package/dist/session/compaction.js +123 -123
  570. package/dist/session/context.js +147 -147
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +219 -219
  575. package/dist/session/execution.js +124 -124
  576. package/dist/session/generate.js +148 -148
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +88 -88
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +92 -92
  583. package/dist/session/message-updater.js +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +113 -113
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +124 -124
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +100 -100
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +85 -85
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +86 -86
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +110 -110
  599. package/dist/session/runner/step.js +121 -121
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +169 -169
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +98 -98
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +71 -71
  607. package/dist/session/store.js +83 -83
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +151 -151
  612. package/dist/session/to-session-error.js +107 -107
  613. package/dist/session/transfer.js +216 -216
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +4 -4
  622. package/dist/skill/instructions.js +102 -102
  623. package/dist/skill.js +105 -105
  624. package/dist/snapshot.js +88 -88
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +119 -119
  629. package/dist/tool/plugin/edit.js +113 -113
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +120 -120
  632. package/dist/tool/plugin/grep.js +120 -120
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +117 -117
  635. package/dist/tool/plugin/question.js +100 -100
  636. package/dist/tool/plugin/read.js +121 -121
  637. package/dist/tool/plugin/shell.js +212 -212
  638. package/dist/tool/plugin/skill.js +108 -108
  639. package/dist/tool/plugin/subagent.js +210 -210
  640. package/dist/tool/plugin/webfetch.js +105 -105
  641. package/dist/tool/plugin/websearch.js +109 -109
  642. package/dist/tool/plugin/write.js +117 -117
  643. package/dist/tool/read-filesystem.js +96 -96
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +13 -13
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +7 -7
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/formatter.js +7 -7
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +5 -5
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  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/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +85 -85
  674. package/dist/websearch.js +82 -82
  675. package/dist/wellknown/plugin.js +72 -72
  676. package/dist/wellknown.js +77 -77
  677. package/dist/workspace/driver.js +7 -7
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +78 -78
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +7 -7
  682. package/dist/worktree/refresh.js +339 -339
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +91 -91
  685. package/package.json +8 -8
  686. package/dist/chunks/file-mutation-53555yf5.js +0 -247
  687. package/dist/chunks/file-mutation-6kdq0pjd.js +0 -4
  688. package/dist/chunks/file-mutation-6ydb37tg.js +0 -462
  689. package/dist/chunks/file-mutation-j71snt67.js +0 -22
  690. package/dist/chunks/file-mutation-qdyb70sk.js +0 -18
  691. /package/dist/chunks/{file-mutation-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{file-mutation-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{file-mutation-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{file-mutation-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{file-mutation-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{file-mutation-2710q6r3.js → location-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{file-mutation-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{file-mutation-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{file-mutation-359p4xyc.js → location-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{file-mutation-3asan66x.js → location-3asan66x.js} +0 -0
  701. /package/dist/chunks/{file-mutation-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{file-mutation-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{file-mutation-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{file-mutation-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{file-mutation-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{file-mutation-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{file-mutation-53557ph1.js → location-53557ph1.js} +0 -0
  708. /package/dist/chunks/{file-mutation-550bvhaj.js → location-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{file-mutation-6prwharc.js → location-6prwharc.js} +0 -0
  710. /package/dist/chunks/{file-mutation-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{file-mutation-7m9af43g.js → location-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{file-mutation-822emrt2.js → location-822emrt2.js} +0 -0
  713. /package/dist/chunks/{file-mutation-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{file-mutation-8n3pysct.js → location-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{file-mutation-922hggd3.js → location-922hggd3.js} +0 -0
  716. /package/dist/chunks/{file-mutation-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{file-mutation-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{file-mutation-a1tpkmh4.js → location-a1tpkmh4.js} +0 -0
  719. /package/dist/chunks/{file-mutation-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{file-mutation-af5trqkr.js → location-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{file-mutation-afrmfg78.js → location-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{file-mutation-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{file-mutation-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{file-mutation-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{file-mutation-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{file-mutation-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{file-mutation-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{file-mutation-d9fn303g.js → location-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{file-mutation-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{file-mutation-dajrwvna.js → location-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{file-mutation-dap0rakb.js → location-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{file-mutation-df08tz66.js → location-df08tz66.js} +0 -0
  733. /package/dist/chunks/{file-mutation-dy18nga0.js → location-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{file-mutation-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{file-mutation-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{file-mutation-ec1grn59.js → location-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{file-mutation-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{file-mutation-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{file-mutation-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{file-mutation-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{file-mutation-faypxj3z.js → location-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{file-mutation-fd410y7t.js → location-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{file-mutation-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{file-mutation-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{file-mutation-g86h250q.js → location-g86h250q.js} +0 -0
  746. /package/dist/chunks/{file-mutation-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{file-mutation-gftt206x.js → location-gftt206x.js} +0 -0
  748. /package/dist/chunks/{file-mutation-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{file-mutation-hk9envan.js → location-hk9envan.js} +0 -0
  750. /package/dist/chunks/{file-mutation-hrnqkpcd.js → location-hrnqkpcd.js} +0 -0
  751. /package/dist/chunks/{file-mutation-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{file-mutation-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{file-mutation-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{file-mutation-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{file-mutation-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{file-mutation-mp448xyj.js → location-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{file-mutation-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{file-mutation-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{file-mutation-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{file-mutation-njntx4h6.js → location-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{file-mutation-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{file-mutation-q74kybfr.js → location-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{file-mutation-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{file-mutation-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{file-mutation-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{file-mutation-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{file-mutation-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{file-mutation-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{file-mutation-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{file-mutation-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{file-mutation-twg0f83k.js → location-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{file-mutation-w803qqfp.js → location-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{file-mutation-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{file-mutation-wtztk69x.js → location-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{file-mutation-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{file-mutation-x61499pn.js → location-x61499pn.js} +0 -0
  777. /package/dist/chunks/{file-mutation-y44na4kk.js → location-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{file-mutation-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{file-mutation-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{file-mutation-ym463w8f.js → location-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{file-mutation-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./file-mutation-922hggd3.js";
3
+ } from "./location-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service65
7
- } from "./file-mutation-ze2evx92.js";
6
+ Service45
7
+ } from "./location-mmx9f08p.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./file-mutation-2a5m3afh.js";
10
+ } from "./location-2a5m3afh.js";
11
11
  import {
12
- Service70
13
- } from "./file-mutation-5qczcnpy.js";
12
+ Service52
13
+ } from "./location-39gsfx95.js";
14
14
  import {
15
- Service57
16
- } from "./file-mutation-tz7np2q7.js";
15
+ Service65
16
+ } from "./location-gwzbkwjt.js";
17
17
  import {
18
- Service52
19
- } from "./file-mutation-hhc8hmsq.js";
18
+ Service71
19
+ } from "./location-tz2p0jnc.js";
20
20
  import {
21
- Service51,
21
+ Service56,
22
22
  resolvePath2
23
- } from "./file-mutation-9jq9dwvq.js";
23
+ } from "./location-d2412gps.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./file-mutation-fxbjtjnd.js";
29
+ } from "./location-fxbjtjnd.js";
30
30
  import {
31
- Service62,
31
+ Service47,
32
32
  name15
33
- } from "./file-mutation-h1fkweye.js";
33
+ } from "./location-qfrw2mns.js";
34
34
  import {
35
- NotFoundError9,
36
- Service60
37
- } from "./file-mutation-rvv37x7m.js";
35
+ NotFoundError5,
36
+ Service42
37
+ } from "./location-n2qrf0kt.js";
38
38
  import {
39
- Service17
40
- } from "./file-mutation-dwmg9hrb.js";
39
+ Service25
40
+ } from "./location-a1qbdnb3.js";
41
41
  import {
42
42
  scan2
43
- } from "./file-mutation-2vcmvr51.js";
43
+ } from "./location-2ydbzgba.js";
44
44
  import {
45
45
  __export
46
- } from "./file-mutation-9rqn6x4v.js";
46
+ } from "./location-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell2 = {};
50
- __export(exports_shell2, {
49
+ var exports_shell = {};
50
+ __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input12,
53
- Plugin: () => Plugin43,
54
- ShellTool: () => exports_shell2,
55
- name: () => name12
52
+ Input: () => Input10,
53
+ Plugin: () => Plugin10,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name10
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name12 = "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. DO NOT run sleep commands or poll the output file to check for completion. You can read from the file when its current output would be useful, such as when inspecting logs from a background server. Otherwise, continue with other work or end your response.";
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 Input12 = 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 Plugin43 = {
118
+ var Plugin10 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service17;
122
- const jobs = yield* Service57;
121
+ const sessions = yield* Service25;
122
+ const jobs = yield* Service65;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service70;
125
- const access = yield* Service51;
126
- const shell = yield* Service60;
127
- const shellSelect = yield* Service62;
124
+ const environment = yield* Service52;
125
+ const access = yield* Service56;
126
+ const shell = yield* Service42;
127
+ const shellSelect = yield* Service47;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service52;
130
- const config = yield* Service65;
129
+ const permission = yield* Service71;
130
+ const config = yield* Service45;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin43 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name12,
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 Plugin43 = {
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: name12,
186
+ name: name10,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input12,
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;
@@ -205,7 +205,7 @@ var Plugin43 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError9({ id: info.id });
208
+ return yield* new NotFoundError5({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -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: name12,
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
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
252
- const tool = event.tools[name12];
252
+ const tool = event.tools[name10];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
257
257
  })
258
258
  };
259
259
 
260
- export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin43, exports_shell2 };
260
+ export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin10, exports_shell };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./file-mutation-8m0rbw91.js";
3
+ } from "./location-3280sxnm.js";
4
4
  import {
5
5
  apply3
6
- } from "./file-mutation-e3pe5yny.js";
6
+ } from "./location-dsd22mfz.js";
7
7
  import {
8
8
  __export
9
- } from "./file-mutation-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
@@ -14,11 +14,11 @@ __export(exports_database, {
14
14
  Database: () => exports_database,
15
15
  Options: () => Options11,
16
16
  Service: () => Service80,
17
- configured: () => configured12,
17
+ configured: () => configured13,
18
18
  configuredClient: () => configuredClient2,
19
- layer: () => layer25,
19
+ layer: () => layer26,
20
20
  layerFromClient: () => layerFromClient2,
21
- node: () => node84
21
+ node: () => node85
22
22
  });
23
23
  import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
24
24
  import { Context, Effect, Layer, Schema, Semaphore } from "effect";
@@ -56,7 +56,7 @@ function lockFor(filename) {
56
56
  locks.set(filename, lock);
57
57
  return lock;
58
58
  }
59
- function layer25(options = { path: ":memory:" }) {
59
+ function layer26(options = { path: ":memory:" }) {
60
60
  return Layer.unwrap(Effect.gen(function* () {
61
61
  const provide = (filename) => databaseLayer(filename === ":memory:" ? Semaphore.make(1) : Effect.succeed(lockFor(filename))).pipe(Layer.provide(sqliteLayer({ filename })));
62
62
  const filename = options.path ?? ":memory:";
@@ -67,8 +67,8 @@ function layer25(options = { path: ":memory:" }) {
67
67
  }));
68
68
  }
69
69
  var layerFromClient2 = databaseLayer(Semaphore.make(1));
70
- function configured12(options) {
71
- return makeGlobalNode({ service: Service80, layer: layer25(options), deps: [Global.node] });
70
+ function configured13(options) {
71
+ return makeGlobalNode({ service: Service80, layer: layer26(options), deps: [Global.node] });
72
72
  }
73
73
  function configuredClient2(client) {
74
74
  return makeGlobalNode({
@@ -77,6 +77,6 @@ function configuredClient2(client) {
77
77
  deps: [Global.node]
78
78
  });
79
79
  }
80
- var node84 = configured12({ path: ":memory:" });
80
+ var node85 = configured13({ path: ":memory:" });
81
81
 
82
- export { Options11, Service80, layer25, layerFromClient2, configured12, configuredClient2, node84, exports_database };
82
+ export { Options11, Service80, layer26, layerFromClient2, configured13, configuredClient2, node85, exports_database };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  create3
3
- } from "./file-mutation-kg06axw8.js";
3
+ } from "./location-kg06axw8.js";
4
4
  import {
5
5
  which2
6
- } from "./file-mutation-qaymkmh1.js";
6
+ } from "./location-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./file-mutation-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options7,
15
- Service: () => Service62,
14
+ Options: () => Options9,
15
+ Service: () => Service47,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured7,
18
+ configured: () => configured9,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
- list: () => list4,
21
+ list: () => list3,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node65,
24
+ node: () => node52,
25
25
  ps: () => ps2,
26
26
  resolve: () => resolve2
27
27
  });
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options7 = Schema.Struct({
46
+ var Options9 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service62 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service47 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -184,11 +184,11 @@ resolve2.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
187
- async function list4(options, bin) {
187
+ async function list3(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service47, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service62.of({
202
+ return Service47.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
205
  resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin))
206
206
  });
207
207
  }));
208
- function configured7(options) {
209
- return makeLocationNode({ service: Service62, layer: layer(options), deps: [Global.node] });
208
+ function configured9(options) {
209
+ return makeLocationNode({ service: Service47, layer: layer(options), deps: [Global.node] });
210
210
  }
211
- var node65 = configured7();
211
+ var node52 = configured9();
212
212
 
213
- export { Options7, Service62, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list4, configured7, node65, exports_select };
213
+ export { Options9, Service47, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list3, configured9, node52, exports_select };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options10,
9
+ Options: () => Options7,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options10 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options10]))]);
13
+ var Options7 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options7]))]);
15
15
 
16
- export { Options10, Spec2, exports_plugin3 };
16
+ export { Options7, Spec2, exports_plugin3 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./file-mutation-zr2ceqn5.js";
3
+ } from "./location-zr2ceqn5.js";
4
4
  import {
5
- Service66
6
- } from "./file-mutation-55fsb9kg.js";
5
+ Service46
6
+ } from "./location-nxts4mre.js";
7
7
  import {
8
8
  __export
9
- } from "./file-mutation-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/module.ts
12
12
  var exports_module = {};
@@ -23,7 +23,7 @@ import path from "path";
23
23
  import { stat } from "node:fs/promises";
24
24
  import { fileURLToPath, pathToFileURL } from "url";
25
25
  var make3 = Effect.fn("PluginModule.make")(function* () {
26
- const watcher = yield* Service66;
26
+ const watcher = yield* Service46;
27
27
  const scope = yield* Effect.scope;
28
28
  const runPromise = yield* FiberSet.makeRuntimePromise();
29
29
  const changes = yield* PubSub.unbounded();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
- ID16,
2
+ ID9,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  mergeOverlay2
6
- } from "./file-mutation-84tssp1s.js";
6
+ } from "./location-7ny3kv6n.js";
7
7
  import {
8
8
  __export
9
- } from "./file-mutation-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/aisdk.ts
12
12
  var exports_aisdk = {};
13
13
  __export(exports_aisdk, {
14
14
  AISDK: () => exports_aisdk,
15
15
  InitError: () => InitError2,
16
- Service: () => Service73,
16
+ Service: () => Service64,
17
17
  locationLayer: () => locationLayer2,
18
- node: () => node77
18
+ node: () => node69
19
19
  });
20
20
  import { makeLocationNode } from "@opencode/util/effect/app-node";
21
21
  import { APICallError } from "@ai-sdk/provider";
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
128
128
  }
129
129
 
130
130
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
131
- providerID: ID16,
131
+ providerID: ID9,
132
132
  cause: Schema.Defect()
133
133
  }) {
134
134
  }
@@ -136,9 +136,9 @@ function initError(providerID) {
136
136
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
137
137
  }
138
138
 
139
- class Service73 extends Context.Service()("@opencode/AISDK") {
139
+ class Service64 extends Context.Service()("@opencode/AISDK") {
140
140
  }
141
- var locationLayer2 = Layer.effect(Service73, Effect.gen(function* () {
141
+ var locationLayer2 = Layer.effect(Service64, Effect.gen(function* () {
142
142
  let sdkHooks = [];
143
143
  let languageHooks = [];
144
144
  const languages = new Map;
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service73, Effect.gen(function* () {
176
176
  }
177
177
  return event;
178
178
  });
179
- const service = Service73.of({
179
+ const service = Service64.of({
180
180
  hook: {
181
181
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
182
182
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
809
809
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
810
810
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
811
811
  }
812
- var node77 = makeLocationNode({ service: Service73, layer: locationLayer2, deps: [] });
812
+ var node69 = makeLocationNode({ service: Service64, layer: locationLayer2, deps: [] });
813
813
 
814
- export { InitError2, Service73, locationLayer2, node77, exports_aisdk };
814
+ export { InitError2, Service64, locationLayer2, node69, exports_aisdk };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./file-mutation-jwcy2c2z.js";
3
+ } from "./location-y71avatq.js";
4
4
  import {
5
- Service70,
6
- node73
7
- } from "./file-mutation-5qczcnpy.js";
5
+ Service52,
6
+ node57
7
+ } from "./location-39gsfx95.js";
8
8
  import {
9
9
  __export
10
- } from "./file-mutation-9rqn6x4v.js";
10
+ } from "./location-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service69,
17
- node: () => node72,
16
+ Service: () => Service21,
17
+ node: () => node25,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service69 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service21 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service69, Effect.gen(function* () {
38
- const environment = yield* Service70;
37
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
38
+ const environment = yield* Service52;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service69.of({ withLock, write, writeTextPreservingBom });
59
+ return Service21.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node72 = makeLocationNode({ service: Service69, layer, deps: [node73] });
61
+ var node25 = makeLocationNode({ service: Service21, layer, deps: [node57] });
62
62
 
63
- export { Service69, readText2, syncTextBom2, node72, exports_file_mutation };
63
+ export { Service21, readText2, syncTextBom2, node25, exports_file_mutation };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service65
3
- } from "./file-mutation-ze2evx92.js";
2
+ Service45
3
+ } from "./location-mmx9f08p.js";
4
4
  import {
5
5
  Service9
6
- } from "./file-mutation-3sxqrh4h.js";
6
+ } from "./location-at3ax2rg.js";
7
7
  import {
8
8
  observe2
9
- } from "./file-mutation-qsdy395h.js";
9
+ } from "./location-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./file-mutation-9rqn6x4v.js";
12
+ } from "./location-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compaction.ts
15
15
  var exports_compaction = {};
16
16
  __export(exports_compaction, {
17
17
  ConfigCompactionPlugin: () => exports_compaction,
18
- Plugin: () => Plugin18
18
+ Plugin: () => Plugin31
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin18 = define({
22
+ var Plugin31 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service65;
25
+ const config = yield* Service45;
26
26
  const compaction = yield* Service9;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
@@ -39,4 +39,4 @@ var Plugin18 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin18, exports_compaction };
42
+ export { Plugin31, exports_compaction };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./file-mutation-84tssp1s.js";
4
+ } from "./location-7ny3kv6n.js";
5
5
  import {
6
6
  latest2,
7
- Service65
8
- } from "./file-mutation-ze2evx92.js";
7
+ Service45
8
+ } from "./location-mmx9f08p.js";
9
9
  import {
10
10
  observe2
11
- } from "./file-mutation-qsdy395h.js";
11
+ } from "./location-qsdy395h.js";
12
12
  import {
13
13
  __export
14
- } from "./file-mutation-9rqn6x4v.js";
14
+ } from "./location-9rqn6x4v.js";
15
15
 
16
16
  // src/config/plugin/provider.ts
17
17
  var exports_provider = {};
18
18
  __export(exports_provider, {
19
19
  ConfigProviderPlugin: () => exports_provider,
20
- Plugin: () => Plugin26
20
+ Plugin: () => Plugin35
21
21
  });
22
22
  import { define } from "@opencode/plugin/effect/plugin";
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Effect } from "effect";
25
- var Plugin26 = define({
25
+ var Plugin35 = define({
26
26
  id: "opencode.config.provider",
27
27
  effect: Effect.fn(function* (ctx) {
28
- const config = yield* Service65;
28
+ const config = yield* Service45;
29
29
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
30
30
  yield* ctx.integration.transform((integrations) => {
31
31
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -155,4 +155,4 @@ function configuredProviders(entries) {
155
155
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
156
156
  }
157
157
 
158
- export { Plugin26, exports_provider };
158
+ export { Plugin35, exports_provider };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make16
9
+ make: () => make18
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make16 = (options) => Effect.gen(function* () {
12
+ var make18 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -89,4 +89,4 @@ var make16 = (options) => Effect.gen(function* () {
89
89
  };
90
90
  });
91
91
 
92
- export { make16, exports_run_coordinator };
92
+ export { make18, exports_run_coordinator };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isCheckpoint2,
3
3
  decode2
4
- } from "./file-mutation-6p3xbzsx.js";
4
+ } from "./location-w1k39n5e.js";
5
5
 
6
6
  // src/session/runner/to-llm-message.ts
7
7
  import { Message, ToolCallPart, ToolResultPart } from "@opencode/ai";