@opencode/core 0.0.0-dev-19510 → 0.0.0-dev-19511

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{repository-cache-azqcdpv6.js → project-03byqthe.js} +38 -38
  9. package/dist/chunks/{repository-cache-jmfdmvz8.js → project-04hzg152.js} +15 -15
  10. package/dist/chunks/{repository-cache-v1f63sx8.js → project-06brqfbk.js} +19 -19
  11. package/dist/chunks/{repository-cache-fe5y4fwd.js → project-0gcj0wxd.js} +13 -13
  12. package/dist/chunks/{repository-cache-4qrj65j9.js → project-0jrfp098.js} +7 -7
  13. package/dist/chunks/{repository-cache-8d6mzkbv.js → project-0jzgk3xk.js} +14 -14
  14. package/dist/chunks/{repository-cache-k4a4y6vh.js → project-0kgvfrm4.js} +20 -20
  15. package/dist/chunks/{repository-cache-nebm0gew.js → project-0mgvehma.js} +3 -3
  16. package/dist/chunks/{repository-cache-f6cernjp.js → project-0mqws7ma.js} +32 -32
  17. package/dist/chunks/{repository-cache-0paq2nw3.js → project-0paq2nw3.js} +1 -1
  18. package/dist/chunks/{repository-cache-0q0f95c6.js → project-0q0f95c6.js} +1 -1
  19. package/dist/chunks/{repository-cache-cesx3e6j.js → project-128jwkd9.js} +11 -11
  20. package/dist/chunks/{repository-cache-hqt9vmcs.js → project-17f7730q.js} +20 -20
  21. package/dist/chunks/{repository-cache-xcfb136s.js → project-180kq3wy.js} +11 -11
  22. package/dist/chunks/{repository-cache-1dazxqgg.js → project-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{repository-cache-96kghewk.js → project-1gsa2cck.js} +20 -20
  24. package/dist/chunks/{repository-cache-jv5mxt3g.js → project-1nypc09g.js} +14 -14
  25. package/dist/chunks/{repository-cache-w6sqybpe.js → project-1p3xnr7f.js} +15 -15
  26. package/dist/chunks/{repository-cache-b1h1c68h.js → project-1qg96azw.js} +6 -6
  27. package/dist/chunks/{repository-cache-n1cm9b14.js → project-1rhhxb2c.js} +26 -26
  28. package/dist/chunks/{repository-cache-96btrfg2.js → project-1tjc281v.js} +5 -5
  29. package/dist/chunks/{repository-cache-dkqawgjf.js → project-1vtpe7zb.js} +4 -4
  30. package/dist/chunks/{repository-cache-3g10qwm7.js → project-1w0xs9z0.js} +17 -17
  31. package/dist/chunks/{repository-cache-cqt2378a.js → project-1y3t80aq.js} +3 -3
  32. package/dist/chunks/{repository-cache-21r38tys.js → project-21r38tys.js} +1 -1
  33. package/dist/chunks/{repository-cache-6h73sxmp.js → project-2402vzrj.js} +5 -5
  34. package/dist/chunks/{repository-cache-2a5m3afh.js → project-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{repository-cache-3kvk53sn.js → project-2bj8tynh.js} +4 -4
  36. package/dist/chunks/{repository-cache-yahr892z.js → project-2etzwqq0.js} +6 -6
  37. package/dist/chunks/{repository-cache-c78bbtc9.js → project-2f0bjgcj.js} +5 -5
  38. package/dist/chunks/{repository-cache-vya36ff7.js → project-2qmj82d1.js} +41 -41
  39. package/dist/chunks/{repository-cache-jvf3yq6v.js → project-2vs2nh1n.js} +4 -4
  40. package/dist/chunks/{repository-cache-37grp35b.js → project-2wgpvvmt.js} +8 -8
  41. package/dist/chunks/{repository-cache-fm4b3qmy.js → project-2xnqg3kz.js} +10 -10
  42. package/dist/chunks/{repository-cache-2zbv25hc.js → project-30b4p980.js} +8 -8
  43. package/dist/chunks/{repository-cache-cwxby6pr.js → project-352w66m8.js} +9 -9
  44. package/dist/chunks/{repository-cache-m6v021kz.js → project-3592630s.js} +6 -6
  45. package/dist/chunks/{repository-cache-p0a23dx6.js → project-3c1tgrea.js} +6 -6
  46. package/dist/chunks/{repository-cache-jmwjz9ee.js → project-3dv0dhzr.js} +85 -85
  47. package/dist/chunks/{repository-cache-3fc6dm20.js → project-3fc6dm20.js} +1 -1
  48. package/dist/chunks/{repository-cache-skvzv4w6.js → project-3gtmxc06.js} +5 -5
  49. package/dist/chunks/{repository-cache-3hepkmqq.js → project-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{repository-cache-rbm1b5j8.js → project-3hzqgt9w.js} +32 -32
  51. package/dist/chunks/{repository-cache-3smtnn6g.js → project-3smtnn6g.js} +1 -1
  52. package/dist/chunks/{repository-cache-3tvqynh2.js → project-3tvqynh2.js} +1 -1
  53. package/dist/chunks/{repository-cache-skyymkrr.js → project-3yjg5mh2.js} +3 -3
  54. package/dist/chunks/{repository-cache-735v08rd.js → project-3yme9dtt.js} +17 -17
  55. package/dist/chunks/{repository-cache-xk29e8eh.js → project-3ymzj6fs.js} +12 -12
  56. package/dist/chunks/{repository-cache-tjb6h3w6.js → project-40zzw5vx.js} +5 -5
  57. package/dist/chunks/{repository-cache-afrwt492.js → project-41v07cqx.js} +11 -11
  58. package/dist/chunks/{repository-cache-93rybhbv.js → project-485wz5ap.js} +80 -80
  59. package/dist/chunks/{repository-cache-w3zz45zz.js → project-49z946gs.js} +17 -17
  60. package/dist/chunks/{repository-cache-ex4zhymv.js → project-4e10zhsk.js} +31 -31
  61. package/dist/chunks/{repository-cache-yqnz8h4g.js → project-4jct13es.js} +14 -14
  62. package/dist/chunks/{repository-cache-s8t4qsw4.js → project-4p1ga2js.js} +6 -6
  63. package/dist/chunks/{repository-cache-e0vtkr8g.js → project-4qw9jy8s.js} +6 -6
  64. package/dist/chunks/{repository-cache-4y66k410.js → project-4y66k410.js} +2 -2
  65. package/dist/chunks/{repository-cache-a1bz86dw.js → project-5c4hm403.js} +3 -3
  66. package/dist/chunks/{repository-cache-sz6bnm18.js → project-5cbh0j70.js} +11 -11
  67. package/dist/chunks/{repository-cache-5daktx2q.js → project-5daktx2q.js} +1 -1
  68. package/dist/chunks/{repository-cache-afa7f2c6.js → project-5qb16e34.js} +51 -51
  69. package/dist/chunks/{repository-cache-5t3nmthw.js → project-5t3nmthw.js} +2 -2
  70. package/dist/chunks/{repository-cache-9pcadkya.js → project-5v6xbca9.js} +158 -158
  71. package/dist/chunks/{repository-cache-tx2y7v18.js → project-61pd2xsr.js} +25 -25
  72. package/dist/chunks/{repository-cache-8h6f7dvd.js → project-6597xj7n.js} +11 -11
  73. package/dist/chunks/{repository-cache-669tq793.js → project-669tq793.js} +1 -1
  74. package/dist/chunks/{repository-cache-za3dtc0x.js → project-6f2gh7ng.js} +1 -1
  75. package/dist/chunks/{repository-cache-6msgmcgs.js → project-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{repository-cache-f670kavr.js → project-6vc8p3va.js} +1 -1
  77. package/dist/chunks/{repository-cache-71q4at8m.js → project-71q4at8m.js} +1 -1
  78. package/dist/chunks/{repository-cache-h8kpkpct.js → project-74t57acv.js} +9 -9
  79. package/dist/chunks/{repository-cache-7bmhse3q.js → project-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{repository-cache-akfths19.js → project-7h2z3prw.js} +43 -43
  81. package/dist/chunks/{repository-cache-fyymr9xg.js → project-7j92jdde.js} +4 -4
  82. package/dist/chunks/{repository-cache-00787bmp.js → project-7nypd6v8.js} +14 -14
  83. package/dist/chunks/{repository-cache-vsqds22x.js → project-7xjy9a2e.js} +11 -11
  84. package/dist/chunks/{repository-cache-81swgkk7.js → project-81swgkk7.js} +2 -2
  85. package/dist/chunks/{repository-cache-49sc4nfn.js → project-82kwe8pc.js} +8 -8
  86. package/dist/chunks/{repository-cache-arq879wx.js → project-8421cefc.js} +6 -6
  87. package/dist/chunks/{repository-cache-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{repository-cache-xznwr7ns.js → project-8dnxqjce.js} +11 -11
  89. package/dist/chunks/{repository-cache-thy6r13a.js → project-8e2hps12.js} +32 -32
  90. package/dist/chunks/{repository-cache-eqte1rrt.js → project-8vyszhxq.js} +7 -7
  91. package/dist/chunks/{repository-cache-7cb3jwtf.js → project-8w2hbp94.js} +5 -5
  92. package/dist/chunks/{repository-cache-qdnhjq4f.js → project-8za6t4pe.js} +11 -11
  93. package/dist/chunks/{repository-cache-1jj4qxjt.js → project-936n54ck.js} +1 -1
  94. package/dist/chunks/{repository-cache-6ftympvp.js → project-9502mm2y.js} +32 -32
  95. package/dist/chunks/{repository-cache-wtngjqkb.js → project-9bb2zzrg.js} +18 -18
  96. package/dist/chunks/{repository-cache-0mrmze5w.js → project-9bf6jj70.js} +29 -29
  97. package/dist/chunks/{repository-cache-crse5cka.js → project-9gdc11pm.js} +23 -23
  98. package/dist/chunks/{repository-cache-b3q7ckfa.js → project-9jmfdv3c.js} +18 -18
  99. package/dist/chunks/{repository-cache-pb28tzs4.js → project-9n42172b.js} +25 -25
  100. package/dist/chunks/{repository-cache-6acm0bve.js → project-9qfkze9a.js} +12 -12
  101. package/dist/chunks/{repository-cache-bazcgppa.js → project-9wsm2w7d.js} +6 -6
  102. package/dist/chunks/{repository-cache-qvxa9qgk.js → project-9z0604wv.js} +43 -43
  103. package/dist/chunks/{repository-cache-dmvzxcj2.js → project-a7h8je70.js} +17 -17
  104. package/dist/chunks/{repository-cache-aaet6srn.js → project-aaet6srn.js} +2 -2
  105. package/dist/chunks/{repository-cache-zsa173n5.js → project-ag81pwzz.js} +12 -12
  106. package/dist/chunks/project-ajqyq5kb.js +22 -0
  107. package/dist/chunks/{repository-cache-waxra22z.js → project-at6fsfad.js} +14 -14
  108. package/dist/chunks/{repository-cache-s8d7rejh.js → project-athype10.js} +8 -8
  109. package/dist/chunks/{repository-cache-b6gygkdw.js → project-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{repository-cache-bfbs706x.js → project-bvm1hg5c.js} +1 -1
  111. package/dist/chunks/{repository-cache-cvddfarj.js → project-by1fd37v.js} +12 -12
  112. package/dist/chunks/{repository-cache-9agdsh9n.js → project-by3d5382.js} +11 -11
  113. package/dist/chunks/{repository-cache-dykm6d0s.js → project-c4ykr5r1.js} +43 -43
  114. package/dist/chunks/{repository-cache-jgttmm4a.js → project-c5c0bz0t.js} +5 -5
  115. package/dist/chunks/{repository-cache-mq4fp87a.js → project-c61qbbjh.js} +10 -10
  116. package/dist/chunks/{repository-cache-d66qjsz4.js → project-cdkak6c5.js} +20 -20
  117. package/dist/chunks/{repository-cache-hf83ja2d.js → project-ce6x2zr0.js} +2 -2
  118. package/dist/chunks/{repository-cache-b1jgk49p.js → project-cg9cg68q.js} +9 -9
  119. package/dist/chunks/{repository-cache-p2ngd4p5.js → project-cgjzvrd1.js} +4 -4
  120. package/dist/chunks/{repository-cache-nev2fxrj.js → project-cpa9365v.js} +24 -24
  121. package/dist/chunks/{repository-cache-vpt86awd.js → project-crc3g98t.js} +12 -12
  122. package/dist/chunks/{repository-cache-za5pt3d7.js → project-cx98cjrt.js} +4 -4
  123. package/dist/chunks/{repository-cache-q751p06t.js → project-czc1p6ep.js} +24 -24
  124. package/dist/chunks/{repository-cache-p4dkeycc.js → project-d0acstaf.js} +42 -42
  125. package/dist/chunks/{repository-cache-ec25eqt6.js → project-d643ey3h.js} +13 -13
  126. package/dist/chunks/{repository-cache-nyst5tsy.js → project-da239ya3.js} +29 -29
  127. package/dist/chunks/{repository-cache-qse1qpjw.js → project-dez563yv.js} +41 -41
  128. package/dist/chunks/{repository-cache-8p4f9s12.js → project-dj2t23y0.js} +2 -2
  129. package/dist/chunks/{repository-cache-gb6c6afg.js → project-dmw8ezrh.js} +3 -3
  130. package/dist/chunks/{repository-cache-y71avatq.js → project-dpkg50ah.js} +4 -4
  131. package/dist/chunks/{repository-cache-q5j1bp2v.js → project-e6jkap1f.js} +4 -4
  132. package/dist/chunks/{repository-cache-ythpzqjx.js → project-e9ngbr94.js} +22 -22
  133. package/dist/chunks/{repository-cache-prbnmmzj.js → project-eraanh1f.js} +4 -4
  134. package/dist/chunks/{repository-cache-etq0c3wd.js → project-etq0c3wd.js} +1 -1
  135. package/dist/chunks/{repository-cache-1acjjqhc.js → project-f2n192rq.js} +4 -4
  136. package/dist/chunks/{repository-cache-scp3yb2x.js → project-f79y50b7.js} +23 -23
  137. package/dist/chunks/{repository-cache-c9qfb572.js → project-fhvnb7q8.js} +22 -22
  138. package/dist/chunks/{repository-cache-s99x642n.js → project-fjhcf7g9.js} +2 -2
  139. package/dist/chunks/{repository-cache-6fb9pw91.js → project-fmsmdavp.js} +24 -24
  140. package/dist/chunks/{repository-cache-c4b91qws.js → project-fn3pntxg.js} +24 -24
  141. package/dist/chunks/{repository-cache-agsex9am.js → project-fqj9nv8j.js} +5 -5
  142. package/dist/chunks/{repository-cache-fxbjtjnd.js → project-fxbjtjnd.js} +1 -1
  143. package/dist/chunks/{repository-cache-fdyt9w1r.js → project-fys1mhb0.js} +10 -10
  144. package/dist/chunks/{repository-cache-5wtatr6d.js → project-g30z4c76.js} +9 -9
  145. package/dist/chunks/{repository-cache-cssy2j8r.js → project-g4e9nbcn.js} +13 -13
  146. package/dist/chunks/{repository-cache-4taqtrjz.js → project-g7xq9dq6.js} +15 -15
  147. package/dist/chunks/{repository-cache-gd4qta3r.js → project-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{repository-cache-ryef71pm.js → project-getxn4jm.js} +22 -22
  149. package/dist/chunks/{repository-cache-hfdr1yjj.js → project-gf79vf69.js} +4 -4
  150. package/dist/chunks/{repository-cache-twy35tz0.js → project-gfqzzqy5.js} +5 -5
  151. package/dist/chunks/{repository-cache-y5fw0js9.js → project-gnh4rmrp.js} +10 -10
  152. package/dist/chunks/{repository-cache-7btn171d.js → project-gsbm691j.js} +30 -30
  153. package/dist/chunks/{repository-cache-cmpzft2x.js → project-gxg7s5ax.js} +16 -16
  154. package/dist/chunks/{repository-cache-xywr1wcm.js → project-gzhexwst.js} +16 -16
  155. package/dist/chunks/{repository-cache-h03wrkyp.js → project-h03wrkyp.js} +2 -2
  156. package/dist/chunks/{repository-cache-5y4rn4jv.js → project-h0n6hk95.js} +7 -7
  157. package/dist/chunks/{repository-cache-r2s0xq0f.js → project-h1fxz2n8.js} +29 -29
  158. package/dist/chunks/{repository-cache-h6vf3j39.js → project-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{repository-cache-8dr3htqb.js → project-h943hffx.js} +11 -11
  160. package/dist/chunks/{repository-cache-9bbt8hg3.js → project-h9jj2pmn.js} +17 -17
  161. package/dist/chunks/{repository-cache-nkr33rs8.js → project-havt8zv8.js} +32 -32
  162. package/dist/chunks/{repository-cache-f828m53h.js → project-hdnk95c8.js} +2 -2
  163. package/dist/chunks/{repository-cache-hj5qcc5b.js → project-hdz1sw8x.js} +11 -11
  164. package/dist/chunks/{repository-cache-tf3dncy2.js → project-hmz9dp0k.js} +5 -5
  165. package/dist/chunks/{repository-cache-qn4ba14w.js → project-hnr5yq9h.js} +5 -5
  166. package/dist/chunks/{repository-cache-bpdv2q4q.js → project-hs9cbhjh.js} +25 -25
  167. package/dist/chunks/project-ht5y0zrb.js +18 -0
  168. package/dist/chunks/{repository-cache-mhkvc446.js → project-j028xdjb.js} +3 -3
  169. package/dist/chunks/{repository-cache-j56e64zr.js → project-j56e64zr.js} +1 -1
  170. package/dist/chunks/{repository-cache-dk17j58h.js → project-j84bzan4.js} +40 -40
  171. package/dist/chunks/{repository-cache-x50bgc5b.js → project-jcbnna01.js} +1 -1
  172. package/dist/chunks/{repository-cache-z4cbs5y4.js → project-jmz50v4a.js} +16 -16
  173. package/dist/chunks/{repository-cache-ava6n5t5.js → project-k0c7x7cv.js} +5 -5
  174. package/dist/chunks/{repository-cache-kpabkcqn.js → project-k18waxcd.js} +33 -33
  175. package/dist/chunks/{repository-cache-5c13e4gs.js → project-k1v67f28.js} +29 -29
  176. package/dist/chunks/{repository-cache-6yksd8rj.js → project-k266rhdn.js} +24 -24
  177. package/dist/chunks/{repository-cache-xhmq8qgk.js → project-k79tzb9n.js} +9 -9
  178. package/dist/chunks/{repository-cache-948vg2pw.js → project-k8p4hbnm.js} +7 -7
  179. package/dist/chunks/{repository-cache-w43r5vpk.js → project-kcyhewq8.js} +7 -7
  180. package/dist/chunks/{repository-cache-kg06axw8.js → project-kg06axw8.js} +1 -1
  181. package/dist/chunks/{repository-cache-5bcahdyk.js → project-kkaqcpw4.js} +18 -18
  182. package/dist/chunks/{repository-cache-19ywwdd4.js → project-ktxw75tm.js} +15 -15
  183. package/dist/chunks/{repository-cache-cfpkc3c9.js → project-m0jqrx5p.js} +2 -2
  184. package/dist/chunks/{repository-cache-vqctwdvd.js → project-m1t0sds5.js} +24 -24
  185. package/dist/chunks/{repository-cache-pdmzt19y.js → project-m5gdw33a.js} +1 -1
  186. package/dist/chunks/{repository-cache-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{repository-cache-magykp64.js → project-magykp64.js} +1 -1
  188. package/dist/chunks/{repository-cache-mfqp6xfm.js → project-mfqp6xfm.js} +2 -2
  189. package/dist/chunks/{repository-cache-6ytrycwf.js → project-mm16nfvn.js} +30 -30
  190. package/dist/chunks/project-mpaqfvem.js +247 -0
  191. package/dist/chunks/{repository-cache-nm6nhamf.js → project-msgqzgez.js} +14 -14
  192. package/dist/chunks/{repository-cache-hhcd6ahx.js → project-mspfsrrg.js} +41 -41
  193. package/dist/chunks/{repository-cache-6f2p2q0p.js → project-mxz3erqp.js} +35 -35
  194. package/dist/chunks/{repository-cache-g3pa8mhf.js → project-n5qsk9dt.js} +12 -12
  195. package/dist/chunks/{repository-cache-gdmgdw7j.js → project-ndgqx56h.js} +6 -6
  196. package/dist/chunks/{repository-cache-d9teafh5.js → project-nh3r2c9y.js} +6 -6
  197. package/dist/chunks/{repository-cache-47gsdddb.js → project-nhy5jxhy.js} +5 -5
  198. package/dist/chunks/{repository-cache-w6xg9mzm.js → project-nk6256zg.js} +4 -4
  199. package/dist/chunks/{repository-cache-wvat7gb2.js → project-nvqrzj9g.js} +9 -9
  200. package/dist/chunks/{repository-cache-d2aac7k2.js → project-p44d8wdy.js} +5 -5
  201. package/dist/chunks/{repository-cache-3n1nkk67.js → project-p60kmaay.js} +67 -67
  202. package/dist/chunks/{repository-cache-xkz0p8cz.js → project-p8095ktx.js} +13 -13
  203. package/dist/chunks/{repository-cache-asmz7wyz.js → project-pa8pe2x7.js} +8 -8
  204. package/dist/chunks/{repository-cache-rppmaq1v.js → project-pgr272tc.js} +23 -23
  205. package/dist/chunks/{repository-cache-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{repository-cache-pknna89w.js → project-pknna89w.js} +1 -1
  207. package/dist/chunks/{repository-cache-dfe8djrf.js → project-pmr4s4kc.js} +4 -4
  208. package/dist/chunks/{repository-cache-5ebtz5cw.js → project-pncxwfjb.js} +17 -17
  209. package/dist/chunks/{repository-cache-7dqw4kz8.js → project-qgn6gcr1.js} +5 -5
  210. package/dist/chunks/{repository-cache-xztd0cs6.js → project-qqjjzdpg.js} +47 -47
  211. package/dist/chunks/{repository-cache-b7vfn6np.js → project-qqmxp0w7.js} +11 -11
  212. package/dist/chunks/{repository-cache-qsdy395h.js → project-qsdy395h.js} +1 -1
  213. package/dist/chunks/{repository-cache-96wc915e.js → project-qvf77yps.js} +11 -11
  214. package/dist/chunks/{repository-cache-3r28q6a9.js → project-r034a52s.js} +16 -16
  215. package/dist/chunks/{repository-cache-ss0awb04.js → project-r33ff4dw.js} +4 -4
  216. package/dist/chunks/{repository-cache-bp29fhze.js → project-r4a4h3h4.js} +16 -16
  217. package/dist/chunks/{repository-cache-r9mregkx.js → project-r9mregkx.js} +2 -2
  218. package/dist/chunks/{repository-cache-wnpvw90s.js → project-rhxfnfwf.js} +20 -20
  219. package/dist/chunks/{repository-cache-f07f5max.js → project-rk0v45j3.js} +22 -22
  220. package/dist/chunks/{repository-cache-49snx342.js → project-rm0vmy1k.js} +8 -8
  221. package/dist/chunks/{repository-cache-8ssxn5x4.js → project-rm2yqhr0.js} +15 -15
  222. package/dist/chunks/{repository-cache-3x1xb6f1.js → project-rmtkxqwx.js} +7 -7
  223. package/dist/chunks/{repository-cache-w89kcrbm.js → project-rrzxexy0.js} +49 -49
  224. package/dist/chunks/{repository-cache-06dxphr1.js → project-rsdf2nvv.js} +4 -4
  225. package/dist/chunks/{repository-cache-y97nejxf.js → project-rtdy2j7k.js} +11 -11
  226. package/dist/chunks/{repository-cache-pkvsb09a.js → project-s36sm4ep.js} +33 -33
  227. package/dist/chunks/{repository-cache-sk7ax4wa.js → project-s6bhfz4z.js} +21 -21
  228. package/dist/chunks/{repository-cache-a92mnrhm.js → project-s8fqe7jm.js} +23 -23
  229. package/dist/chunks/{repository-cache-prd8mh8w.js → project-sgjjsjgk.js} +25 -25
  230. package/dist/chunks/{repository-cache-9jwxq161.js → project-svxygcjw.js} +2 -2
  231. package/dist/chunks/{repository-cache-4wg4wmjw.js → project-syn9s4ck.js} +34 -34
  232. package/dist/chunks/{repository-cache-bby00dsd.js → project-t0d6gkvd.js} +8 -8
  233. package/dist/chunks/{repository-cache-jfqtm2ew.js → project-t2fc4mz5.js} +4 -4
  234. package/dist/chunks/{repository-cache-tazgh4e4.js → project-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{repository-cache-np79qykh.js → project-tb99n96z.js} +29 -29
  236. package/dist/chunks/{repository-cache-tcezcvh9.js → project-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{repository-cache-tdstcens.js → project-tdstcens.js} +1 -1
  238. package/dist/chunks/{repository-cache-jefma2gq.js → project-tfwap27p.js} +10 -10
  239. package/dist/chunks/{repository-cache-gv6a8nnw.js → project-th5km1p3.js} +5 -5
  240. package/dist/chunks/{repository-cache-fyjrpq2n.js → project-tk07mxne.js} +11 -11
  241. package/dist/chunks/{repository-cache-tvtrv512.js → project-tvtrv512.js} +1 -1
  242. package/dist/chunks/{repository-cache-ty9cn3m0.js → project-tyy2ek0j.js} +22 -22
  243. package/dist/chunks/{repository-cache-0jpcn9rd.js → project-tz0jyenk.js} +10 -10
  244. package/dist/chunks/{repository-cache-cdvkhjgb.js → project-v6paxmcr.js} +30 -30
  245. package/dist/chunks/{repository-cache-rjt21bs1.js → project-v9kqwjfa.js} +28 -28
  246. package/dist/chunks/{repository-cache-veqvce7d.js → project-veqvce7d.js} +1 -1
  247. package/dist/chunks/{repository-cache-00agp6tm.js → project-vjazvx2w.js} +17 -17
  248. package/dist/chunks/{repository-cache-0gwdvabh.js → project-vnb6p14m.js} +13 -13
  249. package/dist/chunks/{repository-cache-wcjyc11q.js → project-vsrns1zn.js} +8 -8
  250. package/dist/chunks/{repository-cache-j5208yae.js → project-vyqn3nqs.js} +4 -4
  251. package/dist/chunks/{repository-cache-2h82j4a6.js → project-vytej9g6.js} +20 -20
  252. package/dist/chunks/{repository-cache-vzcthcp8.js → project-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{repository-cache-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{repository-cache-aym07vwf.js → project-wa8w638y.js} +16 -16
  255. package/dist/chunks/{repository-cache-wd87259q.js → project-wd87259q.js} +1 -1
  256. package/dist/chunks/{repository-cache-d50f2zf5.js → project-wx9wy1qm.js} +1 -1
  257. package/dist/chunks/{repository-cache-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{repository-cache-yx2y4h4v.js → project-x2q7kmg1.js} +8 -8
  259. package/dist/chunks/{repository-cache-wp6wx7ve.js → project-x71d43dg.js} +4 -4
  260. package/dist/chunks/{repository-cache-590d2czn.js → project-x8gz1y8e.js} +8 -8
  261. package/dist/chunks/{repository-cache-306db5gv.js → project-xbmcec40.js} +5 -5
  262. package/dist/chunks/{repository-cache-cec1zq9m.js → project-xmqchchm.js} +15 -15
  263. package/dist/chunks/{repository-cache-j6camevd.js → project-xse6m6qk.js} +35 -35
  264. package/dist/chunks/{repository-cache-gjbb8j7c.js → project-xttm4980.js} +19 -19
  265. package/dist/chunks/{repository-cache-k587grms.js → project-xw98cjw1.js} +2 -2
  266. package/dist/chunks/{repository-cache-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{repository-cache-kwj37acz.js → project-y80gd2k5.js} +21 -21
  268. package/dist/chunks/project-yfetrmg9.js +462 -0
  269. package/dist/chunks/{repository-cache-gqr0prwp.js → project-yh49gxee.js} +4 -4
  270. package/dist/chunks/{repository-cache-t8vasjyp.js → project-yptvf0vj.js} +20 -20
  271. package/dist/chunks/{repository-cache-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{repository-cache-yrznvahk.js → project-yrznvahk.js} +2 -2
  273. package/dist/chunks/{repository-cache-h7ygw6q4.js → project-ywkfy99j.js} +9 -9
  274. package/dist/chunks/{repository-cache-psvs3tm8.js → project-yyb6d1pw.js} +15 -15
  275. package/dist/chunks/{repository-cache-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{repository-cache-2fn4yps5.js → project-z40tgwd8.js} +6 -6
  277. package/dist/chunks/{repository-cache-a3zzqvpe.js → project-z4h22pxa.js} +13 -13
  278. package/dist/chunks/{repository-cache-z63w68vq.js → project-z63w68vq.js} +2 -2
  279. package/dist/chunks/{repository-cache-48cm3azc.js → project-z9p65wfg.js} +40 -40
  280. package/dist/chunks/{repository-cache-44aqy5gr.js → project-zaah75v1.js} +27 -27
  281. package/dist/chunks/{repository-cache-zeh9ct20.js → project-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{repository-cache-s8195qaq.js → project-zh3kw9jz.js} +4 -4
  283. package/dist/chunks/{repository-cache-w9ytv6gf.js → project-zp5ax0qn.js} +11 -11
  284. package/dist/chunks/{repository-cache-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{repository-cache-zxq2ej10.js → project-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +7 -7
  288. package/dist/codemode/tool.js +2 -2
  289. package/dist/command.js +80 -80
  290. package/dist/config/discovery.js +78 -78
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +19 -19
  293. package/dist/config/plugin/agent.js +116 -116
  294. package/dist/config/plugin/command.js +208 -208
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +118 -118
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +86 -86
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +115 -115
  303. package/dist/config/plugin/provider.js +114 -114
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +117 -117
  306. package/dist/config/plugin/skill-file.js +98 -98
  307. package/dist/config/plugin/skill.js +135 -135
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +118 -118
  310. package/dist/config/plugin/tool-output.js +118 -118
  311. package/dist/config/plugin/websearch.js +114 -114
  312. package/dist/config/plugin/worktree.js +119 -119
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +120 -120
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +84 -84
  318. package/dist/database/database.js +69 -69
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration.gen.js +48 -48
  383. package/dist/database/migration.js +50 -50
  384. package/dist/database/path.js +2 -2
  385. package/dist/database/schema.gen.js +1 -1
  386. package/dist/database/schema.sql.js +1 -1
  387. package/dist/database/sqlite.bun.js +1 -1
  388. package/dist/database/sqlite.js +1 -1
  389. package/dist/database/sqlite.node.js +1 -1
  390. package/dist/database/sqlite.workerd.js +1 -1
  391. package/dist/database/v1-migration.bun.js +78 -78
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +361 -361
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +3 -3
  396. package/dist/effect/websocket-constructor.js +1 -1
  397. package/dist/environment/driver.js +1 -1
  398. package/dist/environment/environment.js +89 -89
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +91 -91
  402. package/dist/environment/local.js +2 -2
  403. package/dist/environment/memory.js +2 -2
  404. package/dist/environment/unavailable.js +1 -1
  405. package/dist/event/sql.js +1 -1
  406. package/dist/event-logger.js +73 -73
  407. package/dist/file-access.js +100 -100
  408. package/dist/file-mutation.js +90 -90
  409. package/dist/file-retention.js +1 -1
  410. package/dist/file.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/ignore.js +1 -1
  416. package/dist/filesystem/location-watcher-policy.js +4 -4
  417. package/dist/filesystem/location-watcher.js +223 -223
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +94 -94
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +13 -13
  422. package/dist/filesystem.js +97 -97
  423. package/dist/form.js +85 -85
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +83 -83
  426. package/dist/generate.js +90 -90
  427. package/dist/git.js +7 -7
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +7 -7
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/id/id.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +352 -352
  452. package/dist/instruction-discovery.js +84 -84
  453. package/dist/instructions/builtins.js +83 -83
  454. package/dist/instructions/index.js +5 -5
  455. package/dist/integration/connection.js +1 -1
  456. package/dist/integration.js +85 -85
  457. package/dist/job.js +78 -78
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +72 -72
  460. package/dist/location-activity.js +133 -133
  461. package/dist/location-mutation.js +100 -100
  462. package/dist/location-service-map.js +84 -84
  463. package/dist/location-services.js +349 -349
  464. package/dist/location.js +77 -77
  465. package/dist/mcp/client.js +87 -87
  466. package/dist/mcp/index.js +98 -98
  467. package/dist/mcp/instructions.js +121 -121
  468. package/dist/mcp/oauth.js +3 -3
  469. package/dist/mcp/stdio.js +86 -86
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +7 -7
  472. package/dist/model-resolver.js +87 -87
  473. package/dist/model.js +8 -8
  474. package/dist/models-dev.js +83 -83
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +77 -77
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +107 -107
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +77 -77
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +74 -74
  484. package/dist/plugin/agent.js +98 -98
  485. package/dist/plugin/command.js +95 -95
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +214 -214
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +323 -323
  490. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  491. package/dist/plugin/models-dev.js +76 -76
  492. package/dist/plugin/module.js +5 -5
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +98 -98
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/alibaba.js +2 -2
  497. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  498. package/dist/plugin/provider/azure.js +119 -119
  499. package/dist/plugin/provider/cerebras.js +2 -2
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +115 -115
  504. package/dist/plugin/provider/digitalocean.js +80 -80
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/gateway.js +2 -2
  508. package/dist/plugin/provider/github-copilot.js +81 -81
  509. package/dist/plugin/provider/gitlab.js +3 -3
  510. package/dist/plugin/provider/google-vertex.js +2 -2
  511. package/dist/plugin/provider/kilo.js +2 -2
  512. package/dist/plugin/provider/llmgateway.js +77 -77
  513. package/dist/plugin/provider/lmstudio.js +118 -118
  514. package/dist/plugin/provider/modal.js +80 -80
  515. package/dist/plugin/provider/nvidia.js +2 -2
  516. package/dist/plugin/provider/ollama.js +118 -118
  517. package/dist/plugin/provider/openai-compatible.js +1 -1
  518. package/dist/plugin/provider/openai.js +79 -79
  519. package/dist/plugin/provider/opencode.js +80 -80
  520. package/dist/plugin/provider/openrouter.js +3 -3
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +77 -77
  523. package/dist/plugin/provider/sap-ai-core.js +3 -3
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  526. package/dist/plugin/provider/venice.js +2 -2
  527. package/dist/plugin/provider/vercel.js +2 -2
  528. package/dist/plugin/provider/vllm.js +118 -118
  529. package/dist/plugin/provider/xai.js +78 -78
  530. package/dist/plugin/provider/zenmux.js +2 -2
  531. package/dist/plugin/provider.js +157 -157
  532. package/dist/plugin/sdk.js +75 -75
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +132 -132
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +342 -342
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/variant.js +4 -4
  539. package/dist/plugin/vcs/git.js +83 -83
  540. package/dist/plugin/vcs/hg.js +83 -83
  541. package/dist/plugin/warming.js +113 -113
  542. package/dist/plugin/websearch/exa.js +5 -5
  543. package/dist/plugin/websearch/firecrawl.js +6 -6
  544. package/dist/plugin/websearch/index.js +8 -8
  545. package/dist/plugin/websearch/mcp.js +2 -2
  546. package/dist/plugin/websearch/parallel.js +6 -6
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin.js +221 -221
  549. package/dist/project/schema.js +2 -2
  550. package/dist/project/sql.js +4 -4
  551. package/dist/project.js +76 -76
  552. package/dist/provider.js +3 -3
  553. package/dist/pty/protocol.js +1 -1
  554. package/dist/pty/schema.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +91 -91
  557. package/dist/reference/instructions.js +83 -83
  558. package/dist/reference.js +85 -85
  559. package/dist/repository-cache.js +77 -77
  560. package/dist/repository.js +3 -3
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +92 -92
  563. package/dist/rpc.js +82 -82
  564. package/dist/schema.js +1 -1
  565. package/dist/session/command.js +73 -73
  566. package/dist/session/compaction.js +130 -130
  567. package/dist/session/context.js +146 -146
  568. package/dist/session/environment.js +5 -5
  569. package/dist/session/error.js +5 -5
  570. package/dist/session/event.js +1 -1
  571. package/dist/session/execution/restart.js +219 -219
  572. package/dist/session/execution.js +123 -123
  573. package/dist/session/generate.js +147 -147
  574. package/dist/session/history.js +13 -13
  575. package/dist/session/inbox.js +85 -85
  576. package/dist/session/info.js +3 -3
  577. package/dist/session/instruction-entry.js +78 -78
  578. package/dist/session/instruction-state.js +8 -8
  579. package/dist/session/instructions.js +91 -91
  580. package/dist/session/message-updater.js +2 -2
  581. package/dist/session/message.js +1 -1
  582. package/dist/session/model-request.js +114 -114
  583. package/dist/session/model-transport.js +9 -9
  584. package/dist/session/move.js +127 -127
  585. package/dist/session/projector.js +85 -85
  586. package/dist/session/prompt.js +101 -101
  587. package/dist/session/provider-context.js +3 -3
  588. package/dist/session/revert.js +86 -86
  589. package/dist/session/run-coordinator.js +3 -3
  590. package/dist/session/runner/index.js +3 -3
  591. package/dist/session/runner/llm.js +226 -226
  592. package/dist/session/runner/max-steps.js +1 -1
  593. package/dist/session/runner/model.js +87 -87
  594. package/dist/session/runner/publish-llm-event.js +3 -3
  595. package/dist/session/runner/retry.js +111 -111
  596. package/dist/session/runner/step.js +122 -122
  597. package/dist/session/runner/to-llm-message.js +2 -2
  598. package/dist/session/schema.js +5 -5
  599. package/dist/session/session.js +170 -170
  600. package/dist/session/shell.js +132 -132
  601. package/dist/session/skill.js +99 -99
  602. package/dist/session/sql.js +5 -5
  603. package/dist/session/stats.js +74 -74
  604. package/dist/session/store.js +84 -84
  605. package/dist/session/subagent-completion.js +1 -1
  606. package/dist/session/subagent-job.js +206 -206
  607. package/dist/session/system-prompt.js +3 -3
  608. package/dist/session/title.js +152 -152
  609. package/dist/session/to-session-error.js +108 -108
  610. package/dist/session/transfer.js +216 -216
  611. package/dist/session/usage.js +1 -1
  612. package/dist/session.js +212 -212
  613. package/dist/shell/parse.js +6 -6
  614. package/dist/shell/result.js +1 -1
  615. package/dist/shell/scan.js +1 -1
  616. package/dist/shell/select.js +9 -9
  617. package/dist/shell.js +132 -132
  618. package/dist/skill/discovery.js +6 -6
  619. package/dist/skill/instructions.js +103 -103
  620. package/dist/skill.js +106 -106
  621. package/dist/snapshot.js +87 -87
  622. package/dist/state.js +1 -1
  623. package/dist/tool/html-markdown.js +1 -1
  624. package/dist/tool/http-body.js +1 -1
  625. package/dist/tool/mcp.js +122 -122
  626. package/dist/tool/plugin/edit.js +114 -114
  627. package/dist/tool/plugin/file-diff.js +1 -1
  628. package/dist/tool/plugin/glob.js +121 -121
  629. package/dist/tool/plugin/grep.js +121 -121
  630. package/dist/tool/plugin/opencode.js +3 -3
  631. package/dist/tool/plugin/patch.js +118 -118
  632. package/dist/tool/plugin/question.js +99 -99
  633. package/dist/tool/plugin/read.js +122 -122
  634. package/dist/tool/plugin/shell.js +211 -211
  635. package/dist/tool/plugin/skill.js +107 -107
  636. package/dist/tool/plugin/subagent.js +213 -213
  637. package/dist/tool/plugin/webfetch.js +106 -106
  638. package/dist/tool/plugin/websearch.js +108 -108
  639. package/dist/tool/plugin/write.js +118 -118
  640. package/dist/tool/read-filesystem.js +97 -97
  641. package/dist/tool/runtime.js +1 -1
  642. package/dist/tool-output.js +8 -8
  643. package/dist/tool.js +11 -11
  644. package/dist/util/error-summary.js +1 -1
  645. package/dist/util/error.js +1 -1
  646. package/dist/util/iife.js +1 -1
  647. package/dist/util/lazy.js +1 -1
  648. package/dist/util/slug.js +1 -1
  649. package/dist/util/token.js +1 -1
  650. package/dist/util/which.js +1 -1
  651. package/dist/util/wildcard.js +1 -1
  652. package/dist/v1/config/agent.js +5 -5
  653. package/dist/v1/config/attachment.js +4 -4
  654. package/dist/v1/config/command.js +3 -3
  655. package/dist/v1/config/config.js +16 -16
  656. package/dist/v1/config/error.js +2 -2
  657. package/dist/v1/config/formatter.js +3 -3
  658. package/dist/v1/config/layout.js +1 -1
  659. package/dist/v1/config/lsp.js +3 -3
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +4 -4
  662. package/dist/v1/config/permission.js +1 -1
  663. package/dist/v1/config/plugin.js +3 -3
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/v1/config/server.js +2 -2
  667. package/dist/v1/config/skills.js +3 -3
  668. package/dist/v1/permission.js +1 -1
  669. package/dist/vcs/patch.js +1 -1
  670. package/dist/vcs.js +86 -86
  671. package/dist/websearch.js +79 -79
  672. package/dist/wellknown/plugin.js +75 -75
  673. package/dist/wellknown.js +80 -80
  674. package/dist/workspace/driver.js +7 -7
  675. package/dist/workspace/sql.js +1 -1
  676. package/dist/workspace.js +79 -79
  677. package/dist/worktree/directory.js +4 -4
  678. package/dist/worktree/git.js +7 -7
  679. package/dist/worktree/refresh.js +341 -341
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree.js +90 -90
  682. package/package.json +8 -8
  683. package/dist/chunks/repository-cache-0d99cpb0.js +0 -462
  684. package/dist/chunks/repository-cache-9c7kcab0.js +0 -247
  685. package/dist/chunks/repository-cache-at2k3fr9.js +0 -22
  686. package/dist/chunks/repository-cache-by5v678g.js +0 -18
  687. /package/dist/chunks/{repository-cache-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{repository-cache-0zkw76rk.js → project-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{repository-cache-17cy0kzp.js → project-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{repository-cache-1cnp2v09.js → project-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{repository-cache-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{repository-cache-2710q6r3.js → project-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{repository-cache-2axfhc9x.js → project-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{repository-cache-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{repository-cache-359p4xyc.js → project-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{repository-cache-3asan66x.js → project-3asan66x.js} +0 -0
  697. /package/dist/chunks/{repository-cache-3v8g72cx.js → project-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{repository-cache-3w5fmr99.js → project-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{repository-cache-3wcehsnq.js → project-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{repository-cache-43n2bw4t.js → project-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{repository-cache-4knz6hnm.js → project-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{repository-cache-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{repository-cache-4y7fprxs.js → project-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{repository-cache-53557ph1.js → project-53557ph1.js} +0 -0
  705. /package/dist/chunks/{repository-cache-550bvhaj.js → project-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{repository-cache-6kdq0pjd.js → project-6kdq0pjd.js} +0 -0
  707. /package/dist/chunks/{repository-cache-6prwharc.js → project-6prwharc.js} +0 -0
  708. /package/dist/chunks/{repository-cache-7akdwqpd.js → project-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{repository-cache-7m9af43g.js → project-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{repository-cache-822emrt2.js → project-822emrt2.js} +0 -0
  711. /package/dist/chunks/{repository-cache-88xbtdfr.js → project-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{repository-cache-8n3pysct.js → project-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{repository-cache-922hggd3.js → project-922hggd3.js} +0 -0
  714. /package/dist/chunks/{repository-cache-9a4afbnw.js → project-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{repository-cache-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{repository-cache-a6k6eb26.js → project-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{repository-cache-af5trqkr.js → project-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{repository-cache-afrmfg78.js → project-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{repository-cache-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{repository-cache-atq7p7m5.js → project-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{repository-cache-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{repository-cache-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{repository-cache-cf4snx6d.js → project-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{repository-cache-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{repository-cache-d9fn303g.js → project-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{repository-cache-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{repository-cache-dajrwvna.js → project-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{repository-cache-dap0rakb.js → project-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{repository-cache-df08tz66.js → project-df08tz66.js} +0 -0
  730. /package/dist/chunks/{repository-cache-dy18nga0.js → project-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{repository-cache-e5kj55wp.js → project-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{repository-cache-e73j6tqm.js → project-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{repository-cache-ec1grn59.js → project-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{repository-cache-eh3zwz77.js → project-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{repository-cache-emrn6kk6.js → project-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{repository-cache-f0mxakyp.js → project-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{repository-cache-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{repository-cache-faypxj3z.js → project-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{repository-cache-fd410y7t.js → project-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{repository-cache-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{repository-cache-g4wezp1m.js → project-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{repository-cache-g86h250q.js → project-g86h250q.js} +0 -0
  743. /package/dist/chunks/{repository-cache-gebd4c9n.js → project-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{repository-cache-gftt206x.js → project-gftt206x.js} +0 -0
  745. /package/dist/chunks/{repository-cache-hjbc5kem.js → project-hjbc5kem.js} +0 -0
  746. /package/dist/chunks/{repository-cache-hk9envan.js → project-hk9envan.js} +0 -0
  747. /package/dist/chunks/{repository-cache-hrnqkpcd.js → project-hrnqkpcd.js} +0 -0
  748. /package/dist/chunks/{repository-cache-j2ntwpah.js → project-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{repository-cache-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{repository-cache-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{repository-cache-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{repository-cache-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{repository-cache-mp448xyj.js → project-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{repository-cache-msx8hqn2.js → project-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{repository-cache-n05xt0ee.js → project-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{repository-cache-n3j8tn72.js → project-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{repository-cache-njntx4h6.js → project-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{repository-cache-paphc93g.js → project-paphc93g.js} +0 -0
  759. /package/dist/chunks/{repository-cache-q3sfg36h.js → project-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{repository-cache-q74kybfr.js → project-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{repository-cache-qaymkmh1.js → project-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{repository-cache-qb87gjwd.js → project-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{repository-cache-qfa1cgps.js → project-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{repository-cache-qrg20bc0.js → project-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{repository-cache-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{repository-cache-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{repository-cache-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
  768. /package/dist/chunks/{repository-cache-ssg3fenm.js → project-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{repository-cache-twg0f83k.js → project-twg0f83k.js} +0 -0
  770. /package/dist/chunks/{repository-cache-w803qqfp.js → project-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{repository-cache-wer8tq1h.js → project-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{repository-cache-wtztk69x.js → project-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{repository-cache-x0ckcb58.js → project-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{repository-cache-x61499pn.js → project-x61499pn.js} +0 -0
  775. /package/dist/chunks/{repository-cache-y44na4kk.js → project-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{repository-cache-y8cydn3q.js → project-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{repository-cache-y8f7s663.js → project-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{repository-cache-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{repository-cache-ym463w8f.js → project-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{repository-cache-z9919s4g.js → project-z9919s4g.js} +0 -0
@@ -1,37 +1,37 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./repository-cache-z4cbs5y4.js";
2
+ Service78,
3
+ node83
4
+ } from "./project-jmz50v4a.js";
5
5
  import {
6
6
  Service76,
7
7
  node81
8
- } from "./repository-cache-k587grms.js";
8
+ } from "./project-xw98cjw1.js";
9
9
  import {
10
- ID9,
11
- Service67,
12
- node72
13
- } from "./repository-cache-c4b91qws.js";
10
+ ID12,
11
+ Service68,
12
+ node71
13
+ } from "./project-fn3pntxg.js";
14
14
  import {
15
- NotFoundError8
16
- } from "./repository-cache-s8t4qsw4.js";
15
+ NotFoundError9
16
+ } from "./project-4p1ga2js.js";
17
17
  import {
18
- Service65,
18
+ Service67,
19
19
  node70
20
- } from "./repository-cache-aym07vwf.js";
20
+ } from "./project-wa8w638y.js";
21
21
  import {
22
22
  match2
23
- } from "./repository-cache-y1fvbwt7.js";
23
+ } from "./project-y1fvbwt7.js";
24
24
  import {
25
25
  Service66,
26
- node71
27
- } from "./repository-cache-00787bmp.js";
26
+ node69
27
+ } from "./project-7nypd6v8.js";
28
28
  import {
29
- Service68,
30
- node73
31
- } from "./repository-cache-bby00dsd.js";
29
+ Service69,
30
+ node72
31
+ } from "./project-t0d6gkvd.js";
32
32
  import {
33
33
  __export
34
- } from "./repository-cache-9rqn6x4v.js";
34
+ } from "./project-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,29 +42,29 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event14,
46
- ID: () => ID7,
47
- NotFoundError: () => NotFoundError7,
45
+ Event: () => Event17,
46
+ ID: () => ID10,
47
+ NotFoundError: () => NotFoundError8,
48
48
  Permission: () => exports_permission2,
49
- Reply: () => Reply2,
49
+ Reply: () => Reply3,
50
50
  ReplyInput: () => ReplyInput2,
51
51
  Request: () => Request2,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service64,
54
+ Service: () => Service65,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node69
58
+ node: () => node68
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event14 } from "@opencode/schema/permission";
64
+ import { Event as Event17 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID7 = Permission.ID;
67
+ var ID10 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -75,19 +75,19 @@ var RequestFields = {
75
75
  source: Permission.Request.fields.source
76
76
  };
77
77
  var Request2 = Permission.Request;
78
- var Reply2 = Permission.Reply;
78
+ var Reply3 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID7.pipe(Schema.optional),
80
+ id: ID10.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID9.pipe(Schema.optional)
82
+ agent: ID12.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID7,
86
- reply: Reply2,
85
+ requestID: ID10,
86
+ reply: Reply3,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID7,
90
+ id: ID10,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID7
113
+ class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID10
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service64 extends Context.Service()("@opencode/Permission") {
128
+ class Service65 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service64, Effect.gen(function* () {
131
- const bus = yield* Service79;
130
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
131
+ const bus = yield* Service78;
132
132
  const location = yield* Service76;
133
- const agents = yield* Service67;
134
- const sessions = yield* Service65;
133
+ const agents = yield* Service68;
134
+ const sessions = yield* Service67;
135
135
  const saved = yield* Service66;
136
- const hooks = yield* Service68;
136
+ const hooks = yield* Service69;
137
137
  const pending = new Map;
138
138
  yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
139
139
  discard: true
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
150
150
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
151
151
  const session = yield* sessions.get(sessionID);
152
152
  if (!session)
153
- return yield* new NotFoundError8({ sessionID });
153
+ return yield* new NotFoundError9({ sessionID });
154
154
  const agent = yield* agents.resolve(agentID ?? session.agent);
155
155
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
156
156
  });
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
180
180
  });
181
181
  function request(input, message) {
182
182
  return {
183
- id: input.id ?? ID7.create(),
183
+ id: input.id ?? ID10.create(),
184
184
  sessionID: input.sessionID,
185
185
  action: input.action,
186
186
  resources: input.resources,
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
228
228
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
229
229
  const existing = pending.get(input.requestID);
230
230
  if (!existing)
231
- return yield* new NotFoundError7({ requestID: input.requestID });
231
+ return yield* new NotFoundError8({ requestID: input.requestID });
232
232
  yield* bus.publish(Permission.Event.Replied, {
233
233
  sessionID: existing.request.sessionID,
234
234
  requestID: existing.request.id,
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
283
283
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
284
284
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
285
285
  });
286
- return Service64.of({ ask, assert, reply, get, forSession, list });
286
+ return Service65.of({ ask, assert, reply, get, forSession, list });
287
287
  }));
288
- var node69 = makeLocationNode({
289
- service: Service64,
288
+ var node68 = makeLocationNode({
289
+ service: Service65,
290
290
  layer,
291
- deps: [node84, node81, node72, node70, node71, node73]
291
+ deps: [node83, node81, node71, node70, node69, node72]
292
292
  });
293
293
 
294
- export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service64, node69, exports_permission2, Rule3, Ruleset2, Event14 };
294
+ export { PermissionEffect, ID10, Source5, Request2, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service65, node68, exports_permission2, Rule3, Ruleset2, Event17 };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-cache-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info22,
8
+ Info: () => Info24,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info22 = SessionProviderContext.Info;
22
+ var Info24 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
52
52
  var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
53
53
  var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
54
54
 
55
- export { Info22, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
55
+ export { Info24, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-cache-922hggd3.js";
3
+ } from "./project-922hggd3.js";
4
4
  import {
5
5
  Service76
6
- } from "./repository-cache-k587grms.js";
6
+ } from "./project-xw98cjw1.js";
7
7
  import {
8
- Service56
9
- } from "./repository-cache-akfths19.js";
8
+ Service53
9
+ } from "./project-7h2z3prw.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./repository-cache-nyst5tsy.js";
13
+ } from "./project-da239ya3.js";
14
14
  import {
15
15
  observe2
16
- } from "./repository-cache-qsdy395h.js";
16
+ } from "./project-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./repository-cache-9rqn6x4v.js";
19
+ } from "./project-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin10
25
+ Plugin: () => Plugin4
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin10 = define({
31
+ var Plugin4 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service56;
34
+ const config = yield* Service53;
35
35
  const location = yield* Service76;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin10, exports_reference };
75
+ export { Plugin4, exports_reference };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./repository-cache-2a5m3afh.js";
3
+ } from "./project-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./repository-cache-922hggd3.js";
6
+ } from "./project-922hggd3.js";
7
7
  import {
8
8
  Service76
9
- } from "./repository-cache-k587grms.js";
9
+ } from "./project-xw98cjw1.js";
10
10
  import {
11
- Service60
12
- } from "./repository-cache-kwj37acz.js";
11
+ Service70
12
+ } from "./project-y80gd2k5.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service25
16
- } from "./repository-cache-jv5mxt3g.js";
15
+ Service18
16
+ } from "./project-1nypc09g.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 "./repository-cache-wtngjqkb.js";
23
+ } from "./project-9bb2zzrg.js";
24
24
  import {
25
- Service64
26
- } from "./repository-cache-w89kcrbm.js";
25
+ Service65
26
+ } from "./project-rrzxexy0.js";
27
27
  import {
28
- Service26
29
- } from "./repository-cache-jmfdmvz8.js";
28
+ Service20
29
+ } from "./project-04hzg152.js";
30
30
  import {
31
31
  __export
32
- } from "./repository-cache-9rqn6x4v.js";
32
+ } from "./project-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: () => Input4,
39
- Output: () => Output4,
40
- Plugin: () => Plugin34,
41
- name: () => name4,
42
- toModelContent: () => toModelContent2
38
+ Input: () => Input8,
39
+ Output: () => Output5,
40
+ Plugin: () => Plugin39,
41
+ name: () => name8,
42
+ toModelContent: () => toModelContent5
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name4 = "grep";
48
- var Input4 = Schema.Struct({
47
+ var name8 = "grep";
48
+ var Input8 = 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 Input4 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output4 = Schema.Array(Match2);
69
- var toModelContent2 = (matches, truncated = false) => {
68
+ var Output5 = Schema.Array(Match2);
69
+ var toModelContent5 = (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 toModelContent2 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin34 = {
86
+ var Plugin39 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service60;
90
- const ripgrep = yield* Service25;
89
+ const environment = yield* Service70;
90
+ const ripgrep = yield* Service18;
91
91
  const location = yield* Service76;
92
- const access = yield* Service26;
93
- const permission = yield* Service64;
92
+ const access = yield* Service20;
93
+ const permission = yield* Service65;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name4,
95
+ name: name8,
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: Input4,
99
- output: Output4,
98
+ input: Input8,
99
+ output: Output5,
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: name4,
105
+ action: name8,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin34 = {
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: toModelContent2(result.matches.map((match) => ({
147
+ content: toModelContent5(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 Plugin34 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name4, Input4, Output4, toModelContent2, Plugin34, exports_grep };
157
+ export { name8, Input8, Output5, toModelContent5, Plugin39, exports_grep };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./repository-cache-z4cbs5y4.js";
2
+ Service78,
3
+ node83
4
+ } from "./project-jmz50v4a.js";
5
5
  import {
6
- Service63,
7
- node68
8
- } from "./repository-cache-xkz0p8cz.js";
6
+ Service73,
7
+ node77
8
+ } from "./project-p8095ktx.js";
9
9
  import {
10
10
  create3
11
- } from "./repository-cache-kg06axw8.js";
11
+ } from "./project-kg06axw8.js";
12
12
  import {
13
13
  __export
14
- } from "./repository-cache-9rqn6x4v.js";
14
+ } from "./project-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event5,
20
+ Event: () => Event3,
21
21
  ID: () => ID3,
22
22
  Input: () => Input13,
23
23
  Provider: () => Provider2,
@@ -28,16 +28,16 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service18,
31
+ Service: () => Service14,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node22
33
+ node: () => node18
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/unstable/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event5 } from "@opencode/schema/websearch";
40
+ import { Event as Event3 } from "@opencode/schema/websearch";
41
41
  var ID3 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
43
  var Input13 = WebSearch.Input;
@@ -63,11 +63,11 @@ class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
63
63
  }) {
64
64
  }
65
65
 
66
- class Service18 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service14 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service18, Effect.gen(function* () {
69
- const bus = yield* Service79;
70
- const kv = yield* Service63;
68
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
69
+ const bus = yield* Service78;
70
+ const kv = yield* Service73;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service18.of({
127
+ return Service14.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node22 = makeLocationNode({
188
- service: Service18,
187
+ var node18 = makeLocationNode({
188
+ service: Service14,
189
189
  layer,
190
- deps: [node84, node68]
190
+ deps: [node83, node77]
191
191
  });
192
192
 
193
- export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service18, node22, exports_websearch3, Event5 };
193
+ export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service14, node18, exports_websearch3, Event3 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-cache-922hggd3.js";
3
+ } from "./project-922hggd3.js";
4
4
  import {
5
5
  Service76
6
- } from "./repository-cache-k587grms.js";
6
+ } from "./project-xw98cjw1.js";
7
7
  import {
8
- Service26
9
- } from "./repository-cache-jmfdmvz8.js";
8
+ Service20
9
+ } from "./project-04hzg152.js";
10
10
  import {
11
11
  Service10
12
- } from "./repository-cache-8d6mzkbv.js";
12
+ } from "./project-0jzgk3xk.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./repository-cache-2a5m3afh.js";
15
+ } from "./project-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service11
27
- } from "./repository-cache-19ywwdd4.js";
26
+ Service9
27
+ } from "./project-ktxw75tm.js";
28
28
  import {
29
29
  __export
30
- } from "./repository-cache-9rqn6x4v.js";
30
+ } from "./project-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input11,
36
- Plugin: () => Plugin41,
35
+ Input: () => Input6,
36
+ Plugin: () => Plugin37,
37
37
  ReadTool: () => exports_read,
38
- name: () => name11,
39
- toModelContent: () => toModelContent5
38
+ name: () => name6,
39
+ toModelContent: () => toModelContent4
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name11 = "read";
45
+ var name6 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input11 = LocationInput;
56
+ var Input6 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin41 = {
58
+ var Plugin37 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service11;
62
- const access = yield* Service26;
61
+ const reader = yield* Service9;
62
+ const access = yield* Service20;
63
63
  const sessionInstructions = yield* Service10;
64
64
  const fs = yield* FSUtil.Service;
65
65
  const location = yield* Service76;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name11,
67
+ name: name6,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input11,
70
+ input: Input6,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin41 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent5(result.path, input.offset, result.output),
115
+ content: toModelContent4(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent5 = (path, offset, output) => {
147
+ var toModelContent4 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent5 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name11, Input11, Plugin41, toModelContent5, exports_read };
183
+ export { name6, Input6, Plugin37, toModelContent4, exports_read };