@opencode/core 0.0.0-dev-20402 → 0.0.0-dev-20406

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{file-retention-hyd4csjw.js → shell-027h9grx.js} +15 -15
  8. package/dist/chunks/{file-retention-6psg71na.js → shell-0a5qyhqp.js} +5 -5
  9. package/dist/chunks/{file-retention-z1h4hzgz.js → shell-0bwxef5p.js} +41 -41
  10. package/dist/chunks/{file-retention-vyr41dye.js → shell-0d8tbd59.js} +19 -19
  11. package/dist/chunks/{file-retention-af04s6ss.js → shell-0f9afca0.js} +5 -5
  12. package/dist/chunks/{file-retention-tqqs58hf.js → shell-0p8b1wz2.js} +11 -11
  13. package/dist/chunks/{file-retention-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{file-retention-0ydfd3tt.js → shell-0pgf3wjz.js} +11 -11
  15. package/dist/chunks/{file-retention-4xykdr3j.js → shell-0tf9f9fk.js} +8 -8
  16. package/dist/chunks/{file-retention-y5rf7nzv.js → shell-0xqyf95c.js} +4 -4
  17. package/dist/chunks/{file-retention-cst1g9ty.js → shell-0yvfy2gr.js} +93 -93
  18. package/dist/chunks/{file-retention-y042j87z.js → shell-11xytnza.js} +32 -32
  19. package/dist/chunks/{file-retention-g9jwfn6x.js → shell-17dp9b3b.js} +11 -11
  20. package/dist/chunks/{file-retention-phstrbs2.js → shell-1ajx6rf5.js} +8 -8
  21. package/dist/chunks/{file-retention-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{file-retention-0tpv2kjk.js → shell-1ezyexdv.js} +14 -14
  23. package/dist/chunks/{file-retention-d0xdxexk.js → shell-1ntkjgb8.js} +29 -29
  24. package/dist/chunks/shell-1q4hgdtf.js +507 -0
  25. package/dist/chunks/{file-retention-a7bcxdzj.js → shell-1rh4yqvv.js} +9 -9
  26. package/dist/chunks/{file-retention-xf1sebn0.js → shell-1t9fg1b5.js} +11 -11
  27. package/dist/chunks/{file-retention-5hd43tkx.js → shell-1y782dng.js} +27 -27
  28. package/dist/chunks/{file-retention-21r38tys.js → shell-21r38tys.js} +1 -1
  29. package/dist/chunks/{file-retention-pgk2xcsw.js → shell-24zydrzs.js} +56 -56
  30. package/dist/chunks/{file-retention-914z0d4t.js → shell-2832djng.js} +10 -10
  31. package/dist/chunks/{file-retention-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{file-retention-9zmzhm3z.js → shell-2a5svkms.js} +12 -12
  33. package/dist/chunks/{file-retention-5xpznt2d.js → shell-2mhsvxbb.js} +4 -4
  34. package/dist/chunks/{file-retention-a8ymkhm3.js → shell-2q4t2vtj.js} +27 -27
  35. package/dist/chunks/{file-retention-1v17rnrm.js → shell-2yxkykh1.js} +35 -35
  36. package/dist/chunks/{file-retention-7qkbk131.js → shell-302sxsq7.js} +8 -8
  37. package/dist/chunks/{file-retention-56gdpj1q.js → shell-33w4ejhs.js} +6 -6
  38. package/dist/chunks/{file-retention-6es9zfpy.js → shell-350namw0.js} +34 -34
  39. package/dist/chunks/{file-retention-en6tpsg7.js → shell-3a1r704r.js} +7 -7
  40. package/dist/chunks/{file-retention-gxjs0nkc.js → shell-3aqqv3ta.js} +24 -24
  41. package/dist/chunks/{file-retention-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{file-retention-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{file-retention-cgsggtpg.js → shell-3namxzrj.js} +86 -86
  44. package/dist/chunks/{file-retention-kkcecp2w.js → shell-3nsr1h9t.js} +32 -32
  45. package/dist/chunks/{file-retention-cx4jqw99.js → shell-3p2gykje.js} +3 -3
  46. package/dist/chunks/{file-retention-m12j2t06.js → shell-3pqrab3r.js} +11 -11
  47. package/dist/chunks/{file-retention-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{file-retention-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{file-retention-ae141jqd.js → shell-3x602478.js} +17 -17
  50. package/dist/chunks/{file-retention-3zsf4n22.js → shell-3zsf4n22.js} +1 -1
  51. package/dist/chunks/{file-retention-16b29q1p.js → shell-40ejgnmq.js} +6 -6
  52. package/dist/chunks/{file-retention-1tp0pegs.js → shell-445bgnxh.js} +9 -9
  53. package/dist/chunks/{file-retention-5xychhr1.js → shell-46gkbd0c.js} +23 -23
  54. package/dist/chunks/{file-retention-bah76z4e.js → shell-4bjzyjqa.js} +12 -12
  55. package/dist/chunks/{file-retention-pyhnah5r.js → shell-4hbxt91c.js} +27 -27
  56. package/dist/chunks/{file-retention-wgm89zzg.js → shell-4r8tvr6m.js} +3 -3
  57. package/dist/chunks/{file-retention-ftjf86m5.js → shell-4rt0ga34.js} +9 -9
  58. package/dist/chunks/{file-retention-54ma36ye.js → shell-54ma36ye.js} +1 -1
  59. package/dist/chunks/{file-retention-57ez7d0k.js → shell-57ez7d0k.js} +2 -2
  60. package/dist/chunks/{file-retention-frt7t1he.js → shell-5bjd8ds0.js} +45 -45
  61. package/dist/chunks/{file-retention-5daktx2q.js → shell-5daktx2q.js} +1 -1
  62. package/dist/chunks/{file-retention-tnnwyf4v.js → shell-5gj63dwh.js} +13 -13
  63. package/dist/chunks/{file-retention-b6c8hgaq.js → shell-5gr04vgg.js} +7 -7
  64. package/dist/chunks/{file-retention-mm5kxf07.js → shell-5kw0n2ma.js} +8 -8
  65. package/dist/chunks/{file-retention-0by5znvt.js → shell-5t0mhrn0.js} +3 -3
  66. package/dist/chunks/{file-retention-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{file-retention-hd8vw2pw.js → shell-5tat9ppm.js} +1 -1
  68. package/dist/chunks/{file-retention-mt193r2g.js → shell-5v8k5syq.js} +28 -28
  69. package/dist/chunks/{file-retention-wvje6e6q.js → shell-5vrj9ban.js} +15 -15
  70. package/dist/chunks/{file-retention-1s8bbjk0.js → shell-5whaezv9.js} +21 -21
  71. package/dist/chunks/{file-retention-26wtd377.js → shell-6033txqd.js} +19 -19
  72. package/dist/chunks/shell-619r8v3y.js +18 -0
  73. package/dist/chunks/{file-retention-669tq793.js → shell-669tq793.js} +1 -1
  74. package/dist/chunks/{file-retention-p0b4ytnr.js → shell-6anwy9fs.js} +6 -6
  75. package/dist/chunks/{file-retention-8csa8wgg.js → shell-6ar8w4pq.js} +44 -44
  76. package/dist/chunks/{file-retention-08cyycf1.js → shell-6fhqajxq.js} +9 -9
  77. package/dist/chunks/{file-retention-j6c2djjz.js → shell-6gnvbdx3.js} +3 -3
  78. package/dist/chunks/{file-retention-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
  79. package/dist/chunks/{file-retention-r5x6zcsm.js → shell-73tb2d7t.js} +3 -3
  80. package/dist/chunks/{file-retention-9965yrjj.js → shell-763zc42s.js} +23 -23
  81. package/dist/chunks/{file-retention-6x3ncgzs.js → shell-77p9tcjg.js} +48 -48
  82. package/dist/chunks/{file-retention-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{file-retention-7dqw4kz8.js → shell-7dqw4kz8.js} +1 -1
  84. package/dist/chunks/{file-retention-4pk7p1z9.js → shell-7dthvaew.js} +21 -21
  85. package/dist/chunks/shell-7kw0n3fd.js +252 -0
  86. package/dist/chunks/{file-retention-z8bdrrqs.js → shell-83y1qfs6.js} +181 -181
  87. package/dist/chunks/{file-retention-bw7f9m3t.js → shell-845k646w.js} +25 -25
  88. package/dist/chunks/{file-retention-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{file-retention-epdvd4ev.js → shell-8j1jmj9t.js} +5 -5
  90. package/dist/chunks/{file-retention-z5s5xvpn.js → shell-8x3ar29j.js} +8 -8
  91. package/dist/chunks/{file-retention-h896pcm5.js → shell-909p1r3q.js} +6 -6
  92. package/dist/chunks/{file-retention-exx9ekpx.js → shell-90xpxcvn.js} +11 -11
  93. package/dist/chunks/{file-retention-dhfqkfjw.js → shell-92tzgrpg.js} +27 -27
  94. package/dist/chunks/{file-retention-94ek1h2f.js → shell-94ek1h2f.js} +2 -2
  95. package/dist/chunks/{file-retention-fnge4047.js → shell-9g29qv69.js} +4 -4
  96. package/dist/chunks/{file-retention-k9xjptez.js → shell-9m18q581.js} +17 -17
  97. package/dist/chunks/{file-retention-ccy2pgf3.js → shell-9rzhta9t.js} +13 -13
  98. package/dist/chunks/{file-retention-382s30hz.js → shell-9syxb0r3.js} +10 -10
  99. package/dist/chunks/{file-retention-61wct4zt.js → shell-a6t0d3d8.js} +27 -27
  100. package/dist/chunks/{file-retention-kkp8zx71.js → shell-a89e0tac.js} +4 -4
  101. package/dist/chunks/{file-retention-aaet6srn.js → shell-aaet6srn.js} +2 -2
  102. package/dist/chunks/{file-retention-g2jqna9d.js → shell-agthfym9.js} +36 -36
  103. package/dist/chunks/{file-retention-68dcddmz.js → shell-awbtvej0.js} +6 -6
  104. package/dist/chunks/{file-retention-kp34pf0p.js → shell-ax630gpb.js} +11 -11
  105. package/dist/chunks/{file-retention-rsper1ey.js → shell-b44gvvvr.js} +23 -23
  106. package/dist/chunks/{file-retention-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{file-retention-x757zt7n.js → shell-bfafj43h.js} +24 -24
  108. package/dist/chunks/{file-retention-hv3sa1e0.js → shell-bj8111r1.js} +11 -11
  109. package/dist/chunks/{file-retention-8g4srgx8.js → shell-br9mj3ey.js} +32 -32
  110. package/dist/chunks/{file-retention-hyt73fgk.js → shell-c1bwn9r9.js} +15 -15
  111. package/dist/chunks/{file-retention-bjc78pkx.js → shell-cbntc203.js} +5 -5
  112. package/dist/chunks/{file-retention-hphkqdz5.js → shell-cebrzyqt.js} +20 -20
  113. package/dist/chunks/{file-retention-8sze2n9a.js → shell-cfsekr6v.js} +6 -6
  114. package/dist/chunks/{file-retention-ckecvw8r.js → shell-ckecvw8r.js} +2 -2
  115. package/dist/chunks/{file-retention-x2gkbbe6.js → shell-cm8jqk38.js} +5 -5
  116. package/dist/chunks/{file-retention-73880a7e.js → shell-cs4k5zgq.js} +9 -9
  117. package/dist/chunks/{file-retention-x2t18wqz.js → shell-cxqfxpp1.js} +8 -8
  118. package/dist/chunks/{file-retention-4q7jz6f3.js → shell-d38myz56.js} +40 -40
  119. package/dist/chunks/{file-retention-znjk7567.js → shell-d7xrmwxz.js} +15 -15
  120. package/dist/chunks/{file-retention-0y9112s8.js → shell-d8cfvk62.js} +17 -17
  121. package/dist/chunks/{file-retention-gqbx8pvk.js → shell-dawgpkjz.js} +8 -8
  122. package/dist/chunks/{file-retention-3m0ax14b.js → shell-de6jgy4a.js} +32 -32
  123. package/dist/chunks/{file-retention-bscb95cy.js → shell-dg5bcj4q.js} +6 -6
  124. package/dist/chunks/{file-retention-92nsqna1.js → shell-dj3aa5wj.js} +3 -3
  125. package/dist/chunks/{file-retention-dmqcgk4z.js → shell-dmqcgk4z.js} +2 -2
  126. package/dist/chunks/{file-retention-zj4ah9h6.js → shell-dy2xnbj8.js} +17 -17
  127. package/dist/chunks/{file-retention-p8g5gece.js → shell-dzrr9fx3.js} +10 -10
  128. package/dist/chunks/{file-retention-phjaars8.js → shell-e0vtkr8g.js} +6 -6
  129. package/dist/chunks/{file-retention-3t81ps34.js → shell-e1t80gge.js} +41 -41
  130. package/dist/chunks/{file-retention-er0xdfmw.js → shell-e1vgqt98.js} +32 -32
  131. package/dist/chunks/{file-retention-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{file-retention-c651xxjb.js → shell-em3h5ktn.js} +4 -4
  133. package/dist/chunks/{file-retention-hwhbafy2.js → shell-er11akkf.js} +18 -18
  134. package/dist/chunks/{file-retention-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
  135. package/dist/chunks/{file-retention-8142ayq4.js → shell-ew9zfet1.js} +26 -26
  136. package/dist/chunks/{file-retention-gztggq6p.js → shell-exq671fp.js} +8 -8
  137. package/dist/chunks/{file-retention-t5nr2mq2.js → shell-f41jbqvm.js} +14 -14
  138. package/dist/chunks/{file-retention-fpn03fpt.js → shell-f42drt00.js} +20 -20
  139. package/dist/chunks/{file-retention-0kt9y2yg.js → shell-fc62ns0w.js} +5 -5
  140. package/dist/chunks/{file-retention-6hh8tjw2.js → shell-fm2qvscf.js} +4 -4
  141. package/dist/chunks/{file-retention-n3sb98w8.js → shell-fmb7ydzj.js} +18 -18
  142. package/dist/chunks/{file-retention-2qr48v8r.js → shell-fq36cd5d.js} +15 -15
  143. package/dist/chunks/{file-retention-30846h32.js → shell-fqtvmpfq.js} +8 -8
  144. package/dist/chunks/{file-retention-pfvbrrxt.js → shell-frz7qx3c.js} +13 -13
  145. package/dist/chunks/{file-retention-h6b02349.js → shell-fy6cggrf.js} +5 -5
  146. package/dist/chunks/{file-retention-1vp4gevy.js → shell-fz2hs8me.js} +11 -11
  147. package/dist/chunks/{file-retention-xfkkasph.js → shell-g5w8qwbj.js} +4 -4
  148. package/dist/chunks/{file-retention-8fm7fx0h.js → shell-g5zc0msw.js} +1 -1
  149. package/dist/chunks/shell-g619fkyf.js +26 -0
  150. package/dist/chunks/{file-retention-tckasdr8.js → shell-gc7e05zt.js} +20 -20
  151. package/dist/chunks/{file-retention-8ryk0bb9.js → shell-gcavn3wx.js} +5 -5
  152. package/dist/chunks/{file-retention-hznfsya8.js → shell-gce79w0q.js} +22 -22
  153. package/dist/chunks/{file-retention-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{file-retention-76tq4jpv.js → shell-ghvvmysb.js} +47 -47
  155. package/dist/chunks/{file-retention-f5gy8qwh.js → shell-gs4tkc79.js} +8 -8
  156. package/dist/chunks/{file-retention-e75wa3q3.js → shell-gs9kr2a8.js} +12 -12
  157. package/dist/chunks/{file-retention-8wshxwa8.js → shell-gsgd9zjh.js} +22 -22
  158. package/dist/chunks/{file-retention-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{file-retention-ndc9tmhz.js → shell-gwt0t2e2.js} +23 -23
  160. package/dist/chunks/{file-retention-4agzmtjj.js → shell-gxf6g2qt.js} +19 -19
  161. package/dist/chunks/{file-retention-9cvt8pvp.js → shell-h3qzknde.js} +30 -30
  162. package/dist/chunks/{file-retention-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{file-retention-na8089pj.js → shell-hadadgvf.js} +4 -4
  164. package/dist/chunks/{file-retention-555wn5z1.js → shell-hbe0cwhg.js} +21 -21
  165. package/dist/chunks/{file-retention-07v38qck.js → shell-hgr40ys5.js} +16 -16
  166. package/dist/chunks/{file-retention-23vhgpjn.js → shell-hzazvw9e.js} +43 -43
  167. package/dist/chunks/{file-retention-tzhaj3et.js → shell-hzk924x7.js} +19 -19
  168. package/dist/chunks/{file-retention-t3kdfj5b.js → shell-j0zcen4g.js} +9 -9
  169. package/dist/chunks/{file-retention-j56e64zr.js → shell-j56e64zr.js} +1 -1
  170. package/dist/chunks/{file-retention-nng2ktcm.js → shell-jca4demv.js} +2 -2
  171. package/dist/chunks/{file-retention-f36tabf2.js → shell-jnps75af.js} +11 -11
  172. package/dist/chunks/{file-retention-pb1eahw5.js → shell-k0gdq8ga.js} +5 -5
  173. package/dist/chunks/{file-retention-w1ym612x.js → shell-k0t8x34b.js} +1 -1
  174. package/dist/chunks/{file-retention-k3c624dm.js → shell-k3c624dm.js} +3 -3
  175. package/dist/chunks/{file-retention-kjwwdp92.js → shell-kg2zmxw6.js} +34 -34
  176. package/dist/chunks/{file-retention-70e78xk1.js → shell-kgc2xkc7.js} +2 -2
  177. package/dist/chunks/{file-retention-rjkh2wef.js → shell-kqgb7ch4.js} +5 -5
  178. package/dist/chunks/{file-retention-tc5he9wg.js → shell-kw0mk995.js} +30 -30
  179. package/dist/chunks/{file-retention-2q4jbtx6.js → shell-ky96t3kz.js} +18 -18
  180. package/dist/chunks/{file-retention-qj12mzv5.js → shell-m0rmv5bm.js} +12 -12
  181. package/dist/chunks/{file-retention-m3fdjcah.js → shell-m3fdjcah.js} +1 -1
  182. package/dist/chunks/{file-retention-w3bcvcpc.js → shell-m41nq2xm.js} +13 -13
  183. package/dist/chunks/{file-retention-901fz9t0.js → shell-m568jpcd.js} +28 -28
  184. package/dist/chunks/{file-retention-m58kmhef.js → shell-m58kmhef.js} +2 -2
  185. package/dist/chunks/{file-retention-kd88yaz5.js → shell-m7s2bw5g.js} +33 -33
  186. package/dist/chunks/{file-retention-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{file-retention-n7hfvk42.js → shell-mdr46t4g.js} +3 -3
  188. package/dist/chunks/{file-retention-v2yybn63.js → shell-mebcx2ev.js} +5 -5
  189. package/dist/chunks/{file-retention-pkkyf0r9.js → shell-mesrmzak.js} +8 -8
  190. package/dist/chunks/{file-retention-53ms7kcc.js → shell-mhjvq9xf.js} +30 -30
  191. package/dist/chunks/{file-retention-d5grx31m.js → shell-mkwp3yp2.js} +8 -8
  192. package/dist/chunks/{file-retention-qvb3nf84.js → shell-mp6d0dty.js} +8 -8
  193. package/dist/chunks/{file-retention-3v25ja2b.js → shell-mv7vmavb.js} +22 -22
  194. package/dist/chunks/{file-retention-yktqjfap.js → shell-myrh9h6p.js} +10 -10
  195. package/dist/chunks/{file-retention-rd456c9t.js → shell-n0x2a21q.js} +20 -20
  196. package/dist/chunks/{file-retention-3a9d28fc.js → shell-ng9nphe0.js} +22 -22
  197. package/dist/chunks/{file-retention-yebp4zhw.js → shell-nmww7jyx.js} +3 -3
  198. package/dist/chunks/{file-retention-m2d0j7c0.js → shell-nq7qbqzc.js} +9 -9
  199. package/dist/chunks/{file-retention-6r9q50nc.js → shell-nsq97wxa.js} +15 -15
  200. package/dist/chunks/{file-retention-0mc7b5yt.js → shell-nwakhswj.js} +34 -34
  201. package/dist/chunks/{file-retention-nxm207yx.js → shell-nxm207yx.js} +1 -1
  202. package/dist/chunks/{file-retention-4j4tgtq5.js → shell-pd7gvt3w.js} +4 -4
  203. package/dist/chunks/{file-retention-wycphyd6.js → shell-pjnbb6nv.js} +29 -29
  204. package/dist/chunks/{file-retention-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{file-retention-b34228va.js → shell-pk6jt4dn.js} +25 -25
  206. package/dist/chunks/{file-retention-pknna89w.js → shell-pknna89w.js} +1 -1
  207. package/dist/chunks/{file-retention-azw3908z.js → shell-pmc1jkpx.js} +15 -15
  208. package/dist/chunks/{file-retention-0jy993ce.js → shell-ps9psapg.js} +27 -27
  209. package/dist/chunks/{file-retention-7w99qc9d.js → shell-q3t37ft6.js} +3 -3
  210. package/dist/chunks/{file-retention-5ar0959a.js → shell-q4g7nk9d.js} +8 -8
  211. package/dist/chunks/{file-retention-y3yyngt1.js → shell-qdd0q08y.js} +18 -18
  212. package/dist/chunks/{file-retention-hkw967g2.js → shell-qfc3y584.js} +9 -9
  213. package/dist/chunks/{file-retention-magykp64.js → shell-qj8eh1ht.js} +4 -4
  214. package/dist/chunks/{file-retention-ptg1zr2n.js → shell-qk5y71t7.js} +10 -10
  215. package/dist/chunks/{file-retention-d4he2qe1.js → shell-qmqgtz8f.js} +9 -9
  216. package/dist/chunks/{file-retention-qsdy395h.js → shell-qsdy395h.js} +1 -1
  217. package/dist/chunks/{file-retention-pvx6jnbt.js → shell-qvb81wqx.js} +17 -17
  218. package/dist/chunks/{file-retention-q4qpptcn.js → shell-qwe7bsa3.js} +17 -17
  219. package/dist/chunks/{file-retention-ba15hegp.js → shell-r7srsjaq.js} +11 -11
  220. package/dist/chunks/{file-retention-1acjjqhc.js → shell-r8xr0va3.js} +4 -4
  221. package/dist/chunks/{file-retention-a2w2trrv.js → shell-rbgk9g65.js} +21 -21
  222. package/dist/chunks/{file-retention-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{file-retention-b0a6mgz0.js → shell-rp3pg7vc.js} +4 -4
  224. package/dist/chunks/{file-retention-kbq17jxs.js → shell-rthp8kp4.js} +18 -18
  225. package/dist/chunks/{file-retention-f3v49yrq.js → shell-rwrdja42.js} +19 -19
  226. package/dist/chunks/{file-retention-f1mm0mp4.js → shell-s0p782fc.js} +20 -20
  227. package/dist/chunks/{file-retention-dk1ph2hs.js → shell-s19nf2ge.js} +9 -9
  228. package/dist/chunks/{file-retention-jdcs44sz.js → shell-sgy5rc4s.js} +15 -15
  229. package/dist/chunks/{file-retention-jqryekp8.js → shell-sgyq1qp9.js} +20 -20
  230. package/dist/chunks/{file-retention-3wa3ckeq.js → shell-smnd959e.js} +10 -10
  231. package/dist/chunks/{file-retention-96kfm23h.js → shell-spcspf24.js} +11 -11
  232. package/dist/chunks/{file-retention-rjreqr61.js → shell-sw0g5drg.js} +30 -30
  233. package/dist/chunks/{file-retention-2f0bjgcj.js → shell-t0fxg8b9.js} +5 -5
  234. package/dist/chunks/{file-retention-1h6fgt3y.js → shell-t34bv3bh.js} +8 -8
  235. package/dist/chunks/{file-retention-dfe8djrf.js → shell-t9zs3egg.js} +4 -4
  236. package/dist/chunks/{file-retention-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{file-retention-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{file-retention-tdstcens.js → shell-tdstcens.js} +1 -1
  239. package/dist/chunks/{file-retention-v1c9ckpm.js → shell-tmvj6me9.js} +10 -10
  240. package/dist/chunks/{file-retention-4ygabsyh.js → shell-tqrmv6wh.js} +35 -35
  241. package/dist/chunks/{file-retention-tvtrv512.js → shell-tvtrv512.js} +1 -1
  242. package/dist/chunks/{file-retention-p4h43hm5.js → shell-v148dh5x.js} +9 -9
  243. package/dist/chunks/{file-retention-ztwp6n71.js → shell-v3a302k8.js} +5 -5
  244. package/dist/chunks/{file-retention-07ehc897.js → shell-v5me1390.js} +26 -26
  245. package/dist/chunks/{file-retention-rsrs7t03.js → shell-vdmdzg77.js} +4 -4
  246. package/dist/chunks/{file-retention-veqvce7d.js → shell-veqvce7d.js} +1 -1
  247. package/dist/chunks/{file-retention-nxy4r4q2.js → shell-vq2r4xxp.js} +52 -52
  248. package/dist/chunks/{file-retention-rfkk6xr1.js → shell-vxfrmkmy.js} +25 -25
  249. package/dist/chunks/{file-retention-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{file-retention-vzs5sf6e.js → shell-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{file-retention-84txncab.js → shell-w1eejvng.js} +5 -5
  252. package/dist/chunks/{file-retention-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{file-retention-qn4ba14w.js → shell-wbkyxrgf.js} +5 -5
  254. package/dist/chunks/{file-retention-wd3x2cqz.js → shell-wd3x2cqz.js} +2 -2
  255. package/dist/chunks/{file-retention-wd87259q.js → shell-wd87259q.js} +1 -1
  256. package/dist/chunks/{file-retention-4wct8n2q.js → shell-wdt5kg7f.js} +9 -9
  257. package/dist/chunks/{file-retention-4kc82and.js → shell-wh0yrkpr.js} +13 -13
  258. package/dist/chunks/{file-retention-xj3m6db3.js → shell-ws227ysr.js} +11 -11
  259. package/dist/chunks/{file-retention-s8d7rejh.js → shell-wv396vej.js} +8 -8
  260. package/dist/chunks/{file-retention-gp2fw5da.js → shell-wx3q8r90.js} +10 -10
  261. package/dist/chunks/{file-retention-car3yqh5.js → shell-wzh9kx9c.js} +4 -4
  262. package/dist/chunks/{file-retention-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{file-retention-7q81yew2.js → shell-x3ec03mt.js} +12 -12
  264. package/dist/chunks/{file-retention-dnxkq42g.js → shell-x661k3y3.js} +4 -4
  265. package/dist/chunks/{file-retention-psm6mvq2.js → shell-xd0e3npz.js} +15 -15
  266. package/dist/chunks/{file-retention-5sm82are.js → shell-xh2bzhhz.js} +6 -6
  267. package/dist/chunks/{file-retention-5178wfd8.js → shell-xky4w4my.js} +31 -31
  268. package/dist/chunks/{file-retention-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{file-retention-enghkq7s.js → shell-y2acyqmb.js} +35 -35
  270. package/dist/chunks/{file-retention-nvymb3gw.js → shell-y30nbvw3.js} +23 -23
  271. package/dist/chunks/{file-retention-0t1hj50p.js → shell-y6drww2a.js} +47 -47
  272. package/dist/chunks/{file-retention-jjctv81n.js → shell-yfmq466m.js} +18 -18
  273. package/dist/chunks/{file-retention-h4z1mxff.js → shell-yq14pbr7.js} +5 -5
  274. package/dist/chunks/{file-retention-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{file-retention-tjhbrvq4.js → shell-yrxdn3w6.js} +13 -13
  276. package/dist/chunks/{file-retention-yrznvahk.js → shell-yrznvahk.js} +2 -2
  277. package/dist/chunks/{file-retention-z07pqspn.js → shell-z07pqspn.js} +3 -3
  278. package/dist/chunks/{file-retention-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{file-retention-1tnfewyb.js → shell-z2sk8n0r.js} +11 -11
  280. package/dist/chunks/{file-retention-32ymn5e1.js → shell-z2wvrawj.js} +6 -6
  281. package/dist/chunks/{file-retention-h0ddtxn3.js → shell-z41n5maa.js} +69 -69
  282. package/dist/chunks/{file-retention-h67bwh8a.js → shell-z4h5d8ps.js} +21 -21
  283. package/dist/chunks/{file-retention-s16mhmbj.js → shell-z4pb129a.js} +4 -4
  284. package/dist/chunks/{file-retention-z63w68vq.js → shell-z63w68vq.js} +2 -2
  285. package/dist/chunks/{file-retention-cw1stz9h.js → shell-z9v69aw7.js} +33 -33
  286. package/dist/chunks/{file-retention-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{file-retention-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{file-retention-3aw7vgta.js → shell-zrfk4xcc.js} +32 -32
  289. package/dist/chunks/{file-retention-efkdte57.js → shell-zvjxv4v7.js} +21 -21
  290. package/dist/chunks/{file-retention-zav06jzw.js → shell-zvt5dnpc.js} +4 -4
  291. package/dist/chunks/{file-retention-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
  292. package/dist/chunks/{file-retention-ycgx5mwh.js → shell-zz8pmeaw.js} +13 -13
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +5 -5
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +83 -83
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +125 -125
  302. package/dist/config/plugin/command.js +215 -215
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +132 -132
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +85 -85
  327. package/dist/database/database.js +70 -70
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +79 -79
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +226 -226
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +99 -99
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +13 -13
  431. package/dist/filesystem.js +102 -102
  432. package/dist/form.js +82 -82
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +105 -105
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +91 -91
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +79 -79
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +87 -87
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +85 -85
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +105 -105
  477. package/dist/mcp/instructions.js +129 -129
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +91 -91
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +102 -102
  484. package/dist/models-dev.js +99 -99
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +82 -82
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +111 -111
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +84 -84
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +102 -102
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +335 -335
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +124 -124
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +95 -95
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +350 -350
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +230 -230
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +84 -84
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +99 -99
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +91 -91
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +3 -3
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +129 -129
  580. package/dist/session/context.js +153 -153
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +222 -222
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +154 -154
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +90 -90
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +73 -73
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +84 -84
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +232 -232
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +4 -4
  610. package/dist/session/runner/step.js +124 -124
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +211 -211
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +155 -155
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +221 -221
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +217 -217
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +15 -15
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +91 -91
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +128 -128
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +103 -103
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +216 -216
  650. package/dist/tool/plugin/skill.js +111 -111
  651. package/dist/tool/plugin/subagent.js +214 -214
  652. package/dist/tool/plugin/webfetch.js +110 -110
  653. package/dist/tool/plugin/websearch.js +108 -108
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +12 -12
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +3 -3
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +14 -14
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +1 -1
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +91 -91
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +87 -87
  688. package/dist/websearch.js +82 -82
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +79 -79
  691. package/dist/workspace/driver.js +5 -5
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +80 -80
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +98 -98
  699. package/package.json +8 -8
  700. package/dist/chunks/file-retention-jqh9b0xq.js +0 -18
  701. package/dist/chunks/file-retention-js7f2ndc.js +0 -507
  702. package/dist/chunks/file-retention-n4ksp8v5.js +0 -26
  703. package/dist/chunks/file-retention-pwvtcxk6.js +0 -252
  704. /package/dist/chunks/{file-retention-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{file-retention-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{file-retention-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{file-retention-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{file-retention-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{file-retention-24dcb14g.js → shell-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{file-retention-2710q6r3.js → shell-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{file-retention-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{file-retention-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{file-retention-34c7v6d4.js → shell-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{file-retention-359p4xyc.js → shell-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{file-retention-3asan66x.js → shell-3asan66x.js} +0 -0
  716. /package/dist/chunks/{file-retention-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{file-retention-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{file-retention-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{file-retention-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{file-retention-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{file-retention-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{file-retention-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{file-retention-53557ph1.js → shell-53557ph1.js} +0 -0
  724. /package/dist/chunks/{file-retention-550bvhaj.js → shell-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{file-retention-5qd3pb7m.js → shell-5qd3pb7m.js} +0 -0
  726. /package/dist/chunks/{file-retention-6prwharc.js → shell-6prwharc.js} +0 -0
  727. /package/dist/chunks/{file-retention-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{file-retention-7m9af43g.js → shell-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{file-retention-822emrt2.js → shell-822emrt2.js} +0 -0
  730. /package/dist/chunks/{file-retention-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{file-retention-8n3pysct.js → shell-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{file-retention-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{file-retention-922hggd3.js → shell-922hggd3.js} +0 -0
  734. /package/dist/chunks/{file-retention-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{file-retention-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{file-retention-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{file-retention-af5trqkr.js → shell-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{file-retention-afrmfg78.js → shell-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{file-retention-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{file-retention-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{file-retention-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{file-retention-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{file-retention-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{file-retention-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{file-retention-d9fn303g.js → shell-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{file-retention-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{file-retention-dajrwvna.js → shell-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{file-retention-dap0rakb.js → shell-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{file-retention-df08tz66.js → shell-df08tz66.js} +0 -0
  750. /package/dist/chunks/{file-retention-dy18nga0.js → shell-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{file-retention-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{file-retention-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{file-retention-ec1grn59.js → shell-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{file-retention-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{file-retention-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{file-retention-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{file-retention-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{file-retention-faypxj3z.js → shell-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{file-retention-fd410y7t.js → shell-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{file-retention-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{file-retention-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{file-retention-g86h250q.js → shell-g86h250q.js} +0 -0
  763. /package/dist/chunks/{file-retention-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{file-retention-gftt206x.js → shell-gftt206x.js} +0 -0
  765. /package/dist/chunks/{file-retention-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{file-retention-hk9envan.js → shell-hk9envan.js} +0 -0
  767. /package/dist/chunks/{file-retention-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{file-retention-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{file-retention-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{file-retention-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{file-retention-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{file-retention-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{file-retention-mp448xyj.js → shell-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{file-retention-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{file-retention-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{file-retention-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{file-retention-njntx4h6.js → shell-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{file-retention-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{file-retention-q74kybfr.js → shell-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{file-retention-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{file-retention-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{file-retention-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{file-retention-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{file-retention-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{file-retention-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{file-retention-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{file-retention-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{file-retention-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{file-retention-w803qqfp.js → shell-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{file-retention-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{file-retention-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{file-retention-wtztk69x.js → shell-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{file-retention-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{file-retention-x61499pn.js → shell-x61499pn.js} +0 -0
  795. /package/dist/chunks/{file-retention-y44na4kk.js → shell-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{file-retention-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{file-retention-y8f7s663.js → shell-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{file-retention-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{file-retention-ym463w8f.js → shell-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{file-retention-z9919s4g.js → shell-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./file-retention-hv3sa1e0.js";
2
+ Service84,
3
+ node88
4
+ } from "./shell-bj8111r1.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./file-retention-nxm207yx.js";
7
+ } from "./shell-nxm207yx.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node75
12
- } from "./file-retention-68dcddmz.js";
11
+ node70
12
+ } from "./shell-awbtvej0.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./file-retention-faypxj3z.js";
15
+ } from "./shell-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./file-retention-9rqn6x4v.js";
18
+ } from "./shell-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID11,
25
- Info: () => Info25,
24
+ ID: () => ID9,
25
+ Info: () => Info24,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service71,
27
+ Service: () => Service66,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured11,
30
- node: () => node74
29
+ configured: () => configured10,
30
+ node: () => node69
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID11 = Workspace.ID;
38
+ var ID9 = Workspace.ID;
39
39
 
40
- class Info25 extends Schema.Class("Workspace.Info")({
41
- id: ID11,
40
+ class Info24 extends Schema.Class("Workspace.Info")({
41
+ id: ID9,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,25 +46,25 @@ class Info25 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID11 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID9 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID11,
53
+ workspaceID: ID9,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service71 extends Context.Service()("@opencode/Workspace") {
59
+ class Service66 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured11 = (options = {}) => makeGlobalNode({
62
- service: Service71,
61
+ var configured10 = (options = {}) => makeGlobalNode({
62
+ service: Service66,
63
63
  layer: layer(options),
64
- deps: [node87, node75]
64
+ deps: [node88, node70]
65
65
  });
66
- var layer = (options) => Layer.effect(Service71, Effect.gen(function* () {
67
- const db = (yield* Service83).db;
66
+ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
67
+ const db = (yield* Service84).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
70
70
  const connections = new Map;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service71, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info25({
83
+ const info = (row, binding) => new Info24({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service71, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service71.of({
157
+ return Service66.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID11.create();
159
+ const workspaceID = input.id ?? ID9.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service71, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node74 = configured11();
224
+ var node69 = configured10();
225
225
 
226
- export { ID11, Info25, NotFound3, CreateConflict2, Service71, configured11, node74, exports_workspace };
226
+ export { ID9, Info24, NotFound3, CreateConflict2, Service66, configured10, node69, exports_workspace };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
- make21,
4
+ make22,
5
5
  diffByKey2
6
- } from "./file-retention-s8d7rejh.js";
6
+ } from "./shell-wv396vej.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./file-retention-nxy4r4q2.js";
9
+ } from "./shell-vq2r4xxp.js";
10
10
  import {
11
- Service34,
12
- node38
13
- } from "./file-retention-0t1hj50p.js";
11
+ Service40,
12
+ node43
13
+ } from "./shell-y6drww2a.js";
14
14
  import {
15
15
  namespace2,
16
- name13
17
- } from "./file-retention-d0xdxexk.js";
16
+ name14
17
+ } from "./shell-1ntkjgb8.js";
18
18
  import {
19
19
  __export
20
- } from "./file-retention-9rqn6x4v.js";
20
+ } from "./shell-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
- var exports_instructions3 = {};
24
- __export(exports_instructions3, {
25
- McpInstructions: () => exports_instructions3,
26
- Service: () => Service27,
27
- layer: () => layer11,
28
- node: () => node30
23
+ var exports_instructions4 = {};
24
+ __export(exports_instructions4, {
25
+ McpInstructions: () => exports_instructions4,
26
+ Service: () => Service38,
27
+ layer: () => layer14,
28
+ node: () => node41
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -61,14 +61,14 @@ var update = (previous, current) => {
61
61
  `);
62
62
  };
63
63
 
64
- class Service27 extends Context.Service()("@opencode/McpInstructions") {
64
+ class Service38 extends Context.Service()("@opencode/McpInstructions") {
65
65
  }
66
- var layer11 = Layer.effect(Service27, Effect.gen(function* () {
67
- const mcp = yield* Service34;
68
- return Service27.of({
66
+ var layer14 = Layer.effect(Service38, Effect.gen(function* () {
67
+ const mcp = yield* Service40;
68
+ return Service38.of({
69
69
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
70
- const source = (value) => make21({
71
- key: Key3.make("core/mcp-guidance"),
70
+ const source = (value) => make22({
71
+ key: Key4.make("core/mcp-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(value),
74
74
  render: {
@@ -86,7 +86,7 @@ var layer11 = Layer.effect(Service27, Effect.gen(function* () {
86
86
  const codemode = owned[0]?.codemode !== false;
87
87
  if (codemode && !canExecute)
88
88
  return [];
89
- if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", permissions).effect !== "deny"))
89
+ if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
90
90
  return [];
91
91
  return [
92
92
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -96,6 +96,6 @@ var layer11 = Layer.effect(Service27, Effect.gen(function* () {
96
96
  })
97
97
  });
98
98
  }));
99
- var node30 = makeLocationNode({ service: Service27, layer: layer11, deps: [node38] });
99
+ var node41 = makeLocationNode({ service: Service38, layer: layer14, deps: [node43] });
100
100
 
101
- export { Service27, layer11, node30, exports_instructions3 };
101
+ export { Service38, layer14, node41, exports_instructions4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./file-retention-qfa1cgps.js";
3
+ } from "./shell-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./file-retention-z5s5xvpn.js";
4
+ } from "./shell-8x3ar29j.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./file-retention-922hggd3.js";
8
+ } from "./shell-922hggd3.js";
9
9
  import {
10
10
  Ref4,
11
- Service79,
12
- node83
13
- } from "./file-retention-0tpv2kjk.js";
11
+ Service80,
12
+ node84
13
+ } from "./shell-1ezyexdv.js";
14
14
  import {
15
15
  __export
16
- } from "./file-retention-9rqn6x4v.js";
16
+ } from "./shell-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service61,
22
+ Service: () => Service28,
23
23
  define: () => define2,
24
- node: () => node64
24
+ node: () => node31
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service61 extends Context.Service()("@opencode/Rpc") {
30
+ class Service28 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service61, Effect.gen(function* () {
42
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
43
43
  const bus = yield* Service82;
44
- const location = yield* Service79;
44
+ const location = yield* Service80;
45
45
  const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const closed = yield* Deferred.make();
47
47
  const callContext = {
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
118
118
  const registered = events.get(name);
119
119
  if (!registered)
120
120
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
121
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service79, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
121
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service80, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
122
  }
123
123
  }
124
124
  };
125
125
  };
126
- return Service61.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service28.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node64 = makeLocationNode({ service: Service61, layer, deps: [node86, node83] });
128
+ var node31 = makeLocationNode({ service: Service28, layer, deps: [node86, node84] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service61, node64, exports_rpc, define2 };
213
+ export { Service28, node31, exports_rpc, define2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node55
5
- } from "./file-retention-382s30hz.js";
4
+ node56
5
+ } from "./shell-9syxb0r3.js";
6
6
  import {
7
7
  Service82,
8
8
  node86
9
- } from "./file-retention-z5s5xvpn.js";
9
+ } from "./shell-8x3ar29j.js";
10
10
  import {
11
11
  native2,
12
- ID13,
12
+ ID7,
13
13
  aisdk2
14
- } from "./file-retention-3aw7vgta.js";
14
+ } from "./shell-zrfk4xcc.js";
15
15
  import {
16
- ID12,
16
+ ID6,
17
17
  Family2,
18
18
  compatibility2
19
- } from "./file-retention-y042j87z.js";
19
+ } from "./shell-11xytnza.js";
20
20
  import {
21
21
  resolve2
22
- } from "./file-retention-0by5znvt.js";
22
+ } from "./shell-5t0mhrn0.js";
23
23
  import {
24
- Service57,
25
- node60
26
- } from "./file-retention-tnnwyf4v.js";
24
+ Service69,
25
+ node73
26
+ } from "./shell-5gj63dwh.js";
27
27
  import {
28
28
  __export
29
- } from "./file-retention-9rqn6x4v.js";
29
+ } from "./shell-9rqn6x4v.js";
30
30
 
31
31
  // src/models-dev.ts
32
32
  var exports_models_dev = {};
@@ -35,11 +35,11 @@ __export(exports_models_dev, {
35
35
  Event: () => Event2,
36
36
  ModelsDev: () => exports_models_dev,
37
37
  Options: () => Options2,
38
- Service: () => Service15,
38
+ Service: () => Service13,
39
39
  bodyDigest: () => bodyDigest2,
40
40
  configured: () => configured2,
41
41
  layer: () => layer8,
42
- node: () => node17
42
+ node: () => node15
43
43
  });
44
44
  import { Cause, Context, Duration, Effect, Layer, Option, Schedule, Schema, Semaphore } from "effect";
45
45
  import { HttpClient, HttpClientRequest } from "effect/unstable/http";
@@ -63,7 +63,7 @@ function nativePackage(provider, model) {
63
63
  function normalize(input) {
64
64
  const providers = [];
65
65
  for (const item of Object.values(input)) {
66
- const providerID = ID13.make(item.id);
66
+ const providerID = ID7.make(item.id);
67
67
  const packageName = nativePackage(item);
68
68
  const info = {
69
69
  id: providerID,
@@ -75,12 +75,12 @@ function normalize(input) {
75
75
  const models = [];
76
76
  for (const model of Object.values(item.models)) {
77
77
  const baseCost = cost(model.cost);
78
- const id = ID12.make(model.id);
78
+ const id = ID6.make(model.id);
79
79
  const base = modelInfo(item, id, model, { cost: baseCost });
80
80
  const variants = resolve2({ ...base, package: nativePackage(item, model) }, supports(model));
81
81
  models.push({ ...base, variants });
82
82
  for (const [mode, options] of Object.entries(model.experimental?.modes ?? {})) {
83
- const modeID = ID12.make(`${model.id}-${mode}`);
83
+ const modeID = ID6.make(`${model.id}-${mode}`);
84
84
  models.push(modelInfo(item, modeID, model, {
85
85
  name: modeName(model, mode),
86
86
  cost: mergeCost(baseCost, options.cost),
@@ -153,7 +153,7 @@ function supports(model) {
153
153
  return (model.reasoning_options ?? []).map((option) => option.type === "effort" ? { type: "effort", values: option.values.filter((value) => value !== null && value !== "null") } : option);
154
154
  }
155
155
  function modelInfo(provider, id, model, input = {}) {
156
- const providerID = ID13.make(provider.id);
156
+ const providerID = ID7.make(provider.id);
157
157
  const pkg = model.provider?.npm ? nativePackage(provider, model) : undefined;
158
158
  const settings = {
159
159
  ...model.provider?.api ? { baseURL: model.provider.api } : {},
@@ -161,7 +161,7 @@ function modelInfo(provider, id, model, input = {}) {
161
161
  };
162
162
  return {
163
163
  id,
164
- modelID: ID12.make(model.id),
164
+ modelID: ID6.make(model.id),
165
165
  providerID,
166
166
  name: input.name ?? model.name,
167
167
  compatibility: compatibility2(model.interleaved),
@@ -194,7 +194,7 @@ var Options2 = Schema.Struct({
194
194
  snapshot: Schema.optional(Schema.Boolean)
195
195
  });
196
196
 
197
- class Service15 extends Context.Service()("@opencode/ModelsDev") {
197
+ class Service13 extends Context.Service()("@opencode/ModelsDev") {
198
198
  }
199
199
  var CatalogJson = Schema.fromJsonString(Schema.Record(Schema.String, Schema.Unknown));
200
200
  var decodeCatalog = (text) => Schema.decodeUnknownEffect(CatalogJson)(text).pipe(Effect.map((catalog) => catalog));
@@ -217,11 +217,11 @@ function cacheKey(source) {
217
217
  function bodyDigest2(text) {
218
218
  return Hash.sha256(text);
219
219
  }
220
- var layer8 = (options) => Layer.effect(Service15, Effect.gen(function* () {
220
+ var layer8 = (options) => Layer.effect(Service13, Effect.gen(function* () {
221
221
  const fs = yield* FSUtil.Service;
222
222
  const bus = yield* Service82;
223
223
  const app = yield* Metadata2;
224
- const kv = yield* Service57;
224
+ const kv = yield* Service69;
225
225
  const http = HttpClient.filterStatusOk((yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
226
226
  retryOn: "errors-and-responses",
227
227
  times: 2,
@@ -301,15 +301,15 @@ var layer8 = (options) => Layer.effect(Service15, Effect.gen(function* () {
301
301
  if (fetch && !process.argv.includes("--get-yargs-completions")) {
302
302
  yield* Effect.forkScoped(refresh().pipe(Effect.repeat(Schedule.spaced(ttl)), Effect.ignore));
303
303
  }
304
- return Service15.of({ get, refresh });
304
+ return Service13.of({ get, refresh });
305
305
  }));
306
306
  function configured2(options) {
307
307
  return makeGlobalNode({
308
- service: Service15,
308
+ service: Service13,
309
309
  layer: layer8(options),
310
- deps: [FSUtil.node, node86, node55, node60, httpClient]
310
+ deps: [FSUtil.node, node86, node56, node73, httpClient]
311
311
  });
312
312
  }
313
- var node17 = configured2();
313
+ var node15 = configured2();
314
314
 
315
- export { CatalogModelStatus2, Options2, Service15, bodyDigest2, layer8, configured2, node17, exports_models_dev, Event2 };
315
+ export { CatalogModelStatus2, Options2, Service13, bodyDigest2, layer8, configured2, node15, exports_models_dev, Event2 };
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID10 = Session.ID;
5
- var Info24 = Session.Info;
4
+ var ID15 = Session.ID;
5
+ var Info30 = Session.Info;
6
6
 
7
- export { ID10, Info24, SessionSchema2 };
7
+ export { ID15, Info30, SessionSchema2 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service53
4
- } from "./file-retention-3t81ps34.js";
3
+ Service58
4
+ } from "./shell-e1t80gge.js";
5
5
  import {
6
6
  observe2
7
- } from "./file-retention-qsdy395h.js";
7
+ } from "./shell-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./file-retention-9rqn6x4v.js";
10
+ } from "./shell-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
13
  var exports_websearch2 = {};
14
14
  __export(exports_websearch2, {
15
15
  ConfigWebSearchPlugin: () => exports_websearch2,
16
- Plugin: () => Plugin17
16
+ Plugin: () => Plugin40
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin17 = define({
20
+ var Plugin40 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service53;
23
+ const config = yield* Service58;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin17 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin17, exports_websearch2 };
35
+ export { Plugin40, exports_websearch2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-retention-922hggd3.js";
3
+ } from "./shell-922hggd3.js";
4
4
  import {
5
5
  root2
6
- } from "./file-retention-rsper1ey.js";
6
+ } from "./shell-b44gvvvr.js";
7
7
  import {
8
- Service79,
9
- node83
10
- } from "./file-retention-0tpv2kjk.js";
8
+ Service80,
9
+ node84
10
+ } from "./shell-1ezyexdv.js";
11
11
  import {
12
- Service63,
13
- node66
14
- } from "./file-retention-nxy4r4q2.js";
12
+ Service71,
13
+ node75
14
+ } from "./shell-vq2r4xxp.js";
15
15
  import {
16
16
  __export
17
- } from "./file-retention-9rqn6x4v.js";
17
+ } from "./shell-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,8 +22,8 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service17,
26
- node: () => node19,
25
+ Service: () => Service25,
26
+ node: () => node28,
27
27
  resolvePath: () => resolvePath2
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
37
37
  kind: Kind2.pipe(Schema.optional)
38
38
  });
39
39
 
40
- class Service17 extends Context.Service()("@opencode/FileAccess") {
40
+ class Service25 extends Context.Service()("@opencode/FileAccess") {
41
41
  }
42
42
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
43
43
  const normalized = FSUtil.windowsPath(input);
@@ -49,10 +49,10 @@ var invocation = (context) => ({
49
49
  agent: context.agent,
50
50
  source: { type: "tool", messageID: context.messageID, id: context.id }
51
51
  });
52
- var layer = Layer.effect(Service17, Effect.gen(function* () {
52
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
53
53
  const fs = yield* FSUtil.Service;
54
- const location = yield* Service79;
55
- const permission = yield* Service63;
54
+ const location = yield* Service80;
55
+ const permission = yield* Service71;
56
56
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
57
57
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
58
58
  const worktree = path.resolve(location.project.directory);
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
101
101
  });
102
102
  return target;
103
103
  });
104
- return Service17.of({ resolve, authorizeExternal, authorizeRead });
104
+ return Service25.of({ resolve, authorizeExternal, authorizeRead });
105
105
  }));
106
- var node19 = makeLocationNode({ service: Service17, layer, deps: [FSUtil.node, node83, node66] });
106
+ var node28 = makeLocationNode({ service: Service25, layer, deps: [FSUtil.node, node84, node75] });
107
107
 
108
- export { Kind2, ResolveInput2, Service17, resolvePath2, node19, exports_file_access };
108
+ export { Kind2, ResolveInput2, Service25, resolvePath2, node28, exports_file_access };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service53
3
- } from "./file-retention-3t81ps34.js";
2
+ Service58
3
+ } from "./shell-e1t80gge.js";
4
4
  import {
5
5
  Service10
6
- } from "./file-retention-h67bwh8a.js";
6
+ } from "./shell-z4h5d8ps.js";
7
7
  import {
8
8
  observe2
9
- } from "./file-retention-qsdy395h.js";
9
+ } from "./shell-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./file-retention-9rqn6x4v.js";
12
+ } from "./shell-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: () => Plugin33
18
+ Plugin: () => Plugin46
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin33 = define({
22
+ var Plugin46 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service53;
25
+ const config = yield* Service58;
26
26
  const compaction = yield* Service10;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
@@ -39,4 +39,4 @@ var Plugin33 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin33, exports_compaction };
42
+ export { Plugin46, exports_compaction };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
6
  var exports_permission = {};
7
7
  __export(exports_permission, {
8
8
  Action: () => Action2,
9
9
  ConfigPermissionV1: () => exports_permission,
10
- Info: () => Info15,
10
+ Info: () => Info19,
11
11
  Object: () => Object2,
12
12
  Rule: () => Rule2
13
13
  });
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
33
33
  }), [Schema.Record(Schema.String, Rule2)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
- var Info15 = InputSchema.pipe(Schema.decodeTo(InputObject, {
36
+ var Info19 = InputSchema.pipe(Schema.decodeTo(InputObject, {
37
37
  decode: SchemaGetter.transform(normalizeInput),
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule2, Info15, exports_permission };
41
+ export { Action2, Object2, Rule2, Info19, exports_permission };