@opencode-ai/core 0.0.0-dev-19200 → 0.0.0-dev-19203

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 (776) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  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 +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{config-n4h9vw0g.js → schema-07j42s1r.js} +29 -29
  9. package/dist/chunks/{config-pztjajpw.js → schema-093fyv1k.js} +7 -7
  10. package/dist/chunks/{config-a5nkh94p.js → schema-09ywgxwg.js} +4 -4
  11. package/dist/chunks/{config-0e0xafbb.js → schema-0e0xafbb.js} +2 -2
  12. package/dist/chunks/{config-fvanntqq.js → schema-0ft9cg2j.js} +6 -6
  13. package/dist/chunks/{config-06qbn9zd.js → schema-0k45et74.js} +9 -9
  14. package/dist/chunks/{config-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{config-0q0f95c6.js → schema-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{config-0s9ayhjt.js → schema-0s9ayhjt.js} +1 -1
  17. package/dist/chunks/{config-r98e92ep.js → schema-0v53mg2y.js} +4 -4
  18. package/dist/chunks/{config-89eb7pds.js → schema-0zwrqksf.js} +27 -27
  19. package/dist/chunks/{config-3h117gp9.js → schema-14hmenm3.js} +3 -3
  20. package/dist/chunks/{config-cfsc9srb.js → schema-17hja9f4.js} +8 -8
  21. package/dist/chunks/{config-p2rgpb9z.js → schema-1cngsnb6.js} +4 -4
  22. package/dist/chunks/{config-1ct4r87x.js → schema-1ct4r87x.js} +1 -1
  23. package/dist/chunks/{config-9ehtken5.js → schema-1gwd18eh.js} +15 -15
  24. package/dist/chunks/{config-1n116cmy.js → schema-1n116cmy.js} +2 -2
  25. package/dist/chunks/{config-kc8pqgtx.js → schema-1r3qjt1e.js} +6 -6
  26. package/dist/chunks/{config-1ygqh575.js → schema-1ygqh575.js} +2 -2
  27. package/dist/chunks/{config-3wyqxhyv.js → schema-21cmn8kp.js} +44 -44
  28. package/dist/chunks/{config-21r38tys.js → schema-21r38tys.js} +1 -1
  29. package/dist/chunks/{config-2402vzrj.js → schema-2402vzrj.js} +1 -1
  30. package/dist/chunks/{config-ck970z52.js → schema-24m53bcx.js} +7 -7
  31. package/dist/chunks/{config-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{config-8w44y47c.js → schema-2c3xm3da.js} +24 -24
  33. package/dist/chunks/{config-2ht70gj7.js → schema-2ht70gj7.js} +1 -1
  34. package/dist/chunks/{config-5sw9j7cb.js → schema-2mx6efyd.js} +35 -35
  35. package/dist/chunks/{config-vpkbx0dt.js → schema-37a01m6a.js} +4 -4
  36. package/dist/chunks/{config-5p8rkq6x.js → schema-39ft7chd.js} +3 -3
  37. package/dist/chunks/{config-06g3gz3d.js → schema-3eb7wbw0.js} +28 -28
  38. package/dist/chunks/{config-gdvy8fx6.js → schema-3fc6dm20.js} +4 -4
  39. package/dist/chunks/{config-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{config-yzendvqq.js → schema-3pc61sa9.js} +22 -22
  41. package/dist/chunks/{config-3qzbfqsy.js → schema-3qzbfqsy.js} +2 -2
  42. package/dist/chunks/{config-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{config-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{config-794t4179.js → schema-3wgash5j.js} +8 -8
  45. package/dist/chunks/{config-6cp2jw9r.js → schema-3y49e5yw.js} +12 -12
  46. package/dist/chunks/{config-w9pb3kva.js → schema-40b1mf63.js} +25 -25
  47. package/dist/chunks/{config-ktcvmpym.js → schema-41wv91p8.js} +46 -46
  48. package/dist/chunks/{config-454k5vzh.js → schema-454k5vzh.js} +1 -1
  49. package/dist/chunks/{config-zv54gy8z.js → schema-45m0rtr9.js} +6 -6
  50. package/dist/chunks/{config-rwqv0d5v.js → schema-4gpjzd3s.js} +6 -6
  51. package/dist/chunks/{config-fjvydvzm.js → schema-4jv7e9dq.js} +8 -8
  52. package/dist/chunks/{config-c8jz2e4n.js → schema-4m2jed3x.js} +21 -21
  53. package/dist/chunks/{config-4r2nyarf.js → schema-4r2nyarf.js} +1 -1
  54. package/dist/chunks/schema-4v7qdvcn.js +18 -0
  55. package/dist/chunks/{config-7gbsxqt2.js → schema-4z6b0fg6.js} +8 -8
  56. package/dist/chunks/{config-96s1cz01.js → schema-556e61a8.js} +68 -68
  57. package/dist/chunks/{config-gfhv6fp9.js → schema-5a8v5aez.js} +23 -23
  58. package/dist/chunks/{config-5daktx2q.js → schema-5daktx2q.js} +1 -1
  59. package/dist/chunks/{config-5fmxt4p5.js → schema-5fmxt4p5.js} +1 -1
  60. package/dist/chunks/{config-5jvc5tg2.js → schema-5jvc5tg2.js} +1 -1
  61. package/dist/chunks/{config-wb545wbz.js → schema-5k3f87xj.js} +1 -1
  62. package/dist/chunks/{config-4f0jyt0w.js → schema-5mx1jh8x.js} +4 -4
  63. package/dist/chunks/{config-rvgz7n9z.js → schema-5zy72947.js} +18 -18
  64. package/dist/chunks/{config-xpt98yma.js → schema-64zzwykz.js} +24 -24
  65. package/dist/chunks/{config-ztvw86cy.js → schema-65ryvrbe.js} +8 -8
  66. package/dist/chunks/{config-90crsdqb.js → schema-6h0kvyt4.js} +20 -20
  67. package/dist/chunks/{config-8ktjr7xz.js → schema-6xwg1kq2.js} +18 -18
  68. package/dist/chunks/{config-g0ae6at5.js → schema-6zh5h8yb.js} +33 -33
  69. package/dist/chunks/{config-9h90tm9n.js → schema-6zrja0ad.js} +33 -33
  70. package/dist/chunks/{config-711hfp6y.js → schema-711hfp6y.js} +2 -2
  71. package/dist/chunks/{config-72nftnjy.js → schema-72nftnjy.js} +2 -2
  72. package/dist/chunks/{config-szgaehjq.js → schema-73cq2v9r.js} +17 -17
  73. package/dist/chunks/{config-m92yr7es.js → schema-7b8dx9px.js} +46 -46
  74. package/dist/chunks/{config-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{config-113zg7kv.js → schema-7d1ywxdq.js} +12 -12
  76. package/dist/chunks/{config-xjjjdr4d.js → schema-7rncntgt.js} +44 -44
  77. package/dist/chunks/{config-aw45zfev.js → schema-80h6nh5b.js} +10 -10
  78. package/dist/chunks/{config-h397hkc6.js → schema-86s3977f.js} +1 -1
  79. package/dist/chunks/{config-jrfpqtb1.js → schema-87rnt7vh.js} +23 -23
  80. package/dist/chunks/{config-pvze4eqr.js → schema-8zpfkjy1.js} +56 -56
  81. package/dist/chunks/{config-fbfx65yb.js → schema-90m4gm2m.js} +16 -16
  82. package/dist/chunks/{config-y2cqme3r.js → schema-93a8yfjt.js} +5 -5
  83. package/dist/chunks/{config-z1jkgvde.js → schema-93cf1794.js} +20 -20
  84. package/dist/chunks/schema-961yp6je.js +247 -0
  85. package/dist/chunks/{config-75yf2d83.js → schema-97f5v037.js} +8 -8
  86. package/dist/chunks/{config-f6e7rem1.js → schema-9d0vwzx2.js} +25 -25
  87. package/dist/chunks/{config-xc5n2mhq.js → schema-9d7a9gfd.js} +15 -15
  88. package/dist/chunks/{config-n029d2mf.js → schema-9djsb1x8.js} +28 -28
  89. package/dist/chunks/{config-511mjebb.js → schema-9efw28vt.js} +4 -4
  90. package/dist/chunks/{config-8rk43p0s.js → schema-9mqrsjz0.js} +11 -11
  91. package/dist/chunks/{config-9qm9egsn.js → schema-9qm9egsn.js} +2 -2
  92. package/dist/chunks/{config-q4zymtb1.js → schema-9tphn1nx.js} +12 -12
  93. package/dist/chunks/{config-8qxykv75.js → schema-9wjcq4df.js} +20 -20
  94. package/dist/chunks/{config-z9dxnre0.js → schema-a0szb7e4.js} +41 -41
  95. package/dist/chunks/{config-5qanm62w.js → schema-a844yy6x.js} +51 -51
  96. package/dist/chunks/{config-aaet6srn.js → schema-aaet6srn.js} +2 -2
  97. package/dist/chunks/{config-zvt5dnpc.js → schema-afdssyjb.js} +4 -4
  98. package/dist/chunks/{config-4gbf76z9.js → schema-agx3smr6.js} +17 -17
  99. package/dist/chunks/{config-bpnz08mb.js → schema-ahxzhcff.js} +2 -2
  100. package/dist/chunks/{config-ajtjthsy.js → schema-ajtjthsy.js} +2 -2
  101. package/dist/chunks/{config-cjnqn6s5.js → schema-am18byef.js} +28 -28
  102. package/dist/chunks/{config-zre25x07.js → schema-asb6ptdj.js} +12 -12
  103. package/dist/chunks/{config-08tvc40j.js → schema-aw66b4d6.js} +3 -3
  104. package/dist/chunks/schema-b5q5y4vk.js +4 -0
  105. package/dist/chunks/{config-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{config-b9wsbatv.js → schema-b9wsbatv.js} +1 -1
  107. package/dist/chunks/{config-wqk7r3qg.js → schema-bb44473r.js} +31 -31
  108. package/dist/chunks/{config-xnjnn6ck.js → schema-bcv0c355.js} +4 -4
  109. package/dist/chunks/{config-c5x8pjfg.js → schema-bdc940rx.js} +5 -5
  110. package/dist/chunks/{config-vhzdsqy0.js → schema-be2wa24j.js} +16 -16
  111. package/dist/chunks/{config-pwc5sxx6.js → schema-bewj0jz1.js} +28 -28
  112. package/dist/chunks/{config-sy7czwgb.js → schema-bj23jw33.js} +6 -6
  113. package/dist/chunks/{config-95kzga43.js → schema-bjah300a.js} +89 -89
  114. package/dist/chunks/{config-bcezcar3.js → schema-bsvvsrn1.js} +5 -5
  115. package/dist/chunks/{config-9ybgd8dh.js → schema-c2wempx8.js} +39 -39
  116. package/dist/chunks/{config-ffzahd1q.js → schema-c4tn7jrr.js} +7 -7
  117. package/dist/chunks/{config-a6y8nfjs.js → schema-ckw34yqz.js} +30 -30
  118. package/dist/chunks/{config-h0zp9rha.js → schema-cmw5d376.js} +14 -14
  119. package/dist/chunks/{config-d72308c8.js → schema-d72308c8.js} +2 -2
  120. package/dist/chunks/{config-3camn5j0.js → schema-d7xgky4f.js} +33 -33
  121. package/dist/chunks/{config-c6tw1r0q.js → schema-dajxm5h5.js} +11 -11
  122. package/dist/chunks/{config-6cnprtbt.js → schema-dezmnm3g.js} +11 -11
  123. package/dist/chunks/{config-yptt4r9g.js → schema-dgmxpyc7.js} +35 -35
  124. package/dist/chunks/{config-67cp0t3n.js → schema-dm7yrpwm.js} +11 -11
  125. package/dist/chunks/{config-jbzcfc0w.js → schema-dq7298b6.js} +18 -18
  126. package/dist/chunks/{config-84e5sn9r.js → schema-e5b0qn1c.js} +1 -1
  127. package/dist/chunks/{config-wx6ek7p1.js → schema-e676a0th.js} +11 -11
  128. package/dist/chunks/{config-zyherzjf.js → schema-e7bn8q6v.js} +10 -10
  129. package/dist/chunks/{config-fhsnc0hn.js → schema-e9099wq5.js} +15 -15
  130. package/dist/chunks/{config-j80e9skv.js → schema-egcppv5e.js} +11 -11
  131. package/dist/chunks/{config-pcfe4ghh.js → schema-ehpz93s6.js} +4 -4
  132. package/dist/chunks/{config-sez2sxvq.js → schema-em6aehv4.js} +13 -13
  133. package/dist/chunks/{config-6adkm6cr.js → schema-emhpd4sz.js} +12 -12
  134. package/dist/chunks/{config-qrf1196v.js → schema-ezapnas2.js} +35 -35
  135. package/dist/chunks/{config-n95nq84g.js → schema-f0v448q8.js} +5 -5
  136. package/dist/chunks/{config-sj7pfbwb.js → schema-f4v2r7ec.js} +18 -18
  137. package/dist/chunks/{config-2rgt7c3b.js → schema-f8nrn9y4.js} +11 -11
  138. package/dist/chunks/{config-rgsxhgxd.js → schema-fc4enxm7.js} +29 -29
  139. package/dist/chunks/{config-7dqw4kz8.js → schema-fcrkznn8.js} +5 -5
  140. package/dist/chunks/{config-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
  141. package/dist/chunks/{config-fxypknc8.js → schema-fxypknc8.js} +1 -1
  142. package/dist/chunks/{config-dn3mp5jr.js → schema-fztp1wx9.js} +9 -9
  143. package/dist/chunks/{config-55v2ymrw.js → schema-g41n1fn3.js} +5 -5
  144. package/dist/chunks/{config-5z3wefky.js → schema-g7bszxvd.js} +40 -40
  145. package/dist/chunks/{config-11d5h6an.js → schema-gamrqs60.js} +41 -41
  146. package/dist/chunks/{config-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{config-dt746yqr.js → schema-gvsnbjhz.js} +8 -8
  148. package/dist/chunks/{config-0sv942tj.js → schema-h58xcwpy.js} +8 -8
  149. package/dist/chunks/{config-0424b8g1.js → schema-h6h1436v.js} +4 -4
  150. package/dist/chunks/{config-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{config-wszjhsey.js → schema-h9wz0788.js} +30 -30
  152. package/dist/chunks/{config-xd3j2mtj.js → schema-hd4qf47t.js} +174 -174
  153. package/dist/chunks/{config-0q383bzk.js → schema-hdt077bk.js} +9 -9
  154. package/dist/chunks/{config-heyhwy2w.js → schema-heyhwy2w.js} +1 -1
  155. package/dist/chunks/{config-2sg0crgm.js → schema-hgbw4ehz.js} +6 -6
  156. package/dist/chunks/{config-909y75nz.js → schema-hhnn4c8b.js} +26 -26
  157. package/dist/chunks/{config-yzd93mfj.js → schema-hjrjbgez.js} +5 -5
  158. package/dist/chunks/{config-e82z9tr0.js → schema-hjt4xg1x.js} +7 -7
  159. package/dist/chunks/{config-bva7vcjq.js → schema-hr77wr0b.js} +4 -4
  160. package/dist/chunks/{config-hrvm11jt.js → schema-hrvm11jt.js} +3 -3
  161. package/dist/chunks/{config-hw4pv20g.js → schema-hw4pv20g.js} +2 -2
  162. package/dist/chunks/{config-bwd8tstc.js → schema-j4c6y7xz.js} +9 -9
  163. package/dist/chunks/{config-bpdzwx5y.js → schema-j871vxfc.js} +20 -20
  164. package/dist/chunks/{config-eg4pr325.js → schema-jasnfvjs.js} +10 -10
  165. package/dist/chunks/{config-xya7n0dd.js → schema-jb2p1s8w.js} +58 -58
  166. package/dist/chunks/{config-z3avqe8v.js → schema-je3yzz2v.js} +17 -17
  167. package/dist/chunks/{config-4vxwgeaq.js → schema-jqjtaz5x.js} +36 -36
  168. package/dist/chunks/{config-wdqf1a1r.js → schema-js8gy4m8.js} +6 -6
  169. package/dist/chunks/{config-4cshh5cf.js → schema-jspp3pq5.js} +17 -17
  170. package/dist/chunks/{config-8dd5gh5g.js → schema-k19yg70y.js} +27 -27
  171. package/dist/chunks/{config-k4bwy1x5.js → schema-k4bwy1x5.js} +1 -1
  172. package/dist/chunks/{config-5z9qstwn.js → schema-k85a8qr7.js} +81 -81
  173. package/dist/chunks/{config-8r0202fd.js → schema-kapgq2fk.js} +11 -11
  174. package/dist/chunks/{config-kg06axw8.js → schema-kg06axw8.js} +1 -1
  175. package/dist/chunks/{config-g5hp5s0s.js → schema-kjmp7mkn.js} +9 -9
  176. package/dist/chunks/{config-yfbd16n1.js → schema-kk3rr3qh.js} +5 -5
  177. package/dist/chunks/{config-0ed3m1jk.js → schema-kqh0jhv7.js} +20 -20
  178. package/dist/chunks/{config-a51qe2m1.js → schema-m0ca63zf.js} +11 -11
  179. package/dist/chunks/{config-jh787hsq.js → schema-m0w27dsq.js} +30 -30
  180. package/dist/chunks/{config-mcqwb5cw.js → schema-m3w37zzb.js} +23 -23
  181. package/dist/chunks/{config-qa6sfwtx.js → schema-m4z6zt1h.js} +10 -10
  182. package/dist/chunks/{config-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{config-k0f82zt9.js → schema-mb3vb89x.js} +8 -8
  184. package/dist/chunks/{config-237jjh8r.js → schema-mcxg6pmm.js} +1 -1
  185. package/dist/chunks/{config-mqc5k020.js → schema-mdjcfwcf.js} +11 -11
  186. package/dist/chunks/{config-73tb2d7t.js → schema-mhkvc446.js} +3 -3
  187. package/dist/chunks/{config-a7ygzknp.js → schema-mkq4xp6j.js} +14 -14
  188. package/dist/chunks/{config-9tj0rnrh.js → schema-mmk8z8vw.js} +13 -13
  189. package/dist/chunks/{config-c570sca7.js → schema-msqd9fka.js} +18 -18
  190. package/dist/chunks/{config-w4sy5vr6.js → schema-n6n197mn.js} +10 -10
  191. package/dist/chunks/{config-5g0g6sxf.js → schema-n6yd8jz8.js} +7 -7
  192. package/dist/chunks/{config-cevanw02.js → schema-n8fetsyk.js} +28 -28
  193. package/dist/chunks/{config-y2gt4tn8.js → schema-nd2v0w3y.js} +2 -2
  194. package/dist/chunks/{config-0faacv9h.js → schema-nrfbs8zx.js} +5 -5
  195. package/dist/chunks/{config-n6wnzfnt.js → schema-nrsmc0cn.js} +6 -6
  196. package/dist/chunks/{config-d9rpbp5n.js → schema-nzvt3fe2.js} +24 -24
  197. package/dist/chunks/{config-kxdbpzvg.js → schema-p0h7e0yr.js} +11 -11
  198. package/dist/chunks/{config-7yygr4vw.js → schema-p234zevy.js} +56 -56
  199. package/dist/chunks/{config-t00n1yfv.js → schema-p6j5rthq.js} +8 -8
  200. package/dist/chunks/{config-zkhy5g3c.js → schema-p6k3nzjq.js} +31 -31
  201. package/dist/chunks/{config-rae26gbb.js → schema-pae9v2p1.js} +8 -8
  202. package/dist/chunks/{config-h0xakedw.js → schema-pgwnkrgp.js} +17 -17
  203. package/dist/chunks/{config-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{config-pknna89w.js → schema-pknna89w.js} +1 -1
  205. package/dist/chunks/{config-ms4p05rz.js → schema-pv06p42z.js} +4 -4
  206. package/dist/chunks/{config-ztwscpt3.js → schema-q31jhj7h.js} +9 -9
  207. package/dist/chunks/{config-x8nx6njd.js → schema-qfnhs0ay.js} +15 -15
  208. package/dist/chunks/{config-g3zj0x2b.js → schema-qgpvk72g.js} +5 -5
  209. package/dist/chunks/{config-5rp8p5tq.js → schema-qrs68m7n.js} +32 -32
  210. package/dist/chunks/{config-qsdy395h.js → schema-qsdy395h.js} +1 -1
  211. package/dist/chunks/{config-4zxvp4s8.js → schema-qt162p81.js} +11 -11
  212. package/dist/chunks/{config-7hfxww9t.js → schema-qwb6v2g5.js} +13 -13
  213. package/dist/chunks/{config-6mjnften.js → schema-r5rd45ey.js} +22 -22
  214. package/dist/chunks/{config-mq9r6drf.js → schema-r6xmjf87.js} +3 -3
  215. package/dist/chunks/{config-r8dhm0tv.js → schema-r8dhm0tv.js} +1 -1
  216. package/dist/chunks/{config-f2n192rq.js → schema-r8xr0va3.js} +4 -4
  217. package/dist/chunks/{config-kztq1z52.js → schema-rd9hzhgp.js} +44 -44
  218. package/dist/chunks/{config-sxq12nxh.js → schema-re10kf0s.js} +34 -34
  219. package/dist/chunks/{config-tdpndm1c.js → schema-rmm45jmv.js} +5 -5
  220. package/dist/chunks/{config-6a55zhma.js → schema-rrfj1sgp.js} +9 -9
  221. package/dist/chunks/{config-5xcc0t2d.js → schema-rt5n18n0.js} +29 -29
  222. package/dist/chunks/{config-3g8r9y4m.js → schema-rtjpxz0x.js} +24 -24
  223. package/dist/chunks/{config-1g8zrhqs.js → schema-s28f0v1e.js} +6 -6
  224. package/dist/chunks/{config-6vwm7pwz.js → schema-s2x6mz9s.js} +4 -4
  225. package/dist/chunks/{config-1rfmywcm.js → schema-s3eqpch7.js} +1 -1
  226. package/dist/chunks/{config-sba4qhjf.js → schema-sba4qhjf.js} +1 -1
  227. package/dist/chunks/{config-mdgebrj3.js → schema-sj2kvqyv.js} +3 -3
  228. package/dist/chunks/{config-gmyhzdye.js → schema-skkjy97b.js} +27 -27
  229. package/dist/chunks/{config-mbpc0r5e.js → schema-sx5gpndv.js} +16 -16
  230. package/dist/chunks/{config-zc4pefsx.js → schema-sxmdy6vf.js} +15 -15
  231. package/dist/chunks/{config-4mj950mr.js → schema-t2a6e5ew.js} +13 -13
  232. package/dist/chunks/{config-fp0hvswx.js → schema-t663bhz3.js} +9 -9
  233. package/dist/chunks/{config-75my1bc5.js → schema-t6f921pt.js} +6 -6
  234. package/dist/chunks/{config-4wdmqajx.js → schema-t8v72xqj.js} +23 -23
  235. package/dist/chunks/{config-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{config-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{config-zw7n3jsf.js → schema-tdp3srjd.js} +288 -288
  238. package/dist/chunks/{config-q3x5sxn7.js → schema-tgfk7sdg.js} +9 -9
  239. package/dist/chunks/{config-tjykrgmx.js → schema-tjykrgmx.js} +1 -1
  240. package/dist/chunks/{config-jrkm11se.js → schema-tk66q7qw.js} +1 -1
  241. package/dist/chunks/{config-v7mvzpxp.js → schema-v0mbc4ay.js} +13 -13
  242. package/dist/chunks/{config-ektxve03.js → schema-v48vyps0.js} +13 -13
  243. package/dist/chunks/{config-b27vhd2z.js → schema-v5dkyp31.js} +4 -4
  244. package/dist/chunks/{config-tppvcy65.js → schema-v60ecprk.js} +7 -7
  245. package/dist/chunks/{config-7j5570x5.js → schema-v66dqm9c.js} +22 -22
  246. package/dist/chunks/{config-7t23sfae.js → schema-veeef9vx.js} +24 -24
  247. package/dist/chunks/{config-j5cvhpj6.js → schema-vg7tvm5c.js} +10 -10
  248. package/dist/chunks/{config-2jjpr40g.js → schema-vhtv5nbw.js} +5 -5
  249. package/dist/chunks/{config-twmtcs0e.js → schema-vy1vc40s.js} +25 -25
  250. package/dist/chunks/{config-qt1tjvnb.js → schema-w0tfa8j9.js} +29 -29
  251. package/dist/chunks/{config-eatef5sh.js → schema-w0w53vng.js} +22 -22
  252. package/dist/chunks/{config-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{config-hcnaa5mc.js → schema-w4t3ack1.js} +19 -19
  254. package/dist/chunks/{config-mfm8exmb.js → schema-w4trmh71.js} +23 -23
  255. package/dist/chunks/{config-wd87259q.js → schema-wd87259q.js} +1 -1
  256. package/dist/chunks/{config-mecc0azh.js → schema-wjngnjtk.js} +32 -32
  257. package/dist/chunks/{config-rrtr8q94.js → schema-wm2krekn.js} +17 -17
  258. package/dist/chunks/{config-khzg4rw9.js → schema-wv7fyv62.js} +12 -12
  259. package/dist/chunks/{config-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{config-x05erqvs.js → schema-x4m3pksr.js} +11 -11
  261. package/dist/chunks/{config-q99m3398.js → schema-xdrkt8m2.js} +9 -9
  262. package/dist/chunks/{config-4cn8226d.js → schema-xh9ptvna.js} +21 -21
  263. package/dist/chunks/{config-pe40p04d.js → schema-xqrwg3rf.js} +9 -9
  264. package/dist/chunks/{config-8pn7nfj1.js → schema-xqsy6kp0.js} +1 -1
  265. package/dist/chunks/{config-r5w2ssxe.js → schema-xr5vwsd4.js} +9 -9
  266. package/dist/chunks/{config-bj6xkg51.js → schema-xy04q38t.js} +16 -16
  267. package/dist/chunks/{config-4p03f1qq.js → schema-y18qbtn0.js} +3 -3
  268. package/dist/chunks/{config-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{config-btc4hvws.js → schema-y4nzzd5t.js} +5 -5
  270. package/dist/chunks/{config-dkk7a5wk.js → schema-y6nt3k22.js} +2 -2
  271. package/dist/chunks/{config-y71avatq.js → schema-y71avatq.js} +1 -1
  272. package/dist/chunks/{config-w6cg0ec3.js → schema-yjf09y7w.js} +10 -10
  273. package/dist/chunks/{config-4n3dgrrb.js → schema-yv168y4t.js} +3 -3
  274. package/dist/chunks/{config-e6s6n12p.js → schema-yvgzfjz2.js} +38 -37
  275. package/dist/chunks/{config-z1k01bn4.js → schema-z1k01bn4.js} +2 -2
  276. package/dist/chunks/{config-y6x1631j.js → schema-z26gprdf.js} +21 -21
  277. package/dist/chunks/{config-kgc8thfg.js → schema-z5bqgj44.js} +11 -11
  278. package/dist/chunks/{config-z63w68vq.js → schema-z63w68vq.js} +2 -2
  279. package/dist/chunks/{config-zgxqspyk.js → schema-z7ghswzh.js} +32 -32
  280. package/dist/chunks/{config-zfqme3r2.js → schema-zfqme3r2.js} +2 -2
  281. package/dist/chunks/{config-cm990fgz.js → schema-zmjd9hv4.js} +14 -14
  282. package/dist/chunks/{config-pdw22why.js → schema-zn2pq4p8.js} +5 -5
  283. package/dist/chunks/{config-y5nnwpyf.js → schema-zs90bmkf.js} +17 -17
  284. package/dist/chunks/{config-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +3 -3
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +81 -81
  289. package/dist/config/discovery.js +77 -77
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +19 -19
  292. package/dist/config/plugin/agent.js +115 -115
  293. package/dist/config/plugin/command.js +206 -206
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +117 -117
  297. package/dist/config/plugin/image.js +115 -115
  298. package/dist/config/plugin/instruction.js +85 -85
  299. package/dist/config/plugin/location-watcher.js +115 -115
  300. package/dist/config/plugin/mcp.js +124 -124
  301. package/dist/config/plugin/policy.js +114 -114
  302. package/dist/config/plugin/provider.js +113 -113
  303. package/dist/config/plugin/reference.js +117 -117
  304. package/dist/config/plugin/shell.js +118 -118
  305. package/dist/config/plugin/skill-file.js +96 -96
  306. package/dist/config/plugin/skill.js +135 -135
  307. package/dist/config/plugin/snapshot.js +115 -115
  308. package/dist/config/plugin/source.js +115 -115
  309. package/dist/config/plugin/tool-output.js +117 -117
  310. package/dist/config/plugin/websearch.js +115 -115
  311. package/dist/config/plugin/worktree.js +118 -118
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +117 -117
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +83 -83
  317. package/dist/database/database.js +64 -64
  318. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +13 -13
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +14 -14
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration.gen.js +47 -47
  381. package/dist/database/migration.js +49 -49
  382. package/dist/database/path.js +2 -2
  383. package/dist/database/schema.gen.js +1 -1
  384. package/dist/database/schema.sql.js +1 -1
  385. package/dist/database/sqlite.bun.js +1 -1
  386. package/dist/database/sqlite.js +1 -1
  387. package/dist/database/sqlite.node.js +1 -1
  388. package/dist/database/sqlite.workerd.js +1 -1
  389. package/dist/database/v1-migration.bun.js +74 -74
  390. package/dist/database/v1-migration.js +1 -1
  391. package/dist/effect/app-node-builder.js +359 -359
  392. package/dist/effect/app-node-platform.js +2 -2
  393. package/dist/effect/keyed-mutex.js +1 -1
  394. package/dist/effect/websocket-constructor.js +1 -1
  395. package/dist/environment/driver.js +1 -1
  396. package/dist/environment/environment.js +88 -88
  397. package/dist/environment/exec-defaults.js +2 -2
  398. package/dist/environment/files.js +1 -1
  399. package/dist/environment/index.js +90 -90
  400. package/dist/environment/local.js +2 -2
  401. package/dist/environment/memory.js +2 -2
  402. package/dist/environment/unavailable.js +1 -1
  403. package/dist/event/sql.js +1 -1
  404. package/dist/event-logger.js +72 -72
  405. package/dist/file-mutation.js +89 -89
  406. package/dist/file-retention.js +1 -1
  407. package/dist/file.js +1 -1
  408. package/dist/filesystem/fff.bun.js +2 -2
  409. package/dist/filesystem/fff.js +1 -1
  410. package/dist/filesystem/fff.node.js +2 -2
  411. package/dist/filesystem/fff.workerd.js +2 -2
  412. package/dist/filesystem/ignore.js +1 -1
  413. package/dist/filesystem/location-watcher-policy.js +2 -2
  414. package/dist/filesystem/location-watcher.js +219 -219
  415. package/dist/filesystem/protected.js +1 -1
  416. package/dist/filesystem/search.js +99 -99
  417. package/dist/filesystem/watcher-binding.js +1 -1
  418. package/dist/filesystem/watcher.js +15 -15
  419. package/dist/filesystem.js +96 -96
  420. package/dist/form.js +82 -82
  421. package/dist/formatter/builtins.js +4 -4
  422. package/dist/formatter.js +84 -84
  423. package/dist/generate.js +89 -89
  424. package/dist/git.js +7 -7
  425. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  426. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  427. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  428. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  429. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  431. package/dist/github-copilot/copilot-provider.js +17 -17
  432. package/dist/github-copilot/models.js +3 -3
  433. package/dist/github-copilot/openai-compatible-error.js +1 -1
  434. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  435. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  436. package/dist/github-copilot/responses/openai-error.js +1 -1
  437. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  438. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  439. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  440. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  441. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  444. package/dist/id/id.js +1 -1
  445. package/dist/image/photon.js +2 -2
  446. package/dist/image.js +6 -6
  447. package/dist/instance/service.js +5 -5
  448. package/dist/instance.js +350 -350
  449. package/dist/instruction-discovery.js +83 -83
  450. package/dist/instructions/builtins.js +82 -82
  451. package/dist/instructions/index.js +5 -5
  452. package/dist/integration/connection.js +1 -1
  453. package/dist/integration.js +86 -86
  454. package/dist/job.js +77 -77
  455. package/dist/kv/sql.js +2 -2
  456. package/dist/kv.js +71 -71
  457. package/dist/location-activity.js +132 -132
  458. package/dist/location-mutation.js +81 -81
  459. package/dist/location-service-map.js +83 -83
  460. package/dist/location-services.js +347 -347
  461. package/dist/location.js +82 -82
  462. package/dist/mcp/client.js +86 -86
  463. package/dist/mcp/index.js +105 -105
  464. package/dist/mcp/instructions.js +121 -121
  465. package/dist/mcp/oauth.js +3 -3
  466. package/dist/mcp/stdio.js +85 -85
  467. package/dist/mime.js +1 -1
  468. package/dist/modal/models.js +3 -3
  469. package/dist/model-resolver.js +86 -86
  470. package/dist/model.js +8 -8
  471. package/dist/models-dev.js +86 -86
  472. package/dist/oauth/page.js +1 -1
  473. package/dist/permission/saved.js +80 -80
  474. package/dist/permission/sql.js +5 -5
  475. package/dist/permission.js +107 -107
  476. package/dist/persistent-pty/binary.bun.js +1 -1
  477. package/dist/persistent-pty/daemon.js +1 -1
  478. package/dist/persistent-pty/index.js +82 -82
  479. package/dist/persistent-pty/pty-binding.js +1 -1
  480. package/dist/persistent-pty.js +73 -73
  481. package/dist/plugin/agent.js +96 -96
  482. package/dist/plugin/command.js +94 -94
  483. package/dist/plugin/hooks.js +5 -5
  484. package/dist/plugin/host.js +212 -212
  485. package/dist/plugin/instance.js +5 -5
  486. package/dist/plugin/internal.js +321 -321
  487. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  488. package/dist/plugin/models-dev.js +75 -75
  489. package/dist/plugin/module.js +7 -7
  490. package/dist/plugin/optimize.js +4 -4
  491. package/dist/plugin/plan.js +96 -96
  492. package/dist/plugin/promise.js +1 -1
  493. package/dist/plugin/provider/alibaba.js +2 -2
  494. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  495. package/dist/plugin/provider/anthropic.js +2 -2
  496. package/dist/plugin/provider/azure.js +118 -118
  497. package/dist/plugin/provider/cerebras.js +2 -2
  498. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  499. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  500. package/dist/plugin/provider/cohere.js +2 -2
  501. package/dist/plugin/provider/configured.js +114 -114
  502. package/dist/plugin/provider/dynamic.js +2 -2
  503. package/dist/plugin/provider/factory.js +1 -1
  504. package/dist/plugin/provider/gateway.js +2 -2
  505. package/dist/plugin/provider/github-copilot.js +80 -80
  506. package/dist/plugin/provider/gitlab.js +3 -3
  507. package/dist/plugin/provider/google-vertex.js +2 -2
  508. package/dist/plugin/provider/kilo.js +2 -2
  509. package/dist/plugin/provider/llmgateway.js +76 -76
  510. package/dist/plugin/provider/lmstudio.js +117 -117
  511. package/dist/plugin/provider/mistral.js +2 -2
  512. package/dist/plugin/provider/modal.js +79 -79
  513. package/dist/plugin/provider/nvidia.js +2 -2
  514. package/dist/plugin/provider/ollama.js +117 -117
  515. package/dist/plugin/provider/openai-compatible.js +1 -1
  516. package/dist/plugin/provider/openai.js +80 -80
  517. package/dist/plugin/provider/opencode.js +76 -76
  518. package/dist/plugin/provider/openrouter.js +3 -3
  519. package/dist/plugin/provider/perplexity.js +2 -2
  520. package/dist/plugin/provider/sap-ai-core.js +3 -3
  521. package/dist/plugin/provider/sdk-factory.js +1 -1
  522. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  523. package/dist/plugin/provider/venice.js +2 -2
  524. package/dist/plugin/provider/vercel.js +2 -2
  525. package/dist/plugin/provider/vllm.js +117 -117
  526. package/dist/plugin/provider/xai.js +77 -77
  527. package/dist/plugin/provider/zenmux.js +2 -2
  528. package/dist/plugin/provider.js +155 -155
  529. package/dist/plugin/sdk.js +74 -74
  530. package/dist/plugin/service.js +3 -3
  531. package/dist/plugin/skill.js +130 -130
  532. package/dist/plugin/source-directory.js +1 -1
  533. package/dist/plugin/supervisor.js +340 -340
  534. package/dist/plugin/update.js +6 -6
  535. package/dist/plugin/variant.js +4 -4
  536. package/dist/plugin/vcs/git.js +82 -82
  537. package/dist/plugin/vcs/hg.js +80 -80
  538. package/dist/plugin/warming.js +112 -112
  539. package/dist/plugin/websearch/exa.js +3 -3
  540. package/dist/plugin/websearch/firecrawl.js +8 -8
  541. package/dist/plugin/websearch/index.js +8 -8
  542. package/dist/plugin/websearch/mcp.js +2 -2
  543. package/dist/plugin/websearch/parallel.js +8 -8
  544. package/dist/plugin/websearch/tavily.js +4 -4
  545. package/dist/plugin.js +219 -219
  546. package/dist/project/schema.js +6 -6
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +83 -83
  549. package/dist/provider.js +7 -7
  550. package/dist/pty/protocol.js +1 -1
  551. package/dist/pty/schema.js +3 -3
  552. package/dist/pty/ticket.js +1 -1
  553. package/dist/pty.js +92 -92
  554. package/dist/reference/instructions.js +84 -84
  555. package/dist/reference.js +86 -86
  556. package/dist/repository-cache.js +76 -76
  557. package/dist/repository.js +1 -1
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +91 -91
  560. package/dist/rpc.js +81 -81
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +72 -72
  563. package/dist/session/compaction.js +126 -126
  564. package/dist/session/context.js +146 -146
  565. package/dist/session/environment.js +5 -5
  566. package/dist/session/error.js +5 -5
  567. package/dist/session/event.js +1 -1
  568. package/dist/session/execution/restart.js +218 -218
  569. package/dist/session/execution.js +121 -121
  570. package/dist/session/generate.js +145 -145
  571. package/dist/session/history.js +12 -12
  572. package/dist/session/inbox.js +88 -88
  573. package/dist/session/info.js +3 -3
  574. package/dist/session/instruction-entry.js +75 -75
  575. package/dist/session/instruction-state.js +8 -8
  576. package/dist/session/instructions.js +91 -91
  577. package/dist/session/message-updater.js +4 -4
  578. package/dist/session/message.js +1 -1
  579. package/dist/session/model-request.js +112 -112
  580. package/dist/session/model-transport.js +9 -9
  581. package/dist/session/move.js +125 -125
  582. package/dist/session/projector.js +84 -84
  583. package/dist/session/prompt.js +99 -99
  584. package/dist/session/revert.js +85 -85
  585. package/dist/session/run-coordinator.js +3 -3
  586. package/dist/session/runner/index.js +3 -3
  587. package/dist/session/runner/llm.js +224 -224
  588. package/dist/session/runner/max-steps.js +1 -1
  589. package/dist/session/runner/model.js +86 -86
  590. package/dist/session/runner/publish-llm-event.js +3 -3
  591. package/dist/session/runner/retry.js +4 -4
  592. package/dist/session/runner/step.js +120 -120
  593. package/dist/session/runner/to-llm-message.js +1 -1
  594. package/dist/session/schema.js +5 -5
  595. package/dist/session/session.js +168 -168
  596. package/dist/session/shell.js +131 -131
  597. package/dist/session/skill.js +97 -97
  598. package/dist/session/sql.js +5 -5
  599. package/dist/session/stats.js +71 -71
  600. package/dist/session/store.js +84 -84
  601. package/dist/session/subagent-completion.js +1 -1
  602. package/dist/session/subagent-job.js +204 -204
  603. package/dist/session/system-prompt.js +5 -5
  604. package/dist/session/title.js +150 -150
  605. package/dist/session/to-session-error.js +106 -106
  606. package/dist/session/transfer.js +214 -214
  607. package/dist/session/usage.js +1 -1
  608. package/dist/session.js +210 -210
  609. package/dist/shell/parse.js +6 -6
  610. package/dist/shell/result.js +1 -1
  611. package/dist/shell/scan.js +1 -1
  612. package/dist/shell/select.js +13 -13
  613. package/dist/shell.js +133 -133
  614. package/dist/skill/discovery.js +6 -6
  615. package/dist/skill/instructions.js +101 -101
  616. package/dist/skill.js +106 -106
  617. package/dist/snapshot.js +86 -86
  618. package/dist/state.js +1 -1
  619. package/dist/tool/html-markdown.js +1 -1
  620. package/dist/tool/http-body.js +1 -1
  621. package/dist/tool/mcp.js +118 -118
  622. package/dist/tool/plugin/edit.js +114 -114
  623. package/dist/tool/plugin/file-diff.js +1 -1
  624. package/dist/tool/plugin/glob.js +119 -119
  625. package/dist/tool/plugin/grep.js +115 -115
  626. package/dist/tool/plugin/opencode.js +3 -3
  627. package/dist/tool/plugin/patch.js +114 -114
  628. package/dist/tool/plugin/question.js +97 -97
  629. package/dist/tool/plugin/read.js +120 -120
  630. package/dist/tool/plugin/shell.js +211 -211
  631. package/dist/tool/plugin/skill.js +107 -107
  632. package/dist/tool/plugin/subagent.js +213 -213
  633. package/dist/tool/plugin/webfetch.js +102 -102
  634. package/dist/tool/plugin/websearch.js +104 -104
  635. package/dist/tool/plugin/write.js +116 -116
  636. package/dist/tool/read-filesystem.js +96 -96
  637. package/dist/tool/runtime.js +1 -1
  638. package/dist/tool-output.js +8 -8
  639. package/dist/tool.js +13 -13
  640. package/dist/types/project/schema.d.ts +1 -0
  641. package/dist/types/project.d.ts +1 -0
  642. package/dist/util/error-summary.js +1 -1
  643. package/dist/util/error.js +1 -1
  644. package/dist/util/iife.js +1 -1
  645. package/dist/util/lazy.js +1 -1
  646. package/dist/util/slug.js +1 -1
  647. package/dist/util/token.js +1 -1
  648. package/dist/util/which.js +1 -1
  649. package/dist/util/wildcard.js +1 -1
  650. package/dist/v1/config/agent.js +5 -5
  651. package/dist/v1/config/attachment.js +4 -4
  652. package/dist/v1/config/command.js +3 -3
  653. package/dist/v1/config/config.js +16 -16
  654. package/dist/v1/config/error.js +2 -2
  655. package/dist/v1/config/formatter.js +5 -5
  656. package/dist/v1/config/layout.js +1 -1
  657. package/dist/v1/config/lsp.js +5 -5
  658. package/dist/v1/config/mcp.js +4 -4
  659. package/dist/v1/config/migrate.js +4 -4
  660. package/dist/v1/config/permission.js +3 -3
  661. package/dist/v1/config/plugin.js +3 -3
  662. package/dist/v1/config/provider-options.js +1 -1
  663. package/dist/v1/config/provider.js +4 -4
  664. package/dist/v1/config/server.js +2 -2
  665. package/dist/v1/config/skills.js +3 -3
  666. package/dist/v1/permission.js +1 -1
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +85 -85
  669. package/dist/websearch.js +82 -82
  670. package/dist/wellknown/plugin.js +74 -74
  671. package/dist/wellknown.js +77 -77
  672. package/dist/workspace/driver.js +5 -5
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +78 -78
  675. package/dist/worktree/directory.js +4 -4
  676. package/dist/worktree/git.js +7 -7
  677. package/dist/worktree/refresh.js +339 -339
  678. package/dist/worktree/sql.js +5 -5
  679. package/dist/worktree.js +89 -89
  680. package/package.json +7 -7
  681. package/dist/chunks/config-35chk74t.js +0 -4
  682. package/dist/chunks/config-9zdhvgqs.js +0 -18
  683. package/dist/chunks/config-cjjzzp5t.js +0 -247
  684. /package/dist/chunks/{config-0fabt78z.js → schema-0fabt78z.js} +0 -0
  685. /package/dist/chunks/{config-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{config-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{config-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{config-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{config-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{config-2710q6r3.js → schema-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{config-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{config-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{config-359p4xyc.js → schema-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{config-3asan66x.js → schema-3asan66x.js} +0 -0
  695. /package/dist/chunks/{config-3t738kvx.js → schema-3t738kvx.js} +0 -0
  696. /package/dist/chunks/{config-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{config-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  698. /package/dist/chunks/{config-41nvscxy.js → schema-41nvscxy.js} +0 -0
  699. /package/dist/chunks/{config-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{config-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{config-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  702. /package/dist/chunks/{config-53557ph1.js → schema-53557ph1.js} +0 -0
  703. /package/dist/chunks/{config-550bvhaj.js → schema-550bvhaj.js} +0 -0
  704. /package/dist/chunks/{config-6prwharc.js → schema-6prwharc.js} +0 -0
  705. /package/dist/chunks/{config-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  706. /package/dist/chunks/{config-7m9af43g.js → schema-7m9af43g.js} +0 -0
  707. /package/dist/chunks/{config-822emrt2.js → schema-822emrt2.js} +0 -0
  708. /package/dist/chunks/{config-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  709. /package/dist/chunks/{config-8n3pysct.js → schema-8n3pysct.js} +0 -0
  710. /package/dist/chunks/{config-982e01ww.js → schema-982e01ww.js} +0 -0
  711. /package/dist/chunks/{config-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  712. /package/dist/chunks/{config-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  713. /package/dist/chunks/{config-a1tpkmh4.js → schema-a1tpkmh4.js} +0 -0
  714. /package/dist/chunks/{config-af5trqkr.js → schema-af5trqkr.js} +0 -0
  715. /package/dist/chunks/{config-afrmfg78.js → schema-afrmfg78.js} +0 -0
  716. /package/dist/chunks/{config-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  717. /package/dist/chunks/{config-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  718. /package/dist/chunks/{config-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  719. /package/dist/chunks/{config-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  720. /package/dist/chunks/{config-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  721. /package/dist/chunks/{config-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  722. /package/dist/chunks/{config-d9fn303g.js → schema-d9fn303g.js} +0 -0
  723. /package/dist/chunks/{config-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  724. /package/dist/chunks/{config-dajrwvna.js → schema-dajrwvna.js} +0 -0
  725. /package/dist/chunks/{config-dap0rakb.js → schema-dap0rakb.js} +0 -0
  726. /package/dist/chunks/{config-df08tz66.js → schema-df08tz66.js} +0 -0
  727. /package/dist/chunks/{config-dy18nga0.js → schema-dy18nga0.js} +0 -0
  728. /package/dist/chunks/{config-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  729. /package/dist/chunks/{config-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  730. /package/dist/chunks/{config-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  731. /package/dist/chunks/{config-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  732. /package/dist/chunks/{config-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  733. /package/dist/chunks/{config-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  734. /package/dist/chunks/{config-faypxj3z.js → schema-faypxj3z.js} +0 -0
  735. /package/dist/chunks/{config-fd410y7t.js → schema-fd410y7t.js} +0 -0
  736. /package/dist/chunks/{config-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
  737. /package/dist/chunks/{config-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  738. /package/dist/chunks/{config-g86h250q.js → schema-g86h250q.js} +0 -0
  739. /package/dist/chunks/{config-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  740. /package/dist/chunks/{config-hk9envan.js → schema-hk9envan.js} +0 -0
  741. /package/dist/chunks/{config-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  742. /package/dist/chunks/{config-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  743. /package/dist/chunks/{config-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  744. /package/dist/chunks/{config-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  745. /package/dist/chunks/{config-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  746. /package/dist/chunks/{config-mntxs535.js → schema-mntxs535.js} +0 -0
  747. /package/dist/chunks/{config-mp448xyj.js → schema-mp448xyj.js} +0 -0
  748. /package/dist/chunks/{config-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  749. /package/dist/chunks/{config-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  750. /package/dist/chunks/{config-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  751. /package/dist/chunks/{config-njntx4h6.js → schema-njntx4h6.js} +0 -0
  752. /package/dist/chunks/{config-p8qxwesx.js → schema-p8qxwesx.js} +0 -0
  753. /package/dist/chunks/{config-paphc93g.js → schema-paphc93g.js} +0 -0
  754. /package/dist/chunks/{config-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  755. /package/dist/chunks/{config-q74kybfr.js → schema-q74kybfr.js} +0 -0
  756. /package/dist/chunks/{config-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  757. /package/dist/chunks/{config-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  758. /package/dist/chunks/{config-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  759. /package/dist/chunks/{config-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  760. /package/dist/chunks/{config-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  761. /package/dist/chunks/{config-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  762. /package/dist/chunks/{config-se0s1eqw.js → schema-se0s1eqw.js} +0 -0
  763. /package/dist/chunks/{config-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
  764. /package/dist/chunks/{config-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  765. /package/dist/chunks/{config-twg0f83k.js → schema-twg0f83k.js} +0 -0
  766. /package/dist/chunks/{config-w803qqfp.js → schema-w803qqfp.js} +0 -0
  767. /package/dist/chunks/{config-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  768. /package/dist/chunks/{config-wtztk69x.js → schema-wtztk69x.js} +0 -0
  769. /package/dist/chunks/{config-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  770. /package/dist/chunks/{config-x1b8g1yb.js → schema-x1b8g1yb.js} +0 -0
  771. /package/dist/chunks/{config-x61499pn.js → schema-x61499pn.js} +0 -0
  772. /package/dist/chunks/{config-y44na4kk.js → schema-y44na4kk.js} +0 -0
  773. /package/dist/chunks/{config-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
  774. /package/dist/chunks/{config-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  775. /package/dist/chunks/{config-z9919s4g.js → schema-z9919s4g.js} +0 -0
  776. /package/dist/chunks/{config-zbjnn3ac.js → schema-zbjnn3ac.js} +0 -0
@@ -1,37 +1,37 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./config-q4zymtb1.js";
2
+ Service78,
3
+ node83
4
+ } from "./schema-9tphn1nx.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./config-vhzdsqy0.js";
9
- import {
10
- ID16,
11
6
  Service75,
12
7
  node80
13
- } from "./config-8w44y47c.js";
8
+ } from "./schema-be2wa24j.js";
9
+ import {
10
+ ID10,
11
+ Service67,
12
+ node72
13
+ } from "./schema-2c3xm3da.js";
14
14
  import {
15
- NotFoundError9
16
- } from "./config-n6wnzfnt.js";
15
+ NotFoundError8
16
+ } from "./schema-nrsmc0cn.js";
17
17
  import {
18
- Service72,
19
- node77
20
- } from "./config-h0zp9rha.js";
18
+ Service65,
19
+ node70
20
+ } from "./schema-cmw5d376.js";
21
21
  import {
22
22
  match2
23
- } from "./config-y1fvbwt7.js";
23
+ } from "./schema-y1fvbwt7.js";
24
24
  import {
25
- Service73,
26
- node78
27
- } from "./config-y5nnwpyf.js";
25
+ Service64,
26
+ node69
27
+ } from "./schema-zs90bmkf.js";
28
28
  import {
29
- Service74,
30
- node79
31
- } from "./config-t00n1yfv.js";
29
+ Service66,
30
+ node71
31
+ } from "./schema-p6j5rthq.js";
32
32
  import {
33
33
  __export
34
- } from "./config-9rqn6x4v.js";
34
+ } from "./schema-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: () => Event18,
46
- ID: () => ID13,
47
- NotFoundError: () => NotFoundError8,
45
+ Event: () => Event14,
46
+ ID: () => ID8,
47
+ NotFoundError: () => NotFoundError7,
48
48
  Permission: () => exports_permission2,
49
- Reply: () => Reply3,
49
+ Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request3,
51
+ Request: () => Request2,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service71,
54
+ Service: () => Service63,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node76
58
+ node: () => node68
59
59
  });
60
60
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode-ai/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode-ai/schema/permission";
64
- import { Event as Event18 } from "@opencode-ai/schema/permission";
64
+ import { Event as Event14 } from "@opencode-ai/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID13 = Permission.ID;
67
+ var ID8 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request3 = Permission.Request;
78
- var Reply3 = Permission.Reply;
77
+ var Request2 = Permission.Request;
78
+ var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID13.pipe(Schema.optional),
80
+ id: ID8.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID16.pipe(Schema.optional)
82
+ agent: ID10.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID13,
86
- reply: Reply3,
85
+ requestID: ID8,
86
+ reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID13,
90
+ id: ID8,
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 NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID13
113
+ class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID8
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 Service71 extends Context.Service()("@opencode/Permission") {
128
+ class Service63 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service71, Effect.gen(function* () {
131
- const bus = yield* Service79;
132
- const location = yield* Service76;
133
- const agents = yield* Service75;
134
- const sessions = yield* Service72;
135
- const saved = yield* Service73;
136
- const hooks = yield* Service74;
130
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
131
+ const bus = yield* Service78;
132
+ const location = yield* Service75;
133
+ const agents = yield* Service67;
134
+ const sessions = yield* Service65;
135
+ const saved = yield* Service64;
136
+ const hooks = yield* Service66;
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(Service71, 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 NotFoundError9({ sessionID });
153
+ return yield* new NotFoundError8({ sessionID });
154
154
  const agent = yield* agents.resolve(agentID ?? session.agent);
155
155
  return agent?.permissions ?? missingAgentPermissions;
156
156
  });
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
180
180
  });
181
181
  function request(input, message) {
182
182
  return {
183
- id: input.id ?? ID13.create(),
183
+ id: input.id ?? ID8.create(),
184
184
  sessionID: input.sessionID,
185
185
  action: input.action,
186
186
  resources: input.resources,
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service71, 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 NotFoundError8({ requestID: input.requestID });
231
+ return yield* new NotFoundError7({ 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(Service71, 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 Service71.of({ ask, assert, reply, get, forSession, list });
286
+ return Service63.of({ ask, assert, reply, get, forSession, list });
287
287
  }));
288
- var node76 = makeLocationNode({
289
- service: Service71,
288
+ var node68 = makeLocationNode({
289
+ service: Service63,
290
290
  layer,
291
- deps: [node84, node81, node80, node77, node78, node79]
291
+ deps: [node83, node80, node72, node70, node69, node71]
292
292
  });
293
293
 
294
- export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service71, node76, exports_permission2, Rule3, Ruleset2, Event18 };
294
+ export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service63, node68, exports_permission2, Rule3, Ruleset2, Event14 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service74,
10
- node: () => node79
9
+ Service: () => Service66,
10
+ node: () => node71
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service74 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service66 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service74, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service74.of({ has, register, trigger });
57
+ return Service66.of({ has, register, trigger });
58
58
  }));
59
- var node79 = makeLocationNode({ service: Service74, layer, deps: [] });
59
+ var node71 = makeLocationNode({ service: Service66, layer, deps: [] });
60
60
 
61
- export { Service74, node79, exports_hooks };
61
+ export { Service66, node71, exports_hooks };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./config-p8qxwesx.js";
3
+ } from "./schema-p8qxwesx.js";
4
4
  import {
5
- Service76
6
- } from "./config-vhzdsqy0.js";
5
+ Service75
6
+ } from "./schema-be2wa24j.js";
7
7
  import {
8
8
  externalDirectoryPermission2,
9
- Service62
10
- } from "./config-bj6xkg51.js";
9
+ Service13
10
+ } from "./schema-xy04q38t.js";
11
11
  import {
12
- Service71
13
- } from "./config-7yygr4vw.js";
12
+ Service63
13
+ } from "./schema-p234zevy.js";
14
14
  import {
15
- Service10
16
- } from "./config-eatef5sh.js";
15
+ Service8
16
+ } from "./schema-w0w53vng.js";
17
17
  import {
18
18
  NotFound2
19
- } from "./config-2a5m3afh.js";
19
+ } from "./schema-2a5m3afh.js";
20
20
  import {
21
21
  MEDIA_MIMES2,
22
22
  BinaryFileError2,
@@ -27,26 +27,26 @@ import {
27
27
  FileContent2,
28
28
  TextPage2,
29
29
  ListPage2,
30
- Service11
31
- } from "./config-9ehtken5.js";
30
+ Service6
31
+ } from "./schema-1gwd18eh.js";
32
32
  import {
33
33
  __export
34
- } from "./config-9rqn6x4v.js";
34
+ } from "./schema-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/read.ts
37
37
  var exports_read = {};
38
38
  __export(exports_read, {
39
- Input: () => Input8,
40
- Plugin: () => Plugin39,
39
+ Input: () => Input6,
40
+ Plugin: () => Plugin20,
41
41
  ReadTool: () => exports_read,
42
- name: () => name8,
43
- toModelContent: () => toModelContent4
42
+ name: () => name6,
43
+ toModelContent: () => toModelContent3
44
44
  });
45
45
  import { basename, dirname, join } from "path";
46
46
  import { ToolFailure } from "@opencode-ai/ai";
47
47
  import { Effect, Schema } from "effect";
48
48
  import { FSUtil } from "@opencode-ai/util/fs-util";
49
- var name8 = "read";
49
+ var name6 = "read";
50
50
  var FILENAME = "AGENTS.md";
51
51
  var LocationInput = Schema.Struct({
52
52
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -57,22 +57,22 @@ var LocationInput = Schema.Struct({
57
57
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
58
58
  })
59
59
  });
60
- var Input8 = LocationInput;
60
+ var Input6 = LocationInput;
61
61
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
62
- var Plugin39 = {
62
+ var Plugin20 = {
63
63
  id: "opencode.tool.read",
64
64
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
65
- const reader = yield* Service11;
66
- const mutation = yield* Service62;
67
- const permission = yield* Service71;
68
- const sessionInstructions = yield* Service10;
65
+ const reader = yield* Service6;
66
+ const mutation = yield* Service13;
67
+ const permission = yield* Service63;
68
+ const sessionInstructions = yield* Service8;
69
69
  const fs = yield* FSUtil.Service;
70
- const location = yield* Service76;
70
+ const location = yield* Service75;
71
71
  yield* ctx.tool.transform((editor) => editor.add({
72
- name: name8,
72
+ name: name6,
73
73
  options: { codemode: false },
74
74
  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.",
75
- input: Input8,
75
+ input: Input6,
76
76
  output: Output,
77
77
  execute: (input, context) => {
78
78
  return Effect.gen(function* () {
@@ -90,7 +90,7 @@ var Plugin39 = {
90
90
  source
91
91
  });
92
92
  yield* permission.assert({
93
- action: name8,
93
+ action: name6,
94
94
  resources: [target.resource],
95
95
  save: ["*"],
96
96
  sessionID: context.sessionID,
@@ -141,7 +141,7 @@ var Plugin39 = {
141
141
  return { output: result.content, path: result.path };
142
142
  }).pipe(Effect.map((result) => ({
143
143
  output: result.output,
144
- content: toModelContent4(result.path, input.offset, result.output),
144
+ content: toModelContent3(result.path, input.offset, result.output),
145
145
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
146
146
  })), Effect.mapError((error) => {
147
147
  if (error instanceof ToolFailure)
@@ -173,7 +173,7 @@ ${suggestions.join(`
173
173
  });
174
174
  })
175
175
  };
176
- var toModelContent4 = (path, offset, output) => {
176
+ var toModelContent3 = (path, offset, output) => {
177
177
  if (output.type === "file" && output.encoding === "base64")
178
178
  return [
179
179
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -208,4 +208,4 @@ var toModelContent4 = (path, offset, output) => {
208
208
  `);
209
209
  };
210
210
 
211
- export { name8, Input8, Plugin39, toModelContent4, exports_read };
211
+ export { name6, Input6, Plugin20, toModelContent3, exports_read };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service5,
9
+ Service: () => Service4,
10
10
  bound: () => bound2,
11
- node: () => node8
11
+ node: () => node6
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
15
15
 
16
- class Service5 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service4 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node8 = makeLocationNode({
19
- service: Service5,
18
+ var node6 = makeLocationNode({
19
+ service: Service4,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
29
+ return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service5, node8, bound2, exports_instance2 };
32
+ export { Service4, node6, bound2, exports_instance2 };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  create3
3
- } from "./config-kg06axw8.js";
3
+ } from "./schema-kg06axw8.js";
4
4
  import {
5
5
  which2
6
- } from "./config-qaymkmh1.js";
6
+ } from "./schema-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./config-9rqn6x4v.js";
9
+ } from "./schema-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options7,
15
- Service: () => Service58,
14
+ Options: () => Options5,
15
+ Service: () => Service41,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured9,
18
+ configured: () => configured5,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
- list: () => list4,
21
+ list: () => list3,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node63,
24
+ node: () => node45,
25
25
  ps: () => ps2,
26
26
  resolve: () => resolve2
27
27
  });
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options7 = Schema.Struct({
46
+ var Options5 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service58 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service41 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -184,11 +184,11 @@ resolve2.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
187
- async function list4(options, bin) {
187
+ async function list3(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service41, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service58.of({
202
+ return Service41.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
205
  resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin))
206
206
  });
207
207
  }));
208
- function configured9(options) {
209
- return makeLocationNode({ service: Service58, layer: layer(options), deps: [Global.node] });
208
+ function configured5(options) {
209
+ return makeLocationNode({ service: Service41, layer: layer(options), deps: [Global.node] });
210
210
  }
211
- var node63 = configured9();
211
+ var node45 = configured5();
212
212
 
213
- export { Options7, Service58, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list4, configured9, node63, exports_select };
213
+ export { Options5, Service41, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list3, configured5, node45, exports_select };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./config-qfa1cgps.js";
3
+ } from "./schema-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./config-7gbsxqt2.js";
4
+ } from "./schema-4z6b0fg6.js";
5
5
  import {
6
- ID8
7
- } from "./config-zre25x07.js";
6
+ ID15
7
+ } from "./schema-asb6ptdj.js";
8
8
 
9
9
  // src/plugin/provider/openrouter.ts
10
10
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  evt.provider.update(item.provider.id, (provider) => {
22
22
  provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
23
23
  });
24
- for (const modelID of [ID8.make("gpt-5-chat-latest"), ID8.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID15.make("gpt-5-chat-latest"), ID15.make("openai/gpt-5-chat")]) {
25
25
  if (!item.models.has(modelID))
26
26
  continue;
27
27
  evt.model.update(item.provider.id, modelID, (model) => {
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./config-7gbsxqt2.js";
4
+ } from "./schema-4z6b0fg6.js";
5
5
  import {
6
6
  latest2,
7
- Service63
8
- } from "./config-xjjjdr4d.js";
7
+ Service46
8
+ } from "./schema-7rncntgt.js";
9
9
  import {
10
10
  observe2
11
- } from "./config-qsdy395h.js";
11
+ } from "./schema-qsdy395h.js";
12
12
  import {
13
13
  __export
14
- } from "./config-9rqn6x4v.js";
14
+ } from "./schema-9rqn6x4v.js";
15
15
 
16
16
  // src/config/plugin/provider.ts
17
17
  var exports_provider = {};
18
18
  __export(exports_provider, {
19
19
  ConfigProviderPlugin: () => exports_provider,
20
- Plugin: () => Plugin26
20
+ Plugin: () => Plugin43
21
21
  });
22
22
  import { define } from "@opencode-ai/plugin/effect/plugin";
23
23
  import { Money } from "@opencode-ai/schema/money";
24
24
  import { Effect } from "effect";
25
- var Plugin26 = define({
25
+ var Plugin43 = define({
26
26
  id: "opencode.config.provider",
27
27
  effect: Effect.fn(function* (ctx) {
28
- const config = yield* Service63;
28
+ const config = yield* Service46;
29
29
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
30
30
  yield* ctx.integration.transform((integrations) => {
31
31
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -151,4 +151,4 @@ function configuredProviders(entries) {
151
151
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
152
152
  }
153
153
 
154
- export { Plugin26, exports_provider };
154
+ export { Plugin43, exports_provider };
@@ -1,20 +1,20 @@
1
1
  import {
2
- Service50,
3
- node53,
4
- canonical2
5
- } from "./config-w6cg0ec3.js";
2
+ Service62,
3
+ node67,
4
+ canonical3
5
+ } from "./schema-yjf09y7w.js";
6
6
  import {
7
- Service46,
8
- node49
9
- } from "./config-sy7czwgb.js";
7
+ Service60,
8
+ node65
9
+ } from "./schema-bj23jw33.js";
10
10
  import {
11
11
  layer2
12
- } from "./config-cjjzzp5t.js";
12
+ } from "./schema-961yp6je.js";
13
13
 
14
14
  // src/location-services.ts
15
15
  import { Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
16
16
  function buildLocationServiceMap2(replacements = []) {
17
- return Layer.effect(Service50, Effect.gen(function* () {
17
+ return Layer.effect(Service62, Effect.gen(function* () {
18
18
  const owner = yield* Effect.scope;
19
19
  const booting = MutableHashMap.empty();
20
20
  const inner = yield* LayerMap.make((ref) => {
@@ -32,21 +32,21 @@ function buildLocationServiceMap2(replacements = []) {
32
32
  }, { idleTimeToLive: Duration.infinity });
33
33
  const map = {
34
34
  ...inner,
35
- get: (ref) => inner.get(canonical2(ref)),
36
- contextEffect: (ref) => inner.contextEffect(canonical2(ref)),
37
- contextEffectOption: (ref) => inner.contextEffectOption(canonical2(ref)),
35
+ get: (ref) => inner.get(canonical3(ref)),
36
+ contextEffect: (ref) => inner.contextEffect(canonical3(ref)),
37
+ contextEffectOption: (ref) => inner.contextEffectOption(canonical3(ref)),
38
38
  invalidate: (ref) => Effect.suspend(() => {
39
- const key = canonical2(ref);
39
+ const key = canonical3(ref);
40
40
  MutableHashMap.remove(booting, key);
41
41
  return inner.invalidate(key);
42
42
  })
43
43
  };
44
44
  const bindings = [
45
- node49.replace(Layer.succeed(Service46, {
45
+ node65.replace(Layer.succeed(Service60, {
46
46
  provide: (session) => Effect.provide(map.get(session.location))
47
47
  })),
48
48
  ...replacements,
49
- node53.replace(Layer.succeed(Service50, map))
49
+ node67.replace(Layer.succeed(Service62, map))
50
50
  ];
51
51
  return map;
52
52
  }));