@opencode/core 0.0.0-dev-19684 → 0.0.0-dev-19686

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 (792) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{shell-j9yp876j.js → location-008kyx1w.js} +9 -9
  8. package/dist/chunks/{shell-64kphnzf.js → location-06dxphr1.js} +4 -4
  9. package/dist/chunks/{shell-353ec5xa.js → location-0a2xtww1.js} +5 -5
  10. package/dist/chunks/{shell-9d1719jx.js → location-0bvasyrh.js} +6 -6
  11. package/dist/chunks/{shell-68rq69k6.js → location-0g6jym90.js} +17 -17
  12. package/dist/chunks/{shell-j58c5xyq.js → location-0jq9fyba.js} +9 -9
  13. package/dist/chunks/location-0m0tvs7x.js +164 -0
  14. package/dist/chunks/{shell-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{shell-0q0f95c6.js → location-0q0f95c6.js} +1 -1
  16. package/dist/chunks/location-0w7pwmpa.js +26 -0
  17. package/dist/chunks/{shell-hpdj5hc5.js → location-12s3v6mp.js} +1 -1
  18. package/dist/chunks/{shell-0arp08hh.js → location-184488cr.js} +23 -23
  19. package/dist/chunks/{shell-3vwe38gh.js → location-1a99h9dp.js} +11 -11
  20. package/dist/chunks/{shell-mvfsc1pv.js → location-1bbkgx8g.js} +3 -3
  21. package/dist/chunks/{shell-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{shell-56gdpj1q.js → location-1ygqh575.js} +9 -9
  23. package/dist/chunks/{shell-kagt2kqb.js → location-20zwj74y.js} +11 -11
  24. package/dist/chunks/{shell-21r38tys.js → location-21r38tys.js} +1 -1
  25. package/dist/chunks/{shell-2402vzrj.js → location-2402vzrj.js} +1 -1
  26. package/dist/chunks/{shell-atwvjk3g.js → location-249fq4hk.js} +13 -13
  27. package/dist/chunks/{shell-b2da4m4w.js → location-277eer69.js} +7 -8
  28. package/dist/chunks/{shell-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{shell-jva4mgym.js → location-2evyaa68.js} +4 -4
  30. package/dist/chunks/{shell-5mjd0tcc.js → location-2sark3gv.js} +11 -11
  31. package/dist/chunks/{shell-89awe219.js → location-2w1s74yj.js} +21 -21
  32. package/dist/chunks/{shell-bt2e4tjd.js → location-35tmvh3j.js} +24 -24
  33. package/dist/chunks/{shell-hygwp9nt.js → location-383bdqn6.js} +10 -10
  34. package/dist/chunks/{shell-59msrm9x.js → location-3f9g2x3f.js} +53 -53
  35. package/dist/chunks/{shell-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{shell-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{shell-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{shell-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{shell-stdy45ne.js → location-3zffk7df.js} +25 -25
  40. package/dist/chunks/{shell-knb7evpn.js → location-44ke2mar.js} +2 -2
  41. package/dist/chunks/{shell-z378wvez.js → location-48wwg9sw.js} +13 -13
  42. package/dist/chunks/{shell-fsjyrg72.js → location-4b7rnnqb.js} +88 -88
  43. package/dist/chunks/{shell-h6r3nrb9.js → location-4dgbcxzg.js} +4 -4
  44. package/dist/chunks/{shell-vjb1j6zt.js → location-4ekfwt2e.js} +13 -13
  45. package/dist/chunks/{shell-jsgky646.js → location-4jxd50ct.js} +46 -46
  46. package/dist/chunks/{shell-fnqcnrwr.js → location-4pfyybdp.js} +13 -13
  47. package/dist/chunks/{shell-1vmngn2p.js → location-4pjc1ph3.js} +47 -47
  48. package/dist/chunks/{shell-pkqjmvx8.js → location-4q1v9c1t.js} +17 -17
  49. package/dist/chunks/{shell-650p1vgr.js → location-4q3bx44t.js} +11 -11
  50. package/dist/chunks/{shell-vqtmypvq.js → location-4rjyk3c7.js} +15 -15
  51. package/dist/chunks/{shell-gdm3qam3.js → location-4thtkfjm.js} +166 -166
  52. package/dist/chunks/{shell-g582528b.js → location-4zxt70vg.js} +37 -37
  53. package/dist/chunks/{shell-e1g62edg.js → location-54s6wecj.js} +5 -5
  54. package/dist/chunks/{shell-2fgn2we9.js → location-57ez7d0k.js} +9 -9
  55. package/dist/chunks/{shell-5daktx2q.js → location-5daktx2q.js} +1 -1
  56. package/dist/chunks/{shell-crxm8vhj.js → location-5h3qddj0.js} +14 -14
  57. package/dist/chunks/{shell-e3qxr5gk.js → location-5qd3pb7m.js} +2 -2
  58. package/dist/chunks/{shell-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  59. package/dist/chunks/{shell-kfvqsgwq.js → location-5v4p7pyv.js} +22 -22
  60. package/dist/chunks/{shell-ak1ej6q8.js → location-5wpyz990.js} +15 -15
  61. package/dist/chunks/{shell-1y02ekvx.js → location-5yernesq.js} +37 -37
  62. package/dist/chunks/{shell-p42hj8p8.js → location-5yzzbxa7.js} +8 -8
  63. package/dist/chunks/{shell-t4ep399p.js → location-633s5get.js} +12 -12
  64. package/dist/chunks/{shell-h2t8ymee.js → location-64q882h2.js} +24 -24
  65. package/dist/chunks/{shell-669tq793.js → location-669tq793.js} +1 -1
  66. package/dist/chunks/{shell-tqhjqp4x.js → location-676zts7t.js} +35 -35
  67. package/dist/chunks/{shell-6ch53rs1.js → location-6d8421km.js} +22 -22
  68. package/dist/chunks/{shell-dt5xy0kq.js → location-6k70ak8m.js} +5 -5
  69. package/dist/chunks/{shell-6msgmcgs.js → location-6msgmcgs.js} +1 -1
  70. package/dist/chunks/{shell-cfmg5f2e.js → location-6r1js6vv.js} +25 -25
  71. package/dist/chunks/{shell-cywpmpyh.js → location-6r6s2m1q.js} +43 -43
  72. package/dist/chunks/{shell-p9p1rr13.js → location-6vk930va.js} +25 -25
  73. package/dist/chunks/{shell-02scvt0n.js → location-73xc2593.js} +12 -12
  74. package/dist/chunks/{shell-bvvhb128.js → location-74azehs1.js} +14 -14
  75. package/dist/chunks/{shell-72j6m2ks.js → location-76mz653q.js} +4 -4
  76. package/dist/chunks/{shell-dwz51f9r.js → location-78e6np4t.js} +5 -5
  77. package/dist/chunks/{shell-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{shell-2k8khapm.js → location-7dqw4kz8.js} +5 -5
  79. package/dist/chunks/{shell-wvd3r0fc.js → location-7g9bvtff.js} +13 -13
  80. package/dist/chunks/{shell-p53qb2xk.js → location-7j7qd4de.js} +25 -25
  81. package/dist/chunks/{shell-6bsje7ws.js → location-7w99qc9d.js} +3 -3
  82. package/dist/chunks/{shell-5pak3zwf.js → location-7znvkeks.js} +19 -19
  83. package/dist/chunks/{shell-7h1fndp2.js → location-81qfgkv2.js} +17 -17
  84. package/dist/chunks/{shell-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{shell-px4zqas9.js → location-8kx0bg8y.js} +11 -11
  86. package/dist/chunks/{shell-8p4f9s12.js → location-8p4f9s12.js} +2 -2
  87. package/dist/chunks/{shell-dzse07y5.js → location-8q9myf25.js} +6 -6
  88. package/dist/chunks/{shell-9sdzjm5d.js → location-8vgbp9kc.js} +9 -9
  89. package/dist/chunks/{shell-05dbw8h7.js → location-9eg4jjgq.js} +8 -8
  90. package/dist/chunks/{shell-421r5d5v.js → location-9g3kc011.js} +12 -12
  91. package/dist/chunks/{shell-wk6d9gtz.js → location-9q89dbhk.js} +51 -51
  92. package/dist/chunks/{shell-465w2j5b.js → location-9sbs8jya.js} +4 -4
  93. package/dist/chunks/{shell-6769hash.js → location-9sw7694m.js} +26 -26
  94. package/dist/chunks/{shell-1z5xhg71.js → location-9tnhk3sw.js} +25 -25
  95. package/dist/chunks/{shell-fepbnb8j.js → location-9w4ppqge.js} +5 -5
  96. package/dist/chunks/{shell-3w0fmcng.js → location-9xvq3m7s.js} +5 -5
  97. package/dist/chunks/{shell-a1bz86dw.js → location-a1bz86dw.js} +3 -3
  98. package/dist/chunks/{shell-x83kfe59.js → location-a2m2wc9b.js} +16 -16
  99. package/dist/chunks/{shell-jg3dk2mq.js → location-a9at85v6.js} +11 -11
  100. package/dist/chunks/{shell-aaet6srn.js → location-aaet6srn.js} +2 -2
  101. package/dist/chunks/{shell-qsfdbege.js → location-ac3fkhra.js} +14 -14
  102. package/dist/chunks/{shell-3xyw1x35.js → location-acm2cd52.js} +20 -20
  103. package/dist/chunks/{shell-avm8jn6n.js → location-af04s6ss.js} +5 -5
  104. package/dist/chunks/{shell-cdxkea2x.js → location-afy1jmxr.js} +7 -7
  105. package/dist/chunks/{shell-nbv082sw.js → location-agrejx4p.js} +16 -16
  106. package/dist/chunks/{shell-2bzw6bfd.js → location-ar3rf71y.js} +4 -4
  107. package/dist/chunks/{shell-j0ky2qbp.js → location-ar825hn2.js} +20 -20
  108. package/dist/chunks/{shell-2kjmkjjh.js → location-atjpx8bb.js} +23 -23
  109. package/dist/chunks/{shell-yj6jvem3.js → location-b279e66f.js} +7 -7
  110. package/dist/chunks/{shell-hqm43xfh.js → location-b470x9gv.js} +6 -6
  111. package/dist/chunks/{shell-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{shell-c88xsj4b.js → location-bdjrcx3c.js} +11 -11
  113. package/dist/chunks/{shell-13tqay2c.js → location-bdsn0hg4.js} +40 -40
  114. package/dist/chunks/{shell-521mg670.js → location-bx37qhk3.js} +19 -19
  115. package/dist/chunks/{shell-wy8b5sm2.js → location-bz85s9hh.js} +1 -1
  116. package/dist/chunks/{shell-75yx4wx5.js → location-c0c130gm.js} +2 -2
  117. package/dist/chunks/{shell-xsgk3b13.js → location-c8jj867k.js} +9 -9
  118. package/dist/chunks/{shell-myx08xq4.js → location-cfj703js.js} +64 -64
  119. package/dist/chunks/{shell-cfpkc3c9.js → location-cfpkc3c9.js} +2 -2
  120. package/dist/chunks/{shell-a77f6hq0.js → location-cfr0h88y.js} +24 -24
  121. package/dist/chunks/{shell-baaqp4zd.js → location-ckf8nxjz.js} +4 -4
  122. package/dist/chunks/{shell-g6q9qykm.js → location-cpneeje0.js} +9 -9
  123. package/dist/chunks/{shell-cq37gk0t.js → location-cq37gk0t.js} +4 -4
  124. package/dist/chunks/{shell-d6kea4np.js → location-cw4sea0t.js} +8 -8
  125. package/dist/chunks/{shell-k0b72eat.js → location-cyfsp3wv.js} +11 -11
  126. package/dist/chunks/{shell-3egzarba.js → location-d2h9na68.js} +4 -4
  127. package/dist/chunks/{shell-reqevd7p.js → location-d4sp9rf7.js} +9 -9
  128. package/dist/chunks/{shell-m282vmjm.js → location-dfby5msv.js} +30 -30
  129. package/dist/chunks/{shell-jft4q2kn.js → location-dnp5f34d.js} +26 -26
  130. package/dist/chunks/{shell-60scm90h.js → location-dqmenwa9.js} +3 -3
  131. package/dist/chunks/{shell-vdtbp9xk.js → location-dqygf0fb.js} +5 -5
  132. package/dist/chunks/{shell-0pkw8ty1.js → location-dsp2whwc.js} +29 -29
  133. package/dist/chunks/{shell-n980jsng.js → location-dvxgyqr5.js} +13 -13
  134. package/dist/chunks/{shell-29xvb5bk.js → location-e0kn3hfv.js} +4 -4
  135. package/dist/chunks/{shell-e80am09j.js → location-e97qct74.js} +6 -6
  136. package/dist/chunks/{shell-qbeegk5c.js → location-eav5nksb.js} +40 -40
  137. package/dist/chunks/{shell-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{shell-y3ky0ywj.js → location-eqzt0dae.js} +5 -5
  139. package/dist/chunks/{shell-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{shell-abs7vd7m.js → location-f33b9p90.js} +21 -21
  141. package/dist/chunks/{shell-y00gbe2a.js → location-f5bgqzgb.js} +9 -9
  142. package/dist/chunks/{shell-f828m53h.js → location-f828m53h.js} +2 -2
  143. package/dist/chunks/{shell-a46v4e4v.js → location-fdv30zvt.js} +7 -7
  144. package/dist/chunks/{shell-k0yx29k2.js → location-fetws26q.js} +1 -1
  145. package/dist/chunks/{shell-ecszv4cx.js → location-fp4mk58e.js} +41 -41
  146. package/dist/chunks/{shell-s2ctwpa3.js → location-fpbsfvc3.js} +29 -29
  147. package/dist/chunks/{shell-tfzrzead.js → location-frj49c8h.js} +11 -11
  148. package/dist/chunks/{shell-c8wevtrk.js → location-fsgveznc.js} +8 -8
  149. package/dist/chunks/{shell-czztawnv.js → location-fwm1wfch.js} +18 -18
  150. package/dist/chunks/{shell-497trp6d.js → location-fx80e2z0.js} +24 -24
  151. package/dist/chunks/{shell-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
  152. package/dist/chunks/{shell-ne3jdqry.js → location-g17w5wg1.js} +6 -6
  153. package/dist/chunks/{shell-jase78w4.js → location-gb2rmtkw.js} +4 -4
  154. package/dist/chunks/{shell-htanjsaa.js → location-gc70bhff.js} +16 -16
  155. package/dist/chunks/{shell-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  156. package/dist/chunks/location-ge6zmjjk.js +247 -0
  157. package/dist/chunks/{shell-p0sy0rdw.js → location-ghf1akwt.js} +8 -8
  158. package/dist/chunks/{shell-r69n8pfr.js → location-gty5atak.js} +11 -11
  159. package/dist/chunks/{shell-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
  160. package/dist/chunks/{shell-9cd5mnda.js → location-gwfhg9zv.js} +18 -18
  161. package/dist/chunks/{shell-h03wrkyp.js → location-h03wrkyp.js} +2 -2
  162. package/dist/chunks/{shell-qrnb0zs5.js → location-h6fk7gxt.js} +9 -9
  163. package/dist/chunks/{shell-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{shell-938kg93p.js → location-h6y219ca.js} +24 -24
  165. package/dist/chunks/{shell-hp42fy7s.js → location-h8s9z3z5.js} +8 -8
  166. package/dist/chunks/{shell-pxf5smj0.js → location-hdt8t46w.js} +9 -9
  167. package/dist/chunks/{shell-9yk7fe3p.js → location-hejvrh0f.js} +14 -14
  168. package/dist/chunks/{shell-w337vvwy.js → location-hhztpha1.js} +20 -20
  169. package/dist/chunks/{shell-cgkf6hyz.js → location-hzchk1pk.js} +14 -14
  170. package/dist/chunks/{shell-tprea2w6.js → location-j0f29qwa.js} +5 -5
  171. package/dist/chunks/{shell-9h9fjp2r.js → location-j3ff95xa.js} +24 -24
  172. package/dist/chunks/{shell-zn5jhmnr.js → location-j3rsss4t.js} +20 -20
  173. package/dist/chunks/{shell-j56e64zr.js → location-j56e64zr.js} +1 -1
  174. package/dist/chunks/{shell-ntqyxcyw.js → location-jjmgaw8t.js} +24 -24
  175. package/dist/chunks/{shell-n56h5hy7.js → location-jn0ng521.js} +43 -43
  176. package/dist/chunks/{shell-4hqjaqv1.js → location-jnn1pg4s.js} +32 -32
  177. package/dist/chunks/{shell-jppvw2tx.js → location-jppvw2tx.js} +2 -2
  178. package/dist/chunks/location-jqh9b0xq.js +18 -0
  179. package/dist/chunks/{shell-60vgchqy.js → location-k3faz1zp.js} +17 -17
  180. package/dist/chunks/{shell-8zds8w79.js → location-k9anmv7q.js} +26 -26
  181. package/dist/chunks/{shell-f1zbxv7x.js → location-k9avtbwf.js} +9 -9
  182. package/dist/chunks/{shell-k17bahsd.js → location-kaqg86x3.js} +18 -18
  183. package/dist/chunks/{shell-zxn051w9.js → location-ke78d0tt.js} +8 -8
  184. package/dist/chunks/{shell-ywj8m2vt.js → location-kwk1sjzt.js} +25 -25
  185. package/dist/chunks/{shell-m3fdjcah.js → location-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{shell-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{shell-4f127xgv.js → location-mc2w0rmh.js} +15 -15
  188. package/dist/chunks/{shell-gj2ms1nq.js → location-mhsaa535.js} +4 -4
  189. package/dist/chunks/{shell-xdk9p2qn.js → location-mjymc32g.js} +21 -21
  190. package/dist/chunks/{shell-yqr6xnaq.js → location-mmggakvt.js} +4 -4
  191. package/dist/chunks/{shell-58tcc6dc.js → location-mqvxd9y4.js} +36 -36
  192. package/dist/chunks/{shell-xw5sd8ft.js → location-msyhx82m.js} +15 -15
  193. package/dist/chunks/{shell-f76eektm.js → location-n9zez4wf.js} +5 -5
  194. package/dist/chunks/{shell-xdy7smra.js → location-neyqvzdr.js} +46 -46
  195. package/dist/chunks/{shell-ff0svapt.js → location-nng2ktcm.js} +2 -2
  196. package/dist/chunks/{shell-xcby1x0a.js → location-nqjse9n6.js} +9 -9
  197. package/dist/chunks/{shell-k3c624dm.js → location-nzks3jc8.js} +3 -3
  198. package/dist/chunks/{shell-xaz5wxvk.js → location-p0jpxftg.js} +9 -9
  199. package/dist/chunks/{shell-xt6n5xqm.js → location-p4fngkfm.js} +6 -6
  200. package/dist/chunks/{shell-shaj1jnf.js → location-p7gte5gn.js} +26 -26
  201. package/dist/chunks/{shell-bmmmk9rh.js → location-pc8bba18.js} +20 -20
  202. package/dist/chunks/{shell-2d57kztd.js → location-pf2hb43r.js} +4 -4
  203. package/dist/chunks/{shell-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{shell-36prqbxs.js → location-pk2vfkre.js} +7 -7
  205. package/dist/chunks/{shell-e948v4m2.js → location-pkjkgdks.js} +81 -81
  206. package/dist/chunks/{shell-pknna89w.js → location-pknna89w.js} +1 -1
  207. package/dist/chunks/{shell-bct739vz.js → location-pmr4s4kc.js} +4 -4
  208. package/dist/chunks/{shell-mhbjb662.js → location-pp3dp5ad.js} +8 -8
  209. package/dist/chunks/{shell-8qmgx6wx.js → location-pr3rc07j.js} +15 -15
  210. package/dist/chunks/{shell-avvd1tnc.js → location-py33a53q.js} +16 -16
  211. package/dist/chunks/{shell-4mqp54gq.js → location-pyxx3fcm.js} +3 -3
  212. package/dist/chunks/{shell-t257nz5t.js → location-q34kr2rc.js} +12 -12
  213. package/dist/chunks/{shell-c6s8azb0.js → location-q7qrw62a.js} +11 -11
  214. package/dist/chunks/location-qapv375x.js +4 -0
  215. package/dist/chunks/{shell-pa3hft97.js → location-qh5wzrdr.js} +22 -22
  216. package/dist/chunks/{shell-p1nm93x7.js → location-qjnxxf51.js} +5 -5
  217. package/dist/chunks/{shell-2vpn5atd.js → location-qkra8k3h.js} +26 -26
  218. package/dist/chunks/{shell-qsdy395h.js → location-qsdy395h.js} +1 -1
  219. package/dist/chunks/{shell-y1qqcj8h.js → location-qvb3nf84.js} +8 -8
  220. package/dist/chunks/{shell-6qbs7j8e.js → location-r685v1fg.js} +11 -11
  221. package/dist/chunks/{shell-sz0fczdy.js → location-r9q77sm8.js} +6 -6
  222. package/dist/chunks/{shell-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{shell-59ckvsfw.js → location-rfpa0h4r.js} +30 -30
  224. package/dist/chunks/{shell-gagp6v9m.js → location-rgrenpz7.js} +10 -10
  225. package/dist/chunks/{shell-rhjbct0v.js → location-rhjbct0v.js} +1 -1
  226. package/dist/chunks/{shell-1acjjqhc.js → location-rhraev7y.js} +4 -4
  227. package/dist/chunks/{shell-9cdqq2er.js → location-rs311by5.js} +305 -305
  228. package/dist/chunks/{shell-5g8n0xjn.js → location-rsa3r8e2.js} +32 -32
  229. package/dist/chunks/{shell-hb7sxhhb.js → location-rx3k5raz.js} +32 -32
  230. package/dist/chunks/{shell-ghc9cygp.js → location-ryv4b98b.js} +41 -41
  231. package/dist/chunks/{shell-9923zjtq.js → location-s42fsk39.js} +31 -31
  232. package/dist/chunks/{shell-qq3hkfz9.js → location-setb4p7q.js} +6 -6
  233. package/dist/chunks/{shell-9zxh70gf.js → location-ss8k8k84.js} +13 -13
  234. package/dist/chunks/{shell-qwjmgwmn.js → location-t1dawjzh.js} +8 -8
  235. package/dist/chunks/{shell-pqk0pen6.js → location-t2s8k3h0.js} +3 -3
  236. package/dist/chunks/{shell-4m2e3er3.js → location-t60ccsm1.js} +9 -9
  237. package/dist/chunks/{shell-0vk4a8bm.js → location-t67yxjf3.js} +33 -33
  238. package/dist/chunks/{shell-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{shell-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{shell-3k0nn0ne.js → location-tdhe5xga.js} +11 -11
  241. package/dist/chunks/{shell-tdstcens.js → location-tdstcens.js} +1 -1
  242. package/dist/chunks/{shell-sm38kpj9.js → location-tfr1qeh3.js} +11 -11
  243. package/dist/chunks/{shell-13y8bxtp.js → location-tjsv0jpk.js} +18 -18
  244. package/dist/chunks/{shell-eywjeeez.js → location-tnb3g43e.js} +3 -3
  245. package/dist/chunks/{shell-2a482amk.js → location-tq42g4mv.js} +11 -11
  246. package/dist/chunks/{shell-tvtrv512.js → location-tvtrv512.js} +1 -1
  247. package/dist/chunks/{shell-xj2wfzmj.js → location-v8q6jw7g.js} +18 -18
  248. package/dist/chunks/{shell-veqvce7d.js → location-veqvce7d.js} +1 -1
  249. package/dist/chunks/{shell-7zrdb7rw.js → location-vn7byakt.js} +15 -15
  250. package/dist/chunks/{shell-xg79878d.js → location-vrz5rpz8.js} +24 -24
  251. package/dist/chunks/{shell-dhzcx2dk.js → location-vsc8sj6t.js} +18 -18
  252. package/dist/chunks/{shell-jrqntfpr.js → location-vsv60gqs.js} +8 -8
  253. package/dist/chunks/{shell-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{shell-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{shell-wd87259q.js → location-wd87259q.js} +1 -1
  256. package/dist/chunks/{shell-jthyvkq9.js → location-we3en8w2.js} +16 -16
  257. package/dist/chunks/{shell-r84ewcn4.js → location-wfj6d4tq.js} +3 -3
  258. package/dist/chunks/{shell-dpq5pt5b.js → location-wjyt06sc.js} +30 -30
  259. package/dist/chunks/{shell-80pjn6xv.js → location-wp64hyeq.js} +17 -17
  260. package/dist/chunks/{shell-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{shell-50aape0s.js → location-x3v0mxye.js} +5 -5
  262. package/dist/chunks/{shell-t3479h02.js → location-x6p4d2c5.js} +16 -16
  263. package/dist/chunks/{shell-8k29n9b8.js → location-xcehmcv4.js} +11 -11
  264. package/dist/chunks/{shell-drwq78ky.js → location-xfkkasph.js} +4 -4
  265. package/dist/chunks/{shell-dnszgtsj.js → location-xk747vep.js} +9 -9
  266. package/dist/chunks/{shell-ebd4b9hd.js → location-xrfrhdks.js} +30 -30
  267. package/dist/chunks/{shell-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{shell-j7jtjs4b.js → location-y1taq29h.js} +5 -5
  269. package/dist/chunks/{shell-wm8ejcqt.js → location-y3gk2rae.js} +13 -13
  270. package/dist/chunks/{shell-dpkg50ah.js → location-y71avatq.js} +4 -4
  271. package/dist/chunks/{shell-z2htvd61.js → location-yar33tf7.js} +27 -27
  272. package/dist/chunks/{shell-qbp2nq94.js → location-ycx81gtv.js} +23 -23
  273. package/dist/chunks/{shell-jxm9g8ke.js → location-yj50hhw4.js} +1 -1
  274. package/dist/chunks/{shell-7yvm4rav.js → location-ymnhf11g.js} +10 -10
  275. package/dist/chunks/{shell-qq8x5mwt.js → location-yq2cczkq.js} +7 -7
  276. package/dist/chunks/{shell-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{shell-s4enseaf.js → location-yrznvahk.js} +2 -2
  278. package/dist/chunks/{shell-cza3p4qy.js → location-ywsdzc9e.js} +10 -10
  279. package/dist/chunks/{shell-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{shell-fwmjdqts.js → location-z1cbwd81.js} +74 -40
  281. package/dist/chunks/{shell-v0x7c1q7.js → location-z1e15hfs.js} +11 -11
  282. package/dist/chunks/{shell-29x78va6.js → location-z63w68vq.js} +6 -6
  283. package/dist/chunks/{shell-1fcrsx1q.js → location-ze5v0a14.js} +8 -8
  284. package/dist/chunks/{shell-zeh9ct20.js → location-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{shell-fmbfr9zq.js → location-znxkka7s.js} +18 -18
  286. package/dist/chunks/{shell-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{shell-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +84 -84
  293. package/dist/config/discovery.js +81 -81
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +105 -105
  296. package/dist/config/plugin/agent.js +124 -124
  297. package/dist/config/plugin/command.js +213 -213
  298. package/dist/config/plugin/compaction.js +159 -159
  299. package/dist/config/plugin/compatibility.js +140 -140
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +123 -123
  302. package/dist/config/plugin/image.js +122 -122
  303. package/dist/config/plugin/instruction.js +89 -89
  304. package/dist/config/plugin/location-watcher.js +122 -122
  305. package/dist/config/plugin/mcp.js +131 -131
  306. package/dist/config/plugin/policy.js +122 -122
  307. package/dist/config/plugin/provider.js +122 -122
  308. package/dist/config/plugin/reference.js +124 -124
  309. package/dist/config/plugin/shell.js +124 -124
  310. package/dist/config/plugin/skill-file.js +101 -101
  311. package/dist/config/plugin/skill.js +143 -143
  312. package/dist/config/plugin/snapshot.js +122 -122
  313. package/dist/config/plugin/source.js +123 -123
  314. package/dist/config/plugin/tool-output.js +124 -124
  315. package/dist/config/plugin/websearch.js +123 -123
  316. package/dist/config/plugin/worktree.js +124 -124
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +125 -125
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +78 -78
  322. package/dist/database/database.js +65 -65
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +75 -75
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +365 -365
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +92 -92
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +94 -94
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +69 -69
  411. package/dist/file-access.js +103 -103
  412. package/dist/file-mutation.js +93 -93
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +224 -224
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +102 -102
  424. package/dist/filesystem/watcher-binding.js +3 -3
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +101 -101
  427. package/dist/form.js +81 -81
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +88 -88
  430. package/dist/generate.js +102 -102
  431. package/dist/git.js +10 -10
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +90 -90
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +356 -356
  456. package/dist/instruction-discovery.js +82 -82
  457. package/dist/instructions/builtins.js +86 -86
  458. package/dist/instructions/index.js +1 -1
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +85 -85
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +131 -131
  465. package/dist/location-mutation.js +103 -103
  466. package/dist/location-service-map.js +85 -85
  467. package/dist/location-services.js +353 -353
  468. package/dist/location.js +86 -86
  469. package/dist/mcp/client.js +90 -90
  470. package/dist/mcp/index.js +107 -107
  471. package/dist/mcp/instructions.js +127 -127
  472. package/dist/mcp/oauth.js +77 -77
  473. package/dist/mcp/stdio.js +89 -89
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +90 -90
  476. package/dist/model-resolver.js +97 -97
  477. package/dist/model.js +95 -95
  478. package/dist/models-dev.js +96 -96
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +77 -77
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +108 -108
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +87 -87
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +74 -74
  488. package/dist/plugin/agent.js +103 -103
  489. package/dist/plugin/command.js +100 -100
  490. package/dist/plugin/hooks.js +5 -5
  491. package/dist/plugin/host.js +217 -217
  492. package/dist/plugin/identity.js +3 -3
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +328 -328
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +95 -95
  497. package/dist/plugin/module.js +7 -7
  498. package/dist/plugin/optimize.js +2 -2
  499. package/dist/plugin/plan.js +101 -101
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  502. package/dist/plugin/provider/azure.js +121 -121
  503. package/dist/plugin/provider/cerebras.js +1 -1
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +118 -118
  508. package/dist/plugin/provider/digitalocean.js +92 -92
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +92 -92
  513. package/dist/plugin/provider/gitlab.js +90 -90
  514. package/dist/plugin/provider/google-vertex.js +89 -89
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +121 -121
  518. package/dist/plugin/provider/modal.js +91 -91
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +121 -121
  521. package/dist/plugin/provider/openai.js +91 -91
  522. package/dist/plugin/provider/opencode.js +92 -92
  523. package/dist/plugin/provider/openrouter.js +90 -90
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +77 -77
  526. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  527. package/dist/plugin/provider/sap-ai-core.js +90 -90
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +89 -89
  532. package/dist/plugin/provider/vllm.js +121 -121
  533. package/dist/plugin/provider/xai.js +90 -90
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +75 -75
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +140 -140
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +347 -347
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +85 -85
  543. package/dist/plugin/vcs/hg.js +85 -85
  544. package/dist/plugin/warming.js +120 -120
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +6 -6
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +224 -224
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +89 -89
  556. package/dist/provider.js +98 -98
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +3 -3
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +93 -93
  561. package/dist/reference/instructions.js +88 -88
  562. package/dist/reference.js +88 -88
  563. package/dist/repository-cache.js +80 -80
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +94 -94
  567. package/dist/rpc.js +85 -85
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +73 -73
  570. package/dist/session/compaction.js +131 -131
  571. package/dist/session/context.js +151 -151
  572. package/dist/session/diff.js +87 -87
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +220 -220
  577. package/dist/session/execution.js +125 -125
  578. package/dist/session/generate.js +150 -150
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +87 -87
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +76 -76
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +96 -96
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +118 -118
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +129 -129
  590. package/dist/session/projector.js +85 -85
  591. package/dist/session/prompt.js +104 -104
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +89 -89
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +229 -229
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +97 -97
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +113 -113
  601. package/dist/session/runner/step.js +125 -125
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +171 -171
  605. package/dist/session/shell.js +137 -137
  606. package/dist/session/skill.js +102 -102
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +72 -72
  609. package/dist/session/store.js +84 -84
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +209 -209
  612. package/dist/session/system-prompt.js +3 -3
  613. package/dist/session/title.js +155 -155
  614. package/dist/session/to-session-error.js +110 -110
  615. package/dist/session/transfer.js +216 -216
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +217 -217
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +11 -11
  622. package/dist/shell.js +139 -139
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +104 -104
  625. package/dist/skill.js +105 -105
  626. package/dist/snapshot.js +90 -90
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +126 -126
  631. package/dist/tool/plugin/edit.js +115 -115
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +121 -121
  634. package/dist/tool/plugin/grep.js +123 -123
  635. package/dist/tool/plugin/opencode.js +5 -3
  636. package/dist/tool/plugin/patch.js +121 -121
  637. package/dist/tool/plugin/question.js +104 -104
  638. package/dist/tool/plugin/read.js +124 -124
  639. package/dist/tool/plugin/shell.js +216 -216
  640. package/dist/tool/plugin/skill.js +110 -110
  641. package/dist/tool/plugin/subagent.js +216 -216
  642. package/dist/tool/plugin/webfetch.js +111 -111
  643. package/dist/tool/plugin/websearch.js +113 -113
  644. package/dist/tool/plugin/write.js +119 -119
  645. package/dist/tool/read-filesystem.js +97 -97
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +10 -10
  649. package/dist/types/plugin/identity.d.ts +0 -1
  650. package/dist/types/tool/plugin/opencode.d.ts +7 -0
  651. package/dist/types/tool/plugin/subagent.d.ts +3 -1
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +7 -7
  662. package/dist/v1/config/attachment.js +4 -4
  663. package/dist/v1/config/command.js +5 -5
  664. package/dist/v1/config/config.js +16 -16
  665. package/dist/v1/config/error.js +4 -4
  666. package/dist/v1/config/formatter.js +5 -5
  667. package/dist/v1/config/layout.js +1 -1
  668. package/dist/v1/config/lsp.js +3 -3
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +91 -91
  671. package/dist/v1/config/permission.js +7 -7
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/v1/config/server.js +2 -2
  676. package/dist/v1/config/skills.js +3 -3
  677. package/dist/v1/permission.js +1 -1
  678. package/dist/variant.js +90 -90
  679. package/dist/vcs/patch.js +1 -1
  680. package/dist/vcs.js +88 -88
  681. package/dist/websearch.js +83 -83
  682. package/dist/wellknown/plugin.js +73 -73
  683. package/dist/wellknown.js +78 -78
  684. package/dist/workspace/driver.js +5 -5
  685. package/dist/workspace/sql.js +1 -1
  686. package/dist/workspace.js +77 -77
  687. package/dist/worktree/directory.js +2 -2
  688. package/dist/worktree/git.js +10 -10
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree/strategies.js +88 -88
  691. package/dist/worktree.js +95 -95
  692. package/package.json +8 -8
  693. package/dist/chunks/shell-5h6q456q.js +0 -247
  694. package/dist/chunks/shell-6a0k7haa.js +0 -26
  695. package/dist/chunks/shell-6kdq0pjd.js +0 -4
  696. package/dist/chunks/shell-rap9a73h.js +0 -18
  697. package/dist/chunks/shell-vmp141m3.js +0 -80
  698. /package/dist/chunks/{shell-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  699. /package/dist/chunks/{shell-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  700. /package/dist/chunks/{shell-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  701. /package/dist/chunks/{shell-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  702. /package/dist/chunks/{shell-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  703. /package/dist/chunks/{shell-24dcb14g.js → location-24dcb14g.js} +0 -0
  704. /package/dist/chunks/{shell-2710q6r3.js → location-2710q6r3.js} +0 -0
  705. /package/dist/chunks/{shell-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  706. /package/dist/chunks/{shell-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  707. /package/dist/chunks/{shell-359p4xyc.js → location-359p4xyc.js} +0 -0
  708. /package/dist/chunks/{shell-3asan66x.js → location-3asan66x.js} +0 -0
  709. /package/dist/chunks/{shell-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{shell-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  711. /package/dist/chunks/{shell-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  712. /package/dist/chunks/{shell-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  713. /package/dist/chunks/{shell-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  714. /package/dist/chunks/{shell-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  715. /package/dist/chunks/{shell-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  716. /package/dist/chunks/{shell-53557ph1.js → location-53557ph1.js} +0 -0
  717. /package/dist/chunks/{shell-550bvhaj.js → location-550bvhaj.js} +0 -0
  718. /package/dist/chunks/{shell-6prwharc.js → location-6prwharc.js} +0 -0
  719. /package/dist/chunks/{shell-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{shell-7m9af43g.js → location-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{shell-822emrt2.js → location-822emrt2.js} +0 -0
  722. /package/dist/chunks/{shell-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{shell-8n3pysct.js → location-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{shell-922hggd3.js → location-922hggd3.js} +0 -0
  725. /package/dist/chunks/{shell-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{shell-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{shell-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{shell-af5trqkr.js → location-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{shell-afrmfg78.js → location-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{shell-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{shell-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{shell-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{shell-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{shell-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{shell-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{shell-d9fn303g.js → location-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{shell-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{shell-dajrwvna.js → location-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{shell-dap0rakb.js → location-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{shell-df08tz66.js → location-df08tz66.js} +0 -0
  741. /package/dist/chunks/{shell-dy18nga0.js → location-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{shell-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{shell-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{shell-ec1grn59.js → location-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{shell-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{shell-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{shell-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{shell-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{shell-faypxj3z.js → location-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{shell-fd410y7t.js → location-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{shell-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  752. /package/dist/chunks/{shell-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{shell-g86h250q.js → location-g86h250q.js} +0 -0
  754. /package/dist/chunks/{shell-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{shell-gftt206x.js → location-gftt206x.js} +0 -0
  756. /package/dist/chunks/{shell-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  757. /package/dist/chunks/{shell-hk9envan.js → location-hk9envan.js} +0 -0
  758. /package/dist/chunks/{shell-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{shell-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{shell-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{shell-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{shell-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{shell-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{shell-mp448xyj.js → location-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{shell-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{shell-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{shell-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{shell-njntx4h6.js → location-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{shell-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  770. /package/dist/chunks/{shell-q74kybfr.js → location-q74kybfr.js} +0 -0
  771. /package/dist/chunks/{shell-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  772. /package/dist/chunks/{shell-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  773. /package/dist/chunks/{shell-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  774. /package/dist/chunks/{shell-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  775. /package/dist/chunks/{shell-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  776. /package/dist/chunks/{shell-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  777. /package/dist/chunks/{shell-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  778. /package/dist/chunks/{shell-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
  779. /package/dist/chunks/{shell-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  780. /package/dist/chunks/{shell-twg0f83k.js → location-twg0f83k.js} +0 -0
  781. /package/dist/chunks/{shell-w803qqfp.js → location-w803qqfp.js} +0 -0
  782. /package/dist/chunks/{shell-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  783. /package/dist/chunks/{shell-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  784. /package/dist/chunks/{shell-wtztk69x.js → location-wtztk69x.js} +0 -0
  785. /package/dist/chunks/{shell-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  786. /package/dist/chunks/{shell-x61499pn.js → location-x61499pn.js} +0 -0
  787. /package/dist/chunks/{shell-y44na4kk.js → location-y44na4kk.js} +0 -0
  788. /package/dist/chunks/{shell-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  789. /package/dist/chunks/{shell-y8f7s663.js → location-y8f7s663.js} +0 -0
  790. /package/dist/chunks/{shell-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  791. /package/dist/chunks/{shell-ym463w8f.js → location-ym463w8f.js} +0 -0
  792. /package/dist/chunks/{shell-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service9,
9
+ Service: () => Service2,
10
10
  bound: () => bound2,
11
- node: () => node11
11
+ node: () => node3
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service9 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service2 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node11 = makeLocationNode({
19
- service: Service9,
18
+ var node3 = makeLocationNode({
19
+ service: Service2,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service9, Service9.of({ all: () => stamped }));
29
+ return Layer.succeed(Service2, Service2.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service9, node11, bound2, exports_instance2 };
32
+ export { Service2, node3, bound2, exports_instance2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./shell-gd4qta3r.js";
3
+ } from "./location-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./shell-tvtrv512.js";
6
+ } from "./location-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./shell-rdw6cm16.js";
9
+ } from "./location-rdw6cm16.js";
10
10
  import {
11
11
  __export
12
- } from "./shell-9rqn6x4v.js";
12
+ } from "./location-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service69,
21
+ Service: () => Service45,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node73
23
+ node: () => node48
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service69 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service45 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service69, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service45, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service69.of({
125
+ return Service45.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node73 = makeLocationNode({
143
- service: Service69,
142
+ var node48 = makeLocationNode({
143
+ service: Service45,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service69, node73, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service45, node48, exports_tool_output2 };
@@ -1,65 +1,65 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./shell-pqk0pen6.js";
4
+ } from "./location-t2s8k3h0.js";
5
5
  import {
6
6
  Service81,
7
7
  node85
8
- } from "./shell-jase78w4.js";
8
+ } from "./location-gb2rmtkw.js";
9
9
  import {
10
10
  llmClient2
11
- } from "./shell-5t3nmthw.js";
11
+ } from "./location-5t3nmthw.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./shell-ec1grn59.js";
14
+ } from "./location-ec1grn59.js";
15
15
  import {
16
16
  provenance2,
17
17
  compatible2,
18
18
  isCheckpoint2,
19
19
  encode2
20
- } from "./shell-64kphnzf.js";
20
+ } from "./location-06dxphr1.js";
21
21
  import {
22
- load4
23
- } from "./shell-c6s8azb0.js";
22
+ load5
23
+ } from "./location-q7qrw62a.js";
24
24
  import {
25
25
  create3
26
- } from "./shell-rdw6cm16.js";
26
+ } from "./location-rdw6cm16.js";
27
27
  import {
28
28
  toLLMMessages2
29
- } from "./shell-wy8b5sm2.js";
29
+ } from "./location-bz85s9hh.js";
30
30
  import {
31
31
  baseTranscript2,
32
32
  unsupportedParts2,
33
33
  boundImages2
34
- } from "./shell-hb7sxhhb.js";
34
+ } from "./location-rx3k5raz.js";
35
35
  import {
36
36
  toSessionError2
37
- } from "./shell-72j6m2ks.js";
37
+ } from "./location-76mz653q.js";
38
38
  import {
39
39
  policy2,
40
40
  transient2
41
- } from "./shell-qq3hkfz9.js";
41
+ } from "./location-setb4p7q.js";
42
42
  import {
43
43
  estimate2
44
- } from "./shell-h6vf3j39.js";
44
+ } from "./location-h6vf3j39.js";
45
45
  import {
46
46
  calculateCost2,
47
47
  record2,
48
48
  add2
49
- } from "./shell-tdstcens.js";
49
+ } from "./location-tdstcens.js";
50
50
  import {
51
51
  __export
52
- } from "./shell-9rqn6x4v.js";
52
+ } from "./location-9rqn6x4v.js";
53
53
 
54
54
  // src/session/compaction.ts
55
55
  var exports_compaction2 = {};
56
56
  __export(exports_compaction2, {
57
- Service: () => Service8,
57
+ Service: () => Service10,
58
58
  SessionCompaction: () => exports_compaction2,
59
59
  buildPrompt: () => buildPrompt2,
60
60
  estimateTokens: () => estimateTokens2,
61
61
  layer: () => layer6,
62
- node: () => node10,
62
+ node: () => node12,
63
63
  retainUsers: () => retainUsers2,
64
64
  serializeToolContent: () => serializeToolContent2,
65
65
  truncateToolOutput: () => truncateToolOutput2
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
125
125
  `).filter((line) => line.startsWith("##"));
126
126
  var LEGACY_HEADING = "## Additional Context";
127
127
 
128
- class Service8 extends Context.Service()("@opencode/SessionCompaction") {
128
+ class Service10 extends Context.Service()("@opencode/SessionCompaction") {
129
129
  }
130
130
  var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
131
131
  var estimateTokens2 = (input) => {
@@ -298,7 +298,7 @@ var buildPrompt2 = (update, legacy = false) => {
298
298
  };
299
299
  var hasSummarySection = (summary) => summary.split(`
300
300
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
301
- var layer6 = Layer.effect(Service8, Effect.gen(function* () {
301
+ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
302
302
  const bus = yield* Service81;
303
303
  const llm = yield* LLMClient.Service;
304
304
  const db = (yield* Service82).db;
@@ -374,7 +374,7 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
374
374
  webSocket
375
375
  });
376
376
  };
377
- const original = (sessionID) => load4(db, sessionID, "local").pipe(Effect.orDie);
377
+ const original = (sessionID) => load5(db, sessionID, "local").pipe(Effect.orDie);
378
378
  const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
379
379
  const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
380
380
  const context = input.context;
@@ -607,7 +607,7 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
607
607
  }
608
608
  }));
609
609
  });
610
- return Service8.of({
610
+ return Service10.of({
611
611
  transform: state.transform,
612
612
  reload: state.reload,
613
613
  enabled: () => state.get().auto,
@@ -616,10 +616,10 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
616
616
  compactManual
617
617
  });
618
618
  }));
619
- var node10 = makeLocationNode({
620
- service: Service8,
619
+ var node12 = makeLocationNode({
620
+ service: Service10,
621
621
  layer: layer6,
622
622
  deps: [node85, node86, llmClient2]
623
623
  });
624
624
 
625
- export { Service8, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node10, exports_compaction2 };
625
+ export { Service10, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node12, exports_compaction2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./shell-ym463w8f.js";
3
+ } from "./location-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/gateway.ts
6
6
  var GatewayPlugin2 = createProviderPlugin2({
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./shell-2a5m3afh.js";
3
+ } from "./location-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./shell-922hggd3.js";
6
+ } from "./location-922hggd3.js";
7
7
  import {
8
- Service77
9
- } from "./shell-t3479h02.js";
8
+ Service78
9
+ } from "./location-x6p4d2c5.js";
10
10
  import {
11
- Service66
12
- } from "./shell-497trp6d.js";
11
+ Service50
12
+ } from "./location-fx80e2z0.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service20
16
- } from "./shell-bvvhb128.js";
15
+ Service23
16
+ } from "./location-74azehs1.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./shell-jft4q2kn.js";
23
+ } from "./location-dnp5f34d.js";
24
24
  import {
25
- Service58
26
- } from "./shell-cywpmpyh.js";
25
+ Service59
26
+ } from "./location-6r6s2m1q.js";
27
27
  import {
28
- Service47
29
- } from "./shell-13y8bxtp.js";
28
+ Service15
29
+ } from "./location-tjsv0jpk.js";
30
30
  import {
31
31
  __export
32
- } from "./shell-9rqn6x4v.js";
32
+ } from "./location-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input10,
39
- Output: () => Output6,
40
- Plugin: () => Plugin29,
41
- name: () => name10,
42
- toModelContent: () => toModelContent5
38
+ Input: () => Input5,
39
+ Output: () => Output4,
40
+ Plugin: () => Plugin19,
41
+ name: () => name5,
42
+ toModelContent: () => toModelContent3
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name10 = "grep";
48
- var Input10 = Schema.Struct({
47
+ var name5 = "grep";
48
+ var Input5 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input10 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output6 = Schema.Array(Match2);
69
- var toModelContent5 = (matches, truncated = false) => {
68
+ var Output4 = Schema.Array(Match2);
69
+ var toModelContent3 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin29 = {
86
+ var Plugin19 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service66;
90
- const ripgrep = yield* Service20;
91
- const location = yield* Service77;
92
- const access = yield* Service47;
93
- const permission = yield* Service58;
89
+ const environment = yield* Service50;
90
+ const ripgrep = yield* Service23;
91
+ const location = yield* Service78;
92
+ const access = yield* Service15;
93
+ const permission = yield* Service59;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name10,
95
+ name: name5,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input10,
99
- output: Output6,
98
+ input: Input5,
99
+ output: Output4,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name10,
105
+ action: name5,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin29 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent5(result.matches.map((match) => ({
147
+ content: toModelContent3(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin29 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name10, Input10, Output6, toModelContent5, Plugin29, exports_grep };
157
+ export { name5, Input5, Output4, toModelContent3, Plugin19, exports_grep };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./shell-pqk0pen6.js";
4
+ } from "./location-t2s8k3h0.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./shell-dpkg50ah.js";
7
+ } from "./location-y71avatq.js";
8
8
  import {
9
9
  Service81,
10
10
  node85
11
- } from "./shell-jase78w4.js";
11
+ } from "./location-gb2rmtkw.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./shell-ec1grn59.js";
14
+ } from "./location-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./shell-gftt206x.js";
17
+ } from "./location-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./shell-6bsje7ws.js";
20
+ } from "./location-7w99qc9d.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./shell-a1bz86dw.js";
24
+ } from "./location-a1bz86dw.js";
25
25
  import {
26
26
  __export
27
- } from "./shell-9rqn6x4v.js";
27
+ } from "./location-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info10,
35
+ Info: () => Info20,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service51,
40
+ Service: () => Service56,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer21,
49
- list: () => list3,
48
+ layer: () => layer23,
49
+ list: () => list4,
50
50
  make: () => make18,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node54,
53
+ node: () => node60,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info10,
68
+ Info as Info20,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,7 +151,7 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service51 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service56 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
156
  var make18 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service82;
@@ -173,7 +173,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info10.make({
176
+ }).pipe(Effect.map((event) => Info20.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -193,7 +193,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
193
193
  }
194
194
  if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
195
195
  return yield* new LifecycleConflict2({ id: input.id });
196
- const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
196
+ const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
197
197
  if (pending)
198
198
  return pending;
199
199
  return yield* admit({
@@ -218,7 +218,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
218
218
  delivery: "queue"
219
219
  })));
220
220
  return {
221
- list: (sessionID) => list3(db, sessionID),
221
+ list: (sessionID) => list4(db, sessionID),
222
222
  reconcile,
223
223
  admit,
224
224
  admitCompaction,
@@ -227,8 +227,8 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer21 = Layer.effect(Service51, make18());
231
- var node54 = makeGlobalNode({ service: Service51, layer: layer21, deps: [node86, node85] });
230
+ var layer23 = Layer.effect(Service56, make18());
231
+ var node60 = makeGlobalNode({ service: Service56, layer: layer23, deps: [node86, node85] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
266
266
  from: input.delivery === "steer" ? "queue" : "steer",
267
267
  to: input.delivery
268
268
  }));
269
- var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
269
+ var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
270
270
  const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
271
271
  return rows.map(fromRow);
272
272
  });
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info10, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service51, make18, layer21, node54, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info20, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service56, make18, layer23, node60, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./shell-jxm9g8ke.js";
5
+ } from "./location-yj50hhw4.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
- make22,
9
+ make23,
10
10
  makeWithDefaults2
11
- } from "./shell-xt6n5xqm.js";
11
+ } from "./location-p4fngkfm.js";
12
12
  import {
13
13
  __export
14
- } from "./shell-9rqn6x4v.js";
14
+ } from "./location-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
22
22
  EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
23
23
  EffectSQLiteSession: () => EffectSQLiteSession2,
24
24
  EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
25
- make: () => make22,
25
+ make: () => make23,
26
26
  makeWithDefaults: () => makeWithDefaults2,
27
27
  managesTransactionsNatively: () => managesTransactionsNatively2
28
28
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./shell-922hggd3.js";
3
+ } from "./location-922hggd3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service65,
3
- node68
4
- } from "./shell-bt2e4tjd.js";
2
+ Service44,
3
+ node47
4
+ } from "./location-35tmvh3j.js";
5
5
  import {
6
- Service77,
7
- node81
8
- } from "./shell-t3479h02.js";
6
+ Service78,
7
+ node82
8
+ } from "./location-x6p4d2c5.js";
9
9
  import {
10
- Service64,
11
- node67
12
- } from "./shell-ecszv4cx.js";
10
+ Service43,
11
+ node46
12
+ } from "./location-fp4mk58e.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./shell-zxq2ej10.js";
16
+ } from "./location-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./shell-9rqn6x4v.js";
19
+ } from "./location-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service4,
25
+ Service: () => Service7,
26
26
  empty: () => empty2,
27
27
  layer: () => layer5,
28
- node: () => node6
28
+ node: () => node8
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service7 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer5 = Layer.effect(Service4, Effect.gen(function* () {
39
- const config = yield* Service64;
40
- const watcher = yield* Service65;
38
+ var layer5 = Layer.effect(Service7, Effect.gen(function* () {
39
+ const config = yield* Service43;
40
+ const watcher = yield* Service44;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service77;
42
+ const location = yield* Service78;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service4.of({
61
+ return Service7.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node6 = makeLocationNode({
74
- service: Service4,
73
+ var node8 = makeLocationNode({
74
+ service: Service7,
75
75
  layer: layer5,
76
- deps: [node67, FSUtil.node, node68, node81]
76
+ deps: [node46, FSUtil.node, node47, node82]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service4,
80
- layer: Layer.succeed(Service4, Service4.of({
79
+ service: Service7,
80
+ layer: Layer.succeed(Service7, Service7.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service4, layer5, node6, empty2, exports_source };
140
+ export { Service7, layer5, node8, empty2, exports_source };